login
Header Space

 
 

RT Kernel and SSH Server Panics

September 1, 2008 - 2:06am
Submitted by Anonymous on September 1, 2008 - 2:06am.
Linux

Hey Guys,
I have been following the linux kernel patches for the RT updates along with the 2.6.XX updates.
I've always had issues with our SSH server. We use it quite a bit for our control panel logins, and it seems to crash all the time and freezes the server.

I get a lot of spinlock issues in my kernel messages.

BUG: sleeping function called from invalid context init(536) at kernel/rtmutex.c:743
in_atomic():1 [00000001], irqs_disabled():0
Pid: 536, comm: init Not tainted 2.6.26.3-rt3 #1
[] __rt_spin_lock+0x21/0x56
[] native_flush_tlb_others+0x3b/0x8d
[] flush_tlb_mm+0x84/0xa5
[] free_pgtables+0x35/0x129
[] exit_mmap+0x92/0xfb
[] mmput+0x32/0x84
[] flush_old_exec+0x49e/0x74e
[] vfs_read+0xe3/0xf4
[] __rt_spin_lock+0x21/0x56
[] fd_install+0x21/0x49
[] load_elf_binary+0x310/0x10c2
[] __wake_up+0x21/0x2e
[] add_preempt_count+0xa/0x74
[] add_preempt_count+0xa/0x74
[] __spin_lock_irqsave+0x11/0x2a
[] search_binary_handler+0xda/0x22e
[] load_elf_binary+0x0/0x10c2
[] do_execve+0x134/0x1b7
[] sys_execve+0x2a/0x4a
[] syscall_call+0x7/0xb
[] pci_bus_assign_resources+0x1a9/0x3b3
=======================

I have these issues since the newer updated versions of the kernels and RT patches.

Let me know if there are any fixes for this.

Another bug is that when our servers reboot at night, they will freeze and not shutdown. Init will panic and not kill the SSH server.
So the server refuses to shutdown. So you can login to SSH but not login to any user.
A hard reboot fixes this but it gets quite annoying. Maybe someone can shed some light on this.

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <b> <quote> <pre> <hr> <br> <p> <img> <blockquote> <font> <tt> <table> <tr> <i>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

speck-geostationary