From: Jeremy H. <jer...@gm...> - 2008-03-03 19:40:26
|
Another thing: if the string passed to the print() function is terminated with a newline ("\n"), they print fine, else, only the two characters. On Mon, Mar 3, 2008 at 11:03 AM, <pa...@pa...> wrote: > Steve Sakoman wrote: > > Freeing init memory: 148K > > Ive > > .udev/ already exists on the static /dev! > > > > The mystery is the source of the "Ive" message. You'll often see > > variants of this text: "IEn", "Ivion 2.", etc. > > Hmmm, just when I was looking for a good reason to > test my brand new 5GB gumstix-oe directory... > > > Hint: > > The garbled messages seem to be from /sbin/init.sysvinit: > INIT: version 2.86 booting (produces "Ive" and "Ivion 2" ?) > INIT: Entering runlevel: 5 (produces "IEn" ?) > > > Workaround: > > --- > gumstix-oe/tmp/work/gumstix-custom-verdex-angstrom-linux-gnueabi/sysvinit- > 2.86-r36/sysvinit-2.86/src/init.c.orig 2008-03-03 18:41:40.000000000+0100 > +++ > gumstix-oe/tmp/work/gumstix-custom-verdex-angstrom-linux-gnueabi/sysvinit- > 2.86-r36/sysvinit-2.86/src/init.c 2008-03-03 19:36:14.000000000 +0100 > @@ -727,6 +727,7 @@ > > if ((fd = console_open(O_WRONLY|O_NOCTTY|O_NDELAY)) >= 0) { > write(fd, s, strlen(s)); > + sleep(1); > close(fd); > } > } > > It looks like either sysvinit is not accessing the console properly, > or the PXA serial driver is losing data on close(). Anyone, feel > free to confirm and fix this and claim the goodies :-) > > BTW, running bounties this way will cause lots of duplicated effort. > Maybe contestants should announce publicly when they start working > on a challenge ? > > Pascal > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |