Subject: RE: Realtek NIC
To: None <netbsd-help@netbsd.org>
From: Fernando <fernando@rxp.com>
List: netbsd-help
Date: 11/16/2002 16:57:32
Hi James,

> Your hardware is "probed" at boot up, written to both the screen and
> /var/run/dmesg.boot.  The format of the messages varies from driver to
> driver, so you have to look around a bit.  On my machine, the Ethernet
> drivers show up this way:

My dmesg.boot file dosn't look like it captures everything from the boot. As
I watch it boot (really fast) I see something fly by mentioning "Network"
but there is no such word in the boot file. I also see somthing say
"Warning" but that also is not in the file.

>
> $ grep address /var/run/dmesg.boot
> ex0: MAC address 00:10:4b:22:15:d8
> ne1: Ethernet address 00:e0:29:38:b8:d7

You guys have all the luck. I wish mine said that. :-)

<snip>lots o' info</snip>
> OTOH, you might find a message that says your kernel found hardware for
> which it has no driver:
>
> $ grep configured /var/run/dmesg.boot
> pciide0: secondary channel configured to compatibility mode
> VIA Technologies product 0x3057 (miscellaneous bridge, revision 0x40) at
> pci0 dev 7 function 4 not configured

I didn't find anything like that either. Not in the file anyway. During boot
it may have said that but it goes by so fast I can't see it.

> If you find something in your dmesg that looks like an Ethernet card, post
> the relevant bits here.  That will be enough information to determine what
> to do.  I'm pretty sure you'll find it's supported.

I copied and pasted everything in the dmesg.boot file below. As you can see,
no network anything. :-( But I notice the confilict. Perhaps it is a
conflict between the sound card and the nic. It may see one and not the
other simply because they are sharing an IRQ, although when I use Windows to
view it, I see none. (That liein' winders). I'm going to get a seperate nic
card and try it. I'm also going to try disabling sound in the bios.

> --jkl
>
> P.S. It's a good idea to use the subject line. :)
Yeah, i'm a goober :-D

Thanks James.
Fernando

-------begin paste------

NetBSD 1.5.2 (GENERIC) #3: Sat Aug 18 23:37:05 CEST 2001
    he@hamster.urc.uninett.no:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD K7 (Athlon) (686-class), 1792.03 MHz
total memory = 127 MB
avail memory = 113 MB
using 1659 buffers containing 6636 KB of memory
mainbus0 (root)
isa0 at mainbus0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 channel 0 drive 0: <CntxCorpHD>
wd0: drive supports 128-sector pio transfers, lba addressing
wd0: 16383 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 33554304 sectors
wd0: drive supports PIO mode 4, DMA mode 2
wdc1 at isa0 port 0x170-0x177 irq 15
atapibus0 at wdc1 channel 0
cd0 at atapibus0 drive 0: <CntxCorpCD, , > type 5 cdrom removable
cd0: drive supports PIO mode 4
vga0 at isa0 port 0x3b0-0x3df iomem 0xa0000-0xbffff
wsdisplay0 at vga0: console (80x25, vt100 emulation), using wskbd0
lpt0 at isa0 port 0x378-0x37b irq 7
sb0 at isa0 port 0x220-0x237 irq 5 drq 1 drq2 5: dsp v4.13
audio0 at sb0: full duplex, mmap, independent
midi0 at sb0: SB MIDI UART
opl0 at sb0: model OPL3
midi1 at opl0: SB Yamaha OPL3
pcppi0 at isa0 port 0x61
midi2 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
fd1 at fdc0 drive 1: density unknown
isapnp0: read port 0x203
isapnp0: <Sound Blaster 16, PNPB003, PNPB003, > ignored; resource conflict
joy0 at isapnp0 port 0x201/1
joy0: Game Port
joy0: joystick not connected
biomask ef45 netmask ef45 ttymask ffc7
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0

------end paste------