Re: increase initialization time for serverworks sata

2015-11-15 Thread Miod Vallat
> > Don't tell me this fixes SATA on the xserve G5... > > It does. > > > Wonder if a "posting read" is necessary here. If that removes the > > need to increase the delay, it probably is a better solution. > > I've tried this diff and I have not been able to reproduce the bogus > SStatus value

Re: increase initialization time for serverworks sata

2015-11-15 Thread Miod Vallat
> Don't tell me this fixes SATA on the xserve G5... It does. > Wonder if a "posting read" is necessary here. If that removes the > need to increase the delay, it probably is a better solution. I've tried this diff and I have not been able to reproduce the bogus SStatus value in a few reboots

increase initialization time for serverworks sata

2015-11-14 Thread Miod Vallat
I have a machine here were SATA disks fail to attach on boot: pciide0 at pci8 dev 12 function 0 "ServerWorks K2 SATA" rev 0x00: DMA pciide0: using irq 0 for native-PCI interrupt pciide0: port 0: unknown SStatus: 0x0005 pciide0: port 0: PHY offline pciide0: port 1: PHY offline pciide0: port 2:

Re: increase initialization time for serverworks sata

2015-11-14 Thread Mark Kettenis
> Date: Sat, 14 Nov 2015 16:59:56 + > From: Miod Vallat > > I have a machine here were SATA disks fail to attach on boot: > > pciide0 at pci8 dev 12 function 0 "ServerWorks K2 SATA" rev 0x00: DMA > pciide0: using irq 0 for native-PCI interrupt > pciide0: port 0: unknown

Re: increase initialization time for serverworks sata

2015-11-14 Thread Theo de Raadt
> Don't tell me this fixes SATA on the xserve G5... I did try that back in the day. I cranked all the delays, and nothing helped. No interrupts came in, ever.