From owner-freebsd-stable@freebsd.org Sun Oct 8 18:24:06 2017 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 415EFE3C88A for ; Sun, 8 Oct 2017 18:24:06 +0000 (UTC) (envelope-from grarpamp@gmail.com) Received: from mail-vk0-x22b.google.com (mail-vk0-x22b.google.com [IPv6:2607:f8b0:400c:c05::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6C20E682EB for ; Sun, 8 Oct 2017 18:24:04 +0000 (UTC) (envelope-from grarpamp@gmail.com) Received: by mail-vk0-x22b.google.com with SMTP id d12so11801721vkf.1 for ; Sun, 08 Oct 2017 11:24:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=oXen095iGQgUu62aW2L5CCF8jJZhcDth85KjONig71Y=; b=aTYq4ajoocECW+QLTMH6Hc931OxK4VHVEtUw6BABlK/q2aq4kBWnzSiaj/Erm3Wcn4 TOk9fjPEbEwj+zbwclZ0lXBWaiKRmbcyF33tHYgthx01QYawVmSWytQ68O4vX82JLLcX A4TsR3PAqWSOVoRxbk5gI/CrZjlW9ecTE95qePiZbmUXiw+Bwxw3NgiHrsEnspGo2Wrw tavHOOvD+gHLjeg9xQeMXvFhgMvX3A4evj/cnK9wDwN9eiS9qR0p9oXuItf37xX1WVyq c86dd0IR6lltZJdpltSMbm6O3VB/mA7cHKex6l3Paj39CNHMzR/SPPqYXnKAPA9PdCLX JGyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=oXen095iGQgUu62aW2L5CCF8jJZhcDth85KjONig71Y=; b=rp11luLBj4YIwKEr0ZvxXpKU9Q1zuQtOUBgATGvtgK8YPxCIPlhwj5c4atrWwMSmFh hJduCwNxQCg33rgG2KyBuiWz34TOiT6GvNqs8W9ueCMiOJooRKk1O/xMIsao9/5498eq 4MHNF/u9z8daxLG9qfzvZKxAP3JvTr/l6cuu2ltSFJ1JYdbjlqmksUHR2i/4m745e1wK qpzk4k/HG27tJDuWRQw4YvCTk7dFFnJC97Ippyte+ULYf2URpOIYxkINvjPylxTupWlg l8DQs1QA4wvDWTfT+SR2Dkpem3iw4f/Y+RxxjdhFQHvKOstbI2aFPhNpx99NK3U0Bbxw vzJw== X-Gm-Message-State: AMCzsaW/dD1YsqL0tJmcHVoWM2IchpKfZ2qlHBQNEOZWEQSGOk8grhvC cR7rWv2jQj6VhrAnpDXcaLJ/W9a+CMRa5eyoCeS7Ow== X-Google-Smtp-Source: AOwi7QAYE+kpoAhVK1SqyKax6MzRKeD5SYj1qC4S7Zz9I45MsUZpcKkHHFkcY+kssACETmYiCshug22Om1AIn50Y3oA= X-Received: by 10.31.160.14 with SMTP id j14mr3658364vke.172.1507487043409; Sun, 08 Oct 2017 11:24:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.159.50.129 with HTTP; Sun, 8 Oct 2017 11:23:23 -0700 (PDT) From: grarpamp Date: Sun, 8 Oct 2017 14:23:23 -0400 Message-ID: Subject: dd: vm_fault: pager read error To: freebsd-stable@freebsd.org Content-Type: text/plain; charset="UTF-8" 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, 08 Oct 2017 18:24:06 -0000 Here is a report of a repeatable unrecoverable problem. 11.0 release amd64 r306420 kern.geom.debugflags=0 (unmodified) # dd if=/dev/zero of=/dev/ada0s1 seek=2048 count=1 bs=1m 1+0 records in 1+0 records out 1048576 bytes transferred # reboot # The same goes for any other uncached access to the filesystem in ada0s1a (Note: / is on s1a, dd occurs past that), ie all first use of commands that read disk. Repeating scrolling the console... " vnode_pager_generic_getpages_done: I/O read error 5 vm_fault: pager read error, pid 1 (init) " Requires HW reset button, then after system comes back up, all layout, filesystems, and data are fine. Repeatable every time. Also, # echo '' | dd of=/dev/ada0s1 seek=2048 count=1 bs=1m conv=sync does get written to disk and is readable upon reboot, # dd if=/dev/ada0s1 skip=2048 count=1 bs=1m # wherein that read does not trigger the fault, only the write of the string does. All the layout offsets and sizes add up sequentially, no overlap, the relavant portions are below, disk is <~= 250G, gpart, fdisk, boot0cfg, bsdlabel all concur without error, and were done with the live release tool versions. What am I overlooking, or is this kernel behaviour a bug? => 63 x ada0 MBR (XG) 63 1 - free - (512B) 64 8388608 ada0s1 freebsd [active] (4.0G) 8388672 109051904 ada0s2 freebsd (52G) => 0 8388608 ada0s1 BSD (4.0G) 0 4194304 ada0s1a freebsd-ufs (2.0G) / 4194304 4194304 - free - (2.0G)