Impossible to open the root console with 2.6.15

Jean-Marie Teuler jean-marie.teuler at lcp.u-psud.fr
Wed May 3 23:36:08 EST 2006


Hi there,

I am trying to use ELDK 4.0 on my TQM860L board.

I have compiled the included 2.6.15 kernel with reasonable options, but
when I try to boot it, I do not get the prompt after the message
"Uncompressing Kernel Image ... OK"

Actually, I know that the system is not hanging because
1) I see there is network traffic between the board and the NFS server
2) There are messages written in /var/log/messages, and I see that the
initialization is completed (even my /etc/rc.local has been executed)

So I suspect that the problem comes from reading/writing on the console.
As my /etc/inittab has the line
...............................................
3:2345:respawn:/sbin/mingetty --noclear console
...............................................
I have put a wrapper around the binary "mingetty" and I have checked
that indeed it is called... only that I do not see anything on the
screen.

I am pretty sure that this problem is related to the kernel because if I
boot on a 2.4 kernel with the same root filesystem everything works
fine.

With the 2.4 kernel I had the following messages in /var/log/messages
.................................................................
Jan 22 12:16:34 tqm kernel: ttyS0 at 0x0280 is on SMC1 using BRG1
Jan 22 12:16:34 tqm kernel: ttyS1 at 0x0380 is on SMC2 using BRG2
.................................................................

and with the 2.6
......................................................................
Jan 26 20:25:26 tqm kernel: ttyCPM0 at MMIO 0xfff00a80 (irq = 20) is a
CPM UART
Jan 26 20:25:26 tqm kernel: ttyCPM1 at MMIO 0xfff00a90 (irq = 19) is a
CPM UART
......................................................................

I have tried to create these devices with the following characteristics:
......................................................................
crw-rw---- 1 root root 204, 46 mai  3 14:43 dev/ttyCPM0
crw-rw---- 1 root root 204, 47 mai  3 14:43 dev/ttyCPM1
......................................................................
but to no avail.

I have seen that there are many new options related to serial lines in
the new kernel, so I guess that I am doing something wrong.

Thanks in advance for any hint.

Jean-Marie Teuler

........................................................................
: Jean-Marie Teuler              :                                     :
: Laboratoire de Chimie Physique :  Téléphone (33) (1) 69 15 42 05     :
: Université de Paris-sud        :  Télécopie (33) (1) 69 15 61 88     :
: Bâtiment 349                   :  Mél       teuler at lcp.u-psud.fr     :
: 91 405 Orsay Cedex             :  Web       http://www.lcp.u-psud.fr :
........................................................................




More information about the Linuxppc-embedded mailing list