Re: FreeBSD-9.1: machine reboots during snapshot creation, LORs found

2013-07-07 Thread Andre Albsmeier
On Sun, 07-Jul-2013 at 14:32:17 +0200, Jeremy Chadwick wrote: > On Sun, Jul 07, 2013 at 02:13:54PM +0200, Andre Albsmeier wrote: > > On Sun, 07-Jul-2013 at 09:41:12 +0200, Konstantin Belousov wrote: > > > On Sun, Jul 07, 2013 at 09:25:53AM +0200, Andre Albsmeier wrote: > > > > OK, here we go (looks

Re: Shutdown hangs on unmount of a gjournaled file system in 8-Stable

2013-07-07 Thread Konstantin Belousov
On Mon, Jul 08, 2013 at 12:26:43AM +0200, Andreas Longwitz wrote: > The deadlock can be explained now: pid 1 (init) sleeps on "mount drain" > because mp->mnt_lockref was 1. This setting was done by pid 18 (gjournal > switcher) by calling vfs_busy(). pid 18 now sleeps on "suspwt" because > mp->mnt_w

Re: USB ports on Lenovo T400 do not work after a suspend/resume

2013-07-07 Thread Ian Smith
On Sun, 7 Jul 2013 18:47:03 -0700, Adrian Chadd wrote: > On 7 July 2013 13:49, Lars Engels wrote: > > On Sun, Jun 30, 2013 at 03:02:57PM -0700, Adrian Chadd wrote: > >> On 30 June 2013 07:22, Ian Smith wrote: > >> > >> > After removing [numbers] (for WITNESS?), diff started making sense. >

Re: Sanity Check on Mac Mini

2013-07-07 Thread Yonghyeon PYUN
On Sun, Jul 07, 2013 at 05:56:09PM -0700, Doug Hardie wrote: > As I previously indicated, I have tested a couple more Minis and updated the > instructions with what I learned. Here is the revised version: > [...] > 2.12.3Rebuilding the kernel to support the Ethernet Interface > > Once

Re: USB ports on Lenovo T400 do not work after a suspend/resume

2013-07-07 Thread Adrian Chadd
Nope, no power after first resume if i have nothing plugged in. Why? -adrian On 7 July 2013 13:49, Lars Engels wrote: > On Sun, Jun 30, 2013 at 03:02:57PM -0700, Adrian Chadd wrote: >> On 30 June 2013 07:22, Ian Smith wrote: >> >> > After removing [numbers] (for WITNESS?), diff started makin

Re: Sanity Check on Mac Mini

2013-07-07 Thread Doug Hardie
As I previously indicated, I have tested a couple more Minis and updated the instructions with what I learned. Here is the revised version: 2.12Installing FreeBSD on an Apple Mac Mini The Mac Mini is an attractive server platform. Its small, runs cool, low powered, and reasonably cheap.

Re: XHCI umass support breaks between r248085 and r252560 on 9-STABLE

2013-07-07 Thread Scot Hetzel
On Sun, Jul 7, 2013 at 3:09 PM, Alexandre Kovalenko wrote: > > SIde question (I have been off the lists for a while): is it now considered > polite to top-post? It was frowned upon way back when… if it still is not, I > do apologize, but I can see no good way to fix it at this point. > > Side A

Shutdown hangs on unmount of a gjournaled file system in 8-Stable

2013-07-07 Thread Andreas Longwitz
The problem occurs after an update of 8-stable from r248120 to r252111. Sometimes shutdown hangs: Waiting (max 60 seconds) for system process `vnlru' to stop...done Waiting (max 60 seconds) for system process `bufdaemon' to stop...done Waiting (max 60 seconds) for system process `syncer' to stop..

Re: USB ports on Lenovo T400 do not work after a suspend/resume

2013-07-07 Thread Lars Engels
On Sun, Jun 30, 2013 at 03:02:57PM -0700, Adrian Chadd wrote: > On 30 June 2013 07:22, Ian Smith wrote: > > > After removing [numbers] (for WITNESS?), diff started making sense. > > The below is between the first and second suspend/resume cycles in > > dmesg-3.txt, encompassing the others. > > C

Re: XHCI umass support breaks between r248085 and r252560 on 9-STABLE

2013-07-07 Thread Alexandre Kovalenko
I do apologize for the typo below, which made my message unclear: I meant to say that I have reverted _/usr/src/sys/dev/usb/controller_ directory, specifically the following files: root@twinhead:/usr/src/sys/dev/usb/controller # svn diff -r252560 | grep Index: Index: xhci_pci.c Index: ohci_pci.c

Re: status of autotuning freebsd for 9.2

2013-07-07 Thread Alfred Perlstein
On 7/7/13 1:34 AM, Andre Oppermann wrote: On 07.07.2013 08:32, Alfred Perlstein wrote: Andre, Are you going to have time to MFC things from -current for auto-tuning -stable before 9.2? I simply ran out of time on Friday and MFCing such a big change requires more testing. I fear (maybe unnec

RE: USB ports on Lenovo T400 do not work after a suspend/resume

2013-07-07 Thread Hans Petter Selasky
Hi, The USB code should re-attach the uhub driver to the root HUB and any other HUBs after resume. Part of the attach code is to set the power on. See /sys/dev/usb/usb_hub.c And: grep -r UHF_PORT_POWER /sys/dev/usb/ --HPS -Original message- > From:Adrian Chadd mailto:adr...@freeb

Re: ixgbe Jumbo race condition leading to Deadlock

2013-07-07 Thread Kaushal Bhandankar
The solution is: I have a function which pre-calculates the buffers required for processing the packet. This is to eliminate any lack-of-memory errors during processing. In this function I loop over descriptors from next_to_check onwards. If I loop over some descriptors with DD set and do not see

Re: ixgbe Jumbo race condition leading to Deadlock

2013-07-07 Thread Kaushal Bhandankar
Hi Jack, Thanks for the explanation. Do you suggest that I keep reading rx descriptor with DD bit and keep them pending till I get the descriptor with EOP set ? How much max delay can be expected for the EOP descriptor to be written back ? Regards, Kaushal On Sun, Jul 7, 2013 at 10:40 PM, Jack V

Re: ixgbe Jumbo race condition leading to Deadlock

2013-07-07 Thread Jack Vogel
The "potential race condition" as the data sheet puts it, is only when you are trying to manage your RX ring by reading the RDH register, this is a bad idea anyway, none of our (Intel) drivers do this. Using the DD bit is what you want to do. The DD bit is set when the descriptor is written back, a

Re: USB ports on Lenovo T400 do not work after a suspend/resume

2013-07-07 Thread Adrian Chadd
I don't think it's a USB controller issue. Those ports are connected to USB hubs, right? I wonder if there's some ACPI nonsense that's resulting in the hubs not being powered up on resume. -adrian On 7 July 2013 00:32, Hans Petter Selasky wrote: > Hi, > > FYI: The USB stack will currently run

Re: USB ports on Lenovo T400 do not work after a suspend/resume

2013-07-07 Thread Ian Smith
On Sun, 7 Jul 2013 03:26:24 -0700, Jeremy Chadwick wrote: > On Sun, Jul 07, 2013 at 03:51:12PM +1000, Ian Smith wrote: > > On Sun, 30 Jun 2013 15:02:57 -0700, Adrian Chadd wrote: > > > On 30 June 2013 07:22, Ian Smith wrote: > > [..] > > > > Nothing of note that I can see, if that usb hub-t

Re: FreeBSD-9.1: machine reboots during snapshot creation, LORs found

2013-07-07 Thread Jeremy Chadwick
On Sun, Jul 07, 2013 at 02:13:54PM +0200, Andre Albsmeier wrote: > On Sun, 07-Jul-2013 at 09:41:12 +0200, Konstantin Belousov wrote: > > On Sun, Jul 07, 2013 at 09:25:53AM +0200, Andre Albsmeier wrote: > > > OK, here we go (looks better now): > > > > > > GNU gdb 6.1.1 [FreeBSD] > > > Copyright 200

Re: FreeBSD-9.1: machine reboots during snapshot creation, LORs found

2013-07-07 Thread Andre Albsmeier
On Sun, 07-Jul-2013 at 09:41:12 +0200, Konstantin Belousov wrote: > On Sun, Jul 07, 2013 at 09:25:53AM +0200, Andre Albsmeier wrote: > > OK, here we go (looks better now): > > > > GNU gdb 6.1.1 [FreeBSD] > > Copyright 2004 Free Software Foundation, Inc. > > GDB is free software, covered by the GNU

Re: make buildworld is now 50% slower

2013-07-07 Thread Jeremy Chadwick
On Sun, Jul 07, 2013 at 05:47:31AM -0500, Matthew D. Fuller wrote: > Apropos of nothing, but... > > On Sun, Jul 07, 2013 at 03:17:14AM -0700 I heard the voice of > Jeremy Chadwick, and lo! it spake thus: > > > > WITHOUT_LIB32=true > > suggests you're running amd64, which I'm pretty sure means >

Re: make buildworld is now 50% slower

2013-07-07 Thread Matthew D. Fuller
Apropos of nothing, but... On Sun, Jul 07, 2013 at 03:17:14AM -0700 I heard the voice of Jeremy Chadwick, and lo! it spake thus: > > WITHOUT_LIB32=true suggests you're running amd64, which I'm pretty sure means > - I do increase kern.maxdsiz, kern.dfldsiz, and kern.maxssiz in > /boot/loader.conf

Re: USB ports on Lenovo T400 do not work after a suspend/resume

2013-07-07 Thread Jeremy Chadwick
On Sun, Jul 07, 2013 at 03:51:12PM +1000, Ian Smith wrote: > On Sun, 30 Jun 2013 15:02:57 -0700, Adrian Chadd wrote: > > On 30 June 2013 07:22, Ian Smith wrote: > [..] > > > Nothing of note that I can see, if that usb hub-to-bus remapping is > > > normal. As you said, 'CPU0: local APIC error 0

Re: make buildworld is now 50% slower

2013-07-07 Thread Jeremy Chadwick
On Sun, Jul 07, 2013 at 11:50:29AM +0300, Daniel Braniss wrote: > > On Fri, Jul 05, 2013 at 02:39:00PM +0200, Dimitry Andric wrote: > > > [redirecting to the correct mailing list, freebsd-stable@ ...] > > > > > > On Jul 5, 2013, at 10:53, Daniel Braniss wrote: > > > > after today's update of 9.1-

Fwd: ixgbe Jumbo race condition leading to Deadlock

2013-07-07 Thread Kaushal Bhandankar
In 82599, for a Jumbo packet of 9.5 K ( which consumes 5 descriptors of 2048 bytes each ), when does the Descriptor write back happen ? Does it happen per Descriptor or once per aggregated Descriptors ? Is it possible that all descriptors except last one to be written back and when you read RDH reg

Re: make buildworld is now 50% slower

2013-07-07 Thread Daniel Braniss
> On Fri, Jul 05, 2013 at 02:39:00PM +0200, Dimitry Andric wrote: > > [redirecting to the correct mailing list, freebsd-stable@ ...] > > > > On Jul 5, 2013, at 10:53, Daniel Braniss wrote: > > > after today's update of 9.1-STABLE I noticed that make > > > build[world|kernel] are > > > taking con

Re: status of autotuning freebsd for 9.2

2013-07-07 Thread Andre Oppermann
On 07.07.2013 08:32, Alfred Perlstein wrote: Andre, Are you going to have time to MFC things from -current for auto-tuning -stable before 9.2? I simply ran out of time on Friday and MFCing such a big change requires more testing. I fear (maybe unnecessarily?) that we are about to ship yet a

Re: FreeBSD-9.1: machine reboots during snapshot creation, LORs found

2013-07-07 Thread Konstantin Belousov
On Sun, Jul 07, 2013 at 09:25:53AM +0200, Andre Albsmeier wrote: > OK, here we go (looks better now): > > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute

RE: XHCI umass support breaks between r248085 and r252560 on 9-STABLE

2013-07-07 Thread Hans Petter Selasky
Hi, Check for CAM/SCSI related changes. There has not been so many USB changes recently. Possibly not USB related. Thank you, --HPS -Original message- > From:Alexandre Kovalenko mailto:bsd.gai...@gmail.com> > > Sent: Thursday 4th July 2013 20:58 > To: freebsd-...@freebsd.org

RE: USB ports on Lenovo T400 do not work after a suspend/resume

2013-07-07 Thread Hans Petter Selasky
Hi, FYI: The USB stack will currently run a complete controller reset upon resume, like during boot. --HPS -Original message- > From:Ian Smith mailto:smi...@nimnet.asn.au> > > Sent: Sunday 7th July 2013 7:52 > To: Adrian Chadd mailto:adr...@freebsd.org> > > Cc: freebsd-a...@freebsd.o

Re: FreeBSD-9.1: machine reboots during snapshot creation, LORs found

2013-07-07 Thread Andre Albsmeier
On Thu, 04-Jul-2013 at 08:15:50 +0200, Konstantin Belousov wrote: > On Thu, Jul 04, 2013 at 07:27:00AM +0200, Andre Albsmeier wrote: > > On Thu, 04-Jul-2013 at 07:24:40 +0200, Konstantin Belousov wrote: > > > On Thu, Jul 04, 2013 at 07:14:09AM +0200, Andre Albsmeier wrote: > > > > On Mon, 17-Jun-20