Are there any users of accelerated asymmetric cryptography?

2011-11-12 Thread Pawel Jakub Dawidek
Hi.

I'm in the process of rewriting large parts of the opencrypto framework
and was wondering if there are any users that actually make use of
asymmetric cryptography. From what I see only ubsec(4) driver supports
it and from what I remember those cards are hard to find.

If there are no users of this functionality I plan to remove support for
asym crypto from the opencrypto framework. It is just too hard to maintain
this without test hardware and also quite pointless if nobody uses it.
If some users can be found and they really need it, we have two options:
1. Keep asym crypto around, but whoever steps up have to be ready to
   test patches.
2. Use alternative way of accessing it (eg. via direct ioctl to ubsec
   device), at least until we start to support more cards.

-- 
Pawel Jakub Dawidek   http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://yomoli.com


pgpfM9n21ZWWb.pgp
Description: PGP signature


Re: Is fork() hook ever possible?

2011-11-12 Thread Andrey Chernov
On Tue, Sep 16, 2008 at 04:19:32PM -0400, David Schultz wrote:
 secteam@ already agreed to the idea of solving the fork problem as
 in OpenBSD over a month ago. 

On Wed, Sep 17, 2008 at 12:50:25PM +0400, Andrey Chernov wrote:
 I agree with your patch (BTW you can remove unneded #define RANDOMDEV).

The question remains: why you don't commit this patch all that 3 
years, having secteam@ and mine agreements too?

 --- /usr/ob/src/lib/libc/crypt/arc4random.c   2008-06-03 20:50:23.0 
 -0400
 +++ arc4random.c  2008-08-16 15:14:59.0 -0400
 @@ -34,21 +34,22 @@
   * RC4 is a registered trademark of RSA Laboratories.
   */
  
 +#include sys/cdefs.h
 +__FBSDID($FreeBSD: head/lib/libc/gen/arc4random.c 181261 2008-08-03 
 20:15:22Z ache $);
 +
 +#include namespace.h
  #include fcntl.h
  #include limits.h
  #include stdlib.h
  #include unistd.h
 +#include pthread.h
  #include sys/types.h
  #include sys/param.h
  #include sys/time.h
  #include sys/sysctl.h
 -#include thread_private.h
  
 -#ifdef __GNUC__
 -#define inline __inline
 -#else/* !__GNUC__ */
 -#define inline
 -#endif   /* !__GNUC__ */
 +#include libc_private.h
 +#include un-namespace.h
  
  struct arc4_stream {
   u_int8_t i;
 @@ -56,6 +57,21 @@
   u_int8_t s[256];
  };
  
 +static pthread_mutex_t   arc4random_mtx = PTHREAD_MUTEX_INITIALIZER;
 +
 +#define  RANDOMDEV   /dev/urandom
 +#define  _ARC4_LOCK()\
 + do {\
 + if (__isthreaded)   \
 + _pthread_mutex_lock(arc4random_mtx);   \
 + } while (0)
 +
 +#define  _ARC4_UNLOCK()  \
 + do {\
 + if (__isthreaded)   \
 + _pthread_mutex_unlock(arc4random_mtx); \
 + } while (0)
 +
  static int rs_initialized;
  static struct arc4_stream rs;
  static pid_t arc4_stir_pid;
 @@ -114,9 +130,9 @@
  
   /*
* Discard early keystream, as per recommendations in:
 -  * http://www.wisdom.weizmann.ac.il/~itsik/RC4/Papers/Rc4_ksa.ps
 +  * (Not So) Random Shuffles of RC4 by Ilya Mironov.
*/
 - for (i = 0; i  256; i++)
 + for (i = 0; i  1024; i++)
   (void)arc4_getbyte();
   arc4_count = 160;
  }
 @@ -135,6 +151,7 @@
   return (rs.s[(si + sj)  0xff]);
  }
  
 +#if 0
  u_int8_t
  __arc4_getbyte(void)
  {
 @@ -147,6 +164,7 @@
   _ARC4_UNLOCK();
   return val;
  }
 +#endif
  
  static inline u_int32_t
  arc4_getword(void)


-- 
http://ache.vniz.net/
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


problem with 1GB pages?

2011-11-12 Thread Andriy Gapon

Introduction.
I have an AMD-based system with a Fam10h CPU (with 1GB pages support), the
system chipset contains an integrated graphics device (that uses a region of the
main memory as a graphics memory).  The chipset supports memory hoisting to
compensate for the PCI memory window and the graphics aperture both of which are
located below 4GB.
The latest OS version installed on this system is 9-CURRENT from the middle of
September (r225560), architecture is amd64.
Until recently the system had 4GB of RAM installed and I had no problems with it
whatsoever.

Recently though I have added another 4GB of RAM to the system.  Before booting
to FreeBSD I tested the memory with multiple passes of memtest86 and
memetest86+, no errors were detected by those.
However with FreeBSD I immediately started getting flaky memory symptoms like
multiple internal compiler errors during compilation of non-trivially sized
projects (world, libreoffice).
I re-run memory tests which again revealed nothing and then started playing with
various VM subsystem and memory related knobs in FreeBSD.  I recalled that a
long while ago there were some problems with 1GB pages and so their use used to
be disabled.  On a hunch I disabled 1GB pages again:
@@ -471,7 +471,7 @@ create_pagetables(vm_paddr_t *firstaddr)
ndmpdp = 4;
DMPDPphys = allocpages(firstaddr, NDMPML4E);
ndm1g = 0;
-   if ((amd_feature  AMDID_PAGE1GB) != 0)
+   if (0  (amd_feature  AMDID_PAGE1GB) != 0)
ndm1g = ptoa(Maxmem)  PDPSHIFT;
if (ndm1g  ndmpdp)
DMPDphys = allocpages(firstaddr, ndmpdp - ndm1g);

And the flakiness went away.

Not sure what kind of useful information I should provide with this report.
Here's couple of things that I think could be of use.

- memcontrol list output
http://people.freebsd.org/~avg/8gb%2b512mb.memcontrol.list.txt

- BIOS memory map
SMAP type=01 base= end=0009f800 len=0009f800
SMAP type=02 base=000f end=0010 len=0001
SMAP type=02 base=fec0 end=0001 len=0140
SMAP type=02 base=e000 end=f000 len=1000
SMAP type=02 base=0009f800 end=000a len=0800
SMAP type=02 base=afdf end=afe0 len=0001
SMAP type=01 base=0010 end=afde len=afce
SMAP type=03 base=afde3000 end=afdf len=d000
SMAP type=04 base=afde end=afde3000 len=3000
SMAP type=01 base=0001 end=00023000 len=00013000

- dmesg snippet
CPU: AMD Athlon(tm) II X2 250 Processor (3013.78-MHz K8-class CPU)
  Origin = AuthenticAMD  Id = 0x100f62  Family = 10  Model = 6  Stepping = 2

Features=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT
  Features2=0x802009SSE3,MON,CX16,POPCNT
  AMD 
Features=0xee500800SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow!
  AMD
Features2=0x37ffLAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,SKINIT,WDT
  TSC: P-state invariant
real memory  = 8589934592 (8192 MB)
avail memory = 7617662976 (7264 MB)

- Top Of Memory MSR
MSR 0xc001001a: 0x 0xd000

- Top Of Memory 2 MSR
MSR 0xc001001d: 0x0002 0x3000

- System configuration MSR
MSR 0xc0010010: 0x 0x00760600

Please let me know if you have any ideas or requests for additional information
or testing.
Thank you.
-- 
Andriy Gapon
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: samba+zfs

2011-11-12 Thread Dan The Man



Well been running a week now and problems again. 3 3 terrabyte drives are 
@85% with compression enabled, i have to wonder if that is part of the 
problem.




Dan.



--
Dan The Man
CTO/ Senior System Administrator
Websites, Domains and Everything else
http://www.SunSaturn.com
Email: d...@sunsaturn.com

On Wed, 9 Nov 2011, Kurt Touet wrote:


On Wed, Nov 9, 2011 at 1:07 AM, Daniel O'Connor docon...@gsoft.com.au wrote:


On 09/11/2011, at 17:32, Garrett Cooper wrote

dd's of large files (spooled backups going to tape) to /dev/null are as slow as 
Samba.


   - Dedupe?


Nope.


   - Compression?


On the mail spool  ports, but not on the tape spool.


   - How much RAM?


8GB.


   - What debug options do you have enabled in the kernel?


It is 8.2-GENERIC so.. no WITNESS (for example)


   I've been noticing a slowdown in some respects with NFS/SMB, but I
suspected it was because I have an re(4) based NIC. ZFS has also wired
down a lot of my system memory for the L2ARC…



re isn't great but I wouldn't expect it to slow down over time.. Unless bounce 
buffers got used more and more or something.

I have an em0 card in this system - but in any case it is slow locally (i.e. dd 
a large file with 64k block size).

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
 -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C




Right now (while experience slow writes via samba+zfs) this is general
read speed off a 4 x 1.5TB sata2 raidz1:

# dd if=test.file of=/dev/null
13753502+1 records in
13753502+1 records out
7041793036 bytes transferred in 100.020897 secs (70403218 bytes/sec)

That's not in the same ball park of slow writes, but it is below what
I expect for reads.

My setup is a little odd:  4x1.5tb raidz sata2 on mobo + 2 x 2tb
mirror on sata1 pci controller, zfs v28, stable/9 r227357, amd x4 810
2.6ghz, 4gb ram, no dedupe, no compression, daily snapshots saved for
7 days

The above file read was stored before the 2 x 2tb mirror addition, so
it was a solely read off the sata2 mobo ports.   Reading off of
something more recent (and split amongst both raidz1 and mirror
vdevs):

# dd if=test2.file of=/dev/null
9154715+1 records in
9154715+1 records out
4687214153 bytes transferred in 82.963181 secs (56497522 bytes/sec)

This is, again, seems slower than usual, but not as terrible as the
write speeds that I've been seeing via samba.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

Re: no sound on alc-889

2011-11-12 Thread Alexander Motin
On 11.11.2011 22:48, rm...@free.fr wrote:
 i try to unmute a box with a mcp79 ane alc-889.
 
 the sound is working on another os, and playback
 and recording are treated separately by os x, (10.7).
 
 i tried different combinations according to the snd_hda man page,
 but i cannot find a good one.
 
 Pleease, have you some hints?
 
 here is the config and pindump:
 
 hdac0: NVidia MCP79 High Definition Audio Controller mem 
 0xd348-0xd3483fff irq 22 at device 8.0 on pci0
 
 pci3: network at device 0.0 (no driver attached)
 hdac0: HDA Codec #0: Realtek ALC885
 pcm0: HDA Realtek ALC885 PCM #0 Analog at cad 0 nid 1 on hdac0
 pcm1: HDA Realtek ALC885 PCM #1 Digital at cad 0 nid 1 on hdac0
 pcm2: HDA Realtek ALC885 PCM #2 Analog at cad 0 nid 1 on hdac0
   pins dump
 hdac0: Dumping AFG cad=0 nid=1 pins:
 hdac0:  nid 20 0x012b4040 as  4 seq  0Headphones  Jack jack 11 loc  1 
 color   Green misc 0
 hdac0:Caps: IN OUT HP  VREF Sense: 0x
 hdac0:  nid 21 0x018b3010 as  1 seq  0   Line-in  Jack jack 11 loc  1 
 colorBlue misc 0
 hdac0:Caps: IN OUT HP  VREF Sense: 0x
 hdac0:  nid 22 0x40f0 as 15 seq  0  Line-out  None jack  0 loc  0 
 color Unknown misc 0 [DISABLED]
 hdac0:Caps: IN OUT HP   Sense: 0x
 hdac0:  nid 23 0x40f0 as 15 seq  0  Line-out  None jack  0 loc  0 
 color Unknown misc 0 [DISABLED]
 hdac0:Caps: IN OUT HP   Sense: 0x
 hdac0:  nid 24 0x90100130 as  3 seq  0   Speaker Fixed jack  0 loc 16 
 color Unknown misc 1
 hdac0:Caps: IN OUT HP  VREF Sense: 0x
 hdac0:  nid 25 0x40f0 as 15 seq  0  Line-out  None jack  0 loc  0 
 color Unknown misc 0 [DISABLED]
 hdac0:Caps: IN OUT HP  VREF Sense: 0x
 hdac0:  nid 26 0x40f0 as 15 seq  0  Line-out  None jack  0 loc  0 
 color Unknown misc 0 [DISABLED]
 hdac0:Caps: IN OUT HP  VREF Sense: 0x
 hdac0:  nid 27 0x40f0 as 15 seq  0  Line-out  None jack  0 loc  0 
 color Unknown misc 0 [DISABLED]
 hdac0:Caps: IN OUT HP  VREF Sense: 0x
 hdac0:  nid 28 0x40f0 as 15 seq  0  Line-out  None jack  0 loc  0 
 color Unknown misc 0 [DISABLED]
 hdac0:Caps: IN 
 hdac0:  nid 30 0x014be050 as  5 seq  0 SPDIF-out  Jack jack 11 loc  1 
 color   White misc 0
 hdac0:Caps:OUT 
 hdac0:  nid 31 0x01cbe020 as  2 seq  0  SPDIF-in  Jack jack 11 loc  1 
 color   White misc 0
 hdac0:Caps: IN 
 hdac0: NumGPIO=2 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
 hdac0: GPIO: data=0x enable=0x direction=0x
 hdac0:   wake=0x  unsol=0xsticky=0x
 
 Thanks, in advance for your help.

Could you describe what exactly doesn't work? Do you have sound from
speaker or headphones output? In your case headphones are on separate
device pcm2/dsp2, but it can be reconfigured for automatic playback
redirection with such hint:
hint.hdac.0.cad0.nid20.config=as=3 seq=15

-- 
Alexander Motin
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


[head tinderbox] failure on arm/arm

2011-11-12 Thread FreeBSD Tinderbox
TB --- 2011-11-12 11:20:00 - tinderbox 2.8 running on freebsd-current.sentex.ca
TB --- 2011-11-12 11:20:00 - starting HEAD tinderbox run for arm/arm
TB --- 2011-11-12 11:20:00 - cleaning the object tree
TB --- 2011-11-12 11:20:29 - cvsupping the source tree
TB --- 2011-11-12 11:20:29 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/arm/arm/supfile
TB --- 2011-11-12 11:21:00 - building world
TB --- 2011-11-12 11:21:00 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-12 11:21:00 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-12 11:21:00 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-12 11:21:00 - SRCCONF=/dev/null
TB --- 2011-11-12 11:21:00 - TARGET=arm
TB --- 2011-11-12 11:21:00 - TARGET_ARCH=arm
TB --- 2011-11-12 11:21:00 - TZ=UTC
TB --- 2011-11-12 11:21:00 - __MAKE_CONF=/dev/null
TB --- 2011-11-12 11:21:00 - cd /src
TB --- 2011-11-12 11:21:00 - /usr/bin/make -B buildworld
 World build started on Sat Nov 12 11:21:00 UTC 2011
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
[...]
cc -fpic -DPIC -O -pipe  -I/src/sbin/geom/class/mountver/../.. -std=gnu99 
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type 
-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align 
-Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls 
-Wold-style-definition -Wno-pointer-sign -c 
/src/sbin/geom/class/mountver/../../misc/subr.c -o subr.So
building shared library geom_mountver.so
gzip -cn /src/sbin/geom/class/mountver/gmountver.8  gmountver.8.gz
=== sbin/geom/class/multipath (all)
cc -fpic -DPIC -O -pipe  -I/src/sbin/geom/class/multipath/../../../../sys 
-I/src/sbin/geom/class/multipath/../.. -std=gnu99 -Wsystem-headers -Werror 
-Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings 
-Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline 
-Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c 
/src/sbin/geom/class/multipath/geom_multipath.c -o geom_multipath.So
cc1: warnings being treated as errors
/src/sbin/geom/class/multipath/geom_multipath.c: In function 'mp_label':
/src/sbin/geom/class/multipath/geom_multipath.c:243: warning: comparison 
between signed and unsigned
*** Error code 1

Stop in /src/sbin/geom/class/multipath.
*** Error code 1

Stop in /src/sbin/geom/class.
*** Error code 1

Stop in /src/sbin/geom.
*** Error code 1

Stop in /src/sbin.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2011-11-12 12:05:08 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2011-11-12 12:05:08 - ERROR: failed to build world
TB --- 2011-11-12 12:05:08 - 1894.68 user 600.02 system 2707.68 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-arm-arm.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: Unable to boot from zfsroot 9.0-RC2 (while 9.0-RC1 boots fine)

2011-11-12 Thread Stefan Bethke
Am 11.11.2011 um 15:31 schrieb Darren Baginski:

 I'm having troubles booting today's 9.0-RC2 from zfsroot, I'm getting 
 'unknown filesystem' error.
 But  9.0-RC1 from Tue Nov  8 2011 boots fine.
...
 Any suggestions ? What could be the problem?

See the recent thread ZFS: invalid zap_type=134218628.  It appears there's 
some fixes that need to be MFCed; one user installed -current zfsboot and 
zfsloader, and was able to boot successfully.


Stefan

-- 
Stefan Bethke s...@lassitu.de   Fon +49 151 14070811



___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


[head tinderbox] failure on i386/pc98

2011-11-12 Thread FreeBSD Tinderbox
TB --- 2011-11-12 11:20:00 - tinderbox 2.8 running on freebsd-current.sentex.ca
TB --- 2011-11-12 11:20:00 - starting HEAD tinderbox run for i386/pc98
TB --- 2011-11-12 11:20:00 - cleaning the object tree
TB --- 2011-11-12 11:20:25 - cvsupping the source tree
TB --- 2011-11-12 11:20:25 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/i386/pc98/supfile
TB --- 2011-11-12 11:21:00 - building world
TB --- 2011-11-12 11:21:00 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-12 11:21:00 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-12 11:21:00 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-12 11:21:00 - SRCCONF=/dev/null
TB --- 2011-11-12 11:21:00 - TARGET=pc98
TB --- 2011-11-12 11:21:00 - TARGET_ARCH=i386
TB --- 2011-11-12 11:21:00 - TZ=UTC
TB --- 2011-11-12 11:21:00 - __MAKE_CONF=/dev/null
TB --- 2011-11-12 11:21:00 - cd /src
TB --- 2011-11-12 11:21:00 - /usr/bin/make -B buildworld
 World build started on Sat Nov 12 11:21:00 UTC 2011
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
[...]
cc -fpic -DPIC -O2 -pipe  -I/src/sbin/geom/class/mountver/../.. -std=gnu99 
-fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W 
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter 
-Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls 
-Wold-style-definition -Wno-pointer-sign -c 
/src/sbin/geom/class/mountver/../../misc/subr.c -o subr.So
building shared library geom_mountver.so
gzip -cn /src/sbin/geom/class/mountver/gmountver.8  gmountver.8.gz
=== sbin/geom/class/multipath (all)
cc -fpic -DPIC -O2 -pipe  -I/src/sbin/geom/class/multipath/../../../../sys 
-I/src/sbin/geom/class/multipath/../.. -std=gnu99 -fstack-protector 
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type 
-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align 
-Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls 
-Wold-style-definition -Wno-pointer-sign -c 
/src/sbin/geom/class/multipath/geom_multipath.c -o geom_multipath.So
cc1: warnings being treated as errors
/src/sbin/geom/class/multipath/geom_multipath.c: In function 'mp_label':
/src/sbin/geom/class/multipath/geom_multipath.c:243: warning: comparison 
between signed and unsigned
*** Error code 1

Stop in /src/sbin/geom/class/multipath.
*** Error code 1

Stop in /src/sbin/geom/class.
*** Error code 1

Stop in /src/sbin/geom.
*** Error code 1

Stop in /src/sbin.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2011-11-12 13:11:22 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2011-11-12 13:11:22 - ERROR: failed to build world
TB --- 2011-11-12 13:11:22 - 5385.24 user 917.37 system 6681.92 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-i386-pc98.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


[head tinderbox] failure on i386/i386

2011-11-12 Thread FreeBSD Tinderbox
TB --- 2011-11-12 11:20:00 - tinderbox 2.8 running on freebsd-current.sentex.ca
TB --- 2011-11-12 11:20:00 - starting HEAD tinderbox run for i386/i386
TB --- 2011-11-12 11:20:00 - cleaning the object tree
TB --- 2011-11-12 11:20:48 - cvsupping the source tree
TB --- 2011-11-12 11:20:48 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/i386/i386/supfile
TB --- 2011-11-12 11:26:13 - building world
TB --- 2011-11-12 11:26:13 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-12 11:26:13 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-12 11:26:13 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-12 11:26:13 - SRCCONF=/dev/null
TB --- 2011-11-12 11:26:13 - TARGET=i386
TB --- 2011-11-12 11:26:13 - TARGET_ARCH=i386
TB --- 2011-11-12 11:26:13 - TZ=UTC
TB --- 2011-11-12 11:26:13 - __MAKE_CONF=/dev/null
TB --- 2011-11-12 11:26:13 - cd /src
TB --- 2011-11-12 11:26:13 - /usr/bin/make -B buildworld
 World build started on Sat Nov 12 11:26:14 UTC 2011
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
[...]
cc -fpic -DPIC -O2 -pipe  -I/src/sbin/geom/class/mountver/../.. -std=gnu99 
-fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W 
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter 
-Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls 
-Wold-style-definition -Wno-pointer-sign -c 
/src/sbin/geom/class/mountver/../../misc/subr.c -o subr.So
building shared library geom_mountver.so
gzip -cn /src/sbin/geom/class/mountver/gmountver.8  gmountver.8.gz
=== sbin/geom/class/multipath (all)
cc -fpic -DPIC -O2 -pipe  -I/src/sbin/geom/class/multipath/../../../../sys 
-I/src/sbin/geom/class/multipath/../.. -std=gnu99 -fstack-protector 
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type 
-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align 
-Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls 
-Wold-style-definition -Wno-pointer-sign -c 
/src/sbin/geom/class/multipath/geom_multipath.c -o geom_multipath.So
cc1: warnings being treated as errors
/src/sbin/geom/class/multipath/geom_multipath.c: In function 'mp_label':
/src/sbin/geom/class/multipath/geom_multipath.c:243: warning: comparison 
between signed and unsigned
*** Error code 1

Stop in /src/sbin/geom/class/multipath.
*** Error code 1

Stop in /src/sbin/geom/class.
*** Error code 1

Stop in /src/sbin/geom.
*** Error code 1

Stop in /src/sbin.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2011-11-12 13:17:03 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2011-11-12 13:17:03 - ERROR: failed to build world
TB --- 2011-11-12 13:17:03 - 5394.73 user 901.66 system 7023.01 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-i386-i386.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: no sound on alc-889

2011-11-12 Thread Raoul
On Sat, 12 Nov 2011 13:26:43 +0200
Alexander Motin m...@freebsd.org wroe:

 On 11.11.2011 22:48, rm...@free.fr wrote:
  i try to unmute a box with a mcp79 ane alc-889.
  
  the sound is working on another os, and playback
  and recording are treated separately by os x, (10.7).
  
  i tried different combinations according to the snd_hda man page,
  but i cannot find a good one.
  
  Pleease, have you some hints?
  
  here is the config and pindump:
  
  hdac0: NVidia MCP79 High Definition Audio Controller mem 
  0xd348-0xd3483fff irq 22 at device 8.0 on pci0
  
  pci3: network at device 0.0 (no driver attached)
  hdac0: HDA Codec #0: Realtek ALC885
  pcm0: HDA Realtek ALC885 PCM #0 Analog at cad 0 nid 1 on hdac0
  pcm1: HDA Realtek ALC885 PCM #1 Digital at cad 0 nid 1 on hdac0
  pcm2: HDA Realtek ALC885 PCM #2 Analog at cad 0 nid 1 on hdac0
pins dump
  hdac0: Dumping AFG cad=0 nid=1 pins:
  hdac0:  nid 20 0x012b4040 as  4 seq  0Headphones  Jack jack 11 loc  1 
  color   Green misc 0
  hdac0:Caps: IN OUT HP  VREF Sense: 0x
  hdac0:  nid 21 0x018b3010 as  1 seq  0   Line-in  Jack jack 11 loc  1 
  colorBlue misc 0
  hdac0:Caps: IN OUT HP  VREF Sense: 0x
  hdac0:  nid 22 0x40f0 as 15 seq  0  Line-out  None jack  0 loc  0 
  color Unknown misc 0 [DISABLED]
  hdac0:Caps: IN OUT HP   Sense: 0x
  hdac0:  nid 23 0x40f0 as 15 seq  0  Line-out  None jack  0 loc  0 
  color Unknown misc 0 [DISABLED]
  hdac0:Caps: IN OUT HP   Sense: 0x
  hdac0:  nid 24 0x90100130 as  3 seq  0   Speaker Fixed jack  0 loc 16 
  color Unknown misc 1
  hdac0:Caps: IN OUT HP  VREF Sense: 0x
  hdac0:  nid 25 0x40f0 as 15 seq  0  Line-out  None jack  0 loc  0 
  color Unknown misc 0 [DISABLED]
  hdac0:Caps: IN OUT HP  VREF Sense: 0x
  hdac0:  nid 26 0x40f0 as 15 seq  0  Line-out  None jack  0 loc  0 
  color Unknown misc 0 [DISABLED]
  hdac0:Caps: IN OUT HP  VREF Sense: 0x
  hdac0:  nid 27 0x40f0 as 15 seq  0  Line-out  None jack  0 loc  0 
  color Unknown misc 0 [DISABLED]
  hdac0:Caps: IN OUT HP  VREF Sense: 0x
  hdac0:  nid 28 0x40f0 as 15 seq  0  Line-out  None jack  0 loc  0 
  color Unknown misc 0 [DISABLED]
  hdac0:Caps: IN 
  hdac0:  nid 30 0x014be050 as  5 seq  0 SPDIF-out  Jack jack 11 loc  1 
  color   White misc 0
  hdac0:Caps:OUT 
  hdac0:  nid 31 0x01cbe020 as  2 seq  0  SPDIF-in  Jack jack 11 loc  1 
  color   White misc 0
  hdac0:Caps: IN 
  hdac0: NumGPIO=2 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
  hdac0: GPIO: data=0x enable=0x direction=0x
  hdac0:   wake=0x  unsol=0xsticky=0x
  
  Thanks, in advance for your help.
 
 Could you describe what exactly doesn't work? Do you have sound from
 speaker or headphones output? In your case headphones are on separate
 device pcm2/dsp2, but it can be reconfigured for automatic playback
 redirection with such hint:
 hint.hdac.0.cad0.nid20.config=as=3 seq=15

Hi Alexander

in fact no sound nor internal hp, nor from line out/(digital output).
with your hint, the only change is, pcm2 disappeared.
and stillno sound at all.

some pecisions:
hardware: macmini (intel core duo) built on 6-2009 with:
line in
line out/phone.

i observe this behavior on a macpro and even on a macbook air too:
i mean no sound at all.

with an external amplification i can hear very low signal:
(perhaps a crosstalk)?

i can not say anything about input as the output is not working.
 
in other hand, The snd_hda man page does not say the meaning of
the association numbers 1-14, there is only 0 - disabled, and
15 - unassociated???

can you tell me what they represent, and if you have time,
add some words on the man page?

many thanks for your help.

Raoul
rm...@free.fr



___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


[head tinderbox] failure on mips/mips

2011-11-12 Thread FreeBSD Tinderbox
TB --- 2011-11-12 13:11:23 - tinderbox 2.8 running on freebsd-current.sentex.ca
TB --- 2011-11-12 13:11:23 - starting HEAD tinderbox run for mips/mips
TB --- 2011-11-12 13:11:23 - cleaning the object tree
TB --- 2011-11-12 13:11:32 - cvsupping the source tree
TB --- 2011-11-12 13:11:32 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/mips/mips/supfile
TB --- 2011-11-12 13:11:45 - building world
TB --- 2011-11-12 13:11:45 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-12 13:11:45 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-12 13:11:45 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-12 13:11:45 - SRCCONF=/dev/null
TB --- 2011-11-12 13:11:45 - TARGET=mips
TB --- 2011-11-12 13:11:45 - TARGET_ARCH=mips
TB --- 2011-11-12 13:11:45 - TZ=UTC
TB --- 2011-11-12 13:11:45 - __MAKE_CONF=/dev/null
TB --- 2011-11-12 13:11:45 - cd /src
TB --- 2011-11-12 13:11:45 - /usr/bin/make -B buildworld
 World build started on Sat Nov 12 13:11:46 UTC 2011
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
[...]
cc -fpic -DPIC -O -pipe -G0  -I/src/sbin/geom/class/mountver/../.. -std=gnu99 
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type 
-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align 
-Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls 
-Wold-style-definition -Wno-pointer-sign -c 
/src/sbin/geom/class/mountver/../../misc/subr.c -o subr.So
building shared library geom_mountver.so
gzip -cn /src/sbin/geom/class/mountver/gmountver.8  gmountver.8.gz
=== sbin/geom/class/multipath (all)
cc -fpic -DPIC -O -pipe -G0  -I/src/sbin/geom/class/multipath/../../../../sys 
-I/src/sbin/geom/class/multipath/../.. -std=gnu99 -Wsystem-headers -Werror 
-Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings 
-Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline 
-Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c 
/src/sbin/geom/class/multipath/geom_multipath.c -o geom_multipath.So
cc1: warnings being treated as errors
/src/sbin/geom/class/multipath/geom_multipath.c: In function 'mp_label':
/src/sbin/geom/class/multipath/geom_multipath.c:243: warning: comparison 
between signed and unsigned
*** Error code 1

Stop in /src/sbin/geom/class/multipath.
*** Error code 1

Stop in /src/sbin/geom/class.
*** Error code 1

Stop in /src/sbin/geom.
*** Error code 1

Stop in /src/sbin.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2011-11-12 13:59:19 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2011-11-12 13:59:19 - ERROR: failed to build world
TB --- 2011-11-12 13:59:19 - 2007.28 user 578.16 system 2875.66 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-mips-mips.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


[head tinderbox] failure on powerpc/powerpc

2011-11-12 Thread FreeBSD Tinderbox
TB --- 2011-11-12 13:17:04 - tinderbox 2.8 running on freebsd-current.sentex.ca
TB --- 2011-11-12 13:17:04 - starting HEAD tinderbox run for powerpc/powerpc
TB --- 2011-11-12 13:17:04 - cleaning the object tree
TB --- 2011-11-12 13:17:16 - cvsupping the source tree
TB --- 2011-11-12 13:17:16 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/powerpc/powerpc/supfile
TB --- 2011-11-12 13:17:29 - building world
TB --- 2011-11-12 13:17:29 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-12 13:17:29 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-12 13:17:29 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-12 13:17:29 - SRCCONF=/dev/null
TB --- 2011-11-12 13:17:29 - TARGET=powerpc
TB --- 2011-11-12 13:17:29 - TARGET_ARCH=powerpc
TB --- 2011-11-12 13:17:29 - TZ=UTC
TB --- 2011-11-12 13:17:29 - __MAKE_CONF=/dev/null
TB --- 2011-11-12 13:17:29 - cd /src
TB --- 2011-11-12 13:17:29 - /usr/bin/make -B buildworld
 World build started on Sat Nov 12 13:17:30 UTC 2011
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
[...]
cc -fpic -DPIC -O2 -pipe  -I/src/sbin/geom/class/mountver/../.. -std=gnu99 
-fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W 
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter 
-Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls 
-Wold-style-definition -Wno-pointer-sign -c 
/src/sbin/geom/class/mountver/../../misc/subr.c -o subr.So
building shared library geom_mountver.so
gzip -cn /src/sbin/geom/class/mountver/gmountver.8  gmountver.8.gz
=== sbin/geom/class/multipath (all)
cc -fpic -DPIC -O2 -pipe  -I/src/sbin/geom/class/multipath/../../../../sys 
-I/src/sbin/geom/class/multipath/../.. -std=gnu99 -fstack-protector 
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type 
-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align 
-Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls 
-Wold-style-definition -Wno-pointer-sign -c 
/src/sbin/geom/class/multipath/geom_multipath.c -o geom_multipath.So
cc1: warnings being treated as errors
/src/sbin/geom/class/multipath/geom_multipath.c: In function 'mp_label':
/src/sbin/geom/class/multipath/geom_multipath.c:243: warning: comparison 
between signed and unsigned
*** Error code 1

Stop in /src/sbin/geom/class/multipath.
*** Error code 1

Stop in /src/sbin/geom/class.
*** Error code 1

Stop in /src/sbin/geom.
*** Error code 1

Stop in /src/sbin.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2011-11-12 15:00:09 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2011-11-12 15:00:09 - ERROR: failed to build world
TB --- 2011-11-12 15:00:09 - 4958.41 user 859.10 system 6184.96 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: Is fork() hook ever possible?

2011-11-12 Thread David Schultz
On Sat, Nov 12, 2011, Andrey Chernov wrote:
 On Tue, Sep 16, 2008 at 04:19:32PM -0400, David Schultz wrote:
  secteam@ already agreed to the idea of solving the fork problem as
  in OpenBSD over a month ago. 
 
 On Wed, Sep 17, 2008 at 12:50:25PM +0400, Andrey Chernov wrote:
  I agree with your patch (BTW you can remove unneded #define RANDOMDEV).
 
 The question remains: why you don't commit this patch all that 3 
 years, having secteam@ and mine agreements too?

Sorry, but in the three years that have intervened, my brain has
paged out the relevant context.  As I recall, there were issues
with some of your changes to arc4random() and I proposed tracking
OpenBSD's implementation more closely.  If everyone's in agreement
on that, please go ahead and commit the changes.

On a related note, I recall that the biggest issue is that
getpid() overhead now dominates the cost of arc4random().
The title of this thread suggests a simple solution!
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


[Call for reviews] Support domain-search option in dhclient(8)

2011-11-12 Thread Jean-Sébastien Pédron
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!

Attached is a patch that adds support for domain-search option
(#119) as defined in RFC 3397[1]. This allows a DHCP server to publish
a list of domain names that should be used to search for non-fully
qualified domain names.

There's already a PR opened about this:
http://www.freebsd.org/cgi/query-pr.cgi?pr=151940

With this patch applied and a DHCP server configured to publish this
option, dhclient(8) will add a line similar to the following one:
  search example.org. foobar.com.

In the example, this indicates that the name www should be resolved
first as www.example.org, then as www.foobar.com.

I prepared a regression test to be added to tools/regression (not
included). However, I'm not knowledgeable enough to anticipate all
security-related issues. I would appreciate a review especially with
this in mind :)

Thank you!

[1] http://www.faqs.org/rfcs/rfc3397.html

- -- 
Jean-Sébastien Pédron
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.18 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6+macACgkQa+xGJsFYOlMRBACghVQ62JSyt8/yGOsV9jE661W/
PRoAoMsZnSYLfVSzCqZhxbukrbP4bI4q
=qEZg
-END PGP SIGNATURE-
Index: sbin/dhclient/dhcp.h
===
--- sbin/dhclient/dhcp.h(revision 227467)
+++ sbin/dhclient/dhcp.h(working copy)
@@ -169,6 +169,7 @@
 #defineDHO_STREETTALK_SERVER   75
 #defineDHO_STREETTALK_DA_SERVER76
 #define DHO_DHCP_USER_CLASS_ID 77
+#defineDHO_DOMAIN_SEARCH   119
 #define DHO_CLASSLESS_ROUTES   121
 #define DHO_END255
 
Index: sbin/dhclient/dhclient.c
===
--- sbin/dhclient/dhclient.c(revision 227467)
+++ sbin/dhclient/dhclient.c(working copy)
@@ -2453,6 +2453,7 @@
case DHO_DHCP_CLIENT_IDENTIFIER:
case DHO_BOOTFILE_NAME:
case DHO_DHCP_USER_CLASS_ID:
+   case DHO_DOMAIN_SEARCH:
case DHO_END:
return (1);
case DHO_CLASSLESS_ROUTES:
Index: sbin/dhclient/tables.c
===
--- sbin/dhclient/tables.c  (revision 227467)
+++ sbin/dhclient/tables.c  (working copy)
@@ -184,7 +184,7 @@
{ option-116, X,dhcp_universe, 116 },
{ option-117, X,dhcp_universe, 117 },
{ option-118, X,dhcp_universe, 118 },
-   { option-119, X,dhcp_universe, 119 },
+   { domain-search, t, dhcp_universe, 119 },
{ option-120, X,dhcp_universe, 120 },
{ classless-routes, BA, dhcp_universe, 121 },
{ option-122, X,dhcp_universe, 122 },
@@ -400,12 +400,13 @@
DHO_IRC_SERVER,
DHO_STREETTALK_SERVER,
DHO_STREETTALK_DA_SERVER,
+   DHO_DOMAIN_SEARCH,
 
/* Presently-undefined options... */
62, 63, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91,
92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105,
106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117,
-   118, 119, 120, 122, 123, 124, 125, 126, 127, 128, 129, 130,
+   118, 120, 122, 123, 124, 125, 126, 127, 128, 129, 130,
131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142,
143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154,
155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166,
Index: sbin/dhclient/clparse.c
===
--- sbin/dhclient/clparse.c (revision 227467)
+++ sbin/dhclient/clparse.c (working copy)
@@ -100,6 +100,8 @@
DHO_DOMAIN_NAME_SERVERS;
top_level_config.requested_options
[top_level_config.requested_option_count++] = DHO_HOST_NAME;
+   top_level_config.requested_options
+   [top_level_config.requested_option_count++] = DHO_DOMAIN_SEARCH;
 
if ((cfile = fopen(path_dhclient_conf, r)) != NULL) {
do {
Index: sbin/dhclient/options.c
===
--- sbin/dhclient/options.c (revision 227467)
+++ sbin/dhclient/options.c (working copy)
@@ -55,6 +55,10 @@
 void   parse_option_buffer(struct packet *, unsigned char *, int);
 intstore_options(unsigned char *, int, struct tree_cache **,
unsigned char *, int, int, int, int);
+void   expand_domain_search(struct packet *packet);
+intfind_search_domain_name_len(struct option_data *option, int *offset);
+void   expand_search_domain_name(struct option_data *option, int *offset,
+   unsigned char **domain_search);
 
 
 /*
@@ -94,6 +98,11 @@
(unsigned 

[head tinderbox] failure on arm/arm

2011-11-12 Thread FreeBSD Tinderbox
TB --- 2011-11-12 16:10:00 - tinderbox 2.8 running on freebsd-current.sentex.ca
TB --- 2011-11-12 16:10:00 - starting HEAD tinderbox run for arm/arm
TB --- 2011-11-12 16:10:00 - cleaning the object tree
TB --- 2011-11-12 16:10:17 - cvsupping the source tree
TB --- 2011-11-12 16:10:17 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/arm/arm/supfile
TB --- 2011-11-12 16:10:32 - building world
TB --- 2011-11-12 16:10:32 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-12 16:10:32 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-12 16:10:32 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-12 16:10:32 - SRCCONF=/dev/null
TB --- 2011-11-12 16:10:32 - TARGET=arm
TB --- 2011-11-12 16:10:32 - TARGET_ARCH=arm
TB --- 2011-11-12 16:10:32 - TZ=UTC
TB --- 2011-11-12 16:10:32 - __MAKE_CONF=/dev/null
TB --- 2011-11-12 16:10:32 - cd /src
TB --- 2011-11-12 16:10:32 - /usr/bin/make -B buildworld
 World build started on Sat Nov 12 16:10:33 UTC 2011
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
[...]
cc -fpic -DPIC -O -pipe  -I/src/sbin/geom/class/mountver/../.. -std=gnu99 
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type 
-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align 
-Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls 
-Wold-style-definition -Wno-pointer-sign -c 
/src/sbin/geom/class/mountver/../../misc/subr.c -o subr.So
building shared library geom_mountver.so
gzip -cn /src/sbin/geom/class/mountver/gmountver.8  gmountver.8.gz
=== sbin/geom/class/multipath (all)
cc -fpic -DPIC -O -pipe  -I/src/sbin/geom/class/multipath/../../../../sys 
-I/src/sbin/geom/class/multipath/../.. -std=gnu99 -Wsystem-headers -Werror 
-Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings 
-Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline 
-Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c 
/src/sbin/geom/class/multipath/geom_multipath.c -o geom_multipath.So
cc1: warnings being treated as errors
/src/sbin/geom/class/multipath/geom_multipath.c: In function 'mp_label':
/src/sbin/geom/class/multipath/geom_multipath.c:243: warning: comparison 
between signed and unsigned
*** Error code 1

Stop in /src/sbin/geom/class/multipath.
*** Error code 1

Stop in /src/sbin/geom/class.
*** Error code 1

Stop in /src/sbin/geom.
*** Error code 1

Stop in /src/sbin.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2011-11-12 16:56:29 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2011-11-12 16:56:29 - ERROR: failed to build world
TB --- 2011-11-12 16:56:29 - 1971.11 user 602.91 system 2788.45 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-arm-arm.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: Is fork() hook ever possible?

2011-11-12 Thread Andrey Chernov
On Sat, Nov 12, 2011 at 10:41:35AM -0500, David Schultz wrote:
 On Sat, Nov 12, 2011, Andrey Chernov wrote:
  On Tue, Sep 16, 2008 at 04:19:32PM -0400, David Schultz wrote:
   secteam@ already agreed to the idea of solving the fork problem as
   in OpenBSD over a month ago. 
  
  On Wed, Sep 17, 2008 at 12:50:25PM +0400, Andrey Chernov wrote:
   I agree with your patch (BTW you can remove unneded #define RANDOMDEV).
  
  The question remains: why you don't commit this patch all that 3 
  years, having secteam@ and mine agreements too?
 
 Sorry, but in the three years that have intervened, my brain has
 paged out the relevant context.  As I recall, there were issues
 with some of your changes to arc4random() and I proposed tracking
 OpenBSD's implementation more closely.  

I can't say for secteam@ side (it was you who said that they agree), but 
personally me still agree with your proposal and still see security 
problem in our current implementation, like the same-generated tmp names 
after fork in son and parent.

 If everyone's in agreement on that, please go ahead and commit the changes.

I can't... It seems I reach dead end talking to our @secteam. In few 
words, they:
1) Explicitly disallow my commits in all 'random' areas until their 
review.
2) They never do that review (I must to mention again that 3 years 
passed since they promise it).
Being particular, I suggest them to use your patch at the end. Nothing 
happens.
Hope you'll get more luck with them committing it by yourself.

 On a related note, I recall that the biggest issue is that
 getpid() overhead now dominates the cost of arc4random().
 The title of this thread suggests a simple solution!

I initially thinking about making fork hook which will change arc4random 
reinit variable. You express just opposite opinion those times:

On Tue, Sep 16, 2008 at 04:19:32PM -0400, David Schultz wrote:
 If getpid() really winds up being a serious problem, we can solve
 it in a principled way, e.g., by having the kernel fault in a
 read-only page containing the current process pid, and having
 libc's getpid() read it. I know Windows has a facility like this
 that they use for a number of things, and ISTR that Linux recently
 introduced one, too. The bottom line is that we shouldn't solve
 the problem with hacks in arc4random(), and we shouldn't try to
 solve it at all until it's proven to be a real problem.

I run some tests but can't come to conclusion, is overhead is significant 
or not for real life tasks (which usually don't call arc4random() very 
often in the loop).

-- 
http://ache.vniz.net/
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: KMS testing, intel only

2011-11-12 Thread Kurt Jaeger
Hi!

 Before I begin, I appreciate any help/comments/criticism. Please, don't
 hesitate to support this topic.

Comment: This is briliant! Thank you very much!

I tested it on an Lenovo ThinkPad X121e, which has Intel GMA:

vgapci0@pci0:0:2:0: class=0x03 card=0x21ed17aa chip=0x01168086 rev=0x09 
hdr=0x00
vendor = 'Intel Corporation'
device = '2nd Generation Core Processor Family Integrated Graphics 
Controller'
class  = display
subclass   = VGA
bar   [10] = type Memory, range 64, base 0xd000, size 4194304, enabled
bar   [18] = type Prefetchable Memory, range 64, base 0xc000, size 
268435456, enabled
bar   [20] = type I/O Port, range 32, base 0x4000, size 64, enabled

xdpyinfo says:

screen #0:
  dimensions:1366x768 pixels (361x203 millimeters)

which did not work with the normal xorg before. Very nice!

 After you boot, login with root.
 First, you can try just launch
 ./runx.sh

Everything works fine. stellarium is very nice 8-)

-- 
p...@opsec.eu+49 171 3101372 9 years to go !
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


[head tinderbox] failure on i386/i386

2011-11-12 Thread FreeBSD Tinderbox
TB --- 2011-11-12 16:10:00 - tinderbox 2.8 running on freebsd-current.sentex.ca
TB --- 2011-11-12 16:10:00 - starting HEAD tinderbox run for i386/i386
TB --- 2011-11-12 16:10:00 - cleaning the object tree
TB --- 2011-11-12 16:10:17 - cvsupping the source tree
TB --- 2011-11-12 16:10:17 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/i386/i386/supfile
TB --- 2011-11-12 16:10:32 - building world
TB --- 2011-11-12 16:10:32 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-12 16:10:32 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-12 16:10:32 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-12 16:10:32 - SRCCONF=/dev/null
TB --- 2011-11-12 16:10:32 - TARGET=i386
TB --- 2011-11-12 16:10:32 - TARGET_ARCH=i386
TB --- 2011-11-12 16:10:32 - TZ=UTC
TB --- 2011-11-12 16:10:32 - __MAKE_CONF=/dev/null
TB --- 2011-11-12 16:10:32 - cd /src
TB --- 2011-11-12 16:10:32 - /usr/bin/make -B buildworld
 World build started on Sat Nov 12 16:10:33 UTC 2011
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
[...]
cc -fpic -DPIC -O2 -pipe  -I/src/sbin/geom/class/mountver/../.. -std=gnu99 
-fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W 
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter 
-Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls 
-Wold-style-definition -Wno-pointer-sign -c 
/src/sbin/geom/class/mountver/../../misc/subr.c -o subr.So
building shared library geom_mountver.so
gzip -cn /src/sbin/geom/class/mountver/gmountver.8  gmountver.8.gz
=== sbin/geom/class/multipath (all)
cc -fpic -DPIC -O2 -pipe  -I/src/sbin/geom/class/multipath/../../../../sys 
-I/src/sbin/geom/class/multipath/../.. -std=gnu99 -fstack-protector 
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type 
-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align 
-Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls 
-Wold-style-definition -Wno-pointer-sign -c 
/src/sbin/geom/class/multipath/geom_multipath.c -o geom_multipath.So
cc1: warnings being treated as errors
/src/sbin/geom/class/multipath/geom_multipath.c: In function 'mp_label':
/src/sbin/geom/class/multipath/geom_multipath.c:243: warning: comparison 
between signed and unsigned
*** Error code 1

Stop in /src/sbin/geom/class/multipath.
*** Error code 1

Stop in /src/sbin/geom/class.
*** Error code 1

Stop in /src/sbin/geom.
*** Error code 1

Stop in /src/sbin.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2011-11-12 18:06:35 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2011-11-12 18:06:35 - ERROR: failed to build world
TB --- 2011-11-12 18:06:35 - 5682.21 user 937.89 system 6994.54 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-i386-i386.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


[head tinderbox] failure on i386/pc98

2011-11-12 Thread FreeBSD Tinderbox
TB --- 2011-11-12 16:10:00 - tinderbox 2.8 running on freebsd-current.sentex.ca
TB --- 2011-11-12 16:10:00 - starting HEAD tinderbox run for i386/pc98
TB --- 2011-11-12 16:10:00 - cleaning the object tree
TB --- 2011-11-12 16:10:17 - cvsupping the source tree
TB --- 2011-11-12 16:10:17 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/i386/pc98/supfile
TB --- 2011-11-12 16:10:32 - building world
TB --- 2011-11-12 16:10:32 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-12 16:10:32 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-12 16:10:32 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-12 16:10:32 - SRCCONF=/dev/null
TB --- 2011-11-12 16:10:32 - TARGET=pc98
TB --- 2011-11-12 16:10:32 - TARGET_ARCH=i386
TB --- 2011-11-12 16:10:32 - TZ=UTC
TB --- 2011-11-12 16:10:32 - __MAKE_CONF=/dev/null
TB --- 2011-11-12 16:10:32 - cd /src
TB --- 2011-11-12 16:10:32 - /usr/bin/make -B buildworld
 World build started on Sat Nov 12 16:10:33 UTC 2011
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
[...]
cc -fpic -DPIC -O2 -pipe  -I/src/sbin/geom/class/mountver/../.. -std=gnu99 
-fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W 
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter 
-Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls 
-Wold-style-definition -Wno-pointer-sign -c 
/src/sbin/geom/class/mountver/../../misc/subr.c -o subr.So
building shared library geom_mountver.so
gzip -cn /src/sbin/geom/class/mountver/gmountver.8  gmountver.8.gz
=== sbin/geom/class/multipath (all)
cc -fpic -DPIC -O2 -pipe  -I/src/sbin/geom/class/multipath/../../../../sys 
-I/src/sbin/geom/class/multipath/../.. -std=gnu99 -fstack-protector 
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type 
-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align 
-Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls 
-Wold-style-definition -Wno-pointer-sign -c 
/src/sbin/geom/class/multipath/geom_multipath.c -o geom_multipath.So
cc1: warnings being treated as errors
/src/sbin/geom/class/multipath/geom_multipath.c: In function 'mp_label':
/src/sbin/geom/class/multipath/geom_multipath.c:243: warning: comparison 
between signed and unsigned
*** Error code 1

Stop in /src/sbin/geom/class/multipath.
*** Error code 1

Stop in /src/sbin/geom/class.
*** Error code 1

Stop in /src/sbin/geom.
*** Error code 1

Stop in /src/sbin.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2011-11-12 18:06:36 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2011-11-12 18:06:36 - ERROR: failed to build world
TB --- 2011-11-12 18:06:36 - 5681.89 user 954.62 system 6995.85 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-i386-pc98.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


[head tinderbox] failure on mips/mips

2011-11-12 Thread FreeBSD Tinderbox
TB --- 2011-11-12 18:06:36 - tinderbox 2.8 running on freebsd-current.sentex.ca
TB --- 2011-11-12 18:06:36 - starting HEAD tinderbox run for mips/mips
TB --- 2011-11-12 18:06:36 - cleaning the object tree
TB --- 2011-11-12 18:06:45 - cvsupping the source tree
TB --- 2011-11-12 18:06:45 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/mips/mips/supfile
TB --- 2011-11-12 18:07:31 - building world
TB --- 2011-11-12 18:07:31 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-12 18:07:31 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-12 18:07:31 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-12 18:07:31 - SRCCONF=/dev/null
TB --- 2011-11-12 18:07:31 - TARGET=mips
TB --- 2011-11-12 18:07:31 - TARGET_ARCH=mips
TB --- 2011-11-12 18:07:31 - TZ=UTC
TB --- 2011-11-12 18:07:31 - __MAKE_CONF=/dev/null
TB --- 2011-11-12 18:07:31 - cd /src
TB --- 2011-11-12 18:07:31 - /usr/bin/make -B buildworld
 World build started on Sat Nov 12 18:07:32 UTC 2011
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
[...]
cc -fpic -DPIC -O -pipe -G0  -I/src/sbin/geom/class/mountver/../.. -std=gnu99 
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type 
-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align 
-Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls 
-Wold-style-definition -Wno-pointer-sign -c 
/src/sbin/geom/class/mountver/../../misc/subr.c -o subr.So
building shared library geom_mountver.so
gzip -cn /src/sbin/geom/class/mountver/gmountver.8  gmountver.8.gz
=== sbin/geom/class/multipath (all)
cc -fpic -DPIC -O -pipe -G0  -I/src/sbin/geom/class/multipath/../../../../sys 
-I/src/sbin/geom/class/multipath/../.. -std=gnu99 -Wsystem-headers -Werror 
-Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings 
-Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline 
-Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c 
/src/sbin/geom/class/multipath/geom_multipath.c -o geom_multipath.So
cc1: warnings being treated as errors
/src/sbin/geom/class/multipath/geom_multipath.c: In function 'mp_label':
/src/sbin/geom/class/multipath/geom_multipath.c:243: warning: comparison 
between signed and unsigned
*** Error code 1

Stop in /src/sbin/geom/class/multipath.
*** Error code 1

Stop in /src/sbin/geom/class.
*** Error code 1

Stop in /src/sbin/geom.
*** Error code 1

Stop in /src/sbin.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2011-11-12 18:57:17 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2011-11-12 18:57:17 - ERROR: failed to build world
TB --- 2011-11-12 18:57:17 - 2146.34 user 601.64 system 3041.55 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-mips-mips.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


[head tinderbox] failure on powerpc/powerpc

2011-11-12 Thread FreeBSD Tinderbox
TB --- 2011-11-12 18:06:36 - tinderbox 2.8 running on freebsd-current.sentex.ca
TB --- 2011-11-12 18:06:36 - starting HEAD tinderbox run for powerpc/powerpc
TB --- 2011-11-12 18:06:36 - cleaning the object tree
TB --- 2011-11-12 18:06:46 - cvsupping the source tree
TB --- 2011-11-12 18:06:46 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/powerpc/powerpc/supfile
TB --- 2011-11-12 18:07:31 - building world
TB --- 2011-11-12 18:07:31 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-12 18:07:31 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-12 18:07:31 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-12 18:07:31 - SRCCONF=/dev/null
TB --- 2011-11-12 18:07:31 - TARGET=powerpc
TB --- 2011-11-12 18:07:31 - TARGET_ARCH=powerpc
TB --- 2011-11-12 18:07:31 - TZ=UTC
TB --- 2011-11-12 18:07:31 - __MAKE_CONF=/dev/null
TB --- 2011-11-12 18:07:31 - cd /src
TB --- 2011-11-12 18:07:31 - /usr/bin/make -B buildworld
 World build started on Sat Nov 12 18:07:32 UTC 2011
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
[...]
cc -fpic -DPIC -O2 -pipe  -I/src/sbin/geom/class/mountver/../.. -std=gnu99 
-fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W 
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter 
-Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls 
-Wold-style-definition -Wno-pointer-sign -c 
/src/sbin/geom/class/mountver/../../misc/subr.c -o subr.So
building shared library geom_mountver.so
gzip -cn /src/sbin/geom/class/mountver/gmountver.8  gmountver.8.gz
=== sbin/geom/class/multipath (all)
cc -fpic -DPIC -O2 -pipe  -I/src/sbin/geom/class/multipath/../../../../sys 
-I/src/sbin/geom/class/multipath/../.. -std=gnu99 -fstack-protector 
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type 
-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align 
-Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls 
-Wold-style-definition -Wno-pointer-sign -c 
/src/sbin/geom/class/multipath/geom_multipath.c -o geom_multipath.So
cc1: warnings being treated as errors
/src/sbin/geom/class/multipath/geom_multipath.c: In function 'mp_label':
/src/sbin/geom/class/multipath/geom_multipath.c:243: warning: comparison 
between signed and unsigned
*** Error code 1

Stop in /src/sbin/geom/class/multipath.
*** Error code 1

Stop in /src/sbin/geom/class.
*** Error code 1

Stop in /src/sbin/geom.
*** Error code 1

Stop in /src/sbin.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2011-11-12 19:57:01 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2011-11-12 19:57:01 - ERROR: failed to build world
TB --- 2011-11-12 19:57:01 - 5313.04 user 906.64 system 6624.34 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: [Call for reviews] Support domain-search option in dhclient(8)

2011-11-12 Thread Andrey V. Elsukov
On 12.11.2011 20:07, Jean-Sébastien Pédron wrote:
 Attached is a patch that adds support for domain-search option
 (#119) as defined in RFC 3397[1]. This allows a DHCP server to publish
 a list of domain names that should be used to search for non-fully
 qualified domain names.
 
 There's already a PR opened about this:
 http://www.freebsd.org/cgi/query-pr.cgi?pr=151940
 
 With this patch applied and a DHCP server configured to publish this
 option, dhclient(8) will add a line similar to the following one:
   search example.org. foobar.com.
 
 In the example, this indicates that the name www should be resolved
 first as www.example.org, then as www.foobar.com.
 
 I prepared a regression test to be added to tools/regression (not
 included). However, I'm not knowledgeable enough to anticipate all
 security-related issues. I would appreciate a review especially with
 this in mind :)

Hi,

I have several questions after a quick view of your patch:
1. AFAIR, our dhclient was doing changes in the system configuration via
dhclient-script, but i don't see that your changes touched it.
2. Your code handles compressed options. It's good. But it seems you
don't check names correctness. There were some checks for domain-name
option, probably you can use them.
3. Also it would be good to update man pages :)

-- 
WBR, Andrey V. Elsukov



signature.asc
Description: OpenPGP digital signature


Re: KMS testing, intel only

2011-11-12 Thread Alexander Yerenkow
 Thanks. Do you think you'll provide amd64 version of that img as well?

I'm working currently on fully automatizing this process, and it mostly
done.
But, I got now FreeBSD-9-kms-i386-r227450-2011-11-12.img
and... it seems not seeing none of my two intel cards. :(

Well, or I did broke something, or some commit did broke everything, can't
say yet.
I'm going build now amd64 version as well, will see if it will work.



-- 
Regards,
Alexander Yerenkow
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: KMS testing, intel only

2011-11-12 Thread Davide Italiano
On Fri, Nov 11, 2011 at 4:14 PM, Alexander Yerenkow yeren...@gmail.com wrote:
 Hello all.
 Before I begin, I appreciate any help/comments/criticism. Please, don't
 hesitate to support this topic.

 Some time ago I've announced new project - of creating rolling images of
 FreeBSD from SVN.
 Along with plain standard ones (plain world+kernel install of bare system)
 I'm working on creating specific images.
 Like with preset installed packages (kde-set, gnome-set, etc.), like with
 some patches (area51/kde-wip/kms) etc.
 So, I did not fully automated (yet) creating of this one image, but you
 already can grab it to test:

 http://gits.kiev.ua/FreeBSD/FreeBSD-9-kms-i386-r227337-2011-11-10.img.xz

 I'm sure you find filename fully descriptive :)
 What can be done with this image (after unpacking):
 dd if=this.img of=your-usb bs=64M
 and simply boot from your usb.

 After you boot, login with root.
 First, you can try just launch
 ./runx.sh
 It will use /root/xorg.conf, create few log files (probably useful ones) in
 /root and launch two xterms and openbox for WM.
 How you can test graphics:
 1. glxgears/glxinfo - it's not a benchmar, as you may know :)
 2. blender - extensive graphics usage
 3. stellarium - also  extensive graphics usage
 4. seamonkey (which starts for about 2-3 minutes in absence of internet) -
 can be used to immediately send feedback and/or log files.

 Please, note that switching to tty not working; after you finish with
 playing KMS you simply shutdown system.
 If you had some troubles, you always can reboot and edit /root/xorg.conf
 before launch X. Before each X start copy of xorg are creating, so you can
 make some tests and find difference between files, not worrying for
 backuping/storing configs.

 Misc notes:
 there is a script exist:
 /root/addpackage.sh
 to make life easier if you want to test some other software (remotely
 installs packages, e.g. ./  addpackage.sh  firefox will get you firefox.
 maybe.)
 Also, on image about 1G free space, so you can install something even big,
 to try it.
 Also, on image pretty fresh ports tree present, with applied xorg-dev
 patch, you can play with ports too.

 Full package list:
 OpenEXR-1.6.1_3
 aalib-1.4.r5_6
 atk-2.0.1
 autoconf-2.68
 autoconf-wrapper-20101119
 automake-1.11.1
 automake-wrapper-20101119
 bigreqsproto-1.1.1
 bison-2.4.3,1
 bitstream-vera-1.10_5
 blender-2.60
 ca_root_nss-3.12.11_1
 cairo-1.10.2_2,1
 compositeproto-0.4.2
 consolekit-0.4.3
 cups-client-1.5.0
 damageproto-1.2.1
 dbus-1.4.14_1
 dbus-glib-0.94
 desktop-file-utils-0.18
 dmidecode-2.11
 dri-7.11,2
 dri2proto-2.6
 eggdbus-0.6_1
 encodings-1.0.4,1
 evieext-1.1.1
 expat-2.0.1_2
 ffmpeg-0.7.6,1
 fftw3-3.3_1
 fixesproto-5.0
 flac-1.2.1_2
 flex-2.5.35_4
 font-bh-ttf-1.0.3
 font-misc-ethiopic-1.0.3
 font-misc-meltho-1.0.3
 font-util-1.2.0
 fontconfig-2.8.0_1,1
 fontsproto-2.1.1
 freealut-1.1.0_2
 freetype2-2.4.7
 gamin-0.1.10_4
 gdk-pixbuf-2.23.5_1
 gettext-0.18.1.1
 gio-fam-backend-2.28.8
 glew-1.7.0
 glib-2.28.8_2
 glproto-1.4.14
 gmake-3.82
 gnome_subr-1.0
 gobject-introspection-0.10.8
 gpac-libgpac-0.4.5_4,1
 gtk-2.24.6
 gtk-update-icon-cache-2.24.6
 hal-0.5.14_17
 hicolor-icon-theme-0.12
 ilmbase-1.0.1_1
 inputproto-2.0.2
 intltool-0.41.1
 jasper-1.900.1_9
 jbigkit-1.6
 jpeg-8_3
 kbproto-1.0.5
 libGL-7.11
 libGLU-7.4.4
 libICE-1.0.7,1
 libIDL-0.8.14_1
 libSM-1.2.0,1
 libX11-1.4.4,1
 libXau-1.0.6
 libXaw-1.0.9,1
 libXcomposite-0.4.3,1
 libXcursor-1.1.12
 libXdamage-1.1.3
 libXdmcp-1.1.0
 libXext-1.3.0_1,1
 libXfixes-5.0
 libXfont-1.4.4,1
 libXft-2.1.14
 libXi-1.4.3,1
 libXinerama-1.1.1,1
 libXmu-1.1.0,1
 libXp-1.0.1,1
 libXpm-3.5.9
 libXrandr-1.3.2
 libXrender-0.9.6
 libXt-1.1.1
 libXv-1.0.6,1
 libXvMC-1.0.6
 libXxf86misc-1.0.3
 libXxf86vm-1.1.1
 libdrm-2.4.27
 libevent-1.4.14b_2
 libexecinfo-1.1_3
 libffi-3.0.9
 libfontenc-1.1.0
 libgcrypt-1.5.0
 libglut-7.4.4
 libgpg-error-1.10
 libiconv-1.13.1_1
 libnotify-0.7.3_1
 libogg-1.2.2,4
 libpciaccess-0.12.1
 libpthread-stubs-0.3_3
 libsamplerate-0.1.8_2
 libsndfile-1.0.25
 libtheora-1.1.1_2
 libtool-2.4_1
 libvolume_id-0.81.1
 libvorbis-1.3.2,3
 libvpx-0.9.7
 libxcb-1.7
 libxkbfile-1.0.7
 libxkbui-1.0.2_1
 libxml2-2.7.8_1
 libxslt-1.1.26_3
 luit-1.1.0
 m4-1.4.16,1
 makedepend-1.0.3,1
 mesa-demos-7.4.4
 mkfontdir-1.0.6
 mkfontscale-1.0.9
 nspr-4.8.9
 openal-soft-1.13
 openbox-3.5.0
 opencv-core-2.3.1_1
 openjpeg-1.3_2
 orc-0.4.14_1
 p5-XML-Parser-2.41
 pango-1.28.4
 pciids-20111002
 pcre-8.20
 perl-5.12.4_2
 pixman-0.24.0
 pkg-config-0.25_1
 png-1.4.8
 policykit-0.9_6
 polkit-0.99
 portmaster-3.10
 printproto-1.0.5
 py27-libxml2-2.7.8_1
 python27-2.7.2_3
 python32-3.2.2_1
 qt4-corelib-4.7.4
 qt4-gui-4.7.4
 qt4-network-4.7.4
 qt4-opengl-4.7.4
 qt4-script-4.7.4
 randrproto-1.3.2
 recordproto-1.14.1
 renderproto-0.11.1
 resourceproto-1.2.0
 schroedinger-1.0.10
 scrnsaverproto-1.2.1
 sdl-1.2.14_2,2
 seamonkey-2.4.1
 shared-mime-info-0.90
 stellarium-0.11.0
 tiff-4.0.0_2
 trapproto-3.4.3
 videoproto-2.3.1
 x264-0.116.2076
 

[head tinderbox] failure on ia64/ia64

2011-11-12 Thread FreeBSD Tinderbox
TB --- 2011-11-12 23:15:28 - tinderbox 2.8 running on freebsd-current.sentex.ca
TB --- 2011-11-12 23:15:28 - starting HEAD tinderbox run for ia64/ia64
TB --- 2011-11-12 23:15:28 - cleaning the object tree
TB --- 2011-11-12 23:15:53 - cvsupping the source tree
TB --- 2011-11-12 23:15:53 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/ia64/ia64/supfile
TB --- 2011-11-12 23:16:15 - building world
TB --- 2011-11-12 23:16:15 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-12 23:16:15 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-12 23:16:15 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-12 23:16:15 - SRCCONF=/dev/null
TB --- 2011-11-12 23:16:15 - TARGET=ia64
TB --- 2011-11-12 23:16:15 - TARGET_ARCH=ia64
TB --- 2011-11-12 23:16:15 - TZ=UTC
TB --- 2011-11-12 23:16:15 - __MAKE_CONF=/dev/null
TB --- 2011-11-12 23:16:15 - cd /src
TB --- 2011-11-12 23:16:15 - /usr/bin/make -B buildworld
 World build started on Sat Nov 12 23:16:16 UTC 2011
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 World build completed on Sun Nov 13 00:44:59 UTC 2011
TB --- 2011-11-13 00:44:59 - generating LINT kernel config
TB --- 2011-11-13 00:44:59 - cd /src/sys/ia64/conf
TB --- 2011-11-13 00:44:59 - /usr/bin/make -B LINT
TB --- 2011-11-13 00:44:59 - cd /src/sys/ia64/conf
TB --- 2011-11-13 00:44:59 - /usr/sbin/config -m GENERIC
TB --- 2011-11-13 00:44:59 - building GENERIC kernel
TB --- 2011-11-13 00:44:59 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-13 00:44:59 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-13 00:44:59 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-13 00:44:59 - SRCCONF=/dev/null
TB --- 2011-11-13 00:44:59 - TARGET=ia64
TB --- 2011-11-13 00:44:59 - TARGET_ARCH=ia64
TB --- 2011-11-13 00:44:59 - TZ=UTC
TB --- 2011-11-13 00:44:59 - __MAKE_CONF=/dev/null
TB --- 2011-11-13 00:44:59 - cd /src
TB --- 2011-11-13 00:44:59 - /usr/bin/make -B buildkernel KERNCONF=GENERIC
 Kernel build for GENERIC started on Sun Nov 13 00:44:59 UTC 2011
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
--
cd /obj/ia64.ia64/src/sys/GENERIC; MAKEOBJDIRPREFIX=/obj/ia64.ia64  
MACHINE_ARCH=ia64  MACHINE=ia64  CPUTYPE= 
GROFF_BIN_PATH=/obj/ia64.ia64/src/tmp/legacy/usr/bin  
GROFF_FONT_PATH=/obj/ia64.ia64/src/tmp/legacy/usr/share/groff_font  
GROFF_TMAC_PATH=/obj/ia64.ia64/src/tmp/legacy/usr/share/tmac  
_SHLIBDIRPREFIX=/obj/ia64.ia64/src/tmp  VERSION=FreeBSD 8.2-STABLE amd64 
802512  INSTALL=sh /src/tools/install.sh  
PATH=/obj/ia64.ia64/src/tmp/legacy/usr/sbin:/obj/ia64.ia64/src/tmp/legacy/usr/bin:/obj/ia64.ia64/src/tmp/legacy/usr/games:/obj/ia64.ia64/src/tmp/usr/sbin:/obj/ia64.ia64/src/tmp/usr/bin:/obj/ia64.ia64/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
 /usr/bin/make KERNEL=kernel all -DNO_MODULES_OBJ
cc -c -x assembler-with-cpp -Wa,-x -DLOCORE -O -pipe  -std=c99 -g -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
-fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc 
 -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src 
-D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000  -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 
-fpic -ffreestanding -Werror /src/sys/ia64/ia64/locore.S
cc -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq 
-I/src/sys/contrib/ia64/libuwx/src -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=15000 --param 
inline-unit-growth=100 --param large-function-growth=1000  -mconstant-gp 
-ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding -Werror  
/src/sys/cam/cam.c
In file included from /src/sys/cam/cam.c:29:
/src/sys/sys/cdefs.h:257:5: error: __cplusplus is not defined
*** Error code 1

Stop in /obj/ia64.ia64/src/sys/GENERIC.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2011-11-13 00:47:35 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2011-11-13 00:47:35 - ERROR: failed to build GENERIC kernel
TB --- 2011-11-13 00:47:35 - 4299.79 user 858.35 system 5526.40 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-ia64-ia64.full

9.0-RC1 fails to boot (run_interrupt_driven_hooks: still waiting...)

2011-11-12 Thread Bruce Cran
FreeBSD 9.0-RC1 doesn't boot on my Tyan S7025 system: it gets stuck at 
xpt_config:


run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config
run_interrupt_driven_hooks: still waiting after 120 seconds for xpt_config
run_interrupt_driven_hooks: still waiting after 180 seconds for xpt_config
run_interrupt_driven_hooks: still waiting after 240 seconds for xpt_config
run_interrupt_driven_hooks: still waiting after 300 seconds for xpt_config

Booting with -v doesn't produce any more information during the timeout.


The first few lines of dmesg:

CPU: Intel(R) Xen(R) CPU E5620 @ 2.40GHz (2400.13-MHz K8-class CPU)
 Origin = GenuineIntel Id = 0x206c2 Family = 6 Model = 2c Stepping = 2
 
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
 
Features2=0x29ee3ffSSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AESNI
 AMD Features=0x2c100800SYSCALL,NX,Page1GB,RDTSCP,LM
 AMD Features2=0x1LAHF
 TSC: P-state invariant, performance statistics
real memory = 17179869184 (16384MB)
avail memory = 12366131200 (11793 MB)
Event timer LAPIC quality 600
ACPI APIC Table: 033011 APIC1334
FreeBSD/SMP: Multiprocessor System Detected: 16 CPUs
FreeBSD/SMP: 2 package(s) x 4 core(s) x 2 SMT threads
cpu0 (BSP): APIC ID:   0
cpu1 (AP): APIC ID: 1
cpu2 (AP): APIC ID: 2
cpu3 (AP): APIC ID: 3
cpu4 (AP): APIC ID: 18
cpu5 (AP): APIC ID: 19
cpu6 (AP): APIC ID: 20
cpu7 (AP): APIC ID: 21
cpu8 (AP): APIC ID: 32
cpu9 (AP): APIC ID: 33
cpu10 (AP): APIC ID: 34
cpu11 (AP): APIC ID: 35
cpu12 (AP): APIC ID: 50
cpu13 (AP): APIC ID: 51
cpu14 (AP): APIC ID: 52
cpu15 (AP): APIC ID: 53
ioapic0: Changing APIC ID to 6
ioapic1: Changing APIC ID to 7
ioapic0 Version 2.0 irqs 0-23 on motherboard
ioapic1 Version 2.0 irqs 24-47 on motherboard
ioapic2 Version 2.0 irqs 48-71 on motherboard
kbd1 at kbdmux0
acpi0: 033011 XSDT1334 on motherboard
acpi0: Overriding SCI from IRQ 9 to IRQ 20
acpi0: Power Button (fixed)
acpi0: reservation of 0, a000 (3) failed
acpi0: reservation of 10, bff0 (3) failed
Timecounter ACPI-fast frequency 3579545 Hz quality 900
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
cpu0: ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0
cpu2: ACPI CPU on acpi0
cpu3: ACPI CPU on acpi0
cpu4: ACPI CPU on acpi0
cpu5: ACPI CPU on acpi0
cpu6: ACPI CPU on acpi0
cpu7: ACPI CPU on acpi0
cpu8: ACPI CPU on acpi0
cpu9: ACPI CPU on acpi0
cpu10: ACPI CPU on acpi0
cpu11: ACPI CPU on acpi0
cpu12: ACPI CPU on acpi0
cpu13: ACPI CPU on acpi0
cpu14: ACPI CPU on acpi0
cpu15: ACPI CPU on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PBI bus on pbib0
pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
pci9: ACPI PBI bus on pbib1
pcib2: ACPI PCI-PCI bridge at device 3.0 on pci0
pci8: ACPI PBI bus on pbib2
pci8: mass storage at device 0.0 (no driver attached)
pcib3: ACPI PCI-PCI bridge at device 5.0 on pci0
pci7: ACPI PBI bus on pbib3
pcib4: ACPI PCI-PCI bridge at device 7.0 on pci0
pci6: ACPI PBI bus on pbib4
pcib5: ACPI PCI-PCI bridge at device 9.0 on pci0
pci5: ACPI PBI bus on pbib5
pci0: base peripheral, interrupt controller at device 20.0 (no driver 
attached)
pci0: base peripheral, interrupt controller at device 20.1 (no driver 
attached)
pci0: base peripheral, interrupt controller at device 20.2 (no driver 
attached)
pci0: base peripheral, interrupt controller at device 20.3 (no driver 
attached)
uhci0: Intel 82801JI (ICH10) USB controller USB-D port 0xb400-0xb41f 
irq 16 at device 26.0 on pci0

uhci0: LegSup = 0x2f00
usbus0: Intel 82801JI (ICH10) USB controller USB-D on uhci0
uhci1: Intel 82801JI (ICH10) USB controller USB-E port 0xb480-0xb49f 
irq 21 at device 26.1 on pci0

uhci1: LegSup = 0x2f00
usbus1: Intel 82801JI (ICH10) USB controller USB-E on uhci1
uhci2: Intel 82801JI (ICH10) USB controller USB-F port 0xb800-0xb81f 
irq 19 at device 26.2 on pci0

uhci0: LegSup = 0x2f00
usbus2: Intel 82801JI (ICH10) USB controller USB-F on uhci2
ehci0: Intel 82801JI (ICH10) USB 2.0 controller USB-B mem 
0xfbbf4000-0xfbbf43ff irq 18 at device 26.7 on pci0

usbus3: EHCI version 1.0
usbus3: Intel 82801JI (ICH10) USB 2.0 controller USB-B on ehci0
hdac0: Intel 82801JI High Definition Audio Controller mem 
0xfbbf-0xfbbf3fff irq 22 at device 27.0 on pci0

pcib6: ACPI PCI-PCI bridge irq 17 at device 28.0 on pci0
pci4: ACPI PCI bus on pcib6
pcib7: ACPI PCI-PCI bridge on irq 17 at device 28.4 on pci0
pci3: ACPI PCI bus on pcib7
em0: Intel(R) PRO/1000 Network Connection 7.2.3 mem 
0xfbde000-0xfbdf,0xfbddc000-0xfbdd irq 16 at device 0.0 on pci3

em0: Using MSIX interrupts with 3 vectors
em0: Ethernet address: xx:xx:xx:xx:xx:xx
pcib8: ACPI PCI-PCI bridge irq 16 at device 28.5 on pci0
pci2: ACPI PCI bus on pcib8
em1: Intel(R) PRO/1000 Network Connection 7.2.3 port 0xec00-0xec1f mem 
0xfbce-0xfbcf,0xfbcdc000-0xfbcdfff irq 17 at device 0.0 on pci2

em1: Using MSIX interrupts 

Re: 9.0-RC1 fails to boot (run_interrupt_driven_hooks: still waiting...)

2011-11-12 Thread Bruce Cran

On 13/11/2011 01:07, Bruce Cran wrote:
FreeBSD 9.0-RC1 doesn't boot on my Tyan S7025 system: it gets stuck at 
xpt_config:


run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config
run_interrupt_driven_hooks: still waiting after 120 seconds for 
xpt_config
run_interrupt_driven_hooks: still waiting after 180 seconds for 
xpt_config
run_interrupt_driven_hooks: still waiting after 240 seconds for 
xpt_config

run_interrupt_driven_hooks: still waiting after 300 seconds for xpt_config


I had a Firewire card in the machine - removing it caused the problem to 
go away.


--
Bruce Cran
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: 9.0-RC1 fails to boot (run_interrupt_driven_hooks: still waiting...)

2011-11-12 Thread Garrett Cooper
On Nov 12, 2011, at 5:30 PM, Bruce Cran wrote:

 On 13/11/2011 01:07, Bruce Cran wrote:
 FreeBSD 9.0-RC1 doesn't boot on my Tyan S7025 system: it gets stuck at 
 xpt_config:
 
 run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config
 run_interrupt_driven_hooks: still waiting after 120 seconds for xpt_config
 run_interrupt_driven_hooks: still waiting after 180 seconds for xpt_config
 run_interrupt_driven_hooks: still waiting after 240 seconds for xpt_config
 run_interrupt_driven_hooks: still waiting after 300 seconds for xpt_config
 
 I had a Firewire card in the machine - removing it caused the problem to go 
 away.

Someone else reported the same issue IIRC. It sounds like sbp + cam 
needs to be fixed.
Thanks,
-Garrett___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


[head tinderbox] failure on powerpc/powerpc

2011-11-12 Thread FreeBSD Tinderbox
TB --- 2011-11-13 00:41:37 - tinderbox 2.8 running on freebsd-current.sentex.ca
TB --- 2011-11-13 00:41:37 - starting HEAD tinderbox run for powerpc/powerpc
TB --- 2011-11-13 00:41:37 - cleaning the object tree
TB --- 2011-11-13 00:41:46 - cvsupping the source tree
TB --- 2011-11-13 00:41:46 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/powerpc/powerpc/supfile
TB --- 2011-11-13 00:42:15 - building world
TB --- 2011-11-13 00:42:15 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-13 00:42:15 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-13 00:42:15 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-13 00:42:15 - SRCCONF=/dev/null
TB --- 2011-11-13 00:42:15 - TARGET=powerpc
TB --- 2011-11-13 00:42:15 - TARGET_ARCH=powerpc
TB --- 2011-11-13 00:42:15 - TZ=UTC
TB --- 2011-11-13 00:42:15 - __MAKE_CONF=/dev/null
TB --- 2011-11-13 00:42:15 - cd /src
TB --- 2011-11-13 00:42:15 - /usr/bin/make -B buildworld
 World build started on Sun Nov 13 00:42:16 UTC 2011
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 World build completed on Sun Nov 13 02:42:14 UTC 2011
TB --- 2011-11-13 02:42:14 - generating LINT kernel config
TB --- 2011-11-13 02:42:14 - cd /src/sys/powerpc/conf
TB --- 2011-11-13 02:42:14 - /usr/bin/make -B LINT
TB --- 2011-11-13 02:42:14 - cd /src/sys/powerpc/conf
TB --- 2011-11-13 02:42:14 - /usr/sbin/config -m GENERIC
TB --- 2011-11-13 02:42:14 - building GENERIC kernel
TB --- 2011-11-13 02:42:14 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-13 02:42:14 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-13 02:42:14 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-13 02:42:14 - SRCCONF=/dev/null
TB --- 2011-11-13 02:42:14 - TARGET=powerpc
TB --- 2011-11-13 02:42:14 - TARGET_ARCH=powerpc
TB --- 2011-11-13 02:42:14 - TZ=UTC
TB --- 2011-11-13 02:42:14 - __MAKE_CONF=/dev/null
TB --- 2011-11-13 02:42:14 - cd /src
TB --- 2011-11-13 02:42:14 - /usr/bin/make -B buildkernel KERNCONF=GENERIC
 Kernel build for GENERIC started on Sun Nov 13 02:42:14 UTC 2011
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
--
cd /obj/powerpc.powerpc/src/sys/GENERIC; MAKEOBJDIRPREFIX=/obj/powerpc.powerpc  
MACHINE_ARCH=powerpc  MACHINE=powerpc  CPUTYPE= 
GROFF_BIN_PATH=/obj/powerpc.powerpc/src/tmp/legacy/usr/bin  
GROFF_FONT_PATH=/obj/powerpc.powerpc/src/tmp/legacy/usr/share/groff_font  
GROFF_TMAC_PATH=/obj/powerpc.powerpc/src/tmp/legacy/usr/share/tmac  
_SHLIBDIRPREFIX=/obj/powerpc.powerpc/src/tmp  VERSION=FreeBSD 8.2-STABLE amd64 
802512  INSTALL=sh /src/tools/install.sh  
PATH=/obj/powerpc.powerpc/src/tmp/legacy/usr/sbin:/obj/powerpc.powerpc/src/tmp/legacy/usr/bin:/obj/powerpc.powerpc/src/tmp/legacy/usr/games:/obj/powerpc.powerpc/src/tmp/usr/sbin:/obj/powerpc.powerpc/src/tmp/usr/bin:/obj/powerpc.powerpc/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
 /usr/bin/make KERNEL=kernel all -DNO_MODULES_OBJ
cc -c -x assembler-with-cpp -DLOCORE -O -pipe  -std=c99 -g -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
-fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc 
 -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000  -msoft-float -Wa,-many -fno-omit-frame-pointer 
-msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror 
/src/sys/powerpc/aim/locore.S
In file included from ./machine/asm.h:38,
 from /src/sys/powerpc/aim/locore32.S:66,
 from /src/sys/powerpc/aim/locore.S:6:
/src/sys/sys/cdefs.h:257:5: error: __cplusplus is not defined
*** Error code 1

Stop in /obj/powerpc.powerpc/src/sys/GENERIC.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2011-11-13 02:44:26 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2011-11-13 02:44:26 - ERROR: failed to build GENERIC kernel
TB --- 2011-11-13 02:44:26 - 5899.60 user 1029.86 system 7368.83 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org