• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: Buffer I/O error on device mtdblock0, logical block 0  (Read 3830 times)
hr.punio
Newbie
*

Karma: 0
Posts: 26


View Profile
« on: July 14, 2012, 12:20:29 PM »

Hello,
Out of sudden my /var/log/kernel.log is full of messages similar to the one appended below.
The systems works (uptime 240 days) but from time to time there are problems with it  (from 2 days), ie.
cannot connect via ssh / digitemp has problems reading sensors.

The system runs on SDHC, /dev/dev/mmcblk
(installed from http://www.cyrius.com/debian/kirkwood/sheevaplug/unpack.html)
so I wonder why there are `Buffer I/O error on device mtdblock0, logical block 0' below

uname -a returns 2.6.30-2-kirkwood

Any help/suggestion is appreciated

--tomek

Jul 14 20:15:41 neptune kernel: [   27.730000] eth0: no IPv6 routers present
Jul 14 21:02:44 neptune kernel: imklog 3.18.6, log source = /proc/kmsg started.
Jul 14 21:02:44 neptune kernel: [    0.000000] Initializing cgroup subsys cpuset
Jul 14 21:02:44 neptune kernel: [    0.000000] Initializing cgroup subsys cpu
Jul 14 21:02:44 neptune kernel: [    0.000000] Linux version 2.6.30-2-kirkwood (Debian 2.6.30-8+orion1) (tbm@cyrius.com) (gcc version 4.1.3 20080420 (prerelease) (Debian 4.1.2-22)) #1 Sat Nov 7 00:22:58 UTC 2009
Jul 14 21:02:44 neptune kernel: [    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
Jul 14 21:02:44 neptune kernel: [    0.000000] CPU: VIVT data cache, VIVT instruction cache
Jul 14 21:02:44 neptune kernel: [    0.000000] Machine: Marvell SheevaPlug Reference Board
Jul 14 21:02:44 neptune kernel: [    0.000000] Memory policy: ECC disabled, Data cache writeback
Jul 14 21:02:44 neptune kernel: [    0.000000] On node 0 totalpages: 131072
Jul 14 21:02:44 neptune kernel: [    0.000000] free_area_init_node: node 0, pgdat c038cbd4, node_mem_map c03f6000
Jul 14 21:02:44 neptune kernel: [    0.000000]   Normal zone: 1024 pages used for memmap
Jul 14 21:02:44 neptune kernel: [    0.000000]   Normal zone: 0 pages reserved
Jul 14 21:02:44 neptune kernel: [    0.000000]   Normal zone: 130048 pages, LIFO batch:31
Jul 14 21:02:44 neptune kernel: [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
Jul 14 21:02:44 neptune kernel: [    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2
Jul 14 21:02:44 neptune kernel: [    0.000000] NR_IRQS:114
Jul 14 21:02:44 neptune kernel: [    0.000000] PID hash table entries: 2048 (order: 11, 8192 bytes)
Jul 14 21:02:44 neptune kernel: [    0.000000] Console: colour dummy device 80x30
Jul 14 21:02:44 neptune kernel: [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Jul 14 21:02:44 neptune kernel: [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Jul 14 21:02:44 neptune kernel: [    0.010000] Memory: 256MB 256MB = 512MB total
Jul 14 21:02:44 neptune kernel: [    0.010000] Memory: 511104KB available (3240K code, 548K data, 116K init, 0K highmem)
Jul 14 21:02:44 neptune kernel: [    0.010000] Calibrating delay loop... 1192.75 BogoMIPS (lpj=5963776)
Jul 14 21:02:44 neptune kernel: [    0.250000] Security Framework initialized
Jul 14 21:02:44 neptune kernel: [    0.250000] SELinux:  Disabled at boot.
Jul 14 21:02:44 neptune kernel: [    0.250000] Mount-cache hash table entries: 512
Jul 14 21:02:44 neptune kernel: [    0.250000] Initializing cgroup subsys ns
Jul 14 21:02:44 neptune kernel: [    0.250000] Initializing cgroup subsys cpuacct
Jul 14 21:02:44 neptune kernel: [    0.250000] Initializing cgroup subsys devices
Jul 14 21:02:44 neptune kernel: [    0.250000] Initializing cgroup subsys freezer
Jul 14 21:02:44 neptune kernel: [    0.250000] Initializing cgroup subsys net_cls
Jul 14 21:02:44 neptune kernel: [    0.250000] CPU: Testing write buffer coherency: ok
Jul 14 21:02:44 neptune kernel: [    0.250000] net_namespace: 1076 bytes
Jul 14 21:02:44 neptune kernel: [    0.250000] regulator: core version 0.5
Jul 14 21:02:44 neptune kernel: [    0.250000] NET: Registered protocol family 16
Jul 14 21:02:44 neptune kernel: [    0.250000] Kirkwood: MV88F6281-A0, TCLK=200000000.
Jul 14 21:02:44 neptune kernel: [    0.250000] Feroceon L2: Enabling L2
Jul 14 21:02:44 neptune kernel: [    0.250000] Feroceon L2: Cache support initialised.
Jul 14 21:02:44 neptune kernel: [    0.250000] initial MPP regs: 01111111 11113322 00001111 00100000 00000000 00000000 00000000
Jul 14 21:02:44 neptune kernel: [    0.250000]   final MPP regs: 01111111 11113322 00001111 00000000 00000000 00000000 00000000
Jul 14 21:02:44 neptune kernel: [    0.260000] bio: create slab <bio-0> at 0
Jul 14 21:02:44 neptune kernel: [    0.260000] NET: Registered protocol family 2
Jul 14 21:02:44 neptune kernel: [    0.260000] IP route cache hash table entries: 16384 (order: 4, 65536 bytes)
Jul 14 21:02:44 neptune kernel: [    0.260000] TCP established hash table entries: 65536 (order: 7, 524288 bytes)
Jul 14 21:02:44 neptune kernel: [    0.260000] TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
Jul 14 21:02:44 neptune kernel: [    0.260000] TCP: Hash tables configured (established 65536 bind 65536)
Jul 14 21:02:44 neptune kernel: [    0.260000] TCP reno registered
Jul 14 21:02:44 neptune kernel: [    0.260000] NET: Registered protocol family 1
Jul 14 21:02:44 neptune kernel: [    0.260000] Trying to unpack rootfs image as initramfs...
Jul 14 21:02:44 neptune kernel: [    0.270000] Switched to high resolution mode on CPU 0
Jul 14 21:02:44 neptune kernel: [    0.540000] Freeing initrd memory: 4372K
Jul 14 21:02:44 neptune kernel: [    0.540000] NetWinder Floating Point Emulator V0.97 (double precision)
Jul 14 21:02:44 neptune kernel: [    0.540000] audit: initializing netlink socket (disabled)
Jul 14 21:02:44 neptune kernel: [    0.540000] type=2000 audit(0.540:1): initialized
Jul 14 21:02:44 neptune kernel: [    0.540000] VFS: Disk quotas dquot_6.5.2
Jul 14 21:02:44 neptune kernel: [    0.540000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Jul 14 21:02:44 neptune kernel: [    0.540000] JFFS2 version 2.2. (NAND) (SUMMARY)  2001-2006 Red Hat, Inc.
Jul 14 21:02:44 neptune kernel: [    0.540000] msgmni has been set to 1007
Jul 14 21:02:44 neptune kernel: [    0.540000] alg: No test for stdrng (krng)
Jul 14 21:02:44 neptune kernel: [    0.540000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
Jul 14 21:02:44 neptune kernel: [    0.540000] io scheduler noop registered
Jul 14 21:02:44 neptune kernel: [    0.540000] io scheduler anticipatory registered
Jul 14 21:02:44 neptune kernel: [    0.540000] io scheduler deadline registered
Jul 14 21:02:44 neptune kernel: [    0.540000] io scheduler cfq registered (default)
Jul 14 21:02:44 neptune kernel: [    0.550000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
Jul 14 21:02:44 neptune kernel: [    0.550000] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
Jul 14 21:02:44 neptune kernel: [    0.550000] console [ttyS0] enabled
Jul 14 21:02:44 neptune kernel: [    0.870000] brd: module loaded
Jul 14 21:02:44 neptune kernel: [    0.870000] NAND device: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung NAND 512MiB 3,3V 8-bit)
Jul 14 21:02:44 neptune kernel: [    0.880000] Scanning device for bad blocks
Jul 14 21:02:44 neptune kernel: [    0.910000] Bad eraseblock 600 at 0x000004b00000
Jul 14 21:02:44 neptune kernel: [    0.910000] Bad eraseblock 601 at 0x000004b20000
Jul 14 21:02:44 neptune kernel: [    0.930000] Bad eraseblock 1126 at 0x000008cc0000
Jul 14 21:02:44 neptune kernel: [    0.960000] Bad eraseblock 1625 at 0x00000cb20000
Jul 14 21:02:44 neptune kernel: [    0.980000] Bad eraseblock 2150 at 0x000010cc0000
Jul 14 21:02:44 neptune kernel: [    1.020000] Bad eraseblock 3174 at 0x000018cc0000
Jul 14 21:02:44 neptune kernel: [    1.060000] Creating 3 MTD partitions on "orion_nand":
Jul 14 21:02:44 neptune kernel: [    1.070000] 0x000000000000-0x000000100000 : "u-boot"
Jul 14 21:02:44 neptune kernel: [    1.070000] uncorrectable error : <5>0x000000100000-0x000000500000 : "uImage"
Jul 14 21:02:44 neptune kernel: [    1.080000] ftl_cs: FTL header not found.
Jul 14 21:02:44 neptune kernel: [    1.080000] 0x000000500000-0x000020000000 : "root"
Jul 14 21:02:44 neptune kernel: [    1.090000] ftl_cs: FTL header not found.
Jul 14 21:02:44 neptune kernel: [    1.100000] mice: PS/2 mouse device common for all mice
Jul 14 21:02:44 neptune kernel: [    1.100000] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
Jul 14 21:02:44 neptune kernel: [    1.110000] i2c /dev entries driver
Jul 14 21:02:44 neptune kernel: [    1.110000] cpuidle: using governor ladder
Jul 14 21:02:44 neptune kernel: [    1.120000] cpuidle: using governor menu
Jul 14 21:02:44 neptune kernel: [    1.120000] Registered led device: plug:green:health
Jul 14 21:02:44 neptune kernel: [    1.130000] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
Jul 14 21:02:44 neptune kernel: [    1.130000] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
Jul 14 21:02:44 neptune kernel: [    1.180000] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
Jul 14 21:02:44 neptune kernel: [    1.220000] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
Jul 14 21:02:44 neptune kernel: [    1.260000] mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
Jul 14 21:02:44 neptune kernel: [    1.300000] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
Jul 14 21:02:44 neptune kernel: [    1.300000] TCP cubic registered
Jul 14 21:02:44 neptune kernel: [    1.310000] NET: Registered protocol family 17
Jul 14 21:02:44 neptune kernel: [    1.310000] Gating clock of unused units
Jul 14 21:02:44 neptune kernel: [    1.310000] before: 0x00df03dd
Jul 14 21:02:44 neptune kernel: [    1.310000]  after: 0x00c501d9
Jul 14 21:02:44 neptune kernel: [    1.310000] registered taskstats version 1
Jul 14 21:02:44 neptune kernel: [    1.310000] rtc-mv rtc-mv: setting system clock to 2012-07-14 19:02:30 UTC (1342292550)
Jul 14 21:02:44 neptune kernel: [    1.320000] Freeing init memory: 116K
Jul 14 21:02:44 neptune kernel: [    1.630000] mmc0: mvsdio driver initialized, lacking card detect (fall back to polling)
Jul 14 21:02:44 neptune kernel: [    1.780000] mmc0: host does not support reading read-only switch. assuming write-enable.
Jul 14 21:02:44 neptune kernel: [    1.790000] mmc0: new high speed SDHC card at address b368
Jul 14 21:02:44 neptune kernel: [    2.070000] mmcblk0: mmc0:b368 SDC   7.62 GiB
Jul 14 21:02:44 neptune kernel: [    2.070000]  mmcblk0: p1 p2 p3
Jul 14 21:02:44 neptune kernel: [    2.180000] MV-643xx 10/100/1000 ethernet driver version 1.4
Jul 14 21:02:44 neptune kernel: [    2.190000] mv643xx_eth smi: probed
Jul 14 21:02:44 neptune kernel: [    2.250000] usbcore: registered new interface driver usbfs
Jul 14 21:02:44 neptune kernel: [    2.250000] usbcore: registered new interface driver hub
Jul 14 21:02:44 neptune kernel: [    2.260000] net eth0: port 0 with MAC address 00:50:43:01:49:02
Jul 14 21:02:44 neptune kernel: [    2.470000] usbcore: registered new device driver usb
Jul 14 21:02:44 neptune kernel: [    2.520000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Jul 14 21:02:44 neptune kernel: [    2.530000] orion-ehci orion-ehci.0: Marvell Orion EHCI
Jul 14 21:02:44 neptune kernel: [    2.530000] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
Jul 14 21:02:44 neptune kernel: [    2.570000] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
Jul 14 21:02:44 neptune kernel: [    2.590000] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
Jul 14 21:02:44 neptune kernel: [    2.590000] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
Jul 14 21:02:44 neptune kernel: [    2.600000] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Jul 14 21:02:44 neptune kernel: [    2.610000] usb usb1: Product: Marvell Orion EHCI
Jul 14 21:02:44 neptune kernel: [    2.610000] usb usb1: Manufacturer: Linux 2.6.30-2-kirkwood ehci_hcd
Jul 14 21:02:44 neptune kernel: [    2.620000] usb usb1: SerialNumber: orion-ehci.0
Jul 14 21:02:44 neptune kernel: [    2.620000] usb usb1: configuration #1 chosen from 1 choice
Jul 14 21:02:44 neptune kernel: [    2.630000] hub 1-0:1.0: USB hub found
Jul 14 21:02:44 neptune kernel: [    2.630000] hub 1-0:1.0: 1 port detected
Jul 14 21:02:44 neptune kernel: [    2.960000] usb 1-1: new full speed USB device using orion-ehci and address 2
Jul 14 21:02:44 neptune kernel: [    2.970000] md: linear personality registered for level -1
Jul 14 21:02:44 neptune kernel: [    3.000000] md: multipath personality registered for level -4
Jul 14 21:02:44 neptune kernel: [    3.030000] md: raid0 personality registered for level 0
Jul 14 21:02:44 neptune kernel: [    3.060000] md: raid1 personality registered for level 1
Jul 14 21:02:44 neptune kernel: [    3.090000] xor: measuring software checksum speed
Jul 14 21:02:44 neptune kernel: [    3.150000]    arm4regs  :  1084.400 MB/sec
Jul 14 21:02:44 neptune kernel: [    3.200000]    8regs     :   804.400 MB/sec
Jul 14 21:02:44 neptune kernel: [    3.250000]    32regs    :   724.800 MB/sec
Jul 14 21:02:44 neptune kernel: [    3.250000] xor: using function: arm4regs (1084.400 MB/sec)
Jul 14 21:02:44 neptune kernel: [    3.260000] async_tx: api initialized (async)
Jul 14 21:02:44 neptune kernel: [    3.450000] raid6: int32x1     80 MB/s
Jul 14 21:02:44 neptune kernel: [    3.620000] raid6: int32x2    122 MB/s
Jul 14 21:02:44 neptune kernel: [    3.790000] raid6: int32x4    132 MB/s
Jul 14 21:02:44 neptune kernel: [    3.960000] raid6: int32x8    119 MB/s
Jul 14 21:02:44 neptune kernel: [    3.960000] raid6: using algorithm int32x4 (132 MB/s)
Jul 14 21:02:44 neptune kernel: [    3.980000] md: raid6 personality registered for level 6
Jul 14 21:02:44 neptune kernel: [    3.990000] md: raid5 personality registered for level 5
Jul 14 21:02:44 neptune kernel: [    3.990000] md: raid4 personality registered for level 4
Jul 14 21:02:44 neptune kernel: [    4.000000] usb 1-1: New USB device found, idVendor=0403, idProduct=6001
Jul 14 21:02:44 neptune kernel: [    4.010000] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jul 14 21:02:44 neptune kernel: [    4.010000] usb 1-1: Product: USB <-> 1Wire (MP00202)
Jul 14 21:02:44 neptune kernel: [    4.020000] usb 1-1: Manufacturer: MERA-PROJEKT
Jul 14 21:02:44 neptune kernel: [    4.020000] usb 1-1: SerialNumber: MPSMA7O0
Jul 14 21:02:44 neptune kernel: [    4.030000] usb 1-1: configuration #1 chosen from 1 choice
Jul 14 21:02:44 neptune kernel: [    4.200000] md: raid10 personality registered for level 10
Jul 14 21:02:44 neptune kernel: [    4.260000] uncorrectable error : <3>uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 0
Jul 14 21:02:44 neptune kernel: [    4.270000] Buffer I/O error on device mtdblock0, logical block 0
Jul 14 21:02:44 neptune kernel: [    4.280000] uncorrectable error : <3>uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 0
Jul 14 21:02:44 neptune kernel: [    4.290000] Buffer I/O error on device mtdblock0, logical block 0
Jul 14 21:02:44 neptune kernel: [    4.320000] uncorrectable error : <3>uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 0
Jul 14 21:02:44 neptune kernel: [    4.330000] Buffer I/O error on device mtdblock0, logical block 0
Jul 14 21:02:44 neptune kernel: [    4.340000] uncorrectable error : <3>uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 0
Jul 14 21:02:44 neptune kernel: [    4.340000] Buffer I/O error on device mtdblock0, logical block 0
Jul 14 21:02:44 neptune kernel: [    5.570000] udevd version 125 started
Jul 14 21:02:44 neptune kernel: [    6.940000] usbcore: registered new interface driver usbserial
Jul 14 21:02:44 neptune kernel: [    6.940000] USB Serial support registered for generic
Jul 14 21:02:44 neptune kernel: [    6.950000] usbcore: registered new interface driver usbserial_generic
Jul 14 21:02:44 neptune kernel: [    6.950000] usbserial: USB Serial Driver core
Jul 14 21:02:44 neptune kernel: [    6.990000] USB Serial support registered for FTDI USB Serial Device
Jul 14 21:02:44 neptune kernel: [    6.990000] ftdi_sio 1-1:1.0: FTDI USB Serial Device converter detected
Jul 14 21:02:44 neptune kernel: [    7.000000] usb 1-1: Detected FT232RL
Jul 14 21:02:44 neptune kernel: [    7.000000] usb 1-1: FTDI USB Serial Device converter now attached to ttyUSB0
Jul 14 21:02:44 neptune kernel: [    7.010000] usbcore: registered new interface driver ftdi_sio
Jul 14 21:02:44 neptune kernel: [    7.020000] ftdi_sio: v1.4.3:USB FTDI Serial Converters Driver
Jul 14 21:02:44 neptune kernel: [    7.370000] Adding 674720k swap on /dev/mmcblk0p3.  Priority:-1 extents:1 across:674720k SS
Jul 14 21:02:44 neptune kernel: [    8.830000] loop: module loaded
Jul 14 21:02:44 neptune kernel: [    9.110000] uncorrectable error : <3>uncorrectable error : <3>end_request: I/O error, dev mtdblock0,

sector 0
Jul 14 21:02:44 neptune kernel: [    9.110000] Buffer I/O error on device mtdblock0, logical block 0
Jul 14 21:02:44 neptune kernel: [    9.120000] uncorrectable error : <3>uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 0
Jul 14 21:02:44 neptune kernel: [    9.130000] Buffer I/O error on device mtdblock0, logical block 0
Jul 14 21:02:44 neptune kernel: [    9.910000] fuse init (API version 7.11)
Jul 14 21:02:44 neptune kernel: [   11.170000] NET: Registered protocol family 10
Jul 14 21:02:44 neptune kernel: [   11.180000] lo: Disabled Privacy Extensions
Jul 14 21:02:44 neptune kernel: [   11.330000] ADDRCONF(NETDEV_UP): eth0: link is not ready
Jul 14 21:02:44 neptune kernel: [   13.150000] eth0: link up, 100 Mb/s, full duplex, flow control disabled
Jul 14 21:02:44 neptune kernel: [   13.160000] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Jul 14 20:55:56 neptune kernel: [   22.500000] warning: `ntpd' uses 32-bit capabilities (legacy support in use)
Jul 14 20:55:57 neptune kernel: [   24.030000] eth0: no IPv6 routers present
Logged

hr.punio
Newbie
*

Karma: 0
Posts: 26


View Profile
« Reply #1 on: July 16, 2012, 05:28:12 AM »

I have tried restarted the Plug but it failed.
The green light is on (not blinking, the power supply seems to be ok) but there is no blue light.
I can't connect via cu as well.

cu -s 115200 -l /dev/ttyS0
Connected.

but that's all

Have no idea how to proceed. Restore Uboot, as described here:
 http://www.cyrius.com/debian/kirkwood/sheevaplug/uboot-upgrade.html ??

--tomek
Logged

hr.punio
Newbie
*

Karma: 0
Posts: 26


View Profile
« Reply #2 on: September 05, 2012, 11:45:52 PM »

It was well known power supply problem but the symptoms were weird. Moreover on my first try to repair
I use another faulty (this time external) PSU:-)
Logged

Pages: [1]
Print
Jump to: