On Mon, Jul 20, 2009 at 6:13 PM, Mike Lovell<
mike@xxxxxxxxxxxx> wrote:
> Chris wrote:
>>
>> Quoting Mike Lovell <
mike@xxxxxxxxxxxx>:
>>
>>> Chris wrote:
>>>>
>>>> Quoting Mike Lovell <
mike@xxxxxxxxxxxx>:
>>>>
>>>>> On 7/18/2009 6:57 PM, Chris wrote:
>>>>>>
>>>>>> Hello.
>>>>>>
>>>>>> I am having a peculiar problem. ÂI am running a dual amd64 system Âon
>>>>>> a Tyan Tomcat h1000s S3950 motherboard with 4 Gigs of ram and  two SATA 3.0
>>>>>> g/s seagate drives (in RAID 1 configuration using  LVM2). ÂI am using
>>>>>> Gentoo Linux, current as of today.
>>>>>>
>>>>>> When I boot the system, everything looks good until it starts the
>>>>>> Âdrives, then the system chokes and spits out a bunch of errors Âlike
>>>>>> Âthese:
>>>>>> --------------------
>>>>>>
>>>>>> ACPI: PCI Interrupt 0000:01:0e.0[A] -> GSI 11 (level, low) -> IRQ 11
>>>>>> ata1: SATA max UDMA/133 cmd 0xffffc2000002c000 ctl
>>>>>> 0xffffc2000002c020 bmdma 0xffffc2000002c031
>>>>>> ata2: SATA max UDMA/133 cmd 0xffffc2000002c100 ctl
>>>>>> 0xffffc2000002c120 bmdma 0xffffc2000002c131
>>>>>> ata3: SATA max UDMA/133 cmd 0xffffc2000002c200 ctl
>>>>>> 0xffffc2000002c220 bmdma 0xffffc2000002c231
>>>>>> ata4: SATA max UDMA/133 cmd 0xffffc2000002c300 ctl
>>>>>> 0xffffc2000002c320 bmdma 0xffffc2000002c331
>>>>>> scsi0: sata_svw
>>>>>> ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
>>>>>> ata1.00: ATA-7: ST3250410AS, 3.AAC, max UDMA/133
>>>>>> ata1.00: 488397168 sectors, multi 16: LBA48 NCQ (depth 0/32)
>>>>>> ata1.00: qc timeout (cmd0xef)
>>>>>> ata1.00: failed to set xfermode (err_mask=0x4)
>>>>>> ata1: failed to recover some devices retrying in 5 secs
>>>>>> (starts over with SATA link up 1.5 gbps...)
>>>>>> ------------------------------------------
>>>>>> Eventually the system gives up (after struggling for like 10
>>>>>> minutes) and locks up hard.
>>>>>>
>>>>>> I found that if I disabled APIC in the BIOS, it will boot -- but Âas
>>>>>> Âsoon as I try to start the network, the logs fill with more Âof the Âsame
>>>>>> junk, and the system locks up hard.
>>>>>>
>>>>>> I installed a regular gentoo kernel, and used the exact same Âconfig
>>>>>> Âfile -- the system boots just fine. ÂNo problems Âwhat-so-ever. ÂSo, Âthis
>>>>>> is definitely a Xen thing...
>>>>>>
>>>>>> Anything I can do to fix this?
>>>>>>
>>>>>> btw: using kernel version 2.6.21-xen -- the most recent kernel in
>>>>>> Âportage -- and xen 3.4.0
>>>>>
>>>>> Do you get these same errors on an non-xenified kernel? Also, do the
>>>>> errors always contains errors complaining about ata1 or scsi0? If this
>>>>> is the case, then the first disk on the controller is bad and probably
>>>>> should be replaced. These errors are usually the driver detecting a
>>>>> problem disk and trying to handle the errors. Hope that answers your
>>>>> question.
>>>>>
>>>>> mike
>>>>
>>>> As I stated, I have installed a regular gentoo kernel with the same
>>>> Âexact .config file, and I do NOT have these problems. ÂOnly with ÂXen. ÂThe
>>>> controller is fine... ÂGotta be a Xen issue. ÂIt stinks Âof an IRQ or some
>>>> similar conflict to me...
>>>>
>>>> Any other ideas?
>>>>
>>>> Thanks.
>>>
>>> My bad for not completely reading your email. Sry.
>>>
>>> Was the regular kernel you used also a 2.6.21 kernel? I am assuming so
>>> since you said you used the exact same .config file and that is always
>>> changing between kernel versions. I have never used a controller that
>>> uses the sata_svw driver. One other option would be to use a newer
>>> kernel. There may not be a newer version in portage, but there are
>>> people that have made newer working tarballs.
>>>
>>>
http://lists.xensource.com/archives/html/xen-users/2009-06/msg00200.html
>>>
http://code.google.com/p/gentoo-xen-kernel/
>>>
>>> Hunting around the mailing list archives should turn up some additional
>>> resources. Hopefully these sites or the archives can help you out.
>>>
>>> mike
>>
>> Bad news -- I added the overlay for 2.6.30-r2 xen patched kernel, used the
>> same .config and recompiled... Âit won't boot. ÂGoes right to a a black
>> screen, then reboots. ÂTried remaking my initrd several times a few
>> different ways, just to see (a total shot in the dark) -- but no dice.