Public bug reported:
when I try to load ndiswrapper module, 3 times on 4 it causes kernel
panics or kernel Oops. Sometimes it works fine.
I attach a kern.log extract:
Jun 19 19:12:05 localhost kernel: [17179645.892000] ndiswrapper version 1.8
loaded (preempt=yes,smp=yes)
Jun 19 19:12:10 localhost kernel: [17179645.952000] ndiswrapper: driver net8180
(Realtek,10/07/2004,5.173.1007.2004) loaded
Jun 19 19:12:10 localhost kernel: [17179645.956000] ACPI: PCI Interrupt
0000:00:09.0[A] -> Link [LNKC] -> GSI 9 (level, low) -> IRQ 9
Jun 19 19:12:10 localhost kernel: [17179646.012000] Unable to handle kernel
NULL pointer dereference at virtual address 0000000f
Jun 19 19:12:10 localhost kernel: [17179646.012000] printing eip:
Jun 19 19:12:10 localhost kernel: [17179646.012000] c01571c6
Jun 19 19:12:10 localhost kernel: [17179646.012000] *pde = 00000000
Jun 19 19:12:10 localhost kernel: [17179646.012000] Oops: 0000 [#1]
Jun 19 19:12:10 localhost kernel: [17179646.012000] PREEMPT SMP
Jun 19 19:12:10 localhost kernel: [17179646.012000] Modules linked in:
ndiswrapper radeon drm ipv6 rfcomm l2cap bluetooth ipt_TOS ipt_REJECT
iptable_nat ipt_limit ipt_state ipt_LOG ipt_recent iptable_mangle ipt_ULOG
iptable_filter ip_tables ip_nat_ftp ip_conntrack_ftp ip_nat_irc ip_nat
ip_conntrack_irc ip_conntrack nfnetlink ppdev powernow_k7 cpufreq_userspace
cpufreq_stats freq_table cpufreq_powersave cpufreq_ondemand
cpufreq_conservative video tc1100_wmi sony_acpi pcc_acpi hotkey dev_acpi
container button acpi_sbs battery ac i2c_acpi_ec dm_mod md_mod sr_mod sbp2
scsi_mod lp snd_seq_dummy snd_seq_oss snd_seq_midi snd_seq_midi_event snd_seq
usbhid joydev pcmcia tsdev parport_pc parport floppy i2c_viapro via_rhine
snd_via82xx_modem mii snd_via82xx gameport pcspkr i2c_core snd_ac97_codec
snd_ac97_bus psmouse snd_pcm_oss snd_mixer_oss via_ircc serio_raw snd_pcm
snd_timer snd_mpu401_uart snd_rawmidi snd_seq_device irda crc_ccitt snd
soundcore snd_page_alloc shpchp pci_hotplug yenta_socket rsrc_nonstatic
pcmcia_core vi
Jun 19 19:12:10 localhost kernel: _agp agpgart evdev ext3 jbd ide_generic
ohci1394 ieee1394 ehci_hcd uhci_hcd usbcore ide_cd cdrom ide_disk via82cxxx
generic thermal processor fan capability commoncap vga16fb vgastate fbcon
tileblit font bitblit softcursor
Jun 19 19:12:10 localhost kernel: [17179646.012000] CPU: 0
Jun 19 19:12:10 localhost kernel: [17179646.012000] EIP:
0060:[cache_alloc_refill+134/608] Tainted: P VLI
Jun 19 19:12:10 localhost kernel: [17179646.012000] EFLAGS: 00010006
(2.6.15-25-k7)
Jun 19 19:12:10 localhost kernel: [17179646.012000] EIP is at
cache_alloc_refill+0x86/0x260
Jun 19 19:12:10 localhost kernel: [17179646.012000] eax: 00000001 ebx:
dfcf8a00 ecx: f686e800 edx: f745fbc0
Jun 19 19:12:10 localhost kernel: [17179646.012000] esi: ffffffff edi:
00000010 ebp: f746e760 esp: f68f1ad8
Jun 19 19:12:10 localhost kernel: [17179646.012000] ds: 007b es: 007b ss:
0068
Jun 19 19:12:10 localhost kernel: [17179646.012000] Process loadndisdriver
(pid: 5426, threadinfo=f68f0000 task=f68e8a90)
Jun 19 19:12:10 localhost kernel: [17179646.012000] Stack: c17ac4b4 00000000
f68f0000 f746e788 f686e800 00000000 dff68044 00000292
Jun 19 19:12:10 localhost kernel: [17179646.012000] 00000000 f6918000
00000020 c01575f7 f745fbc0 000000d0 f7640b0c f8eddbe3
Jun 19 19:12:10 localhost kernel: [17179646.012000] f745fbc0 000000d0
f7640b0c 00000000 f6918000 f7640b00 f8ed64f4 f6905000
Jun 19 19:12:10 localhost kernel: [17179646.012000] Call Trace:
Jun 19 19:12:10 localhost kernel: [17179646.012000] [kmem_cache_alloc+71/80]
kmem_cache_alloc+0x47/0x50
Jun 19 19:12:10 localhost kernel: [17179646.012000] [pg0+950557667/1069179904]
allocate_init_mdl+0x53/0x2a0 [ndiswrapper]
Jun 19 19:12:10 localhost kernel: [17179646.012000] [pg0+950527220/1069179904]
NdisAllocateBuffer+0x174/0x240 [ndiswrapper]
Jun 19 19:12:10 localhost kernel: [17179646.012000] [pg0+950526000/1069179904]
NdisMAllocateSharedMemory+0x0/0xb0 [ndiswrapper]
Jun 19 19:12:10 localhost kernel: [17179646.012000] [pg0+950591931/1069179904]
miniport_init+0x8b/0x130 [ndiswrapper]
Jun 19 19:12:10 localhost kernel: [17179646.012000] [pg0+950599713/1069179904]
ndis_start_device+0x31/0x5c0 [ndiswrapper]
Jun 19 19:12:10 localhost kernel: [17179646.012000]
[get_page_from_freelist+113/192] get_page_from_freelist+0x71/0xc0
Jun 19 19:12:10 localhost kernel: [17179646.012000] [__alloc_pages+116/816]
__alloc_pages+0x74/0x330
Jun 19 19:12:10 localhost kernel: [17179646.012000] [vsnprintf+795/1504]
vsnprintf+0x31b/0x5e0
Jun 19 19:12:10 localhost kernel: [17179646.012000]
[call_console_drivers+326/368] call_console_drivers+0x146/0x170
Jun 19 19:12:10 localhost kernel: [17179646.012000]
[release_console_sem+128/192] release_console_sem+0x80/0xc0
Jun 19 19:12:10 localhost kernel: [17179646.012000] [vprintk+612/768]
vprintk+0x264/0x300
Jun 19 19:12:10 localhost kernel: [17179646.012000] [pg0+950564294/1069179904]
IofCompleteRequest+0xa6/0x200 [ndiswrapper]
Jun 19 19:12:10 localhost kernel: [17179646.012000] [pg0+950586116/1069179904]
pdoDispatchPnp+0x44/0x1a0 [ndiswrapper]
Jun 19 19:12:10 localhost kernel: [17179646.012000] [pg0+950564113/1069179904]
IofCallDriver+0x61/0x70 [ndiswrapper]
Jun 19 19:12:10 localhost kernel: [17179646.012000] [pg0+950599529/1069179904]
NdisDispatchPnp+0xc9/0x150 [ndiswrapper]
Jun 19 19:12:10 localhost kernel: [17179646.012000] [pg0+950564113/1069179904]
IofCallDriver+0x61/0x70 [ndiswrapper]
Jun 19 19:12:10 localhost kernel: [17179646.012000] [pg0+950588063/1069179904]
pnp_start_device+0x7f/0x130 [ndiswrapper]
Jun 19 19:12:10 localhost kernel: [17179646.012000] [pg0+950589222/1069179904]
wrap_pnp_start_device+0x116/0x1a0 [ndiswrapper]
Jun 19 19:12:10 localhost kernel: [17179646.012000]
[__pci_device_probe+86/112] __pci_device_probe+0x56/0x70
Jun 19 19:12:10 localhost kernel: [17179646.012000] [pci_device_probe+47/80]
pci_device_probe+0x2f/0x50
Jun 19 19:12:10 localhost kernel: [17179646.012000]
[driver_probe_device+76/240] driver_probe_device+0x4c/0xf0
Jun 19 19:12:10 localhost kernel: [17179646.012000] [__driver_attach+0/80]
__driver_attach+0x0/0x50
Jun 19 19:12:10 localhost kernel: [17179646.012000] [__driver_attach+67/80]
__driver_attach+0x43/0x50
Jun 19 19:12:10 localhost kernel: [17179646.012000] [bus_for_each_dev+93/128]
bus_for_each_dev+0x5d/0x80
Jun 19 19:12:10 localhost kernel: [17179646.012000] [driver_attach+38/48]
driver_attach+0x26/0x30
Jun 19 19:12:10 localhost kernel: [17179646.012000] [__driver_attach+0/80]
__driver_attach+0x0/0x50
Jun 19 19:12:10 localhost kernel: [17179646.012000] [bus_add_driver+131/240]
bus_add_driver+0x83/0xf0
Jun 19 19:12:10 localhost kernel: [17179646.012000]
[__pci_register_driver+150/192] __pci_register_driver+0x96/0xc0
Jun 19 19:12:10 localhost kernel: [17179646.012000] [vmalloc+32/48]
vmalloc+0x20/0x30
Jun 19 19:12:10 localhost kernel: [17179646.012000] [pg0+950511643/1069179904]
register_devices+0x3cb/0x690 [ndiswrapper]
Jun 19 19:12:10 localhost kernel: [17179646.012000] [dput+242/528]
dput+0xf2/0x210
Jun 19 19:12:10 localhost kernel: [17179646.012000] [pg0+950512635/1069179904]
wrapper_ioctl+0x11b/0x140 [ndiswrapper]
Jun 19 19:12:10 localhost kernel: [17179646.012000] [current_fs_time+91/128]
current_fs_time+0x5b/0x80
Jun 19 19:12:10 localhost kernel: [17179646.012000]
[inotify_dentry_parent_queue_event+82/224]
inotify_dentry_parent_queue_event+0x52/0xe0
Jun 19 19:12:10 localhost kernel: [17179646.012000] [do_ioctl+147/160]
do_ioctl+0x93/0xa0
Jun 19 19:12:10 localhost kernel: [17179646.012000] [vfs_ioctl+107/560]
vfs_ioctl+0x6b/0x230
Jun 19 19:12:10 localhost kernel: [17179646.012000] [sys_ioctl+136/160]
sys_ioctl+0x88/0xa0
Jun 19 19:12:10 localhost kernel: [17179646.012000] [sysenter_past_esp+84/117]
sysenter_past_esp+0x54/0x75
Jun 19 19:12:10 localhost kernel: [17179646.012000] Code: 35 1b 00 8b 4d 30 85
c9 89 4c 24 10 74 0a 8b 11 85 d2 0f 85 2e 01 00 00 85 ff 7e 4a 8b 75 00 39 ee
0f 84 05 01 00 00 8b 54 24 30 <8b> 46 10 39 42 38 77 66 8b 16 8b 46 04 89 42 04
89 10 83 7e 14
Jun 19 19:12:10 localhost kernel: [17179646.012000] <6>note:
loadndisdriver[5426] exited with preempt_count 1
Jun 19 19:12:10 localhost kernel: [17179646.536000] ndiswrapper
(wrapper_init:173): loadndiswrapper failed (11); check system log for messages
from 'loadndisdriver'
Jun 19 19:12:10 localhost kernel: [17179646.548000] Unable to handle kernel
NULL pointer dereference at virtual address 00000000
Jun 19 19:12:10 localhost kernel: [17179646.564000] printing eip:
Jun 19 19:12:10 localhost kernel: [17179646.568000] c030a78a
Jun 19 19:12:10 localhost kernel: [17179646.576000] *pde = 00000000
Jun 19 19:12:10 localhost kernel: [17179646.584000] Oops: 0002 [#2]
Jun 19 19:12:10 localhost kernel: [17179646.584000] PREEMPT SMP
Jun 19 19:12:10 localhost kernel: [17179646.584000] Modules linked in:
ndiswrapper radeon drm ipv6 rfcomm l2cap bluetooth ipt_TOS ipt_REJECT
iptable_nat ipt_limit ipt_state ipt_LOG ipt_recent iptable_mangle ipt_ULOG
iptable_filter ip_tables ip_nat_ftp ip_conntrack_ftp ip_nat_irc ip_nat
ip_conntrack_irc ip_conntrack nfnetlink ppdev powernow_k7 cpufreq_userspace
cpufreq_stats freq_table cpufreq_powersave cpufreq_ondemand
cpufreq_conservative video tc1100_wmi sony_acpi pcc_acpi hotkey dev_acpi
container button acpi_sbs battery ac i2c_acpi_ec dm_mod md_mod sr_mod sbp2
scsi_mod lp snd_seq_dummy snd_seq_oss snd_seq_midi snd_seq_midi_event snd_seq
usbhid joydev pcmcia tsdev parport_pc parport floppy i2c_viapro via_rhine
snd_via82xx_modem mii snd_via82xx gameport pcspkr i2c_core snd_ac97_codec
snd_ac97_bus psmouse snd_pcm_oss snd_mixer_oss via_ircc serio_raw snd_pcm
snd_timer snd_mpu401_uart snd_rawmidi snd_seq_device irda crc_ccitt snd
soundcore snd_page_alloc shpchp pci_hotplug yenta_socket rsrc_nonstatic
pcmcia_core vi
Jun 19 19:12:10 localhost kernel: _agp agpgart evdev ext3 jbd ide_generic
ohci1394 ieee1394 ehci_hcd uhci_hcd usbcore ide_cd cdrom ide_disk via82cxxx
generic thermal processor fan capability commoncap vga16fb vgastate fbcon
tileblit font bitblit softcursor
Jun 19 19:12:10 localhost kernel: [17179646.584000] CPU: 0
Jun 19 19:12:10 localhost kernel: [17179646.584000] EIP:
0060:[_spin_lock+26/128] Tainted: P VLI
Jun 19 19:12:10 localhost kernel: [17179646.584000] EFLAGS: 00010246
(2.6.15-25-k7)
Jun 19 19:12:10 localhost kernel: [17179646.584000] EIP is at
_spin_lock+0x1a/0x80
Jun 19 19:12:10 localhost kernel: [17179646.584000] eax: 00000000 ebx:
00000000 ecx: f68e5990 edx: 00000000
Jun 19 19:12:10 localhost kernel: [17179646.584000] esi: f74c8000 edi:
08050de0 ebp: f74c8000 esp: f74c9f08
Jun 19 19:12:10 localhost kernel: [17179646.584000] ds: 007b es: 007b ss:
0068
Jun 19 19:12:10 localhost kernel: [17179646.584000] Process modprobe (pid:
5420, threadinfo=f74c8000 task=f68d2050)
Jun 19 19:12:10 localhost kernel: [17179646.584000] Stack: 00000000 f8efb610
c03083e8 f8efb5a8 f8efb5a8 f8efb140 c025f9d9 f8efb610
Jun 19 19:12:10 localhost kernel: [17179646.584000] f8efb5a8 f8efb5a8
c0260510 f8efb5a8 f8efb580 c0203d13 f8efb5a8 b7dab000
Jun 19 19:12:10 localhost kernel: [17179646.584000] f8ed2cf3 f8efb580
b7dab000 f8ee48fa f8eeef38 b7dab000 f8efb140 f8d7107e
Jun 19 19:12:10 localhost kernel: [17179646.584000] Call Trace:
Jun 19 19:12:10 localhost kernel: [17179646.584000] [klist_remove+24/64]
klist_remove+0x18/0x40
Jun 19 19:12:10 localhost kernel: [17179646.584000] [bus_remove_driver+73/128]
bus_remove_driver+0x49/0x80
Jun 19 19:12:10 localhost kernel: [17179646.584000] [driver_unregister+16/32]
driver_unregister+0x10/0x20
Jun 19 19:12:10 localhost kernel: [17179646.584000]
[pci_unregister_driver+19/32] pci_unregister_driver+0x13/0x20
Jun 19 19:12:10 localhost kernel: [17179646.584000] [pg0+950512883/1069179904]
loader_exit+0x53/0x110 [ndiswrapper]
Jun 19 19:12:10 localhost kernel: [17179646.584000] [pg0+950585594/1069179904]
module_cleanup+0xa/0xb0 [ndiswrapper]
Jun 19 19:12:10 localhost kernel: [17179646.584000] [pg0+949063806/1069179904]
wrapper_init+0x7e/0x1da [ndiswrapper]
Jun 19 19:12:10 localhost kernel: [17179646.584000] [sys_init_module+215/576]
sys_init_module+0xd7/0x240
Jun 19 19:12:10 localhost kernel: [17179646.584000] [sysenter_past_esp+84/117]
sysenter_past_esp+0x54/0x75
Jun 19 19:12:10 localhost kernel: [17179646.584000] Code: 41 08 30 db a8 08 74
e9 e8 b4 ed ff ff 89 d8 5b c3 83 ec 08 89 1c 24 89 74 24 04 89 c3 b8 00 e0 ff
ff 21 e0 ff 40 14 89 c6 31 c0 <86> 03 84 c0 7e 12 c7 43 04 00 00 00 00 8b 74 24
04 8b 1c 24 83
Jun 19 19:12:10 localhost kernel: [17179646.584000] <6>note: modprobe[5420]
exited with preempt_count 1
** Affects: ndiswrapper (Ubuntu)
Importance: Untriaged
Status: Unconfirmed
--
kernel panics after modprobe
https://launchpad.net/bugs/50372
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs