debugging a modern laptop ...

From: Herbert Poetzl
Date: Wed Mar 23 2011 - 00:01:46 EST



Greetings!

I'm trying to evaluate my options on debugging a recent
laptop/notebook/table (and the Linux kernel on it of course)
from early bootup to diagnostics when the machine has locked
up ...

normally the first thing I would do is to attach a serial
console to monitor the early bootup and have some way to
send sysrq triggers ... but here is the first problem,
the thing might not even have a serial port at all ...

most modern devices have at least one usb port, but as far
as I could figure out via google, there is no support for
console or similar over usb (serial or not) atm
(please feel free to correct me here :)

after some research, I also found a quite antique project
exploiting the ieee1394 DMA feature, called firescope and
after some issues finding the latest version of the tool and
of course getting a firewire cable, there seems to be some
kind of interaction between the monitoring system and the
device in question, but it seems that a few problems exist
and I didn't manage to get any relevant information that
way yet (please let me know if that is still maintained)

finally, ethernet and netconsole, which seems to work
reasonably well, at least for the console logging part but
requires at least a supported 'wired' ethernet interface
and a few tricks to send commands to the device ...
(but only partially suited or early bootup of course)

have I missed something?

what about bluetooth? (usually requires USB)
what about wireless? (probably quite problematic)

maybe a new kind of debug interface is needed in the
near future?

any ideas and real world experiences are more than
welcome ...

many thanks in advance,
Herbert

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