Subject: Re: D-Link DGE-560T panics kernel
To: Wraukon the Excellent <wraukon@gmail.com>
From: Juan RP <juan@xtrarom.org>
List: tech-kern
Date: 07/06/2007 10:34:47
On Fri, 6 Jul 2007 01:01:20 -0700
"Wraukon the Excellent" <wraukon@gmail.com> wrote:

> With SK_DEBUG defined, I get only one extra line:
> 
> skc0 at pci2 dev 0 function 0: ioapic0 pin 18 (irq7)
> skc0: bad VPD resource id: expected 82 got 0
> skc0: (null) rev. (0x2)
> sk0 at skc0 port A: Ethernet address 00:1b:11:c0:7e:8f
> >>> sk_jumbo_buf = 0x0xffff800046390000
> panic: sk0: unknown device type 182

So this is the code, skc_attach():

        /*
         * Do miibus setup.
         */
        switch (sc->sk_type) {
        case SK_GENESIS:
                sk_init_xmac(sc_if);
                break;
        case SK_YUKON:
        case SK_YUKON_LITE:
        case SK_YUKON_LP:
                sk_init_yukon(sc_if);
                break;
        default:
                panic("%s: unknown device type %d", sc->sk_dev.dv_xname,
                      sc->sk_type);
        }

Obviously the PCI vendor for your vendor would be DLINK...

It's stupid to panic here.

-- 
Juan Romero Pardines 	- The NetBSD Project
http://plog.xtrarom.org 	- NetBSD/pkgsrc news in Spanish