Do you know which kernel option causes this?Waninkoko wrote:Known bug.
Does it affect both master and master-devel?Waninkoko wrote:unK: yeah, happening here too. We think this happens if swap prefetch is enabled.

*sigh*unK wrote:Does it affect both master and master-devel?Waninkoko wrote:unK: yeah, happening here too. We think this happens if swap prefetch is enabled.
Btw, it is possible to switch from latest revision to e.g v2.6.24-zen2?
Code: Select all
git checkout v2.6.24-zen2
Remove CONFIG_PREEMPT_RCU=y.Kwark wrote:My 2.6.24-zen2 does not poweroff properly. It just hangs on the very last part where it normally should poweroff the machine.
This is my .config. I have already tried booting with acpi=force but that didn't change anything.
Any ideas? Rebooting works fine.
Code: Select all
klauncher[7118]: segfault at c9 rip 2b10e5b906bd rsp 7fffc682bce0 error 4
BUG: scheduling while atomic: X/5769/0x10000002
Pid: 5769, comm: X Tainted: P D 2.6.24-zen3 #1
Call Trace:
[<ffffffff8046e4a4>] schedule+0xd1/0x616
[<ffffffff80298983>] __fput+0x181/0x1c1
[<ffffffff80231999>] __cond_resched+0x1c/0x44
[<ffffffff8046ec73>] cond_resched+0x2e/0x39
[<ffffffff80237af0>] put_files_struct+0x6b/0xc5
[<ffffffff80238e14>] do_exit+0x245/0x743
[<ffffffff80368e4e>] do_unblank_screen+0xd/0x121
[<ffffffff80221a44>] do_page_fault+0x592/0x65a
[<ffffffff802a4e67>] __pollwait+0x0/0xe1
[<ffffffff8022ebaa>] default_wake_function+0x0/0xe
[<ffffffff8022ebaa>] default_wake_function+0x0/0xe
[<ffffffff8022d62e>] __dequeue_entity+0x1c/0x32
[<ffffffff8022d65c>] set_next_entity+0x18/0x3a
[<ffffffff804706d9>] error_exit+0x0/0x51
[<ffffffff80345e47>] clear_page_c+0x7/0x10
[<ffffffff80271992>] get_page_from_freelist+0x49c/0x635
[<ffffffff80271d8b>] __alloc_pages+0xa7/0x340
[<ffffffff802743d5>] __pagevec_lru_add_active+0xd8/0xe9
[<ffffffff8027c81a>] handle_mm_fault+0x24d/0x745
[<ffffffff8022177a>] do_page_fault+0x2c8/0x65a
[<ffffffff80213867>] read_hpet+0xf/0x12
[<ffffffff8024c8c2>] getnstimeofday+0x2f/0x84
[<ffffffff804706d9>] error_exit+0x0/0x51Code: Select all
CONFIG_CLASSIC_RCU=y
# CONFIG_PREEMPT_RCU is not set
# CONFIG_RCU_TRACE is not setCode: Select all
make[1]: Entering directory `/usr/src/zen-sources'
CC [M] /var/tmp/portage/x11-drivers/ati-drivers-8.433/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/var/tmp/portage/x11-drivers/ati-drivers-8.433/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'firegl_put_user_ptr':
/var/tmp/portage/x11-drivers/ati-drivers-8.433/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1620: warning: cast from pointer to integer of different size
/var/tmp/portage/x11-drivers/ati-drivers-8.433/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1620: warning: cast from pointer to integer of different size
/var/tmp/portage/x11-drivers/ati-drivers-8.433/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1620: warning: cast from pointer to integer of different size
/var/tmp/portage/x11-drivers/ati-drivers-8.433/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1620: warning: cast from pointer to integer of different size
/var/tmp/portage/x11-drivers/ati-drivers-8.433/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_PosixSecurityCapGetEffectiveVector':
/var/tmp/portage/x11-drivers/ati-drivers-8.433/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1922: error: implicit declaration of function 'cap_t'
/var/tmp/portage/x11-drivers/ati-drivers-8.433/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_PosixSecurityCapSetEffectiveVector':
/var/tmp/portage/x11-drivers/ati-drivers-8.433/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1930: error: lvalue required as left operand of assignment
/var/tmp/portage/x11-drivers/ati-drivers-8.433/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_unregister_ioctl32_conversion':
/var/tmp/portage/x11-drivers/ati-drivers-8.433/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3047: warning: 'return' with a value, in function returning void
/var/tmp/portage/x11-drivers/ati-drivers-8.433/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KAS_SlabCache_Initialize':
/var/tmp/portage/x11-drivers/ati-drivers-8.433/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5544: warning: cast from pointer to integer of different size
make[2]: *** [/var/tmp/portage/x11-drivers/ati-drivers-8.433/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/var/tmp/portage/x11-drivers/ati-drivers-8.433/work/common/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/zen-sources'
make: *** [kmod_build] Error 2
*
* ERROR: x11-drivers/ati-drivers-8.433 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3268: Called linux-mod_src_compile
* environment, line 2473: Called die
* The specific snippet of code:
* emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} || die "Unable to make ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}.";
* The die message:
* Unable to make GCC_VER_MAJ=4 KVER=2.6.25-rc3-zen0-03138-g562d6ce KDIR=/usr/src/linux kmod_build.
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/log/portage/x11-drivers:ati-drivers-8.433:20080228-144433.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/ati-drivers-8.433/temp/environment'.
*
Hi Waninkoko, i've tried this but it did not change anything. Latest kernel, that halts and hibernates properly, was 2.6.24-rc7-zen2 (with preempt rcu). Since then i can't power off the laptop, neither with or without preempt rcu. I have an completely intel based laptop.Waninkoko wrote:Try disabling preempt rcu.are wrote:Waninkoko, you did an amazing work, but i have to agree: 2.6.23-kamikaze5 is much more mature especially for my notebook than zen is. It uses 2 watts less power, reboots/halts stable and hibernate/suspend works more stable too. Indeed I use this last kamikaze with updatet alsa and iwl-wifi.genstorm wrote:That's what I got with every 2.6.24-zen version so far and why I'm still running 2.6.23-kamikaze5, because I didn't have the nerves and time to bother about the problem. It seems to me though that it only occured after building external modules against the kernel, so it could possibly be nvidia-related.
Nevertheless i will test every new release! Thank you very much for your efforts!
Best regards
are


update:kernelOfTruth wrote:anyone interested in an pax-patch for 2.6.24-zen4 ?


that paste-service looks good, I like it, I think I'll use it in the futuregimpel wrote: Please use some nopaste service like http://phpfi.com for such things.
wut ?gimpel wrote: Errr, finger hurts due to excessive scrolling![]()
The C1E patch disables a function in the AMD chips that causes lapic to incorrectly report that it is broken and disabled. It doesn't effect Intel users.Gregoire wrote:What's the C1E's patch ?
Is there a way from linux to set the CPU ratio without speedstep activated as in windows ?
(I ask for core duo 2 CPU)


Hi kls,kls wrote:Hi folks.
Perhaps somebody can sched some light on below..
Can somebody explain what the difference between 2.6.24-zen4 and 2.6.24-zen-rt3.
Are these different revisions? What for? How can I get access to zen-rt3?
From what I recall Ingo offers a "Complete Preemption" mode and threaded SOFT-/HardIRQs.
Would be nice to have these in standard ZEN, if not already included. If these are somehow redundant
to other ZEN specific parameters forget that comment.
THX