[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problem with root filesystem



Ok Diego,

Let's see...

On Fri, 2005-05-06 at 14:02 +0200, Diego Municio wrote:
> > 2005/5/4, Philippe De Swert <philippedeswert@scarlet.be>:
> Yes, my board have mmu... 
> First, I changed .config to unset devfs_mount: 
> 
> # CONFIG_DEVFS_MOUNT is not set
> 
> but the kernel compiled with this .config, gets stuck after
> 
> VFS: Mounted root (romfs filesystem) readonly.


This is good :-) It finds a rootfs and can mount it. Usually things
already fail at this stage.

> (this is the line before   "Mounted devfs on /dev ", which does not appear now)
> 
> I repeat the process unsetting also devfs_fs in .config
> 
> # CONFIG_DEVFS_FS is not set
> 
> with the same result.. and now I don't know what can I do.


Ok can you loop mount your filesystem? Normally this should be possible
with any normal kernel. Check if the directory structure in the
filesystem contains the following : /dev (with device
nodes.), /etc, /bin, /sbin ... And if they are similar to what you have
in /var/rootfs-m68k.

Another possibility might be that /dev on your fs does not contain the
correct device node for the serial port. This way you won't see any
output. So it might actually boot. Try to
change /var/rootfs-m68k/etc/init.d/rcS to include a an ifconfig line (if
you have network (ex. ifconfig eth0 192.168.1.1) and try to ping it. If
it responds you are sure that it boots up fine.

> Thanks a lot for your advices Philippe.

You're welcome.

Greets,

Philippe
-- 
 
| Philippe De Swert       
|      
| Stag developer http://stag.mind.be/  
| Emdebian developer: http://www.emdebian.org  
|   
| Please do not send me documents in a closed
| format.(*.doc,*.xls,*.ppt)    
| Use the open alternatives. (*.pdf,*.ps,*.html,*.txt)    
| http://www.gnu.org/philosophy/no-word-attachments.html  




Reply to: