Re: [jornada] linux-2.4.31-j720-5 released

From: Adam Pribyl <covex_at_ahoj.fsik.cvut.cz>
Date: Fri, 23 Sep 2005 09:45:33 +0200 (CEST)

On Thu, 22 Sep 2005, Michael Gernoth wrote:

> On Tue, Sep 20, 2005 at 10:45:26PM +0200, Adam Pribyl wrote:
> > Without dyn_ticks kernel 2.6.13 works fine.
>
> I'll update the config on my webserver.
>
> > I still do not have luck to see serial console output with any 2.6 kernel
> > (2.4 is OK). I tried also handhelds kernel - also shows nothing. It seems
> > that it is somehow caused by linexec. Is that possible?
>
> That's strange as it is working fine for me. Do you use a HP serial
> cable, or have you soldered the serial-pins to the docking-unit?
> I've tested 2.6 only with a real serial cable, as I was able to
> acquire one.

What I have is the most original HP cable ever made. Really.

> Probably try console=ttySA,115200 and see if that helps.

I assume you meant console=ttySA0,115200

I finaly found what is going on and it is bit complicated.

In kernel messages with this line in params.txt I found:
"Kernel command line: root=/dev/hda2 console=ttySA0,11520"
This is what exactly it says. You can see there is one character missing
at the end. This is either a problem of parsing cmd line in linexec or
least probably in kernel. The solution is to put a DOS new line char
(enter) at the end of params.txt file.

---begin---
\Storage Card\zImage-2.6.13
\Storage Card\initrd-2.4_2.6.gz
root=/dev/hda2 console=ttySA0,115200

---end---

This is not needed with 2.4 kernels, however all these parameters are
needed with 2.6 - if root= is not specified then kernel does not mount
root, if console speed is not specified then console is not working.
If I use only "root=/dev/hda2 console=ttySA0" without newline, then
messages says
"Kernel command line: root=/dev/hda2 console=ttySA0", which seems correct
but console does not work. Speed specification is needed.

BTW: While looking for this I came to another interesting thing with
2.6.13 only. When booting with serial console enabled, the boot stops
after message "ide-cs: hda: Vcc = 3.3, Vpp = 0.0" and waits for any key pressed
in serial console.
This does not happen without serial console or with 2.6.12 or 2.4.
I found this before I was able to get serial output - I was not able to
boot 2.6.13 with console set to serial output.
Full output attached.

> My final exam is on the 10.10., after that I have time to look into
> interesting things again ;-)

Final or last this year?:)

> Regards,
> Michael

Adam Pribyl

Received on Fri Sep 23 2005 - 03:50:40 EDT

This archive was generated by hypermail 2.2.0 : Fri Sep 23 2005 - 03:50:45 EDT