On 03/07/2013 12:00 AM, richard -rw- weinberger wrote: > On Wed, Mar 6, 2013 at 7:24 PM, richard -rw- weinberger > <richard.weinber...@gmail.com> wrote: >> On Wed, Mar 6, 2013 at 7:10 PM, Toralf Förster <toralf.foers...@gmx.de> >> wrote: >>> On 03/06/2013 12:32 AM, richard -rw- weinberger wrote: >>>> What is your console? I suspect it is not stdio_console. >>> >>> I tried both with "con=pts con0=fd:0,fd:1" as well as without specifying >>> console/tty at the command line - no difference. >>> >>> But for completeness I attached the .config I used >> >> Hmm, funny. There is a second issue which affects only i386. >> /me looks. > > Found the issue. A very nasty use-after-free tty issue which happened > only sometimes. > Please test the attached patch. > /me tested x86_64 and x86 successfully. >
issue is fixed here too - thx. FWIW something like "con=pts con0=fd:0,fd:1" is now mandatory, otherwise an xterm is open and user root can login, but I experienced strange things with my Gentoo : ... * Caching service dependencies ... Service `apache2' needs non existent service `net' Service `bootmisc' needs non existent service `localmount' [ ok ] * ERROR: bootmisc needs service(s) localmount INIT: Entering runlevel: 3 * ERROR: apache2 needs service(s) net * ERROR: bootmisc needs service(s) localmount ------------[ cut here ]------------ WARNING: at drivers/tty/tty_buffer.c:428 flush_to_ldisc+0x51/0x190() tty is NULL 3851fea0: [<08342748>] dump_stack+0x22/0x24 3851feb8: [<0807d0ea>] warn_slowpath_common+0x5a/0x80 3851fee0: [<0807d15e>] warn_slowpath_fmt+0x2e/0x30 3851fef8: [<0827d6a1>] flush_to_ldisc+0x51/0x190 3851ff2c: [<0809254a>] process_one_work+0x1ba/0x2f0 3851ff70: [<0809355c>] worker_thread+0x25c/0x360 3851ffa4: [<08097fe2>] kthread+0xc2/0xd0 3851ffec: [<0805f84a>] new_thread_handler+0x7a/0xa0 3851fffc: [<00000000>] 0x0 ---[ end trace 42be3b31debefcab ]--- ------------[ cut here ]------------ WARNING: at drivers/tty/tty_buffer.c:428 flush_to_ldisc+0x51/0x190() tty is NULL 3851fea0: [<08342748>] dump_stack+0x22/0x24 3851feb8: [<0807d0ea>] warn_slowpath_common+0x5a/0x80 3851fee0: [<0807d15e>] warn_slowpath_fmt+0x2e/0x30 3851fef8: [<0827d6a1>] flush_to_ldisc+0x51/0x190 3851ff2c: [<0809254a>] process_one_work+0x1ba/0x2f0 3851ff70: [<0809355c>] worker_thread+0x25c/0x360 3851ffa4: [<08097fe2>] kthread+0xc2/0xd0 3851ffec: [<0805f84a>] new_thread_handler+0x7a/0xa0 3851fffc: [<00000000>] 0x0 ---[ end trace 42be3b31debefcac ]--- ------------[ cut here ]------------ WARNING: at drivers/tty/tty_buffer.c:428 flush_to_ldisc+0x51/0x190() tty is NULL 3851fea0: [<08342748>] dump_stack+0x22/0x24 3851feb8: [<0807d0ea>] warn_slowpath_common+0x5a/0x80 3851fee0: [<0807d15e>] warn_slowpath_fmt+0x2e/0x30 3851fef8: [<0827d6a1>] flush_to_ldisc+0x51/0x190 3851ff2c: [<0809254a>] process_one_work+0x1ba/0x2f0 3851ff70: [<0809355c>] worker_thread+0x25c/0x360 3851ffa4: [<08097fe2>] kthread+0xc2/0xd0 3851ffec: [<0805f84a>] new_thread_handler+0x7a/0xa0 3851fffc: [<00000000>] 0x0 ---[ end trace 42be3b31debefcad ]--- ------------[ cut here ]------------ WARNING: at drivers/tty/tty_buffer.c:428 flush_to_ldisc+0x51/0x190() tty is NULL 3851fea0: [<08342748>] dump_stack+0x22/0x24 3851feb8: [<0807d0ea>] warn_slowpath_common+0x5a/0x80 3851fee0: [<0807d15e>] warn_slowpath_fmt+0x2e/0x30 3851fef8: [<0827d6a1>] flush_to_ldisc+0x51/0x190 3851ff2c: [<0809254a>] process_one_work+0x1ba/0x2f0 3851ff70: [<0809355c>] worker_thread+0x25c/0x360 3851ffa4: [<08097fe2>] kthread+0xc2/0xd0 3851ffec: [<0805f84a>] new_thread_handler+0x7a/0xa0 3851fffc: [<00000000>] 0x0 ---[ end trace 42be3b31debefcae ]--- ------------[ cut here ]------------ WARNING: at drivers/tty/tty_buffer.c:428 flush_to_ldisc+0x51/0x190() tty is NULL 3851fea0: [<08342748>] dump_stack+0x22/0x24 3851feb8: [<0807d0ea>] warn_slowpath_common+0x5a/0x80 3851fee0: [<0807d15e>] warn_slowpath_fmt+0x2e/0x30 3851fef8: [<0827d6a1>] flush_to_ldisc+0x51/0x190 3851ff2c: [<0809254a>] process_one_work+0x1ba/0x2f0 3851ff70: [<0809355c>] worker_thread+0x25c/0x360 3851ffa4: [<08097fe2>] kthread+0xc2/0xd0 3851ffec: [<0805f84a>] new_thread_handler+0x7a/0xa0 3851fffc: [<00000000>] 0x0 ---[ end trace 42be3b31debefcaf ]--- ------------[ cut here ]------------ WARNING: at drivers/tty/tty_buffer.c:428 flush_to_ldisc+0x51/0x190() tty is NULL 3851fea0: [<08342748>] dump_stack+0x22/0x24 3851feb8: [<0807d0ea>] warn_slowpath_common+0x5a/0x80 3851fee0: [<0807d15e>] warn_slowpath_fmt+0x2e/0x30 3851fef8: [<0827d6a1>] flush_to_ldisc+0x51/0x190 3851ff2c: [<0809254a>] process_one_work+0x1ba/0x2f0 3851ff70: [<0809355c>] worker_thread+0x25c/0x360 3851ffa4: [<08097fe2>] kthread+0xc2/0xd0 3851ffec: [<0805f84a>] new_thread_handler+0x7a/0xa0 3851fffc: [<00000000>] 0x0 ---[ end trace 42be3b31debefcb0 ]--- ------------[ cut here ]------------ WARNING: at drivers/tty/tty_buffer.c:428 flush_to_ldisc+0x51/0x190() tty is NULL 3851fea0: [<08342748>] dump_stack+0x22/0x24 3851feb8: [<0807d0ea>] warn_slowpath_common+0x5a/0x80 3851fee0: [<0807d15e>] warn_slowpath_fmt+0x2e/0x30 3851fef8: [<0827d6a1>] flush_to_ldisc+0x51/0x190 3851ff2c: [<0809254a>] process_one_work+0x1ba/0x2f0 3851ff70: [<0809355c>] worker_thread+0x25c/0x360 3851ffa4: [<08097fe2>] kthread+0xc2/0xd0 3851ffec: [<0805f84a>] new_thread_handler+0x7a/0xa0 3851fffc: [<00000000>] 0x0 ---[ end trace 42be3b31debefcb1 ]--- ------------[ cut here ]------------ WARNING: at drivers/tty/tty_buffer.c:428 flush_to_ldisc+0x51/0x190() tty is NULL 3851fea0: [<08342748>] dump_stack+0x22/0x24 3851feb8: [<0807d0ea>] warn_slowpath_common+0x5a/0x80 3851fee0: [<0807d15e>] warn_slowpath_fmt+0x2e/0x30 3851fef8: [<0827d6a1>] flush_to_ldisc+0x51/0x190 3851ff2c: [<0809254a>] process_one_work+0x1ba/0x2f0 3851ff70: [<0809355c>] worker_thread+0x25c/0x360 3851ffa4: [<08097fe2>] kthread+0xc2/0xd0 3851ffec: [<0805f84a>] new_thread_handler+0x7a/0xa0 3851fffc: [<00000000>] 0x0 ---[ end trace 42be3b31debefcb2 ]--- ------------[ cut here ]------------ WARNING: at drivers/tty/tty_buffer.c:428 flush_to_ldisc+0x51/0x190() tty is NULL 3851fea0: [<08342748>] dump_stack+0x22/0x24 3851feb8: [<0807d0ea>] warn_slowpath_common+0x5a/0x80 3851fee0: [<0807d15e>] warn_slowpath_fmt+0x2e/0x30 3851fef8: [<0827d6a1>] flush_to_ldisc+0x51/0x190 3851ff2c: [<0809254a>] process_one_work+0x1ba/0x2f0 3851ff70: [<0809355c>] worker_thread+0x25c/0x360 3851ffa4: [<08097fe2>] kthread+0xc2/0xd0 3851ffec: [<0805f84a>] new_thread_handler+0x7a/0xa0 3851fffc: [<00000000>] 0x0 ---[ end trace 42be3b31debefcb3 ]--- ------------[ cut here ]------------ WARNING: at drivers/tty/tty_buffer.c:428 flush_to_ldisc+0x51/0x190() tty is NULL 3851fea0: [<08342748>] dump_stack+0x22/0x24 3851feb8: [<0807d0ea>] warn_slowpath_common+0x5a/0x80 3851fee0: [<0807d15e>] warn_slowpath_fmt+0x2e/0x30 3851fef8: [<0827d6a1>] flush_to_ldisc+0x51/0x190 3851ff2c: [<0809254a>] process_one_work+0x1ba/0x2f0 3851ff70: [<0809355c>] worker_thread+0x25c/0x360 3851ffa4: [<08097fe2>] kthread+0xc2/0xd0 3851ffec: [<0805f84a>] new_thread_handler+0x7a/0xa0 3851fffc: [<00000000>] 0x0 ---[ end trace 42be3b31debefcb4 ]--- flush_to_ldisc: 2 callbacks suppressed ------------[ cut here ]------------ WARNING: at drivers/tty/tty_buffer.c:428 flush_to_ldisc+0x51/0x190() tty is NULL 3851fea0: [<08342748>] dump_stack+0x22/0x24 3851feb8: [<0807d0ea>] warn_slowpath_common+0x5a/0x80 3851fee0: [<0807d15e>] warn_slowpath_fmt+0x2e/0x30 3851fef8: [<0827d6a1>] flush_to_ldisc+0x51/0x190 3851ff2c: [<0809254a>] process_one_work+0x1ba/0x2f0 3851ff70: [<0809355c>] worker_thread+0x25c/0x360 3851ffa4: [<08097fe2>] kthread+0xc2/0xd0 3851ffec: [<0805f84a>] new_thread_handler+0x7a/0xa0 3851fffc: [<00000000>] 0x0 ---[ end trace 42be3b31debefcb5 ]--- ------------[ cut here ]------------ WARNING: at drivers/tty/tty_buffer.c:428 flush_to_ldisc+0x51/0x190() tty is NULL 3851fea0: [<08342748>] dump_stack+0x22/0x24 3851feb8: [<0807d0ea>] warn_slowpath_common+0x5a/0x80 3851fee0: [<0807d15e>] warn_slowpath_fmt+0x2e/0x30 3851fef8: [<0827d6a1>] flush_to_ldisc+0x51/0x190 3851ff2c: [<0809254a>] process_one_work+0x1ba/0x2f0 3851ff70: [<0809355c>] worker_thread+0x25c/0x360 3851ffa4: [<08097fe2>] kthread+0xc2/0xd0 3851ffec: [<0805f84a>] new_thread_handler+0x7a/0xa0 3851fffc: [<00000000>] 0x0 ---[ end trace 42be3b31debefcb6 ]--- ------------[ cut here ]------------ WARNING: at drivers/tty/tty_buffer.c:428 flush_to_ldisc+0x51/0x190() tty is NULL 3851fea0: [<08342748>] dump_stack+0x22/0x24 3851feb8: [<0807d0ea>] warn_slowpath_common+0x5a/0x80 3851fee0: [<0807d15e>] warn_slowpath_fmt+0x2e/0x30 3851fef8: [<0827d6a1>] flush_to_ldisc+0x51/0x190 3851ff2c: [<0809254a>] process_one_work+0x1ba/0x2f0 3851ff70: [<0809355c>] worker_thread+0x25c/0x360 3851ffa4: [<08097fe2>] kthread+0xc2/0xd0 3851ffec: [<0805f84a>] new_thread_handler+0x7a/0xa0 3851fffc: [<00000000>] 0x0 ---[ end trace 42be3b31debefcb7 ]--- ------------[ cut here ]------------ WARNING: at drivers/tty/tty_buffer.c:428 flush_to_ldisc+0x51/0x190() tty is NULL 3851fea0: [<08342748>] dump_stack+0x22/0x24 3851feb8: [<0807d0ea>] warn_slowpath_common+0x5a/0x80 3851fee0: [<0807d15e>] warn_slowpath_fmt+0x2e/0x30 3851fef8: [<0827d6a1>] flush_to_ldisc+0x51/0x190 3851ff2c: [<0809254a>] process_one_work+0x1ba/0x2f0 3851ff70: [<0809355c>] worker_thread+0x25c/0x360 3851ffa4: [<08097fe2>] kthread+0xc2/0xd0 3851ffec: [<0805f84a>] new_thread_handler+0x7a/0xa0 3851fffc: [<00000000>] 0x0 ---[ end trace 42be3b31debefcb8 ]--- ------------[ cut here ]------------ WARNING: at drivers/tty/tty_buffer.c:428 flush_to_ldisc+0x51/0x190() tty is NULL 3851fea0: [<08342748>] dump_stack+0x22/0x24 3851feb8: [<0807d0ea>] warn_slowpath_common+0x5a/0x80 3851fee0: [<0807d15e>] warn_slowpath_fmt+0x2e/0x30 3851fef8: [<0827d6a1>] flush_to_ldisc+0x51/0x190 3851ff2c: [<0809254a>] process_one_work+0x1ba/0x2f0 3851ff70: [<0809355c>] worker_thread+0x25c/0x360 3851ffa4: [<08097fe2>] kthread+0xc2/0xd0 3851ffec: [<0805f84a>] new_thread_handler+0x7a/0xa0 3851fffc: [<00000000>] 0x0 ---[ end trace 42be3b31debefcb9 ]--- ------------[ cut here ]------------ WARNING: at drivers/tty/tty_buffer.c:428 flush_to_ldisc+0x51/0x190() tty is NULL 3851fea0: [<08342748>] dump_stack+0x22/0x24 3851feb8: [<0807d0ea>] warn_slowpath_common+0x5a/0x80 3851fee0: [<0807d15e>] warn_slowpath_fmt+0x2e/0x30 3851fef8: [<0827d6a1>] flush_to_ldisc+0x51/0x190 3851ff2c: [<0809254a>] process_one_work+0x1ba/0x2f0 3851ff70: [<0809355c>] worker_thread+0x25c/0x360 3851ffa4: [<08097fe2>] kthread+0xc2/0xd0 3851ffec: [<0805f84a>] new_thread_handler+0x7a/0xa0 3851fffc: [<00000000>] 0x0 ---[ end trace 42be3b31debefcba ]--- INIT: Switching to runlevel: 0 INIT: Sending processes the TERM signal System halted. -- MfG/Sincerely Toralf Förster pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3 ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user