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

From: Michael Gernoth <mlists_at_zerfleddert.de>
Date: Sat, 24 Sep 2005 13:45:19 +0200

On Fri, Sep 23, 2005 at 09:45:33AM +0200, Adam Pribyl wrote:
> 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

Yep.

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

Gnrf, I've always seen a special-char on the end of the command-line
when booting 2.4 and I've ignored it... I also always edit the
params.txt with vim, which automatically puts a cr-lf after the last
line, so that's why it works for me.

I would blame linexec, too, as it is really ugly ;-)
But I can't see what is wrong in setup_linux_params in boot.cpp
at the moment:
http://cvs.zerfleddert.de/cgi-bin/viewcvs.cgi/linexec-j720/boot.cpp?view=markup
But I certainly wonder what the 3 ? are:
// must be at least +3!! 1 for the null and 2 for the ???

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

As the kernel is now able to initialize pcmcia-slots by itself, the
initrd is theoretically no longer needed, and the kernel needs to know
where the root-fs is.

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

Hm, no idea. But from your log, it looks like it's triggered by the
initrd.

> > My final exam is on the 10.10., after that I have time to look into
> > interesting things again ;-)
> Final or last this year?:)

Final

Regards,
  Michael
Received on Sat Sep 24 2005 - 07:50:28 EDT

This archive was generated by hypermail 2.2.0 : Sat Sep 24 2005 - 07:50:40 EDT