[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <873al81yka.fsf@basil.nowhere.org>
Date: Wed, 13 Aug 2008 21:53:41 +0200
From: Andi Kleen <andi@...stfloor.org>
To: Ingo Molnar <mingo@...e.hu>
Cc: Steven Rostedt <srostedt@...hat.com>,
Bruce Duncan <bwduncan@...il.com>, linux-kernel@...r.kernel.org
Subject: Re: [git pull] ftrace for v2.6.27
Ingo Molnar <mingo@...e.hu> writes:
>
> try latest tip/master plus an USB debug key, then enable
> CONFIG_EARLY_PRINTK_DBGP=y in your .config on the host, add the
> earlyprintk=dbgp,keep boot parameter and reboot [and disable USB for
> good measure]. On the other host you connect to via an USB cable, enable
> USB_SERIAL_DEBUG=y and use /dev/ttyUSB0 with the serial terminal app of
> your choice.
>
> that, as long as the USB ports are operational, gives a working serial
> console on just about any laptop.
Unfortunately the usb debug dongle cables are hard to get and
expensive. A more available alternative would be to use firescope if
your laptop has firewire, because firewire cables are widely
available. The kernel supports early firewire since some time too, so
it can be even used for early debugging. Another advantage is that
firescope can even get data from a dead kernel as long as the firewire
hardware is not disabled.
For details see Documentation/debugging-via-ohci1394.txt
-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists