Bug 35002 - SDHC memory card causes divide error: 0000 [#1] PREEMPT SMP
Summary: SDHC memory card causes divide error: 0000 [#1] PREEMPT SMP
Status: RESOLVED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: MMC/SD (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_mmc-sd
URL: https://bugs.archlinux.org/task/23778
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-12 15:19 UTC by Sander Jansen
Modified: 2012-07-02 13:21 UTC (History)
4 users (show)

See Also:
Kernel Version: 2.6.38.6
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
Full kernel log from boot (174.29 KB, text/plain)
2011-05-12 15:19 UTC, Sander Jansen
Details
Trace Only (11.20 KB, text/plain)
2011-05-12 15:20 UTC, Sander Jansen
Details

Description Sander Jansen 2011-05-12 15:19:38 UTC
Created attachment 57592 [details]
Full kernel log from boot

When inserting a sdhc memory card or when coming out of suspend kernel crashesh with divide error: 0000 [#1] PREEMPT SMP.

Please see full log and trace for details
Comment 1 Sander Jansen 2011-05-12 15:20:21 UTC
Created attachment 57602 [details]
Trace Only
Comment 2 Felix Kaiser 2011-05-21 11:47:50 UTC
Same problem.

FTR, Arch Linux bug report: https://bugs.archlinux.org/task/23778
Comment 3 Alex Vorobyev 2011-05-26 13:12:46 UTC
Same problem.

Description:
Kernel crash after installing SD memory card 32Gb in buildin card reader.

Additional info:
$ uname -a
Linux asus 2.6.38-ARCH #1 SMP PREEMPT Fri May 13 09:24:47 CEST 2011 x86_64 Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz GenuineIntel GNU/Linux

Hardware - laptop Asus M50Vm.

kernel - 2.6.38.6-2 (base) 

kernel log:

May 26 22:06:09 asus kernel: [ 271.510417] mmc0: new high speed SDHC card at address b368
May 26 22:06:09 asus kernel: [ 271.521634] mmcblk0: mmc0:b368 SD 30.9 GiB (ro)
May 26 22:06:09 asus kernel: [ 271.522209] divide error: 0000 [#1] PREEMPT SMP 
May 26 22:06:09 asus kernel: [ 271.522213] last sysfs file: /sys/devices/virtual/bdi/179:0/uevent
May 26 22:06:09 asus kernel: [ 271.522215] CPU 1 
May 26 22:06:09 asus kernel: [ 271.522217] Modules linked in: mmc_block(+) ipv6 md4 md5 hmac nls_utf8 cifs fscache cryptd aes_x86_64 aes_generic ipt_REJECT
nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack xt_tcpudp iptable_filter ip_tables x_tables ext2 usbhid hid btusb bluetooth nvidia(P) joydev uvcvide
o videodev v4l2_compat_ioctl32 arc4 ecb snd_hda_codec_hdmi snd_hda_codec_realtek iwlagn snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_hda_intel snd_seq s
nd_seq_device snd_hda_codec snd_pcm_oss snd_hwdep snd_mixer_oss iwlcore snd_pcm snd_timer mac80211 firewire_ohci snd sdhci_pci firewire_core intel_agp sdhci
asus_laptop iTCO_wdt soundcore uhci_hcd sg mmc_core cfg80211 video crc_itu_t evdev ehci_hcd thermal serio_raw sparse_keymap iTCO_vendor_support i2c_core in
tel_gtt snd_page_alloc r8169 ac battery pcspkr rfkill button psmouse mii usbcore vboxdrv fuse cpufreq_powersave cpufreq_ondemand acpi_cpufreq freq_table pro
cessor mperf ext4 mbcache jbd2 crc16 sd_mod sr_mod cdrom ahci libahci libata scsi_mod
May 26 22:06:09 asus kernel: [ 271.522279] 
May 26 22:06:09 asus kernel: [ 271.522281] Pid: 2708, comm: mmcqd/0 Tainted: P 2.6.38-ARCH #1 ASUSTeK Computer Inc. M50Vm 
/M50Vm 
May 26 22:06:09 asus kernel: [ 271.522286] RIP: 0010:[<ffffffffa0330f95>] [<ffffffffa0330f95>] sdhci_send_command+0x575/0xbf0 [sdhci]
May 26 22:06:09 asus kernel: [ 271.522293] RSP: 0018:ffff88012f4a5b60 EFLAGS: 00010046
May 26 22:06:09 asus kernel: [ 271.522295] RAX: 0000000000000000 RBX: ffff880132091c80 RCX: 0000000000000000
May 26 22:06:09 asus kernel: [ 271.522297] RDX: 0000000000000000 RSI: 0000000000000083 RDI: ffff880132091800
May 26 22:06:09 asus kernel: [ 271.522299] RBP: ffff88012f4a5be0 R08: 0000000000000000 R09: 0000000010624dd3
May 26 22:06:09 asus kernel: [ 271.522301] R10: 0000000000000001 R11: 0000000000000001 R12: ffff88012f4a5ce0
May 26 22:06:09 asus kernel: [ 271.522303] R13: ffff88012f4a5d50 R14: 0000000000000003 R15: ffff880127541d80
May 26 22:06:09 asus kernel: [ 271.522305] FS: 0000000000000000(0000) GS:ffff8800bfd00000(0000) knlGS:0000000000000000
May 26 22:06:09 asus kernel: [ 271.522307] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
May 26 22:06:09 asus kernel: [ 271.522309] CR2: 0000000000403000 CR3: 000000012749e000 CR4: 00000000000006e0
May 26 22:06:09 asus kernel: [ 271.522311] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
May 26 22:06:09 asus kernel: [ 271.522313] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
May 26 22:06:09 asus kernel: [ 271.522315] Process mmcqd/0 (pid: 2708, threadinfo ffff88012f4a4000, task ffff8801363f14d0)
May 26 22:06:09 asus kernel: [ 271.522317] Stack:
May 26 22:06:09 asus kernel: [ 271.522318] ffff88012f4a5bf0 ffffffffa0356e3c 0000000000000000 0000000000000001
May 26 22:06:09 asus kernel: [ 271.522322] ffff8801363f14d0 0000000000000000 0000000000000000 ffff8801363f14d0
May 26 22:06:09 asus kernel: [ 271.522325] ffffffff81051f20 0000000000000286 ffff88012f4a5bd0 ffff880132091800
May 26 22:06:09 asus kernel: [ 271.522334] Call Trace:
May 26 22:06:09 asus kernel: [ 271.522340] [<ffffffffa0356e3c>] ? __mmc_claim_host+0x12c/0x180 [mmc_core]
May 26 22:06:09 asus kernel: [ 271.522345] [<ffffffff81051f20>] ? default_wake_function+0x0/0x10
May 26 22:06:09 asus kernel: [ 271.522349] [<ffffffffa03316f9>] sdhci_request+0xe9/0x110 [sdhci]
Comment 4 Sander Jansen 2011-05-26 15:20:56 UTC
2.6.39 fixes it for me.

Note You need to log in before you can comment on or make changes to this bug.