Skip to contentSkip to conversation

2.5.67-mm4

DISCUSSION Andrew Morton 8 participants 12 messages Apr 18, 2003 – Apr 19, 2003 Memory management

lore
Share & tools
lore

Andrew Morton

author Applied
#0 lore raw

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/2.5.67/2.5.67-mm4/

. A bunch of anticipatory scheduler patches.

For the first time ever, AS is working well with both IDE and SCSI under all the usual tests.

It works just fine on SCSI with zero TCQ tags, and with four TCQ tags. At eight tags, read-vs-write performace is starting to measurably drop off. At 32 tags it is about 2000x slower than at zero or four tags.

My recommendation, as always, is to disable SCSI TCQ completely. If you really must, set it to four tags.

. Now using 64-bit dev_t with a 32:32 split. There's a new `mknod64()'
syscall for creating these device nodes, and support for this in ext2 and ext3. There is no corresponding userspace mknod(1) as far as I know.

. There is a fancy memory debugging patch from Manfred here. On ia32 it
will unmap pages from kernel virtual address space when they are freed. It will also unmap slab objects which are >= 4 kilobytes in size. This is to force an oops if anyone touches freed-up memory.

This might be buggy on SMP, due to missing TLB invalidations (put them in, and they will deadlock). Or it might not be buggy, due to the behaviour of the special vmalloc pagefault handler.

Anyway, it's cool, and should work OK on uniprocessor at least.

. Lots of new random fixes. This is a 13 megabyte diff...

Changes since 2.5.67-mm3:

linus.patch

Latest BK snapshot

-devclass-oops-workaround.patch
-ipip_err-compile-fix.patch
-p4-oprofile-fix.patch
-flush_workqueue-hang-fix.patch
-tty-shutdown-race-fix.patch
-genrtc-jiffies-fix.patch
-export-kernel_fpu_begin.patch
-posix-timer-hang-fix-2.patch
-vsyscall-unwinding.patch
-mce-workqueue-startup-fix.patch
-1394-compile-fix.patch
-nfs-resource-management.patch
-usb-disconnect-crash-fix.patch
-fbdev.patch

Merged

-kgdb-ga-warning-fix.patch
-kgdb-ga-up-warning-fix.patch

Folded into kgdb-ga.patch

+kobj_lock-fix.patch

Fix kobject locking bug.

+mach_countup-fix.patch

Fix cpu_khx measurement.

+dentry_stat-accounting-fix.patch

Fix dentry accounting

+DCACHE_REFERENCED-fixes.patch

Fix DCACHE_REFERENCED handling

+posix_timers-CLOCK_MONOTONIC-fix.patch

Timekeeping accuracy fix

+jiffies_to_timespec-fix.patch

Timekeeping accuracy fix.

+misc.patch

Fixlets

+SAK-raw-mode-fix.patch

Make SAK work when the keyboard is in raw mode

-as-disable-thinktime.patch

This was a workaround for a now-fixed performance problem.

+cfq-infrastructure.patch

Non-CFQ related infrastructure split out of the CFQ I/O scheduler patch.

+elevator-completion-api.patch

elevator callback from request completion.

+as-use-completion.patch

Use the above in the anticipatory scheduler.

+cfq-2.patch

Just CFQ.

+unmap-page-debugging.patch
+unmap-page-debugging-fixes.patch
+global_flush_tlb-irqs-check.patch
+unmap-page-debugging-fixes-2.patch

Debug code to unmap freed pages from kernel virtual address space.

+pcmcia-deadlock-fix.patch

Fix the PCMCIA startup problem.

+move-__set_page_dirty-buffers.patch
+buffers-cleanup.patch

Cleanups.

+follow_hugetlb_page-fix.patch
+hugetlb-overflow-fix.patch

Hugetlb fixes.

+mach64-build-fix.patch

fbdev build fix.

+sync-all-quotas.patch

Global quota sync operation.

+do_timer_overflow-locking-fix.patch

ia32 timer fixes.

+lost-tick-fix.patch

More ia32 timer fixes.

+aio-mmap-fix.patch

AIO fix.

+generic-bitops-update.patch

Bring the skeleton bitop functions up to date.

+overcommit-stop-swapoff.patch
+interruptible-swapoff.patch
+oomkill-swapoff.patch

sys_swapoff() fixes.

+dac960-bounce-avoidance.patch

Avoid memory copies in dac960.

+NOMMU-merge-fixes.patch

!CONFIG_MMU build fixes

+vmap-extensions.patch

Generalise vmap() a bit, for ia64.

+select-speedup.patch

Speed up sys_select()

+dont-shrink-slab-for-highmem.patch

Don't shrink the slab caches in response to ZONE_HIGHMEM shortages.

+htree-leak-fix.patch

Fix ext3/htree memory leak.

-dev_t-32-bit.patch

Dropped - now doing 64-bit dev_t.

-dev_t-remove-B_FREE.patch
-sg-dev_t-fix.patch
-xfs-dev_t-warning-fix.patch

Merged into 64-bit-dev_t-kdev_t.patch

+ia32-mknod64.patch

sys_mknod64() for ia32.

+dm-larger-dev_t-fix.patch
+ext2-64-bit-special-inodes.patch
+ext3-64-bit-special-inodes.patch
+rdev-for-samba.patch

Larger dev_t preparatory fixes.

+64-bit-dev_t-kdev_t.patch

64-bit dev_t.

-lockmeter-fixes.patch

Folded into lockmeter.patch

+ext3-orlov-approx-counter-fix.patch

ext3 directory allocator fix for the ext3 scalability patches which are in -mm.

All 114 patches

linus.patch

mm.patch
add -mmN to EXTRAVERSION

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

kobj_lock-fix.patch

mach_countup-fix.patch

ppa-null-pointer-fix.patch

dmfe-kfree_skb-fix.patch
dmfe: don't free skb with local interrupts disabled

config_spinline.patch
uninline spinlocks for profiling accuracy.

ppc64-reloc_hide.patch

ppc64-pci-patch.patch
Subject: pci patch

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

ppc64-scruffiness.patch
Fix some PPC64 compile warnings

ppc64-update.patch
ppc64 update

ppc64-update-fixes.patch

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

config-PAGE_OFFSET.patch
Configurable kenrel/user memory split

buffer-debug.patch
buffer.c debugging

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

reiserfs_file_write-5.patch

sched_idle-typo-fix.patch
fix sched_idle typo

rcu-stats.patch
RCU statistics reporting

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

nfs-speedup.patch

nfs-oom-fix.patch
nfs oom fix

sk-allocation.patch
Subject: Re: nfs oom

nfs-more-oom-fix.patch

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

linux-isp.patch

isp-update-1.patch

dentry_stat-accounting-fix.patch
dentry_stat accounting fix

DCACHE_REFERENCED-fixes.patch
Fix and clean up DCACHE_REFERENCED usage

posix_timers-CLOCK_MONOTONIC-fix.patch
Fix POSIX timers to give CLOCK_MONOTONIC full resolution and tie it to xtime instead of jiffies

jiffies_to_timespec-fix.patch
Fix jiffies_to_time[spec | val] and converse to use actual jiffies increment rather than 1/HZ

tasklist_lock-dcache_lock-inversion-fix.patch
Fix deadlock between tasklist_lock and dcache_lock

misc.patch
misc fixes

setserial-fix.patch
Subject: [PATCH 2.5] Minor fix for driver/serial/core.c

SAK-raw-mode-fix.patch
keyboard.c Fix SAK in raw mode

kblockd.patch
Create `kblockd' workqueue

as-iosched.patch
anticipatory I/O scheduler

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

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

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

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

as-misc-cleanups.patch
AS: misc cleanups

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

as-remove-stats.patch
AS: remove statistics

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

as-use-queue_empty.patch
AS: Use the queue_empty API

cfq-infrastructure.patch

elevator-completion-api.patch
elevator completion API

as-use-completion.patch
AS use completion notifier

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

cfq-2.patch
CFQ scheduler, #2

unmap-page-debugging.patch
unmap unused pages for debugging

unmap-page-debugging-fixes.patch

global_flush_tlb-irqs-check.patch

unmap-page-debugging-fixes-2.patch

pcmcia-deadlock-fix.patch

move-__set_page_dirty-buffers.patch
Move __set_page_dirty_buffers to fs/buffer.c

buffers-cleanup.patch
Clean up various buffer-head dependencies

follow_hugetlb_page-fix.patch
follow_hugetlb_page fix

hugetlb-overflow-fix.patch
hugetlb math overflow fix

mach64-build-fix.patch
ATI Mach64 build fix

sync-all-quotas.patch
quotactl(): sync all quotas

do_timer_overflow-locking-fix.patch
Locking fix in do_timer_overflow()

lost-tick-fix.patch
detect_lost_tick locking fixes

aio-mmap-fix.patch
AIO mmap fix

objrmap.patch
object-based rmap

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

objrmap-vma-sorting-fix.patch
fix obj vma sorting

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

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

scheduler-tunables.patch
scheduler tunables

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

yellowfin-set_bit-fix.patch
yellowfin driver set_bit fix

generic-bitops-update.patch
include/asm-generic/bitops.h {set,clear}_bit return void

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

task_prio-fix.patch
simple task_prio() fix

i8042-share-irqs.patch
allow i8042 interrupt sharing

gfp_repeat.patch
implement __GFP_REPEAT

alloc_buffer_head-take-gfp.patch
make alloc_buffer_head take gfp_flags

pte_alloc_one-use-gfp_repeat.patch
use __GFP_REPEAT in pte_alloc_one()

pmd_alloc_one-use-gfp_repeat.patch
use __GFP_REPEAT in pmd_alloc_one()

overcommit-stop-swapoff.patch
Disallow swapoff if there is insufficient memory

interruptible-swapoff.patch
Permit interruption of swapoff

oomkill-swapoff.patch
oom-kill: preferentially kill swapoff

dac960-bounce-avoidance.patch
DAC960: add call to blk_queue_bounce_limit

dynamic-hd_struct-allocation.patch
Allocate hd_structs dynamically

dynamic-hd_struct-devfs-fix.patch
Fix dynamic hd_struct allocation for devfs

NOMMU-merge-fixes.patch
fix CONFIG_NOMMU mismerges

vmap-extensions.patch
Extend map_vm_area()/get_vm_area()

select-speedup.patch
Subject: Re: IA64 changes to fs/select.c

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

dont-shrink-slab-for-highmem.patch
don't shrink slab for highmem allocations

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

htree-leak-fix.patch
ext3: htree memory leak fix

put_task_struct-debug.patch

ia32-mknod64.patch
mknod64 for ia32

dm-larger-dev_t-fix.patch
Subject: Re: 2.5.67-mm2

ext2-64-bit-special-inodes.patch
ext2: support for 64-bit device nodes

ext3-64-bit-special-inodes.patch
ext3: support for 64-bit device nodes

rdev-for-samba.patch
From: [email protected]
Subject: [PATCH] rdev for samba

32bit-dev_t-nfs-export-fix.patch
Fix nfsd exports with big dev_t

64-bit-dev_t-kdev_t.patch
64-bit dev_t and kdev_t

aggregated-disk-stats.patch
Aggregated disk statistics

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

lockmeter.patch

ext3-no-bkl.patch

journal_dirty_metadata-speedup.patch

journal_get_write_access-speedup.patch

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

ext3-orlov-approx-counter-fix.patch
Fix orlov allocator boundary case

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

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

#1 lore raw

:(

make -f scripts/Makefile.build obj=fs/devfs
gcc -Wp,-MD,fs/devfs/.base.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -Iinclude/asm-i386/mach-default -nostdinc -iwithprefix include -DKBUILD_BASENAME=base -DKBUILD_MODNAME=devfs -c -o fs/devfs/base.o fs/devfs/base.c
fs/devfs/base.c: In function `devfsd_notify':
fs/devfs/base.c:1426: too many arguments to function devfsd_notify_de' fs/devfs/base.c: In function devfs_register':
fs/devfs/base.c:1460: warning: too few arguments for format make[2]: *** [fs/devfs/base.o] Error 1
make[1]: *** [fs/devfs] Error 2
make: *** [fs] Error 2

Config attached.

#
# Automatically generated make config: don't edit
#
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_UID16=y
CONFIG_GENERIC_ISA_DMA=y

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y

#
# General setup
#
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_SYSCTL=y
CONFIG_LOG_BUF_SHIFT=14

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

#
# Processor type and features
#
CONFIG_X86_PC=y
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
# CONFIG_X86_SUMMIT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_VISWS is not set
# CONFIG_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_MPENTIUM4 is not set
# CONFIG_MK6 is not set
CONFIG_MK7=y
# CONFIG_MK8 is not set
# CONFIG_MELAN 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_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=6
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_USE_PPRO_CHECKSUM=y
CONFIG_X86_USE_3DNOW=y
# CONFIG_HUGETLB_PAGE is not set
# CONFIG_SMP is not set
CONFIG_PREEMPT=y
CONFIG_X86_UP_APIC=y
# CONFIG_X86_UP_IOAPIC is not set
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_TSC=y
CONFIG_X86_MCE=y
CONFIG_X86_MCE_NONFATAL=y
# CONFIG_X86_MCE_P4THERMAL is not set
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_MICROCODE is not set
CONFIG_X86_MSR=m
CONFIG_X86_CPUID=m
# CONFIG_EDD is not set
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
# CONFIG_05GB is not set
CONFIG_1GB=y
# CONFIG_2GB is not set
# CONFIG_3GB is not set
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
CONFIG_HAVE_DEC_LOCK=y

#
# Power management options (ACPI, APM)
#
CONFIG_PM=y
# CONFIG_SOFTWARE_SUSPEND is not set

#
# ACPI Support
#
CONFIG_ACPI=y
# CONFIG_ACPI_HT_ONLY is not set
CONFIG_ACPI_BOOT=y
# CONFIG_ACPI_AC is not set
# CONFIG_ACPI_BATTERY is not set
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_TOSHIBA is not set
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
# CONFIG_APM 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_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
# CONFIG_SCx200 is not set
# CONFIG_PCI_LEGACY_PROC is not set
CONFIG_PCI_NAMES=y
# CONFIG_ISA is not set
# CONFIG_MCA is not set
# CONFIG_HOTPLUG is not set

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

#
# 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_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_NBD=m
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_LBD is not set

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

#
# IDE, ATA and ATAPI Block devices
#
CONFIG_BLK_DEV_IDE=y

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

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

#
# SCSI device support
#
# CONFIG_SCSI is not set

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

#
# Fusion MPT device support
#

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

#
# I2O device support
#
# CONFIG_I2O is not set

#
# Networking support
#
CONFIG_NET=y

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

#
# IP: Netfilter Configuration
#
CONFIG_IP_NF_CONNTRACK=m
CONFIG_IP_NF_FTP=m
CONFIG_IP_NF_IRC=m
# CONFIG_IP_NF_TFTP is not set
# CONFIG_IP_NF_AMANDA is not set
CONFIG_IP_NF_QUEUE=m
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP_NF_MATCH_LIMIT=m
CONFIG_IP_NF_MATCH_MAC=m
CONFIG_IP_NF_MATCH_PKTTYPE=m
CONFIG_IP_NF_MATCH_MARK=m
CONFIG_IP_NF_MATCH_MULTIPORT=m
CONFIG_IP_NF_MATCH_TOS=m
CONFIG_IP_NF_MATCH_ECN=m
CONFIG_IP_NF_MATCH_DSCP=m
CONFIG_IP_NF_MATCH_AH_ESP=m
CONFIG_IP_NF_MATCH_LENGTH=m
CONFIG_IP_NF_MATCH_TTL=m
CONFIG_IP_NF_MATCH_TCPMSS=m
CONFIG_IP_NF_MATCH_HELPER=m
CONFIG_IP_NF_MATCH_STATE=m
CONFIG_IP_NF_MATCH_CONNTRACK=m
CONFIG_IP_NF_MATCH_UNCLEAN=m
CONFIG_IP_NF_MATCH_OWNER=m
CONFIG_IP_NF_FILTER=m
CONFIG_IP_NF_TARGET_REJECT=m
CONFIG_IP_NF_TARGET_MIRROR=m
# CONFIG_IP_NF_NAT is not set
CONFIG_IP_NF_MANGLE=m
CONFIG_IP_NF_TARGET_TOS=m
CONFIG_IP_NF_TARGET_ECN=m
CONFIG_IP_NF_TARGET_DSCP=m
CONFIG_IP_NF_TARGET_MARK=m
CONFIG_IP_NF_TARGET_LOG=m
CONFIG_IP_NF_TARGET_ULOG=m
CONFIG_IP_NF_TARGET_TCPMSS=m
# CONFIG_IP_NF_ARPTABLES is not set
# CONFIG_IP_NF_COMPAT_IPCHAINS is not set
# CONFIG_IP_NF_COMPAT_IPFWADM is not set
# CONFIG_IPV6 is not set
CONFIG_XFRM_USER=m

#
# SCTP Configuration (EXPERIMENTAL)
#
CONFIG_IPV6_SCTP__=y
# CONFIG_IP_SCTP is not set
# CONFIG_ATM is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_LLC is not set
# CONFIG_DECNET is not set
# CONFIG_BRIDGE 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_FASTROUTE is not set
# CONFIG_NET_HW_FLOWCONTROL is not set

#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
CONFIG_NETDEVICES=y

#
# ARCnet devices
#
# CONFIG_ARCNET is not set
# CONFIG_DUMMY is not set
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
# CONFIG_ETHERTAP is not set

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

#
# Tulip family network device support
#
# CONFIG_NET_TULIP is not set
# CONFIG_HP100 is not set
CONFIG_NET_PCI=y
# CONFIG_PCNET32 is not set
# CONFIG_AMD8111_ETH is not set
# CONFIG_ADAPTEC_STARFIRE is not set
# CONFIG_B44 is not set
# CONFIG_DGRS is not set
# CONFIG_EEPRO100 is not set
# CONFIG_E100 is not set
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not set
# CONFIG_NE2K_PCI is not set
# CONFIG_8139CP is not set
CONFIG_8139TOO=y
# CONFIG_8139TOO_PIO is not set
# CONFIG_8139TOO_TUNE_TWISTER is not set
# CONFIG_8139TOO_8129 is not set
# CONFIG_8139_OLD_RX_RESET is not set
# CONFIG_SIS900 is not set
# CONFIG_EPIC100 is not set
# CONFIG_SUNDANCE is not set
# CONFIG_TLAN is not set
# CONFIG_VIA_RHINE 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 is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set

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

#
# Token Ring devices (depends on LLC=y)
#
# CONFIG_RCPCI is not set
# CONFIG_SHAPER is not set

#
# Wan interfaces
#
# CONFIG_WAN is not set

#
# Amateur Radio support
#
# CONFIG_HAMRADIO is not set

#
# IrDA (infrared) support
#
# CONFIG_IRDA is not set

#
# ISDN subsystem
#
# CONFIG_ISDN_BOOL 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

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD 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_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 is not set
# CONFIG_SERIAL_8250_EXTENDED is not set

#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=y
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256

#
# I2C support
#
# CONFIG_I2C is not set

#
# I2C Hardware Sensors Mainboard support
#

#
# I2C Hardware Sensors Chip support
#
# CONFIG_I2C_SENSOR is not set

#
# Mice
#
# CONFIG_BUSMOUSE is not set
# CONFIG_QIC02_TAPE is not set

#
# IPMI
#
# CONFIG_IPMI_HANDLER is not set

#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_HW_RANDOM is not set
CONFIG_NVRAM=m
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_FTAPE is not set
CONFIG_AGP=y
# CONFIG_AGP_INTEL is not set
CONFIG_AGP_VIA=y
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_ALI is not set
# CONFIG_AGP_SWORKS is not set
# CONFIG_AGP_AMD_8151 is not set
# CONFIG_DRM is not set
# CONFIG_MWAVE is not set
# CONFIG_RAW_DRIVER is not set
CONFIG_HANGCHECK_TIMER=y

#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set

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

#
# File systems
#
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT2_FS_POSIX_ACL=y
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_FS_MBCACHE=y
CONFIG_REISERFS_FS=m
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
CONFIG_JFS_FS=m
CONFIG_JFS_POSIX_ACL=y
# CONFIG_JFS_DEBUG is not set
# CONFIG_JFS_STATISTICS is not set
CONFIG_FS_POSIX_ACL=y
CONFIG_XFS_FS=m
# CONFIG_XFS_RT is not set
# CONFIG_XFS_QUOTA is not set
CONFIG_XFS_POSIX_ACL=y
CONFIG_MINIX_FS=m
# CONFIG_ROMFS_FS is not set
CONFIG_QUOTA=y
# CONFIG_QFMT_V1 is not set
CONFIG_QFMT_V2=m
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=y
CONFIG_ZISOFS_FS=y
CONFIG_UDF_FS=m

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
CONFIG_VFAT_FS=m
CONFIG_NTFS_FS=y
# CONFIG_NTFS_DEBUG is not set
# CONFIG_NTFS_RW is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_DEVFS_FS=y
CONFIG_DEVFS_MOUNT=y
# CONFIG_DEVFS_DEBUG is not set
CONFIG_DEVPTS_FS=y
CONFIG_TMPFS=y
CONFIG_RAMFS=y

#
# Miscellaneous filesystems
#
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_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=m
CONFIG_NFS_V3=y
CONFIG_NFS_V4=y
CONFIG_NFSD=m
CONFIG_NFSD_V3=y
CONFIG_NFSD_V4=y
CONFIG_NFSD_TCP=y
CONFIG_LOCKD=m
CONFIG_LOCKD_V4=y
CONFIG_EXPORTFS=m
CONFIG_SUNRPC=m
CONFIG_SUNRPC_GSS=m
CONFIG_RPCSEC_GSS_KRB5=m
CONFIG_SMB_FS=y
CONFIG_SMB_NLS_DEFAULT=y
CONFIG_SMB_NLS_REMOTE="cp852"
CONFIG_CIFS=m
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_INTERMEZZO_FS is not set
# CONFIG_AFS_FS is not set

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

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

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

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
# CONFIG_MDA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y

#
# Sound
#
CONFIG_SOUND=y

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=y
CONFIG_SND_SEQUENCER=y
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RTCTIMER=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set

#
# PCI devices
#
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_YMFPCI is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_SONICVIBES is not set
CONFIG_SND_VIA82XX=y

#
# ALSA USB devices
#
# CONFIG_SND_USB_AUDIO is not set

#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set

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

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

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

#
# USB Device Class drivers
#
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_BLUETOOTH_TTY is not set
# CONFIG_USB_MIDI is not set
# CONFIG_USB_ACM is not set
# CONFIG_USB_PRINTER is not set

#
# SCSI support is needed for USB Storage
#

#
# USB Human Interface Devices (HID)
#
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
# CONFIG_HID_FF is not set
# CONFIG_USB_HIDDEV is not set
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_XPAD is not set

#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_SCANNER is not set

#
# USB Multimedia devices
#
# CONFIG_USB_DABUSB is not set

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

#
# USB Network adaptors
#
# CONFIG_USB_CATC is not set
# CONFIG_USB_CDCETHER is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET is not set

#
# USB port drivers
#

#
# USB Serial Converter support
#
# CONFIG_USB_SERIAL is not set

#
# USB Miscellaneous drivers
#
# CONFIG_USB_TIGL is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_BRLVGER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_TEST is not set

#
# Bluetooth support
#
# CONFIG_BT is not set

#
# Profiling support
#
# CONFIG_PROFILING is not set

#
# Kernel hacking
#
CONFIG_DEBUG_KERNEL=y
# CONFIG_DEBUG_STACKOVERFLOW is not set
# CONFIG_DEBUG_SLAB is not set
# CONFIG_DEBUG_IOVIRT is not set
CONFIG_MAGIC_SYSRQ=y
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_SPINLINE is not set
# CONFIG_DEBUG_PAGEALLOC is not set
CONFIG_KALLSYMS=y
CONFIG_DEBUG_SPINLOCK_SLEEP=y
# CONFIG_KGDB is not set
CONFIG_DEBUG_INFO=y
CONFIG_FRAME_POINTER=y
CONFIG_X86_EXTRA_IRQS=y
CONFIG_X86_FIND_SMP_CONFIG=y
CONFIG_X86_MPPARSE=y

#
# Security options
#
# CONFIG_SECURITY is not set

#
# Cryptographic options
#
CONFIG_CRYPTO=y
CONFIG_CRYPTO_HMAC=y
CONFIG_CRYPTO_NULL=m
CONFIG_CRYPTO_MD4=m
CONFIG_CRYPTO_MD5=y
CONFIG_CRYPTO_SHA1=y
CONFIG_CRYPTO_SHA256=m
CONFIG_CRYPTO_SHA512=m
CONFIG_CRYPTO_DES=y
CONFIG_CRYPTO_BLOWFISH=m
CONFIG_CRYPTO_TWOFISH=m
CONFIG_CRYPTO_SERPENT=m
CONFIG_CRYPTO_AES=m
CONFIG_CRYPTO_DEFLATE=m
# CONFIG_CRYPTO_TEST is not set

#
# Library routines
#
CONFIG_CRC32=m
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=m
CONFIG_X86_BIOS_REBOOT=y

#2 lore raw
Quoted 10 lines · Andrei Ivanov

:(

make -f scripts/Makefile.build obj=fs/devfs
gcc -Wp,-MD,fs/devfs/.base.o.d -D__KERNEL__ -Iinclude -Wall

(quoted diff) +0 -4
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-pipe -mpreferred-stack-boundary=2 -march=athlon 
-Iinclude/asm-i386/mach-default -nostdinc -iwithprefix include    
-DKBUILD_BASENAME=base -DKBUILD_MODNAME=devfs -c -o fs/devfs/base.o 
Quoted 8 lines

fs/devfs/base.c
fs/devfs/base.c: In function `devfsd_notify':
fs/devfs/base.c:1426: too many arguments to function devfsd_notify_de' fs/devfs/base.c: In function devfs_register':
fs/devfs/base.c:1460: warning: too few arguments for format make[2]: *** [fs/devfs/base.o] Error 1
make[1]: *** [fs/devfs] Error 2
make: *** [fs] Error 2

Like this I guess.

fs/devfs/base.c renamed from fs/devfs/base.c~devfs-build-fix +3 -2
diff -puN fs/devfs/base.c~devfs-build-fix fs/devfs/base.c
@@ -1423,7 +1423,7 @@ static int devfsd_notify_de (struct devf
 static void devfsd_notify (struct devfs_entry *de,unsigned short type)
 {
 	devfsd_notify_de(de, type, de->mode, current->euid,
-			 current->egid, &fs_info, 0);
+			 current->egid, &fs_info);
 } 
 
 
@@ -1457,7 +1457,8 @@ devfs_handle_t devfs_register (devfs_han
     struct devfs_entry *de;
 
     if (flags)
-	printk(KERN_ERR "%s called with flags != 0, please fix!\n");
+	printk(KERN_ERR "%s called with flags != 0, please fix!\n",
+			__FUNCTION__);
 
     if (name == NULL)
     {

_

#3 lore raw

i'd like to note this was a problem when i was building a bk pull last night...

seth

Quoted 51 lines · Andrew Morton
Quoted 8 lines · Andrei Ivanov

:(

make -f scripts/Makefile.build obj=fs/devfs
gcc -Wp,-MD,fs/devfs/.base.o.d -D__KERNEL__ -Iinclude -Wall

(quoted diff) +0 -4
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=athlon
-Iinclude/asm-i386/mach-default -nostdinc -iwithprefix include
-DKBUILD_BASENAME=base -DKBUILD_MODNAME=devfs -c -o fs/devfs/base.o
Quoted 8 lines

fs/devfs/base.c
fs/devfs/base.c: In function `devfsd_notify':
fs/devfs/base.c:1426: too many arguments to function devfsd_notify_de' fs/devfs/base.c: In function devfs_register':
fs/devfs/base.c:1460: warning: too few arguments for format make[2]: *** [fs/devfs/base.o] Error 1
make[1]: *** [fs/devfs] Error 2
make: *** [fs] Error 2

Like this I guess.

diff -puN fs/devfs/base.c~devfs-build-fix fs/devfs/base.c

fs/devfs/base.c renamed from fs/devfs/base.c~devfs-build-fix +3 -2
@@ -1423,7 +1423,7 @@ static int devfsd_notify_de (struct devf
 static void devfsd_notify (struct devfs_entry *de,unsigned short type)
 {
 	devfsd_notify_de(de, type, de->mode, current->euid,
-			 current->egid, &fs_info, 0);
+			 current->egid, &fs_info);
 }
 
 
@@ -1457,7 +1457,8 @@ devfs_handle_t devfs_register (devfs_han
     struct devfs_entry *de;
 
     if (flags)
-	printk(KERN_ERR "%s called with flags != 0, please fix!\n");
+	printk(KERN_ERR "%s called with flags != 0, please fix!\n",
+			__FUNCTION__);
 
     if (name == NULL)
     {

_

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

#4 lore raw
In reply to Andrew Morton

I see this at boot time:

Trying to free free IRQ12
Trying to free free IRQ12
Trying to free free IRQ12
Trying to free free IRQ12

and /proc/interrupts says:

CPU0

  0:     323354          XT-PIC  timer
  1:       1282          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  5:          1          XT-PIC  acpi
  8:          2          XT-PIC  rtc
 11:       1562          XT-PIC  uhci-hcd, eth0
 12:          0          XT-PIC  i8042, i8042, i8042, i8042, VIA686A
 14:       1752          XT-PIC  ide0
 15:         10          XT-PIC  ide1
NMI:          0
LOC:     323237
ERR:        745

on 2.5.67-mm1:

CPU0

  0:      52985          XT-PIC  timer
  1:        256          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  5:          1          XT-PIC  acpi
  8:          2          XT-PIC  rtc
 11:         75          XT-PIC  uhci-hcd, eth0
 12:          0          XT-PIC  VIA686A
 14:       1892          XT-PIC  ide0
 15:         10          XT-PIC  ide1
NMI:          0
LOC:      52883
ERR:        130
#5 lore raw

Re: 2.5.67-mm4 devfs don't compile

In reply to Andrew Morton

I'd like to try mm4 and see how AS runs on scsi, but I got a compile error in devfs:

gcc -Wp,-MD,fs/devfs/.base.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=pentium2 -Iinclude/asm-i386/mach-default
-fomit-frame-pointer -nostdinc -iwithprefix include -DKBUILD_BASENAME=base
-DKBUILD_MODNAME=devfs -c -o fs/devfs/base.o fs/devfs/base.c fs/devfs/base.c: In function `devfsd_notify':
fs/devfs/base.c:1426: too many arguments to function devfsd_notify_de' fs/devfs/base.c: In function devfs_register':
fs/devfs/base.c:1460: warning: too few arguments for format fs/devfs/base.c:1460: warning: too few arguments for format make[2]: *** [fs/devfs/base.o] Error 1
make[1]: *** [fs/devfs] Error 2
make: *** [fs] Error 2

Helge Hafting

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

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/2.5.67/2.5.67-mm4/

. A bunch of anticipatory scheduler patches.

For the first time ever, AS is working well with both IDE and SCSI under all the usual tests.

Quoted 6 lines

It works just fine on SCSI with zero TCQ tags, and with four TCQ tags. At eight tags, read-vs-write performace is starting to measurably drop off. At 32 tags it is about 2000x slower than at zero or four tags.

My recommendation, as always, is to disable SCSI TCQ completely. If you really must, set it to four tags.

What about drivers that bypass de SCSI layer?
I administer a server with a Mylex RAID controller (DAC960)...

Regards,
Toon.

#6 lore raw

Re: 2.5.67-mm4 devfs don't compile

In reply to Helge Hafting

On Fri, 18 Apr 2003 18:17:32 +0200 Helge Hafting <[email protected]> wrote:

| I'd like to try mm4 and see how AS runs on scsi, but
| I got a compile error in devfs:
| 
|   gcc -Wp,-MD,fs/devfs/.base.o.d -D__KERNEL__ -Iinclude -Wall 
| -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe 
| -mpreferred-stack-boundary=2 -march=pentium2 -Iinclude/asm-i386/mach-default 
| -fomit-frame-pointer -nostdinc -iwithprefix include    -DKBUILD_BASENAME=base 
| -DKBUILD_MODNAME=devfs -c -o fs/devfs/base.o fs/devfs/base.c
| fs/devfs/base.c: In function `devfsd_notify':
| fs/devfs/base.c:1426: too many arguments to function `devfsd_notify_de'
| fs/devfs/base.c: In function `devfs_register':
| fs/devfs/base.c:1460: warning: too few arguments for format
| fs/devfs/base.c:1460: warning: too few arguments for format
| make[2]: *** [fs/devfs/base.o] Error 1
| make[1]: *** [fs/devfs] Error 2
| make: *** [fs] Error 2

Hi,

Please look at today's email archives. I've seen at least 2 patches posted to fix this.

--
~Randy

#8 lore raw
In reply to Toon van der Pas
Quoted 5 lines · Toon van der Pas
Quoted 3 lines

My recommendation, as always, is to disable SCSI TCQ completely. If you really must, set it to four tags.

What about drivers that bypass de SCSI layer?

Nobody knows what will happen actually. Good point.

Quoted 1 line

I administer a server with a Mylex RAID controller (DAC960)...

I shall dig out my ExTrEmErAiD2000 and run the tests.

#9 lore raw
In reply to Toon van der Pas
Quoted 13 lines · Toon van der Pas
Quoted 11 lines · Andrew Morton

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/2.5.67/2.5.67-mm4/

. A bunch of anticipatory scheduler patches.

For the first time ever, AS is working well with both IDE and SCSI under all the usual tests.

It works just fine on SCSI with zero TCQ tags, and with four TCQ tags. At eight tags, read-vs-write performace is starting to measurably drop off. At 32 tags it is about 2000x slower than at zero or four tags.

Quoted 7 lines
Quoted 3 lines

My recommendation, as always, is to disable SCSI TCQ completely. If you really must, set it to four tags.

What about drivers that bypass de SCSI layer?
I administer a server with a Mylex RAID controller (DAC960)...

I'd say they will show the same behaviour. As far as we can tell its an interaction between badly behaving TCQ disks (those which allow lots of writes to bypass a read), and the anticipatory scheduler. We will be working on fixing this so those inclined can use huge numbers of outstanding tags without things going too haywire.

#10 lore raw
In reply to Andrew Morton
Quoted 2 lines · On Fri, 18 Apr 2003 01:45:36 -0700 Andrew Morton <[email protected]> wrote:

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/2.5.67/2.5.67-mm4/

I got this oops while loading xchat2:

Unable to handle kernel paging request at virtual address 6b6b6bf7
 printing eip:
c0107643
*pde = 00000000
Oops: 0000 [#1]
CPU:    1
EIP:    0060:[<c0107643>]    Not tainted VLI
EFLAGS: 00210202

EIP is at release_thread+0x13/0x60
eax: 6b6b6b6b ebx: ce9a2060 ecx: 00000000 edx: 00200296
esi: c2a90000 edi: ce9a265c ebp: c2a91efc esp: c2a91ee8
ds: 007b es: 007b ss: 0068
Process xchat (pid: 1389, threadinfo=c2a90000 task=ca36b310)

Stack: cffe77e8 c03573a0 ce9a2060 c2a90000 ce9a2060 c2a91f1c c012400a ce9a2060 
       00000000 c68a7df4 ce9a2060 00000586 bfffdc14 c2a91f48 c0125fe0 ce9a2060 
       fffffe00 ca36b310 00000000 c03571c0 c2a9007b ce9a2104 ce9a2060 ca36b310 
Call Trace:
 [<c012400a>] release_task+0x1ba/0x270
 [<c0125fe0>] wait_task_zombie+0x170/0x1d0
 [<c01264f7>] sys_wait4+0x267/0x2b0
 [<c0131011>] sys_rt_sigaction+0xd1/0x100
 [<c011d590>] default_wake_function+0x0/0x20
 [<c011d590>] default_wake_function+0x0/0x20
 [<c0109a5f>] syscall_call+0x7/0xb

Code: 66 89 ba f4 02 00 00 5f 5d c3 8d b4 26 00 00 00 00 8d bc 27 00 00 00 00 55 89 e5 83 ec 14 89 5d fc 8b 5d 08 8b 43 5c 85 c0 74 0a <8b> 90 8c 00 00 00 85 d2 75 13 89 5d 08 8b 5d fc 89 ec 5d e9 f5 

Those where the last steps of xchat it seems:

Apr 19 18:08:18 estel modprobe: FATAL: Module ipv6 not found. 
Apr 19 18:08:18 estel last message repeated 3 times
Apr 19 18:08:20 estel identd[1404]: started
Apr 19 18:08:21 estel kernel: Unable to handle kernel paging request at virtual 

address 6b6b6bf7

I can't reproduce it again...machine is p3 smp

#11 lore raw
Quoted 22 lines · Arador
Quoted 2 lines · On Fri, 18 Apr 2003 01:45:36 -0700 Andrew Morton <[email protected]> wrote:

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/2.5.67/2.5.67-mm4/

I got this oops while loading xchat2:

Unable to handle kernel paging request at virtual address 6b6b6bf7
 printing eip:
c0107643
*pde = 00000000
Oops: 0000 [#1]
CPU:    1
EIP:    0060:[<c0107643>]    Not tainted VLI
EFLAGS: 00210202

EIP is at release_thread+0x13/0x60
eax: 6b6b6b6b ebx: ce9a2060 ecx: 00000000 edx: 00200296
esi: c2a90000 edi: ce9a265c ebp: c2a91efc esp: c2a91ee8
ds: 007b es: 007b ss: 0068
Process xchat (pid: 1389, threadinfo=c2a90000 task=ca36b310)

Quoted 11 lines
Stack: cffe77e8 c03573a0 ce9a2060 c2a90000 ce9a2060 c2a91f1c c012400a ce9a2060 
       00000000 c68a7df4 ce9a2060 00000586 bfffdc14 c2a91f48 c0125fe0 ce9a2060 
       fffffe00 ca36b310 00000000 c03571c0 c2a9007b ce9a2104 ce9a2060 ca36b310 
Call Trace:
 [<c012400a>] release_task+0x1ba/0x270
 [<c0125fe0>] wait_task_zombie+0x170/0x1d0
 [<c01264f7>] sys_wait4+0x267/0x2b0
 [<c0131011>] sys_rt_sigaction+0xd1/0x100
 [<c011d590>] default_wake_function+0x0/0x20
 [<c011d590>] default_wake_function+0x0/0x20
 [<c0109a5f>] syscall_call+0x7/0xb

OK, we died in release_thread:

266 if (dead_task->mm->context.size) {

the `mm' has been returned to slab.

Something is wrong with the task_struct refcounting, there is no doubt about that. Several people have reported instances where the slab use-after-free detector has detected task_struct.usage
being decremented against a freed task_struct. Probably this
is the same bug, detected by other means.

It has been seen on uniprocessor too. We don't know what is causing it.