2004-06-03 04:42:19

by Jan De Luyck

[permalink] [raw]
Subject: [2.6.6] ICH5 SATA problems

Hello List,

A friend of mine is trying to get both SATA and PATA working together on his Siemens box. The bios has a bunch of settings
concering sata/pata, being:
- SATA Standard (which is bootable by the bios). When this is selected, another setting is available
* Sata 1/2 only
* sata 1/2 + pata 3/4
* pata 1/2 + sata 1/2

Unfortunately, linux doesn't seem to see this controller then. lspci output:

0000:00:00.0 Host bridge: Intel Corp. 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
0000:00:01.0 PCI bridge: Intel Corp. 82865G/PE/P PCI to AGP Controller (rev 02)
0000:00:1d.0 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #1 (rev 02)
0000:00:1d.1 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #2 (rev 02)
0000:00:1d.2 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #3 (rev 02)
0000:00:1d.3 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #4 (rev 02)
0000:00:1d.7 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
0000:00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB/ER Hub interface to PCI Bridge (rev c2)
0000:00:1f.0 ISA bridge: Intel Corp. 82801EB/ER (ICH5/ICH5R) LPC Bridge (rev 02)
0000:00:1f.1 IDE interface: Intel Corp. 82801EB/ER (ICH5/ICH5R) Ultra ATA 100 Storage Controller (rev 02)
0000:00:1f.3 SMBus: Intel Corp. 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV20 [GeForce3 Ti 200] (rev a3)
0000:03:07.0 VGA compatible controller: Silicon Integrated Systems [SiS] 86C326 5598/6326 (rev 0b)
0000:03:08.0 Ethernet controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) integrated LAN Controller (rev 02)
0000:03:09.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07)
0000:03:09.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 07)

Another option is 'OS Only' for SATA, after which Linux is able to see the controller:

0000:00:00.0 Host bridge: Intel Corp. 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
0000:00:01.0 PCI bridge: Intel Corp. 82865G/PE/P PCI to AGP Controller (rev 02)
0000:00:1d.0 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #1 (rev 02)
0000:00:1d.1 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #2 (rev 02)
0000:00:1d.2 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #3 (rev 02)
0000:00:1d.3 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #4 (rev 02)
0000:00:1d.7 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
0000:00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB/ER Hub interface to PCI Bridge (rev c2)
0000:00:1f.0 ISA bridge: Intel Corp. 82801EB/ER (ICH5/ICH5R) LPC Bridge (rev 02)
0000:00:1f.1 IDE interface: Intel Corp. 82801EB/ER (ICH5/ICH5R) Ultra ATA 100 Storage Controller (rev 02)
==> 0000:00:1f.2 IDE interface: Intel Corp. 82801EB (ICH5) Serial ATA 150 Storage Controller (rev 02) <==
0000:00:1f.3 SMBus: Intel Corp. 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV20 [GeForce3 Ti 200] (rev a3)
0000:03:07.0 VGA compatible controller: Silicon Integrated Systems [SiS] 86C326 5598/6326 (rev 0b)
0000:03:08.0 Ethernet controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) integrated LAN Controller (rev 02)
0000:03:09.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07)
0000:03:09.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 07)

Is there a way to get both to work? Or will the box boot with the 'OS Only' selection? and only SATA disks in it?
The standard IDE controller is needed for some ATAPI devices.

Thanks.

--
"Speed is subsittute fo accurancy."


2004-06-03 06:12:00

by Erik Steffl

[permalink] [raw]
Subject: Re: [2.6.6] ICH5 SATA problems

Jan De Luyck wrote:
> Hello List,
>
> A friend of mine is trying to get both SATA and PATA working together on his Siemens box. The bios has a bunch of settings
> concering sata/pata, being:
> - SATA Standard (which is bootable by the bios). When this is selected, another setting is available
> * Sata 1/2 only
> * sata 1/2 + pata 3/4
> * pata 1/2 + sata 1/2

which kernel are you using and what are the sata related settings?

I have intel D865PERL with same sata controller as your friend, using
kernel 2.6.5, sata configured as scsi:

CONFIG_SCSI=y
CONFIG_SCSI_SATA=y
CONFIG_SCSI_ATA_PIIX=y

I have both ide (/dev/hd[a-d]) and sata disks (/dev/sda1), all
visible (two HDs on first ide controller, cd burner and dvd on second
ide controller, HD on SATA)

with 2.4.x kernels you might need some patches, the first 2.4.x
kernel I know supports SATA is 2.4.21-ac4, plus you (your friend) need
libata5 patches for SATA disks over 137GB.

erik

2004-06-03 10:05:37

by Jan De Luyck

[permalink] [raw]
Subject: Re: [2.6.6] ICH5 SATA problems

On Thursday 03 June 2004 08:11, Erik Steffl wrote:
> Jan De Luyck wrote:
> > Hello List,
> >
> > A friend of mine is trying to get both SATA and PATA working together on
> > his Siemens box. The bios has a bunch of settings concering sata/pata,
> > being:
> > - SATA Standard (which is bootable by the bios). When this is selected,
> > another setting is available * Sata 1/2 only
> > * sata 1/2 + pata 3/4
> > * pata 1/2 + sata 1/2
>
> which kernel are you using and what are the sata related settings?

The kernel involved is 2.6.6 (as noted in the subject), vanilla.
>
> I have intel D865PERL with same sata controller as your friend, using
> kernel 2.6.5, sata configured as scsi:
>
> CONFIG_SCSI=y
> CONFIG_SCSI_SATA=y
> CONFIG_SCSI_ATA_PIIX=y

Same configuration options are on.

> with 2.4.x kernels you might need some patches, the first 2.4.x
> kernel I know supports SATA is 2.4.21-ac4, plus you (your friend) need
> libata5 patches for SATA disks over 137GB.

He's going to insert 200gb maxtor drives - is this patch needed for 2.6.6 too?

Thx.

Jan

--
Reality is for people who lack imagination.

2004-06-03 17:29:26

by Jan De Luyck

[permalink] [raw]
Subject: Re: [2.6.6] ICH5 SATA problems [solved]

On Thursday 03 June 2004 06:42, Jan De Luyck wrote:
> Hello List,
>
> A friend of mine is trying to get both SATA and PATA working together on
> his Siemens box. The bios has a bunch of settings concering sata/pata,
> being:
> - SATA Standard (which is bootable by the bios). When this is selected,
> another setting is available * Sata 1/2 only
> * sata 1/2 + pata 3/4
> * pata 1/2 + sata 1/2

I've since then contacted Siemens on this issue, they tell me that with Sata
Standard, the bios makes up the entire IDE system of what you select: 2 sata
ports, or 2 sata + 2 pata ports. It can't support more than 4 ports and still
boot from it.

If you want them all, first upgrade the bios to the latest version and put it
on "OS Only".

Both work as a charm now.

Thanks anyway ;-)

Jan
--
Every time I think I know where it's at, they move it.