#19464: smartmontools: uses StartupItems which is deprecated ----------------------------------+----------------------------------------- Reporter: cilly@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: Port: smartmontools | ----------------------------------+----------------------------------------- Comment(by snaury@…): I'm not sure what it was supposed to fix. I've just upgraded smartmontools, started smartd (it was previously disabled because of frequent freezes), and after some time (something around 30 minutes, just when smartd was expected to check SMART) my laptop (2008 13" aluminium macbook) froze. The log contains this line: {{{ 31/07/2009 22:29:07 smartd[87288] Device: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@B/AppleMCP79AHCI/PRT0@0/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice, failed to read SMART Attribute Data }}} And sure enough, smartctl -a /dev/disk0 showed that SMART is disabled on my drive (even though 20 minutes earlier it was enabled). Could it be that the problem is not in the way smartd is started, but something that smartd tries to do to the drive? It seems strange to me that SMART disables itself on its own... Also, I specifically checked with kill -usr1 and hangs didn't happen. Why do they happen only when smartd is kicking in on 30 minutes timer? -- Ticket URL: <http://trac.macports.org/ticket/19464#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS