linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* 2.6.32 Kernel panic - not syncing: Attempted to kill init! Rebooting in 180 seconds..
@ 2009-12-18  4:08 Zhiyong Wu
  2009-12-18  6:50 ` Barry Song
  2009-12-18  7:12 ` Américo Wang
  0 siblings, 2 replies; 5+ messages in thread
From: Zhiyong Wu @ 2009-12-18  4:08 UTC (permalink / raw)
  To: linux-kernel, linuxppc-dev; +Cc: Zhiyong Wu, llim, Herbert Xu, agraf

HI,

linux-2.6.32 is compiled on a p6 machine with RH5.4 OS and KVM option is enable.

When rebooting this machine, a crash takes place such as:

Loading ramdisk...
ramdisk loaded at 01700000, size: 2700 Kbytes
OF stdout device is: /vdevice/vty@30000000
Preparing to boot Linux version 2.6.32 (root@p6ml4n07.clusters.com)
(gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Fri Dec 18
06:53:27 EST 2009
Calling ibm,client-architecture-support.../
Elapsed time since release of system processors: 1212 mins 30 secs

Config file read, 1024 bytes

Welcome
Welcome to yaboot version 1.3.13 (Red Hat 1.3.13-8.el5)
Enter "help" to get some basic usage information
boot: linux-32
Please wait, loading kernel...
   Elf64 kernel loaded...
Loading ramdisk...
ramdisk loaded at 01700000, size: 2700 Kbytes
OF stdout device is: /vdevice/vty@30000000
Preparing to boot Linux version 2.6.32 (root@p6ml4n07.clusters.com)
(gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Fri Dec 18
06:53:27 EST 2009
Calling ibm,client-architecture-support... done
command line: ro console=hvc0 rhgb quiet root=LABEL=/
memory layout at init:
  memory_limit : 0000000000000000 (16 MB aligned)
  alloc_bottom : 00000000019b0000
  alloc_top    : 0000000008000000
  alloc_top_hi : 0000000008000000
  rmo_top      : 0000000008000000
  ram_top      : 0000000008000000
instantiating rtas at 0x0000000006e10000... done
boot cpu hw idx 0000000000000000
copying OF device tree...
Building dt strings...
Building dt structure...
Device tree strings 0x0000000001bc0000 -> 0x0000000001bc15bb
Device tree struct  0x0000000001bd0000 -> 0x0000000001bf0000
Calling quiesce...
returning from prom_init
Red Hat nash version 5.1.19.6 starting
ibmvscsi 30000002: fast_fail not supported in server
sd 0:0:1:0: [sda] Assuming drive cache: write through
sd 0:0:1:0: [sda] Assuming drive cache: write through
sd 0:0:1:0: [sda] Assuming drive cache: write through
insmod: error inserting '/lib/dm-region-hash.ko': -1 File exists
mount: could not find filesystem '/dev/root'
setuproot: moving /dev failed: No such file or directory
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!
Rebooting in 180 seconds..[disconnect]

Can anyone give me a warm hand?


Cheers,

Zhiyong Wu

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 2.6.32 Kernel panic - not syncing: Attempted to kill init! Rebooting in 180 seconds..
  2009-12-18  4:08 2.6.32 Kernel panic - not syncing: Attempted to kill init! Rebooting in 180 seconds Zhiyong Wu
@ 2009-12-18  6:50 ` Barry Song
  2009-12-18  7:12 ` Américo Wang
  1 sibling, 0 replies; 5+ messages in thread
From: Barry Song @ 2009-12-18  6:50 UTC (permalink / raw)
  To: Zhiyong Wu; +Cc: linuxppc-dev, agraf, llim, linux-kernel, Herbert Xu

On Fri, Dec 18, 2009 at 12:08 PM, Zhiyong Wu <zwu.kernel@gmail.com> wrote:
> HI,
>
> linux-2.6.32 is compiled on a p6 machine with RH5.4 OS and KVM option is =
enable.
>
> When rebooting this machine, a crash takes place such as:
>
> Loading ramdisk...
> ramdisk loaded at 01700000, size: 2700 Kbytes
> OF stdout device is: /vdevice/vty@30000000
> Preparing to boot Linux version 2.6.32 (root@p6ml4n07.clusters.com)
> (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Fri Dec 18
> 06:53:27 EST 2009
> Calling ibm,client-architecture-support.../
> Elapsed time since release of system processors: 1212 mins 30 secs
>
> Config file read, 1024 bytes
>
> Welcome
> Welcome to yaboot version 1.3.13 (Red Hat 1.3.13-8.el5)
> Enter "help" to get some basic usage information
> boot: linux-32
> Please wait, loading kernel...
> =C2=A0 Elf64 kernel loaded...
> Loading ramdisk...
> ramdisk loaded at 01700000, size: 2700 Kbytes
> OF stdout device is: /vdevice/vty@30000000
> Preparing to boot Linux version 2.6.32 (root@p6ml4n07.clusters.com)
> (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Fri Dec 18
> 06:53:27 EST 2009
> Calling ibm,client-architecture-support... done
> command line: ro console=3Dhvc0 rhgb quiet root=3DLABEL=3D/
> memory layout at init:
> =C2=A0memory_limit : 0000000000000000 (16 MB aligned)
> =C2=A0alloc_bottom : 00000000019b0000
> =C2=A0alloc_top =C2=A0 =C2=A0: 0000000008000000
> =C2=A0alloc_top_hi : 0000000008000000
> =C2=A0rmo_top =C2=A0 =C2=A0 =C2=A0: 0000000008000000
> =C2=A0ram_top =C2=A0 =C2=A0 =C2=A0: 0000000008000000
> instantiating rtas at 0x0000000006e10000... done
> boot cpu hw idx 0000000000000000
> copying OF device tree...
> Building dt strings...
> Building dt structure...
> Device tree strings 0x0000000001bc0000 -> 0x0000000001bc15bb
> Device tree struct =C2=A00x0000000001bd0000 -> 0x0000000001bf0000
> Calling quiesce...
> returning from prom_init
> Red Hat nash version 5.1.19.6 starting
> ibmvscsi 30000002: fast_fail not supported in server
> sd 0:0:1:0: [sda] Assuming drive cache: write through
> sd 0:0:1:0: [sda] Assuming drive cache: write through
> sd 0:0:1:0: [sda] Assuming drive cache: write through
> insmod: error inserting '/lib/dm-region-hash.ko': -1 File exists
> mount: could not find filesystem '/dev/root'
> setuproot: moving /dev failed: No such file or directory
> setuproot: error mounting /proc: No such file or directory
> setuproot: error mounting /sys: No such file or directory
> switchroot: mount failed: No such file or directory
> Kernel panic - not syncing: Attempted to kill init!
> Rebooting in 180 seconds..[disconnect]

Your rootfs is not ready. No console, no /dev, then init process can't star=
t-up.

>
> Can anyone give me a warm hand?
>
>
> Cheers,
>
> Zhiyong Wu
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" i=
n
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at =C2=A0http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at =C2=A0http://www.tux.org/lkml/
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 2.6.32 Kernel panic - not syncing: Attempted to kill init! Rebooting in 180 seconds..
  2009-12-18  4:08 2.6.32 Kernel panic - not syncing: Attempted to kill init! Rebooting in 180 seconds Zhiyong Wu
  2009-12-18  6:50 ` Barry Song
@ 2009-12-18  7:12 ` Américo Wang
  2009-12-18  7:38   ` Zhiyong Wu
  1 sibling, 1 reply; 5+ messages in thread
From: Américo Wang @ 2009-12-18  7:12 UTC (permalink / raw)
  To: Zhiyong Wu; +Cc: linuxppc-dev, agraf, llim, linux-kernel, Herbert Xu

On Fri, Dec 18, 2009 at 12:08 PM, Zhiyong Wu <zwu.kernel@gmail.com> wrote:
> HI,
>
> linux-2.6.32 is compiled on a p6 machine with RH5.4 OS and KVM option is =
enable.
>
> When rebooting this machine, a crash takes place such as:
>
> Loading ramdisk...
> ramdisk loaded at 01700000, size: 2700 Kbytes
> OF stdout device is: /vdevice/vty@30000000
> Preparing to boot Linux version 2.6.32 (root@p6ml4n07.clusters.com)
> (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Fri Dec 18
> 06:53:27 EST 2009
> Calling ibm,client-architecture-support.../
> Elapsed time since release of system processors: 1212 mins 30 secs
>
> Config file read, 1024 bytes
>
> Welcome
> Welcome to yaboot version 1.3.13 (Red Hat 1.3.13-8.el5)
> Enter "help" to get some basic usage information
> boot: linux-32
> Please wait, loading kernel...
> =C2=A0 Elf64 kernel loaded...
> Loading ramdisk...
> ramdisk loaded at 01700000, size: 2700 Kbytes
> OF stdout device is: /vdevice/vty@30000000
> Preparing to boot Linux version 2.6.32 (root@p6ml4n07.clusters.com)
> (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Fri Dec 18
> 06:53:27 EST 2009
> Calling ibm,client-architecture-support... done
> command line: ro console=3Dhvc0 rhgb quiet root=3DLABEL=3D/
> memory layout at init:
> =C2=A0memory_limit : 0000000000000000 (16 MB aligned)
> =C2=A0alloc_bottom : 00000000019b0000
> =C2=A0alloc_top =C2=A0 =C2=A0: 0000000008000000
> =C2=A0alloc_top_hi : 0000000008000000
> =C2=A0rmo_top =C2=A0 =C2=A0 =C2=A0: 0000000008000000
> =C2=A0ram_top =C2=A0 =C2=A0 =C2=A0: 0000000008000000
> instantiating rtas at 0x0000000006e10000... done
> boot cpu hw idx 0000000000000000
> copying OF device tree...
> Building dt strings...
> Building dt structure...
> Device tree strings 0x0000000001bc0000 -> 0x0000000001bc15bb
> Device tree struct =C2=A00x0000000001bd0000 -> 0x0000000001bf0000
> Calling quiesce...
> returning from prom_init
> Red Hat nash version 5.1.19.6 starting
> ibmvscsi 30000002: fast_fail not supported in server
> sd 0:0:1:0: [sda] Assuming drive cache: write through
> sd 0:0:1:0: [sda] Assuming drive cache: write through
> sd 0:0:1:0: [sda] Assuming drive cache: write through
> insmod: error inserting '/lib/dm-region-hash.ko': -1 File exists
> mount: could not find filesystem '/dev/root'
> setuproot: moving /dev failed: No such file or directory
> setuproot: error mounting /proc: No such file or directory
> setuproot: error mounting /sys: No such file or directory
> switchroot: mount failed: No such file or directory
> Kernel panic - not syncing: Attempted to kill init!
> Rebooting in 180 seconds..[disconnect]
>
> Can anyone give me a warm hand?

Probably this is not a problem of kernel, maybe it's
a problem of your initial ramdisk, or something wrong with
your root filesystem.

Does changing "root=3DLABEL=3D/" to "root=3D/dev/XXX" help?
Where "/dev/XXX" is your root filesystem.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 2.6.32 Kernel panic - not syncing: Attempted to kill init! Rebooting in 180 seconds..
  2009-12-18  7:12 ` Américo Wang
@ 2009-12-18  7:38   ` Zhiyong Wu
  2009-12-18  7:50     ` Américo Wang
  0 siblings, 1 reply; 5+ messages in thread
From: Zhiyong Wu @ 2009-12-18  7:38 UTC (permalink / raw)
  To: Américo Wang; +Cc: linuxppc-dev, agraf, llim, linux-kernel, Herbert Xu

It does'nt still work based on your method.


Cheers,

Zhiyong Wu

On Fri, Dec 18, 2009 at 3:12 PM, Am=E9rico Wang <xiyou.wangcong@gmail.com> =
wrote:
> On Fri, Dec 18, 2009 at 12:08 PM, Zhiyong Wu <zwu.kernel@gmail.com> wrote=
:
>> HI,
>>
>> linux-2.6.32 is compiled on a p6 machine with RH5.4 OS and KVM option is=
 enable.
>>
>> When rebooting this machine, a crash takes place such as:
>>
>> Loading ramdisk...
>> ramdisk loaded at 01700000, size: 2700 Kbytes
>> OF stdout device is: /vdevice/vty@30000000
>> Preparing to boot Linux version 2.6.32 (root@p6ml4n07.clusters.com)
>> (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Fri Dec 18
>> 06:53:27 EST 2009
>> Calling ibm,client-architecture-support.../
>> Elapsed time since release of system processors: 1212 mins 30 secs
>>
>> Config file read, 1024 bytes
>>
>> Welcome
>> Welcome to yaboot version 1.3.13 (Red Hat 1.3.13-8.el5)
>> Enter "help" to get some basic usage information
>> boot: linux-32
>> Please wait, loading kernel...
>> =A0 Elf64 kernel loaded...
>> Loading ramdisk...
>> ramdisk loaded at 01700000, size: 2700 Kbytes
>> OF stdout device is: /vdevice/vty@30000000
>> Preparing to boot Linux version 2.6.32 (root@p6ml4n07.clusters.com)
>> (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Fri Dec 18
>> 06:53:27 EST 2009
>> Calling ibm,client-architecture-support... done
>> command line: ro console=3Dhvc0 rhgb quiet root=3DLABEL=3D/
>> memory layout at init:
>> =A0memory_limit : 0000000000000000 (16 MB aligned)
>> =A0alloc_bottom : 00000000019b0000
>> =A0alloc_top =A0 =A0: 0000000008000000
>> =A0alloc_top_hi : 0000000008000000
>> =A0rmo_top =A0 =A0 =A0: 0000000008000000
>> =A0ram_top =A0 =A0 =A0: 0000000008000000
>> instantiating rtas at 0x0000000006e10000... done
>> boot cpu hw idx 0000000000000000
>> copying OF device tree...
>> Building dt strings...
>> Building dt structure...
>> Device tree strings 0x0000000001bc0000 -> 0x0000000001bc15bb
>> Device tree struct =A00x0000000001bd0000 -> 0x0000000001bf0000
>> Calling quiesce...
>> returning from prom_init
>> Red Hat nash version 5.1.19.6 starting
>> ibmvscsi 30000002: fast_fail not supported in server
>> sd 0:0:1:0: [sda] Assuming drive cache: write through
>> sd 0:0:1:0: [sda] Assuming drive cache: write through
>> sd 0:0:1:0: [sda] Assuming drive cache: write through
>> insmod: error inserting '/lib/dm-region-hash.ko': -1 File exists
>> mount: could not find filesystem '/dev/root'
>> setuproot: moving /dev failed: No such file or directory
>> setuproot: error mounting /proc: No such file or directory
>> setuproot: error mounting /sys: No such file or directory
>> switchroot: mount failed: No such file or directory
>> Kernel panic - not syncing: Attempted to kill init!
>> Rebooting in 180 seconds..[disconnect]
>>
>> Can anyone give me a warm hand?
>
> Probably this is not a problem of kernel, maybe it's
> a problem of your initial ramdisk, or something wrong with
> your root filesystem.
>
> Does changing "root=3DLABEL=3D/" to "root=3D/dev/XXX" help?
> Where "/dev/XXX" is your root filesystem.
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 2.6.32 Kernel panic - not syncing: Attempted to kill init! Rebooting in 180 seconds..
  2009-12-18  7:38   ` Zhiyong Wu
@ 2009-12-18  7:50     ` Américo Wang
  0 siblings, 0 replies; 5+ messages in thread
From: Américo Wang @ 2009-12-18  7:50 UTC (permalink / raw)
  To: Zhiyong Wu; +Cc: linuxppc-dev, agraf, llim, linux-kernel, Herbert Xu

On Fri, Dec 18, 2009 at 3:38 PM, Zhiyong Wu <zwu.kernel@gmail.com> wrote
> On Fri, Dec 18, 2009 at 3:12 PM, Am=C3=A9rico Wang <xiyou.wangcong@gmail.=
com> wrote:
>> On Fri, Dec 18, 2009 at 12:08 PM, Zhiyong Wu <zwu.kernel@gmail.com> wrot=
e:
>>> HI,
>>>
>>> linux-2.6.32 is compiled on a p6 machine with RH5.4 OS and KVM option i=
s enable.
>>>
>>> When rebooting this machine, a crash takes place such as:
>>>

<snip>

>>> command line: ro console=3Dhvc0 rhgb quiet root=3DLABEL=3D/
>>> memory layout at init:
>>> =C2=A0memory_limit : 0000000000000000 (16 MB aligned)
>>> =C2=A0alloc_bottom : 00000000019b0000
>>> =C2=A0alloc_top =C2=A0 =C2=A0: 0000000008000000
>>> =C2=A0alloc_top_hi : 0000000008000000
>>> =C2=A0rmo_top =C2=A0 =C2=A0 =C2=A0: 0000000008000000
>>> =C2=A0ram_top =C2=A0 =C2=A0 =C2=A0: 0000000008000000
>>> instantiating rtas at 0x0000000006e10000... done
>>> boot cpu hw idx 0000000000000000
>>> copying OF device tree...
>>> Building dt strings...
>>> Building dt structure...
>>> Device tree strings 0x0000000001bc0000 -> 0x0000000001bc15bb
>>> Device tree struct =C2=A00x0000000001bd0000 -> 0x0000000001bf0000
>>> Calling quiesce...
>>> returning from prom_init
>>> Red Hat nash version 5.1.19.6 starting
>>> ibmvscsi 30000002: fast_fail not supported in server
>>> sd 0:0:1:0: [sda] Assuming drive cache: write through
>>> sd 0:0:1:0: [sda] Assuming drive cache: write through
>>> sd 0:0:1:0: [sda] Assuming drive cache: write through
>>> insmod: error inserting '/lib/dm-region-hash.ko': -1 File exists
>>> mount: could not find filesystem '/dev/root'
>>> setuproot: moving /dev failed: No such file or directory
>>> setuproot: error mounting /proc: No such file or directory
>>> setuproot: error mounting /sys: No such file or directory
>>> switchroot: mount failed: No such file or directory
>>> Kernel panic - not syncing: Attempted to kill init!
>>> Rebooting in 180 seconds..[disconnect]
>>>
>>> Can anyone give me a warm hand?
>>
>> Probably this is not a problem of kernel, maybe it's
>> a problem of your initial ramdisk, or something wrong with
>> your root filesystem.
>>
>> Does changing "root=3DLABEL=3D/" to "root=3D/dev/XXX" help?
>> Where "/dev/XXX" is your root filesystem.
>>
>
> It does'nt still work based on your method.

Hmm, so I would guess it's a problem in your initial ramdisk.

So you can boot RH5 native kernel with the same boot options
but only this one not??

Or maybe the udev your are using doesn't work with 2.6.32?
Only another guess...

But anyway, checking your 'mkinitrd' would help.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-12-18  7:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-18  4:08 2.6.32 Kernel panic - not syncing: Attempted to kill init! Rebooting in 180 seconds Zhiyong Wu
2009-12-18  6:50 ` Barry Song
2009-12-18  7:12 ` Américo Wang
2009-12-18  7:38   ` Zhiyong Wu
2009-12-18  7:50     ` Américo Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).