Re: hibernate event order question

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Tobias Diedrich
Date: Saturday, May 17, 2008 - 2:03 pm

Rafael J. Wysocki wrote:

Hmm, I guess I don't see that because by then the console is disabled or
something like that?
(It also doesn't help that the system immediately powers down after that)
Can I get debugging output during that phase out onto the serial
console and/or plain text console & simply turn the poweroff into a
halt? (halt in addition to shutdown and reboot in /sys/power/disk
might be nice)

The problem is I'm really seeing/have seen multiple issues/situations here:
1) When the device is part of a bridge, connectivity is down after
   Hibernate
2) Boot->Hibernate->WOL works->Hibernate->WOL only works with
   byte-reversed MAC-address
3) I have to reconfirm this, but I think after fixing bug 1) with
   the patch of the previous mail bug 2) turns into 4):
4) WOL doesn't work at all after Hibernate
5) nforce ethernet and netgear switch don't like each other and
   sometimes negotiate only 100Mbit instead of 1Gbit, while my
   notebook on a much longer cable never has negotiation problems
6) In the past sometimes negotiation would take very long, that one
   I haven't seen in some time so I assume it's fixed in recent
   kernels.  This one only happened if both ports were enabled IIRC

"Device suspend callbacks get called again" means I have to retest 3)
Maybe I'm imagining things or seeing a heisenbug here?

1) Is fixed by the patch in the previous mail
2) I assume to be related to DEV_HAS_CORRECT_MACADDR,
NVREG_TRANSMITPOLL_MAC_ADDR_REV and some magic byteswapping code in
the driver.
1) and 2)/4) can be worked around (for the bridge case) by removing
the forcedeth module prior to hibernate and reinserting the module
and readding the devices to the bridge after resume.

-- 
Tobias						PGP: http://9ac7e0bc.uguu.de
このメールは十割再利用されたビットで作られています。
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
hibernate event order question, Tobias Diedrich, (Sat May 17, 10:50 am)
Re: hibernate event order question, Rafael J. Wysocki, (Sat May 17, 12:56 pm)
Re: hibernate event order question, Tobias Diedrich, (Sat May 17, 2:03 pm)
Re: hibernate event order question, Tobias Diedrich, (Sat May 17, 3:36 pm)
Re: hibernate event order question, Tobias Diedrich, (Sat May 17, 4:24 pm)
Re: hibernate event order question, Rafael J. Wysocki, (Sun May 18, 3:45 am)
Re: hibernate event order question, Tobias Diedrich, (Sun May 18, 4:22 am)
Re: hibernate event order question, Rafael J. Wysocki, (Sun May 18, 4:32 am)
Re: hibernate event order question, Tobias Diedrich, (Sun May 18, 5:24 am)
Re: hibernate event order question, Rafael J. Wysocki, (Sun May 18, 5:29 am)