Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Spontaneous reboot after resume? (solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
giannifive
n00b
n00b


Joined: 29 Jan 2004
Posts: 50
Location: Chicago, IL

PostPosted: Wed Feb 11, 2004 3:47 am    Post subject: Spontaneous reboot after resume? (solved) Reply with quote

I have just installed Gentoo on my laptop. APM appears to be working for the most part, but when I suspend my laptop (suspend to RAM) and then resume, the screen appears with the image it had before suspending, and then the laptop reboots spontaneously! I have never seen this behavior before, and must admit that I am puzzled. Here are the APM parts of my kernel config:

Code:
CONFIG_APM=m
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
# CONFIG_APM_DO_ENABLE is not set
CONFIG_APM_CPU_IDLE=y
CONFIG_APM_DISPLAY_BLANK=y
CONFIG_APM_RTC_IS_GMT=y
# CONFIG_APM_ALLOW_INTS is not set
# CONFIG_APM_REAL_MODE_POWER_OFF is not set


Any ideas? It's a Dell Inspiron 8000. ACPI is turned off via the kernel boot command line, the apm module is loaded at boot, and the APM daemon starts on boot. I've been having other strange problems with the laptop, and suspect they may have something to do with the kernel, which was compiled with genkernel and somehow has a bunch of unmet module dependencies which don't occur when the kernel is compiled by hand with the *exact same* config...


Last edited by giannifive on Mon Feb 16, 2004 10:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
giannifive
n00b
n00b


Joined: 29 Jan 2004
Posts: 50
Location: Chicago, IL

PostPosted: Mon Feb 16, 2004 8:14 pm    Post subject: Reply with quote

So no one has any ideas? I'm really stuck here...
Back to top
View user's profile Send private message
giannifive
n00b
n00b


Joined: 29 Jan 2004
Posts: 50
Location: Chicago, IL

PostPosted: Mon Feb 16, 2004 9:03 pm    Post subject: Reply with quote

Okay, so I've basically figured it out. What I did was switch to a text terminal, turn off every unnecessary service, and unload every possible module (except APM) from the kernel. Suspend and resume then worked. I slowly added each module back by hand until I recovered the "spontaneous reboot after resume" problem. The modules that did it were i810_rng and i810-tco (or one of the two).

So now I can suspend and resume as long as those two modules are not loaded in the kernel. The weird thing is, when I resume those two modules get autoloaded back into the kernel. Does anyone have an explanation for that? They're not autocleaned, just listed as "(unused)" after they are inserted.

Weird...
Back to top
View user's profile Send private message
giannifive
n00b
n00b


Joined: 29 Jan 2004
Posts: 50
Location: Chicago, IL

PostPosted: Mon Feb 16, 2004 10:12 pm    Post subject: Reply with quote

I've figured out a little bit more. The i810-tco module is a watchdog-type module that periodically checks for software problems and, if it finds them, reboots the computer. The idea is that if you have a server that is hung you want it to reboot itself automatically to maximize usable uptime. I think what was happening was that after resuming the i810-tco module sensed something funny and rebooted the machine.

It seems to me that i810-tco shouldn't be installed on a laptop. Now if only I could figure out how it gets loaded automagically into the kernel at boot and after resume...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum