LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Directing printk to serial console (https://www.linuxquestions.org/questions/linux-newbie-8/directing-printk-to-serial-console-759064/)

csohns 10-01-2009 03:54 PM

Directing printk to serial console
 
I've been reading around the net about how to do this. Everyone directs me to Documentation/serial-console.txt.

I've added `console=ttyS0,115200n8 console=tty0' to my boot parameters and `T0:23:respawn:/sbin/getty -L ttyS0 115200 vt100' to my inittab.

That all works fine, I get my serial console. Heck, this machine is fancy enough to be able to redirect all pre-OS boot text to the serial term, so I can see the entire boot process, can access CMOS and the bootloader (yay!). Unfortunately I still am not getting the printk messages.

What am I missing?

smeezekitty 10-01-2009 08:22 PM

printk probably pokes directly to screen memory
you will have to change the source

csohns 10-02-2009 12:44 PM

Quote:

Originally Posted by smeezekitty (Post 3704418)
printk probably pokes directly to screen memory
you will have to change the source

I looked at printk.c yesterday, it sends messages to a list of terms handed to it by init.

smeezekitty 10-03-2009 01:59 AM

huh, thats strange but its probably fixed to output on THAT computer.


All times are GMT -5. The time now is 02:59 AM.