public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Strange PCI behaviour on Via K8M800CE chipset Shuttle & sata fails with noapic
@ 2006-11-07  0:52 Joseph Mathewson
  2006-11-07  1:32 ` Alan Cox
  0 siblings, 1 reply; 3+ messages in thread
From: Joseph Mathewson @ 2006-11-07  0:52 UTC (permalink / raw)
  To: linux-kernel

Hi

I have a Shuttle SK21G with a Via K8M800CE chipset which has very 
strange PCI behaviour on the 2.6.18.1 kernel (stock and Fedora 6).  I 
have tried both x86_64 and i386 architectures.

There is one PCI slot in which I ultimately want to use a D-Link 580TX 
4-port ethernet card (Intel bridge + 4 x sundance driver controllers).  
However, even with a simple one-port ethernet card (natsemi driver) 
similar behaviour is seen, so I am loathe to blame the card.  
Interestingly, the onboard (presumably also PCI) via-rhine card works fine.

The problem is that seemingly randomly, the card in the PCI slot will 
either:

1) Work fine (doesn't happen very often unfortunately, when it does will 
happen for a few boots in a row).  Appears in lspci and /proc/interrupts 
and sends packets.
2) Appear in lspci but not appear in /proc/interrupts.  Loading the 
driver will result in no card found.  No interface.

Weirdly, sometimes unloading the NIC module and reloading it causes the 
card to be seen.  Sometimes not.  The behaviour with the 4-port card is 
more subtle because of the PCI-PCI bridge aspect, I suspect.  With this 
behaviour is one of:

1) Works fine.
2) Bridge appears in lspci.  None of the bridged network cards appear. 
(This is most common of the 3).
3) Bridge appears in lspci.  Too many network cards appear!  One doesn't 
really exist and can't be ifconfig'ed.

My highly technical diagnosis is that Linux is very unhappy about PCI on 
this box.  As a result I have tried:

pci=routeirq
acpi=off
nolapic
noapic

options.  The first three don't work.  Unfortunately I don't know 
whether the last one would work, because when enabled (or even APIC 
disabled in BIOS), the sata_via driver hangs.  The boot disk is sata so 
I can't get any further...  I don't know if this is a separate or 
related problem.

Have the latest BIOS etc etc.  Apologies for the length, it's just very 
weird and difficult to explain because of the randomness.

Joe.

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

* Re: Strange PCI behaviour on Via K8M800CE chipset Shuttle & sata fails with noapic
  2006-11-07  0:52 Strange PCI behaviour on Via K8M800CE chipset Shuttle & sata fails with noapic Joseph Mathewson
@ 2006-11-07  1:32 ` Alan Cox
  2006-11-07  1:33   ` Joseph Mathewson
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Cox @ 2006-11-07  1:32 UTC (permalink / raw)
  To: Joseph Mathewson; +Cc: linux-kernel

Ar Maw, 2006-11-07 am 00:52 +0000, ysgrifennodd Joseph Mathewson:
> 2) Appear in lspci but not appear in /proc/interrupts.  Loading the 
> driver will result in no card found.  No interface.

In this case does lspci show different values particularly of device or
vendor id. If so you've got a dodgy PCI connector or link somewhere.



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

* Re: Strange PCI behaviour on Via K8M800CE chipset Shuttle & sata fails with noapic
  2006-11-07  1:32 ` Alan Cox
@ 2006-11-07  1:33   ` Joseph Mathewson
  0 siblings, 0 replies; 3+ messages in thread
From: Joseph Mathewson @ 2006-11-07  1:33 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-kernel

Alan Cox wrote:
> Ar Maw, 2006-11-07 am 00:52 +0000, ysgrifennodd Joseph Mathewson:
>   
>> 2) Appear in lspci but not appear in /proc/interrupts.  Loading the 
>> driver will result in no card found.  No interface.
>>     
>
> In this case does lspci show different values particularly of device or
> vendor id. If so you've got a dodgy PCI connector or link somewhere.
>
>   
No, lspci shows _correct_ values.  With the single NIC, it will show the 
correct device/vendor ID of the NIC. With the multi-port NIC/bridge, it 
will show just the Intel bridge (correctly) and not the devices behind 
it.  It's like it knows it is there but can't talk to it.

Joe.

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

end of thread, other threads:[~2006-11-07  1:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-07  0:52 Strange PCI behaviour on Via K8M800CE chipset Shuttle & sata fails with noapic Joseph Mathewson
2006-11-07  1:32 ` Alan Cox
2006-11-07  1:33   ` Joseph Mathewson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox