Re: gptzfsboot error using HP Smart Array P410i Controller

2011-10-13 Thread Andriy Gapon
on 13/10/2011 00:33 Christoph Hoffmann said the following: Hello Daniel, Last time I checked up on the issue was on the 23rd of September, it was not fixed then. I was able to to boot from drive 0x80 after adding: *** zfsboot.c.origFri Sep 23 18:03:26 2011 --- zfsboot.c Fri Sep 23

Re: iwn panic with 9.0-BETA3-amd64

2011-10-13 Thread Bernhard Schmidt
On Friday 07 October 2011 16:18:47 Niclas Zeising wrote: This might or might not be related, but, I'm having trouble with the iwn firmware crashing. I also have a clang built kernel (and userland) buildwith CPUTYPE=core2. My iwn device is iwn0: Intel(R) Wireless WiFi Link 4965 mem

Re: gptzfsboot error using HP Smart Array P410i Controller

2011-10-13 Thread Daniel Kalchev
On 13.10.11 00:33, Christoph Hoffmann wrote: I am inclined to think that this is related to the way how we compile this code, especially when run on the following particular processor: 1 Processor(s) detected, 4 total cores enabled, Hyperthreading is enabled Proc 1: Intel(R) Xeon(R) CPU E5630

Re: BTX halted when booting 9.0-BETA3 (Root On ZFS)

2011-10-13 Thread Peter Jeremy
On 2011-Oct-12 16:59:21 +0200, Jean-Sébastien Pédron jean-sebastien.ped...@dumbbell.fr wrote: For a couple of days now, I can't boot FreeBSD 9-BETA3 on my laptop. ... I built world from SVN revision 226141. But now, kernel, zfsboot and zfsloader are those from 9.0-BETA3's DVD1. The zpool is

9.x installer and GPT vs geom

2011-10-13 Thread Johan Hendriks
Hello all. I just used the 9.0 B3 installer, and it defaults to GPT, which is nice. However, and there has been some discussions about it, it would be nice if the installer warns me that i could get in trouble if i want to use gmirror and the like. Also i find it a little strange that the

Re: 9.x installer and GPT vs geom

2011-10-13 Thread O. Hartmann
On 10/13/11 10:39, Johan Hendriks wrote: Hello all. I just used the 9.0 B3 installer, and it defaults to GPT, which is nice. However, and there has been some discussions about it, it would be nice if the installer warns me that i could get in trouble if i want to use gmirror and the like. Also

incorrect use of pidfile(3)

2011-10-13 Thread Dag-Erling Smørgrav
I looked at some of the programs that use pidfile(3) in base, and they pretty much all get it wrong. Consider these two scenarios: 1) common case process A process B main() pidfile_open() - success perform_initialization() daemon()

Re: 9 hangs with idletick = 0

2011-10-13 Thread Dag-Erling Smørgrav
Dag-Erling Smørgrav d...@des.no writes: I've just built a kernel with KTR support, and with KTR_SPARE2, KTR_INTR and KTR_SCHED enabled by default. I'll see what turns up. I'm also going to try machdep.idle=hlt with kern.eventtimer.idletick=0, and using a PCI re(4) instead of the on-board

Re: incorrect use of pidfile(3)

2011-10-13 Thread Pawel Jakub Dawidek
On Thu, Oct 13, 2011 at 12:54:38PM +0200, Dag-Erling Smørgrav wrote: I looked at some of the programs that use pidfile(3) in base, and they pretty much all get it wrong. Consider these two scenarios: 1) common case process A process B main()

Re: incorrect use of pidfile(3)

2011-10-13 Thread Dag-Erling Smørgrav
Pawel Jakub Dawidek p...@freebsd.org writes: Dag-Erling Smørgrav d...@des.no writes: How do we fix this? My suggestion is to loop until pidfile_open() succeeds or errno != EAGAIN. Does anyone have any objections to that approach? I think we already do that internally in pidfile_open().

Re: 9 hangs with idletick = 0

2011-10-13 Thread Poul-Henning Kamp
In message 86lispaztm@ds4.des.no, =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= wr ites: Dag-Erling Sm=C3=B8rgrav d...@des.no writes: I've just built a kernel with KTR support, and with KTR_SPARE2, KTR_INTR and KTR_SCHED enabled by default. I'll see what turns up. I'm also going to try

Re: incorrect use of pidfile(3)

2011-10-13 Thread Carlos A. M. dos Santos
2011/10/13 Dag-Erling Smørgrav d...@des.no: Pawel Jakub Dawidek p...@freebsd.org writes: Dag-Erling Smørgrav d...@des.no writes: How do we fix this?  My suggestion is to loop until pidfile_open() succeeds or errno != EAGAIN.  Does anyone have any objections to that approach? I think we

