Subject: ethernet/video woes
To: None <port-mac68k@NetBSD.ORG>
From: John Wittkoski <jpw@netscape.com>
List: port-mac68k
Date: 11/02/1996 23:27:08
Greetings,
I tried this setup this weekend:
   Mac II with RasterOps 264 board

Seems to work fine except that I get the following error
before the screen clear happens:
   Error -37 trying to open slot 0xd video driver
   Error -37 processing video card slot 0xd sRsrcID 0x90
   Warning - error -37 turning off interrupts - booting anyway

I assume it's complaining because it's a 24 bit card (it is
in one bit mode when I boot).

But it basically works, so I'm not complaining.

Then I install an old Asante MacCon MC3NB ethernet card
(enet chip is DP83902). It recognizes the card and I can ifconfig
it, but it totally hangs when I try to send any traffic out the
port (ping, etc). A break (over serial console) into ddb and 
a trace gives me:

db> trace
_Debugger(fc,0,865c44,a3e4e,6b87b00) + 6
_zs_abort(6b87b00,8,6b8e228,6b8e29e,6b8e200) + 3c
_zsstop(6b8e228) + 7bc
_zsc_intr_hard(6b8e200,4,10,865cf0,3236) + 5e
_zshard(0) + 20
_lev4intr(1) + e
_aewatchdog(6b8e046) + 1e
_if_slowtimo(0) + 32
_softclock(2100,6,c9614,6b9e700,865ee4) + 56
_hardclock(865d5c,20000000,0) + 17c
_rtclock_intr(?)
_via1_intr(865d90) + 16
_lev1intr(?)
_mi_switch(0,0,0,ffffc95e,2004) + e
_tsleep(6b9d2ae,118,c1acc,0,865e94) + 16e
_sbwait(6b9d2ae) + 2e
_soreceive(6b9d280,865edc,865ee4,0,0,865f44) + 24e
_recvit(6b9e700,3,865f2c,ffffc95e,865f80) + ea
_sys_recvfrom(6b9e700,865f88,865f80) + 6c
_syscall(1d) + 13a
_trap0() + e
db>

I remember hearing about problems between certain ethernet
cards and 24 bit video cards. I don't have an 8 bit card and
I (unfortunately) can't boot without the video card. (Does
anyone know if a Mac _can_ be booted w/o a video card?)

So, has anyone played with a similar setup recently? Is the
video card at fault, meaning I should but get an 8 bit card,
or is it just the horrible interrupt conflict monster rearing
it's ugly head again?

Thanks.

	--John

P.S. I've also got a Cabletron ethernet card here that uses
a DP8390 chip, but it's not even recognized at boot time as
an ethernet card. How does the kernel decide which cards are
which devices? Can I just add the "name" of the card somewhere 
in the kernel for it to be recognized?