[Prism54-devel] Re: initialisation behavior

Raymond Scholz Raymond Scholz <rscholz@zonix.de>
Thu, 25 Dec 2003 20:58:56 +0100


· On Dec 16 2003, Aurelien <slts@free.fr> wrote:

> On Tue, 16 Dec 2003 11:13:55 +0100
> Herbert Valerio Riedel <hvr@hvrlab.org> wrote:
>
>> work is already underway to defer the iwconfig settings applied
>> while the device is still down, and pushing them to the hardware the
>> moment the device get's up;
>
> In fact this work is almost done. Needs more testing and maybe some
> debugging but it seems to work.

Hm.  Is this supposed to work now?  I still cannot get my Netgear
WG511 working with the latest CVS snapshot driver.  The version of 2nd
December works though.

I also tried to "ifconfig $INTERFACE up" before the iwconfig commands
in my ifup-wireless script (Suse 8.2) but without any success.


Current CVS:

Dec 25 20:46:07 fly kernel: cs: cb_alloc(bus 3): vendor 0x1260, device 0x3890
Dec 25 20:46:07 fly kernel: PCI: Enabling device 03:00.0 (0000 -> 0002)
Dec 25 20:46:07 fly cardmgr[710]: socket 0: CardBus hotplug device
Dec 25 20:46:07 fly kernel: Loaded prism54 driver, version 1.0.2.2
Dec 25 20:46:07 fly insmod: Using /lib/modules/2.4.23/kernel/lib/firmware_class.o
Dec 25 20:46:07 fly insmod: Symbol version prefix ''
Dec 25 20:46:07 fly insmod: Using /lib/modules/2.4.23/kernel/drivers/net/wireless/prism54/prism54.o
Dec 25 20:46:07 fly /etc/hotplug/pci.agent[5189]: writing pcmcia-0 to /var/run/hotplug/net
Dec 25 20:46:07 fly /etc/hotplug/net.agent[5228]: Using HW description eth-pcmcia-0 
Dec 25 20:46:07 fly kernel: eth1: islpci_open()
Dec 25 20:46:07 fly kernel: eth1: resetting device...
Dec 25 20:46:07 fly kernel: eth1: uploading firmware...
Dec 25 20:46:08 fly kernel: eth1: firmware uploaded done, now triggering reset...
Dec 25 20:46:08 fly kernel: eth1: prism54_mib_init()
Dec 25 20:46:08 fly kernel: eth1: prism54_mib_init()
Dec 25 20:46:08 fly /etc/hotplug/net.agent[5228]: ifup-wireless: command '/usr/local/sbin/iwconfig eth1 nick FLY' returned
Dec 25 20:46:08 fly ifup-wireless: command '/usr/local/sbin/iwconfig eth1 nick FLY' returned
Dec 25 20:46:08 fly /etc/hotplug/net.agent[5228]: ifup-wireless:        Error for wireless request "Set Nickname" (8B1C) : SET failed on device eth1 ; Operation not supported.
Dec 25 20:46:08 fly ifup-wireless:      Error for wireless request "Set Nickname" (8B1C) : SET failed on device eth1 ; Operation not supported.
Dec 25 20:46:08 fly /etc/hotplug/net.agent[5228]: ifup-wireless: command '/usr/local/sbin/iwconfig eth1 nwid SCHUERPSEL' returned
Dec 25 20:46:08 fly ifup-wireless: command '/usr/local/sbin/iwconfig eth1 nwid SCHUERPSEL' returned
Dec 25 20:46:08 fly /etc/hotplug/net.agent[5228]: ifup-wireless:        Error for wireless request "Set NWID" (8B02) : invalid argument "SCHUERPSEL".
Dec 25 20:46:08 fly ifup-wireless:      Error for wireless request "Set NWID" (8B02) : invalid argument "SCHUERPSEL".
Dec 25 20:46:08 fly dhcpcd[5308]: dhcpStart: retrying MAC address request (returned 00:00:00:00:00:00)
Dec 25 20:46:08 fly dhcpcd[5308]: dhcpStart: retrying MAC address request (returned 00:00:00:00:00:00)
Dec 25 20:46:08 fly dhcpcd[5308]: broadcasting DHCP_REQUEST for 192.168.0.25 
Dec 25 20:46:08 fly kernel: eth1: prism54_mib_init()
Dec 25 20:46:08 fly kernel: eth1: done with prism54_mib_init()! -- Client Managed mode
Dec 25 20:46:09 fly kernel: TRAP: oid 0x18000001, device 8, flags 0x0 length 12
Dec 25 20:46:09 fly kernel: TRAP: oid 0x18000003, device 8, flags 0x0 length 12
Dec 25 20:46:09 fly kernel: TRAP: oid 0x1, device 8, flags 0x0 length 4
Dec 25 20:46:18 fly dhcpcd[5308]: timed out waiting for DHCP_ACK response 
Dec 25 20:46:18 fly dhcpcd[5308]: broadcasting DHCP_DISCOVER 
Dec 25 20:46:18 fly kernel: eth1: no IPv6 routers present
Dec 25 20:46:56 fly kernel: eth1: islpci_close ()
Dec 25 20:46:56 fly dhcpcd[5308]: recvfrom: Network is down 

