Re: Regression: kernel 2.6.24{,.1} ahci problem, does not boot - Kernel

This is a discussion on Re: Regression: kernel 2.6.24{,.1} ahci problem, does not boot - Kernel ; 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 ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: Re: Regression: kernel 2.6.24{,.1} ahci problem, does not boot

  1. Re: Regression: kernel 2.6.24{,.1} ahci problem, does not boot

    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_2...8b8816b15ebfca
    >
    > 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/kerne...f00f5d6a8970d4
    >
    > 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
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  2. Re: Regression: kernel 2.6.24{,.1} ahci problem, does not boot

    > 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
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  3. Re: Regression: kernel 2.6.24{,.1} ahci problem, does not boot

    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
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  4. Re: Regression: kernel 2.6.24{,.1} ahci problem, does not boot

    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
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

+ Reply to Thread