Re: pthread_cond_timedwait() broken in 9-stable? (from JAN 10)

2012-02-16 Thread Julian Elischer
adding jkim as he seems to be the last person working with TSC. On 2/16/12 6:42 PM, David Xu wrote: On 2012/2/17 10:19, Julian Elischer wrote: On 2/16/12 5:56 PM, David Xu wrote: On 2012/2/17 8:42, Julian Elischer wrote: Adding David Xu for his thoughts since he reqrote the code in quesiton

Re: New BSD Installer

2012-02-16 Thread Hiroki Sato
Freddie Cash wrote in : fj> On Thu, Feb 16, 2012 at 8:20 PM, Hiroki Sato wrote: fj> > Jeremy Chadwick wrote fj> >  in <20120217030806.ga62...@icarus.home.lan>: fj> > fj> > fr> On Thu, Feb 16, 2012 at 07:40:35PM -0700, Warren Block wrote: fj> > fr> > Sorry, I may be misunderstanding your point

RE: New BSD Installer

2012-02-16 Thread Dewayne Geraghty
To answer an earlier question by Bruce... > -Original Message- > From: owner-freebsd-sta...@freebsd.org > [mailto:owner-freebsd-sta...@freebsd.org] On Behalf Of Ian Smith > Sent: Wednesday, 15 February 2012 4:15 AM > To: Bruce Cran > Cc: FreeBSD Stable Mailing List; Joe Holden; Alex Samo

Re: New BSD Installer

2012-02-16 Thread Freddie Cash
On Thu, Feb 16, 2012 at 8:20 PM, Hiroki Sato wrote: > Jeremy Chadwick wrote >  in <20120217030806.ga62...@icarus.home.lan>: > > fr> On Thu, Feb 16, 2012 at 07:40:35PM -0700, Warren Block wrote: > fr> > Sorry, I may be misunderstanding your point.  GEOM classes don't > fr> > lie, they accurately r

Re: New BSD Installer

2012-02-16 Thread Freddie Cash
On Thu, Feb 16, 2012 at 6:40 PM, Warren Block wrote: > On Thu, 16 Feb 2012, Jeremy Chadwick wrote: > >> On Thu, Feb 16, 2012 at 06:34:53PM -0700, Warren Block wrote: > > > (...Linux mdadm) > >> So for version 0.90 of their metadata format, you lose drive capacity by >> about 64-128KBytes, given th

Re: New BSD Installer

2012-02-16 Thread Warren Block
On Thu, 16 Feb 2012, Jeremy Chadwick wrote: On Thu, Feb 16, 2012 at 07:40:35PM -0700, Warren Block wrote: On Thu, 16 Feb 2012, Jeremy Chadwick wrote: On Thu, Feb 16, 2012 at 06:34:53PM -0700, Warren Block wrote: (...Linux mdadm) So for version 0.90 of their metadata format, you lose drive

Re: New BSD Installer

2012-02-16 Thread Hiroki Sato
Jeremy Chadwick wrote in <20120217030806.ga62...@icarus.home.lan>: fr> On Thu, Feb 16, 2012 at 07:40:35PM -0700, Warren Block wrote: fr> > Sorry, I may be misunderstanding your point. GEOM classes don't fr> > lie, they accurately represent the space. The space provided by a fr> > gmirror is o

Re: New BSD Installer

2012-02-16 Thread Adam Vande More
On Thu, Feb 16, 2012 at 8:10 PM, Jeremy Chadwick wrote: > I'm surprised that given the nature of these two bits (GPT vs. GEOM), > that the GEOM layer cannot simply lie about the full capacity of the > partition, or something to that effect. > GEOM can already do this. gvirstor and gnop do somethi

Re: New BSD Installer

2012-02-16 Thread Jeremy Chadwick
On Thu, Feb 16, 2012 at 07:40:35PM -0700, Warren Block wrote: > On Thu, 16 Feb 2012, Jeremy Chadwick wrote: > > >On Thu, Feb 16, 2012 at 06:34:53PM -0700, Warren Block wrote: > > (...Linux mdadm) > >So for version 0.90 of their metadata format, you lose drive capacity by > >about 64-128KBytes, gi

Re: pthread_cond_timedwait() broken in 9-stable? (from JAN 10)

2012-02-16 Thread David Xu
On 2012/2/17 10:42, David Xu wrote: aybe following code can check to see if TSC-LOW works by let the thread run on each cpu. refresh: gettimeofday(&prev, NULL); int cpu = 0; for (;;) { cpuset_t set; cpu = ++cpu % 4; CPU_ZERO(&set); CPU_SET(cpu, &set); pthread_setaffi

Re: pthread_cond_timedwait() broken in 9-stable? (from JAN 10)

2012-02-16 Thread David Xu
On 2012/2/17 10:19, Julian Elischer wrote: On 2/16/12 5:56 PM, David Xu wrote: On 2012/2/17 8:42, Julian Elischer wrote: Adding David Xu for his thoughts since he reqrote the code in quesiton in revision 213098 On 2/16/12 2:57 PM, Julian Elischer wrote: On 2/16/12 1:06 PM, Julian Elischer wr

Re: New BSD Installer

2012-02-16 Thread Warren Block
On Thu, 16 Feb 2012, Jeremy Chadwick wrote: On Thu, Feb 16, 2012 at 06:34:53PM -0700, Warren Block wrote: (...Linux mdadm) So for version 0.90 of their metadata format, you lose drive capacity by about 64-128KBytes, given that the space is needed for metadata. For version 1.0, I'm not sure.

Re: New BSD Installer

2012-02-16 Thread Garrett Wollman
In article <20120217021019.ga61...@icarus.home.lan>, Jeremy Chadwick wrote: >So for version 0.90 of their metadata format, you lose drive capacity by >about 64-128KBytes, given that the space is needed for metadata. Which is exactly what geom_mirror does, amazingly enough. (Except, of course,

Re: pthread_cond_timedwait() broken in 9-stable? (from JAN 10)

2012-02-16 Thread Julian Elischer
On 2/16/12 5:56 PM, David Xu wrote: On 2012/2/17 8:42, Julian Elischer wrote: Adding David Xu for his thoughts since he reqrote the code in quesiton in revision 213098 On 2/16/12 2:57 PM, Julian Elischer wrote: On 2/16/12 1:06 PM, Julian Elischer wrote: On 2/16/12 9:34 AM, Andriy Gapon wrote

Re: New BSD Installer

2012-02-16 Thread Jeremy Chadwick
On Thu, Feb 16, 2012 at 06:34:53PM -0700, Warren Block wrote: > On Thu, 16 Feb 2012, Jeremy Chadwick wrote: > >On Fri, Feb 17, 2012 at 01:08:28AM +0100, Miroslav Lachman wrote: > >> > >>Please don't mix two things together. gpart can replace fdisk and > >>bsdlabel, but GPT vs. MBR is a different th

Re: pthread_cond_timedwait() broken in 9-stable? [possible answer]

2012-02-16 Thread David Xu
On 2012/2/17 9:55, Julian Elischer wrote: kern.timecounter.tick: 1 kern.timecounter.choice: TSC-low(1000) i8254(0) HPET(950) ACPI-fast(900) dummy(-100) kern.timecounter.hardware: ACPI-fast kern.timecounter.stepwarnings: 0 switching the machine from TSC_low to ACPI-fast fixes the problem.

Re: pthread_cond_timedwait() broken in 9-stable? (from JAN 10)

2012-02-16 Thread David Xu
On 2012/2/17 8:42, Julian Elischer wrote: Adding David Xu for his thoughts since he reqrote the code in quesiton in revision 213098 On 2/16/12 2:57 PM, Julian Elischer wrote: On 2/16/12 1:06 PM, Julian Elischer wrote: On 2/16/12 9:34 AM, Andriy Gapon wrote: on 15/02/2012 23:41 Julian Elische

Re: pthread_cond_timedwait() broken in 9-stable? [possible answer]

2012-02-16 Thread Julian Elischer
kern.timecounter.tick: 1 kern.timecounter.choice: TSC-low(1000) i8254(0) HPET(950) ACPI-fast(900) dummy(-100) kern.timecounter.hardware: ACPI-fast kern.timecounter.stepwarnings: 0 switching the machine from TSC_low to ACPI-fast fixes the problem. in 8.x it used to default to ACPI but I u

Re: New BSD Installer

2012-02-16 Thread Warren Block
On Thu, 16 Feb 2012, Jeremy Chadwick wrote: On Fri, Feb 17, 2012 at 01:08:28AM +0100, Miroslav Lachman wrote: Please don't mix two things together. gpart can replace fdisk and bsdlabel, but GPT vs. MBR is a different thing. GPT doesn't play nice with GEOM classes which store their metadata on l

Re: ahci / ada hiding disk errors?

2012-02-16 Thread Steven Hartland
- Original Message - From: "Jeremy Chadwick" ... The long test is still running, as I stated above. Also, just as a data point: folks should remember to completely ignore the "remaining" percentage shown -- it is hardly ever accurate, especially on Western Digital drives. yep was a

Re: pthread_cond_timedwait() broken in 9-stable? (from JAN 10)

2012-02-16 Thread Julian Elischer
Adding David Xu for his thoughts since he reqrote the code in quesiton in revision 213098 On 2/16/12 2:57 PM, Julian Elischer wrote: On 2/16/12 1:06 PM, Julian Elischer wrote: On 2/16/12 9:34 AM, Andriy Gapon wrote: on 15/02/2012 23:41 Julian Elischer said the following: The program fio (an

Re: New BSD Installer

2012-02-16 Thread Jeremy Chadwick
On Fri, Feb 17, 2012 at 01:08:28AM +0100, Miroslav Lachman wrote: > Mike Andrews wrote: > >On 2/14/2012 3:05 PM, Devin Teske wrote: > >>Please don't get rid of fdisk or bsdlabel as they are (and forever > >>will be) > >>required to do things like: > >> > >>1. scripted formatting of a thumb drive >

Re: New BSD Installer

2012-02-16 Thread Miroslav Lachman
Mike Andrews wrote: On 2/14/2012 3:05 PM, Devin Teske wrote: Please don't get rid of fdisk or bsdlabel as they are (and forever will be) required to do things like: 1. scripted formatting of a thumb drive 2. automated probing of disk information (fdisk -p) 3. Other tasks that are not suitably

Re: ahci / ada hiding disk errors?

2012-02-16 Thread Jeremy Chadwick
On Thu, Feb 16, 2012 at 10:48:00PM -, Steven Hartland wrote: > We've got a machine here with a suspected failed disk but > the ahci driver seems to be hiding the details of any failure > and only displaying "Synchronize cache failed" to the console. > > Switching to IDE mode in the bios and us

ahci / ada hiding disk errors?

2012-02-16 Thread Steven Hartland
We've got a machine here with a suspected failed disk but the ahci driver seems to be hiding the details of any failure and only displaying "Synchronize cache failed" to the console. Switching to IDE mode in the bios and using the old adX devices show info such as:- ad6: 953869MB at ata3-master

Re: pthread_cond_timedwait() broken in 9-stable? (from JAN 10)

2012-02-16 Thread Julian Elischer
On 2/16/12 1:06 PM, Julian Elischer wrote: On 2/16/12 9:34 AM, Andriy Gapon wrote: on 15/02/2012 23:41 Julian Elischer said the following: The program fio (an IO test in ports) uses pthreads the following code (from fio-2.0.3, but its in earlier code too) has suddenly started misbehaving.

RE: New BSD Installer

2012-02-16 Thread Mike Jakubik
On Tue, 2012-02-14 at 09:43 -0800, Devin Teske wrote: > I'm with you on this one. I really don't like the single-"/" setup. > > > > while booting multiple systems on GPT also seems to require Linux tools. > > > > I don't know whether this move away from BSD traditional filesystem > > partitioni

Re: something wrong with dmesg?

2012-02-16 Thread Julian Elischer
On 2/16/12 1:27 AM, Sergey Kandaurov wrote: On 16 February 2012 12:58, Julian Elischer wrote: I just noticed that lately in 9.x and maybe 8-Stable, dmesg seems to return nothing if there is active logging going on. I saw someone else refer to this as well. Has this been reported? Didn't we ha

Re: pthread_cond_timedwait() broken in 9-stable? (from JAN 10)

2012-02-16 Thread Jens Axboe
On 2012-02-16 22:06, Julian Elischer wrote: > On 2/16/12 9:34 AM, Andriy Gapon wrote: >> on 15/02/2012 23:41 Julian Elischer said the following: >>> The program fio (an IO test in ports) uses pthreads >>> >>> the following code (from fio-2.0.3, but its in earlier code too) >>> has suddenly started

Re: pthread_cond_timedwait() broken in 9-stable? (from JAN 10)

2012-02-16 Thread Julian Elischer
On 2/16/12 9:34 AM, Andriy Gapon wrote: on 15/02/2012 23:41 Julian Elischer said the following: The program fio (an IO test in ports) uses pthreads the following code (from fio-2.0.3, but its in earlier code too) has suddenly started misbehaving. clock_gettime(CLOCK_REALTIME,&t);

ffmpeg patch to fix build with libvpx

2012-02-16 Thread Oliver Pinter
--- /tmp/Makefile.orig 2012-02-16 21:27:19.0 +0100 +++ Makefile 2012-02-16 21:27:30.0 +0100 @@ -357,7 +357,7 @@ # vp8 .if !defined(WITHOUT_VP8) -LIB_DEPENDS+= vpx.0:${PORTSDIR}/multimedia/libvpx +LIB_DEPENDS+= vpx.1:${PORTSDIR}/multimedia/libvpx CONFIGURE_ARGS+= --enable-libvp

Re: pthread_cond_timedwait() broken in 9-stable? (from JAN 10)

2012-02-16 Thread Andriy Gapon
on 15/02/2012 23:41 Julian Elischer said the following: > The program fio (an IO test in ports) uses pthreads > > the following code (from fio-2.0.3, but its in earlier code too) > has suddenly started misbehaving. > > clock_gettime(CLOCK_REALTIME, &t); > t.tv_sec += seconds + 10;

Re: ZFS + nullfs + Linuxulator = panic?

2012-02-16 Thread Paul Mather
On Feb 16, 2012, at 10:49 AM, Konstantin Belousov wrote: > On Thu, Feb 16, 2012 at 10:09:27AM -0500, Paul Mather wrote: >> On Feb 14, 2012, at 7:47 PM, Konstantin Belousov wrote: >> >>> On Tue, Feb 14, 2012 at 09:38:18AM -0500, Paul Mather wrote: I have a problem with RELENG_8 (FreeBSD/amd64

Re: 6.2-Release ..ish.. CF + ata == freeze?

2012-02-16 Thread john fleming
The plot is starting to thicken. I've noticed all the systems that have done this (so far) have this flash card on them. STEC M2+ CF 9.0.2 K1186-2 From talking to checkpoint this is a newer flash they have started using. I just had a 4th machine do the same thing yesterday. Basic install, abou

Re: ZFS + nullfs + Linuxulator = panic?

2012-02-16 Thread Konstantin Belousov
On Thu, Feb 16, 2012 at 10:09:27AM -0500, Paul Mather wrote: > On Feb 14, 2012, at 7:47 PM, Konstantin Belousov wrote: > > > On Tue, Feb 14, 2012 at 09:38:18AM -0500, Paul Mather wrote: > >> I have a problem with RELENG_8 (FreeBSD/amd64 running a GENERIC kernel, > >> last built 2012-02-08). It w

Re: ZFS + nullfs + Linuxulator = panic?

2012-02-16 Thread Paul Mather
On Feb 14, 2012, at 7:47 PM, Konstantin Belousov wrote: > On Tue, Feb 14, 2012 at 09:38:18AM -0500, Paul Mather wrote: >> I have a problem with RELENG_8 (FreeBSD/amd64 running a GENERIC kernel, last >> built 2012-02-08). It will panic during the daily periodic scripts that run >> at 3am. Here

Re: problems with AHCI on FreeBSD 8.2

2012-02-16 Thread Oscar Prieto
Yesterday I did a backup of the sensible stuff of the pool and decided to just break stuff on purpose ;) I writed with dd over the sector marked as faulty by smartctl and runned a smartctl short test. I repeated the process several times until smartctl gave no errors at all on ada3. After that i

Re: something wrong with dmesg?

2012-02-16 Thread Sergey Kandaurov
On 16 February 2012 12:58, Julian Elischer wrote: > I just noticed that lately in 9.x and maybe 8-Stable, dmesg seems to return > nothing if > there is active logging going on. I saw someone else refer to this as well. > > Has this been reported? Didn't we have this for years? I cannot recall the

something wrong with dmesg?

2012-02-16 Thread Julian Elischer
I just noticed that lately in 9.x and maybe 8-Stable, dmesg seems to return nothing if there is active logging going on. I saw someone else refer to this as well. Has this been reported? ___ freebsd-stable@freebsd.org mailing list http://lists.free