Bug 157578

Summary: kernel crash when starting ndiswrapper
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Dr. Rudolf Bauer <dr.r.bauer>
Component: KernelAssignee: Karsten Keil <karsten.keil>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: i586   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Integration Test Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Dr. Rudolf Bauer 2006-03-13 13:39:47 UTC
I run Suse 10.0 on Dell8200 and local net with AVM7170 and AVM WLAN Stick USB.
Net is running well under Windows XP, but not working with ndiswrapper 1.2.2.
After doing modprobe, system is dead and can only being restarted after switching off.
Comment 1 Olaf Kirch 2006-03-13 13:45:00 UTC
Where did you get ndiswrapper 1.2.2 from? SL10.0 comes with version 1.2.
Comment 2 Olaf Kirch 2006-03-17 14:21:18 UTC
Karsten, could you track these, please? 
Comment 3 Dr. Rudolf Bauer 2006-03-17 14:52:36 UTC
Ich benutze die Original Suse 10.0 mit ndiswrapper 1.2 (-2), km_ndiswrapper und das wpa-modul. Soviel ich sehen konnte, generiert yast2 keinen Eintrag für wlan0 in  modprobe.conf und ndiswrapper startet dann nicht, obwohl die Hardwareerkennung des usb-wlan-sticks wohl ordnungsgemäss sowohl in dmesg und in der Hardware-Info angezeigt wird 
Comment 4 Dr. Rudolf Bauer 2006-03-17 19:11:21 UTC
Ich habe inzwischen durch experimentieren herausbekommen, dass die Eröffnung von wlan0 beim Systemstart nicht funktioniert, jedoch bei hotplugged oder manuell. Das System erkennt dann den stick übernimmt aber nicht die in Yast2 eingegebenen Parameter, erscheint nicht im Kinternet. Eine Internetverbindung lässt sich nicht starten. Ich füge Auszüge aus iwconfig und dmesg bei:
iwconfig
linux:~ # iwconfig

lo        no wireless extensions.



sit0      no wireless extensions.



wlan0     IEEE 802.11g  ESSID:off/any
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:00:00:00:00:00
          Bit Rate:54 Mb/s   Tx-Power:10 dBm   Sensitivity=0/3
          RTS thr:4096 B   Fragment thr:4096 B
          Encryption key:off
          Power Management:off
          Link Quality:100  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

linux:~ #

dmesg

scheduling while atomic: khubd/0x00000100/2092

 [<c02f9bfc>] schedule+0x55c/0x610
 [<c02fa367>] schedule_timeout+0x47/0xb0
 [<c01246b0>] process_timeout+0x0/0x10

 [<d176cfa4>] KeWaitForMultipleObjects+0x434/0x7d0 [ndiswrapper]

 [<d176d37f>] KeWaitForSingleObject+0x2f/0x40 [ndiswrapper]

 [<d1763667>] miniport_init+0x57/0x60 [ndiswrapper]

 [<d1768c12>] ndiswrapper_add_usb_device+0xf2/0x1b0 [ndiswrapper]

 [<c0255ca0>] __device_attach+0x0/0x10
 [<d171606a>] usb_probe_interface+0x4a/0x60 [usbcore]

 [<c0255c3f>] driver_probe_device+0x2f/0x90
 [<c0255588>] bus_for_each_drv+0x38/0x60
 [<c0255cfb>] device_attach+0x4b/0x50
 [<c0255ca0>] __device_attach+0x0/0x10
 [<c02556b0>] bus_add_device+0x20/0x80
 [<c0254ac8>] device_add+0xa8/0x100

 [<d171cffb>] usb_set_configuration+0x20b/0x4d0 [usbcore]

 [<d171836d>] usb_new_device+0xed/0x170 [usbcore]

 [<d1719127>] hub_port_connect_change+0x2b7/0x340 [usbcore]

 [<d17193fd>] hub_events+0x24d/0x390 [usbcore]
 [<d1719540>] hub_thread+0x0/0xf0 [usbcore]
 [<d1719555>] hub_thread+0x15/0xf0 [usbcore]

 [<c012deb0>] autoremove_wake_function+0x0/0x30

 [<c012db75>] kthread+0x85/0x90
 [<c012daf0>] kthread+0x0/0x90

 [<c01012f1>] kernel_thread_helper+0x5/0x14
scheduling while atomic: khubd/0x00000100/2092

 [<c02f9bfc>] schedule+0x55c/0x610

 [<c02fa367>] schedule_timeout+0x47/0xb0

 [<c01246b0>] process_timeout+0x0/0x10

 [<d176cfa4>] KeWaitForMultipleObjects+0x434/0x7d0 [ndiswrapper]

 [<d176d37f>] KeWaitForSingleObject+0x2f/0x40 [ndiswrapper]
 [<d1763667>] miniport_init+0x57/0x60 [ndiswrapper]

 [<d1768c12>] ndiswrapper_add_usb_device+0xf2/0x1b0 [ndiswrapper]

 [<c0255ca0>] __device_attach+0x0/0x10
 [<d171606a>] usb_probe_interface+0x4a/0x60 [usbcore]

 [<c0255c3f>] driver_probe_device+0x2f/0x90
 [<c0255588>] bus_for_each_drv+0x38/0x60
 [<c0255cfb>] device_attach+0x4b/0x50
 [<c0255ca0>] __device_attach+0x0/0x10

 [<c02556b0>] bus_add_device+0x20/0x80

 [<c0254ac8>] device_add+0xa8/0x100

 [<d171cffb>] usb_set_configuration+0x20b/0x4d0 [usbcore]

 [<d171836d>] usb_new_device+0xed/0x170 [usbcore]

 [<d1719127>] hub_port_connect_change+0x2b7/0x340 [usbcore]
 [<d17193fd>] hub_events+0x24d/0x390 [usbcore]
 [<d1719540>] hub_thread+0x0/0xf0 [usbcore]

 [<d1719555>] hub_thread+0x15/0xf0 [usbcore]

 [<c012deb0>] autoremove_wake_function+0x0/0x30

 [<c012db75>] kthread+0x85/0x90
 [<c012daf0>] kthread+0x0/0x90

 [<c01012f1>] kernel_thread_helper+0x5/0x14
scheduling while atomic: khubd/0x00000100/2092
 [<c02f9bfc>] schedule+0x55c/0x610

 [<c02fa367>] schedule_timeout+0x47/0xb0

 [<c01246b0>] process_timeout+0x0/0x10

 [<d176cfa4>] KeWaitForMultipleObjects+0x434/0x7d0 [ndiswrapper]

 [<d176d37f>] KeWaitForSingleObject+0x2f/0x40 [ndiswrapper]

 [<d1763667>] miniport_init+0x57/0x60 [ndiswrapper]
 [<d1768c12>] ndiswrapper_add_usb_device+0xf2/0x1b0 [ndiswrapper]
 [<c0255ca0>] __device_attach+0x0/0x10
 [<d171606a>] usb_probe_interface+0x4a/0x60 [usbcore]
 [<c0255c3f>] driver_probe_device+0x2f/0x90

 [<c0255588>] bus_for_each_drv+0x38/0x60
 [<c0255cfb>] device_attach+0x4b/0x50
 [<c0255ca0>] __device_attach+0x0/0x10

 [<c02556b0>] bus_add_device+0x20/0x80

 [<c0254ac8>] device_add+0xa8/0x100

 [<d171cffb>] usb_set_configuration+0x20b/0x4d0 [usbcore]

 [<d171836d>] usb_new_device+0xed/0x170 [usbcore]
 [<d1719127>] hub_port_connect_change+0x2b7/0x340 [usbcore]

 [<d17193fd>] hub_events+0x24d/0x390 [usbcore]

 [<d1719540>] hub_thread+0x0/0xf0 [usbcore]

 [<d1719555>] hub_thread+0x15/0xf0 [usbcore]

 [<c012deb0>] autoremove_wake_function+0x0/0x30

 [<c012db75>] kthread+0x85/0x90
 [<c012daf0>] kthread+0x0/0x90

 [<c01012f1>] kernel_thread_helper+0x5/0x14
scheduling while atomic: khubd/0x00000100/2092

 [<c02f9bfc>] schedule+0x55c/0x610
 [<c02fa367>] schedule_timeout+0x47/0xb0
 [<c01246b0>] process_timeout+0x0/0x10

 [<d176cfa4>] KeWaitForMultipleObjects+0x434/0x7d0 [ndiswrapper]

 [<d176d37f>] KeWaitForSingleObject+0x2f/0x40 [ndiswrapper]

 [<d1763667>] miniport_init+0x57/0x60 [ndiswrapper]

 [<d1768c12>] ndiswrapper_add_usb_device+0xf2/0x1b0 [ndiswrapper]

 [<c0255ca0>] __device_attach+0x0/0x10
 [<d171606a>] usb_probe_interface+0x4a/0x60 [usbcore]
 [<c0255c3f>] driver_probe_device+0x2f/0x90

 [<c0255588>] bus_for_each_drv+0x38/0x60

 [<c0255cfb>] device_attach+0x4b/0x50

 [<c0255ca0>] __device_attach+0x0/0x10

 [<c02556b0>] bus_add_device+0x20/0x80

 [<c0254ac8>] device_add+0xa8/0x100
 [<d171cffb>] usb_set_configuration+0x20b/0x4d0 [usbcore]

 [<d171836d>] usb_new_device+0xed/0x170 [usbcore]

 [<d1719127>] hub_port_connect_change+0x2b7/0x340 [usbcore]

 [<d17193fd>] hub_events+0x24d/0x390 [usbcore]

 [<d1719540>] hub_thread+0x0/0xf0 [usbcore]

 [<d1719555>] hub_thread+0x15/0xf0 [usbcore]

 [<c012deb0>] autoremove_wake_function+0x0/0x30
 [<c012db75>] kthread+0x85/0x90
 [<c012daf0>] kthread+0x0/0x90

 [<c01012f1>] kernel_thread_helper+0x5/0x14
scheduling while atomic: khubd/0x00000100/2092

 [<c02f9bfc>] schedule+0x55c/0x610

 [<c02fa367>] schedule_timeout+0x47/0xb0

 [<c01246b0>] process_timeout+0x0/0x10
 [<d176cfa4>] KeWaitForMultipleObjects+0x434/0x7d0 [ndiswrapper]

 [<d176d37f>] KeWaitForSingleObject+0x2f/0x40 [ndiswrapper]

 [<d1763667>] miniport_init+0x57/0x60 [ndiswrapper]

 [<d1768c12>] ndiswrapper_add_usb_device+0xf2/0x1b0 [ndiswrapper]

 [<c0255ca0>] __device_attach+0x0/0x10
 [<d171606a>] usb_probe_interface+0x4a/0x60 [usbcore]

 [<c0255c3f>] driver_probe_device+0x2f/0x90

 [<c0255588>] bus_for_each_drv+0x38/0x60

 [<c0255cfb>] device_attach+0x4b/0x50

 [<c0255ca0>] __device_attach+0x0/0x10

 [<c02556b0>] bus_add_device+0x20/0x80

 [<c0254ac8>] device_add+0xa8/0x100

 [<d171cffb>] usb_set_configuration+0x20b/0x4d0 [usbcore]

 [<d171836d>] usb_new_device+0xed/0x170 [usbcore]

 [<d1719127>] hub_port_connect_change+0x2b7/0x340 [usbcore]

 [<d17193fd>] hub_events+0x24d/0x390 [usbcore]

 [<d1719540>] hub_thread+0x0/0xf0 [usbcore]

 [<d1719555>] hub_thread+0x15/0xf0 [usbcore]

 [<c012deb0>] autoremove_wake_function+0x0/0x30

 [<c012db75>] kthread+0x85/0x90
 [<c012daf0>] kthread+0x0/0x90
 [<c01012f1>] kernel_thread_helper+0x5/0x14
