Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

Firmware Bug in Back-UPS BX1300G Causes Reboot Loops

APC UPS for Home and Office Forum

Support forum to share knowledge about installation and configuration of APC offers including Home Office UPS, Surge Protectors, UTS, software and services.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • APC UPS, Critical Power, Cooling and Racks
  • APC UPS for Home and Office Forum
  • Firmware Bug in Back-UPS BX1300G Causes Reboot Loops
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
BillP
Administrator BillP Administrator
2151
Teken
Spock Teken
99
voidstar_apc
Janeway voidstar_apc
83
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to APC UPS for Home and Office Forum
Solved
Anonymous user
Not applicable

Posted: ‎2021-06-29 09:59 PM . Last Modified: ‎2024-03-20 03:25 AM

0 Likes
10
1445
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 09:59 PM . Last Modified: ‎2024-03-20 03:25 AM

Firmware Bug in Back-UPS BX1300G Causes Reboot Loops

Hi,

I have two APC BX1300G UPSes, and for the longest time one of the two units would always go into a "reboot loop" any time the utility power was gone for longer than I had configured the shutdown period in the software to be.  So long that the utility power would leave, and then return before the timeout was up, the UPS would hold the load up. This was incredibly frustrating, as the unit with the looping problem was attached to my Linux machine and it would be halfway through booting up, when the 1300G would decide to go on battery again (even though utility power was clean and available) and then subsequently drop the load, triggering a filesystem check once the UPS had finally "stabilized" itself enough to continue running. The 1300G hooked to my Windows machine would have no such issues. So, I did what any logical person would do, and swapped the Linux attached UPS for the Windows attached UPS, to see if the problem would follow the unit. The behavior was exactly the same, the problem stayed with the machine, and did not follow the UPS. At the time, I chalked it up to some marginal incompatibly with the power supply in the Linux machine and just lived with it, grumbling every time the power went out about "that junk APC" rebooting my box all the time. I could not figure out why my Windows machine had no problems, so I just wrote it off.

