Bug#372523: linux-image-2.6.16-2-xen-686: kernel panic on software raid (md0)

2006-06-19 Thread FRLinux
Hello,

I actually found what the problem is, and i wonder if it is related to
your kernel settings. When i perform an install of Debian, the installer
sees two IDE drives as hda and hdc (they are indeed connected as primary
and secondary master) and a CDrom drive.

When your Xen kernel boots, it then sees the two drives as hde and hdg,
which doesn't really make sense. The server is a Dell PowerEdge 650 which
has been stripped of all SCSI drives and being used with IDE instead.

The IDE controller seems to be a secondary controller from the looks of it
therefore explaining that devices are being *moved* to hde and hdg.

Now, why would the Debian installer see them as hda and hdc puzzles me a bit.

I hope that will help you out, i'm surely not the only one wanting to
install Xen on such a configuration.

Steph
-- 
Mail sent under Debian GNU/Linux
http://frlinux.net - Site d'aide a Linux en Francais
http://frlinux.net/files/frlinux_public_key.asc




Bug#372523: linux-image-2.6.16-2-xen-686: kernel panic on software raid (md0)

2006-06-19 Thread Frans Pop
On Monday 19 June 2006 18:23, FRLinux wrote:
 The IDE controller seems to be a secondary controller from the looks of
 it therefore explaining that devices are being *moved* to hde and hdg.

The question is: what is being seen as the primary IDE controller in this 
case (which claims hda-hdd).

This is all about the order in which device driver modules are being 
loaded and, basically, you cannot depend on any order.
This is also the reason behind the erratum for d-i listed on:
http://www.us.debian.org/devel/debian-installer/errata

Cheers,
FJP


pgpFLEQihyMKv.pgp
Description: PGP signature


Bug#372523: linux-image-2.6.16-2-xen-686: kernel panic on software raid (md0)

2006-06-19 Thread FRLinux
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Frans Pop wrote:
 On Monday 19 June 2006 18:23, FRLinux wrote:
 The IDE controller seems to be a secondary controller from the looks of
 it therefore explaining that devices are being *moved* to hde and hdg.
 
 The question is: what is being seen as the primary IDE controller in this 
 case (which claims hda-hdd).

The IDE controllers on the box are :
00:05.0 IDE interface: Silicon Image, Inc. PCI0680 Ultra ATA-133 Host
Controller (rev 02)
00:0f.1 IDE interface: Broadcom CSB6 RAID/IDE Controller (rev a0)

On normal debian install/kernel, the broadcom gets loaded first. On the
Xen kernel; the Sil controller gets in first.

Interestingly, the only way i got the Xen kernel to boot was to use
yaird rather than the standard mkinitrd, that is the only one which
compiles a proper list of my modules.

 This is also the reason behind the erratum for d-i listed on:
 http://www.us.debian.org/devel/debian-installer/errata

Nice one, i had forgotten about that one, that would indeed explain the
behavior.

I have to paste this in, this is the boot from the Xen kernel :

SiI680: IDE controller at PCI slot :00:05.0
SiI680: chipset revision 2
SiI680: BASE CLOCK == 133
SiI680: 100% native mode on irq 16
ide0: MMIO-DMA , BIOS settings: hda:pio, hdb:pio
ide1: MMIO-DMA , BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
hda: SAMSUNG SP2014N, ATA DISK drive
ide0 at 0xf4802080-0xf4802087,0xf480208a on irq 16
Probing IDE interface ide1...
hdc: SAMSUNG SP2014N, ATA DISK drive
[snip]
SvrWks CSB6: IDE controller at PCI slot :00:0f.1
SvrWks CSB6: chipset revision 160
SvrWks CSB6: not 100% native mode: will probe irqs later
ide2: BM-DMA at 0x08b0-0x08b7, BIOS settings: hde:DMA, hdf:pio
ide3: BM-DMA at 0x08b8-0x08bf, BIOS settings: hdg:pio, hdh:pio
Probing IDE interface ide2...
hde: TEAC CD-ROM CD-224E, ATAPI CD/DVD-ROM drive

