2004-06-24 08:48:47

by Andrew Morton

[permalink] [raw]
Subject: 2.6.7-mm2


ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.7/2.6.7-mm2/


- Added a patch from Ingo which reworks the placement of mmaps within the
ia32 virtual memory layout. Has been in RH kernels for a long time.

If it breaks something, the app was already buggy. You can use

setarch -L my-buggy-app <args>

to run in back-compat mode. This requires a setarch patch - see the
changelog in flexible-mmap-267-mm1-a0.patch for details.

- knfsd update, arch updates, various fixes, cleanups and new bugs.




Changes since 2.6.7-mm1:


linus.patch
bk-acpi.patch
bk-agpgart.patch
bk-alsa.patch
bk-arm.patch
bk-cpufreq.patch
bk-driver-core.patch
bk-ieee1394.patch
bk-input.patch
bk-netdev.patch
bk-ntfs.patch
bk-pci.patch
bk-pcmcia.patch
bk-scsi.patch
bk-usb.patch

Latest versions of external trees

-opti92x-ad1848-locking-fix.patch
-bk-input-build-fix.patch
-ppc64-build-fix.patch
-ppc64-eeh-warning-fix.patch
-pcm_native-stack-reduction.patch
-export-dmi-check-functions.patch
-hp-pavilion-use-dmi-api.patch
-pcmcia-enable-read-prefetch-on-o2micro-bridges-to-fix-hdsp.patch
-permit-inode-dentry-hash-tables-to-be-allocated-max_order-size.patch
-permit-inode-dentry-hash-tables-to-be-allocated-max_order-size-update.patch
-improved-psx-support-in-input-joystick-gameconc.patch
-o_noatime-support.patch
-ppp_syncttyc-receive-write_wakeup-fix.patch
-ide-stack-reduction-cleanup.patch
-airo-broke.patch
-jfs-build-fix.patch
-hid-tmff-fix-again.patch
-swapoff-activate-pages.patch
-add-ovcamchip-driver.patch
-uninline-machine_specific_memory_setup.patch
-add-wait_event_interruptible_exclusive-macro.patch
-iommu-max-segment-size.patch
-v4l-v4l2-api-updates.patch
-v4l-update-video-buf-for-per-frame-input-switching.patch
-v4l-video-buf-magic-numbers.patch
-v4l-video-buf-fixes.patch
-v4l-msp3400-cleanup.patch
-v4l-ir-common-update.patch
-v4l-tuner-tda9887-updates.patch
-v4l-bttv-driver-update.patch
-v4l-ir-input-driver-update.patch
-saa7134-update.patch
-v4l-cx88-driver-update.patch
-v4l-radio-zoltrix-fix.patch
-fix-isdn-to-not-assume-memio-return-values.patch
-sys_ioctl-export.patch
-mprotect-propagate-anon_vma.patch
-sparsify-quotactl.patch
-fix-possible-stack-corruption-during-reiserfs_file_write.patch
-numa-api-updates.patch
-isp16-check_region-removal.patch
-deadline-docco.patch
-move-as-docco.patch
-credits-update.patch
-nls-support-for-ascii.patch
-mips-remove-old-junk.patch
-ds1286-cleanups.patch
-cobalt-lcd-driver-update.patch
-add-m48t35-rtc-driver.patch
-farsync-warning-fix.patch
-sparc64-bug-needs-compiler-h.patch
-jfs-warning-fix.patch
-velocity-warning-fixes.patch
-velocity-warning-fixes-2.patch
-velocity-warning-fixes-3.patch
-velocity-warning-fixes-4.patch
-lindent-rwsem.patch
-tdfxb-warning-fix.patch
-idrh-path.patch
-wanxl-firmware-build-fix.patch
-avoid-rebuild-of-ikcfg-when-using-o=.patch
-kbuild-add-deb-pkg-target.patch
-x86_64-double-clock-speed-fix.patch

Merged

+kbuild-improve-kernel-build-with-separated-output.patch

kbuild improvements for building in a separate object directory

+kgdb-gapatch-fix-for-i386-single-step-into-sysenter.patch

Fix kgdb sysenter handling

-config_spinline.patch

Temporarily dropped so that
allow-i386-to-reenable-interrupts-on-lock-contention.patch gets properly
tested.

-schedstats.patch

Dropped due to some reject I was getting and was too lazy to fix.

-SL0-core-RC6-bk5.patch
-SL1-ext2-RC6-bk5.patch
-SL2-trivial-RC6-bk5.patch
-SL3-page-RC6-bk5.patch
-SL4-smb-RC6-bk5.patch
-SL5-xfs-RC6-bk5.patch
-SL6-shm-RC6-bk5.patch
-SL7-befs-RC6-bk5.patch
-SL8-jffs2-RC6-bk5.patch

These are out of date.

-reduce-tlb-flushing-during-process-migration.patch
-reduce-tlb-flushing-during-process-migration-oops-fix.patch

Dropped, obsolete.

+rcu-no-arg-fastcall-fix.patch
+sch_generic-rcu-fix.patch

Fix up rcu-no-arg.patch

+nx-update-2.patch

Update to the ia32 no-execute-bit patch

-input-serio-dynamic-allocation-fix.patch

I forget what happened to this.

+abs-fix-fix.patch

Fix abs-fix

+r8169_napi-help-text.patch

Kconfig help fix

+for-netmos-based-pci-cards-providing-serial-and-parallel-ports.patch

Driver fix

+kbuild-distclean-srctree-fix.patch

kbuild fix

+help-text-for-fb_riva_i2c.patch

Kconfig help fix

+nr_pagecache-can-go-negative.patch

handle nr_pagecache going transiently negative

+nr_swap_pages-is-long.patch
+nr_swap_pages-is-long-fixes.patch
+total_swap_pages-is-long.patch

Make nr_swap_pages and total_swap_pages longs.

+a2-rewrite-and-26-fixes.patch

MIPS sound driver rewrite.

+dell-laptop-lockup-fix-for-alsa.patch

Fix a dell laptop problem

+mips-update.patch
+mips-indydog-update.patch

Mips updates

+re-267-mm1-linker-trouble-with-config_fb_riva_i2c=y-and-modular-i2c.patch

fb driver build fix

+fix-early-cpu-vendor-detection-for-non-intel-cpus.patch

Fix early CPU detect

+oprofile-allow-normal-user-to-trigger-sample-dumps.patch

oprofile permission fix

+make-__free_pages_bulk-more-comprehensible.patch

Code cleanup

+tiny-update-to-documentation-submittingdrivers-list-xorg.patch

Documentation update

+net-at1700c-depends-on-mca_legacy.patch
+net-ne2c-needs-mca_legacy.patch

net driver build fixes

+core-fbcon-fixes.patch

fbcon fixes

+video-mode-change-notify-fbset.patch

fb driver fixes

+fix-power3-numa-init.patch

ppc64 fix

+cap_dac_override.patch

CAP_DAC_OVERRIDE consistency

+add-ppc85xx-maintainers-entry.patch

MAINTAINERS update

+flexible-mmap-267-mm1-a0.patch
+flexible-mmap-267-mm1-a0-fix.patch

rework ia32 mmap layout to increase the available virtual address space.

+oprofile-documentation-basic_profilingtxt-updates.patch

documentation update

+selinux-extend-and-revise-calls-to-secondary-module.patch

selinux fix

+fix-allocate_pgdat-comments.patch

Fix comments

+drivers-media-video-tda9840c-honour-return-code-of.patch

driver fix

+altix-serial-driver.patch
+altix-serial-driver-fix.patch

Altic serial driver update

+zap_pte_range-speedup.patch

Remove some unneeded code

+h8300-delete-obsolute-header.patch

h8/300 cleanup

+cirrusfb-it-lives.patch

Big cirrusfb update

+update-ikconfig-help-text.patch
+update-ikconfig-generator-script.patch
+consolidate-in-kernel-configuration.patch

ikconfig fixes

+hugetlb-use-safe-iterator.patch
+more-bug-fix-in-mm-hugetlbc-fix-try_to_free_low.patch

hugetlb fixes

+bridge-fix-bpdu-message_age.patch

bridge driver fix

+swsusp-minor-docs-updates.patch
+prepare-for-smp-suspend.patch
+swsusp-shuffle-cpuc-to-make-it-usable-for-smp-suspend.patch

swsusp updates

+267-mm1-port-acer-laptop-irq-routing-workaround-to-new-dmi-probing.patch
+267-mm1-port-pnp-bios-driver-to-new-dmi-probing.patch
+267-mm1-port-sonypi-driver-to-new-dmi-probing.patch
+267-mm1-port-piix4-smbus-driver-to-new-dmi-probing.patch
+267-mm1-port-powernow-k7-driver-to-new-dmi-probing.patch
+267-mm1-remove-unused-asus-k7v-rm-dmi-quirk.patch
+267-mm1-port-apm-bios-driver-to-new-dmi-probing.patch

Use the new dmi APIs

+hpet-fixes.patch
+hpet-fixes-fix.patch

HPET driver fixes

+reduce-tlb-flushing-during-process-migration-2.patch

ia64 context switch speedup

+sparse-trivial-fixes-of-assignment-expression-in-conditional-in-fs.patch

sparsification

+per-node-huge-page-stats-in-sysfs.patch

per-numa-node hugetlb stats in sysfs

+shut-up-kaweth-usb-net-driver.patch
+scsi-printk-fixes.patch

Squich noisy driver printks

+oom-killer-fix.patch

Fix an oom-killer problem

+sh-sh-3-on-chip-adc-support.patch
+sh-dma-mapping-updates.patch
+sh-dma-driver-updates.patch
+sh-early-printk-cleanup.patch
+sh-fixmap-support.patch
+sh-renesas-hs7751rvoip-board-support.patch
+sh-ide-cleanup.patch
+sh-ptep_get_and_clear-compile-fix.patch
+sh-sh-sci-updates.patch
+sh-solutionengine-7300-board-support.patch
+sh-renesas-rts7751r2d-board-support.patch
+sh-pci-updates.patch
+sh-sh7705-sh7300-subtype-support-st40-updates.patch
+sh-voyagergx-companion-chip-support.patch
+sh-merge.patch
+sh-consolidate-systemh-with-other-renesas-boards.patch

Super-H update

+md-fix-up-handling-for-read-error-in-raid1.patch

RAID1 fix

+knfsd-mark-nfs-tcp-server-not-experimental.patch
+knfsd-simplify-nfsd4-name-encoding.patch
+knfsd-simplify-nfsd4_release_lockowner.patch
+knfsd-delete-an-obsolete-comment-from-nfsd-rpc-code.patch
+knfsd-reduce-stack-usage-in-nfsd4.patch
+knfsd-nfsd4-lockowner-fixes.patch
+knfsd-parse-nsfd4-callback-information.patch
+knfsd-improve-cleaning-up-of-nfsd4-requests.patch
+knfsd-allow-user-to-set-nfsv4-lease-time.patch

kNFSd updates

+md-xor-template-selection-redo.patch

MD fix

+kswapd-warning-fix.patch
+balanced_irq-warning-fix.patch
+tr-warning-fixes.patch
+fc-warning-fix.patch
+pkt_sched-warning-fixes.patch

Fix some warnings

+ip_fw_compat_masq-build-fix.patch

netfilter compile fix

+267-fix-broken-alpha-build-ptracec-error.patch

alpha compile fix





All 195 patches:


linus.patch

kbuild-improve-kernel-build-with-separated-output.patch
kbuild: Improve Kernel build with separated output

allow-i386-to-reenable-interrupts-on-lock-contention.patch
Allow i386 to reenable interrupts on lock contention

sysfs-leaves-mount.patch
sysfs backing store: add sysfs_dirent

sysfs-leaves-dir.patch
sysfs backing store: add sysfs_dirent

sysfs-leaves-file.patch
sysfs backing store: sysfs_create() changes

sysfs-leaves-bin.patch
sysfs backing store: bin attribute changes

sysfs-leaves-symlink.patch
sysfs backing store: sysfs_create_link changes

sysfs-leaves-misc.patch
sysfs backing store: attribute groups and misc routines

ext3-jbd-needs-to-wait-for-locked-buffers.patch
jbd needs to wait for locked buffers

bk-acpi.patch

bk-agpgart.patch

bk-alsa.patch

bk-arm.patch

bk-cpufreq.patch

bk-driver-core.patch

bk-ieee1394.patch

bk-input.patch

bk-netdev.patch

bk-ntfs.patch

bk-pci.patch

bk-pcmcia.patch

bk-scsi.patch

bk-usb.patch

mm.patch
add -mmN to EXTRAVERSION

kgdb-ga.patch
kgdb stub for ia32 (George Anzinger's one)
kgdbL warning fix
kgdb buffer overflow fix
kgdbL warning fix
kgdb: CONFIG_DEBUG_INFO fix
x86_64 fixes
correct kgdb.txt Documentation link (against 2.6.1-rc1-mm2)
kgdb: fix for recent gcc
kgdb warning fixes
THREAD_SIZE fixes for kgdb
Fix stack overflow test for non-8k stacks

kgdb-gapatch-fix-for-i386-single-step-into-sysenter.patch
kgdb-ga.patch fix for i386 single-step into sysenter

kgdboe-netpoll.patch
kgdb-over-ethernet via netpoll
kgdboe: fix configuration of MAC address

kgdb-x86_64-support.patch
kgdb-x86_64-support.patch for 2.6.2-rc1-mm3
kgdb-x86_64-warning-fixes

kgdb-ia64-support.patch
IA64 kgdb support
ia64 kgdb repair and cleanup

make-tree_lock-an-rwlock.patch
make mapping->tree_lock an rwlock

radix_tree_tag_set-atomic.patch
Make radix_tree_tag_set/clear atomic wrt the tag

radix_tree_tag_set-only-needs-read_lock.patch
radix_tree_tag_set only needs read_lock()

must-fix.patch
must fix lists update
must fix list update
mustfix update

must-fix-update-5.patch
must-fix update

mustfix-lists.patch
mustfix lists

ppc64-reloc_hide.patch

invalidate_inodes-speedup.patch
invalidate_inodes speedup
more invalidate_inodes speedup fixes

get_user_pages-handle-VM_IO.patch
fix get_user_pages() against mappings of /dev/mem

fa311-mac-address-fix.patch
wrong mac address with netgear FA311 ethernet card

pid_max-fix.patch
Bug when setting pid_max > 32k

jbd-remove-livelock-avoidance.patch
JBD: remove livelock avoidance code in journal_dirty_data()

journal_add_journal_head-debug.patch
journal_add_journal_head-debug

list_del-debug.patch
list_del debug check

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

lockmeter.patch
lockmeter
ia64 CONFIG_LOCKMETER fix

unplug-can-sleep.patch
unplug functions can sleep

firestream-warnings.patch
firestream warnings

ext3_rsv_cleanup.patch
ext3 block reservation patch set -- ext3 preallocation cleanup

ext3_rsv_base.patch
ext3 block reservation patch set -- ext3 block reservation
ext3 reservations: fix performance regression
ext3 block reservation patch set -- mount and ioctl feature
ext3 block reservation patch set -- dynamically increase reservation window
ext3 reservation ifdef cleanup patch
ext3 reservation max window size check patch
ext3 reservation file ioctl fix

ext3-reservation-default-on.patch
ext3 reservation: default to on

ext3-lazy-discard-reservation-window-patch.patch
ext3 lazy discard reservation window patch
ext3 discard reservation in last iput fix patch
Fix lazy reservation discard
ext3 reservations: bad_inode fix
ext3 reservation discard race fix

hugetlb_shm_group-sysctl-gid-0-fix.patch
hugetlb_shm_group sysctl-gid-0-fix

larger-io-bitmap.patch
larger IO bitmaps

really-ptrace-single-step-2.patch
ptrace single-stepping fix

ftruncate-vs-block_write_full_page.patch
ftruncate vs block_write_full_page race fix

ia32-fault-deadlock-fix-2.patch
ia32: fix deadlocks when oopsing while mmap_sem is held

ppc64-fault-deadlock-fix-2.patch
ppc64: fix deadlocks when oopsing while mmap_sem is held

ipr-ppc64-depends.patch
Make ipr.c require ppc

disk-barrier-core.patch
disk barriers: core
disk-barrier-core-tweaks

disk-barrier-ide.patch
disk barriers: IDE
disk-barrier-ide-symbol-expoprt
disk-barrier ide warning fix

barrier-update.patch
barrier update

disk-barrier-scsi.patch
disk barriers: scsi

disk-barrier-dm.patch
disk barriers: devicemapper

disk-barrier-md.patch
disk barriers: MD

reiserfs-v3-barrier-support.patch
reiserfs v3 barrier support
reiserfs-v3-barrier-support-tweak

sync_dirty_buffer-retval.patch
make sync_dirty_buffer() return something useful

ext3-barrier-support.patch
ext3 barrier support

jbd-barrier-fallback-on-failure.patch
jbd: barrier fallback on failure

ide-print-failed-opcode.patch
ide: print failed opcode on IO errors
From: Jens Axboe <[email protected]>
Subject: Re: ide errors in 7-rc1-mm1 and later

add-bh_eopnotsupp-for-testing.patch
add BH_Eopnotsupp for testing async barrier failures

handle-async-barrier-failures.patch
Handle async barrier failures

x86-stack-dump-fixes.patch
x86 stack dump fixes

Move-saved_command_line-to-init-mainc.patch
Move saved_command_line to init/main.c
arch/i386/boot/compressed/misc.c warning fixes

rcu-lock-update-add-per-cpu-batch-counter.patch
rcu lock update: Add per-cpu batch counter

rcu-lock-update-use-a-sequence-lock-for-starting-batches.patch
rcu lock update: Use a sequence lock for starting batches

rcu-lock-update-code-move-cleanup.patch
rcu lock update: Code move & cleanup

singly-linked-rcu.patch
reduce rcu_head size - core

rcu-no-arg.patch
rcu: avoid passing an argument to the callback function

rcu-no-arg-fix.patch
reduce rcu_head size fix

rcu-no-arg-fastcall-fix.patch
rcu-no-arg fastcall fix

sch_generic-rcu-fix.patch
sch_generic-rcu-fix

enable-suspend-resuming-of-e1000.patch
Enable suspend/resuming of e1000

tty_io-hangup-locking.patch
tty_io.c hangup locking

nx-2.6.7-rc2-bk2-AF.patch
NX (No eXecute) support for x86

nx-update.patch
nx update

nx-update-2.patch
nx update 2

cpumask-1-10-cpu_present_map-real-even-on-non-smp.patch
cpumask 1/10 cpu_present_map real even on non-smp

cpumask-2-10-bitmap-cleanup-preparation-for-cpumask.patch
cpumask 2/10 bitmap cleanup preparation for cpumask overhaul

cpumask-3-10-bitmap-inlining-and-optimizations.patch
cpumask 3/10 bitmap inlining and optimizations

cpumask-5-10-rewrite-cpumaskh-single-bitmap-based.patch
cpumask 5/10 rewrite cpumask.h - single bitmap based implementation

cpumask-5-10-rewrite-cpumaskh-single-bitmap-based-cpu_mask_none-fix.patch
CPU_MASK_NONE fix

s390-fix-cpu_online-redefined-warnings.patch
s390: fix "cpu_online" redefined warnings

cpumask-6-10-remove-26-no-longer-used-cpumaskh-files.patch
cpumask 6/10 remove 26 no longer used cpumask*.h files

cpumask-7-10-remove-obsolete-cpumask-macro-uses-i386-arch.patch
cpumask 7/10 remove obsolete cpumask macro uses - i386 arch

cpumask-8-10-remove-obsolete-cpumask-macro-uses-other.patch
cpumask 8/10 remove obsolete cpumask macro uses - other archs

x86_64-cpu_online-fix.patch
x86_64-cpu_online-fix

ppc64-cpu_online-fix.patch
ppc64: cpu_online fix

cpumask-9-10-remove-no-longer-used-obsolete-macro-emulation.patch
cpumask 9/10 Remove no longer used obsolete macro emulation

cpumask-10-10-optimize-various-uses-of-new-cpumasks.patch
cpumask 10/10 optimize various uses of new cpumasks

cpumask-11-10-comment-spacing-tweaks.patch
cpumask: comment, spacing tweaks

cleanup-cpumask_t-temporaries.patch
clean up cpumask_t temporaries

alpha-cpumask-fix.patch
alpha: cpumask fixups

irqaction-use-cpumask.patch
make irqaction use a cpu mask
Fix irqaction-use-cpumask.patch for voyager

fix-and-reenable-msi-support-on-x86_64.patch
Fix and Reenable MSI Support on x86_64
Fix and Reenable MSI Support on x86_64 fix

perfctr-core.patch
From: Mikael Pettersson <[email protected]>
Subject: [PATCH][1/6] perfctr-2.7.3 for 2.6.7-rc1-mm1: core
CONFIG_PERFCTR=n build fix

perfctr-i386.patch
From: Mikael Pettersson <[email protected]>
Subject: [PATCH][2/6] perfctr-2.7.3 for 2.6.7-rc1-mm1: i386
perfctr #if/#ifdef cleanup
perfctr Dothan support

perfctr-x86_64.patch
From: Mikael Pettersson <[email protected]>
Subject: [PATCH][3/6] perfctr-2.7.3 for 2.6.7-rc1-mm1: x86_64

perfctr-ppc.patch
From: Mikael Pettersson <[email protected]>
Subject: [PATCH][4/6] perfctr-2.7.3 for 2.6.7-rc1-mm1: PowerPC

perfctr-ppc32-update.patch
perfctr ppc32 update

perfctr-virtualised-counters.patch
From: Mikael Pettersson <[email protected]>
Subject: [PATCH][5/6] perfctr-2.7.3 for 2.6.7-rc1-mm1: virtualised counters

perfctr-ifdef-cleanup.patch
perfctr ifdef cleanup

perfctr-cpus_complement-fix.patch
perfctr-cpus_complement-fix

perfctr-cpumask-cleanup.patch
perfctr cpumask cleanup

perfctr-misc.patch
From: Mikael Pettersson <[email protected]>
Subject: [PATCH][6/6] perfctr-2.7.3 for 2.6.7-rc1-mm1: misc

ext3-online-resize-patch.patch
ext3: online resizing

ext3-online-resize-warning-fix.patch
ext3-online-resize-warning-fix

vmscan-shuffle-things-around.patch
vmscan.c: shuffle things around

vmscan-scan-sanity.patch
vmscan.c scan rate fixes

vmscan-dont-reclaim-too-many-pages.patch
vmscan.c: dont reclaim too many pages

vfs-shrinkage-tuning.patch
vm: vfs shrinkage tuning

ide-stack-reduction.patch
IDE stack reduction

dnotify-remove-dn_lock.patch
dnotify.c: use inode->i_lock in place of dn_lock

dont-writeback-fd-bdev-inodes.patch
dont-writeback-fd-bdev-inodes

fancy-wakeups-in-wait-h.patch
Use fancy wakeups in wait.h

input-psmouse-resync-for-kvm-users.patch
input: psmouse resync for KVM users

input-psmouse-state-locking.patch
input: psmouse state locking

input-serio-connect-disconnect-mandatory.patch
input: serio connect/disconnect mandatory

input-serio-renames-1.patch
input: serio renames 1

input-serio-renames-1-fix.patch
input-serio-renames-1-fix

input-serio-renames-2.patch
input: serio renames 2

input-serio-dynamic-allocation.patch
input: serio dynamic allocation

input-serio-dynamic-allocation-fix-2.patch
input-serio-dynamic-allocation-fix-2

input-serio-dynamic-allocation-fix-3.patch
input-serio-dynamic-allocation-fix-3

input-serio-no-recursion.patch
input: serio no recursion

input-serio-sysfs-integration.patch
input: serio sysfs integration

input-serio-allow-rebinding.patch
input: serio allow rebinding

input-serio-manual-bind.patch
input: serio manual bind

input-serio_raw-driver.patch
input: serio_raw driver

buddy-reordering.patch
tweak the buddy allocator for better I/O merging

hwcache-align-kmalloc-caches.patch
hwcache align kmalloc caches

reduce-function-inlining-in-slabc.patch
reduce function inlining in slab.c

abs-fix.patch
abs() fixes

abs-fix-fix.patch
abs-fix-fix

ide-taskfilec-fixups-cleanups.patch
ide: remove redundant hwgroup->handler checks from ide-taskfile.c

ide-end-request-fix-for-config_ide_taskfile_io=y-pio-handlers.patch
ide: end request fix for CONFIG_IDE_TASKFILE_IO=y PIO handlers

ide-pio-in-drive-busy-fix-config_ide_taskfile_io=y.patch
ide: PIO-in drive busy fix (CONFIG_IDE_TASKFILE_IO=y)

ide-check-drive-mult_count-in-flagged_taskfile.patch
ide: check drive->mult_count in flagged_taskfile()

ide-last-irq-fix-for-task_mulout_intr-config_ide_taskfile_io=n.patch
ide: last IRQ fix for task_mulout_intr() (CONFIG_IDE_TASKFILE_IO=n)

ide-remove-dtf-debugging-printks-from-ide-taskfilec.patch
ide: remove DTF() debugging printks from ide-taskfile.c

ide-add-task_multi_sectors-to-ide-taskfilec.patch
ide: add task_multi_sectors() to ide-taskfile.c

ide-split-task_sectors-and-task_multi_sectors.patch
ide: split task_sectors() and task_multi_sectors()

ide-dont-clear-rq-errors-for-req_drive_taskfile-requests.patch
ide: don't clear rq->errors for REQ_DRIVE_TASKFILE requests

ide-use-task_buffer_sectors-in-ide-taskfilec.patch
ide: use task_buffer[_multi]_sectors() in ide-taskfile.c

ide-pio-out-setup-fixes-config_ide_taskfile_io=n.patch
ide: PIO-out setup fixes (CONFIG_IDE_TASKFILE_IO=n)

sysfs-overflow-debug.patch
sysfs-overflow-debug

fix-smbfs-readdir-oops.patch
Fix smbfs readdir oops

remove-smbfs-server-rcls-err.patch
Remove smbfs server->rcls/err

kallsyms-exclude.patch
kallsyms: exclude kallsyms-generated symbols

kallsyms-verify.patch
kallsyms: verify that System.map is stable

r8169_napi-help-text.patch
R8169_NAPI help text

for-netmos-based-pci-cards-providing-serial-and-parallel-ports.patch
Support NetMOS based PCI cards providing serial and parallel ports

kbuild-distclean-srctree-fix.patch
kbuild: distclean srctree fix

help-text-for-fb_riva_i2c.patch
help text for FB_RIVA_I2C

nr_pagecache-can-go-negative.patch
nr_pagecache can go negative

nr_swap_pages-is-long.patch
Make nr_swap_pages a long

nr_swap_pages-is-long-fixes.patch
nr_swap_pages-is-long-fixes

total_swap_pages-is-long.patch
make total_swap_pages a long

a2-rewrite-and-26-fixes.patch
mips: SGI A2 audio rewrite and 2.6 fixes

dell-laptop-lockup-fix-for-alsa.patch
Dell laptop lockup fix for ALSA

mips-update.patch
MIPS Update

mips-indydog-update.patch
Indydog update

re-267-mm1-linker-trouble-with-config_fb_riva_i2c=y-and-modular-i2c.patch
fix linker trouble with CONFIG_FB_RIVA_I2C=y and modular I2C

fix-early-cpu-vendor-detection-for-non-intel-cpus.patch
Fix early CPU vendor detection for non intel cpus

oprofile-allow-normal-user-to-trigger-sample-dumps.patch
OProfile: allow normal user to trigger sample dumps

make-__free_pages_bulk-more-comprehensible.patch
make __free_pages_bulk more comprehensible

tiny-update-to-documentation-submittingdrivers-list-xorg.patch
SubmittingDrivers fix

net-at1700c-depends-on-mca_legacy.patch
net/at1700.c depends on MCA_LEGACY

net-ne2c-needs-mca_legacy.patch
net/ne2.c needs MCA_LEGACY

core-fbcon-fixes.patch
Core fbcon fixes

video-mode-change-notify-fbset.patch
fbdev: video mode change notify (fbset)

fix-power3-numa-init.patch
ppc64: fix POWER3 NUMA init

cap_dac_override.patch
CAP_DAC_OVERRIDE fix

add-ppc85xx-maintainers-entry.patch
Add PPC85xx MAINTAINERS entry

flexible-mmap-267-mm1-a0.patch
i386 virtual memory layout rework

flexible-mmap-267-mm1-a0-fix.patch
flexible-mmap-267-mm1-a0 x86_64 fix

oprofile-documentation-basic_profilingtxt-updates.patch
(o)profile Documentation/basic_profiling.txt updates

selinux-extend-and-revise-calls-to-secondary-module.patch
SELinux: Extend and revise calls to secondary module

fix-allocate_pgdat-comments.patch
fix allocate_pgdat comments

drivers-media-video-tda9840c-honour-return-code-of.patch
drivers/media/video/tda9840.c: honour return code of i2c_add_driver()

altix-serial-driver.patch
Altix serial driver updates

altix-serial-driver-fix.patch
altix-serial-driver-fix

zap_pte_range-speedup.patch
zap_pte_range speedup

h8300-delete-obsolute-header.patch
h8300: delete obsolute header

cirrusfb-it-lives.patch
cirrusfb: major update

update-ikconfig-help-text.patch
update ikconfig help text

update-ikconfig-generator-script.patch
update ikconfig generator script

hugetlb-use-safe-iterator.patch
hugetlb.c: use safe iterator

bridge-fix-bpdu-message_age.patch
Bridge - Fix BPDU message_age

swsusp-minor-docs-updates.patch
swsusp minor docs updates

prepare-for-smp-suspend.patch
Prepare for SMP suspend

swsusp-shuffle-cpuc-to-make-it-usable-for-smp-suspend.patch
swsusp: shuffle cpu.c to make it usable for smp suspend

267-mm1-port-acer-laptop-irq-routing-workaround-to-new-dmi-probing.patch
dmi_scan: port Acer laptop irq routing workaround to new DMI probing

267-mm1-port-pnp-bios-driver-to-new-dmi-probing.patch
dmi_scan: port PnP BIOS driver to new DMI probing

267-mm1-port-sonypi-driver-to-new-dmi-probing.patch
dmi_scan: port sonypi driver to new DMI probing

267-mm1-port-piix4-smbus-driver-to-new-dmi-probing.patch
dmi_scan: port PIIX4 SMBUS driver to new DMI probing

267-mm1-port-powernow-k7-driver-to-new-dmi-probing.patch
dmi_scan: port powernow-k7 driver to new DMI probing

267-mm1-remove-unused-asus-k7v-rm-dmi-quirk.patch
dmi_scan: remove unused ASUS K7V-RM DMI quirk

267-mm1-port-apm-bios-driver-to-new-dmi-probing.patch
dmi_scan: port APM BIOS driver to new DMI probing

hpet-fixes.patch
hpet fixes

hpet-fixes-fix.patch
hpet-fixes fix

consolidate-in-kernel-configuration.patch
consolidate in-kernel configuration

reduce-tlb-flushing-during-process-migration-2.patch
Reduce TLB flushing during process migration

sparse-trivial-fixes-of-assignment-expression-in-conditional-in-fs.patch
sparse: fixes for "assignment expression in conditional" in fs/*

more-bug-fix-in-mm-hugetlbc-fix-try_to_free_low.patch
hugetlb.c - fix try_to_free_low()

per-node-huge-page-stats-in-sysfs.patch
per node huge page stats in sysfs

shut-up-kaweth-usb-net-driver.patch
shut-up kaweth usb/net driver

scsi-printk-fixes.patch
scsi printk fixes

oom-killer-fix.patch
oom killer: ignore free swapspace

sh-sh-3-on-chip-adc-support.patch
sh: SH-3 On-Chip ADC support

sh-dma-mapping-updates.patch
sh: dma-mapping updates.

sh-dma-driver-updates.patch
sh: DMA driver updates.

sh-early-printk-cleanup.patch
sh: early printk() cleanup.

sh-fixmap-support.patch
sh: fixmap support.

sh-renesas-hs7751rvoip-board-support.patch
sh: Renesas HS7751RVoIP board support.

sh-ide-cleanup.patch
sh: IDE cleanup.

sh-ptep_get_and_clear-compile-fix.patch
sh: ptep_get_and_clear() compile fix.

sh-sh-sci-updates.patch
sh: sh-sci updates.

sh-solutionengine-7300-board-support.patch
sh: SolutionEngine 7300 board support.

sh-renesas-rts7751r2d-board-support.patch
sh: Renesas RTS7751R2D board support.

sh-pci-updates.patch
sh: PCI updates

sh-sh7705-sh7300-subtype-support-st40-updates.patch
sh: SH7705/SH7300 subtype support, ST40 updates.

sh-voyagergx-companion-chip-support.patch
sh: VoyagerGX companion chip support.

sh-merge.patch
sh: merge.

sh-consolidate-systemh-with-other-renesas-boards.patch
sh: Consolidate SystemH with other Renesas boards.

md-fix-up-handling-for-read-error-in-raid1.patch
md: Fix up handling for read error in raid1.

knfsd-mark-nfs-tcp-server-not-experimental.patch
knfsd: mark NFS/TCP server not EXPERIMENTAL

knfsd-simplify-nfsd4-name-encoding.patch
knfsd: simplify nfsd4 name encoding.

knfsd-simplify-nfsd4_release_lockowner.patch
knfsd: simplify nfsd4_release_lockowner

knfsd-delete-an-obsolete-comment-from-nfsd-rpc-code.patch
knfsd: delete an obsolete comment from nfsd rpc code

knfsd-reduce-stack-usage-in-nfsd4.patch
knfsd: reduce stack usage in nfsd4

knfsd-nfsd4-lockowner-fixes.patch
knfsd: nfsd4 lockowner fixes

knfsd-parse-nsfd4-callback-information.patch
knfsd: parse nsfd4 callback information

knfsd-improve-cleaning-up-of-nfsd4-requests.patch
knfsd: improve cleaning up of nfsd4 requests

knfsd-allow-user-to-set-nfsv4-lease-time.patch
knfsd: allow user to set NFSv4 lease time.

md-xor-template-selection-redo.patch
md: XOR template selection redo

kswapd-warning-fix.patch
kswapd warning fix

balanced_irq-warning-fix.patch
balanced_irq warning fix

tr-warning-fixes.patch
tr.c warning fix

fc-warning-fix.patch
fc.c warning fix

ip_fw_compat_masq-build-fix.patch
ip_fw_compat_masq.c build fix

pkt_sched-warning-fixes.patch
pkt_sched.h warning fixes

267-fix-broken-alpha-build-ptracec-error.patch
fix broken alpha build ptrace.c error




2004-06-24 09:39:29

by Russell King

[permalink] [raw]
Subject: Re: 2.6.7-mm2

On Thu, Jun 24, 2004 at 01:46:55AM -0700, Andrew Morton wrote:
> Changes since 2.6.7-mm1:
>
>
> bk-pcmcia.patch

Just a quick note to ask people to test 2.6.7-mm2 PCMCIA please.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core

2004-06-24 10:34:30

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.7-mm2

Andrew Morton <[email protected]> wrote:
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.7/2.6.7-mm2/
>
> ...
> bk-acpi.patch

OK, ACPI seems to have progressed in a non-forward direction here.

If anyone has weird problems, please do a `patch -p1 -R' of

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.7/2.6.7-mm2/broken-out/bk-acpi.patch

USB doesn't come up:

usb 2-1: control timeout on ep0out
uhci_hcd 0000:00:1d.0: Unlink after no-IRQ? Different ACPI or APIC settings may help.
usb 2-1: control timeout on ep0out
usb 2-1: device not accepting address 2, error -110
usb 2-1: new low speed USB device using address 3
usb 2-1: control timeout on ep0out
usb 2-1: control timeout on ep0out
usb 2-1: device not accepting address 3, error -110
usb 2-2: new full speed USB device using address 4
usb 2-2: control timeout on ep0out
usb 2-2: control timeout on ep0out
usb 2-2: device not accepting address 4, error -110
usb 2-2: new full speed USB device using address 5
usb 2-2: control timeout on ep0out
usb 2-2: control timeout on ep0out
usb 2-2: device not accepting address 5, error -110

dmesg without bk-acpi.patch:
http://www.zip.com.au/~akpm/linux/patches/stuff/dmesg-good
dmesg with bk-acpi.patch:
http://www.zip.com.au/~akpm/linux/patches/stuff/dmesg-bad

2004-06-24 11:43:46

by Angelo Dell'Aera

[permalink] [raw]
Subject: Re: 2.6.7-mm2

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

On Thu, 24 Jun 2004 03:33:21 -0700
Andrew Morton <[email protected]> wrote:

>OK, ACPI seems to have progressed in a non-forward direction here.
>
>If anyone has weird problems, please do a `patch -p1 -R' of
>
>ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.7/2.6.7-mm2/broken-out/bk-acpi.patch
>
>USB doesn't come up:
>
>usb 2-1: control timeout on ep0out
>uhci_hcd 0000:00:1d.0: Unlink after no-IRQ? Different ACPI or APIC settings may help.
>usb 2-1: control timeout on ep0out
>usb 2-1: device not accepting address 2, error -110
>usb 2-1: new low speed USB device using address 3
>usb 2-1: control timeout on ep0out
>usb 2-1: control timeout on ep0out
>usb 2-1: device not accepting address 3, error -110
>usb 2-2: new full speed USB device using address 4
>usb 2-2: control timeout on ep0out
>usb 2-2: control timeout on ep0out
>usb 2-2: device not accepting address 4, error -110
>usb 2-2: new full speed USB device using address 5
>usb 2-2: control timeout on ep0out
>usb 2-2: control timeout on ep0out
>usb 2-2: device not accepting address 5, error -110


Here no problems at all. ACPI works quite good and I did few tests
for USB which show no particular problem.

buffer@mintaka:~$ cat /proc/cpuinfo | grep "model name"
model name : mobile AMD Athlon(tm) XP 2000+

At boot time...

usbcore: registered new driver usbfs
usbcore: registered new driver hub
ACPI: PCI interrupt 0000:00:02.0[A] -> GSI 10 (level, low) -> IRQ 10
ohci_hcd 0000:00:02.0: ALi Corporation USB 1.1 Controller
ohci_hcd 0000:00:02.0: irq 10, pci mem dfc1c000
ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 4 ports detected


While playing with a 4 port HUB and a digital camera...


ohci_hcd 0000:00:02.0: remote wakeup
usb 1-2: new full speed USB device using address 2
SCSI subsystem initialized
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: Fujifilm Model: FinePix 1400Zoom Rev: 1000
Jun 24 13:21:08 mintaka kernel:
Type: Direct-Access ANSI SCSI revision: 02
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
scsi.agent[1690]: disk at /devices/pci0000:00/0000:00:02.0/usb1/1-2/1-2:1.0/host0/0:0:0:0
SCSI device sda: 16000 512-byte hdwr sectors (8 MB)
sda: assuming Write Enabled
sda: sda1
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
usb 1-2: USB disconnect, address 2
ohci_hcd 0000:00:02.0: remote wakeup
usb 1-2: new full speed USB device using address 3
hub 1-2:1.0: USB hub found
hub 1-2:1.0: 4 ports detected
usb 1-2.2: new full speed USB device using address 4
scsi1 : SCSI emulation for USB Mass Storage devices
Vendor: Fujifilm Model: FinePix 1400Zoom Rev: 1000
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 16000 512-byte hdwr sectors (8 MB)
sda: assuming Write Enabled
sda: sda1
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
scsi.agent[1908]: disk at /devices/pci0000:00/0000:00:02.0/usb1/1-2/1-2.2/1-2.2:1.0/host1/1:0:0:0
usb 1-2.2: USB disconnect, address 4
usb 1-2: USB disconnect, address 3

Regards.

- --

Angelo Dell'Aera 'buffer'
Antifork Research, Inc. http://buffer.antifork.org

PGP information in e-mail header


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA2r5opONIzxnBXKIRAvHWAKCbyh6g2BhcStWNSSP01IjKbGskKQCeOYc+
n/njVG7fSWhY6BeuaCxBIOw=
=mX3F
-----END PGP SIGNATURE-----

2004-06-24 13:20:03

by Jari Ruusu

[permalink] [raw]
Subject: Re: 2.6.7-mm2

Andrew Morton wrote:
> +kbuild-improve-kernel-build-with-separated-output.patch
>
> kbuild improvements for building in a separate object directory

This breaks existing recommended syntax for external modules, because the
mini Makefile in object directory always provides O= even in cases where
calling code specified its own object directory:

make -C /lib/modules/`uname -r`/build modules M=`pwd` O=/foo

or

export KBUILD_OUTPUT=/foo
make -C /lib/modules/`uname -r`/build modules M=`pwd`

Andrew,
please drop this patch. Dropping this causes less breakage than applying it.

--
Jari Ruusu 1024R/3A220F51 5B 4B F9 BB D3 3F 52 E9 DB 1D EB E3 24 0E A9 DD

2004-06-24 13:28:30

by Felipe Alfaro Solana

[permalink] [raw]
Subject: Re: 2.6.7-mm2

On Thu, 2004-06-24 at 10:39 +0100, Russell King wrote:
> On Thu, Jun 24, 2004 at 01:46:55AM -0700, Andrew Morton wrote:
> > Changes since 2.6.7-mm1:
> >
> >
> > bk-pcmcia.patch
>
> Just a quick note to ask people to test 2.6.7-mm2 PCMCIA please.

Just compiling it... Will keep the list members informed if something
goes wrong.

2004-06-24 15:05:15

by Coywolf Qi Hunt

[permalink] [raw]
Subject: Re: 2.6.7-mm2

Andrew Morton wrote:

>Changes since 2.6.7-mm1:
>
>+kbuild-distclean-srctree-fix.patch
>
> kbuild fix
>

Hi, Andrew,

I'm afraid you didn't apply my patch properly. You changed a wrong line.
See the differences b/w
http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.7/2.6.7-mm2/broken-out/kbuild-distclean-srctree-fix.patch
and

--- linux-2.6.7/Makefile Wed Jun 9 01:07:00 2004
+++ linux-2.6.7-cy/Makefile Wed Jun 16 21:33:57 2004
@@ -841,7 +841,7 @@ mrproper: clean archmrproper $(mrproper-
.PHONY: distclean

distclean: mrproper
- @find . $(RCS_FIND_IGNORE) \
+ @find $(srctree) $(RCS_FIND_IGNORE) \
\( -name '*.orig' -o -name '*.rej' -o -name '*~' \
-o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
-o -name '.*.rej' -o -size 0 \


--
Coywolf Qi Hunt
Admin of http://GreatCN.org and http://LoveCN.org

2004-06-24 15:05:30

by Roman Zippel

[permalink] [raw]
Subject: Re: 2.6.7-mm2

Hi,

On Thu, 24 Jun 2004, Jari Ruusu wrote:

> This breaks existing recommended syntax for external modules, because the
> mini Makefile in object directory always provides O= even in cases where
> calling code specified its own object directory:
>
> make -C /lib/modules/`uname -r`/build modules M=`pwd` O=/foo

Where is this recommended? How do you know that "/foo" is better directory
on a random system?

bye, Roman

2004-06-24 17:30:51

by Norberto Bensa

[permalink] [raw]
Subject: Re: 2.6.7-mm2

Andrew Morton wrote:
> OK, ACPI seems to have progressed in a non-forward direction here.
>
> If anyone has weird problems, please do a `patch -p1 -R' of
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.7/2.6.7-m
>m2/broken-out/bk-acpi.patch

Thanks Andrew. ov511 wasn't coming up. I did the above patch and everything
works :-)

Regards,
Norberto

2004-06-24 17:47:53

by John Cherry

[permalink] [raw]
Subject: Re: 2.6.7-mm2 (compile stats)


Linux 2.6 (mm tree) Compile Statistics (gcc 3.2.2)
Warnings/Errors Summary

Kernel bzImage bzImage bzImage modules bzImage modules
(defconfig) (allno) (allyes) (allyes) (allmod) (allmod)
--------------- ---------- -------- -------- -------- -------- --------
2.6.7-mm2 0w/0e 0w/0e 109w/0e 7w/0e 1w/0e 106w/0e
2.6.7-mm1 0w/0e 5w/0e 108w/0e 5w/0e 1w/0e 104w/0e
2.6.7-rc3-mm2 0w/0e 5w/0e 105w/10e 5w/0e 2w/0e 100w/2e
2.6.7-rc3-mm1 0w/0e 5w/0e 104w/10e 5w/0e 2w/0e 100w/2e
2.6.7-rc2-mm2 0w/0e 5w/0e 109w/10e 5w/0e 2w/0e 105w/2e
2.6.7-rc2-mm1 0w/0e 12w/0e 158w/13e 5w/0e 3w/0e 153w/4e
2.6.7-rc1-mm1 0w/0e 6w/0e 108w/0e 5w/0e 2w/0e 104w/0e
2.6.6-mm5 0w/0e 0w/0e 109w/5e 5w/0e 2w/0e 110w/0e
2.6.6-mm4 0w/0e 0w/0e 112w/9e 5w/0e 2w/5e 106w/1e
2.6.6-mm3 3w/9e 0w/0e 120w/26e 5w/0e 2w/0e 114w/10e
2.6.6-mm2 4w/11e 0w/0e 120w/24e 6w/0e 2w/0e 118w/9e
2.6.6-mm1 1w/0e 0w/0e 118w/25e 6w/0e 2w/0e 114w/10e
2.6.6-rc3-mm2 0w/0e 0w/0e 117w/ 0e 8w/0e 2w/0e 116w/0e
2.6.6-rc3-mm1 0w/0e 0w/0e 120w/10e 8w/0e 2w/0e 152w/2e
2.6.6-rc2-mm2 0w/0e 1w/5e 118w/ 0e 8w/0e 3w/0e 118w/0e
2.6.6-rc2-mm1 0w/0e 0w/0e 115w/ 0e 7w/0e 3w/0e 116w/0e
2.6.6-rc1-mm1 0w/0e 0w/7e 122w/ 0e 7w/0e 4w/0e 122w/0e
2.6.5-mm6 0w/0e 0w/0e 123w/ 0e 7w/0e 4w/0e 124w/0e
2.6.5-mm5 0w/0e 0w/0e 119w/ 0e 7w/0e 4w/0e 120w/0e
2.6.5-mm4 0w/0e 0w/0e 120w/ 0e 7w/0e 4w/0e 121w/0e
2.6.5-mm3 0w/0e 1w/0e 121w/12e 7w/0e 3w/0e 123w/0e
2.6.5-mm2 0w/0e 0w/0e 128w/12e 7w/0e 3w/0e 134w/0e
2.6.5-mm1 0w/0e 5w/0e 122w/ 0e 7w/0e 3w/0e 124w/0e
2.6.5-rc3-mm4 0w/0e 0w/0e 124w/ 0e 8w/0e 4w/0e 126w/0e
2.6.5-rc3-mm3 0w/0e 5w/0e 129w/14e 8w/0e 4w/0e 129w/6e
2.6.5-rc3-mm2 0w/0e 5w/0e 130w/14e 8w/0e 4w/0e 129w/6e
2.6.5-rc3-mm1 0w/0e 5w/0e 129w/ 0e 8w/0e 4w/0e 129w/0e
2.6.5-rc2-mm5 0w/0e 5w/0e 130w/ 0e 8w/0e 4w/0e 129w/0e
2.6.5-rc2-mm4 0w/0e 5w/0e 134w/ 0e 8w/0e 3w/0e 133w/0e
2.6.5-rc2-mm3 0w/0e 5w/0e 134w/ 0e 8w/0e 3w/0e 133w/0e
2.6.5-rc2-mm2 0w/0e 5w/0e 137w/ 0e 8w/0e 3w/0e 134w/0e
2.6.5-rc2-mm1 0w/0e 5w/0e 136w/ 0e 8w/0e 3w/0e 134w/0e
2.6.5-rc1-mm2 0w/0e 5w/0e 135w/ 5e 8w/0e 3w/0e 133w/0e
2.6.5-rc1-mm1 0w/0e 5w/0e 135w/ 5e 8w/0e 3w/0e 133w/0e
2.6.4-mm2 1w/2e 5w/2e 144w/10e 8w/0e 3w/2e 144w/0e
2.6.4-mm1 1w/0e 5w/0e 146w/ 5e 8w/0e 3w/0e 144w/0e
2.6.4-rc2-mm1 1w/0e 5w/0e 146w/12e 11w/0e 3w/0e 147w/2e
2.6.4-rc1-mm2 1w/0e 5w/0e 144w/ 0e 11w/0e 3w/0e 145w/0e
2.6.4-rc1-mm1 1w/0e 5w/0e 147w/ 5e 11w/0e 3w/0e 147w/0e
2.6.3-mm4 1w/0e 5w/0e 146w/ 0e 7w/0e 3w/0e 142w/0e
2.6.3-mm3 1w/2e 5w/2e 146w/15e 7w/0e 3w/2e 144w/5e
2.6.3-mm2 1w/8e 5w/0e 140w/ 0e 7w/0e 3w/0e 138w/0e
2.6.3-mm1 1w/0e 5w/0e 143w/ 5e 7w/0e 3w/0e 141w/0e
2.6.3-rc3-mm1 1w/0e 0w/0e 144w/13e 7w/0e 3w/0e 142w/3e
2.6.3-rc2-mm1 1w/0e 0w/265e 144w/ 5e 7w/0e 3w/0e 145w/0e
2.6.3-rc1-mm1 1w/0e 0w/265e 141w/ 5e 7w/0e 3w/0e 143w/0e
2.6.2-mm1 2w/0e 0w/264e 147w/ 5e 7w/0e 3w/0e 173w/0e
2.6.2-rc3-mm1 2w/0e 0w/265e 146w/ 5e 7w/0e 3w/0e 172w/0e
2.6.2-rc2-mm2 0w/0e 0w/264e 145w/ 5e 7w/0e 3w/0e 171w/0e
2.6.2-rc2-mm1 0w/0e 0w/264e 146w/ 5e 7w/0e 3w/0e 172w/0e
2.6.2-rc1-mm3 0w/0e 0w/265e 144w/ 8e 7w/0e 3w/0e 169w/0e
2.6.2-rc1-mm2 0w/0e 0w/264e 144w/ 5e 10w/0e 3w/0e 171w/0e
2.6.2-rc1-mm1 0w/0e 0w/264e 144w/ 5e 10w/0e 3w/0e 171w/0e
2.6.1-mm5 2w/5e 0w/264e 153w/11e 10w/0e 3w/0e 180w/0e
2.6.1-mm4 0w/821e 0w/264e 154w/ 5e 8w/1e 5w/0e 179w/0e
2.6.1-mm3 0w/0e 0w/0e 151w/ 5e 10w/0e 3w/0e 177w/0e
2.6.1-mm2 0w/0e 0w/0e 143w/ 5e 12w/0e 3w/0e 171w/0e
2.6.1-mm1 0w/0e 0w/0e 146w/ 9e 12w/0e 6w/0e 171w/0e
2.6.1-rc2-mm1 0w/0e 0w/0e 149w/ 0e 12w/0e 6w/0e 171w/4e
2.6.1-rc1-mm2 0w/0e 0w/0e 157w/15e 12w/0e 3w/0e 185w/4e
2.6.1-rc1-mm1 0w/0e 0w/0e 156w/10e 12w/0e 3w/0e 184w/2e
2.6.0-mm2 0w/0e 0w/0e 161w/ 0e 12w/0e 3w/0e 189w/0e
2.6.0-mm1 0w/0e 0w/0e 173w/ 0e 12w/0e 3w/0e 212w/0e

Web page with links to complete details:
http://developer.osdl.org/cherry/compile/

John



2004-06-24 18:00:45

by Valdis Klētnieks

[permalink] [raw]
Subject: Re: 2.6.7-mm2

On Thu, 24 Jun 2004 17:04:30 +0200, Roman Zippel said:
> Hi,
>
> On Thu, 24 Jun 2004, Jari Ruusu wrote:
>
> > This breaks existing recommended syntax for external modules, because the
> > mini Makefile in object directory always provides O= even in cases where
> > calling code specified its own object directory:
> >
> > make -C /lib/modules/`uname -r`/build modules M=`pwd` O=/foo
>
> Where is this recommended? How do you know that "/foo" is better directory
> on a random system?

I think Jari's point is that it's providing O=/something *even* when the
calling code *DOES* know that /foo is a better directory, so when you pass it
O=/foo because you know it's The Right Thing for Your Particular Random System,
it gets overridden.

Either that, or I need to find more caffeine, and re-parse what Jari wrote... ;)


Attachments:
(No filename) (226.00 B)

2004-06-24 19:19:16

by Adrian Bunk

[permalink] [raw]
Subject: [patch] 2.6.7-mm2: fdomain_cs needs unknown symbols

On Thu, Jun 24, 2004 at 01:46:55AM -0700, Andrew Morton wrote:
>...
> All 195 patches:
>...
> bk-scsi.patch
>...

This makes two functions in drivers/scsi/fdomain.c static that are
required in fdomain_cs.o:

<-- snip -->

WARNING: /lib/modules/2.6.7-mm2/kernel/drivers/scsi/pcmcia/fdomain_cs.ko
needs unknown symbol fdomain_16x0_bus_reset
WARNING: /lib/modules/2.6.7-mm2/kernel/drivers/scsi/pcmcia/fdomain_cs.ko
needs unknown symbol fdomain_setup

<-- snip -->


Although I agree that the way fdomain_cs.o is built is too ugly for
words, I'd suggest the following patch that revert these static's:


--- linux-2.6.7-mm2-modular/drivers/scsi/fdomain.c.old 2004-06-24 21:04:56.000000000 +0200
+++ linux-2.6.7-mm2-modular/drivers/scsi/fdomain.c 2004-06-24 21:07:17.000000000 +0200
@@ -418,7 +418,7 @@

static irqreturn_t do_fdomain_16x0_intr( int irq, void *dev_id,
struct pt_regs * regs );
-static int fdomain_16x0_bus_reset(struct scsi_cmnd *SCpnt);
+int fdomain_16x0_bus_reset(struct scsi_cmnd *SCpnt);

/* Allow insmod parameters to be like LILO parameters. For example:
insmod fdomain fdomain=0x140,11 */
@@ -555,7 +555,7 @@
printk( "\n" );
}

-static int __init fdomain_setup(char *str)
+int __init fdomain_setup(char *str)
{
int ints[4];

@@ -1541,7 +1541,7 @@
return SUCCESS;
}

-static int fdomain_16x0_bus_reset(struct scsi_cmnd *SCpnt)
+int fdomain_16x0_bus_reset(struct scsi_cmnd *SCpnt)
{
outb( 1, SCSI_Cntl_port );
do_pause( 2 );



cu
Adrian

--

"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

2004-06-24 20:50:28

by Rafał J. Wysocki

[permalink] [raw]
Subject: Re: 2.6.7-mm2

On Thursday 24 of June 2004 10:46, Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.7/2.6.7-m
>m2/

Well, I have alarmingly many problems with this patch (my system is a dual
Opteron - full config log attached):

1) There is an Oops at early boot time, caused probably by earlyprintk, which
makes the serial console stop working (the call trace goes too fast to read
and of course it does not go to the serial console ...).

2) There is an Oops when trying to unload the sound driver (snd-intel8x0). At
present I'm unable to grab it. because of 1).

3) This breaks fb console on my system quite a bit:

> +core-fbcon-fixes.patch

- there is an ugly grey background area behind the penguin logos at startup.
The (screen behind the) logos are (is) ok without it. ;-)

There were no such problems on 2.6.7-mm1, and I've already reversed the
bk-acpi.patch. I'm currently trying to figure out which patches should be
reversed to cure 1) and 2) and grab the Oops traces.

