Fedor,

Thanks for your detailed response.

After having to dig out the md5sums from different
packages (I had althon and intel kernel rpms for 2.4.18-5 and I wasn't sure
which one was actually running).

Anyway after following the procedure I now get compile errors saying that I
"can't compile against the currently running kernel".  I am using the
include path that the makefile suggests I should use.

Cheers

----- Original Message -----
From: "Fedor G. Pikus" <[EMAIL PROTECTED]>
To: "Paul Sorenson" <[EMAIL PROTECTED]>
Cc: "alsa user" <[EMAIL PROTECTED]>
Sent: Saturday, September 07, 2002 10:44 AM
Subject: Re: [Alsa-user] modprobe - unresolved symbols in snd.o


> You need to be super-careful about configuring the kernel source area to
> match EXACTLY the running kernel.
> This means that you must do the following:
> 1) Get the right kernel-source RPM
> 2) Choose the correct configuration from linux-2.4/configs/ directory
>    it must be exactly right (same CPU and SMP options as the kernel you
>    are running)
> 3) Edit the Makefile in linux-2.4 and remove that -custom additional
>    version, your version must read 2.4.18-5 or 2.4.18-5smp if you run smp
>    kernel.
> 4) Now do "make mrproper menuconfig dep" in the linux-2.4/ directory.
>    When menuconfig comes up, load the config file you chosen in step 2
>    (you can use xconfig instead of menuconfig, whatever you prefer, you
>     will only load existing config file and make no changes).
> 5) Now you can rebuild ALSA drivers from scratch, against this kernel
>    tree. To be on the safe side, create /usr/src/linux link, RedHat now
>    only creates linux-2.4 link, so create something like what I have:
> lrwxrwxrwx    1 root     root            9 Jul 30 08:59 /usr/src/linux ->
linux-2.4/
> lrwxrwxrwx    1 root     root           14 Jul 30 12:57
/usr/src/linux-2.4 -> linux-2.4.18-5/
> 6) Make sure you uninstall old ALSA drivers! I got bitten by it once, some
>    install directories or module names changed between rc1 and rc2 I
>    think, so make install did not overwrite the old files, and they kept
>    being loaded.
>
> I had this module symbol problem, quite often. If your kernel source tree
> matches the running kernel exactly, and you don't have old ALSA drivers
> around, it will work.
>
> On Sat, 7 Sep 2002, Paul Sorenson wrote:
>
> > Date: Sat, 7 Sep 2002 10:21:14 +1000
> > From: Paul Sorenson <[EMAIL PROTECTED]>
> > To: alsa user <[EMAIL PROTECTED]>
> > Subject: [Alsa-user] modprobe - unresolved symbols in snd.o
> >
> > I would like to run alsaplayer but haven't got passed loading the module
for
> > the sound card.
> >
> > When I modprobe snd-ens1371 I get many unresolved symbols in snd.o (eg
> > remove_wait_queue-R30c44965).
> >
> > Any tips would be appreciated (changing linux distribution is not really
an
> > option right now).
> >
> > I compiled the drivers and lib from tarballs.  I didn't reboot the
machine,
> > I just tried manipulating the loaded modules.
> >
> > System: redhat 7.3
> > kernel: 2.4.18-5 (bog standard)
> > alsa version: 0.9.0rc3
> >
> > My existing module list is (I then removed es1371 ac97_codec and
gameport
> > before attempting to modprobe the alsa driver):
> >
> > Module                  Size  Used by    Not tainted
> > es1371                 29056   0  (unused)
> > ac97_codec             12352   0  [es1371]
> > gameport                3488   0  [es1371]
> > loop                   10928   0  (unused)
> > nls_iso8859-1           3488   0  (autoclean)
> > nls_cp437               5120   0  (autoclean)
> > vfat                   12092   0  (autoclean)
> > fat                    37240   0  (autoclean) [vfat]
> > sr_mod                 16920   0  (autoclean)
> > soundcore               6500   4  (autoclean) [es1371]
> > binfmt_misc             7460   1
> > autofs                 11940   0  (autoclean) (unused)
> > 8139too                16480   2
> > mii                     2408   0  [8139too]
> > ide-scsi                9664   0
> > scsi_mod              109424   2  [sr_mod ide-scsi]
> > ide-cd                 30272   0
> > cdrom                  32064   0  [sr_mod ide-cd]
> > usb-uhci               24452   0  (unused)
> > usbcore                71968   1  [usb-uhci]
> > ext3                   67296   4
> > jbd                    49496   4  [ext3]
> > raid5                  19488   2
> > xor                     7396   0  [raid5]
> > raid1                  14532   4
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by: OSDN - Tired of that same old
> > cell phone?  Get a new here for FREE!
> > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> > _______________________________________________
> > Alsa-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/alsa-user
> >
>
> --
>                                   Fedor G. Pikus
> Mentor Graphics Corporation         | Phone: (503) 685-4857
> 8405 SW Boeckman Road               | FAX:   (503) 685-1239
> Wilsonville, Oregon 97070           | http://www.pikus.net/~pikus/
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone?  Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Alsa-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/alsa-user
>



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to