Summary: | no shell started on serial console using 2004.3 livecd (livecd-tools) | ||
---|---|---|---|
Product: | Gentoo Release Media | Reporter: | Patrick Landry <pml> |
Component: | Everything | Assignee: | Gentoo LiveCD Package Maintainers <livecd> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Patrick Landry
2004-11-30 08:43:13 UTC
Hrrrmn... I'll try to see what is up with this and get a resolution. As for the comments, don't worry about that. We hacked up some stuff to get that going. PING Does anyone know if this has been addressed for 2005.0? It has not been addressed yet. If you have any ideas on how to resolve this, I'm definitely open for suggestions. I'm afraid I do not know nearly enough about the LiveCD boot process to have any real suggestions. I did poke around enough to make the observations that were in the original bug report. Namely, it looks as though the /etc/inittab file is being edited correctly to start the serial console shell yet the init process is not starting it. I presume that either the init process is not paying attention to the file which is located at /etc/inittab after the system is running or that the init process is being started before the edits to the file are being made. Just an update to note that the bug still exists in 2005.0 I dug a little deeper into this today using a 2005.0 boot CD. It is the /sbin/rc script which edits the /etc/inittab file. /sbin/rc calls the function livecd_fix_inittab which is defined in the file /sbin/livecd-functions.sh. The function livecd_fix_inittab adds a line to /etc/inittab to start a shell on the serial console. I noticed that if I commented out the line with id "c1" which livecd_fix_inittab added, ran "telinit q", and then un-commented the line, the console was terminated on /dev/vc/1 and started on the serial console as it should have at boot time. I also noticed that if I replaced the "c1" id field with "c9" on the line that livecd_fix_inittab added and then ran "telinit q" the serial console shell was also started. So there must be some confusion within init about the line which livecd_fix_inittab adds having the id field "c1". I would suggest changing livecd_fix_inittab so that the label on the line which starts the serial console is "c9" or even "c999" rather than "c1". Granted this is a work-around but it should get serial consoles working again when booting off of the live CDs until someone can figure out why init is confused about the line which live_cd_inttab adds with the "c1" id field. Just curious (I have nothing with serial to verify) but what if it is c0 rather than c9? It shouldn't make a difference, correct? The reason why I ask, is I now have control over livecd-functions.sh in livecd-tools, so I can make changes without baselayout bumps. I've currently got it using c0 for the serial consoles, which should work. I beleive that Project Dolphin should be using this updated version of livecd-tools, but I can also understand your reluctance to download such a large ISO, if you have not already. If you're willing to help with more testing (you've been awesome already) then I can build a newer ISO image with the newer livecd-tools to see if this resolves the issue. No response... |