public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* UML error - apps killed 50% of the time
@ 2010-02-15  6:54 Adam Nielsen
  2010-02-15  9:00 ` Américo Wang
  0 siblings, 1 reply; 10+ messages in thread
From: Adam Nielsen @ 2010-02-15  6:54 UTC (permalink / raw)
  To: LKML Mailinglist

Hi all,

 From my other message I am trying to get a UML kernel running again after an 
OS upgrade, but I am unable to get it working again (on the original machine 
this time, everything is 32-bit.)

When I boot the kernel normally I get tons of error messages, but if I boot it 
with "init=/bin/bash" I can get a command prompt up.  Unfortunately most of 
the time my apps break:

$ ls
bin  boot  dev  etc  home  lib  lost+found  mnt  opt  proc  root  sbin  sys 
tmp  usr  var
$ ls
Killed
$ ls
bin  boot  dev  etc  home  lib  lost+found  mnt  opt  proc  root  sbin  sys 
tmp  usr  var
$ ls
Killed
$ ls
Killed
$ ls
bin  boot  dev  etc  home  lib  lost+found  mnt  opt  proc  root  sbin  sys 
tmp  usr  var

What's going on?  My host dmesg says things like this:

vmlinux[6300] general protection eip:b7ea5124 esp:1785bdfc error:0

Why doesn't UML work any more?  It's running the same filesystem and apps as 
before.  Any help would be much appreciated, I've wasted hours on this now :-(

Thanks,
Adam.

(please CC)

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: UML error - apps killed 50% of the time
  2010-02-15  6:54 UML error - apps killed 50% of the time Adam Nielsen
@ 2010-02-15  9:00 ` Américo Wang
  2010-02-15  9:21   ` Adam Nielsen
  0 siblings, 1 reply; 10+ messages in thread
From: Américo Wang @ 2010-02-15  9:00 UTC (permalink / raw)
  To: Adam Nielsen; +Cc: LKML Mailinglist

On Mon, Feb 15, 2010 at 04:54:20PM +1000, Adam Nielsen wrote:
> Hi all,
>
> From my other message I am trying to get a UML kernel running again after 
> an OS upgrade, but I am unable to get it working again (on the original 
> machine this time, everything is 32-bit.)
>
> When I boot the kernel normally I get tons of error messages, but if I 
> boot it with "init=/bin/bash" I can get a command prompt up.  
> Unfortunately most of the time my apps break:
>
> $ ls
> bin  boot  dev  etc  home  lib  lost+found  mnt  opt  proc  root  sbin  
> sys tmp  usr  var
> $ ls
> Killed
> $ ls
> bin  boot  dev  etc  home  lib  lost+found  mnt  opt  proc  root  sbin  
> sys tmp  usr  var
> $ ls
> Killed
> $ ls
> Killed
> $ ls
> bin  boot  dev  etc  home  lib  lost+found  mnt  opt  proc  root  sbin  
> sys tmp  usr  var
>
> What's going on?  My host dmesg says things like this:
>
> vmlinux[6300] general protection eip:b7ea5124 esp:1785bdfc error:0
>
> Why doesn't UML work any more?  It's running the same filesystem and apps 
> as before.  Any help would be much appreciated, I've wasted hours on this 
> now :-(
>

http://patchwork.kernel.org/patch/79358/

Does this patch help?

Thanks.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: UML error - apps killed 50% of the time
  2010-02-15  9:00 ` Américo Wang
@ 2010-02-15  9:21   ` Adam Nielsen
  2010-02-15 12:27     ` Américo Wang
  0 siblings, 1 reply; 10+ messages in thread
From: Adam Nielsen @ 2010-02-15  9:21 UTC (permalink / raw)
  To: Américo Wang; +Cc: LKML Mailinglist

>> $ ls
>> Killed
>> $ ls
>> Killed
>>
>> vmlinux[6300] general protection eip:b7ea5124 esp:1785bdfc error:0
>>
>> Why doesn't UML work any more?
>
> http://patchwork.kernel.org/patch/79358/
>
> Does this patch help?

Sort of - ls doesn't get killed any more and I can get about half way through 
the boot process before things start getting killed (as opposed to them 
getting killed right away.)

Whatever this patch does, if it could do it twice as much then my problem 
would be solved ;-)

Thanks,
Adam.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: UML error - apps killed 50% of the time
  2010-02-15  9:21   ` Adam Nielsen
@ 2010-02-15 12:27     ` Américo Wang
  2010-02-15 21:28       ` Adam Nielsen
  0 siblings, 1 reply; 10+ messages in thread
From: Américo Wang @ 2010-02-15 12:27 UTC (permalink / raw)
  To: Adam Nielsen; +Cc: Américo Wang, LKML Mailinglist

On Mon, Feb 15, 2010 at 07:21:46PM +1000, Adam Nielsen wrote:
>>> $ ls
>>> Killed
>>> $ ls
>>> Killed
>>>
>>> vmlinux[6300] general protection eip:b7ea5124 esp:1785bdfc error:0
>>>
>>> Why doesn't UML work any more?
>>
>> http://patchwork.kernel.org/patch/79358/
>>
>> Does this patch help?
>
> Sort of - ls doesn't get killed any more and I can get about half way 
> through the boot process before things start getting killed (as opposed 
> to them getting killed right away.)
>
> Whatever this patch does, if it could do it twice as much then my problem 
> would be solved ;-)
>

So what are the errors now? Could you please provide your boot log?

Thanks.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: UML error - apps killed 50% of the time
  2010-02-15 12:27     ` Américo Wang
@ 2010-02-15 21:28       ` Adam Nielsen
  2010-02-20  9:38         ` Américo Wang
  2010-02-20 14:45         ` Américo Wang
  0 siblings, 2 replies; 10+ messages in thread
From: Adam Nielsen @ 2010-02-15 21:28 UTC (permalink / raw)
  To: Américo Wang; +Cc: LKML Mailinglist

> So what are the errors now? Could you please provide your boot log?

Just more random tasks being killed:

  * Calculating module dependencies .../sbin/modules-update: line 73:   967 
Broken pipe             sed -ne 1p "${x}"
        968 Killed                  | egrep -q "^${HEADER}"
  * Mounting local filesystems ... [ ok ]
/etc/init.d/localmount: line 9:   982 Killed                  modprobe usbcore 
 >&/dev/null
  * Cleaning /tmp directory ... [ ok ]
/sbin/depscan.sh: line 21:  1055 Killed                  mkdir -p -m 0755 
"${svcdir}/${x}" 2>/dev/null
  *  Could not create needed directory '/var/lib/init.d/snapshot'!
INIT: Entering runlevel: 3
/lib/rcscripts/sh/rc-services.sh: line 35:  1096 Killed 
/sbin/depscan.sh -u

  * Error running '/sbin/depscan.sh'!
  * Please correct any problems above.
/sbin/functions.sh: line 184:  1098 Killed                  /usr/bin/logger -p 
"${pri}" -t "${tag}" -- "$*"

Cheers,
Adam.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: UML error - apps killed 50% of the time
  2010-02-15 21:28       ` Adam Nielsen
@ 2010-02-20  9:38         ` Américo Wang
  2010-02-20 14:45         ` Américo Wang
  1 sibling, 0 replies; 10+ messages in thread
From: Américo Wang @ 2010-02-20  9:38 UTC (permalink / raw)
  To: Adam Nielsen; +Cc: LKML Mailinglist

On Tue, Feb 16, 2010 at 5:28 AM, Adam Nielsen <a.nielsen@shikadi.net> wrote:
>> So what are the errors now? Could you please provide your boot log?
>
> Just more random tasks being killed:
>
>  * Calculating module dependencies .../sbin/modules-update: line 73:   967
> Broken pipe             sed -ne 1p "${x}"
>       968 Killed                  | egrep -q "^${HEADER}"
>  * Mounting local filesystems ... [ ok ]
> /etc/init.d/localmount: line 9:   982 Killed                  modprobe
> usbcore >&/dev/null
>  * Cleaning /tmp directory ... [ ok ]
> /sbin/depscan.sh: line 21:  1055 Killed                  mkdir -p -m 0755
> "${svcdir}/${x}" 2>/dev/null
>  *  Could not create needed directory '/var/lib/init.d/snapshot'!
> INIT: Entering runlevel: 3
> /lib/rcscripts/sh/rc-services.sh: line 35:  1096 Killed /sbin/depscan.sh -u
>
>  * Error running '/sbin/depscan.sh'!
>  * Please correct any problems above.
> /sbin/functions.sh: line 184:  1098 Killed                  /usr/bin/logger
> -p "${pri}" -t "${tag}" -- "$*"
>

Oh, probably caused by the same commit....

I will check it tonight.

Thank you.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: UML error - apps killed 50% of the time
  2010-02-15 21:28       ` Adam Nielsen
  2010-02-20  9:38         ` Américo Wang
@ 2010-02-20 14:45         ` Américo Wang
  2010-02-21  2:11           ` Adam Nielsen
  1 sibling, 1 reply; 10+ messages in thread
From: Américo Wang @ 2010-02-20 14:45 UTC (permalink / raw)
  To: Adam Nielsen; +Cc: Américo Wang, LKML Mailinglist

On Tue, Feb 16, 2010 at 07:28:06AM +1000, Adam Nielsen wrote:
>> So what are the errors now? Could you please provide your boot log?
>
> Just more random tasks being killed:
>
>  * Calculating module dependencies .../sbin/modules-update: line 73:   
> 967 Broken pipe             sed -ne 1p "${x}"
>        968 Killed                  | egrep -q "^${HEADER}"
>  * Mounting local filesystems ... [ ok ]
> /etc/init.d/localmount: line 9:   982 Killed                  modprobe 
> usbcore >&/dev/null
>  * Cleaning /tmp directory ... [ ok ]
> /sbin/depscan.sh: line 21:  1055 Killed                  mkdir -p -m 0755 
> "${svcdir}/${x}" 2>/dev/null
>  *  Could not create needed directory '/var/lib/init.d/snapshot'!
> INIT: Entering runlevel: 3
> /lib/rcscripts/sh/rc-services.sh: line 35:  1096 Killed /sbin/depscan.sh 
> -u
>
>  * Error running '/sbin/depscan.sh'!
>  * Please correct any problems above.
> /sbin/functions.sh: line 184:  1098 Killed                  
> /usr/bin/logger -p "${pri}" -t "${tag}" -- "$*"
>

I tested it, it is fixed by the updated patch:

http://linux.derkeiler.com/Mailing-Lists/Kernel/2010-02/msg05620.html

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: UML error - apps killed 50% of the time
  2010-02-20 14:45         ` Américo Wang
@ 2010-02-21  2:11           ` Adam Nielsen
  2010-02-21  2:15             ` Américo Wang
  0 siblings, 1 reply; 10+ messages in thread
From: Adam Nielsen @ 2010-02-21  2:11 UTC (permalink / raw)
  To: Américo Wang; +Cc: LKML Mailinglist

>> Just more random tasks being killed:
>> /sbin/functions.sh: line 184:  1098 Killed
>> /usr/bin/logger -p "${pri}" -t "${tag}" -- "$*"
>
> I tested it, it is fixed by the updated patch:
>
> http://linux.derkeiler.com/Mailing-Lists/Kernel/2010-02/msg05620.html

That patch won't apply - if I am reading it correctly it looks like it was 
already part of the original patch (http://patchwork.kernel.org/patch/79358/)

Thanks,
Adam.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: UML error - apps killed 50% of the time
  2010-02-21  2:11           ` Adam Nielsen
@ 2010-02-21  2:15             ` Américo Wang
  2010-02-21  3:10               ` Adam Nielsen
  0 siblings, 1 reply; 10+ messages in thread
From: Américo Wang @ 2010-02-21  2:15 UTC (permalink / raw)
  To: Adam Nielsen; +Cc: LKML Mailinglist

On Sun, Feb 21, 2010 at 10:11 AM, Adam Nielsen <a.nielsen@shikadi.net> wrote:
>>> Just more random tasks being killed:
>>> /sbin/functions.sh: line 184:  1098 Killed
>>> /usr/bin/logger -p "${pri}" -t "${tag}" -- "$*"
>>
>> I tested it, it is fixed by the updated patch:
>>
>> http://linux.derkeiler.com/Mailing-Lists/Kernel/2010-02/msg05620.html
>
> That patch won't apply - if I am reading it correctly it looks like it was
> already part of the original patch
> (http://patchwork.kernel.org/patch/79358/)
>

No, they are different. Sorry that the above page mangles the patch,
please try this one:

http://lkml.org/lkml/diff/2010/2/15/61/1

Thanks.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: UML error - apps killed 50% of the time
  2010-02-21  2:15             ` Américo Wang
@ 2010-02-21  3:10               ` Adam Nielsen
  0 siblings, 0 replies; 10+ messages in thread
From: Adam Nielsen @ 2010-02-21  3:10 UTC (permalink / raw)
  To: Américo Wang; +Cc: LKML Mailinglist

>> That patch won't apply - if I am reading it correctly it looks like it was
>> already part of the original patch
>> (http://patchwork.kernel.org/patch/79358/)
>
> No, they are different. Sorry that the above page mangles the patch,
> please try this one:
>
> http://lkml.org/lkml/diff/2010/2/15/61/1

Oh my mistake, I thought it was to be applied on top of the original patch.  I 
reverted the original patch and applied this one, and it seems to have fixed 
the problem!

I can now fully boot into the UML and run programs again - thanks for your help!

Cheers,
Adam.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-02-21  3:10 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-15  6:54 UML error - apps killed 50% of the time Adam Nielsen
2010-02-15  9:00 ` Américo Wang
2010-02-15  9:21   ` Adam Nielsen
2010-02-15 12:27     ` Américo Wang
2010-02-15 21:28       ` Adam Nielsen
2010-02-20  9:38         ` Américo Wang
2010-02-20 14:45         ` Américo Wang
2010-02-21  2:11           ` Adam Nielsen
2010-02-21  2:15             ` Américo Wang
2010-02-21  3:10               ` Adam Nielsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox