RE: 8.2-RELEASE - gmirror and gpart issue. Metadata overlap?

2011-02-28 Thread Johan Hendriks
On 26.02.2011 15:26, Marin Atanasov Nikolov wrote: After a reboot I get this right before the FreeBSD bootloader starts: gptboot: invalid GPT backup header I suppose this error simply means that gpart can't find it's backup header, because gmirror and gpart both are using the last

Re: 8.2-RELEASE - gmirror and gpart issue. Metadata overlap?

2011-02-28 Thread Andrey V. Elsukov
On 28.02.2011 11:54, Johan Hendriks wrote: I opened a discussion on this before the release. http://lists.freebsd.org/pipermail/freebsd-stable/2011-January/061184.ht ml On my 8.1 system, i get this message about the corrupt headers, but it booted on the 8.2 system it panics... I think a

Re: 8.2-RELEASE - gmirror and gpart issue. Metadata overlap?

2011-02-28 Thread Marin Atanasov Nikolov
2011/2/28 Andrey V. Elsukov bu7c...@yandex.ru: On 28.02.2011 11:54, Johan Hendriks wrote: I opened a discussion on this before the release. http://lists.freebsd.org/pipermail/freebsd-stable/2011-January/061184.ht ml On my 8.1 system, i get this message about the corrupt headers, but it

Re: 8.2-RELEASE - gmirror and gpart issue. Metadata overlap?

2011-02-28 Thread Clifton Royston
On Mon, Feb 28, 2011 at 06:23:10PM +0200, Marin Atanasov Nikolov wrote: 2011/2/28 Andrey V. Elsukov bu7c...@yandex.ru: On 28.02.2011 11:54, Johan Hendriks wrote: I opened a discussion on this before the release. http://lists.freebsd.org/pipermail/freebsd-stable/2011-January/061184.ht ml

Re: 8.2-RELEASE - gmirror and gpart issue. Metadata overlap?

2011-02-28 Thread Freddie Cash
On Mon, Feb 28, 2011 at 8:23 AM, Marin Atanasov Nikolov dna...@gmail.com wrote: 2011/2/28 Andrey V. Elsukov bu7c...@yandex.ru: On 28.02.2011 11:54, Johan Hendriks wrote: I opened a discussion on this before the release. http://lists.freebsd.org/pipermail/freebsd-stable/2011-January/061184.ht

Re: 8.2-RELEASE - gmirror and gpart issue. Metadata overlap?

2011-02-28 Thread Andrey V. Elsukov
On 28.02.2011 19:23, Marin Atanasov Nikolov wrote: I can confirm as well that I get kernel panic if I gpart and then gmirror a disk on 8.2-RELEASE. To reproduce it, I just did the following: 1) Boot a system with a Fixit image 2) Remove all gpart partitions 3) gpart the first disk (ad0)

Change in behavior to stat(1)

2011-02-28 Thread Stephen Montgomery-Smith
I had a little script that would remove broken links. I used to do it like this: if ! stat -L $link /dev/null; then rm $link; fi But recently (some time in February according to the CVS records) stat was changed so that stat -L would use lstat(2) if the link is broken. So I had to change

Re: 8.2-RELEASE - gmirror and gpart issue. Metadata overlap?

2011-02-28 Thread Marin Atanasov Nikolov
@Johan Hendriks As far as i know there is no warning anywhere that you can not use gpart and gmirror the whole disk. Well, there is actually :) From gpart(8): NOTE: The GEOM class PART can detect the same partition table on differ- ent GEOM providers and some of them will marked as

Re: FreeBSD 8.1 regression in x86bios.c

2011-02-28 Thread Jung-uk Kim
On Friday 25 February 2011 11:59 pm, Craig Boston wrote: Hi all, My laptop (Toshiba Portege R100) stopped working with an early boot hang at some point between 8.0 and 8.1. After it broke last year I had ended up just reverting to an earlier kernel, but finally found the time to do a binary

Re: 8.2-RELEASE - gmirror and gpart issue. Metadata overlap?

2011-02-28 Thread Andrey V. Elsukov
On 28.02.2011 17:23, Joan Picanyol i Puig wrote: http://lists.freebsd.org/pipermail/freebsd-geom/2010-July/004278.html 1. glabeled discs 2. two of this previous discs are gmirrored 3. this mirror is gparted We got distracted by side issues, but I believe this issue is still

Re: FreeBSD 8.1 regression in x86bios.c

2011-02-28 Thread Jung-uk Kim
On Monday 28 February 2011 12:33 pm, Jung-uk Kim wrote: On Friday 25 February 2011 11:59 pm, Craig Boston wrote: Hi all, My laptop (Toshiba Portege R100) stopped working with an early boot hang at some point between 8.0 and 8.1. After it broke last year I had ended up just reverting to

Re: ZFS - abysmal performance with samba since upgrade to 8.2-RELEASE

2011-02-28 Thread Bartosz Stec
W dniu 2011-02-24 08:55, Jeremy Chadwick pisze: (...snip...) Samba === Rebuild the port (ports/net/samba35) with AIO_SUPPORT enabled. To use AIO you will need to load the aio.ko kernel module (kldload aio) first. Relevant smb.conf tunings: [global] socket options =

Possible dri issue on the Kernel side

2011-02-28 Thread John Davis
I am an avid Linux user and recent BSD convert. I have a Lenovo Thinkpad L412 with an Intel i3 370M ATI HD 5145(rebadged HD4570) graphics. I recently tried Fedora 14 and had the same problem that I have had with PC-BSD, the underside of the laptop got HOT! When I was running on the radeon driver

Possible dri kernel issue

2011-02-28 Thread John Davis
To whom it may concern: I am an avid Linux user and recent BSD convert. I have a Lenovo Thinkpad L412 with an Intel i3 370M ATI HD 5145(rebadged HD4570) graphics. I recently tried Fedora 14 and had the same problem that I have had with PC-BSD, the underside of the laptop got HOT! When I was

Re: Change in behavior to stat(1)

2011-02-28 Thread jhell
On Mon, 28 Feb 2011 12:15, stephen@ wrote: I had a little script that would remove broken links. I used to do it like this: if ! stat -L $link /dev/null; then rm $link; fi But recently (some time in February according to the CVS records) stat was changed so that stat -L would use lstat(2)

Re: Change in behavior to stat(1)

2011-02-28 Thread Ronald Klop
On Mon, 28 Feb 2011 23:39:10 +0100, jhell jh...@dataix.net wrote: On Mon, 28 Feb 2011 12:15, stephen@ wrote: I had a little script that would remove broken links. I used to do it like this: if ! stat -L $link /dev/null; then rm $link; fi But recently (some time in February according to

Re: Change in behavior to stat(1)

2011-02-28 Thread Jeremy Chadwick
On Mon, Feb 28, 2011 at 11:15:39AM -0600, Stephen Montgomery-Smith wrote: I had a little script that would remove broken links. I used to do it like this: if ! stat -L $link /dev/null; then rm $link; fi But recently (some time in February according to the CVS records) stat was changed

FYI: Userspace DTrace MFC to stable/8

2011-02-28 Thread Robert Watson
Dear all: Just an FYI that I've gone ahead and merged userspace DTrace support to FreeBSD 8.x from 9.x. While it appeared to pass build tests locally, boot and run, etc, this is a non-trivial merge, and it's possible I've messed up. If so, apologies in advance, and I'll try to resolve any

Re: Change in behavior to stat(1)

2011-02-28 Thread Stephen Montgomery-Smith
Jeremy Chadwick wrote: Possibly you could use the example from the find(1) man page: find -L /usr/ports/packages -type l -exec rm -- {} + Delete all broken symbolic links in /usr/ports/packages. (Note that the + on the end is not a typo, see the man page) Brilliant! Since

Re: statd/lockd startup failure

2011-02-28 Thread Andrea Venturoli
On 02/17/11 22:06, Andrea Venturoli wrote: I seem to remember a similar problem I had a long time ago. I opted to use a consistent, not-used port and haven't seen the problem since (this was years ago, so I can't remember if the error you're seeing was identical to mine). /etc/rc.conf:

FreeBSD supported branches update

2011-02-28 Thread FreeBSD Security Officer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Everyone, The branches supported by the FreeBSD Security Officer have been updated to reflect the EoL (end-of-life) of FreeBSD 7.1. The new list of supported branches is below and at http://security.freebsd.org/ . Users of FreeBSD 7.1 are