linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Regression: kernel 2.6.24{,.1} ahci problem, does not boot
       [not found] <Pine.LNX.4.63.0806141945270.2761@bob.slackware.com>
@ 2008-07-14 12:02 ` Tejun Heo
  2008-07-14 13:18   ` Tejun Heo
  2008-07-15  3:47   ` Piter PUNK
  0 siblings, 2 replies; 4+ messages in thread
From: Tejun Heo @ 2008-07-14 12:02 UTC (permalink / raw)
  To: Piter PUNK; +Cc: linux-kernel, Jeff Garzik, IDE/ATA development list

Piter PUNK wrote:
> I have a notebook with SiS968. It works with 2.6.23.x
> kernels but not with 2.6.24+ kernels. Probably my
> problem is the same of this old thread:
> 
> http://lkml.org/lkml/2008/2/14/263
> 
> The error is exactly the same.
> 
> Looking the changes from 2.6.23 to 2.6.24 in
> 
> http://kernelnewbies.org/Linux_2_6_24#head-f29764e7ef293be84e2f8aa1b08b8816b15ebfca
> 
> I try to revert two commits to see which one brokes
> my SATA device support. The guilt is this one:
> 
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=7d50b60b5e38f910ad69f0187af00f5d6a8970d4
> 
> It implements PMP support. In attached patch, I
> disable PMP support in ahci.c to SiS SATA controllers.
> 
> I hope i am sending the patch to correct place and
> it works fine to others (well, it's working to me).

This change made into the kernel in commit 9a3b103c...  Today, I
tested a SIS968 board whose lspci -nn output looks like the following.

  00:00.0 Host bridge [Class 0600]: Silicon Integrated Systems [SiS] 671MX [1039:0671]
  00:01.0 PCI bridge [Class 0604]: Silicon Integrated Systems [SiS] PCI-to-PCI bridge [1039:0004]
  00:02.0 ISA bridge [Class 0601]: Silicon Integrated Systems [SiS] SiS968 [MuTIOL Media IO] [1039:0968] (rev 01)
  00:02.5 IDE interface [Class 0101]: Silicon Integrated Systems [SiS] 5513 [IDE] [1039:5513] (rev 01)
  00:03.0 USB Controller [Class 0c03]: Silicon Integrated Systems [SiS] USB 1.0 Controller [1039:7001] (rev 0f)
  00:03.1 USB Controller [Class 0c03]: Silicon Integrated Systems [SiS] USB 1.0 Controller [1039:7001] (rev 0f)
  00:03.3 USB Controller [Class 0c03]: Silicon Integrated Systems [SiS] USB 2.0 Controller [1039:7002]
  00:04.0 Ethernet controller [Class 0200]: Silicon Integrated Systems [SiS] 191 Gigabit Ethernet Adapter [1039:0191] (rev 02)
  00:05.0 SATA controller [Class 0106]: Silicon Integrated Systems [SiS] AHCI IDE Controller (0106) [1039:1185] (rev 03)
  00:06.0 PCI bridge [Class 0604]: Silicon Integrated Systems [SiS] PCI-to-PCI bridge [1039:000a]
  00:07.0 PCI bridge [Class 0604]: Silicon Integrated Systems [SiS] PCI-to-PCI bridge [1039:000a]
  00:0d.0 VGA compatible controller [Class 0300]: ATI Technologies Inc Radeon RV100 QZ [Radeon 7000/VE] [1002:515a]
  00:0f.0 Audio device [Class 0403]: Silicon Integrated Systems [SiS] Azalia Audio Controller [1039:7502]
  00:10.0 RAID bus controller [Class 0104]: HighPoint Technologies, Inc. HPT372A/372N [1103:0005] (rev 02)
  02:00.0 Ethernet controller [Class 0200]: Intel Corporation 82572EI Gigabit Ethernet Controller (Copper) [8086:10b9] (rev 06)

And the AHCI controller 1039:1185 @ 00:05.0 works just fine with
regular devices and PMPs.  Can you please post lspci -nn output on
your machine?  It seems the blacklisting was too wide.

Thanks.

-- 
tejun

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

* Re: Regression: kernel 2.6.24{,.1} ahci problem, does not boot
  2008-07-14 12:02 ` Regression: kernel 2.6.24{,.1} ahci problem, does not boot Tejun Heo
