LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-16-2003, 08:45 PM   #16
jkmin
LQ Newbie
 
Registered: Jul 2002
Location: Los Angeles, CA
Distribution: RH7.1
Posts: 29

Original Poster
Rep: Reputation: 15

Quote:
Originally posted by MasterC

In the meantime, see if it works only at specific times (or doesn't work only at specific times) meaning, whether you are in X or not, if you are root or not, and things of that nature.

Cool
I sent the /var/log/messages breking up in 3 files to your new e-mail address.

I tried to find out what makes the ACPI power off works, and at first, I thought that if I spent enough time after logging in, that is what made it work. But it turned out that it is not true. 2nd thought that if no other networked PC is on(The Linux PC a part of 3PC home network via Linksys Switch), it worked probably due to the fact that in linux there is nfsd and other network stuff is running. But I tested and it is not true.

So, in conclusin, I have no idea what makes the ACPI in kernel 2.4.20 works. Once in a while when I expect it would hang with hwsleep-0178, it works. I always log on as root. Maybe only the reverse psychology is the one that makes it work.

THank you very much for your help

Last edited by jkmin; 02-16-2003 at 08:48 PM.
 
Old 02-16-2003, 08:47 PM   #17
jkmin
LQ Newbie
 
Registered: Jul 2002
Location: Los Angeles, CA
Distribution: RH7.1
Posts: 29

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by jkmin
I sent the /var/log/messages breking up in 3 files to your new e-mail address.

I tried to find out what makes the ACPI power off works, and at first, I thought that if I spent enough time after logging in, that is what made it work. But it turned out that it is not true. 2nd thought that if no other networked PC is on(The Linux PC a part of 3PC home network via Linksys Switch), it worked probably due to the fact that in linux there is nfsd and other network stuff is running. But I tested and it is not true.

So, in conclusin, I have no idea what makes the ACPI in kernel 2.4.20 works. Once in a while when I expect it would hang with hwsleep-0178, it works. I always log on as root. Maybe only the reverse psychology is the one that makes it work.

THank you very much for your help
THis post is by accident, and I could no delete it.
THank you.

Last edited by jkmin; 02-16-2003 at 08:51 PM.
 
Old 02-16-2003, 09:39 PM   #18
jkmin
LQ Newbie
 
Registered: Jul 2002
Location: Los Angeles, CA
Distribution: RH7.1
Posts: 29

Original Poster
Rep: Reputation: 15
[quote]:Originally posted by MasterC

In the meantime, see if it works only at specific times (or doesn't work only at specific times) meaning, whether you are in X or not, if you are root or not, and things of that nature.

[quote]

I sent the /var/log/messages breking up in 3 files to your new e-mail address.

I tried to find out what makes the ACPI power off works, and at first, I thought that if I spent enough time after logging in, that is what made it work. But it turned out that it is not true. 2nd thought that if no other networked PC is on(The Linux PC a part of 3PC home network via Linksys Switch), it worked probably due to the fact that in linux there is nfsd and other network stuff is running. But I tested and it is not true.

So, in conclusin, I have no idea what makes the ACPI in kernel 2.4.20 works. Once in a while when I expect it would hang with hwsleep-0178, it works. I always log on as root. Maybe only the reverse psychology is the one that makes it work.

THank you very much for your help
 
Old 02-17-2003, 01:38 AM   #19
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Going blind looking at these 2 configs... Ok, so far I found at least 1 difference in the startup files of chunk 2 and 3 (which are called log2 and log3 at ftp://masterc.no-ip.org/share/jkmin/ )

In log 3 at 14:33:30 read that line, and compare it to it's equivilent line in log2 at 11:02:56 (that's 1 difference) however, before that, just slightly look at the networking starting up. In log3 lo starts, but then no eth0, however the 1 line difference in log2 at that point is eth0 starting successfully...

And now I am lost. At that point it changes. I see that is part of the shutdown script in log3, but part of the startup process in log2 (at least according to the times that's how I read it).

Ah, confusion sets in and I forget my point......

Oh yeah! Ok, so you did absolutely nothing different between log2 and log3? Basic startup, wait 5 minutes, then basic shutdown, and this is happening? How do you startup (What I mean is do you startup into a gui, or do you arrive at a command prompt after startup?, if a gui, is it a "login manager" or do you boot directly into a specific user and a specific gui?) and how do you shutdown? Do you issue a command at the # prompt, do you select it from a drop down menu?



Oh, and if I didn't make it very obvious before, I've got your files hosted up at: http://masterc.no-ip.org/share/jkmin/ as files log1 log2 and log3 (or if you prefer ftp it's: ftp://masterc.no-ip.org/share/jkmin/ )



Cool

Last edited by MasterC; 02-17-2003 at 01:39 AM.
 
Old 02-17-2003, 04:28 AM   #20
bammbamm808
LQ Newbie
 
Registered: Feb 2003
Location: Hawaii
Distribution: Gentoo
Posts: 4

Rep: Reputation: 0
Quote:
Originally posted by jkmin
I ,for now, successfuly upgraded the kernel from 2.4.2 to 2.4.20 without encountering any problems in compiling the kernel and booting to the new kernel. It may be too early to tell.

However, the ACPI to power off by itself on shutdown is not quite working yet. It worked only one time, the first time I used the new 2.4.20 kernel, but after that it is not working with hwsleep-0178 error. One of the reason that I upgraded to new kernel is to use the ACPI to power off linux by itself.

I use lilo and I used the new map that came with the 2.4.20. Still, I do not know the function of the map. When I booted using 2.4.2 kernel with 2.4.20 map, it still boots ok. Do I have to use the different map for the different kernel? Could some expert answer this question?

Thank you very much.
You don't need ACPI to get the computer to powerdown upon 'halt/shutdown -h now'. All you need is APM suport in kernel. That's it. I have ACPI disabled in BIOS, and it still works for me.
 
Old 02-18-2003, 12:26 PM   #21
jkmin
LQ Newbie
 
Registered: Jul 2002
Location: Los Angeles, CA
Distribution: RH7.1
Posts: 29

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by bammbamm808
You don't need ACPI to get the computer to powerdown upon 'halt/shutdown -h now'. All you need is APM suport in kernel. That's it. I have ACPI disabled in BIOS, and it still works for me.
I have a SMP motherboard Abit VP6, and from what I read from the doc, APM does not support SMP. So, I thought APM would not power off the smp motherboard.

Thank you.
 
Old 02-18-2003, 12:38 PM   #22
jkmin
LQ Newbie
 
Registered: Jul 2002
Location: Los Angeles, CA
Distribution: RH7.1
Posts: 29

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by MasterC

Oh yeah! Ok, so you did absolutely nothing different between log2 and log3? Basic startup, wait 5 minutes, then basic shutdown, and this is happening? How do you startup (What I mean is do you startup into a gui, or do you arrive at a command prompt after startup?, if a gui, is it a "login manager" or do you boot directly into a specific user and a specific gui?) and how do you shutdown? Do you issue a command at the # prompt, do you select it from a drop down menu?


Cool
I boot up to Gnome GUI and login directly using GUI. I shutdown either using command shutdonw -h now or control-alt-backspace then using Gnome login panel option halt. My Gnome logoff and halt menu does not work somehow, maybe due to the nfsd or httpd. If I initiate the shutdown process from Gnome logoff option menu, it just hangs there. I did not pay attention to if this would make a difference. I will look carefully when I shutdown to see if the shutdown method makes a difference.

I just log on and practice C linux programs and then shutdown. I do not wait 5 minutes and test shutting down. I guess I should try this method.


Quote:
Originally posted by MasterC

Oh, and if I didn't make it very obvious before, I've got your files hosted up at: http://masterc.no-ip.org/share/jkmin/ as files log1 log2 and log3 (or if you prefer ftp it's: ftp://masterc.no-ip.org/share/jkmin/ )

Cool
How did you put my files up on the ftp server? Do you have your own web or ftp server on your PC? What kind of connection do you have to ISP?

I need to digest your other comments more.
Thank you very much for your help.
 
Old 02-18-2003, 12:48 PM   #23
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Here is a Gentoo forum thread that may be of help.
 
Old 02-18-2003, 12:57 PM   #24
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Quote:
Originally posted by jkmin

How did you put my files up on the ftp server? Do you have your own web or ftp server on your PC? What kind of connection do you have to ISP?
I host my own FTP and HTTP servers from my box. I've got a DSL connection at 768/128.

The APM suggestion might not be a bad one. Here's my thoughts on this (I may be wrong...):

ACPI is for things like power saving issues, optimally using your hardware and so on, apm is things like shutting down. So, maybe you could try using both? It might be worth a try

As for the errors, I thought about it a bit more; can you also post up what your /etc/rc.d/rc0.d (or a variation of that) looks like? I am wondering what process your box goes through during a halt (or init 0) is issued.

Cool
 
Old 02-22-2003, 04:20 PM   #25
jkmin
LQ Newbie
 
Registered: Jul 2002
Location: Los Angeles, CA
Distribution: RH7.1
Posts: 29

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by fancypiper
Here is a Gentoo forum thread that may be of help.
Rather than the forum you pointerd out, I find more valuable the web sites you listed as references below Good Linux bookmarks.

THank you very much.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Question regaurding dameons TL1moss Slackware 4 03-31-2005 10:28 AM
gnome slow to load after kernel upgrade baldwonder Linux - Software 3 10-08-2004 10:15 AM
gnome trouble after kernel upgrade blish_blash Linux - Software 3 08-16-2004 06:00 PM
Linux Kernel Development impact on Slackware carboncopy Slackware 5 07-28-2004 04:43 PM
Wrong memory info in gnome-system-monitor after 2.6.6 kernel upgrade corezapr Linux - Software 1 06-14-2004 04:57 AM


All times are GMT -5. The time now is 06:43 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration