Re: mounting root from NFS via ROOTDEVNAME

2013-01-30 Thread Ian Lepore
On Wed, 2013-01-30 at 09:32 +, Eggert, Lars wrote: > Hi, > > On Jan 29, 2013, at 20:22, Craig Rodrigues wrote: > > What kind of architecture are you trying to do this on? Is this > > i386/amd64 or something else? > > amd64 > > > I am not familiar with netboot compared to > > PXE. Is TFTP

Re: mounting root from NFS via ROOTDEVNAME

2013-01-29 Thread Ian Lepore
On Tue, 2013-01-29 at 09:17 +, Eggert, Lars wrote: > On Jan 29, 2013, at 10:13, Lars Eggert > wrote: > > On Jan 29, 2013, at 9:34, Craig Rodrigues wrote: > >> I recommend that you do not use ROOTDEVNAME, and instead > >> you should follow the instructions which I wrote and contributed to the

Re: mounting root from NFS via ROOTDEVNAME

2013-01-28 Thread Ian Lepore
On Mon, 2013-01-28 at 15:13 +, Eggert, Lars wrote: > Hi, > > I'm trying to netboot a system where the root device is specified in the > kernel via ROOTDEVNAME: > > options BOOTP > options BOOTP_NFSROOT > options BOOTP_NFSV3 > options BOOTP_COMPAT > options

Re: Trouble with recent auto-tuning changes

2013-01-28 Thread Ian Lepore
On Mon, 2013-01-28 at 00:09 -0600, Alan Cox wrote: > On Sun, Jan 27, 2013 at 12:11 PM, Ian Lepore wrote: > > > I ran into a panic while attempting to un-tar a large file on a > > DreamPlug (arm-based system) running -current. The source and dest of > > the un-tar i

Trouble with recent auto-tuning changes

2013-01-27 Thread Ian Lepore
I ran into a panic while attempting to un-tar a large file on a DreamPlug (arm-based system) running -current. The source and dest of the un-tar is the root filesystem on sdcard, and I get this: panic: kmem_malloc(4096): kmem_map too small: 12582912 total allocated Just before the panic I see th

Re: [RFC/RFT] calloutng

2013-01-17 Thread Ian Lepore
On Sun, 2012-12-30 at 16:13 -0700, Ian Lepore wrote: > On Wed, 2012-12-26 at 21:24 +0200, Alexander Motin wrote: > >[...] > > > > I grabbed testsleep.c to test an arm event timer implementation, and had > to fix a couple nits... kqueueto was missing from the names[] arr

Re: [RFC/RFT] calloutng

2013-01-17 Thread Ian Lepore
On Mon, 2013-01-14 at 11:38 +1100, Bruce Evans wrote: > On Sun, 13 Jan 2013, Alexander Motin wrote: > > > On 13.01.2013 20:09, Marius Strobl wrote: > >> On Tue, Jan 08, 2013 at 12:46:57PM +0200, Alexander Motin wrote: [...] > > > > In existing code in HEAD and 9 timecounters are never called with

Re: [RFC/RFT] calloutng

2013-01-13 Thread Ian Lepore
On Sun, 2013-01-13 at 21:36 +0200, Alexander Motin wrote: > On 13.01.2013 20:09, Marius Strobl wrote: [...] > > > > Uhm, there are no NMIs on sparc64. Does it make sense to bypass this > > adjustment on sparc64? > > If it is not possible or not good to to stop timer during programming, > there wi

Re: [RFC/RFT] calloutng

2013-01-02 Thread Ian Lepore
On Wed, 2013-01-02 at 15:11 +0200, Alexander Motin wrote: > 02.01.2013 14:28 пользователь "Luigi Rizzo" написал: > > > > On Wed, Jan 02, 2013 at 01:24:26PM +0200, Alexander Motin wrote: > > > On 02.01.2013 12:57, Luigi Rizzo wrote: > > First of all, if you know that there is already a hardclock/s

Re: [RFC/RFT] calloutng

2012-12-31 Thread Ian Lepore
On Mon, 2012-12-31 at 12:17 +0200, Alexander Motin wrote: > On 31.12.2012 08:17, Luigi Rizzo wrote: > > On Sun, Dec 30, 2012 at 04:13:43PM -0700, Ian Lepore wrote: > > ... > >> I grabbed testsleep.c to test an arm event timer implementation, and had > >> to

Re: [RFC/RFT] calloutng

2012-12-30 Thread Ian Lepore
On Wed, 2012-12-26 at 21:24 +0200, Alexander Motin wrote: > On 26.12.2012 01:21, Marius Strobl wrote: > > On Tue, Dec 18, 2012 at 11:03:47AM +0200, Alexander Motin wrote: > >> Experiments with dummynet shown ineffective support for very short > >> tick-based callouts. New version fixes that, allowi

Re: Why does sleep(1) end up blocked in bwillwrite()?

2012-12-23 Thread Ian Lepore
On Sun, 2012-12-23 at 21:37 +0200, Konstantin Belousov wrote: > On Sun, Dec 23, 2012 at 11:55:15AM -0700, Ian Lepore wrote: > > Background: I'm trying to get nandfs working on a low-end small-memory > > embedded system. I'm debugging performance problems that manifest as

Why does sleep(1) end up blocked in bwillwrite()?

2012-12-23 Thread Ian Lepore
Background: I'm trying to get nandfs working on a low-end small-memory embedded system. I'm debugging performance problems that manifest as the system (or large portions of it) becoming unresponsive for many seconds at a time. It appears that sometimes the nandfs background garbage collector doe

Re: API explosion (Re: [RFC/RFT] calloutng)

2012-12-18 Thread Ian Lepore
On Wed, 2012-12-19 at 00:29 +0100, Luigi Rizzo wrote: > On Tue, Dec 18, 2012 at 04:27:45PM -0700, Ian Lepore wrote: > > On Tue, 2012-12-18 at 23:58 +0100, Luigi Rizzo wrote: > > > [top posting for readability; > > > in summary we were discussing the new callout A

Re: API explosion (Re: [RFC/RFT] calloutng)

2012-12-18 Thread Ian Lepore
On Tue, 2012-12-18 at 23:58 +0100, Luigi Rizzo wrote: > [top posting for readability; > in summary we were discussing the new callout API trying to avoid > an explosion of methods and arguments while at the same time > supporting the old API and the new one] > (I am also Cc-ing phk as he might have

Re: /usr/src/sys/conf/newvers.sh, SYSDIR set to wrong directory.

2012-12-13 Thread Ian Lepore
On Wed, 2012-12-12 at 20:52 +0200, Kimmo Paasiala wrote: > On Wed, Dec 12, 2012 at 6:53 PM, Ian Lepore > wrote: > > On Wed, 2012-12-12 at 18:14 +0200, Kimmo Paasiala wrote: > >> Hello, > >> > >> My 9-STABLE buildworld broke in a very inexplicable way,

Re: /usr/src/sys/conf/newvers.sh, SYSDIR set to wrong directory.

2012-12-12 Thread Ian Lepore
On Wed, 2012-12-12 at 18:14 +0200, Kimmo Paasiala wrote: > Hello, > > My 9-STABLE buildworld broke in a very inexplicable way, I was > getting an error on /usr/src/include/osreldate.h that I couldn't > figure out until I started looking at the sys/conf/newvers.sh and what > it does. It turned out

Re: 9.1-RC3 LiveCD missing features

2012-12-08 Thread Ian Lepore
On Fri, 2012-12-07 at 23:31 -0800, Garrett Cooper wrote: > On Fri, Dec 7, 2012 at 11:06 PM, CeDeROM wrote: > > Hello Ian :-) > > > > This is the problem - / is read only and /etc/resolv.conf already links to > > nonexistent file. This way I cannot modify its content nor link other file > > (i.e. /

Re: 9.1-RC3 LiveCD missing features

2012-12-07 Thread Ian Lepore
On Fri, 2012-12-07 at 23:34 +0100, Bas Smeelen wrote: > On 12/07/12 23:11, Chuck Burns wrote: > > On 12/7/2012 3:50 PM, CeDeROM wrote: > >> Hello :-) > >> > >> I have tried to chceck for badblocks on my / but I did not find > >> badblocks > >> program on LiveCD and there is no option to install it

Re: Call for testers, users with scsi cards

2012-12-05 Thread Ian Lepore
On Tue, 2012-12-04 at 14:58 -1000, Jeff Roberson wrote: > On Tue, 4 Dec 2012, Ian Lepore wrote: > > > On Tue, 2012-12-04 at 14:49 -0700, Warner Losh wrote: > >> On Dec 4, 2012, at 2:36 PM, Jeff Roberson wrote: > >> > >>> http://people.freebsd.org

Re: Call for testers, users with scsi cards

2012-12-04 Thread Ian Lepore
On Tue, 2012-12-04 at 14:49 -0700, Warner Losh wrote: > On Dec 4, 2012, at 2:36 PM, Jeff Roberson wrote: > > > http://people.freebsd.org/~jeff/loadccb.diff > > > > This patch consolidates all of the functions that map cam control blocks > > for DMA into one central function. This change is a pr

Re: Is cross-world building broken?

2012-12-02 Thread Ian Lepore
On Fri, 2012-11-30 at 14:16 -0800, Garrett Cooper wrote: > On Nov 30, 2012, at 10:14 AM, Ian Lepore > wrote: > > > On Fri, 2012-11-30 at 09:36 -0800, Simon J. Gerraty wrote: > >> On Fri, 30 Nov 2012 08:15:03 -0700, Ian Lepore writes: > >>> So when did t

Re: New jail does not understand nullfs

2012-12-02 Thread Ian Lepore
On Sun, 2012-12-02 at 01:17 -0600, Matt Donovan wrote: > When attempting to start the jail in question the following happens > > > server# jail -c poudriere > jail: poudriere: unknown parameter: allow.mount.nullfs > > > Below is my jail.conf > > poudriere { > name=poudriere; >

Re: RFC: sysctl -f filename

2012-12-01 Thread Ian Lepore
On Sun, 2012-12-02 at 01:50 +0900, Hiroki Sato wrote: > Hi, > > I would like comments about the attached patch for sysctl(8) to add a > new option "-f filename". It supports reading of a file with > key=value lines. > > As you probably know, we already have /etc/sysctl.conf and it is > proc

Re: Is cross-world building broken?

2012-11-30 Thread Ian Lepore
On Fri, 2012-11-30 at 09:36 -0800, Simon J. Gerraty wrote: > On Fri, 30 Nov 2012 08:15:03 -0700, Ian Lepore writes: > >So when did this break, and why can't it be fixed? I've been using > > Sorry I missed the begining of this thread, > is anything broken? >

Re: Is cross-world building broken?

2012-11-30 Thread Ian Lepore
On Wed, 2012-11-28 at 16:19 -0800, Garrett Cooper wrote: > On Wed, Nov 28, 2012 at 4:07 PM, Adrian Chadd wrote: > > top posting, out of laziness and busy-ness at work.. > > > > Ok. So: > > > > * make installworld/installkernel/distribution - set DESTDIR on the command > > line > > * make buildwor

Re: Q) KLDload error

2012-11-16 Thread Ian Lepore
On Sat, 2012-11-17 at 11:04 +0900, ken wrote: > From: Lucas James > > > > You will need to rebuild and install the virtualbox-ose-kmod port. > > > > > > regards, > > Lucas > > Yes, I did and yet I have the following error with "kldload vboxdrv". > > Is "vm_page_lock_queues" renamed? It is

Re: compiler info in kernel identification string

2012-11-14 Thread Ian Lepore
On Wed, 2012-11-14 at 10:25 +0100, Dimitry Andric wrote: > On 2012-11-14 00:43, Mateusz Guzik wrote: > > avg@ suggested to include compiler version in the kernel so that it's > > present in uname (and one can easly tell what was used to compile it). > > > > Here is my attempt: > > http://people.fre

Re: 9.1-RC3 feels okay :-)

2012-11-08 Thread Ian Lepore
On Thu, 2012-11-08 at 08:45 -0700, Warren Block wrote: > On Thu, 8 Nov 2012, CeDeROM wrote: > > > I have tested additional options in xorg runtime :-) > > > > With the patched xorg mouse driver 1.7.1 (or driver version >=1.7.2) > > situation is following: > > > > 1. With hald and dbus no xorg.conf

Re: 9.1-RC3 feels okay :-)

2012-11-06 Thread Ian Lepore
On Wed, 2012-11-07 at 00:34 +0100, CeDeROM wrote: > Isn't this a Xorg bug then? When I have no configuration file Hal > should > provide the configuration, so sooner or later the mouse should start > moving... but is does not.. > > Do I get http://www.wonkity.com/~wblock/docs/html/aei.html correct

Re: 9.1-RC3 feels okay :-)

2012-11-06 Thread Ian Lepore
On Tue, 2012-11-06 at 22:57 +0100, Julian H. Stacey wrote: > Hi, > Reference: > > From: CeDeROM > > Date: Tue, 6 Nov 2012 22:14:03 +0100 > > Message-id: > > > > CeDeROM wrote: > > I have also noted that mouse cursor is very often not moving in Xorg > > but it work

Re: FreeBSD as read-only firmware

2012-11-03 Thread Ian Lepore
On Sat, 2012-11-03 at 08:01 -0700, Mehmet Erol Sanliturk wrote: > I do not know exact data transmission rate of SDHC cards , but , I > think , > it is faster than CD or DVD . For CD and DVD , at present there is NO > any > only READ CD or DVD devices . They are disappeared from the market . > For >

Re: FILE's _file can only hold a short

2012-11-01 Thread Ian Lepore
On Wed, 2012-10-31 at 11:12 -0700, m...@freebsd.org wrote: > I seem to recall a thread earlier on this limitation, but looking at > actual libc/stdio sources, the 4 year old check for open(2)'s fd being > less than SHRT_MAX is still there. I thought I saw a patch to change > this to an int, but it

Re: WITHOUT_GNU_[COMPAT|SUPPORT]

2012-10-13 Thread Ian Lepore
On Thu, 2012-10-11 at 19:45 +0200, Gabor Kovesdan wrote: > Em 11-10-2012 19:09, Ian Lepore escreveu: > > I want to build grep without the gnu regex library. The makefile for > > usr.bin/grep contains > > > > .if !defined(WITHOUT_GNU_COMPAT) > >

Re: WITHOUT_GNU_[COMPAT|SUPPORT]

2012-10-11 Thread Ian Lepore
On Thu, 2012-10-11 at 19:45 +0200, Gabor Kovesdan wrote: > Em 11-10-2012 19:09, Ian Lepore escreveu: > > I want to build grep without the gnu regex library. The makefile for > > usr.bin/grep contains > > > > .if !defined(WITHOUT_GNU_COMPAT) > >

WITHOUT_GNU_[COMPAT|SUPPORT]

2012-10-11 Thread Ian Lepore
I want to build grep without the gnu regex library. The makefile for usr.bin/grep contains .if !defined(WITHOUT_GNU_COMPAT) And man src.conf documents WITHOUT_GNU_SUPPORT but doesn't mention WITHOUT_GNU_COMPAT. Is this a typo in the makefile, or an ommision from the src.conf manpage? -- Ian

Re: sysctl vs ifconfig vs other (was Re: sysctl-controlled key-value store ?)

2012-10-07 Thread Ian Lepore
On Sun, 2012-10-07 at 17:53 +0200, Luigi Rizzo wrote: > Access through sysctl is incredibly easy from both userspace and > from a C application, because all the work is done in the kernel > side, whereas other mechanisms (ioctl, i'd rather leave kvm apart > as we really don't want that!) require th

Re: [SPAM]Re: Latest -CURRENT/i386 could not start under VirutalBox 4.1.18 and 4.2 (Windows host): hangs up after atrtc0 detection

2012-10-04 Thread Ian Lepore
On Thu, 2012-10-04 at 22:24 +0200, Marek Salwerowicz wrote: > W dniu 2012-10-04 20:51, Lev Serebryakov pisze: > > Hello, Marek. > > You wrote 3 октября 2012 г., 23:17:35: > > > >>> atrtc0: port 0x70-0x71 on acpi0 > > MS> still the same in my environment, running FreeBSD 9.1 under ESXi5.1 host > >

Re: Latest -CURRENT/i386 could not start under VirutalBox 4.1.18 and 4.2 (Windows host): hangs up after atrtc0 detection

2012-09-19 Thread Ian Lepore
On Wed, 2012-09-19 at 15:10 -0700, Adrian Chadd wrote: > On 19 September 2012 14:57, Garrett Cooper wrote: > > On Wed, Sep 19, 2012 at 1:46 PM, Ian Lepore > > wrote: > > > > ... > > > >> Yes, exactly. I updated the PR to request that my patch

Re: Latest -CURRENT/i386 could not start under VirutalBox 4.1.18 and 4.2 (Windows host): hangs up after atrtc0 detection

2012-09-19 Thread Ian Lepore
On Wed, 2012-09-19 at 14:30 -0700, Adrian Chadd wrote: > On 19 September 2012 14:12, Ian Lepore wrote: > > >> Right. Being totally clueless, is atrc_start() called just at > >> probe/attach, or during normal operation? > >> > > > > It's calle

Re: Latest -CURRENT/i386 could not start under VirutalBox 4.1.18 and 4.2 (Windows host): hangs up after atrtc0 detection

2012-09-19 Thread Ian Lepore
On Wed, 2012-09-19 at 14:08 -0700, Adrian Chadd wrote: > On 19 September 2012 14:05, Ian Lepore wrote: > > >> Add something to atrtc_start() to only loop over that loop say, 64k > >> times before dropping out; and print an error if it hits that > >> condi

Re: Latest -CURRENT/i386 could not start under VirutalBox 4.1.18 and 4.2 (Windows host): hangs up after atrtc0 detection

2012-09-19 Thread Ian Lepore
On Wed, 2012-09-19 at 14:00 -0700, Adrian Chadd wrote: > On 19 September 2012 13:54, Lev Serebryakov wrote: > > Hello, Ian. > > You wrote 20 сентября 2012 г., 0:46:24: > > > > IL> Yes, exactly. I updated the PR to request that my patch not get > > IL> committed because it locks up virtualbox. I

Re: Latest -CURRENT/i386 could not start under VirutalBox 4.1.18 and 4.2 (Windows host): hangs up after atrtc0 detection

2012-09-19 Thread Ian Lepore
On Thu, 2012-09-20 at 00:37 +0400, Lev Serebryakov wrote: > Hello, Freebsd-current. > You wrote 20 сентября 2012 г., 0:22:00: > > LS> I've upgraded my FreeBSD-CURRENT Virtual machine, which I use to > LS> build router's NanoBSD image, to today's morning (MSK time, GMT+4) > LS> revision. Unfort

Re: Clang as default compiler November 4th

2012-09-13 Thread Ian Lepore
On Wed, 2012-09-12 at 19:08 -0700, Steve Kargl wrote: > In regards to my initial post in this thread, I was just trying > to assess whether any benchmarks have been performed on FreeBSD > for floating point generated by clang. Other than the limited > testing that I've done, it appears that the an

Re: [patch] mmap() MAP_TEXT implementation (to use for shared libraries)

2012-09-07 Thread Ian Lepore
On Fri, 2012-09-07 at 21:53 +0300, Konstantin Belousov wrote: > On Fri, Sep 07, 2012 at 12:48:19PM -0600, Ian Lepore wrote: > > On Fri, 2012-09-07 at 21:41 +0300, Konstantin Belousov wrote: > > > After a second thought, I do not like your proposal as well. +x is set for > >

Re: [patch] mmap() MAP_TEXT implementation (to use for shared libraries)

2012-09-07 Thread Ian Lepore
On Fri, 2012-09-07 at 21:41 +0300, Konstantin Belousov wrote: > After a second thought, I do not like your proposal as well. +x is set for > shebang scripts, and allowing PROT_EXEC to set VV_TEXT for them means > that such scripts are subject for write denial. You say that like it's a bad thing.

Re: Help. Porting "FreeOCL" fails (atomic_ops.h missing, CLANG++ libc++ issues ...)

2012-09-06 Thread Ian Lepore
On Thu, 2012-09-06 at 13:14 +0200, O. Hartmann wrote: > I tried to add > > RUN_DEPENDS= > ${LOCALBASE}/lib/libatomic_ops.a:${PORTSDIR}/devel/libatomic_ops > > to my provided Makefile, but this doesn't install the port > devel/libatomic_ops. > This is weird and inconsistent. I follow exact the ste

Re: atomic_ops.h: missing ...

2012-09-05 Thread Ian Lepore
On Wed, 2012-09-05 at 16:11 +0200, O. Hartmann wrote: > Hello. > > While fiddling around with software that is looking for an include file > "atomic_ops.h", which seems to reside in the FreeBSD operating system's > sources with lib/lbkse, I'd like to know whether those architecture > specific head

Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap

2012-08-26 Thread Ian Lepore
On Sun, 2012-08-26 at 20:58 +0200, Baptiste Daroussin wrote: > On Sun, Aug 26, 2012 at 11:39:07AM -0700, Doug Barton wrote: > > On 08/26/2012 05:58, Baptiste Daroussin wrote: > > This isn't the security issue I was talking about by having sbin/pkg > > pass every command line to local/sbin/pkg. > >

Re: r239356: does it mean, that synchronous dhcp and dhcplcinet with disabled devd gone?

2012-08-21 Thread Ian Lepore
On Tue, 2012-08-21 at 14:04 -0600, Warner Losh wrote: > On Aug 21, 2012, at 11:42 AM, Lev Serebryakov wrote: > > > Hello, Ian. > > You wrote 21 августа 2012 г., 21:36:30: > > > > IL> I think it's funny how people have this knee-jerk reaction against C++ > > IL> apps. The devd executable is not e

Re: r239356: does it mean, that synchronous dhcp and dhcplcinet with disabled devd gone?

2012-08-21 Thread Ian Lepore
On Tue, 2012-08-21 at 21:01 +0400, Lev Serebryakov wrote: > IL> The important point is that if you unplug the cable then plug it into a > IL> different network, now the right thing will happen -- you will acquire > IL> an address on the new network. That's the reason that this change is an > IL> i

Re: r239356: does it mean, that synchronous dhcp and dhcplcinet with disabled devd gone?

2012-08-21 Thread Ian Lepore
On Tue, 2012-08-21 at 19:26 +0400, Lev Serebryakov wrote: > Hello, Ian. > You wrote 21 августа 2012 г., 19:16:03: > > IL> It has worked this way for me for years. Does it somehow not work this > IL> way for everyone? >Please, read comment to r239356. Starting from this revision > dhclient ex

Re: r239356: does it mean, that synchronous dhcp and dhcplcinet with disabled devd gone?

2012-08-21 Thread Ian Lepore
On Tue, 2012-08-21 at 19:04 +0400, Lev Serebryakov wrote: > Hello, John. > You wrote 21 августа 2012 г., 17:34:31: > > JB> Humm. devd is the more common case, and we explicitly don't use devd to > start > JB> dhclient on boot even when devd is enabled (so out of the box dhcp would > first > JB>

Re: CURRENT as gateway on not-so-fast hardware: where is a bottlneck?

2012-08-17 Thread Ian Lepore
On Fri, 2012-08-17 at 14:29 -0700, Kevin Oberman wrote: > On Fri, Aug 17, 2012 at 10:11 AM, Ian Lepore > > No! Not bde! He'll notice that I violated style(9) by accidentally > > leaving an extra blank line between a comment block and the function > > definition. :)

Re: CURRENT as gateway on not-so-fast hardware: where is a bottlneck?

2012-08-17 Thread Ian Lepore
On Fri, 2012-08-17 at 09:58 -0700, Adrian Chadd wrote: > On 17 August 2012 07:56, Ian Lepore wrote: > > > That result actually matches my expectation... it fixed only a part of > > your problem. I suspected (without very good evidence) that you may > > have two unrelated

Re: CURRENT as gateway on not-so-fast hardware: where is a bottlneck?

2012-08-17 Thread Ian Lepore
On Fri, 2012-08-17 at 14:38 +0400, Lev Serebryakov wrote: > Hello, Ian. > You wrote 16 августа 2012 г., 21:47:06: > > > IL> It's a long shot, but if the trouble you're seeing has the same cause, > IL> it should be fixed by this patch: > IL> > http://lists.freebsd.org/pipermail/freebsd-hackers/20

Re: CURRENT as gateway on not-so-fast hardware: where is a bottlneck?

2012-08-16 Thread Ian Lepore
On Wed, 2012-08-15 at 14:40 +0400, Lev Serebryakov wrote: > Hello, Alexander. > You wrote 15 августа 2012 г., 14:18:05: > > > AM> It is quite pointless to speculate without real info like mentioned > AM> above KTR_SCHED traces. Main thing I've learned about schedulers, things > AM> there never wo

Re: newbus' ivar's limitation..

2012-07-30 Thread Ian Lepore
On Mon, 2012-07-30 at 17:06 -0400, John Baldwin wrote: > On Tuesday, July 17, 2012 2:03:14 am Arnaud Lacombe wrote: > > Hi, > > > > On Fri, Jul 13, 2012 at 1:56 PM, Arnaud Lacombe wrote: > > > Hi, > > > > > > On Thu, Jul 12, 2012 at 1:20 AM, Warner Losh wrote: > > >> [..] > > >> Honestly, though

Re: Adding support for WC (write-combining) memory to bus_dma

2012-07-12 Thread Ian Lepore
On Thu, 2012-07-12 at 10:40 -0400, John Baldwin wrote: > I have a need to allocate static DMA memory via bus_dmamem_alloc() that is > also WC (for a PCI-e device so it can use "nosnoop" transactions). This is > similar to what the nvidia driver needs, but in my case it is much cleaner to > allo

Re: Interfacing devices with multiple parents within newbus

2012-07-07 Thread Ian Lepore
On Fri, 2012-07-06 at 16:45 -0400, Arnaud Lacombe wrote: > Hi, > > On Fri, Jul 6, 2012 at 3:09 PM, Ian Lepore > wrote: > > On Fri, 2012-07-06 at 14:46 -0400, Arnaud Lacombe wrote: > >> Hi, > >> > >> On Fri, Jul 6, 2012 at 11:33 AM, Arnaud Lacombe wr

Re: Interfacing devices with multiple parents within newbus

2012-07-06 Thread Ian Lepore
On Fri, 2012-07-06 at 14:46 -0400, Arnaud Lacombe wrote: > Hi, > > On Fri, Jul 6, 2012 at 11:33 AM, Arnaud Lacombe wrote: > > That's neither correct nor robust in a couple of way: > > 1) you have no guarantee a device unit will always give you the same > > resource. > this raises the following

Re: Possible fix for Perl failing with ../lib/auto/POSIX/POSIX.so: Undefined symbol "__flt_rounds" on ARM

2012-06-12 Thread Ian Lepore
On Tue, 2012-06-12 at 23:26 +0300, Konstantin Belousov wrote: > On Tue, Jun 12, 2012 at 05:56:12PM +0200, Jan Sieka wrote: > > Both versions work indeed. I have analysed other architectures' > > lib/libc//Symbol.map files and __flt_rounds should go into FBSD_ and > > *not* into FBSDprivate sectio

Re: bpf kernel crash

2012-06-04 Thread Ian Lepore
On Mon, 2012-06-04 at 17:31 +0300, Michael Pounov wrote: > Kernel crash when you wish to change interface name from vlan0 to other name > > It seems to be in arrival/departure events. > > 1) when I set up vlan0 and change name to mgmt and after that destroy mgmt. > kernel crash in bpfdetach() at

Re: device_attach(9) and driver initialization

2012-04-09 Thread Ian Lepore
On Mon, 2012-04-09 at 17:59 +0300, Konstantin Belousov wrote: > On Mon, Apr 09, 2012 at 08:41:15AM -0600, Ian Lepore wrote: > > On Sun, 2012-04-08 at 06:58 +0300, Konstantin Belousov wrote: > > > On Sat, Apr 07, 2012 at 09:10:55PM -0600, Warner Losh wrote: > > > > &

Re: device_attach(9) and driver initialization

2012-04-09 Thread Ian Lepore
On Sun, 2012-04-08 at 06:58 +0300, Konstantin Belousov wrote: > On Sat, Apr 07, 2012 at 09:10:55PM -0600, Warner Losh wrote: > > > > On Apr 7, 2012, at 8:57 AM, Konstantin Belousov wrote: > > > > > On Sat, Apr 07, 2012 at 08:46:41AM -0600, Ian Lepore wrote: >

Re: device_attach(9) and driver initialization

2012-04-09 Thread Ian Lepore
On Sat, 2012-04-07 at 17:57 +0300, Konstantin Belousov wrote: > On Sat, Apr 07, 2012 at 08:46:41AM -0600, Ian Lepore wrote: > > On Sat, 2012-04-07 at 15:50 +0300, Konstantin Belousov wrote: > > > Hello, > > > there seems to be a problem with device attach

Re: device_attach(9) and driver initialization

2012-04-07 Thread Ian Lepore
On Sat, 2012-04-07 at 15:50 +0300, Konstantin Belousov wrote: > Hello, > there seems to be a problem with device attach sequence offered by newbus. > Basically, when device attach method is executing, device is not fully > initialized yet. Also the device state in the newbus part of the world > is

Re: Switching on/off 5V power to a USB port

2012-04-03 Thread Ian Lepore
On Tue, 2012-04-03 at 17:13 -0500, Ron McDowell wrote: > I just got a little USB powered fan and it sure would be nice if I could > have cron on my FreeBSD box turn it on or off at certain times by > switching off the 5V line on a USB port. Anyone know how I can do > that? Thanks. > > BTW thi

Re: Failure to rebuild x11/nvidia-driver on head at r233697

2012-03-30 Thread Ian Lepore
On Fri, 2012-03-30 at 06:18 -0700, David Wolfskill wrote: > I track stable/8, stable/9, and head on (different slices on) my laptop > on a daily basis. I share /usr/local among all of these: while I update > the installed ports on a daily basis, I'm unwilling to do that 3 times > daily. :-} > > T

Re: CURRENT: make -jX buildworld doesn't work

2012-03-15 Thread Ian Lepore
On Wed, 2012-03-14 at 18:08 +0100, O. Hartmann wrote: > On 03/14/12 16:08, Ian Lepore wrote: > > On Wed, 2012-03-14 at 14:47 +0100, O. Hartmann wrote: > >> This is no compalin, since make buildworld works with one thread. > >> > >> But I'd like to repor

Re: CURRENT: make -jX buildworld doesn't work

2012-03-14 Thread Ian Lepore
On Wed, 2012-03-14 at 14:47 +0100, O. Hartmann wrote: > This is no compalin, since make buildworld works with one thread. > > But I'd like to report a funny thing I witnessed. > > On two boxes equipted with Core2Dou CPUS (E8500, 2 cores/threads, > Q6600, 4 cores/threads) a parallel make buildwor

Re: Improved Intel Turbo Boost status/control

2012-03-13 Thread Ian Lepore
On Mon, 2012-03-12 at 22:52 +0200, Alexander Motin wrote: > On 03/12/12 22:45, Ian Lepore wrote: > > On Mon, 2012-03-12 at 21:15 +0200, Alexander Motin wrote: > >> I'd like to note that recent r232793 change to cpufreq(4) in HEAD opened > >> simple access to the

Re: Improved Intel Turbo Boost status/control

2012-03-12 Thread Ian Lepore
On Mon, 2012-03-12 at 21:15 +0200, Alexander Motin wrote: > Hi. > > I'd like to note that recent r232793 change to cpufreq(4) in HEAD opened > simple access to the Intel Turbo Boost status/control. I've found that > at least two of my desktop systems (based Nehalem and SandyBridge Core > i7s)

Re: negative group permissions?

2012-02-29 Thread Ian Lepore
On Wed, 2012-02-29 at 13:00 -0500, Jason Hellenthal wrote: > > On Wed, Feb 29, 2012 at 10:18:13AM -0700, Ian Lepore wrote: > > On Wed, 2012-02-29 at 11:41 -0500, Jason Hellenthal wrote: > > > > > > On Wed, Feb 29, 2012 at 04:18:45PM +, jb wrote: > > &

Re: negative group permissions?

2012-02-29 Thread Ian Lepore
On Wed, 2012-02-29 at 11:41 -0500, Jason Hellenthal wrote: > > On Wed, Feb 29, 2012 at 04:18:45PM +, jb wrote: > > Ian Lepore damnhippie.dyndns.org> writes: > > > > > ... > > > It's not a > > > directory or executable file in the fi

Re: negative group permissions?

2012-02-29 Thread Ian Lepore
On Wed, 2012-02-29 at 16:18 +, jb wrote: > Ian Lepore damnhippie.dyndns.org> writes: > > > ... > > It's not a > > directory or executable file in the first place, so making it executable > > for everyone except the owner and group is not some sort o

Re: negative group permissions?

2012-02-29 Thread Ian Lepore
On Wed, 2012-02-29 at 13:21 +, jb wrote: > jb gmail.com> writes: > > > ... > > I would suggest (if you can) that you change the .seq permissions to 0664 > > and > > watch what happens to it - the purpose is to narrow down who/what changed > > its > > mode. > > Some history. logs. and some

Re: Race between cron and crontab

2012-02-02 Thread Ian Lepore
On Thu, 2012-02-02 at 17:03 -0800, Doug Barton wrote: > On 02/01/2012 04:42, John Baldwin wrote: > > On Tuesday, January 31, 2012 9:23:12 pm Doug Barton wrote: > >> On 01/31/2012 08:49, John Baldwin wrote: > >>> A co-worker ran into a race between updating a cron tab via crontab(8) > >>> and > >>

Re: Race between cron and crontab

2012-01-31 Thread Ian Lepore
On Tue, 2012-01-31 at 13:30 -0500, John Baldwin wrote: > On Tuesday, January 31, 2012 12:57:50 pm Ian Lepore wrote: > > On Tue, 2012-01-31 at 11:49 -0500, John Baldwin wrote: > > > A co-worker ran into a race between updating a cron tab via crontab(8) > > > a

Re: Race between cron and crontab

2012-01-31 Thread Ian Lepore
On Tue, 2012-01-31 at 11:49 -0500, John Baldwin wrote: > A co-worker ran into a race between updating a cron tab via crontab(8) and > cron(8) yesterday. Specifically, cron(8) failed to notice that a crontab was > updated. The problem is that 1) by default our filesystems only use second > gran

Re: FILTER_SCHEDULE_THREAD is not a bit-value

2012-01-31 Thread Ian Lepore
On Tue, 2012-01-31 at 15:57 +0700, Max Khon wrote: > Hello, > > On Tue, Jan 31, 2012 at 12:44 AM, Ian Lepore > wrote: > > >> sys/bus.h documents the following semantics for FILTER_SCHEDULE_THREAD: > >> > >> /** > >> * @brief Driver interru

Re: [patch] nextboot(8) arbitrary kernel environment

2012-01-30 Thread Ian Lepore
On Mon, 2012-01-30 at 14:57 -0500, Ed Maste wrote: > I have a patch to allow nextboot(8) to set arbitrary kernel environment > variables (not just the kernel dir and kernel_options). The usage becomes: > > Usage: nextboot [-e variable=value] [-f] [-k kernel] [-o options] >nextboot -D > >

Re: FILTER_SCHEDULE_THREAD is not a bit-value

2012-01-30 Thread Ian Lepore
On Mon, 2012-01-30 at 22:50 +0600, Max Khon wrote: > Hello! > > sys/bus.h documents the following semantics for FILTER_SCHEDULE_THREAD: > > /** > * @brief Driver interrupt filter return values > * > * If a driver provides an interrupt filter routine it must return an > * integer consisting of

Re: revisiting tunables under Safe Mode menu option

2012-01-30 Thread Ian Lepore
On Mon, 2012-01-30 at 18:59 +0200, Andriy Gapon wrote: > > o hw.ata.ata_dma, hw.ata.atapi_dma - I am not sure if there have been any > significant problems with ATA DMA recently. Maybe these could be removed? I still have to work with hardware that requires ata_dma disabled. It seems to be requ

Re: memory barriers in bus_dmamap_sync() ?

2012-01-11 Thread Ian Lepore
On Wed, 2012-01-11 at 09:59 -0700, Scott Long wrote: > > Where barriers _are_ needed is in interrupt handlers, and I can > discuss that if you're interested. > > Scott > I'd be interested in hearing about that (and in general I'm loving the details coming out in your explanations -- thanks!).

Re: memory barriers in bus_dmamap_sync() ?

2012-01-11 Thread Ian Lepore
On Wed, 2012-01-11 at 11:49 -0500, John Baldwin wrote: > On Wednesday, January 11, 2012 11:29:44 am Luigi Rizzo wrote: > > On Wed, Jan 11, 2012 at 10:05:28AM -0500, John Baldwin wrote: > > > On Tuesday, January 10, 2012 5:41:00 pm Luigi Rizzo wrote: > > > > On Tue, Jan 10, 2012 at 01:52:49PM -0800,

Re: memory barriers in bus_dmamap_sync() ?

2012-01-10 Thread Ian Lepore
On Tue, 2012-01-10 at 22:37 +0100, Luigi Rizzo wrote: > I was glancing through manpages and implementations of bus_dma(9) > and i am a bit unclear on what this API (in particular, bus_dmamap_sync() ) > does in terms of memory barriers. > > I see that the x86/amd64 and ia64 code only does the bounc

Re: bus dma: a flag/quirk for page zero

2012-01-10 Thread Ian Lepore
On Tue, 2012-01-10 at 23:15 +0200, Andriy Gapon wrote: > on 10/01/2012 22:53 Ian Lepore said the following: > > On Tue, 2012-01-10 at 22:18 +0200, Andriy Gapon wrote: > >> > >> Some hardware interfaces may reserve a special meaning for a (physical) > >> mem

Re: bus dma: a flag/quirk for page zero

2012-01-10 Thread Ian Lepore
On Tue, 2012-01-10 at 22:18 +0200, Andriy Gapon wrote: > > Some hardware interfaces may reserve a special meaning for a (physical) memory > address value of zero. One example is the OHCI specification where a zero > value > in CurrentBufferPointer doesn't mean a physical address, but has a reser

<    1   2   3   4   5