Thread: [Ndiswrapper-general] rmmod ndiswrapper -> keyboard confused
Status: Beta
Brought to you by:
pgiri
From: Thomas R. <roe...@do...> - 2004-03-22 23:36:10
|
Attempts to remove the ndiswrapper module from the kernel lead to a non-terminating rmmod and a confused keyboard (constant line-feeds, no keys accepted) here. I'm observing this on an IBM Thinkpad R40 with built-in Centrino chipset, with Fedora Linux and kernel version 2.4.22-1.2174.nptl (Fedora's latest kernel package). The windows driver is the latest version available from IBM's web site. Other than that, the driver is working nicely so far. Regards, -- Thomas Roessler <roe...@do...> |
From: Cristiano De M. <dem...@na...> - 2004-03-22 23:43:07
|
On Tue, 2004-03-23 at 00:36, Thomas Roessler wrote: > Attempts to remove the ndiswrapper module from the kernel lead to a > non-terminating rmmod and a confused keyboard (constant line-feeds, > no keys accepted) here. >=20 > I'm observing this on an IBM Thinkpad R40 with built-in Centrino > chipset, with Fedora Linux and kernel version 2.4.22-1.2174.nptl > (Fedora's latest kernel package). The windows driver is the latest > version available from IBM's web site. >=20 > Other than that, the driver is working nicely so far. >=20 > Regards, Could you check in your system log files (under /var/log/...) if any kernel Oops occurred? if yes, could you send details about it? thanks Cristiano --=20 Cristiano De Michele E-mail: cristiano.demichele@phys.uniroma= 1.it Department of Physics Tel. : +39064457131 University of Rome "La Sapienza" Fax : +39064463158 Piazzale Aldo Moro 2 I-00185 Roma - Italy =09 |
From: Thomas R. <roe...@do...> - 2004-03-23 00:02:15
|
On 2004-03-23 00:43:00 +0100, Cristiano De Michele wrote: > Could you check in your system log files (under /var/log/...) if > any kernel Oops occurred? if yes, could you send details about > it? Here we go. Should have thought about that immediately... Mar 23 00:25:19 raktajino kernel: Unable to handle kernel NULL pointer dereference at virtual address 0000000c Mar 23 00:25:19 raktajino kernel: printing eip: Mar 23 00:25:19 raktajino kernel: d2dfebdc Mar 23 00:25:19 raktajino kernel: *pde = 00000000 Mar 23 00:25:19 raktajino kernel: Oops: 0002 Mar 23 00:25:19 raktajino kernel: ndiswrapper ide-cd cdrom i810_audio ac97_codec soundcore slamr parport_pc lp parport autofs d s yenta_socket pcmcia_core irtty irda e100 ipt_REJECT ipt_state i Mar 23 00:25:19 raktajino kernel: CPU: 0 Mar 23 00:25:19 raktajino kernel: EIP: 0060:[<d2dfebdc>] Tainted: P Mar 23 00:25:19 raktajino kernel: EFLAGS: 00010282 Mar 23 00:25:19 raktajino kernel: Mar 23 00:25:19 raktajino kernel: EIP is at work [ndiswrapper] 0x1fa9c (2.4.22-1.2174.nptl) Mar 23 00:25:19 raktajino kernel: eax: cf240000 ebx: ca4d2980 ecx: 00000000 edx: d2dfebd0 Mar 23 00:25:19 raktajino kernel: esi: c1313f90 edi: c1312332 ebp: c1313f78 esp: c1313f78 Mar 23 00:25:19 raktajino kernel: ds: 0068 es: 0068 ss: 0068 Mar 23 00:25:19 raktajino kernel: Process keventd (pid: 2, stackpage=c1313000) Mar 23 00:25:19 raktajino kernel: Stack: c1312000 d2dd5fd8 cf240000 cfed4130 c01221ba c2131780 ca4d2be4 cbfb7e44 Mar 23 00:25:19 raktajino kernel: 00000001 c027f895 c012c493 c033fed0 c1313fb0 00000000 00000001 00000000 Mar 23 00:25:19 raktajino kernel: c130bf94 00010000 00000000 c012c380 00000000 c03a22f0 00000000 c1312000 Mar 23 00:25:19 raktajino kernel: Call Trace: [<d2dd5fd8>] ndis_irq_bh [ndiswrapper] 0x58 (0xc1313f7c) Mar 23 00:25:19 raktajino kernel: [<c01221ba>] __run_task_queue [kernel] 0x5a (0xc1313f88) Mar 23 00:25:19 raktajino kernel: [<c012c493>] context_thread [kernel] 0x113 (0xc1313fa0) Mar 23 00:25:19 raktajino kernel: [<c012c380>] context_thread [kernel] 0x0 (0xc1313fc4) Mar 23 00:25:19 raktajino kernel: [<c012c380>] context_thread [kernel] 0x0 (0xc1313fe0) Mar 23 00:25:19 raktajino kernel: [<c010734d>] kernel_thread_helper [kernel] 0x5 (0xc1313ff0) Mar 23 00:25:19 raktajino kernel: Mar 23 00:25:19 raktajino kernel: Mar 23 00:25:19 raktajino kernel: Code: c7 41 0c 00 00 00 00 5d c2 04 00 cc cc cc cc cc cc cc cc cc Since this seems to be related to an IRQ handler, it's probably worth mentioning that the Thinkpad usually puts everything PCI onto a single IRQ. -- Thomas Roessler <roe...@do...> |
From: Cristiano De M. <dem...@na...> - 2004-03-23 00:12:33
|
Thomas,=20 I have the same problem with my USR805410 card (tiacx111 chipset) and it's related to timers... Are you using latest CVS? If not please check it out and try it because Pontus has added recently some code to check and work around such a problem regards Cristiano On Tue, 2004-03-23 at 01:02, Thomas Roessler wrote: > On 2004-03-23 00:43:00 +0100, Cristiano De Michele wrote: >=20 > > Could you check in your system log files (under /var/log/...) if > > any kernel Oops occurred? if yes, could you send details about > > it? >=20 > Here we go. Should have thought about that immediately... >=20 > Mar 23 00:25:19 raktajino kernel: Unable to handle kernel NULL pointer de= reference at virtual address 0000000c > Mar 23 00:25:19 raktajino kernel: printing eip: > Mar 23 00:25:19 raktajino kernel: d2dfebdc > Mar 23 00:25:19 raktajino kernel: *pde =3D 00000000 > Mar 23 00:25:19 raktajino kernel: Oops: 0002 > Mar 23 00:25:19 raktajino kernel: ndiswrapper ide-cd cdrom i810_audio ac9= 7_codec soundcore slamr parport_pc lp parport autofs d > s yenta_socket pcmcia_core irtty irda e100 ipt_REJECT ipt_state i > Mar 23 00:25:19 raktajino kernel: CPU: 0 > Mar 23 00:25:19 raktajino kernel: EIP: 0060:[<d2dfebdc>] Tainted: P= =20 > Mar 23 00:25:19 raktajino kernel: EFLAGS: 00010282 > Mar 23 00:25:19 raktajino kernel:=20 > Mar 23 00:25:19 raktajino kernel: EIP is at work [ndiswrapper] 0x1fa9c (2= .4.22-1.2174.nptl) > Mar 23 00:25:19 raktajino kernel: eax: cf240000 ebx: ca4d2980 ecx: 00= 000000 edx: d2dfebd0 > Mar 23 00:25:19 raktajino kernel: esi: c1313f90 edi: c1312332 ebp: c1= 313f78 esp: c1313f78 > Mar 23 00:25:19 raktajino kernel: ds: 0068 es: 0068 ss: 0068 > Mar 23 00:25:19 raktajino kernel: Process keventd (pid: 2, stackpage=3Dc1= 313000) > Mar 23 00:25:19 raktajino kernel: Stack: c1312000 d2dd5fd8 cf240000 cfed4= 130 c01221ba c2131780 ca4d2be4 cbfb7e44=20 > Mar 23 00:25:19 raktajino kernel: 00000001 c027f895 c012c493 c033f= ed0 c1313fb0 00000000 00000001 00000000=20 > Mar 23 00:25:19 raktajino kernel: c130bf94 00010000 00000000 c012c= 380 00000000 c03a22f0 00000000 c1312000=20 > Mar 23 00:25:19 raktajino kernel: Call Trace: [<d2dd5fd8>] ndis_irq_bh = [ndiswrapper] 0x58 (0xc1313f7c) > Mar 23 00:25:19 raktajino kernel: [<c01221ba>] __run_task_queue [kernel] = 0x5a (0xc1313f88) > Mar 23 00:25:19 raktajino kernel: [<c012c493>] context_thread [kernel] 0x= 113 (0xc1313fa0) > Mar 23 00:25:19 raktajino kernel: [<c012c380>] context_thread [kernel] 0x= 0 (0xc1313fc4) > Mar 23 00:25:19 raktajino kernel: [<c012c380>] context_thread [kernel] 0x= 0 (0xc1313fe0) > Mar 23 00:25:19 raktajino kernel: [<c010734d>] kernel_thread_helper [kern= el] 0x5 (0xc1313ff0) > Mar 23 00:25:19 raktajino kernel:=20 > Mar 23 00:25:19 raktajino kernel:=20 > Mar 23 00:25:19 raktajino kernel: Code: c7 41 0c 00 00 00 00 5d c2 04 00 = cc cc cc cc cc cc cc cc cc=20 >=20 > Since this seems to be related to an IRQ handler, it's probably > worth mentioning that the Thinkpad usually puts everything PCI onto > a single IRQ. --=20 Cristiano De Michele E-mail: cristiano.demichele@phys.uniroma= 1.it Department of Physics Tel. : +39064457131 University of Rome "La Sapienza" Fax : +39064463158 Piazzale Aldo Moro 2 I-00185 Roma - Italy =09 |
From: Thomas R. <roe...@do...> - 2004-03-23 00:28:36
|
On 2004-03-23 01:12:29 +0100, Cristiano De Michele wrote: > Are you using latest CVS? That took care of half of the problem -- rmmod now terminates, and there is no Oops in ndiswrapper itself any more. The crazy keyboard persists, though, and there's another kernel Oops (this time in the e100 module): Mar 23 01:19:09 raktajino kernel: Unable to handle kernel paging request at virtual address d08fe234 Mar 23 01:19:09 raktajino kernel: printing eip: Mar 23 01:19:09 raktajino kernel: d08fe234 Mar 23 01:19:09 raktajino kernel: *pde = 01333067 Mar 23 01:19:09 raktajino kernel: *pte = 00000000 Mar 23 01:19:09 raktajino kernel: Oops: 0000 Mar 23 01:19:09 raktajino kernel: ide-cd cdrom i810_audio ac97_codec soundcore radeon agpgart slamr parport_pc lp parport autofs ds yenta_socket pcmcia_core irtty irda e100 ipt_REJECT ipt_stat Mar 23 01:19:09 raktajino kernel: CPU: 0 Mar 23 01:19:09 raktajino kernel: EIP: 0060:[<d08fe234>] Tainted: P Mar 23 01:19:09 raktajino kernel: EFLAGS: 00010282 Mar 23 01:19:09 raktajino kernel: Mar 23 01:19:09 raktajino kernel: EIP is at e100_notifier_reboot [e100] 0x6cb4 (2.4.22-1.2174.nptl) Mar 23 01:19:09 raktajino kernel: eax: cc9ecbe4 ebx: ca8b4130 ecx: cc362e80 edx: d08fe234 Mar 23 01:19:09 raktajino kernel: esi: c1313f90 edi: c1312332 ebp: c1312000 esp: c1313f88 Mar 23 01:19:09 raktajino kernel: ds: 0068 es: 0068 ss: 0068 Mar 23 01:19:09 raktajino kernel: Process keventd (pid: 2, stackpage=c1313000) Mar 23 01:19:09 raktajino kernel: Stack: c01221ba cc362e80 cc9ecbe4 c03462c4 00000001 c027f895 c012c493 c033fed0 Mar 23 01:19:09 raktajino kernel: c1313fb0 00000000 00000001 00000000 c130bf94 00010000 00000000 c012c380 Mar 23 01:19:09 raktajino kernel: 00000000 c03a22f0 00000000 c1312000 00000000 00000000 c012c380 00000000 Mar 23 01:19:09 raktajino kernel: Call Trace: [<c01221ba>] __run_task_queue [kernel] 0x5a (0xc1313f88) Mar 23 01:19:09 raktajino kernel: [<c012c493>] context_thread [kernel] 0x113 (0xc1313fa0) Mar 23 01:19:09 raktajino kernel: [<c012c380>] context_thread [kernel] 0x0 (0xc1313fc4) Mar 23 01:19:09 raktajino kernel: [<c012c380>] context_thread [kernel] 0x0 (0xc1313fe0) Mar 23 01:19:09 raktajino kernel: [<c010734d>] kernel_thread_helper [kernel] 0x5 (0xc1313ff0) Mar 23 01:19:09 raktajino kernel: Mar 23 01:19:09 raktajino kernel: Mar 23 01:19:09 raktajino kernel: Code: Bad EIP value. Both devices share the same IRQ. -- Thomas Roessler <roe...@do...> |
From: Pontus F. <pon...@ta...> - 2004-03-23 09:39:33
|
On Tue, 2004-03-23 at 01:02, Thomas Roessler wrote: > On 2004-03-23 00:43:00 +0100, Cristiano De Michele wrote: > > > Could you check in your system log files (under /var/log/...) if > > any kernel Oops occurred? if yes, could you send details about > > it? > > Here we go. Should have thought about that immediately... Thanks for the oops. This narrows down the issue quite a bit. Can you please also enable debugging (see driver/Makefile line 3) as this would help me even more. Pontus |
From: Thomas R. <roe...@do...> - 2004-03-23 09:47:11
|
On 2004-03-23 10:39:26 +0100, Pontus Fuchs wrote: > Thanks for the oops. This narrows down the issue quite a bit. Can > you please also enable debugging (see driver/Makefile line 3) as > this would help me even more. Well, this particular oops isn't reproducible with the CVS code. With that one, the e100 driver crashes immediately after ndiswrapper is rmmoded. -- Thomas Roessler <roe...@do...> |