From owner-newconfig@jp.freebsd.org  Sun May  2 05:11:12 1999
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id FAA83422;
	Sun, 2 May 1999 05:11:12 +0900 (JST)
	(envelope-from owner-newconfig@jp.FreeBSD.org)
Received: from tardis.perspectives.net (ppp-as19-5.nss.udel.edu [128.175.143.7])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id FAA83417
	for <newconfig@jp.freebsd.org>; Sun, 2 May 1999 05:11:08 +0900 (JST)
	(envelope-from jerry.alexandratos@perspectives.net)
Received: from localhost ([127.0.0.1] helo=tardis.perspectives.net)
	by tardis.perspectives.net with esmtp (Exim 2.12 #1)
	id 10deEn-0000CD-00
	for newconfig@jp.freebsd.org; Sat, 1 May 1999 14:11:41 -0400
To: newconfig@jp.freebsd.org
Organization: Mos Eisley Candy Store
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <749.925582300.1@tardis.perspectives.net>
Date: Sat, 01 May 1999 14:11:40 -0400
From: Jerry Alexandratos <jerry.alexandratos@perspectives.net>
Message-Id: <E10deEn-0000CD-00@tardis.perspectives.net>
Reply-To: newconfig@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+990430
X-Sequence: newconfig 37
Subject: [newconfig 37] Newconfig Problems
Errors-To: owner-newconfig@jp.freebsd.org
Sender: owner-newconfig@jp.freebsd.org
X-Originator: jerry.alexandratos@perspectives.net

I'm having some trouble getting the newconfig kernel to work.
Specifically, when I can't get a kernel to link when I compile a kernel
with the pcm0 device.  Here's the following error message:

loading kernel
ad1848.o(.data+0x290): undefined reference to `mss_close'
ad1848.o(.data+0x29c): undefined reference to `mss_ioctl'
ad1848.o(.data+0x2a8): undefined reference to `mss_callback'
*** Error code 1

Ripping pcm0 out, I get a kernel to compile.  However, I can't get it to
recognize my pcmcia modem.  Here's the output from dmesg:

bb_pcmcia_alloc_mem: addr 0x20000000 size 0x400, realsize 0x1000
pccbb_pcmcia_mem_map window 0 bus 20000000+0+400 at card addr 0
pccbb_pcmcia_do_mem_map: start 0x20000000 end 0x200003ff off 0xe0000000
pccbb_pcmcia_do_mem_map window 0: 0080 0080 0040 20
pccbb_pcmcia_socket_disable
pccbb_power: CARDBUS_VCC_0V and CARDBUS_VPP_0V [44]
3Com, 3CXM/3CCM556, Megahertz 56K Cell/Telephony Modem (manufacturer
0x101, prod
uct 0x34) function 0 not configured
cbb1 at pci0 dev 2 func 1 (unknown), flags 0
cbb1: socket base address 0x50101000 intrpin B, intrtag 11

Am I doing anything wrong?  And if so, what?  Oh, and I've attached my
kernel config file at the bottom of this message.

        --Jerry


# kernel config

# machine definitions
machine 	i386
options		I686_CPU
maxusers	10
config		kernel root on wd0

# kernel options
options 	UCONSOLE
#options 	USERCONFIG
options 	MD5
options 	MAXMEM="(127 * 1024)"

# compatibility options
options 	COMPAT_43
options 	COMPAT_LINUX
options 	IBCS2
options 	VM86

# sysv options
options 	SYSVSHM
options 	SYSVSEM
options 	SYSVMSG

# network options
options 	INET
options 	ICMP_BANDLIM

# filesystem options
options 	FFS
options 	FFS_ROOT
options 	SOFTUPDATES
options 	NFS
options 	NFS_NOSERVER
options 	PROCFS
options 	CD9660
options 	CD9660_ROOTDELAY=20
options 	MSDOSFS

# posix options
options 	P1003_1B
options 	_KPOSIX_PRIORITY_SCHEDULING
options 	_KPOSIX_VERSION="199309L"

# mainbus location 
mainbus0        at root

# pci busses
pci*            at mainbus? bus ?
pci*            at pchb? bus ?
pci*            at ppb? bus ?
chipset*        at pci? dev ? func ?
vga*            at pci? dev ? func ?

# pci bridges
pchb*           at pci? dev ? func?
pcib*           at pci? dev ? func?
ppb*            at pci? dev ? func?
cbb*            at pci? dev ? func?

# pcmcia/cardbus busses
cardbus*        at cbb? slot ?
pcmcia*         at cbb? socket ?
pcmcia*         at pcic? controller ? socket ?

# isa busses
isa*            at mainbus?
isa*            at pcib?
pcic0           at isa ? iobase 0x3e0 membase 0xd0000 memsize 0x40000

# math coprocessor
npx0            at isa? iobase 0xf0 irq 13

# console devices
atkbdc0         at isa? iobase 0x60 imask ISA_IMASK_TTY
atkbd0          at isa? irq 1 imask ISA_IMASK_TTY
psm0            at isa? irq 12 imask ISA_IMASK_TTY
vga0            at isa?
sc0             at isa? imask ISA_IMASK_TTY

# apm support
apm0            at isa?

# serial/parallel devices
sio*            at isa? iobase 0x3f8 irq 4
sio*            at isa? iobase ? irq ?
#lpt0            at isa? iobase ? irq 7

# audio devices
pca0            at isa? iobase 0x40 imask ISA_IMASK_TTY
pcm0            at isa? iobase 0x52c irq 5 drq 1 flags 0x13

# ide controllers/devices
wdc0            at isa? iobase 0x1f0 irq 14 imask ISA_IMASK_BIO
wd0             at wdc? drive 0
#wd*             at wdc? drive ?

# floppy controllers/devices
fdc0            at isa? iobase 0x3f0 irq 6 drq 2
fd*             at fdc? drive ?

# cardbus devices
xl*             at cardbus? dev ? func?

# pseudo devices
pseudo-device	gzip
pseudo-device	loop
pseudo-device	ether
pseudo-device	pty		16
pseudo-device	tun		1
pseudo-device	bpfilter	4

name:  Jerry Alexandratos         ||  Open-Source software isn't a
phone: 302.521.1018               ||  matter of life or death...
email: jalexand@perspectives.net  ||  ...It's much more important
                                  ||  than that!
