[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-users:34739] Problems with ALSA (Woody/Sound Blaster PCI 128 rev07)
こんにちは。渡辺です。
Woody にて ALSA のインストールに挑戦しております。
Sound card: CreativeLabs, Sound Blaster PCI 128(Rev 07)です。
(武藤さんの『改訂版 Debian GNU/Linux 徹底入門 -Potato 対応-』
の手順に基本的には従いました。)
本の手順にならい、カーネル(linux-2.4.19)を再構築し、その直後
に同ディレクトリで ALSA モジュールをコンパイルし、作成された
alsa-modules-2.4.19_0.9+0beta12+3+p0+local.1.0_i386.deb をイ
ンストールしましたが、何やらうまく行きませんです。
おそらく、初歩的な質問だと思いますが、もしよければアドバイス
をお願いいたします。
============================= 区切り ==============================
$ dpkg -l | grep alsa
ii alsa-base 0.9+0beta12-3 ALSA driver common files
ii alsa-headers 0.9+0beta12-3 ALSA driver header files
ii alsa-modules-2 0.9+0beta12+3+ Advanced Linux Sound Architecture (drivers)
ii alsa-source 0.9+0beta12-3 ALSA driver source
ii alsa-utils 0.9.0beta12-1 Advanced Linux Sound Architecture (utils)
ii alsaconf 0.4.3b-4 ALSA configurator
ii libalsaplayer- 0.99.59-5 PCM player designed for ALSA (interface libr
ii libalsaplayer0 0.99.59-5 PCM player designed for ALSA (interface libr
$ dpkg -l | grep asound
ii libasound1 0.5.10b-1 Advanced Linux Sound Architecture (libraries
ii libasound2 0.9.0beta10a-3 Advanced Linux Sound Architecture (libraries
============================= 区切り ==============================
$ gmix
(ウィンドウが開き)
the window> I was not able to open your audio device.
the window> Please check that you have permission to open /dev/mixer
the window> and make sure you have sound support compiled into your kernel.
============================= 区切り ==============================
$ ls -l /dev/mixer
crw-rw---- 1 root audio 14, 0 7 6 2000 /dev/mixer
$ ls -l /dev/dsp
crw-rw---- 1 root audio 14, 3 7月 6 2000 /dev/dsp
============================= 区切り ==============================
/etc/group ファイルの audio エントリにユーザ名を加えてあります。
============================= 区切り ==============================
$ cat /proc/asound/cards
--- no soundcards ---
(カードが認識されてません)
============================= 区切り ==============================
$ cat /proc/asound/sndstat
Sound Driver:3.8.1a-980706 (ALSA v0.9.0beta12 emulation code)
Kernel: Linux mojo 2.4.19 #1 SMP 2002年 10月 2日 水曜日 02:02:16 JST i686
Config options: 0
Installed drivers:
Type 10: ALSA emulation
Card config:
--- no soundcards ---
Audio devices: NOT ENABLED IN CONFIG
Synth devices: NOT ENABLED IN CONFIG
Midi devices: NOT ENABLED IN CONFIG
Timers: NOT ENABLED IN CONFIG
Mixers: NOT ENABLED IN CONFIG
============================= 区切り ==============================
$ dmesg
Linux version 2.4.19 (root@mojo) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 SMP 2002年 10月 2日 水曜日 02:02:16 JST
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000027fec000 (usable)
BIOS-e820: 0000000027fec000 - 0000000027fef000 (ACPI data)
BIOS-e820: 0000000027fef000 - 0000000027fff000 (reserved)
BIOS-e820: 0000000027fff000 - 0000000028000000 (ACPI NVS)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
639MB LOWMEM available.
Advanced speculative caching feature not present
On node 0 totalpages: 163820
zone(0): 4096 pages.
zone(1): 159724 pages.
zone(2): 0 pages.
Kernel command line: auto BOOT_IMAGE=Linux ro root=305
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
Initializing CPU#0
Detected 664.983 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 1327.10 BogoMIPS
Memory: 645196k/655280k available (1432k kernel code, 9696k reserved, 618k data, 136k init, 0k highmem)
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode cache hash table entries: 65536 (order: 7, 524288 bytes)
Mount-cache hash table entries: 16384 (order: 5, 131072 bytes)
Buffer-cache hash table entries: 65536 (order: 6, 262144 bytes)
Page-cache hash table entries: 262144 (order: 8, 1048576 bytes)
CPU: Before vendor init, caps: 0383fbff 00000000 00000000, vendor = 0
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU: After vendor init, caps: 0383fbff 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: 0383fbff 00000000 00000000 00000000
CPU: Common caps: 0383fbff 00000000 00000000 00000000
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@xxxxxxxxxxxxx)
mtrr: detected mtrr type: Intel
CPU: Before vendor init, caps: 0383fbff 00000000 00000000, vendor = 0
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU: After vendor init, caps: 0383fbff 00000000 00000000 00000000
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: 0383fbff 00000000 00000000 00000000
CPU: Common caps: 0383fbff 00000000 00000000 00000000
CPU0: Intel Pentium III (Coppermine) stepping 01
per-CPU timeslice cutoff: 732.06 usecs.
SMP motherboard not detected.
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 664.9713 MHz.
..... host bus clock speed is 132.9942 MHz.
cpu: 0, clocks: 1329942, slice: 664971
CPU0<T0:1329936,T1:664960,D:5,S:664971,C:1329942>
Waiting on wait_init_idle (map = 0x0)
All processors have done init_idle
PCI: PCI BIOS revision 2.10 entry at 0xf0890, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Using IRQ router VIA [1106/0686] at 00:04.0
PCI: Disabling Via external APIC routing
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Installing knfsd (copyright (C) 1996 okir@xxxxxxxxxxxx).
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller on PCI bus 00 dev 21
VP_IDE: detected chipset, but driver not compiled in!
VP_IDE: chipset revision 16
VP_IDE: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xb800-0xb807, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xb808-0xb80f, BIOS settings: hdc:DMA, hdd:pio
hda: ST380021A, ATA DISK drive
hdb: ST320423A, ATA DISK drive
hdc: CD-540E, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=9729/255/63
hdb: 40011300 sectors (20486 MB) w/512KiB Cache, CHS=2490/255/63
hdc: ATAPI 40X CD-ROM drive, 128kB Cache
Uniform CD-ROM driver Revision: 3.12
Partition check:
hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 hda9 hda10 hda11 hda12 hda13 hda14 hda15 hda16 hda17 hda18 >
hdb: hdb1 hdb2 hdb3 hdb4 < hdb5 hdb6 hdb7 hdb8 >
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 564M
agpgart: Unsupported Via chipset (device id: 0605), you might want to try agp_try_unsupported=1.
agpgart: no supported devices found.
[drm] Initialized tdfx 1.0.0 20010216 on minor 0
[drm] Initialized radeon 1.1.1 20010405 on minor 1
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
usb.c: registered new driver hub
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Found IRQ 9 for device 00:04.2
PCI: Sharing IRQ 9 with 00:04.3
uhci.c: USB UHCI at I/O 0xb400, IRQ 9
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 9 for device 00:04.3
PCI: Sharing IRQ 9 with 00:04.2
uhci.c: USB UHCI at I/O 0xb000, IRQ 9
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP: Hash tables configured (established 262144 bind 65536)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
ds: no socket drivers loaded!
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 136k freed
Adding Swap: 1502068k swap-space (priority -1)
Real Time Clock Driver v1.10e
PCI: Found IRQ 10 for device 00:0e.0
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
00:0e.0: 3Com PCI 3c905 Boomerang 100baseTx at 0xa400. Vers LK1.1.16
PCI: Found IRQ 5 for device 00:0f.0
00:0f.0: 3Com PCI 3c905 Boomerang 100baseTx at 0xa000. Vers LK1.1.16
NTFS driver v1.1.22 [Flags: R/O MODULE]
IPv6 v0.8 for NET4.0
IPv6 over IPv4 tunneling driver
parport0: PC-style at 0x378 (0x778) [PCSPP(,...)]
parport_pc: Via 686A parallel port: io=0x378
lp0: using parport0 (polling).
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
eth0: no IPv6 routers present
============================= 区切り ==============================
$ lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8605 [ProSavage PM133] (rev 81)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8605 [PM133 AGP]
00:04.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 22)
00:04.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 10)
00:04.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 10)
00:04.3 USB Controller: VIA Technologies, Inc. UHCI USB (rev 10)
00:04.4 Host bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 30)
00:0d.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 07)
00:0e.0 Ethernet controller: 3Com Corporation 3c905 100BaseTX [Boomerang]
00:0f.0 Ethernet controller: 3Com Corporation 3c905 100BaseTX [Boomerang]
01:00.0 VGA compatible controller: 3Dfx Interactive, Inc. Voodoo 3 (rev 01)
============================= 区切り ==============================
$ cat /proc/pci
PCI devices found:
Bus 0, device 0, function 0:
Host bridge: VIA Technologies, Inc. VT8605 [ProSavage PM133] (rev 129).
Prefetchable 32 bit memory at 0xe4000000 [0xe7ffffff].
Bus 0, device 1, function 0:
PCI bridge: VIA Technologies, Inc. VT8605 [PM133 AGP] (rev 0).
Master Capable. No bursts. Min Gnt=8.
Bus 0, device 4, function 0:
ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 34).
Bus 0, device 4, function 1:
IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 16).
Master Capable. Latency=32.
I/O at 0xb800 [0xb80f].
Bus 0, device 4, function 2:
USB Controller: VIA Technologies, Inc. UHCI USB (rev 16).
IRQ 9.
Master Capable. Latency=32.
I/O at 0xb400 [0xb41f].
Bus 0, device 4, function 3:
USB Controller: VIA Technologies, Inc. UHCI USB (#2) (rev 16).
IRQ 9.
Master Capable. Latency=32.
I/O at 0xb000 [0xb01f].
Bus 0, device 4, function 4:
Host bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 48).
Bus 0, device 13, function 0:
Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 7).
IRQ 11.
Master Capable. Latency=32. Min Gnt=12.Max Lat=128.
I/O at 0xa800 [0xa83f].
Bus 0, device 14, function 0:
Ethernet controller: 3Com Corporation 3c905 100BaseTX [Boomerang] (rev 0).
IRQ 10.
Master Capable. Latency=32. Min Gnt=3.Max Lat=8.
I/O at 0xa400 [0xa43f].
Bus 0, device 15, function 0:
Ethernet controller: 3Com Corporation 3c905 100BaseTX [Boomerang] (#2) (rev 0).
IRQ 5.
Master Capable. Latency=32. Min Gnt=3.Max Lat=8.
I/O at 0xa000 [0xa03f].
Bus 1, device 0, function 0:
VGA compatible controller: 3Dfx Interactive, Inc. Voodoo 3 (rev 1).
IRQ 11.
Non-prefetchable 32 bit memory at 0xde000000 [0xdfffffff].
Prefetchable 32 bit memory at 0xe2000000 [0xe3ffffff].
I/O at 0xd800 [0xd8ff].
============================= 区切り ==============================
$ ls -l /etc/modutils/alsa
lrwxrwxrwx 1 root root 22 10月 2 04:25 /etc/modutils/alsa -> /etc/alsa/modutils/0.9
============================= 区切り ==============================
$ ls -l /etc/alsa/modutils
合計 8
-rw-r--r-- 1 root root 662 10月 2 03:54 0.5
-rw-r--r-- 1 root root 662 10月 2 03:54 0.9
============================= 区切り ==============================
$ diff /etc/alsa/modutils/0.5 /etc/alsa/modutils/0.9
$
============================= 区切り ==============================
$ cat /etc/alsa/modutils/0.9
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 0.4.3b ---
alias char-major-116 snd
alias snd-card-0 snd-card-ens1371
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
options snd snd_major=116 snd_cards_limit=1 snd_device_mode=0660 snd_device_gid=29 snd_device_uid=0
options snd-card-ens1371 snd_index=0 snd_id=CARD_1 snd_dac1_frame_size=128 snd_dac2_frame_size=128 snd_adc_frame_size=128
# --- END: Generated by ALSACONF, do not edit. ---
============================= 区切り ==============================
version 0.4.2 には
alias sound-service-0-8 snd-seq-oss
という行はありませんでした。
============================= 区切り ==============================
# alsaconf
(をやったあとに)
Loading driver:
Starting ALSA sound driver (version 0.9.0beta12): (card-ens1371)
Setting the PCM volume to 100% and the Master output volume to 50%
amixer: Mixer attach default error: No such file or directory
Could not initialize the mixer, the card was probably
not detected correctly.
(と出ます。しかも、(シンボリックリンクが 0.9 にもかかわらず)
Do you want to modify /etc/alsa/modutils/0.5?と言います。)
============================= 区切り ==============================
# update-modules
# /etc/init.d/alsa restart
ALSA driver isn't running.
Starting ALSA sound driver (version 0.9.0beta12): (card-ens1371)
(もう一度、やってみると)
# /etc/init.d/alsa restart
ALSA driver isn't running.
Starting ALSA sound driver (version 0.9.0beta12): (card-ens1371)
============================= 区切り ==============================
$ /sbin/lsmod
Module Size Used by Not tainted
apm 9356 2 (autoclean)
lp 6112 0
parport_pc 11972 1
parport 15072 1 [lp parport_pc]
ipv6 158976 -1
ntfs 49408 0 (unused)
vfat 9372 1
fat 30072 0 [vfat]
3c59x 25544 1
rtc 6652 0 (autoclean)
(snd 群が無いわけです)
============================= 区切り ==============================
$ ls -l /etc/alsa/
合計 16
drwxr-xr-x 2 root root 4096 10月 2 02:48 0.9/
-rw-r--r-- 1 root root 539 10月 2 02:48 alsa-base.conf
-rw-r--r-- 1 root root 637 10月 2 02:48 alsa-source.conf
drwxr-xr-x 2 root root 4096 10月 2 14:27 modutils/
============================= 区切り ==============================
$ ls -l /etc/alsa/0.9/
合計 0
============================= 区切り ==============================
$ cat /etc/alsa/alsa-base.conf
# This is a configuration file for alsa-base.
# Define true if you want the OSS compatibility layer
# to be automatically loaded as well
startosslayer=false
# Define true if you want to unload alsa modules before
# your system suspneds. This is currently useful if your
# machine is hanged up after resume.
force_stop_modules_before_suspend=true
# Uncomment if you always want to stop alsa modules forcibly in
# /etc/init.d/alsa stop or restart by killing all of running
# applications which use sound devices.
#ALSA_KILL_MODE="force"
============================= 区切り ==============================
$ cat /etc/alsa/alsa-source.conf
# ALSA source config file used by Debian GNU/Linux
# by Masato Taruishi <taru@debian.org>
#
#
# Define y if you want to build ALSA driver modules without ISA PnP.
ifndef ALSA_NOPNP
ALSA_NOPNP="y"
endif
# Define y if you want to build ALSA driver modules with debugging code.
ifndef ALSA_DEBUG
ALSA_DEBUG=""
endif
# Define cards to be built separated by comma if you want to build only
# specified ALSA driver modules. For example, if you want to build
# Sound Blaster 16 and Yamaha YMF series drivers, then the proper setting
# would be:
#
# ALSA_CARDS="sb16, ymfpci"
#
ifndef ALSA_CARDS
ALSA_CARDS="ens1371"
endif
============================= 区切り ==============================
$ ls -l /etc/init.d/alsa
-rwxr-xr-x 1 root root 6311 4月 6 16:55 /etc/init.d/alsa*
============================= 区切り ==============================
$ dpkg -S /etc/init.d/alsa
alsa-base: /etc/init.d/alsa
============================= 区切り ==============================
$ ls -l /etc/rc[S0-6].d/ | grep alsa
lrwxrwxrwx 1 root root 14 9月 28 06:18 K20alsa -> ../init.d/alsa*
lrwxrwxrwx 1 root root 14 9月 28 06:18 K20alsa -> ../init.d/alsa*
lrwxrwxrwx 1 root root 14 9月 28 06:18 S20alsa -> ../init.d/alsa*
lrwxrwxrwx 1 root root 14 9月 28 06:18 S20alsa -> ../init.d/alsa*
lrwxrwxrwx 1 root root 14 9月 28 06:18 S20alsa -> ../init.d/alsa*
lrwxrwxrwx 1 root root 14 9月 28 06:18 S20alsa -> ../init.d/alsa*
lrwxrwxrwx 1 root root 14 9月 28 06:18 K20alsa -> ../init.d/alsa*
============================= 区切り ==============================
$ cat /proc/interrupts
CPU0
0: 413000 XT-PIC timer
1: 14403 XT-PIC keyboard
2: 0 XT-PIC cascade
8: 3 XT-PIC rtc
9: 0 XT-PIC usb-uhci, usb-uhci
10: 275 XT-PIC eth0
12: 49223 XT-PIC PS/2 Mouse
14: 14359 XT-PIC ide0
15: 3 XT-PIC ide1
NMI: 0
LOC: 412960
ERR: 0
MIS: 0
============================= 区切り ==============================
IRQ が競合しているのでしょうか。
記憶がかなり曖昧なのですが、たしか...インストール後に NIC が
認識されなかったため、NIC とサウンドカードの位置を入れ替えた
ような記憶が...?
(このような行ないは競合には無関係ですか???)
============================= 区切り ==============================
PCI カードのリスト:
1) Sound Blaster PCI 128 rev07
2) 3COM 3c905 rev.A
3) 3COM 3c905 rev.A
============================= 区切り ==============================
Windows での状態:
- IRQ -
00 システムタイマ
01 106 日本語(A01)キーボード(Ctrl+英数)
02 プログラミング可能な割り込みコントローラ
03 通信ポート(COM2)
04 通信ポート(COM1)
05 3Com EtherLink XL 10/100 PCI NIC (3C905-TX)
05 PCI IRQ ステアリング用 ACPI IRQ ホルダ
06 標準フロッピーディスクコントローラ
07 ECP プリンタポート(LPT1)
08 システム CMOS/リアル タイム クロック
09 VIA Tech 3088 PCI to USB Universal Host Controller
09 VIA Tech 3088 PCI to USB Universal Host Controller
09 PCI IRQ ステアリング用 ACPI IRQ ホルダ
09 ACPI バスで使用されている SCI IRQ
10 3Com EtherLink XL 10/100 PCI NIC (3C905-TX)
10 PCI IRQ ステアリング用 ACPI IRQ ホルダ
11 Creative Audio PCI(ES1371,ES1373) (WDM)
11 3dfx Voodoo3
11 PCI IRQ ステアリング用 ACPI IRQ ホルダ
12 PS/2 互換マウスポート
13 数値データプロセッサ
14 VIA Bus Master PCI IDE Controller
14 プライマリ IDE コントローラ(デュアル FIFO)
15 VIA Bus Master PCI IDE Controller
15 プライマリ IDE コントローラ(デュアル FIFO)
- DMA -
02 標準フロッピーディスクコントローラ
03 ECP プリンタポート(LPT1)
04 DMA コントローラ
- I/O ポートアドレス -
(省略)
A000-A03F 3Com EtherLink XL 10/100 PCI NIC (3C905-TX)
(省略)
A400-A43F 3Com EtherLink XL 10/100 PCI NIC (3C905-TX)
(省略)
A800-A83F Creative Audio PCI(ES1371,ES1373) (WDM)
(省略)
============================= 区切り ==============================