Re: Debian wheezy:machine auto booted after poweroff
On Sun, 26 Jun 2011 16:37:19 +0800, xuyuanwei wrote: > 在 2011-06-24五的 00:02 +0800,yuanwei xu写道: >> 2011/6/23 yuanwei xu : >> > 2011/6/23 Camaleón : (...) >> >> Hum... so at init 1 there is no "acpid" service running on >> >> background. This can be relevant for your issue when powering off >> >> the machine... How about stopping "acpid" service on a normal >> >> session and then try to shutdown the machine? Just to test with >> >> other variant... > > > In /etc/rc2.d, i disabled "acpi-fakekey","acpid" and "acpi-support",the > auto start problem still happened,both 2.6.38-2-686 and 2.6.39-2-686-pae > kernel. Take a look into dmesg, just in case there is something suspicious in there: dmesg | grep -i -e acpi -e bios And also think in opening a bug report, now is the time to handle testing problems. > It seems the problem has something to do with the uptime, but more > observation is needed. With uptime? How is that? :-? Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2011.06.26.10.17...@gmail.com
Re: Debian wheezy:machine auto booted after poweroff
在 2011-06-24五的 00:02 +0800,yuanwei xu写道: > 2011/6/23 yuanwei xu : > > 2011/6/23 Camaleón : > >> On Thu, 23 Jun 2011 22:07:29 +0800, yuanwei xu wrote: > >> > >>> 2011/6/22 Camaleón : > >> > > Yes, it works, thanks for your reply. Hope there will be a final > > solution soon. > > It worked?? Hum... I didn't expect it did. > >>> > >>> At least, it had not auto booted in one night after "#init 1" and > >>> "#poweroff". > >> > >> Good. > >> > This could be something to investigate further. At a first glance I can > think in acpi being the culprit... is the "acpid" service loaded in > single-user mode? > >>> > >>> In /etc/rc2.d, $ls | grep acpi, there are files: > >>> > >>> S18acpi-fakekey > >>> S19acpid > >>> S19acpi-support > >>> In /etc/rc1.d,$ls | grep acpi, there is file: > >>> K01acpi-support > > Oh, the "acpid" service also started in runlevel 1, it existed in the > > process list,I thought it shouldn't started because there is no > > Sxxacpid file. > > > > >> > >> Hum... so at init 1 there is no "acpid" service running on background. > >> This can be relevant for your issue when powering off the machine... How > >> about stopping "acpid" service on a normal session and then try to > >> shutdown the machine? Just to test with other variant... In /etc/rc2.d, i disabled "acpi-fakekey","acpid" and "acpi-support",the auto start problem still happened,both 2.6.38-2-686 and 2.6.39-2-686-pae kernel. It seems the problem has something to do with the uptime, but more observation is needed. > > >> > >> Greetings, > >> > >> -- > >> Camaleón > >> > >> > >> -- > >> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > >> with a subject of "unsubscribe". Trouble? Contact > >> listmas...@lists.debian.org > >> Archive: http://lists.debian.org/pan.2011.06.23.15.07...@gmail.com > >> > >> > > -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1309077439.2636.16.camel@localhost
Re: Debian wheezy:machine auto booted after poweroff
On Fri, Jun 24, 2011 at 12:02:54AM +0800, yuanwei xu wrote: > 2011/6/23 yuanwei xu : > > 2011/6/23 Camaleón : > >> On Thu, 23 Jun 2011 22:07:29 +0800, yuanwei xu wrote: > >> > This could be something to investigate further. At a first glance I can > think in acpi being the culprit... is the "acpid" service loaded in > single-user mode? > >>> > >>> In /etc/rc2.d, $ls | grep acpi, there are files: > >>> > >>> S18acpi-fakekey > >>> S19acpid > >>> S19acpi-support > >>> In /etc/rc1.d,$ls | grep acpi, there is file: > >>> K01acpi-support > > Oh, the "acpid" service also started in runlevel 1, it existed in the > > process list,I thought it shouldn't started because there is no > > Sxxacpid file. > > Sorry, I am a little confused. I run "#init 1" under gnome-terminal, > then the system quit gnome to console, the screen shows: > INIT: Goging single user > INIT: Sending processes the TERM signal > Give root password for maintenance > (or type Control-D to continue): > I press Control-D, then some Stopping and some Starting(include > acpi_fakekey daemon and ACPI service). > Then I login as root,run #runlevel, it outputs "N 2". here why is not > runlevel 1? Runlevel 1 is single-user mode. That single user is root. The "Give root password for maintenance" prompt is your indication that you are at runlevel 1. You should log in as root at that point and proceed as above. When you press Ctrl+D, you are leaving runlevel 2 and going back to multi-user mode which is why you're able to log in as any user. -- Paul Saunders signature.asc Description: Digital signature
Re: Debian wheezy:machine auto booted after poweroff
2011/6/23 yuanwei xu : > 2011/6/23 Camaleón : >> On Thu, 23 Jun 2011 22:07:29 +0800, yuanwei xu wrote: >> >>> 2011/6/22 Camaleón : >> > Yes, it works, thanks for your reply. Hope there will be a final > solution soon. It worked?? Hum... I didn't expect it did. >>> >>> At least, it had not auto booted in one night after "#init 1" and >>> "#poweroff". >> >> Good. >> This could be something to investigate further. At a first glance I can think in acpi being the culprit... is the "acpid" service loaded in single-user mode? >>> >>> In /etc/rc2.d, $ls | grep acpi, there are files: >>> >>> S18acpi-fakekey >>> S19acpid >>> S19acpi-support >>> In /etc/rc1.d,$ls | grep acpi, there is file: >>> K01acpi-support > Oh, the "acpid" service also started in runlevel 1, it existed in the > process list,I thought it shouldn't started because there is no > Sxxacpid file. Sorry, I am a little confused. I run "#init 1" under gnome-terminal, then the system quit gnome to console, the screen shows: INIT: Goging single user INIT: Sending processes the TERM signal Give root password for maintenance (or type Control-D to continue): I press Control-D, then some Stopping and some Starting(include acpi_fakekey daemon and ACPI service). Then I login as root,run #runlevel, it outputs "N 2". here why is not runlevel 1? So where i said i found the acpid process in runlevel 1, it in fact was in runlevel 2. I edit the /etc/inittab to change default runlevel to be 1,and reboot, run #ps -e | grep acpi, there were: kacpid kacpi_notify kacpi_hotplug but no acpid and acpi_fakekeyd > >> >> Hum... so at init 1 there is no "acpid" service running on background. >> This can be relevant for your issue when powering off the machine... How >> about stopping "acpid" service on a normal session and then try to >> shutdown the machine? Just to test with other variant... I will try it.Thanks. >> >> Greetings, >> >> -- >> Camaleón >> >> >> -- >> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org >> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org >> Archive: http://lists.debian.org/pan.2011.06.23.15.07...@gmail.com >> >> > -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/BANLkTim=MxuLm0SnUJh=rpd+dgvle82...@mail.gmail.com
Re: Debian wheezy:machine auto booted after poweroff
2011/6/23 Camaleón : > On Thu, 23 Jun 2011 22:07:29 +0800, yuanwei xu wrote: > >> 2011/6/22 Camaleón : > Yes, it works, thanks for your reply. Hope there will be a final solution soon. >>> >>> It worked?? Hum... I didn't expect it did. >> >> At least, it had not auto booted in one night after "#init 1" and >> "#poweroff". > > Good. > >>> This could be something to investigate further. At a first glance I can >>> think in acpi being the culprit... is the "acpid" service loaded in >>> single-user mode? >> >> In /etc/rc2.d, $ls | grep acpi, there are files: >> >> S18acpi-fakekey >> S19acpid >> S19acpi-support >> In /etc/rc1.d,$ls | grep acpi, there is file: >> K01acpi-support Oh, the "acpid" service also started in runlevel 1, it existed in the process list,I thought it shouldn't started because there is no Sxxacpid file. > > Hum... so at init 1 there is no "acpid" service running on background. > This can be relevant for your issue when powering off the machine... How > about stopping "acpid" service on a normal session and then try to > shutdown the machine? Just to test with other variant... > > Greetings, > > -- > Camaleón > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > Archive: http://lists.debian.org/pan.2011.06.23.15.07...@gmail.com > > -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/BANLkTikp=kfwi6nev_97xqhytvkkroj...@mail.gmail.com
Re: Debian wheezy:machine auto booted after poweroff
On Thu, 23 Jun 2011 22:07:29 +0800, yuanwei xu wrote: > 2011/6/22 Camaleón : >>> Yes, it works, thanks for your reply. Hope there will be a final >>> solution soon. >> >> It worked?? Hum... I didn't expect it did. > > At least, it had not auto booted in one night after "#init 1" and > "#poweroff". Good. >> This could be something to investigate further. At a first glance I can >> think in acpi being the culprit... is the "acpid" service loaded in >> single-user mode? > > In /etc/rc2.d, $ls | grep acpi, there are files: > > S18acpi-fakekey > S19acpid > S19acpi-support > In /etc/rc1.d,$ls | grep acpi, there is file: > K01acpi-support Hum... so at init 1 there is no "acpid" service running on background. This can be relevant for your issue when powering off the machine... How about stopping "acpid" service on a normal session and then try to shutdown the machine? Just to test with other variant... Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2011.06.23.15.07...@gmail.com
Re: Debian wheezy:machine auto booted after poweroff
2011/6/22 Camaleón : > On Wed, 22 Jun 2011 22:43:06 +0800, yuanwei xu wrote: > >> 2011/6/19 Camaleón : >>> On Sun, 19 Jun 2011 15:13:37 +0800, yuanwei xu wrote: >>> After upgrade from Squeeze to Wheezy, my notebook always auto booted after I shutdowned it using #poweroff in gnome terminal. Sometimes, it auto booted in 1 minutes, sometimes in 3 minutes after poweroff. I have to use #poweroff to shutdown it once more, and it wouldn't auto boot anymore. I tried to go back to kernel 2.6.32-5-686, it didn't have such problem. >>> >>> So it could be a kernel related issue... There are others reporting a >>> similar problem: >>> >>> Computer is not turned off at shutdown >>> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/762203 >>> >>> unexpected reboot after rebooting or shutting down from Ubuntu 11.04 >>> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/791089 >>> and I compiled kernel 2.6.39.1 using oldconfig of 2.6.38-2-686, the auto boot still happened. It made me crazy, any advice is appreciated. >>> >>> (...) >>> >>> Make a quick test: go to "init 1" and try to shutdown from there >>> (shutdown -h now). >> >> Yes, it works, thanks for your reply. Hope there will be a final >> solution soon. > > It worked?? Hum... I didn't expect it did. At least, it had not auto booted in one night after "#init 1" and "#poweroff". > > This could be something to investigate further. At a first glance I can > think in acpi being the culprit... is the "acpid" service loaded in > single-user mode? In /etc/rc2.d, $ls | grep acpi, there are files: S18acpi-fakekey S19acpid S19acpi-support In /etc/rc1.d,$ls | grep acpi, there is file: K01acpi-support > > Greetings, > > -- > Camaleón > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > Archive: http://lists.debian.org/pan.2011.06.22.15.00...@gmail.com > > -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/banlkting6gjcy-t4mq4zd31gxbxdopw...@mail.gmail.com
Re: Debian wheezy:machine auto booted after poweroff
On Wed, 22 Jun 2011 22:43:06 +0800, yuanwei xu wrote: > 2011/6/19 Camaleón : >> On Sun, 19 Jun 2011 15:13:37 +0800, yuanwei xu wrote: >> >>> After upgrade from Squeeze to Wheezy, my notebook always auto booted >>> after I shutdowned it using #poweroff in gnome terminal. Sometimes, it >>> auto booted in 1 minutes, sometimes in 3 minutes after poweroff. I >>> have to use #poweroff to shutdown it once more, and it wouldn't auto >>> boot anymore. >>> I tried to go back to kernel 2.6.32-5-686, it didn't have such >>> problem. >> >> So it could be a kernel related issue... There are others reporting a >> similar problem: >> >> Computer is not turned off at shutdown >> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/762203 >> >> unexpected reboot after rebooting or shutting down from Ubuntu 11.04 >> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/791089 >> >>> and I compiled kernel 2.6.39.1 using oldconfig of 2.6.38-2-686, the >>> auto boot still happened. >>> It made me crazy, any advice is appreciated. >> >> (...) >> >> Make a quick test: go to "init 1" and try to shutdown from there >> (shutdown -h now). > > Yes, it works, thanks for your reply. Hope there will be a final > solution soon. It worked?? Hum... I didn't expect it did. This could be something to investigate further. At a first glance I can think in acpi being the culprit... is the "acpid" service loaded in single-user mode? Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2011.06.22.15.00...@gmail.com
Re: Debian wheezy:machine auto booted after poweroff
2011/6/19 Camaleón : > On Sun, 19 Jun 2011 15:13:37 +0800, yuanwei xu wrote: > >> After upgrade from Squeeze to Wheezy, my notebook always auto booted >> after I shutdowned it using #poweroff in gnome terminal. Sometimes, it >> auto booted in 1 minutes, sometimes in 3 minutes after poweroff. I have >> to use #poweroff to shutdown it once more, and it wouldn't auto boot >> anymore. >> I tried to go back to kernel 2.6.32-5-686, it didn't have such problem. > > So it could be a kernel related issue... There are others reporting a > similar problem: > > Computer is not turned off at shutdown > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/762203 > > unexpected reboot after rebooting or shutting down from Ubuntu 11.04 > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/791089 > >> and I compiled kernel 2.6.39.1 using oldconfig of 2.6.38-2-686, the auto >> boot still happened. >> It made me crazy, any advice is appreciated. > > (...) > > Make a quick test: go to "init 1" and try to shutdown from there > (shutdown -h now). Yes, it works, thanks for your reply. Hope there will be a final solution soon. > > Greetings, > > -- > Camaleón > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > Archive: http://lists.debian.org/pan.2011.06.19.14.22...@gmail.com > > -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/BANLkTimL_gv0yXVafWbT39iJQmEDZAyH=w...@mail.gmail.com
Re: Debian wheezy:machine auto booted after poweroff
On Sun, 19 Jun 2011 15:13:37 +0800, yuanwei xu wrote: > After upgrade from Squeeze to Wheezy, my notebook always auto booted > after I shutdowned it using #poweroff in gnome terminal. Sometimes, it > auto booted in 1 minutes, sometimes in 3 minutes after poweroff. I have > to use #poweroff to shutdown it once more, and it wouldn't auto boot > anymore. > I tried to go back to kernel 2.6.32-5-686, it didn't have such problem. So it could be a kernel related issue... There are others reporting a similar problem: Computer is not turned off at shutdown https://bugs.launchpad.net/ubuntu/+source/linux/+bug/762203 unexpected reboot after rebooting or shutting down from Ubuntu 11.04 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/791089 > and I compiled kernel 2.6.39.1 using oldconfig of 2.6.38-2-686, the auto > boot still happened. > It made me crazy, any advice is appreciated. (...) Make a quick test: go to "init 1" and try to shutdown from there (shutdown -h now). Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2011.06.19.14.22...@gmail.com