Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[OSS] probleme installation
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
nevro
Tux's lil' helper
Tux's lil' helper


Joined: 13 Nov 2004
Posts: 149
Location: France

PostPosted: Fri Jan 20, 2006 11:31 pm    Post subject: [OSS] probleme installation Reply with quote

Bonjour,
j'ai un probleme lorsque je charge mes modules OSS, je m''explique,voulant jouer ,je dois,apparament,installer OSS car je ne tournais que sur ALSA,donc j'ai compilé les modules en dur nécessaires dans le noyau,et lors du chargement de mes modules,j'ai l'erreur suivant :

Code:
Running modules-update...
Loading driver...
 * Loading ALSA modules ...
 *   Loading: snd-card-0 ...
WARNING: Error inserting snd_timer (/lib/modules/2.6.14-gentoo-r5/alsa-driver/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_pcm (/lib/modules/2.6.14-gentoo-r5/alsa-driver/acore/snd-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_ac97_codec (/lib/modules/2.6.14-gentoo-r5/alsa-driver/pci/ac97/snd-ac97-codec.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_intel8x0 (/lib/modules/2.6.14-gentoo-r5/alsa-driver/pci/snd-intel8x0.ko): Unknown symbol in module, or unknown parameter (see  [ !! ] *   Loading: snd-seq ...
WARNING: Error inserting snd_seq_device (/lib/modules/2.6.14-gentoo-r5/alsa-driver/acore/seq/snd-seq-device.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_timer (/lib/modules/2.6.14-gentoo-r5/alsa-driver/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_seq (/lib/modules/2.6.14-gentoo-r5/alsa-driver/acore/seq/snd-seq.ko): Unknown symbol in module, or unknown parameter (see dme  [ !! ] * ERROR: Failed to load necessary drivers                                [ ok ] * Restoring Mixer Levels ...                                             [ ok ]Setting default volumes...


donc j'ai été voir dans mon dmesg :

Code:
snd_intel8x0: Unknown symbol snd_ac97_pcm_open
snd_intel8x0: Unknown symbol snd_ac97_set_rate
snd_intel8x0: Unknown symbol snd_ac97_update_bits
snd_intel8x0: Unknown symbol snd_ac97_mixer
snd_intel8x0: Unknown symbol snd_ac97_bus
snd_intel8x0: Unknown symbol snd_verbose_printk
snd_intel8x0: Unknown symbol snd_ac97_pcm_double_rate_rules
snd_intel8x0: disagrees about version of symbol snd_card_new
snd_intel8x0: Unknown symbol snd_card_new
snd_intel8x0: Unknown symbol snd_ac97_suspend
snd_intel8x0: disagrees about version of symbol snd_pcm_lib_malloc_pages
snd_intel8x0: Unknown symbol snd_pcm_lib_malloc_pages
snd_intel8x0: disagrees about version of symbol snd_pcm_lib_ioctl
snd_intel8x0: Unknown symbol snd_pcm_lib_ioctl
snd_intel8x0: disagrees about version of symbol snd_pcm_lib_free_pages
snd_intel8x0: Unknown symbol snd_pcm_lib_free_pages
snd_intel8x0: disagrees about version of symbol snd_pcm_set_ops
snd_intel8x0: Unknown symbol snd_pcm_set_ops
snd_intel8x0: disagrees about version of symbol snd_card_set_pm_callback
snd_intel8x0: Unknown symbol snd_card_set_pm_callback
snd_intel8x0: disagrees about version of symbol snd_pcm_hw_constraint_list
snd_intel8x0: Unknown symbol snd_pcm_hw_constraint_list
snd_intel8x0: disagrees about version of symbol snd_device_new
snd_intel8x0: Unknown symbol snd_device_new
snd_intel8x0: Unknown symbol snd_ac97_get_short_name
snd_intel8x0: disagrees about version of symbol snd_pcm_suspend_all
snd_intel8x0: Unknown symbol snd_pcm_suspend_all
snd_intel8x0: Unknown symbol snd_ac97_pcm_assign
snd_intel8x0: disagrees about version of symbol snd_pcm_hw_constraint_integer
snd_intel8x0: Unknown symbol snd_pcm_hw_constraint_integer
snd_intel8x0: disagrees about version of symbol snd_pcm_hw_constraint_msbits
snd_intel8x0: Unknown symbol snd_pcm_hw_constraint_msbits
snd_intel8x0: disagrees about version of symbol snd_pcm_period_elapsed
snd_intel8x0: Unknown symbol snd_pcm_period_elapsed
snd_intel8x0: Unknown symbol snd_ac97_tune_hardware
kobject_register failed for snd (-17)
 [<c024d0a9>] kobject_register+0x49/0x80
 [<c01385c0>] mod_sysfs_setup+0x50/0xc0
 [<c01399c7>] load_module+0x9e7/0xd10
 [<c015196f>] free_pgtables+0x6f/0x90
 [<c0139d81>] sys_init_module+0x61/0x210
 [<c0103155>] syscall_call+0x7/0xb
snd_timer: disagrees about version of symbol snd_info_register
snd_timer: Unknown symbol snd_info_register
snd_timer: disagrees about version of symbol snd_info_create_module_entry
snd_timer: Unknown symbol snd_info_create_module_entry
snd_timer: disagrees about version of symbol snd_info_free_entry
snd_timer: Unknown symbol snd_info_free_entry
snd_timer: Unknown symbol snd_verbose_printk
snd_timer: disagrees about version of symbol snd_unregister_device
snd_timer: Unknown symbol snd_unregister_device
snd_timer: disagrees about version of symbol snd_device_new
snd_timer: Unknown symbol snd_device_new
snd_timer: disagrees about version of symbol snd_info_unregister
snd_timer: Unknown symbol snd_info_unregister
snd_timer: disagrees about version of symbol snd_register_device
snd_timer: Unknown symbol snd_register_device
snd_pcm: disagrees about version of symbol snd_info_register
snd_pcm: Unknown symbol snd_info_register
[...]


bon ce qui nous aide pas beaucoup.J'ai lu les differents post sur le forum en changeant de technique d'installation,mais l'erreur est redondante,donc j'espere que quelqu'un pourra m'aider
Back to top
View user's profile Send private message
ghoti
Advocate
Advocate


Joined: 30 Dec 2002
Posts: 3634
Location: Belgium

PostPosted: Sat Jan 21, 2006 12:25 am    Post subject: Re: [OSS] probleme installation Reply with quote

nevro wrote:
donc j'ai compilé les modules en dur nécessaires dans le noyau,et lors du chargement de mes modules,j'ai l'erreur suivant :

Suis pas sûr d'avoir bien compris : si les "modules" sont compilés "en dur", ils font partie intégrante du noyau et il n'y a donc pas lieu de les charger ...
Question terminologie, "module" signifie précisément que le driver n'est pas compilé en dur !

Quote:
je dois,apparament,installer OSS car je ne tournais que sur ALSA

Pour dissiper tout malentendu : tu parles bien du support OSS dans ALSA et pas des drivers OSS purs ? (ces derniers sont obsolètes !)

[EDIT] Si tu parles bien d'ALSA, s'agit-il des drivers fournis avec le noyau ou bien les drivers séparés (media-sound/alsa-driver)
Back to top
View user's profile Send private message
nevro
Tux's lil' helper
Tux's lil' helper


Joined: 13 Nov 2004
Posts: 149
Location: France

PostPosted: Sat Jan 21, 2006 9:09 am    Post subject: Reply with quote

en effet,je me suis tres mal exprimé,j'ai essayé de charger OSS,soit en le mettant en dur dans le noyau,soit en tant que modules,mais dans les deux cas,j'ai la meme erreur.

Quote:
[EDIT] Si tu parles bien d'ALSA, s'agit-il des drivers fournis avec le noyau ou bien les drivers séparés (media-sound/alsa-driver)


j'ai install alsa-driver
Back to top
View user's profile Send private message
coco-loco
Apprentice
Apprentice


Joined: 30 Oct 2005
Posts: 249

PostPosted: Sat Jan 21, 2006 9:49 am    Post subject: Reply with quote

Normalement il suffirait d'utiliser le module alsa-oss pour arriver a ton but.

Par contre tes messages semblent indiquer que tu n'as pas compilé ton noyau avec le même compilateur que les modules, ou alors carrément des modules de versions qui ne correspondent pas avec celle de ton module snd_intel8x0.

Consulte le tutoriel ici: HOWTO_ALSA
Back to top
View user's profile Send private message
ghoti
Advocate
Advocate


Joined: 30 Dec 2002
Posts: 3634
Location: Belgium

PostPosted: Sat Jan 21, 2006 9:56 am    Post subject: Re: [OSS] probleme installation Reply with quote

nevro wrote:
donc j'ai été voir dans mon dmesg :

[code]snd_intel8x0: Unknown symbol snd_ac97_pcm_open/code]

bon ce qui nous aide pas beaucoup.J'ai lu les differents post sur le forum en changeant de technique d'installation,mais l'erreur est redondante,donc j'espere que quelqu'un pourra m'aider

Ce genre d'erreur survient souvent lorsqu'on tente de charger un driver compilé pour un noyau qui n'est pas celui en cours d'exécution.
Pourrais-tu décrire exactement ta technique d'installation ?

Il me semble aussi que tu te compliques inutilement la vie en utilisant le package alsa-driver plutôt que l'implémentation fournie avec le noyau !
A mon avis, les bénéfices sont relativement minces en regard des contraintes que cela impose :
- Bénéfice : disposer de la toute dernière version (correction éventuelle de bugs)
- Contrainte : il faut penser à recompiler alsa-driver après chaque modif du noyau (alors qu'avec les drivers du noyau, c'est automatique !)
Back to top
View user's profile Send private message
Talosectos
Guru
Guru


Joined: 31 Aug 2004
Posts: 329
Location: Bugey-Libre

PostPosted: Sat Jan 21, 2006 10:54 am    Post subject: Re: [OSS] probleme installation Reply with quote

ghoti wrote:

Il me semble aussi que tu te compliques inutilement la vie en utilisant le package alsa-driver plutôt que l'implémentation fournie avec le noyau !
A mon avis, les bénéfices sont relativement minces en regard des contraintes que cela impose :
- Bénéfice : disposer de la toute dernière version (correction éventuelle de bugs)
- Contrainte : il faut penser à recompiler alsa-driver après chaque modif du noyau (alors qu'avec les drivers du noyau, c'est automatique !)

+1
Il est en effet beaucoup plus simple d'utiliser les drivers du noyau, c'est beaucoup plus simple à maintenir.
Je te conseille aussi fortement la lecture du guide Alsa pour Gentoo Linux.
_________________
Comité de lutte contre le language sms et les fautes volontaires
Utilisez la fonction recherche !
Back to top
View user's profile Send private message
nevro
Tux's lil' helper
Tux's lil' helper


Joined: 13 Nov 2004
Posts: 149
Location: France

PostPosted: Sat Jan 21, 2006 12:10 pm    Post subject: Reply with quote

alors ma technique d'installation est simple : j'ai tout simplement pas utilisé les drivers du noyau,j'ai emerge alsa-driver,alsa-utils,et alsa-oss

ensuite j'ai fait un alsaconf et voila le tour était joué. J'ai decidé d'install les drivers via emerge car j'avé un probleme pour le "multisound",je n'arrivait pas a avoir 2 sons differents en meme temps,via cette methode d'installation et suite a la lecture des post de personnes ayant eu le meme probeleme,'jy arrive maintenant.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum