xfs
[Top] [All Lists]

Re: Can't get initial console

To: utz lehmann <xfs@xxxxxxxxxx>
Subject: Re: Can't get initial console
From: James Simmons <jsimmons@xxxxxxxx>
Date: Thu, 18 Jan 2001 12:51:00 -0800 (PST)
Cc: "Marcelo E. Magallon" <marcelo.magallon@xxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <20010118195226.A28945@xxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
> 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);

 


<Prev in Thread] Current Thread [Next in Thread>