WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Centos Dom0 kernel panic on boot

To: Asim <linkasim@xxxxxxxxx>
Subject: Re: [Xen-users] Centos Dom0 kernel panic on boot
From: Arvind Sujeeth <asujeeth@xxxxxxxxxxxxxxxx>
Date: Fri, 18 Jul 2008 16:25:02 -0500
Cc: Alexander Hoßdorf <xen-users@xxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 18 Jul 2008 14:25:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7ef321c10807181345la6eecf0icd9c8478ac5806ab@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4880FC50.10006@xxxxxxxxxxxxxxxx> <4880FE13.7090108@xxxxxxxxxxx> <7ef321c10807181345la6eecf0icd9c8478ac5806ab@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.12 (X11/20080430)
To follow up, yes /lib/modules is being copied correctly during the build. The following SATA/SCSI related modules are being used:

scsi_mod, sd_mod, scsi_transport_sas, mptbase, mptscsih, mptsas, libata, sata_nv

For anyone else that might encounter something similar, I have finally been able to get it to boot by appending acpi=noirq or acpi=off to the kernel parameters in grub. I still get the warnings about the SATA link as in the previous serial console log, but it boots anyways and everything seems to be ok. So the problem actually appears to have been a conflict between the ACPI modules and the hardware. It's possible that newer ACPI modules would fix this problem also.

thanks again,
Arvind

Asim wrote:
Am just curious - did you correctly copy /lib/modules?

-Asim

On 7/18/08, Alexander Hoßdorf <xen-users@xxxxxxxxxxx> wrote:
Hi,

could you say what modules your sata device is using?
if you don't know, then please do "lsmod" with your working centOS
kernel and try to guess what module it is.

I guess you have to use a newer version of the module needed.

Cheers,
Alex


Arvind Sujeeth schrieb:
hello,

I am attempting to compile a Dom0 CentOS 5.2 guest from source, using
XenLinux 2.6.18.8 with a Xen 3.2.1 hypervisor. I am able to compile
the Dom0 kernel, but when I attempt to boot into it, I receive the
following messages:

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!

As the serial console log attached shows, there is some problem with
the SATA drivers that seems to be preventing the hard disks from being
mounted. I am running this on an HP wx9400 workstation (AMD 64 bit
Opteron, with 2 SATA disks using an on-board RAID controller).

I have tried several kernel configurations, including the default
XenLinux configuration, a modified version of my native kernel
configuration (with Xen options turned on), and a configuration set
with  'make allmodconfig'. I have tried ramdisks created using just
mkinitrd with no options, and also using `--with=scsi_mod
--with=sd_mod --with=sata_nv` as well as the same thing except using
`--preload=..`

The one thing that seems suspicious in the XenLinux configuration is
that the SCSI/SATA symbols have different names than the symbols in my
native CentOS kernel that does boot (2.6.18-92). When I try to copy
the native config, I get several warnings about unrecognized symbols,
and have to go manually turn on the SATA drivers in `make menuconfig`.

If anyone has any insight or suggestions, I really appreciate it.

thanks,
Arvind




__________ Hinweis von ESET NOD32 Antivirus, Signaturdatenbank-Version
3280 (20080718) __________

E-Mail wurde geprüft mit ESET NOD32 Antivirus.

http://www.eset.com
------------------------------------------------------------------------

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


__________ Hinweis von ESET NOD32 Antivirus, Signaturdatenbank-Version
3280 (20080718) __________

E-Mail wurde geprüft mit ESET NOD32 Antivirus.

http://www.eset.com

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>