I too have /dev/null 0 crw-rw-rw- 1 root root 1, 3 Aug 31 2001 null However, Im not using initrd. null, and console devices are in my RAMDISK tho.
On 7/30/05, Josh Boyer <jwboyer at jdub.homelinux.org> wrote: > On Sat, 2005-07-30 at 10:06 +0900, Daniel Ann wrote: > > Hi folks, > > > > Just wondering if anyone could lend a hand with this problem I have > > with serial console. I'm trying to boot up my board (very similar to > > sandpoint using MPC8245) with kernel 2.6.12.3, and most of it is > > working but console will display up to, > > [snip] > > RAMDISK: Compressed image found at block 0 > > VFS: Mounted root (ext2 filesystem) readonly. > > Freeing unused kernel memory: 112k init > > > > I've done series of printk in sys_execve() to see if /sbin/init is > > working, and found out it went thru the whole rcS file okay. Mind you, > > printk is successfully displaying the output on the console while I'm > > still not getting anything from the user processes. > > > > Having all the kernel boot up log on console means that I've done some > > part right. But why am I not getting anything from the user processes > > on the console screen ? > > > > Is there anything I need to do on the kernel config ? > > Do you have a /dev/console device node in your initrd? If not, that is > one of the reasons you could be seeing that problem. Make > sure /dev/null is there too. > > josh > > -- Daniel