From d86fb96f2ad3a55be9b8c02146ba8da05de21ef1 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Fri, 23 Nov 2007 15:12:36 -0500 Subject: [PATCH] Import 2.1.6 --- CREDITS | 8 +- Documentation/Changes | 119 +- Documentation/Configure.help | 4 +- Documentation/networking/z8530drv.txt | 309 +-- MAINTAINERS | 18 + Makefile | 2 +- arch/alpha/kernel/osf_sys.c | 2 +- arch/alpha/kernel/process.c | 2 +- arch/alpha/kernel/ptrace.c | 2 +- arch/alpha/kernel/setup.c | 2 +- arch/alpha/kernel/signal.c | 2 +- arch/alpha/kernel/time.c | 2 +- arch/alpha/kernel/traps.c | 2 +- arch/alpha/math-emu/fp-emul.c | 2 +- arch/alpha/mm/fault.c | 2 +- arch/alpha/mm/init.c | 2 +- arch/i386/kernel/ksyms.c | 2 +- arch/i386/kernel/ldt.c | 2 +- arch/i386/kernel/process.c | 2 +- arch/i386/kernel/ptrace.c | 2 +- arch/i386/kernel/setup.c | 2 +- arch/i386/kernel/signal.c | 7 +- arch/i386/kernel/sys_i386.c | 2 +- arch/i386/kernel/time.c | 2 +- arch/i386/kernel/traps.c | 2 +- arch/i386/kernel/vm86.c | 2 +- arch/i386/math-emu/README | 8 +- arch/i386/math-emu/errors.c | 2 +- arch/i386/math-emu/fpu_entry.c | 2 +- arch/i386/math-emu/get_address.c | 2 +- arch/i386/math-emu/load_store.c | 2 +- arch/i386/math-emu/reg_ld_str.c | 2 +- arch/i386/mm/fault.c | 2 +- arch/i386/mm/init.c | 2 +- drivers/block/floppy.c | 2 +- drivers/block/hd.c | 2 +- drivers/block/ide-cd.c | 2 +- drivers/block/ide-tape.c | 2 +- drivers/block/ide.c | 9 +- drivers/block/loop.c | 2 +- drivers/block/rd.c | 2 +- drivers/block/umc8672.c | 2 +- drivers/block/xd.c | 2 +- drivers/cdrom/aztcd.c | 2 +- drivers/cdrom/cdu31a.c | 16 +- drivers/cdrom/gscd.c | 2 +- drivers/cdrom/mcd.c | 2 +- drivers/cdrom/sbpcd.c | 2 +- drivers/cdrom/sjcd.c | 2 +- drivers/cdrom/sonycd535.c | 2 +- drivers/char/Makefile | 8 - drivers/char/README.scc | 27 +- drivers/char/amigamouse.c | 2 +- drivers/char/apm_bios.c | 2 +- drivers/char/atarimouse.c | 2 +- drivers/char/atixlmouse.c | 2 +- drivers/char/baycom.c | 2 +- drivers/char/busmouse.c | 2 +- drivers/char/console.c | 2 +- drivers/char/consolemap.c | 2 +- drivers/char/cyclades.c | 2 +- drivers/char/fbmem.c | 2 +- drivers/char/lp.c | 2 +- drivers/char/lp_m68k.c | 2 +- drivers/char/mem.c | 2 +- drivers/char/msbusmouse.c | 2 +- drivers/char/n_tty.c | 2 +- drivers/char/pcxx.c | 2 +- drivers/char/psaux.c | 2 +- drivers/char/pty.c | 2 +- drivers/char/random.c | 2 +- drivers/char/rtc.c | 19 +- drivers/char/scc.c | 2791 --------------------- drivers/char/selection.c | 9 +- drivers/char/serial.c | 2 +- drivers/char/stallion.c | 2 +- drivers/char/tga.c | 2 +- drivers/char/tpqic02.c | 2 +- drivers/char/tty_io.c | 9 +- drivers/char/tty_ioctl.c | 2 +- drivers/char/vc_screen.c | 2 +- drivers/char/vesa_blank.c | 2 +- drivers/char/vga.c | 2 +- drivers/char/vt.c | 2 +- drivers/char/wdt.c | 2 +- drivers/isdn/isdn_common.c | 323 ++- drivers/isdn/isdn_net.c | 28 +- drivers/isdn/isdn_ppp.c | 49 +- drivers/isdn/isdn_tty.c | 43 +- drivers/isdn/teles/callc.c | 7 +- drivers/isdn/teles/card.c | 50 +- drivers/isdn/teles/config.c | 32 +- drivers/isdn/teles/llglue.c | 7 +- drivers/isdn/teles/mod.c | 4 +- drivers/isdn/teles/teles.h | 11 +- drivers/net/3c59x.c | 2 +- drivers/net/8390.c | 2 +- drivers/net/Makefile | 8 + drivers/net/README.scc | 23 + drivers/net/arcnet.c | 47 +- drivers/net/bsd_comp.c | 2 +- drivers/net/de4x5.c | 2 +- drivers/net/depca.c | 2 +- drivers/net/ewrk3.c | 2 +- drivers/net/loopback.c | 2 +- drivers/net/pi2.c | 2 +- drivers/net/ppp.c | 2 +- drivers/net/pt.c | 2 +- drivers/net/scc.c | 2287 +++++++++++++++++ drivers/net/slhc.c | 2 +- drivers/net/slip.c | 2 +- drivers/net/strip.c | 2 +- drivers/net/z8530.h | 23 + drivers/scsi/BusLogic.c | 2 +- drivers/scsi/BusLogic.h | 3 +- drivers/scsi/Config.in | 2 +- drivers/scsi/NCR5380.c | 4 +- drivers/scsi/README.FlashPoint | 63 + drivers/scsi/aic7xxx.c | 8 +- drivers/scsi/eata_dma.c | 36 +- drivers/scsi/eata_dma.h | 4 +- drivers/scsi/eata_generic.h | 2 +- drivers/scsi/hosts.c | 12 +- drivers/scsi/scsi.c | 36 +- drivers/scsi/scsi_ioctl.c | 2 +- drivers/scsi/sd.c | 5 +- drivers/scsi/sd_ioctl.c | 2 +- drivers/scsi/seagate.c | 2 +- drivers/scsi/sg.c | 2 +- drivers/scsi/sr_ioctl.c | 2 +- drivers/scsi/st.c | 23 +- drivers/sound/.object_files | 35 - drivers/sound/.objects | 5 +- drivers/sound/.version | 4 +- drivers/sound/CHANGELOG | 8 +- drivers/sound/Config.in | 1 + drivers/sound/Config.std | 5 +- drivers/sound/Makefile | 21 +- drivers/sound/Readme | 21 +- drivers/sound/Readme.aedsp16 | 4 +- drivers/sound/Readme.cards | 143 +- drivers/sound/Readme.linux | 2 +- drivers/sound/ad1848.c | 625 +++-- drivers/sound/ad1848_mixer.h | 65 +- drivers/sound/adlib_card.c | 5 +- drivers/sound/aedsp16.c | 18 +- drivers/sound/audio.c | 139 +- drivers/sound/configure.c | 129 +- drivers/sound/cs4232.c | 67 +- drivers/sound/dev_table.c | 154 +- drivers/sound/dev_table.h | 71 +- drivers/sound/dmabuf.c | 793 +++--- drivers/sound/dmasound.c | 3252 ------------------------- drivers/sound/dmasound.h | 36 - drivers/sound/finetune.h | 2 +- drivers/sound/gus_card.c | 72 +- drivers/sound/gus_midi.c | 24 +- drivers/sound/gus_vol.c | 4 +- drivers/sound/gus_wave.c | 429 ++-- drivers/sound/ics2101.c | 46 +- drivers/sound/iwmem.h | 2 +- drivers/sound/lowlevel/ChangeLog.awe | 66 + drivers/sound/lowlevel/Config.tmpl | 1 + drivers/sound/lowlevel/Makefile | 17 +- drivers/sound/lowlevel/README | 14 +- drivers/sound/lowlevel/README.awe | 69 + drivers/sound/lowlevel/aci.c | 4 +- drivers/sound/lowlevel/awe_hw.h | 89 + drivers/sound/lowlevel/awe_voice.h | 242 ++ drivers/sound/lowlevel/awe_wave.c | 3242 ++++++++++++++++++++++++ drivers/sound/lowlevel/init.c | 28 + drivers/sound/lowlevel/lowlevel.h | 5 + drivers/sound/mad16.c | 189 +- drivers/sound/maui.c | 52 +- drivers/sound/midi_synth.c | 59 +- drivers/sound/midibuf.c | 128 +- drivers/sound/mpu401.c | 81 +- drivers/sound/opl3.c | 120 +- drivers/sound/opl3.h | 6 +- drivers/sound/os.h | 15 +- drivers/sound/pas2_card.c | 14 +- drivers/sound/pas2_midi.c | 81 +- drivers/sound/pas2_mixer.c | 54 +- drivers/sound/pas2_pcm.c | 35 +- drivers/sound/patmgr.c | 78 +- drivers/sound/pss.c | 127 +- drivers/sound/sb.h | 4 +- drivers/sound/sb_audio.c | 48 +- drivers/sound/sb_card.c | 2 +- drivers/sound/sb_common.c | 228 +- drivers/sound/sb_midi.c | 14 +- drivers/sound/sb_mixer.c | 51 +- drivers/sound/sb_mixer.h | 13 +- drivers/sound/sequencer.c | 324 +-- drivers/sound/sound_calls.h | 34 +- drivers/sound/sound_config.h | 29 +- drivers/sound/sound_switch.c | 199 +- drivers/sound/sound_timer.c | 30 +- drivers/sound/soundcard.c | 151 +- drivers/sound/soundvers.h | 4 +- drivers/sound/sscape.c | 143 +- drivers/sound/sys_timer.c | 30 +- drivers/sound/trix.c | 45 +- drivers/sound/uart401.c | 40 +- drivers/sound/uart6850.c | 10 +- fs/affs/dir.c | 2 +- fs/affs/file.c | 2 +- fs/affs/inode.c | 2 +- fs/affs/namei.c | 2 +- fs/affs/symlink.c | 2 +- fs/binfmt_aout.c | 2 +- fs/binfmt_elf.c | 69 +- fs/block_dev.c | 2 +- fs/buffer.c | 2 +- fs/dquot.c | 2 +- fs/exec.c | 2 +- fs/ext/dir.c | 2 +- fs/ext/file.c | 2 +- fs/ext/fsync.c | 2 +- fs/ext/inode.c | 2 +- fs/ext/namei.c | 2 +- fs/ext/symlink.c | 2 +- fs/ext2/dir.c | 2 +- fs/ext2/file.c | 2 +- fs/ext2/fsync.c | 2 +- fs/ext2/inode.c | 2 +- fs/ext2/ioctl.c | 2 +- fs/ext2/namei.c | 2 +- fs/ext2/super.c | 2 +- fs/ext2/symlink.c | 2 +- fs/fat/dir.c | 2 +- fs/fat/file.c | 2 +- fs/fat/inode.c | 2 +- fs/fat/mmap.c | 2 +- fs/fcntl.c | 3 +- fs/hpfs/hpfs_fs.c | 2 +- fs/ioctl.c | 4 +- fs/isofs/dir.c | 2 +- fs/isofs/inode.c | 2 +- fs/isofs/namei.c | 2 +- fs/isofs/symlink.c | 2 +- fs/locks.c | 2 +- fs/minix/dir.c | 2 +- fs/minix/file.c | 2 +- fs/minix/fsync.c | 2 +- fs/minix/inode.c | 2 +- fs/minix/namei.c | 2 +- fs/minix/symlink.c | 2 +- fs/msdos/namei.c | 2 +- fs/namei.c | 2 +- fs/ncpfs/dir.c | 2 +- fs/ncpfs/file.c | 2 +- fs/ncpfs/inode.c | 2 +- fs/ncpfs/ioctl.c | 2 +- fs/ncpfs/mmap.c | 2 +- fs/ncpfs/sock.c | 2 +- fs/nfs/bio.c | 2 +- fs/nfs/dir.c | 2 +- fs/nfs/file.c | 2 +- fs/nfs/inode.c | 2 +- fs/nfs/nfsroot.c | 2 +- fs/nfs/proc.c | 2 +- fs/nfs/rpcsock.c | 2 +- fs/nfs/sock.c | 2 +- fs/nfs/symlink.c | 2 +- fs/noquot.c | 2 +- fs/open.c | 2 +- fs/pipe.c | 4 +- fs/proc/array.c | 2 +- fs/proc/base.c | 2 +- fs/proc/fd.c | 2 +- fs/proc/inode.c | 2 +- fs/proc/kmsg.c | 2 +- fs/proc/link.c | 2 +- fs/proc/mem.c | 2 +- fs/proc/net.c | 2 +- fs/proc/root.c | 2 +- fs/proc/scsi.c | 2 +- fs/read_write.c | 2 +- fs/readdir.c | 2 +- fs/select.c | 2 +- fs/smbfs/dir.c | 2 +- fs/smbfs/file.c | 2 +- fs/smbfs/inode.c | 2 +- fs/smbfs/ioctl.c | 2 +- fs/smbfs/mmap.c | 2 +- fs/smbfs/proc.c | 2 +- fs/smbfs/sock.c | 2 +- fs/stat.c | 2 +- fs/super.c | 2 +- fs/sysv/dir.c | 2 +- fs/sysv/file.c | 2 +- fs/sysv/inode.c | 2 +- fs/sysv/symlink.c | 2 +- fs/ufs/ufs_super.c | 2 +- fs/ufs/ufs_symlink.c | 2 +- fs/umsdos/dir.c | 2 +- fs/umsdos/emd.c | 2 +- fs/umsdos/file.c | 2 +- fs/umsdos/inode.c | 2 +- fs/umsdos/ioctl.c | 2 +- fs/umsdos/rdir.c | 2 +- fs/umsdos/symlink.c | 2 +- fs/vfat/namei.c | 2 +- fs/xiafs/dir.c | 2 +- fs/xiafs/file.c | 2 +- fs/xiafs/fsync.c | 2 +- fs/xiafs/inode.c | 2 +- fs/xiafs/namei.c | 2 +- fs/xiafs/symlink.c | 2 +- include/asm-alpha/segment.h | 302 +-- include/asm-alpha/uaccess.h | 348 +++ include/asm-i386/elf.h | 1 + include/asm-i386/segment.h | 215 +- include/asm-i386/string-486.h | 1 + include/asm-i386/uaccess.h | 336 +++ include/linux/fs.h | 3 +- include/linux/mm.h | 9 - include/linux/proc_fs.h | 1 + include/linux/raid0.h | 29 - include/linux/scc.h | 476 +--- include/linux/soundcard.h | 262 +- include/linux/ultrasound.h | 2 +- ipc/msg.c | 2 +- ipc/sem.c | 3 +- ipc/shm.c | 2 +- ipc/util.c | 3 +- kernel/exit.c | 2 +- kernel/fork.c | 2 +- kernel/info.c | 4 +- kernel/itimer.c | 2 +- kernel/module.c | 3 +- kernel/panic.c | 2 +- kernel/printk.c | 3 +- kernel/sched.c | 2 +- kernel/signal.c | 2 +- kernel/sys.c | 15 +- kernel/sysctl.c | 6 +- kernel/time.c | 2 +- mm/filemap.c | 2 +- mm/memory.c | 2 +- mm/mlock.c | 2 +- mm/mmap.c | 2 +- mm/mprotect.c | 2 +- mm/mremap.c | 2 +- mm/page_alloc.c | 2 +- mm/page_io.c | 2 +- mm/swap.c | 2 +- mm/swap_state.c | 2 +- mm/swapfile.c | 2 +- mm/vmalloc.c | 2 +- mm/vmscan.c | 2 +- net/802/tr.c | 2 +- net/appletalk/aarp.c | 2 +- net/appletalk/ddp.c | 7 +- net/ax25/af_ax25.c | 2 +- net/ax25/ax25_in.c | 2 +- net/ax25/ax25_out.c | 2 +- net/ax25/ax25_route.c | 2 +- net/ax25/ax25_subr.c | 2 +- net/ax25/ax25_timer.c | 2 +- net/bridge/br.c | 2 +- net/core/datagram.c | 2 +- net/core/dev.c | 6 +- net/core/dev_mcast.c | 2 +- net/core/iovec.c | 2 +- net/core/skbuff.c | 2 +- net/core/sock.c | 2 +- net/ethernet/eth.c | 2 +- net/ipv4/af_inet.c | 2 +- net/ipv4/arp.c | 2 +- net/ipv4/devinet.c | 2 +- net/ipv4/icmp.c | 2 +- net/ipv4/igmp.c | 2 +- net/ipv4/ip_fragment.c | 14 +- net/ipv4/ip_fw.c | 4 +- net/ipv4/ip_input.c | 2 +- net/ipv4/ip_output.c | 2 +- net/ipv4/ip_sockglue.c | 2 +- net/ipv4/ipmr.c | 2 +- net/ipv4/packet.c | 2 +- net/ipv4/protocol.c | 2 +- net/ipv4/rarp.c | 2 +- net/ipv4/raw.c | 2 +- net/ipv4/route.c | 2 +- net/ipv4/tcp.c | 2 +- net/ipv4/udp.c | 2 +- net/ipv4/utils.c | 2 +- net/ipx/af_ipx.c | 53 +- net/netlink.c | 2 +- net/netrom/af_netrom.c | 2 +- net/netrom/nr_dev.c | 2 +- net/netrom/nr_in.c | 2 +- net/netrom/nr_out.c | 2 +- net/netrom/nr_route.c | 2 +- net/netrom/nr_subr.c | 2 +- net/netrom/nr_timer.c | 2 +- net/socket.c | 2 +- net/unix/af_unix.c | 2 +- net/unix/garbage.c | 2 +- scripts/Menuconfig | 10 +- 401 files changed, 11108 insertions(+), 10496 deletions(-) delete mode 100644 drivers/char/scc.c create mode 100644 drivers/net/README.scc create mode 100644 drivers/net/scc.c delete mode 100644 drivers/sound/.object_files delete mode 100644 drivers/sound/dmasound.c delete mode 100644 drivers/sound/dmasound.h create mode 100644 drivers/sound/lowlevel/ChangeLog.awe create mode 100644 drivers/sound/lowlevel/README.awe create mode 100644 drivers/sound/lowlevel/awe_hw.h create mode 100644 drivers/sound/lowlevel/awe_voice.h create mode 100644 drivers/sound/lowlevel/awe_wave.c create mode 100644 drivers/sound/lowlevel/lowlevel.h create mode 100644 include/asm-alpha/uaccess.h create mode 100644 include/asm-i386/uaccess.h diff --git a/CREDITS b/CREDITS index 88ee58ac4cf9..4b1cd4fcef9d 100644 --- a/CREDITS +++ b/CREDITS @@ -927,7 +927,7 @@ S: Fairfax, Virginia 22033 S: USA N: William (Bill) Metzenthen -E: billm@jacobi.maths.monash.edu.au +E: billm@suburbia.net D: Author of the FPU emulator. D: Minor kernel hacker for other lost causes (Hercules mono, etc). S: 22 Parker Street @@ -1118,6 +1118,12 @@ S: Rebmannsweg 34h S: 79539 Loerrach S: Germany +N: Joerg Reuter +E: jreuter@lykos.oche.de +E: dl1bke@db0pra.ampr.org +D: Generic Z8530 driver, AX.25 DAMA slave implementation +D: Several AX.25 hacks + N: William E. Roadcap E: roadcapw@cfw.com W: http://www.cfw.com/~roadcapw diff --git a/Documentation/Changes b/Documentation/Changes index 9485b79b69ab..b060c96330f8 100644 --- a/Documentation/Changes +++ b/Documentation/Changes @@ -103,49 +103,67 @@ option is present. Many older distributions (mainly Slackware) have this option in their lilo.config file. Comment it out and re-run lilo if you need ramdisks. +Module load errors +================== + + The 386 Linux kernel versions 2.1.0 and above have moved to address +0xc0000000. This means that syscalls that return an address in the +kernel area will return a value that is a negative 32 bit number. +Versions of libc prior to libc-5.4.8 will interpret the negative value +as an error. In particular, this prevents modules from loading. You +need at least libc-5.4.10 to load modules successfully again. + + The Linux C Library =================== - The latest stable Linux C Library release is 5.2.18. If you upgrade -to this from 5.0.9 or earlier, be sure to read the -`release.libc-5.2.18' file, since GNU make and a few other fairly -important utils can be broken by the upgrade. - - The current (beta) Linux C Library release is 5.3.12. In this -release there are some important changes that may cause troubles to -buggy programs (programs that call free() on a pointer not returned by -malloc() work with previous libc, but not with this release) so read the -`release.libc-5.3.12' file carefully! In the latest libc releases a -dirent bug, which erroneously defined d->reclen to d->namlen if USE_GNU -was defined, has been fixed. Unfortunately, some GNU packages depend -on this bug. GNU make 3.xx is one of them. To fix that you need to -patch and recompile those programs (a patch for make is included in the -file `release.libc-.5.3.9', and the address to obtain a precompiled -binary is at the end of this file). - - Also, the libc-5.3.x line has a known security hole relating to -rlogin. Libc-5.3.12 fixes this, so if you're going to run an -experimental libc, be sure to upgrade to 5.3.12. - - If you're getting an error message that is something to the effect of + Before upgrading your C library, be sure to carefully read the +`release.libc-x.y.z' file. (x.y.z is the version number eg. 5.4.7) + +- GNU make, perl, and a few other important utils can be broken by the + upgrade. A dirent bug, which erroneously defined d->reclen to + d->namlen if USE_GNU was defined, has been fixed. Unfortunately, + some GNU packages depend on this bug. GNU make 3.xx is one of them. + To fix that you need to patch and recompile those programs (a patch + for make is included in the file `release.libc-x.y.z', and the + address to obtain a precompiled binary is at the end of this file). + +- Upgrading libc can also break xterm support. If it does, you need + to recompile xterm. + +- There have been some important changes to libc that may cause + trouble with buggy programs. Programs that call free() on a pointer + not returned by malloc() work with older versions of libc, but not + with newer versions of libc. + + +There are good reasons to upgrade your libc though! + +- If you use modules, you'll need libc-5.4.10 or later with version + 2.1.x i386 kernels + +- The libc-5.3.x line before libc-5.3.12 have a known security hole + relating to rlogin. Another security fix was done in libc-5.4.7. + +- If you're getting an error message that is something like `fcntl_setlk() called by process 123 with broken flock() emulation' - then you need to upgrade to at least libc-5.2.18 as well. A proper -(in other words, BSD-style ;-) flock system call was added to 2.0.x, -and older libc's will now give this error. It doesn't *really* matter, -so you can just ignore it. If it really annoys you, upgrade libc (and -recompile any static binaries you might have that are linked against -the old libc). If you're feeling lazy, just comment out + then you need to upgrade to at least libc-5.2.18. A proper (in + other words, BSD-style ;-) flock system call was added to 2.0.x, and + older libc's will now give this error. It doesn't *really* matter, + so you can just ignore it. If it really annoys you, upgrade libc + (and recompile any static binaries you might have that are linked + against the old libc). If you're feeling lazy, just comment out + + `printk(KERN_WARNING + "fcntl_setlk() called by process %d with broken flock() emulation\n", + current->pid);' - ` printk(KERN_WARNING -"fcntl_setlk() called by process %d with broken flock() - emulation\n", current->pid);' + in linux/fs/locks.c and recompile. If you're still running a.out, + there's an unofficial libc-4.7.6 to which you can upgrade to fix + this problem. - in linux/fs/locks.c and recompile. If you're still running a.out, -there's an unofficial libc-4.7.6 release out to which you can upgrade -to fix this problem. Libc is available from -ftp://sunsite.unc.edu/pub/Linux/GCC/. GCC Signal 11 error =================== @@ -416,11 +434,9 @@ Make If make no longer works, you need to read the release notes for the libc you upgraded to. The latest libc and release notes can be found at ftp://tsx-11.mit.edu/pub/linux/packages/GCC. This is NOT an error due -to the kernel, though many people have mistakenly thought it is. When -you upgrade to libc-5.3.9, you have to patch make to get it to work. -All of this is documented in the release notes with libc. Upgrading -libc can also break xterm support. If it does, you need to recompile -xterm. +to the kernel, though many people have mistakenly thought it was. When +you upgrade to libc-5.3.9 or later, from previous versions, you have +to patch make to get it to work. Loop device =========== @@ -605,15 +621,15 @@ ftp://sunsite.unc.edu/pub/Linux/GCC/release.gcc-2.7.2 Linux C Library =============== -The stable 5.2.18 release: -ftp://sunsite.unc.edu/pub/Linux/GCC/libc-5.2.18.bin.tar.gz -Installation notes for 5.2.18: -ftp://sunsite.unc.edu/pub/Linux/GCC/release.libc-5.2.18 +The stable 5.4.7 release: +ftp://sunsite.unc.edu/pub/Linux/GCC/libc-5.4.7.bin.tar.gz +Installation notes for 5.4.7: +ftp://sunsite.unc.edu/pub/Linux/GCC/release.libc-5.4.7 -The latest 5.3.12 release: -ftp://sunsite.unc.edu/pub/Linux/GCC/libc-5.3.12.bin.tar.gz -Installation notes for 5.3.12: -ftp://sunsite.unc.edu/pub/Linux/GCC/release.libc-5.3.12 +The latest release: +ftp://sunsite.unc.edu/pub/Linux/GCC/private/tofu/libc-x.y.z.bin.tar.gz +Installation notes for x.y.z: +ftp://sunsite.unc.edu/pub/Linux/GCC/private/tofu/release.libc-x.y.z Patched make sources: ftp://sunsite.unc.edu/pub/Linux/devel/make/make-3.74.patched.tar.gz @@ -623,12 +639,16 @@ ftp://sunsite.unc.edu/pub/Linux/devel/make/make-3.74-direntfix-elf.tgz Linux C++ Library ================= +ftp://sunsite.unc.edu/pub/Linux/GCC/libg++-2.7.2.1.bin.tar.gz ftp://sunsite.unc.edu/pub/Linux/GCC/libg++-2.7.1.4.bin.tar.gz ftp://sunsite.unc.edu/pub/Linux/GCC/libg++-2.7.1.3.bin.tar.gz Installation notes: +ftp://sunsite.unc.edu/pub/Linux/GCC/release.libg++-2.7.2.1 ftp://sunsite.unc.edu/pub/Linux/GCC/release.libg++-2.7.1.4 ftp://sunsite.unc.edu/pub/Linux/GCC/release.libg++-2.7.1.3 -Use 2.7.13 with libc 5.2.18 and 2.7.14 with libc 5.3.12. +Use libg++-2.7.2.1 with libc-5.4.4 and above, + libg++-2.7.1.4 with libc-5.3.5 to libc-5.4.3, + libg++-2.7.1.3 with libc 5.2.14 to libc-5.3.4 Dynamic Linker ============== @@ -713,4 +733,3 @@ Chris Ricker (gt1355b@prism.gatech.edu). I generate this from a modified texinfo setup, so you don't need to bother generating a diff against the current version before you send the additional information to me. - diff --git a/Documentation/Configure.help b/Documentation/Configure.help index bda2615581db..90aee7f3eed7 100644 --- a/Documentation/Configure.help +++ b/Documentation/Configure.help @@ -1864,11 +1864,11 @@ CONFIG_WIC code which can be inserted in and removed from the running kernel whenever you want), say M here and read Documentation/modules.txt. -Z8530 SCC kiss emulation driver for AX.25 +Z8530 SCC driver for AX.25 CONFIG_SCC These cards are used to connect your Linux box to an amateur radio in order to communicate with other computers. If you want to use - this, read Documentation/networking/z8530drv.txt and the HAM-HOWTO, + this, read Documentation/networking/z8530drv.txt and the AX.25-HOWTO, available via ftp (user: anonymous) at sunsite.unc.edu:/pub/Linux/docs/HOWTO. If you want to compile this as a module ( = code which can be inserted in and removed from the diff --git a/Documentation/networking/z8530drv.txt b/Documentation/networking/z8530drv.txt index f7df36efbfce..67c842ee600e 100644 --- a/Documentation/networking/z8530drv.txt +++ b/Documentation/networking/z8530drv.txt @@ -4,24 +4,22 @@ full package from: Internet: ========= -ftp.ucsd.edu:/hamradio/packet/tcpip/incoming/z8530drv-2.0.dl1bke.real.tar.gz +1. db0bm.automation.fh-aachen.de/incoming/dl1bke/z8530drv-utils-3.0.tar.gz -[ - if you can't find it there, try: - .../tcpip/linux/z8530drv-2.0.dl1bke.tar.gz - -] +2. ftp.ucsd.edu:/hamradio/packet/tcpip/incoming/z8530drv-utils-3.0.tar.gz + If you can't find it there, try .../tcpip/linux/z8530drv-utils-3.0.tar.gz and various mirrors (i.e. nic.switch.ch) ---------------------------------------------------------------------------- +Please note that the information in this document may be hopelessly outdated. +----------------------------------------------------------------------------- SCC.C - Linux driver for Z8530 based HDLC cards for AX.25 ******************************************************************** - (c) 1993,1995 by Joerg Reuter DL1BKE + (c) 1993,1996 by Joerg Reuter DL1BKE portions (c) 1993 Guido ten Dolle PE1NNZ @@ -37,7 +35,12 @@ To use the driver, 3 steps must be performed: 1. if compiled as module: loading the module 2. Setup of hardware, MODEM and KISS parameters with sccinit - 3. Attachment of each channel in the packet software + 3. Attach each channel to the Linux kernel AX.25 with "ifconfig" + +Unlike the versions below 2.4 this driver is a real network device +driver. If you want to run xNOS instead of our fine kernel AX.25 +use a 2.x version (available from above sites) or read the +AX.25-HOWTO on how to emulate a KISS TNC on network device drivers. 1.1 Loading the module @@ -54,15 +57,14 @@ please read 'man insmod' that comes with modutils. You should include the insmod in one of the /etc/rc.d/rc.* files, and don't forget to insert a call of sccinit after that. It -will read your +will read your /etc/z8530drv.conf. - -1.2. /etc/z8530drv.rc -===================== +1.2. /etc/z8530drv.conf +======================= To setup all parameters you must run /sbin/sccinit from one -of your rc.*-files. This has to be done BEFORE the start of -NET or axattach. Sccinit reads the file /etc/z8530drv.rc +of your rc.*-files. This has to be done BEFORE you can +"ifconfig" an interface. Sccinit reads the file /etc/z8530drv.conf and sets the hardware, MODEM and KISS parameters. A sample file is delivered with this package. Change it to your needs. @@ -222,7 +224,7 @@ not appear. Example: gencfg 2 0x150 4 2 0 1 0x168 9 4915200 -will print a skeleton z8530drv.rc for the OptoSCC to stdout. +will print a skeleton z8530drv.conf for the OptoSCC to stdout. gencfg 2 0x300 2 4 5 -4 0 7 4915200 0x10 @@ -236,11 +238,11 @@ to edit scc_config.h... The channel definition is divided into three sub sections for each channel: -An example for /dev/scc0: +An example for scc0: # DEVICE -device /dev/scc0 # the device for the following params +device scc0 # the device for the following params # MODEM / BUFFERS @@ -254,10 +256,6 @@ mode nrzi # HDLC encoding mode # nrzi = 1k2 MODEM, G3RUH 9k6 MODEM # nrz = DF9IC 9k6 MODEM # -rxbuffers 8 # number of rx buffers allocated - # (option, default is 4) -txbuffers 16 # number of tx buffers allocated - # (option, default is 16) bufsize 384 # size of buffers. Note that this must include # the AX.25 header, not only the data field! # (optional, defaults to 384) @@ -283,9 +281,10 @@ The order WITHIN these sections is unimportant. The order OF these sections IS important. The MODEM parameters are set with the first recognized KISS parameter... -Please note that you can initialize the board only once after boot. -You can change all parameters but "mode" and "clock" later with the -Sccparam program or through KISS. Just to avoid security holes... +Please note that you can initialize the board only once after boot +(or insmod). You can change all parameters but "mode" and "clock" +later with the Sccparam program or through KISS. Just to avoid +security holes... (1) this divider is usually mounted on the SCC-PBC (PA0HZP) or not present at all (BayCom). It feeds back the output of the DPLL @@ -293,71 +292,56 @@ Sccparam program or through KISS. Just to avoid security holes... installed will normally result in keying the transceiver until maxkey expires --- of course without sending anything (useful). - 2. Attachment of a channel by your AX.25 software ================================================= -2.1 KA9Q NOS derivates -====================== +2.1 Kernel AX.25 +================ -When the linux has startup, the SCC driver has been initialized, -you can attach the channels in your packet software. This is done -by open the scc devices by using the attach asy command. -The SCC-drivers emulates the scc devices as serial asy ports, -this means e.g. that the baudrate can be set in the attach command. +To set up an AX.25 device you can simply type: + ifconfig scc0 44.128.1.1 hw ax25 dl0tha-7 -Example Wampes: +This will create a network interface with the IP number 44.128.20.107 +and the callsign "dl0tha". If you do not have any IP number (yet) you +can use any of the 44.128.0.0 network. Note that you do not need +axattach. The purpose of axattach (like slattach) is to create a KISS +network device linked to a TTY. Please read the documentation of the +ax25-utils and the AX.25-HOWTO to learn how to set the parameters of +the kernel AX.25. -############################################################################################# -# Wampes device attach -# NOTE: Interfacename and the device must be the same!! -# Usage: attach asy 0 0 slip|vjslip|ax25ui|ax25i|nrs|kissui