[Bug 923217] [NEW] [Oneiric] Kernel Panic doing PXE/NFS boot

TJ 923217 at bugs.launchpad.net
Sun Jan 29 03:28:23 UTC 2012


Public bug reported:

In a PXE netboot environment we can boot from LiveCD images of all
releases except 11.10.

Using a serial console we see:

...
[    0.000000] Linux version 3.0.0-12-generic (buildd at vernadsky) (gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) ) #20-Ubuntu SMP Fri Oct 7 14:50:42 UTC 2011 (Ubuntu 3.0.0-12.20-generic 3.0.4)
...
[    0.000000] Kernel command line: root=/dev/nfs boot=casper netboot=nfs nfsroot=10.254.251.2:/srv/boot/iso-image/ubuntu-11.10-desktop-i386 initrd=iso-image/ubuntu-11.10-desktop-i386/casper/initrd.lz  ip=10.254.251.88 debug=y console=ttyS0,115200n8 console=tty0 BOOT_IMAGE=iso-image/ubuntu-11.10-desktop-i386/casper/vmlinuz 
...
Begin: Mounting root file system ... + . /scripts/casper
+ export PATH=/usr/bin:/usr/sbin:/bin:/sbin
+ mountpoint=/cdrom
+ LIVE_MEDIA_PATH=casper
+ [ -f /conf/uuid.conf ]
+ cat /conf/uuid.conf
+ UUID=d74ce5f7-b61c-4560-8185-491e5386a284
+ root_persistence=casper-rw
+ home_persistence=home-rw
+ root_snapshot_label=casper-sn
+ home_snapshot_label=home-sn
+ USERNAME=casper
+ USERFULLNAME=Live session user
+ HOST=live
+ BUILD_SYSTEM=Custom
+ mkdir -p /cdrom
+ tried=/tmp/tried
+ [ -f /etc/casper.conf ]
+ . /etc/casper.conf
+ export USERNAME=ubuntu
+ export USERFULLNAME=Live session user
+ export HOST=ubuntu
+ export BUILD_SYSTEM=Ubuntu
+ export USERNAME USERFULLNAME HOST BUILD_SYSTEM
+ . /scripts/casper-helpers
+ [ Ubuntu = Debian ]
+ [ Ubuntu = Ubuntu ]
+ MP_QUIET=-q
+ [ ! -x /bin/fstype ]
+ [ ! -f /casper.vars ]
+ touch /casper.vars
+ parse_numeric /dev/nfs
+ return
+ maybe_break mountroot
+ echo+ egrep -q (,|^)mountroot(,|$)
 
+ mountroot
+ exec
+ exec
+ exec
+ exec
+ tailpid=272
+ + parse_cmdline
tail -f casper.log
+ cat /proc/cmdline
[    8.115989] Kernel panic - not syncing: Attempted to kill init!
[    8.121985] Pid: 1, comm: init Not tainted 3.0.0-12-generic #20-Ubuntu
[    8.128550] Call Trace:
[    8.131012]  [<c1518c98>] ? printk+0x2d/0x2f
[    8.135314]  [<c1518b76>] panic+0x5c/0x151
[    8.139433]  [<c104b244>] forget_original_parent+0x1e4/0x1f0
[    8.145117]  [<c10d3020>] ? perf_cgroup_attach_task+0x20/0x20
[    8.150884]  [<c104b263>] exit_notify+0x13/0x140
[    8.155521]  [<c104ba6d>] do_exit+0x1ad/0x3a0
[    8.159902]  [<c112863d>] ? vfs_write+0xed/0x160
+ STATICIP=10.25[    8.164565]  [<c104bdb8>] do_group_exit+0x38/0xa0
4.251.88
+ [ 1

** Affects: casper (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to casper in Ubuntu.
https://bugs.launchpad.net/bugs/923217

Title:
  [Oneiric] Kernel Panic doing PXE/NFS boot

Status in “casper” package in Ubuntu:
  New

Bug description:
  In a PXE netboot environment we can boot from LiveCD images of all
  releases except 11.10.

  Using a serial console we see:

  ...
  [    0.000000] Linux version 3.0.0-12-generic (buildd at vernadsky) (gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) ) #20-Ubuntu SMP Fri Oct 7 14:50:42 UTC 2011 (Ubuntu 3.0.0-12.20-generic 3.0.4)
  ...
  [    0.000000] Kernel command line: root=/dev/nfs boot=casper netboot=nfs nfsroot=10.254.251.2:/srv/boot/iso-image/ubuntu-11.10-desktop-i386 initrd=iso-image/ubuntu-11.10-desktop-i386/casper/initrd.lz  ip=10.254.251.88 debug=y console=ttyS0,115200n8 console=tty0 BOOT_IMAGE=iso-image/ubuntu-11.10-desktop-i386/casper/vmlinuz 
  ...
  Begin: Mounting root file system ... + . /scripts/casper
  + export PATH=/usr/bin:/usr/sbin:/bin:/sbin
  + mountpoint=/cdrom
  + LIVE_MEDIA_PATH=casper
  + [ -f /conf/uuid.conf ]
  + cat /conf/uuid.conf
  + UUID=d74ce5f7-b61c-4560-8185-491e5386a284
  + root_persistence=casper-rw
  + home_persistence=home-rw
  + root_snapshot_label=casper-sn
  + home_snapshot_label=home-sn
  + USERNAME=casper
  + USERFULLNAME=Live session user
  + HOST=live
  + BUILD_SYSTEM=Custom
  + mkdir -p /cdrom
  + tried=/tmp/tried
  + [ -f /etc/casper.conf ]
  + . /etc/casper.conf
  + export USERNAME=ubuntu
  + export USERFULLNAME=Live session user
  + export HOST=ubuntu
  + export BUILD_SYSTEM=Ubuntu
  + export USERNAME USERFULLNAME HOST BUILD_SYSTEM
  + . /scripts/casper-helpers
  + [ Ubuntu = Debian ]
  + [ Ubuntu = Ubuntu ]
  + MP_QUIET=-q
  + [ ! -x /bin/fstype ]
  + [ ! -f /casper.vars ]
  + touch /casper.vars
  + parse_numeric /dev/nfs
  + return
  + maybe_break mountroot
  + echo+ egrep -q (,|^)mountroot(,|$)
   
  + mountroot
  + exec
  + exec
  + exec
  + exec
  + tailpid=272
  + + parse_cmdline
  tail -f casper.log
  + cat /proc/cmdline
  [    8.115989] Kernel panic - not syncing: Attempted to kill init!
  [    8.121985] Pid: 1, comm: init Not tainted 3.0.0-12-generic #20-Ubuntu
  [    8.128550] Call Trace:
  [    8.131012]  [<c1518c98>] ? printk+0x2d/0x2f
  [    8.135314]  [<c1518b76>] panic+0x5c/0x151
  [    8.139433]  [<c104b244>] forget_original_parent+0x1e4/0x1f0
  [    8.145117]  [<c10d3020>] ? perf_cgroup_attach_task+0x20/0x20
  [    8.150884]  [<c104b263>] exit_notify+0x13/0x140
  [    8.155521]  [<c104ba6d>] do_exit+0x1ad/0x3a0
  [    8.159902]  [<c112863d>] ? vfs_write+0xed/0x160
  + STATICIP=10.25[    8.164565]  [<c104bdb8>] do_group_exit+0x38/0xa0
  4.251.88
  + [ 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/923217/+subscriptions




More information about the foundations-bugs mailing list