2006-10-22 12:19:41

by Udo van den Heuvel

[permalink] [raw]
Subject: sata_via issue for VIA Epia SP8000 in 2.6.18[.1]?

Hello,

2.6.17.13 works OK on this VIA Epia SP8000.
(remember vaguely about some (PCI?) fixups to get things going)

Now I try to get 2.6.18.1 working. SATA is detected by this kernel but
disk gives timeout while 2.6.17.13 boots fine.

Some burbs:

Links is up but SStatus 113 SControl 300
qc timeout (cmd 0xec)
failed to IDENTIFY
This results in a kernel panic.

Any ideas?

2.6.17.13 gives stuff like this:

scsi0 : sata_via
ata2: SATA link up 1.5 Gbps (SStatus 113)
ata2: dev 0 cfg 49:2f00 82:746b 83:7f01 84:4023 85:7469 86:3c01 87:4023
88:40ff
ata2: dev 0 ATA-7, max UDMA7, 312581808 sectors: LBA48
ata2: dev 0 configured for UDMA/133
scsi1 : sata_via
Vendor: ATA Model: SAMSUNG HD160JJ Rev: ZM10
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
sda: sda1 sda2 < sda5 sda6 sda7 sda8 sda9 sda10 >
sd 1:0:0:0: Attached scsi disk sda


Udo


2006-10-24 00:05:06

by Daniel Drake

[permalink] [raw]
Subject: Re: sata_via issue for VIA Epia SP8000 in 2.6.18[.1]?

Udo van den Heuvel wrote:
> Hello,
>
> 2.6.17.13 works OK on this VIA Epia SP8000.
> (remember vaguely about some (PCI?) fixups to get things going)
> Now I try to get 2.6.18.1 working. SATA is detected by this kernel but
> disk gives timeout while 2.6.17.13 boots fine.
>
> Some burbs:
>
> Links is up but SStatus 113 SControl 300
> qc timeout (cmd 0xec)
> failed to IDENTIFY
> This results in a kernel panic.

Try this patch:
http://marc.theaimsgroup.com/?l=git-commits-head&m=116121959622812&q=raw

If that doesn't help, I guess you're seeing the same as
https://bugs.gentoo.org/150773

Daniel


2006-10-24 14:23:26

by Udo van den Heuvel

[permalink] [raw]
Subject: Re: sata_via issue for VIA Epia SP8000 in 2.6.18[.1]?

Hello,

Daniel Drake wrote:
>> Some burbs:
>>
>> Links is up but SStatus 113 SControl 300
>> qc timeout (cmd 0xec)
>> failed to IDENTIFY
>> This results in a kernel panic.
>
> Try this patch:
> http://marc.theaimsgroup.com/?l=git-commits-head&m=116121959622812&q=raw

Works well on VIA Epia SP8000 (w/ SATA) and does not break EK8000 (just
PATA).
Thanks very much!

Kind regards,
Udo