Re: kern/158063: [panic] kmem_malloc(20480): kmem_map too small

2011-06-23 Thread glebius
Synopsis: [panic] kmem_malloc(20480): kmem_map too small

State-Changed-From-To: feedback->closed
State-Changed-By: glebius
State-Changed-When: Thu Jun 23 07:55:53 UTC 2011
State-Changed-Why: 
Looks like dup of kern/156083

http://www.freebsd.org/cgi/query-pr.cgi?pr=158063
___
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/154469: ftp-proxy(8) bug, can be fixed via merge from openbsd ?

2011-06-23 Thread bz
Synopsis: ftp-proxy(8) bug, can be fixed via merge from openbsd ?

Responsible-Changed-From-To: freebsd-bugs->bz
Responsible-Changed-By: bz
Responsible-Changed-When: Thu Jun 23 08:00:55 UTC 2011
Responsible-Changed-Why: 
Merge after pf45 hit HEAD.

http://www.freebsd.org/cgi/query-pr.cgi?pr=154469
___
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/158160: coretemp reports incorrect CPU temperature on Atom D525

2011-06-23 Thread Paul Donovan
On 23/06/2011, at 8:37 AM, Xin LI wrote:

> 
> 
> What's your output from:
> 
>   cpucontrol -m 0x19c /dev/cpuctl0
> 
> (Load cpuctl.ko if you don't have /dev/cpuctl0).
> 


Hi,

I had to copy cpuctl.ko from a FreeBSD-8.2 .iso as FreeNAS 8 doesn't come with 
it ;-)

# kldload cpuctl.ko
# cpucontrol -m 0x19c /dev/cpuctl0
MSR 0x19c: 0x 0x885e
# 

Cheers,
Paul

___
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/157534: [mpt] freeze when disk is removed/died from geom_mirror/zfs raid

2011-06-23 Thread Eugene M. Zheganin
The following reply was made to PR kern/157534; it has been noted by GNATS.

From: "Eugene M. Zheganin" 
To: bug-follo...@freebsd.org, eug...@zhegan.in
Cc:  
Subject: Re: kern/157534: [mpt] freeze when disk is removed/died from 
geom_mirror/zfs
 raid
Date: Thu, 23 Jun 2011 17:42:12 +0600

 The thing is, that after disk removal the controller sends two types of 
 events: 0x12 and 0x16.
 According to the mpi_ioc.h the first is MPI_EVENT_SAS_PHY_LINK_STATUS 
 and the second is MPI_EVENT_SAS_DISCOVERY.
 
 Furthermore, according to the kernel messages on the console during the 
 drive removal/attaching, and the code in mpt_cam.c, mpt_cam_event() does 
 nothing to handle these events (they both are handled by 'default:' 
 section). I think this leads to freezing.
 
 Comparing to the linux mpt code, I can say that Linux kernel does 
 nothing about MPI_EVENT_SAS_PHY_LINK_STATUS, but it definitely does 
 something (which my skills are to low to understand to) about 
 MPI_EVENT_SAS_DISCOVERY.
 
 Anyway, my skills are to low to correct this.
 
 IPKVM screenshots of drive removal and insertion (shot 1 - removal, shot 
 3 - insertion):
 http://unix.zhegan.in/files/mpt_cam_event01.jpeg
 http://unix.zhegan.in/files/mpt_cam_event02.jpeg
 http://unix.zhegan.in/files/mpt_cam_event03.jpeg
 
___
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/116935: [ata] Intermittent error with Promise PDC40718

2011-06-23 Thread George Kontostanos
The following reply was made to PR kern/116935; it has been noted by GNATS.

From: George Kontostanos 
To: bug-follo...@freebsd.org,
 p...@ludd.luth.se
Cc:  
Subject: Re: kern/116935: [ata] Intermittent error with Promise PDC40718
Date: Thu, 23 Jun 2011 15:23:54 +0300

 I was wondering if there is any update regarding this bug or if this =
 controller is  marked as a "don't use".=20
 
 I have been using it for a year with no issues at all till after =
 8.2-Release were I keep getting:
 
 Jun 22 17:08:53 hp kernel: ata2: timeout waiting to issue command
 Jun 22 17:08:53 hp kernel: ata2: error issuing SETFEATURES ENABLE WCACHE =
 command
 Jun 22 17:09:33 hp kernel: ad4: WARNING - SET_MULTI taskqueue timeout - =
 completing request directly
 Jun 22 17:09:33 hp kernel: ad4: WARNING - WRITE_DMA48 requeued due to =
 channel reset LBA=3D321558741
 Jun 22 17:09:34 hp kernel: ata2: SIGNATURE: 0101
 Jun 22 17:09:34 hp kernel: ad4: WARNING - WRITE_DMA48 requeued due to =
 channel reset LBA=3D321558869
 Jun 22 17:09:34 hp kernel: ata2: FAILURE - already active DMA on this =
 device
 Jun 22 17:09:34 hp kernel: ata2: setting up DMA failed
 Jun 22 17:09:34 hp kernel: ata2: FAILURE - already active DMA on this =
 device
 Jun 22 17:09:34 hp kernel: ata2: setting up DMA failed
 
 The disk has been changed 3 times.
 
 thanks=
___
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/158206: /bin/sh doesn't properly return IO errors to conditionals in a script

2011-06-23 Thread Chris Ulrich

>Number: 158206
>Category:   misc
>Synopsis:   /bin/sh doesn't properly return IO errors to conditionals in a 
>script
>Confidential:   no
>Severity:   serious
>Priority:   medium
>Responsible:freebsd-bugs
>State:  open
>Quarter:
>Keywords:   
>Date-Required:
>Class:  sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 23 16:10:14 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Chris Ulrich
>Release:amd64 freebsd 8.2-RELEASE
>Organization:
CSN Stores
>Environment:
FreeBSD svn.csnzoo.com 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 
UTC 2011 r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
a /bin/sh script writing to a closed file descriptor doesn't pass the IO error 
it receives from the write to the script itself.


>How-To-Repeat:
write these two scripts:

#!/bin/sh
while echo -n . ; do : ; done

and

#!/bin/sh
while printf . ; do : ; done


now run each script with std-out closed, ie (assuming your interactive shell is 
bourne shell or similar):

$ sh ./bomb-echo.sh >&-

or 

$ sh ./bomb-printf.sh >&-


both should exit instantly because echo *should* get an error from writing to a 
closed file descriptor.  Instead both spin madly until they get a kill signal 
or you truss them (the last bit of stuff you see when you truss them is:

72238: sigprocmask(SIG_SETMASK,0x0,0x0)  = 0 (0x0)
72238: write(1,".",1)ERR#9 'Bad file descriptor'
72238: process exit, rval = 0

which itself is another 
>Fix:
sorry.  don't know C.

>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"


``Fatal double fault'' when running nightly jobs, perhaps ZFS-related

2011-06-23 Thread Tim Stewart

Hello,

I have a FreeBSD 8.2-RELEASE-p2 system that uses ZFS, including booting. 
 The kernel is locally compiled and is just the GENERIC configuration 
with DTrace enabled and a MFI driver patch from the mailing list post at 
[1].


The system panicked with a ``Fatal double fault'' at 3:09 AM one night 
(typed in manually from a screenshot, but proofread):



Fatal double fault
rip = 0x805d3eeb
rsp = 0xff848585b000
rbp = 0xff848585b020
cpuid = 0; apic id = 20
panic: double fault
cpuid = 0
KDB: stack backtrace
#0 0x80618d3e at kdb_backtrace+0x5e
#1 0x805e4d47 at panic+0x187
#2 0x808dc834 at dblfault_handler+0xa4
#3 0x808c53ad at Xdblfault+0xad
Uptime: 3d11h11m37s
Cannot dump. Device not defined or unavailable.
Automatic reboot in 15 seconds - press a key on the console to abort
Sleeping thread (tid 100141, pid 5) owns a non-sleepable lock


It seems likely that the activity that prompted the fault is related to 
the nightly periodic jobs.  Others have suggested that it may be related 
to /etc/periodic/security/100.chksetuid (see [2] and [3]), as it does a 
find on every filesystem not marked as `nosuid.'  Indeed, I have a ZFS 
dataset containing 71+ million files that (at the time) was not marked 
as nosuid.


I have not been able to replicate the issue since and it has only 
happened once.  I have set `setuid=off' on the large ZFS dataset so that 
100.chksetuid will no longer traverse it every night.


Any clue as to what is happening here?  I don't have a kernel core dump 
since I'm using ZFS for swap, though I can change this if it helps 
troubleshoot the issue in the event of another crash.


Thanks for any help you can provide,

--
-TimS
Tim Stewart


References:

[1] http://lists.freebsd.org/pipermail/freebsd-scsi/2011-March/004839.html

[2] http://lists.freebsd.org/pipermail/freebsd-bugs/2011-March/043781.html

[3] http://forums.freebsd.org/showthread.php?t=23919
___
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/113345: csup(1) broken: Updater failed: Bad diff from server

2011-06-23 Thread linimon
Synopsis: csup(1) broken: Updater failed: Bad diff from server

State-Changed-From-To: open->feedback
State-Changed-By: linimon
State-Changed-When: Thu Jun 23 18:05:33 UTC 2011
State-Changed-Why: 
To submitter: is this still a problem?


Responsible-Changed-From-To: mux->freebsd-bugs
Responsible-Changed-By: linimon
Responsible-Changed-When: Thu Jun 23 18:05:33 UTC 2011
Responsible-Changed-Why: 
mux has returned his commit bit for safekeeping.

http://www.freebsd.org/cgi/query-pr.cgi?pr=113345
___
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/158127: [patch] remount_optional option in rc.initdiskless doesn't actually work

2011-06-23 Thread linimon
Synopsis: [patch] remount_optional option in rc.initdiskless doesn't actually 
work

Responsible-Changed-From-To: freebsd-bugs->freebsd-rc
Responsible-Changed-By: linimon
Responsible-Changed-When: Thu Jun 23 18:12:03 UTC 2011
Responsible-Changed-Why: 
Over to maintainer(s).

http://www.freebsd.org/cgi/query-pr.cgi?pr=158127
___
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/158156: [bce] bce driver shows "no carrier" on IBM blade (HS22 with BCM5709)

2011-06-23 Thread linimon
Old Synopsis: bce driver shows "no carrier" on IBM blade (HS22 with BCM5709)
New Synopsis: [bce] bce driver shows "no carrier" on IBM blade (HS22 with 
BCM5709)

Responsible-Changed-From-To: freebsd-bugs->freebsd-net
Responsible-Changed-By: linimon
Responsible-Changed-When: Thu Jun 23 18:13:10 UTC 2011
Responsible-Changed-Why: 
Over to maintainer(s).

http://www.freebsd.org/cgi/query-pr.cgi?pr=158156
___
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/157903: automated kldload for USB class devices

2011-06-23 Thread Warner Losh
How'd you go about generating all these .conf files?

I don't see where you defined USB_* as variables in them either.  Maybe you 
could point me at it?

Warner

On Jun 23, 2011, at 10:00 AM, Robert Millan wrote:

> 

___
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/29355: [kernel] [patch] add lchflags support

2011-06-23 Thread linimon
Synopsis: [kernel] [patch] add lchflags support

Responsible-Changed-From-To: mux->freebsd-bugs
Responsible-Changed-By: linimon
Responsible-Changed-When: Thu Jun 23 18:03:56 UTC 2011
Responsible-Changed-Why: 
mux has returned his commit bit for safekeeping.

http://www.freebsd.org/cgi/query-pr.cgi?pr=29355
___
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/157903: automated kldload for USB class devices

2011-06-23 Thread Warner Losh
The following reply was made to PR conf/157903; it has been noted by GNATS.

From: Warner Losh 
To: Robert Millan 
Cc: freebsd-gnats-sub...@freebsd.org, freebsd-bugs@freebsd.org,
freebsd-hack...@freebsd.org, freebsd-...@freebsd.org
Subject: Re: misc/157903: automated kldload for USB class devices
Date: Thu, 23 Jun 2011 12:37:33 -0600

 How'd you go about generating all these .conf files?
 
 I don't see where you defined USB_* as variables in them either.  Maybe =
 you could point me at it?
 
 Warner
 
 On Jun 23, 2011, at 10:00 AM, Robert Millan wrote:
 
 > 
 
___
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/158230: libdisk(3) segfault in Open_Disk() with "ada0"

2011-06-23 Thread Patrick Lamaiziere

>Number: 158230
>Category:   bin
>Synopsis:   libdisk(3) segfault in Open_Disk() with "ada0"
>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:   Thu Jun 23 18:50:12 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Patrick Lamaiziere
>Release:8.2-STABLE / i386
>Organization:
>Environment:
FreeBSD roxette.lamaiziere.net 8.2-STABLE FreeBSD 8.2-STABLE #1: Wed Jun  1 
20:18:11 CEST 2011 
patr...@roxette.lamaiziere.net:/usr/obj/usr/src/sys/ROXETTE  i386

>Description:
When using sysintall(8), it crashes while "probing devices".

I've tracked down the problem to libdisk(3) and it appears that it crashes 
while getting disk info on my ada0 disk.

This is reproductible by using the libdisk test suite in /usr/src/lib/libdisk 
(tst01.c).

tst01 ada0
Gdb:
Starting program: /usr/src/lib/libdisk/tst01 ada0

Program received signal SIGSEGV, Segmentation fault.
0x08063032 in L1 ()
(gdb) bt
#0  0x08063032 in L1 ()
#1  0x28405400 in ?? ()
#2  0x0804bd8c in Int_Open_Disk (name=0xbfbfea1b "ada0", conftxt=Variable 
"conftxt" is not available.
)
at open_disk.c:55
#3  0x08049dcd in Open_Disk (name=0xbfbfea1b "ada0") at disk.c:106
#4  0x08048438 in main (argc=Variable "argc" is not available.
) at tst01.c:140

Please tell me if you need more information.
Thanks, regards.

>How-To-Repeat:
# cd /usr/src/lib/libdisk
# tst01 ada0


>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/33809: [patch] mount_nfs(8) has trouble with embedded ':' in path

2011-06-23 Thread linimon
Synopsis: [patch] mount_nfs(8) has trouble with embedded ':' in path

Responsible-Changed-From-To: mux->freebsd-bugs
Responsible-Changed-By: linimon
Responsible-Changed-When: Thu Jun 23 18:04:42 UTC 2011
Responsible-Changed-Why: 
mux has returned his commit bit for safekeeping.

http://www.freebsd.org/cgi/query-pr.cgi?pr=33809
___
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/127095: csup(1): Csup truncates files using RELENG_6

2011-06-23 Thread linimon
Synopsis: csup(1): Csup truncates files using RELENG_6

State-Changed-From-To: open->feedback
State-Changed-By: linimon
State-Changed-When: Thu Jun 23 18:05:33 UTC 2011
State-Changed-Why: 
To submitter: is this still a problem?


Responsible-Changed-From-To: mux->freebsd-bugs
Responsible-Changed-By: linimon
Responsible-Changed-When: Thu Jun 23 18:05:33 UTC 2011
Responsible-Changed-Why: 
mux has returned his commit bit for safekeeping.

http://www.freebsd.org/cgi/query-pr.cgi?pr=127095
___
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/158121: The "security run output" contains log entries which are a year old.

2011-06-23 Thread linimon
Synopsis: The "security run output" contains log entries which are a year old.

State-Changed-From-To: open->closed
State-Changed-By: linimon
State-Changed-When: Thu Jun 23 18:11:30 UTC 2011
State-Changed-Why: 
A workaround was suggested.

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


kern/158231: panic on unmounting nullfs mounted over ufs on usb stick that got detached

2011-06-23 Thread Paul B Mahol

>Number: 158231
>Category:   kern
>Synopsis:   panic on unmounting nullfs mounted over ufs on usb stick that 
>got detached
>Confidential:   no
>Severity:   serious
>Priority:   medium
>Responsible:freebsd-bugs
>State:  open
>Quarter:
>Keywords:   
>Date-Required:
>Class:  sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 23 19:00:22 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Paul B Mahol
>Release:FreeBSD CURRENT
>Organization:
>Environment:
FreeBSD home 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r223183+87c92c3: Sun Jun 19 
04:19:19 UTC 2011 root@:/usr/obj/usr/src/sys/kernel  i386
>Description:
panic when umounting nullfs if target is gone.
>How-To-Repeat:
Mount usb stick, da0s1a (ufs fs) on /mnt mount point. Now use nullfs to mount 
usb file system directory onto / subdirectory on ada0s1a, for example:

mount_nullfs /mnt/path/to/dir /usr/some/stuff_on_hard_disk

Umount (force) or detach usb stick. Force umount of nullfs, kernel will panic.
>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/119354: csup(1) in free(): error: chunk is already free

2011-06-23 Thread linimon
Synopsis: csup(1) in free(): error: chunk is already free

State-Changed-From-To: open->feedback
State-Changed-By: linimon
State-Changed-When: Thu Jun 23 18:05:33 UTC 2011
State-Changed-Why: 
To submitter: is this still a problem?


Responsible-Changed-From-To: mux->freebsd-bugs
Responsible-Changed-By: linimon
Responsible-Changed-When: Thu Jun 23 18:05:33 UTC 2011
Responsible-Changed-Why: 
mux has returned his commit bit for safekeeping.

http://www.freebsd.org/cgi/query-pr.cgi?pr=119354
___
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/132596: examples/cvsup/ports-supfile still oriented on cvsup port

2011-06-23 Thread linimon
Synopsis: examples/cvsup/ports-supfile still oriented on cvsup port

State-Changed-From-To: open->open
State-Changed-By: linimon
State-Changed-When: Thu Jun 23 18:05:33 UTC 2011
State-Changed-Why: 
mux has returned his commit bit for safekeeping.


Responsible-Changed-From-To: mux->freebsd-bugs
Responsible-Changed-By: linimon
Responsible-Changed-When: Thu Jun 23 18:05:33 UTC 2011
Responsible-Changed-Why: 

http://www.freebsd.org/cgi/query-pr.cgi?pr=132596
___
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/117520: [patch] csup(1) not-really-equivalent to cvsup

2011-06-23 Thread linimon
Synopsis: [patch] csup(1) not-really-equivalent to cvsup

State-Changed-From-To: open->open
State-Changed-By: linimon
State-Changed-When: Thu Jun 23 18:05:33 UTC 2011
State-Changed-Why: 
mux has returned his commit bit for safekeeping.


Responsible-Changed-From-To: mux->freebsd-bugs
Responsible-Changed-By: linimon
Responsible-Changed-When: Thu Jun 23 18:05:33 UTC 2011
Responsible-Changed-Why: 

http://www.freebsd.org/cgi/query-pr.cgi?pr=117520
___
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/127095: csup(1): Csup truncates files using RELENG_6

2011-06-23 Thread Thomas Laus
The following reply was made to PR bin/127095; it has been noted by GNATS.

From: "Thomas Laus" 
To: bug-follo...@freebsd.org,
  lau...@acm.org
Cc:  
Subject: Re: bin/127095: csup(1): Csup truncates files using RELENG_6
Date: Thu, 23 Jun 2011 15:40:06 -0400

 I am not running RELENG_6 anymore, so you can close out this PR.  I have 
 not observed this issue with RELENG_8 running with AMD64.
 
 Tom
 
 
 -- 
 Public Keys:
 PGP KeyID = 0x5F22FDC1
 GnuPG KeyID = 0x620836CF
 
___
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/157903: automated kldload for USB class devices

2011-06-23 Thread Hans Petter Selasky
The following reply was made to PR conf/157903; it has been noted by GNATS.

From: Hans Petter Selasky 
To: freebsd-hack...@freebsd.org
Cc: Warner Losh ,
 Robert Millan ,
 freebsd-bugs@freebsd.org,
 freebsd-gnats-sub...@freebsd.org,
 freebsd-...@freebsd.org
Subject: Re: misc/157903: automated kldload for USB class devices
Date: Thu, 23 Jun 2011 22:03:41 +0200

 On Thursday 23 June 2011 20:37:33 Warner Losh wrote:
 > How'd you go about generating all these .conf files?
 > 
 > I don't see where you defined USB_* as variables in them either.  Maybe you
 > could point me at it?
 > 
 > Warner
 > 
 > On Jun 23, 2011, at 10:00 AM, Robert Millan wrote:
 > > 
 
 Hi Warner,
 
 It looks like he is simply grepping for the USB_VENDOR_XXX entries in the *.c 
 files. I would like to have these config files in 9-current when all the 
 issues are resolved regarding auto-generating the .conf files.
 
 --HPS
___
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/157903: automated kldload for USB class devices

2011-06-23 Thread Hans Petter Selasky
On Thursday 23 June 2011 20:37:33 Warner Losh wrote:
> How'd you go about generating all these .conf files?
> 
> I don't see where you defined USB_* as variables in them either.  Maybe you
> could point me at it?
> 
> Warner
> 
> On Jun 23, 2011, at 10:00 AM, Robert Millan wrote:
> > 

Hi Warner,

It looks like he is simply grepping for the USB_VENDOR_XXX entries in the *.c 
files. I would like to have these config files in 9-current when all the 
issues are resolved regarding auto-generating the .conf files.

--HPS
___
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/158238: diff: /etc/motd: Tell people to subscribe questions@ before posting.

2011-06-23 Thread Julian H. Stacey

>Number: 158238
>Category:   bin
>Synopsis:   diff: /etc/motd: Tell people to subscribe questions@ before 
>posting.
>Confidential:   no
>Severity:   non-critical
>Priority:   low
>Responsible:freebsd-bugs
>State:  open
>Quarter:
>Keywords:   
>Date-Required:
>Class:  change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 23 22:30:12 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Julian H. Stacey
>Release:FreeBSD 8.2-RELEASE i386
>Organization:
http://berklix.com BSD Linux Unix Consultancy, Munich/Muenchen.
>Environment:
System: FreeBSD fire.js.berklix.net 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Jun 
2 23:10:13 CEST 2011 
j...@blak.js.berklix.net:/ad6s4/release/8.2-RELEASE/src/sys/amd64/compile/FIRE64.small
 amd64


>Description:
diff: /etc/motd: Tell people to subscribe questions@ before posting.
To reduce noise on questions@ somewhat (& as a side effect,
ensure newbies get all replies, (as some respondents just
reply to lists, not to all previous thread participants, &
some newbies might not realise. )

>How-To-Repeat:
Read questions@ archive Subject: freebsd list admins?

http://docs.FreeBSD.org/cgi/mid.cgi?201106202352.24196.rsimmons0
 obert Simmons 
 "There seems to be a few email addresses that are subscribed to
 these lists that keep spamming it periodically"

http://docs.FreeBSD.org/cgi/mid.cgi?20110621074416.58869e66
 Jerry 
 "Unfortunately, this is an "open" list; ie, anyone subscribed or not
  can post. This leads to the inevitable problems that plague this forum."

http://docs.FreeBSD.org/cgi/mid.cgi?201106212203.p5LM3NbI005159
 "Julian H. Stacey" 
 "I think we should: make questions@ list writable only to subscribers
 (if not already); & Edit /usr/src/etc/motd ...  Should we send in
 a send-pr to edit src/etc/motd  eg:"

http://docs.FreeBSD.org/cgi/mid.cgi?BANLkTimoY58yWwdHYPrhKBzPQa0CYhxERw
 Robert Simmons 
 "PR it.  Sounds good."

>Fix:

A patch in diff -c format is appended below, & a spare copy here
http://berklix.com/~jhs/src/bsd/fixes/freebsd/src/gen/etc/motd.REL=ALL.diff

*** 8.2-RELEASE/src/etc/motdThu Jul  3 08:06:09 2003
--- new/src/etc/motd.newThu Jun 23 22:58:31 2011
***
*** 13,21 
 http://www.FreeBSD.org/search/.  If the doc distribution has
 been installed, they're also available formatted in /usr/share/doc.
  
! If you still have a question or problem, please take the output of
! `uname -a', along with any relevant error messages, and email it
! as a question to the questi...@freebsd.org mailing list.  If you are
  unfamiliar with FreeBSD's directory layout, please refer to the hier(7)
  manual page.  If you are not familiar with manual pages, type `man man'.
  
--- 13,22 
 http://www.FreeBSD.org/search/.  If the doc distribution has
 been installed, they're also available formatted in /usr/share/doc.
  
! If you still have a question or problem, please subscribe (free) via
! http://lists.freebsd.org/mailman/subscribe/freebsd-questions  then take 
! the output of `uname -a', along with any relevant error messages, and email
! it as a question to the questi...@freebsd.org mailing list.  If you are
  unfamiliar with FreeBSD's directory layout, please refer to the hier(7)
  manual page.  If you are not familiar with manual pages, type `man man'.
  


>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/127095: csup(1): Csup truncates files using RELENG_6

2011-06-23 Thread linimon
Synopsis: csup(1): Csup truncates files using RELENG_6

State-Changed-From-To: feedback->closed
State-Changed-By: linimon
State-Changed-When: Fri Jun 24 00:32:23 UTC 2011
State-Changed-Why: 
Submitter no longer sees this problem.

http://www.freebsd.org/cgi/query-pr.cgi?pr=127095
___
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/158231: [nullfs] panic on unmounting nullfs mounted over ufs on usb stick that got detached

2011-06-23 Thread linimon
Old Synopsis: panic on unmounting nullfs mounted over ufs on usb stick that got 
detached
New Synopsis: [nullfs] panic on unmounting nullfs mounted over ufs on usb stick 
that got detached

Responsible-Changed-From-To: freebsd-bugs->freebsd-fs
Responsible-Changed-By: linimon
Responsible-Changed-When: Fri Jun 24 00:33:29 UTC 2011
Responsible-Changed-Why: 
Over to maintainer(s).

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


8.2 (amd64) - Unable to find device node /dev/ad4s1b

2011-06-23 Thread hany ramadan
Hi,

I'm attempting to install FreeBSD 8.2 (amd64) on a Shuttle SH55J2 with
2 SATA disks.

I get an error message when it's trying to write partitioning information.

Not all device nodes are created properly, it seems.

I've tried  32-bit  8.2,  and it works like a charm.
I've also tried 64-bit but on the slightly-older  8.1, and that works too.

PC-BSD  8.2 also works without a hitch (even when installing "server
only"),   and even OpenBSD 4.9 works fine.

So I'm thinking it's not really anything wrong with the machine, but
rather perhaps the software..

Is this potentially a regression with 64-bit  FreeBSD 8.2  ?

Thanks,
Hany

p.s. I realize there's a new installer in 9  (which is built on gpart)
,  but a non-STABLE  OS is not an option for this machine.
___
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/157903: automated kldload for USB class devices

2011-06-23 Thread Hans Petter Selasky
Hi,

I need some people testing the following patch:

http://svn.freebsd.org/changeset/base/223486

svn up and build a new kernel.

Try to remove all USB devices from kernel config except the host controllers 
and USB keyboard. Then put the following file into /etc/devd/

http://hselasky.homeunix.org:8192/bus_auto.conf

MD5 (bus_auto.conf) = 4a1130910cdbe0a5d3eca86b0b12f533

Verify using kldstat that modules are loaded when you plug a new USB device.

--HPS
___
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/157903: commit references a PR

2011-06-23 Thread dfilter service
The following reply was made to PR conf/157903; it has been noted by GNATS.

From: dfil...@freebsd.org (dfilter service)
To: bug-follo...@freebsd.org
Cc:  
Subject: Re: conf/157903: commit references a PR
Date: Fri, 24 Jun 2011 02:30:22 + (UTC)

 Author: hselasky
 Date: Fri Jun 24 02:30:02 2011
 New Revision: 223486
 URL: http://svn.freebsd.org/changeset/base/223486
 
 Log:
   - Move all USB device ID arrays into so-called sections,
 sorted according to the mode which they support:
host, device or dual mode
   - Add generic tool to extract these data:
tools/bus_autoconf
   
   Discussed with:  imp
   Suggested by:Robert Millan 
   PR:  misc/157903
   MFC after:   14 days
 
 Added:
   head/tools/tools/bus_autoconf/
   head/tools/tools/bus_autoconf/Makefile   (contents, props changed)
   head/tools/tools/bus_autoconf/bus_autoconf.c   (contents, props changed)
   head/tools/tools/bus_autoconf/bus_autoconf.h   (contents, props changed)
   head/tools/tools/bus_autoconf/bus_autoconf.sh   (contents, props changed)
 Modified:
   head/sys/dev/sound/usb/uaudio.c
   head/sys/dev/usb/input/atp.c
   head/sys/dev/usb/input/uhid.c
   head/sys/dev/usb/net/if_aue.c
   head/sys/dev/usb/net/if_axe.c
   head/sys/dev/usb/net/if_cdce.c
   head/sys/dev/usb/net/if_cue.c
   head/sys/dev/usb/net/if_ipheth.c
   head/sys/dev/usb/net/if_kue.c
   head/sys/dev/usb/net/if_mos.c
   head/sys/dev/usb/net/if_rue.c
   head/sys/dev/usb/net/if_udav.c
   head/sys/dev/usb/net/uhso.c
   head/sys/dev/usb/serial/u3g.c
   head/sys/dev/usb/serial/uark.c
   head/sys/dev/usb/serial/ubsa.c
   head/sys/dev/usb/serial/uchcom.c
   head/sys/dev/usb/serial/ucycom.c
   head/sys/dev/usb/serial/uftdi.c
   head/sys/dev/usb/serial/ugensa.c
   head/sys/dev/usb/serial/uipaq.c
   head/sys/dev/usb/serial/ulpt.c
   head/sys/dev/usb/serial/umcs.c
   head/sys/dev/usb/serial/umct.c
   head/sys/dev/usb/serial/umodem.c
   head/sys/dev/usb/serial/umoscom.c
   head/sys/dev/usb/serial/uplcom.c
   head/sys/dev/usb/serial/uslcom.c
   head/sys/dev/usb/serial/uvisor.c
   head/sys/dev/usb/serial/uvscom.c
   head/sys/dev/usb/storage/umass.c
   head/sys/dev/usb/usbdi.h
   head/sys/dev/usb/wlan/if_rum.c
   head/sys/dev/usb/wlan/if_run.c
   head/sys/dev/usb/wlan/if_uath.c
   head/sys/dev/usb/wlan/if_upgt.c
   head/sys/dev/usb/wlan/if_ural.c
   head/sys/dev/usb/wlan/if_urtw.c
   head/sys/dev/usb/wlan/if_zyd.c
   head/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
   head/sys/netgraph/bluetooth/drivers/ubtbcmfw/ubtbcmfw.c
 
 Modified: head/sys/dev/sound/usb/uaudio.c
 ==
 --- head/sys/dev/sound/usb/uaudio.cThu Jun 23 22:21:28 2011
(r223485)
 +++ head/sys/dev/sound/usb/uaudio.cFri Jun 24 02:30:02 2011
(r223486)
 @@ -531,6 +531,15 @@ static driver_t uaudio_driver = {
.size = sizeof(struct uaudio_softc),
  };
  
 +static const STRUCT_USB_HOST_ID __used uaudio_devs[] = {
 +  /* Generic USB audio class match */
 +  {USB_IFACE_CLASS(UICLASS_AUDIO),
 +   USB_IFACE_SUBCLASS(UISUBCLASS_AUDIOCONTROL),},
 +  /* Generic USB MIDI class match */
 +  {USB_IFACE_CLASS(UICLASS_AUDIO),
 +   USB_IFACE_SUBCLASS(UISUBCLASS_MIDISTREAM),},
 +};
 +
  static int
  uaudio_probe(device_t dev)
  {
 
 Modified: head/sys/dev/usb/input/atp.c
 ==
 --- head/sys/dev/usb/input/atp.c   Thu Jun 23 22:21:28 2011
(r223485)
 +++ head/sys/dev/usb/input/atp.c   Fri Jun 24 02:30:02 2011
(r223486)
 @@ -240,7 +240,7 @@ struct atp_dev_params {
},
  };
  
 -static const struct usb_device_id atp_devs[] = {
 +static const STRUCT_USB_HOST_ID atp_devs[] = {
/* Core Duo MacBook & MacBook Pro */
{ USB_VPI(USB_VENDOR_APPLE, 0x0217, ATP_DEV_PARAMS_0) },
{ USB_VPI(USB_VENDOR_APPLE, 0x0218, ATP_DEV_PARAMS_0) },
 
 Modified: head/sys/dev/usb/input/uhid.c
 ==
 --- head/sys/dev/usb/input/uhid.c  Thu Jun 23 22:21:28 2011
(r223485)
 +++ head/sys/dev/usb/input/uhid.c  Fri Jun 24 02:30:02 2011
(r223486)
 @@ -607,29 +607,33 @@ uhid_ioctl(struct usb_fifo *fifo, u_long
return (error);
  }
  
 +static const STRUCT_USB_HOST_ID uhid_devs[] = {
 +  /* generic HID class */
 +  {USB_IFACE_CLASS(UICLASS_HID),},
 +  /* the Xbox 360 gamepad doesn't use the HID class */
 +  {USB_IFACE_CLASS(UICLASS_VENDOR),
 +   USB_IFACE_SUBCLASS(UISUBCLASS_XBOX360_CONTROLLER),
 +   USB_IFACE_PROTOCOL(UIPROTO_XBOX360_GAMEPAD),},
 +};
 +
  static int
  uhid_probe(device_t dev)
  {
struct usb_attach_arg *uaa = device_get_ivars(dev);
 +  int error;
  
DPRINTFN(11, "\n");
  
 -  if (uaa->usb_mode != USB_MODE_HOST) {
 +  if (uaa->usb_mode != USB_MODE_HOST)
return (ENXIO);
 -  }
 -  if (uaa->info.bInterfac

Re: misc/157903: automated kldload for USB class devices

2011-06-23 Thread Hans Petter Selasky
The following reply was made to PR conf/157903; it has been noted by GNATS.

From: Hans Petter Selasky 
To: freebsd-hack...@freebsd.org
Cc: Robert Millan ,
 freebsd-gnats-sub...@freebsd.org,
 freebsd-bugs@freebsd.org,
 freebsd-...@freebsd.org,
 freebsd-curr...@freebsd.org
Subject: Re: misc/157903: automated kldload for USB class devices
Date: Fri, 24 Jun 2011 04:37:25 +0200

 Hi,
 
 I need some people testing the following patch:
 
 http://svn.freebsd.org/changeset/base/223486
 
 svn up and build a new kernel.
 
 Try to remove all USB devices from kernel config except the host controllers 
 and USB keyboard. Then put the following file into /etc/devd/
 
 http://hselasky.homeunix.org:8192/bus_auto.conf
 
 MD5 (bus_auto.conf) = 4a1130910cdbe0a5d3eca86b0b12f533
 
 Verify using kldstat that modules are loaded when you plug a new USB device.
 
 --HPS
___
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/157903: automated kldload for USB class devices

2011-06-23 Thread Hans Petter Selasky
On Friday 24 June 2011 04:37:25 Hans Petter Selasky wrote:
> Hi,
> 
> I need some people testing the following patch:
> 
> http://svn.freebsd.org/changeset/base/223486
> 
> svn up and build a new kernel.
> 
> Try to remove all USB devices from kernel config except the host
> controllers and USB keyboard. Then put the following file into /etc/devd/
> 
> http://hselasky.homeunix.org:8192/bus_auto.conf
> 
> MD5 (bus_auto.conf) = 4a1130910cdbe0a5d3eca86b0b12f533
> 
> Verify using kldstat that modules are loaded when you plug a new USB
> device.
> 
> --HPS

Hi,

Turns out some additional patches were needed:

http://svn.freebsd.org/changeset/base/223489

Please try again.

Updated bus_auto.conf:

http://hselasky.homeunix.org:8192/bus_auto.conf

MD5 (/etc/devd/bus_auto.conf) = c321d1801f0fa3c6260eeef7061330e8

--HPS
___
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/157903: commit references a PR

2011-06-23 Thread dfilter service
The following reply was made to PR conf/157903; it has been noted by GNATS.

From: dfil...@freebsd.org (dfilter service)
To: bug-follo...@freebsd.org
Cc:  
Subject: Re: conf/157903: commit references a PR
Date: Fri, 24 Jun 2011 04:16:16 + (UTC)

 Author: hselasky
 Date: Fri Jun 24 04:16:06 2011
 New Revision: 223489
 URL: http://svn.freebsd.org/changeset/base/223489
 
 Log:
   - Add additional information to the PnP info of USB HUBs children which
 is now required by bus_autoconf.
   - Allow interface class matching even if device class is vendor specific.
   - Update bus_autoconf tool to not generate system and subsystem match lines
 for the nomatch event.
   
   PR:  misc/157903
   MFC after:   14 days
 
 Modified:
   head/sys/dev/usb/usb_hub.c
   head/sys/dev/usb/usb_lookup.c
   head/tools/tools/bus_autoconf/bus_autoconf.c
 
 Modified: head/sys/dev/usb/usb_hub.c
 ==
 --- head/sys/dev/usb/usb_hub.c Fri Jun 24 03:50:54 2011(r223488)
 +++ head/sys/dev/usb/usb_hub.c Fri Jun 24 04:16:06 2011(r223489)
 @@ -1334,15 +1334,19 @@ uhub_child_pnpinfo_string(device_t paren
"devclass=0x%02x devsubclass=0x%02x "
"sernum=\"%s\" "
"release=0x%04x "
 -  "intclass=0x%02x intsubclass=0x%02x" "%s%s",
 +  "mode=%s "
 +  "intclass=0x%02x intsubclass=0x%02x "
 +  "intprotocol=0x%02x " "%s%s",
UGETW(res.udev->ddesc.idVendor),
UGETW(res.udev->ddesc.idProduct),
res.udev->ddesc.bDeviceClass,
res.udev->ddesc.bDeviceSubClass,
usb_get_serial(res.udev),
UGETW(res.udev->ddesc.bcdDevice),
 +  (res.udev->flags.usb_mode == USB_MODE_HOST) ? "host" : 
"device",
iface->idesc->bInterfaceClass,
iface->idesc->bInterfaceSubClass,
 +  iface->idesc->bInterfaceProtocol,
iface->pnpinfo ? " " : "",
iface->pnpinfo ? iface->pnpinfo : "");
} else {
 
 Modified: head/sys/dev/usb/usb_lookup.c
 ==
 --- head/sys/dev/usb/usb_lookup.c  Fri Jun 24 03:50:54 2011
(r223488)
 +++ head/sys/dev/usb/usb_lookup.c  Fri Jun 24 04:16:06 2011
(r223489)
 @@ -105,13 +105,6 @@ usbd_lookup_id_by_info(const struct usb_
(id->bDeviceProtocol != info->bDeviceProtocol)) {
continue;
}
 -  if ((info->bDeviceClass == 0xFF) &&
 -  (!(id->match_flag_vendor)) &&
 -  ((id->match_flag_int_class) ||
 -  (id->match_flag_int_subclass) ||
 -  (id->match_flag_int_protocol))) {
 -  continue;
 -  }
if ((id->match_flag_int_class) &&
(id->bInterfaceClass != info->bInterfaceClass)) {
continue;
 
 Modified: head/tools/tools/bus_autoconf/bus_autoconf.c
 ==
 --- head/tools/tools/bus_autoconf/bus_autoconf.c   Fri Jun 24 03:50:54 
2011(r223488)
 +++ head/tools/tools/bus_autoconf/bus_autoconf.c   Fri Jun 24 04:16:06 
2011(r223489)
 @@ -148,15 +148,8 @@ usb_dump(struct usb_device_id *id, uint3
  
usb_dump_sub(id, &info);
  
 -  if (info.is_iface) {
 +  if (info.is_any) {
printf("nomatch 10 {\n"
 -  "   match \"system\" \"USB\";\n"
 -  "   match \"subsystem\" \"INTERFACE\";\n"
 -  "   match \"mode\" \"%s\";\n", mode);
 -  } else if (info.is_any) {
 -  printf("nomatch 10 {\n"
 -  "   match \"system\" \"USB\";\n"
 -  "   match \"subsystem\" \"DEVICE\";\n"
"   match \"mode\" \"%s\";\n", mode);
} else {
return (n);
 ___
 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/157903: automated kldload for USB class devices

2011-06-23 Thread Hans Petter Selasky
The following reply was made to PR conf/157903; it has been noted by GNATS.

From: Hans Petter Selasky 
To: freebsd-hack...@freebsd.org
Cc: Robert Millan ,
 freebsd-gnats-sub...@freebsd.org,
 freebsd-bugs@freebsd.org,
 freebsd-...@freebsd.org,
 freebsd-curr...@freebsd.org
Subject: Re: misc/157903: automated kldload for USB class devices
Date: Fri, 24 Jun 2011 06:17:23 +0200

 On Friday 24 June 2011 04:37:25 Hans Petter Selasky wrote:
 > Hi,
 > 
 > I need some people testing the following patch:
 > 
 > http://svn.freebsd.org/changeset/base/223486
 > 
 > svn up and build a new kernel.
 > 
 > Try to remove all USB devices from kernel config except the host
 > controllers and USB keyboard. Then put the following file into /etc/devd/
 > 
 > http://hselasky.homeunix.org:8192/bus_auto.conf
 > 
 > MD5 (bus_auto.conf) = 4a1130910cdbe0a5d3eca86b0b12f533
 > 
 > Verify using kldstat that modules are loaded when you plug a new USB
 > device.
 > 
 > --HPS
 
 Hi,
 
 Turns out some additional patches were needed:
 
 http://svn.freebsd.org/changeset/base/223489
 
 Please try again.
 
 Updated bus_auto.conf:
 
 http://hselasky.homeunix.org:8192/bus_auto.conf
 
 MD5 (/etc/devd/bus_auto.conf) = c321d1801f0fa3c6260eeef7061330e8
 
 --HPS
___
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/157903: commit references a PR

2011-06-23 Thread dfilter service
The following reply was made to PR conf/157903; it has been noted by GNATS.

From: dfil...@freebsd.org (dfilter service)
To: bug-follo...@freebsd.org
Cc:  
Subject: Re: conf/157903: commit references a PR
Date: Fri, 24 Jun 2011 04:36:11 + (UTC)

 Author: hselasky
 Date: Fri Jun 24 04:35:58 2011
 New Revision: 223490
 URL: http://svn.freebsd.org/changeset/base/223490
 
 Log:
   - Make sure we don't match the wrong device by adding
   a match for the bus the device belongs to.
   
   PR:  misc/157903
   MFC after:   14 days
 
 Modified:
   head/tools/tools/bus_autoconf/bus_autoconf.c
 
 Modified: head/tools/tools/bus_autoconf/bus_autoconf.c
 ==
 --- head/tools/tools/bus_autoconf/bus_autoconf.c   Fri Jun 24 04:16:06 
2011(r223489)
 +++ head/tools/tools/bus_autoconf/bus_autoconf.c   Fri Jun 24 04:35:58 
2011(r223490)
 @@ -150,6 +150,7 @@ usb_dump(struct usb_device_id *id, uint3
  
if (info.is_any) {
printf("nomatch 10 {\n"
 +  "   match \"bus\" \"uhub[0-9]+\";\n"
"   match \"mode\" \"%s\";\n", mode);
} else {
return (n);
 ___
 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"