2012-06-03 09:35:30

by Toralf Förster

[permalink] [raw]
Subject: linux-v3.5-rc1: start of a user mode linux produces a core file

Whenever I start an UML image, I get a core file (nevertheless the UML
starts up fine).

The gdb back trace is :


Core was generated by `/usr/local/bin/linux-v3.5-rc1 earlyprintk
ubda=/home/tfoerste/virtual/uml/gento'.
Program terminated with signal 11, Segmentation fault.
#0 0x0808e1c4 in sigsuspend (set=0x21b16f48) at kernel/signal.c:3258
3258 current->saved_sigmask = current->blocked;
(gdb) bt
#0 0x0808e1c4 in sigsuspend (set=0x21b16f48) at kernel/signal.c:3258
#1 0x08063a30 in winch_thread (arg=0x219c3c58) at
arch/um/drivers/chan_user.c:210
#2 0xb77303ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133


v3.4 works fine, output of
$> /usr/local/bin/linux-v3.5-rc1 --showconfig > uml.config
is attached.


--
MfG/Sincerely
Toralf F?rster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3


Attachments:
uml.config (21.19 kB)

2012-06-03 09:41:09

by Richard Weinberger

[permalink] [raw]
Subject: Re: linux-v3.5-rc1: start of a user mode linux produces a core file

On Sun, Jun 3, 2012 at 11:35 AM, Toralf F?rster <[email protected]> wrote:
> Whenever I start an UML image, I get a core file (nevertheless the UML
> starts up fine).
>
> The gdb back trace is :
>
>
> Core was generated by `/usr/local/bin/linux-v3.5-rc1 earlyprintk
> ubda=/home/tfoerste/virtual/uml/gento'.
> Program terminated with signal 11, Segmentation fault.
> #0 ?0x0808e1c4 in sigsuspend (set=0x21b16f48) at kernel/signal.c:3258
> 3258 ? ? ? ? ? ?current->saved_sigmask = current->blocked;
> (gdb) bt
> #0 ?0x0808e1c4 in sigsuspend (set=0x21b16f48) at kernel/signal.c:3258
> #1 ?0x08063a30 in winch_thread (arg=0x219c3c58) at
> arch/um/drivers/chan_user.c:210
> #2 ?0xb77303ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Al and I currently working on -rc1.
There are TTY and signal issues.

Stay tuned.

--
Thanks,
//richard

2012-06-04 13:56:36

by Toralf Förster

[permalink] [raw]
Subject: Re: linux-v3.5-rc1: start of a user mode linux produces a core file

On 06/03/2012 11:41 AM, richard -rw- weinberger wrote:
> Al and I currently working on -rc1.
> There are TTY and signal issues.
>
> Stay tuned.
>
Yep - there's something wired. The current git version cannot be started
in background, meaning that something like
$>./linux ... con=pts con0=fd:0,fd:1 con1=pts con12=pts ... &

creates 3 processes called "linux" - and the output doesn't continue after :

...
NET: Registered protocol family 17
Key type dns_resolver registered
initlevel:7=late, 21 registered initcalls
Initialized stdio console driver




--
MfG/Sincerely
Toralf F?rster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3