LinHES Forums
http://forum.linhes.org/

ndiswrapper and sis163u
http://forum.linhes.org/viewtopic.php?f=2&t=12125
Page 1 of 1

Author:  nlin1996 [ Wed Oct 11, 2006 8:57 pm ]
Post subject:  ndiswrapper and sis163u

Hoping for some help here. I'm trying to use an Airnet awu154 USB wireless ethernet adapter with R5D1 Knoppmyth. The install came with 1.19 I couldn't get that to work, so I upgraded to 1.23. The Airnet adapter uses the SiS chipset, sis163u. I went to sis.com and got the latest drivers there.

Nidswrapper -i works fine. I do the ndiswrapper -l shows driver loaded, hardware present.

The problem comes when I do a modprobe ndiswrapper. I get a kernel crash:

ndiswrapper version 1.23 loaded (preempt=yes,smp=yes)
usb 1-2: reset full speed USB device using uhci_hcd and address 2
ndiswrapper: driver sis163u (Silicon Integrated Systems Corp.(1.05.14),11/02/2005,5.1.1039.1050) loaded
BUG: unable to handle kernel NULL pointer dereference at virtual address 00000000
printing eip:
c02f8aba
*pde = 00000000
Oops: 0000 [#1]
PREEMPT SMP
Modules linked in: ndiswrapper sg nvidia i2c_viapro shpchp pci_hotplug 8250_pnp lirc_pvr150 ivtv lirc_dev ipv6 usbhid ttusb_dec ttusbdecfe dvb_ttusb_budget cx22700 budget_av tda10021 budget_ci budget s5h1420 budget_core dvb_ttpci l64781 tda8083 stv0297 sp8870 ttpci_eeprom saa7146_vv v4l1_compat saa7146 mt312 tda1004x ves1820 stv0299 ves1x93 evdev dvb_bt8xx nxt6000 mt352 dvb_pll sp887x dst_ca or51211 zl10353 lgdt330x dst bt878 cx24110 dvb_core bttv i2c_algo_bit tveeprom videodev ir_common compat_ioctl32 btcx_risc video_buf autofs4 snd_via82xx gameport snd_ac97_codec snd_ac97_bus snd_pcm snd_timer snd_page_alloc snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore wm8775 cx25840 tda9887 tuner i2c_core v4l2_common via_agp agpgart via_ircc irda parport_pc parport 8250 serial_core pcmcia firmware_class yenta_socket rsrc_nonstatic pcmcia_core video thermal processor fan container button battery ac genrtc ohci1394 ieee1394 ehci_hcd ohci_hcd uhci_hcd usbcore aacraid a100u2w 3w_9xxx 3w_xxxx megaraid_sas tmscsim raid_class megaraid sata_uli sata_sil24 sata_qstor sata_nv sata_mv BusLogic
CPU: 0
EIP: 0060:[<c02f8aba>] Tainted: P S VLI
EFLAGS: 00010287 (2.6.17-chw-8 #1)
EIP is at vsnprintf+0x2a/0x540
eax: cca731b7 ebx: d421fac0 ecx: 00000000 edx: cca73030
esi: cca731b8 edi: ca55fbe8 ebp: cca731c7 esp: ca55fb68
ds: 007b es: 007b ss: 0068
Process loadndisdriver (pid: 5665, threadinfo=ca55e000 task=ca987590)
Stack: ca987590 c011cc20 00100100 d421fac0 00000000 ca55fbe8 ca55fc58 c013619c
cca731b8 00000010 00000000 ca55fc1c 00000000 ca55fb9c ca55fb9c c0136070
ca55fbc8 dffb0920 00000000 00000000 00000000 00000000 00000000 c070a500
Call Trace:
<c011cc20> default_wake_function+0x0/0x20 <c013619c> kthread_create+0xcc/0xf0
<c0136070> keventd_create_kthread+0x0/0x60 <e2177320> thread_trampoline+0x0/0x60 [ndiswrapper]
<e21773c4> create_nt_thread+0x44/0x80 [ndiswrapper] <e21777d1> PsCreateSystemThread+0x51/0xb0 [ndiswrapper]
<e2177320> thread_trampoline+0x0/0x60 [ndiswrapper] <e2179410> IoAllocateIrp+0x0/0x70 [ndiswrapper]
<e217e359> miniport_init+0x79/0x130 [ndiswrapper] <e217be9e> pdoDispatchPnp+0xbe/0xe0 [ndiswrapper]
<e21804a1> ndis_start_device+0x11/0x600 [ndiswrapper] <e2179d6a> IoSyncForwardIrp+0x4a/0x80 [ndiswrapper]
<e2177766> get_current_nt_thread+0x176/0x190 [ndiswrapper] <e2180347> NdisDispatchPnp+0x67/0xf0 [ndiswrapper]
<e2179b69> IofCallDriver+0x29/0x50 [ndiswrapper] <e217bd68> IoSendIrpTopDev+0x78/0xc0 [ndiswrapper]
<c0127bfc> local_bh_enable+0x2c/0x90 <e217c032> pnp_start_device+0x32/0x80 [ndiswrapper]
<e217ab95> IoAttachDeviceToDeviceStack+0x145/0x1a0 [ndiswrapper] <e217c371> wrap_pnp_start_device+0xa1/0x130 [ndiswrapper]
<e217c502> wrap_pnp_start_usb_device+0x62/0x90 [ndiswrapper] <e0b7710b> usb_probe_interface+0x5b/0xa0 [usbcore]
<c0359693> driver_probe_device+0x53/0xb0 <c0359770> __driver_attach+0x0/0x70
<c03597db> __driver_attach+0x6b/0x70 <c0358cad> bus_for_each_dev+0x4d/0x70
<c02f5d38> kobject_add+0x48/0xe0 <c03597f5> driver_attach+0x15/0x20
<c0359770> __driver_attach+0x0/0x70 <c035913b> bus_add_driver+0x5b/0x90
<c0359c65> driver_register+0x65/0xa0 <e0b773ce> usb_register_driver+0x5e/0xb0 [usbcore]
<e216b167> register_devices+0x447/0x640 [ndiswrapper] <e216b3c9> wrapper_ioctl+0x69/0xd0 [ndiswrapper]
<c0188115> dput+0x95/0x150 <c012780e> current_fs_time+0x4e/0x60
<c0182fa6> do_ioctl+0x46/0x70 <c0183143> vfs_ioctl+0x53/0x1c0
<c018330d> sys_ioctl+0x5d/0x70 <c0103177> syscall_call+0x7/0xb
Code: 00 55 57 56 53 83 ec 0c 8b 44 24 24 85 c0 0f 88 ef 04 00 00 8b 74 24 20 8b 44 24 24 8d 6c 06 ff 89 f0 48 39 e8 77 43 8b 4c 24 28 <80> 39 00 74 23 90 8a 01 3c 25 74 40 39 ee 77 06 88 06 8b 4c 24
EIP: [<c02f8aba>] vsnprintf+0x2a/0x540 SS:ESP 0068:ca55fb68
<3>ndiswrapper (wrapper_init:129): loadndiswrapper failed (11); check system log for messages from 'loadndisdriver'
usbcore: deregistering driver ndiswrapper
BUG: unable to handle kernel NULL pointer dereference at virtual address 00000000
printing eip:
c051cd07
*pde = 00000000
Oops: 0002 [#2]
PREEMPT SMP
Modules linked in: ndiswrapper sg nvidia i2c_viapro shpchp pci_hotplug 8250_pnp lirc_pvr150 ivtv lirc_dev ipv6 usbhid ttusb_dec ttusbdecfe dvb_ttusb_budget cx22700 budget_av tda10021 budget_ci budget s5h1420 budget_core dvb_ttpci l64781 tda8083 stv0297 sp8870 ttpci_eeprom saa7146_vv v4l1_compat saa7146 mt312 tda1004x ves1820 stv0299 ves1x93 evdev dvb_bt8xx nxt6000 mt352 dvb_pll sp887x dst_ca or51211 zl10353 lgdt330x dst bt878 cx24110 dvb_core bttv i2c_algo_bit tveeprom videodev ir_common compat_ioctl32 btcx_risc video_buf autofs4 snd_via82xx gameport snd_ac97_codec snd_ac97_bus snd_pcm snd_timer snd_page_alloc snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore wm8775 cx25840 tda9887 tuner i2c_core v4l2_common via_agp agpgart via_ircc irda parport_pc parport 8250 serial_core pcmcia firmware_class yenta_socket rsrc_nonstatic pcmcia_core video thermal processor fan container button battery ac genrtc ohci1394 ieee1394 ehci_hcd ohci_hcd uhci_hcd usbcore aacraid a100u2w 3w_9xxx 3w_xxxx megaraid_sas tmscsim raid_class megaraid sata_uli sata_sil24 sata_qstor sata_nv sata_mv BusLogic
CPU: 0
EIP: 0060:[<c051cd07>] Tainted: P S VLI
EFLAGS: 00010246 (2.6.17-chw-8 #1)
EIP is at _spin_lock+0x17/0x70
eax: 00000000 ebx: 00000000 ecx: 00000001 edx: ca974000
esi: ca974000 edi: 08049470 ebp: ca974000 esp: ca975f18
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 5650, threadinfo=ca974000 task=ca987070)
Stack: 00000000 e2193bc4 c051ae6f e2193b4c e2192440 c0359199 e2193bc4 e0b88a20
e2193b4c e2193b4c e2193b4c c0359cab e2193b4c e2193b4c e0b7744e e2193b4c
e2193b20 e2193b20 e0b80190 e0b7ea98 e2187714 d3b2d560 e216b5b0 e2193b20
Call Trace:
<c051ae6f> klist_remove+0xf/0x30 <c0359199> bus_remove_driver+0x29/0x60
<c0359cab> driver_unregister+0xb/0x20 <e0b7744e> usb_deregister+0x2e/0x40 [usbcore]
<e216b5b0> loader_exit+0x120/0x140 [ndiswrapper] <e2181175> module_cleanup+0x5/0x50 [ndiswrapper]
<e0e10080> wrapper_init+0x80/0x105 [ndiswrapper] <c013ddb0> __link_module+0x0/0x30
<c013def4> sys_init_module+0x114/0x1e0 <c0103177> syscall_call+0x7/0xb
Code: ff ff 31 d2 eb f3 8d b4 26 00 00 00 00 8d bc 27 00 00 00 00 56 53 89 c3 be 00 e0 ff ff 21 e6 b8 01 00 00 00 e8 8b fe bf ff 31 c0 <86> 03 84 c0 7e 0a c7 43 04 00 00 00 00 5b 5e c3 b8 01 00 00 00
EIP: [<c051cd07>] _spin_lock+0x17/0x70 SS:ESP 0068:ca975f18
<6>note: modprobe[5650] exited with preempt_count 1


Any ideas?

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/