PPV2 boots to alarm only on reboot

This forum is for topics dealing with problems with software specifically in the ARMv5 repo.

PPV2 boots to alarm only on reboot

Postby Socaltom » Wed Jul 30, 2014 12:21 pm

Brand new fresh install on a Pink V2. When I unplug it, it consistently boots to the pogoplug prompt, then I /sbin/reboot and the alarm system boots up. Only one drive attached.
It's been a while since I did a fresh install. Did I forget something?
Tom
used to be owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
used to be Adminstrator for
Goflex net, Black V3, Black V2
Now I have a couple of raspberry pi ( 3+ and 4)
Socaltom
 
Posts: 571
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side

Re: PPV2 boots to alarm only on reboot

Postby WarheadsSE » Wed Jul 30, 2014 1:16 pm

This is a historical issue about cold boots. You can find many ways to address it.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: PPV2 boots to alarm only on reboot

Postby Socaltom » Wed Jul 30, 2014 4:22 pm

$this->bbcode_second_pass_quote('WarheadsSE', 'T')his is a historical issue about cold boots. You can find many ways to address it.

I searched, and I'm not sure this is the same issue. This is an externally powered 3.5 inch drive, so I think this is a different issue.
Tom
used to be owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
used to be Adminstrator for
Goflex net, Black V3, Black V2
Now I have a couple of raspberry pi ( 3+ and 4)
Socaltom
 
Posts: 571
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side

Re: PPV2 boots to alarm only on reboot

Postby WarheadsSE » Wed Jul 30, 2014 4:52 pm

Spin up time is even greater on spinning drives.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: PPV2 boots to alarm only on reboot

Postby grayman4hire » Wed Jul 30, 2014 5:55 pm

@socialtom, try the below (cut/paste from my blog).

$this->bbcode_second_pass_quote('', '
')A cold/hard boot (disconnect/reconnect power cord) can behave differently than a warm boot (executing the 'reboot' command via the console). Yes, very strange. I've experienced where if I do a cold boot, the default Pogoplug OS will boot up and not ALARM. However, if I execute a reboot command from within the default Pogoplug OS, ALARM will boot up properly. I've also experienced the opposite, where ALARM will boot up properly from a cold boot, but if I execute a 'reboot' command via the console, ALARM will not boot properly. This all depends on your USB flash/hard drive. Try the following, it may help and typically it shouldn't hurt. I'm using the below bootcmd for two of my Pogoplugs with Western Digital My Passport drives.

#E02 - Only. Fix boot issue with some USB drives
#credit - viewtopic.php?f=18&t=1717&p=9527#p9527
#print default bootcmd value
fw_printenv bootcmd

#default bootcmd
#[root@pogoplug ~]# fw_printenv bootcmd

#bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; #run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; #reset

#update bootcmd value to start, stop and start usb again
#all one line
fw_setenv bootcmd "usb start; usb stop; usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset"

#confirm update
fw_printenv bootcmd
grayman4hire
 
Posts: 350
Joined: Sat Sep 29, 2012 12:03 am
Location: SF, CA

Re: PPV2 boots to alarm only on reboot

Postby bodhi » Thu Jul 31, 2014 1:36 am

@Tom,

I concur with WarheadsSE. It seems like a historical issue. To confirm, watch your neconsole/serial console, if you see "USB not ready" after a few tries, then that's it. Usually it's also preceded by a few "Time Out" errors. Mainline U-boot USB driver has 1 second time out, which is too short for certain USB HDDs.
bodhi
 
Posts: 225
Joined: Sat Aug 13, 2011 10:06 am

Re: PPV2 boots to alarm only on reboot

Postby Socaltom » Thu Jul 31, 2014 3:44 pm

$this->bbcode_second_pass_quote('bodhi', '@')Tom,

I concur with WarheadsSE. It seems like a historical issue. To confirm, watch your neconsole/serial console, if you see "USB not ready" after a few tries, then that's it. Usually it's also preceded by a few "Time Out" errors. Mainline U-boot USB driver has 1 second time out, which is too short for certain USB HDDs.


hmm,
I've had this plug run on several drives and never had this problem before. Maybe I'll try switching back to another drive.
Tom
used to be owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
used to be Adminstrator for
Goflex net, Black V3, Black V2
Now I have a couple of raspberry pi ( 3+ and 4)
Socaltom
 
Posts: 571
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side
Top


Return to ARMv5

Who is online

Users browsing this forum: No registered users and 3 guests