From owner-freebsd-bugs@FreeBSD.ORG Thu May 27 23:01:52 2010 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23E7C106566B; Thu, 27 May 2010 23:01:52 +0000 (UTC) (envelope-from dieterbsd@engineer.com) Received: from imr-mb01.mx.aol.com (imr-mb01.mx.aol.com [64.12.207.164]) by mx1.freebsd.org (Postfix) with ESMTP id D63038FC28; Thu, 27 May 2010 23:01:51 +0000 (UTC) Received: from imo-ma03.mx.aol.com (imo-ma03.mx.aol.com [64.12.78.138]) by imr-mb01.mx.aol.com (8.14.1/8.14.1) with ESMTP id o4RMpAbY017284; Thu, 27 May 2010 18:51:10 -0400 Received: from dieterbsd@engineer.com by imo-ma03.mx.aol.com (mail_out_v42.9.) id n.e5a.894323 (37578); Thu, 27 May 2010 18:51:06 -0400 (EDT) Received: from smtprly-dc02.mx.aol.com (smtprly-dc02.mx.aol.com [205.188.170.2]) by cia-mb05.mx.aol.com (v129.4) with ESMTP id MAILCIAMB053-d3854bfef7548f; Thu, 27 May 2010 18:51:06 -0400 Received: from web-mmc-d09 (web-mmc-d09.sim.aol.com [205.188.103.99]) by smtprly-dc02.mx.aol.com (v129.4) with ESMTP id MAILSMTPRLYDC025-d3854bfef7548f; Thu, 27 May 2010 18:51:00 -0400 To: bug-followup@freebsd.org, jh@FreeBSD.org Content-Transfer-Encoding: quoted-printable Date: Thu, 27 May 2010 18:51:00 -0400 X-AOL-IP: 72.251.74.94 X-MB-Message-Source: WebUI Received: from 72.251.74.94 by web-mmc-d09.sysops.aol.com (205.188.103.99) with HTTP (WebMailUI); Thu, 27 May 2010 18:51:00 -0400 MIME-Version: 1.0 From: dieterbsd@engineer.com X-MB-Message-Type: User Content-Type: text/plain; charset="us-ascii"; format=flowed X-Mailer: Mail.com Webmail 31793-STANDARD Message-Id: <8CCCC06364162B6-7FC-8C7D@web-mmc-d09.sysops.aol.com> X-Spam-Flag: NO X-AOL-SENDER: dieterbsd@engineer.com Cc: freebsd@sopwith.solgatos.com, freebsd-bugs@FreeBSD.org Subject: Re: kern/141235: 8.0 no longer provides /dev entries for all disk slices [regression] X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2010 23:01:52 -0000 > This is probably related to GEOM_PART_*. Could you confirm that by=20 replacing > GEOM_PART_* options in your kernel config with GEOM_MBR and GEOM_BSD? opt_geom.h previously contained: #define GEOM_LABEL 1 #define GEOM_PART_EBR 1 #define GEOM_PART_GPT 1 #define GEOM_PART_MBR 1 #define GEOM_PART_EBR_COMPAT 1 #define GEOM_PART_BSD 1 Added GEOM_MBR and GEOM_BSD to config file. (previous config file was stock GENERIC) opt_geom.h now: #define GEOM_BSD 1 #define GEOM_LABEL 1 #define GEOM_PART_EBR 1 #define GEOM_PART_GPT 1 #define GEOM_PART_MBR 1 #define GEOM_PART_EBR_COMPAT 1 #define GEOM_PART_BSD 1 #define GEOM_MBR 1 7.1 kernel works properly: ls -l /dev/ad4* crw-r----- 1 root operator 0, 85 May 27 19:24 /dev/ad4 crw-r----- 1 root operator 0, 89 May 27 19:24 /dev/ad4s1 crw-r----- 1 root operator 0, 90 May 27 19:24 /dev/ad4s2 crw-r----- 1 root operator 0, 91 May 27 19:24 /dev/ad4s3 crw-r----- 1 root operator 0, 98 May 27 19:24 /dev/ad4s3a crw-r----- 1 root operator 0, 99 May 27 19:24 /dev/ad4s3c crw-r----- 1 root operator 0, 92 May 27 19:24 /dev/ad4s4 crw-r----- 1 root operator 0, 100 May 27 19:24 /dev/ad4s4a crw-r----- 1 root operator 0, 101 May 27 19:24 /dev/ad4s4b crw-r----- 1 root operator 0, 102 May 27 19:24 /dev/ad4s4c ls -l /dev/ad20* crw-r----- 1 root operator 0, 120 May 27 19:24 /dev/ad20 crw-r----- 1 root operator 0, 163 May 27 19:24 /dev/ad20s1 crw-r----- 1 root operator 0, 164 May 27 19:24 /dev/ad20s2 crw-r----- 1 root operator 0, 165 May 27 19:24 /dev/ad20s3 crw-r----- 1 root operator 0, 166 May 27 19:24 /dev/ad20s4 crw-r----- 1 root operator 0, 194 May 27 19:24 /dev/ad20s5 =20 extended partition # ------------------------- stock 8.0 kernel: (ada4 in 8.0 is same disk as ad20 in 7.1) ls -l /dev/ad4* crw-r----- 1 root operator 0, 102 May 27 12:13 /dev/ad4 crw-r----- 1 root operator 0, 103 May 27 12:13 /dev/ad4s1 crw-r----- 1 root operator 0, 104 May 27 12:13 /dev/ad4s2 crw-r----- 1 root operator 0, 105 May 27 12:13 /dev/ad4s3 crw-r----- 1 root operator 0, 109 May 27 12:13 /dev/ad4s3a crw-r----- 1 root operator 0, 106 May 27 12:13 /dev/ad4s4 crw-r----- 1 root operator 0, 110 May 27 12:13 /dev/ad4s4a crw-r----- 1 root operator 0, 111 May 27 12:13 /dev/ad4s4b ls -l /dev/ada4* crw-r----- 1 root operator 0, 180 May 27 12:13 /dev/ada4 crw-r----- 1 root operator 0, 223 May 27 12:13 /dev/ada4s1 crw-r----- 1 root operator 0, 224 May 27 12:13 /dev/ada4s2 crw-r----- 1 root operator 0, 225 May 27 12:13 /dev/ada4s3 crw-r----- 1 root operator 0, 226 May 27 12:13 /dev/ada4s4 /dev/ada4s5 is missing ---------- 8.0 with GEOM_MBR and GEOM_BSD: ls -l /dev/ad4* crw-r----- 1 root operator 0, 106 May 27 12:02 /dev/ad4 crw-r----- 1 root operator 0, 116 May 27 12:02 /dev/ad4s1 crw-r----- 1 root operator 0, 117 May 27 12:02 /dev/ad4s2 crw-r----- 1 root operator 0, 118 May 27 12:02 /dev/ad4s3 crw-r----- 1 root operator 0, 131 May 27 12:02 /dev/ad4s3a crw-r----- 1 root operator 0, 131 May 27 12:02 /dev/ad4s3a =20 dup ? crw-r----- 1 root operator 0, 132 May 27 12:02 /dev/ad4s3c crw-r----- 1 root operator 0, 161 May 27 12:02 /dev/ad4s3ca =20 ? crw-r----- 1 root operator 0, 119 May 27 12:02 /dev/ad4s4 crw-r----- 1 root operator 0, 134 May 27 12:02 /dev/ad4s4a crw-r----- 1 root operator 0, 135 May 27 12:02 /dev/ad4s4b crw-r----- 1 root operator 0, 136 May 27 12:02 /dev/ad4s4c crw-r----- 1 root operator 0, 166 May 27 12:02 /dev/ad4s4ca =20 ? crw-r----- 1 root operator 0, 167 May 27 12:02 /dev/ad4s4cb =20 ? ls -l /dev/ada4* | cat -v crw-r----- 1 root operator 1, 29 May 27 12:02 /dev/ada4 crw-r----- 1 root operator 1, 72 May 27 12:02 /dev/ada4s1 crw-r----- 1 root operator 1, 72 May 27 12:02 /dev/ada4s1 =20 dup ? crw-r----- 1 root operator 1, 73 May 27 12:02 /dev/ada4s2 crw-r----- 1 root operator 1, 73 May 27 12:02 /dev/ada4s2 =20 dup ? crw-r----- 1 root operator 1, 74 May 27 12:02 /dev/ada4s3 crw-r----- 1 root operator 1, 74 May 27 12:02 /dev/ada4s3 =20 dup ? crw-r----- 1 root operator 1, 75 May 27 12:02 /dev/ada4s4 crw-r----- 1 root operator 1, 75 May 27 12:02 /dev/ada4s4 =20 dup ? crw-r----- 1 root operator 1, 193 May 27 12:02 /dev/ada4s4s1 =20 ? crw-r----- 1 root operator 1, 193 May 27 12:02 /dev/ada4s4s1 =20 ? crw-r----- 1 root operator 1, 192 May 27 12:02 /dev/ada4s5 =20 extended partition showed up So the extended partition showed up, but now I have some duplicate /dev=20 entries and some oddball bogus entries.