Discussion:
Debian Live Lenny with live-getty on serial port
Mark Gannon
2008-12-15 18:11:28 UTC
Permalink
Folks,

I'm trying to build a Debian Live USB implementation based on Lenny. I would
like to redirect the login prompt from VGA to the serial port.

In reading through past posts on the subject, the following boot paramters
should work:

live live-getty console=ttyS0,38400n8

The only content that appears on the serial interface is the console output.
There is never a login prompt.

Thanks in advance for your help.

Regards,

Mark Gannon
--
Getting your ducks in a row is not nearly as powerful
as actually doing something with your duck.

--Seth Godin
Frédéric BOITEUX
2008-12-16 07:53:15 UTC
Permalink
Post by Mark Gannon
Folks,
I'm trying to build a Debian Live USB implementation based on Lenny. I would
like to redirect the login prompt from VGA to the serial port.
In reading through past posts on the subject, the following boot paramters
live live-getty console=ttyS0,38400n8
The only content that appears on the serial interface is the console output.
There is never a login prompt.
Hello,

I'm using debian-live system through a serial port with following
kernel cmdline :

boot=live live-getty [... other options...] console=tty0 console=ttyS1,115200n8

so your system should work. Which live-helper/live-initramfs versions
did you use ? If your system has also VGA output, do you have logins on
virtual consoles ?
Or perhaps your problem comes from your customization ? you could try
to add a ssh server to your live system to connect to it by net and see
what is going on...

hope it helps,
Fred.
--
To UNSUBSCRIBE, email to debian-live-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Mark Gannon
2008-12-16 16:00:24 UTC
Permalink
Post by Frédéric BOITEUX
boot=live live-getty [... other options...] console=tty0
console=ttyS1,115200n8
Changing my boot paraemeters (based on the above) from:

live live-getty console=ttyS0,38400n8

to:

live live-getty console=tty0 console=ttyS0,38400n8

Changed the behavior so that I now get a shell prompt on the serial port after
the console output appears.

Thanks!

Regards,

Mark Gannon
--
Getting your ducks in a row is not nearly as powerful
as actually doing something with your duck.

--Seth Godin
Alex Owen
2008-12-16 17:13:38 UTC
Permalink
Post by Mark Gannon
Post by Frédéric BOITEUX
boot=live live-getty [... other options...] console=tty0
console=ttyS1,115200n8
live live-getty console=ttyS0,38400n8
live live-getty console=tty0 console=ttyS0,38400n8
Changed the behavior so that I now get a shell prompt on the serial port after
the console output appears.
That is odd!
I wrote the original live-getty and auto serial console code.
I have not looked at the current code but if we NEED "console=tty0"
followed by "console=ttyS0,38400n8" for a serial console prompt then
that is a BUG!

Glad there is a work around though!

Alex Owen
--
To UNSUBSCRIBE, email to debian-live-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Frédéric BOITEUX
2008-12-17 09:05:37 UTC
Permalink
Post by Alex Owen
That is odd!
I wrote the original live-getty and auto serial console code.
I have not looked at the current code but if we NEED "console=tty0"
followed by "console=ttyS0,38400n8" for a serial console prompt then
that is a BUG!
Yes, I'm agree. I've added "console=tty0" to have *also* console
messages on the VGA port...

I've tried to boot a Debian Live system (latest
live-helper/initramfs) with only console=ttyS1,..., and I get a bash
prompt at the end of boot, as expected.

Fred.
--
To UNSUBSCRIBE, email to debian-live-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Alex Owen
2008-12-17 11:13:37 UTC
Permalink
écrit :.
Post by Alex Owen
I have not looked at the current code but if we NEED "console=tty0"
followed by "console=ttyS0,38400n8" for a serial console prompt then
that is a BUG!
I've tried to boot a Debian Live system (latest
live-helper/initramfs) with only console=ttyS1,..., and I get a bash
prompt at the end of boot, as expected.
OK so no bug! Phew!

Thanks for testing and explaining what happens!
Glad it is working as expected.
Alex Owen
--
To UNSUBSCRIBE, email to debian-live-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Loading...