Frage ist gelöstCisco 3560 Probleme mit dem Flash Speicher
03.02.2012
10:58:13 Uhr512 Aufrufe
7 Antworten
10:58:13 Uhr
7 Antworten
Anspruchsvoll +1
Hallo,
ich habe eine Cisco 3560 auf dem ich Probleme mit dem Flashspeicher habe.
Beim booten hat er aber alles gefunden...
Eine File system Check ist nicht möglich...
booten will ich den Switch sehr ungerne, ich befürchte das er dann Nackt neustartet, da hängt aber ein Produktionslinie dran...
Hat jemand eine Idee was da los ist?
brammer
ich habe eine Cisco 3560 auf dem ich Probleme mit dem Flashspeicher habe.
01.
02.
Test_switch#sh flash 03.
04.
Directory of flash:/ 05.
06.
%Error opening flash:/ (Invalid argument) 07.
08.
No space information available 09.
10.
11.
Test_switch#dir 12.
%Error opening flash:/ (Invalid argument) 13.
Test_switch#Beim booten hat er aber alles gefunden...
01.
02.
Test_switch#sh boot 03.
BOOT path-list : flash:/c3560-ipbasek9-mz.122-44.SE2/c3560-ipbasek9-mz.122-44.SE2.bin 04.
Config file : flash:/config.text 05.
Private Config file : flash:/private-config.text 06.
Enable Break : no 07.
Manual Boot : no 08.
HELPER path-list : 09.
Auto upgrade : yes 10.
Auto upgrade path : 11.
Timeout for Config 12.
Download: 0 seconds 13.
Config Download 14.
via DHCP: disabled (next boot: disabled) 15.
Eine File system Check ist nicht möglich...
01.
02.
Test_switch#fsck 03.
Fsck operation may take a while. Continue? [confirm] 04.
%Error fscking flash: (Device or resource busy) 05.
booten will ich den Switch sehr ungerne, ich befürchte das er dann Nackt neustartet, da hängt aber ein Produktionslinie dran...
Hat jemand eine Idee was da los ist?
brammer
aqui schreibt am 03.02.2012 um 22:10:15 Uhr
Mmmmhhh, worst case wäre das das Flash etwas abbekommen hat. Best Case das es sich aufgehängt hat.
Du musst aber keine Angst haben das der Switch nicht rebootet. Auch wenn das Flash corrupted ist kannst du über den rommon Bootloader immer wieder ein aktuelles Image booten und den Switch wieder Leben einhauchen.
Allerdings bedeutet das dann eine längere Ausfallzeit zum Recover. So oder so ist das angeraten. Spätestens beim nächsten kurzen Stromausfall holt dich das problem ganz schnell wieder ein.
Untersuchen musst du es deshalb schon....
Du musst aber keine Angst haben das der Switch nicht rebootet. Auch wenn das Flash corrupted ist kannst du über den rommon Bootloader immer wieder ein aktuelles Image booten und den Switch wieder Leben einhauchen.
Allerdings bedeutet das dann eine längere Ausfallzeit zum Recover. So oder so ist das angeraten. Spätestens beim nächsten kurzen Stromausfall holt dich das problem ganz schnell wieder ein.
Untersuchen musst du es deshalb schon....
brammer schreibt am 05.02.2012 um 12:56:22 Uhr
Hallo,
@aqui
dann hoffe ich mal auf den Best Case!
Der Switch steht 4000 Km weit weg beim Kunden.
Rebooten wird er, da ist mir klar, aber evtl. ohne IOS und ohne config...
Und dann ist das mit der Erreichbarkeit des Switches so ein Problem, der hängt an einem Trunk hinter einem 881.
Muss einfach abwarten was der Kunde in den nächsten Tagen sagt.
brammer
@aqui
dann hoffe ich mal auf den Best Case!
Der Switch steht 4000 Km weit weg beim Kunden.
Rebooten wird er, da ist mir klar, aber evtl. ohne IOS und ohne config...
Und dann ist das mit der Erreichbarkeit des Switches so ein Problem, der hängt an einem Trunk hinter einem 881.
Muss einfach abwarten was der Kunde in den nächsten Tagen sagt.
brammer
brammer schreibt am 03.04.2012 um 10:42:18 Uhr
Hallo,
der Switch ist jetzt getauscht, Gerät liegt hier bei mir auf dem Tisch.
Die selben Symptome...
Allerdings startet der Switch ohne Probleme, nur anstatt der üblichen 2 minuten braucht er etwa 5 minuten.
brammer
der Switch ist jetzt getauscht, Gerät liegt hier bei mir auf dem Tisch.
Die selben Symptome...
Allerdings startet der Switch ohne Probleme, nur anstatt der üblichen 2 minuten braucht er etwa 5 minuten.
01.
Base ethernet MAC Address: 00:23:34:21:8c:00 02.
Xmodem file system is available. 03.
The password-recovery mechanism is enabled. 04.
Initializing Flash... 05.
flashfs[0]: 354 files, 6 directories 06.
flashfs[0]: 0 orphaned files, 0 orphaned directories 07.
flashfs[0]: Total bytes: 32514048 08.
flashfs[0]: Bytes used: 32514048 09.
flashfs[0]: Bytes available: 0 10.
flashfs[0]: flashfs fsck took 102 seconds. 11.
...done Initializing Flash. 12.
Boot Sector Filesystem (bs) installed, fsid: 3 13.
done. 14.
Loading "flash:/c3560-ipbasek9-mz.122-44.SE2/c3560-ipbasek9-mz.122-44.SE2.bin"...@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@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@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 15.
File "flash:/c3560-ipbasek9-mz.122-44.SE2/c3560-ipbasek9-mz.122-44.SE2.bin" uncompressed and installed, entry point: 0x3000 16.
executing... 17.
18.
Restricted Rights Legend 19.
20.
Use, duplication, or disclosure by the Government is 21.
subject to restrictions as set forth in subparagraph 22.
(c) of the Commercial Computer Software - Restricted 23.
Rights clause at FAR sec. 52.227-19 and subparagraph 24.
(c) (1) (ii) of the Rights in Technical Data and Computer 25.
Software clause at DFARS sec. 252.227-7013. 26.
27.
cisco Systems, Inc. 28.
170 West Tasman Drive 29.
San Jose, California 95134-1706 30.
31.
32.
33.
Cisco IOS Software, C3560 Software (C3560-IPBASEK9-M), Version 12.2(44)SE2, RELEASE SOFTWARE (fc2) 34.
Copyright (c) 1986-2008 by Cisco Systems, Inc. 35.
Compiled Thu 01-May-08 15:28 by antonino 36.
Image text-base: 0x00003000, data-base: 0x01600000 37.
38.
Initializing flashfs... 39.
40.
flashfs[1]: 354 files, 6 directories 41.
flashfs[1]: 0 orphaned files, 0 orphaned directories 42.
flashfs[1]: Total bytes: 32514048 43.
flashfs[1]: Bytes used: 32514048 44.
flashfs[1]: Bytes available: 0 45.
flashfs[1]: flashfs fsck took 100 seconds. 46.
flashfs[1]: Initialization complete....done Initializing flashfs. 47.
48.
POST: CPU MIC register Tests : Begin 49.
POST: CPU MIC register Tests : End, Status Passed 50.
51.
POST: PortASIC Memory Tests : Begin 52.
POST: PortASIC Memory Tests : End, Status Passed 53.
54.
POST: CPU MIC interface Loopback Tests : Begin 55.
POST: CPU MIC interface Loopback Tests : End, Status Passed 56.
57.
POST: PortASIC RingLoopback Tests : Begin 58.
POST: PortASIC RingLoopback Tests : End, Status Passed 59.
60.
POST: PortASIC CAM Subsystem Tests : Begin 61.
POST: PortASIC CAM Subsystem Tests : End, Status Passed 62.
63.
POST: PortASIC Port Loopback Tests : Begin 64.
POST: PortASIC Port Loopback Tests : End, Status Passed 65.
66.
Waiting for Port download...Complete 67.
68.
69.
This product contains cryptographic features and is subject to United 70.
States and local country laws governing import, export, transfer and 71.
use. Delivery of Cisco cryptographic products does not imply 72.
third-party authority to import, export, distribute or use encryption. 73.
Importers, exporters, distributors and users are responsible for 74.
compliance with U.S. and local country laws. By using this product you 75.
agree to comply with applicable laws and regulations. If you are unable 76.
to comply with U.S. and local laws, return this product immediately. 77.
78.
A summary of U.S. laws governing Cisco cryptographic products may be found at: 79.
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html 80.
81.
If you require further assistance please contact us by sending email to 82.
export@cisco.com. 83.
84.
cisco WS-C3560-24TS (PowerPC405) processor (revision E0) with 0K/8184K bytes of memory. 85.
Processor board ID FDO1236Y0LZ 86.
Last reset from power-on 87.
1 Virtual Ethernet interface 88.
24 FastEthernet interfaces 89.
2 Gigabit Ethernet interfaces 90.
The password-recovery mechanism is enabled. 91.
92.
512K bytes of flash-simulated non-volatile configuration memory. 93.
Base ethernet MAC Address : 00:23:34:21:8C:00 94.
Motherboard assembly number : 73-9897-06 95.
Power supply part number : 341-0097-02 96.
Motherboard serial number : FDO12350Y0Z 97.
Power supply serial number : DCA122988G3 98.
Model revision number : E0 99.
Motherboard revision number : B0 100.
Model number : WS-C3560-24TS-S 101.
System serial number : FDO1236Y0LZ 102.
Top Assembly Part Number : 800-26160-02 103.
Top Assembly Revision Number : E0 104.
Version ID : V02 105.
CLEI Code Number : COMMG00ARB 106.
Hardware Board Revision Number : 0x01 107.
108.
109.
Switch Ports Model SW Version SW Image 110.
------ ----- ----- ---------- ---------- 111.
* 1 26 WS-C3560-24TS 12.2(44)SE2 C3560-IPBASEK9-M 112.
113.
114.
% There may not be enough space available to collect the complete crashinfo 115.
% It would be advisable to have 282836 bytes free space on flash:crashinfo 116.
117.
118.
Press RETURN to get started! 119.
120.
121.
*Mar 1 00:02:02.473: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down 122.
*Mar 1 00:02:03.715: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan 123.
000003: *Mar 1 01:02:06.047: %SYS-6-CLOCKUPDATE: System clock has been updated from 00:02:06 UTC Mon Mar 1 1993 to 01:02:06 EET Mon Mar 1 1993, configured from console by console. 124.
000004: *Mar 1 01:02:06.718: %SYS-5-CONFIG_I: Configured from memory by console 125.
000005: *Mar 1 01:02:07.582: %SYS-5-RESTART: System restarted -- 126.
Cisco IOS Software, C3560 Software (C3560-IPBASEK9-M), Version 12.2(44)SE2, RELEASE SOFTWARE (fc2) 127.
Copyright (c) 1986-2008 by Cisco Systems, Inc. 128.
Compiled Thu 01-May-08 15:28 by antonino 129.
130.
131.
132.
K597381-SWIK221#sh flash% Generating 1024 bit RSA keys, keys will be non-exportable... 133.
134.
Directory of flash:/ 135.
136.
2 -rwx 3096 Mar 1 1993 22:15:36 +01:00 multiple-fs 137.
3 drwx 192 Mar 1 1993 01:13:48 +01:00 c3560-ipbasek9-mz.122-44.SE2 138.
5 -rwx 4096 Mar 1 1993 01:12:08 +01:00 multiple-fs.new 139.
6 -rwx 7346 Mar 1 1993 22:15:36 +01:00 config.text 140.
814 -rwx 684 Mar 1 1993 01:01:41 +01:00 vtp.dat 141.
815 -rwx 564 Mar 1 1993 01:01:40 +01:00 vlan.dat 142.
7 -rwx 0 Mar 1 1993 01:10:49 +01:00 config.text.new 143.
817 -rwx 21566976 Mar 1 1993 01:02:09 +01:00 logging_errors.txt 144.
145.
32514048 bytes total (0 bytes free) 146.
K597381-SWIK221# 147.
K597381-SWIK221# 148.
K597381-SWIK221# 149.
K597381-SWIK221#[OK] 150.
logo 151.
000006: *Mar 1 01:02:28.277: %SSH-5-ENABLED: SSH 2.0 has been enabled 152.
000007: *Mar 1 01:02:29.778: %PKI-6-AUTOSAVE: Running configuration saved to NVRA 153.
K597381-SWIK221# 154.
Error writing new config file "flash:/config.text.new" 155.
Error writing new config file "flash:/private-config.text.new" 156.
flashfs[1]: erasing block, flash handle 0x22D2E8C, device 0, offset 0x13A0000: Poll Timeout 157.
flashfs[1]: writing to flash handle 0x22D2E8C, device 0, offset 0x15E0000, length 0x208: Illegal Operation -- setting bit(s) with write operation 158.
flashfs[1]: sector ptr: {0xAF, 0x76} 159.
flashfs[1]: filesystem marked down. Use "fsck" to recover. 160.
Error writing new block-fs file "flash:/multiple-fs.new" 161.
K597381-SWIK221#fsck 162.
Fsck operation may take a while. Continue? [confirm] 163.
%Error fscking flash: (Device or resource busy) 164.
K597381-SWIK221# 165.
166.
167.
Initializing Flash... 168.
flashfs[0]: sector 118, block 15 checksum (0x321f != 0xe2f0) 169.
flashfs[0]: Checking block 157...bad block number (-1) 170.
flashfs[0]: erasing block 157...done. 171.
172.
Initializing Flash... 173.
flashfs[0]: sector 118, block 15 checksum (0x321f != 0xe2f0) 174.
flashfs[0]: Checking block 157...bad block number (-1) 175.
flashfs[0]: erasing block 157...done. 176.
01.
Test_Switch#sh flash 02.
03.
Directory of flash:/ 04.
05.
%Error opening flash:/ (Invalid argument) 06.
07.
No space information available 08.
09.
Test_Switch#wr me 10.
Building configuration... 11.
12.
nv_done: unable to open "flash:/config.text.new" 13.
nv_done: unable to open "flash:/private-config.text.new" 14.
nv_done: unable to open "flash:/multiple-fs.new"[OK] 15.
16.
brammer
brammer schreibt am 04.04.2012 um 12:24:59 Uhr
Hallo aqui,
geht nicht...
Squeeze sollte aber ab Version 12.2(1) funktionieren.
Ich werde mal versuchen ob ich per tftp eine neuere IOS version auf den switch bekomme.
brammer
geht nicht...
01.
02.
Test_Switch#squeeze flash 03.
^ 04.
% Invalid input detected at '^' marker. 05.
06.
Test_Switch#sh ver 07.
Cisco IOS Software, C3560 Software (C3560-IPBASEK9-M), Version 12.2(44)SE2, RELEASE SOFTWARE (fc2)Squeeze sollte aber ab Version 12.2(1) funktionieren.
Ich werde mal versuchen ob ich per tftp eine neuere IOS version auf den switch bekomme.
brammer
brammer schreibt am 10.04.2012 um 17:35:36 Uhr
Hallo,
so ich habe den Switch wieder in Griff bekommen.
Im ROM mode habe ich den Flash neu initialisieren lassen dabei wurde ein paar defekte Sektoren ausgespart.
Danach konnte ich auch auf den Switch normal zu greifen.
Interessant war die logging_errors.txt. Die war auf 20.5 MB angewachsen
Die beinhaltete fast 140.000 Zeilen .
Eine Siemens MAC Adresse...
Nach dem Löschen der Datei lief der Switch wieder komplett normal
brammer
so ich habe den Switch wieder in Griff bekommen.
Im ROM mode habe ich den Flash neu initialisieren lassen dabei wurde ein paar defekte Sektoren ausgespart.
Danach konnte ich auch auf den Switch normal zu greifen.
Interessant war die logging_errors.txt. Die war auf 20.5 MB angewachsen
Die beinhaltete fast 140.000 Zeilen .
01.
000657: *Mar 10 00:52:45.200: %PORT_SECURITY-2-PSECURE_VIOLATION: Security violation occurred, caused by MAC address 000e.8cxx.xxxx on port FastEthernet0/4.Nach dem Löschen der Datei lief der Switch wieder komplett normal
brammer
aqui schreibt am 13.04.2012 um 10:10:13 Uhr










