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); to 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 this 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 syntax - this is what tools expect to see. http://user-mode-linux.sourceforge.net/tty_logging.html -- 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 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user