Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 118724

Summary: kernel 2.6.15 loading ndiswrapper - Kernel BUG at include/linux/gfp.h:80
Product: Gentoo Linux Reporter: Morgan Collins <sirmorcant>
Component: [OLD] UnspecifiedAssignee: Seemant Kulleen (RETIRED) <seemant>
Status: VERIFIED FIXED    
Severity: normal CC: betelgeuse, gentoo-bugs, kernel, mike
Priority: High    
Version: 2005.1   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Morgan Collins 2006-01-11 17:19:58 UTC
Please advise if you need more information...

Jan 11 14:14:00 fury ----------- [cut here ] --------- [please bite here ] ---------
Jan 11 14:14:00 fury Kernel BUG at include/linux/gfp.h:80
Jan 11 14:14:00 fury invalid operand: 0000 [1] PREEMPT
Jan 11 14:14:00 fury CPU 0
Jan 11 14:14:00 fury Modules linked in: ndiswrapper cpufreq_performance snd_seq snd_seq_device eth1394 binfmt_misc sbp2 scsi_mod usbmouse fuse ide_cd cdrom nvidia joydev usbkbd snd_intel8x0m usbhid tsdev snd_intel8x0 snd_ac97_codec snd_ac97_bus psmouse evdev ohci1394 ieee1394 ohci_hcd ehci_hcd 8139too pcmcia firmware_class yenta_socket rsrc_nonstatic pcmcia_core i2c_nforce2
Jan 11 14:14:00 fury Pid: 7367, comm: loadndisdriver Tainted: P      2.6.15-gentoo #1
Jan 11 14:14:00 fury RIP: 0010:[<ffffffff8011c532>] <ffffffff8011c532>{dma_alloc_pages+20}
Jan 11 14:14:00 fury RSP: 0018:ffff81005b27b850  EFLAGS: 00010202
Jan 11 14:14:00 fury RAX: 0000000000000005 RBX: 00000000000007a8 RCX: 00000000000004d1
Jan 11 14:14:00 fury RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000000004d5
Jan 11 14:14:00 fury RBP: 00000000000004d5 R08: ffff81005b27b970 R09: ffffffff885e4bf3
Jan 11 14:14:00 fury R10: 000000005fccb000 R11: ffffffff885e3c9a R12: 0000000000000001
Jan 11 14:14:00 fury R13: ffff81005fccb070 R14: 0000000000001000 R15: 000000003fffffff
Jan 11 14:14:00 fury FS:  00002aaaaadedae0(0000) GS:ffffffff80468800(0000) knlGS:0000000000000000
Jan 11 14:14:00 fury CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
Jan 11 14:14:00 fury CR2: 00002aaaaac515a0 CR3: 000000005ca3c000 CR4: 00000000000006e0
Jan 11 14:14:00 fury Process loadndisdriver (pid: 7367, threadinfo ffff81005b27a000, task ffff81005f135850)
Jan 11 14:14:00 fury Stack: ffff81005fccb070 ffffffff8011cd00 ffff81005b27b8a8 00000000000007a8
Jan 11 14:14:00 fury 0000000000001000 0000000000000001 ffff81005b27b968 ffff81005b27b970
Jan 11 14:14:00 fury 0000000000000000 ffffffff885e3cd8
Jan 11 14:14:00 fury Call Trace:<ffffffff8011cd00>{dma_alloc_coherent+111} <ffffffff885e3cd8>{:ndiswrapper:NdisMAllocateSharedMemory+62}
Jan 11 14:14:00 fury <ffffffff80129dd0>{__wake_up_common+57} <ffffffff885e4bf3>{:ndiswrapper:NdisMAllocateMapRegisters+49}
Jan 11 14:14:00 fury <ffffffff80129dd0>{__wake_up_common+57} <ffffffff80129d01>{nr_running+11}
Jan 11 14:14:00 fury <ffffffff885f4ef6>{:ndiswrapper:lin_to_win6+30} <ffffffff885ec7fc>{:ndiswrapper:IofCompleteRequest+216}
Jan 11 14:14:00 fury <ffffffff885efa8a>{:ndiswrapper:miniport_init+143} <ffffffff885f1866>{:ndiswrapper:NdisDispatchPnp+155}
Jan 11 14:14:00 fury <ffffffff8011aed4>{mp_register_gsi+329} <ffffffff8021d849>{acpi_pci_link_allocate_irq+375}
Jan 11 14:14:00 fury <ffffffff885e9037>{:ndiswrapper:allocate_object+331}
Jan 11 14:14:00 fury <ffffffff885edd51>{:ndiswrapper:pnp_start_device+156}
Jan 11 14:14:00 fury <ffffffff885ee3af>{:ndiswrapper:wrap_pnp_start_device+1185}
Jan 11 14:14:00 fury <ffffffff801eaea7>{pci_device_probe+73} <ffffffff8024e57c>{driver_probe_device+63}
Jan 11 14:14:00 fury <ffffffff8024e62f>{__driver_attach+0} <ffffffff8024e664>{__driver_attach+53}
Jan 11 14:14:00 fury <ffffffff8024dbee>{bus_for_each_dev+67} <ffffffff8024dff4>{bus_add_driver+116}
Jan 11 14:14:00 fury <ffffffff801ea9fa>{__pci_register_driver+132} <ffffffff885e101b>{:ndiswrapper:register_devices+902}
Jan 11 14:14:00 fury <ffffffff885e192f>{:ndiswrapper:wrapper_ioctl+94} <ffffffff8017ec2e>{filldir+0}
Jan 11 14:14:00 fury <ffffffff80175bb5>{cp_new_stat+231} <ffffffff8017e855>{do_ioctl+85}
Jan 11 14:14:00 fury <ffffffff8017ead9>{vfs_ioctl+622} <ffffffff8017eb2e>{sys_ioctl+60}
Jan 11 14:14:00 fury <ffffffff8010e69e>{system_call+126}
Jan 11 14:14:00 fury
Jan 11 14:14:00 fury Code: 0f 0b 68 2c 2b 33 80 c2 50 00 48 63 d0 48 6b d2 28 48 81 c2
Jan 11 14:14:00 fury RIP <ffffffff8011c532>{dma_alloc_pages+20} RSP <ffff81005b27b850>
Jan 11 14:14:00 fury <3>ndiswrapper (wrapper_init:173): loadndiswrapper failed (11); check system log for messages from 'loadndisdriver'
Jan 11 14:14:00 fury Unable to handle kernel NULL pointer dereference at 0000000000000000 RIP:
Jan 11 14:14:00 fury <ffffffff8031a056>{wait_for_completion+95}
Jan 11 14:14:00 fury PGD 5d3b4067 PUD 5e11e067 PMD 0
Jan 11 14:14:00 fury Oops: 0002 [2] PREEMPT
Jan 11 14:14:00 fury CPU 0
Jan 11 14:14:00 fury Modules linked in: ndiswrapper cpufreq_performance snd_seq snd_seq_device eth1394 binfmt_misc sbp2 scsi_mod usbmouse fuse ide_cd cdrom nvidia joydev usbkbd snd_intel8x0m usbhid tsdev snd_intel8x0 snd_ac97_codec snd_ac97_bus psmouse evdev ohci1394 ieee1394 ohci_hcd ehci_hcd 8139too pcmcia firmware_class yenta_socket rsrc_nonstatic pcmcia_core i2c_nforce2
Jan 11 14:14:00 fury Pid: 7350, comm: modprobe Tainted: P      2.6.15-gentoo #1
Jan 11 14:14:00 fury RIP: 0010:[<ffffffff8031a056>] <ffffffff8031a056>{wait_for_completion+95}
Jan 11 14:14:00 fury RSP: 0018:ffff81005b2c7e48  EFLAGS: 00010002
Jan 11 14:14:00 fury RAX: ffffffff8860c7f0 RBX: ffffffff8860c7e8 RCX: 0000000000000000
Jan 11 14:14:00 fury RDX: ffff81005b2c7e60 RSI: ffff81005b2c6010 RDI: ffff81005b2c7e70
Jan 11 14:14:00 fury RBP: ffff81005b2c7e88 R08: ffff81005bb5c4b0 R09: ffffffff8029db8b
Jan 11 14:14:00 fury R10: ffffffff8024eae9 R11: ffffffff8024eae9 R12: ffffffff803906a0
Jan 11 14:14:00 fury R13: 00000000005070e0 R14: 0000000000000000 R15: 00002aaaaaac3010
Jan 11 14:14:00 fury FS:  00002aaaaaf01d50(0000) GS:ffffffff80468800(0000) knlGS:0000000000000000
Jan 11 14:14:00 fury CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
Jan 11 14:14:00 fury CR2: 0000000000000000 CR3: 000000005d719000 CR4: 00000000000006e0
Jan 11 14:14:00 fury Process modprobe (pid: 7350, threadinfo ffff81005b2c6000, task ffff81005b2a9490)
Jan 11 14:14:00 fury Stack: 0000000000000001 ffff81005b2a9490 ffffffff8012ae74 ffffffff8860c7f0
Jan 11 14:14:00 fury 0000000000000000 ffffffff8860c7c8 0000000000000000 ffffffff8860c730
Jan 11 14:14:00 fury 0000000000000000 ffffffff8024e0f7
Jan 11 14:14:00 fury Call Trace:<ffffffff8012ae74>{default_wake_function+0} <ffffffff8024e0f7>{bus_remove_driver+103}
Jan 11 14:14:00 fury <ffffffff8024e8c2>{driver_unregister+13} <ffffffff801eaab1>{pci_unregister_driver+16}
Jan 11 14:14:00 fury <ffffffff885e126e>{:ndiswrapper:loader_exit+82} <ffffffff885f20ea>{:ndiswrapper:module_cleanup+6}
Jan 11 14:14:00 fury <ffffffff880d716c>{:ndiswrapper:wrapper_init+364} <ffffffff80147fa6>{sys_init_module+231}
Jan 11 14:14:00 fury <ffffffff8010e69e>{system_call+126}
Jan 11 14:14:00 fury
Jan 11 14:14:00 fury Code: 48 89 11 48 89 4d e0 65 48 8b 04 25 00 00 00 00 48 c7 00 02
Jan 11 14:14:00 fury RIP <ffffffff8031a056>{wait_for_completion+95} RSP <ffff81005b2c7e48>
Jan 11 14:14:00 fury CR2: 0000000000000000
Jan 11 14:14:00 fury <6>note: modprobe[7350] exited with preempt_count 1
Comment 1 Micheal Marineau (RETIRED) gentoo-dev 2006-01-12 01:24:10 UTC
What version of ndiswrapper is this? and if it is 1.2, have you tried 1.7?
Comment 2 Morgan Collins 2006-01-12 09:59:22 UTC
Yes this is 1.7

ndiswrapper version 1.7 loaded (preempt=yes,smp=no)
Comment 3 Mike McQuaid 2006-01-14 19:07:58 UTC
This is a confirmed bug by the ndiswrapper team. Upgrade to >1.7 to fix (currently just a RC for 1.8 is available)
Comment 4 David Pyke 2006-01-16 17:21:48 UTC
version 1.8 is released.  We should try to get it into portage quickly so us AMD64 people can get to 2.6.15 kernels!
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2006-01-17 08:25:15 UTC
yep it's coming
Comment 6 Seemant Kulleen (RETIRED) gentoo-dev 2006-01-17 09:11:01 UTC
1.8 in portage.
Comment 7 Morgan Collins 2006-01-17 11:19:16 UTC
Indeed, ndiswrapper 1.8 fixes the problem for me.