« Back to Technical Questions

Series 2900: ISM: Service Module is trying to recover from reset/shutdown

Combination View Flat View Tree View
Hi !
 
I tried to build a user defined linux ( Ubuntu 8.0.4 server ) package for the ISM on 2900 Series Router.
 
When i try to upload the package with the following command:
 
router1-cisco#service-module ism0/0 install url ftp://ftp:ftp@192.168.99.161/diva4/cisco/diva4_ubuntu/ubuntu-proj/pkg/Ubuntu.1.0.0.pkg
 
i get the errror message:
 
%Error: Couldn't open ftp://ftp:ftp@192.168.99.161/diva4/cisco/diva4_ubuntu/ubuntu-proj/pkg/Ubuntu.1.0.0.pkg.install.sre
 
before i tried to install, service-module status said:
 

router1-cisco#service-module ISM0/0 status 
Service Module is Cisco ISM0/0
Service Module supports session via TTY line 195
Service Module is failed
Service Module heartbeat-reset is enabled
Service Module is in fail open
Service Module status is not available
No install/uninstall in progress
 
than i tried a router1-cisco#service-module ISM0/0 reset  


now the message is 



router1-cisco#service-module ISM0/0 status 
Service Module is Cisco ISM0/0
Service Module supports session via TTY line 195
Service Module is trying to recover from error
Service Module heartbeat-reset is enabled
Service Module is in fail open
Service Module status is not available
No install/uninstall in progress



and the status "trying to recover from error" is not going away.


What i am doing wrong ?


Kind regards


 Andreas




PS:


service-moudke ism0/0 seesion givs the following result:



router1-cisco#service-module ism0/0 session 
Trying 10.10.1.90, 2195 ... Open


DDR Memory 0512 MB detected
Genuine Intel(R) processor              1.06GHz
BIOS ISM 2.6,  BIOS Build date: 10/16/2009
System now booting...


 
Authenticating boot loader....   




Secondary Boot Loader authenticated - booting....   






Please enter '***' to change boot configuration: 


Detect and Initialze network device




Backup current platform configurations....


SRE step 1 - SM registration...


Response - no installation needed (len: 422) 


SRE Installation Not Needed
Loading disk:/bzImage ... done.
Unable to load image
Unable to boot image








Initializing memory. Please wait...
Memory initialization OK. Continue...
DDR Memory 0512 MB detected
Genuine Intel(R) processor              1.06GHz
BIOS ISM 2.6,  BIOS Build date: 10/16/2009
System now booting...


 
Authenticating boot loader....   




Secondary Boot Loader authenticated - booting....   






Please enter '***' to change boot configuration: 
***


 ServicesEngine Bootloader Version : 2.1.18




ServicesEngine boot-loader> ?                                                  
Available commands: 
boot  -  boot from specified src
show  -  show logs or config
config  -  configure various params
help  -  commands/options available
ping  -  ping an ip addr
reboot  -  reboot
verify  -  verify software versions
install_key  -  downloads key file from tftp server and burns into flash

Hi Andreas,

Currently only installing AXP from IOS is supported, so you cannot install an application from IOS.  You have two choices to install this package.  Note I am assuming AXP 1.5.3 but AXP 1.5.x will work.

Option 1:  Bundle Ubuntu with AXP (recommended)
1.  In the AXP SDK, run the file tools/pkg_bundle.sh.  Use this to bundle Ubuntu with AXP.
    a.  Note it will ask you for the location of the SRE files.  This is a directory that contains the following files (assuming AXP 1.5.3.)  These files must be contained in the same directory.
        axp-k9.sme.1.5.3.key
        axp-k9.sme.1.5.3.pkg.install.sre
        axp-k9.sme.1.5.3.pkg.install.sre.header
        axp-helper-k9.sme.1.5.3
    b.  The pkg_bundle.sh tool will ask you for the location of source packages.  Provide your Ubuntu package first, then AXP.  Your Ubuntu package is Ubuntu.1.0.0.pkg that you generated using pkg_build.shThe AXP package is axp-k9.sme.1.5.3.pkg.
 
2.  When the bundling tool finishes, you will see the following line:
        Generating tarball of SRE files:  <name>
    This is a tarball of all the necessary files for an install from IOS.  Untar this file into a location on your FTP server.
    tar zxvf <file generated by pkg_bundle.sh> /my_ftp_server/AXP_with_Ubuntu
 
3.  Re-run the install command from IOS.
        service-module ism0/0 install url ftp://<location of new package file>
 
4.  Once the install is complete, both AXP and Ubuntu will be installed.
 
 
Option 2:  Install AXP first, then install Ubuntu
1.  Copy all of the necessary AXP files into the same directory on your FTP server.  For example,
    cp axp-helper-k9.sme.1.5.3 axp-installer-k9.sme.1.5.3.prt1 axp-k9.sme.1.5.3.key axp-k9.sme.1.5.3.pkg axp-k9.sme.1.5.3.pkg.install.sre axp-k9.sme.1.5.3.pkg.install.sre.header axp-k9.sme.1.5.3.prt1 axp-timezone.sme.1.5.3.pkg axp-timezone.sme.1.5.3.prt1 /my_ftp_server/AXP_1_5_3
 
2.  Issue the install command from IOS.  For example,
    service-module ism0/0 install url ftp://<ip of FTP server>/AXP_1_5_3/axp-k9.sme.1.5.3.pkg
 
3.  Session into the AXP blade
    service-module ism0/0 session
 
4.  Once the install is complete, you will see an AXP prompt.  Install Ubuntu.
    software install package url ftp://192.168.99.161/diva4/cisco/diva4_ubuntu/ubuntu-proj/pkg/Ubuntu.1.0.0.pkg username ftp password ftp
 
5.  The blade will reboot and Ubuntu will be installed on AXP.
 
 
Hope this helps,
 
-Carl

It seems ISM is currently blank. You should first install AXP software version (1.5.3) on it and then install your application.



Thanks,



Anurag Gurtu, CISSP





From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
Sent: Monday, July 12, 2010 3:49 AM
To: cdicuser@developer.cisco.com
Subject: New Message from Andreas Dunke in Application eXtension Platform (AXP) - Technical Questions: Series 2900: ISM: Service Module is trying to recover from reset/shutdown



Andreas Dunke has created a new message in the forum "Technical Questions":
--------------------------------------------------------------
Hi !

I tried to build a user defined linux ( Ubuntu 8.0.4 server ) package for the ISM on 2900 Series Router.

When i try to upload the package with the following command:

router1-cisco#service-module ism0/0 install url ftp://ftp:ftp@192.168.99.161/diva4/cisco/diva4_ubuntu/ubuntu-proj/pkg/Ubuntu.1.0.0.pkg

i get the errror message:

%Error: Couldn't open ftp://ftp:ftp@192.168.99.161/diva4/cisco/diva4_ubuntu/ubuntu-proj/pkg/Ubuntu.1.0.0.pkg.install.sre

before i tried to install, service-module status said:


router1-cisco#service-module ISM0/0 status
Service Module is Cisco ISM0/0
Service Module supports session via TTY line 195
Service Module is failed
Service Module heartbeat-reset is enabled
Service Module is in fail open
Service Module status is not available
No install/uninstall in progress

than i tried a router1-cisco#service-module ISM0/0 reset


now the message is



router1-cisco#service-module ISM0/0 status
Service Module is Cisco ISM0/0
Service Module supports session via TTY line 195
Service Module is trying to recover from error
Service Module heartbeat-reset is enabled
Service Module is in fail open
Service Module status is not available
No install/uninstall in progress



and the status "trying to recover from error" is not going away.


What i am doing wrong ?


Kind regards


Andreas




PS:


service-moudke ism0/0 seesion givs the following result:



router1-cisco#service-module ism0/0 session
Trying 10.10.1.90, 2195 ... Open


DDR Memory 0512 MB detected
Genuine Intel(R) processor 1.06GHz
BIOS ISM 2.6, BIOS Build date: 10/16/2009
System now booting...



Authenticating boot loader....




Secondary Boot Loader authenticated - booting....






Please enter '***' to change boot configuration:


Detect and Initialze network device




Backup current platform configurations....


SRE step 1 - SM registration...


Response - no installation needed (len: 422)


SRE Installation Not Needed
Loading disk:/bzImage ... done.
Unable to load image
Unable to boot image








Initializing memory. Please wait...
Memory initialization OK. Continue...
DDR Memory 0512 MB detected
Genuine Intel(R) processor 1.06GHz
BIOS ISM 2.6, BIOS Build date: 10/16/2009
System now booting...



Authenticating boot loader....




Secondary Boot Loader authenticated - booting....






Please enter '***' to change boot configuration:
***


ServicesEngine Bootloader Version : 2.1.18




ServicesEngine boot-loader> ?
Available commands:
boot - boot from specified src
show - show logs or config
config - configure various params
help - commands/options available
ping - ping an ip addr
reboot - reboot
verify - verify software versions
install_key - downloads key file from tftp server and burns into flash
--
To respond to this post, please click the following link:
<http://developer.cisco.com/web/axp/forums/-/message_boards/message/2348108>
or simply reply to this email.