2006-03-07 10:21:17

by Andrew Morton

[permalink] [raw]
Subject: 2.6.16-rc5-mm3


ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc5/2.6.16-rc5-mm3/

- A relatively small number of changes, although we're up to 9MB of diff
in the various git trees.



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's 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.

Changes since 2.6.16-rc3-mm2:


linus.patch
git-acpi.patch
git-agpgart.patch
git-alsa.patch
git-audit-master.patch
git-blktrace.patch
git-cfq.patch
git-cifs.patch
git-cifs-fixup.patch
git-cpufreq.patch
git-drm.patch
git-dvb.patch
git-ia64.patch
git-ieee1394.patch
git-infiniband.patch
git-input.patch
git-jfs.patch
git-kbuild.patch
git-libata-all.patch
git-netdev-all.patch
git-net.patch
git-nfs.patch
git-ocfs2.patch
git-powerpc.patch
git-serial.patch
git-sym2.patch
git-pcmcia.patch
git-scsi-misc.patch
git-scsi-rc-fixes.patch
git-sas-jg.patch
git-sparc64.patch
git-watchdog.patch
git-xfs.patch
git-cryptodev.patch
git-viro-bird-m32r.patch
git-viro-bird-m68k.patch
git-viro-bird-xfs.patch
git-viro-bird-uml.patch
git-viro-bird-frv.patch
git-viro-bird-upf.patch
git-viro-bird-volatile.patch

git trees

-git-audit-master-build-fix.patch
-git-infiniband-build-fix.patch
-mmc-au1xmmc-fix-compilation-error-by-using-platform_driver.patch
-mmc-au1xmmc-fix-linking-error-because-mmc_rsp_type-doesnt-exist.patch
-mmc-au1xmmc-fix-a-compilation-warning-status-is-not-used.patch
-natsemi-napi-conversion.patch
-natsemi-rx-lockup-fix.patch
-net-convert-rtnl-to-mutex.patch
-atm-fix-section-mismatch-warnings-in-fore200ec.patch
-add-missing-ifdef-for-via-rng-code.patch
-reiserfs-fix-unaligned-bitmap-usage.patch
-fix-next_timer_interrupt-for-hrtimer.patch

Merged

+fix-next_timer_interrupt-for-hrtimer.patch
+s390-fix-compile-with-virt_cpu_accounting=n.patch
+add-missing-pm_power_offs.patch
+memory-hotplug-compile-fix.patch
+increase-max-kmalloc-size-for-very-large-systems.patch
+time-add-barrier-after-updating-jiffies_64.patch
+alsa-fix-error-paths-in-snd_ctl_elem_add.patch
+numa_maps-update.patch
+efi-fix-gdt-load.patch
+ramfs-needs-to-update-directory-m-ctime-on-symlink.patch
+smaps-hugepages-fix.patch
+smaps-shared-fix.patch
+windfarm-license-fix.patch
+s390-fix-match-in-ccw-modalias.patch
+s390-multiple-subchannel-sets-support.patch
+udf-fix-uid-gid-options-and-add-uid-gid=ignore-and-forget-options.patch
+fix-usbmixer-double-kfree.patch
+emu10k1_synth-use-after-free.patch
+sound-isa-sb-sb_mixerc-double-kfree.patch
+ad1848-double-free.patch
+opl3_oss-use-after-free.patch
+opl3_seq-use-after-free.patch
+idle-threads-should-have-a-sane-timestamp-value.patch
+__get_unaligned-gcc4-fix.patch
+kdump-x86_64-timer-interrupt-lockup-due-to-pending-interrupt.patch
+x86-fix-i386-nmi_watchdog-that-does-not-trigger-die_nmi.patch
+percpu_counter_sum.patch
+rcu-batch-tuning.patch
+fix-file-counting.patch

2.6.16 queue (some of these are already merged)

+acpi-signedness-fix-2.patch
+acpi-should-depend-on-not-select-pci.patch

ACPI fixes

+vx-fix-memory-leak-on-error-path.patch

ALSA fix

+blk_execute_rq_nowait-speedup.patch

block performance tweak

+git-cifs-fixup.patch

Fix reject in git-cifs.patch

+ia64-dont-report-sn2-or-summit-hardware-as-an-error.patch
+sgi-sn-drivers-dont-report-sn2-hardware-as-an-error.patch

ia64 fixes

+ieee1394-speed-up-of-dma_region_sync_for_cpu.patch

firewire speedup

+kill-ifdefs-in-mtdcorec.patch

MTD cleanup

+revert-ipw2200-Fix-WPA-network-selection-problem.patch

Revert bad patch in ipw2200. But there's still an AP selection problem in
there.

+git-net-build-hacks.patch
+git-net-build-hacks-fixes.patch

Fix git-net.patch

+nfs-make-2-functions-static.patch
+fs-locksc-make-posix_locks_deadlock-static.patch

NFS cleanups

+nfs-permit-filesystem-to-override-root-dentry-on-mount-update.patch

Fix nfs-permit-filesystem-to-override-root-dentry-on-mount.patch

+nfs-apply-mount-root-dentry-override-to-filesystems-v9fs-fix-2.patch
+nfs-apply-mount-root-dentry-override-to-filesystems-fix-3.patch

Fix nfs-apply-mount-root-dentry-override-to-filesystems.patch

+git-scsi-misc-sr_ioctl-missing-memset.patch
+git-scsi-misc-sr_ioctl-missing-memset-2.patch

Fix git-scsi-misc.patch

+drivers-message-fusion-mptbasec-make-mpt_read_ioc_pg_3-static.patch
+drivers-message-fusion-mptctlc-make-struct-async_queue-static.patch

Fusion cleanups

-gregkh-usb-usbfs2.patch
-gregkh-usb-usbfs2-vs-nfs-apply-mount-root-dentry-override-to-filesystems.patch

usbfs2 got dropped

+revert-gregkh-usb-usb-reduce-syslog-clutter.patch

Drop buggy patch from Greg's tree

+x86_64-mm-fix-orphaned-bits-of-timer-init-messages.patch
+x86_64-mm-cpu-limit.patch
+x86_64-mm-i386-early-alignment.patch

x86_64 tree updates

+mm-isolate_lru_pages-scan-count-fix.patch
+mm-shrink_inactive_lis-nr_scan-accounting-fix.patch

vmscan fixes

+enable-mprotect-on-huge-pages-fix.patch

Fix enable-mprotect-on-huge-pages.patch

+hugepage-move-hugetlb_free_pgd_range-prototype-to-hugetlbh.patch
+hugepage-is_aligned_hugepage_range-cleanup.patch

More hugetlbpage fixes

+slab-cache_reap-further-reduction-in-interrupt-holdoff.patch
+slab-cache_reap-further-reduction-in-interrupt-holdoff-fix.patch
+slab-make-drain_array-more-universal-by-adding-more-parameters.patch
+slab-remove-drain_array_locked.patch
+slab-fix-drain_array-so-that-it-works-correctly-with-the-shared_array.patch

slab tweaks

+powerpc-fix-windfarm_pm112-not-starting-all-control-loops.patch
+powerpc-make-pmd_bad-and-pud_bad-checks-non-trivial.patch

powerpc fixes

-fix-elf-entry-point-i386.patch

Dropped, wrong.

+i386-cleanup-after-cpu_gdt_descr-conversion-to.patch
+i386-fix-dump_stack.patch
+x86-cpuid4-doesnt-need-cpu-level-5.patch
+x86-cpu-model-calculation-for-family-6-cpu.patch
+x86-deterine-xapic-using-apic-version.patch

x86 updates

+enable-sci_emulate-to-manually-simulate-physical-hotplug-testing-fix.patch
+drivers-acpi-busc-make-struct-acpi_sci_dir-static.patch

Fix enable-sci_emulate-to-manually-simulate-physical-hotplug-testing.patch

+s390-increase-spinlock-retry-code-performance.patch

s390 speedup

+notifier-profileh-forward-decl.patch

Build fix

+mmc-sdhci-build-fix.patch

Fix mmc-secure-digital-host-controller-interface-driver.patch

+update-obsolete_oss_driver-schedule-and-dependencies-update.patch

Fix update-obsolete_oss_driver-schedule-and-dependencies.patch

+kconfig-clarify-memory-debug-options.patch
+v9fs-consolidate-trans_sock-into-trans_fd.patch
+v9fs-rename-tids-to-tags-to-be-consistent-with-plan-9-documentation.patch
+v9fs-print-9p-messages.patch
+smbfs-fix-debug-logging-only-compilation-error.patch
+adjust-dev-kmemmemport-write-handlers.patch
+remove-maintainers-entry-for-rtlinux.patch
+fix-hardcoded-values-in-collie-frontlight.patch
+collie-fix-missing-pcmcia-bits.patch
+tpm-sparc32-build-fix.patch
+ads7846-build-fix.patch

Misc updates and fixes

+ext3-get-blocks-maping-multiple-blocks-at-a-once-get-block-chain-confliction-fix.patch

Fix ext3-get-blocks-maping-multiple-blocks-at-a-once.patch

+ext3-cleanups-and-warn_on.patch
+ext3-multi-block-get_block.patch

Update ext3 patches in -mm.

+time-reduced-ntp-rework-part-2-remove-duplicate.patch

Fix time-reduced-ntp-rework-part-2-fix-adjtimeadj.patch

+time-i386-conversion-part-3-lock-jiffies_64.patch

Locking fix

+time-i386-clocksource-drivers-drop-acpi_pm_buggy.patch

Fix time-i386-clocksource-drivers.patch

+kernel-timec-remove-unused-pps_-variables.patch

Cleanup

+kprobe-handler-discard-user-space-trap-fix-2.patch

Fix kprobe-handler-discard-user-space-trap.patch some more

+uevent-redzoning.patch
+early-boot-safety-in-cond_resched.patch
+pipe-refcounting-cleanup.patch

Various things which might fix or detect a rare memory corruption bug.

-export-file_ra_state_init-again.patch

Dropped, unneeded.

+for_each_online_pgdat-take2-for_each_bootmem-fix.patch

Fix for_each_online_pgdat-take2-for_each_bootmem.patch

-rtc-subsystem-library-functions.patch
-rtc-subsystem-arm-cleanup.patch
-rtc-subsystem-class.patch
-rtc-subsystem-class-fix.patch
-rtc-subsystem-class-fix-2.patch
-rtc-subsystem-i2c-cleanup.patch
-rtc-subsystem-sysfs-interface.patch
-rtc-subsystem-proc-interface.patch
-rtc-subsystem-dev-interface.patch
-rtc-subsystem-x1205-driver.patch
-rtc-subsystem-test-device-driver.patch
-rtc-subsystem-ds1672-driver.patch
-rtc-subsystem-pcf8563-driver.patch
-rtc-subsystem-rs5c372-driver.patch
+rtc-subsystem-library-functions-2.patch
+rtc-subsystem-arm-cleanup-2.patch
+rtc-subsystem-arm-integrator-cleanup-2.patch
+rtc-subsystem-class-2.patch
+rtc-subsystem-i2c-cleanup-2.patch
+rtc-subsystem-sysfs-interface-2.patch
+rtc-subsystem-proc-interface-2.patch
+rtc-subsystem-dev-interface-2.patch
+rtc-subsystem-x1205-driver-2.patch
+rtc-subsystem-test-device-driver-2.patch
+rtc-subsystem-ds1672-driver-2.patch
+rtc-subsystem-pcf8563-driver-2.patch
+rtc-subsystem-rs5c372-driver-2.patch
+rtc-subsystem-ep93xx-driver-2.patch
+rtc-subsystem-sa1100-pxa2xx-driver-2.patch

Updated rtc patch series

+tref-implement-task-references-kill-init_tref.patch
+tref-fix-task_ref-reference-counting.patch
+tref-fix-task_ref-reference-counting-fix.patch
+tref-fix-task_ref-reference-counting-ensure-the-references-is-always-on-the-first-task.patch
+proc-dont-lock-task_structs-indefinitely-kill-init_tref.patch
+proc-dont-lock-task_structs-indefinitely-kill-init_tref-inode.patch
+proc-dont-lock-task_structs-indefinitely-tref-ensure-the-references-is-always-on-the-first-task.patch
+proc-cleanup-proc_fd_access_allowed.patch

Various updates to the procfs patches in -mm.

+framebuffer-cmap-setting-return-values.patch

framebuffer fixlet.

+kobject_add_dir.patch
+add-holders-slaves-subdirectory-to-sys-block.patch
+bd_claim_by_kobject.patch
+bd_claim_by_disk.patch
+md-to-use-bd_claim_by_disk.patch
+dm-table-store-md.patch
+dm-table-store-md-fix.patch
+dm-to-use-bd_claim_by_disk.patch
+dm-linear-debug.patch

devicemapper feature work.

+fold-select_bits_alloc-free-into-caller-code.patch

select() cleanup.

+typos-grab-bag-of-the-month.patch

Fix lots of tpyos.



All 1448 patches:

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc5/2.6.16-rc5-mm3/patch-list



2006-03-07 11:22:14

by Christoph Hellwig

[permalink] [raw]
Subject: Re: 2.6.16-rc5-mm3

On Tue, Mar 07, 2006 at 02:19:29AM -0800, Andrew Morton wrote:
> +ia64-dont-report-sn2-or-summit-hardware-as-an-error.patch
> +sgi-sn-drivers-dont-report-sn2-hardware-as-an-error.patch
>
> ia64 fixes

These are wrong. The hardware is not available so -ENODEV is the right
return value. Especially in the mmtimer case this is a real bug because
the module would stay loaded despite not beeing initialized and uneeded,
in the others it's just cosmetical but still wrong.

2006-03-07 11:25:21

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.16-rc5-mm3

Christoph Hellwig <[email protected]> wrote:
>
> On Tue, Mar 07, 2006 at 02:19:29AM -0800, Andrew Morton wrote:
> > +ia64-dont-report-sn2-or-summit-hardware-as-an-error.patch
> > +sgi-sn-drivers-dont-report-sn2-hardware-as-an-error.patch
> >
> > ia64 fixes
>
> These are wrong. The hardware is not available so -ENODEV is the right
> return value. Especially in the mmtimer case this is a real bug because
> the module would stay loaded despite not beeing initialized and uneeded,
> in the others it's just cosmetical but still wrong.

OK, thanks, gone.

I changed that initcall warning so it doesn't warn about -ENODEV unless you
specified initcall_debug.

2006-03-07 20:37:32

by Martin Bligh

[permalink] [raw]
Subject: Re: 2.6.16-rc5-mm3

Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc5/2.6.16-rc5-mm3/
>
> - A relatively small number of changes, although we're up to 9MB of diff
> in the various git trees.

E_NOT_COMPILING ;-) i386+NUMA at least

NUMA-Q +
http://ftp.kernel.org/pub/linux/kernel/people/mbligh/config/abat/numaq
=
http://test.kernel.org/24793/debug/test.log.0
mm/built-in.o(.text+0x178dc): In function `check_huge_range':
mm/mempolicy.c:1832: undefined reference to `huge_pte_offset'
make: *** [.tmp_vmlinux1] Error 1
03/07/06-12:25:56 Build the kernel. Failed rc = 2
03/07/06-12:25:56 build: kernel build Failed rc = 1
03/07/06-12:25:56 command complete: (2) rc=126

Much the same error on x440 +
http://ftp.kernel.org/pub/linux/kernel/people/mbligh/config/abat/elm3b67
=
http://test.kernel.org/24791/debug/test.log.0

2006-03-07 20:39:19

by Martin Bligh

[permalink] [raw]
Subject: Re: 2.6.16-rc5-mm3

Martin Bligh wrote:
> Andrew Morton wrote:
>
>> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc5/2.6.16-rc5-mm3/
>>
>>
>> - A relatively small number of changes, although we're up to 9MB of diff
>> in the various git trees.
>
>
> E_NOT_COMPILING ;-) i386+NUMA at least
>
> NUMA-Q +
> http://ftp.kernel.org/pub/linux/kernel/people/mbligh/config/abat/numaq
> =
> http://test.kernel.org/24793/debug/test.log.0
> mm/built-in.o(.text+0x178dc): In function `check_huge_range':
> mm/mempolicy.c:1832: undefined reference to `huge_pte_offset'
> make: *** [.tmp_vmlinux1] Error 1
> 03/07/06-12:25:56 Build the kernel. Failed rc = 2
> 03/07/06-12:25:56 build: kernel build Failed rc = 1
> 03/07/06-12:25:56 command complete: (2) rc=126
>
> Much the same error on x440 +
> http://ftp.kernel.org/pub/linux/kernel/people/mbligh/config/abat/elm3b67
> =
> http://test.kernel.org/24791/debug/test.log.0

Oh, BTW ... I see that's also broken in -git9, but not -git8.

Presumably something didn't go via -mm for testing?

M.


2006-03-07 20:53:15

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.16-rc5-mm3

Martin Bligh <[email protected]> wrote:
>
> Martin Bligh wrote:
> > Andrew Morton wrote:
> >
> >> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc5/2.6.16-rc5-mm3/
> >>
> >>
> >> - A relatively small number of changes, although we're up to 9MB of diff
> >> in the various git trees.
> >
> >
> > E_NOT_COMPILING ;-) i386+NUMA at least
> >
> > NUMA-Q +
> > http://ftp.kernel.org/pub/linux/kernel/people/mbligh/config/abat/numaq
> > =
> > http://test.kernel.org/24793/debug/test.log.0
> > mm/built-in.o(.text+0x178dc): In function `check_huge_range':
> > mm/mempolicy.c:1832: undefined reference to `huge_pte_offset'
> > make: *** [.tmp_vmlinux1] Error 1
> > 03/07/06-12:25:56 Build the kernel. Failed rc = 2
> > 03/07/06-12:25:56 build: kernel build Failed rc = 1
> > 03/07/06-12:25:56 command complete: (2) rc=126
> >
> > Much the same error on x440 +
> > http://ftp.kernel.org/pub/linux/kernel/people/mbligh/config/abat/elm3b67
> > =
> > http://test.kernel.org/24791/debug/test.log.0
>
> Oh, BTW ... I see that's also broken in -git9, but not -git8.
>
> Presumably something didn't go via -mm for testing?
>

No, it's just that we suck. The numa-maps update got squeezed in at the
last minute.

I guess we do it this way - there's still code in there which will call
check_huge_range(), but it's inside if (0) {}.



--- devel/mm/mempolicy.c~numa_maps-update-fix 2006-03-07 12:48:38.000000000 -0800
+++ devel-akpm/mm/mempolicy.c 2006-03-07 12:49:22.000000000 -0800
@@ -1789,6 +1789,7 @@ static void gather_stats(struct page *pa
cond_resched();
}

+#ifdef CONFIG_HUGETLB_PAGE
static void check_huge_range(struct vm_area_struct *vma,
unsigned long start, unsigned long end,
struct numa_maps *md)
@@ -1814,6 +1815,7 @@ static void check_huge_range(struct vm_a
gather_stats(page, md, pte_dirty(*ptep));
}
}
+#endif

int show_numa_map(struct seq_file *m, void *v)
{
_

2006-03-07 21:01:20

by Christoph Lameter

[permalink] [raw]
Subject: Re: 2.6.16-rc5-mm3

On Tue, 7 Mar 2006, Andrew Morton wrote:

> --- devel/mm/mempolicy.c~numa_maps-update-fix 2006-03-07 12:48:38.000000000 -0800
> +++ devel-akpm/mm/mempolicy.c 2006-03-07 12:49:22.000000000 -0800
> @@ -1789,6 +1789,7 @@ static void gather_stats(struct page *pa
> cond_resched();
> }
>
> +#ifdef CONFIG_HUGETLB_PAGE
> static void check_huge_range(struct vm_area_struct *vma,
> unsigned long start, unsigned long end,
> struct numa_maps *md)
> @@ -1814,6 +1815,7 @@ static void check_huge_range(struct vm_a
> gather_stats(page, md, pte_dirty(*ptep));
> }
> }
#else
....

{
}

?

> +#endif
>
> int show_numa_map(struct seq_file *m, void *v)
> {
> _
>
>

2006-03-07 21:22:19

by Jesper Juhl

[permalink] [raw]
Subject: Re: 2.6.16-rc5-mm3

On 3/7/06, Andrew Morton <[email protected]> wrote:
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc5/2.6.16-rc5-mm3/
>

Just for the record; the slab corruption I was seeing with
2.6.16-rc5-mm2 does not occour with this kernel.
After a lot of rebuilds and very good bug hunting by various people we
found the offensive patch and it seems you removed it from -mm -
thanks.

--
Jesper Juhl <[email protected]>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html

2006-03-07 21:23:24

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.16-rc5-mm3

Christoph Lameter <[email protected]> wrote:
>
> On Tue, 7 Mar 2006, Andrew Morton wrote:
>
> > --- devel/mm/mempolicy.c~numa_maps-update-fix 2006-03-07 12:48:38.000000000 -0800
> > +++ devel-akpm/mm/mempolicy.c 2006-03-07 12:49:22.000000000 -0800
> > @@ -1789,6 +1789,7 @@ static void gather_stats(struct page *pa
> > cond_resched();
> > }
> >
> > +#ifdef CONFIG_HUGETLB_PAGE
> > static void check_huge_range(struct vm_area_struct *vma,
> > unsigned long start, unsigned long end,
> > struct numa_maps *md)
> > @@ -1814,6 +1815,7 @@ static void check_huge_range(struct vm_a
> > gather_stats(page, md, pte_dirty(*ptep));
> > }
> > }
> #else
> ....
>
> {
> }
>
> ?

Yeah, that won't be needed for a link, but it's needed to avoid a compile
warning.

2006-03-07 22:17:17

by Valdis Klētnieks

[permalink] [raw]
Subject: Re: 2.6.16-rc5-mm3

On Tue, 07 Mar 2006 02:19:29 PST, Andrew Morton said:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc5/2.6.16-rc5-mm3/

Seen during early boot from the initrd, while the initrd was firing up a
'lvm vgscan' to get the root filesystem accessible.. 2.6.15-rc5-mm2 didn't do this.
Dell laptop, Pentium4, UP kernel...

[ 16.959458] Freeing unused kernel memory: 176k freed
[ 16.984855] Write protecting the kernel read-only data: 998k
[ 17.044106] Time: tsc clocksource has been installed.
[ 17.600897] BUG: sleeping function called from invalid context at mm/slab.c:2751
[ 17.625891] in_atomic():1, irqs_disabled():0
[ 17.650461] [<c0103aba>] show_trace+0xd/0xf
[ 17.674759] [<c0103b5b>] dump_stack+0x17/0x19
[ 17.698533] [<c010ff3c>] __might_sleep+0x86/0x90
[ 17.722149] [<c015155a>] kmem_cache_alloc+0x27/0x82
[ 17.745520] [<c015baf1>] bd_claim_by_kobject+0x77/0x1b1
[ 17.768657] [<c02a55a4>] open_dev+0x54/0x72
[ 17.791983] [<c02a5c8b>] dm_get_device+0x13f/0x336
[ 17.815254] [<c02a656c>] linear_ctr+0x7f/0xbb
[ 17.838389] [<c02a5996>] dm_table_add_target+0x10e/0x233
[ 17.861491] [<c02a7c82>] table_load+0xc9/0x1a5
[ 17.884366] [<c02a796b>] ctl_ioctl+0x208/0x246
[ 17.906866] [<c01653f2>] do_ioctl+0x4e/0x67
[ 17.929035] [<c0165657>] vfs_ioctl+0x24c/0x25f
[ 17.950782] [<c01656b1>] sys_ioctl+0x47/0x62
[ 17.971931] [<c0102707>] syscall_call+0x7/0xb
[ 18.426629] kjournald starting. Commit interval 5 seconds



Attachments:
(No filename) (228.00 B)

2006-03-07 22:28:17

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.16-rc5-mm3

[email protected] wrote:
>
> On Tue, 07 Mar 2006 02:19:29 PST, Andrew Morton said:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc5/2.6.16-rc5-mm3/
>
> Seen during early boot from the initrd, while the initrd was firing up a
> 'lvm vgscan' to get the root filesystem accessible.. 2.6.15-rc5-mm2 didn't do this.
> Dell laptop, Pentium4, UP kernel...
>
> [ 16.959458] Freeing unused kernel memory: 176k freed
> [ 16.984855] Write protecting the kernel read-only data: 998k
> [ 17.044106] Time: tsc clocksource has been installed.
> [ 17.600897] BUG: sleeping function called from invalid context at mm/slab.c:2751
> [ 17.625891] in_atomic():1, irqs_disabled():0
> [ 17.650461] [<c0103aba>] show_trace+0xd/0xf
> [ 17.674759] [<c0103b5b>] dump_stack+0x17/0x19
> [ 17.698533] [<c010ff3c>] __might_sleep+0x86/0x90
> [ 17.722149] [<c015155a>] kmem_cache_alloc+0x27/0x82
> [ 17.745520] [<c015baf1>] bd_claim_by_kobject+0x77/0x1b1
> [ 17.768657] [<c02a55a4>] open_dev+0x54/0x72
> [ 17.791983] [<c02a5c8b>] dm_get_device+0x13f/0x336
> [ 17.815254] [<c02a656c>] linear_ctr+0x7f/0xbb
> [ 17.838389] [<c02a5996>] dm_table_add_target+0x10e/0x233
> [ 17.861491] [<c02a7c82>] table_load+0xc9/0x1a5
> [ 17.884366] [<c02a796b>] ctl_ioctl+0x208/0x246
> [ 17.906866] [<c01653f2>] do_ioctl+0x4e/0x67
> [ 17.929035] [<c0165657>] vfs_ioctl+0x24c/0x25f
> [ 17.950782] [<c01656b1>] sys_ioctl+0x47/0x62
> [ 17.971931] [<c0102707>] syscall_call+0x7/0xb
> [ 18.426629] kjournald starting. Commit interval 5 seconds
>

Thanks. Those patches are being redone.

Jun'ishi-san, please ensure that they're tested with CONFIG_PREEMPT and all
debug options turned on.

2006-03-07 22:38:42

by Junichi Nomura

[permalink] [raw]
Subject: Re: 2.6.16-rc5-mm3

Andrew Morton wrote:
>>[ 17.600897] BUG: sleeping function called from invalid context at mm/slab.c:2751
>>[ 17.625891] in_atomic():1, irqs_disabled():0
>>[ 17.650461] [<c0103aba>] show_trace+0xd/0xf
>>[ 17.674759] [<c0103b5b>] dump_stack+0x17/0x19
>>[ 17.698533] [<c010ff3c>] __might_sleep+0x86/0x90
>>[ 17.722149] [<c015155a>] kmem_cache_alloc+0x27/0x82
>>[ 17.745520] [<c015baf1>] bd_claim_by_kobject+0x77/0x1b1
...
> Jun'ishi-san, please ensure that they're tested with CONFIG_PREEMPT and all
> debug options turned on.

Oops, thank you for testing and reporting.
I'll make sure to test with CONFIG_PREEMPT.

Thanks,
--
Jun'ichi Nomura, NEC Solutions (America), Inc.

2006-03-08 01:53:44

by Grant Coady

[permalink] [raw]
Subject: Re: 2.6.16-rc5-mm3

On Tue, 7 Mar 2006 02:19:29 -0800, Andrew Morton <[email protected]> wrote:

>
>ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc5/2.6.16-rc5-mm3/
>
>- A relatively small number of changes, although we're up to 9MB of diff
> in the various git trees.

Hi there,

-mm3 failed to boot on sempro box[1], after lilo, screen went blank,
no response... hit reset to reboot... Same config as -mm2 which did
boot okay.

Applying "revert-x86_64-mm-i386-early-alignment.patch" fixed it here too.
(CPU is Sempron SktA 32-bit)

[1] http://bugsplatter.mine.nu/test/linux-2.6/sempro/ for dmesg & config
from -mm2

Grant.

2006-03-08 09:08:31

by Adrian Bunk

[permalink] [raw]
Subject: [-mm patch] add a prototype for v9fs_printfcall()

On Tue, Mar 07, 2006 at 02:19:29AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.16-rc3-mm2:
>...
> +v9fs-print-9p-messages.patch
>...
> Misc updates and fixes
>...

If you create a function in one file and call them from another file you
need a prototype in a header file or bad runtime errors can occur in
some cases.

You mustn't ignore warnings about implicitely defined functions.
This bug was found by the gcc -Werror-implicit-function-declaration flag
that turns such warnings into errors.


Signed-off-by: Adrian Bunk <[email protected]>

--- linux-2.6.16-rc5-mm3-full/fs/9p/9p.h.old 2006-03-07 13:31:13.000000000 +0100
+++ linux-2.6.16-rc5-mm3-full/fs/9p/9p.h 2006-03-07 13:32:08.000000000 +0100
@@ -372,3 +372,6 @@
int v9fs_t_write(struct v9fs_session_info *v9ses, u32 fid, u64 offset,
u32 count, const char __user * data,
struct v9fs_fcall **rcall);
+
+int v9fs_printfcall(char *buf, int buflen, struct v9fs_fcall *fc, int extended);
+

2006-03-08 11:30:54

by Adrian Bunk

[permalink] [raw]
Subject: 2.6.16-rc5-mm3: Why did dlm_lockres_master_requery() become global?

On Tue, Mar 07, 2006 at 02:19:29AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.16-rc3-mm2:
>...
> git-ocfs2.patch
>...
> git trees
>...

Why did dlm_lockres_master_requery() become global?

It is neither used in another file nor does any of the changeset
descriptions escribe it.

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

2006-03-08 11:34:46

by Adrian Bunk

[permalink] [raw]
Subject: [-mm patch] fs/9p/fcprint.c: make 2 functions static

On Tue, Mar 07, 2006 at 02:19:29AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.16-rc3-mm2:
>...
> +v9fs-print-9p-messages.patch
>...
> Misc updates and fixes
>...


This patch makes two needlessly global functions static.


Signed-off-by: Adrian Bunk <[email protected]>

---

fs/9p/fcprint.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

--- linux-2.6.16-rc5-mm3-full/fs/9p/fcprint.c.old 2006-03-08 12:31:26.000000000 +0100
+++ linux-2.6.16-rc5-mm3-full/fs/9p/fcprint.c 2006-03-08 12:31:49.000000000 +0100
@@ -88,7 +88,7 @@
return snprintf(buf, buflen, "%s%03o", b, perm&077);
}

-int
+static int
v9fs_printstat(char *buf, int buflen, struct v9fs_stat *st, int extended)
{
int n;
@@ -120,7 +120,7 @@
return n;
}

-int
+static int
v9fs_dumpdata(char *buf, int buflen, u8 *data, int datalen)
{
int i, n;

2006-03-09 02:41:14

by Matthias Urlichs

[permalink] [raw]
Subject: Re: 2.6.16-rc5-mm3

Hi, Andrew Morton wrote:

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

The importer hit a snag and didn't get the last three -mm kernels or so.
Should fix itself during the next few hours.

Please tell me directly if there's a problem; usually, new -mm releases
should be available as git trees 2h after an announcement.

--
Matthias Urlichs

2006-03-09 06:15:48

by Benoit Boissinot

[permalink] [raw]
Subject: Re: 2.6.16-rc5-mm3

On Tue, Mar 07, 2006 at 02:19:29AM -0800, Andrew Morton wrote:
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc5/2.6.16-rc5-mm3/
>
> - A relatively small number of changes, although we're up to 9MB of diff
> in the various git trees.
>

I just encountered a memleak, this is a laptop and i use swsusp (I am not
sure if it is related but since the memleak involves task_struct).

Let me know if you need any other informations, i'll see if it is
reproducable in the next days.

regards.

Benoit

procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
0 0 0 35176 25148 69532 6 4 42 72 44 332 12 2 83 3

total used free shared buffers cached
Mem: 515256 479648 35608 0 24860 69504
-/+ buffers/cache: 385284 129972
Swap: 979956 0 979956

slabinfo - version: 2.1
# name <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> : tunables <limit> <batchcount> <sharedfactor> : slabdata <active_slabs> <num_slabs> <sharedavail> : shrinker stat <nr requested> <nr freed>
ip_conntrack_expect 0 0 92 42 1 : tunables 120 60 0 : slabdata 0 0 0
ip_conntrack 19 38 208 19 1 : tunables 120 60 0 : slabdata 2 2 0
ip_fib_alias 10 113 32 113 1 : tunables 120 60 0 : slabdata 1 1 0
ip_fib_hash 10 113 32 113 1 : tunables 120 60 0 : slabdata 1 1 0
uhci_urb_priv 0 0 28 127 1 : tunables 120 60 0 : slabdata 0 0 0
UNIX 40 40 384 10 1 : tunables 54 27 0 : slabdata 4 4 0
tcp_bind_bucket 6 203 16 203 1 : tunables 120 60 0 : slabdata 1 1 0
inet_peer_cache 0 0 64 59 1 : tunables 120 60 0 : slabdata 0 0 0
secpath_cache 0 0 128 30 1 : tunables 120 60 0 : slabdata 0 0 0
xfrm_dst_cache 0 0 288 13 1 : tunables 54 27 0 : slabdata 0 0 0
ip_dst_cache 65 75 256 15 1 : tunables 120 60 0 : slabdata 5 5 0
arp_cache 2 30 128 30 1 : tunables 120 60 0 : slabdata 1 1 0
RAW 2 9 448 9 1 : tunables 54 27 0 : slabdata 1 1 0
UDP 1 9 448 9 1 : tunables 54 27 0 : slabdata 1 1 0
tw_sock_TCP 0 0 96 40 1 : tunables 120 60 0 : slabdata 0 0 0
request_sock_TCP 0 0 64 59 1 : tunables 120 60 0 : slabdata 0 0 0
TCP 6 21 1056 7 2 : tunables 24 12 0 : slabdata 3 3 0
flow_cache 0 0 96 40 1 : tunables 120 60 0 : slabdata 0 0 0
cfq_ioc_pool 35 100 76 50 1 : tunables 120 60 0 : slabdata 2 2 0
cfq_pool 36 78 100 39 1 : tunables 120 60 0 : slabdata 2 2 0
crq_pool 59 168 44 84 1 : tunables 120 60 0 : slabdata 2 2 0
deadline_drq 0 0 48 78 1 : tunables 120 60 0 : slabdata 0 0 0
as_arq 0 0 60 63 1 : tunables 120 60 0 : slabdata 0 0 0
mqueue_inode_cache 1 7 544 7 1 : tunables 54 27 0 : slabdata 1 1 0
isofs_inode_cache 0 0 384 10 1 : tunables 54 27 0 : slabdata 0 0 0
ext2_inode_cache 0 0 484 8 1 : tunables 54 27 0 : slabdata 0 0 0
ext2_xattr 0 0 44 84 1 : tunables 120 60 0 : slabdata 0 0 0 : shrinker stat 0 0
journal_handle 0 0 20 169 1 : tunables 120 60 0 : slabdata 0 0 0
journal_head 0 0 52 72 1 : tunables 120 60 0 : slabdata 0 0 0
revoke_table 2 254 12 254 1 : tunables 120 60 0 : slabdata 1 1 0
revoke_record 0 0 16 203 1 : tunables 120 60 0 : slabdata 0 0 0
ext3_inode_cache 2 7 524 7 1 : tunables 54 27 0 : slabdata 1 1 0
ext3_xattr 0 0 44 84 1 : tunables 120 60 0 : slabdata 0 0 0 : shrinker stat 0 0
reiser_inode_cache 4509 4536 432 9 1 : tunables 54 27 0 : slabdata 504 504 0
dnotify_cache 0 0 20 169 1 : tunables 120 60 0 : slabdata 0 0 0
eventpoll_pwq 0 0 36 101 1 : tunables 120 60 0 : slabdata 0 0 0
eventpoll_epi 0 0 96 40 1 : tunables 120 60 0 : slabdata 0 0 0
inotify_event_cache 0 0 28 127 1 : tunables 120 60 0 : slabdata 0 0 0
inotify_watch_cache 1 101 36 101 1 : tunables 120 60 0 : slabdata 1 1 0
kioctx 0 0 160 24 1 : tunables 120 60 0 : slabdata 0 0 0
kiocb 0 0 128 30 1 : tunables 120 60 0 : slabdata 0 0 0
fasync_cache 1 203 16 203 1 : tunables 120 60 0 : slabdata 1 1 0
shmem_inode_cache 814 819 448 9 1 : tunables 54 27 0 : slabdata 91 91 0
swapped_entry 0 0 12 254 1 : tunables 120 60 0 : slabdata 0 0 0
posix_timers_cache 0 0 96 40 1 : tunables 120 60 0 : slabdata 0 0 0
uid_cache 2 59 64 59 1 : tunables 120 60 0 : slabdata 1 1 0
sgpool-128 32 32 2048 2 1 : tunables 24 12 0 : slabdata 16 16 0
sgpool-64 32 32 1024 4 1 : tunables 54 27 0 : slabdata 8 8 0
sgpool-32 32 32 512 8 1 : tunables 54 27 0 : slabdata 4 4 0
sgpool-16 32 45 256 15 1 : tunables 120 60 0 : slabdata 3 3 0
sgpool-8 32 60 128 30 1 : tunables 120 60 0 : slabdata 2 2 0
scsi_io_context 0 0 104 37 1 : tunables 120 60 0 : slabdata 0 0 0
blkdev_ioc 35 127 28 127 1 : tunables 120 60 0 : slabdata 1 1 0
blkdev_queue 27 28 904 4 1 : tunables 54 27 0 : slabdata 7 7 0
blkdev_requests 46 46 168 23 1 : tunables 120 60 0 : slabdata 2 2 0
biovec-(256) 7 8 3072 2 2 : tunables 24 12 0 : slabdata 4 4 0
biovec-128 7 10 1536 5 2 : tunables 24 12 0 : slabdata 2 2 0
biovec-64 7 10 768 5 1 : tunables 54 27 0 : slabdata 2 2 0
biovec-16 7 20 192 20 1 : tunables 120 60 0 : slabdata 1 1 0
biovec-4 7 59 64 59 1 : tunables 120 60 0 : slabdata 1 1 0
biovec-1 54 203 16 203 1 : tunables 120 60 0 : slabdata 1 1 0
bio 303 354 64 59 1 : tunables 120 60 0 : slabdata 6 6 0
sock_inode_cache 90 90 416 9 1 : tunables 54 27 0 : slabdata 10 10 0
skbuff_fclone_cache 0 0 352 11 1 : tunables 54 27 0 : slabdata 0 0 0
skbuff_head_cache 128 240 192 20 1 : tunables 120 60 0 : slabdata 12 12 0
file_lock_cache 18 42 92 42 1 : tunables 120 60 0 : slabdata 1 1 0
acpi_operand 741 828 40 92 1 : tunables 120 60 0 : slabdata 9 9 0
acpi_parse_ext 0 0 44 84 1 : tunables 120 60 0 : slabdata 0 0 0
acpi_parse 0 0 28 127 1 : tunables 120 60 0 : slabdata 0 0 0
acpi_state 0 0 48 78 1 : tunables 120 60 0 : slabdata 0 0 0
proc_inode_cache 245 300 372 10 1 : tunables 54 27 0 : slabdata 30 30 0
sigqueue 4 27 144 27 1 : tunables 120 60 0 : slabdata 1 1 0
radix_tree_node 3012 3276 276 14 1 : tunables 54 27 0 : slabdata 234 234 0
bdev_cache 7 14 512 7 1 : tunables 54 27 0 : slabdata 2 2 0
sysfs_dir_cache 4727 4784 40 92 1 : tunables 120 60 0 : slabdata 52 52 0
mnt_cache 22 30 128 30 1 : tunables 120 60 0 : slabdata 1 1 0
inode_cache 1239 1287 356 11 1 : tunables 54 27 0 : slabdata 117 117 0 : shrinker stat 2043264 2047000
dentry_cache 10770 10770 128 30 1 : tunables 120 60 0 : slabdata 359 359 0 : shrinker stat 4719104 2255900
filp 740 900 192 20 1 : tunables 120 60 0 : slabdata 45 45 0
names_cache 5 5 4096 1 1 : tunables 24 12 0 : slabdata 5 5 0
idr_layer_cache 92 116 136 29 1 : tunables 120 60 0 : slabdata 4 4 0
buffer_head 6006 6006 48 78 1 : tunables 120 60 0 : slabdata 77 77 0
mm_struct 63 63 448 9 1 : tunables 54 27 0 : slabdata 7 7 0
vm_area_struct 1448 1496 88 44 1 : tunables 120 60 0 : slabdata 34 34 0
fs_cache 83 113 32 113 1 : tunables 120 60 0 : slabdata 1 1 0
files_cache 84 120 192 20 1 : tunables 120 60 0 : slabdata 6 6 0
signal_cache 84 90 384 10 1 : tunables 54 27 0 : slabdata 9 9 0
sighand_cache 57 57 1344 3 1 : tunables 24 12 0 : slabdata 19 19 0
task_struct 60291 60291 1344 3 1 : tunables 24 12 0 : slabdata 20097 20097 0
anon_vma 750 1356 8 339 1 : tunables 120 60 0 : slabdata 4 4 0
pgd 41 41 4096 1 1 : tunables 24 12 0 : slabdata 41 41 0
size-131072(DMA) 0 0 131072 1 32 : tunables 8 4 0 : slabdata 0 0 0
size-131072 0 0 131072 1 32 : tunables 8 4 0 : slabdata 0 0 0
size-65536(DMA) 0 0 65536 1 16 : tunables 8 4 0 : slabdata 0 0 0
size-65536 4 4 65536 1 16 : tunables 8 4 0 : slabdata 4 4 0
size-32768(DMA) 0 0 32768 1 8 : tunables 8 4 0 : slabdata 0 0 0
size-32768 1 1 32768 1 8 : tunables 8 4 0 : slabdata 1 1 0
size-16384(DMA) 0 0 16384 1 4 : tunables 8 4 0 : slabdata 0 0 0
size-16384 25 25 16384 1 4 : tunables 8 4 0 : slabdata 25 25 0
size-8192(DMA) 0 0 8192 1 2 : tunables 8 4 0 : slabdata 0 0 0
size-8192 6 6 8192 1 2 : tunables 8 4 0 : slabdata 6 6 0
size-4096(DMA) 0 0 4096 1 1 : tunables 24 12 0 : slabdata 0 0 0
size-4096 60463 60476 4096 1 1 : tunables 24 12 0 : slabdata 60463 60476 0
size-2048(DMA) 0 0 2048 2 1 : tunables 24 12 0 : slabdata 0 0 0
size-2048 47 48 2048 2 1 : tunables 24 12 0 : slabdata 24 24 0
size-1024(DMA) 0 0 1024 4 1 : tunables 54 27 0 : slabdata 0 0 0
size-1024 180 180 1024 4 1 : tunables 54 27 0 : slabdata 45 45 0
size-512(DMA) 0 0 512 8 1 : tunables 54 27 0 : slabdata 0 0 0
size-512 262 272 512 8 1 : tunables 54 27 0 : slabdata 34 34 0
size-256(DMA) 0 0 256 15 1 : tunables 120 60 0 : slabdata 0 0 0
size-256 71 75 256 15 1 : tunables 120 60 0 : slabdata 5 5 0
size-192(DMA) 0 0 192 20 1 : tunables 120 60 0 : slabdata 0 0 0
size-192 840 840 192 20 1 : tunables 120 60 0 : slabdata 42 42 0
size-128(DMA) 0 0 128 30 1 : tunables 120 60 0 : slabdata 0 0 0
size-128 932 1080 128 30 1 : tunables 120 60 0 : slabdata 36 36 0
size-64(DMA) 0 0 64 59 1 : tunables 120 60 0 : slabdata 0 0 0
size-32(DMA) 0 0 32 113 1 : tunables 120 60 0 : slabdata 0 0 0
size-64 1389 1711 64 59 1 : tunables 120 60 0 : slabdata 29 29 0
size-32 63413 64636 32 113 1 : tunables 120 60 0 : slabdata 572 572 0
kmem_cache 119 120 128 30 1 : tunables 120 60 0 : slabdata 4 4 0

MemTotal: 515256 kB
MemFree: 39436 kB
Buffers: 21080 kB
Cached: 69492 kB
SwapCached: 0 kB
Active: 80392 kB
Inactive: 48388 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 515256 kB
LowFree: 39436 kB
SwapTotal: 979956 kB
SwapFree: 979956 kB
Dirty: 16 kB
Writeback: 0 kB
Mapped: 59824 kB
Slab: 333300 kB
CommitLimit: 1237584 kB
Committed_AS: 106788 kB
PageTables: 572 kB
VmallocTotal: 515800 kB
VmallocUsed: 26684 kB
VmallocChunk: 487124 kB


ps aux:

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 1484 332 ? Ss Mar07 0:01 init [3]
root 2 0.0 0.0 0 0 ? SN Mar07 0:00 [ksoftirqd/0]
root 3 0.0 0.0 0 0 ? S Mar07 0:00 [watchdog/0]
root 4 0.0 0.0 0 0 ? S< Mar07 0:01 [events/0]
root 5 0.0 0.0 0 0 ? S< Mar07 0:00 [khelper]
root 6 0.0 0.0 0 0 ? S< Mar07 0:00 [kthread]
root 8 0.0 0.0 0 0 ? S< Mar07 0:00 [kblockd/0]
root 9 0.0 0.0 0 0 ? S< Mar07 0:00 [kacpid]
root 114 0.0 0.0 0 0 ? S< Mar07 0:00 [kseriod]
root 152 0.0 0.0 0 0 ? S Mar07 0:05 [kswapd0]
root 153 0.0 0.0 0 0 ? SN Mar07 0:00 [kprefetchd]
root 154 0.0 0.0 0 0 ? S< Mar07 0:00 [aio/0]
root 822 0.0 0.0 0 0 ? S< Mar07 0:00 [reiserfs/0]
root 1021 0.0 0.0 1692 348 ? S<s Mar07 0:00 /sbin/udevd --daemon
root 2268 0.0 0.0 0 0 ? S< Mar07 0:00 [kpsmoused]
root 2274 0.0 0.0 0 0 ? S< Mar07 0:13 [ipw2200/0]
root 2431 0.0 0.0 0 0 ? S< Mar07 0:00 [khubd]
root 2734 0.0 0.0 0 0 ? S< Mar07 0:00 [kjournald]
root 3283 0.0 0.0 1824 464 ? Ss Mar07 0:00 /usr/sbin/syslog-ng
root 3356 0.0 0.0 1596 276 ? Ss Mar07 0:00 /usr/sbin/acpid -c /etc/acpi/events
root 6696 0.0 0.0 3420 260 ? Ss Mar07 0:00 /usr/sbin/sshd
root 6766 0.0 0.0 1720 228 ? Ss Mar07 0:00 /usr/sbin/cron
root 6919 0.0 0.2 2280 1108 tty2 Ss Mar07 0:00 /bin/login --
root 6920 0.0 0.0 1516 84 tty3 Ss+ Mar07 0:00 /sbin/agetty 38400 tty3 linux
root 6921 0.0 0.0 1516 84 tty4 Ss+ Mar07 0:00 /sbin/agetty 38400 tty4 linux
root 6940 0.0 0.0 1512 80 tty5 Ss+ Mar07 0:00 /sbin/agetty 38400 tty5 linux
root 6943 0.0 0.0 1512 80 tty6 Ss+ Mar07 0:00 /sbin/agetty 38400 tty6 linux
tonfa 7292 0.0 0.0 3036 488 ? Ss Mar07 0:00 ssh-agent
root 5142 0.0 0.0 1940 128 ? Ss Mar07 0:00 rsync --daemon
root 10474 0.0 0.0 0 0 ? S Mar08 0:01 [pdflush]
root 18538 0.0 0.0 0 0 ? S 03:32 0:00 [pdflush]
root 14408 0.0 0.2 2280 1108 tty1 Ss 06:40 0:00 /bin/login --
root 14470 0.0 0.4 3256 2208 tty1 S 06:40 0:00 -bash
root 15495 0.0 0.1 3192 852 ? Ss 06:42 0:00 /sbin/wpa_supplicant -Dwext -c/etc/wpa_supplicant.conf -W -P/var/run/wpa_supplicant-wlan.pid -B -iwlan
root 15506 0.0 0.0 1928 404 ? Ss 06:42 0:00 /bin/wpa_cli -a/sbin/wpa_cli.action -iwlan -P/var/run/wpa_cli-wlan.pid -B
tonfa 15867 0.0 0.4 3776 2284 tty2 S 06:42 0:00 -bash
root 16137 0.0 0.1 3536 844 ? Ss 06:42 0:00 /usr/bin/xdm
root 16140 0.4 1.7 13996 9132 tty7 Ss+ 06:42 0:02 /usr/bin/X vt7 -nolisten tcp -auth /etc/X11/xdm/authdir/authfiles/A:0-08C0Mi
root 16141 0.0 0.4 4168 2224 ? S 06:42 0:00 -:0
tonfa 16150 0.0 0.3 3328 1664 tty2 S+ 06:42 0:00 ssh arakou.residence.ens
tonfa 16151 0.0 0.3 3484 1780 tty2 S+ 06:42 0:00 ssh -T XXX
tonfa 16167 0.0 0.2 2632 1220 ? S 06:44 0:00 /bin/bash /home/tonfa/.xsession
tonfa 16249 0.0 0.2 6276 1240 ? S 06:44 0:00 urxvtd
tonfa 16250 0.0 0.2 2896 1164 ? S 06:44 0:00 /bin/sh /home/tonfa/bin/wmii
tonfa 16253 0.0 0.2 2796 1312 ? S 06:44 0:00 wmiiwm -a unix /tmp/ns.tonfa.:0/wmii
tonfa 16276 0.3 0.2 3024 1228 ? S 06:44 0:01 /bin/sh /home/tonfa/local/etc/wmii-3/status
tonfa 16323 0.0 0.0 2492 500 ? S 06:44 0:00 wmiir read /event
tonfa 16324 0.0 0.1 3028 580 ? S 06:44 0:00 /bin/sh /home/tonfa/local/etc/wmii-3/wmiirc
tonfa 19037 0.0 0.2 3148 1352 ? S 06:45 0:00 /bin/bash /usr/libexec/mozilla-launcher
tonfa 19062 3.1 7.9 103516 41204 ? Sl 06:45 0:09 /usr/lib/mozilla-firefox/firefox-bin
tonfa 19090 0.0 0.4 3840 2252 ? S 06:45 0:00 /usr/libexec/gconfd-2 10
tonfa 21210 0.0 0.0 1720 512 ? S 06:50 0:00 sleep 1
root 21211 0.0 0.1 2228 880 tty1 R+ 06:50 0:00 ps aux

--
powered by bash/screen/(urxvt/fvwm|linux-console)/gentoo/gnu/linux OS

2006-03-09 12:11:59

by Tilman Schmidt

[permalink] [raw]
Subject: Re: 2.6.16-rc5-mm3

Andrew Morton wrote:

> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc5/2.6.16-rc5-mm3/

This panics and dies during early boot with a divide error in kmem_cache_init
on my Dell GX110.

Screen messages (copied manually, beware of typos):

--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<
divide error: 0000 [#1]
PREEMPT
last sysfs file:
Modules linked in:
CPU: 0
EIP: 0060:[<c04766d5>] Not tainted VLI
EFLAGS: 00010246 (2.6.16-rc5-mm3-noinitrd #1)
EIP is at kmem_cache_init+0xe2/0x2cf
eax: 00001000 ebx: c040606c ecx: 000003f9 edx: 00000000
esi: c0406180 edi: c048b86c ebp: 00510007 esp: c0465fe0
ds: 007b es: 007b ss: 0068
Process swapper (pid: 0, threadinfo=c0464000 task=c03ffc00)
Stack: <0>00001000 00000002 00099100 c0458800 00510007 c04664a1 c0497720 c0100199
Call Trace:
<c04664a1> start_kernel+0x132/0x2b8
<0>Kernel panic - not syncing: Attempted to kill the idle task!
-------->8-------->8-------->8-------->8-------->8-------->8-------->8-------->8

This is how it comes up with 2.6.16-rc5-mm2 which runs just fine:

--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<
Inspecting /boot/System.map-2.6.16-rc5-mm2-noinitrd
Loaded 26134 symbols from /boot/System.map-2.6.16-rc5-mm2-noinitrd.
Symbols match kernel version 2.6.16.
No module symbols loaded - kernel modules not enabled.

klogd 1.4.1, log source = ksyslog started.
<5>[ 0.000000] Linux version 2.6.16-rc5-mm2-noinitrd (ts@gx110) (gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)) #1 PREEMPT Fri Mar 3 20:20:19 CET 2006
<6>[ 0.000000] BIOS-provided physical RAM map:
<4>[ 0.000000] BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
<4>[ 0.000000] BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
<4>[ 0.000000] BIOS-e820: 0000000000100000 - 0000000017eac000 (usable)
<4>[ 0.000000] BIOS-e820: 0000000017eac000 - 0000000018000000 (reserved)
<4>[ 0.000000] BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
<5>[ 0.000000] 382MB LOWMEM available.
<7>[ 0.000000] On node 0 totalpages: 97964
<7>[ 0.000000] DMA zone: 4096 pages, LIFO batch:0
<7>[ 0.000000] DMA32 zone: 0 pages, LIFO batch:0
<7>[ 0.000000] Normal zone: 93868 pages, LIFO batch:31
<7>[ 0.000000] HighMem zone: 0 pages, LIFO batch:0
<6>[ 0.000000] DMI 2.3 present.
<7>[ 0.000000] ACPI: RSDP (v000 DELL ) @ 0x000fd790
<7>[ 0.000000] ACPI: RSDT (v001 DELL GX110 0x00000007 ASL 0x00000061) @ 0x000fd7a4
<7>[ 0.000000] ACPI: FADT (v001 DELL GX110 0x00000007 ASL 0x00000061) @ 0x000fd7cc
<7>[ 0.000000] ACPI: DSDT (v001 DELL dt_ex 0x00001000 MSFT 0x0100000b) @ 0x00000000
<6>[ 0.000000] ACPI: PM-Timer IO Port: 0x808
<4>[ 0.000000] Allocating PCI resources starting at 20000000 (gap: 18000000:e7b00000)
<4>[ 0.000000] Detected 931.113 MHz processor.
<4>[ 36.306277] Built 1 zonelists
<5>[ 36.306283] Kernel command line: root=/dev/hda3 selinux=0 x11i=vesa video=intelfb:mode=1024x768-32@70
<4>[ 36.306758] Local APIC disabled by BIOS -- you can enable it with "lapic"
<7>[ 36.306783] mapped APIC to ffffd000 (016be000)
<6>[ 36.306791] Enabling fast FPU save and restore... done.
<6>[ 36.306798] Enabling unmasked SIMD FPU exception support... done.
<6>[ 36.306806] Initializing CPU#0
<4>[ 36.306920] PID hash table entries: 2048 (order: 11, 32768 bytes)
<4>[ 36.528461] Console: colour VGA+ 80x25
<4>[ 36.530748] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
<4>[ 36.532366] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
<6>[ 36.580081] Memory: 379940k/391856k available (2099k kernel code, 11396k reserved, 1375k data, 184k init, 0k highmem)
<4>[ 36.580181] Checking if this processor honours the WP bit even in supervisor mode... Ok.
<4>[ 36.658682] Calibrating delay using timer specific routine.. 1863.59 BogoMIPS (lpj=3727195)
<6>[ 36.658924] Security Framework v1.0.0 initialized
<6>[ 36.658992] SELinux: Disabled at boot.
<4>[ 36.659103] Mount-cache hash table entries: 512
<7>[ 36.659769] CPU: After generic identify, caps: 0383f9ff 00000000 00000000 00000000 00000000 00000000 00000000
<7>[ 36.659786] CPU: After vendor identify, caps: 0383f9ff 00000000 00000000 00000000 00000000 00000000 00000000
<6>[ 36.659810] CPU: L1 I cache: 16K, L1 D cache: 16K
<6>[ 36.659899] CPU: L2 cache: 256K
<7>[ 36.659957] CPU: After all inits, caps: 0383f9ff 00000000 00000000 00000040 00000000 00000000 00000000
<6>[ 36.659973] Intel machine check architecture supported.
<6>[ 36.660035] Intel machine check reporting enabled on CPU#0.
<4>[ 36.660134] CPU: Intel Pentium III (Coppermine) stepping 0a
<6>[ 36.660288] Checking 'hlt' instruction... OK.
<6>[ 36.674824] SMP alternatives: switching to UP code
<6>[ 36.674885] Freeing SMP alternatives: 0k freed
<4>[ 36.698455] ACPI: setting ELCR to 0200 (from 0e20)
<6>[ 36.702372] NET: Registered protocol family 16
<6>[ 36.702677] ACPI: bus type pci registered
<6>[ 36.702750] PCI: Using configuration type 1
<6>[ 36.704987] ACPI: Subsystem revision 20060210
<6>[ 36.717834] ACPI: Interpreter enabled
<6>[ 36.717912] ACPI: Using PIC for interrupt routing
<6>[ 36.720715] ACPI: PCI Root Bridge [PCI0] (0000:00)
<7>[ 36.720797] PCI: Probing PCI hardware (bus 00)
<6>[ 36.720932] ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
<7>[ 36.726250] Boot video device is 0000:00:01.0
<4>[ 36.726410] PCI quirk: region 0800-087f claimed by ICH4 ACPI/GPIO/TCO
<4>[ 36.726484] PCI quirk: region 0880-08bf claimed by ICH4 GPIO
<6>[ 36.727267] PCI: Transparent bridge - 0000:00:1e.0
<7>[ 36.727374] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
<7>[ 36.736679] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT]
<4>[ 36.754720] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 *9 10 11 12 15)
<4>[ 36.756840] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 *10 11 12 15)
<4>[ 36.759046] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 *5 6 7 9 10 11 12 15)
<4>[ 36.761159] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 *11 12 15)
<6>[ 36.762140] Linux Plug and Play Support v0.97 (c) Adam Belay
<6>[ 36.762254] pnp: PnP ACPI init
<6>[ 36.791389] pnp: PnP ACPI: found 13 devices
<6>[ 36.791979] usbcore: registered new driver usbfs
<6>[ 36.792359] usbcore: registered new driver hub
<6>[ 36.793373] PCI: Using ACPI for IRQ routing
<6>[ 36.793441] PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
<4>[ 36.793704] Setting up standard PCI resources
<6>[ 36.801664] pnp: 00:0c: ioport range 0x800-0x85f could not be reserved
<6>[ 36.801740] pnp: 00:0c: ioport range 0xc00-0xc7f has been reserved
<6>[ 36.801807] pnp: 00:0c: ioport range 0x860-0x8ff could not be reserved
<4>[ 36.804652] PCI: Ignore bogus resource 6 [0:0] of 0000:00:01.0
<6>[ 36.804742] PCI: Bridge: 0000:00:1e.0
<6>[ 36.804800] IO window: e000-efff
<6>[ 36.804863] MEM window: fd000000-feffffff
<6>[ 36.804924] PREFETCH window: 20000000-200fffff
<7>[ 36.805001] PCI: Setting latency timer of device 0000:00:1e.0 to 64
<6>[ 36.806341] apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
<5>[ 36.806415] apm: overridden by ACPI.
<4>[ 36.806472] initcall at 0xc04721ee: apm_init+0x0/0x2f8(): returned with error code -19
<4>[ 36.806845] initcall at 0xc0475b85: init_hpet_clocksource+0x0/0x72(): returned with error code -19
<6>[ 36.817255] audit: initializing netlink socket (disabled)
<5>[ 36.817404] audit(1141805849.240:1): initialized
<4>[ 36.818047] Total HugeTLB memory allocated, 0
<5>[ 36.818684] VFS: Disk quotas dquot_6.5.1
<4>[ 36.818846] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
<6>[ 36.819965] Initializing Cryptographic API
<6>[ 36.820048] io scheduler noop registered
<6>[ 36.820162] io scheduler anticipatory registered
<6>[ 36.820264] io scheduler deadline registered (default)
<6>[ 36.820448] io scheduler cfq registered
<6>[ 36.822275] ACPI: Power Button (FF) [PWRF]
<4>[ 36.824622] ACPI Error (acpi_processor-0488): Getting cpuindex for acpiid 0x2 [20060210]
<6>[ 36.825026] isapnp: Scanning for PnP cards...
<6>[ 37.180109] isapnp: No Plug & Play device found
<6>[ 37.413972] Real Time Clock Driver v1.12ac
<6>[ 37.415480] Linux agpgart interface v0.101 (c) Dave Jones
<6>[ 37.415969] agpgart: Detected an Intel i810 E Chipset.
<6>[ 37.423950] agpgart: detected 4MB dedicated video ram.
<6>[ 37.431144] agpgart: AGP aperture is 64M @ 0xf8000000
<4>[ 37.432961] ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 9
<7>[ 37.433034] PCI: setting IRQ 9 as level-triggered
<6>[ 37.433041] ACPI: PCI Interrupt 0000:00:01.0[A] -> Link [LNKA] -> GSI 9 (level, low) -> IRQ 9
<4>[ 37.440891] i810-i2c: Probe DDC1 Bus
<4>[ 37.442391] i810-i2c: Unable to read EDID block.
<4>[ 37.443853] i810-i2c: Unable to read EDID block.
<4>[ 37.445314] i810-i2c: Unable to read EDID block.
<4>[ 37.445374] i810-i2c: Probe DDC2 Bus
<4>[ 37.446893] i810-i2c: Unable to read EDID block.
<4>[ 37.448355] i810-i2c: Unable to read EDID block.
<4>[ 37.449816] i810-i2c: Unable to read EDID block.
<4>[ 37.449875] i810-i2c: Probe DDC3 Bus
<4>[ 37.449931] i810-i2c: Getting EDID from BIOS
<4>[ 37.449990] i810fb_init_pci: DDC probe successful
<4>[ 37.450051] i810fb_init_pci: Unable to get Mode Database
<4>[ 37.465222] Console: switching to colour frame buffer device 80x30
<4>[ 37.467349] I810FB: fb0 : Intel(R) 810E Framebuffer Device v0.9.0
<4>[ 37.467353] I810FB: Video RAM : 4096K
<4>[ 37.467356] I810FB: Monitor : H: 29-30 KHz V: 60-60 Hz
<4>[ 37.467360] I810FB: Mode : 640x480-8bpp@60Hz
<6>[ 37.475552] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
<6>[ 37.480127] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
<6>[ 37.482826] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
<6>[ 37.487498] 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
<6>[ 37.490628] 00:0a: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
<6>[ 37.493698] Floppy drive(s): fd0 is 1.44M
<6>[ 37.511882] FDC 0 is a National Semiconductor PC87306
<4>[ 37.520473] RAMDISK driver initialized: 16 RAM disks of 64000K size 1024 blocksize
<6>[ 37.527680] loop: loaded (max 8 devices)
<4>[ 37.531677] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 5
<7>[ 37.534067] PCI: setting IRQ 5 as level-triggered
<6>[ 37.534381] ACPI: PCI Interrupt 0000:01:0c.0[A] -> Link [LNKC] -> GSI 5 (level, low) -> IRQ 5
<4>[ 37.539399] 3c59x: Donald Becker and others. http://www.scyld.com/network/vortex.html
<6>[ 37.544587] 0000:01:0c.0: 3Com PCI 3c905C Tornado at d881ec00.
<6>[ 37.569770] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
<6>[ 37.572683] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
<6>[ 37.578910] ICH: IDE controller at PCI slot 0000:00:1f.1
<6>[ 37.581890] ICH: chipset revision 2
<6>[ 37.584777] ICH: not 100% native mode: will probe irqs later
<6>[ 37.587739] ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
<6>[ 37.593841] ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio
<7>[ 37.599964] Probing IDE interface ide0...
<4>[ 37.885962] hda: IC35L060AVER07-0, ATA DISK drive
<4>[ 38.557761] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
<7>[ 38.561509] Probing IDE interface ide1...
<4>[ 39.296985] hdc: TOSHIBA DVD-ROM SDM2012C, ATAPI CD/DVD-ROM drive
<4>[ 39.968691] ide1 at 0x170-0x177,0x376 on irq 15
<6>[ 39.974226] hda: max request size: 128KiB
<6>[ 39.987855] hda: 120103200 sectors (61492 MB) w/1916KiB Cache, CHS=65535/16/63, UDMA(66)
<6>[ 39.994600] hda: cache flushes not supported
<6>[ 39.998219] hda: hda1 hda2 hda3 hda4
<6>[ 40.030449] usbcore: registered new driver libusual
<6>[ 40.034306] PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
<6>[ 40.042547] serio: i8042 AUX port at 0x60,0x64 irq 12
<6>[ 40.045916] serio: i8042 KBD port at 0x60,0x64 irq 1
<6>[ 40.050108] mice: PS/2 mouse device common for all mice
<6>[ 40.054472] input: PC Speaker as /class/input/input0
<6>[ 40.086375] md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
<6>[ 40.089315] md: bitmap version 4.39
<6>[ 40.092376] NET: Registered protocol family 2
<4>[ 40.128518] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
<4>[ 40.132236] TCP established hash table entries: 16384 (order: 6, 262144 bytes)
<4>[ 40.139255] TCP bind hash table entries: 16384 (order: 6, 327680 bytes)
<6>[ 40.143936] TCP: Hash tables configured (established 16384 bind 16384)
<6>[ 40.146992] TCP reno registered
<6>[ 40.150279] TCP bic registered
<6>[ 40.153198] NET: Registered protocol family 1
<4>[ 40.156542] Using IPI Shortcut mode
<4>[ 40.159319] initcall at 0xc0130fb6: software_resume+0x0/0xd1(): returned with error code -2
<6>[ 40.165722] ACPI: wakeup devices: PCI0 USB0 PCI1 KBD
<6>[ 40.169285] ACPI: (supports S0 S1 S4 S5)
<6>[ 40.173633] md: Autodetecting RAID arrays.
<6>[ 40.176467] md: autorun ...
<6>[ 40.179178] md: ... autorun DONE.
<6>[ 40.181825] Time: tsc clocksource has been installed.
<5>[ 40.197747] ReiserFS: hda3: found reiserfs format "3.6" with standard journal
<5>[ 41.522590] ReiserFS: hda3: using ordered data mode
<5>[ 41.537444] ReiserFS: hda3: journal params: device hda3, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max
trans age 30
<5>[ 41.551230] ReiserFS: hda3: checking transaction log (hda3)
<5>[ 41.597774] ReiserFS: hda3: Using r5 hash to sort names
<4>[ 41.601265] VFS: Mounted root (reiserfs filesystem) readonly.
<6>[ 41.604343] Freeing unused kernel memory: 184k freed
<4>[ 41.607624] Write protecting the kernel read-only data: 954k
<6>[ 42.865625] md: Autodetecting RAID arrays.
<3>[ 42.865700] BUG: sleeping function called from invalid context at mm/slab.c:2752
<4>[ 42.865707] in_atomic():1, irqs_disabled():1
<4>[ 42.865714] <c014fb4c> kmem_cache_alloc+0x20/0x77 <c02595ce> i810fb_cursor+0x1bd/0x2c9
<4>[ 42.865769] <c01a3760> search_by_key+0x1a5/0xe04 <c020f047> bit_cursor+0x475/0x498
<4>[ 42.865811] <c020c3cb> fbcon_cursor+0x226/0x25b <c020ebd2> bit_cursor+0x0/0x498
<4>[ 42.865827] <c024ddd6> hide_cursor+0x1d/0x53 <c02519d0> vt_console_print+0x8b/0x21e
<4>[ 42.865853] <c0251945> vt_console_print+0x0/0x21e <c0117b54> __call_console_drivers+0x34/0x40
<4>[ 42.865875] <c0117d54> release_console_sem+0xeb/0x185 <c01186ba> vprintk+0x298/0x2d9
<4>[ 42.865892] <c0168e00> d_splice_alias+0xc7/0xe3 <c0191622> reiserfs_lookup+0xed/0xf8
<4>[ 42.865913] <c011870d> printk+0x12/0x16 <c029f270> md_ioctl+0xc3/0x1289
<4>[ 42.865941] <c030c150> _spin_unlock+0xf/0x23 <c030c150> _spin_unlock+0xf/0x23
<4>[ 42.865972] <c030c150> _spin_unlock+0xf/0x23 <c016942f> inode_init_once+0x1a3/0x1cd
<4>[ 42.865988] <c01f228f> blkdev_driver_ioctl+0x49/0x59 <c01f29a0> blkdev_ioctl+0x6b6/0x6d6
<4>[ 42.866018] <c030b712> __mutex_lock_slowpath+0x2ca/0x39a <c012af2d> debug_mutex_add_waiter+0x14/0x27
<4>[ 42.866048] <c015aa0e> do_open+0x5b/0x32a <c030b712> __mutex_lock_slowpath+0x2ca/0x39a
<4>[ 42.866065] <c015aa0e> do_open+0x5b/0x32a <c030c150> _spin_unlock+0xf/0x23
<4>[ 42.866079] <c030c232> _read_unlock_irq+0x10/0x24 <c0138a0d> find_get_page+0x35/0x3a
<4>[ 42.866097] <c013a11b> filemap_nopage+0x1a1/0x31f <c030c150> _spin_unlock+0xf/0x23
<4>[ 42.866113] <c01439af> __handle_mm_fault+0x3e5/0x757 <c015a329> block_ioctl+0x13/0x16
<4>[ 42.866128] <c015a316> block_ioctl+0x0/0x16 <c01634d8> do_ioctl+0x1c/0x5d
<4>[ 42.866152] <c016376e> vfs_ioctl+0x255/0x268 <c01637c7> sys_ioctl+0x46/0x5f
<4>[ 42.866168] <c0102b3b> sysenter_past_esp+0x54/0x75
<6>[ 42.997457] md: autorun ...
<6>[ 43.001103] md: ... autorun DONE.
<6>[ 46.263181] device-mapper: 4.5.0-ioctl (2005-10-04) initialised: [email protected]
<3>[ 46.263269] BUG: sleeping function called from invalid context at mm/slab.c:2752
<4>[ 46.263276] in_atomic():1, irqs_disabled():1
<4>[ 46.263283] <c014fb4c> kmem_cache_alloc+0x20/0x77 <c02595ce> i810fb_cursor+0x1bd/0x2c9
<4>[ 46.263339] <c020f047> bit_cursor+0x475/0x498 <c0101d39> __switch_to+0x19/0x1b4
<4>[ 46.263370] <c020c3cb> fbcon_cursor+0x226/0x25b <c020ebd2> bit_cursor+0x0/0x498
<4>[ 46.263386] <c024ddd6> hide_cursor+0x1d/0x53 <c02519d0> vt_console_print+0x8b/0x21e
<4>[ 46.263412] <c0251945> vt_console_print+0x0/0x21e <c0117b54> __call_console_drivers+0x34/0x40
<4>[ 46.263436] <c0117d54> release_console_sem+0xeb/0x185 <c01186ba> vprintk+0x298/0x2d9
<4>[ 46.263453] <c0263ede> class_device_add+0x234/0x25b <c011870d> printk+0x12/0x16
<4>[ 46.263482] <d885f196> dm_interface_init+0x51/0x58 [dm_mod] <d885f0d2> dm_init+0x12/0x39 [dm_mod]
<4>[ 46.263548] <c012e4ac> sys_init_module+0x1259/0x13a5 <c0102b3b> sysenter_past_esp+0x54/0x75
<6>[ 48.444915] NTFS driver 2.1.26 [Flags: R/W MODULE].
<3>[ 48.445001] BUG: sleeping function called from invalid context at mm/slab.c:2752
<4>[ 48.445007] in_atomic():1, irqs_disabled():1
<4>[ 48.445015] <c014fb4c> kmem_cache_alloc+0x20/0x77 <c02595ce> i810fb_cursor+0x1bd/0x2c9
<4>[ 48.445073] <c013d256> __alloc_pages+0x2c0/0x2d2 <c020f047> bit_cursor+0x475/0x498
<4>[ 48.445110] <c030c150> _spin_unlock+0xf/0x23 <c020c3cb> fbcon_cursor+0x226/0x25b
<4>[ 48.445141] <c020ebd2> bit_cursor+0x0/0x498 <c024ddd6> hide_cursor+0x1d/0x53
<4>[ 48.445169] <c02519d0> vt_console_print+0x8b/0x21e <c0251945> vt_console_print+0x0/0x21e
<4>[ 48.445183] <c0117b54> __call_console_drivers+0x34/0x40 <c0117d54> release_console_sem+0xeb/0x185
<4>[ 48.445208] <c01186ba> vprintk+0x298/0x2d9 <c0189818> sysfs_new_dirent+0x17/0x56
<4>[ 48.445236] <c013c75d> free_pages_bulk+0x27/0x234 <c011870d> printk+0x12/0x16
<4>[ 48.445252] <d885f00b> init_ntfs_fs+0xb/0x1a1 [ntfs] <c012e4ac> sys_init_module+0x1259/0x13a5
<4>[ 48.445293] <c0102b3b> sysenter_past_esp+0x54/0x75
<6>[ 48.596640] NTFS volume version 3.1.
Kernel logging (ksyslog) stopped.
Kernel log daemon terminating.
-------->8-------->8-------->8-------->8-------->8-------->8-------->8-------->8

(Yeah, that sleeping BUG has been around for some time, I have been meaning
to report it but never got around to it, sorry.)

HTH
Tilman

--
Tilman Schmidt E-Mail: [email protected]
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Unge?ffnet mindestens haltbar bis: (siehe R?ckseite)


Attachments:
signature.asc (250.00 B)
OpenPGP digital signature

2006-03-09 12:20:11

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.16-rc5-mm3

Tilman Schmidt <[email protected]> wrote:
>
> Andrew Morton wrote:
>
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc5/2.6.16-rc5-mm3/
>
> This panics and dies during early boot with a divide error in kmem_cache_init
> on my Dell GX110.

Yup, please apply ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc5/2.6.16-rc5-mm3/hot-fixes/revert-x86_64-mm-i386-early-alignment.patch

2006-03-09 15:03:17

by Martin Bligh

[permalink] [raw]
Subject: Re: 2.6.16-rc5-mm3


> No, it's just that we suck. The numa-maps update got squeezed in at the
> last minute.
>
> I guess we do it this way - there's still code in there which will call
> check_huge_range(), but it's inside if (0) {}.

Works as of -git12.

Thanks!

M.

2006-03-09 15:11:28

by Benoit Boissinot

[permalink] [raw]
Subject: Re: 2.6.16-rc5-mm3

I forgot to cc:lkml, sorry

On Thu, Mar 09, 2006 at 03:44:51PM +0100, Benoit Boissinot wrote:
> On Thu, Mar 09, 2006 at 07:15:35AM +0100, Benoit Boissinot wrote:
> > On Tue, Mar 07, 2006 at 02:19:29AM -0800, Andrew Morton wrote:
> > >
> > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc5/2.6.16-rc5-mm3/
> > >
> > > - A relatively small number of changes, although we're up to 9MB of diff
> > > in the various git trees.
> > >
> >
> > I just encountered a memleak, this is a laptop and i use swsusp (I am not
> > sure if it is related but since the memleak involves task_struct).
>
> After one night, i have in slabinfo:
> task_struct 342 342 1344 3 1 : tunables 24 12 0 : slabdata 114 114 0
>
> whereas ps Haux | wc -l gives 56.
>
> Is it possible that some kernel thread does not get deallocated
> correctly ?
>
> regards,
>
> Benoit
> --
> powered by bash/screen/(urxvt/fvwm|linux-console)/gentoo/gnu/linux OS

--
powered by bash/screen/(urxvt/fvwm|linux-console)/gentoo/gnu/linux OS

2006-03-09 18:07:18

by Tilman Schmidt

[permalink] [raw]
Subject: Re: 2.6.16-rc5-mm3

On 09.03.2006 13:18, Andrew Morton wrote:

> Tilman Schmidt <[email protected]> wrote:
>
>>Andrew Morton wrote:
>>
>> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc5/2.6.16-rc5-mm3/
>>
>> This panics and dies during early boot with a divide error in kmem_cache_init
>> on my Dell GX110.
>
> Yup, please apply ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc5/2.6.16-rc5-mm3/hot-fixes/revert-x86_64-mm-i386-early-alignment.patch

That fixed it. Thanks!

--
Tilman Schmidt E-Mail: [email protected]
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Unge?ffnet mindestens haltbar bis: (siehe R?ckseite)


Attachments:
signature.asc (253.00 B)
OpenPGP digital signature

2006-03-10 09:44:25

by Christoph Hellwig

[permalink] [raw]
Subject: Re: 2.6.16-rc5-mm3

On Tue, Mar 07, 2006 at 03:23:30AM -0800, Andrew Morton wrote:
> Christoph Hellwig <[email protected]> wrote:
> >
> > On Tue, Mar 07, 2006 at 02:19:29AM -0800, Andrew Morton wrote:
> > > +ia64-dont-report-sn2-or-summit-hardware-as-an-error.patch
> > > +sgi-sn-drivers-dont-report-sn2-hardware-as-an-error.patch
> > >
> > > ia64 fixes
> >
> > These are wrong. The hardware is not available so -ENODEV is the right
> > return value. Especially in the mmtimer case this is a real bug because
> > the module would stay loaded despite not beeing initialized and uneeded,
> > in the others it's just cosmetical but still wrong.
>
> OK, thanks, gone.

The patches went into mainline anyway yesterday..

2006-03-11 15:20:50

by Jiri Slaby

[permalink] [raw]
Subject: ata2: dev 0 failed to IDENTIFY (I/O error) [Was: 2.6.16-rc5-mm3]

Hello,

this is in diff between -mm2 and -mm3:
ata2: SATA port has no device.
ata2: PIO error
ata2: dev 0 failed to IDENTIFY (I/O error)

These lines are new in dmesg.

Whole diff:
--- mm2 2006-03-11 15:50:21.000000000 +0100
+++ mm3 2006-03-11 15:49:11.000000000 +0100
@@ -1,4 +1,4 @@
-Linux version 2.6.16-rc5-mm2 (ku@bellona) (gcc version 4.1.0 20060214 (Red Hat 4.1.0-0.27)) #101 SMP PREEMPT Fri Mar 3 16:20:18 CET 2006
+Linux version 2.6.16-rc5-mm3 (ku@bellona) (gcc version 4.1.0 20060214 (Red Hat 4.1.0-0.27)) #102 SMP PREEMPT Thu Mar 9 23:49:35 CET 2006
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
@@ -38,7 +38,7 @@
Enabling APIC mode: Flat. Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 30000000 (gap: 20000000:dec00000)
-Detected 2736.287 MHz processor.
+Detected 2736.432 MHz processor.
Built 1 zonelists
Kernel command line: ro root=/dev/hda2 reboot=w
mapped APIC to ffffd000 (fee00000)
@@ -51,9 +51,9 @@
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
-Memory: 514404k/524224k available (2532k kernel code, 9360k reserved, 1380k data, 200k init, 0k highmem)
+Memory: 514404k/524224k available (2534k kernel code, 9360k reserved, 1378k data, 200k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
-Calibrating delay using timer specific routine.. 5476.83 BogoMIPS (lpj=10953674)
+Calibrating delay using timer specific routine.. 5476.78 BogoMIPS (lpj=10953574)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000 00004400 00000000 00000000
CPU: After vendor identify, caps: bfebfbff 00000000 00000000 00000000 00004400 00000000 00000000
@@ -71,7 +71,7 @@
Booting processor 1/1 eip 2000
CPU 1 irqstacks, hard=c0513000 soft=c0510000
Initializing CPU#1
-Calibrating delay using timer specific routine.. 5472.84 BogoMIPS (lpj=10945697)
+Calibrating delay using timer specific routine.. 5472.77 BogoMIPS (lpj=10945557)
CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000 00004400 00000000 00000000
CPU: After vendor identify, caps: bfebfbff 00000000 00000000 00000000 00004400 00000000 00000000
CPU: Trace cache: 12K uops, L1 D cache: 8K
@@ -83,12 +83,12 @@
CPU1: Intel P4/Xeon Extended MCE MSRs (12) available
CPU1: Thermal monitoring enabled
CPU1: Intel(R) Pentium(R) 4 CPU 2.60GHz stepping 09
-Total of 2 processors activated (10949.68 BogoMIPS).
+Total of 2 processors activated (10949.56 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
checking TSC synchronization across 2 CPUs: passed.
Brought up 2 CPUs
-migration_cost=5
+migration_cost=145
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: Using configuration type 1
@@ -170,6 +170,7 @@
hda: hda1 hda2 hda3 hda4 < hda5 hda6 >
libata version 1.20 loaded.
ata_piix 0000:00:1f.2: version 1.05
+ata_piix 0000:00:1f.2: MAP [ P0 -- P1 -- ]
ACPI: PCI Interrupt 0000:00:1f.2[A] -> GSI 18 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ata1: SATA max UDMA/133 cmd 0xC000 ctl 0xC402 bmdma 0xD000 irq 18
@@ -177,8 +178,12 @@
ata1: dev 0 cfg 49:2f00 82:346b 83:7f21 84:4003 85:3469 86:3c01 87:4003 88:203f
ata1: dev 0 ATA-6, max UDMA/100, 234441648 sectors: LBA48
ata1(0): applying bridge limits
+ata1: dev 0 cfg 49:2f00 82:346b 83:7f21 84:4003 85:3469 86:3c01 87:4003 88:203f
ata1: dev 0 configured for UDMA/100
scsi0 : ata_piix
+ata2: SATA port has no device.
+ata2: PIO error
+ata2: dev 0 failed to IDENTIFY (I/O error)
scsi1 : ata_piix
Vendor: ATA Model: WDC WD1200JD-00F Rev: 02.0
Type: Direct-Access ANSI SCSI revision: 05
@@ -203,7 +208,7 @@
usb usb1: new device found, idVendor=0000, idProduct=0000
usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
-usb usb1: Manufacturer: Linux 2.6.16-rc5-mm2 ehci_hcd
+usb usb1: Manufacturer: Linux 2.6.16-rc5-mm3 ehci_hcd
usb usb1: SerialNumber: 0000:00:1d.7
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
@@ -217,7 +222,7 @@
usb usb2: new device found, idVendor=0000, idProduct=0000
usb usb2: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: UHCI Host Controller
-usb usb2: Manufacturer: Linux 2.6.16-rc5-mm2 uhci_hcd
+usb usb2: Manufacturer: Linux 2.6.16-rc5-mm3 uhci_hcd
usb usb2: SerialNumber: 0000:00:1d.0
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
@@ -230,7 +235,7 @@
usb usb3: new device found, idVendor=0000, idProduct=0000
usb usb3: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb3: Product: UHCI Host Controller
-usb usb3: Manufacturer: Linux 2.6.16-rc5-mm2 uhci_hcd
+usb usb3: Manufacturer: Linux 2.6.16-rc5-mm3 uhci_hcd
usb usb3: SerialNumber: 0000:00:1d.1
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
@@ -243,7 +248,7 @@
usb usb4: new device found, idVendor=0000, idProduct=0000
usb usb4: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb4: Product: UHCI Host Controller
-usb usb4: Manufacturer: Linux 2.6.16-rc5-mm2 uhci_hcd
+usb usb4: Manufacturer: Linux 2.6.16-rc5-mm3 uhci_hcd
usb usb4: SerialNumber: 0000:00:1d.2
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
@@ -256,7 +261,7 @@
usb usb5: new device found, idVendor=0000, idProduct=0000
usb usb5: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb5: Product: UHCI Host Controller
-usb usb5: Manufacturer: Linux 2.6.16-rc5-mm2 uhci_hcd
+usb usb5: Manufacturer: Linux 2.6.16-rc5-mm3 uhci_hcd
usb usb5: SerialNumber: 0000:00:1d.3
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
@@ -294,25 +299,25 @@
NET: Registered protocol family 17
Starting balanced_irq
Using IPI Shortcut mode
+Time: tsc clocksource has been installed.
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 200k freed
-Time: tsc clocksource has been installed.
input: AT Translated Set 2 keyboard as /class/input/input1
-gameport: EMU10K1 is pci0000:02:02.1/gameport0, io 0xa400, speed 1065kHz
hdc: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 40X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
+gameport: EMU10K1 is pci0000:02:02.1/gameport0, io 0xa400, speed 1084kHz
ieee1394: Initialized config rom entry `ip1394'
ACPI: PCI Interrupt 0000:02:05.0[A] -> GSI 21 (level, low) -> IRQ 22
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[22] MMIO=[fa004000-fa0047ff] Max Packet=[2048] IR/IT contexts=[4/8]
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE]
+ieee1394: Host added: ID:BUS[0-00:1023] GUID[000d6100001a97a1]
EXT3 FS on hda2, internal journal
kjournald starting. Commit interval 5 seconds
-ieee1394: Host added: ID:BUS[0-00:1023] GUID[000d6100001a97a1]
EXT3 FS on hda5, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds

2006-03-11 15:57:45

by Tejun Heo

[permalink] [raw]
Subject: [PATCH] libata: fix missing classes[] initialization in ata_bus_probe()

ata_bus_probe() didn't initialize classes[] properly with
ATA_DEV_UNKNOWN. As ->probe_reset() is allowed to leave @classes
alone when no device is present, this results in garbage class values.
ATM, the only affected driver is ata_piix.

Signed-off-by: Tejun Heo <[email protected]>
Cc: Jiri Slaby <[email protected]>

---

Jiri, thanks for reporting this. The offending change has been there
for some time but it's the first time I see it. Probably because my
garbage was never ATA_DEV_ATA or ATA_DEV_ATAPI.

diff --git a/drivers/scsi/libata-core.c b/drivers/scsi/libata-core.c
index 5dbcf0c..d7f9f1a 100644
--- a/drivers/scsi/libata-core.c
+++ b/drivers/scsi/libata-core.c
@@ -1237,6 +1237,9 @@ static int ata_bus_probe(struct ata_port

/* reset */
if (ap->ops->probe_reset) {
+ for (i = 0; i < ATA_MAX_DEVICES; i++)
+ classes[i] = ATA_DEV_UNKNOWN;
+
rc = ap->ops->probe_reset(ap, classes);
if (rc) {
printk("ata%u: reset failed (errno=%d)\n", ap->id, rc);

2006-03-12 00:05:07

by Jeff Garzik

[permalink] [raw]
Subject: Re: [PATCH] libata: fix missing classes[] initialization in ata_bus_probe()

Tejun Heo wrote:
> ata_bus_probe() didn't initialize classes[] properly with
> ATA_DEV_UNKNOWN. As ->probe_reset() is allowed to leave @classes
> alone when no device is present, this results in garbage class values.
> ATM, the only affected driver is ata_piix.
>
> Signed-off-by: Tejun Heo <[email protected]>
> Cc: Jiri Slaby <[email protected]>

applied to #upstream