Отправляет email-рассылки с помощью сервиса Sendsay

Проблема со звуковой картой

Здравствуйте.

Федора 4. Перешел с 2.6.13 на 2.6.14 и возникли проблемы со звуком. Звуковая
карта упорно отказывается подключаться. Модуль не загружается: говорит, что девайс
отсутствует. А в 2.6.13 все чудесно работает. Подскажите где собака порылась.

$dmesg

Linux version 2.6.14-1.1656_FC4 (bhcompi***@h*****.com) (gcc
version 4.0.2 20051125 (Red Hat 4.0.2-8)) #1 Thu Jan 5 22:14:13 EST 2006
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
BIOS-e820: 000000000fff0000 - 000000000fff3000 (ACPI NVS)
BIOS-e820: 000000000fff3000 - 0000000010000000 (ACPI data)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
255MB LOWMEM available.
Using x86 segment limits to approximate NX protection
On node 0 totalpages: 65520
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 61424 pages, LIFO batch:31
HighMem zone: 0 pages, LIFO batch:1
DMI not present.
ACPI: RSDP (v000 AWARD ) @ 0x000f64f0
ACPI: RSDT (v001 AWARD AWRDACPI 0x30302e31 AWRD 0x00000000) @ 0x0fff3000
ACPI: FADT (v001 AWARD AWRDACPI 0x30302e31 AWRD 0x00000000) @ 0x0fff3040
ACPI: DSDT (v001 AWARD AWRDACPI 0x00001000 MSFT 0x0100000a) @ 0x00000000
ACPI: PM-Timer IO Port: 0x5008
Allocating PCI resources starting at 20000000 (gap: 10000000:efff0000)
Built 1 zonelists
Kernel command line: ro root=LABEL=/ rhgb quiet
Initializing CPU#0
CPU 0 irqstacks, hard=c0403000 soft=c0402000
PID hash table entries: 1024 (order: 10, 16384 bytes)
Detected 374.935 MHz processor.
Using pmtmr for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 254476k/262080k available (2157k kernel code, 6960k reserved, 720k data,
176k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 750.82 BogoMIPS (lpj=1501658)
Security Framework v1.0.0 initialized
SELinux: Initializing.
SELinux: Starting in permissive mode
selinux_register_security: Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 008021bf 808029bf 00000000 00000000 00000000
00000000 00000000
CPU: After vendor identify, caps: 008021bf 808029bf 00000000 00000000 00000000
00000000 00000000
CPU: L1 I Cache: 32K (32 bytes/line), D cache 32K (32 bytes/line)
CPU: After all inits, caps: 008021bf 808029bf 00000000 00000002 00000000 00000000
00000000
mtrr: v2.0 (20020519)
CPU: AMD-K6(tm) 3D processor stepping 0c
Checking 'hlt' instruction... OK.
ACPI: setting ELCR to 0080 (from 0480)
checking if image is initramfs... it is
Freeing initrd memory: 1075k freed
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfb2b0, last bus=1
PCI: Using configuration type 1
ACPI: Subsystem revision 20050916
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
PCI quirk: region 5000-50ff claimed by vt82c586 ACPI
Boot video device is 0000:01:00.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 10 11 12 14 15) *0, disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 11 devices
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
PCI: Bridge: 0000:00:01.0
IO window: d000-dfff
MEM window: f0000000-f1ffffff
PREFETCH window: e0000000-efffffff
PCI: Setting latency timer of device 0000:00:01.0 to 64
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
apm: overridden by ACPI.
audit: initializing netlink socket (disabled)
audit(1137256840.364:1): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
SELinux: Registering netfilter hooks
Initializing Cryptographic API
ksign: Installing public key data
Loading keyring
- Added public key 14FA5E07228E4026
- User ID: Red Hat, Inc. (Kernel Module GPG key)
Limiting direct PCI/PCI transfers.
Activating ISA DMA hang workarounds.
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
ACPI: CPU0 (power states: C1[C1] C2[C2])
ACPI: Processor [CPU0] (supports 2 throttling states)
isapnp: Scanning for PnP cards...
isapnp: Card 'OPL3-SAX Sound Board'
isapnp: 1 Plug & Play card detected total
Real Time Clock Driver v1.12
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected VIA Apollo VP3 chipset
agpgart: AGP aperture is 32M @ 0xf2000000
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 32 ports, IRQ sharing enabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:07.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c586b (rev 41) IDE UDMA33 controller on pci0000:00:07.1
ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
hda: FUJITSU MPD3064AT, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdd: BCD 24XM CD-ROM, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
pnp: Device 01:01.03 activated.
ide2: generic PnP IDE interface
Probing IDE interface ide2...
hda: max request size: 128KiB
hda: 12672450 sectors (6488 MB) w/512KiB Cache, CHS=13410/15/63, UDMA(33)
hda: cache flushes not supported
hda: hda1 hda2 hda3 hda4
hdd: ATAPI 24X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
ide-floppy driver 0.99.newide
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
mice: PS/2 mouse device common for all mice
md: md driver 0.90.2 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 3.39
NET: Registered protocol family 2
input: AT Translated Set 2 keyboard on isa0060/serio0
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 6, 262144 bytes)
TCP bind hash table entries: 16384 (order: 6, 327680 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
TCP bic registered
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI Shortcut mode
ACPI wakeup devices:

ACPI: (supports S0 S1 S4 S5)
Freeing unused kernel memory: 176k freed
Write protecting the kernel read-only data: 322k
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
SELinux: Disabled at runtime.
SELinux: Unregistering netfilter hooks
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
pnp: Device 01:01.00 activated.
pnp: Device 01:01.00 disabled.
opl3sa2-pnpbios: probe of 01:01.00 failed with error -2
Yamaha OPL3-SA soundcard not found or device busy
pnp: Device 01:01.00 activated.
pnp: Device 01:01.00 disabled.
opl3sa2-pnpbios: probe of 01:01.00 failed with error -2
Yamaha OPL3-SA soundcard not found or device busy
pnp: Device 01:01.00 activated.
pnp: Device 01:01.00 disabled.
opl3sa2-pnpbios: probe of 01:01.00 failed with error -2
Yamaha OPL3-SA soundcard not found or device busy
pnp: Device 01:01.01 activated.
gameport: NS558 PnP Gameport is pnp01:01.01/gameport0, io 0x201, speed 817kHz
shpchp: acpi_shpchprm:\_SB_.PCI0 evaluate _BBN fail=0x5
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x5
ACPI: Power Button (FF) [PWRF]
ACPI: Power Button (CM) [PWRB]
ibm_acpi: ec object not found
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-dev***@r*****.com
EXT3 FS on hda1, internal journal
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda3, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will
be case sensitive!
Adding 128512k swap on /dev/hda4. Priority:-1 extents:1 across:128512k
ip_tables: (C) 2000-2002 Netfilter core team
Netfilter messages via NETLINK v0.30.
ip_conntrack version 2.3 (2047 buckets, 16376 max) - 236 bytes per conntrack
NET: Registered protocol family 10
Disabled Privacy Extensions on device c038f3e0(lo)
IPv6 over IPv4 tunneling driver

Заранее благодарен.

-*Название листа "Linux: разрешение вопросов, перспективы и общение";
Написать в лист: mailto:comp.soft.linux.discuss-list@subscribe.ru
Адрес правил листа http://subscribe.ru/catalog/comp.soft.linux.discuss/rules
Номер письма: 25210; Возраст листа: 954; Участников: 1467
Адрес сайта рассылки: http://www.linuxrsp.ru
Адрес этого письма в архиве: http://subscribe.ru/archive/comp.soft.linux.discuss/msg/523462

Ответы:

On Sun, 5 Mar 2006 17:26:27 +0200
viktor_zaychen***@m*****.ru wrote:

девайс

Полезного ничего не скажу, но или я дурак или что-то сломали в новых ядрах: на
данный момент ядра 2.6.14, 2.6.15 и 2.6.15.4 при загрузке модуля звуковухи
(Creative Audigy2 value) наглым образом виснут. Сейчас на 2.6.13.4.

Ответить   Matvey (#523478)

 

On Sun, 5 Mar 2006 17:26:27 +0200
<viktor_zaychen***@m*****.ru> wrote:

И вам

system-config-soundcard

Если не поможет:

lsmod

?

cat /proc/dma

?

cat /proc/interrupts

?

cat /proc/ioports

?

cat /etc/modprobe.conf

?

On Sun, 5 Mar 2006 22:12:03 +0500
"Dmitry V. Balabanov" <dm_***@b*****.ru> wrote:

автоматическое определение звуковой карты недоступно

Module Size Used by
ipv6 255393 10
autofs4 19781 2
ipt_REJECT 5825 1
ipt_state 2113 1
ip_conntrack 53613 1 ipt_state
nfnetlink 6617 1 ip_conntrack
iptable_filter 3137 1
ip_tables 20545 3 ipt_REJECT,ipt_state,iptable_filter
nls_utf8 2241 1
nls_cp866 5313 1
vfat 12993 1
fat 51549 1 vfat
dm_mod 58585 0
video 16197 0
button 6737 0
battery 9541 0
ac 4933 0
i2c_via 4677 0
i2c_algo_bit 9289 1 i2c_via
i2c_core 21825 1 i2c_algo_bit
ns558 5573 0
gameport 15945 2 ns558
snd_opl3_lib 10817 0
snd_hwdep 9313 1 snd_opl3_lib
snd_cs4231_lib 26693 0
snd_mpu401_uart 8001 0
snd_rawmidi 25313 1 snd_mpu401_uart
snd_seq_dummy 3909 0
snd_seq_oss 31809 0
snd_seq_midi_event 7361 1 snd_seq_oss
snd_seq 50641 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 9037 5 snd_opl3_lib,snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 51953 0
snd_mixer_oss 17857 1 snd_pcm_oss
snd_pcm 87237 2 snd_cs4231_lib,snd_pcm_oss
snd_timer 25413 4 snd_opl3_lib,snd_cs4231_lib,snd_seq,snd_pcm
snd 55205 12 snd_opl3_lib, snd_hwdep, snd_cs4231_lib,
snd_mpu401_uart, snd_rawmidi, snd_seq_oss, snd_seq, snd_seq_device, snd_pcm_oss,
snd_mixer_oss, snd_pcm, snd_timer
soundcore 9761 1 snd
snd_page_alloc 10825 2 snd_cs4231_lib,snd_pcm
floppy 61957 0
ext3 130633 2
jbd 57301 1 ext3

4: cascade

CPU0
0: 314218 XT-PIC timer
1: 925 XT-PIC i8042
2: 0 XT-PIC cascade
7: 1 XT-PIC acpi
8: 1 XT-PIC rtc
12: 56346 XT-PIC i8042
14: 6511 XT-PIC ide0
15: 2575 XT-PIC ide1
NMI: 0
LOC: 0
ERR: 0
MIS: 0

0000-001f : dma1
0020-0021 : pic1
0040-0043 : timer0
0050-0053 : timer1
0060-006f : keyboard
0070-0077 : rtc
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0201-0201 : ns558-pnp
0213-0213 : ISAPnP
02f8-02ff : serial
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial
0a79-0a79 : isapnp write
0cf8-0cff : PCI conf1
5000-50ff : 0000:00:07.3
5000-5003 : PM1a_EVT_BLK
5004-5005 : PM1a_CNT_BLK
5008-500b : PM_TMR
5010-5015 : ACPI CPU throttle
5020-5023 : GPE0_BLK
5040-5045 : vt586b_smbus
d000-dfff : PCI Bus #01
e000-e00f : 0000:00:07.1
e000-e007 : ide0
e008-e00f : ide1

alias snd-card-0 snd-opl3sa2

bash-3.00$ dmesg
............
Linux Plug and Play Support v0.97 (c) Adam Belay
............
Activating ISA DMA hang workarounds.
............
isapnp: Scanning for PnP cards...
isapnp: Card 'OPL3-SAX Sound Board'
isapnp: 1 Plug & Play card detected total
............
pnp: Device 01:01.00 activated.
pnp: Device 01:01.00 disabled.
opl3sa2-pnpbios: probe of 01:01.00 failed with error -2
Yamaha OPL3-SA soundcard not found or device busy
pnp: Device 01:01.00 activated.
pnp: Device 01:01.00 disabled.
opl3sa2-pnpbios: probe of 01:01.00 failed with error -2
Yamaha OPL3-SA soundcard not found or device busy
pnp: Device 01:01.00 activated.
pnp: Device 01:01.00 disabled.
opl3sa2-pnpbios: probe of 01:01.00 failed with error -2
Yamaha OPL3-SA soundcard not found or device busy
pnp: Device 01:01.01 activated.
gameport: NS558 PnP Gameport is pnp01:01.01/gameport0, io 0x201, speed 817kHz

все указывает на проблему в ядре.
вопрос в том как это исправить?!?

самое интересное то что это не на всех девайсах: со встроенной звуковухой на
Intel i815 проблем не возникло.

-*Название листа "Linux: разрешение вопросов, перспективы и общение";
Написать в лист: mailto:comp.soft.linux.discuss-list@subscribe.ru
Адрес правил листа http://subscribe.ru/catalog/comp.soft.linux.discuss/rules
Номер письма: 25252; Возраст листа: 955; Участников: 1468
Адрес сайта рассылки: http://www.linuxrsp.ru
Адрес этого письма в архиве: http://subscribe.ru/archive/comp.soft.linux.discuss/msg/523853

On Mon, 6 Mar 2006 18:07:04 +0200
<viktor_zaychen***@m*****.ru> wrote:

Скорее acpi свой вонючий характер показывает.:)

Пробуйте повесить ямаху на другое прерывание:

modprobe snd-opl3sa2 port=0x370 sb_port=0x220 wss_port=0x530 \
midi_port=0x330 fm_port=0x388 irq=5 dma=1 dma2=-1 isapnp=0

Пробуйте поиграть с другими параметрами:

Module for Yamaha OPL3-SA2/SA3 sound cards.

port - control port # for OPL3-SA chip (0x370)
sb_port - SB port # for OPL3-SA chip (0x220,0x240)
wss_port - WSS port # for OPL3-SA chip (0x530,0xe80,0xf40,0x604)
midi_port - port # for MPU-401 UART (0x300,0x330), -1 = disable
fm_port - FM port # for OPL3-SA chip (0x388), -1 = disable
irq - IRQ # for OPL3-SA chip (5,7,9,10)
dma1 - first DMA # for Yamaha OPL3-SA chip (0,1,3)
dma2 - second DMA # for Yamaha OPL3-SA chip (0,1,3), -1 = disable
isapnp - ISA PnP detection - 0 = disable, 1 = enable (default)

Module supports up to 8 cards and ISA PnP. This module does not support
autoprobe (if ISA PnP is not used) thus all ports must be specified!!!

Незабывайте делать modprobe -r snd_opl3sa2 между попытками.
Можно пробовать отключить acpi совсем. acpi=off в параметры загрузки ядра.
Рабочую строку добавьте в /etc/modprobe.conf:

alias snd-card-0 snd-opl3sa2
options snd-card-0 port=0x370 sb_port=0x220 wss_port=0x530
midi_port=0x330 fm_port=0x388 irq=5 dma=1 dma2=-1 isapnp=0

Внимание! Строка options и midi_port пишется в одну строку.:)

On Tue, 7 Mar 2006 01:16:07 +0500
"Dmitry V. Balabanov" <dm_***@b*****.ru> wrote:

В догонку.

^^^^^
dma1=1

Осторожней с портами ввода/вывода. Тут лучше не баловаться.

On Tue, 7 Mar 2006 01:16:07 +0500
"Dmitry V. Balabanov" <dm_***@b*****.ru> wrote:

Спасибо за подсказку. Конкретизация параметров в /etc/modprobe.conf решила проблему.

-*Название листа "Linux: разрешение вопросов, перспективы и общение";
Написать в лист: mailto:comp.soft.linux.discuss-list@subscribe.ru
Адрес правил листа http://subscribe.ru/catalog/comp.soft.linux.discuss/rules
Номер письма: 25356; Возраст листа: 959; Участников: 1471
Адрес сайта рассылки: http://www.linuxrsp.ru
Адрес этого письма в архиве: http://subscribe.ru/archive/comp.soft.linux.discuss/msg/525431