Re: Good news --- jump from 2.6.13-rc3 to 2.6.16 (almost) ok (swsusp, input)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

> I finally tried to install 2.6.16 on my portable PC, jumping directly from
> 2.6.13-rc3, and there are good news. The most critical thing, namely swsusp,
> did work ok and seems faster than before. A little problem is that when
> starting the suspend, no messages are printed (the screen goes blank and
> after a bit the machine poweroff). But then resume is ok . The same goes for
> -ck1,  which has a really nice feeling.

See FAQ:

Q: How do I make suspend more verbose?

A: If you want to see any non-error kernel messages on the virtual
terminal the kernel switches to during suspend, you have to set the
kernel console loglevel to at least 4 (KERN_WARNING), for example by
doing

        # save the old loglevel
        read LOGLEVEL DUMMY < /proc/sys/kernel/printk
        # set the loglevel so we see the progress bar.
        # if the level is higher than needed, we leave it alone.
        if [ $LOGLEVEL -lt 5 ]; then
                echo 5 > /proc/sys/kernel/printk
                fi

        IMG_SZ=0
        read IMG_SZ < /sys/power/image_size
        echo -n disk > /sys/power/state
        RET=$?
        #
        # the logic here is:
        # if image_size > 0 (without kernel support, IMG_SZ will be
zero),
        # then try again with image_size set to zero.
        if [ $IMG_SZ -ne 0 ]; then # try again with minimal image size
                echo 0 > /sys/power/image_size
                echo -n disk > /sys/power/state
                RET=$?
        fi

        # restore previous loglevel
        echo $LOGLEVEL > /proc/sys/kernel/printk
        exit $RET


-- 
Picture of sleeping (Linux) penguin wanted...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux