[Bug 27888] [DAPPER] ndiswrapper not working with kernel 2.6.15 (AMD64)

Christophe Dumez HyDr0g3n at hotmail.com
Sat Apr 1 01:42:00 UTC 2006


Public bug reported:

Affects: linux-source-2.6.15 (Ubuntu)
       Severity: Normal
       Priority: Medium
     Assignee: Ben Collins
         Status: Unconfirmed


Description:
I'm using latest Dapper AMD64. I tried to install my INPROCOM IPN 2220 wireless
card which used to work under Breezy. I get an error in dmesg concerning an
error in kernel 2.6.15..

Dmesg :

[   36.915463] ndiswrapper version 1.5 loaded (preempt=yes,smp=yes)
[   37.060378] ndiswrapper (load_pe_images:582): fixing KI_USER_SHARED_DATA
address in the driver
[   37.061194] ndiswrapper: driver neti2220x64 () loaded
[   37.061376] ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 21 (level, low) -> IRQ 209
[   37.094600] ----------- [cut here ] --------- [please bite here ] ---------
[   37.094604] Kernel BUG at include/linux/gfp.h:80
[   37.094607] invalid operand: 0000 [1] PREEMPT SMP
[   37.094610] CPU 0
[   37.094612] Modules linked in: ndiswrapper nls_iso8859_1 nls_cp437 vfat fat
dm_mod sr_mod sbp2 scsi_mod lp usblp snd_seq_dummy snd_seq_oss snd_seq_midi
snd_seq_midi_event usbhid snd_seq i2c_viapro i2c_core snd_via82xx gameport
snd_via82xx_modem snd_ac97_codec snd_ac97_bus pcmcia snd_pcm_oss snd_mixer_oss
snd_pcm snd_mpu401_uart psmouse rtc parport_pc parport pcspkr snd_rawmidi
snd_seq_device serio_raw snd_timer ehci_hcd via_ircc uhci_hcd r8169 nsc_ircc
ohci1394 ieee1394 snd snd_page_alloc usbcore soundcore irda nvidia crc_ccitt
yenta_socket shpchp pci_hotplug rsrc_nonstatic pcmcia_core evdev md_mod ext3 jbd
ide_generic ide_cd cdrom ide_disk via82cxxx generic thermal processor fan
capability commoncap vga16fb cfbcopyarea vgastate cfbimgblt cfbfillrect fbcon
tileblit font bitblit softcursor
[   37.094649] Pid: 3414, comm: loadndisdriver Tainted: P      2.6.15-10-amd64-k8 #1
[   37.094652] RIP: 0010:[<ffffffff80123a3f>] <ffffffff80123a3f>{dma_alloc_pages+79}
[   37.094661] RSP: 0018:ffff81001a5f58f0  EFLAGS: 00010202
[   37.094664] RAX: 0000000000000005 RBX: 00000000000004d5 RCX: ffff81000000bc00
[   37.094668] RDX: 0000000000000006 RSI: 0000000000000006 RDI: ffff81001f9eb870
[   37.094671] RBP: 0000000000024e10 R08: 00000000000004d5 R09: ffffffff8883a020
[   37.094675] R10: 0000000000000000 R11: ffffffff8880d3f0 R12: 0000000000000000
[   37.094678] R13: 0000000000000049 R14: ffffc2000032c338 R15: 00000000ffffffff
[   37.094683] FS:  00002aaaaadf96d0(0000) GS:ffffffff80426800(0000)
knlGS:0000000000000000
[   37.094686] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[   37.094689] CR2: 00002aaaaac525e0 CR3: 000000001a526000 CR4: 00000000000006e0
[   37.094694] Process loadndisdriver (pid: 3414, threadinfo ffff81001a5f4000,
task ffff81001d7242c0)
[   37.094696] Stack: ffff81001f924c80 ffffffff80123e93 ffff81001a5f5958
0000000000024e10
[   37.094704]        ffff81001f9eb870 0000000000000000 0000000000024e10
0000000000000000
[   37.094708]        ffffc2000032c328 ffffc2000032c338
[   37.094712] Call Trace:<ffffffff80123e93>{dma_alloc_coherent+131}
<ffffffff8880d438>{:ndiswrapper:NdisMAllocateSharedMemory+72}
[   37.094754]        <ffffffff8881318c>{:ndiswrapper:ExAllocatePoolWithTag+60}
[   37.094775]        <ffffffff80146b79>{lock_timer_base+41}
<ffffffff8881ffc2>{:ndiswrapper:lin_to_win6+30}
[   37.094817]        <ffffffff8881c37e>{:ndiswrapper:miniport_init+302}
<ffffffff8881dea7>{:ndiswrapper:ndiswrapper_start_device+23}
[   37.094864]        <ffffffff80216114>{pci_bus_read_config_byte+116}
<ffffffff80291e8f>{pci_conf1_read+223}
[   37.094880]        <ffffffff801222a3>{mp_register_gsi+67}
<ffffffff8011ca2a>{acpi_register_gsi+90}
[   37.094892]        <ffffffff8016f97b>{kzalloc+43}
<ffffffff80143a19>{__request_region+153}
[   37.094905]        <ffffffff802192c3>{pci_request_region+211}
<ffffffff8880b0af>{:ndiswrapper:ndiswrapper_add_pci_device+495}
[   37.094929]        <ffffffff8021ad93>{pci_device_probe+243}
<ffffffff8027185d>{driver_probe_device+77}
[   37.094945]        <ffffffff80271940>{__driver_attach+0}
<ffffffff80271980>{__driver_attach+64}
[   37.094952]        <ffffffff80271940>{__driver_attach+0}
<ffffffff80270c39>{bus_for_each_dev+73}
[   37.094962]        <ffffffff80271170>{bus_add_driver+128}
<ffffffff8021a992>{__pci_register_driver+178}
[   37.094977]        <ffffffff888099e9>{:ndiswrapper:register_devices+1049}
[   37.094994]        <ffffffff88809e0c>{:ndiswrapper:wrapper_ioctl+108}
<ffffffff801a1b59>{do_ioctl+105}
[   37.095024]        <ffffffff801a1e3b>{vfs_ioctl+683}
<ffffffff801ab79c>{mntput_no_expire+28}
[   37.095034]        <ffffffff801a1edc>{sys_ioctl+108}
<ffffffff8010fede>{system_call+126}
[   37.095047]
[   37.095055]
[   37.095056] Code: 0f 0b 68 f1 88 32 80 c2 50 00 66 66 66 90 66 66 90 48 63 d0
[   37.095065] RIP <ffffffff80123a3f>{dma_alloc_pages+79} RSP <ffff81001a5f58f0>
[   37.095071]  <3>ndiswrapper (wrapper_init:1830): loadndiswrapper failed (11);
check system log for messages from 'loadndisdriver'
[   37.095659] Unable to handle kernel NULL pointer dereference at
0000000000000000 RIP:
[   37.095663] <ffffffff803115b5>{_spin_lock+21}
[   37.095671] PGD 1a492067 PUD 1a493067 PMD 0
[   37.095675] Oops: 0002 [2] PREEMPT SMP
[   37.095677] CPU 0
[   37.095679] Modules linked in: ndiswrapper nls_iso8859_1 nls_cp437 vfat fat
dm_mod sr_mod sbp2 scsi_mod lp usblp snd_seq_dummy snd_seq_oss snd_seq_midi
snd_seq_midi_event usbhid snd_seq i2c_viapro i2c_core snd_via82xx gameport
snd_via82xx_modem snd_ac97_codec snd_ac97_bus pcmcia snd_pcm_oss snd_mixer_oss
snd_pcm snd_mpu401_uart psmouse rtc parport_pc parport pcspkr snd_rawmidi
snd_seq_device serio_raw snd_timer ehci_hcd via_ircc uhci_hcd r8169 nsc_ircc
ohci1394 ieee1394 snd snd_page_alloc usbcore soundcore irda nvidia crc_ccitt
yenta_socket shpchp pci_hotplug rsrc_nonstatic pcmcia_core evdev md_mod ext3 jbd
ide_generic ide_cd cdrom ide_disk via82cxxx generic thermal processor fan
capability commoncap vga16fb cfbcopyarea vgastate cfbimgblt cfbfillrect fbcon
tileblit font bitblit softcursor
[   37.095717] Pid: 3408, comm: modprobe Tainted: P      2.6.15-10-amd64-k8 #1
[   37.095720] RIP: 0010:[<ffffffff803115b5>] <ffffffff803115b5>{_spin_lock+21}
[   37.095726] RSP: 0018:ffff81001a4b7e58  EFLAGS: 00010246
[   37.095728] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000034
[   37.095731] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[   37.095734] RBP: ffffffff88839a50 R08: 0000000000000003 R09: 0000000000000001
[   37.095738] R10: 0000000000000000 R11: ffffffff80272030 R12: 0000000000000000
[   37.095742] R13: ffffffff888394c0 R14: ffffffff803780a0 R15: 00002aaaaaac4000
[   37.095746] FS:  00002aaaaadf96d0(0000) GS:ffffffff80426800(0000)
knlGS:0000000000000000
[   37.095749] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[   37.095752] CR2: 0000000000000000 CR3: 000000001a48d000 CR4: 00000000000006e0
[   37.095756] Process modprobe (pid: 3408, threadinfo ffff81001a4b6000, task
ffff81001c1536e0)
[   37.095759] Stack: ffffffff88839af8 ffffffff8030ee4c 0000000000000000
ffffffff88839a60
[   37.095765]        ffffffff80385220 ffffffff802712d2 ffffffff88839a60
000000000004f120
[   37.095771]        ffffffff88839b68 ffffffff80271cdd
[   37.095775] Call Trace:<ffffffff8030ee4c>{klist_remove+28}
<ffffffff802712d2>{bus_remove_driver+114}
[   37.095785]        <ffffffff80271cdd>{driver_unregister+13}
<ffffffff8021a9d7>{pci_unregister_driver+23}
[   37.095795]        <ffffffff88809c6a>{:ndiswrapper:loader_exit+154}
<ffffffff8881be96>{:ndiswrapper:module_cleanup+6}
[   37.095835]        <ffffffff880c819c>{:ndiswrapper:wrapper_init+412}
<ffffffff80163a25>{stop_machine_run+69}
[   37.095857]        <ffffffff8015c481>{sys_init_module+257}
<ffffffff8010fede>{system_call+126}
[   37.095870]
[   37.095879]
[   37.095880] Code: 87 03 85 c0 7f 49 65 48 8b 04 25 10 00 00 00 ff 88 44 e0 ff
[   37.095889] RIP <ffffffff803115b5>{_spin_lock+21} RSP <ffff81001a4b7e58>
[   37.095895] CR2: 0000000000000000
[   37.095896]  <6>note: modprobe[3408] exited with preempt_count 1
Public bug reported:

Affects: linux-source-2.6.15 (Ubuntu)
       Severity: Normal
       Priority: Medium
     Assignee: Ben Collins
         Status: Unconfirmed


Description:
I'm using latest Dapper AMD64. I tried to install my INPROCOM IPN 2220 wireless
card which used to work under Breezy. I get an error in dmesg concerning an
error in kernel 2.6.15..

Dmesg :

[   36.915463] ndiswrapper version 1.5 loaded (preempt=yes,smp=yes)
[   37.060378] ndiswrapper (load_pe_images:582): fixing KI_USER_SHARED_DATA
address in the driver
[   37.061194] ndiswrapper: driver neti2220x64 () loaded
[   37.061376] ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 21 (level, low) -> IRQ 209
[   37.094600] ----------- [cut here ] --------- [please bite here ] ---------
[   37.094604] Kernel BUG at include/linux/gfp.h:80
[   37.094607] invalid operand: 0000 [1] PREEMPT SMP
[   37.094610] CPU 0
[   37.094612] Modules linked in: ndiswrapper nls_iso8859_1 nls_cp437 vfat fat
dm_mod sr_mod sbp2 scsi_mod lp usblp snd_seq_dummy snd_seq_oss snd_seq_midi
snd_seq_midi_event usbhid snd_seq i2c_viapro i2c_core snd_via82xx gameport
snd_via82xx_modem snd_ac97_codec snd_ac97_bus pcmcia snd_pcm_oss snd_mixer_oss
snd_pcm snd_mpu401_uart psmouse rtc parport_pc parport pcspkr snd_rawmidi
snd_seq_device serio_raw snd_timer ehci_hcd via_ircc uhci_hcd r8169 nsc_ircc
ohci1394 ieee1394 snd snd_page_alloc usbcore soundcore irda nvidia crc_ccitt
yenta_socket shpchp pci_hotplug rsrc_nonstatic pcmcia_core evdev md_mod ext3 jbd
ide_generic ide_cd cdrom ide_disk via82cxxx generic thermal processor fan
capability commoncap vga16fb cfbcopyarea vgastate cfbimgblt cfbfillrect fbcon
tileblit font bitblit softcursor
[   37.094649] Pid: 3414, comm: loadndisdriver Tainted: P      2.6.15-10-amd64-k8 #1
[   37.094652] RIP: 0010:[<ffffffff80123a3f>] <ffffffff80123a3f>{dma_alloc_pages+79}
[   37.094661] RSP: 0018:ffff81001a5f58f0  EFLAGS: 00010202
[   37.094664] RAX: 0000000000000005 RBX: 00000000000004d5 RCX: ffff81000000bc00
[   37.094668] RDX: 0000000000000006 RSI: 0000000000000006 RDI: ffff81001f9eb870
[   37.094671] RBP: 0000000000024e10 R08: 00000000000004d5 R09: ffffffff8883a020
[   37.094675] R10: 0000000000000000 R11: ffffffff8880d3f0 R12: 0000000000000000
[   37.094678] R13: 0000000000000049 R14: ffffc2000032c338 R15: 00000000ffffffff
[   37.094683] FS:  00002aaaaadf96d0(0000) GS:ffffffff80426800(0000)
knlGS:0000000000000000
[   37.094686] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[   37.094689] CR2: 00002aaaaac525e0 CR3: 000000001a526000 CR4: 00000000000006e0
[   37.094694] Process loadndisdriver (pid: 3414, threadinfo ffff81001a5f4000,
task ffff81001d7242c0)
[   37.094696] Stack: ffff81001f924c80 ffffffff80123e93 ffff81001a5f5958
0000000000024e10
[   37.094704]        ffff81001f9eb870 0000000000000000 0000000000024e10
0000000000000000
[   37.094708]        ffffc2000032c328 ffffc2000032c338
[   37.094712] Call Trace:<ffffffff80123e93>{dma_alloc_coherent+131}
<ffffffff8880d438>{:ndiswrapper:NdisMAllocateSharedMemory+72}
[   37.094754]        <ffffffff8881318c>{:ndiswrapper:ExAllocatePoolWithTag+60}
[   37.094775]        <ffffffff80146b79>{lock_timer_base+41}
<ffffffff8881ffc2>{:ndiswrapper:lin_to_win6+30}
[   37.094817]        <ffffffff8881c37e>{:ndiswrapper:miniport_init+302}
<ffffffff8881dea7>{:ndiswrapper:ndiswrapper_start_device+23}
[   37.094864]        <ffffffff80216114>{pci_bus_read_config_byte+116}
<ffffffff80291e8f>{pci_conf1_read+223}
[   37.094880]        <ffffffff801222a3>{mp_register_gsi+67}
<ffffffff8011ca2a>{acpi_register_gsi+90}
[   37.094892]        <ffffffff8016f97b>{kzalloc+43}
<ffffffff80143a19>{__request_region+153}
[   37.094905]        <ffffffff802192c3>{pci_request_region+211}
<ffffffff8880b0af>{:ndiswrapper:ndiswrapper_add_pci_device+495}
[   37.094929]        <ffffffff8021ad93>{pci_device_probe+243}
<ffffffff8027185d>{driver_probe_device+77}
[   37.094945]        <ffffffff80271940>{__driver_attach+0}
<ffffffff80271980>{__driver_attach+64}
[   37.094952]        <ffffffff80271940>{__driver_attach+0}
<ffffffff80270c39>{bus_for_each_dev+73}
[   37.094962]        <ffffffff80271170>{bus_add_driver+128}
<ffffffff8021a992>{__pci_register_driver+178}
[   37.094977]        <ffffffff888099e9>{:ndiswrapper:register_devices+1049}
[   37.094994]        <ffffffff88809e0c>{:ndiswrapper:wrapper_ioctl+108}
<ffffffff801a1b59>{do_ioctl+105}
[   37.095024]        <ffffffff801a1e3b>{vfs_ioctl+683}
<ffffffff801ab79c>{mntput_no_expire+28}
[   37.095034]        <ffffffff801a1edc>{sys_ioctl+108}
<ffffffff8010fede>{system_call+126}
[   37.095047]
[   37.095055]
[   37.095056] Code: 0f 0b 68 f1 88 32 80 c2 50 00 66 66 66 90 66 66 90 48 63 d0
[   37.095065] RIP <ffffffff80123a3f>{dma_alloc_pages+79} RSP <ffff81001a5f58f0>
[   37.095071]  <3>ndiswrapper (wrapper_init:1830): loadndiswrapper failed (11);
check system log for messages from 'loadndisdriver'
[   37.095659] Unable to handle kernel NULL pointer dereference at
0000000000000000 RIP:
[   37.095663] <ffffffff803115b5>{_spin_lock+21}
[   37.095671] PGD 1a492067 PUD 1a493067 PMD 0
[   37.095675] Oops: 0002 [2] PREEMPT SMP
[   37.095677] CPU 0
[   37.095679] Modules linked in: ndiswrapper nls_iso8859_1 nls_cp437 vfat fat
dm_mod sr_mod sbp2 scsi_mod lp usblp snd_seq_dummy snd_seq_oss snd_seq_midi
snd_seq_midi_event usbhid snd_seq i2c_viapro i2c_core snd_via82xx gameport
snd_via82xx_modem snd_ac97_codec snd_ac97_bus pcmcia snd_pcm_oss snd_mixer_oss
snd_pcm snd_mpu401_uart psmouse rtc parport_pc parport pcspkr snd_rawmidi
snd_seq_device serio_raw snd_timer ehci_hcd via_ircc uhci_hcd r8169 nsc_ircc
ohci1394 ieee1394 snd snd_page_alloc usbcore soundcore irda nvidia crc_ccitt
yenta_socket shpchp pci_hotplug rsrc_nonstatic pcmcia_core evdev md_mod ext3 jbd
ide_generic ide_cd cdrom ide_disk via82cxxx generic thermal processor fan
capability commoncap vga16fb cfbcopyarea vgastate cfbimgblt cfbfillrect fbcon
tileblit font bitblit softcursor
[   37.095717] Pid: 3408, comm: modprobe Tainted: P      2.6.15-10-amd64-k8 #1
[   37.095720] RIP: 0010:[<ffffffff803115b5>] <ffffffff803115b5>{_spin_lock+21}
[   37.095726] RSP: 0018:ffff81001a4b7e58  EFLAGS: 00010246
[   37.095728] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000034
[   37.095731] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[   37.095734] RBP: ffffffff88839a50 R08: 0000000000000003 R09: 0000000000000001
[   37.095738] R10: 0000000000000000 R11: ffffffff80272030 R12: 0000000000000000
[   37.095742] R13: ffffffff888394c0 R14: ffffffff803780a0 R15: 00002aaaaaac4000
[   37.095746] FS:  00002aaaaadf96d0(0000) GS:ffffffff80426800(0000)
knlGS:0000000000000000
[   37.095749] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[   37.095752] CR2: 0000000000000000 CR3: 000000001a48d000 CR4: 00000000000006e0
[   37.095756] Process modprobe (pid: 3408, threadinfo ffff81001a4b6000, task
ffff81001c1536e0)
[   37.095759] Stack: ffffffff88839af8 ffffffff8030ee4c 0000000000000000
ffffffff88839a60
[   37.095765]        ffffffff80385220 ffffffff802712d2 ffffffff88839a60
000000000004f120
[   37.095771]        ffffffff88839b68 ffffffff80271cdd
[   37.095775] Call Trace:<ffffffff8030ee4c>{klist_remove+28}
<ffffffff802712d2>{bus_remove_driver+114}
[   37.095785]        <ffffffff80271cdd>{driver_unregister+13}
<ffffffff8021a9d7>{pci_unregister_driver+23}
[   37.095795]        <ffffffff88809c6a>{:ndiswrapper:loader_exit+154}
<ffffffff8881be96>{:ndiswrapper:module_cleanup+6}
[   37.095835]        <ffffffff880c819c>{:ndiswrapper:wrapper_init+412}
<ffffffff80163a25>{stop_machine_run+69}
[   37.095857]        <ffffffff8015c481>{sys_init_module+257}
<ffffffff8010fede>{system_call+126}
[   37.095870]
[   37.095879]
[   37.095880] Code: 87 03 85 c0 7f 49 65 48 8b 04 25 10 00 00 00 ff 88 44 e0 ff
[   37.095889] RIP <ffffffff803115b5>{_spin_lock+21} RSP <ffff81001a4b7e58>
[   37.095895] CR2: 0000000000000000
[   37.095896]  <6>note: modprobe[3408] exited with preempt_count 1
-- 
[DAPPER] ndiswrapper not working with kernel 2.6.15 (AMD64)
https://launchpad.net/malone/bugs/27888




More information about the kernel-bugs mailing list