Discussion:
unknown
1970-01-01 00:00:00 UTC
Permalink
Have someone fixed this?

Else this will add some more info for sup-2t:s

$ diff -c rancid.in_ORG-2.3.8 rancid
*** rancid.in_ORG-2.3.8 2012-01-31 23:55:13.000000000 +0100
--- rancid 2013-06-21 11:17:26.899859733 +0200
***************
*** 301,306 ****
--- 336,353 ----
}
$_ = <INPUT>;
}
+ if ($cpu =~ /M8572/) {
+ if (defined($cpu)) {
+ s/^ CPU://;
+ ProcessHistory("COMMENTS","keysort","A3", "!CPU: $cpu, $_");
+ }
+ LINE: while (<INPUT>) {
+ last LINE if /^\s*$/;
+ ProcessHistory("COMMENTS","keysort","A3", "!CPU: $_");
+ last LINE if /^\s*I-cache/;
+ }
+ undef ($cpu);
+ }
$_ = "" if (! /(cpu at |processor: |$cpu processor,)/i);
tr/\015//d;
s/implementation/impl/i;
***************

Yes it's multiple lines in "show version" for sup-2t.
Don't know if it safe to exit while loop on "I_cache" or "empty" line after.
Left both if something change.
Does this lines need a more strict match?


diff from one of our sup-2t:s
4c4,8
< !CPU: M8572
---
!CPU: M8572, MPC8572_E, Version: 2.1, (0x80E80021)
!CPU: CORE: E500, Version: 3.0, (0x80210030)
!CPU: CPU:1500MHz, CCB:600MHz, DDR:600MHz
!CPU: L1: D-cache 32 kB enabled
!CPU: I-cache 32 kB enabled
/Peo
----------------------------------------------------------
Per-Olof Olsson Email: ***@chalmers.se
Chalmers tekniska högskola IT-service
Hörsalsvägen 5 412 96 Göteborg
Tel: 031/772 6738 Fax: 031/772 8680
----------------------------------------------------------

Loading...