If you go to Seagate warranty page it says to download this tool and attach the output with the drive return. At a guess the tool is windows only though.
DOS, actually. Comes as a bootable ISO, so not that hard at all.
That said, I've returned drives to seagate without bothering with this step, and still had them replaced under warranty.