Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

ATA Security Feature v6.3

Help
kingsby
2007-03-27
2013-04-27
  • kingsby
    kingsby
    2007-03-27

    I am trying to build hdparm v6.3 in order to test the ATA security set.  Building on Fedora Core 4 kernel 2.6.17

    Get many build errors; these are the few 10 lines or so.

    cc -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs  -c -o hdparm.o hdparm.c
    In file included from hdparm.c:22:
    /usr/include/asm/byteorder.h:6:2: warning: #warning using private kernel header; include <endian.h> instead!
    hdparm.c: In function ‘process_dev’:
    hdparm.c:980: error: syntax error before ‘ide_task_request_t’
    hdparm.c:980: warning: no semicolon at end of struct or union
    hdparm.c:981: warning: ‘packed’ attribute ignored
    hdparm.c:981: warning: unused variable ‘data’
    hdparm.c:978: warning: unused variable ‘description’
    hdparm.c:977: warning: unused variable ‘err’
    hdparm.c:982: error: ‘request’ undeclared (first use in this function)
    hdparm.c:982: error: (Each undeclared identifier is reported only once
    hdparm.c:982: error: for each function it appears in.)
    hdparm.c:984: error: ‘task_struct_t’ undeclared (first use in this function)
    hdparm.c:984: error: syntax error before ‘)’ token

    hdparm v6.9 builds fine with no errors.  However this version 6.9 does not have ATA security set enabled.

    Is there kernel configuration parameter needed to enable ATA security set to work.  I would like to get v6.3 running

    Thanks