Welcome! Log In Create A New Profile

Advanced

install fails on mount

Posted by nrq 
nrq
install fails on mount
May 09, 2011 02:07PM
Hey,

on a Pogoplug I previously had Debian installed already the installscript now fails with a "can't mount" message. Mysteriously I can't mount my USB stick manually, either. Here's the complete output:

Pogoplug:/tmp$ ./dockstar.debian-squeeze.sh 


!!!!!!  DANGER DANGER DANGER DANGER DANGER DANGER  !!!!!!

This script will replace the bootloader on /dev/mtd0.

If you lose power while the bootloader is being flashed,
your device could be left in an unusable state.


This script will configure your Dockstar to boot Debian Squeeze
from a USB device.  Before running this script, you should have
used fdisk to create the following partitions:

/dev/sda1 (Linux ext2, at least 400MB)
/dev/sda2 (Linux swap, recommended 256MB)


This script will DESTROY ALL EXISTING DATA on /dev/sda1
Please double check that the device on /dev/sda1 is the correct device.

By typing ok, you agree to assume all liabilities and risks
associated with running this installer.

If everything looks good, type 'ok' to continue: ok
Installing Bootloader
# checking for /usr/sbin/nandwrite...
# checking for /usr/sbin/nanddump...
# checking for /usr/sbin/flash_erase...
# checking for /usr/sbin/fw_printenv...
# checking for /etc/fw_env.config...

# Validating existing uBoot...
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x00000000 and ending at 0x00080000...
Connecting to jeff.doozan.com (69.163.187.226:80)
valid-uboot.md5      100% |********************************************************|   756  --:--:-- ETA
## Valid uBoot detected: [pinkpogo jeff-2010-10-23-current]
## The newest uBoot is already installed on mtd0.

# uBoot installation has completed successfully.
mke2fs 1.41.12 (17-May-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
238080 inodes, 952296 blocks
47614 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=977272832
30 block groups
32768 blocks per group, 32768 fragments per group
7936 inodes per group
Superblock backups stored on blocks: 
	32768, 98304, 163840, 229376, 294912, 819200, 884736

Writing inode tables: done                            
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 33 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
Setting up swapspace version 1, size = 324356096 bytes
mount: mounting /dev/sda1 on /tmp/debian failed: Invalid argument
Could not mount /dev/sda1 on /tmp/debian
Pogoplug:/tmp$

Any idea what I might have broken? I have slightly modified the build script to install Wheezy and the Debian 2.6.38 kirkwood kernel, but the install had worked the past week and I've changed nothing since.
nrq
Re: install fails on mount
May 09, 2011 02:14PM
Well, just to eliminate the possibility of me accidentally having broken the build script (unlikely, since mount on its own doesn't work...) I've tried the unodified install script and it shows the same mount error.
Re: install fails on mount
May 09, 2011 08:01PM
Anything interesting in 'dmesg |tail' about it? is ext2 listed in /proc/filesystems ?
nrq
Re: install fails on mount
May 10, 2011 03:59PM
Pogoplug:/tmp$ dmesg |tail
[  139.300000] sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
[  139.310000] sd 0:0:0:0: [sda] Sense Key : 0x7 [current] 
[  139.310000] Info fld=0x0
[  139.320000] sd 0:0:0:0: [sda] ASC=0x27 ASCQ=0x0
[  139.320000] end_request: I/O error, dev sda, sector 64
[  139.420000] sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
[  139.420000] sd 0:0:0:0: [sda] Sense Key : 0x7 [current] 
[  139.430000] Info fld=0x0
[  139.430000] sd 0:0:0:0: [sda] ASC=0x27 ASCQ=0x0
[  139.440000] end_request: I/O error, dev sda, sector 7618436
dmesg is filled with errors for different sectors like that. Possibly a bad USB stick?
nrq
Re: install fails on mount
May 11, 2011 03:54PM
Sorry for bothering you people, it *was* a broken USB stick. Currently installing to another one.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: