2002-09-09 17:47:19

by Linus Torvalds

[permalink] [raw]
Subject: Linux 2.5.34


Ok, this has a surprising number of fundamental fixes, with some seriously
broken details fixed. The "per-cpu" macros didn't do the right thing at
ALL, causing silent trouble for softirq's on SMP, for example.

The floppy bio fixes (and yes, the floppy driver really works now) were
rather fundamental and embarrassing too. And edge-triggered PCI interrupts
really did some rather bad things under the right circumstances.

Other than those fixes (usually one-liners), this includes merges with Al
and Andrew, sparc fixes, JFS and ReiserFS updates etc.

Oh, and more pthreads help from Ingo, along with an indecent number of
warring fixes for ptrace breakage..

Linus

---
Summary of changes from v2.5.33 to v2.5.34
============================================

<[email protected]>:
o 2.5.33 dmi_scan blacklist ibm thinkpad for i2c/sensors
o 2.5.33 i2c-proc.c remove inode_fill code

<[email protected]>:
o net/ipv4/netfilter/ipchains_core.c: Fix MODULE_LICENSE

<[email protected]>:
o More ptrace fixes for 2.5.33

<[email protected]>:
o Add displaying of more reiserfs statistical info through /proc
interface, by Nikita Danilov
o Corrected calculation of amount of blocks that file occupies on
reiserfs
o Implemented new block allocator for reiserfs, new tail policy for
smaller tails

<[email protected]>:
o include/net/tcp.h: Use ____cacheline_aligned

<[email protected]>:
o net/sctp/sm_make_chunk.c: Fix typo

<[email protected]>:
o PPC32: remove unnecessary includes in ppc_ksyms.c
o PPC32: add the extra argument for do_fork to the PPC calls
o fix create_elf_tables on PPC

<[email protected]>:
o Re: 2.5.33 PNPBIOS does not compile

<[email protected]>:
o include/asm-sparc64/hardirq.h: Comment fix

<[email protected]>:
o move AGP PCI defines to pci_ids.h

Alexander Viro <[email protected]>:
o IDE cleanups (2.5; similar to ones done for other drivers)
o (1/25) Unexporting helper functions
o (2/25) Removing ->nr_real
o (3/25) Removing useless minor arguments
o (4/25) Unexporting driverfs_remove_partitions()
o (5/25) Removing bogus arrays - ->flags[]
o (6/25) Removing bogus arrays - ->driverfs_dev_arr[]
o (7/25) Removing bogus arrays - ->part[].number
o (8/25) Removing bogus arrays - ->de_arr[]
o (9/25) update_partition()
o (10/25) sr.c device name handling
o (11/25) sr.c naming cleanup
o (12/25) sr.c passes pointers instead of minors now
o (13/25) sbpcd.c - beginning of cleanup
o (14/25) sbpcd.c - use *current_drive instead of D_S[d]
o (15/25) sbpcd.c - killed useds of cdi->dev
o (16/25) pcd.c - beginning of macroectomy
o (17/25) Lindent pcd.c
o (18/25) pcd.c - cleanup, killed used of cdi->dev
o (19/25) mcdx.c cleanup
o (20/25) cdu31a.c cleanup
o (21/25) cdrom->reset() cleanup
o (22/25) gendisks for SCSI cdroms
o (23/25) move pointer to gendisk from hwif to drive
o (24/25) disk capacity helpers
o (25/25) more cleanups of struct gendisk
o handle_initrd() and request_module()

Alexey Kuznetsov <[email protected]>:
o net/ipv4/tcp_output.c: Fix crashes due to bugs in TSO

Andi Kleen <[email protected]>:
o Fix RELOC_HIDE miscompilation

Andrea Arcangeli <[email protected]>:
o Missing acess_ok() check in aio

Andrew Morton <[email protected]>:
o place rmap locking in rmap-locking.h
o convert node/zone_start_paddr to pfns
o reorganise setup_arch() for ia32 discontigmem
o restructure mem_init for ia32 discontigmem
o discontigmem support for ia32 NUMA
o use page_to_pfn() instead of mem_map[]
o Fix the boot-time reporting of each zone's available pages
o Fix the __block_write_full_page() error path
o Back out the initial work for atomic copy_*_user()
o refill the inactive list more quickly
o atomic copy_*_user infrastructure
o Use kmap_atomic() for generic_file_read()
o Use kmap_atomic() for generic_file_write()

Andries E. Brouwer <[email protected]>:
o try more sd.c MODE SENSE modes
o sddr09.c MODE SENSE fixes

Christoph Hellwig <[email protected]>:
o JFS: use jfs_file_inode_operations for special files aswell
o JFS: sanitize naming of ea read/write functions, add missing
statics
o JFS: Remove unused file jfs_extendfs.h
o JFS: remove some cruft left over from the pre-mempool metapage code
o JFS: use buffer_heads to access the superblock
o JFS: use block device inode/mapping instead of
direct_inode/direct_mapping
o JFS: ifdef out unused functions related to partial blocks
o JFS: remove superflous externs for generic_file_ functions
o JFS: remove superflous return at the end of lbmIODone
o JFS: Don't include <linux/smp_lock.h> in jfs_dtree.c
o JFS: sync blockdevice at umount
o JFS: fix up more merge issues
o JFS: we still need extHint

David Mosberger <[email protected]>:
o trivial Makefile fix

David S. Miller <[email protected]>:
o [IGMP]: Make ip_mc_dec_group return void
o net/core/dst.c: asm/bitops.h --> linux/bitops.h
o drivers/net/ppp_generic.c: Fix byte-aligned packets, nearly every
arch csum_partial cannot handle this
o arch/sparc64/kernel/ioctl32.c: Handle SIOCDEVPRIVATE transparently
o drivers/net/ppp_generic.c: Fix skb_put len arg when copying
unaligned skb
o [SPARC]: Fix build breakage
o net/ipv4/netfilter/ip_nat_helper.c: Fix __FUNCTION__ pasting
o drivers/net/ppp_generic.c: Allocate right length in unaligned SKB
fix
o arch/sparc64/kernel/ioctl32.c: Translate PPPIOCS{PASS,ACTIVE}
o arch/sparc64/lib/VIScsum.S: Do not use VIS on oddly aligned buffer
o drivers/net/ppp_generic.c: Revert my idiotic unaligned SKB changes
o arch/sparc64/lib/VIScsum.S: Fix endianness bugs in previous change
o arch/sparc64/kernel/ioctl32.c: Frob cmd in PPPIOCS{PASS,ACTIVE}

Geert Uytterhoeven <[email protected]>:
o duplicate declaration of pci_lock

Harald Welte <[email protected]>:
o MAINTAINERS: Update NETFILTER entry
o [NETFILTER]: Fix OOPS in ipt_ULOG

Hirofumi Ogawa <[email protected]>:
o remove BUG_ON(p->ptrace) in release_task()

Hugh Dickins <[email protected]>:
o M386 flush_one_tlb invlpg

Ingo Molnar <[email protected]>:
o ptrace-fix-2.5.33-A1
o pid-max-2.5.33-A0
o more ptrace updates
o shared thread signals
o Re: pinpointed: PANIC caused by dequeue_signal() in current Linus
o CLONE_DETACHED fix

Ivan Kokshaysky <[email protected]>:
o alpha: pci_ops update
o alpha: compile fixes
o alpha: misc fixes
o pci bus resources, transparent bridges

James Morris <[email protected]>:
o net/ipv6/af_inet6.c: Fix __FUNCTION__ pasting
o net/ipv4/netfilter/ipfwadm_core.c: Fix build bustage when debugging
is enabled
o sigio/sigurg cleanup for 2.5.32

Kai Germaschewski <[email protected]>:
o kbuild: Remove CONFIG_DEVFS_FS from arch/ia64/config.in
o ISDN: Fix __FUNCTION__ usage
o ISDN: cleanups / overflow check
o ISDN: One last ISDN designated initializer
o ISDN: Remove __NO_VERSION__
o kbuild: Fix export-objs
o kbuild: fix ACPI Config.in breakage
o drivers/char/sonypi.h: Fix __FUNCTION__ usage
o include/linux/ptrace.h: fix includes
o kbuild: Preprocess vmlinux.lds on i386 as well

Linus Torvalds <[email protected]>:
o De-queue the floppy request late, so that the higher levels know
the floppy driver is busy.
o Major partial request completion boo-boo in the bio layer
o Fix floppy driver end_request() handling - it used to do insane
contortions instead of just calling "end_that_request_first()" with
the proper sector count.
o Fix IO-APIC edge IRQ handling. IRQ_INPROGRESS was cleared
spuriously if a new edge happened while we were still processing
the previous
o Finally get rid of that irritating disk change message
o Fsck knows why the devil does st.c has to call something a
partition, but it does...
o Avoid unused variable if CONFIG_BLK_DEV_MD isn't defined
o Make in-kernel inode 'nlink' field be "unsigned int" instead
o Fix sonypi driver to not do __FUNCTION__ pasting

Paul Mackerras <[email protected]>:
o PPC32: Convert the various PCI config space accessors to the new
API
o PPC32: update some initializers to the standard format, from Rusty
o PPC32: Put back an export-objs that someone incorrectly removed
o PPC32: moved the compatibility padding entries in the aux vector to
the bottom of the aux table.
o PPC32: Correct a comment about soft/hardirq masks in
asm-ppc/hardirq.h
o PPC32: fix a comment in asm-ppc/semaphore.h (extraneous "the")
o PPC32: use page_to_pfn instead of page - mem_map in a couple of
places
o PPC32: remove a couple of unused files

Petr Vandrovec <[email protected]>:
o IDE cleanup (1.612) broke all fdisks I have

Randy Hron <[email protected]>:
o qlogic "this should not happen" fix

Robert Love <[email protected]>:
o flag type cleanup
o bad: schedule() with irqs disabled!

Rusty Russell <[email protected]>:
o Early child_reaper initialization
o daemonize() calls reparent_to_init cleanup
o Important per-cpu fix
o list_t removal



2002-09-09 19:02:19

by Gabor Z. Papp

[permalink] [raw]
Subject: Re: Linux 2.5.34

gcc 2.95.4-cvs
GNU ld version 2.12.90.0.4 20020408

make[3]: Entering directory `/usr/src/linux-2.5.34/drivers/net/irda'
gcc -Wp,-MD,./.irtty.o.d -D__KERNEL__ -I/usr/src/linux-2.5.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DMODULE -DKBUILD_BASENAME=irtty -c -o irtty.o irtty.c
irtty.c: In function `irtty_cleanup':
irtty.c:121: called object is not a function
irtty.c:122: parse error before string constant
irtty.c: In function `irtty_open':
irtty.c:229: called object is not a function
irtty.c:229: parse error before string constant
irtty.c:248: called object is not a function
irtty.c:248: parse error before string constant
irtty.c: In function `irtty_change_speed':
irtty.c:454: called object is not a function
irtty.c:455: parse error before string constant
irtty.c:466: called object is not a function
irtty.c:466: parse error before string constant
make[3]: *** [irtty.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.5.34/drivers/net/irda'
make[2]: *** [irda] Error 2
make[2]: Leaving directory `/usr/src/linux-2.5.34/drivers/net'
make[1]: *** [net] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5.34/drivers'
make: *** [drivers] Error 2

2002-09-09 19:30:36

by Florin Iucha

[permalink] [raw]
Subject: Re: Linux 2.5.34

It compiled fine but make modules_install failed with:
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.5.34-my; fi
depmod: *** Unresolved symbols in /lib/modules/2.5.34-my-xfs/kernel/fs/autofs4/autofs4.o
depmod: recalc_sigpending
depmod: *** Unresolved symbols in /lib/modules/2.5.34-my-xfs/kernel/fs/lockd/lockd.o
depmod: recalc_sigpending
depmod: *** Unresolved symbols in /lib/modules/2.5.34-my-xfs/kernel/fs/nfsd/nfsd.o
depmod: recalc_sigpending
depmod: *** Unresolved symbols in
/lib/modules/2.5.34-my-xfs/kernel/fs/smbfs/smbfs.o
depmod: recalc_sigpending
depmod: *** Unresolved symbols in /lib/modules/2.5.34-my-xfs/kernel/net/sunrpc/sunrpc.o
depmod: recalc_sigpending
bear:/usr/local/src/linux-my-34# grep SUN .config
# CONFIG_PARPORT_SUNBPP is not set
# CONFIG_SUNLANCE is not set
# CONFIG_SUNBMAC is not set
# CONFIG_SUNQE is not set
# CONFIG_SUNGEM is not set
# CONFIG_SUNDANCE is not set
# CONFIG_KEYBOARD_SUNKBD is not set
CONFIG_SUNRPC=m
bear:/usr/local/src/linux-my-34# grep -i autofs .config
# CONFIG_AUTOFS_FS is not set
CONFIG_AUTOFS4_FS=m

Of course, the same config yielded a working kernel with 2.5.33 .

Cheers,
florin

--

"If it's not broken, let's fix it till it is."

41A9 2BDE 8E11 F1C5 87A6 03EE 34B3 E075 3B90 DFE4


Attachments:
(No filename) (1.27 kB)
(No filename) (189.00 B)
Download all attachments

2002-09-09 19:54:34

by Jean Tourrilhes

[permalink] [raw]
Subject: Re: Linux 2.5.34

Gabor Z. Papp wrote :
> gcc 2.95.4-cvs
> GNU ld version 2.12.90.0.4 20020408
>
> make[3]: Entering directory `/usr/src/linux-2.5.34/drivers/net/irda'
> gcc -Wp,-MD,./.irtty.o.d -D__KERNEL__ -I/usr/src/linux-2.5.34/include -Wall \
> -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing \
> -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix \
> include -DMODULE -DKBUILD_BASENAME=irtty -c -o irtty.o irtty.c
> irtty.c: In function `irtty_cleanup':
> irtty.c:121: called object is not a function
> irtty.c:122: parse error before string constant
> irtty.c: In function `irtty_open':
> irtty.c:229: called object is not a function
> irtty.c:229: parse error before string constant
> irtty.c:248: called object is not a function
> irtty.c:248: parse error before string constant
> irtty.c: In function `irtty_change_speed':
> irtty.c:454: called object is not a function
> irtty.c:455: parse error before string constant
> irtty.c:466: called object is not a function
> irtty.c:466: parse error before string constant
> make[3]: *** [irtty.o] Error 1
> make[3]: Leaving directory `/usr/src/linux-2.5.34/drivers/net/irda'
> make[2]: *** [irda] Error 2
> make[2]: Leaving directory `/usr/src/linux-2.5.34/drivers/net'
> make[1]: *** [net] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.5.34/drivers'
> make: *** [drivers] Error 2

That's new. I'll try to investigate and make a patch soon, but
I'm busy. As my patches don't seem to go in the kernel, just visit my
web page in a few days.
Thanks...

Jean

2002-09-09 20:58:02

by Thunder from the hill

[permalink] [raw]
Subject: Re: Linux 2.5.34

Hi,

On Mon, 9 Sep 2002, Florin Iucha wrote:
> depmod: recalc_sigpending

No need to holler, there has just been a patch on that.

>From [email protected] Mon Sep 9 15:02:28 2002
Date: Mon, 9 Sep 2002 20:32:51 +0200
From: Petr Vandrovec <[email protected]>
To: [email protected]
Cc: [email protected], [email protected]
Subject: [PATCH] 2.5.34: recalc_sigpending missing for modules

Hi Linus,
when recalc_sigpending was converted from inline to real function,
appropriate EXPORT_SYMBOL() was not created. Needed at least for ncpfs
and lockd.
Best regards,
Petr Vandrovec
[email protected]


diff -urdN linux/kernel/signal.c linux/kernel/signal.c
--- linux/kernel/signal.c 2002-09-09 18:01:49.000000000 +0000
+++ linux/kernel/signal.c 2002-09-09 18:25:09.000000000 +0000
@@ -1220,6 +1220,7 @@

#endif

+EXPORT_SYMBOL(recalc_sigpending);
EXPORT_SYMBOL(dequeue_signal);
EXPORT_SYMBOL(flush_signals);
EXPORT_SYMBOL(force_sig);

2002-09-10 07:46:31

by Adrian Bunk

[permalink] [raw]
Subject: Re: Linux 2.5.34

On Mon, 9 Sep 2002, Linus Torvalds wrote:

>...
> Ingo Molnar <[email protected]>:
>...
> o shared thread signals
>...

FYI:

This change broke the compilation of JFFS:

<-- snip -->

...
gcc -Wp,-MD,./.intrep.o.d -D__KERNEL__
-I/home/bunk/linux/kernel-2.5/linux-2.5
.34-full/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2
-fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=k6 -nostdinc -iwithprefix include -DKBUILD_BASENAME=intrep -c -o
intrep.o intrep.c
intrep.c: In function `jffs_garbage_collect_thread':
intrep.c:3382: warning: passing arg 1 of `dequeue_signal' from
incompatible pointer type
intrep.c:3382: warning: passing arg 2 of `dequeue_signal' from
incompatible pointer type
intrep.c:3382: too few arguments to function `dequeue_signal'
make[2]: *** [intrep.o] Error 1
make[2]: Leaving directory
`/home/bunk/linux/kernel-2.5/linux-2.5.34-full/fs/jffs'

<-- snip -->


cu
Adrian

--

You only think this is a free country. Like the US the UK spends a lot of
time explaining its a free country because its a police state.
Alan Cox

2002-09-12 19:21:26

by Oleg Nesterov

[permalink] [raw]
Subject: Re: Linux 2.5.34

Hello.

Could anybody explain this change in force_sig_info() in 2.5.34:

- return send_sig_info(sig, info, t);
+ return send_sig_info(sig, (void *)1, t);

Looks wrong to me...

Also, task_struct->shared_unblocked seems to be unused.

Oleg.