FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 06-29-2012, 08:37 PM
Geoffrey Leach
 
Default powerdown restarts

This problem has been submitted to Bugzilla (836657), but I thought I'd
ask here to see if there are any fixes lurking.

System is running 3.4.3-1.fc17.x86_64. When I systemctl poweroff the
kernel reboots instead of powering off. Under Windows 7, power off
works as expected. All packages are up-to-date.

Any ideas?
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 06-30-2012, 10:51 AM
Mateusz Marzantowicz
 
Default powerdown restarts

On 29.06.2012 22:37, Geoffrey Leach wrote:
> This problem has been submitted to Bugzilla (836657), but I thought I'd
> ask here to see if there are any fixes lurking.
>
> System is running 3.4.3-1.fc17.x86_64. When I systemctl poweroff the
> kernel reboots instead of powering off. Under Windows 7, power off
> works as expected. All packages are up-to-date.
>
> Any ideas?

What about shutdown -h ? Does it work as expected? Then try halt and
poweroff commands.


Mateusz Marzantowicz

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 06-30-2012, 03:36 PM
Geoffrey Leach
 
Default powerdown restarts

On 06/30/2012 03:51:45 AM, Mateusz Marzantowicz wrote:
> On 29.06.2012 22:37, Geoffrey Leach wrote:
> > This problem has been submitted to Bugzilla (836657), but I thought
> I'd
> > ask here to see if there are any fixes lurking.
> >
> > System is running 3.4.3-1.fc17.x86_64. When I systemctl poweroff
> the
>
> > kernel reboots instead of powering off. Under Windows 7, power off
> > works as expected. All packages are up-to-date.
> >
> > Any ideas?
>
> What about shutdown -h ? Does it work as expected? Then try halt and
> poweroff commands.

It's my understanding that poweroff is a backwards-compatibility
implementation of systemctl poweroff, which I have tried to no avail. I
should have mentioned that. It appears that halt is the same. shutdown
if a link to systemctl. Bottom line is that I would not expect any of
these to be any different, but I live in hope and will report back if
there's any difference.

I should also mention that systemctl poweroff works fine on my laptop
running the 32-bit version of Fedora 16.

One point, FWIW. Power off is essential for my application. Merely
halt-ing is no better than just leaving the system running.

Thanks. I don't wish to seem ungrateful -


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 06-30-2012, 06:37 PM
Mateusz Marzantowicz
 
Default powerdown restarts

On 30.06.2012 17:36, Geoffrey Leach wrote:
> On 06/30/2012 03:51:45 AM, Mateusz Marzantowicz wrote:
>> On 29.06.2012 22:37, Geoffrey Leach wrote:
>>> This problem has been submitted to Bugzilla (836657), but I thought
>> I'd
>>> ask here to see if there are any fixes lurking.
>>>
>>> System is running 3.4.3-1.fc17.x86_64. When I systemctl poweroff
>> the
>>
>>> kernel reboots instead of powering off. Under Windows 7, power off
>>> works as expected. All packages are up-to-date.
>>>
>>> Any ideas?
>> What about shutdown -h ? Does it work as expected? Then try halt and
>> poweroff commands.
> It's my understanding that poweroff is a backwards-compatibility
> implementation of systemctl poweroff, which I have tried to no avail. I
> should have mentioned that. It appears that halt is the same. shutdown
> if a link to systemctl. Bottom line is that I would not expect any of
> these to be any different, but I live in hope and will report back if
> there's any difference.
>
> I should also mention that systemctl poweroff works fine on my laptop
> running the 32-bit version of Fedora 16.
>
> One point, FWIW. Power off is essential for my application. Merely
> halt-ing is no better than just leaving the system running.
>
> Thanks. I don't wish to seem ungrateful -
>
>

Yes, you're right about that links to systemctl. Unfortunately there is
no magic related to shutdown/halt/power off in systemctl, it all calls
reboot() syscall through libc. Your problem lays probably somewhere in
kernel and might be ACPI related (it was very common sometime ago).

Does your 32 bit and 64 bit boxes are the same or different machines?


Mateusz Marzantowicz
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 06-30-2012, 07:38 PM
Geoffrey Leach
 
Default powerdown restarts

On 06/30/2012 11:37:58 AM, Mateusz Marzantowicz wrote:
> On 30.06.2012 17:36, Geoffrey Leach wrote:
> > On 06/30/2012 03:51:45 AM, Mateusz Marzantowicz wrote:
> >> On 29.06.2012 22:37, Geoffrey Leach wrote:
> >>> This problem has been submitted to Bugzilla (836657), but I
> thought
> >> I'd
> >>> ask here to see if there are any fixes lurking.
> >>>
> >>> System is running 3.4.3-1.fc17.x86_64. When I systemctl poweroff
> >> the
> >>
> >>> kernel reboots instead of powering off. Under Windows 7, power
> off
>
> >>> works as expected. All packages are up-to-date.
> >>>
> >>> Any ideas?
> >> What about shutdown -h ? Does it work as expected? Then try halt
> and
> >> poweroff commands.
> > It's my understanding that poweroff is a backwards-compatibility
> > implementation of systemctl poweroff, which I have tried to no
> avail. I
> > should have mentioned that. It appears that halt is the same.
> shutdown
> > if a link to systemctl. Bottom line is that I would not expect any
> of
> > these to be any different, but I live in hope and will report back
> if
> > there's any difference.
> >
> > I should also mention that systemctl poweroff works fine on my
> laptop
> > running the 32-bit version of Fedora 16.
> >
> > One point, FWIW. Power off is essential for my application. Merely
> > halt-ing is no better than just leaving the system running.
> >
> > Thanks. I don't wish to seem ungrateful -
> >
> >
>
> Yes, you're right about that links to systemctl. Unfortunately there
> is
> no magic related to shutdown/halt/power off in systemctl, it all
> calls
> reboot() syscall through libc. Your problem lays probably somewhere
> in
> kernel and might be ACPI related (it was very common sometime ago).
>
> Does your 32 bit and 64 bit boxes are the same or different machines?

Different. The 32-bit is a laptop running Fedora 16. The 64-bit is a
DVR (or will be, once I resolve the no sound problem)

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 06-30-2012, 08:13 PM
Geoffrey Leach
 
Default powerdown restarts

On 06/30/2012 12:38:36 PM, Geoffrey Leach wrote:
> On 06/30/2012 11:37:58 AM, Mateusz Marzantowicz wrote:
> > On 30.06.2012 17:36, Geoffrey Leach wrote:
> > > On 06/30/2012 03:51:45 AM, Mateusz Marzantowicz wrote:
> > >> On 29.06.2012 22:37, Geoffrey Leach wrote:
> > >>> This problem has been submitted to Bugzilla (836657), but I
> > thought
> > >> I'd
> > >>> ask here to see if there are any fixes lurking.
> > >>>
> > >>> System is running 3.4.3-1.fc17.x86_64. When I systemctl
> poweroff
>
> > >> the
> > >>
> > >>> kernel reboots instead of powering off. Under Windows 7, power
> > off
> >
> > >>> works as expected. All packages are up-to-date.
> > >>>
> > >>> Any ideas?
> > >> What about shutdown -h ? Does it work as expected? Then try halt
> > and
> > >> poweroff commands.
> > > It's my understanding that poweroff is a backwards-compatibility
> > > implementation of systemctl poweroff, which I have tried to no
> > avail. I
> > > should have mentioned that. It appears that halt is the same.
> > shutdown
> > > if a link to systemctl. Bottom line is that I would not expect
> any
> > of
> > > these to be any different, but I live in hope and will report
> back
> > if
> > > there's any difference.
> > >
> > > I should also mention that systemctl poweroff works fine on my
> > laptop
> > > running the 32-bit version of Fedora 16.
> > >
> > > One point, FWIW. Power off is essential for my application.
> Merely
>
> > > halt-ing is no better than just leaving the system running.
> > >
> > > Thanks. I don't wish to seem ungrateful -
> > >
> > >
> >
> > Yes, you're right about that links to systemctl. Unfortunately
> there
> > is
> > no magic related to shutdown/halt/power off in systemctl, it all
> > calls
> > reboot() syscall through libc. Your problem lays probably somewhere
> > in
> > kernel and might be ACPI related (it was very common sometime ago).
> >
> > Does your 32 bit and 64 bit boxes are the same or different
> machines?
>
> Different. The 32-bit is a laptop running Fedora 16. The 64-bit is a
> DVR (or will be, once I resolve the no sound problem)

Halt does halt.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 06-30-2012, 09:32 PM
Aaron Konstam
 
Default powerdown restarts

On Sat, 2012-06-30 at 08:36 -0700, Geoffrey Leach wrote:
> On 06/30/2012 03:51:45 AM, Mateusz Marzantowicz wrote:
> > On 29.06.2012 22:37, Geoffrey Leach wrote:
> > > This problem has been submitted to Bugzilla (836657), but I thought
> > I'd
> > > ask here to see if there are any fixes lurking.
> > >
> > > System is running 3.4.3-1.fc17.x86_64. When I systemctl poweroff
> > the
> >
> > > kernel reboots instead of powering off. Under Windows 7, power off
> > > works as expected. All packages are up-to-date.
> > >
> > > Any ideas?
> >
> > What about shutdown -h ? Does it work as expected? Then try halt and
> > poweroff commands.
>
> It's my understanding that poweroff is a backwards-compatibility
> implementation of systemctl poweroff, which I have tried to no avail. I
> should have mentioned that. It appears that halt is the same. shutdown
> if a link to systemctl. Bottom line is that I would not expect any of
> these to be any different, but I live in hope and will report back if
> there's any difference.
>
> I should also mention that systemctl poweroff works fine on my laptop
> running the 32-bit version of Fedora 16.
>
> One point, FWIW. Power off is essential for my application. Merely
> halt-ing is no better than just leaving the system running.
>
> Thanks. I don't wish to seem ungrateful -
>
>

I disagree with the other posters. There is a magic related to shutdown
poweroff and halt. If you look at the man pages you will find that
shutdown and poweroff have different options. It is clear that when
systemctl is called under a different name it checks the name and
potentially reacts differently. For example poweroff by itself will
shutdown the machine . systemctl called by itself will not.
--
================================================== =====================
Why did the Lord give us so much quickness of movement unless it was to
avoid responsibility with?
================================================== =====================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@sbcglobal.net

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 06-30-2012, 11:49 PM
Mateusz Marzantowicz
 
Default powerdown restarts

On 30.06.2012 23:32, Aaron Konstam wrote:
> On Sat, 2012-06-30 at 08:36 -0700, Geoffrey Leach wrote:
>> On 06/30/2012 03:51:45 AM, Mateusz Marzantowicz wrote:
>>> On 29.06.2012 22:37, Geoffrey Leach wrote:
>>>> This problem has been submitted to Bugzilla (836657), but I thought
>>> I'd
>>>> ask here to see if there are any fixes lurking.
>>>>
>>>> System is running 3.4.3-1.fc17.x86_64. When I systemctl poweroff
>>> the
>>>
>>>> kernel reboots instead of powering off. Under Windows 7, power off
>>>> works as expected. All packages are up-to-date.
>>>>
>>>> Any ideas?
>>> What about shutdown -h ? Does it work as expected? Then try halt and
>>> poweroff commands.
>> It's my understanding that poweroff is a backwards-compatibility
>> implementation of systemctl poweroff, which I have tried to no avail. I
>> should have mentioned that. It appears that halt is the same. shutdown
>> if a link to systemctl. Bottom line is that I would not expect any of
>> these to be any different, but I live in hope and will report back if
>> there's any difference.
>>
>> I should also mention that systemctl poweroff works fine on my laptop
>> running the 32-bit version of Fedora 16.
>>
>> One point, FWIW. Power off is essential for my application. Merely
>> halt-ing is no better than just leaving the system running.
>>
>> Thanks. I don't wish to seem ungrateful -
>>
>>
> I disagree with the other posters. There is a magic related to shutdown
> poweroff and halt. If you look at the man pages you will find that
> shutdown and poweroff have different options. It is clear that when
> systemctl is called under a different name it checks the name and
> potentially reacts differently. For example poweroff by itself will
> shutdown the machine . systemctl called by itself will not.

If you check source code with is more reliable then any man page could
ever be, you will find that there really is nothing magical. Please see
file src/systemctl/systemctl.c in systemd source tree. Commands like
halt, shutdown and power off call the reboot() function. I can agree
that argument to reboot() may change between this calls but it's still
the same function they're calling.


Mateusz Marzantowicz
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 07-01-2012, 01:49 PM
Aaron Konstam
 
Default powerdown restarts

On Sun, 2012-07-01 at 01:49 +0200, Mateusz Marzantowicz wrote:
> On 30.06.2012 23:32, Aaron Konstam wrote:
> > On Sat, 2012-06-30 at 08:36 -0700, Geoffrey Leach wrote:
> >> On 06/30/2012 03:51:45 AM, Mateusz Marzantowicz wrote:
> >>> On 29.06.2012 22:37, Geoffrey Leach wrote:
> >>>> This problem has been submitted to Bugzilla (836657), but I thought
> >>> I'd
> >>>> ask here to see if there are any fixes lurking.
> >>>>
> >>>> System is running 3.4.3-1.fc17.x86_64. When I systemctl poweroff
> >>> the
> >>>
> >>>> kernel reboots instead of powering off. Under Windows 7, power off
> >>>> works as expected. All packages are up-to-date.
> >>>>
> >>>> Any ideas?
> >>> What about shutdown -h ? Does it work as expected? Then try halt and
> >>> poweroff commands.
> >> It's my understanding that poweroff is a backwards-compatibility
> >> implementation of systemctl poweroff, which I have tried to no avail. I
> >> should have mentioned that. It appears that halt is the same. shutdown
> >> if a link to systemctl. Bottom line is that I would not expect any of
> >> these to be any different, but I live in hope and will report back if
> >> there's any difference.
> >>
> >> I should also mention that systemctl poweroff works fine on my laptop
> >> running the 32-bit version of Fedora 16.
> >>
> >> One point, FWIW. Power off is essential for my application. Merely
> >> halt-ing is no better than just leaving the system running.
> >>
> >> Thanks. I don't wish to seem ungrateful -
> >>
> >>
> > I disagree with the other posters. There is a magic related to shutdown
> > poweroff and halt. If you look at the man pages you will find that
> > shutdown and poweroff have different options. It is clear that when
> > systemctl is called under a different name it checks the name and
> > potentially reacts differently. For example poweroff by itself will
> > shutdown the machine . systemctl called by itself will not.
>
> If you check source code with is more reliable then any man page could
> ever be, you will find that there really is nothing magical. Please see
> file src/systemctl/systemctl.c in systemd source tree. Commands like
> halt, shutdown and power off call the reboot() function. I can agree
> that argument to reboot() may change between this calls but it's still
> the same function they're calling.
We bare talking passed each other so we are not getting anywhere. The
point is systemctl by itself does not power down the system. But when it
is called with a different name it changes its functionality.
What does the now in the command: shutdown -r now
mean for the poweroff command.

--
================================================== =====================
A computer scientist is someone who fixes things that aren't broken.
================================================== =====================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@sbcglobal.net

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 07-01-2012, 10:56 PM
Geoffrey Leach
 
Default powerdown restarts

On 06/30/2012 04:49:26 PM, Mateusz Marzantowicz wrote:
> On 30.06.2012 23:32, Aaron Konstam wrote:
> > On Sat, 2012-06-30 at 08:36 -0700, Geoffrey Leach wrote:
> >> On 06/30/2012 03:51:45 AM, Mateusz Marzantowicz wrote:
> >>> On 29.06.2012 22:37, Geoffrey Leach wrote:
> >>>> This problem has been submitted to Bugzilla (836657), but I
> thought
> >>> I'd
> >>>> ask here to see if there are any fixes lurking.
> >>>>
> >>>> System is running 3.4.3-1.fc17.x86_64. When I systemctl poweroff
> >>> the
> >>>
> >>>> kernel reboots instead of powering off. Under Windows 7, power
> off
> >>>> works as expected. All packages are up-to-date.
> >>>>
> >>>> Any ideas?
> >>> What about shutdown -h ? Does it work as expected? Then try halt
> and
> >>> poweroff commands.
> >> It's my understanding that poweroff is a backwards-compatibility
> >> implementation of systemctl poweroff, which I have tried to no
> avail. I
> >> should have mentioned that. It appears that halt is the same.
> shutdown
> >> if a link to systemctl. Bottom line is that I would not expect any
> of
> >> these to be any different, but I live in hope and will report back
> if
> >> there's any difference.
> >>
> >> I should also mention that systemctl poweroff works fine on my
> laptop
> >> running the 32-bit version of Fedora 16.
> >>
> >> One point, FWIW. Power off is essential for my application. Merely
> >> halt-ing is no better than just leaving the system running.
> >>
> >> Thanks. I don't wish to seem ungrateful -
> >>
> >>
> > I disagree with the other posters. There is a magic related to
> shutdown
> > poweroff and halt. If you look at the man pages you will find that
> > shutdown and poweroff have different options. It is clear that when
> > systemctl is called under a different name it checks the name and
> > potentially reacts differently. For example poweroff by itself will
> > shutdown the machine . systemctl called by itself will not.
>
> If you check source code with is more reliable then any man page
> could
> ever be, you will find that there really is nothing magical. Please
> see
> file src/systemctl/systemctl.c in systemd source tree. Commands like
> halt, shutdown and power off call the reboot() function. I can agree
> that argument to reboot() may change between this calls but it's
> still
> the same function they're calling.

"Read the source, Luke!" Thanks for the suggestion. I followed reboot
() through the source and finally got lost in a maze of low-level
calls. I did notice that POWEROFF is different from HALT, etc. and that
there is code that is specific for 32-bit systems. Finally, it appears
that at the bottom of the call tree there is a call to a BIOS function
which is relevant, I imagine, although as I mentioned at the outset,
Windows 7 does poweroff just fine.

All of this is somewhat irrelevant, as it appears that the audio
driver (smd_hda_intel) does not support the Ivy Bridge architecture, so
powering off is not an issue :-(
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 

Thread Tools




All times are GMT. The time now is 12:33 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org