Re: incorrect use of pidfile(3)

2011-10-13 Thread Dag-Erling Smørgrav
After discussing this with pjd@ on IRC, I arrived at the attached patch, which increases the length of time pidfile_open() itself waits (I hadn't noticed that it already looped) and sets *pidptr to -1 if it fails to read a pid. DES -- Dag-Erling Smørgrav - d...@des.no Index:

Re: 9.x installer and GPT vs geom

2011-10-13 Thread Nathan Whitehorn
On 10/13/11 04:25, O. Hartmann wrote: On 10/13/11 10:39, Johan Hendriks wrote: Hello all. I just used the 9.0 B3 installer, and it defaults to GPT, which is nice. However, and there has been some discussions about it, it would be nice if the installer warns me that i could get in trouble if i

Re: BTX halted when booting 9.0-BETA3 (Root On ZFS)

2011-10-13 Thread Jean-Sébastien Pédron
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 13.10.2011 11:03, Peter Jeremy wrote: I built world from SVN revision 226141. (...) r226141 is head. Did you build a 10-current or RELENG_9 world? I built stable/9. Sorry, the revision I mention is wrong because I have one checkout of /base/

Re: incorrect use of pidfile(3)

2011-10-13 Thread Pawel Jakub Dawidek
On Thu, Oct 13, 2011 at 02:54:16PM +0200, Dag-Erling Smørgrav wrote: After discussing this with pjd@ on IRC, I arrived at the attached patch, which increases the length of time pidfile_open() itself waits (I hadn't noticed that it already looped) and sets *pidptr to -1 if it fails to read a

Re: incorrect use of pidfile(3)

2011-10-13 Thread Dag-Erling Smørgrav
Pawel Jakub Dawidek p...@freebsd.org writes: I'm still in opinion that EWOULDBLOCK and EAGAIN (which is the same value on FreeBSD) should be converted to EEXIST on pidfile_open() return. The historical (and documented) behavior is to return EAGAIN. Also if we now have for loop, why not to

Re: 9 hangs with idletick = 0

2011-10-13 Thread Dag-Erling Smørgrav
Poul-Henning Kamp p...@phk.freebsd.dk writes: For what it's worth, I regularly (=every 10-12 days or so) see all timer activity in the system die and have to use the 4-sec power-switch to get the system down. Could you check if network activity (e.g. downloading an ISO) triggers it, and if so,

Re: 9 hangs with idletick = 0

2011-10-13 Thread Adrian Chadd
2011/10/13 Dag-Erling Smørgrav d...@des.no: Poul-Henning Kamp p...@phk.freebsd.dk writes: For what it's worth, I regularly (=every 10-12 days or so) see all timer activity in the system die and have to use the 4-sec power-switch to get the system down. Could you check if network activity

Re: 9 hangs with idletick = 0

2011-10-13 Thread Poul-Henning Kamp
In message 86lisp9dzn@ds4.des.no, =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= wr ites: Poul-Henning Kamp p...@phk.freebsd.dk writes: For what it's worth, I regularly (=3Devery 10-12 days or so) see all timer activity in the system die and have to use the 4-sec power-switch to get the system down.

usb related wtf-ness

2011-10-13 Thread Adrian Chadd
Here's something from a recentish -head. This is the same behaviour as my beta2/beta3 boxes. This time, however, it's on a MIPS board. It's quite possible this _isn't_ a USB problem but is a scsi or cam layer problem. The root is on /dev/da0, a USB device. usbus0: 480Mbps High Speed USB v2.0

Re: 9.x installer and GPT vs geom

2011-10-13 Thread Johan Hendriks
Nathan Whitehorn schreef: On 10/13/11 04:25, O. Hartmann wrote: On 10/13/11 10:39, Johan Hendriks wrote: Hello all. I just used the 9.0 B3 installer, and it defaults to GPT, which is nice. However, and there has been some discussions about it, it would be nice if the installer warns me that

Re: 9 hangs with idletick = 0

2011-10-13 Thread Dag-Erling Smørgrav
Adrian Chadd adr...@freebsd.org writes: Dag-Erling Smørgrav d...@des.no writes: Could you check if network activity (e.g. downloading an ISO) triggers it, and if so, if it goes away when you set the kern.eventtimer.idletick sysctl to 0? Don't you mean 'set it to 1' ? Uh, yes :) DES --

[RFC] Prepend timestamp in msgbuf

2011-10-13 Thread lacombar
From: Arnaud Lacombe lacom...@gmail.com Hi folks, There is many case recently when I really wished timestamp were present in the post-mortem msgbuf. Such situation could be when userland application segfault potentially triggering a panic/crash, or have information about the time-wise location

Re: [RFC] Prepend timestamp in msgbuf

2011-10-13 Thread Arnaud Lacombe
Hi, On Thu, Oct 13, 2011 at 2:00 PM, lacom...@gmail.com wrote: From: Arnaud Lacombe lacom...@gmail.com Hi folks, There is many case recently when I really wished timestamp were present in the post-mortem msgbuf. Such situation could be when userland application segfault potentially

Compatibility with 8.0

2011-10-13 Thread Pegasus Mc Cleaft
Hi Current, Should the new Beta 3 have options COMPAT_FREEBSD8 in the GENERIC kernel config file? Or, does this happen when it goes RC? Ta Peg ___ freebsd-current@freebsd.org mailing list

Re: Compatibility with 8.0

2011-10-13 Thread Arnaud Lacombe
Hi, On Thu, Oct 13, 2011 at 5:12 PM, Pegasus Mc Cleaft k...@mthelicon.com wrote: Hi Current,        Should the new Beta 3 have options COMPAT_FREEBSD8 in the GENERIC kernel config file? Or, does this happen when it goes RC? What would you expect this option to cover ? I'd assume that no

Re: FreeBSD 9.0-BETA3 Available...

2011-10-13 Thread Doug Barton
On 10/12/2011 06:47, Ken Smith wrote: On Wed, 2011-10-12 at 14:39 +0100, Bruce Cran wrote: On 29/09/2011 02:42, Ken Smith wrote: MD5 (FreeBSD-9.0-BETA3-amd64-bootonly.iso) = 2ce7b93d28fd7ff37965893f1af3f7fc MD5 (FreeBSD-9.0-BETA3-amd64-dvd1.iso) = 4affc701f2052edc548274f090e49235 MD5

Re: Fixed: ichwd failure to attach

2011-10-13 Thread Doug Barton
On 10/12/2011 08:20, Michael Butler wrote: SVN r226302 solves the ichwd failure to attach issue .. Still failing for me: ichwd0: Intel ICH10DO watchdog timer on isa0 ichwd0: unable to reserve GCS registers device_attach: ichwd0 attach returned 6 r226340, smp, amd64 -- Nothin' ever

9.0-beta3 preferring ipv4 over ipv6 with ipv6_activate_all_interfaces=YES

2011-10-13 Thread Thomas Steen Rasmussen
Hello list, I just upgraded my home workstation to 9.0-beta3 amd64. It seems like my web browsers are preferring ipv4 over ipv6 after the upgrade, I tested Firefox and Opera. After digging into rc.conf(5) I found this bit: If ``AUTO'' is specified, it attempts to read a file

Re: 9.0-beta3 preferring ipv4 over ipv6 with ipv6_activate_all_interfaces=YES

2011-10-13 Thread Thomas Steen Rasmussen
On 14.10.2011 00:31, Thomas Steen Rasmussen wrote: Hello list, I just upgraded my home workstation to 9.0-beta3 amd64. It seems like my web browsers are preferring ipv4 over ipv6 after the upgrade, My laptop is also running 9.0-beta3 amd64 and I observe the same behaviour there, so this

Re: 9.0-beta3 preferring ipv4 over ipv6 with ipv6_activate_all_interfaces=YES

2011-10-13 Thread Hiroki Sato
Thomas Steen Rasmussen tho...@gibfest.dk wrote in 4e9766c0.1020...@gibfest.dk: th Hello list, th th I just upgraded my home workstation to 9.0-beta3 amd64. It seems th like my web browsers are preferring ipv4 over ipv6 after the upgrade, th I tested Firefox and Opera. After digging into

Re: [RFC] Prepend timestamp in msgbuf

2011-10-13 Thread Adrian Chadd
On 14 October 2011 02:40, Arnaud Lacombe lacom...@gmail.com wrote: Hi, On Thu, Oct 13, 2011 at 2:00 PM,  lacom...@gmail.com wrote: From: Arnaud Lacombe lacom...@gmail.com Hi folks, There is many case recently when I really wished timestamp were present in the post-mortem msgbuf. Such

Re: incorrect use of pidfile(3)

2011-10-13 Thread Jos Backus
Why not import daemontools? It's public domain these days. Pidfiles are a hacky mess. UNIX already has a way to track processes which avoids all these issues, with very little overhead. Jos ___ freebsd-current@freebsd.org mailing list