LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   ALSA driver not functional on a VIA8233A chip, Debian Linux (https://www.linuxquestions.org/questions/linux-hardware-18/alsa-driver-not-functional-on-a-via8233a-chip-debian-linux-328500/)

exit3219 05-30-2005 06:58 AM

ALSA driver not functional on a VIA8233A chip, Debian Linux
 
my dmesg:
Code:

Linux version 2.4.16-k7 (herbert@gondolin) (gcc version 2.95.4 20011006 (Debian prerelease)) #1 Wed Nov 28 11:06:52 EST 2001
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)
On node 0 totalpages: 65520
zone(0): 4096 pages.
zone(1): 61424 pages.
zone(2): 0 pages.
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
Kernel command line: BOOT_IMAGE=Linux ro root=341
Initializing CPU#0
Detected 1611.848 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 3217.81 BogoMIPS
Memory: 253412k/262080k available (815k kernel code, 8280k reserved, 233k data, 212k init, 0k highmem)
Dentry-cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode-cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
Buffer-cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
CPU: Before vendor init, caps: 0383fbff c1cbfbff 00000000, vendor = 2
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: After vendor init, caps: 0383fbff c1cbfbff 00000000 00000000
CPU:    After generic, caps: 0383fbff c1cbfbff 00000000 00000000
CPU:            Common caps: 0383fbff c1cbfbff 00000000 00000000
CPU: AMD Athlon(tm) XP 1900+ stepping 02
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
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 1611.8035 MHz.
..... host bus clock speed is 268.6339 MHz.
cpu: 0, clocks: 2686339, slice: 1343169
CPU0<T0:2686336,T1:1343152,D:15,S:1343169,C:2686339>
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfb250, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
Unknown bridge resource 0: assuming transparent
PCI: Using IRQ router default [1106/3099] at 00:00.0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Diskquotas version dquot_6.4.0 initialized
devfs: v0.120 (20011103) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
Redundant entry in serial pci_table.  Please send the output of
lspci -vv, this message (12b9,1008,12b9,00a2)
and the manufacturer and name of serial board or modem board
to serial-pci-info@lists.sourceforge.net.
ttyS04 at port 0xd800 (irq = 11) is a 16550A
block: 128 slots per queue, batch=32
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Cronyx Ltd, Synchronous PPP and CISCO HDLC (c) 1994
Linux port (c) 1998 Building Number Three Ltd & Jan "Yenya" Kasprzak.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 16384)
Linux IP multicast router 0.06 plus PIM-SM
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 2640 blocks [1 disk] into ram disk... |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|done.
Freeing initrd memory: 2640k freed
VFS: Mounted root (cramfs filesystem).
Freeing unused kernel memory: 212k freed
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Journalled Block Device driver loaded
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 89
PCI: No IRQ known for interrupt pin A of device 00:11.1. Please try using pci=biosirq.
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: Unknown VIA SouthBridge, contact Vojtech Pavlik <vojtech@suse.cz>
hda: ST380011A, ATA DISK drive
hdb: HDS722516VLAT80, ATA DISK drive
hdc: CR-48XETE, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide0: probed IRQ 14 failed, using default.
ide1 at 0x170-0x177,0x376 on irq 15
ide1: probed IRQ 15 failed, using default.
hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=155061/16/63
hdb: 268435455 sectors (137439 MB) w/7938KiB Cache, CHS=266305/16/63
Partition check:
 /dev/ide/host0/bus0/target0/lun0: p1spurious 8259A interrupt: IRQ7.
 < p5 p6 p7 >
 /dev/ide/host0/bus0/target1/lun0: [PTBL] [16709/255/63] p1 p2 < p5 p6 p7 p8 p9 > p3
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Adding Swap: 497972k swap-space (priority -1)
EXT3 FS 2.4-0.9.15, 06 Nov 2001 on ide0(3,65), internal journal
Real Time Clock Driver v1.10e
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.268 $ time 11:28:06 Nov 28 2001
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: USB UHCI at I/O 0xe000, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: USB UHCI at I/O 0xe400, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.268:USB Universal Host Controller Interface driver
usb.c: registered new driver keyboard
usbkbd.c: :USB HID Boot Protocol keyboard driver
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.15)
NTFS driver v1.1.20 [Flags: R/O MODULE]
NTFS: Warning! NTFS volume version is Win2k+: Mounting read-only
NTFS: Warning! NTFS volume version is Win2k+: Mounting read-only
NTFS: Warning! NTFS volume version is Win2k+: Mounting read-only
PCI: Setting latency timer of device 00:11.5 to 64

