Skip to contentSkip to conversation

2.6.9-rc1-mm5

PATCH In review Andrew Morton 20 participants 96 messages Sep 13, 2004 – Sep 16, 2004

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

Due to master.kernel.org being on the blink, 2.6.9-rc1-mm5 Is currently at

http://www.zip.com.au/~akpm/linux/patches/2.6.9-rc1-mm5/

and will later appear at

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.9-rc1/2.6.9-rc1-mm5/

Please check kernel.org before using zip.com.au.

- Added the `bk-scsi-target' tree to the -mm lineup. It is managed by James Bottomley

- Some enhancements to the ext3 block reservation code here. Please cc [email protected] on oops reports ;)

- There's a patch here which will cause warnings if a PCI device driver is removed without having called pci_disable_device(). Please try to cc the appropriate mailing list or maintainer when reporting any instances.

Changes since 2.6.9-rc1-mm4:

linus.patch
bk-acpi.patch
bk-agpgart.patch
bk-alsa.patch
bk-cpufreq.patch
bk-driver-core.patch
bk-ia64.patch
bk-ieee1394.patch
bk-input.patch
bk-netdev.patch
bk-pci.patch
bk-pnp.patch
bk-power.patch
bk-scsi.patch
bk-scsi-target.patch
bk-usb.patch
bk-watchdog.patch

External trees

-pkt_act-fix.patch -ksysfs-build-fix.patch -ppc-build-fix.patch -ppc64-allow-sd_nodes_per_domain-to-be-overridden.patch -ppc64-fix-hang-on-oprofile-shutdown.patch -ppc64-fix-__rw_yield-prototype.patch -ppc64-be-resilient-against-sysfs-pci-config-accesses.patch -ppc64-cut-down-paca-footprint.patch -ppc64-fix-boot-memory-reporting.patch -ppc64-fix-power5-js20-smp-init.patch -cleanup-fix-lost-ticks-handling-on-x86-64.patch -factor-out-common-asm-hardirqh-code.patch -scsi-qla2xxx-fix-inline-compile-errors.patch -add-pci_fixup_enable-pass.patch -cleanup-ptrace-stops-and-remove-notify_parent.patch -cleanup-ptrace-stops-and-remove-notify_parent-extra.patch -ptrace-api-preservation.patch
-nix-rusage_group.patch -i386-syscall-tracing-of-bogus-system-calls.patch -make-single-step-into-signal-delivery-stop-in-handler.patch -cdrom-range-fixes.patch
-vsxxxaac-fixups.patch
-disambiguate-espc-clones.patch
-allow-cluster-wide-flock.patch
-allow-cluster-wide-flock-update.patch
-filemap-read-fix.patch -fix-f_version-optimization-for-get_tgid_list.patch -kernel-sysfs-events-layer.patch
-centralize-some-nls-helpers.patch -remove-unused-sysctls-from-kernel-personalityc.patch -fs-compatc-rwsem-instead-of-bkl-around-ioctl32_hash_table.patch -small-wait_on_page_writeback_range-optimization.patch -3w-xxxxc-queue-depth.patch -md-correct-working_disk-counts-for-raid5-and-raid6.patch -knfsd-calls-to-break_lease-in-nfsd-should-be-o_nonblocking.patch -knfsd-return-eacces-instead-of-estale-for-certain-filehandle-lookup-failures.patch -knfsd-fix-incorrect-indentation-in-fh_verify.patch -nfsd4-support-acl_support-attribute.patch -knfsd-trivial-cleanup-of-nfs4statec.patch -nfsd4-could-leak-a-stateid-in-an-error-path.patch -nfsd4-postpone-release-of-stateowner-on-close.patch -nfsd4-store-current-tgid-instead-of-lockowner-hash-in-fl_pid.patch -knfsd-remove-redundant-initialization-in-nfsd4_lockt.patch -remove-in-kernel-init_module-cleanup_module-stubs.patch -remove-ext2_panic.patch
-s390-export-copy_in_user.patch -s390-minmax-removal-arch-s390-kernel-debugc.patch -s390-packed-stack-vs-cpu-hotplug.patch -s390-lcs-multicast-deadlock.patch -allow-i8042-register-location-override-2.patch -zlib_inflate-move-zlib_inflatesync-friends.patch -zlib_inflate-make-zlib_inflate_trees_fixed-generate-the-table.patch -ppc32-switch-arch-ppc-boot-to-lib-zlib_inflate.patch -ext3-dreference-of-sb-preceeds-check.patch -fbdev-speed-up-scrolling-of-tdfxfb.patch -fbdev-ppc-crash-and-other-fixes-for-rivafb.patch -fbcon-take-over-console-on-driver-registration.patch -fbdev-clean-up-framebuffer-initialization.patch -fbdev-add-module_init-and-fb_get_options-per-driver.patch -remove-bogus-memset-from-cpqfc-driver.patch -hpt366-ptr-use-before-null-check.patch -crypto-teac-xtea_encrypt-should-use-xtea_delta.patch -aio-dio-oops-fix.patch
-riscom8-build-fix.patch
-use-for_each_cpu-in-oprofile-code.patch -fix-oprofile-vfree-warning-on-error.patch -speed-up-oprofile-buffer-drain-code.patch -speed-up-oprofile-buffer-drain-code-fix.patch
-cdu31a-build-fix.patch
-synclinkc-kernel-janitor-changes.patch
-adfs-add-static.patch
-isofs-add-static.patch -correct-elf-section-used-for-out-of-line-spinlocks.patch -tsc-synchronisation-cleanup.patch
-add-static-in-affs.patch
-add-static-in-afs.patch
-add-static-in-befs.patch
-codemercs-io-warrior-support.patch -fat-use-hlist_head-for-fat_inode_hashtable-1-4.patch -fat-rewrite-the-cache-for-file-allocation-table-lookup.patch -fat-cache-lock-from-per-sb-to-per-inode-3-4.patch -fat-the-inode-hash-from-per-module-to-per-sb-4-4.patch -uml-avoid-using-elv_queue_empty.patch -uml-avoid-forcing-use-of-the-no-op-scheduler.patch -uml-correct-the-failure-path-in-start_io_thread.patch -fix-address_spacei_mmap-comment.patch -remove-mod_incdec_use_count-users-that-got-back-in.patch -dont-mention-mod_incdec_use_count-in-documentation.patch

Merged

+remove-set_fs-from-compat-sched-affinity-syscalls.patch

Remove the set_fs hack in the compat affinity calls.

+allow-compat-long-sized-bitmasks-in-affinity-code.patch

compat_sys_sched_getaffity() fix

+fix-schedstats-null-deref-in-sched_exec.patch

Fix an oops

+rock-fix.patch

Fix the rock.c driver

-es7000-subarch-update.patch
+2681-es7000-subarch-update.patch

New es7000 update

+exec-fix-posix-timers-leak-and-pending-signal-loss.patch

Fix some leaks

+fix-abi-in-set_mempolicy.patch

Fix up the numa memory policy stuff

+ksysfs-warning-fix.patch
+kobject_uevent-warning-fix.patch
+fix-smm-failures-on-e750x-systems.patch
+vsxxxaac-fixups.patch
+allow-i8042-register-location-override-2.patch
+tmscsim-build-fix.patch

Various fixes for various people's bk trees

+swsusp-documentation-update.patch +small-cleanups-for-swsusp.patch +swsusp-kill-crash-when-too-much-memory-is-free.patch +swsusp-progress-in-percent.patch +swsusp-clean-up-reading.patch +swsusp-another-simplification.patch +acpi-proc-simplify-error-handling.patch

swsusp stuff

+ppc64-lparcfg-fixes-for-processor-counts.patch +ppc64-lparcfg-whitespace-and-wordwrap-cleanup.patch +ppc64-remove-spinline-config-option.patch +ppc64-rtas-error-logs-can-appear-twice-in-dmesg.patch +ppc64-enable-numa-api.patch +ppc64-give-the-kernel-an-opd-section.patch +ppc64-use-nm-synthetic-where-available.patch +ppc64-clean-up-kernel-command-line-code.patch +ppc64-remove-unused-ppc64_calibrate_delay.patch +ppc64-remove-eeh-command-line-device-matching-code.patch +ppc64-use-early_param.patch +ppc64-restore-smt-enabled=off-kernel-command-line-option.patch +ppc64-enable-power5-low-power-mode-in-idle-loop.patch +ppc64-clean-up-idle-loop-code.patch +ppc64-remove-wno-uninitialized.patch +ppc64-fix-real-bugs-uncovered-by-wno-uninitialized-removal.patch +ppc64-fix-spurious-warnings-uncovered-by-wno-uninitialized-removal.patch +hvc-uninitialised-variable.patch +ppc64-improved-vsid-allocation-algorithm.patch +ppc64fix-missing-register-in-altivec-context-switch.patch +ppc32-remove-wno-uninitialized.patch +ppc32-pmac-cpufreq-for-ibook-2-600.patch

ppc[64] updates

-pid_max-fix.patch

Dropped - wli fixed this by other means.

+lockmeter.patch

Repaired lockmeter patch

+ext3-reservations-spelling-fixes.patch +ext3-reservations-renumber-the-ext3-reservations-ioctls.patch +ext3-reservations-remove-unneeded-declaration.patch +ext3-reservations-turn-ext3-per-sb-reservations-list-into-an-rbtree.patch +ext3-reservations-split-the-reserve_window-struct-into-two.patch +ext3-reservations-smp-protect-the-reservation-during-allocation.patch

ext3 block reservation enhancements: fix a few things and use an rbtree

+sched-trivial-sched-changes.patch +sched-add-cpu_down_prepare-notifier.patch +sched-integrate-cpu-hotplug-and-sched-domains.patch +sched-arch_destroy_sched_domains-warning-fix.patch +sched-sched-add-load-balance-flag.patch +sched-remove-disjoint-numa-domains-setup.patch +sched-make-domain-setup-overridable.patch +sched-make-domain-setup-overridable-rename.patch +sched-ia64-add-disjoint-numa-domain-support.patch +sched-fix-domain-debug-for-isolcpus.patch +sched-enable-sd_load_balance.patch +sched-hotplug-add-a-cpu_down_failed-notifier.patch +sched-use-cpu_down_failed-notifier.patch +sched-fixes-for-ia64-domain-setup.patch

CPU scheduler work.

-journal_clean_checkpoint_list-latency-fix.patch
-filemap_sync-latency-fix.patch
-pty_write-latency-fix.patch

Dropped these scheduling latency changes - let's see what Ingo's ones look like

propagate-pci_enable_device-errors.patch

+move-syscall-declarations-from-linux-keyh-2.patch +make-key-management-use-syscalls-not-prctls-build-fix.patch

Key management code updates

+cachefs-return-the-right-error-upon-invalid-mount.patch +remove-error-from-linux-cachefsh.patch +cachefs-warning-fix-2.patch +cachefs-linkage-fix-2.patch -cachefs-linkage-fix.patch

Various updates to cachefs

+cpusets-display-allowed-masks-in-proc-status.patch +cpusets-simplify-cpus_allowed-setting-in-attach.patch +cpusets-remove-useless-validation-check.patch +cpusets-fix-possible-race-in-cpuset_tasks_read.patch +cpusets-interoperate-with-hotplug-online-maps.patch

cpusets fixes/updates

+stop-reiser4-from-turning-itself-on-by-default.patch

reiser4 Kconfig fix

+kallsyms-fix-sparc-gibberish.patch

Fix endianness in the new kallsyms handling code

+m32r-update-for-profiling.patch +m32r-update-zone_sizes_init.patch +m32r-update-to-fix-compile-errors.patch +m32r-update-uaccessh.patch +m32r-update-checksum-functions.patch +m32r-update-cf-pcmcia-drivers.patch +m32r-update-headers-to-remove-useless-ibcs2-support-code.patch +atomic_inc_return-for-m32r-re.patch

m32r updates

-lighten-mmlist_lock.patch

Dropped - Hugh had second thoughts

+misrouted-irq-recovery-take-2-fix.patch
+misrouted-irq-recovery-docs.patch

Smarter workarounds for ia32 IRQ routing problems

+cfq-iosched-v2.patch

Major revamp of the CFQ IO scheduler

+dont-export-blkdev_open-and-def_blk_ops.patch +remove-dead-code-from-fs-mbcachec.patch +remove-posix_acl_masq_nfs_mode.patch +make-kmem_find_general_cachep-static-in-slabc.patch +dont-export-shmem_file_setup.patch +remove-pm_find-unexport-pm_send.patch +remove-dead-code-and-exports-from-signalc.patch +mark-md_interrupt_thread-static.patch +unexport-proc_sys_root.patch +mark-dq_list_lock-static.patch +unexport-is_subdir-and-shrink_dcache_anon.patch +unexport-devfs_mk_symlink.patch +unexport-do_execve-do_select.patch +unexport-exit_mm.patch +unexport-files_lock-and-put_filp.patch +remove-exports-from-audit-code.patch +unexport-f_delown.patch +unexport-lookup_create.patch +remove-wake_up_all_sync.patch +remove-set_fs_root-set_fs_pwd.patch

Little fixes/cleanups

+add-prctl-to-modify-current-comm.patch

Allow current->comm to be modified via prctl()

+md-remove-md_flush_all.patch +md-make-retry_list-non-global-in-raid1-and-multipath.patch +md-rationalise-issue_flush-function-in-md-personalities.patch +md-rationalise-unplug-functions-in-md.patch +md-make-sure-md-always-uses-rdev_dec_pending-properly.patch +md-fix-two-little-bugs-in-raid10.patch +md-modify-locking-when-accessing-subdevices-in-md.patch

RAID update

+blk-max_sectors-tunables.patch

Make the per-queue max_sectors tunable for latency purposes

+generic-acl-support-for-permission.patch +generic-acl-support-for-permission-fix.patch +generic-acl-support-for-permission-keyfs-fix.patch

ACL code consolidation

+device-driver-for-the-sgi-system-clock-mmtimer.patch

New device driver

+rtl8150-fix.patch

Net driver fix

+close-race-with-preempt-and-modular-pm_idle-callbacks.patch

Fix a PM idle-handler race

+cacheline-align-pagevec-structure.patch

Finctune the pagevec size

+hvcs-fix-to-replace-yield-with-tty_wait_until_sent-in.patch

HVCS driver fix

+fbdev-remove-unnecessary-banshee_wait_idle-from-tdfxfb.patch +fbdev-fix-logo-drawing-failure-for-vga16fb.patch +fbdev-initialize-i810fb-after-agpgart.patch +fbdev-fix-userland-compile-breakage.patch +fbcon-fix-setup-boot-options-of-fbcon.patch +fbdev-pass-struct-device-to-class_simple_device_add.patch +fbdev-add-tile-blitting-support.patch

fbdev update

+fix-for-spurious-interrupts-on-e100-resume.patch

e100 PM resume workaround

+r8169-miscalculation-of-available-tx-descriptors.patch +r8169-hint-for-tx-flow-control.patch +r8169-tso-support.patch +r8169-mac-identifier-extracted-from-realteks-driver-v22.patch

net driver update

+uml-remove-ghash.patch +uml-eliminate-useless-thread-field.patch +uml-fix-scheduler-race.patch +uml-fix-binary-layout-assumption.patch +uml-disable-pending-signals-across-a-reboot.patch +uml-refer-to-config_usermode-not-to-config_um.patch +uml-remove-commented-old-code-in-kconfig.patch +uml-smp-build-fix.patch +uml-remove-config_uml_smp.patch

UML updates

+highmem-flushes.patch

Missing dcache flushes in the bounce buffering code

+add-support-for-word-length-uart-registers.patch

Serial driver fix

+compile-fix-3c59x-for-eisa-without-pci.patch

Net driver build fix

+atomic_inc_return-for-i386.patch
+atomic_inc_return-for-x86_64.patch
+atomic_inc_return-for-arm.patch
+atomic_inc_return-for-arm26.patch
+atomic_inc_return-for-sparc64.patch

atomic_inc_return() for various architectures

+fix-uninitialized-warnings-in-mempolicyc.patch

Warning fixes

+online-cpu-with-maxcpus-option-panics.patch

Fix a crash with maxcpus=

+remove-dead-exports-from-fs-fat.patch +fat-use-hlist_head-for-fat_inode_hashtable-1-6.patch +fat-rewrite-the-cache-for-file-allocation-table-lookup.patch +fat-cache-lock-from-per-sb-to-per-inode-3-6.patch +fat-the-inode-hash-from-per-module-to-per-sb-4-6.patch +fat-fix-the-race-bitween-fat_free-and-fat_get_cluster.patch +fat-remove-debug_pr-6-6.patch

fatfs update

+small-linux-hardirqh-tweaks.patch

hardirq.h fixes

+bsd-disklabel-handle-more-than-8-partitions.patch

Fix BSD disklabels

+asm-softirqh-crept-back-in-h8300-and-sh64.patch

Remove unneeded files (again)

+mark-amiflop-non-unloadable.patch

amiflop.c fixlet

+thinkpad-fnfx-key-driver.patch

Thinkpad function key fixes

+netpoll-endian-fixes.patch

netpoll fixes on big-endian

+rewrite-alloc_pidmap.patch

Clean up alloc_pidmap()

+missing-pci_disable_device.patch

Add a warning to check that drivers have called pci_disable_device() (Uses CONFIG_DEBUG_KERNEL, and shouldn't).

+fbdev-radeonfb-remove-bogus-radeonfb_read-write.patch

radeonfb fix

+add-missing-pci_disable_device-for-pci-based-usb-hcd.patch +add-missing-pci_disable_device-for-e1000.patch

Add pci_disable_device() to a couple of drivers

+next_thread-bug-fixes.patch

Remove some suspect BUG()s from next_thread().

number of patches in -mm: 432
number of changesets in external trees: 554
number of patches in -mm only: 416
total patches: 970

All 432 patches:

linus.patch

remove-set_fs-from-compat-sched-affinity-syscalls.patch
Remove set_fs() from compat sched affinity syscalls

allow-compat-long-sized-bitmasks-in-affinity-code.patch
Allow compat long sized bitmasks in affinity code

distinct-tgid-tid-cpu-usage.patch
distinct tgid/tid CPU usage

fix-schedstats-null-deref-in-sched_exec.patch
fix schedstats null deref in sched_exec

rock-fix.patch
rock.c: fix double-kfree()

2681-es7000-subarch-update.patch
ES7000 subarch update

exec-fix-posix-timers-leak-and-pending-signal-loss.patch
exec: fix posix-timers leak and pending signal loss

fix-abi-in-set_mempolicy.patch
Fix ABI in set_mempolicy()

__set_page_dirty_nobuffers-mappings.patch
__set_page_dirty_nobuffers mappings

sysfs-backing-store-prepare-file_operations.patch
sysfs backing store - prepare sysfs_file_operations helpers

sysfs-backing-store-prepare-file_operations-fix.patch
fix oops with firmware loading

sysfs-backing-store-add-sysfs_dirent.patch
sysfs backing store - add sysfs_direct structure

sysfs-backing-store-use-sysfs_dirent-tree-in-removal.patch
sysfs backing store: use sysfs_dirent based tree in file removal

sysfs-backing-store-use-sysfs_dirent-tree-in-dir-file_operations.patch
sysfs backing store: use sysfs_dirent based tree in dir file operations

sysfs-backing-store-stop-pinning-dentries-inodes-for-leaves.patch
sysfs backing store: stop pinning dentries/inodes for leaf entries

bk-acpi.patch

acpi-compile-fix.patch
acpi-compile-fix

acpi-x86_64-build-fix.patch
acpi x86_64 build fix

bk-agpgart.patch

bk-alsa.patch

bk-cpufreq.patch

bk-driver-core.patch

ksysfs-warning-fix.patch
ksysfs warning fix

kobject_uevent-warning-fix.patch
kobject_uevent warning fix

bk-ia64.patch

bk-ieee1394.patch

bk-input.patch

fix-smm-failures-on-e750x-systems.patch
fix SMM failures on E750x systems

vsxxxaac-fixups.patch
vsxxxaa.c fixups

allow-i8042-register-location-override-2.patch
allow i8042 register location override #2

bk-netdev.patch

bk-pci.patch

bk-pnp.patch

bk-power.patch

bk-scsi.patch

bk-scsi-target.patch

tmscsim-build-fix.patch
tmscsim-build-fix

bk-usb.patch

bk-watchdog.patch

mm.patch
add -mmN to EXTRAVERSION

mm-swsusp-make-sure-we-do-not-return-to-userspace-where-image-is-on-disk.patch
-mm swsusp: make sure we do not return to userspace where image is on disk

mm-swsusp-copy_page-is-harmfull.patch
-mm swsusp: copy_page is harmfull

swsusp-fix-highmem.patch
swsusp: fix highmem

swsusp-do-not-disable-platform-swsusp-because-s4bios-is-available.patch
swsusp: do not disable platform swsusp because S4bios is available

swsusp-fix-default-powerdown-mode.patch
swsusp: fix default powerdown mode

mark-old-power-managment-as-deprecated-and-clean-it-up.patch
Mark old power managment as deprecated and clean it up

use-global-system_state-to-avoid-system-state-confusion.patch
Use global system_state to avoid system-state confusion

swsusp-error-do-not-oops-after-allocation-failure.patch
swsusp: do not oops after allocation failure

swsusp-documentation-update.patch
swsusp: Documentation update

small-cleanups-for-swsusp.patch
Small cleanups for swsusp

swsusp-kill-crash-when-too-much-memory-is-free.patch
swsusp: kill crash when too much memory is free

swsusp-progress-in-percent.patch
swsusp: progress in percent

swsusp-clean-up-reading.patch
swsusp: clean up reading

swsusp-another-simplification.patch
swsusp: another simplification

acpi-proc-simplify-error-handling.patch
acpi proc: simplify error handling

pegasus-fixes.patch
pegasus.c fixes

pointer-dereference-before-null-check-in-acpi-thermal-driver.patch
Pointer dereference before NULL check in ACPI thermal driver

network-packet-tracer-module-using-kprobes-interface.patch
Network packet tracer module using kprobes interface.

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-ga.patch fix for i386 single-step into sysenter fix TRAP_BAD_SYSCALL_EXITS on i386
add TRAP_BAD_SYSCALL_EXITS config for i386

kgdb-is-incompatible-with-kprobes.patch
kgdb-is-incompatible-with-kprobes

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
ia64 kgdb fix

kgdb-ia64-fixes.patch
kgdb: ia64 fixes

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

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

ppc64-lparcfg-fixes-for-processor-counts.patch
ppc64: lparcfg fixes for processor counts

ppc64-lparcfg-whitespace-and-wordwrap-cleanup.patch
ppc64: lparcfg whitespace and wordwrap cleanup.

ppc64-remove-spinline-config-option.patch
ppc64: remove SPINLINE config option

ppc64-rtas-error-logs-can-appear-twice-in-dmesg.patch
ppc64: RTAS error logs can appear twice in dmesg

ppc64-enable-numa-api.patch
ppc64: Enable NUMA API

ppc64-give-the-kernel-an-opd-section.patch
ppc64: give the kernel an OPD section

ppc64-use-nm-synthetic-where-available.patch
ppc64: use nm --synthetic where available

ppc64-clean-up-kernel-command-line-code.patch
ppc64: clean up kernel command line code

ppc64-remove-unused-ppc64_calibrate_delay.patch
ppc64: remove unused ppc64_calibrate_delay

ppc64-remove-eeh-command-line-device-matching-code.patch
ppc64: remove EEH command line device matching code

ppc64-use-early_param.patch
ppc64: use early_param

ppc64-restore-smt-enabled=off-kernel-command-line-option.patch
ppc64: restore smt-enabled=off kernel command line option

ppc64-enable-power5-low-power-mode-in-idle-loop.patch
ppc64: enable POWER5 low power mode in idle loop

ppc64-clean-up-idle-loop-code.patch
ppc64: clean up idle loop code

ppc64-remove-wno-uninitialized.patch
ppc64: remove -Wno-uninitialized

ppc64-fix-real-bugs-uncovered-by-wno-uninitialized-removal.patch
ppc64: Fix real bugs uncovered by -Wno-uninitialized removal

ppc64-fix-spurious-warnings-uncovered-by-wno-uninitialized-removal.patch
ppc64: Fix spurious warnings uncovered by -Wno-uninitialized removal

hvc-uninitialised-variable.patch
hvc: uninitialised variable

ppc64-improved-vsid-allocation-algorithm.patch
ppc64: improved VSID allocation algorithm

ppc64fix-missing-register-in-altivec-context-switch.patch
ppc64: fix missing register in altivec context switch

ppc32-remove-wno-uninitialized.patch
ppc32: remove -Wno-uninitialized

ppc32-pmac-cpufreq-for-ibook-2-600.patch
ppc32: pmac cpufreq for ibook 2 600

lazy-tsss-i-o-bitmap-copy-for-x86-64.patch
lazy TSS's I/O bitmap copy for x86-64

lazy-tsss-i-o-bitmap-copy-for-x86-64-fix.patch
lazy-tsss-i-o-bitmap-copy-for-x86-64-fix

ppc64-reloc_hide.patch

invalidate_inodes-speedup.patch
invalidate_inodes speedup
more invalidate_inodes speedup fixes

dev-mem-restriction-patch.patch
/dev/mem restriction patch

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

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

lockmeter.patch
lockmeter
ia64 CONFIG_LOCKMETER fix
lockmeter-build-fix
lockmeter for x86_64

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

ext3-reservations-spelling-fixes.patch
ext3 reservations: Spelling fixes

ext3-reservations-renumber-the-ext3-reservations-ioctls.patch
ext3 reservations: Renumber the ext3 reservations ioctls

ext3-reservations-remove-unneeded-declaration.patch
ext3 reservations: Remove unneeded declaration.

ext3-reservations-turn-ext3-per-sb-reservations-list-into-an-rbtree.patch
ext3 reservations: Turn ext3 per-sb reservations list into an rbtree.

ext3-reservations-split-the-reserve_window-struct-into-two.patch
ext3 reservations: Split the "reserve_window" struct into two

ext3-reservations-smp-protect-the-reservation-during-allocation.patch
ext3 reservations: SMP-protect the reservation during allocation

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

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
From: Mikael Pettersson <[email protected]>
Subject: [PATCH][6/6] perfctr-2.7.3 for 2.6.7-rc1-mm1: misc

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_tests build fix
perfctr x86 init bug
perfctr: K8 fix for internal benchmarking code perfctr x86 update

perfctr-prescott-fix.patch
Prescott fix for perfctr

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
perfctr update 4/6: PPC32 cleanups
perfctr ppc32 buglet fix

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 update 6/6: misc minor cleanups
perfctr update 3/6: __user annotations perfctr-cpus_complement-fix
perfctr cpumask cleanup
perfctr SMP hang fix

make-perfctr_virtual-default-in-kconfig-match-recommendation.patch
Make PERFCTR_VIRTUAL default in Kconfig match recommendation in help text

perfctr-ifdef-cleanup.patch
perfctr ifdef cleanup

perfctr-update-2-6-kconfig-related-updates.patch
perfctr update 2/6: Kconfig-related updates

perfctr-update-5-6-reduce-stack-usage.patch
perfctr update 5/6: reduce stack usage

perfctr-low-level-documentation.patch
perfctr low-level documentation
perfctr documentation update

perfctr-inheritance-1-3-driver-updates.patch
perfctr inheritance 1/3: driver updates
perfctr inheritance illegal sleep bug

perfctr-inheritance-2-3-kernel-updates.patch
perfctr inheritance 2/3: kernel updates

perfctr-inheritance-3-3-documentation-updates.patch
perfctr inheritance 3/3: documentation updates

perfctr-inheritance-locking-fix.patch
perfctr inheritance locking fix

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

sched-trivial-sched-changes.patch
sched: trivial sched changes

sched-add-cpu_down_prepare-notifier.patch
sched: add CPU_DOWN_PREPARE notifier

sched-integrate-cpu-hotplug-and-sched-domains.patch
sched: integrate cpu hotplug and sched domains

sched-arch_destroy_sched_domains-warning-fix.patch
sched: arch_destroy_sched_domains warning fix

sched-sched-add-load-balance-flag.patch
sched: sched add load balance flag

sched-remove-disjoint-numa-domains-setup.patch
sched: remove disjoint NUMA domains setup

sched-make-domain-setup-overridable.patch
sched: make domain setup overridable

sched-make-domain-setup-overridable-rename.patch
sched-make-domain-setup-overridable: rename IDLE

sched-ia64-add-disjoint-numa-domain-support.patch
sched: IA64 add disjoint NUMA domain support

sched-fix-domain-debug-for-isolcpus.patch
sched: fix domain debug for isolcpus

sched-enable-sd_load_balance.patch
sched: enable SD_LOAD_BALANCE

sched-hotplug-add-a-cpu_down_failed-notifier.patch
sched: hotplug add a CPU_DOWN_FAILED notifier

sched-use-cpu_down_failed-notifier.patch
sched: use CPU_DOWN_FAILED notifier

sched-fixes-for-ia64-domain-setup.patch
sched: fixes for ia64 domain setup

nicksched.patch
nicksched

nicksched-sched_fifo-fix.patch
nicksched: SCHED_FIFO fix

sched-smtnice-fix.patch
sched: SMT nice fix

ext3_bread-cleanup.patch
ext3_bread() cleanup

pcmcia-implement-driver-model-support.patch
pcmcia: implement driver model support

pcmcia-update-network-drivers.patch
pcmcia: update network drivers

pcmcia-update-wireless-drivers.patch
pcmcia: update wireless drivers

pcmcia-fix-eject-lockup.patch
pcmcia: fix eject lockup

pcmcia-add-hotplug-support.patch
pcmcia: add *hotplug support

linux-2.6.8.1-49-rpc_workqueue.patch
nfs: RPC: Convert rpciod into a work queue for greater flexibility

linux-2.6.8.1-50-rpc_queue_lock.patch
nfs: RPC: Remove the rpc_queue_lock global spinlock

dvdrw-support-for-267-bk13.patch
DVD+RW support for 2.6.7-bk13

packet-writing-credits.patch
packet-writing: add credits

cdrw-packet-writing-support-for-267-bk13.patch
CDRW packet writing support
packet: remove #warning
packet writing: door unlocking fix
pkt_lock_door() warning fix
Fix race in pktcdvd kernel thread handling
Fix open/close races in pktcdvd
packet writing: review fixups
Remove pkt_dev from struct pktcdvd_device
packet writing: convert to seq_file

dvd-rw-packet-writing-update.patch
Packet writing support for DVD-RW and DVD+RW discs. Get blockdev size right in pktcdvd after switching discs

packet-writing-docco.patch
packet writing documentation
Trivial CDRW packet writing doc update

control-pktcdvd-with-an-auxiliary-character-device.patch
Control pktcdvd with an auxiliary character device
Subject: Re: 2.6.8-rc2-mm2 control-pktcdvd-with-an-auxiliary-character-device-fix

simplified-request-size-handling-in-cdrw-packet-writing.patch
Simplified request size handling in CDRW packet writing

fix-setting-of-maximum-read-speed-in-cdrw-packet-writing.patch
Fix setting of maximum read speed in CDRW packet writing

packet-writing-reporting-fix.patch
Packet writing reporting fixes

speed-up-the-cdrw-packet-writing-driver.patch
Speed up the cdrw packet writing driver

packet-writing-avoid-bio-hackery.patch
packet writing: avoid BIO hackery

cdrom-buffer-size-fix.patch
cdrom: buffer sizing fix

cpufreq-driver-for-nforce2-kernel-267.patch
cpufreq driver for nForce2

allow-modular-ide-pnp.patch
allow modular ide-pnp

create-nodemask_t.patch
Create nodemask_t
nodemask fix
nodemask build fix

b44-add-47xx-support.patch
b44: add 47xx support

allow-x86_64-to-reenable-interrupts-on-contention.patch
Allow x86_64 to reenable interrupts on contention

serial-cs-and-unusable-port-size-ranges.patch
serial-cs and unusable port size ranges

add-support-for-it8212-ide-controllers.patch
Add support for IT8212 IDE controllers

i386-hotplug-cpu.patch
i386 Hotplug CPU

hotplug-cpu-fix-apic-queued-timer-vector-race.patch
Hotplug cpu: Fix APIC queued timer vector race

hotplug-cpu-move-cpu_online_map-clear-to-__cpu_disable.patch
Hotplug cpu: Move cpu_online_map clear to __cpu_disable

igxb-speedup.patch
igxb speedup

serialize-access-to-ide-devices.patch
serialize access to ide devices

remove-unconditional-pci-acpi-irq-routing.patch
remove unconditional PCI ACPI IRQ routing

propagate-pci_enable_device-errors.patch
propagate pci_enable_device() errors

disable-atykb-warning.patch
disable atykb "too many keys pressed" warning

add-some-key-management-specific-error-codes.patch
Add some key management specific error codes

keys-new-error-codes-for-alpha-mips-pa-risc-sparc-sparc64.patch
keys: new error codes for Alpha, MIPS, PA-RISC, Sparc & Sparc64

implement-in-kernel-keys-keyring-management.patch
implement in-kernel keys & keyring management
keys build fix
keys & keyring management update patch implement-in-kernel-keys-keyring-management-update-build-fix implement-in-kernel-keys-keyring-management-update-build-fix-2 key management patch cleanup

make-key-management-code-use-new-the-error-codes.patch
Make key management code use new the error codes

keys-permission-fix.patch
keys: permission fix

keys-keyring-management-keyfs-patch.patch
keys & keyring management: keyfs patch

keyfs-build-fix.patch
keyfs build fix

implement-in-kernel-keys-keyring-management-afs-workaround.patch
implement-in-kernel-keys-keyring-management afs workaround

support-supplementary-information-for-request-key.patch
Support supplementary information for request-key

make-key-management-use-syscalls-not-prctls.patch
Make key management use syscalls not prctls

move-syscall-declarations-from-linux-keyh-2.patch
Move syscall declarations from linux/key.h #2

make-key-management-use-syscalls-not-prctls-build-fix.patch
make-key-management-use-syscalls-not-prctls build fix

export-file_ra_state_init-again.patch
Export file_ra_state_init() again

cachefs-filesystem.patch
CacheFS filesystem

cachefs-return-the-right-error-upon-invalid-mount.patch
CacheFS: return the right error upon invalid mount

remove-error-from-linux-cachefsh.patch
Remove #error from linux/cachefs.h

cachefs-warning-fix-2.patch
cachefs warning fix 2

cachefs-linkage-fix-2.patch
cachefs linkage fix

cachefs-build-fix.patch
cachefs build fix

cachefs-documentation.patch
CacheFS documentation

add-page-becoming-writable-notification.patch
Add page becoming writable notification

provide-a-filesystem-specific-syncable-page-bit.patch
Provide a filesystem-specific sync'able page bit

provide-a-filesystem-specific-syncable-page-bit-fix.patch
provide-a-filesystem-specific-syncable-page-bit-fix

make-afs-use-cachefs.patch
Make AFS use CacheFS

ide-probe.patch
ide probe

268-rc3-jffs2-unable-to-read-filesystems.patch
jffs2 unable to read filesystems

qlogic-isp2x00-remove-needless-busyloop.patch
QLogic ISP2x00: remove needless busyloop

jffs2-mount-options-discarded.patch
JFFS2 mount options discarded

assign_irq_vector-section-fix.patch
assign_irq_vector __init section fix

find_isa_irq_pin-should-not-be-__init.patch
find_isa_irq_pin should not be __init

kexec-i8259-shutdowni386.patch
kexec: i8259-shutdown.i386

kexec-i8259-shutdown-x86_64.patch
kexec: x86_64 i8259 shutdown

kexec-apic-virtwire-on-shutdowni386patch.patch
kexec: apic-virtwire-on-shutdown.i386.patch

kexec-apic-virtwire-on-shutdownx86_64.patch
kexec: apic-virtwire-on-shutdown.x86_64

kexec-ioapic-virtwire-on-shutdowni386.patch
kexec: ioapic-virtwire-on-shutdown.i386

kexec-ioapic-virtwire-on-shutdownx86_64.patch
kexec: ioapic-virtwire-on-shutdown.x86_64

kexec-e820-64bit.patch
kexec: e820-64bit

kexec-kexec-generic.patch
kexec: kexec-generic

kexec-machine_shutdownx86_64.patch
kexec: machine_shutdown.x86_64

kexec-kexecx86_64.patch
kexec: kexec.x86_64

kexec-machine_shutdowni386.patch
kexec: machine_shutdown.i386

kexec-kexeci386.patch
kexec: kexec.i386

kexec-use_mm.patch
kexec: use_mm

kexec-kexecppc.patch
kexec: kexec.ppc

kexec-ppc-kexec-kconfig-misplacement.patch
kexec ppc KEXEC Kconfig misplacement

new-bitmap-list-format-for-cpusets.patch
new bitmap list format (for cpusets)

cpusets-big-numa-cpu-and-memory-placement.patch
cpusets - big numa cpu and memory placement

cpusets-dont-export-proc_cpuset_operations.patch
Cpusets - Dont export proc_cpuset_operations

cpusets-display-allowed-masks-in-proc-status.patch
cpusets: display allowed masks in proc status

cpusets-simplify-cpus_allowed-setting-in-attach.patch
cpusets: simplify cpus_allowed setting in attach

cpusets-remove-useless-validation-check.patch
cpusets: remove useless validation check

cpusets-config_cpusets-depends-on-smp.patch
Cpusets: CONFIG_CPUSETS depends on SMP

cpusets-tasks-file-simplify-format-fixes.patch
Cpusets tasks file: simplify format, fixes

cpusets-fix-possible-race-in-cpuset_tasks_read.patch
cpusets: fix possible race in cpuset_tasks_read()

cpusets-simplify-memory-generation.patch
Cpusets: simplify memory generation

cpusets-interoperate-with-hotplug-online-maps.patch
cpusets: interoperate with hotplug online maps

reiser4-sb_sync_inodes.patch
reiser4: vfs: add super_operations.sync_inodes()

reiser4-sb_sync_inodes-cleanup.patch
reiser4-sb_sync_inodes-cleanup

reiser4-allow-drop_inode-implementation.patch
reiser4: export vfs inode.c symbols

reiser4-allow-drop_inode-implementation-cleanup.patch
reiser4-allow-drop_inode-implementation-cleanup

reiser4-truncate_inode_pages_range.patch
reiser4: vfs: add truncate_inode_pages_range()

reiser4-truncate_inode_pages_range-cleanup.patch
reiser4-truncate_inode_pages_range-cleanup

reiser4-export-remove_from_page_cache.patch
reiser4: export pagecache add/remove functions to modules

reiser4-export-page_cache_readahead.patch
reiser4: export page_cache_readahead to modules

reiser4-reget-page-mapping.patch
reiser4: vfs: re-check page->mapping after calling try_to_release_page()

reiser4-rcu-barrier.patch
reiser4: add rcu_barrier() synchronization point

reiser4-rcu-barrier-fix.patch
reiser4-rcu-barrier fix

reiser4-export-inode_lock.patch
reiser4: export inode_lock to modules

reiser4-export-inode_lock-cleanup.patch
reiser4-export-inode_lock-cleanup

reiser4-export-pagevec-funcs.patch
reiser4: export pagevec functions to modules

reiser4-export-pagevec-funcs-cleanup.patch
reiser4-export-pagevec-funcs-cleanup

reiser4-export-radix_tree_preload.patch
reiser4: export radix_tree_preload() to modules

reiser4-radix-tree-tag.patch
reiser4: add new radix tree tag

reiser4-radix_tree_lookup_slot.patch
reiser4: add radix_tree_lookup_slot()

reiser4-aliased-dir.patch
reiser4: vfs: handle aliased directories

reiser4-kobject-umount-race.patch
reiser4: introduce filesystem kobjects

reiser4-kobject-umount-race-cleanup.patch
reiser4-kobject-umount-race-cleanup

reiser4-perthread-pages.patch
reiser4: per-thread page pools

reiser4-unstatic-kswapd.patch
reiser4: make kswapd() unstatic for debug

reiser4-include-reiser4.patch
reiser4: add to build system

reiser4-4kstacks-fix.patch
resier4-4kstacks-fix

stop-reiser4-from-turning-itself-on-by-default.patch
Stop reiser4 from turning itself on by default

reiser4-doc.patch
reiser4: documentation

reiser4-doc-update.patch
Update Documentation/Changes for reiser4

reiser4-only.patch
reiser4: main fs

reiser4-debug-build-fix.patch
reiser4-debug-build-fix

reiser4-prefetch-warning-fix.patch
reiser4: prefetch warning fix

reiser4-mode-fix.patch
reiser4: mode type fix

reiser4-get_context_ok-warning-fixes.patch
reiser4: get_context_ok() warning fixes

reiser4-remove-debug.patch
resier4: remove debug stuff

reiser4-spinlock-debugging-build-fix-2.patch
reiser4-spinlock-debugging-build-fix-2

reiser4-sparc64-build-fix.patch
reiser4 sparc64 build fix

sys_reiser4-sparc64-build-fix.patch
sys_reiser4 sparc64 build fix

reiser4-printk-warning-fixes.patch
reiser4 printk warning fixes

add-acpi-based-floppy-controller-enumeration.patch
Add ACPI-based floppy controller enumeration.

add-acpi-based-floppy-controller-enumeration-fix.patch
add-acpi-based-floppy-controller-enumeration fix

update-acpi-floppy-enumeration.patch
update ACPI floppy enumeration

possible-dcache-bug-debugging-patch.patch
Possible dcache BUG: debugging patch

kallsyms-data-size-reduction--lookup-speedup.patch
kallsyms data size reduction / lookup speedup

inconsistent-kallsyms-fix.patch
Inconsistent kallsyms fix

kallsyms-correct-type-char-in-proc-kallsyms.patch
kallsyms: correct type char in /proc/kallsyms

kallsyms-fix-sparc-gibberish.patch
kallsyms: fix sparc gibberish

tioccons-security.patch
TIOCCONS security

fix-process-start-times.patch
Fix reporting of process start times

fix-comment-in-include-linux-nodemaskh.patch
Fix comment in include/linux/nodemask.h

x86-build-issue-with-software-suspend-code.patch
Fix x86 build issue with software suspend code

hpt366c-wrong-timings-used-since-268.patch
hpt366.c: wrong timings

move-waitqueue-functions-to-kernel-waitc.patch
move waitqueue functions to kernel/wait.c

standardize-bit-waiting-data-type.patch
standardize bit waiting data type

provide-a-filesystem-specific-syncable-page-bit-fix-2.patch
provide-a-filesystem-specific-syncable-page-bit-fix-2

consolidate-bit-waiting-code-patterns.patch
consolidate bit waiting code patterns
consolidate-bit-waiting-code-patterns-cleanup
__wait_on_bit-fix

eliminate-bh-waitqueue-hashtable.patch
eliminate bh waitqueue hashtable

eliminate-bh-waitqueue-hashtable-fix.patch
wait_on_bit_lock() must test_and_set_bit(), not test_bit()

eliminate-inode-waitqueue-hashtable.patch
eliminate inode waitqueue hashtable

move-wait-ops-contention-case-completely-out-of-line.patch
move wait ops' contention case completely out of line

reduce-number-of-parameters-to-__wait_on_bit-and-__wait_on_bit_lock.patch
reduce number of parameters to __wait_on_bit() and __wait_on_bit_lock()

document-wake_up_bits-requirement-for-preceding-memory-barriers.patch
document wake_up_bit()'s requirement for preceding memory barriers

3c59x-pm-fix.patch
3c59x: enable power management unconditionally

serial-mpsc-driver.patch
Serial MPSC driver

serial-add-support-for-non-standard-xtals-to-16c950-driver.patch
serial: add support for non-standard XTALs to 16c950 driver

add-support-for-possio-gcc-aka-pcmcia-siemens-mc45.patch
Add support for Possio GCC AKA PCMCIA Siemens MC45

searching-for-parameters-in-make-menuconfig.patch
searching for parameters in 'make menuconfig'

menuconfig-regex-search-dependencies.patch
menuconfig: regex search + dependencies

add-smc91x-ethernet-for-lpd7a40x.patch
add SMC91x ethernet for LPD7A40X

m32r-base.patch
m32r architecture

m32r-update-for-profiling.patch
m32r: update for profiling

m32r-update-zone_sizes_init.patch
m32r: update zone_sizes_init()

m32r-update-to-fix-compile-errors.patch
m32r: update to fix compile errors

m32r-update-uaccessh.patch
m32r: update uaccess.h

m32r-update-checksum-functions.patch
m32r: update checksum functions

m32r-update-cf-pcmcia-drivers.patch
m32r: update CF/PCMCIA drivers

m32r-update-headers-to-remove-useless-ibcs2-support-code.patch
m32r: update headers to remove useless iBCS2 support code

atomic_inc_return-for-m32r-re.patch
atomic_inc_return for m32r

m32r-change-from-export_symbol_novers-to-export_symbol.patch
m32r: change from EXPORT_SYMBOL_NOVERS to EXPORT_SYMBOL

m32r-modify-sys_ipc-to-remove-useless-ibcs2-support-code.patch
m32r: modify sys_ipc() to remove useless iBCS2 support code

m32r-add-elf-machine-code.patch
m32r: add ELF machine code

m32r-upgrade-to-2681-kernel.patch
m32r: upgrade to 2.6.8.1 kernel

m32r-support-a-new-bootloader-m32r-g00ff.patch
m32r: support a new bootloader "m32r-g00ff"

m32r-modify-io-routines-for-m32700ut-cf-access.patch
m32r: modify IO routines for m32700ut CF access

vm-pageout-throttling.patch
vm: pageout throttling

fix-race-in-sysfs_read_file-and-sysfs_write_file.patch
Fix race in sysfs_read_file() and sysfs_write_file()

possible-race-in-sysfs_read_file-and-sysfs_write_file-update.patch
Possible race in sysfs_read_file() and sysfs_write_file()

md-add-interface-for-userspace-monitoring-of-events.patch
md: add interface for userspace monitoring of events.

lazy-tsss-i-o-bitmap-copy-for-i386.patch
lazy TSS's I/O bitmap copy for i386

pnpbios-parser-bugfix.patch
pnpbios parser bugfix

unreachable-code-in-ext3_direct_io.patch
unreachable code in ext3_direct_IO()

fix-for-nforce2-secondary-ide-getting-wrong-irq.patch
Fix for NForce2 secondary IDE getting wrong IRQ

revert-allow-oem-written-modules-to-make-calls-to-ia64-oem-sal-functions.patch
revert "allow OEM written modules to make calls to ia64 OEM SAL functions"

shmem-dont-slab_hwcache_align.patch
shmem: don't SLAB_HWCACHE_ALIGN

shmem-inodes-and-links-need-lowmem.patch
shmem: inodes and links need lowmem

shmem-no-sbinfo-for-shm-mount.patch
shmem: no sbinfo for shm mount

shmem-no-sbinfo-for-tmpfs-mount.patch
shmem: no sbinfo for tmpfs mount?

shmem-avoid-the-shmem_inodes-list.patch
shmem: avoid the shmem_inodes list

shmem-rework-majmin-and-zero_page.patch
shmem: rework majmin and ZERO_PAGE

shmem-copyright-file_setup-trivia.patch
shmem: Copyright file_setup trivia

allocate-correct-amount-of-memory-for-pid-hash.patch
Allocate correct amount of memory for pid hash

misrouted-irq-recovery-take-2.patch
Misrouted IRQ recovery, take 2

misrouted-irq-recovery-take-2-cleanup.patch
misrouted-irq-recovery-take-2 cleanup

misrouted-irq-recovery-take-2-fix.patch
misrouted-irq-recovery-take-2 fix

misrouted-irq-recovery-docs.patch
misrouted-irq-recovery documentation

explicity-align-tss-stack.patch
explicity align tss->stack

check-checksums-for-bnep.patch
Check checksums for BNEP

remember-to-check-return-value-from-__copy_to_user-in.patch
__copy_to_user() check in cdrom_read_cdda_old()

cfq-iosched-v2.patch
CFQ iosched v2

dont-export-blkdev_open-and-def_blk_ops.patch
don't export blkdev_open and def_blk_ops

remove-dead-code-from-fs-mbcachec.patch
remove dead code from fs/mbcache.c

remove-posix_acl_masq_nfs_mode.patch
remove posix_acl_masq_nfs_mode

make-kmem_find_general_cachep-static-in-slabc.patch
make kmem_find_general_cachep static in slab.c

dont-export-shmem_file_setup.patch
don't export shmem_file_setup

remove-pm_find-unexport-pm_send.patch
remove pm_find, unexport pm_send

remove-dead-code-and-exports-from-signalc.patch
remove dead code and exports from signal.c

mark-md_interrupt_thread-static.patch
mark md_interrupt_thread static

unexport-proc_sys_root.patch
unexport proc_sys_root

mark-dq_list_lock-static.patch
mark dq_list_lock static

unexport-is_subdir-and-shrink_dcache_anon.patch
unexport is_subdir and shrink_dcache_anon

unexport-devfs_mk_symlink.patch
unexport devfs_mk_symlink

unexport-do_execve-do_select.patch
unexport do_execve/do_select

unexport-exit_mm.patch
unexport exit_mm

unexport-files_lock-and-put_filp.patch
unexport files_lock and put_filp

remove-exports-from-audit-code.patch
remove exports from audit code

unexport-f_delown.patch
unexport f_delown

unexport-lookup_create.patch
unexport lookup_create

remove-wake_up_all_sync.patch
remove wake_up_all_sync

remove-set_fs_root-set_fs_pwd.patch
remove set_fs_root/set_fs_pwd

add-prctl-to-modify-current-comm.patch
Add prctl to modify current->comm

md-remove-md_flush_all.patch
md: remove md_flush_all

md-make-retry_list-non-global-in-raid1-and-multipath.patch
md: make retry_list non-global in raid1 and multipath

md-rationalise-issue_flush-function-in-md-personalities.patch
md: rationalise issue_flush function in md personalities

md-rationalise-unplug-functions-in-md.patch
md: rationalise unplug functions in md

md-make-sure-md-always-uses-rdev_dec_pending-properly.patch
md: make sure md always uses rdev_dec_pending properly

md-fix-two-little-bugs-in-raid10.patch
md: fix two little bugs in raid10

md-modify-locking-when-accessing-subdevices-in-md.patch
md: modify locking when accessing subdevices in md

blk-max_sectors-tunables.patch
blk: max_sectors tunables

generic-acl-support-for-permission.patch
generic acl support for ->permission

generic-acl-support-for-permission-fix.patch
generic acl support for ->permission fix

generic-acl-support-for-permission-keyfs-fix.patch
generic-acl-support-for-permission-keyfs-fix

device-driver-for-the-sgi-system-clock-mmtimer.patch
device driver for the SGI system clock, mmtimer

rtl8150-fix.patch
rtl8150 fix

close-race-with-preempt-and-modular-pm_idle-callbacks.patch
Close race with preempt and modular pm_idle callbacks

cacheline-align-pagevec-structure.patch
Adjust align pagevec structure

hvcs-fix-to-replace-yield-with-tty_wait_until_sent-in.patch
HVCS fix to replace yield with tty_wait_until_sent in hvcs_close

fbdev-remove-unnecessary-banshee_wait_idle-from-tdfxfb.patch
fbdev: remove unnecessary banshee_wait_idle from tdfxfb

fbdev-fix-logo-drawing-failure-for-vga16fb.patch
fbdev: fix logo drawing failure for vga16fb

fbdev-initialize-i810fb-after-agpgart.patch
fbdev: Initialize i810fb after agpgart

fbdev-fix-userland-compile-breakage.patch
fbdev: Fix userland compile breakage

fbcon-fix-setup-boot-options-of-fbcon.patch
fbcon: Fix setup boot options of fbcon

fbdev-pass-struct-device-to-class_simple_device_add.patch
fbdev: Pass struct device to class_simple_device_add

fbdev-add-tile-blitting-support.patch
fbdev: Add Tile Blitting support

fix-for-spurious-interrupts-on-e100-resume.patch
Fix for spurious interrupts on e100 resume

r8169-miscalculation-of-available-tx-descriptors.patch
r8169: miscalculation of available Tx descriptors

r8169-hint-for-tx-flow-control.patch
r8169: hint for Tx flow control

r8169-tso-support.patch
r8169: TSO support.

r8169-mac-identifier-extracted-from-realteks-driver-v22.patch
r8169: Mac identifier extracted from Realtek's driver v2.2

uml-remove-ghash.patch
uml: remove ghash.h

uml-eliminate-useless-thread-field.patch
uml: eliminate useless thread field

uml-fix-scheduler-race.patch
uml: fix scheduler race

uml-fix-binary-layout-assumption.patch
uml: fix binary layout assumption

uml-disable-pending-signals-across-a-reboot.patch
uml: disable pending signals across a reboot

uml-refer-to-config_usermode-not-to-config_um.patch
uml: refer to CONFIG_USERMODE, not to CONFIG_UM

uml-remove-commented-old-code-in-kconfig.patch
uml: remove commented old code in Kconfig

uml-smp-build-fix.patch
uml: smp build fix

uml-remove-config_uml_smp.patch
uml: remove CONFIG_UML_SMP

highmem-flushes.patch
block highmem flushes

add-support-for-word-length-uart-registers.patch
Add support for word-length UART registers

compile-fix-3c59x-for-eisa-without-pci.patch
compile fix 3c59x for eisa without pci

atomic_inc_return-for-i386.patch
atomic_inc_return() for i386

atomic_inc_return-for-x86_64.patch
atomic_inc_return() for x86_64

atomic_inc_return-for-arm.patch
atomic_inc_return() for arm

atomic_inc_return-for-arm26.patch
atomic_inc_return() for arm26

atomic_inc_return-for-sparc64.patch
atomic_inc_return() for sparc64

show-aggregate-per-process-counters-in-proc-pid-stat-2.patch
show aggregate per-process counters in /proc/PID/stat 2

fix-uninitialized-warnings-in-mempolicyc.patch
fix uninitialized warnings in mempolicy.c

online-cpu-with-maxcpus-option-panics.patch
Online CPU with maxcpus option panics

remove-dead-exports-from-fs-fat.patch
remove dead exports from fs/fat/

fat-use-hlist_head-for-fat_inode_hashtable-1-6.patch
FAT: use hlist_head for fat_inode_hashtable

fat-rewrite-the-cache-for-file-allocation-table-lookup.patch
FAT: rewrite the cache for file allocation table lookup

fat-cache-lock-from-per-sb-to-per-inode-3-6.patch
FAT: cache lock from per sb to per inode

fat-the-inode-hash-from-per-module-to-per-sb-4-6.patch
FAT: the inode hash from per module to per sb

fat-fix-the-race-bitween-fat_free-and-fat_get_cluster.patch
FAT: Fix the race bitween fat_free() and fat_get_cluster()

fat-remove-debug_pr-6-6.patch
FAT: remove debug_pr()

small-linux-hardirqh-tweaks.patch
small <linux/hardirq.h> tweaks

bsd-disklabel-handle-more-than-8-partitions.patch
BSD disklabel: handle more than 8 partitions

asm-softirqh-crept-back-in-h8300-and-sh64.patch
<asm/softirq.h> crept back in h8300 and sh64

mark-amiflop-non-unloadable.patch
mark amiflop non-unloadable

thinkpad-fnfx-key-driver.patch
thinkpad fn+fx key driver

netpoll-endian-fixes.patch
netpoll endian fixes

rewrite-alloc_pidmap.patch
pidhashing: rewrite alloc_pidmap()

missing-pci_disable_device.patch
missing pci_disable_device()

fbdev-radeonfb-remove-bogus-radeonfb_read-write.patch
fbdev/radeonfb: Remove bogus radeonfb_read/write

add-missing-pci_disable_device-for-pci-based-usb-hcd.patch
add missing pci_disable_device for PCI-based USB HCD

add-missing-pci_disable_device-for-e1000.patch
add missing pci_disable_device for e1000

next_thread-bug-fixes.patch
next_thread() BUG fixes

#1 lore raw
Quoted 11 lines · Andrew Morton

Due to master.kernel.org being on the blink, 2.6.9-rc1-mm5 Is currently at

http://www.zip.com.au/~akpm/linux/patches/2.6.9-rc1-mm5/

(quoted diff) +6 -0
+sched-trivial-sched-changes.patch
+sched-add-cpu_down_prepare-notifier.patch
+sched-integrate-cpu-hotplug-and-sched-domains.patch
+sched-arch_destroy_sched_domains-warning-fix.patch
+sched-sched-add-load-balance-flag.patch
+sched-remove-disjoint-numa-domains-setup.patch

Review

Quoted 10 lines
(quoted diff) +8 -0
+sched-make-domain-setup-overridable.patch
+sched-make-domain-setup-overridable-rename.patch
+sched-ia64-add-disjoint-numa-domain-support.patch
+sched-fix-domain-debug-for-isolcpus.patch
+sched-enable-sd_load_balance.patch
+sched-hotplug-add-a-cpu_down_failed-notifier.patch
+sched-use-cpu_down_failed-notifier.patch
+sched-fixes-for-ia64-domain-setup.patch
 
 CPU scheduler work.

In particular, anyone who was having trouble with sched-domains and/or CPU hotplug please test this.

It is supposed to fix all known issues, but some patches are fairly involved, and not having been tested on problem hardware, there could be still some bugs. Please let me know if anything goes bug.

Also, ia64 sched-domains setup is possibly still broken. If anyone boots this on an Altix, please send over the full dmesg! Thanks.

#2 lore raw
Quoted 9 lines · Nick Piggin

In particular, anyone who was having trouble with sched-domains and/or CPU hotplug please test this.

It is supposed to fix all known issues, but some patches are fairly involved, and not having been tested on problem hardware, there could be still some bugs. Please let me know if anything goes bug.

Also, ia64 sched-domains setup is possibly still broken. If anyone boots this on an Altix, please send over the full dmesg! Thanks.

Didn't you get my last mail about this? Looks like the lack
of !defined(SD_NODE_INIT) in sched.h made its way to Andrew. Here's the dmesg from a 2p, 1 node box, I'll send out a more complete one later (unless Paul beat me to it, I'm still only part way through my lkml mailbox).

Thanks,
Jesse

Linux version 2.6.9-rc1-mm5 ([email protected]) (gcc version 3.4.1) #1 SMP Mon Sep 13 10:10:54 PDT 2004
EFI v1.02 by SGI: SALsystab=0x30047c4600 ACPI 2.0=0x30047c4dd0
ACPI: RSDP (v002 SGI ) @ 0x00000030047c4dd0
ACPI: XSDT (v001 SGI XSDTSN2 0x00010001  0x00000001) @ 0x00000030047c4e10
ACPI: MADT (v001 SGI APICSN2 0x00010001  0x00000001) @ 0x00000030047c4e70
ACPI: SRAT (v001 SGI SRATSN2 0x00010001  0x00000001) @ 0x00000030047c4ed0
ACPI: SLIT (v001 SGI SLITSN2 0x00010001  0x00000001) @ 0x00000030047c4f60
ACPI: FADT (v003 SGI FACPSN2 0x00030001  0x00000001) @ 0x00000030047c5030
ACPI: DSDT (v001 SGI DSDTSN2 0x00010001  0x00000001) @ 0x00000030047c4ff0
ACPI: DSDT (v001 SGI DSDTSN2 0x00010001  0x00000001) @ 0x0000000000000000
Number of logical nodes in system = 1
Number of memory chunks in system = 1
SAL 2.9: SGI SN2 version 3.40
SAL Platform features: ITC_Drift
SAL: AP wakeup using external interrupt vector 0x12
ACPI: Local APIC address 0xc0000000fee00000
ACPI: Error parsing MADT - no IOSAPIC entries
register_intr: No IOSAPIC for GSI 52
GSI 52 (level, low) -> CPU 0 (0x0000) vector 48
2 CPUs available, 2 CPUs total
Increasing MCA rendezvous timeout from 20000 to 49000 milliseconds
MCA related initialization done
SGI SAL version 3.40
Virtual mem_map starts at 0xa0007fffce938000
On node 0 totalpages: 375305
DMA zone: 375305 pages, LIFO batch:4
Normal zone: 0 pages, LIFO batch:1
HighMem zone: 0 pages, LIFO batch:1
Built 1 zonelists
Kernel command line: BOOT_IMAGE=scsi0:\EFI\sgi\vmlinuz.jb root=/dev/sda3 console=ttySG0 profile=1
kernel profiling enabled (shift: 1)
PID hash table entries: 4096 (order: 12, 131072 bytes)
CPU 0: base freq=200.000MHz, ITC ratio=10/2, ITC freq=1000.000MHz+/--1ppm
Console: colour dummy device 80x25
Dentry cache hash table entries: 1048576 (order: 9, 8388608 bytes)
Inode-cache hash table entries: 524288 (order: 8, 4194304 bytes)
Memory: 5923712k/6004880k available (7125k code, 93232k reserved, 3433k data, 352k init)
McKinley Errata 9 workaround not needed; disabling it
Calibrating delay loop... 1481.36 BogoMIPS (lpj=722944)
Mount-cache hash table entries: 1024 (order: 0, 16384 bytes)
Boot processor id 0x0/0x0
task migration cache decay timeout: 10 msecs.
CPU 1: base freq=200.000MHz, ITC ratio=10/2, ITC freq=1000.000MHz+/--1ppm
Calibrating delay loop... 16.44 BogoMIPS (lpj=8176)
Brought up 2 CPUs
Total of 2 processors activated (1498.80 BogoMIPS).
CPU0:
domain 0: span 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000003
groups: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000002 domain 1: does not balance
CPU1:
domain 0: span 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000003
groups: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000002 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 domain 1: does not balance
NET: Registered protocol family 16
ACPI: Subsystem revision 20040816
ACPI: SCI (ACPI GSI 52) not registered
ACPI: Interpreter enabled
ACPI: Using IOSAPIC for interrupt routing
SCSI subsystem initialized
PCI: Using ACPI for IRQ routing
** PCI interrupts are no longer routed automatically. If this
** causes a device to stop working, it is probably because the
** driver failed to call pci_enable_device(). As a temporary
** workaround, the "pci=routeirq" argument restores the old
** behavior. If this argument makes the device work again,
** please email the output of "lspci" to [email protected]
** so I can fix the driver.
perfmon: version 2.0 IRQ 238
perfmon: Itanium 2 PMU detected, 16 PMCs, 18 PMDs, 4 counters (47 bits)
PAL Information Facility v0.5
perfmon: added sampling format default_format
perfmon_default_smpl: default_format v2.0 registered
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 2048 (order 0, 16384 bytes)
SGI XFS with ACLs, realtime, large block/inode numbers, no debug enabled
SGI XFS Quota Management subsystem
Initializing Cryptographic API
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
IA-PC Multimedia Timer: v1.0, 25 MHz
EFI Time Services Driver v0.4
sn_console: Console driver init
ttySG0 at I/O 0x0 (irq = 0) is a SGI SN L1
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
tg3.c:v3.9 (August 30, 2004)
ACPI: PCI interrupt 0000:01:04.0[A]: no GSI
eth0: Tigon3 [partno(030-1771-000) rev 0105 PHY(5701)] (PCI:66MHz:64-bit) 10/100/1000BaseT Ethernet 08:00:69:13:ee:3b
eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] Split[0] WireSpeed[1] TSOcap[0]
netconsole: not configured, aborting
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ACPI: PCI interrupt 0000:01:01.0[A]: no GSI
SGIIOC4: IDE controller at PCI slot 0000:01:01.0, revision 79
ide0: BM-DMA at 0xc00000080f200140-0xc00000080f200163
Probing IDE interface ide0...
hda: MATSHITADVD-ROM SR-8177, ATAPI CD/DVD-ROM drive
Using anticipatory io scheduler
ide0 at 0xc00000080f200100-0xc00000080f200107,0xc00000080f200120 on irq 55
ide1: I/O resource 0x376-0x376 not free.
ide1: ports already in use, skipping probe
ide2: I/O resource 0x3EE-0x3EE not free.
ide2: ports already in use, skipping probe
ide3: I/O resource 0x36E-0x36E not free.
ide3: ports already in use, skipping probe
ide4: I/O resource 0x3E6-0x3E6 not free.
ide4: ports already in use, skipping probe
ide5: I/O resource 0x366-0x366 not free.
ide5: ports already in use, skipping probe
hda: ATAPI 24X DVD-ROM drive, 256kB Cache, UDMA(16)
Uniform CD-ROM driver Revision: 3.20
qla1280: QLA12160 found on PCI bus 1, dev 3
ACPI: PCI interrupt 0000:01:03.0[A]: no GSI
scsi(0): Enabling SN2 PCI DMA dual channel lockup workaround
scsi(0): Enabling SN2 PCI DMA workaround
scsi(0:0): Resetting SCSI BUS
scsi(0:1): Resetting SCSI BUS
scsi0 : QLogic QLA12160 PCI to SCSI Host Adapter

       Firmware version: 10.04.32, Driver version 3.24.4

Vendor: SGI Model: ST318453LC Rev: 2741
Type: Direct-Access ANSI SCSI revision: 03
scsi(0:0:1:0): Sync: period 9, offset 14, Wide, DT, Tagged queuing: depth 255
Vendor: SGI Model: ST373307LC Rev: 2741
Type: Direct-Access ANSI SCSI revision: 03
scsi(0:0:2:0): Sync: period 9, offset 14, Wide, DT, Tagged queuing: depth 255 QLogic Fibre Channel HBA Driver (a0000001007e0840)
libata version 1.02 loaded.
SCSI device sda: 35843686 512-byte hdwr sectors (18352 MB)
SCSI device sda: drive cache: write through
sda: sda1 sda2 sda3
Attached scsi disk sda at scsi0, channel 0, id 1, lun 0
SCSI device sdb: 143374744 512-byte hdwr sectors (73408 MB)
SCSI device sdb: drive cache: write through
sdb: sdb1
Attached scsi disk sdb at scsi0, channel 0, id 2, lun 0
Fusion MPT base driver 3.01.16
Copyright (c) 1999-2004 LSI Logic Corporation
Fusion MPT SCSI Host driver 3.01.16
mice: PS/2 mouse device common for all mice
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
ia64 : 2080.768 MB/sec
raid5: using function: ia64 (2080.768 MB/sec)
md: multipath personality registered as nr 7
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
device-mapper: 4.1.0-ioctl (2003-12-10) initialised: [email protected] EFI Variables Facility v0.08 2004-May-17
NET: Registered protocol family 2
IP: routing cache hash table of 131072 buckets, 2048Kbytes
TCP: Hash tables configured (established 4194304 bind 65536)
NET: Registered protocol family 1
NET: Registered protocol family 17
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
XFS mounting filesystem sda3
Ending clean XFS mount for filesystem: sda3
VFS: Mounted root (xfs filesystem) readonly.
Freeing unused kernel memory: 352kB freed
cdrom: hda: mmc-3 profile capable, current profile: 8h
cdrom: hda: mmc-3 profile capable, current profile: 8h
cdrom: hda: mmc-3 profile capable, current profile: 8h
cdrom: hda: mmc-3 profile capable, current profile: 8h
cdrom: hda: mmc-3 profile capable, current profile: 8h
XFS mounting filesystem sdb1
Ending clean XFS mount for filesystem: sdb1
tg3: eth0: Link is up at 100 Mbps, full duplex.
tg3: eth0: Flow control is off for TX and off for RX.

#3 lore raw
Quoted 2 lines · Jesse

I'll send out a more complete one later (unless
Paul beat me to it,

See my patch posted a few hours ago:

[Patch] Fix sched make domain setup overridable

Signature · 3 lines
                          I won't rest till it's the best ...
                          Programmer, Linux Scalability
                          Paul Jackson <[email protected]> 1.650.933.1373
#4 lore raw
Quoted 7 lines · Paul Jackson
Quoted 2 lines · Jesse

I'll send out a more complete one later (unless
Paul beat me to it,

See my patch posted a few hours ago:

[Patch] Fix sched make domain setup overridable

Yeah, I saw that, thanks. I meant a more complete dmesg (i.e. one for a bigger system). I've got a 32p reserved for later today.

Jesse

#5 lore raw
Quoted 11 lines · Jesse Barnes
Quoted 7 lines · Paul Jackson
Quoted 2 lines · Jesse

I'll send out a more complete one later (unless
Paul beat me to it,

See my patch posted a few hours ago:

[Patch] Fix sched make domain setup overridable

Yeah, I saw that, thanks. I meant a more complete dmesg (i.e. one for a bigger system). I've got a 32p reserved for later today.

Here's one from a 32p, 16 node machine (captured while scsi was still coming up, but you probably don't care about that).

Jesse

Linux version 2.6.9-rc1-mm5 ([email protected]) (gcc version 3.4.1)#4 SMP Mon Sep 13 13:58:23 PDT 2004
EFI v1.02 by SGI: SALsystab=0x1830047c4370 ACPI 2.0=0x1830047c6ae0
Number of logical nodes in system = 16
Number of memory chunks in system = 16
SAL 2.9: SGI SN2 version 3.40
SAL Platform features: ITC_Drift
SAL: AP wakeup using external interrupt vector 0x12
ACPI: Local APIC address 0xc0000000fee00000
ACPI: Error parsing MADT - no IOSAPIC entries
register_intr: No IOSAPIC for GSI 52
GSI 52 (level, low) -> CPU 0 (0x0060) vector 48
32 CPUs available, 32 CPUs total
Increasing MCA rendezvous timeout from 20000 to 49000 milliseconds
MCA related initialization done
SGI SAL version 3.40
Virtual mem_map starts at 0xa0007fe43b138000
Built 16 zonelists
Kernel command line: BOOT_IMAGE=scsi4:\efi\sgi\vmlinuz.jb root=/dev/sdb8 console=ttySG0,38400n8 ro debug profile=1
kernel profiling enabled (shift: 1)
PID hash table entries: 4096 (order: 12, 131072 bytes)
CPU 0: base freq=200.000MHz, ITC ratio=15/2, ITC freq=1500.000MHz+/--1ppm
Console: colour dummy device 80x25
Dentry cache hash table entries: 16777216 (order: 13, 134217728 bytes)
Inode-cache hash table entries: 8388608 (order: 12, 67108864 bytes)
Memory: 128094208k/128797312k available (6914k code, 708912k reserved, 3053k data, 352k init)
McKinley Errata 9 workaround not needed; disabling it
Calibrating delay loop... 2224.60 BogoMIPS (lpj=1085440)
Mount-cache hash table entries: 1024 (order: 0, 16384 bytes)
Boot processor id 0x0/0x60
task migration cache decay timeout: 10 msecs.
CPU 1: base freq=200.000MHz, ITC ratio=15/2, ITC freq=1500.000MHz+/--1ppm
Calibrating delay loop... 16.44 BogoMIPS (lpj=8176)
CPU 2: base freq=200.000MHz, ITC ratio=15/2, ITC freq=1500.000MHz+/--1ppm
Calibrating delay loop... 16.44 BogoMIPS (lpj=8176)
CPU 3: base freq=200.000MHz, ITC ratio=15/2, ITC freq=1500.000MHz+/--1ppm
Calibrating delay loop... 16.44 BogoMIPS (lpj=8176)
CPU 4: base freq=200.000MHz, ITC ratio=15/2, ITC freq=1500.000MHz+/--1ppm
Calibrating delay loop... 16.44 BogoMIPS (lpj=8176)
CPU 5: base freq=200.000MHz, ITC ratio=15/2, ITC freq=1500.000MHz+/--1ppm
Calibrating delay loop... 2241.08 BogoMIPS (lpj=1093632)
CPU 6: base freq=200.000MHz, ITC ratio=15/2, ITC freq=1500.000MHz+/--1ppm
Calibrating delay loop... 2241.08 BogoMIPS (lpj=1093632)
CPU 7: base freq=200.000MHz, ITC ratio=15/2, ITC freq=1500.000MHz+/--1ppm
Calibrating delay loop... 16.44 BogoMIPS (lpj=8176)
CPU 8: base freq=200.000MHz, ITC ratio=15/2, ITC freq=1500.000MHz+/--1ppm
Calibrating delay loop... 16.44 BogoMIPS (lpj=8176)
CPU 9: base freq=200.000MHz, ITC ratio=15/2, ITC freq=1500.000MHz+/--1ppm
Calibrating delay loop... 2241.08 BogoMIPS (lpj=1093632)
CPU 10: base freq=200.000MHz, ITC ratio=15/2, ITC freq=1500.000MHz+/--1ppm
Calibrating delay loop... 16.44 BogoMIPS (lpj=8176)
CPU 11: base freq=200.000MHz, ITC ratio=15/2, ITC freq=1500.000MHz+/--1ppm
Calibrating delay loop... 2241.08 BogoMIPS (lpj=1093632)
CPU 12: base freq=200.000MHz, ITC ratio=15/2, ITC freq=1500.000MHz+/--1ppm
Calibrating delay loop... 2241.08 BogoMIPS (lpj=1093632)
CPU 13: base freq=200.000MHz, ITC ratio=15/2, ITC freq=1500.000MHz+/--1ppm
Calibrating delay loop... 2241.08 BogoMIPS (lpj=1093632)
CPU 14: base freq=200.000MHz, ITC ratio=15/2, ITC freq=1500.000MHz+/--1ppm
Calibrating delay loop... 2241.08 BogoMIPS (lpj=1093632)
CPU 15: base freq=200.000MHz, ITC ratio=15/2, ITC freq=1500.000MHz+/--1ppm
Calibrating delay loop... 2241.08 BogoMIPS (lpj=1093632)
CPU 16: base freq=200.000MHz, ITC ratio=15/2, ITC freq=1500.000MHz+/--1ppm
Calibrating delay loop... 2241.08 BogoMIPS (lpj=1093632)
CPU 17: base freq=200.000MHz, ITC ratio=15/2, ITC freq=1500.000MHz+/--1ppm
Calibrating delay loop... 2241.08 BogoMIPS (lpj=1093632)
CPU 18: base freq=200.000MHz, ITC ratio=15/2, ITC freq=1500.000MHz+/--1ppm
Calibrating delay loop... 2241.08 BogoMIPS (lpj=1093632)
CPU 19: base freq=200.000MHz, ITC ratio=15/2, ITC freq=1500.000MHz+/--1ppm
Calibrating delay loop... 16.44 BogoMIPS (lpj=8176)
CPU 20: base freq=200.000MHz, ITC ratio=15/2, ITC freq=1500.000MHz+/--1ppm
Calibrating delay loop... 16.44 BogoMIPS (lpj=8176)
CPU 21: base freq=200.000MHz, ITC ratio=15/2, ITC freq=1500.000MHz+/--1ppm
Calibrating delay loop... 2241.08 BogoMIPS (lpj=1093632)
CPU 22: base freq=200.000MHz, ITC ratio=15/2, ITC freq=1500.000MHz+/--1ppm
Calibrating delay loop... 2241.08 BogoMIPS (lpj=1093632)
CPU 23: base freq=200.000MHz, ITC ratio=15/2, ITC freq=1500.000MHz+/--1ppm
Calibrating delay loop... 2241.08 BogoMIPS (lpj=1093632)
CPU 24: base freq=200.000MHz, ITC ratio=15/2, ITC freq=1500.000MHz+/--1ppm
Calibrating delay loop... 2241.08 BogoMIPS (lpj=1093632)
CPU 25: base freq=200.000MHz, ITC ratio=15/2, ITC freq=1500.000MHz+/--1ppm
Calibrating delay loop... 16.44 BogoMIPS (lpj=8176)
CPU 26: base freq=200.000MHz, ITC ratio=15/2, ITC freq=1500.000MHz+/--1ppm
Calibrating delay loop... 2241.08 BogoMIPS (lpj=1093632)
CPU 27: base freq=200.000MHz, ITC ratio=15/2, ITC freq=1500.000MHz+/--1ppm
Calibrating delay loop... 2241.08 BogoMIPS (lpj=1093632)
CPU 28: base freq=200.000MHz, ITC ratio=15/2, ITC freq=1500.000MHz+/--1ppm
Calibrating delay loop... 16.44 BogoMIPS (lpj=8176)
CPU 29: base freq=200.000MHz, ITC ratio=15/2, ITC freq=1500.000MHz+/--1ppm
Calibrating delay loop... 16.44 BogoMIPS (lpj=8176)
CPU 30: base freq=200.000MHz, ITC ratio=15/2, ITC freq=1500.000MHz+/--1ppm
Calibrating delay loop... 2241.08 BogoMIPS (lpj=1093632)
CPU 31: base freq=200.000MHz, ITC ratio=15/2, ITC freq=1500.000MHz+/--1ppm
Calibrating delay loop... 2241.08 BogoMIPS (lpj=1093632)
Brought up 32 CPUs
Total of 32 processors activated (45005.40 BogoMIPS).
CPU0:
domain 0: span 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000003
groups: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000002 domain 1: does not balance
CPU1:
domain 0: span 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000003
groups: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000002 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 domain 1: does not balance
CPU2:
domain 0: span 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,0000000c
groups: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000004 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000008 domain 1: does not balance
CPU3:
domain 0: span 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,0000000c
groups: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000008 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000004 domain 1: does not balance
CPU4:
domain 0: span 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000030
groups: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000010 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000020 domain 1: does not balance
CPU5:
domain 0: span 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000030
groups: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000020 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000010 domain 1: does not balance
CPU6:
domain 0: span 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,000000c0
groups: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000040 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000080 domain 1: does not balance
CPU7:
domain 0: span 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,000000c0
groups: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000080 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000040 domain 1: does not balance
CPU8:
domain 0: span 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000300
groups: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000100 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000200 domain 1: does not balance
CPU9:
domain 0: span 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000300
groups: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000200 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000100 domain 1: does not balance
CPU10:
domain 0: span 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000c00
groups: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000400 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000800 domain 1: does not balance
CPU11:
domain 0: span 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000c00
groups: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000800 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000400 domain 1: does not balance
CPU12:
domain 0: span 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00003000
groups: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00001000 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00002000 domain 1: does not balance
CPU13:
domain 0: span 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00003000
groups: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00002000 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00001000 domain 1: does not balance
CPU14:
domain 0: span 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,0000c000
groups: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00004000 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00008000 domain 1: does not balance
CPU15:
domain 0: span 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,0000c000
groups: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00008000 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00004000 domain 1: does not balance
CPU16:
domain 0: span 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00030000
groups: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00010000 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00020000 domain 1: does not balance
CPU17:
domain 0: span 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00030000
groups: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00020000 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00010000 domain 1: does not balance
CPU18:
domain 0: span 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,000c0000
groups: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00040000 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00080000 domain 1: does not balance
CPU19:
domain 0: span 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,000c0000
groups: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00080000 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00040000 domain 1: does not balance
CPU20:
domain 0: span 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00300000
groups: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00100000 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00200000 domain 1: does not balance
CPU21:
domain 0: span 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00300000
groups: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00200000 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00100000 domain 1: does not balance
CPU22:
domain 0: span 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00c00000
groups: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00400000 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00800000 domain 1: does not balance
CPU23:
domain 0: span 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00c00000
groups: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00800000 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00400000 domain 1: does not balance
CPU24:
domain 0: span 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,03000000
groups: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,01000000 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,02000000 domain 1: does not balance
CPU25:
domain 0: span 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,03000000
groups: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,02000000 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,01000000 domain 1: does not balance
CPU26:
domain 0: span 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,0c000000
groups: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,04000000 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,08000000 domain 1: does not balance
CPU27:
domain 0: span 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,0c000000
groups: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,08000000 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,04000000 domain 1: does not balance
CPU28:
domain 0: span 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,30000000
groups: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,10000000 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,20000000 domain 1: does not balance
CPU29:
domain 0: span 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,30000000
groups: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,20000000 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,10000000 domain 1: does not balance
CPU30:
domain 0: span 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,c0000000
groups: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,40000000 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,80000000 domain 1: does not balance
CPU31:
domain 0: span 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,c0000000
groups: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,80000000 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,40000000 domain 1: does not balance
NET: Registered protocol family 16
ACPI: Subsystem revision 20040816
ACPI: SCI (ACPI GSI 52) not registered
ACPI: Interpreter enabled
ACPI: Using IOSAPIC for interrupt routing
SCSI subsystem initialized
PCI: Using ACPI for IRQ routing
** PCI interrupts are no longer routed automatically. If this
** causes a device to stop working, it is probably because the
** driver failed to call pci_enable_device(). As a temporary
** workaround, the "pci=routeirq" argument restores the old
** behavior. If this argument makes the device work again,
** please email the output of "lspci" to [email protected]
** so I can fix the driver.
perfmon: version 2.0 IRQ 238
perfmon: Itanium 2 PMU detected, 16 PMCs, 18 PMDs, 4 counters (47 bits)
PAL Information Facility v0.5
perfmon: added sampling format default_format
perfmon_default_smpl: default_format v2.0 registered
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 2048 (order 0, 16384 bytes)
SGI XFS with ACLs, realtime, large block/inode numbers, no debug enabled
SGI XFS Quota Management subsystem
Initializing Cryptographic API
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
IA-PC Multimedia Timer: v1.0, 25 MHz
EFI Time Services Driver v0.4
sn_console: Console driver init
ttySG0 at I/O 0x0 (irq = 0) is a SGI SN L1
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
tg3.c:v3.9 (August 30, 2004)
ACPI: PCI interrupt 0000:01:04.0[A]: no GSI
eth0: Tigon3 [partno(030-1771-000) rev 0105 PHY(5701)] (PCI:66MHz:64-bit) 10/100/1000BaseT Ethernet 08:00:69:13:e9:39
eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] Split[0] WireSpeed[1] TSOcap[0]
ACPI: PCI interrupt 0000:11:04.0[A]: no GSI
eth1: Tigon3 [partno(030-1771-000) rev 0105 PHY(5701)] (PCI:66MHz:64-bit) 10/100/1000BaseT Ethernet 08:00:69:13:e6:55
eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] Split[0] WireSpeed[1] TSOcap[0]
netconsole: not configured, aborting
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ACPI: PCI interrupt 0000:01:01.0[A]: no GSI
SGIIOC4: IDE controller at PCI slot 0000:01:01.0, revision 79
ide0: BM-DMA at 0xc00018080c200140-0xc00018080c200163
Probing IDE interface ide0...
hda: MATSHITADVD-ROM SR-8588, ATAPI CD/DVD-ROM drive
Using anticipatory io scheduler
ide0 at 0xc00018080c200100-0xc00018080c200107,0xc00018080c200120 on irq 55
ACPI: PCI interrupt 0000:11:01.0[A]: no GSI
SGIIOC4: IDE controller at PCI slot 0000:11:01.0, revision 79
ide1: BM-DMA at 0xc00019080c200140-0xc00019080c200163
Probing IDE interface ide1...
ide1: Wait for ready failed before probe !
hdc: no response (status = 0xff), resetting drive
hdc: no response (status = 0xff)
hdd: MATSHITADVD-ROM SR-8588, ATAPI CD/DVD-ROM drive
ide1 at 0xc00019080c200100-0xc00019080c200107,0xc00019080c200120 on irq 59
ide2: I/O resource 0x3EE-0x3EE not free.
ide2: ports already in use, skipping probe
ide3: I/O resource 0x36E-0x36E not free.
ide3: ports already in use, skipping probe
ide4: I/O resource 0x3E6-0x3E6 not free.
ide4: ports already in use, skipping probe
ide5: I/O resource 0x366-0x366 not free.
ide5: ports already in use, skipping probe
hda: ATAPI 48X DVD-ROM drive, 256kB Cache, UDMA(16)
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 48X DVD-ROM drive, 256kB Cache, UDMA(16)
qla1280: QLA12160 found on PCI bus 1, dev 3
ACPI: PCI interrupt 0000:01:03.0[A]: no GSI
scsi(0): Enabling SN2 PCI DMA dual channel lockup workaround
scsi(0): Enabling SN2 PCI DMA workaround
scsi(0:0): Resetting SCSI BUS
scsi(0:1): Resetting SCSI BUS
scsi0 : QLogic QLA12160 PCI to SCSI Host Adapter

       Firmware version: 10.04.32, Driver version 3.24.4

Vendor: SGI Model: ST336753LC Rev: 2741
Type: Direct-Access ANSI SCSI revision: 03
scsi(0:0:1:0): Sync: period 9, offset 14, Wide, DT, Tagged queuing: depth 255
Vendor: SGI Model: ST336753LC Rev: 2741
Type: Direct-Access ANSI SCSI revision: 03
scsi(0:0:2:0): Sync: period 9, offset 14, Wide, DT, Tagged queuing: depth 255
qla1280: QLA12160 found on PCI bus 17, dev 3
ACPI: PCI interrupt 0000:11:03.0[A]: no GSI
scsi(1): Enabling SN2 PCI DMA dual channel lockup workaround scsi(1): Enabling SN2 PCI DMA workaround
scsi(1:0): Resetting SCSI BUS
scsi(1:1): Resetting SCSI BUS
scsi1 : QLogic QLA12160 PCI to SCSI Host Adapter

       Firmware version: 10.04.32, Driver version 3.24.4
#6 lore raw
Quoted 8 lines · Jesse Barnes
Quoted 6 lines · Jesse Barnes
Quoted 4 lines · Paul Jackson
Quoted 2 lines · Jesse

I'll send out a more complete one later (unless
Paul beat me to it,

Sorry, I actually did read your mail about the SD_NODE_INIT thing. It slipped my mind :(

Quoted 11 lines
Quoted 7 lines
Quoted 4 lines

See my patch posted a few hours ago:

[Patch] Fix sched make domain setup overridable

Yeah, I saw that, thanks. I meant a more complete dmesg (i.e. one for a bigger system). I've got a 32p reserved for later today.

Here's one from a 32p, 16 node machine (captured while scsi was still coming up, but you probably don't care about that).

OK, in that case you'll also need the attached patch. Sigh. We'll get there one day.

---

 linux-2.6-npiggin/include/asm-ia64/processor.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)
include/asm-ia64/processor.h renamed from include/asm-ia64/processor.h~ia64-make-node-balance +2 -1
diff -puN include/asm-ia64/processor.h~ia64-make-node-balance include/asm-ia64/processor.h
@@ -349,7 +349,8 @@ struct task_struct;
 	.cache_hot_time		= (10*1000000),		\
 	.cache_nice_tries	= 1,			\
 	.per_cpu_gain		= 100,			\
-	.flags			= SD_BALANCE_EXEC	\
+	.flags			= SD_LOAD_BALANCE	\
+				| SD_BALANCE_EXEC	\
 				| SD_WAKE_BALANCE,	\
 	.last_balance		= jiffies,		\
 	.balance_interval	= 10,			\

_

#7 lore raw
Quoted 2 lines · Nick Piggin

Sorry, I actually did read your mail about the SD_NODE_INIT thing. It slipped my mind :(

Ok, just wanted to make sure I hadn't been spamlisted or something :)

Quoted 2 lines

OK, in that case you'll also need the attached patch. Sigh. We'll get there one day.

Ok, I'll give it a try.

Jesse

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

Due to master.kernel.org being on the blink, 2.6.9-rc1-mm5 Is currently at

http://www.zip.com.au/~akpm/linux/patches/2.6.9-rc1-mm5/

I can't build it on x86-64:

LD init/built-in.o
LD .tmp_vmlinux1
fs/built-in.o(.text+0xd1893): In function `mask_ok_common':
: undefined reference to `vfs_permission'
make: *** [.tmp_vmlinux1] Error 1

The .config is attached.

Greets,
RJW

Signature · 3 lines
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to.
		-- Lewis Carroll "Alice's Adventures in Wonderland"

#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.9-rc1-mm5
# Mon Sep 13 11:53:45 2004
#
CONFIG_X86_64=y
CONFIG_64BIT=y
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y
CONFIG_X86_CMPXCHG=y
CONFIG_EARLY_PRINTK=y
CONFIG_HPET_TIMER=y
CONFIG_HPET_EMULATE_RTC=y
CONFIG_GENERIC_ISA_DMA=y

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
CONFIG_CLEAN_COMPILE=y
CONFIG_BROKEN_ON_SMP=y

#
# General setup
#
CONFIG_LOCALVERSION=""
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_POSIX_MQUEUE=y
CONFIG_BSD_PROCESS_ACCT=y
# CONFIG_BSD_PROCESS_ACCT_V3 is not set
CONFIG_SYSCTL=y
# CONFIG_AUDIT is not set
CONFIG_LOG_BUF_SHIFT=18
CONFIG_HOTPLUG=y
CONFIG_KOBJECT_UEVENT=y
# CONFIG_IKCONFIG is not set
# CONFIG_EMBEDDED is not set
CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_ALL is not set
# CONFIG_KALLSYMS_EXTRA_PASS is not set
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
CONFIG_SHMEM=y
# CONFIG_TINY_SHMEM is not set

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
CONFIG_OBSOLETE_MODPARM=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y

#
# Processor type and features
#
CONFIG_MK8=y
# CONFIG_MPSC is not set
# CONFIG_GENERIC_CPU is not set
CONFIG_X86_L1_CACHE_BYTES=64
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_X86_TSC=y
CONFIG_X86_GOOD_APIC=y
# CONFIG_MICROCODE is not set
CONFIG_X86_MSR=y
CONFIG_X86_CPUID=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_MTRR=y
# CONFIG_SMP is not set
# CONFIG_PREEMPT is not set
CONFIG_GART_IOMMU=y
CONFIG_SWIOTLB=y
CONFIG_X86_MCE=y

#
# Performance-monitoring counters support
#
CONFIG_PERFCTR=y
CONFIG_PERFCTR_INIT_TESTS=y
CONFIG_PERFCTR_VIRTUAL=y
CONFIG_PERFCTR_INTERRUPT_SUPPORT=y

#
# Power management options
#
CONFIG_PM=y
CONFIG_PM_DEBUG=y
CONFIG_SOFTWARE_SUSPEND=y
CONFIG_PM_STD_PARTITION="/dev/hdc3"

#
# ACPI (Advanced Configuration and Power Interface) Support #
CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
CONFIG_ACPI_AC=m
CONFIG_ACPI_BATTERY=m
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_FAN=m
CONFIG_ACPI_PROCESSOR=m
CONFIG_ACPI_THERMAL=m
CONFIG_ACPI_ASUS=m
# CONFIG_ACPI_THINKPAD is not set
# CONFIG_ACPI_TOSHIBA is not set CONFIG_ACPI_BLACKLIST_YEAR=0
CONFIG_ACPI_DEBUG=y
CONFIG_ACPI_BUS=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y

#
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
# CONFIG_CPU_FREQ_PROC_INTF is not set CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set CONFIG_CPU_FREQ_GOV_PERFORMANCE=y CONFIG_CPU_FREQ_GOV_POWERSAVE=m CONFIG_CPU_FREQ_GOV_USERSPACE=m
# CONFIG_CPU_FREQ_GOV_ONDEMAND is not set # CONFIG_CPU_FREQ_24_API is not set CONFIG_CPU_FREQ_TABLE=y

#
# CPUFreq processor drivers
#
CONFIG_X86_POWERNOW_K8=m
CONFIG_X86_POWERNOW_K8_ACPI=y
# CONFIG_X86_SPEEDSTEP_CENTRINO is not set
# CONFIG_X86_ACPI_CPUFREQ is not set

#
# Bus options (PCI etc.)
#
CONFIG_PCI=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_MMCONFIG=y
# CONFIG_UNORDERED_IO is not set
# CONFIG_PCI_MSI is not set
CONFIG_PCI_LEGACY_PROC=y
CONFIG_PCI_NAMES=y

#
# PCMCIA/CardBus support
#
CONFIG_PCMCIA=m
CONFIG_PCMCIA_DEBUG=y
CONFIG_YENTA=m
CONFIG_CARDBUS=y
CONFIG_PD6729=m
CONFIG_I82092=m
CONFIG_TCIC=m

#
# PCI Hotplug Support
#
CONFIG_HOTPLUG_PCI=m CONFIG_HOTPLUG_PCI_FAKE=m CONFIG_HOTPLUG_PCI_ACPI=m
# CONFIG_HOTPLUG_PCI_ACPI_IBM is not set CONFIG_HOTPLUG_PCI_CPCI=y CONFIG_HOTPLUG_PCI_CPCI_ZT5550=m CONFIG_HOTPLUG_PCI_CPCI_GENERIC=m
# CONFIG_HOTPLUG_PCI_PCIE is not set CONFIG_HOTPLUG_PCI_SHPC=m
# CONFIG_HOTPLUG_PCI_SHPC_POLL_EVENT_MODE is not set

#
# Executable file formats / Emulations
#
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=m
CONFIG_IA32_EMULATION=y
CONFIG_IA32_AOUT=y
CONFIG_COMPAT=y
CONFIG_SYSVIPC_COMPAT=y
CONFIG_UID16=y
# CONFIG_KEXEC is not set

#
# Device Drivers
#

#
# Generic Driver Options
#
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=m
# CONFIG_DEBUG_DRIVER is not set

#
# Memory Technology Devices (MTD)
#
CONFIG_MTD=m
CONFIG_MTD_DEBUG=y
CONFIG_MTD_DEBUG_VERBOSE=0
CONFIG_MTD_PARTITIONS=y
CONFIG_MTD_CONCAT=m
CONFIG_MTD_REDBOOT_PARTS=m
# CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED is not set
# CONFIG_MTD_REDBOOT_PARTS_READONLY is not set
CONFIG_MTD_CMDLINE_PARTS=y

#
# User Modules And Translation Layers
#
CONFIG_MTD_CHAR=m
CONFIG_MTD_BLOCK=m
CONFIG_MTD_BLOCK_RO=m
CONFIG_FTL=m
CONFIG_NFTL=m
CONFIG_NFTL_RW=y
CONFIG_INFTL=m

#
# RAM/ROM/Flash chip drivers
#
CONFIG_MTD_CFI=m
CONFIG_MTD_JEDECPROBE=m
CONFIG_MTD_GEN_PROBE=m
CONFIG_MTD_CFI_ADV_OPTIONS=y
CONFIG_MTD_CFI_NOSWAP=y
# CONFIG_MTD_CFI_BE_BYTE_SWAP is not set
# CONFIG_MTD_CFI_LE_BYTE_SWAP is not set
# CONFIG_MTD_CFI_GEOMETRY is not set
CONFIG_MTD_MAP_BANK_WIDTH_1=y
CONFIG_MTD_MAP_BANK_WIDTH_2=y
CONFIG_MTD_MAP_BANK_WIDTH_4=y
# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
CONFIG_MTD_CFI_I1=y
CONFIG_MTD_CFI_I2=y
# CONFIG_MTD_CFI_I4 is not set
# CONFIG_MTD_CFI_I8 is not set
CONFIG_MTD_CFI_INTELEXT=m
CONFIG_MTD_CFI_AMDSTD=m
CONFIG_MTD_CFI_AMDSTD_RETRY=0
CONFIG_MTD_CFI_STAA=m
CONFIG_MTD_CFI_UTIL=m
CONFIG_MTD_RAM=m
CONFIG_MTD_ROM=m
CONFIG_MTD_ABSENT=m

#
# Mapping drivers for chip access
#
CONFIG_MTD_COMPLEX_MAPPINGS=y
CONFIG_MTD_PHYSMAP=m
CONFIG_MTD_PHYSMAP_START=0x8000000
CONFIG_MTD_PHYSMAP_LEN=0x4000000
CONFIG_MTD_PHYSMAP_BANKWIDTH=2
CONFIG_MTD_PNC2000=m
CONFIG_MTD_SC520CDP=m
CONFIG_MTD_NETSC520=m
CONFIG_MTD_SBC_GXX=m
CONFIG_MTD_ELAN_104NC=m
CONFIG_MTD_SCx200_DOCFLASH=m
CONFIG_MTD_AMD76XROM=m
CONFIG_MTD_ICHXROM=m
CONFIG_MTD_SCB2_FLASH=m
CONFIG_MTD_NETtel=m
CONFIG_MTD_DILNETPC=m
CONFIG_MTD_DILNETPC_BOOTSIZE=0x80000
CONFIG_MTD_L440GX=m
CONFIG_MTD_PCI=m

#
# Self-contained MTD device drivers
#
CONFIG_MTD_PMC551=m
CONFIG_MTD_PMC551_BUGFIX=y
CONFIG_MTD_PMC551_DEBUG=y
CONFIG_MTD_SLRAM=m
# CONFIG_MTD_PHRAM is not set
CONFIG_MTD_MTDRAM=m
CONFIG_MTDRAM_TOTAL_SIZE=4096
CONFIG_MTDRAM_ERASE_SIZE=128
CONFIG_MTD_BLKMTD=m

#
# Disk-On-Chip Device Drivers
#
CONFIG_MTD_DOC2000=m
CONFIG_MTD_DOC2001=m
CONFIG_MTD_DOC2001PLUS=m
CONFIG_MTD_DOCPROBE=m
CONFIG_MTD_DOCECC=m
CONFIG_MTD_DOCPROBE_ADVANCED=y
CONFIG_MTD_DOCPROBE_ADDRESS=0x0000
CONFIG_MTD_DOCPROBE_HIGH=y
CONFIG_MTD_DOCPROBE_55AA=y

#
# NAND Flash Device Drivers
#
CONFIG_MTD_NAND=m
CONFIG_MTD_NAND_VERIFY_WRITE=y
CONFIG_MTD_NAND_IDS=m
CONFIG_MTD_NAND_DISKONCHIP=m
CONFIG_MTD_NAND_DISKONCHIP_PROBE_ADVANCED=y
CONFIG_MTD_NAND_DISKONCHIP_PROBE_ADDRESS=0
CONFIG_MTD_NAND_DISKONCHIP_PROBE_HIGH=y
CONFIG_MTD_NAND_DISKONCHIP_BBTWRITE=y

#
# Parallel port support
#
CONFIG_PARPORT=m
CONFIG_PARPORT_PC=m
CONFIG_PARPORT_PC_CML1=m
CONFIG_PARPORT_SERIAL=m
CONFIG_PARPORT_PC_FIFO=y
CONFIG_PARPORT_PC_SUPERIO=y
CONFIG_PARPORT_PC_PCMCIA=m
CONFIG_PARPORT_OTHER=y
CONFIG_PARPORT_1284=y

#
# Plug and Play support
#

#
# Block devices
#
# CONFIG_BLK_DEV_FD is not set
# CONFIG_PARIDE is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_CRYPTOLOOP=m
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_SX8 is not set
# CONFIG_BLK_DEV_UB is not set
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=128000
CONFIG_BLK_DEV_INITRD=y
CONFIG_LBD=y
CONFIG_CDROM_PKTCDVD=m
CONFIG_CDROM_PKTCDVD_BUFFERS=8
# CONFIG_CDROM_PKTCDVD_WCACHE is not set

#
# ATA/ATAPI/MFM/RLL support
#
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y

#
# Please see Documentation/ide.txt for help/info on IDE drives #
# CONFIG_BLK_DEV_IDE_SATA is not set
# CONFIG_BLK_DEV_HD_IDE is not set CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
CONFIG_BLK_DEV_IDECS=m
CONFIG_BLK_DEV_IDECD=y
CONFIG_BLK_DEV_IDETAPE=m
CONFIG_BLK_DEV_IDEFLOPPY=m
CONFIG_BLK_DEV_IDESCSI=m
# CONFIG_IDE_TASK_IOCTL is not set
# CONFIG_IDE_TASKFILE_IO is not set

#
# IDE chipset support/bugfixes
#
CONFIG_IDE_GENERIC=y
# CONFIG_BLK_DEV_CMD640 is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_OFFBOARD=y
CONFIG_BLK_DEV_GENERIC=y
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_RZ1000 is not set
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
CONFIG_BLK_DEV_ADMA=y
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
CONFIG_BLK_DEV_AMD74XX=y
# CONFIG_BLK_DEV_ATIIXP is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5520 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_SC1200 is not set
# CONFIG_BLK_DEV_PIIX is not set
# CONFIG_BLK_DEV_IT8212 is not set
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
# CONFIG_IDE_ARM is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_BLK_DEV_HD is not set

#
# SCSI device support
#
CONFIG_SCSI=m
CONFIG_SCSI_PROC_FS=y

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=m
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=m
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_CHR_DEV_SG=m

#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs #
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_LOGGING=y

#
# SCSI Transport Attributes
#
# CONFIG_SCSI_SPI_ATTRS is not set
# CONFIG_SCSI_FC_ATTRS is not set

#
# SCSI low-level drivers
#
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
# CONFIG_SCSI_3W_9XXX is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AACRAID is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_MEGARAID_NEWGEN is not set
# CONFIG_MEGARAID_LEGACY is not set
# CONFIG_SCSI_SATA is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_EATA_PIO is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_PPA is not set
# CONFIG_SCSI_IMM is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_IPR is not set
# CONFIG_SCSI_QLOGIC_ISP is not set
# CONFIG_SCSI_QLOGIC_FC is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
CONFIG_SCSI_QLA2XXX=m
# CONFIG_SCSI_QLA21XX is not set
# CONFIG_SCSI_QLA22XX is not set
# CONFIG_SCSI_QLA2300 is not set
# CONFIG_SCSI_QLA2322 is not set
# CONFIG_SCSI_QLA6312 is not set
# CONFIG_SCSI_QLA6322 is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_DC390T is not set
CONFIG_SCSI_DEBUG=m

#
# PCMCIA SCSI adapter support
#
# CONFIG_PCMCIA_FDOMAIN is not set
# CONFIG_PCMCIA_QLOGIC is not set
# CONFIG_PCMCIA_SYM53C500 is not set

#
# Multi-device support (RAID and LVM)
#
CONFIG_MD=y
# CONFIG_BLK_DEV_MD is not set
CONFIG_BLK_DEV_DM=m
CONFIG_DM_CRYPT=m
CONFIG_DM_SNAPSHOT=m
CONFIG_DM_MIRROR=m
CONFIG_DM_ZERO=m

#
# Fusion MPT device support
#
# CONFIG_FUSION is not set

#
# IEEE 1394 (FireWire) support
#
CONFIG_IEEE1394=m

#
# Subsystem Options
#
# CONFIG_IEEE1394_VERBOSEDEBUG is not set
CONFIG_IEEE1394_OUI_DB=y
CONFIG_IEEE1394_EXTRA_CONFIG_ROMS=y
CONFIG_IEEE1394_CONFIG_ROM_IP1394=y

#
# Device Drivers
#
CONFIG_IEEE1394_PCILYNX=m
CONFIG_IEEE1394_OHCI1394=m

#
# Protocol Drivers
#
CONFIG_IEEE1394_VIDEO1394=m
CONFIG_IEEE1394_SBP2=m
CONFIG_IEEE1394_SBP2_PHYS_DMA=y
CONFIG_IEEE1394_ETH1394=m
CONFIG_IEEE1394_DV1394=m
CONFIG_IEEE1394_RAWIO=m
CONFIG_IEEE1394_CMP=m
CONFIG_IEEE1394_AMDTP=m

#
# I2O device support
#
# CONFIG_I2O is not set

#
# Networking support
#
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=m
CONFIG_PACKET_MMAP=y
CONFIG_NETLINK_DEV=m
CONFIG_UNIX=y
CONFIG_NET_KEY=m
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
CONFIG_NET_IPIP=m
CONFIG_NET_IPGRE=m
CONFIG_NET_IPGRE_BROADCAST=y
# CONFIG_IP_MROUTE is not set
# CONFIG_ARPD is not set
CONFIG_SYN_COOKIES=y
CONFIG_INET_AH=m
CONFIG_INET_ESP=m
CONFIG_INET_IPCOMP=m
CONFIG_INET_TUNNEL=m

#
# IP: Virtual Server Configuration
#
# CONFIG_IP_VS is not set
CONFIG_IPV6=m
CONFIG_IPV6_PRIVACY=y
CONFIG_INET6_AH=m
CONFIG_INET6_ESP=m
CONFIG_INET6_IPCOMP=m
CONFIG_INET6_TUNNEL=m
CONFIG_IPV6_TUNNEL=m
CONFIG_NETFILTER=y
CONFIG_NETFILTER_DEBUG=y
CONFIG_BRIDGE_NETFILTER=y

#
# IP: Netfilter Configuration
#
CONFIG_IP_NF_CONNTRACK=m
CONFIG_IP_NF_CT_ACCT=y
CONFIG_IP_NF_CT_PROTO_SCTP=m
CONFIG_IP_NF_FTP=m
CONFIG_IP_NF_IRC=m
CONFIG_IP_NF_TFTP=m
CONFIG_IP_NF_AMANDA=m
CONFIG_IP_NF_QUEUE=m
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP_NF_MATCH_LIMIT=m
CONFIG_IP_NF_MATCH_IPRANGE=m
CONFIG_IP_NF_MATCH_MAC=m
CONFIG_IP_NF_MATCH_PKTTYPE=m
CONFIG_IP_NF_MATCH_MARK=m
CONFIG_IP_NF_MATCH_MULTIPORT=m
CONFIG_IP_NF_MATCH_TOS=m
CONFIG_IP_NF_MATCH_RECENT=m
CONFIG_IP_NF_MATCH_ECN=m
CONFIG_IP_NF_MATCH_DSCP=m
CONFIG_IP_NF_MATCH_AH_ESP=m
CONFIG_IP_NF_MATCH_LENGTH=m
CONFIG_IP_NF_MATCH_TTL=m
CONFIG_IP_NF_MATCH_TCPMSS=m
CONFIG_IP_NF_MATCH_HELPER=m
CONFIG_IP_NF_MATCH_STATE=m
CONFIG_IP_NF_MATCH_CONNTRACK=m
CONFIG_IP_NF_MATCH_OWNER=m
CONFIG_IP_NF_MATCH_PHYSDEV=m
CONFIG_IP_NF_MATCH_ADDRTYPE=m
CONFIG_IP_NF_MATCH_REALM=m
CONFIG_IP_NF_MATCH_SCTP=m
CONFIG_IP_NF_FILTER=m
CONFIG_IP_NF_TARGET_REJECT=m
CONFIG_IP_NF_TARGET_LOG=m
CONFIG_IP_NF_TARGET_ULOG=m
CONFIG_IP_NF_TARGET_TCPMSS=m
CONFIG_IP_NF_NAT=m
CONFIG_IP_NF_NAT_NEEDED=y
CONFIG_IP_NF_TARGET_MASQUERADE=m
CONFIG_IP_NF_TARGET_REDIRECT=m
CONFIG_IP_NF_TARGET_NETMAP=m
CONFIG_IP_NF_TARGET_SAME=m
# CONFIG_IP_NF_NAT_LOCAL is not set
CONFIG_IP_NF_NAT_SNMP_BASIC=m
CONFIG_IP_NF_NAT_IRC=m
CONFIG_IP_NF_NAT_FTP=m
CONFIG_IP_NF_NAT_TFTP=m
CONFIG_IP_NF_NAT_AMANDA=m
CONFIG_IP_NF_MANGLE=m
CONFIG_IP_NF_TARGET_TOS=m
CONFIG_IP_NF_TARGET_ECN=m
CONFIG_IP_NF_TARGET_DSCP=m
CONFIG_IP_NF_TARGET_MARK=m
CONFIG_IP_NF_TARGET_CLASSIFY=m
CONFIG_IP_NF_RAW=m
CONFIG_IP_NF_TARGET_NOTRACK=m
CONFIG_IP_NF_ARPTABLES=m
CONFIG_IP_NF_ARPFILTER=m
CONFIG_IP_NF_ARP_MANGLE=m
# CONFIG_IP_NF_COMPAT_IPCHAINS is not set
# CONFIG_IP_NF_COMPAT_IPFWADM is not set

#
# IPv6: Netfilter Configuration
#
CONFIG_IP6_NF_QUEUE=m
CONFIG_IP6_NF_IPTABLES=m
CONFIG_IP6_NF_MATCH_LIMIT=m
CONFIG_IP6_NF_MATCH_MAC=m
CONFIG_IP6_NF_MATCH_RT=m
CONFIG_IP6_NF_MATCH_OPTS=m
CONFIG_IP6_NF_MATCH_FRAG=m
CONFIG_IP6_NF_MATCH_HL=m
CONFIG_IP6_NF_MATCH_MULTIPORT=m
CONFIG_IP6_NF_MATCH_OWNER=m
CONFIG_IP6_NF_MATCH_MARK=m
CONFIG_IP6_NF_MATCH_IPV6HEADER=m
CONFIG_IP6_NF_MATCH_AHESP=m
CONFIG_IP6_NF_MATCH_LENGTH=m
CONFIG_IP6_NF_MATCH_EUI64=m
CONFIG_IP6_NF_FILTER=m
CONFIG_IP6_NF_TARGET_LOG=m
CONFIG_IP6_NF_MANGLE=m
CONFIG_IP6_NF_TARGET_MARK=m
CONFIG_IP6_NF_RAW=m

#
# DECnet: Netfilter Configuration
#
# CONFIG_DECNET_NF_GRABULATOR is not set

#
# Bridge: Netfilter Configuration
#
CONFIG_BRIDGE_NF_EBTABLES=m
CONFIG_BRIDGE_EBT_BROUTE=m
CONFIG_BRIDGE_EBT_T_FILTER=m
CONFIG_BRIDGE_EBT_T_NAT=m
CONFIG_BRIDGE_EBT_802_3=m
CONFIG_BRIDGE_EBT_AMONG=m
CONFIG_BRIDGE_EBT_ARP=m
CONFIG_BRIDGE_EBT_IP=m
CONFIG_BRIDGE_EBT_LIMIT=m
CONFIG_BRIDGE_EBT_MARK=m
CONFIG_BRIDGE_EBT_PKTTYPE=m
CONFIG_BRIDGE_EBT_STP=m
CONFIG_BRIDGE_EBT_VLAN=m
CONFIG_BRIDGE_EBT_ARPREPLY=m
CONFIG_BRIDGE_EBT_DNAT=m
CONFIG_BRIDGE_EBT_MARK_T=m
CONFIG_BRIDGE_EBT_REDIRECT=m
CONFIG_BRIDGE_EBT_SNAT=m
CONFIG_BRIDGE_EBT_LOG=m
CONFIG_XFRM=y
CONFIG_XFRM_USER=m

#
# SCTP Configuration (EXPERIMENTAL)
#
CONFIG_IP_SCTP=m
# CONFIG_SCTP_DBG_MSG is not set
# CONFIG_SCTP_DBG_OBJCNT is not set
# CONFIG_SCTP_HMAC_NONE is not set
# CONFIG_SCTP_HMAC_SHA1 is not set
CONFIG_SCTP_HMAC_MD5=y
# CONFIG_ATM is not set
CONFIG_BRIDGE=m
CONFIG_VLAN_8021Q=m
CONFIG_DECNET=m
CONFIG_DECNET_SIOCGIFCONF=y
# CONFIG_DECNET_ROUTER is not set
CONFIG_LLC=m
CONFIG_LLC2=m
CONFIG_IPX=m
CONFIG_IPX_INTERN=y
CONFIG_ATALK=m
CONFIG_DEV_APPLETALK=y
CONFIG_IPDDP=m
CONFIG_IPDDP_ENCAP=y
CONFIG_IPDDP_DECAP=y
CONFIG_X25=m
CONFIG_LAPB=m
# CONFIG_NET_DIVERT is not set
CONFIG_ECONET=m
# CONFIG_ECONET_AUNUDP is not set
# CONFIG_ECONET_NATIVE is not set
CONFIG_WAN_ROUTER=m
# CONFIG_NET_HW_FLOWCONTROL is not set

#
# QoS and/or fair queueing
#
CONFIG_NET_SCHED=y
CONFIG_NET_SCH_CLK_JIFFIES=y
# CONFIG_NET_SCH_CLK_GETTIMEOFDAY is not set
# CONFIG_NET_SCH_CLK_CPU is not set
CONFIG_NET_SCH_CBQ=m
CONFIG_NET_SCH_HTB=m
CONFIG_NET_SCH_HFSC=m
CONFIG_NET_SCH_PRIO=m
CONFIG_NET_SCH_RED=m
CONFIG_NET_SCH_SFQ=m
CONFIG_NET_SCH_TEQL=m
CONFIG_NET_SCH_TBF=m
CONFIG_NET_SCH_GRED=m
CONFIG_NET_SCH_DSMARK=m
# CONFIG_NET_SCH_NETEM is not set
CONFIG_NET_SCH_INGRESS=m
CONFIG_NET_QOS=y
CONFIG_NET_ESTIMATOR=y
CONFIG_NET_CLS=y
CONFIG_NET_CLS_TCINDEX=m
CONFIG_NET_CLS_ROUTE4=m
CONFIG_NET_CLS_ROUTE=y
CONFIG_NET_CLS_FW=m
CONFIG_NET_CLS_U32=m
# CONFIG_CLS_U32_PERF is not set
# CONFIG_NET_CLS_IND is not set
CONFIG_NET_CLS_RSVP=m
CONFIG_NET_CLS_RSVP6=m
# CONFIG_NET_CLS_ACT is not set
CONFIG_NET_CLS_POLICE=y

#
# Network testing
#
CONFIG_NET_PKTGEN=m
# CONFIG_KGDBOE is not set
CONFIG_NETPOLL=y
# CONFIG_NETPOLL_RX is not set
# CONFIG_NETPOLL_TRAP is not set
CONFIG_NET_POLL_CONTROLLER=y
# CONFIG_HAMRADIO is not set
CONFIG_IRDA=m

#
# IrDA protocols
#
CONFIG_IRLAN=m
CONFIG_IRNET=m
CONFIG_IRCOMM=m
CONFIG_IRDA_ULTRA=y

#
# IrDA options
#
CONFIG_IRDA_CACHE_LAST_LSAP=y
CONFIG_IRDA_FAST_RR=y
CONFIG_IRDA_DEBUG=y

#
# Infrared-port device drivers
#

#
# SIR device drivers
#
CONFIG_IRTTY_SIR=m

#
# Dongle support
#
CONFIG_DONGLE=y
CONFIG_ESI_DONGLE=m
CONFIG_ACTISYS_DONGLE=m
CONFIG_TEKRAM_DONGLE=m
CONFIG_LITELINK_DONGLE=m
CONFIG_MA600_DONGLE=m
CONFIG_GIRBIL_DONGLE=m
CONFIG_MCP2120_DONGLE=m
CONFIG_OLD_BELKIN_DONGLE=m
CONFIG_ACT200L_DONGLE=m

#
# Old SIR device drivers
#
# CONFIG_IRPORT_SIR is not set

#
# Old Serial dongle support
#

#
# FIR device drivers
#
CONFIG_USB_IRDA=m
CONFIG_SIGMATEL_FIR=m
CONFIG_VLSI_FIR=m
CONFIG_BT=m
CONFIG_BT_L2CAP=m
CONFIG_BT_SCO=m
CONFIG_BT_RFCOMM=m
CONFIG_BT_RFCOMM_TTY=y
CONFIG_BT_BNEP=m
CONFIG_BT_BNEP_MC_FILTER=y
CONFIG_BT_BNEP_PROTO_FILTER=y
CONFIG_BT_HIDP=m

#
# Bluetooth device drivers
#
CONFIG_BT_HCIUSB=m
CONFIG_BT_HCIUSB_SCO=y
CONFIG_BT_HCIUART=m
CONFIG_BT_HCIUART_H4=y
CONFIG_BT_HCIUART_BCSP=y
CONFIG_BT_HCIUART_BCSP_TXCRC=y
CONFIG_BT_HCIBCM203X=m
CONFIG_BT_HCIBFUSB=m
CONFIG_BT_HCIDTL1=m
CONFIG_BT_HCIBT3C=m
CONFIG_BT_HCIBLUECARD=m
CONFIG_BT_HCIBTUART=m
CONFIG_BT_HCIVHCI=m
CONFIG_NETDEVICES=y
CONFIG_DUMMY=m
CONFIG_BONDING=m
CONFIG_EQUALIZER=m
CONFIG_TUN=m
CONFIG_ETHERTAP=m

#
# ARCnet devices
#
# CONFIG_ARCNET is not set

#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
CONFIG_MII=m
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
# CONFIG_NET_VENDOR_3COM is not set

#
# Tulip family network device support
#
# CONFIG_NET_TULIP is not set
# CONFIG_HP100 is not set
CONFIG_NET_PCI=y
# CONFIG_PCNET32 is not set
# CONFIG_AMD8111_ETH is not set
# CONFIG_ADAPTEC_STARFIRE is not set
# CONFIG_B44 is not set
# CONFIG_FORCEDETH is not set
# CONFIG_DGRS is not set
# CONFIG_EEPRO100 is not set
# CONFIG_E100 is not set
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not set
# CONFIG_NE2K_PCI is not set
# CONFIG_8139CP is not set
CONFIG_8139TOO=m
# CONFIG_8139TOO_PIO is not set
# CONFIG_8139TOO_TUNE_TWISTER is not set
# CONFIG_8139TOO_8129 is not set
# CONFIG_8139_OLD_RX_RESET is not set
# CONFIG_SIS900 is not set
# CONFIG_EPIC100 is not set
# CONFIG_SUNDANCE is not set
# CONFIG_VIA_RHINE is not set
# CONFIG_VIA_VELOCITY is not set

#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not set
# CONFIG_E1000 is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_R8169 is not set
CONFIG_SK98LIN=m
# CONFIG_TIGON3 is not set

#
# Ethernet (10000 Mbit)
#
# CONFIG_IXGB is not set
# CONFIG_S2IO is not set

#
# Token Ring devices
#
# CONFIG_TR is not set

#
# Wireless LAN (non-hamradio)
#
CONFIG_NET_RADIO=y

#
# Obsolete Wireless cards support (pre-802.11)
#
CONFIG_STRIP=m
CONFIG_PCMCIA_WAVELAN=m
CONFIG_PCMCIA_NETWAVE=m

#
# Wireless 802.11 Frequency Hopping cards support
#
CONFIG_PCMCIA_RAYCS=m

#
# Wireless 802.11b ISA/PCI cards support
#
CONFIG_HERMES=m
CONFIG_PLX_HERMES=m
CONFIG_TMD_HERMES=m
CONFIG_PCI_HERMES=m
CONFIG_ATMEL=m
CONFIG_PCI_ATMEL=m

#
# Wireless 802.11b Pcmcia/Cardbus cards support
#
CONFIG_PCMCIA_HERMES=m
CONFIG_AIRO_CS=m
CONFIG_PCMCIA_ATMEL=m
CONFIG_PCMCIA_WL3501=m

#
# Prism GT/Duette 802.11(a/b/g) PCI/Cardbus support #
CONFIG_PRISM54=m
CONFIG_NET_WIRELESS=y

#
# PCMCIA network device support
#
CONFIG_NET_PCMCIA=y
CONFIG_PCMCIA_3C589=m
CONFIG_PCMCIA_3C574=m
CONFIG_PCMCIA_FMVJ18X=m
CONFIG_PCMCIA_PCNET=m
CONFIG_PCMCIA_NMCLAN=m
CONFIG_PCMCIA_SMC91C92=m
CONFIG_PCMCIA_XIRC2PS=m
CONFIG_PCMCIA_AXNET=m

#
# Wan interfaces
#
# CONFIG_WAN is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PLIP is not set
CONFIG_PPP=m
CONFIG_PPP_MULTILINK=y
CONFIG_PPP_FILTER=y
CONFIG_PPP_ASYNC=m
CONFIG_PPP_SYNC_TTY=m
CONFIG_PPP_DEFLATE=m
CONFIG_PPP_BSDCOMP=m
CONFIG_PPPOE=m
# CONFIG_SLIP is not set
# CONFIG_NET_FC is not set
# CONFIG_SHAPER is not set
CONFIG_NETCONSOLE=m

#
# ISDN subsystem
#
# CONFIG_ISDN is not set

#
# Telephony Support
#
# CONFIG_PHONE is not set

#
# Input device support
#
CONFIG_INPUT=y

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_INPUT_JOYDEV=m
CONFIG_INPUT_TSDEV=m
CONFIG_INPUT_TSDEV_SCREEN_X=240
CONFIG_INPUT_TSDEV_SCREEN_Y=320
CONFIG_INPUT_EVDEV=m
# CONFIG_INPUT_EVBUG is not set

#
# Input I/O drivers
#
CONFIG_GAMEPORT=m
CONFIG_SOUND_GAMEPORT=m
# CONFIG_GAMEPORT_NS558 is not set
# CONFIG_GAMEPORT_L4 is not set
# CONFIG_GAMEPORT_EMU10K1 is not set
# CONFIG_GAMEPORT_VORTEX is not set
# CONFIG_GAMEPORT_FM801 is not set
# CONFIG_GAMEPORT_CS461x is not set
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
CONFIG_SERIO_SERPORT=m
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PARKBD is not set
CONFIG_SERIO_PCIPS2=m
CONFIG_SERIO_RAW=m

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
CONFIG_KEYBOARD_SUNKBD=m
CONFIG_KEYBOARD_LKKBD=m
CONFIG_KEYBOARD_XTKBD=m
CONFIG_KEYBOARD_NEWTON=m
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
CONFIG_MOUSE_SERIAL=m
# CONFIG_MOUSE_VSXXXAA is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
CONFIG_INPUT_MISC=y
CONFIG_INPUT_PCSPKR=m
CONFIG_INPUT_UINPUT=m

#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
CONFIG_SERIAL_NONSTANDARD=y
# CONFIG_COMPUTONE is not set
# CONFIG_ROCKETPORT is not set
# CONFIG_CYCLADES is not set
# CONFIG_DIGIEPCA is not set
# CONFIG_DIGI is not set
# CONFIG_MOXA_INTELLIO is not set
# CONFIG_MOXA_SMARTIO is not set
# CONFIG_ISI is not set
# CONFIG_SYNCLINK is not set
# CONFIG_SYNCLINKMP is not set
CONFIG_N_HDLC=m
# CONFIG_RISCOM8 is not set
# CONFIG_SPECIALIX is not set
# CONFIG_SX is not set
# CONFIG_RIO is not set
# CONFIG_STALDRV is not set

#
# Serial drivers
#
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_CS=m
CONFIG_SERIAL_8250_ACPI=y
CONFIG_SERIAL_8250_NR_UARTS=4
CONFIG_SERIAL_8250_EXTENDED=y
# CONFIG_SERIAL_8250_MANY_PORTS is not set
CONFIG_SERIAL_8250_SHARE_IRQ=y
# CONFIG_SERIAL_8250_DETECT_IRQ is not set
# CONFIG_SERIAL_8250_MULTIPORT is not set
# CONFIG_SERIAL_8250_RSA is not set

#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_UNIX98_PTYS=y
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256
CONFIG_PRINTER=m
# CONFIG_LP_CONSOLE is not set
CONFIG_PPDEV=m
CONFIG_TIPAR=m

#
# IPMI
#
CONFIG_IPMI_HANDLER=m
CONFIG_IPMI_PANIC_EVENT=y
CONFIG_IPMI_PANIC_STRING=y
CONFIG_IPMI_DEVICE_INTERFACE=m
CONFIG_IPMI_SI=m
CONFIG_IPMI_WATCHDOG=m
CONFIG_IPMI_POWEROFF=m

#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
CONFIG_HW_RANDOM=m
CONFIG_NVRAM=m
CONFIG_RTC=y
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set

#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
CONFIG_AGP=y
CONFIG_AGP_AMD64=y
# CONFIG_AGP_INTEL_MCH is not set
# CONFIG_DRM is not set

#
# PCMCIA character devices
#
# CONFIG_SYNCLINK_CS is not set
# CONFIG_MWAVE is not set
CONFIG_RAW_DRIVER=m
CONFIG_HPET=y
# CONFIG_HPET_RTC_IRQ is not set
CONFIG_HPET_MMAP=y
CONFIG_MAX_RAW_DEVS=4096
CONFIG_HANGCHECK_TIMER=m

#
# I2C support
#
CONFIG_I2C=m
CONFIG_I2C_CHARDEV=m

#
# I2C Algorithms
#
CONFIG_I2C_ALGOBIT=m
CONFIG_I2C_ALGOPCF=m
# CONFIG_I2C_ALGOPCA is not set

#
# I2C Hardware Bus support
#
CONFIG_I2C_ALI1535=m
# CONFIG_I2C_ALI1563 is not set
CONFIG_I2C_ALI15X3=m
CONFIG_I2C_AMD756=m
CONFIG_I2C_AMD8111=m
CONFIG_I2C_I801=m
CONFIG_I2C_I810=m
CONFIG_I2C_ISA=m
CONFIG_I2C_NFORCE2=m
CONFIG_I2C_PARPORT=m
CONFIG_I2C_PARPORT_LIGHT=m
CONFIG_I2C_PROSAVAGE=m
CONFIG_I2C_SAVAGE4=m
CONFIG_SCx200_ACB=m
CONFIG_I2C_SIS5595=m
CONFIG_I2C_SIS630=m
CONFIG_I2C_SIS96X=m
CONFIG_I2C_VIA=m
CONFIG_I2C_VIAPRO=m
CONFIG_I2C_VOODOO3=m
# CONFIG_I2C_PCA_ISA is not set

#
# Hardware Sensors Chip support
#
CONFIG_I2C_SENSOR=m
CONFIG_SENSORS_ADM1021=m
# CONFIG_SENSORS_ADM1025 is not set
# CONFIG_SENSORS_ADM1031 is not set
CONFIG_SENSORS_ASB100=m
CONFIG_SENSORS_DS1621=m
CONFIG_SENSORS_FSCHER=m
CONFIG_SENSORS_GL518SM=m
CONFIG_SENSORS_IT87=m
CONFIG_SENSORS_LM75=m
# CONFIG_SENSORS_LM77 is not set
CONFIG_SENSORS_LM78=m
CONFIG_SENSORS_LM80=m
CONFIG_SENSORS_LM83=m
CONFIG_SENSORS_LM85=m
CONFIG_SENSORS_LM90=m
# CONFIG_SENSORS_MAX1619 is not set
# CONFIG_SENSORS_SMSC47M1 is not set
CONFIG_SENSORS_VIA686A=m
CONFIG_SENSORS_W83781D=m
CONFIG_SENSORS_W83L785TS=m
CONFIG_SENSORS_W83627HF=m

#
# Other I2C Chip support
#
CONFIG_SENSORS_EEPROM=m
# CONFIG_SENSORS_PCF8574 is not set
# CONFIG_SENSORS_PCF8591 is not set
# CONFIG_SENSORS_RTC8564 is not set
CONFIG_I2C_DEBUG_CORE=y
CONFIG_I2C_DEBUG_ALGO=y
CONFIG_I2C_DEBUG_BUS=y
CONFIG_I2C_DEBUG_CHIP=y

#
# Dallas's 1-wire bus
#
# CONFIG_W1 is not set

#
# Misc devices
#
# CONFIG_IBM_ASM is not set

#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set

#
# Digital Video Broadcasting Devices
#
# CONFIG_DVB is not set

#
# Graphics support
#
CONFIG_FB=y
CONFIG_FB_MODE_HELPERS=y
# CONFIG_FB_TILEBLITTING is not set
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
CONFIG_FB_VESA=y
CONFIG_VIDEO_SELECT=y
# CONFIG_FB_HGA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON_OLD is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_TRIDENT is not set
CONFIG_FB_VIRTUAL=m

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FONTS=y
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
# CONFIG_FONT_6x11 is not set
# CONFIG_FONT_PEARL_8x8 is not set
# CONFIG_FONT_ACORN_8x8 is not set
# CONFIG_FONT_MINI_4x6 is not set
# CONFIG_FONT_SUN8x16 is not set
# CONFIG_FONT_SUN12x22 is not set

#
# Logo configuration
#
CONFIG_LOGO=y
# CONFIG_LOGO_LINUX_MONO is not set
# CONFIG_LOGO_LINUX_VGA16 is not set
CONFIG_LOGO_LINUX_CLUT224=y

#
# Sound
#
CONFIG_SOUND=m

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_SEQ_DUMMY=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_BIT32_EMUL=m
CONFIG_SND_RTCTIMER=m
CONFIG_SND_VERBOSE_PRINTK=y
CONFIG_SND_DEBUG=y
CONFIG_SND_DEBUG_MEMORY=y
CONFIG_SND_DEBUG_DETECT=y

#
# Generic devices
#
CONFIG_SND_MPU401_UART=m
CONFIG_SND_DUMMY=m
CONFIG_SND_VIRMIDI=m
CONFIG_SND_MTPAV=m
CONFIG_SND_SERIAL_U16550=m
CONFIG_SND_MPU401=m

#
# PCI devices
#
CONFIG_SND_AC97_CODEC=m
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_YMFPCI is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
CONFIG_SND_INTEL8X0=m
CONFIG_SND_INTEL8X0M=m
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VX222 is not set

#
# ALSA USB devices
#
CONFIG_SND_USB_AUDIO=m
CONFIG_SND_USB_USX2Y=m

#
# PCMCIA devices
#

#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set

#
# USB support
#
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set

#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
CONFIG_USB_BANDWIDTH=y
CONFIG_USB_DYNAMIC_MINORS=y
# CONFIG_USB_SUSPEND is not set
# CONFIG_USB_OTG is not set

#
# USB Host Controller Drivers
#
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_EHCI_SPLIT_ISO=y
CONFIG_USB_EHCI_ROOT_HUB_TT=y
CONFIG_USB_OHCI_HCD=m
# CONFIG_USB_UHCI_HCD is not set

#
# USB Device Class drivers
#
CONFIG_USB_AUDIO=m

#
# USB Bluetooth TTY can only be used with disabled Bluetooth subsystem #
CONFIG_USB_MIDI=m
CONFIG_USB_ACM=m
CONFIG_USB_PRINTER=m
CONFIG_USB_STORAGE=m
# CONFIG_USB_STORAGE_DEBUG is not set CONFIG_USB_STORAGE_RW_DETECT=y
CONFIG_USB_STORAGE_DATAFAB=y
CONFIG_USB_STORAGE_FREECOM=y
CONFIG_USB_STORAGE_ISD200=y
CONFIG_USB_STORAGE_DPCM=y
CONFIG_USB_STORAGE_HP8200e=y
CONFIG_USB_STORAGE_SDDR09=y
CONFIG_USB_STORAGE_SDDR55=y
CONFIG_USB_STORAGE_JUMPSHOT=y

#
# USB Human Interface Devices (HID)
#
CONFIG_USB_HID=m
CONFIG_USB_HIDINPUT=y
CONFIG_HID_FF=y
CONFIG_HID_PID=y
CONFIG_LOGITECH_FF=y
CONFIG_THRUSTMASTER_FF=y
CONFIG_USB_HIDDEV=y

#
# USB HID Boot Protocol drivers
#
# CONFIG_USB_KBD is not set
# CONFIG_USB_MOUSE is not set
CONFIG_USB_AIPTEK=m
CONFIG_USB_WACOM=m
CONFIG_USB_KBTAB=m
CONFIG_USB_POWERMATE=m
CONFIG_USB_MTOUCH=m
CONFIG_USB_EGALAX=m
CONFIG_USB_XPAD=m
CONFIG_USB_ATI_REMOTE=m

#
# USB Imaging devices
#
CONFIG_USB_MDC800=m
CONFIG_USB_MICROTEK=m
CONFIG_USB_HPUSBSCSI=m

#
# USB Multimedia devices
#
CONFIG_USB_DABUSB=m

#
# Video4Linux support is needed for USB Multimedia device support #

#
# USB Network adaptors
#
CONFIG_USB_CATC=m
CONFIG_USB_KAWETH=m
CONFIG_USB_PEGASUS=m
CONFIG_USB_RTL8150=m
CONFIG_USB_USBNET=m

#
# USB Host-to-Host Cables
#
CONFIG_USB_ALI_M5632=y
CONFIG_USB_AN2720=y
CONFIG_USB_BELKIN=y
CONFIG_USB_GENESYS=y
CONFIG_USB_NET1080=y
CONFIG_USB_PL2301=y

#
# Intelligent USB Devices/Gadgets
#
CONFIG_USB_ARMLINUX=y
CONFIG_USB_EPSON2888=y
CONFIG_USB_ZAURUS=y
CONFIG_USB_CDCETHER=y

#
# USB Network Adapters
#
CONFIG_USB_AX8817X=y

#
# USB port drivers
#
CONFIG_USB_USS720=m

#
# USB Serial Converter support
#
CONFIG_USB_SERIAL=m
CONFIG_USB_SERIAL_GENERIC=y
# CONFIG_USB_SERIAL_BELKIN is not set
# CONFIG_USB_SERIAL_WHITEHEAT is not set
# CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set
# CONFIG_USB_SERIAL_EMPEG is not set
# CONFIG_USB_SERIAL_FTDI_SIO is not set
# CONFIG_USB_SERIAL_VISOR is not set
# CONFIG_USB_SERIAL_IPAQ is not set
# CONFIG_USB_SERIAL_IR is not set
# CONFIG_USB_SERIAL_EDGEPORT is not set
# CONFIG_USB_SERIAL_EDGEPORT_TI is not set
# CONFIG_USB_SERIAL_KEYSPAN_PDA is not set
# CONFIG_USB_SERIAL_KEYSPAN is not set
# CONFIG_USB_SERIAL_KLSI is not set
# CONFIG_USB_SERIAL_KOBIL_SCT is not set
# CONFIG_USB_SERIAL_MCT_U232 is not set
CONFIG_USB_SERIAL_PL2303=m
# CONFIG_USB_SERIAL_SAFE is not set
# CONFIG_USB_SERIAL_CYBERJACK is not set
# CONFIG_USB_SERIAL_XIRCOM is not set
# CONFIG_USB_SERIAL_OMNINET is not set

#
# USB Miscellaneous drivers
#
CONFIG_USB_EMI62=m
CONFIG_USB_EMI26=m
CONFIG_USB_TIGL=m
CONFIG_USB_AUERSWALD=m
CONFIG_USB_RIO500=m
CONFIG_USB_LEGOTOWER=m
CONFIG_USB_LCD=m
CONFIG_USB_LED=m
# CONFIG_USB_CYTHERM is not set
# CONFIG_USB_PHIDGETSERVO is not set
CONFIG_USB_TEST=m

#
# USB Gadget Support
#
# CONFIG_USB_GADGET is not set

#
# Firmware Drivers
#
# CONFIG_EDD is not set

#
# File systems
#
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT2_FS_POSIX_ACL=y
CONFIG_EXT2_FS_SECURITY=y
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
CONFIG_EXT3_FS_SECURITY=y
CONFIG_JBD=y
CONFIG_JBD_DEBUG=y
CONFIG_FS_MBCACHE=y
CONFIG_REISER4_FS=y
CONFIG_REISER4_LARGE_KEY=y
# CONFIG_REISER4_CHECK is not set
CONFIG_REISERFS_FS=y
# CONFIG_REISERFS_CHECK is not set
CONFIG_REISERFS_PROC_INFO=y
CONFIG_REISERFS_FS_XATTR=y
CONFIG_REISERFS_FS_POSIX_ACL=y
CONFIG_REISERFS_FS_SECURITY=y
# CONFIG_JFS_FS is not set
CONFIG_FS_POSIX_ACL=y
# CONFIG_XFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_ROMFS_FS is not set
CONFIG_QUOTA=y
CONFIG_QFMT_V1=m
CONFIG_QFMT_V2=m
CONFIG_QUOTACTL=y
CONFIG_AUTOFS_FS=m
CONFIG_AUTOFS4_FS=m

#
# Caches
#
# CONFIG_CACHEFS is not set

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=m
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_ZISOFS_FS=m
CONFIG_UDF_FS=m
CONFIG_UDF_NLS=y

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
CONFIG_VFAT_FS=m
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
CONFIG_NTFS_FS=m
CONFIG_NTFS_DEBUG=y
CONFIG_NTFS_RW=y

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_SYSFS=y
# CONFIG_DEVFS_FS is not set
CONFIG_DEVPTS_FS_XATTR=y
CONFIG_DEVPTS_FS_SECURITY=y
CONFIG_TMPFS=y
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not set
CONFIG_RAMFS=y

#
# Miscellaneous filesystems
#
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_JFFS_FS is not set
# CONFIG_JFFS2_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set

#
# Network File Systems
#
CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
CONFIG_NFS_V4=y
# CONFIG_NFS_DIRECTIO is not set
CONFIG_NFSD=m
CONFIG_NFSD_V3=y
CONFIG_NFSD_V4=y
CONFIG_NFSD_TCP=y
CONFIG_LOCKD=m
CONFIG_LOCKD_V4=y
CONFIG_EXPORTFS=m
CONFIG_SUNRPC=m
CONFIG_SUNRPC_GSS=m
CONFIG_RPCSEC_GSS_KRB5=m
CONFIG_RPCSEC_GSS_SPKM3=m
CONFIG_SMB_FS=m
CONFIG_SMB_NLS_DEFAULT=y
CONFIG_SMB_NLS_REMOTE="cp852"
CONFIG_CIFS=m
CONFIG_CIFS_STATS=y
CONFIG_CIFS_XATTR=y
CONFIG_CIFS_POSIX=y
CONFIG_NCP_FS=m
CONFIG_NCPFS_PACKET_SIGNING=y
CONFIG_NCPFS_IOCTL_LOCKING=y
CONFIG_NCPFS_STRONG=y
CONFIG_NCPFS_NFS_NS=y
CONFIG_NCPFS_OS2_NS=y
CONFIG_NCPFS_SMALLDOS=y
CONFIG_NCPFS_NLS=y
CONFIG_NCPFS_EXTRAS=y
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set

#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y

#
# Native Language Support
#
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-2"
CONFIG_NLS_CODEPAGE_437=m
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
CONFIG_NLS_CODEPAGE_852=m
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
CONFIG_NLS_CODEPAGE_1250=m
# CONFIG_NLS_CODEPAGE_1251 is not set
# CONFIG_NLS_ASCII is not set
CONFIG_NLS_ISO8859_1=m
CONFIG_NLS_ISO8859_2=m
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
CONFIG_NLS_ISO8859_15=m
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
CONFIG_NLS_UTF8=m

#
# Profiling support
#
CONFIG_PROFILING=y
CONFIG_OPROFILE=m

#
# Kernel hacking
#
CONFIG_DEBUG_KERNEL=y
CONFIG_MAGIC_SYSRQ=y
CONFIG_DEBUG_SLAB=y
CONFIG_DEBUG_SPINLOCK=y
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_DEBUG_INFO is not set
# CONFIG_FRAME_POINTER is not set
# CONFIG_CHECKING is not set
# CONFIG_INIT_DEBUG is not set
CONFIG_SCHEDSTATS=y
# CONFIG_IOMMU_DEBUG is not set
# CONFIG_KGDB is not set

#
# Security options
#
# CONFIG_KEYS is not set
CONFIG_SECURITY=y
CONFIG_SECURITY_NETWORK=y
CONFIG_SECURITY_CAPABILITIES=y
CONFIG_SECURITY_ROOTPLUG=m
CONFIG_SECURITY_SELINUX=y
CONFIG_SECURITY_SELINUX_BOOTPARAM=y
CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=1
CONFIG_SECURITY_SELINUX_DISABLE=y
CONFIG_SECURITY_SELINUX_DEVELOP=y
CONFIG_SECURITY_SELINUX_MLS=y

#
# Cryptographic options
#
CONFIG_CRYPTO=y
CONFIG_CRYPTO_HMAC=y
CONFIG_CRYPTO_NULL=m
CONFIG_CRYPTO_MD4=m
CONFIG_CRYPTO_MD5=y
CONFIG_CRYPTO_SHA1=m
CONFIG_CRYPTO_SHA256=m
CONFIG_CRYPTO_SHA512=m
# CONFIG_CRYPTO_WHIRLPOOL is not set
CONFIG_CRYPTO_DES=y
CONFIG_CRYPTO_BLOWFISH=m
CONFIG_CRYPTO_TWOFISH=m
CONFIG_CRYPTO_SERPENT=m
CONFIG_CRYPTO_AES=m
CONFIG_CRYPTO_CAST5=m
CONFIG_CRYPTO_CAST6=m
CONFIG_CRYPTO_TEA=m
CONFIG_CRYPTO_ARC4=m
CONFIG_CRYPTO_KHAZAD=m
CONFIG_CRYPTO_DEFLATE=m
CONFIG_CRYPTO_MICHAEL_MIC=m
CONFIG_CRYPTO_CRC32C=m
CONFIG_CRYPTO_TEST=m

#
# Library routines
#
CONFIG_CRC_CCITT=m
CONFIG_CRC32=y
CONFIG_LIBCRC32C=m
CONFIG_ZLIB_INFLATE=m
CONFIG_ZLIB_DEFLATE=m

#10 lore raw
Quoted 6 lines · Rafael J. Wysocki
Quoted 4 lines · Andrew Morton

Due to master.kernel.org being on the blink, 2.6.9-rc1-mm5 Is currently at

http://www.zip.com.au/~akpm/linux/patches/2.6.9-rc1-mm5/

Quoted 7 lines

I can't build it on x86-64:

LD init/built-in.o
LD .tmp_vmlinux1
fs/built-in.o(.text+0xd1893): In function `mask_ok_common':
: undefined reference to `vfs_permission'
make: *** [.tmp_vmlinux1] Error 1

reiser4 wasn't updated during vfs_permission/generic_permission conversion. Evil conspiracy is obviously underway.

Untested patch is below.

Andrew, please apply.

Nikita.
----------------------------------------------------------------------

perm.c.new renamed from perm.c +1 -1
@@ -13,7 +13,7 @@
 static int
 mask_ok_common(struct inode *inode, int mask)
 {
-	return vfs_permission(inode, mask);
+	return generic_permission(inode, mask, NULL);
 }
 
 static int

----------------------------------------------------------------------

Quoted 6 lines

The .config is attached.

Greets,
RJW

#11 lore raw

just don't set ->permission for reiser4 and kill the whole perm_plugin bullshit. This fixes the issue by removing a few hundred lines of code which is always a good idea.

#12 lore raw
In reply to Rafael J. Wysocki

Update:

Quoted 6 lines · Rafael J. Wysocki
Quoted 4 lines · Andrew Morton

Due to master.kernel.org being on the blink, 2.6.9-rc1-mm5 Is currently at

http://www.zip.com.au/~akpm/linux/patches/2.6.9-rc1-mm5/

Quoted 7 lines

I can't build it on x86-64:

LD init/built-in.o
LD .tmp_vmlinux1
fs/built-in.o(.text+0xd1893): In function `mask_ok_common':
: undefined reference to `vfs_permission'
make: *** [.tmp_vmlinux1] Error 1

It's reiser4, apparently:

CC fs/reiser4/plugin/security/perm.o
fs/reiser4/plugin/security/perm.c: In function `mask_ok_common':
fs/reiser4/plugin/security/perm.c:16: warning: implicit declaration of function `vfs_permission'

Greets,
RJW

Signature · 3 lines
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to.
		-- Lewis Carroll "Alice's Adventures in Wonderland"
#13 lore raw
In reply to Andrew Morton
Quoted 7 lines · Andrew Morton

consolidate-bit-waiting-code-patterns.patch eliminate-bh-waitqueue-hashtable.patch eliminate-bh-waitqueue-hashtable-fix.patch eliminate-inode-waitqueue-hashtable.patch move-wait-ops-contention-case-completely-out-of-line.patch reduce-number-of-parameters-to-__wait_on_bit-and-__wait_on_bit_lock.patch document-wake_up_bits-requirement-for-preceding-memory-barriers.patch

For a general status update, suparna and I are working on the aio integration with all this (well, thus far mostly suparna).

-- wli

#14 lore raw
In reply to Andrew Morton

OK, starfire broke and qlogicisp. Plus some NUMA stuff in mm/mempolicy.c Full error log below. Config is (on ia32):

ftp://ftp.kernel.org/pub/linux/kernel/people/mbligh/config/config.numaq

The NUMA one is either cpusets-big-numa-cpu-and-memory-placement.patch or create-nodemask_t.patch by the looks of it. The only thing touching starfire is bk-netdev.patch, but as I get very similar errors from qlogicisp maybe someone's been futzing with readw/writew ?

M.

drivers/net/starfire.c: In function `starfire_init_one':
drivers/net/starfire.c:924: warning: passing arg 1 of readb' makes pointer from integer without a cast drivers/net/starfire.c:930: warning: passing arg 1 of readb' makes pointer from integer without a cast drivers/net/starfire.c:935: warning: passing arg 2 of writel' makes pointer from integer without a cast drivers/net/starfire.c:937: warning: passing arg 2 of writel' makes pointer from integer without a cast drivers/net/starfire.c:940: warning: passing arg 2 of writel' makes pointer from integer without a cast drivers/net/starfire.c:944: warning: passing arg 1 of readl' makes pointer from integer without a cast drivers/net/starfire.c: In function `mdio_read':
drivers/net/starfire.c:1087: warning: passing arg 1 of readl' makes pointer from integer without a cast drivers/net/starfire.c: In function mdio_write':
drivers/net/starfire.c:1100: warning: passing arg 2 of writel' makes pointer from integer without a cast drivers/net/starfire.c: In function netdev_open':
drivers/net/starfire.c:1123: warning: passing arg 2 of writel' makes pointer from integer without a cast drivers/net/starfire.c:1124: warning: passing arg 2 of writel' makes pointer from integer without a cast drivers/net/starfire.c:1162: warning: passing arg 2 of writel' makes pointer from integer without a cast drivers/net/starfire.c:1169: warning: passing arg 2 of writel' makes pointer from integer without a cast drivers/net/starfire.c:1177: warning: passing arg 2 of writel' makes pointer from integer without a cast drivers/net/starfire.c:1179: warning: passing arg 2 of writel' makes pointer from integer without a cast drivers/net/starfire.c:1180: warning: passing arg 2 of writel' makes pointer from integer without a cast drivers/net/starfire.c:1181: warning: passing arg 2 of writel' makes pointer from integer without a cast drivers/net/starfire.c:1182: warning: passing arg 2 of writel' makes pointer from integer without a cast drivers/net/starfire.c:1183: warning: passing arg 2 of writel' makes pointer from integer without a cast drivers/net/starfire.c:1185: warning: passing arg 2 of writel' makes pointer from integer without a cast drivers/net/starfire.c:1189: warning: passing arg 2 of writel' makes pointer from integer without a cast drivers/net/starfire.c:1196: warning: passing arg 2 of writeb' makes pointer from integer without a cast drivers/net/starfire.c:1199: warning: passing arg 2 of writew' makes pointer from integer without a cast drivers/net/starfire.c:1200: warning: passing arg 2 of writew' makes pointer from integer without a cast drivers/net/starfire.c:1201: warning: passing arg 2 of writew' makes pointer from integer without a cast drivers/net/starfire.c:1205: warning: passing arg 2 of writew' makes pointer from integer without a cast drivers/net/starfire.c:1206: warning: passing arg 2 of writew' makes pointer from integer without a cast drivers/net/starfire.c:1207: warning: passing arg 2 of writew' makes pointer from integer without a cast drivers/net/starfire.c:1213: warning: passing arg 2 of writel' makes pointer from integer without a cast drivers/net/starfire.c:1215: warning: passing arg 2 of writel' makes pointer from integer without a cast drivers/net/starfire.c:1217: warning: passing arg 2 of writel' makes pointer from integer without a cast drivers/net/starfire.c:1219: warning: passing arg 2 of writel' makes pointer from integer without a cast drivers/net/starfire.c:1232: warning: passing arg 2 of writel' makes pointer from integer without a cast drivers/net/starfire.c:1238: warning: passing arg 2 of writel' makes pointer from integer without a cast drivers/net/starfire.c:1240: warning: passing arg 1 of readl' makes pointer from integer without a cast drivers/net/starfire.c:1241: warning: passing arg 2 of writel' makes pointer from integer without a cast drivers/net/starfire.c:1257: warning: passing arg 2 of writel' makes pointer from integer without a cast drivers/net/starfire.c:1260: warning: passing arg 2 of writel' makes pointer from integer without a cast drivers/net/starfire.c: In function tx_timeout':
drivers/net/starfire.c:1312: warning: passing arg 1 of readl' makes pointer from integer without a cast drivers/net/starfire.c: In function init_ring':
drivers/net/starfire.c:1356: warning: passing arg 2 of writew' makes pointer from integer without a cast drivers/net/starfire.c: In function start_tx':
drivers/net/starfire.c:1477: warning: passing arg 2 of writel' makes pointer from integer without a cast drivers/net/starfire.c: In function intr_handler':
drivers/net/starfire.c:1505: warning: passing arg 1 of readl' makes pointer from integer without a cast drivers/net/starfire.c:1522: warning: passing arg 1 of readl' makes pointer from integer without a cast drivers/net/starfire.c:1562: warning: passing arg 2 of writew' makes pointer from integer without a cast drivers/net/starfire.c:1593: warning: passing arg 1 of readl' makes pointer from integer without a cast drivers/net/starfire.c: In function `__netdev_rx':
drivers/net/starfire.c:1710: warning: passing arg 2 of writew' makes pointer from integer without a cast drivers/net/starfire.c: In function refill_rx_ring':
drivers/net/starfire.c:1779: warning: passing arg 2 of writew' makes pointer from integer without a cast drivers/net/starfire.c: In function netdev_media_change':
drivers/net/starfire.c:1839: warning: passing arg 2 of writel' makes pointer from integer without a cast drivers/net/starfire.c:1841: warning: passing arg 2 of writel' makes pointer from integer without a cast drivers/net/starfire.c:1849: warning: passing arg 2 of writel' makes pointer from integer without a cast drivers/net/starfire.c: In function netdev_error':
drivers/net/starfire.c:1865: warning: passing arg 2 of writel' makes pointer from integer without a cast drivers/net/starfire.c: In function get_stats':
drivers/net/starfire.c:1891: warning: passing arg 1 of readl' makes pointer from integer without a cast drivers/net/starfire.c:1892: warning: passing arg 1 of readl' makes pointer from integer without a cast drivers/net/starfire.c:1893: warning: passing arg 1 of readl' makes pointer from integer without a cast drivers/net/starfire.c:1895: warning: passing arg 1 of readl' makes pointer from integer without a cast drivers/net/starfire.c:1895: warning: passing arg 1 of readl' makes pointer from integer without a cast drivers/net/starfire.c:1896: warning: passing arg 1 of readl' makes pointer from integer without a cast drivers/net/starfire.c:1898: warning: passing arg 1 of readl' makes pointer from integer without a cast drivers/net/starfire.c:1898: warning: passing arg 1 of readl' makes pointer from integer without a cast drivers/net/starfire.c:1901: warning: passing arg 1 of readw' makes pointer from integer without a cast drivers/net/starfire.c:1902: warning: passing arg 2 of writew' makes pointer from integer without a cast drivers/net/starfire.c:1903: warning: passing arg 1 of readl' makes pointer from integer without a cast drivers/net/starfire.c:1904: warning: passing arg 1 of readl' makes pointer from integer without a cast drivers/net/starfire.c:1905: warning: passing arg 1 of readl' makes pointer from integer without a cast drivers/net/starfire.c:1906: warning: passing arg 1 of readl' makes pointer from integer without a cast drivers/net/starfire.c: In function `set_rx_mode':
drivers/net/starfire.c:1961: warning: passing arg 2 of writew' makes pointer from integer without a cast drivers/net/starfire.c:1962: warning: passing arg 2 of writew' makes pointer from integer without a cast drivers/net/starfire.c:1963: warning: passing arg 2 of writew' makes pointer from integer without a cast drivers/net/starfire.c:1967: warning: passing arg 2 of writew' makes pointer from integer without a cast drivers/net/starfire.c:1968: warning: passing arg 2 of writew' makes pointer from integer without a cast drivers/net/starfire.c:1969: warning: passing arg 2 of writew' makes pointer from integer without a cast drivers/net/starfire.c:1990: warning: passing arg 2 of writew' makes pointer from integer without a cast drivers/net/starfire.c:1991: warning: passing arg 2 of writew' makes pointer from integer without a cast drivers/net/starfire.c:1992: warning: passing arg 2 of writew' makes pointer from integer without a cast drivers/net/starfire.c:1995: warning: passing arg 2 of writew' makes pointer from integer without a cast drivers/net/starfire.c:1998: warning: passing arg 2 of writel' makes pointer from integer without a cast drivers/net/starfire.c: In function netdev_close':
drivers/net/starfire.c:2099: warning: passing arg 1 of readl' makes pointer from integer without a cast drivers/net/starfire.c:2106: warning: passing arg 2 of writel' makes pointer from integer without a cast drivers/net/starfire.c:2109: warning: passing arg 2 of writel' makes pointer from integer without a cast drivers/net/starfire.c:2110: warning: passing arg 1 of readl' makes pointer from integer without a cast mm/mempolicy.c: In function `get_zonemask':
mm/mempolicy.c:419: `maxnode' undeclared (first use in this function)
mm/mempolicy.c:419: (Each undeclared identifier is reported only once
mm/mempolicy.c:419: for each function it appears in.)
drivers/scsi/qlogicisp.c: In function `isp_inw':
drivers/scsi/qlogicisp.c:632: warning: passing arg 1 of readw' makes pointer from integer without a cast drivers/scsi/qlogicisp.c: In function isp_outw':
drivers/scsi/qlogicisp.c:641: warning: passing arg 2 of `writew' makes pointer from integer without a cast

#15 lore raw
Quoted 2 lines · Martin

The NUMA one is either cpusets-big-numa-cpu-and-memory-placement.patch or create-nodemask_t.patch by the looks of it

The numa one, with the following errors:

mm/mempolicy.c: In function `get_zonemask':
mm/mempolicy.c:419: error: `maxnode' undeclared (first use in this function)

is due to fix-abi-in-set_mempolicy.patch.

See my fix on lkml:

Subject: [PATCH] undo more numa maxnode confusions
Date: Mon, 13 Sep 2004 05:58:48 -0700

Signature · 3 lines
                          I won't rest till it's the best ...
                          Programmer, Linux Scalability
                          Paul Jackson <[email protected]> 1.650.933.1373
#16 lore raw

--Paul Jackson <[email protected]> wrote (on Monday, September 13, 2004 08:18:41 -0700):

Quoted 9 lines
Quoted 2 lines · Martin

The NUMA one is either cpusets-big-numa-cpu-and-memory-placement.patch or create-nodemask_t.patch by the looks of it

The numa one, with the following errors:

mm/mempolicy.c: In function `get_zonemask':
mm/mempolicy.c:419: error: `maxnode' undeclared (first use in this function)

Quoted 6 lines

is due to fix-abi-in-set_mempolicy.patch.

See my fix on lkml:

Subject: [PATCH] undo more numa maxnode confusions
Date: Mon, 13 Sep 2004 05:58:48 -0700

That worked - thanks.

The others seem only to be warnings, and are allegedly no worse than before, so maybe it'll work now ;-)

M.

#17 lore raw
Quoted 1 line

so maybe it'll work now ;-)

It's not working for me - on a small ia64 SN2, it crashes during boot. Somewhere between the 32 and 42 patch of Andrews broken out set of 436 patches ... I'm still in the binary search loop.

Signature · 3 lines
                          I won't rest till it's the best ...
                          Programmer, Linux Scalability
                          Paul Jackson <[email protected]> 1.650.933.1373
#18 lore raw
In reply to Andrew Morton

Hello Andrew,

Please replace patch next_thread-bug-fixes.patch in -mm5 tree with the last diff-next_thread I sent to you.

And it looks like thread loop in do_task_stat() doesn't require siglock lock, so you can add the patch attached to reduce lock area.

Kirill

fs/proc/array.c renamed from fs/proc/array.c.nt +1 -2
@@ -338,6 +338,7 @@ static int do_task_stat(struct task_stru
 		spin_lock_irq(&task->sighand->siglock);
 		num_threads = atomic_read(&task->signal->count);
 		collect_sigign_sigcatch(task, &sigign, &sigcatch);
+		spin_unlock_irq(&task->sighand->siglock);
 
 		/* add up live thread stats at the group level */
 		if (whole) {
@@ -350,8 +351,6 @@ static int do_task_stat(struct task_stru
 				t = next_thread(t);
 			} while (t != task);
 		}
-
-		spin_unlock_irq(&task->sighand->siglock);
 	}
 	if (task->signal) {
 		if (task->signal->tty) {
#19 lore raw
Quoted 5 lines · Kirill Korotaev

Hello Andrew,

Please replace patch next_thread-bug-fixes.patch in -mm5 tree with the last diff-next_thread I sent to you.

I was planning on replacing it with Ingo's patch.

fs/proc/array.c renamed from fs/proc/array.c.orig +1 -1
@@ -356,7 +356,7 @@ static int do_task_stat(struct task_stru
  			stime = task->signal->stime;
  		}
  	}
-	if (whole) {
+	if (whole && task->sighand) {
 

Is there some reason why your patch is better? If so, please do a full resend.

Quoted 2 lines

And it looks like thread loop in do_task_stat() doesn't require siglock lock, so you can add the patch attached to reduce lock area.

hm, OK.

#20 lore raw
Quoted 5 lines · Andrew Morton
Quoted 1 line · Kirill Korotaev

Please replace patch next_thread-bug-fixes.patch in -mm5 tree with the last diff-next_thread I sent to you.

I was planning on replacing it with Ingo's patch.

1. next_thread-bug-fixes.patch has nothing to do with Ingo's patch.
next_thread-bug-fixes.patch is cosmetic and a bit unfull (it should better check that the process is still hashed, which I added in my patch). So I ask you to replace it with diff-next_thread (I resend it once again), which fixes original kernel and should replace the above patch in your tree.

The comments for this patch
~~~~~~~~~~~~~~~~~~~~~~~~~~~
This patch changes obscure BUG() checks in next_thread()
with pid checks meaning exactly the same (It simply checks if the task
is still hashed). Also original check was incorrect since it required
ANY of the locks (siglock or tasklist_lock) while siglock is not required at all and tasklist_lock is ALWAYS required.

2. The BUG() which is resolved in Ingo's patch is fixed in -mm5 tree with show-aggregate-per-process-counters-in-proc-pid-stat-2.patch So you needn't to apply Ingo's patch.

Quoted 11 lines
fs/proc/array.c renamed from fs/proc/array.c.orig +1 -1
@@ -356,7 +356,7 @@ static int do_task_stat(struct task_stru
  			stime = task->signal->stime;
  		}
  	}
-	if (whole) {
+	if (whole && task->sighand) {
 

Is there some reason why your patch is better? If so, please do a full resend.

My patch was a bit more self explaining as we discussed with Ingo. But due to being already fixed, I don't think you have to bother with it.

Kirill

kernel/exit.c renamed from kernel/exit.c.nt +1 -4
@@ -848,10 +848,7 @@ asmlinkage long sys_exit(int error_code)
 task_t fastcall *next_thread(const task_t *p)
 {
 #ifdef CONFIG_SMP
-	if (!p->sighand)
-		BUG();
-	if (!spin_is_locked(&p->sighand->siglock) &&
-				!rwlock_is_locked(&tasklist_lock))
+	if (!rwlock_is_locked(&tasklist_lock) || p->pids[PIDTYPE_TGID].nr == 0)
 		BUG();
 #endif
 	return pid_task(p->pids[PIDTYPE_TGID].pid_list.next, PIDTYPE_TGID);
#21 lore raw
In reply to Andrew Morton

* Andrew Morton <[email protected]>:

Quoted 1 line

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.9-rc1/2.6.9-rc1-mm5/

Some badness with OHCI usb, usb devices just 'aren't there' for me.

- good -

Sep  9 18:51:58 tienel kernel: ohci_hcd 0000:02:00.0: Advanced Micro Devices [AMD] AMD-768 [Opus] USB
Sep  9 18:51:58 tienel kernel: ohci_hcd 0000:02:00.0: irq 19, pci mem 0xf4000000
Sep  9 18:51:58 tienel kernel: ohci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 1
Sep  9 18:51:58 tienel kernel: hub 1-0:1.0: USB hub found
Sep  9 18:51:58 tienel kernel: hub 1-0:1.0: 4 ports detected
Sep  9 18:51:58 tienel kernel: USB Universal Host Controller Interface driver v2.2
Sep  9 18:51:58 tienel kernel: usb 1-1: new full speed USB device using address 2

- -

- bad (as in 2.6.9-rc1-mm5) -

Sep 13 23:01:19 tienel kernel: ohci_hcd 0000:02:00.0: Advanced Micro Devices [AMD] AMD-768 [Opus] USB
Sep 13 23:01:19 tienel kernel: ohci_hcd 0000:02:00.0: irq 19, pci mem 0xf4000000
Sep 13 23:01:19 tienel kernel: ohci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 1
Sep 13 23:01:19 tienel kernel: ohci_hcd 0000:02:00.0: remove, state 0
Sep 13 23:01:19 tienel kernel: ohci_hcd 0000:02:00.0: USB bus 1 deregistered
Sep 13 23:01:19 tienel kernel: ohci_hcd: probe of 0000:02:00.0 failed with error -16

- -

Signature · 1 line
   Psi -- <http://www.iki.fi/pasi.savolainen>
#22 lore raw
In reply to Andrew Morton
Quoted 8 lines · Andrew Morton

Due to master.kernel.org being on the blink, 2.6.9-rc1-mm5 Is currently at

http://www.zip.com.au/~akpm/linux/patches/2.6.9-rc1-mm5/

and will later appear at

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.9-rc1/2.6.9-rc1-mm5/

It does not compile on SMP x86-64 w/ NUMA:

CC arch/x86_64/ia32/ia32_ioctl.o
In file included from fs/compat_ioctl.c:63,

                 from arch/x86_64/ia32/ia32_ioctl.c:14:

include/linux/reiserfs_fs.h:441: error: redefinition of struct key' include/linux/reiserfs_fs.h: In function le_key_k_offset':
include/linux/reiserfs_fs.h:608: error: structure has no member named u' include/linux/reiserfs_fs.h:609: error: structure has no member named u' include/linux/reiserfs_fs.h: In function `le_key_k_type':
include/linux/reiserfs_fs.h:620: error: structure has no member named u' include/linux/reiserfs_fs.h:621: error: structure has no member named u' include/linux/reiserfs_fs.h: In function `set_le_key_k_offset':
include/linux/reiserfs_fs.h:633: error: structure has no member named u' include/linux/reiserfs_fs.h:634: error: structure has no member named u' include/linux/reiserfs_fs.h: In function `set_le_key_k_type':
include/linux/reiserfs_fs.h:647: error: structure has no member named u' include/linux/reiserfs_fs.h:648: error: structure has no member named u' include/linux/reiserfs_fs.h: In function `cpu_key_k_offset':
include/linux/reiserfs_fs.h:677: error: structure has no member named u' include/linux/reiserfs_fs.h:678: error: structure has no member named u' include/linux/reiserfs_fs.h: In function `cpu_key_k_type':
include/linux/reiserfs_fs.h:684: error: structure has no member named u' include/linux/reiserfs_fs.h:685: error: structure has no member named u' include/linux/reiserfs_fs.h: In function `set_cpu_key_k_offset':
include/linux/reiserfs_fs.h:691: error: structure has no member named u' include/linux/reiserfs_fs.h:692: error: structure has no member named u' include/linux/reiserfs_fs.h: In function `set_cpu_key_k_type':
include/linux/reiserfs_fs.h:699: error: structure has no member named u' include/linux/reiserfs_fs.h:700: error: structure has no member named u' include/linux/reiserfs_fs.h: In function `cpu_key_k_offset_dec':
include/linux/reiserfs_fs.h:707: error: structure has no member named u' include/linux/reiserfs_fs.h:709: error: structure has no member named u' include/linux/reiserfs_fs.h: In function `le_key_version':
include/linux/reiserfs_fs.h:1869: error: structure has no member named `u' make[1]: *** [arch/x86_64/ia32/ia32_ioctl.o] Error 1
make: *** [arch/x86_64/ia32] Error 2

The .config is available at:
http://www.sisk.pl/kernel/040913/2.6.9-rc1-mm5-NUMA.config

Greets,
RJW

Signature · 3 lines
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to.
		-- Lewis Carroll "Alice's Adventures in Wonderland"
#23 lore raw
Quoted 11 lines · Rafael J. Wysocki
Quoted 8 lines · Andrew Morton

Due to master.kernel.org being on the blink, 2.6.9-rc1-mm5 Is currently at

http://www.zip.com.au/~akpm/linux/patches/2.6.9-rc1-mm5/

and will later appear at

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.9-rc1/2.6.9-rc1-mm5/

Quoted 7 lines

It does not compile on SMP x86-64 w/ NUMA:

CC arch/x86_64/ia32/ia32_ioctl.o
In file included from fs/compat_ioctl.c:63,

                 from arch/x86_64/ia32/ia32_ioctl.c:14:

include/linux/reiserfs_fs.h:441: error: redefinition of struct key' include/linux/reiserfs_fs.h: In function le_key_k_offset':

include/linux/key.h defines struct key that conflicts with reiserfs' struct key. As a temporary fix turn off CONFIG_KEYS (or CONFIG_REISERFS_FS :)).

Correct solution is to put both structs into proper namespaces by prefixing them.

Quoted 3 lines

Greets,
RJW

Nikita.

#24 lore raw
Quoted 7 lines · Nikita Danilov

include/linux/key.h defines struct key that conflicts with reiserfs'
struct key. As a temporary fix turn off CONFIG_KEYS (or CONFIG_REISERFS_FS :)).

Correct solution is to put both structs into proper namespaces by prefixing them.

struct key was pretty dumb of both of you, but reiserfs was dumb first.

David, what do you want it renamed to?

#25 lore raw
Quoted 5 lines
Quoted 3 lines

Correct solution is to put both structs into proper namespaces by prefixing them.

struct key was pretty dumb of both of you, but reiserfs was dumb first.

Well, I argue that it wasn't that dumb - in this case it's meant to be a generic mechanism usable by everything in the kernel or userspace that needs authentication, authorisation, or crypto tokens. I use EXT3 rather than ReiserFS, so it didn't become an issue.

Quoted 1 line

David, what do you want it renamed to?

key_struct? token? key_token?

Possibly ticket or principal, though they make it sound like it's specifically for Kerberos, so perhaps not.

What I need is a thesaurus.

JamesM: any good suggestion as to a name?

David

#26 lore raw
Quoted 6 lines · David Howells
Quoted 1 line

David, what do you want it renamed to?

key_struct? token? key_token?

Possibly ticket or principal, though they make it sound like it's specifically for Kerberos, so perhaps not.

Then there's the related problem of what do do about the naming of key_alloc(), key.h etc.

What about 'akey', where a is for authentication or access.

- James

Signature · 2 lines
James Morris
<[email protected]>
#27 lore raw
Quoted 2 lines

What about 'akey', where a is for authentication or access.

How about struct key_cookie? Though I think I like struct key_token better. I like struct key even better though:-)

David

#28 lore raw

Re: 2.6.9-rc1-mm5 scheduling while atomic

In reply to Andrew Morton

On an Altix with the default config (smp+preempt, see arch/ia64/configs/sn2_defconfig), I'm getting this:

bad: scheduling while atomic!

Call Trace:
 [<a000000100017380>] show_stack+0x80/0xa0
                                sp=e0001c3004adfc40 bsp=e0001c3004ad9098
 [<a0000001006bcc70>] schedule+0x11f0/0x16a0
                                sp=e0001c3004adfe10 bsp=e0001c3004ad8f78
 [<a000000100018530>] cpu_idle+0x5b0/0x620
                                sp=e0001c3004adfe30 bsp=e0001c3004ad8ee8
 [<a000000100059a10>] start_secondary+0x2d0/0x300
                                sp=e0001c3004adfe30 bsp=e0001c3004ad8eb0
 [<a000000100008580>] _start+0x260/0x290
                                sp=e0001c3004adfe30 bsp=e0001c3004ad8eb0

The messages began right after I logged out of an ssh session and haven't stopped yet.

Jesse

#29 lore raw

Re: 2.6.9-rc1-mm5 scheduling while atomic

Quoted 1 line

The messages began right after I logged out of an ssh session and haven't

I got the same messages, on another Altix sn2_defconfig, after I had:

1) logged in as the only, root user,
2) played around a bit, then
3) issued a 'reboot' command.

Then bamo - lots of scheduling while atomic! complaints. Though the shutdown did succeed, and shut the complaints off.

Signature · 3 lines
                          I won't rest till it's the best ...
                          Programmer, Linux Scalability
                          Paul Jackson <[email protected]> 1.650.933.1373
#30 lore raw

Re: 2.6.9-rc1-mm5 bug in tcp_recvmsg?

In reply to Andrew Morton

Shortly after the backtrace I've already posted, I got one panic that looked like this:

Warning: kfree_skb on hard IRQ a0000001006443d0

Unable to handle kernel paging request at virtual address 600000000001e8e0
Warning: kfree_skb on hard IRQ a0000001006443d0
Unable to handle kernel paging request at virtual address 600000000001e8e0
sshd[8790]: Oops 8804682956800 [1]
Modules linked in:

Pid: 8790, CPU 1, comm: sshd
psr : 0000101308526030 ifs : 80000028b0815428 ip : [<2000000000573670>] Not tainted
ip is at 0x2000000000573670
unat: 0000000000000000 pfs : c000000000000288 rsc : 000000000000000f
rnat: 0000000000000000 bsps: 60000fff7fffc418 pr : 000000000001a529
ldrs: 0000000002100000 ccv : 0000000000000000 fpsr: 0009804c8a74433f csd : 0000000000000000 ssd : 0000000000000000
b0 : 4000000000042010 b6 : 2000000000573520 b7 : 0000000000000000 f6 : 000000000000000000000 f7 : 000000000000000000000
f8 : 000000000000000000000 f9 : 000000000000000000000
f10 : 000000000000000000000 f11 : 000000000000000000000
r1 : 2000000000684200 r2 : c000000000000288 r3 : 0000000000000001 r8 : 600000000001e8e0 r9 : 0000000000000000 r10 : 0000000000000000 r11 : 60000fffffffafa0 r12 : 60000fffffff7020 r13 : 20000000007392e0 r14 : 0000000000000000 r15 : 0000000000000006 r16 : 0000000005a6a5a9 r17 : 0000000000000000 r18 : 600000000001e8f0 r19 : 600000000001e8e0 r20 : 60000fffffff7040 r21 : 60000fffffff7050 r22 : 0000000000000010 r23 : 60000fff7fffc418 r24 : 0000000000000000 r25 : 0000000000000000 r26 : c00000000000038a r27 : 000000000000000f r28 : 2000000000617e20 r29 : 00001213085a6010 r30 : 60000fffffff7244 r31 : 600000000001eaf4 r32 : 0000000000000002 r33 : 0000000000000000 r34 : 200000000009ae00 r35 : 6000000000024b28 r36 : 6000000000024c10 r37 : 2000000000086610 r38 : c000000000000288 r39 : 6000000000024b20 r40 : 0000000000000002 r41 : 600000000001dcd0 r42 : 200000000009ae00 r43 : 0000000000000001 r44 : 0000000000000000 r45 : 0000000000000000 r46 : 0000000000000006 r47 : 0000000000000000 r48 : 2000000000083060 r49 : c00000000000048e r50 : 6000000000024b20 r51 : 0000000000000002 r52 : 6000000000027db0 r53 : 6000000000024c38 r54 : 0000000000000002 r55 : 0000000000000000 r56 : 2000000000a647c0 r57 : 0000000000000000 r58 : 60000000000349d0 r59 : 2000000000a540d8 r60 : 60000fffffffaff8 r61 : 0000000000000000 r62 : 6000000000024b70 r63 : 2000000000082d90 r64 : c00000000000058f r65 : 0000000005a5a969 r66 : 6000000000027e60 r67 : 0000000000000002 r68 : 0000000000000002 r69 : 0000000000000000 r70 : 200000000009ae00 r71 : 6000000000027e68

Kernel panic - not syncing: Aiee, killing interrupt handler!

Rebooting in 5 seconds..

The ip above is in sshd presumably, and the warning message corresponds to somewhere in tcp_recvmsg:

a0000001006434e0 T tcp_recvmsg
a000000100644760 t tcp_close_state

Is this a known problem?

Thanks,
Jesse

maintainer
#31 lore raw

Re: 2.6.9-rc1-mm5 bug in tcp_recvmsg?

Quoted 2 lines · On Mon, 13 Sep 2004 14:56:31 -0700 Jesse Barnes <[email protected]> wrote:

Shortly after the backtrace I've already posted, I got one panic that looked like this:

Do you have PREEMPT enabled with VLAN? If so, that's been fixed recently, it was some buggy RCU locking in the VLAN code.

#32 lore raw

Re: 2.6.9-rc1-mm5 bug in tcp_recvmsg?

Quoted 8 lines · David S. Miller

On Mon, 13 Sep 2004 14:56:31 -0700

Quoted 2 lines · Jesse Barnes

Shortly after the backtrace I've already posted, I got one panic that looked like this:

Do you have PREEMPT enabled with VLAN? If so, that's been fixed recently, it was some buggy RCU locking in the VLAN code.

Nope, VLAN isn't set:
[jbarnes@tomahawk linux-2.6.9-rc1-mm5]$ grep VLAN .config # CONFIG_VLAN_8021Q is not set

maintainer
#33 lore raw

Re: 2.6.9-rc1-mm5 bug in tcp_recvmsg?

Quoted 3 lines · On Mon, 13 Sep 2004 15:44:07 -0700 Jesse Barnes <[email protected]> wrote:

Nope, VLAN isn't set:
[jbarnes@tomahawk linux-2.6.9-rc1-mm5]$ grep VLAN .config # CONFIG_VLAN_8021Q is not set

Hmmm, then that's a really strange backtrace. What networking driver are you using?

#34 lore raw

Re: 2.6.9-rc1-mm5 bug in tcp_recvmsg?

Quoted 9 lines · David S. Miller

On Mon, 13 Sep 2004 15:44:07 -0700

Quoted 3 lines · Jesse Barnes

Nope, VLAN isn't set:
[jbarnes@tomahawk linux-2.6.9-rc1-mm5]$ grep VLAN .config # CONFIG_VLAN_8021Q is not set

Hmmm, then that's a really strange backtrace. What networking driver are you using?

tg3. I saw one trace that included do_poll (iirc) and another last week that had sys_select in it. I'll try to gather some more info.

Jesse

maintainer
#35 lore raw

Re: 2.6.9-rc1-mm5 bug in tcp_recvmsg?

Quoted 2 lines · On Mon, 13 Sep 2004 16:54:27 -0700 Jesse Barnes <[email protected]> wrote:

tg3. I saw one trace that included do_poll (iirc) and another last week that had sys_select in it. I'll try to gather some more info.

What you're seeing might be due to the bug fixed by this patch:

# This is a BitKeeper generated diff -Nru style patch. #
# ChangeSet
# 2004/09/13 12:58:04-07:00 [email protected]
# [NET]: Fix missing spin lock in lltx path.
#

#   This fixes a silly missing spin lock in the relock path. For some 
#   reason it seems to still work when you don't have spinlock debugging
#   enabled.

#
# Please apply.
#
# Thanks to Arjan's spinlock debug kernel for finding it.
#
# Signed-off-by: Andi Kleen <[email protected]>
# Signed-off-by: David S. Miller <[email protected]>
#

# net/sched/sch_generic.c
#   2004/09/13 12:57:46-07:00 [email protected] +3 -1
#   [NET]: Fix missing spin lock in lltx path.
#   
#   This fixes a silly missing spin lock in the relock path. For some 
#   reason it seems to still work when you don't have spinlock debugging
#   enabled.
#   
#   Please apply.
#   
#   Thanks to Arjan's spinlock debug kernel for finding it.
#   
#   Signed-off-by: Andi Kleen <[email protected]>
#   Signed-off-by: David S. Miller <[email protected]>
# 
diff -Nru a/net/sched/sch_generic.c b/net/sched/sch_generic.c
--- a/net/sched/sch_generic.c	2004-09-13 16:38:39 -07:00
+++ b/net/sched/sch_generic.c	2004-09-13 16:38:39 -07:00
@@ -148,8 +148,10 @@
 					spin_lock(&dev->queue_lock);
 					return -1;
 				}
-				if (ret == NETDEV_TX_LOCKED && nolock)
+				if (ret == NETDEV_TX_LOCKED && nolock) {
+					spin_lock(&dev->queue_lock);
 					goto collision; 
+				}
 			}

/* NETDEV_TX_BUSY - we need to requeue */

#36 lore raw

Re: 2.6.9-rc1-mm5 bug in tcp_recvmsg?

Quoted 11 lines · David S. Miller

On Mon, 13 Sep 2004 16:54:27 -0700

Quoted 2 lines · Jesse Barnes

tg3. I saw one trace that included do_poll (iirc) and another last week that had sys_select in it. I'll try to gather some more info.

What you're seeing might be due to the bug fixed by this patch:

      spin_lock(&dev->queue_lock);
      return -1;
     }

Review

Quoted 8 lines
(quoted diff) +3 -1
-    if (ret == NETDEV_TX_LOCKED && nolock)
+    if (ret == NETDEV_TX_LOCKED && nolock) {
+     spin_lock(&dev->queue_lock);
      goto collision;
+    }
    }
 
    /* NETDEV_TX_BUSY - we need to requeue */

Ok, I guess that would explain why I haven't seen this in 2.6.9-rc2. I was getting my backtraces confused too--I've only seen this one for this bug. I'll keep an eye out and report anything I see with the latest bk tree.

Thanks,
Jesse

maintainer
#37 lore raw

Re: 2.6.9-rc1-mm5 bug in tcp_recvmsg?

Quoted 8 lines · On Mon, 13 Sep 2004 17:03:48 -0700 Jesse Barnes <[email protected]> wrote:
Quoted 7 lines · David S. Miller

On Mon, 13 Sep 2004 16:54:27 -0700

Quoted 2 lines · Jesse Barnes

tg3. I saw one trace that included do_poll (iirc) and another last week that had sys_select in it. I'll try to gather some more info.

What you're seeing might be due to the bug fixed by this patch:

..

Quoted 3 lines

Ok, I guess that would explain why I haven't seen this in 2.6.9-rc2. I was getting my backtraces confused too--I've only seen this one for this bug. I'll keep an eye out and report anything I see with the latest bk tree.

The patch isn't in the tree yet, you would see the problem in 2.6.9-rc2

Please try to get a clean backtrace with a current tree plus the patch I posted, and I'll scratch my head some more. :-)

#38 lore raw

Re: 2.6.9-rc1-mm5 bug in tcp_recvmsg?

In reply to David S. Miller
Quoted 5 lines · David S. Miller

diff -Nru a/net/sched/sch_generic.c b/net/sched/sch_generic.c

net/sched/sch_generic.c 2004-09-13 16:38:39 -07:00 +0 -0
@@ -148,8 +148,10 @@
      spin_lock(&dev->queue_lock);

net/sched/sch_generic.c 2004-09-13 16:38:39 -07:00 line 157

Quoted 10 lines
net/sched/sch_generic.c 2004-09-13 16:38:39 -07:00 +3 -1
      return -1;
     }
-    if (ret == NETDEV_TX_LOCKED && nolock)
+    if (ret == NETDEV_TX_LOCKED && nolock) {
+     spin_lock(&dev->queue_lock);
      goto collision;
+    }
    }
 
    /* NETDEV_TX_BUSY - we need to requeue */

Ok, is *this* the sort of thing you'd expect this patch to fix? I've seen it on a couple of different machines now (one 32p and one 8p), but I haven't seen it since applying the above to the BK tree as of this morning. Either way, I'll keep pounding on different machines using the BK tree + your patch to see what problems I run into.

Thanks,
Jesse

bad: scheduling while atomic!

Call Trace:
 [<a000000100017320>] show_stack+0x80/0xa0
                                sp=e00002bc38dffbd0 bsp=e00002bc38df9250
 [<a000000100017370>] dump_stack+0x30/0x60
                                sp=e00002bc38dffda0 bsp=e00002bc38df9238
 [<a0000001006a7500>] schedule+0x1160/0x1520
                                sp=e00002bc38dffda0 bsp=e00002bc38df9128
 [<a0000001006a8430>] schedule_timeout+0xf0/0x200
                                sp=e00002bc38dffdc0 bsp=e00002bc38df90f0
 [<a000000100192e40>] sys_poll+0x520/0x7c0
                                sp=e00002bc38dffe00 bsp=e00002bc38df9018
 [<a00000010000f4c0>] ia64_ret_from_syscall+0x0/0x20
                                sp=e00002bc38dffe30 bsp=e00002bc38df8fd8

Warning: kfree_skb on hard IRQ a0000001005dcba0
bad: scheduling while atomic!

Call Trace:
 [<a000000100017320>] show_stack+0x80/0xa0
                                sp=e00002bc38dffc40 bsp=e00002bc38df9100
 [<a000000100017370>] dump_stack+0x30/0x60
                                sp=e00002bc38dffe10 bsp=e00002bc38df90e8
 [<a0000001006a7500>] schedule+0x1160/0x1520
                                sp=e00002bc38dffe10 bsp=e00002bc38df8fd8
 [<a00000010000fa20>] skip_rbs_switch+0x90/0xf0
                                sp=e00002bc38dffe30 bsp=e00002bc38df8fd8
Unable to handle kernel paging request at virtual address 20000000001bcab0
ls[11638]: Oops 4294967296 [1]
Modules linked in:

Pid: 11638, CPU 2, comm: ls
psr : 00001013081a6018 ifs : 8000000000000003 ip : [<20000000001bcab0>] Nottainted
ip is at 0x20000000001bcab0
unat: 0000000000000000 pfs : c000000000000207 rsc : 000000000000000f
rnat: 0000000000000000 bsps: 60000fff7fffc3f0 pr : 0000000005a6a9e9
ldrs: 0000000000880000 ccv : 0000000000000000 fpsr: 0009804c8a70033f csd : 0000000000000000 ssd : 0000000000000000
b0 : 20000000001b9390 b6 : 20000000001b9360 b7 : 2000000000173d30 f6 : 1003ecccccccccccccccd f7 : 1003e0000000000000007
f8 : 1000c9404000000000000 f9 : 0ffff8000000000000000
f10 : 1003e0000000000002501 f11 : 1000c9403fffff6bfc000
r1 : 200000000029c200 r2 : 2000000000304e58 r3 : 60000fffffffafb0 r8 : 0000000000000009 r9 : 00000000fbad8001 r10 : 0000000000000c00 r11 : 20000000002ffa98 r12 : 60000fffffffafb0 r13 : 2000000000081de0 r14 : 20000000000a9238 r15 : 20000000000a9240 r16 : 000000000011d360 r17 : 20000000001b9360 r18 : 200000000009c000 r19 : 200000000009c228 r20 : 0000000200000000 r21 : 0000000100000000 r22 : 0000000000000000 r23 : 200000000003e16c r24 : 4000000000001bd0 r25 : 200000000003e0d0 r26 : 6000000000001da8 r27 : 200000000029c200 r28 : 20000000003008d0 r29 : 20000000003008c8 r30 : 20000000000804c8 r31 : 000000000000142b r32 : 0000000000000000 r33 : 60000fffffffb42c r34 : 400000000000ba00

Kernel panic - not syncing: Aiee, killing interrupt handler!

Rebooting in 5 seconds..

#39 lore raw

Re: 2.6.9-rc1-mm5: TCP oopses

In reply to Andrew Morton

I'm experiencing TCP related oopses with this kernel (not seen in -mm4), .config file attached.

Here are two backtraces, the first happened a few seconds after logging in via ssh, the second happened soon after boot (using selinux=0, just to make sure).

Oops #1:
-----------

KERNEL: assertion (!skb_queue_empty(&sk->sk_write_queue)) failed at net/ipv4/tcp_timer.c (322)

Unable to handle kernel NULL pointer dereference at virtual address 00000048
 printing eip:
c03022c2
*pde = 00000000
Oops: 0000 [#1]
PREEMPT SMP 
Modules linked in: ipv6 e1000 3c59x ac
CPU:    0
EIP:    0060:[<c03022c2>]    Not tainted VLI
EFLAGS: 00010246   (2.6.9-rc1-mm5) 

EIP is at tcp_retransmit_skb+0x89/0x340
eax: 00000000 ebx: 00000000 ecx: f7718960 edx: 00000000
esi: f740c2a0 edi: f740c0a8 ebp: c0460f64 esp: c0460f48
ds: 007b es: 007b ss: 0068
Process swapper (pid: 0, threadinfo=c0460000 task=c039dac0)

Stack: f740c0a8 00000000 0000056e f740c2a0 f740c0a8 f740c2a0 f740c10c c0460fa0 
       c03044b2 c0387ed4 c038901c c038615b 00000142 c0460fb8 f888bb2f f709a778 
       f70791c0 c181110c 00000001 f740c0a8 f740c2a0 f740c0c8 c0460fb8 c03048af 
Call Trace:
 [<c0106b21>] show_stack+0x7a/0x90
 [<c0106ca2>] show_registers+0x152/0x1ca
 [<c0106ea9>] die+0x100/0x186
 [<c0115809>] do_page_fault+0x2dc/0x5d0
 [<c0106765>] error_code+0x2d/0x38
 [<c03044b2>] tcp_retransmit_timer+0xe9/0x434
 [<c03048af>] tcp_write_timer+0xb2/0xcd
 [<c01249c0>] run_timer_softirq+0xbf/0x17f
 [<c0120f24>] __do_softirq+0x64/0xd2
 [<c01091aa>] do_softirq+0x47/0x4f
 [<c0112535>] smp_apic_timer_interrupt+0xf2/0xf4
 [<c01066ca>] apic_timer_interrupt+0x1a/0x20
 [<c0103e97>] cpu_idle+0x38/0x5a
 [<c042f85a>] start_kernel+0x196/0x1d5
 [<c0100211>] 0xc0100211
 =======================
 [<c0106b21>] show_stack+0x7a/0x90
 [<c0106ca2>] show_registers+0x152/0x1ca
 [<c0106ea9>] die+0x100/0x186
 [<c0115809>] do_page_fault+0x2dc/0x5d0
 [<c0106765>] error_code+0x2d/0x38
 [<c03044b2>] tcp_retransmit_timer+0xe9/0x434
 [<c03048af>] tcp_write_timer+0xb2/0xcd
 [<c01249c0>] run_timer_softirq+0xbf/0x17f
 [<c0120f24>] __do_softirq+0x64/0xd2
 [<c01091aa>] do_softirq+0x47/0x4f
 [<c0112535>] smp_apic_timer_interrupt+0xf2/0xf4
 [<c01066ca>] apic_timer_interrupt+0x1a/0x20
 [<c0103e97>] cpu_idle+0x38/0x5a
 [<c042f85a>] start_kernel+0x196/0x1d5
 [<c0100211>] 0xc0100211
Code: 89 45 ec 8b 47 78 be f5 ff ff ff 89 c2 c1 fa 02 01 d0 8b 97 84 00 00 00 39 c2 0f 4f d0 8b 47 60 39 d0 0f 8f b3 01 00 00 8b 75 f0 <8b> 53 48 8b 4e 10 39 ca 79 5c 39 4b 4c 79 08 0f 0b c3 03 14 61 
 <0>Kernel panic - not syncing: Fatal exception in interrupt

Oops #2:
-----------

gdb) l *0xc02fac2c
0xc02fac2c is in tcp_time_to_recover (net/ipv4/tcp_input.c:1352).

1350 static inline int tcp_skb_timedout(struct tcp_opt *tp, struct sk_buff *skb)
1351 {
1352 return (tcp_time_stamp - TCP_SKB_CB(skb)->when > tp->rto);
1353 }
1354

Unable to handle kernel NULL pointer dereference at virtual address 00000050
 printing eip:
c02fac2c
*pde = 00000000
Oops: 0000 [#1]
PREEMPT SMP 
Modules linked in: ipv6 e1000 3c59x ac
CPU:    0
EIP:    0060:[<c02fac2c>]    Not tainted VLI
EFLAGS: 00010246   (2.6.9-rc1-mm5) 

EIP is at tcp_time_to_recover+0x1d0/0x214
eax: fffcc289 ebx: f77a6320 ecx: 00000002 edx: 00000000
esi: 00000003 edi: f77a6128 ebp: c0460ddc esp: c0460dc4
ds: 007b es: 007b ss: 0068
Process swapper (pid: 0, threadinfo=c0460000 task=c039dac0)

Stack: 00000246 fffcc3b1 00000001 f77a6320 00000000 49a2fa4f c0460e20 c02fb752 
       c0460e20 c02fc1b1 00000000 00010800 49a2fa4f 037a6320 00000001 00000000 
       00000106 00000004 49a2f4d3 f77a6128 00000003 f77a6320 49a2fa4f c0460e60 
Call Trace:
 [<c0106b21>] show_stack+0x7a/0x90
 [<c0106ca2>] show_registers+0x152/0x1ca
 [<c0106ea9>] die+0x100/0x186
 [<c0115809>] do_page_fault+0x2dc/0x5d0
 [<c0106765>] error_code+0x2d/0x38
 [<c02fb752>] tcp_fastretrans_alert+0x146/0x6ed
 [<c02fca42>] tcp_ack+0x260/0x5df
 [<c02ff67e>] tcp_rcv_established+0x5d0/0x868
 [<c0308265>] tcp_v4_do_rcv+0x101/0x103
 [<c0308a73>] tcp_v4_rcv+0x80c/0x920
 [<c02ed407>] ip_local_deliver+0xa0/0x26d
 [<c02edb43>] ip_rcv+0x381/0x4f9
 [<c02da8e3>] netif_receive_skb+0x1f7/0x224
 [<c02da995>] process_backlog+0x85/0x135
 [<c02daacb>] net_rx_action+0x86/0x136
 [<c0120f24>] __do_softirq+0x64/0xd2
 [<c01091aa>] do_softirq+0x47/0x4f
 [<c01089ed>] do_IRQ+0x185/0x1cf
 [<c0106648>] common_interrupt+0x18/0x20
 [<c0103e97>] cpu_idle+0x38/0x5a
 [<c042f85a>] start_kernel+0x196/0x1d5
 [<c0100211>] 0xc0100211
 =======================
 [<c0106b21>] show_stack+0x7a/0x90
 [<c0106ca2>] show_registers+0x152/0x1ca
 [<c0106ea9>] die+0x100/0x186
 [<c0115809>] do_page_fault+0x2dc/0x5d0
 [<c0106765>] error_code+0x2d/0x38
 [<c02fb752>] tcp_fastretrans_alert+0x146/0x6ed
 [<c02fca42>] tcp_ack+0x260/0x5df
 [<c02ff67e>] tcp_rcv_established+0x5d0/0x868
 [<c0308265>] tcp_v4_do_rcv+0x101/0x103
 [<c0308a73>] tcp_v4_rcv+0x80c/0x920
 [<c02ed407>] ip_local_deliver+0xa0/0x26d
 [<c02edb43>] ip_rcv+0x381/0x4f9
 [<c02da8e3>] netif_receive_skb+0x1f7/0x224
 [<c02da995>] process_backlog+0x85/0x135
 [<c02daacb>] net_rx_action+0x86/0x136
 [<c0120f24>] __do_softirq+0x64/0xd2
 [<c01091aa>] do_softirq+0x47/0x4f
 [<c01089ed>] do_IRQ+0x185/0x1cf
 [<c0106648>] common_interrupt+0x18/0x20
 [<c0103e97>] cpu_idle+0x38/0x5a
 [<c042f85a>] start_kernel+0x196/0x1d5
 [<c0100211>] 0xc0100211
Code: 83 c4 0c 5b 5e 5f 5d c3 8b 92 7c 01 00 00 83 c2 01 e9 7a fe ff ff 8d 47 64 8b 57 64 39 c2 b8 00 00 00 00 0f 44 d0 a1 a0 f5 39 c0 <2b> 42 50 3b 83 94 00 00 00 77 c7 e9 7b fe ff ff c7 45 f0 00 00 
 <0>Kernel panic - not syncing: Fatal exception in interrupt
Signature · 2 lines
James Morris
<[email protected]>

#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.9-rc1-mm5
# Mon Sep 13 19:50:59 2004
#
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_UID16=y
CONFIG_GENERIC_ISA_DMA=y

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
CONFIG_CLEAN_COMPILE=y

#
# General setup
#
CONFIG_LOCALVERSION=""
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
# CONFIG_POSIX_MQUEUE is not set
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_SYSCTL=y
CONFIG_AUDIT=y
CONFIG_AUDITSYSCALL=y
CONFIG_LOG_BUF_SHIFT=15
CONFIG_HOTPLUG=y
CONFIG_KOBJECT_UEVENT=y
# CONFIG_IKCONFIG is not set
# CONFIG_EMBEDDED is not set
CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_ALL is not set
# CONFIG_KALLSYMS_EXTRA_PASS is not set
CONFIG_FUTEX=y
CONFIG_EPOLL=y
# CONFIG_CPUSETS is not set
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
CONFIG_SHMEM=y
# CONFIG_TINY_SHMEM is not set

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
CONFIG_OBSOLETE_MODPARM=y
# CONFIG_MODVERSIONS is not set
CONFIG_KMOD=y
CONFIG_STOP_MACHINE=y

#
# Processor type and features
#
CONFIG_X86_PC=y
# CONFIG_X86_ELAN is not set
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
# CONFIG_X86_SUMMIT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_VISWS is not set
# CONFIG_X86_GENERICARCH is not set
# CONFIG_X86_ES7000 is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUMM is not set
CONFIG_MPENTIUM4=y
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
CONFIG_X86_GENERIC=y
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=7
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_HPET_TIMER=y
CONFIG_HPET_EMULATE_RTC=y
CONFIG_SMP=y
CONFIG_NR_CPUS=8
CONFIG_SCHED_SMT=y
CONFIG_PREEMPT=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_TSC=y
CONFIG_X86_MCE=y
CONFIG_X86_MCE_NONFATAL=y
CONFIG_X86_MCE_P4THERMAL=y
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_MICROCODE is not set
# CONFIG_X86_MSR is not set
# CONFIG_X86_CPUID is not set

#
# Firmware Drivers
#
# CONFIG_EDD is not set
# CONFIG_NOHIGHMEM is not set
CONFIG_HIGHMEM4G=y
# CONFIG_HIGHMEM64G is not set
CONFIG_HIGHMEM=y
# CONFIG_HIGHPTE is not set
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
# CONFIG_EFI is not set
CONFIG_IRQBALANCE=y
CONFIG_HAVE_DEC_LOCK=y
CONFIG_REGPARM=y

#
# Performance-monitoring counters support
#
# CONFIG_PERFCTR is not set
# CONFIG_KEXEC is not set

#
# Power management options (ACPI, APM)
#
# CONFIG_PM is not set
# CONFIG_PM_DEBUG is not set

#
# ACPI (Advanced Configuration and Power Interface) Support #
CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_AC=m
# CONFIG_ACPI_BATTERY is not set
# CONFIG_ACPI_BUTTON is not set
# CONFIG_ACPI_FAN is not set
# CONFIG_ACPI_PROCESSOR is not set
# CONFIG_ACPI_ASUS is not set CONFIG_ACPI_THINKPAD=m
# CONFIG_ACPI_TOSHIBA is not set CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
# CONFIG_X86_PM_TIMER is not set

#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set

#
# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
#
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GOMMCONFIG is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_MMCONFIG=y
# CONFIG_PCI_MSI is not set
CONFIG_PCI_LEGACY_PROC=y
CONFIG_PCI_NAMES=y
# CONFIG_ISA is not set
# CONFIG_MCA is not set
# CONFIG_SCx200 is not set
# CONFIG_HOTPLUG_CPU is not set

#
# PCMCIA/CardBus support
#
# CONFIG_PCMCIA is not set

#
# PCI Hotplug Support
#
CONFIG_HOTPLUG_PCI=y
# CONFIG_HOTPLUG_PCI_FAKE is not set
# CONFIG_HOTPLUG_PCI_COMPAQ is not set
# CONFIG_HOTPLUG_PCI_IBM is not set
# CONFIG_HOTPLUG_PCI_ACPI is not set
# CONFIG_HOTPLUG_PCI_CPCI is not set
# CONFIG_HOTPLUG_PCI_PCIE is not set
# CONFIG_HOTPLUG_PCI_SHPC is not set

#
# Executable file formats
#
CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_AOUT is not set
CONFIG_BINFMT_MISC=m

#
# Device Drivers
#

#
# Generic Driver Options
#
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
# CONFIG_FW_LOADER is not set
# CONFIG_DEBUG_DRIVER is not set

#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set

#
# Parallel port support
#
# CONFIG_PARPORT is not set

#
# Plug and Play support
#

#
# Block devices
#
CONFIG_BLK_DEV_FD=y
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
CONFIG_BLK_DEV_LOOP=y
# CONFIG_BLK_DEV_CRYPTOLOOP is not set
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_SX8 is not set
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=8192
CONFIG_BLK_DEV_INITRD=y
# CONFIG_LBD is not set
# CONFIG_CDROM_PKTCDVD is not set

#
# ATA/ATAPI/MFM/RLL support
#
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y

#
# Please see Documentation/ide.txt for help/info on IDE drives #
# CONFIG_BLK_DEV_IDE_SATA is not set
# CONFIG_BLK_DEV_HD_IDE is not set CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set CONFIG_BLK_DEV_IDESCSI=y
# CONFIG_IDE_TASK_IOCTL is not set CONFIG_IDE_TASKFILE_IO=y

#
# IDE chipset support/bugfixes
#
CONFIG_IDE_GENERIC=y
CONFIG_BLK_DEV_CMD640=y
# CONFIG_BLK_DEV_CMD640_ENHANCED is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
# CONFIG_BLK_DEV_OFFBOARD is not set
CONFIG_BLK_DEV_GENERIC=y
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_RZ1000 is not set
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
CONFIG_BLK_DEV_ADMA=y
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_BLK_DEV_ATIIXP is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5520 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_SC1200 is not set
CONFIG_BLK_DEV_PIIX=y
# CONFIG_BLK_DEV_IT8212 is not set
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
# CONFIG_IDE_ARM is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_BLK_DEV_HD is not set

#
# SCSI device support
#
CONFIG_SCSI=y
CONFIG_SCSI_PROC_FS=y

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=y
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_CHR_DEV_SG=y

#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs #
# CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_CONSTANTS is not set
# CONFIG_SCSI_LOGGING is not set

#
# SCSI Transport Attributes
#
# CONFIG_SCSI_SPI_ATTRS is not set
# CONFIG_SCSI_FC_ATTRS is not set

#
# SCSI low-level drivers
#
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
# CONFIG_SCSI_3W_9XXX is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AACRAID is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_DPT_I2O is not set
# CONFIG_MEGARAID_NEWGEN is not set
# CONFIG_MEGARAID_LEGACY is not set
# CONFIG_SCSI_SATA is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_EATA_PIO is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_IPR is not set
# CONFIG_SCSI_QLOGIC_ISP is not set
# CONFIG_SCSI_QLOGIC_FC is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
CONFIG_SCSI_QLA2XXX=y
# CONFIG_SCSI_QLA21XX is not set
# CONFIG_SCSI_QLA22XX is not set
# CONFIG_SCSI_QLA2300 is not set
# CONFIG_SCSI_QLA2322 is not set
# CONFIG_SCSI_QLA6312 is not set
# CONFIG_SCSI_QLA6322 is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_NSP32 is not set
# CONFIG_SCSI_DEBUG is not set

#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set

#
# Fusion MPT device support
#
# CONFIG_FUSION is not set

#
# IEEE 1394 (FireWire) support
#
# CONFIG_IEEE1394 is not set

#
# I2O device support
#
# CONFIG_I2O is not set

#
# Networking support
#
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=y
CONFIG_PACKET_MMAP=y
# CONFIG_NETLINK_DEV is not set
CONFIG_UNIX=y
CONFIG_NET_KEY=y
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_IP_ROUTE_FWMARK=y
CONFIG_IP_ROUTE_MULTIPATH=y
CONFIG_IP_ROUTE_TOS=y
CONFIG_IP_ROUTE_VERBOSE=y
# CONFIG_IP_PNP is not set
CONFIG_NET_IPIP=m
CONFIG_NET_IPGRE=y
CONFIG_NET_IPGRE_BROADCAST=y
CONFIG_IP_MROUTE=y
CONFIG_IP_PIMSM_V1=y
CONFIG_IP_PIMSM_V2=y
# CONFIG_ARPD is not set
# CONFIG_SYN_COOKIES is not set
CONFIG_INET_AH=m
CONFIG_INET_ESP=m
CONFIG_INET_IPCOMP=m
CONFIG_INET_TUNNEL=m

#
# IP: Virtual Server Configuration
#
CONFIG_IP_VS=m
# CONFIG_IP_VS_DEBUG is not set
CONFIG_IP_VS_TAB_BITS=12

#
# IPVS transport protocol load balancing support
#
CONFIG_IP_VS_PROTO_TCP=y
CONFIG_IP_VS_PROTO_UDP=y
CONFIG_IP_VS_PROTO_ESP=y
CONFIG_IP_VS_PROTO_AH=y

#
# IPVS scheduler
#
CONFIG_IP_VS_RR=m
CONFIG_IP_VS_WRR=m
CONFIG_IP_VS_LC=m
CONFIG_IP_VS_WLC=m
CONFIG_IP_VS_LBLC=m
CONFIG_IP_VS_LBLCR=m
CONFIG_IP_VS_DH=m
CONFIG_IP_VS_SH=m
CONFIG_IP_VS_SED=m
CONFIG_IP_VS_NQ=m

#
# IPVS application helper
#
CONFIG_IP_VS_FTP=m
CONFIG_IPV6=m
# CONFIG_IPV6_PRIVACY is not set
CONFIG_INET6_AH=m
CONFIG_INET6_ESP=m
CONFIG_INET6_IPCOMP=m
CONFIG_INET6_TUNNEL=m
CONFIG_IPV6_TUNNEL=m
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
CONFIG_BRIDGE_NETFILTER=y

#
# IP: Netfilter Configuration
#
CONFIG_IP_NF_CONNTRACK=m
# CONFIG_IP_NF_CT_ACCT is not set
# CONFIG_IP_NF_CT_PROTO_SCTP is not set
CONFIG_IP_NF_FTP=m
CONFIG_IP_NF_IRC=m
CONFIG_IP_NF_TFTP=m
CONFIG_IP_NF_AMANDA=m
CONFIG_IP_NF_QUEUE=m
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP_NF_MATCH_LIMIT=m
CONFIG_IP_NF_MATCH_IPRANGE=m
CONFIG_IP_NF_MATCH_MAC=m
CONFIG_IP_NF_MATCH_PKTTYPE=m
CONFIG_IP_NF_MATCH_MARK=m
CONFIG_IP_NF_MATCH_MULTIPORT=m
CONFIG_IP_NF_MATCH_TOS=m
CONFIG_IP_NF_MATCH_RECENT=m
CONFIG_IP_NF_MATCH_ECN=m
CONFIG_IP_NF_MATCH_DSCP=m
CONFIG_IP_NF_MATCH_AH_ESP=m
CONFIG_IP_NF_MATCH_LENGTH=m
CONFIG_IP_NF_MATCH_TTL=m
CONFIG_IP_NF_MATCH_TCPMSS=m
CONFIG_IP_NF_MATCH_HELPER=m
CONFIG_IP_NF_MATCH_STATE=m
CONFIG_IP_NF_MATCH_CONNTRACK=m
CONFIG_IP_NF_MATCH_OWNER=m
# CONFIG_IP_NF_MATCH_PHYSDEV is not set
# CONFIG_IP_NF_MATCH_ADDRTYPE is not set
# CONFIG_IP_NF_MATCH_REALM is not set
# CONFIG_IP_NF_MATCH_SCTP is not set
CONFIG_IP_NF_FILTER=m
CONFIG_IP_NF_TARGET_REJECT=m
CONFIG_IP_NF_TARGET_LOG=m
CONFIG_IP_NF_TARGET_ULOG=m
CONFIG_IP_NF_TARGET_TCPMSS=m
CONFIG_IP_NF_NAT=m
CONFIG_IP_NF_NAT_NEEDED=y
CONFIG_IP_NF_TARGET_MASQUERADE=m
CONFIG_IP_NF_TARGET_REDIRECT=m
CONFIG_IP_NF_TARGET_NETMAP=m
CONFIG_IP_NF_TARGET_SAME=m
CONFIG_IP_NF_NAT_LOCAL=y
CONFIG_IP_NF_NAT_SNMP_BASIC=m
CONFIG_IP_NF_NAT_IRC=m
CONFIG_IP_NF_NAT_FTP=m
CONFIG_IP_NF_NAT_TFTP=m
CONFIG_IP_NF_NAT_AMANDA=m
CONFIG_IP_NF_MANGLE=m
CONFIG_IP_NF_TARGET_TOS=m
CONFIG_IP_NF_TARGET_ECN=m
CONFIG_IP_NF_TARGET_DSCP=m
CONFIG_IP_NF_TARGET_MARK=m
CONFIG_IP_NF_TARGET_CLASSIFY=m
CONFIG_IP_NF_RAW=m
CONFIG_IP_NF_TARGET_NOTRACK=m
CONFIG_IP_NF_ARPTABLES=m
CONFIG_IP_NF_ARPFILTER=m
CONFIG_IP_NF_ARP_MANGLE=m
CONFIG_IP_NF_COMPAT_IPCHAINS=m
CONFIG_IP_NF_COMPAT_IPFWADM=m

#
# IPv6: Netfilter Configuration
#
CONFIG_IP6_NF_QUEUE=m
CONFIG_IP6_NF_IPTABLES=m
CONFIG_IP6_NF_MATCH_LIMIT=m
CONFIG_IP6_NF_MATCH_MAC=m
CONFIG_IP6_NF_MATCH_RT=m
CONFIG_IP6_NF_MATCH_OPTS=m
CONFIG_IP6_NF_MATCH_FRAG=m
CONFIG_IP6_NF_MATCH_HL=m
CONFIG_IP6_NF_MATCH_MULTIPORT=m
CONFIG_IP6_NF_MATCH_OWNER=m
CONFIG_IP6_NF_MATCH_MARK=m
CONFIG_IP6_NF_MATCH_IPV6HEADER=m
CONFIG_IP6_NF_MATCH_AHESP=m
CONFIG_IP6_NF_MATCH_LENGTH=m
CONFIG_IP6_NF_MATCH_EUI64=m
CONFIG_IP6_NF_FILTER=m
CONFIG_IP6_NF_TARGET_LOG=m
CONFIG_IP6_NF_MANGLE=m
CONFIG_IP6_NF_TARGET_MARK=m
CONFIG_IP6_NF_RAW=m

#
# DECnet: Netfilter Configuration
#
# CONFIG_DECNET_NF_GRABULATOR is not set

#
# Bridge: Netfilter Configuration
#
# CONFIG_BRIDGE_NF_EBTABLES is not set
CONFIG_XFRM=y
CONFIG_XFRM_USER=y

#
# SCTP Configuration (EXPERIMENTAL)
#
CONFIG_IP_SCTP=m
# CONFIG_SCTP_DBG_MSG is not set
# CONFIG_SCTP_DBG_OBJCNT is not set
# CONFIG_SCTP_HMAC_NONE is not set
# CONFIG_SCTP_HMAC_SHA1 is not set
CONFIG_SCTP_HMAC_MD5=y
CONFIG_ATM=m
CONFIG_ATM_CLIP=m
# CONFIG_ATM_CLIP_NO_ICMP is not set
# CONFIG_ATM_LANE is not set
# CONFIG_ATM_BR2684 is not set
CONFIG_BRIDGE=m
CONFIG_VLAN_8021Q=m
CONFIG_DECNET=m
# CONFIG_DECNET_SIOCGIFCONF is not set
CONFIG_DECNET_ROUTER=y
CONFIG_DECNET_ROUTE_FWMARK=y
CONFIG_LLC=m
CONFIG_LLC2=m
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_NET_DIVERT is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_HW_FLOWCONTROL is not set

#
# QoS and/or fair queueing
#
CONFIG_NET_SCHED=y
CONFIG_NET_SCH_CLK_JIFFIES=y
# CONFIG_NET_SCH_CLK_GETTIMEOFDAY is not set
# CONFIG_NET_SCH_CLK_CPU is not set
CONFIG_NET_SCH_CBQ=m
CONFIG_NET_SCH_HTB=m
CONFIG_NET_SCH_HFSC=m
# CONFIG_NET_SCH_ATM is not set
CONFIG_NET_SCH_PRIO=m
CONFIG_NET_SCH_RED=m
CONFIG_NET_SCH_SFQ=m
CONFIG_NET_SCH_TEQL=m
CONFIG_NET_SCH_TBF=m
CONFIG_NET_SCH_GRED=m
CONFIG_NET_SCH_DSMARK=m
# CONFIG_NET_SCH_NETEM is not set
CONFIG_NET_SCH_INGRESS=m
CONFIG_NET_QOS=y
CONFIG_NET_ESTIMATOR=y
CONFIG_NET_CLS=y
CONFIG_NET_CLS_TCINDEX=m
CONFIG_NET_CLS_ROUTE4=m
CONFIG_NET_CLS_ROUTE=y
CONFIG_NET_CLS_FW=m
CONFIG_NET_CLS_U32=m
# CONFIG_CLS_U32_PERF is not set
# CONFIG_NET_CLS_IND is not set
CONFIG_NET_CLS_RSVP=m
CONFIG_NET_CLS_RSVP6=m
# CONFIG_NET_CLS_ACT is not set
# CONFIG_NET_CLS_POLICE is not set

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_KGDBOE is not set
# CONFIG_NETPOLL is not set
# CONFIG_NETPOLL_RX is not set
# CONFIG_NETPOLL_TRAP is not set
# CONFIG_NET_POLL_CONTROLLER is not set
# CONFIG_HAMRADIO is not set
# CONFIG_IRDA is not set
CONFIG_BT=m
# CONFIG_BT_L2CAP is not set
# CONFIG_BT_SCO is not set

#
# Bluetooth device drivers
#
# CONFIG_BT_HCIUART is not set
# CONFIG_BT_HCIVHCI is not set
CONFIG_NETDEVICES=y
# CONFIG_DUMMY is not set
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set

#
# ARCnet devices
#
# CONFIG_ARCNET is not set

#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
CONFIG_MII=m
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
CONFIG_NET_VENDOR_3COM=y
CONFIG_VORTEX=m
# CONFIG_TYPHOON is not set

#
# Tulip family network device support
#
# CONFIG_NET_TULIP is not set
# CONFIG_HP100 is not set
CONFIG_NET_PCI=y
# CONFIG_PCNET32 is not set
# CONFIG_AMD8111_ETH is not set
# CONFIG_ADAPTEC_STARFIRE is not set
# CONFIG_B44 is not set
# CONFIG_FORCEDETH is not set
# CONFIG_DGRS is not set
# CONFIG_EEPRO100 is not set
CONFIG_E100=m
# CONFIG_E100_NAPI is not set
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not set
# CONFIG_NE2K_PCI is not set
# CONFIG_8139CP is not set
# CONFIG_8139TOO is not set
# CONFIG_SIS900 is not set
# CONFIG_EPIC100 is not set
# CONFIG_SUNDANCE is not set
# CONFIG_TLAN is not set
# CONFIG_VIA_RHINE is not set
# CONFIG_VIA_VELOCITY is not set

#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not set
CONFIG_E1000=m
# CONFIG_E1000_NAPI is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_R8169 is not set
# CONFIG_SK98LIN is not set
# CONFIG_TIGON3 is not set

#
# Ethernet (10000 Mbit)
#
# CONFIG_IXGB is not set
# CONFIG_S2IO is not set

#
# Token Ring devices
#
# CONFIG_TR is not set

#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set

#
# Wan interfaces
#
# CONFIG_WAN is not set

#
# ATM drivers
#
# CONFIG_ATM_TCP is not set
# CONFIG_ATM_LANAI is not set
# CONFIG_ATM_ENI is not set
# CONFIG_ATM_FIRESTREAM is not set
# CONFIG_ATM_ZATM is not set
# CONFIG_ATM_NICSTAR is not set
# CONFIG_ATM_IDT77252 is not set
# CONFIG_ATM_AMBASSADOR is not set
# CONFIG_ATM_HORIZON is not set
# CONFIG_ATM_IA is not set
# CONFIG_ATM_FORE200E_MAYBE is not set
# CONFIG_ATM_HE is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set
# CONFIG_NET_FC is not set
# CONFIG_SHAPER is not set
# CONFIG_NETCONSOLE is not set

#
# ISDN subsystem
#
# CONFIG_ISDN is not set

#
# Telephony Support
#
# CONFIG_PHONE is not set

#
# Input device support
#
CONFIG_INPUT=y

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not set
CONFIG_INPUT_EVDEV=y
# CONFIG_INPUT_EVBUG is not set

#
# Input I/O drivers
#
# CONFIG_GAMEPORT is not set
CONFIG_SOUND_GAMEPORT=y
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
CONFIG_SERIO_SERPORT=y
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PCIPS2 is not set
# CONFIG_SERIO_RAW is not set

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_MOUSE_VSXXXAA is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set

#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
# CONFIG_SERIAL_NONSTANDARD is not set

#
# Serial drivers
#
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
# CONFIG_SERIAL_8250_ACPI is not set
CONFIG_SERIAL_8250_NR_UARTS=4
# CONFIG_SERIAL_8250_EXTENDED is not set

#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_UNIX98_PTYS=y
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256

#
# IPMI
#
# CONFIG_IPMI_HANDLER is not set

#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_NVRAM is not set
CONFIG_RTC=y
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_SONYPI is not set

#
# Ftape, the floppy tape device driver
#
# CONFIG_AGP is not set
# CONFIG_DRM is not set
# CONFIG_MWAVE is not set
CONFIG_RAW_DRIVER=m
CONFIG_HPET=y
# CONFIG_HPET_RTC_IRQ is not set
CONFIG_HPET_MMAP=y
CONFIG_MAX_RAW_DEVS=256
# CONFIG_HANGCHECK_TIMER is not set

#
# I2C support
#
# CONFIG_I2C is not set

#
# Dallas's 1-wire bus
#
# CONFIG_W1 is not set

#
# Misc devices
#
# CONFIG_IBM_ASM is not set

#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set

#
# Digital Video Broadcasting Devices
#
# CONFIG_DVB is not set

#
# Graphics support
#
# CONFIG_FB is not set
CONFIG_VIDEO_SELECT=y

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
CONFIG_DUMMY_CONSOLE=y

#
# Sound
#
# CONFIG_SOUND is not set

#
# USB support
#
# CONFIG_USB is not set

#
# USB Gadget Support
#
# CONFIG_USB_GADGET is not set

#
# File systems
#
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT2_FS_POSIX_ACL=y
CONFIG_EXT2_FS_SECURITY=y
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
CONFIG_EXT3_FS_SECURITY=y
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_FS_MBCACHE=y
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
CONFIG_FS_POSIX_ACL=y
# CONFIG_XFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not set
# CONFIG_AUTOFS4_FS is not set

#
# Caches
#
# CONFIG_CACHEFS is not set

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_ZISOFS_FS=y
CONFIG_UDF_FS=y
CONFIG_UDF_NLS=y

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=m
CONFIG_VFAT_FS=y
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
# CONFIG_NTFS_FS is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_SYSFS=y
# CONFIG_DEVFS_FS is not set
CONFIG_DEVPTS_FS_XATTR=y
CONFIG_DEVPTS_FS_SECURITY=y
CONFIG_TMPFS=y
CONFIG_HUGETLBFS=y
CONFIG_HUGETLB_PAGE=y
CONFIG_RAMFS=y
CONFIG_KEYFS=y

#
# Miscellaneous filesystems
#
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
CONFIG_CRAMFS=m
# CONFIG_VXFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set

#
# Network File Systems
#
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
CONFIG_NFS_V4=y
CONFIG_NFS_DIRECTIO=y
CONFIG_NFSD=y
CONFIG_NFSD_V3=y
CONFIG_NFSD_V4=y
CONFIG_NFSD_TCP=y
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
CONFIG_EXPORTFS=y
CONFIG_SUNRPC=y
CONFIG_SUNRPC_GSS=y
CONFIG_RPCSEC_GSS_KRB5=y
CONFIG_RPCSEC_GSS_SPKM3=m
# CONFIG_SMB_FS is not set
CONFIG_CIFS=m
# CONFIG_CIFS_STATS is not set
# CONFIG_CIFS_XATTR is not set
# CONFIG_CIFS_POSIX is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set

#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y

#
# Native Language Support
#
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
# CONFIG_NLS_ASCII is not set
CONFIG_NLS_ISO8859_1=y
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
# CONFIG_NLS_ISO8859_15 is not set
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
# CONFIG_NLS_UTF8 is not set

#
# Profiling support
#
CONFIG_PROFILING=y
CONFIG_OPROFILE=m

#
# Kernel hacking
#
CONFIG_DEBUG_KERNEL=y
CONFIG_MAGIC_SYSRQ=y
CONFIG_DEBUG_SLAB=y
# CONFIG_DEBUG_SPINLOCK is not set
CONFIG_DEBUG_SPINLOCK_SLEEP=y
# CONFIG_DEBUG_HIGHMEM is not set
CONFIG_DEBUG_INFO=y
CONFIG_FRAME_POINTER=y
CONFIG_EARLY_PRINTK=y
CONFIG_DEBUG_STACKOVERFLOW=y
# CONFIG_KPROBES is not set
# CONFIG_DEBUG_STACK_USAGE is not set
# CONFIG_DEBUG_PAGEALLOC is not set
CONFIG_4KSTACKS=y
# CONFIG_SCHEDSTATS is not set
# CONFIG_LOCKMETER is not set
CONFIG_X86_FIND_SMP_CONFIG=y
CONFIG_X86_MPPARSE=y
# CONFIG_KGDB is not set

#
# Security options
#
CONFIG_KEYS=y
CONFIG_KEYS_DEBUG_PROC_KEYS=y
CONFIG_SECURITY=y
CONFIG_SECURITY_NETWORK=y
CONFIG_SECURITY_CAPABILITIES=y
CONFIG_SECURITY_SELINUX=y
CONFIG_SECURITY_SELINUX_BOOTPARAM=y
CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=1
CONFIG_SECURITY_SELINUX_DISABLE=y
CONFIG_SECURITY_SELINUX_DEVELOP=y
# CONFIG_SECURITY_SELINUX_MLS is not set

#
# Cryptographic options
#
CONFIG_CRYPTO=y
CONFIG_CRYPTO_HMAC=y
CONFIG_CRYPTO_NULL=m
CONFIG_CRYPTO_MD4=m
CONFIG_CRYPTO_MD5=y
CONFIG_CRYPTO_SHA1=y
CONFIG_CRYPTO_SHA256=m
CONFIG_CRYPTO_SHA512=m
CONFIG_CRYPTO_WHIRLPOOL=m
CONFIG_CRYPTO_DES=y
CONFIG_CRYPTO_BLOWFISH=m
CONFIG_CRYPTO_TWOFISH=m
CONFIG_CRYPTO_SERPENT=m
CONFIG_CRYPTO_AES_586=m
CONFIG_CRYPTO_CAST5=m
CONFIG_CRYPTO_CAST6=m
CONFIG_CRYPTO_TEA=m
CONFIG_CRYPTO_ARC4=m
CONFIG_CRYPTO_KHAZAD=m
CONFIG_CRYPTO_DEFLATE=y
CONFIG_CRYPTO_MICHAEL_MIC=m
CONFIG_CRYPTO_CRC32C=m
CONFIG_CRYPTO_TEST=m

#
# Library routines
#
CONFIG_CRC_CCITT=m
CONFIG_CRC32=y
CONFIG_LIBCRC32C=m
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=y
CONFIG_X86_SMP=y
CONFIG_X86_HT=y
CONFIG_X86_BIOS_REBOOT=y
CONFIG_X86_TRAMPOLINE=y
CONFIG_PC=y

maintainer
#40 lore raw

Re: 2.6.9-rc1-mm5: TCP oopses

Quoted 6 lines · On Mon, 13 Sep 2004 20:25:38 -0400 (EDT) James Morris <[email protected]>…

I'm experiencing TCP related oopses with this kernel (not seen in -mm4), .config file attached.

Here are two backtraces, the first happened a few seconds after logging in via ssh, the second happened soon after boot (using selinux=0, just to make sure).

I think I fixed this one yesterday. Callers of tcp_fragment() in tcp_output.c were not accounting packets correctly. I believe this is what will fix it, and this is in Linus's tree already.

I guess you have an e1000 in this box? :)
(either that or some other card whose driver
enables TSO by default)

# This is a BitKeeper generated diff -Nru style patch. #
# ChangeSet
# 2004/09/10 15:21:43-07:00 [email protected]
# [TCP]: Fix packet counting when fragmenting already sent packets.
#
# Calls to tcp_fragment() change the tso_factor of
# an SKB, so we need to deal with that.
#
# Signed-off-by: David S. Miller <[email protected]>
#

# net/ipv4/tcp_output.c
#   2004/09/10 15:21:13-07:00 [email protected] +12 -2
#   [TCP]: Fix packet counting when fragmenting already sent packets.
#   
#   Calls to tcp_fragment() change the tso_factor of
#   an SKB, so we need to deal with that.
#   
#   Signed-off-by: David S. Miller <[email protected]>
# 
diff -Nru a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c
--- a/net/ipv4/tcp_output.c	2004-09-13 18:51:38 -07:00
+++ b/net/ipv4/tcp_output.c	2004-09-13 18:51:38 -07:00
@@ -681,8 +681,12 @@
 			TCP_SKB_CB(skb)->when = tcp_time_stamp;
 			if (tcp_transmit_skb(sk, skb_clone(skb, GFP_ATOMIC)))
 				break;
-			/* Advance the send_head.  This one is sent out. */
+
+			/* Advance the send_head.  This one is sent out.
+			 * This call will increment packets_out.
+			 */
 			update_send_head(sk, tp, skb);
+
 			tcp_minshall_update(tp, mss_now, skb);
 			sent_pkts = 1;
 		}
@@ -968,11 +972,17 @@
 		return -EAGAIN;

if (skb->len > cur_mss) {
+ int old_factor = TCP_SKB_CB(skb)->tso_factor;
+ int new_factor;
+
if (tcp_fragment(sk, skb, cur_mss))
return -ENOMEM; /* We'll try again later. */

/* New SKB created, account for it. */
- tcp_inc_pcount(&tp->packets_out, skb);
+ new_factor = TCP_SKB_CB(skb)->tso_factor;
+ tcp_dec_pcount_explicit(&tp->packets_out,
+ new_factor - old_factor);
+ tcp_inc_pcount(&tp->packets_out, skb->next);
}

/* Collapse two adjacent packets if worthwhile and we can. */

#41 lore raw

Re: 2.6.9-rc1-mm5: TCP oopses

Quoted 4 lines · David S. Miller

I think I fixed this one yesterday. Callers of tcp_fragment() in tcp_output.c were not accounting packets correctly. I believe this is what will fix it, and this is in Linus's tree already.

This patch is also in -mm5 (linus.patch), and the oopses go away when I back it out.

Quoted 1 line

I guess you have an e1000 in this box? :)

Yes.

- James

Signature · 2 lines
James Morris
<[email protected]>
#42 lore raw

Re: 2.6.9-rc1-mm5: TCP oopses

In reply to David S. Miller
Quoted 6 lines · David S. Miller
(quoted diff) +1 -0
@@ -968,11 +972,17 @@
               return -EAGAIN;
 
       if (skb->len > cur_mss) {
+               int old_factor = TCP_SKB_CB(skb)->tso_factor;

Review line 984

Quoted 10 lines
(quoted diff) +5 -1
+               int new_factor;
+
               if (tcp_fragment(sk, skb, cur_mss))
                       return -ENOMEM; /* We'll try again later. */
 
               /* New SKB created, account for it. */
-               tcp_inc_pcount(&tp->packets_out, skb);
+               new_factor = TCP_SKB_CB(skb)->tso_factor;
+               tcp_dec_pcount_explicit(&tp->packets_out,
+                                       new_factor - old_factor);

That should be tcp_inc_pcount_explicit.

Cheers,

Signature · 4 lines
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
maintainer
#43 lore raw

Re: 2.6.9-rc1-mm5: TCP oopses

Quoted 10 lines · On Tue, 14 Sep 2004 13:34:20 +1000 Herbert Xu <[email protected]>…
Quoted 10 lines
(quoted diff) +3 -0
@@ -968,11 +972,17 @@
               return -EAGAIN;
 
       if (skb->len > cur_mss) {
+               int old_factor = TCP_SKB_CB(skb)->tso_factor;
+               int new_factor;
+
               if (tcp_fragment(sk, skb, cur_mss))
                       return -ENOMEM; /* We'll try again later. */
 
Quoted 7 lines

Review line 984

Quoted 5 lines
(quoted diff) +3 -1
               /* New SKB created, account for it. */
-               tcp_inc_pcount(&tp->packets_out, skb);
+               new_factor = TCP_SKB_CB(skb)->tso_factor;
+               tcp_dec_pcount_explicit(&tp->packets_out,
+                                       new_factor - old_factor);

That should be tcp_inc_pcount_explicit.

Better fix is to transpose the factors in the subtraction. That's what I was trying to do here.

Good eyes Herbert.

maintainer
#44 lore raw

Re: 2.6.9-rc1-mm5: TCP oopses

In reply to Herbert Xu

James, does this make your problem go away?

Thanks for testing.

===== net/ipv4/tcp_output.c 1.57 vs edited =====

net/ipv4/tcp_output.c +1 -1
@@ -991,7 +991,7 @@
 		/* New SKB created, account for it. */
 		new_factor = TCP_SKB_CB(skb)->tso_factor;
 		tcp_dec_pcount_explicit(&tp->packets_out,
-					new_factor - old_factor);
+					old_factor - new_factor);
 		tcp_inc_pcount(&tp->packets_out, skb->next);
 	}
 
#45 lore raw

Re: 2.6.9-rc1-mm5: TCP oopses

Quoted 1 line · David S. Miller

James, does this make your problem go away?

Looks like it.

- James

Signature · 2 lines
James Morris
<[email protected]>
#46 lore raw

cover pid allocator updates

In reply to Andrew Morton
Quoted 5 lines · Andrew Morton

Due to master.kernel.org being on the blink, 2.6.9-rc1-mm5 Is currently at
http://www.zip.com.au/~akpm/linux/patches/2.6.9-rc1-mm5/
and will later appear at
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.9-rc1/2.6.9-rc1-mm5/
Please check kernel.org before using zip.com.au.

The following 3 updates address various issues expressed to me in unrelated threads or messages, and while none of them are particularly pressing each does resolve a concern I've deemed valid.

-- wli

#47 lore raw

PATCH 1/3 retain older vendor copyright

Quoted 5 lines · Andrew Morton
Quoted 5 lines

Due to master.kernel.org being on the blink, 2.6.9-rc1-mm5 Is currently at
http://www.zip.com.au/~akpm/linux/patches/2.6.9-rc1-mm5/
and will later appear at
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.9-rc1/2.6.9-rc1-mm5/
Please check kernel.org before using zip.com.au.

Quoted 3 lines · William Lee Irwin III

The following 3 updates address various issues expressed to me in unrelated threads or messages, and while none of them are particularly pressing each does resolve a concern I've deemed valid.

I was informed that the vendor component of the copyright can't be clobbered without more care, so this patch retains the older vendor, updating it only to reflect the appropriate time period.

kernel/pid.c +2 -1
Index: mm5-2.6.9-rc1/kernel/pid.c
===================================================================
@@ -1,7 +1,8 @@
 /*
  * Generic pidhash and scalable, time-bounded PID allocator
  *
- * (C) 2002-2004 William Irwin, Oracle
+ * (C) 2002-2003 William Irwin, IBM
+ * (C) 2004 William Irwin, Oracle
  * (C) 2002-2004 Ingo Molnar, Red Hat
  *
  * pid-structures are backing objects for tasks sharing a given ID to chain
#48 lore raw

PATCH 2/3 lower PID_MAX_LIMIT for 32-bit machines

Quoted 3 lines · William Lee Irwin III

I was informed that the vendor component of the copyright can't be clobbered without more care, so this patch retains the older vendor, updating it only to reflect the appropriate time period.

/proc/ breaks when PID_MAX_LIMIT is elevated on 32-bit, so this patch lowers it there. Compiletested on x86-64.

include/linux/threads.h +1 -1
Index: mm5-2.6.9-rc1/include/linux/threads.h
===================================================================
@@ -30,6 +30,6 @@
 /*
  * A maximum of 4 million PIDs should be enough for a while:
  */
-#define PID_MAX_LIMIT (4*1024*1024)
+#define PID_MAX_LIMIT (sizeof(long) > 32 ? 4*1024*1024 : PID_MAX_DEFAULT)
 
 #endif
#49 lore raw

PATCH 3/3 enforce PID_MAX_LIMIT in sysctls

Quoted 2 lines · William Lee Irwin III

/proc/ breaks when PID_MAX_LIMIT is elevated on 32-bit, so this patch lowers it there. Compiletested on x86-64.

The pid_max sysctl doesn't enforce PID_MAX_LIMIT or sane lower bounds. RESERVED_PIDS + 1 is the minimum pid_max that won't break alloc_pidmap(), and PID_MAX_LIMIT may not be aligned to 8*PAGE_SIZE boundaries for unusual values of PAGE_SIZE, so this also rounds up PID_MAX_LIMIT to it. Compiletested on x86-64.

kernel/pid.c +4 -1
Index: mm5-2.6.9-rc1/kernel/pid.c
===================================================================
@@ -36,7 +36,10 @@
 
 #define RESERVED_PIDS		300
 
-#define PIDMAP_ENTRIES		(PID_MAX_LIMIT/PAGE_SIZE/8)
+int pid_max_min = RESERVED_PIDS + 1;
+int pid_max_max = PID_MAX_LIMIT;
+
+#define PIDMAP_ENTRIES		((PID_MAX_LIMIT + 8*PAGE_SIZE - 1)/PAGE_SIZE/8)
 #define BITS_PER_PAGE		(PAGE_SIZE*8)
 #define BITS_PER_PAGE_MASK	(BITS_PER_PAGE-1)
 #define mk_pid(map, off)	(((map) - pidmap_array)*BITS_PER_PAGE + (off))
kernel/sysctl.c +5 -1
Index: mm5-2.6.9-rc1/kernel/sysctl.c
===================================================================
@@ -68,6 +68,7 @@
 extern int sched_base_timeslice;
 extern int sched_min_base;
 extern int sched_max_base;
+extern int pid_max_min, pid_max_max;
 
 #if defined(CONFIG_X86_LOCAL_APIC) && defined(__i386__)
 int unknown_nmi_panic;
@@ -577,7 +578,10 @@
 		.data		= &pid_max,
 		.maxlen		= sizeof (int),
 		.mode		= 0644,
-		.proc_handler	= &proc_dointvec,
+		.proc_handler	= &proc_dointvec_minmax,
+		.strategy	= sysctl_intvec,
+		.extra1		= &pid_max_min,
+		.extra2		= &pid_max_max,
 	},
 	{
 		.ctl_name	= KERN_PANIC_ON_OOPS,
#50 lore raw

Re: [pidhashing] [2/3] lower PID_MAX_LIMIT for 32-bit machines

In reply to William Lee Irwin III
Quoted 2 lines · William Lee Irwin III

/proc/ breaks when PID_MAX_LIMIT is elevated on 32-bit, so this patch lowers it there. Compiletested on x86-64.

[...]

Review

Quoted 2 lines
(quoted diff) +1 -1
-#define PID_MAX_LIMIT (4*1024*1024)
+#define PID_MAX_LIMIT (sizeof(long) > 32 ? 4*1024*1024 : PID_MAX_DEFAULT)
include/linux/threads.h +1 -1
Index: mm5-2.6.9-rc1/include/linux/threads.h
===================================================================
@@ -30,6 +30,6 @@
 /*
  * A maximum of 4 million PIDs should be enough for a while:
  */
-#define PID_MAX_LIMIT (4*1024*1024)
+#define PID_MAX_LIMIT (sizeof(long) > 4 ? 4*1024*1024 : PID_MAX_DEFAULT)
 
 #endif
#51 lore raw

Re: [pidhashing] [2/3] lower PID_MAX_LIMIT for 32-bit machines

In reply to William Lee Irwin III

include/linux/threads.h line 33

Quoted 2 lines · William Lee Irwin III
include/linux/threads.h +1 -1
-#define PID_MAX_LIMIT (4*1024*1024)
+#define PID_MAX_LIMIT (sizeof(long) > 32 ? 4*1024*1024 : PID_MAX_DEFAULT)

An architecture with sizeof(long) > 32? -- Most impressive.

Roger

#52 lore raw

Re: [pidhashing] [2/3] lower PID_MAX_LIMIT for 32-bit machines

Quoted 3 lines · Roger Luethi

include/linux/threads.h line 33

Quoted 2 lines
include/linux/threads.h +1 -1
-#define PID_MAX_LIMIT (4*1024*1024)
+#define PID_MAX_LIMIT (sizeof(long) > 32 ? 4*1024*1024 : PID_MAX_DEFAULT)

An architecture with sizeof(long) > 32? -- Most impressive.

x86_64, s390x, ppc64...

#53 lore raw

Re: [pidhashing] [2/3] lower PID_MAX_LIMIT for 32-bit machines

Quoted 4 lines · Lars Marowsky-Bree
Quoted 3 lines

include/linux/threads.h line 33

Quoted 2 lines
include/linux/threads.h +1 -1
-#define PID_MAX_LIMIT (4*1024*1024)
+#define PID_MAX_LIMIT (sizeof(long) > 32 ? 4*1024*1024 : PID_MAX_DEFAULT)

An architecture with sizeof(long) > 32? -- Most impressive.

x86_64, s390x, ppc64...

yesyes. I can't tell the difference between bytes and bits either. Forget it ;-)

#54 lore raw

Re: [pidhashing] [2/3] lower PID_MAX_LIMIT for 32-bit machines

In reply to Lars Marowsky-Bree
Quoted 8 lines · Lars Marowsky-Bree
Quoted 3 lines · Roger Luethi

include/linux/threads.h line 33

Quoted 2 lines
include/linux/threads.h +1 -1
-#define PID_MAX_LIMIT (4*1024*1024)
+#define PID_MAX_LIMIT (sizeof(long) > 32 ? 4*1024*1024 : PID_MAX_DEFAULT)

An architecture with sizeof(long) > 32? -- Most impressive.

x86_64, s390x, ppc64...

Really.

#55 lore raw

Re: [pidhashing] [2/3] lower PID_MAX_LIMIT for 32-bit machines

In reply to Roger Luethi
Quoted 2 lines · William Lee Irwin III
Quoted 2 lines
include/linux/threads.h +1 -1
-#define PID_MAX_LIMIT (4*1024*1024)
+#define PID_MAX_LIMIT (sizeof(long) > 32 ? 4*1024*1024 : PID_MAX_DEFAULT)
Quoted 1 line · Roger Luethi

An architecture with sizeof(long) > 32? -- Most impressive.

Did the correction not arrive?

-- wli

#56 lore raw

Re: [pidhashing] [2/3] lower PID_MAX_LIMIT for 32-bit machines

Quoted 8 lines · William Lee Irwin III
Quoted 2 lines · William Lee Irwin III
Quoted 2 lines
include/linux/threads.h +1 -1
-#define PID_MAX_LIMIT (4*1024*1024)
+#define PID_MAX_LIMIT (sizeof(long) > 32 ? 4*1024*1024 : PID_MAX_DEFAULT)
Quoted 1 line · Roger Luethi

An architecture with sizeof(long) > 32? -- Most impressive.

Did the correction not arrive?

Must have missed it.

Roger

#57 lore raw

Re: [pidhashing] [2/3] lower PID_MAX_LIMIT for 32-bit machines

Quoted 1 line · Roger Luethi
Quoted 1 line
Quoted 1 line

An architecture with sizeof(long) > 32? -- Most impressive.

Quoted 1 line · William Lee Irwin III
Quoted 1 line

Did the correction not arrive?

Quoted 1 line · Roger Leuthi

Must have missed it.

Date: Mon, 13 Sep 2004 19:38:30 -0700
From: William Lee Irwin III <[email protected]>
To: Andrew Morton <[email protected]>
Cc: [email protected], Albert Cahalan <[email protected]>
Subject: Re: [pidhashing] [2/3] lower PID_MAX_LIMIT for 32-bit machines
Message-ID: <[email protected]>

Please check to see that the above message arrived.

Thanks.

-- wli

#58 lore raw

Re: [pidhashing] [2/3] lower PID_MAX_LIMIT for 32-bit machines

Quoted 1 line · William Lee Irwin III

Please check to see that the above message arrived.

It's in the archive. Sorry for the noise.

Roger

#59 lore raw

PATCH 1/1 fix task_mmu.c text size reporting

In reply to Andrew Morton
Quoted 5 lines · Andrew Morton

Due to master.kernel.org being on the blink, 2.6.9-rc1-mm5 Is currently at
http://www.zip.com.au/~akpm/linux/patches/2.6.9-rc1-mm5/
and will later appear at
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.9-rc1/2.6.9-rc1-mm5/
Please check kernel.org before using zip.com.au.

Not all binfmts page align ->end_code and ->start_code, so the task_mmu statistics calculations need to perform this allocation themselves.

fs/proc/task_mmu.c +3 -2
Index: mm5-2.6.9-rc1/fs/proc/task_mmu.c
===================================================================
@@ -9,7 +9,7 @@
 	unsigned long data, text, lib;
 
 	data = mm->total_vm - mm->shared_vm - mm->stack_vm;
-	text = (mm->end_code - mm->start_code) >> 10;
+	text = (PAGE_ALIGN(mm->end_code) - (mm->start_code & PAGE_MASK)) >> 10;
 	lib = (mm->exec_vm << (PAGE_SHIFT-10)) - text;
 	buffer += sprintf(buffer,
 		"VmSize:\t%8lu kB\n"
@@ -36,7 +36,8 @@
 	       int *data, int *resident)
 {
 	*shared = mm->shared_vm;
-	*text = (mm->end_code - mm->start_code) >> PAGE_SHIFT;
+	*text = (PAGE_ALIGN(mm->end_code) - (mm->start_code & PAGE_MASK))
+								>> PAGE_SHIFT;
 	*data = mm->total_vm - mm->shared_vm - *text;
 	*resident = mm->rss;
 	return mm->total_vm;
#60 lore raw

Re: [procfs] [1/1] fix task_mmu.c text size reporting

Quoted 2 lines · William Lee Irwin III

Not all binfmts page align ->end_code and ->start_code, so the task_mmu statistics calculations need to perform this allocation themselves.

s/allocation/alignment/

-- wli

#61 lore raw

[procfs] [2/1] report per-process pagetable usage

Quoted 2 lines · William Lee Irwin III
Quoted 2 lines

Not all binfmts page align ->end_code and ->start_code, so the task_mmu statistics calculations need to perform this allocation themselves.

Quoted 1 line · William Lee Irwin III

s/allocation/alignment/

Andi Kleen requested that the number of pagetable pages in use by a process be reported in /proc/$PID/status; this patch implements that. Atop the text reporting fix. Compiletested on x86-64.

arch/i386/mm/hugetlbpage.c +1 -0
Index: mm5-2.6.9-rc1/arch/i386/mm/hugetlbpage.c
===================================================================
@@ -247,6 +247,7 @@
 
 			page = pmd_page(*pmd);
 			pmd_clear(pmd);
+			mm->nr_ptes--;
 			dec_page_state(nr_page_table_pages);
 			page_cache_release(page);
 		}
arch/ppc64/mm/hugetlbpage.c +1 -0
Index: mm5-2.6.9-rc1/arch/ppc64/mm/hugetlbpage.c
===================================================================
@@ -213,6 +213,7 @@
 		}
 		page = pmd_page(*pmd);
 		pmd_clear(pmd);
+		mm->nr_ptes--;
 		dec_page_state(nr_page_table_pages);
 		pte_free_tlb(tlb, page);
 	}
fs/proc/task_mmu.c +4 -2
Index: mm5-2.6.9-rc1/fs/proc/task_mmu.c
===================================================================
@@ -18,12 +18,14 @@
 		"VmData:\t%8lu kB\n"
 		"VmStk:\t%8lu kB\n"
 		"VmExe:\t%8lu kB\n"
-		"VmLib:\t%8lu kB\n",
+		"VmLib:\t%8lu kB\n"
+		"VmPTE:\t%8lu kB\n",
 		(mm->total_vm - mm->reserved_vm) << (PAGE_SHIFT-10),
 		mm->locked_vm << (PAGE_SHIFT-10),
 		mm->rss << (PAGE_SHIFT-10),
 		data << (PAGE_SHIFT-10),
-		mm->stack_vm << (PAGE_SHIFT-10), text, lib);
+		mm->stack_vm << (PAGE_SHIFT-10), text, lib,
+		(PTRS_PER_PTE*sizeof(pte_t)*mm->nr_ptes) >> 10);
 	return buffer;
 }
 
include/linux/sched.h +1 -1
Index: mm5-2.6.9-rc1/include/linux/sched.h
===================================================================
@@ -227,7 +227,7 @@
 	unsigned long start_brk, brk, start_stack;
 	unsigned long arg_start, arg_end, env_start, env_end;
 	unsigned long rss, total_vm, locked_vm, shared_vm;
-	unsigned long exec_vm, stack_vm, reserved_vm, def_flags;
+	unsigned long exec_vm, stack_vm, reserved_vm, def_flags, nr_ptes;
 
 	unsigned long saved_auxv[42]; /* for /proc/PID/auxv */
 
kernel/fork.c +1 -0
Index: mm5-2.6.9-rc1/kernel/fork.c
===================================================================
@@ -308,6 +308,7 @@
 	atomic_set(&mm->mm_count, 1);
 	init_rwsem(&mm->mmap_sem);
 	mm->core_waiters = 0;
+	mm->nr_ptes = 0;
 	mm->page_table_lock = SPIN_LOCK_UNLOCKED;
 	mm->ioctx_list_lock = RW_LOCK_UNLOCKED;
 	mm->ioctx_list = NULL;
mm/memory.c +2 -1
Index: mm5-2.6.9-rc1/mm/memory.c
===================================================================
@@ -114,6 +114,7 @@
 	page = pmd_page(*dir);
 	pmd_clear(dir);
 	dec_page_state(nr_page_table_pages);
+	tlb->mm->nr_ptes--;
 	pte_free_tlb(tlb, page);
 }
 
@@ -163,7 +164,6 @@
 		spin_lock(&mm->page_table_lock);
 		if (!new)
 			return NULL;
-
 		/*
 		 * Because we dropped the lock, we should re-check the
 		 * entry, as somebody else could have populated it..
@@ -172,6 +172,7 @@
 			pte_free(new);
 			goto out;
 		}
+		mm->nr_ptes++;
 		inc_page_state(nr_page_table_pages);
 		pmd_populate(mm, pmd, new);
 	}
#62 lore raw

[profile] amortize atomic hit count increments

In reply to Andrew Morton
Quoted 4 lines · Andrew Morton

Due to master.kernel.org being on the blink, 2.6.9-rc1-mm5 Is currently at
http://www.zip.com.au/~akpm/linux/patches/2.6.9-rc1-mm5/
and will later appear at
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.9-rc1/2.6.9-rc1-mm5/

Quoted 8 lines

Please check kernel.org before using zip.com.au.
- Added the `bk-scsi-target' tree to the -mm lineup. It is managed by James Bottomley
- Some enhancements to the ext3 block reservation code here. Please cc [email protected] on oops reports ;)
- There's a patch here which will cause warnings if a PCI device driver is removed without having called pci_disable_device(). Please try to cc the appropriate mailing list or maintainer when reporting any instances.

I've been informed that /proc/profile livelocks some systems in the timer interrupt, usually at boot. The following patch attempts to amortize the atomic operations done on the profile buffer to address this stability concern. This patch has nothing to do with performance; kernels using periodic timer interrupts are under realtime constraints to complete whatever work they perform within timer interrupts before the next timer interrupt arrives lest they livelock, performing no work whatsoever apart from servicing timer interrupts. The latency of the cacheline bounce for prof_buffer contributes to the time spent in the timer interrupt, hence it must be amortized when remote access latencies or deviations from fair exclusive cacheline acquisition may cause cacheline bounces to take longer than the interval between timer ticks.

What this patch does is to create a per-cpu open-addressed hashtable indexed by profile buffer slot holding values representing the number of pending profile buffer hits. When this hashtable overflows, one iterates over the hashtable accounting each of the pairs of profile buffer slots and hit counts to the global profile buffer. Zero is a legitimate profile buffer slot, so zero hit counts represent unused hashtable entries. The hashtable is furthermore protected from reentry into the timer interrupt by interrupt disablement. read_proc_profile() does not flush the per-cpu hashtables because flushing may cause timeslice overrun on the systems where prof_buffer cacheline bounces are so problematic as to livelock the timer interrupt.

This is expected to be a much stronger amortization than merely reducing the frequency of profile buffer access by a factor of the size of the hashtable because numerous hits may be held for each of its entries. This reduces what was before the patch a number of atomic increments equal to what after the patch becomes the sum of the hits held for each entry in the hashtable, to a number of atomic_add()'s equal to the number of entries in the per_cpu hashtable. This is nondeterministic, but as the profile hits tend to be concentrated in a very small number of profile buffer slots during any given timing interval, is likely to represent a very large number of atomic increments. This amortization of atomic increments does not depend on the hash function, only the (lack of) scattering of profile buffer hits.

I would be much obliged if the reporters of this issue could verify whether this resolves their livelock. Untested, as I was hoping the bugreporters could do that bit for me.

kernel/profile.c +44 -0
Index: mm5-2.6.9-rc1/kernel/profile.c
===================================================================
@@ -12,10 +12,18 @@
 #include <linux/profile.h>
 #include <asm/sections.h>
 
+struct profile_hit {
+	unsigned long pc, hits;
+};
+#define NR_PROFILE_HIT		(PAGE_SIZE/sizeof(struct profile_hit))
+
 static atomic_t *prof_buffer;
 static unsigned long prof_len, prof_shift;
 static int prof_on;
 static cpumask_t prof_cpu_mask = CPU_MASK_ALL;
+#ifdef CONFIG_SMP
+static DEFINE_PER_CPU(struct profile_hit [NR_PROFILE_HIT], cpu_profile_hits);
+#endif /* CONFIG_SMP */
 
 static int __init profile_setup(char * str)
 {
@@ -181,6 +189,41 @@
 EXPORT_SYMBOL_GPL(profile_event_register);
 EXPORT_SYMBOL_GPL(profile_event_unregister);
 
+#ifdef CONFIG_SMP
+void profile_hit(int type, void *__pc)
+{
+	unsigned long primary, secondary, flags, pc = (unsigned long)__pc;
+	int i, cpu;
+	struct profile_hit *hits;
+
+	if (prof_on != type || !prof_buffer)
+		return;
+	pc = min((pc - (unsigned long)_stext) >> prof_shift, prof_len - 1);
+	cpu = get_cpu();
+	i = primary = pc & (NR_PROFILE_HIT - 1);
+	secondary = ((~pc << 1) | 1) & (NR_PROFILE_HIT - 1);
+	hits = per_cpu(cpu_profile_hits, cpu);
+	local_irq_save(flags);
+	do {
+		if (hits[i].pc == pc) {
+			hits[i].hits++;
+			goto out;
+		} else if (!hits[i].hits) {
+			hits[i].pc = pc;
+			hits[i].hits = 1;
+			goto out;
+		} else
+			i = (i + secondary) & (NR_PROFILE_HIT - 1);
+	} while (i != primary);
+	atomic_inc(&prof_buffer[pc]);
+	for (i = 0; i < NR_PROFILE_HIT; ++i)
+		atomic_add(hits[i].hits, &prof_buffer[hits[i].pc]);
+	memset(hits, 0, NR_PROFILE_HIT*sizeof(struct profile_hit));
+out:
+	local_irq_restore(flags);
+	put_cpu();
+}
+#else
 void profile_hit(int type, void *__pc)
 {
 	unsigned long pc;
@@ -190,6 +233,7 @@
 	pc = ((unsigned long)__pc - (unsigned long)_stext) >> prof_shift;
 	atomic_inc(&prof_buffer[min(pc, prof_len - 1)]);
 }
+#endif
 
 void profile_tick(int type, struct pt_regs *regs)
 {
maintainer
#63 lore raw

Re: [profile] amortize atomic hit count increments

William, any reason not to fully per-cpu the profile buffer and then only traverse the array when the user attempts to capture the counters?

Then we can undo the atomics altogether, as well as the cacheline traffic, for the extremely common case.

Are there space concerns?

#64 lore raw

Re: [profile] amortize atomic hit count increments

Quoted 6 lines · David S. Miller

William, any reason not to fully per-cpu the profile buffer and then only traverse the array when the user attempts to capture the counters?
Then we can undo the atomics altogether, as well as the cacheline traffic, for the extremely common case.
Are there space concerns?

This was my original approach (modulo eliminating the global buffer and the atomic operations), but space concerns stymied it, as the profile buffer can be several megabytes large. It would likely perform better in general if admissible, for whatever value performance is considered to have.

There is also an unusual facet to this; the TLB overhead of a loop like:

	for (i = 0; i < prof_len; ++i) {
		for_each_online_cpu(cpu)
			global_buf[i] += per_cpu(cpu_prof_buffer, cpu)[i];
	}

is very large and caused "effective nontermination", otherwise known as "exhausting the user's patience", on SGI's systems after about half an hour. So some TLB overhead amortization is necessary for this to be feasible. I suspect iterating over pages of the profile buffer and storing intermediate results for a page full of profile buffer hits in a buffer page may suffice though I've not tried it.

-- wli

maintainer
#65 lore raw

Re: [profile] amortize atomic hit count increments

Quoted 11 lines · On Mon, 13 Sep 2004 22:32:18 -0700 William Lee Irwin III <[email protected]>…

This was my original approach (modulo eliminating the global buffer and the atomic operations), but space concerns stymied it, as the profile buffer can be several megabytes large. It would likely perform better in general if admissible, for whatever value performance is considered to have.

There is also an unusual facet to this; the TLB overhead of a loop like:

	for (i = 0; i < prof_len; ++i) {
		for_each_online_cpu(cpu)
			global_buf[i] += per_cpu(cpu_prof_buffer, cpu)[i];
	}
Quoted 6 lines

is very large and caused "effective nontermination", otherwise known as "exhausting the user's patience", on SGI's systems after about half an hour. So some TLB overhead amortization is necessary for this to be feasible. I suspect iterating over pages of the profile buffer and storing intermediate results for a page full of profile buffer hits in a buffer page may suffice though I've not tried it.

I bet that, like we found out about page tables on 64-bit, these profile buffers are sparsely populated with hits. So perhaps a per-cpu bitmap that indicates regions that might have any hits at all, allowing large amounts of skipping and thus amortizing the scan cost.

#66 lore raw

Re: [profile] amortize atomic hit count increments

Quoted 1 line · On Mon, 13 Sep 2004 22:32:18 -0700 William Lee Irwin III wrote:
Quoted 1 line

There is also an unusual facet to this; the TLB overhead of a loop like:

[...]

Quoted 6 lines
Quoted 6 lines

is very large and caused "effective nontermination", otherwise known as "exhausting the user's patience", on SGI's systems after about half an hour. So some TLB overhead amortization is necessary for this to be feasible. I suspect iterating over pages of the profile buffer and storing intermediate results for a page full of profile buffer hits in a buffer page may suffice though I've not tried it.

Quoted 5 lines · David S. Miller

I bet that, like we found out about page tables on 64-bit, these profile buffers are sparsely populated with hits. So perhaps a per-cpu bitmap that indicates regions that might have any hits at all, allowing large amounts of skipping and thus amortizing the scan cost.

Well, that would speed it up, but the catastrophe was avoided in the older patches by just processing all the hits for one cpu at a time, and the buffering methods above for your suggested accounting structures likely work well enough the overhead of processing unused portions of the bitmap can be ignored. I don't really want to go about addressing performance issues besides effective or actual nontermination for this code, and would rather leave highly efficient methods to oprofile (in fact, some others believe that even bugfixes for such issues should be ignored for kernel/profile.c, contrary to my notion that it shouldn't crash systems regardless of their size).

-- wli

#67 lore raw

Re: [profile] amortize atomic hit count increments

Quoted 10 lines · William Lee Irwin III

Well, that would speed it up, but the catastrophe was avoided in the older patches by just processing all the hits for one cpu at a time, and the buffering methods above for your suggested accounting structures likely work well enough the overhead of processing unused portions of the bitmap can be ignored. I don't really want to go about addressing performance issues besides effective or actual nontermination for this code, and would rather leave highly efficient methods to oprofile (in fact, some others believe that even bugfixes for such issues should be ignored for kernel/profile.c, contrary to my notion that it shouldn't crash systems regardless of their size).

s/portions of the bitmap/portions of the profile buffer/

#68 lore raw

Re: [profile] amortize atomic hit count increments

In reply to William Lee Irwin III
Quoted 5 lines · William Lee Irwin III

read_proc_profile()
does not flush the per-cpu hashtables because flushing may cause timeslice overrun on the systems where prof_buffer cacheline bounces are so problematic as to livelock the timer interrupt.

That's a bit of a problem, isn't it? As we can accumulate an arbitrarily large number of hits within the hash table is it not possible that the /proc/profile results could be grossly inaccurate?

If you had two front-ends per cpu to the profiling buffer then the CPU which is running the /proc/profile read could tell all the other CPUs to flip to their alternate buffer and can then perform accumulation at its leisure.

How does oprofile get around this? I guess in most modes the CPUs are not synchronised.

One wonders how long we should keep flogging the /prof/profile profiling code. What systems are seeing this livelock?

#69 lore raw

Re: [profile] amortize atomic hit count increments

Quoted 4 lines · William Lee Irwin III
Quoted 4 lines

read_proc_profile()
does not flush the per-cpu hashtables because flushing may cause timeslice overrun on the systems where prof_buffer cacheline bounces are so problematic as to livelock the timer interrupt.

Quoted 7 lines · Andrew Morton

That's a bit of a problem, isn't it? As we can accumulate an arbitrarily large number of hits within the hash table is it not possible that the /proc/profile results could be grossly inaccurate?
If you had two front-ends per cpu to the profiling buffer then the CPU which is running the /proc/profile read could tell all the other CPUs to flip to their alternate buffer and can then perform accumulation at its leisure.

This is superior to no flushing; I'll implement that and send out an incremental update (or if preferred, an update of this patch).

Quoted 4 lines · Andrew Morton

How does oprofile get around this? I guess in most modes the CPUs are not synchronised.
One wonders how long we should keep flogging the /prof/profile profiling code. What systems are seeing this livelock?

The original bits were merely a consolidation extracted from a since- dropped feature patch and an unrelated feature patch from mingo and arjanv; this is an unrelated fix for SGI's stability issue on larger Altixen. I personally intend to do no further adjustments.

-- wli

#70 lore raw

Re: [profile] amortize atomic hit count increments

Quoted 7 lines · Andrew Morton
Quoted 7 lines

That's a bit of a problem, isn't it? As we can accumulate an arbitrarily large number of hits within the hash table is it not possible that the /proc/profile results could be grossly inaccurate?
If you had two front-ends per cpu to the profiling buffer then the CPU which is running the /proc/profile read could tell all the other CPUs to flip to their alternate buffer and can then perform accumulation at its leisure.

Quoted 2 lines · William Lee Irwin III

This is superior to no flushing; I'll implement that and send out an incremental update (or if preferred, an update of this patch).

I've been informed that /proc/profile livelocks some systems in the timer interrupt, usually at boot. The following patch attempts to amortize the atomic operations done on the profile buffer to address this stability concern. This patch has nothing to do with performance; kernels using periodic timer interrupts are under realtime constraints to complete whatever work they perform within timer interrupts before the next timer interrupt arrives lest they livelock, performing no work whatsoever apart from servicing timer interrupts. The latency of the cacheline bounce for prof_buffer contributes to the time spent in the timer interrupt, hence it must be amortized when remote access latencies or deviations from fair exclusive cacheline acquisition may cause cacheline bounces to take longer than the interval between timer ticks.

What this patch does is to create a per-cpu open-addressed hashtable indexed by profile buffer slot holding values representing the number of pending profile buffer hits. When this hashtable overflows, one iterates over the hashtable accounting each of the pairs of profile buffer slots and hit counts to the global profile buffer. Zero is a legitimate profile buffer slot, so zero hit counts represent unused hashtable entries. The hashtable is furthermore protected from reentry into the timer interrupt by interrupt disablement. In order to "flush" the pending profile hits for read_profile(), this patch actually creates a pair of per-cpu profile buffer, and at the time of read_profile() IPI's all cpus to get them to flip between their pairs of profile buffers, doing all the work to flush the profile hits from the older per-cpu buffers in the context of the caller of read_profile(), with exclusion provided by a semaphore ensuring that only one caller of profile_flip_buffers() may execute at a time and interrupt disablement to prevent buffer flip IPI's from altering the hashtables or flip state while an update is in progress. The flip state is per-cpu so that remote cpus need only disable interrupts locally for synchronization, which is both simple and busywait-free for remote cpus, and the flip states all change in tandem with the cpu requesting the update waiting for the completion of smp_call_function() for notification that all cpus have finished flipping their buffers. The IPI handler merely toggles the flip state (which is an array index) between 0 and 1.

This is expected to be a much stronger amortization than merely reducing the frequency of profile buffer access by a factor of the size of the hashtable because numerous hits may be held for each of its entries. This reduces what was before the patch a number of atomic increments equal to what after the patch becomes the sum of the hits held for each entry in the hashtable, to a number of atomic_add()'s equal to the number of entries in the per_cpu hashtable. This is nondeterministic, but as the profile hits tend to be concentrated in a very small number of profile buffer slots during any given timing interval, is likely to represent a very large number of atomic increments. This amortization of atomic increments does not depend on the hash function, only the (lack of) scattering of profile buffer hits.

I would be much obliged if the reporters of this issue could verify whether this resolves their livelock. Untested, as I was hoping the bugreporters could do that bit for me.

kernel/profile.c +80 -0
Index: mm5-2.6.9-rc1/kernel/profile.c
===================================================================
@@ -11,11 +11,21 @@
 #include <linux/cpumask.h>
 #include <linux/profile.h>
 #include <asm/sections.h>
+#include <asm/semaphore.h>
+
+struct profile_hit {
+	unsigned long pc, hits;
+};
+#define NR_PROFILE_HIT		(PAGE_SIZE/sizeof(struct profile_hit))
 
 static atomic_t *prof_buffer;
 static unsigned long prof_len, prof_shift;
 static int prof_on;
 static cpumask_t prof_cpu_mask = CPU_MASK_ALL;
+#ifdef CONFIG_SMP
+static DEFINE_PER_CPU(struct profile_hit [2][NR_PROFILE_HIT], cpu_profile_hits);
+static DEFINE_PER_CPU(int, cpu_profile_flip);
+#endif /* CONFIG_SMP */
 
 static int __init profile_setup(char * str)
 {
@@ -181,6 +191,74 @@
 EXPORT_SYMBOL_GPL(profile_event_register);
 EXPORT_SYMBOL_GPL(profile_event_unregister);
 
+#ifdef CONFIG_SMP
+static void __profile_flip_buffers(void *unused)
+{
+	int cpu = get_cpu();
+	unsigned long flags;
+
+	local_irq_save(flags);
+	per_cpu(cpu_profile_flip, cpu) = !per_cpu(cpu_profile_flip, cpu);
+	local_irq_restore(flags);
+	put_cpu();
+}
+
+static void profile_flip_buffers(void)
+{
+	static DECLARE_MUTEX(profile_flip_mutex);
+	int i, j, cpu;
+
+	down(&profile_flip_mutex);
+	j = per_cpu(cpu_profile_flip, smp_processor_id());
+	on_each_cpu(__profile_flip_buffers, NULL, 0, 1);
+	for_each_online_cpu(cpu) {
+		struct profile_hit *hits = per_cpu(cpu_profile_hits, cpu)[j];
+		for (i = 0; i < NR_PROFILE_HIT; ++i) {
+			if (!hits[i].hits)
+				continue;
+			atomic_add(hits[i].hits, &prof_buffer[hits[i].pc]);
+		}
+		memset(hits, 0, NR_PROFILE_HIT*sizeof(struct profile_hit));
+	}
+	up(&profile_flip_mutex);
+}
+
+void profile_hit(int type, void *__pc)
+{
+	unsigned long primary, secondary, flags, pc = (unsigned long)__pc;
+	int i, cpu;
+	struct profile_hit *hits;
+
+	if (prof_on != type || !prof_buffer)
+		return;
+	pc = min((pc - (unsigned long)_stext) >> prof_shift, prof_len - 1);
+	cpu = get_cpu();
+	i = primary = pc & (NR_PROFILE_HIT - 1);
+	secondary = ((~pc << 1) | 1) & (NR_PROFILE_HIT - 1);
+	hits = per_cpu(cpu_profile_hits, cpu)[per_cpu(cpu_profile_flip, cpu)];
+	local_irq_save(flags);
+	do {
+		if (hits[i].pc == pc) {
+			hits[i].hits++;
+			goto out;
+		} else if (!hits[i].hits) {
+			hits[i].pc = pc;
+			hits[i].hits = 1;
+			goto out;
+		} else
+			i = (i + secondary) & (NR_PROFILE_HIT - 1);
+	} while (i != primary);
+	atomic_inc(&prof_buffer[pc]);
+	for (i = 0; i < NR_PROFILE_HIT; ++i)
+		atomic_add(hits[i].hits, &prof_buffer[hits[i].pc]);
+	memset(hits, 0, NR_PROFILE_HIT*sizeof(struct profile_hit));
+out:
+	local_irq_restore(flags);
+	put_cpu();
+}
+#else /* !CONFIG_SMP */
+#define profile_flip_buffers()		do { } while (0)
+
 void profile_hit(int type, void *__pc)
 {
 	unsigned long pc;
@@ -190,6 +268,7 @@
 	pc = ((unsigned long)__pc - (unsigned long)_stext) >> prof_shift;
 	atomic_inc(&prof_buffer[min(pc, prof_len - 1)]);
 }
+#endif /* !CONFIG_SMP */
 
 void profile_tick(int type, struct pt_regs *regs)
 {
@@ -256,6 +335,7 @@
 	char * pnt;
 	unsigned int sample_step = 1 << prof_shift;
 
+	profile_flip_buffers();
 	if (p >= (prof_len+1)*sizeof(unsigned int))
 		return 0;
 	if (count > (prof_len+1)*sizeof(unsigned int) - p)
#71 lore raw

Re: [profile] amortize atomic hit count increments

Quoted 1 line · William Lee Irwin III

A few comments which describe the design would be nice...

Quoted 11 lines

+#ifdef CONFIG_SMP
+static void __profile_flip_buffers(void *unused) +{
+ int cpu = get_cpu();
+ unsigned long flags;
+
+ local_irq_save(flags);
+ per_cpu(cpu_profile_flip, cpu) = !per_cpu(cpu_profile_flip, cpu);
+ local_irq_restore(flags);
+ put_cpu();
+}

hm. Does an IPI handler need to disable local IRQs?

Quoted 7 lines

+static void profile_flip_buffers(void)
+{
+ static DECLARE_MUTEX(profile_flip_mutex);
+ int i, j, cpu;
+
+ down(&profile_flip_mutex);
+ j = per_cpu(cpu_profile_flip, smp_processor_id());

Is this preempt-safe?

Quoted 3 lines

+ on_each_cpu(__profile_flip_buffers, NULL, 0, 1);
+ for_each_online_cpu(cpu) {
+ struct profile_hit *hits = per_cpu(cpu_profile_hits, cpu)[j];

#72 lore raw

Re: [profile] amortize atomic hit count increments

William Lee Irwin III <[email protected]> wrote:
[...]

Quoted 1 line · Andrew Morton

A few comments which describe the design would be nice...

Okay, I'll add a few in another update. I suppose what's going on may not be as obvious to everyone else even with the code in hand.

Quoted 5 lines · Andrew Morton
Quoted 5 lines

+ local_irq_save(flags);
+ per_cpu(cpu_profile_flip, cpu) = !per_cpu(cpu_profile_flip, cpu);
+ local_irq_restore(flags);
+ put_cpu();
+}

Quoted 1 line · Andrew Morton

hm. Does an IPI handler need to disable local IRQs?

It's for exclusion from the timer interrupt. It looks like ia32 enters the calls with interrupts disabled, so it's probably safe to assume it's called with disabled interrupts for all architectures (or what architectures don't are broken by other callers elsewhere). I'll send out an update with the explicit interrupt disablement removed.

Quoted 2 lines · William Lee Irwin III
Quoted 2 lines

+ down(&profile_flip_mutex);
+ j = per_cpu(cpu_profile_flip, smp_processor_id());

Quoted 1 line · Andrew Morton

Is this preempt-safe?

Yes. It's irrelevant which cpu's cpu_profile_flip is sampled. But it's not cpu hotplug -safe, as the cpu may be offlined and the per-cpu storage freed in the duration between calling smp_processor_id() and dereferencing the offset from the start of the per-cpu area. Disabling preemption while it's being sampled (no longer than that is necessary) would repair it for cpu hotplug, as it would then have a valid cpu (the one on which it's executing) while the flip state is being sampled (it can't change because we own the semaphore, and won't vary by cpu unless the on_each_cpu() is in flight, but we have to have a valid cpu number to sample it). The cpucontrol semaphore would be excessively heavyweight and we'd either have to conditionally compile out the native semaphore for the cpu hotplug case or otherwise acquire two semaphores in succession.

This raises an interesting question of how on earth for_each_online_cpu() is handled by cpu hotplug, but I don't feel responsible for answering it.

So, my preferred fix is the following, with which I'll send out an updated patch if everyone agrees:

kernel/profile.c +2 -1
Index: mm5-2.6.9-rc1/kernel/profile.c
===================================================================
@@ -209,7 +209,8 @@
 	int i, j, cpu;
 
 	down(&profile_flip_mutex);
-	j = per_cpu(cpu_profile_flip, smp_processor_id());
+	j = per_cpu(cpu_profile_flip, get_cpu());
+	put_cpu();
 	on_each_cpu(__profile_flip_buffers, NULL, 0, 1);
 	for_each_online_cpu(cpu) {
 		struct profile_hit *hits = per_cpu(cpu_profile_hits, cpu)[j];
#73 lore raw

Re: [profile] amortize atomic hit count increments

Quoted 1 line · Andrew Morton
Quoted 1 line

A few comments which describe the design would be nice...

Quoted 2 lines · William Lee Irwin III

Okay, I'll add a few in another update. I suppose what's going on may not be as obvious to everyone else even with the code in hand.

The comments and all other issues raised in your reply have been addressed in the following updated patch, in which I also shrank the hashtable entries' fields to u32 for 64-bit machines, on which the full precision of an unsigned long is unnecessary, added some commentary to the beginning of the file describing its contents and the recent major work done on it, and simplified the secondary hash function. I also presume silence to be assent regarding the hotplug (not preempt) fix.

-- wli

I've been informed that /proc/profile livelocks some systems in the timer interrupt, usually at boot. The following patch attempts to amortize the atomic operations done on the profile buffer to address this stability concern. This patch has nothing to do with performance; kernels using periodic timer interrupts are under realtime constraints to complete whatever work they perform within timer interrupts before the next timer interrupt arrives lest they livelock, performing no work whatsoever apart from servicing timer interrupts. The latency of the cacheline bounce for prof_buffer contributes to the time spent in the timer interrupt, hence it must be amortized when remote access latencies or deviations from fair exclusive cacheline acquisition may cause cacheline bounces to take longer than the interval between timer ticks.

What this patch does is to create a per-cpu open-addressed hashtable indexed by profile buffer slot holding values representing the number of pending profile buffer hits. When this hashtable overflows, one iterates over the hashtable accounting each of the pairs of profile buffer slots and hit counts to the global profile buffer. Zero is a legitimate profile buffer slot, so zero hit counts represent unused hashtable entries. The hashtable is furthermore protected from reentry into the timer interrupt by interrupt disablement. In order to "flush" the pending profile hits for read_profile(), this patch actually creates a pair of per-cpu profile buffer, and at the time of read_profile() IPI's all cpus to get them to flip between their pairs of profile buffers, doing all the work to flush the profile hits from the older per-cpu buffers in the context of the caller of read_profile(), with exclusion provided by a semaphore ensuring that only one caller of profile_flip_buffers() may execute at a time and interrupt disablement to prevent buffer flip IPI's from altering the hashtables or flip state while an update is in progress. The flip state is per-cpu so that remote cpus need only disable interrupts locally for synchronization, which is both simple and busywait-free for remote cpus, and the flip states all change in tandem with the cpu requesting the update waiting for the completion of smp_call_function() for notification that all cpus have finished flipping their buffers. The IPI handler merely toggles the flip state (which is an array index) between 0 and 1.

This is expected to be a much stronger amortization than merely reducing the frequency of profile buffer access by a factor of the size of the hashtable because numerous hits may be held for each of its entries. This reduces what was before the patch a number of atomic increments equal to what after the patch becomes the sum of the hits held for each entry in the hashtable, to a number of atomic_add()'s equal to the number of entries in the per_cpu hashtable. This is nondeterministic, but as the profile hits tend to be concentrated in a very small number of profile buffer slots during any given timing interval, is likely to represent a very large number of atomic increments. This amortization of atomic increments does not depend on the hash function, only the (lack of) scattering of profile buffer hits.

I also took the liberty of adding some commentary to the comments at the beginning of the file reflecting the major work done on profile.c in recent months and describing what the file implements..

I would be much obliged if the reporters of this issue could verify whether this resolves their livelock. Untested, as I was hoping the bugreporters could do that bit for me.

kernel/profile.c +117 -0
Index: mm5-2.6.9-rc1/kernel/profile.c
===================================================================
@@ -1,5 +1,16 @@
 /*
  *  linux/kernel/profile.c
+ *  Simple profiling. Manages a direct-mapped profile hit count buffer,
+ *  with configurable resolution, support for restricting the cpus on
+ *  which profiling is done, and switching between cpu time and
+ *  schedule() calls via kernel command line parameters passed at boot.
+ *
+ *  Scheduler profiling support, Arjan van de Ven and Ingo Molnar,
+ *	Red Hat, July 2004
+ *  Consolidation of architecture support code for profiling,
+ *	William Irwin, Oracle, July 2004
+ *  Amortized hit count accounting via per-cpu open-addressed hashtables
+ *	to resolve timer interrupt livelocks, William Irwin, Oracle, 2004
  */
 
 #include <linux/config.h>
@@ -11,11 +22,21 @@
 #include <linux/cpumask.h>
 #include <linux/profile.h>
 #include <asm/sections.h>
+#include <asm/semaphore.h>
+
+struct profile_hit {
+	u32 pc, hits;
+};
+#define NR_PROFILE_HIT		(PAGE_SIZE/sizeof(struct profile_hit))
 
 static atomic_t *prof_buffer;
 static unsigned long prof_len, prof_shift;
 static int prof_on;
 static cpumask_t prof_cpu_mask = CPU_MASK_ALL;
+#ifdef CONFIG_SMP
+static DEFINE_PER_CPU(struct profile_hit [2][NR_PROFILE_HIT], cpu_profile_hits);
+static DEFINE_PER_CPU(int, cpu_profile_flip);
+#endif /* CONFIG_SMP */
 
 static int __init profile_setup(char * str)
 {
@@ -181,6 +202,100 @@
 EXPORT_SYMBOL_GPL(profile_event_register);
 EXPORT_SYMBOL_GPL(profile_event_unregister);
 
+#ifdef CONFIG_SMP
+/*
+ * Each cpu has a pair of open-addressed hashtables for pending
+ * profile hits. read_profile() IPI's all cpus to request them
+ * to flip buffers and flushes their contents to prof_buffer itself.
+ * Flip requests are serialized by the profile_flip_mutex. The sole
+ * use of having a second hashtable is for avoiding cacheline
+ * contention that would otherwise happen during flushes of pending
+ * profile hits required for the accuracy of reported profile hits
+ * and so resurrect the interrupt livelock issue.
+ *
+ * The open-addressed hashtables are indexed by profile buffer slot
+ * and hold the number of pending hits to that profile buffer slot on
+ * a cpu in an entry. When the hashtable overflows, all pending hits
+ * are accounted to their corresponding profile buffer slots with
+ * atomic_add() and the hashtable emptied. As numerous pending hits
+ * may be accounted to a profile buffer slot in a hashtable entry,
+ * this amortizes a number of atomic profile buffer increments likely
+ * to be far larger than the number of entries in the hashtable,
+ * particularly given that the number of distinct profile buffer
+ * positions to which hits are accounted during short intervals (e.g.
+ * several seconds) is usually very small. Exclusion from buffer
+ * flipping is provided by interrupt disablement (note that for
+ * SCHED_PROFILING profile_hit() may be called from process context).
+ * The hash function is meant to be lightweight as opposed to strong,
+ * and was vaguely inspired by ppc64 firmware-supported inverted
+ * pagetable hash functions, but doesn't use finite collision chains.
+ *
+ * -- wli
+ */
+static void __profile_flip_buffers(void *unused)
+{
+	int cpu = smp_processor_id();
+
+	per_cpu(cpu_profile_flip, cpu) = !per_cpu(cpu_profile_flip, cpu);
+}
+
+static void profile_flip_buffers(void)
+{
+	static DECLARE_MUTEX(profile_flip_mutex);
+	int i, j, cpu;
+
+	down(&profile_flip_mutex);
+	j = per_cpu(cpu_profile_flip, get_cpu());
+	put_cpu();
+	on_each_cpu(__profile_flip_buffers, NULL, 0, 1);
+	for_each_online_cpu(cpu) {
+		struct profile_hit *hits = per_cpu(cpu_profile_hits, cpu)[j];
+		for (i = 0; i < NR_PROFILE_HIT; ++i) {
+			if (!hits[i].hits)
+				continue;
+			atomic_add(hits[i].hits, &prof_buffer[hits[i].pc]);
+		}
+		memset(hits, 0, NR_PROFILE_HIT*sizeof(struct profile_hit));
+	}
+	up(&profile_flip_mutex);
+}
+
+void profile_hit(int type, void *__pc)
+{
+	unsigned long primary, secondary, flags, pc = (unsigned long)__pc;
+	int i, cpu;
+	struct profile_hit *hits;
+
+	if (prof_on != type || !prof_buffer)
+		return;
+	pc = min((pc - (unsigned long)_stext) >> prof_shift, prof_len - 1);
+	i = primary = pc & (NR_PROFILE_HIT - 1);
+	secondary = ~(pc << 1) & (NR_PROFILE_HIT - 1);
+	cpu = get_cpu();
+	hits = per_cpu(cpu_profile_hits, cpu)[per_cpu(cpu_profile_flip, cpu)];
+	local_irq_save(flags);
+	do {
+		if (hits[i].pc == pc) {
+			hits[i].hits++;
+			goto out;
+		} else if (!hits[i].hits) {
+			hits[i].pc = pc;
+			hits[i].hits = 1;
+			goto out;
+		} else
+			i = (i + secondary) & (NR_PROFILE_HIT - 1);
+	} while (i != primary);
+	atomic_inc(&prof_buffer[pc]);
+	for (i = 0; i < NR_PROFILE_HIT; ++i)
+		atomic_add(hits[i].hits, &prof_buffer[hits[i].pc]);
+	memset(hits, 0, NR_PROFILE_HIT*sizeof(struct profile_hit));
+out:
+	local_irq_restore(flags);
+	put_cpu();
+}
+#else /* !CONFIG_SMP */
+#define profile_flip_buffers()		do { } while (0)
+
 void profile_hit(int type, void *__pc)
 {
 	unsigned long pc;
@@ -190,6 +305,7 @@
 	pc = ((unsigned long)__pc - (unsigned long)_stext) >> prof_shift;
 	atomic_inc(&prof_buffer[min(pc, prof_len - 1)]);
 }
+#endif /* !CONFIG_SMP */
 
 void profile_tick(int type, struct pt_regs *regs)
 {
@@ -256,6 +372,7 @@
 	char * pnt;
 	unsigned int sample_step = 1 << prof_shift;
 
+	profile_flip_buffers();
 	if (p >= (prof_len+1)*sizeof(unsigned int))
 		return 0;
 	if (count > (prof_len+1)*sizeof(unsigned int) - p)
#74 lore raw

Re: [profile] amortize atomic hit count increments

In reply to William Lee Irwin III
Quoted 3 lines · William Lee Irwin III

timer interrupt, usually at boot. The following patch attempts to amortize the atomic operations done on the profile buffer to address this stability concern. This patch has nothing to do with performance;

isn't it *much* simpler and much more efficient to just have a per-cpu idle function? I seriously doubt you'll get simultaneous collisions on anything but the 'halt' instruction in the idle function.

#75 lore raw

Re: [profile] amortize atomic hit count increments

Quoted 3 lines · William Lee Irwin III
Quoted 3 lines

timer interrupt, usually at boot. The following patch attempts to amortize the atomic operations done on the profile buffer to address this stability concern. This patch has nothing to do with performance;

Quoted 3 lines · Andrea Arcangeli

isn't it *much* simpler and much more efficient to just have a per-cpu idle function? I seriously doubt you'll get simultaneous collisions on anything but the 'halt' instruction in the idle function.

Sampling the profile buffer at regular intervals shows far less than 256 distinct functions hit in 1s intervals even with all cpus busy. As for whether that would be sufficient, that will have to be answered by those who reported the bug. I suppose to test whether things besides idling do cause this problem, one would boot with a restricted prof_cpu_mask, load all cpus on the machine, set the prof_cpu_mask to unrestricted, and see if it livelocks before the load terminates.

-- wli

#76 lore raw

Re: [profile] amortize atomic hit count increments

Quoted 10 lines · William Lee Irwin III
Quoted 3 lines · William Lee Irwin III
Quoted 3 lines

timer interrupt, usually at boot. The following patch attempts to amortize the atomic operations done on the profile buffer to address this stability concern. This patch has nothing to do with performance;

Quoted 3 lines · Andrea Arcangeli

isn't it *much* simpler and much more efficient to just have a per-cpu idle function? I seriously doubt you'll get simultaneous collisions on anything but the 'halt' instruction in the idle function.

Quoted 7 lines

Sampling the profile buffer at regular intervals shows far less than 256 distinct functions hit in 1s intervals even with all cpus busy. As for whether that would be sufficient, that will have to be answered by those who reported the bug. I suppose to test whether things besides idling do cause this problem, one would boot with a restricted prof_cpu_mask, load all cpus on the machine, set the prof_cpu_mask to unrestricted, and see if it livelocks before the load terminates.

It probably worth to measure it. The real bottleneck happens when all cpus tries to get an exclusive lock on the same cacheline at the *same* time. 1 second is a pretty long time, if there's no contention of the cacheline, things are normally ok.

this is basically the same issue we had with RCU since all timers fired at the same wall clock time, and all of them tried to change bits in the same cacheline at the same time, that is a workload that collapse a 512-way machine ;). The profile timer is no different.

Simply removing the idle time accounting would fix it, however this cripple down functionality a little bit, but it'll be a very good way to test if my theory is correct, or if you truly need some per-cpu logic in the profiler.

You could also fake it, have a per-cpu counter only for the current->pid case, and then once somebody reads /proc/profile, you flush the total per-cpu count to the counter in the buffer that corresponds to the EIP of the idle func.

Before dedicidng I'd suggest to have a look and see how the below patch compares to your approch in performance terms.

arch/ia64/kernel/time.c renamed from arch/ia64/kernel/time.c.~1~ +3 -0
@@ -206,6 +206,9 @@ ia64_do_profile (struct pt_regs * regs)
 	if (!prof_buffer)
 		return;
 
+	if (!current->pid)
+		return;
+
 	ip = instruction_pointer(regs);
 	/* Conserve space in histogram by encoding slot bits in address
 	 * bits 2 and 3 rather than bits 0 and 1.
#77 lore raw

Re: [profile] amortize atomic hit count increments

Quoted 4 lines · Andrea Arcangeli

It probably worth to measure it. The real bottleneck happens when all cpus tries to get an exclusive lock on the same cacheline at the *same* time. 1 second is a pretty long time, if there's no contention of the cacheline, things are normally ok.

Right, we want to avoid that heavy contention.

Quoted 10 lines

this is basically the same issue we had with RCU since all timers fired at the same wall clock time, and all of them tried to change bits in the same cacheline at the same time, that is a workload that collapse a 512-way machine ;). The profile timer is no different.

Simply removing the idle time accounting would fix it, however this cripple down functionality a little bit, but it'll be a very good way to test if my theory is correct, or if you truly need some per-cpu logic in the profiler.

Quoted 7 lines

You could also fake it, have a per-cpu counter only for the current->pid case, and then once somebody reads /proc/profile, you flush the total per-cpu count to the counter in the buffer that corresponds to the EIP of the idle func.

Before dedicidng I'd suggest to have a look and see how the below patch compares to your approch in performance terms.

It looks like the 512p we have here is pretty heavily reserved this week, so I'm not sure if I'll be able to test this (someone else might, John?). I think the balance we're looking for is between simplicity and non-brokenness. Builtin profiling is *supposed* to be simple and dumb, and were it not for the readprofile times, I'd say per-cpu would be the way to go just because it retains the simplicity of the current approach while allowing it to work on large machines (as well as limiting the performance impact of builtin profiling in general). wli's approach seems like a reasonable tradeoff though, assuming what you suggest doesn't work.

Thanks,
Jesse

#78 lore raw

Re: [profile] amortize atomic hit count increments

Quoted 5 lines · Jesse Barnes

the readprofile times, I'd say per-cpu would be the way to go just because it retains the simplicity of the current approach while allowing it to work on large machines (as well as limiting the performance impact of builtin profiling in general). wli's approach seems like a reasonable tradeoff though, assuming what you suggest doesn't work.

per-cpu certainly sounds simple enough conceptually, so if you can notice any slowdown even with idle loop ruled out, per-cpu is sure better.

This bouncing is likely to hurt smaller SMP too (but once the cpu is idle normally it's not a too bad thing since it only hurted reschedule latency, since we remain stuck in the timer irq for a bit longer than we should), but duplicating the ram of the array there doesn't look as nice as it would be on the altix, not all SMP have tons of ram. So an intermediate solution for this problem still sound worthwhile for the normal smp case.

#79 lore raw

Re: [profile] amortize atomic hit count increments

Quoted 10 lines · Andrea Arcangeli

per-cpu certainly sounds simple enough conceptually, so if you can notice any slowdown even with idle loop ruled out, per-cpu is sure better.
This bouncing is likely to hurt smaller SMP too (but once the cpu is idle normally it's not a too bad thing since it only hurted reschedule latency, since we remain stuck in the timer irq for a bit longer than we should), but duplicating the ram of the array there doesn't look as nice as it would be on the altix, not all SMP have tons of ram. So an intermediate solution for this problem still sound worthwhile for the normal smp case.

Could you clarify whether you deem the per-cpu hashtable -based amortization acceptable or whether this refers to per-cpu profile buffers? I devised the hashtables to address space footprint concerns, so I'm in a pickle if both have pending objections.

Thanks.

-- wli

#80 lore raw

Re: [profile] amortize atomic hit count increments

In reply to Jesse Barnes
Quoted 2 lines · Andrea Arcangeli
Quoted 2 lines

Before dedicidng I'd suggest to have a look and see how the below patch compares to your approch in performance terms.

Quoted 10 lines · Jesse Barnes

It looks like the 512p we have here is pretty heavily reserved this week, so I'm not sure if I'll be able to test this (someone else might, John?). I think the balance we're looking for is between simplicity and non-brokenness. Builtin profiling is *supposed* to be simple and dumb, and were it not for the readprofile times, I'd say per-cpu would be the way to go just because it retains the simplicity of the current approach while allowing it to work on large machines (as well as limiting the performance impact of builtin profiling in general). wli's approach seems like a reasonable tradeoff though, assuming what you suggest doesn't work.

Goddamn fscking short-format VHPT crap. Rusty, how the hell do I hotplug-ize this?

-- wli

Atop the prior per-cpu hashtable patch. It turns out that ia64 has limitations on the sizes of per-cpu areas to the size of an area covered by a single TLB entry, and worse yet, as short format VHPT is being used, this TLB entry is limited to the PAGE_SIZE of the region used for kernel data.

In order to address this, the following patch dynamically allocates the per-cpu hashtables at boot-time. It probably needs adjustments for cpu hotplug.

kernel/profile.c +46 -1
Index: mm5-2.6.9-rc1/kernel/profile.c
===================================================================
@@ -34,7 +34,7 @@
 static int prof_on;
 static cpumask_t prof_cpu_mask = CPU_MASK_ALL;
 #ifdef CONFIG_SMP
-static DEFINE_PER_CPU(struct profile_hit [2][NR_PROFILE_HIT], cpu_profile_hits);
+static DEFINE_PER_CPU(struct profile_hit *[2], cpu_profile_hits);
 static DEFINE_PER_CPU(int, cpu_profile_flip);
 #endif /* CONFIG_SMP */
 
@@ -273,6 +273,10 @@
 	secondary = ~(pc << 1) & (NR_PROFILE_HIT - 1);
 	cpu = get_cpu();
 	hits = per_cpu(cpu_profile_hits, cpu)[per_cpu(cpu_profile_flip, cpu)];
+	if (!hits) {
+		put_cpu();
+		return;
+	}
 	local_irq_save(flags);
 	do {
 		if (hits[i].pc == pc) {
@@ -423,17 +427,58 @@
 	.write		= write_profile,
 };
 
+#ifdef CONFIG_SMP
+static void __init profile_nop(void *unused)
+{
+}
+#endif
+
 static int __init create_proc_profile(void)
 {
 	struct proc_dir_entry *entry;
+	int cpu;
 
+	(void)cpu;
 	if (!prof_on)
 		return 0;
+#ifdef CONFIG_SMP
+	for_each_online_cpu(cpu) {
+		per_cpu(cpu_profile_hits, cpu)[0]
+			= (struct profile_hit *)get_zeroed_page(GFP_KERNEL);
+		if (!per_cpu(cpu_profile_hits, cpu)[0])
+			goto out_cleanup;
+		per_cpu(cpu_profile_hits, cpu)[1]
+			= (struct profile_hit *)get_zeroed_page(GFP_KERNEL);
+		if (per_cpu(cpu_profile_hits, cpu)[1])
+			continue;
+		free_page((unsigned long)per_cpu(cpu_profile_hits, cpu)[0]);
+		goto out_cleanup;
+	}
+#endif /* CONFIG_SMP */
 	if (!(entry = create_proc_entry("profile", S_IWUSR | S_IRUGO, NULL)))
 		return 0;
 	entry->proc_fops = &proc_profile_operations;
 	entry->size = (1+prof_len) * sizeof(atomic_t);
 	return 0;
+#ifdef CONFIG_SMP
+out_cleanup:
+	prof_on = 0;
+	mb();
+	on_each_cpu(profile_nop, NULL, 0, 1);
+	for_each_online_cpu(cpu) {
+		unsigned long kvaddr
+			= (unsigned long)per_cpu(cpu_profile_hits, cpu)[0];
+
+		if (!kvaddr)
+			break;
+		per_cpu(cpu_profile_hits, cpu)[0] = NULL;
+		free_page(kvaddr);
+		kvaddr = (unsigned long)per_cpu(cpu_profile_hits, cpu)[1];
+		per_cpu(cpu_profile_hits, cpu)[1] = NULL;
+		free_page(kvaddr);
+	}
+	return -1;
+#endif /* CONFIG_SMP */
 }
 module_init(create_proc_profile);
 #endif /* CONFIG_PROC_FS */
#81 lore raw

Re: [profile] amortize atomic hit count increments

Quoted 10 lines · Jesse Barnes
Quoted 10 lines

It looks like the 512p we have here is pretty heavily reserved this week, so I'm not sure if I'll be able to test this (someone else might, John?). I think the balance we're looking for is between simplicity and non-brokenness. Builtin profiling is *supposed* to be simple and dumb, and were it not for the readprofile times, I'd say per-cpu would be the way to go just because it retains the simplicity of the current approach while allowing it to work on large machines (as well as limiting the performance impact of builtin profiling in general). wli's approach seems like a reasonable tradeoff though, assuming what you suggest doesn't work.

Quoted 2 lines · William Lee Irwin III

Goddamn fscking short-format VHPT crap. Rusty, how the hell do I hotplug-ize this?

Okay, here's an attempt to hotplug-ize it. I have no clue whether this actually works, compiles, or follows whatever rules there are about dynamically allocated data referenced by per_cpu areas.

-- wli

kernel/profile.c +39 -0
Index: mm5-2.6.9-rc1/kernel/profile.c
===================================================================
@@ -20,6 +20,7 @@
 #include <linux/notifier.h>
 #include <linux/mm.h>
 #include <linux/cpumask.h>
+#include <linux/cpu.h>
 #include <linux/profile.h>
 #include <asm/sections.h>
 #include <asm/semaphore.h>
@@ -297,6 +298,44 @@
 	local_irq_restore(flags);
 	put_cpu();
 }
+
+#ifdef CONFIG_HOTPLUG_CPU
+static int __devinit profile_cpu_callback(struct notifier_block *info,
+					unsigned long action, void *__cpu)
+{
+	int cpu = (unsigned long)__cpu;
+
+	switch (action) {
+	case CPU_UP_PREPARE:
+		per_cpu(cpu_profile_flip, cpu) = 0;
+		if (!per_cpu(cpu_profile_hits, cpu)[1])
+			per_cpu(cpu_profile_hits, cpu)[1]
+				= (void *)get_zeroed_page(GFP_KERNEL);
+		if (!per_cpu(cpu_profile_hits, cpu)[1])
+			return NOTIFY_BAD;
+		if (!per_cpu(cpu_profile_hits, cpu)[0])
+			per_cpu(cpu_profile_hits, cpu)[0]
+				= (void *)get_zeroed_page(GFP_KERNEL);
+		if (per_cpu(cpu_profile_hits, cpu)[0])
+			break;
+		free_page((unsigned long)per_cpu(cpu_profile_hits, cpu)[1]);
+		return NOTIFY_BAD;
+		break;
+	case CPU_ONLINE:
+		cpu_set(cpu, prof_cpu_mask);
+		break;
+	case CPU_UP_CANCELED:
+	case CPU_DEAD:
+		cpu_clear(cpu, prof_cpu_mask);
+		free_page((unsigned long)per_cpu(cpu_profile_hits, cpu)[0]);
+		per_cpu(cpu_profile_hits, cpu)[0] = NULL;
+		free_page((unsigned long)per_cpu(cpu_profile_hits, cpu)[1]);
+		per_cpu(cpu_profile_hits, cpu)[1] = NULL;
+		break;
+	}
+	return NOTIFY_OK;
+}
+#endif /* CONFIG_HOTPLUG_CPU */
 #else /* !CONFIG_SMP */
 #define profile_flip_buffers()		do { } while (0)
 
#82 lore raw

Re: [profile] amortize atomic hit count increments

Quoted 2 lines · William Lee Irwin III
Quoted 2 lines

Goddamn fscking short-format VHPT crap. Rusty, how the hell do I hotplug-ize this?

Quoted 3 lines · William Lee Irwin III

Okay, here's an attempt to hotplug-ize it. I have no clue whether this actually works, compiles, or follows whatever rules there are about dynamically allocated data referenced by per_cpu areas.

Take 2: actually register the notifier I wrote.

kernel/profile.c +40 -0
Index: mm5-2.6.9-rc1/kernel/profile.c
===================================================================
@@ -20,6 +20,7 @@
 #include <linux/notifier.h>
 #include <linux/mm.h>
 #include <linux/cpumask.h>
+#include <linux/cpu.h>
 #include <linux/profile.h>
 #include <asm/sections.h>
 #include <asm/semaphore.h>
@@ -297,6 +298,44 @@
 	local_irq_restore(flags);
 	put_cpu();
 }
+
+#ifdef CONFIG_HOTPLUG_CPU
+static int __devinit profile_cpu_callback(struct notifier_block *info,
+					unsigned long action, void *__cpu)
+{
+	int cpu = (unsigned long)__cpu;
+
+	switch (action) {
+	case CPU_UP_PREPARE:
+		per_cpu(cpu_profile_flip, cpu) = 0;
+		if (!per_cpu(cpu_profile_hits, cpu)[1])
+			per_cpu(cpu_profile_hits, cpu)[1]
+				= (void *)get_zeroed_page(GFP_KERNEL);
+		if (!per_cpu(cpu_profile_hits, cpu)[1])
+			return NOTIFY_BAD;
+		if (!per_cpu(cpu_profile_hits, cpu)[0])
+			per_cpu(cpu_profile_hits, cpu)[0]
+				= (void *)get_zeroed_page(GFP_KERNEL);
+		if (per_cpu(cpu_profile_hits, cpu)[0])
+			break;
+		free_page((unsigned long)per_cpu(cpu_profile_hits, cpu)[1]);
+		return NOTIFY_BAD;
+		break;
+	case CPU_ONLINE:
+		cpu_set(cpu, prof_cpu_mask);
+		break;
+	case CPU_UP_CANCELED:
+	case CPU_DEAD:
+		cpu_clear(cpu, prof_cpu_mask);
+		free_page((unsigned long)per_cpu(cpu_profile_hits, cpu)[0]);
+		per_cpu(cpu_profile_hits, cpu)[0] = NULL;
+		free_page((unsigned long)per_cpu(cpu_profile_hits, cpu)[1]);
+		per_cpu(cpu_profile_hits, cpu)[1] = NULL;
+		break;
+	}
+	return NOTIFY_OK;
+}
+#endif /* CONFIG_HOTPLUG_CPU */
 #else /* !CONFIG_SMP */
 #define profile_flip_buffers()		do { } while (0)
 
@@ -459,6 +498,7 @@
 		return 0;
 	entry->proc_fops = &proc_profile_operations;
 	entry->size = (1+prof_len) * sizeof(atomic_t);
+	hotcpu_notifier(profile_cpu_callback, 0);
 	return 0;
 #ifdef CONFIG_SMP
 out_cleanup:
#83 lore raw

Re: [profile] amortize atomic hit count increments

Quoted 2 lines · William Lee Irwin III
Quoted 2 lines
Quoted 2 lines

Goddamn fscking short-format VHPT crap. Rusty, how the hell do I hotplug-ize this?

Quoted 3 lines · William Lee Irwin III
Quoted 3 lines

Okay, here's an attempt to hotplug-ize it. I have no clue whether this actually works, compiles, or follows whatever rules there are about dynamically allocated data referenced by per_cpu areas.

Quoted 1 line · William Lee Irwin III

Take 2: actually register the notifier I wrote.

As pointed out by John Hawkes, I forgot to flush the pending hits at the time of profile buffer reset. The following patch, atop the cpu hotplug notifier bits, does so.

kernel/profile.c +19 -2
Index: mm5-2.6.9-rc1/kernel/profile.c
===================================================================
@@ -37,6 +37,7 @@
 #ifdef CONFIG_SMP
 static DEFINE_PER_CPU(struct profile_hit *[2], cpu_profile_hits);
 static DEFINE_PER_CPU(int, cpu_profile_flip);
+static DECLARE_MUTEX(profile_flip_mutex);
 #endif /* CONFIG_SMP */
 
 static int __init profile_setup(char * str)
@@ -242,7 +243,6 @@
 
 static void profile_flip_buffers(void)
 {
-	static DECLARE_MUTEX(profile_flip_mutex);
 	int i, j, cpu;
 
 	down(&profile_flip_mutex);
@@ -261,6 +261,22 @@
 	up(&profile_flip_mutex);
 }
 
+static void profile_discard_flip_buffers(void)
+{
+	static DECLARE_MUTEX(profile_flip_mutex);
+	int i, cpu;
+
+	down(&profile_flip_mutex);
+	i = per_cpu(cpu_profile_flip, get_cpu());
+	put_cpu();
+	on_each_cpu(__profile_flip_buffers, NULL, 0, 1);
+	for_each_online_cpu(cpu) {
+		struct profile_hit *hits = per_cpu(cpu_profile_hits, cpu)[i];
+		memset(hits, 0, NR_PROFILE_HIT*sizeof(struct profile_hit));
+	}
+	up(&profile_flip_mutex);
+}
+
 void profile_hit(int type, void *__pc)
 {
 	unsigned long primary, secondary, flags, pc = (unsigned long)__pc;
@@ -338,6 +354,7 @@
 #endif /* CONFIG_HOTPLUG_CPU */
 #else /* !CONFIG_SMP */
 #define profile_flip_buffers()		do { } while (0)
+#define profile_discard_flip_buffers()	do { } while (0)
 
 void profile_hit(int type, void *__pc)
 {
@@ -456,7 +473,7 @@
 			return -EINVAL;
 	}
 #endif
-
+	profile_discard_flip_buffers();
 	memset(prof_buffer, 0, prof_len * sizeof(atomic_t));
 	return count;
 }
#84 lore raw

Re: [profile] amortize atomic hit count increments

Quoted 1 line · William Lee Irwin III
Quoted 1 line

Take 2: actually register the notifier I wrote.

Quoted 3 lines · William Lee Irwin III

As pointed out by John Hawkes, I forgot to flush the pending hits at the time of profile buffer reset. The following patch, atop the cpu hotplug notifier bits, does so.

Repost with corrected patch.

As pointed out by John Hawkes, I forgot to flush the pending hits at the time of profile buffer reset. The following patch, atop the cpu hotplug notifier bits, does so.

kernel/profile.c +18 -2
Index: mm5-2.6.9-rc1/kernel/profile.c
===================================================================
@@ -37,6 +37,7 @@
 #ifdef CONFIG_SMP
 static DEFINE_PER_CPU(struct profile_hit *[2], cpu_profile_hits);
 static DEFINE_PER_CPU(int, cpu_profile_flip);
+static DECLARE_MUTEX(profile_flip_mutex);
 #endif /* CONFIG_SMP */
 
 static int __init profile_setup(char * str)
@@ -242,7 +243,6 @@
 
 static void profile_flip_buffers(void)
 {
-	static DECLARE_MUTEX(profile_flip_mutex);
 	int i, j, cpu;
 
 	down(&profile_flip_mutex);
@@ -261,6 +261,21 @@
 	up(&profile_flip_mutex);
 }
 
+static void profile_discard_flip_buffers(void)
+{
+	int i, cpu;
+
+	down(&profile_flip_mutex);
+	i = per_cpu(cpu_profile_flip, get_cpu());
+	put_cpu();
+	on_each_cpu(__profile_flip_buffers, NULL, 0, 1);
+	for_each_online_cpu(cpu) {
+		struct profile_hit *hits = per_cpu(cpu_profile_hits, cpu)[i];
+		memset(hits, 0, NR_PROFILE_HIT*sizeof(struct profile_hit));
+	}
+	up(&profile_flip_mutex);
+}
+
 void profile_hit(int type, void *__pc)
 {
 	unsigned long primary, secondary, flags, pc = (unsigned long)__pc;
@@ -338,6 +353,7 @@
 #endif /* CONFIG_HOTPLUG_CPU */
 #else /* !CONFIG_SMP */
 #define profile_flip_buffers()		do { } while (0)
+#define profile_discard_flip_buffers()	do { } while (0)
 
 void profile_hit(int type, void *__pc)
 {
@@ -456,7 +472,7 @@
 			return -EINVAL;
 	}
 #endif
-
+	profile_discard_flip_buffers();
 	memset(prof_buffer, 0, prof_len * sizeof(atomic_t));
 	return count;
 }
#85 lore raw

Re: [profile] amortize atomic hit count increments

In reply to William Lee Irwin III
Quoted 2 lines · Andrea Arcangeli
Quoted 2 lines
Quoted 2 lines

Before dedicidng I'd suggest to have a look and see how the below patch compares to your approch in performance terms.

Quoted 10 lines · Jesse Barnes
Quoted 10 lines

It looks like the 512p we have here is pretty heavily reserved this week, so I'm not sure if I'll be able to test this (someone else might, John?). I think the balance we're looking for is between simplicity and non-brokenness. Builtin profiling is *supposed* to be simple and dumb, and were it not for the readprofile times, I'd say per-cpu would be the way to go just because it retains the simplicity of the current approach while allowing it to work on large machines (as well as limiting the performance impact of builtin profiling in general). wli's approach seems like a reasonable tradeoff though, assuming what you suggest doesn't work.

Quoted 2 lines · William Lee Irwin III

Goddamn fscking short-format VHPT crap. Rusty, how the hell do I hotplug-ize this?

Successfully tested on x86-64.

-- wli

#86 lore raw
In reply to Andrew Morton
Quoted 9 lines · Andrew Morton

Due to master.kernel.org being on the blink, 2.6.9-rc1-mm5 Is currently at

http://www.zip.com.au/~akpm/linux/patches/2.6.9-rc1-mm5/

and will later appear at

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.9-rc1/2.6 .9-rc1-mm5/

100% reproducible under heavy IO load:

Sep 14 11:42:59 odyssey kernel: journal_bmap: journal block not found at 
offset 2060 on hda12
Sep 14 11:42:59 odyssey kernel: Aborting journal on device hda12.
Sep 14 11:42:59 odyssey kernel: EXT3-fs error (device hda12) in 
ext3_dirty_inode: IO failure
Sep 14 11:43:00 odyssey kernel: ext3_abort called.
Sep 14 11:43:00 odyssey kernel: EXT3-fs error (device hda12): 
ext3_journal_start: Detected aborted journal
Sep 14 11:43:00 odyssey kernel: Remounting filesystem read-only
Sep 14 11:43:00 odyssey kernel: ext3_reserve_inode_write: aborting 
transaction: Journal has aborted in __ext3_journal_get_write_access<2>EXT3-fs 
error (device hda12) in ext3_reserve_inode_write: Journal has aborted
Sep 14 11:43:00 odyssey kernel: ext3_reserve_inode_write: aborting 
transaction: Journal has aborted in __ext3_journal_get_write_access<2>EXT3-fs 
error (device hda12) in ext3_reserve_inode_write: Journal has aborted
Sep 14 11:43:00 odyssey kernel: EXT3-fs error (device hda12) in 
ext3_orphan_del: Journal has aborted
Sep 14 11:43:00 odyssey kernel: EXT3-fs error (device hda12) in ext3_truncate: 
Journal has aborted
Sep 14 11:43:00 odyssey kernel: EXT3-fs error (device hda12) in 
start_transaction: Journal has aborted
Sep 14 11:43:01 odyssey last message repeated 17 times
Sep 14 11:43:01 odyssey kernel: or (device hda12) in start_transaction: 
Journal has aborted
Sep 14 11:43:01 odyssey kernel: EXT3-fs error (device hda12) in 
start_transaction: Journal has aborted
Sep 14 11:43:02 odyssey last message repeated 53 times
Sep 14 11:43:02 odyssey kernel: EXT3-fs error (device hda12) in staror (device 
hda12) in start_transaction: Journal has aborted
Sep 14 11:43:02 odyssey kernel: EXT3-fs error (device hda12) in 
start_transaction: Journal has aborted
Sep 14 11:43:03 odyssey last message repeated 53 times
Sep 14 11:43:03 odyssey kernel: EXT3-fs error (device hda12) in staror (device 
hda12) in start_transaction: Journal has aborted
Sep 14 11:43:03 odyssey kernel: EXT3-fs error (device hda12) in 
start_transaction: Journal has aborted
Sep 14 11:43:34 odyssey last message repeated 147542 times
#87 lore raw
In reply to Andrew Morton
Quoted 2 lines · Andrew Morton

+cfq-iosched-v2.patch
Major revamp of the CFQ IO scheduler

While editing some files while booted into 2.6.9-rc1-mm5:

# ----------- [cut here ] --------- [please bite here ] ---------

Kernel BUG at cfq_iosched:1359
invalid operand: 0000 [1] SMP
CPU 0
Modules linked in: st sr_mod floppy usbserial parport_pc lp parport snd_seq_oss snd_seq_device snd_seq_midi_event snd_seq snd_pcm_oss snd_mixer_oss snd_ioctl32 thermal processor fan button battery snd_intel8x0 snd_ac97_codec snd_pcm snd_timer ipv6 ac snd soundcore snd_page_alloc af_packet joydev usbhid ehci_hcd e1000 uhci_hcd usbcore hw_random evdev dm_mod ext3 jbd aic79xx ata_piix libata sd_mod scsi_mod
Pid: 9615, comm: cc1 Not tainted 2.6.9-rc1-mm5
RIP: 0010:[<ffffffff80290ab6>] <ffffffff80290ab6>{cfq_put_request+166}
RSP: 0000:ffffffff804c8638  EFLAGS: 00010046
RAX: 0000000000000000 RBX: 000001017e2c3b80 RCX: 00000000000049f2
RDX: 0000000000000001 RSI: 000001017e75cd10 RDI: 000001000b5d57c0
RBP: 000001017e75cd10 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: 000001016d1b3db0
R13: 000001017d142c08 R14: 000001017fff1400 R15: 0000000000000001
FS:  0000002a9588d6e0(0000) GS:ffffffff8055c880(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000548000 CR3: 0000000000101000 CR4: 00000000000006e0
Process cc1 (pid: 9615, threadinfo 000001011f720000, task 000001012d4897e0)
Stack: 0000000000001000 000001016d1b3db0 000001017e2c3b80 0000000000000001
       0000000000000001 000001017e2c3b80 0000000000000200 ffffffff8028527f
       0000010163320300 ffffffff80287bfb
Call Trace:<IRQ> <ffffffff8028527f>{elv_put_request+15} <ffffffff80287bfb>{__blk_put_request+139}
       <ffffffff80287d33>{end_that_request_last+243} <ffffffffa0006178>{:scsi_mod:scsi_end_request+200}
       <ffffffffa00063f0>{:scsi_mod:scsi_io_completion+576}
       <ffffffffa0000506>{:scsi_mod:scsi_finish_command+214}
       <ffffffffa0000e4a>{:scsi_mod:scsi_softirq+234} <ffffffff8013df61>{__do_softirq+113}
       <ffffffff8013e015>{do_softirq+53} <ffffffff80113f1f>{do_IRQ+335}
       <ffffffff80110c97>{ret_from_intr+0}  <EOI>

Code: 0f 0b 26 9b 38 80 ff ff ff ff 4f 05 ff c8 41 89 44 95 58 0f

RIP <ffffffff80290ab6>{cfq_put_request+166} RSP <ffffffff804c8638>
<0>Kernel panic - not syncing: Aiee, killing interrupt handler!

-- wli

#88 lore raw
Quoted 8 lines · William Lee Irwin III
Quoted 2 lines · Andrew Morton

+cfq-iosched-v2.patch
Major revamp of the CFQ IO scheduler

While editing some files while booted into 2.6.9-rc1-mm5:

# ----------- [cut here ] --------- [please bite here ] ---------

Kernel BUG at cfq_iosched:1359

Hmm, ->allocated is unbalanced. What is your io setup like (adapter, etc)?

Signature · 1 line
Jens Axboe
#89 lore raw
Quoted 2 lines · Andrew Morton
Quoted 2 lines
Quoted 2 lines

+cfq-iosched-v2.patch
Major revamp of the CFQ IO scheduler

Quoted 3 lines · William Lee Irwin III
Quoted 3 lines

While editing some files while booted into 2.6.9-rc1-mm5:
# ----------- [cut here ] --------- [please bite here ] ---------

Kernel BUG at cfq_iosched:1359
Quoted 2 lines · Jens Axboe

Hmm, ->allocated is unbalanced. What is your io setup like (adapter, etc)?

2 Maxtor Atlas10K 10Krpm U320 disks attached to some aic7902's. No binary or 3rd-party modules anywhere near the box' fs or even the network the thing is on. lspci output follows.

-- wli

0000:00:00.0 Host bridge: Intel Corp. Workstation Memory Controller Hub (rev 08)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Capabilities: [40] #09 [a105]

0000:00:00.1 Class ff00: Intel Corp. Memory Controller Hub Error Reporting Register (rev 08)
Subsystem: Intel Corp. Memory Controller Hub Error Reporting Register
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-

0000:00:03.0 PCI bridge: Intel Corp. Memory Controller Hub PCI Express Port A1 (rev 08) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0, cache line size 10
Bus: primary=00, secondary=02, subordinate=04, sec-latency=0
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: fa400000-fa8fffff
Prefetchable memory behind bridge: 00000000bfe00000-00000000bfe00000
Expansion ROM at 0000d000 [disabled] [size=4K]
BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] Message Signalled Interrupts: 64bit- Queue=0/1 Enable-
Address: fee00000 Data: 0000
Capabilities: [64] #10 [0141]

0000:00:04.0 PCI bridge: Intel Corp. Memory Controller Hub PCI Express Port B0 (rev 08) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0, cache line size 10
Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
I/O behind bridge: 0000f000-00000fff
Memory behind bridge: fa900000-feafffff
Prefetchable memory behind bridge: 00000000bff00000-00000000dfe00000
BridgeCtl: Parity- SERR+ NoISA- VGA+ MAbort- >Reset- FastB2B-
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] Message Signalled Interrupts: 64bit- Queue=0/1 Enable-
Address: fee00000 Data: 0000
Capabilities: [64] #10 [0141]

0000:00:08.0 System peripheral: Intel Corp. Memory Controller Hub Extended Configuration Registers (rev 08)
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-

0000:00:1d.0 USB Controller: Intel Corp. 82801EB USB (rev 02) (prog-if 00 [UHCI])
Subsystem: Intel Corp.: Unknown device 24d0
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin A routed to IRQ 201
Region 4: I/O ports at e080 [size=32]

0000:00:1d.1 USB Controller: Intel Corp. 82801EB USB (rev 02) (prog-if 00 [UHCI])
Subsystem: Intel Corp.: Unknown device 24d0
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin B routed to IRQ 209
Region 4: I/O ports at e400 [size=32]

0000:00:1d.2 USB Controller: Intel Corp. 82801EB USB (rev 02) (prog-if 00 [UHCI])
Subsystem: Intel Corp.: Unknown device 24d0
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin C routed to IRQ 169
Region 4: I/O ports at e480 [size=32]

0000:00:1d.7 USB Controller: Intel Corp. 82801EB USB2 (rev 02) (prog-if 20 [EHCI])
Subsystem: Intel Corp.: Unknown device 24d0
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin D routed to IRQ 193
Region 0: Memory at febff400 (32-bit, non-prefetchable)
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] #0a [20a0]

0000:00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB PCI Bridge (rev c2) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
I/O behind bridge: 0000c000-0000cfff
Memory behind bridge: fa300000-fa3fffff
Prefetchable memory behind bridge: fff00000-000fffff
BridgeCtl: Parity- SERR+ NoISA+ VGA- MAbort- >Reset- FastB2B-

0000:00:1f.0 ISA bridge: Intel Corp. 82801EB LPC Interface Controller (rev 02)
Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0

0000:00:1f.2 IDE interface: Intel Corp. 82801EB Ultra ATA Storage Controller (rev 02) (prog-if 8a [Master SecP PriP])
Subsystem: Intel Corp. 82801EB Ultra ATA Storage Controller
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin A routed to IRQ 169
Region 0: I/O ports at <unassigned>
Region 1: I/O ports at <unassigned>
Region 2: I/O ports at <unassigned>
Region 3: I/O ports at <unassigned>
Region 4: I/O ports at fc00 [size=16]

0000:00:1f.3 SMBus: Intel Corp. 82801EB SMBus Controller (rev 02)
Subsystem: Intel Corp.: Unknown device 24d0
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin B routed to IRQ 5
Region 4: I/O ports at e800 [size=32]

0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801EB AC'97 Audio Controller (rev 02)
Subsystem: Intel Corp.: Unknown device e801
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin B routed to IRQ 217
Region 0: I/O ports at ec00
Region 1: I/O ports at e880 [size=64]
Region 2: Memory at febffc00 (32-bit, non-prefetchable) [size=512]
Region 3: Memory at febff800 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:01:02.0 Ethernet controller: Intel Corp. 82541GI Gigabit Ethernet Controller
Subsystem: Intel Corp.: Unknown device 3408
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (63750ns min), cache line size 10
Interrupt: pin A routed to IRQ 217
Region 0: Memory at fa3e0000 (32-bit, non-prefetchable) [size=180000000]
Region 1: Memory at fa3c0000 (32-bit, non-prefetchable) [size=128K]
Region 2: I/O ports at cc80 [size=64]
Expansion ROM at 00020000 [disabled]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=1 PME-
Capabilities: [e4] PCI-X non-bridge device.
Command: DPERE- ERO+ RBC=0 OST=0
Status: Bus=0 Dev=0 Func=0 64bit- 133MHz- SCD- USC-, DC=simple, DMMRBC=0, DMOST=0, DMCRS=0, RSCEM-
0000:02:00.0 PCI bridge: Intel Corp.: Unknown device 0320 (rev 08) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0, cache line size 10
Bus: primary=02, secondary=04, subordinate=04, sec-latency=64
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: fa400000-fa6fffff
Prefetchable memory behind bridge: 00000000bfe00000-00000000bfe00000
Expansion ROM at 0000d000 [disabled] [size=4K]
BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
Capabilities: [44] #10 [0071]
Capabilities: [5c] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
Address: 0000000000000000 Data: 0000
Capabilities: [6c] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [d8]
0000:02:00.1 PIC: Intel Corp. PCI Bridge Hub I/OxAPIC Interrupt Controller A (rev 08) (prog-if 20 [IO(X)-APIC])
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Region 0: Memory at fa8fe000 (32-bit, non-prefetchable)
Capabilities: [44] #10 [0001]
Capabilities: [6c] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:02:00.2 PCI bridge: Intel Corp.: Unknown device 0321 (rev 08) (prog-if 00 [Normal decode])

	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0, cache line size 10
	Bus: primary=02, secondary=03, subordinate=03, sec-latency=64
	I/O behind bridge: 0000f000-00000fff
	Memory behind bridge: fff00000-000fffff
	Prefetchable memory behind bridge: 00000000fff00000-0000000000000000
	BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
	Capabilities: [44] #10 [0071]
	Capabilities: [5c] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
		Address: 0000000000000000  Data: 0000
	Capabilities: [6c] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [d8] 

0000:02:00.3 PIC: Intel Corp. PCI Bridge Hub I/OxAPIC Interrupt Controller B (rev 08) (prog-if 20 [IO(X)-APIC])
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Region 0: Memory at fa8ff000 (32-bit, non-prefetchable)
Capabilities: [44] #10 [0001]
Capabilities: [6c] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:04:03.0 SCSI storage controller: Adaptec AIC-7902 U320 (rev 03)
Subsystem: Adaptec: Unknown device ffff
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (10000ns min, 6250ns max), cache line size 10
Interrupt: pin A routed to IRQ 177
Region 0: I/O ports at d400 [size=180000000]
Region 1: Memory at fa6fc000 (64-bit, non-prefetchable) [disabled] [size=8K] Region 3: I/O ports at d000 [size=256]
Expansion ROM at ffffffff3ff00000 [disabled]
Capabilities: [dc] Power Management version 1
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [a0] Message Signalled Interrupts: 64bit+ Queue=0/1 Enable-
Address: 0000000000000000 Data: 0000
Capabilities: [94]
0000:04:03.1 SCSI storage controller: Adaptec AIC-7902 U320 (rev 03)
Subsystem: Adaptec: Unknown device ffff
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (10000ns min, 6250ns max), cache line size 10
Interrupt: pin B routed to IRQ 185
Region 0: I/O ports at dc00 [size=180000000]
Region 1: Memory at fa6fe000 (64-bit, non-prefetchable) [disabled] [size=8K] Region 3: I/O ports at d800 [size=256]
Expansion ROM at ffffffff3ff00000 [disabled]
Capabilities: [dc] Power Management version 1
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [a0] Message Signalled Interrupts: 64bit+ Queue=0/1 Enable-
Address: 0000000000000000 Data: 0000
Capabilities: [94]
0000:05:00.0 VGA compatible controller: nVidia Corporation: Unknown device 00fd (rev a2) (prog-if 00 [VGA])

	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0, cache line size 10
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at fd000000 (32-bit, non-prefetchable) [size=feae0000]
	Region 1: Memory at c0000000 (32-bit, prefetchable) [size=256M]
	Region 2: Memory at fc000000 (32-bit, non-prefetchable) [size=16M]
	Expansion ROM at 00020000 [disabled]
	Capabilities: [60] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [68] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
		Address: 0000000000000000  Data: 0000
	Capabilities: [78] #10 [0011]
#90 lore raw
Quoted 9 lines · William Lee Irwin III
Quoted 2 lines · Andrew Morton
Quoted 2 lines
Quoted 2 lines

+cfq-iosched-v2.patch
Major revamp of the CFQ IO scheduler

Quoted 3 lines · William Lee Irwin III
Quoted 3 lines

While editing some files while booted into 2.6.9-rc1-mm5:
# ----------- [cut here ] --------- [please bite here ] ---------

Kernel BUG at cfq_iosched:1359
Quoted 7 lines
Quoted 2 lines · Jens Axboe

Hmm, ->allocated is unbalanced. What is your io setup like (adapter, etc)?

2 Maxtor Atlas10K 10Krpm U320 disks attached to some aic7902's. No binary or 3rd-party modules anywhere near the box' fs or even the network the thing is on. lspci output follows.

Hmm, I can only see this happening if rq->flags has its direction bit changed between the allocation time and the time of freeing. I'll look over scsi and see if I can find any traces of that, don't see any immediately.

Signature · 1 line
Jens Axboe
#91 lore raw
Quoted 14 lines · Jens Axboe
Quoted 13 lines · William Lee Irwin III
Quoted 2 lines · Andrew Morton
Quoted 2 lines
Quoted 2 lines

+cfq-iosched-v2.patch
Major revamp of the CFQ IO scheduler

Quoted 3 lines · William Lee Irwin III
Quoted 3 lines

While editing some files while booted into 2.6.9-rc1-mm5:
# ----------- [cut here ] --------- [please bite here ] ---------

Kernel BUG at cfq_iosched:1359
Quoted 2 lines · Jens Axboe

Hmm, ->allocated is unbalanced. What is your io setup like (adapter, etc)?

Quoted 8 lines
Quoted 3 lines

2 Maxtor Atlas10K 10Krpm U320 disks attached to some aic7902's. No binary or 3rd-party modules anywhere near the box' fs or even the network the thing is on. lspci output follows.

Hmm, I can only see this happening if rq->flags has its direction bit changed between the allocation time and the time of freeing. I'll look over scsi and see if I can find any traces of that, don't see any immediately.

Can you try if this works?

drivers/block/cfq-iosched.c renamed from drivers/block/cfq-iosched.c~ +5 -3
@@ -195,6 +195,7 @@
 	unsigned int in_flight : 1;
 	unsigned int accounted : 1;
 	unsigned int is_sync   : 1;
+	unsigned int is_write  : 1;
 };
 
 static struct cfq_queue *cfq_find_cfq_hash(struct cfq_data *, unsigned long);
@@ -1353,12 +1354,12 @@
 		if (crq->io_context)
 			put_io_context(crq->io_context->ioc);
 
+		BUG_ON(!cfqq->allocated[crq->is_write]);
+		cfqq->allocated[crq->is_write]--;
+
 		mempool_free(crq, cfqd->crq_pool);
 		rq->elevator_private = NULL;
 
-		BUG_ON(!cfqq->allocated[rw]);
-		cfqq->allocated[rw]--;
-
 		smp_mb();
 		cfq_check_waiters(q, cfqq);
 		cfq_put_queue(cfqq);
@@ -1415,6 +1416,7 @@
 		crq->io_context = cic;
 		crq->service_start = crq->queue_start = 0;
 		crq->in_flight = crq->accounted = crq->is_sync = 0;
+		crq->is_write = rw;
 		rq->elevator_private = crq;
 		cfqq->allocated[rw]++;
 		cfqq->alloc_limit[rw] = 0;
Signature · 1 line
Jens Axboe
#92 lore raw
Quoted 4 lines · Jens Axboe
Quoted 4 lines

Hmm, I can only see this happening if rq->flags has its direction bit changed between the allocation time and the time of freeing. I'll look over scsi and see if I can find any traces of that, don't see any immediately.

Quoted 1 line · Jens Axboe

Can you try if this works?

Booting it ASAP.

-- wli

#93 lore raw
Quoted 4 lines · Jens Axboe
Quoted 4 lines
Quoted 4 lines

Hmm, I can only see this happening if rq->flags has its direction bit changed between the allocation time and the time of freeing. I'll look over scsi and see if I can find any traces of that, don't see any immediately.

Quoted 1 line · Jens Axboe
Quoted 1 line

Can you try if this works?

Quoted 1 line · William Lee Irwin III

Booting it ASAP.

It appears to have lasted enough hours to call it an improvement. I'll leave it running for a while longer just in case.

-- wli

#94 lore raw
Quoted 4 lines · Jens Axboe
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Hmm, I can only see this happening if rq->flags has its direction bit changed between the allocation time and the time of freeing. I'll look over scsi and see if I can find any traces of that, don't see any immediately.

Quoted 1 line · Jens Axboe
Quoted 1 line
Quoted 1 line

Can you try if this works?

Quoted 1 line · William Lee Irwin III
Quoted 1 line

Booting it ASAP.

Quoted 2 lines · William Lee Irwin III

It appears to have lasted enough hours to call it an improvement. I'll leave it running for a while longer just in case.

Okay, it got well over 8 solid hours, so I'm going to move on to booting something else.

-- wli

#95 lore raw
Quoted 10 lines · William Lee Irwin III
Quoted 4 lines · Jens Axboe
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Hmm, I can only see this happening if rq->flags has its direction bit changed between the allocation time and the time of freeing. I'll look over scsi and see if I can find any traces of that, don't see any immediately.

Quoted 1 line · Jens Axboe
Quoted 1 line
Quoted 1 line

Can you try if this works?

On Wed, Sep 15, 2004 at 05:53:55AM -0700, William Lee Irwin III wrote:

Quoted 8 lines
Quoted 1 line
Quoted 1 line

Booting it ASAP.

Quoted 2 lines · William Lee Irwin III

It appears to have lasted enough hours to call it an improvement. I'll leave it running for a while longer just in case.

Okay, it got well over 8 solid hours, so I'm going to move on to booting something else.

Thanks for your testing, I'm concluding that it most likely fixed your problem.

Signature · 1 line
Jens Axboe