Updating kernel source with yum, How?
Graeme Nichols
gnichols at tpg.com.au
Fri Oct 15 04:10:41 UTC 2004
On Fri, 2004-10-15 at 00:44, Craig Edgmon wrote:
> Graeme Nichols wrote:
>
> >On Wed, 2004-10-13 at 03:01, Rick Stevens wrote:
> >
> >
> >
<snip>
> >>>
> >>>
> >>That's the wrong RPM. The "kernel-sourcecode" RPM is 46098530 bytes in
> >>length. Here's a URL to fetch the source:
> >>
> >>http://mirrors.kernel.org/fedora/core/updates/2/i386/kernel-sourcecode-2.6.8-1.521.noarch.rpm
> >>
> >>Download that to a scratch directory, then
> >>
> >> # cd /scratch/directory
> >> # rpm -ivh kernel-sourcecode-2.6.8-1.521.noarch.rpm
> >> # cd /usr/src/linux-2.6.8-1.521
> >>
> >>and away you go.
> >>
> >>
> >
> >OK. Will do.
> >
> >
> >
> >>>I am going back to the previous kernel, 2.6.6, and try and get sound
> >>>working again. I can load the drivers OK. See following:
> >>>
> >>>[graeme at barney download]$ sudo /sbin/lsmod
> >>>Module Size Used by
> >>>snd_mixer_oss 13824 1
> >>>snd_intel8x0 26796 1
> >>>snd_ac97_codec 54788 1 snd_intel8x0
> >>>snd_pcm 69256 1 snd_intel8x0
> >>>snd_timer 17284 1 snd_pcm
> >>>snd_page_alloc 8072 2 snd_intel8x0,snd_pcm
> >>>gameport 3328 1 snd_intel8x0
> >>>snd_mpu401_uart 4864 1 snd_intel8x0
> >>>snd_rawmidi 17444 1 snd_mpu401_uart
> >>>snd_seq_device 6152 1 snd_rawmidi
> >>>snd 39396 8
> >>>snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
> >>>soundcore 6112 2 snd
> >>>ipv6 184672 10
> >>>parport_pc 19392 1
> >>>lp 8236 0
> >>>parport 29640 2 parport_pc,lp
> >>>autofs4 12932 0
> >>>sunrpc 109924 1
> >>>prism54 44060 0
> >>>ipt_REJECT 4736 1
> >>>ipt_state 1536 2
> >>>ip_conntrack 24968 1 ipt_state
> >>>iptable_filter 2176 1
> >>>ip_tables 13568 3 ipt_REJECT,ipt_state,iptable_filter
> >>>via_rhine 15752 0
> >>>mii 3584 1 via_rhine
> >>>microcode 4768 0
> >>>joydev 6976 0
> >>>floppy 47440 0
> >>>sg 27680 0
> >>>sd_mod 16384 0
> >>>usb_storage 53576 0
> >>>scsi_mod 91984 3 sg,sd_mod,usb_storage
> >>>dm_mod 32800 0
> >>>ehci_hcd 22916 0
> >>>uhci_hcd 24472 0
> >>>button 4632 0
> >>>battery 6924 0
> >>>asus_acpi 8984 0
> >>>ac 3340 0
> >>>ext3 103656 2
> >>>jbd 40728 1 ext3
> >>>
> >>>Any ideas?
> >>>
> >>>
> >>You definitely have an issue with the 521 kernel. I'd try a reinstall
> >>of the binary RPM to restore the kernel environment to some semblance
> >>of normalcy. Boot your older kernel and see if you have the new
> >>binary kernel RPM in /var/cache/yum/updates-released/packages. If you
> >>do:
> >>
> >> # cd /var/cache/yum/updates-released/packages
> >> # rpm -Uvh --force kernel-2.6.8-1.521.i686.rpm
> >>
> >>While you're in that directory, see if you have the source RPM in there
> >>(to see if yum fetched it). Remember, the CORRECT name for the source
> >>RPM is "kernel-sourcecode-2.6.8-1.521.noarch.rpm"
> >>
> >>
> >
> >The source rpm for 2.6.8-1.521 isn't there but the 2.6.8-1.521 binary is
> >there so I will do as you suggest.
> >
> >All these problems may be as a result of doing an 'upgrade' from RH8. I
> >tried to upgrade my laptop from RH8 to FC2 yesterday and it wouldn't do
> >it. Kept complaining about not being able to read the media when trying
> >to install the kernel, fatal error, bomb out. So, not having a lot on
> >the laptop to lose, and being able to copy it across from the desktop if
> >necessary, I did a new install. Went OK. No probs. However, the whole
> >appearance of the boot is different as are some other minor differences
> >on the desktop etc. Probably too much crap left on the machine after
> >upgrading from RH6.1 through the various releases to FC2. that are
> >interfering with things.
> >
> >Thanks very much for your help and patience.
> >
> >
> >--
> >----------------------------------------------------------------------
> >Kind regards, Graeme Nichols.
> >----------------------------------------------------------------------
> >"Well," said Programmer, "the customary procedure in such cases is as
> >follows." "What does Crustimoney Proseedcake mean?" said End-user. "For
> >I am an End-user of Very Little Brain, and long words bother me." "It
> >means the Thing to Do." "As long as it means that, I don't mind," said
> >End-user humbly. [with apologies to A.A. Milne]
> >----------------------------------------------------------------------
> >
> >_______________________________________________
> >Redhat-install-list mailing list
> >Redhat-install-list at redhat.com
> >https://www.redhat.com/mailman/listinfo/redhat-install-list
> >To Unsubscribe Go To ABOVE URL or send a message to:
> >redhat-install-list-request at redhat.com
> >Subject: unsubscribe
> >
> >
> >
> In addition I was having a similar issue. Durring the process I was
> getting a lot of the same errors. I found this idea in an old thread
> I did : rpm --rebuilddb
> then I did the standard yum update and all my errors went away.
>
> Not sure if this would help any one else.
Thanks Craig. I did as Rick suggested and re-installed the kernel binary
rpm and this time it installed OK. All the libraries, well the ones I
checked anyway, were where they were supposed to be. Now all I have to
do is get alsa working again.
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list at redhat.com
> https://www.redhat.com/mailman/listinfo/redhat-install-list
> To Unsubscribe Go To ABOVE URL or send a message to:
> redhat-install-list-request at redhat.com
> Subject: unsubscribe
--
----------------------------------------------------------------------
Kind regards, Graeme Nichols.
----------------------------------------------------------------------
Bringing computers into the home won't change either one, but may
revitalize the corner saloon.
----------------------------------------------------------------------
More information about the Redhat-install-list
mailing list