Driver from 12/02/03:

Dec 25 20:48:26 fly kernel: cs: cb_alloc(bus 3): vendor 0x1260, device 0x3890
Dec 25 20:48:26 fly kernel: PCI: Enabling device 03:00.0 (0000 -> 0002)
Dec 25 20:48:26 fly cardmgr[710]: socket 0: CardBus hotplug device
Dec 25 20:48:27 fly kernel: Loaded prism54 driver, version 1.0.2.2
Dec 25 20:48:27 fly kernel: eth1: loading firmware early at probe time as temporary workaround for broken device driver
Dec 25 20:48:27 fly kernel: eth1: uploading firmware...
Dec 25 20:48:28 fly kernel: eth1: firmware uploaded done, now triggering reset...
Dec 25 20:48:28 fly insmod: Using /lib/modules/2.4.23/kernel/lib/firmware_class.o
Dec 25 20:48:28 fly insmod: Symbol version prefix ''
Dec 25 20:48:28 fly insmod: Using /lib/modules/2.4.23/kernel/drivers/net/wireless/prism54/prism54.o
Dec 25 20:48:28 fly /etc/hotplug/pci.agent[5548]: writing pcmcia-0 to /var/run/hotplug/net
Dec 25 20:48:28 fly kernel: eth1: prism54_mib_init()
Dec 25 20:48:28 fly kernel: eth1: done with prism54_mib_init()!
Dec 25 20:48:29 fly /etc/hotplug/net.agent[5586]: Using HW description eth-pcmcia-0 
Dec 25 20:48:29 fly kernel: eth1: islpci_open()
Dec 25 20:48:29 fly kernel: eth1: resetting device...
Dec 25 20:48:29 fly kernel: eth1: uploading firmware...
Dec 25 20:48:30 fly kernel: eth1: firmware uploaded done, now triggering reset...
Dec 25 20:48:30 fly kernel: islpci_mgt_response(): queue empty, retrying (jiffies left = 90
Dec 25 20:48:30 fly kernel: islpci_mgt_response(): queue empty, retrying (jiffies left = 80
Dec 25 20:48:30 fly kernel: eth1: prism54_mib_init()
Dec 25 20:48:30 fly kernel: islpci_mgt_response(): entry in queue not found yet, retrying (jiffies left = 100
Dec 25 20:48:30 fly kernel: islpci_mgt_response(): flushed 1 entries
Dec 25 20:48:30 fly kernel: islpci_mgt_response(): queue empty, retrying (jiffies left = 100
Dec 25 20:48:30 fly kernel: islpci_mgt_response(): entry in queue not found yet, retrying (jiffies left = 100
Dec 25 20:48:30 fly last message repeated 2 times
Dec 25 20:48:30 fly kernel: islpci_mgt_response(): entry in queue not found yet, retrying (jiffies left = 99
Dec 25 20:48:30 fly last message repeated 3 times
Dec 25 20:48:30 fly kernel: islpci_mgt_response(): entry in queue not found yet, retrying (jiffies left = 98
Dec 25 20:48:30 fly last message repeated 5 times
Dec 25 20:48:30 fly /etc/hotplug/net.agent[5586]: ifup-wireless: command '/usr/local/sbin/iwconfig eth1 nick FLY' returned
Dec 25 20:48:30 fly ifup-wireless: command '/usr/local/sbin/iwconfig eth1 nick FLY' returned
Dec 25 20:48:30 fly /etc/hotplug/net.agent[5586]: ifup-wireless:        Error for wireless request "Set Nickname" (8B1C) : SET failed on device eth1 ; Operation not supported.
Dec 25 20:48:30 fly ifup-wireless:      Error for wireless request "Set Nickname" (8B1C) : SET failed on device eth1 ; Operation not supported.
Dec 25 20:48:30 fly /etc/hotplug/net.agent[5586]: ifup-wireless: command '/usr/local/sbin/iwconfig eth1 nwid SCHUERPSEL' returned
Dec 25 20:48:30 fly ifup-wireless: command '/usr/local/sbin/iwconfig eth1 nwid SCHUERPSEL' returned
Dec 25 20:48:30 fly /etc/hotplug/net.agent[5586]: ifup-wireless:        Error for wireless request "Set NWID" (8B02) : invalid argument "SCHUERPSEL".
Dec 25 20:48:30 fly ifup-wireless:      Error for wireless request "Set NWID" (8B02) : invalid argument "SCHUERPSEL".
Dec 25 20:48:30 fly kernel: islpci_mgt_response(): entry in queue not found yet, retrying (jiffies left = 96
Dec 25 20:48:30 fly kernel: islpci_mgt_response(): entry in queue not found yet, retrying (jiffies left = 96
Dec 25 20:48:30 fly kernel: islpci_mgt_response(): entry in queue not found yet, retrying (jiffies left = 95
Dec 25 20:48:30 fly last message repeated 5 times
Dec 25 20:48:30 fly dhcpcd[5680]: broadcasting DHCP_REQUEST for 192.168.0.25 
Dec 25 20:48:30 fly kernel: islpci_mgt_response(): queue empty, retrying (jiffies left = 85
Dec 25 20:48:30 fly kernel: islpci_mgt_response(): queue empty, retrying (jiffies left = 75
Dec 25 20:48:30 fly kernel: islpci_mgt_response(): queue empty, retrying (jiffies left = 65
Dec 25 20:48:31 fly kernel: islpci_mgt_response(): queue empty, retrying (jiffies left = 55
Dec 25 20:48:31 fly kernel: islpci_mgt_response(): queue empty, retrying (jiffies left = 45
Dec 25 20:48:31 fly kernel: islpci_mgt_response(): queue empty, retrying (jiffies left = 35
Dec 25 20:48:31 fly kernel: islpci_mgt_response(): queue empty, retrying (jiffies left = 25
Dec 25 20:48:31 fly kernel: islpci_mgt_response(): queue empty, retrying (jiffies left = 15
Dec 25 20:48:31 fly kernel: islpci_mgt_response(): queue empty, retrying (jiffies left = 5
Dec 25 20:48:31 fly kernel: islpci_mgt_response(): queue empty, retrying (jiffies left = -5
Dec 25 20:48:31 fly kernel: TRAP: oid 0x18000001, device 9, flags 0x0 length 12
Dec 25 20:48:31 fly kernel: TRAP: oid 0x18000003, device 9, flags 0x0 length 12
Dec 25 20:48:31 fly kernel: TRAP: oid 0x1, device 9, flags 0x0 length 4
Dec 25 20:48:34 fly dhcpcd[5680]: broadcastAddr option is missing in DHCP server response. Assuming 192.168.0.255 
Dec 25 20:48:34 fly dhcpcd[5680]: dhcpT1value option is missing in DHCP server response. Assuming 2147483647 sec 
Dec 25 20:48:34 fly dhcpcd[5680]: dhcpT2value option is missing in DHCP server response. Assuming 3758096383 sec 
Dec 25 20:48:34 fly dhcpcd[5680]: DHCP_ACK received from  (192.168.0.1) 
Dec 25 20:48:34 fly dhcpcd[5680]: infinite IP address lease time. Exiting 



Cheers, Ray
-- 
Lesson learned: Learn from previous lessons learned.
                           (Lars Magne Ingebrigtsen)