Re: kern/171228: [re] [patch] if_re - eeprom write issues

2012-09-03 Thread linimon
Old Synopsis: [ patch ] if_re - eeprom write issues
New Synopsis: [re] [patch] if_re - eeprom write issues

Responsible-Changed-From-To: freebsd-bugs-freebsd-net
Responsible-Changed-By: linimon
Responsible-Changed-When: Mon Sep 3 07:47:08 UTC 2012
Responsible-Changed-Why: 
Over to maintainer(s).

http://www.freebsd.org/cgi/query-pr.cgi?pr=171228
___
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/16893​8: moused enabled causes xorg startx to fail

2012-09-03 Thread J B
OK. Last time. Let's keep it close - fixing it in xorg.conf is
the way to handle it if we want to keep HAL enabled for other
packages (apps).
___
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/147887: [patch] Invalid extension type displayed with setkey(8)

2012-09-03 Thread bz
Synopsis: [patch] Invalid extension type displayed with setkey(8)

State-Changed-From-To: open-patched
State-Changed-By: bz
State-Changed-When: Mon Sep 3 11:47:32 UTC 2012
State-Changed-Why: 
I patched this a while ago; hopefully not just HEAD.
Need to investigate.  Sorry wasn't aware of the PR.


Responsible-Changed-From-To: freebsd-bugs-bz
Responsible-Changed-By: bz
Responsible-Changed-When: Mon Sep 3 11:47:32 UTC 2012
Responsible-Changed-Why: 
Take given I had work on this earlier this year.

http://www.freebsd.org/cgi/query-pr.cgi?pr=147887
___
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/171279: bsnmpd can reply from other address

2012-09-03 Thread Konstantin Kukushkin

Number: 171279
Category:   bin
Synopsis:   bsnmpd can reply from other address
Confidential:   no
Severity:   serious
Priority:   medium
Responsible:freebsd-bugs
State:  open
Quarter:
Keywords:   
Date-Required:
Class:  sw-bug
Submitter-Id:   current-users
Arrival-Date:   Mon Sep 03 14:50:04 UTC 2012
Closed-Date:
Last-Modified:
Originator: Konstantin Kukushkin
Release:FreeBSD 9.0-STABLE amd64
Organization:
Rambler Internet Holding, LLC
Environment:
System: FreeBSD vpn1-m1.rambler.ru 9.0-STABLE FreeBSD 9.0-STABLE #2 r231584M: 
Mon Feb 13 18:24:25 MSK 2012 
gleb...@vpn1-m1.rambler.ru:/usr/obj/usr/home/glebius/9/sys/VPN amd64

Description:
bsnmpd by default listen INADDR_ANY, and on multihomed system daemon 
can receive queries to some addresses.
When replying to query bsdnmp simply use sendto(), so OS build response 
datagram with source ip nearest to sender, which can be not equal to 
destination ip on source query.
This is ok for net-snmp utils like snmpget  snmpwalk, but this can't work with 
statefull firewalls like ipfw(4) or pf(4).

Please fix it.

How-To-Repeat:
I used multihomed host vpn1-m1:
[pts/2] dark@vpn1-m1:~ ( ifconfig bge0 inet ; ifconfig lo0 inet )|grep inet
inet 81.19.94.147 netmask 0xfff8 broadcast 81.19.94.151
inet 127.0.0.1 netmask 0xff00 
inet 81.19.64.133 netmask 0x 
inet 81.19.79.1 netmask 0x 
with ``onestarted`` bsnmpd:
[pts/2] dark@vpn1-m1:~ sudo /etc/rc.d/bsnmpd onestart
Starting bsnmpd.
[pts/2] dark@vpn1-m1:~ sockstat | grep 'bsnmpd.*161'
root bsnmpd 38365 6  udp4   *:161 *:*

and other host for query to address, routed to vpn1-m1:
[pts/53] dark@dark:~ ifconfig re0 inet|grep inet
inet 81.19.64.109 netmask 0xffe0 broadcast 81.19.64.127

[pts/53] dark@dark:~ snmpget -v 2c -c public 81.19.64.133 sysDescr.0
Timeout: No Response from 81.19.64.133.

tcpdump on multihomed host shows that bsnmpd reply from source other that query 
destination:
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on bge0, link-type EN10MB (Ethernet), capture size 65535 bytes
15:17:16.007788 IP 81.19.64.109.60689  81.19.64.133.161:  GetRequest(28)  
.1.3.6.1.2.1.1.1.0
15:17:16.008005 IP 81.19.94.147.161  81.19.64.109.60689:  GetResponse(76)  
.1.3.6.1.2.1.1.1.0=vpn1-m1.rambler.ru 4212937669 FreeBSD 9.0-STABLE
Fix:

Other udp servers like named try to create listen socket bind()'ed on adresses 
from getifaddrs() output, not INADDR_ANY. While daemon receiving query on 
bind()'ed socket it knows on which address query was sent, and can reply right.
Unfortunately I don't know any other mechanism getting datagram destination 
address in FreeBSD, in Linux there is 'IP_PKTINFO' socket option for this.
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/165807: setfacl(1): setfacl -b is broken

2012-09-03 Thread trasz
Synopsis: setfacl(1): setfacl -b is broken

Responsible-Changed-From-To: freebsd-bugs-trasz
Responsible-Changed-By: trasz
Responsible-Changed-When: Mon Sep 3 17:30:53 UTC 2012
Responsible-Changed-Why: 
I'll take it.

http://www.freebsd.org/cgi/query-pr.cgi?pr=165807
___
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: usb/171254: commit references a PR

2012-09-03 Thread dfilter service
The following reply was made to PR usb/171254; it has been noted by GNATS.

From: dfil...@freebsd.org (dfilter service)
To: bug-follo...@freebsd.org
Cc:  
Subject: Re: usb/171254: commit references a PR
Date: Mon,  3 Sep 2012 19:17:44 + (UTC)

 Author: hselasky
 Date: Mon Sep  3 19:17:25 2012
 New Revision: 240078
 URL: http://svn.freebsd.org/changeset/base/240078
 
 Log:
   Add required USB AUDIO v2.0 structure definitions.
   
   PR:  misc/171254
 
 Modified:
   head/sys/dev/sound/usb/uaudioreg.h
 
 Modified: head/sys/dev/sound/usb/uaudioreg.h
 ==
 --- head/sys/dev/sound/usb/uaudioreg.h Mon Sep  3 18:17:21 2012
(r240077)
 +++ head/sys/dev/sound/usb/uaudioreg.h Mon Sep  3 19:17:25 2012
(r240078)
 @@ -31,8 +31,16 @@
   * POSSIBILITY OF SUCH DAMAGE.
   */
  
 -#define   UAUDIO_VERSION  0x100
 +#ifndef _UAUDIOREG_H_
 +#define   _UAUDIOREG_H_
  
 +#define   UAUDIO_VERSION  0x0100
 +#define   UAUDIO_VERSION_20   0x0200
 +
 +#define   UAUDIO_PROTOCOL_20  0x20
 +
 +#define   UDESC_CS_UNDEFINED  0x20
 +#define   UDESC_CS_DEVICE 0x21
  #define   UDESC_CS_CONFIG 0x22
  #define   UDESC_CS_STRING 0x23
  #define   UDESC_CS_INTERFACE  0x24
 @@ -46,6 +54,14 @@
  #define   UDESCSUB_AC_FEATURE 6
  #define   UDESCSUB_AC_PROCESSING  7
  #define   UDESCSUB_AC_EXTENSION   8
 +/*  USB audio 2.0  */
 +#define   UDESCSUB_AC_EFFECT  7
 +#define   UDESCSUB_AC_PROCESSING_V2 8
 +#define   UDESCSUB_AC_EXTENSION_V2 9
 +#define   UDESCSUB_AC_CLOCK_SRC   10
 +#define   UDESCSUB_AC_CLOCK_SEL   11
 +#define   UDESCSUB_AC_CLOCK_MUL   12
 +#define   UDESCSUB_AC_SAMPLE_RT   13
  
  /* These macros check if the endpoint descriptor has additional fields */
  #define   UEP_MINSIZE 7
 @@ -250,6 +266,7 @@ struct usb_audio_extension_unit_0 {
uByte   baSourceId[0];  /* [bNrInPins] */
/* struct usb_audio_extension_unit_1 */
  } __packed;
 +
  struct usb_audio_extension_unit_1 {
uByte   bNrChannels;
uWord   wChannelConfig;
 @@ -348,6 +365,13 @@ struct usb_audio_extension_unit_1 {
  #define   DELAY_CONTROL   0x08
  #define   BASS_BOOST_CONTROL 0x09
  #define   LOUDNESS_CONTROL 0x0a
 +/*  USB audio 2.0  */
 +#define   INPUT_GAIN_CONTROL 0x0b
 +#define   INPUT_GAIN_PAD_CONTROL 0x0c
 +#define   PHASE_INVERTER_CONTROL 0x0d
 +#define   UNDERFLOW_CONTROL 0x0e
 +#define   OVERFLOW_CONTROL 0x0f
 +#define   LATENCY_CONTROL 0x10
  
  #define   FU_MASK(u) (1  ((u)-1))
  
 @@ -356,6 +380,9 @@ struct usb_audio_extension_unit_1 {
  #define   AS_GENERAL  1
  #define   FORMAT_TYPE 2
  #define   FORMAT_SPECIFIC 3
 +/*  USB audio 2.0  */
 +#define   FORMAT_ENCODER  3
 +#define   FORMAT_DECODER  4
  
  #define   UA_FMT_PCM  1
  #define   UA_FMT_PCM8 2
 @@ -402,3 +429,369 @@ struct usb_audio_extension_unit_1 {
  #define   DR_THRESHOLD_CONTROL4
  #define   DR_ATTACK_TIME_CONTROL  5
  #define   DR_RELEASE_TIME_CONTROL 6
 +
 +/**
 + * USB audio v2.0 definitions
 + **/
 +
 +struct usb_audio20_as_iface_descriptor {
 +  uByte   bLength;
 +  uByte   bDescriptorType;
 +  uByte   bDescriptorSubtype;
 +  uByte   bTerminalLink;
 +  uByte   bmControls;
 +  uByte   bFormatType;
 +  uDWord  bmFormats;
 +  uByte   bNrChannels;
 +  uDWord  bmChannelConfig;
 +  uByte   iChannelNames;
 +} __packed;
 +
 +struct usb_audio20_encoder_descriptor {
 +  uByte   bLength;
 +  uByte   bDescriptorType;
 +  uByte   bDescriptorSubtype;
 +  uByte   bEncoderID;
 +  uByte   bEncoder;
 +  uDWord  bmControls;
 +  uByte   iParam1;
 +  uByte   iParam2;
 +  uByte   iParam3;
 +  uByte   iParam4;
 +  uByte   iParam5;
 +  uByte   iParam6;
 +  uByte   iParam7;
 +  uByte   iParam8;
 +  uByte   iEncoder;
 +} __packed;
 +
 +struct usb_audio20_streaming_endpoint_descriptor {
 +  uByte   bLength;
 +  uByte   bDescriptorType;
 +  uByte   bDescriptorSubtype;
 +  uByte   bmAttributes;
 +#define   UA20_MPS_ONLY   0x80
 +  uByte   bmControls;
 +#define   UA20_PITCH_CONTROL_MASK 0x03
 +#define   UA20_DATA_OVERRUN_MASK  0x0C
 +#define   UA20_DATA_UNDERRUN_MASK 0x30
 +  uByte   bLockDelayUnits;
 +  uWord   wLockDelay;
 +} __packed;
 +
 +struct usb_audio20_feedback_endpoint_descriptor {
 +  uByte   bLength;
 +  uByte   bDescriptorType;
 +  uByte   bEndpointAddress;
 +  uByte   bmAttributes;
 +  uWord   wMaxPacketSize;
 +  uByte   bInterval;
 +} __packed;
 +
 +#define   

misc/171293: cvsup8.us.freebsd.org|cvsup8.freebsd.org way out of sync with other us|tld servers

2012-09-03 Thread John Merryweather Cooper

Number: 171293
Category:   misc
Synopsis:   cvsup8.us.freebsd.org|cvsup8.freebsd.org way out of sync with 
other us|tld servers
Confidential:   no
Severity:   non-critical
Priority:   low
Responsible:freebsd-bugs
State:  open
Quarter:
Keywords:   
Date-Required:
Class:  update
Submitter-Id:   current-users
Arrival-Date:   Mon Sep 03 20:50:22 UTC 2012
Closed-Date:
Last-Modified:
Originator: John Merryweather Cooper
Release:FreeBSD 9.1-PRERELEASE amd64
Organization:
Environment:


System: FreeBSD 9.1-PRERELEASE #29: Fri Aug 24 07:07:47 CDT 2012
r...@g7-hp.borgsdemons.com:/usr/obj/usr/src/sys/G7



Description:


Syncing to cvsup8.us.freebsd.org or cvsup8.freebsd.org after syncing to any 
other us|tld cvsup server rolls back changes from other cvsup servers because 
it is way out of sync with them.  I have not observed this behavior with any 
other us|tld servers.


How-To-Repeat:


1) sync to any of the cvsup*.us.freebsd.org or cvsup*.freebsd.org servers;
2) sync again using cvsup8.us.freebsd.org or cvsup8.freebsd.org;
3) observe the large number of checkouts rolling back changes from any of the 
other servers;


Fix:


Avoid using cvsup8.us.freebsd.org or cvsup8.freebsd.org


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: ports/171251: sysutils/xfce4-battery-plugin erroneously charging from AC

2012-09-03 Thread linimon
Old Synopsis: xfce4-battery-plugin erroneously charging from AC
New Synopsis: sysutils/xfce4-battery-plugin erroneously charging from AC

Responsible-Changed-From-To: freebsd-bugs-freebsd-ports-bugs
Responsible-Changed-By: linimon
Responsible-Changed-When: Mon Sep 3 21:59:25 UTC 2012
Responsible-Changed-Why: 
reclassify.

http://www.freebsd.org/cgi/query-pr.cgi?pr=171251
___
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/171299: [patch] games/linux-enemyterritory-omni-bot: update to 0.82

2012-09-03 Thread gjb
Old Synopsis: games/linux-enemyterritory-omni-bot: update to 0.82
New Synopsis: [patch] games/linux-enemyterritory-omni-bot: update to 0.82

Class-Changed-From-To: sw-bug-maintainer-update
Class-Changed-By: gjb
Class-Changed-When: Mon Sep 3 23:13:35 UTC 2012
Class-Changed-Why: 
Submitter is maintainer.



Responsible-Changed-From-To: freebsd-bugs-freebsd-ports-bugs
Responsible-Changed-By: gjb
Responsible-Changed-When: Mon Sep 3 23:13:35 UTC 2012
Responsible-Changed-Why: 
Ports PR.


http://www.freebsd.org/cgi/query-pr.cgi?pr=171299
___
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