Hlubsi porozumeni - kldunload

Zbynek Houska zbynh at seznam.cz
Tue Apr 27 21:05:41 CEST 2004


Dobry den,

potykam se s timto problemem:

zvukova karta na mem pocitaci se zacala divne chovat. Misto zvuku se z
reproduktoru line jen praskani.
pciconf -vl rika tohle:

pcm0 at pci0:18:0: class=0x040100 card=0x017c1014 chip=0x1988125d rev=0x10
hdr=0x00
    vendor   = 'ESS Technology'
    device   = 'ES1988/9 Allegro-1 Audiodrive'
    class    = multimedia
    subclass = audio

Takze natahuju potrebne moduly pri startu:
skippy# less /boot/loader.conf
module_path="/boot/kernel;/boot/modules"        # Set the module search
path
snd_maestro3_load="YES"         # Maestro3
nvidia_load="YES"

snd_pcm se natahne jako zavislost, alespon doufam...

/var/log/dmesg.today rika:
pcm0: <ESS Technology Allegro-1> port 0x7800-0x78ff irq 5 at device 18.0
on pci0
pcm0: failed to enable memory mapping!
pcm0: <ESS Technology ES1988 AC97 Codec>
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port
0x3f7,0x3f0-0
x3f5 irq 6 drq 2 on acpi00


skippy# kldstat
Id Refs Address    Size     Name
 1   12 0xc0400000 4b1d94   kernel
 2    1 0xc08b2000 93c8     snd_maestro3.ko
 3    1 0xc08bc000 20aac    snd_pcm.ko
 4    1 0xc08dd000 1ae8a4   nvidia.ko
 5    2 0xc0a8c000 1e3f8    linux.ko
 6    1 0xc0aab000 54a28    acpi.ko
 7    1 0xc27fc000 4000     logo_saver.ko

Z toho bych usuzoval, ze by vse melo fungovat jak ma. Jenze napr. po
prikazu umix dostanu tuhle hlasku:

skippy# umix^M
umix: ioctl request 1079790949 failed: Device not configured
umix: ioctl request 1079790949 failed: Device not configured
umix: ioctl request 1079790949 failed: Device not configured
umix: ioctl request 1079790949 failed: Device not configured
umix: ioctl request 1079790949 failed: Device not configured
umix: ioctl request 1079790949 failed: Device not configured
umix: ioctl request 1079790949 failed: Device not configured
umix: ioctl request 1079790949 failed: Device not configured

skippy# kldunload snd_maestro3.ko
kldunload: can't unload file: Device busy

Muze mi nekdo objasnit jak tenhle problemek vyresit? Pouzivam
5.2.1-RELEASE-p4

Zbynek
-- 
If you cannot work with love but only with distaste it is better that you
should leave your work.
                                                     Kahlil Gibran




More information about the Users-l mailing list