2003-11-13 11:50:44

by Roland Lezuo

[permalink] [raw]
Subject: 2.4.23-rc1: SiS pirq: IDE/ACPI/DAQ mapping not implemented: (97)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

on my Sis 745 Chipset neither psaux nor USB is working as it should. I can
only use serial mice on this box.

<from dmesg>
SiS pirq: IDE/ACPI/DAQ mapping not implemented: (97)
SiS router unknown request: (97)
SiS pirq: IDE/ACPI/DAQ mapping not implemented: (97)
SiS router unknown request: (97)

I though the patch has already been merged?
If you need any more info about the system please CC me.

regards
Roland Lezuo
- --
PGP Key ID: 0xFCC9ED1E
http://members.chello.at/roland.lezuo/ <- l337 zup4 h4x0r 4nd c0d3r h0meb4se
root@server:/ >mount -t inetfs /dev/inet /mnt/tmp
root@server:/ >rm -rf /mnt/tmp
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/s3AM5qlVDPzJ7R4RAnRKAJ9SvTLYh+BiZtyn1BCPImqrjK8BfwCgtITv
HHhcTIa+iTWbo3jG8ujZnxQ=
=TIH+
-----END PGP SIGNATURE-----


2003-11-13 16:38:18

by Davide Libenzi

[permalink] [raw]
Subject: Re: 2.4.23-rc1: SiS pirq: IDE/ACPI/DAQ mapping not implemented: (97)

On Thu, 13 Nov 2003, Roland Lezuo wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello,
>
> on my Sis 745 Chipset neither psaux nor USB is working as it should. I can
> only use serial mice on this box.
>
> <from dmesg>
> SiS pirq: IDE/ACPI/DAQ mapping not implemented: (97)
> SiS router unknown request: (97)
> SiS pirq: IDE/ACPI/DAQ mapping not implemented: (97)
> SiS router unknown request: (97)
>
> I though the patch has already been merged?

The latest CVS snapshot I was able to rsync from kernel.org had the fix
and should make it work:

[root@drizzle src]# head linux-2.4/Makefile
VERSION = 2
PATCHLEVEL = 4
SUBLEVEL = 23
EXTRAVERSION = -pre9

Request 97 is one of the new ones (USB) correctly handled by the patch.



- Davide


2003-11-14 08:34:30

by Martin Diehl

[permalink] [raw]
Subject: Re: 2.4.23-rc1: SiS pirq: IDE/ACPI/DAQ mapping not implemented: (97)

On Thu, 13 Nov 2003, Davide Libenzi wrote:

> > SiS pirq: IDE/ACPI/DAQ mapping not implemented: (97)
> > SiS router unknown request: (97)
> > SiS pirq: IDE/ACPI/DAQ mapping not implemented: (97)
> > SiS router unknown request: (97)
> >
> > I though the patch has already been merged?
>
> The latest CVS snapshot I was able to rsync from kernel.org had the fix
> and should make it work:
>
> [root@drizzle src]# head linux-2.4/Makefile
> VERSION = 2
> PATCHLEVEL = 4
> SUBLEVEL = 23
> EXTRAVERSION = -pre9
>
> Request 97 is one of the new ones (USB) correctly handled by the patch.

I don't think this will help in his case. I believe the 745 comes with a
more recent flavour of the 5595, not 96x. It looks like they have changed
the pirq routing registers before 96x appeared. So I think it's not enough
to decide which scheme to use depending on the device id. Btw, I still
like my suggestion to use the pci revision id of the router function
(1039:0008) which we had discussed at that time. ;-)

Roland, could you send the output from "lspci -vxxx -d:8" please for
verification?

Martin

2003-11-14 16:55:56

by Davide Libenzi

[permalink] [raw]
Subject: Re: 2.4.23-rc1: SiS pirq: IDE/ACPI/DAQ mapping not implemented: (97)

On Fri, 14 Nov 2003, Roland Lezuo wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> > Roland, could you send the output from "lspci -vxxx -d:8" please for
> > verification?
> 00:02.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513
> Flags: bus master, medium devsel, latency 0
> 00: 39 10 08 00 0f 00 00 02 00 00 01 06 00 00 80 00
> 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 40: 9a 0b 0c 05 0b 22 31 09 10 00 00 00 11 20 04 01
> 50: 11 28 02 01 62 00 63 00 9c 2e 12 00 36 06 00 00
> 60: 80 80 80 09 40 c1 0c 10 80 80 00 02 d0 00 00 00
> 70: 00 00 00 00 00 50 00 fc 00 00 00 00 06 00 01 00
> 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> f0: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>
> I am willed to test any patch or even write one (with some help and tips ;)

Use the patch below and send the dmesg ...


- Davide




--- a/arch/i386/kernel/pci-i386.h 2003-08-31 05:21:57.000000000 -0700
+++ b/arch/i386/kernel/pci-i386.mod.h 2003-11-14 08:50:35.000000000 -0800
@@ -6,7 +6,7 @@

#undef DEBUG

-#ifdef DEBUG
+#ifndef DEBUG
#define DBG(x...) printk(x)
#else
#define DBG(x...)
--- a/arch/i386/kernel/pci-irq.c 2003-08-31 06:51:32.000000000 -0700
+++ b/arch/i386/kernel/pci-irq.mod.c 2003-11-14 08:52:12.000000000 -0800
@@ -679,14 +679,14 @@
r->name = "SIS96x";
r->get = pirq_sis96x_get;
r->set = pirq_sis96x_set;
- DBG("PCI: Detecting SiS router at %02x:%02x : SiS096x detected\n",
- rt->rtr_bus, rt->rtr_devfn);
+ DBG("PCI: Detecting SiS router at %02x:%02x (devid=%x): SiS096x detected\n",
+ rt->rtr_bus, rt->rtr_devfn, devid);
} else {
r->name = "SIS5595";
r->get = pirq_sis5595_get;
r->set = pirq_sis5595_set;
- DBG("PCI: Detecting SiS router at %02x:%02x : SiS5595 detected\n",
- rt->rtr_bus, rt->rtr_devfn);
+ DBG("PCI: Detecting SiS router at %02x:%02x (devid=%x): SiS5595 detected\n",
+ rt->rtr_bus, rt->rtr_devfn, devid);
}
return 1;
}

2003-11-14 16:45:24

by Roland Lezuo

[permalink] [raw]
Subject: Re: 2.4.23-rc1: SiS pirq: IDE/ACPI/DAQ mapping not implemented: (97)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Roland, could you send the output from "lspci -vxxx -d:8" please for
> verification?
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513
Flags: bus master, medium devsel, latency 0
00: 39 10 08 00 0f 00 00 02 00 00 01 06 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: 9a 0b 0c 05 0b 22 31 09 10 00 00 00 11 20 04 01
50: 11 28 02 01 62 00 63 00 9c 2e 12 00 36 06 00 00
60: 80 80 80 09 40 c1 0c 10 80 80 00 02 d0 00 00 00
70: 00 00 00 00 00 50 00 fc 00 00 00 00 06 00 01 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

I am willed to test any patch or even write one (with some help and tips ;)

regards
Roland Lezuo
- --
PGP Key ID: 0xFCC9ED1E
http://members.chello.at/roland.lezuo/ <- l337 zup4 h4x0r 4nd c0d3r h0meb4se
root@server:/ >mount -t inetfs /dev/inet /mnt/tmp
root@server:/ >rm -rf /mnt/tmp
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/tQaL5qlVDPzJ7R4RAuQTAKCkto4xU13oh6Pv3P7KQ2P6FY+c5gCeP2pz
woHl+AjfSLaDzY4KfVzOyPs=
=Fiao
-----END PGP SIGNATURE-----