Skip to contentSkip to conversation

skas mode panic - ltrace strace

uml-devel [email protected] 2 participants 2 messages Jan 20, 2004 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

Hi

I have a reproducible kernel panic running the ltrace program. The panic only occurs when running the uml kernel in skas mode. mode=tt does not panic.

Running as a normal (non root) user:

   $ ltrace strace ls
results in:
   Kernel panic: Kernel mode signal 5

Is anyone else able to reproduce this?

Details:

UML is debian woody, running vanilla kernel 2.4.22 with uml-patch-2.4.22-5.bz2. Also tested is vanilla kernel 2.4.23 with uml-patch-2.4.23-1.bz2. The kernel panic occures on both of these setups.

Host is debian woody 2.4.22 with preemt, lowlatency and skas3 patches applied.

The panic occurs because the syscall number gets set to -1. I have not been able to track down exactly where this occurs, and any help on this would be warmly received.

Dion.

Signature · 13 lines
Dion's Maxim:  If you are ever surprised at just how stupid people can be,
               then you haven't understood Dion's Maxim.


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
#1 lore raw
Quoted 6 lines · [email protected] wrote:

Hi

I have a reproducible kernel panic running the ltrace program. The panic only occurs when running the uml kernel in skas mode. mode=tt does not panic.

Quoted 6 lines

Running as a normal (non root) user:

   $ ltrace strace ls
results in:
   Kernel panic: Kernel mode signal 5

Is anyone else able to reproduce this?

Yes, but not everytime:
Host: 2.4.22 with skas patch
UML: 2.4.23-um1
First test: uml crashed.
Second: uml didn't crash, finished the ltrace just fine (i did the ltrace strace ls two times, just to be sure) Third test: uml crashed.

(reboot between every test).

So it may be some kind of race condition?

Regards,
Sven

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel