Jarod Wilson wrote:
On Wednesday 16 April 2008 05:55:32 am John Summerfield wrote:
Jarod Wilson wrote:
Doesn't help you in the least right now, but note that the idea has been
tossed around in Fedora kernel land about making basic usb-serial support
built into the kernel in rawhide post-Fedora 9 release, the primary
reason being so that one could do serial console output on a usb-serial
adapter...
This is a bit related, so I'll bring it up here, and maybe again on
Fedora test.

I have a problem with 2.6.25 kernels on one of my systems, and so I've
been playing with ways to get stuff logged. The netconsole looks handy,
but I've not managed to get it to work.

I don't want to assign an IP address in the kernel commandline, so it
has to get one.

At present, it doesn't do this, so netconsole doesn't work.

Just for the hell of it, I added "ip=dhcp" as one does for nfs-root.

Then, netconsole failed. After that, the kernel used dhcp to get an IP
address.

Now, if the kernel could get the IP address first, then netconsole would
work and I'd be able to log this problem without fiddling around with
serial cables and other computers.

At first blush, I'm assuming this falls down because there isn't a dhcp client built into the kernel. For nfs root, the dhcp client is actually in the initrd, and I'm guessing netconsole wants to start up even before the initrd has been unpacked.

No, the kernel (if so built) doesn't require an initrd. This worked as far back as 2.2, maybe earlier. It might once have only done bootp, but it's had dhcp for years and years.

I don't know what kernel this fellow was using at http://tldp.org/HOWTO/NFS-Root-3.html

(yes I do, 2.2.19 and 2.4.x)
but I think that Ofer would have been using 2.0 (but he also might have been doing something quite different) here http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/NFS-Root-Client-mini-HOWTO.html



--

Cheers
John

-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to