* Re: [uml-devel] Kernel panic: Kernel mode fault at addr 0x0, ip 0x8053457
@ 2003-09-04 18:03 M A Young
2003-09-04 19:55 ` Jeff Dike
2003-09-05 2:10 ` Jeff Dike
0 siblings, 2 replies; 5+ messages in thread
From: M A Young @ 2003-09-04 18:03 UTC (permalink / raw)
To: user-mode-linux-devel; +Cc: jdike
Jeff Dike wrote:
> russell@coker.com.au said:
> > On http://www.coker.com.au/bug/ls.gz I have a compressed version of ls
> > for i386 that causes a reliable UML crash on 2.6.0test3 with the
> > latest test3 UML patch.
>
> Could you make a statically linked version of it so I don't have to
> figure out where to get the libraries it needs?
Jeff, we worked out what the bug was. His old selinux used syscall 223,
which was completely uninitialized (ie. not even set to sys_ni_syscall),
hence the kernel crashed. I was having the same problem in a different
context with get_thread_area and set_thread_area.
Michael Young
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [uml-devel] Kernel panic: Kernel mode fault at addr 0x0, ip 0x8053457
2003-09-04 18:03 [uml-devel] Kernel panic: Kernel mode fault at addr 0x0, ip 0x8053457 M A Young
@ 2003-09-04 19:55 ` Jeff Dike
2003-09-05 2:10 ` Jeff Dike
1 sibling, 0 replies; 5+ messages in thread
From: Jeff Dike @ 2003-09-04 19:55 UTC (permalink / raw)
To: M A Young; +Cc: user-mode-linux-devel
m.a.young@durham.ac.uk said:
> Jeff, we worked out what the bug was. His old selinux used syscall
> 223, which was completely uninitialized (ie. not even set to
> sys_ni_syscall), hence the kernel crashed. I was having the same
> problem in a different context with get_thread_area and
> set_thread_area.
Oops, looks like I missed that. Easily fixed, it looks like those were
NULL-filled holes in sys_call_table. The system call dispatcher did range
checking on the syscall number, but didn't see if the entry itself contained
anything.
And it looks like I missed some system calls that i386 has.
Jeff
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [uml-devel] Kernel panic: Kernel mode fault at addr 0x0, ip 0x8053457
2003-09-04 18:03 [uml-devel] Kernel panic: Kernel mode fault at addr 0x0, ip 0x8053457 M A Young
2003-09-04 19:55 ` Jeff Dike
@ 2003-09-05 2:10 ` Jeff Dike
1 sibling, 0 replies; 5+ messages in thread
From: Jeff Dike @ 2003-09-05 2:10 UTC (permalink / raw)
To: M A Young; +Cc: user-mode-linux-devel
m.a.young@durham.ac.uk said:
> His old selinux used syscall 223, which was completely uninitialized
> (ie. not even set to sys_ni_syscall), hence the kernel crashed. I was
> having the same problem in a different context with get_thread_area
> and set_thread_area.
OK, I fixed this by examining the sys_call_table and ensuring that it is
entirely filled with non-NULL values.
This wasn't a problem on 2.4, on 2.5 there were about half a dozen missing
syscalls (or holes that needed filling with sys_ni_syscall).
Jeff
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <200308201554.54799.russell@coker.com.au>]
end of thread, other threads:[~2003-09-05 2:35 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-04 18:03 [uml-devel] Kernel panic: Kernel mode fault at addr 0x0, ip 0x8053457 M A Young
2003-09-04 19:55 ` Jeff Dike
2003-09-05 2:10 ` Jeff Dike
[not found] <200308201554.54799.russell@coker.com.au>
2003-09-04 17:09 ` Jeff Dike
2003-09-05 2:35 ` Russell Coker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox