Review your favorite Linux distribution.
Go Back > Forums > Other *NIX Forums > *BSD
User Name
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.


  Search this Thread
Old 07-20-2003, 10:58 PM   #1
Registered: Jul 2003
Distribution: FreeBSD 5.1, Debian 3.0, Damn Small 0.4.2
Posts: 46

Rep: Reputation: 15
kldload keeps giving "Exec format error"

I'm trying to configure my soundcard on my freebsd box here(crystal chipset, on-board). I create a new file /boot/kernel/sound.ko with the lines:

device pcm
device csa
options PNPBIOS

Every time I try to load it into the kernel with kldload I get that error. Any ideas here?
Old 07-20-2003, 11:44 PM   #2
Registered: Jul 2003
Distribution: FreeBSD 5.1, Debian 3.0, Damn Small 0.4.2
Posts: 46

Original Poster
Rep: Reputation: 15
Well, I ended up skipping that and trying one of the included soundcard modules. After loading it with kldload, it gives me the output: Pcm0: <cs423x-pci> blah blah bah.......So I guess this one will do.

But after a reboot, I do a grep pcm /var/run/dmesg.boot and no pcm device is listed? Is there something I can do to have this module loaded automatically at boot time? I'd rather not go through the hassle of recompiling the kernel.

Before rebooting though, I start up kde and try to test the sound. I get nothing I have the latest version of aRTs installed. I'm wondering if there is any special configuration I need to do in order to get sound playback through this device.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
No UTMPX entry, You must EXEC "login" for the lowest "shell" ooihc Solaris / OpenSolaris 7 03-12-2007 02:09 PM
"mythtv-setup" giving "Session management error: Authentication Rejected" Mitchua Ubuntu 0 10-09-2005 04:32 PM
Error: "cannot exec" apps felixc Linux - Newbie 1 10-02-2005 07:22 PM
"cannot exec `as': ..." AND "C compiler cannot create ..." pr3st0 Linux - Software 0 10-15-2004 12:42 PM
Small linux giving "Warning: dev (4:01)...." error during bootup. WJWhite Linux - Newbie 1 01-23-2004 11:03 PM > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 02:31 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration