lkml.org 
[lkml]   [2005]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject2.6.12-rc1 swsusp broken [Was Re: swsusp not working for me on a PREEMPT 2.6.12-rc1 and 2.6.12-rc1-mm3 kernel]
On Tue, Mar 29, 2005 at 08:15:51PM +0200, Pavel Machek wrote:

> I'd start with non-preempt 2.6.12-rc1, then remove all the
> unneccessary drivers, boot init=/bin/bash, and see what happens.

Tried it. Well, the good news is that now I can use correctly the serial
console. I discovered that if I use

console=ttyS0,115200n8

all the message goes through the cable... but if I add (as per documentation)
console=tty0 too, something goes to the serial console and something no...
but well, I can live with it.

The bad news is that with 2.6.12-rc1 (no preempt) swsusp fails to go. The
all thing that can capture the serial console is:

Mar 31 16:14:52 rukbat kernel: [4294819.325000] usbcore: deregistering
driver usbhid
Mar 31 16:14:52 rukbat kernel: [4294819.537000] uhci_hcd 0000:00:07.2:
remove, state 1
Mar 31 16:14:52 rukbat kernel: [4294819.537000] usb usb1: USB disconnect,
address 1
Mar 31 16:14:52 rukbat kernel: [4294819.537000] usb 1-2: USB disconnect,
address 2
Mar 31 16:14:52 rukbat kernel: [4294819.714000] uhci_hcd 0000:00:07.2: USB
bus 1 deregistered
Mar 31 16:14:52 rukbat kernel: [4294819.729000] uhci_hcd 0000:00:07.3:
remove, state 1
Mar 31 16:14:52 rukbat kernel: [4294819.729000] usb usb2: USB disconnect,
address 1
Mar 31 16:14:52 rukbat kernel: [4294819.819000] uhci_hcd 0000:00:07.3: USB
bus 2 deregistered
Mar 31 16:14:52 rukbat kernel: [4294819.861000] usbcore: deregistering
driver usbmouse
[4294821.492000] Stopping tasks:
===============================================================================|
[4294821.505000] Freeing memory... done (44548 pages freed)

And then stops dead. One thing I noticed: the "rotating bar" is now much
more slow than before (although the total time before "done" is not changed
a lot, it seems). Could be a hint?

the full log (42k) is here
http://www.dea.icai.upco.es/romano/linux/swsusp/2612-rc1.log

I tried with init=/bin/bash, same thing, here:
http://www.dea.icai.upco.es/romano/linux/swsusp/2612-rc1-2nd.log

To compare, this is a full log of boot, suspend and successful resume
with 2.6.11:
http://www.dea.icai.upco.es/romano/linux/swsusp/2611-rg.log

it's not vanilla, it has the following patch applied, but I tested with and
without it and nothing change (that is, all is OK in this kernel)

http://www.dea.icai.upco.es/romano/linux/config-2.6.11-rg/patch-no3851.id4516

Well... what can I do now (apart doing some real work)? I can try to debug
why 2.6.11 with preempt fail, or continue on 2.6.12? I am willing to help!

Thank you for your help,

Romano


--
Romano Giannetti - Univ. Pontificia Comillas (Madrid, Spain)
Electronic Engineer - phone +34 915 422 800 ext 2416 fax +34 915 596 569
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-04-06 13:31    [W:0.078 / U:0.592 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site