Fast forward a good time later, and I happened to be looking at the changelog for apcupsd (the linux software for APC UPS's) and something in particular caught my eye:

r2120 | adk0212 | 2014-03-28 22:31:45 -0400 (Fri, 28 Mar 2014) | 3 lines

Workaround for UPS firmware bug causing killpower to execute repeatedly in a loop

So installed this latest version of apcupsd, and lo and behold my "reboot loop" problems are gone. I could not be happier with the new found reliability in the 1300G I had grown to loathe over the previous months. Of course, I wanted to dig into *why* this fixed my problem.

The basic gist is that there appears to be a bug in the firmware of the BX series of APC UPSes that causes it to re-execute the last command that it received via USB once the USB is "reconnected", either a pulled USB cable is reinserted after the PC is booted up, or by the USB chips getting initialized by the system BIOS (that's right, even before the OS is booted).  If PowerChute on Windows sends the "kill the ups" signal to the UPS due to software timeout, PowerChute keeps on checking the status of the UPS by sending a "check status" operation down the USB cable.  So the power gets killed, and the last thing in the firmwares memory is "check status", a totally benign command.

Now, using apcupsd (previous to version 3.14.12), once the timer has run out and the software sent the "kill the ups" signal, it would send no more operation codes down the USB line.  Everything would shut off as you would expect, but now the last thing in the memory of the UPS is the "kill the ups" signal, and not a harmless "check status" signal.  So, when the power would be restored, the 1300G would come up, the USB lines would get power again (from the PC), and it would execute the last command it received, namely "kill the ups". It would cheerfully do so once again (even with good power), and then drop my Linux box mid-boot, much to my chagrin.

This was fixed in apcupsd version 3.14.12 by mimicking the PowerChute behavior on Windows by sending some additional "check status" signals after the "kill the ups signal", so that the bug that still exists in the UPS would run a harmless command instead of triggering a "reboot loop" like it would before. I'm pleased to report that it now works wonderfully.

So, my question is, has APC looked into this behavior in the BX (and possibly other) lines in regard to the "re-execution" of commands previously sent via USB? While the software is now able to work around the bug in the firmware, it still stands that there is a defect in the product, and I would think that would be of interest to the firmware engineers at APC (or at least I would certainly hope so!) I have always had a lot of faith in APC products, and I would really like to ensure that future products I may buy from them would not have this bug present in the product.

The gritty details of how all this was discovered is at the following link:

Apcupsd UPS control software / Mailing Lists

Labels
  • Labels:
  • Back-UPS & Surge Protectors
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
Anonymous user
Not applicable

Posted: ‎2021-06-29 10:00 PM . Last Modified: ‎2024-03-20 03:24 AM

0 Likes
0
1445
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 10:00 PM . Last Modified: ‎2024-03-20 03:24 AM

That's too bad, I have a BX1300G that was signaling my PC to shut down via the USB cable

every time there was a quick power outage. After shutting down the UPS and removing

the battery, it works fine again. Probably until the next full battery drain power outage.

I guess there wouldn't be any way of fixing that, replacing f/w chip, UPS board, jtag, etc ...

See Answer In Context

Reply

Link copied. Please paste this link to share this article on your social media post.

Replies 10
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-29 09:59 PM . Last Modified: ‎2024-03-20 03:25 AM

0 Likes
0
1445
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 09:59 PM . Last Modified: ‎2024-03-20 03:25 AM

Hello, sorry for the delay - I was researching.

We are aware of this issue and it is definitely on the radar. We have fixed issues recently revolving around this type of thing it seems from my research but just to make sure we are on the same page with what is fixed when, could you provide your UPS's firmware version (which should be available via Apcupsd)?

Thanks!

Reply

Link copied. Please paste this link to share this article on your social media post.

Anonymous user
Not applicable

Posted: ‎2021-06-29 09:59 PM . Last Modified: ‎2024-03-20 03:25 AM

0 Likes
0
1445
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 09:59 PM . Last Modified: ‎2024-03-20 03:25 AM

HI Angela,

It is good to hear that you've identified this issue internally. Both of the BX1300G's have the same firmware version:

FIRMWARE : 864.L5 .D USB FW:L5

Thanks

Reply

Link copied. Please paste this link to share this article on your social media post.

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-29 09:59 PM . Last Modified: ‎2024-03-20 03:25 AM

0 Likes
0
1445
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 09:59 PM . Last Modified: ‎2024-03-20 03:25 AM

Hi again,

We're going to do some validation testing here regarding the issue and what's fixed and what's not and that team doing it has agreed to make sure it is completed between 9/10-9/12 at this time so I hope to report back right around then.

Reply

Link copied. Please paste this link to share this article on your social media post.

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-29 09:59 PM . Last Modified: ‎2024-03-20 03:25 AM

0 Likes
0
1445
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 09:59 PM . Last Modified: ‎2024-03-20 03:25 AM

Sorry, I forgot to respond here. I checked shortly after 9/12 to see what engineering found out and they still wanted to do another few tests after they did identify something. They needed to review the USB traffic it seemed like. Will check in the end of this week.

Reply

Link copied. Please paste this link to share this article on your social media post.

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-29 09:59 PM . Last Modified: ‎2024-03-20 03:25 AM

0 Likes
0
1445
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 09:59 PM . Last Modified: ‎2024-03-20 03:25 AM

Hello,

Some good news. It looks like the firmware update to fix this issue will be worked in later this year after we confirmed the scope of the issue internally. Thus, by Q1 2015 units should be available via distribution so ultimately, the entire unit(s) would need to be replaced since these Back-UPS are not field upgradable. Or, use the latest version of apcupsd that has a bug fix within it to sort of bandaid the problem via the software.

Reply

Link copied. Please paste this link to share this article on your social media post.

Anonymous user
Not applicable

Posted: ‎2021-06-29 10:00 PM . Last Modified: ‎2024-03-20 03:25 AM

0 Likes
0
1445
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 10:00 PM . Last Modified: ‎2024-03-20 03:25 AM

Hi Angela,

That is good news. For me personally, I'm OK with just using the patched version of the software, as the units work perfectly fine otherwise. I do wish the firmware was field upgradable, but it's not worth doing an RMA considering there is an acceptable workaround.

Thanks for all your assistance.

Reply

Link copied. Please paste this link to share this article on your social media post.

Anonymous user
Not applicable

Posted: ‎2021-06-29 10:00 PM . Last Modified: ‎2024-03-20 03:25 AM

0 Likes
0
1445
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 10:00 PM . Last Modified: ‎2024-03-20 03:25 AM

Has there been an actual firmware update released for the BX1300G now?

I have a bunch of APC units, some have the 864.L5 firmware as well.

I believe I've seen 864.L8 on newer units, but there might be newer too.

Reply

Link copied. Please paste this link to share this article on your social media post.

Anonymous user
Not applicable

Posted: ‎2021-06-29 10:00 PM . Last Modified: ‎2024-03-20 03:24 AM

0 Likes
0
1445
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 10:00 PM . Last Modified: ‎2024-03-20 03:24 AM

Has there been an actual firmware update released for the BX1300G now?

I have a bunch of APC units, some have the 864.L5 firmware as well.

I believe I've seen 864.L8 on newer units, but there might be newer too.

Reply

Link copied. Please paste this link to share this article on your social media post.

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-29 10:00 PM . Last Modified: ‎2024-03-20 03:24 AM

0 Likes
0
1445
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 10:00 PM . Last Modified: ‎2024-03-20 03:24 AM

Martin,

The issue has been resolved in BX1500G firmware 863.L6.D that is shipping on new BX1500 now. The issue will be corrected in BX1300G firmware 922.L9.D that should start shipping on BX1300Gs in July. 

Unfortunately the BX model UPS do not have upgradeable firmware. 

Reply

Link copied. Please paste this link to share this article on your social media post.

Anonymous user
Not applicable

Posted: ‎2021-06-29 10:00 PM . Last Modified: ‎2024-03-20 03:24 AM

0 Likes
0
1446
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 10:00 PM . Last Modified: ‎2024-03-20 03:24 AM

That's too bad, I have a BX1300G that was signaling my PC to shut down via the USB cable

every time there was a quick power outage. After shutting down the UPS and removing

the battery, it works fine again. Probably until the next full battery drain power outage.

I guess there wouldn't be any way of fixing that, replacing f/w chip, UPS board, jtag, etc ...

Reply

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of