Hi,

since yesterday morning I'm trying to get the onboard Ethernet interface
from my nootebook to work with 4.0-STABLE.

It seems, this is an AMD Lance based chip, it probes as follows:

lnc0: <PCNet/PCI Ethernet adapter> port 0x10e0-0x10ff \
         mem 0xfc008000-0xfc00801f irq 9 at device 11.0 on pci0
lnc0: driver is using old-style compatability shims

... but neither the ether adress gets displayed nor is ifconfig working.

# ifconfig lnc0
ifconfig: interface lnc0 does not exist

What could I do to get this working ?

Here comes the output from a verbose boot:


Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 4.0-20000404-STABLE #5: Thu Apr  6 07:39:18 CEST 2000
    root@:/usr/src/sys/compile/SCHLEPPI2
Calibrating clock(s) ... TSC clock: 501130954 Hz, i8254 clock: 1193169 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254"  frequency 1193182 Hz
CLK_USE_TSC_CALIBRATION not specified - using old calibration method
CPU: Pentium III/Pentium III Xeon (501.14-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x681  Stepping = 1
  
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,XMM>
real memory  = 134152192 (131008K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009efff, 647168 bytes (158 pages)
0x0030c000 - 0x07fe7fff, 130924544 bytes (31964 pages)
avail memory = 127500288 (124512K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00f6a10
bios32: Entry = 0xfd8a0 (c00fd8a0)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0x11e
pnpbios: Found PnP BIOS data at 0xc00f6a40
pnpbios: Entry = f0000:8e05  Rev = 1.0
Other BIOS signatures found:
ACPI: 000f69d0
Pentium Pro MTRR support enabled
md0: Malloc disk
Creating DISK md0
pci_open(1):    mode 1 addr port (0x0cf8) is 0x80003904
pci_open(1a):   mode1res=0x80000000 (0x80000000)
pci_cfgcheck:   device 0 [class=060000] [hdr=00] is there (id=71908086)
npx0: <math processor> on motherboard
npx0: INT 16 interface
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
pci_open(1):    mode 1 addr port (0x0cf8) is 0x00000000
pci_open(1a):   mode1res=0x80000000 (0x80000000)
pci_cfgcheck:   device 0 [class=060000] [hdr=00] is there (id=71908086)
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
found-> vendor=0x8086, dev=0x7190, revid=0x03
        class=06-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        map[10]: type 1, range 32, base f8000000, size 26
found-> vendor=0x8086, dev=0x7191, revid=0x03
        class=06-04-00, hdrtype=0x01, mfdev=0
        subordinatebus=1        secondarybus=1
found-> vendor=0x8086, dev=0x7110, revid=0x02
        class=06-80-00, hdrtype=0x00, mfdev=1
        subordinatebus=0        secondarybus=0
found-> vendor=0x8086, dev=0x7111, revid=0x01
        class=01-01-80, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        map[20]: type 1, range 32, base 00001050, size  4
found-> vendor=0x8086, dev=0x7112, revid=0x01
        class=0c-03-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=d, irq=11
        map[20]: type 1, range 32, base 00001060, size  5
found-> vendor=0x8086, dev=0x7113, revid=0x03
        class=06-80-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        map[90]: type 1, range 32, base 00001040, size  4
found-> vendor=0x1073, dev=0x0010, revid=0x02
        class=04-01-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=a, irq=5
        map[10]: type 1, range 32, base fc000000, size 15
        map[14]: type 1, range 32, base 00001080, size  6
        map[18]: type 1, range 32, base 00001800, size  2
found-> vendor=0x1022, dev=0x2000, revid=0x43
        class=02-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=a, irq=9
        map[10]: type 1, range 32, base 000010e0, size  5
        map[14]: type 1, range 32, base fc008000, size  5
found-> vendor=0x1180, dev=0x0475, revid=0x80
        class=06-07-00, hdrtype=0x02, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=a, irq=255
found-> vendor=0x11c1, dev=0x0420, revid=0x01
        class=07-80-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=a, irq=11
        map[10]: type 1, range 32, base fc008400, size  8
        map[14]: type 3, range 32, base 00001808, size  3
        map[18]: type 1, range 32, base 00001400, size  8
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
found-> vendor=0x1002, dev=0x4c42, revid=0xdc
        class=03-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        map[10]: type 1, range 32, base fd000000, size 24
        map[14]: type 1, range 32, base 00002000, size  8
        map[18]: type 1, range 32, base fc100000, size 12
pci1: <PCI bus> on pcib1
pci1: <ATI model 4c42 graphics accelerator> (vendor=0x1002, dev=0x4c42) at 0.0
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0x1050-0x105f at device 7.1 on pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x1050
ata0: mask=03 status0=50 status1=00
ata0: mask=03 status0=50 status1=00
ata0: devices = 0x1
ata0: at 0x1f0 irq 14 on atapci0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x1058
ata1: mask=03 status0=00 status1=00
ata1: mask=03 status0=00 status1=00
ata1: devices = 0x4
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x1060-0x107f irq 11 at device 
7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
chip1: <Intel 82371AB Power management controller> port 0x1040-0x104f at device 7.3 on 
pci0
pci0: <unknown card> (vendor=0x1073, dev=0x0010) at 9.0 irq 5
lnc0: <PCNet/PCI Ethernet adapter> port 0x10e0-0x10ff mem 0xfc008000-0xfc00801f irq 9 
at device 11.0 on pci0
lnc0: driver is using old-style compatability shims
pcic-pci0: <Ricoh RL5C475 PCI-CardBus Bridge> at device 12.0 on pci0
PCI Config space:
00:  04751180 02100007 06070080 00020000
10:  00000000 020000dc 00000000 00000000
20:  00000000 00000000 00000000 00000000
30:  00000000 00000000 00000000 008001ff
40:  02801558 000003e1 00000000 00000000
50:  00000000 00000000 00000000 00000000
60:  00000000 00000000 00000000 00000000
70:  00000000 00000000 00000000 00000000
80:  00a00000 00000000 04630463 00000000
90:  00000000 00000000 00000000 00000000
Cardbus Socket registers:
00:  f000ff53: f000ff53: f000e2c3: f000ff53:
10:  f000ff53: f000ff54: f0009379: f000ff53:
ExCa registers:
00: 13 88 f5 5a 72 d0 80 e1 3f 74 c8 fa 66 8b 46 08
10: 52 66 0f b6 d9 66 31 d2 66 f7 f3 88 eb 88 d5 43
20: 30 d2 66 f7 f3 88 d7 5a 66 3d ff 03 00 00 fb 77
30: a2 86 c4 c0 c8 02 08 e8 40 91 88 fe 28 e0 8a 66
pci0: <unknown card> (vendor=0x11c1, dev=0x0420) at 13.0 irq 11
Trying Read_Port at 203
Trying Read_Port at 243
Trying Read_Port at 283
Trying Read_Port at 2c3
Trying Read_Port at 303
Trying Read_Port at 343
Trying Read_Port at 383
Trying Read_Port at 3c3
devclass_alloc_unit: ata0 already exists, using next available unit number
devclass_alloc_unit: ata1 already exists, using next available unit number
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0047
atkbd: keyboard ID 0x41ab (2)
kbdc: RESET_KBD return code:00fa
kbdc: RESET_KBD status:00aa
kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000
psm0: current command byte:0047
kbdc: TEST_AUX_PORT status:0000
kbdc: RESET_AUX return code:00fa
kbdc: RESET_AUX status:00aa
kbdc: RESET_AUX ID:0000
psm: status 00 02 64
psm: status 00 00 64
psm: status 00 03 64
psm: status 00 03 64
psm: data 08 00 00
psm: status 53 02 14
psm: data 08 00 00
psm: status 00 02 64
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model GlidePoint, device ID 0-00, 2 buttons
psm0: config:00000000, flags:00000000, packet size:3
psm0: syncmask:c0, syncbits:00
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0: vga0, vga, type:VGA (5), flags:0x7007f
fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
vga0: vga: WARNING: video mode switching is not fully supported on this adapter
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 e7 a3 4f 67 8f 6a 1b 
24 b3 00 6f 0d 0e 00 00 02 d0 49 8f 8f 28 1f 47 
6d a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
EGA/VGA parameters to be used for mode 24
50 18 10 00 00 00 03 00 02 e7 a3 4f 67 8f 6a 1b 
24 b3 00 6f 0d 0e 00 00 02 d0 49 8f 8f 28 1f 47 
6d a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
pcic0 at port 0x3e0 iomem 0xd0000 irq 10 on isa0
pcic ident regs: 0x83 0xff 0xff 0xff
pcic0: controller 0 (Intel 82365SL Revision 1) has socket A only
pccard0: <PC Card bus -- newconfig version> on pcic0
sio0: irq maps: 0x41 0x51 0x41 0x41
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: irq maps: 0x41 0x49 0x41 0x41
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: parallel port found at 0x378
ppc0: EPP SPP
ppc0: <Parallel port> at port 0x378-0x37f irq 7 flags 0x40 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppi0: <Parallel I/O> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
plip0: <PLIP network interface> on ppbus0
bpf: lp0 attached
pcic1 at port 0x3e0-0x3e1 iomem 0xd0000-0xd0fff irq 10 on isa0
device_probe_and_attach: pcic1 attach returned 12
isa_probe_children: probing PnP devices
BIOS Geometries:
 0:03fefe3f 0..1022=1023 cylinders, 0..254=255 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
bpf: sl0 attached
bpf: ppp0 attached
new masks: bio 4008c840, tty 4003109a, net 4007149a
bpf: lo0 attached
ata0-master: success setting up UDMA2 mode on PIIX4 chip
ad0: <TOSHIBA MK1214GAP/N0.11 A> ATA-4 disk at ata0 as master
ad0: 11513MB (23579136 sectors), 23392 cyls, 16 heads, 63 S/T, 512 B/S
ad0: 16 secs/int, 1 depth queue, UDMA33
ad0: piomode=4 dmamode=2 udmamode=4 cblid=1
Creating DISK ad0
Creating DISK wd0
ata1-master: piomode=4 dmamode=2 udmamode=2 dmaflag=1
ata1-master: success setting up UDMA2 mode on PIIX4 chip
acd0: <TOSHIBA CD-ROM XM-7002B/1005> CDROM drive at ata1 as master
acd0: read 4134KB/s (4134KB/s), 128KB buffer, UDMA33
acd0: Reads: CD-R, CD-RW, CD-DA stream
acd0: Audio: play, 16 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: CD-ROM 80mm data disc loaded, unlocked
Mounting root from ufs:ad0s1a
ad0s1: type 0xa5, start 63, end = 11775644, size 11775582 : OK
start_init: trying /sbin/init
Linux-ELF exec handler installed
splash: image decoder found: daemon_saver

and here comes the kernel config file

#
# SCHLEPPI Newcard based

machine         i386
cpu             I586_CPU
cpu             I686_CPU
ident           SCHLEPPI2
maxusers        32

#makeoptions    DEBUG=-g                #Build kernel with gdb(1) debug symbols

options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         FFS_ROOT                #FFS usable as root device [keep this!]
options         MFS                     #Memory Filesystem
options         MD_ROOT                 #MD is a potential root device
options         NFS                     #Network Filesystem
options         NFS_ROOT                #NFS usable as root device, NFS required
options         MSDOSFS                 #MSDOS Filesystem
options         CD9660                  #ISO 9660 Filesystem
options         CD9660_ROOT             #CD-ROM usable as root, CD9660 required
options         PROCFS                  #Process filesystem
options         COMPAT_43               #Compatible with BSD 4.3 [KEEP THIS!]
options         UCONSOLE                #Allow users to grab the console
options         USERCONFIG              #boot -c editor
options         VISUAL_USERCONFIG       #visual boot -c editor
options         KTRACE                  #ktrace(1) support
options         SYSVSHM                 #SYSV-style shared memory
options         SYSVMSG                 #SYSV-style message queues
options         SYSVSEM                 #SYSV-style semaphores
options         COMPAT_OLDPCI

device          isa
device          pci
device          pccard
#device         cardbus

# Floppy drives
device          fdc0    at isa? port IO_FD1 irq 6 drq 2
device          fd0     at fdc0 drive 0
#device         fd1     at fdc0 drive 1

# ATA and ATAPI devices
device          ata0    at isa? port IO_WD1 irq 14
device          ata1    at isa? port IO_WD2 irq 15
device          ata
device          atadisk                 # ATA disk drives
device          atapicd                 # ATAPI CDROM drives
device          atapifd                 # ATAPI floppy drives
device          atapist                 # ATAPI tape drives
options         ATA_STATIC_ID           #Static device numbering
options         ATA_ENABLE_ATAPI_DMA    #Enable DMA on ATAPI devices

# atkbdc0 controls both the keyboard and the PS/2 mouse
device          atkbdc0 at isa? port IO_KBD
device          atkbd0  at atkbdc? irq 1
device          psm0    at atkbdc? irq 12

device          vga0    at isa? port ? 

# splash screen/screen saver
pseudo-device   splash

# syscons is the default console driver, resembling an SCO console
device          sc0     at isa?

# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device         vt0     at isa?
#options        XSERVER                 # support for X server on a vt console
#options        FAT_CURSOR              # start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
#options        PCVT_SCANSET=2          # IBM keyboards are non-std

# Floating point support - do not disable.
device          npx0    at nexus? port IO_NPX irq 13

# Power management support (see LINT for more options)
device          apm0    at nexus? flags 0x20 # Advanced Power Management

# PCCARD (PCMCIA) support
device          pcic0   at isa? port 0x3e0 irq 10 iomem 0xd0000
device          pccbb

# Serial (COM) ports
device          sio0    at isa? port IO_COM1 flags 0x10 irq 4
device          sio1    at isa? port IO_COM2 irq 3

# Parallel port
device          ppc0    at isa? port? flags 0x40 irq 7
device          ppbus           # Parallel port bus (required)
device          lpt             # Printer
device          plip            # TCP/IP over parallel
device          ppi             # Parallel port interface device
#device         vpo             # Requires scbus and da0

# ISA Ethernet NICs.
# The probe order of these is presently determined by i386/isa/isa_compat.c.
#device         ie0     at isa? port 0x300 irq 10 iomem 0xd0000
#device         fe0     at isa? port 0x300 irq ?
#device         le0     at isa? port 0x300 irq 5 iomem 0xd0000
#device         lnc0    at isa? port 0x1a0a irq 9 drq 0
#device         cs0     at isa? port 0x300 irq ?
#device         sn0     at isa? port 0x300 irq 10
# requires PCCARD (PCMCIA) support to be activated
# XXX BROKEN
#device         xe0     at isa? port? irq ?

device lnc0

# Pseudo devices - the number indicates how many units to allocated.
pseudo-device   loop            # Network loopback
pseudo-device   ether           # Ethernet support
pseudo-device   sl      1       # Kernel SLIP
pseudo-device   ppp     1       # Kernel PPP
pseudo-device   tun             # Packet tunnel.
pseudo-device   pty             # Pseudo-ttys (telnet etc)
pseudo-device   md              # Memory "disks"

# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device   bpf     4       #Berkeley packet filter
pseudo-device   vn      4

# USB support
device          uhci            # UHCI PCI->USB interface
device          ohci            # OHCI PCI->USB interface
device          usb             # USB Bus (required)
device          ugen            # Generic
device          uhid            # "Human Interface Devices"
device          ukbd            # Keyboard
device          ulpt            # Printer
#device         umass           # Disks/Mass storage - Requires scbus and da0
device          ums             # Mouse
#device         aue             # ADMtek USB ethernet
#device         cue             # CATC USB ethernet
#device         kue             # Kawasaki LSI USB ethernet

options DDB

Holm
-- 
FreibergNet Systemhaus GbR      Holm Tiffe  * Administration, Development
Systemhaus für Daten- und Netzwerktechnik           phone +49 3731 781279
Unternehmensgruppe Liebscher & Partner                fax +49 3731 781377
D-09599 Freiberg * Am St. Niclas Schacht 13    http://www.freibergnet.de/



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to