2008-02-29 15:08:08

by linux-os (Dick Johnson)

[permalink] [raw]
Subject: 64-bit sources


Hello all,

I inherited a problem with linux-2.6.11-1.1369_FC4smp in
that plugging in a USB mouse on a new AMD machine causes
a crash. I took a new disk and installed the complete
installation from "Fedora core." The sources provided
with the distribution do not compile with the tools
provided with the distribution! I need to find the
real sources for this kernel, something that will
compile so I can add some debugging info in the
ohci-hcd driver.

Checking the web only shows a ".rpm" that contains
only patches, no source. What goes? Is this a secret
distribution?


Cheers,
Dick Johnson
Penguin : Linux version 2.6.22.1 on an i686 machine (5588.28 BogoMips).
My book : http://www.AbominableFirebug.com/
_


****************************************************************
The information transmitted in this message is confidential and may be privileged. Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to [email protected] - and destroy all copies of this information, including any attachments, without reading or disclosing them.

Thank you.


2008-02-29 15:31:32

by Jan Engelhardt

[permalink] [raw]
Subject: Re: 64-bit sources


On Feb 29 2008 10:07, linux-os (Dick Johnson) wrote:
>Hello all,
>
>I inherited a problem with linux-2.6.11-1.1369_FC4smp in
>that plugging in a USB mouse on a new AMD machine causes
>a crash. I took a new disk and installed the complete
>installation from "Fedora core." The sources provided
>with the distribution do not compile with the tools
>provided with the distribution! I need to find the
>real sources for this kernel, something that will
>compile so I can add some debugging info in the
>ohci-hcd driver.
>
>Checking the web only shows a ".rpm" that contains
>only patches, no source. What goes? Is this a secret
>distribution?

This one?
http://ftp-stud.hs-esslingen.de/pub/fedora/linux/core/4/SRPMS/kernel-2.6.11-1.1369_FC4.src.rpm

2008-02-29 16:27:19

by linux-os (Dick Johnson)

[permalink] [raw]
Subject: Re: 64-bit sources


Yes. The RPM contains only patches and the patches won't
patch a 2.6.11 kernel either! Perhaps they need to be
in some undefined order.

On Fri, 29 Feb 2008, Jan Engelhardt wrote:
>
> On Feb 29 2008 10:07, linux-os (Dick Johnson) wrote:
>> Hello all,
>>
>> I inherited a problem with linux-2.6.11-1.1369_FC4smp in
>> that plugging in a USB mouse on a new AMD machine causes
>> a crash. I took a new disk and installed the complete
>> installation from "Fedora core." The sources provided
>> with the distribution do not compile with the tools
>> provided with the distribution! I need to find the
>> real sources for this kernel, something that will
>> compile so I can add some debugging info in the
>> ohci-hcd driver.
>>
>> Checking the web only shows a ".rpm" that contains
>> only patches, no source. What goes? Is this a secret
>> distribution?
>
> This one?
> http://ftp-stud.hs-esslingen.de/pub/fedora/linux/core/4/SRPMS/kernel-2.6.11-1.1369_FC4.src.rpm
>

Cheers,
Dick Johnson
Penguin : Linux version 2.6.22.1 on an i686 machine (5588.28 BogoMips).
My book : http://www.AbominableFirebug.com/
_


****************************************************************
The information transmitted in this message is confidential and may be privileged. Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to [email protected] - and destroy all copies of this information, including any attachments, without reading or disclosing them.

Thank you.

2008-02-29 16:36:58

by Valdis Klētnieks

[permalink] [raw]
Subject: Re: 64-bit sources

On Fri, 29 Feb 2008 11:25:58 EST, "linux-os (Dick Johnson)" said:
>
> Yes. The RPM contains only patches and the patches won't
> patch a 2.6.11 kernel either! Perhaps they need to be
> in some undefined order.

Umm... I just checked that specific RPM, and that RPM *does* contain all that
you need. In particular, the following *are* in there:

kernel-2.6.spec
linux-2.6.11.tar.bz2
patch-2.6.12-rc5-neutered.bz2 <- probably why they won't patch a 2.6.11

The spec file lists all the *.patch files and the order to apply them in. It
even has a whole bunch of *.config files.

Your best best is to 'rpm -ivh' that RPM - that will put the pieces in
/usr/src/redhat/SOURCES and /usr/src/redhat/SPECS. 'rpmbuild kernel.spec'
(with appropriate flags, you probably want '--target x86_64' if you want
a 64-bit build only). Adding patches is a matter of dropping the patch in
/usr/src/redhat/SOURCES and adding a few lines to the kernel-2.6.spec file.



Attachments:
(No filename) (226.00 B)

2008-02-29 18:27:39

by linux-os (Dick Johnson)

[permalink] [raw]
Subject: Re: 64-bit sources


Okay, Thanks. I "think" I am compiling it now!
There are lots of warnings, but it didn't blow up (yet)!


On Fri, 29 Feb 2008 [email protected] wrote:

> On Fri, 29 Feb 2008 11:25:58 EST, "linux-os (Dick Johnson)" said:
>>
>> Yes. The RPM contains only patches and the patches won't
>> patch a 2.6.11 kernel either! Perhaps they need to be
>> in some undefined order.
>
> Umm... I just checked that specific RPM, and that RPM *does* contain all that
> you need. In particular, the following *are* in there:
>
> kernel-2.6.spec
> linux-2.6.11.tar.bz2
> patch-2.6.12-rc5-neutered.bz2 <- probably why they won't patch a 2.6.11
>
> The spec file lists all the *.patch files and the order to apply them in. It
> even has a whole bunch of *.config files.
>
> Your best best is to 'rpm -ivh' that RPM - that will put the pieces in
> /usr/src/redhat/SOURCES and /usr/src/redhat/SPECS. 'rpmbuild kernel.spec'
> (with appropriate flags, you probably want '--target x86_64' if you want
> a 64-bit build only). Adding patches is a matter of dropping the patch in
> /usr/src/redhat/SOURCES and adding a few lines to the kernel-2.6.spec file.
>
>
>

Cheers,
Dick Johnson
Penguin : Linux version 2.6.22.1 on an i686 machine (5588.28 BogoMips).
My book : http://www.AbominableFirebug.com/
_


****************************************************************
The information transmitted in this message is confidential and may be privileged. Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to [email protected] - and destroy all copies of this information, including any attachments, without reading or disclosing them.

Thank you.