All of lore.kernel.org
 help / color / mirror / Atom feed
* sata_via issue for VIA Epia SP8000 in 2.6.18[.1]?
@ 2006-10-22 12:19 Udo van den Heuvel
  2006-10-24  0:04 ` Daniel Drake
  0 siblings, 1 reply; 5+ messages in thread
From: Udo van den Heuvel @ 2006-10-22 12:19 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* sata_via issue for VIA Epia SP8000 in 2.6.18[.1]?
@ 2006-10-22 12:44 Udo van den Heuvel
  2006-10-22 13:16 ` Udo van den Heuvel
  0 siblings, 1 reply; 5+ messages in thread
From: Udo van den Heuvel @ 2006-10-22 12:44 UTC (permalink / raw)
  To: linux-ide

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 blurbs:

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

PS: Sorry for sending this also to linux-kernel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: sata_via issue for VIA Epia SP8000 in 2.6.18[.1]?
  2006-10-22 12:44 Udo van den Heuvel
@ 2006-10-22 13:16 ` Udo van den Heuvel
  0 siblings, 0 replies; 5+ messages in thread
From: Udo van den Heuvel @ 2006-10-22 13:16 UTC (permalink / raw)
  To: linux-ide

Udo van den Heuvel wrote:
> 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.

By changing quirks.c, quirk_via_irq to be mopre precise to

[...]
                        pci_name(dev), irq, new_irq);
                udelay(15);     /* unknown if delay really needed */
                pci_write_config_byte(dev, PCI_INTERRUPT_LINE, new_irq);
        }
}
DECLARE_PCI_FIXUP_ENABLE(PCI_VENDOR_ID_VIA, PCI_ANY_ID, quirk_via_irq)
/*DECLARE_PCI_FIXUP_ENABLE(PCI_VENDOR_ID_VIA,
PCI_DEVICE_ID_VIA_82C586_0, quirk_via_irq);
DECLARE_PCI_FIXUP_ENABLE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C586_1,
quirk_via_irq);
DECLARE_PCI_FIXUP_ENABLE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C586_2,
quirk_via_irq);
DECLARE_PCI_FIXUP_ENABLE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C586_3,
quirk_via_irq);
DECLARE_PCI_FIXUP_ENABLE(PCI_VENDOR_ID_VIA,
PCI_DEVICE_ID_VIA_8235_USB_2, quirk_via_irq);
DECLARE_PCI_FIXUP_ENABLE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C686,
quirk_via_irq);
DECLARE_PCI_FIXUP_ENABLE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C686_4,
quirk_via_irq);
DECLARE_PCI_FIXUP_ENABLE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C686_5,
quirk_via_irq);*/

stuff starts booting again.
This issue has been there since 2.6,17.x. Please FIX!

Thanks,
Udo


PS:

# lspci
00:00.0 Host bridge: VIA Technologies, Inc. CN400/PM880 Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. CN400/PM880 Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. CN400/PM880 Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. CN400/PM880 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. CN400/PM880 Host Bridge
00:00.7 Host bridge: VIA Technologies, Inc. CN400/PM880 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
00:0d.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host
Controller (rev 80)
00:0f.0 IDE interface: VIA Technologies, Inc. VIA VT6420 SATA RAID
Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc.
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge
[KT600/K8T800/K8T890 South]
00:11.5 Multimedia audio controller: VIA Technologies, Inc.
VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II]
(rev 78)
00:14.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
01:00.0 VGA compatible controller: VIA Technologies, Inc. S3 Unichrome
Pro VGA Adapter (rev 02)

# cat /proc/interrupts
           CPU0
  0:     341650          XT-PIC  timer
  1:         48          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  8:          1          XT-PIC  rtc
  9:          0          XT-PIC  acpi
 10:      13348          XT-PIC  libata, VIA8237, uhci_hcd:usb3,
uhci_hcd:usb4, ehci_hcd:usb5, ohci1394
 11:    4945538          XT-PIC  uhci_hcd:usb1, uhci_hcd:usb2, eth0,
via@pci:0000:01:00.0
 12:       3389          XT-PIC  i8042
 14:      11782          XT-PIC  ide0
NMI:          0
ERR:          0

What other info is useful?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: sata_via issue for VIA Epia SP8000 in 2.6.18[.1]?
  2006-10-22 12:19 sata_via issue for VIA Epia SP8000 in 2.6.18[.1]? Udo van den Heuvel
@ 2006-10-24  0:04 ` Daniel Drake
  2006-10-24 14:23   ` Udo van den Heuvel
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Drake @ 2006-10-24  0:04 UTC (permalink / raw)
  To: Udo van den Heuvel; +Cc: linux-kernel, linux-ide

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: sata_via issue for VIA Epia SP8000 in 2.6.18[.1]?
  2006-10-24  0:04 ` Daniel Drake
@ 2006-10-24 14:23   ` Udo van den Heuvel
  0 siblings, 0 replies; 5+ messages in thread
From: Udo van den Heuvel @ 2006-10-24 14:23 UTC (permalink / raw)
  To: Daniel Drake; +Cc: linux-kernel, linux-ide

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-10-24 14:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-22 12:19 sata_via issue for VIA Epia SP8000 in 2.6.18[.1]? Udo van den Heuvel
2006-10-24  0:04 ` Daniel Drake
2006-10-24 14:23   ` Udo van den Heuvel
  -- strict thread matches above, loose matches on Subject: below --
2006-10-22 12:44 Udo van den Heuvel
2006-10-22 13:16 ` Udo van den Heuvel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.