The kernel config is attached and I'll send you more info when there's more
info.

Yours,
rjw

----------------------------
For a successful technology, reality must take precedence over public
relations, for nature cannot be fooled.
-- Richard P. Feynman


Attachments:
(No filename) (1.25 kB)
hardware.log (24.85 kB)
2.6.7-mm2-config (27.70 kB)
Download all attachments

2004-06-24 20:59:42

by Adrian Bunk

[permalink] [raw]
Subject: 2.6.7-mm2: compile error SCHED_SMT + NUMA + gcc 2.95

I'm getting the following compile error in 2.6.7-mm2 with SCHED_SMT=y
and NUMA=y when using gcc 2.95 (it doesn't seem to be specific to -mm):

<-- snip -->

...
CC arch/i386/kernel/smpboot.o
arch/i386/kernel/smpboot.c: In function `arch_init_sched_domains':
arch/i386/kernel/smpboot.c:1195: invalid lvalue in unary `&'
arch/i386/kernel/smpboot.c:1231: invalid lvalue in unary `&'
make[1]: *** [arch/i386/kernel/smpboot.o] Error 1

<-- snip -->

cu
Adrian

--

"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

2004-06-24 21:21:54

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.7-mm2: compile error SCHED_SMT + NUMA + gcc 2.95

Adrian Bunk <[email protected]> wrote:
>
> CC arch/i386/kernel/smpboot.o
> arch/i386/kernel/smpboot.c: In function `arch_init_sched_domains':
> arch/i386/kernel/smpboot.c:1195: invalid lvalue in unary `&'
> arch/i386/kernel/smpboot.c:1231: invalid lvalue in unary `&'

--- 25/arch/i386/kernel/smpboot.c~smpboot-build-fix Thu Jun 24 14:22:55 2004
+++ 25-akpm/arch/i386/kernel/smpboot.c Thu Jun 24 14:22:55 2004
@@ -1192,7 +1192,9 @@ __init void arch_init_sched_domains(void
int j;
cpumask_t nodemask;
struct sched_group *node = &sched_group_nodes[i];
- cpus_and(nodemask, node_to_cpumask(i), cpu_possible_map);
+ cpumask_t node_cpumask = node_to_cpumask(i);
+
+ cpus_and(nodemask, node_cpumask, cpu_possible_map);

if (cpus_empty(nodemask))
continue;
@@ -1228,7 +1230,9 @@ __init void arch_init_sched_domains(void
for (i = 0; i < MAX_NUMNODES; i++) {
struct sched_group *cpu = &sched_group_nodes[i];
cpumask_t nodemask;
- cpus_and(nodemask, node_to_cpumask(i), cpu_possible_map);
+ cpumask_t node_cpumask = node_to_cpumask(i);
+
+ cpus_and(nodemask, node_cpumask, cpu_possible_map);

if (cpus_empty(nodemask))
continue;
_

2004-06-24 21:32:57

by Rafał J. Wysocki

[permalink] [raw]
Subject: Re: 2.6.7-mm2

On Thursday 24 of June 2004 22:57, R. J. Wysocki wrote:
> On Thursday 24 of June 2004 10:46, Andrew Morton wrote:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.7/2.6.7
> >-m m2/
>
> Well, I have alarmingly many problems with this patch (my system is a dual
> Opteron - full config log attached):
>
> 1) There is an Oops at early boot time, caused probably by earlyprintk,
> which makes the serial console stop working (the call trace goes too fast
> to read and of course it does not go to the serial console ...).

I have reversed:

+reduce-tlb-flushing-during-process-migration-2.patch

and it cured this Oops, though it has nothing in common with the console,
obviously.

The serial console just does not work for me at all (earlyprintk apparently
does). Attached is what I get from the earlyprintk. Ther rest of kernel
messages goes to the local console (tty0), although it is not even present in
the kernel command line (sigh).

Yours,
rjw

----------------------------
For a successful technology, reality must take precedence over public
relations, for nature cannot be fooled.
-- Richard P. Feynman


Attachments:
(No filename) (1.12 kB)
2.6.7-mm2-earlyprintk.log (9.19 kB)
Download all attachments

2004-06-24 21:45:35

by Rafał J. Wysocki

[permalink] [raw]
Subject: Re: 2.6.7-mm2

On Thursday 24 of June 2004 22:57, R. J. Wysocki wrote:
> On Thursday 24 of June 2004 10:46, Andrew Morton wrote:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.7/2.6.7
> >-m m2/
>
> Well, I have alarmingly many problems with this patch (my system is a dual
> Opteron - full config log attached):
>
[snip]
> 2) There is an Oops when trying to unload the sound driver (snd-intel8x0).
> At present I'm unable to grab it. because of 1).

This Oops was also cured by reverting the:

+reduce-tlb-flushing-during-process-migration-2.patch

Yours,
rjw

--
Rafael J. Wysocki,
SiSK
[tel. (+48) 605 053 693]
----------------------------
For a successful technology, reality must take precedence over public
relations, for nature cannot be fooled.
-- Richard P. Feynman

2004-06-25 05:22:55

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.7-mm2

"R. J. Wysocki" <[email protected]> wrote:
>
> On Thursday 24 of June 2004 10:46, Andrew Morton wrote:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.7/2.6.7-m
> >m2/
>
> Well, I have alarmingly many problems with this patch (my system is a dual
> Opteron - full config log attached):
>
> 1) There is an Oops at early boot time, caused probably by earlyprintk, which
> makes the serial console stop working (the call trace goes too fast to read
> and of course it does not go to the serial console ...).

This is fixed, yes?

> 2) There is an Oops when trying to unload the sound driver (snd-intel8x0). At
> present I'm unable to grab it. because of 1).

I'm not able to reproduce this. Can you grab a trace now?

> 3) This breaks fb console on my system quite a bit:
>
> > +core-fbcon-fixes.patch
>
> - there is an ugly grey background area behind the penguin logos at startup.
> The (screen behind the) logos are (is) ok without it. ;-)

I forwarded this to Antonino, but he's hiding.

2004-06-25 05:51:51

by Coywolf Qi Hunt

[permalink] [raw]
Subject: [PATCH] (2.6.7-mm2) kbuild distclean srctree fix ii

Hello Andrew,

You've changed a wrong line. There's several ``@find .
$(RCS_FIND_IGNORE)'' in Makefile.
You want the line about 24 lines below. Please apply this patch to
re-fix it.
http://greatcn.org/~coywolf/patches/2.6/kbuild-distclean-srctree-fix-ii.patch

coywolf
===============================================================

--- linux-2.6.7-mm2/Makefile 2004-06-24 22:16:08.000000000 -0500
+++ linux-2.6.7-mm2-cy/Makefile 2004-06-25 00:13:55.885753597 -0500
@@ -866,7 +866,7 @@ $(clean-dirs):
clean: archclean $(clean-dirs)
$(call cmd,rmdirs)
$(call cmd,rmfiles)
- @find $(srctree) $(RCS_FIND_IGNORE) \
+ @find . $(RCS_FIND_IGNORE) \
\( -name '*.[oas]' -o -name '*.ko' -o -name '.*.cmd' \
-o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \) \
-type f -print | xargs rm -f
@@ -890,7 +890,7 @@ mrproper: clean archmrproper $(mrproper-
.PHONY: distclean

distclean: mrproper
- @find . $(RCS_FIND_IGNORE) \
+ @find $(srctree) $(RCS_FIND_IGNORE) \
\( -name '*.orig' -o -name '*.rej' -o -name '*~' \
-o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
-o -name '.*.rej' -o -size 0 \


--
Coywolf Qi Hunt
Admin of http://GreatCN.org and http://LoveCN.org

2004-06-25 10:39:15

by Rafał J. Wysocki

[permalink] [raw]
Subject: Re: 2.6.7-mm2

On Friday 25 of June 2004 07:21, Andrew Morton wrote:
> "R. J. Wysocki" <[email protected]> wrote:
> > On Thursday 24 of June 2004 10:46, Andrew Morton wrote:
> > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.7/2.6
> > >.7-m m2/
> >
> > Well, I have alarmingly many problems with this patch (my system is a
> > dual Opteron - full config log attached):
> >
> > 1) There is an Oops at early boot time, caused probably by earlyprintk,
> > which makes the serial console stop working (the call trace goes too fast
> > to read and of course it does not go to the serial console ...).
>
> This is fixed, yes?

I think so. I haven't tried your patch yet (I managed to miss it ;-)), but
reversing the "+reduce-tlb-flushing-during-process-migration-2.patch"
helps here, so I assume the answer is "yes".

> > 2) There is an Oops when trying to unload the sound driver
> > (snd-intel8x0). At present I'm unable to grab it. because of 1).
>
> I'm not able to reproduce this. Can you grab a trace now?

This is related to the previous one, certainly. I'm unable to reproduce it
after reversing the "+reduce-tlb-flushing-during-process-migration-2.patch",
too.

The trace would probably look very much like that one:

Jun 24 22:16:40 chimera kernel: Unable to handle kernel NULL pointer
dereference at 0000000000000238 RIP:
Jun 24 22:16:40 chimera kernel: <ffffffff80119be4>{flush_tlb_mm+4}
Jun 24 22:16:40 chimera kernel: PML4 3f6a3067 PGD 3f6d7067 PMD 0
Jun 24 22:16:40 chimera kernel: Oops: 0000 [2] SMP
Jun 24 22:16:40 chimera kernel: CPU 0
Jun 24 22:16:40 chimera kernel: Modules linked in: parport_pc lp parport
usbserial snd_seq_oss snd_seq_midi_event snd_seq snd_pcm_oss snd_mixer_oss
snd_ioctl32 snd_intel8x0 snd_ac97_codec snd_pcm snd_timer snd_page_alloc
gameport snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore ohci1394
ieee1394 ehci_hcd tg3 ohci_hcd usblp usbcore dm_mod
Jun 24 22:16:40 chimera kernel: Pid: 8489, comm: kstopmachine Not tainted
2.6.7-mm2
Jun 24 22:16:40 chimera kernel: RIP: 0010:[flush_tlb_mm+4/176]
<ffffffff80119be4>{flush_tlb_mm+4}
Jun 24 22:16:40 chimera kernel: RIP: 0010:[<ffffffff80119be4>]
<ffffffff80119be4>{flush_tlb_mm+4}
Jun 24 22:16:40 chimera kernel: RSP: 0018:000001003efe5e88 EFLAGS: 00010216
Jun 24 22:16:40 chimera kernel: RAX: 0000000000000000 RBX: 000001003efe5e98
RCX: 000001003efe5ee8
Jun 24 22:16:40 chimera kernel: RDX: 000001003efe5e60 RSI: 000001003e4e2a70
RDI: 0000000000000000
Jun 24 22:16:40 chimera kernel: RBP: 000001003efe5f28 R08: 000001003efe4000
R09: 0000000000000001
Jun 24 22:16:40 chimera kernel: R10: 00000000ffffffff R11: 0000000000000000
R12: 000001002070f620
Jun 24 22:16:40 chimera kernel: R13: 000001003efe5ea8 R14: 0000000000000000
R15: 000001003e4e2a70
Jun 24 22:16:40 chimera kernel: FS: 0000002a95d330a0(0000)
GS:ffffffff80497280(0000) knlGS:0000000000000000
Jun 24 22:16:41 chimera kernel: CS: 0010 DS: 0018 ES: 0018 CR0:
000000008005003b
Jun 24 22:16:41 chimera kernel: CR2: 0000000000000238 CR3: 0000000000101000
CR4: 00000000000006e0
Jun 24 22:16:41 chimera kernel: Process kstopmachine (pid: 8489, threadinfo
000001003efe4000, task 000001003e4e2a70)
Jun 24 22:16:41 chimera kernel: Stack: 000001003efe5f28 ffffffff801319c4
0000000000000001 0000000000000246
Jun 24 22:16:41 chimera kernel: 000001003efe5ea8 000001003efe5ea8
0000010000000000 000001003e4e2a70
Jun 24 22:16:41 chimera kernel: 0000000000000000 0000000000000206
Jun 24 22:16:41 chimera kernel: Call
Trace:<ffffffff801319c4>{set_cpus_allowed+436}
<ffffffff80150e83>{stopmachine+35}
Jun 24 22:16:41 chimera kernel: <ffffffff8010f24f>{child_rip+8}
<ffffffff80150e60>{stopmachine+0}
Jun 24 22:16:41 chimera kernel: <ffffffff8010f247>{child_rip+0}
Jun 24 22:16:41 chimera kernel:
Jun 24 22:16:41 chimera kernel: Code: 48 8b 87 38 02 00 00 48 89 f9 48 89 04
24 65 8b 04 25 34 00
Jun 24 22:16:41 chimera kernel: RIP <ffffffff80119be4>{flush_tlb_mm+4} RSP
<000001003efe5e88>
Jun 24 22:16:41 chimera kernel: CR2: 0000000000000238

but I had only been able to get this:

Jun 24 23:20:20 chimera kernel: Unable to handle kernel NULL pointer
dereference at 0000000000000238 RIP:
Jun 24 23:20:20 chimera kernel: <ffffffff80119be4>{flush_tlb_mm+4}
Jun 24 23:20:20 chimera kernel: PML4 1e86a067 PGD 0
Jun 24 23:20:20 chimera kernel: Oops: 0000 [2] SMP

before the machine hanged solid after rmmod (the serial console doesn't work,
as I've already reported).

Yours,
rjw

----------------------------
For a successful technology, reality must take precedence over public
relations, for nature cannot be fooled.
-- Richard P. Feynman

2004-06-26 18:07:24

by Martin Knoblauch

[permalink] [raw]
Subject: Re: 2.6.7-mm2

[accidentially posted on linux-net :-(]

>> ...
>> bk-acpi.patch
>
>OK, ACPI seems to have progressed in a non-forward direction here.
>
>If anyone has weird problems, please do a `patch -p1 -R' of
>
>ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.7/2.6.7-mm2/broken-out/bk-acpi.patch
>
>USB doesn't come up:
Hi,

-mm2 has definitely introduced some weird behaviour related to ACPI
and Local-APIC. I reported similar probs already for -mm1. I now did
some more experiments.

Problem is that my HP/Omnibook-6100 hangs during boot when the kernel
config has local APIC enabled. Before 2.6.7-mm specifying "nolapic" on
the boot command would solve the problem. It still does for 2.6.7 and
2.6.7-bk6.

With 2.6.7-mm1/mm2 specifying "nolapic" no longer helps. The system
hangs at boot - just at a different spot than without "nolapic".

Without nolapic:

>>>
ACPI: Subsystem revision 20040326
ACPI: IRQ9 SCI: Edge set to Level Trigger.
ACPI-0179: *** Warning: The ACPI AML in your computer contains
errors, please nag the manufacturer to correct it.
ACPI-0182: *** Warning: Allowing relaxed access to fields; turn on
CONFIG_ACPI_DEBUG for details.
<<<

With "nolapic":

>>>
Checking if this processor honours the WP bit even in supervisor
mode... Ok.
Calibrating delay loop...
<<<

The only way to make the system boot again (except not enabling local
APIC in the kernel config :-) is to specify "acpi=off". Also, Len Brown
has a patch floating around that forces disabling of local APIC if it
was disabled initially by the BIOS (sometimes BIOS seems to know better
...). This patch still works. Apparently is does something different
than "nolapic".

So, I reverted th mm2 acpi-patch, but that seems not to be the
culprit.

Here is a collection of boot options that do not work:

-none-
nolapic
noapic
nolapic noapic
nolapic acpi=off
noapic nolapic acpi=off

Specifiying "acpi=off" works. Hope this gives some idea to someone.
".config" is included.

I do not care personally to much about local APIC on my notebook.
Still it would be fine if one could have it enabled in the config file.
Makes things a bit easier.

Cheers
Martin


=====
------------------------------------------------------
Martin Knoblauch
email: k n o b i AT knobisoft DOT de
www: http://www.knobisoft.de

2004-06-29 05:57:15

by Peter Lundkvist

[permalink] [raw]
Subject: Re: 2.6.7-mm2: random problems with mmap

Hi,

I have problems running cyrus lmtpd; it fails randomly after
fetching 30-50 mails. I have only seen this problem in
2.6.7-mm2 (-mm1 was ok, have not tested -mm3 yet).

/peter

Strace at failure:

open("/var/spool/cyrus/mail/p/user/peter/Linux kernel/cyrus.header", O_RDWR) = 12
fstat64(12, {st_mode=S_IFREG|0600, st_size=175, ...}) = 0
mmap2(NULL, 175, PROT_READ, MAP_SHARED, 12, 0) = 0x10000
rt_sigaction(SIGALRM, {0x8080300, [], SA_ONESHOT}, NULL, 8) = 0
alarm(100) = 0
fcntl64(12, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0
fstat64(12, {st_mode=S_IFREG|0600, st_size=175, ...}) = 0
stat64("/var/spool/cyrus/mail/p/user/peter/Linux kernel/cyrus.header", {st_mode=S_IFREG|0600, st_size=175, ...}) = 0
alarm(0) = 100
rt_sigaction(SIGALRM, {SIG_IGN}, NULL, 8) = 0
open("/var/spool/cyrus/mail/p/user/peter/Linux kernel/cyrus.index", O_RDWR) = 13
fstat64(13, {st_mode=S_IFREG|0600, st_size=2177784, ...}) = 0
mmap2(NULL, 2187264, PROT_READ, MAP_SHARED, 13, 0) = -1 ENOMEM (Cannot allocate memory)

map at time of failure:


00010000-00011000 r--s 00000000 03:0a 442939 /var/spool/cyrus/mail/p/user/peter/Linux kernel/cyrus.header
08048000-0810e000 r-xp 00000000 03:0a 1954693 /usr/lib/cyrus/bin/lmtpd
0810e000-0810f000 rw-p 000c6000 03:0a 1954693 /usr/lib/cyrus/bin/lmtpd
0810f000-0815c000 rw-p 0810f000 00:00 0
b6a4d000-b6a56000 r-xp 00000000 03:0a 1375569 /lib/tls/i686/cmov/libnss_files-2.3.2.so
b6a56000-b6a57000 rw-p 00008000 03:0a 1375569 /lib/tls/i686/cmov/libnss_files-2.3.2.so
b6a57000-b6a60000 r-xp 00000000 03:0a 1441139 /lib/tls/i686/cmov/libnss_nis-2.3.2.so
b6a60000-b6a61000 rw-p 00008000 03:0a 1441139 /lib/tls/i686/cmov/libnss_nis-2.3.2.so
b6a70000-b6a77000 r-xp 00000000 03:0a 1372610 /lib/tls/i686/cmov/libnss_compat-2.3.2.so
b6a77000-b6a78000 rw-p 00006000 03:0a 1372610 /lib/tls/i686/cmov/libnss_compat-2.3.2.so
b6af4000-b6af8000 r--s 00000000 03:0a 631004 /var/lib/cyrus/mailboxes.db
b6af8000-b6afe000 rw-s 00000000 03:0a 166401 /var/lib/cyrus/db/__db.005
b6afe000-b7a50000 rw-s 00000000 03:0a 57597 /var/lib/cyrus/db/__db.004
b7a50000-b7a68000 rw-s 00000000 03:0a 6192 /var/lib/cyrus/db/__db.003
b7a68000-b7aaa000 rw-s 00000000 03:0a 5293 /var/lib/cyrus/db/__db.002
b7aaa000-b7aac000 rw-s 00000000 03:0a 4811 /var/lib/cyrus/db/__db.001
b7aac000-b7aaf000 r-xp 00000000 03:0a 443116 /usr/lib/sasl2/libanonymous.so.2.0.18
b7aaf000-b7ab0000 rw-p 00002000 03:0a 443116 /usr/lib/sasl2/libanonymous.so.2.0.18
b7ad0000-b7ad4000 r-xp 00000000 03:0a 442951 /usr/lib/sasl2/libcrammd5.so.2.0.18
b7ad4000-b7ad5000 rw-p 00003000 03:0a 442951 /usr/lib/sasl2/libcrammd5.so.2.0.18
b7af5000-b7aff000 r-xp 00000000 03:0a 443097 /usr/lib/sasl2/libdigestmd5.so.2.0.18
b7aff000-b7b00000 rw-p 0000a000 03:0a 443097 /usr/lib/sasl2/libdigestmd5.so.2.0.18
b7b20000-b7b23000 r-xp 00000000 03:0a 528665 /usr/lib/sasl2/liblogin.so.2.0.18
b7b23000-b7b24000 rw-p 00003000 03:0a 528665 /usr/lib/sasl2/liblogin.so.2.0.18
b7b44000-b7b48000 r-xp 00000000 03:0a 1235682 /lib/tls/i686/cmov/libcrypt-2.3.2.so
b7b48000-b7b49000 rw-p 00004000 03:0a 1235682 /lib/tls/i686/cmov/libcrypt-2.3.2.so
b7b49000-b7b70000 rw-p b7b49000 00:00 0
b7b7f000-b7b82000 r-xp 00000000 03:0a 443105 /usr/lib/sasl2/libplain.so.2.0.18
b7b82000-b7b83000 rw-p 00003000 03:0a 443105 /usr/lib/sasl2/libplain.so.2.0.18
b7ba3000-b7baa000 r-xp 00000000 03:0a 622716 /usr/lib/sasl2/libntlm.so.2.0.18
b7baa000-b7bab000 rw-p 00007000 03:0a 622716 /usr/lib/sasl2/libntlm.so.2.0.18
b7bcb000-b7bd0000 r-xp 00000000 03:0a 178254 /usr/lib/sasl2/libsasldb.so.2.0.18
b7bd0000-b7bd1000 rw-p 00004000 03:0a 178254 /usr/lib/sasl2/libsasldb.so.2.0.18
b7bf1000-b7bf9000 r-xp 00000000 03:0a 443102 /usr/lib/sasl2/libotp.so.2.0.18
b7bf9000-b7bfc000 rw-p 00008000 03:0a 443102 /usr/lib/sasl2/libotp.so.2.0.18
b7c7d000-b7c7e000 rw-p b7c7d000 00:00 0
b7c7e000-b7c80000 r-xp 00000000 03:0a 1235688 /lib/tls/i686/cmov/libdl-2.3.2.so
b7c80000-b7c81000 rw-p 00001000 03:0a 1235688 /lib/tls/i686/cmov/libdl-2.3.2.so
b7c81000-b7db0000 r-xp 00000000 03:0a 1235678 /lib/tls/i686/cmov/libc-2.3.2.so
b7db0000-b7db8000 rw-p 0012f000 03:0a 1235678 /lib/tls/i686/cmov/libc-2.3.2.so
b7db8000-b7dbc000 rw-p b7db8000 00:00 0
b7dbc000-b7dce000 r-xp 00000000 03:0a 1235733 /lib/tls/i686/cmov/libnsl-2.3.2.so
b7dce000-b7dcf000 rw-p 00011000 03:0a 1235733 /lib/tls/i686/cmov/libnsl-2.3.2.so
b7dcf000-b7dd1000 rw-p b7dcf000 00:00 0
b7dd1000-b7dd8000 r-xp 00000000 03:0a 1467215 /lib/libwrap.so.0.7.6
b7dd8000-b7dd9000 rw-p 00006000 03:0a 1467215 /lib/libwrap.so.0.7.6
b7dd9000-b7dda000 rw-p b7dd9000 00:00 0
b7dda000-b7ec2000 r-xp 00000000 03:0a 1482802 /usr/lib/i686/cmov/libcrypto.so.0.9.7
b7ec2000-b7ed3000 rw-p 000e8000 03:0a 1482802 /usr/lib/i686/cmov/libcrypto.so.0.9.7
b7ed3000-b7ed7000 rw-p b7ed3000 00:00 0
b7ed7000-b7f05000 r-xp 00000000 03:0a 1484387 /usr/lib/i686/cmov/libssl.so.0.9.7
b7f05000-b7f08000 rw-p 0002d000 03:0a 1484387 /usr/lib/i686/cmov/libssl.so.0.9.7
b7f08000-b7fb1000 r-xp 00000000 03:0a 622722 /usr/lib/libdb3.so.3.0.2
b7fb1000-b7fb2000 rw-p 000a8000 03:0a 622722 /usr/lib/libdb3.so.3.0.2
b7fb2000-b7fc1000 r-xp 00000000 03:0a 1441157 /lib/tls/i686/cmov/libresolv-2.3.2.so
b7fc1000-b7fc2000 rw-p 0000f000 03:0a 1441157 /lib/tls/i686/cmov/libresolv-2.3.2.so
b7fc2000-b7fc5000 rw-p b7fc2000 00:00 0
b7fc5000-b7fd9000 r-xp 00000000 03:0a 172678 /usr/lib/libsasl2.so.2.0.18
b7fd9000-b7fda000 rw-p 00013000 03:0a 172678 /usr/lib/libsasl2.so.2.0.18
b7fe9000-b7fea000 rw-p b7fe9000 00:00 0
b7fea000-b8000000 r-xp 00000000 03:0a 1375576 /lib/ld-2.3.2.so
b8000000-b8001000 rw-p 00015000 03:0a 1375576 /lib/ld-2.3.2.so
bfff5000-c0000000 rwxp bfff5000 00:00 0
ffffe000-fffff000 ---p 00000000 00:00 0

ulimit -a:
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 4094
virtual memory (kbytes, -v) unlimited

2004-06-29 06:51:43

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.7-mm2: random problems with mmap

Peter Lundkvist <[email protected]> wrote:
>
> I have problems running cyrus lmtpd; it fails randomly after
> fetching 30-50 mails. I have only seen this problem in
> 2.6.7-mm2 (-mm1 was ok, have not tested -mm3 yet).

The "flexible-mmap" patch was rather broken. It was dropped for -mm3 and a
fixed version will be in -mm4.

2004-06-29 10:30:45

by Jesper Juhl

[permalink] [raw]
Subject: Re: 2.6.7-mm2: random problems with mmap

On Mon, 28 Jun 2004, Andrew Morton wrote:

> Peter Lundkvist <[email protected]> wrote:
> >
> > I have problems running cyrus lmtpd; it fails randomly after
> > fetching 30-50 mails. I have only seen this problem in
> > 2.6.7-mm2 (-mm1 was ok, have not tested -mm3 yet).
>
> The "flexible-mmap" patch was rather broken. It was dropped for -mm3 and a
> fixed version will be in -mm4.

Ahh, that could perhaps explain why I was getting strange errors from
ldconfig about being unable to mmap certain libraries when I was using
-mm2 (-mm3 works). I'll be sure to watch out for that behaviour with -mm4


--
Jesper Juhl <[email protected]>