2003-03-23 23:20:18

by John M Collins

[permalink] [raw]
Subject: Query about SIS963 Bridges

Please CC me on [email protected] without the spam as I'm not subscribed
- thanks.

I've just got a new machine (2.5 GHz pentium lots of RAM and disk space)
which has one of these SIS963 Southbridge creatures and I get the
message on booting a 2.4.19ish sort of kernel.

Unknown bridge resource 0 - assuming transparent

Alas it's very clear that it isn't transparent and I can't get to half
of the PCI stuff - worst of all the built-in Ethernet and any Ethernet
card I plug in. It would seem that it isn't too transparent as the
reported IRQ and IOMEM assignments for the devices are all scrambled.

I changed the message in drivers/pci/pci.c to report the base and limit
values extracted and they are e000 and d000 respectively which explains
why the code chokes on it.

I've followed a long thread about fixing this on transparent bridges -
can some kind guru give me some runes to get this machine off the
ground? A quick and dirty my-machine-only hack would be fine for me if
not fully aesthetically pleasing to all and sundry.

I've looked at the SIS website and it wasn't a lot of help. They
referred me to the motherboard mfr (ASUS). I emailed ASUS but still no joy.

I see the built-in Ethernet is an SIS900 no doubt that is more fun in
store with that but I've got a small stack of alternative PCI cards on
the windowsill which I'll stuff in if I can get past this problem.

--
John Collins Xi Software Ltd http://www.xisl.com



2003-03-23 23:26:56

by Alan

[permalink] [raw]
Subject: Re: Query about SIS963 Bridges

On Sun, 2003-03-23 at 23:31, John M Collins wrote:
> I've just got a new machine (2.5 GHz pentium lots of RAM and disk space)
> which has one of these SIS963 Southbridge creatures and I get the
> message on booting a 2.4.19ish sort of kernel.

The SiS963 is currently a winputer.

> Alas it's very clear that it isn't transparent and I can't get to half
> of the PCI stuff - worst of all the built-in Ethernet and any Ethernet
> card I plug in. It would seem that it isn't too transparent as the
> reported IRQ and IOMEM assignments for the devices are all scrambled.

One possibility is the system expects ACPI to untangle that mess and set
up the bridge. You could certainly stuff realistic looking ranges into
it, set IO/MEM and master and see what happens then

What would be a useful starting point would be to see what
lspci -vxx and lspci -vxx -H1 think

2003-03-24 00:44:44

by Andi Kleen

[permalink] [raw]
Subject: Re: Query about SIS963 Bridges

John M Collins <[email protected]> writes:
>
> I've followed a long thread about fixing this on transparent bridges -
> can some kind guru give me some runes to get this machine off the
> ground? A quick and dirty my-machine-only hack would be fine for me if
> not fully aesthetically pleasing to all and sundry.

Try applying the 2.5 ACPI backport patches from sourceforge and enable ACPI
and see if that helps.

-Andi

2003-03-24 06:43:45

by John M Collins

[permalink] [raw]
Subject: Re: Query about SIS963 Bridges

Alan Cox wrote:

>On Sun, 2003-03-23 at 23:31, John M Collins wrote:
>
>
>>I've just got a new machine (2.5 GHz pentium lots of RAM and disk space)
>>which has one of these SIS963 Southbridge creatures and I get the
>>message on booting a 2.4.19ish sort of kernel.
>>
>>
>
>The SiS963 is currently a winputer.
>
>
>
>>Alas it's very clear that it isn't transparent and I can't get to half
>>of the PCI stuff - worst of all the built-in Ethernet and any Ethernet
>>card I plug in. It would seem that it isn't too transparent as the
>>reported IRQ and IOMEM assignments for the devices are all scrambled.
>>
>>
>
>One possibility is the system expects ACPI to untangle that mess and set
>up the bridge. You could certainly stuff realistic looking ranges into
>it, set IO/MEM and master and see what happens then
>
>What would be a useful starting point would be to see what
>lspci -vxx and lspci -vxx -H1 think
>
>
>
Here are the relevant bits out of "lspci -vxx"

00:00.0 Host bridge: Silicon Integrated Systems [SiS]: Unknown device
0648 (rev 02)
Subsystem: Asustek Computer, Inc.: Unknown device 8086
Flags: bus master, medium devsel, latency 32
Memory at d0000000 (32-bit, non-prefetchable) [size=256M]
Capabilities: [c0] AGP version 3.0
00: 39 10 48 06 07 00 10 22 02 00 00 06 00 20 80 00
10: 00 00 00 d0 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 43 10 86 80
30: 00 00 00 00 c0 00 00 00 00 00 00 00 00 00 00 00

00:01.0 PCI bridge: Silicon Integrated Systems [SiS] 5591/5592 AGP
(prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: cf000000-cfffffff
Prefetchable memory behind bridge: eff00000-febfffff
00: 39 10 01 00 07 00 00 00 00 00 04 06 00 00 01 00
10: 00 00 00 00 00 00 00 00 00 01 01 00 e0 d0 00 20
20: 00 cf f0 cf f0 ef b0 fe 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 08 00

00:02.0 ISA bridge: Silicon Integrated Systems [SiS]: Unknown device
0963 (rev 04)
Flags: bus master, medium devsel, latency 0
00: 39 10 63 09 0f 00 00 02 04 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

and "lspci -vxx -H1"

00:00.0 Host bridge: Silicon Integrated Systems [SiS]: Unknown device
0648 (rev 02)
Subsystem: Asustek Computer, Inc.: Unknown device 8086
Flags: bus master, medium devsel, latency 32
Memory at d0000000 (32-bit, non-prefetchable) {Only difference here}
Capabilities: [c0] AGP version 3.0
00: 39 10 48 06 07 00 10 22 02 00 00 06 00 20 80 00
10: 00 00 00 d0 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 43 10 86 80
30: 00 00 00 00 c0 00 00 00 00 00 00 00 00 00 00 00

00:01.0 PCI bridge: Silicon Integrated Systems [SiS] 5591/5592 AGP
(prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: cf000000-cfffffff
Prefetchable memory behind bridge: eff00000-febfffff
00: 39 10 01 00 07 00 00 00 00 00 04 06 00 00 01 00
10: 00 00 00 00 00 00 00 00 00 01 01 00 e0 d0 00 20
20: 00 cf f0 cf f0 ef b0 fe 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 08 00

00:02.0 ISA bridge: Silicon Integrated Systems [SiS]: Unknown device
0963 (rev 04)
Flags: bus master, medium devsel, latency 0
00: 39 10 63 09 0f 00 00 02 04 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

(There's no difference in the output for the SIS963)

I'll have a look at APCI later today.

--
John Collins Xi Software Ltd http://www.xisl.com



2003-03-24 12:45:48

by Alan

[permalink] [raw]
Subject: Re: Query about SIS963 Bridges

Can you try

lspci -vxx -H1 -M

and see if thats different

2003-03-24 13:09:42

by John M Collins

[permalink] [raw]
Subject: Re: Query about SIS963 Bridges

Alan Cox wrote:

>Can you try
>
> lspci -vxx -H1 -M
>
>and see if thats different
>
>
Here's the output

00:00.0 Host bridge: Silicon Integrated Systems [SiS]: Unknown device
0648 (rev 02)
Subsystem: Asustek Computer, Inc.: Unknown device 8086
Flags: bus master, medium devsel, latency 32
Memory at d0000000 (32-bit, non-prefetchable)
Capabilities: [c0] AGP version 3.0
00: 39 10 48 06 07 00 10 22 02 00 00 06 00 20 80 00
10: 00 00 00 d0 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 43 10 86 80
30: 00 00 00 00 c0 00 00 00 00 00 00 00 00 00 00 00

00:01.0 PCI bridge: Silicon Integrated Systems [SiS] 5591/5592 AGP
(prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: cf000000-cfffffff
Prefetchable memory behind bridge: eff00000-febfffff
00: 39 10 01 00 07 00 00 00 00 00 04 06 00 00 01 00
10: 00 00 00 00 00 00 00 00 00 01 01 00 e0 d0 00 20
20: 00 cf f0 cf f0 ef b0 fe 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 08 00

## 00.01:0 is a bridge from 00 to 01-01 {ONLY DIFFERENT LINE}
00:02.0 ISA bridge: Silicon Integrated Systems [SiS]: Unknown device
0963 (rev 04)
Flags: bus master, medium devsel, latency 0
00: 39 10 63 09 0f 00 00 02 04 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

And at the end we get:

Summary of buses:

00: Primary host bus
01.0 Bridge to 01-01
01: Entered via 00:01.0

--
John Collins Xi Software Ltd http://www.xisl.com



2003-03-24 13:38:05

by John M Collins

[permalink] [raw]
Subject: Re: Query about SIS963 Bridges

I have managed to persuade the suppliers that as I told them I was going
to run Linux on it in advance and because the motherboard manual clearly
says only Windrosses are supported (not quite in those terms), they'll
swap the motherboard for me.

They can offer one with the Intel 7205 chipset, supposedly the "bees
knees" or one with the 845 chipset which apparently has been around for
a while but doesn't have the performance rating.

Could anyone advise me whether I would be OK with either of those,
preferably the higher performance one of course? As I'm being paid to
hack user-level software, whilst it doesn't terrify me, I'd prefer not
to dive too much into the bowels of PCI code right now.

Whilst I'm waiting for the new motherboard to appear I'll be pleased to
try out anything including any patched PCI modules for a 2.4.19 kernel
anyone wants me to on the motherboard I've got. But please remember that
I have to transfer everything on floppies because the network doesn't work!

Thanks for everyone's help.

--
John Collins Xi Software Ltd http://www.xisl.com



2003-03-30 21:49:14

by John M Collins

[permalink] [raw]
Subject: Re: Query about SIS963 Bridges

Just to say I got the Intel 7205 Chipset motherboard and everything is
going fine - lightning fast in fact.

Still a message about Unknown bridge resource and something about device
00:1f.1 not available becuase of resource collisions but as everything I
want to use seems to work presumably it doesn't matter. I disabled all
the stuff I'm not using at the moment such as Firewire. If anyone wants
the output of lspci give me a shout.

Thanks to all who helped anyhow.

--
John Collins Xi Software Ltd http://www.xisl.com



2003-03-31 23:12:34

by jmduthie

[permalink] [raw]
Subject: Re: Query about SIS963 Bridges

On 24 Mar 2003, Alan Cox wrote:

-> Date: 24 Mar 2003 00:50:41 +0000
-> From: Alan Cox <[email protected]>
-> To: John M Collins <[email protected]>
-> Cc: Linux Kernel Mailing List <[email protected]>
-> Subject: Re: Query about SIS963 Bridges
->
-> On Sun, 2003-03-23 at 23:31, John M Collins wrote:
-> > I've just got a new machine (2.5 GHz pentium lots of RAM and disk space)
-> > which has one of these SIS963 Southbridge creatures and I get the
-> > message on booting a 2.4.19ish sort of kernel.
->
-> The SiS963 is currently a winputer.

Nooooooooo!
Arrgh !
darn
no wonder my setup is broken after that H/W upgrade

2.2.20 actually works with my PCI NIC (no support for my paradise ATA)
2.4.x does not work with nic or (00:0b.0 Unknown mass storage controller:
Promise Technology, Inc.: Unknown device
4d68 (rev 01) )
2.4.20 slackware 9.0 bare.i works with the PCI NIC and PCI ATA card (no
acpi in this kernel)

is ACPI the problem with this chipset ?

I'd like to get this board working is there any information I can provide that would give
you another data point ....

Just tell me which kernel/patch and what info you need..


--
John Duthie
E-Mail: <[email protected]>
When you choke a smurf, what color does it turn?





2003-04-01 01:27:21

by Hemmann, Volker Armin

[permalink] [raw]
Subject: Re: Query about SIS963 Bridges

Hi,

please cc me, bcause I am not suscribed to lkml.

I have an Asrock K7S8X with such a 746FX/963l combo.

Networking, IDE is working fine, I am able to access the pci soundcard and a
hotrod 66 controller. Even watching Tv is fine.

I am burning cds and have no problems to access an usb-stick.

The only setback is missing support in the agpgart, crippling 3d and problems
with dga.

Kernel is gentoo's 2.4.20-gaming, an 2.5.66-mm1 was even able to boot, but had
a panic, killing the interrupt handler when loading modules.

ACPI and Local APIC is inabled, enablic IO-APIC gives lost interrupts for the
Hotrod.

If desired I can test different kernels, send the output of dmesg etc.

My Hardware:

AMD Xp 2000+
Asrock K7S8X
2x256mb ram
Geforce 4mx 440 (Agp 4x)
Abit Hotrod 66 udma 66 controller (one hd at each channel)
Terratec Tv+
C-Media 8738 based soundcard.

2 hardrives on ide 0
1 cdrw-drive and 1 dvd at ide1
1 usb 1.1 256mb flash stick.

Gl?ck Auf,
Volker