Re: linux-2.6.31 INIT: open(/dev/console): Input/output error (dueto commit b50989dc444599c8b21edc23536fc305f4e9b7d5)

From: Frédéric L. W. Meunier
Date: Fri Sep 25 2009 - 15:47:00 EST


On Sat, 26 Sep 2009, Jeff Chua wrote:

On Sat, Sep 26, 2009 at 12:00 AM, Jeff Chua <jeff.chua.linux@xxxxxxxxx> wrote:
On Fri, Sep 25, 2009 at 11:52 PM, Randy Dunlap <rdunlap@xxxxxxxxxxxx> wrote:
Alan Cox wrote:
Is this going into Linus's branch soon? Otherwise, please kindly post
the full patch so that I can test it instead of pulling 400MB from
Andrew's tree.
I don't have Andrews tty patches here either sorry but I thought he kept
them broken out on kernel.org ?
http://userweb.kernel.org/~akpm/mmotm/
see the broken-out/ subdir.

I see. But that patch is not there. Did find it on google.

http://www.spinics.net/lists/mm-commits/msg71772.html

So, I'll test it now.

Alan, Randy,

That patch works!

Thanks,
Jeff

Here, it doesn't fix http://marc.info/?l=linux-kernel&m=125382651922142&w=2

But I found something in syslog:

Sep 25 16:17:31 pervalidus agetty[1465]: /dev/tty2: No such file or directory
Sep 25 16:17:31 pervalidus agetty[1464]: /dev/tty1: No such file or directory
Sep 25 16:17:31 pervalidus agetty[1466]: /dev/tty3: No such file or directory
...

So, why it works with 2.6.30.7 and not 2.6.30.1 ?

And I also noticed that it takes longer with 2.6.30.7 than before for the login and password prompts to appear.

In /etc/inittab, I have

c1:1235:respawn:/sbin/agetty 38400 tty1 linux
c2:1235:respawn:/sbin/agetty 38400 tty2 linux
c3:1235:respawn:/sbin/agetty 38400 tty3 linux
c4:1235:respawn:/sbin/agetty 38400 vc/4 linux (yes, nothing about vc/4 in the logs)

So, with 2.6.30, udev doesn't create the symlinks from vc/*, or it's something in the kernel that prevents it ?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/