installation to USB device results in a non-booting system with OOPS

Bug #562343 reported by Oliver Grawert on 2010-04-13
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-ti-omap (Ubuntu)
Amit Kucheria
Amit Kucheria

Bug Description

currently booting a newly installed system from USB key results in a kernel oops on boot, while the system moves on i dont get to a final console which indicates the system gets stuck at filesystem access at some point.

boot log attached...

Oliver Grawert (ogra) wrote :
Changed in linux-ti-omap (Ubuntu):
importance: Undecided → High
Changed in linux-ti-omap (Ubuntu Lucid):
milestone: none → ubuntu-10.04
assignee: nobody → Amit Kucheria (amitk)
Amit Kucheria (amitk) wrote :

The interesting parts of the log are:

[ 26.668640] Kernel panic - not syncing: Attempted to kill init!
[ 26.674804] [<c0039664>] (unwind_backtrace+0x0/0xe8) from [<c0422b24>] (panic+0x44/0x120)
[ 26.683166] [<c0422b24>] (panic+0x44/0x120) from [<c00633b0>] (forget_original_parent+0x27c/0x294)
[ 26.692230] [<c00633b0>] (forget_original_parent+0x27c/0x294) from [<c00633dc>] (exit_notify+0x14/0x158)
[ 26.701812] [<c00633dc>] (exit_notify+0x14/0x158) from [<c006366c>] (do_exit+0x14c/0x2f8)
[ 26.710083] [<c006366c>] (do_exit+0x14c/0x2f8) from [<c0063854>] (do_group_exit+0x3c/0xac)
[ 26.718414] [<c0063854>] (do_group_exit+0x3c/0xac) from [<c00638d4>] (sys_exit_group+0x10/0x18)
[ 26.727203] [<c00638d4>] (sys_exit_group+0x10/0x18) from [<c0032a00>] (ret_fast_syscall+0x0/0x2c)

Tracing through forget_original_parent, we call find_new_reaper() which eventually calls panic() as we see above.

 if (unlikely(pid_ns->child_reaper == father)) {
  if (unlikely(pid_ns == &init_pid_ns))
   panic("Attempted to kill init!");

   * We can not clear ->child_reaper or leave it alone.
   * There may by stealth EXIT_DEAD tasks on ->children,
   * forget_original_parent() must move them somewhere.
  pid_ns->child_reaper = init_pid_ns.child_reaper;

So the suspicion is that /sbin/init exits.

Oliver Grawert (ogra) wrote :

this seems to not be restricted to USB, i just did a netinstall to SD card where i dont see any oopses but the system gets stuck after initramfs, essentially after switching to teh real root when ureadahead exists

Oliver Grawert (ogra) wrote :

just for completion: amit does not seem to have a proper initramfs, the kernel panics when entering it ...

Amit Kucheria (amitk) wrote :

This turned out to be a problem with mountall, not the kernel.

But we did enable FRAMEBUFFER_CONSOLE in the kernel config since the output was not visible on the serial port, only tty0.

Changed in linux-ti-omap (Ubuntu Lucid):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers