Re: RedHat kernel RPM 2.2.16

2001-02-07 Thread Jim Roland

AH HA!  Thanks!


- Original Message -
From: "David Woodhouse" <[EMAIL PROTECTED]>
To: "Jim Roland" <[EMAIL PROTECTED]>
Cc: "J. Dow" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, February 07, 2001 2:37 AM
Subject: Re: RedHat kernel RPM 2.2.16


>
> [EMAIL PROTECTED] 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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: RedHat kernel RPM 2.2.16

2001-02-07 Thread Alan Cox

> 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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: RedHat kernel RPM 2.2.16

2001-02-07 Thread David Woodhouse


[EMAIL PROTECTED] 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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: RedHat kernel RPM 2.2.16

2001-02-07 Thread David Woodhouse


[EMAIL PROTECTED] 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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: RedHat kernel RPM 2.2.16

2001-02-07 Thread Alan Cox

 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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: RedHat kernel RPM 2.2.16

2001-02-07 Thread Jim Roland

AH HA!  Thanks!


- Original Message -
From: "David Woodhouse" [EMAIL PROTECTED]
To: "Jim Roland" [EMAIL PROTECTED]
Cc: "J. Dow" [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, February 07, 2001 2:37 AM
Subject: Re: RedHat kernel RPM 2.2.16



 [EMAIL PROTECTED] 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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: RedHat kernel RPM 2.2.16

2001-02-06 Thread Jim Roland

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" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> 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 [EMAIL PROTECTED]
> > 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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



RedHat kernel RPM 2.2.16

2001-02-06 Thread Jim Roland

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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



RedHat kernel RPM 2.2.16

2001-02-06 Thread Jim Roland

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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: RedHat kernel RPM 2.2.16

2001-02-06 Thread Jim Roland

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" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 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 [EMAIL PROTECTED]
  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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/