Install walkthrough

OSS specific BSD discussion (FreeBSD/NetBSD/OpenBSD)

Moderators: cesium, dev, kodachi, hannu

Install walkthrough

Postby raistphrk » Sat May 29, 2004 6:12 pm

When I tried to run the installation on my 4.09-STABLE machine, the module wouldn't load up. I have pcm compiled into my kernel; do I need to remove pcm from the kernel to get oss to install? If anybody has a good detailed walkthrough for installing oss on FreeBSD, that would be awesome.

Thanks
raistphrk
Member
 
Posts: 14
Joined: Sat May 29, 2004 6:09 pm

Re: Install walkthrough

Postby dev » Sat May 29, 2004 6:39 pm

raistphrk wrote:When I tried to run the installation on my 4.09-STABLE machine, the module wouldn't load up. I have pcm compiled into my kernel; do I need to remove pcm from the kernel to get oss to install? If anybody has a good detailed walkthrough for installing oss on FreeBSD, that would be awesome.

Thanks


What exactly is the error?. Did you download the right version of OSS
for FreeBSD 4.9?


best regards
Dev Mazumdar
dev
Developer
 
Posts: 577
Joined: Fri Sep 12, 2003 6:08 am
Location: Culver City, CA

Postby raistphrk » Wed Jun 02, 2004 11:47 pm

I keep getting the error message:

Checking for any previously installed sound drivers...
There is another sound driver loaded. Unload it and try again.

Thanks,
Bill
raistphrk
Member
 
Posts: 14
Joined: Sat May 29, 2004 6:09 pm

Postby dev » Thu Jun 03, 2004 12:48 am

raistphrk wrote:I keep getting the error message:

Checking for any previously installed sound drivers...
There is another sound driver loaded. Unload it and try again.

Thanks,
Bill


Recompile your kernel without sound or ensure that none of the
pcm and snd modules are loaded. (kldstat should should you the modules
loaded).

Best regards
dev mazumdar
dev
Developer
 
Posts: 577
Joined: Fri Sep 12, 2003 6:08 am
Location: Culver City, CA

Postby Guest » Thu Jun 03, 2004 2:05 am

dev wrote:Recompile your kernel without sound or ensure that none of the pcm and snd modules are loaded. (kldstat should should you the modules loaded).

Best regards
dev mazumdar


You were right on about the pcm module. I removed pcm from my kernel conf and oss installed.

However, I cannot get spdif to work properly with my sblive. Is there some type of conf file black magic I need for this? I'm using the default options right now. I have an SB Live 5.1 going over SPDIF into a Cambridge Soundworks DT2500 on FreeBSD-STABLE.

Any ideas?
Guest
 

Postby raistphrk » Thu Jun 03, 2004 2:15 am

That last one was me. Surry.

Sidenote: This is my soundon.log:

Starting OSS/FreeBSD Wed Jun 2 21:19:06 CDT 2004
9:19PM up 7 secs, 0 users, load averages: 0.44, 0.10, 0.03
======= config =====
# Use soundconf to edit this file.
/SECUREAUDIO OFF
/PCIIRQ 11
/IRQEXCLUDE 3 4
/DMAEXCLUDE 2
-PCI00021102 #Sound Blaster Live family *See README.SBLive*
/CONTROL run ~/ld10k ~/emu10k.bin1 -a
SBLIVE ON
====== pnpres.dat ========
====================
This copy of OSS is licensed to Bill

Open Sound System started OK.
OSS/FreeBSD 3.9.8e (C) 4Front Technologies 1996-2003

License serial number: xxxxxxxxxx
Drivers: SBLIVE
This copy of OSS is licensed to Bill

Kernel: FreeBSD 4.10-STABLE #0: Wed Jun 2 20:16:35 CDT 2004
bsawyer@raistphrk.Belkin:/usr/src/sys/compile/RAISTPHRK


Card config:
Sound Blaster Live at 0xd400 irq 11

Audio devices:
0: SB Live (DUPLEX)
1: SB Live playback 1 (front)
2: SB Live playback 2 (surround)
3: SB Live playback 3 (center/lfe)
4: SB Live playback 4
5: SB Live playback 5
6: SB Live playback 6
7: SB Live playback 7