@ 2008-07-14 13:18   ` Tejun Heo
  2008-07-21 14:23     ` Piter PUNK
  2008-07-15  3:47   ` Piter PUNK
  1 sibling, 1 reply; 4+ messages in thread
From: Tejun Heo @ 2008-07-14 13:18 UTC (permalink / raw)
  To: Piter PUNK; +Cc: linux-kernel, Jeff Garzik, IDE/ATA development list

Tejun Heo wrote:
> And the AHCI controller 1039:1185 @ 00:05.0 works just fine with
> regular devices and PMPs.  Can you please post lspci -nn output on
> your machine?  It seems the blacklisting was too wide.

Tested a bit more and the problem doesn't seem to be PMP support itself.
 Command issue doesn't work properly if follow up SRST is issued without
clearing SError after issuing hardreset.  2.6.26 always clears SError
after hardreset so it should work.  Piter, can you please remove SIS
blacklist and test 2.6.26?

Thanks.

-- 
tejun

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

* Re: Regression: kernel 2.6.24{,.1} ahci problem, does not boot
  2008-07-14 12:02 ` Regression: kernel 2.6.24{,.1} ahci problem, does not boot Tejun Heo
  2008-07-14 13:18   ` Tejun Heo
@ 2008-07-15  3:47   ` Piter PUNK
  1 sibling, 0 replies; 4+ messages in thread
From: Piter PUNK @ 2008-07-15  3:47 UTC (permalink / raw)
  To: Tejun Heo; +Cc: linux-kernel, Jeff Garzik, IDE/ATA development list

> This change made into the kernel in commit 9a3b103c...  Today, I
> tested a SIS968 board whose lspci -nn output looks like the following.
>
>  00:00.0 Host bridge [Class 0600]: Silicon Integrated Systems [SiS] 671MX [1039:0671]
>  00:01.0 PCI bridge [Class 0604]: Silicon Integrated Systems [SiS] PCI-to-PCI bridge [1039:0004]
>  00:02.0 ISA bridge [Class 0601]: Silicon Integrated Systems [SiS] SiS968 [MuTIOL Media IO] [1039:0968] (rev 01)
>  00:02.5 IDE interface [Class 0101]: Silicon Integrated Systems [SiS] 5513 [IDE] [1039:5513] (rev 01)
>  00:03.0 USB Controller [Class 0c03]: Silicon Integrated Systems [SiS] USB 1.0 Controller [1039:7001] (rev 0f)
>  00:03.1 USB Controller [Class 0c03]: Silicon Integrated Systems [SiS] USB 1.0 Controller [1039:7001] (rev 0f)
>  00:03.3 USB Controller [Class 0c03]: Silicon Integrated Systems [SiS] USB 2.0 Controller [1039:7002]
>  00:04.0 Ethernet controller [Class 0200]: Silicon Integrated Systems [SiS] 191 Gigabit Ethernet Adapter [1039:0191] (rev 02)
>  00:05.0 SATA controller [Class 0106]: Silicon Integrated Systems [SiS] AHCI IDE Controller (0106) [1039:1185] (rev 03)
>  00:06.0 PCI bridge [Class 0604]: Silicon Integrated Systems [SiS] PCI-to-PCI bridge [1039:000a]
>  00:07.0 PCI bridge [Class 0604]: Silicon Integrated Systems [SiS] PCI-to-PCI bridge [1039:000a]
>  00:0d.0 VGA compatible controller [Class 0300]: ATI Technologies Inc Radeon RV100 QZ [Radeon 7000/VE] [1002:515a]
>  00:0f.0 Audio device [Class 0403]: Silicon Integrated Systems [SiS] Azalia Audio Controller [1039:7502]
>  00:10.0 RAID bus controller [Class 0104]: HighPoint Technologies, Inc. HPT372A/372N [1103:0005] (rev 02)
>  02:00.0 Ethernet controller [Class 0200]: Intel Corporation 82572EI Gigabit Ethernet Controller (Copper) [8086:10b9] (rev 06)
>
> And the AHCI controller 1039:1185 @ 00:05.0 works just fine with
> regular devices and PMPs.  Can you please post lspci -nn output on
> your machine?  It seems the blacklisting was too wide.

OK.

That is the lspci-nn output:

00:00.0 Host bridge [0600]: Silicon Integrated Systems [SiS] 671MX [1039:0671]
00:01.0 PCI bridge [0604]: Silicon Integrated Systems [SiS] SiS AGP Port (virtual PCI-to-PCI bridge) [1039:0003]
00:02.0 ISA bridge [0601]: Silicon Integrated Systems [SiS] SiS968 [MuTIOL Media IO] [1039:0968] (rev 01)
00:02.5 IDE interface [0101]: Silicon Integrated Systems [SiS] 5513 [IDE] [1039:5513] (rev 01)
00:03.0 USB Controller [0c03]: Silicon Integrated Systems [SiS] USB 1.1 Controller [1039:7001] (rev 0f)
00:03.1 USB Controller [0c03]: Silicon Integrated Systems [SiS] USB 1.1 Controller [1039:7001] (rev 0f)
00:03.3 USB Controller [0c03]: Silicon Integrated Systems [SiS] USB 2.0 Controller [1039:7002]
00:04.0 Ethernet controller [0200]: Silicon Integrated Systems [SiS] 191 Gigabit Ethernet Adapter [1039:0191] (rev 02)
00:05.0 SATA controller [0106]: Silicon Integrated Systems [SiS] AHCI IDE Controller (0106) [1039:1185] (rev 03)
00:0f.0 Audio device [0403]: Silicon Integrated Systems [SiS] Azalia Audio Controller [1039:7502]
01:00.0 VGA compatible controller [0300]: Silicon Integrated Systems [SiS] 771/671 PCIE VGA Display Adapter [1039:6351] (rev 10)

The main differences that i can see are the internal SiS video chip and
the "SiS AGP Port".

Hope it can help

Piter Punk

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

* Re: Regression: kernel 2.6.24{,.1} ahci problem, does not boot
  2008-07-14 13:18   ` Tejun Heo
@ 2008-07-21 14:23     ` Piter PUNK
  0 siblings, 0 replies; 4+ messages in thread
From: Piter PUNK @ 2008-07-21 14:23 UTC (permalink / raw)
  To: Tejun Heo; +Cc: linux-kernel, Jeff Garzik, IDE/ATA development list

On Mon, 14 Jul 2008, Tejun Heo wrote:

> Tejun Heo wrote:
> Tested a bit more and the problem doesn't seem to be PMP support itself.
> Command issue doesn't work properly if follow up SRST is issued without
> clearing SError after issuing hardreset.  2.6.26 always clears SError
> after hardreset so it should work.  Piter, can you please remove SIS
> blacklist and test 2.6.26?

Removed 1039:1185 from blacklist; PMP is active and all is working
fine. You can remove the 1039:1185 from pmp blacklist (and probably
the other two cards there...).

Need dmesg or other additional information?

Thanks!

Piter PUNK

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

end of thread, other threads:[~2008-07-21 14:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.LNX.4.63.0806141945270.2761@bob.slackware.com>
2008-07-14 12:02 ` Regression: kernel 2.6.24{,.1} ahci problem, does not boot Tejun Heo
2008-07-14 13:18   ` Tejun Heo
2008-07-21 14:23     ` Piter PUNK
2008-07-15  3:47   ` Piter PUNK

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).