mmc/sd card issues (error -110)

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

mmc/sd card issues (error -110)

Postby gregd72002 » Wed May 09, 2012 3:05 pm

Hi guys,

I got my RPi yesterday and got onto archlinux straight away. Great stuff!!

Though, when working on it I get plenty of error messages (dmesg):

$this->bbcode_second_pass_code('', 'kernel: mmc0: final write to SD card still running
kernel: mmc0: Timeout waiting for hardware interrupt.
kernel: mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0x900')

From my understanding this is to do with MMC handling in the kernel. And the solution seems to be already devised:
http://lists.linaro.org/pipermail/linar ... 02124.html

Anyone else having same issues? Is there a ready baked kernel for RPi with this patch incorporated?

Thanks in advance,
Gregory
gregd72002
 
Posts: 15
Joined: Wed May 09, 2012 2:57 pm

Re: mmc/sd card issues (error -110)

Postby pepedog » Wed May 09, 2012 3:11 pm

Which image? this is all fixed
http://downloads.raspberrypi.org/images ... 4-2012.zip
Unless your card is faulty?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: mmc/sd card issues (error -110)

Postby gregd72002 » Wed May 09, 2012 3:17 pm

pepedog, this is exactly the image I'm using (archlinuxarm-29-04-2012.zip).
I downloaded it yesterday installed and executed 'pacman -Syu'

The errors are all there...
gregd72002
 
Posts: 15
Joined: Wed May 09, 2012 2:57 pm

Re: mmc/sd card issues (error -110)

Postby gregd72002 » Wed May 09, 2012 3:31 pm

This is the SD card I have (8GB version):
http://www.kingston.com/en/flash/sd_cards#sd10v
(authentic and genuine based on: http://legacy.kingston.com/asia/verifyflash/)
gregd72002
 
Posts: 15
Joined: Wed May 09, 2012 2:57 pm

Re: mmc/sd card issues (error -110)

Postby pepedog » Wed May 09, 2012 4:39 pm

On the raspberry pi forums they say there is an issue with over class 4 cards.
I have run a 64 Gb class 10 ultra with no problems. Running from class 4 I have had no problems, nothing else you can try?

Edit, see where you posted on their forum, will ask Kevin to do new kernel
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: mmc/sd card issues (error -110)

Postby gregd72002 » Wed May 09, 2012 5:21 pm

Right, I have just tried it and downloaded kernel.img from the https://github.com/raspberrypi/firmware ... aster/boot
rebooted my RPi and the problem still persists:

$this->bbcode_second_pass_code('', '
[root@alarmpi ~]# dmesg
Linux version 3.1.9+ (dc4@dc4-arm-01) (gcc version 4.5.1 (Broadcom-2708) ) #52 Tue May 8 23:49:32 BST 2012
CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: BCM2708
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 32768
free_area_init_node: node 0, pgdat c03bb910, node_mem_map c0408000
Normal zone: 256 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 32512 pages, LIFO batch:7
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Kernel command line: dma.dmachans=0x3c bcm2708_fb.fbwidth=720 bcm2708_fb.fbheight=480 bcm2708.boardrev=0x2 bcm2708.serial=0xba4051b5 smsc95xx.macaddr=B8:27:EB:40:51:B5 dwc_otg.dma_enable=1 dwc_otg.dma_burst_size=256 dwc_otg.lpm_enable=0 dwc_otg.dma_enable=1 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 loglevel=2 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 125772k/125772k available, 5300k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
vmalloc : 0xc8800000 - 0xd8000000 ( 248 MB)
lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc0381000 (3556 kB)
.init : 0xc0381000 - 0xc039e000 ( 116 kB)
.data : 0xc039e000 - 0xc03bbfa0 ( 120 kB)
.bss : 0xc03bbfc4 - 0xc0407478 ( 302 kB)
NR_IRQS:85
timer_set_mode: unhandled mode:1
timer_set_mode: unhandled mode:3
Console: colour dummy device 80x30
console [tty1] enabled
Calibrating delay loop... 697.95 BogoMIPS (lpj=3489792)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
devtmpfs: initialized
NET: Registered protocol family 16
vc-mem: mm_vc_mem_phys_addr = 0x00000000
vc-mem: mm_vc_mem_size = 0x10000000 (256 MiB)
mailbox: Broadcom VideoCore Mailbox driver
bcm2708_vcio: mailbox at f200b880
bcm_power: Broadcom power driver
bcm_power_open() -> 0
bcm_power_request(0, 8)
bcm_mailbox_read -> 00000080, 0
bcm_power_request -> 0
Serial: AMBA PL011 UART driver
dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83) is a PL011 rev3
console [ttyAMA0] enabled
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource stc
FS-Cache: Loaded
CacheFiles: Loaded
Switched to NOHz mode on CPU #0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
bcm2708_dma: DMA manager at c8808000
bcm2708_gpio: bcm2708_gpio_probe c03a3d88
vc-mem: Videocore memory driver
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
FS-Cache: Netfs 'nfs' registered for caching
msgmni has been set to 245
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
BCM2708FB: registering framebuffer (720x480@16)
bcm2708_fb_set_par info(c7889000) 720x480 (720x480), 0, 16
BCM2708FB: start = c8900000,49385000 width=720, height=480, bpp=16, pitch=1440 size=692224 success=0
Console: switching to colour frame buffer device 90x30
BCM2708FB: register framebuffer (0)
brd: module loaded
loop: module loaded
vcos: [1]: vchiq_init_state: slot_zero = 0xffd80000, is_master = 0
vcos: [1]: vchiq_init_state: called
vcos: [1]: vchiq: initialised - version 2 (min 2), device 253.0
usbcore: registered new interface driver smsc95xx
cdc_ncm: 04-Aug-2011
usbcore: registered new interface driver cdc_ncm
dwc_otg: version 2.90b 6-MAY-2010 (platform bus)
Core Release: 2.80a
Setting default values for core params
Finished setting default values for core params
c8840008 -> 1
Using Buffer DMA mode
Periodic Transfer Interrupt Enhancement - disabled
Multiprocessor Interrupt Enhancement - disabled
Dedicated Tx FIFOs mode
dwc_otg bcm2708_usb: DWC OTG Controller
dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
dwc_otg bcm2708_usb: irq 75, io mem 0x00000000
Init: Port Power? op_state=1
Init: Power Port (0)
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: DWC OTG Controller
usb usb1: Manufacturer: Linux 3.1.9+ dwc_otg_hcd
usb usb1: SerialNumber: bcm2708_usb
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Module dwc_common_port init
usbcore: registered new interface driver uas
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver libusual
mousedev: PS/2 mouse device common for all mice
cpuidle: using governor ladder
cpuidle: using governor menu
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
bcm_power_open() -> 1
Registered led device: mmc0::
mmc0: SDHCI controller on BCM2708_Arasan [platform] using platform's DMA
mmc0: BCM2708 SDHC host at 0x20300000 DMA 2 IRQ 77
sdhci-pltfm: SDHCI platform and OF driver helper
Registered led device: led0
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 17
Registering the dns_resolver key type
VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
Waiting for root device /dev/mmcblk0p2...
mmc0: problem reading SD Status register.
mmc0: error -84 whilst initialising SD card
mmc0: new SDHC card at address 0007
mmcblk0: mmc0:0007 SD8GB 7.42 GiB
mmcblk0: p1 p2 p3
usb 1-1: new high speed USB device number 2 using dwc_otg
usb 1-1: New USB device found, idVendor=0424, idProduct=9512
usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 3 ports detected
usb 1-1.1: new high speed USB device number 3 using dwc_otg
usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
smsc95xx v1.0.4
smsc95xx 1-1.1:1.0: eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:40:51:b5
mmc0: final write to SD card still running
mmc0: Timeout waiting for hardware interrupt.
mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0x900
EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 179:2.
Freeing init memory: 116K
mmc0: final write to SD card still running
mmc0: Timeout waiting for hardware interrupt.
mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0x900
EXT4-fs (mmcblk0p2): re-mounted. Opts: user_xattr,barrier=1,data=ordered
udevd[145]: starting version 182
mmc0: final write to SD card still running
mmc0: Timeout waiting for hardware interrupt.
mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0x900
EXT4-fs (mmcblk0p2): re-mounted. Opts: user_xattr,barrier=1,data=ordered
mmc0: final write to SD card still running
mmc0: Timeout waiting for hardware interrupt.
mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0x900
EXT4-fs (mmcblk0p3): mounted filesystem without journal. Opts: data=writeback
smsc95xx 1-1.1:1.0: eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
mmc0: final write to SD card still running
mmc0: Timeout waiting for hardware interrupt.
mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0x900
mmc0: final write to SD card still running
mmc0: Timeout waiting for hardware interrupt.
mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0x900
mmc0: final write to SD card still running
mmc0: Timeout waiting for hardware interrupt.
mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0x900
mmc0: final write to SD card still running
mmc0: Timeout waiting for hardware interrupt.
mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0x900
mmc0: final write to SD card still running
mmc0: Timeout waiting for hardware interrupt.
mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0x900
mmc0: final write to SD card still running
mmc0: Timeout waiting for hardware interrupt.
mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0x900
mmc0: final write to SD card still running
mmc0: Timeout waiting for hardware interrupt.
mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0x900
')

Any suggestions?
gregd72002
 
Posts: 15
Joined: Wed May 09, 2012 2:57 pm

Re: mmc/sd card issues (error -110)

Postby pepedog » Wed May 09, 2012 7:13 pm

Do you access to a linux system?
Really you need all the files in /boot and /lib/modules
If you got linux, install git
$this->bbcode_second_pass_code('', 'git clone git://github.com/raspberrypi/firmware.git')
Now you can copy the files
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: mmc/sd card issues (error -110)

Postby gregd72002 » Wed May 09, 2012 10:18 pm

tried this as well and no luck - the error persists

I realised that I do have another SD card at home - 8GB Sandisk Ultra (class 6). Tried it and everything works perfectly fine, with writes of around 4+MB/s...

Though, when plugged to a PC the Kingston card is faster than the Sandisk. Therefore, I'd be happy to test something more on my Kingston card if there are any suggestions?
gregd72002
 
Posts: 15
Joined: Wed May 09, 2012 2:57 pm

Re: mmc/sd card issues (error -110)

Postby kane77 » Sat Jun 02, 2012 6:50 pm

I seem to have the same issue.. I have 2 Kingston cards, both are class 10 8GB and 16GB and I tried both and with both I get this in dmesg :/
this wouldn't be a problem, but for me I get 10-20 second hangup every once in a while which is very annoying..
kane77
 
Posts: 1
Joined: Sat Jun 02, 2012 6:33 pm

Re: mmc/sd card issues (error -110)

Postby xenoxaos » Sun Jun 03, 2012 3:06 pm

FWIW, class 6 would be better than class 10. Sure class 10 has higher throughput, but it's random access is typically slower.
Arch Linux ARM exists and continues to grow through community support, please donate today!
xenoxaos
Developer
 
Posts: 323
Joined: Thu Jan 06, 2011 1:45 am

Next

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 13 guests