Bug 19742

Summary: Kernel compile crashes under 3.5 with sbvxi0 added
Product: Base System Reporter: Kim Scarborough <sluggo>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Kim Scarborough 2000-07-06 19:30:00 UTC
When I try to add "device sbxvi0   at isa? drq 5" to my kernel config, the compile dies like so:

dev_table.o(.data+0xc4): undefined reference to `attach_sb16midi'
dev_table.o(.data+0xc8): undefined reference to `probe_sb16midi'
sb_dsp.o: In function `sbintr':
sb_dsp.o(.text+0xa9): undefined reference to `sb16midiintr'

How-To-Repeat: I've posted my kernel config to http://www.unknown.nu/temp/kernel.config, if you'd like to try to build a kernel from it. Also, I've put the output from "make" at http://www.unknown.nu/temp/make.output .
Comment 1 jedgar 2000-07-10 23:38:30 UTC
Try including: device sbmidi0  at isa? port 0x330

or use the pcm drivers (remove controller snd0 and device sb*) and add:

device pcm0 at isa? port ? tty irq 5 drq 1 flags 0x15

-----
Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org
--------------------------------------------------------
FreeBSD: The Power To Serve   -   http://www.FreeBSD.org
Comment 2 Chris D.Faulhaber freebsd_committer freebsd_triage 2000-07-31 22:38:46 UTC
State Changed
From-To: open->closed

Submitter reports compile works when adding sbmidi0 device.