[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dc driver problem w/ 2.8



I got it to work by building the 2.7 version of if_dc_pci.c into a 2.8 kernel.
All I had to change was the stuff that pertained to the "identity crisis".
I don't know exactly what the problem was, but I can send a card to someone
if they would like to track it down.  It manifested itself by a bunch of
timeout errors, and me not being able to ping anything...  dmesg follows
(from my working 2.7 kernel):

OpenBSD 2.7 (MIX) #1: Tue Dec  5 16:08:23 PST 2000
    root_(_at_)_mix:/usr/src/sys/arch/i386/compile/MIX
cpu0: Intel Pentium III (Coppermine) ("GenuineIntel" 686-class) 668 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SYS,MTRR,PGE,MCA,CMOV,PAT,PSE36,SER,MMX
,FXSR,SIMD
real mem  = 65581056 (64044K)
avail mem = 56225792 (54908K)
using 826 buffers containing 3383296 bytes (3304K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(7d) BIOS, date 04/25/00
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82810E Memory Controller Hub" rev 0x03: RN
G(30)
"Intel 82810E Graphics Controller" rev 0x03 at pci0 dev 1 function 0 not configu
red
ppb0 at pci0 dev 30 function 0 "Intel 82801AA Hub-to-PCI" rev 0x02
pci1 at ppb0 bus 1
fxp0 at pci1 dev 4 function 0 "Intel 82557" rev 0x08: irq 12, address 00:20:ed:0
1:b8:22
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
dc0 at pci1 dev 15 function 0 "Lite-On PNIC" rev 0x20: irq 11 address 00:c0:f0:4
e:c7:73
ukphy0 at dc0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x00c0b4, model 0x0000, rev. 8
pcib0 at pci0 dev 31 function 0 "Intel 82801AA LPC Interface" rev 0x02
pciide0 at pci0 dev 31 function 1 "Intel 82801AA IDE" rev 0x02: DMA, channel 0 w
ired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <SanDisk SDP3B-64>
wd0: can use 32-bit, PIO mode 0
wd0: 1-sector PIO, LBA, 61MB, 490 cyl, 8 head, 32 sec, 125440 sectors
pciide0: channel 0 interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 0
"Intel 82801AA USB" rev 0x02 at pci0 dev 31 function 2 not configured
"Intel 82801AA SMBus" rev 0x02 at pci0 dev 31 function 3 not configured
"Intel 82801AA AC-97 Audio" rev 0x02 at pci0 dev 31 function 5 not configured
isa0 at pcib0
isadma0 at isa0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
vt0 at isa0 port 0x60/16 irq 1: vga 80 col, color, 8 scr, mf2-kbd
pms0: irq 12 already in use
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask 4040 netmask 5840 ttymask 58c2
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
MPPE: loaded into ppp at slot 3
DDB symbols added: 100992 bytes

I can post the dmesg from the 2.8 kernel as soon as I upgrade my binaries
so I can get my ipsec tunnels back...  =)

Jack

> I have an enet card (Kingston, given to me by PacBell with my DSL install)
> which works fine under 2.7, but not at all under 2.8.  I am poking through
> the tree now, to try and figure out the problem...found 
> 
> http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/ic/dcreg.h
> 
> notes for v1.4 say 'fix admtek identity crisis'
> 
> on 1.5, it says something about a problem with adm983 card...  did that
> ever get resolved?
> 
> I am trying to build a 2.8 kernel with an older version of the dc driver to
> see if that works...  I know this email is a little less than informative,
> but I am still digging into it.
> 
> Jack