[pocket-linux] A.3.2.3 Write a startup script to ...
mlij at globo.com
mlij at globo.com
Wed Mar 30 17:05:44 CST 2005
'>'> When I try to run the /usr disk for mp3blaster,
'>'> answering Yes to "Is there a compressed diskette to load for /usr"
'>'> I have the following message:
'>'>
'>'> *******************************************************************
'>'> Clearing /dev/ram1
'>'> 4096+0 records in
'>'> 4096+0 records out
'>'> Loading compressed image from /dev/fd0 into /dev/ram1
'>'> fsck 1.36 (05-feb-2005)
'>'> /dev/ram1: Deleted inode 282 has zero dtime. FIXED
'>'> /dev/ram1: Inode 286 is in use, but has dtime set. FIXED
'>'> /dev/ram1: Inode 286 has imagic flag set.
'>'>
'>'> /dev/ram1: UNEXPECTED INCONSISTENCY; Run fsck MANUALLY
'>'> (i.e., without -a or -p options)
'>'> Filesystem errors on /dev/ram1!
'>'> Manual intervention required
'>'>
'>'> Setting hostname
'>'> INIT: Entering run level:2
'>'>
'>'> login:
'>'>
'>'> ******************************************************************
'>'>
'>'> When I issue the command ls -lR /usr:
'>'> Ext2-fs error (device ram1): ext2_check_page: bad entry in directory
#2:
'>'> unaligned directory entry - offset=0, inode=1667457891, rec_len=25443,
'>'name_len=99
'>'>
'>'> However, I tested the diskette in my linux.
'>'> I put the following commands:
'>'>
'>'> mount /dev/fd0 /mnt
'>'> dd if=/dev/fd0 | gunzip -cq>/dev/ram1
'>'> umount /dev/fd0
'>'> mount /dev/ram1 /mnt
'>'>
'>'> I went to the /mnt/bin and I ran mp3blaster.
'>'> So I think that there is not a problem with my floppy.
'>'> Am I right?
'>'>
'>'> I tried to put the steps manually and the message is the same.
'>'>
'>'>
'>'>
'>'> _______________________________________________
'>'> Pocket-Linux mailing list
'>'> Pocket-Linux at ufo.chicago.il.us
'>'> http://ufo.chicago.il.us/cgi-bin/mailman/listinfo/pocket-linux
'>'>
'>'
'>'After doing
'>' mount /dev/fd0 /mnt
'>' dd if=/dev/fd0 | gunzip -cq>/dev/ram1
'>'
'>'on your regular linux machine, try running
'>' fsck -fp /dev/ram1
'>'
'>'See if you still get errors like you do when running from the boot disk.
On my regular linux I put the command:
fsck -fp /dev/ram1
The answer was:
root at mlij:/usr/src# fsck -fp /dev/ram1
fsck 1.35 (28-Feb-2004)
/dev/ram1: 28/1024 files (0.0% non-contiguous), 3203/4096 blocks
I created another compressed /usr disk for mp3blaster.
Continue the message "... Manual intervention required"
However if I put manually the steps of usr_image script, I can mount
/dev/ram1 and I can run mp3blaster.
When I try to open torvalds-says-linux.mp3 there is the message:
failed to open sound device.
On my regular linux I can open it.
If I put the command echo "garbage" > /dev/dsp there is the message:
no such device (there is no sound. on my regular linux I can listen to a
"sound")
dmesg | more has the line:
Alsa device list: #0 Ensoniq Audio PCI ENX1371 at 0xa800, irq 5
Maybe I have to build a new kernel.
I do not understand why I can mount manually the /usr disk mp3blaster and
the script can not mount it.
More information about the Pocket-Linux
mailing list