Re: Why fdisk can't open root disk with MBR for writing?

2012-09-15 Thread Warren Block
On Fri, 14 Sep 2012, Yuri wrote: On 09/14/2012 19:23, Warren Block wrote: Did you actually try gpart? GEOM prevents writes to providers that are in use, but gpart should handle it correctly if the problem is just that fdisk doesn't understand GEOM. # gpart set -a active -i 1 ada0 If that f

Re: Why fdisk can't open root disk with MBR for writing?

2012-09-15 Thread Julian H. Stacey
Hi Yuri & hackers, Garrett Cooper wrote: > On Fri, Sep 14, 2012 at 5:19 PM, Yuri wrote: > > I am trying to change the active partition in MBR. > > This should be a matter of changing only two bits (clearing one in one byte > > and setting another one in another byte). > > > > However, fdisk compl

Re: Please help me diagnose this crazy VMWare/FreeBSD 8.x crash

2012-09-15 Thread Mark Felder
On Fri, 14 Sep 2012 20:37:40 -0500, Mark Saad wrote: How do you have suj on 8.3 ? Are you using a patch ? I don't have suj on 8.3 Also can you retest 9 with the following sysctlkern.timecounter.hardware=Acpi-fast Yes, I'll attempt that as soon as possible. We're under a tight deadline

Re: Please help me diagnose this crazy VMWare/FreeBSD 8.x crash

2012-09-15 Thread Mark Saad
On Sep 15, 2012, at 11:36 AM, Mark Felder wrote: > On Fri, 14 Sep 2012 20:37:40 -0500, Mark Saad wrote: > >> How do you have suj on 8.3 ? Are you using a patch ? > > I don't have suj on 8.3 I misread the prior emails > >> Also can you retest 9 with the following >> sysctlkern.timecounte

Re: Why fdisk can't open root disk with MBR for writing?

2012-09-15 Thread Benjamin Kaduk
On Sat, 15 Sep 2012, Julian H. Stacey wrote: I have been applying this diff to my man fdisk: http://berklix.com/~jhs/src/bsd/fixes/FreeBSD/src/gen/sbin/fdisk/ *** 8.0-RELEASE/src/sbin/fdisk/fdisk.8 Sat Mar 14 22:32:16 2009 --- new-generic/src/sbin/fdisk/fdisk.8 Sat Mar 14 22:35:10 2009 *

Re: Why fdisk can't open root disk with MBR for writing?

2012-09-15 Thread Garrett Cooper
On Sat, Sep 15, 2012 at 11:49 AM, Benjamin Kaduk wrote: > On Sat, 15 Sep 2012, Julian H. Stacey wrote: > >> I have been applying this diff to my man fdisk: >> >> http://berklix.com/~jhs/src/bsd/fixes/FreeBSD/src/gen/sbin/fdisk/ >> >> *** 8.0-RELEASE/src/sbin/fdisk/fdisk.8 Sat Mar 14 22:32:16 2009