Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Can't access SD card under sheevaplug



Hello,
 I'm not able to operate on SD card attached to Sheevaplug. I'm sure that card 
isn't broken. It contains single fat partition. Please see below:

--8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<--

NetBSD 5.99.47 (ZONIAK) #1: Sun Feb 27 14:15:46 CET 2011
        root@volkov.localdomain.:/netbsd/obj/sys/arch/evbarm/compile/ZONIAK
total memory = 512 MB
avail memory = 497 MB
timecounter: Timecounters tick every 10.000 msec
mainbus0 (root)
cpu0 at mainbus0: Sheeva 88SV131 rev 1 (ARM9E-S core)
cpu0: DC enabled IC enabled WB enabled EABT branch prediction enabled
cpu0: 16KB/32B 4-way Instruction cache
cpu0: 16KB/32B 4-way write-back-locking-C Data cache
mvsoc0 at mainbus0: Marvell 88F6281 Rev. A0  Kirkwood
mvsoc0: CPU Clock 1200.000 MHz  SysClock 400.000 MHz  TClock 200.000 MHz
mvsoctmr0 at mvsoc0 unit 0 offset 0x20300-0x203ff: Marvell SoC Timer
mvsocgpp at mvsoc0 unit 0 not configured
com0 at mvsoc0 unit 0 offset 0x12000-0x1201f irq 33: ns16550a, working fifo
com0: console
com1 at mvsoc0 unit 1 offset 0x12100-0x1211f irq 34: ns16550a, working fifo
ehci0 at mvsoc0 unit 0 offset 0x50000-0x51fff irq 19: Marvell USB 2.0 Interface
ehci0: EHCI version 1.0
usb0 at ehci0: USB revision 2.0
gttwsi0 at mvsoc0 unit 0 offset 0x11000-0x11fff irq 29: Marvell TWSI controller
iic0 at gttwsi0: I2C bus
mvcesa at mvsoc0 unit 0 not configured
mvgbec0 at mvsoc0 unit 0 offset 0x70000-0x73fff: Marvell Gigabit Ethernet 
Controller
mvgbe0 at mvgbec0 port 0 irq 11
mvgbe0: Ethernet address 00:50:43:01:4c:aa
makphy0 at mvgbe0 phy 0: Marvell 88E1116R Gigabit PHY, rev. 0
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-
FDX, auto
mvgbec1 at mvsoc0 unit 1 offset 0x74000-0x77fff: Marvell Gigabit Ethernet 
Controller
mvgbe at mvgbec1 port 0 not configured
mvpex at mvsoc0 unit 0 not configured
mvsata at mvsoc0 unit 0 not configured
mvsdio0 at mvsoc0 unit 0 offset 0x90000-0x9ffff irq 28: Marvell Secure Digital 
Input/Output Interface
sdmmc0 at mvsdio0
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "mvsoctmr" frequency 200000000 Hz quality 100
uhub0 at usb0: Marvell EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub0: 1 port with 1 removable, self powered
IPsec: Initialized Security Association Processing.
d0 at sdmmc0: <SDC  >
ld0: 3839 MB, 1949 cyl, 64 head, 63 sec, 512 bytes/sect x 7862272 sectors
ld0: 4-bit width, bus clock 50.000 MHz
umass0 at uhub0 port 1 configuration 1 interface 0
umass0: Corsair Flash Voyager, rev 2.00/11.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <Corsair, Flash Voyager, 1100> disk removable
sd0: fabricating a geometry
sd0: 15488 MB, 15488 cyl, 64 head, 32 sec, 512 bytes/sect x 31719424 sectors
boot device: <unknown>
root device: ?
use one of: mvgbe0 ld0[a-h] sd0[a-h] ddb halt reboot
root device: ld0a
dump device (default ld0b): 
file system (default generic): ?
use one of: generic nfs msdos ext2fs ffs ddb halt reboot
file system (default generic): nfs
root on ld0a dumps on ld0b
ld0c: error reading fsbn 6 (ld0 bn 6; cn 0 tn 0 sn 6)
ld0: filecore boot block I/O error
vfs_mountroot: can't open root device
cannot mount root, error = 6
root device (default ld0a): ?
use one of: mvgbe0 ld0[a-h] sd0[a-h] ddb halt reboot
root device (default ld0a): mvgbe0
dump device: 
file system (default nfs): ?
use one of: generic nfs msdos ext2fs ffs ddb halt reboot
file system (default nfs): nfs
root on mvgbe0
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 192.168.1.5
nfs_boot: my_domain=localdomain
nfs_boot: my_addr=192.168.1.31
nfs_boot: my_mask=255.255.255.0
nfs_boot: gateway=192.168.1.1
root on DHCPserver:/usr/local/jails/192.168.1.40/netbsd/destdir
root time: 0x4d6a5218
WARNING: no TOD clock present
WARNING: using filesystem time
WARNING: CHECK AND RESET THE DATE!
warning: no /dev/console
init path (default /sbin/init): 
init: copying out path `/sbin/init' 11
WARNING: negative runtime; monotonic clock has gone backwards
Sun Feb 27 13:31:42 UTC 2011
Not checking /: fs_passno = 0 in /etc/fstab
Starting file system checks:
Setting tty flags.
Setting sysctl variables:
ddb.onpanic: 1 -> 0
Starting network.
Hostname: rut
NIS domainname: localdomain
IPv6 mode: host
Configuring network interfaces:.
Adding interface aliases:.
DHCPserver:/usr/local/warden/jails/192.168.1.40/netbsd/destdir: inaccurate wcc 
data (mtime) detected, disabling wcc (ctime 1299339990.841347714 
1299339990.841347714, mtime 1299339990.841347714 1299339990.841347714)
Building databases: dev, utmp, utmpx, services done
Starting syslogd.
Mounting all filesystems...
Clearing temporary files.
Creating a.out runtime link editor directory cache.
Checking quotas: done.
Setting securelevel: kern.securelevel: 0 -> 1
/etc/rc: WARNING: No swap space configured!
/etc/rc.d/swap2 exited with code 1
Starting virecover.
Checking for core dump...
savecore: no core dump (no dumpdev)
Starting local daemons:.
Updating motd.
Starting sshd.
Starting inetd.
Starting httpd.
Starting cron.
The following components reported failures:
    /etc/rc.d/swap2
See /var/run/rc.log for more information.
Sun Feb 27 13:32:59 UTC 2011

NetBSD/evbarm (rut) (console)

login:
--8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<--

After logging in:

--8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<--
rut# fdisk -i /dev/ld0c                                                         
                                                              
fdisk: cannot opendisk /dev/ld0cc: No such file or directory
rut# fdisk -i /dev/ld0  
fdisk: cannot opendisk /dev/ld0c: No such file or directory
rut# fdisk -i /dev/rld0
fdisk: cannot opendisk /dev/rld0c: No such file or directory
rut# cd /dev/ ; ./MAKEDEV ld0

rut# ls -l /dev/rld*                                                            
                                                            
crw-r-----  1 root  operator  92, 0 Feb 27 13:37 /dev/rld0a
crw-r-----  1 root  operator  92, 1 Feb 27 13:37 /dev/rld0b
crw-r-----  1 root  operator  92, 2 Feb 27 13:37 /dev/rld0c
crw-r-----  1 root  operator  92, 3 Feb 27 13:37 /dev/rld0d
crw-r-----  1 root  operator  92, 4 Feb 27 13:37 /dev/rld0e
crw-r-----  1 root  operator  92, 5 Feb 27 13:37 /dev/rld0f
crw-r-----  1 root  operator  92, 6 Feb 27 13:37 /dev/rld0g
crw-r-----  1 root  operator  92, 7 Feb 27 13:37 /dev/rld0h
rut# ls -l /dev/ld*    
brw-r-----  1 root  operator  92, 0 Feb 27 13:37 /dev/ld0a
brw-r-----  1 root  operator  92, 1 Feb 27 13:37 /dev/ld0b
brw-r-----  1 root  operator  92, 2 Feb 27 13:37 /dev/ld0c
brw-r-----  1 root  operator  92, 3 Feb 27 13:37 /dev/ld0d
brw-r-----  1 root  operator  92, 4 Feb 27 13:37 /dev/ld0e
brw-r-----  1 root  operator  92, 5 Feb 27 13:37 /dev/ld0f
brw-r-----  1 root  operator  92, 6 Feb 27 13:37 /dev/ld0g
brw-r-----  1 root  operator  92, 7 Feb 27 13:37 /dev/ld0h
rut# fdisk -i /dev/rld0 
fdisk: Can't read primary partition table: Input/output error
fdisk: Can't read primary GPT header: Input/output error
fdisk: Can't read secondary GPT header: Input/output error
fdisk: Cannot determine the number of heads

We haven't written the MBR back to disk yet.  This is your last chance.
Should we write new partition table? [n] y
fdisk: Can't write fdisk partition table: Input/output error
rut# fdisk -i /dev/ld0  
fdisk: Can't read primary partition table: Input/output error
fdisk: Can't read primary GPT header: Input/output error
fdisk: Can't read secondary GPT header: Input/output error
fdisk: Cannot determine the number of heads

We haven't written the MBR back to disk yet.  This is your last chance.
Should we write new partition table? [n] y
fdisk: Can't write fdisk partition table: Input/output error
--8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<--

On console I see following errors:
--8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<--

ld0c: error reading fsbn 0 (ld0 bn 0; cn 0 tn 0 sn 0)
ld0c: error reading fsbn 1 (ld0 bn 1; cn 0 tn 0 sn 1)
ld0c: error reading fsbn 7862271 (ld0 bn 7862271; cn 1949 tn 61 sn 60)
ld0c: error writing fsbn 0 (ld0 bn 0; cn 0 tn 0 sn 0)

ld0c: error reading fsbn 6 (ld0 bn 6; cn 0 tn 0 sn 6)
ld0: filecore boot block I/O error
ld0c: error reading fsbn 0 of 0-3 (ld0 bn 0; cn 0 tn 0 sn 0)
ld0c: error reading fsbn 0 of 0-3 (ld0 bn 0; cn 0 tn 0 sn 0)
ld0c: error reading fsbn 7862268 of 7862268-7862271 (ld0 bn 7862268; cn 1949 
tn 61 sn 57)
ld0c: error reading fsbn 0 of 0-3 (ld0 bn 0; cn 0 tn 0 sn 0)

--8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<--

Am I missing something?
-- 
"Omnes homines natura scire desiderant"
                                           Aristotelis


Home | Main Index | Thread Index | Old Index