LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 05-18-2004, 03:12 AM   #91
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45

Quote:
Originally posted by kenji1903
i noticed a warning at boot time stating something like:
Initializing... FATAL: module hid not found
After that i went back to my old kernel, disable the HID support then things were back to normal, but what if next time i want to plug in a USB mouse? do I re-enable it again?
Yes, you'd have to... I compile that as modules (using RH's kernel as a guideline)
Quote:
Originally posted by kenji1903

I've moved my kernel to /usr/src and tried the process again!
And behold: hahaha
alsamixer: function snd_ctl_open failed for default: No such device

i copied and pasted your portion of /etc/modprobe.conf and changed:
alias snd-card-0 snd-via82xx

Ran:
./configure --with-cards=via82xx --with-oss=yes --with-sequencer=yes && make && make install
./snddevices
Have you already tried a modprobe of the modules
[QUOTE]Originally posted by kenji1903

what else could I have missed?
don't think it matters where I compile the alsa files, right?
I have them all in seperate directories under my home directory
[quote]
See my previous answer
Quote:
Originally posted by kenji1903

another thing is the output of my /sbin/lsmod of my new kernel (2.6.0)...
Module Size Used by
autofs 17472 0
ohci1394 35712 0
ieee1394 83596 1 ohci1394
parport_pc 27464 0
parport 43712 0 parport_pc
hid 17920 0
its only 1/3rd of my old kernel!
How many things did you compile into the kernel as opposed to modules?
 
Old 05-18-2004, 03:29 AM   #92
kenji1903
Member
 
Registered: Apr 2004
Location: M'sia, Aus, Chn
Distribution: Redhat Linux 8 & 9, Fedora Core 2, XP
Posts: 301

Rep: Reputation: 30
ok, i'll compile again

Uh... how do I modprobe my modules?

Geez... thats a good question, haha
A lot I guess... I used "make oldconfig" then modify from there...
Ah, wait... lsmod is the output of the things i compiled into the kernel? hmm... maybe I'll use my old kernel's lsmod as and try to compile the kernel again
 
Old 05-18-2004, 03:37 AM   #93
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
lsmod shows what modules you have loaded, not what is compiled against the kernel, don't worry... I asked because of the (as you pointed out) reduced number of modules.

To modprobe a module (any module) simply run modprobe <module>. In this case you'd want to make sure before you modprobe your modules your modprobe.conf contains the appropriate module options, then just modprobe either snd-via or snd (or soundcore). Check in your kenrel config that you have soundcore (sound support) compiled as module... Only time I compiled it against the kernel I had many problems getting sound to work. Please it'd be a good idea for you to post the ALSA (and OSS-Free) options you have in your modprobe.conf file.
 
Old 05-18-2004, 04:06 AM   #94
kenji1903
Member
 
Registered: Apr 2004
Location: M'sia, Aus, Chn
Distribution: Redhat Linux 8 & 9, Fedora Core 2, XP
Posts: 301

Rep: Reputation: 30
thats what I thought at first

hmm... ok, i'll try that now!
here's my modprobe.conf:
==========================================================
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-via82xx

# module options should go here
# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

alias binfmt-204 binfmt_aout
alias binfmt-263 binfmt_aout
alias binfmt-264 binfmt_aout
alias binfmt-267 binfmt_aout
alias binfmt-387 binfmt_aout
alias binfmt-332 iBCS
alias binfmt--310 binfmt_java
alias block-major-1-* rd
alias block-major-2-* floppy
alias block-major-3-* ide-probe-mod
alias block-major-7-* loop
alias block-major-8-* sd_mod
alias block-major-9-* md
alias block-major-11-* sr_mod
alias block-major-13-* xd
alias block-major-15-* cdu31a
alias block-major-16-* gscd
alias block-major-17-* optcd
alias block-major-18-* sjcd
alias block-major-20-* mcdx
alias block-major-22-* ide-probe-mod
alias block-major-23-* mcd
alias block-major-24-* sonycd535
alias block-major-25-* sbpcd
alias block-major-26-* sbpcd
alias block-major-27-* sbpcd
alias block-major-29-* aztcd
alias block-major-32-* cm206
alias block-major-33-* ide-probe-mod
alias block-major-34-* ide-probe-mod
alias block-major-37-* ide-tape
alias block-major-44-* ftl
alias block-major-46-* pcd
alias block-major-47-* pf
alias block-major-56-* ide-probe-mod
alias block-major-57-* ide-probe-mod
alias block-major-58-* lvm-mod
alias block-major-88-* ide-probe-mod
alias block-major-89-* ide-probe-mod
alias block-major-90-* ide-probe-mod
alias block-major-91-* ide-probe-mod
alias block-major-93-* nftl
alias block-major-97-* pg
alias char-major-4-* serial
alias char-major-5-* serial
alias char-major-6-* lp
alias char-major-9-* st
alias char-major-10-0 busmouse
alias char-major-10-2 msbusmouse
alias char-major-10-3 atixlmouse
alias char-major-10-130 wdt
alias char-major-10-131 wdt
alias char-major-10-135 rtc
alias char-major-10-139 openprom
alias char-major-10-144 nvram
alias char-major-10-157 applicom
alias char-major-10-175 agpgart
alias char-major-10-184 microcode
alias char-major-13-* input
alias char-major-13-32 mousedev
alias char-major-14-* soundcore
alias char-major-19-* cyclades
alias char-major-20-* cyclades
alias char-major-21-* sg
alias char-major-22-* pcxx
alias char-major-23-* pcxx
alias char-major-27-* ftape
alias char-major-34-* scc
alias char-major-35-* tclmidi
alias char-major-36-* netlink
alias char-major-37-* ide-tape
alias char-major-48-* riscom8
alias char-major-49-* riscom8
alias char-major-57-* esp
alias char-major-58-* esp
alias char-major-63-* kdebug
alias char-major-90-* mtdchar
alias char-major-96-* pt
alias char-major-99-* ppdev
alias char-major-107-* 3dfx
alias char-major-108-* ppp_generic
alias char-major-109-* lvm-mod
alias char-major-161-* ircomm-tty
alias char-major-171-* raw1394
alias char-major-200-* vxspec
alias dos msdos
alias dummy0 dummy
alias dummy1 dummy
alias eth0 via-rhine
alias iso9660 isofs
alias md-personality-1 linear
alias md-personality-2 raid0
alias md-personality-3 raid1
alias md-personality-4 raid5
alias md-personality-7 multipath
alias net-pf-1 unix
alias net-pf-2 ipv4
alias net-pf-4 ipx
alias net-pf-5 appletalk
alias net-pf-17 af_packet
alias netalias-2 ip_alias
alias plip0 plip
alias plip1 plip
alias tunl0 ipip
alias cipcb0 cipcb
alias cipcb1 cipcb
alias cipcb2 cipcb
alias cipcb3 cipcb
alias ppp0 ppp
alias ppp1 ppp
alias slip0 slip
alias slip1 slip
alias tty-ldisc-1 slip
alias tty-ldisc-3 ppp_async
alias tty-ldisc-11 irtty
alias tty-ldisc-14 ppp_synctty
alias ppp-compress-18 ppp_mppe
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
alias parport_lowlevel parport_pc
alias usbdevfs usbcore
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd
# == alias sound-slot-0 via82cxxx_audio
options sb io=0x220 irq=7 dma=1 dma16=5 mpu_io=0x330
install binfmt-0000 /bin/true
install char-major-10 /bin/true
install char-major-10-1 /bin/true
install dummy0 /sbin/modprobe -o dummy0 --ignore-install dummy
install dummy1 /sbin/modprobe -o dummy1 --ignore-install dummy
install net-pf-10 /bin/true
install net-pf-19 /bin/true
install net-pf-3 /bin/true
install net-pf-6 /bin/true
install scsi_hostadapter /bin/true
# == install sound-slot-0 /sbin/modprobe --first-time --ignore-install sound-slot-0 && { /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :; }
# == remove sound-slot-0 { /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :; } ; /sbin/modprobe -r --first-time --ignore-remove sound-slot-0
===========================================================
i noticed that some lines have * there... what is it for? there's another soundcore in the middle of the file...
 
Old 05-18-2004, 04:10 AM   #95
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
Comment that soundcore, the * indicates that applies to all minor numbers numbers (I think) in a device file, but I'm not certain.
 
Old 05-18-2004, 04:17 AM   #96
kenji1903
Member
 
Registered: Apr 2004
Location: M'sia, Aus, Chn
Distribution: Redhat Linux 8 & 9, Fedora Core 2, XP
Posts: 301

Rep: Reputation: 30
ok... just noticed that I've compiled sound support into the kernel instead of as a module! Darn...
Commented that out... now i'm just waiting for to install the kernel...

Hope everything goes OK! ~fingers-crossed~

I'll be back!
 
Old 05-18-2004, 04:21 AM   #97
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
G'luck!
 
Old 05-18-2004, 06:25 AM   #98
kenji1903
Member
 
Registered: Apr 2004
Location: M'sia, Aus, Chn
Distribution: Redhat Linux 8 & 9, Fedora Core 2, XP
Posts: 301

Rep: Reputation: 30
I'm speechless... wonder went wrong...

Here's the output when I tried to /sbin/modprobe snd-via82xx:
snd: Unknown symbol class_simple_device_add
snd: Unknown symbol class_simple_device_remove
snd: Unknown symbol sound_class
snd_seq_device: Unknown symbol snd_info_register
snd_seq_device: Unknown symbol snd_info_create_module_entry
snd_seq_device: Unknown symbol snd_info_free_entry
snd_seq_device: Unknown symbol snd_seq_root
snd_seq_device: Unknown symbol snd_verbose_printk
snd_seq_device: Unknown symbol snd_iprintf
snd_seq_device: Unknown symbol snd_kcalloc
snd_seq_device: Unknown symbol snd_device_new
snd_seq_device: Unknown symbol snd_info_unregister
snd_rawmidi: Unknown symbol snd_info_register
snd_rawmidi: Unknown symbol snd_seq_device_new
snd_rawmidi: Unknown symbol snd_info_free_entry
snd_rawmidi: Unknown symbol snd_unregister_oss_device
snd_rawmidi: Unknown symbol snd_verbose_printk
snd_rawmidi: Unknown symbol snd_register_oss_device
snd_rawmidi: Unknown symbol snd_ctl_register_ioctl
snd_rawmidi: Unknown symbol snd_card_file_add
snd_rawmidi: Unknown symbol snd_iprintf
snd_rawmidi: Unknown symbol snd_kcalloc
snd_rawmidi: Unknown symbol snd_oss_info_register
snd_rawmidi: Unknown symbol snd_unregister_device
snd_rawmidi: Unknown symbol snd_device_new
snd_rawmidi: Unknown symbol snd_ctl_unregister_ioctl
snd_rawmidi: Unknown symbol snd_info_create_card_entry
snd_rawmidi: Unknown symbol snd_device_free
snd_rawmidi: Unknown symbol snd_card_file_remove
snd_rawmidi: Unknown symbol snd_info_unregister
snd_rawmidi: Unknown symbol snd_device_register
snd_rawmidi: Unknown symbol snd_register_device
snd_mpu401_uart: Unknown symbol snd_rawmidi_receive
snd_mpu401_uart: Unknown symbol snd_verbose_printk
snd_mpu401_uart: Unknown symbol snd_rawmidi_transmit_ack
snd_mpu401_uart: Unknown symbol snd_kcalloc
snd_mpu401_uart: Unknown symbol snd_rawmidi_transmit_peek
snd_mpu401_uart: Unknown symbol snd_rawmidi_new
snd_mpu401_uart: Unknown symbol snd_rawmidi_set_ops
snd_mpu401_uart: Unknown symbol snd_device_free
snd_ac97_codec: Unknown symbol snd_info_register
snd_ac97_codec: Unknown symbol snd_ctl_add
snd_ac97_codec: Unknown symbol snd_info_free_entry
snd_ac97_codec: Unknown symbol snd_ctl_find_id
snd_ac97_codec: Unknown symbol snd_verbose_printk
snd_ac97_codec: Unknown symbol snd_ctl_new1
snd_ac97_codec: Unknown symbol snd_ctl_remove_id
snd_ac97_codec: Unknown symbol snd_component_add
snd_ac97_codec: Unknown symbol snd_iprintf
snd_ac97_codec: Unknown symbol snd_kcalloc
snd_ac97_codec: Unknown symbol snd_device_new
snd_ac97_codec: Unknown symbol snd_info_create_card_entry
snd_ac97_codec: Unknown symbol snd_info_unregister
snd_timer: Unknown symbol snd_info_register
snd_timer: Unknown symbol snd_info_create_module_entry
snd_timer: Unknown symbol snd_info_free_entry
snd_timer: Unknown symbol snd_verbose_printk
snd_timer: Unknown symbol snd_iprintf
snd_timer: Unknown symbol snd_kcalloc
snd_timer: Unknown symbol snd_ecards_limit
snd_timer: Unknown symbol snd_oss_info_register
snd_timer: Unknown symbol snd_unregister_device
snd_timer: Unknown symbol snd_device_new
snd_timer: Unknown symbol snd_kmalloc_strdup
snd_timer: Unknown symbol snd_info_unregister
snd_timer: Unknown symbol snd_register_device
snd_pcm: Unknown symbol snd_info_register
snd_pcm: Unknown symbol snd_info_create_module_entry
snd_pcm: Unknown symbol snd_timer_notify
snd_pcm: Unknown symbol snd_timer_interrupt
snd_pcm: Unknown symbol snd_info_free_entry
snd_pcm: Unknown symbol snd_info_get_str
snd_pcm: Unknown symbol snd_verbose_printk
snd_pcm: Unknown symbol snd_ctl_register_ioctl
snd_pcm: Unknown symbol snd_card_file_add
snd_pcm: Unknown symbol snd_iprintf
snd_pcm: Unknown symbol snd_kcalloc
snd_pcm: Unknown symbol snd_major
snd_pcm: Unknown symbol snd_unregister_device
snd_pcm: Unknown symbol snd_timer_new
snd_pcm: Unknown symbol snd_device_new
snd_pcm: Unknown symbol snd_ctl_unregister_ioctl
snd_pcm: Unknown symbol snd_info_create_card_entry
snd_pcm: Unknown symbol snd_power_wait
snd_pcm: Unknown symbol snd_device_free
snd_pcm: Unknown symbol snd_card_file_remove
snd_pcm: Unknown symbol snd_info_unregister
snd_pcm: Unknown symbol snd_device_register
snd_pcm: Unknown symbol snd_register_device
snd_pcm: Unknown symbol snd_info_get_line
snd_via82xx: Unknown symbol snd_ctl_add
snd_via82xx: Unknown symbol snd_pcm_new
snd_via82xx: Unknown symbol snd_card_register
snd_via82xx: Unknown symbol snd_card_free
snd_via82xx: Unknown symbol snd_pcm_lib_preallocate_pages_for_all
snd_via82xx: Unknown symbol snd_card_proc_new
snd_via82xx: Unknown symbol snd_ac97_set_rate
snd_via82xx: Unknown symbol snd_pcm_format_physical_width
snd_via82xx: Unknown symbol snd_ac97_update_bits
snd_via82xx: Unknown symbol snd_ac97_mixer
snd_via82xx: Unknown symbol snd_ac97_bus
snd_via82xx: Unknown symbol snd_verbose_printk
snd_via82xx: Unknown symbol snd_ctl_new1
snd_via82xx: Unknown symbol snd_card_new
snd_via82xx: Unknown symbol snd_iprintf
snd_via82xx: Unknown symbol snd_pcm_lib_malloc_pages
snd_via82xx: Unknown symbol snd_pcm_lib_ioctl
snd_via82xx: Unknown symbol snd_pcm_lib_free_pages
snd_via82xx: Unknown symbol snd_kcalloc
snd_via82xx: Unknown symbol snd_pcm_set_ops
snd_via82xx: Unknown symbol snd_pcm_hw_constraint_list
snd_via82xx: Unknown symbol snd_device_new
snd_via82xx: Unknown symbol snd_pcm_sgbuf_ops_page
snd_via82xx: Unknown symbol snd_mpu401_uart_interrupt
snd_via82xx: Unknown symbol snd_pcm_hw_constraint_integer
snd_via82xx: Unknown symbol snd_mpu401_uart_new
snd_via82xx: Unknown symbol snd_pcm_period_elapsed
snd_via82xx: Unknown symbol snd_ac97_tune_hardware
snd: Unknown symbol class_simple_device_add
snd: Unknown symbol class_simple_device_remove
snd: Unknown symbol sound_class
snd_seq_device: Unknown symbol snd_info_register
snd_seq_device: Unknown symbol snd_info_create_module_entry
snd_seq_device: Unknown symbol snd_info_free_entry
snd_seq_device: Unknown symbol snd_seq_root
snd_seq_device: Unknown symbol snd_verbose_printk
snd_seq_device: Unknown symbol snd_iprintf
snd_seq_device: Unknown symbol snd_kcalloc
snd_seq_device: Unknown symbol snd_device_new
snd_seq_device: Unknown symbol snd_info_unregister
snd_rawmidi: Unknown symbol snd_info_register
snd_rawmidi: Unknown symbol snd_seq_device_new
snd_rawmidi: Unknown symbol snd_info_free_entry
snd_rawmidi: Unknown symbol snd_unregister_oss_device
snd_rawmidi: Unknown symbol snd_verbose_printk
snd_rawmidi: Unknown symbol snd_register_oss_device
snd_rawmidi: Unknown symbol snd_ctl_register_ioctl
snd_rawmidi: Unknown symbol snd_card_file_add
snd_rawmidi: Unknown symbol snd_iprintf
snd_rawmidi: Unknown symbol snd_kcalloc
snd_rawmidi: Unknown symbol snd_oss_info_register
snd_rawmidi: Unknown symbol snd_unregister_device
snd_rawmidi: Unknown symbol snd_device_new
snd_rawmidi: Unknown symbol snd_ctl_unregister_ioctl
snd_rawmidi: Unknown symbol snd_info_create_card_entry
snd_rawmidi: Unknown symbol snd_device_free
snd_rawmidi: Unknown symbol snd_card_file_remove
snd_rawmidi: Unknown symbol snd_info_unregister
snd_rawmidi: Unknown symbol snd_device_register
snd_rawmidi: Unknown symbol snd_register_device
snd_mpu401_uart: Unknown symbol snd_rawmidi_receive
snd_mpu401_uart: Unknown symbol snd_verbose_printk
snd_mpu401_uart: Unknown symbol snd_rawmidi_transmit_ack
snd_mpu401_uart: Unknown symbol snd_kcalloc
snd_mpu401_uart: Unknown symbol snd_rawmidi_transmit_peek
snd_mpu401_uart: Unknown symbol snd_rawmidi_new
snd_mpu401_uart: Unknown symbol snd_rawmidi_set_ops
snd_mpu401_uart: Unknown symbol snd_device_free
snd_ac97_codec: Unknown symbol snd_info_register
snd_ac97_codec: Unknown symbol snd_ctl_add
snd_ac97_codec: Unknown symbol snd_info_free_entry
snd_ac97_codec: Unknown symbol snd_ctl_find_id
snd_ac97_codec: Unknown symbol snd_verbose_printk
snd_ac97_codec: Unknown symbol snd_ctl_new1
snd_ac97_codec: Unknown symbol snd_ctl_remove_id
snd_ac97_codec: Unknown symbol snd_component_add
snd_ac97_codec: Unknown symbol snd_iprintf
snd_ac97_codec: Unknown symbol snd_kcalloc
snd_ac97_codec: Unknown symbol snd_device_new
snd_ac97_codec: Unknown symbol snd_info_create_card_entry
snd_ac97_codec: Unknown symbol snd_info_unregister
snd_timer: Unknown symbol snd_info_register
snd_timer: Unknown symbol snd_info_create_module_entry
snd_timer: Unknown symbol snd_info_free_entry
snd_timer: Unknown symbol snd_verbose_printk
snd_timer: Unknown symbol snd_iprintf
snd_timer: Unknown symbol snd_kcalloc
snd_timer: Unknown symbol snd_ecards_limit
snd_timer: Unknown symbol snd_oss_info_register
snd_timer: Unknown symbol snd_unregister_device
snd_timer: Unknown symbol snd_device_new
snd_timer: Unknown symbol snd_kmalloc_strdup
snd_timer: Unknown symbol snd_info_unregister
snd_timer: Unknown symbol snd_register_device
snd_pcm: Unknown symbol snd_info_register
snd_pcm: Unknown symbol snd_info_create_module_entry
snd_pcm: Unknown symbol snd_timer_notify
snd_pcm: Unknown symbol snd_timer_interrupt
snd_pcm: Unknown symbol snd_info_free_entry
snd_pcm: Unknown symbol snd_info_get_str
snd_pcm: Unknown symbol snd_verbose_printk
snd_pcm: Unknown symbol snd_ctl_register_ioctl
snd_pcm: Unknown symbol snd_card_file_add
snd_pcm: Unknown symbol snd_iprintf
snd_pcm: Unknown symbol snd_kcalloc
snd_pcm: Unknown symbol snd_major
snd_pcm: Unknown symbol snd_unregister_device
snd_pcm: Unknown symbol snd_timer_new
snd_pcm: Unknown symbol snd_device_new
snd_pcm: Unknown symbol snd_ctl_unregister_ioctl
snd_pcm: Unknown symbol snd_info_create_card_entry
snd_pcm: Unknown symbol snd_power_wait
snd_pcm: Unknown symbol snd_device_free
snd_pcm: Unknown symbol snd_card_file_remove
snd_pcm: Unknown symbol snd_info_unregister
snd_pcm: Unknown symbol snd_device_register
snd_pcm: Unknown symbol snd_register_device
snd_pcm: Unknown symbol snd_info_get_line
snd_via82xx: Unknown symbol snd_ctl_add
snd_via82xx: Unknown symbol snd_pcm_new
snd_via82xx: Unknown symbol snd_card_register
snd_via82xx: Unknown symbol snd_card_free
snd_via82xx: Unknown symbol snd_pcm_lib_preallocate_pages_for_all
snd_via82xx: Unknown symbol snd_card_proc_new
snd_via82xx: Unknown symbol snd_ac97_set_rate
snd_via82xx: Unknown symbol snd_pcm_format_physical_width
snd_via82xx: Unknown symbol snd_ac97_update_bits
snd_via82xx: Unknown symbol snd_ac97_mixer
snd_via82xx: Unknown symbol snd_ac97_bus
snd_via82xx: Unknown symbol snd_verbose_printk
snd_via82xx: Unknown symbol snd_ctl_new1
snd_via82xx: Unknown symbol snd_card_new
snd_via82xx: Unknown symbol snd_iprintf
snd_via82xx: Unknown symbol snd_pcm_lib_malloc_pages
snd_via82xx: Unknown symbol snd_pcm_lib_ioctl
snd_via82xx: Unknown symbol snd_pcm_lib_free_pages
snd_via82xx: Unknown symbol snd_kcalloc
snd_via82xx: Unknown symbol snd_pcm_set_ops
snd_via82xx: Unknown symbol snd_pcm_hw_constraint_list
snd_via82xx: Unknown symbol snd_device_new
snd_via82xx: Unknown symbol snd_pcm_sgbuf_ops_page
snd_via82xx: Unknown symbol snd_mpu401_uart_interrupt
snd_via82xx: Unknown symbol snd_pcm_hw_constraint_integer
snd_via82xx: Unknown symbol snd_mpu401_uart_new
snd_via82xx: Unknown symbol snd_pcm_period_elapsed
snd_via82xx: Unknown symbol snd_ac97_tune_hardware

I think its not looking at the right place... what do you reckon?
 
Old 05-18-2004, 07:30 AM   #99
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
It is looking at the right place alright... but there seems to be a problem between the compiler used to build the kernel and the one used to build the modules... did you recompile ALSA after compiling the kernel?
 
Old 05-18-2004, 09:24 AM   #100
kenji1903
Member
 
Registered: Apr 2004
Location: M'sia, Aus, Chn
Distribution: Redhat Linux 8 & 9, Fedora Core 2, XP
Posts: 301

Rep: Reputation: 30
I did...
I'll try to recompile ALSA in another directory so see if there is any difference

Cheers!
 
Old 05-18-2004, 09:29 AM   #101
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
Unresolved symbols are due to driver code-->compiler-->kernel sources-->kernel binaries incompatibilities. That's why the ALSA guys recommend (as much as common sense) that you use the same compiler to build the drivers as you used to build the kernel. Now, my question is, you back on RH 9, are you using FC1 or what? I ask because depending on that you may have more than one compiler installed, and as such you have kernel/driver compiler mismatches.

Of course that US problems may be due to unresolved module dependencies... in which case (by looking at the dump you posted earlier) you may try to load soundcore and the snd drivers...
 
Old 05-18-2004, 09:38 AM   #102
kenji1903
Member
 
Registered: Apr 2004
Location: M'sia, Aus, Chn
Distribution: Redhat Linux 8 & 9, Fedora Core 2, XP
Posts: 301

Rep: Reputation: 30
I'm using RedHat9, how do I check for incompatibilities?
Same compiler? How many compilers are there?

Where are the compilers stored and how do I keep using the same one?
 
Old 05-18-2004, 09:44 AM   #103
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
Ok, first off, find out what compiler you have:
Code:
ls /usr/bin/*gcc*
In RH9 you should only have one gcc (stand alone) command, if you have something like gcc32 or others than gnatgcc and i386-redhat-linux-gcc, then you have to specify which command to use before configuring the code (./configure) by exporting the CC environmental variable with the name of the command (eg: CC="gcc32" ./configure <blah>; make <blah>, etc)
 
Old 05-18-2004, 09:50 AM   #104
kenji1903
Member
 
Registered: Apr 2004
Location: M'sia, Aus, Chn
Distribution: Redhat Linux 8 & 9, Fedora Core 2, XP
Posts: 301

Rep: Reputation: 30
damn... i have:
* gcc
* gcc296
* gnatgcc
* i386-redhat-linux7-gcc
* i386-redhat-linux-gcc

Then when I compiled my kernel, how do I know which one I used?
The only place I used ./configure was in module-init-tools...
 
Old 05-18-2004, 11:58 AM   #105
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
Then you have to specify the gcc command as the compiler for both your kernel (in the main Makefile) and through the CC envarionment variable when you build the ALSA drivers. I'm pretty sure you have the gcc command as the compiler for the kernel. So just make sure you build both with the same compiler.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems compiling 2.6.x kernel on RedHat 8.0 africantiger Linux - Newbie 0 07-13-2004 09:42 PM
RedHat kernel compiling tarballedtux Linux - General 3 05-23-2002 06:56 AM
Help on Compiling the Linux Kernel FOR Redhat 7.2! Alinuxnoob Linux - Software 4 02-21-2002 11:51 PM
Redhat 7.2: Kernel Compiling wildbillm Linux - General 3 11-10-2001 01:53 PM
Compiling new kernel with Redhat 7.1 Sylhouette Linux - General 5 10-18-2001 02:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 05:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration