sdhci: Timeout waiting for Buffer Read Ready interrupt during tuning procedure, falling back to fixed sampling clock

Bug #1417263 reported by Sander Jonkers
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

On my HP Stream 13 laptop with Ubuntu 14.04 LTS (fully updated) I sometimes (once an hour?) get the error below in dmesg. It has to do with the eMMC / eMMC reader. There is no other flash device (like a USB key) installed or in use.

Yesterday the file system turned read-only. I had to reboot to get it read-write again.

[ 2666.946287] sdhci: Timeout waiting for Buffer Read Ready interrupt during tuning procedure, falling back to fixed sampling clock
[ 2666.948450] ------------[ cut here ]------------
[ 2666.948477] WARNING: CPU: 0 PID: 3597 at /build/buildd/linux-3.13.0/drivers/mmc/host/sdhci.c:989 sdhci_send_command+0xc32/0xd60 [sdhci]()
[ 2666.948479] Modules linked in: snd_hda_codec_hdmi snd_hda_codec_realtek rfcomm bnep nls_iso8859_1 hid_generic hp_wmi sparse_keymap snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_page_alloc snd_seq_midi snd_seq_midi_event intel_rapl snd_rawmidi coretemp arc4 kvm crct10dif_pclmul crc32_pclmul usbhid snd_seq hid ghash_clmulni_intel rtl8723be btcoexist cryptd snd_seq_device rtl8723_common snd_timer rtl_pci rtlwifi btusb bluetooth mac80211 serio_raw snd rtsx_pci_ms memstick i915_bdw cfg80211 intel_ips drm_kms_helper soundcore drm i2c_algo_bit wmi hp_wireless video parport_pc ppdev joydev mac_hid lp parport mmc_block rtsx_pci_sdmmc psmouse rtsx_pci sdhci_acpi sdhci
[ 2666.948522] CPU: 0 PID: 3597 Comm: chromium-browse Not tainted 3.13.0-45-generic #74-Ubuntu
[ 2666.948524] Hardware name: Hewlett-Packard HP Stream Notebook PC 13/802A, BIOS F.05 11/28/2014
[ 2666.948527] 0000000000000009 ffff880076a03d28 ffffffff81720eb6 0000000000000000
[ 2666.948531] ffff880076a03d60 ffffffff810677cd 0000000000000002 ffff88003fb7ac00
[ 2666.948535] ffff880071b77ad0 ffff880071b77b10 ffff88003f9b74c0 ffff880076a03d70
[ 2666.948539] Call Trace:
[ 2666.948542] <IRQ> [<ffffffff81720eb6>] dump_stack+0x45/0x56
[ 2666.948554] [<ffffffff810677cd>] warn_slowpath_common+0x7d/0xa0
[ 2666.948557] [<ffffffff810678aa>] warn_slowpath_null+0x1a/0x20
[ 2666.948564] [<ffffffffa0003aa2>] sdhci_send_command+0xc32/0xd60 [sdhci]
[ 2666.948569] [<ffffffff813709aa>] ? delay_tsc+0x4a/0x80
[ 2666.948573] [<ffffffff813708dc>] ? __const_udelay+0x2c/0x30
[ 2666.948579] [<ffffffffa0001164>] ? sdhci_reset+0xa4/0x1b0 [sdhci]
[ 2666.948585] [<ffffffffa00043e5>] sdhci_finish_data+0x115/0x3c0 [sdhci]
[ 2666.948591] [<ffffffffa0004c00>] sdhci_irq+0x350/0x8e3 [sdhci]
[ 2666.948596] [<ffffffff810bfa5e>] handle_irq_event_percpu+0x3e/0x1d0
[ 2666.948600] [<ffffffff810bfc2d>] handle_irq_event+0x3d/0x60
[ 2666.948604] [<ffffffff810c2e4a>] handle_fasteoi_irq+0x5a/0x100
[ 2666.948608] [<ffffffff81015e5e>] handle_irq+0x1e/0x30
[ 2666.948613] [<ffffffff81733c9d>] do_IRQ+0x4d/0xc0
[ 2666.948618] [<ffffffff817293ad>] common_interrupt+0x6d/0x6d
[ 2666.948619] <EOI> [<ffffffff81728d4b>] ? _raw_spin_unlock_irqrestore+0x1b/0x40
[ 2666.948627] [<ffffffff810aaf80>] __wake_up_sync_key+0x50/0x60
[ 2666.948632] [<ffffffff811c66dd>] pipe_write+0x43d/0x520
[ 2666.948637] [<ffffffff811bd45a>] do_sync_write+0x5a/0x90
[ 2666.948641] [<ffffffff811bdbe4>] vfs_write+0xb4/0x1f0
[ 2666.948644] [<ffffffff811be619>] SyS_write+0x49/0xa0
[ 2666.948648] [<ffffffff81731b7f>] tracesys+0xe1/0xe6
[ 2666.948651] ---[ end trace 6d4cc2b5a74f9ad2 ]---
[ 2666.950730] mmcblk0: error -84 transferring data, sector 36853392, nr 8, cmd response 0x0, card status 0x0
[ 2666.950736] mmcblk0: retrying using single block read

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.13.0-45-generic 3.13.0-45.74
ProcVersionSignature: Ubuntu 3.13.0-45.74-generic 3.13.11-ckt13
Uname: Linux 3.13.0-45-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.6
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: sander 1876 F.... pulseaudio
CurrentDesktop: Unity
Date: Mon Feb 2 21:41:26 2015
HibernationDevice: RESUME=UUID=1cce7297-b185-4592-a4a0-dfdc069ad5a1
InstallationDate: Installed on 2015-02-01 (1 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 004: ID 0bda:b001 Realtek Semiconductor Corp.
 Bus 001 Device 003: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse
 Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Hewlett-Packard HP Stream Notebook PC 13
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-45-generic.efi.signed root=UUID=dba934e0-c15e-419b-a02a-96c8add96cf2 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-45-generic N/A
 linux-backports-modules-3.13.0-45-generic N/A
 linux-firmware 1.127.11
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/28/2014
dmi.bios.vendor: Insyde
dmi.bios.version: F.05
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: 802A
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 56.10
dmi.chassis.asset.tag: Chassis Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnInsyde:bvrF.05:bd11/28/2014:svnHewlett-Packard:pnHPStreamNotebookPC13:pvrType1-ProductConfigId:rvnHewlett-Packard:rn802A:rvr56.10:cvnHewlett-Packard:ct10:cvrChassisVersion:
dmi.product.name: HP Stream Notebook PC 13
dmi.product.version: Type1 - ProductConfigId
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
Sander Jonkers (jonkers) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Sander Jonkers (jonkers) wrote :

FWIW: the "Read-only file system" error occured again. See below.

Nothing special in dmesg nor /var/log/syslog

sander@superstream:~$ pwd
/home/sander

sander@superstream:~$ touch blabla
touch: cannot touch ‘blabla’: Read-only file system

sander@superstream:~$ mount
/dev/mmcblk0p5 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /sys/firmware/efi/efivars type efivarfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
/dev/mmcblk0p1 on /boot/efi type vfat (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=sander)
/dev/mmcblk0p4 on /media/sander/Images type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/mmcblk0p3 on /media/sander/Windows type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)

mount: warning: /etc/mtab is not writable (e.g. read-only filesystem).
       It's possible that information reported by mount(8) is not
       up to date. For actual information about system mount points
       check the /proc/mounts file.

sander@superstream:~$

Revision history for this message
Sander Jonkers (jonkers) wrote :

I logged off, restarted, and the Ubuntu boot GUI says "/" needs to be fixed (I pressed "F") and /tmp is not (yet) ready. I did get a Ubuntu brown screen, but no login. I'm typing this in some 'other' OS.

I'll see if I can boot into Ubuntu with another boot.

Revision history for this message
Sander Jonkers (jonkers) wrote :
Download full text (4.6 KiB)

Second reboot worked. I did some extensive disk writing (around 1GB), got the read-only problem, and dmesg says:

[ 962.226687] sdhci: Timeout waiting for Buffer Read Ready interrupt during tuning procedure, falling back to fixed sampling clock
[ 972.262988] mmc0: Timeout waiting for hardware interrupt.
[ 972.264987] ------------[ cut here ]------------
[ 972.265008] WARNING: CPU: 1 PID: 0 at /build/buildd/linux-3.13.0/drivers/mmc/host/sdhci.c:989 sdhci_send_command+0xc32/0xd60 [sdhci]()
[ 972.265010] Modules linked in: uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core videodev rfcomm bnep nls_iso8859_1 hid_generic hp_wmi sparse_keymap arc4 intel_rapl coretemp rtl8723be kvm crct10dif_pclmul crc32_pclmul btcoexist rtl8723_common ghash_clmulni_intel cryptd i915_bdw usbhid rtl_pci hid snd_hda_codec_hdmi rtlwifi snd_hda_codec_realtek btusb mac80211 bluetooth serio_raw rtsx_pci_ms memstick cfg80211 wmi snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_page_alloc snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer snd intel_ips drm_kms_helper video hp_wireless drm i2c_algo_bit parport_pc soundcore joydev mac_hid ppdev lp parport usb_storage mmc_block rtsx_pci_sdmmc psmouse rtsx_pci sdhci_acpi sdhci
[ 972.265057] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G W 3.13.0-45-generic #74-Ubuntu
[ 972.265060] Hardware name: Hewlett-Packard HP Stream Notebook PC 13/802A, BIOS F.05 11/28/2014
[ 972.265062] 0000000000000009 ffff880076683d28 ffffffff81720eb6 0000000000000000
[ 972.265066] ffff880076683d60 ffffffff810677cd 0000000000000001 ffff880079947650
[ 972.265070] ffff88003f5e1930 ffff88003f5e1970 ffff8800799474c0 ffff880076683d70
[ 972.265074] Call Trace:
[ 972.265077] <IRQ> [<ffffffff81720eb6>] dump_stack+0x45/0x56
[ 972.265089] [<ffffffff810677cd>] warn_slowpath_common+0x7d/0xa0
[ 972.265093] [<ffffffff810678aa>] warn_slowpath_null+0x1a/0x20
[ 972.265099] [<ffffffffa0003aa2>] sdhci_send_command+0xc32/0xd60 [sdhci]
[ 972.265105] [<ffffffff813709aa>] ? delay_tsc+0x4a/0x80
[ 972.265108] [<ffffffff813708dc>] ? __const_udelay+0x2c/0x30
[ 972.265115] [<ffffffffa0001164>] ? sdhci_reset+0xa4/0x1b0 [sdhci]
[ 972.265121] [<ffffffffa00043e5>] sdhci_finish_data+0x115/0x3c0 [sdhci]
[ 972.265128] [<ffffffffa0004690>] ? sdhci_finish_data+0x3c0/0x3c0 [sdhci]
[ 972.265134] [<ffffffffa000470d>] sdhci_timeout_timer+0x7d/0xc0 [sdhci]
[ 972.265138] [<ffffffff81074386>] call_timer_fn+0x36/0x100
[ 972.265145] [<ffffffffa0004690>] ? sdhci_finish_data+0x3c0/0x3c0 [sdhci]
[ 972.265148] [<ffffffff8107531f>] run_timer_softirq+0x1ef/0x2f0
[ 972.265153] [<ffffffff8106cc1c>] __do_softirq+0xec/0x2c0
[ 972.265157] [<ffffffff8106d165>] irq_exit+0x105/0x110
[ 972.265162] [<ffffffff81733d55>] smp_apic_timer_interrupt+0x45/0x60
[ 972.265166] [<ffffffff817326dd>] apic_timer_interrupt+0x6d/0x80
[ 972.265168] <EOI> [<ffffffff815d3712>] ? cpuidle_enter_state+0x52/0xc0
[ 972.265175] [<ffffffff815d3839>] cpuidle_idle_call+0xb9/0x1f0
[ 972.265180] [<ffffffff8101d35e>] arch_cpu_idle+0xe/0x30
[ 972.265185] [<ffffffff810bef35>] cpu_startup_entry+0xc5/0x290
[ 972.265190] [<ffffffff810413fd>] start_se...

Read more...

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.19 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.19-rc7-vivid/

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
Sander Jonkers (jonkers) wrote :

In the meantime, I decided 14.04 was unusable.for me.
So I've done a fresh install of Vivid (15.04-to-be) daily version. That has linux kernel 3.18, right? In one hour of usage, I've not seen the error message in dmesg.

TBC

Revision history for this message
Yoshiya KANENISHI (ka-kaosf) wrote :

I was troubled by the same problem.
My laptop machine is HP Stream 11 d012tu. It's also using eMMC. (I think it is almost same to HP Stream 13.)
I updated kernel version from 3.13.0-48-generic to 3.19.3-031903-generic following the advice of jsalisbury, but didn't update Ubuntu version (kept using 14.04), and then this error disappeared.
This thread was very helpful for me, thanks.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.