Hi,

I found your posting on Feb 5 from the mail archive
but I did not find a solution.  Did you fix the
problem about "attempt to access beyond end of
device"? 

When my assabet boots, it shows

attempt to access beyond end of device
01:00: rw=0, want=8217, limit=8192
EXT2-fs error (device ramdisk(1,0)): ext2_read_inode:
unable to read inode block - inode=1434, block=8216
attempt to access beyond end of device
01:00: rw=0, want=8206, limit=8192
EXT2-fs error (device ramdisk(1,0)): ext2_read_inode:
unable to read inode block - inode=1348, block=8205
attempt to access beyond end of device

This is what I have done

1. arm linux kernel, make xconfig, block devices,
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=16384
recompile the kernel for Assabet

2. change the HOST kernel (redhat 6.2, kernel 2.2.14),
drivers/block/rd.c: int rd_size = 10240.  Recompile
the HOST (Pentium) kernel.

3. On host:
  dd if=/dev/zero of=/dev/ram bs=1k count=10240
  mke2fs -vm0 /dev/ram 10240
  cd /mnt; mkdir mnt1; mkdir mnt2
  mount -o loop -t ext2 oldimage /mnt/mnt1
  mount -o loop -t ext2 /dev/ram /mnt/mnt2
  cd /mnt/mnt1
  tar cvpl . | tar xpC ../mnt2
  umount /mnt/mnt2
  cat /dev/ram | gzip > newramdisk.gz

4. use angelboot to load the kernel and newramdisk.gz

Then, I got 

attempt to access beyond end of device
01:00: rw=0, want=8217, limit=8192
EXT2-fs error (device ramdisk(1,0)): ext2_read_inode:
unable to read inode block - inode=1434, block=8216
attempt to access beyond end of device
01:00: rw=0, want=8206, limit=8192
EXT2-fs error (device ramdisk(1,0)): ext2_read_inode:
unable to read inode block - inode=1348, block=8205
attempt to access beyond end of device

Does anybody know how to fix it?  Thanks a lot!

=====
Robert Lee
Software Engineer

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to