[pocket-linux] Chapter 3: attempt to access beyond end of device

David Horton dhorton at speakeasy.net
Wed Jun 16 17:02:41 CDT 2004


Bettes wrote:
> Hi, I found this message inside the archives, but unfortunately there was no 
> answer to it. I have the same problem. :-(
> The original messenger was Daniel Heiss
> 
> Hello everybody!
>  
> I'm new to Pocket Linux and Linux itself. I've just startet to build the
> boot and root disk from the discription in Pocket Linux guide (chapter
> 3). I've done everything as discribed in the guide but when I try to
> start the system I get the following error messages after I insert the
> root disk:
>  
> ...
> VFS: Insert root floppy disk to be loaded into RAM disk and press ENTER
> RAMDISK: Compressed Image found at block 0
> VFS: Mounted root (ext2 filesystem) readonly.
> Freeing unused kernel memory: 60k freed
> Attempt to access beyond end of device
> 01:00 rw=0, want 49158, limit=4096
> EXT2-fs error (device ramdisk (1,0)): ext2_read_inode: unable to read
> inode block
>  - inode=12001, block = 49157
> Waring unable to open an initial console.
> attemp to access beyond end of device
> 01:00 rw=0, want=16390, limit=4096
> EXT2-fs error (device RAM disk (1,0)): ext2_read_inode: unable to read
> inide block
>  - inode = 4001, block = 16389
> Kernel panic: No init found. Try passing init= option to kernel.
>  
>  
>  
>  
> But I insert in the lilo prompt:  bootdisk init=/bin/sh
>  
> Any ideas?
> Regards
> Daniel
> 
> _______________________________________________
> Pocket-Linux mailing list
> Pocket-Linux at ufo.chicago.il.us
> http://ufo.chicago.il.us/cgi-bin/mailman/listinfo/pocket-linux
> 
> 

I think it has something to do with the system you are using to build 
the compressed rootdisk.  From the line "01:00 rw=0, want 49158, 
limit=4096" it appears that the ramdisk image is 49158 bytes, but the 
bootdisk kernel only has 4096 bytes of space.  It seems strange that the 
original image could be so large and still fit on a diskette.  But if 
it's 4096 bytes of filesystem and the rest is all zeros gzip should be 
able to compress it pretty small.

There's a note toward the end of section 3.2.3 of the guide that might 
help you out.

Good Luck,
Dave




More information about the Pocket-Linux mailing list