Synth devices:

Midi devices:
0: SB Live external MIDI

Timers:
0: System clock

Mixers:
0: SB Live (EM28028)
========== dmesg printout follows ========
Copyright (c) 1992-2004 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 4.10-STABLE #0: Wed Jun 2 20:16:35 CDT 2004
bsawyer@raistphrk.Belkin:/usr/src/sys/compile/RAISTPHRK
Timecounter "i8254" frequency 1193182 Hz
CPU: AMD Athlon(tm) XP 2400+ (1994.33-MHz 686-class CPU)
Origin = "AuthenticAMD" Id = 0x681 Stepping = 1
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory = 1073676288 (1048512K bytes)
avail memory = 1039650816 (1015284K bytes)
Preloaded elf kernel "kernel" at 0xc0549000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 6 entries at 0xc00fdf10
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
agp0: <VIA Generic host to PCI bridge> mem 0xe0000000-0xe3ffffff at device 0.0 on pci0
pcib1: <PCI to PCI bridge (vendor=1106 device=b099)> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <NVidia model 0172 graphics accelerator> at 0.0 irq 11
dc0: <ADMtek AN985 10/100BaseTX> port 0xd000-0xd0ff mem 0xe7000000-0xe70003ff irq 10 at device 10.0 on pci0
dc0: Ethernet address: 00:04:5a:46:66:50
miibus0: <MII bus> on dc0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: <unknown card> (vendor=0x1102, dev=0x0002) at 13.0 irq 11
pci0: <unknown card> (vendor=0x1102, dev=0x7002) at 13.1
isab0: <PCI to ISA bridge (vendor=1106 device=3147)> at device 17.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 8233 ATA133 controller> port 0xdc00-0xdc0f at device 17.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <VIA 83C572 USB controller> port 0xe000-0xe01f irq 12 at device 17.2 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ums0: Logitech USB Optical Mouse, rev 1.10/21.00, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
uhci1: <VIA 83C572 USB controller> port 0xe400-0xe41f irq 12 at device 17.3 on pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pmtimer0 on isa0
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> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ad0: 57259MB <QUANTUM FIREBALLP AS60.0> [116336/16/63] at ata0-master UDMA100
ad1: 57220MB <Maxtor 5T060H6> [116257/16/63] at ata0-slave UDMA100
acd0: DVD-R <LITE-ON DVDRW LDW-851S> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s2a
raistphrk
Member
 
Posts: 14
Joined: Sat May 29, 2004 6:09 pm

Postby dev » Thu Jun 03, 2004 5:17 am

Anonymous wrote:
dev wrote:Recompile your kernel without sound or ensure that none of the pcm and snd modules are loaded. (kldstat should should you the modules loaded).

Best regards
dev mazumdar


You were right on about the pcm module. I removed pcm from my kernel conf and oss installed.

However, I cannot get spdif to work properly with my sblive. Is there some type of conf file black magic I need for this? I'm using the default options right now. I have an SB Live 5.1 going over SPDIF into a Cambridge Soundworks DT2500 on FreeBSD-STABLE.

Any ideas?


Run soundconf, select Configuration options and look for
SBLIVE_SPDIF and set it to 1.


regards
Dev mazumdar
dev
Developer
 
Posts: 577
Joined: Fri Sep 12, 2003 6:08 am
Location: Culver City, CA

Postby raistphrk » Thu Jun 03, 2004 5:08 pm

dev wrote:Run soundconf, select Configuration options and look for
SBLIVE_SPDIF and set it to 1.


regards
Dev mazumdar


I ran uninstall.sh, and then reinstalled the drivers to /usr/local/lib/oss. Installed my license when soundconf loaded. However, there is no SBLIVE_SPDIF option. There are several SBLIVE and EMU10K options:

emu10k1x_spdif_enable

There's also one for sblive_digital_din. I guess you mean the emu10k spdif enable?
raistphrk
Member
 
Posts: 14
Joined: Sat May 29, 2004 6:09 pm

Postby dev » Thu Jun 03, 2004 6:55 pm

raistphrk wrote:
dev wrote:Run soundconf, select Configuration options and look for
SBLIVE_SPDIF and set it to 1.


regards
Dev mazumdar


I ran uninstall.sh, and then reinstalled the drivers to /usr/local/lib/oss. Installed my license when soundconf loaded. However, there is no SBLIVE_SPDIF option. There are several SBLIVE and EMU10K options:

emu10k1x_spdif_enable

There's also one for sblive_digital_din. I guess you mean the emu10k spdif enable?


Sorry, my mistake, it's the sblive_digital din setting. The orange jack on SBLives has a dual purpose digital out/analog out


best regards
Dev
dev
Developer
 
Posts: 577
Joined: Fri Sep 12, 2003 6:08 am
Location: Culver City, CA

Postby Guest » Thu Jun 03, 2004 8:38 pm

dev wrote:Sorry, my mistake, it's the sblive_digital din setting. The orange jack on SBLives has a dual purpose digital out/analog out


best regards
Dev


I put that line in my options.cfg, and now I've got sound over spdif. The only problem I'm having right now is with artsd. If I disable artsd in KDE, I can use the regular OSS output plugin provided with xmms. However, with artsd enabled, I can't get any output. Should I just leave artsd turned off?

Thanks,
Bill
Guest
 

Postby raistphrk » Thu Jun 03, 2004 8:39 pm

There must be something wrong with the cookies on this board. I keep getting logged out when I post.

Anywho. Forgot to mention one thing. I also can't run the mixer software in x. I keep getting an elf error. Any suggestions?
raistphrk
Member
 
Posts: 14
Joined: Sat May 29, 2004 6:09 pm

Postby dev » Fri Jun 04, 2004 12:12 am

raistphrk wrote:There must be something wrong with the cookies on this board. I keep getting logged out when I post.

Anywho. Forgot to mention one thing. I also can't run the mixer software in x. I keep getting an elf error. Any suggestions?



Which version of FreeBSD are you talking about?


best regards
Dev mazumdar
dev
Developer
 
Posts: 577
Joined: Fri Sep 12, 2003 6:08 am
Location: Culver City, CA

Postby raistphrk » Fri Jun 04, 2004 12:56 am

dev wrote:Which version of FreeBSD are you talking about?


best regards
Dev mazumdar


4.10-STABLE. I made a new world last night.

The specific error I get is:

su-2.05b# ./ossxmix
/usr/libexec/ld-elf.so.1: Shared object "libintl.so.5" not found

Initially I thought it was a problem with Linux emulation, but the program appears to be built for FreeBSD. It's just not finding libintl.so.5 i guess.

Bill
raistphrk
Member
 
Posts: 14
Joined: Sat May 29, 2004 6:09 pm

Postby dev » Fri Jun 04, 2004 4:19 am

raistphrk wrote:
dev wrote:Which version of FreeBSD are you talking about?


best regards
Dev mazumdar


4.10-STABLE. I made a new world last night.

The specific error I get is:

su-2.05b# ./ossxmix
/usr/libexec/ld-elf.so.1: Shared object "libintl.so.5" not found

Initially I thought it was a problem with Linux emulation, but the program appears to be built for FreeBSD. It's just not finding libintl.so.5 i guess.

Bill


libintl is part of the gettext. Best way to get all the related files is to
install XMMS and it will install gtl/glib and other necessary libs.

We'll recompile OSS for FreeBSD 4.10 in morning and release it tomorrow.


best regards
Dev Mazumdar
dev
Developer
 
Posts: 577
Joined: Fri Sep 12, 2003 6:08 am
Location: Culver City, CA

Postby raistphrk » Tue Jun 08, 2004 2:42 am

Hey Dev,

Just following up on this one. Did you guys manage to recompile OSS? Any suggestions with regards to getting my KDE stuff going? And the mixer?

Thanks,
Bill
raistphrk
Member
 
Posts: 14
Joined: Sat May 29, 2004 6:09 pm

Next

Return to BSD

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest