Date: Sun, 12 Jan 2003 12:35:52 -0500 From: "Chris Rupnik" <chrisr@beosppc.org> To: <freebsd-alpha@freebsd.org> Subject: Configuring DEFPA in kernel for 5.0-RC2 Message-ID: <085501c2ba61$11386da0$0a04a8c0@PLANETEORANGE.CA>
index | next in thread | raw e-mail
Hi (mailer problems might mean you will see two more copies of this email. I
apologize in advance)
New to Freebsd, and just freshly installed 5.0-rc2 onto my 2100A, however;
when adding in support for my DEFPA card to an otherwise untouched alpha
GENERIC kernel config file, I get the following
cc -c -O -pipe -mcpu=ev4 -mtune=ev5 -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-
q
ual -fformat-extensions -ansi -nostdinc -I- -I. -I../../.. -I../../../dev
-I../../../contrib/dev/acpica -I../../../contrib/ipfilter -D_KERNEL -inclu
de
opt_global.h -fno-common -mno-fp-regs -ffixed-8 -Wa,-mev6 -ffreestanding -W
error vers.c
linking kernel
pdq_ifsubr.o: In function `pdq_ifioctl':
pdq_ifsubr.o(.text+0x8fc): undefined reference to `fddi_ioctl'
pdq_ifsubr.o(.text+0x900): undefined reference to `fddi_ioctl'
pdq_ifsubr.o: In function `pdq_ifattach':
pdq_ifsubr.o(.text+0xac8): undefined reference to `fddi_ifattach'
pdq_ifsubr.o(.text+0xacc): undefined reference to `fddi_ifattach'
pdq_ifsubr.o: In function `pdq_ifdetach':
pdq_ifsubr.o(.text+0xb0c): undefined reference to `fddi_ifdetach'
pdq_ifsubr.o(.text+0xb10): undefined reference to `fddi_ifdetach'
*** Error code 1
I searched around and the only reference to fddi_ifdetach was this note
from
March 2002
mdodd 2002/03/29 02:40:35 PST
Modified files:
sys/net fddi.h if_fddisubr.c
Log:
- Define fddibroadcastaddr in if_fddisubr.c.
- Add fddi_ifdetach() and fddi_ioctl().
and on my system I have
v1.13 src/sys/net/fddi.h
v1.72 src/sys/net/if_fddisubr.c
So, what did I miss?
Thanks for your help
Christopher
$ uname -a
FreeBSD alpha2.geeknet.montreal.qc.ca 5.0-RC2 FreeBSD 5.0-RC2 #0: Wed Dec
18
17:06:35 GMT 2002
root@mithlond.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC alpha
DMESG attached below
Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.0-RC2 #0: Wed Dec 18 17:06:35 GMT 2002
root@mithlond.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel "/boot/kernel/kernel" at 0xfffffc0000844000.
DEC AlphaServer 2100A
AlphaServer 2100A 5/250, 250MHz
8192 byte page size, 1 processor.
CPU: EV5 (21164) major=5 minor=5
OSF PAL rev: 0x4000100020116
real memory = 132046848 (125 MB)
avail memory = 120782848 (115 MB)
Initializing GEOMetry subsystem
t20: using interrupt type 1 on pci bus 0
t20: found EXT_IO!!!!!
t20: <T2 Core Logic chipset>
pci0: <PCI bus> on pcib0
eisab0: <PCI-EISA bridge> at device 2.0 on pci0
isa0: <ISA bus> on eisab0
pcib1: <PCI-PCI bridge> at device 3.0 on pci0
pci2: <PCI bus> on pcib1
de0: <Digital 21040 Ethernet> port 0x5000-0x507f mem 0x81000100-0x8100017f
irq 24 at device 0.0 on pci2
de0: DEC 21040 [10Mb/s] pass 2.4
de0: address 00:00:f8:20:5d:60
sym0: <810> port 0x5400-0x54ff mem 0x81000000-0x810000ff irq 28 at device
1.0 on pci2
sym0: No NVRAM, ID 7, Fast-10, SE, parity checking
pci0: <mass storage, SCSI> at device 6.0 (no driver attached)
de1: <Digital 21040 Ethernet> port 0x11100-0x1117f mem
0x81211100-0x8121117f
irq 40 at device 8.0 on pci0
de1: DEC 21040 [10Mb/s] pass 2.4
de1: address 00:00:f8:21:73:a4
sym1: <810> port 0x11000-0x110ff mem 0x81211000-0x812110ff irq 44 at device
9.0 on pci0
sym1: No NVRAM, ID 7, Fast-10, SE, parity checking
ata0 at port 0x3f6,0x1f0-0x1f7 irq 14 on isa0
ata1 at port 0x376,0x170-0x177 irq 15 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
mcclock0: <MC146818A real time clock> at port 0x70-0x71 on isa0
ppc0: <Parallel port> at port 0x3bc-0x3c3 irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
lpt0: <Printer> on ppbus0
lpt0: Polled port
ppi0: <Parallel I/O> on ppbus0
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 on isa0
sio0: type 16550A, console
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
Timecounters tick every 0.976 msec
Timecounter "i8254" frequency 1193182 Hz
Timecounter "alpha" frequency 249732647 Hz
Waiting 15 seconds for SCSI devices to settle
de0: enabling 10baseT port
de1: autosense failed: cable problem?
cd0 at sym0 bus 0 target 5 lun 0
cd0: <DEC RRD45 (C) DEC 1645> Removable CD-ROM SCSI-2 device
cd0: 4.237MB/s transfers (4.237MHz, offset 8)
cd0: cd present [957472 x 512 byte records]
da0 at sym0 bus 0 target 0 lun 0
da0: <QUANTUM EMPIRE_1080S 1242> Fixed Direct Access SCSI-2 device
da0: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled
da0: 1029MB (2109376 512 byte sectors: 255H 63S/T 131C)
Mounting root from ufs:/dev/da0a
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?085501c2ba61$11386da0$0a04a8c0>