scheduling while atomic: khubd/0x00000100/2092

 [<c02f9bfc>] schedule+0x55c/0x610
 [<c02fa367>] schedule_timeout+0x47/0xb0
 [<c01246b0>] process_timeout+0x0/0x10

 [<d176cfa4>] KeWaitForMultipleObjects+0x434/0x7d0 [ndiswrapper]

 [<d176d37f>] KeWaitForSingleObject+0x2f/0x40 [ndiswrapper]

 [<d1763667>] miniport_init+0x57/0x60 [ndiswrapper]

 [<d1768c12>] ndiswrapper_add_usb_device+0xf2/0x1b0 [ndiswrapper]

 [<c0255ca0>] __device_attach+0x0/0x10

 [<d171606a>] usb_probe_interface+0x4a/0x60 [usbcore]

[<c0255c3f>] driver_probe_device+0x2f/0x90
 [<c0255588>] bus_for_each_drv+0x38/0x60
 [<c0255cfb>] device_attach+0x4b/0x50

 [<c0255ca0>] __device_attach+0x0/0x10

 [<c02556b0>] bus_add_device+0x20/0x80

 [<c0254ac8>] device_add+0xa8/0x100

 [<d171cffb>] usb_set_configuration+0x20b/0x4d0 [usbcore]

 [<d171836d>] usb_new_device+0xed/0x170 [usbcore]

 [<d1719127>] hub_port_connect_change+0x2b7/0x340 [usbcore]

 [<d17193fd>] hub_events+0x24d/0x390 [usbcore]

 [<d1719540>] hub_thread+0x0/0xf0 [usbcore]

 [<d1719555>] hub_thread+0x15/0xf0 [usbcore]

 [<c012deb0>] autoremove_wake_function+0x0/0x30

 [<c012db75>] kthread+0x85/0x90

 [<c012daf0>] kthread+0x0/0x90

 [<c01012f1>] kernel_thread_helper+0x5/0x14
scheduling while atomic: khubd/0x00000100/2092

 [<c02f9bfc>] schedule+0x55c/0x610
 [<c02fa367>] schedule_timeout+0x47/0xb0
 [<c01246b0>] process_timeout+0x0/0x10
 [<d176cfa4>] KeWaitForMultipleObjects+0x434/0x7d0 [ndiswrapper]
 [<d176d37f>] KeWaitForSingleObject+0x2f/0x40 [ndiswrapper]

[<d1763667>] miniport_init+0x57/0x60 [ndiswrapper]

 [<d1768c12>] ndiswrapper_add_usb_device+0xf2/0x1b0 [ndiswrapper]

 [<c0255ca0>] __device_attach+0x0/0x10

 [<d171606a>] usb_probe_interface+0x4a/0x60 [usbcore]
 [<c0255c3f>] driver_probe_device+0x2f/0x90

 [<c0255588>] bus_for_each_drv+0x38/0x60

 [<c0255cfb>] device_attach+0x4b/0x50

 [<c0255ca0>] __device_attach+0x0/0x10

 [<c02556b0>] bus_add_device+0x20/0x80

 [<c0254ac8>] device_add+0xa8/0x100
 [<d171cffb>] usb_set_configuration+0x20b/0x4d0 [usbcore]
 [<d171836d>] usb_new_device+0xed/0x170 [usbcore]

 [<d1719127>] hub_port_connect_change+0x2b7/0x340 [usbcore]

 [<d17193fd>] hub_events+0x24d/0x390 [usbcore]

 [<d1719540>] hub_thread+0x0/0xf0 [usbcore]

 [<d1719555>] hub_thread+0x15/0xf0 [usbcore]

 [<c012deb0>] autoremove_wake_function+0x0/0x30

 [<c012db75>] kthread+0x85/0x90

 [<c012daf0>] kthread+0x0/0x90

 [<c01012f1>] kernel_thread_helper+0x5/0x14
scheduling while atomic: khubd/0x00000100/2092

 [<c02f9bfc>] schedule+0x55c/0x610

 [<c02fa367>] schedule_timeout+0x47/0xb0
 [<c01246b0>] process_timeout+0x0/0x10
 [<d176cfa4>] KeWaitForMultipleObjects+0x434/0x7d0 [ndiswrapper]

 [<d176d37f>] KeWaitForSingleObject+0x2f/0x40 [ndiswrapper]

 [<d1763667>] miniport_init+0x57/0x60 [ndiswrapper]

 [<d1768c12>] ndiswrapper_add_usb_device+0xf2/0x1b0 [ndiswrapper]

 [<c0255ca0>] __device_attach+0x0/0x10

 [<d171606a>] usb_probe_interface+0x4a/0x60 [usbcore]

 [<c0255c3f>] driver_probe_device+0x2f/0x90
 [<c0255588>] bus_for_each_drv+0x38/0x60
 [<c0255cfb>] device_attach+0x4b/0x50
 [<c0255ca0>] __device_attach+0x0/0x10
 [<c02556b0>] bus_add_device+0x20/0x80

 [<c0254ac8>] device_add+0xa8/0x100

 [<d171cffb>] usb_set_configuration+0x20b/0x4d0 [usbcore]

 [<d171836d>] usb_new_device+0xed/0x170 [usbcore]

 [<d1719127>] hub_port_connect_change+0x2b7/0x340 [usbcore]

 [<d17193fd>] hub_events+0x24d/0x390 [usbcore]

 [<d1719540>] hub_thread+0x0/0xf0 [usbcore]

 [<d1719555>] hub_thread+0x15/0xf0 [usbcore]

 [<c012deb0>] autoremove_wake_function+0x0/0x30

 [<c012db75>] kthread+0x85/0x90

 [<c012daf0>] kthread+0x0/0x90

 [<c01012f1>] kernel_thread_helper+0x5/0x14
scheduling while atomic: khubd/0x00000100/2092
 [<c02f9bfc>] schedule+0x55c/0x610

 [<c02fa367>] schedule_timeout+0x47/0xb0

 [<c01246b0>] process_timeout+0x0/0x10

 [<d176cfa4>] KeWaitForMultipleObjects+0x434/0x7d0 [ndiswrapper]

 [<d176d37f>] KeWaitForSingleObject+0x2f/0x40 [ndiswrapper]

 [<d1763667>] miniport_init+0x57/0x60 [ndiswrapper]

 [<d1768c12>] ndiswrapper_add_usb_device+0xf2/0x1b0 [ndiswrapper]

 [<c0255ca0>] __device_attach+0x0/0x10
 [<d171606a>] usb_probe_interface+0x4a/0x60 [usbcore]

 [<c0255c3f>] driver_probe_device+0x2f/0x90

Die Definitionen für wlan0 in Yast2:

Drahtlos mit Modul ndiswrapper
Essid: wie von AVM vorgegeben "FRITZ!BOX Fon WLAN 7170-"
Managed mit WPA-PSK
Netzwerkschlüssel. wie von AVM vorgegeben. s:xxxxxxxxxxxxxxxx
ACPI off
Start: manuell
Übrige Angaben default







Comment 5 Karsten Keil 2006-04-27 14:36:48 UTC
Sorry we cannot support any windows drivers via ndiswrapper, so YAST also do not configure such a setup.