Re: Warning: unable to open an initial console.

From: young dave
Date: Tue Apr 03 2007 - 21:54:00 EST


Hi;
The errno "-6" is defined as:
#define ENXIO 6 /* No such device or address*/

You can try to retrieve the rootfs and add the necessary device file
to it, then reflash the rootfs.

I'm Sorry, I have no embedded environment to test.

Regards
dave


2007/4/3, Tom Strader <tom.strader@xxxxxxxxxx>:
Hi Dave,
I'm not sure if I follow. How do I use mknod with no console to use it
from? Can this be done in the init scripts or from u-boot? Still
learning so any help would be appreciated.

I was able to trace the console opening to __dentry_open() in fs/open.c
It does open(inode, f) but returns error -6 if this is any help. I will
try to trace it further to see what is wrong.

Thanks,
Tom





-
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/