sky2/pci issues on Gigabyte



On Thu, 24 May 2007 14:26:44 -0400
Mike Houston <mikeserv@xxxxxxxx> wrote:

On Wed, 23 May 2007 10:46:05 -0700 (PDT)
Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:



On Wed, 23 May 2007, Mike Houston wrote:

I still happen to have a Windows Vista install kicking around, so
to make sure we're not flogging a dead horse I booted that and
let it set up the yukon2 chip and I tested it. (more to make sure
that eeprom update didn't break it). I used it for a bit and
successfully transferred some large files from box running Samba.
MS must be using some specific workaround or something.

I think there is some lspci-like thing for windows too.

Can you do the equivalent of "lspci -vvxxx" on that box under both
Linux and Windows? _If_ it's some PCI config space thing (which is
not at all guaranteed - it could be about setup in random MMIO
ranges) it might give us some clues.


This is the sky2 issue with Gigabyte 88E8056 onboard LAN.

I've had no luck getting pciutils compiled for win32, but I found a
utility that gives similar output called Craig Hart's PCI bus sniffer
(pci32.exe).

Here is the output of pci32 with hex dump from within Windows Vista:
http://www.mikeserv.org/files/pci32_info.txt

Here is the output of lspci -vvxxx from within Linux:
http://www.mikeserv.org/files/lspci.txt

I hope this is helpful,

Mike Houston


Looking at the 88e8056 PCI config values:

Differences:
1. Linux use MSI (no INTx), Vista does not.

2. Vista use IRQ 16, Linux uses 219 (because of MSI)

3. Vista sets Device Control(E8) 4000h = 2K,
Linux uses 2000h = 1k
This would cause larger max read requests.

4. Vista status (EA) 0010h
Linux is 0019h
Driver doesn't bother clearing the correctable error status on boot.

You can get the same settings on Linux without changing driver by doing:

modprobe sky2 disable_msi=1
setpci -s 04:00 e8.w=4000,19

No luck, I tried it, but it still dies..

--
Stephen Hemminger <shemminger@xxxxxxxxxxxxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: Dell to sell Linux PCs
    ... If you click on a Windows option for the same configuration, ... is higher than the starting price for Linux. ... "Dell recommends Windows Vista Business" ... Hm, RHEL is not mentioned any more, but "Windows Vista TM at no extra ...
    (Fedora)
  • Re: [HW PROBLEM] Intel I7 MCE. Erratum or not?
    ... because reboot doesn't work(from windows vista 32bit it works). ... of automatic power down power upand it never stops until ... where Linux does the right but wrong thing while windows does ...
    (Linux-Kernel)
  • Re: Damn you, FEDEX! or Nikon D40 lost in Springfield, MO blackhole.
    ... the 2 mp Mavica he had been using with a Nikon D40. ... After shopping around, he got me to order one for him. ... The shipper had it insured, but from what I have read it could take weeks to sort this crap out. ... You may get your insurance from FedEx and a couple weeks later they find it and deliver it. ...
    (alt.photography)
  • Re: My new Laptop -- this evenings experience -- and questions
    ... It has Windows Vista, ... I tried installing 32 bit Fedora 7 i386. ... At the boot prompt on the install DVD/CD type linux all-generic-ide ... You may want to try those params at the boot prompt on the install DVD/CD as ...
    (comp.os.linux.misc)
  • Re: Dell to sell Linux PCs
    ... If you click on a Windows option for the same configuration, ... is higher than the starting price for Linux. ... But it does mention RHEL is an option, not a choosable option, just mentions it. ... Hm, RHEL is not mentioned any more, but "Windows Vista TM at no extra cost" is. ...
    (Fedora)