Date: Sat, 14 Feb 1998 04:32:53 -0500 From: asunnymoo@juno.com To: freebsd-multimedia@FreeBSD.ORG Subject: what's the proper way to configure 2.2.5-stable kernel for sound support??? Message-ID: <19980214.043253.12390.0.asunnymoo@juno.com>
next in thread | raw e-mail | index | archive | help
-problem:
-I haven't been able to configure my kernel properly to support sound
Hardware:
Processor: 200MHz Pentium Pro 256K cache
Memory: 128MB EDO
Motherboard: Intel Venus VS440FX
Sound(on board): Crystal CS4232/Yamaha OPL3 FM
Video: Diamond Stealth 3D 3000/Monster 3D
Monitor: NEC M500
SCSI card: Adaptec 2940UW
CD-ROM: Panasonic LK-MC608S 8X SCSI(external)
Removable media: Iomega ZIP SCSI(external)
Hard disk: Western Digital AC35100
Modem: USR Sportster 56K Voice Faxmodem(jumpered com3/irq4)
Mouse: Logitech Marble(PS2 connection)
FreeBSD version: 2.2.5-stable
-procedure:
1. made kernel successfully with this configuration:
machine "i386"
cpu "I686_CPU"
ident MYKERNEL
maxusers 10
options INET #InterNETworking
options FFS #Berkeley Fast
Filesystem
options MSDOSFS #MSDOS Filesystem
options "CD9660" #ISO 9660 Filesystem
options PROCFS #Process filesystem
options "COMPAT_43" #Compatible with BSD
4.3 [KEEP THIS!]
options SCSI_DELAY=5 #Be pessimistic about
Joe SCSI device
options BOUNCE_BUFFERS #include support for
DMA bounce buffers
options UCONSOLE #Allow users to grab the
console
options FAILSAFE #Be conservative
options USERCONFIG #boot -c editor
options VISUAL_USERCONFIG #visual boot -c editor
config kernel root on wd0
controller isa0
controller eisa0
controller pci0
controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2
vector fdintr
disk fd0 at fdc0 drive 0
options "CMD640" # work around CMD640 chip
deficiency
controller wdc0 at isa? port "IO_WD1" bio irq 14 vector
wdintr
disk wd0 at wdc0 drive 0
disk wd1 at wdc0 drive 1
controller wdc1 at isa? port "IO_WD2" bio irq 15 vector
wdintr
disk wd2 at wdc1 drive 0
disk wd3 at wdc1 drive 1
controller ahc0
controller scbus0
device sd0
device cd0 #Only need one of these, the code
dynamically grows
device sc0 at isa? port "IO_KBD" tty irq 1 vector
scintr
device npx0 at isa? port "IO_NPX" flags 0x1 irq 13
vector npxintr
device sio1 at isa? port "IO_COM2" tty irq 3 vector
siointr
device sio2 at isa? port "IO_COM3" tty irq 4 vector
siointr
device lpt0 at isa? port? tty irq 7 vector lptintr
device psm0 at isa? disable port "IO_KBD" conflicts
tty irq 12 vector psmintr
pseudo-device loop
pseudo-device log
pseudo-device vn 1
pseudo-device tun 1
pseudo-device pty 16
pseudo-device gzip # Exec gzipped a.out's
options KTRACE #kernel tracing
options SYSVSHM
controller snd0
device sb0 at isa? port 0x220 irq 5 drq 1 vector sbintr
device sbxvi0 at isa? drq5
device sbmidi0 at isa? port 0x300
device opl0 at isa? port 0x388
2. made devices:
#cd /dev
#sh MAKEDEV snd0
-NOTE:I made a temporary directory to see what devices it made:
audio
audio0
dsp
dsp0
dspW
dspW0
midi0
mixer
mixer0
music
music0
pss
pss0
sequencer
sequencer0
sndstat
-should the script have made sb0, sbxvi0, sbmidi0???????
-they weren't detected during reboot(see below)
3. rebooted with the following dmesg output(verbose)
(scsi cables connected/cd-rom and zip powered on with media inserted)
(zip media formatted for Win95/DOS)
(audio cd in cd-rom)
avail memory = 127655936 (124664K bytes)
pcibus_setup(1): mode 1 addr port (0x0cf8) is 0x80000058
pcibus_setup(1a): mode1res=0x80000000 (0x80000000)
pcibus_check: device 0 is there (id=12378086)
Probing for devices on PCI bus 0:
configuration mode 1 allows 32 devices.
chip0 <Intel 82440FX (Natoma) PCI and memory controller> rev 2 on pci0:0
chip1 <Intel 82371SB PCI-ISA bridge> rev 1 on pci0:7:0
I/O Recovery Timing: 8-bit 1 clocks, 16-bit 1 clocks
Extended BIOS: enabled
Lower BIOS: enabled
Coprocessor IRQ13: enabled
Mouse IRQ12: disabled
Interrupt Routing: A: IRQ11, B: disabled, C: IRQ10, D: disabled
MB0: IRQ15, MB1:
chip2 <Intel 82371SB IDE interface> rev 0 on pci0:7:1
mapreg[20] type=1 addr=0000ffa0 size=0010.
Primary IDE: enabled
Secondary IDE: enabled
vga0 <VGA-compatible display device> rev 2 int a irq 11 on pci0:11
mapreg[10] type=0 addr=f8000000 size=4000000.
pci0:15: vendor=0x121a, device=0x0001, class=multimedia (video) [no
driver assigned]
map(10): mem32(fe000008)
ahc0 <Adaptec 2940 Ultra SCSI host adapter> rev 1 int a irq 10 on pci0:17
mapreg[10] type=1 addr=0000fc00 size=0100.
mapreg[14] type=0 addr=ffbef000 size=1000.
reg16: ioaddr=0xfc00 size=0x100
ahc0: Reading SEEPROM...done.
internal50 cable not present
internal68 cable not present
brdctl == 0xec
external cable is present
eprom is present
brdctl == 0xac
low byte termination enabled, high byte termination enabled
ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs
ahc0: Resetting Channel A
ahc0: Downloading Sequencer Program...ahc0: 373 instructions downloaded
Done
ahc0: Probing channel A
ahc0 waiting for scsi devices to settle
ahc0:A:5: refuses WIDE negotiation. Using 8bit transfers
ahc0:A:5: refuses synchronous negotiation. Using asynchronous transfers
(ahc0:5:0): "IOMEGA ZIP 100 N.38" type 0 removable SCSI 2
sd0(ahc0:5:0): Direct-Access
sd0(ahc0:5:0): ILLEGAL REQUEST asc:24,0 Invalid field in CDB
sd0 could not mode sense (4). Using ficticious geometry
96MB (196608 512 byte sectors)
sd0(ahc0:5:0): with 96 cyls, 64 heads, and an average 32 sectors/track
ahc0:A:6: refuses WIDE negotiation. Using 8bit transfers
ahc0: target 6 synchronous at 5.0MHz, offset = 0xf
(ahc0:6:0): "MATSHITA CD-ROM CR-506 8S04" type 5 removable SCSI 2
cd0(ahc0:6:0): CD-ROM cd present [230572 x 2048 byte records]
pci0: uses 67112960 bytes of memory from f8000000 upto ffbeffff.
pci0: uses 272 bytes of I/O space from fc00 upto ffaf.
Probing for devices on the ISA bus:
sc0: the current keyboard controller command byte 0045
kbdio: DIAGNOSE status:0055
kbdio: TEST_KBD_PORT status:0000
kbdio: RESET_KBD return code:00fa
kbdio: RESET_KBD status:00aa
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: BIOS video mode:3
sc0: VGA registers upon power-up
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0d 0e 00 00 07 80 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
sc0: video mode:24
sc0: VGA registers 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
sc0: VGA registers to be used 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
sc0: rows_offset:1
sc0: VGA color <16 virtual consoles, flags=0x0>
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
sio2 at 0x3e8-0x3ef irq 4 on isa
sio2: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
psm0: current command byte:0045
kbdio: TEST_AUX_PORT status:0000
kbdio: RESET_AUX return code:00fa
kbdio: RESET_AUX status:00aa
kbdio: RESET_AUX ID:0000
psm: status 00 02 64
psm: status 09 03 c8
psm: status 09 03 c8
psm: status 09 03 c8
psm: status 10 00 64
psm: data 08 00 00
psm: data 08 00 00
psm: status 00 02 64
psm0 at 0x60-0x64 irq 12 on motherboard
psm0: model Generic PS/2 mouse, device ID 0, 3 buttons
psm0: config:00000000, flags:00000000, packet size:3
psm0: syncmask:c0, syncbits:00
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <WDC AC35100L>
wd0: 4924MB (10085040 sectors), 10672 cyls, 15 heads, 63 S/T, 512 B/S
wdc1 not found at 0x170
npx0 flags 0x1 on motherboard
npx0: INT 16 interface
sb0 not found at 0x220
sbxvi0 not found
sbmidi0 not found at 0x300
opl0 not found at 0x388
imasks: bio c0004440, tty c003109a, net c0020000
BIOS Geometries:
0:0271fe3f 0..625=626 cylinders, 0..254=255 heads, 1..63=63 sectors
0 accounted for
Device configuration finished.
Considering FFS root f/s.
configure() finished.
wd0s1: type 0x6, start 63, end = 4192964, size 4192902 : OK
wd0s2: type 0xa5, start 4192965, end = 8273474, size 4080510 : OK
wd0s3: type 0xf, start 8273475, end = 10072754, size 1799280 : OK
4. made sure:
audio outputs of external cd-rom player went to line-in on
motherboard
audio out on motherboard plugged into audio-in of monitor
monitor was not muted(set volume to highest setting)
5. logged in as root and ran cdcontrol
#cdcontrol
cdcontrol> volume stereo
cdcontrol> volume 255 255
cdcontrol> play
-couldn't hear a thing:-(
_____________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980214.043253.12390.0.asunnymoo>
