Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
hostap no wlan0 2.6.16
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
tpaquette325
n00b
n00b


Joined: 29 Jun 2006
Posts: 3

PostPosted: Thu Jun 29, 2006 3:58 am    Post subject: hostap no wlan0 2.6.16 Reply with quote

I have a Powerbook G4 400 with a DLink DWL650 RevP wireless card. I am using wireless tools.
wlan0 is not being created under 2.6.16-gentoo-r7 but is created under 2.6.14 where the card works okay. A newer kernel is required to support some software upgrades I started. I have worked carefully to get the two kernels configured similarly. The question is why wlan0 is not being created. Pccardctl status says that the card is unbound, though as you can see from the pccardctl, lsmod, and dmesg file excerpts that the card is running. It may not be apparent from the excerpts that wlan0 is created during the 2.6.14 bootup even though the firmware appears not to have been uploaded. It works fine under 2.6.14 to run hostap_fw_load wlan0 after bootup or wakeup.
I am interpreting the information below to mean that the hostap_cs driver is simply not working, though loaded
but I have no idea how to proceed to fix it except for sampling other kernels more recent than the 2.6.15 required to continue my upgrade. It would be greatly appreciated if someone could tell me what is going on and/or suggest a fix.

Thanks, Tom

Pccardctl info and ident but not status are the same for both kernels:


Code:
$ pccardctl info
PRODID_1="D-Link"
PRODID_2="DWL-650 Wireless PC Card RevP"
PRODID_3="ISL37101P-10"
PRODID_4="A3"
MANFID=000b,7110
FUNCID=6


$ pccardctl ident
Socket 0:
product info: "D-Link", "DWL-650 Wireless PC Card RevP", "ISL37101P-10", "A3"
manfid: 0x000b, 0x7110
function: 6 (network)

$ pccardctl status

kernel 2.6.14

Socket 0:
  5.0V 16-bit PC Card
  Subdevice 0 (function 0) bound to driver "hostap_cs"

kernel 2.6.16

Socket 0:
  5.0V 16-bit PC Card
  Subdevice 0 (function 0) [unbound]



iwconfig shows:
Code:

kernel 2.6.14
iwconfig shows lo, eth0, wlan0, and wifi0

kernel 2.6.16
iwconfig shows lo and eth0 only


lsmod outputs differ a bit:
Code:

2.6.14-gentoo-r2 kernel:

$ lsmod|grep hostap
hostap_cs              85784  3
hostap                133188  1 hostap_cs
ieee80211_crypt         6340  1 hostap
pcmcia                 39176  1 hostap_cs

$ lsmod|grep pcmcia
pcmcia                 39176  1 hostap_cs
pcmcia_core            52220  3 yenta_socket,rsrc_nonstatic,pcmcia
firmware_class         11904  1 pcmcia

2.6.16-gentoo-r7 kernel:

$ lsmod|grep pcmcia
pcmcia                 36968  1 hostap_cs
pcmcia_core            50620  3 yenta_socket,rsrc_nonstatic,pcmcia

$ lsmod|grep hostap
hostap_cs              82100  0
hostap                130852  1 hostap_cs
pcmcia                 36968  1 hostap_cs


grep-filtered dmesg outputs differ a bit:
Code:

2.6.14 kernel:

$ dmesg|grep hostap

hostap_cs: 0.4.4-kernel (Jouni Malinen <jkmaline@cc.hut.fi>)
hostap_cs: setting Vcc=33 (constant)
hostap_cs: CS_EVENT_CARD_INSERTION
hostap_cs: setting Vcc=50 (from config)
hostap_cs: Registered netdevice wifi0
hostap_cs: index 0x01: Vcc 5.0, irq 58, io 0x0000-0x007f
hostap_cs: assuming no Primary image in flash - card initialization not completed

$ dmesg|grep pcmcia

pcmcia: parent PCI bridge I/O window: 0x0 - 0x7fffff
pcmcia: parent PCI bridge Memory window: 0xf3000000 - 0xf3ffffff
pcmcia: parent PCI bridge Memory window: 0x80000000 - 0xafffffff

2.6.16 kernel:

$ dmesg|grep hostap
hostap_cs: 0.4.4-kernel (Jouni Malinen <jkmaline@cc.hut.fi>)

$ dmesg|grep pcmcia

pcmcia: parent PCI bridge I/O window: 0x0 - 0x7fffff
pcmcia: parent PCI bridge Memory window: 0xf3000000 - 0xf3ffffff
pcmcia: parent PCI bridge Memory window: 0x80000000 - 0xafffffff
pcmcia: registering new device pcmcia0.0
Back to top
View user's profile Send private message
sugar
Guru
Guru


Joined: 07 Aug 2004
Posts: 579
Location: Morrinsville, New Zealand

PostPosted: Thu Jun 29, 2006 4:33 am    Post subject: Reply with quote

Getting any IRQ errors in dmesg?
Back to top
View user's profile Send private message
tpaquette325
n00b
n00b


Joined: 29 Jun 2006
Posts: 3

PostPosted: Fri Jun 30, 2006 3:51 am    Post subject: Reply with quote

No errors but no IRQ on assigned with 2.6.16 either. The following IRQ/irq containing dmesg irq/IRQ lines were found. Clearly 2.6.16 is not assigning an IRQ to hostap_cs, and surely hostap_cs and yenta could use different IRQ's under 2.6.14. The I2C lines reflect kernel config differences. Can I force an IRQ move? Thanks, Tom

Code:
both kernels
ide0: Found Apple KeyLargo ATA-4 controller, bus ID 2, irq 19
ide0 at 0xd1006000-0xd1006007,0xd1006160 on irq 19
ide1: Found Apple KeyLargo ATA-3 controller, bus ID 0, irq 20
ide1 at 0xd100c000-0xd100c007,0xd100c160 on irq 20
ide2: Found Apple KeyLargo ATA-3 controller, bus ID 1, irq 21
Yenta: ISA IRQ mask 0x0000, PCI irq 58
ohci_hcd 0001:10:18.0: irq 27, io mem 0xa0002000
ohci_hcd 0001:10:19.0: irq 28, io mem 0xa0001000
ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[40]  MMIO=[f5000000-f50007ff]  Max Packet=[2048]  IR/IT contexts=[4/4]

2.6.14
PowerMac using OpenPIC irq controller at 0x80040000
hostap_cs: index 0x01: Vcc 5.0, irq 58, io 0x0000-0x007f
OpenPIC Version 1.2 (4 CPUs and 64 IRQ sources) at fc5ff000
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled

2.6.16
KeyWest i2c @0xf8001003 irq 42 /uni-n@f8000000/i2c@f8001000
KeyWest i2c @0x80018000 irq 26 /pci@f2000000/mac-io@17/i2c@18000
Back to top
View user's profile Send private message
sugar
Guru
Guru


Joined: 07 Aug 2004
Posts: 579
Location: Morrinsville, New Zealand

PostPosted: Fri Jun 30, 2006 7:18 am    Post subject: Reply with quote

Try the new stable 2.6.17 kernel
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Sat Sep 23, 2006 7:12 pm    Post subject: Reply with quote

i am getting this same problem in 2.6.17-gentoo-r8

adding pci=routeirq too grub.conf does noththing either... wtf? this worked in 2.6.15
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum