2002-08-31 22:15:34

by Linus Torvalds

[permalink] [raw]
Subject: Linux v2.5.33


There's a fair amount of stuff in here again, but I'd personally like to
have people who actually use that d*ng floppy driver please test it out. I
finally broke down and tried to fix it, since it's been broken in 2.5.x
for longer than most people care to remember.

I don't even have floppies to test with, I just verified that I could read
two old backup disks, and one seemed fine, and the other read 90% of the
thing, which was a lot more than I expected since they are both at least
five years old. I've never had good luck with those unreliable 3.5"
things, I'd rather have as little to do with them as possible.

Anyway, apart from floppies, this has the IDE organizational cleanups by
Al, another merge with Andrew, and some new networking stuff (TCP
segmentation offload onto network cards, and initial cut of SCTP support).

And NTFS, JFS, and of course USB updates. Oh, and some of the keyboard
input stuff should fix some random breakage in the input switchover.

Linus

----

Summary of changes from v2.5.32 to v2.5.33
============================================

<[email protected]>:
o designated initializer patches for include_asm-i386,
fs_nls and kernel_dma.c

<[email protected]>:
o Re: Make CONFIG_VIDEO_RPOC_FS depend on CONFIG_PROC_FS

<[email protected]>:
o update comments in ip_tables.c

<[email protected]>:
o prevent oops in xprt_lock_write, against 2.5.32
o sock_writeable not appropriate for TCP sockets, for 2.5.32

<[email protected]>:
o i386 ksyms cleanup
o PCI Cleanup
o Fixed NUMA-Q PCI patch

<[email protected]>:
o ptrace exit fix

<[email protected]>:
o Trivial Patch to SonyCD535 documentation

<[email protected]>:
o include/asm-i386/msr.h

<[email protected]>:
o trivial mtdblock.c fix

<[email protected]>:
o Add ETHTOOL_GDRVINFO ioctl support to several pcmcia net drivers,
and one USB net driver: 3c574_cs, ibmtr_cs, pcnet_cs, ray_cs,
xirc2ps_cs, xircom_cb, and usb/net/kaweth

<[email protected]>:
o typo fixes: the the, resourses, wierd, becaus(e), whish,
capitalization

<[email protected]>:
o Support MSG_ABORT (the abort primitive) to do a non-graceful
shutdown of an association
o Update statetable for prm ABORT and prm SHUTDOWN in the closed
state (this should turn into an error just like we do in prm SEND)

<[email protected]>:
o lksctp-2_5_31-0_5_1.patch

<[email protected]>:
o drivers_scsi_NCR53C9x_c synchronize_irq() fix
o drivers_net_sb1250-mac_c synchronize_irq() fix

<[email protected]>:
o [TRIVIAL PATCH] { 2.5.30 } : removing redundant variable
frominit_main.c

<[email protected]>:
o OSS convert cli to spinlocks

<[email protected]>:
o kerneldoc: In kernel-hacking describe designated initialisers

<[email protected]>:
o ia64: IRQ cleanup patch for 2.5.30

<[email protected]>:
o Add Cobalt Networks support to nvram driver export nvram interfaces
general cleanup of nvram driver protect nvram state with a lock fix
nvram O_EXCL hack to actually work

<[email protected]>:
o More support for upward growing stacks
o reintroduce close() optimisation
o push the BKL down in setfl

Alexander Viro <[email protected]>:
o move stuff from ide_register_subdriver() to ide-probe.c
o finish introduction of ->reinit()
o put IDE drives on lists
o move media_type checks from ide_scan_devices() to ->reinit
o Remove duplicate calls to ide_cdrom_init(), idedisk_init(), etc
o per-drive IDE deregistration
o Add ->owner to ide_driver_t
o turn ide_reinit_drive() into ata_attach()
o Remove unused high-level IDE ->init method
o put ide_driver_t on lists
o move add_gendisk()/del_gendisk() into ->reinit() and ->cleanup()

Alexey Kuznetsov <[email protected]>:
o [NET]: Add TCP segmentation offload core infrastructure
o [NET]: Add TCP segmentation offload support to e1000
o [NET]: Add segmentation offload support to TCP

Andrew Morton <[email protected]>:
o minor page_alloc.c things
o reduced TLB invalidation rate
o better buffer_head slab packing
o rename zone_struct and zonelist_struct, kill zone_t and
o per-zone-LRU
o per-zone LRU locking
o add L1_CACHE_SHIFT_MAX
o ensure that the per-zone locks fall in separate cachelines
o debug check in put_page_testzero()
o remove pagevec_lru_del()
o put_page() consolidation
o batched freeing of anon pages
o writeback correctness and efficiency changes
o fix an ext3 deadlock
o O_DIRECT for ext3
o ext3 __FUNCTION__ pasting fix

Andy Grover <[email protected]>:
o Add arch-neutral support for parsing SLIT and SRAT tables (Kochi
Takayoshi)
o There are a few problems with ACPI init. One of these is that
acpi=off will disable the ACPI interpreter init, but not stop the
OS from using ACPI tables for finding CPUs and IOAPICs. Another
problem is that if we use the tables, but then the interpreter
fails to init, we are in deep trouble, because it is too late to
revert to using MPS, but we cannot get _PRT info without the
interpreter.
o local_irq_disable is extraneous (Matthew Wilcox)
o Ensure that the ACPI interrupt has the proper trigger and polarity
o ACPI Remove unused file
o ACPI interpreter update

Anton Altaparmakov <[email protected]>:
o NTFS: Add configuration option for developmental write support
o NTFS: Initial implementation of mmap(2) based overwriting
o NTFS: Fix silly bug in ntfs_write_block(). iblock and dblock have
different semantics so the check was bogus. Compare the byte sizes
instead.
o NTFS: Cleanups, mostly whitespace. Found during resync with 2.4
backport
o NTFS: Initial implementation of write(2) based overwriting of
existing files on ntfs. (Note: Resident files are not supported
yet, so avoid writing to files smaller than 1kiB.)
o NTFS: 2.1.0 - First steps towards write support: implement file
overwrite
o NTFS: Add ifdef NTFS_RW arround ntfs_truncate and ntfs_setattr

Anton Blanchard <[email protected]>:
o compile fix for st.c

Brad Hards <[email protected]>:
o header cleanup - drivers_mtd_devices_blkmtd.c
o header cleanup - drivers_bluetooth_hci_ldisc.c
o Re: header cleanup - drivers_macintosh_via-pmu.c
o header cleanup - drivers_char_drm_mga_state.c

Dave Kleikamp <[email protected]>:
o JFS: rework extent invalidation
o JFS extended attributes
o JFS: Add write_super_lockfs() and unlock_fs() for snapshot
o Proper implementation of jfs_get_blocks

David Brownell <[email protected]>:
o Documentation/usb/{o,u}hci.txt
o usb/core/hcd-pci, pci cleanup
o USB dma and scatterlists
o ehci, registers to driverfs (for debug)
o ohci on sparc64
o show pci_pool stats in driverfs]

David Gibson <[email protected]>:
o Fix for magic sysrq when CONFIG_VT=n

David Mosberger <[email protected]>:
o efi.h move
o ia64: Delete include/asm-ia64/efi.h (it got moved to include/linux)
o ia64: Make v2.5.32 compile
o ia64: Remove unnecessary <linux/config.h> include
o ia64: Fix I/O macros in asm-ia64/io.h. Based on patch by Andreas
Schwab
o ia64: Initial sync with 2.5.32
o ia64: Add asm-ia64/kmap_types.h (dummy file, but needed to get
aio.c compiled)
o ia64: Sync with 2.5.32 to get a working kernel
o Create dummy file include/asm-ia64/mc146818rtc.h since
ide-geometry.c continues to insist on it.

David S. Miller <[email protected]>:
o [SPARC64]: Ultra-III+ updates and better error trap logging
o arch/sparc64/kernel/traps.c: Add spitfire_ prefix to
clean_and_reenable_l1_caches, BUG on non-spitfire cpus
o arch/sparc64/kernel/irq.c: Kill reference to dead linux/kbd_ll.h
o [INPUT]: Add EBUS/ISA speaker input driver for Sparc
o include/asm-sparc64/pgalloc.h: Include linux/mm.h
o drivers/char/keyboard.c: Add sparc{32,64} emulate_raw support
o drivers/serial/Config.in: It is CONFIG_SPARC32 not CONFIG_SPARC
o drivers/input/misc/Config.in: It is CONFIG_SPARC32 not CONFIG_SPARC
o drivers/char/keyboard.c: Merge in Vojtech fixes plus add Sparc raw
support
o arch/sparc64/kernel/setup.c: Kill duplicate kbd_sysrq_xlate
o [SPARC]: Define CONFIG_HW_CONSOLE
o [SPARC64]: Add dummy kmap_types.h for sake of fs/aio.c
o [SPARC]: Finish conversion of sbusfb drivers to new fbcon API
o include/linux/sctp.h: Use __u{8,16,32} instead of uint{8,16,32}_t
o [SCTP]: Whitespace/codingstyle fixups, plus a bug fix or two
o net/sctp/sctp_sm_statefuns.c: Remove bogus use of unused attribute
with a label
o net/sctp/sctp_protocol.c: Fix typo from cleanups
o net/sctp/sctp_sm_sideeffect.c: Kill unusued variable in
sctp_side_effects
o net/sctp/sctp_tsnmap.c: Fix typo from cleanups
o net/sctp/sctp_sm_make_chunk.c: Kill unused variable in
sctp_make_data_empty
o net/sctp/sctp_socket.c: Fix printf string for size_t
o net/sctp/sctp_socket.c: Fix sctp_get_port types, static private
funcs
o net/sctp/sctp_socket.c: Mark sctp_skb_recv_datagram static
o I8042: Add SPARC support
o drivers/input/serio/i8042-sparcio.h: Add missing endef
o drivers/input/serio/i8042-sparcio.h: Fix ioremap args
o drivers/input/serio/i8042.c: Allow IRQs to be determined at runtime
o drivers/scsi/sg.c: Include linux/vmalloc.h
o fs/binfmt_elf.c: Kill warnings introduced by stack-grows-up changes
o fs/romfs/inode.c: Kill warning on 64-bit systems
o drivers/input/serio/i8042-sparcio.h: Define
I8042_{COMMAND,DATA}_REG
o arch/sparc64/defconfig: Update
o [SCTP]: Rename sctp_foo.[ch] to foo.[ch] and kill CVS tags on
authors request
o [OpenPROM]: Fix signedness/user-access checking bugs in openprom
char driver and openpromfs
o fs/openpromfs/inode.c: Prevent overflow of sprintf buffer
o fs/openpromfs/inode.c: Prevent unsigned roll-over in size of
kmalloc
o fs/openpromfs/inode.c: Better fixes for overflow
o This converts all of the input USB drivers to manage DMA buffers
via usb_buffer_alloc in 2.5.x This helps platforms where doing a
pci_{map,unmap}_single() on every input event is very inefficient.

Eric Sandeen <[email protected]>:
o warning cleanup for drivers_scsi_dpt_i2o.c
o warning cleanup for drivers_scsi_fdomain.c
o warning cleanup for drivers_char_mxser.c

Frank Davis <[email protected]>:
o drivers/media/video/bt856.c
o drivers/media/video/saa7110.c
o drivers/media/video/bt819.c

Greg Kroah-Hartman <[email protected]>:
o USB: added new pl2303 device, thanks to Tasos Chronis
<[email protected]>
o USB: ipaq driver: fixed __FUNCTION__ usages
o USB: usbserial core: fixed __FUNCTION__ usages
o USB: visor driver: fixed __FUNCTION__ usages
o USB: whiteheat driver: fixed __FUNCTION__ use
o USB: ftdi_sio driver: fixed __FUNCTION__ usages
o USB: keyspan_pda driver: fixed __FUNCTION__ usages
o USB: belkin serial driver: fixed __FUNCTION__ usages
o USB: cyberjack driver: fixed __FUNCTION__ usages
o USB: pl2303 driver: fixed __FUNCTION__ usages
o USB: omninet driver: fixed __FUNCTION__ usages
o USB: mct_u232 driver: fixed __FUNCTION__ usages
o USB: kl5usb105 driver: fixed __FUNCTION__ usages
o USB: digi_acceleport driver: fixed __FUNCTION__ usages
o USB: empeg driver: fixed __FUNCTION__ usages
o USB: io_edgeport driver: fixed __FUNCTION__ usages
o USB: ir-usb driver: gcc3 warning fix
o USB: keyspan driver: minor formatting fixes
o USB: added break support for 2 port keyspan devices
o USB: fix debugging code to allow USB_NO_DMA_MAP
o USB: io_ti driver: fixed __FUNCTION__ usages
o USB: safe_serial driver: fixed __FUNCTION__ usages
o USB: serial drivers: fixed __FUNCTION__ usages that I missed before
o USB: bluetty driver: fixed __FUNCTION__ usages
o USB: brlvger driver: fixed __FUNCTION__ usage
o PCI: add pci_bus_* functions to replace the pci_read_* and
pci_write_* functions
o PCI Hotplug: removed the pci_*_nodev functions
o PCI: x86-64 pci_ops changes
o PCI: alpha pci_ops changes
o PCI: compile time fix for the pci pool patch
o ACPI: fix needed due to previous pci_ops change

Hanna Linder <[email protected]>:
o PCI: ia64 pci_ops changes
o PCI: mips pci_ops changes
o PCI: sh pci_ops changes

Ingo Molnar <[email protected]>:
o ldt-fix-2.5.32-A3
o MAINTAINERS patch
o clone-cleanup 2.5.32-BK
o scheduler fixes, 2.5.32-BK
o TLS boot-initialization bugfix on SMP, 2.5.32-BK

Jeff Garzik <[email protected]>:
o Update 8139too net driver to make new rx-reset method the default
o Fix mistake in 8139too net driver Config.in entry
o Proper support for RTL8139 rev K in 8139too net driver
o Release 8139too net driver version 0.9.26
o 8139cp net driver updates
o Include linux/in.h and linux/ip.h in 8139cp net driver
o Add 64-bit DMA support to 8139cp net driver
o Fix 8139cp net driver 64-bit PCI DMA support (thanks for DaveM for
advice and help)
o e1000 net driver small cleanup

Linus Torvalds <[email protected]>:
o Merge with dri CVS tree
o The SCSI layer should _not_ try to decide about non-existent
partitions. The higher layers do a better job of it.
o Call con_init_devfs() to initialize VT subsystem for devfs
o Make block device initialization initialize the request queue
pointer before the device is opened.
o Clean up insane floppy driver CURRENT handling, make the driver
remove the ftont of the queue from the request list and cache it in
'current_req'.
o Fix defconfig (incomplete due to the syntax error in char
Config.in)
o Don't use __func__ - not all versions of gcc support it
o Don't paste __FUNCTION__, that's deprecated
o Make e100 driver compile (e100_force_speed_duplex() cannot be
static, as it is needed by e100_test.c too)
o Add some fascist code to trap __FUNCTION__ pasting, fix up some
more pasters..
o Avoid unused variable warning when kmap() ends up being a no-op

Luca Barbieri <[email protected]>:
o Fix panic if pnpbios is enabled and speed up its check in

[email protected] <[email protected]>:
o ia64: update files for efi.h move from include/asm-ia64 to
include/linux

Neil Brown <[email protected]>:
o kNFSd - More small fixes for TCP nfsd
o md - Fix a typo in a recent patchset for raid5

Paul Mackerras <[email protected]>:
o Fix mesh config

Pete Zaitcev <[email protected]>:
o Patch to irq compat stuff in 2.5.32

Petr Vandrovec <[email protected]>:
o Add a missing EXPORT_SYMBOL(input_devclass); into input.c

Randy Dunlap <[email protected]>:
o I've been using gcml2 from Greg Banks to look at CONFIG_ variable
dependencies in config.in files.

Richard Gooch <[email protected]>:
o devfs update
o Exported devfs_find_and_unregister() and devfs_only() to modules
Updated README from master HTML file Fixed module unload race in
devfs_open()

Robert Love <[email protected]>:
o have lockd and rpciod drop locks on exit
o make raid5 checksums preempt-safe, take two
o misc. kernel preemption bits

Rusty Russell <[email protected]>:
o list_for_each_entry
o Designated initializers for sound_ppc

Scott Feldman <[email protected]>:
o e100 net driver update
o e1000 net driver update

Simon Evans <[email protected]>:
o more typedef removal from usbvideo

Tom Rini <[email protected]>:
o Make CONFIG_VIDEO_RPOC_FS depend on CONFIG_PROC_FS

Vojtech Pavlik <[email protected]>:
o Remove uninformative coments in input.c
o Don't allow CONFIG_INPUT_MOUSEDEV_PSAUX without
CONFIG_INPUT_MOUSEDEV
o Start keyboard_bh only after registering the keyboard handler
o Support the 0xff ps/2 mouse reset command in mousedev.c, XFree
needs it for mouse autodetection.
o Remove user configurable I8042_BASE/I8042_IRQs
o In mousedev.c, don't send a zero mouse movement after a command if
requested, also fix a possible race with two processes using the
same file descriptor.
o Ignore error 0xff - 'general error' in AUX wire test in i8042.c,
some mainboards (Andrew Morton's Dell) report that even everything
is okay with AUX. Also remove a check for very old AMI i8042's,
which could generate false positives on modern buggy mainboards.


2002-09-02 12:25:40

by Remco Post

[permalink] [raw]
Subject: Re: Linux v2.5.33, compile error on powermac

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

on my powermac with a plain Debian 3.0 install (gcc version 2.95.4
20011002 (Debian prerelease)) + binutils 2.13 I get two compile errors,
one for intermezzo (module), the other for reiserfs (not module):

gcc -Wp,-MD,./.vfs.o.d -D__KERNEL__ -I/usr/src/linux-2.5.33/include
- -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
- -fno-strict-aliasing -fno-common -I/usr/src/linux-2.5.33/arch/ppc
- -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized
- -mmultiple -mstring -nostdinc -iwithprefix include -DMODULE -include
/usr/src/linux-2.5.33/include/linux/modversions.h
- -DKBUILD_BASENAME=vfs -c -o vfs.o vfs.c
vfs.c: In function `presto_debug_fail_blkdev':
vfs.c:134: invalid initializer
vfs.c:136: warning: implicit declaration of function `is_read_only'
vfs.c: In function `presto_do_rmdir':
vfs.c:1244: warning: implicit declaration of function `double_down'
vfs.c:1260: warning: implicit declaration of function `double_up'
vfs.c: In function `presto_rename_dir':
vfs.c:1627: warning: implicit declaration of function `triple_down'
vfs.c:1644: warning: implicit declaration of function `triple_up'
vfs.c: In function `lento_do_rename':
vfs.c:1755: warning: implicit declaration of function `double_lock'
vfs.c: In function `lento_iopen':
vfs.c:1934: called object is not a function
vfs.c:1935: parse error before string constant
make[2]: *** [vfs.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.5.33/fs/intermezzo'
make[1]: *** [intermezzo] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5.33/fs'
make: *** [fs] Error 2

When I configure not to build intermezzo at all, the make stops at:

make[2]: Entering directory `/usr/src/linux-2.5.33/fs/reiserfs'
gcc -Wp,-MD,./.resize.o.d -D__KERNEL__ -I/usr/src/linux-2.5.33/include
- -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
- -fno-strict-aliasing -fno-common -I/usr/src/linux-2.5.33/arch/ppc
- -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized
- -mmultiple -mstring -nostdinc -iwithprefix include -O1
- -DKBUILD_BASENAME=resize -c -o resize.o resize.c
In file included from resize.c:12:
/usr/src/linux-2.5.33/include/linux/vmalloc.h:26: parse error before
`pgprot_t'
/usr/src/linux-2.5.33/include/linux/vmalloc.h:26: warning: function
declaration isn't a prototype
/usr/src/linux-2.5.33/include/linux/vmalloc.h:37: parse error before
`pgprot_t'
/usr/src/linux-2.5.33/include/linux/vmalloc.h:38: warning: function
declaration isn't a prototype
make[2]: *** [resize.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.5.33/fs/reiserfs'
make[1]: *** [reiserfs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5.33/fs'
make: *** [fs] Error 2

- ---
Met vriendelijke groeten,

Remco Post

SARA - Stichting Academisch Rekencentrum Amsterdam http://www.sara.nl
High Performance Computing Tel. +31 20 592 8008 Fax. +31 20 668 3167
PGP keys at http://home.sara.nl/~remco/keys.asc

"I really didn't foresee the Internet. But then, neither did the computer
industry. Not that that tells us very much of course - the computer
industry
didn't even foresee that the century was going to end." -- Douglas Adams


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (Darwin)

iD8DBQE9c1nMBIoCv9yTlOwRAjHdAKClkl10fFrMFHjbsVkZEZENdLegCwCfZjZB
0qu7p4NN1JSxQpYsxserfw8=
=g9+h
-----END PGP SIGNATURE-----

2002-09-02 19:34:23

by Tom Rini

[permalink] [raw]
Subject: Re: Linux v2.5.33, compile error on powermac

On Mon, Sep 02, 2002 at 02:29:56PM +0200, Remco Post wrote:

> make[2]: Entering directory `/usr/src/linux-2.5.33/fs/reiserfs'
> gcc -Wp,-MD,./.resize.o.d -D__KERNEL__ -I/usr/src/linux-2.5.33/include
> - -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
> - -fno-strict-aliasing -fno-common -I/usr/src/linux-2.5.33/arch/ppc
> - -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized
> - -mmultiple -mstring -nostdinc -iwithprefix include -O1
> - -DKBUILD_BASENAME=resize -c -o resize.o resize.c
> In file included from resize.c:12:
> /usr/src/linux-2.5.33/include/linux/vmalloc.h:26: parse error before
> `pgprot_t'
> /usr/src/linux-2.5.33/include/linux/vmalloc.h:26: warning: function
> declaration isn't a prototype
> /usr/src/linux-2.5.33/include/linux/vmalloc.h:37: parse error before
> `pgprot_t'
> /usr/src/linux-2.5.33/include/linux/vmalloc.h:38: warning: function
> declaration isn't a prototype
> make[2]: *** [resize.o] Error 1
> make[2]: Leaving directory `/usr/src/linux-2.5.33/fs/reiserfs'
> make[1]: *** [reiserfs] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.5.33/fs'
> make: *** [fs] Error 2

fs/reiserfs/resize.c needs to include <linux/mm.h>, iirc. Make a patch
and send it to the trivial patch monkey and/or Linus.

--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

2002-09-02 20:50:58

by Remco Post

[permalink] [raw]
Subject: [TRIVIAL] reiserfs patch, was Re: Linux v2.5.33, compile error on powermac

On Mon, 2 Sep 2002 12:38:41 -0700
"Tom Rini" <[email protected]> wrote:

> fs/reiserfs/resize.c needs to include <linux/mm.h>, iirc. Make a patch
> and send it to the trivial patch monkey and/or Linus.
>

So very true, here it is...


*** linux-2.5.33/fs/reiserfs/resize.c.org Mon Sep 2 22:48:25 2002
--- linux-2.5.33/fs/reiserfs/resize.c Mon Sep 2 22:27:59 2002
***************
*** 9,14 ****
--- 9,15 ----
*/

#include <linux/kernel.h>
+ #include <linux/mm.h>
#include <linux/vmalloc.h>
#include <linux/string.h>
#include <linux/errno.h>