Skip to contentSkip to conversation

2.6.9-rc1-mm2

PATCH In review Andrew Morton 14 participants 27 messages Aug 31, 2004 – Sep 1, 2004

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

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

Nothing particularly noteworthy here. Some seriously bad scheduler performance with SMT and HT was fixed up, as was the fails-to-read-the-last-4k-of-a-file brown bag.

Changes since 2.6.9-rc1-mm1:

linus.patch
bk-acpi.patch
bk-agpgart.patch
bk-arm.patch
bk-drm.patch
bk-ia64.patch
bk-ieee1394.patch
bk-input.patch
bk-kbuild.patch
bk-mmc.patch
bk-netdev.patch
bk-pci.patch
bk-pnp.patch
bk-power.patch
bk-serial.patch

Latest versions of external trees

-auth_unix_lookup-oops-fix.patch -auth_unix_lookup-oops-fix-fix.patch -fix-show_mem-on-discontig-machines.patch -fix-sysrq-support-in-sn_consolec.patch -md-fix-problems-with-checksum-handling-in-md-superblocks.patch -scheduler-profiling.patch -consolidate-prof_cpu_mask.patch -introduce-profile_pc.patch -consolidate-hit-count-increments-in-profile_tick.patch -move-profile_operations.patch -make-private-profile-state-static.patch -make-prof_buffer-atomic_t.patch -remove-iseries-profiling.patch
-ipr-build-fix.patch
-megaraid-build-fix.patch -reduce-size-of-struct-inode-on-64bit.patch -ppc32-refactor-common-book-e-exception-handling-macros.patch -ppc64-clean-up-unused-macro.patch -fix-warnings-in-net-irda.patch -add-a-few-might_sleep-checks.patch -tmpfs-atomicity-fix.patch -wireless-extension-v17-for-linus.patch -wireless-drivers-update-for-we-17.patch -ide-do-spin-up-for-all-platforms.patch -dnotify-autofs-may-create-signal-restart-syscall-loop.patch -mostly-remove-module_parm.patch -defxx-trivial-updates.patch -defxx-device-name-fixes.patch -fix-mt-reparenting-when-thread-group-leader-dies.patch -copy_mount_options-size-fix.patch -improve-oprofile-on-many-way-systems.patch -oprofile-ia64-performance-counter-support.patch -split-timer-resources.patch -reduce-casting-in-sysenterc.patch -cast-page_offset-math-to-void-in-early-printk.patch -call-virt_to_page-with-void-not-ul.patch -vmalloc_fault-cleanup.patch -dont-align-virt_to_page-args.patch -include-asm-pageh-for-virt_to_page.patch -task_vsize-locking-cleanup.patch -task_vsize-locking-cleanup-warning-fix.patch -o1-proc_pid_statm.patch
-o1-proc_pid_statm-fix.patch -task-statm-no-procfs-fix.patch -task-statm-reserved-fix.patch -task-statm-dontcopy-fix.patch -r8169-add-ethtool_opsget_regs_len-get_regs.patch -r8169-per-device-receive-buffer-size.patch -r8169-code-cleanup.patch
-r8169-enable-mwi.patch
-r8169-bump-version-number.patch -r8169-sync-the-names-of-a-few-bits-with-the-8139cp-driver.patch -r8169-comment-a-gcc-295x-bug.patch -r8169-tx-checksum-offload.patch -r8169-advertise-dma-to-high-memory.patch -r8169-rx-checksum-support.patch
-r8169-vlan-support.patch
-sane-mlock_limit.patch -lanana-maintainer-devicestxt-patch-1-2.patch -lanana-maintainer-devicestxt-2.patch -netmos-9805-parport-interface.patch -s390-lcs-network-driver.patch -s390-common-i-o-layer.patch -s390-sclp-driver-changes.patch -s390-qeth-network-driver.patch -269-rc1-ifdef-fixes-for-drivers-isdn-hifax.patch -269-rc1-ifdef-cleanup-for-sh64.patch -269-rc1-ifdef-cleanup-for-cris-port.patch -269-rc1-ifdef-cleanup-for-ppc.patch -269-rc1-ifdef-cleanups-in-drivers-net.patch -make-oom-killer-points-unsigned-long.patch -dvb-pci_enable_device-fix.patch -copying-unaligned-data-across-user-kernel-boundary.patch -re-fix-pagecache-reading-off-by-one.patch -re-fix-pagecache-reading-off-by-one-cleanup.patch -waitqueue_debug-crapectomy.patch -ftape-support-for-x86_64.patch -keep-sparc32-config-consistent.patch -fix-typo-in-bw2c.patch -interrupt-is-enabled-before-it-should-be-when-kernel-is-booted.patch -hvcs-hotplug-fixes.patch -problem-with-sis900-unknown-phy.patch -revert-ioc_eth3-pci_enable_device-changes.patch -fix-hp100c-for-pci_enable_device-changes.patch -x86_64-vs-select-fix.patch
-must_check-copy_to_user.patch -copy_to_user-checking.patch -sym_requeue_awaiting_cmds-uninit-var-fix.patch -de4x5-idiocy-fix.patch

Merged

+remove-function-prototype-inside-function.patch

Warning fix

+make-assign_irq_vector-non-__init.patch

Section fix

+platform-update-for-es7000.patch

es7000 update

+fix-oops-with-nmi_watchdog=2.patch

Fix an oops

+request_region-for-winbond-and-smsc-parport-drivers-fix.patch

parport driver fix

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

swsusp oops fix

+pegasus-fixes.patch

bk-netdev fixes

+fix-the-unnecessary-entropy-call-in-the-irq-handler.patch

low-level IRQ handler fix

+update-ppc-maintainers-credits.patch +ppc64-1-3-rework-ppc64-cpu-map-setup.patch +ppc64-2-3-set-platform-cpuids-later-in-boot.patch +ppc64-3-3-allocate-irqstacks-only-for-possible-cpus.patch +ppc64-add-a-pfn_to_kaddr-function.patch

PPC/PPC64 updates

+perfctr-prescott-fix.patch

perfctr fix

+nicksched-sched_fifo-fix.patch
+sched-smtnice-fix.patch

nicksched fixes

-jbd-recovery-latency-fix.patch -journal_clean_checkpoint_list-latency-fix-fix.patch -kjournald-smp-latency-fix.patch -unmap_vmas-smp-latency-fix.patch -__cleanup_transaction-latency-fix.patch -prune_dcache-latency-fix.patch -slab-latency-fix.patch -get_user_pages-latency-fix.patch

These worked OK, but were scrappy, and aren't going anywhere.

-fix-ide-probe-double-detection.patch

Dropped

+hotplug-cpu-move-cpu_online_map-clear-to-__cpu_disable.patch

hotplug CPU fix

+new-lost-sync-on-frames-error-in-konicawc.patch

USB driver fix

+tiny-shmem-tmpfs-replacement.patch

shmem/tmpfs impementation based on ramfs for tiny systems

-rss-ulimit-enforcement.patch

Dropped, pending some evidence that it does useful things.

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

Folded into implement-in-kernel-keys-keyring-management.patch

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

Use the new errno codes in the key management patches

-waitid-system-call-update.patch
-waitid-ia64-build-fix.patch
-waitid-system-call-cleanups.patch

Folded into waitid-system-call.patch

+waitid-clear-fields.patch

Clear some userspace fields in the waitid syscall

+cleanup-ptrace-stops-and-remove-notify_parent.patch +cleanup-ptrace-stops-and-remove-notify_parent-extra.patch

ptrace cleanups

-add-to-snd-intel8x0-ac97-quirk-list.patch

Dropped - was already fixed

+kexec-ppc-kexec-kconfig-misplacement.patch

Fix up kexec ppc Kconfig

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

New floppy-via-acpi patch

+cdrom-range-fixes.patch

cdrom.c range checking fixes

+vsxxxaac-fixups.patch

Fix this driver

+tioccons-security.patch

make TIOCCONS root-only

+dont-oops-on-stripped-modules.patch

Fix oops when loading stripped modules

+i386-bootmem-restrictions.patch

Comment fixes

+use-page_to_nid.patch

Cleanup

+fix-process-start-times.patch

Maybe fix the reporting of process startup times

+tdfx-linkage-fix.patch

fbdev driver fix

+propagate-pci_enable_device-errors.patch

pci_enable_device handling fix

+netpoll-fix-unaligned-accesses.patch
+netpoll-revert-queue-stopped-change.patch
+netpoll-kill-config_netpoll_rx.patch
+netpoll-increase-napi-budget.patch
+netpoll-fix-up-trapped-logic.patch

netpoll fixes

+make-i386-signal-delivery-work-with-mregparm.patch

signal delivery fix

+fix-comment-in-include-linux-nodemaskh.patch

Comment fix

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

Build fix

+hpt366c-wrong-timings-used-since-268.patch

IDE driver fix

+disambiguate-espc-clones.patch

scsi device naming uniqueness

+fix-a-null-pointer-bug-in-do_generic_file_read.patch

pagecache read API fix

+synclinkmp-transmit-eom-fix.patch

synclink driver fix

+interrupt-driven-hvc_console-as-vio-device.patch

HVCS driver update

+remove-ext2_panic-prototype.patch

Dead code removal

+export-more-symbols-on-sparc32.patch

sparc32 build fix

+fix-hardcoded-value-in-vsyscalllds.patch

cleanup

+move-waitqueue-functions-to-kernel-waitc.patch +standardize-bit-waiting-data-type.patch +consolidate-bit-waiting-code-patterns.patch +consolidate-bit-waiting-code-patterns-cleanup.patch +eliminate-bh-waitqueue-hashtable.patch +eliminate-inode-waitqueue-hashtable.patch

Consolidate hashed waiting in VFS

+3c59x-pm-fix.patch

Unconditionally enable 3c59x power management. This broke things last time I tried it.

+serial-mpsc-driver.patch

New serial driver

+fix-up-centaur-cpu-feature-enabling.patch

Fix enabling of VIA CPU features.

+zr36067-driver-correct-i2c-algo-bit-dependency-in-kconfig.patch +zr36067-driver-use-msleep-instead-of-schedule_timeout.patch +zr36067-driver-correct-subfrequency-carrier.patch

Fix this driver

+hfs-hfsplus-is-missing-sendfile.patch

Make HFS support the loop driver

+mark-pcxx-as-broken.patch

Dead driver

+fix-devfs-name-for-microcode-driver.patch

devfs naming fix

+urandom-initialisation-fix.patch

urandom driver startup fix

+topology-macro-safeness.patch

Make some macros saner

+befs-load-default-nls-if-none-is-specified-in-mount-options.patch

BeFS fix

+fbdev-fix-kernel-panic-from-fbio_cursor-ioctl.patch +fbdev-fix-copy_to-from_user-in-fbmemcfb_read-write.patch

fbdev fixes

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

Serial driver update

+completely-out-of-line-spinlocks--generic.patch
+completely-out-of-line-spinlocks--i386.patch
+completely-out-of-line-spinlocks--x86_64.patch

Make spinlocks out-of-line on two architectures. Needs an update.

+add-support-for-possio-gcc-aka-pcmcia-siemens-mc45.patch

Siemens MC45 PCMCIA GPRS card support

+v4l-bttv-add-sanity-check-bug-3309.patch

bttv BUGfix

+allow-cluster-wide-flock.patch

flock support for clustered machines

+kernel-forkc-add-missing-unlikely.patch

microoptimisation

+stv0299-device-naming-fix.patch

skystart2 naming fix

+s390-core-changes.patch
+s390-kernel-stack-options.patch
+s390-zfcp-host-adapater.patch

s390 update

+isdn-build-fix.patch

x86_64 build fix

+read_ldt-neglects-to-check-clear_user-return-value.patch

Check a copy_*_user return value

+make-single-step-into-signal-delivery-stop-in-handler.patch

x86_64 ptracing fix

number of patches in -mm: 288
number of changesets in external trees: 397
number of patches in -mm only: 274
total patches: 671

linus.patch

remove-function-prototype-inside-function.patch
prio-tree: remove function prototype inside function

make-assign_irq_vector-non-__init.patch
Make assign_irq_vector() non-__init

platform-update-for-es7000.patch
platform update for ES7000

fix-oops-with-nmi_watchdog=2.patch
Fix oops with nmi-watchdog=2

request_region-for-winbond-and-smsc-parport-drivers.patch
request_region for winbond and smsc parport drivers

request_region-for-winbond-and-smsc-parport-drivers-fix.patch
request_region-for-winbond-and-smsc-parport-drivers fix

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

bk-agpgart.patch

bk-arm.patch

bk-drm.patch

bk-ia64.patch

bk-ieee1394.patch

bk-input.patch

bk-kbuild.patch

bk-mmc.patch

bk-netdev.patch

bk-pci.patch

bk-pnp.patch

bk-power.patch

bk-serial.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

pegasus-fixes.patch
pegasus.c fixes

sound-control-build-fix.patch
sound/core/control.c build fix

i386_exception_notifiers.patch
i386 exceptions notifier for kprobes

kprobes-base.patch
kprobes base patch

kprobes-unset-fix.patch
kprobes: fix things when CONFIG_KPROBES is unset

kprobes-func-args.patch
Jumper Probes to provide function arguments

kprobes-build-fix.patch
kprobes build fix

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

fix-the-unnecessary-entropy-call-in-the-irq-handler.patch
Fix the unnecessary entropy call in the irq handler

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

update-ppc-maintainers-credits.patch
Update PPC MAINTAINERS & CREDITS

ppc64-1-3-rework-ppc64-cpu-map-setup.patch
ppc64: rework PPC64 cpu map setup

ppc64-2-3-set-platform-cpuids-later-in-boot.patch
ppc64: set platform cpuids later in boot

ppc64-3-3-allocate-irqstacks-only-for-possible-cpus.patch
ppc64: allocate irqstacks only for possible cpus

ppc64-add-a-pfn_to_kaddr-function.patch
ppc64: add a pfn_to_kaddr() function

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

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

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

journal_add_journal_head-debug.patch
journal_add_journal_head-debug

list_del-debug.patch
list_del debug check

lockmeter.patch
lockmeter
ia64 CONFIG_LOCKMETER fix

lockmeter-build-fix.patch
lockmeter-build-fix

lockmeter-for-x86_64.patch
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

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

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

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

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

dev-zero-vs-hugetlb-mappings.patch
/dev/zero vs hugetlb mappings.

hugetlbfs-private-mappings.patch
hugetlbfs private mappings

truncate_inode_pages-latency-fix.patch
truncate_inode_pages-latency-fix

journal_clean_checkpoint_list-latency-fix.patch
journal_clean_checkpoint_list latency fix

filemap_sync-latency-fix.patch
filemap_sync-latency-fix

pty_write-latency-fix.patch
pty_write-latency-fix

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

add-ixdp2x01-board-support-to-cs89x0-driver.patch
Add IXDP2x01 board support to CS89x0 driver

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

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

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

vlan-support-for-3c59x-3c90x.patch
VLAN support for 3c59x/3c90x

scsi-qla2xxx-fix-inline-compile-errors.patch
qla2xxx gcc-3.5 fixes

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

new-lost-sync-on-frames-error-in-konicawc.patch
"Lost sync on frames" error in konicawc module

iteraid.patch
ITE RAID driver
iteraid cleanup
iteraid warning fix
iteraid: pci_enable_device() for IRQ routing

igxb-speedup.patch
igxb speedup

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

tiny-shmem-tmpfs-replacement.patch
tiny shmem/tmpfs replacement

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

add-pci_fixup_enable-pass.patch
pci: add pci_fixup_enable pass

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

x86_64-numa-emulation.patch
x86_64: emulate NUMA on non-NUMA hardware

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

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-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

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

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

using-get_cycles-for-add_timer_randomness.patch
Using get_cycles for add_timer_randomness

waitid-system-call.patch
waitid system call
waitid system call update
waitid-ia64-build-fix
waitid-system-call cleanups

waitid-clear-fields.patch
waitidL clear fields on WNOHANG early returns

fix-rusage-semantics.patch
fix rusage semantics

cleanup-ptrace-stops-and-remove-notify_parent.patch
cleanup ptrace stops and remove notify_parent

cleanup-ptrace-stops-and-remove-notify_parent-extra.patch
cleanup-ptrace-stops-and-remove-notify_parent cleanup

serial-8250-optionally-skip-autodetection.patch
Serial 8250 optionally skip autodetection

serial-8250-omap-support.patch
Serial 8250 OMAP support

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-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-simplify-memory-generation.patch
Cpusets: simplify memory generation

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

reiser4-doc.patch
reiser4: documentation

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

reiser4-only.patch
reiser4: main fs

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

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

fix-pid-hash-sizing.patch
fix PID hash sizing

use-hlist-for-pid-hash.patch
use hlist for pid hash

use-hlist-for-pid-hash-cache-friendliness.patch
use hlist for pid hash: cache friendliness

amiga-partition-reading-fix.patch
Amiga partition reading fix

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

prevent-memory-leak-in-devpts.patch
Prevent memory leak in devpts

cdrom-range-fixes.patch
cdrom signedness range fixes

vsxxxaac-fixups.patch
vsxxxaa.c fixups

tioccons-security.patch
TIOCCONS security

dont-oops-on-stripped-modules.patch
Don't OOPS on stripped modules

i386-bootmem-restrictions.patch
i386 bootmem restrictions

use-page_to_nid.patch
use page_to_nid

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

tdfx-linkage-fix.patch
tdfx linkage fix

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

netpoll-fix-unaligned-accesses.patch
netpoll: fix unaligned accesses

netpoll-revert-queue-stopped-change.patch
netpoll: revert queue stopped change

netpoll-kill-config_netpoll_rx.patch
netpoll: kill CONFIG_NETPOLL_RX

netpoll-increase-napi-budget.patch
netpoll: increase NAPI budget

netpoll-fix-up-trapped-logic.patch
netpoll: fix up trapped logic

make-i386-signal-delivery-work-with-mregparm.patch
Make i386 signal delivery work with -mregparm

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

disambiguate-espc-clones.patch
Disambiguate esp.c clones

fix-a-null-pointer-bug-in-do_generic_file_read.patch
Fix a NULL pointer bug in do_generic_file_read()

synclinkmp-transmit-eom-fix.patch
synclinkmp transmit eom fix

interrupt-driven-hvc_console-as-vio-device.patch
interrupt driven hvc_console as vio device

remove-ext2_panic-prototype.patch
remove ext2_panic() prototype

export-more-symbols-on-sparc32.patch
export more symbols on sparc32

fix-hardcoded-value-in-vsyscalllds.patch
Fix hardcoded value in vsyscall.lds

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

consolidate-bit-waiting-code-patterns.patch
consolidate bit waiting code patterns

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

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

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

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

serial-mpsc-driver.patch
Serial MPSC driver

fix-up-centaur-cpu-feature-enabling.patch
Fix up Centaur CPU feature enabling.

zr36067-driver-correct-i2c-algo-bit-dependency-in-kconfig.patch
zr36067 driver - correct i2c-algo-bit dependency in Kconfig

zr36067-driver-use-msleep-instead-of-schedule_timeout.patch
zr36067 driver - use msleep() instead of schedule_timeout()

zr36067-driver-correct-subfrequency-carrier.patch
zr36067 driver - correct subfrequency carrier

hfs-hfsplus-is-missing-sendfile.patch
hfs/hfsplus is missing .sendfile

mark-pcxx-as-broken.patch
mark pcxx as broken

fix-devfs-name-for-microcode-driver.patch
fix devfs name for microcode driver

urandom-initialisation-fix.patch
urandom initialisation fix

topology-macro-safeness.patch
make topology.h macros safer

befs-load-default-nls-if-none-is-specified-in-mount-options.patch
BeFS: load default nls if none is specified in mount options

fbdev-fix-kernel-panic-from-fbio_cursor-ioctl.patch
fbdev: fix kernel panic from FBIO_CURSOR ioctl

fbdev-fix-copy_to-from_user-in-fbmemcfb_read-write.patch
fbdev: fix copy_to/from_user in fbmem.c:fb_read/write

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

completely-out-of-line-spinlocks--generic.patch
Completely out of line spinlocks / generic

completely-out-of-line-spinlocks--i386.patch
Completely out of line spinlocks / i386

completely-out-of-line-spinlocks--x86_64.patch
Completely out of line spinlocks / x86_64

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

v4l-bttv-add-sanity-check-bug-3309.patch
v4l/bttv: add sanity check (bug #3309)

allow-cluster-wide-flock.patch
Allow cluster-wide flock

kernel-forkc-add-missing-unlikely.patch
kernel/fork.c add missing unlikely().

stv0299-device-naming-fix.patch
stv0299 device naming fix

s390-core-changes.patch
s390: core changes

s390-kernel-stack-options.patch
s390: kernel stack options.

s390-zfcp-host-adapater.patch
s390: zfcp host adapater

isdn-build-fix.patch
isdn debug build fix

read_ldt-neglects-to-check-clear_user-return-value.patch
read_ldt() neglects to check clear_user() return value

make-single-step-into-signal-delivery-stop-in-handler.patch
make single-step into signal delivery stop in handler

#1 lore raw

Re: 2.6.9-rc1-mm2 Inconsistent kallsyms

This compiled, but failed anyway (after make mrproper):

 LD      vmlinux
 SYSMAP  System.map
 SYSMAP  .tmp_System.map

Inconsistent kallsyms data, try setting CONFIG_KALLSYMS_EXTRA_PASS
make: *** [vmlinux] Error 1

Helge Hafting

#2 lore raw

Re: 2.6.9-rc1-mm2 Inconsistent kallsyms

Quoted 7 lines · Helge Hafting

This compiled, but failed anyway (after make mrproper):

   LD      vmlinux
   SYSMAP  System.map
   SYSMAP  .tmp_System.map

Inconsistent kallsyms data, try setting CONFIG_KALLSYMS_EXTRA_PASS

It can happen I guess, depending on which way the wind was blowing when your binutils was released.

Do you try doing what it said?

#3 lore raw

Re: 2.6.9-rc1-mm2 Inconsistent kallsyms

Quoted 12 lines · Andrew Morton
Quoted 8 lines · Helge Hafting

This compiled, but failed anyway (after make mrproper):

  LD      vmlinux
  SYSMAP  System.map
  SYSMAP  .tmp_System.map

Inconsistent kallsyms data, try setting CONFIG_KALLSYMS_EXTRA_PASS

Quoted 6 lines

It can happen I guess, depending on which way the wind was blowing when your binutils was released.

Do you try doing what it said?

I tried it, and it worked. This is posted using 2.6.9-rc1-mm2

Helge Hafting

#4 lore raw

Re: 2.6.9-rc1-mm2 Inconsistent kallsyms

In reply to Helge Hafting
Quoted 7 lines · Helge Hafting

This compiled, but failed anyway (after make mrproper):

 LD      vmlinux
 SYSMAP  System.map
 SYSMAP  .tmp_System.map

Inconsistent kallsyms data, try setting CONFIG_KALLSYMS_EXTRA_PASS
make: *** [vmlinux] Error 1

This is probably my fault.

There was a bug in my version of scripts/kallsyms.c that only occured when called with --all-symbols.

This patch corrects the bug and solves the "cat /proc/kallsyms" performance issue.

There is still something going on with sparc64 that wli pointed out as being an endianess problem. However the code _seems_ "endian-safe" as it only uses standard compiler types and doesn't do anything weird that assumes any byte ordering.

Since I don't have sparc64 hardware, it is hard for me to debug this. I really need someone with sparc64 to work closely with me on this to try to figure out what's wrong.

I tried to include all the sugestions from Matt Mackall and others.

The patch is against 2.6.9-rc1-mm2.

Signature · 658 lines
Paulo Marques - www.grupopie.com

To err is human, but to really foul things up requires a computer.
Farmers' Almanac, 1978


 kernel/kallsyms.c  |   74 ++++++++++++++-------
 scripts/kallsyms.c |  185 ++++++++++++++++++++++++++++++++++++++++++++---------
 2 files changed, 205 insertions(+), 54 deletions(-)


diff -uprN -X ../dontdiff linux-2.6.9-rc1-mm2/kernel/kallsyms.c linux-2.6.9-rc1-mm2-kall/kernel/kallsyms.c
--- linux-2.6.9-rc1-mm2/kernel/kallsyms.c	2004-08-31 11:53:34.000000000 +0100
+++ linux-2.6.9-rc1-mm2-kall/kernel/kallsyms.c	2004-08-29 03:18:56.000000000 +0100
@@ -4,11 +4,10 @@
  * Rewritten and vastly simplified by Rusty Russell for in-kernel
  * module loader:
  *   Copyright 2002 Rusty Russell <[email protected]> IBM Corporation
- * Stem compression by Andi Kleen.
  *
  * ChangeLog:
  *
- * (25/Aug/2004) Paulo Marques
+ * (25/Aug/2004) Paulo Marques <[email protected]>
  *      Changed the compression method from stem compression to "table lookup"
  *      compression
  */
@@ -48,40 +47,61 @@ static inline int is_kernel_text(unsigne
 	return 0;
 }

+/* expand a compressed symbol data into the resulting uncompressed string,
+   given the offset to where the symbol is in the compressed stream */
 static unsigned int kallsyms_expand_symbol(unsigned int off, char *result)
 {
-	int len, tlen;
+	int len;
 	u8 *tptr, *data;

+	/* get the compressed symbol length from the first symbol byte,
+	 * masking out the "is_exported" bit */
 	data = &kallsyms_names[off];
+	len = (*data) & 0x7F;
+	data++;

-	len=*data++;
+	/* update the offset to return the offset for the next symbol on
+	   the compressed stream */
 	off += len + 1;
+
+	/* for every byte on the compressed symbol data, copy the table
+	   entry for that byte */
 	while(len) {
-		tptr=&kallsyms_token_table[kallsyms_token_index[*data]];
+		tptr = &kallsyms_token_table[ kallsyms_token_index[*data] ];
 		data++;
 		len--;

-		tlen=*tptr++;
-		while(tlen) {
-			*result++=*tptr++;
-			tlen--;
+		while (*tptr) {
+			*result = *tptr;
+			result++;
+			tptr++;
 		}
 	}

-	*result = 0;
+	*result = '\0';

+	/* return to offset to the next symbol */
 	return off;
 }

+/* find the offset on the compressed stream given and index in the
+   kallsyms array */
 static unsigned int get_symbol_offset(unsigned long pos)
 {
 	u8 *name;
 	int i;

+        /* use the closest marker we have. We have markers every
+           256 positions, so that should be close enough */
 	name = &kallsyms_names[ kallsyms_markers[pos>>8] ];
+
+        /* sequentially scan all the symbols up to the point we're
+           searching for. Every symbol is stored in a
+	   [bit 7: is_exported | bits 6..0: <len>][<len> bytes of data]
+	   format, so we just need to add the len to the current
+	   pointer for every symbol we wish to skip */
 	for(i = 0; i < (pos&0xFF); i++)
-		name = name + (*name) + 1;
+		name = name + ((*name) & 0x7F) + 1;

 	return name - kallsyms_names;
 }
@@ -122,12 +142,16 @@ const char *kallsyms_lookup(unsigned lon
 		/* do a binary search on the sorted kallsyms_addresses array */
 		low = 0;
 		high = kallsyms_num_syms;
+
 		while (high-low > 1) {
 			mid = (low + high) / 2;
 			if (kallsyms_addresses[mid] <= addr) low = mid;
 			else high = mid;
 		}
-		while (low && kallsyms_addresses[low-1] == kallsyms_addresses[low])
+
+		/* search for the first aliased symbol. Aliased symbols are
+		   symbols with the same address */
+		while (low && kallsyms_addresses[low - 1] == kallsyms_addresses[low])
 			--low;

 		/* Grab name */
@@ -141,8 +165,8 @@ const char *kallsyms_lookup(unsigned lon
 			}
 		}

+		/* if we found no next symbol, we use the end of the section */
 		if (!symbol_end) {
-			/* At worst, symbol ends at end of section. */
 			if (is_kernel_inittext(addr))
 				symbol_end = (unsigned long)_einittext;
 			else
@@ -182,7 +206,7 @@ void __print_symbol(const char *fmt, uns
 	printk(fmt, buffer);
 }

-/* To avoid O(n^2) iteration, we carry prefix along. */
+/* To avoid using get_symbol_offset for every symbol, we carry prefix along. */
 struct kallsym_iter
 {
 	loff_t pos;
@@ -217,16 +241,20 @@ static unsigned long get_ksymbol_core(st
 {
 	unsigned off = iter->nameoff;

-	off = kallsyms_expand_symbol(off, iter->name);
-
 	iter->owner = NULL;
 	iter->value = kallsyms_addresses[iter->pos];
+
 	if (is_kernel_text(iter->value) || is_kernel_inittext(iter->value))
 		iter->type = 't';
 	else
 		iter->type = 'd';

-	upcase_if_global(iter);
+	/* check the "is_exported" bit on the compressed stream */
+	if (kallsyms_names[off] & 0x80)
+		iter->type += 'A' - 'a';
+
+	off = kallsyms_expand_symbol(off, iter->name);
+
 	return off - iter->nameoff;
 }

@@ -245,9 +273,9 @@ static int update_iter(struct kallsym_it
 		iter->pos = pos;
 		return get_ksymbol_mod(iter);
 	}
-	
-	/* If we're not on the desired position, reset to new position. */
-	if (pos != iter->pos)
+
+	/* If we're past the desired position, reset to new position. */
+	if (pos < iter->pos)
 		reset_iter(iter, pos);

 	iter->nameoff += get_ksymbol_core(iter);
@@ -280,7 +308,7 @@ static int s_show(struct seq_file *m, vo
 {
 	struct kallsym_iter *iter = m->private;

-	/* Some debugging symbols have no name.  Ignore them. */
+	/* Some debugging symbols have no name.  Ignore them. */
 	if (!iter->name[0])
 		return 0;

@@ -306,7 +334,8 @@ struct seq_operations kallsyms_op = {
 static int kallsyms_open(struct inode *inode, struct file *file)
 {
 	/* We keep iterator in m->private, since normal case is to
-	 * s_start from where we left off, so we avoid O(N^2). */
+	 * s_start from where we left off, so we avoid doing
+	 * using get_symbol_offset for every symbol */
 	struct kallsym_iter *iter;
 	int ret;

@@ -349,4 +378,3 @@ int __init kallsyms_init(void)
 __initcall(kallsyms_init);

 EXPORT_SYMBOL(__print_symbol);
-EXPORT_SYMBOL(kallsyms_lookup_name);
diff -uprN -X ../dontdiff linux-2.6.9-rc1-mm2/scripts/kallsyms.c linux-2.6.9-rc1-mm2-kall/scripts/kallsyms.c
--- linux-2.6.9-rc1-mm2/scripts/kallsyms.c	2004-08-31 11:53:34.000000000 +0100
+++ linux-2.6.9-rc1-mm2-kall/scripts/kallsyms.c	2004-08-31 02:16:26.000000000 +0100
@@ -9,10 +9,19 @@
  *
  * ChangeLog:
  *
- * (25/Aug/2004) Paulo Marques
+ * (25/Aug/2004) Paulo Marques <[email protected]>
  *      Changed the compression method from stem compression to "table lookup"
  *      compression
  *
+ *      Table compression uses all the unused char codes on the symbols and
+ *  maps these to the most used substrings (tokens). For instance, it might
+ *  map char code 0xF7 to represent "write_" and then in every symbol where
+ *  "write_" appears it can be replaced by 0xF7, saving 5 bytes.
+ *      The used symbols themselves are also placed in the table so that the
+ *  decompresion can work without "special cases".
+ *      Applied to kernel symbols, this usually produces a compression ratio
+ *  of about 50%.
+ *
  */

 #include <stdio.h>
@@ -20,28 +29,38 @@
 #include <string.h>
 #include <ctype.h>

-/* compression tunning settings */
+/* maximum token length used. It doesn't pay to increase it a lot, because
+ * very long substrings probably don't repeat themselves too often. */
 #define MAX_TOK_SIZE		11
 #define KSYM_NAME_LEN		127

 /* we use only a subset of the complete symbol table to gather the token count,
-   to speed up compression, at the expense of a little compression ratio
-*/
+ * to speed up compression, at the expense of a little compression ratio */
 #define WORKING_SET		1024
+
+/* first find the best token only on the list of tokens that would profit more
+ * than GOOD_BAD_THRESHOLD. Only if this list is empty go to the "bad" list.
+ * Increasing this value will put less tokens on the "good" list, so the search
+ * is faster. However, if the good list runs out of tokens, we must painfully
+ * search the bad list. */
 #define GOOD_BAD_THRESHOLD	10

+/* token hash parameters */
 #define HASH_BITS		18
 #define HASH_TABLE_SIZE		(1 << HASH_BITS)
 #define HASH_MASK		(HASH_TABLE_SIZE - 1)
 #define HASH_BASE_OFFSET	2166136261U
 #define HASH_FOLD(a)		((a)&(HASH_MASK))

+/* flags to mark symbols */
+#define SYM_FLAG_VALID		1
+#define SYM_FLAG_SAMPLED	2
+#define SYM_FLAG_EXPORTED	4

 struct sym_entry {
 	unsigned long long addr;
 	char type;
-	char sample;
-	char valid;
+	unsigned char flags;
 	unsigned char len;
 	unsigned char *sym;
 };
@@ -49,23 +68,28 @@ struct sym_entry {

 static struct sym_entry *table;
 static int size, cnt;
-static unsigned long long _stext, _etext, _sinittext, _einittext;
+static unsigned long long _stext, _etext, _sinittext, _einittext, _start_ksymtab, _stop_ksymtab;
 static int all_symbols = 0;

+/* aray of pointers into the symbol table sorted by name */
+static struct sym_entry **sorted_table;

 struct token {
 	unsigned char data[MAX_TOK_SIZE];
 	unsigned char len;
+	/* profit: the number of bytes that could be saved by inserting this
+	 * token into the table */
 	int profit;
-	struct token *next;
-	struct token *right;
-	struct token *left;
-	struct token *smaller;
+	struct token *next;	/* next token on the hash list */
+	struct token *right;	/* next token on the good/bad list */
+	struct token *left;    /* previous token on the good/bad list */
+	struct token *smaller; /* token that is less one letter than this one */
 	};

 struct token bad_head, good_head;
 struct token *hash_table[HASH_TABLE_SIZE];

+/* the table that holds the result of the compression */
 unsigned char best_table[256][MAX_TOK_SIZE+1];
 unsigned char best_table_len[256];

@@ -101,6 +125,10 @@ read_symbol(FILE *in, struct sym_entry *
 		_sinittext = s->addr;
 	else if (strcmp(str, "_einittext") == 0)
 		_einittext = s->addr;
+	else if (strcmp(str, "__start___ksymtab") == 0)
+		_start_ksymtab = s->addr;
+	else if (strcmp(str, "__stop___ksymtab") == 0)
+		_stop_ksymtab = s->addr;
 	else if (toupper(s->type) == 'A' || toupper(s->type) == 'U')
 		return -1;

@@ -126,7 +154,10 @@ symbol_valid(struct sym_entry *s)
 	if (strstr(s->sym, "_compiled.") ||
 	    strcmp(s->sym, "kallsyms_addresses") == 0 ||
 	    strcmp(s->sym, "kallsyms_num_syms") == 0 ||
-	    strcmp(s->sym, "kallsyms_names") == 0)
+	    strcmp(s->sym, "kallsyms_names") == 0 ||
+	    strcmp(s->sym, "kallsyms_markers") == 0 ||
+	    strcmp(s->sym, "kallsyms_token_table") == 0 ||
+	    strcmp(s->sym, "kallsyms_token_index") == 0)
 		return 0;

 	/* Exclude linker generated symbols which vary between passes */
@@ -161,16 +192,21 @@ static void output_label(char *label)
 	printf("%s:\n",label);
 }

+/* uncompress a compressed symbol. When this function is called, the best table
+ * might still be compressed itself, so the function needs to be recursive */
 static int expand_symbol(unsigned char *data, int len, char *result)
 {
 	int c, rlen, total=0;

 	while (len) {
 		c = *data;
+		/* if the table holds a single char that is the same as the one
+		 * we are looking for, then end the search */
 		if (best_table[c][0]==c && best_table_len[c]==1) {
 			*result++ = c;
 			total++;
 		} else {
+			/* if not, recurse and expand */
 			rlen = expand_symbol(best_table[c], best_table_len[c], result);
 			total += rlen;
 			result += rlen;
@@ -205,7 +241,7 @@ write_src(void)
 	output_label("kallsyms_addresses");
 	valid = 0;
 	for (i = 0; i < cnt; i++) {
-		if (table[i].valid) {
+		if (table[i].flags & SYM_FLAG_VALID) {
 			printf("\tPTR\t%#llx\n", table[i].addr);
 			valid++;
 		}
@@ -216,6 +252,8 @@ write_src(void)
 	printf("\tPTR\t%d\n", valid);
 	printf("\n");

+	/* table of offset markers, that give the offset in the compressed stream
+	 * every 256 symbols */
 	markers = (unsigned int *) malloc(sizeof(unsigned int)*((valid + 255) / 256));

 	output_label("kallsyms_names");
@@ -223,13 +261,15 @@ write_src(void)
 	off = 0;
 	for (i = 0; i < cnt; i++) {

-		if (!table[i].valid)
+		if (!table[i].flags & SYM_FLAG_VALID)
 			continue;

 		if ((valid & 0xFF) == 0)
 			markers[valid >> 8] = off;

-		printf("\t.byte 0x%02x", table[i].len);
+		k = table[i].len;
+		if (table[i].flags & SYM_FLAG_EXPORTED) k |= 0x80;
+		printf("\t.byte 0x%02x", k);
 		for (k = 0; k < table[i].len; k++)
 			printf(", 0x%02x", table[i].sym[k]);
 		printf("\n");
@@ -244,14 +284,15 @@ write_src(void)
 		printf("\tPTR\t%d\n", markers[i]);
 	printf("\n");

+	free(markers);
+
 	output_label("kallsyms_token_table");
 	off = 0;
 	for (i = 0; i < 256; i++) {
 		best_idx[i] = off;
 		expand_symbol(best_table[i],best_table_len[i],buf);
-		k = strlen(buf);
-		printf("\t.byte 0x%02x\n\t.ascii\t\"%s\"\n", k, buf);
-		off += k + 1;
+		printf("\t.asciz\t\"%s\"\n", buf);
+		off += strlen(buf) + 1;
 	}
 	printf("\n");

@@ -280,6 +321,7 @@ static unsigned int hash_token(unsigned
 	return HASH_FOLD(hash);
 }

+/* find a token given its data and hash value */
 static struct token *find_token_hash(unsigned char *data, int len, unsigned int hash)
 {
 	struct token *ptr;
@@ -309,6 +351,9 @@ static inline void remove_token_from_gro
 	ptr->right->left = ptr->left;
 }

+
+/* build the counts for all the tokens that start with "data", and have lenghts
+ * from 2 to "len" */
 static void learn_token(unsigned char *data, int len)
 {
 	struct token *ptr,*last_ptr;
@@ -319,6 +364,7 @@ static void learn_token(unsigned char *d
 	if (len > MAX_TOK_SIZE)
 		len = MAX_TOK_SIZE;

+	/* calculate and store the hash values for all the sub-tokens */
 	hash = rehash_token(hash, data[0]);
 	for (i = 2; i <= len; i++) {
 		hash = rehash_token(hash, data[i-1]);
@@ -334,10 +380,19 @@ static void learn_token(unsigned char *d
 		if (!ptr) ptr = find_token_hash(data, i, hash);

 		if (!ptr) {
+			/* create a new token entry */
 			ptr = (struct token *) malloc(sizeof(*ptr));
+
 			memcpy(ptr->data, data, i);
 			ptr->len = i;
+
+			/* when we create an entry, it's profit is 0 because
+			 * we also take into account the size of the token on
+			 * the compressed table. We then subtract GOOD_BAD_THRESHOLD
+			 * so that the test to see if this token belongs to
+			 * the good or bad list, is a comparison to zero */
 			ptr->profit = -GOOD_BAD_THRESHOLD;
+
 			ptr->next = hash_table[hash];
 			hash_table[hash] = ptr;

@@ -346,11 +401,13 @@ static void learn_token(unsigned char *d
 			ptr->smaller = NULL;
 		} else {
 			newprofit = ptr->profit + (ptr->len - 1);
+			/* check to see if this token needs to be moved to a
+			 * different list */
 			if((ptr->profit < 0) && (newprofit >= 0)) {
 				remove_token_from_group(ptr);
 				insert_token_in_group(&good_head,ptr);
 			}
-		ptr->profit = newprofit;
+			ptr->profit = newprofit;
 		}

 		if (last_ptr) last_ptr->smaller = ptr;
@@ -360,6 +417,10 @@ static void learn_token(unsigned char *d
 	}
 }

+/* decrease the counts for all the tokens that start with "data", and have lenghts
+ * from 2 to "len". This function is much simpler than learn_token because we have
+ * more guarantees (tho tokens exist, the ->smaller pointer is set, etc.)
+ * The two separate functions exist only because of compression performance */
 static void forget_token(unsigned char *data, int len)
 {
 	struct token *ptr;
@@ -384,6 +445,7 @@ static void forget_token(unsigned char *
 	}
 }

+/* count all the possible tokens in a symbol */
 static void learn_symbol(unsigned char *symbol, int len)
 {
 	int i;
@@ -392,6 +454,7 @@ static void learn_symbol(unsigned char *
 		learn_token(symbol + i, len - i);
 }

+/* decrease the count for all the possible tokens in a symbol */
 static void forget_symbol(unsigned char *symbol, int len)
 {
 	int i;
@@ -400,49 +463,98 @@ static void forget_symbol(unsigned char
 		forget_token(symbol + i, len - i);
 }

+static int symbol_sort(const void *a, const void *b)
+{
+	return strcmp( (*((struct sym_entry **) a))->sym,
+				(*((struct sym_entry **) b))->sym );
+}
+
+
+/* find out if a symbol is exported. Exported symbols have a corresponding
+ * __ksymtab_<symbol> entry and their addresses are between __start___ksymtab
+ * and __stop___ksymtab */
+static int is_exported(char *name)
+{
+	struct sym_entry key, *ksym, **result;
+	char buf[KSYM_NAME_LEN+32];
+
+	sprintf(buf, "__ksymtab_%s", name);
+	key.sym = buf;
+
+	ksym = &key;
+	result = bsearch(&ksym, sorted_table, cnt,
+				sizeof(struct sym_entry *), symbol_sort);
+
+	if(!result) return 0;
+
+	ksym = *result;
+
+	return ((ksym->addr >= _start_ksymtab) && (ksym->addr < _stop_ksymtab));
+}
+
+/* set all the symbol flags and do the initial token count */
 static void build_initial_tok_table(void)
 {
 	int i, use_it, valid;

+	/* build a sorted symbol pointer array so that searching a particular
+	 * symbol is faster */
+	sorted_table = (struct sym_entry **) malloc(sizeof(struct sym_entry *) * cnt);
+	for (i = 0; i < cnt; i++)
+		sorted_table[i] = &table[i];
+	qsort(sorted_table, cnt, sizeof(struct sym_entry *), symbol_sort);
+
 	valid = 0;
 	for (i = 0; i < cnt; i++) {
-		table[i].valid = symbol_valid(&table[i]);
-		if (table[i].valid) valid++;
+		table[i].flags = 0;
+		if ( symbol_valid(&table[i]) ) {
+			table[i].flags |= SYM_FLAG_VALID;
+			valid++;
+		}
 	}

 	use_it = 0;
 	for (i = 0; i < cnt; i++) {
-		table[i].sample = 0;
-		if (table[i].valid) {
+		if (table[i].flags & SYM_FLAG_VALID) {
+
 			use_it += WORKING_SET;
+
 			if (use_it >= valid) {
-				table[i].sample = 1;
+				table[i].flags |= SYM_FLAG_SAMPLED;
 				use_it -= valid;
 			}
+
+			if( is_exported(table[i].sym) )
+				table[i].flags |= SYM_FLAG_EXPORTED;
 		}
-		if (table[i].sample)
+		if (table[i].flags & SYM_FLAG_SAMPLED)
 			learn_symbol(table[i].sym, table[i].len);
 	}
 }

+/* replace a given token in all the valid symbols. Use the sampled symbols
+ * to update the counts */
 static void compress_symbols(unsigned char *str, int tlen, int idx)
 {
 	int i, len, learn, size;
 	unsigned char *p;

 	for (i = 0; i < cnt; i++) {
-		if (!table[i].valid) continue;
+
+		if (!(table[i].flags & SYM_FLAG_VALID)) continue;

 		len = table[i].len;
 		learn = 0;
 		p = table[i].sym;

 		do {
+			/* find the token on the symbol */
 			p = (unsigned char *) strstr((char *) p, (char *) str);
 			if (!p) break;

 			if (!learn) {
-				if (table[i].sample)
+				/* if this symbol was used to count, decrease it */
+				if (table[i].flags & SYM_FLAG_SAMPLED)
 					forget_symbol(table[i].sym, len);
 				learn = 1;
 			}
@@ -457,11 +569,14 @@ static void compress_symbols(unsigned ch

 		if(learn) {
 			table[i].len = len;
-			if(table[i].sample) learn_symbol(table[i].sym, len);
+			/* if this symbol was used to count, learn it again */
+			if(table[i].flags & SYM_FLAG_SAMPLED)
+				learn_symbol(table[i].sym, len);
 		}
 	}
 }

+/* search the token with the maximum profit */
 static struct token *find_best_token(void)
 {
 	struct token *ptr,*best,*head;
@@ -486,29 +601,37 @@ static struct token *find_best_token(voi
 	return best;
 }

+/* this is the core of the algorithm: calculate the "best" table */
 static void optimize_result(void)
 {
 	struct token *best;
 	int i;

 	/* using the '\0' symbol last allows compress_symbols to use standard
-	   fast string functions
-	*/
+	 * fast string functions */
 	for (i = 255; i >= 0; i--) {
+
+		/* if this table slot is empty (it is not used by an actual
+		 * original char code */
 		if (!best_table_len[i]) {
+
+			/* find the token with the breates profit value */
 			best = find_best_token();

+			/* place it in the "best" table */
 			best_table_len[i] = best->len;
 			memcpy(best_table[i], best->data, best_table_len[i]);
 			/* zero terminate the token so that we can use strstr
 			   in compress_symbols */
 			best_table[i][best_table_len[i]]='\0';

+			/* replace this token in all the valid symbols */
 			compress_symbols(best_table[i], best_table_len[i], i);
 		}
 	}
 }

+/* start by placing the symbols that are actually used on the table */
 static void insert_real_symbols_in_table(void)
 {
 	int i, j, c;
@@ -517,7 +640,7 @@ static void insert_real_symbols_in_table
 	memset(best_table_len, 0, sizeof(best_table_len));

 	for (i = 0; i < cnt; i++) {
-		if (table[i].valid) {
+		if (table[i].flags & SYM_FLAG_VALID) {
 			for (j = 0; j < table[i].len; j++) {
 				c = table[i].sym[j];
 				best_table[c][0]=c;
#5 lore raw

2.6.9-rc1-mm2: tdfxfb_lib causes compile error

In reply to Andrew Morton
Quoted 7 lines · Andrew Morton

...
Changes since 2.6.9-rc1-mm1:
...
+tdfx-linkage-fix.patch

fbdev driver fix
...

This might result in object files being included twice both directly and via tdfxfb_lib, resulting in compile errors like the following:

<-- snip -->

...
LD drivers/video/built-in.o
drivers/video/tdfxfb_lib.o(.text+0x0): In function `cfb_imageblit':
: multiple definition of `cfb_imageblit' drivers/video/cfbimgblt.o(.text+0x0): first defined here make[2]: *** [drivers/video/built-in.o] Error 1

<-- snip -->

Please replace tdfx-linkage-fix.patch with the following patch:

drivers/video/Makefile renamed from drivers/video/Makefile.old +3 -0
@@ -35,6 +35,9 @@
 obj-$(CONFIG_FB_GBE)              += gbefb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o
 obj-$(CONFIG_FB_SGIVW)            += sgivwfb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o
 obj-$(CONFIG_FB_3DFX)             += tdfxfb.o cfbimgblt.o
+ifneq ($(CONFIG_FB_3DFX_ACCEL),y)
+  obj-$(CONFIG_FB_3DFX)           += cfbfillrect.o cfbcopyarea.o
+endif
 obj-$(CONFIG_FB_MAC)              += macfb.o macmodes.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o 
 obj-$(CONFIG_FB_HP300)            += hpfb.o cfbfillrect.o cfbimgblt.o
 obj-$(CONFIG_FB_OF)               += offb.o cfbfillrect.o cfbimgblt.o cfbcopyarea.o
#6 lore raw

Re: 2.6.9-rc1-mm2 (compile stats)

In reply to Andrew Morton

Big improvements in warnings. The errors in the allyesconfig build all stem from the following error...

LD drivers/video/built-in.o
drivers/video/tdfxfb_lib.o(.text+0x0): In function `cfb_imageblit':
drivers/video/cfbimgblt.c:270: multiple definition of `cfb_imageblit' drivers/video/cfbimgblt.o(.text+0x0):drivers/video/cfbimgblt.c:270:
first
defined here
make[2]: [drivers/video/built-in.o] Error 1 (ignored)

Adrian Bunk has posted a patch for this.

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

Linux 2.6 (mm tree) Compile Statistics (gcc 3.2.2)

Kernel bzImage bzImage bzImage modules bzImage modules
(defconfig) (allno) (allyes) (allyes) (allmod) (allmod)
--------------- ---------- -------- -------- -------- -------- --------

2.6.9-rc1-mm2     0w/0e     0w/0e    53w/11e   3w/0e   1w/0e     47w/0e
2.6.9-rc1-mm1     0w/0e     0w/0e    80w/0e    4w/0e   1w/0e     74w/0e
2.6.8.1-mm4       0w/0e     0w/0e    78w/0e    4w/0e   1w/0e     73w/0e
2.6.8.1-mm3       0w/96e    0w/0e    78w/97e   4w/0e   1w/0e     74w/89e
2.6.8.1-mm2       0w/96e    0w/0e    78w/97e   4w/0e   1w/0e     74w/89e
2.6.8.1-mm1       0w/0e     0w/0e    78w/0e    4w/0e   1w/0e     74w/0e
2.6.8-rc4-mm1     0w/0e     0w/5e    81w/0e    4w/0e   1w/0e     75w/0e
2.6.8-rc3-mm2     1w/7e     0w/5e    82w/8e    4w/0e   2w/8e     75w/0e
2.6.8-rc3-mm1     0w/0e     1w/5e    81w/9e    4w/0e   1w/0e     75w/0e
2.6.8-rc2-mm2     0w/0e     4w/5e    87w/9e    4w/0e   1w/0e     80w/0e
2.6.8-rc2-mm1     0w/0e     0w/0e    83w/9e    3w/0e   1w/0e     81w/0e
2.6.8-rc1-mm1     0w/0e     0w/0e    88w/9e    5w/0e   1w/0e     87w/0e
2.6.7-mm7         0w/0e     0w/0e    89w/9e    5w/0e   1w/0e     84w/0e
2.6.7-mm6         0w/0e     0w/0e    85w/9e    5w/0e   1w/0e     80w/0e
2.6.7-mm5         0w/0e     0w/0e    92w/0e    5w/0e   1w/0e     87w/0e
2.6.7-mm4         0w/0e     0w/0e    94w/0e    5w/0e   1w/0e     89w/0e
2.6.7-mm3         0w/0e     0w/0e    90w/6e    5w/0e   1w/0e     86w/0e
2.6.7-mm2         0w/0e     0w/0e   109w/0e    7w/0e   1w/0e    106w/0e
2.6.7-mm1         0w/0e     5w/0e   108w/0e    5w/0e   1w/0e    104w/0e
2.6.7-rc3-mm2     0w/0e     5w/0e   105w/10e   5w/0e   2w/0e    100w/2e
2.6.7-rc3-mm1     0w/0e     5w/0e   104w/10e   5w/0e   2w/0e    100w/2e
2.6.7-rc2-mm2     0w/0e     5w/0e   109w/10e   5w/0e   2w/0e    105w/2e
2.6.7-rc2-mm1     0w/0e    12w/0e   158w/13e   5w/0e   3w/0e    153w/4e
2.6.7-rc1-mm1     0w/0e     6w/0e   108w/0e    5w/0e   2w/0e    104w/0e
2.6.6-mm5         0w/0e     0w/0e   109w/5e    5w/0e   2w/0e    110w/0e
2.6.6-mm4         0w/0e     0w/0e   112w/9e    5w/0e   2w/5e    106w/1e
2.6.6-mm3         3w/9e     0w/0e   120w/26e   5w/0e   2w/0e    114w/10e
2.6.6-mm2         4w/11e    0w/0e   120w/24e   6w/0e   2w/0e    118w/9e
2.6.6-mm1         1w/0e     0w/0e   118w/25e   6w/0e   2w/0e    114w/10e
2.6.6-rc3-mm2     0w/0e     0w/0e   117w/ 0e   8w/0e   2w/0e    116w/0e
2.6.6-rc3-mm1     0w/0e     0w/0e   120w/10e   8w/0e   2w/0e    152w/2e
2.6.6-rc2-mm2     0w/0e     1w/5e   118w/ 0e   8w/0e   3w/0e    118w/0e
2.6.6-rc2-mm1     0w/0e     0w/0e   115w/ 0e   7w/0e   3w/0e    116w/0e
2.6.6-rc1-mm1     0w/0e     0w/7e   122w/ 0e   7w/0e   4w/0e    122w/0e
2.6.5-mm6         0w/0e     0w/0e   123w/ 0e   7w/0e   4w/0e    124w/0e
2.6.5-mm5         0w/0e     0w/0e   119w/ 0e   7w/0e   4w/0e    120w/0e
2.6.5-mm4         0w/0e     0w/0e   120w/ 0e   7w/0e   4w/0e    121w/0e
2.6.5-mm3         0w/0e     1w/0e   121w/12e   7w/0e   3w/0e    123w/0e
2.6.5-mm2         0w/0e     0w/0e   128w/12e   7w/0e   3w/0e    134w/0e
2.6.5-mm1         0w/0e     5w/0e   122w/ 0e   7w/0e   3w/0e    124w/0e
2.6.5-rc3-mm4     0w/0e     0w/0e   124w/ 0e   8w/0e   4w/0e    126w/0e
2.6.5-rc3-mm3     0w/0e     5w/0e   129w/14e   8w/0e   4w/0e    129w/6e
2.6.5-rc3-mm2     0w/0e     5w/0e   130w/14e   8w/0e   4w/0e    129w/6e
2.6.5-rc3-mm1     0w/0e     5w/0e   129w/ 0e   8w/0e   4w/0e    129w/0e
2.6.5-rc2-mm5     0w/0e     5w/0e   130w/ 0e   8w/0e   4w/0e    129w/0e
2.6.5-rc2-mm4     0w/0e     5w/0e   134w/ 0e   8w/0e   3w/0e    133w/0e
2.6.5-rc2-mm3     0w/0e     5w/0e   134w/ 0e   8w/0e   3w/0e    133w/0e
2.6.5-rc2-mm2     0w/0e     5w/0e   137w/ 0e   8w/0e   3w/0e    134w/0e
2.6.5-rc2-mm1     0w/0e     5w/0e   136w/ 0e   8w/0e   3w/0e    134w/0e
2.6.5-rc1-mm2     0w/0e     5w/0e   135w/ 5e   8w/0e   3w/0e    133w/0e
2.6.5-rc1-mm1     0w/0e     5w/0e   135w/ 5e   8w/0e   3w/0e    133w/0e
2.6.4-mm2         1w/2e     5w/2e   144w/10e   8w/0e   3w/2e    144w/0e
2.6.4-mm1         1w/0e     5w/0e   146w/ 5e   8w/0e   3w/0e    144w/0e
2.6.4-rc2-mm1     1w/0e     5w/0e   146w/12e  11w/0e   3w/0e    147w/2e
2.6.4-rc1-mm2     1w/0e     5w/0e   144w/ 0e  11w/0e   3w/0e    145w/0e
2.6.4-rc1-mm1     1w/0e     5w/0e   147w/ 5e  11w/0e   3w/0e    147w/0e
2.6.3-mm4         1w/0e     5w/0e   146w/ 0e   7w/0e   3w/0e    142w/0e
2.6.3-mm3         1w/2e     5w/2e   146w/15e   7w/0e   3w/2e    144w/5e
2.6.3-mm2         1w/8e     5w/0e   140w/ 0e   7w/0e   3w/0e    138w/0e
2.6.3-mm1         1w/0e     5w/0e   143w/ 5e   7w/0e   3w/0e    141w/0e
2.6.3-rc3-mm1     1w/0e     0w/0e   144w/13e   7w/0e   3w/0e    142w/3e
2.6.3-rc2-mm1     1w/0e     0w/265e 144w/ 5e   7w/0e   3w/0e    145w/0e
2.6.3-rc1-mm1     1w/0e     0w/265e 141w/ 5e   7w/0e   3w/0e    143w/0e
2.6.2-mm1         2w/0e     0w/264e 147w/ 5e   7w/0e   3w/0e    173w/0e
2.6.2-rc3-mm1     2w/0e     0w/265e 146w/ 5e   7w/0e   3w/0e    172w/0e
2.6.2-rc2-mm2     0w/0e     0w/264e 145w/ 5e   7w/0e   3w/0e    171w/0e
2.6.2-rc2-mm1     0w/0e     0w/264e 146w/ 5e   7w/0e   3w/0e    172w/0e
2.6.2-rc1-mm3     0w/0e     0w/265e 144w/ 8e   7w/0e   3w/0e    169w/0e
2.6.2-rc1-mm2     0w/0e     0w/264e 144w/ 5e  10w/0e   3w/0e    171w/0e
2.6.2-rc1-mm1     0w/0e     0w/264e 144w/ 5e  10w/0e   3w/0e    171w/0e
2.6.1-mm5         2w/5e     0w/264e 153w/11e  10w/0e   3w/0e    180w/0e
2.6.1-mm4         0w/821e   0w/264e 154w/ 5e   8w/1e   5w/0e    179w/0e
2.6.1-mm3         0w/0e     0w/0e   151w/ 5e  10w/0e   3w/0e    177w/0e
2.6.1-mm2         0w/0e     0w/0e   143w/ 5e  12w/0e   3w/0e    171w/0e
2.6.1-mm1         0w/0e     0w/0e   146w/ 9e  12w/0e   6w/0e    171w/0e
2.6.1-rc2-mm1     0w/0e     0w/0e   149w/ 0e  12w/0e   6w/0e    171w/4e
2.6.1-rc1-mm2     0w/0e     0w/0e   157w/15e  12w/0e   3w/0e    185w/4e
2.6.1-rc1-mm1     0w/0e     0w/0e   156w/10e  12w/0e   3w/0e    184w/2e
2.6.0-mm2         0w/0e     0w/0e   161w/ 0e  12w/0e   3w/0e    189w/0e
2.6.0-mm1         0w/0e     0w/0e   173w/ 0e  12w/0e   3w/0e    212w/0e

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

John

Quoted 5 lines

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

#7 lore raw

PATCH 1/1 2.6.9-rc1-mm2: char/pcxx.c doesn't compile

In reply to Andrew Morton

The following compile error might not be specific to -mm:

<-- snip -->

...
CC drivers/char/pcxx.o
drivers/char/pcxx.c: In function `pcxe_cleanup':
drivers/char/pcxx.c:209: warning: unused variable `e2'
drivers/char/pcxx.c: At top level:
drivers/char/pcxx.c:229: pcxe_init' undeclared here (not in a function) drivers/char/pcxx.c:230: warning: type defaults to int' in declaration of `module_cleanup' drivers/char/pcxx.c:230: warning: parameter names (without types) in function declaration drivers/char/pcxx.c:230: warning: data definition has no type or storage class drivers/char/pcxx.c:1016: redefinition of __initcall_pcxe_init' drivers/char/pcxx.c:229: __initcall_pcxe_init' previously defined here drivers/char/pcxx.c:1016: pcxe_init' undeclared here (not in a function) drivers/char/pcxx.c:1017: pcxe_exit' undeclared here (not in a function) drivers/char/pcxx.c: In function `pcxe_tiocmget':
drivers/char/pcxx.c:2009: `mstat' undeclared (first use in this function) drivers/char/pcxx.c:2009: (Each undeclared identifier is reported only once drivers/char/pcxx.c:2009: for each function it appears in.) drivers/char/pcxx.c: In function `pcxe_tiocmset':
drivers/char/pcxx.c:2072: warning: control reaches end of non-void function drivers/char/pcxx.c: At top level:
drivers/char/pcxx.c:1044: warning: `pcxe_init' defined but not used
make[2]: *** [drivers/char/pcxx.o] Error 1

<-- snip -->

The patch below (only compilation tested) fixes all errors and warnings.

diffstat output:

 drivers/char/pcxx.c |   15 +++++----------
 1 files changed, 5 insertions(+), 10 deletions(-)
drivers/char/pcxx.c renamed from drivers/char/pcxx.c.old +5 -10
@@ -206,7 +200,7 @@
 {
 
 	unsigned long	flags;
-	int e1, e2;
+	int e1;
 
 	printk(KERN_NOTICE "Unloading PC/Xx version %s\n", VERSION);
 
@@ -223,12 +217,6 @@
 	restore_flags(flags);
 }
 
-/*
- * pcxe_init() is our init_module():
- */
-module_init(pcxe_init);
-module_cleanup(pcxe_cleanup);
-
 static inline struct channel *chan(register struct tty_struct *tty)
 {
 	if (tty) {
@@ -1013,9 +1001,6 @@
 }
 #endif
 
-module_init(pcxe_init)
-module_exit(pcxe_exit)
-
 static struct tty_operations pcxe_ops = {
 	.open = pcxe_open,
 	.close = pcxe_close,
@@ -1561,6 +1546,8 @@
 	return ret;
 }
 
+module_init(pcxe_init)
+module_exit(pcxe_cleanup)
 
 static void pcxxpoll(unsigned long dummy)
 {
@@ -1995,6 +1982,7 @@
 	volatile struct board_chan *bc;
 	unsigned long flags;
 	int mflag = 0;
+	int mstat;
 
 	if(ch)
 		bc = ch->brdchan;
@@ -2069,6 +2057,7 @@
 	pcxxparam(tty,ch);
 	memoff(ch);
 	restore_flags(flags);
+	return 0;
 }
 
 
#8 lore raw

Re: [patch] 2.6.9-rc1-mm2: char/pcxx.c doesn't compile

Quoted 11 lines · Adrian Bunk

static void pcxxpoll(unsigned long dummy)
{

drivers/char/pcxx.c renamed from drivers/char/pcxx.c.old +1 -0
@@ -1995,6 +1982,7 @@
 	volatile struct board_chan *bc;
 	unsigned long flags;
 	int mflag = 0;
+	int mstat;
 
 	if(ch)
 		bc = ch->brdchan;

drivers/char/pcxx.c line 2061

Quoted 5 lines
drivers/char/pcxx.c renamed from drivers/char/pcxx.c.old +1 -0
@@ -2069,6 +2057,7 @@
 	pcxxparam(tty,ch);
 	memoff(ch);
 	restore_flags(flags);
+	return 0;
 }

since pcxxpoll is declared with a void return, return 0; here seems pointless. A simple return; or just falling off the end of the function should be fine as far as I can see.

--
Jesper Juhl <[email protected]>

#9 lore raw

Re: [patch] 2.6.9-rc1-mm2: char/pcxx.c doesn't compile

Quoted 10 lines · Jesper Juhl
Quoted 8 lines · Adrian Bunk

static void pcxxpoll(unsigned long dummy)
{

drivers/char/pcxx.c renamed from drivers/char/pcxx.c.old +1 -0
@@ -1995,6 +1982,7 @@
 	volatile struct board_chan *bc;
 	unsigned long flags;
 	int mflag = 0;
+	int mstat;
 
Quoted 12 lines

drivers/char/pcxx.c line 2061

Quoted 8 lines
drivers/char/pcxx.c renamed from drivers/char/pcxx.c.old +1 -0
 	if(ch)
 		bc = ch->brdchan;
@@ -2069,6 +2057,7 @@
 	pcxxparam(tty,ch);
 	memoff(ch);
 	restore_flags(flags);
+	return 0;
 }

since pcxxpoll is declared with a void return, return 0; here seems pointless. A simple return; or just falling off the end of the function should be fine as far as I can see.

These two chunks are _not_ in pcxxpoll.

It might look this way in the diff output, but we are already 500 lines and many functions below pcxxpoll.

Quoted 1 line

Jesper Juhl <[email protected]>

cu
Adrian

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

Re: [patch] 2.6.9-rc1-mm2: char/pcxx.c doesn't compile

Quoted 24 lines · Adrian Bunk
Quoted 10 lines · Jesper Juhl
Quoted 8 lines · Adrian Bunk

static void pcxxpoll(unsigned long dummy)
{

drivers/char/pcxx.c renamed from drivers/char/pcxx.c.old +1 -0
@@ -1995,6 +1982,7 @@
 	volatile struct board_chan *bc;
 	unsigned long flags;
 	int mflag = 0;
+	int mstat;
 
Quoted 12 lines

drivers/char/pcxx.c line 2061

Quoted 8 lines
drivers/char/pcxx.c renamed from drivers/char/pcxx.c.old +1 -0
 	if(ch)
 		bc = ch->brdchan;
@@ -2069,6 +2057,7 @@
 	pcxxparam(tty,ch);
 	memoff(ch);
 	restore_flags(flags);
+	return 0;
 }

since pcxxpoll is declared with a void return, return 0; here seems pointless. A simple return; or just falling off the end of the function should be fine as far as I can see.

Quoted 5 lines

These two chunks are _not_ in pcxxpoll.

It might look this way in the diff output, but we are already 500 lines and many functions below pcxxpoll.

Yeah, the diff output tricked me - looking at the actual file I see the above doesn't match pcxxpoll. I should have looked there before replying. Sorry about that.

--
Jesper Juhl <[email protected]>

#11 lore raw

2.6.9-rc1-mm2: why is DIGIEPCA marked BROKEN?

In reply to Andrew Morton
Quoted 7 lines · Andrew Morton

...
Changes since 2.6.9-rc1-mm1:
...
+mark-pcxx-as-broken.patch

Dead driver
...

<-- snip -->

From: Christoph Hellwig <[email protected]>

It's already marked BROKEN_ON_SMP, but even a UP compile yields tons of errors. While those aren't deeply complicated to fix having them for over a year now is a pretty good indicator no one cares.

<-- snip -->

If I revert mark-pcxx-as-broken.patch, the driver compiles UP for me with exactly zero errors or warnings.

@Christoph:
Could you post the errors you observed?

cu
Adrian

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

Re: 2.6.9-rc1-mm2: why is DIGIEPCA marked BROKEN?

Quoted 5 lines · Adrian Bunk

If I revert mark-pcxx-as-broken.patch, the driver compiles UP for me with exactly zero errors or warnings.

@Christoph:
Could you post the errors you observed?

Umm, sorry. As the patch name says it should have marked the pcxx
driver (CONFIG_DIGI) as broken.

drivers/char/Kconfig +1 -1
@@ -157,7 +157,7 @@
 
 config DIGI
 	tristate "Digiboard PC/Xx Support"
-	depends on SERIAL_NONSTANDARD && DIGIEPCA=n && BROKEN_ON_SMP
+	depends on SERIAL_NONSTANDARD && DIGIEPCA=n && BROKEN
 	help
 	  This is a driver for the Digiboard PC/Xe, PC/Xi, and PC/Xeve cards
 	  that give you many serial ports. You would need something like this
#13 lore raw

Re: 2.6.9-rc1-mm2: why is DIGIEPCA marked BROKEN?

Quoted 10 lines · Christoph Hellwig
Quoted 5 lines · Adrian Bunk

If I revert mark-pcxx-as-broken.patch, the driver compiles UP for me with exactly zero errors or warnings.

@Christoph:
Could you post the errors you observed?

Umm, sorry. As the patch name says it should have marked the pcxx
driver (CONFIG_DIGI) as broken.
...

Too late, my patch to fix the compile errors in DIGI was already sent. ;-)

cu
Adrian

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

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

Quoted 4 lines

Nothing particularly noteworthy here. Some seriously bad scheduler performance with SMT and HT was fixed up, as was the fails-to-read-the-last-4k-of-a-file brown bag.

Something is borked in ACPI:

drivers/built-in.o(.text+0x1cf2c): In function `acpi_pci_root_add':
/root/linux/2.6.9-rc1-mm2/drivers/acpi/pci_root.c:270: undefined reference to `pci_acpi_scan_root'

Didn't actually realise I had ACPI config'ed in, so will just get rid of it, but though you might want to know.

M.

#15 lore raw
Quoted 9 lines · Martin J. Bligh

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

Quoted 3 lines

Nothing particularly noteworthy here. Some seriously bad scheduler performance with SMT and HT was fixed up, as was the fails-to-read-the-last-4k-of-a-file brown bag.

Something is borked in ACPI:

Quoted 8 lines

drivers/built-in.o(.text+0x1cf2c): In function `acpi_pci_root_add':
/root/linux/2.6.9-rc1-mm2/drivers/acpi/pci_root.c:270: undefined reference to `pci_acpi_scan_root'

Didn't actually realise I had ACPI config'ed in, so will just get rid of it, but though you might want to know.

M.

I think the borken is maybe in the .config interpretor. I don't have any ACPI stuff turned on at all, but I've got these lines in my dmesg I've never seen before:

CPI: RSDP (v000 Nvidia ) @ 0x000f7220
ACPI: RSDT (v001 Nvidia AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x3fff3000
ACPI: FADT (v001 Nvidia AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x3fff3040
ACPI: DSDT (v001 NVIDIA AWRDACPI 0x00001000 MSFT 0x0100000e) @ 0x00000000
---
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.HUB0._PRT]
ACPI: Power Resource [ISAV] (on)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGPB._PRT]
ACPI: PCI Interrupt Link [LNK1] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNK2] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNK3] (IRQs 3 4 5 6 7 10 11 *12 14 15)
ACPI: PCI Interrupt Link [LNK4] (IRQs 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNK5] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LUBA] (IRQs 3 4 5 6 7 10 11 *12 14 15)
ACPI: PCI Interrupt Link [LUBB] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LMAC] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LAPU] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LACI] (IRQs 3 4 5 6 7 10 11 *12 14 15)
ACPI: PCI Interrupt Link [LMCI] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LSMB] (IRQs 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LUB2] (IRQs 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LFIR] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [L3CM] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LIDE] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [APC1] (IRQs *16), disabled.
ACPI: PCI Interrupt Link [APC2] (IRQs *17), disabled.
ACPI: PCI Interrupt Link [APC3] (IRQs *18), disabled.
ACPI: PCI Interrupt Link [APC4] (IRQs *19), disabled.
ACPI: PCI Interrupt Link [APC5] (IRQs *16), disabled.
ACPI: PCI Interrupt Link [APCF] (IRQs 20 21 22) *0, disabled.
ACPI: PCI Interrupt Link [APCG] (IRQs 20 21 22) *0, disabled.
ACPI: PCI Interrupt Link [APCH] (IRQs 20 21 22) *0, disabled.
ACPI: PCI Interrupt Link [APCI] (IRQs 20 21 22) *0, disabled.
ACPI: PCI Interrupt Link [APCJ] (IRQs 20 21 22) *0, disabled.
ACPI: PCI Interrupt Link [APCK] (IRQs 20 21 22) *0, disabled.
ACPI: PCI Interrupt Link [APCS] (IRQs *23), disabled.
ACPI: PCI Interrupt Link [APCL] (IRQs 20 21 22) *0, disabled.
ACPI: PCI Interrupt Link [APCM] (IRQs 20 21 22) *0, disabled.
ACPI: PCI Interrupt Link [AP3C] (IRQs 20 21 22) *0, disabled.
ACPI: PCI Interrupt Link [APCZ] (IRQs 20 21 22) *0, disabled.
---
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.
---
ACPI: PCI Interrupt Link [LNK4] enabled at IRQ 5
ACPI: PCI interrupt 0000:02:00.0[A] -> GSI 5 (level, low) -> IRQ 5 -ACPI: PCI Interrupt Link [LUB2] enabled at IRQ 5
ACPI: PCI interrupt 0000:00:02.2[C] -> GSI 5 (level, low) -> IRQ 5
---
ACPI: PCI Interrupt Link [LUBA] enabled at IRQ 12
ACPI: PCI interrupt 0000:00:02.0[A] -> GSI 12 (level, low) -> IRQ 12
---
ACPI: PCI Interrupt Link [LUBB] enabled at IRQ 11
ACPI: PCI interrupt 0000:00:02.1[B] -> GSI 11 (level, low) -> IRQ 11
---
ACPI: PCI Interrupt Link [LNK3] enabled at IRQ 12
ACPI: PCI interrupt 0000:01:08.0[A] -> GSI 12 (level, low) -> IRQ 12
eth0: RealTek RTL8139 at 0xf883a000, 00:50:ba:5d:eb:7d, IRQ 12
---
eth0: IdentiCPI: PCI Interrupt Link [LACI] enabled at IRQ 12
ACPI: PCI interrupt 0000:00:06.0[A] -> GSI 12 (level, low) -> IRQ 12 fied 8139 chip type 'RTL-8139C'
---

I don't know if this is going to screw me over or not. But I am sure that ACPI is turned off as shown in a make xconfig. And I just double-checked, its off,

But: #>grep ACPI .config

# Power management options (ACPI, APM)
# ACPI (Advanced Configuration and Power Interface) Support CONFIG_ACPI=y
# CONFIG_ACPI_SLEEP is not set
# CONFIG_ACPI_AC is not set
# 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_TOSHIBA is not set
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_EC=y
CONFIG_ACPI_PCI=y

Not sure whats going on, can someone turn on the lights?

Signature · 8 lines
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.24% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2004 by Maurice Eugene Heskett, all rights reserved.
#16 lore raw
Quoted 125 lines · --On Tuesday, August 31, 2004 15:16:07 -0400 Gene Heskett…
Quoted 9 lines · Martin J. Bligh

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

Quoted 3 lines

Nothing particularly noteworthy here. Some seriously bad scheduler performance with SMT and HT was fixed up, as was the fails-to-read-the-last-4k-of-a-file brown bag.

Something is borked in ACPI:

Quoted 8 lines

drivers/built-in.o(.text+0x1cf2c): In function `acpi_pci_root_add':
/root/linux/2.6.9-rc1-mm2/drivers/acpi/pci_root.c:270: undefined reference to `pci_acpi_scan_root'

Didn't actually realise I had ACPI config'ed in, so will just get rid of it, but though you might want to know.

M.

I think the borken is maybe in the .config interpretor. I don't have any ACPI stuff turned on at all, but I've got these lines in my dmesg I've never seen before:

CPI: RSDP (v000 Nvidia ) @ 0x000f7220
ACPI: RSDT (v001 Nvidia AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x3fff3000
ACPI: FADT (v001 Nvidia AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x3fff3040
ACPI: DSDT (v001 NVIDIA AWRDACPI 0x00001000 MSFT 0x0100000e) @ 0x00000000
---
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.HUB0._PRT]
ACPI: Power Resource [ISAV] (on)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGPB._PRT]
ACPI: PCI Interrupt Link [LNK1] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNK2] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNK3] (IRQs 3 4 5 6 7 10 11 *12 14 15)
ACPI: PCI Interrupt Link [LNK4] (IRQs 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNK5] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LUBA] (IRQs 3 4 5 6 7 10 11 *12 14 15)
ACPI: PCI Interrupt Link [LUBB] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LMAC] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LAPU] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LACI] (IRQs 3 4 5 6 7 10 11 *12 14 15)
ACPI: PCI Interrupt Link [LMCI] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LSMB] (IRQs 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LUB2] (IRQs 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LFIR] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [L3CM] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LIDE] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [APC1] (IRQs *16), disabled.
ACPI: PCI Interrupt Link [APC2] (IRQs *17), disabled.
ACPI: PCI Interrupt Link [APC3] (IRQs *18), disabled.
ACPI: PCI Interrupt Link [APC4] (IRQs *19), disabled.
ACPI: PCI Interrupt Link [APC5] (IRQs *16), disabled.
ACPI: PCI Interrupt Link [APCF] (IRQs 20 21 22) *0, disabled.
ACPI: PCI Interrupt Link [APCG] (IRQs 20 21 22) *0, disabled.
ACPI: PCI Interrupt Link [APCH] (IRQs 20 21 22) *0, disabled.
ACPI: PCI Interrupt Link [APCI] (IRQs 20 21 22) *0, disabled.
ACPI: PCI Interrupt Link [APCJ] (IRQs 20 21 22) *0, disabled.
ACPI: PCI Interrupt Link [APCK] (IRQs 20 21 22) *0, disabled.
ACPI: PCI Interrupt Link [APCS] (IRQs *23), disabled.
ACPI: PCI Interrupt Link [APCL] (IRQs 20 21 22) *0, disabled.
ACPI: PCI Interrupt Link [APCM] (IRQs 20 21 22) *0, disabled.
ACPI: PCI Interrupt Link [AP3C] (IRQs 20 21 22) *0, disabled.
ACPI: PCI Interrupt Link [APCZ] (IRQs 20 21 22) *0, disabled.
---
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.
---
ACPI: PCI Interrupt Link [LNK4] enabled at IRQ 5
ACPI: PCI interrupt 0000:02:00.0[A] -> GSI 5 (level, low) -> IRQ 5 -ACPI: PCI Interrupt Link [LUB2] enabled at IRQ 5
ACPI: PCI interrupt 0000:00:02.2[C] -> GSI 5 (level, low) -> IRQ 5
---
ACPI: PCI Interrupt Link [LUBA] enabled at IRQ 12
ACPI: PCI interrupt 0000:00:02.0[A] -> GSI 12 (level, low) -> IRQ 12
---
ACPI: PCI Interrupt Link [LUBB] enabled at IRQ 11
ACPI: PCI interrupt 0000:00:02.1[B] -> GSI 11 (level, low) -> IRQ 11
---
ACPI: PCI Interrupt Link [LNK3] enabled at IRQ 12
ACPI: PCI interrupt 0000:01:08.0[A] -> GSI 12 (level, low) -> IRQ 12
eth0: RealTek RTL8139 at 0xf883a000, 00:50:ba:5d:eb:7d, IRQ 12
---
eth0: IdentiCPI: PCI Interrupt Link [LACI] enabled at IRQ 12
ACPI: PCI interrupt 0000:00:06.0[A] -> GSI 12 (level, low) -> IRQ 12 fied 8139 chip type 'RTL-8139C'
---

I don't know if this is going to screw me over or not. But I am sure that ACPI is turned off as shown in a make xconfig. And I just double-checked, its off,

But: #>grep ACPI .config

# Power management options (ACPI, APM)
# ACPI (Advanced Configuration and Power Interface) Support CONFIG_ACPI=y
# CONFIG_ACPI_SLEEP is not set
# CONFIG_ACPI_AC is not set
# 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_TOSHIBA is not set
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_EC=y
CONFIG_ACPI_PCI=y

Quoted 1 line

Not sure whats going on, can someone turn on the lights?

See other thread ... basically, if you force-remove the "select ACPI"s it works around it.

M.

#17 lore raw
In reply to Martin J. Bligh
Quoted 7 lines · Martin J. Bligh

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

Quoted 4 lines

Nothing particularly noteworthy here. Some seriously bad scheduler performance with SMT and HT was fixed up, as was the fails-to-read-the-last-4k-of-a-file brown bag.

Quoted 7 lines

Something is borked in ACPI:

drivers/built-in.o(.text+0x1cf2c): In function `acpi_pci_root_add':
/root/linux/2.6.9-rc1-mm2/drivers/acpi/pci_root.c:270: undefined reference to `pci_acpi_scan_root'

Didn't actually realise I had ACPI config'ed in, so will just get rid of it, but though you might want to know.

I assume this is due to the ACPI Kconfig circular dependency?

#18 lore raw
In reply to Andrew Morton
Quoted 7 lines · Andrew Morton

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

Nothing particularly noteworthy here. Some seriously bad scheduler performance with SMT and HT was fixed up, as was the fails-to-read-the-last-4k-of-a-file brown bag.

[...]

Couple of minor kconfig/compiler tummy aches:

scripts/kconfig/qconf arch/i386/Kconfig
Warning! Found recursive dependency: ACPI PCI_MMCONFIG ACPI ACPI_AC Warning! Found recursive dependency: ACPI PCI_MMCONFIG ACPI ACPI_PROCESSOR X86_POWERNOW_K7_ACPI
Warning! Found recursive dependency: ACPI PCI_MMCONFIG ACPI ACPI_PROCESSOR X86_POWERNOW_K8_ACPI
Warning! Found recursive dependency: ACPI PCI_MMCONFIG ACPI ACPI_EC Warning! Found recursive dependency: ACPI PCI_MMCONFIG ACPI ACPI_PROCESSOR X86_SPEEDSTEP_CENTRINO_ACPI
Warning! Found recursive dependency: DRM_I830 DRM_I915 DRM_I830

make modules_install /usr/src/linux-2.6.9-rc1-mm2/scripts/Makefile.modinst:24: target fs/nls/nls_koi8-r.ko' given more than once in the same rule. /usr/src/linux-2.6.9-rc1-mm2/scripts/Makefile.modinst:24: target fs/nls/nls_koi8-ru.ko' given more than once in the same rule. /usr/src/linux-2.6.9-rc1-mm2/scripts/Makefile.modinst:24: target `fs/nls/nls_koi8-u.ko' given more than once in the same rule.

And, one other item that was minor till I had a stable system, and thats the apparently non-destruction of open paths when doing a reboot. If *any* x based shells are open with a path to someplace, and I type a "rebootENTER" in one of them, then at umount time the kernel goes into its 3 tries and out routine, saying that partition so-and-so is busy.

But, I'm running on it, so like the Harley rider, it can't be all bad. :-)

Signature · 8 lines
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.24% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2004 by Maurice Eugene Heskett, all rights reserved.
#19 lore raw
Quoted 7 lines · Gene Heskett

make modules_install /usr/src/linux-2.6.9-rc1-mm2/scripts/Makefile.modinst:24: target fs/nls/nls_koi8-r.ko' given more than once in the same rule. /usr/src/linux-2.6.9-rc1-mm2/scripts/Makefile.modinst:24: target fs/nls/nls_koi8-ru.ko' given more than once in the same rule. /usr/src/linux-2.6.9-rc1-mm2/scripts/Makefile.modinst:24: target `fs/nls/nls_koi8-u.ko' given more than once in the same rule.

Thanks!
Know issue (reported off-list) - can be fixed with below patch.

Sam

# This is a BitKeeper generated diff -Nru style patch. #
# ChangeSet
# 2004/08/31 21:36:26+02:00 [email protected]
# kbuild: Fix modules_install
#
# modules_install failed for modules with 'ko' in their name.
# Fixes this.
#
# Signed-off-by: Sam Ravnborg <[email protected]>
#
# scripts/Makefile.modinst
# 2004/08/31 21:36:09+02:00 [email protected] +1 -1
# Fix installing of modules with ko in their name - do not find too many filenames in $(MODVERDIR)
#

scripts/Makefile.modinst +1 -1
diff -Nru a/scripts/Makefile.modinst b/scripts/Makefile.modinst
@@ -9,7 +9,7 @@
 
 #
 
-__modules := $(sort $(shell grep -h .ko /dev/null $(wildcard $(MODVERDIR)/*.mod)))
+__modules := $(sort $(shell grep -h '\.ko' /dev/null $(wildcard $(MODVERDIR)/*.mod)))
 modules := $(patsubst %.o,%.ko,$(wildcard $(__modules:.ko=.o)))
 
 .PHONY: $(modules)
#20 lore raw
Quoted 33 lines · Sam Ravnborg
Quoted 7 lines · Gene Heskett

make modules_install /usr/src/linux-2.6.9-rc1-mm2/scripts/Makefile.modinst:24: target fs/nls/nls_koi8-r.ko' given more than once in the same rule. /usr/src/linux-2.6.9-rc1-mm2/scripts/Makefile.modinst:24: target fs/nls/nls_koi8-ru.ko' given more than once in the same rule. /usr/src/linux-2.6.9-rc1-mm2/scripts/Makefile.modinst:24: target `fs/nls/nls_koi8-u.ko' given more than once in the same rule.

Thanks!
Know issue (reported off-list) - can be fixed with below patch.

Sam

# This is a BitKeeper generated diff -Nru style patch. #
# ChangeSet
# 2004/08/31 21:36:26+02:00 [email protected]
# kbuild: Fix modules_install
#
# modules_install failed for modules with 'ko' in their name.
# Fixes this.
#
# Signed-off-by: Sam Ravnborg <[email protected]>
#
# scripts/Makefile.modinst
# 2004/08/31 21:36:09+02:00 [email protected] +1 -1
# Fix installing of modules with ko in their name - do not find too many filenames in $(MODVERDIR)
#
diff -Nru a/scripts/Makefile.modinst b/scripts/Makefile.modinst

scripts/Makefile.modinst line 15

Quoted 8 lines
scripts/Makefile.modinst +1 -1
@@ -9,7 +9,7 @@
 
 #
 
-__modules := $(sort $(shell grep -h .ko /dev/null $(wildcard $(MODVERDIR)/*.mod)))
+__modules := $(sort $(shell grep -h '\.ko' /dev/null $(wildcard $(MODVERDIR)/*.mod)))
 modules := $(patsubst %.o,%.ko,$(wildcard $(__modules:.ko=.o)))
 
 .PHONY: $(modules)

D'oh... Wouldn't .modpost need the same change?

Signature · 2 lines
Tom Rini
http://gate.crashing.org/~trini/
#21 lore raw
Quoted 7 lines · Tom Rini

scripts/Makefile.modinst line 15

Quoted 5 lines
scripts/Makefile.modinst +1 -1
-__modules := $(sort $(shell grep -h .ko /dev/null $(wildcard $(MODVERDIR)/*.mod)))
+__modules := $(sort $(shell grep -h '\.ko' /dev/null $(wildcard $(MODVERDIR)/*.mod)))
 modules := $(patsubst %.o,%.ko,$(wildcard $(__modules:.ko=.o)))
 
 .PHONY: $(modules)

D'oh... Wouldn't .modpost need the same change?

Even worse. I already did the same change for modpost - without fixing it for modinst :-(

The modpost change is part of the bk-kbuild.patch

Sam

#22 lore raw
In reply to Andrew Morton

Getting an error of:

net/built-in.o(.text+0x64047): In function `tcp_in_window':
net/ipv4/netfilter/ip_conntrack_proto_tcp.c:683: undefined reference to ip_ct_log_invalid' net/built-in.o(.text+0x6431f): In function tcp_error':
net/ipv4/netfilter/ip_conntrack_proto_tcp.c:792: undefined reference to ip_ct_log_invalid' net/built-in.o(.text+0x64421):net/ipv4/netfilter/ip_conntrack_proto_tcp.c:817: undefined reference to ip_ct_log_invalid' net/built-in.o(.text+0x64450):net/ipv4/netfilter/ip_conntrack_proto_tcp.c:808: undefined reference to ip_ct_log_invalid' net/built-in.o(.text+0x64487):net/ipv4/netfilter/ip_conntrack_proto_tcp.c:784: undefined reference to ip_ct_log_invalid' net/built-in.o(.text+0x6478a):net/ipv4/netfilter/ip_conntrack_proto_tcp.c:877: more undefined references to `ip_ct_log_invalid' follow

The error is for all references of the LOG_INVALID macro in ip_conntrack_proto_tcp.c. My guess is that the declaration of ip_ct_log_invalid in ip_conntrack_standalone.c landed under a new #define that I'm not using in this set of patches, but I can't find where.

All-important config file appended below. This is an older config file, but make oldconfig was done first, per normal.

Rick

#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.9-rc1-mm2
# Tue Aug 31 14:42:38 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_SWAP=y
CONFIG_SYSVIPC=y
# CONFIG_POSIX_MQUEUE is not set
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=15
CONFIG_HOTPLUG=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 is not set

#
# Processor type and features
#
# CONFIG_X86_PC is not set
# CONFIG_X86_ELAN is not set
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
CONFIG_X86_SUMMIT=y
# 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_ACPI_SRAT=y
CONFIG_X86_SUMMIT_NUMA=y
CONFIG_X86_CYCLONE_TIMER=y
# 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 is not set
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 is not set
CONFIG_SMP=y
CONFIG_NR_CPUS=32
CONFIG_X86_HT=y
# CONFIG_SCHED_SMT is not set
# CONFIG_PREEMPT is not set
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_TSC=y
# CONFIG_X86_MCE is not set
# 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 is not set
CONFIG_HIGHMEM64G=y
CONFIG_HIGHMEM=y
CONFIG_X86_PAE=y
CONFIG_NUMA=y
CONFIG_DISCONTIGMEM=y
CONFIG_HAVE_ARCH_BOOTMEM_NODE=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_BOOT_IOREMAP=y
# CONFIG_REGPARM is not set

#
# 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_AC is not set
# 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_TOSHIBA is not set CONFIG_ACPI_DEBUG=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_PCI=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 is not set
CONFIG_PCI_NAMES=y
CONFIG_ISA=y
CONFIG_EISA=y
CONFIG_EISA_PCI_EISA=y
CONFIG_EISA_NAMES=y
# CONFIG_MCA is not set
# CONFIG_SCx200 is not set
# CONFIG_HOTPLUG_CPU is not set

#
# PCMCIA/CardBus support
#
# CONFIG_PCMCIA is not set
CONFIG_PCMCIA_PROBE=y

#
# PCI Hotplug Support
#
# CONFIG_HOTPLUG_PCI is not set

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

#
# 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
#
# CONFIG_PNP is not set

#
# Block devices
#
CONFIG_BLK_DEV_FD=y
# CONFIG_BLK_DEV_XD 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=y
# CONFIG_BLK_DEV_CRYPTOLOOP is not set
CONFIG_BLK_DEV_NBD=y
# CONFIG_BLK_DEV_SX8 is not set
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=4096
CONFIG_BLK_DEV_INITRD=y
# CONFIG_LBD is not set
# CONFIG_CDROM_PKTCDVD is not set

#
# ATA/ATAPI/MFM/RLL support
#
# CONFIG_IDE 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 is not set

#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs #
# CONFIG_SCSI_MULTI_LUN is not set 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_7000FASST is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_ITERAID is not set
# CONFIG_SCSI_AHA152X is not set
# CONFIG_SCSI_AHA1542 is not set
# CONFIG_SCSI_AHA1740 is not set
# CONFIG_SCSI_AACRAID is not set
CONFIG_SCSI_AIC7XXX=y
CONFIG_AIC7XXX_CMDS_PER_DEVICE=253
CONFIG_AIC7XXX_RESET_DELAY_MS=2000
# CONFIG_AIC7XXX_PROBE_EISA_VL is not set
CONFIG_AIC7XXX_DEBUG_ENABLE=y
CONFIG_AIC7XXX_DEBUG_MASK=0
CONFIG_AIC7XXX_REG_PRETTY_PRINT=y
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_DPT_I2O is not set
# CONFIG_SCSI_IN2000 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_DTC3280 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_GENERIC_NCR5380 is not set
# CONFIG_SCSI_GENERIC_NCR5380_MMIO is not set
CONFIG_SCSI_IPS=y
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_NCR53C406A is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_PAS16 is not set
# CONFIG_SCSI_PSI240I is not set
# CONFIG_SCSI_QLOGIC_FAS 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_SIM710 is not set
# CONFIG_SCSI_SYM53C416 is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_T128 is not set
# CONFIG_SCSI_U14_34F is not set
# CONFIG_SCSI_ULTRASTOR is not set
# CONFIG_SCSI_NSP32 is not set
# CONFIG_SCSI_DEBUG is not set

#
# Old CD-ROM drivers (not SCSI, not IDE)
#
# CONFIG_CD_NO_IDESCSI 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=y
CONFIG_UNIX=y
# CONFIG_NET_KEY is not set
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 is not set
# CONFIG_NET_IPGRE is not set
CONFIG_IP_MROUTE=y
CONFIG_IP_PIMSM_V1=y
CONFIG_IP_PIMSM_V2=y
# CONFIG_ARPD is not set
CONFIG_SYN_COOKIES=y
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
# CONFIG_INET_TUNNEL is not set

#
# IP: Virtual Server Configuration
#
# CONFIG_IP_VS is not set
# CONFIG_IPV6 is not set
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set

#
# IP: Netfilter Configuration
#
# CONFIG_IP_NF_CONNTRACK is not set
# CONFIG_IP_NF_QUEUE is not set
# CONFIG_IP_NF_IPTABLES is not set
CONFIG_IP_NF_NAT_NEEDED=y
# CONFIG_IP_NF_ARPTABLES is not set
CONFIG_IP_NF_COMPAT_IPCHAINS=y

#
# SCTP Configuration (EXPERIMENTAL)
#
# CONFIG_IP_SCTP is not set
# CONFIG_ATM is not set
# CONFIG_BRIDGE is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_DECNET is not set
# CONFIG_LLC2 is not set
# 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=y
# CONFIG_NET_SCH_HTB is not set
# CONFIG_NET_SCH_HFSC is not set
CONFIG_NET_SCH_PRIO=y
CONFIG_NET_SCH_RED=y
CONFIG_NET_SCH_SFQ=y
CONFIG_NET_SCH_TEQL=y
CONFIG_NET_SCH_TBF=y
CONFIG_NET_SCH_GRED=y
CONFIG_NET_SCH_DSMARK=y
# CONFIG_NET_SCH_NETEM is not set
CONFIG_NET_SCH_INGRESS=y
CONFIG_NET_QOS=y
CONFIG_NET_ESTIMATOR=y
CONFIG_NET_CLS=y
CONFIG_NET_CLS_TCINDEX=y
CONFIG_NET_CLS_ROUTE4=y
CONFIG_NET_CLS_ROUTE=y
CONFIG_NET_CLS_FW=y
CONFIG_NET_CLS_U32=y
# CONFIG_CLS_U32_PERF is not set
# CONFIG_NET_CLS_IND is not set
CONFIG_NET_CLS_RSVP=y
CONFIG_NET_CLS_RSVP6=y
# CONFIG_NET_CLS_ACT is not set
CONFIG_NET_CLS_POLICE=y

#
# 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 is not set
CONFIG_NETDEVICES=y
CONFIG_DUMMY=y
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
# CONFIG_ETHERTAP is not set

#
# ARCnet devices
#
# CONFIG_ARCNET is not set

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

#
# Tulip family network device support
#
# CONFIG_NET_TULIP is not set
# CONFIG_AT1700 is not set
# CONFIG_DEPCA is not set
# CONFIG_HP100 is not set
# CONFIG_NET_ISA is not set
CONFIG_NET_PCI=y
# CONFIG_PCNET32 is not set
# CONFIG_AMD8111_ETH is not set
CONFIG_ADAPTEC_STARFIRE=y
# CONFIG_ADAPTEC_STARFIRE_NAPI is not set
# CONFIG_AC3200 is not set
# CONFIG_APRICOT is not set
# CONFIG_B44 is not set
# CONFIG_FORCEDETH is not set
# CONFIG_CS89x0 is not set
# CONFIG_DGRS is not set
CONFIG_EEPRO100=y
# CONFIG_EEPRO100_PIO is not set
# CONFIG_E100 is not set
# CONFIG_LNE390 is not set
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not set
# CONFIG_NE2K_PCI is not set
# CONFIG_NE3210 is not set
# CONFIG_ES3210 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
# CONFIG_NET_POCKET 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 is not set
CONFIG_TIGON3=y

#
# 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
# 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 is not set
# 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_INPORT is not set
# CONFIG_MOUSE_LOGIBM is not set
# CONFIG_MOUSE_PC110PAD 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_NR_UARTS=4
CONFIG_SERIAL_8250_EXTENDED=y
# CONFIG_SERIAL_8250_MANY_PORTS is not set
# CONFIG_SERIAL_8250_SHARE_IRQ is not set
# 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

#
# 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=y
CONFIG_AGP_ALI=y
# CONFIG_AGP_ATI is not set
CONFIG_AGP_AMD=y
# CONFIG_AGP_AMD64 is not set
CONFIG_AGP_INTEL=y
# CONFIG_AGP_INTEL_MCH is not set
# CONFIG_AGP_NVIDIA is not set
CONFIG_AGP_SIS=y
CONFIG_AGP_SWORKS=y
CONFIG_AGP_VIA=y
# CONFIG_AGP_EFFICEON is not set
# CONFIG_DRM is not set
# CONFIG_MWAVE is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_HPET is not set
# 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_MDA_CONSOLE is not set
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 is not set
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_XATTR=y
# CONFIG_EXT3_FS_POSIX_ACL is not set
# CONFIG_EXT3_FS_SECURITY is not set
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_FS_MBCACHE=y
CONFIG_REISER4_FS=y
CONFIG_REISER4_LARGE_KEY=y
# CONFIG_REISER4_CHECK is not set
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
# CONFIG_XFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_ROMFS_FS is not set
CONFIG_QUOTA=y
# CONFIG_QFMT_V1 is not set
# CONFIG_QFMT_V2 is not set
CONFIG_QUOTACTL=y
# CONFIG_AUTOFS_FS is not set
# CONFIG_AUTOFS4_FS is not set

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
# CONFIG_ZISOFS is not set
# CONFIG_UDF_FS is not set

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=y
# CONFIG_MSDOS_FS is not set
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 is not set
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_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 is not set
# CONFIG_NFSD is not set
# CONFIG_EXPORTFS is not set
# CONFIG_SMB_FS is not set
# CONFIG_CIFS 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=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
# CONFIG_MAC_PARTITION is not set
CONFIG_MSDOS_PARTITION=y
CONFIG_BSD_DISKLABEL=y
# CONFIG_MINIX_SUBPARTITION is not set
# CONFIG_SOLARIS_X86_PARTITION is not set
# CONFIG_UNIXWARE_DISKLABEL is not set
# CONFIG_LDM_PARTITION is not set
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
# CONFIG_SUN_PARTITION is not set
# CONFIG_EFI_PARTITION is not set

#
# Native Language Support
#
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
# CONFIG_NLS_CODEPAGE_437 is not set
# 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 is not set

#
# Kernel hacking
#
CONFIG_DEBUG_KERNEL=y
CONFIG_MAGIC_SYSRQ=y
# CONFIG_DEBUG_SLAB is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_DEBUG_HIGHMEM is not set
CONFIG_DEBUG_INFO=y
# CONFIG_FRAME_POINTER is not set
CONFIG_EARLY_PRINTK=y
# CONFIG_DEBUG_STACKOVERFLOW is not set
# CONFIG_KPROBES is not set
# CONFIG_DEBUG_STACK_USAGE is not set
# CONFIG_DEBUG_PAGEALLOC is not set
# CONFIG_4KSTACKS is not set
# 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 is not set
# CONFIG_SECURITY is not set

#
# Cryptographic options
#
# CONFIG_CRYPTO is not set

#
# Library routines
#
# CONFIG_CRC_CCITT is not set
CONFIG_CRC32=y
# CONFIG_LIBCRC32C is not set
CONFIG_X86_SMP=y
CONFIG_X86_BIOS_REBOOT=y
CONFIG_X86_TRAMPOLINE=y
CONFIG_PC=y

#23 lore raw

2.6.9-rc1-mm2: IP_NF_COMPAT_IPCHAINS compilation broken

Quoted 11 lines · Rick Lindsley

Getting an error of:

net/built-in.o(.text+0x64047): In function `tcp_in_window':
net/ipv4/netfilter/ip_conntrack_proto_tcp.c:683: undefined reference to ip_ct_log_invalid' net/built-in.o(.text+0x6431f): In function tcp_error':
net/ipv4/netfilter/ip_conntrack_proto_tcp.c:792: undefined reference to ip_ct_log_invalid' net/built-in.o(.text+0x64421):net/ipv4/netfilter/ip_conntrack_proto_tcp.c:817: undefined reference to ip_ct_log_invalid' net/built-in.o(.text+0x64450):net/ipv4/netfilter/ip_conntrack_proto_tcp.c:808: undefined reference to ip_ct_log_invalid' net/built-in.o(.text+0x64487):net/ipv4/netfilter/ip_conntrack_proto_tcp.c:784: undefined reference to ip_ct_log_invalid' net/built-in.o(.text+0x6478a):net/ipv4/netfilter/ip_conntrack_proto_tcp.c:877: more undefined references to `ip_ct_log_invalid' follow

Quoted 3 lines

The error is for all references of the LOG_INVALID macro in ip_conntrack_proto_tcp.c.
...

Harald, the LOG_INVALID macro from your

[NETFILTER]: Move error tracking into conntrack protocol helper

patch in Linus' tree breaks compilation with CONFIG_IP_NF_COMPAT_IPCHAINS=y, since ip_ct_log_invalid isn't available in this case due to CONFIG_IP_NF_CONNTRACK=n.

cu
Adrian

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

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

Does not compile for me:

CC kernel/wait.o
kernel/wait.c:156: error: conflicting types for '__wait_on_bit' include/linux/wait.h:143: error: previous declaration of '__wait_on_bit' was here
kernel/wait.c:156: error: conflicting types for '__wait_on_bit' include/linux/wait.h:143: error: previous declaration of '__wait_on_bit' was here
kernel/wait.c:170: error: conflicting types for '__wait_on_bit_lock' include/linux/wait.h:144: error: previous declaration of '__wait_on_bit_lock' was here
kernel/wait.c:170: error: conflicting types for '__wait_on_bit_lock' include/linux/wait.h:144: error: previous declaration of '__wait_on_bit_lock' was here
make[1]: *** [kernel/wait.o] Error 1
make: *** [kernel] Error 2

Let me know if you need the .config or any other info.

Thanks for your continued hard work guys!

Cheers,
Andre

#25 lore raw
Quoted 5 lines · Andre Eisenbach

Does not compile for me:
CC kernel/wait.o
kernel/wait.c:156: error: conflicting types for '__wait_on_bit' include/linux/wait.h:143: error: previous declaration of '__wait_on_bit' was here

[...]

Quoted 2 lines

Let me know if you need the .config or any other info. Thanks for your continued hard work guys!

Please apply the following fixes:

include/linux/wait.h +1 -1
Index: mm2-2.6.9-rc1/include/linux/wait.h
===================================================================
@@ -388,7 +388,7 @@
 	DEFINE_WAIT_BIT(q, word, bit);
 	wait_queue_head_t *wqh;
 
-	if (!test_bit(bit, word))
+	if (!test_and_set_bit(bit, word))
 		return 0;
 
 	wqh = bit_waitqueue(word, bit);
kernel/wait.c +4 -4
Index: mm2-2.6.9-rc1/kernel/wait.c
===================================================================
@@ -150,8 +150,8 @@
  * waiting, the actions of __wait_on_bit() and __wait_on_bit_lock() are
  * permitted return codes. Nonzero return codes halt waiting and return.
  */
-int __sched __wait_on_bit(wait_queue_head_t *wq, struct wait_bit_queue *q,
-			void *word,
+int __sched fastcall __wait_on_bit(wait_queue_head_t *wq,
+			struct wait_bit_queue *q, void *word,
 			int bit, int (*action)(void *), unsigned mode)
 {
 	int ret = 0;
@@ -164,8 +164,8 @@
 }
 EXPORT_SYMBOL(__wait_on_bit);
 
-int __sched __wait_on_bit_lock(wait_queue_head_t *wq, struct wait_bit_queue *q,
-			void *word, int bit,
+int __sched fastcall __wait_on_bit_lock(wait_queue_head_t *wq,
+			struct wait_bit_queue *q, void *word, int bit,
 			int (*action)(void *), unsigned mode)
 {
 	int ret = 0;

More recent patches modify files in wait-on-bit-lock-fix.patch.

#26 lore raw
Quoted 4 lines · William Lee Irwin III

Please apply the following fixes:

Index: mm2-2.6.9-rc1/include/linux/wait.h
Index: mm2-2.6.9-rc1/kernel/wait.c

Applying those patches worked.

Thanks,
Andre