Skip to contentSkip to conversation

2.5.66-mm3

DISCUSSION Applied Andrew Morton 6 participants 7 messages Apr 3, 2003 – Jun 1, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

http://www.zip.com.au/~akpm/linux/patches/2.5/2.5.66-mm3.gz

Will also appear sometime at

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/2.5.66/2.5.66-mm3/

. The CPU scheduler starvation fix which was supposed to be in 2.5.66-mm2
actually wasn't included. This time it's here for real.

. Just lots of little fixes. This is mainly a resync for various people
who are working on things.

Changes since 2.5.66-mm2:

-cdrom-stack-usage.patch
-module_load_notification.patch
-remove-kdev_name.patch
-kill-TIOCTTYGSTRUCT.patch
-sony-apm-fix.patch
-PCI-aliases-fix.patch
-acpi-build-fix.patch

Merged

+wait_on_buffer-debug-fix.patch

Fix a bogus warning

+tty-shutdown-race-fix.patch

Fix a tty close timer race

+icmp_stats-indexing-fix.patch

Fix memory corruption in net stats

+kgdb-ga-warning-fix.patch

Fix a warning in the kgdb stub

-as-queue_notready-cleanup.patch

Drop this for the while. It hurts performance.

+as-locking-fix.patch

Fix a race which causes a BUG

+objrmap-sort-vma-list.patch

Maybe speed up objrmap-based page reclaim

+stale-inode-fix.patch

Fix ext2 errors with knfsd and IO errors.

+sched-interactivity-backboost-revert.patch

Really revert the CPU scheduler backboost patch

+panic-on-oops.patch

/proc/sys/kernel/panic_on_oops: make the kernel panic (and hence reboot) after an oops.

+posix-timer-hang-fix.patch

Some posix timer fix.

+warning-fixes-1.patch

Random compile warnings

+bio_kmap-fix.patch

Various BIO + highmem fixes

+file-limit-checking-cleanup.patch

generic_file_write() cleanup

+tmpfs-1-use-generic_write_checks.patch
+tmpfs-2-remove-shmem_readpage.patch
+tmpfs-3-user-generic_file_llseek.patch
+tmpfs-4-use-mark_page_accessed.patch
+tmpfs-4-use-cond_resched.patch
+tmpfs-6-percentile-sizing.patch

tmpfs work

+smp_call_function-barrier.patch

Fix Zwane's 3-way

+adaptec-del_timer_sync.patch

Fix timer race in aic7xxx

+aggregated-disk-stats.patch

Create /proc/diskstats - this brings stats aggregagtion back into the kernel so userspace monitoring tools do not need to open 10000 sysfs files per second.

-jbd-handle-journal-io-errors-fix.patch

Folded into jbd-handle-journal-io-errors.patch

All 112 patches:

linus.patch

mm.patch
add -mmN to EXTRAVERSION

wait_on_buffer-debug-fix.patch
fix wait_on_buffer() debug code

tty-shutdown-race-fix.patch
fix tty shutdown race

icmp_stats-indexing-fix.patch
net: severe bug in icmp stats

kgdb-ga.patch
kgdb stub for ia32 (George Anzinger's one)

kgdb-ga-warning-fix.patch
-mm traps.c warning

ppa-null-pointer-fix.patch

config_spinline.patch
uninline spinlocks for profiling accuracy.

ppc64-reloc_hide.patch

ppc64-pci-patch.patch
Subject: pci patch

ppc64-aio-32bit-emulation.patch
32/64bit emulation for aio

ppc64-scruffiness.patch
Fix some PPC64 compile warnings

sym-do-160.patch
make the SYM driver do 160 MB/sec

config-PAGE_OFFSET.patch
Configurable kenrel/user memory split

ptrace-flush.patch
cache flushing in the ptrace code

buffer-debug.patch
buffer.c debugging

warn-null-wakeup.patch

ext3-truncate-ordered-pages.patch
ext3: explicitly free truncated pages

reiserfs_file_write-5.patch

rcu-stats.patch
RCU statistics reporting

ext3-journalled-data-assertion-fix.patch
Remove incorrect assertion from ext3

nfs-speedup.patch

nfs-oom-fix.patch
nfs oom fix

sk-allocation.patch
Subject: Re: nfs oom

nfs-more-oom-fix.patch

rpciod-atomic-allocations.patch
Make rcpiod use atomic allocations

linux-isp.patch

isp-update-1.patch

kblockd.patch
Create `kblockd' workqueue

as-iosched.patch
anticipatory I/O scheduler

as-np-reads-1.patch
AS: read-vs-read fixes

as-np-reads-2.patch
AS: more read-vs-read fixes

as-predict-data-direction.patch
as: predict direction of next IO

as-remove-frontmerge.patch
AS: remove frontmerge tunable

as-misc-cleanups.patch
AS: misc cleanups

as-minor-tweaks.patch
AS: tuning and tweaks

as-remove-stats.patch
AS: remove statistics

as-locking-fix.patch
AS: Fix minor race

as-disable-thinktime.patch

cfq-2.patch
CFQ scheduler, #2

unplug-use-kblockd.patch
Use kblockd for running request queues

fremap-all-mappings.patch
Make all executable mappings be nonlinear

objrmap-2.5.62-5.patch
object-based rmap

hugh-04-page_convert_anon-ENOMEM.patch
swap 04/13 page_convert_anon -ENOMEM

hugh-05-page_convert_anon-unlocking.patch
swap 05/13 page_convert_anon unlocking

hugh-06-wrap-below-vm_start.patch
swap 06/13 wrap below vm_start

hugh-07-objrmap-page_table_lock.patch
swap 07/13 objrmap page_table_lock

hugh-08-rmap-comments.patch
swap 08/13 rmap comments

hugh-11-fix-unuse_pmd-fixme.patch
swap 11/13 fix unuse_pmd fixme

tmpfs-blk_congestion_wait-fix.patch
tmpfs blk_congestion_wait fix

page_convert_anon-locking-fix.patch
page_convert_anon locking fix

objrmap-sort-vma-list.patch
objrmap: optimise per-mapping vma searches

stale-inode-fix.patch
handle bad inodes in put_inode

sched-2.5.64-D3.patch
sched-2.5.64-D3, more interactivity changes

scheduler-tunables.patch
scheduler tunables

sched-interactivity-backboost-revert.patch
revert CPU scheduler backboost heuristic

show_task-free-stack-fix.patch
show_task() fix and cleanup

yellowfin-set_bit-fix.patch
yellowfin driver set_bit fix

htree-nfs-fix.patch
Fix ext3 htree / NFS compatibility problems

task_prio-fix.patch
simple task_prio() fix

panic-on-oops.patch
Allow panics and reboots at oops time.

posix-timer-hang-fix.patch
posix_timer hang fix

slab_store_user-large-objects.patch
slab debug: perform redzoning against larger objects

htree-nfs-fix-2.patch
htree nfs fix

monotonic-clock-hangcheck.patch
monotonic clock source for hangcheck timer

put_task_struct-debug.patch

warning-fixes-1.patch
Fix some compile warnings

bio_kmap-fix.patch
bio kmapping changes

file-limit-checking-cleanup.patch
Subject: [PATCH] filemap ffffffffull

tmpfs-1-use-generic_write_checks.patch
tmpfs 1/6 use generic_write_checks

tmpfs-2-remove-shmem_readpage.patch
tmpfs 2/6 remove shmem_readpage

tmpfs-3-user-generic_file_llseek.patch
tmpfs: use generic_file_llseek

tmpfs-4-use-mark_page_accessed.patch
tmpfs: use mark_page_accessed

tmpfs-4-use-cond_resched.patch
tmpfs: use cond_resched

tmpfs-6-percentile-sizing.patch
tmpfs: percentile sizing of tmpfs

percpu_counter.patch
percpu_counters: approximate but scalabel counters

blockgroup_lock.patch
blockgroup_lock: hashed spinlocks for ext2 and ext3 blockgroup locking

ext2-no-lock_super-ng.patch

ext2-ialloc-no-lock_super-ng.patch

stat_t-larger-dev_t.patch
struct stat - support larger dev_t

dev_t-32-bit.patch
[for playing only] change type of dev_t

dev_t-remove-B_FREE.patch
dev_t: eliminate B_FREE

sg-dev_t-fix.patch
32-bit dev_t fix for sg

misc.patch
misc fixes

smp_call_function-barrier.patch
smp_call_function needs mb()

adaptec-del_timer_sync.patch
aic7xxx timer deletion fix

init-sections-in-kallsyms.patch
Put all functions in kallsyms

3c59x-980-support.patch
Additional 3c980 device support

aggregated-disk-stats.patch
Aggregated disk statistics

fadvise-flush-data.patch
sync dirty pages in fadvise(FADV_DONTNEED)

oops-dump-preceding-code.patch
i386 oops output: dump preceding code

console-scrollback.patch
add vt console scrollback ioctl

usb-disconnect-crash-fix.patch
Subject: Re: [linux-usb-devel] timer hang with current 2.5 BK

devfs-rescan_partitions-fix.patch
Fix devfs' partition handling

umsdos-fixes.patch
umsdos fixes

exp_parent-locking-fix.patch
exp_parent locking fixes

real_lookup-race-fix.patch
real_lookup race fix

remove-dparent_lock.patch
remove dparent_lock

conntrack-use-after-free-fix.patch
fix use-after-free in ip_conntrack

jbd_expect.patch
Add less-severe assert-failure form for ext3.

jbd-assert-io-failure-fix.patch
Fix jbd assert failure on IO error.

ext3_mark_inode_dirty-speedup.patch
ext3_mark_inode_dirty() speedup

ext3_mark_inode_dirty-less-calls.patch
ext3_commit_write speedup

ext3-handle-cache.patch
ext3: create a slab cache for transaction handles

jbd-handle-journal-io-errors.patch
ext3 journal commit I/O error fix

ext3-no-bkl.patch

journal_dirty_metadata-speedup.patch

journal_get_write_access-speedup.patch

ext3-concurrent-block-inode-allocation.patch
Subject: [PATCH] concurrent block/inode allocation for EXT3

ext3-concurrent-block-allocation-fix-1.patch

ext3-concurrent-block-allocation-hashed.patch
Subject: Re: [PATCH] concurrent block/inode allocation for EXT3

#1 lore raw

2.5.66-mm3: drivers/atm/iphase.c doesn't compile

Quoted 6 lines · Andrew Morton

...
All 112 patches:

linus.patch
...

It seems the following compile error comes from Linus' tree:

<-- snip -->

...
gcc -Wp,-MD,drivers/atm/.iphase.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=k6 -Iinclude/asm-i386/mach-default -nostdinc -iwithprefix include -g -DKBUILD_BASENAME=iphase -DKBUILD_MODNAME=iphase -c -o drivers/atm/iphase.o drivers/atm/iphase.c
drivers/atm/iphase.c: In function `ia_pkt_tx':
drivers/atm/iphase.c:2979: `pad' undeclared (first use in this function) drivers/atm/iphase.c:2979: (Each undeclared identifier is reported only once drivers/atm/iphase.c:2979: for each function it appears in.) make[2]: *** [drivers/atm/iphase.o] Error 1

<-- snip -->

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed
#2 lore raw

Re: 2.5.66-mm3: drivers/atm/iphase.c doesn't compile

Quoted 3 lines · In message <[email protected]>,Adrian Bunk writes:

drivers/atm/iphase.c:2979: `pad' undeclared (first use in this function) drivers/atm/iphase.c:2979: (Each undeclared identifier is reported only once drivers/atm/iphase.c:2979: for each function it appears in.)

i missed this one since i normally dont compile the iphase with debugging. apply the following please to the 2.4 and 2.5 tree:

Index: linux/drivers/atm/iphase.c
===================================================================
RCS file: /home/chas/CVSROOT/linux/drivers/atm/iphase.c,v retrieving revision 1.2

drivers/atm/iphase.c +1 -1
diff -u -r1.2 iphase.c
@@ -2976,7 +2970,7 @@
            make it  aligned on a 48 byte boundary.  */
 	total_len = skb->len + sizeof(struct cpcs_trailer);  
 	total_len = ((total_len + 47) / 48) * 48;
-	IF_TX(printk("ia packet len:%d padding:%d\n", total_len, pad);)  
+	IF_TX(printk("ia packet len:%d padding:%d\n", total_len, total_len - skb->len);)  
  
 	/* Put the packet in a tx buffer */   
 	trailer = iadev->tx_buf[desc-1].cpcs;
#3 lore raw

Re: 2.5.66-mm3: drivers/atm/iphase.c doesn't compile

From: chas williams <[email protected]>
Date: Thu, 03 Apr 2003 07:24:03 -0500

Quoted 3 lines · In message <[email protected]>,Adrian Bunk writes:

drivers/atm/iphase.c:2979: `pad' undeclared (first use in this function) drivers/atm/iphase.c:2979: (Each undeclared identifier is reported only once drivers/atm/iphase.c:2979: for each function it appears in.)

i missed this one since i normally dont compile the iphase with debugging. apply the following please to the 2.4 and 2.5 tree:

Applied, thanks Chas.

#4 lore raw
In reply to Andrew Morton
Quoted 2 lines · Andrew Morton

. The CPU scheduler starvation fix which was supposed to be in 2.5.66-mm2
actually wasn't included. This time it's here for real.

This seems to have solved the problem for me that when I closed my mutt-in-rxvt, the window wasn't removed from the screen for several seconds [1], while mutt had clearly quit. Stangely enough, I only noticed this effect when running rxvt, and only when closing the app running in it.

Anyway, when I press 'q' in mutt now, the window closes instantly, so I'm happy ;-)

[1] on an Athlon XP 1800+ with Matrox G550

Signature · 1 line
Erik Hensema <[email protected]>
#5 lore raw

2.5.66-mm3: acpiphp_glue.c must depend on CONFIG_ACPI_BUS

In reply to Andrew Morton

This is most likely neither new nor specific to -mm:

It seems drivers/hotplug/acpiphp_glue.c depends on CONFIG_ACPI_BUS and/or similar options but this isn't expressed in the Kconfig file (this compile error occurs with CONFIG_ACPI_HT_ONLY enabled):

<-- snip -->

...
gcc -Wp,-MD,drivers/hotplug/.acpiphp_glue.o.d -D__KERNEL__ -Iinclude
-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=k6 -Iinclude/asm-i386/mach-default
-nostdinc -iwithprefix include -D_LINUX
-I/home/bunk/linux/kernel-2.5/linux-2.5.66-mm3/drivers/acpi -DKBUILD_BASENAME=acpiphp_glue -DKBUILD_MODNAME=acpiphp -c -o drivers/hotplug/acpiphp_glue.o drivers/hotplug/acpiphp_glue.c
drivers/hotplug/acpiphp_glue.c:642: warning: `struct acpi_device'
declared inside parameter list
drivers/hotplug/acpiphp_glue.c:642: warning: its scope is only this
definition or declaration, which is probably not what you want
drivers/hotplug/acpiphp_glue.c: In function `add_bridges':
drivers/hotplug/acpiphp_glue.c:644: dereferencing pointer to incomplete type drivers/hotplug/acpiphp_glue.c: In function `enable_device':
drivers/hotplug/acpiphp_glue.c:828: warning: assignment makes pointer
from integer without a cast
drivers/hotplug/acpiphp_glue.c: At top level:
drivers/hotplug/acpiphp_glue.c:1050: variable `acpi_pci_hp_driver' has
initializer but incomplete type
drivers/hotplug/acpiphp_glue.c:1051: unknown field `name' specified in
initializer
drivers/hotplug/acpiphp_glue.c:1051: warning: excess elements in struct
initializer
drivers/hotplug/acpiphp_glue.c:1051: warning: (near initialization for
`acpi_pci_hp_driver')
drivers/hotplug/acpiphp_glue.c:1052: unknown field `class' specified in
initializer
drivers/hotplug/acpiphp_glue.c:1052: warning: excess elements in struct
initializer
drivers/hotplug/acpiphp_glue.c:1052: warning: (near initialization for
`acpi_pci_hp_driver')
drivers/hotplug/acpiphp_glue.c:1053: unknown field `ids' specified in
initializer
drivers/hotplug/acpiphp_glue.c:1053: warning: excess elements in struct
initializer
drivers/hotplug/acpiphp_glue.c:1053: warning: (near initialization for
`acpi_pci_hp_driver')
drivers/hotplug/acpiphp_glue.c:1054: unknown field `ops' specified in
initializer
drivers/hotplug/acpiphp_glue.c:1054: extra brace group at end of
initializer
drivers/hotplug/acpiphp_glue.c:1054: (near initialization for
`acpi_pci_hp_driver')
drivers/hotplug/acpiphp_glue.c:1056: warning: excess elements in struct
initializer
drivers/hotplug/acpiphp_glue.c:1056: warning: (near initialization for
`acpi_pci_hp_driver')
drivers/hotplug/acpiphp_glue.c: In function `acpiphp_glue_init':
drivers/hotplug/acpiphp_glue.c:1070: warning: implicit declaration of
function `acpi_bus_register_driver'
include/linux/ctype.h: At top level:
drivers/hotplug/acpiphp_glue.c:1050: storage size of
`acpi_pci_hp_driver' isn't known
make[2]: *** [drivers/hotplug/acpiphp_glue.o] Error 1

<-- snip -->

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed
#6 lore raw

Re: 2.5.66-mm3 and raid still oopses, but later than mm1/mm2

In reply to Andrew Morton

2.5.70-mm3 with raid1 has improved to some extent, the RAID crash now happens somewhat later.

I got a lot of kernel errors during RAID initialization, with normal boot messages inbetween. Nothing made it to the logs. I eventually got this:

Kernel BUG at mm/slab.c:1682

invalid operand 0000 [#1]
PREEMPTSMP
CPU:0
EIP at free_block+0x276/0x350
process fsck

Call trace:

drain_array
reap_timer_fnc
reap_timer_fnc
run_timer_softirq
do_softirq
smp_apic_timer
apic_timer_interrupt

<0> KErnel panic exception in interrupt
in interrupt - not syncing
reboot in 300 seconds

This is 2.5.70-mm3, with a patch that makes
matroxfb work so I could see the entire oops.

This is a dual celeron, with 2 scsi disks. Root & /home is on raid-1, there is also a raid-0, all disk-based filesystems are ext2.

Helge Hafting