Right, the problem is that xfs does it's own permissions checking, and
there is no special case for opening a device read/write on a readonly
filesystem - which is what happens to the console at boot time.
I am working on the fix, should be along shortly.
Steve
> > i have the same problem:
> >
> > Start mounting filesystem: ide0(3,6)
> > Ending clean XFS mount for filesystem: ide0(3,6)
> > VFS: Mounted root (xfs filesystem) readonly.
> > Freeing unused kernel memory: 200k freed
> > Warning: unable to open an initial console.
> >
> > this happens with console on VT or serial.
>
> Do you have /dev on the XFS partition? Most important you need
> /dev/console on that partition. From linux/init/main.c:
>
> /*
> * Ok, we have completed the initial bootup, and
> * we're essentially up and running. Get rid of the
> * initmem segments and start the user-mode stuff..
> */
> free_initmem();
> unlock_kernel();
>
> if (open("/dev/console", O_RDWR, 0) < 0)
> printk("Warning: unable to open an initial console.\n");
>
> (void) dup(0);
> (void) dup(0);
>
>
|