Frank Burkhardt
2005-Dec-11 18:07 UTC
[Xen-users] SCSI and ATA not working in Linux-Dom0 (Xen 3.0)
Hi Xen-Fans, after some days of trying and failing ... and googling, I finally decided to post this question here. Why is SCSI and IDE not working in a Dom0 (Linux-Kernel 2.6.12) in Xen 3.0? This is my system: * (relly cheap) SIS-based Mainboard (Elitegroup K6 SOM+) with non-swappable Duron XP 1400+ . * Adaptec 2940U SCSI Controller (using the _new_ aic7xxx-driver) * A SCSI harddisk (36GB, Seagate) * 512MB RAM There are not problems when with those kernels: * 2.6.14.2 (non-Xen) * 2.6.11.12 (Xen 2.0.7) There''s no chance to boot the kernel acpi-enabled, acpi=off is mandatory on this system. The boot process stops with this message: Cannot open root device "sda2" or unknown-block(0,0) Which is comprehensible - because the SCSI-adapter was not recognised. Here is the grub-entry: title XEN-3 Linux kernel /boot/xen-3.0.0.gz dom0_mem=200000 noreboot acpi=off module /boot/xen-linux-2.6.12.6-f3ee-enterprise root=/dev/sda2 ro console=tty0 The Dom0-Kernel is the one which is built when I ''make kernels'' in the xen-3.0-source. The word ''scsi'' doesn''t appear among the boot messages. It''s like SCSI is turned off completely - but it isn''t. Same for IDE: The IDE-drivers are compiled statically into the kernel, too. But there''s no sign of IDE controllers being recognised when Dom0 boots. Is it possible that there are no PCI devices available? Maybe some implicit "physdev_dom0_hide=''*''" ? What can I do to get the SCSI-adapter working? Thank you for any help. Regards, Frank _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ian Pratt
2005-Dec-11 18:32 UTC
RE: [Xen-users] SCSI and ATA not working in Linux-Dom0 (Xen 3.0)
> after some days of trying and failing ... and googling, I > finally decided to > post this question here. > > Why is SCSI and IDE not working in a Dom0 (Linux-Kernel > 2.6.12) in Xen 3.0? > This is my system: > * (relly cheap) SIS-based Mainboard (Elitegroup K6 SOM+) > with non-swappable Duron XP 1400+ . > * Adaptec 2940U SCSI Controller (using the _new_ aic7xxx-driver) > * A SCSI harddisk (36GB, Seagate) > * 512MB RAM > > There are not problems when with those kernels: > * 2.6.14.2 (non-Xen) > * 2.6.11.12 (Xen 2.0.7) > > There''s no chance to boot the kernel acpi-enabled, acpi=off > is mandatory on > this system. The boot process stops with this message: > > Cannot open root device "sda2" or unknown-block(0,0)That''s pretty odd. I''d have put money on you putting the acpi=off line on the kernel command line rather than Xen''s, but it looks like you have it right. Have you checked to see whether there''s a BIOS update that fixes the acpi issues? Turning acpi off should only be used as a last resort. Also, have you tried booting from the demo CD and having a poke around. Does it see your hardware OK? Ian> Which is comprehensible - because the SCSI-adapter was not recognised. > > Here is the grub-entry: > > title XEN-3 Linux > kernel /boot/xen-3.0.0.gz dom0_mem=200000 noreboot acpi=off > module /boot/xen-linux-2.6.12.6-f3ee-enterprise > root=/dev/sda2 ro console=tty0 > > The Dom0-Kernel is the one which is built when I ''make kernels'' in the > xen-3.0-source. > > The word ''scsi'' doesn''t appear among the boot messages. It''s > like SCSI is > turned off completely - but it isn''t. Same for IDE: The > IDE-drivers are > compiled statically into the kernel, too. But there''s no sign of IDE > controllers being recognised when Dom0 boots. > > Is it possible that there are no PCI devices available? Maybe > some implicit > "physdev_dom0_hide=''*''" ? What can I do to get the > SCSI-adapter working? > > Thank you for any help. > > Regards, > > Frank > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Frank Burkhardt
2005-Dec-11 19:00 UTC
Re: [Xen-users] SCSI and ATA not working in Linux-Dom0 (Xen 3.0)
Hi, On Sun, Dec 11, 2005 at 06:32:49PM -0000, Ian Pratt wrote: [snip]> > Cannot open root device "sda2" or unknown-block(0,0) > > That''s pretty odd. I''d have put money on you putting the acpi=off line > on the kernel command line rather than Xen''s, but it looks like you have > it right. > > Have you checked to see whether there''s a BIOS update that fixes the > acpi issues? Turning acpi off should only be used as a last resort.There are no updates - this mainboard is ancient.> Also, have you tried booting from the demo CD and having a poke around. > Does it see your hardware OK?I''ll download the CD an try but it''ll take some time (slow DSL :-( ). Unfortunally I''ve got the same problem * on a different computer (Athlon64 based) * using a Dom0-Kernel with ACPI 100% disabled Regards, Frank _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Frank Burkhardt
2005-Dec-11 21:30 UTC
Re: [Xen-users] SCSI and ATA not working in Linux-Dom0 (Xen 3.0)
Hi, On Sun, Dec 11, 2005 at 06:32:49PM -0000, Ian Pratt wrote: [snip]> > Cannot open root device "sda2" or unknown-block(0,0)[snip]> Also, have you tried booting from the demo CD and having a poke around. > Does it see your hardware OK?No. It''s the same problem as before: The kernel is unable to see any PCI device. When I boot any of the kernels listed in grub''s menu, there''s no change to mount the cd because the scsi controller can''t be found. The content of /xentestingcd is attached to this posting. Strange: The is no /proc/sys/bus/pci (even /proc/sys/bus doesn''t exist) directory inside the dom0. Regards, Frank _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users