[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Kernel panic - not syncing: Attempted to kill init
Hi, Ian Thanks for your help. 2012/8/23 Ian Campbell <Ian.Campbell@xxxxxxxxxx>
I have tried debootstrap. But it didn't work. I think I will try again when I be free.
I tried to run "ldd /sbin/init" within the chroot , and the result is as follow: linux-vdso.so.1 => (0x00007fff3d3ff000)
libnih.so.1 => /lib/libnih.so.1 (0x00007f0542ccf000) libnih-dbus.so.1 => /lib/libnih-dbus.so.1 (0x00007f0542ac5000)
libdbus-1.so.3 => /lib/libdbus-1.so.3 (0x00007f0542885000) libpthread.so.0 => /lib/libpthread.so.0 (0x00007f0542668000)
librt.so.1 => /lib/librt.so.1 (0x00007f0542460000) libc.so.6 => /lib/libc.so.6 (0x00007f05420dc000)
/lib64/ld-linux-x86-64.so.2 (0x00007f0543128000) I'm not very familiar with ldd, so I just check the existence of shared libraries required by /sbin/init.
Does it look right? In fact, when I use the same filesystem image file and configuration file today, it work! Although I use "sync" to flush pending writes to the filesystem image file, it seems that I need to reboot when I encounter this problem.
After I do the search, I add this file to /etc/init and call it hvc0.conf.
# hvc0 - getty # # This service maintains a getty on hvc0 from the point the system is # started until it is shut down again. start on stopped rc RUNLEVEL=[2345] stop on runlevel [!2345] respawn exec /sbin/getty -8 38400 hvc0 It seems to work now. :-) Best regards, Yao-Jing Wen _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |