Can't find what you need?


• Ask the Community
• Create a Case
Reset Search
 

 

Article

Switch throws error “Input/Output error” while saving configuration and logs showing "Error -12 writing Node Config to Flash"

« Go Back

Information

 
TitleSwitch throws error “Input/Output error” while saving configuration and logs showing "Error -12 writing Node Config to Flash"
Symptoms
  • While saving switch configuration it throws error stating “Input/Output error” and below error message in switch logs:

-> show log
11/23/2016 16:32:39.87 <Erro:Kern.Card.Error> Slot-1: FAT: FAT read failed (blocknr 2)
11/23/2016 16:32:39.87 <Erro:Kern.Card.Error> Slot-1: hda: drive not ready for command
11/23/2016 16:32:39.87 <Erro:Kern.Card.Error> Slot-1: end_request: I/O error, dev hda, sector 771185
11/23/2016 16:32:39.82 <Erro:Kern.Card.Error> Slot-1: hda: drive not ready for command
11/23/2016 16:32:39.77 <Erro:Kern.Card.Error> Slot-1: Previous message repeated 8 additional times in the last 1 second(s)
11/23/2016 16:32:39.77 <Erro:Kern.Card.Error> Slot-1: end_request: I/O error, dev hda, sector 771343
11/23/2016 16:32:39.77 <Erro:Kern.Card.Error> Slot-1: hda: drive not ready for command
11/23/2016 16:32:39.77 <Erro:Kern.Card.Error> Slot-1: end_request: I/O error, dev hda, sector 771185
11/23/2016 16:32:16.29 <Info:AAA.authPass> Slot-1: Login passed for user admin through telnet (10.10.0.125)
11/23/2016 16:27:27.27 <Noti:DM.Notice> Slot-1: Setting hwclock time to system time, and broadcasting time
 
11/23/2016 12:08:13.49 <Crit:cm.file.openErr> Slot-1: Failed to open file "/config/HMRP_V2.cfg": Input/output error
11/23/2016 12:08:09.32 <Warn:DM.Warning> Slot-1: Error -12 writing Node Config to Flash
11/23/2016 12:06:13.16 <Crit:cm.file.openErr> Slot-1: Failed to open file "/config/HMRP_v1.cfg": Input/output error
11/23/2016 12:06:09.08 <Warn:DM.Warning> Slot-1: Error -12 writing Node Config to Flash
11/23/2016 11:58:23.59 <Noti:DM.Notice> Slot-1: Setting hwclock time to system time, and broadcasting time

-> ls internal-memory 
drwxr-xr-x    2 root     root         2048 Nov 17 23:31 dhcp
1K-blocks      Used Available Use%
df: /scratch: Input/output error



 
Environment
  • Summit X440-48t

  • EXOS 16.1.4.2-patch1-3

Cause
  • The reported error code “-12”, we are suspecting that the switch somehow unaware of the presence/type of exosNVRAM file in the switch. This could be due to possible corruption in environmental variable occurred during boot-up state.  

  • We can try collecting the exosNVRAM file from debug mode with help of GTAC, if we may get error such that the operation might fail. If we can collect the file using mentioned steps without any error, we can investigate the file further to confirm if it is EEPROM corrupted or not. 

  • If we face any issues in getting the file out of the switch, we may need to reboot the switch to get rid of that state.

Resolution
  • The possible way to recover the switch is “unconfigure switch erase nvram” but we need to configure the switch from scratch after reboot.

“erase nvram - Data in non-volatile memory such as selected configuration, selection image partition, log messages will be overwritten. Switch will boot up with primary image.
Any unsaved configuration changes will be lost and the switch will reboot.”

  • If any further assistance required, please contact GTAC.


 
Additional notes

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255