* HELP: Kernel panic
@ 2003-03-21 15:59 Yinsheng Li
2003-03-21 18:08 ` Jan-Benedict Glaw
2003-03-24 3:19 ` Tom Si
0 siblings, 2 replies; 6+ messages in thread
From: Yinsheng Li @ 2003-03-21 15:59 UTC (permalink / raw)
Hello,
I have a problem after I upgrade the kernel. While I try to boot from the
new updated kernel, I got an error -- "Kernel panic. No init found, try
init = option to kernel"
What should I do now? I can still use old kernel, but I really need to use
new kernel.
Some background: I installed the Redhat 7.2 through RAID card using Dell
GX400 CPU, then I removed the harddrive to an Multi-CPU box. After moving,
I found it still using the kernel for single CPU, therefore I have to
change to use smp-kernel. I download one rpm from redhat website. After
install, I got the above error. I have used the command lilo -v -v, but
didn't help.
Following is my lilo.conf:
prompt
timeout=50
default=linux
boot=/dev/sda
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear
image=/boot/vmlinuz-2.4.7-10
label=linux-smp
initrd=/boot/initrd-2.4.7-10.img
read-only
root=/dev/sda1
append="hdc=ide-scsi"
image=/boot/vmlinuz-2.4.9-31
label=linux.bak1
root=/dev/sda1
append="hdc=ide-scsi"
read-only
initrd=/boot/initrd-2.4.9-31.img
image=/boot/vmlinuz-2.4.9-34
label=linux.bak12
root=/dev/sda1
append="hdc=ide-scsi"
read-only
initrd=/boot/initrd-2.4.9-34.img
image=/boot/vmlinuz-2.4.18-17.7.x
label=linux.bak123
root=/dev/sda1
append="hdc=ide-scsi"
read-only
initrd=/boot/initrd-2.4.18-17.7.x.img
image=/boot/vmlinuz-2.4.18-18.7.x
label=linux.bak1234
root=/dev/sda1
append="hdc=ide-scsi"
read-only
initrd=/boot/initrd-2.4.18-18.7.x.img
image=/boot/vmlinuz-2.4.18-19.7.x
label=linux.bak12345
root=/dev/sda1
append="hdc=ide-scsi"
read-only
initrd=/boot/initrd-2.4.18-19.7.x.img
image=/boot/vmlinuz-2.4.18-24.7.x
label=linux.bak
root=/dev/sda1
append="hdc=ide-scsi"
read-only
initrd=/boot/initrd-2.4.18-24.7.x.img
image=/boot/vmlinuz-2.4.18-24.8.0smp
label=linux123456
root=/dev/sda1
append="hdc=ide-scsi"
read-only
initrd=/boot/initrd-2.4.18-24.8.0smp.img
image=/boot/vmlinuz-2.4.18-26.7.xsmp
label=linux-smp
root=/dev/sda1
append="hdc=ide-scsi"
read-only
initrd=/boot/initrd-2.4.18-26.7.xsmp.img
Thanks,
Yinsheng Li
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: HELP: Kernel panic
@ 2003-03-21 16:49 Walter Harms
0 siblings, 0 replies; 6+ messages in thread
From: Walter Harms @ 2003-03-21 16:49 UTC (permalink / raw)
hi,
the message indicates that he dont find /sbin/init. are you sure that
the root device is mounted ? (not mounted root devices cause also panic).
e.g if the driver for the scsi is not compiled in and the load in the
initrd fails, the root cant mounted.
If anything fails i would try to boot from a disk perhaps even use
busybox in a ramdisk.
walter
- - - - - - - - - - - - - - Original Message - - - - - - - - - - - - - -
From: Yinsheng Li <yli@hamilton.edu>
Subject: HELP: Kernel panic
Date: 03/21/03 16:59
Hello,
I have a problem after I upgrade the kernel. While I try to boot from the
new updated kernel, I got an error -- "Kernel panic. No init found, try
init = option to kernel"
What should I do now? I can still use old kernel, but I really need to use
new kernel.
Some background: I installed the Redhat 7.2 through RAID card using Dell
GX400 CPU, then I removed the harddrive to an Multi-CPU box. After moving,
I found it still using the kernel for single CPU, therefore I have to
change to use smp-kernel. I download one rpm from redhat website. After
install, I got the above error. I have used the command lilo -v -v, but
didn't help.
Following is my lilo.conf:
prompt
timeout=50
default=linux
boot=/dev/sda
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear
image=/boot/vmlinuz-2.4.7-10
label=linux-smp
initrd=/boot/initrd-2.4.7-10.img
read-only
root=/dev/sda1
append="hdc=ide-scsi"
image=/boot/vmlinuz-2.4.9-31
label=linux.bak1
root=/dev/sda1
append="hdc=ide-scsi"
read-only
initrd=/boot/initrd-2.4.9-31.img
image=/boot/vmlinuz-2.4.9-34
label=linux.bak12
root=/dev/sda1
append="hdc=ide-scsi"
read-only
initrd=/boot/initrd-2.4.9-34.img
image=/boot/vmlinuz-2.4.18-17.7.x
label=linux.bak123
root=/dev/sda1
append="hdc=ide-scsi"
read-only
initrd=/boot/initrd-2.4.18-17.7.x.img
image=/boot/vmlinuz-2.4.18-18.7.x
label=linux.bak1234
root=/dev/sda1
append="hdc=ide-scsi"
read-only
initrd=/boot/initrd-2.4.18-18.7.x.img
image=/boot/vmlinuz-2.4.18-19.7.x
label=linux.bak12345
root=/dev/sda1
append="hdc=ide-scsi"
read-only
initrd=/boot/initrd-2.4.18-19.7.x.img
image=/boot/vmlinuz-2.4.18-24.7.x
label=linux.bak
root=/dev/sda1
append="hdc=ide-scsi"
read-only
initrd=/boot/initrd-2.4.18-24.7.x.img
image=/boot/vmlinuz-2.4.18-24.8.0smp
label=linux123456
root=/dev/sda1
append="hdc=ide-scsi"
read-only
initrd=/boot/initrd-2.4.18-24.8.0smp.img
image=/boot/vmlinuz-2.4.18-26.7.xsmp
label=linux-smp
root=/dev/sda1
append="hdc=ide-scsi"
read-only
initrd=/boot/initrd-2.4.18-26.7.xsmp.img
Thanks,
Yinsheng Li
_______________________________________________
Axp-kernel-list mailing list
Axp-kernel-list@redhat.com
https://listman.redhat.com/mailman/listinfo/axp-kernel-list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: HELP: Kernel panic
2003-03-21 15:59 HELP: Kernel panic Yinsheng Li
@ 2003-03-21 18:08 ` Jan-Benedict Glaw
2003-03-24 3:19 ` Tom Si
1 sibling, 0 replies; 6+ messages in thread
From: Jan-Benedict Glaw @ 2003-03-21 18:08 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 2838 bytes --]
On Fri, 2003-03-21 10:59:47 -0500, Yinsheng Li <yli@hamilton.edu>
wrote in message <5.1.0.14.0.20030321105852.00c334c0@hamilton.edu>:
> Hello,
>
> I have a problem after I upgrade the kernel. While I try to boot from the
> new updated kernel, I got an error -- "Kernel panic. No init found, try
> init = option to kernel"
>
> What should I do now? I can still use old kernel, but I really need to use
> new kernel.
>
> Some background: I installed the Redhat 7.2 through RAID card using Dell
> GX400 CPU, then I removed the harddrive to an Multi-CPU box. After moving,
Umh... Asking google for "Dell GX400" seems to indicate that this is
an Intel P4 based box. Sure this is on-topic on this list (we're talking
about Linux on Alpha-based hardware...)
> I found it still using the kernel for single CPU, therefore I have to
> change to use smp-kernel. I download one rpm from redhat website. After
> install, I got the above error. I have used the command lilo -v -v, but
> didn't help.
LILO is also only suitable for ia32 hardware. You cannot really boot an
Alpha with that:)
> Following is my lilo.conf:
>
> prompt
> timeout=50
> default=linux
You tell lilo to boot the "linux" image after a 5sec delay. However, I
can nowhere find a "label=linux" or "alias=linux" line below... So I
would guess that lilo would have _never_ accepted this config file at
all...
> boot=/dev/sda
> map=/boot/map
> install=/boot/boot.b
> message=/boot/message
> linear
>
> image=/boot/vmlinuz-2.4.7-10
> label=linux-smp
> initrd=/boot/initrd-2.4.7-10.img
> read-only
> root=/dev/sda1
> append="hdc=ide-scsi"
[...]
You're using initrds for all those images. Is it possible that one of
those (actually the new one you want to boot) cannot do the correct
things to bring up your "real" root filesystem? ...or are those initrds
not used at all, because there's a root=/dev/sda1 line (and not
root=/dev/ram or whatever...)? If it's the later one, is it possible
that /dev/sda1 isn't the partition mounted on "/" ? Personally, I
almost _always_ have my first partition of my first HDD in a machine
containing /boot (because of BIOS issues, you know...).
After all - what's your old kernel version, what's your new kernel
version, what's their .config file looking like and how does the screen
look like (what can you read there?) when the panic occures? Not only
the last line, but the whole screen?!
And, most important, how is this related to DEC Alphas?
MfG, JBG
--
Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak!
ret = do_actions((curr | FREE_SPEECH) & ~(IRAQ_WAR_2 | DRM | TCPA));
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: HELP: Kernel panic
2003-03-21 15:59 HELP: Kernel panic Yinsheng Li
2003-03-21 18:08 ` Jan-Benedict Glaw
@ 2003-03-24 3:19 ` Tom Si
1 sibling, 0 replies; 6+ messages in thread
From: Tom Si @ 2003-03-24 3:19 UTC (permalink / raw)
Have you rebuilded the lilo? checking the img file and the config of
kernel to see if the kernel can get the image file.
wish it can help you
Tom
Yinsheng Li wrote:
> Hello,
>
> I have a problem after I upgrade the kernel. While I try to boot from
> the new updated kernel, I got an error -- "Kernel panic. No init
> found, try init = option to kernel"
>
>
> What should I do now? I can still use old kernel, but I really need to
> use new kernel.
>
> Some background: I installed the Redhat 7.2 through RAID card using
> Dell GX400 CPU, then I removed the harddrive to an Multi-CPU box.
> After moving, I found it still using the kernel for single CPU,
> therefore I have to change to use smp-kernel. I download one rpm from
> redhat website. After install, I got the above error. I have used the
> command lilo -v -v, but didn't help.
>
>
> Following is my lilo.conf:
>
> prompt
> timeout=50
> default=linux
> boot=/dev/sda
> map=/boot/map
> install=/boot/boot.b
> message=/boot/message
> linear
>
> image=/boot/vmlinuz-2.4.7-10
> label=linux-smp
> initrd=/boot/initrd-2.4.7-10.img
> read-only
> root=/dev/sda1
> append="hdc=ide-scsi"
>
> image=/boot/vmlinuz-2.4.9-31
> label=linux.bak1
> root=/dev/sda1
> append="hdc=ide-scsi"
> read-only
> initrd=/boot/initrd-2.4.9-31.img
>
> image=/boot/vmlinuz-2.4.9-34
> label=linux.bak12
> root=/dev/sda1
> append="hdc=ide-scsi"
> read-only
> initrd=/boot/initrd-2.4.9-34.img
>
> image=/boot/vmlinuz-2.4.18-17.7.x
> label=linux.bak123
> root=/dev/sda1
> append="hdc=ide-scsi"
> read-only
> initrd=/boot/initrd-2.4.18-17.7.x.img
>
> image=/boot/vmlinuz-2.4.18-18.7.x
> label=linux.bak1234
> root=/dev/sda1
> append="hdc=ide-scsi"
> read-only
> initrd=/boot/initrd-2.4.18-18.7.x.img
>
> image=/boot/vmlinuz-2.4.18-19.7.x
> label=linux.bak12345
> root=/dev/sda1
> append="hdc=ide-scsi"
> read-only
> initrd=/boot/initrd-2.4.18-19.7.x.img
>
> image=/boot/vmlinuz-2.4.18-24.7.x
> label=linux.bak
> root=/dev/sda1
> append="hdc=ide-scsi"
> read-only
> initrd=/boot/initrd-2.4.18-24.7.x.img
>
> image=/boot/vmlinuz-2.4.18-24.8.0smp
> label=linux123456
> root=/dev/sda1
> append="hdc=ide-scsi"
> read-only
> initrd=/boot/initrd-2.4.18-24.8.0smp.img
>
> image=/boot/vmlinuz-2.4.18-26.7.xsmp
> label=linux-smp
> root=/dev/sda1
> append="hdc=ide-scsi"
> read-only
> initrd=/boot/initrd-2.4.18-26.7.xsmp.img
>
>
> Thanks,
> Yinsheng Li
>
>
>
> _______________________________________________
> Axp-kernel-list mailing list
> Axp-kernel-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-kernel-list
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: HELP: Kernel panic
@ 2003-03-24 14:44 Yinsheng Li
2003-03-25 1:16 ` Tom Si
0 siblings, 1 reply; 6+ messages in thread
From: Yinsheng Li @ 2003-03-24 14:44 UTC (permalink / raw)
Yes, I rebuilt the lilo.conf file. How can I check config of kernel to see if the kernel can get the image file?
Thanks,
Yinsheng
----- Original Message -----
From: Tom Si <tom_linux@sohu.com>
Date: Sunday, March 23, 2003 10:19 pm
Subject: Re: HELP: Kernel panic
> Have you rebuilded the lilo? checking the img file and the config
> of
> kernel to see if the kernel can get the image file.
>
> wish it can help you
>
> Tom
>
> Yinsheng Li wrote:
>
> > Hello,
> >
> > I have a problem after I upgrade the kernel. While I try to boot
> from
> > the new updated kernel, I got an error -- "Kernel panic. No init
> > found, try init = option to kernel"
> >
> >
> > What should I do now? I can still use old kernel, but I really
> need to
> > use new kernel.
> >
> > Some background: I installed the Redhat 7.2 through RAID card
> using
> > Dell GX400 CPU, then I removed the harddrive to an Multi-CPU
> box.
> > After moving, I found it still using the kernel for single CPU,
> > therefore I have to change to use smp-kernel. I download one rpm
> from
> > redhat website. After install, I got the above error. I have
> used the
> > command lilo -v -v, but didn't help.
> >
> >
> > Following is my lilo.conf:
> >
> > prompt
> > timeout=50
> > default=linux
> > boot=/dev/sda
> > map=/boot/map
> > install=/boot/boot.b
> > message=/boot/message
> > linear
> >
> > image=/boot/vmlinuz-2.4.7-10
> > label=linux-smp
> > initrd=/boot/initrd-2.4.7-10.img
> > read-only
> > root=/dev/sda1
> > append="hdc=ide-scsi"
> >
> > image=/boot/vmlinuz-2.4.9-31
> > label=linux.bak1
> > root=/dev/sda1
> > append="hdc=ide-scsi"
> > read-only
> > initrd=/boot/initrd-2.4.9-31.img
> >
> > image=/boot/vmlinuz-2.4.9-34
> > label=linux.bak12
> > root=/dev/sda1
> > append="hdc=ide-scsi"
> > read-only
> > initrd=/boot/initrd-2.4.9-34.img
> >
> > image=/boot/vmlinuz-2.4.18-17.7.x
> > label=linux.bak123
> > root=/dev/sda1
> > append="hdc=ide-scsi"
> > read-only
> > initrd=/boot/initrd-2.4.18-17.7.x.img
> >
> > image=/boot/vmlinuz-2.4.18-18.7.x
> > label=linux.bak1234
> > root=/dev/sda1
> > append="hdc=ide-scsi"
> > read-only
> > initrd=/boot/initrd-2.4.18-18.7.x.img
> >
> > image=/boot/vmlinuz-2.4.18-19.7.x
> > label=linux.bak12345
> > root=/dev/sda1
> > append="hdc=ide-scsi"
> > read-only
> > initrd=/boot/initrd-2.4.18-19.7.x.img
> >
> > image=/boot/vmlinuz-2.4.18-24.7.x
> > label=linux.bak
> > root=/dev/sda1
> > append="hdc=ide-scsi"
> > read-only
> > initrd=/boot/initrd-2.4.18-24.7.x.img
> >
> > image=/boot/vmlinuz-2.4.18-24.8.0smp
> > label=linux123456
> > root=/dev/sda1
> > append="hdc=ide-scsi"
> > read-only
> > initrd=/boot/initrd-2.4.18-24.8.0smp.img
> >
> > image=/boot/vmlinuz-2.4.18-26.7.xsmp
> > label=linux-smp
> > root=/dev/sda1
> > append="hdc=ide-scsi"
> > read-only
> > initrd=/boot/initrd-2.4.18-26.7.xsmp.img
> >
> >
> > Thanks,
> > Yinsheng Li
> >
> >
> >
> > _______________________________________________
> > Axp-kernel-list mailing list
> > Axp-kernel-list@redhat.com
> > https://listman.redhat.com/mailman/listinfo/axp-kernel-list
> >
> >
>
>
>
>
> _______________________________________________
> Axp-kernel-list mailing list
> Axp-kernel-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-kernel-list
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: HELP: Kernel panic
2003-03-24 14:44 Yinsheng Li
@ 2003-03-25 1:16 ` Tom Si
0 siblings, 0 replies; 6+ messages in thread
From: Tom Si @ 2003-03-25 1:16 UTC (permalink / raw)
Yinsheng Li wrote:
>Yes, I rebuilt the lilo.conf file. How can I check config of kernel to see if the kernel can get the image file?
>
>Thanks,
>Yinsheng
>----- Original Message -----
>From: Tom Si <tom_linux@sohu.com>
>Date: Sunday, March 23, 2003 10:19 pm
>Subject: Re: HELP: Kernel panic
>
>
when you reedit the lilo.conf,you need run the lilo again, if not maybe
the lilo wouldn't work when you reboot your box.
the kernel can get the image file means:1)the kernel must can find out
where is the image file 2)kernel supports ram disk.
about the detials you should refer to how to build the kernel.
rgds,
Tom
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-03-25 1:16 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-21 15:59 HELP: Kernel panic Yinsheng Li
2003-03-21 18:08 ` Jan-Benedict Glaw
2003-03-24 3:19 ` Tom Si
-- strict thread matches above, loose matches on Subject: below --
2003-03-21 16:49 Walter Harms
2003-03-24 14:44 Yinsheng Li
2003-03-25 1:16 ` Tom Si
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox