2001-03-13 04:34:08

by Alan

[permalink] [raw]
Subject: Linux 2.4.2ac20


ftp://ftp.kernel.org/pub/linux/kernel/people/alan/3.4/

Intermediate diffs are available from

http://www.bzimage.org

(Note that the cmsfs port to 2.4 is a work in progress)

Its now 2767631 bytes .gz but a fair amount of stuff has gone to Linus so
if you redo the diff versus 2.4.3pre4 it looks a lot nicer 8)


2.4.2-ac20
o Add support for the GoHubs GO-COM232 (Greg Kroah-Hartman)
o Remove cobalt remnants (Ralf Baechle)
o First block of mm documentation (Rik van Riel)
o Replace ancient Zoran driver with new one (Serguei Miridonov,
Wolfgang Scherr, Rainer Johanni, Dave Perks)
o Fix Alpha build (Jeff Garzik)
o Fix K7 mtrr breakage (Dave Jones)
o Fix pcnet32 touching resources before enable (Dave Jones)
o Merge with Linus 2.4.3pre4

2.4.2-ac19
o Typo fixes (David Weinehall)
o Merge first block of OHCI non x86 support (Greg Kroah-Hartman)
o Add Edgeport USB serial support (David Iacovelli,
Greg Kroah-Hartman)
o Fix doorlock on scsi removables (Alex Davies)
o Fix hang when usb storage thread died (me)
o Change watchdog disable setup (Ingo Molnar)
o Fix bluetooth close and error bugs (Narayan Mohanram)
o mpt now has an assigned minor (me)
| Remember to fix your /dev/mptctl if using MPT
o Clean up 3270 ifdefs/printk a little (me)
o Fix NBD deadlocks and update it (Steve Whitehouse)
o Fix sercon printk divide by zero bug (Roger Gammans)
o Remove cosine support from MIPS tree (Ralf Baechle)
o bust_spinlocks for Alpha (Jeff Garzik)
o Hopefully fix the buslogic corruptions (me)
| This is a 'test if they went away' release not a 'its fixed' one.
o Some mips makefile fixes (Ralf Baechle)
| except mips/kernel/Makefile (I got .rej Ralf)
o ARC firmware interface fixes (Harald Koerfgen)
o DECstation console drivers (Michael Engel,
Karsten Merker,
Harald Koerfgen)
o Fix ipx build bug (Anton Altaparmakov)
o Fix ptrace race (Stephen Tweedie)
o Update include/config.h stuff, ver_linux (Niels Jensen)
o Add missing pci_enable_device to cs4281 (Marcus Meissner,
Thomas Woller)
o Fix non PPC build of clgenfb (Andrew Morton)
o Update CPU docs (Dave Jones)
o Add mips atlas/malta reference boards (Carsten Langgaard)
o Add gt91600 ethernet support (SteveL)
o Add philips SAA9730 ethernet (Carsten Langgaard)
o PCnet32 driver fixes (Carsten Langgaard)
o MIPS fpu emulator (Algorithmics, Ralf Baechle, Kevin Kissell,
Carsten Langgaard, Harald Koerfgen, Maciej Rozycki)
o mips network driver updates (Ralf Baechle)
o Fix FC920 workarounds in i2o (me)
o Fix i2o_block hang on exit, 0 event race (me)
o FIx i2o_core thread kill wakeup race (me)
o Backport 2.2 VIA 686a clock reset workaround (Arjan van de Ven)
o Further documentation updates (Matthew Wilcox)

2.4.2-ac18
o Debian has another location for db3 (Marc Volovic)
o Remove duplicated flush_tlb_page export on (Elliot Lee)
Alpha
o Fix SB Live! build on SMP Alpha (Elliot Lee)
o Fix disk corruption on qlogicisp and qlogicpti (Arjan van de Ven)
o Fix reporting of >4Gig of swap (Hugh Dickins)
o Fix sign issues in mpt fusion (Andrew Morton)
o CMS minidisk file system (read only) (Rick Troth)
2.4 port (me)
o Disable nmi watchdog by default (Andrew Morton)
o Fix elsa_cs eject problems (Klaus Lichtenwalder)
o Remove duplicate config entries (Steven Cole)
o Fix further wrong license references (Andrzej Krzysztofowicz)
o Add nmi watchdog disable for sysrq (Andrew Morton)
o Experimental test for serverworks/intel AGP (me)
comptability
o Fix ipx reference counting for routes (Arnaldo Carvalho
de Melo)

2.4.2-ac17
o Make the aic7xxx code handle multiple db3 paths (me)
o Small further via updates (Vojtech Pavlik)
o IDE tape updates for Onstream tape drives (Marcel Mol)
o Remove some bits of module.c that cant get (Keith Owens
executed Andrew Morton)
o Configure.help fixups (Steven Cole)
o Add Cyrix MTRR data (Dave Jones)
o Fix a slight bogon in the i386 Makefile (Dave Jones)
o Kill an escaped modversions.h (Keith Owens)
o Further controlfb fixes (Takashi Oe)
o Fix console driver oops in new locking (Andrew Morton)
o Add 'broken-psr' so you can command line tell (Neale Banks)
APM your BIOS is crap
o Fix serial console (Dave Jones)
o Fix megaraid kernel_version string (Arjan van de Ven)
o Fix off by one error in cpia (Andrew Morton)
o Fix lost dmfe typo fix (Torsten Duwe)
o Take kernel_lock for i_truncate method in (Al Viro)
vmtruncate
o Fix i2c sign check bug (Andrew Morton)

2.4.2-ac16
o Uniprocessor APIC fixes for misdetect (Mikael Pettersso)
o Small ymf_pci fixes/updates (Pete Zaitcev)
o Fix break support on sx serial (Rogier Wolff)
o Kill another dead config.in entry (Steven Cole)
o Add bust spinlocks logic to S/390 (Neale Ferguson)
o Fix ramdisk buffer only page bug (Philipp Rumpf)
o Mark ips scsi experimental until IBM ship a (Adam Lackorzynski)
proper 2.4 driver
o Update lanstreamer to use module_init and more (Mike Sullivan)
o Switch to the updated irda fixes (Jean Tourrilhes)
o Vaio kaweth ethernet apparently has its own id (Sven Anders)
o d_validate clean ups (Petr Vandrovec)
o Network further fixes from DaveM and co (Dave Miller
| This might fix the reported masuqerade crashes Alexey Kuznetsov
Werner Almesberger)
o Acenic updates (Jes Sorensen)

2.4.2-ac15
o Add CyrixIII specific kernel configuration (me)
| Note there are CyrixIII problems with some distribution installers
| because -m686 gcc output will not run on a model 6 cpu with no
| cmov.
o Fix aic Makefile for older gnu make (Keith Owens)
o Assorted i2o updates/partition handling fixes (Boji Kannanthanam)
o Fix dcache problems with ncpfs (Petr Vandrovec)
o Update via drivers to 3.22 (Vojtech Pavlik)
o Account for packet bytes on lmc driver (Ernst Lehmann)
o Atyfb rearrange (Geert Uytterhoeven)
o Fix sedlbauer_cs build bug add elsa_cs (Than Ngo)
| elsa_cs driver by (Klaus Lichtenwalder)
o Add support for the Fuji FinePix 1400Zoon (Nate)
o EISA initialisation changes for 3c59x (Andrzej Krzysztofowicz)
o Assorted small net protocol updates (Dave Miller)
o Fix dvd physical read bug (Jens Axboe)
o Fix ATM hang on SMP (Mike Westall)
| more work left to do on atm_ioctl for someone
o Changed get_addr and friends to atm_get_addr (me)
o Merge Linus 2.4.3pre3
o Fix do_BUG for both cases this time (me)
o Fix prefetch for Athlon build
o Fix an lvm oops case (Pete Zaitcev)
o Remove dead config.in entry (Steven Cole)
o Update reiserfs recommended tool revision (Steven Cole)
o Kill a few warnings (Keith Owens)

2.4.2-ac14
o Fix the non build problem with do_BUG (Andrew Morton)
o Fix interface autocreation bug in ipx (Arnaldo Carvalho
Also fix pprop routing bugs, tctrl handling de Melo)
Fix wrong comments, fix ipx sysctl handling
clean up code
o Updated i810_audio.c (Doug Ledford)
o Fix up printer status readback (Tim Waugh)
o Add support for "ide=nodma" on command line (Arjan van de Ven)
o More spelling fixes (Dag Wieers)
o Add pci vendor table to lanstreamer (Mike Sullivan)
o Do extra sanity checks on ext2 mount (Andreas Dilger)
o Multithreaded core dump handling (Don Dugger)
| This is fairly experimental so the more eyes
| the better but it does sort out a very annoying weakness
o Prefetch on lists for parisc and x86 (Arjan Van de Ven,
| Work about 4% on scheduler performance on PIII Matthew Wilcox)
o Natsemi power management changes (Tjeerd Mulder)
o Fix assorted smb bugs (Urban Widmark)
o Fix a sisfb build problem (Andrew Morton)

2.4.2-ac13
o Clean up mad16 detection stuff (Pavel Rabel)
o Fix epca unload (Andrey Panin)
o Change null apic handling (Maciej Rozycki)
o aicasm now uses db3 (Sergey Kubushin)
o Fix aic7xxx cross compile (Cort Dougan)
o Merge small net driver fixups/config fixes (Jeff Garzik)
o Update symbios drivers (G?rard Roudier)
o Rusty has moved (Rusty Russell)
o 3c509/3c515 compile fixes (Jeff Garzik)
o Console locking updates - should fix vesafb (Andrew Morton)
clock problems
o Merge the serial.c 5.0.5 update (Jeff Garzik,
Ted Ts'o)
o Merge SiS framebuffer updates (Can-Ru Yeou)
o Update ctrlfb (Takashi Oe,
Michel Lanners)
o Add epson 640U scanner to the usb scanner list (Patrick Dreker)

2.4.2-ac12
o Move the pci_enable_device for cardbus (David Hinds)
o Add Sony MSC-U01N to the unusual devices (Marcel Holtmann)
o Final smc-mca fixups - should now work (James Bottomley)
o Document kernel string/mem* functions (Matthew Wilcox)
| and I added a memcpy warning
o Update VIA IDE driver to 3.21 (Vojtech Pavlik)
|No UDMA66 on 82c686, fix /proc and udma on
|686b, fix dma disables
o Allow sleeping in ctrl-alt-del callbacks (Andrew Morton)
|Fix i2o, dac960, watchdog, gdth hangs on exit
o Fix binfmt_misc (and make the proc handling (Al Viro)
|a filesystem -
|mount -t binfmt_misc none /proc/sys/fs/binfmt_misc
o Update the ACI support for sound/radio stuff (Robert Siemer)
o Add RDS support to miroRadio (Robert Siemer)
o Remove serverworks handling. The BIOS is our (me)
best (and right now only) hope for that chip
o Tune the vm behavioru a bit more (Mike Galbraith)
o Update PAS16 documentation (Thomas Molina)
o Reiserfs tools recommended are now 0d not 0b (Steven Cole)
o Wan driver small fixes (Jeff Garzik)
o Net driver fixes for 3c503, 3c509, 3c515, (Jeff Garzik)
8139too, de4x5, defxx, dgrs, dmfe, eth16i,
ewrk3, natsemi, ni5010, pci-skeleton, rcpci45,
sis900, sk_g16, smc-ultra, sundance, tlan,
via-rhine, winbond-840, yellowfin, wavelan_cs
tms380tr
o Trim 3K off the aha1542 driver size (Andrzej Krzysztofowicz)
o Trim 1K off qlogicfas (Andrzej Krzysztofowicz)
o Fix openfirmware/mm boot on ppc (Cort Dougan)
o Fix topdir handling in Makefile (Keith Owens)
o Minor fusion driver updates (Steve Ralston)
o Merge Etrax cris updates (Bjorn Wesen)
o Clgen fb copyright update (Jeff Garzik)
o AGP linkage fix (Jeff Garzik)
o Update visor driver to work with minijam (Arnim Laeuger)
o Fix a usb devio return code (Dan Streetman)
o Resync a few other net device changes with the
submits Jeff sent to Linus (Jeff Garzik)
o Add missing md export symbol (Mohammad Haque)

2.4.2-ac11
o Fix NLS Config.in (David Weinehall)
o Sort out one escaped revert from the megaraid (me)
update
o Resync with Linux 2.4.3pre1
| Except tulip the network driver changes have
| been used to replace the existing ones
o Fix parport case where a reader could get stuck (Tim Waugh)
o Add ALi15x3 to the list of isa dma hangs (Angelo Di Filippo)
o Fix nasty bug in IPX routing of netbios frames (Arnaldo Carvalho
de Melo)
o Misc code cleanups (Keith Owens)
o Updated 3c527 driver (Richard Proctor)
o Further tulip updates (Jeff Garzik)
o i810_rng fixes (FIPS test, regions) (Jeff Garzik)
o Further cs89x0 cleanups (Andrew Morton)
o Further USB hub updates (Dave Brownell)
o Mall USB resource cleanup (Jeff Garzik)
o Resync hp100 changes from Jeff Garzik (Jeff Garzik)
o PCI documentation update (Tim Waugh)
o Fix irda crash (Jean Tourrilhes)
o PPC updates (Cort Dougan)
o Resync dmfe, hamachi, pci-skeleton and winbond (Jeff Garzik)

2.4.2-ac10
o Add ZF-Logic watchdog driver (Fernando Fuganti)
o Add devfs support to USB printers (Mark McClelland)
o Fix baud rate handling on keyspan (Paul Mackerras)
o USB documentation update (Dave Brownell)
o Fix disconnect leak (Randy Dunlap)
o ARM constants/fixes (Russell King)
o Includes for integrator ARM architecture (Russell King)
o Update NLS descriptions to be clearer (Pablo Saratxaga)
o Add iso-8859-13 (latvian/lithuanian) (Pablo Saratxaga)
iso-8859-4, cp1251 (windows cyrillic), cp1255
(windows hebrew), and some alises
o Merge 1.14 Megaraid driver (Venkatesh Ramamurthy)
o Reapply other fixes this version dropped (me)
o Reformat and clean up ifdefs in 1.14 Megaraid (me)
o I/O apic locking fixes (Maciej Rozycki)
o Print ioapic id to help debugging (Maciej Rozycki)
o Make the tpqic driver work (Hugh Dickins)
o USB scanner updates (David Nelson)
o Fix usbdevfs multimount (Al Viro)
o Fix wrong calculation of path buffer size (Hugh Dickins)
o cs89x0 allocated far too much memory (Hugh Dickins)

2.4.2-ac9
o misc device fix (ps/2 and drm are now back) (Tachino Nobuhiro)
| Believe it or not my main test box used no misc
| device files..
o Radeon build without 8bit (Cha Young-Ho)
o Fix oops in scc driver (Andrew Morton)
o Add __setup for ISAPnP, update docs (Jaroslav Kysela)
o Update E820 table sanitizer (Brian Moyle)
o i810 audio updates/mmap fixes (Doug Ledford)
o Be paranoid about VIA chipset configurations (Arjan van de Ven)
| Fixing VIA disk corruption bugs take 2
o Fix PPC request_irq problems, some fpu emu (Cort Dougan)
and timers
o Allow scsi drivers to limit request sizes (Jens Axboe,
(and fixed by Tim) Tim Waugh)
o Configure.help cleanups (Steve Cole)
o Loop device fix of the day (Jens Axboe)
o CDROM fixes (Jens Axboe)
o Reiserfs crash on fsync of dir fix (Alexander Zarochentcev)

2.4.2-ac8
o Fix loop over loop crash (Jens Axboe)
o Fix radeon build problems (ISHIKAWA Mutsumi)
o Stop two people claiming the same misc dev id (Philipp Rumpf)
o capable not suser on sx.c (Rob Radez)
o Fix an ixj build combination bug (Andrzej Krzysztofowicz)
o Add integrator to ARM machines (Russell King)
o ARM include/constant cleanups (Russell King)
o Update ARM vmlinuz.in (Russell King)
o ARM i2c fixes (Russell King)
o ARM scsi updates (Russell King)
o ARM header updates (Russell King)
o Handle E820 bios returns with overlaps (Brian Moyle)
o Fix a sparc64 include build bug (Andrzej Krzysztofowicz)
o Loop race fix (Jens Axboe)
o s_maxbytes wasnt set for old style compat (Chris Dukes)
mounts in reiserfs
o Fix the fact we dont see all busses on some (Don Dupuis)
Compaq machines
o Fix missing watchdog configure.help (Jakob Ostergaard)
o Fix oom deadlock (hopefully) (Rik van Riel)
o Fix binfmt_aout sign handling bug (Andrew Morton)

2.4.2-ac7
o Fusion driver updates (Steve Ralston)
o Olympic fix (Andrew Morton)
o Work around hardware bug in older Rage128 (Gareth Hughes)
o Handle broken PIV MP tables with a NULL ioapic
o Use capable in esp serial driver (Rob Radez)
o Use capable not suser in console (Rob Radez)
o Small networking fixups (Dave Miller)
o Fix make menuconfig breakage (Keith Owens)
o Enable cmpxchg8 on Rise P6 (Dave Jones)
o Fix wakeup losses on cpu_allowed using tasks (Manfred Spraul)
o Maestro3 now works with > 256Mb of ram (Zach Brown)
o Opl3sa2 isapnp=0 handling was wrong (J?r?me Aug?)
| I've fixed it a little differently however
o Turn off slow kmem chain check if not doing (Ingo Molnar, me)
slab debugging
o Fix cpu speed checking code (Mikael Pettersson)
o Make bus computation more accurate (me)
o Advantech watchdog driver (Marek Michalkiewicz)
o dz.c serial clean up (Rob Radez)
o Fix MSG_TRUNC for OOB TCP (Ingo Molnar)
o Fix oops on unconfigured loop (Arjan van de Ven)
o Drop nbd ll_rw_blk change (Linus has spoken ;))
o pci resource api (Jeff Garzik)
o Further Natsemi updates (Don Becker,
Jeff Garzik)
o Switch aurora serial to capable() (Rob Radez)
o Radeon frame buffer (Ani Joshi)

2.4.2-ac6
o Remove incorrect modules doc changes (Keith Owens)
o Fix elf.h defines (Keith Owens)
o Add 0x2B mtrr decode for intel/cyrix III (me)
o Make bigmem balancing somewhat saner (Mark Hemment)
o Update irda (Dag Brattli)
o New FIR dongle support (Dag Brattli)
o 3ware driver updates (Adam Radford)
o Further reiserfs tail conversion fixes (Chris Mason)
o Fix tpqic02 to use capable (Rob Radez)
o Set last_rx on comtrol hostess driver (Arnaldo Carvalho
de Melo)
o Raid Oops fix (Neil Brown)
o Fix last_rx/skb refs on cyc_x25 (Arnaldo Carvalho
de Melo)
o Fix last_rx/skb refs on 3c589 (Arnaldo Carvalho
de Melo)
o Highmem fixes for deadlock (Andrea Arcangeli,
Ingo Molnar)
o Another minor tulip fix (Jeff Garzik)
o Fix hinote and maybe other ps/aux hangs (me, Mark Clegg)
o Fix resource handling on 53c7xxx (Rasmus Andersen)
o Fix scsi_register failure handling on AMD scsi (Rasmus Andersen)
o Fix resource handling on aha1740 (Rasmus Andersen)
o Fix resource handling on blz1230 (Rasmus Andersen)
o Fix resource handling for dec_esp driver (Rasmus Andersen)
o Fix resource handling for fastlane scsi (Rasmus Andersen)
o Fix scsi_register failure on qlogic_fas (Rasmus Andersen)
o Fix scsi_register failure on qlogicfc (Rasmus Andersen)
o Fix irq alloc failure leak on sun3x_esp (Rasmus Andersen)
o Fix wd7000 init failures (Rasmus Andersen)
o Fix nbd device (Steve Whitehouse)
o Fix try_atomic_semop (Manfred Spraul)
o Parport fixes (Tim Waugh)
o Starfire start/stop if fix (Ion Badulescu)
o Fix raw.c off by one bug (Tigran Aivazian)
o USB hub kmalloc wrong size corruption fix (Peter Zaitcev)

2.4.2-ac5
o Add Epson 1240U scanners to usb scanner (Joel Becker)
o Fix eth= compatibility (Andrew Morton)
| Should fix 3c509 problems for one
o Add Pnp table to opl3sa2 (Bill Nottingham)
o Update loop driver fixes (Jens Axboe, Andrea
Arcangeli, Al Viro)
o Fix busy loop in usb storage (Arjan van de Ven)
o Add cardbus support to olympic (Mike Phillips)
o Make BUG() configurable to save space (Arjan van de Ven)
o Add configurability to most kernel debugging (various people)
functions on x86
o Richard G?nther/binfmt_misc page move (Richard G?nther)
o Fix de4x5 crash (Nikita Schmidt)
o Hopefully fix the smc-mca driver (me)
o Don't run the disk queue if we didnt launder (Marcelo Tosatti)
any pages
o ALi 6 channel audio and sp/dif updates (Matt Wu)
o Fix USB thread wakeup scheduling (Arjan van de Ven)
o Fix alignment problems with uni16_to_x8 (Ivan Kokshaysky)

2.4.2-ac4
o Fix Make xconfig failure (J Magallon)
o Fix a typo in the ISDN docs (Jim Freeman)
o Fix the 3ware driver a bit more (Ben LaHaise)
| should now be usable
o Update Dave Jones contact info (Dave Jones)
o Revert wavelan inline->macro change (Jean Tourillhes)
| CVS gcc and 2.96-74 don't accidentally unline it now
o Zerocopy TCP/IP patches (Dave Miller,
Alexey Kuznetsov,
and many more)
o Fix up command line options to old ncr driver (Martin Storsj?)
o NFS locking should call fs layer locking if (Brian Dixon)
present
o Fix cs46xx wakeup/poll problem (David Huggins-Daines)
o Add some missing MTD config help texts (Steven Cole,
David Woodhouse)
o Fix Alpha build bug (Sven Koch)
o Final i386/ptrace bit
o Finish off the vmalloc/WP fixup (me)
o Include file config.h fixes (Niels Jensen)
o More dscc4 updates (Francois Romieu)

2.4.2-ac3
o Add documentation for the fb interfaces (Brad Douglas)
o Work around apic disable_irq hardware bugs (Maciej Rozycki)
o Rage128 not "Rage 128" (Brad Douglas)
o Make ioremap debugging conditional (J Magallon)
o Merge Ninja pcmcia scsi driver (YOKOTA Hiroshi)
o Update 8139too docs (Jeff Garzik)
o Tulip updates, merge bits from 0.92 (Jeff Garzik,
Don Becker)
o Epic100 update (Jeff Garzik)
o Clean up Ariadne driver (Jeff Garzik)
o Remove dead wavelan prototype (Jeff Garzik)
o Remove unused arlan variable (Jeff Garzik)
o Clean up lance public symbols (Jeff Garzik)
o Switch fmv18x to spinlocks, fix other bits (Jeff Garzik)
o Clean up acenic global symbols (Jeff Garzik)
o Fix IDE blocking kmalloc with irqs off (Arjan van de Ven)
| I've redone the code a bit so it might be wrong again 8)

2.4.2-ac2
o Merge the loop device fixes (Jens Axboe)
o Fix af_unix SYSCTL=n build failure (Russell King)
o Adjust the throttling point for write (Jens Axboe)
throttles
o Fix sunhme ioremap (Andrey Panin)
o Fix disk change handling with removable sd (Alex Davis)
o Update/fix irq docs (Matthew Wilcox)
o Update PPC gmac and ncr885e drivers (Cort Dougan)
| bmac patch dropped as it loses other fixes
o Kai Petzke has moved (Kai Petzke)
o Fix starfire driver so pump doesnt kill it (Ion Badulescu)

2.4.2-ac1
o Merge Linus 2.4.2 tree
| We now have disagreeing ymfpci fixes. I've kept the ones
| I tested for now.
o Back out sr.c change (me)
o Fix moxa smartio driver (Tom Mraz)
o Hugh Blemings change of address (Hugh Blemings)
o Allow more i2o config time for slow calls
o Aty128fb updates (Brad Douglas,
Benjamin Herrenschmidt,
Michel Danzer,
Andreas Hundt)
o Add "loop" name to the root dev names (Barry Nathan)
o Further spelling cleanups (Dag Wieers)
o Remove bogus warning emissions from aha1740 (Nick Holloway)
o Remove surplus assignment in vmalloc (Francis Galiegue)
o Remove unneeded ifdef in i386/kernel/irq.c (Francis Galiegue)
o Add door locking ioctl to ide-floppy (Francis Galiegue)
o Allow scsi disk opening O_NDELAY for removables (me)
o Fix cosa compile warnings (me)
o Clean up dumpable/setuid write ordering (me)
o Hopefully fix the 3ware crashes (me)

2.4.1-ac20
o Update fusion drivers (Steve Ralston)
o Further VM page launder balancing (Rik van Riel)
o Hopefully fix ext2 block size checking (Andries Brouwer)
o Update the i810 random number generator (Jeff Garzik)
o Hopefully fix the bonding crash on down/reboot (Dave Miller)
o Tulip update (add accton comets, clean up pm) (Jeff Garzik)
o Merge wavelan_cs, pcnet_cs and fmvj18x_cs (Jeff Garzik)
changes from Dave Hinds tree
o Make awe32 behave in 2.4 like 2.2 if given an (Bill Nottingham)
io
o Fix alpha build problems in stallion, c101 (Andrzej Krzysztofowicz)
synclink and wavfront drivers
o Add isa_check_signature and missing ioctl ids (Andrzej Krzysztofowicz)
for hayesesp
o Fix math emulation bug (Martin Schwidefsky)
o Disable APIC during APM to avoid suspend/resume (Mikael Pettersson)
problems.
o SMP kernel on UP hardware APIC fixes (Maciej Rozycki)
o Code cleanups in nmi, reduce NMI rate to 1Hz (Mikael Pettersson)

2.4.1-ac19
o Fix second module/exception table race (me)
| I hope ;)
o Additional CPIA usb ident (Adam J Richter)
o Add SA1100 udc and also stall recovery to (Oleg Drokin)
usbnet
o Limit smbfs to 2Gig/file (Urban Widmark)
o Config/doc update for the eicon driver (Armin Schindler)
o Update PMS driver to new request_region (Andrey Panin)
o sys_semop bug check is overcareful (Hugh Dickins)
o Fix ipc off by one on checks in ipc (Hugh Dickins)
o Allow exceptions during module init (Philipp Rumpf)
o Driver namespace cleanup (Jeff Garzik)
o Network driver cleanups (Jeff Garzik,
o PPC irq updates (Paul Mackerras)
o SMP fixes for PPC boxes (Paul Mackerras)
o Fix tmpfs block size reporting (Christoph Rohland)
o Update maintainers to add missing YAM maintainer(Jean-Paul Roubelat)
o Add hooks for /proc/rtas (Paul Mackerras)
o Fix wrong bogomip reporting on SMP ppc (Paul Mackerras)
o Remove unused dbcf inline function on PPC (Paul Mackerras)
o Update Cort Dougans email/urls (Paul Mackerras)
o Dont assume bit settings on pcnet/pci chips (Paul Mackerras)
o Add mac ppc serial console hooks (Paul Mackerras)
o Frame buffer driver updates for ppc (Paul Mackerras)
o Fix devfs names for ppc serial (Paul Mackerras)
o Move some symbols out of net where they didnt
belong, and into right export locations (Andrzej Krzysztofowicz)
o Tidy and fix up syncppp drivers (Krzysztof Halasa)

2.4.1-ac18
o Fix SO_SNDTIMEO bugs (Alexey Kuznetsov)
o Fix tmpfs fsync (Lennert Buytenhek)
o PPC now uses generic pci bus setup (Paul Mackerras)
o Remove PPC boot argument printing (Paul Mackerras)
o Jeff Tranter has moved (Jeff Tranter)
o ymf_pci driver cleanups (Pete Zaitcev)
o Fix USB 2.0 compliance in hub.c (Brad Hards)
o Fix usb hub device claim race (Paul Mackerras)
o Fix some bugs in mac_hid driver (Paul Mackerras)
o Fix more typos (Dag Wieers)
o PPC compile warnings/symbol export fixes (Paul Mackerras)

2.4.1-ac17
o Fix pegasus for bigendian (Roman Weissgaerber)
o Further smbfs fixes (Urban Widmark)
o Update ISDN version tags (Kai Germaschewski)
o Finish ISDN move to new style module_init (Kai Germaschewski)
o Small Eicon driver updates/fix license bug (Armin Schindler)
o Fix reiserfs tail packing problem (Alexander Zarochentcev
Chris Mason)
o Export aci symbols from drivers/sound/aci.c (Alexandr Kanevskiy)
o Merge Linus 2.4.2pre4
o Starfire update (Ionu Badulescu)
o Fix 3270 merge (Richard Hitt)

2.4.1-ac16
o Fix the exception table/unload race (me)
o Further tulip fixup (Manfred Spraul)
o Fix USB oops on traverse/delete race (Randy Dunlap)
o Set max_sectors to 255 for hd/xd drivers (Paul Gortmaker)
| This should make them work again
o Fix typo in USB makefile (Arjan van de Ven)
o Fix accidental change to scsi_scan (Steve Ralston)
o Hid rollover/endian fixes (Paul Mackerras)
o Drop via pci fixup (me)
o Further hp5300 fixups (Arjan van de Ven)
o PCnet 32 init changes for non SEPROM cards (Eli Carter)
o Fix acpi idle reporting on SMP (Philipp Hahn)
o Add non PCI pci device list walk macro (me)
| pointed out by Mikael Pettersson
o IBM S/390 3270 drivers (Richard Hitt)

2.4.1-ac15
o Fix the non booting winchip/cyrix problem (me)
| Nasty interaction with the vmalloc fix
| wants a cleaner solution. This one is a hack
| to get people up and running again
o Fix typo in vfat changes (OGAWA Hirofumi)
o Update scsi blacklist table (Karsten Hopp)
o dscc4 wan driver update (Francois Romieu)
o Fix clgenfb warning (Bryan Headley)

2.4.1-ac14
o Fix tulip problems introduced by in ac13 (Manfred Spraul)
o S/390x build fixes (Ulrich Weigand)
o Fix off by one error in octagon driver (David Woodhouse)
o Fix dasd driver for new queues (Holger Smolinksi)
o Networking standards compliance fixes
o Fix binary layout assumptions in sym53c416 (Arjan van de Ven)
o tmpfs timestamps (Christoph Rohland)
o Further mkdep changes (Keith Owens)
o Fix 16bit vfat handling (OGAWA Hirofumi)
o JIS nls fixes (OGAWA Hirofumi)
o Handle more than 8 luns (Eric Youngdale,
Doug Gilbert)
o Minor scsi clean ups (Eric Youngdale)

2.4.1-ac13
o Fix pnic tulip problems (Manfred Spraul)
o Fix USB printer read and poll problems (Johannes Erdfelt)
o Fix parport pci list corrupt bug (Tim Waugh)
o Fix sbpcd driver crashes (Paul Gortmaker)
o Clarify the locking doc (Rusty Russell)
o i810 audio doesnt need OSS (Jeff Garzik)
o Fix vmalloc fault race (Mark Hemment)
o Makedep fixes (Keith Owens)
o Fix missing unlock_kernel on usb hub (Paul Mundt)
o Fix smbfs+bigmem, buffer and listing bugs (Urban Widmark)
o Merge tms380 isa token ring support (Jochen Friedrich)
o Sigmatel change didnt help, removed (Jeff Garzik)

2.4.1-ac12
o Make tmpfs use link counts of 2 on directories (Christoph Rohland)
o Update Documentation/sound/Introductions (Wade Hampton)
o Fix bug in new tlb shootdown code (Ben LaHaise)
o Add isa_* api to the Alpha (Richard Henderson)
o Export down_trylock on Alpha (Richard Henderson)
o Fix maestro3 build on ia64 (Bill Nottingham)

2.4.1-ac11
o Hack the setup code to do the right thing for (me)
Cyrix processors. Cpuid on cyrix should now work
o Change sigmatel codec inits (Jeff Garzik)
o Revised TLB shootdown patch (Ben LaHaise)
o Use pci quirks to handle the nonstandard irq (Andrey Panin)
setup for VIA ACPI
o If a user sets an io on the opl3sa2 assume they (me)
mean it even if isapnp isnt turned off
o Fix xmms cpu burn on i810 audio (Marcus Sundberg)
o Fix pnic problems with tulip driver (Manfred Spraul)
o Add pci skeleton driver (Jeff Garzik)
o Fix vfat mishandling of 16bit characters (Kazuki Yasumatsu)
o Fix syntax things found by his source code (Jean-Luc Leger)
analyser
o Fix pcmcia ixj build bug (Florian)
o Remove dead via sound docs (Jeff Garzik)
o add __dev_alloc_skb for drivers needing to force(Jeff Garzik)
allocation types
o Fix arcnet initializers (Jeff Garzik)
o Fix various warnings (Keith Owens)
o Further MPT fusion updates (Steve Ralston)
o sock_alloc_send_skb fix (Manfred Spraul)
o Fix signed/unsigned handling on 8139too (Jeff Garzik)
o Document problem with old powertweak (Dave Jones)
o s/controler/controller/ spelling fixes
o S/390 build fixes (Neale Ferguson)

2.4.1-ac10
o Merge with Linus 2.4.2pre3
o More net driver clean up (Jeff Garzik)
o Further maxiradio fix (Francois Romieu)
o Lock reclaiming fixes (MCL)
o Update ver_linux (Steven Cole)
o Add support for the Socket LP-E CF+ ethernet (Nicolas Pitre)
o Fix microtek scanner abort handling (Oliver Neukum)
o Fix very dumb bug in my dma.c changes that (me)
Linus noticed
o Clean up AGP alloc/destroy a little (me)
| Again a Linus request
o Remove dead 8129 config help (Dave Jones)
o Clean up extra unneeded check in setup.c (Dave Jones)
o Improve mkdep, remove acpi special case (Keith Owens)
o Fix bogus dead comment in fs.h (Jens Axboe)
o Clean up config.in syntax errors (Christoph Hellwig)
o Offer Duron in CPU option list for clarity (Terje Rosten)
o New binutils need --oformat, old ones handle it (Andreas Jaeger)
o Move bitops include in fs.h inside __KERNEL__ (Herbert Xu)
o Fix misspellings of weird (Felix Odenkirchen)
o Fix typos of 'valid' while we are at it (Luuk van der Duim)

2.4.1-ac9
o Merge with Linus 2.4.2pre2
o Highmem bounce fixes (Ingo Molnar)
o Fix cosa driver kfree (Jan Kasprzak)
o Clean up pdoc202xx driver sleeps (Vojtech Pavlik)
o Final bits of NFS file handle changes (Trond Myklebust)
o Fix usbnet driver (David Brownell)
o ATM includes fixes (Werner Almesberger)
o Remove unneeded vm_enough_memory check (Werner Almesberger)
o Fix free_dma prototype case (Bill Nottingham)
o Fix build bugs from pci_match_device fix (me)
o HP5300 USB scanner driver (Oliver Neukum,
John Fremlin,
Jeremy Hall)
o DSP_SETFRAGMENT fixes for ymfpci (Pavel Roskin)
o Fix codafs error returns (Rob Radez)
o Fix 48 misspellings of interrupt (Andr? Dahlqvist)
o Fix 20 misspellings of successful (Andr? Dahlqvist)
o Fix 11 misspellings of suppress (Andr? Dahlqvist)
o Fix 46 misspellings of address (Andr? Dahlqvist)
o Fix 26 misspellings of receive (Andr? Dahlqvist)
o Fix 7 misspellings of acquire (Andr? Dahlqvist)
o Fix 4 misspellings of unneccessary (Andr? Dahlqvist)
o Fix 13 misspellings of until (Andr? Dahlqvist)

2.4.1-ac8
o Fix irlap speed changes and kfrees (Jean Tourrilhes)
o Further NTFS updates (Anton Altaparmakov,
Yuri Per, Rob Radez)
o Fix buglets in config.in for aic7xxx (Andrzej Krzysztofowicz)
o Cleanup irda QoS code (Jean Tourrilhes)
o Fix mca documentations (Rob Radez)
o Fix irlan device attach problems (Dag Brattli)
o Fix irda dongle crash case (Dag Brattli)
o Change Kaweth firmware loading, add DU-E10 (Eric Sandeen)
o pci_enable cleanups for networking (Jeff Garzik)
o Fix rcpci45 probing (Jeff Garzik)
o Use SET_MODULE_OWNER() in lanstreamer (Jeff Garzik)
o Use pcmcia defines as per seperate pcmcia net (Jeff Garzik)
o Fix people calling netif_start_queue from a (Jeff Garzik)
timeout
o Remove 8129 driver (use 8139too) (Jeff Garzik)
o Remove dead malloc.h from net drivers (Jeff Garzik)
o Update eata driver to 6.04 (Dario Ballabio)
o Add DE320 support to ne2.c (Alfred Arnold)
o Kernel hacking doc updates (John Levon)
o Fix CPU detection offsets in head.S (Mikael Pettersson)
o Fix apic init/cpu detect problems (Mikael Pettersson)

2.4.1-ac7
o Rebalance the 2.4.1 VM (Rik van Riel)
| This should make things feel a lot faster especially
| on small boxes .. feedback to Rik
o Silence osf syscall error printk (Ivan Kokshaysky)
o Don't trust ARC irq routing on ruffian (Ivan Kokshaysky)
o Report the right module on 3c59x for pcmcia (Arjan van de Ven)
o Update i82365 driver to add locks, delays, and (Arjan van de Ven)
'bouncing' on the card detect
o Get the name right on ide-cs (v ide_cs) and do (Arjan van de Ven)
resource claims
o Merge parport_cs (David Hinds)
o Merge sedlbauer_cs (Marcus Niemann)
o Fix a bug in the Cyrix pirq routing (me)

2.4.1-ac6
o Fix eepro100 reporting on lockup fix (Ion Badulescu)
o Clean up i810 error message (me)
o Fix S390 build bug (me)
o Update version id on cpqarray driver (Charles White)
o Further aic7xxx fixes (Doug Ledford)
| again please report aic7xxx stuff to Doug
o Further maxiradio cleanups (Dimitromanolakis Apostolos)
o Change ide to use mdelay cleanly (Petr Vandrovec)
| Still broken for PROMISE if no IDE_CS
o Fix duplicated ncpfs fix (Petr Vandrovec)
o Improve inode hash function (Dave Miller)
o Correct 62 misspellings of transferred (Andre Dahlqvist)
o Update AC97 codec setup and tables (Jeff Garzik)

2.4.1-ac5
o Fix zero page corruption (Ben La Haise)
o Elevator corruption fixes (Jens Axboe, Linus)
o Fix fdatasync possible corruption problem (Arjan van de Ven)
o Further KSLI ethernet fixes (Eric Sandeen)
o Merge the correct version of the pm fixes (me)
| noted by Mikael Pettersson
o Account for inode/dcache in free memory (Rik van Riel)
o Add info on how to check reiserfsprogs versions (Steven Cole)
o Disable write combining on serverworks LE chips (Mark Rusk)
o Fix via audio crashes (Jeff Garzik)
o Fix ip accounting rules bug (Rusty Russell)
o Handle USB printers that use device not (Johannes Erdfelt)
interface descriptors
o Fix wheel on graphire usb tablet (Peter Hofmann)
o Clean up maxiradio driver (Francois Romieu)
o Fix visor USB size reporting on buffers (Greg Kroah-Hartmann)
o Update USB serial documentation (Greg Kroah-Hartmann)
o Fix locking on etherworks3 ethernet (Jeff Garzik)
o Fix empeg USB driver problems (Gary Brubaker)
o Generic USB serial driver fixes (Greg Kroah-Hartmann)
o Update USB serial configure.help (Greg Kroah-Hartmann)
o Add more device support to mct_u232 USB (Cornel Ciocirlan)
o Fix typo in asm-ppc/semaphore.h (Andre Dahlqvist)
o Report reiserfs tools in ver_linux (Steven Cole)
o Fix resource leaks in NCR_53c406, atari_scsi (Rasmus Andersen)
and qlogicisp
o Move pci_enable_device earlier for hamachi (Dave Jones)
o Type 6 drives are apparently floppy 2.88M (Dave Jones)
o Remove duplicate pci_enable_device in ne2kpci (Dave Jones)

2.4.1-ac4
o Fix sk_in use counting in svcsock.c (Neil Brown)
| Not yet a complete and final agreed solution
o Add support for KLSI USB ethernet (Brad Hards,
Stephane Alnet, 'the Zapman', and co)
o Update aic7xxx driver (Doug Ledford)
| Please test this carefully and cc reports to Doug
o Add help for CONFIG_INPUT (Steven Cole)
o 3c523 driver update (Tom Sightler)
o Fix reiserfs Changes entry further (Steven Cole)
o Limit ide scatter gather to 128 blocks (Jens Axboe)
o Merge hppa config.in changes (Matthew Wilcox)
o Fix tx timeout recovery on via rhine (Manfred Spraul)
o Fix stale comments in fs/block_dev.c (Tigran Aivazian)
o Further defxx driver work (Maciej Rozycki)
o winbond 840 reported wrong setting value (Maciej Rozycki)
o Guillemot Maxi radio support (Dimitromanolakis Apostolos)
o Allow sleeping in pm callbacks but with locking (me)
working

2.4.1-ac3
o Remove ancient dead net/Changes file (Janice Girouard)
o Merge Linus 2.4.2pre1
o Resync xirc2ps with Dave Hinds tree (dilinger)
o Finish sorting out ramfs problems (Mike Galbraith)
o Update AWE32 documentation (Andre Dahlqvist)
o Remove reference to dead PPP documentation (Andre Dahlqvist)
o Make max_map tunable (Werner Almesberger)
o Fix dead references to java support in some (Andre Dahlqvist)
arch/config
o Make shmfs estimate size limits if none set (Christoph Rohland)
o Revert Crusoe hanging pci hanging changes
| Im still chasing something weird in this
| area that some of the pci changes I have fixes...
o Merge HPPA hackers into CREDITS (Mathew Wilcox)
o Merge some of the HPPA updates (Mathew Wilcox)
o Add Reiserfs tools to changes (Steven Cole)
o Fix i2o Configure.help typo (YOSHIMURA Keitaro)
o SuperH HD64465 host bridge support (Greg Banks)
o Fix modversion.h includes (Keith Owens)
o Tlan driver probing updates (Jeff Garzik)
o Change media drivers to use new style module (me)
locking
| Janitorial job - fix the last ones that
| don't use module_*() and dump the init code

2.4.1-ac2
o Fix matrox G450 framebuffer support (Petr Vandrovec)
o Fix description of DMA-mapping.txt (Dave Miller)
o Fix accidental revert of classifier bug (Dave Miller)
o Fix accidental revert of isdn change
o Fix datagram hang on shutdown (Alexey Kuznetsov)
o Fix 64bit build of clntproc (Michal Jaegermann)
| wants a tidier solution yet
o Fix ide toc caching bug introduced in 2.4.0 (Fredrik Vraalsen)
| this should fix the DVD playback problems
o Swapfs renaming and final bits (Christoph Rohland)
o Further APIC/NMI updates (Mikael Pettersson)
o Add further kernel doc contributions (John Levon)
o ACPI battery tweaks (Pavel Machek)
o Further ramfs fixes (Ingo Oeser)
o ROMFS fixes (Mike Galbraith)
o CS4281 fixes (Thomas Woller)
o Shift to authors official fixes for acenic (Jes Sorensen)
o Update the usb host<->host network drivers (David Brownell)
| Experimental but he wanted feedback so if you
| have one beat it up a bit

2.4.1-ac1
o Resync with Linus 2.4.1
o Fix recursive make_request crash (Ingo Molnar)
o Updated VIA IDE driver (Vojtech Pavlik)
| Please exercise due care and caution testing this
| bit...
o Fix case where threaded apps might write to (Ben LaHaise)
freed kernel memory
o Fix ACPI oopses on tecra (apparently bios bugs) (Pavel Machek)
o AHA152x fixes from maintainer (Juergen Fischer)
o Fix case where scsi could hang on boot waiting (Rogier Wolff)
for a disk spinup
o Further maestro3 pm work (Zach Brown)
o Further NTFS fixes (Yuri Per)
o Add GNU make to the list of URLs in Changes (Steven Cole)
o Make dmx3191d enable device before touching it (Rasmus Andersen)
o Make the sbpcd driver actually useful in 2.4 (Paul Gortmaker)
o Make buslogic enable device before touching it (Rasmus Andersen)
o Fix tty module locking mishandling (Maciej Rozycki)
o Workaround code for APIC problems with ne2k (Maciej Rozycki)
| this will break original 82489DX devices for now
| ie _very_ early dual pentium boards
o Fix iptos netfilter bug (Rusty Russell)
o Fix get/set_fpu_mxcsr to check xmm ont fxsr (Doug Ledford)
o Fix name_to_kdev_t symbol (Adam J Richter)
o Update magic sysrq docs (Jeremy Dolan)
o Support for ETinc PCIsync boards (Francois Romieu)
o Mass duplicated word spelling fixes (Dave Jones)
o Update sb driver to use spinlocks (Chris Rankin)
o Fix leak in bmac driver (Hans Grobler)
o Fix kmalloc check in atm/common (Hans Grobler)
o Fix buffer leak in defxx (Hans Grobler)
o Fix kmalloc check in netrom driver (Hans Grobler)
|BTW side exercise - how about using vmalloc here ?
o Ditto for rose (Hans Grobler)
|Ditto for comment ;)
o Fix lockd 64bit handling (H J Lu)
o Tidy pci_match_device ifdefs (Rasmus Andersen)
o Fix qla1280 handling of registration failure (Rasmus Andersen
Rakesh Rakesh)
o Config include fixes (Niels Jensen)
o MatroxFB updates (Petr Vandrovec)
o Tidy fat_read_super to use get_hardsect_size (Tigran Aivazian)
o Fix m68k bitops ffs() (Geert Uytterhoeven)
o Fix ip_nat_standalone ksyms stuff (Rusty Russell)
o Fix copy_from_user mishandling in ip_fw_compat (Rusty Russell)
o Fix romfs for 2.4ac maxbytes (Mike Galbraith)
o filemap/aging updates (Rik van Riel)
o Enable device before reading irq in ne2k-pci (Martin Diehl)
o Remove surplus nr_ioapics definition (Rasmus Andersen)
o S/390 build fixes (Florian Laroche)
o Advansys driver fixes/portability (Arnaldo Carvalho
de Melo)
o Fix out of message handling error in i2o_block (Jason Lai)
o Fix bit granularity of 32 in ACPI driver (Adam J Richter)
o Fix unsafe casting for ARM on NFS root mount (Russell King)
o Fix mxcsr masking on pentium IV (Doug Ledford)
o Update u14/eata drivers to 6.03 (Dario Ballabio)
o Fix signed/unsigned mess in sysctl handlers (me)


---
Alan Cox <[email protected]>
Red Hat Kernel Hacker
& Linux 2.2 Maintainer Brainbench MVP for TCP/IP
http://www.linux.org.uk/diary http://www.brainbench.com


2001-03-13 06:29:28

by Nathan Walp

[permalink] [raw]
Subject: Re: Linux 2.4.2ac20

Alan Cox wrote:
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/alan/3.4/
>
> Intermediate diffs are available from
>
> http://www.bzimage.org
>
> (Note that the cmsfs port to 2.4 is a work in progress)
>
> Its now 2767631 bytes .gz but a fair amount of stuff has gone to Linus so
> if you redo the diff versus 2.4.3pre4 it looks a lot nicer 8)
>
> 2.4.2-ac20
> o Add support for the GoHubs GO-COM232 (Greg Kroah-Hartman)
> o Remove cobalt remnants (Ralf Baechle)
> o First block of mm documentation (Rik van Riel)
> o Replace ancient Zoran driver with new one (Serguei Miridonov,
> Wolfgang Scherr, Rainer Johanni, Dave Perks)
> o Fix Alpha build (Jeff Garzik)
> o Fix K7 mtrr breakage (Dave Jones)
> o Fix pcnet32 touching resources before enable (Dave Jones)
> o Merge with Linus 2.4.3pre4


Debian sid (unstable). ac18 compiled fine. ac20, i got this:

gcc -I/usr/include -ldb aicasm_gram.c aicasm_scan.c aicasm.c
aicasm_symbol.c -o aicasm
aicasm/aicasm_gram.y:45: ../queue.h: No such file or directory
aicasm/aicasm_gram.y:50: aicasm.h: No such file or directory
aicasm/aicasm_gram.y:51: aicasm_symbol.h: No such file or directory
aicasm/aicasm_gram.y:52: aicasm_insformat.h: No such file or directory
aicasm/aicasm_scan.l:44: ../queue.h: No such file or directory
aicasm/aicasm_scan.l:49: aicasm.h: No such file or directory
aicasm/aicasm_scan.l:50: aicasm_symbol.h: No such file or directory
aicasm/aicasm_scan.l:51: y.tab.h: No such file or directory
make[5]: *** [aicasm] Error 1
make[5]: Leaving directory
`/usr/src/linux-2.4.2-ac20/drivers/scsi/aic7xxx/aicasm'
make[4]: *** [aicasm/aicasm] Error 2
make[4]: Leaving directory
`/usr/src/linux-2.4.2-ac20/drivers/scsi/aic7xxx'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory
`/usr/src/linux-2.4.2-ac20/drivers/scsi/aic7xxx'
make[2]: *** [_subdir_aic7xxx] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.2-ac20/drivers/scsi'
make[1]: *** [_subdir_scsi] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.2-ac20/drivers'
make: *** [_dir_drivers] Error 2
patience:/usr/src/linux#



Also, sometime between ac7 and ac18 (spring break kept me from testing
stuff inbetween), i assume during the new aic7xxx driver merge, the
order of detection got changed, and now the ide-scsi virtual host is
host0, and my 29160N is host1. Is this on purpose? It messed up a
bunch of my stuff as far as /dev and such are concerned.


Thanks,
Nathan

2001-03-13 16:42:23

by David Balazic

[permalink] [raw]
Subject: Re: Linux 2.4.2ac20

Nathan Walp ([email protected]) wrote :

> Also, sometime between ac7 and ac18 (spring break kept me from testing
> stuff inbetween), i assume during the new aic7xxx driver merge, the
> order of detection got changed, and now the ide-scsi virtual host is
> host0, and my 29160N is host1. Is this on purpose? It messed up a
> bunch of my stuff as far as /dev and such are concerned.

SCSI adapters are enumerated randomly(*) , relying on certain numbering
will get you into trouble, sooner or later.
There is no commonly accepted solution, AFAIK.
The same thing can happent to disk enumeration ( sdb becomes sdc )
or partition enumeration ( hda6 becomes hda5 ).

* - theoreticaly no, but practicaly yes ( most of the time )

--
David Balazic
--------------
"Be excellent to each other." - Bill & Ted
- - - - - - - - - - - - - - - - - - - - - -

2001-03-13 22:33:41

by Nathan Walp

[permalink] [raw]
Subject: Re: Linux 2.4.2ac20

David Balazic wrote:
>
> Nathan Walp ([email protected]) wrote :
>
> > Also, sometime between ac7 and ac18 (spring break kept me from testing
> > stuff inbetween), i assume during the new aic7xxx driver merge, the
> > order of detection got changed, and now the ide-scsi virtual host is
> > host0, and my 29160N is host1. Is this on purpose? It messed up a
> > bunch of my stuff as far as /dev and such are concerned.
>
> SCSI adapters are enumerated randomly(*) , relying on certain numbering
> will get you into trouble, sooner or later.
> There is no commonly accepted solution, AFAIK.
> The same thing can happent to disk enumeration ( sdb becomes sdc )
> or partition enumeration ( hda6 becomes hda5 ).
>
> * - theoreticaly no, but practicaly yes ( most of the time )
>
> --
> David Balazic
> --------------
> "Be excellent to each other." - Bill & Ted
> - - - - - - - - - - - - - - - - - - - - - -

SCSI adapters are given host numbers in a random order? Even with no
hardware changes? Does this make less than sense to anyone else? Every
kernel EVER up till now has had the real scsi cards (in some particular
order) then ide-scsi. Have I just been lucky???

Nathan

2001-03-13 23:04:11

by Tim Wright

[permalink] [raw]
Subject: Re: Linux 2.4.2ac20

On Tue, Mar 13, 2001 at 02:24:54PM -0500, Nathan Walp wrote:
> David Balazic wrote:
> >
> > SCSI adapters are enumerated randomly(*) , relying on certain numbering
> > will get you into trouble, sooner or later.
> > There is no commonly accepted solution, AFAIK.
> > The same thing can happent to disk enumeration ( sdb becomes sdc )
> > or partition enumeration ( hda6 becomes hda5 ).
> >
> > * - theoreticaly no, but practicaly yes ( most of the time )
>
> SCSI adapters are given host numbers in a random order? Even with no
> hardware changes? Does this make less than sense to anyone else? Every
> kernel EVER up till now has had the real scsi cards (in some particular
> order) then ide-scsi. Have I just been lucky???
>

No, it's not truly random. That would be insane. And, no, if you don't change
the kernel or the hardware, then they won't jump around.
But, yes, if you change the hardware, or someone changes the probe order
in the kernel, you can suffer from device name slippage. This is a minor
problem on a small home system, and a massive PITA on a large server.
You can at least mandate the probe order on a 2.4 system (see the scsihosts
parameter).

Tim

--
Tim Wright - [email protected] or [email protected] or [email protected]
IBM Linux Technology Center, Beaverton, Oregon
Interested in Linux scalability ? Look at http://lse.sourceforge.net/
"Nobody ever said I was charming, they said "Rimmer, you're a git!"" RD VI

2001-03-13 23:18:11

by Michal Jaegermann

[permalink] [raw]
Subject: Re: Linux 2.4.2ac20

On Tue, Mar 13, 2001 at 04:36:18AM +0000, Alan Cox wrote:
...
>
> 2.4.2-ac20
...
> o Fix Alpha build (Jeff Garzik)

Now I see (at least on Alpha) a constant wailing:

..../linux-2.4.2ac/include/linux/binfmts.h:45: warning: `struct
mm_struct' declared inside parameter list
..../linux-2.4.2ac/include/linux/binfmts.h:45: warning: its scope is
only this definition or declaration, which is probably not what you want

Is this somehow related?

Michal

2001-03-13 23:39:31

by Jeff Garzik

[permalink] [raw]
Subject: Re: Linux 2.4.2ac20

Michal Jaegermann wrote:
>
> On Tue, Mar 13, 2001 at 04:36:18AM +0000, Alan Cox wrote:
> ...
> >
> > 2.4.2-ac20
> ...
> > o Fix Alpha build (Jeff Garzik)
>
> Now I see (at least on Alpha) a constant wailing:
>
> ..../linux-2.4.2ac/include/linux/binfmts.h:45: warning: `struct
> mm_struct' declared inside parameter list
> ..../linux-2.4.2ac/include/linux/binfmts.h:45: warning: its scope is
> only this definition or declaration, which is probably not what you want
>
> Is this somehow related?

Nope, I saw that before the patch. My patch was, in any case, to a
single .c file, not a header file, so it wouldn't spew like that.

It compiled and booted, I moved on :)

So solve that warning you probably need to shuffle the delicate balance
of includes around so that linux/sched.h, where mm_struct is defined, is
included before binfmts.h. Or have binfmt.h include sched.h (which
should work... but its all kinds of nested nastiness)

--
Jeff Garzik | May you have warm words on a cold evening,
Building 1024 | a full mooon on a dark night,
MandrakeSoft | and a smooth road all the way to your door.

2001-03-13 23:41:41

by Douglas Gilbert

[permalink] [raw]
Subject: Re: Linux 2.4.2ac20

> David Balazic wrote:
> >
> > Nathan Walp ([email protected]) wrote :
> >
> > > Also, sometime between ac7 and ac18 (spring break kept me from testing
> > > stuff inbetween), i assume during the new aic7xxx driver merge, the
> > > order of detection got changed, and now the ide-scsi virtual host is
> > > host0, and my 29160N is host1. Is this on purpose? It messed up a
> > > bunch of my stuff as far as /dev and such are concerned.
> >
> > SCSI adapters are enumerated randomly(*) , relying on certain numbering
> > will get you into trouble, sooner or later.
> > There is no commonly accepted solution, AFAIK.
> > The same thing can happent to disk enumeration ( sdb becomes sdc )
> > or partition enumeration ( hda6 becomes hda5 ).
> >
> > * - theoreticaly no, but practicaly yes ( most of the time )
>
> SCSI adapters are given host numbers in a random order? Even with no
> hardware changes? Does this make less than sense to anyone else? Every
> kernel EVER up till now has had the real scsi cards (in some particular
> order) then ide-scsi. Have I just been lucky???

Built in scsi adapter drivers are probed in the order in
which they appear in drivers/scsi/Makefile (in the lk 2.4
series). Adapters can be assigned to host numbers using
the "scsihosts" kernel boot option (but this will not
differentiate between 2 adapters controlled by the same
driver (e.g. 2 29160 cards)). Scsi buses are scanned for
devices in ascending order.

If you have lots of SCSI devices then devfs is your friend.

Doug Gilbert

2001-03-13 23:48:34

by Wayne.Brown

[permalink] [raw]
Subject: Re: Linux 2.4.2ac20



I've just noticed with 2.4.2-ac20 that /proc/sys/fs/binfmt_misc is no longer
being created. I have CONFIG_BINFMT_MISC=y in my .config. This was working
fine in 2.4.3-pre4.

Wayne


2001-03-14 09:32:25

by David Balazic

[permalink] [raw]
Subject: Re: Linux 2.4.2ac20

Nathan Walp wrote:
>
> David Balazic wrote:
> >
> > Nathan Walp ([email protected]) wrote :
> >
> > > Also, sometime between ac7 and ac18 (spring break kept me from testing
> > > stuff inbetween), i assume during the new aic7xxx driver merge, the
> > > order of detection got changed, and now the ide-scsi virtual host is
> > > host0, and my 29160N is host1. Is this on purpose? It messed up a
> > > bunch of my stuff as far as /dev and such are concerned.
> >
> > SCSI adapters are enumerated randomly(*) , relying on certain numbering
> > will get you into trouble, sooner or later.
> > There is no commonly accepted solution, AFAIK.
> > The same thing can happent to disk enumeration ( sdb becomes sdc )
> > or partition enumeration ( hda6 becomes hda5 ).
> >
> > * - theoreticaly no, but practicaly yes ( most of the time )
> >
> > --
> > David Balazic
> > --------------
> > "Be excellent to each other." - Bill & Ted
> > - - - - - - - - - - - - - - - - - - - - - -
>
> SCSI adapters are given host numbers in a random order? Even with no
> hardware changes? Does this make less than sense to anyone else? Every
> kernel EVER up till now has had the real scsi cards (in some particular
> order) then ide-scsi. Have I just been lucky???
>
> Nathan

What I mean that too many factors are affecting the enumeration,
so that you can not rely on it :

- kernel changes
- driver changes ( partly overlaps with the previous poit )
- hardware changes
- something else ?

There is no policy for this enumeration ( AFAIK ) , so there is
nothing to rely on , except luck :-)

--
David Balazic
--------------
"Be excellent to each other." - Bill & Ted
- - - - - - - - - - - - - - - - - - - - - -

2001-03-14 15:14:15

by Nathan Walp

[permalink] [raw]
Subject: Re: Linux 2.4.2ac20

David Balazic wrote:
>
> Nathan Walp wrote:
> >
> > David Balazic wrote:
> > >
> > > Nathan Walp ([email protected]) wrote :
> > >
> > > > Also, sometime between ac7 and ac18 (spring break kept me from testing
> > > > stuff inbetween), i assume during the new aic7xxx driver merge, the
> > > > order of detection got changed, and now the ide-scsi virtual host is
> > > > host0, and my 29160N is host1. Is this on purpose? It messed up a
> > > > bunch of my stuff as far as /dev and such are concerned.
> > >
> > > SCSI adapters are enumerated randomly(*) , relying on certain numbering
> > > will get you into trouble, sooner or later.
> > > There is no commonly accepted solution, AFAIK.
> > > The same thing can happent to disk enumeration ( sdb becomes sdc )
> > > or partition enumeration ( hda6 becomes hda5 ).
> > >
> > > * - theoreticaly no, but practicaly yes ( most of the time )
> > >
> > > --
> > > David Balazic
> > > --------------
> > > "Be excellent to each other." - Bill & Ted
> > > - - - - - - - - - - - - - - - - - - - - - -
> >
> > SCSI adapters are given host numbers in a random order? Even with no
> > hardware changes? Does this make less than sense to anyone else? Every
> > kernel EVER up till now has had the real scsi cards (in some particular
> > order) then ide-scsi. Have I just been lucky???
> >
> > Nathan
>
> What I mean that too many factors are affecting the enumeration,
> so that you can not rely on it :
>
> - kernel changes
> - driver changes ( partly overlaps with the previous poit )
> - hardware changes
> - something else ?
>
> There is no policy for this enumeration ( AFAIK ) , so there is
> nothing to rely on , except luck :-)

See, that all makes sense. You can't depend on hardware to detect in
the same order, whether it's SCSI cards, network cards, or anything
really. But the software psuedo-device that is ide-scsi, shouldn't that
pick a spot before or after the hardware and stay there? That's my
point, i guess.

Nathan

2001-03-14 15:38:07

by John Jasen

[permalink] [raw]
Subject: magic device renumbering was -- Re: Linux 2.4.2ac20


The problem:

drivers change their detection schemes; and changes in the kernel can
change the order in which devices are assigned names.

For example, the DAC960(?) drivers changed their order of
detecting controllers, and I did _not_ have fun, given that the machine in
question had about 40 disks to deal with, spread across two controllers.

This can create a lot of problems for people upgrading large, production
quality systems -- as, in the worst case, the system won't complete the
boot cycle; or in middle cases, the user/sysadmin is stuck rewriting X
amount of files and trying again; or in small cases, you find out that
your SMC and Intel ethernet cards are reversed, and have to go fix things
...

Possible solutions(?):

Solaris uses an /etc/path_to_inst file, to keep track of device ordering,
et al.

Maybe we should consider something similar, where a physical device to
logical device map is kept and used to keep things consistent on
kernel/driver changes; device addition/removal, and so forth ...

I am, of course, open to better solutions.

--
-- John E. Jasen ([email protected])
-- In theory, theory and practise are the same. In practise, they aren't.


2001-03-14 16:28:22

by Tim Wright

[permalink] [raw]
Subject: Re: magic device renumbering was -- Re: Linux 2.4.2ac20

On Wed, Mar 14, 2001 at 10:36:40AM -0500, John Jasen wrote:
>
> The problem:
>
[ Device name slippage ]
>
> Possible solutions(?):
>
> Solaris uses an /etc/path_to_inst file, to keep track of device ordering,
> et al.
>
> Maybe we should consider something similar, where a physical device to
> logical device map is kept and used to keep things consistent on
> kernel/driver changes; device addition/removal, and so forth ...
>
> I am, of course, open to better solutions.
>

This would currently be massive overkill for Linux, but DYNIX/ptx avoids this
problem entirely by keeping a device naming database. This became necessary
when we added support for multi-path fibre-channel connected disks. Most
device-naming conventions rely on "physical" addresses i.e. this disk at the end
of this bus connected to this controller in this PCI slot is /dev/sdd. The
Solaris scheme mentioned above is no different in that respect. Unfortunately,
it doesn't work with multi-path FC-connected devices.

Very briefly, devices that are "id-able" i.e. already have a unique id are
simply entered into the database (SCSI drives have a unique id that you can
read at autoconf time). For elements that are not "id-able", we establish
a derived id by recording their relation to "id-able" elements. At boot time,
we scan (in parallel) the system and compare what we find to the database.
That way, you get consistent naming for devices, and, at least in the case of
the SCSI (or FC) drives, the name doesn't change, even if you pull a drive
from one bus and plug it into a different bus entirely.

As I say, this would be massive overkill for Linux, but it's a rather thorough
solution :-)

Tim

--
Tim Wright - [email protected] or [email protected] or [email protected]
IBM Linux Technology Center, Beaverton, Oregon
Interested in Linux scalability ? Look at http://lse.sourceforge.net/
"Nobody ever said I was charming, they said "Rimmer, you're a git!"" RD VI

2001-03-14 18:11:58

by Greg KH

[permalink] [raw]
Subject: Re: magic device renumbering was -- Re: Linux 2.4.2ac20

On Wed, Mar 14, 2001 at 08:27:10AM -0800, Tim Wright wrote:
> This would currently be massive overkill for Linux, but DYNIX/ptx avoids this
> problem entirely by keeping a device naming database. This became necessary
> when we added support for multi-path fibre-channel connected disks. Most
> device-naming conventions rely on "physical" addresses i.e. this disk at the end
> of this bus connected to this controller in this PCI slot is /dev/sdd. The
> Solaris scheme mentioned above is no different in that respect. Unfortunately,
> it doesn't work with multi-path FC-connected devices.
>
> Very briefly, devices that are "id-able" i.e. already have a unique id are
> simply entered into the database (SCSI drives have a unique id that you can
> read at autoconf time). For elements that are not "id-able", we establish
> a derived id by recording their relation to "id-able" elements. At boot time,
> we scan (in parallel) the system and compare what we find to the database.
> That way, you get consistent naming for devices, and, at least in the case of
> the SCSI (or FC) drives, the name doesn't change, even if you pull a drive
> from one bus and plug it into a different bus entirely.

This comes up a lot with regards to USB devices too. One of the
usb-serial drivers (the edgeport driver) did something like this by
looking at the topology of the USB bus and where a specific device was
(it was also helped by unique serial numbers) and allowed the devices to
be assigned device nodes based on the topology and a small user space
program. I'm going to try to do this for all usb-serial devices in 2.5

I can see a scheme like this being very useful for all USB, FireWire,
scsi, etc type of devices.

And no, I don't think that having some type of device naming "database"
is overkill and will eventually make it into parts of the kernel (the
"database" living outside of the kernel of course...)

greg k-h

--
greg@(kroah|wirex).com

2001-03-14 18:25:38

by Christoph Hellwig

[permalink] [raw]
Subject: Re: magic device renumbering was -- Re: Linux 2.4.2ac20

In article <[email protected]> you wrote:

> The problem:

> drivers change their detection schemes; and changes in the kernel can
> change the order in which devices are assigned names.
>
> For example, the DAC960(?) drivers changed their order of
> detecting controllers, and I did _not_ have fun, given that the machine in
> question had about 40 disks to deal with, spread across two controllers.

Put LABEL=<label set with e2label> in you fstab in place of the device name.

Christoph

P.S. UUID= work, too - but I prefer a human-readable label...
--
Of course it doesn't work. We've performed a software upgrade.

2001-03-14 18:46:39

by Peter Svensson

[permalink] [raw]
Subject: Re: magic device renumbering was -- Re: Linux 2.4.2ac20

On Wed, 14 Mar 2001, Christoph Hellwig wrote:

> Put LABEL=<label set with e2label> in you fstab in place of the device name.
>
> Christoph
>
> P.S. UUID= work, too - but I prefer a human-readable label...

There are a lot of different devices besides disks, e.g. tape drives etc.
I seem to remember from the last round this came up that modern FC fabrics
have some dynamic properties that may require more intelligence in the
kernel.

Peter
--
Peter Svensson ! Pgp key available by finger, fingerprint:
<[email protected]> ! 8A E9 20 98 C1 FF 43 E3 07 FD B9 0A 80 72 70 AF
<[email protected]> !
------------------------------------------------------------------------
Remember, Luke, your source will be with you... always...


2001-03-14 19:18:17

by Andreas Dilger

[permalink] [raw]
Subject: Re: magic device renumbering was -- Re: Linux 2.4.2ac20

Christoph writes:
> In article <[email protected]> you wrote:
> > drivers change their detection schemes; and changes in the kernel can
> > change the order in which devices are assigned names.
> >
> > For example, the DAC960(?) drivers changed their order of
> > detecting controllers, and I did _not_ have fun, given that the machine in
> > question had about 40 disks to deal with, spread across two controllers.
>
> Put LABEL=<label set with e2label> in you fstab in place of the device name.
> P.S. UUID= work, too - but I prefer a human-readable label...

Works OK for ext2 only. I'm still waiting on the reiserfs folks to add a
UUID and LABEL to their superblock.

However, for raw partitions, you will need to use LVM to get rename-safe
device labels. You probably want LVM anyways, if you have 40 disks...

Cheers, Andreas
--
Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,
\ would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert

2001-03-14 19:13:18

by Lars Kellogg-Stedman

[permalink] [raw]
Subject: Re: magic device renumbering was -- Re: Linux 2.4.2ac20

> Put LABEL=<label set with e2label> in you fstab in place of the device name.

Which is great, for filesystems that support labels. Unfortunately,
this isn't universally available -- for instance, you cannot mount
a swap partition by label or uuid, so it is not possible to completely
isolate yourself from the problems of disk device renumbering.

-- Lars

--
Lars Kellogg-Stedman <[email protected]>

2001-03-14 19:35:37

by Andreas Dilger

[permalink] [raw]
Subject: Re: magic device renumbering was -- Re: Linux 2.4.2ac20

Lars writes:
> > Put LABEL=<label set with e2label> in you fstab in place of the device name.
>
> Which is great, for filesystems that support labels. Unfortunately,
> this isn't universally available -- for instance, you cannot mount
> a swap partition by label or uuid, so it is not possible to completely
> isolate yourself from the problems of disk device renumbering.

There is room for a LABEL and/or UUID in the swap superblock, if you
would want to implement support for this. I took a look once, and it
should be possible to add in a compatible way. Of course, you can
always put swap into LVM, which also makes it (along with filesystems
other than ext2) immune from the nasty device name changes.

Cheers, Andreas
--
Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,
\ would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert

2001-03-14 19:46:37

by Richard B. Johnson

[permalink] [raw]
Subject: Re: magic device renumbering was -- Re: Linux 2.4.2ac20

On Wed, 14 Mar 2001, Lars Kellogg-Stedman wrote:

> > Put LABEL=<label set with e2label> in you fstab in place of the device name.
>
> Which is great, for filesystems that support labels. Unfortunately,
> this isn't universally available -- for instance, you cannot mount
> a swap partition by label or uuid, so it is not possible to completely
> isolate yourself from the problems of disk device renumbering.
>
> -- Lars
>
> --
> Lars Kellogg-Stedman <[email protected]>
>
When my BIOS finds IDE disks, it starts at the lowest address of
the port. It then looks for the first master, then the slave(s), etc.
Then it tries the second, etc.

When my SCSI BIOS finds disks, it starts at the first controller,
the first LUN, the first drive, etc.

This used to even be the way disks were located by the kernel
drivers. Now, these are found in some "random" order.

If whatever is causing the "random" order was fixed, put back like
it used to be, etc., we wouldn't have these problems.


Cheers,
Dick Johnson

Penguin : Linux version 2.4.1 on an i686 machine (799.53 BogoMips).

"Memory is like gasoline. You use it up when you are running. Of
course you get it all back when you reboot..."; Actual explanation
obtained from the Micro$oft help desk.


2001-03-14 20:02:37

by Christoph Hellwig

[permalink] [raw]
Subject: Re: magic device renumbering was -- Re: Linux 2.4.2ac20

On Wed, Mar 14, 2001 at 02:11:57PM -0500, Lars Kellogg-Stedman wrote:
> > Put LABEL=<label set with e2label> in you fstab in place of the device name.
>
> Which is great, for filesystems that support labels. Unfortunately,
> this isn't universally available -- for instance, you cannot mount
> a swap partition by label or uuid, so it is not possible to completely
> isolate yourself from the problems of disk device renumbering.

True. Let's mark for 2.5 ToDO list: magic number for swap...

Just because it does not work universally it doesn't have to be a bad idea...

Christoph

--
Of course it doesn't work. We've performed a software upgrade.

2001-03-14 20:09:47

by John Jasen

[permalink] [raw]
Subject: Re: magic device renumbering was -- Re: Linux 2.4.2ac20

On Wed, 14 Mar 2001, Christoph Hellwig wrote:

> In article <[email protected]> you wrote:
>
> > The problem:
>
> > drivers change their detection schemes; and changes in the kernel can
> > change the order in which devices are assigned names.
> >
> > For example, the DAC960(?) drivers changed their order of
> > detecting controllers, and I did _not_ have fun, given that the machine in
> > question had about 40 disks to deal with, spread across two controllers.
>
> Put LABEL=<label set with e2label> in you fstab in place of the device name.

It solves the example, but not necessarily the problem.

We're still left with partitions that don't do labels, attached tape
devices, scsi controllers, NICs, and so forth.

--
-- John E. Jasen ([email protected])
-- In theory, theory and practise are the same. In practise, they aren't.

2001-03-15 02:12:46

by Greg KH

[permalink] [raw]
Subject: Re: magic device renumbering was -- Re: Linux 2.4.2ac20

On Wed, Mar 14, 2001 at 05:53:16PM -0800, Tim Wright wrote:
> Well, if it sounds useful, I can look into putting up the design documentation
> (yes, shock, horror, there is some :-). It's pretty thorough and covers most
> of the issues involved, and hence might be a good talking point, even if we
> chose to implement quite differently.

I'd be interested in seeing it, and I'm sure other developers would too.
If you need a place to host it, I can offer a spot on the linux-hotplug
sourceforge site for it.

thanks,

greg k-h

--
greg@(kroah|wirex).com

2001-03-15 01:54:45

by Tim Wright

[permalink] [raw]
Subject: Re: magic device renumbering was -- Re: Linux 2.4.2ac20

On Wed, Mar 14, 2001 at 10:15:26AM -0800, Greg KH wrote:
[My ramblings on device naming database deleted]
> This comes up a lot with regards to USB devices too. One of the
> usb-serial drivers (the edgeport driver) did something like this by
> looking at the topology of the USB bus and where a specific device was
> (it was also helped by unique serial numbers) and allowed the devices to
> be assigned device nodes based on the topology and a small user space
> program. I'm going to try to do this for all usb-serial devices in 2.5
>
> I can see a scheme like this being very useful for all USB, FireWire,
> scsi, etc type of devices.
>
> And no, I don't think that having some type of device naming "database"
> is overkill and will eventually make it into parts of the kernel (the
> "database" living outside of the kernel of course...)
>

Well, if it sounds useful, I can look into putting up the design documentation
(yes, shock, horror, there is some :-). It's pretty thorough and covers most
of the issues involved, and hence might be a good talking point, even if we
chose to implement quite differently.

Tim

--
Tim Wright - [email protected] or [email protected] or [email protected]
IBM Linux Technology Center, Beaverton, Oregon
Interested in Linux scalability ? Look at http://lse.sourceforge.net/
"Nobody ever said I was charming, they said "Rimmer, you're a git!"" RD VI

2001-03-15 03:05:30

by Stephen Degler

[permalink] [raw]
Subject: Re: magic device renumbering was -- Re: Linux 2.4.2ac20

Hi,

The solution is not to go down the path2inst road, that is full of
its own traps. You want volume labels via a volume manager (do lvm and raid
already do this?) and/or filesystem labels (see e2fslabel). This won't solve
all of the ills associated with device instance changes, but it will certainly
address the biggest one.

skd

On Wed, Mar 14, 2001 at 10:36:40AM -0500, John Jasen wrote:
>
> The problem:
>
> drivers change their detection schemes; and changes in the kernel can
> change the order in which devices are assigned names.
>
> For example, the DAC960(?) drivers changed their order of
> detecting controllers, and I did _not_ have fun, given that the machine in
> question had about 40 disks to deal with, spread across two controllers.
>
> This can create a lot of problems for people upgrading large, production
> quality systems -- as, in the worst case, the system won't complete the
> boot cycle; or in middle cases, the user/sysadmin is stuck rewriting X
> amount of files and trying again; or in small cases, you find out that
> your SMC and Intel ethernet cards are reversed, and have to go fix things
> ...
>
> Possible solutions(?):
>
> Solaris uses an /etc/path_to_inst file, to keep track of device ordering,
> et al.
>
> Maybe we should consider something similar, where a physical device to
> logical device map is kept and used to keep things consistent on
> kernel/driver changes; device addition/removal, and so forth ...
>
> I am, of course, open to better solutions.
>
> --
> -- John E. Jasen ([email protected])
> -- In theory, theory and practise are the same. In practise, they aren't.
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

2001-03-15 13:47:45

by John Jasen

[permalink] [raw]
Subject: Re: magic device renumbering was -- Re: Linux 2.4.2ac20

On Wed, 14 Mar 2001, Richard B. Johnson wrote:

> This used to even be the way disks were located by the kernel
> drivers. Now, these are found in some "random" order.
>
> If whatever is causing the "random" order was fixed, put back like
> it used to be, etc., we wouldn't have these problems.

Another alternative to path2inst or a database, I suppose, would be to use
bus/pci slot information (like in /proc/pci?) to order multiple devices, so
at least there's some consistency.

You might have a serious headache, however, when adding a device, under
that scheme.

--
-- John E. Jasen ([email protected])
-- In theory, theory and practise are the same. In practise, they aren't.

2001-03-15 21:52:07

by Mikael Pettersson

[permalink] [raw]
Subject: Re: magic device renumbering was -- Re: Linux 2.4.2ac20

On Wed, 14 Mar 2001 12:34:06 -0700 (MST), Andreas Dilger wrote in LKML:

>Lars writes:
>> > Put LABEL=<label set with e2label> in you fstab in place of the device name.
>>
>> Which is great, for filesystems that support labels. Unfortunately,
>> this isn't universally available -- for instance, you cannot mount
>> a swap partition by label or uuid, so it is not possible to completely
>> isolate yourself from the problems of disk device renumbering.
>
>There is room for a LABEL and/or UUID in the swap superblock, if you
>would want to implement support for this.

Despair no more! I've implemented a patch for util-linux-2.11a
which adds LABEL support to mkswap(8) and swapon/swapoff(8).

- I shrunk the padding field in the new-style swap_header to make
room for 16 bytes worth of volume label (same as ext2)
- mkswap -L label also sets the volume label
- swapon -L label looks for a swap partition with the given label
(using a clone of mount(8)'s LABEL/UUID= support code)
- swapon/swapoff -a also handles swap fstab entries where the
device is specified as LABEL=<label>

The patch is available at http://www.csd.uu.se/~mikpe/linux/swap-label/

/Mikael

2001-03-16 09:15:46

by Stephen C. Tweedie

[permalink] [raw]
Subject: Re: magic device renumbering was -- Re: Linux 2.4.2ac20

Hi,

On Wed, Mar 14, 2001 at 02:11:57PM -0500, Lars Kellogg-Stedman wrote:
> > Put LABEL=<label set with e2label> in you fstab in place of the device name.
>
> Which is great, for filesystems that support labels. Unfortunately,
> this isn't universally available -- for instance, you cannot mount
> a swap partition by label or uuid, so it is not possible to completely
> isolate yourself from the problems of disk device renumbering.

It's not convenient, but it is certainly possible: use a
single-partition raid0 logical device with raid autostart, and you get
a logical /dev/md* device which corresponds to a single partition and
which has a fixed name which is detected by the kernel at runtime and
mapped to the correct disk, wherever the disk may be.

The IBM EVMS folks are looking to generalise this sort of probing, but
for now there is at least one solution to this problem. LVM works too
to some extent, but it currently lacks the automatic boot-time/
device-detect-time kernel probing step that the software raid code
has.

Cheers,
Stephen