Re: USB locks up system -- WAS Re: shutdown or acpi problem

2014-11-17 Thread Sulev-Madis Silber (ketas)
On 2014-11-17 08:58, Dag-Erling Smørgrav wrote: > Dag-Erling Smørgrav writes: >> Steve Kargl writes: >>> I'll try that tomorrow. But, I now know that this is related to using >>> hal from ports. If I comment out both enable_dbus and enable_hal in >>> /etc/rc.conf, the system works as I would ex

Re: USB locks up system -- WAS Re: shutdown or acpi problem

2014-11-16 Thread Dag-Erling Smørgrav
Dag-Erling Smørgrav writes: > Steve Kargl writes: > > I'll try that tomorrow. But, I now know that this is related to using > > hal from ports. If I comment out both enable_dbus and enable_hal in > > /etc/rc.conf, the system works as I would expect (ie., usb now works > > for unplugging devices

Re: USB locks up system -- WAS Re: shutdown or acpi problem

2014-11-16 Thread Dag-Erling Smørgrav
Steve Kargl writes: > I'll try that tomorrow. But, I now know that this is related to using > hal from ports. If I comment out both enable_dbus and enable_hal in > /etc/rc.conf, the system works as I would expect (ie., usb now works > for unplugging devices!). I further suspect that the problem

Re: USB locks up system -- WAS Re: shutdown or acpi problem

2014-11-16 Thread Steve Kargl
On Sun, Nov 16, 2014 at 08:33:15PM +0100, Hans Petter Selasky wrote: > > thread apply all bt > > That will give you the backtrace of all threads. Grep for usbconfig, and > figure out which line is causing the problem in the kernel. Then look at > the USB explore threads and see where they are s

Re: USB locks up system -- WAS Re: shutdown or acpi problem

2014-11-16 Thread Steve Kargl
On Sun, Nov 16, 2014 at 04:34:38PM -0800, Adrian Chadd wrote: > ... or since you can ssh into the thing, try as root: > > procstat -ka > I'll try that tomorrow. But, I now know that this is related to using hal from ports. If I comment out both enable_dbus and enable_hal in /etc/rc.conf, the

Re: USB locks up system -- WAS Re: shutdown or acpi problem

2014-11-16 Thread Adrian Chadd
... or since you can ssh into the thing, try as root: procstat -ka -adrian On 16 November 2014 11:33, Hans Petter Selasky wrote: > On 11/16/14 20:29, Steve Kargl wrote: >> >> On Sun, Nov 16, 2014 at 08:16:36PM +0100, Hans Petter Selasky wrote: >>> >>> On 11/16/14 20:03, Steve Kargl wrote: >

Re: USB locks up system -- WAS Re: shutdown or acpi problem

2014-11-16 Thread Hans Petter Selasky
On 11/16/14 20:29, Steve Kargl wrote: On Sun, Nov 16, 2014 at 08:16:36PM +0100, Hans Petter Selasky wrote: On 11/16/14 20:03, Steve Kargl wrote: On Sun, Nov 16, 2014 at 06:55:53PM +, Mark R V Murray wrote: On 16 Nov 2014, at 18:51, Steve Kargl wrote: If you have not read the entire thr

Re: USB locks up system -- WAS Re: shutdown or acpi problem

2014-11-16 Thread Steve Kargl
On Sun, Nov 16, 2014 at 08:16:36PM +0100, Hans Petter Selasky wrote: > On 11/16/14 20:03, Steve Kargl wrote: > > On Sun, Nov 16, 2014 at 06:55:53PM +, Mark R V Murray wrote: > >> > >>> On 16 Nov 2014, at 18:51, Steve Kargl > >>> wrote: > >>> > >>> If you have not read the entire thread, once

Re: USB locks up system -- WAS Re: shutdown or acpi problem

2014-11-16 Thread Hans Petter Selasky
On 11/16/14 20:03, Steve Kargl wrote: On Sun, Nov 16, 2014 at 06:55:53PM +, Mark R V Murray wrote: On 16 Nov 2014, at 18:51, Steve Kargl wrote: If you have not read the entire thread, once the laptop keyboard and video output lock up, I can ssh into the laptop. If I run usbconfig, it ha

Re: USB locks up system -- WAS Re: shutdown or acpi problem

2014-11-16 Thread Steve Kargl
On Sun, Nov 16, 2014 at 06:55:53PM +, Mark R V Murray wrote: > > > On 16 Nov 2014, at 18:51, Steve Kargl > > wrote: > > > > If you have not read the entire thread, once the laptop keyboard and > > video output lock up, I can ssh into the laptop. If I run usbconfig, > > it hangs, ^T tells m

Re: USB locks up system -- WAS Re: shutdown or acpi problem

2014-11-16 Thread Mark R V Murray
> On 16 Nov 2014, at 18:51, Steve Kargl > wrote: > >> >> I?m sorry my commit caused the problem. >> > > Nothing to be sorry about. This is -current after all. Thanks :-) >> I?m also trying to find out why, but I don?t know enough about USB or >> mass-storage devices to know why, so this m

Re: USB locks up system -- WAS Re: shutdown or acpi problem

2014-11-16 Thread Steve Kargl
On Sun, Nov 16, 2014 at 06:34:42PM +, Mark R V Murray wrote: > > > On 16 Nov 2014, at 18:31, Ian Lepore wrote: > > > > The point I'm trying to make here is that you trimmed away the important > > part of the prior messages and replied only to the part where Steve's > > debugging efforts were

Re: USB locks up system -- WAS Re: shutdown or acpi problem

2014-11-16 Thread Mark R V Murray
> On 16 Nov 2014, at 18:31, Ian Lepore wrote: > > The point I'm trying to make here is that you trimmed away the important > part of the prior messages and replied only to the part where Steve's > debugging efforts were somewhat speculating. The non-speculative part > was where he bisected the

Re: USB locks up system -- WAS Re: shutdown or acpi problem

2014-11-16 Thread Ian Lepore
On Sun, 2014-11-16 at 18:23 +, Mark R V Murray wrote: > > On 16 Nov 2014, at 18:21, Ian Lepore wrote: > > > > On Sun, 2014-11-16 at 18:17 +, Mark R V Murray wrote: > >>> On 16 Nov 2014, at 17:51, Steve Kargl > >>> wrote: > >>> > >>> Is there a 'random: device_detach():' missing between

Re: USB locks up system -- WAS Re: shutdown or acpi problem

2014-11-16 Thread Mark R V Murray
> On 16 Nov 2014, at 18:21, Ian Lepore wrote: > > On Sun, 2014-11-16 at 18:17 +, Mark R V Murray wrote: >>> On 16 Nov 2014, at 17:51, Steve Kargl >>> wrote: >>> >>> Is there a 'random: device_detach():' missing between the 'umass0' >>> and 'da0' messages in the last 4 lines. >> >> No. At

Re: USB locks up system -- WAS Re: shutdown or acpi problem

2014-11-16 Thread Ian Lepore
On Sun, 2014-11-16 at 18:17 +, Mark R V Murray wrote: > > On 16 Nov 2014, at 17:51, Steve Kargl > > wrote: > > > > Is there a 'random: device_detach():' missing between the 'umass0' > > and 'da0' messages in the last 4 lines. > > No. At attach time, the RNG grabs some probe entropy. At deta

Re: USB locks up system -- WAS Re: shutdown or acpi problem

2014-11-16 Thread Mark R V Murray
> On 16 Nov 2014, at 17:51, Steve Kargl > wrote: > > Is there a 'random: device_detach():' missing between the 'umass0' > and 'da0' messages in the last 4 lines. No. At attach time, the RNG grabs some probe entropy. At detach time it does nothing. M -- Mark R V Murray _

Re: USB locks up system -- WAS Re: shutdown or acpi problem

2014-11-16 Thread Steve Kargl
On Sat, Nov 15, 2014 at 09:44:18PM -0800, Adrian Chadd wrote: > On 15 November 2014 21:41, Steve Kargl > wrote: > > On Thu, Nov 13, 2014 at 01:22:06PM -0800, Steve Kargl wrote: > >> On Thu, Nov 13, 2014 at 09:34:07PM +0100, Hans Petter Selasky wrote: > >> > On 11/13/14 19:15, Steve Kargl wrote: >

Re: USB locks up system -- WAS Re: shutdown or acpi problem

2014-11-15 Thread Steve Kargl
On Sat, Nov 15, 2014 at 09:44:18PM -0800, Adrian Chadd wrote: > On 15 November 2014 21:41, Steve Kargl > wrote: > > On Thu, Nov 13, 2014 at 01:22:06PM -0800, Steve Kargl wrote: > >> On Thu, Nov 13, 2014 at 09:34:07PM +0100, Hans Petter Selasky wrote: > >> > On 11/13/14 19:15, Steve Kargl wrote: >

Re: USB locks up system -- WAS Re: shutdown or acpi problem

2014-11-15 Thread Adrian Chadd
On 15 November 2014 21:41, Steve Kargl wrote: > On Thu, Nov 13, 2014 at 01:22:06PM -0800, Steve Kargl wrote: >> On Thu, Nov 13, 2014 at 09:34:07PM +0100, Hans Petter Selasky wrote: >> > On 11/13/14 19:15, Steve Kargl wrote: >> > > On Thu, Nov 13, 2014 at 10:03:32AM -0800, Steve Kargl wrote: >> >

Re: USB locks up system -- WAS Re: shutdown or acpi problem

2014-11-15 Thread Steve Kargl
On Thu, Nov 13, 2014 at 01:22:06PM -0800, Steve Kargl wrote: > On Thu, Nov 13, 2014 at 09:34:07PM +0100, Hans Petter Selasky wrote: > > On 11/13/14 19:15, Steve Kargl wrote: > > > On Thu, Nov 13, 2014 at 10:03:32AM -0800, Steve Kargl wrote: > > >> On Thu, Nov 13, 2014 at 09:25:33AM -0800, Steve Kar

Re: USB locks up system -- WAS Re: shutdown or acpi problem

2014-11-13 Thread Steve Kargl
On Thu, Nov 13, 2014 at 09:34:07PM +0100, Hans Petter Selasky wrote: > On 11/13/14 19:15, Steve Kargl wrote: > > On Thu, Nov 13, 2014 at 10:03:32AM -0800, Steve Kargl wrote: > >> On Thu, Nov 13, 2014 at 09:25:33AM -0800, Steve Kargl wrote: > >>> On Wed, Nov 12, 2014 at 02:42:13PM -0800, Steve Kargl

Re: USB locks up system -- WAS Re: shutdown or acpi problem

2014-11-13 Thread Hans Petter Selasky
On 11/13/14 19:15, Steve Kargl wrote: On Thu, Nov 13, 2014 at 10:03:32AM -0800, Steve Kargl wrote: On Thu, Nov 13, 2014 at 09:25:33AM -0800, Steve Kargl wrote: On Wed, Nov 12, 2014 at 02:42:13PM -0800, Steve Kargl wrote: I have a kernel/world from r274273 sources, which is exhibiting a new iss

Re: USB locks up system -- WAS Re: shutdown or acpi problem

2014-11-13 Thread Steve Kargl
On Thu, Nov 13, 2014 at 10:03:32AM -0800, Steve Kargl wrote: > On Thu, Nov 13, 2014 at 09:25:33AM -0800, Steve Kargl wrote: > > On Wed, Nov 12, 2014 at 02:42:13PM -0800, Steve Kargl wrote: > > > I have a kernel/world from r274273 sources, which is exhibiting a new > > > issue on my old laptop. Nei

Re: USB locks up system -- WAS Re: shutdown or acpi problem

2014-11-13 Thread Steve Kargl
On Thu, Nov 13, 2014 at 09:25:33AM -0800, Steve Kargl wrote: > On Wed, Nov 12, 2014 at 02:42:13PM -0800, Steve Kargl wrote: > > I have a kernel/world from r274273 sources, which is exhibiting a new > > issue on my old laptop. Neither 'shutdown -p now' nor 'shutdown -r now' > > work. I get to the

Re: USB locks up system -- WAS Re: shutdown or acpi problem

2014-11-13 Thread Garrett Cooper
CCing hps and mav.. > On Nov 13, 2014, at 09:25, Steve Kargl > wrote: > >> On Wed, Nov 12, 2014 at 02:42:13PM -0800, Steve Kargl wrote: >> I have a kernel/world from r274273 sources, which is exhibiting a new >> issue on my old laptop. Neither 'shutdown -p now' nor 'shutdown -r now' >> work.