Re: Help: DGE-560T not recognized by Linux

From: Brian Hall
Date: Sun Feb 19 2006 - 11:18:42 EST


On Sat, 18 Feb 2006 17:04:41 -0800
Greg KH <greg@xxxxxxxxx> wrote:
> On Sat, Feb 18, 2006 at 04:35:55PM -0800, Stephen Hemminger wrote:
> > The problem can also be caused by buggy BIOS's that don't report
> > proper values for mmconfig space. There is some code in mmconfig.c
> > that tries to handle that. It might not handle what ever your
> > system is reporting. Andi Kleen seems to be the last person
> > involved and might be able to help.
> >
> > It would be useful to add some printk's to mmconfig to dump out the
> > table after it discovers the table.
>
> Andi has a follow-on patch at:
> http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/gregkh-03-pci/pci-give-pci-config-access-initialization-a-defined-ordering.patch
> that should take care of these kinds of mmconfig issues by ordering
> the pci config accessors properly.
>
> Can you test this patch out to see if it fixes this problem on your
> machine?

I applied this patch to 2.6.15-ck4 and 2.6.14-rc4, in both cases the
compilation fails the same way:

CC arch/x86_64/pci/../../i386/pci/acpi.o
CC arch/x86_64/pci/../../i386/pci/common.o
CC arch/x86_64/pci/../../i386/pci/direct.o
CC arch/x86_64/pci/../../i386/pci/fixup.o
CC arch/x86_64/pci/../../i386/pci/i386.o
CC arch/x86_64/pci/../../i386/pci/init.o
CC arch/x86_64/pci/../../i386/pci/irq.o
CC arch/x86_64/pci/../../i386/pci/legacy.o
CC arch/x86_64/pci/mmconfig.o
arch/x86_64/pci/mmconfig.c:143: error: conflicting types for
'pci_mmcfg_init' arch/i386/pci/pci.h:85: error: previous declaration of
'pci_mmcfg_init' was here arch/x86_64/pci/mmconfig.c:143: error:
conflicting types for 'pci_mmcfg_init' arch/i386/pci/pci.h:85: error:
previous declaration of 'pci_mmcfg_init' was here make[1]: ***
[arch/x86_64/pci/mmconfig.o] Error 1 make: *** [arch/x86_64/pci] Error 2
make: *** Waiting for unfinished jobs....

I've attached my current dmesg output (using the Marvell sk98lin driver
that works for me), and also my current kernel config.

--
Brian Hall, Linux Consultant http://pcisys.net/~brihall
A day without radiation is like a day without sunshine.

Attachment: 2.6.15-ck4.dmesg.txt.gz
Description: GNU Zip compressed data

Attachment: config.gz
Description: GNU Zip compressed data