Re: 32GB limit per swap device?

2011-08-18 Thread Alexander V. Chernikov
On 10.08.2011 19:16, per...@pluto.rain.com wrote: Chuck Swiger wrote: On Aug 9, 2011, at 7:26 AM, Daniel Kalchev wrote: I am trying to set up 64GB partitions for swap for a system that has 64GB of RAM (with the idea to dump kernel core etc). But, on 8-stable as of today I get: WARNING: reduc

WD Advanced Format: do I need to do something special?

2011-08-18 Thread Yuri
WD has sectors of the size 4kB in their latest hard drives, which is different from the traditional 512B. http://www.wdc.com/advformat http://wdc.custhelp.com/app/answers/detail/a_id/5655 These articles assert that something special should be done in OS to enable high performance of such drives

Re: WD Advanced Format: do I need to do something special?

2011-08-18 Thread Jeremy Chadwick
On Thu, Aug 18, 2011 at 01:47:26AM -0700, Yuri wrote: > WD has sectors of the size 4kB in their latest hard drives, which is > different from the traditional 512B. > http://www.wdc.com/advformat > http://wdc.custhelp.com/app/answers/detail/a_id/5655 > > These articles assert that something special

Re: debugging frequent kernel panics on 8.2-RELEASE

2011-08-18 Thread Andriy Gapon
on 18/08/2011 02:15 Steven Hartland said the following: > - Original Message - From: "Andriy Gapon" > >> Thanks to the debug that Steven provided and to the help that I received from >> Kostik, I think that now I understand the basic mechanics of this panic, but, >> unfortunately, not the

Re: WD Advanced Format: do I need to do something special?

2011-08-18 Thread Xin LI
Hi, On Thu, Aug 18, 2011 at 1:47 AM, Yuri wrote: > WD has sectors of the size 4kB in their latest hard drives, which is > different from the traditional 512B. > http://www.wdc.com/advformat > http://wdc.custhelp.com/app/answers/detail/a_id/5655 > > These articles assert that something special sho

Re: WD Advanced Format: do I need to do something special?

2011-08-18 Thread Yuri
On 08/18/2011 02:17, Jeremy Chadwick wrote: The below advice still applies. Do not skim the page, read it. http://ivoras.net/blog/tree/2011-01-01.freebsd-on-4k-sector-drives.html You will therefore have to go through some manual rigmarole (preferably with gpart(8)) to ensure performance. If y

Re: WD Advanced Format: do I need to do something special?

2011-08-18 Thread Marc Fonvieille
On Thu, Aug 18, 2011 at 01:47:26AM -0700, Yuri wrote: > WD has sectors of the size 4kB in their latest hard drives, which is > different from the traditional 512B. > http://www.wdc.com/advformat > http://wdc.custhelp.com/app/answers/detail/a_id/5655 > > These articles assert that something specia

Re: debugging frequent kernel panics on 8.2-RELEASE

2011-08-18 Thread Steven Hartland
- Original Message - From: "Andriy Gapon" Thats interesting, are you using http as an example or is that something thats been gleaned from the debugging of our output? I ask as there's only one process running in each of our jails and thats a single java process. It's from the debug d

Re: debugging frequent kernel panics on 8.2-RELEASE

2011-08-18 Thread Andriy Gapon
on 18/08/2011 13:35 Steven Hartland said the following: > - Original Message - From: "Andriy Gapon" >>> Thats interesting, are you using http as an example or is that something >>> thats >>> been gleaned from the debugging of our output? I ask as there's only one >>> process >>> running

Re: debugging frequent kernel panics on 8.2-RELEASE

2011-08-18 Thread Steven Hartland
- Original Message - From: "Andriy Gapon" Probably I have mistakenly assumed that the 'prison' in prison_derefer() has something to do with an actual jail, while it could have been just prison0 where all non-jailed processes belong. That makes sense as this particular panic was cause

Re: can not boot from RAIDZ with 8-STABLE

2011-08-18 Thread Miroslav Lachman
Artem Belevich wrote: On Wed, Aug 17, 2011 at 12:40 PM, Miroslav Lachman<000.f...@quip.cz> wrote: Thank you guys, you are right. The BIOS provides only 1 disk to the loader! I checked it from loader prompt by lsdev (booted from USB external HDD). So I will try to make a small zpool mirror for

Re: debugging frequent kernel panics on 8.2-RELEASE

2011-08-18 Thread Andriy Gapon
on 18/08/2011 14:11 Andriy Gapon said the following: > Probably I have mistakenly assumed that the 'prison' in prison_derefer() has > something to do with an actual jail, while it could have been just prison0 > where > all non-jailed processes belong. So, indeed: (kgdb) p $2->p_ucred->cr_prison $

Re: USB/coredump hangs in 8 and 9

2011-08-18 Thread Andriy Gapon
on 12/08/2011 22:59 Andrew Boyer said the following: > Re: panic: bufwrite: buffer is not busy??? (originally on freebsd-net) > > Re: debugging frequent kernel panics on 8.2-RELEASE (originally on > freebsd-stable) > > Re: System hang in USB umass module while processing panic (originally on >

Re: debugging frequent kernel panics on 8.2-RELEASE

2011-08-18 Thread Andriy Gapon
on 17/08/2011 23:21 Andriy Gapon said the following: It seems like everything starts with some kind of a race between terminating processes in a jail and termination of the jail itself. This is where the details are very thin so far. What we see is that a process (http) is in exit(2) syscall, i

Re: debugging frequent kernel panics on 8.2-RELEASE

2011-08-18 Thread Attilio Rao
2011/8/18 Andriy Gapon : > on 17/08/2011 23:21 Andriy Gapon said the following: >> >> It seems like everything starts with some kind of a race between >> terminating >> processes in a jail and termination of the jail itself.  This is where the >> details are very thin so far.  What we see is that a

Re: USB/coredump hangs in 8 and 9

2011-08-18 Thread Hans Petter Selasky
On Thursday 18 August 2011 19:04:10 Andriy Gapon wrote: > If you can help Hans to figure out what you is wrong with USB subsystem in > this respect that would help us all. Hi, usb_busdma.c: /* we use "mtx_owned()" instead of this function */ usb_busdma.c: owned = mtx_owned(uptag->mtx); usb_co

Re: WD Advanced Format: do I need to do something special?

2011-08-18 Thread Kevin Oberman
On Thu, Aug 18, 2011 at 3:10 AM, Marc Fonvieille wrote: > On Thu, Aug 18, 2011 at 01:47:26AM -0700, Yuri wrote: >> WD has sectors of the size 4kB in their latest hard drives, which is >> different from the traditional 512B. >> http://www.wdc.com/advformat >> http://wdc.custhelp.com/app/answers/det

Re: panic: spin lock held too long (RELENG_8 from today)

2011-08-18 Thread Hiroki Sato
Chip Camden wrote in <20110818025550.ga1...@libertas.local.camdensoftware.com>: st> Quoth Attilio Rao on Thursday, 18 August 2011: st> > In callout_cpu_switch() if a low priority thread is migrating the st> > callout and gets preempted after the outcoming cpu queue lock is left st> > (and sched

Re: panic: spin lock held too long (RELENG_8 from today)

2011-08-18 Thread Chip Camden
Quoth Hiroki Sato on Friday, 19 August 2011: > Chip Camden wrote > in <20110818025550.ga1...@libertas.local.camdensoftware.com>: > > st> Quoth Attilio Rao on Thursday, 18 August 2011: > st> > In callout_cpu_switch() if a low priority thread is migrating the > st> > callout and gets preempted af

Re: WD Advanced Format: do I need to do something special?

2011-08-18 Thread Yuri
Following instructions here (http://ivoras.net/blog/tree/2011-01-01.freebsd-on-4k-sector-drives.html) I destroyed my previous ZFS pool with 512 byte sectors and did this: gnop create -S 4096 /dev/ad4 zpool create mypool /dev/ad4.nop zpol create mypool/mydir zpool export mypool gnop destroy /dev/

crash on 8.2-RELEASE amd64, high-traffic squid server

2011-08-18 Thread Doug Barton
Howdy, I have some high-traffic squid servers, most of which are running a flavor of RELENG_7 very successfully, but one that I've been evaluating 8.x on has had a lot of problems. Most recently we had the crash below twice in the last 2 weeks. Same exact backtrace. Any suggestions on where t

Re: crash on 8.2-RELEASE amd64, high-traffic squid server

2011-08-18 Thread Jeremy Chadwick
On Thu, Aug 18, 2011 at 07:36:50PM -0700, Doug Barton wrote: > Howdy, > > I have some high-traffic squid servers, most of which are running a > flavor of RELENG_7 very successfully, but one that I've been > evaluating 8.x on has had a lot of problems. Most recently we had > the crash below twice i

Re: WD Advanced Format: do I need to do something special?

2011-08-18 Thread Andrey V. Elsukov
On 19.08.2011 3:11, Kevin Oberman wrote: > I'd strongly suggest avoiding fdisk(8) and using gpart(8) on 8 and > above. It has an > alignment option that makes this all just work and also allows the use of GPT > formatting. (Watch out for GPT on any system that needs to run 32-bit > Windows.) > >