wbsd SD-card reader driver (CONFIG_MMC_WBSD) has some severe problems with DMA memory allocation on amd64 platform. It causes kernel (linux-image-2.6.17-10-generic_2.6.17-10.33_amd64.deb) to oops and in many cases hangs the machine. This is due to the fact that the original author wrote the driver for ia32 and still didn't port it to amd64. Here is the link http://lkml.org/lkml/2005/9/25/95 where he aknowledges it. Also, see a relevant part of my dmesg in the attachment.
While it is desirable that the default kernel includes as many hardware drivers as possible, it is also important that the default kernel boots at all on any machine ;).
The solution is: exclude wbsd.ko (CONFIG_MMC_WBSD) from any linux-image*_amd64 kernel.
Binary package hint: linux-image- 2.6.17- 10-generic
system: Turion 64 MT-40 2.6.17- 10-generic_ 2.6.17- 10.33_amd64. deb
OS: Ubuntu 6.10 server x86_64
kernel: linux-image-
wbsd SD-card reader driver (CONFIG_MMC_WBSD) has some severe problems with DMA memory allocation on amd64 platform. It causes kernel (linux- image-2. 6.17-10- generic_ 2.6.17- 10.33_amd64. deb) to oops and in many cases hangs the machine. This is due to the fact that the original author wrote the driver for ia32 and still didn't port it to amd64. Here is the link http:// lkml.org/ lkml/2005/ 9/25/95 where he aknowledges it. Also, see a relevant part of my dmesg in the attachment.
While it is desirable that the default kernel includes as many hardware drivers as possible, it is also important that the default kernel boots at all on any machine ;).
The solution is: exclude wbsd.ko (CONFIG_MMC_WBSD) from any linux-image*_amd64 kernel.
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------ ------- ------- ------- ------- ------- ------- ------- ------- ------- ------ b0>{check_ addr+16} ffffffff802772b 0>] <ffffffff802772 b0>{check_ addr+16} 263db8 EFLAGS: 00010286 0(0000) GS:ffffffff805f 3000(0000) knlGS:000000000 0000000 50>{nommu_ map_single+ 64} 38>{:wbsd: wbsd_init+ 872} <ffffffff8036be 56>{compare_ pnp_id+ 38} 01>{pnp_ device_ probe+145} <ffffffff803936 85>{driver_ probe_device+ 101} 02>{__driver_ attach+ 114} <ffffffff803937 90>{__driver_ attach+ 0} 19>{bus_ for_each_ dev+73} <ffffffff80392a bd>{bus_ add_driver+ 141} 33>{:wbsd: wbsd_drv_ init+51} <ffffffff802a8e b7>{sys_ init_module+ 199} 0e>{system_ call+126} b0>{check_ addr+16} RSP <ffff81001c263db8> rhine.c: v1.10-LK1. 2.0-2.6 June-10-2004 Written by Donald Becker
-------
[ 56.462163] irda_init()
[ 56.462189] NET: Registered protocol family 23
[ 56.530584] Yenta: ISA IRQ mask 0x0890, PCI irq 169
[ 56.557931] Socket status: 30000006
[ 56.585466] wbsd: Winbond W83L51xD SD/MMC card interface driver, 1.5
[ 56.613315] wbsd: Copyright(c) Pierre Ossman
[ 56.640843] Unable to handle kernel NULL pointer dereference at 0000000000000000 RIP:
[ 56.641610] <ffffffff802772
[ 56.696794] PGD 1d8f7067 PUD 1d387067 PMD 0
[ 56.724623] Oops: 0000 [1] SMP
[ 56.752143] CPU 0
[ 56.779072] Modules linked in: wbsd mmc_core irda yenta_socket rsrc_nonstatic pcmcia_core snd pcspkr psmouse serio_raw evd
ev mii crc_ccitt soundcore shpchp pci_hotplug reiserfs uhci_hcd usbcore ide_generic ide_cd cdrom ide_disk generic via82cxxx t
hermal processor fan capability commoncap vesafb cfbcopyarea cfbimgblt cfbfillrect fbcon tileblit font bitblit softcursor
[ 56.869395] Pid: 2716, comm: modprobe Not tainted 2.6.17-10-generic #2
[ 56.899924] RIP: 0010:[<
[ 56.900904] RSP: 0000:ffff81001c
[ 56.961466] RAX: 0000000000000000 RBX: 0000000000620000 RCX: 0000000000010000
[ 56.992566] RDX: 0000000000620000 RSI: ffff81001c8d3000 RDI: ffffffff80433353
[ 57.023492] RBP: ffff81001d4bc200 R08: ffff81000000b0e8 R09: 0000000000000010
[ 57.054414] R10: 0000000000000004 R11: 0000000000000010 R12: ffff81001d4bc000
[ 57.085644] R13: 0000000000000001 R14: 000000000000004e R15: ffff81001c8d3000
[ 57.116568] FS: 00002ae139ef36d
[ 57.148020] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 57.179485] CR2: 0000000000000000 CR3: 000000001c24c000 CR4: 00000000000006e0
[ 57.211374] Process modprobe (pid: 2716, threadinfo ffff81001c262000, task ffff81001dbcb590)
[ 57.243554] Stack: 0000000000000000 ffffffff80277450 0000000000000000 ffffffff881a3f38
[ 57.244736] 0000000000000000 000000011d4bfd80 0000000500000002 ffffffff8036be56
[ 57.277234] 00000001000000d0 0000000000000000
[ 57.308658] Call Trace: <ffffffff802774
[ 57.339478] <ffffffff881a3f
[ 57.370708] <ffffffff8036c0
[ 57.402592] <ffffffff803938
[ 57.434546] <ffffffff80392f
[ 57.466845] <ffffffff881ab0
[ 57.499769] <ffffffff802658
[ 57.564922]
[ 57.564923] Code: 4c 8b 00 48 8d 04 0a 4c 39 c0 76 24 b8 fe ff ff ff 31 f6 49
[ 57.631929] RIP <ffffffff802772
[ 57.666199] CR2: 0000000000000000
[ 57.700012] <6>via-
[ 57.857274] Synaptics Touchpad, model: 1, fw: 5.1, id: 0x8f40b1, caps: 0x80471b/0x0
[ 57.932458] input: SynPS/2 Synaptics TouchPad as /class/input/input2