ATA_PERIODIC_POLL on ATA_I82801HBM_S1 causes lockups

2011-06-14 Thread Rick van der Zwet
The ICH8M found in the MacBookPro4,1 has an known issue [1] which locks up when enabling the periodic poll using sidpr (introduced a ``little'' while ago in r214016), making it impossible to boot. Attached patch disables the polling and thus fixes the issue. Br. /Rick [1]

Re: rc.d script to load kernel modules

2011-06-14 Thread Daniel Braniss
On 6/12/11 11:20 PM, Daniel Braniss wrote: On 6/12/2011 1:56 AM, Jason Hellenthal wrote: Cutting modules out of the kernel in general does help speed up booting but loading those same modules later in the boot process will just lead you back to the same boot time. Loading modules via

Re: svn commit: r214611 - head/sys/kern

2011-06-14 Thread Sergey Kandaurov
On 1 November 2010 03:42, David Xu davi...@freebsd.org wrote: Author: davidxu Date: Mon Nov  1 00:42:25 2010 New Revision: 214611 URL: http://svn.freebsd.org/changeset/base/214611 Log:  Use integer for size of cpuset, as it won't be bigger than INT_MAX,  This is requested by bge.  Also

Re: ATA_PERIODIC_POLL on ATA_I82801HBM_S1 causes lockups

2011-06-14 Thread Alexander Motin
Hi. Rick van der Zwet wrote: The ICH8M found in the MacBookPro4,1 has an known issue [1] which locks up when enabling the periodic poll using sidpr (introduced a ``little'' while ago in r214016), making it impossible to boot. Attached patch disables the polling and thus fixes the issue.

Re: [PATCH] Simple tidy up of puc(4) bus driver

2011-06-14 Thread Alexey Shuvaev
On Fri, Jun 10, 2011 at 03:11:02PM -0400, John Baldwin wrote: On Monday, May 23, 2011 10:39:02 am John Baldwin wrote: This small patch makes the puc(4) bus drivers a little more friendly. It should now list the port for each child device in the boot messages, and devinfo -v should list

Re: [PATCH] Simple tidy up of puc(4) bus driver

2011-06-14 Thread John Baldwin
On Tuesday, June 14, 2011 10:44:18 am Alexey Shuvaev wrote: On Fri, Jun 10, 2011 at 03:11:02PM -0400, John Baldwin wrote: On Monday, May 23, 2011 10:39:02 am John Baldwin wrote: This small patch makes the puc(4) bus drivers a little more friendly. It should now list the port for each

fast/syscall-free gettimeofday ?

2011-06-14 Thread Luigi Rizzo
there were discussions at some point on an imprecise but fast implementations of gettimeofday() that would not require a system call (perhaps mmapping some memory region which is opportunistically updated). Does anyone remember what happened about that ? Otherwise, is there any place in the

Re: fast/syscall-free gettimeofday ?

2011-06-14 Thread K. Macy
On Tue, Jun 14, 2011 at 6:08 PM, K. Macy km...@freebsd.org wrote: http://svnweb.freebsd.org/base/head/sys/sys/imgact.h kib added rudimentary support for this in January To clarify, this is just the kernel side of the shared page infrastructure, and is currently only hosting the the signal

Re: fast/syscall-free gettimeofday ?

2011-06-14 Thread K. Macy
http://svnweb.freebsd.org/base/head/sys/sys/imgact.h kib added rudimentary support for this in January On Tue, Jun 14, 2011 at 6:11 PM, Luigi Rizzo ri...@iet.unipi.it wrote: there were discussions at some point on an imprecise but fast implementations of gettimeofday() that would not require

Re: NEW_PCIB? pcib1: failed to allocate initial I/O port window: 0x4000-0x4fff

2011-06-14 Thread John Baldwin
On Saturday, June 11, 2011 1:05:18 am John wrote: - John's Original Message - - John Baldwin's Original Message - On Friday, June 10, 2011 11:00:15 am John wrote: - John Baldwin's Original Message - On Thursday, June 09, 2011 2:11:16 am Andriy Gapon wrote:

Re: [PATCH] Simple tidy up of puc(4) bus driver

2011-06-14 Thread Boris Samorodov
On Fri, 10 Jun 2011 15:11:02 -0400 John Baldwin wrote: On Monday, May 23, 2011 10:39:02 am John Baldwin wrote: This small patch makes the puc(4) bus drivers a little more friendly. It should now list the port for each child device in the boot messages, and devinfo -v should list the

Re: [PATCH] Simple tidy up of puc(4) bus driver

2011-06-14 Thread John Baldwin
On Tuesday, June 14, 2011 12:56:31 pm Boris Samorodov wrote: On Fri, 10 Jun 2011 15:11:02 -0400 John Baldwin wrote: On Monday, May 23, 2011 10:39:02 am John Baldwin wrote: This small patch makes the puc(4) bus drivers a little more friendly. It should now list the port for each child

Re: panic - Stopped at kdb_enter+0x92: [I2] addl r14=0xffffffffffe1fe38,gp ; ;

2011-06-14 Thread Marcel Moolenaar
On Jun 13, 2011, at 9:14 AM, Anton Shterenlikht wrote: On ia64 r221488 KDB: enter: panic [ thread pid 1076 tid 100089 ] Stopped at kdb_enter+0x92: [I2]addl r14=0xffe1fe38,gp ;; db What's the panic? Can you (next time maybe) do: show msgbuf Thanks, -- Marcel

Re: ATA_PERIODIC_POLL on ATA_I82801HBM_S1 causes lockups

2011-06-14 Thread Rick van der Zwet
On 14 June 2011 15:26, Alexander Motin m...@freebsd.org wrote: Rick van der Zwet wrote: The ICH8M found in the MacBookPro4,1 has an known issue [1] which locks up when enabling the periodic poll using sidpr (introduced a ``little'' while ago in r214016), making it impossible to boot.

Re: ATA_PERIODIC_POLL on ATA_I82801HBM_S1 causes lockups

2011-06-14 Thread Alexander Motin
Rick van der Zwet wrote: On 14 June 2011 15:26, Alexander Motin m...@freebsd.org wrote: Rick van der Zwet wrote: The ICH8M found in the MacBookPro4,1 has an known issue [1] which locks up when enabling the periodic poll using sidpr (introduced a ``little'' while ago in r214016), making it

Re: NEW_PCIB? pcib1: failed to allocate initial I/O port window: 0x4000-0x4fff

2011-06-14 Thread John
- John Baldwin's Original Message - On Saturday, June 11, 2011 1:05:18 am John wrote: - John's Original Message - - John Baldwin's Original Message - On Friday, June 10, 2011 11:00:15 am John wrote: - John Baldwin's Original Message - On

Re: svn commit: r214611 - head/sys/kern

2011-06-14 Thread David Xu
On 2011/06/14 20:02, Sergey Kandaurov wrote: On 1 November 2010 03:42, David Xu davi...@freebsd.org wrote: Author: davidxu Date: Mon Nov 1 00:42:25 2010 New Revision: 214611 URL: http://svn.freebsd.org/changeset/base/214611 Log: Use integer for size of cpuset, as it won't be bigger than

Re: svn commit: r214611 - head/sys/kern

2011-06-14 Thread Sergey Kandaurov
On 15 June 2011 06:20, David Xu davi...@freebsd.org wrote: On 2011/06/14 20:02, Sergey Kandaurov wrote: On 1 November 2010 03:42, David Xu davi...@freebsd.org wrote: Author: davidxu Date: Mon Nov  1 00:42:25 2010 New Revision: 214611 URL: http://svn.freebsd.org/changeset/base/214611 Log: