FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > 64 Studio > 64 Studio User

 
 
LinkBack Thread Tools
 
Old 06-20-2008, 01:15 PM
Ralf Mardorf
 
Default ALSA cannot find the slot for index 0

Hi

before I tried to install the proprietary ATI graphic driver all sound
cards were fine with both 64 Studio 2.1 and the upgrade to 64 Studio
Lenny (an upgrade for some needed packages).

Until I tried to install the driver I get this error:

spinymouse@64studio:~$ dmesg | grep alsa
ALSA /usr/src/modules/alsa-driver/acore/init.c:174: cannot find the slot
for index 0 (range 0-1), error: -16
spinymouse@64studio:~$

More from dmesg:

[...]
ALSA /usr/src/modules/alsa-driver/acore/init.c:174: cannot find the slot
for index 0 (range 0-1), error: -16
ICE1712: probe of 0000:03:06.0 failed with error -12
usb 2-1: string descriptor 0 too short
usb 2-1: string descriptor 0 too short
usbcore: registered new interface driver snd-usb-audio
[...]

spinymouse@64studio:/usr/src/modules$ ls
fglrx
spinymouse@64studio:/usr/src/modules$

There is only a folder fgrlx in /usr/src/modules, fgrlx has to do with
ATI graphics.

All sound devices are fine, but the TerraTec ICE1712. Qjackctl list the
sound devices like this:

hw:0 HDA ATI HDMI
hw:1 HDA ATI SB
hw:1,x [...]
hw:2 USB Device [...]

The hws should be incremented and hw:0 should be the TerraTec, like it
was before, when I used vesa. I'm back to vesa but the trouble is still
the same.

Jack messages:

15:01:15.981 Patchbay deactivated.

15:01:16.024 Statistics reset.

15:01:16.068 ALSA connection graph change.

15:01:21.048 ALSA connection change.

15:01:28.927 Startup script...

15:01:28.927 artsshell -q terminate

15:01:29.348 Startup script terminated with exit status=256.

15:01:29.349 JACK is starting...

15:01:29.349 /usr/bin/jackd -R -dalsa -r44100 -p1024 -n2 -D -Chw:0 -Phw:0

15:01:29.352 JACK was started with PID=1726.

jackd 0.109.2

Copyright 2001-2005 Paul Davis and others.

jackd comes with ABSOLUTELY NO WARRANTY

This is free software, and you are welcome to redistribute it

under certain conditions; see the file COPYING for details

JACK compiled with System V SHM support.

cannot lock down memory for jackd (Cannot allocate memory)

loading driver ..

Enhanced3DNow! detected

SSE2 detected

apparent rate = 44100

creating alsa driver ... hw:0|hw:0|1024|2|44100|0|0|nomon|swmeter|-|32bit

control device hw:0

ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to
capture-only mode

cannot load driver module alsa

no message buffer overruns

15:01:29.365 JACK was stopped successfully.

15:01:29.365 Post-shutdown script...

15:01:29.366 killall jackd

jackd: no process killed

15:01:29.776 Post-shutdown script terminated with exit status=256.

15:01:31.458 Could not connect to JACK server as client. - Overall
operation failed. - Unable to connect to server. Please check the
messages window for more info.

------------------------------------------------------------------------


The repository for Lenny is disabled, I "reinstalled" the following 64
Studio 2.1/Etch packages:

Commit Log for Fri Jun 20 14:11:36 2008
Completely removed the following packages:
xorg

Commit Log for Fri Jun 20 14:13:08 2008
Removed the following packages:
libgl1-mesa-swx11
libgl1-mesa-swx11-dbg
libgl1-mesa-swx11-dev
Installed the following packages:
libgl1-mesa-dri (6.5.1-0.6)
libgl1-mesa-glx (6.5.1-0.6)
xorg (1:7.1.0-19)

Commit Log for Fri Jun 20 14:16:32 2008
Reinstalled the following packages:
alsa-firmware (1.0.15-1~etch1)
alsa-firmware-loaders (1.0.13-1)
alsa-modules-2.6.21-1-multimedia-amd64 (1.0.17~hg080328-1+2.6.21-2)
linux-image-2.6.21-1-multimedia-amd64 (2.6.21-2)

I can run alsaconf to get back my main sound card, TerraTec, but than I
will lose all other devices, this is a problem, because I need the
USB-MIDI-device. Normally sound cards will lose when running alsaconf
but not the USB-MIDI-device.

Alsa-base seems to be fine:

# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7
[...]
install snd-ice1724 /sbin/modprobe --ignore-install snd-ice1724
$CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-ice1724
[...]
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
# Fix indexes for the spymo DAW
alias snd-card-0 snd-ice1712
options snd-ice1712 index=0
alias snd-card-1 snd-hda-intel
options snd-hda-intel index=1
alias snd-card-2 snd-usb-audio
options snd-usb-audio index=2

Any ideas?

If it's not because of the proprietary ATI driver, it seems to be one of
these obscure Linux errors caused by nothing.

Cheers,
Ralf

_______________________________________________
64studio-users mailing list
64studio-users@64studio.com
http://lists.64studio.com/mailman/listinfo/64studio-users
 

Thread Tools




All times are GMT. The time now is 01:05 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org