• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: mounting usb drives on sheevaplug  (Read 1562 times)
whitehat09
Newbie
*

Karma: 0
Posts: 14


View Profile
« on: December 01, 2010, 07:28:25 PM »

Hey everyone,
about a month ago I finally picked up a sheevaplug but only this afternoon did I try to switch everything over from my nslu2 to the sheevaplug. First a lil background, I have my sheeva booting from an 8GB SDHC card running debian lenny. When I plugged in the usb hub + 2x1TB drives I got some strange errors at bootup and when I did 'blkid'. The error output was too long to capture in one window but I have the majority of it.
What bothers me the most is the line that says
"mount: special device UUID="bd9e3223-0440-4bb7-9fbc-8d089d67eb9f" does not exist
mount: special device UUID="b27950bd-5d15-41b2-98a6-f38c78aa07b3" does not exist"

Ive double checked the UUID in fstab and there right. But once the sheeva has showed me all these errors I can mount the usb drives, using 'mount /dev/sda' just fine, but I need them to mount at boot. Hopefully someone can help me.

The beginning of this is the end of the errors at boot up, then it shows the blkid output.

"[   35.842463] uncorrectable error :
[   35.845890] end_request: I/O error, dev mtdblock0, sector 168
[   35.851916] uncorrectable error :
[   35.855157] uncorrectable error :
[   35.858578] end_request: I/O error, dev mtdblock0, sector 176
[   35.864604] uncorrectable error :
[   35.867844] uncorrectable error :
[   35.871276] end_request: I/O error, dev mtdblock0, sector 184
[   35.877290] uncorrectable error :
[   35.880532] uncorrectable error :
[   35.883964] end_request: I/O error, dev mtdblock0, sector 192
[   35.889977] uncorrectable error :
[   35.893231] uncorrectable error :
[   35.896658] end_request: I/O error, dev mtdblock0, sector 200
[   35.902684] uncorrectable error :
[   35.905925] uncorrectable error :
[   35.909345] end_request: I/O error, dev mtdblock0, sector 208
[   35.915371] uncorrectable error :
[   35.918612] uncorrectable error :
[   35.922137] end_request: I/O error, dev mtdblock0, sector 216
[   35.928154] uncorrectable error :
[   35.931411] uncorrectable error :
[   35.934835] end_request: I/O error, dev mtdblock0, sector 224
[   35.940892] uncorrectable error :
[   35.944151] uncorrectable error :
[   35.947576] end_request: I/O error, dev mtdblock0, sector 232
[   35.953599] uncorrectable error :
[   35.956841] uncorrectable error :
[   35.960262] end_request: I/O error, dev mtdblock0, sector 240
[   35.966315] uncorrectable error :
[   35.969555] uncorrectable error :
[   35.972999] end_request: I/O error, dev mtdblock0, sector 0
[   35.978926] uncorrectable error :
[   35.982181] uncorrectable error :
[   35.985612] end_request: I/O error, dev mtdblock0, sector 528
[   35.991665] uncorrectable error :
[   35.994904] uncorrectable error :
[   35.998325] end_request: I/O error, dev mtdblock0, sector 536
[   36.004375] uncorrectable error :
[   36.007617] uncorrectable error :
[   36.011057] end_request: I/O error, dev mtdblock0, sector 528
[   36.025155] uncorrectable error :
[   36.028397] uncorrectable error :
[   36.031865] end_request: I/O error, dev mtdblock0, sector 528
[   42.711114]  sdc1
[   42.717058] sd 1:0:0:0: [sdc] Assuming drive cache: write through
[   42.723219] sd 1:0:0:0: [sdc] Attached SCSI disk
mount: special device UUID="bd9e3223-0440-4bb7-9fbc-8d089d67eb9f" does not exist
mount: special device UUID="b27950bd-5d15-41b2-98a6-f38c78aa07b3" does not exist
failed.
Activating swapfile swap...done.
Setting up networking....
Configuring network interfaces...done.
Starting portmap daemon....
Starting NFS common utilities: statd.
INIT: Entering runlevel: 2[   48.641444] eth0: link up, 100 Mb/s, full duplex, flow control disabled

Starting enhanced syslogd: rsyslogd.
Starting system message bus: dbus.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon[   50.074103] NET: Registered protocol family 10
[   50.080086] lo: Disabled Privacy Extensions
.
Starting OpenBSD Secure Shell server: sshd.
Starting MTA: exim4.
Starting upnp media server: mediatomb.
Starting NFS common utilities: statd.
Not starting internet superserver: no services enabled.
Starting Samba daemons: nmbd smbd.
Starting FTP server: vsftpd.
Starting mt-daapd: mt-daapd.
Starting deferred execution scheduler: atd.
Starting periodic command scheduler: crond.

Debian GNU/Linux 5.0 blackjack ttyS0

blackjack login: root
Password:
Last login: Wed Dec  1 19:16:11 EST 2010 on ttyS0
Linux blackjack 2.6.32-5-kirkwood #1 Wed Oct 20 12:58:44 UTC 2010 armv5tel

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
blackjack:~# cd ..
blackjack:/# cd media/sda
blackjack:/media/sda# ls
blackjack:/media/sda# blkid
[ 1208.900373] uncorrectable error :
[ 1208.903662] uncorrectable error :
[ 1208.907095] end_request: I/O error, dev mtdblock0, sector 248
[ 1208.913049] __ratelimit: 53 callbacks suppressed
[ 1208.917687] Buffer I/O error on device mtdblock0, logical block 31
[ 1208.925117] uncorrectable error :
[ 1208.928359] uncorrectable error :
[ 1208.931817] end_request: I/O error, dev mtdblock0, sector 0
[ 1208.937597] Buffer I/O error on device mtdblock0, logical block 0
[ 1208.944561] uncorrectable error :
[ 1208.947804] uncorrectable error :
[ 1208.951248] end_request: I/O error, dev mtdblock0, sector 8
[ 1208.957034] Buffer I/O error on device mtdblock0, logical block 1
[ 1208.964021] uncorrectable error :
[ 1208.967267] uncorrectable error :
[ 1208.970688] end_request: I/O error, dev mtdblock0, sector 16
[ 1208.976557] Buffer I/O error on device mtdblock0, logical block 2
[ 1208.983436] uncorrectable error :
[ 1208.986677] uncorrectable error :
[ 1208.990099] end_request: I/O error, dev mtdblock0, sector 24
[ 1208.995968] Buffer I/O error on device mtdblock0, logical block 3
[ 1209.002845] uncorrectable error :
[ 1209.006089] uncorrectable error :
[ 1209.009509] end_request: I/O error, dev mtdblock0, sector 32
[ 1209.015379] Buffer I/O error on device mtdblock0, logical block 4
[ 1209.022257] uncorrectable error :
[ 1209.025499] uncorrectable error :
[ 1209.028920] end_request: I/O error, dev mtdblock0, sector 40
[ 1209.034790] Buffer I/O error on device mtdblock0, logical block 5
[ 1209.041742] uncorrectable error :
[ 1209.044980] uncorrectable error :
[ 1209.048401] end_request: I/O error, dev mtdblock0, sector 48
[ 1209.054271] Buffer I/O error on device mtdblock0, logical block 6
[ 1209.061266] uncorrectable error :
[ 1209.064504] uncorrectable error :
[ 1209.067926] end_request: I/O error, dev mtdblock0, sector 56
[ 1209.073794] Buffer I/O error on device mtdblock0, logical block 7
[ 1209.080671] uncorrectable error :
[ 1209.083935] uncorrectable error :
[ 1209.087363] end_request: I/O error, dev mtdblock0, sector 64
[ 1209.093231] Buffer I/O error on device mtdblock0, logical block 8
[ 1209.100099] uncorrectable error :
[ 1209.103362] uncorrectable error :
[ 1209.106790] end_request: I/O error, dev mtdblock0, sector 72
[ 1209.113292] uncorrectable error :
[ 1209.116536] uncorrectable error :
[ 1209.119957] end_request: I/O error, dev mtdblock0, sector 80
[ 1209.126438] uncorrectable error :
[ 1209.129677] uncorrectable error :
[ 1209.133118] end_request: I/O error, dev mtdblock0, sector 88
[ 1209.139616] uncorrectable error :
[ 1209.142881] uncorrectable error :
[ 1209.146309] end_request: I/O error, dev mtdblock0, sector 96
[ 1209.152779] uncorrectable error :
[ 1209.156020] uncorrectable error :
[ 1209.159441] end_request: I/O error, dev mtdblock0, sector 104
[ 1209.166101] uncorrectable error :
[ 1209.169344] uncorrectable error :
[ 1209.172786] end_request: I/O error, dev mtdblock0, sector 112
[ 1209.179325] uncorrectable error :
[ 1209.182583] uncorrectable error :
[ 1209.186012] end_request: I/O error, dev mtdblock0, sector 120
[ 1209.192566] uncorrectable error :
[ 1209.195810] uncorrectable error :
[ 1209.199231] end_request: I/O error, dev mtdblock0, sector 128
[ 1209.205786] uncorrectable error :
[ 1209.209029] uncorrectable error :
[ 1209.212470] end_request: I/O error, dev mtdblock0, sector 136
[ 1209.219006] uncorrectable error :
[ 1209.222267] uncorrectable error :
[ 1209.225741] end_request: I/O error, dev mtdblock0, sector 144
[ 1209.232649] uncorrectable error :
[ 1209.235895] uncorrectable error :
[ 1209.239317] end_request: I/O error, dev mtdblock0, sector 152
[ 1209.245891] uncorrectable error :
[ 1209.249133] uncorrectable error :
[ 1209.252574] end_request: I/O error, dev mtdblock0, sector 160
[ 1209.259112] uncorrectable error :
[ 1209.262462] uncorrectable error :
[ 1209.265887] end_request: I/O error, dev mtdblock0, sector 168
[ 1209.272488] uncorrectable error :
[ 1209.275728] uncorrectable error :
[ 1209.279149] end_request: I/O error, dev mtdblock0, sector 176
[ 1209.285711] uncorrectable error :
[ 1209.288956] uncorrectable error :
[ 1209.292398] end_request: I/O error, dev mtdblock0, sector 184
[ 1209.298937] uncorrectable error :
[ 1209.302197] uncorrectable error :
[ 1209.305624] end_request: I/O error, dev mtdblock0, sector 192
[ 1209.312173] uncorrectable error :
[ 1209.315412] uncorrectable error :
[ 1209.318834] end_request: I/O error, dev mtdblock0, sector 200
[ 1209.325389] uncorrectable error :
[ 1209.328632] uncorrectable error :
[ 1209.332074] end_request: I/O error, dev mtdblock0, sector 208
[ 1209.338610] uncorrectable error :
[ 1209.341871] uncorrectable error :
[ 1209.345300] end_request: I/O error, dev mtdblock0, sector 216
[ 1209.351850] uncorrectable error :
[ 1209.355089] uncorrectable error :
[ 1209.358510] end_request: I/O error, dev mtdblock0, sector 224
[ 1209.365192] uncorrectable error :
[ 1209.368430] uncorrectable error :
[ 1209.371872] end_request: I/O error, dev mtdblock0, sector 232
[ 1209.378410] uncorrectable error :
[ 1209.381669] uncorrectable error :
[ 1209.385098] end_request: I/O error, dev mtdblock0, sector 240
[ 1209.391683] uncorrectable error :
[ 1209.394923] uncorrectable error :
[ 1209.398352] end_request: I/O error, dev mtdblock0, sector 0
[ 1209.404885] uncorrectable error :
[ 1209.408124] uncorrectable error :
[ 1209.411568] end_request: I/O error, dev mtdblock0, sector 528
[ 1209.418168] uncorrectable error :
[ 1209.421434] uncorrectable error :
[ 1209.424862] end_request: I/O error, dev mtdblock0, sector 536
[ 1209.431449] uncorrectable error :
[ 1209.434693] uncorrectable error :
[ 1209.438115] end_request: I/O error, dev mtdblock0, sector 528
[ 1209.444746] uncorrectable error :
[ 1209.447992] uncorrectable error :
[ 1209.451435] end_request: I/O error, dev mtdblock0, sector 528
/dev/mmcblk0p1: UUID="84356526-8944-4536-9c99-83580a288cf3" TYPE="ext2"
/dev/mmcblk0p2: UUID="077597a3-cfd4-4b88-b9c1-4b4534c4a239" TYPE="ext3"
/dev/mmcblk0p5: TYPE="swap" UUID="ef992452-94ea-4390-8a7b-f1d88e03874b"
/dev/sda1: UUID="bd9e3223-0440-4bb7-9fbc-8d089d67eb9f" TYPE="ext3" SEC_TYPE="ext2"
/dev/sda2: UUID="faf6eecf-b0b7-4760-9487-46a2a6a02ed2" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdc1: UUID="b27950bd-5d15-41b2-98a6-f38c78aa07b3" TYPE="ext3" SEC_TYPE="ext2"
blackjack:/media/sda#"

Logged

birdman
Sr. Member
****

Karma: 4
Posts: 443


View Profile WWW
« Reply #1 on: December 02, 2010, 06:27:52 PM »

But once the sheeva has showed me all these errors I can mount the usb drives, using 'mount /dev/sda' just fine, but I need them to mount at boot. Hopefully someone can help me.
You could always mount them as /dev/sda, etc., in fstab?
However - that (probably) isn't the problem.
If you want to do anything with USB filesystem devices at boot time then you'll need to add "rootdelay=6" (or similar) in your boot_args in u-Boot.  This tells the kernel to wait for 6s before looking for available file devices, and in the time the USB bus gets scanned and the devices found.
Whether UUIDs will the work is another matter.  I tried using LABELs (easier to know what they refer to) to specify the root partition and that failed (but that may just be because that gets used even earlier).
But add the rootdelay and see.
Logged

Pages: [1]
Print
Jump to: