Re: Debian Kernel Source

2019-11-18 Thread Norbert Kiszka
W dniu pon, 18.11.2019 o godzinie 15∶28 -0800, użytkownik M. F. Ghani
napisał:
> Hi,
> Where/How can i get the complete latest debian kernel source with the
> applied debian patches. I need the source similar to the linux base
> kernel source with similar directory tree. Need that for some
> research?

https://wiki.debian.org/SourcesList



Debian Kernel Source

2019-11-18 Thread M. F. Ghani
Hi,
Where/How can i get the complete latest debian kernel source with the
applied debian patches. I need the source similar to the linux base kernel
source with similar directory tree. Need that for some research?



-- 
Best,
- Ghani


Bug#627838: marked as done ([debian-kernel-handbook] Wrong instruction in 4.5 Building a custom kernel from Debian kernel source ("version number does not start with digit"))

2012-07-21 Thread Debian Bug Tracking System
Your message dated Sat, 21 Jul 2012 21:47:26 +
with message-id 
and subject line Bug#627838: fixed in kernel-handbook 1.0.14
has caused the Debian Bug report #627838,
regarding [debian-kernel-handbook] Wrong instruction in 4.5 Building a custom 
kernel from Debian kernel source ("version number does not start with digit")
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
627838: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=627838
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---

Package: debian-kernel-handbook
Version: 1.0.10
Severity: normal

There is a wrong command in section 4.5 Building a custom kernel from 
Debian kernel source:



$ make KDEB_PKGVERSION=custom.1.0 deb-pkg


This command fails - after a real long time - with:
dpkg-deb: error: parsing file 
'/home/chealer/sources/linux-source-2.6.39/debian/hdrtmp/DEBIAN/control' 
near line 3 package 'linux-headers-2.6.39':
 erreur dans la chaîne Version « custom.1.0 »: version number does not 
start with digit

make[1]: *** [deb-pkg] Erreur 2
make: *** [deb-pkg] Erreur 2


The French says 'error in Version string "custom.1.0"'.
Apparently dpkg-deb no longer accepts Version strings that start with 
something other than a digit.


There is however an easy workaround, changing the version string, for 
example to "1.0":

$ make KDEB_PKGVERSION=1.0 deb-pkg




--- End Message ---
--- Begin Message ---
Source: kernel-handbook
Source-Version: 1.0.14

We believe that the bug you reported is fixed in the latest version of
kernel-handbook, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 627...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ben Hutchings  (supplier of updated kernel-handbook 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Sat, 21 Jul 2012 22:15:36 +0100
Source: kernel-handbook
Binary: debian-kernel-handbook
Architecture: all source
Version: 1.0.14
Distribution: unstable
Urgency: low
Maintainer: Debian kernel team 
Changed-By: Ben Hutchings 
Closes: 627838 627960 638479 639846 651467 679204 681550
Description: 
 debian-kernel-handbook - reference to Debian Linux kernel packages and 
development
Changes: 
 kernel-handbook (1.0.14) unstable; urgency=low
 .
   [ Ben Hutchings ]
   * Remove custom version from 'make deb-pkg' example (Closes: #627838)
   * Fix introduction to say the handbook describes wheezy (Closes: #651467)
   * Add a section on disk space requirements for the official'linux' package
 (Closes: #681550)
   * Add Vcs-Git control field (Closes: #638479)
   * Mark as capable of satisfying relations from foreign packages
 (Multi-Arch: foreign) (Closes: #679204)
   * Add example of using lsinitramfs command (Closes: #639846)
   * Fix reference to linux-2.6 in package description
 .
   [ Jonathan Nieder ]
   * Explain how to narrow the regression window with "git bisect"
 when filing bugs (Closes: #627960)
Checksums-Sha1: 
 3de796d91f8944ba253001e5d730808f617bd361 1717 kernel-handbook_1.0.14.dsc
 aab10dddfa749fb4e118e914d57c08c843b104ca 25015 kernel-handbook_1.0.14.tar.gz
 b8699778673996d1fde043ddffd9ec7fb632101b 28018 
debian-kernel-handbook_1.0.14_all.deb
Checksums-Sha256: 
 af966f6805fcde6b348799a793790f3d1a455277a50d0950baf978500cfa7132 1717 
kernel-handbook_1.0.14.dsc
 d2036f79f19abf8d2e3d5a8138edb45efd065a66cb5f138f68b116763cbaec13 25015 
kernel-handbook_1.0.14.tar.gz
 e388919cd045d5eecf3e85a14385f566eda94b9aef8102dc1ab4574cf69f8e9d 28018 
debian-kernel-handbook_1.0.14_all.deb
Files: 
 c507804b2a5d4ebe0bdda0aa65e0b5c7 1717 doc extra kernel-handbook_1.0.14.dsc
 d64eaff00c512db1dea264b4ead263c0 25015 doc extra kernel-handbook_1.0.14.tar.gz
 d31f49ce5516eb7fffb51f0c304a3b6b 28018 doc extra 
debian-kernel-handbook_1.0.14_all.deb

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iQIVAwUBUAsdzee/yOyVhhEJAQpvhhAA0GK5gi6U8lNEfkCGLieA2Mqk42VBUyNS
OXk54ZOY9s+nrIaCtNwRbIg8Kln1l5aVwGW6W1NO9ZlssJjjGNZkTD5oeWUrzEGM
l8/pZJiHqyEOXsCE7b7EAkXpLemWZg2n1Y+iQKsr98n1nFHHlW1G2acd3cPEz6RO
SVdI4HKZgQmInIS5Vqv3sW0qsI6upNn6go2szyo

Bug#627838: [debian-kernel-handbook] Wrong instruction in 4.5 Building a custom kernel from Debian kernel source ("version number does not start with digit")

2011-06-05 Thread Ben Hutchings
On Tue, 2011-05-24 at 16:19 -0400, Filipus Klutiero wrote:
> Package: debian-kernel-handbook
> Version: 1.0.10
> Severity: normal
> 
> There is a wrong command in section 4.5 Building a custom kernel from 
> Debian kernel source:
> 
> > $ make KDEB_PKGVERSION=custom.1.0 deb-pkg
> 
> This command fails - after a real long time - with:
> > dpkg-deb: error: parsing file 
> > '/home/chealer/sources/linux-source-2.6.39/debian/hdrtmp/DEBIAN/control' 
> > near line 3 package 'linux-headers-2.6.39':
> >  erreur dans la chaîne Version « custom.1.0 »: version number does not 
> > start with digit
> > make[1]: *** [deb-pkg] Erreur 2
> > make: *** [deb-pkg] Erreur 2
> 
> The French says 'error in Version string "custom.1.0"'.
> Apparently dpkg-deb no longer accepts Version strings that start with 
> something other than a digit.
> 
> There is however an easy workaround, changing the version string, for 
> example to "1.0":
> > $ make KDEB_PKGVERSION=1.0 deb-pkg

I think this example was written in the belief that $KDEB_PKGVERSION
would define the Debian revision, whereas it really defines the whole
package version.  So the example should be something like
'2.6.39-custom.1.0'.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.


signature.asc
Description: This is a digitally signed message part


Bug#627838: [debian-kernel-handbook] Wrong instruction in 4.5 Building a custom kernel from Debian kernel source ("version number does not start with digit")

2011-05-24 Thread Filipus Klutiero

Package: debian-kernel-handbook
Version: 1.0.10
Severity: normal

There is a wrong command in section 4.5 Building a custom kernel from 
Debian kernel source:



$ make KDEB_PKGVERSION=custom.1.0 deb-pkg


This command fails - after a real long time - with:
dpkg-deb: error: parsing file 
'/home/chealer/sources/linux-source-2.6.39/debian/hdrtmp/DEBIAN/control' 
near line 3 package 'linux-headers-2.6.39':
 erreur dans la chaîne Version « custom.1.0 »: version number does not 
start with digit

make[1]: *** [deb-pkg] Erreur 2
make: *** [deb-pkg] Erreur 2


The French says 'error in Version string "custom.1.0"'.
Apparently dpkg-deb no longer accepts Version strings that start with 
something other than a digit.


There is however an easy workaround, changing the version string, for 
example to "1.0":

$ make KDEB_PKGVERSION=1.0 deb-pkg





--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ddc12da.6020...@gmail.com



Re: Debian kernel source diff

2005-01-16 Thread Horms
On Sat, Jan 15, 2005 at 12:41:07AM +, Ketil Froyn wrote:
> Hi,
> 
> I'm having some trouble with Bug#285521, where my laptop will not
> suspend any more when I close the lid. I'd like to inspect a diff
> between the kernel-image source for 2.4.27-1-686-2.4.27-2 and
> 2.4.27-1-686-2.4.27-6 to look for anything that might affect this, but
> I'm not even sure how to get the source for -2 any longer... (As I'm
> sure you've worked out, I'm still quite fresh with Debian).
> 
> Any pointers would be appreciated, or if there is already a fix,
> please let me know so I don't waste any more time. :)

Hi Keitl,

You are in luck.

The source for kernel-image-XXX-2.4.27 packages is provided by the 
kernel-source-2.4.27 package, and in the case of the package
you refer to above, and all over i386 packages, this source is used
completly unmodified.

If you install kernel-patch-debian-2.4.27 then you will get
all of the patches that were used to construct _all_ versions of
kernel-source-2.4.27. They live in /usr/src/kernel-patches/all/2.4.27/debian/

In /usr/src/kernel-patches/all/2.4.27/debian/series/ you will find
the meta-files which control which patches went into which version.
A line starting with a + means the patch was added, 
a line starting with a - means the patch was removed,
and a line starting with an X means a file was removed,
usually because of licencing problems.

Additionally, if you look in the changelog, you will see a fairly detailed
list of what changes were made to which version.

/usr/share/doc/kernel-patch-debian-2.4.27/changelog.Debian.gz

The only trick is to note that confusingly,
kernel-image-2.4.27-1-686 2.4.27-2 was actually built against
kernel-source-2.4.27/kernel-patch-debian-2.4.27 2.4.27-5.

To reiterate, you actually want to compare the difference
between kernel-source-2.4.27/kernel-patch-debian-2.4.27 2.4.27-5
and kernel-source-2.4.27/kernel-patch-debian-2.4.27 2.4.27-6.

>From there things get a bit easier to follow as
kernel-image-2.4.27-1-686 2.4.27-6 was built against
kernel-source-2.4.27/kernel-patch-debian-2.4.27 2.4.27-6.
Simmilarly for 2.4.27-7. And the plan is to do the same for
2.4.27-8.


If you want to apply the patches here is what to do.

install kernel-source-2.4.27
Find some spare disk space and run
tar -jxf /usr/src/kernel-source-2.4.27.tar.bz2
cd kernel-source-2.4.27

This will give you a directory with the patched kernel source,
to find out which version run
cat version.Debian

To patch to a different version run
override_version=2.4.27 /usr/src/kernel-patches/all/2.4.27/apply/debian

You can control the version to patch to by changing the value of 
override_version=2.4.27. 2.4.27 means pristine (less files that have
been removed for licencing reasons, as they can't be recreated).
2.4.27-1, would mean the -1 release and so on.

After each invocation of this command you can inspect version.Debian
to find out what version you are at. If it is missing then 
2.4.27 is assumed by the script, so you should probably do the same.

Please note, that the way this work is implemented by the
kernel-source-2.4.27 package. While kernel-source-2.6.8,9,10, 
have similar systems, based on the code, they are not exactly the same,
so be careful. And for 2.4.26 and earlier, the system was not
as well developed and did not allow you to inspect individual patches.


-- 
Horms


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Debian kernel source diff

2005-01-14 Thread Ketil Froyn
Hi,

I'm having some trouble with Bug#285521, where my laptop will not
suspend any more when I close the lid. I'd like to inspect a diff
between the kernel-image source for 2.4.27-1-686-2.4.27-2 and
2.4.27-1-686-2.4.27-6 to look for anything that might affect this, but
I'm not even sure how to get the source for -2 any longer... (As I'm
sure you've worked out, I'm still quite fresh with Debian).

Any pointers would be appreciated, or if there is already a fix,
please let me know so I don't waste any more time. :)

Cheers,
Ketil


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]