2004-01-28 07:34:34

by Andrew Morton

[permalink] [raw]
Subject: 2.6.2-rc2-mm1


ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.2-rc2/2.6.2-rc2-mm1/


- From now on, -mm kernels will contain the latest contents of:

Linus's tree: linus.patch
The ACPI tree: acpi.patch
Vojtech's tree: input.patch
Jeff's tree: netdev.patch
The ALSA tree: alsa.patch

If anyone has any more external trees which need similar treatment,
please let me know.

- Various fixes. Nothing stands out.




Changes since 2.6.2-rc1-mm3:


linus.patch

Latest linus tree

-alsa-101.patch
+alsa.patch

Latest ALSA tree

netdev.patch

Latest net-drivers tree

+input.patch

Latest input driver tree

-spinlock-debugging-fix.patch
-ide-pdc4030-build-fix.patch
-acpi-support-FADT-rev3-XDSDT-table.patch
-acpi-frees-irq0.patch
-gcc-35-lmc.patch
-gcc-35-ne2k-pci.patch
-ia64-include-i2c-in-config.patch

Merged into Linus's tree

-alsa-cmipci-joystick-fix.patch

Merged into ALSA tree

-r8169-race-fix.patch

Merged into net driver tree

+kgdb-x86_64-support.patch

x86_64 KGDB support

+kernel_flag-fixes.patch

Clean up the spinlock debugging fix

+pmdisk-needs-uts_name.patch

Build fix

-big-pmac-update.patch
+big-pmac-3.patch

Updated powermac patch

+ppc64-config_h.patch
+ppc64-export_symbols.patch
+ppc64-lparcfg_fixes.patch
+ppc64-slb_rewrite.patch
+ppc64-xmon-sysrq.patch

PPC64 work

-sysfs-pin-kobject.patch

Dropped - was implicated in some oopses.

+vm-rss-limit-enforcement.patch

Attempt to enforce per-process resident set size limits.

+add-noinline-attribute.patch
+dont-inline-rest_init.patch
+kernel_thread_helper-section-fix.patch

More fiddling with gcc options.

+gcc-35-netlink.patch
+gcc-35-packet.patch
+gcc-35-x86_64.patch

More gcc-3.5 fixes

+ide-pdc4030-build-fix.patch

IDE compile fix

-kconfig-use-select.patch
+kconfig-use-select-2.patch

Updated

+edd-url-fix.patch

Documentation fix

-md-06-allow-partitioning.patch

Dropped - crashy.

-md-07-md-appear-in-proc-partitions.patch

Dropped - we're doing this differently.

+proc-partitions-omit-removable-media.patch

Skip removable media in /proc/paritions.

+posix-timers-fixes.patch

posix timers cleanups and fixes

-SIGRTMAX-fix.patch

Included in posix-timers-fixes.patch

-ufs-mount-noisiness.patch
-ufs-doc-update.patch

Dropped - we can solve this problem by trying reiserfs earlier in boot.

+futex-redundant-test.patch

Remove unneeded futex code.

+CONFIG_SYSRQ-fixes.patch

Somearchitectures were using the wrong CONFIG option

+dz-verify_area-removal.patch

Driver cleanup

+oss-c99-fixes.patch

c99ify some OSS drivers

+usb-sddr09-documentation.patch

Document some SmartMedia internals

+console-makefile-cleanup.patch

Makefile fixes

+oprofile-ringbuffer-wrap-fix.patch
+oprofile-alpha-fix.patch

oprofile fixes

+copy_namespace-enomem-fix.patch

Handle ENOMEM

+vgastate-missing-iounmaps.patch
+vga16fb-missing-iounmap.patch

Add some missing iounmap()s on error paths

+compat_siginfo-consolidation.patch

Consolidate some compat layer code.

+compat_siginfo-consolidation-fix.patch

Fix a warning in it

+d_path-needs-vfsmount_lock.patch
+namei-needs-vfsmount_lock.patch

Avoid some possible lookup-vs-[u]mount races

+try-reiserfs-earlier.patch

Try reiserfs much earlier in the boot sequence - reiserfs puts its
superblock in a weird place and tends to get false positives. (Should be
fixed in mkreiserfs!)

+ufs-use-silent.patch

Honour the `silent' option in ufs_fill_super().

+time-rounding-accuracy.patch

Improve rounding accuracy in the timekeeping code

+proc-stat-btime-fix-2.patch

Make /proc/stat:btime stay still

+menuconfig-choice-display-fix.patch

menufix help text fixes

+use-uint32_t-for-crosscompiling.patch

cross-compilation fix

+ac97-remove-fix.patch

Avoid oopses when removing the ac97 OSS driver

+show_task-fix.patch

Part-fix possible oops in show_task.




All 376 patches


linus.patch

mm.patch
add -mmN to EXTRAVERSION

alsa.patch

netdev.patch

input.patch

speedo-warning-fix.patch
eepro100.c warning fix

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

kgdb-doc-fix.patch
correct kgdb.txt Documentation link (against 2.6.1-rc1-mm2)

kgdboe-netpoll.patch
kgdb-over-ethernet via netpoll

kgdboe-non-ia32-build-fix.patch

kgdb-warning-fixes.patch
kgdb warning fixes

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

x86_64-warnings-fix.patch
Fix two warnings on x86-64

kernel_flag-fixes.patch
Fix kernel_flag again

pmdisk-needs-uts_name.patch
pmdisk.c needs utsname.h

ppc32-MBX-mac-address-fix.patch
ppc32: MBX MAC address fix

ppc32-watchdog-defines-fixes.patch
ppc32: watchdog definition fixes

big-pmac-3.patch

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

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

psmouse-drop-timed-out-bytes.patch
psmouse: log and discard timed out bytes

ppc64-include_guards.patch
ppc64: add missing include guards, from Nathan Lynch

ppc64-lparcfg_write.patch
ppc64: lparcfg_write

ppc64-no_device_tree.patch
ppc64: fixes for compile with CONFIG_PROC_DEVICETREE=n, from Nathan Lynch

ppc64-ppc32_timer_create.patch
ppc64: missing set_fs(KERNEL_DS) in ppc32_timer_create, from Marcus Meissner

ppc64-defconfig_update.patch
ppc64: defconfig update

ppc64-use-preferred-console.patch
ppc64: Use preferred_console to select a reasonable default console

ppc64-config_h.patch
ppc64: add/remove config.h

ppc64-export_symbols.patch
ppc64: export memchr and csum_partial

ppc64-lparcfg_fixes.patch
ppc64: fix && vs & bugs in lparcfg, from Julie DeWandel

ppc64-slb_rewrite.patch
ppc64: SLB rewrite

ppc64-xmon-sysrq.patch

ppc64-bar-0-fix.patch
Allow PCI BARs that start at 0

ppc64-reloc_hide.patch

nuke-noisy-printks.patch
quiet down SMP boot messages

invalidate_inodes-speedup.patch
invalidate_inodes speedup
more invalidate_inodes speedup fixes

cfq-4.patch
CFQ io scheduler
CFQ fixes

config_spinline.patch
uninline spinlocks for profiling accuracy.

ramdisk-cleanup.patch

intel8x0-cleanup.patch
intel8x0 cleanups

pdflush-diag.patch

zap_page_range-debug.patch
zap_page_range() debug

get_user_pages-handle-VM_IO.patch

support-zillions-of-scsi-disks.patch
support many SCSI disks

pci_set_power_state-might-sleep.patch

CONFIG_STANDALONE-default-to-n.patch
Make CONFIG_STANDALONE default to N

extra-buffer-diags.patch

CONFIG_SYSFS.patch
From: Pat Mochel <[email protected]>
Subject: [PATCH] Add CONFIG_SYSFS

CONFIG_SYSFS-boot-from-disk-fix.patch

slab-leak-detector.patch
slab leak detector

loop-remove-blkdev-special-case.patch

loop-highmem.patch
remove useless highmem bounce from loop/cryptoloop

loop-bio-handling-fix.patch
loop: BIO handling fix

loop-init-fix.patch
loop.c doesn't fail init gracefully

loop-remove-redundant-assignment.patch
loop: remove redundant initialisation

acpi-pm-timer-3.patch
ACPI PM timer version 3

acpi-pm-timer-kill-printks.patch

use-pmtmr-for-delay_pmtmr.patch
Subject: Re: pester [email protected]

use-TSC-for-delay_pmtmr.patch
use-tsc-for-delay_pmtmr.patch

scale-nr_requests.patch
scale nr_requests with TCQ depth

truncate_inode_pages-check.patch

local_bh_enable-warning-fix.patch

pnp-fix-2.patch
PnP Fixes #2

pnp-fix-3.patch
PnP Fixes #3

alsa-pnp-fix.patch
ALSA pnp fix

sysfs-class-10-vc.patch
From: Greg KH <[email protected]>
Subject: [PATCH] add sysfs class support for vc devices [10/10]

sched-find_busiest_node-resolution-fix.patch
sched: improved resolution in find_busiest_node

sched-domains.patch
sched: scheduler domain support

sched-clock-fixes.patch
fix sched_clock()

sched-build-fix.patch
sched: fix for NR_CPUS > BITS_PER_LONG

sched-sibling-map-to-cpumask.patch
sched: cpu_sibling_map to cpu_mask

p4-clockmod-sibling-map-fix.patch
p4-clockmod sibling_map fix

p4-clockmod-more-than-two-siblings.patch
p4-clockmod: handle more than two siblings

sched-domains-i386-ht.patch
sched: implement domains for i386 HT

sched-find_busiest_group-fix.patch
sched: Fix CONFIG_SMT oops on UP

sched-domain-tweak.patch
i386-sched-domain code consolidation

sched-no-drop-balance.patch
sched: handle inter-CPU jiffies skew

sched-arch_init_sched_domains-fix.patch
Change arch_init_sched_domains to use cpu_online_map

sched-find_busiest_group-clarification.patch
sched: clarify find_busiest_group

sched-remove-noisy-printks.patch

acpi-numa-printk-level-fixes.patch
ACPI NUMA quiet printk and cleanup

futex-wakeup-debug.patch

ide-siimage-seagate.patch

ide-ali-UDMA6-support.patch
IDE: Add support of UDMA6 on ALi rev > 0xc4

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

laptop-mode-2.patch
laptop-mode for 2.6, version 6
Documentation/laptop-mode.txt
laptop-mode documentation updates

laptop-mode-doc-update-4.patch
Laptop mode documentation addition

vt-locking-fixes-2.patch
VT locking fixes

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

use-soft-float.patch
Use -msoft-float

DRM-cvs-update.patch
DRM cvs update

drm-include-fix.patch

kthread-primitive.patch
kthread primitive

kthread-block-all-signals.patch
kthread: block all signals

use-kthread-primitives.patch
Use kthread primitives

ide-pci-modules-fix.patch
fix issues with loading PCI IDE drivers as modules

limit-hash-table-sizes.patch
Limit hash table size

slab-poison-hex-dumping.patch
slab: hexdump for check_poison

pentium-m-support.patch
add Pentium M and Pentium-4 M options

old-gcc-supports-k6.patch
gcc 2.95 supports -march=k6 (no need for check_gcc)

amd-elan-is-a-different-subarch.patch
AMD Elan is a different subarch

better-i386-cpu-selection.patch
better i386 CPU selection

cpu-options-default-to-y.patch
cpu options default to "yes"

i386-default-to-n.patch

serial-02-fixups.patch
serial fixups (untested)
serial-02 fixes
serial-02 fixes

serial-03-fixups.patch
more serial driver fixups
serial-03 fixes
serial-03 fixes

ia32-MSI-vector-handling-fix.patch
ia32 MSI vector handling fix

aha152x-update.patch
aha152x update

aha152x-update-fix.patch
aha152x update fix

PP0-full_list-RC1.patch
parport fixes [1/5]

PP1-parport_locking-RC1.patch
parport fixes [2/5]

PP2-enumerate1-RC1.patch
parport fixes [3/5]

PP2-enumerate1-RC1-fix.patch

PP3-parport_gsc-RC1.patch
parport fixes [4/5]

PP4-bwqcam-RC1.patch
parport fixes [5/5]

bw-qcam-typo-fix.patch
bw-qcam typo fix

PP5-daisy-RC1.patch
parport fixes [2/5]

PI0-schedule_claimed-RC1.patch
paride cleanups and fixes [1/24]

PI1-expansion-RC1.patch
paride cleanups and fixes [2/24]

PI2-crapectomy-RC1.patch
paride cleanups and fixes [3/24]

PI3-ps_ready-RC1.patch
paride cleanups and fixes [4/24]

PI4-pd_busy-RC1.patch
paride cleanups and fixes [5/24]

PI5-do_pd_io-RC1.patch
paride cleanups and fixes [6/24]

PI6-bogus_requests-RC1.patch
paride cleanups and fixes [7/24]

PI7-claim_reorder-RC1.patch
paride cleanups and fixes [8/24]

PI8-do_pd_request1-RC1.patch
paride cleanups and fixes [9/24]

PI9-run_fsm-RC1.patch
paride cleanups and fixes [10/24]

PI10-action-RC1.patch
paride cleanups and fixes [2/24]

PI11-disconnect-RC1.patch
paride cleanups and fixes [12/24]

PI12-unclaim-RC1.patch
paride cleanups and fixes [13/24]

PI13-run_fsm-loop-RC1.patch
paride cleanups and fixes [14/24]

PI14-next_request-RC1.patch
paride cleanups and fixes [15/24]

PI15-do_pd_io-gone-RC1.patch
paride cleanups and fixes [16/24]

PI16-pd_claimed-RC1.patch
paride cleanups and fixes [17/24]

PI17-connect-RC1.patch
paride cleanups and fixes [18/24]

PI18-reorder-RC1.patch
paride cleanups and fixes [19/24]

PI19-special1-RC1.patch
paride cleanups and fixes [20/24]

PI20-gendisk_setup-RC1.patch
paride cleanups and fixes [21/24]

PI21-present-RC1.patch
paride cleanups and fixes [22/24]

PI22-pd_init_units-RC1.patch
paride cleanups and fixes [23/24]

PI23-special2-RC1.patch
paride cleanups and fixes [24/24]

PI24-paride64-RC1.patch
paride cleanups and fixes [25/24]

IMM0-lindent-RC1.patch
drivers/scsi/imm.c cleanups and fixes [1/8]

IMM1-references-RC1.patch
drivers/scsi/imm.c cleanups and fixes [2/8]

IMM2-claim-RC1.patch
drivers/scsi/imm.c cleanups and fixes [3/8]

IMM3-scsi_module-RC1.patch
drivers/scsi/imm.c cleanups and fixes [4/8]

IMM4-imm_probe-RC1.patch
drivers/scsi/imm.c cleanups and fixes [5/8]

IMM5-imm_wakeup-RC1.patch
drivers/scsi/imm.c cleanups and fixes [6/8]

IMM6-imm_hostdata-RC1.patch
drivers/scsi/imm.c cleanups and fixes [7/8]

IMM7-imm_attach-RC1.patch
drivers/scsi/imm.c cleanups and fixes [8/8]

PPA0-ppa_lindent-RC1.patch
drivers/scsi/ppa.c cleanups and fixes [1/9]

PPA1-ppa_references-RC1.patch
drivers/scsi/ppa.c cleanups and fixes [2/9]

PPA2-ppa_claim-RC1.patch
drivers/scsi/ppa.c cleanups and fixes [3/9]

PPA3-ppa_scsi_module-RC1.patch
drivers/scsi/ppa.c cleanups and fixes [4/9]

PPA4-ppa_probe-RC1.patch
drivers/scsi/ppa.c cleanups and fixes [5/9]

PPA5-ppa_wakeup-RC1.patch
drivers/scsi/ppa.c cleanups and fixes [6/9]

PPA6-ppa_hostdata-RC1.patch
drivers/scsi/ppa.c cleanups and fixes [7/9]

PPA7-ppa_attach-RC1.patch
drivers/scsi/ppa.c cleanups and fixes [8/9]

PPA8-ppa_lock_fix-RC1.patch
drivers/scsi/ppa.c cleanups and fixes [9/9]

nfs-01-rpc_pipe_timeout.patch
NFSv4/RPCSEC_GSS: userland upcall timeouts

nfs-02-auth_gss.patch
RPCSEC_GSS: More fixes to the upcall mechanism.

nfs-03-pipe_close.patch
RPCSEC_GSS: detect daemon death

nfs-04-fix_nfs4client.patch
NFSv4: oops fix

nfs-05-fix_idmap.patch
NFSv4: client name fixes

nfs-06-fix_idmap2.patch
NFSv4: Bugfixes and cleanups client name to uid mapper.

nfs-07-gss_krb5.patch
RPCSEC_GSS: Make it safe to share crypto tfms among multiple threads.

nfs-08-gss_missingkfree.patch
RPCSEC_GSS: Oops. Major memory leak here.

nfs-09-memleaks.patch
RPCSEC_GSS: Fix two more memory leaks found by the stanford checker.

nfs-10-refleaks.patch
RPCSEC_GSS: Fix yet more memory leaks.

nfs-11-krb5_cleanup.patch
RPCSEC_GSS: krb5 cleanups

nfs-12-gss_nokmalloc.patch
RPCSEC_GSS: memory allocation fixes

nfs-13-krb5_integ.patch
RPCSEC_GSS: Client-side only support for rpcsec_gss integrity protection.

nfs-14-clnt_seqno_to_req.patch
RPCSEC_GSS: gss sequence number history fixes

nfs-15-encode_pages_tail.patch
XDR: page encoding fix

nfs-16-rpc_clones.patch
RPC: transport sharing

nfs-17-rpc_clone2.patch
NFSv4/RPCSEC_GSS: use RPC cloning

nfs-18-renew_xdr.patch
NFSv4: make RENEW a standalone RPC call

nfs-19-renewd.patch
NFSv4: make lease renewal daemon per-server

nfs-20-fsinfo_xdr.patch
NFSv4: Split the code for retrieving static server information out of the GETATTR compound.

nfs-21-setclientid_xdr.patch
NFSv4: Make SETCLIENTID and SETCLIENTID_CONFIRM standalone operations

nfs-22-errno.patch
NFSv4: errno fixes

nfs-23-open_reclaim.patch
NFSv4: Preparation for the server reboot recovery code.

nfs-24-state_recovery.patch
NFSv4: Basic code for recovering file OPEN state after a server reboot.

nfs-25-soft.patch
RPC/NFSv4: Allow lease RENEW calls to be soft

nfs-26-sock_disconnect.patch
RPC: TCP timeout fixes

nfs-27-atomic_open.patch
NFSv4: Atomic open()

nfs-28-open_owner.patch
NFSv4: Share open_owner structs

nfs-29-fix_idmap3.patch
NFSv4: fix multi-partition mount oops

nfs_idmap-warning-fix.patch

nfs-30-lock.patch
NFSv4: Add support for POSIX file locking.

nfs-old-gcc-fix.patch
NFS: fix for older gcc's

nfs-31-attr.patch
NFSv2/v3/v4: New attribute revalidation code

ghash.patch
ghash.h from 2.4

tty_io-uml-fix.patch
uml: make tty_init callable from UML functions

uml-update.patch
UML update

blk_congestion_wait-return-remaining.patch
return remaining jiffies from blk_congestion_wait()

vmscan-remove-priority.patch
mm/vmscan.c: remove unused priority argument.

kswapd-throttling-fixes.patch
kswapd throttling fixes

vm-rss-limit-enforcement.patch
RSS limit enforcement for 2.6

kbuild-unmangle-include-options.patch
kbuild: Unmangle include options for gcc

sunrpc-sleep_on-removal.patch
remove sleep_on from sunrpc

sisfb-update.patch
sisfb update

add-config-for-mregparm-3-ng.patch
Add CONFIG for -mregparm=3

add-config-for-mregparm-3-ng-fixes.patch
arch/i386/Makefile,scripts/gcc-version.sh,Makefile small fixes

use-funit-at-a-time.patch
Use -funit-at-a-time on ia32

add-noinline-attribute.patch
Add noinline attribute

dont-inline-rest_init.patch
use noinline for rest_init()

kernel_thread_helper-section-fix.patch
Force kernel_thread_helper() into .text

fix-more-gcc-34-warnings.patch
Fix more gcc 3.4 warnings

gcc-35-netlink.patch
gcc-3.5: netlink

gcc-35-packet.patch
gcc-3.5: af_packet

gcc-34-string-fixes.patch
string fixes for gcc 3.4

gcc-35-bio_phys_segments.patch
gcc-3.5: fix extern inline decls

gcc-35-ident-warnings.patch
gcc-3.5: #ident fixes

gcc-35-binfmt_elf-warning-fix.patch
gcc-3.5: binfmt_elf warning fix

gcc-35-pcm_misc-warnings.patch
gcc-3.5: pcm_misc.c warnings

gcc-35-pcm_plugin-warnings.patch

gcc-35-reiserfs-fixes.patch
gcc-3.5: reiserfs fixes

gcc-35-tcp_put_port-fix.patch
gcc-3.5: tcp_put_port() fix

gcc-35-ip6-ndisc-fix.patch
gcc-3.5: ipv6/ndisc.c fixes

gcc-35-ide-fix.patch
gcc-3.5: ide.h fixes

gcc-35-elevator.patch
gcc-3.5: elevator.h fixes

gcc-35-keyboard-fixes.patch
gcc-3.5: keyboard.c fixes

gcc-35-exit-fix.patch
gcc-3.5: _exit fix

gcc-35-parport.patch
Fix inlining failure (all GCCs) in parport

gcc-34-compilation-fixes.patch
More 3.4 compilation fixes

gcc-35-seq_clientmgr.patch
gcc-3.5: sound/core/seq/seq_clientmgr.c

gcc-35-tg3.patch
gcc-3.5: tg3.c warnings

gcc-35-parport2.patch
gcc-3.5: parport warnings

gcc-35-i810_accel.patch
gcc-3.5: i810_accel fix

gcc-35-puts-fix.patch
gcc-3.5: misc.c warning fix

gcc-35-filesystems.patch
gcc-3.5: fsfilter.h, ntfs.h

gcc-35-zatm-fix.patch
gcc-3.5: zatm.c fix

gcc-35-vxfs-idents.patch
gcc-3.5: vxfs fixes

gcc-35-hfs-fix.patch
gcc-3.5: hfs fixes

gcc-35-uPD98402.patch
gcc-3.5: drivers/atm/uPD98402.c

gcc-35-intermezzo.patch
gcc-3.5: intermezzo

gcc-35-iphase.patch
gcc-3.5: iphase.c

gcc-35-suni.patch
gcc-3.5: suni.c

gcc-35-fore2000e.patch
gcc-3.5: drivers/atm/fore200e.c

gcc-35-ncpfs.patch
gcc-3.5: ncpfs

gcc-35-eni.patch
gcc-3.5: drivers/atm/eni.c

gcc-35-xfs.patch
gcc-3.5: XFS fixes

gcc-35-idt77105.patch
gcc-3.5: drivers/atm/idt77105.c

gcc-35-atmtcp.patch
gcc-3.5: drivers/atm/atmtcp.c

gcc-35-appletalk.patch
gcc-3.5: appletalk

gcc-35-he.patch
gcc-3.5: drivers/atm/he.c

gcc-35-atm-common.patch
gcc-3.5: net/atm/common.c

gcc-35-it87.patch
gcc-3.5: drivers/i2c/chips/it87.c

gcc-35-econet.patch
gcc-3.5: econet

gcc-35-decnet.patch
gcc-3.5: decnet

gcc-35-radeon.patch
gcc-3.5: radeon

gcc-35-sc1200.patch
gcc-3.5: drivers/ide/pci/sc1200.c

gcc-35-ipx.patch
gcc-3.5: ipx

gcc-35-irda.patch
gcc-3.5: irda

gcc-35-raid6x86.patch
gcc-3.5: raid6

gcc-35-mtd.patch
gcc-3.5: mtd

gcc-35-dvb.patch
gcc-35: DVB

gcc-35-bonding.patch
gcc-3.5: bonding

gcc-35-ax25.patch
gcc-3.5: ax25

gcc-35-pcmcia.patch
gcc-3.5: PCMCIA

gcc-35-video.patch
gcc-3.5: video

gcc-35-net-key.patch
gcc-3.5: net/key/af_key.c

gcc-35-netrom.patch
gcc-3.5: netrom

gcc-35-llc.patch
gcc-3.5: llc

gcc-35-pnpbios.patch
gcc-3.5: pnpbios

gcc-35-rose.patch
gcc-3.5: net/rose

gcc-35-53c700.patch
gcc-3.5: drivers/scsi/53c700

gcc-35-advansys.patch
gcc-3.5: advansys.c

gcc-35-sctp-attribute_packed-fix.patch
gcc-3.5: sctp

gcc-35-atp870u.patch
gcc-3.5: atp870u.c

gcc-35-gdth.patch
gcc-3.5: gdth.c

gcc-35-pppoe.patch
gcc-3.5: pppoe

gcc-35-uss720.patch
gcc-3.5: drivers/usb/misc/uss720.c

gcc-35-net2280.patch
gcc-3.5: drivers/usb/gadget/net2280.c

gcc-35-hid-core.patch
gcc-3.5: drivers/usb/input/hid-core.c

gcc-35-fbcon.patch
gcc-3.5: fbcon.c

gcc-35-riva-fbdev.patch
gcc-3.5: drivers/video/riva/fbdev.c

gcc-35-usb-storage-usb.patch
gcc-3.5: drivers/usb/storage/usb.c

gcc-35-video-cfbimgblt.patch
gcc-3.5: drivers/video/cfbimgblt.c

gcc-35-video-vgastate.patch
gcc-3.5: drivers/video/vgastate.c

gcc-35-traps.patch
gcc-3.5: arch/i386/kernel/traps.c

gcc-35-x86_64.patch
x86-64 fixes for gcc 3.5

bitmap-parsing-printing-v4.patch
bitmap parsing/printing routines, version 4

bitmap-parsing-cleanup.patch
bitmap parsing/printing routines cleanup

non-readable-binaries.patch
Handle non-readable binfmt_misc executables

fix-improve-modular-ide.patch
fix/improve modular IDE

ide-pdc4030-build-fix.patch

janitor-09-i387-usercopy-check.patch
i387: handle copy_from_user() error

doc-remove-modules-conf-references.patch
Documentation: remove /etc/modules.conf refs

more-MODULE_ALIASes.patch
add some more MODULE_ALIASes

bonding-alias-revert-and-docco-fix.patch
bonding alias revert and documentation fix

simplify-net_ratelimit.patch
simplify net_ratelimit()

printk-rate_limit-fixes.patch
printk_ratelimit() tweaks

readX_relaxed.patch
add readX_relaxed() interface

kconfig-use-select-2.patch
Kconfig: use select statements

kconfig-remove-enable.patch
kconfig/wireless: Replace enable with select

use-attribute-const-everywhere.patch
use __attribute_const__ everywhere

edd-disksig.patch
EDD: read disk80 MBR signature, export through edd module

edd-url-fix.patch
EDD report URL change

swsusp-stop-DMA-on-resume.patch
swsusp does not stop DMA properly during resume

swsusp-stop-DMA-on-resume-fix.patch

swsusp-trivial-cleanups.patch
Trivial cleanups for swsusp

swsusp-more-cleanups.patch
More cleanups for swsusp

swsusp-software_suspend-retval-fix.patch
Allow software_suspend to fail

vmalloc-address-offset-fix.patch
vmalloc address offset fix

hugetlbfs_remove_dirent.patch
hugetlbfs directory entry cleanup

libfs_timestamp_fixes.patch
libfs mtime/ctime updates

hugetlbfs_cleanup.patch
hugetlbfs cleanup

console_driver-definition-fix.patch
missing `console_driver' with CONFIG_VT && !CONFIG_VT_CONSOLE

partition-naming-fix.patch
Make naming of parititions in sysfs match /proc/partitions.

ppc32-1000-hz.patch
ppc32: Set HZ to 1000 on ppc32

fix-blockdev-getro.patch
fix blockdev --getro for sr, sd, ide-floppy

remove-kstat-cpu-notifiers.patch
Remove kstat cpu notifiers

workqueue-cleanup-2.patch
Minor workqueue.c cleanup

remove-more-cpu-notifiers.patch
Remove More Unneccessary CPU Notifiers

use-CPU_UP_PREPARE-properly.patch
Use CPU_UP_PREPARE properly

support-wider-consoles.patch
console: support for > 127 chars

remove-valid_addr_bitmap.patch
remove valid_addr_bitmap

osst-warning-fix.patch
osst.c: suppress page allocation failure warnings

init-cpu_vm_mask-in-init_mm.patch
initialise cpu_vm_mask in init_mm

raw-is-obsolete.patch
deprecate the raw driver

sleep_on-needs_lock_kernel.patch
sleep_on(): check for lock_kernel

ncpfs-stack-usage-fix.patch
Fix deep stack usage in ncpfs

remove_suid-fix.patch
remove_suid() fix

md-02-preferred_minor-fix.patch
md: Move the test in preferred_minor to where it is used.

md-03-debugging-output-cleanup.patch
md: Fixes to make debuging output nicer.

md-04-personality-stats-collection.patch
md: Collect device IO statistics for MD personalities.

md-05-device-in-error-printing-fix.patch
md: Change the way the name of an md device is printed in error messages.

proc-partitions-omit-removable-media.patch
/proc/paritions: omit removable media

remove-SIIG-PCI-IDs-from-parport_pc.patch
remove SIIG combo cards PCI ids from parport_pc

i830-agp-pm-fix.patch
Intel i830 AGP fix

remove-memblks.patch
Remove memblks from the kernel

8250_pnp-cleanup.patch
8250_pnp rmmod cleanup

scsi-tape-fixes.patch
SCSI tape cdev fixes

raid-makefile-cleanup.patch
Clean up raid6 kbuild output

fancy-lost-ticks-message.patch
Better "Losing Ticks" Error Message

x86_64-make-xconfig-fix.patch
Fix make xconfig on /lib64 systems

reserve-NUMA-API-syscall-slots.patch
Reserve system calls for NUMA API

posix-timers-fixes.patch
posix_timers fixes

mount-option-overrun-fix.patch
Zero last byte of mount option page.

futex-redundant-test.patch
futex: remove redundant test

CONFIG_SYSRQ-fixes.patch
[janitor] change a few SYSRQ to MAGIC_SYSRQ

dz-verify_area-removal.patch
[janitor] dz: verify_area() removal

oss-c99-fixes.patch
[janitor] sound/oss: use C99 inits.

usb-sddr09-documentation.patch
add comments to sddr09.c

console-makefile-cleanup.patch
console cleanup

oprofile-ringbuffer-wrap-fix.patch
oprofile per-cpu buffer overrun

oprofile-alpha-fix.patch
oprofile, typo in alpha driver

copy_namespace-enomem-fix.patch
copy_namespace ENOMEM fix

vgastate-missing-iounmaps.patch
[janitor] vgastate: cleanup iounmap() usage

vga16fb-missing-iounmap.patch
[janitor] vga16fb: add missing iounmap()

d_path-needs-vfsmount_lock.patch
__d_path needs vfsmount_lock

namei-needs-vfsmount_lock.patch
namei.c: take vfsmount_lock

try-reiserfs-earlier.patch
try reiserfs before other filesystems

ufs-use-silent.patch
UFS: honour `silent' parameter.

time-rounding-accuracy.patch
Fine tune the time conversion to eliminate conversion errors.

proc-stat-btime-fix-2.patch
/proc/stat:btime fix

menuconfig-choice-display-fix.patch
fix menuconfig choice item help display

use-uint32_t-for-crosscompiling.patch
u_int32_t causes cross-compile problems

ac97-remove-fix.patch
ac97 OSS driver removal fix

list_del-debug.patch
list_del debug check

print-build-options-on-oops.patch

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

show_task-fix.patch
show_task() is not SMP safe

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

lockmeter.patch

ia64-lockmeter-fix.patch

4g-2.6.0-test2-mm2-A5.patch
4G/4G split patch
4G/4G: remove debug code
4g4g: pmd fix
4g/4g: fixes from Bill
4g4g: fpu emulation fix
4g/4g usercopy atomicity fix
4G/4G: remove debug code
4g4g: pmd fix
4g/4g: fixes from Bill
4g4g: fpu emulation fix
4g/4g usercopy atomicity fix
4G/4G preempt on vstack
4G/4G: even number of kmap types
4g4g: fix __get_user in slab
4g4g: Remove extra .data.idt section definition
4g/4g linker error (overlapping sections)
4G/4G: remove debug code
4g4g: pmd fix
4g/4g: fixes from Bill
4g4g: fpu emulation fix
4g4g: show_registers() fix
4g/4g usercopy atomicity fix
4g4g: debug flags fix
4g4g: Fix wrong asm-offsets entry
cyclone time fixmap fix
4G/4G preempt on vstack
4G/4G: even number of kmap types
4g4g: fix __get_user in slab
4g4g: Remove extra .data.idt section definition
4g/4g linker error (overlapping sections)
4G/4G: remove debug code
4g4g: pmd fix
4g/4g: fixes from Bill
4g4g: fpu emulation fix
4g4g: show_registers() fix
4g/4g usercopy atomicity fix
4g4g: debug flags fix
4g4g: Fix wrong asm-offsets entry
cyclone time fixmap fix
use direct_copy_{to,from}_user for kernel access in mm/usercopy.c
4G/4G might_sleep warning fix
4g/4g pagetable accounting fix
Fix 4G/4G and WP test lockup
4G/4G KERNEL_DS usercopy again
Fix 4G/4G X11/vm86 oops
Fix 4G/4G athlon triplefault
4g4g SEP fix
Fix 4G/4G split fix for pre-pentiumII machines
4g/4g PAE ACPI low mappings fix

zap_low_mappings-fix.patch
zap_low_mappings() cannot be __init

4g4g-locked-userspace-copy.patch
Do a locked user-space copy for 4g/4g

ppc-fixes.patch
make mm4 compile on ppc

O_DIRECT-race-fixes-rollup.patch
DIO fixes forward port and AIO-DIO fix
O_DIRECT race fixes comments
O_DRIECT race fixes fix fix fix
DIO locking rework
O_DIRECT XFS fix

dio-aio-fixes.patch
direct-io AIO fixes
dio-aio fix fix

aio-fallback-bio_count-race-fix-2.patch
AIO+DIO bio_count race fix

aio-sysctl-parms.patch
aio sysctl parms




2004-01-28 07:55:46

by Mike Fedyk

[permalink] [raw]
Subject: Re: 2.6.2-rc2-mm1

On Tue, Jan 27, 2004 at 11:34:02PM -0800, Andrew Morton wrote:
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.2-rc2/2.6.2-rc2-mm1/
>
>
> - From now on, -mm kernels will contain the latest contents of:
>
> Linus's tree: linus.patch
> The ACPI tree: acpi.patch
> Vojtech's tree: input.patch
> Jeff's tree: netdev.patch
> The ALSA tree: alsa.patch
>
> If anyone has any more external trees which need similar treatment,
> please let me know.
>

How about the fbdev tree?

2004-01-28 08:18:55

by Joshua Kwan

[permalink] [raw]
Subject: ALSA noise (was: Re: 2.6.2-rc2-mm1)

On Tue, Jan 27, 2004 at 11:34:02PM -0800, Andrew Morton wrote:
> - Various fixes. Nothing stands out.

This doesn't have quite as much to do with -mm as it probably should,
but this high pitched noise + random static on ALSA playback happens
on all of my machines that use intel8x0 PAST 2.6.1-rc1-mm2. (That is,
2.6.1-rc2 stock has the bug, onwards until this release 2.6.2-rc2-mm1.)

As I've repeated a few times on a few threads on LKML, this involves:
1) a high pitched whining type noise when the system is *NOT* under load
which goes away if the CPU usage is at ~100%.
2) lots of annoying pops of static during wave playback (hurts my ears.)

I'm not so bold as to try to figure what changed between 2.6.1-rc1-mm2
and 2.6.1-rc2 stock that could have caused this. Can anyone offer
pointers on how to tackle this bug? I don't wish to be stuck with such
an old kernel in the heat of 2.6 stable release development :)

Hoping for a quick resolution for this bug. Other people have noticed it
as well...

--
Joshua Kwan


Attachments:
(No filename) (1.00 kB)
signature.asc (827.00 B)
Digital signature
Download all attachments

2004-01-28 08:35:39

by Han

[permalink] [raw]
Subject: Re: 2.6.2-rc2-mm1


Hmmm my build breaks with:

LD .tmp_vmlinux1
arch/i386/kernel/built-in.o(.init.text+0x1342): In function `setup_memory':
: undefined reference to `find_smp_config'
arch/i386/kernel/built-in.o(.entry.text+0xb11): In function `vic_sys_interrupt':
: undefined reference to `smp_vic_sys_interrupt'
arch/i386/kernel/built-in.o(.entry.text+0xb35): In function `vic_cmn_interrupt':
: undefined reference to `smp_vic_cmn_interrupt'
arch/i386/kernel/built-in.o(.entry.text+0xb59): In function `vic_cpi_interrupt':
: undefined reference to `smp_vic_cpi_interrupt'
arch/i386/kernel/built-in.o(.entry.text+0xb7d): In function `qic_timer_interrupt':
: undefined reference to `smp_qic_timer_interrupt'
arch/i386/kernel/built-in.o(.entry.text+0xba1): In function `qic_invalidate_interrupt':
: undefined reference to `smp_qic_invalidate_interrupt'
arch/i386/kernel/built-in.o(.entry.text+0xbc5): In function `qic_reschedule_interrupt':
: undefined reference to `smp_qic_reschedule_interrupt'
arch/i386/kernel/built-in.o(.entry.text+0xbe9): In function `qic_enable_irq_interrupt':
: undefined reference to `smp_qic_enable_irq_interrupt'
arch/i386/kernel/built-in.o(.entry.text+0xc0d): In function `qic_call_function_interrupt':
: undefined reference to `smp_qic_call_function_interrupt'
arch/i386/mach-voyager/built-in.o(.text+0x1bd): In function `voyager_power_off':
: undefined reference to `voyager_cat_power_off'
arch/i386/mach-voyager/built-in.o(.text+0x3e6): In function `check_from_kernel':
: undefined reference to `voyager_status'
arch/i386/mach-voyager/built-in.o(.text+0x425): In function `check_continuing_condition':
: undefined reference to `voyager_status'
arch/i386/mach-voyager/built-in.o(.text+0x448): In function `check_continuing_condition':
: undefined reference to `voyager_cat_psi'
arch/i386/mach-voyager/built-in.o(.text+0x523): In function `thread':
: undefined reference to `voyager_status'
arch/i386/mach-voyager/built-in.o(.text+0x56b): In function `thread':
: undefined reference to `voyager_status'



# Han

2004-01-28 09:41:19

by Christoph Hellwig

[permalink] [raw]
Subject: Re: 2.6.2-rc2-mm1

On Tue, Jan 27, 2004 at 11:34:02PM -0800, Andrew Morton wrote:
> Jeff's tree: netdev.patch

Any plan when we'll get the damn netdev lifetime rule fixes merged?
They're real life problems and have been around for a long time..

2004-01-28 12:08:13

by Ramon Rey Vicente

[permalink] [raw]
Subject: Re: 2.6.2-rc2-mm1

El mié, 28-01-2004 a las 08:34, Andrew Morton escribió:

> - From now on, -mm kernels will contain the latest contents of:
>
> Linus's tree: linus.patch
> The ACPI tree: acpi.patch
> Vojtech's tree: input.patch
> Jeff's tree: netdev.patch
> The ALSA tree: alsa.patch
>
> If anyone has any more external trees which need similar treatment,
> please let me know.

DRI tree?
--
Ramón Rey Vicente <ramon dot rey at hispalinux dot es>
jabber ID <rreylinux at jabber dot org>
GPG public key ID 0xBEBD71D5 -> http://pgp.escomposlinux.org/


Attachments:
signature.asc (189.00 B)
Esta parte del mensaje est? firmada digitalmente

2004-01-28 12:13:25

by David Martínez Moreno

[permalink] [raw]
Subject: Re: 2.6.2-rc2-mm1 (Breakage?)

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

El Mi?rcoles, 28 de Enero de 2004 08:34, Andrew Morton escribi?:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.2-rc2/2.6
>.2-rc2-mm1/
>
>
> - From now on, -mm kernels will contain the latest contents of:
>
> Linus's tree: linus.patch
> The ACPI tree: acpi.patch
> Vojtech's tree: input.patch
> Jeff's tree: netdev.patch
> The ALSA tree: alsa.patch
>
> If anyone has any more external trees which need similar treatment,
> please let me know.
>
> - Various fixes. Nothing stands out.

Hello, Andrew, I've switched from 2.6.2-rc1-mm1 to 2.6.2-rc1-mm1, and I've
encountered this:

- -------------
[...]
SiI3112 Serial ATA: 100%% native mode on irq 18
ide2: MMIO-DMA , BIOS settings: hde:pio, hdf:pio
ide3: MMIO-DMA , BIOS settings: hdg:pio, hdh:pio
hde: ST3120026AS, ATA DISK drive
ide2 at 0xe0807080-0xe0807087,0xe080708a on irq 18
hdg: ST3120026AS, ATA DISK drive
ide3 at 0xe08070c0-0xe08070c7,0xe08070ca on irq 18
hda: max request size: 128KiB
Badness in interruptible_sleep_on at kernel/sched.c:2239
Call Trace:
[interruptible_sleep_on+209/214] interruptible_sleep_on+0xd1/0xd6
[default_wake_function+0/18] default_wake_function+0x0/0x12
[pagebuf_daemon+0/560] pagebuf_daemon+0x0/0x230
[pagebuf_daemon+533/560] pagebuf_daemon+0x215/0x230
[pagebuf_daemon_wakeup+0/42] pagebuf_daemon_wakeup+0x0/0x2a
[pagebuf_daemon+0/560] pagebuf_daemon+0x0/0x230
[kernel_thread_helper+5/11] kernel_thread_helper+0x5/0xb

hda: 40011300 sectors (20485 MB) w/512KiB Cache, CHS=39693/16/63, UDMA(66)
hda: hda1 hda2 < hda5 hda6 hda7 hda8 >
hde: max request size: 64KiB
hde: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=16383/255/63
hde: hde1
hdg: max request size: 64KiB
hdg: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=16383/255/63
hdg: hdg1
hdb: ATAPI 48X DVD-ROM drive, 256kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
Badness in interruptible_sleep_on at kernel/sched.c:2239
Call Trace:
[interruptible_sleep_on+209/214] interruptible_sleep_on+0xd1/0xd6
[default_wake_function+0/18] default_wake_function+0x0/0x12
[pagebuf_daemon+533/560] pagebuf_daemon+0x215/0x230
[pagebuf_daemon_wakeup+0/42] pagebuf_daemon_wakeup+0x0/0x2a
[pagebuf_daemon+0/560] pagebuf_daemon+0x0/0x230
[kernel_thread_helper+5/11] kernel_thread_helper+0x5/0xb

ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: irq 23, pci mem e0824000
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
PCI: cache line size of 128 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver
v2.1
uhci_hcd 0000:00:1d.0: UHCI Host Controller
Badness in interruptible_sleep_on at kernel/sched.c:2239
Call Trace:
[interruptible_sleep_on+209/214] interruptible_sleep_on+0xd1/0xd6
[default_wake_function+0/18] default_wake_function+0x0/0x12
[pagebuf_daemon+533/560] pagebuf_daemon+0x215/0x230
[pagebuf_daemon_wakeup+0/42] pagebuf_daemon_wakeup+0x0/0x2a
[pagebuf_daemon+0/560] pagebuf_daemon+0x0/0x230
[kernel_thread_helper+5/11] kernel_thread_helper+0x5/0xb

uhci_hcd 0000:00:1d.0: irq 16, io base 0000b800
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: irq 19, io base 0000b000
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.2: UHCI Host Controller
Badness in interruptible_sleep_on at kernel/sched.c:2239
Call Trace:
[interruptible_sleep_on+209/214] interruptible_sleep_on+0xd1/0xd6
[default_wake_function+0/18] default_wake_function+0x0/0x12
[pagebuf_daemon+533/560] pagebuf_daemon+0x215/0x230
[pagebuf_daemon_wakeup+0/42] pagebuf_daemon_wakeup+0x0/0x2a
[pagebuf_daemon+0/560] pagebuf_daemon+0x0/0x230
[kernel_thread_helper+5/11] kernel_thread_helper+0x5/0xb

uhci_hcd 0000:00:1d.2: irq 18, io base 0000b400
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
drivers/usb/core/usb.c: registered new driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
i2c /dev entries driver
md: raid0 personality registered as nr 2
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
Advanced Linux Sound Architecture Driver Version 1.0.2 (Tue Jan 27 10:28:52
2004 UTC).
Badness in interruptible_sleep_on at kernel/sched.c:2239
Call Trace:
[interruptible_sleep_on+209/214] interruptible_sleep_on+0xd1/0xd6
[default_wake_function+0/18] default_wake_function+0x0/0x12
[pagebuf_daemon+533/560] pagebuf_daemon+0x215/0x230
[pagebuf_daemon_wakeup+0/42] pagebuf_daemon_wakeup+0x0/0x2a
[pagebuf_daemon+0/560] pagebuf_daemon+0x0/0x230
[kernel_thread_helper+5/11] kernel_thread_helper+0x5/0xb

intel8x0_measure_ac97_clock: measured 49407 usecs
intel8x0: clocking to 48000
ALSA device list:
#0: Intel 82801DB-ICH4 at 0xea001000, irq 17
NET: Registered protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 65536)
GRE over IPv4 tunneling driver
NET: Registered protocol family 1
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
BIOS EDD facility v0.12 2004-Jan-26, 3 devices found
Please report your BIOS at http://linux.dell.com/edd/results.html
Badness in interruptible_sleep_on at kernel/sched.c:2239
Call Trace:
[interruptible_sleep_on+209/214] interruptible_sleep_on+0xd1/0xd6
[default_wake_function+0/18] default_wake_function+0x0/0x12
[pagebuf_daemon+533/560] pagebuf_daemon+0x215/0x230
[pagebuf_daemon_wakeup+0/42] pagebuf_daemon_wakeup+0x0/0x2a
[pagebuf_daemon+0/560] pagebuf_daemon+0x0/0x230
[kernel_thread_helper+5/11] kernel_thread_helper+0x5/0xb

md: Autodetecting RAID arrays.
md: autorun ...
md: considering hdg1 ...
md: adding hdg1 ...
md: adding hde1 ...
md: created md0
md: bind<hde1>
md: bind<hdg1>
md: running: <hdg1><hde1>
md0: setting max_sectors to 32, segment boundary to 8191
raid0: looking at hdg1
raid0: comparing hdg1(117218176) with hdg1(117218176)
raid0: END
raid0: ==> UNIQUE
raid0: 1 zones
raid0: looking at hde1
raid0: comparing hde1(117218176) with hdg1(117218176)
raid0: EQUAL
raid0: FINAL 1 zones
raid0: done.
raid0 : md_size is 234436352 blocks.
raid0 : conf->hash_spacing is 234436352 blocks.
raid0 : nb_zone is 1.
raid0 : Allocating 4 bytes for hash.
md: ... autorun DONE.
Badness in interruptible_sleep_on at kernel/sched.c:2239
Call Trace:
[interruptible_sleep_on+209/214] interruptible_sleep_on+0xd1/0xd6
[default_wake_function+0/18] default_wake_function+0x0/0x12
[pagebuf_daemon+533/560] pagebuf_daemon+0x215/0x230
[pagebuf_daemon_wakeup+0/42] pagebuf_daemon_wakeup+0x0/0x2a
[pagebuf_daemon+0/560] pagebuf_daemon+0x0/0x230
[kernel_thread_helper+5/11] kernel_thread_helper+0x5/0xb

kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 336k freed
Badness in interruptible_sleep_on at kernel/sched.c:2239
Call Trace:
[interruptible_sleep_on+209/214] interruptible_sleep_on+0xd1/0xd6
[default_wake_function+0/18] default_wake_function+0x0/0x12
[pagebuf_daemon+533/560] pagebuf_daemon+0x215/0x230
[pagebuf_daemon_wakeup+0/42] pagebuf_daemon_wakeup+0x0/0x2a
[pagebuf_daemon+0/560] pagebuf_daemon+0x0/0x230
[kernel_thread_helper+5/11] kernel_thread_helper+0x5/0xb

Badness in interruptible_sleep_on at kernel/sched.c:2239
Call Trace:
[interruptible_sleep_on+209/214] interruptible_sleep_on+0xd1/0xd6
[default_wake_function+0/18] default_wake_function+0x0/0x12
[pagebuf_daemon+533/560] pagebuf_daemon+0x215/0x230
[pagebuf_daemon_wakeup+0/42] pagebuf_daemon_wakeup+0x0/0x2a
[pagebuf_daemon+0/560] pagebuf_daemon+0x0/0x230
[kernel_thread_helper+5/11] kernel_thread_helper+0x5/0xb

blk: queue dfdaaa00, I/O limit 4095Mb (mask 0xffffffff)
blk: queue dfd8ea00, I/O limit 4095Mb (mask 0xffffffff)
Badness in interruptible_sleep_on at kernel/sched.c:2239
Call Trace:
[interruptible_sleep_on+209/214] interruptible_sleep_on+0xd1/0xd6
[default_wake_function+0/18] default_wake_function+0x0/0x12
[pagebuf_daemon+533/560] pagebuf_daemon+0x215/0x230
[pagebuf_daemon_wakeup+0/42] pagebuf_daemon_wakeup+0x0/0x2a
[pagebuf_daemon+0/560] pagebuf_daemon+0x0/0x230
[kernel_thread_helper+5/11] kernel_thread_helper+0x5/0xb

blk: queue dfd8e200, I/O limit 4095Mb (mask 0xffffffff)
Adding 499928k swap on /dev/hda7. Priority:-1 extents:1
EXT3 FS on hda5, internal journal
kjournald starting. Commit interval 5 seconds
[...]
- -------------

And then zillions of:

apache2 0 waking apache2: 507 547
Badness in try_to_wake_up at kernel/sched.c:722
Call Trace:
[<c0118e09>] try_to_wake_up+0x91/0x1af
[<c036ead8>] common_interrupt+0x18/0x20
[<c0119cc7>] __wake_up_common+0x31/0x50
[<c0119d0a>] __wake_up+0x24/0x2d
[<c012d046>] wake_futex+0x30/0x5b
[<c012d119>] futex_wake+0xa8/0xae
[<c0118c5e>] recalc_task_prio+0x90/0x1aa
[<c012d7c8>] do_futex+0x7e/0x80
[<c012d8d6>] sys_futex+0x10c/0x124
[<c036e116>] sysenter_past_esp+0x43/0x65


Usual machine... :-) P4, XFS over sw RAID0, and Apache2
in threaded model.

I've reverted to 2.6.2-rc1-mm1.

Anything to do?

Regards,


Ender.
- --
And need I remind you that I am naked in the snow...? I
can't feel any of my extremities, and I mean *any* of them...
-- Skinner (The League of Extraordinary Gentlemen)
- --
Servicios de red - Network services
RedIRIS - Spanish Academic Network for Research and Development
Madrid (Spain)
Tlf (+34) 91.585.51.50
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAF6dPWs/EhA1iABsRAhElAKC1Wk9p4RFer+066YkEm5NoxDfT/gCgq28D
kF0Zu2Wh1zl+5tmrsIaM00k=
=LkCy
-----END PGP SIGNATURE-----

2004-01-28 12:08:53

by Ralf Hildebrandt

[permalink] [raw]
Subject: Re: 2.6.2-rc2-mm1

* Andrew Morton <[email protected]>:

> If anyone has any more external trees which need similar treatment,
> please let me know.

The fbdev patches by Simmons.

--
Ralf Hildebrandt (Im Auftrag des Referat V a) [email protected]
Charite - Universit?tsmedizin Berlin Tel. +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-916
Referat V a - Kommunikationsnetze - AIM. ralfpostfix

2004-01-28 12:17:36

by Nikita Danilov

[permalink] [raw]
Subject: Re: 2.6.2-rc2-mm1

Andrew Morton writes:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.2-rc2/2.6.2-rc2-mm1/
>
>
> - From now on, -mm kernels will contain the latest contents of:
>
> Linus's tree: linus.patch
> The ACPI tree: acpi.patch
> Vojtech's tree: input.patch
> Jeff's tree: netdev.patch
> The ALSA tree: alsa.patch
>
> If anyone has any more external trees which need similar treatment,
> please let me know.

Reiser4 tree:

http://www.namesys.com/snapshots/LATEST/all.diff.gz

>
> - Various fixes. Nothing stands out.
>

Nikita.

>

2004-01-28 12:23:37

by Alistair John Strachan

[permalink] [raw]
Subject: Re: 2.6.2-rc2-mm1 (Breakage?)

On Wednesday 28 January 2004 12:13, David Mart?nez Moreno wrote:
> El Mi?rcoles, 28 de Enero de 2004 08:34, Andrew Morton escribi?:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.2-rc2/2
> >.6 .2-rc2-mm1/
> >
> >
> > - From now on, -mm kernels will contain the latest contents of:
> >
> > Linus's tree: linus.patch
> > The ACPI tree: acpi.patch
> > Vojtech's tree: input.patch
> > Jeff's tree: netdev.patch
> > The ALSA tree: alsa.patch
> >
> > If anyone has any more external trees which need similar treatment,
> > please let me know.
> >
> > - Various fixes. Nothing stands out.
>
> Hello, Andrew, I've switched from 2.6.2-rc1-mm1 to 2.6.2-rc1-mm1, and I've
> encountered this:
>
[snip]

Decided to build my first kernel with preempt since the early 2.5 days. I'm
seeing the same warnings in 2.6.2-rc2-mm1.

gkrellm 0 waking gkrellm: 897 1485
Badness in try_to_wake_up at kernel/sched.c:722
Call Trace:
[<c011a6a7>] try_to_wake_up+0x97/0x1d0
[<c011b0b0>] __wake_up_common+0x30/0x60
[<c011b109>] __wake_up+0x29/0x50
[<c0131f1b>] wake_futex+0x2b/0x70
[<c013259a>] do_futex+0x3fa/0x6e0
[<c011d9d0>] copy_process+0x7b0/0x10a0
[<c011e3a9>] do_fork+0xe9/0x179
[<c011a142>] schedule+0x1d2/0x640
[<c0132988>] sys_futex+0x108/0x130
[<c03e1b9e>] sysenter_past_esp+0x43/0x65

Every five seconds. This is when it reads the sensor information from /sys, I
think. And during boot, similar messages to those already reported (from
kern.log this time).

Badness in interruptible_sleep_on at kernel/sched.c:2239
Call Trace:
[interruptible_sleep_on+233/288] interruptible_sleep_on+0xe9/0x120
[default_wake_function+0/32] default_wake_function+0x0/0x20
[pagebuf_daemon+0/656] pagebuf_daemon+0x0/0x290
[pagebuf_daemon+597/656] pagebuf_daemon+0x255/0x290
[ret_from_fork+6/20] ret_from_fork+0x6/0x14
[pagebuf_daemon_wakeup+0/48] pagebuf_daemon_wakeup+0x0/0x30
[pagebuf_daemon+0/656] pagebuf_daemon+0x0/0x290
[kernel_thread_helper+5/16] kernel_thread_helper+0x5/0x10

Badness in interruptible_sleep_on at kernel/sched.c:2239
Call Trace:
[interruptible_sleep_on+233/288] interruptible_sleep_on+0xe9/0x120
[default_wake_function+0/32] default_wake_function+0x0/0x20
[msp3400c_setbass+144/176] msp3400c_setbass+0x90/0xb0
[msp3410d_thread+162/1600] msp3410d_thread+0xa2/0x640
[msp3410d_thread+0/1600] msp3410d_thread+0x0/0x640
[kernel_thread_helper+5/16] kernel_thread_helper+0x5/0x10

Etc.

--
Cheers,
Alistair.

personal: alistair()devzero!co!uk
university: s0348365()sms!ed!ac!uk
student: CS/AI Undergraduate
contact: 7/10 Darroch Court,
University of Edinburgh.

2004-01-28 13:09:09

by Stian Jordet

[permalink] [raw]
Subject: Re: 2.6.2-rc2-mm1

ons, 28.01.2004 kl. 08.34 skrev Andrew Morton:
> If anyone has any more external trees which need similar treatment,
> please let me know.

Have to agree with those that wants the fbdev-tree. But I'd also like to
have isdn updated (useless for now):

ftp://ftp.isdn4linux.de/pub/isdn4linux/kernel/v2.6

Best regards,
Stian

2004-01-28 13:34:19

by Christoph Hellwig

[permalink] [raw]
Subject: Fix sleep_on abuse in XFS, Was: Re: 2.6.2-rc2-mm1 (Breakage?)

Okay, okay, I give up, here's a patch to remove sleep_on usage from XFS.

It's not actually racy but such horrible code deserves to be replaced
anyway.


Index: fs/xfs/linux-2.6/xfs_buf.c
===================================================================
RCS file: /cvs/linux-2.6-xfs/fs/xfs/linux-2.6/xfs_buf.c,v
retrieving revision 1.136
diff -u -p -r1.136 xfs_buf.c
--- fs/xfs/linux-2.6/xfs_buf.c 27 Jan 2004 18:47:46 -0000 1.136
+++ fs/xfs/linux-2.6/xfs_buf.c 28 Jan 2004 13:09:33 -0000
@@ -80,7 +80,7 @@
*/

STATIC kmem_cache_t *pagebuf_cache;
-STATIC void pagebuf_daemon_wakeup(int);
+STATIC void pagebuf_daemon_wakeup(void);
STATIC void pagebuf_delwri_queue(page_buf_t *, int);
STATIC struct workqueue_struct *pagebuf_logio_workqueue;
STATIC struct workqueue_struct *pagebuf_dataio_workqueue;
@@ -510,7 +510,7 @@ _pagebuf_lookup_pages(
if (!page) {
if (--retry_count > 0) {
PB_STATS_INC(pb_page_retries);
- pagebuf_daemon_wakeup(1);
+ pagebuf_daemon_wakeup();
current->state = TASK_UNINTERRUPTIBLE;
schedule_timeout(10);
goto retry;
@@ -1640,7 +1605,6 @@ pagebuf_iomove(
* Pagebuf delayed write buffer handling
*/

-STATIC int pbd_active = 1;
STATIC LIST_HEAD(pbd_delwrite_queue);
STATIC spinlock_t pbd_delwrite_lock = SPIN_LOCK_UNLOCKED;

@@ -1687,21 +1651,19 @@ pagebuf_runall_queues(
}

/* Defines for pagebuf daemon */
-DECLARE_WAIT_QUEUE_HEAD(pbd_waitq);
+STATIC DECLARE_COMPLETION(pagebuf_daemon_done);
+STATIC struct task_struct *pagebuf_daemon_task;
+STATIC int pagebuf_daemon_active;
STATIC int force_flush;

STATIC void
-pagebuf_daemon_wakeup(
- int flag)
+pagebuf_daemon_wakeup(void)
{
- force_flush = flag;
- if (waitqueue_active(&pbd_waitq)) {
- wake_up_interruptible(&pbd_waitq);
- }
+ force_flush = 1;
+ barrier();
+ wake_up_process(pagebuf_daemon_task);
}

-typedef void (*timeout_fn)(unsigned long);
-
STATIC int
pagebuf_daemon(
void *data)
@@ -1709,29 +1671,22 @@ pagebuf_daemon(
int count;
page_buf_t *pb;
struct list_head *curr, *next, tmp;
- struct timer_list pb_daemon_timer =
- TIMER_INITIALIZER((timeout_fn)pagebuf_daemon_wakeup, 0, 0);

/* Set up the thread */
daemonize("pagebufd");
-
current->flags |= PF_MEMALLOC;

+ pagebuf_daemon_task = current;
+ pagebuf_daemon_active = 1;
+ barrier();
+
INIT_LIST_HEAD(&tmp);
do {
/* swsusp */
if (current->flags & PF_FREEZE)
refrigerator(PF_IOTHREAD);

- if (pbd_active == 1) {
- mod_timer(&pb_daemon_timer,
- jiffies + pb_params.flush_interval.val);
- interruptible_sleep_on(&pbd_waitq);
- }
-
- if (pbd_active == 0) {
- del_timer_sync(&pb_daemon_timer);
- }
+ schedule_timeout(pb_params.flush_interval.val);

spin_lock(&pbd_delwrite_lock);

@@ -1775,11 +1730,9 @@ pagebuf_daemon(
blk_run_queues();

force_flush = 0;
- } while (pbd_active == 1);
-
- pbd_active = -1;
- wake_up_interruptible(&pbd_waitq);
+ } while (pagebuf_daemon_active);

+ complete(&pagebuf_daemon_done);
return 0;
}

@@ -1890,9 +1843,10 @@ pagebuf_daemon_start(void)
STATIC void
pagebuf_daemon_stop(void)
{
- pbd_active = 0;
- wake_up_interruptible(&pbd_waitq);
- wait_event_interruptible(pbd_waitq, pbd_active);
+ pagebuf_daemon_active = 0;
+ barrier();
+ wait_for_completion(&pagebuf_daemon_done);
+
destroy_workqueue(pagebuf_logio_workqueue);
destroy_workqueue(pagebuf_dataio_workqueue);
}

2004-01-28 14:28:38

by David Woodhouse

[permalink] [raw]
Subject: Re: Fix sleep_on abuse in XFS, Was: Re: 2.6.2-rc2-mm1 (Breakage?)

On Wed, 2004-01-28 at 13:33 +0000, Christoph Hellwig wrote:
> + complete(&pagebuf_daemon_done);
> return 0;

Use complete_and_exit() please. S'what it was invented for.

--
dwmw2

2004-01-28 15:03:38

by Christoph Hellwig

[permalink] [raw]
Subject: Re: Fix sleep_on abuse in XFS, Was: Re: 2.6.2-rc2-mm1 (Breakage?)

On Wed, Jan 28, 2004 at 02:28:34PM +0000, David Woodhouse wrote:
> On Wed, 2004-01-28 at 13:33 +0000, Christoph Hellwig wrote:
> > + complete(&pagebuf_daemon_done);
> > return 0;
>
> Use complete_and_exit() please. S'what it was invented for.

Index: fs/xfs/linux-2.6/xfs_buf.c
===================================================================
RCS file: /cvs/linux-2.6-xfs/fs/xfs/linux-2.6/xfs_buf.c,v
retrieving revision 1.136
diff -u -p -r1.136 xfs_buf.c
--- fs/xfs/linux-2.6/xfs_buf.c 27 Jan 2004 18:47:46 -0000 1.136
+++ fs/xfs/linux-2.6/xfs_buf.c 28 Jan 2004 15:00:47 -0000
@@ -80,7 +80,7 @@
*/

STATIC kmem_cache_t *pagebuf_cache;
-STATIC void pagebuf_daemon_wakeup(int);
+STATIC void pagebuf_daemon_wakeup(void);
STATIC void pagebuf_delwri_queue(page_buf_t *, int);
STATIC struct workqueue_struct *pagebuf_logio_workqueue;
STATIC struct workqueue_struct *pagebuf_dataio_workqueue;
@@ -510,7 +510,7 @@ _pagebuf_lookup_pages(
if (!page) {
if (--retry_count > 0) {
PB_STATS_INC(pb_page_retries);
- pagebuf_daemon_wakeup(1);
+ pagebuf_daemon_wakeup();
current->state = TASK_UNINTERRUPTIBLE;
schedule_timeout(10);
goto retry;
@@ -1640,7 +1640,6 @@ pagebuf_iomove(
* Pagebuf delayed write buffer handling
*/

-STATIC int pbd_active = 1;
STATIC LIST_HEAD(pbd_delwrite_queue);
STATIC spinlock_t pbd_delwrite_lock = SPIN_LOCK_UNLOCKED;

@@ -1687,21 +1686,19 @@ pagebuf_runall_queues(
}

/* Defines for pagebuf daemon */
-DECLARE_WAIT_QUEUE_HEAD(pbd_waitq);
+STATIC DECLARE_COMPLETION(pagebuf_daemon_done);
+STATIC struct task_struct *pagebuf_daemon_task;
+STATIC int pagebuf_daemon_active;
STATIC int force_flush;

STATIC void
-pagebuf_daemon_wakeup(
- int flag)
+pagebuf_daemon_wakeup(void)
{
- force_flush = flag;
- if (waitqueue_active(&pbd_waitq)) {
- wake_up_interruptible(&pbd_waitq);
- }
+ force_flush = 1;
+ barrier();
+ wake_up_process(pagebuf_daemon_task);
}

-typedef void (*timeout_fn)(unsigned long);
-
STATIC int
pagebuf_daemon(
void *data)
@@ -1709,29 +1706,22 @@ pagebuf_daemon(
int count;
page_buf_t *pb;
struct list_head *curr, *next, tmp;
- struct timer_list pb_daemon_timer =
- TIMER_INITIALIZER((timeout_fn)pagebuf_daemon_wakeup, 0, 0);

/* Set up the thread */
daemonize("pagebufd");
-
current->flags |= PF_MEMALLOC;

+ pagebuf_daemon_task = current;
+ pagebuf_daemon_active = 1;
+ barrier();
+
INIT_LIST_HEAD(&tmp);
do {
/* swsusp */
if (current->flags & PF_FREEZE)
refrigerator(PF_IOTHREAD);

- if (pbd_active == 1) {
- mod_timer(&pb_daemon_timer,
- jiffies + pb_params.flush_interval.val);
- interruptible_sleep_on(&pbd_waitq);
- }
-
- if (pbd_active == 0) {
- del_timer_sync(&pb_daemon_timer);
- }
+ schedule_timeout(pb_params.flush_interval.val);

spin_lock(&pbd_delwrite_lock);

@@ -1775,12 +1765,9 @@ pagebuf_daemon(
blk_run_queues();

force_flush = 0;
- } while (pbd_active == 1);
-
- pbd_active = -1;
- wake_up_interruptible(&pbd_waitq);
+ } while (pagebuf_daemon_active);

- return 0;
+ complete_and_exit(&pagebuf_daemon_done, 0);
}

void
@@ -1890,9 +1877,10 @@ pagebuf_daemon_start(void)
STATIC void
pagebuf_daemon_stop(void)
{
- pbd_active = 0;
- wake_up_interruptible(&pbd_waitq);
- wait_event_interruptible(pbd_waitq, pbd_active);
+ pagebuf_daemon_active = 0;
+ barrier();
+ wait_for_completion(&pagebuf_daemon_done);
+
destroy_workqueue(pagebuf_logio_workqueue);
destroy_workqueue(pagebuf_dataio_workqueue);
}

2004-01-28 15:07:19

by Antony Suter

[permalink] [raw]
Subject: Re: 2.6.2-rc2-mm1

On Tue, Jan 27, 2004 at 11:34:02PM -0800, Andrew Morton wrote:
>
>
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.2-rc2/2.6.2-rc2-mm1/
>
>
> - From now on, -mm kernels will contain the latest contents of:
>
> Linus's tree: linus.patch
> The ACPI tree: acpi.patch
> Vojtech's tree: input.patch
> Jeff's tree: netdev.patch
> The ALSA tree: alsa.patch
>
> If anyone has any more external trees which need similar treatment,
> please let me know.
>

The WLI patchset. It has a small number of good improvements for NUMA
machines and notebooks. A couple of the patches have already made it
into the kernel.

--
- Antony Suter (suterant users sourceforge net) "Bonta"
- "Huh, upgrades."

2004-01-28 15:37:58

by Randy.Dunlap

[permalink] [raw]
Subject: Re: 2.6.2-rc2-mm1

On Tue, 27 Jan 2004 23:34:02 -0800 Andrew Morton <[email protected]> wrote:

| ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.2-rc2/2.6.2-rc2-mm1/
|
|
| - From now on, -mm kernels will contain the latest contents of:
|
| Linus's tree: linus.patch
| The ACPI tree: acpi.patch
| Vojtech's tree: input.patch
| Jeff's tree: netdev.patch
| The ALSA tree: alsa.patch
|
| If anyone has any more external trees which need similar treatment,
| please let me know.

About kernel-janitors patches:

Do you want to continue reviewing/merging the KJ patches one by one
or just grab the complete patchset?

--
~Randy
kernel-janitors project: http://janitor.kernelnewbies.org/

2004-01-28 17:03:03

by Ramon Rey Vicente

[permalink] [raw]
Subject: [BUG] [2.6.2-rc2-mm1] Badness in try_to_wake_up at kernel/sched.c:722 (was Re: 2.6.2-rc2-mm1)

I get this:

swapper 256 waking epiphany: 1261 1266
Badness in try_to_wake_up at kernel/sched.c:722
Call Trace:
[<c0118379>] try_to_wake_up+0x79/0x1c0
[<c01242c9>] update_process_times+0x29/0x40
[<c01246e0>] process_timeout+0x0/0x20
[<c01184cd>] wake_up_process+0xd/0x20
[<c01243cf>] run_timer_softirq+0xcf/0x1c0
[<c010bfd0>] handle_IRQ_event+0x30/0x60
[<c012056c>] do_softirq+0x8c/0xa0
[<c010c30f>] do_IRQ+0xef/0x120
[<c0107000>] rest_init+0x0/0x60
[<c023f588>] common_interrupt+0x18/0x20
[<c0108bc0>] default_idle+0x0/0x40
[<c0107000>] rest_init+0x0/0x60
[<c0108be3>] default_idle+0x23/0x40
[<c0108c65>] cpu_idle+0x25/0x40
[<c02ca6eb>] start_kernel+0x12b/0x140

and this:

gthumb 0 waking gthumb: 1626 1643
Badness in try_to_wake_up at kernel/sched.c:722
Call Trace:
[<c0118379>] try_to_wake_up+0x79/0x1c0
[<c0119404>] __wake_up_common+0x24/0x60
[<c011945c>] __wake_up+0x1c/0x40
[<c012e96d>] wake_futex+0x2d/0x60
[<c012ea59>] futex_wake+0xb9/0xc0
[<c012f1a7>] do_futex+0x67/0x80
[<c012f2a8>] sys_futex+0xe8/0x120
[<c023f367>] syscall_call+0x7/0xb
--
Ramón Rey Vicente <ramon dot rey at hispalinux dot es>
jabber ID <rreylinux at jabber dot org>
GPG public key ID 0xBEBD71D5 -> http://pgp.escomposlinux.org/


Attachments:
signature.asc (189.00 B)
Esta parte del mensaje est? firmada digitalmente

2004-01-28 19:38:55

by David Miller

[permalink] [raw]
Subject: Re: 2.6.2-rc2-mm1

On Wed, 28 Jan 2004 09:41:06 +0000
Christoph Hellwig <[email protected]> wrote:

> On Tue, Jan 27, 2004 at 11:34:02PM -0800, Andrew Morton wrote:
> > Jeff's tree: netdev.patch
>
> Any plan when we'll get the damn netdev lifetime rule fixes merged?
> They're real life problems and have been around for a long time..

Please be more specific, show me what patch you're talking about.

2004-01-28 19:55:51

by Torrey Hoffman

[permalink] [raw]
Subject: Re: 2.6.2-rc2-mm1

On Tue, 2004-01-27 at 23:34, Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.2-rc2/2.6.2-rc2-mm1/

Got this during system startup, just before X came up.
System is Fedora Core 1 with lots of updates on a P4 HT.

(I include a few lines before and after from dmesg, in case context is
relevant?)

...

lp: driver loaded but no devices found
request_module: failed /sbin/modprobe -- char-major-4-72. error = 256
PCI: Setting latency timer of device 0000:00:1f.5 to 64
intel8x0_measure_ac97_clock: measured 49844 usecs
intel8x0: clocking to 48000
Installing knfsd (copyright (C) 1996 [email protected]).
Unable to handle kernel NULL pointer dereference at virtual address
00000000
printing eip:
c0243b74
*pde = 00000000
Oops: 0000 [#1]
PREEMPT SMP
CPU: 1
EIP: 0060:[<c0243b74>] Not tainted VLI
EFLAGS: 00010286
EIP is at vt_ioctl+0x14/0x1f80
eax: 00000000 ebx: f5dde000 ecx: 00005607 edx: f14cd480
esi: f5dde000 edi: 00005607 ebp: f6593f70 esp: f6593ea0
ds: 007b es: 007b ss: 0068
Process X (pid: 2378, threadinfo=f6592000 task=f11ca6c0)
Stack: 00000006 f7f00068 f7043005 00299a31 00000003 f7337280 f6593f14
f6593f6c
f6593f0c f7337280 f6e88480 f6593ee0 c0178bec f6593f0c f7043008
f6e88480
f6593f30 c016fdda 00000020 f6593f30 00001846 00000001 c047991e
f7177e00
Call Trace:
[<c0178bec>] dput+0x1c/0x2d0
[<c016fdda>] link_path_walk+0x6ba/0xa60
[<c016adc4>] cdev_get+0x54/0xc0
[<c016ae3f>] cdev_put+0xf/0x60
[<c01232f0>] schedule+0x3b0/0x740
[<c0243b60>] vt_ioctl+0x0/0x1f80
[<c023e885>] tty_ioctl+0x355/0x450
[<c0173e6b>] sys_ioctl+0x11b/0x2d0
[<c023e530>] tty_ioctl+0x0/0x450
[<c0160b96>] sys_open+0x56/0x70
[<c033c65a>] sysenter_past_esp+0x43/0x69

Code: ff e8 05 88 ec ff e9 70 ff ff ff 90 90 90 90 90 90 90 90 90 90 90
90 55 89 e5 57 56 53 81 ec c4 00 00 00 89 c6 8b 80 78 09 00 00 <8b> 00
89 85 30 ff ff ff 8b 04 85 20 9b 47 c0 89 45 8c 8b 85 30
<7>request_module: failed /sbin/modprobe -- char-major-10-134. error =
256
agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
agpgart: Device is in legacy mode, falling back to 2.x
agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode

--
Torrey Hoffman <[email protected]>

2004-01-28 20:11:28

by Olaf Hering

[permalink] [raw]
Subject: Re: 2.6.2-rc2-mm1

On Tue, Jan 27, Andrew Morton wrote:

>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.2-rc2/2.6.2-rc2-mm1/
>
>
> - From now on, -mm kernels will contain the latest contents of:
>
> Linus's tree: linus.patch
> The ACPI tree: acpi.patch
> Vojtech's tree: input.patch
> Jeff's tree: netdev.patch
> The ALSA tree: alsa.patch
>
> If anyone has any more external trees which need similar treatment,
> please let me know.

The bigendian trees.


Here is a patch to fix compilation on ppc32.
pm_prepare_console returns int and linux/suspend.h is already included.
The ide object files can be found in a subdirectory.


diff -p -purN linux-2.6.2-rc2-mm1.orig/drivers/ide/Makefile linux-2.6.2-rc2-mm1/drivers/ide/Makefile
--- linux-2.6.2-rc2-mm1.orig/drivers/ide/Makefile 2004-01-28 19:30:54.000000000 +0000
+++ linux-2.6.2-rc2-mm1/drivers/ide/Makefile 2004-01-28 19:55:41.000000000 +0000
@@ -34,9 +34,9 @@ ide-core-$(CONFIG_BLK_DEV_MAC_IDE) += ma
ide-core-$(CONFIG_BLK_DEV_Q40IDE) += q40ide.o

# built-in only drivers from ppc/
-ide-core-$(CONFIG_BLK_DEV_MPC8xx_IDE) += mpc8xx.o
-ide-core-$(CONFIG_BLK_DEV_IDE_PMAC) += pmac.o
-ide-core-$(CONFIG_BLK_DEV_IDE_SWARM) += swarm.o
+ide-core-$(CONFIG_BLK_DEV_MPC8xx_IDE) += ppc/mpc8xx.o
+ide-core-$(CONFIG_BLK_DEV_IDE_PMAC) += ppc/pmac.o
+ide-core-$(CONFIG_BLK_DEV_IDE_SWARM) += ppc/swarm.o

obj-$(CONFIG_BLK_DEV_IDE) += ide-core.o
obj-$(CONFIG_IDE_GENERIC) += ide-generic.o
diff -p -purN linux-2.6.2-rc2-mm1.orig/drivers/macintosh/via-pmu.c linux-2.6.2-rc2-mm1/drivers/macintosh/via-pmu.c
--- linux-2.6.2-rc2-mm1.orig/drivers/macintosh/via-pmu.c 2004-01-28 19:30:54.000000000 +0000
+++ linux-2.6.2-rc2-mm1/drivers/macintosh/via-pmu.c 2004-01-28 20:00:00.000000000 +0000
@@ -2339,8 +2339,6 @@ restore_via_state(void)
}

extern long sys_sync(void);
-extern void pm_prepare_console(void);
-extern void pm_restore_console(void);

static int __pmac
pmac_suspend_devices(void)

--
USB is for mice, FireWire is for men!

sUse lINUX ag, nÜRNBERG

2004-01-28 20:46:31

by Mike Fedyk

[permalink] [raw]
Subject: Re: 2.6.2-rc2-mm1

On Thu, Jan 29, 2004 at 02:06:43AM +1100, Antony Suter wrote:
> On Tue, Jan 27, 2004 at 11:34:02PM -0800, Andrew Morton wrote:
> > If anyone has any more external trees which need similar treatment,
> > please let me know.
> >
>
> The WLI patchset. It has a small number of good improvements for NUMA
> machines and notebooks. A couple of the patches have already made it
> into the kernel.

Isn't that a bit much? The wli tree makes changes across the entire tree,
so it isn't very localized to any specific subsystem.

Though specific cleanups would be good to merge into -mm from -wli...

2004-01-28 21:24:12

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.2-rc2-mm1

"Randy.Dunlap" <[email protected]> wrote:
>
> About kernel-janitors patches:
>
> Do you want to continue reviewing/merging the KJ patches one by one
> or just grab the complete patchset?

Please just send them to me in the usual manner when you think they're
ready. The reject rate has been fairly high, so we need to go through them
carefully.

2004-01-29 00:34:23

by Adrian Bunk

[permalink] [raw]
Subject: Re: 2.6.2-rc2-mm1

On Wed, Jan 28, 2004 at 09:04:08PM +0100, Olaf Hering wrote:
>
> Here is a patch to fix compilation on ppc32.
>...
> The ide object files can be found in a subdirectory.
>
>
> diff -p -purN linux-2.6.2-rc2-mm1.orig/drivers/ide/Makefile linux-2.6.2-rc2-mm1/drivers/ide/Makefile
> --- linux-2.6.2-rc2-mm1.orig/drivers/ide/Makefile 2004-01-28 19:30:54.000000000 +0000
> +++ linux-2.6.2-rc2-mm1/drivers/ide/Makefile 2004-01-28 19:55:41.000000000 +0000
> @@ -34,9 +34,9 @@ ide-core-$(CONFIG_BLK_DEV_MAC_IDE) += ma
> ide-core-$(CONFIG_BLK_DEV_Q40IDE) += q40ide.o
>
> # built-in only drivers from ppc/
> -ide-core-$(CONFIG_BLK_DEV_MPC8xx_IDE) += mpc8xx.o
> -ide-core-$(CONFIG_BLK_DEV_IDE_PMAC) += pmac.o
> -ide-core-$(CONFIG_BLK_DEV_IDE_SWARM) += swarm.o
> +ide-core-$(CONFIG_BLK_DEV_MPC8xx_IDE) += ppc/mpc8xx.o
> +ide-core-$(CONFIG_BLK_DEV_IDE_PMAC) += ppc/pmac.o
> +ide-core-$(CONFIG_BLK_DEV_IDE_SWARM) += ppc/swarm.o
>
> obj-$(CONFIG_BLK_DEV_IDE) += ide-core.o
> obj-$(CONFIG_IDE_GENERIC) += ide-generic.o
>...


This was fixed in ide-legacy-build-fix.patch up to 2.6.2-rc1-mm2, which
was dropped as "merged" in 2.6.2-rc1-mm3.

The same is needed for legacy/, and a complete patch for
drivers/ide/Makefile is below.

cu
Adrian

--- linux-2.6.2-rc2-mm1/drivers/ide/Makefile.old 2004-01-29 01:30:27.000000000 +0100
+++ linux-2.6.2-rc2-mm1/drivers/ide/Makefile 2004-01-29 01:31:09.000000000 +0100
@@ -26,17 +26,17 @@
ide-core-$(CONFIG_BLK_DEV_IDEPNP) += ide-pnp.o

# built-in only drivers from legacy/
-ide-core-$(CONFIG_BLK_DEV_IDE_PC9800) += pc9800.o
-ide-core-$(CONFIG_BLK_DEV_BUDDHA) += buddha.o
-ide-core-$(CONFIG_BLK_DEV_FALCON_IDE) += falconide.o
-ide-core-$(CONFIG_BLK_DEV_GAYLE) += gayle.o
-ide-core-$(CONFIG_BLK_DEV_MAC_IDE) += macide.o
-ide-core-$(CONFIG_BLK_DEV_Q40IDE) += q40ide.o
+ide-core-$(CONFIG_BLK_DEV_IDE_PC9800) += legacy/pc9800.o
+ide-core-$(CONFIG_BLK_DEV_BUDDHA) += legacy/buddha.o
+ide-core-$(CONFIG_BLK_DEV_FALCON_IDE) += legacy/falconide.o
+ide-core-$(CONFIG_BLK_DEV_GAYLE) += legacy/gayle.o
+ide-core-$(CONFIG_BLK_DEV_MAC_IDE) += legacy/macide.o
+ide-core-$(CONFIG_BLK_DEV_Q40IDE) += legacy/q40ide.o

# built-in only drivers from ppc/
-ide-core-$(CONFIG_BLK_DEV_MPC8xx_IDE) += mpc8xx.o
-ide-core-$(CONFIG_BLK_DEV_IDE_PMAC) += pmac.o
-ide-core-$(CONFIG_BLK_DEV_IDE_SWARM) += swarm.o
+ide-core-$(CONFIG_BLK_DEV_MPC8xx_IDE) += ppc/mpc8xx.o
+ide-core-$(CONFIG_BLK_DEV_IDE_PMAC) += ppc/pmac.o
+ide-core-$(CONFIG_BLK_DEV_IDE_SWARM) += ppc/swarm.o

obj-$(CONFIG_BLK_DEV_IDE) += ide-core.o
obj-$(CONFIG_IDE_GENERIC) += ide-generic.o

2004-01-29 06:22:25

by Nathan Scott

[permalink] [raw]
Subject: Re: Fix sleep_on abuse in XFS, Was: Re: 2.6.2-rc2-mm1 (Breakage?)

On Wed, Jan 28, 2004 at 03:02:06PM +0000, Christoph Hellwig wrote:
> ...
> INIT_LIST_HEAD(&tmp);
> do {
> /* swsusp */
> if (current->flags & PF_FREEZE)
> refrigerator(PF_IOTHREAD);
>
> - if (pbd_active == 1) {
> - mod_timer(&pb_daemon_timer,
> - jiffies + pb_params.flush_interval.val);
> - interruptible_sleep_on(&pbd_waitq);
> - }
> -
> - if (pbd_active == 0) {
> - del_timer_sync(&pb_daemon_timer);
> - }
> + schedule_timeout(pb_params.flush_interval.val);

After a bit more testing, looks like we'll also need a

current->state = TASK_INTERRUPTIBLE;

line before the schedule_timeout call, else pagebufd eats
a whole lot of system time on one CPU.

I'll send an XFS update to Linus and Andrew tomorrow after
some further testing.

thanks.

--
Nathan

2004-01-29 16:16:40

by Zephaniah E. Hull

[permalink] [raw]
Subject: Re: 2.6.2-rc2-mm1

On Tue, Jan 27, 2004 at 11:34:02PM -0800, Andrew Morton wrote:
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.2-rc2/2.6.2-rc2-mm1/

> futex-wakeup-debug.patch

This was added in a previous kernel that I have not tested until now,
however it causes a rather noticeable problem when attempting to run,
well, most programs that heavily use futexes.

When running zinf (an mp3 player) I was getting the following at a rate
of 32 times a second, flooding the console well past the point of being
completely and utterly unusable.

zinf 0 waking zinf: 28254 28254
Badness in try_to_wake_up at kernel/sched.c:722
Call Trace:
[<c0119fd1>] try_to_wake_up+0x91/0x1b0
[<c0330e4c>] common_interrupt+0x18/0x20
[<c011aef1>] __wake_up_common+0x31/0x60
[<c011af44>] __wake_up+0x24/0x30
[<c012f871>] wake_futex+0x31/0x60
[<c012f943>] futex_wake+0xa3/0xb0
[<c0130019>] do_futex+0x79/0x80
[<c011ac8e>] schedule+0x31e/0x530
[<c0130122>] sys_futex+0x102/0x120
[<c0330467>] syscall_call+0x7/0xb

This is an Athlon XP 1700+ (not overclocked) on an ECS K7S5A, however a
large number of people have reported the same problem, so I doubt it is
hardware related.

My config is also attached.

--
1024D/E65A7801 Zephaniah E. Hull <[email protected]>
92ED 94E4 B1E6 3624 226D 5727 4453 008B E65A 7801
CCs of replies from mailing lists are requested.

I've always taken the position that if you can't find anything bad to
say about a language or an operating system then you don't understand
it. I also agree with you about the advocacy. AHS. ASS.
-- Shmuel (Seymour J.) Metz in the Scary Devil Monastery.


Attachments:
(No filename) (0.00 B)
signature.asc (189.00 B)
Digital signature
Download all attachments

2004-01-29 23:38:26

by Alexander Hoogerhuis

[permalink] [raw]
Subject: Re: 2.6.2-rc2-mm1 (Breakage?)

Alistair John Strachan <[email protected]> writes:

> On Wednesday 28 January 2004 12:13, David Mart?nez Moreno wrote:
> > El Mi?rcoles, 28 de Enero de 2004 08:34, Andrew Morton escribi?:
> > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.2-rc2/2
> > >.6 .2-rc2-mm1/
> > >
> > >
> > > - From now on, -mm kernels will contain the latest contents of:
> > >
> > > Linus's tree: linus.patch
> > > The ACPI tree: acpi.patch
> > > Vojtech's tree: input.patch
> > > Jeff's tree: netdev.patch
> > > The ALSA tree: alsa.patch
> > >
> > > If anyone has any more external trees which need similar treatment,
> > > please let me know.
> > >
> > > - Various fixes. Nothing stands out.
> >
> > Hello, Andrew, I've switched from 2.6.2-rc1-mm1 to 2.6.2-rc1-mm1, and I've
> > encountered this:
> >
> [snip]
>
> Decided to build my first kernel with preempt since the early 2.5 days. I'm
> seeing the same warnings in 2.6.2-rc2-mm1.
>
> gkrellm 0 waking gkrellm: 897 1485
> Badness in try_to_wake_up at kernel/sched.c:722
> Call Trace:
> [<c011a6a7>] try_to_wake_up+0x97/0x1d0
> [<c011b0b0>] __wake_up_common+0x30/0x60
> [<c011b109>] __wake_up+0x29/0x50
> [<c0131f1b>] wake_futex+0x2b/0x70
> [<c013259a>] do_futex+0x3fa/0x6e0
> [<c011d9d0>] copy_process+0x7b0/0x10a0
> [<c011e3a9>] do_fork+0xe9/0x179
> [<c011a142>] schedule+0x1d2/0x640
> [<c0132988>] sys_futex+0x108/0x130
> [<c03e1b9e>] sysenter_past_esp+0x43/0x65
>
> Every five seconds. This is when it reads the sensor information from /sys, I
> think. And during boot, similar messages to those already reported (from
> kern.log this time).
>

I'm getting this from many different sources not doing polling in
/sys:

Jan 30 00:31:30 lapper kernel: mozilla-bin 0 waking mozilla-bin: 10599 10641
Jan 30 00:31:30 lapper kernel: Badness in try_to_wake_up at kernel/sched.c:722
Jan 30 00:31:30 lapper kernel: Call Trace:
Jan 30 00:31:30 lapper kernel: [try_to_wake_up+145/457] try_to_wake_up+0x91/0x1c9
Jan 30 00:31:30 lapper kernel: [<c011e9d5>] try_to_wake_up+0x91/0x1c9
Jan 30 00:31:30 lapper kernel: [__wake_up_common+49/80] __wake_up_common+0x31/0x50
Jan 30 00:31:30 lapper kernel: [<c011fa0f>] __wake_up_common+0x31/0x50
Jan 30 00:31:30 lapper kernel: [__wake_up+50/87] __wake_up+0x32/0x57
Jan 30 00:31:30 lapper kernel: [<c011fa60>] __wake_up+0x32/0x57
Jan 30 00:31:30 lapper kernel: [wake_futex+49/91] wake_futex+0x31/0x5b
Jan 30 00:31:30 lapper kernel: [<c0135f3d>] wake_futex+0x31/0x5b
Jan 30 00:31:30 lapper kernel: [futex_wake+209/223] futex_wake+0xd1/0xdf
Jan 30 00:31:30 lapper kernel: [<c0136038>] futex_wake+0xd1/0xdf
Jan 30 00:31:30 lapper kernel: [do_futex+123/125] do_futex+0x7b/0x7d
Jan 30 00:31:30 lapper kernel: [<c01367de>] do_futex+0x7b/0x7d
Jan 30 00:31:30 lapper kernel: [sys_futex+278/303] sys_futex+0x116/0x12f
Jan 30 00:31:30 lapper kernel: [<c01368f6>] sys_futex+0x116/0x12f
Jan 30 00:31:30 lapper kernel: [sysenter_past_esp+67/101] sysenter_past_esp+0x43/0x65
Jan 30 00:31:30 lapper kernel: [<c029131e>] sysenter_past_esp+0x43/0x65
Jan 30 00:31:30 lapper kernel:

And:

Jan 30 00:32:26 lapper kernel: emacs 256 waking mozilla-bin: 10599 10641
Jan 30 00:32:26 lapper kernel: Badness in try_to_wake_up at kernel/sched.c:722
Jan 30 00:32:26 lapper kernel: Call Trace:
Jan 30 00:32:26 lapper kernel: [try_to_wake_up+145/457] try_to_wake_up+0x91/0x1c9
Jan 30 00:32:26 lapper kernel: [<c011e9d5>] try_to_wake_up+0x91/0x1c9
Jan 30 00:32:26 lapper kernel: [process_timeout+0/12] process_timeout+0x0/0xc
Jan 30 00:32:26 lapper kernel: [<c012b605>] process_timeout+0x0/0xc
Jan 30 00:32:26 lapper kernel: [wake_up_process+30/34] wake_up_process+0x1e/0x22
Jan 30 00:32:26 lapper kernel: [<c011eb2b>] wake_up_process+0x1e/0x22
Jan 30 00:32:26 lapper kernel: [run_timer_softirq+212/456] run_timer_softirq+0xd4/0x1c8
Jan 30 00:32:26 lapper kernel: [<c012b34e>] run_timer_softirq+0xd4/0x1c8
Jan 30 00:32:26 lapper kernel: [do_softirq+152/154] do_softirq+0x98/0x9a
Jan 30 00:32:26 lapper kernel: [<c0127138>] do_softirq+0x98/0x9a
Jan 30 00:32:26 lapper kernel: [do_IRQ+271/324] do_IRQ+0x10f/0x144
Jan 30 00:32:26 lapper kernel: [<c010c9e2>] do_IRQ+0x10f/0x144
Jan 30 00:32:26 lapper kernel: [common_interrupt+24/32] common_interrupt+0x18/0x20
Jan 30 00:32:26 lapper kernel: [<c0291d58>] common_interrupt+0x18/0x20
Jan 30 00:32:26 lapper kernel:

With acpid running, which actually does some polling in /sys, the
machine will go out like a light within two seconds logging into gnome
and getting the acpi-based power-applet running.

mvh,
A
--
Alexander Hoogerhuis | [email protected]
CCNP - CCDP - MCNE - CCSE | +47 908 21 485
"You have zero privacy anyway. Get over it." --Scott McNealy

2004-01-30 01:08:44

by Daniel Andersen

[permalink] [raw]
Subject: Re: 2.6.2-rc2-mm1 (Breakage?)

> > > Hello, Andrew, I've switched from 2.6.2-rc1-mm1 to 2.6.2-rc1-mm1, and I've
> > > encountered this:
> > >
> > [snip]
> >
> > Decided to build my first kernel with preempt since the early 2.5 days. I'm
> > seeing the same warnings in 2.6.2-rc2-mm1.
> >
> > gkrellm 0 waking gkrellm: 897 1485
> > Badness in try_to_wake_up at kernel/sched.c:722
> > Call Trace:
> > [<c011a6a7>] try_to_wake_up+0x97/0x1d0
> > [<c011b0b0>] __wake_up_common+0x30/0x60
> > [<c011b109>] __wake_up+0x29/0x50
> > [<c0131f1b>] wake_futex+0x2b/0x70
> > [<c013259a>] do_futex+0x3fa/0x6e0
> > [<c011d9d0>] copy_process+0x7b0/0x10a0
> > [<c011e3a9>] do_fork+0xe9/0x179
> > [<c011a142>] schedule+0x1d2/0x640
> > [<c0132988>] sys_futex+0x108/0x130
> > [<c03e1b9e>] sysenter_past_esp+0x43/0x65
> >
> > Every five seconds. This is when it reads the sensor information from /sys, I
> > think. And during boot, similar messages to those already reported (from
> > kern.log this time).
> >

As Zephaniah E. Hull suggested earlier, the message will disappear by reverting this patch:

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.2-rc2/2.6.2-rc2-mm1/broken-out/futex-wakeup-debug.patch

Daniel Andersen

2004-01-30 02:51:47

by Adrian Bunk

[permalink] [raw]
Subject: Re: 2.6.2-rc2-mm1

On Wed, Jan 28, 2004 at 09:36:23AM +0100, Han Boetes wrote:
>
> Hmmm my build breaks with:
>
> LD .tmp_vmlinux1
> arch/i386/kernel/built-in.o(.init.text+0x1342): In function `setup_memory':
> : undefined reference to `find_smp_config'
>...

You have a Voyager machine?
You didn't enable SMP support?

Could you retry the compilation with SMP support enabled?

> # Han

cu
Adrian

--

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

2004-01-30 05:59:11

by Han

[permalink] [raw]
Subject: Re: 2.6.2-rc2-mm1

Adrian Bunk wrote:
> On Wed, Jan 28, 2004 at 09:36:23AM +0100, Han Boetes wrote:
> >
> > Hmmm my build breaks with:
> >
> > LD .tmp_vmlinux1
> > arch/i386/kernel/built-in.o(.init.text+0x1342): In function `setup_memory':
> > : undefined reference to `find_smp_config'
> >...
>
> You have a Voyager machine?
> You didn't enable SMP support?
>
> Could you retry the compilation with SMP support enabled?

Andrew already replied to me in private. Seems like I accidentally
selected the wrong processor-type during the make oldconfig. I hoped
nobody would notice ;)



# Han

2004-01-30 10:48:35

by Zephaniah E. Hull

[permalink] [raw]
Subject: Re: 2.6.2-rc2-mm1

On Tue, Jan 27, 2004 at 11:34:02PM -0800, Andrew Morton wrote:
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.2-rc2/2.6.2-rc2-mm1/
>
> - From now on, -mm kernels will contain the latest contents of:
>
> Vojtech's tree: input.patch

This one seems to have a rather problematic patch, which I can't find
any explanation for.

Specificly:
<snip>
diff -Nru a/drivers/usb/input/hid-input.c b/drivers/usb/input/hid-input.c
--- a/drivers/usb/input/hid-input.c Thu Jan 29 22:57:25 2004
+++ b/drivers/usb/input/hid-input.c Thu Jan 29 22:57:25 2004
@@ -432,20 +432,21 @@
input_regs(input, regs);

if ((hid->quirks & HID_QUIRK_2WHEEL_MOUSE_HACK)
- && (usage->code == BTN_BACK)) {
+ && (usage->code == BTN_BACK || usage->code == BTN_EXTRA)) {
if (value)
hid->quirks |= HID_QUIRK_2WHEEL_MOUSE_HACK_ON;
else
hid->quirks &= ~HID_QUIRK_2WHEEL_MOUSE_HACK_ON;
return;
}
<snip>

This seems to be due to trying to use the same flag for
USB_DEVICE_ID_CYPRESS_MOUSE as well, however this is very wrong.

The original user of HID_QUIRK_2WHEEL_MOUSE_HACK,
USB_DEVICE_ID_A4TECH_WCP32PU, actually /HAS/ a button labeled BTN_EXTRA,
which after this patch can no longer even be used.

The only proper approach is to rename HID_QUIRK_2WHEEL_MOUSE_HACK and
add a new one for the Cypress mouse as well.

If need be I can generate such a patch, however I will need to know what
to generate it against.

Zephaniah E. Hull.
(Original author of the HID_QUIRK_2WHEEL_MOUSE_HACK patch.)

--
1024D/E65A7801 Zephaniah E. Hull <[email protected]>
92ED 94E4 B1E6 3624 226D 5727 4453 008B E65A 7801
CCs of replies from mailing lists are requested.

If I have trouble installing Linux, something is wrong. Very wrong.
-- Linus Torvalds on l-k.


Attachments:
(No filename) (1.73 kB)
signature.asc (189.00 B)
Digital signature
Download all attachments

2004-01-30 11:01:52

by Vojtech Pavlik

[permalink] [raw]
Subject: Re: 2.6.2-rc2-mm1

On Fri, Jan 30, 2004 at 05:48:29AM -0500, Zephaniah E. Hull wrote:
> On Tue, Jan 27, 2004 at 11:34:02PM -0800, Andrew Morton wrote:
> >
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.2-rc2/2.6.2-rc2-mm1/
> >
> > - From now on, -mm kernels will contain the latest contents of:
> >
> > Vojtech's tree: input.patch
>
> This one seems to have a rather problematic patch, which I can't find
> any explanation for.

There is another revision of the same mouse from A4Tech (owned by
Jaroslav Kysela), that reports itself as Cypress and has the buttons a
bit differently.

If it indeed collides with your mouse, then we need somehow to specify
which button carries the wheel information in the quirk list.

>
> Specificly:
> <snip>
> diff -Nru a/drivers/usb/input/hid-input.c b/drivers/usb/input/hid-input.c
> --- a/drivers/usb/input/hid-input.c Thu Jan 29 22:57:25 2004
> +++ b/drivers/usb/input/hid-input.c Thu Jan 29 22:57:25 2004
> @@ -432,20 +432,21 @@
> input_regs(input, regs);
>
> if ((hid->quirks & HID_QUIRK_2WHEEL_MOUSE_HACK)
> - && (usage->code == BTN_BACK)) {
> + && (usage->code == BTN_BACK || usage->code == BTN_EXTRA)) {
> if (value)
> hid->quirks |= HID_QUIRK_2WHEEL_MOUSE_HACK_ON;
> else
> hid->quirks &= ~HID_QUIRK_2WHEEL_MOUSE_HACK_ON;
> return;
> }
> <snip>
>
> This seems to be due to trying to use the same flag for
> USB_DEVICE_ID_CYPRESS_MOUSE as well, however this is very wrong.
>
> The original user of HID_QUIRK_2WHEEL_MOUSE_HACK,
> USB_DEVICE_ID_A4TECH_WCP32PU, actually /HAS/ a button labeled BTN_EXTRA,
> which after this patch can no longer even be used.
>
> The only proper approach is to rename HID_QUIRK_2WHEEL_MOUSE_HACK and
> add a new one for the Cypress mouse as well.
>
> If need be I can generate such a patch, however I will need to know what
> to generate it against.
>
> Zephaniah E. Hull.
> (Original author of the HID_QUIRK_2WHEEL_MOUSE_HACK patch.)
>
> --
> 1024D/E65A7801 Zephaniah E. Hull <[email protected]>
> 92ED 94E4 B1E6 3624 226D 5727 4453 008B E65A 7801
> CCs of replies from mailing lists are requested.
>
> If I have trouble installing Linux, something is wrong. Very wrong.
> -- Linus Torvalds on l-k.



--
Vojtech Pavlik
SuSE Labs, SuSE CR

2004-01-30 11:20:28

by Vojtech Pavlik

[permalink] [raw]
Subject: Re: 2.6.2-rc2-mm1

On Fri, Jan 30, 2004 at 06:18:05AM -0500, Zephaniah E. Hull wrote:
> On Fri, Jan 30, 2004 at 12:02:05PM +0100, Vojtech Pavlik wrote:
> > On Fri, Jan 30, 2004 at 05:48:29AM -0500, Zephaniah E. Hull wrote:
> > > On Tue, Jan 27, 2004 at 11:34:02PM -0800, Andrew Morton wrote:
> > > >
> > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.2-rc2/2.6.2-rc2-mm1/
> > > >
> > > > - From now on, -mm kernels will contain the latest contents of:
> > > >
> > > > Vojtech's tree: input.patch
> > >
> > > This one seems to have a rather problematic patch, which I can't find
> > > any explanation for.
> >
> > There is another revision of the same mouse from A4Tech (owned by
> > Jaroslav Kysela), that reports itself as Cypress and has the buttons a
> > bit differently.
> >
> > If it indeed collides with your mouse, then we need somehow to specify
> > which button carries the wheel information in the quirk list.
>
> Ugh, that is not fun, it does indeed conflict.
> How about HID_QUIRK_2WHEEL_MOUSE_HACK_EXTRA and
> HID_QUIRK_2WHEEL_MOUSE_HACK_BACK as quirk names?

Sounds OK.

--
Vojtech Pavlik
SuSE Labs, SuSE CR

2004-01-30 11:18:29

by Zephaniah E. Hull

[permalink] [raw]
Subject: Re: 2.6.2-rc2-mm1

On Fri, Jan 30, 2004 at 12:02:05PM +0100, Vojtech Pavlik wrote:
> On Fri, Jan 30, 2004 at 05:48:29AM -0500, Zephaniah E. Hull wrote:
> > On Tue, Jan 27, 2004 at 11:34:02PM -0800, Andrew Morton wrote:
> > >
> > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.2-rc2/2.6.2-rc2-mm1/
> > >
> > > - From now on, -mm kernels will contain the latest contents of:
> > >
> > > Vojtech's tree: input.patch
> >
> > This one seems to have a rather problematic patch, which I can't find
> > any explanation for.
>
> There is another revision of the same mouse from A4Tech (owned by
> Jaroslav Kysela), that reports itself as Cypress and has the buttons a
> bit differently.
>
> If it indeed collides with your mouse, then we need somehow to specify
> which button carries the wheel information in the quirk list.

Ugh, that is not fun, it does indeed conflict.
How about HID_QUIRK_2WHEEL_MOUSE_HACK_EXTRA and
HID_QUIRK_2WHEEL_MOUSE_HACK_BACK as quirk names?

--
1024D/E65A7801 Zephaniah E. Hull <[email protected]>
92ED 94E4 B1E6 3624 226D 5727 4453 008B E65A 7801
CCs of replies from mailing lists are requested.

I could imagine that there might be some GPL project out there that
_deserves_ getting sued(*) and it has nothing to do with Linux.

Linus

(*) "GNU Emacs, the defendent, did inefariously conspire to play
towers-of-hanoy, while under the guise of a harmless editor".


Attachments:
(No filename) (1.39 kB)
signature.asc (189.00 B)
Digital signature
Download all attachments

2004-01-30 12:41:48

by Zephaniah E. Hull

[permalink] [raw]
Subject: Re: 2.6.2-rc2-mm1

On Fri, Jan 30, 2004 at 12:20:39PM +0100, Vojtech Pavlik wrote:
> On Fri, Jan 30, 2004 at 06:18:05AM -0500, Zephaniah E. Hull wrote:
> > On Fri, Jan 30, 2004 at 12:02:05PM +0100, Vojtech Pavlik wrote:
> > > On Fri, Jan 30, 2004 at 05:48:29AM -0500, Zephaniah E. Hull wrote:
> > > > On Tue, Jan 27, 2004 at 11:34:02PM -0800, Andrew Morton wrote:
> > > > >
> > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.2-rc2/2.6.2-rc2-mm1/
> > > > >
> > > > > - From now on, -mm kernels will contain the latest contents of:
> > > > >
> > > > > Vojtech's tree: input.patch
> > > >
> > > > This one seems to have a rather problematic patch, which I can't find
> > > > any explanation for.
> > >
> > > There is another revision of the same mouse from A4Tech (owned by
> > > Jaroslav Kysela), that reports itself as Cypress and has the buttons a
> > > bit differently.
> > >
> > > If it indeed collides with your mouse, then we need somehow to specify
> > > which button carries the wheel information in the quirk list.
> >
> > Ugh, that is not fun, it does indeed conflict.
> > How about HID_QUIRK_2WHEEL_MOUSE_HACK_EXTRA and
> > HID_QUIRK_2WHEEL_MOUSE_HACK_BACK as quirk names?
>
> Sounds OK.

Ok, attached.
It is against 2.6.2-rc2-mm2, and has been tested.
(Yes, I know about the line lengths. If they are a problem, I can
tweak.)

--
1024D/E65A7801 Zephaniah E. Hull <[email protected]>
92ED 94E4 B1E6 3624 226D 5727 4453 008B E65A 7801
CCs of replies from mailing lists are requested.

Stubborness will get you where self-esteem won't let you go.
-- Queen Of Swords in the SDM.


Attachments:
(No filename) (0.00 B)
signature.asc (189.00 B)
Digital signature
Download all attachments