From owner-freebsd-stable@FreeBSD.ORG Mon Mar 8 03:27:51 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E085F106564A for ; Mon, 8 Mar 2010 03:27:51 +0000 (UTC) (envelope-from brian.j.conway@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8BF468FC13 for ; Mon, 8 Mar 2010 03:27:51 +0000 (UTC) Received: by vws14 with SMTP id 14so2852942vws.13 for ; Sun, 07 Mar 2010 19:27:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received:date:from:to :subject:message-id:x-mailer:mime-version:content-type :content-transfer-encoding; bh=Ab5gce35vWzxdRpD8qGDrZJGffhZqnLtQLygZOSRVhY=; b=qngK4Ko8MRK9hlQ1Y3zu3M07QMIAcyglzHUtneWPcAelCbv1Qm1hRhfFZBiK3cLCpj J8oi1Eg7RfPHeW0D5xvefNKRlXbbV1KncOKVUDelGlQ+5BT8IWlnD/TbcFjeuuws689Y 6t1jtQEDu8ieifFMieDtT63/kWuWsAeD7GYgc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:x-mailer:mime-version :content-type:content-transfer-encoding; b=d+G7/pUUoRhWnnlYtgY53UHTJeV4jPtVEFQehWyn27MpPRRC88i7+JoP7crUnlhRES MUqTzA1deEnwrJroE2S5kT5F6Tb+oDkEMVI0C0jREBi7k1Ihc8mu7lfuO271PBUAWFoe 7gh6idNm+k2sl0/+9k+OBCGkhc10trFuPzvg0= Received: by 10.220.107.72 with SMTP id a8mr2538634vcp.92.1268017205663; Sun, 07 Mar 2010 19:00:05 -0800 (PST) Received: from ladyluck.zxvf.local (c-98-229-162-102.hsd1.ma.comcast.net [98.229.162.102]) by mx.google.com with ESMTPS id 23sm42828215vws.6.2010.03.07.19.00.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 07 Mar 2010 19:00:04 -0800 (PST) Sender: Brian Conway Received: from localhost ([127.0.0.1] helo=ladyluck.zxvf.local) by ladyluck.zxvf.local with smtp (Exim 4.69) (envelope-from ) id 1NoTCM-0007w7-LD for freebsd-stable@freebsd.org; Sun, 07 Mar 2010 22:00:02 -0500 Date: Sun, 7 Mar 2010 22:00:02 -0500 From: Brian Conway To: freebsd-stable@freebsd.org Message-Id: <20100307220002.f4b51436.bconway@alum.wpi.edu> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.12; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: 8.0-RELEASE-p2: boot0cfg yields "vnode_pager_getpages: I/O read error" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2010 03:27:52 -0000 Greetings. I'm testing NanoBSD images for eventual use in an Alix board and have run into an issue with the boot0cfg lines in the update scripts, in multiple environments. Specifically, any use of boot0cfg yields a successful output[1], followed by: vnode_pager_getpages: I/O read error At this point, it looks like the command succeeded, but all reads and writes to disk fail: # man init /usr/bin/man: Device not configured. # touch /var/tmp/test /usr/bin/touch: Input/output error. I've tried the following combinations and it happens under all of them: - VM using a file-loop-backed disk (KVM on Debian Lenny/5.0) - VM using a block-backed disk (same) - Alix board with CF disk in LBA mode - Alix board with CF disk in CHS mode - All of the above in packet and nopacket modes I've tried using the 'sysctl kern.geom.debugflags=0x10' mentioned in the boot0cfg man page, but that results in no change. The NanoBSD images I'm using are mostly vanilla, built on 8.0-RELEASE-p2. Any ideas? Bug or user error? Thanks. Brian Conway [1] # boot0cfg -s 1 -v ad0 # flag start chs type end chs offset size 1 0x80 0: 1: 1 0xa5 791: 15:63 63 798273 2 0x00 792: 1: 1 0xa5 559: 15:63 798399 798273 3 0x00 560: 0: 1 0xa5 562: 15:63 1596672 3024 version=2.0 drive=0x80 mask=0x3 ticks=182 bell=# (0x23) options=packet,update,nosetdrv volume serial ID 9090-9090 default_selection=F1 (Slice 1)