public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* RedHat kernel RPM 2.2.16
@ 2001-02-07  5:03 Jim Roland
  0 siblings, 0 replies; 5+ messages in thread
From: Jim Roland @ 2001-02-07  5:03 UTC (permalink / raw)
  To: linux-kernel

I am trying to get RedHat's Kernel RPM 2.2.16 installed, however, the rpm
program does unpack the files, but does not run any script to install them
into the source tree (kernel-2.2.16-3.i386.src.rpm).  Is there a trick to
making it work?



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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: RedHat kernel RPM 2.2.16
       [not found] <0b2801c090c6$3e1a76e0$0a25a8c0@wizardess.wiz>
@ 2001-02-07  5:50 ` Jim Roland
  2001-02-07  8:37   ` David Woodhouse
  2001-02-07  9:39   ` Alan Cox
  0 siblings, 2 replies; 5+ messages in thread
From: Jim Roland @ 2001-02-07  5:50 UTC (permalink / raw)
  To: J. Dow; +Cc: linux-kernel

I appreciate your comments, but the SOURCE is exactly what I am needing in
order to compile in PCTel modem support.  FYI, I'm not a newbie, so I do
not uninstall a kernel from a running system (no offense on your
assumption :-P).  Besides if I did, I would just simply spend 5 minutes
creating a rescue floppy and away I go.  No problem.  Anyway, I have
already installed the binary form of the 2.2.16 kernel, I am needing the
sources so I can kludge together a module for the PCTel support.

FWIW, the rpm -i did unpack the kernel to the /usr/src/redhat/SOURCES
directory, however, I had to manually untar the sources to /usr/src to get
my kernel, move over the appropriate .config file, and manually run the
patches to patch the sources.  Forcing RPM to be very talkative (via -vv)
gave me a bunch of "action unknown" errors, and the rpm's install scripts
did not execute.  This occurs on an RH7 system as well.  Seems to be
something wrong with RH's kernel rpm?

JR



On Tue, 6 Feb 2001, J. Dow wrote:

> RTFM - it is writ large on the RedHat site. You have probably rendered your
> machine unbootable at this point if you tried first with the regular kernel
> RPM. Recovery is awkward. You *NEVER* *EVER* -U a kernel RPM. You *ALWAYS* -i
> it instead. Then your old kernel is still present in case the new one shows
> problems, like 2.2.16 will.
> 
> Furthermore installing the source RPMs does not install a new kernel. You have
> to proceed from there with building the kernel. That means you have to have
> kgcc installed and all the other proper materials.
> 
> I saw your email on the RedHat list but it was at the beginning of 80 some
> messages so I didn't reply figuring someone else would have. I guess nobody
> felt like typing "RTFM". As I say, RedHat has kernel compilation and kernel
> installation information on their website in a fairly easy to find place.
> A little digging would be good for your soul and education. There is other
> stuff there associated with the kernel compile and install instructions
> that can be a great help.
> 
> {^_^}
> 
> ----- Original Message ----- 
> From: "Jim Roland" <jroland@roland.net>
> To: <linux-kernel@vger.kernel.org>
> Sent: Tuesday, February 06, 2001 21:03
> Subject: RedHat kernel RPM 2.2.16
> 
> 
> > I am trying to get RedHat's Kernel RPM 2.2.16 installed, however, the rpm
> > program does unpack the files, but does not run any script to install them
> > into the source tree (kernel-2.2.16-3.i386.src.rpm).  Is there a trick to
> > making it work?
> > 
> > 
> > 
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> > the body of a message to majordomo@vger.kernel.org
> > Please read the FAQ at http://www.tux.org/lkml/
> > 
> 

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: RedHat kernel RPM 2.2.16
  2001-02-07  5:50 ` RedHat kernel RPM 2.2.16 Jim Roland
@ 2001-02-07  8:37   ` David Woodhouse
  2001-02-08  3:09     ` Jim Roland
  2001-02-07  9:39   ` Alan Cox
  1 sibling, 1 reply; 5+ messages in thread
From: David Woodhouse @ 2001-02-07  8:37 UTC (permalink / raw)
  To: Jim Roland; +Cc: J. Dow, linux-kernel


jroland@roland.net said:
>  FWIW, the rpm -i did unpack the kernel to the /usr/src/redhat/SOURCES
> directory, however, I had to manually untar the sources to /usr/src to
> get my kernel, move over the appropriate .config file, and manually
> run the patches to patch the sources.  Forcing RPM to be very
> talkative (via -vv) gave me a bunch of "action unknown" errors, and
> the rpm's install scripts did not execute.  This occurs on an RH7
> system as well.  Seems to be something wrong with RH's kernel rpm? 

Install the kernel-source binary RPM, which contains the build tree already 
extracted and set up as you desire, instead of the master SRPM which 
contains build instructions for all the kernel versions.

i.e. kernel-source-2.2.16-3.i386.rpm, not kernel-2.2.16-3.src.rpm

--
dwmw2


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: RedHat kernel RPM 2.2.16
  2001-02-07  5:50 ` RedHat kernel RPM 2.2.16 Jim Roland
  2001-02-07  8:37   ` David Woodhouse
@ 2001-02-07  9:39   ` Alan Cox
  1 sibling, 0 replies; 5+ messages in thread
From: Alan Cox @ 2001-02-07  9:39 UTC (permalink / raw)
  To: Jim Roland; +Cc: J. Dow, linux-kernel

> I appreciate your comments, but the SOURCE is exactly what I am needing in
> order to compile in PCTel modem support.  FYI, I'm not a newbie, so I do

You want the kernel-source*rpm package. That provides a copy of the source
tree in the typical Linus format (unpacked in /usr/src/linux)

> did not execute.  This occurs on an RH7 system as well.  Seems to be
> something wrong with RH's kernel rpm?

Nope. The source rpm is for building kernels in rpm format. It does exactly
that. You could add your patches to the rpm build and build an rpm format
kernel but thats a less trivial exercise and one that is perhaps not so
well understood by most of the folks who can help you

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: RedHat kernel RPM 2.2.16
  2001-02-07  8:37   ` David Woodhouse
@ 2001-02-08  3:09     ` Jim Roland
  0 siblings, 0 replies; 5+ messages in thread
From: Jim Roland @ 2001-02-08  3:09 UTC (permalink / raw)
  To: David Woodhouse; +Cc: J. Dow, linux-kernel

AH HA!  Thanks!


----- Original Message -----
From: "David Woodhouse" <dwmw2@infradead.org>
To: "Jim Roland" <jroland@roland.net>
Cc: "J. Dow" <jdow@earthlink.net>; <linux-kernel@vger.kernel.org>
Sent: Wednesday, February 07, 2001 2:37 AM
Subject: Re: RedHat kernel RPM 2.2.16


>
> jroland@roland.net said:
> >  FWIW, the rpm -i did unpack the kernel to the /usr/src/redhat/SOURCES
> > directory, however, I had to manually untar the sources to /usr/src to
> > get my kernel, move over the appropriate .config file, and manually
> > run the patches to patch the sources.  Forcing RPM to be very
> > talkative (via -vv) gave me a bunch of "action unknown" errors, and
> > the rpm's install scripts did not execute.  This occurs on an RH7
> > system as well.  Seems to be something wrong with RH's kernel rpm?
>
> Install the kernel-source binary RPM, which contains the build tree
already
> extracted and set up as you desire, instead of the master SRPM which
> contains build instructions for all the kernel versions.
>
> i.e. kernel-source-2.2.16-3.i386.rpm, not kernel-2.2.16-3.src.rpm
>
> --
> dwmw2
>
>

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-02-08  3:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <0b2801c090c6$3e1a76e0$0a25a8c0@wizardess.wiz>
2001-02-07  5:50 ` RedHat kernel RPM 2.2.16 Jim Roland
2001-02-07  8:37   ` David Woodhouse
2001-02-08  3:09     ` Jim Roland
2001-02-07  9:39   ` Alan Cox
2001-02-07  5:03 Jim Roland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox