[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Release notes: Kernel upgrades



On Wed, May 18, 2005 at 12:40:31AM +0200, Jens Seidel wrote:
> On Wed, May 18, 2005 at 12:13:00AM +0200, Frank Lichtenheld wrote:
> For sparc you first define glibcneedsnewkernel "INCLUDE" and after this
> glibcneedsnewkernel "IGNORE". Please note that the first SGML definition
> wins (INCLUDE).

Yeah, that's exactly how it is supposed to work...

> s/unkown/unknown/
> s/a MMU/an MMU/

fixed

> > +	       <example>
> > +deb http://ftp.debian.org sarge/upgrade-kernel/
> > +# sources are also available if you need them
> > +# deb-src http://ftp.debian.org sarge/upgrade-kernel/
> > +               </example>
> 
> Is there a main (contrib, ...) missing?

probably. untested deb line, as this isn't in the archive yet.
Will test that sometime.

> Please use <package> tags for module-init-tools, ...

fixed

Updated patch attached.

Gruesse,
-- 
Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/
Index: release-notes.ent
===================================================================
RCS file: /cvs/debian-doc/ddp/manuals.sgml/release-notes/release-notes.ent,v
retrieving revision 1.4
diff -u -r1.4 release-notes.ent
--- release-notes.ent	17 May 2005 17:51:00 -0000	1.4
+++ release-notes.ent	17 May 2005 23:21:43 -0000
@@ -121,7 +121,7 @@
 <!-- kernel version, taken from b-f... -->
 <![ %alpha   [ <!entity kernelversion "2.4.27"> ]]>
 <![ %arm     [ <!entity kernelversion "2.4.27"> ]]>
-<![ %hppa    [ <!entity kernelversion "2.4.27"> ]]>
+<![ %hppa    [ <!entity kernelversion "2.6.8"> ]]>
 <![ %i386    [ <!entity kernelversion "2.4.27"> ]]>
 <![ %ia64    [ <!entity kernelversion "2.4.27"> ]]>
 <![ %m68k    [ <!entity kernelversion "2.4.27"> ]]>
@@ -135,13 +135,21 @@
 <!-- 2.6 kernel versions, only apply when we have releases that still have 2.4
 as default and 2.6 optional -->
 <![ %alpha   [ <!entity kernelversion-2.6 "2.6.8"> ]]>
-<![ %hppa    [ <!entity kernelversion-2.6 "2.6.8"> ]]>
 <![ %i386    [ <!entity kernelversion-2.6 "2.6.8"> ]]>
 <![ %ia64    [ <!entity kernelversion-2.6 "2.6.8"> ]]>
 <![ %sparc   [ <!entity kernelversion-2.6 "2.6.8"> ]]>
 <![ %s390    [ <!entity kernelversion-2.6 "2.6.8"> ]]>
  
                <!entity kernelversion-2.6 "unknown??">
+
+<!-- kernel upgrade prior to dist-upgrade needed -->
+<![ %i386    [ <!entity % glibcneedsnewkernel "INCLUDE"> ]]>
+<![ %hppa    [ <!entity % glibcneedsnewkernel "INCLUDE"> ]]>
+<![ %hppa    [ <!entity % upgradekernel "INCLUDE"> ]]>
+<![ %sparc   [ <!entity % glibcneedsnewkernel "INCLUDE"> ]]>
+<![ %sparc   [ <!entity % upgradekernel "INCLUDE"> ]]>
+               <!entity % glibcneedsnewkernel "IGNORE">
+               <!entity % upgradekernel "IGNORE">
 
 <!-- Keep this comment at the end of the file
 Local variables:
Index: en/release-notes.en.sgml
===================================================================
RCS file: /cvs/debian-doc/ddp/manuals.sgml/release-notes/en/release-notes.en.sgml,v
retrieving revision 1.30
diff -u -r1.30 release-notes.en.sgml
--- en/release-notes.en.sgml	17 May 2005 18:00:06 -0000	1.30
+++ en/release-notes.en.sgml	17 May 2005 23:21:44 -0000
@@ -308,6 +308,162 @@
           
 	  <prgn>aptitude</prgn>.</p>
 
+<![ %glibcneedsnewkernel [
+	<sect1><heading>Checking kernel support/Upgrading kernel</heading>
+	
+
+<![ %sparc [
+           <p>All machines with a 64bit SPARC CPU (sun4u) should be upgradable
+	   without any special considerations about kernel support.</p>
+
+	   <p>sun4c CPUs are <em>not supported anymore</em> in sarge.
+	   The support for sun4d CPUs is in a rather unknown state since they
+	   are very rare. It is possible that sun4d CPUs with an MMU work.</p>
+
+	   <p>sun4m CPUs are still supported but you need to install a newer kernel
+	   version first before upgrading the system. This is because newer
+	   versions of glibc use assembler instructions not available on certain
+	   machines, so you need a updated kernel first that emulates the missing
+	   instructions.</p>
+
+	   <p>Technically only <em>some</em> sun4m chips are affected, but as
+	   glibc can't reliably detect whether a system is affected it
+	   will refuse to be upgraded on any 32bit SPARC system before a
+	   fixed kernel is installed.</p>
+
+	   <p>For those interested in the gory details: Some of the
+	   sun4m chips, produced by Cypress/ROSS, don't implement the
+	   <tt>umul</tt> instruction (RT601/CY7C601, same chip, only different names).
+	   They were used in the early SPARCserver 6xxMP models. Later
+	   models used chips manufactured by TI. We don't know currently if
+	   these are also affected.</p>
+
+<!-- Add link to http://www.ultralinux.org/faq.html#q_2_1 ? -->
+
+]]>
+
+<![ %hppa [
+          <p>On 64bit HPPA machines you will need to upgrade to a newer
+	  kernel version first before upgrading the system. This is because newer
+	  versions of glibc use assembler instructions not available on certain
+	  machines, so you need a updated kernel first that emulates the missing
+	  instructions.</p>
+
+]]>
+
+<![ %i386 [
+          <p>True "80386" CPUs are <em/not supported/ anymore by sarge.
+	  This does not affect any CPUs that are compatible with "80486"
+	  CPUs or above.</p>
+
+]]>
+
+<![ %upgradekernel [
+          <sect2><heading>Kernel upgrade</heading>
+
+          <p>We provide backports of all tools needed to install the
+	  current kernel from sarge. The following instructions
+	  explain step by step how to use them to install the
+	  newer kernel.</p>
+
+	  <p><strong>These backport packages aren't yet uploaded to the main Debian
+	  archive. For now, you can find them at <url
+	  id="http://higgs.djpig.de/upgrade/upgrade-kernel/";></strong></p>
+
+	  <p><taglist>
+	       <tag>Download and install the needed packages</tag>
+
+	       <item><p><em>with apt</em>: to install the packages with
+	       <prgn>apt</prgn> or one of its frontends, add the following line in your
+	       <file>/etc/apt/sources.list</file>:
+
+	       <example>
+deb http://ftp.debian.org sarge/upgrade-kernel/
+# sources are also available if you need them
+# deb-src http://ftp.debian.org sarge/upgrade-kernel/
+               </example>
+
+<![ %sparc [
+               Then install the packages
+	       <package>kernel-image-2.4.27-2-sparc32</package>,
+	       <package>modutils</package> and
+               <package>initrd-tools</package>.
+]]>
+<![ %hppa [
+               Then install the packages
+	       <package>kernel-image-2.6.8-2-64</package>,
+	       <package>module-init-tools</package> and
+               <package>initrd-tools</package>.
+]]>
+               </p>
+	       <p><em>with dpkg</em>: to install the packages directly with <prgn>dpkg</prgn> you need to
+	       download the necessary files first.
+<![ %hppa [
+<!-- note: download URLs not final yet -->
+               <p><list>
+	         <item><url id="http://ftp.debian.org/debian/pool/main/k/kernel-image-2.6.8-hppa/kernel-image-2.6.8-2-64_2.6.8-6_hppa.deb";></item>
+		 <item><url id="http://ftp.debian.org/debian/dists/stable/main/upgrade-kernel/module-init-tools_3.2-pre1-2.woody1_hppa.deb";>
+		 <item><url id="http://ftp.debian.org/debian/dists/stable/main/upgrade-kernel/initrd-tools_0.1.79-0.woody1_all.deb";>
+		 <item><url id="http://ftp.debian.org/debian/dists/stable/main/upgrade-kernel/cramfsprogs_1.1-6.woody1_hppa.deb";>
+	       </list></p>
+
+               <p>The kernel package depends on
+               <package>module-init-tools</package>,
+               <package>initrd-tools</package> depends on
+               <package>cramfsprogs</package>. All other dependencies can
+               be satisfied with packages from woody in the usual way.</p>
+]]>
+
+<![ %sparc [
+               <p><list>
+	         <item><url id="http://ftp.debian.org/debian/pool/main/k/kernel-image-2.4.27-sparc/kernel-image-2.4.27-2-sparc32_2.4.27-2_sparc.deb";>
+		 <item><url id="http://ftp.debian.org/debian/dists/stable/main/upgrade-kernel/modutils_2.4.26-1.2woody1_sparc.deb";>
+		 <item><url id="http://ftp.debian.org/debian/dists/stable/main/upgrade-kernel/initrd-tools_0.1.77-0.woody1_all.deb";>
+		 <item><url id="http://ftp.debian.org/debian/dists/stable/main/upgrade-kernel/cramfsprogs_1.1-6.woody1_sparc.deb";>
+	       </list></p>
+
+               <p>The kernel package depends on
+               <package>modutils</package>. <package>initrd-tools</package>
+	       depends on <package>cramfsprogs</package>. All other
+               dependencies can be satisfied with packages from woody in
+               the usual way.</p>
+]]>
+               </item>
+
+               <tag>Don't delete your old kernel</tag>
+	       <item><p>until you verified that the new one boots and all
+	       hardware needed for the upgrade works (e.g. network
+	       adaptors).</p></item>
+
+	       <tag>Make your system bootable</tag>
+	       <item>
+<![ %sparc [
+               <p>You will probably have to adapt your
+	       boot loader configuration <file>/etc/silo.conf</file>. Note that
+	       the kernel now uses an initrd while the Debian kernels in woody
+	       did not.</p>
+]]>
+<![ %hppa [
+               <p></p><!-- hppa? -->
+]]>
+
+               </item>
+
+	       <tag>Reboot to the new kernel</tag>
+	       <tag>Check your system</tag>
+	       <item><p>Check especially input devices, display devices,
+	       devices needed to access the sarge packages (i.e. network
+	       adaptors, CD drives, etc). Some driver modules may have been
+	       renamed, some drivers which have been
+	       compiled into the old kernel might now be compiled as
+	       modules, ...</p></item>
+
+          </taglist></p>
+
+]]>
+
+]]>
+
 	<sect1><heading>Disabling APT pinning</heading>
 
 	  <p>If you have configured APT to install certain packages from a

Reply to: