Fibre Channel (SAN)

Reply
Occasional Contributor
Posts: 5
Registered: ‎12-05-2011

kernel panic after portstatsshow

Hello community,

I have a Brocade 4900 with 64 ports and FOS 6.4.2a.

After entering

portstatsshow -i 0-512 -f

the switch had a kernel panic and rebooted.

I use this command in a script to also analyse some SW48000 and DCX.

Does anyone know if this problem will be fixed in FOS 7 ?

Valued Contributor
Posts: 761
Registered: ‎06-11-2010

Re: kernel panic after portstatsshow

Hi,

can you attach the output of errdump and errdumpall commands, to see if there is any event about the panic.

On the other hand, you can check the Defects fixed in FOS 7.x in each version Release notes.

Occasional Contributor
Posts: 5
Registered: ‎12-05-2011

Re: kernel panic after portstatsshow

Hi,

attached is the errdump output from the relevant date 2012/02/20.

I can't see anythin that brings me further.

Sometimes things are fixed without mention when nobody noticed the mistake.

br

Manfred

Valued Contributor
Posts: 761
Registered: ‎06-11-2010

Re: kernel panic after portstatsshow

nope, errdump doesn't show any useful info. Maybe with errdumpall (root access required) we'll be more lucky.

Super Contributor
Posts: 635
Registered: ‎04-12-2010

Re: kernel panic after portstatsshow

Hi,

my guess is that the used range is causing your issue. I would suggest that you add your script a function to query the switch typ and run then portstatsshow -i 0-63 on this kind of switch.

Andreas

Occasional Contributor
Posts: 5
Registered: ‎12-05-2011

Re: kernel panic after portstatsshow

got some infos from our maintenance partner:

... had contact to Brocade and they have confirm the issue with the portstatsshow command is a known defect.

The defect is listed as

DEFECT000374689

Software 'verify' error detected when portstatsshow was executed with invalid index (999) and the -f option

It is fixed in the next major release ( 7.1.x)

At this point we have no schedule for FOS 7.1.x release.

External Moderator
Posts: 4,933
Registered: ‎02-23-2004

Re: kernel panic after portstatsshow

hi manfred,

--->>> I have a Brocade 4900 with 64 ports and FOS 6.4.2a.

keep in mind, FOS 7.x or higher is not supported on Old 4G Plattforms incl. 4900, 48000 etc.

want to ask, from of you get this info about DEFECT000376141 ?

TechHelp24
New Contributor
Posts: 2
Registered: ‎01-18-2006

Re: kernel panic after portstatsshow

I tested this on a Brocade 300 with FOS . The switch didn't panic but the protstatsshow hangs with high CPU load and it took a while until the command completed.

top - 05:32:43 up 32 days,  7:14,  2 users,  load average: 3.57, 1.45, 0.55
Tasks:  83 total,   7 running,  76 sleeping,   0 stopped,   0 zombie
Cpu(s):  2.7%us, 92.5%sy,  0.0%ni,  0.0%id,  0.0%wa,  4.5%hi,  0.3%si,  0.0%st
Mem:    504348k total,   293888k used,   210460k free,    31296k buffers
Swap:        0k total,        0k used,        0k free,   103356k cached
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                                                                                                        
25678 root      25   0 32776 5892 3788 R 96.6  1.2   0:12.97 portstatsshow     
B300_TEST5E0_01:admin> version
Kernel:     2.6.14.2  
Fabric OS:  v6.4.2a
Made on:    Mon Jul 18 22:27:42 2011
Flash:      Tue Oct 11 11:39:02 2011
BootProm:   1.0.9

.this is sad cause this method to issue the command "portstatsshow -i 0-512 -f" is a good choise to generic script.

I am doing every day a supportsave to the environment and my script parses the supportsave information to avoid self scripted issues to the switches as far as possible.

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.