From owner-freebsd-stable@freebsd.org Sun Dec 11 12:16:11 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C788DC6F758 for ; Sun, 11 Dec 2016 12:16:11 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1.freebsd.org (Postfix) with ESMTP id B89DE9C1 for ; Sun, 11 Dec 2016 12:16:10 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from static.162.255.23.37.macminivault.com (unknown [162.255.23.37]) by mbob.nabble.com (Postfix) with ESMTP id 7BBB937C420B for ; Sun, 11 Dec 2016 04:03:15 -0800 (PST) Date: Sun, 11 Dec 2016 05:16:10 -0700 (MST) From: Jakub Lach To: freebsd-stable@freebsd.org Message-ID: <1481458570558-6151041.post@n6.nabble.com> Subject: Huge hpet0 interrupt storm, but only if HGST HTS721010A9E630 HDD is present at the boot _and_ formatted with recognized fs (??) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Dec 2016 12:16:11 -0000 Hello, I would like to share symptoms I've encountered to hopefully spare somebody the headache I have now. HGST HTS721010A9E630 (HGST Travelstar 7K1000) is good value now, it's a 1TB 2,5" 7200 rpm HDD with 100 MB/s+ reads and writes. I've hoped to use it as a SSD backup. Environment: FreeBSD 11.0-STABLE #0 r309672 amd64 Lenovo Thinkpad T400, latest official BIOS HGST HTS721010A9E630 is the problematic HDD, JB0OA3J0 firmware Description: Laptop without added HGST disk works fine. Situation does not change after adding the disk- it is recognized correctly, diskinfo reports correct throughput, after enabling SMART, smartctl reports are all clear. You can now reboot the system with the disk attached without any problems. However, after the disk is gpt formatted to recognizable FS (UFS2+SU, no journaling, 1 partition freebsd-ufs (932G), I have used @wblock guide), as soon as you reboot the machine, there is a huge interrupt storm with hpet0 (vmstat -i) on the restart, which stalls the computer. It does not matter if said disk is mounted on reboot or not. All it needs is a mere presence of a disk with recognizable FS. Nonetheless, if such disk were to be added mere seconds after a booting, it would work fine. As verified by vmstat -i. If I were to manually eject/reinsert the disk after each reboot, I could use it without problems. * I have photos of the interrupt storm, though it's just irq20 hpet0 rate 120-570 normally and about 305000 rate with the storm. The storm only happens if the disk is already attached during the reboot process. The irq attached to disks are the same between storm/no storm scenario. All that changes is hpet0 interrupt rate. * I can use two disk at the same time because I'm using the the bay in place of optical drive, however I've swapped some disks around and I'm positive the problem lies with HGST disk presence, not a it's 'point of attachment'. Any takers? -- View this message in context: http://freebsd.1045724.x6.nabble.com/Huge-hpet0-interrupt-storm-but-only-if-HGST-HTS721010A9E630-HDD-is-present-at-the-boot-and-formatted-tp6151041.html Sent from the freebsd-stable mailing list archive at Nabble.com.