Skip to contentSkip to conversation

Kernel panic with 2.6.11.6

uml-devel Anthony Brock 2 participants 2 messages May 27, 2005 – May 30, 2005 1 message not in the archive User-mode Linux (UML)

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Blaisor,

I've been testing your 2.6.11.8-bs5 release applied to a 2.6.11.10 source tree. So far (3 days), it fixes the problem with kernel panics! Did I miss a message from you concerning this? Or is this an "accidental" fix to the console issues I've been having?

In any case, thanks!

Tony

Quoted 134 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Anthony Brock
Sent: Tuesday, May 17, 2005 10:58 AM
To: [email protected]
Subject: Re: [uml-devel] Kernel panic with 2.6.11.6

Any ideas concerning this crash? Would any more information help? While this only affects the console, it is VERY annoying when trying to deploy a new server.

Thanks!

Tony

Quoted 1 line
Quoted 1 line
Quoted 1 line

"Anthony Brock" <[email protected]> 05/10/05 09:04AM >>>

Well, the new version didn't waste any time! It crashed on my first keystroke. The output is below. This is on a 2.6.12-rc4 guest with the full patch set from
http://user-mode-linux.sourceforge.net/patches.html applied. Finally, I deleted 'include/asm-um/elf.h' from the source tree prior to compile.

Let me know if you need any further details.

Tony

Breakpoint 1, panic (fmt=0x0) at kernel/panic.c:66
66 kernel/panic.c: No such file or directory.
in kernel/panic.c
(gdb) bt
#0 panic (fmt=0x0) at kernel/panic.c:66
#1 0x08064e38 in segv (fi={error_code = 4, cr2 = 7, trap_no = 14}, ip=0, is_user=0, sc=0x0) at arch/um/kernel/trap_kern.c:176 #2 0x080650ee in segv_handler (sig=11, regs=0x82a8fc4) at arch/um/kernel/trap_kern.c:277
#3 0x080788a9 in sig_handler_common_skas (sig=11, sc_ptr=0x8065020) at arch/um/os-Linux/skas/trap.c:52

#4  0x08074038 in sig_handler (sig=11) at arch/um/os-Linux/signal.c:31
#5  <signal handler called>
#6  chan_interrupt (chans=0x7, task=0x27, tty=0xbd36000, irq=2)

at arch/um/drivers/chan_kern.c:533
#7 0x08068260 in line_interrupt (irq=7, data=0xbd36000, unused=0x82a8fc4) at arch/um/drivers/line.c:30
#8 0x0809efa3 in handle_IRQ_event (irq=2, regs=0x82a8fc4, action=0xbd877a0) at kernel/irq/handle.c:87
#9 0x0809f09b in __do_IRQ (irq=2, regs=0x82a8fc4) at kernel/irq/handle...c:172
#10 0x08060460 in do_IRQ (irq=7, regs=0xffffffff) at arch/um/kernel/irq...c:91
#11 0x08060647 in sigio_handler (sig=29, regs=0x82a8fc4) at arch/um/kernel/irq.c:221
#12 0x080788a9 in sig_handler_common_skas (sig=29, sc_ptr=0x80605e0) at arch/um/os-Linux/skas/trap.c:52
#13 0x08074038 in sig_handler (sig=29) at arch/um/os-Linux/signal.c:31 #14 <signal handler called>
#15 0xb7f5a5bb in nanosleep () from /lib/tls/libc.so.6
#16 0x08075794 in idle_sleep (secs=-4) at arch/um/os-Linux/time.c:155 #17 0x080621d6 in default_idle () at arch/um/kernel/process_kern.c:206 #18 0x08065ea8 in init_idle_skas () at arch/um/kernel/skas/process_kern.c:144
#19 0x08049643 in start_kernel () at init/main.c:526
#20 0x08065edc in start_kernel_proc (unused=0x0) at arch/um/kernel/skas/process_kern.c:161
#21 0x08073949 in run_kernel_thread (fn=0x8065eb0 <start_kernel_proc>, arg=0x0, jmp_ptr=0xfffffffc)

    at arch/um/os-Linux/process.c:215

#22 0x08065bea in new_thread_handler (sig=10) at thread_info.h:46 #23 <signal handler called>
#24 0xb7ed9ab1 in kill () from /lib/tls/libc.so.6
#25 0x0000000e in ?? ()
#26 0x0000001a in ?? ()
#27 0xffffffff in ?? ()
#28 0xbffff118 in ?? ()
#29 0x080785ea in start_idle_thread (stack=0x82a7ad4, switch_buf_ptr=0x1, fork_buf_ptr=0x0) at arch/um/os-Linux/skas/process.c:507
#30 0x080785ea in start_idle_thread (stack=0x82a4000, switch_buf_ptr=0x82a92d4, fork_buf_ptr=0x0)

    at arch/um/os-Linux/skas/process.c:507

#31 0x08065f41 in start_uml_skas () at arch/um/kernel/skas/process_kern.c:177
#32 0x0806556d in linux_main (argc=137271040, argv=0x8000000) at arch/um/kernel/um_arch.c:437
#33 0x08072d6b in main (argc=0, argv=0xbffff2a4, envp=0x0) at arch/um/os-Linux/main.c:154

Quoted 1 line
Quoted 1 line
Quoted 1 line

Blaisorblade <[email protected]> 05/10/05 03:19AM >>>

Quoted 1 line · Anthony Brock

First, I would appreciate it if someone can remind me of where

to download

Quoted 3 lines

the '-mm' tree.

Second, I downloaded at attempted to compile 2.6.12-rc4.

Unfortunately, I'm

Quoted 1 line

unable to compile it due to the following error:

Remove include/asm-um/elf.h, which is a 0-length file, and it will work. And
this is the real fix...
--
Paolo Giarrusso, aka Blaisorblade
Skype user "PaoloGiarrusso"
Linux registered user n. 292729
http://www.user-mode-linux.org/~blaisorblade

-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_ids93&alloc_id281&op=click
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Quoted 10 lines

-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id344&op=ick
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#2 lore raw

Never mind. The issue is still present. The instance, while lasting longer, crashed once I reconnect to the "screen" via a "screen -r my-uml-instance" command on day 4. Was the previous information enough, or should I generate another backtrace?

Also, this seems to be prevalent when the host (SKAS v8) has been running for an extended period.

Tony

Quoted 169 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Anthony Brock
Sent: Friday, May 27, 2005 9:31 AM
To: [email protected]
Subject: RE: [uml-devel] Kernel panic with 2.6.11.6

Blaisor,

I've been testing your 2.6.11.8-bs5 release applied to a 2.6.11.10 source tree. So far (3 days), it fixes the problem with kernel panics! Did I miss a
message from you concerning this? Or is this an "accidental" fix to the console issues I've been having?

In any case, thanks!

Tony

Quoted 134 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Anthony Brock
Sent: Tuesday, May 17, 2005 10:58 AM
To: [email protected]
Subject: Re: [uml-devel] Kernel panic with 2.6.11.6

Any ideas concerning this crash? Would any more information help? While this only affects the console, it is VERY annoying when trying to deploy a new server.

Thanks!

Tony

Quoted 1 line
Quoted 1 line
Quoted 1 line

"Anthony Brock" <[email protected]> 05/10/05 09:04AM >>>

Well, the new version didn't waste any time! It crashed on my first keystroke. The output is below. This is on a 2.6.12-rc4 guest with the full patch set from
http://user-mode-linux.sourceforge.net/patches.html applied. Finally, I deleted 'include/asm-um/elf.h' from the source tree prior to compile.

Let me know if you need any further details.

Tony

Breakpoint 1, panic (fmt=0x0) at kernel/panic.c:66
66 kernel/panic.c: No such file or directory.
in kernel/panic.c
(gdb) bt
#0 panic (fmt=0x0) at kernel/panic.c:66
#1 0x08064e38 in segv (fi={error_code = 4, cr2 = 7, trap_no = 14}, ip=0, is_user=0, sc=0x0) at arch/um/kernel/trap_kern.c:176 #2 0x080650ee in segv_handler (sig=11, regs=0x82a8fc4) at arch/um/kernel/trap_kern.c:277
#3 0x080788a9 in sig_handler_common_skas (sig=11, sc_ptr=0x8065020) at arch/um/os-Linux/skas/trap.c:52

#4  0x08074038 in sig_handler (sig=11) at arch/um/os-Linux/signal.c:31
#5  <signal handler called>
#6  chan_interrupt (chans=0x7, task=0x27, tty=0xbd36000, irq=2)

at arch/um/drivers/chan_kern.c:533
#7 0x08068260 in line_interrupt (irq=7, data=0xbd36000, unused=0x82a8fc4) at arch/um/drivers/line.c:30
#8 0x0809efa3 in handle_IRQ_event (irq=2, regs=0x82a8fc4, action=0xbd877a0) at kernel/irq/handle.c:87
#9 0x0809f09b in __do_IRQ (irq=2, regs=0x82a8fc4) at kernel/irq/handle...c:172
#10 0x08060460 in do_IRQ (irq=7, regs=0xffffffff) at arch/um/kernel/irq...c:91
#11 0x08060647 in sigio_handler (sig=29, regs=0x82a8fc4) at arch/um/kernel/irq.c:221
#12 0x080788a9 in sig_handler_common_skas (sig=29, sc_ptr=0x80605e0) at arch/um/os-Linux/skas/trap.c:52
#13 0x08074038 in sig_handler (sig=29) at arch/um/os-Linux/signal.c:31 #14 <signal handler called>
#15 0xb7f5a5bb in nanosleep () from /lib/tls/libc.so.6
#16 0x08075794 in idle_sleep (secs=-4) at arch/um/os-Linux/time.c:155 #17 0x080621d6 in default_idle () at arch/um/kernel/process_kern.c:206 #18 0x08065ea8 in init_idle_skas () at arch/um/kernel/skas/process_kern.c:144
#19 0x08049643 in start_kernel () at init/main.c:526
#20 0x08065edc in start_kernel_proc (unused=0x0) at arch/um/kernel/skas/process_kern.c:161
#21 0x08073949 in run_kernel_thread (fn=0x8065eb0 <start_kernel_proc>, arg=0x0, jmp_ptr=0xfffffffc)

    at arch/um/os-Linux/process.c:215

#22 0x08065bea in new_thread_handler (sig=10) at thread_info.h:46 #23 <signal handler called>
#24 0xb7ed9ab1 in kill () from /lib/tls/libc.so.6
#25 0x0000000e in ?? ()
#26 0x0000001a in ?? ()
#27 0xffffffff in ?? ()
#28 0xbffff118 in ?? ()
#29 0x080785ea in start_idle_thread (stack=0x82a7ad4, switch_buf_ptr=0x1, fork_buf_ptr=0x0) at arch/um/os-Linux/skas/process.c:507
#30 0x080785ea in start_idle_thread (stack=0x82a4000, switch_buf_ptr=0x82a92d4, fork_buf_ptr=0x0)

    at arch/um/os-Linux/skas/process.c:507

#31 0x08065f41 in start_uml_skas () at arch/um/kernel/skas/process_kern.c:177
#32 0x0806556d in linux_main (argc=137271040, argv=0x8000000) at arch/um/kernel/um_arch.c:437
#33 0x08072d6b in main (argc=0, argv=0xbffff2a4, envp=0x0) at arch/um/os-Linux/main.c:154

Quoted 1 line
Quoted 1 line
Quoted 1 line

Blaisorblade <[email protected]> 05/10/05 03:19AM >>>

Quoted 1 line · Anthony Brock

First, I would appreciate it if someone can remind me of where

to download

Quoted 3 lines

the '-mm' tree.

Second, I downloaded at attempted to compile 2.6.12-rc4.

Unfortunately, I'm

Quoted 1 line

unable to compile it due to the following error:

Remove include/asm-um/elf.h, which is a 0-length file, and it will work. And
this is the real fix...
--
Paolo Giarrusso, aka Blaisorblade
Skype user "PaoloGiarrusso"
Linux registered user n. 292729
http://www.user-mode-linux.org/~blaisorblade

-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_ids93&alloc_id281&op=click
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Quoted 10 lines

-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id344&op=ick
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Quoted 10 lines

-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=fad-ysdn-ostg-q22005
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel