Re: modprobe: Can't locate module es1371.o

From: Richard Adams (pa3gcu@zeelandnet.nl)
Date: Fri Jan 07 2000 - 11:03:43 EST


On Fri, 07 Jan 2000, Daniel González Gasull wrote about, Re: modprobe: Can't locate module es1371.o:
> Hi!
>
> Richard Adams <pa3gcu@zeelandnet.nl> wrote:
>
> > On Thu, 06 Jan 2000, Daniel González Gasull wrote about, modprobe: Can't locate module es1371.o:
> > > I have problems installing sound support with my
> > > SoundBlaster PCI64 (Yep, I've read the Sound-HOWTO).
> > >
> > > OK. I
> > >
> > > su
> > > cd /usr/src/linux
> > > make menuconfig
> > >
> > > I enter in
> > >
> > > > Sound --->
> > >
> > > then I configure:
> > >
> > > > <M> Sound card support
> > > > < > Ensoniq ES1370 based PCI sound cards
> > > > <M> Ensoniq ES1371 based PCI sound cards
> > > > < > S3 SonicVibes based PCI sound cards
> > > > < > Support for Turtle Beach MultiSound Classic, Tahiti, Monterey
> > > > < > Support for Turtle Beach MultiSound Pinnacle, Fiji
> > > > < > OSS sound modules
> > >
> > > then
> > >
> > > make dep clean
> > > make bzdisk
> >
> > make bzImage
>
> Do you mean I must
> # make bzImage
> instead of
> # make bzdisk
> ?

No, if you do make bzdisk then the image will be called bzImage, there is
no need to make a boot-disk as well after all you want to install the new
image with lilo on the MBR.

> As far as I know,
> # make bzdisk
> do the same as
> # make bzImage
> and also create a boot disk. Am I wrong?

Yes and no, yes the two are very different, no, because they both crate a
file called bzImage in ./arch/i386/boot

>
> > > cp arch/i386/boot/zImage /boot/mylinuz
> > > vim /etc/lilo.conf
> >
> > cp arch/i386/boot/bzImage /boot/my_name_of_image
> >
> > > where I add:
> > >
> > > image = /boot/mylinuz
> > > root = /dev/hda5
> > > label = new
> >
> > add
> > read-only
> > as well.
>
> By the way, must I add
> read-only
> to all the images in my /etc/lilo.conf?

Yes, if it is not defined in the Global section of the file.

>
> > make modules modules_install before using lilo.
>
> OK. Now I have done
> $ su
> # cd /usr/src/linux
> # make bzImage
> # cp arch/i386/boot/bzImage /boot/mylinuz
> # vim /etc/lilo.conf
> # make modules modules_install
> # lilo
>
> I haven't repeat
> # make menuconfig
> # make dep clean bzdisk
> because I did it last time. It's correct. Isn't
> it?

No its not correct, all you have done is create a bzImage "exachtly" the
same as the old one, really you have altered nothing.

>
> OK. Then I
> # reboot
> and choose the new kernel in LILO boot. And it
> works :-) Thanx.

Maynbe it boots like the old one, ok, however by the commands used as
stated above, your image is the same.

>
> And now?

There is no difference because you have changed nothing.

>
> Sound support is compiled as a module. I've tried
> to open a MP3 file with kmpg and I get an error
> window:
>
> AudioPanic
> -----------------------------------
> kmpg couldn't open the audiodevice!
> All decoders stopped
> [ OK ]
>
> Then I
> $ ls -l /dev/sndstat
> crw-rw-rw- 1 root root 14, 6 ene 5 14:21 /dev/sndstat
> $ su
> Password:
> # /sbin/modprobe es1371.o
> modprobe: Can't locate module es1371.o
>
> But it seems that I've done everything correctly:
>
> # locate es1371.o
> /lib/modules/2.2.10/misc/es1371.o
> /usr/src/linux-2.2.10.SuSE/drivers/sound/.es1371.o.flags
> /usr/src/linux-2.2.10.SuSE/drivers/sound/es1371.o
> /usr/src/linux-2.2.10.SuSE/modules/es1371.o
> # cat /proc/cmdline
> BOOT_IMAGE=new ro root=305
> # uname -r
> 2.2.10
> # cat /proc/version
> Linux version 2.2.10 (root@Atreyu) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #8 vie ene 7 06:49:54 CET 2000
>
> Any ideas? Please help again. Thank you very much.

Yes, if you do the following "Too the letter" i can garentee 99% success
rate providing your sound card is a PCI64 or compatable there of.

cd /usr/src/linux
mkdir /usr/src/configs
cp .config ../configs/config-2.2.10-1
make distclean
make mrproper
edit the Makefile
change EXTRAVERSION =
to
EXTRAVERSION = -1
Save file
make config
firstly define
Enable loadable module support (CONFIG_MODULES) [N/y/?] y
 (CONFIG_MODVERSIONS) =y
 (CONFIG_KMOD) =y
Now the rest you know yourself, for sound, define the following.
Sound card support (CONFIG_SOUND) [N/m/y/?] m
Creative Ensoniq AudioPCI 97 (ES1371) (CONFIG_SOUND_ES1371) [N/n/y/?] m
make dep clean bzImage
make modules modules_install
cp arch/i386/boot/bzImage /boot/vmlinuz-2.2.10-1
cp System-map /boot/System-map-2.2.10-1
edit /etc/lilo.conf
add
image=/boot/vmlinuz-2.2.10-1
        label=2.2.13-1
        read-only
        root=/dev/hdxx
Note that /dev/hdxx = your root device change accordingly.
run;
/sbin/lilo
edit /etc/modules.conf or conf.modules whichever you have.
enter a line
alias sound es1371
save file
reboot
at the LILO prompt hit the alt key, then type in 2.2.13-1<enter>
login as root (to be safe and sure)
The command;
lsmod
Should show;
es1371 23840 0
soundcore 2372 4 [es1371]

Now if that did not work, and belive me it should have, if you have a es1371
compatable card, then do;
cat /proc/pci
you should see "something like";
    Multimedia audio controller: Ensoniq ES1371 (rev 6).
      Slow devsel. IRQ 10. Master Capable. Latency=64. Min Gnt=12.Max Lat=128.
      I/O at 0xe400 [0xe401].

If you find no text for your card, then its not there or its NOT a PCI
device.

I have asked in previous mails what the card is, all you have said is,
PCI64, hence the above commands regarding compiling and loding the module
"es1371"

Have fun.
>
> --
> Daniel González Gasull Merry Xmas! (,) "The streets were dark
> mailto:gasull@yahoo.com . **U** with something more
> PGP RSA key 1024/EEA93A69 ./.\. , ** ** , than night."
> .//.\\. U** **U -- Raymond Chandler
> .///.\\\. ** , **
> ' U ` **U**
>
> Join the Penguin Family! (o_
> (o_ (o_ //\
> Free your mind, use LINUX (/)_ (/)_ V_/_

-- 
Regards Richard
pa3gcu@zeelandnet.nl
http://people.zeelandnet.nl/pa3gcu/
Happy New Year

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jan 07 2000 - 21:00:09 EST