From: Ian L. <Ian...@mq...> - 2004-02-04 05:45:55
|
> What happens here is probably that Linux boots, and then exists for > some reason from one of the co_terminate() calls, maybe due to a panic. > > At this stage, you can trying writing a script that attaches the console > just when the daemon starts booting Linux in order to catch it. My initial > intention was that the daemon itself would be given a switch that would > instruct it to launch a console when the boot starts. Using two dos windows to do the same .. I line the two commands up .. hit enter on the first, click the second and hit enter ... my timing is right, but the whole process is too quick. The console-monitor only manages to draw its frame before the daemon starts to shut things down. Maybe what would help is a debug version of the daemon, where it doesn't close down the monitor on exit (?) .. this would mean rebooting the machine between tests, but at this stage its better than not being able to get any info at all. Alternatively, a version of daemon that writes console output to a text file (like a "dmesg" style output) would also be very useful. Hmm .. if it calls co_terminate then perhaps I could get this function to sleep for a minute within the linux kernel itself ... might help. This I could have a look at. -- Ian Latter Internet and Networking Security Officer Macquarie University Meet me at the Australian Unix and open systems User Group (AUUG) Security Symposium; 2004 http://www.auug.org.au/events/2004/security/ |