Skip to contentSkip to conversation

M-Audio Revolution 7.1 sound card causing crash on Alpha

DISCUSSION Michael Cree 2 participants 4 messages Mar 5, 2008 – Mar 31, 2008

lore
Share & tools
lore
#0 lore raw

I recently installed a M-Audio Revolution 7.1 sound card into DEC/Compaq
Alpha XP1000, and it is causing crashes and complete lock ups of the computer when I attempt to play sound through the sound card. Since this is my main computer I shifted the card to a DEC Alpha PWS500au and it causes the same lock ups there, and in one case a kernel oops made it into the system log (listed below). The crashes occur when any application plays sound through the card. The first instance of running an application (such as aplay or speaker-test) after bootup succeeds; it's the second time one runs such an application that the system crashes. I am using the ice1724 alsa driver.

The sound card works fine - I've verified it on a MS Windows machine. It also worked fine when I installed it in a x86_64 machine running Debian testing. This seems to be a bug possibly specific to the Alpha architecture.

Any ideas as to the problem?

Any suggestions as to effective debugging? I turned on the debug options for alsa in the kernel config and re-compiled, but couldn't find any alsa debugging information in any of the system logs.

Basic system details follow:

DEC Alpha PWS500au with a 600MHz Alpha EV56 cpu.
Debian GNU/Linux - up to date testing (Lenny) distribution. 2.6.24.3 verbatim kernel self-compiled and alsa as provided in that kernel.

The kernel oops from one crash is as follows:

Mar  4 22:04:04 aleph kernel: Kernel bug at mm/mmap.c:2054
Mar  4 22:04:04 aleph kernel: speaker-test(1885): Kernel Bug 1
Mar  4 22:04:04 aleph kernel: pc = [<fffffc000036bec4>]  ra = [<fffffc000036be88>]  ps = 0000    Not tainted
Mar  4 22:04:04 aleph kernel: pc is at exit_mmap+0x134/0x150
Mar  4 22:04:04 aleph kernel: ra is at exit_mmap+0xf8/0x150
Mar  4 22:04:04 aleph kernel: v0 = 0000000000000000  t0 = 0000000000000003  t1 = 0000000000000040
Mar  4 22:04:04 aleph kernel: t2 = 000000000000003f  t3 = fffffc002300c5f8  t4 = 0000000000000001
Mar  4 22:04:04 aleph kernel: t5 = fffffc00001da000  t6 = 0000000000000000  t7 = fffffc00212dc000
Mar  4 22:04:04 aleph kernel: a0 = 0000000000000000  a1 = fffffc002300c400  a2 = 0000000000000000
Mar  4 22:04:04 aleph kernel: a3 = 0000000000000000  a4 = 0000000000000000  a5 = 0000000000000000
Mar  4 22:04:04 aleph kernel: t8 = 0000000000000000  t9 = 0000000d1bc1e51d  t10= 1a00000000000000
Mar  4 22:04:04 aleph kernel: t11= 0000000000002000  pv = fffffc000037b3d0  at = 0000000000000003
Mar  4 22:04:04 aleph kernel: gp = fffffc00006fb518  sp = fffffc00212dfbe8
Mar  4 22:04:04 aleph kernel: Trace:
Mar  4 22:04:04 aleph kernel: [<fffffc000032516c>] mmput+0x5c/0x100
Mar  4 22:04:04 aleph kernel: [<fffffc0000329820>] exit_mm+0xc0/0x180
Mar  4 22:04:04 aleph kernel: [<fffffc000032a95c>] do_exit+0x16c/0x950
Mar  4 22:04:04 aleph kernel: [<fffffc000032b184>] do_group_exit+0x44/0xc0
Mar  4 22:04:04 aleph kernel: [<fffffc0000335a9c>] get_signal_to_deliver+0x2fc/0x450
Mar  4 22:04:04 aleph kernel: [<fffffc00003167f4>] do_notify_resume+0xb4/0x570
Mar  4 22:04:04 aleph kernel: [<fffffc00003110cc>] work_pending+0x5c/0x70
Mar  4 22:04:04 aleph kernel: [<fffffc0000333f60>] __sigqueue_alloc+0x40/0xc0
Mar  4 22:04:04 aleph kernel: [<fffffc000038f7a0>] do_ioctl+0x30/0x90
Mar  4 22:04:04 aleph kernel: [<fffffc0000334954>] specific_send_sig_info+0xd4/0x110
Mar  4 22:04:04 aleph kernel: [<fffffc0000334a9c>] force_sig_info+0x8c/0xe0
Mar  4 22:04:04 aleph kernel: [<fffffc0000310bdc>] entMM+0x9c/0xc0
Mar  4 22:04:04 aleph kernel:
Mar  4 22:04:04 aleph kernel: Code: a77df1b0  6b5b497f  27ba0039 23bdf664  c3ffffec  00000081 <00000806> 005efcfe
Mar  4 22:04:04 aleph kernel: Fixing recursive fault but reboot is needed!

Modules installed:
ipv6
evdev
snd_ice1724
snd_ice17xx_ak4xxx
snd_ac97_codec
ac97_bus
snd_ak4114
snd_pt2258
snd_i2c
snd_ak4xxx_adda
snd_mpu401_uart
snd_pcm_oss
snd_pcm
snd_page_alloc
snd_mixer_oss
snd_seq_dummy
snd_seq_oss
snd_seq_midi
snd_rawmidi
snd_seq_midi_event
snd_seq
snd_timer
snd_seq_device
snd
soundcore
pcspkr
serio_raw
tulip

Sound devices:
**** List of PLAYBACK Hardware Devices ****
card 0: Revolution71 [M Audio Revolution-7.1], device 0: ICE1724 [ICE1724]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Revolution71 [M Audio Revolution-7.1], device 1: IEC1724 IEC958 [IEC1724 IEC958]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Revolution71 [M Audio Revolution-7.1], device 2: ICE1724 Surrounds [ICE1724 Surround PCM]
Subdevices: 3/3
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2

cat /proc/asound/cards:
0 [Revolution71 ]: ICE1724 - M Audio Revolution-7.1

                      M Audio Revolution-7.1 at 0x8480, irq 40

PCI devices:
00:03.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43 (rev 30)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-

	Latency: 255 (5000ns min, 10000ns max), Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 24
	Region 0: I/O ports at 9000 [size=128]
	Region 1: Memory at 09259000 (32-bit, non-prefetchable) [size=128]
	Expansion ROM at 09200000 [disabled] [size=256K]
	Kernel driver in use: tulip
	Kernel modules: tulip

00:07.0 ISA bridge: Contaq Microsystems 82c693
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0

00:07.1 IDE interface: Contaq Microsystems 82c693 (prog-if 80 [Master])
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-

	Latency: 0
	Interrupt: pin A routed to IRQ 0
	Region 0: I/O ports at 01f0 [size=8]
	Region 1: I/O ports at 03f4 [size=1]
	Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) 
[disabled] [size=8]
	Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) 
[disabled] [size=1]
	Region 4: I/O ports at 9080 [size=16]
	Kernel driver in use: Cypress_IDE

00:07.2 IDE interface: Contaq Microsystems 82c693 (prog-if 00 [])
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-

	Latency: 0
	Interrupt: pin B routed to IRQ 0
	Region 0: I/O ports at 01f0 [size=8]
	Region 1: I/O ports at 03f4 [size=1]
	Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) 
[disabled] [size=8]
	Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) 
[disabled] [size=1]
	Region 4: Memory at 09240000 (32-bit, non-prefetchable) [disabled] 

[size=64K]

00:07.3 USB Controller: Contaq Microsystems 82c693 (prog-if 10 [OHCI])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-

	Latency: 248
	Interrupt: pin A routed to IRQ 10
	Region 0: Memory at 09258000 (32-bit, non-prefetchable) [size=4K]
	Kernel driver in use: ohci_hcd

00:0c.0 VGA compatible controller: Digital Equipment Corporation PBXGB [TGA2] (rev 22) (prog-if 00 [VGA controller])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR+ INTx-

	Latency: 255 (2000ns min, 16000ns max)
	Interrupt: pin A routed to IRQ 32
	Region 0: Memory at 10000000 (32-bit, prefetchable) [size=128M]
	Expansion ROM at 09250000 [disabled] [size=32K]

00:14.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 02) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR+ FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-

	Latency: 255, Cache Line Size: 64 bytes
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=255
	I/O behind bridge: 00008000-00008fff
	Memory behind bridge: 09000000-090fffff
	Prefetchable memory behind bridge: 0000000009100000-00000000091fffff
	Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- 

<TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-

01:04.0 SCSI storage controller: QLogic Corp. ISP1020 Fast-wide SCSI (rev 05)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-

	Latency: 248, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 27
	Region 0: I/O ports at 8000 [size=256]
	Region 1: Memory at 09000000 (32-bit, non-prefetchable) [size=4K]
	Expansion ROM at 09100000 [disabled] [size=64K]
	Kernel driver in use: qla1280

01:09.0 Multimedia audio controller: VIA Technologies Inc. VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller (rev 01)
Subsystem: VIA Technologies Inc. M-Audio Revolution 7.1
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 248
Interrupt: pin A routed to IRQ 40
Region 0: I/O ports at 8480 [size=32]
Region 1: I/O ports at 8400 [size=128]
Capabilities: [80] 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-
Kernel driver in use: ICE1724
Kernel modules: snd-ice1724

Cheerz
Michael.

#1 lore raw

At Wed, 05 Mar 2008 21:14:23 +1300,

Quoted 12 lines · Michael Cree

I recently installed a M-Audio Revolution 7.1 sound card into DEC/Compaq Alpha XP1000, and it is causing crashes and complete lock ups of the computer when I attempt to play sound through the sound card. Since this is my main computer I shifted the card to a DEC Alpha PWS500au and it causes the same lock ups there, and in one case a kernel oops made it into the system log (listed below). The crashes occur when any application plays sound through the card. The first instance of running an application (such as aplay or speaker-test) after bootup succeeds; it's the second time one runs such an application that the system crashes. I am using the ice1724 alsa driver.

Quoted 6 lines

The sound card works fine - I've verified it on a MS Windows machine. It also worked fine when I installed it in a x86_64 machine running Debian testing. This seems to be a bug possibly specific to the Alpha architecture.

Any ideas as to the problem?

The oops looks related with mmap. Maybe alpha doesn't support the mmap of coherent DMA pages like intel architectures allow?

Try to disable mmap support in the driver once - e.g. comment out SNDRV_PCM_INFO_MMAP in struct snd_pcm_hardware.info fields found in ice1724.c. Then run aplay with -Dhw option (the default would take mmap) and give the WAV file the hardware supports (32bit-LE 2ch or more).

If this works, we can add some workarounds in the ALSA PCM core routine for mmap.

Takashi

Quoted 241 lines

Any suggestions as to effective debugging? I turned on the debug options for alsa in the kernel config and re-compiled, but couldn't find any alsa debugging information in any of the system logs.

Basic system details follow:

DEC Alpha PWS500au with a 600MHz Alpha EV56 cpu.
Debian GNU/Linux - up to date testing (Lenny) distribution. 2.6.24.3 verbatim kernel self-compiled and alsa as provided in that kernel.

The kernel oops from one crash is as follows:

Mar  4 22:04:04 aleph kernel: Kernel bug at mm/mmap.c:2054
Mar  4 22:04:04 aleph kernel: speaker-test(1885): Kernel Bug 1
Mar  4 22:04:04 aleph kernel: pc = [<fffffc000036bec4>]  ra = 
[<fffffc000036be88>]  ps = 0000    Not tainted
Mar  4 22:04:04 aleph kernel: pc is at exit_mmap+0x134/0x150
Mar  4 22:04:04 aleph kernel: ra is at exit_mmap+0xf8/0x150
Mar  4 22:04:04 aleph kernel: v0 = 0000000000000000  t0 = 
0000000000000003  t1 = 0000000000000040
Mar  4 22:04:04 aleph kernel: t2 = 000000000000003f  t3 = 
fffffc002300c5f8  t4 = 0000000000000001
Mar  4 22:04:04 aleph kernel: t5 = fffffc00001da000  t6 = 
0000000000000000  t7 = fffffc00212dc000
Mar  4 22:04:04 aleph kernel: a0 = 0000000000000000  a1 = 
fffffc002300c400  a2 = 0000000000000000
Mar  4 22:04:04 aleph kernel: a3 = 0000000000000000  a4 = 
0000000000000000  a5 = 0000000000000000
Mar  4 22:04:04 aleph kernel: t8 = 0000000000000000  t9 = 
0000000d1bc1e51d  t10= 1a00000000000000
Mar  4 22:04:04 aleph kernel: t11= 0000000000002000  pv = 
fffffc000037b3d0  at = 0000000000000003
Mar  4 22:04:04 aleph kernel: gp = fffffc00006fb518  sp = fffffc00212dfbe8
Mar  4 22:04:04 aleph kernel: Trace:
Mar  4 22:04:04 aleph kernel: [<fffffc000032516c>] mmput+0x5c/0x100
Mar  4 22:04:04 aleph kernel: [<fffffc0000329820>] exit_mm+0xc0/0x180
Mar  4 22:04:04 aleph kernel: [<fffffc000032a95c>] do_exit+0x16c/0x950
Mar  4 22:04:04 aleph kernel: [<fffffc000032b184>] do_group_exit+0x44/0xc0
Mar  4 22:04:04 aleph kernel: [<fffffc0000335a9c>] 
get_signal_to_deliver+0x2fc/0x450
Mar  4 22:04:04 aleph kernel: [<fffffc00003167f4>] 
do_notify_resume+0xb4/0x570
Mar  4 22:04:04 aleph kernel: [<fffffc00003110cc>] work_pending+0x5c/0x70
Mar  4 22:04:04 aleph kernel: [<fffffc0000333f60>] 
__sigqueue_alloc+0x40/0xc0
Mar  4 22:04:04 aleph kernel: [<fffffc000038f7a0>] do_ioctl+0x30/0x90
Mar  4 22:04:04 aleph kernel: [<fffffc0000334954>] 
specific_send_sig_info+0xd4/0x110
Mar  4 22:04:04 aleph kernel: [<fffffc0000334a9c>] force_sig_info+0x8c/0xe0
Mar  4 22:04:04 aleph kernel: [<fffffc0000310bdc>] entMM+0x9c/0xc0
Mar  4 22:04:04 aleph kernel:
Mar  4 22:04:04 aleph kernel: Code: a77df1b0  6b5b497f  27ba0039 
23bdf664  c3ffffec  00000081 <00000806> 005efcfe
Mar  4 22:04:04 aleph kernel: Fixing recursive fault but reboot is needed!

Modules installed:
ipv6
evdev
snd_ice1724
snd_ice17xx_ak4xxx
snd_ac97_codec
ac97_bus
snd_ak4114
snd_pt2258
snd_i2c
snd_ak4xxx_adda
snd_mpu401_uart
snd_pcm_oss
snd_pcm
snd_page_alloc
snd_mixer_oss
snd_seq_dummy
snd_seq_oss
snd_seq_midi
snd_rawmidi
snd_seq_midi_event
snd_seq
snd_timer
snd_seq_device
snd
soundcore
pcspkr
serio_raw
tulip

Sound devices:
**** List of PLAYBACK Hardware Devices ****
card 0: Revolution71 [M Audio Revolution-7.1], device 0: ICE1724 [ICE1724]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Revolution71 [M Audio Revolution-7.1], device 1: IEC1724 IEC958 [IEC1724 IEC958]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Revolution71 [M Audio Revolution-7.1], device 2: ICE1724 Surrounds [ICE1724 Surround PCM]
Subdevices: 3/3
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2

cat /proc/asound/cards:
0 [Revolution71 ]: ICE1724 - M Audio Revolution-7.1

                       M Audio Revolution-7.1 at 0x8480, irq 40

PCI devices:
00:03.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43 (rev 30)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-

	Latency: 255 (5000ns min, 10000ns max), Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 24
	Region 0: I/O ports at 9000 [size=128]
	Region 1: Memory at 09259000 (32-bit, non-prefetchable) [size=128]
	Expansion ROM at 09200000 [disabled] [size=256K]
	Kernel driver in use: tulip
	Kernel modules: tulip

00:07.0 ISA bridge: Contaq Microsystems 82c693
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0

00:07.1 IDE interface: Contaq Microsystems 82c693 (prog-if 80 [Master])
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-

	Latency: 0
	Interrupt: pin A routed to IRQ 0
	Region 0: I/O ports at 01f0 [size=8]
	Region 1: I/O ports at 03f4 [size=1]
	Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) 
[disabled] [size=8]
	Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) 
[disabled] [size=1]
	Region 4: I/O ports at 9080 [size=16]
	Kernel driver in use: Cypress_IDE

00:07.2 IDE interface: Contaq Microsystems 82c693 (prog-if 00 [])
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-

	Latency: 0
	Interrupt: pin B routed to IRQ 0
	Region 0: I/O ports at 01f0 [size=8]
	Region 1: I/O ports at 03f4 [size=1]
	Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) 
[disabled] [size=8]
	Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) 
[disabled] [size=1]
	Region 4: Memory at 09240000 (32-bit, non-prefetchable) [disabled] 

[size=64K]

00:07.3 USB Controller: Contaq Microsystems 82c693 (prog-if 10 [OHCI])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-

	Latency: 248
	Interrupt: pin A routed to IRQ 10
	Region 0: Memory at 09258000 (32-bit, non-prefetchable) [size=4K]
	Kernel driver in use: ohci_hcd

00:0c.0 VGA compatible controller: Digital Equipment Corporation PBXGB [TGA2] (rev 22) (prog-if 00 [VGA controller])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR+ INTx-

	Latency: 255 (2000ns min, 16000ns max)
	Interrupt: pin A routed to IRQ 32
	Region 0: Memory at 10000000 (32-bit, prefetchable) [size=128M]
	Expansion ROM at 09250000 [disabled] [size=32K]

00:14.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 02) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR+ FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-

	Latency: 255, Cache Line Size: 64 bytes
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=255
	I/O behind bridge: 00008000-00008fff
	Memory behind bridge: 09000000-090fffff
	Prefetchable memory behind bridge: 0000000009100000-00000000091fffff
	Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- 

<TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-

01:04.0 SCSI storage controller: QLogic Corp. ISP1020 Fast-wide SCSI (rev 05)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-

	Latency: 248, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 27
	Region 0: I/O ports at 8000 [size=256]
	Region 1: Memory at 09000000 (32-bit, non-prefetchable) [size=4K]
	Expansion ROM at 09100000 [disabled] [size=64K]
	Kernel driver in use: qla1280

01:09.0 Multimedia audio controller: VIA Technologies Inc. VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller (rev 01)
Subsystem: VIA Technologies Inc. M-Audio Revolution 7.1
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 248
Interrupt: pin A routed to IRQ 40
Region 0: I/O ports at 8480 [size=32]
Region 1: I/O ports at 8400 [size=128]
Capabilities: [80] 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-
Kernel driver in use: ICE1724
Kernel modules: snd-ice1724

Cheerz
Michael.
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#2 lore raw
Quoted 10 lines · Takashi Iwai
Quoted 9 lines · Michael Cree

I recently installed a M-Audio Revolution 7.1 sound card into DEC/ Compaq
Alpha XP1000, and it is causing crashes and complete lock ups of the computer when I attempt to play sound through the sound card.

This seems to be a bug possibly specific to the Alpha
architecture.

Quoted 8 lines
Quoted 1 line

Any ideas as to the problem?

The oops looks related with mmap. Maybe alpha doesn't support the mmap of coherent DMA pages like intel architectures allow?

Try to disable mmap support in the driver once - e.g. comment out SNDRV_PCM_INFO_MMAP in struct snd_pcm_hardware.info fields found in ice1724.c.

I see that there is also a SNDRV_PCM_INFO_MMAP_VALID flag in the initialisations of the snd_pcm_hardware.info field. Should I comment that out too?

May be a few days before I can test this out - I have just realised that a couple of my disk partitions are corrupted; I suspect one of the crashes of the audio driver is the explanation. I will have to restore from a backup first before continuing testing.

Michael.

#3 lore raw
In reply to Takashi Iwai
Quoted 12 lines · Takashi Iwai
Quoted 10 lines · Michael Cree

I recently installed a M-Audio Revolution 7.1 sound card into DEC/ Compaq
Alpha XP1000, and it is causing crashes and complete lock ups of the computer when I attempt to play sound through the sound card. Since this is my main computer I shifted the card to a DEC Alpha PWS500au and
it causes the same lock ups there, and in one case a kernel oops made it
into the system log (listed below).

Quoted 2 lines

The oops looks related with mmap. Maybe alpha doesn't support the mmap of coherent DMA pages like intel architectures allow?

I have just applied the recently announced patch (alpha: fix ALSA DMA mmap crash) in the -mm kernel tree to the 2.6.24.3 kernel I am running. The M-Audio Revolution 7.1 card now works fine on both Compaq Alpha XP1000 and the DEC Alpha PWS600au.

Cheers
Michael.