It actually booted up properly BUT (that's the important bit here), GRUB
wanted this to be able to start :

title   Xen 3.0 / XenLinux 2.6
kernel  /xen-3.0-i386.gz noreboot
module  /vmlinuz-2.6.16-2-xen-686 root=/dev/hde1 ro
module  /initrd.img-2.6.16-2-xen-686

Steph
- --
Mail sent on Gentoo Linux (http://www.gentoo.org)
http://frlinux.net - [EMAIL PROTECTED]
public key : http://frlinux.net/files/frlinux_public_key.asc


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFElv7xplbM2wjOZgMRAkp3AJ9P+Hi/Fm50tE4NBBhSVxDi0qMkpwCgs1zh
dy6ScXWtuJDlVod6JDI/I7s=
=yWS5
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#372523: linux-image-2.6.16-2-xen-686: kernel panic on software raid (md0)

2006-06-09 Thread FRLinux
Package: linux-image-2.6.16-2-xen-686
Version: 2.6.16-14
Severity: critical
Justification: breaks the whole system


Hello,

I have been using this article to set up and install my new Xen server (nice 
article btw) : http://www.debian-administration.org/articles/396

I did set up grub this way : 

title   Xen 3.0 / XenLinux 2.6
root(hd0,0)
kernel  /xen-3.0-i386.gz noreboot
module  /vmlinuz-2.6.16-2-xen-686 root=/dev/md0 ro
module  /initrd.img-2.6.16-2-xen-686

It unfortunately dies straight when it tries to find the root RAID partition. 
This is my partitions layout : 

/dev/md0  4.6G  134M  4.3G   4% /
tmpfs 443M 0  443M   0% /dev/shm
/dev/hda1 177M   13M  155M   8% /boot
/dev/md3  897M  8.1M  841M   1% /home
/dev/md5  158G  272K  158G   1% /mnt/xen
/dev/md4  449M  8.1M  417M   2% /tmp
/dev/md1  9.2G  313M  8.4G   4% /usr
/dev/md2  8.3G  233M  7.7G   3% /var

Is there a way around this ?

Thanks,
Steph

-- System Information: Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-386
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages linux-image-2.6.16-2-xen-686 depends on:
ii  initramfs-tools [linux-initra 0.60   tools for generating an initramfs
ii  linux-modules-2.6.16-2-xen-68 2.6.16-14  Linux kernel modules 2.6.16 image 
ii  module-init-tools 3.2.2-3tools for managing Linux kernel mo

Versions of packages linux-image-2.6.16-2-xen-686 recommends:
ii  libc6-xen 2.3.6-15   GNU C Library: Shared libraries [X

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#372523: linux-image-2.6.16-2-xen-686: kernel panic on software raid (md0)

2006-06-09 Thread Bastian Blank
severity 372523 wishlist
thanks

On Fri, Jun 09, 2006 at 10:01:20PM +0100, FRLinux wrote:
 Package: linux-image-2.6.16-2-xen-686
 Version: 2.6.16-14
 Severity: critical
 Justification: breaks the whole system

What does it break?

 It unfortunately dies straight when it tries to find the root RAID partition. 

Why do you expect that a xen image may boot different from a standard
one?

Bastian

-- 
Dammit Jim, I'm an actor, not a doctor.



Bug#372523: linux-image-2.6.16-2-xen-686: kernel panic on software raid (md0)

2006-06-09 Thread FRLinux
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Bastian Blank wrote:
 What does it break?

Evening,

It does render the whole system unusable since it cannot find RAID.

 Why do you expect that a xen image may boot different from a standard
 one?

That's it, i don't expect it to be different and the standard image does
handle all my soft raid properly.

Steph
- --
Mail sent on Gentoo Linux (http://www.gentoo.org)
http://frlinux.net - [EMAIL PROTECTED]
public key : http://frlinux.net/files/frlinux_public_key.asc


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEifaCplbM2wjOZgMRAiWuAJ4gldDfQd8njbtHlbgUYzb07VXyzACgoH46
ZoKshMwaGa1P1Y/4KnGpy74=
=5c7x
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]