Hi
This patch seems to have fixed it. Here are the results of my testing:

kernel.org's 2.6.34:
=> with the usbnet-Set-parent-device-early-for-netdev_printk patch:
Seems to work without any problems


Debian's 2.6.34 from experimental:
=> with both patches:
  usbnet-Set-parent-device-early-for-netdev_printk
  rndis_host-Poll-status-channel-before-control-channel

The module is loaded without any apparent problems. I get this on the
syslog when I try to configure the device:

# ifconfig wlan0 up
Jun 30 16:09:00 C-5 kernel: [   79.184493] rndis_wlan 2-2:1.0: wlan0:
couldn't set packet filter: 0000000d

NetworkManager also makes that line appear on syslog and doesn't seem
to be able to configure it.


=> _only_ with usbnet-Set-parent-device-early-for-netdev_printk
(rndis_host-Poll-status... removed)
Seems to work without any problems.



The attachment has a more complete syslog with the moment I plugged
the device and NetworkManager tried to configure it.


Best regards,
Pitxyoki


On Tue, Jun 29, 2010 at 2:18 AM, Ben Hutchings <b...@decadent.org.uk> wrote:
(...)
>
> I think the attached patch will fix this.  Please test it.
>
#################
kernel.org 2.6.34
#################
> with usbnet-Set-parent-device-early-for-netdev_printk.patch:
Seems to work without any problems.


################################
Debian's 2.6.34-1~experimental.2
################################
with both:
-> usbnet-Set-parent-device-early-for-netdev_printk.patch
-> rndis_host-Poll-status-channel-before-control-channel.patch

Jun 30 16:08:59 C-5 kernel: [   78.264019] usb 2-2: new full speed USB device 
using uhci_hcd and address 3
Jun 30 16:08:59 C-5 kernel: [   78.443509] usb 2-2: New USB device found, 
idVendor=13b1, idProduct=000e
Jun 30 16:08:59 C-5 kernel: [   78.443516] usb 2-2: New USB device strings: 
Mfr=1, Product=2, SerialNumber=3
Jun 30 16:08:59 C-5 kernel: [   78.443521] usb 2-2: Product: Linksys Wireless-G 
USB Network Adapter with SpeedBooster
Jun 30 16:08:59 C-5 kernel: [   78.443525] usb 2-2: Manufacturer: Cisco-Linksys
Jun 30 16:08:59 C-5 kernel: [   78.443529] usb 2-2: SerialNumber: 1111
Jun 30 16:09:00 C-5 kernel: [   78.515161] usbcore: registered new interface 
driver cdc_ether
Jun 30 16:09:00 C-5 kernel: [   78.655691] usbcore: registered new interface 
driver rndis_host
Jun 30 16:09:00 C-5 kernel: [   78.714723] cfg80211: Calling CRDA to update 
world regulatory domain
Jun 30 16:09:00 C-5 kernel: [   78.777501] rndis_wlan 2-2:1.0: (unregistered 
net_device): media disconnect
Jun 30 16:09:00 C-5 NetworkManager: <info>  Found wlan radio killswitch rfkill0 
(at /sys/devices/pci0000:00/0000:00:1d.1/usb2/2-2/ieee80211/phy0/rfkill0) 
(driver <unknown>)
Jun 30 16:09:00 C-5 kernel: [   78.967795] rndis_wlan 2-2:1.0: wlan0: register 
'rndis_wlan' at usb-0000:00:1d.1-2, Wireless RNDIS device, BCM4320a based, 
00:12:17:a0:b9:7c
Jun 30 16:09:00 C-5 kernel: [   78.967837] usbcore: registered new interface 
driver rndis_wlan
Jun 30 16:09:00 C-5 NetworkManager:    SCPlugin-Ifupdown: devices added (path: 
/sys/devices/pci0000:00/0000:00:1d.1/usb2/2-2/2-2:1.0/net/wlan0, iface: wlan0)
Jun 30 16:09:00 C-5 NetworkManager:    SCPlugin-Ifupdown: device added (path: 
/sys/devices/pci0000:00/0000:00:1d.1/usb2/2-2/2-2:1.0/net/wlan0, iface: wlan0): 
no ifupdown configuration found.
Jun 30 16:09:00 C-5 NetworkManager: <info>  (wlan0): driver supports SSID scans 
(scan_capa 0x01).
Jun 30 16:09:00 C-5 NetworkManager: <info>  (wlan0): new 802.11 WiFi device 
(driver: 'rndis_wlan')
Jun 30 16:09:00 C-5 NetworkManager: <info>  (wlan0): exported as 
/org/freedesktop/NetworkManager/Devices/1
Jun 30 16:09:00 C-5 NetworkManager: <info>  (wlan0): now managed
Jun 30 16:09:00 C-5 NetworkManager: <info>  (wlan0): device state change: 1 -> 
2 (reason 2)
Jun 30 16:09:00 C-5 NetworkManager: <info>  (wlan0): bringing up device.
Jun 30 16:09:00 C-5 NetworkManager: <info>  (wlan0): preparing device.
Jun 30 16:09:00 C-5 NetworkManager: <info>  (wlan0): deactivating device 
(reason: 2).
Jun 30 16:09:00 C-5 kernel: [   79.180877] ADDRCONF(NETDEV_UP): wlan0: link is 
not ready
Jun 30 16:09:00 C-5 kernel: [   79.184493] rndis_wlan 2-2:1.0: wlan0: couldn't 
set packet filter: 0000000d
Jun 30 16:09:00 C-5 NetworkManager: <info>  (wlan0): supplicant interface 
state:  starting -> ready
Jun 30 16:09:00 C-5 NetworkManager: <info>  (wlan0): device state change: 2 -> 
3 (reason 42)
Jun 30 16:09:00 C-5 wpa_supplicant[1451]: Failed to initiate AP scan.

# ifconfig wlan0 up
Jun 30 16:10:11 C-5 kernel: [  150.019724] rndis_wlan 2-2:1.0: wlan0: couldn't 
set packet filter: 0000000d


with:
-> usbnet-Set-parent-device-early-for-netdev_printk.patch
and without:
-> rndis_host-Poll-status-channel-before-control-channel.patch
Seems to work without any problems.




Reply via email to