From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: pv_ops dom0 kernel failure with ata_piix Date: Fri, 9 Jan 2009 19:40:06 +0200 Message-ID: <20090109174006.GR15052@edu.joroinen.fi> References: <20081230144422.GD15052@edu.joroinen.fi> <1e16a9ed0812300803i325f3f02qa8d501fe13456e96@mail.gmail.com> <20081230161939.GG15052@edu.joroinen.fi> <20081230162835.GH15052@edu.joroinen.fi> <1e16a9ed0812300847s5dd1c2afj4fabcd4169258e40@mail.gmail.com> <20081230165211.GI15052@edu.joroinen.fi> <20081230181845.GK15052@edu.joroinen.fi> <20081230190356.GL15052@edu.joroinen.fi> <495BE5E1.40602@goop.org> <20090102064444.GN15052@edu.joroinen.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <20090102064444.GN15052@edu.joroinen.fi> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: Todd Deshane , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Fri, Jan 02, 2009 at 08:44:44AM +0200, Pasi K=E4rkk=E4inen wrote: > On Thu, Jan 01, 2009 at 08:36:33AM +1100, Jeremy Fitzhardinge wrote: > > Pasi K=E4rkk=E4inen wrote: > > >On Tue, Dec 30, 2008 at 08:18:45PM +0200, Pasi K=E4rkk=E4inen wrote: > > > =20 > > >>On Tue, Dec 30, 2008 at 06:52:11PM +0200, Pasi K=E4rkk=E4inen wrote= : > > >> =20 > > >>>On Tue, Dec 30, 2008 at 11:47:40AM -0500, Todd Deshane wrote: > > >>> =20 > > >>>>On Tue, Dec 30, 2008 at 11:28 AM, Pasi K=E4rkk=E4inen wrote: > > >>>> =20 > > >>>>>>>Try changing the SATA mode of the disk in the BIOS to either l= egacy=20 > > >>>>>>>or > > >>>>>>>ATA, depending > > >>>>>>>on what you bios supports. > > >>>>>>> > > >>>>>>>There is still a known issue with some of the AHCI stuff. > > >>>>>>> > > >>>>>>> =20 > > >>>>>>I'm not using AHCI at all.. AHCI (SATA) controller does not hav= e any=20 > > >>>>>>disks > > >>>>>>plugged in. > > >>>>>> > > >>>>>>My (only) disk is attached to IDE/PATA ICH6 controller.. > > >>>>>> > > >>>>>> =20 > > >>>>>I tried disabling AHCI anyway (even when I'm not using the AHCI = SATA > > >>>>>controller), but it didn't help. > > >>>>> > > >>>>>Booting the pv_ops dom0 kernel still fails.. because the IDE/PAT= A=20 > > >>>>>controller > > >>>>>still gets disabled (just like in the logs above) for some unkno= wn=20 > > >>>>>reason. > > >>>>> > > >>>>>-- Pasi > > >>>>> =20 > > >>>>So from the log it looks like you are getting a hard crash? > > >>>> > > >>>> =20 > > >>>No, it's not a hard crash.. I'm able to reboot the box with=20 > > >>>ctrl-alt-del.=20 > > >>> =20 > > >>>>Did you try adding noreboot to the xen command line and then tryi= ng > > >>>>to get any more information with sysreq stuff? > > >>>> > > >>>>Another thing that I noticed in the log is: > > >>>> > > >>>>irq 12: nobody cared (try booting with the "irqpoll" option) > > >>>> > > >>>>Is it an smp kernel? I had some weird problems when passing nosmp= at > > >>>>one point. > > >>>> > > >>>> =20 > > >>>Yep, it is SMP kernel..=20 > > >>>=20 > > >>> =20 > > >>>>I don't recognize this crash, those module traces, at least for m= e were > > >>>>non-fatal and didn't cause a crash. I was normally just dropped t= o a > > >>>>initramfs prompt in the case when the disk was not detected prope= rly. > > >>>> > > >>>>I was then able to at least look around and check that modules we= re > > >>>>loaded correctly etc. > > >>>> > > >>>> =20 > > >>>The problem seems to be the IDE controller/disk is not detected at= all.. > > >>>because the device gets disabled for some reason during ata_piix > > >>>loading/probing..=20 > > >>> > > >>>That is the only disk I have, so the root partition is on it. > > >>> > > >>>Same kernel works just fine on baremetal without Xen. > > >>> > > >>> =20 > > >>So I guess the subject should be 'failure with ata_piix' instead of= =20 > > >>'crash'..=20 > > >>Anyway, there seems to be problems with ata_piix too.. in addition = to=20 > > >>AHCI. > > >> > > >>Jeremy: Can you think of anything to try?=20 > > >> > > >> =20 > > > > > >I tried booting with "nosmp" dom0 kernel parameter: > > > =20 > >=20 > > Yes, nosmp is known to make things worse. It has the side-effect of=20 > > disabling io_apic support, so all the interrupt stuff fails in the wa= y=20 > > you've noticed. > >=20 >=20 > Yep. "nosmp" was just something I tried to see if it makes any differen= ce. > It didn't help. >=20 > Anyway, have you seen/heard of this problem with ata_piix earlier?=20 >=20 > http://pasik.reaktio.net/xen/pv_ops-dom0-debug/pv_ops-dom0-bootlog-1.tx= t > http://pasik.reaktio.net/xen/pv_ops-dom0-debug/pv_ops-dom0-bootlog-2.tx= t >=20 > Same kernel on baremetal without Xen: > http://pasik.reaktio.net/xen/pv_ops-dom0-debug/baremetal-dmesg.txt >=20 I just upgraded to newly released Xen 3.3.1 hypervisor but unfortunately = it didn't seem to help with my problem.. I still get the exact same errors w= ith ata_piix module: http://pasik.reaktio.net/xen/pv_ops-dom0-debug/pv_ops-dom0-bootlog-4-xen3= 31.txt xen_allocate_pirq: returning irq 30 for gsi 18 xen_set_ioapic_routing: irq 30 gsi 18 vector 160 ioapic 0 pin 18 triggeri= ng 0 polarity 1 ata_piix 0000:00:1f.1: PCI INT A -> GSI 18 (level, low) -> IRQ 30 xen: PCI device 0000:00:1f.1 pin 1 -> irq 30 xen: disable pci device 0000:00:1f.1 ata_piix: probe of 0000:00:1f.1 failed with error -38 -- Pasi