On Thu, 2011-01-06 at 02:08 AM, Simon Geard wrote:

> ... udevd supports a couple of options that might help, --debug and 
> --debug-trace.

1.  FWIW, udevd-165 does not (no-longer?) have a "--debug-trace" option.
 Maybe it's undocumented now (shades of "Undocumented DOS" of yore :)
 Please see 'man udevd'.

2.  For argument sake, udevd writes to sys.log and daemon.log (identically).

 There are a few things that intrigue me (which might help in my
 non-kdump troubleshooting, if answered positively):

2.1. Udevd is active way before the main partition becomes read-WRITE
 (stemming from a chicken and egg situation, I suppose).
 Be that as it may, where's the mechanism that writes the accumulated
 udevd log  from memory(?) to disk (/var/log/) ultimately (i.e. delayed)?

2.2. Can udevd (syslogd?) output be originally redirected to a different
 partition where it can go instantaneously, so I can find it postmortem
 and deduce the hardware element that bothers Udev?
 syslogd started early for this test, etc.

2.3. More simplistically, can I temporarily mount the main partition writable as
 soon as Udev discovers it and somehow start syslogd?
 As I mentioned, the crash occurs a few "lines" before the end of Udev run,
 i.e. long after Udev "sees" the partitions.
 Would syslogd start writing udevd output to disk immediately?
 That would involve creating an appropriate rule with some action in it, etc.
 Maybe splitting the udevd logic in two phases..., etc.

I'd appreciate your thoughts.
If 2.1-3 above too crazy, please disregard with my apologies.

Thanks,
-- Alex
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to