0% found this document useful (0 votes)
144 views2 pages

HP Bad Code Error

This document explains how to repair an HP switch that cannot load image and how to upgrade to the latest image.

Uploaded by

rachidi1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
144 views2 pages

HP Bad Code Error

This document explains how to repair an HP switch that cannot load image and how to upgrade to the latest image.

Uploaded by

rachidi1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

6/1/2015

HPSupportCenter
HP2910alSwitchesSomeCompactFlashcardshaveunnecessary
folder/filespresent
SUPPORTCOMMUNICATIONCUSTOMERADVISORY
DocumentID:c03394761
Version:2

HP2910alSwitchesSomeCompactFlashcardshaveunnecessary
folder/filespresent
NOTICE:Theinformationinthisdocument,includingproductsandsoftwareversions,iscurrentasoftheReleaseDate.
Thisdocumentissubjecttochangewithoutnotice.
ReleaseDate:20140814
LastUpdated:20140814
DESCRIPTION
Someswitcheswereshippedfromthefactorywithunnecessaryfolder/filesloadedontheCompactFLASHcard.Thesefilesreducetheamountof
availablestoragespaceavailableontheswitch.Theavailablestoragespaceisneededbytheswitchtostartupafterasoftwareupdateorreboot.
DETAILS
From2009toMay2010,switchesweremanufacturedwithasoftwareimageontheCompactFLASHcardwhichincludedafoldernamed.trashnebeker
thatcontainedsomescratchfiles.Thesefilesarenotmaliciousinanyway,buttheydooccupyasignificantamountofstoragespace.TheCFisusedto
storeprimaryandsecondarysoftwareimages,configurationfiles,andcorefiles.Overtime,theswitchsoftwareimageshavegrown,creatingthe
possibilitythattheunnecessaryfilesmayleaveinsufficientstoragespacefortheswitchtoproperlybootafterasoftwareupgradeorreboot.Whenthis
conditionisencountered,theswitchwillbootbacktotheprimaryOSwhenreloadedinsteadofthenewimagethatwasjustdownloaded.Insomecases
theswitchwillfailtoboot,allLEDswillremainconstantlylit,andtheconsolesessionwillpresentthebootROMprompt,asshownbelow:
ROMinformation:Builddirectory:/sw/rom/build/samrom(ec_samrom_t4a)Builddate:Jul152011Buildtime:00:07:56Build
version:W.14.06Buildversion:W.14.06Buildnumber:47506
Error,/cfa0/boot.inicorruptedpleasereboottoconsoleandrepair.CouldnotopenImagefile
BadcodeinFLASH
Flashmemoryneedsreprogrammingorchassiscouldbefaulty.UseaPCastheconsoleandperformtheupdateprocedure
byserialXmodemdownloadofthecurrentSwitchImage.Ifunsuccessfulw/downloading,thentryreplacingchassis.
=>
SCOPE
Someoftheswitchesbuiltwiththeextrafolder/filesareseeingproblemsrelatedtotheCFstoragebeingexceeded.Takingstepstoremovetheexcess
fileswillpreventfutureproblems.HPregretsanyinconveniencethismaycause.
ProductsandSerialNumberCrossReference
ProductNumber
J9145AHP291024GalSwitch
J9146AHP291024GPoE+alSwitch
J9147AHP291048GalSwitch
J9148AHP291048GPoEalSwitch

StartingSerialNumber
Allserialnumbersbelow
Allserialnumbersbelow
Allserialnumbersbelow
Allserialnumbersbelow

EndingSerialNumber
SG023IHxxx
SG023IQxxx
SG023IJxxx
SG023IKxxx

RESOLUTION
Theresolutionforthisissuevaries,dependingontheswitchstateatthetimeofresolution.
Iftheswitchisupandrunningproperly(evenifitbooteduptoprimarywhenitshouldhavebootedtosecondary),youhaveachoiceofsoftware
managementoptions.Moredetailabouteachoftheseoptionsfollows.
Option1(recommended):Updateandbootintoaswitchsoftwareversionwhichautomaticallyremovestheextraneous
files.Thisoptionisaseasyasasoftwareupdate,butdoesrequireareboot.
Option2:Runashowtechcustomscripttoremovethefiles.Thisoptionislikelybetterforthosecustomersthat
wouldliketoavoidarebootoftheswitch.
Option1:Updatesoftwaretooneoftheversionslistedinthe"DownloadableSolutions"sectionbelow.
Option2:HPhasprovidedascriptthatcanberunbytheswitchadministratorusingtheshowtechcustomcommand.Thisscriptwilldeletethefile(s)
anddirectorylocatedonthecompactflash.Theoperationoftheswitchisnotimpacted.
DownloadtheCompactFlashCleanupfilefromtheappropriatelinkintheDownloadableSolutionssectionbelow.
Extractthefilewhichconsistsofthetrash.nebekershowtechcustomscript,andinstructions.Followthe
instructionsforrunningthescripttoremovetheunneededfiles(ignorethedownloadinstructionsasyouhave

http://h20564.www2.hp.com/hpsc/doc/public/display?docId=c03394761

1/2

6/1/2015
alreadydownloadedthefile).
Iftheswitchhasalreadyfailedtorebootorfailedonsoftwareupdate:Youwillbeatthebootpromptasshownin
theexamplebelow.Youmustmanuallydeletesomefilestofreeupenoughspacefortheswitchtobootandthenexecute
eitheroption1or2,outlinedabove.Ifyouareuncomfortablefollowingthisprocedure,pleasecontacttechnical
supportforassistance.
1. Listthecontentofflashwiththecommandlshwcfa0asshownbelow:
=>lshwcfa0btm.swisecondary.swiboot.inicfg/autorun/ssh/rbtcntiflagsssl/mgrinfo.txtbtm.swi_$TmP$
secondary.swi_$TmP$
2. Deleteanyfilesendingwith$TmP$asfollows:
=>rmcfa0/btm.swi_$TmP$=>rmcfa0/secondary.swi_$TmP$
Runtheabovecommandsdependingonfilespresent.ThesearethefilesremainingfromTFTPtransfersthat
failedduetoinsufficientspace.
3. Deletetheboot.inifile:
=>rmcfa0/boot.ini
Deletingtheboot.inifilewillresultinanewboot.inibeingcreatedwhenduringthenextstep.
4. BootintoprimaryimagefileusingthebootROMcommandjp1thenproceedrunningtheshowtechcustomscript
asdescribedabove.
=>jp1
DownloadableSolutions
ProductNumber
DownloadableFile
J9145AHP291024GalSwitches
W.15.08.0012ornewer
J9146AHP291024GPoE+alSwitches
J9147AHP291048GalSwitches
J9148AHP291048GPoEalSwitches

Location
J9145AMyNetworkingdownloads
J9146AMyNetworkingdownloads
J9147AMyNetworkingdownloads
J9148AMyNetworkingdownloads

HardwarePlatformsAffected:HP2910alSwitchSeries
ComponentsAffected:NotApplicable
OperatingSystemsAffected:NotApplicable
SoftwareAffected:NotApplicable
ThirdPartyProductsAffected:NotApplicable
SupportCommunicationCrossReferenceID:IA03381127

REVISIONHISTORY
08/14/2014UpdatedOption2intheResolutionsection.
Copyright2014HewlettPackardDevelopmentCompany,L.P.
HewlettPackardCompanyshallnotbeliablefortechnicaloreditorialerrorsoromissionscontainedherein.Theinformationprovidedis
provided"asis"withoutwarrantyofanykind.Totheextentpermittedbylaw,neitherHPoritsaffiliates,subcontractorsorsuppliers
willbeliableforincidental,specialorconsequentialdamagesincludingdowntimecostlostprofitsdamagesrelatingtotheprocurement
ofsubstituteproductsorservicesordamagesforlossofdata,orsoftwarerestoration.Theinformationinthisdocumentissubjectto
changewithoutnotice.HewlettPackardCompanyandthenamesofHewlettPackardproductsreferencedhereinaretrademarksofHewlett
PackardCompanyintheUnitedStatesandothercountries.Otherproductandcompanynamesmentionedhereinmaybetrademarksoftheir
respectiveowners.

http://h20564.www2.hp.com/hpsc/doc/public/display?docId=c03394761

2/2

You might also like