Remove random garbage diff.
[linux-2.6/linux-mips.git] / Documentation / Changes
blob525932df1ecbdef1e0aeee68c705749e6c1a49f2
1 Intro
2 =====
4 This document is designed to provide a list of the minimum levels of
5 software necessary to run the 2.4 kernels, as well as provide brief
6 instructions regarding any other "Gotchas" users may encounter when
7 trying life on the Bleeding Edge.  If upgrading from a pre-2.2.x
8 kernel, please consult the Changes file included with 2.2.x kernels for
9 additional information; most of that information will not be repeated
10 here.  Basically, this document assumes that your system is already
11 functional and running at least 2.2.x kernels.
13 This document is originally based on my "Changes" file for 2.0.x kernels
14 and therefore owes credit to the same people as that file (Jared Mauch,
15 Axel Boldt, Alessandro Sigala, and countless other users all over the
16 'net).
18 The latest revision of this document, in various formats, can always
19 be found at http://cyberbuzz.gatech.edu/kaboom/linux/Changes-2.4/
20 <http://cyberbuzz.gatech.edu/kaboom/linux/Changes-2.4/>.
22 Feel free to translate this document.  If you do so, please send me a
23 URL to your translation for inclusion in future revisions of this
24 document.
26 Last updated: June 11, 2000
28 Chris Ricker (kaboom@gatech.edu or chris.ricker@genetics.utah.edu).
30 Current Minimal Requirements
31 ============================
33 Upgrade to at *least* these software revisions before thinking you've
34 encountered a bug!  If you're unsure what version you're currently
35 running, the suggested command should tell you.
37 Again, keep in mind that this list assumes you are already
38 functionally running a Linux 2.2 kernel.  Also, not all tools are
39 necessary on all systems; obviously, if you don't have any PCMCIA (PC
40 Card) hardware, for example, you probably needn't concern yourself
41 with pcmcia-cs.
43 o  Gnu C                  2.7.2.3                 # gcc --version
44 o  binutils               2.9.1.0.22              # ld -v
45 o  util-linux             2.10g                   # chsh -v
46 o  modutils               2.3.10                  # insmod -V
47 o  e2fsprogs              1.18                    # /sbin/tune2fs --version
48 o  pcmcia-cs              3.1.13                  # cardmgr -V
49 o  PPP                    2.4.0b1                 # pppd --version
50 o  isdn4k-utils           3.1beta7                # isdnctrl 2>&1|grep version
51                           
52 Kernel compilation
53 ==================
55 GCC
56 ---
58 You will need at least gcc 2.7.2 to compile the kernel.  You currently
59 have several options for gcc-derived compilers:  gcc 2.7.2.3, various
60 versions of egcs, the new gcc 2.95 and upcoming gcc 3.0, and experimental
61 compilers like pgcc.  For absolute stability, it is still recommended
62 that gcc 2.7.2.3 be used to compile your kernel.  egcs 1.12 should also
63 work.  gcc 2.95 is known to have problems, and using pgcc for your kernel
64 is just asking for trouble.
66 In addition, please pay attention to compiler optimization.  Anything
67 greater than -O2 may not be wise.  Similarly, if you choose to use gcc-2.95
68 or derivatives, be sure not to use -fstrict-aliasing (which, depending on
69 your version of gcc 2.95, may necessitate using -fno-strict-aliasing).
71 Binutils
72 --------
74 Linux on IA/32 has recently switched from using as86 to using gas for
75 assembling the 16-bit boot code, removing the need for as86 to compile
76 your kernel.  This change does, however, mean that you need a recent
77 release of binutils.
79 If you can, upgrade to the latest 2.9.5 binutils release.  Older
80 releases such as 2.8, 2.8.xx, and the FSF's 2.9.1 should be avoided if
81 at all possible.  The later releases of 2.9.1.0.x (anything where x >= 22)
82 can and do compile the kernel properly, but there are many benefits
83 to upgrading to 2.9.5 if you're up to it.
85 System utils
86 ============
88 Architectural changes
89 ---------------------
91 DevFS is now in the kernel.  See Documentation/filesystems/devfs/* in
92 the kernel source tree for all the gory details.
94 System V shared memory is now implemented via a virtual filesystem.
95 You do not have to mount it to use it as long as you can live with the
96 default maxima for shared memory and segments.  If you wish to change
97 these variables, you have to mount it with the options nr_blocks
98 and/or nr_inodes.  POSIX shared memory is also now implemented via a
99 virtual filesystem.  If you want to use it, you'll need to mount the
100 filesystem.  The recommended mount location is /dev/shm, and adding the
101 following line to /etc/fstab should take care of things:
103 none            /dev/shm        shm             defaults        0 0
105 Remember to create the directory that you intend to mount shm on if
106 necessary.
108 The Logical Volume Manager (LVM) is now in the kernel.  If you want to
109 use this, you'll need to install the necessary LVM toolset.
111 32-bit UID support is now in place.  Have fun!
113 Linux documentation for functions is transitioning to inline
114 documentation via specially-formatted comments near their
115 definitions in the source.  These comments can be combined with the
116 SGML templates in the Documentation/DocBook directory to make DocBook
117 files, which can then be converted by DocBook stylesheets to PostScript,
118 HTML, PDF files, and several other formats.  In order to convert from
119 DocBook format to a format of your choice, you'll need to install Jade as
120 well as the desired DocBook stylesheets.
122 Util-linux
123 ----------
125 New versions of util-linux provide *fdisk support for larger disks,
126 support new options to mount, recognize more supported partition
127 types, and similar goodies.  You'll probably want to upgrade.
129 Ksymoops
130 --------
132 If the unthinkable happens and your kernel oopses, you'll need a 2.3
133 version of ksymoops to decode the report; see REPORTING-BUGS in the
134 root of the Linux source for more information.
136 Modutils
137 --------
139 Upgrade to recent modutils to fix various outstanding bugs which are
140 seen more frequently under 2.3.x, and to enable auto-loading of USB
141 modules.
143 E2fsprogs
144 ---------
146 The latest version of e2fsprogs fixes several bugs in fsck and
147 debugfs.  Obviously, it's a good idea to upgrade.
149 Pcmcia-cs
150 ---------
152 PCMCIA (PC Card) support is now partially implemented in the main
153 kernel source.  Pay attention when you recompile your kernel ;-).
154 Also, be sure to upgrade to the latest pcmcia-cs release.
156 Intel P6 microcode
157 ------------------
159 A driver has been added to allow updating of Intel P6 microcode,
160 accessible as both a devfs regular file and as a normal (misc)
161 character device.  If you are not using devfs you may need to:
163 mkdir /dev/cpu
164 mknod /dev/cpu/microcode c 10 184
165 chmod 0644 /dev/cpu/microcode
167 as root before you can use this.  You'll probably also want to
168 get the user-space microcode_ctl utility to use with this.
170 Networking
171 ==========
173 General changes
174 ---------------
176 The IP firewalling and NAT code has been replaced again.  The new
177 netfilter software (including ipfwadm and ipchains backwards-
178 compatible modules) is currently distributed separately.
180 If you have advanced network configuration needs, you should probably
181 consider using the network tools from ip-route2.
186 The PPP driver has been restructured to support multilink and to
187 enable it to operate over diverse media layers.  If you use PPP,
188 upgrade pppd to at least 2.4.0b1.
190 If you are not using devfs, you must have the device file /dev/ppp
191 which can be made by:
193 mknod /dev/ppp c 108 0
195 as root.
197 If you build ppp support as modules, you will need the following in
198 your /etc/modules.conf file:
200 alias char-major-108    ppp_generic
201 alias /dev/ppp          ppp_generic
202 alias tty-ldisc-3       ppp_async
203 alias tty-ldisc-14      ppp_synctty
204 alias ppp-compress-21   bsd_comp
205 alias ppp-compress-24   ppp_deflate
206 alias ppp-compress-26   ppp_deflate
208 If you use devfsd and build ppp support as modules, you will need
209 the following in your /etc/devfsd.conf file:
211 LOOKUP  PPP     MODLOAD
213 Isdn4k-utils
214 ------------
216 Due to changes in the length of the phone number field, isdn4k-utils
217 needs to be recompiled or (preferably) upgraded.
219 Getting updated software
220 ========================
222 Compilers
223 *********
225 gcc 2.7.2.3
226 -----------
227 o  ftp://ftp.gnu.org/gnu/gcc/gcc-2.7.2.3.tar.gz
228      <ftp://ftp.gnu.org/gnu/gcc/gcc-2.7.2.3.tar.gz>
229 o  ftp://metalab.unc.edu/pub/gnu/gcc-2.7.2.3.tar.gz
230      <ftp://metalab.unc.edu/pub/gnu/gcc-2.7.2.3.tar.gz>
232 egcs 1.12
233 ---------
234 o  ftp://ftp.varesearch.com/pub/support/hjl/gcc/egcs-1.1.2/egcs-1.1.2-glibc.x86.tar.bz2
235      <ftp://ftp.varesearch.com/pub/support/hjl/gcc/egcs-1.1.2/egcs-1.1.2-glibc.x86.tar.bz2>
236 o  ftp://ftp.varesearch.com/pub/support/hjl/gcc/egcs-1.1.2/egcs-1.1.2-libc5.x86.tar.bz2
237      <ftp://ftp.varesearch.com/pub/support/hjl/gcc/egcs-1.1.2/egcs-1.1.2-libc5.x86.tar.bz2>
238 o  ftp://ftp.varesearch.com/pub/support/hjl/gcc/egcs-1.1.2/egcs-1.1.2-alpha.tar.bz2
239      <ftp://ftp.varesearch.com/pub/support/hjl/gcc/egcs-1.1.2/egcs-1.1.2-alpha.tar.bz2>
241 Binutils
242 ********
244 2.9.1 series
245 ------------
246 o  ftp://ftp.varesearch.com/pub/support/hjl/binutils/2.9.1/binutils-2.9.1.0.25.tar.gz
247      <ftp://ftp.varesearch.com/pub/support/hjl/binutils/2.9.1/binutils-2.9.1.0.25.tar.gz>
249 2.9.5 series
250 ------------
251 o  ftp://ftp.varesearch.com/pub/support/hjl/binutils/binutils-2.9.5.0.46.tar.gz
252      <ftp://ftp.varesearch.com/pub/support/hjl/binutils/binutils-2.9.5.0.46.tar.bz2>
254 System utilities
255 ****************
257 Util-linux
258 ----------
259 o  ftp://ftp.cwi.nl/pub/aeb/util-linux/util-linux-2.10g.tar.gz
260      <ftp://ftp.cwi.nl/pub/aeb/util-linux/util-linux-2.10g.tar.gz>
262 Ksymoops
263 --------
264 o  ftp://ftp.kernel.org/pub/linux/utils/kernel/ksymoops/v2.3
265      <ftp://ftp.kernel.org/pub/linux/utils/kernel/ksymoops/v2.3>
267 Modutils
268 --------
269 o  ftp://ftp.kernel.org/pub/linux/utils/kernel/modutils/v2.3/modutils-2.3.9.tar.gz
270      <ftp://ftp.kernel.org/pub/linux/utils/kernel/modutils/v2.3/modutils-2.3.9.tar.gz>
272 E2fsprogs
273 ---------
274 o  http://web.mit.edu/tytso/www/linux/dist/e2fsprogs-1.18.tar.gz
275      <http://web.mit.edu/tytso/www/linux/dist/e2fsprogs-1.18.tar.gz>
276 o  http://web.mit.edu/tytso/www/linux/dist/e2fsprogs-1.18.src.rpm
277      <http://web.mit.edu/tytso/www/linux/dist/e2fsprogs-1.18.src.rpm>
279 LVM toolset
280 -----------
281 o  http://linux.msede.com/lvm/ <http://linux.msede.com/lvm/>
283 Pcmcia-cs
284 ---------
285 o  ftp://sourceforge.org/pcmcia/pcmcia-cs-3.1.13.tar.gz
286      <ftp://sourceforge.org/pcmcia/pcmcia-cs-3.1.13.tar.gz>
288 Jade
289 ----
290 o  ftp://ftp.jclark.com/pub/jade/jade-1.2.1.tar.gz
291      <ftp://ftp.jclark.com/pub/jade/jade-1.2.1.tar.gz>
293 DocBook Stylesheets
294 -------------------
295 o  http://nwalsh.com/docbook/dsssl/
296      <http://nwalsh.com/docbook/dsssl/>
298 Intel P6 microcode
299 ------------------
300 o  http://www.urbanmyth.org/microcode/
301      <http://www.urbanmyth.org/microcode/>
303 Network
304 *******
308 o  ftp://linuxcare.com.au/pub/ppp/ppp-2.4.0b1.tar.gz
309      <ftp://linuxcare.com.au/pub/ppp/ppp-2.4.0b1.tar.gz>
311 Isdn4k-utils
312 ------------
313 o  ftp://ftp.isdn4linux.de/pub/isdn4linux/utils/testing/isdn4k-
314      utils.v3.1beta7.tar.gz
315      <ftp://ftp.isdn4linux.de/pub/isdn4linux/utils/testing/isdn4k-
316      utils.v3.1beta7.tar.gz>
318 Netfilter
319 ---------
320 o  http://netfilter.filewatcher.org/iptables-1.1.0.tar.bz2
321      <http://netfilter.filewatcher.org/iptables-1.1.0.tar.bz2>
322 o  http://www.samba.org/netfilter/iptables-1.1.0.tar.bz2
323      <http://www.samba.org/netfilter/iptables-1.1.0.tar.bz2>
324 o  http://netfilter.kernelnotes.org/iptables-1.1.0.tar.bz2
325      <http://netfilter.kernelnotes.org/iptables-1.1.0.tar.bz2>
327 Ip-route2
328 ---------
329 o  ftp://ftp.inr.ac.ru/ip-routing/iproute2-2.2.4-now-ss991023.tar.gz
330      <ftp://ftp.inr.ac.ru/ip-routing/iproute2-2.2.4-now-ss991023.tar.gz>
332 Suggestions and corrections
333 ===========================
335 Please feel free to submit changes, corrections, gripes, flames,
336 money, etc. to me <chris.ricker@genetics.utah.edu>.  Happy Linuxing!