From owner-freebsd-current@FreeBSD.ORG Sat Nov 21 12:07:59 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BAED106566B for ; Sat, 21 Nov 2009 12:07:59 +0000 (UTC) (envelope-from john.marshall@riverwillow.com.au) Received: from mail1.riverwillow.net.au (mail1.riverwillow.net.au [203.58.93.36]) by mx1.freebsd.org (Postfix) with ESMTP id D693B8FC12 for ; Sat, 21 Nov 2009 12:07:58 +0000 (UTC) Received: from rwpc12.mby.riverwillow.net.au (rwpc12.mby.riverwillow.net.au [172.25.24.168]) (authenticated bits=0) by mail1.riverwillow.net.au (8.14.3/8.14.3) with ESMTP id nALC7sbL006281 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 21 Nov 2009 23:07:56 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=riverwillow.com.au; s=m1001; t=1258805276; bh=l9mG6UYTCJQzhMmrL8pdnXfsLAXXdfe9hdm3eV6rfyc=; h=Date:From:To:Subject:Message-ID:Mime-Version:Content-Type; b=IKvVlK4UIXA7sx4pZl35ET3SbcQbRszR+1+WxWa1PwAzbkGbmFKrNSdTW7k+6M11i nTY2CiHzqBsZkFyvCgLGa8ceU1D8ZqzIefv/KsRWeQSmgQ4hc+9RCjOodHEJUkMVKZ qK+aSLmu61snFam6Dw06pIPWb38iDBYWKNsn9b0U= Received: from rwpc12.mby.riverwillow.net.au (localhost [127.0.0.1]) by rwpc12.mby.riverwillow.net.au (8.14.3/8.14.3) with ESMTP id nALC7s43030764 for ; Sat, 21 Nov 2009 23:07:54 +1100 (AEDT) (envelope-from john.marshall@riverwillow.com.au) Received: (from john@localhost) by rwpc12.mby.riverwillow.net.au (8.14.3/8.14.3/Submit) id nALC7sWu030763 for freebsd-current@freebsd.org; Sat, 21 Nov 2009 23:07:54 +1100 (AEDT) (envelope-from john) Date: Sat, 21 Nov 2009 23:07:54 +1100 From: John Marshall To: freebsd-current@freebsd.org Message-ID: <20091121120754.GA30495@rwpc12.mby.riverwillow.net.au> Mail-Followup-To: freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="M9NhX3UHpAaciwkO" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i OpenPGP: id=A29A84A2; url=http://pki.riverwillow.net.au/pgp/johnmarshall.asc Subject: 8.0 can't find/read label on da3 (7.2 OK) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Nov 2009 12:07:59 -0000 --M9NhX3UHpAaciwkO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This morning I source-upgraded our main server (i386) from 7.2-RELEASE to this morning's RELENG_8_0. FreeBSD 8.0 seems unable to discover the filesystem on /dev/da3. The earlier discs (da0, da1, da2) on that controller are fine. If I boot 7.2-RELEASE from a live CD, bsdlabel happily reads the /da3s1 label, I can fsck the da3s1d UFS filesystem, and I can mount the filesystem. If I boot 8.0, I lose the disc again. -------------------------------- Hardware (from 8.0 dmesg) -------------------------------- ahd2: port 0xc800-0xc8ff,0xc400-0xc4= ff mem 0xfc8fe000-0xfc8fffff irq 24 at device 1.0 on pci4 ahd2: [ITHREAD] da3 at ahd2 bus 0 target 3 lun 0 da3: Fixed Direct Access SCSI-3 device=20 da3: 40.000MB/s transfers (20.000MHz, offset 63, 16bit) da3: Command Queueing enabled da3: 70007MB (143374744 512 byte sectors: 255H 63S/T 8924C) -------------------------------- Works - FreeBSD 7.2 -------------------------------- Fixit# uname -a FreeBSD 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 = root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Fixit# ls -l /dev/da3* crw-r----- 1 root operator 0, 113 Nov 21 20:54 /dev/da3 crw-r----- 1 root operator 0, 122 Nov 21 20:54 /dev/da3c crw-r----- 1 root operator 0, 147 Nov 21 20:54 /dev/da3cs1 crw-r----- 1 root operator 0, 167 Nov 21 20:54 /dev/da3cs1c crw-r----- 1 root operator 0, 168 Nov 21 20:54 /dev/da3cs1d crw-r----- 1 root operator 0, 123 Nov 21 20:54 /dev/da3d crw-r----- 1 root operator 0, 121 Nov 21 20:54 /dev/da3s1 crw-r----- 1 root operator 0, 145 Nov 21 20:54 /dev/da3s1c crw-r----- 1 root operator 0, 146 Nov 21 20:54 /dev/da3s1d Fixit# fdisk /dev/da3 ******* Working on device /dev/da3 ******* parameters extracted from in-core disklabel are: cylinders=3D8924 heads=3D255 sectors/track=3D63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=3D8924 heads=3D255 sectors/track=3D63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 143363997 (70001 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 731/ head 254/ sector 63 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: Fixit# bsdlabel /dev/da3s1 # /dev/da3s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 143363997 0 unused 0 0 # "raw" part, don'= t edit d: 143363981 16 4.2BSD 2048 16384 28552=20 Fixit# fsck -pt ufs /dev/da3s1d fstab: /etc/fstab:0: No such file or directory fstab: /etc/fstab:0: No such file or directory /dev/da3s1d: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/da3s1d: clean, 17904497 free (8193 frags, 2237038 blocks, 0.0% fragmen= tation) -------------------------------- Broken - FreeBSD 8.0 -------------------------------- rwsrv03# uname -a FreeBSD rwsrv03.mby.riverwillow.net.au 8.0-RELEASE FreeBSD 8.0-RELEASE #2: = Sat Nov 21 13:32:10 AEDT 2009 root@rwsrv03.mby.riverwillow.net.au:/buil= d/obj/usr/src/sys/RWSRV03 i386 rwsrv03# ls -l /dev/da3* crw-r----- 1 root operator 0, 110 Nov 21 21:07 /dev/da3 crw-r----- 1 root operator 0, 118 Nov 21 21:07 /dev/da3d rwsrv03# fdisk /dev/da3 ******* Working on device /dev/da3 ******* parameters extracted from in-core disklabel are: cylinders=3D8924 heads=3D255 sectors/track=3D63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=3D8924 heads=3D255 sectors/track=3D63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 143363997 (70001 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 731/ head 254/ sector 63 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: rwsrv03# bsdlabel /dev/da3s1 bsdlabel: unable to get correct path for /dev/da3s1: No such file or direct= ory rwsrv03# bsdlabel /dev/da3 # /dev/da3: 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 143374744 0 unused 0 0 # "raw" part, don'= t edit d: 143374728 16 unused 0 0 =20 -------------------------------- --=20 John Marshall --M9NhX3UHpAaciwkO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAksH2BoACgkQw/tAaKKahKKlbwCgspfrGv+8x5ibi1mTby4VlDYh Sk8AnR3rr9Aj9NEEhxmsos0zrzMU70NV =+K04 -----END PGP SIGNATURE----- --M9NhX3UHpAaciwkO--