Hard drive activity

AmigaOne X1000 platform specific issues.

Hard drive activity

Postby kilaueabart » Sat Aug 03, 2013 11:27 pm

I have always understood that one should not reboot while a hard drive is active. But with no hard drive activity light on the X1000 and some apps occasionally loading very slowly (or maybe not at all), how do I know when it is safe to give up waiting and do a warm reboot?
Aloha,
Bart
User avatar
kilaueabart
 
Posts: 638
Joined: Mon Mar 05, 2012 3:36 am

Re: Hard drive activity

Postby LyleHaze » Sat Aug 03, 2013 11:59 pm

I can offer a few ways:

Instead of using the three-fingered salute, open a shell and use the reboot command.
"reboot fast sync" will give a quick reboot, and
"reboot sync" will give a deep reboot.

In both cases the sync keyword will make sure all drives are clear before doing the deed.

Another option is to add another LED to your case. I chose a bright blue LED (rectangular
works best for this) and I added leads and a connector. Once that was tested and working
one drop of superglue(cyanoacrylate) and I attached the LED to a flat spot on the back
of the power switch. Now I have red for power and flashing blue for drive activity.

I recently connected an additional LED to help me troubleshoot.. I might add that one to the
power switch bezel as well.

:)
User avatar
LyleHaze
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 520
Joined: Sat Jun 18, 2011 5:06 pm
Location: North Florida, near the Big Bend

Re: Hard drive activity

Postby ChrisH » Sun Aug 04, 2013 10:10 am

Or you can use the DiskLED Docky, you just need to add this to it's Tooltypes:
DEVICE=sb600sata.device,1
User avatar
ChrisH
Beta Tester
Beta Tester
 
Posts: 915
Joined: Mon Dec 20, 2010 10:09 pm

Re: Hard drive activity

Postby zappa2009 » Sun Aug 04, 2013 2:17 pm

Or you use the POFF-Utilitiy from OS4depot.net -> http://os4depot.net/share/utility/shell/poff.lha

I use a seperate Blue-LED for Power and the orginal installed RED-LED for the Hard-Disk aktivity.
X1000 RadeonHD5450 4GB (2x2GB) DDR2-PC2-8500 Kingston HyperX 5-5-5-5-15 OS4.1.6 & Lubuntu13.04/mintppc11 with Kernel 3.8.7/3.9
User avatar
zappa2009
 
Posts: 230
Joined: Tue Jun 21, 2011 1:17 pm

Re: Hard drive activity

Postby danbeaver » Sun Aug 04, 2013 5:23 pm

I put a red led in with the leads trapped by the front fascia so it sits behind the power button; this way it is removable with no residue.
User avatar
danbeaver
 
Posts: 367
Joined: Thu Jan 19, 2012 10:58 pm
Location: On the edge of the Equator in hot & humid Guam

Re: Hard drive activity

Postby xenic » Sun Aug 04, 2013 6:44 pm

LyleHaze wrote:I can offer a few ways:

Instead of using the three-fingered salute, open a shell and use the reboot command.
"reboot fast sync" will give a quick reboot, and
"reboot sync" will give a deep reboot.
:)


I added a reboot menu item to my Workbench menus that calls a script which opens a simple requester to confirm that I really intended to reboot. I could have just as easily added it to AmiDock. Here is the script:

; Script to reboot AmigaDOS
UNSET resetchoice
SET resetchoice `RequestChoice TITLE "Reboot" BODY "Restart AmigaDOS?" GADGETS "OK" "Cancel"`
IF $resetchoice EQ 1
C:Reboot FAST SYNC
ENDIF
UNSET resetchoice
AmigaOne X1000 with 2GB memory - OS4.1 FE
xenic
 
Posts: 1160
Joined: Sun Jun 19, 2011 1:06 am

Re: Hard drive activity

Postby Raziel » Sun Aug 04, 2013 8:49 pm

@xenic

Or...if you want to have an all-in-one script and use the poweroff feature you can try POFF and this script ;-)
Code: Select all
Requestchoice >ENV:rcnum "Reboot or Power Off?" "Reboot (Fast/Hard) or power off the machine?" "Fast" "Hard" "Power Off" "Cancel"
IF $rcnum EQ 1
   Requestchoice >ENV:rcnum "Fast Reboot" "The Amiga X1000 will now reboot..." "OK" "Cancel"
      IF $rcnum EQ 1
         Reboot FAST SYNC
      ENDIF
   SKIP Exit
ENDIF
IF $rcnum EQ 2
   Requestchoice >ENV:rcnum "Hard Reboot" "The Amiga X1000 will now reboot..." "OK" "Cancel"
      IF $rcnum EQ 1
         Reboot SYNC
      ENDIF
   SKIP Exit
ENDIF
IF $rcnum EQ 3
   Requestchoice >ENV:rcnum "Power Off" "The Amiga X1000 is going to be powered off.*n*nHave patience as it will take some seconds." "OK" "Cancel"
   IF $rcnum EQ 1
      POff 5 SYNC
   ENDIF
ENDIF

Lab Exit
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
User avatar
Raziel
 
Posts: 925
Joined: Sat Jun 18, 2011 5:00 pm
Location: a story that hasn't been written yet

Re: Hard drive activity

Postby trevordick » Mon Aug 05, 2013 10:11 am

ChrisH wrote:Or you can use the DiskLED Docky, you just need to add this to it's Tooltypes:
DEVICE=sb600sata.device,1

Yes I use this on my machine and if you have both SATA and PATA drives you can also add that drive to the tooltypes in the DiskLED Docky

DEVICE=sb600sata.device,0
DEVICE=sb600ide.device,0

Trevor
I'm just Breezin'
User avatar
trevordick
A-Eon Technology
A-Eon Technology
 
Posts: 1380
Joined: Mon Dec 20, 2010 2:28 pm

Re: Hard drive activity

Postby ggw » Tue Aug 06, 2013 3:32 am

Why is the LED in some pictures of the X1000 GREEN and other it is RED? These pictures are seen via a Google search whilst in the "Images" mode: "Amiga X1000"
George Wyche
ggw
 
Posts: 106
Joined: Wed May 02, 2012 5:19 am
Location: Austin, TX

Re: Hard drive activity

Postby trevordick » Tue Aug 06, 2013 4:42 am

It starts "green" when the disk is first accessed, then changes to "red" which fades away, presumably when the disk activity has stopped.

Trevor
I'm just Breezin'
User avatar
trevordick
A-Eon Technology
A-Eon Technology
 
Posts: 1380
Joined: Mon Dec 20, 2010 2:28 pm

Next

Return to Platform: AmigaOne X1000

Who is online

Users browsing this forum: No registered users and 1 guest