From owner-freebsd-geom@FreeBSD.ORG Mon Oct 18 11:17:25 2004 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E45E16A4CE; Mon, 18 Oct 2004 11:17:25 +0000 (GMT) Received: from 168.18.broadband2.iol.cz (27.240.broadband2.iol.cz [83.208.240.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6024D43D49; Mon, 18 Oct 2004 11:17:24 +0000 (GMT) (envelope-from bln@deprese.net) Received: from [147.32.241.135] (helo=[147.32.241.135]) by 168.18.broadband2.iol.cz with asmtp (Exim 4.41) id 1CJVVy-0004Bp-W0; Mon, 18 Oct 2004 13:17:23 +0200 Message-ID: <4173A649.9000208@deprese.net> Date: Mon, 18 Oct 2004 13:17:29 +0200 From: Ondra Holecek User-Agent: Mozilla Thunderbird 0.8 (X11/20041014) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org, freebsd-geom@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: GBDE, problems using gbde_swap X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Oct 2004 11:17:25 -0000 hello, I wanted to use encrypted swap (gbde_swap in /etc/rc.d) on 5.3-BETA7, but after second reboot, the system did not boot - it finised with boot manager (F1 - FreeBSD). I wrote problem report where you can read details: http://www.freebsd.org/cgi/query-pr.cgi?pr=72812 >Category: kern >Responsible: freebsd-bugs >Synopsis: GBDE, problems using gbde_swap >Arrival-Date: Mon Oct 18 11:00:44 GMT 2004 From owner-freebsd-geom@FreeBSD.ORG Mon Oct 18 14:37:19 2004 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 223BD16A4CE for ; Mon, 18 Oct 2004 14:37:19 +0000 (GMT) Received: from athena.softcardsystems.com (mail.softcardsystems.com [12.34.136.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id C907F43D41 for ; Mon, 18 Oct 2004 14:37:18 +0000 (GMT) (envelope-from sah@softcardsystems.com) Received: from athena (athena [12.34.136.114])i9IFZMH9011272 for ; Mon, 18 Oct 2004 10:35:22 -0500 Date: Mon, 18 Oct 2004 10:35:22 -0500 (EST) From: Sam X-X-Sender: sah@athena To: freebsd-geom@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Geom / mount / AoE disk failure (fwd) X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Oct 2004 14:37:19 -0000 ---------- Forwarded message ---------- Date: Mon, 18 Oct 2004 10:19:13 -0500 (EST) From: Sam To: freebsd-arch@freebsd.org Subject: Geom / mount / AoE disk failure Hello all, I'm in final testing of the AoE driver for 5.3 and have a question about disk device failures for mounted filesystems. I have an ED blade on my desk that I can pull the power from. The driver has a timeout so that if the blade doesn't respond in N seconds, all outstanding IO is failed and the disk is either a) destroyed if not open or b) marked for destruction on final close. If I dd from the device, in this case /dev/aoed10, and pull the power mid transfer, dd fails and the device is removed on close as expected. If I mount a portion of the disk, /dev/aoed10s1a, and while dd'ing from a file on the mount pull the power, dd fails, but the mount point persists. This seems expected, but when I force the umount (umount -f), I never get a final close. I get this in the log: --- Oct 18 09:53:29 fivethree kernel: fsync: giving up on dirty: 0xc1805b58: tag devfs, type VCHR, usecount 2, writecount 0 , refcount 5, flags (VV_OBJBUF), lock type devfs: EXCL (count 1) by thread 0xc1341c80 (pid 40414) Oct 18 09:53:29 fivethree kernel: dev aoed10s1a Oct 18 09:53:37 fivethree kernel: fsync: giving up on dirty: 0xc1805b58: tag devfs, type VCHR, usecount 2, writecount 0 , refcount 5, flags (VV_OBJBUF), lock type devfs: EXCL (count 1) by thread 0xc1345190 (pid 40416) Oct 18 09:53:37 fivethree kernel: dev aoed10s1a Oct 18 09:53:37 fivethree kernel: fsync: giving up on dirty: 0xc1805b58: tag devfs, type VCHR, usecount 1, writecount 0 , refcount 5, flags (VV_OBJBUF), lock type devfs: EXCL (count 1) by thread 0xc1345190 (pid 40416) Oct 18 09:53:37 fivethree kernel: dev aoed10s1a Oct 18 09:53:58 fivethree kernel: fsync: giving up on dirty: 0xc1805b58: tag devfs, type VCHR, usecount 2, writecount 0 , refcount 5, flags (VV_OBJBUF), lock type devfs: EXCL (count 1) by thread 0xc142a190 (pid 40419) Oct 18 09:53:58 fivethree kernel: dev aoed10s1a Oct 18 09:53:58 fivethree kernel: fsync: giving up on dirty: 0xc1805b58: tag devfs, type VCHR, usecount 1, writecount 0 , refcount 5, flags (VV_OBJBUF), lock type devfs: EXCL (count 1) by thread 0xc142a190 (pid 40419) Oct 18 09:53:58 fivethree kernel: dev aoed10s1a Oct 18 09:53:59 fivethree kernel: fsync: giving up on dirty: 0xc1805b58: tag devfs, type VCHR, usecount 2, writecount 0 , refcount 5, flags (VV_OBJBUF), lock type devfs: EXCL (count 1) by thread 0xc112e960 (pid 40420) Oct 18 09:53:59 fivethree kernel: dev aoed10s1a Oct 18 09:53:59 fivethree kernel: fsync: giving up on dirty: 0xc1805b58: tag devfs, type VCHR, usecount 1, writecount 0 , refcount 5, flags (VV_OBJBUF), lock type devfs: EXCL (count 1) by thread 0xc112e960 (pid 40420) --- Please excuse the formatting, this mail client isn't the best. Is this the expected behaviour? Since I never get the final close, I can't reinitialize the device when I power it back up, unload the module, etc. Should I be doing something else to trigger that the device is gone besides just failing the bios (EIO)? Maybe there's something that GEOM is expecting that I'm not doing? Cheers, Sam _______________________________________________ freebsd-arch@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-arch To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org" From owner-freebsd-geom@FreeBSD.ORG Wed Oct 20 18:30:31 2004 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 21FAD16A4CE; Wed, 20 Oct 2004 18:30:31 +0000 (GMT) Received: from afields.ca (afields.ca [216.194.67.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5BB743D46; Wed, 20 Oct 2004 18:30:30 +0000 (GMT) (envelope-from afields@afields.ca) Received: from afields.ca (localhost.afields.ca [127.0.0.1]) by afields.ca (8.12.11/8.12.11) with ESMTP id i9KIUCkN098028; Wed, 20 Oct 2004 14:30:12 -0400 (EDT) (envelope-from afields@afields.ca) Received: (from afields@localhost) by afields.ca (8.12.11/8.12.11/Submit) id i9KIU3Ht098027; Wed, 20 Oct 2004 14:30:03 -0400 (EDT) (envelope-from afields) Date: Wed, 20 Oct 2004 14:30:01 -0400 From: Allan Fields To: Ondra Holecek Message-ID: <20041020183001.GA74820@afields.ca> References: <4173A649.9000208@deprese.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sdtB3X0nJg68CQEu" Content-Disposition: inline In-Reply-To: <4173A649.9000208@deprese.net> User-Agent: Mutt/1.4i cc: freebsd-current@freebsd.org cc: freebsd-geom@freebsd.org Subject: Re: GBDE, problems using gbde_swap X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Oct 2004 18:30:31 -0000 --sdtB3X0nJg68CQEu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 18, 2004 at 01:17:29PM +0200, Ondra Holecek wrote: > hello, >=20 > I wanted to use encrypted swap (gbde_swap in /etc/rc.d) on 5.3-BETA7,=20 > but after second reboot, the system did not boot - it finised with boot= =20 > manager (F1 - FreeBSD). >=20 > I wrote problem report where you can read details: >=20 > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D72812 >=20 > >Category: kern > >Responsible: freebsd-bugs > >Synopsis: GBDE, problems using gbde_swap > >Arrival-Date: Mon Oct 18 11:00:44 GMT 2004 Can you follow up the PR with more details such as output of: fdisk /dev/ad0 disklabel /dev/ad0s1 You can boot from the install or live CD and run a fixit shell and from there should be able to get this info. Also try reinstalling the boot blocks using: mount /dev/ad0s1 /mnt boot0cfg -Bv -b /mnt/boot/boot0 ad0 If it boots fine, then it is possibly an issue with corrupted boot blocks. --=20 Allan Fields, AFRSL - http://afields.ca 2D4F 6806 D307 0889 6125 C31D F745 0D72 39B4 5541 --sdtB3X0nJg68CQEu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQFBdq6o90UNcjm0VUERAosyAJ47i4yjLcG0/ilPPGFNbipoWq6dUQCgyMr6 SpfrwsAI1qbeovkyy5LAqNk= =5Fgw -----END PGP SIGNATURE----- --sdtB3X0nJg68CQEu-- From owner-freebsd-geom@FreeBSD.ORG Thu Oct 21 09:05:13 2004 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C699016A4CE; Thu, 21 Oct 2004 09:05:13 +0000 (GMT) Received: from 168.18.broadband2.iol.cz (27.240.broadband2.iol.cz [83.208.240.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id D724343D41; Thu, 21 Oct 2004 09:05:10 +0000 (GMT) (envelope-from bln@deprese.net) Received: from [147.32.241.135] (helo=[147.32.241.135]) by 168.18.broadband2.iol.cz with asmtp (Exim 4.41) id 1CKYsf-0008Lj-0a; Thu, 21 Oct 2004 11:05:09 +0200 Message-ID: <41777BCC.4000100@deprese.net> Date: Thu, 21 Oct 2004 11:05:16 +0200 From: Ondra Holecek User-Agent: Mozilla Thunderbird 0.8 (X11/20041014) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Allan Fields References: <4173A649.9000208@deprese.net> <20041020183001.GA74820@afields.ca> In-Reply-To: <20041020183001.GA74820@afields.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org cc: freebsd-geom@freebsd.org Subject: Re: GBDE, problems using gbde_swap X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Oct 2004 09:05:13 -0000 Allan Fields wrote: >On Mon, Oct 18, 2004 at 01:17:29PM +0200, Ondra Holecek wrote: > > >>hello, >> >>I wanted to use encrypted swap (gbde_swap in /etc/rc.d) on 5.3-BETA7, >>but after second reboot, the system did not boot - it finised with boot >>manager (F1 - FreeBSD). >> >>I wrote problem report where you can read details: >> >>http://www.freebsd.org/cgi/query-pr.cgi?pr=72812 >> >> >> >>>Category: kern >>>Responsible: freebsd-bugs >>>Synopsis: GBDE, problems using gbde_swap >>>Arrival-Date: Mon Oct 18 11:00:44 GMT 2004 >>> >>> > >Can you follow up the PR with more details such as output >of: >fdisk /dev/ad0 > ******* Working on device /dev/ad0 ******* parameters extracted from in-core disklabel are: cylinders=38760 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=38760 heads=16 sectors/track=63 (1008 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 39070017 (19077 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 15/ sector 63 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: >disklabel /dev/ad0s1 > > # /dev/ad0s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 2097152 1048576 4.2BSD 2048 16384 28552 b: 1048576 0 swap c: 39070017 0 unused 0 0 # "raw" part, don't edit d: 4194304 3145728 4.2BSD 2048 16384 28552 e: 31729985 7340032 4.2BSD 2048 16384 28552 >You can boot from the install or live CD and run a fixit shell and >from there should be able to get this info. > > > Now I have it repaired (i have to work on this machine), but i saved fdisk and disklabel output before "reparing" (tar -cpf; newfs /dev/ad0s1a; tar -xpf) >Also try reinstalling the boot blocks using: > >mount /dev/ad0s1 /mnt >boot0cfg -Bv -b /mnt/boot/boot0 ad0 > > > This didn't help, i had to do newfs on root (a) partition >If it boots fine, then it is possibly an issue with corrupted >boot blocks. > > > From owner-freebsd-geom@FreeBSD.ORG Thu Oct 21 13:30:01 2004 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C3F5116A4CE; Thu, 21 Oct 2004 13:30:01 +0000 (GMT) Received: from afields.ca (afields.ca [216.194.67.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 626EB43D48; Thu, 21 Oct 2004 13:30:01 +0000 (GMT) (envelope-from afields@afields.ca) Received: from afields.ca (localhost.afields.ca [127.0.0.1]) by afields.ca (8.12.11/8.12.11) with ESMTP id i9LDTp4f001684; Thu, 21 Oct 2004 09:29:51 -0400 (EDT) (envelope-from afields@afields.ca) Received: (from afields@localhost) by afields.ca (8.12.11/8.12.11/Submit) id i9LDTjrX001683; Thu, 21 Oct 2004 09:29:45 -0400 (EDT) (envelope-from afields) Date: Thu, 21 Oct 2004 09:29:45 -0400 From: Allan Fields To: Ondra Holecek Message-ID: <20041021132944.GE74820@afields.ca> References: <4173A649.9000208@deprese.net> <20041020183001.GA74820@afields.ca> <41777BCC.4000100@deprese.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41777BCC.4000100@deprese.net> User-Agent: Mutt/1.4i cc: freebsd-current@freebsd.org cc: freebsd-geom@freebsd.org Subject: Re: GBDE, problems using gbde_swap X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Oct 2004 13:30:01 -0000 On Thu, Oct 21, 2004 at 11:05:16AM +0200, Ondra Holecek wrote: > Allan Fields wrote: > >On Mon, Oct 18, 2004 at 01:17:29PM +0200, Ondra Holecek wrote: > >>hello, > >> > >>I wanted to use encrypted swap (gbde_swap in /etc/rc.d) on 5.3-BETA7, > >>but after second reboot, the system did not boot - it finised with boot > >>manager (F1 - FreeBSD). > >> > >>I wrote problem report where you can read details: > >> > >>http://www.freebsd.org/cgi/query-pr.cgi?pr=72812 > >> > >>>Category: kern > >>>Responsible: freebsd-bugs > >>>Synopsis: GBDE, problems using gbde_swap > >>>Arrival-Date: Mon Oct 18 11:00:44 GMT 2004 > > > >Can you follow up the PR with more details such as output > >of: > >fdisk /dev/ad0 > > > ******* Working on device /dev/ad0 ******* > parameters extracted from in-core disklabel are: > cylinders=38760 heads=16 sectors/track=63 (1008 blks/cyl) > > Figures below won't work with BIOS for partitions not in cyl 1 > parameters to be used for BIOS calculations are: > cylinders=38760 heads=16 sectors/track=63 (1008 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 39070017 (19077 Meg), flag 80 (active) > beg: cyl 0/ head 1/ sector 1; > end: cyl 1023/ head 15/ sector 63 > > >disklabel /dev/ad0s1 > > # /dev/ad0s1: > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > a: 2097152 1048576 4.2BSD 2048 16384 28552 > b: 1048576 0 swap > c: 39070017 0 unused 0 0 # "raw" part, > don't edit > d: 4194304 3145728 4.2BSD 2048 16384 28552 > e: 31729985 7340032 4.2BSD 2048 16384 28552 > > >You can boot from the install or live CD and run a fixit shell and > >from there should be able to get this info. > > Now I have it repaired (i have to work on this machine), but i saved > fdisk and disklabel output before "reparing" (tar -cpf; newfs > /dev/ad0s1a; tar -xpf) > > >Also try reinstalling the boot blocks using: > >mount /dev/ad0s1 /mnt > >boot0cfg -Bv -b /mnt/boot/boot0 ad0 > > > This didn't help, i had to do newfs on root (a) partition After the boot0cfg, or anyway, after using only gbde swap? > >If it boots fine, then it is possibly an issue with corrupted > >boot blocks. But it does fix the boot problem when they are resinstalled? -- Allan Fields, AFRSL - http://afields.ca 2D4F 6806 D307 0889 6125 C31D F745 0D72 39B4 5541 From owner-freebsd-geom@FreeBSD.ORG Thu Oct 21 19:56:30 2004 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 61F1B16A4CE; Thu, 21 Oct 2004 19:56:30 +0000 (GMT) Received: from 168.18.broadband2.iol.cz (27.240.broadband2.iol.cz [83.208.240.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id C015E43D5A; Thu, 21 Oct 2004 19:56:28 +0000 (GMT) (envelope-from bln@deprese.net) Received: from pretender.home ([172.16.1.2]) by 168.18.broadband2.iol.cz with asmtp (Exim 4.41) id 1CKj2w-0000bx-R0; Thu, 21 Oct 2004 21:56:26 +0200 Message-ID: <41781473.2040804@deprese.net> Date: Thu, 21 Oct 2004 21:56:35 +0200 From: Ondra Holecek User-Agent: Mozilla Thunderbird 0.8 (X11/20041014) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Allan Fields References: <4173A649.9000208@deprese.net> <20041020183001.GA74820@afields.ca> <41777BCC.4000100@deprese.net> <20041021132944.GE74820@afields.ca> In-Reply-To: <20041021132944.GE74820@afields.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org cc: freebsd-geom@freebsd.org Subject: Re: GBDE, problems using gbde_swap X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Oct 2004 19:56:30 -0000 Allan Fields wrote: >On Thu, Oct 21, 2004 at 11:05:16AM +0200, Ondra Holecek wrote: > > >>Allan Fields wrote: >> >> >>>On Mon, Oct 18, 2004 at 01:17:29PM +0200, Ondra Holecek wrote: >>> >>> >>>>hello, >>>> >>>>I wanted to use encrypted swap (gbde_swap in /etc/rc.d) on 5.3-BETA7, >>>>but after second reboot, the system did not boot - it finised with boot >>>>manager (F1 - FreeBSD). >>>> >>>>I wrote problem report where you can read details: >>>> >>>>http://www.freebsd.org/cgi/query-pr.cgi?pr=72812 >>>> >>>> >>>> >>>>>Category: kern >>>>>Responsible: freebsd-bugs >>>>>Synopsis: GBDE, problems using gbde_swap >>>>>Arrival-Date: Mon Oct 18 11:00:44 GMT 2004 >>>>> >>>>> >>>Can you follow up the PR with more details such as output >>>of: >>>fdisk /dev/ad0 >>> >>> >>> >>******* Working on device /dev/ad0 ******* >>parameters extracted from in-core disklabel are: >>cylinders=38760 heads=16 sectors/track=63 (1008 blks/cyl) >> >>Figures below won't work with BIOS for partitions not in cyl 1 >>parameters to be used for BIOS calculations are: >>cylinders=38760 heads=16 sectors/track=63 (1008 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 39070017 (19077 Meg), flag 80 (active) >> beg: cyl 0/ head 1/ sector 1; >> end: cyl 1023/ head 15/ sector 63 >> >> >> >>>disklabel /dev/ad0s1 >>> >>> >> >># /dev/ad0s1: >>8 partitions: >># size offset fstype [fsize bsize bps/cpg] >> a: 2097152 1048576 4.2BSD 2048 16384 28552 >> b: 1048576 0 swap >> c: 39070017 0 unused 0 0 # "raw" part, >>don't edit >> d: 4194304 3145728 4.2BSD 2048 16384 28552 >> e: 31729985 7340032 4.2BSD 2048 16384 28552 >> >> >> >>>You can boot from the install or live CD and run a fixit shell and >>> >>> >>>from there should be able to get this info. >> >>Now I have it repaired (i have to work on this machine), but i saved >>fdisk and disklabel output before "reparing" (tar -cpf; newfs >>/dev/ad0s1a; tar -xpf) >> >> >> >>>Also try reinstalling the boot blocks using: >>>mount /dev/ad0s1 /mnt >>>boot0cfg -Bv -b /mnt/boot/boot0 ad0 >>> >>> >>> >>This didn't help, i had to do newfs on root (a) partition >> >> > >After the boot0cfg, or anyway, after using only gbde swap? > > > I booted from livecd, chroot to my fs on harddisk, did boot0cfg -Bv, reboot, didn't help, same as before. Then booted from livecd again, tar-ed rootfs, newfs, un-tar-ed, reboot, ok - normal boot >>>If it boots fine, then it is possibly an issue with corrupted >>>boot blocks. >>> >>> > >But it does fix the boot problem when they are resinstalled? > > >