Re: redirecting printk to the Serial port

Prasad (prasad_s@students.iiit.net)
Mon, 3 Mar 2003 12:58:24 +0530 (IST)


I have seen the Documentation/serial-console.txt and accordingly gave the
kernel arguments console=/dev/ttyS0,9600n8, but even after giving that i
am not getting anything to the other end. To check if the serial
communication was in place... i tried echo "abc" > /dev/ttyS0 and that
worked.

Prasad.

On Sun, 2 Mar 2003, Martin J. Bligh wrote:

> > Got a silly doubt. when trying to insert one of my modules into
> > the kernel, its getting rebooted and unfortunately i am losing all the
> > debug(printk) messages. Can i in some fashion capture all the printk's
> > through the serial port. (I have two linux boxes and a serial cable to
> > connect both of them)
>
> See Documentation/serial-console.txt
>
> M.
>

-- 
Failure is not an option

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/