Re: [Testing wanted] USB patch for HAL

2011-06-26 Thread Vladimir Kushnir
Sorry for slightly off-topic post but (see below) On Sun, 26 Jun 2011, Greg Rivers wrote: On Sun, 26 Jun 2011, Hans Petter Selasky wrote: On Sunday 26 June 2011 09:27:22 Greg Rivers wrote: With this change, the USB bus continued to operate as expected while attaching and detaching a USB flash

Re: Clang buildworld failure due to multiple definitions of __isnanf

2011-06-26 Thread Steve Kargl
On Sun, Jun 26, 2011 at 10:32:02PM -0400, Eric McCorkle wrote: > > A better solution, I think, is to modify math.h with something like this: > > #ifdef __clang__ > #define isnan(n) __builtin_isnan(n) > ... > #endif Please, no. Don't touch math.h. -- Steve _

Clang buildworld failure due to multiple definitions of __isnanf

2011-06-26 Thread Eric McCorkle
I've both seen reports and experienced make buildworld with clang failing in usr.bin/xlint/lint1 (really, make kernel-toolchain is what fails), because lint1 is statically linked, and there is a definition of __isnanf in both libc and libm. GCC, on the other hand, builds just fine. The file t

Re: /var/crash permissions

2011-06-26 Thread jhell
On Sun, Jun 26, 2011 at 11:33:00PM +0200, deeptec...@gmail.com wrote: > the FreeBSD Developers' Handbook recommends /var/crash to have > drwx-- permissions [1]. ``make installworld'' alters those > permissions to drwxr-x---. one of the two is trolling. which one? > > [1] > http://www.freebs

/var/crash permissions

2011-06-26 Thread deeptec...@gmail.com
the FreeBSD Developers' Handbook recommends /var/crash to have drwx-- permissions [1]. ``make installworld'' alters those permissions to drwxr-x---. one of the two is trolling. which one? [1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html#KERNELDEBUG-OBT

Re: MFC

2011-06-26 Thread Alexander Leidinger
On Fri, 24 Jun 2011 15:03:50 +0300 Andriy Gapon wrote: > on 24/06/2011 14:44 Johan Hendriks said the following: > > Hello all i have a question regarding MFC > > > > At the svn page from head most revisions comments contain a line > > like MFC after:x weeks or x days. or x months. > > Is

Re: Build failure during 9-CURRENT make world

2011-06-26 Thread Chris Rees
On 26 June 2011 19:55, Dimitry Andric wrote: > On 2011-06-26 20:43, Chris Rees wrote: > ... >> >> cd /usr/cursrc/src >> make KERNCONF=CERBERUS DESTDIR=/mnt world kernel > > ... >> >> >> /usr/obj/cursrc/src/usr.bin/clang/clang/../../../lib/clang/libllvmcodegen/libllvmcodegen.a: >> could not read sy

Re: LLVM: llvm-as, llvm-ld and so on not contained in FreeBSD core contrib?

2011-06-26 Thread Hartmann, O.
On 06/26/11 15:42, Dimitry Andric wrote: On 2011-06-25 17:53, Hartmann, O. wrote: On 06/25/11 10:10, Roman Divacky wrote: On Sat, Jun 25, 2011 at 09:57:52AM +0200, Hartmann, O. wrote: Hello. Just for my couriosity: I'm missing llvm-as, llvm-ld and other binutils from LLVM and was wondering w

Re: Build failure during 9-CURRENT make world

2011-06-26 Thread Dimitry Andric
On 2011-06-26 20:43, Chris Rees wrote: ... cd /usr/cursrc/src make KERNCONF=CERBERUS DESTDIR=/mnt world kernel ... /usr/obj/cursrc/src/usr.bin/clang/clang/../../../lib/clang/libllvmcodegen/libllvmcodegen.a: could not read symbols: File format not recognized ... Any ideas please??? The file

Build failure during 9-CURRENT make world

2011-06-26 Thread Chris Rees
Hi all, Just trying to install 9-CURRENT (csupped today) for my Xbox. What I did: mounted all partitions under /mnt cd /usr/cursrc/src make KERNCONF=CERBERUS DESTDIR=/mnt world kernel *chug chug* ===> usr.bin/clang/clang (all) c++ -O2 -pipe -I/usr/cursrc/src/usr.bin/clang/clang/../../../cont

Re: Automatic load of PCI kernel modules [WAS: [RFT] Automatic load of USB kernel modules]

2011-06-26 Thread Warner Losh
On Jun 26, 2011, at 4:33 AM, Robert Millan wrote: > 2011/6/26 Hans Petter Selasky : >> Hi, >> >> I see that a lot of PCI device drivers use code to check their ID's. >> >> [...] > > I seem to recall devd doesn't process PCI because it is event-driven and > there are no "events" associated with

Re: [Testing wanted] USB patch for HAL

2011-06-26 Thread Greg Rivers
On Sun, 26 Jun 2011, Hans Petter Selasky wrote: On Sunday 26 June 2011 09:27:22 Greg Rivers wrote: With this change, the USB bus continued to operate as expected while attaching and detaching a USB flash drive. On start up, hald was not detecting the attach/detach events, but started working an

Re: LLVM: llvm-as, llvm-ld and so on not contained in FreeBSD core contrib?

2011-06-26 Thread Dimitry Andric
On 2011-06-25 17:53, Hartmann, O. wrote: On 06/25/11 10:10, Roman Divacky wrote: On Sat, Jun 25, 2011 at 09:57:52AM +0200, Hartmann, O. wrote: Hello. Just for my couriosity: I'm missing llvm-as, llvm-ld and other binutils from LLVM and was wondering why they are contained in the port's llvm col

Re: [Testing wanted] USB patch for HAL

2011-06-26 Thread Hans Petter Selasky
On Sunday 26 June 2011 09:27:22 Greg Rivers wrote: > With this change, the USB bus continued to operate as expected while > attaching and detaching a USB flash drive. On start up, hald was not > detecting the attach/detach events, but started working and kept working > after restarting it. In

Re: Automatic load of PCI kernel modules [WAS: [RFT] Automatic load of USB kernel modules]

2011-06-26 Thread Robert Millan
2011/6/26 Hans Petter Selasky : > Hi, > > I see that a lot of PCI device drivers use code to check their ID's. > > [...] I seem to recall devd doesn't process PCI because it is event-driven and there are no "events" associated with PCI cards. Perhaps it could be modified to scan for PCI cards via

Re: sys/boot/i386/boot2 (install) fail

2011-06-26 Thread Doug Barton
On 06/24/2011 13:39, Doug Barton wrote: On r223514M, kernel installed Ok, then after reboot and attempt to installworld I first get a failure that "btxld" is not found. So I add that to ITOOLS and then I get this. Any ideas? Building again with a clean /usr/obj "solved" this problem, FYI. --

Re: [Testing wanted] USB patch for HAL

2011-06-26 Thread Greg Rivers
Here are some of the results from testing based on your instructions and patches in IRC earlier today. First, per your instructions, I removed sg by modifying /usr/src/sys/conf/files and rebuilding the kernel: --- files.orig 2011-06-25 16:26:46.0 -0500 +++ files 2011-06-25 16:2