2.6.19-rc4-mm2
Subsystems (2)
Andrew Morton
Appliedftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.19-rc4/2.6.19-rc4-mm2/
- This is a bit of a rush job. Mainly to test the updates to the driver tree, which do appear to have improved things.
- There's a huge update here to the hrtimers and dynticks code which I was supposed to test to see if it fixes the Vaio-goes-deadly-slow problem, but I forgot to. But it does boot with hrtimers disabled...
<quickly tests it>
Nope, doesn't work.
- Lots of fbdev updates. We haven't heard from Tony in several months, so I went on a linux-fbdev-devel fishing expedition.
- `make headers_check' is known-broken on i386 (Rusty's fault, as always)
Boilerplate:
- See the `hot-fixes' directory for any important updates to this patchset.
- To fetch an -mm tree using git, use (for example)
git fetch git://git.kernel.org/pub/scm/linux/kernel/git/smurf/linux-trees.git v2.6.16-rc2-mm1
- -mm kernel commit activity can be reviewed by subscribing to the mm-commits mailing list.
echo "subscribe mm-commits" | mail [email protected]
- If you hit a bug in -mm and it is not obvious which patch caused it, it is most valuable if you can perform a bisection search to identify which patch introduced the bug. Instructions for this process are at
http://www.zip.com.au/~akpm/linux/patches/stuff/bisecting-mm-trees.txt
But beware that this process takes some time (around ten rebuilds and reboots), so consider reporting the bug first and if we cannot immediately identify the faulty patch, then perform the bisection search.
- When reporting bugs, please try to Cc: the relevant maintainer and mailing list on any email.
- When reporting bugs in this kernel via email, please also rewrite the email Subject: in some manner to reflect the nature of the bug. Some developers filter by Subject: when looking for messages to read.
- Semi-daily snapshots of the -mm lineup are uploaded to ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/ and are announced on the mm-commits list.
Changes since 2.6.19-rc4-mm1:
origin.patch
git-acpi.patch
git-alsa.patch
git-cifs.patch
git-cpufreq.patch
git-drm.patch
git-dvb.patch
git-gfs2.patch
git-ia64.patch
git-ieee1394.patch
git-infiniband.patch
git-jfs.patch
git-libata-all.patch
git-mips.patch
git-mmc.patch
git-mtd.patch
git-netdev-all.patch
git-net.patch
git-ioat.patch
git-ocfs2.patch
git-pcmcia.patch
git-powerpc.patch
git-r8169.patch
git-pciseg.patch
git-s390.patch
git-scsi-misc.patch
git-scsi-target.patch
git-sas.patch
git-qla3xxx.patch
git-watchdog.patch
git-wireless.patch
git-cryptodev.patch
git-gccbug.patch
git trees
-find_bd_holder-fix.patch -uml-ubd-driver-allow-using-up-to-16-ubd-devices.patch -uml-ubd-driver-document-some-struct-fields.patch -uml-ubd-driver-var-renames.patch -uml-ubd-driver-give-better-names-to-some-functions.patch -uml-ubd-driver-change-ubd_lock-to-be-a-mutex.patch -uml-ubd-driver-ubd_io_lock-usage-fixup.patch -uml-ubd-driver-reformat-ubd_config.patch -uml-ubd-driver-convert-do_ubd-to-a-boolean-variable.patch -uml-ubd-driver-use-bitfields-where-possible.patch -uml-ubd-driver-do-not-store-error-codes-as-fd.patch -uml-ubd-driver-various-little-changes.patch -uml-add-_text-definition-to-linker-scripts.patch -uml-add-initcalls.patch -taskstats-fix-sub-threads-accounting.patch -ecryptfs-clean-up-crypto-initialization.patch -ecryptfs-hash-code-to-new-crypto-api.patch -ecryptfs-cipher-code-to-new-crypto-api.patch -ecryptfs-consolidate-lower-dentry_opens.patch -ecryptfs-remove-ecryptfs_umount_begin.patch -ecryptfs-fix-handling-of-lower-d_count.patch -md-check-bio-address-after-mapping-through-partitions.patch -ia64-cpu-hotplug-fix-conflict-between-cpu-hot-add-and-ipi.patch -ohci1394-shortcut-irq-printing.patch -sata_nv-adma-ncq-support-for-nforce4-v7.patch -ata_piix-clean-up-port-flags.patch -libata-unexport-ata_dev_revalidate.patch -libata-convert-post_reset-to-flags-in-ata_dev_read_id.patch -libata-implement-presence-detection-via-polling-identify.patch -ata_piix-apply-device-detection-via-polling-identify.patch -ata_piix-strip-now-unneded-map-related-stuff.patch -libata-revamp-blacklist-support-to-allow-multiple-kinds.patch -sata_sis-fix-flags-handling-for-the-secondary-port.patch -ata-generic-platform_device-libata-driver-take-2.patch -ehea-kzalloc-gfp_atomic-fix.patch -net-s2io-return-on-null-dev_alloc_skb.patch -n2-fix-confusing-error-code.patch -tokenring-fix-module_init-error-handling.patch -add-weida-microdrive-into-ide-csc.patch -pci-error-recovery-symbios-scsi-device-driver.patch -scsi-iscsi-build-failure.patch -x86_64-irq-reset-more-to-default-when-clear-irq_vector-for-destroy_irq.patch
Merged into mainline or a subsystem tree
+ecryptfs-cipher-code-to-new-crypto-api-fix.patch +cleanup-read_pages.patch +cifs-readpages-fixes.patch +fuse-readpages-cleanup.patch +gfs2-readpages-fixes.patch +edac_mc-fix-error-handling.patch +nfs4-fix-for-recursive-locking-problem.patch +ipmi_si_intfc-sets-bad-class_mask-with-pci_device_class.patch +init_reap_node-initialization-fix.patch +printk-timed-ratelimit.patch +schedule-removal-of-futex_fd.patch +acpi_noirq-section-fix.patch +swsusp-debugging.patch
+swsusp-debugging-doc.patch
+spi-section-fix.patch +reiserfs-reset-errval-after-initializing-bitmap-cache.patch +usb-hub-build-fix.patch +remove-hotplug-cpu-crap-from-cpufreq.patch +uml-fix-i-o-hang.patch
+uml-include-tidying.patch +revert-iscsi-build-failure-use-depends-instead-of.patch
2.6.19 queue
-lkdtm-module_param-fixes.patch +lkdtm-cleanup-headers-and-module_param-module_parm_desc.patch
Updated
+acpi-clear-gpe-before-disabling-it.patch
ACPi fix
+hdspm-printk-warning-fix.patch
ALSA fix
+gregkh-driver-w1-ioremap-balanced-with-iounmap.patch +gregkh-driver-driver-core-add-notification-of-bus-events.patch +gregkh-driver-driver-link-sysfs-timing.patch +gregkh-driver-cleanup-virtual_device_parent.patch +gregkh-driver-config_sysfs_deprecated.patch +gregkh-driver-udev-compatible-hack.patch +gregkh-driver-config_sysfs_deprecated-bus.patch +gregkh-driver-config_sysfs_deprecated-device.patch +gregkh-driver-config_sysfs_deprecated-PHYSDEV.patch +gregkh-driver-config_sysfs_deprecated-class.patch +gregkh-driver-vt-device.patch +gregkh-driver-vc-device.patch +gregkh-driver-misc-devices.patch +gregkh-driver-tty-device.patch +gregkh-driver-raw-device.patch +gregkh-driver-i2c-dev-device.patch +gregkh-driver-msr-device.patch +gregkh-driver-cpuid-device.patch +gregkh-driver-ppp-device.patch +gregkh-driver-ppdev-device.patch +gregkh-driver-mmc-device.patch +gregkh-driver-firmware-device.patch +gregkh-driver-fb-device.patch +gregkh-driver-mem-devices.patch +gregkh-driver-sound-device.patch +gregkh-driver-network-device.patch +gregkh-driver-put_device-might_sleep.patch +gregkh-driver-sysfs-crash-debugging.patch +gregkh-driver-kobject-warn.patch +gregkh-driver-warn-when-statically-allocated-kobjects-are-used.patch +gregkh-driver-uio.patch
+gregkh-driver-nozomi.patch
Bring back the driver tree
+nozomi-warning-fixes.patch
+nozomi-irq-flags-fixes.patch
+call-platform_notify_remove-later.patch
+update-uio_interrupt.patch
Fixes thereto
+dvb-dibx000_common-fix.patch
DVB fix
+ps-2-driver-update-for-fujitsu-4-wire-touchscreen-on-hitachi-tablets.patch +lifebook-learn-about-tabs.patch
Input driver fixes
+via-pata-controller-xfer-fixes-fix.patch
Fix via-pata-controller-xfer-fixes.patch
-nfs-fix-nfs_readpages-error-path.patch
Dropped, unneeded
+auth_gss-unregister-gss_domain-when-unloading-module-fix.patch
NFS fix
+pci-device-ensure-sysdata-initialised-v2.patch
Fix for git-pciseg.patch
-x86_64-mm-i386-reloc-abssym.patch
-x86_64-mm-i386-reloc-cleanup-align.patch
I suspect I droped these by accident - the x86_64 tree is a bit of a mess.
+x86_64-mm-paravirt-cpu-detect.patch
+x86_64-mm-clear-irq-vector.patch
+x86_64-mm-io-apic-reuse.patch
x86_64 tree additions
-x86_64-irq-reuse-vector-for-__assign_irq_vector.patch
Not sure where this went - the x86_64 tree is a bit of a mess.
-prep-for-paravirt-cpu_detect-extraction.patch
I might have dropped this by accident too.
+paravirtualization-header-and-stubs-for.patch +paravirtualization-patch-inline-replacements-for.patch +paravirtualization-patch-inline-replacements-for-fix.patch +paravirtualization-more-generic-paravirtualization.patch +paravirtualization-allow-selected-bug-checks-to-be.patch +paravirtualization-allow-disabling-legacy-power.patch +paravirtualization-add-apic-accessors-to-paravirt-ops.patch +paravirtualization-add-apic-accessors-to-paravirt-ops-tidy.patch +paravirtualization-add-mmu-virtualization-to.patch
hypervisor stuff
-make-x86_64-udelay-round-up-instead-of-down.patch -i386-x86_64-comment-magic-constants-in-delayh.patch
Dropped.
+mm-arch-do_page_fault-vs-in_atomic.patch
+mm-pagefault_disableenable.patch
+mm-kummap_atomic-vs-in_atomic.patch
MM updates
+swsusp-freeze-filesystems-during-suspend-rev-2.patch +swsusp-freeze-filesystems-during-suspend-rev-2-comments.patch +swsusp-use-platform-mode-by-default.patch
swsusp updates
+drivers-add-lcd-support-update-5.patch
+drivers-add-lcd-support-update6.patch
LCD driver updates
+taskstats-cleanup-do_exit-path.patch +taskstats-cleanup-signal-stats-allocation.patch +taskstats-factor-out-reply-assembling.patch +taskstats-use-nla_reserve-for-reply-assembling.patch
taskstats cleanups and tweaks
+aio-use-prepare_to_wait.patch +exar-quad-port-serial.patch +exar-quad-port-serial-fix.patch +fs-trivial-vsnprintf-conversion.patch +hpfs-bring-hpfs_error-into-shape.patch +drivers-cdrom-trivial-vsnprintf-conversion.patch +vfs-extra-check-inside-dentry_unhash.patch +correct-misc_register-return-code-handling-in-several-drivers.patch +more-list-debugging-context.patch
Misc
+log2-implement-a-general-integer-log2-facility-in-the-kernel-ppc-fix.patch
build fix
+tty-switch-to-ktermios-nozomi-fix.patch
Bring this back
+drivers-isdn-trivial-vsnprintf-conversion.patch
ISDN cleanup
+patch-for-nvidia-divide-by-zero-error-for-7600.patch +radeonfb-support-24bpp-32bpp-minus-alpha.patch +pmagb-b-fb-fix-a-default-clock.patch +video-get-the-default-mode-from-the-right-database.patch +s3c2410fb-add-support-for-stn-displays.patch +fbcmapc-mark-structs-const-or.patch +various-fbdev-files-mark-structs.patch +constify-and-annotate-__read_mostly.patch +annotate-some-variables-in-vesafb.patch +constify-vga16fbc.patch +au1100fb-fix-to-remove-flickering.patch +mbxfb-fix-hscoeff3-register-address.patch +mbxfb-add-more-registers-bits.patch +mbxfb-add-more-registers-to-debugfs.patch +mbxfb-add-yuv-video-overlay-support.patch +mbxfb-document-the-new-ioctl.patch +atyfb-remove-fixme.patch +atyfb-fix-compiler-warnings.patch +atyfb-fix-sparse-warnings.patch +atyfb-fix-blanking-level.patch +atyfb-remove-pointless-aty_init.patch +atyfb-fix-__init-and-__devinit.patch +atyfb-remove-aty_cmap_regs.patch +atyfb-improve-atyfb_atari_probe.patch +atyfb-improve-power-management.patch
fbdev updates
+highres-timer-core-fix-status-check.patch
+highres-timer-core-fix-commandline-setup.patch
+clockevents-smp-on-up-features.patch
+highres-depend-on-clockevents.patch
+i386-apic-cleanup.patch
+pm-timer-allow-early-access.patch
+i386-lapic-timer-calibration.patch
+clockevents-add-broadcast-support.patch
+acpi-include-apic-h.patch
+acpi-keep-track-of-timer-broadcast.patch
+i386-apic-timer-use-clockevents-broadcast.patch
+acpi-verify-lapic-timer.patch
+acpi-verify-lapic-timer-exports.patch
Attempt to make the hrtimer code work on my laptop (I forgot to test it).
+kevent_user_wait-retval-fix.patch
kevent fixlet.
All 1113 patches:
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.19-rc4/2.6.19-rc4-mm2/patch-list
PATCH 1/1 s390: pagefault_disable/enable build fix
From: Heiko Carstens <[email protected]>
arch/s390/lib/lib.a(uaccess_std.o)(.text+0x282): In function `futex_atomic_op':
: undefined reference to `pagefault_disable'
---
Looks like we want to replace all asm/uaccess.h with linux/uaccess.h...
arch/s390/lib/uaccess_std.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
arch/s390/lib/uaccess_std.c +1 -1
@@ -11,7 +11,7 @@#include <linux/errno.h> #include <linux/mm.h> -#include <asm/uaccess.h> +#include <linux/uaccess.h> #include <asm/futex.h> #ifndef __s390x__
Re: [patch -mm] s390: pagefault_disable/enable build fix
Quoted 11 lines · Heiko Carstens
From: Heiko Carstens <[email protected]>
arch/s390/lib/lib.a(uaccess_std.o)(.text+0x282): In function `futex_atomic_op':
: undefined reference to `pagefault_disable'Cc Peter Zijlstra <[email protected]>Cc Martin Schwidefsky <[email protected]>Signed-off-by Heiko Carstens <[email protected]>---
Looks like we want to replace all
asm/uaccess.hwithlinux/uaccess.h...
Bah, I knew that misery was upon us:
http://programming.kicks-ass.net/kernel-patches/mm_inatomic/
In particular:
http://programming.kicks-ass.net/kernel-patches/mm_inatomic/uaccess_asm_to_linux.patch
:-(
I'd just hoped that'd not be needed for these three patches...
Re: 2.6.19-rc4-mm2 [PATCH] acpi unsused variable cleanup
In reply to Andrew MortonHello,
So far 2.6.19-rc4-mm2 works fine for me. I attached trivial warning fix to
address this:
drivers/acpi/events/evmisc.c: In function 'acpi_ev_global_lock_handler':drivers/acpi/events/evmisc.c:334: warning: unused variable 'status'
The patch is against 2.6.19-rc4-mm2.
Regards,
Mariusz Kozlowski
---
--- linux-2.6.19-rc4-orig/drivers/acpi/events/evmisc.c 2006-11-02 23:51:15.000000000 +0100
+++ linux-2.6.19-rc4/drivers/acpi/events/evmisc.c 2006-11-03
00:02:40.000000000 +0100
@@ -331,7 +331,6 @@ static void ACPI_SYSTEM_XFACE acpi_ev_gl
static u32 acpi_ev_global_lock_handler(void *context)
{
u8 acquired = FALSE;- acpi_status status;
/*
* Attempt to get the lock
Re: 2.6.19-rc4-mm2 -- reiserfs umount panic
In reply to Andrew MortonJust happened to be watching a console of a test box when it was performing a post job reboot and caught the following panic. This specific machine is a ppc64. Sadly these are not part of the job.
/me considers how we could fix that. Perhaps we could just shove a plain reboot at the end of one of the jobs ... hmmm.
-apw
REISERFS: panic (device sda3): journal_begin called without kernel lock held kernel BUG in reiserfs_panic at fs/reiserfs/prints.c:361!
Oops: Exception in kernel mode, sig: 5 [#1] SMP NR_CPUS=32 NUMA Modules linked in: NIP: C000000000125A60 LR: C000000000125A5C CTR: 00000000000D0274 REGS: c00000076e693640 TRAP: 0700 Not tainted (2.6.19-rc4-mm2-autokern1) MSR: 8000000000029032 <EE,ME,IR,DR> CR: 22008424 XER: 00000000
TASK = c00000003fb68250[16416] 'umount' THREAD: c00000076e690000 CPU: 2
GPR00: C000000000125A5C C00000076E6938C0 C0000000006662E8 0000000000000050
GPR04: 0000000000000000 FFFFFFFFFFFFFFFF 656C206C6F636B20 68656C640D0A726E
GPR08: 0000000000000000 C00000000054EAB8 C00000000068F810 C00000000068F808
GPR12: 00000000000D0274 C000000000545500 0000000000000000 0000000000000000
GPR16: 00000000100A7D10 00000000100A94E0 0000000010070000 0000000000000000
GPR20: 0000000010010000 00000000FFFFFFFF 0000000010019218 0000000000000000
GPR24: 0000000000000000 000000000000000A C00000076E693BC0 000000000000000A
GPR28: C000000000518800 C00000076E693BC0 C000000000579080 C000000000518800 NIP [C000000000125A60] .reiserfs_panic+0x6c/0x90
LR [C000000000125A5C] .reiserfs_panic+0x68/0x90
Call Trace: [C00000076E6938C0] [C000000000125A5C] .reiserfs_panic+0x68/0x90 (unreliable) [C00000076E693940] [C000000000134A38] .reiserfs_check_lock_depth+0x30/0x48 [C00000076E6939C0] [C00000000013A654] .do_journal_begin_r+0x58/0x434 [C00000076E693AB0] [C00000000013AC54] .journal_begin+0x108/0x170 [C00000076E693B50] [C000000000123130] .reiserfs_remount+0x194/0x460 [C00000076E693C50] [C0000000000B47D0] .do_remount_sb+0x1a8/0x224 [C00000076E693CF0] [C0000000000D0E98] .sys_umount+0x19c/0x2a0 [C00000076E693E30] [C00000000000872C] syscall_exit+0x0/0x40
Instruction dump:f90100d8 f92100e0 f94100e8 4bfff11d 4192000c 389f0218 48000008 e89e8178 e87e8180 e8be8080 4bf289b5 60000000 <0fe00000> 4192000c 389f0218 48000008
<3>Badness in do_exit at kernel/exit.c:853
Call Trace:
[C00000076E692E70] [C00000000000F198] .show_stack+0x74/0x1b4 (unreliable)
[C00000076E692F20] [C000000000021688] .program_check_exception+0x194/0x634
[C00000076E692FD0] [C000000000004774] program_check_common+0xf4/0x100
--- Exception: 700 at .do_exit+0x50/0xa1c
LR = .do_exit+0x44/0xa1c
[C00000076E693380] [C000000000021038] .die+0x150/0x154
[C00000076E693410] [C000000000021264] ._exception+0x48/0x138
[C00000076E693520] [C000000000021B0C] .program_check_exception+0x618/0x634
[C00000076E6935D0] [C000000000004774] program_check_common+0xf4/0x100
--- Exception: 700 at .reiserfs_panic+0x6c/0x90
LR = .reiserfs_panic+0x68/0x90
[C00000076E693940] [C000000000134A38] .reiserfs_check_lock_depth+0x30/0x48
[C00000076E6939C0] [C00000000013A654] .do_journal_begin_r+0x58/0x434
[C00000076E693AB0] [C00000000013AC54] .journal_begin+0x108/0x170
[C00000076E693B50] [C000000000123130] .reiserfs_remount+0x194/0x460
[C00000076E693C50] [C0000000000B47D0] .do_remount_sb+0x1a8/0x224
[C00000076E693CF0] [C0000000000D0E98] .sys_umount+0x19c/0x2a0
[C00000076E693E30] [C00000000000872C] syscall_exit+0x0/0x40
/etc/init.d/boot.d/K15boot.localfs: line 217: 16416 Trace/breakpoint
trap umount -avt noproc,nonfs,nosmbfs
failed
Oops: umount failed :-( -- trying to remount readonly...Re: 2.6.19-rc4-mm2 -- reiserfs umount panic
Quoted 28 lines · On Fri, 03 Nov 2006 15:08:06 +0000 Andy Whitcroft <[email protected]> wrote:
Just happened to be watching a console of a test box when it was performing a post job reboot and caught the following panic. This specific machine is a ppc64. Sadly these are not part of the job.
/me considers how we could fix that. Perhaps we could just shove a plain reboot at the end of one of the jobs ... hmmm.
-apw
REISERFS: panic (device sda3):
journal_begincalled without kernel lock held kernel BUG inreiserfs_panicatfs/reiserfs/prints.c:361!Oops: Exception in kernel mode, sig: 5 [#1] SMP NR_CPUS=32 NUMA Modules linked in: NIP: C000000000125A60 LR: C000000000125A5C CTR: 00000000000D0274 REGS: c00000076e693640 TRAP: 0700 Not tainted (2.6.19-rc4-mm2-autokern1) MSR: 8000000000029032 <EE,ME,IR,DR> CR: 22008424 XER: 00000000TASK = c00000003fb68250[16416] 'umount' THREAD:
c00000076e690000CPU: 2
GPR00: C000000000125A5C C00000076E6938C0 C0000000006662E8 0000000000000050
GPR04: 0000000000000000 FFFFFFFFFFFFFFFF 656C206C6F636B20 68656C640D0A726E
GPR08: 0000000000000000 C00000000054EAB8 C00000000068F810 C00000000068F808
GPR12: 00000000000D0274 C000000000545500 0000000000000000 0000000000000000
GPR16: 00000000100A7D10 00000000100A94E0 0000000010070000 0000000000000000
GPR20: 0000000010010000 00000000FFFFFFFF 0000000010019218 0000000000000000
GPR24: 0000000000000000 000000000000000A C00000076E693BC0 000000000000000A
GPR28: C000000000518800 C00000076E693BC0 C000000000579080 C000000000518800 NIP [C000000000125A60] .reiserfs_panic+0x6c/0x90
LR [C000000000125A5C] .reiserfs_panic+0x68/0x90
Quoted 9 lines
Call Trace: [C00000076E6938C0] [C000000000125A5C] .reiserfs_panic+0x68/0x90 (unreliable) [C00000076E693940] [C000000000134A38] .reiserfs_check_lock_depth+0x30/0x48 [C00000076E6939C0] [C00000000013A654] .do_journal_begin_r+0x58/0x434 [C00000076E693AB0] [C00000000013AC54] .journal_begin+0x108/0x170 [C00000076E693B50] [C000000000123130] .reiserfs_remount+0x194/0x460 [C00000076E693C50] [C0000000000B47D0] .do_remount_sb+0x1a8/0x224 [C00000076E693CF0] [C0000000000D0E98] .sys_umount+0x19c/0x2a0 [C00000076E693E30] [C00000000000872C] syscall_exit+0x0/0x40
That thump you heard was the sound of vfs-bkl-is-not-required-for-remount_fs.patch getting dropped. Thanks.
Re: 2.6.19-rc4-mm2 -- reiserfs umount panic
Matthew,
4 years ago you have patched the Locking document and changed the BKL rule for remount_fs()
# ChangeSet
# 2003/08/21 00:28:27-07:00 [email protected] # [PATCH] update Documentation/filesystems/Locking # From: Matthew Wilcox <[email protected]>
locking rules:
All may block.
- BKL s_lock mount_sem
-remount_fs: yes yes maybe (see below)
+ BKL s_lock s_umount
+remount_fs: no yes maybe (see below)
As far as I understand it was a misprint, de-facto BKL is required at least for reiserfs, where is a long-lived check. Also I've found that currently remount_fs() is called only from do_remount_sb(), which is called with taken BKL in all cases:
- do_umount() and do_emergency_remount() acquires BKL directly;
- do_remount() which called from do_mount() with taken BKL;
- get_sb_single() which called from .get_sb() and should have BKL too
If you have not any objections I would like to fix this issue by the patch from the following letter.
thank you,
Vasily Averin
Quoted 43 lines · Andrew Morton
Quoted 28 lines · On Fri, 03 Nov 2006 15:08:06 +0000 Andy Whitcroft <[email protected]> wrote:
Just happened to be watching a console of a test box when it was performing a post job reboot and caught the following panic. This specific machine is a ppc64. Sadly these are not part of the job.
/me considers how we could fix that. Perhaps we could just shove a plain reboot at the end of one of the jobs ... hmmm.
-apw
REISERFS: panic (device sda3):
journal_begincalled without kernel lock held kernel BUG inreiserfs_panicatfs/reiserfs/prints.c:361!Oops: Exception in kernel mode, sig: 5 [#1] SMP NR_CPUS=32 NUMA Modules linked in: NIP: C000000000125A60 LR: C000000000125A5C CTR: 00000000000D0274 REGS: c00000076e693640 TRAP: 0700 Not tainted (2.6.19-rc4-mm2-autokern1) MSR: 8000000000029032 <EE,ME,IR,DR> CR: 22008424 XER: 00000000TASK = c00000003fb68250[16416] 'umount' THREAD:
c00000076e690000CPU: 2
GPR00: C000000000125A5C C00000076E6938C0 C0000000006662E8 0000000000000050
GPR04: 0000000000000000 FFFFFFFFFFFFFFFF 656C206C6F636B20 68656C640D0A726E
GPR08: 0000000000000000 C00000000054EAB8 C00000000068F810 C00000000068F808
GPR12: 00000000000D0274 C000000000545500 0000000000000000 0000000000000000
GPR16: 00000000100A7D10 00000000100A94E0 0000000010070000 0000000000000000
GPR20: 0000000010010000 00000000FFFFFFFF 0000000010019218 0000000000000000
GPR24: 0000000000000000 000000000000000A C00000076E693BC0 000000000000000A
GPR28: C000000000518800 C00000076E693BC0 C000000000579080 C000000000518800 NIP [C000000000125A60] .reiserfs_panic+0x6c/0x90
LR [C000000000125A5C] .reiserfs_panic+0x68/0x90Quoted 9 lines
Call Trace: [C00000076E6938C0] [C000000000125A5C] .reiserfs_panic+0x68/0x90 (unreliable) [C00000076E693940] [C000000000134A38] .reiserfs_check_lock_depth+0x30/0x48 [C00000076E6939C0] [C00000000013A654] .do_journal_begin_r+0x58/0x434 [C00000076E693AB0] [C00000000013AC54] .journal_begin+0x108/0x170 [C00000076E693B50] [C000000000123130] .reiserfs_remount+0x194/0x460 [C00000076E693C50] [C0000000000B47D0] .do_remount_sb+0x1a8/0x224 [C00000076E693CF0] [C0000000000D0E98] .sys_umount+0x19c/0x2a0 [C00000076E693E30] [C00000000000872C] syscall_exit+0x0/0x40That thump you heard was the sound of vfs-bkl-is-not-required-for-remount_fs.patch getting dropped. Thanks.
PATCH 1/1 Documentation: remount_fs() needs lock_kernel
From: Vasily Averin <[email protected]>
fixed long-lived typo: remount_fs() needs BKL
--- linux-2.6.19-rc4/Documentation/filesystems/Locking.umntlk 2006-11-02
13:25:04.000000000 +0300
+++ linux-2.6.19-rc4/Documentation/filesystems/Locking 2006-11-06
13:22:35.000000000 +0300
@@ -124,7 +124,7 @@ sync_fs: no no read
write_super_lockfs: ?
unlockfs: ?
statfs: no no no
-remount_fs: no yes maybe (see below)
+remount_fs: yes yes maybe (see below)
clear_inode: no
umount_begin: yes no no
show_options: no (vfsmount->sem)
Quoted 2 lines · Andrew Morton
- Lots of fbdev updates. We haven't heard from Tony in several months, so I went on a linux-fbdev-devel fishing expedition.
radeonfb-support-24bpp-32bpp-minus-alpha.patch broke my video: my screen ended up garbled. (vc1 was ok, strangely enough). Reverting fixed things.
lspci -v:
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV200 QW [Radeon 7500] (prog-if 00 [VGA])
Subsystem: ATI Technologies Inc Radeon 7500
Flags: bus master, stepping, 66MHz, medium devsel, latency 64, IRQ 16
Memory at d8000000 (32-bit, prefetchable) [size=128M]
I/O ports at d800 [size=256]
Memory at d7000000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at d7fe0000 [disabled] [size=128K]
Capabilities: <available only to root>-ajw
Quoted 10 lines · On Fri, 3 Nov 2006 16:42:33 -0500 Andrew James Wade <[email protected]>…
Quoted 2 lines · Andrew Morton
- Lots of fbdev updates. We haven't heard from Tony in several months, so I went on a linux-fbdev-devel fishing expedition.
radeonfb-support-24bpp-32bpp-minus-alpha.patch broke my video: my screen ended up garbled. (vc1 was ok, strangely enough). Reverting fixed things.
lspci -v:
Quoted 9 lines
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV200 QW [Radeon 7500] (prog-if 00 [VGA])
Subsystem: ATI Technologies Inc Radeon 7500 Flags: bus master, stepping, 66MHz, medium devsel, latency 64, IRQ 16 Memory at d8000000 (32-bit, prefetchable) [size=128M] I/O ports at d800 [size=256] Memory at d7000000 (32-bit, non-prefetchable) [size=64K] Expansion ROM at d7fe0000 [disabled] [size=128K] Capabilities: <available only to root>
Great, thanks for working that out. I'll drop the patch.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Hello,
After allyesconfig I found this on one of my box'es. Not sure how to fix
that. Don't want to mess with headers ;-)
CC drivers/media/video/pwc/pwc-uncompress.o
In file included from drivers/media/video/pwc/pwc-uncompress.c:29:include/asm/current.h: In function `get_current':include/asm/current.h:11: error: `size_t' undeclared (first use in this function)include/asm/current.h:11: error: (Each undeclared identifier is reported only onceinclude/asm/current.h:11: error: for each function it appears in.) make[4]: *** [drivers/media/video/pwc/pwc-uncompress.o] Error 1 make[3]: *** [drivers/media/video/pwc] Error 2
make[2]: *** [drivers/media/video] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [drivers] Error 2
Regards,
Mariusz Kozlowski
PATCH 1/1 s390 need definitions for pagefault_disable and pagefault_enable
In reply to Andrew Mortons390: need definitions for pagefault_disable and pagefault_enable
Seems that when the changes for user futex's went into 2.6.19-rc4-mm2 s390 was missed. Leading to the following compile failure:
arch/s390/lib/lib.a(uaccess_std.o)(.text+0x37c): In function
`futex_atomic_op':
: undefined reference to `pagefault_disable'
arch/s390/lib/lib.a(uaccess_std.o)(.text+0x3cc): In function
`futex_atomic_op':
: undefined reference to `pagefault_enable'
[...]This seems to be enough to get testing working again.
---
arch/s390/lib/uaccess_std.c +2 -0
@@ -11,6 +11,8 @@#include <linux/errno.h> #include <linux/mm.h> +#include <linux/uaccess.h> +#include <asm/uaccess.h> #include <asm/futex.h>
Re: [PATCH] s390 need definitions for pagefault_disable and pagefault_enable
arch/s390/lib/uaccess_std.c line 17
Quoted 12 lines · Andy Whitcroft
arch/s390/lib/uaccess_std.c +2
-0@@ -11,6 +11,8 @@#include <linux/errno.h> #include <linux/mm.h> +#include <linux/uaccess.h> +#include <asm/uaccess.h> #include <asm/futex.h>
http://lkml.org/lkml/2006/11/2/54
;)
Re: [PATCH] s390 need definitions for pagefault_disable and pagefault_enable
Quoted 16 lines · Heiko Carstens
arch/s390/lib/uaccess_std.c line 17
Quoted 12 lines · Andy Whitcroft
arch/s390/lib/uaccess_std.c +2
-0@@ -11,6 +11,8 @@#include <linux/errno.h> #include <linux/mm.h> +#include <linux/uaccess.h> +#include <asm/uaccess.h> #include <asm/futex.h>
Quoted 1 line
;)
Perhaps it would be helpful if these went out as replies to akpm's -mm announcement else you have to sift the whole of lkml for them :(.
-apw
Re: [PATCH] s390 need definitions for pagefault_disable and pagefault_enable
Quoted 17 lines · Andy Whitcroft
Quoted 16 lines · Heiko Carstens
arch/s390/lib/uaccess_std.c line 17
Quoted 12 lines · Andy Whitcroft
arch/s390/lib/uaccess_std.c +2
-0@@ -11,6 +11,8 @@#include <linux/errno.h> #include <linux/mm.h> +#include <linux/uaccess.h> +#include <asm/uaccess.h> #include <asm/futex.h>
Quoted 4 lines
Quoted 1 line
;)
Perhaps it would be helpful if these went out as replies to akpm's -mm announcement else you have to sift the whole of lkml for them :(.
??? It was the first reply to the -mm accouncement and that's where you can find it in the tree: http://lkml.org/lkml/2006/11/2/33
Re: [PATCH] s390 need definitions for pagefault_disable and pagefault_enable
Quoted 17 lines · Heiko Carstens
Quoted 16 lines · Andy Whitcroft
Quoted 15 lines · Heiko Carstens
arch/s390/lib/uaccess_std.c line 17
Quoted 12 lines · Andy Whitcroft
arch/s390/lib/uaccess_std.c +2
-0@@ -11,6 +11,8 @@#include <linux/errno.h> #include <linux/mm.h> +#include <linux/uaccess.h> +#include <asm/uaccess.h> #include <asm/futex.h>
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
;)
Perhaps it would be helpful if these went out as replies to akpm's -mm announcement else you have to sift the whole of lkml for them :(.
??? It was the first reply to the -mm accouncement and that's where you can find it in the tree: http://lkml.org/lkml/2006/11/2/33
Applogies, I have no idea what kind of user incompetance led me twice to look and miss it. But for sure its there.
-apw