Sun Microsystems, Inc.  Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-77-1000934.1
Update Date:2011-02-25
Keywords:

Solution Type  Sun Alert Sure

Solution  1000934.1 :   On StorEdge 5210/5310 and StorageTek 5220/5320 NAS, a Panic May Occur When Backing Up Directories Containing Long File Names  


Related Items
  • Sun Storage 5210 NAS Appliance
  •  
  • Sun Storage 5220 NAS Appliance
  •  
  • Sun Storage 5310 NAS Appliance
  •  
Related Categories
  • GCS>Sun Microsystems>Sun Alert>Criteria Category>Availability
  •  
  • GCS>Sun Microsystems>Sun Alert>Release Phase>Resolved
  •  

PreviouslyPublishedAs
201250


Product
Sun StorageTek 5310 NAS Appliance
Sun StorageTek 5320 NAS Appliance
Sun StorageTek 5220 NAS Appliance
Sun StorageTek 5210 NAS Appliance

Bug Id
<SUNBUG: 6592230>

Date of Resolved Release
30-OCT-2007

Impact

The NAS head may panic resulting in the NDMP backup job not completing.


Contributing Factors

This issue occurs on the following releases:

  • StorEdge 5210 NAS with patches 118216-12 and 118216-13 and without patch 118216-14
  • StorEdge 5310 NAS with patches 119351-11 and 119351-12 and without patch 119351-13
  • StorageTek 5220 NAS with patches 119353-03 and 119353-04 and without patch 119353-05
  • StorageTek 5320 NAS with patches 119352-06 and 119352-07 and without patch 119352-08

This issue occurs during back up of directories consisting of files with long filenames.

This issue is found in releases 4.21 M0 and 4.21 M1 of the StorageTek NAS OS.

The NAS OS version can be found on the main panel of the Web Admin or by issuing the 'version' command from the console.


Symptoms

The NAS head will panic and reboot. The following can be observed in the "dbglog" file.

     eip 00000000  eflags 00010246 ..R...I..Z.P.  vec 22 Stack overflow
eax 00000000  ebx 00000000  ecx 003D6320  edx 00000000
edi 00000000  esi 00000000  ebp 00000000  esp 104B0050
000000 (bad)

The following stack trace messages have also been observed in the system log.

       08/13/07 11:30:17 I ndmp:
[369][ndmpd_api_file_history_dir_v3:651]:
08/13/07 11:30:17 I ndmp: name
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa ...
08/13/07 11:30:17 I ndmp: [369][ischngd:2039]:
08/13/07 11:30:17 I ndmp: stp is NULL
08/13/07 11:30:17 I isp1: SUSPEND I/O...
08/13/07 11:30:17 I isp2: SUSPEND I/O...
08/13/07 11:30:17 I isp3: SUSPEND I/O...
08/13/07 11:30:17 I isp4: SUSPEND I/O...

 


Workaround

Do not back up directories consisting of files with long filenames until the resolution below can be implemented.


Resolution

This issue is addressed in the following releases:

  • StorEdge 5210 NAS with patch 118216-14 or later
  • StorEdge 5310 NAS with patch 119351-13 or later
  • StorageTek 5220 NAS with patch 119353-05 or later
  • StorageTek 5320 NAS with patch 119352-08 or later

The above patches deliver NAS OS 4.21 M2.  See also, Sun StorageTek NAS OS Administration Guide (819-4284-11) Page 191: Upgrading NAS Software.



References

<SUNPATCH: 118216-14>
<SUNPATCH: 119351-13>
<SUNPATCH: 119353-05>
<SUNPATCH: 119352-08>

Previously Published As
103133
Internal Comments


Release 4.21 M2 (which contains the fix for this issue) has already been posted on sunsolve with the above patch numbers. A new release of 4.21 M2 is in the process of being posted on sunsolve. This release contains the same version of the NAS OS (4.21 M2) but is bundled with a new version of the CSM firmware.



Root Cause -



The cause of the panic is due to a buffer overrun during NDMP_FILE_HISTORY processing.



The code has been modified to prevent overrunning the file name buffer while processing NDMP_FILE_HISTORY.


Internal Contributor/submitter
William.Krier@Sun.COM

Internal Eng Business Unit Group
NWS (Network Storage)

Internal Eng Responsible Engineer
Reza.Sabdar@Sun.COM

Internal Services Knowledge Engineer
karen.edwards@sun.com

Internal Resolution Patches
118216-14, 119351-13, 119353-05, 119352-08

Internal Sun Alert Kasp Legacy ID
103133

Internal Sun Alert & FAB Admin Info
Critical Category: Availability ==> Regression
Significant Change Date: 2007-10-30
Avoidance: Patch
Responsible Manager: Martie.Land@Sun.COM
Original Admin Info: WF 26-Oct-2007 created and will send for review karen. Then i saw this was a patch regression and converted it to a Sun Alert. Releasing.

Internal SA-FAB Eng Submission
-------- Original Message --------
Subject: Draft Field Action Bulletin / Possible NAS panic when backing up directories containing, files with long filenames.
Date: Thu, 25 Oct 2007 14:59:25 -0700
From: William Krier
Reply-To: William.Krier@Sun.COM
To: FAB_Submit@sun.com


Field Action Bulletin (FAB) BLANK Submittal Template

For Preliminary, Non-Hardware and Hardware FABs --

After following instructions for drafting a Field Action Bulletin,
send this ASCII Text filled-in template to:

FAB_Submit@sun.com

The email Subject line should be similar to the following:

Draft Field Action Bulletin / Synopsis ...

---------------------------------------------------------------

Synopsis: Possible NAS panic when backing up directories containing
files with long filenames.


Avoidance:
[ ] Binary
[ ] T-Patch
[ ] Patch
[ ] Firmware
[ ] Hardware
[X] Upgrade
[ ] Workaround
[ ] Reconfiguration
[ ] Service Procedure
[ ] None
[ ] Hardware Replacement (Must follow SMI FCO Process) *

* Note:Please follow the below link for details on how
to submit an FCO;

http://sunwebcollab.central.sun.com/gm/folder-1.11.811470

Implementation:

[X] Reactive (Upon Failure)
[ ] Controlled Proactive (H/W FABs require Customer List and
Customer Letter)
[ ] Mandatory (Requires Customer List and Customer Letter)


Product: (Mktg Part Number / Description)

StorEdge 5210 NAS
StorEdge 5310 NAS
StorageTek 5220 NAS
StorageTek 5320 NAS

Affected X-Options: (Xoption Part Number / Description)

Affected Parts: (FRU/CRU Part Number / Description)


Issue Description:

Impact

The NAS head will panic and reboot and the NDMP backup job
will not complete.

Contributing Factors

The panic will occur if the backup job consists of directories
that contain files with names longer than 255 characters.

Symptoms

The NAS head will panic and reboot. The following has been
observed in the dbglog file.


eip 00000000 eflags 00010246 ..R...I..Z.P. vec 22 Stack overflow
eax 00000000 ebx 00000000 ecx 003D6320 edx 00000000
edi 00000000 esi 00000000 ebp 00000000 esp 104B0050

000000 (bad) FF 0x0

STACK TRACE:

The following messages have also been observed in the system log.

08/13/07 11:30:17 I ndmp: [369][ndmpd_api_file_history_dir_v3:651]:
08/13/07 11:30:17 I ndmp: name "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
08/13/07 11:30:17 I ndmp: [369][ischngd:2039]:
08/13/07 11:30:17 I ndmp: stp is NULL
08/13/07 11:30:17 I isp1: SUSPEND I/O...
08/13/07 11:30:17 I isp2: SUSPEND I/O...
08/13/07 11:30:17 I isp3: SUSPEND I/O...
08/13/07 11:30:17 I isp4: SUSPEND I/O...

Root Cause

The cause of the panic is due to a buffer overrun during
NDMP_FILE_HISTORY processing.

The code has been modified to prevent overrunning the file
name buffer while processing NDMP_FILE_HISTORY.

The issue was resolved with a maintenance release of the
StorageTek NAS OS. (4.21 M2)

Corrective Action:

Supported Workaround (if available)

There is no workaround short of not backing up directories
consisting of files with long filenames.

Final Resolution

Upgrade NAS OS to release 4.21 M2

Sun StorageTek NAS OS Administration Guide (819-4284-11)
Page 191: Upgrading NAS Software

Identification of Affected Parts (how to):

This issue is found in releases 4.21 M0 and 4.21 M1 of the
StorageTek NAS OS.

The NAS OS version can be found on the main panel of the Web
Admin or by issuing the 'version' command from the console.

Hardware Remediation and Material Availability Details:
(For Hardware FABs only)

Not Applicable

Comments:

[List anything specific to this asset that isn't already listed
above.]

References:

* BugID: 6592230
* Escalation ID:
* Sun Alert:
* Pending Patches:
* Resolution Patches: StorageTek 5320 NAS 119352-09
StorageTek 5220 NAS 119353-06
StorEdge 5310 NAS 119351-14
StorEdge 5210 NAS 118216-14
* Other References:
* Reference Manual:
* Related URL(s):
* ECO:
* GSAP:
* WW Stop Ship:
* Radiance ID:

Contacts:

* Contributor:
* Responsible Engineer: Reza.Sabdar@Sun.COM
* Responsible Manager: Martie.Land@Sun.COM
* Business Unit Group:

[ ] SSG WGS (Workgroup Systems)
[ ] SSG NSN (Netra Systems and Networking)
[ ] SSG ES (Enterprise Systems)
[ ] SSG SW (Platform Software)
[ ] SSG PNP (Processor)
[ ] NSG (Network Systems Group)
[X] NWS (Network Storage)
[ ] OP/N1 RPE (Operating Platforms/N1 Revenue Product Engin.)
[ ] JPSE (Java Platform Sustaining Engineering)
[ ] JWSSE (Java Web Services Sustaining Engineering)
[ ] USG (User Software Group)
[ ] Other - Please specify
Product_uuid
63654ce5-f88d-11d8-ab63-080020a9ed93|Sun StorageTek 5310 NAS Appliance
7656ca7b-9cd4-11da-85b4-080020a9ed93|Sun StorageTek 5320 NAS Appliance
a656fa3d-fc97-11da-ac3d-080020a9ed93|Sun StorageTek 5220 NAS Appliance
d4e4fc3d-7c3f-11d8-9e3a-080020a9ed93|Sun StorageTek 5210 NAS Appliance

References

SUNPATCH:118216-14
SUNPATCH:119351-13
SUNPATCH:119352-08
SUNPATCH:119353-05

Attachments
This solution has no attachment
  Copyright © 2011 Sun Microsystems, Inc.  All rights reserved.
 Feedback