Re: serial console

2 messages, 2 authors, 2005-10-05 · open the first message on its own page

Re: serial console

From: KokHow Teh <hidden>
Date: 2005-10-05 02:36:07

Hi;
      I have tried with 4 types of command lines with my linux kernel with
devfs and serial device compiled in and none gives me the desired results:

(1)   console=tts/0,115200n8 OR console=ttyCPM0,115200n8

      no serial console output at all during boot time but it gives me
login prompt at the end.

(2)   without "console=" OR console=ttyS0,115200n8

      serial console output fine during bootup but only until the point
when it prints out "Freeing unused kernel memory: 232k init 4k prep". After
that, the serial console output is garbled. No login prompt.

      So this has not solved my problem. I need more advice. Here are some
more questions and observations:

(1)   David Jander's comment:

I don't know exactly what I am talking about right now, but the string
"tts/0"
in the console-line sounds suspicious to me. AFAIK when using devfs still
device names on the kernel-commandline have to be old-style.
Just a guess: try using "console=ttyS0,115200n8" and see if this helps.

      Is it confirmed that kernel-commandline has to be old-style even
though the kernel is using devfs?

(2)   Vitaly Bordug's suggestion of using "console=ttyCPM0". May I know
where is ttyCPM0 defined and how is it bound to the serial console device
driver in the source?

      Thanks for any input and pointer.

Regards,
TEH

Re: serial console

From: Vitaly Bordug <hidden>
Date: 2005-10-05 12:23:41

KokHow Teh wrote:
Hi;
      I have tried with 4 types of command lines with my linux kernel with
devfs and serial device compiled in and none gives me the desired results:

(1)   console=tts/0,115200n8 OR console=ttyCPM0,115200n8

      no serial console output at all during boot time but it gives me
login prompt at the end.

(2)   without "console=" OR console=ttyS0,115200n8

      serial console output fine during bootup but only until the point
when it prints out "Freeing unused kernel memory: 232k init 4k prep". After
that, the serial console output is garbled. No login prompt.

      So this has not solved my problem. I need more advice. Here are some
more questions and observations:

(1)   David Jander's comment:

I don't know exactly what I am talking about right now, but the string
"tts/0"
in the console-line sounds suspicious to me. AFAIK when using devfs still
device names on the kernel-commandline have to be old-style.
Just a guess: try using "console=ttyS0,115200n8" and see if this helps.

      Is it confirmed that kernel-commandline has to be old-style even
though the kernel is using devfs?

(2)   Vitaly Bordug's suggestion of using "console=ttyCPM0". May I know
where is ttyCPM0 defined and how is it bound to the serial console device
driver in the source?
Ummm.. The driver itself is in drivers/serial/cpm_uart. It does have the 
different major than ordinary ttyS... This relates to the 2.6.x kernel 
of course. I could suggest you to try the latest kernel.org release, in 
which you board is known to work fine.
      Thanks for any input and pointer.

Regards,
TEH


-- 
Sincerely,
Vitaly
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help