Author Topic: OpenBox Halt and Reboot  (Read 929 times)

Offline Yankee

  • Hero Member
  • *****
  • Posts: 1474
  • In theory, theory=practice, in practice ???
OpenBox Halt and Reboot
« on: June 17, 2011, 04:36:06 PM »

When I use Bonsai for backing up filesystems and copying and moving files,
usually over 1 GB,  I can have problems with halt and reboot, only able to do
so in the terminal.

Anyone else experience this ?   Any possible solutions ?

I'm using a 900mhz netbook, Bonsai is on a flash drive, and otherwise it's
working OK.

THX.
ASUS EeePc 900HA netbook  1.6 Ghz Atom CPU  1GB RAM
160 GB internal HD    Seagate 250 GB USB portable drive 
Intel ‎Mobile 945GSE Integrated Graphics Controller
Atheros AR242x/AR542x Wireless Network Adapter
Intel (N10/ICH7 Family) High Definition Audio
Dynex 5-Button Wired Optical Mouse
LXDE

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: OpenBox Halt and Reboot
« Reply #1 on: June 18, 2011, 11:51:55 AM »

When I use Bonsai for backing up filesystems and copying and moving files,
usually over 1 GB,  I can have problems with halt and reboot, only able to do
so in the terminal.

Anyone else experience this ?   Any possible solutions ?

I'm using a 900mhz netbook, Bonsai is on a flash drive, and otherwise it's
working OK.

THX.

Hi,

I would like to try to help you, but I might be missing a few informations : cpu speed is one thing, but to copy files you need some ram, and there are a choice of methods.

First, how much ram is there in the machine on which you boot the flash drive ?
Second, did you keep the zram module working in your bonsai version or did you not ?
Third : do you copy with gui copy/paste, or do you use "cp" in a console ?

To end with, have you checked that haldaemon is still started when you want to halt or reboot the system ? You can do that as root with the command "service haldaemon restart".

Regards,
Mélodie

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline Yankee

  • Hero Member
  • *****
  • Posts: 1474
  • In theory, theory=practice, in practice ???
Re: OpenBox Halt and Reboot
« Reply #2 on: June 18, 2011, 12:46:36 PM »
When I use Bonsai for backing up filesystems and copying and moving files,
usually over 1 GB,  I can have problems with halt and reboot, only able to do
so in the terminal.

Anyone else experience this ?   Any possible solutions ?

I'm using a 900mhz netbook, Bonsai is on a flash drive, and otherwise it's
working OK.

THX.
Hi,

I would like to try to help you, but I might be missing a few informations : cpu speed is one thing, but to copy files you need some ram, and there are a choice of methods.

First, how much ram is there in the machine on which you boot the flash drive ?
Second, did you keep the zram module working in your bonsai version or did you not ?
Third : do you copy with gui copy/paste, or do you use "cp" in a console ?

To end with, have you checked that haldaemon is still started when you want to halt or reboot the system ? You can do that as root with the command "service haldaemon restart".

Regards,
Mélodie

Hello Melodie,

The machine has 1 GB of RAM, never gives a message that RAM is completely used, etc..
Zram is commented out and my FSArchiver probe simple command confirms this.
The copy to or move to of the filesystem archive files is done with PCManFM and that
runs smoothly, copying the files from the flash drive to a USB portable drive for safekeeping.
FSArchiver runs as root from the terminal and sometimes the several backups take over an hour,
15 to 20 minutes for each one, and I try to do this only once a month.   They have been
running smoothly, backup and restore.   

I'll have to run the haldaemon command you suggested later in the month to get the machine in exactly
the right situation to duplicate the error then.   When I do a couple backups and it's ready to do the
error.  Did happen more than once and I thought the window manager just does that.

Well, have a good one and thanks for your response.
ASUS EeePc 900HA netbook  1.6 Ghz Atom CPU  1GB RAM
160 GB internal HD    Seagate 250 GB USB portable drive 
Intel ‎Mobile 945GSE Integrated Graphics Controller
Atheros AR242x/AR542x Wireless Network Adapter
Intel (N10/ICH7 Family) High Definition Audio
Dynex 5-Button Wired Optical Mouse
LXDE

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: OpenBox Halt and Reboot
« Reply #3 on: June 18, 2011, 01:15:43 PM »
Welcome. :)

Just a little note : it takes less resources and is more powerful to use the cp command with the -R option for "recurse" and -R -a ( -Ra) to copy recursively and preserve attributes.

I have been able to save personal files for someone thanks to cp, in a dying hard drive, whereas even mc which however is light, would not do it.

Another thing is I don't see very well why you don't like using zram. :)
(Or don't want to, which is about the same)

For what haldaemon is concerned, I have noticed once a while it just hangs, without saying why. As it's not updated anymore, all we have to do is restart it, and for the rest, wait that we use the other tools some day in the future...
« Last Edit: June 18, 2011, 01:19:15 PM by melodie »
melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline Yankee

  • Hero Member
  • *****
  • Posts: 1474
  • In theory, theory=practice, in practice ???
Re: OpenBox Halt and Reboot
« Reply #4 on: June 18, 2011, 01:55:15 PM »
Welcome. :)

Just a little note : it takes less resources and is more powerful to use the cp command with the -R option for "recurse" and -R -a ( -Ra) to copy recursively and preserve attributes.

I have been able to save personal files for someone thanks to cp, in a dying hard drive, whereas even mc which however is light, would not do it.

mc (midnight commander) when I tried it, it didn't like the screen power manager going off at ten minutes, messed
up one file.  Most of my files go to an NTFS partition which allows easy access.

Quote
Another thing is I don't see very well why you don't like using zram. :)
(Or don't want to, which is about the same)

Just eccentric basically, thought it might interfere with the backup program slightly.  Same with the screen power
manager which turns off at 10 minutes.  Turned it off but eventually turned it back on.  It's on now during backups.

Quote
For what haldaemon is concerned, I have noticed once a while it just hangs, without saying why. As it's not updated anymore, all we have to do is restart it, and for the rest, wait that we use the other tools some day in the future...

Yes, I will run that command at the end of the month and post the effect.  There's dozens of commands I've
seen I wish I knew but I just don't have the time or the energy to learn them.


And thanks for the info. ;D
ASUS EeePc 900HA netbook  1.6 Ghz Atom CPU  1GB RAM
160 GB internal HD    Seagate 250 GB USB portable drive 
Intel ‎Mobile 945GSE Integrated Graphics Controller
Atheros AR242x/AR542x Wireless Network Adapter
Intel (N10/ICH7 Family) High Definition Audio
Dynex 5-Button Wired Optical Mouse
LXDE