bin/149412: bdes in CFB/OFB modes can't decrypt own output

2010-08-08 Thread Alan Hughes

>Number: 149412
>Category:   bin
>Synopsis:   bdes in CFB/OFB modes can't decrypt own output
>Confidential:   no
>Severity:   non-critical
>Priority:   low
>Responsible:freebsd-bugs
>State:  open
>Quarter:
>Keywords:   
>Date-Required:
>Class:  sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 08 07:20:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Alan Hughes
>Release:8.1 amd64/i386
>Organization:
n/a
>Environment:
multiple, including release 8.1 amd64 CD in fixit environment
also tested several stable amd64 and i386 with same results
>Description:
encrypted output from bdes on CFB or OFB modes does not decrypt with bdes. For 
some combinations of plaintext/key/mode/length decryption dumps core, all 
others merely fail 'nicely'.
CBC(default) and ECB modes are unaffected.
labeled non-critical/low-priority as these would be rarely used modes.
>How-To-Repeat:
opt='-f 64 -k $key' ;key=0x$(md5 -qs "testpass") ;echo "plaintext for testing 
bdes" |bdes $opt |bdes -d $opt

replacing "-f 64" with -F or -o and other suitable length
>Fix:
don't use CFB or OFB modes.

>Release-Note:
>Audit-Trail:
>Unformatted:
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: kern/72850: apm suspend handling partial broken with 5.3-STABLE

2010-08-08 Thread jh
Synopsis: apm suspend handling partial broken with 5.3-STABLE

State-Changed-From-To: open->feedback
State-Changed-By: jh
State-Changed-When: Sun Aug 8 07:55:32 UTC 2010
State-Changed-Why: 
Is this problem still relevant on recent versions of FreeBSD?


Responsible-Changed-From-To: freebsd-bugs->jh
Responsible-Changed-By: jh
Responsible-Changed-When: Sun Aug 8 07:55:32 UTC 2010
Responsible-Changed-Why: 
Track.

http://www.freebsd.org/cgi/query-pr.cgi?pr=72850
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: conf/148758: [build] [patch] wpi license not required when building wpifw into the kernel.

2010-08-08 Thread bschmidt
Synopsis: [build] [patch] wpi license not required when building wpifw into the 
kernel.

State-Changed-From-To: open->patched
State-Changed-By: bschmidt
State-Changed-When: Sun Aug 8 08:43:07 UTC 2010
State-Changed-Why: 
Committed, thanks.

http://www.freebsd.org/cgi/query-pr.cgi?pr=148758
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: conf/148758: [build] [patch] wpi license not required when building wpifw into the kernel.

2010-08-08 Thread bschmidt
Synopsis: [build] [patch] wpi license not required when building wpifw into the 
kernel.

Responsible-Changed-From-To: freebsd-bugs->bschmidt
Responsible-Changed-By: bschmidt
Responsible-Changed-When: Sun Aug 8 08:44:02 UTC 2010
Responsible-Changed-Why: 
Over to me (MFC reminder).

http://www.freebsd.org/cgi/query-pr.cgi?pr=148758
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


tag bin/149409 with [regression], affects r207790

2010-08-08 Thread Anonymous

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


Re: conf/147726: [termcap] [patch] termcap needs an entry for rxvt-256color

2010-08-08 Thread gavin
Synopsis: [termcap] [patch] termcap needs an entry for rxvt-256color

State-Changed-From-To: open->patched
State-Changed-By: gavin
State-Changed-When: Sun Aug 8 09:48:31 UTC 2010
State-Changed-Why: 
Fixed in head, mfc in 2 weeks.


Responsible-Changed-From-To: freebsd-bugs->gavin
Responsible-Changed-By: gavin
Responsible-Changed-When: Sun Aug 8 09:48:31 UTC 2010
Responsible-Changed-Why: 
Mine

http://www.freebsd.org/cgi/query-pr.cgi?pr=147726
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: bin/147934: [patch] top(1) lies about system uptime

2010-08-08 Thread brucec
Synopsis: [patch] top(1) lies about system uptime

Responsible-Changed-From-To: freebsd-bugs->brucec 
Responsible-Changed-By: brucec
Responsible-Changed-When: Sun Aug 8 09:50:57 UTC 2010
Responsible-Changed-Why: 
Take.

http://www.freebsd.org/cgi/query-pr.cgi?pr=147934
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: bin/146189: script(1) broken in HEAD and 8-STABLE

2010-08-08 Thread brucec
Synopsis: script(1) broken in HEAD and 8-STABLE

State-Changed-From-To: patched->closed 
State-Changed-By: brucec
State-Changed-When: Sun Aug 8 09:57:25 UTC 2010
State-Changed-Why: 
Fix has been merged to stable/8.

http://www.freebsd.org/cgi/query-pr.cgi?pr=146189
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: conf/147992: [termcap] [patch] xterm-256color is a 8 colors terminal

2010-08-08 Thread gavin
Synopsis: [termcap] [patch] xterm-256color is a 8 colors terminal

State-Changed-From-To: open->patched
State-Changed-By: gavin
State-Changed-When: Sun Aug 8 10:01:00 UTC 2010
State-Changed-Why: 
Mark as patched, this is fixed in head.

Needs r200369, r200503 and r202048 merging.


Responsible-Changed-From-To: freebsd-bugs->gavin
Responsible-Changed-By: gavin
Responsible-Changed-When: Sun Aug 8 10:01:00 UTC 2010
Responsible-Changed-Why: 
I'll handle this

http://www.freebsd.org/cgi/query-pr.cgi?pr=147992
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


bin/149424: fstab and labels with whitespace

2010-08-08 Thread Walter C. Pelissero

>Number: 149424
>Category:   bin
>Synopsis:   fstab and labels with whitespace
>Confidential:   no
>Severity:   serious
>Priority:   medium
>Responsible:freebsd-bugs
>State:  open
>Quarter:
>Keywords:   
>Date-Required:
>Class:  change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 08 12:50:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Walter C. Pelissero
>Release:FreeBSD 8.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD zaphod.home.lan 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #1: Tue 
Jul 13 22:21:06 CEST 2010 
r...@zaphod.home.lan:/usr/home/obj/usr/src/sys/TIGER-MP i386



>Description:
/etc/fstab currently doesn't allow for whitespace anywhere but
between fields (or in comments).  This makes impossible to use
a label in place of a device name when mounting volumes
containing whitespace in the name.  Take for instance CF or SD
memory cards created by Nikon cameras: they are labelled
"NIKON ", with a whitespace between NIKON and the model
name.  Although it's still possible to mount the /dev/da*
device, the label is arguably much more convenient.
>How-To-Repeat:

>Fix:

The following patch modifies libc to allow for special
characters in the first field of a fstab entry.  A single
space can be written as \s, as in NIKON\sD300S, or \040, as in
NIKON\040D300S.  Indeed, any octal escape sequence can be
used, or sequences such as \t, \r, or \n.

I'm afraid, this patch does not update fstab.5.


Index: fstab.c
===
RCS file: /repos/src/lib/libc/gen/fstab.c,v
retrieving revision 1.15.10.1
diff -u -r1.15.10.1 fstab.c
--- fstab.c 3 Aug 2009 08:13:06 -   1.15.10.1
+++ fstab.c 8 Aug 2010 11:51:02 -
@@ -106,6 +106,40 @@
_fs_fstab.fs_spec = buf;
 }
 
+#define isoctal(c) ((c) >= '0' && (c) <= '7')
+#define octdigit2int(c) ((c) - '0')
+
+static char *
+unescape (char *string)
+{
+   static char special[] = "s\\trn";
+   static char translation[] = " \\\t\r\n";
+   char *s, *d;
+
+   for (s = d = string; *s; ++s, ++d)
+   {
+   if (s[0] == '\\') {
+   char *p;
+
+   if ((p = strchr(special, s[1]))) {
+   *d = translation[p - special];
+   ++s;
+   } else if (isoctal(s[1]) &&
+  isoctal(s[2]) &&
+  isoctal(s[3])) {
+   *d =octdigit2int(s[1]) * 8 * 8 +
+   octdigit2int(s[2]) * 8 +
+   octdigit2int(s[3]);
+   s += 3;
+   } else
+   *d = *s;
+   } else
+   *d = *s;
+   }
+   *d = '\0';
+   return string;
+}
+
 static int
 fstabscan()
 {
@@ -148,7 +182,7 @@
 /* OLD_STYLE_FSTAB */
while ((cp = strsep(&p, " \t\n")) != NULL && *cp == '\0')
;
-   _fs_fstab.fs_spec = cp;
+   _fs_fstab.fs_spec = unescape(cp);
if (!_fs_fstab.fs_spec || *_fs_fstab.fs_spec == '#')
continue;
while ((cp = strsep(&p, " \t\n")) != NULL && *cp == '\0')
>Release-Note:
>Audit-Trail:
>Unformatted:
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


bin/149425: BSD grep accesses incorrect memory area.

2010-08-08 Thread Shuichi KITAGUCHI

>Number: 149425
>Category:   bin
>Synopsis:   BSD grep accesses incorrect memory area.
>Confidential:   no
>Severity:   serious
>Priority:   medium
>Responsible:freebsd-bugs
>State:  open
>Quarter:
>Keywords:   
>Date-Required:
>Class:  sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 08 13:00:16 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Shuichi KITAGUCHI
>Release:9.0-CURRENT
>Organization:
>Environment:
FreeBSD rhea.k.ysnb.net 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r210927: Fri Aug  6 
22:55:43 JST 2010 r...@rhea.k.ysnb.net:/usr/obj/data/rhea/usr/src/sys/RHEA  
amd64

>Description:
BSD grep accesses incorrect memory region and may abort.
Additionally, valgrind detectes some errors.
>How-To-Repeat:
1)grep aborts (allocated buffer is short)
% cd /usr/src/usr.bin/grep
% grep -r -B 2 char .
..
grep: (malloc) /data/rhea/usr/src/lib/libc/stdlib/malloc.c:3176: Failed 
assertion: "bin->runcur->magic == ARENA_RUN_MAGIC"
Abort

2)valgrind detects some errors. (take 1, 0 bytes file)
% cd /usr/src/usr.bin/grep
% make
% touch x
% valgrind -v ./grep a x
..
==3775== Invalid read of size 1
==3775==at 0x25C8E9: memchr (in 
/usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so)
==3775==by 0x4027C4: grep_fgetln (in /data/home/kit/tmp/g/grep)
==3775==by 0x404156: procfile (in /data/home/kit/tmp/g/grep)
==3775==by 0x4037DA: main (in /data/home/kit/tmp/g/grep)
..

3)valgrind detects some errors. (take 2, incorrect free)
% cd /usr/src/usr.bin/grep
% make
% valgrind -v ./grep -r -C 2 char .
..
==3716== Invalid free() / delete / delete[]
==3716==at 0x25B260: free (in 
/usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so)
==3716==by 0x4044FD: procfile (in /data/home/kit/tmp/grep/grep)
==3716==by 0x4049CD: grep_tree (in /data/home/kit/tmp/grep/grep)
==3716==by 0x403857: main (in /data/home/kit/tmp/grep/grep)
..

>Fix:
attached patch is to be fixed for 1) and 2).
I cannot resolve 3).

Patch attached with submission follows:

diff --git a/queue.c b/queue.c
index 5f4d4ef..1fd05c5 100644
--- a/queue.c
+++ b/queue.c
@@ -56,7 +56,7 @@ enqueue(struct str *x)
struct qentry *item;
 
item = grep_malloc(sizeof(struct qentry));
-   item->data.dat = grep_malloc(sizeof(char) * x->len);
+   item->data.dat = grep_malloc(sizeof(char) * x->len + 1);
item->data.len = x->len;
item->data.line_no = x->line_no;
item->data.off = x->off;

diff --git a/file.c b/file.c
index 7d9715f..ab658fc 100644
--- a/file.c
+++ b/file.c
@@ -132,6 +132,10 @@ grep_fgetln(struct file *f, size_t *len)
else if (stat(fname, &st) != 0)
err(2, NULL);
 
+   /* no need to allocate buffer. */
+   if (st.st_size == 0)
+   return (NULL);
+
bufsiz = (MAXBUFSIZ > (st.st_size * PREREAD_M)) ?
(st.st_size / 2) : MAXBUFSIZ;
 


>Release-Note:
>Audit-Trail:
>Unformatted:
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


misc/149427: building kdebase3 fails in 8.1-PRERELEASE

2010-08-08 Thread Etienne Robillard

>Number: 149427
>Category:   misc
>Synopsis:   building kdebase3 fails in 8.1-PRERELEASE
>Confidential:   no
>Severity:   non-critical
>Priority:   low
>Responsible:freebsd-bugs
>State:  open
>Quarter:
>Keywords:   
>Date-Required:
>Class:  sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 08 13:40:06 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Etienne Robillard
>Release:FreeBSD 8.1-PRERELEASE
>Organization:
>Environment:
>Description:
Making all in crypto
gmake[3]: Entering directory 
`/usr/ports/x11/kdebase3/work/kdebase-3.5.10/kcontrol/crypto'
/usr/local/bin/moc ./crypto.h -o crypto.moc
/bin/sh /usr/local/bin/libtool --silent --tag=CXX   --mode=compile c++ 
-DHAVE_CONFIG_H -I. -I../..  -I/usr/local/include  -I/usr/local/include  
-D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT   -I/usr/local/include 
-I/usr/local/include  -I/usr/local/include -D_GETOPT_H -D_THREAD_SAFE  
-D_LARGE_FILES=1 -Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG 
-DNO_DEBUG -O2 -O2 -pipe -DLDAP_DEPRECATED -fno-strict-aliasing 
-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common 
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT 
-DQT_NO_TRANSLATION -D_GNU_SOURCE  -DLIBDIR=/usr/local/lib -Wno-long-long 
-Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe 
-DLDAP_DEPRECATED -fno-strict-aliasing -Wno-non-virtual-dtor -fno-exceptions 
-fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL 
-DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE  -MT crypto.lo -MD -MP -MF 
.deps/crypto.Tpo -c -o crypto.lo crypto.cpp
In file included from crypto.cpp:88:
/usr/local/include/kopenssl.h:453: error: ISO C++ forbids declaration of 
'ASN1_METHOD' with no type
/usr/local/include/kopenssl.h:453: error: expected ';' before '*' token
/usr/local/include/kopenssl.h:526: error: expected ';' before '(' token
/usr/local/include/kopenssl.h:532: error: 'STACK' has not been declared
/usr/local/include/kopenssl.h:538: error: 'STACK' has not been declared
/usr/local/include/kopenssl.h:544: error: expected ';' before '(' token
/usr/local/include/kopenssl.h:550: error: ISO C++ forbids declaration of 
'STACK' with no type
/usr/local/include/kopenssl.h:550: error: expected ';' before '*' token
/usr/local/include/kopenssl.h:556: error: 'STACK' has not been declared
/usr/local/include/kopenssl.h:562: error: ISO C++ forbids declaration of 
'STACK' with no type
/usr/local/include/kopenssl.h:562: error: expected ';' before '*' token
/usr/local/include/kopenssl.h:828: error: ISO C++ forbids declaration of 
'STACK' with no type
/usr/local/include/kopenssl.h:828: error: expected ';' before '*' token
/usr/local/include/kopenssl.h:829: error: 'STACK' has not been declared
crypto.cpp: In member function 'void KCryptoConfig::slotCAImport()':
crypto.cpp:1851: error: no matching function for call to 
'KOpenSSLProxy::sk_num(_STACK*)'
/usr/local/include/kopenssl.h:538: note: candidates are: int 
KOpenSSLProxy::sk_num(int*)
crypto.cpp:1852: error: 'class KOpenSSLProxy' has no member named 'sk_value'
crypto.cpp: In member function 'bool KCryptoConfig::loadCiphers()':
crypto.cpp:2329: error: invalid conversion from 'const SSL_METHOD*' to 
'SSL_METHOD*'
crypto.cpp:2341: error: invalid conversion from 'const SSL_CIPHER*' to 
'SSL_CIPHER*'
crypto.cpp:2358: error: invalid conversion from 'const SSL_METHOD*' to 
'SSL_METHOD*'
crypto.cpp:2369: error: invalid conversion from 'const SSL_CIPHER*' to 
'SSL_CIPHER*'
gmake[3]: *** [crypto.lo] Error 1
gmake[3]: Leaving directory 
`/usr/ports/x11/kdebase3/work/kdebase-3.5.10/kcontrol/crypto'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
`/usr/ports/x11/kdebase3/work/kdebase-3.5.10/kcontrol'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11/kdebase3/work/kdebase-3.5.10'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/x11/kdebase3.
*** Error code 1

Stop in /usr/ports/x11/kdebase3.

===>>> make failed for x11/kdebase3
===>>> Aborting update

===>>> Update for kdebase-3.5.10_5 failed
===>>> Aborting update


>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: conf/44717: [patch] update login.conf and unify login capabilities

2010-08-08 Thread gavin
Synopsis: [patch] update login.conf and unify login capabilities

State-Changed-From-To: open->closed
State-Changed-By: gavin
State-Changed-When: Sun Aug 8 16:55:51 UTC 2010
State-Changed-Why: 
The  issues in this PR were fixed many years ago, but the PR was never
closed.

http://www.freebsd.org/cgi/query-pr.cgi?pr=44717
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: conf/44717: commit references a PR

2010-08-08 Thread dfilter service
The following reply was made to PR conf/44717; it has been noted by GNATS.

From: dfil...@freebsd.org (dfilter service)
To: bug-follo...@freebsd.org
Cc:  
Subject: Re: conf/44717: commit references a PR
Date: Sun,  8 Aug 2010 16:56:48 + (UTC)

 Author: gavin
 Date: Sun Aug  8 16:55:27 2010
 New Revision: 211079
 URL: http://svn.freebsd.org/changeset/base/211079
 
 Log:
   Merge r114010 of head/usr.bin/login/login.c into PicoBSD's login.c:
   
   Correct the login.conf variable name used for obtaining the login prompt.
   
   PR:  conf/44717 (indirectly)
   Spotted by:  gcooper
   MFC after:   1 week
 
 Modified:
   head/release/picobsd/tinyware/login/pico-login.c
 
 Modified: head/release/picobsd/tinyware/login/pico-login.c
 ==
 --- head/release/picobsd/tinyware/login/pico-login.c   Sun Aug  8 16:52:47 
2010(r211078)
 +++ head/release/picobsd/tinyware/login/pico-login.c   Sun Aug  8 16:55:27 
2010(r211079)
 @@ -279,7 +279,8 @@ main(argc, argv)
 * Get "login-retries" & "login-backoff" from default class
 */
lc = login_getclass(NULL);
 -  prompt = login_getcapstr(lc, "prompt", DEFAULT_PROMPT, DEFAULT_PROMPT);
 +  prompt = login_getcapstr(lc, "login_prompt",
 +  DEFAULT_PROMPT, DEFAULT_PROMPT);
passwd_prompt = login_getcapstr(lc, "passwd_prompt",
DEFAULT_PASSWD_PROMPT, DEFAULT_PASSWD_PROMPT);
retries = login_getcapnum(lc, "login-retries", DEFAULT_RETRIES,
 ___
 svn-src-...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
 
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: misc/116453: [picobsd] picobsd build script fails for not exist login_access.c

2010-08-08 Thread gavin
Synopsis: [picobsd] picobsd build script fails for not exist login_access.c

State-Changed-From-To: open->closed
State-Changed-By: gavin
State-Changed-When: Sun Aug 8 17:01:19 UTC 2010
State-Changed-Why: 
Close this PR, the bug was fixed a couple of years ago.

http://www.freebsd.org/cgi/query-pr.cgi?pr=116453
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


misc/149444: Error during buildkernel

2010-08-08 Thread Nikki Britz

>Number: 149444
>Category:   misc
>Synopsis:   Error during buildkernel
>Confidential:   no
>Severity:   non-critical
>Priority:   low
>Responsible:freebsd-bugs
>State:  open
>Quarter:
>Keywords:   
>Date-Required:
>Class:  sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 08 18:30:09 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Nikki Britz
>Release:7
>Organization:
>Environment:
FreeBSD miyabi.addict.de 7.3-STABLE FreeBSD 7.3-STABLE #9: Sun Jun 13 16:18:16 
CEST 2010 r...@miyabi.addict.de:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
I've checked out sources this afternoon to upgrade my system to the last 7 
stable.

No errors during the make buildworld

During a 'make buildkernel' the following error occurred:

===> u3g (all)
cc -O2 -fno-strict-aliasing -pipe  -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/GENERIC/opt_global.h 
-I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 
--param large-function-growth=1000 -fno-common -g -fno-omit-frame-pointer 
-I/usr/obj/usr/src/sys/GENERIC -mcmodel=kernel -mno-red-zone  -mfpmath=387 
-mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float 
-fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c 
/usr/src/sys/modules/u3g/../../dev/usb/u3g.c
/usr/src/sys/modules/u3g/../../dev/usb/u3g.c:197: warning: missing braces 
around initializer
/usr/src/sys/modules/u3g/../../dev/usb/u3g.c:197: warning: (near initialization 
for 'u3g_devs[60].devno')
/usr/src/sys/modules/u3g/../../dev/usb/u3g.c:198: error: expected identifier or 
'(' before '}' token
*** Error code 1

Stop in /usr/src/sys/modules/u3g.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

The file "u3g.c" was checked out today, if I got that right.

In case you need additional information, just tell me.
>How-To-Repeat:
Repeat 'make buildkernel'. 
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: bin/15205: [patch] Addition to random(6)

2010-08-08 Thread Chip Camden
The following reply was made to PR bin/15205; it has been noted by GNATS.

From: Chip Camden 
To: bug-follo...@freebsd.org, dal...@wit401310.student.utwente.nl
Cc:  
Subject: Re: bin/15205: [patch] Addition to random(6)
Date: Sun, 8 Aug 2010 11:36:18 -0700

 --gKMricLos+KVdGMg
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 random(6) already does this, without the -s.  This should be closed.
 
 --=20
 Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
 http://camdensoftware.com | http://chipstips.com| http://chipsquips=
 .com
 
 --gKMricLos+KVdGMg
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.10 (FreeBSD)
 
 iQEcBAEBAgAGBQJMXvkhAAoJEIpckszW26+RmpAIALNUafB80t4qZIgwvJomLVyc
 HmJj28n66gy6/Mpkj6CO4vkBzBUnu74kB4v3xAwOW5UwSjraWNpV+TjO6vEmg1hl
 l/gdQIrIQ7gt3q8PdxgxwBRSzYETyHFeOzTxQu+dnDVgL9mNXnYGB/0W86DMa8Ad
 BQpWeLNF82SyUAEWH4eBckIeA4Fw8/kSsKbqiubG6HTtPKazr/OmHQjVuAvm/P6i
 5GiGu1RF5VcXnCfqqaLwh56LutdVVKUVvdMOZn+oCJcFFw/JRUjqCEygnXT7V2IK
 wtedwunerwTsu9LGUTC3Pb4XhSaARxQEsZ2eyzqh5zoryMQ8OARCPTzQ5XFc95s=
 =Ym/H
 -END PGP SIGNATURE-
 
 --gKMricLos+KVdGMg--
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: bin/149425: [patch] grep(1): BSD grep accesses incorrect memory area.

2010-08-08 Thread linimon
Old Synopsis: BSD grep accesses incorrect memory area.
New Synopsis: [patch] grep(1): BSD grep accesses incorrect memory area.

Responsible-Changed-From-To: freebsd-bugs->gabor
Responsible-Changed-By: linimon
Responsible-Changed-When: Sun Aug 8 19:10:56 UTC 2010
Responsible-Changed-Why: 
Over to maintainer.

http://www.freebsd.org/cgi/query-pr.cgi?pr=149425
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: ports/149427: building x11/kdebase3 fails in 8.1-PRERELEASE

2010-08-08 Thread linimon
Old Synopsis: building kdebase3 fails in 8.1-PRERELEASE
New Synopsis: building x11/kdebase3 fails in 8.1-PRERELEASE

Responsible-Changed-From-To: freebsd-bugs->kde
Responsible-Changed-By: linimon
Responsible-Changed-When: Sun Aug 8 19:11:33 UTC 2010
Responsible-Changed-Why: 
Fix synopsis and assign.

http://www.freebsd.org/cgi/query-pr.cgi?pr=149427
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: kern/149444: [build] Error during buildkernel

2010-08-08 Thread gavin
Synopsis: [build] Error during buildkernel

State-Changed-From-To: open->closed
State-Changed-By: gavin
State-Changed-When: Sun Aug 8 19:17:04 UTC 2010
State-Changed-Why: 
Apologies, this was my fault.  It should be fixed in SVN r211081.

http://www.freebsd.org/cgi/query-pr.cgi?pr=149444
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: kern/148580: [sysctl][patch] Document some sys/kern sysctls

2010-08-08 Thread Chip Camden
The following reply was made to PR kern/148580; it has been noted by GNATS.

From: Chip Camden 
To: bug-follo...@freebsd.org, wtfc...@mail.ru
Cc:  
Subject: Re: kern/148580: [sysctl][patch] Document some sys/kern sysctls
Date: Sun, 8 Aug 2010 16:21:24 -0700

 --CE+1k2dSO48ffgeK
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 (Bugathon)
 
 Patch applies cleanly to 8.1-STABLE and works.
 
 --=20
 Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
 http://camdensoftware.com | http://chipstips.com| http://chipsquips=
 .com
 
 --CE+1k2dSO48ffgeK
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.10 (FreeBSD)
 
 iQEcBAEBAgAGBQJMXzv0AAoJEIpckszW26+RPWQH/3354odwaz5hPMYh+ePIekl4
 rRfVOMm/jpEGHcqsh2Ds5OaTlmMmvpPwZpDe5U35AL8t09pryQPPaRmDJIGYUwaj
 iEMQlER/k4WNQi6H81rPW/9x457P/dvTbmO4cmEUFFZxRbY46HIZx+RG+oxsj/IE
 ncQQ7heBIxBy6fdFtO9zjU3BsuoKGcNKEvrI5poyG18EzprwoQufasNoq4OA5yNo
 JbOlYA8Dtaj9xormyyTuMKe9/XBppOdKkNP2cozhxIAVg8htkXHXBoNmsmu14fX3
 KY/4L2Gpss84dPtuYk1Tn5TIxslXB8F9fcTwnNsyY2NRNK2LXvv12/T6WAZMg7g=
 =rt+D
 -END PGP SIGNATURE-
 
 --CE+1k2dSO48ffgeK--
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: kern/148698: commit references a PR

2010-08-08 Thread dfilter service
The following reply was made to PR kern/148698; it has been noted by GNATS.

From: dfil...@freebsd.org (dfilter service)
To: bug-follo...@freebsd.org
Cc:  
Subject: Re: kern/148698: commit references a PR
Date: Mon,  9 Aug 2010 00:24:11 + (UTC)

 Author: attilio
 Date: Mon Aug  9 00:23:57 2010
 New Revision: 211087
 URL: http://svn.freebsd.org/changeset/base/211087
 
 Log:
   The r208165 fixed a bug related to unsigned integer overflowing for the
   number of CPUs detection.
   However, that was not mention at all, the problem was not reported, the
   patch has not been MFCed and the fix is mostly improper.
   
   Fix the original overflow (caused when 32 CPUs must be detected) by
   just using a different mathematical computation (it also makes more
   explicit the size of operands involved, which is good in the moment
   waiting for a more complete support for a large number of CPUs).
   
   PR:  kern/148698
   Submitted by:Joe Landers 
   Tested by:   gianni
   MFC after:   10 days
 
 Modified:
   head/sys/kern/subr_smp.c
 
 Modified: head/sys/kern/subr_smp.c
 ==
 --- head/sys/kern/subr_smp.c   Sun Aug  8 23:24:23 2010(r211086)
 +++ head/sys/kern/subr_smp.c   Mon Aug  9 00:23:57 2010(r211087)
 @@ -504,10 +504,7 @@ smp_topo_none(void)
top = &group[0];
top->cg_parent = NULL;
top->cg_child = NULL;
 -  if (mp_ncpus == sizeof(top->cg_mask) * 8)
 -  top->cg_mask = -1;
 -  else
 -  top->cg_mask = (1 << mp_ncpus) - 1;
 +  top->cg_mask = ~0U >> (32 - mp_ncpus);
top->cg_count = mp_ncpus;
top->cg_children = 0;
top->cg_level = CG_SHARE_NONE;
 ___
 svn-src-...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
 
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: kern/148698: [panic] Panic at boot due to integer overflow computing top->cg_mask in smp_topo_none() when mp_ncpus == 32

2010-08-08 Thread linimon
Synopsis: [panic] Panic at boot due to integer overflow computing top->cg_mask 
in smp_topo_none() when mp_ncpus == 32

State-Changed-From-To: suspended->patched
State-Changed-By: linimon
State-Changed-When: Mon Aug 9 01:16:59 UTC 2010
State-Changed-Why: 
Patch committed; set as MFC reminder.


Responsible-Changed-From-To: freebsd-bugs->attilio
Responsible-Changed-By: linimon
Responsible-Changed-When: Mon Aug 9 01:16:59 UTC 2010
Responsible-Changed-Why: 

http://www.freebsd.org/cgi/query-pr.cgi?pr=148698
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"