Updating kernel source with yum, How?

Graeme Nichols gnichols at tpg.com.au
Sat Oct 9 06:58:09 UTC 2004


On Sat, 2004-10-09 at 07:32, Rick Stevens wrote:
> Graeme Nichols wrote:
> > On Thu, 2004-10-07 at 04:00, Rick Stevens wrote:
> > 
> >>Graeme Nichols wrote:
> >>
> >>>Hello All,
> >>>
> >>>Could somebody please tell me what the keyword is to update the kernel
> >>>source using yum please. I have tried 'yum update kernel source', 'yum
> >>>update kernel-source' and 'yum update kernel-src' but with no luck.
> >>>
> >>>Yes, I know, dumb question time again... but please be kind.
> >>
> >>"yum update kernel-source" should work, but only if you have the
> >>kernel source installed in the first place.  Remember that "update" only
> >>updates packages you have installed.  If you must install it first, try
> >>"yum install kernel-source".
> > 
> > 
> > Hello Rick, many thanks. I used 'yum install kernel-source' and got the
> > response 'kernel-source already installed and the latest version' or
> > words to that effect. I know that the 2.6.8-1.521 source was not
> > installed when I upgraded the kernel because of the short time upgrading
> > to that version. I googled for the source and downloaded
> > kernel-2.6.8-1.521.src.rpm and 'installed' it (rpm -ivh
> > kernel-2.6.8-1.521.src.rpm). It installed in the blink of an eye and I
> > cannot find where it is. 'find / -name linux-2.6.8-1.521' comes up with
> > nothing.
> 
> There was a glitch in the FC2 name tree and the kernel source RPM for
> that release didn't make it into the right spot--it got put in the
> "noarch" tree.  A "yum install kernel-source*" may grab it (note the
> "*" at the end)
> 
> Installing via RPM should have put the source in
> /usr/src/linux-2.6.8-1.521
> 
> > The reason I wanted to install the source is to try and get alsa
> > working. Upgrading to the above kernel clobbered my sound so I thought
> > that moving to alsa would be the go.
> 
> Uh, kernel 2.6 uses ALSA by default.
> 
> > Perhaps you can steer me in the right direction. As far as I understand
> > the alsa drivers are part of the 2.6 kernels. FC2 has alsa-utils-1.0.3
> > and alsa-libs-1.0.3 installed. How the heck do I get alsa working. My
> > sound is onboard 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller.
> > modprobe.conf has sndintel8x0 as the driver, which is correct but I
> > can't get sound working. Do I need to install alsa-driver-1.0.3? (I
> > tried but it won't compile) or is there some config file I need to set
> > up?
> 
> First, are the drivers loaded?  Does "lsmod" show them as loaded?
> 
> If the drivers are loaded, have you tried opening up the volume control
> to see if all of the sliders are up?  Right-click on the speaker icon on
> the menubar or select "RedHatIcon->Sound & Video->Volume Control".
> 
> If the drivers aren't loaded, try "system-config-soundcard" and see if
> the system spots your card.

Hello Rick, an update on my first reply to this post:

The snd-intel8x0 is no longer listed in the output of lsmod. When I
tried to modprobe soundcore it worked OK. when I tried to modprobe
snd-intel8x0 I got the following:

[root at barney mpu401]# modprobe soundcore
[root at barney mpu401]# modprobe snd-intel8x0
WARNING: Could not open
'/lib/modules/2.6.8-1.521/kernel/sound/core/snd.ko': No such file or
directory
WARNING: Could not open
'/lib/modules/2.6.8-1.521/kernel/sound/core/seq/snd-seq-device.ko': No
such file or directory
WARNING: Could not open
'/lib/modules/2.6.8-1.521/kernel/sound/core/snd-rawmidi.ko': No such
file or directory
WARNING: Could not open
'/lib/modules/2.6.8-1.521/kernel/sound/drivers/mpu401/snd-mpu401-uart.ko': No such file or directory
WARNING: Could not open
'/lib/modules/2.6.8-1.521/kernel/sound/core/snd-page-alloc.ko': No such
file or directory
WARNING: Could not open
'/lib/modules/2.6.8-1.521/kernel/sound/core/snd-timer.ko': No such file
or directory
WARNING: Could not open
'/lib/modules/2.6.8-1.521/kernel/sound/core/snd-pcm.ko': No such file or
directory
WARNING: Could not open
'/lib/modules/2.6.8-1.521/kernel/sound/pci/ac97/snd-ac97-codec.ko': No
such file or directory
WARNING: Could not open
'/lib/modules/2.6.8-1.521/kernel/sound/core/snd.ko': No such file or
directory
WARNING: Could not open
'/lib/modules/2.6.8-1.521/kernel/sound/core/seq/snd-seq-device.ko': No
such file or directory
WARNING: Could not open
'/lib/modules/2.6.8-1.521/kernel/sound/core/snd-rawmidi.ko': No such
file or directory
WARNING: Could not open
'/lib/modules/2.6.8-1.521/kernel/sound/drivers/mpu401/snd-mpu401-uart.ko': No such file or directory
WARNING: Could not open
'/lib/modules/2.6.8-1.521/kernel/sound/core/snd-page-alloc.ko': No such
file or directory
WARNING: Could not open
'/lib/modules/2.6.8-1.521/kernel/sound/core/snd-timer.ko': No such file
or directory
WARNING: Could not open
'/lib/modules/2.6.8-1.521/kernel/sound/core/snd-pcm.ko': No such file or
directory
WARNING: Could not open
'/lib/modules/2.6.8-1.521/kernel/sound/pci/ac97/snd-ac97-codec.ko': No
such file or directory
FATAL: Could not open
'/lib/modules/2.6.8-1.521/kernel/sound/pci/snd-intel8x0.ko': No such
file or directory

All the directories are there but none of the files/drivers.

Since I tried to 'make' the alsa-driver-1.0.3 tarball I seem to have
cocked up a lot of things, including cron which is no longer working
I've just discovered. I have tried a few times to install the
kernel-2.6.8-1.521.src.rpm using 'i' or 'U' but while it appears to
install OK I cannot find it anywhere even though rpm -qi says it is
installed.

Does any of the above info help?


--
----------------------------------------------------------------------
Kind regards, Graeme Nichols.
----------------------------------------------------------------------
Remember the good old days, when CPU was singular?
----------------------------------------------------------------------




More information about the Redhat-install-list mailing list