All of lore.kernel.org
 help / color / mirror / Atom feed
From: 俞琳 <yulin@starsoftcomm.com>
To: Uwe Koziolek <uwe.koziolek@gmx.net>
Cc: linux-ide@vger.kernel.org
Subject: Re: YuLin: Where can I get the newest source of sata_sis?
Date: Wed, 06 Jun 2007 10:11:30 +0800	[thread overview]
Message-ID: <466617D2.4000102@starsoftcomm.com> (raw)
In-Reply-To: <46633E34.4060708@gmx.net>

Uwe Koziolek 写道:
>>>> When we used 2.6.18 and 2.6.20 on ASUS sis-671 motherboard, We have some
>>>> problem: cannot find the harddisk controller.
>>>> In BIOS, the SATA mode is 2P+2IDE.
>>>>
>>>> The official kernel 2.6.18, 2.6.20 and new 2.6.21 does not work, i get
>>>> some information about sata_sis 0.7.1 from you, may I get it ?
>>>>
>>>> We are so urgent, please help me.
>>>>
>>>> Thank you very much!!!!
>>>>     
>>>>       
>>>>         
>>> Asus is selling a P5X-MX SE motherboard with a SiS968
>>> southbridge. The SiS671 Northbridge is not intresting for the SATA-support.
>>> Currently it is only planned to support this chipset in
>>> AHCI-mode. You should select the AHCI mode for the SATA-ports in the
>>> BIOS. The ahci driver should support your board.
>>> kernel 2.6.20 should be sufficient.
>>> If this does not work, please provide the output of
>>> lspci -vvxxx and the selected mode for the SATA-port.
>>>
>>>
>>>     
>>>       
>>   new message:
>> SATA harddisk mode: IDE in BIOS
>> Port on SATA2 on motherboard failed. Dmesg said "ata2: SATA link down
>> (SStatus 0 SControl 0)".
>> Port on SATA1 on motherboard successed, found the harddisk and partitions.
>>
>> What is the difference between SATA1 port and SATA2 port on motherboard,
>> is it a number of SATA port or different SATA version?
>>
>>   
>>     
> The 966/968 has a primary and a secondary controller. Both controllers
> are connected with 2 SATA-ports,a master and a slave port. That is
> different to other SATA controllers.
>
> The secondary controller on your board is not connected with SATA-ports.
>
> The problem:
> Slave only configurations may not work.If you are only connecting the
> SATA-port 2, you have a slave only configuration.
> The ata2 in your dmesg is the unused secondary controller.
>
>
> I have retested the driver with SiS966 and kernel 2.6.22-rc3. It works
> correctly on my board on all ports.
>
> If you want to be sure that the disks are working
> Please use the master device (port 1 on your board)
> You can also try to use the kernel version i have tested.
>
> Uwe Koziolek
>
>   
Hi, Uwe Koziolek

Thank you for your help.
Accroding to your advice, I thought there was some problem in enabling
the SATA2 port.
And then I get the infomation from sis in china, the port2_start=0x10,
so I added it into sata_sis in 2.6.18 and 2.6.20.

if(pci_get_device(PCI_VENDOR_ID_SI, 0x0966, NULL)) {
pci_read_config_dword(pdev, 0x64, &val);
if (val & 0x10000000) {
dev_printk(KERN_INFO, &pdev->dev, "Detected SiS 1182/1183/966L SATA
controller\n");
} else {
dev_printk(KERN_INFO, &pdev->dev, "Detected SiS 1182/1183/966 SATA
controller\n");
pi.flags |= ATA_FLAG_SLAVE_POSS;
}
} else
{
dev_printk(KERN_INFO, &pdev->dev, "Detected SiS 1183/968+ chipset\n");
port2_start = 0x10;
}


I dont know whether it is needed to make patch for official source code.
You Please.

Finally, thank you very much. Keep in touch.

yulin

      reply	other threads:[~2007-06-06  2:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-31  9:18 YuLin: Where can I get the newest source of sata_sis? 俞琳
2007-05-31 19:22 ` Uwe Koziolek
2007-06-01  2:20   ` 俞琳
2007-06-01  4:26   ` 俞琳
2007-06-03 22:18     ` Uwe Koziolek
2007-06-06  2:11       ` 俞琳 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=466617D2.4000102@starsoftcomm.com \
    --to=yulin@starsoftcomm.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=uwe.koziolek@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.