mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Brian Hall <brihall@pcisys.net>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
	Stephen Hemminger <shemminger@osdl.org>
Subject: Re: Help: DGE-560T not recognized by Linux
Date: Sat, 18 Feb 2006 00:36:22 -0700	[thread overview]
Message-ID: <20060218003622.30a2b501.brihall@pcisys.net> (raw)
In-Reply-To: <20060217222428.3cf33f25.akpm@osdl.org>

On Fri, 17 Feb 2006 22:24:28 -0800
Andrew Morton <akpm@osdl.org> wrote:

> Brian Hall <brihall@pcisys.net> wrote:
> >
> > I have just built a new system, based on an Asrock 939Dual-Sata
> >  motherboard. It only has 100MB built-in networking (uli526x), so I
> >  purchased a D-Link DGE-560T PCI-e gigabit NIC ($81 at Newegg)
> > thinking it was supported by Linux. Looking at the card, it appears
> > to be a Marvell chip, but neither the sk98lin or skge drivers
> > worked. I tried other GBe drivers as well, they didn't recognize it
> > either.
> > 
> >  Is there a place where I can just add this card's ID and use one
> > of the sk* drivers? I paged through the source but didn't see an
> > obvious place to add a card ID, but it must be in there somewhere.
> > 
> >  I'm not subscribed to linux-kernel, please CC: me on replies,
> > thanks.
> > 
> >  Here's the info from the card:
> >  big M on the chip (Marvell I assume)
> >  88E8052-NNC
> >  GMAA17011A1
> >  0442 A2P
> > 
> >  and on the back of the card:
> > 
> >  00005A708649 0592
> >  DLink
> >  531CL00467 DGE-560T 70-13-001-001
> > 
> >  from lspci:
> > 
> >  02:00.0 0200: 1186:4b00 (rev 11)
> >  	Subsystem: 1186:4b00
> 
> See drivers/net/sk98lin/skge.c:skge_pci_tbl[]:
> 
> /* DLink card does not have valid VPD so this driver gags
>  *	{ PCI_VENDOR_ID_DLINK, 0x4c00, PCI_ANY_ID, PCI_ANY_ID, 0,
> 0, 0 }, */
> 
> That's your card, except yours is 0x4b00.
> 
> You can try it, but it might gag...

Didn't work at all, no effect.

> Also see drivers/net/skge.c:skge_id_table[]:
> 
> 	{ PCI_DEVICE(PCI_VENDOR_ID_DLINK,
> PCI_DEVICE_ID_DLINK_DGE510T), },
> 
> That's the same device as in sk98lin/skge.c.  Try adding a line
> 
> 	{ PCI_DEVICE(PCI_VENDOR_ID_DLINK, 0x4b00), },

Using sk98lin this "almost" worked- brought the line up, got a
gigabit connection light on my switch, but trying to assign an IP to
the interface results in a kernel panic. Not good...

I see that the sky2 driver in 2.6.16rc4 lists my card, but for some
reason it fails to access the card, maybe because I have an ULi chipset?

Feb 17 23:18:46 syrinx sky2 0000:02:00.0: can't access PCI config space
Feb 17 23:18:46 syrinx ACPI: PCI interrupt for device 0000:02:00.0
disabled 
Feb 17 23:18:46 syrinx sky2: probe of 0000:02:00.0 failed with
error -22 
Feb 17 23:23:03 syrinx ACPI: PCI Interrupt 0000:02:00.0[A] ->
GSI 30 (level, low) -> IRQ 24
Feb 17 23:23:03 syrinx PCI: Setting latency timer of device
0000:02:00.0 to 64 
Feb 17 23:23:03 syrinx sky2 0000:02:00.0: can't
access PCI config space 
Feb 17 23:23:03 syrinx ACPI: PCI interrupt for
device 0000:02:00.0 disabled 
Feb 17 23:23:03 syrinx sky2: probe of
0000:02:00.0 failed with error -22

Here's the PCI options I have enabled in 2.6.16-rc4:
CONFIG_PCI=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_MMCONFIG=y
CONFIG_PCIEPORTBUS=y
CONFIG_PCI_MSI=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_NET_PCI=y

# lspci
00:00.0 Host bridge: ALi Corporation M1695 K8 Northbridge [PCI Express and HyperTransport]
00:01.0 PCI bridge: ALi Corporation Unknown device 524b
00:02.0 PCI bridge: ALi Corporation Unknown device 524c
00:04.0 Host bridge: ALi Corporation M1689 K8 Northbridge [Super K8 Single Chip]
00:05.0 PCI bridge: ALi Corporation AGP8X Controller
00:06.0 PCI bridge: ALi Corporation M5249 HTT to PCI Bridge
00:07.0 ISA bridge: ALi Corporation M1563 HyperTransport South Bridge (rev 70)
00:07.1 Bridge: ALi Corporation M7101 Power Management Controller [PMU]
00:11.0 Ethernet controller: ALi Corporation M5263 Ethernet Controller (rev 40)
00:12.0 IDE interface: ALi Corporation M5229 IDE (rev c7)
00:12.1 IDE interface: ALi Corporation ULi 5289 SATA (rev 10)
00:13.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:13.1 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:13.2 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:13.3 USB Controller: ALi Corporation USB 2.0 Controller (rev 01)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
02:00.0 Ethernet controller: D-Link System Inc Unknown device 4b00 (rev 11)
03:00.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200 SE] (rev 01)
03:00.1 Display controller: ATI Technologies Inc RV280 [Radeon 9200 SE] (Secondary) (rev 01)
04:06.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07)
04:06.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 07)

--
Brian Hall
Linux Consultant
http://pcisys.net/~brihall

  reply	other threads:[~2006-02-18  7:35 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-18  5:27 Brian Hall
2006-02-18  5:40 ` Randy.Dunlap
2006-02-18  6:24 ` Andrew Morton
2006-02-18  7:36   ` Brian Hall [this message]
2006-02-18  7:48     ` Andrew Morton
2006-02-18 15:54       ` Edgar Hucek
2006-02-18 17:01       ` Brian Hall
2006-02-18 19:29         ` Sergey Vlasov
2006-02-19  0:35           ` Stephen Hemminger
2006-02-19  1:04             ` Greg KH
2006-02-19 16:20               ` Brian Hall
2006-02-19 17:13                 ` Andi Kleen
2006-02-28 15:08                   ` Brian Hall
2006-02-20 11:43               ` Willy Tarreau
2006-02-20 12:56                 ` Sergey Vlasov
2006-02-22  3:51                 ` Brian Hall
2006-02-22 19:51                   ` Stephen Hemminger
2006-02-19  2:55       ` Brian Hall
2006-02-19  7:41         ` jerome lacoste

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060218003622.30a2b501.brihall@pcisys.net \
    --to=brihall@pcisys.net \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=shemminger@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®