LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-14-2007, 02:28 PM   #16
war1025
Member
 
Registered: Jul 2006
Distribution: Debian: Squeeze AMD64
Posts: 318

Original Poster
Rep: Reputation: 32

are ACPI and acpid different? Because it seems that ACPI handles the IRQ's and stuff during a normal boot, even in single user mode, but when acpid tries to launch, that is when we get problems. So is there a way to prevent acpid from launching on boot and then just running it afterwards? Because it seems to start up fine once everything is up and going...
 
Old 07-16-2007, 02:17 AM   #17
war1025
Member
 
Registered: Jul 2006
Distribution: Debian: Squeeze AMD64
Posts: 318

Original Poster
Rep: Reputation: 32
okay, we were messing around with this some more. And this is what I've decided so far:

I think that hal is trying to start up before dbus and acpi are ready, it then freaks out because they aren't up and running and the system stalls.

any idea how to fix this?
 
Old 07-16-2007, 08:38 AM   #18
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
Have a look at hal startup numbers for different runlevels, namely rcS, rc1 and rc2 under /etc. Try setting hal to start a bit later, or set acpi to a different starting number.
 
Old 07-16-2007, 11:09 AM   #19
war1025
Member
 
Registered: Jul 2006
Distribution: Debian: Squeeze AMD64
Posts: 318

Original Poster
Rep: Reputation: 32
okay, so when it says:
S20acpid
S20dbus
S24hal

are those the start numbers? and I would change them by just renaming them to a different number? Or is it something in the file itself?

And when I do change that, do I need to change all of the run level numbers after that too?

S30gdm is there and then it goes to
S89anacron

So, if I changed everything from hal to gdm by say 5 anacron wouldn't be affected would it? I mean even if it is dependant on gdm it can't take 59 to start up can it?
 
Old 07-16-2007, 12:32 PM   #20
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
I'm having serious problems understanding what you wrote
Yes, you can just rename the files from say S20blah to S25blah.
hal is already starting after dbus and acpi, so the problem is probably not there.
Did you already try all kernel parameters for acpi? Like these:
http://en.opensuse.org/SDB:Kernel_Pa..._for_ACPI/APIC
 
Old 07-16-2007, 12:58 PM   #21
war1025
Member
 
Registered: Jul 2006
Distribution: Debian: Squeeze AMD64
Posts: 318

Original Poster
Rep: Reputation: 32
that's what happens when I get excited

Anyways, if I turn off ACPI it refuses to boot. If I go into single user mode and run /etc/init.d/dbus start ; /etc/init.d/acpid start ; and then /etc/init.d/hal start, they all run properly. If I try to boot through the normal kernel, acpid gets through the first line of it's output and freezes (there are normally like 6 lines it spits out) Basically, I have no idea what I'm doing but I figure if I change things around enough, eventually I'll find the problem.
 
Old 07-16-2007, 02:28 PM   #22
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
acpid is a daemon for acpi events. That's why I suggested giving different acpi kernel parameters a try, if one would help the acpid daemon.

You manually started dbus before acpid, so try if changing this:
S20acpid
S20dbus
S24hal

To this helps:
S20dbus
S22acpid
S24hal
 
Old 07-16-2007, 02:36 PM   #23
war1025
Member
 
Registered: Jul 2006
Distribution: Debian: Squeeze AMD64
Posts: 318

Original Poster
Rep: Reputation: 32
I'll try that. Thanks.
 
Old 07-16-2007, 02:37 PM   #24
war1025
Member
 
Registered: Jul 2006
Distribution: Debian: Squeeze AMD64
Posts: 318

Original Poster
Rep: Reputation: 32
Okay, just a thought.

If I went through and started all of those processes in the order that they show up in the rc2.d file, shouldn't it come up with the same error? Then I'd be able to figure out what it is... maybe?
 
Old 07-16-2007, 02:58 PM   #25
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
Yes... maybe.
Stop the services first though. If the box gets stuck, the correct way to "cold boot" a linux system is:
alt+sysctrl+s
alt+sysctrl+u
alt+sysctrl+b
 
Old 07-16-2007, 03:51 PM   #26
war1025
Member
 
Registered: Jul 2006
Distribution: Debian: Squeeze AMD64
Posts: 318

Original Poster
Rep: Reputation: 32
as opposed to holding the power button down until it dies? I assume?
 
Old 07-18-2007, 08:45 AM   #27
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
Use the power button as last resource only when everything else, like commands above, fails.

alt+sysctrl+s (syncs disk data)
alt+sysctrl+u (unmounts disks)
alt+sysctrl+b (boots)
 
Old 07-31-2007, 05:08 PM   #28
war1025
Member
 
Registered: Jul 2006
Distribution: Debian: Squeeze AMD64
Posts: 318

Original Poster
Rep: Reputation: 32
We figured out the problem... pretty much on accident. And the solution seems quite strange to me.

It will boot just fine if it isn't plugged into wall power.

If it is plugged in, ACPI freezes.

Don't ask me why.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
grub issues: dual boot Debian i386 & Debian amd64 ErrorBound Debian 1 03-09-2007 07:41 PM
Disk partition for dual boot laptop with Debian/WinXp hamtavs Linux - Software 2 04-26-2006 12:23 PM
cannot boot debian onto laptop, cdrom problem tashazo Linux - Newbie 6 01-22-2006 07:43 PM
CDROM problem on Debian laptop, won't boot ImperiestroMary Linux - Hardware 3 11-05-2004 09:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration