From: Blaisorblade <bla...@ya...> - 2007-02-06 16:45:36
|
On Monday 05 February 2007 16:42, Houchen, Thomas wrote: > I'm having some troubles with TTY logging. My host system is Fedora > core 4 w/ 2.6.11-1.1 Kernel. [...] > (note I had to edit this line in the patch file: > INIT_WORK(&tty->SAK_work, NULL); =A0to INIT_WORK(&tty->SAK_work, NULL, > NULL); This is fine, I've verified it. > I actually get a decent looking log(no time stamps or anything though). > However all user input is logged twice (I'm thinking it's getting stdin > and stdout) and I'm seeing shell color code I guess too. > > So if the user in the uml instance runs host% ls -la the log shows > host% llss -llaa > > Is this normal? Is there a way around it? > When trying to use the uml tools on the logs, the tty_log.pl and > playlog.pl give: > > Short file - expected 1095114810 bytes, got 8025 at tty_log.pm line 47. I'm interested in knowing what is 32bit and what is 64bit there, because th= is=20 could be causing some bugs (binary layout and so on). > If I run playlog.pl on the large logs I mentioned above with the binary > data, it just sits there indefinitely. However, looking at this page, it seems that you are supposed to use this=20 syntax - this is what tools expect to see. http://user-mode-linux.sourceforge.net/tty_logging.html =2D-=20 Inform me of my mistakes, so I can add them to my list! Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com |