[Cisco 836] flash corrupt?

Pagina: 1
Acties:
  • 168 views sinds 30-01-2008
  • Reageer

  • Mesjefskie
  • Registratie: Augustus 2004
  • Laatst online: 23-09-2025

Mesjefskie

If it works, it's true!

Topicstarter
Dames en Heren,

Ik heb geprobeerd een nieuwe IOS versie te laden in mijn router. Op een zeker punt wordt er aangegeven in de handleiding dat je het flash geheugen moet leeggooien:

code:
1
10.10.10.1#erase flash:1


Dat gaat als vanzelf. Daarna echter wordt mij verzocht om het flash geheugen te 'squeezen'. Dit gaat minder als vanzelf. Ik krijg de volgende error:

code:
1
2
3
4
5
6
10.10.10.1#squeeze flash:1:
Squeeze operation may take a while. Continue? [confirm]yFirst create squeeze log
 by erasing the entire device

%Error squeezing flash:1 (Missing or corrupted log)
10.10.10.1#


Ik heb wat rond gegoogled maar de enige oplossing voor dit probleem die ik heb gevonden schrijft voor dat ik alles van het flash 'erase', vervolgens te 'squeezen' en dan alles erop te zetten en dan weer te 'squeezen': link
Uiteraard werkt dit niet want ik erase ook eerst het gehele flash voordat ik probeer te 'squeezen'. Iemand enig idee hoe dit probleem te verhelpen?

Wat info van de router:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Cisco IOS Software, C836 Software (C836-K9O3S8Y6-M), Version 12.3(4)T11, RELEASE SOFTWARE (fc1)

Cisco C836 (MPC857T) processor (revision 0x200) with 44237K/4915K bytes of memory.
Processor board ID AMB07190G8B (3568208353), with hardware revision 0000
CPU rev number 7
1 Ethernet interface
1 ISDN Basic Rate interface
1 ATM interface
128K bytes of NVRAM.
10240K bytes of processor board System flash partition 1 (Read/Write)
2048K bytes of processor board System flash partition 2 (Read/Write)
2048K bytes of processor board Web flash (Read/Write)

Configuration register is 0x2102

Thomas

  • Drareg
  • Registratie: Februari 2004
  • Laatst online: 05-06-2025
Het doet mij hieraan denken,
het is dan wel geen 2600 maar het probleem lijkt hetzelfde:
The squeeze command does not work on a Cisco 2600 or 3600

  • Eboman
  • Registratie: Oktober 2001
  • Laatst online: 14:02

Eboman

Ondertitel

^^ die hierboven dus

het gaat over een andere ios en router maar bij tac staat deze procedure, probeer deze eens :

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
Title   The squeeze command does not work on a Cisco 2600 or 3600 series router with Cisco IOS® Software version 12.2. User receives the %Error squeezing flash: error message
Core Issue  The Cisco 2600 and 3600 series routers do not support the squeeze command in Cisco IOS Software versions earlier than 12.2(1). Cisco IOS Software versions 12.2(1) and later do support the command. However, for the command to work, the Flash must first be erased while the Cisco IOS Software version 12.2 is running on the router. This is because an erase performed on the Cisco IOS Software version 12.2 creates a squeeze log. The squeeze log is not created if the Flash is erased on a Cisco IOS Software version earlier than 12.2.

The error appears similar to this:

2651#squeeze flash:
Squeeze operation may take a while. Continue? [confirm]
%Error squeezing flash ()
2651# first create squeeze log by erasing the entire device

Resolution  To enable the squeeze operation to function properly, perform these steps:

   1. Verify that the router is running Cisco IOS Software version 12.2 by issuing the show version command, as follows:

      router#show version
      Cisco Internetwork Operating System Software
      IOS (tm) C2600 Software (C2600-I-M), Version 12.2(8)T5, RELEASE SOFTWARE (fc1)
      TAC Support: 
      Copyright (c) 1986-2002 by Cisco Systems, Inc.
      Compiled Fri 21-Jun-02 08:50 by ccai
      Image text-base: 0x80008074, data-base: 0x80A2BD40

      ROM: System Bootstrap, Version 12.2(7r) [cmong 7r], RELEASE SOFTWARE (fc1)

      morannon uptime is 5 days, 1 hour, 27 minutes
      System returned to ROM by power-on
      System image file is "flash:c2600-i-mz.122-8.T5.bin"

   2. Set up a TFTP server, and back up the Cisco IOS Software file to the TFTP server (if you do not already have a copy of the file). This is done by issuing the copy flash tftp command.

      For more information on this, refer to the Copying an Image from Flash Memory to a TFTP Server Example and Copying an Image from a TFTP Server to a Flash Memory File System sections of Loading and Maintaining System Images.
   3. Copy the file back to Flash through TFTP by issuing the copy tftp flash command. Select Yes at the erase option. Refer again to the Copying an Image from a TFTP Server to a Flash Memory File System section of Loading and Maintaining System Images.

      If the erase option is not given during the copy tftp flash command process, erase the Flash device. This is done by issuing the erase flash: command, then issue the copy tftp flash command.

      Note: After erasing the Flash device, do not power cycle or reload the router, until the Cisco IOS Software image is back on the Flash device. Otherwise, it goes to ROM Monitor (ROMmon) mode.
   4. After the Flash has been erased, and the Cisco IOS Software has been copied back to Flash, test the squeeze command functionality. This is done by copying a file to Flash, deleting it, and performing a squeeze.

      This is an example of this, using the running-config file.

         1. Issue the show flash command to verify what files are present on the Flash, as follows:

            2600#show flash

            System flash directory:
            File  Length   Name/status
              1   7031032  c2600-i-mz.122-15.T2.bin
            [7031096 bytes used, 9221832 available, 16252928 total]
            16384K bytes of processor board System flash (Read/Write)

         2. Copy the running configuration to the Flash by issuing the copy running-config flash command, as shown below.

            Note: If you are prompted to erase the Flash (as in this example), type n. Do not press the Enter key, or the Flash and the Cisco IOS Software file will be erased.

            2600#copy running-config flash:
            Destination filename [running-config]?
            Erase flash: before copying? [confirm]n
            Verifying checksum...  OK (0xB839)
            2141 bytes copied in 6.230 secs (344 bytes/sec)

         3. Issue the show flash command again to verify that the newly copied file is in Flash, as shown:

            2600#show flash

            System flash directory:
            File  Length   Name/status
              1   7031032  c2600-i-mz.122-15.T2.bin
              2   2141     running-config
            [7033304 bytes used, 9219624 available, 16252928 total]
            16384K bytes of processor board System flash (Read/Write)

         4. Delete the file, as follows:

             2600#delete flash:running-config
            Delete filename [running-config]?
            Delete flash:running-config? [confirm]

         5. Issue the show flash command again to verify that the file is marked as deleted, as follows:

            2600#show flash

            System flash directory:
            File  Length   Name/status
              1   7031032  c2600-i-mz.122-15.T2.bin
              2   2141     running-config [deleted]
            [7033304 bytes used, 9219624 available, 16252928 total]
            16384K bytes of processor board System flash (Read/Write)

         6. Issue the squeeze flash command, as follows:

            2600#squeeze flash
            Squeeze operation may take a while. Continue? [confirm]
            squeeze in progress... eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
            Rebuild file system directory...
            Squeeze of flash complete

         7. Issue show flash command again to verify that the file is deleted, and that all the space is recovered, as follows:

            2600#show flash

            System flash directory:
            File  Length   Name/status
              1   7031032  c2600-i-mz.122-15.T2.bin
            [7031096 bytes used, 9221832 available, 16252928 total]
            16384K bytes of processor board System flash (Read/Write)

         8. The squeeze operation is verified.

            Note: If the Flash is erased again on a Cisco IOS Software version earlier than 12.2, the squeeze command will not work until the Flash has been erased again on a Cisco IOS Software version of 12.2 or later.

Signature


  • Mesjefskie
  • Registratie: Augustus 2004
  • Laatst online: 23-09-2025

Mesjefskie

If it works, it's true!

Topicstarter
Bedankt voor jullie reacties!
Heb stappen doorlopen met tee verschillende ios versies (Version 12.2(11)YV en 12.2(13)ZH2) maar geen succes --> bij stap 4f gaat het weer mis (zelfde melding)... Ik zag overigens het volgende staan:

code:
1
2
3
10240K bytes of processor board System flash partition 1 (Read/Write)
2048K bytes of processor board System flash partition 2 (Read/Write)
2048K bytes of processor board Web flash (Read/Write)


Kan het zijn dat er iets in die partities zit dat niet goed/goed mis is? Ik weet niet of dit echte partities zijn (zoals een HD) en of / hoe je dat tot één flash partitie kan verbouwen...

  • Eboman
  • Registratie: Oktober 2001
  • Laatst online: 14:02

Eboman

Ondertitel

Signature


  • Mesjefskie
  • Registratie: Augustus 2004
  • Laatst online: 23-09-2025

Mesjefskie

If it works, it's true!

Topicstarter
Yups... dat was 'm!

Eerst de partitie (flash:2) verwijderen en dan de stappen uitvoeren uit de eerdergenoemde link (maar wel config-register op 0x2101 laten staan!)... Daarna config-reg terugzetten naar 0x2102, nieuwe ios erop, SDM installeren op router en gaan...

Aan allen (en Eboman en Drareg in het bijzonder): _/-\o_

[ Voor 5% gewijzigd door Mesjefskie op 06-12-2006 21:36 ]

Pagina: 1