From: Greg KH <greg@kroah.com>
To: Thomas Molina <tmolina@cablespeed.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Zwane Mwaikambo <zwane@linuxpower.ca>
Subject: Re: Console on USB
Date: Wed, 20 Aug 2003 09:14:39 -0700 [thread overview]
Message-ID: <20030820161439.GD1354@kroah.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0308192200510.886-100000@localhost.localdomain>
On Tue, Aug 19, 2003 at 10:20:51PM -0500, Thomas Molina wrote:
> I have just spent a very frustrating evening trying to get console on USB
> working. My laptop does not have regular DB-9 serial connectors, only
> USB. So I ordered a USB to serial converter,
Which usb to serial converter? Not all of them work with Linux. Does
this device work with Linux _not_ as a serial console device?
> configured a 2.6.0-test3
> kernel, added a console=/dev/ttyUSB0 to the kernel command line and
> connected this to my desktop with a null modem adapter. However, I am
> unable to get output from this setup on the desktop. On another setup I
> can get a normal serial console output, so I am fairly confident I can set
> things up correctly.
Which "serial console" are you trying to get working? The kernel log
console, or a login console?
> Googling around and doing a search on lkml archives gave some minimal
> help, but I can find very little info past early to mid 2.5 kernels. The
> configuration doesn't quite seem to work the way I read documentation.
> For instance, the web pages I can find indicate I should be able to build
> this modular; however the configuration makes the setting of console on
> usb depend on USB being y and EXPERIMENTAL being defined.
What web page says you can build this modular? You have to build it
into the kernel.
> In /var/log/messages I can see the USB-to-serial converter being recogized
> and the driver being loaded, just before the synaptics touchpad is probed.
Can you show us the relevant part of the kernel logs?
> It looks like things are correct, but, as I said, I am unable to get
> output. Am I headed for frustration, or is there some advice to get good
> results?
You are headed for frustration. USB serial console was a neat hack, but
pretty pointless. It has the following problems:
- can't see oopses before USB starts up, and USB starts up
almost last in the system boot process.
- really can not capture oopses very well as USB is interrupt
driven
- most usb-serial converters have a very small buffer, so you
constantly get over-runs in printing out console messages
(meaning that only a few of the devices will even work
properly, you usually have to buy one of the expensive ones to
see all messages.)
> Is there any advice I might be able to use to get this going? I really
> want to be able to catch some oops output.
Buy a machine with a serial port. That's my recommendation :)
Good luck,
greg k-h
next prev parent reply other threads:[~2003-08-20 16:14 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-20 3:20 Console on USB Thomas Molina
2003-08-20 7:12 ` Zwane Mwaikambo
2003-08-20 7:38 ` stefan.eletzhofer
2003-08-20 16:14 ` Greg KH [this message]
2003-08-20 17:44 ` root
2003-08-20 17:56 ` Valdis.Kletnieks
2003-08-20 18:07 ` Randy.Dunlap
2003-08-20 18:46 ` Valdis.Kletnieks
2003-08-20 19:40 ` root
[not found] <mailman.1061346549.9440.linux-kernel2news@redhat.com>
2003-08-20 4:46 ` Pete Zaitcev
2003-08-20 4:58 ` Randy.Dunlap
2003-08-20 5:11 ` Pete Zaitcev
2003-08-20 7:15 ` Zwane Mwaikambo
-- strict thread matches above, loose matches on Subject: below --
2003-08-20 17:08 John Bradford
2003-08-20 17:08 ` Greg KH
2003-08-20 17:28 John Bradford
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030820161439.GD1354@kroah.com \
--to=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tmolina@cablespeed.com \
--cc=zwane@linuxpower.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox