You are not logged in.
I added 2gb of ram to my pc and alsa doesn't work anymore. I have 2gb + 2gb but the system only see 3.21gb.
And i have a init script to modify /etc/asound.conf but always work fine before to add the new memory stick.
here is the code of initscript.
# rc.d cat UsbHeadset
#!/bin/bash
CARD="`aplay -l | grep HP | tr ":" "\n" | grep card`";
CARDNUMBER="${CARD:5}";
sed s/NUMBER/"$CARDNUMBER"/g /etc/asound.conf.base > /etc/asound.confcat /etc/asound.conf.base
defaults.pcm.card NUMBER
defaults.pcm.device 0
defaults.ctl.card NUMBERI have ArchLinux i686 with kde. I get this errors in boot:
Thu Jan 10 15:44:47 2013: :: Restoring ALSA Levels [BUSY] ALSA lib conf.c:1017:(parse_value) card is not a string
Thu Jan 10 15:44:47 2013: ALSA lib conf.c:1686:(snd_config_load1) _toplevel_:2:20:Invalid argument
Thu Jan 10 15:44:47 2013: ALSA lib conf.c:3406:(config_file_open) /etc/asound.conf may be old or corrupted: consider to remove or fix it
Thu Jan 10 15:44:47 2013: *** Error in `/usr/sbin/alsactl': free(): invalid pointer: 0xb7602730 ***
Thu Jan 10 15:44:47 2013: ======= Backtrace: =========
Thu Jan 10 15:44:47 2013: /usr/lib/libc.so.6(+0x764b2)[0xb74404b2]
Thu Jan 10 15:44:47 2013: /usr/lib/libc.so.6(+0x77200)[0xb7441200]
Thu Jan 10 15:44:47 2013: /usr/lib/libasound.so.2(snd_config_substitute+0x6d)[0xb75fce7d]
Thu Jan 10 15:44:47 2013: /usr/lib/libasound.so.2(+0x25945)[0xb75fe945]
Thu Jan 10 15:44:47 2013: /usr/lib/libasound.so.2(snd_config_update_r+0x1fe)[0xb75ff5ae]
Thu Jan 10 15:44:47 2013: /usr/lib/libasound.so.2(snd_config_update+0x48)[0xb75ffaf8]
Thu Jan 10 15:44:47 2013: /usr/lib/libasound.so.2(snd_ctl_open+0x37)[0xb760aa47]
Thu Jan 10 15:44:47 2013: /usr/sbin/alsactl[0x804eeeb]
Thu Jan 10 15:44:47 2013: /usr/sbin/alsactl[0x8051b73]
Thu Jan 10 15:44:47 2013: /usr/sbin/alsactl[0x804c529]
Thu Jan 10 15:44:47 2013: /usr/lib/libc.so.6(__libc_start_main+0xf5)[0xb73e3825]
Thu Jan 10 15:44:47 2013: /usr/sbin/alsactl[0x804c61d]
Thu Jan 10 15:44:47 2013: ======= Memory map: ========
Thu Jan 10 15:44:47 2013: 08048000-0805d000 r-xp 00000000 08:05 4209728 /usr/sbin/alsactl
Thu Jan 10 15:44:47 2013: 0805d000-0805e000 r--p 00014000 08:05 4209728 /usr/sbin/alsactl
Thu Jan 10 15:44:47 2013: 0805e000-0805f000 rw-p 00015000 08:05 4209728 /usr/sbin/alsactl
Thu Jan 10 15:44:47 2013: 08de7000-08e08000 rw-p 00000000 00:00 0 [heap]
Thu Jan 10 15:44:47 2013: b735f000-b737b000 r-xp 00000000 08:05 4194722 /usr/lib/libgcc_s.so.1
Thu Jan 10 15:44:47 2013: b737b000-b737c000 rw-p 0001b000 08:05 4194722 /usr/lib/libgcc_s.so.1
Thu Jan 10 15:44:47 2013: b73ad000-b73b8000 r-xp 00000000 08:05 4194660 /usr/lib/libnss_files-2.17.so
Thu Jan 10 15:44:47 2013: b73b8000-b73b9000 r--p 0000a000 08:05 4194660 /usr/lib/libnss_files-2.17.so
Thu Jan 10 15:44:47 2013: b73b9000-b73ba000 rw-p 0000b000 08:05 4194660 /usr/lib/libnss_files-2.17.so
Thu Jan 10 15:44:47 2013: b73ba000-b73bb000 rw-p 00000000 00:00 0
Thu Jan 10 15:44:47 2013: b73bb000-b73c2000 r-xp 00000000 08:05 4194641 /usr/lib/librt-2.17.so
Thu Jan 10 15:44:47 2013: b73c2000-b73c3000 r--p 00006000 08:05 4194641 /usr/lib/librt-2.17.so
Thu Jan 10 15:44:47 2013: b73c3000-b73c4000 rw-p 00007000 08:05 4194641 /usr/lib/librt-2.17.so
Thu Jan 10 15:44:47 2013: b73c4000-b73c5000 rw-p 00000000 00:00 0
Thu Jan 10 15:44:47 2013: b73c5000-b73c8000 r-xp 00000000 08:05 4194636 /usr/lib/libdl-2.17.so
Thu Jan 10 15:44:47 2013: b73c8000-b73c9000 r--p 00002000 08:05 4194636 /usr/lib/libdl-2.17.so
Thu Jan 10 15:44:47 2013: b73c9000-b73ca000 rw-p 00003000 08:05 4194636 /usr/lib/libdl-2.17.so
Thu Jan 10 15:44:47 2013: b73ca000-b7575000 r-xp 00000000 08:05 4194612 /usr/lib/libc-2.17.so
Thu Jan 10 15:44:47 2013: b7575000-b7577000 r--p 001ab000 08:05 4194612 /usr/lib/libc-2.17.so
Thu Jan 10 15:44:47 2013: b7577000-b7578000 rw-p 001ad000 08:05 4194612 /usr/lib/libc-2.17.so
Thu Jan 10 15:44:47 2013: b7578000-b757b000 rw-p 00000000 00:00 0
Thu Jan 10 15:44:47 2013: b757b000-b7592000 r-xp 00000000 08:05 4194632 /usr/lib/libpthread-2.17.so
Thu Jan 10 15:44:47 2013: b7592000-b7593000 r--p 00016000 08:05 4194632 /usr/lib/libpthread-2.17.so
Thu Jan 10 15:44:47 2013: b7593000-b7594000 rw-p 00017000 08:05 4194632 /usr/lib/libpthread-2.17.so
Thu Jan 10 15:44:47 2013: b7594000-b7596000 rw-p 00000000 00:00 0
Thu Jan 10 15:44:47 2013: b7596000-b75d7000 r-xp 00000000 08:05 4194658 /usr/lib/libm-2.17.so
Thu Jan 10 15:44:47 2013: b75d7000-b75d8000 r--p 00040000 08:05 4194658 /usr/lib/libm-2.17.so
Thu Jan 10 15:44:47 2013: b75d8000-b75d9000 rw-p 00041000 08:05 4194658 /usr/lib/libm-2.17.so
Thu Jan 10 15:44:47 2013: b75d9000-b76c9000 r-xp 00000000 08:05 4250765 /usr/lib/libasound.so.2.0.0
Thu Jan 10 15:44:47 2013: b76c9000-b76cd000 r--p 000ef000 08:05 4250765 /usr/lib/libasound.so.2.0.0
Thu Jan 10 15:44:47 2013: b76cd000-b76ce000 rw-p 000f3000 08:05 4250765 /usr/lib/libasound.so.2.0.0
Thu Jan 10 15:44:47 2013: b76fe000-b7700000 rw-p 00000000 00:00 0
Thu Jan 10 15:44:47 2013: b7700000-b7701000 r-xp 00000000 00:00 0 [vdso]
Thu Jan 10 15:44:47 2013: b7701000-b7721000 r-xp 00000000 08:05 4194619 /usr/lib/ld-2.17.so
Thu Jan 10 15:44:47 2013: b7721000-b7722000 r--p 0001f000 08:05 4194619 /usr/lib/ld-2.17.so
Thu Jan 10 15:44:47 2013: b7722000-b7723000 rw-p 00020000 08:05 4194619 /usr/lib/ld-2.17.so
Thu Jan 10 15:44:47 2013: bfec1000-bfee2000 rw-p 00000000 00:00 0 [stack]
Thu Jan 10 15:44:47 2013: /etc/rc.d/alsa: línea 7: 481 Abortado (`core' generado) /usr/sbin/alsactl $ALSA_ARGS restore
Thu Jan 10 15:44:47 2013: [FAIL] kmix, kmixctrl and knotify crashing when kde start.
I guess is because alsa errors, but here is the knotify crash trace:
Application: KNotify (knotify4), signal: Aborted
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xb4fca740 (LWP 1790))]
Thread 2 (Thread 0xb1d0ab40 (LWP 1791)):
#0 0xb77ba424 in __kernel_vsyscall ()
#1 0xb5f3aecb in read () from /usr/lib/libc.so.6
#2 0xb588df1e in ?? () from /usr/lib/libglib-2.0.so.0
#3 0xb584d5eb in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#4 0xb584da42 in ?? () from /usr/lib/libglib-2.0.so.0
#5 0xb584dc11 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#6 0xb62a191f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7 0xb626e47c in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8 0xb626e771 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#9 0xb615942c in QThread::exec() () from /usr/lib/libQtCore.so.4
#10 0xb624ca8d in ?? () from /usr/lib/libQtCore.so.4
#11 0xb615c818 in ?? () from /usr/lib/libQtCore.so.4
#12 0xb59f6d08 in start_thread () from /usr/lib/libpthread.so.0
#13 0xb5f4bcce in clone () from /usr/lib/libc.so.6
Thread 1 (Thread 0xb4fca740 (LWP 1790)):
[KCrash Handler]
#6 0xb77ba424 in __kernel_vsyscall ()
#7 0xb5e8980f in raise () from /usr/lib/libc.so.6
#8 0xb5e8b0f3 in abort () from /usr/lib/libc.so.6
#9 0xb5ecaec5 in __libc_message () from /usr/lib/libc.so.6
#10 0xb5ed14b2 in malloc_printerr () from /usr/lib/libc.so.6
#11 0xb5ed2200 in _int_free () from /usr/lib/libc.so.6
#12 0xb1e21e7d in snd_config_substitute () from /usr/lib/libasound.so.2
#13 0xb1e23945 in ?? () from /usr/lib/libasound.so.2
#14 0xb1e245ae in snd_config_update_r () from /usr/lib/libasound.so.2
#15 0xb1e24af8 in snd_config_update () from /usr/lib/libasound.so.2
#16 0xb1e4651f in snd_pcm_open () from /usr/lib/libasound.so.2
#17 0xb0e97c1a in ?? () from /usr/lib/gstreamer-0.10/libgstalsa.so
#18 0xb0e4a723 in ?? () from /usr/lib/libgstaudio-0.10.so.0
#19 0xb0e275cd in gst_ring_buffer_open_device () from /usr/lib/libgstaudio-0.10.so.0
#20 0xb0e45fe6 in ?? () from /usr/lib/libgstaudio-0.10.so.0
#21 0xb1139c8b in gst_element_change_state () from /usr/lib/libgstreamer-0.10.so.0
#22 0xb113a6b5 in ?? () from /usr/lib/libgstreamer-0.10.so.0
#23 0xb11399c1 in gst_element_set_state () from /usr/lib/libgstreamer-0.10.so.0
#24 0xb1dcd605 in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_gstreamer.so
#25 0xb1dcd8b1 in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_gstreamer.so
#26 0xb1dce72a in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_gstreamer.so
#27 0xb1dcf35b in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_gstreamer.so
#28 0xb1dc7746 in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_gstreamer.so
#29 0xb1dc7a5b in qt_plugin_instance () from /usr/lib/kde4/plugins/phonon_backend/phonon_gstreamer.so
#30 0xb62527a0 in QPluginLoader::instance() () from /usr/lib/libQtCore.so.4
#31 0xb20ba12c in ?? () from /usr/lib/kde4/plugins/phonon_platform/kde.so
#32 0xb20bab79 in ?? () from /usr/lib/kde4/plugins/phonon_platform/kde.so
#33 0xb7300408 in ?? () from /usr/lib/libphonon.so.4
#34 0xb7300c4b in Phonon::Factory::backend(bool) () from /usr/lib/libphonon.so.4
#35 0xb73010e6 in ?? () from /usr/lib/libphonon.so.4
#36 0xb72f8e29 in ?? () from /usr/lib/libphonon.so.4
#37 0xb72f5c79 in ?? () from /usr/lib/libphonon.so.4
#38 0x08054114 in _start ()Have somebody any ideas to solve this? XD
Last edited by fpilee (2013-01-10 19:34:09)
Offline
solved removing the initscript and the old /etc/asound.conf.
Offline
Also, if you want to get the most out of your 4 GB, and not just the 3.21 or whatever, I highly recommend (if you have the time to reinstall) installing the X86_64 Arch. If you don't want to remove everything, you could try this out: https://wiki.archlinux.org/index.php/Mi … installing
You could also try a PAE kernel, but it's unsupported, and I haven't used it, but it could be worth trying (you can keep the stock kernel too just in case): https://aur.archlinux.org/packages/linux-pae/
Offline