my lspci -vv:
Code:

00:00.0 Host bridge: VIA Technologies, Inc. VT8367 [KT266]
        Subsystem: VIA Technologies, Inc. VT8367 [KT266]
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
        Latency: 8
        Region 0: Memory at e8000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [a0] AGP version 2.0
                Status: RQ=31 SBA+ 64bit- FW- Rate=x1,x2
                Command: RQ=0 SBA- AGP- 64bit- FW- Rate=<none>
        Capabilities: [c0] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:01.0 PCI bridge: VIA Technologies, Inc. VT8367 [KT266 AGP] (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
        Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
        Latency: 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        Memory behind bridge: ec000000-edffffff
        Prefetchable memory behind bridge: e0000000-e7ffffff
        BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B-
        Capabilities: [80] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:09.0 Multimedia audio controller: Fortemedia, Inc Xwave QS3000A [FM801] (rev b2)
        Subsystem: Fortemedia, Inc: Unknown device 1319
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32 (1000ns min, 10000ns max)
        Interrupt: pin A routed to IRQ 11
        Region 0: I/O ports at d000 [size=128]
        Capabilities: [dc] Power Management version 1
                Flags: PMEClk- DSI+ D1- D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:09.1 Input device controller: Fortemedia, Inc Xwave QS3000A [FM801 game port] (rev b2)
        Subsystem: Fortemedia, Inc: Unknown device 1319
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32 (1000ns min, 10000ns max)
        Region 0: I/O ports at d400 [size=16]
        Capabilities: [dc] Power Management version 1
                Flags: PMEClk- DSI+ D1+ D2- AuxCurrent=0mA PME(D0-,D1+,D2-,D3hot+,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:0c.0 Serial controller: US Robotics/3Com 56K FaxModem Model 5610 (rev 01) (prog-if 02 [16550])
        Subsystem: US Robotics/3Com USR 56k Internal FAX Modem (Model 2977)
        Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Interrupt: pin A routed to IRQ 11
        Region 0: I/O ports at d800 [size=8]
        Capabilities: [dc] Power Management version 2
                Flags: PMEClk- DSI- D1- D2+ AuxCurrent=0mA PME(D0+,D1-,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=2 PME-

00:11.0 ISA bridge: VIA Technologies, Inc.: Unknown device 3147
        Subsystem: VIA Technologies, Inc.: Unknown device 3147
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
        Capabilities: [c0] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:11.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 06) (prog-if 8a [Master SecP PriP])
        Subsystem: VIA Technologies, Inc. Bus Master IDE
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32
        Interrupt: pin A routed to IRQ 0
        Region 4: I/O ports at dc00 [size=16]
        Capabilities: [c0] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:11.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 23) (prog-if 00 [UHCI])
        Subsystem: Unknown device 0925:1234
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32, cache line size 08
        Interrupt: pin D routed to IRQ 11
        Region 4: I/O ports at e000 [size=32]
        Capabilities: [80] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:11.3 USB Controller: VIA Technologies, Inc. UHCI USB (rev 23) (prog-if 00 [UHCI])
        Subsystem: Unknown device 0925:1234
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32, cache line size 08
        Interrupt: pin D routed to IRQ 11
        Region 4: I/O ports at e400 [size=32]
        Capabilities: [80] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-


00:11.5 Multimedia audio controller: VIA Technologies, Inc. AC97 Audio Controller (rev 40)
        Subsystem: VIA Technologies, Inc.: Unknown device 4511
        Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Interrupt: pin C routed to IRQ 11
        Region 0: I/O ports at e800 [size=256]
        Capabilities: [c0] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-


01:00.0 VGA compatible controller: nVidia Corporation NV15 DDR (GeForce2 GTS) (rev a4) (prog-if 00 [VGA])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32 (1250ns min, 250ns max)
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at ec000000 (32-bit, non-prefetchable) [size=16M]
        Region 1: Memory at e0000000 (32-bit, prefetchable) [size=128M]
        Expansion ROM at <unassigned> [disabled] [size=64K]
        Capabilities: [60] Power Management version 1
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [44] AGP version 2.0
                Status: RQ=31 SBA- 64bit- FW+ Rate=x1,x2
                Command: RQ=0 SBA- AGP- 64bit- FW- Rate=<none>

my lsmod after installing ALSA:
Code:

Module                  Size  Used by    Tainted: P 

snd-card-via8233        4896  0
snd-pcm                48576  0  [snd-card-via8233]
snd-timer              10432  0  [snd-pcm]
snd-ac97-codec        23232  0  [snd-card-via8233]
snd                    25352  0  [snd-card-via8233 snd-pcm snd-timer snd-ac97-codec]
soundcore              3684  0  [snd]

af_packet              11912  1  (autoclean)
tap0                    2528  1  (autoclean)
ide-disk                6816  2  (autoclean)
ide-probe-mod          8096  0  (autoclean)
ide-mod              131436  2  (autoclean) [ide-disk ide-probe-mod]
ext3                  55872  1  (autoclean)
jbd                    35016  1  (autoclean) [ext3]
unix                  14020  8  (autoclean)

my uname -r:
Code:

2.4.16-k7
my tail messages:
Code:

May 30 13:44:57 EXIT-8 kernel: EXT3-fs: mounted filesystem with ordered data mode.
May 30 13:44:57 EXIT-8 kernel: Adding Swap: 497972k swap-space (priority -1)
May 30 13:44:57 EXIT-8 kernel: EXT3 FS 2.4-0.9.15, 06 Nov 2001 on ide0(3,65), internal journal
May 30 13:44:57 EXIT-8 kernel: spurious 8259A interrupt: IRQ7.
May 30 13:44:59 EXIT-8 diald[397]: start tap0: SIOCSIFMETRIC: Operation not supported
May 30 13:44:59 EXIT-8 lpd[420]: restarted
May 30 13:45:00 EXIT-8 xfs: ignoring font path element /usr/lib/X11/fonts/cyrillic/ (unreadable)
May 30 13:45:00 EXIT-8 xfs: ignoring font path element /usr/lib/X11/fonts/CID (unreadable)
May 30 13:47:00 EXIT-8 kernel: PCI: Setting latency timer of device 00:11.5 to 64
May 30 13:47:26 EXIT-8 kernel: PCI: Setting latency timer of device 00:11.5 to 64

my tail syslog:
Code:

May 30 13:45:00 EXIT-8 wwwoffled[441]: WWWOFFLE In Autodial Mode.
May 30 13:45:00 EXIT-8 /usr/sbin/cron[454]: (CRON) INFO (pidfile fd = 3)
May 30 13:45:00 EXIT-8 xfs: ignoring font path element /usr/lib/X11/fonts/cyrillic/ (unreadable)
May 30 13:45:00 EXIT-8 /usr/sbin/cron[455]: (CRON) STARTUP (fork ok)
May 30 13:45:00 EXIT-8 /usr/sbin/cron[455]: (CRON) INFO (Running @reboot jobs)
May 30 13:45:00 EXIT-8 xfs: ignoring font path element /usr/lib/X11/fonts/CID (unreadable)
May 30 13:45:03 EXIT-8 modprobe: modprobe: Can't locate module char-major-13
May 30 13:47:00 EXIT-8 kernel: PCI: Setting latency timer of device 00:11.5 to 64
May 30 13:47:26 EXIT-8 kernel: PCI: Setting latency timer of device 00:11.5 to 64
May 30 13:53:01 EXIT-8 /USR/SBIN/CRON[1770]: (mail) CMD (  if [ -x /usr/sbin/exim -a -f /etc/exim/exim.conf ]; then

/usr/sbin/exim -q ; fi)

The problem:
trying to
Code:

aplay sample.au
or a .wav, .mp3, whatever locks my console. I don't hear a thing. I unmuted alsamixer, set it to max etc. But I can't hear a

thing.

Trying to CTRL+C gives me this, after a painful 30 seconds:
Code:

Aborted...
ALSA lib pcm_hw_c:282:(snd_pcm_hw_drain) SNDRV_PCM_IOCTL_DRAIN failed: Input/output error
aplay-0.9: pcm.c:656: snd_pcm_hw_free: Assertion `snd_pcm_state(pcm) == SND_PCM_STATE_SETUP || snd_pcm_state(pcm) ==

SND_PCM_STATE_PREPARED` failed.
Aborted...

And this scrolls over and over again on my {newbie} screen.
Trying to
Code:

/etc/init.d/alsa stop, restart or force-stop, or force-restart
says it can't stop it, as the process aplay is using it. Killing aplay doesn't help either. :confused:
I must reboot. When I try
Code:

reboot, shutdown -h now, or poweroff
It gives me some kind of
Code:

divide error: 0000
.........
.........
.........
Process aplay-0.9
Stack: .....
............
Call trace: ........
...............

, which doesn't get recorded anywhere so I can't post it here completely. (This is all I could jot down while my PC was

'Going down for reboot' :-)


Any ideas? :scratch: :scratch: :scratch:
Thanks.

P.S. Gee! What a long post!


All times are GMT -5. The time now is 04:09 PM.