2008-06-10 05:32:21

by Andrew Morton

[permalink] [raw]
Subject: 2.6.26-rc5-mm2


ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.26-rc5/2.6.26-rc5-mm2/

- This is a bugfixed version of 2.6.26-rc5-mm1 - mainly to repair a
vmscan.c bug which would have prevented testing of the other vmscan.c
bugs^Wchanges.


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 tag v2.6.16-rc2-mm1
git-checkout -b local-v2.6.16-rc2-mm1 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.

- Occasional 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. These probably are at least compilable.

- More-than-daily -mm snapshots may be found at
http://userweb.kernel.org/~akpm/mmotm/. These are almost certainly not
compileable.



Changes since 2.6.26-rc5-mm1:

origin.patch
linux-next.patch
git-jg-misc.patch
git-leds.patch
git-libata-all.patch
git-battery.patch
git-parisc.patch
git-regulator.patch
git-scsi-misc-fix-scsi_dh-build-errors.patch
git-unionfs.patch
git-logfs.patch
git-unprivileged-mounts.patch
git-xtensa.patch
git-orion.patch
git-pekka.patch

git trees

+cpusets-provide-another-web-page-url-in-maintainers-file.patch
+maintainers-update-pppoe-maintainer-address.patch
+proc_fsh-move-struct-mm_struct-forward-declaration.patch

2.6.26 queue

-drivers-net-wireless-iwlwifi-iwl-4965-rsc-config_iwl4965_ht=n-hack.patch

Unneeded

+drivers-mtd-nand-nandsimc-needs-div64h.patch

mtd fix

-intel-agp-rewrite-gtt-on-resume-update.patch
-intel-agp-rewrite-gtt-on-resume-update-checkpatch-fixes.patch

Folded into intel-agp-rewrite-gtt-on-resume.patch

+intel-agp-rewrite-gtt-on-resume-fix.patch
+intel-agp-rewrite-gtt-on-resume-fix-fix.patch

Fix it some more.

-powerpc-fix-for-oprofile-callgraph-for-power-64-bit-user-apps.patch

Dropped

-arch-powerpc-platforms-pseries-eeh_driverc-fix-warning-checkpatch-fixes.patch

Folded into arch-powerpc-platforms-pseries-eeh_driverc-fix-warning.patch

-bluetooth-hci_bcspc-small-cleanups-api-users-fix.patch

Folded into bluetooth-hci_bcspc-small-cleanups-api-users.patch

-net-sh_eth-add-support-for-renesas-superh-ethernet-checkpatch-fixes.patch

Folded into net-sh_eth-add-support-for-renesas-superh-ethernet.patch

+selinux-change-handling-of-invalid-classes.patch

selinux fix

-usb-host-use-get-put_unaligned_-helpers-to-fix-more-potential-unaligned-issues-fix.patch
-usb-host-use-get-put_unaligned_-helpers-to-fix-more-potential-unaligned-issues-fix-2.patch

Folded into
usb-host-use-get-put_unaligned_-helpers-to-fix-more-potential-unaligned-issues.patch

-at91sam9-cap9-watchdog-driver.patch

Dropped

-watchdog-pcwd-clean-up-unlocked_ioctl-usage-fix.patch

Folded into watchdog-pcwd-clean-up-unlocked_ioctl-usage.patch

-watchdog-wdt501-pci-clean-up-coding-style-and-switch-to-unlocked_ioctl-fix.patch

Folded into
watchdog-wdt501-pci-clean-up-coding-style-and-switch-to-unlocked_ioctl.patch

+iwlwifi-remove-iwl4965_ht-config.patch

wireless fix

+drivers-isdn-sc-ioctlc-add-missing-kfree.patch

ISDM fix

-mtd-m25p80-fix-bug-atmel-spi-flash-fails-to-be-copied-to-fix-up.patch

Folded into mtd-m25p80-fix-bug-atmel-spi-flash-fails-to-be-copied-to.patch

-pnpacpi-fix-irq-flag-decoding-comment-fix.patch

Folded into pnpacpi-fix-irq-flag-decoding.patch

-vfs-utimensat-fix-error-checking-for-utime_nowutime_omit-case-cleanup.patch

Folded into
vfs-utimensat-fix-error-checking-for-utime_nowutime_omit-case.patch

-jbd-strictly-check-for-write-errors-on-data-buffers.patch
-jbd-ordered-data-integrity-fix.patch
-jbd-abort-when-failed-to-log-metadata-buffers.patch
-jbd-fix-error-handling-for-checkpoint-io.patch
-ext3-abort-ext3-if-the-journal-has-aborted.patch
-ext3-abort-ext3-if-the-journal-has-aborted-warning-fix.patch

Dropped

+memrlimit-add-memrlimit-controller-accounting-and-control-fix.patch

Fix memrlimit-add-memrlimit-controller-accounting-and-control.patch

+memstick-use-fully-asynchronous-request-processing-fix.patch

Folded into memstick-use-fully-asynchronous-request-processing.patch

-x86-lockless-get_user_pages_fast-fix-2-fix.patch

Folded into other patches

+mm-speculative-page-references-fix-fix.patch

Fix mm-speculative-page-references-fix.patch

+reiser4-tree_lock-fixes-fix.patch

More reiser4 repairs


1354 commits in 931 patch files

All patches:

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


2008-06-10 06:12:33

by Nick Piggin

[permalink] [raw]
Subject: Re: 2.6.26-rc5-mm2

On Tuesday 10 June 2008 15:31, Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.26-rc5/2.
>6.26-rc5-mm2/
>
> - This is a bugfixed version of 2.6.26-rc5-mm1 - mainly to repair a
> vmscan.c bug which would have prevented testing of the other vmscan.c
> bugs^Wchanges.

BTW. this is known to be broken with x86 1GB pages and direct-IO, due
to interaction between huge pages patchset and lockless get_user_pages.

My fault. I was away from the screen over the long weekend here, and
didn't give Andrew the heads-up in time.

This isn't going to be a problem unless you explicitly enable GB pages
and run direct IO (or splice) into or out of them. I can give a fixup
patch to anyone interested in doing so.

2008-06-10 07:28:51

by Nick Piggin

[permalink] [raw]
Subject: Re: 2.6.26-rc5-mm2

On Tuesday 10 June 2008 15:31, Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.26-rc5/2.
>6.26-rc5-mm2/
>

BTW. would be trying to test this more myself, but last mm I based the
lockless patches on didn't boot, and this one dies pretty quickly when
you try to get into reclaim:

------------[ cut here ]------------
kernel BUG at mm/swap_state.c:77!
invalid opcode: 0000 [1] SMP DEBUG_PAGEALLOC
last sysfs file: /sys/devices/system/cpu/cpu7/cache/index2/shared_cpu_map
CPU 7
Modules linked in:
Pid: 13550, comm: sh Not tainted 2.6.26-rc5-mm2-dirty #412
RIP: 0010:[<ffffffff80288689>] [<ffffffff80288689>]
add_to_swap_cache+0xd9/0x120
RSP: 0018:ffff81010c62d8a8 EFLAGS: 00010246
RAX: 2000000000020009 RBX: ffffe2000107da88 RCX: c000000000000000
RDX: 0000000000000020 RSI: 000000000000eea2 RDI: ffffe2000107da88
RBP: ffff81010c62d8c8 R08: fffffffffa48016e R09: 0000000000000000
R10: ffffffff80857fa0 R11: 2222222222222222 R12: ffff81012e126520
R13: 000000000000eea2 R14: ffff8100727bea20 R15: ffff81010c62d9b8
FS: 00002b5b33cafdc0(0000) GS:ffff81012ff07800(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 000000000175e280 CR3: 000000012e292000 CR4: 00000000000006e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process sh (pid: 13550, threadinfo ffff81010c62c000, task ffff810116b01110)
Stack: ffff81010c62d8c8 ffffe2000107da88 ffff81012e126520 ffff81012e126400
ffff81010c62d908 ffffffff80292851 000000000000eea2 ffff81012e126708
ffffe2000107da88 ffffffff80701420 ffff81010c62db68 ffff81010c62dc88
Call Trace:
[<ffffffff80292851>] shmem_writepage+0x121/0x200
[<ffffffff80277479>] shrink_page_list+0x559/0x6b0
[<ffffffff802777ec>] shrink_list+0x21c/0x520
[<ffffffff80273365>] ? determine_dirtyable_memory+0x15/0x30
[<ffffffff802733a2>] ? get_dirty_limits+0x22/0x2a0
[<ffffffff80277d31>] shrink_zone+0x241/0x330
[<ffffffff80278207>] try_to_free_pages+0x237/0x3a0
[<ffffffff80276530>] ? isolate_pages_global+0x0/0x270
[<ffffffff80272546>] __alloc_pages_internal+0x206/0x4b0
[<ffffffff8028dfd7>] alloc_pages_current+0x87/0xd0
[<ffffffff802714fe>] __get_free_pages+0xe/0x60
[<ffffffff802343ca>] copy_process+0xba/0x1240
[<ffffffff80235682>] do_fork+0x82/0x2a0
[<ffffffff8025a03d>] ? trace_hardirqs_on+0xd/0x10
[<ffffffff805177ab>] ? _spin_unlock_irq+0x2b/0x40
[<ffffffff8051703f>] ? trace_hardirqs_on_thunk+0x3a/0x3f
[<ffffffff8020b6cb>] ? system_call_after_swapgs+0x7b/0x80
[<ffffffff80209853>] sys_clone+0x23/0x30

The tmpfs PageSwapBacked stuff seems rather broken. For
them write_begin/write_end path, it is filemap.c, not shmem.c,
which allocates the page, so its no wonder it goes bug. Will
try to do more testing without shmem.

Also, just noticed
mm/memory.c:do_wp_page
//TODO: is this safe? do_anonymous_page() does it this way.

That's a bit disheartening. Surely a question like that has to
be answered definitively? (hopefully whatever is doing the
asking won't get merged until answered)

2008-06-10 08:35:35

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.26-rc5-mm2

On Tue, 10 Jun 2008 17:28:27 +1000 Nick Piggin <[email protected]> wrote:

> On Tuesday 10 June 2008 15:31, Andrew Morton wrote:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.26-rc5/2.
> >6.26-rc5-mm2/
> >
>
> BTW. would be trying to test this more myself, but last mm I based the
> lockless patches on didn't boot, and this one dies pretty quickly when
> you try to get into reclaim:
>
> ------------[ cut here ]------------
> kernel BUG at mm/swap_state.c:77!
> invalid opcode: 0000 [1] SMP DEBUG_PAGEALLOC
> last sysfs file: /sys/devices/system/cpu/cpu7/cache/index2/shared_cpu_map
> CPU 7
> Modules linked in:
> Pid: 13550, comm: sh Not tainted 2.6.26-rc5-mm2-dirty #412
> RIP: 0010:[<ffffffff80288689>] [<ffffffff80288689>]
> add_to_swap_cache+0xd9/0x120
> RSP: 0018:ffff81010c62d8a8 EFLAGS: 00010246
> RAX: 2000000000020009 RBX: ffffe2000107da88 RCX: c000000000000000
> RDX: 0000000000000020 RSI: 000000000000eea2 RDI: ffffe2000107da88
> RBP: ffff81010c62d8c8 R08: fffffffffa48016e R09: 0000000000000000
> R10: ffffffff80857fa0 R11: 2222222222222222 R12: ffff81012e126520
> R13: 000000000000eea2 R14: ffff8100727bea20 R15: ffff81010c62d9b8
> FS: 00002b5b33cafdc0(0000) GS:ffff81012ff07800(0000) knlGS:0000000000000000
> CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
> CR2: 000000000175e280 CR3: 000000012e292000 CR4: 00000000000006e0
> DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
> DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
> Process sh (pid: 13550, threadinfo ffff81010c62c000, task ffff810116b01110)
> Stack: ffff81010c62d8c8 ffffe2000107da88 ffff81012e126520 ffff81012e126400
> ffff81010c62d908 ffffffff80292851 000000000000eea2 ffff81012e126708
> ffffe2000107da88 ffffffff80701420 ffff81010c62db68 ffff81010c62dc88
> Call Trace:
> [<ffffffff80292851>] shmem_writepage+0x121/0x200
> [<ffffffff80277479>] shrink_page_list+0x559/0x6b0
> [<ffffffff802777ec>] shrink_list+0x21c/0x520
> [<ffffffff80273365>] ? determine_dirtyable_memory+0x15/0x30
> [<ffffffff802733a2>] ? get_dirty_limits+0x22/0x2a0
> [<ffffffff80277d31>] shrink_zone+0x241/0x330
> [<ffffffff80278207>] try_to_free_pages+0x237/0x3a0
> [<ffffffff80276530>] ? isolate_pages_global+0x0/0x270
> [<ffffffff80272546>] __alloc_pages_internal+0x206/0x4b0
> [<ffffffff8028dfd7>] alloc_pages_current+0x87/0xd0
> [<ffffffff802714fe>] __get_free_pages+0xe/0x60
> [<ffffffff802343ca>] copy_process+0xba/0x1240
> [<ffffffff80235682>] do_fork+0x82/0x2a0
> [<ffffffff8025a03d>] ? trace_hardirqs_on+0xd/0x10
> [<ffffffff805177ab>] ? _spin_unlock_irq+0x2b/0x40
> [<ffffffff8051703f>] ? trace_hardirqs_on_thunk+0x3a/0x3f
> [<ffffffff8020b6cb>] ? system_call_after_swapgs+0x7b/0x80
> [<ffffffff80209853>] sys_clone+0x23/0x30
>
> The tmpfs PageSwapBacked stuff seems rather broken. For
> them write_begin/write_end path, it is filemap.c, not shmem.c,
> which allocates the page, so its no wonder it goes bug. Will
> try to do more testing without shmem.

rikstuff. Could be that the merge caused a problem?

> Also, just noticed
> mm/memory.c:do_wp_page
> //TODO: is this safe? do_anonymous_page() does it this way.
>
> That's a bit disheartening. Surely a question like that has to
> be answered definitively?

I asked that too.

> (hopefully whatever is doing the
> asking won't get merged until answered)

It would be good if you could find a day to look through those changes
please. It's pretty important.

2008-06-10 08:48:45

by Nick Piggin

[permalink] [raw]
Subject: Re: 2.6.26-rc5-mm2

On Tuesday 10 June 2008 18:34, Andrew Morton wrote:
> On Tue, 10 Jun 2008 17:28:27 +1000 Nick Piggin <[email protected]>
wrote:
> > On Tuesday 10 June 2008 15:31, Andrew Morton wrote:
> > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.26-rc
> > >5/2. 6.26-rc5-mm2/
> >
> > BTW. would be trying to test this more myself, but last mm I based the
> > lockless patches on didn't boot, and this one dies pretty quickly when
> > you try to get into reclaim:
> >
> > ------------[ cut here ]------------
> > kernel BUG at mm/swap_state.c:77!
> > invalid opcode: 0000 [1] SMP DEBUG_PAGEALLOC
> > last sysfs file: /sys/devices/system/cpu/cpu7/cache/index2/shared_cpu_map
> > CPU 7
> > Modules linked in:
> > Pid: 13550, comm: sh Not tainted 2.6.26-rc5-mm2-dirty #412
> > RIP: 0010:[<ffffffff80288689>] [<ffffffff80288689>]
> > add_to_swap_cache+0xd9/0x120
> > RSP: 0018:ffff81010c62d8a8 EFLAGS: 00010246
> > RAX: 2000000000020009 RBX: ffffe2000107da88 RCX: c000000000000000
> > RDX: 0000000000000020 RSI: 000000000000eea2 RDI: ffffe2000107da88
> > RBP: ffff81010c62d8c8 R08: fffffffffa48016e R09: 0000000000000000
> > R10: ffffffff80857fa0 R11: 2222222222222222 R12: ffff81012e126520
> > R13: 000000000000eea2 R14: ffff8100727bea20 R15: ffff81010c62d9b8
> > FS: 00002b5b33cafdc0(0000) GS:ffff81012ff07800(0000)
> > knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
> > CR2: 000000000175e280 CR3: 000000012e292000 CR4: 00000000000006e0
> > DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
> > DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
> > Process sh (pid: 13550, threadinfo ffff81010c62c000, task
> > ffff810116b01110) Stack: ffff81010c62d8c8 ffffe2000107da88
> > ffff81012e126520 ffff81012e126400 ffff81010c62d908 ffffffff80292851
> > 000000000000eea2 ffff81012e126708 ffffe2000107da88 ffffffff80701420
> > ffff81010c62db68 ffff81010c62dc88 Call Trace:
> > [<ffffffff80292851>] shmem_writepage+0x121/0x200
> > [<ffffffff80277479>] shrink_page_list+0x559/0x6b0
> > [<ffffffff802777ec>] shrink_list+0x21c/0x520
> > [<ffffffff80273365>] ? determine_dirtyable_memory+0x15/0x30
> > [<ffffffff802733a2>] ? get_dirty_limits+0x22/0x2a0
> > [<ffffffff80277d31>] shrink_zone+0x241/0x330
> > [<ffffffff80278207>] try_to_free_pages+0x237/0x3a0
> > [<ffffffff80276530>] ? isolate_pages_global+0x0/0x270
> > [<ffffffff80272546>] __alloc_pages_internal+0x206/0x4b0
> > [<ffffffff8028dfd7>] alloc_pages_current+0x87/0xd0
> > [<ffffffff802714fe>] __get_free_pages+0xe/0x60
> > [<ffffffff802343ca>] copy_process+0xba/0x1240
> > [<ffffffff80235682>] do_fork+0x82/0x2a0
> > [<ffffffff8025a03d>] ? trace_hardirqs_on+0xd/0x10
> > [<ffffffff805177ab>] ? _spin_unlock_irq+0x2b/0x40
> > [<ffffffff8051703f>] ? trace_hardirqs_on_thunk+0x3a/0x3f
> > [<ffffffff8020b6cb>] ? system_call_after_swapgs+0x7b/0x80
> > [<ffffffff80209853>] sys_clone+0x23/0x30
> >
> > The tmpfs PageSwapBacked stuff seems rather broken. For
> > them write_begin/write_end path, it is filemap.c, not shmem.c,
> > which allocates the page, so its no wonder it goes bug. Will
> > try to do more testing without shmem.
>
> rikstuff. Could be that the merge caused a problem?

Doesn't look like it, but I hadn't followed the changes too closely:
rather they just need to test loopback over tmpfs.


> > Also, just noticed
> > mm/memory.c:do_wp_page
> > //TODO: is this safe? do_anonymous_page() does it this way.
> >
> > That's a bit disheartening. Surely a question like that has to
> > be answered definitively?
>
> I asked that too.
>
> > (hopefully whatever is doing the
> > asking won't get merged until answered)
>
> It would be good if you could find a day to look through those changes
> please. It's pretty important.

OK, I could have a look through them at some point.

Just something very quick while I have Rik's attention are all the
atomic SetPageSwapBacked bitops over a lot of mm/ fastpaths that I have
been slowly working away to get rid of over the past years. Maybe some
don't consider it a big deal, but a single one costs anywhere from
100 - 500 instructions on desktop CPUs, not including secondary effects
of ordering memory and and compiler barrier. Please go through and
ensure you know your page references and ->flags concurrency, and cut
these down to a bare minimum.

Is the plan to merge all reclaim changes in a big hit, rather than
slowly trickle in the different independent changes?

2008-06-10 09:15:48

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.26-rc5-mm2

On Tue, 10 Jun 2008 18:48:21 +1000 Nick Piggin <[email protected]> wrote:

> Is the plan to merge all reclaim changes in a big hit, rather than
> slowly trickle in the different independent changes?

It's going to take a lot of work to get such extensive reclaim changes
landed.

We need to convince ourselves that these changes are the right way to
fix <whatever they fix>. We need to review and test the crap out of
them. The 64-bit-only thing is a concern. I wonder about whether
we've "fixed" anon pages but didn't do anything about file-backed
mapped pages. Plus all the other stuff, plus stuff we haven't thought
of yet.

It's huge.

2008-06-10 10:37:45

by Grant Coady

[permalink] [raw]
Subject: Re: 2.6.26-rc5-mm2 lockup up on Intel G33+ICH9R+Core2Duo, -mm1 okay

On Mon, 9 Jun 2008 22:31:45 -0700, Andrew Morton <[email protected]> wrote:

>
>ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.26-rc5/2.6.26-rc5-mm2/
>
>- This is a bugfixed version of 2.6.26-rc5-mm1 - mainly to repair a
> vmscan.c bug which would have prevented testing of the other vmscan.c
> bugs^Wchanges.

No it's not :)

-mm1 worked fine here but -mm2 locks up just after saying:
agpgart: Detected 7164K stolen memory.

Nothing in logs (session not recorded - hit reset to restart).

config and dmseg for -mm1 at (same .config for mm2):

http://bugsplatter.mine.nu/test/boxen/pooh/config-2.6.26-rc5-mm1a.gz
http://bugsplatter.mine.nu/test/boxen/pooh/dmesg-2.6.26-rc5-mm1a.gz

Grant.

2008-06-10 11:50:17

by Helge Hafting

[permalink] [raw]
Subject: Re: 2.6.26-rc5-mm2 compile error in vmscan.c

Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.26-rc5/2.6.26-rc5-mm2/
>
> - This is a bugfixed version of 2.6.26-rc5-mm1 - mainly to repair a
> vmscan.c bug which would have prevented testing of the other vmscan.c
> bugs^Wchanges.
>

Interesting to try out, but I got this:

$ make
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/linux/compile.h
CC mm/vmscan.o
mm/vmscan.c: In function 'show_page_path':
mm/vmscan.c:2419: error: 'struct mm_struct' has no member named 'owner'
make[1]: *** [mm/vmscan.o] Error 1
make: *** [mm] Error 2


I then tried to configure with "Track page owner", but that did not
change anything.

Helge Hafting

2008-06-10 12:23:39

by Johannes Weiner

[permalink] [raw]
Subject: Re: 2.6.26-rc5-mm2 compile error in vmscan.c

Hi,

Helge Hafting <[email protected]> writes:

> Andrew Morton wrote:
>> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.26-rc5/2.6.26-rc5-mm2/
>>
>> - This is a bugfixed version of 2.6.26-rc5-mm1 - mainly to repair a
>> vmscan.c bug which would have prevented testing of the other vmscan.c
>> bugs^Wchanges.
>>
>
> Interesting to try out, but I got this:
>
> $ make
> CHK include/linux/version.h
> CHK include/linux/utsrelease.h
> CALL scripts/checksyscalls.sh
> CHK include/linux/compile.h
> CC mm/vmscan.o
> mm/vmscan.c: In function 'show_page_path':
> mm/vmscan.c:2419: error: 'struct mm_struct' has no member named 'owner'
> make[1]: *** [mm/vmscan.o] Error 1
> make: *** [mm] Error 2
>
>
> I then tried to configure with "Track page owner", but that did not
> change anything.

CONFIG_PAGE_OWNER is something else, owner is only active if
CONFIG_MM_OWNER is set.

Hannes

2008-06-10 12:35:24

by Rik van Riel

[permalink] [raw]
Subject: Re: 2.6.26-rc5-mm2

On Tue, 10 Jun 2008 02:15:19 -0700
Andrew Morton <[email protected]> wrote:

> We need to convince ourselves that these changes are the right way to
> fix <whatever they fix>. We need to review and test the crap out of
> them. The 64-bit-only thing is a concern. I wonder about whether
> we've "fixed" anon pages but didn't do anything about file-backed
> mapped pages.

Quite possible. The reclaim policy for file-backed pages has not
changed. We don't know yet whether we'll have to change that, too.

--
All rights reversed.

2008-06-10 15:34:27

by Lee Schermerhorn

[permalink] [raw]
Subject: Re: 2.6.26-rc5-mm2

On Tue, 2008-06-10 at 17:28 +1000, Nick Piggin wrote:
> On Tuesday 10 June 2008 15:31, Andrew Morton wrote:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.26-rc5/2.
> >6.26-rc5-mm2/
> >
>
> BTW. would be trying to test this more myself, but last mm I based the
> lockless patches on didn't boot, and this one dies pretty quickly when
> you try to get into reclaim:
>
> ------------[ cut here ]------------
> kernel BUG at mm/swap_state.c:77!
> invalid opcode: 0000 [1] SMP DEBUG_PAGEALLOC
> last sysfs file: /sys/devices/system/cpu/cpu7/cache/index2/shared_cpu_map
> CPU 7
> Modules linked in:
> Pid: 13550, comm: sh Not tainted 2.6.26-rc5-mm2-dirty #412
> RIP: 0010:[<ffffffff80288689>] [<ffffffff80288689>]
> add_to_swap_cache+0xd9/0x120
> RSP: 0018:ffff81010c62d8a8 EFLAGS: 00010246
> RAX: 2000000000020009 RBX: ffffe2000107da88 RCX: c000000000000000
> RDX: 0000000000000020 RSI: 000000000000eea2 RDI: ffffe2000107da88
> RBP: ffff81010c62d8c8 R08: fffffffffa48016e R09: 0000000000000000
> R10: ffffffff80857fa0 R11: 2222222222222222 R12: ffff81012e126520
> R13: 000000000000eea2 R14: ffff8100727bea20 R15: ffff81010c62d9b8
> FS: 00002b5b33cafdc0(0000) GS:ffff81012ff07800(0000) knlGS:0000000000000000
> CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
> CR2: 000000000175e280 CR3: 000000012e292000 CR4: 00000000000006e0
> DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
> DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
> Process sh (pid: 13550, threadinfo ffff81010c62c000, task ffff810116b01110)
> Stack: ffff81010c62d8c8 ffffe2000107da88 ffff81012e126520 ffff81012e126400
> ffff81010c62d908 ffffffff80292851 000000000000eea2 ffff81012e126708
> ffffe2000107da88 ffffffff80701420 ffff81010c62db68 ffff81010c62dc88
> Call Trace:
> [<ffffffff80292851>] shmem_writepage+0x121/0x200
> [<ffffffff80277479>] shrink_page_list+0x559/0x6b0
> [<ffffffff802777ec>] shrink_list+0x21c/0x520
> [<ffffffff80273365>] ? determine_dirtyable_memory+0x15/0x30
> [<ffffffff802733a2>] ? get_dirty_limits+0x22/0x2a0
> [<ffffffff80277d31>] shrink_zone+0x241/0x330
> [<ffffffff80278207>] try_to_free_pages+0x237/0x3a0
> [<ffffffff80276530>] ? isolate_pages_global+0x0/0x270
> [<ffffffff80272546>] __alloc_pages_internal+0x206/0x4b0
> [<ffffffff8028dfd7>] alloc_pages_current+0x87/0xd0
> [<ffffffff802714fe>] __get_free_pages+0xe/0x60
> [<ffffffff802343ca>] copy_process+0xba/0x1240
> [<ffffffff80235682>] do_fork+0x82/0x2a0
> [<ffffffff8025a03d>] ? trace_hardirqs_on+0xd/0x10
> [<ffffffff805177ab>] ? _spin_unlock_irq+0x2b/0x40
> [<ffffffff8051703f>] ? trace_hardirqs_on_thunk+0x3a/0x3f
> [<ffffffff8020b6cb>] ? system_call_after_swapgs+0x7b/0x80
> [<ffffffff80209853>] sys_clone+0x23/0x30
>
> The tmpfs PageSwapBacked stuff seems rather broken. For
> them write_begin/write_end path, it is filemap.c, not shmem.c,
> which allocates the page, so its no wonder it goes bug. Will
> try to do more testing without shmem.
>
> Also, just noticed
> mm/memory.c:do_wp_page
> //TODO: is this safe? do_anonymous_page() does it this way.
>
> That's a bit disheartening. Surely a question like that has to
> be answered definitively? (hopefully whatever is doing the
> asking won't get merged until answered)

I put those C++ TODO comments in there specifically to raise their
visibility in hopes that someone [like you :)] would notice and maybe
have an answer to the question. I noted the issue in the change log as
well--i.e., that I had moved set_pte_at() to after the lru_cache_add and
'new_rmap. The existing order may be that way for a reason, but it's
not clear [to me] what that reason is. As I noted, do_anonymous_page()
sets the pte after the lru_add and new_rmap.

I agree, these questions need to be answered and the TODO's resolved
before merging. Any thoughts as to the ordering?

Lee

2008-06-10 16:51:19

by Hugh Dickins

[permalink] [raw]
Subject: Re: 2.6.26-rc5-mm2

On Tue, 10 Jun 2008, Lee Schermerhorn wrote:
> On Tue, 2008-06-10 at 17:28 +1000, Nick Piggin wrote:
> > mm/memory.c:do_wp_page
> > //TODO: is this safe? do_anonymous_page() does it this way.
> >
> > That's a bit disheartening. Surely a question like that has to
> > be answered definitively? (hopefully whatever is doing the
> > asking won't get merged until answered)
>
> I put those C++ TODO comments in there specifically to raise their
> visibility in hopes that someone [like you :)] would notice and maybe
> have an answer to the question. I noted the issue in the change log as
> well--i.e., that I had moved set_pte_at() to after the lru_cache_add and
> 'new_rmap. The existing order may be that way for a reason, but it's
> not clear [to me] what that reason is. As I noted, do_anonymous_page()
> sets the pte after the lru_add and new_rmap.
>
> I agree, these questions need to be answered and the TODO's resolved
> before merging. Any thoughts as to the ordering?

The ordering of lru_cache_add*, page_add_*_rmap and set_pte_at does
not matter (but update_mmu_cache must come after set_pte_at not before).

Even if the page table lock were not held across them (it is), I think
their ordering would not matter much (just benign races); though it's
always worth keeping in mind that once you've done the lru_cache_add,
that page is now visible to vmscan.c.

But I'm all in favour of you imposing consistency there (as part of
a wider patch? perhaps not; and do_swap_page does now look out of step).
It can sometimes help when inserting debug checks e.g. on page_mapcount.

I think you'll find the lru_cache_add_active_or_noreclaim could
actually be moved into page_add_new_rmap - I found that helpful when
working on eliminating the PageSwapCache flag (work now grown out of
date, I'm afraid), to know that the page was not publicly visible
until I did lru_cache_add_active at the end of page_add_new_rmap.

Hugh

2008-06-10 18:19:27

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.26-rc5-mm2 lockup up on Intel G33+ICH9R+Core2Duo, -mm1 okay

On Tue, 10 Jun 2008 20:20:09 +1000 Grant Coady <[email protected]> wrote:

> On Mon, 9 Jun 2008 22:31:45 -0700, Andrew Morton <[email protected]> wrote:
>
> >
> >ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.26-rc5/2.6.26-rc5-mm2/
> >
> >- This is a bugfixed version of 2.6.26-rc5-mm1 - mainly to repair a
> > vmscan.c bug which would have prevented testing of the other vmscan.c
> > bugs^Wchanges.
>
> No it's not :)
>
> -mm1 worked fine here but -mm2 locks up just after saying:
> agpgart: Detected 7164K stolen memory.
>
> Nothing in logs (session not recorded - hit reset to restart).
>
> config and dmseg for -mm1 at (same .config for mm2):
>
> http://bugsplatter.mine.nu/test/boxen/pooh/config-2.6.26-rc5-mm1a.gz
> http://bugsplatter.mine.nu/test/boxen/pooh/dmesg-2.6.26-rc5-mm1a.gz
>
> Grant.

hm, intel-agp gtt stuff.

Can you please see whether reverting Keith's stuff fixes it?

drivers/char/agp/agp.h | 3 ---
drivers/char/agp/backend.c | 2 --
drivers/char/agp/generic.c | 28 ----------------------------
drivers/char/agp/intel-agp.c | 5 -----
include/linux/agp_backend.h | 5 -----
5 files changed, 43 deletions(-)

diff -puN drivers/char/agp/agp.h~revert-intel-agp-rewrite-gtt-on-resume drivers/char/agp/agp.h
--- a/drivers/char/agp/agp.h~revert-intel-agp-rewrite-gtt-on-resume
+++ a/drivers/char/agp/agp.h
@@ -148,9 +148,6 @@ struct agp_bridge_data {
char minor_version;
struct list_head list;
u32 apbase_config;
- /* list of agp_memory mapped to the aperture */
- struct list_head mapped_list;
- spinlock_t mapped_lock;
};

#define KB(x) ((x) * 1024)
diff -puN drivers/char/agp/backend.c~revert-intel-agp-rewrite-gtt-on-resume drivers/char/agp/backend.c
--- a/drivers/char/agp/backend.c~revert-intel-agp-rewrite-gtt-on-resume
+++ a/drivers/char/agp/backend.c
@@ -183,8 +183,6 @@ static int agp_backend_initialize(struct
rc = -EINVAL;
goto err_out;
}
- INIT_LIST_HEAD(&bridge->mapped_list);
- spin_lock_init(&bridge->mapped_lock);

return 0;

diff -puN drivers/char/agp/generic.c~revert-intel-agp-rewrite-gtt-on-resume drivers/char/agp/generic.c
--- a/drivers/char/agp/generic.c~revert-intel-agp-rewrite-gtt-on-resume
+++ a/drivers/char/agp/generic.c
@@ -426,10 +426,6 @@ int agp_bind_memory(struct agp_memory *c

curr->is_bound = TRUE;
curr->pg_start = pg_start;
- spin_lock(&agp_bridge->mapped_lock);
- list_add(&curr->mapped_list, &agp_bridge->mapped_list);
- spin_unlock(&agp_bridge->mapped_lock);
-
return 0;
}
EXPORT_SYMBOL(agp_bind_memory);
@@ -462,34 +458,10 @@ int agp_unbind_memory(struct agp_memory

curr->is_bound = FALSE;
curr->pg_start = 0;
- spin_lock(&curr->bridge->mapped_lock);
- list_del(&curr->mapped_list);
- spin_unlock(&curr->bridge->mapped_lock);
return 0;
}
EXPORT_SYMBOL(agp_unbind_memory);

-/**
- * agp_rebind_emmory - Rewrite the entire GATT, useful on resume
- */
-int agp_rebind_memory(void)
-{
- struct agp_memory *curr;
- int ret_val = 0;
-
- spin_lock(&agp_bridge->mapped_lock);
- list_for_each_entry(curr, &agp_bridge->mapped_list, mapped_list) {
- ret_val = curr->bridge->driver->insert_memory(curr,
- curr->pg_start,
- curr->type);
- if (ret_val != 0)
- break;
- }
- spin_unlock(&agp_bridge->mapped_lock);
- return ret_val;
-}
-EXPORT_SYMBOL(agp_rebind_memory);
-
/* End - Routines for handling swapping of agp_memory into the GATT */


diff -puN drivers/char/agp/intel-agp.c~revert-intel-agp-rewrite-gtt-on-resume drivers/char/agp/intel-agp.c
--- a/drivers/char/agp/intel-agp.c~revert-intel-agp-rewrite-gtt-on-resume
+++ a/drivers/char/agp/intel-agp.c
@@ -2176,7 +2176,6 @@ static void __devexit agp_intel_remove(s
static int agp_intel_resume(struct pci_dev *pdev)
{
struct agp_bridge_data *bridge = pci_get_drvdata(pdev);
- int ret_val;

pci_restore_state(pdev);

@@ -2204,10 +2203,6 @@ static int agp_intel_resume(struct pci_d
else if (bridge->driver == &intel_i965_driver)
intel_i915_configure();

- ret_val = agp_rebind_memory();
- if (ret_val != 0)
- return ret_val;
-
return 0;
}
#endif
diff -puN include/linux/agp_backend.h~revert-intel-agp-rewrite-gtt-on-resume include/linux/agp_backend.h
--- a/include/linux/agp_backend.h~revert-intel-agp-rewrite-gtt-on-resume
+++ a/include/linux/agp_backend.h
@@ -30,8 +30,6 @@
#ifndef _AGP_BACKEND_H
#define _AGP_BACKEND_H 1

-#include <linux/list.h>
-
#ifndef TRUE
#define TRUE 1
#endif
@@ -88,8 +86,6 @@ struct agp_memory {
u8 is_bound;
u8 is_flushed;
u8 vmalloc_flag;
- /* list of agp_memory mapped to the aperture */
- struct list_head mapped_list;
};

#define AGP_NORMAL_MEMORY 0
@@ -108,7 +104,6 @@ extern struct agp_memory *agp_allocate_m
extern int agp_copy_info(struct agp_bridge_data *, struct agp_kern_info *);
extern int agp_bind_memory(struct agp_memory *, off_t);
extern int agp_unbind_memory(struct agp_memory *);
-extern int agp_rebind_memory(void);
extern void agp_enable(struct agp_bridge_data *, u32);
extern struct agp_bridge_data *agp_backend_acquire(struct pci_dev *);
extern void agp_backend_release(struct agp_bridge_data *);
_

2008-06-10 18:38:32

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.26-rc5-mm2 compile error in vmscan.c

On Tue, 10 Jun 2008 13:50:00 +0200 Helge Hafting <[email protected]> wrote:

> Andrew Morton wrote:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.26-rc5/2.6.26-rc5-mm2/
> >
> > - This is a bugfixed version of 2.6.26-rc5-mm1 - mainly to repair a
> > vmscan.c bug which would have prevented testing of the other vmscan.c
> > bugs^Wchanges.
> >
>
> Interesting to try out, but I got this:
>
> $ make
> CHK include/linux/version.h
> CHK include/linux/utsrelease.h
> CALL scripts/checksyscalls.sh
> CHK include/linux/compile.h
> CC mm/vmscan.o
> mm/vmscan.c: In function 'show_page_path':
> mm/vmscan.c:2419: error: 'struct mm_struct' has no member named 'owner'
> make[1]: *** [mm/vmscan.o] Error 1
> make: *** [mm] Error 2
>
>
> I then tried to configure with "Track page owner", but that did not
> change anything.
>

Thanks. I guess this will get you going.

--- a/mm/vmscan.c~mm-only-vmscan-noreclaim-lru-scan-sysctl-fix
+++ a/mm/vmscan.c
@@ -2400,6 +2400,7 @@ static void show_page_path(struct page *
dentry_path(dentry, buf, 256), pgoff);
spin_unlock(&mapping->i_mmap_lock);
} else {
+#ifdef CONFG_MM_OWNER
struct anon_vma *anon_vma;
struct vm_area_struct *vma;

@@ -2413,6 +2414,7 @@ static void show_page_path(struct page *
break;
}
page_unlock_anon_vma(anon_vma);
+#endif
}
}

_

2008-06-10 21:49:06

by Grant Coady

[permalink] [raw]
Subject: Re: 2.6.26-rc5-mm2 lockup up on Intel G33+ICH9R+Core2Duo, -mm1 okay

On Tue, 10 Jun 2008 11:18:32 -0700, Andrew Morton <[email protected]> wrote:

>On Tue, 10 Jun 2008 20:20:09 +1000 Grant Coady <[email protected]> wrote:
>
>> On Mon, 9 Jun 2008 22:31:45 -0700, Andrew Morton <[email protected]> wrote:
>>
>> >
>> >ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.26-rc5/2.6.26-rc5-mm2/
>> >
>> >- This is a bugfixed version of 2.6.26-rc5-mm1 - mainly to repair a
>> > vmscan.c bug which would have prevented testing of the other vmscan.c
>> > bugs^Wchanges.
>>
>> No it's not :)
>>
>> -mm1 worked fine here but -mm2 locks up just after saying:
>> agpgart: Detected 7164K stolen memory.
>>
>> Nothing in logs (session not recorded - hit reset to restart).
>>
>> config and dmseg for -mm1 at (same .config for mm2):
>>
>> http://bugsplatter.mine.nu/test/boxen/pooh/config-2.6.26-rc5-mm1a.gz
>> http://bugsplatter.mine.nu/test/boxen/pooh/dmesg-2.6.26-rc5-mm1a.gz
>>
>> Grant.
>
>hm, intel-agp gtt stuff.
>
>Can you please see whether reverting Keith's stuff fixes it?

Yes, it does :)

config + dmesg at: http://bugsplatter.mine.nu/test/boxen/pooh/ (*-mm2b.gz)

Grant.
>
> drivers/char/agp/agp.h | 3 ---
> drivers/char/agp/backend.c | 2 --
> drivers/char/agp/generic.c | 28 ----------------------------
> drivers/char/agp/intel-agp.c | 5 -----
> include/linux/agp_backend.h | 5 -----
> 5 files changed, 43 deletions(-)
>
>diff -puN drivers/char/agp/agp.h~revert-intel-agp-rewrite-gtt-on-resume drivers/char/agp/agp.h
>--- a/drivers/char/agp/agp.h~revert-intel-agp-rewrite-gtt-on-resume
>+++ a/drivers/char/agp/agp.h
>@@ -148,9 +148,6 @@ struct agp_bridge_data {
> char minor_version;
> struct list_head list;
> u32 apbase_config;
>- /* list of agp_memory mapped to the aperture */
>- struct list_head mapped_list;
>- spinlock_t mapped_lock;
> };
>
> #define KB(x) ((x) * 1024)
>diff -puN drivers/char/agp/backend.c~revert-intel-agp-rewrite-gtt-on-resume drivers/char/agp/backend.c
>--- a/drivers/char/agp/backend.c~revert-intel-agp-rewrite-gtt-on-resume
>+++ a/drivers/char/agp/backend.c
>@@ -183,8 +183,6 @@ static int agp_backend_initialize(struct
> rc = -EINVAL;
> goto err_out;
> }
>- INIT_LIST_HEAD(&bridge->mapped_list);
>- spin_lock_init(&bridge->mapped_lock);
>
> return 0;
>
>diff -puN drivers/char/agp/generic.c~revert-intel-agp-rewrite-gtt-on-resume drivers/char/agp/generic.c
>--- a/drivers/char/agp/generic.c~revert-intel-agp-rewrite-gtt-on-resume
>+++ a/drivers/char/agp/generic.c
>@@ -426,10 +426,6 @@ int agp_bind_memory(struct agp_memory *c
>
> curr->is_bound = TRUE;
> curr->pg_start = pg_start;
>- spin_lock(&agp_bridge->mapped_lock);
>- list_add(&curr->mapped_list, &agp_bridge->mapped_list);
>- spin_unlock(&agp_bridge->mapped_lock);
>-
> return 0;
> }
> EXPORT_SYMBOL(agp_bind_memory);
>@@ -462,34 +458,10 @@ int agp_unbind_memory(struct agp_memory
>
> curr->is_bound = FALSE;
> curr->pg_start = 0;
>- spin_lock(&curr->bridge->mapped_lock);
>- list_del(&curr->mapped_list);
>- spin_unlock(&curr->bridge->mapped_lock);
> return 0;
> }
> EXPORT_SYMBOL(agp_unbind_memory);
>
>-/**
>- * agp_rebind_emmory - Rewrite the entire GATT, useful on resume
>- */
>-int agp_rebind_memory(void)
>-{
>- struct agp_memory *curr;
>- int ret_val = 0;
>-
>- spin_lock(&agp_bridge->mapped_lock);
>- list_for_each_entry(curr, &agp_bridge->mapped_list, mapped_list) {
>- ret_val = curr->bridge->driver->insert_memory(curr,
>- curr->pg_start,
>- curr->type);
>- if (ret_val != 0)
>- break;
>- }
>- spin_unlock(&agp_bridge->mapped_lock);
>- return ret_val;
>-}
>-EXPORT_SYMBOL(agp_rebind_memory);
>-
> /* End - Routines for handling swapping of agp_memory into the GATT */
>
>
>diff -puN drivers/char/agp/intel-agp.c~revert-intel-agp-rewrite-gtt-on-resume drivers/char/agp/intel-agp.c
>--- a/drivers/char/agp/intel-agp.c~revert-intel-agp-rewrite-gtt-on-resume
>+++ a/drivers/char/agp/intel-agp.c
>@@ -2176,7 +2176,6 @@ static void __devexit agp_intel_remove(s
> static int agp_intel_resume(struct pci_dev *pdev)
> {
> struct agp_bridge_data *bridge = pci_get_drvdata(pdev);
>- int ret_val;
>
> pci_restore_state(pdev);
>
>@@ -2204,10 +2203,6 @@ static int agp_intel_resume(struct pci_d
> else if (bridge->driver == &intel_i965_driver)
> intel_i915_configure();
>
>- ret_val = agp_rebind_memory();
>- if (ret_val != 0)
>- return ret_val;
>-
> return 0;
> }
> #endif
>diff -puN include/linux/agp_backend.h~revert-intel-agp-rewrite-gtt-on-resume include/linux/agp_backend.h
>--- a/include/linux/agp_backend.h~revert-intel-agp-rewrite-gtt-on-resume
>+++ a/include/linux/agp_backend.h
>@@ -30,8 +30,6 @@
> #ifndef _AGP_BACKEND_H
> #define _AGP_BACKEND_H 1
>
>-#include <linux/list.h>
>-
> #ifndef TRUE
> #define TRUE 1
> #endif
>@@ -88,8 +86,6 @@ struct agp_memory {
> u8 is_bound;
> u8 is_flushed;
> u8 vmalloc_flag;
>- /* list of agp_memory mapped to the aperture */
>- struct list_head mapped_list;
> };
>
> #define AGP_NORMAL_MEMORY 0
>@@ -108,7 +104,6 @@ extern struct agp_memory *agp_allocate_m
> extern int agp_copy_info(struct agp_bridge_data *, struct agp_kern_info *);
> extern int agp_bind_memory(struct agp_memory *, off_t);
> extern int agp_unbind_memory(struct agp_memory *);
>-extern int agp_rebind_memory(void);
> extern void agp_enable(struct agp_bridge_data *, u32);
> extern struct agp_bridge_data *agp_backend_acquire(struct pci_dev *);
> extern void agp_backend_release(struct agp_bridge_data *);
>_

2008-06-11 02:27:46

by Yasunori Goto

[permalink] [raw]
Subject: Re: 2.6.26-rc5-mm2 (compile error in mm/memory_hotplug.c)


> lockess pagecache
>
> +vmscan-move-isolate_lru_page-to-vmscanc.patch
> :

This patch is cause of compile error in mm/memory_hotplug.c.
Obviously, just here is old against changing interface of
isolate_lru_page(). :-(

Signed-off-by: Yasunori Goto <[email protected]>


---
mm/memory_hotplug.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

Index: current/mm/memory_hotplug.c
===================================================================
--- current.orig/mm/memory_hotplug.c
+++ current/mm/memory_hotplug.c
@@ -595,8 +595,9 @@ do_migrate_range(unsigned long start_pfn
* We can skip free pages. And we can only deal with pages on
* LRU.
*/
- ret = isolate_lru_page(page, &source);
+ ret = isolate_lru_page(page);
if (!ret) { /* Success */
+ list_add_tail(&page->lru, &source);
move_pages--;
} else {
/* Becasue we don't have big zone->lock. we should

--
Yasunori Goto

2008-06-11 06:04:48

by Alexey Dobriyan

[permalink] [raw]
Subject: 2.6.26-rc5-mm2: OOM with 1G free swap

On Mon, Jun 09, 2008 at 10:31:45PM -0700, Andrew Morton wrote:
> - This is a bugfixed version of 2.6.26-rc5-mm1 - mainly to repair a
> vmscan.c bug which would have prevented testing of the other vmscan.c
> bugs^Wchanges.

OOM condition happened with 1G free swap.

4G RAM, 1G swap partition, normally LTP survives during much, much higher
load.

vm.overcommit_memory = 0
vm.overcommit_ratio = 50

[ 0.442034] TCP bind hash table entries: 65536 (order: 9, 3670016 bytes)
[ 0.447278] TCP: Hash tables configured (established 262144 bind 65536)
[ 0.447411] TCP reno registered
[ 0.459744] NET: Registered protocol family 1
[ 0.477840] msgmni has been set to 7862
[ 0.477840] io scheduler noop registered
[ 0.477840] io scheduler cfq registered (default)
[ 0.478136] pci 0000:01:00.0: Boot video device
[ 0.487568] Real Time Clock Driver v1.12ac
[ 0.487568] Linux agpgart interface v0.103
[ 0.487701] ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 19 (level, low) -> IRQ 19
[ 0.487869] Int: type 0, pol 3, trig 3, bus 03, IRQ 00, APIC ID 2, APIC INT 13
[ 0.488008] PCI: Setting latency timer of device 0000:03:00.0 to 64
[ 0.488132] atl1 0000:03:00.0: version 2.1.3
[ 0.507047] Switched to high resolution mode on CPU 1
[ 0.508123] Switched to high resolution mode on CPU 0
[ 0.524910] 8139too Fast Ethernet driver 0.9.28
[ 0.524910] ACPI: PCI Interrupt 0000:05:02.0[A] -> GSI 23 (level, low) -> IRQ 23
[ 0.524910] Int: type 0, pol 3, trig 3, bus 05, IRQ 08, APIC ID 2, APIC INT 17
[ 0.525909] eth1: RealTek RTL8139 at 0xb800, 00:80:48:2e:06:2e, IRQ 23
[ 0.525909] eth1: Identified 8139 chip type 'RTL-8100B/8139D'
[ 0.526049] netconsole: local port 6665
[ 0.526049] netconsole: local IP 192.168.0.1
[ 0.526052] netconsole: interface eth0
[ 0.526136] netconsole: remote port 9353
[ 0.526220] netconsole: remote IP 192.168.0.42
[ 0.526307] netconsole: remote ethernet address 00:1b:38:af:22:49
[ 0.526410] netconsole: device eth0 not up yet, forcing it
[ 2.599764] atl1 0000:03:00.0: eth0 link is up 1000 Mbps full duplex
[ 2.611844] console [netcon0] enabled
[ 2.639955] netconsole: network logging started
[ 2.640951] Driver 'sd' needs updating - please use bus_type methods
[ 2.640951] ahci 0000:02:00.0: version 3.0
[ 2.641083] ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 16
[ 2.641087] Int: type 0, pol 3, trig 3, bus 02, IRQ 00, APIC ID 2, APIC INT 10
[ 3.641717] ahci 0000:02:00.0: AHCI 0001.0000 32 slots 2 ports 3 Gbps 0x3 impl SATA mode
[ 3.641863] ahci 0000:02:00.0: flags: 64bit ncq pm led clo pmp pio slum part
[ 3.641977] PCI: Setting latency timer of device 0000:02:00.0 to 64
[ 3.642969] scsi0 : ahci
[ 3.643761] scsi1 : ahci
[ 3.643909] ata1: SATA max UDMA/133 abar m8192@0xfe8fe000 port 0xfe8fe100 irq 16
[ 3.644305] ata2: SATA max UDMA/133 abar m8192@0xfe8fe000 port 0xfe8fe180 irq 16
[ 3.948878] ata1: SATA link down (SStatus 0 SControl 300)
[ 4.253877] ata2: SATA link down (SStatus 0 SControl 300)
[ 4.255424] ata_piix 0000:00:1f.2: version 2.12
[ 4.255439] ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 19
[ 4.255439] Int: type 0, pol 3, trig 3, bus 00, IRQ 7d, APIC ID 2, APIC INT 13
[ 4.255439] ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ]
[ 4.255439] PCI: Setting latency timer of device 0000:00:1f.2 to 64
[ 4.256020] scsi2 : ata_piix
[ 4.256442] scsi3 : ata_piix
[ 4.271440] ata3: SATA max UDMA/133 cmd 0xec00 ctl 0xe880 bmdma 0xe400 irq 19
[ 4.271440] ata4: SATA max UDMA/133 cmd 0xe800 ctl 0xe480 bmdma 0xe408 irq 19
[ 4.727413] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 4.733939] ata3.00: ATA-8: ST3750330AS, SD15, max UDMA/133
[ 4.734040] ata3.00: 1465149168 sectors, multi 16: LBA48 NCQ (depth 0/32)
[ 4.762309] ata3.01: ATA-7: ST3160811AS, 3.AAE, max UDMA/133
[ 4.762309] ata3.01: 312581808 sectors, multi 16: LBA48 NCQ (depth 0/32)
[ 4.768953] ata3.00: configured for UDMA/133
[ 4.820319] ata3.01: configured for UDMA/133
[ 5.277391] ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 5.314308] ata4.00: ATA-7: ST3250620AS, 3.AAE, max UDMA/133
[ 5.314308] ata4.00: 488397168 sectors, multi 16: LBA48 NCQ (depth 0/32)
[ 5.389318] ata4.00: configured for UDMA/133
[ 5.401449] scsi 2:0:0:0: Direct-Access ATA ST3750330AS SD15 PQ: 0 ANSI: 5
[ 5.402833] sd 2:0:0:0: [sda] 1465149168 512-byte hardware sectors (750156 MB)
[ 5.402833] sd 2:0:0:0: [sda] Write Protect is off
[ 5.402833] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 5.402833] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 5.403459] sd 2:0:0:0: [sda] 1465149168 512-byte hardware sectors (750156 MB)
[ 5.403633] sd 2:0:0:0: [sda] Write Protect is off
[ 5.403726] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 5.403854] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 5.404020] sda: sda1 sda2
[ 5.419348] sd 2:0:0:0: [sda] Attached SCSI disk
[ 5.420304] scsi 2:0:1:0: Direct-Access ATA ST3160811AS 3.AA PQ: 0 ANSI: 5
[ 5.420304] sd 2:0:1:0: [sdb] 312581808 512-byte hardware sectors (160042 MB)
[ 5.420360] sd 2:0:1:0: [sdb] Write Protect is off
[ 5.420453] sd 2:0:1:0: [sdb] Mode Sense: 00 3a 00 00
[ 5.421728] sd 2:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 5.421728] sd 2:0:1:0: [sdb] 312581808 512-byte hardware sectors (160042 MB)
[ 5.421728] sd 2:0:1:0: [sdb] Write Protect is off
[ 5.421728] sd 2:0:1:0: [sdb] Mode Sense: 00 3a 00 00
[ 5.421764] sd 2:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 5.421916] sdb: sdb1
[ 5.438802] sdb1: <solaris: [s0] sdb5 [s2] sdb6 [s7] sdb7 [s8] sdb8 [s9] sdb9 >
[ 5.449741] sd 2:0:1:0: [sdb] Attached SCSI disk
[ 5.449741] scsi 3:0:0:0: Direct-Access ATA ST3250620AS 3.AA PQ: 0 ANSI: 5
[ 5.449790] sd 3:0:0:0: [sdc] 488397168 512-byte hardware sectors (250059 MB)
[ 5.449938] sd 3:0:0:0: [sdc] Write Protect is off
[ 5.450031] sd 3:0:0:0: [sdc] Mode Sense: 00 3a 00 00
[ 5.451043] sd 3:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 5.451316] sd 3:0:0:0: [sdc] 488397168 512-byte hardware sectors (250059 MB)
[ 5.451462] sd 3:0:0:0: [sdc] Write Protect is off
[ 5.451555] sd 3:0:0:0: [sdc] Mode Sense: 00 3a 00 00
[ 5.451733] sd 3:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 5.452040] sdc: sdc1
[ 5.473742] sd 3:0:0:0: [sdc] Attached SCSI disk
[ 5.473742] ACPI: PCI Interrupt 0000:00:1f.5[B] -> GSI 19 (level, low) -> IRQ 19
[ 5.473742] Int: type 0, pol 3, trig 3, bus 00, IRQ 7d, APIC ID 2, APIC INT 13
[ 5.473742] ata_piix 0000:00:1f.5: MAP [ P0 -- P1 -- ]
[ 5.474115] PCI: Setting latency timer of device 0000:00:1f.5 to 64
[ 5.474731] scsi4 : ata_piix
[ 5.474731] scsi5 : ata_piix
[ 5.483731] ata5: SATA max UDMA/133 cmd 0xd400 ctl 0xd080 bmdma 0xc880 irq 19
[ 5.483731] ata6: SATA max UDMA/133 cmd 0xd000 ctl 0xcc00 bmdma 0xc888 irq 19
[ 5.798531] ata5: SATA link down (SStatus 0 SControl 300)
[ 6.113887] ata6: SATA link down (SStatus 0 SControl 300)
[ 6.114972] ACPI: PCI Interrupt 0000:02:00.1[B] -> GSI 17 (level, low) -> IRQ 17
[ 6.115147] Int: type 0, pol 3, trig 3, bus 02, IRQ 01, APIC ID 2, APIC INT 11
[ 6.115147] PCI: Setting latency timer of device 0000:02:00.1 to 64
[ 6.115147] scsi6 : pata_jmicron
[ 6.115147] scsi7 : pata_jmicron
[ 6.119168] ata7: PATA max UDMA/100 cmd 0xac00 ctl 0xa880 bmdma 0xa400 irq 17
[ 6.119168] ata8: PATA max UDMA/100 cmd 0xa800 ctl 0xa480 bmdma 0xa408 irq 17
[ 6.425169] ata7.01: ATAPI: _NEC DV-5800C, D9S2, max UDMA/33
[ 6.425706] ata7.01: configured for UDMA/33
[ 6.738619] scsi 6:0:1:0: CD-ROM _NEC DV-5800C D9S2 PQ: 0 ANSI: 5
[ 6.740239] PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
[ 6.740239] PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
[ 6.741256] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 6.742190] mice: PS/2 mouse device common for all mice
[ 6.742194] Advanced Linux Sound Architecture Driver Version 1.0.17rc1.
[ 6.743302] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 22
[ 6.744495] Int: type 0, pol 3, trig 3, bus 00, IRQ 6c, APIC ID 2, APIC INT 16
[ 6.744495] PCI: Setting latency timer of device 0000:00:1b.0 to 64
[ 6.764499] input: AT Translated Set 2 keyboard as /class/input/input0
[ 7.128547] ALSA device list:
[ 7.128633] #0: HDA Intel at 0xfebf8000 irq 22
[ 7.128757] TCP cubic registered
[ 7.172920] kjournald starting. Commit interval 5 seconds
[ 7.166937] EXT3-fs: mounted filesystem with ordered data mode.
[ 7.166937] VFS: Mounted root (ext3 filesystem) readonly.
[ 7.166937] debug: unmapping init memory ffffffff805ec000..ffffffff8062d000
[ 7.166937] Write protecting the kernel read-only data: 3456k
[ 7.173142] Testing CPA: undo ffffffff80209000-ffffffff80569000
[ 7.173351] Testing CPA: again
[ 9.087986] Driver 'sr' needs updating - please use bus_type methods
[ 9.089815] sr0: scsi3-mmc drive: 48x/48x cd/rw xa/form2 cdda tray
[ 9.089925] Uniform CD-ROM driver Revision: 3.20
[ 9.090656] sr 6:0:1:0: Attached scsi CD-ROM sr0
[ 9.234590] usbcore: registered new interface driver usbfs
[ 9.235088] usbcore: registered new interface driver hub
[ 9.270956] usbcore: registered new device driver usb
[ 9.335654] USB Universal Host Controller Interface driver v3.0
[ 9.336351] ACPI: PCI Interrupt 0000:00:1a.0[A] -> GSI 16 (level, low) -> IRQ 16
[ 9.336648] Int: type 0, pol 3, trig 3, bus 00, IRQ 68, APIC ID 2, APIC INT 10
[ 9.336807] PCI: Setting latency timer of device 0000:00:1a.0 to 64
[ 9.336914] uhci_hcd 0000:00:1a.0: UHCI Host Controller
[ 9.340181] uhci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 1
[ 9.340365] uhci_hcd 0000:00:1a.0: irq 16, io base 0x0000dc00
[ 9.340893] usb usb1: configuration #1 chosen from 1 choice
[ 9.341152] hub 1-0:1.0: USB hub found
[ 9.341325] hub 1-0:1.0: 2 ports detected
[ 9.442398] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[ 9.442510] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 9.442662] usb usb1: Product: UHCI Host Controller
[ 9.442769] usb usb1: Manufacturer: Linux 2.6.26-rc5-mm2 uhci_hcd
[ 9.442868] usb usb1: SerialNumber: 0000:00:1a.0
[ 9.443336] ACPI: PCI Interrupt 0000:00:1a.7[C] -> GSI 18 (level, low) -> IRQ 18
[ 9.443518] Int: type 0, pol 3, trig 3, bus 00, IRQ 6a, APIC ID 2, APIC INT 12
[ 9.443675] PCI: Setting latency timer of device 0000:00:1a.7 to 64
[ 9.443775] ehci_hcd 0000:00:1a.7: EHCI Host Controller
[ 9.443955] ehci_hcd 0000:00:1a.7: new USB bus registered, assigned bus number 2
[ 9.448149] ehci_hcd 0000:00:1a.7: debug port 1
[ 9.448263] PCI: cache line size of 32 is not supported by device 0000:00:1a.7
[ 9.448418] ehci_hcd 0000:00:1a.7: irq 18, io mem 0xfebffc00
[ 9.458045] ehci_hcd 0000:00:1a.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[ 9.458448] usb usb2: configuration #1 chosen from 1 choice
[ 9.458634] hub 2-0:1.0: USB hub found
[ 9.458820] hub 2-0:1.0: 4 ports detected
[ 9.559686] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 9.559800] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 9.559953] usb usb2: Product: EHCI Host Controller
[ 9.560047] usb usb2: Manufacturer: Linux 2.6.26-rc5-mm2 ehci_hcd
[ 9.560150] usb usb2: SerialNumber: 0000:00:1a.7
[ 9.560286] ACPI: PCI Interrupt 0000:00:1a.1[B] -> GSI 17 (level, low) -> IRQ 17
[ 9.560512] Int: type 0, pol 3, trig 3, bus 00, IRQ 69, APIC ID 2, APIC INT 11
[ 9.560663] PCI: Setting latency timer of device 0000:00:1a.1 to 64
[ 9.560774] uhci_hcd 0000:00:1a.1: UHCI Host Controller
[ 9.560942] uhci_hcd 0000:00:1a.1: new USB bus registered, assigned bus number 3
[ 9.561114] uhci_hcd 0000:00:1a.1: irq 17, io base 0x0000e000
[ 9.561559] usb usb3: configuration #1 chosen from 1 choice
[ 9.561754] hub 3-0:1.0: USB hub found
[ 9.561867] hub 3-0:1.0: 2 ports detected
[ 9.663268] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[ 9.663379] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 9.663527] usb usb3: Product: UHCI Host Controller
[ 9.663625] usb usb3: Manufacturer: Linux 2.6.26-rc5-mm2 uhci_hcd
[ 9.663723] usb usb3: SerialNumber: 0000:00:1a.1
[ 9.663776] ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 23
[ 9.663978] Int: type 0, pol 3, trig 3, bus 00, IRQ 74, APIC ID 2, APIC INT 17
[ 9.664268] PCI: Setting latency timer of device 0000:00:1d.7 to 64
[ 9.664370] ehci_hcd 0000:00:1d.7: EHCI Host Controller
[ 9.664537] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 4
[ 9.668593] ehci_hcd 0000:00:1d.7: debug port 1
[ 9.668692] PCI: cache line size of 32 is not supported by device 0000:00:1d.7
[ 9.668852] ehci_hcd 0000:00:1d.7: irq 23, io mem 0xfebff800
[ 9.678073] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[ 9.678517] usb usb4: configuration #1 chosen from 1 choice
[ 9.678702] hub 4-0:1.0: USB hub found
[ 9.678807] hub 4-0:1.0: 6 ports detected
[ 9.779677] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[ 9.779780] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 9.779920] usb usb4: Product: EHCI Host Controller
[ 9.779920] usb usb4: Manufacturer: Linux 2.6.26-rc5-mm2 ehci_hcd
[ 9.779920] usb usb4: SerialNumber: 0000:00:1d.7
[ 9.821941] ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 23
[ 9.821941] Int: type 0, pol 3, trig 3, bus 00, IRQ 74, APIC ID 2, APIC INT 17
[ 9.822041] PCI: Setting latency timer of device 0000:00:1d.0 to 64
[ 9.822142] uhci_hcd 0000:00:1d.0: UHCI Host Controller
[ 9.822304] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 5
[ 9.822471] uhci_hcd 0000:00:1d.0: irq 23, io base 0x0000d480
[ 9.823026] usb usb5: configuration #1 chosen from 1 choice
[ 9.823098] hub 5-0:1.0: USB hub found
[ 9.823204] hub 5-0:1.0: 2 ports detected
[ 9.924258] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
[ 9.924368] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 9.924504] usb usb5: Product: UHCI Host Controller
[ 9.924597] usb usb5: Manufacturer: Linux 2.6.26-rc5-mm2 uhci_hcd
[ 9.925136] usb usb5: SerialNumber: 0000:00:1d.0
[ 9.925136] ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 19
[ 9.925136] Int: type 0, pol 3, trig 3, bus 00, IRQ 75, APIC ID 2, APIC INT 13
[ 9.925288] PCI: Setting latency timer of device 0000:00:1d.1 to 64
[ 9.925389] uhci_hcd 0000:00:1d.1: UHCI Host Controller
[ 9.925549] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 6
[ 9.925716] uhci_hcd 0000:00:1d.1: irq 19, io base 0x0000d800
[ 9.926139] usb usb6: configuration #1 chosen from 1 choice
[ 9.926139] hub 6-0:1.0: USB hub found
[ 9.926249] hub 6-0:1.0: 2 ports detected
[ 10.028390] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001
[ 10.028390] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 10.028390] usb usb6: Product: UHCI Host Controller
[ 10.028390] usb usb6: Manufacturer: Linux 2.6.26-rc5-mm2 uhci_hcd
[ 10.028390] usb usb6: SerialNumber: 0000:00:1d.1
[ 10.028390] ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 18
[ 10.028571] Int: type 0, pol 3, trig 3, bus 00, IRQ 76, APIC ID 2, APIC INT 12
[ 10.028715] PCI: Setting latency timer of device 0000:00:1d.2 to 64
[ 10.028815] uhci_hcd 0000:00:1d.2: UHCI Host Controller
[ 10.028977] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 7
[ 10.029141] uhci_hcd 0000:00:1d.2: irq 18, io base 0x0000d880
[ 10.029406] usb usb7: configuration #1 chosen from 1 choice
[ 10.029589] hub 7-0:1.0: USB hub found
[ 10.029693] hub 7-0:1.0: 2 ports detected
[ 10.131207] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001
[ 10.131310] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 10.131370] usb usb7: Product: UHCI Host Controller
[ 10.131370] usb usb7: Manufacturer: Linux 2.6.26-rc5-mm2 uhci_hcd
[ 10.131370] usb usb7: SerialNumber: 0000:00:1d.2
[ 12.038580] EXT3 FS on sda2, internal journal
[ 12.332820] usbcore: registered new interface driver usblp
[ 12.443020] Adding 9775512k swap on /dev/sda1. Priority:-1 extents:1 across:9775512k
[ 20.894033] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 20.953082] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[ 22.864494] eth1: link up, 100Mbps, full-duplex, lpa 0x45E1
[ 30.791234] CPA self-test:
[ 30.793894] 4k 16384 large 2528 gb 0 x 0[0-0] miss 262144
[ 30.802800] 4k 184832 large 2199 gb 0 x 0[0-0] miss 262144
[ 30.809919] 4k 184832 large 2199 gb 0 x 0[0-0] miss 262144
[ 30.810133] ok.
[ 392.069650] warning: `capget01' uses 32-bit capabilities (legacy support in use)
[ 671.162065] Adding 65528k swap on ./swapfile01. Priority:-2 extents:22 across:74340k
[ 673.061968] Adding 65528k swap on ./swapfile01. Priority:-3 extents:26 across:83212k
[ 675.047306] Adding 65528k swap on ./swapfile01. Priority:-4 extents:28 across:113412k
[ 675.137018] Unable to find swap-space signature
[ 675.165587] Adding 32k swap on alreadyused. Priority:-5 extents:1 across:32k
[ 675.186455] Adding 32k swap on swapfile02. Priority:-6 extents:1 across:32k
[ 675.199282] Adding 32k swap on swapfile03. Priority:-7 extents:1 across:32k
[ 675.213209] Adding 32k swap on swapfile04. Priority:-8 extents:1 across:32k
[ 675.227104] Adding 32k swap on swapfile05. Priority:-9 extents:1 across:32k
[ 675.240072] Adding 32k swap on swapfile06. Priority:-10 extents:1 across:32k
[ 675.253960] Adding 32k swap on swapfile07. Priority:-11 extents:2 across:32k
[ 675.265936] Adding 32k swap on swapfile08. Priority:-12 extents:1 across:32k
[ 675.278533] Adding 32k swap on swapfile09. Priority:-13 extents:1 across:32k
[ 675.292014] Adding 32k swap on swapfile10. Priority:-14 extents:1 across:32k
[ 675.305921] Adding 32k swap on swapfile11. Priority:-15 extents:1 across:32k
[ 675.319235] Adding 32k swap on swapfile12. Priority:-16 extents:1 across:32k
[ 675.334037] Adding 32k swap on swapfile13. Priority:-17 extents:1 across:32k
[ 675.348552] Adding 32k swap on swapfile14. Priority:-18 extents:1 across:32k
[ 675.362114] Adding 32k swap on swapfile15. Priority:-19 extents:1 across:32k
[ 675.376051] Adding 32k swap on swapfile16. Priority:-20 extents:1 across:32k
[ 675.389001] Adding 32k swap on swapfile17. Priority:-21 extents:1 across:32k
[ 675.402549] Adding 32k swap on swapfile18. Priority:-22 extents:1 across:32k
[ 675.416451] Adding 32k swap on swapfile19. Priority:-23 extents:1 across:32k
[ 675.429779] Adding 32k swap on swapfile20. Priority:-24 extents:1 across:32k
[ 675.443145] Adding 32k swap on swapfile21. Priority:-25 extents:1 across:32k
[ 675.456604] Adding 32k swap on swapfile22. Priority:-26 extents:1 across:32k
[ 675.471061] Adding 32k swap on swapfile23. Priority:-27 extents:1 across:32k
[ 675.483801] Adding 32k swap on swapfile24. Priority:-28 extents:1 across:32k
[ 675.498078] Adding 32k swap on swapfile25. Priority:-29 extents:1 across:32k
[ 675.510248] Adding 32k swap on swapfile26. Priority:-30 extents:1 across:32k
[ 675.523151] Adding 32k swap on swapfile27. Priority:-31 extents:1 across:32k
[ 675.537062] Adding 32k swap on swapfile28. Priority:-32 extents:1 across:32k
[ 675.550037] Adding 32k swap on swapfile29. Priority:-33 extents:1 across:32k
[ 675.563951] Adding 32k swap on swapfile30. Priority:-34 extents:1 across:32k
[ 675.602548] Adding 32k swap on firstswapfile. Priority:-35 extents:1 across:32k
[ 675.602716] Adding 32k swap on secondswapfile. Priority:-36 extents:1 across:32k
[ 675.937348] warning: process `sysctl01' used the deprecated sysctl system call with 1.1.
[ 675.937593] warning: process `sysctl01' used the deprecated sysctl system call with 1.2.
[ 675.941949] warning: process `sysctl03' used the deprecated sysctl system call with 1.1.
[ 675.943554] warning: process `sysctl03' used the deprecated sysctl system call with 1.1.
[ 675.948054] warning: process `sysctl04' used the deprecated sysctl system call with
[ 1234.754237] eth1: link down
[ 3308.107702] Adding 65528k swap on ./swapfile01. Priority:-37 extents:30 across:83136k
[ 3309.952087] Adding 65528k swap on ./swapfile01. Priority:-38 extents:30 across:120800k
[ 3311.775546] Adding 65528k swap on ./swapfile01. Priority:-39 extents:24 across:141676k
[ 3311.841524] Unable to find swap-space signature
[ 3311.869869] Adding 32k swap on alreadyused. Priority:-40 extents:1 across:32k
[ 3311.890259] Adding 32k swap on swapfile02. Priority:-41 extents:1 across:32k
[ 3311.907461] Adding 32k swap on swapfile03. Priority:-42 extents:1 across:32k
[ 3311.921087] Adding 32k swap on swapfile04. Priority:-43 extents:1 across:32k
[ 3311.933232] Adding 32k swap on swapfile05. Priority:-44 extents:1 across:32k
[ 3311.947855] Adding 32k swap on swapfile06. Priority:-45 extents:3 across:60k
[ 3311.962967] Adding 32k swap on swapfile07. Priority:-46 extents:1 across:32k
[ 3311.975935] Adding 32k swap on swapfile08. Priority:-47 extents:1 across:32k
[ 3311.989916] Adding 32k swap on swapfile09. Priority:-48 extents:1 across:32k
[ 3312.003532] Adding 32k swap on swapfile10. Priority:-49 extents:1 across:32k
[ 3312.017640] Adding 32k swap on swapfile11. Priority:-50 extents:1 across:32k
[ 3312.030819] Adding 32k swap on swapfile12. Priority:-51 extents:1 across:32k
[ 3312.043809] Adding 32k swap on swapfile13. Priority:-52 extents:1 across:32k
[ 3312.057654] Adding 32k swap on swapfile14. Priority:-53 extents:1 across:32k
[ 3312.072483] Adding 32k swap on swapfile15. Priority:-54 extents:1 across:32k
[ 3312.084766] Adding 32k swap on swapfile16. Priority:-55 extents:1 across:32k
[ 3312.098372] Adding 32k swap on swapfile17. Priority:-56 extents:1 across:32k
[ 3312.111681] Adding 32k swap on swapfile18. Priority:-57 extents:1 across:32k
[ 3312.125582] Adding 32k swap on swapfile19. Priority:-58 extents:1 across:32k
[ 3312.138583] Adding 32k swap on swapfile20. Priority:-59 extents:1 across:32k
[ 3312.152541] Adding 32k swap on swapfile21. Priority:-60 extents:1 across:32k
[ 3312.165441] Adding 32k swap on swapfile22. Priority:-61 extents:1 across:32k
[ 3312.178315] Adding 32k swap on swapfile23. Priority:-62 extents:1 across:32k
[ 3312.192572] Adding 32k swap on swapfile24. Priority:-63 extents:1 across:32k
[ 3312.205582] Adding 32k swap on swapfile25. Priority:-64 extents:1 across:32k
[ 3312.218830] Adding 32k swap on swapfile26. Priority:-65 extents:1 across:32k
[ 3312.231925] Adding 32k swap on swapfile27. Priority:-66 extents:1 across:32k
[ 3312.244696] Adding 32k swap on swapfile28. Priority:-67 extents:1 across:32k
[ 3312.258158] Adding 32k swap on swapfile29. Priority:-68 extents:1 across:32k
[ 3312.273575] Adding 32k swap on swapfile30. Priority:-69 extents:1 across:32k
[ 3312.311974] Adding 32k swap on firstswapfile. Priority:-70 extents:1 across:32k
[ 3312.312159] Adding 32k swap on secondswapfile. Priority:-71 extents:1 across:32k
[ 5941.121015] Adding 65528k swap on ./swapfile01. Priority:-72 extents:27 across:91572k
[ 5943.036742] Adding 65528k swap on ./swapfile01. Priority:-73 extents:22 across:116792k
[ 5944.890222] Adding 65528k swap on ./swapfile01. Priority:-74 extents:29 across:82880k
[ 5944.958795] Unable to find swap-space signature
[ 5944.987839] Adding 32k swap on alreadyused. Priority:-75 extents:2 across:80k
[ 5945.007865] Adding 32k swap on swapfile02. Priority:-76 extents:1 across:32k
[ 5945.021265] Adding 32k swap on swapfile03. Priority:-77 extents:1 across:32k
[ 5945.035659] Adding 32k swap on swapfile04. Priority:-78 extents:1 across:32k
[ 5945.047803] Adding 32k swap on swapfile05. Priority:-79 extents:1 across:32k
[ 5945.061365] Adding 32k swap on swapfile06. Priority:-80 extents:1 across:32k
[ 5945.074579] Adding 32k swap on swapfile07. Priority:-81 extents:1 across:32k
[ 5945.087749] Adding 32k swap on swapfile08. Priority:-82 extents:1 across:32k
[ 5945.100881] Adding 32k swap on swapfile09. Priority:-83 extents:1 across:32k
[ 5945.113835] Adding 32k swap on swapfile10. Priority:-84 extents:1 across:32k
[ 5945.127685] Adding 32k swap on swapfile11. Priority:-85 extents:1 across:32k
[ 5945.143102] Adding 32k swap on swapfile12. Priority:-86 extents:1 across:32k
[ 5945.156064] Adding 32k swap on swapfile13. Priority:-87 extents:1 across:32k
[ 5945.170481] Adding 32k swap on swapfile14. Priority:-88 extents:1 across:32k
[ 5945.183410] Adding 32k swap on swapfile15. Priority:-89 extents:1 across:32k
[ 5945.196625] Adding 32k swap on swapfile16. Priority:-90 extents:1 across:32k
[ 5945.210600] Adding 32k swap on swapfile17. Priority:-91 extents:1 across:32k
[ 5945.223734] Adding 32k swap on swapfile18. Priority:-92 extents:1 across:32k
[ 5945.236676] Adding 32k swap on swapfile19. Priority:-93 extents:1 across:32k
[ 5945.249780] Adding 32k swap on swapfile20. Priority:-94 extents:1 across:32k
[ 5945.262881] Adding 32k swap on swapfile21. Priority:-95 extents:1 across:32k
[ 5945.275698] Adding 32k swap on swapfile22. Priority:-96 extents:1 across:32k
[ 5945.288959] Adding 32k swap on swapfile23. Priority:-97 extents:1 across:32k
[ 5945.302151] Adding 32k swap on swapfile24. Priority:-98 extents:1 across:32k
[ 5945.315415] Adding 32k swap on swapfile25. Priority:-99 extents:1 across:32k
[ 5945.328968] Adding 32k swap on swapfile26. Priority:-100 extents:1 across:32k
[ 5945.342986] Adding 32k swap on swapfile27. Priority:-101 extents:1 across:32k
[ 5945.355948] Adding 32k swap on swapfile28. Priority:-102 extents:1 across:32k
[ 5945.369935] Adding 32k swap on swapfile29. Priority:-103 extents:1 across:32k
[ 5945.384916] Adding 32k swap on swapfile30. Priority:-104 extents:1 across:32k
[ 5945.422373] Adding 32k swap on firstswapfile. Priority:-105 extents:1 across:32k
[ 5945.422541] Adding 32k swap on secondswapfile. Priority:-106 extents:1 across:32k
[ 6773.608125] init invoked oom-killer: gfp_mask=0x1201d2, order=0, oomkilladj=0
[ 6773.608215] Pid: 1, comm: init Not tainted 2.6.26-rc5-mm2 #2
[ 6773.608888]
[ 6773.608888] Call Trace:
[ 6773.610887] [<ffffffff80269e4b>] oom_kill_process+0x11b/0x220
[ 6773.610887] [<ffffffff8026a0e6>] ? badness+0x156/0x210
[ 6773.610887] [<ffffffff8026a352>] out_of_memory+0x1b2/0x200
[ 6773.610887] [<ffffffff8026d0f2>] __alloc_pages_internal+0x322/0x470
[ 6773.610887] [<ffffffff8026f71c>] __do_page_cache_readahead+0xfc/0x210
[ 6773.610887] [<ffffffff8026fc8f>] do_page_cache_readahead+0x5f/0x80
[ 6773.610887] [<ffffffff80269310>] filemap_fault+0x250/0x4c0
[ 6773.610887] [<ffffffff80276bf0>] __do_fault+0x50/0x490
[ 6773.610887] [<ffffffff80256005>] ? __lock_acquire+0x9e5/0x10b0
[ 6773.610887] [<ffffffff80278972>] handle_mm_fault+0x242/0x780
[ 6773.610887] [<ffffffff8022146f>] ? do_page_fault+0x2df/0x8d0
[ 6773.610887] [<ffffffff8022141d>] do_page_fault+0x28d/0x8d0
[ 6773.610887] [<ffffffff8046842d>] error_exit+0x0/0xa9
[ 6773.610887]
[ 6773.610887] Mem-info:
[ 6773.610887] DMA per-cpu:
[ 6773.610887] CPU 0: hi: 0, btch: 1 usd: 0
[ 6773.610887] CPU 1: hi: 0, btch: 1 usd: 0
[ 6773.610887] DMA32 per-cpu:
[ 6773.610887] CPU 0: hi: 186, btch: 31 usd: 45
[ 6773.610952] CPU 1: hi: 186, btch: 31 usd: 0
[ 6773.611462] Normal per-cpu:
[ 6773.611513] CPU 0: hi: 186, btch: 31 usd: 161
[ 6773.611573] CPU 1: hi: 186, btch: 31 usd: 107
[ 6773.611634] Active_anon:0 active_file:473789 inactive_anon0
[ 6773.611635] inactive_file:473447 dirty:41471 writeback:0 unstable:0
[ 6773.611636] free:5688 slab:45896 mapped:1 pagetables:415 bounce:0
[ 6773.611829] DMA free:6724kB min:12kB low:12kB high:16kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB present:6124kB pages_scanned:0 all_unreclaimable? no
[ 6773.612003] lowmem_reserve[]: 0 1975 3995 3995
[ 6773.612086] DMA32 free:11964kB min:3996kB low:4992kB high:5992kB active_anon:0kB inactive_anon:0kB active_file:911668kB inactive_file:911232kB present:2023200kB pages_scanned:5792629 all_unreclaimable? no
[ 6773.612459] lowmem_reserve[]: 0 0 2020 2020
[ 6773.613544] Normal free:3980kB min:4084kB low:5104kB high:6124kB active_anon:0kB inactive_anon:0kB active_file:983488kB inactive_file:982556kB present:2068480kB pages_scanned:5756927 all_unreclaimable? no
[ 6773.613544] lowmem_reserve[]: 0 0 0 0
[ 6773.613544] DMA: 3*4kB 7*8kB 4*16kB 4*32kB 5*64kB 4*128kB 4*256kB 1*512kB 0*1024kB 0*2048kB 1*4096kB = 6724kB
[ 6773.613544] DMA32: 1513*4kB 5*8kB 5*16kB 1*32kB 26*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 1*4096kB = 11964kB
[ 6773.613544] Normal: 1*4kB 4*8kB 2*16kB 3*32kB 1*64kB 1*128kB 0*256kB 1*512kB 1*1024kB 1*2048kB 0*4096kB = 3940kB
[ 6773.613544] 675611 total pagecache pages
[ 6773.613544] Swap cache: add 3407179, delete 3407179, find 2573/2828
[ 6773.613544] Free swap = 9765272kB
[ 6773.613603] Total swap = 9775512kB
[ 6773.631577] 1572864 pages of RAM
[ 6773.631639] 566471 reserved pages
[ 6773.631693] 652567 pages shared
[ 6773.631745] 0 pages swap cached
[ 6773.631799] Out of memory: kill process 4788 (sshd) score 11194 or a child
[ 6773.631876] Killed process 4789 (bash)
[ 6776.348287] runltp invoked oom-killer: gfp_mask=0x1200d2, order=0, oomkilladj=0
[ 6776.348414] Pid: 6846, comm: runltp Not tainted 2.6.26-rc5-mm2 #2
[ 6776.349219]
[ 6776.349219] Call Trace:
[ 6776.349219] [<ffffffff80269e4b>] oom_kill_process+0x11b/0x220
[ 6776.349219] [<ffffffff8026a0e6>] ? badness+0x156/0x210
[ 6776.349219] [<ffffffff8026a352>] out_of_memory+0x1b2/0x200
[ 6776.349219] [<ffffffff8026d0f2>] __alloc_pages_internal+0x322/0x470
[ 6776.349219] [<ffffffff802830cc>] read_swap_cache_async+0x9c/0xf0
[ 6776.349219] [<ffffffff8028319a>] swapin_readahead+0x7a/0xb0
[ 6776.349219] [<ffffffff80467ef0>] ? _spin_unlock+0x30/0x60
[ 6776.349219] [<ffffffff80278b9f>] handle_mm_fault+0x46f/0x780
[ 6776.349219] [<ffffffff802213a0>] ? do_page_fault+0x210/0x8d0
[ 6776.349243] [<ffffffff8022141d>] do_page_fault+0x28d/0x8d0
[ 6776.349308] [<ffffffff8046842d>] error_exit+0x0/0xa9
[ 6776.349372] [<ffffffff8020ace0>] ? do_notify_resume+0x400/0x940
[ 6776.349439] [<ffffffff8020ac53>] ? do_notify_resume+0x373/0x940
[ 6776.350233] [<ffffffff8025517d>] ? trace_hardirqs_on+0xd/0x10
[ 6776.350233] [<ffffffff80468022>] ? _spin_unlock_irqrestore+0x42/0x80
[ 6776.350233] [<ffffffff80247dc6>] ? remove_wait_queue+0x36/0x50
[ 6776.350233] [<ffffffff804675f7>] ? trace_hardirqs_on_thunk+0x3a/0x3f
[ 6776.350233] [<ffffffff8020b75d>] ? sysret_signal+0x21/0x31
[ 6776.350233] [<ffffffff8020ba57>] ? ptregscall_common+0x67/0xb0
[ 6776.350233]
[ 6776.350233] Mem-info:
[ 6776.350233] DMA per-cpu:
[ 6776.350233] CPU 0: hi: 0, btch: 1 usd: 0
[ 6776.350233] CPU 1: hi: 0, btch: 1 usd: 0
[ 6776.350233] DMA32 per-cpu:
[ 6776.350272] CPU 0: hi: 186, btch: 31 usd: 45
[ 6776.350332] CPU 1: hi: 186, btch: 31 usd: 0
[ 6776.350392] Normal per-cpu:
[ 6776.350442] CPU 0: hi: 186, btch: 31 usd: 169
[ 6776.351264] CPU 1: hi: 186, btch: 31 usd: 136
[ 6776.351264] Active_anon:0 active_file:473303 inactive_anon0
[ 6776.351265] inactive_file:473775 dirty:41471 writeback:0 unstable:0
[ 6776.351265] free:5692 slab:45891 mapped:1 pagetables:391 bounce:0
[ 6776.351265] DMA free:6724kB min:12kB low:12kB high:16kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB present:6124kB pages_scanned:0 all_unreclaimable? no
[ 6776.351265] lowmem_reserve[]: 0 1975 3995 3995
[ 6776.351265] DMA32 free:11964kB min:3996kB low:4992kB high:5992kB active_anon:0kB inactive_anon:0kB active_file:911376kB inactive_file:910924kB present:2023200kB pages_scanned:11657571 all_unreclaimable? no
[ 6776.351274] lowmem_reserve[]: 0 0 2020 2020
[ 6776.351390] Normal free:4080kB min:4084kB low:5104kB high:6124kB active_anon:0kB inactive_anon:0kB active_file:981836kB inactive_file:984176kB present:2068480kB pages_scanned:7345571 all_unreclaimable? no
[ 6776.352237] lowmem_reserve[]: 0 0 0 0
[ 6776.352237] DMA: 3*4kB 7*8kB 4*16kB 4*32kB 5*64kB 4*128kB 4*256kB 1*512kB 0*1024kB 0*2048kB 1*4096kB = 6724kB
[ 6776.352237] DMA32: 1513*4kB 5*8kB 5*16kB 1*32kB 26*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 1*4096kB = 11964kB
[ 6776.352237] Normal: 32*4kB 7*8kB 2*16kB 3*32kB 1*64kB 1*128kB 0*256kB 1*512kB 1*1024kB 1*2048kB 0*4096kB = 4088kB
[ 6776.352312] 675597 total pagecache pages
[ 6776.352423] Swap cache: add 3407179, delete 3407179, find 2573/2831
[ 6776.353218] Free swap = 9765988kB
[ 6776.353218] Total swap = 9775512kB
[ 6776.372465] 1572864 pages of RAM
[ 6776.373219] 566471 reserved pages
[ 6776.373219] 652711 pages shared
[ 6776.373219] 0 pages swap cached
[ 6776.373219] Out of memory: kill process 4801 (sshd) score 11194 or a child
[ 6776.373219] Killed process 4802 (bash)
[ 6776.454812] init invoked oom-killer: gfp_mask=0x1201d2, order=0, oomkilladj=0
[ 6776.454902] Pid: 1, comm: init Not tainted 2.6.26-rc5-mm2 #2
[ 6776.454966]
[ 6776.454966] Call Trace:
[ 6776.455072] [<ffffffff80269e4b>] oom_kill_process+0x11b/0x220
[ 6776.455081] [<ffffffff8026a0e6>] ? badness+0x156/0x210
[ 6776.455081] [<ffffffff8026a352>] out_of_memory+0x1b2/0x200
[ 6776.455081] [<ffffffff8026d0f2>] __alloc_pages_internal+0x322/0x470
[ 6776.455081] [<ffffffff8026f71c>] __do_page_cache_readahead+0xfc/0x210
[ 6776.455081] [<ffffffff8026fc8f>] do_page_cache_readahead+0x5f/0x80
[ 6776.455081] [<ffffffff80269310>] filemap_fault+0x250/0x4c0
[ 6776.455081] [<ffffffff80276bf0>] __do_fault+0x50/0x490
[ 6776.455081] [<ffffffff80256005>] ? __lock_acquire+0x9e5/0x10b0
[ 6776.455081] [<ffffffff80278972>] handle_mm_fault+0x242/0x780
[ 6776.455081] [<ffffffff8022146f>] ? do_page_fault+0x2df/0x8d0
[ 6776.455154] [<ffffffff8022141d>] do_page_fault+0x28d/0x8d0
[ 6776.455221] [<ffffffff8046842d>] error_exit+0x0/0xa9
[ 6776.455283]
[ 6776.455328] Mem-info:
[ 6776.455377] DMA per-cpu:
[ 6776.455427] CPU 0: hi: 0, btch: 1 usd: 0
[ 6776.455487] CPU 1: hi: 0, btch: 1 usd: 0
[ 6776.455547] DMA32 per-cpu:
[ 6776.455597] CPU 0: hi: 186, btch: 31 usd: 45
[ 6776.455657] CPU 1: hi: 186, btch: 31 usd: 0
[ 6776.455717] Normal per-cpu:
[ 6776.455767] CPU 0: hi: 186, btch: 31 usd: 113
[ 6776.455827] CPU 1: hi: 186, btch: 31 usd: 135
[ 6776.455888] Active_anon:0 active_file:473015 inactive_anon8
[ 6776.455889] inactive_file:474167 dirty:41471 writeback:0 unstable:0
[ 6776.455890] free:5702 slab:45890 mapped:1 pagetables:377 bounce:0
[ 6776.456148] DMA free:6724kB min:12kB low:12kB high:16kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB present:6124kB pages_scanned:0 all_unreclaimable? no
[ 6776.456323] lowmem_reserve[]: 0 1975 3995 3995
[ 6776.456407] DMA32 free:11964kB min:3996kB low:4992kB high:5992kB active_anon:0kB inactive_anon:0kB active_file:910200kB inactive_file:912244kB present:2023200kB pages_scanned:12128635 all_unreclaimable? no
[ 6776.456593] lowmem_reserve[]: 0 0 2020 2020
[ 6776.456675] Normal free:4120kB min:4084kB low:5104kB high:6124kB active_anon:0kB inactive_anon:32kB active_file:981860kB inactive_file:984424kB present:2068480kB pages_scanned:0 all_unreclaimable? no
[ 6776.456858] lowmem_reserve[]: 0 0 0 0
[ 6776.456956] DMA: 3*4kB 7*8kB 4*16kB 4*32kB 5*64kB 4*128kB 4*256kB 1*512kB 0*1024kB 0*2048kB 1*4096kB = 6724kB
[ 6776.457081] DMA32: 1513*4kB 5*8kB 5*16kB 1*32kB 26*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 1*4096kB = 11964kB
[ 6776.457270] Normal: 32*4kB 6*8kB 2*16kB 3*32kB 1*64kB 1*128kB 0*256kB 1*512kB 1*1024kB 1*2048kB 0*4096kB = 4080kB
[ 6776.457453] 675667 total pagecache pages
[ 6776.457510] Swap cache: add 3407211, delete 3407179, find 2573/2834
[ 6776.457576] Free swap = 9766888kB
[ 6776.457629] Total swap = 9775512kB
[ 6776.478350] 1572864 pages of RAM
[ 6776.478411] 566471 reserved pages
[ 6776.478465] 652700 pages shared
[ 6776.478528] 32 pages swap cached
[ 6776.478583] Out of memory: kill process 7372 (sshd) score 11194 or a child
[ 6776.480177] Killed process 7373 (bash)
[ 6776.502332] syslog-ng invoked oom-killer: gfp_mask=0x1200d2, order=0, oomkilladj=0
[ 6776.502454] Pid: 3780, comm: syslog-ng Not tainted 2.6.26-rc5-mm2 #2
[ 6776.503268]
[ 6776.503268] Call Trace:
[ 6776.503268] [<ffffffff80269e4b>] oom_kill_process+0x11b/0x220
[ 6776.503268] [<ffffffff8026a0e6>] ? badness+0x156/0x210
[ 6776.503268] [<ffffffff8026a352>] out_of_memory+0x1b2/0x200
[ 6776.503268] [<ffffffff8026d0f2>] __alloc_pages_internal+0x322/0x470
[ 6776.503268] [<ffffffff802830cc>] read_swap_cache_async+0x9c/0xf0
[ 6776.503268] [<ffffffff8028319a>] swapin_readahead+0x7a/0xb0
[ 6776.503268] [<ffffffff80467ef0>] ? _spin_unlock+0x30/0x60
[ 6776.503268] [<ffffffff80278b9f>] handle_mm_fault+0x46f/0x780
[ 6776.503268] [<ffffffff802213a0>] ? do_page_fault+0x210/0x8d0
[ 6776.503268] [<ffffffff8022141d>] do_page_fault+0x28d/0x8d0
[ 6776.503339] [<ffffffff8046842d>] error_exit+0x0/0xa9
[ 6776.503403] [<ffffffff80247daf>] ? remove_wait_queue+0x1f/0x50
[ 6776.503470] [<ffffffff802a0584>] ? do_sys_poll+0x364/0x3b0
[ 6776.504329] [<ffffffff802a054d>] ? do_sys_poll+0x32d/0x3b0
[ 6776.504329] [<ffffffff802a11e0>] ? __pollwait+0x0/0x110
[ 6776.504329] [<ffffffff8022b940>] ? default_wake_function+0x0/0x10
[ 6776.504329] [<ffffffff8022b940>] ? default_wake_function+0x0/0x10
[ 6776.504329] [<ffffffff8022b940>] ? default_wake_function+0x0/0x10
[ 6776.504329] [<ffffffff80362530>] ? do_con_write+0xd60/0x1f60
[ 6776.504329] [<ffffffff80256005>] ? __lock_acquire+0x9e5/0x10b0
[ 6776.504329] [<ffffffff80256005>] ? __lock_acquire+0x9e5/0x10b0
[ 6776.504329] [<ffffffff802550e9>] ? trace_hardirqs_on_caller+0xc9/0x150
[ 6776.504329] [<ffffffff8025517d>] ? trace_hardirqs_on+0xd/0x10
[ 6776.504329] [<ffffffff80468022>] ? _spin_unlock_irqrestore+0x42/0x80
[ 6776.504338] [<ffffffff8034f7d1>] ? tty_ldisc_deref+0x61/0x80
[ 6776.504404] [<ffffffff8035229c>] ? tty_write+0x22c/0x260
[ 6776.504468] [<ffffffff80354c80>] ? write_chan+0x0/0x3c0
[ 6776.505314] [<ffffffff804675f7>] ? trace_hardirqs_on_thunk+0x3a/0x3f
[ 6776.505314] [<ffffffff802a0603>] ? sys_poll+0x33/0x90
[ 6776.505315] [<ffffffff8020b6bb>] ? system_call_after_swapgs+0x7b/0x80
[ 6776.505315]
[ 6776.505315] Mem-info:
[ 6776.505315] DMA per-cpu:
[ 6776.505315] CPU 0: hi: 0, btch: 1 usd: 0
[ 6776.505315] CPU 1: hi: 0, btch: 1 usd: 0
[ 6776.505315] DMA32 per-cpu:
[ 6776.505315] CPU 0: hi: 186, btch: 31 usd: 45
[ 6776.505315] CPU 1: hi: 186, btch: 31 usd: 0
[ 6776.505315] Normal per-cpu:
[ 6776.505315] CPU 0: hi: 186, btch: 31 usd: 121
[ 6776.505317] CPU 1: hi: 186, btch: 31 usd: 182
[ 6776.505384] Active_anon:0 active_file:473872 inactive_anon0
[ 6776.505385] inactive_file:473358 dirty:41471 writeback:0 unstable:0
[ 6776.505386] free:5681 slab:45890 mapped:1 pagetables:346 bounce:0
[ 6776.506305] DMA free:6724kB min:12kB low:12kB high:16kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB present:6124kB pages_scanned:0 all_unreclaimable? no
[ 6776.506305] lowmem_reserve[]: 0 1975 3995 3995
[ 6776.506305] DMA32 free:11964kB min:3996kB low:4992kB high:5992kB active_anon:0kB inactive_anon:0kB active_file:912156kB inactive_file:910452kB present:2023200kB pages_scanned:12291693 all_unreclaimable? no
[ 6776.506305] lowmem_reserve[]: 0 0 2020 2020
[ 6776.506305] Normal free:4036kB min:4084kB low:5104kB high:6124kB active_anon:0kB inactive_anon:0kB active_file:983332kB inactive_file:982980kB present:2068480kB pages_scanned:10240 all_unreclaimable? no
[ 6776.506357] lowmem_reserve[]: 0 0 0 0
[ 6776.506443] DMA: 3*4kB 7*8kB 4*16kB 4*32kB 5*64kB 4*128kB 4*256kB 1*512kB 0*1024kB 0*2048kB 1*4096kB = 6724kB
[ 6776.507314] DMA32: 1513*4kB 5*8kB 5*16kB 1*32kB 26*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 1*4096kB = 11964kB
[ 6776.507314] Normal: 5*4kB 5*8kB 2*16kB 3*32kB 1*64kB 1*128kB 0*256kB 1*512kB 1*1024kB 1*2048kB 0*4096kB = 3964kB
[ 6776.507314] 675667 total pagecache pages
[ 6776.507314] Swap cache: add 3407211, delete 3407207, find 2573/2837
[ 6776.507314] Free swap = 9767376kB
[ 6776.507317] Total swap = 9775512kB
[ 6776.527266] 1572864 pages of RAM
[ 6776.527266] 566471 reserved pages
[ 6776.527266] 652681 pages shared
[ 6776.527266] 4 pages swap cached
[ 6776.527322] Out of memory: kill process 4788 (sshd) score 8976 or a child
[ 6776.527404] Killed process 4788 (sshd)
[ 6776.707635] growfiles invoked oom-killer: gfp_mask=0x1200d2, order=0, oomkilladj=0
[ 6776.708459] Pid: 10340, comm: growfiles Not tainted 2.6.26-rc5-mm2 #2
[ 6776.708459]
[ 6776.708459] Call Trace:
[ 6776.708459] [<ffffffff80269e4b>] oom_kill_process+0x11b/0x220
[ 6776.708459] [<ffffffff8026a0e6>] ? badness+0x156/0x210
[ 6776.708459] [<ffffffff8026a352>] out_of_memory+0x1b2/0x200
[ 6776.708459] [<ffffffff8026d0f2>] __alloc_pages_internal+0x322/0x470
[ 6776.708459] [<ffffffff80266e9a>] __grab_cache_page+0x6a/0xa0
[ 6776.708459] [<ffffffff802e5f55>] ext3_write_begin+0x65/0x1b0
[ 6776.708459] [<ffffffff802677dd>] generic_file_buffered_write+0x14d/0x740
[ 6776.708459] [<ffffffff80467ef0>] ? _spin_unlock+0x30/0x60
[ 6776.708517] [<ffffffff802ac0fe>] ? mnt_drop_write+0x7e/0x160
[ 6776.708627] [<ffffffff80268260>] __generic_file_aio_write_nolock+0x2a0/0x460
[ 6776.708701] [<ffffffff80268486>] generic_file_aio_write+0x66/0xd0
[ 6776.709510] [<ffffffff802e1846>] ext3_file_write+0x26/0xc0
[ 6776.709510] [<ffffffff802e1820>] ? ext3_file_write+0x0/0xc0
[ 6776.709510] [<ffffffff80291e9b>] do_sync_readv_writev+0xeb/0x130
[ 6776.709510] [<ffffffff8028c078>] ? check_bytes_and_report+0x38/0xd0
[ 6776.709510] [<ffffffff80247ae0>] ? autoremove_wake_function+0x0/0x40
[ 6776.709510] [<ffffffff8028bccf>] ? init_object+0x4f/0x90
[ 6776.709510] [<ffffffff8025517d>] ? trace_hardirqs_on+0xd/0x10
[ 6776.709510] [<ffffffff80291cd5>] ? rw_copy_check_uvector+0x95/0x130
[ 6776.709510] [<ffffffff802925d3>] do_readv_writev+0xc3/0x120
[ 6776.709510] [<ffffffff802a26de>] ? locks_free_lock+0x3e/0x60
[ 6776.709518] [<ffffffff802a26de>] ? locks_free_lock+0x3e/0x60
[ 6776.709584] [<ffffffff802a3c38>] ? fcntl_setlk+0x58/0x2c0
[ 6776.709648] [<ffffffff802550e9>] ? trace_hardirqs_on_caller+0xc9/0x150
[ 6776.709733] [<ffffffff8025517d>] ? trace_hardirqs_on+0xd/0x10
[ 6776.710459] [<ffffffff80292669>] vfs_writev+0x39/0x60
[ 6776.710459] [<ffffffff80292a30>] sys_writev+0x50/0x90
[ 6776.710459] [<ffffffff8020b6bb>] system_call_after_swapgs+0x7b/0x80
[ 6776.710459]
[ 6776.710459] Mem-info:
[ 6776.710459] DMA per-cpu:
[ 6776.710459] CPU 0: hi: 0, btch: 1 usd: 0
[ 6776.710459] CPU 1: hi: 0, btch: 1 usd: 0
[ 6776.710459] DMA32 per-cpu:
[ 6776.710459] CPU 0: hi: 186, btch: 31 usd: 45
[ 6776.710459] CPU 1: hi: 186, btch: 31 usd: 0
[ 6776.710459] Normal per-cpu:
[ 6776.710467] CPU 0: hi: 186, btch: 31 usd: 159
[ 6776.710528] CPU 1: hi: 186, btch: 31 usd: 175
[ 6776.710589] Active_anon:0 active_file:474168 inactive_anon0
[ 6776.710590] inactive_file:473082 dirty:41471 writeback:0 unstable:0
[ 6776.710591] free:5681 slab:45890 mapped:1 pagetables:315 bounce:0
[ 6776.711459] DMA free:6724kB min:12kB low:12kB high:16kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB present:6124kB pages_scanned:0 all_unreclaimable? no
[ 6776.711459] lowmem_reserve[]: 0 1975 3995 3995
[ 6776.711459] DMA32 free:11964kB min:3996kB low:4992kB high:5992kB active_anon:0kB inactive_anon:0kB active_file:912196kB inactive_file:910632kB present:2023200kB pages_scanned:12656936 all_unreclaimable? no
[ 6776.711459] lowmem_reserve[]: 0 0 2020 2020
[ 6776.711459] Normal free:4036kB min:4084kB low:5104kB high:6124kB active_anon:0kB inactive_anon:0kB active_file:984600kB inactive_file:981696kB present:2068480kB pages_scanned:213813 all_unreclaimable? no
[ 6776.711544] lowmem_reserve[]: 0 0 0 0
[ 6776.711628] DMA: 3*4kB 7*8kB 4*16kB 4*32kB 5*64kB 4*128kB 4*256kB 1*512kB 0*1024kB 0*2048kB 1*4096kB = 6724kB
[ 6776.712536] DMA32: 1513*4kB 5*8kB 5*16kB 1*32kB 26*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 1*4096kB = 11964kB
[ 6776.712536] Normal: 5*4kB 5*8kB 2*16kB 3*32kB 1*64kB 1*128kB 0*256kB 1*512kB 1*1024kB 1*2048kB 0*4096kB = 3964kB
[ 6776.712536] 675667 total pagecache pages
[ 6776.712536] Swap cache: add 3407219, delete 3407215, find 2573/2837
[ 6776.712536] Free swap = 9767576kB
[ 6776.712539] Total swap = 9775512kB
[ 6776.733460] 1572864 pages of RAM
[ 6776.733460] 566471 reserved pages
[ 6776.733460] 652585 pages shared
[ 6776.733460] 4 pages swap cached
[ 6776.733460] Out of memory: kill process 4801 (sshd) score 8976 or a child
[ 6776.733460] Killed process 4801 (sshd)
[ 6782.551918] syslog-ng invoked oom-killer: gfp_mask=0x1200d2, order=0, oomkilladj=0
[ 6782.552041] Pid: 3780, comm: syslog-ng Not tainted 2.6.26-rc5-mm2 #2
[ 6782.552109]
[ 6782.552109] Call Trace:
[ 6782.552214] [<ffffffff80269e4b>] oom_kill_process+0x11b/0x220
[ 6782.552281] [<ffffffff8026a0e6>] ? badness+0x156/0x210
[ 6782.552345] [<ffffffff8026a352>] out_of_memory+0x1b2/0x200
[ 6782.552411] [<ffffffff8026d0f2>] __alloc_pages_internal+0x322/0x470
[ 6782.552481] [<ffffffff802830cc>] read_swap_cache_async+0x9c/0xf0
[ 6782.552548] [<ffffffff8028319a>] swapin_readahead+0x7a/0xb0
[ 6782.552614] [<ffffffff80467ef0>] ? _spin_unlock+0x30/0x60
[ 6782.552680] [<ffffffff80278b9f>] handle_mm_fault+0x46f/0x780
[ 6782.552747] [<ffffffff802213a0>] ? do_page_fault+0x210/0x8d0
[ 6782.552812] [<ffffffff8022141d>] do_page_fault+0x28d/0x8d0
[ 6782.552886] [<ffffffff8046842d>] error_exit+0x0/0xa9
[ 6782.552950] [<ffffffff80247daf>] ? remove_wait_queue+0x1f/0x50
[ 6782.553017] [<ffffffff802a0584>] ? do_sys_poll+0x364/0x3b0
[ 6782.553083] [<ffffffff802a054d>] ? do_sys_poll+0x32d/0x3b0
[ 6782.553147] [<ffffffff802a11e0>] ? __pollwait+0x0/0x110
[ 6782.553211] [<ffffffff8022b940>] ? default_wake_function+0x0/0x10
[ 6782.553279] [<ffffffff8022b940>] ? default_wake_function+0x0/0x10
[ 6782.553346] [<ffffffff8022b940>] ? default_wake_function+0x0/0x10
[ 6782.553414] [<ffffffff80362530>] ? do_con_write+0xd60/0x1f60
[ 6782.553480] [<ffffffff80256005>] ? __lock_acquire+0x9e5/0x10b0
[ 6782.553547] [<ffffffff80256005>] ? __lock_acquire+0x9e5/0x10b0
[ 6782.553614] [<ffffffff802550e9>] ? trace_hardirqs_on_caller+0xc9/0x150
[ 6782.555205] [<ffffffff8025517d>] ? trace_hardirqs_on+0xd/0x10
[ 6782.555273] [<ffffffff80468022>] ? _spin_unlock_irqrestore+0x42/0x80
[ 6782.555342] [<ffffffff8034f7d1>] ? tty_ldisc_deref+0x61/0x80
[ 6782.555408] [<ffffffff8035229c>] ? tty_write+0x22c/0x260
[ 6782.555471] [<ffffffff80354c80>] ? write_chan+0x0/0x3c0
[ 6782.555535] [<ffffffff804675f7>] ? trace_hardirqs_on_thunk+0x3a/0x3f
[ 6782.556543] [<ffffffff802a0603>] ? sys_poll+0x33/0x90
[ 6782.556607] [<ffffffff8020b6bb>] ? system_call_after_swapgs+0x7b/0x80
[ 6782.556675]
[ 6782.556720] Mem-info:
[ 6782.557142] DMA per-cpu:
[ 6782.557193] CPU 0: hi: 0, btch: 1 usd: 0
[ 6782.557253] CPU 1: hi: 0, btch: 1 usd: 0
[ 6782.557312] DMA32 per-cpu:
[ 6782.557363] CPU 0: hi: 186, btch: 31 usd: 179
[ 6782.557423] CPU 1: hi: 186, btch: 31 usd: 0
[ 6782.557482] Normal per-cpu:
[ 6782.557533] CPU 0: hi: 186, btch: 31 usd: 160
[ 6782.557593] CPU 1: hi: 186, btch: 31 usd: 171
[ 6782.557655] Active_anon:0 active_file:471412 inactive_anon0
[ 6782.557656] inactive_file:475671 dirty:20776 writeback:0 unstable:0
[ 6782.557657] free:5694 slab:45816 mapped:1 pagetables:313 bounce:0
[ 6782.557773] DMA free:6724kB min:12kB low:12kB high:16kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB present:6124kB pages_scanned:0 all_unreclaimable? no
[ 6782.557773] lowmem_reserve[]: 0 1975 3995 3995
[ 6782.557773] DMA32 free:11964kB min:3996kB low:4992kB high:5992kB active_anon:0kB inactive_anon:0kB active_file:911432kB inactive_file:911236kB present:2023200kB pages_scanned:25924478 all_unreclaimable? no
[ 6782.557962] lowmem_reserve[]: 0 0 2020 2020
[ 6782.558047] Normal free:4088kB min:4084kB low:5104kB high:6124kB active_anon:0kB inactive_anon:0kB active_file:974216kB inactive_file:991560kB present:2068480kB pages_scanned:3915748 all_unreclaimable? no
[ 6782.558231] lowmem_reserve[]: 0 0 0 0
[ 6782.558312] DMA: 3*4kB 7*8kB 4*16kB 4*32kB 5*64kB 4*128kB 4*256kB 1*512kB 0*1024kB 0*2048kB 1*4096kB = 6724kB
[ 6782.558501] DMA32: 1513*4kB 5*8kB 5*16kB 1*32kB 26*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 1*4096kB = 11964kB
[ 6782.558687] Normal: 38*4kB 4*8kB 2*16kB 3*32kB 1*64kB 1*128kB 0*256kB 1*512kB 1*1024kB 1*2048kB 0*4096kB = 4088kB
[ 6782.558993] 675600 total pagecache pages
[ 6782.559049] Swap cache: add 3407223, delete 3407223, find 2573/2837
[ 6782.559115] Free swap = 9767776kB
[ 6782.559169] Total swap = 9775512kB
[ 6782.579598] 1572864 pages of RAM
[ 6782.579660] 566471 reserved pages
[ 6782.579713] 652752 pages shared
[ 6782.579766] 0 pages swap cached
[ 6782.579820] Out of memory: kill process 7372 (sshd) score 8976 or a child
[ 6782.579909] Killed process 7372 (sshd)
[ 6785.203761] pan invoked oom-killer: gfp_mask=0x1200d2, order=0, oomkilladj=0
[ 6785.203850] Pid: 6957, comm: pan Not tainted 2.6.26-rc5-mm2 #2
[ 6785.203931]
[ 6785.203932] Call Trace:
[ 6785.204701] [<ffffffff80269e4b>] oom_kill_process+0x11b/0x220
[ 6785.204701] [<ffffffff8026a0e6>] ? badness+0x156/0x210
[ 6785.204701] [<ffffffff8026a352>] out_of_memory+0x1b2/0x200
[ 6785.204701] [<ffffffff8026d0f2>] __alloc_pages_internal+0x322/0x470
[ 6785.204701] [<ffffffff802830cc>] read_swap_cache_async+0x9c/0xf0
[ 6785.204701] [<ffffffff8028319a>] swapin_readahead+0x7a/0xb0
[ 6785.204701] [<ffffffff80467ef0>] ? _spin_unlock+0x30/0x60
[ 6785.204701] [<ffffffff80278b9f>] handle_mm_fault+0x46f/0x780
[ 6785.204701] [<ffffffff802213a0>] ? do_page_fault+0x210/0x8d0
[ 6785.204701] [<ffffffff8022141d>] do_page_fault+0x28d/0x8d0
[ 6785.204745] [<ffffffff8046842d>] error_exit+0x0/0xa9
[ 6785.204809] [<ffffffff8020ace0>] ? do_notify_resume+0x400/0x940
[ 6785.204875] [<ffffffff8020ac53>] ? do_notify_resume+0x373/0x940
[ 6785.205734] [<ffffffff8025517d>] ? trace_hardirqs_on+0xd/0x10
[ 6785.205734] [<ffffffff80468022>] ? _spin_unlock_irqrestore+0x42/0x80
[ 6785.205734] [<ffffffff80247dc6>] ? remove_wait_queue+0x36/0x50
[ 6785.205734] [<ffffffff802550e9>] ? trace_hardirqs_on_caller+0xc9/0x150
[ 6785.205734] [<ffffffff804675f7>] ? trace_hardirqs_on_thunk+0x3a/0x3f
[ 6785.205734] [<ffffffff8020b75d>] ? sysret_signal+0x21/0x31
[ 6785.205734] [<ffffffff8020ba57>] ? ptregscall_common+0x67/0xb0
[ 6785.205734]
[ 6785.205734] Mem-info:
[ 6785.205734] DMA per-cpu:
[ 6785.205734] CPU 0: hi: 0, btch: 1 usd: 0
[ 6785.205734] CPU 1: hi: 0, btch: 1 usd: 0
[ 6785.205741] DMA32 per-cpu:
[ 6785.205793] CPU 0: hi: 186, btch: 31 usd: 179
[ 6785.205852] CPU 1: hi: 186, btch: 31 usd: 0
[ 6785.205911] Normal per-cpu:
[ 6785.206717] CPU 0: hi: 186, btch: 31 usd: 183
[ 6785.206717] CPU 1: hi: 186, btch: 31 usd: 172
[ 6785.206717] Active_anon:0 active_file:473406 inactive_anon2
[ 6785.206717] inactive_file:473879 dirty:20776 writeback:0 unstable:0
[ 6785.206717] free:5654 slab:45813 mapped:1 pagetables:313 bounce:0
[ 6785.206717] DMA free:6724kB min:12kB low:12kB high:16kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB present:6124kB pages_scanned:0 all_unreclaimable? no
[ 6785.206717] lowmem_reserve[]: 0 1975 3995 3995
[ 6785.206717] DMA32 free:11964kB min:3996kB low:4992kB high:5992kB active_anon:0kB inactive_anon:0kB active_file:897288kB inactive_file:925568kB present:2023200kB pages_scanned:32582125 all_unreclaimable? no
[ 6785.206767] lowmem_reserve[]: 0 0 2020 2020
[ 6785.206850] Normal free:3928kB min:4084kB low:5104kB high:6124kB active_anon:0kB inactive_anon:8kB active_file:1006008kB inactive_file:960220kB present:2068480kB pages_scanned:5891220 all_unreclaimable? no
[ 6785.207745] lowmem_reserve[]: 0 0 0 0
[ 6785.207745] DMA: 3*4kB 7*8kB 4*16kB 4*32kB 5*64kB 4*128kB 4*256kB 1*512kB 0*1024kB 0*2048kB 1*4096kB = 6724kB
[ 6785.207745] DMA32: 1513*4kB 5*8kB 5*16kB 1*32kB 26*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 1*4096kB = 11964kB
[ 6785.207745] Normal: 0*4kB 0*8kB 0*16kB 2*32kB 1*64kB 1*128kB 0*256kB 1*512kB 1*1024kB 1*2048kB 0*4096kB = 3840kB
[ 6785.207810] 675665 total pagecache pages
[ 6785.207867] Swap cache: add 3407250, delete 3407249, find 2573/2840
[ 6785.207933] Free swap = 9767976kB
[ 6785.208725] Total swap = 9775512kB
[ 6785.228706] 1572864 pages of RAM
[ 6785.228706] 566471 reserved pages
[ 6785.228706] 652569 pages shared
[ 6785.228706] 1 pages swap cached
[ 6785.228706] Out of memory: kill process 8405 (mutt) score 5096 or a child
[ 6785.228706] Killed process 8405 (mutt)
[ 6789.051344] pan invoked oom-killer: gfp_mask=0x1200d2, order=0, oomkilladj=0
[ 6789.051435] Pid: 6957, comm: pan Not tainted 2.6.26-rc5-mm2 #2
[ 6789.051500]
[ 6789.051501] Call Trace:
[ 6789.051609] [<ffffffff80269e4b>] oom_kill_process+0x11b/0x220
[ 6789.051662] [<ffffffff8026a0e6>] ? badness+0x156/0x210
[ 6789.051662] [<ffffffff8026a352>] out_of_memory+0x1b2/0x200
[ 6789.051662] [<ffffffff8026d0f2>] __alloc_pages_internal+0x322/0x470
[ 6789.051662] [<ffffffff802830cc>] read_swap_cache_async+0x9c/0xf0
[ 6789.051662] [<ffffffff8028319a>] swapin_readahead+0x7a/0xb0
[ 6789.051662] [<ffffffff80467ef0>] ? _spin_unlock+0x30/0x60
[ 6789.051662] [<ffffffff80278b9f>] handle_mm_fault+0x46f/0x780
[ 6789.051662] [<ffffffff802213a0>] ? do_page_fault+0x210/0x8d0
[ 6789.051662] [<ffffffff8022141d>] do_page_fault+0x28d/0x8d0
[ 6789.051662] [<ffffffff8046842d>] error_exit+0x0/0xa9
[ 6789.051733] [<ffffffff8020ace0>] ? do_notify_resume+0x400/0x940
[ 6789.051799] [<ffffffff8020ac53>] ? do_notify_resume+0x373/0x940
[ 6789.051868] [<ffffffff8025517d>] ? trace_hardirqs_on+0xd/0x10
[ 6789.051933] [<ffffffff80468022>] ? _spin_unlock_irqrestore+0x42/0x80
[ 6789.052002] [<ffffffff80247dc6>] ? remove_wait_queue+0x36/0x50
[ 6789.052069] [<ffffffff802550e9>] ? trace_hardirqs_on_caller+0xc9/0x150
[ 6789.052138] [<ffffffff804675f7>] ? trace_hardirqs_on_thunk+0x3a/0x3f
[ 6789.052207] [<ffffffff8020b75d>] ? sysret_signal+0x21/0x31
[ 6789.052271] [<ffffffff8020ba57>] ? ptregscall_common+0x67/0xb0
[ 6789.052337]
[ 6789.052382] Mem-info:
[ 6789.052431] DMA per-cpu:
[ 6789.052481] CPU 0: hi: 0, btch: 1 usd: 0
[ 6789.052647] CPU 1: hi: 0, btch: 1 usd: 0
[ 6789.052706] DMA32 per-cpu:
[ 6789.052758] CPU 0: hi: 186, btch: 31 usd: 170
[ 6789.052823] CPU 1: hi: 186, btch: 31 usd: 0
[ 6789.052883] Normal per-cpu:
[ 6789.052933] CPU 0: hi: 186, btch: 31 usd: 174
[ 6789.052993] CPU 1: hi: 186, btch: 31 usd: 127
[ 6789.053055] Active_anon:0 active_file:546753 inactive_anon3
[ 6789.053056] inactive_file:400462 dirty:20776 writeback:0 unstable:0
[ 6789.053057] free:5684 slab:45813 mapped:8 pagetables:293 bounce:0
[ 6789.053251] DMA free:6724kB min:12kB low:12kB high:16kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB present:6124kB pages_scanned:0 all_unreclaimable? no
[ 6789.053426] lowmem_reserve[]: 0 1975 3995 3995
[ 6789.053510] DMA32 free:12048kB min:3996kB low:4992kB high:5992kB active_anon:0kB inactive_anon:0kB active_file:1060096kB inactive_file:762452kB present:2023200kB pages_scanned:42193 all_unreclaimable? no
[ 6789.053694] lowmem_reserve[]: 0 0 2020 2020
[ 6789.053811] Normal free:3964kB min:4084kB low:5104kB high:6124kB active_anon:0kB inactive_anon:12kB active_file:1126916kB inactive_file:839396kB present:2068480kB pages_scanned:62177 all_unreclaimable? no
[ 6789.053996] lowmem_reserve[]: 0 0 0 0
[ 6789.054077] DMA: 3*4kB 7*8kB 4*16kB 4*32kB 5*64kB 4*128kB 4*256kB 1*512kB 0*1024kB 0*2048kB 1*4096kB = 6724kB
[ 6789.054253] DMA32: 1528*4kB 7*8kB 4*16kB 1*32kB 27*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 1*4096kB = 12088kB
[ 6789.054439] Normal: 31*4kB 0*8kB 0*16kB 2*32kB 1*64kB 1*128kB 0*256kB 1*512kB 1*1024kB 1*2048kB 0*4096kB = 3964kB
[ 6789.054646] 675699 total pagecache pages
[ 6789.054703] Swap cache: add 3407293, delete 3407282, find 2579/2851
[ 6789.054769] Free swap = 9769312kB
[ 6789.054828] Total swap = 9775512kB
[ 6789.075440] 1572864 pages of RAM
[ 6789.075501] 566471 reserved pages
[ 6789.075555] 652638 pages shared
[ 6789.075607] 11 pages swap cached
[ 6789.077178] Out of memory: kill process 4807 (ssu) score 4485 or a child
[ 6789.077254] Killed process 4808 (bash)

2008-06-11 06:15:49

by Nick Piggin

[permalink] [raw]
Subject: Re: 2.6.26-rc5-mm2: OOM with 1G free swap

On Wednesday 11 June 2008 16:00, Alexey Dobriyan wrote:
> On Mon, Jun 09, 2008 at 10:31:45PM -0700, Andrew Morton wrote:
> > - This is a bugfixed version of 2.6.26-rc5-mm1 - mainly to repair a
> > vmscan.c bug which would have prevented testing of the other vmscan.c
> > bugs^Wchanges.
>
> OOM condition happened with 1G free swap.

Seems like you've got little or no anon pages left, so 1GB free swap
is no problem (nothing left to page out).


> 4G RAM, 1G swap partition, normally LTP survives during much, much higher
> load.

I would hope it is not a memory leak (which might point to lockless
pagecache). It doesn't look like it because there is still lots of
inactive file pages, so that points to the page reclaim changes
(which is not to say page reclaim changes couldn't cause a memory
leak themselves).

Curious: if you kill off all the LTP tests after the OOM condition,
what does your /proc/meminfo look like before and after running
sync ; echo 3 > /proc/sys/vm/drop_caches

2008-06-11 06:16:09

by Nick Piggin

[permalink] [raw]
Subject: Re: 2.6.26-rc5-mm2: OOM with 1G free swap

On Wednesday 11 June 2008 16:00, Alexey Dobriyan wrote:
> On Mon, Jun 09, 2008 at 10:31:45PM -0700, Andrew Morton wrote:
> > - This is a bugfixed version of 2.6.26-rc5-mm1 - mainly to repair a
> > vmscan.c bug which would have prevented testing of the other vmscan.c
> > bugs^Wchanges.
>
> OOM condition happened with 1G free swap.

Hey, I'm liking this kernel-testers list, btw. Makes it much easier
to help people with problems.

Luckily I suggested it at last KS. Oh wait, I recall everybody
laughed or ignored :) I guess I lack the managerial qualities to
make those kinds of suggestions!

2008-06-11 06:28:30

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.26-rc5-mm2: OOM with 1G free swap

On Wed, 11 Jun 2008 10:00:29 +0400 Alexey Dobriyan <[email protected]> wrote:

> On Mon, Jun 09, 2008 at 10:31:45PM -0700, Andrew Morton wrote:
> > - This is a bugfixed version of 2.6.26-rc5-mm1 - mainly to repair a
> > vmscan.c bug which would have prevented testing of the other vmscan.c
> > bugs^Wchanges.
>
> OOM condition happened with 1G free swap.

Thanks for testing. Again.

> 4G RAM, 1G swap partition, normally LTP survives during much, much higher
> load.
>
> vm.overcommit_memory = 0
> vm.overcommit_ratio = 50

Well I assume that Rik ran LTP. Perhaps a merge problem.

>
> ...
>
> [ 6773.608125] init invoked oom-killer: gfp_mask=0x1201d2, order=0, oomkilladj=0

GFP_USER

> [ 6773.608215] Pid: 1, comm: init Not tainted 2.6.26-rc5-mm2 #2

wot? The oom-killer isn't supposed to kill init!

> [ 6773.608888]
> [ 6773.608888] Call Trace:
> [ 6773.610887] [<ffffffff80269e4b>] oom_kill_process+0x11b/0x220
> [ 6773.610887] [<ffffffff8026a0e6>] ? badness+0x156/0x210
> [ 6773.610887] [<ffffffff8026a352>] out_of_memory+0x1b2/0x200
> [ 6773.610887] [<ffffffff8026d0f2>] __alloc_pages_internal+0x322/0x470
> [ 6773.610887] [<ffffffff8026f71c>] __do_page_cache_readahead+0xfc/0x210
> [ 6773.610887] [<ffffffff8026fc8f>] do_page_cache_readahead+0x5f/0x80
> [ 6773.610887] [<ffffffff80269310>] filemap_fault+0x250/0x4c0
> [ 6773.610887] [<ffffffff80276bf0>] __do_fault+0x50/0x490
> [ 6773.610887] [<ffffffff80256005>] ? __lock_acquire+0x9e5/0x10b0
> [ 6773.610887] [<ffffffff80278972>] handle_mm_fault+0x242/0x780
> [ 6773.610887] [<ffffffff8022146f>] ? do_page_fault+0x2df/0x8d0
> [ 6773.610887] [<ffffffff8022141d>] do_page_fault+0x28d/0x8d0
> [ 6773.610887] [<ffffffff8046842d>] error_exit+0x0/0xa9
> [ 6773.610887]
> [ 6773.610887] Mem-info:
> [ 6773.610887] DMA per-cpu:
> [ 6773.610887] CPU 0: hi: 0, btch: 1 usd: 0
> [ 6773.610887] CPU 1: hi: 0, btch: 1 usd: 0
> [ 6773.610887] DMA32 per-cpu:
> [ 6773.610887] CPU 0: hi: 186, btch: 31 usd: 45
> [ 6773.610952] CPU 1: hi: 186, btch: 31 usd: 0
> [ 6773.611462] Normal per-cpu:
> [ 6773.611513] CPU 0: hi: 186, btch: 31 usd: 161
> [ 6773.611573] CPU 1: hi: 186, btch: 31 usd: 107
> [ 6773.611634] Active_anon:0 active_file:473789 inactive_anon0
> [ 6773.611635] inactive_file:473447 dirty:41471 writeback:0 unstable:0
> [ 6773.611636] free:5688 slab:45896 mapped:1 pagetables:415 bounce:0
> [ 6773.611829] DMA free:6724kB min:12kB low:12kB high:16kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB present:6124kB pages_scanned:0 all_unreclaimable? no
> [ 6773.612003] lowmem_reserve[]: 0 1975 3995 3995
> [ 6773.612086] DMA32 free:11964kB min:3996kB low:4992kB high:5992kB active_anon:0kB inactive_anon:0kB active_file:911668kB inactive_file:911232kB present:2023200kB pages_scanned:5792629 all_unreclaimable? no
> [ 6773.612459] lowmem_reserve[]: 0 0 2020 2020
> [ 6773.613544] Normal free:3980kB min:4084kB low:5104kB high:6124kB active_anon:0kB inactive_anon:0kB active_file:983488kB inactive_file:982556kB present:2068480kB pages_scanned:5756927 all_unreclaimable? no

OK, weird.

Zero pages on active_anon and inactive_anon. I suspect we lost those pages.

And what's up with the all_unreclaimable logic? If that isn't working
then we'll spend lots of CPU scanning zones which aren't releasing any
pages. Hopefully that won't be needed at all if all these patches work
as hoped, but I don't think Rik intentionally disabled it at this
stage. But I've only read half his patches to date.

> [ 6773.613544] lowmem_reserve[]: 0 0 0 0
> [ 6773.613544] DMA: 3*4kB 7*8kB 4*16kB 4*32kB 5*64kB 4*128kB 4*256kB 1*512kB 0*1024kB 0*2048kB 1*4096kB = 6724kB
> [ 6773.613544] DMA32: 1513*4kB 5*8kB 5*16kB 1*32kB 26*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 1*4096kB = 11964kB
> [ 6773.613544] Normal: 1*4kB 4*8kB 2*16kB 3*32kB 1*64kB 1*128kB 0*256kB 1*512kB 1*1024kB 1*2048kB 0*4096kB = 3940kB
> [ 6773.613544] 675611 total pagecache pages
> [ 6773.613544] Swap cache: add 3407179, delete 3407179, find 2573/2828
> [ 6773.613544] Free swap = 9765272kB
> [ 6773.613603] Total swap = 9775512kB
> [ 6773.631577] 1572864 pages of RAM
> [ 6773.631639] 566471 reserved pages
> [ 6773.631693] 652567 pages shared
> [ 6773.631745] 0 pages swap cached
> [ 6773.631799] Out of memory: kill process 4788 (sshd) score 11194 or a child
> [ 6773.631876] Killed process 4789 (bash)
>
> ...
>

2008-06-11 06:31:33

by Nick Piggin

[permalink] [raw]
Subject: Re: 2.6.26-rc5-mm2: OOM with 1G free swap

On Wednesday 11 June 2008 16:27, Andrew Morton wrote:
> On Wed, 11 Jun 2008 10:00:29 +0400 Alexey Dobriyan <[email protected]>
wrote:
> > On Mon, Jun 09, 2008 at 10:31:45PM -0700, Andrew Morton wrote:
> > > - This is a bugfixed version of 2.6.26-rc5-mm1 - mainly to repair a
> > > vmscan.c bug which would have prevented testing of the other vmscan.c
> > > bugs^Wchanges.
> >
> > OOM condition happened with 1G free swap.
>
> Thanks for testing. Again.
>
> > 4G RAM, 1G swap partition, normally LTP survives during much, much higher
> > load.
> >
> > vm.overcommit_memory = 0
> > vm.overcommit_ratio = 50
>
> Well I assume that Rik ran LTP. Perhaps a merge problem.
>
> > ...
> >
> > [ 6773.608125] init invoked oom-killer: gfp_mask=0x1201d2, order=0,
> > oomkilladj=0
>
> GFP_USER
>
> > [ 6773.608215] Pid: 1, comm: init Not tainted 2.6.26-rc5-mm2 #2
>
> wot? The oom-killer isn't supposed to kill init!

It is init that invokes the OOM killer, the actual process killed
comes at the end I believe:

[...]

> > [ 6773.631799] Out of memory: kill process 4788 (sshd) score 11194 or a
> > child [ 6773.631876] Killed process 4789 (bash)

2008-06-11 06:37:20

by KOSAKI Motohiro

[permalink] [raw]
Subject: Re: 2.6.26-rc5-mm2: OOM with 1G free swap

> > vm.overcommit_memory = 0
> > vm.overcommit_ratio = 50
>
> Well I assume that Rik ran LTP. Perhaps a merge problem.

at least, I ran LTP last week and its error didn't happend.
I'll investigate more.

Thanks.



2008-06-11 07:31:25

by Frederik Deweerdt

[permalink] [raw]
Subject: Re: 2.6.26-rc5-mm2: OOM with 1G free swap

Hi,

On Wed, Jun 11, 2008 at 03:36:40PM +0900, KOSAKI Motohiro wrote:
> > > vm.overcommit_memory = 0
> > > vm.overcommit_ratio = 50
> >
> > Well I assume that Rik ran LTP. Perhaps a merge problem.
>
> at least, I ran LTP last week and its error didn't happend.
> I'll investigate more.
FWIW, I can reproduce it reliably:
$ cd <ltp-dir>/testcases/bin
$ ./growfiles -W gf15 -b -e 1 -u -r 1-49600 -I r -u -i 0 -L 120 Lgfile1
And then wait for a few secs before the OOM triggers.

Regards,
Frederik

2008-06-11 12:58:18

by Rik van Riel

[permalink] [raw]
Subject: Re: 2.6.26-rc5-mm2: OOM with 1G free swap

On Tue, 10 Jun 2008 23:27:05 -0700
Andrew Morton <[email protected]> wrote:

> Well I assume that Rik ran LTP. Perhaps a merge problem.

> Zero pages on active_anon and inactive_anon. I suspect we lost those pages.

Known problem. I fixed this one in the updates I sent you last night.

--
All rights reversed.

2008-06-11 13:44:48

by Nick Piggin

[permalink] [raw]
Subject: Re: 2.6.26-rc5-mm2: OOM with 1G free swap

On Wednesday 11 June 2008 22:57, Rik van Riel wrote:
> On Tue, 10 Jun 2008 23:27:05 -0700
>
> Andrew Morton <[email protected]> wrote:
> > Well I assume that Rik ran LTP. Perhaps a merge problem.
> >
> > Zero pages on active_anon and inactive_anon. I suspect we lost those
> > pages.
>
> Known problem. I fixed this one in the updates I sent you last night.

Oh good. Yeah I was just running some tests, and got as far as verifying
that the upstream kernel + lockless pagecache patches reclaims file pages
like a dream, but -mm2 sucks very badly at it.

During which, I also did find by inspection a little problem with my
speculative references patch. Andrew please apply this fix.


Attachments:
(No filename) (695.00 B)
mm-speculative-page-references-hugh-fix3.patch (1.49 kB)
Download all attachments

2008-06-11 17:57:18

by Kamalesh Babulal

[permalink] [raw]
Subject: [BUG] 2.6.26-rc5-mm2 - kernel BUG at arch/x86/kernel/setup.c:388!

Hi Andrew,

The 2.6.26-rc5-mm2 kernel panic's, while booting up on the x86_64
box with the attached .config file.

kernel BUG at arch/x86/kernel/setup.c:388!
invalid opcode: 0000 [1] SMP DEBUG_PAGEALLOC
last sysfs file:
CPU 0
Modules linked in:
Pid: 1, comm: swapper Not tainted 2.6.26-rc5-mm2-autokern1 #1
RIP: 0010:[<ffffffff80210492>] [<ffffffff80210492>] _node_to_cpumask_ptr+0x54/0x6a
RSP: 0000:ffff8100bf683d30 EFLAGS: 00010202
RAX: 0000000000000001 RBX: 0000000000000001 RCX: 0000000000000040
RDX: 0000000000000001 RSI: 0000000000000001 RDI: ffffffff806907c0
RBP: ffff8100bf683d40 R08: 0000000000000000 R09: ffff8100bf683c90
R10: ffffffff806a30e0 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000001 R14: 0000000000000000 R15: ffff81000104da58
FS: 0000000000000000(0000) GS:ffffffff8073fac0(0000) knlGS:0000000000000000
CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: 0000000000000000 CR3: 0000000000201000 CR4: 00000000000006e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process swapper (pid: 1, threadinfo ffff8100bf682000, task ffff8100bf688000)
Stack: ffff8100bf683c90 0000000000000001 ffff8100bf683da0 ffffffff8022ee0a
00000000ffffffff 7fffffff00000001 0000000000000001 0000000000000000
0000000000000000 ffff81000104da58 ffff81000104da40 ffff8100bf64e030
Call Trace:
[<ffffffff8022ee0a>] sched_domain_node_span+0x56/0xcb
[<ffffffff8022f199>] __build_sched_domains+0x1aa/0x64d
[<ffffffff8025730b>] mark_held_locks+0x4a/0x6a
[<ffffffff8020b360>] mcount_call+0x5/0x35
[<ffffffff803c1934>] do_check_likely+0x9/0x65
[<ffffffff802a0d20>] kmem_cache_alloc+0xb6/0xd6
[<ffffffff8022face>] arch_init_sched_domains+0x63/0x71
[<ffffffff80763694>] sched_init_smp+0x60/0x119
[<ffffffff80750999>] kernel_init+0xf9/0x2bf
[<ffffffff8020b360>] mcount_call+0x5/0x35
[<ffffffff8020b360>] mcount_call+0x5/0x35
[<ffffffff80526b17>] trace_hardirqs_on_thunk+0x3a/0x3f
[<ffffffff80257582>] trace_hardirqs_on_caller+0x18d/0x1b8
[<ffffffff8020c458>] child_rip+0xa/0x12
[<ffffffff8020bb6f>] restore_args+0x0/0x30
[<ffffffff8024e630>] up+0x14/0x52
[<ffffffff807508a0>] kernel_init+0x0/0x2bf
[<ffffffff8020c44e>] child_rip+0x0/0x12


Code: 00 e8 16 d6 ff ff 48 c7 c0 d8 fc 73 80 eb 2e 31 f6 3b 3d a2 26 53 00 48 c7 c7 c0 07 69 80 40 0f 9d c6 e8 9d 14 1b 00 85 c0 74 04 <0f> 0b eb fe 48 63 c3 48 c1 e0 03 48 03 05 a4 76 60 00 5e 5b c9
RIP [<ffffffff80210492>] _node_to_cpumask_ptr+0x54/0x6a
RSP <ffff8100bf683d30>
---[ end trace 4eaa2a86a8e2da22 ]---
Kernel panic - not syncing: Attempted to kill init!
Pid: 1, comm: swapper Tainted: G D 2.6.26-rc5-mm2-autokern1 #1

Call Trace:
[<ffffffff8023655c>] panic+0xa5/0x163
[<ffffffff8024e630>] up+0x14/0x52
[<ffffffff8024e630>] up+0x14/0x52
[<ffffffff8020b360>] mcount_call+0x5/0x35
[<ffffffff8020b360>] mcount_call+0x5/0x35
[<ffffffff80239536>] do_exit+0xc8/0x8b9
[<ffffffff80402f4c>] get_random_bytes+0x20/0x22
[<ffffffff8020c8de>] oops_begin+0x0/0x9b
[<ffffffff8020d488>] die+0x62/0x6b
[<ffffffff8020d616>] do_trap+0x115/0x124
[<ffffffff8020e344>] do_invalid_op+0xae/0xb7
[<ffffffff80210492>] _node_to_cpumask_ptr+0x54/0x6a
[<ffffffff8025e9bd>] __module_text_address+0x9/0x72
[<ffffffff802487f0>] __kernel_text_address+0x27/0x35
[<ffffffff8020ccba>] dump_trace+0x2fb/0x349
[<ffffffff8020b360>] mcount_call+0x5/0x35
[<ffffffff805276fd>] error_exit+0x0/0xa9
[<ffffffff80210492>] _node_to_cpumask_ptr+0x54/0x6a
[<ffffffff8022ee0a>] sched_domain_node_span+0x56/0xcb
[<ffffffff8022f199>] __build_sched_domains+0x1aa/0x64d
[<ffffffff8025730b>] mark_held_locks+0x4a/0x6a
[<ffffffff8020b360>] mcount_call+0x5/0x35
[<ffffffff803c1934>] do_check_likely+0x9/0x65
[<ffffffff802a0d20>] kmem_cache_alloc+0xb6/0xd6
[<ffffffff8022face>] arch_init_sched_domains+0x63/0x71
[<ffffffff80763694>] sched_init_smp+0x60/0x119
[<ffffffff80750999>] kernel_init+0xf9/0x2bf
[<ffffffff8020b360>] mcount_call+0x5/0x35
[<ffffffff8020b360>] mcount_call+0x5/0x35
[<ffffffff80526b17>] trace_hardirqs_on_thunk+0x3a/0x3f
[<ffffffff80257582>] trace_hardirqs_on_caller+0x18d/0x1b8
[<ffffffff8020c458>] child_rip+0xa/0x12
[<ffffffff8020bb6f>] restore_args+0x0/0x30
[<ffffffff8024e630>] up+0x14/0x52
[<ffffffff807508a0>] kernel_init+0x0/0x2bf
[<ffffffff8020c44e>] child_rip+0x0/0x12


--
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.


Attachments:
config-2.6.26-rc5-mm2-x86-64 (33.74 kB)

2008-06-11 18:09:26

by Rik van Riel

[permalink] [raw]
Subject: Re: 2.6.26-rc5-mm2

On Tue, 10 Jun 2008 18:48:21 +1000
Nick Piggin <[email protected]> wrote:

> > > The tmpfs PageSwapBacked stuff seems rather broken. For
> > > them write_begin/write_end path, it is filemap.c, not shmem.c,
> > > which allocates the page, so its no wonder it goes bug. Will
> > > try to do more testing without shmem.

Fun, so what does shmem_alloc_page do?

> > rikstuff. Could be that the merge caused a problem?
>
> Doesn't look like it, but I hadn't followed the changes too closely:
> rather they just need to test loopback over tmpfs.

Does loopback over tmpfs use a different allocation path?

> Is the plan to merge all reclaim changes in a big hit, rather than
> slowly trickle in the different independent changes?

My original plan was to merge them incrementally, but Andrew is
right that we should give the whole set as much testing as
possible.

I have done all the cleanups Andrew asked and fixed the bugs
that I found after that merge/cleanup. Your bug is the one
I still need to fix before giving Andrew a whole new set of
split LRU patches to merge.

(afterwards, I will go incremental fixes only - the cleanups
he asked for were just too big to do as incrementals)

--
All rights reversed.

2008-06-11 18:10:24

by Jiri Slaby

[permalink] [raw]
Subject: pnp changes -> suspend oops [Was: 2.6.26-rc5-mm2]

On 06/10/2008 07:31 AM, Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.26-rc5/2.6.26-rc5-mm2/

Hi,

I face problems after some of the pnp changes. If this is not known, I may
bisect it, it's 100% reproducible. I have no real logs, It panics prior to
network is woken up to see something on netconsole, I just captured a function
name and an offset of place where it oopses.

pnpacpi_encode_resources, ACPI_RESOURCE_TYPE_DMA case, pnp_get_resource(dev,
IORESOURCE_DMA, dma) returns NULL, which is dereferenced at pnpacpi_encode_dma
at p->flags.

It happens on resume after mem > /sys/power/state.

2008-06-11 18:28:42

by Dave Hansen

[permalink] [raw]
Subject: Re: [BUG] 2.6.26-rc5-mm2 - kernel BUG at arch/x86/kernel/setup.c:388!

On Wed, 2008-06-11 at 23:26 +0530, Kamalesh Babulal wrote:
> Hi Andrew,
>
> The 2.6.26-rc5-mm2 kernel panic's, while booting up on the x86_64
> box with the attached .config file.

Just to save everyone the trouble, it looks like this is a new BUG_ON().

http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.26-rc5/2.6.26-rc5-mm2/broken-out/fix-x86_64-splat.patch

The machine in question is a single-node machine, but with
CONFIG_NUMA=y.





2008-06-11 18:37:39

by Vegard Nossum

[permalink] [raw]
Subject: Re: [BUG] 2.6.26-rc5-mm2 - kernel BUG at arch/x86/kernel/setup.c:388!

On 6/11/08, Dave Hansen <[email protected]> wrote:> On Wed, 2008-06-11 at 23:26 +0530, Kamalesh Babulal wrote:> > Hi Andrew,> >> > The 2.6.26-rc5-mm2 kernel panic's, while booting up on the x86_64> > box with the attached .config file.>>> Just to save everyone the trouble, it looks like this is a new BUG_ON().> > http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.26-rc5/2.6.26-rc5-mm2/broken-out/fix-x86_64-splat.patch>> The machine in question is a single-node machine, but with> CONFIG_NUMA=y.>
Yes. Sorry, I already responded in a separate e-mail (see below), butthat obviously missed all the Ccs. So here it goes again...:
I'm betting
commit a953e4597abd51b74c99e0e3b7074532a60fd031Author: Mike Travis <[email protected]>Date: Mon May 12 21:21:12 2008 +0200
sched: replace MAX_NUMNODES with nr_node_ids in kernel/sched.c
will fix this if it's not in -mm2 already.
The BUG() is simply there to prevent silent corruption. Mike alreadyhas a patch that changes it to a WARN(), but it obviously didn't getthrough (either)...

Vegard

On 6/11/08, Vegard Nossum <[email protected]> wrote:> On 6/9/08, Kamalesh Babulal <[email protected]> wrote:> > Hi Andrew,> >> > The 2.6.26-rc5-mm2 kernel panic's, while booting up on the x86_64> > box with the attached .config file.>> (Please apologize for the strange way of replying to this message. It> seems that LKML gave up delivering to my address, so I'm currently> reading off lkml.org.)>> This should already be fixed, but Andrew refused to apply the patch> before releasing the -mm1 (and -mm2 apparently). I'm attaching the> patch, can you see if it helps?>> Thanks.>>> Vegard
-- "The animistic metaphor of the bug that maliciously sneaked in whilethe programmer was not looking is intellectually dishonest as itdisguises that the error is the programmer's own creation." -- E. W. Dijkstra, EWD1036????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?

2008-06-11 19:04:20

by Bjorn Helgaas

[permalink] [raw]
Subject: Re: pnp changes -> suspend oops [Was: 2.6.26-rc5-mm2]

On Wednesday 11 June 2008 12:08:53 pm Jiri Slaby wrote:
> On 06/10/2008 07:31 AM, Andrew Morton wrote:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.26-rc5/2.6.26-rc5-mm2/
>
> I face problems after some of the pnp changes. If this is not known, I may
> bisect it, it's 100% reproducible. I have no real logs, It panics prior to
> network is woken up to see something on netconsole, I just captured a function
> name and an offset of place where it oopses.
>
> pnpacpi_encode_resources, ACPI_RESOURCE_TYPE_DMA case, pnp_get_resource(dev,
> IORESOURCE_DMA, dma) returns NULL, which is dereferenced at pnpacpi_encode_dma
> at p->flags.
>
> It happens on resume after mem > /sys/power/state.

Thanks for the report, I hadn't heard about this.

We used to always have a resource from the static table to encode
(assuming the table was big enough), even if that resource was
disabled or unassigned. But now we don't keep those around, so
we can end up with null pointers like you're seeing.

Before you go to all the trouble of bisecting it, can you turn on
CONFIG_PNP_DEBUG and try the following debug patch? I think this
will prevent the oops, but it's just papering over the real problem,
so please capture the complete dmesg log.

Bjorn


Index: work10/drivers/pnp/pnpacpi/rsparser.c
===================================================================
--- work10.orig/drivers/pnp/pnpacpi/rsparser.c 2008-06-11 12:46:28.000000000 -0600
+++ work10/drivers/pnp/pnpacpi/rsparser.c 2008-06-11 12:59:43.000000000 -0600
@@ -749,6 +749,11 @@ static void pnpacpi_encode_irq(struct pn
struct acpi_resource_irq *irq = &resource->data.irq;
int triggering, polarity, shareable;

+ if (!p) {
+ dev_err(&dev->dev, " no irq resource to encode!\n");
+ return;
+ }
+
decode_irq_flags(dev, p->flags, &triggering, &polarity, &shareable);
irq->triggering = triggering;
irq->polarity = polarity;
@@ -771,6 +776,11 @@ static void pnpacpi_encode_ext_irq(struc
struct acpi_resource_extended_irq *extended_irq = &resource->data.extended_irq;
int triggering, polarity, shareable;

+ if (!p) {
+ dev_err(&dev->dev, " no extended irq resource to encode!\n");
+ return;
+ }
+
decode_irq_flags(dev, p->flags, &triggering, &polarity, &shareable);
extended_irq->producer_consumer = ACPI_CONSUMER;
extended_irq->triggering = triggering;
@@ -791,6 +801,11 @@ static void pnpacpi_encode_dma(struct pn
{
struct acpi_resource_dma *dma = &resource->data.dma;

+ if (!p) {
+ dev_err(&dev->dev, " no dma resource to encode!\n");
+ return;
+ }
+
/* Note: pnp_assign_dma will copy pnp_dma->flags into p->flags */
switch (p->flags & IORESOURCE_DMA_SPEED_MASK) {
case IORESOURCE_DMA_TYPEA:
@@ -832,6 +847,11 @@ static void pnpacpi_encode_io(struct pnp
{
struct acpi_resource_io *io = &resource->data.io;

+ if (!p) {
+ dev_err(&dev->dev, " no io resource to encode!\n");
+ return;
+ }
+
/* Note: pnp_assign_port will copy pnp_port->flags into p->flags */
io->io_decode = (p->flags & IORESOURCE_IO_16BIT_ADDR) ?
ACPI_DECODE_16 : ACPI_DECODE_10;
@@ -851,6 +871,11 @@ static void pnpacpi_encode_fixed_io(stru
{
struct acpi_resource_fixed_io *fixed_io = &resource->data.fixed_io;

+ if (!p) {
+ dev_err(&dev->dev, " no fixed io resource to encode!\n");
+ return;
+ }
+
fixed_io->address = p->start;
fixed_io->address_length = p->end - p->start + 1;

@@ -864,6 +889,11 @@ static void pnpacpi_encode_mem24(struct
{
struct acpi_resource_memory24 *memory24 = &resource->data.memory24;

+ if (!p) {
+ dev_err(&dev->dev, " no mem24 resource to encode!\n");
+ return;
+ }
+
/* Note: pnp_assign_mem will copy pnp_mem->flags into p->flags */
memory24->write_protect =
(p->flags & IORESOURCE_MEM_WRITEABLE) ?
@@ -884,6 +914,11 @@ static void pnpacpi_encode_mem32(struct
{
struct acpi_resource_memory32 *memory32 = &resource->data.memory32;

+ if (!p) {
+ dev_err(&dev->dev, " no mem32 resource to encode!\n");
+ return;
+ }
+
memory32->write_protect =
(p->flags & IORESOURCE_MEM_WRITEABLE) ?
ACPI_READ_WRITE_MEMORY : ACPI_READ_ONLY_MEMORY;
@@ -903,6 +938,11 @@ static void pnpacpi_encode_fixed_mem32(s
{
struct acpi_resource_fixed_memory32 *fixed_memory32 = &resource->data.fixed_memory32;

+ if (!p) {
+ dev_err(&dev->dev, " no fixed_mem32 resource to encode!\n");
+ return;
+ }
+
fixed_memory32->write_protect =
(p->flags & IORESOURCE_MEM_WRITEABLE) ?
ACPI_READ_WRITE_MEMORY : ACPI_READ_ONLY_MEMORY;

2008-06-11 23:58:57

by Nick Piggin

[permalink] [raw]
Subject: Re: 2.6.26-rc5-mm2

On Thursday 12 June 2008 04:09, Rik van Riel wrote:
> On Tue, 10 Jun 2008 18:48:21 +1000
>
> Nick Piggin <[email protected]> wrote:
> > > > The tmpfs PageSwapBacked stuff seems rather broken. For
> > > > them write_begin/write_end path, it is filemap.c, not shmem.c,
> > > > which allocates the page, so its no wonder it goes bug. Will
> > > > try to do more testing without shmem.
>
> Fun, so what does shmem_alloc_page do?
>
> > > rikstuff. Could be that the merge caused a problem?
> >
> > Doesn't look like it, but I hadn't followed the changes too closely:
> > rather they just need to test loopback over tmpfs.
>
> Does loopback over tmpfs use a different allocation path?

I'm sorry, hmm I didn't look closely enough and forgot that
write_begin/write_end requires the callee to allocate the page
as well, and that Hugh had nicely unified most of that.

So maybe it's not that. It's pretty easy to hit I found with
ext2 mounted over loopback on a tmpfs file.


> > Is the plan to merge all reclaim changes in a big hit, rather than
> > slowly trickle in the different independent changes?
>
> My original plan was to merge them incrementally, but Andrew is
> right that we should give the whole set as much testing as
> possible.
>
> I have done all the cleanups Andrew asked and fixed the bugs
> that I found after that merge/cleanup. Your bug is the one
> I still need to fix before giving Andrew a whole new set of
> split LRU patches to merge.
>
> (afterwards, I will go incremental fixes only - the cleanups
> he asked for were just too big to do as incrementals)

OK.

2008-06-12 06:56:08

by Kamalesh Babulal

[permalink] [raw]
Subject: Re: [BUG] 2.6.26-rc5-mm2 - kernel BUG at arch/x86/kernel/setup.c:388!

Vegard Nossum wrote:
> On 6/11/08, Dave Hansen <[email protected]> wrote:
>> On Wed, 2008-06-11 at 23:26 +0530, Kamalesh Babulal wrote:
>> > Hi Andrew,
>> >
>> > The 2.6.26-rc5-mm2 kernel panic's, while booting up on the x86_64
>> > box with the attached .config file.
>>
>>
>> Just to save everyone the trouble, it looks like this is a new BUG_ON().
>> 
>> http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.26-rc5/2.6.26-rc5-mm2/broken-out/fix-x86_64-splat.patch
>>
>> The machine in question is a single-node machine, but with
>> CONFIG_NUMA=y.
>>
>
> Yes. Sorry, I already responded in a separate e-mail (see below), but
> that obviously missed all the Ccs. So here it goes again...:
>
> I'm betting
>
> commit a953e4597abd51b74c99e0e3b7074532a60fd031
> Author: Mike Travis <[email protected]>
> Date: Mon May 12 21:21:12 2008 +0200
>
> sched: replace MAX_NUMNODES with nr_node_ids in kernel/sched.c
>
> will fix this if it's not in -mm2 already.
>
> The BUG() is simply there to prevent silent corruption. Mike already
> has a patch that changes it to a WARN(), but it obviously didn't get
> through (either)...
>
>
> Vegard
Hi,

Thanks, the patch fixes the kernel oops.

>
>
> On 6/11/08, Vegard Nossum <[email protected]> wrote:
>> On 6/9/08, Kamalesh Babulal <[email protected]> wrote:
>> > Hi Andrew,
>> >
>> > The 2.6.26-rc5-mm2 kernel panic's, while booting up on the x86_64
>> > box with the attached .config file.
>>
>> (Please apologize for the strange way of replying to this message. It
>> seems that LKML gave up delivering to my address, so I'm currently
>> reading off lkml.org.)
>>
>> This should already be fixed, but Andrew refused to apply the patch
>> before releasing the -mm1 (and -mm2 apparently). I'm attaching the
>> patch, can you see if it helps?
>>
>> Thanks.
>>
>>
>> Vegard
>


--
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.

2008-06-12 08:14:08

by Helge Hafting

[permalink] [raw]
Subject: Re: 2.6.26-rc5-mm2 compile error in vmscan.c

Andrew Morton wrote:
> Thanks. I guess this will get you going.
>
Thanks, that did the trick. It compiled fine this time.

Helge Hafting

2008-06-12 19:29:25

by Rik van Riel

[permalink] [raw]
Subject: Re: 2.6.26-rc5-mm2

On Thu, 12 Jun 2008 09:58:38 +1000
Nick Piggin <[email protected]> wrote:

> > Does loopback over tmpfs use a different allocation path?
>
> I'm sorry, hmm I didn't look closely enough and forgot that
> write_begin/write_end requires the callee to allocate the page
> as well, and that Hugh had nicely unified most of that.
>
> So maybe it's not that. It's pretty easy to hit I found with
> ext2 mounted over loopback on a tmpfs file.

Turns out the loopback driver uses splice, which moves
the pages from one place to another. This is why you
were seeing the problem with loopback, but not with
just a really big file on tmpfs.

I'm trying to make sense of all the splice code now
and will send fix as soon as I know how to fix this
problem in a nice way.

--
All Rights Reversed

2008-06-12 21:11:30

by Jiri Slaby

[permalink] [raw]
Subject: Re: pnp changes -> suspend oops [Was: 2.6.26-rc5-mm2]

On 06/11/2008 09:03 PM, Bjorn Helgaas wrote:
> On Wednesday 11 June 2008 12:08:53 pm Jiri Slaby wrote:
>> On 06/10/2008 07:31 AM, Andrew Morton wrote:
>>> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.26-rc5/2.6.26-rc5-mm2/
>> I face problems after some of the pnp changes. If this is not known, I may
>> bisect it, it's 100% reproducible. I have no real logs, It panics prior to
>> network is woken up to see something on netconsole, I just captured a function
>> name and an offset of place where it oopses.
>>
>> pnpacpi_encode_resources, ACPI_RESOURCE_TYPE_DMA case, pnp_get_resource(dev,
>> IORESOURCE_DMA, dma) returns NULL, which is dereferenced at pnpacpi_encode_dma
>> at p->flags.
>>
>> It happens on resume after mem > /sys/power/state.
>
> Thanks for the report, I hadn't heard about this.
>
> We used to always have a resource from the static table to encode
> (assuming the table was big enough), even if that resource was
> disabled or unassigned. But now we don't keep those around, so
> we can end up with null pointers like you're seeing.
>
> Before you go to all the trouble of bisecting it, can you turn on
> CONFIG_PNP_DEBUG and try the following debug patch? I think this
> will prevent the oops, but it's just papering over the real problem,
> so please capture the complete dmesg log.

ACPI: PCI interrupt for device 0000:00:02.0 disabled
serial 00:07: disabled
serial 00:06: disabled
ACPI handle has no context!
ACPI: PCI interrupt for device 0000:00:1d.7 disabled
...
serial 00:06: no dma resource to encode!
serial 00:06: activated
serial 00:07: no dma resource to encode!
serial 00:07: activated
ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16

2008-06-12 21:16:33

by Hugh Dickins

[permalink] [raw]
Subject: Re: 2.6.26-rc5-mm2 (swap_state.c:77)

On Thu, 12 Jun 2008, Rik van Riel wrote:
> On Thu, 12 Jun 2008 09:58:38 +1000
> Nick Piggin <[email protected]> wrote:
>
> > > Does loopback over tmpfs use a different allocation path?
> >
> > I'm sorry, hmm I didn't look closely enough and forgot that
> > write_begin/write_end requires the callee to allocate the page
> > as well, and that Hugh had nicely unified most of that.
> >
> > So maybe it's not that. It's pretty easy to hit I found with
> > ext2 mounted over loopback on a tmpfs file.

The loop-on-tmpfs write side is okay nowaways, but the read side
still has to use shmem_readpage, with page passed in from splice.

> Turns out the loopback driver uses splice, which moves
> the pages from one place to another. This is why you
> were seeing the problem with loopback, but not with
> just a really big file on tmpfs.
>
> I'm trying to make sense of all the splice code now
> and will send fix as soon as I know how to fix this
> problem in a nice way.

There's no need to make sense of all the splice code, it's just
that it's doing add_to_page_cache_lru (on a page not marked as
SwapBacked), then shmem and swap_state consistency relies on it
as having been marked as SwapBacked. Normally, yes, shmem_getpage
is the one that allocates the page, but in this case it's already
been done outside, awkward (and long predates loop's use of splice).

It's remarkably hard to correct the LRU of a page once it's been
launched towards one. Is it still on this cpu's pagevec? Have we
been preempted and it's on another cpu's pagevec? If it's reached
the LRU, has vmscan whisked it off for a moment, even though it's
PageLocked? Until now it's been that the LRUs are self-correcting,
but these patches move away from that.

I don't know how to fix this problem in a nice way. For the moment,
to proceed with testing, I'm using the hack below. But perhaps that
screws things up for the other !mapping_cap_account_dirty filesystems
e.g. ramfs, I just haven't tried them yet - nor shall in the next
couple of days.

It could be turned into a proper bdi check of its own, instead of
parasiting off cap_account_dirty. But I'm not yet convinced by any
of the PageSwapBacked stuff, so currently preferring a quick hack
to a grand scheme.

It's not clear to me why tmpfs file pages should be counted as anon
pages rather than file pages; though it is clear that switching their
LRU midstream, when swizzled to swap, can have implementation problems.

I don't really get why SwapBacked is the important consideration:
I can see that you may want different balancing for pages mapped
into userspace from pages just cached in kernel; but SwapBacked?

Am I right to think that the memcontrol stuff is now all broken,
because memcontrol.c hasn't yet been converted to the more LRUs?
Certainly I'm now hanging when trying to run in a restricted memcg.

Unrelated fix to compiler warning and silly /proc/meminfo numbers
below too, that one raises fewer questions!

Hugh

--- 2.6.26-rc5-mm3/mm/filemap.c 2008-06-12 11:03:35.000000000 +0100
+++ linux/mm/filemap.c 2008-06-12 21:28:43.000000000 +0100
@@ -496,6 +496,8 @@ int add_to_page_cache_lru(struct page *p
{
int ret = add_to_page_cache(page, mapping, offset, gfp_mask);
if (ret == 0) {
+ if (!mapping_cap_account_dirty(mapping))
+ SetPageSwapBacked(page);
if (page_is_file_cache(page))
lru_cache_add_file(page);
else
--- 2.6.26-rc5-mm3/fs/proc/proc_misc.c 2008-06-12 11:03:28.000000000 +0100
+++ linux/fs/proc/proc_misc.c 2008-06-12 16:58:34.000000000 +0100
@@ -216,7 +216,7 @@ static int meminfo_read_proc(char *page,
K(pages[LRU_INACTIVE_FILE]),
#ifdef CONFIG_UNEVICTABLE_LRU
K(pages[LRU_UNEVICTABLE]),
- K(pages[NR_MLOCK]),
+ K(global_page_state(NR_MLOCK)),
#endif
#ifdef CONFIG_HIGHMEM
K(i.totalhigh),

2008-06-12 21:23:22

by Bjorn Helgaas

[permalink] [raw]
Subject: Re: pnp changes -> suspend oops [Was: 2.6.26-rc5-mm2]

On Thursday 12 June 2008 03:10:04 pm Jiri Slaby wrote:
> On 06/11/2008 09:03 PM, Bjorn Helgaas wrote:
> > On Wednesday 11 June 2008 12:08:53 pm Jiri Slaby wrote:
> >> On 06/10/2008 07:31 AM, Andrew Morton wrote:
> >>> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.26-rc5/2.6.26-rc5-mm2/
> >> I face problems after some of the pnp changes. If this is not known, I may
> >> bisect it, it's 100% reproducible. I have no real logs, It panics prior to
> >> network is woken up to see something on netconsole, I just captured a function
> >> name and an offset of place where it oopses.
> >>
> >> pnpacpi_encode_resources, ACPI_RESOURCE_TYPE_DMA case, pnp_get_resource(dev,
> >> IORESOURCE_DMA, dma) returns NULL, which is dereferenced at pnpacpi_encode_dma
> >> at p->flags.
> >>
> >> It happens on resume after mem > /sys/power/state.
> >
> > Thanks for the report, I hadn't heard about this.
> >
> > We used to always have a resource from the static table to encode
> > (assuming the table was big enough), even if that resource was
> > disabled or unassigned. But now we don't keep those around, so
> > we can end up with null pointers like you're seeing.
> >
> > Before you go to all the trouble of bisecting it, can you turn on
> > CONFIG_PNP_DEBUG and try the following debug patch? I think this
> > will prevent the oops, but it's just papering over the real problem,
> > so please capture the complete dmesg log.
>
> ACPI: PCI interrupt for device 0000:00:02.0 disabled
> serial 00:07: disabled
> serial 00:06: disabled
> ACPI handle has no context!
> ACPI: PCI interrupt for device 0000:00:1d.7 disabled
> ...
> serial 00:06: no dma resource to encode!
> serial 00:06: activated
> serial 00:07: no dma resource to encode!
> serial 00:07: activated
> ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16

Interesting. I wonder why a serial device would have a DMA resource.
We encode resources by following a template from _CRS, so evidently
that template had a DMA resource. Or something deeper is wrong.

Can you send me the rest of that dmesg log?

I take it that with the debug patch, your system is functional
after resume?

Bjorn

2008-06-12 21:40:45

by Jiri Slaby

[permalink] [raw]
Subject: Re: pnp changes -> suspend oops [Was: 2.6.26-rc5-mm2]

On 06/12/2008 11:22 PM, Bjorn Helgaas wrote:
> On Thursday 12 June 2008 03:10:04 pm Jiri Slaby wrote:
>> On 06/11/2008 09:03 PM, Bjorn Helgaas wrote:
>>> Before you go to all the trouble of bisecting it, can you turn on
>>> CONFIG_PNP_DEBUG and try the following debug patch? I think this
>>> will prevent the oops, but it's just papering over the real problem,
>>> so please capture the complete dmesg log.
>> ACPI: PCI interrupt for device 0000:00:02.0 disabled
>> serial 00:07: disabled
>> serial 00:06: disabled
>> ACPI handle has no context!
>> ACPI: PCI interrupt for device 0000:00:1d.7 disabled
>> ...
>> serial 00:06: no dma resource to encode!
>> serial 00:06: activated
>> serial 00:07: no dma resource to encode!
>> serial 00:07: activated
>> ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16
>
> Interesting. I wonder why a serial device would have a DMA resource.
> We encode resources by following a template from _CRS, so evidently
> that template had a DMA resource. Or something deeper is wrong.
>
> Can you send me the rest of that dmesg log?

Below.

> I take it that with the debug patch, your system is functional
> after resume?

Yes, it is :).

Linux version 2.6.26-rc5-mm3_64 (ku@bellona) (gcc version 4.3.1 20080507
(prerelease) [gcc-4_3-branch revision 135036] (SUSE Linux) ) #421 SMP Thu Jun 12
22:59:48 CEST 2008
Command line: root=/dev/md1 vga=1 ro reboot=a,w slub_debug
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009ec00 (usable)
BIOS-e820: 000000000009ec00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000007d5b0000 (usable)
BIOS-e820: 000000007d5b0000 - 000000007d5be000 (ACPI data)
BIOS-e820: 000000007d5be000 - 000000007d5f0000 (ACPI NVS)
BIOS-e820: 000000007d5f0000 - 000000007d600000 (reserved)
BIOS-e820: 00000000fed90000 - 00000000fed94000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
last_pfn = 513456 max_arch_pfn = 17179869183
x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
init_memory_mapping
DMI present.
ACPI: RSDP 000F9990, 0024 (r2 ACPIAM)
ACPI: XSDT 7D5B0100, 0064 (r1 A M I OEMXSDT 5000708 MSFT 97)
ACPI: FACP 7D5B0290, 00F4 (r3 A M I OEMFACP 5000708 MSFT 97)
ACPI: DSDT 7D5B0490, 6643 (r1 SDBLI9 SDBLI944 44 INTL 20051117)
ACPI: FACS 7D5BE000, 0040
ACPI: APIC 7D5B0390, 006C (r1 A M I OEMAPIC 5000708 MSFT 97)
ACPI: MCFG 7D5B0450, 003C (r1 A M I OEMMCFG 5000708 MSFT 97)
ACPI: OEMB 7D5BE040, 0079 (r1 A M I AMI_OEM 5000708 MSFT 97)
ACPI: HPET 7D5B6AE0, 0038 (r1 A M I OEMHPET 5000708 MSFT 97)
ACPI: GSCI 7D5BE0C0, 2024 (r1 A M I GMCHSCI 5000708 MSFT 97)
ACPI: iEIT 7D5C00F0, 00B0 (r1 A M I EITTABLE 5000708 MSFT 97)
ACPI: DMAR 7D5B6BC0, 0118 (r1 A M I OEMDMAR 1 MSFT 97)
early res: 0 [0-fff] BIOS data page
early res: 1 [6000-7fff] TRAMPOLINE
early res: 2 [200000-7cd447] TEXT DATA BSS
early res: 3 [9ec00-fffff] BIOS reserved
early res: 4 [8000-afff] PGTABLE
Scan SMP from ffff810000000000 for 1024 bytes.
Scan SMP from ffff81000009fc00 for 1024 bytes.
Scan SMP from ffff8100000f0000 for 65536 bytes.
[ffffe20000000000-ffffe20001bfffff] PMD -> [ffff810001200000-ffff810002dfffff]
on node 0
sizeof(struct page) = 56
Zone PFN ranges:
DMA 0 -> 4096
DMA32 4096 -> 1048576
Normal 1048576 -> 1048576
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
0: 0 -> 158
0: 256 -> 513456
On node 0 totalpages: 513358
DMA zone: 2352 pages, LIFO batch:0
DMA32 zone: 502396 pages, LIFO batch:31
ACPI: PM-Timer IO Port: 0x808
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x82] disabled)
ACPI: LAPIC (acpi_id[0x04] lapic_id[0x83] disabled)
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 0, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 20 low level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
Setting APIC routing to flat
ACPI: HPET id: 0x8086a301 base: 0xfed00000
Using ACPI (MADT) for SMP configuration information
PM: Registered nosave memory: 000000000009e000 - 000000000009f000
PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
PM: Registered nosave memory: 00000000000a0000 - 00000000000e0000
PM: Registered nosave memory: 00000000000e0000 - 0000000000100000
Allocating PCI resources starting at 80000000 (gap: 7d600000:81790000)
SMP: Allowing 4 CPUs, 2 hotplug CPUs
PERCPU: Allocating 35184 bytes of per cpu data
NR_CPUS: 4, nr_cpu_ids: 4, nr_node_ids 1
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 504748
Kernel command line: root=/dev/md1 vga=1 ro reboot=a,w slub_debug
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
Extended CMOS year: 2000
TSC calibrated against PM_TIMER
time.c: Detected 2992.466 MHz processor.
Console: colour VGA+ 80x50
console [tty0] enabled
Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
Checking aperture...
No AGP bridge found
Memory: 2014740k/2053824k available (3404k kernel code, 38056k reserved, 1500k
data, 280k init)
CPA: page pool initialized 1 of 1 pages preallocated
SLUB: Genslabs=12, HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
hpet clockevent registered
Calibrating delay using timer specific routine.. 5992.29 BogoMIPS (lpj=11984590)
Mount-cache hash table entries: 256
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L3 cache: 4096K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
CPU0: Thermal monitoring enabled (TM2)
using mwait in idle threads.
ACPI: Core revision 20080321
CPU0: Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz stepping 0b
Using local APIC timer interrupts.
APIC timer calibration result 20781019
Detected 20.781 MHz APIC timer.
Booting processor 1/1 ip 6000
Initializing CPU#1
Calibrating delay using timer specific routine.. 5984.99 BogoMIPS (lpj=11969999)
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L3 cache: 4096K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
CPU1: Thermal monitoring enabled (TM2)
x86 PAT enabled: cpu 1, old 0x7040600070406, new 0x7010600070106
CPU1: Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz stepping 0b
checking TSC synchronization [CPU#0 -> CPU#1]: passed.
Brought up 2 CPUs
Total of 2 processors activated (11977.29 BogoMIPS).
net_namespace: 568 bytes
NET: Registered protocol family 16
No dock devices found.
ACPI: bus type pci registered
PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255
PCI: Not using MMCONFIG.
PCI: Using configuration type 1 for base access
ACPI: EC: Look up EC in DSDT
ACPI: BIOS _OSI(Linux) query ignored
ACPI: DMI System Vendor: To Be Filled By O.E.M.
ACPI: DMI Product Name: To Be Filled By O.E.M.
ACPI: DMI Product Version: To Be Filled By O.E.M.
ACPI: DMI Board Name: To be filled by O.E.M.
ACPI: DMI BIOS Vendor: American Megatrends Inc.
ACPI: DMI BIOS Date: 05/08/2007
ACPI: Please send DMI info above to [email protected]
ACPI: If "acpi_osi=Linux" works better, please notify [email protected]
ACPI: Interpreter enabled
ACPI: (supports S0 S1 S3 S4 S5)
ACPI: Using IOAPIC for interrupt routing
PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255
PCI: MCFG area at e0000000 reserved in ACPI motherboard resources
PCI: Using MMCONFIG at e0000000 - efffffff
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Transparent bridge - 0000:00:1e.0
bus 00 -> node 0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P4._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P6._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 *5 6 7 10 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 *10 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 10 *12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 10 12 14 *15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 12 *14 15)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 *7 10 12 14 15)
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 *10 12 14 15)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 10 *12 14 15)
ACPI Warning (tbutils-0217): Incorrect checksum in table [OEMB] - C7, should be
BC [20080321]
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 23 devices
ACPI: ACPI bus type pnp unregistered
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Using ACPI for IRQ routing
PCI-GART: No AMD northbridge found.
hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0
hpet0: 4 64-bit timers, 14318180 Hz
tracer: 1286 pages allocated for 65536<6> entries of 80 bytes
actual entries 65586
ACPI: RTC can wake from S4
system 00:01: iomem range 0xfed14000-0xfed19fff has been reserved
system 00:09: ioport range 0xa20-0xa3f has been reserved
system 00:09: ioport range 0xa00-0xa0f has been reserved
system 00:09: ioport range 0xa10-0xa1f has been reserved
system 00:09: ioport range 0xa40-0xa5f has been reserved
system 00:0a: ioport range 0x4d0-0x4d1 has been reserved
system 00:0a: ioport range 0x800-0x87f has been reserved
system 00:0a: ioport range 0x480-0x4bf has been reserved
system 00:0a: iomem range 0xfed1c000-0xfed1ffff has been reserved
system 00:0a: iomem range 0xfed20000-0xfed8ffff has been reserved
system 00:0e: iomem range 0xffc00000-0xffefffff could not be reserved
system 00:0f: iomem range 0xfec00000-0xfec00fff has been reserved
system 00:0f: iomem range 0xfee00000-0xfee00fff could not be reserved
system 00:10: iomem range 0xe0000000-0xefffffff has been reserved
system 00:12: iomem range 0xfed90000-0xfed90fff could not be reserved
system 00:13: iomem range 0xfed91000-0xfed91fff could not be reserved
system 00:14: iomem range 0xfed92000-0xfed92fff could not be reserved
system 00:15: iomem range 0xfed93000-0xfed93fff could not be reserved
system 00:16: iomem range 0x0-0x9ffff could not be reserved
system 00:16: iomem range 0xc0000-0xcffff has been reserved
system 00:16: iomem range 0xe0000-0xfffff could not be reserved
system 00:16: iomem range 0x100000-0x7d5fffff could not be reserved
PCI: Bridge: 0000:00:1c.0
IO window: disabled.
MEM window: disabled.
PREFETCH window: disabled.
PCI: Bridge: 0000:02:00.0
IO window: disabled.
MEM window: 0xff600000-0xff6fffff
PREFETCH window: disabled.
PCI: Bridge: 0000:00:1c.2
IO window: disabled.
MEM window: 0xff600000-0xff6fffff
PREFETCH window: disabled.
PCI: Bridge: 0000:00:1e.0
IO window: disabled.
MEM window: disabled.
PREFETCH window: disabled.
ACPI: PCI Interrupt 0000:00:1c.0[A] -> GSI 17 (level, low) -> IRQ 17
Int: type 0, pol 3, trig 3, bus 00, IRQ 70, APIC ID 2, APIC INT 11
PCI: Setting latency timer of device 0000:00:1c.0 to 64
ACPI: PCI Interrupt 0000:00:1c.2[C] -> GSI 18 (level, low) -> IRQ 18
Int: type 0, pol 3, trig 3, bus 00, IRQ 72, APIC ID 2, APIC INT 12
PCI: Setting latency timer of device 0000:00:1c.2 to 64
PCI: Setting latency timer of device 0000:02:00.0 to 64
PCI: Setting latency timer of device 0000:00:1e.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 65536 (order: 7, 524288 bytes)
TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 262144 bind 65536)
TCP reno registered
NET: Registered protocol family 1
msgmni has been set to 3936
io scheduler noop registered
io scheduler cfq registered (default)
pci 0000:00:02.0: Boot video device
PCI: Setting latency timer of device 0000:00:1c.0 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:1c.0:pcie00]
Allocate Port Service[0000:00:1c.0:pcie02]
Allocate Port Service[0000:00:1c.0:pcie03]
PCI: Setting latency timer of device 0000:00:1c.2 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:1c.2:pcie00]
Allocate Port Service[0000:00:1c.2:pcie02]
Allocate Port Service[0000:00:1c.2:pcie03]
input: Power Button (FF) as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
ACPI: Power Button (FF) [PWRF]
input: Power Button (CM) as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input1
ACPI: Power Button (CM) [PWRB]
Switched to high resolution mode on CPU 1
Switched to high resolution mode on CPU 0
hpet_resources: 0xfed00000 is busy
Linux agpgart interface v0.103
agpgart: Detected an Intel G33 Chipset.
agpgart: Detected 6140K stolen memory.
agpgart: AGP aperture is 256M @ 0xd0000000
[drm] Initialized drm 1.1.0 20060810
ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16
Int: type 0, pol 3, trig 3, bus 00, IRQ 08, APIC ID 2, APIC INT 10
PCI: Setting latency timer of device 0000:00:02.0 to 64
[drm] Initialized i915 1.6.0 20060119 on minor 0
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:07: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ACPI: PCI Interrupt 0000:00:03.3[B] -> GSI 17 (level, low) -> IRQ 17
Int: type 0, pol 3, trig 3, bus 00, IRQ 0d, APIC ID 2, APIC INT 11
Couldn't register serial port 0000:00:03.3: -28
loop: module loaded
e1000e: Intel(R) PRO/1000 Network Driver - 0.3.3.3-k2
e1000e: Copyright (c) 1999-2008 Intel Corporation.
ACPI: PCI Interrupt 0000:00:19.0[A] -> GSI 20 (level, low) -> IRQ 20
Int: type 0, pol 3, trig 3, bus 00, IRQ 64, APIC ID 2, APIC INT 14
PCI: Setting latency timer of device 0000:00:19.0 to 64
eth0: (PCI Express:2.5GB/s:Width x1) 00:13:20:f5:f2:1d
eth0: Intel(R) PRO/1000 Network Connection
eth0: MAC: 5, PHY: 6, PBA No: ffffff-0ff
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
console [netcon0] enabled
netconsole: network logging started
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
ahci 0000:00:1f.2: version 3.0
ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 19
Int: type 0, pol 3, trig 3, bus 00, IRQ 7d, APIC ID 2, APIC INT 13
ahci 0000:00:1f.2: AHCI 0001.0200 32 slots 6 ports ? Gbps 0x3f impl SATA mode
ahci 0000:00:1f.2: flags: 64bit ncq sntf stag led clo pmp pio slum part
PCI: Setting latency timer of device 0000:00:1f.2 to 64
scsi0 : ahci
scsi1 : ahci
scsi2 : ahci
scsi3 : ahci
scsi4 : ahci
scsi5 : ahci
ata1: SATA max UDMA/133 abar m2048@0xffa78800 port 0xffa78900 irq 221
ata2: SATA max UDMA/133 abar m2048@0xffa78800 port 0xffa78980 irq 221
ata3: SATA max UDMA/133 abar m2048@0xffa78800 port 0xffa78a00 irq 221
ata4: SATA max UDMA/133 irq_stat 0x00000040, connection status changed irq 221
ata5: SATA max UDMA/133 abar m2048@0xffa78800 port 0xffa78b00 irq 221
ata6: SATA max UDMA/133 abar m2048@0xffa78800 port 0xffa78b80 irq 221
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: ATA-7: HDT722516DLA380, V43OA96A, max UDMA/133
ata1.00: 321672960 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata1.00: configured for UDMA/133
ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata2.00: ATA-7: ST380811AS, 3.AAE, max UDMA/133
ata2.00: 156301488 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata2.00: configured for UDMA/133
ata3: SATA link down (SStatus 0 SControl 300)
ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata4.00: ATAPI: PLEXTOR DVDR PX-755A, 1.04, max UDMA/66
ata4.00: configured for UDMA/66
ata5: SATA link down (SStatus 0 SControl 300)
ata6: SATA link down (SStatus 0 SControl 300)
scsi 0:0:0:0: Direct-Access ATA HDT722516DLA380 V43O PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 321672960 512-byte hardware sectors (164697 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO
or FUA
sd 0:0:0:0: [sda] 321672960 512-byte hardware sectors (164697 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO
or FUA
sda: sda2 sda3 sda4 < sda5 sda6 sda7 >
sd 0:0:0:0: [sda] Attached SCSI disk
scsi 1:0:0:0: Direct-Access ATA ST380811AS 3.AA PQ: 0 ANSI: 5
sd 1:0:0:0: [sdb] 156301488 512-byte hardware sectors (80026 MB)
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO
or FUA
sd 1:0:0:0: [sdb] 156301488 512-byte hardware sectors (80026 MB)
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO
or FUA
sdb: sdb1 sdb2 sdb3 sdb4 < sdb5 sdb6 sdb7 sdb8 >
sd 1:0:0:0: [sdb] Attached SCSI disk
scsi 3:0:0:0: CD-ROM PLEXTOR DVDR PX-755A 1.04 PQ: 0 ANSI: 5
sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 3:0:0:0: Attached scsi CD-ROM sr0
ACPI: PCI Interrupt 0000:00:1a.7[D] -> GSI 19 (level, low) -> IRQ 19
Int: type 0, pol 3, trig 3, bus 00, IRQ 6b, APIC ID 2, APIC INT 13
PCI: Setting latency timer of device 0000:00:1a.7 to 64
ehci_hcd 0000:00:1a.7: EHCI Host Controller
ehci_hcd 0000:00:1a.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1a.7: debug port 1
PCI: cache line size of 32 is not supported by device 0000:00:1a.7
ehci_hcd 0000:00:1a.7: irq 19, io mem 0xffa7b400
ehci_hcd 0000:00:1a.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 23
Int: type 0, pol 3, trig 3, bus 00, IRQ 74, APIC ID 2, APIC INT 17
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 2
ehci_hcd 0000:00:1d.7: debug port 1
PCI: cache line size of 32 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: irq 23, io mem 0xffa7b000
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 6 ports detected
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt 0000:00:1a.0[A] -> GSI 16 (level, low) -> IRQ 16
Int: type 0, pol 3, trig 3, bus 00, IRQ 68, APIC ID 2, APIC INT 10
PCI: Setting latency timer of device 0000:00:1a.0 to 64
uhci_hcd 0000:00:1a.0: UHCI Host Controller
uhci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1a.0: irq 16, io base 0x0000d880
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1a.1[B] -> GSI 21 (level, low) -> IRQ 21
Int: type 0, pol 3, trig 3, bus 00, IRQ 69, APIC ID 2, APIC INT 15
PCI: Setting latency timer of device 0000:00:1a.1 to 64
uhci_hcd 0000:00:1a.1: UHCI Host Controller
uhci_hcd 0000:00:1a.1: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1a.1: irq 21, io base 0x0000d800
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1a.2[C] -> GSI 18 (level, low) -> IRQ 18
Int: type 0, pol 3, trig 3, bus 00, IRQ 6a, APIC ID 2, APIC INT 12
PCI: Setting latency timer of device 0000:00:1a.2 to 64
uhci_hcd 0000:00:1a.2: UHCI Host Controller
uhci_hcd 0000:00:1a.2: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:1a.2: irq 18, io base 0x0000d480
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 23
Int: type 0, pol 3, trig 3, bus 00, IRQ 74, APIC ID 2, APIC INT 17
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 6
uhci_hcd 0000:00:1d.0: irq 23, io base 0x0000d400
usb usb6: configuration #1 chosen from 1 choice
hub 6-0:1.0: USB hub found
hub 6-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 19
Int: type 0, pol 3, trig 3, bus 00, IRQ 75, APIC ID 2, APIC INT 13
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 7
uhci_hcd 0000:00:1d.1: irq 19, io base 0x0000d080
usb usb7: configuration #1 chosen from 1 choice
hub 7-0:1.0: USB hub found
hub 7-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.2[D] -> GSI 16 (level, low) -> IRQ 16
Int: type 0, pol 3, trig 3, bus 00, IRQ 77, APIC ID 2, APIC INT 10
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 8
uhci_hcd 0000:00:1d.2: irq 16, io base 0x0000d000
usb usb8: configuration #1 chosen from 1 choice
hub 8-0:1.0: USB hub found
hub 8-0:1.0: 2 ports detected
usb 6-1: new full speed USB device using uhci_hcd and address 2
PNP: No PS/2 controller found. Probing ports directly.
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
ACPI: PCI Interrupt 0000:00:1f.3[C] -> GSI 18 (level, low) -> IRQ 18
Int: type 0, pol 3, trig 3, bus 00, IRQ 7e, APIC ID 2, APIC INT 12
usb 6-1: configuration #1 chosen from 1 choice
hub 6-1:1.0: USB hub found
hub 6-1:1.0: 3 ports detected
coretemp coretemp.0: Using relative temperature scale!
coretemp coretemp.1: Using relative temperature scale!
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
device-mapper: ioctl: 4.13.0-ioctl (2007-10-18) initialised: [email protected]
cpuidle: using governor ladder
cpuidle: using governor menu
Advanced Linux Sound Architecture Driver Version 1.0.17rc1.
ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 22
Int: type 0, pol 3, trig 3, bus 00, IRQ 6c, APIC ID 2, APIC INT 16
PCI: Setting latency timer of device 0000:00:1b.0 to 64
usb 6-1.1: new full speed USB device using uhci_hcd and address 3
usb 6-1.1: configuration #1 chosen from 1 choice
ALSA device list:
#0: HDA Intel at 0xffa70000 irq 22
TCP cubic registered
NET: Registered protocol family 10
NET: Registered protocol family 17
PM: Resume from partition /dev/sda2
PM: Checking hibernation image.
PM: Resume from disk failed.
registered taskstats version 1
/home/l/latest/xxx/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
md: Autodetecting RAID arrays.
usb 6-1.2: new low speed USB device using uhci_hcd and address 4
md: Scanned 6 and added 6 devices.
md: autorun ...
md: considering sdb5 ...
md: adding sdb5 ...
md: sdb3 has different UUID to sdb5
md: sdb2 has different UUID to sdb5
md: adding sda5 ...
md: sda3 has different UUID to sdb5
md: sda2 has different UUID to sdb5
md: created md3
md: bind<sda5>
md: bind<sdb5>
md: running: <sdb5><sda5>
raid1: raid set md3 active with 2 out of 2 mirrors
md: considering sdb3 ...
md: adding sdb3 ...
md: sdb2 has different UUID to sdb3
md: adding sda3 ...
md: sda2 has different UUID to sdb3
md: created md2
md: bind<sda3>
md: bind<sdb3>
md: running: <sdb3><sda3>
md2: setting max_sectors to 128, segment boundary to 32767
raid0: looking at sdb3
raid0: comparing sdb3(11984384) with sdb3(11984384)
raid0: END
raid0: ==> UNIQUE
raid0: 1 zones
raid0: looking at sda3
raid0: comparing sda3(11984384) with sdb3(11984384)
raid0: EQUAL
raid0: FINAL 1 zones
raid0: done.
raid0 : md_size is 23968768 blocks.
raid0 : conf->hash_spacing is 23968768 blocks.
raid0 : nb_zone is 1.
raid0 : Allocating 8 bytes for hash.
md: considering sdb2 ...
md: adding sdb2 ...
md: adding sda2 ...
md: created md1
md: bind<sda2>
md: bind<sdb2>
md: running: <sdb2><sda2>
md1: setting max_sectors to 128, segment boundary to 32767
raid0: looking at sdb2
raid0: comparing sdb2(4891712) with sdb2(4891712)
raid0: END
raid0: ==> UNIQUE
raid0: 1 zones
raid0: looking at sda2
raid0: comparing sda2(4891648) with sdb2(4891712)
raid0: NOT EQUAL
raid0: comparing sda2(4891648) with sda2(4891648)
raid0: END
raid0: ==> UNIQUE
raid0: 2 zones
raid0: FINAL 2 zones
raid0: zone 1
raid0: checking sdb2 ... contained as device 0
(4891712) is smallest!.
raid0: checking sda2 ... nope.
raid0: zone->nb_dev: 1, size: 64
raid0: current zone offset: 4891712
raid0: done.
raid0 : md_size is 9783360 blocks.
raid0 : conf->hash_spacing is 9783296 blocks.
raid0 : nb_zone is 2.
raid0 : Allocating 16 bytes for hash.
md: ... autorun DONE.
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 280k freed
Write protecting the kernel read-only data: 4616k
usb 6-1.2: configuration #1 chosen from 1 choice
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0
rtc0: alarms up to one month, y3k
ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 18 (level, low) -> IRQ 18
Int: type 0, pol 3, trig 3, bus 03, IRQ 00, APIC ID 2, APIC INT 12
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[18] MMIO=[ff6ff800-ff6fffff] Max
Packet=[2048] IR/IT contexts=[4/8]
usbcore: registered new interface driver hiddev
input: ABBHOME USB Keyboard as
/devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1.1/6-1.1:1.0/input/input2
input,hidraw0: USB HID v1.10 Keyboard [ABBHOME USB Keyboard] on usb-0000:00:1d.0-1.1
input: ABBHOME USB Keyboard as
/devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1.1/6-1.1:1.1/input/input3
input,hidraw1: USB HID v1.10 Mouse [ABBHOME USB Keyboard] on usb-0000:00:1d.0-1.1
input: Microsoft Corporation Microsoft � Laser Mouse 6000 as
/devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1.2/6-1.2:1.0/input/input4
input,hidraw2: USB HID v1.11 Mouse [Microsoft Corporation Microsoft � Laser
Mouse 6000] on usb-0000:00:1d.0-1.2
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Adding 2008084k swap on /dev/sdb6. Priority:-1 extents:1 across:2008084k
EXT3 FS on md1, internal journal
ieee1394: Host added: ID:BUS[0-00:1023] GUID[0000000000000000]
kjournald starting. Commit interval 5 seconds
EXT3 FS on sdb1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on dm-1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on dm-2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on dm-0, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
ADDRCONF(NETDEV_UP): eth0: link is not ready
eth0: Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
eth0: 10/100 speed: disabling TSO
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
warning: `named' uses deprecated v2 capabilities in a way that may be insecure.
warning: `proftpd' uses 32-bit capabilities (legacy support in use)
eth0: no IPv6 routers present
set status page addr 0x00043000





--------------------------------------------------------------------------
SUSPEND:


PM: Syncing filesystems ... done.
PM: Preparing system for mem sleep
Freezing user space processes ... (elapsed 0.00 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
PM: Entering mem sleep
Suspending console(s) (use no_console_suspend to debug)
sd 1:0:0:0: [sdb] Synchronizing SCSI cache
sd 1:0:0:0: [sdb] Stopping disk
sd 0:0:0:0: [sda] Synchronizing SCSI cache
sd 0:0:0:0: [sda] Stopping disk
ACPI: PCI interrupt for device 0000:00:02.0 disabled
serial 00:07: disabled
serial 00:06: disabled
ACPI handle has no context!
ACPI: PCI interrupt for device 0000:00:1d.7 disabled
ACPI: PCI interrupt for device 0000:00:1d.2 disabled
ACPI: PCI interrupt for device 0000:00:1d.1 disabled
ACPI: PCI interrupt for device 0000:00:1d.0 disabled
ACPI: PCI interrupt for device 0000:00:1b.0 disabled
ACPI: PCI interrupt for device 0000:00:1a.7 disabled
ACPI: PCI interrupt for device 0000:00:1a.2 disabled
ACPI: PCI interrupt for device 0000:00:1a.1 disabled
ACPI: PCI interrupt for device 0000:00:1a.0 disabled
ACPI: PCI interrupt for device 0000:00:19.0 disabled
ACPI handle has no context!
ACPI: Preparing to enter system sleep state S3
Disabling non-boot CPUs ...
CPU 1 is now offline
SMP alternatives: switching to UP code
CPU1 is down
Extended CMOS year: 2000
x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
Back to C!
Extended CMOS year: 2000
Enabling non-boot CPUs ...
SMP alternatives: switching to SMP code
Booting processor 1/1 ip 6000
Initializing CPU#1
Calibrating delay using timer specific routine.. 5985.09 BogoMIPS (lpj=11970190)
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L3 cache: 4096K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
x86 PAT enabled: cpu 1, old 0x7040600070406, new 0x7010600070106
CPU1: Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz stepping 0b
checking TSC synchronization [CPU#0 -> CPU#1]: passed.
CPU1 is up
PM: Writing back config space on device 0000:00:02.0 at offset 6 (was c0000008,
writing d0000008)
PM: Writing back config space on device 0000:00:02.0 at offset 1 (was 900007,
writing 900003)
PM: Writing back config space on device 0000:00:03.0 at offset f (was 100,
writing 105)
PM: Writing back config space on device 0000:00:03.1 at offset f (was 400,
writing 40f)
PM: Writing back config space on device 0000:00:03.1 at offset b (was 0, writing
29c58086)
PM: Writing back config space on device 0000:00:03.1 at offset 4 (was fed11004,
writing ffa7b804)
PM: Writing back config space on device 0000:00:03.1 at offset 1 (was 100006,
writing 180006)
PM: Writing back config space on device 0000:00:03.2 at offset f (was 300,
writing 30c)
PM: Writing back config space on device 0000:00:03.2 at offset 8 (was 1, writing
e081)
PM: Writing back config space on device 0000:00:03.2 at offset 7 (was 1, writing
e401)
PM: Writing back config space on device 0000:00:03.2 at offset 6 (was 1, writing
e481)
PM: Writing back config space on device 0000:00:03.2 at offset 5 (was 1, writing
e801)
Switched to high resolution mode on CPU 1
PM: Writing back config space on device 0000:00:03.3 at offset f (was 200,
writing 20a)
PM: Writing back config space on device 0000:00:03.3 at offset 5 (was 0, writing
ffa7a000)
PM: Writing back config space on device 0000:00:19.0 at offset f (was 100,
writing 10e)
PM: Writing back config space on device 0000:00:19.0 at offset 6 (was 1, writing
dc01)
PM: Writing back config space on device 0000:00:19.0 at offset 5 (was 0, writing
ffa79000)
PM: Writing back config space on device 0000:00:19.0 at offset 4 (was 0, writing
ffa40000)
PM: Writing back config space on device 0000:00:19.0 at offset 1 (was 100000,
writing 100007)
ACPI: PCI Interrupt 0000:00:19.0[A] -> GSI 20 (level, low) -> IRQ 20
Int: type 0, pol 3, trig 3, bus 00, IRQ 64, APIC ID 2, APIC INT 14
PCI: Setting latency timer of device 0000:00:19.0 to 64
ACPI: PCI Interrupt 0000:00:1a.0[A] -> GSI 16 (level, low) -> IRQ 16
Int: type 0, pol 3, trig 3, bus 00, IRQ 68, APIC ID 2, APIC INT 10
PCI: Setting latency timer of device 0000:00:1a.0 to 64
usb usb3: root hub lost power or was reset
ACPI: PCI Interrupt 0000:00:1a.1[B] -> GSI 21 (level, low) -> IRQ 21
Int: type 0, pol 3, trig 3, bus 00, IRQ 69, APIC ID 2, APIC INT 15
PCI: Setting latency timer of device 0000:00:1a.1 to 64
usb usb4: root hub lost power or was reset
ACPI: PCI Interrupt 0000:00:1a.2[C] -> GSI 18 (level, low) -> IRQ 18
Int: type 0, pol 3, trig 3, bus 00, IRQ 6a, APIC ID 2, APIC INT 12
PCI: Setting latency timer of device 0000:00:1a.2 to 64
usb usb5: root hub lost power or was reset
ACPI: PCI Interrupt 0000:00:1a.7[D] -> GSI 19 (level, low) -> IRQ 19
Int: type 0, pol 3, trig 3, bus 00, IRQ 6b, APIC ID 2, APIC INT 13
PCI: Setting latency timer of device 0000:00:1a.7 to 64
PM: Writing back config space on device 0000:00:1b.0 at offset 3 (was 0, writing 8)
PM: Writing back config space on device 0000:00:1b.0 at offset 1 (was 100006,
writing 100002)
ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 22
Int: type 0, pol 3, trig 3, bus 00, IRQ 6c, APIC ID 2, APIC INT 16
PCI: Setting latency timer of device 0000:00:1b.0 to 64
PM: Writing back config space on device 0000:00:1c.0 at offset f (was 20100,
writing 2010a)
PM: Writing back config space on device 0000:00:1c.0 at offset 3 (was 810000,
writing 810008)
PM: Writing back config space on device 0000:00:1c.0 at offset 1 (was 100104,
writing 100504)
PCI: Setting latency timer of device 0000:00:1c.0 to 64
PM: Writing back config space on device 0000:00:1c.2 at offset f (was 20300,
writing 2030c)
PM: Writing back config space on device 0000:00:1c.2 at offset 7 (was f0,
writing 200000f0)
PM: Writing back config space on device 0000:00:1c.2 at offset 3 (was 810000,
writing 810008)
PM: Writing back config space on device 0000:00:1c.2 at offset 1 (was 100106,
writing 100506)
PCI: Setting latency timer of device 0000:00:1c.2 to 64
ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 23
Int: type 0, pol 3, trig 3, bus 00, IRQ 74, APIC ID 2, APIC INT 17
PCI: Setting latency timer of device 0000:00:1d.0 to 64
usb usb6: root hub lost power or was reset
ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 19
Int: type 0, pol 3, trig 3, bus 00, IRQ 75, APIC ID 2, APIC INT 13
PCI: Setting latency timer of device 0000:00:1d.1 to 64
usb usb7: root hub lost power or was reset
ACPI: PCI Interrupt 0000:00:1d.2[D] -> GSI 16 (level, low) -> IRQ 16
Int: type 0, pol 3, trig 3, bus 00, IRQ 77, APIC ID 2, APIC INT 10
PCI: Setting latency timer of device 0000:00:1d.2 to 64
usb usb8: root hub lost power or was reset
ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 23
Int: type 0, pol 3, trig 3, bus 00, IRQ 74, APIC ID 2, APIC INT 17
PCI: Setting latency timer of device 0000:00:1d.7 to 64
PM: Writing back config space on device 0000:00:1e.0 at offset f (was 20000,
writing 200ff)
PCI: Setting latency timer of device 0000:00:1e.0 to 64
PM: Writing back config space on device 0000:00:1f.2 at offset 1 (was 2b00007,
writing 2b00407)
PCI: Setting latency timer of device 0000:00:1f.2 to 64
eth0: Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
eth0: 10/100 speed: disabling TSO
PM: Writing back config space on device 0000:00:1f.6 at offset b (was 0, writing
29328086)
PM: Writing back config space on device 0000:02:00.0 at offset 7 (was 2a001f1,
writing 22a001f1)
PCI: Setting latency timer of device 0000:02:00.0 to 64
PM: Writing back config space on device 0000:03:00.0 at offset f (was 4020100,
writing 402010c)
PM: Writing back config space on device 0000:03:00.0 at offset 5 (was 0, writing
ff6f8000)
PM: Writing back config space on device 0000:03:00.0 at offset 4 (was 0, writing
ff6ff800)
PM: Writing back config space on device 0000:03:00.0 at offset 3 (was 0, writing
4008)
PM: Writing back config space on device 0000:03:00.0 at offset 1 (was 2300000,
writing 2300016)
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[18] MMIO=[ff6ff800-ff6fffff] Max
Packet=[2048] IR/IT contexts=[4/8]
serial 00:06: no dma resource to encode!
serial 00:06: activated
serial 00:07: no dma resource to encode!
serial 00:07: activated
ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16
Int: type 0, pol 3, trig 3, bus 00, IRQ 08, APIC ID 2, APIC INT 10
sd 0:0:0:0: [sda] Starting disk
ata6: SATA link down (SStatus 0 SControl 300)
ata5: SATA link down (SStatus 0 SControl 300)
ata3: SATA link down (SStatus 0 SControl 300)
ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata2.00: configured for UDMA/133
sd 1:0:0:0: [sdb] 156301488 512-byte hardware sectors (80026 MB)
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO
or FUA
ata4.00: configured for UDMA/66
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: configured for UDMA/133
sd 0:0:0:0: [sda] 321672960 512-byte hardware sectors (164697 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO
or FUA
sd 1:0:0:0: [sdb] Starting disk
usb 6-1: reset full speed USB device using uhci_hcd and address 2
usb 6-1.1: reset full speed USB device using uhci_hcd and address 3
usb 6-1.2: reset low speed USB device using uhci_hcd and address 4
PM: Finishing wakeup.
Restarting tasks ... done.

2008-06-12 21:58:20

by Bjorn Helgaas

[permalink] [raw]
Subject: Re: pnp changes -> suspend oops [Was: 2.6.26-rc5-mm2]

On Thursday 12 June 2008 03:39:14 pm Jiri Slaby wrote:
> On 06/12/2008 11:22 PM, Bjorn Helgaas wrote:
> > On Thursday 12 June 2008 03:10:04 pm Jiri Slaby wrote:
> >> On 06/11/2008 09:03 PM, Bjorn Helgaas wrote:
> >>> Before you go to all the trouble of bisecting it, can you turn on
> >>> CONFIG_PNP_DEBUG and try the following debug patch? I think this
> >>> will prevent the oops, but it's just papering over the real problem,
> >>> so please capture the complete dmesg log.
> >> ACPI: PCI interrupt for device 0000:00:02.0 disabled
> >> serial 00:07: disabled
> >> serial 00:06: disabled
> >> ACPI handle has no context!
> >> ACPI: PCI interrupt for device 0000:00:1d.7 disabled
> >> ...
> >> serial 00:06: no dma resource to encode!
> >> serial 00:06: activated
> >> serial 00:07: no dma resource to encode!
> >> serial 00:07: activated
> >> ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16
> >
> > Interesting. I wonder why a serial device would have a DMA resource.
> > We encode resources by following a template from _CRS, so evidently
> > that template had a DMA resource. Or something deeper is wrong.
> >
> > Can you send me the rest of that dmesg log?
>
> Below.

Thanks, but it looks like CONFIG_PNP_DEBUG is not turned on. Can
you turn that on and capture the log again, please?

Bjorn

2008-06-12 21:59:22

by Jiri Slaby

[permalink] [raw]
Subject: Re: pnp changes -> suspend oops [Was: 2.6.26-rc5-mm2]

On 06/12/2008 11:57 PM, Bjorn Helgaas wrote:
> On Thursday 12 June 2008 03:39:14 pm Jiri Slaby wrote:
>> On 06/12/2008 11:22 PM, Bjorn Helgaas wrote:
>>> On Thursday 12 June 2008 03:10:04 pm Jiri Slaby wrote:
>>>> On 06/11/2008 09:03 PM, Bjorn Helgaas wrote:
>>>>> Before you go to all the trouble of bisecting it, can you turn on
>>>>> CONFIG_PNP_DEBUG and try the following debug patch? I think this
>>>>> will prevent the oops, but it's just papering over the real problem,
>>>>> so please capture the complete dmesg log.
>>>> ACPI: PCI interrupt for device 0000:00:02.0 disabled
>>>> serial 00:07: disabled
>>>> serial 00:06: disabled
>>>> ACPI handle has no context!
>>>> ACPI: PCI interrupt for device 0000:00:1d.7 disabled
>>>> ...
>>>> serial 00:06: no dma resource to encode!
>>>> serial 00:06: activated
>>>> serial 00:07: no dma resource to encode!
>>>> serial 00:07: activated
>>>> ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16
>>> Interesting. I wonder why a serial device would have a DMA resource.
>>> We encode resources by following a template from _CRS, so evidently
>>> that template had a DMA resource. Or something deeper is wrong.
>>>
>>> Can you send me the rest of that dmesg log?
>> Below.
>
> Thanks, but it looks like CONFIG_PNP_DEBUG is not turned on. Can
> you turn that on and capture the log again, please?

Sorry, too tired, so I overlooked it. Tomorrow. Thanks.

2008-06-13 16:06:32

by Jiri Slaby

[permalink] [raw]
Subject: Re: pnp changes -> suspend oops [Was: 2.6.26-rc5-mm2]

On 06/12/2008 11:57 PM, Bjorn Helgaas wrote:
> On Thursday 12 June 2008 03:39:14 pm Jiri Slaby wrote:
>> On 06/12/2008 11:22 PM, Bjorn Helgaas wrote:
>>> On Thursday 12 June 2008 03:10:04 pm Jiri Slaby wrote:
>>>> On 06/11/2008 09:03 PM, Bjorn Helgaas wrote:
>>>>> Before you go to all the trouble of bisecting it, can you turn on
>>>>> CONFIG_PNP_DEBUG and try the following debug patch? I think this
>>>>> will prevent the oops, but it's just papering over the real problem,
>>>>> so please capture the complete dmesg log.
>>>> ACPI: PCI interrupt for device 0000:00:02.0 disabled
>>>> serial 00:07: disabled
>>>> serial 00:06: disabled
>>>> ACPI handle has no context!
>>>> ACPI: PCI interrupt for device 0000:00:1d.7 disabled
>>>> ...
>>>> serial 00:06: no dma resource to encode!
>>>> serial 00:06: activated
>>>> serial 00:07: no dma resource to encode!
>>>> serial 00:07: activated
>>>> ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16
>>> Interesting. I wonder why a serial device would have a DMA resource.
>>> We encode resources by following a template from _CRS, so evidently
>>> that template had a DMA resource. Or something deeper is wrong.
>>>
>>> Can you send me the rest of that dmesg log?
>> Below.
>
> Thanks, but it looks like CONFIG_PNP_DEBUG is not turned on. Can
> you turn that on and capture the log again, please?

Here it goes:
Linux version 2.6.26-rc5-mm3_64-pnp (ku@bellona) (gcc version 4.3.1 20080507
(prerelease) [gcc-4_3-branch revision 135036] (SUSE Linux) ) #1 SMP Fri Jun 13
17:49:16 CEST 2008
Command line: root=/dev/md1 vga=1 ro reboot=a,w slub_debug 2
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009ec00 (usable)
BIOS-e820: 000000000009ec00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000007d5b0000 (usable)
BIOS-e820: 000000007d5b0000 - 000000007d5be000 (ACPI data)
BIOS-e820: 000000007d5be000 - 000000007d5f0000 (ACPI NVS)
BIOS-e820: 000000007d5f0000 - 000000007d600000 (reserved)
BIOS-e820: 00000000fed90000 - 00000000fed94000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
last_pfn = 513456 max_arch_pfn = 17179869183
x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
init_memory_mapping
DMI present.
ACPI: RSDP 000F9990, 0024 (r2 ACPIAM)
ACPI: XSDT 7D5B0100, 0064 (r1 A M I OEMXSDT 5000708 MSFT 97)
ACPI: FACP 7D5B0290, 00F4 (r3 A M I OEMFACP 5000708 MSFT 97)
ACPI: DSDT 7D5B0490, 6643 (r1 SDBLI9 SDBLI944 44 INTL 20051117)
ACPI: FACS 7D5BE000, 0040
ACPI: APIC 7D5B0390, 006C (r1 A M I OEMAPIC 5000708 MSFT 97)
ACPI: MCFG 7D5B0450, 003C (r1 A M I OEMMCFG 5000708 MSFT 97)
ACPI: OEMB 7D5BE040, 0079 (r1 A M I AMI_OEM 5000708 MSFT 97)
ACPI: HPET 7D5B6AE0, 0038 (r1 A M I OEMHPET 5000708 MSFT 97)
ACPI: GSCI 7D5BE0C0, 2024 (r1 A M I GMCHSCI 5000708 MSFT 97)
ACPI: iEIT 7D5C00F0, 00B0 (r1 A M I EITTABLE 5000708 MSFT 97)
ACPI: DMAR 7D5B6BC0, 0118 (r1 A M I OEMDMAR 1 MSFT 97)
early res: 0 [0-fff] BIOS data page
early res: 1 [6000-7fff] TRAMPOLINE
early res: 2 [200000-7cd447] TEXT DATA BSS
early res: 3 [9ec00-fffff] BIOS reserved
early res: 4 [8000-afff] PGTABLE
Scan SMP from ffff810000000000 for 1024 bytes.
Scan SMP from ffff81000009fc00 for 1024 bytes.
Scan SMP from ffff8100000f0000 for 65536 bytes.
[ffffe20000000000-ffffe20001bfffff] PMD -> [ffff810001200000-ffff810002dfffff]
on node 0
sizeof(struct page) = 56
Zone PFN ranges:
DMA 0 -> 4096
DMA32 4096 -> 1048576
Normal 1048576 -> 1048576
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
0: 0 -> 158
0: 256 -> 513456
On node 0 totalpages: 513358
DMA zone: 2352 pages, LIFO batch:0
DMA32 zone: 502396 pages, LIFO batch:31
ACPI: PM-Timer IO Port: 0x808
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x82] disabled)
ACPI: LAPIC (acpi_id[0x04] lapic_id[0x83] disabled)
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 0, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 20 low level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
Setting APIC routing to flat
ACPI: HPET id: 0x8086a301 base: 0xfed00000
Using ACPI (MADT) for SMP configuration information
PM: Registered nosave memory: 000000000009e000 - 000000000009f000
PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
PM: Registered nosave memory: 00000000000a0000 - 00000000000e0000
PM: Registered nosave memory: 00000000000e0000 - 0000000000100000
Allocating PCI resources starting at 80000000 (gap: 7d600000:81790000)
SMP: Allowing 4 CPUs, 2 hotplug CPUs
PERCPU: Allocating 35184 bytes of per cpu data
NR_CPUS: 4, nr_cpu_ids: 4, nr_node_ids 1
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 504748
Kernel command line: root=/dev/md1 vga=1 ro reboot=a,w slub_debug 2
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
Extended CMOS year: 2000
TSC calibrated against PM_TIMER
time.c: Detected 2992.471 MHz processor.
Console: colour VGA+ 80x50
console [tty0] enabled
Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
Checking aperture...
No AGP bridge found
Memory: 2014740k/2053824k available (3407k kernel code, 38056k reserved, 1497k
data, 280k init)
CPA: page pool initialized 1 of 1 pages preallocated
SLUB: Genslabs=12, HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
hpet clockevent registered
Calibrating delay using timer specific routine.. 5992.31 BogoMIPS (lpj=11984629)
Mount-cache hash table entries: 256
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L3 cache: 4096K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
CPU0: Thermal monitoring enabled (TM2)
using mwait in idle threads.
ACPI: Core revision 20080321
CPU0: Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz stepping 0b
Using local APIC timer interrupts.
APIC timer calibration result 20781044
Detected 20.781 MHz APIC timer.
Booting processor 1/1 ip 6000
Initializing CPU#1
Calibrating delay using timer specific routine.. 5984.99 BogoMIPS (lpj=11969985)
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L3 cache: 4096K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
CPU1: Thermal monitoring enabled (TM2)
x86 PAT enabled: cpu 1, old 0x7040600070406, new 0x7010600070106
CPU1: Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz stepping 0b
checking TSC synchronization [CPU#0 -> CPU#1]: passed.
Brought up 2 CPUs
Total of 2 processors activated (11977.30 BogoMIPS).
net_namespace: 568 bytes
NET: Registered protocol family 16
No dock devices found.
ACPI: bus type pci registered
PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255
PCI: Not using MMCONFIG.
PCI: Using configuration type 1 for base access
ACPI: EC: Look up EC in DSDT
ACPI: BIOS _OSI(Linux) query ignored
ACPI: DMI System Vendor: To Be Filled By O.E.M.
ACPI: DMI Product Name: To Be Filled By O.E.M.
ACPI: DMI Product Version: To Be Filled By O.E.M.
ACPI: DMI Board Name: To be filled by O.E.M.
ACPI: DMI BIOS Vendor: American Megatrends Inc.
ACPI: DMI BIOS Date: 05/08/2007
ACPI: Please send DMI info above to [email protected]
ACPI: If "acpi_osi=Linux" works better, please notify [email protected]
ACPI: Interpreter enabled
ACPI: (supports S0 S1 S3 S4 S5)
ACPI: Using IOAPIC for interrupt routing
PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255
PCI: MCFG area at e0000000 reserved in ACPI motherboard resources
PCI: Using MMCONFIG at e0000000 - efffffff
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Transparent bridge - 0000:00:1e.0
bus 00 -> node 0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P4._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P6._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 *5 6 7 10 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 *10 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 10 *12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 10 12 14 *15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 12 *14 15)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 *7 10 12 14 15)
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 *10 12 14 15)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 10 *12 14 15)
ACPI Warning (tbutils-0217): Incorrect checksum in table [OEMB] - C7, should be
BC [20080321]
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp 00:00: parse allocated resources
pnp 00:00: add io 0xcf8-0xcff flags 0x1
pnp 00:00: Plug and Play ACPI device, IDs PNP0a08 PNP0a03 (active)
pnp 00:01: parse allocated resources
pnp 00:01: add mem 0xfed14000-0xfed19fff flags 0x1
pnp 00:01: PNP0c01: calling quirk_system_pci_resources+0x0/0x1d0
pnp 00:01: Plug and Play ACPI device, IDs PNP0c01 (active)
pnp 00:02: parse allocated resources
pnp 00:02: add dma 4 flags 0x4
pnp 00:02: add io 0x0-0xf flags 0x1
pnp 00:02: add io 0x81-0x83 flags 0x1
pnp 00:02: add io 0x87-0x87 flags 0x1
pnp 00:02: add io 0x89-0x8b flags 0x1
pnp 00:02: add io 0x8f-0x8f flags 0x1
pnp 00:02: add io 0xc0-0xdf flags 0x1
pnp 00:02: Plug and Play ACPI device, IDs PNP0200 (active)
pnp 00:03: parse allocated resources
pnp 00:03: add io 0x70-0x71 flags 0x1
pnp 00:03: add irq 8 flags 0x1
pnp 00:03: Plug and Play ACPI device, IDs PNP0b00 (active)
pnp 00:04: parse allocated resources
pnp 00:04: add io 0x61-0x61 flags 0x1
pnp 00:04: Plug and Play ACPI device, IDs PNP0800 (active)
pnp 00:05: parse allocated resources
pnp 00:05: add io 0xf0-0xff flags 0x1
pnp 00:05: add irq 13 flags 0x1
pnp 00:05: Plug and Play ACPI device, IDs PNP0c04 (active)
pnp 00:06: parse allocated resources
pnp 00:06: add io 0x3f8-0x3ff flags 0x1
pnp 00:06: add irq 4 flags 0x1
pnp 00:06: parse resource options
pnp 00:06: dependent set 0 (preferred) io min 0x3f8 max 0x3f8 align 1 size 8
flags 0x1
pnp 00:06: dependent set 0 (preferred) irq 4 flags 0x1
pnp 00:06: dependent set 1 (acceptable) io min 0x3f8 max 0x3f8 align 1 size 8
flags 0x1
pnp 00:06: dependent set 1 (acceptable) irq 3 4 5 6 7 10 11 12 flags 0x1
pnp 00:06: dependent set 2 (acceptable) io min 0x2f8 max 0x2f8 align 1 size 8
flags 0x1
pnp 00:06: dependent set 2 (acceptable) irq 3 4 5 6 7 10 11 12 flags 0x1
pnp 00:06: dependent set 3 (acceptable) io min 0x3e8 max 0x3e8 align 1 size 8
flags 0x1
pnp 00:06: dependent set 3 (acceptable) irq 3 4 5 6 7 10 11 12 flags 0x1
pnp 00:06: dependent set 4 (acceptable) io min 0x2e8 max 0x2e8 align 1 size 8
flags 0x1
pnp 00:06: dependent set 4 (acceptable) irq 3 4 5 6 7 10 11 12 flags 0x1
pnp 00:06: Plug and Play ACPI device, IDs PNP0501 (active)
pnp 00:07: parse allocated resources
pnp 00:07: add io 0x2f8-0x2ff flags 0x1
pnp 00:07: add irq 3 flags 0x1
pnp 00:07: parse resource options
pnp 00:07: dependent set 0 (preferred) io min 0x2f8 max 0x2f8 align 1 size 8
flags 0x1
pnp 00:07: dependent set 0 (preferred) irq 3 flags 0x1
pnp 00:07: dependent set 1 (acceptable) io min 0x3f8 max 0x3f8 align 1 size 8
flags 0x1
pnp 00:07: dependent set 1 (acceptable) irq 3 4 5 6 7 10 11 12 flags 0x1
pnp 00:07: dependent set 2 (acceptable) io min 0x2f8 max 0x2f8 align 1 size 8
flags 0x1
pnp 00:07: dependent set 2 (acceptable) irq 3 4 5 6 7 10 11 12 flags 0x1
pnp 00:07: dependent set 3 (acceptable) io min 0x3e8 max 0x3e8 align 1 size 8
flags 0x1
pnp 00:07: dependent set 3 (acceptable) irq 3 4 5 6 7 10 11 12 flags 0x1
pnp 00:07: dependent set 4 (acceptable) io min 0x2e8 max 0x2e8 align 1 size 8
flags 0x1
pnp 00:07: dependent set 4 (acceptable) irq 3 4 5 6 7 10 11 12 flags 0x1
pnp 00:07: dependent set 5 (acceptable) io min 0x3f8 max 0x3f8 align 1 size 8
flags 0x1
pnp 00:07: dependent set 5 (acceptable) irq 3 4 5 6 7 10 11 12 flags 0x1
pnp 00:07: dependent set 5 (acceptable) dma 0 1 2 3 (bitmask 0xf) flags 0x0
pnp 00:07: dependent set 6 (acceptable) io min 0x2f8 max 0x2f8 align 1 size 8
flags 0x1
pnp 00:07: dependent set 6 (acceptable) irq 3 4 5 6 7 10 11 12 flags 0x1
pnp 00:07: dependent set 6 (acceptable) dma 0 1 2 3 (bitmask 0xf) flags 0x0
pnp 00:07: dependent set 7 (acceptable) io min 0x3e8 max 0x3e8 align 1 size 8
flags 0x1
pnp 00:07: dependent set 7 (acceptable) irq 3 4 5 6 7 10 11 12 flags 0x1
pnp 00:07: dependent set 7 (acceptable) dma 0 1 2 3 (bitmask 0xf) flags 0x0
pnp 00:07: dependent set 8 (acceptable) io min 0x2e8 max 0x2e8 align 1 size 8
flags 0x1
pnp 00:07: dependent set 8 (acceptable) irq 3 4 5 6 7 10 11 12 flags 0x1
pnp 00:07: dependent set 8 (acceptable) dma 0 1 2 3 (bitmask 0xf) flags 0x0
pnp 00:07: Plug and Play ACPI device, IDs PNP0501 (active)
pnp 00:08: parse allocated resources
pnp 00:08: add io 0x3f0-0x3f5 flags 0x1
pnp 00:08: add io 0x3f7-0x3f7 flags 0x1
pnp 00:08: add irq 6 flags 0x1
pnp 00:08: add dma 2 flags 0x0
pnp 00:08: parse resource options
pnp 00:08: dependent set 0 (preferred) io min 0x3f0 max 0x3f0 align 1 size 6
flags 0x1
pnp 00:08: dependent set 0 (preferred) io min 0x3f7 max 0x3f7 align 1 size 1
flags 0x1
pnp 00:08: dependent set 0 (preferred) irq 6 flags 0x1
pnp 00:08: dependent set 0 (preferred) dma 2 (bitmask 0x4) flags 0x0
pnp 00:08: dependent set 1 (acceptable) io min 0x3f0 max 0x3f0 align 1 size 6
flags 0x1
pnp 00:08: dependent set 1 (acceptable) io min 0x3f7 max 0x3f7 align 1 size 1
flags 0x1
pnp 00:08: dependent set 1 (acceptable) irq 3 4 5 6 7 10 11 12 flags 0x1
pnp 00:08: dependent set 1 (acceptable) dma 0 1 2 3 (bitmask 0xf) flags 0x0
pnp 00:08: dependent set 2 (acceptable) io min 0x370 max 0x370 align 1 size 6
flags 0x1
pnp 00:08: dependent set 2 (acceptable) io min 0x377 max 0x377 align 1 size 1
flags 0x1
pnp 00:08: dependent set 2 (acceptable) irq 3 4 5 6 7 10 11 12 flags 0x1
pnp 00:08: dependent set 2 (acceptable) dma 0 1 2 3 (bitmask 0xf) flags 0x0
pnp 00:08: Plug and Play ACPI device, IDs PNP0700 (active)
pnp 00:09: parse allocated resources
pnp 00:09: add io 0x0-0xffffffffffffffff flags 0x10000001
pnp 00:09: add io 0xa20-0xa3f flags 0x1
pnp 00:09: add io 0xa00-0xa0f flags 0x1
pnp 00:09: add io 0xa10-0xa1f flags 0x1
pnp 00:09: add io 0xa40-0xa5f flags 0x1
pnp 00:09: PNP0c02: calling quirk_system_pci_resources+0x0/0x1d0
pnp 00:09: Plug and Play ACPI device, IDs PNP0c02 (active)
pnp 00:0a: parse allocated resources
pnp 00:0a: add io 0x10-0x1f flags 0x1
pnp 00:0a: add io 0x22-0x3f flags 0x1
pnp 00:0a: add io 0x44-0x5f flags 0x1
pnp 00:0a: add io 0x62-0x63 flags 0x1
pnp 00:0a: add io 0x65-0x6f flags 0x1
pnp 00:0a: add io 0x72-0x7f flags 0x1
pnp 00:0a: add io 0x80-0x80 flags 0x1
pnp 00:0a: add io 0x84-0x86 flags 0x1
pnp 00:0a: add io 0x88-0x88 flags 0x1
pnp 00:0a: add io 0x8c-0x8e flags 0x1
pnp 00:0a: add io 0x90-0x9f flags 0x1
pnp 00:0a: add io 0xa2-0xbf flags 0x1
pnp 00:0a: add io 0xe0-0xef flags 0x1
pnp 00:0a: add io 0x4d0-0x4d1 flags 0x1
pnp 00:0a: add io 0x800-0x87f flags 0x1
pnp 00:0a: add io 0x0-0xffffffffffffffff flags 0x10000001
pnp 00:0a: add io 0x480-0x4bf flags 0x1
pnp 00:0a: add mem 0xfed1c000-0xfed1ffff flags 0x1
pnp 00:0a: add mem 0xfed20000-0xfed8ffff flags 0x1
pnp 00:0a: PNP0c02: calling quirk_system_pci_resources+0x0/0x1d0
pnp 00:0a: Plug and Play ACPI device, IDs PNP0c02 (active)
pnp 00:0b: parse allocated resources
pnp 00:0b: add io 0x60-0x60 flags 0x1
pnp 00:0b: add io 0x64-0x64 flags 0x1
pnp 00:0b: PNP0c02: calling quirk_system_pci_resources+0x0/0x1d0
pnp 00:0b: Plug and Play ACPI device, IDs PNP0c02 (active)
pnp 00:0c: parse allocated resources
pnp 00:0c: add mem 0xfed00000-0xfed003ff flags 0x0
pnp 00:0c: Plug and Play ACPI device, IDs PNP0103 (active)
pnp 00:0d: parse allocated resources
pnp 00:0d: add mem 0xffb00000-0xffbfffff flags 0x0
pnp 00:0d: add mem 0xfff00000-0xffffffff flags 0x0
pnp 00:0d: Plug and Play ACPI device, IDs INT0800 (active)
pnp 00:0e: parse allocated resources
pnp 00:0e: add mem 0xffc00000-0xffefffff flags 0x0
pnp 00:0e: PNP0c02: calling quirk_system_pci_resources+0x0/0x1d0
pnp 00:0e: Plug and Play ACPI device, IDs PNP0c02 (active)
pnp 00:0f: parse allocated resources
pnp 00:0f: add mem 0xfec00000-0xfec00fff flags 0x0
pnp 00:0f: add mem 0xfee00000-0xfee00fff flags 0x0
pnp 00:0f: PNP0c02: calling quirk_system_pci_resources+0x0/0x1d0
pnp 00:0f: Plug and Play ACPI device, IDs PNP0c02 (active)
pnp 00:10: parse allocated resources
pnp 00:10: add mem 0xe0000000-0xefffffff flags 0x0
pnp 00:10: PNP0c02: calling quirk_system_pci_resources+0x0/0x1d0
pnp 00:10: Plug and Play ACPI device, IDs PNP0c02 (active)
pnp 00:11: parse allocated resources
pnp 00:11: add mem 0x0-0xffffffffffffffff flags 0x10000000
pnp 00:11: PNP0c02: calling quirk_system_pci_resources+0x0/0x1d0
pnp 00:11: Plug and Play ACPI device, IDs PNP0c02 (active)
pnp 00:12: parse allocated resources
pnp 00:12: add mem 0xfed90000-0xfed90fff flags 0x1
pnp 00:12: PNP0c02: calling quirk_system_pci_resources+0x0/0x1d0
pnp 00:12: Plug and Play ACPI device, IDs PNP0c02 (active)
pnp 00:13: parse allocated resources
pnp 00:13: add mem 0xfed91000-0xfed91fff flags 0x1
pnp 00:13: PNP0c02: calling quirk_system_pci_resources+0x0/0x1d0
pnp 00:13: Plug and Play ACPI device, IDs PNP0c02 (active)
pnp 00:14: parse allocated resources
pnp 00:14: add mem 0xfed92000-0xfed92fff flags 0x1
pnp 00:14: PNP0c02: calling quirk_system_pci_resources+0x0/0x1d0
pnp 00:14: Plug and Play ACPI device, IDs PNP0c02 (active)
pnp 00:15: parse allocated resources
pnp 00:15: add mem 0xfed93000-0xfed93fff flags 0x1
pnp 00:15: PNP0c02: calling quirk_system_pci_resources+0x0/0x1d0
pnp 00:15: Plug and Play ACPI device, IDs PNP0c02 (active)
pnp 00:16: parse allocated resources
pnp 00:16: add mem 0x0-0x9ffff flags 0x1
pnp 00:16: add mem 0xc0000-0xcffff flags 0x0
pnp 00:16: add mem 0xe0000-0xfffff flags 0x0
pnp 00:16: add mem 0x100000-0x7d5fffff flags 0x1
pnp 00:16: add mem 0x0-0xffffffffffffffff flags 0x10000000
pnp 00:16: PNP0c01: calling quirk_system_pci_resources+0x0/0x1d0
pnp 00:16: Plug and Play ACPI device, IDs PNP0c01 (active)
pnp: PnP ACPI: found 23 devices
ACPI: ACPI bus type pnp unregistered
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Using ACPI for IRQ routing
PCI-GART: No AMD northbridge found.
hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0
hpet0: 4 64-bit timers, 14318180 Hz
tracer: 1286 pages allocated for 65536<6> entries of 80 bytes
actual entries 65586
ACPI: RTC can wake from S4
pnp: the driver 'system' has been registered
system 00:01: iomem range 0xfed14000-0xfed19fff has been reserved
system 00:01: driver attached
system 00:09: ioport range 0xa20-0xa3f has been reserved
system 00:09: ioport range 0xa00-0xa0f has been reserved
system 00:09: ioport range 0xa10-0xa1f has been reserved
system 00:09: ioport range 0xa40-0xa5f has been reserved
system 00:09: driver attached
system 00:0a: ioport range 0x4d0-0x4d1 has been reserved
system 00:0a: ioport range 0x800-0x87f has been reserved
system 00:0a: ioport range 0x480-0x4bf has been reserved
system 00:0a: iomem range 0xfed1c000-0xfed1ffff has been reserved
system 00:0a: iomem range 0xfed20000-0xfed8ffff has been reserved
system 00:0a: driver attached
system 00:0b: driver attached
system 00:0e: iomem range 0xffc00000-0xffefffff could not be reserved
system 00:0e: driver attached
system 00:0f: iomem range 0xfec00000-0xfec00fff has been reserved
system 00:0f: iomem range 0xfee00000-0xfee00fff could not be reserved
system 00:0f: driver attached
system 00:10: iomem range 0xe0000000-0xefffffff has been reserved
system 00:10: driver attached
system 00:11: driver attached
system 00:12: iomem range 0xfed90000-0xfed90fff could not be reserved
system 00:12: driver attached
system 00:13: iomem range 0xfed91000-0xfed91fff could not be reserved
system 00:13: driver attached
system 00:14: iomem range 0xfed92000-0xfed92fff could not be reserved
system 00:14: driver attached
system 00:15: iomem range 0xfed93000-0xfed93fff could not be reserved
system 00:15: driver attached
system 00:16: iomem range 0x0-0x9ffff could not be reserved
system 00:16: iomem range 0xc0000-0xcffff has been reserved
system 00:16: iomem range 0xe0000-0xfffff could not be reserved
system 00:16: iomem range 0x100000-0x7d5fffff could not be reserved
system 00:16: driver attached
PCI: Bridge: 0000:00:1c.0
IO window: disabled.
MEM window: disabled.
PREFETCH window: disabled.
PCI: Bridge: 0000:02:00.0
IO window: disabled.
MEM window: 0xff600000-0xff6fffff
PREFETCH window: disabled.
PCI: Bridge: 0000:00:1c.2
IO window: disabled.
MEM window: 0xff600000-0xff6fffff
PREFETCH window: disabled.
PCI: Bridge: 0000:00:1e.0
IO window: disabled.
MEM window: disabled.
PREFETCH window: disabled.
ACPI: PCI Interrupt 0000:00:1c.0[A] -> GSI 17 (level, low) -> IRQ 17
Int: type 0, pol 3, trig 3, bus 00, IRQ 70, APIC ID 2, APIC INT 11
PCI: Setting latency timer of device 0000:00:1c.0 to 64
ACPI: PCI Interrupt 0000:00:1c.2[C] -> GSI 18 (level, low) -> IRQ 18
Int: type 0, pol 3, trig 3, bus 00, IRQ 72, APIC ID 2, APIC INT 12
PCI: Setting latency timer of device 0000:00:1c.2 to 64
PCI: Setting latency timer of device 0000:02:00.0 to 64
PCI: Setting latency timer of device 0000:00:1e.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 65536 (order: 7, 524288 bytes)
TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 262144 bind 65536)
TCP reno registered
NET: Registered protocol family 1
msgmni has been set to 3936
io scheduler noop registered
io scheduler cfq registered (default)
pci 0000:00:02.0: Boot video device
PCI: Setting latency timer of device 0000:00:1c.0 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:1c.0:pcie00]
Allocate Port Service[0000:00:1c.0:pcie02]
Allocate Port Service[0000:00:1c.0:pcie03]
PCI: Setting latency timer of device 0000:00:1c.2 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:1c.2:pcie00]
Allocate Port Service[0000:00:1c.2:pcie02]
Allocate Port Service[0000:00:1c.2:pcie03]
input: Power Button (FF) as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
ACPI: Power Button (FF) [PWRF]
input: Power Button (CM) as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input1
ACPI: Power Button (CM) [PWRB]
Switched to high resolution mode on CPU 1
Switched to high resolution mode on CPU 0
hpet_resources: 0xfed00000 is busy
Linux agpgart interface v0.103
agpgart: Detected an Intel G33 Chipset.
agpgart: Detected 6140K stolen memory.
agpgart: AGP aperture is 256M @ 0xd0000000
[drm] Initialized drm 1.1.0 20060810
ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16
Int: type 0, pol 3, trig 3, bus 00, IRQ 08, APIC ID 2, APIC INT 10
PCI: Setting latency timer of device 0000:00:02.0 to 64
[drm] Initialized i915 1.6.0 20060119 on minor 0
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
pnp: the driver 'serial' has been registered
00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial 00:06: driver attached
00:07: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
serial 00:07: driver attached
ACPI: PCI Interrupt 0000:00:03.3[B] -> GSI 17 (level, low) -> IRQ 17
Int: type 0, pol 3, trig 3, bus 00, IRQ 0d, APIC ID 2, APIC INT 11
Couldn't register serial port 0000:00:03.3: -28
loop: module loaded
e1000e: Intel(R) PRO/1000 Network Driver - 0.3.3.3-k2
e1000e: Copyright (c) 1999-2008 Intel Corporation.
ACPI: PCI Interrupt 0000:00:19.0[A] -> GSI 20 (level, low) -> IRQ 20
Int: type 0, pol 3, trig 3, bus 00, IRQ 64, APIC ID 2, APIC INT 14
PCI: Setting latency timer of device 0000:00:19.0 to 64
eth0: (PCI Express:2.5GB/s:Width x1) 00:13:20:f5:f2:1d
eth0: Intel(R) PRO/1000 Network Connection
eth0: MAC: 5, PHY: 6, PBA No: ffffff-0ff
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
console [netcon0] enabled
netconsole: network logging started
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
ahci 0000:00:1f.2: version 3.0
ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 19
Int: type 0, pol 3, trig 3, bus 00, IRQ 7d, APIC ID 2, APIC INT 13
ahci 0000:00:1f.2: AHCI 0001.0200 32 slots 6 ports ? Gbps 0x3f impl SATA mode
ahci 0000:00:1f.2: flags: 64bit ncq sntf stag led clo pmp pio slum part
PCI: Setting latency timer of device 0000:00:1f.2 to 64
scsi0 : ahci
scsi1 : ahci
scsi2 : ahci
scsi3 : ahci
scsi4 : ahci
scsi5 : ahci
ata1: SATA max UDMA/133 abar m2048@0xffa78800 port 0xffa78900 irq 221
ata2: SATA max UDMA/133 abar m2048@0xffa78800 port 0xffa78980 irq 221
ata3: SATA max UDMA/133 abar m2048@0xffa78800 port 0xffa78a00 irq 221
ata4: SATA max UDMA/133 abar m2048@0xffa78800 port 0xffa78a80 irq 221
ata5: SATA max UDMA/133 abar m2048@0xffa78800 port 0xffa78b00 irq 221
ata6: SATA max UDMA/133 abar m2048@0xffa78800 port 0xffa78b80 irq 221
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: ATA-7: HDT722516DLA380, V43OA96A, max UDMA/133
ata1.00: 321672960 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata1.00: configured for UDMA/133
ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata2.00: ATA-7: ST380811AS, 3.AAE, max UDMA/133
ata2.00: 156301488 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata2.00: configured for UDMA/133
ata3: SATA link down (SStatus 0 SControl 300)
ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata4.00: ATAPI: PLEXTOR DVDR PX-755A, 1.04, max UDMA/66
ata4.00: configured for UDMA/66
ata5: SATA link down (SStatus 0 SControl 300)
ata6: SATA link down (SStatus 0 SControl 300)
scsi 0:0:0:0: Direct-Access ATA HDT722516DLA380 V43O PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 321672960 512-byte hardware sectors (164697 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO
or FUA
sd 0:0:0:0: [sda] 321672960 512-byte hardware sectors (164697 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO
or FUA
sda: sda2 sda3 sda4 < sda5 sda6 sda7 >
sd 0:0:0:0: [sda] Attached SCSI disk
scsi 1:0:0:0: Direct-Access ATA ST380811AS 3.AA PQ: 0 ANSI: 5
sd 1:0:0:0: [sdb] 156301488 512-byte hardware sectors (80026 MB)
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO
or FUA
sd 1:0:0:0: [sdb] 156301488 512-byte hardware sectors (80026 MB)
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO
or FUA
sdb: sdb1 sdb2 sdb3 sdb4 < sdb5 sdb6 sdb7 sdb8 >
sd 1:0:0:0: [sdb] Attached SCSI disk
scsi 3:0:0:0: CD-ROM PLEXTOR DVDR PX-755A 1.04 PQ: 0 ANSI: 5
sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 3:0:0:0: Attached scsi CD-ROM sr0
ACPI: PCI Interrupt 0000:00:1a.7[D] -> GSI 19 (level, low) -> IRQ 19
Int: type 0, pol 3, trig 3, bus 00, IRQ 6b, APIC ID 2, APIC INT 13
PCI: Setting latency timer of device 0000:00:1a.7 to 64
ehci_hcd 0000:00:1a.7: EHCI Host Controller
ehci_hcd 0000:00:1a.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1a.7: debug port 1
PCI: cache line size of 32 is not supported by device 0000:00:1a.7
ehci_hcd 0000:00:1a.7: irq 19, io mem 0xffa7b400
ehci_hcd 0000:00:1a.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 23
Int: type 0, pol 3, trig 3, bus 00, IRQ 74, APIC ID 2, APIC INT 17
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 2
ehci_hcd 0000:00:1d.7: debug port 1
PCI: cache line size of 32 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: irq 23, io mem 0xffa7b000
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 6 ports detected
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt 0000:00:1a.0[A] -> GSI 16 (level, low) -> IRQ 16
Int: type 0, pol 3, trig 3, bus 00, IRQ 68, APIC ID 2, APIC INT 10
PCI: Setting latency timer of device 0000:00:1a.0 to 64
uhci_hcd 0000:00:1a.0: UHCI Host Controller
uhci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1a.0: irq 16, io base 0x0000d880
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1a.1[B] -> GSI 21 (level, low) -> IRQ 21
Int: type 0, pol 3, trig 3, bus 00, IRQ 69, APIC ID 2, APIC INT 15
PCI: Setting latency timer of device 0000:00:1a.1 to 64
uhci_hcd 0000:00:1a.1: UHCI Host Controller
uhci_hcd 0000:00:1a.1: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1a.1: irq 21, io base 0x0000d800
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1a.2[C] -> GSI 18 (level, low) -> IRQ 18
Int: type 0, pol 3, trig 3, bus 00, IRQ 6a, APIC ID 2, APIC INT 12
PCI: Setting latency timer of device 0000:00:1a.2 to 64
uhci_hcd 0000:00:1a.2: UHCI Host Controller
uhci_hcd 0000:00:1a.2: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:1a.2: irq 18, io base 0x0000d480
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 23
Int: type 0, pol 3, trig 3, bus 00, IRQ 74, APIC ID 2, APIC INT 17
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 6
uhci_hcd 0000:00:1d.0: irq 23, io base 0x0000d400
usb usb6: configuration #1 chosen from 1 choice
hub 6-0:1.0: USB hub found
hub 6-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 19
Int: type 0, pol 3, trig 3, bus 00, IRQ 75, APIC ID 2, APIC INT 13
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 7
uhci_hcd 0000:00:1d.1: irq 19, io base 0x0000d080
usb usb7: configuration #1 chosen from 1 choice
hub 7-0:1.0: USB hub found
hub 7-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.2[D] -> GSI 16 (level, low) -> IRQ 16
Int: type 0, pol 3, trig 3, bus 00, IRQ 77, APIC ID 2, APIC INT 10
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 8
uhci_hcd 0000:00:1d.2: irq 16, io base 0x0000d000
usb usb8: configuration #1 chosen from 1 choice
hub 8-0:1.0: USB hub found
hub 8-0:1.0: 2 ports detected
usb 6-1: new full speed USB device using uhci_hcd and address 2
pnp: the driver 'i8042 kbd' has been registered
pnp: the driver 'i8042 aux' has been registered
pnp: the driver 'i8042 kbd' has been unregistered
pnp: the driver 'i8042 aux' has been unregistered
PNP: No PS/2 controller found. Probing ports directly.
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
ACPI: PCI Interrupt 0000:00:1f.3[C] -> GSI 18 (level, low) -> IRQ 18
Int: type 0, pol 3, trig 3, bus 00, IRQ 7e, APIC ID 2, APIC INT 12
usb 6-1: configuration #1 chosen from 1 choice
hub 6-1:1.0: USB hub found
hub 6-1:1.0: 3 ports detected
coretemp coretemp.0: Using relative temperature scale!
coretemp coretemp.1: Using relative temperature scale!
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
device-mapper: ioctl: 4.13.0-ioctl (2007-10-18) initialised: [email protected]
cpuidle: using governor ladder
cpuidle: using governor menu
Advanced Linux Sound Architecture Driver Version 1.0.17rc1.
ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 22
Int: type 0, pol 3, trig 3, bus 00, IRQ 6c, APIC ID 2, APIC INT 16
PCI: Setting latency timer of device 0000:00:1b.0 to 64
usb 6-1.1: new full speed USB device using uhci_hcd and address 3
usb 6-1.1: configuration #1 chosen from 1 choice
ALSA device list:
#0: HDA Intel at 0xffa70000 irq 22
TCP cubic registered
NET: Registered protocol family 10
NET: Registered protocol family 17
PM: Resume from partition /dev/sda2
PM: Checking hibernation image.
PM: Resume from disk failed.
registered taskstats version 1
/home/l/latest/xxx/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
md: Autodetecting RAID arrays.
usb 6-1.2: new low speed USB device using uhci_hcd and address 4
md: Scanned 6 and added 6 devices.
md: autorun ...
md: considering sdb5 ...
md: adding sdb5 ...
md: sdb3 has different UUID to sdb5
md: sdb2 has different UUID to sdb5
md: adding sda5 ...
md: sda3 has different UUID to sdb5
md: sda2 has different UUID to sdb5
md: created md3
md: bind<sda5>
md: bind<sdb5>
md: running: <sdb5><sda5>
raid1: raid set md3 active with 2 out of 2 mirrors
md: considering sdb3 ...
md: adding sdb3 ...
md: sdb2 has different UUID to sdb3
md: adding sda3 ...
md: sda2 has different UUID to sdb3
md: created md2
md: bind<sda3>
md: bind<sdb3>
md: running: <sdb3><sda3>
md2: setting max_sectors to 128, segment boundary to 32767
raid0: looking at sdb3
raid0: comparing sdb3(11984384) with sdb3(11984384)
raid0: END
raid0: ==> UNIQUE
raid0: 1 zones
raid0: looking at sda3
raid0: comparing sda3(11984384) with sdb3(11984384)
raid0: EQUAL
raid0: FINAL 1 zones
raid0: done.
raid0 : md_size is 23968768 blocks.
raid0 : conf->hash_spacing is 23968768 blocks.
raid0 : nb_zone is 1.
raid0 : Allocating 8 bytes for hash.
md: considering sdb2 ...
md: adding sdb2 ...
md: adding sda2 ...
md: created md1
md: bind<sda2>
md: bind<sdb2>
md: running: <sdb2><sda2>
md1: setting max_sectors to 128, segment boundary to 32767
raid0: looking at sdb2
raid0: comparing sdb2(4891712) with sdb2(4891712)
raid0: END
raid0: ==> UNIQUE
raid0: 1 zones
raid0: looking at sda2
raid0: comparing sda2(4891648) with sdb2(4891712)
raid0: NOT EQUAL
raid0: comparing sda2(4891648) with sda2(4891648)
raid0: END
raid0: ==> UNIQUE
raid0: 2 zones
raid0: FINAL 2 zones
raid0: zone 1
raid0: checking sdb2 ... contained as device 0
(4891712) is smallest!.
raid0: checking sda2 ... nope.
raid0: zone->nb_dev: 1, size: 64
raid0: current zone offset: 4891712
raid0: done.
raid0 : md_size is 9783360 blocks.
raid0 : conf->hash_spacing is 9783296 blocks.
raid0 : nb_zone is 2.
raid0 : Allocating 16 bytes for hash.
md: ... autorun DONE.
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 280k freed
Write protecting the kernel read-only data: 4616k
usb 6-1.2: configuration #1 chosen from 1 choice
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
pnp: the driver 'rtc_cmos' has been registered
rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0
rtc0: alarms up to one month, y3k
rtc_cmos 00:03: driver attached
usbcore: registered new interface driver hiddev
input: ABBHOME USB Keyboard as
/devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1.1/6-1.1:1.0/input/input2
ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 18 (level, low) -> IRQ 18
Int: type 0, pol 3, trig 3, bus 03, IRQ 00, APIC ID 2, APIC INT 12
input,hidraw0: USB HID v1.10 Keyboard [ABBHOME USB Keyboard] on usb-0000:00:1d.0-1.1
input: ABBHOME USB Keyboard as
/devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1.1/6-1.1:1.1/input/input3
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[18] MMIO=[ff6ff800-ff6fffff] Max
Packet=[2048] IR/IT contexts=[4/8]
input,hidraw1: USB HID v1.10 Mouse [ABBHOME USB Keyboard] on usb-0000:00:1d.0-1.1
input: Microsoft Corporation Microsoft � Laser Mouse 6000 as
/devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1.2/6-1.2:1.0/input/input4
input,hidraw2: USB HID v1.11 Mouse [Microsoft Corporation Microsoft � Laser
Mouse 6000] on usb-0000:00:1d.0-1.2
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Adding 2008084k swap on /dev/sdb6. Priority:-1 extents:1 across:2008084k
EXT3 FS on md1, internal journal
ieee1394: Host added: ID:BUS[0-00:1023] GUID[0000000000000000]
kjournald starting. Commit interval 5 seconds
EXT3 FS on sdb1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on dm-1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on dm-2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on dm-0, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
ADDRCONF(NETDEV_UP): eth0: link is not ready
eth0: Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
eth0: 10/100 speed: disabling TSO
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
eth0: no IPv6 routers present
md: md2 stopped.
md: unbind<sdb3>
md: export_rdev(sdb3)
md: unbind<sda3>
md: export_rdev(sda3)
md: md3 stopped.
md: unbind<sdb5>
md: export_rdev(sdb5)
md: unbind<sda5>
md: export_rdev(sda5)
PM: Syncing filesystems ... done.
PM: Preparing system for mem sleep
Freezing user space processes ... (elapsed 0.00 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
PM: Entering mem sleep
Suspending console(s) (use no_console_suspend to debug)
sd 1:0:0:0: [sdb] Synchronizing SCSI cache
sd 1:0:0:0: [sdb] Stopping disk
sd 0:0:0:0: [sda] Synchronizing SCSI cache
sd 0:0:0:0: [sda] Stopping disk
ACPI: PCI interrupt for device 0000:00:02.0 disabled
serial 00:07: disabled
serial 00:06: disabled
ACPI handle has no context!
ACPI: PCI interrupt for device 0000:00:1d.7 disabled
ACPI: PCI interrupt for device 0000:00:1d.2 disabled
ACPI: PCI interrupt for device 0000:00:1d.1 disabled
ACPI: PCI interrupt for device 0000:00:1d.0 disabled
ACPI: PCI interrupt for device 0000:00:1b.0 disabled
ACPI: PCI interrupt for device 0000:00:1a.7 disabled
ACPI: PCI interrupt for device 0000:00:1a.2 disabled
ACPI: PCI interrupt for device 0000:00:1a.1 disabled
ACPI: PCI interrupt for device 0000:00:1a.0 disabled
ACPI: PCI interrupt for device 0000:00:19.0 disabled
ACPI handle has no context!
ACPI: Preparing to enter system sleep state S3
Disabling non-boot CPUs ...
CPU 1 is now offline
SMP alternatives: switching to UP code
CPU1 is down
Extended CMOS year: 2000
x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
Back to C!
Extended CMOS year: 2000
Enabling non-boot CPUs ...
SMP alternatives: switching to SMP code
Booting processor 1/1 ip 6000
Initializing CPU#1
Calibrating delay using timer specific routine.. 5984.99 BogoMIPS (lpj=11969995)
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L3 cache: 4096K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
x86 PAT enabled: cpu 1, old 0x7040600070406, new 0x7010600070106
CPU1: Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz stepping 0b
checking TSC synchronization [CPU#0 -> CPU#1]: passed.
CPU1 is up
PM: Writing back config space on device 0000:00:02.0 at offset 6 (was c0000008,
writing d0000008)
PM: Writing back config space on device 0000:00:02.0 at offset 1 (was 900007,
writing 900003)
PM: Writing back config space on device 0000:00:03.0 at offset f (was 100,
writing 105)
PM: Writing back config space on device 0000:00:03.1 at offset f (was 400,
writing 40f)
PM: Writing back config space on device 0000:00:03.1 at offset b (was 0, writing
29c58086)
PM: Writing back config space on device 0000:00:03.1 at offset 4 (was fed11004,
writing ffa7b804)
PM: Writing back config space on device 0000:00:03.1 at offset 1 (was 100006,
writing 180006)
PM: Writing back config space on device 0000:00:03.2 at offset f (was 300,
writing 30c)
PM: Writing back config space on device 0000:00:03.2 at offset 8 (was 1, writing
e081)
PM: Writing back config space on device 0000:00:03.2 at offset 7 (was 1, writing
e401)
PM: Writing back config space on device 0000:00:03.2 at offset 6 (was 1, writing
e481)
PM: Writing back config space on device 0000:00:03.2 at offset 5 (was 1, writing
e801)
Switched to high resolution mode on CPU 1
PM: Writing back config space on device 0000:00:03.3 at offset f (was 200,
writing 20a)
PM: Writing back config space on device 0000:00:03.3 at offset 5 (was 0, writing
ffa7a000)
PM: Writing back config space on device 0000:00:19.0 at offset f (was 100,
writing 10e)
PM: Writing back config space on device 0000:00:19.0 at offset 6 (was 1, writing
dc01)
PM: Writing back config space on device 0000:00:19.0 at offset 5 (was 0, writing
ffa79000)
PM: Writing back config space on device 0000:00:19.0 at offset 4 (was 0, writing
ffa40000)
PM: Writing back config space on device 0000:00:19.0 at offset 1 (was 100000,
writing 100007)
ACPI: PCI Interrupt 0000:00:19.0[A] -> GSI 20 (level, low) -> IRQ 20
Int: type 0, pol 3, trig 3, bus 00, IRQ 64, APIC ID 2, APIC INT 14
PCI: Setting latency timer of device 0000:00:19.0 to 64
ACPI: PCI Interrupt 0000:00:1a.0[A] -> GSI 16 (level, low) -> IRQ 16
Int: type 0, pol 3, trig 3, bus 00, IRQ 68, APIC ID 2, APIC INT 10
PCI: Setting latency timer of device 0000:00:1a.0 to 64
usb usb3: root hub lost power or was reset
ACPI: PCI Interrupt 0000:00:1a.1[B] -> GSI 21 (level, low) -> IRQ 21
Int: type 0, pol 3, trig 3, bus 00, IRQ 69, APIC ID 2, APIC INT 15
PCI: Setting latency timer of device 0000:00:1a.1 to 64
usb usb4: root hub lost power or was reset
ACPI: PCI Interrupt 0000:00:1a.2[C] -> GSI 18 (level, low) -> IRQ 18
Int: type 0, pol 3, trig 3, bus 00, IRQ 6a, APIC ID 2, APIC INT 12
PCI: Setting latency timer of device 0000:00:1a.2 to 64
usb usb5: root hub lost power or was reset
ACPI: PCI Interrupt 0000:00:1a.7[D] -> GSI 19 (level, low) -> IRQ 19
Int: type 0, pol 3, trig 3, bus 00, IRQ 6b, APIC ID 2, APIC INT 13
PCI: Setting latency timer of device 0000:00:1a.7 to 64
PM: Writing back config space on device 0000:00:1b.0 at offset 3 (was 0, writing 8)
PM: Writing back config space on device 0000:00:1b.0 at offset 1 (was 100006,
writing 100002)
ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 22
Int: type 0, pol 3, trig 3, bus 00, IRQ 6c, APIC ID 2, APIC INT 16
PCI: Setting latency timer of device 0000:00:1b.0 to 64
PM: Writing back config space on device 0000:00:1c.0 at offset f (was 20100,
writing 2010a)
PM: Writing back config space on device 0000:00:1c.0 at offset 3 (was 810000,
writing 810008)
PM: Writing back config space on device 0000:00:1c.0 at offset 1 (was 100104,
writing 100504)
PCI: Setting latency timer of device 0000:00:1c.0 to 64
PM: Writing back config space on device 0000:00:1c.2 at offset f (was 20300,
writing 2030c)
PM: Writing back config space on device 0000:00:1c.2 at offset 7 (was f0,
writing 200000f0)
PM: Writing back config space on device 0000:00:1c.2 at offset 3 (was 810000,
writing 810008)
PM: Writing back config space on device 0000:00:1c.2 at offset 1 (was 100106,
writing 100506)
PCI: Setting latency timer of device 0000:00:1c.2 to 64
ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 23
Int: type 0, pol 3, trig 3, bus 00, IRQ 74, APIC ID 2, APIC INT 17
PCI: Setting latency timer of device 0000:00:1d.0 to 64
usb usb6: root hub lost power or was reset
ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 19
Int: type 0, pol 3, trig 3, bus 00, IRQ 75, APIC ID 2, APIC INT 13
PCI: Setting latency timer of device 0000:00:1d.1 to 64
usb usb7: root hub lost power or was reset
ACPI: PCI Interrupt 0000:00:1d.2[D] -> GSI 16 (level, low) -> IRQ 16
Int: type 0, pol 3, trig 3, bus 00, IRQ 77, APIC ID 2, APIC INT 10
PCI: Setting latency timer of device 0000:00:1d.2 to 64
usb usb8: root hub lost power or was reset
ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 23
Int: type 0, pol 3, trig 3, bus 00, IRQ 74, APIC ID 2, APIC INT 17
PCI: Setting latency timer of device 0000:00:1d.7 to 64
PM: Writing back config space on device 0000:00:1e.0 at offset f (was 20000,
writing 200ff)
PCI: Setting latency timer of device 0000:00:1e.0 to 64
PM: Writing back config space on device 0000:00:1f.2 at offset 1 (was 2b00007,
writing 2b00407)
PCI: Setting latency timer of device 0000:00:1f.2 to 64
eth0: Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
eth0: 10/100 speed: disabling TSO
PM: Writing back config space on device 0000:00:1f.6 at offset b (was 0, writing
29328086)
PM: Writing back config space on device 0000:02:00.0 at offset 7 (was 2a001f1,
writing 22a001f1)
PCI: Setting latency timer of device 0000:02:00.0 to 64
PM: Writing back config space on device 0000:03:00.0 at offset f (was 4020100,
writing 402010c)
PM: Writing back config space on device 0000:03:00.0 at offset 5 (was 0, writing
ff6f8000)
PM: Writing back config space on device 0000:03:00.0 at offset 4 (was 0, writing
ff6ff800)
PM: Writing back config space on device 0000:03:00.0 at offset 3 (was 0, writing
4008)
PM: Writing back config space on device 0000:03:00.0 at offset 1 (was 2300000,
writing 2300016)
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[18] MMIO=[ff6ff800-ff6fffff] Max
Packet=[2048] IR/IT contexts=[4/8]
serial 00:06: pnp_start_dev: current resources:
serial 00:06: io 0x3f8-0x3ff flags 0x101
serial 00:06: irq 4 flags 0x401
serial 00:06: set resources
serial 00:06: encode 3 resources
serial 00:06: encode io 0x3f8-0x3ff decode 0x1
serial 00:06: encode irq 4 edge high exclusive (2-byte descriptor)
serial 00:06: no dma resource to encode!
serial 00:06: activated
serial 00:07: pnp_start_dev: current resources:
serial 00:07: io 0x2f8-0x2ff flags 0x101
serial 00:07: irq 3 flags 0x401
serial 00:07: set resources
serial 00:07: encode 3 resources
serial 00:07: encode io 0x2f8-0x2ff decode 0x1
serial 00:07: encode irq 3 edge high exclusive (2-byte descriptor)
serial 00:07: no dma resource to encode!
serial 00:07: activated
ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16
Int: type 0, pol 3, trig 3, bus 00, IRQ 08, APIC ID 2, APIC INT 10
sd 0:0:0:0: [sda] Starting disk
ata6: SATA link down (SStatus 0 SControl 300)
ata5: SATA link down (SStatus 0 SControl 300)
ata3: SATA link down (SStatus 0 SControl 300)
ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata2.00: configured for UDMA/133
sd 1:0:0:0: [sdb] 156301488 512-byte hardware sectors (80026 MB)
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO
or FUA
ata4.00: configured for UDMA/66
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: configured for UDMA/133
sd 0:0:0:0: [sda] 321672960 512-byte hardware sectors (164697 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO
or FUA
sd 1:0:0:0: [sdb] Starting disk
usb 6-1: reset full speed USB device using uhci_hcd and address 2
usb 6-1.1: reset full speed USB device using uhci_hcd and address 3
usb 6-1.2: reset low speed USB device using uhci_hcd and address 4
PM: Finishing wakeup.
Restarting tasks ... done.

2008-06-13 17:23:52

by Bjorn Helgaas

[permalink] [raw]
Subject: Re: pnp changes -> suspend oops [Was: 2.6.26-rc5-mm2]

On Friday 13 June 2008 10:05:00 am Jiri Slaby wrote:
> On 06/12/2008 11:57 PM, Bjorn Helgaas wrote:
> > On Thursday 12 June 2008 03:39:14 pm Jiri Slaby wrote:
> >> On 06/12/2008 11:22 PM, Bjorn Helgaas wrote:
> >>> On Thursday 12 June 2008 03:10:04 pm Jiri Slaby wrote:
> >>>> On 06/11/2008 09:03 PM, Bjorn Helgaas wrote:
> >>>>> Before you go to all the trouble of bisecting it, can you turn on
> >>>>> CONFIG_PNP_DEBUG and try the following debug patch? I think this
> >>>>> will prevent the oops, but it's just papering over the real problem,
> >>>>> so please capture the complete dmesg log.
> >>>> ACPI: PCI interrupt for device 0000:00:02.0 disabled
> >>>> serial 00:07: disabled
> >>>> serial 00:06: disabled
> >>>> ACPI handle has no context!
> >>>> ACPI: PCI interrupt for device 0000:00:1d.7 disabled
> >>>> ...
> >>>> serial 00:06: no dma resource to encode!
> >>>> serial 00:06: activated
> >>>> serial 00:07: no dma resource to encode!
> >>>> serial 00:07: activated
> >>>> ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16
> >>> Interesting. I wonder why a serial device would have a DMA resource.
> >>> We encode resources by following a template from _CRS, so evidently
> >>> that template had a DMA resource. Or something deeper is wrong.
> >>>
> >>> Can you send me the rest of that dmesg log?
> >> Below.
> >
> > Thanks, but it looks like CONFIG_PNP_DEBUG is not turned on. Can
> > you turn that on and capture the log again, please?
>
> Here it goes:

Thanks a lot! Your BIOS clearly claims that at least one of your
serial ports can be configured with DMA:

pnp 00:07: dependent set 5 (acceptable) io min 0x3f8 max 0x3f8 align 1 size 8 flags 0x1
pnp 00:07: dependent set 5 (acceptable) irq 3 4 5 6 7 10 11 12 flags 0x1
pnp 00:07: dependent set 5 (acceptable) dma 0 1 2 3 (bitmask 0xf) flags 0x0

That's wierd, but whatever, we still have to be careful to give the
BIOS back what it expects, and I think that means we have to keep
track of that disabled DMA resource in pnpacpi_allocated_resource().

Can you please replace the debug patch with the one below and send me
the results again?

Index: work10/drivers/pnp/pnpacpi/rsparser.c
===================================================================
--- work10.orig/drivers/pnp/pnpacpi/rsparser.c 2008-06-11 12:46:28.000000000 -0600
+++ work10/drivers/pnp/pnpacpi/rsparser.c 2008-06-13 11:13:21.000000000 -0600
@@ -240,6 +240,7 @@ static acpi_status pnpacpi_allocated_res
struct acpi_resource_fixed_memory32 *fixed_memory32;
struct acpi_resource_extended_irq *extended_irq;
int i, flags;
+ u8 channel;

switch (res->type) {
case ACPI_RESOURCE_TYPE_IRQ:
@@ -259,13 +260,13 @@ static acpi_status pnpacpi_allocated_res

case ACPI_RESOURCE_TYPE_DMA:
dma = &res->data.dma;
- if (dma->channel_count > 0) {
- flags = dma_flags(dma->type, dma->bus_master,
- dma->transfer);
- if (dma->channels[0] == (u8) -1)
- flags |= IORESOURCE_DISABLED;
- pnp_add_dma_resource(dev, dma->channels[0], flags);
+ channel = dma->channels[0];
+ flags = dma_flags(dma->type, dma->bus_master, dma->transfer);
+ if (dma->channel_count == 0 || dma->channels[0] == (u8) -1) {
+ channel = -1;
+ flags = IORESOURCE_DISABLED;
}
+ pnp_add_dma_resource(dev, channel, flags);
break;

case ACPI_RESOURCE_TYPE_IO:
@@ -749,6 +750,11 @@ static void pnpacpi_encode_irq(struct pn
struct acpi_resource_irq *irq = &resource->data.irq;
int triggering, polarity, shareable;

+ if (!p) {
+ dev_err(&dev->dev, " no irq resource to encode!\n");
+ return;
+ }
+
decode_irq_flags(dev, p->flags, &triggering, &polarity, &shareable);
irq->triggering = triggering;
irq->polarity = polarity;
@@ -771,6 +777,11 @@ static void pnpacpi_encode_ext_irq(struc
struct acpi_resource_extended_irq *extended_irq = &resource->data.extended_irq;
int triggering, polarity, shareable;

+ if (!p) {
+ dev_err(&dev->dev, " no extended irq resource to encode!\n");
+ return;
+ }
+
decode_irq_flags(dev, p->flags, &triggering, &polarity, &shareable);
extended_irq->producer_consumer = ACPI_CONSUMER;
extended_irq->triggering = triggering;
@@ -791,6 +802,11 @@ static void pnpacpi_encode_dma(struct pn
{
struct acpi_resource_dma *dma = &resource->data.dma;

+ if (!p) {
+ dev_err(&dev->dev, " no dma resource to encode!\n");
+ return;
+ }
+
/* Note: pnp_assign_dma will copy pnp_dma->flags into p->flags */
switch (p->flags & IORESOURCE_DMA_SPEED_MASK) {
case IORESOURCE_DMA_TYPEA:
@@ -832,6 +848,11 @@ static void pnpacpi_encode_io(struct pnp
{
struct acpi_resource_io *io = &resource->data.io;

+ if (!p) {
+ dev_err(&dev->dev, " no io resource to encode!\n");
+ return;
+ }
+
/* Note: pnp_assign_port will copy pnp_port->flags into p->flags */
io->io_decode = (p->flags & IORESOURCE_IO_16BIT_ADDR) ?
ACPI_DECODE_16 : ACPI_DECODE_10;
@@ -851,6 +872,11 @@ static void pnpacpi_encode_fixed_io(stru
{
struct acpi_resource_fixed_io *fixed_io = &resource->data.fixed_io;

+ if (!p) {
+ dev_err(&dev->dev, " no fixed io resource to encode!\n");
+ return;
+ }
+
fixed_io->address = p->start;
fixed_io->address_length = p->end - p->start + 1;

@@ -864,6 +890,11 @@ static void pnpacpi_encode_mem24(struct
{
struct acpi_resource_memory24 *memory24 = &resource->data.memory24;

+ if (!p) {
+ dev_err(&dev->dev, " no mem24 resource to encode!\n");
+ return;
+ }
+
/* Note: pnp_assign_mem will copy pnp_mem->flags into p->flags */
memory24->write_protect =
(p->flags & IORESOURCE_MEM_WRITEABLE) ?
@@ -884,6 +915,11 @@ static void pnpacpi_encode_mem32(struct
{
struct acpi_resource_memory32 *memory32 = &resource->data.memory32;

+ if (!p) {
+ dev_err(&dev->dev, " no mem32 resource to encode!\n");
+ return;
+ }
+
memory32->write_protect =
(p->flags & IORESOURCE_MEM_WRITEABLE) ?
ACPI_READ_WRITE_MEMORY : ACPI_READ_ONLY_MEMORY;
@@ -903,6 +939,11 @@ static void pnpacpi_encode_fixed_mem32(s
{
struct acpi_resource_fixed_memory32 *fixed_memory32 = &resource->data.fixed_memory32;

+ if (!p) {
+ dev_err(&dev->dev, " no fixed_mem32 resource to encode!\n");
+ return;
+ }
+
fixed_memory32->write_protect =
(p->flags & IORESOURCE_MEM_WRITEABLE) ?
ACPI_READ_WRITE_MEMORY : ACPI_READ_ONLY_MEMORY;

2008-06-13 17:45:55

by Rik van Riel

[permalink] [raw]
Subject: Re: 2.6.26-rc5-mm2 (swap_state.c:77)

On Thu, 12 Jun 2008 22:15:54 +0100 (BST)
Hugh Dickins <[email protected]> wrote:

> > I'm trying to make sense of all the splice code now
> > and will send fix as soon as I know how to fix this
> > problem in a nice way.
>
> There's no need to make sense of all the splice code, it's just
> that it's doing add_to_page_cache_lru (on a page not marked as
> SwapBacked), then shmem and swap_state consistency relies on it
> as having been marked as SwapBacked. Normally, yes, shmem_getpage
> is the one that allocates the page, but in this case it's already
> been done outside, awkward (and long predates loop's use of splice).
>
> It's remarkably hard to correct the LRU of a page once it's been
> launched towards one. Is it still on this cpu's pagevec? Have we
> been preempted and it's on another cpu's pagevec? If it's reached
> the LRU, has vmscan whisked it off for a moment, even though it's
> PageLocked? Until now it's been that the LRUs are self-correcting,
> but these patches move away from that.
>
> I don't know how to fix this problem in a nice way. For the moment,
> to proceed with testing, I'm using the hack below. But perhaps that
> screws things up for the other !mapping_cap_account_dirty filesystems
> e.g. ramfs, I just haven't tried them yet - nor shall in the next
> couple of days.

Yeah, it will break ramfs. Also, we need to take care of
splice going in the opposite direction (moving a page from
SwapBacked to filesystem backed).

I guess we'll need per-mapping flags to help determine where
a page goes at add_to_page_cache_lru() time.

This does not remove our need for the page flags, because
those need to survive until the del_page_from_lru() call
in __page_cache_release(), by which time the page->mapping
will be long gone.

> Am I right to think that the memcontrol stuff is now all broken,
> because memcontrol.c hasn't yet been converted to the more LRUs?
> Certainly I'm now hanging when trying to run in a restricted memcg.

I believe memcontrol has been converted. Of course, maybe
they changed some stuff under me that I didn't notice :(

> Unrelated fix to compiler warning and silly /proc/meminfo numbers
> below too, that one raises fewer questions!

I sent the fix for that one to Andrew already. I believe
it's in his mmotm tree.

--
All Rights Reversed

2008-06-13 21:16:29

by Hugh Dickins

[permalink] [raw]
Subject: Re: 2.6.26-rc5-mm2 (swap_state.c:77)

On Fri, 13 Jun 2008, Rik van Riel wrote:
> On Thu, 12 Jun 2008 22:15:54 +0100 (BST)
> Hugh Dickins <[email protected]> wrote:
> >
> > I don't know how to fix this problem in a nice way. For the moment,
> > to proceed with testing, I'm using the hack below. But perhaps that
> > screws things up for the other !mapping_cap_account_dirty filesystems
> > e.g. ramfs, I just haven't tried them yet - nor shall in the next
> > couple of days.
>
> Yeah, it will break ramfs. Also, we need to take care of
> splice going in the opposite direction (moving a page from
> SwapBacked to filesystem backed).

No, that's a different, and blessedly non-existent, problem.

The swap_state.c:77s we're seeing with loop-on-tmpfs-file just comes
from __generic_file_splice_read doing add_to_page_cache_lru without
knowing that the filesystem it's dealing with is tmpfs, which unlike
every other filesystem sets and expects PageSwapBacked on its pages.
(I expect you started out without that, then hit problems when tmpfs
moved its file pages to swap cache, so you therefore elected to make
them SwapBacked from the start.)

You could certainly argue that tmpfs should therefore have its own
shmem_file_splice_read instead of using generic_file_splice_read;
but I'd rather hate to duplicate that splice code within shmem.c just
for this reason, would prefer that __generic_file_splice_read deduce it's
dealing with tmpfs and SetPageSwapBacked before add_to_page_cache_lru
(probably better that way than within add_to_page_cache_lru as I did).

Though I'd even more prefer to find a way of avoiding it altogether:
I've yet to think through on that.

But this is hardly a splice problem, it's just that splice is the
only thing which ever goes the problematic shmem_readpage route.

When above you say that we also need to take care of going the
opposite direction, you're thinking about splice stealing pages
from one mapping and giving them to another, the essence of splice.
But see Nick's year-old 485ddb4b9741bafb70b22e5c1f9b4f37dc3e85bd
"splice: dont steal" patch: that stealing is currently dead code,
so you shouldn't spend time worrying about how to deal with it.
Though we've all forgotten to either remove or correct that code.

> I guess we'll need per-mapping flags to help determine where
> a page goes at add_to_page_cache_lru() time.

The better way would be to add a backing_dev_info flag. (At one
point I had been going to criticize your per-mapping AS_UNEVICTABLE,
to say that one should be a backing_dev_info flag; but no, you're
right, you've the SHM_LOCK case where it has to be per-mapping.)

> This does not remove our need for the page flags, because
> those need to survive until the del_page_from_lru() call
> in __page_cache_release(), by which time the page->mapping
> will be long gone.

Yes, I see that.

> > Am I right to think that the memcontrol stuff is now all broken,
> > because memcontrol.c hasn't yet been converted to the more LRUs?
> > Certainly I'm now hanging when trying to run in a restricted memcg.
>
> I believe memcontrol has been converted. Of course, maybe
> they changed some stuff under me that I didn't notice :(

Ah, yes, there are NR_LRU_LISTS arrays in there now, so it has
the appearance of having been converted. Fine, then it's worth
my looking into why it isn't actually working as intended.

Hugh

2008-06-13 22:04:21

by Rik van Riel

[permalink] [raw]
Subject: Re: 2.6.26-rc5-mm2 (swap_state.c:77)

On Fri, 13 Jun 2008 22:15:01 +0100 (BST)
Hugh Dickins <[email protected]> wrote:

> > I guess we'll need per-mapping flags to help determine where
> > a page goes at add_to_page_cache_lru() time.
>
> The better way would be to add a backing_dev_info flag. (At one
> point I had been going to criticize your per-mapping AS_UNEVICTABLE,
> to say that one should be a backing_dev_info flag; but no, you're
> right, you've the SHM_LOCK case where it has to be per-mapping.)

Good point. I'll take a look at that.

> > > Am I right to think that the memcontrol stuff is now all broken,
> > > because memcontrol.c hasn't yet been converted to the more LRUs?
> > > Certainly I'm now hanging when trying to run in a restricted memcg.
> >
> > I believe memcontrol has been converted. Of course, maybe
> > they changed some stuff under me that I didn't notice :(
>
> Ah, yes, there are NR_LRU_LISTS arrays in there now, so it has
> the appearance of having been converted. Fine, then it's worth
> my looking into why it isn't actually working as intended.

I believe that Lee and Kosaki-san have tested this code,
so the breakage could be pretty new.

--
All rights reversed.

2008-06-16 10:45:30

by Jiri Slaby

[permalink] [raw]
Subject: Re: pnp changes -> suspend oops [Was: 2.6.26-rc5-mm2]

On 06/13/2008 07:23 PM, Bjorn Helgaas wrote:
> Thanks a lot! Your BIOS clearly claims that at least one of your
> serial ports can be configured with DMA:
>
> pnp 00:07: dependent set 5 (acceptable) io min 0x3f8 max 0x3f8 align 1 size 8 flags 0x1
> pnp 00:07: dependent set 5 (acceptable) irq 3 4 5 6 7 10 11 12 flags 0x1
> pnp 00:07: dependent set 5 (acceptable) dma 0 1 2 3 (bitmask 0xf) flags 0x0
>
> That's wierd, but whatever, we still have to be careful to give the
> BIOS back what it expects, and I think that means we have to keep
> track of that disabled DMA resource in pnpacpi_allocated_resource().
>
> Can you please replace the debug patch with the one below and send me
> the results again?
>
> Index: work10/drivers/pnp/pnpacpi/rsparser.c
> ===================================================================
> --- work10.orig/drivers/pnp/pnpacpi/rsparser.c 2008-06-11 12:46:28.000000000 -0600
> +++ work10/drivers/pnp/pnpacpi/rsparser.c 2008-06-13 11:13:21.000000000 -0600
> @@ -240,6 +240,7 @@ static acpi_status pnpacpi_allocated_res
> struct acpi_resource_fixed_memory32 *fixed_memory32;
> struct acpi_resource_extended_irq *extended_irq;
> int i, flags;
> + u8 channel;
>
> switch (res->type) {
> case ACPI_RESOURCE_TYPE_IRQ:
> @@ -259,13 +260,13 @@ static acpi_status pnpacpi_allocated_res
>
> case ACPI_RESOURCE_TYPE_DMA:
> dma = &res->data.dma;
> - if (dma->channel_count > 0) {
> - flags = dma_flags(dma->type, dma->bus_master,
> - dma->transfer);
> - if (dma->channels[0] == (u8) -1)
> - flags |= IORESOURCE_DISABLED;
> - pnp_add_dma_resource(dev, dma->channels[0], flags);
> + channel = dma->channels[0];
> + flags = dma_flags(dma->type, dma->bus_master, dma->transfer);
> + if (dma->channel_count == 0 || dma->channels[0] == (u8) -1) {
> + channel = -1;
> + flags = IORESOURCE_DISABLED;
> }
> + pnp_add_dma_resource(dev, channel, flags);
> break;
>
> case ACPI_RESOURCE_TYPE_IO:

Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp 00:00: parse allocated resources
pnp 00:00: add io 0xcf8-0xcff flags 0x1
pnp 00:00: Plug and Play ACPI device, IDs PNP0a08 PNP0a03 (active)
pnp 00:01: parse allocated resources
pnp 00:01: add mem 0xfed14000-0xfed19fff flags 0x1
pnp 00:01: PNP0c01: calling quirk_system_pci_resources+0x0/0x1d0
pnp 00:01: Plug and Play ACPI device, IDs PNP0c01 (active)
pnp 00:02: parse allocated resources
pnp 00:02: add dma 4 flags 0x4
pnp 00:02: add io 0x0-0xf flags 0x1
pnp 00:02: add io 0x81-0x83 flags 0x1
pnp 00:02: add io 0x87-0x87 flags 0x1
pnp 00:02: add io 0x89-0x8b flags 0x1
pnp 00:02: add io 0x8f-0x8f flags 0x1
pnp 00:02: add io 0xc0-0xdf flags 0x1
pnp 00:02: Plug and Play ACPI device, IDs PNP0200 (active)
pnp 00:03: parse allocated resources
pnp 00:03: add io 0x70-0x71 flags 0x1
pnp 00:03: add irq 8 flags 0x1
pnp 00:03: Plug and Play ACPI device, IDs PNP0b00 (active)
pnp 00:04: parse allocated resources
pnp 00:04: add io 0x61-0x61 flags 0x1
pnp 00:04: Plug and Play ACPI device, IDs PNP0800 (active)
pnp 00:05: parse allocated resources
pnp 00:05: add io 0xf0-0xff flags 0x1
pnp 00:05: add irq 13 flags 0x1
pnp 00:05: Plug and Play ACPI device, IDs PNP0c04 (active)
pnp 00:06: parse allocated resources
pnp 00:06: add io 0x3f8-0x3ff flags 0x1
pnp 00:06: add irq 4 flags 0x1
pnp 00:06: add dma 255 flags 0x10000000
pnp 00:06: parse resource options
pnp 00:06: dependent set 0 (preferred) io min 0x3f8 max 0x3f8 align 1 size 8
flags 0x1
pnp 00:06: dependent set 0 (preferred) irq 4 flags 0x1
pnp 00:06: dependent set 1 (acceptable) io min 0x3f8 max 0x3f8 align 1 size 8
flags 0x1
pnp 00:06: dependent set 1 (acceptable) irq 3 4 5 6 7 10 11 12 flags 0x1
pnp 00:06: dependent set 2 (acceptable) io min 0x2f8 max 0x2f8 align 1 size 8
flags 0x1
pnp 00:06: dependent set 2 (acceptable) irq 3 4 5 6 7 10 11 12 flags 0x1
pnp 00:06: dependent set 3 (acceptable) io min 0x3e8 max 0x3e8 align 1 size 8
flags 0x1
pnp 00:06: dependent set 3 (acceptable) irq 3 4 5 6 7 10 11 12 flags 0x1
pnp 00:06: dependent set 4 (acceptable) io min 0x2e8 max 0x2e8 align 1 size 8
flags 0x1
pnp 00:06: dependent set 4 (acceptable) irq 3 4 5 6 7 10 11 12 flags 0x1
pnp 00:06: Plug and Play ACPI device, IDs PNP0501 (active)
pnp 00:07: parse allocated resources
pnp 00:07: add io 0x2f8-0x2ff flags 0x1
pnp 00:07: add irq 3 flags 0x1
pnp 00:07: add dma 255 flags 0x10000000
pnp 00:07: parse resource options
pnp 00:07: dependent set 0 (preferred) io min 0x2f8 max 0x2f8 align 1 size 8
flags 0x1
pnp 00:07: dependent set 0 (preferred) irq 3 flags 0x1
pnp 00:07: dependent set 1 (acceptable) io min 0x3f8 max 0x3f8 align 1 size 8
flags 0x1
pnp 00:07: dependent set 1 (acceptable) irq 3 4 5 6 7 10 11 12 flags 0x1
pnp 00:07: dependent set 2 (acceptable) io min 0x2f8 max 0x2f8 align 1 size 8
flags 0x1
pnp 00:07: dependent set 2 (acceptable) irq 3 4 5 6 7 10 11 12 flags 0x1
pnp 00:07: dependent set 3 (acceptable) io min 0x3e8 max 0x3e8 align 1 size 8
flags 0x1
pnp 00:07: dependent set 3 (acceptable) irq 3 4 5 6 7 10 11 12 flags 0x1
pnp 00:07: dependent set 4 (acceptable) io min 0x2e8 max 0x2e8 align 1 size 8
flags 0x1
pnp 00:07: dependent set 4 (acceptable) irq 3 4 5 6 7 10 11 12 flags 0x1
pnp 00:07: dependent set 5 (acceptable) io min 0x3f8 max 0x3f8 align 1 size 8
flags 0x1
pnp 00:07: dependent set 5 (acceptable) irq 3 4 5 6 7 10 11 12 flags 0x1
pnp 00:07: dependent set 5 (acceptable) dma 0 1 2 3 (bitmask 0xf) flags 0x0
pnp 00:07: dependent set 6 (acceptable) io min 0x2f8 max 0x2f8 align 1 size 8
flags 0x1
pnp 00:07: dependent set 6 (acceptable) irq 3 4 5 6 7 10 11 12 flags 0x1
pnp 00:07: dependent set 6 (acceptable) dma 0 1 2 3 (bitmask 0xf) flags 0x0
pnp 00:07: dependent set 7 (acceptable) io min 0x3e8 max 0x3e8 align 1 size 8
flags 0x1
pnp 00:07: dependent set 7 (acceptable) irq 3 4 5 6 7 10 11 12 flags 0x1
pnp 00:07: dependent set 7 (acceptable) dma 0 1 2 3 (bitmask 0xf) flags 0x0
pnp 00:07: dependent set 8 (acceptable) io min 0x2e8 max 0x2e8 align 1 size 8
flags 0x1
pnp 00:07: dependent set 8 (acceptable) irq 3 4 5 6 7 10 11 12 flags 0x1
pnp 00:07: dependent set 8 (acceptable) dma 0 1 2 3 (bitmask 0xf) flags 0x0
pnp 00:07: Plug and Play ACPI device, IDs PNP0501 (active)
pnp 00:08: parse allocated resources
pnp 00:08: add io 0x3f0-0x3f5 flags 0x1
pnp 00:08: add io 0x3f7-0x3f7 flags 0x1
pnp 00:08: add irq 6 flags 0x1
pnp 00:08: add dma 2 flags 0x0
pnp 00:08: parse resource options
pnp 00:08: dependent set 0 (preferred) io min 0x3f0 max 0x3f0 align 1 size 6
flags 0x1
pnp 00:08: dependent set 0 (preferred) io min 0x3f7 max 0x3f7 align 1 size 1
flags 0x1
pnp 00:08: dependent set 0 (preferred) irq 6 flags 0x1
pnp 00:08: dependent set 0 (preferred) dma 2 (bitmask 0x4) flags 0x0
pnp 00:08: dependent set 1 (acceptable) io min 0x3f0 max 0x3f0 align 1 size 6
flags 0x1
pnp 00:08: dependent set 1 (acceptable) io min 0x3f7 max 0x3f7 align 1 size 1
flags 0x1
pnp 00:08: dependent set 1 (acceptable) irq 3 4 5 6 7 10 11 12 flags 0x1
pnp 00:08: dependent set 1 (acceptable) dma 0 1 2 3 (bitmask 0xf) flags 0x0
pnp 00:08: dependent set 2 (acceptable) io min 0x370 max 0x370 align 1 size 6
flags 0x1
pnp 00:08: dependent set 2 (acceptable) io min 0x377 max 0x377 align 1 size 1
flags 0x1
pnp 00:08: dependent set 2 (acceptable) irq 3 4 5 6 7 10 11 12 flags 0x1
pnp 00:08: dependent set 2 (acceptable) dma 0 1 2 3 (bitmask 0xf) flags 0x0
pnp 00:08: Plug and Play ACPI device, IDs PNP0700 (active)
pnp 00:09: parse allocated resources
pnp 00:09: add io 0x0-0xffffffffffffffff flags 0x10000001
pnp 00:09: add io 0xa20-0xa3f flags 0x1
pnp 00:09: add io 0xa00-0xa0f flags 0x1
pnp 00:09: add io 0xa10-0xa1f flags 0x1
pnp 00:09: add io 0xa40-0xa5f flags 0x1
pnp 00:09: PNP0c02: calling quirk_system_pci_resources+0x0/0x1d0
pnp 00:09: Plug and Play ACPI device, IDs PNP0c02 (active)
pnp 00:0a: parse allocated resources
pnp 00:0a: add io 0x10-0x1f flags 0x1
pnp 00:0a: add io 0x22-0x3f flags 0x1
pnp 00:0a: add io 0x44-0x5f flags 0x1
pnp 00:0a: add io 0x62-0x63 flags 0x1
pnp 00:0a: add io 0x65-0x6f flags 0x1
pnp 00:0a: add io 0x72-0x7f flags 0x1
pnp 00:0a: add io 0x80-0x80 flags 0x1
pnp 00:0a: add io 0x84-0x86 flags 0x1
pnp 00:0a: add io 0x88-0x88 flags 0x1
pnp 00:0a: add io 0x8c-0x8e flags 0x1
pnp 00:0a: add io 0x90-0x9f flags 0x1
pnp 00:0a: add io 0xa2-0xbf flags 0x1
pnp 00:0a: add io 0xe0-0xef flags 0x1
pnp 00:0a: add io 0x4d0-0x4d1 flags 0x1
pnp 00:0a: add io 0x800-0x87f flags 0x1
pnp 00:0a: add io 0x0-0xffffffffffffffff flags 0x10000001
pnp 00:0a: add io 0x480-0x4bf flags 0x1
pnp 00:0a: add mem 0xfed1c000-0xfed1ffff flags 0x1
pnp 00:0a: add mem 0xfed20000-0xfed8ffff flags 0x1
pnp 00:0a: PNP0c02: calling quirk_system_pci_resources+0x0/0x1d0
pnp 00:0a: Plug and Play ACPI device, IDs PNP0c02 (active)
pnp 00:0b: parse allocated resources
pnp 00:0b: add io 0x60-0x60 flags 0x1
pnp 00:0b: add io 0x64-0x64 flags 0x1
pnp 00:0b: PNP0c02: calling quirk_system_pci_resources+0x0/0x1d0
pnp 00:0b: Plug and Play ACPI device, IDs PNP0c02 (active)
pnp 00:0c: parse allocated resources
pnp 00:0c: add mem 0xfed00000-0xfed003ff flags 0x0
pnp 00:0c: Plug and Play ACPI device, IDs PNP0103 (active)
pnp 00:0d: parse allocated resources
pnp 00:0d: add mem 0xffb00000-0xffbfffff flags 0x0
pnp 00:0d: add mem 0xfff00000-0xffffffff flags 0x0
pnp 00:0d: Plug and Play ACPI device, IDs INT0800 (active)
pnp 00:0e: parse allocated resources
pnp 00:0e: add mem 0xffc00000-0xffefffff flags 0x0
pnp 00:0e: PNP0c02: calling quirk_system_pci_resources+0x0/0x1d0
pnp 00:0e: Plug and Play ACPI device, IDs PNP0c02 (active)
pnp 00:0f: parse allocated resources
pnp 00:0f: add mem 0xfec00000-0xfec00fff flags 0x0
pnp 00:0f: add mem 0xfee00000-0xfee00fff flags 0x0
pnp 00:0f: PNP0c02: calling quirk_system_pci_resources+0x0/0x1d0
pnp 00:0f: Plug and Play ACPI device, IDs PNP0c02 (active)
pnp 00:10: parse allocated resources
pnp 00:10: add mem 0xe0000000-0xefffffff flags 0x0
pnp 00:10: PNP0c02: calling quirk_system_pci_resources+0x0/0x1d0
pnp 00:10: Plug and Play ACPI device, IDs PNP0c02 (active)
pnp 00:11: parse allocated resources
pnp 00:11: add mem 0x0-0xffffffffffffffff flags 0x10000000
pnp 00:11: PNP0c02: calling quirk_system_pci_resources+0x0/0x1d0
pnp 00:11: Plug and Play ACPI device, IDs PNP0c02 (active)
pnp 00:12: parse allocated resources
pnp 00:12: add mem 0xfed90000-0xfed90fff flags 0x1
pnp 00:12: PNP0c02: calling quirk_system_pci_resources+0x0/0x1d0
pnp 00:12: Plug and Play ACPI device, IDs PNP0c02 (active)
pnp 00:13: parse allocated resources
pnp 00:13: add mem 0xfed91000-0xfed91fff flags 0x1
pnp 00:13: PNP0c02: calling quirk_system_pci_resources+0x0/0x1d0
pnp 00:13: Plug and Play ACPI device, IDs PNP0c02 (active)
pnp 00:14: parse allocated resources
pnp 00:14: add mem 0xfed92000-0xfed92fff flags 0x1
pnp 00:14: PNP0c02: calling quirk_system_pci_resources+0x0/0x1d0
pnp 00:14: Plug and Play ACPI device, IDs PNP0c02 (active)
pnp 00:15: parse allocated resources
pnp 00:15: add mem 0xfed93000-0xfed93fff flags 0x1
pnp 00:15: PNP0c02: calling quirk_system_pci_resources+0x0/0x1d0
pnp 00:15: Plug and Play ACPI device, IDs PNP0c02 (active)
pnp 00:16: parse allocated resources
pnp 00:16: add mem 0x0-0x9ffff flags 0x1
pnp 00:16: add mem 0xc0000-0xcffff flags 0x0
pnp 00:16: add mem 0xe0000-0xfffff flags 0x0
pnp 00:16: add mem 0x100000-0x7d5fffff flags 0x1
pnp 00:16: add mem 0x0-0xffffffffffffffff flags 0x10000000
pnp 00:16: PNP0c01: calling quirk_system_pci_resources+0x0/0x1d0
pnp 00:16: Plug and Play ACPI device, IDs PNP0c01 (active)
pnp: PnP ACPI: found 23 devices
...
serial 00:06: pnp_start_dev: current resources:
serial 00:06: io 0x3f8-0x3ff flags 0x101
serial 00:06: irq 4 flags 0x401
serial 00:06: dma disabled
serial 00:06: set resources
serial 00:06: encode 3 resources
serial 00:06: encode io 0x3f8-0x3ff decode 0x1
serial 00:06: encode irq 4 edge high exclusive (2-byte descriptor)
serial 00:06: encode dma 255 type 0x0 transfer 0x0 master 0
serial 00:06: activated
serial 00:07: pnp_start_dev: current resources:
serial 00:07: io 0x2f8-0x2ff flags 0x101
serial 00:07: irq 3 flags 0x401
serial 00:07: dma disabled
serial 00:07: set resources
serial 00:07: encode 3 resources
serial 00:07: encode io 0x2f8-0x2ff decode 0x1
serial 00:07: encode irq 3 edge high exclusive (2-byte descriptor)
serial 00:07: encode dma 255 type 0x0 transfer 0x0 master 0
serial 00:07: activated