public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* a elilo.conf question
@ 2004-05-27 18:21 Younggyun Koh
  2004-05-27 18:31 ` Stephane Eranian
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Younggyun Koh @ 2004-05-27 18:21 UTC (permalink / raw)
  To: linux-ia64

Hi,

i got the kernel image but still struggling booting...

elilo.conf entry i set is

image=/efi/redhat/vmlinuz-2.6.6.gz
	label=linux2.6.6
	root=/dev/sda3
	read-only

but when kernel being loaded, i got this error message...

VFS:Cannot open root device "sda3" or unknown-block(0,0)
Please append a currect "root=" boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)

(/dev/sda3 is mounted to / in the kernel 2.4)

the itanium 2 machine i'm using is hp zx6000

thank you very much!


			-Younggyun Koh (young@cc.gatech.edu)

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

* Re: a elilo.conf question
  2004-05-27 18:21 a elilo.conf question Younggyun Koh
@ 2004-05-27 18:31 ` Stephane Eranian
  2004-05-27 18:33 ` Bjorn Helgaas
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Stephane Eranian @ 2004-05-27 18:31 UTC (permalink / raw)
  To: linux-ia64

Hi,

On Thu, May 27, 2004 at 02:21:52PM -0400, Younggyun Koh wrote:
> Hi,
> 
> i got the kernel image but still struggling booting...
> 
> elilo.conf entry i set is
> 
> image=/efi/redhat/vmlinuz-2.6.6.gz
> 	label=linux2.6.6
> 	root=/dev/sda3
> 	read-only
> 
> but when kernel being loaded, i got this error message...
> 
> VFS:Cannot open root device "sda3" or unknown-block(0,0)
> Please append a currect "root=" boot option
> Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)
> 
> (/dev/sda3 is mounted to / in the kernel 2.4)
> 
> the itanium 2 machine i'm using is hp zx6000
> 

Most likely your kernel does not have the SCSI driver you need compiled in. 

You have two options:
	- compile the SCSI driver (Fusion) into the kernel

	- compile the driver as a module, and put it into an initrd.
	  the initrd file must be in the EFI partition. You need to 
	  add one line to the above elilo.conf entry: initrd=initrd_file_name

-- 
-Stephane

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

* Re: a elilo.conf question
  2004-05-27 18:21 a elilo.conf question Younggyun Koh
  2004-05-27 18:31 ` Stephane Eranian
@ 2004-05-27 18:33 ` Bjorn Helgaas
  2004-05-27 18:39 ` David Mosberger
  2004-05-27 18:53 ` Grant Grundler
  3 siblings, 0 replies; 5+ messages in thread
From: Bjorn Helgaas @ 2004-05-27 18:33 UTC (permalink / raw)
  To: linux-ia64

On Thursday 27 May 2004 12:21 pm, Younggyun Koh wrote:
> VFS:Cannot open root device "sda3" or unknown-block(0,0)
> Please append a currect "root=" boot option
> Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)
> ...
> the itanium 2 machine i'm using is hp zx6000

You probably don't have the right driver built in.  For zx6000, you
need the Fusion MPT driver, i.e.:

	CONFIG_FUSION=y

in your .config file.  Also make sure you have the correct filesystem(s)
built in (ext2 and/or ext3).

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

* Re: a elilo.conf question
  2004-05-27 18:21 a elilo.conf question Younggyun Koh
  2004-05-27 18:31 ` Stephane Eranian
  2004-05-27 18:33 ` Bjorn Helgaas
@ 2004-05-27 18:39 ` David Mosberger
  2004-05-27 18:53 ` Grant Grundler
  3 siblings, 0 replies; 5+ messages in thread
From: David Mosberger @ 2004-05-27 18:39 UTC (permalink / raw)
  To: linux-ia64

>>>>> On Thu, 27 May 2004 14:21:52 -0400 (EDT), Younggyun Koh <young@cc.gatech.edu> said:

  Younggyun> but when kernel being loaded, i got this error message...

  Younggyun> VFS:Cannot open root device "sda3" or unknown-block(0,0)
  Younggyun> Please append a currect "root=" boot option Kernel panic:
  Younggyun> VFS: Unable to mount root fs on unknown-block(0,0)

  Younggyun> (/dev/sda3 is mounted to / in the kernel 2.4)

  Younggyun> the itanium 2 machine i'm using is hp zx6000

That's usually an indication that the disk driver is missing.
Depending on your host controller, you may need to enable

CONFIG_FUSION=y

and/or

CONFIG_SCSI_SYM53C8XX_2=y
CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=1
CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS\x16
CONFIG_SCSI_SYM53C8XX_MAX_TAGSd

	--david

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

* Re: a elilo.conf question
  2004-05-27 18:21 a elilo.conf question Younggyun Koh
                   ` (2 preceding siblings ...)
  2004-05-27 18:39 ` David Mosberger
@ 2004-05-27 18:53 ` Grant Grundler
  3 siblings, 0 replies; 5+ messages in thread
From: Grant Grundler @ 2004-05-27 18:53 UTC (permalink / raw)
  To: linux-ia64

On Thu, May 27, 2004 at 02:21:52PM -0400, Younggyun Koh wrote:
> VFS:Cannot open root device "sda3" or unknown-block(0,0)
> Please append a currect "root=" boot option
> Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)
> 
> (/dev/sda3 is mounted to / in the kernel 2.4)

While bjorn, stephane, and david could be right,
arch/ia64/defconfig and arch/ia64/configs/zx1_defconfig
has FUSION enabled by default as a built-in driver.
My advice is to start with zx1_defconfig and customize
that for your useage.

One parisc, I get bitten by /dev/sda getting renamed to something
else (eg /dev/sdi) everytime I switch between 2.4/2.6 kernels.
My solution of course is to only use 2.6 kernels. :^)

If no disks show up, then the Fusion driver is missing.
If you can find the disk with the "right" partition
layout in your 2.6 console boot output (before the panic),
then this is likely the problem. If that's the case,
don't forget to update /etc/fstab entries if they aren't
"mount by label" or are not using mdadm.

grant

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

end of thread, other threads:[~2004-05-27 18:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-27 18:21 a elilo.conf question Younggyun Koh
2004-05-27 18:31 ` Stephane Eranian
2004-05-27 18:33 ` Bjorn Helgaas
2004-05-27 18:39 ` David Mosberger
2004-05-27 18:53 ` Grant Grundler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox