Fallito caricamento snd-seq

Discussioni sul progetto ROSA e aiuto agli utenti
User avatar
oiram73
Utente senior
Utente senior
Posts: 405
Joined: 5 January 2009, 13:33
ROSA: -
OpenMandriva: 2014
Kernel: 3.19.8-nrjQL-realtim
Desktop: KDE 4.14.3
country: Italia
Location: Perugia
Contact:

Fallito caricamento snd-seq

Post by oiram73 »

Salve!
Da qualche giorno il modulo snd-seq non viene più caricato automaticamente all'avvio benché sia inserito nel file /etc/modprobe.conf
e sia all'avvio che a login effettuato ho questo messaggio:

Code: Select all

[root@localhost modprobe.d]# systemctl start systemd-modules-load.service
Job failed. See system logs and 'systemctl status' for details.
[root@localhost modprobe.d]# systemctl status systemd-modules-load.service
systemd-modules-load.service - Load Kernel Modules
Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static)
Active: failed since Fri, 16 Nov 2012 00:56:08 +0100; 8s ago
Process: 6029 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
CGroup: name=systemd:/system/systemd-modules-load.service
 
Nov 16 00:56:07 localhost.localdomain modprobe[6029]: WARNING: Deprecated config file /etc/modprobe.conf, all config files bel...e.d/.
[root@localhost modprobe.d]#
A login effettuato :

Code: Select all

[root@localhost ~]# modprobe snd-seq
WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
[root@localhost ~]# 
il modulo viene caricato ma all'avvio successivo devo ricaricare il modulo manualmente!
Qualcuno ha qualche idea? Grazie!
OMA-2014
oiram/bin/selom
Da ognuno secondo le proprie capacità ad ognuno secondo i propri bisogni!

User avatar
azioga
Utente senior
Utente senior
Posts: 336
Joined: 8 December 2010, 22:06
ROSA: -
OpenMandriva: 2010.2 32bit
Kernel: 3.2.28-nrj-desktop-p
Desktop: kde 4.5.5
country: italy

Re: Fallito caricamento snd-seq

Post by azioga »

potresti provare a consultare il Journal di systemd.

dovrebbe essere una cosa di questo tipo:

Code: Select all

journalctl  _PID=6029
forse ritorna qualcosa di interessante.

Ciao, Luca.

User avatar
oiram73
Utente senior
Utente senior
Posts: 405
Joined: 5 January 2009, 13:33
ROSA: -
OpenMandriva: 2014
Kernel: 3.19.8-nrjQL-realtim
Desktop: KDE 4.14.3
country: Italia
Location: Perugia
Contact:

Re: Fallito caricamento snd-seq

Post by oiram73 »

Nel /var/log/syslog viene riportato il messaggio che ho già postato ma del tuo "_PID" non c'è traccia!
OMA-2014
oiram/bin/selom
Da ognuno secondo le proprie capacità ad ognuno secondo i propri bisogni!

User avatar
azioga
Utente senior
Utente senior
Posts: 336
Joined: 8 December 2010, 22:06
ROSA: -
OpenMandriva: 2010.2 32bit
Kernel: 3.2.28-nrj-desktop-p
Desktop: kde 4.5.5
country: italy

Re: Fallito caricamento snd-seq

Post by azioga »

_PID dovrebbe riportarti solo il log relativo al proceso

nel tuo esempio c'era "Process: 6029", ma forse hai riavviato ed il processo è cambiato.

In /etc/modprobe.conf hai qualcosa ?

Se si, non puoi provare a spostarlo dove dice lui?

Il sistema è quello in firma?


Se metti il modprobe in /etc/rc.local il modulo viene caricato?

è per caso in blacklist?

Ciao

User avatar
oiram73
Utente senior
Utente senior
Posts: 405
Joined: 5 January 2009, 13:33
ROSA: -
OpenMandriva: 2014
Kernel: 3.19.8-nrjQL-realtim
Desktop: KDE 4.14.3
country: Italia
Location: Perugia
Contact:

Re: Fallito caricamento snd-seq

Post by oiram73 »

azioga wrote:_PID dovrebbe riportarti solo il log relativo al proceso

nel tuo esempio c'era "Process: 6029", ma forse hai riavviato ed il processo è cambiato.

Code: Select all

Nov 17 22:27:25 localhost.localdomain modprobe[28673]: WARNING: Deprecated config file /etc/modprobe.conf, all config files be...e.d/.
Nov 17 22:27:25 localhost.localdomain modprobe[28673]: WARNING: Module alias sound_slot_0 snd_hda_intel snd_seq not found.
In /etc/modprobe.conf hai qualcosa ?
alias sound-slot-0 snd_hda_intel snd_seq
options snd-ac97-codec power_save=1
Se si, non puoi provare a spostarlo dove dice lui?
Fatto ma non cambia niente!
Il sistema è quello in firma?
Si e succede con tutti i kernel anche con 3.6.6

Se metti il modprobe in /etc/rc.local il modulo viene caricato?
E come si fa?
è per caso in blacklist?
No! Ho controllato.

Ciao[/quote]
OMA-2014
oiram/bin/selom
Da ognuno secondo le proprie capacità ad ognuno secondo i propri bisogni!

User avatar
azioga
Utente senior
Utente senior
Posts: 336
Joined: 8 December 2010, 22:06
ROSA: -
OpenMandriva: 2010.2 32bit
Kernel: 3.2.28-nrj-desktop-p
Desktop: kde 4.5.5
country: italy

Re: Fallito caricamento snd-seq

Post by azioga »

WARNING: Module alias sound_slot_0 snd_hda_intel snd_seq not found.

questo not found non mi piace....

è la prima volta che incontro tre argomenti dopo l'alias...


in /etc/rc.local dovresti aggiungere la riga

modprobe snd_seq


assicurandoti che il servizio rc.local parta al boot.

User avatar
NicCo
Amministratore
Amministratore
Posts: 4765
Joined: 6 December 2007, 19:54

Re: Fallito caricamento snd-seq

Post by NicCo »

Non hai ben specificato all'inizio se ti riferisci a:
ROSA Marathon (RM2012 o 2012.0) oppure alla versione in sviluppo ROSA Desktop 2012 (2012.1)?


su 2012.1 esistono problemi con altri moduli audio, che non vengono caricati e neanche possono:
mi riferisco a a quelli di OSS, come /dev/dsp, dev/adsp, /dev/audio, ecc...

ho letto che OSS dovrebbe essere sostituito da CUSE /dev/cuse, ma seguendo le guide di Fedora
per l'attivazione, non riesco ad averne accesso (niente accesso a /dev/cuse, neanche da root)
http://fedoraproject.org/wiki/Features/OSSProxy

mi hanno suggerito di provare ad usare padsp (PulseAudio OSS wrapper), ma non risolve alcunchè
http://fedoraproject.org/wiki/Releases/ ... Pulseaudio
http://fedorasolved.org/Members/fenris0 ... orkarounds
http://linuxmanpages.net/manpages/fedor ... dsp.1.html


circa questi problemi, e sopratutto la mancanza di /dev/dsp attivabile, in qualche modo,
che ho già comunicato sin da alcune settimane addietro e spero vengano corretti al più presto...



Ciao, NicCo
.
--- Professional experience ---
Kernel designer, engineer, maintainer and tester for ROSA Desktop and OpenMandriva Lx O.S.

--- currently I'm playing with ---
LTS Kernels > Linux 4.1.12-nrjQL <<< Linux 3.18.17-nrjQL <<< Linux 3.14.46-nrjQL
EOL Kernels > Linux 3.19.8-nrjQL <<< Linux 3.17.8-nrjQL <<< Linux 3.15.10-nrjQL

User avatar
azioga
Utente senior
Utente senior
Posts: 336
Joined: 8 December 2010, 22:06
ROSA: -
OpenMandriva: 2010.2 32bit
Kernel: 3.2.28-nrj-desktop-p
Desktop: kde 4.5.5
country: italy

Re: Fallito caricamento snd-seq

Post by azioga »

mai i moduli oss non sono solo blacklisted?


/etc/modprobe.d/snd-oss.conf

Code: Select all

utente@Rosa ~ $ cd /dev
utente@Rosa /dev $ ls
adsp             loop3               ram13       tty0   tty37  tty8
audio            loop4               ram14       tty1   tty38  tty9
autofs           loop5               ram15       tty10  tty39  ttyS0
block/           loop6               ram2        tty11  tty4   ttyS1
bsg/             loop7               ram3        tty12  tty40  ttyS2
btrfs-control    loop-control        ram4        tty13  tty41  ttyS3
bus/             lp0                 ram5        tty14  tty42  uinput
cdrom@           lp1                 ram6        tty15  tty43  urandom
char/            lp2                 ram7        tty16  tty44  vboxguest
console          lp3                 ram8        tty17  tty45  vboxuser
core@            mapper/             ram9        tty18  tty46  vcs
cpu/             mcelog              random      tty19  tty47  vcs1
cpu_dma_latency  mem                 resume@     tty2   tty48  vcs12
dev/             mixer               rfkill      tty20  tty49  vcs2
disk/            mqueue/             rtc@        tty21  tty5   vcs3
dsp              net/                rtc0        tty22  tty50  vcs4
fb0              network_latency     sda         tty23  tty51  vcs5
fd@              network_throughput  sda1        tty24  tty52  vcs6
full             null                sda2        tty25  tty53  vcs7
fuse             oldmem              sda5        tty26  tty54  vcsa
hidraw0          pktcdvd/            sda6        tty27  tty55  vcsa1
hpet             port                sequencer   tty28  tty56  vcsa12
hugepages/       ppp                 sequencer2  tty29  tty57  vcsa2
initctl|         psaux               shm/        tty3   tty58  vcsa3
input/           ptmx                snapshot    tty30  tty59  vcsa4
kmem             pts/                snd/        tty31  tty6   vcsa5
kmsg             ram0                sr0         tty32  tty60  vcsa6
log=             ram1                stderr@     tty33  tty61  vcsa7
loop0            ram10               stdin@      tty34  tty62  vga_arbiter
loop1            ram11               stdout@     tty35  tty63  vhost-net
loop2            ram12               tty         tty36  tty7   zero




Ciao, Luca.

User avatar
NicCo
Amministratore
Amministratore
Posts: 4765
Joined: 6 December 2007, 19:54

Re: Fallito caricamento snd-seq

Post by NicCo »

azioga wrote:mai i moduli oss non sono solo blacklisted?
/etc/modprobe.d/snd-oss.conf

Ciao, Luca.
No,è stato cambiato qualcosa nei soundscript, e systemd,
credo in quelle due parti,

forse in questo commit
https://abf.rosalinux.ru/import/sound-s ... 9b7b93ec54

e adesso anche se li de commento,non riesco ad avviarli

neanche se provo con un modprobe manuale
.
--- Professional experience ---
Kernel designer, engineer, maintainer and tester for ROSA Desktop and OpenMandriva Lx O.S.

--- currently I'm playing with ---
LTS Kernels > Linux 4.1.12-nrjQL <<< Linux 3.18.17-nrjQL <<< Linux 3.14.46-nrjQL
EOL Kernels > Linux 3.19.8-nrjQL <<< Linux 3.17.8-nrjQL <<< Linux 3.15.10-nrjQL

User avatar
azioga
Utente senior
Utente senior
Posts: 336
Joined: 8 December 2010, 22:06
ROSA: -
OpenMandriva: 2010.2 32bit
Kernel: 3.2.28-nrj-desktop-p
Desktop: kde 4.5.5
country: italy

Re: Fallito caricamento snd-seq

Post by azioga »

quella che ti ho postato è la situazione della mia 2012.1 beta

con i moduli caricati a manina

Code: Select all

# lsmod | grep snd
snd_seq_dummy          12686  0 
snd_seq_oss            37252  0 
snd_seq_midi_event     14475  1 snd_seq_oss
snd_seq                55378  5 snd_seq_midi_event,snd_seq_oss,snd_seq_dummy
snd_pcm_oss            44723  0 
snd_mixer_oss          22101  1 snd_pcm_oss
snd_seq_device         14137  3 snd_seq,snd_seq_oss,snd_seq_dummy
snd_intel8x0           33096  2 
snd_ac97_codec        105542  1 snd_intel8x0
ac97_bus               12670  1 snd_ac97_codec
snd_pcm                84795  3 snd_pcm_oss,snd_ac97_codec,snd_intel8x0
snd_page_alloc         14036  2 snd_intel8x0,snd_pcm
snd_timer              24318  2 snd_pcm,snd_seq
snd                    66312  14 snd_pcm_oss,snd_ac97_codec,snd_intel8x0,snd_timer,snd_pcm,snd_seq,snd_seq_oss,snd_seq_device,snd_mixer_oss,snd_seq_dummy
soundcore              14599  1 snd


ciao.

User avatar
NicCo
Amministratore
Amministratore
Posts: 4765
Joined: 6 December 2007, 19:54

Re: Fallito caricamento snd-seq

Post by NicCo »

oiram73 wrote:Da qualche giorno il modulo snd-seq non viene più caricato automaticamente all'avvio benché sia inserito nel file /etc/modprobe.conf
If the problem is with RM2012
Kazancev wrote: We dont have any command in modprobe.conf.. And systemd errors not confirmed...
For this people - if it upgrade kernel error may be appear in > 3.4.x, but not in 3.0.x
.
--- Professional experience ---
Kernel designer, engineer, maintainer and tester for ROSA Desktop and OpenMandriva Lx O.S.

--- currently I'm playing with ---
LTS Kernels > Linux 4.1.12-nrjQL <<< Linux 3.18.17-nrjQL <<< Linux 3.14.46-nrjQL
EOL Kernels > Linux 3.19.8-nrjQL <<< Linux 3.17.8-nrjQL <<< Linux 3.15.10-nrjQL

User avatar
azioga
Utente senior
Utente senior
Posts: 336
Joined: 8 December 2010, 22:06
ROSA: -
OpenMandriva: 2010.2 32bit
Kernel: 3.2.28-nrj-desktop-p
Desktop: kde 4.5.5
country: italy

Re: Fallito caricamento snd-seq

Post by azioga »

@oiram

puoi fare una prova di questo tipo(sulla mia 2012.1 con kernel 3.6.6 funziona):

in /etc/modules-load.d/ crei un file per caricare il modulo del tipo

Code: Select all

# more snd_seq.conf
#load snd_seq 
snd_seq

ciao.

User avatar
oiram73
Utente senior
Utente senior
Posts: 405
Joined: 5 January 2009, 13:33
ROSA: -
OpenMandriva: 2014
Kernel: 3.19.8-nrjQL-realtim
Desktop: KDE 4.14.3
country: Italia
Location: Perugia
Contact:

Re: Fallito caricamento snd-seq

Post by oiram73 »

Ho appena RISOLTO!
@ azioga
È sufficiente fare come come hai suggerito prima cioè inserire "modprobe snd-seq" in rc.local ma ad una condizione: rinominare/cancellare /etc/modprobe.conf altrimenti all'avvio il sistema va in loop e non va avanti anche se non freeza!
Evidentemente /etc/modprobe.conf crea solo problemi!
Rimane però questo problema :

Code: Select all

[root@localhost ]# systemctl status systemd-modules-load.service
systemd-modules-load.service - Load Kernel Modules
          Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static)
          Active: failed since Sun, 18 Nov 2012 04:09:10 +0100; 9h ago
         Process: 486 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
          CGroup: name=systemd:/system/systemd-modules-load.service

[root@localhost ]# 
OMA-2014
oiram/bin/selom
Da ognuno secondo le proprie capacità ad ognuno secondo i propri bisogni!

User avatar
azioga
Utente senior
Utente senior
Posts: 336
Joined: 8 December 2010, 22:06
ROSA: -
OpenMandriva: 2010.2 32bit
Kernel: 3.2.28-nrj-desktop-p
Desktop: kde 4.5.5
country: italy

Re: Fallito caricamento snd-seq

Post by azioga »

ti è rimasto qualcosa in /etc/modprobe.d delle prove fatte?

journal _PID=processo cosa ti ritorna?

la seconda soluzione che ti avevo proposto è, a mio parere, più "elegante" nel senso che diciamo al sistema che snd_seq deve partire al boot e lo diciamo nel posto dove devono essere elencati i moduli da far partire all'inizio.


Ciao.


postedit

se esegui da root

Code: Select all

/usr/lib/systemd/systemd-modules-load
cosa dice?

User avatar
oiram73
Utente senior
Utente senior
Posts: 405
Joined: 5 January 2009, 13:33
ROSA: -
OpenMandriva: 2014
Kernel: 3.19.8-nrjQL-realtim
Desktop: KDE 4.14.3
country: Italia
Location: Perugia
Contact:

Re: Fallito caricamento snd-seq

Post by oiram73 »

azioga wrote:ti è rimasto qualcosa in /etc/modprobe.d delle prove fatte?
Niente: l'ho rinominato perciò non viene utilizzato.
journal _PID=processo cosa ti ritorna?
Ho questo

Code: Select all

Nov 18 14:28:35 localhost modprobe[479]: WARNING: Module alias sound_slot_0 snd_hda_intel snd_seq not found.
però la scheda audio funziona!
la seconda soluzione che ti avevo proposto è, a mio parere, più "elegante" nel senso che diciamo al sistema che snd_seq deve partire al boot e lo diciamo nel posto dove devono essere elencati i moduli da far partire all'inizio.
Non sempre l'eleganza paga infatti non funziona: funziona solo con rc.local!
postedit

se esegui da root

Code: Select all

/usr/lib/systemd/systemd-modules-load
cosa dice?
Io ho questo:

Code: Select all

[root@localhost ]# /lib/systemd/systemd-modules-load 
[root@localhost ]# 
OMA-2014
oiram/bin/selom
Da ognuno secondo le proprie capacità ad ognuno secondo i propri bisogni!

Post Reply