Re: [Alsa-user] 1.0.0pre1 - alsactl still segfaults when invocated from init
Brought to you by:
perex
From: wwp <sub...@fr...> - 2003-11-21 20:12:06
|
Hi ALSA folks, the alsactl segfault I've previously reported is still happening with alsa-driver 1.0.0pre2 + alsa-* 1.0.0pre1 (installed from the sources). - `alsactl store` or `alsactl restore` from the init process are segfaulting, I can also see an oops in /var/log/message. - when launching manually alsactl store or restore from userspace, I don't get the segfault. - even if crashing at startup, alsactl successfully restores the sound settings - the crash of alsactl at shutdown prevents it from saving the .state file So I've saved it from normal userspace and next boot restored the sound state :-) I'm using a SuSE 8.1-based system (kernel 2.4.19, modutils 2.4.26), w/ many upgrades from the sources. I used to upgrade alsa driver and other stuff from 0.9.3, and the problem only appeared since 0.9.7, IIRC. Here are the excerpts from /var/log/message: ===== Starting up the machine ===== kernel: ALSA ../../alsa-kernel/pci/ac97/ac97_codec.c:1853: MC'97 1 converters and GPIO not ready (0xff00) kernel: intel8x0: clocking to 48000 kernel: vmnet1: no IPv6 routers present kernel: Unable to handle kernel paging request at virtual address 80000008 kernel: printing eip: kernel: c5ae8071 kernel: *pde = 00000000 kernel: Oops: 0000 2.4.19-4GB #1 Fri Sep 13 13:14:56 UTC 2002 kernel: CPU: 0 kernel: EIP: 0010:[pcmcia_core:proc_pccard+54911681/72006415] Tainted: PF kernel: EIP: 0010:[<c5ae8071>] Tainted: PF kernel: EFLAGS: 00010286 kernel: eax: 80000000 ebx: 00000001 ecx: 00000001 edx: c5a18a40 kernel: esi: 00000020 edi: 00000000 ebp: c23ad9c0 esp: c5afff24 kernel: ds: 0018 es: 0018 ss: 0018 kernel: Process alsactl (pid: 1144, stackpage=c5aff000) kernel: Stack: c5ae8257 00000001 00000000 00000000 c23ad9c0 c5a18a40 dffd3360 c01440c4 kernel: c5a18a40 c23ad9c0 c23ad9c0 c5a18a40 ffffffe9 c0142bf6 c5a18a40 c23ad9c0 kernel: 00000000 c1ba5000 00000001 bffffbf8 c0142a60 c5a19960 dffd3360 00000000 kernel: Call Trace: [pcmcia_core:proc_pccard+54912167/72005929] [chrdev_open+68/80] [dentry_open+390/496] [filp_open+80/96] [sys_open+59/128] kernel: Call Trace: [<c5ae8257>] [<c01440c4>] [<c0142bf6>] [<c0142a60>] [<c0142dfb>] kernel: [system_call+51/64] kernel: [<c0108e63>] kernel: Modules: [(snd:<c5ae8060>:<c5aef304>)] kernel: Code: 8b 40 08 85 c0 74 1b b8 01 00 00 00 d3 e0 85 05 84 ef ae c5 ===== Shutting down the machine ===== kernel: Unable to handle kernel paging request at virtual address 80000008 kernel: printing eip: kernel: c5ae8071 kernel: *pde = 00000000 kernel: Oops: 0000 2.4.19-4GB #1 Fri Sep 13 13:14:56 UTC 2002 kernel: CPU: 0 kernel: EIP: 0010:[pcmcia_core:proc_pccard+55435969/72006415] Tainted: PF kernel: EIP: 0010:[<c5ae8071>] Tainted: PF kernel: EFLAGS: 00010286 kernel: eax: 80000000 ebx: 00000001 ecx: 00000001 edx: cb2b4d60 kernel: esi: 00000020 edi: 00000000 ebp: c239d860 esp: c93d9f24 kernel: ds: 0018 es: 0018 ss: 0018 kernel: Process alsactl (pid: 1766, stackpage=c93d9000) kernel: Stack: c5ae8257 00000001 00000000 00000000 c239d860 cb2b4d60 dffd3360 c01440c4 kernel: cb2b4d60 c239d860 c239d860 cb2b4d60 ffffffe9 c0142bf6 cb2b4d60 c239d860 kernel: 00000000 c9326000 00000001 bffffbe8 c0142a60 cb23e440 dffd3360 00000000 kernel: Call Trace: [pcmcia_core:proc_pccard+55436455/72005929] [chrdev_open+68/80] [dentry_open+390/496] [filp_open+80/96] [sys_open+59/128] kernel: Call Trace: [<c5ae8257>] [<c01440c4>] [<c0142bf6>] [<c0142a60>] [<c0142dfb>] kernel: [system_call+51/64] kernel: [<c0108e63>] kernel: Modules: [(snd:<c5ae8060>:<c5aef304>)] kernel: Code: 8b 40 08 85 c0 74 1b b8 01 00 00 00 d3 e0 85 05 84 ef ae c5 And the output from the startup process: Restoring the previous sound setting/etc/init.d/rc5.d/S13alsasound: line 250: 1144 Segmentation fault -F -f restore >/dev/null 2>&1 `lspci -vv` says: 00:1f.5 Multimedia audio controller: Intel Corp. 82801CA/CAM AC'97 Audio (rev 02) Subsystem: Cirrus Logic: Unknown device 5959 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 Interrupt: pin B routed to IRQ 11 Region 0: I/O ports at d800 [size=256] Region 1: I/O ports at dc80 [size=64] What info should I provide? Does anyone has a clue where's the problem is? TIA, -- wwp |