Re: Booting an alternative kernel from loader prompt fails the first time only

2013-04-20 Thread Mark Johnston
On Sun, Apr 21, 2013 at 01:36:58AM +0100, Steven Hartland wrote:
> 
> - Original Message - 
> From: "Joshua Isom" 
> To: 
> Sent: Sunday, April 21, 2013 12:41 AM
> Subject: Re: Booting an alternative kernel from loader prompt fails the first 
> time only
> 
> 
> > On 4/20/2013 12:41 PM, Manfred Antar wrote:
> >> At 10:24 AM 4/20/2013, Rainer Hurling wrote:
> >>> On 20.04.2013 18:47 (UTC+2), Florian Smeets wrote:
>  On 20.04.13 18:05, Steven Hartland wrote:
> > When trying to boot an alternative kernel from the loader prompt
> > it fails the first time the command is run but succeeds the second
> > time.
> >
> > Type '?' for a list of commands, 'help' for more detailed help.
> > OK boot kernel.generic
> > Booting...
> > don't know how to load module '/boot/kernel.generic/kernel'
> > OK boot kernel.generic
> > Booting...
> > /boot/kernel.generic/kernel text=0xd21288 data=..
> >
> 
>  Yes, I've been seeing the same thing for about 6-12 months maybe more.
>  None of the people I asked were able to confirm, so I'm happy that I'm
>  not imagining it :)
> >>>
> >>> I also can confirm this behaviour for month now (on 10.0-CURRENT amd64
> >>> with clang).
> >>>
> >>> Rainer
> >>>
> >>
> >> Have you tried:
> >> OK boot /boot/kernel.generic/kernel
> >>
> >> Use full path name always works for me
> >> Manfred
> 
> I believe this may well have been introduced by:-
> http://svnweb.freebsd.org/base?view=revision&revision=241069
> 
> When booting with a /boot/loader.conf that contains a module load line
> e.g. zfs_load="YES" then this is loaded before the kernel.
> 
> Loading any module causes last_file_format to get set so when the next
> file that's loaded is in fact a kernel it still try's to load it as a
> "kernel module" using what was stored with last_file_format.
> 
> This fails and trips the "Restart from the beginning" case which contains:
>last_file_format = i = 0;
>fp = NULL;
>continue;
> 
> So "i" gets set to 0 but the loop then increments it to 1 before running
> the next iteration, so its impossible to use first handler in the retry
> case; which I suspect is the kernel loader.
> 
> This also explains why the second call to boot works as last_file_format
> is now 0 due to the previous failure.
> 
> If this is the issue the attached patch should fix it. I can't test it
> ATM as my current box is at the office and doesn't have remote KVM, so
> I need to be in front of it.
> 
> If anyone can confirm this attached patch fixes the problem then I'll get
> it committed, otherwise I'll test on Monday.

I've been noticing this issue on my laptop, and I can confirm that the
patch fixes it.

-Mark
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: panic when booting HEAD on i386

2013-04-20 Thread Ganbold Tsagaankhuu
On Sat, Apr 20, 2013 at 11:21 PM, Konstantin Belousov
wrote:

> On Sat, Apr 20, 2013 at 10:52:35PM +0800, Ganbold Tsagaankhuu wrote:
> > Hi,
> >
> > I'm trying to boot HEAD after updating, but unfortunately it panics with
> > following message:
> >
> > panic: kmem_suballoc: bad status return of 3.
> >
> > I was only able to get image of the panic.
> >
> > http://www.mnbsd.org/ganbold/IMG_20130420_222353-2.jpg
> >
> > Does anybody see same panic booting on i386 lately?
> > Tried clang, and it panics also.
>
> How much memory do you have ?
> Do you have any tunables in the loader.conf ?
>

Following settings caused the panic:

vm.kmem_size="999M"
vm.kmem_size_max="999M"

Whether it is regression or not in previous version of kernel (r244046) it
didn't panic on boot.
Seems no information on UPDATING either.

Ganbold



> What was the previous version of the kernel which worked for you ?
>
> r249538 boots for me on i386 with memory sizes of 64M, 2G and 4G.
>
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


[head tinderbox] failure on powerpc64/powerpc

2013-04-20 Thread FreeBSD Tinderbox
TB --- 2013-04-20 21:46:12 - tinderbox 2.10 running on freebsd-current.sentex.ca
TB --- 2013-04-20 21:46:12 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-04-20 21:46:12 - starting HEAD tinderbox run for powerpc64/powerpc
TB --- 2013-04-20 21:46:12 - cleaning the object tree
TB --- 2013-04-20 21:48:25 - /usr/local/bin/svn stat /src
TB --- 2013-04-20 21:48:28 - At svn revision 249700
TB --- 2013-04-20 21:48:29 - building world
TB --- 2013-04-20 21:48:29 - CROSS_BUILD_TESTING=YES
TB --- 2013-04-20 21:48:29 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-04-20 21:48:29 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-04-20 21:48:29 - SRCCONF=/dev/null
TB --- 2013-04-20 21:48:29 - TARGET=powerpc
TB --- 2013-04-20 21:48:29 - TARGET_ARCH=powerpc64
TB --- 2013-04-20 21:48:29 - TZ=UTC
TB --- 2013-04-20 21:48:29 - __MAKE_CONF=/dev/null
TB --- 2013-04-20 21:48:29 - cd /src
TB --- 2013-04-20 21:48:29 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Sat Apr 20 21:48:34 UTC 2013
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
>>> stage 5.1: building 32 bit shim libraries
>>> World build completed on Sun Apr 21 00:49:18 UTC 2013
TB --- 2013-04-21 00:49:18 - generating LINT kernel config
TB --- 2013-04-21 00:49:18 - cd /src/sys/powerpc/conf
TB --- 2013-04-21 00:49:18 - /usr/bin/make -B LINT
TB --- 2013-04-21 00:49:18 - cd /src/sys/powerpc/conf
TB --- 2013-04-21 00:49:18 - /usr/sbin/config -m LINT
TB --- 2013-04-21 00:49:18 - skipping LINT kernel
TB --- 2013-04-21 00:49:18 - cd /src/sys/powerpc/conf
TB --- 2013-04-21 00:49:18 - /usr/sbin/config -m GENERIC
TB --- 2013-04-21 00:49:18 - skipping GENERIC kernel
TB --- 2013-04-21 00:49:18 - cd /src/sys/powerpc/conf
TB --- 2013-04-21 00:49:18 - /usr/sbin/config -m GENERIC64
TB --- 2013-04-21 00:49:18 - building GENERIC64 kernel
TB --- 2013-04-21 00:49:18 - CROSS_BUILD_TESTING=YES
TB --- 2013-04-21 00:49:18 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-04-21 00:49:18 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-04-21 00:49:18 - SRCCONF=/dev/null
TB --- 2013-04-21 00:49:18 - TARGET=powerpc
TB --- 2013-04-21 00:49:18 - TARGET_ARCH=powerpc64
TB --- 2013-04-21 00:49:18 - TZ=UTC
TB --- 2013-04-21 00:49:18 - __MAKE_CONF=/dev/null
TB --- 2013-04-21 00:49:18 - cd /src
TB --- 2013-04-21 00:49:18 - /usr/bin/make -B buildkernel KERNCONF=GENERIC64
>>> Kernel build for GENERIC64 started on Sun Apr 21 00:49:18 UTC 2013
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
[...]
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/powerpc.powerpc64/src/sys/GENERIC64/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -mlongcall -fno-omit-frame-pointer 
-I/obj/powerpc.powerpc64/src/sys/GENERIC64  -msoft-float -mno-altivec 
-mcall-aixdesc -ffreestanding -fstack-protector -std=iso9899:1999 
-fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef 
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option   -c /src/sys/modules/cam/../../cam/cam_sim.c
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/powerpc.powerpc64/src/sys/GENERIC64/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -mlongcall -fno-omit-frame-pointer 
-I/obj/powerpc.powerpc64/src/sys/GENERIC64  -msoft-float -mno-altivec 
-mcall-aixdesc -ffreestanding -fstack-protector -std=iso9899:1999 
-fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef 
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option   -c /src/sys/modules/cam/../../cam/cam_xpt.c
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/powerpc.powerpc64/src/sys/GENERIC64/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -mlongcall -fno-omit-frame-pointer 
-I/obj/powerpc.powerpc64/src/sys/

Re: Booting an alternative kernel from loader prompt fails the first time only

2013-04-20 Thread Steven Hartland


- Original Message - 
From: "Joshua Isom" 

To: 
Sent: Sunday, April 21, 2013 12:41 AM
Subject: Re: Booting an alternative kernel from loader prompt fails the first 
time only



On 4/20/2013 12:41 PM, Manfred Antar wrote:

At 10:24 AM 4/20/2013, Rainer Hurling wrote:

On 20.04.2013 18:47 (UTC+2), Florian Smeets wrote:

On 20.04.13 18:05, Steven Hartland wrote:

When trying to boot an alternative kernel from the loader prompt
it fails the first time the command is run but succeeds the second
time.

Type '?' for a list of commands, 'help' for more detailed help.
OK boot kernel.generic
Booting...
don't know how to load module '/boot/kernel.generic/kernel'
OK boot kernel.generic
Booting...
/boot/kernel.generic/kernel text=0xd21288 data=..



Yes, I've been seeing the same thing for about 6-12 months maybe more.
None of the people I asked were able to confirm, so I'm happy that I'm
not imagining it :)


I also can confirm this behaviour for month now (on 10.0-CURRENT amd64
with clang).

Rainer



Have you tried:
OK boot /boot/kernel.generic/kernel

Use full path name always works for me
Manfred


I believe this may well have been introduced by:-
http://svnweb.freebsd.org/base?view=revision&revision=241069

When booting with a /boot/loader.conf that contains a module load line
e.g. zfs_load="YES" then this is loaded before the kernel.

Loading any module causes last_file_format to get set so when the next
file that's loaded is in fact a kernel it still try's to load it as a
"kernel module" using what was stored with last_file_format.

This fails and trips the "Restart from the beginning" case which contains:
  last_file_format = i = 0;
  fp = NULL;
  continue;

So "i" gets set to 0 but the loop then increments it to 1 before running
the next iteration, so its impossible to use first handler in the retry
case; which I suspect is the kernel loader.

This also explains why the second call to boot works as last_file_format
is now 0 due to the previous failure.

If this is the issue the attached patch should fix it. I can't test it
ATM as my current box is at the office and doesn't have remote KVM, so
I need to be in front of it.

If anyone can confirm this attached patch fixes the problem then I'll get
it committed, otherwise I'll test on Monday.

   Regards
   Steve


This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 


In the event of misdirection, illegible or incomplete transmission please 
telephone +44 845 868 1337
or return the E.mail to postmas...@multiplay.co.uk.

alternative-boot.patch
Description: Binary data
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

[head tinderbox] failure on powerpc/powerpc

2013-04-20 Thread FreeBSD Tinderbox
TB --- 2013-04-20 21:40:34 - tinderbox 2.10 running on freebsd-current.sentex.ca
TB --- 2013-04-20 21:40:34 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-04-20 21:40:34 - starting HEAD tinderbox run for powerpc/powerpc
TB --- 2013-04-20 21:40:34 - cleaning the object tree
TB --- 2013-04-20 21:42:03 - /usr/local/bin/svn stat /src
TB --- 2013-04-20 21:42:06 - At svn revision 249700
TB --- 2013-04-20 21:42:07 - building world
TB --- 2013-04-20 21:42:07 - CROSS_BUILD_TESTING=YES
TB --- 2013-04-20 21:42:07 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-04-20 21:42:07 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-04-20 21:42:07 - SRCCONF=/dev/null
TB --- 2013-04-20 21:42:07 - TARGET=powerpc
TB --- 2013-04-20 21:42:07 - TARGET_ARCH=powerpc
TB --- 2013-04-20 21:42:07 - TZ=UTC
TB --- 2013-04-20 21:42:07 - __MAKE_CONF=/dev/null
TB --- 2013-04-20 21:42:07 - cd /src
TB --- 2013-04-20 21:42:07 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Sat Apr 20 21:42:12 UTC 2013
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
>>> World build completed on Sun Apr 21 00:13:38 UTC 2013
TB --- 2013-04-21 00:13:38 - generating LINT kernel config
TB --- 2013-04-21 00:13:38 - cd /src/sys/powerpc/conf
TB --- 2013-04-21 00:13:38 - /usr/bin/make -B LINT
TB --- 2013-04-21 00:13:38 - cd /src/sys/powerpc/conf
TB --- 2013-04-21 00:13:38 - /usr/sbin/config -m LINT
TB --- 2013-04-21 00:13:38 - building LINT kernel
TB --- 2013-04-21 00:13:38 - CROSS_BUILD_TESTING=YES
TB --- 2013-04-21 00:13:38 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-04-21 00:13:38 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-04-21 00:13:38 - SRCCONF=/dev/null
TB --- 2013-04-21 00:13:38 - TARGET=powerpc
TB --- 2013-04-21 00:13:38 - TARGET_ARCH=powerpc
TB --- 2013-04-21 00:13:38 - TZ=UTC
TB --- 2013-04-21 00:13:38 - __MAKE_CONF=/dev/null
TB --- 2013-04-21 00:13:38 - cd /src
TB --- 2013-04-21 00:13:38 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Sun Apr 21 00:13:38 UTC 2013
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
[...]
cc -c -O -pipe  -std=c99  -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option   -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq 
-I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 
--param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many 
-fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding 
-fstack-protector -Werror  /src/sys/cam/ata/ata_pmp.c
cc -c -O -pipe  -std=c99  -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option   -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq 
-I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 
--param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many 
-fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding 
-fstack-protector -Werror  /src/sys/cam/scsi/scsi_xpt.c
cc -c -O -pipe  -std=c99  -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option   -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq 
-I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 
--param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many 
-fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding 
-fstack-protector -Werror  /src/sys/cam/scsi/scsi_all.c
cc -c -O -pipe  -std=c99  -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option   -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq 
-I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_K

Re: Any objections/comments on axing out old ATA stack?

2013-04-20 Thread Jeremy Chadwick
On Thu, Apr 04, 2013 at 10:00:18AM +0200, Matthias Andree wrote:
> Am 04.04.2013 03:05, schrieb Jeremy Chadwick:
> 
> { snipping stuff I have no comment on.  reference thread: }
> { > http://lists.freebsd.org/pipermail/freebsd-stable/2013-April/073036.html }
> 
> > One piece of evidence that refutes my theory is that if Windows and/or
> > Linux partition are something you boot into and use often, I would
> > imagine NCQ would be used in both of those environments and would suffer
> > from the same issue.  Although Windows tends to hide all sorts of
> > transient errors from the user (sigh), Linux tends to be like FreeBSD
> > with regards to such issues (on the console anyway; you wouldn't see
> > such messages normally inside of X).
> 
> Now, the FreeBSD slice is the only partition on that disk that would
> likely see concurrent write accesses (think "make -j8" on a quadcore
> computer) which is more prone to ferret out such alignment contention.
> 
> The NTFS partition is aligned on a multi-MB boundary, so wouldn't hit
> the problem anyways.
> 
> The Linux partition is in ext4 format for mostly sequential access to
> files usually in excess of 10 MB each.
> 
> Linux's ext4 jumps through several hoops to end up with bulk writes,
> like extents, delayed allocations (to avoid fragmentation), reordering
> of data and metadata writes, serialized log writes and all that stuff,
> and it would appear I am permitting it to cache writes -- Linux uses
> write barriers to enforce proper ordering of journal/meta-data writes.
> 
> It would be rather hard to hit ATA taskfile timeouts, the expected rate
> with which the drive needs to do a partial write is orders of magnitude
> lower.
> 
> Any good "concurrent write" exercise tools for Unix that I could run on
> the Linux ext4 partition that you would propose?

The only tool I'm familiar with is bonnie++.

But I don't think this (partition alignment) is what matters now.  Your
smartctl output has shed some light on your situation.

> >> - I am running with kern.cam.ada.default_timeout=5 which makes the
> >> computer recover faster
> > 
> > I can definitely imagine cases where a drive using NCQ but doing writes
> > to a non-aligned partition could take longer than 5 seconds to respond
> > to an ATA CDB (this is different than a SATA or AHCI layer timeout).  I am
> > not telling you "change this back to 30", but it might not be helping
> > your situation at all given my above theory.
> 
> My feeling is that the stalls are mostly from the error handler and the
> overall time the drive is "frozen" gets shorter. If it had not _felt_
> faster, I'd not have left that in sysctl.conf in the first place.

Your understanding of what that sysctl does is wrong, or I'm
misunderstanding what you're saying (very possible!).

How I interpret what you're saying: that the sysctl somehow "decreases
stall times" during I/O operations that fail.  This is incorrect.

What that sysctl does is define the number of seconds that transpire
***before*** the CAM layer says "Okay, I didn't get a response to the
ATA CDB I sent the disk", and then re-submits the same CDB to the disk.

Rephrased: in the case of a disk stalling on an I/O request, you will
experience the effects of that stall no matter what that sysctl is set
to.  A lower value in that sysctl will result in CAM spitting out
nasties on the console + hitting the CDB retry submission scenario
sooner, which if the drive is awake/responsive by that time will go
smoothly.

That's all it does.

Thus a value of 5 indicates a device/drive did not respond to a CDB
within 5 seconds, and a value of 30 indicates a device/drive did not
respond to a CDB within 30 seconds.  Regardless, those lengths of time
are VERY long for an I/O operation on a mechanical HDD.

When you get to the bottom of my Email, you'll understand why I screamed
at you about adjusting that sysctl.

> > Finally: could you please provide output from "smartctl -x /dev/ada1"?
> > I would like to rule out any possibility of your drive having some other
> > kind of issue that might cause it to go catatonic.  Thanks.
> 
> I have fetched the data with Linux this time (should not make a
> difference as it's all drive internal data, not host OS stuff).
> 
> Looks sane to me, .
> I'll be happy to refetch this data with a more current smartctl version
> under FreeBSD if required.

Oh look, it's the Samsung SpinPoint series, especially the EcoGreen
("EG") series.  No joke: ~60% of the "problem reports" I deal with when
it comes to "weird wonky problems" stem from this drive series.  I have
no idea why, but they're a common pain point for me.

First, about the shown sector size: smartmontools 5.41 was the first
release to show the sector sizes per ATA IDENTIFY.  I assume they got
this right from the get-go.  So as of this moment I'm going to assume
that this drive really is a 512-byte sector drive.

Politely, your analysis of the drive ("looks sane

Re: Booting an alternative kernel from loader prompt fails the first time only

2013-04-20 Thread Joshua Isom

On 4/20/2013 12:41 PM, Manfred Antar wrote:

At 10:24 AM 4/20/2013, Rainer Hurling wrote:

On 20.04.2013 18:47 (UTC+2), Florian Smeets wrote:

On 20.04.13 18:05, Steven Hartland wrote:

When trying to boot an alternative kernel from the loader prompt
it fails the first time the command is run but succeeds the second
time.

Type '?' for a list of commands, 'help' for more detailed help.
OK boot kernel.generic
Booting...
don't know how to load module '/boot/kernel.generic/kernel'
OK boot kernel.generic
Booting...
/boot/kernel.generic/kernel text=0xd21288 data=..



Yes, I've been seeing the same thing for about 6-12 months maybe more.
None of the people I asked were able to confirm, so I'm happy that I'm
not imagining it :)


I also can confirm this behaviour for month now (on 10.0-CURRENT amd64
with clang).

Rainer



Have you tried:
OK boot /boot/kernel.generic/kernel

Use full path name always works for me
Manfred



I couldn't get any other method to work.  I can also confirm this. 
While working with Adrian testing ath changes, I frequently had to 
reboot into an old kernel(/boot/ATH/kernel, full path seemed required) 
to regain networking unless I physically moved the computer to add ethernet.


Also, it's really annoying when I would have to manually kldload each 
module in order, especially opensolaris.ko and zfs.ko, and making sure I 
loaded /boot/ATH/if_ath.ko before /boot/ATH/if_ath_pci.ko or else the 
loader would load from /boot/kernel instead of /boot/ATH and I'd end up 
with broken networking even though the kernel was right.  I'd really 
love it if there were a way for modules to be bundled with the kernel 
file and loaded from the kernel instead of the filesystem, especially 
since many modules can't be compiled in.


As a side note, my /boot/loader is from -STABLE, mod time of January 24 
this year.  This could be an issue on -STABLE also.

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


[head tinderbox] failure on sparc64/sparc64

2013-04-20 Thread FreeBSD Tinderbox
TB --- 2013-04-20 22:10:36 - tinderbox 2.10 running on freebsd-current.sentex.ca
TB --- 2013-04-20 22:10:36 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-04-20 22:10:36 - starting HEAD tinderbox run for sparc64/sparc64
TB --- 2013-04-20 22:10:36 - cleaning the object tree
TB --- 2013-04-20 22:11:47 - /usr/local/bin/svn stat /src
TB --- 2013-04-20 22:11:51 - At svn revision 249700
TB --- 2013-04-20 22:11:52 - building world
TB --- 2013-04-20 22:11:52 - CROSS_BUILD_TESTING=YES
TB --- 2013-04-20 22:11:52 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-04-20 22:11:52 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-04-20 22:11:52 - SRCCONF=/dev/null
TB --- 2013-04-20 22:11:52 - TARGET=sparc64
TB --- 2013-04-20 22:11:52 - TARGET_ARCH=sparc64
TB --- 2013-04-20 22:11:52 - TZ=UTC
TB --- 2013-04-20 22:11:52 - __MAKE_CONF=/dev/null
TB --- 2013-04-20 22:11:52 - cd /src
TB --- 2013-04-20 22:11:52 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Sat Apr 20 22:11:56 UTC 2013
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
>>> World build completed on Sat Apr 20 23:16:13 UTC 2013
TB --- 2013-04-20 23:16:13 - generating LINT kernel config
TB --- 2013-04-20 23:16:13 - cd /src/sys/sparc64/conf
TB --- 2013-04-20 23:16:13 - /usr/bin/make -B LINT
TB --- 2013-04-20 23:16:13 - cd /src/sys/sparc64/conf
TB --- 2013-04-20 23:16:13 - /usr/sbin/config -m LINT
TB --- 2013-04-20 23:16:13 - building LINT kernel
TB --- 2013-04-20 23:16:13 - CROSS_BUILD_TESTING=YES
TB --- 2013-04-20 23:16:13 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-04-20 23:16:13 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-04-20 23:16:13 - SRCCONF=/dev/null
TB --- 2013-04-20 23:16:13 - TARGET=sparc64
TB --- 2013-04-20 23:16:13 - TARGET_ARCH=sparc64
TB --- 2013-04-20 23:16:13 - TZ=UTC
TB --- 2013-04-20 23:16:13 - __MAKE_CONF=/dev/null
TB --- 2013-04-20 23:16:13 - cd /src
TB --- 2013-04-20 23:16:13 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Sat Apr 20 23:16:13 UTC 2013
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
[...]
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 
--param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float 
-ffreestanding -fstack-protector -Werror  /src/sys/cam/ata/ata_pmp.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 
--param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float 
-ffreestanding -fstack-protector -Werror  /src/sys/cam/scsi/scsi_xpt.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 
--param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float 
-ffreestanding -fstack-protector -Werror  /src/sys/cam/scsi/scsi_all.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 
--param large-function-growth=1000 -fno-bu

[head tinderbox] failure on mips64/mips

2013-04-20 Thread FreeBSD Tinderbox
TB --- 2013-04-20 21:33:27 - tinderbox 2.10 running on freebsd-current.sentex.ca
TB --- 2013-04-20 21:33:27 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-04-20 21:33:27 - starting HEAD tinderbox run for mips64/mips
TB --- 2013-04-20 21:33:27 - cleaning the object tree
TB --- 2013-04-20 21:34:53 - /usr/local/bin/svn stat /src
TB --- 2013-04-20 21:34:56 - At svn revision 249700
TB --- 2013-04-20 21:34:57 - building world
TB --- 2013-04-20 21:34:57 - CROSS_BUILD_TESTING=YES
TB --- 2013-04-20 21:34:57 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-04-20 21:34:57 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-04-20 21:34:57 - SRCCONF=/dev/null
TB --- 2013-04-20 21:34:57 - TARGET=mips
TB --- 2013-04-20 21:34:57 - TARGET_ARCH=mips64
TB --- 2013-04-20 21:34:57 - TZ=UTC
TB --- 2013-04-20 21:34:57 - __MAKE_CONF=/dev/null
TB --- 2013-04-20 21:34:57 - cd /src
TB --- 2013-04-20 21:34:57 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Sat Apr 20 21:35:02 UTC 2013
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
>>> World build completed on Sat Apr 20 22:36:30 UTC 2013
TB --- 2013-04-20 22:36:30 - cd /src/sys/mips/conf
TB --- 2013-04-20 22:36:30 - /usr/sbin/config -m ADM5120
TB --- 2013-04-20 22:36:30 - skipping ADM5120 kernel
TB --- 2013-04-20 22:36:30 - cd /src/sys/mips/conf
TB --- 2013-04-20 22:36:30 - /usr/sbin/config -m ALCHEMY
TB --- 2013-04-20 22:36:30 - skipping ALCHEMY kernel
TB --- 2013-04-20 22:36:30 - cd /src/sys/mips/conf
TB --- 2013-04-20 22:36:30 - /usr/sbin/config -m AP121
TB --- 2013-04-20 22:36:31 - skipping AP121 kernel
TB --- 2013-04-20 22:36:31 - cd /src/sys/mips/conf
TB --- 2013-04-20 22:36:31 - /usr/sbin/config -m AP91
TB --- 2013-04-20 22:36:31 - skipping AP91 kernel
TB --- 2013-04-20 22:36:31 - cd /src/sys/mips/conf
TB --- 2013-04-20 22:36:31 - /usr/sbin/config -m AP93
TB --- 2013-04-20 22:36:31 - skipping AP93 kernel
TB --- 2013-04-20 22:36:31 - cd /src/sys/mips/conf
TB --- 2013-04-20 22:36:31 - /usr/sbin/config -m AP94
TB --- 2013-04-20 22:36:31 - skipping AP94 kernel
TB --- 2013-04-20 22:36:31 - cd /src/sys/mips/conf
TB --- 2013-04-20 22:36:31 - /usr/sbin/config -m AP96
TB --- 2013-04-20 22:36:31 - skipping AP96 kernel
TB --- 2013-04-20 22:36:31 - cd /src/sys/mips/conf
TB --- 2013-04-20 22:36:31 - /usr/sbin/config -m AR71XX_BASE
TB --- 2013-04-20 22:36:31 - skipping AR71XX_BASE kernel
TB --- 2013-04-20 22:36:31 - cd /src/sys/mips/conf
TB --- 2013-04-20 22:36:31 - /usr/sbin/config -m AR724X_BASE
TB --- 2013-04-20 22:36:31 - skipping AR724X_BASE kernel
TB --- 2013-04-20 22:36:31 - cd /src/sys/mips/conf
TB --- 2013-04-20 22:36:31 - /usr/sbin/config -m AR91XX_BASE
TB --- 2013-04-20 22:36:31 - skipping AR91XX_BASE kernel
TB --- 2013-04-20 22:36:31 - cd /src/sys/mips/conf
TB --- 2013-04-20 22:36:31 - /usr/sbin/config -m AR933X_BASE
TB --- 2013-04-20 22:36:31 - skipping AR933X_BASE kernel
TB --- 2013-04-20 22:36:31 - cd /src/sys/mips/conf
TB --- 2013-04-20 22:36:31 - /usr/sbin/config -m BERI_DE4_MDROOT
TB --- 2013-04-20 22:36:31 - building BERI_DE4_MDROOT kernel
TB --- 2013-04-20 22:36:31 - CROSS_BUILD_TESTING=YES
TB --- 2013-04-20 22:36:31 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-04-20 22:36:31 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-04-20 22:36:31 - SRCCONF=/dev/null
TB --- 2013-04-20 22:36:31 - TARGET=mips
TB --- 2013-04-20 22:36:31 - TARGET_ARCH=mips64
TB --- 2013-04-20 22:36:31 - TZ=UTC
TB --- 2013-04-20 22:36:31 - __MAKE_CONF=/dev/null
TB --- 2013-04-20 22:36:31 - cd /src
TB --- 2013-04-20 22:36:31 - /usr/bin/make -B buildkernel 
KERNCONF=BERI_DE4_MDROOT
>>> Kernel build for BERI_DE4_MDROOT started on Sat Apr 20 22:36:31 UTC 2013
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
>>> Kernel build for BERI_DE4_MDROOT completed on Sat Apr 20 22:39:00 UTC 2013
TB --- 2013-04-20 22:39:00 - cd /src/sys/mips/conf
TB --- 2013-04-20 22:39:00 - /usr/sbin/config -m BERI_DE4_SDROOT
TB --- 2013-04-20 22:39:00 - building BERI_DE4_SDROOT kernel
TB --- 2013-04-20 22:39:00 - CROSS_BUILD_TESTING=YES
TB --- 2013-04-20 22:39:00 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-04-20 22:39:00 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-04-20 22:39:00 - SRCCONF=/dev/null
TB --- 2013-04-20 22:39:00 - TARGET=mips
TB --- 2013-04-20 22:39:00 - TARGET_ARCH=mips64
TB --- 2013-04-20 22:39:00 - TZ=UTC
TB --- 2013-04-20 22:39:00 - __MAKE_CONF=/dev/nu

Re: Atheros 9287 - no carrier . revision 249623.

2013-04-20 Thread Artyom Mirgorodskiy
Works fine.
Thank you, Adrian

On Friday 19 April 2013 14:57:12 Adrian Chadd wrote:
> Hi!
> 
> Ok, please update to -HEAD and retest!
> 
> 
> 
> adrian
> 
> On 19 April 2013 06:26, Adrian Chadd  wrote:
> > oo good to know! let me setup the chainmask info whether or not
> > the 11n option is set.
> >
> > thanks!
> >
> >
> > adrian
> >
> > On 19 April 2013 04:08, Artyom Mirgorodskiy
> >  wrote:
> >> Adrian, I found the problem.
> >>
> >> I'm use ath as module, so ATH_ENABLE_11N is not defined. When I define
> >> ATH_ENABLE_11N - everything work.
> >>
> >>
> >>
> >>
> >>
> >> Artyom Mirgorodskiy
> >>
> >>
> >>
> >> On Friday 19 April 2013 13:27:21 wrote:
> >>
> >> Updated. However I did not see chainmask information.
> >>
> >> See attached
> >>
> >>
> >>
> >> On Friday 19 April 2013 00:57:12 Adrian Chadd wrote:
> >>
> >>> Hi,
> >>
> >>>
> >>
> >>> I've just committed some changes to -HEAD. Please update to the latest
> >>
> >>> -HEAD and paste me the ath0 dmesg output.
> >>
> >>> It will include the chainmask information.
> >>
> >>>
> >>
> >>> Thanks,
> >>
> >>>
> >>
> >>>
> >>
> >>> Adrian
> >>
> >> --
> >>
> >> Artyom Mirgorodskiy
> >>
> >>
> >> --
> >>
> >> Artyom Mirgorodskiy
-- 
Artyom Mirgorodskiy
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


[head tinderbox] failure on mips/mips

2013-04-20 Thread FreeBSD Tinderbox
TB --- 2013-04-20 21:02:44 - tinderbox 2.10 running on freebsd-current.sentex.ca
TB --- 2013-04-20 21:02:44 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-04-20 21:02:44 - starting HEAD tinderbox run for mips/mips
TB --- 2013-04-20 21:02:44 - cleaning the object tree
TB --- 2013-04-20 21:04:06 - /usr/local/bin/svn stat /src
TB --- 2013-04-20 21:04:15 - At svn revision 249700
TB --- 2013-04-20 21:04:16 - building world
TB --- 2013-04-20 21:04:16 - CROSS_BUILD_TESTING=YES
TB --- 2013-04-20 21:04:16 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-04-20 21:04:16 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-04-20 21:04:16 - SRCCONF=/dev/null
TB --- 2013-04-20 21:04:16 - TARGET=mips
TB --- 2013-04-20 21:04:16 - TARGET_ARCH=mips
TB --- 2013-04-20 21:04:16 - TZ=UTC
TB --- 2013-04-20 21:04:16 - __MAKE_CONF=/dev/null
TB --- 2013-04-20 21:04:16 - cd /src
TB --- 2013-04-20 21:04:16 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Sat Apr 20 21:04:21 UTC 2013
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
>>> World build completed on Sat Apr 20 22:04:47 UTC 2013
TB --- 2013-04-20 22:04:47 - cd /src/sys/mips/conf
TB --- 2013-04-20 22:04:47 - /usr/sbin/config -m ADM5120
TB --- 2013-04-20 22:04:47 - skipping ADM5120 kernel
TB --- 2013-04-20 22:04:47 - cd /src/sys/mips/conf
TB --- 2013-04-20 22:04:47 - /usr/sbin/config -m ALCHEMY
TB --- 2013-04-20 22:04:47 - skipping ALCHEMY kernel
TB --- 2013-04-20 22:04:47 - cd /src/sys/mips/conf
TB --- 2013-04-20 22:04:47 - /usr/sbin/config -m AP121
TB --- 2013-04-20 22:04:48 - building AP121 kernel
TB --- 2013-04-20 22:04:48 - CROSS_BUILD_TESTING=YES
TB --- 2013-04-20 22:04:48 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-04-20 22:04:48 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-04-20 22:04:48 - SRCCONF=/dev/null
TB --- 2013-04-20 22:04:48 - TARGET=mips
TB --- 2013-04-20 22:04:48 - TARGET_ARCH=mips
TB --- 2013-04-20 22:04:48 - TZ=UTC
TB --- 2013-04-20 22:04:48 - __MAKE_CONF=/dev/null
TB --- 2013-04-20 22:04:48 - cd /src
TB --- 2013-04-20 22:04:48 - /usr/bin/make -B buildkernel KERNCONF=AP121
>>> Kernel build for AP121 started on Sat Apr 20 22:04:48 UTC 2013
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
>>> Kernel build for AP121 completed on Sat Apr 20 22:07:01 UTC 2013
TB --- 2013-04-20 22:07:01 - cd /src/sys/mips/conf
TB --- 2013-04-20 22:07:01 - /usr/sbin/config -m AP91
TB --- 2013-04-20 22:07:01 - building AP91 kernel
TB --- 2013-04-20 22:07:01 - CROSS_BUILD_TESTING=YES
TB --- 2013-04-20 22:07:01 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-04-20 22:07:01 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-04-20 22:07:01 - SRCCONF=/dev/null
TB --- 2013-04-20 22:07:01 - TARGET=mips
TB --- 2013-04-20 22:07:01 - TARGET_ARCH=mips
TB --- 2013-04-20 22:07:01 - TZ=UTC
TB --- 2013-04-20 22:07:01 - __MAKE_CONF=/dev/null
TB --- 2013-04-20 22:07:01 - cd /src
TB --- 2013-04-20 22:07:01 - /usr/bin/make -B buildkernel KERNCONF=AP91
>>> Kernel build for AP91 started on Sat Apr 20 22:07:01 UTC 2013
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
[...]
cc -O -pipe -G0 -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include /obj/mips.mips/src/sys/AP91/opt_global.h 
-I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 
--param large-function-growth=1000 -fno-common -g -G0 -fno-pic -mno-abicalls 
-mlong-calls -I/obj/mips.mips/src/sys/AP91  -msoft-float -ffreestanding 
-std=iso9899:1999 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef 
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option   -c /src/sys/modules/cam/../../cam/cam_sim.c
cc -O -pipe -G0 -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include /obj/mips.mips/src/sys/AP91/opt_global.h 
-I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 
--param large-function-growth=1000 -fno-common -g -G0 -fno-pic -mno-abicalls 
-mlong-calls -I/obj/mips.mips/src/sys/AP91  -msoft-float -ffreestanding 
-std=iso9899:1999 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-

Re: Any objections/comments on axing out old ATA stack?

2013-04-20 Thread Bruce Cran

On 04/04/2013 09:00, Matthias Andree wrote:
Any good "concurrent write" exercise tools for Unix that I could run 
on the Linux ext4 partition that you would propose?


benchmarks/fio is good for that.

--
Bruce Cran

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


[head tinderbox] failure on i386/pc98

2013-04-20 Thread FreeBSD Tinderbox
TB --- 2013-04-20 18:02:30 - tinderbox 2.10 running on freebsd-current.sentex.ca
TB --- 2013-04-20 18:02:30 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-04-20 18:02:30 - starting HEAD tinderbox run for i386/pc98
TB --- 2013-04-20 18:02:30 - cleaning the object tree
TB --- 2013-04-20 18:04:26 - /usr/local/bin/svn stat /src
TB --- 2013-04-20 18:04:40 - At svn revision 249700
TB --- 2013-04-20 18:04:41 - building world
TB --- 2013-04-20 18:04:41 - CROSS_BUILD_TESTING=YES
TB --- 2013-04-20 18:04:41 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-04-20 18:04:41 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-04-20 18:04:41 - SRCCONF=/dev/null
TB --- 2013-04-20 18:04:41 - TARGET=pc98
TB --- 2013-04-20 18:04:41 - TARGET_ARCH=i386
TB --- 2013-04-20 18:04:41 - TZ=UTC
TB --- 2013-04-20 18:04:41 - __MAKE_CONF=/dev/null
TB --- 2013-04-20 18:04:41 - cd /src
TB --- 2013-04-20 18:04:41 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Sat Apr 20 18:04:46 UTC 2013
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
>>> World build completed on Sat Apr 20 21:20:41 UTC 2013
TB --- 2013-04-20 21:20:41 - generating LINT kernel config
TB --- 2013-04-20 21:20:41 - cd /src/sys/pc98/conf
TB --- 2013-04-20 21:20:41 - /usr/bin/make -B LINT
TB --- 2013-04-20 21:20:41 - cd /src/sys/pc98/conf
TB --- 2013-04-20 21:20:41 - /usr/sbin/config -m LINT
TB --- 2013-04-20 21:20:41 - building LINT kernel
TB --- 2013-04-20 21:20:41 - CROSS_BUILD_TESTING=YES
TB --- 2013-04-20 21:20:41 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-04-20 21:20:41 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-04-20 21:20:41 - SRCCONF=/dev/null
TB --- 2013-04-20 21:20:41 - TARGET=pc98
TB --- 2013-04-20 21:20:41 - TARGET_ARCH=i386
TB --- 2013-04-20 21:20:41 - TZ=UTC
TB --- 2013-04-20 21:20:41 - __MAKE_CONF=/dev/null
TB --- 2013-04-20 21:20:41 - cd /src
TB --- 2013-04-20 21:20:41 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Sat Apr 20 21:20:41 UTC 2013
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
[...]
^~~~
./machine/bus.h:362:1: note: passing argument to parameter 'bsh' here
_BUS_SPACE_WRITE(u_int32_t,4)
^
./machine/bus.h:347:64: note: expanded from macro '_BUS_SPACE_WRITE'
bus_space_write_##BWN (bus_space_tag_t tag, bus_space_handle_t bsh, \
   ^
4 errors generated.
*** [uart_dev_lpc.o] Error code 1

Stop in /src/sys/modules/uart.
*** [all] Error code 1

Stop in /src/sys/modules.
*** [modules-all] Error code 1

Stop in /obj/pc98.i386/src/sys/LINT.
*** [buildkernel] Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2013-04-20 21:46:11 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2013-04-20 21:46:11 - ERROR: failed to build LINT kernel
TB --- 2013-04-20 21:46:11 - 10593.60 user 1540.50 system 13421.32 real


http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-i386-pc98.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


[head tinderbox] failure on ia64/ia64

2013-04-20 Thread FreeBSD Tinderbox
TB --- 2013-04-20 19:23:26 - tinderbox 2.10 running on freebsd-current.sentex.ca
TB --- 2013-04-20 19:23:26 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-04-20 19:23:26 - starting HEAD tinderbox run for ia64/ia64
TB --- 2013-04-20 19:23:26 - cleaning the object tree
TB --- 2013-04-20 19:25:04 - /usr/local/bin/svn stat /src
TB --- 2013-04-20 19:25:08 - At svn revision 249700
TB --- 2013-04-20 19:25:09 - building world
TB --- 2013-04-20 19:25:09 - CROSS_BUILD_TESTING=YES
TB --- 2013-04-20 19:25:09 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-04-20 19:25:09 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-04-20 19:25:09 - SRCCONF=/dev/null
TB --- 2013-04-20 19:25:09 - TARGET=ia64
TB --- 2013-04-20 19:25:09 - TARGET_ARCH=ia64
TB --- 2013-04-20 19:25:09 - TZ=UTC
TB --- 2013-04-20 19:25:09 - __MAKE_CONF=/dev/null
TB --- 2013-04-20 19:25:09 - cd /src
TB --- 2013-04-20 19:25:09 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Sat Apr 20 19:25:14 UTC 2013
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
>>> World build completed on Sat Apr 20 20:59:40 UTC 2013
TB --- 2013-04-20 20:59:40 - generating LINT kernel config
TB --- 2013-04-20 20:59:40 - cd /src/sys/ia64/conf
TB --- 2013-04-20 20:59:40 - /usr/bin/make -B LINT
TB --- 2013-04-20 20:59:40 - cd /src/sys/ia64/conf
TB --- 2013-04-20 20:59:40 - /usr/sbin/config -m LINT
TB --- 2013-04-20 20:59:40 - building LINT kernel
TB --- 2013-04-20 20:59:40 - CROSS_BUILD_TESTING=YES
TB --- 2013-04-20 20:59:40 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-04-20 20:59:40 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-04-20 20:59:40 - SRCCONF=/dev/null
TB --- 2013-04-20 20:59:40 - TARGET=ia64
TB --- 2013-04-20 20:59:40 - TARGET_ARCH=ia64
TB --- 2013-04-20 20:59:40 - TZ=UTC
TB --- 2013-04-20 20:59:40 - __MAKE_CONF=/dev/null
TB --- 2013-04-20 20:59:40 - cd /src
TB --- 2013-04-20 20:59:40 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Sat Apr 20 20:59:40 UTC 2013
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
[...]
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 
-mfixed-range=f32-f127 -fpic -ffreestanding -Werror  /src/sys/cam/ata/ata_pmp.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 
-mfixed-range=f32-f127 -fpic -ffreestanding -Werror  
/src/sys/cam/scsi/scsi_xpt.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 
-mfixed-range=f32-f127 -fpic -ffreestanding -Werror  
/src/sys/cam/scsi/scsi_all.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL 
-DHAVE_KERNEL

Re: Booting an alternative kernel from loader prompt fails the first time only

2013-04-20 Thread Manfred Antar
At 10:24 AM 4/20/2013, Rainer Hurling wrote:
>On 20.04.2013 18:47 (UTC+2), Florian Smeets wrote:
>> On 20.04.13 18:05, Steven Hartland wrote:
>>> When trying to boot an alternative kernel from the loader prompt
>>> it fails the first time the command is run but succeeds the second
>>> time.
>>>
>>> Type '?' for a list of commands, 'help' for more detailed help.
>>> OK boot kernel.generic
>>> Booting...
>>> don't know how to load module '/boot/kernel.generic/kernel'
>>> OK boot kernel.generic
>>> Booting...
>>> /boot/kernel.generic/kernel text=0xd21288 data=..
>>>
>> 
>> Yes, I've been seeing the same thing for about 6-12 months maybe more.
>> None of the people I asked were able to confirm, so I'm happy that I'm
>> not imagining it :)
>
>I also can confirm this behaviour for month now (on 10.0-CURRENT amd64
>with clang).
>
>Rainer
>
>> 
>> I see this on serial as well as on the normal console in front of a PC.
>> 
>> Florian
>> 

Have you tried:
OK boot /boot/kernel.generic/kernel  

Use full path name always works for me
Manfred


||  n...@pozo.com   ||
||  ||
 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Booting an alternative kernel from loader prompt fails the first time only

2013-04-20 Thread Rainer Hurling
On 20.04.2013 18:47 (UTC+2), Florian Smeets wrote:
> On 20.04.13 18:05, Steven Hartland wrote:
>> When trying to boot an alternative kernel from the loader prompt
>> it fails the first time the command is run but succeeds the second
>> time.
>>
>> Type '?' for a list of commands, 'help' for more detailed help.
>> OK boot kernel.generic
>> Booting...
>> don't know how to load module '/boot/kernel.generic/kernel'
>> OK boot kernel.generic
>> Booting...
>> /boot/kernel.generic/kernel text=0xd21288 data=..
>>
> 
> Yes, I've been seeing the same thing for about 6-12 months maybe more.
> None of the people I asked were able to confirm, so I'm happy that I'm
> not imagining it :)

I also can confirm this behaviour for month now (on 10.0-CURRENT amd64
with clang).

Rainer

> 
> I see this on serial as well as on the normal console in front of a PC.
> 
> Florian
> 

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Booting an alternative kernel from loader prompt fails the first time only

2013-04-20 Thread Florian Smeets
On 20.04.13 18:05, Steven Hartland wrote:
> When trying to boot an alternative kernel from the loader prompt
> it fails the first time the command is run but succeeds the second
> time.
> 
> Type '?' for a list of commands, 'help' for more detailed help.
> OK boot kernel.generic
> Booting...
> don't know how to load module '/boot/kernel.generic/kernel'
> OK boot kernel.generic
> Booting...
> /boot/kernel.generic/kernel text=0xd21288 data=..
> 

Yes, I've been seeing the same thing for about 6-12 months maybe more.
None of the people I asked were able to confirm, so I'm happy that I'm
not imagining it :)

I see this on serial as well as on the normal console in front of a PC.

Florian



signature.asc
Description: OpenPGP digital signature


Booting an alternative kernel from loader prompt fails the first time only

2013-04-20 Thread Steven Hartland

When trying to boot an alternative kernel from the loader prompt
it fails the first time the command is run but succeeds the second
time.

Type '?' for a list of commands, 'help' for more detailed help.
OK boot kernel.generic
Booting...
don't know how to load module '/boot/kernel.generic/kernel'
OK boot kernel.generic
Booting...
/boot/kernel.generic/kernel text=0xd21288 data=..

Both kernels where built from r249664 based source.

As a side issue, shouldn't additional kernel module dependencies
be noted in UPDATING so those that use MODULES_OVERRIDE don't get
bitten by machines failing to boot due to known dependencies?

Ideally it would be nice if there was some sort of warning when
building / installing the kernel that dependencies where missing.

   Regards
   Steve


This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 


In the event of misdirection, illegible or incomplete transmission please 
telephone +44 845 868 1337
or return the E.mail to postmas...@multiplay.co.uk.

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: panic when booting HEAD on i386

2013-04-20 Thread Ganbold Tsagaankhuu
On Sat, Apr 20, 2013 at 11:21 PM, Konstantin Belousov
wrote:

> On Sat, Apr 20, 2013 at 10:52:35PM +0800, Ganbold Tsagaankhuu wrote:
> > Hi,
> >
> > I'm trying to boot HEAD after updating, but unfortunately it panics with
> > following message:
> >
> > panic: kmem_suballoc: bad status return of 3.
> >
> > I was only able to get image of the panic.
> >
> > http://www.mnbsd.org/ganbold/IMG_20130420_222353-2.jpg
> >
> > Does anybody see same panic booting on i386 lately?
> > Tried clang, and it panics also.
>
> How much memory do you have ?
>

2GB.

http://people.freebsd.org/~ganbold/dmesg.txt



> Do you have any tunables in the loader.conf ?
>

Just checked, it seems old kqemu, atapicam etc. were there.
This is what was on old kernel right after WITNESS line:

link_elf: symbol _mtx_unlock_flags undefined
KLD file kqemu.ko - could not finalize loading
link_elf: symbol ata_controlcmd undefined
KLD file atapicam.ko - could not finalize loading



> What was the previous version of the kernel which worked for you ?
>

r244046.

I will disable kqemu, atapicam etc and try again.

thanks,

Ganbold



>
> r249538 boots for me on i386 with memory sizes of 64M, 2G and 4G.
>
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: panic when booting HEAD on i386

2013-04-20 Thread Konstantin Belousov
On Sat, Apr 20, 2013 at 10:52:35PM +0800, Ganbold Tsagaankhuu wrote:
> Hi,
> 
> I'm trying to boot HEAD after updating, but unfortunately it panics with
> following message:
> 
> panic: kmem_suballoc: bad status return of 3.
> 
> I was only able to get image of the panic.
> 
> http://www.mnbsd.org/ganbold/IMG_20130420_222353-2.jpg
> 
> Does anybody see same panic booting on i386 lately?
> Tried clang, and it panics also.

How much memory do you have ?
Do you have any tunables in the loader.conf ?
What was the previous version of the kernel which worked for you ?

r249538 boots for me on i386 with memory sizes of 64M, 2G and 4G.


pgpCV4brT2YEF.pgp
Description: PGP signature


Re: panic when booting HEAD on i386

2013-04-20 Thread David Wolfskill
On Sat, Apr 20, 2013 at 10:52:35PM +0800, Ganbold Tsagaankhuu wrote:
> Hi,
> 
> I'm trying to boot HEAD after updating, but unfortunately it panics with
> following message:
> 
> panic: kmem_suballoc: bad status return of 3.
> 
> I was only able to get image of the panic.
> 
> http://www.mnbsd.org/ganbold/IMG_20130420_222353-2.jpg
> 
> Does anybody see same panic booting on i386 lately?
> Tried clang, and it panics also.
> ...

My (daily) updates/smoke tests on i386 were uneventful both yesterday &
today -- both on my laptop & my build machine (the latter of which runs
a GENERIC kernel).  I use clang as the system compiler; here are some
recent uname strings:

FreeBSD g1-227.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #874  
r249616M/249616:130: Thu Apr 18 07:40:02 PDT 2013 
r...@g1-227.catwhisker.org:/usr/obj/usr/src/sys/CANARY  i386

FreeBSD g1-227.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #875  
r249644M/249644:130: Fri Apr 19 05:42:45 PDT 2013 
r...@g1-227.catwhisker.org:/usr/obj/usr/src/sys/CANARY  i386

FreeBSD g1-227.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #876  
r249688M/249689:130: Sat Apr 20 05:12:39 PDT 2013 
r...@g1-227.catwhisker.org:/usr/obj/usr/src/sys/CANARY  i386

Looking at the image you provided, I see that you're at r249649;
my builds bracketing that were at r249644 & r249688.  You could try updating
to r249688, perhaps -- it certainly worked for me.

Peace,
david
-- 
David H. Wolfskill  da...@catwhisker.org
Taliban: Evil men with guns afraid of truth from a 14-year old girl.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.


pgpfZ9ltzhLdC.pgp
Description: PGP signature


panic when booting HEAD on i386

2013-04-20 Thread Ganbold Tsagaankhuu
Hi,

I'm trying to boot HEAD after updating, but unfortunately it panics with
following message:

panic: kmem_suballoc: bad status return of 3.

I was only able to get image of the panic.

http://www.mnbsd.org/ganbold/IMG_20130420_222353-2.jpg

Does anybody see same panic booting on i386 lately?
Tried clang, and it panics also.

thanks,

Ganbold
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: CURRENT: extremely unresponsive disk I/O

2013-04-20 Thread Adrian Chadd
Think you could trace down which kernel commit introduced the
regression? It should be pretty easy if you know the window is only
two weeks long.

Thanks,



Adrian

On 20 April 2013 01:52, O. Hartmann  wrote:
> Since a couple of weeks now, FreeBSD 10.0-CURRENT is really unresponsive
> when managing high disk I/O.
>
> This is most noticeable when starting the buildworld process, hwen clang
> 3.3 starts to build the llvm backend libraries and doing some sort of
> portmaster/portupgrade in parallel: even a "make rmconfig config" takes
> aprox. a minute to show up.
>
> Is there a known issue at this moment? I can not see such a behaviour on
> FreeBSD 9.1-STABLE (similar hardware).
>
> Oliver
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


[head tinderbox] failure on powerpc64/powerpc

2013-04-20 Thread FreeBSD Tinderbox
TB --- 2013-04-20 11:08:50 - tinderbox 2.10 running on freebsd-current.sentex.ca
TB --- 2013-04-20 11:08:50 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-04-20 11:08:50 - starting HEAD tinderbox run for powerpc64/powerpc
TB --- 2013-04-20 11:08:50 - cleaning the object tree
TB --- 2013-04-20 11:08:50 - /usr/local/bin/svn stat /src
TB --- 2013-04-20 11:08:53 - At svn revision 249665
TB --- 2013-04-20 11:08:54 - building world
TB --- 2013-04-20 11:08:54 - CROSS_BUILD_TESTING=YES
TB --- 2013-04-20 11:08:54 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-04-20 11:08:54 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-04-20 11:08:54 - SRCCONF=/dev/null
TB --- 2013-04-20 11:08:54 - TARGET=powerpc
TB --- 2013-04-20 11:08:54 - TARGET_ARCH=powerpc64
TB --- 2013-04-20 11:08:54 - TZ=UTC
TB --- 2013-04-20 11:08:54 - __MAKE_CONF=/dev/null
TB --- 2013-04-20 11:08:54 - cd /src
TB --- 2013-04-20 11:08:54 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Sat Apr 20 11:08:58 UTC 2013
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
>>> stage 5.1: building 32 bit shim libraries
>>> World build completed on Sat Apr 20 14:09:38 UTC 2013
TB --- 2013-04-20 14:09:38 - generating LINT kernel config
TB --- 2013-04-20 14:09:38 - cd /src/sys/powerpc/conf
TB --- 2013-04-20 14:09:38 - /usr/bin/make -B LINT
TB --- 2013-04-20 14:09:38 - cd /src/sys/powerpc/conf
TB --- 2013-04-20 14:09:38 - /usr/sbin/config -m LINT
TB --- 2013-04-20 14:09:38 - skipping LINT kernel
TB --- 2013-04-20 14:09:38 - cd /src/sys/powerpc/conf
TB --- 2013-04-20 14:09:38 - /usr/sbin/config -m GENERIC
TB --- 2013-04-20 14:09:38 - skipping GENERIC kernel
TB --- 2013-04-20 14:09:38 - cd /src/sys/powerpc/conf
TB --- 2013-04-20 14:09:38 - /usr/sbin/config -m GENERIC64
TB --- 2013-04-20 14:09:38 - building GENERIC64 kernel
TB --- 2013-04-20 14:09:38 - CROSS_BUILD_TESTING=YES
TB --- 2013-04-20 14:09:38 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-04-20 14:09:38 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-04-20 14:09:38 - SRCCONF=/dev/null
TB --- 2013-04-20 14:09:38 - TARGET=powerpc
TB --- 2013-04-20 14:09:38 - TARGET_ARCH=powerpc64
TB --- 2013-04-20 14:09:38 - TZ=UTC
TB --- 2013-04-20 14:09:38 - __MAKE_CONF=/dev/null
TB --- 2013-04-20 14:09:38 - cd /src
TB --- 2013-04-20 14:09:38 - /usr/bin/make -B buildkernel KERNCONF=GENERIC64
>>> Kernel build for GENERIC64 started on Sat Apr 20 14:09:38 UTC 2013
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
[...]
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/powerpc.powerpc64/src/sys/GENERIC64/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -mlongcall -fno-omit-frame-pointer 
-I/obj/powerpc.powerpc64/src/sys/GENERIC64  -msoft-float -mno-altivec 
-mcall-aixdesc -ffreestanding -fstack-protector -std=iso9899:1999 
-fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef 
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option   -c /src/sys/modules/cam/../../cam/cam_sim.c
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/powerpc.powerpc64/src/sys/GENERIC64/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -mlongcall -fno-omit-frame-pointer 
-I/obj/powerpc.powerpc64/src/sys/GENERIC64  -msoft-float -mno-altivec 
-mcall-aixdesc -ffreestanding -fstack-protector -std=iso9899:1999 
-fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef 
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option   -c /src/sys/modules/cam/../../cam/cam_xpt.c
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/powerpc.powerpc64/src/sys/GENERIC64/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -mlongcall -fno-omit-frame-pointer 
-I/obj/powerpc.powerpc64/src/sys/

[head tinderbox] failure on powerpc/powerpc

2013-04-20 Thread FreeBSD Tinderbox
TB --- 2013-04-20 11:06:54 - tinderbox 2.10 running on freebsd-current.sentex.ca
TB --- 2013-04-20 11:06:54 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-04-20 11:06:54 - starting HEAD tinderbox run for powerpc/powerpc
TB --- 2013-04-20 11:06:54 - cleaning the object tree
TB --- 2013-04-20 11:06:54 - /usr/local/bin/svn stat /src
TB --- 2013-04-20 11:06:57 - At svn revision 249665
TB --- 2013-04-20 11:06:58 - building world
TB --- 2013-04-20 11:06:58 - CROSS_BUILD_TESTING=YES
TB --- 2013-04-20 11:06:58 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-04-20 11:06:58 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-04-20 11:06:58 - SRCCONF=/dev/null
TB --- 2013-04-20 11:06:58 - TARGET=powerpc
TB --- 2013-04-20 11:06:58 - TARGET_ARCH=powerpc
TB --- 2013-04-20 11:06:58 - TZ=UTC
TB --- 2013-04-20 11:06:58 - __MAKE_CONF=/dev/null
TB --- 2013-04-20 11:06:58 - cd /src
TB --- 2013-04-20 11:06:58 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Sat Apr 20 11:07:03 UTC 2013
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
>>> World build completed on Sat Apr 20 13:38:14 UTC 2013
TB --- 2013-04-20 13:38:14 - generating LINT kernel config
TB --- 2013-04-20 13:38:14 - cd /src/sys/powerpc/conf
TB --- 2013-04-20 13:38:14 - /usr/bin/make -B LINT
TB --- 2013-04-20 13:38:14 - cd /src/sys/powerpc/conf
TB --- 2013-04-20 13:38:14 - /usr/sbin/config -m LINT
TB --- 2013-04-20 13:38:14 - building LINT kernel
TB --- 2013-04-20 13:38:14 - CROSS_BUILD_TESTING=YES
TB --- 2013-04-20 13:38:14 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-04-20 13:38:14 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-04-20 13:38:14 - SRCCONF=/dev/null
TB --- 2013-04-20 13:38:14 - TARGET=powerpc
TB --- 2013-04-20 13:38:14 - TARGET_ARCH=powerpc
TB --- 2013-04-20 13:38:14 - TZ=UTC
TB --- 2013-04-20 13:38:14 - __MAKE_CONF=/dev/null
TB --- 2013-04-20 13:38:14 - cd /src
TB --- 2013-04-20 13:38:14 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Sat Apr 20 13:38:14 UTC 2013
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
[...]
cc -c -O -pipe  -std=c99  -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option   -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq 
-I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 
--param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many 
-fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding 
-fstack-protector -Werror  /src/sys/cam/ata/ata_pmp.c
cc -c -O -pipe  -std=c99  -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option   -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq 
-I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 
--param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many 
-fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding 
-fstack-protector -Werror  /src/sys/cam/scsi/scsi_xpt.c
cc -c -O -pipe  -std=c99  -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option   -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq 
-I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 
--param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many 
-fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding 
-fstack-protector -Werror  /src/sys/cam/scsi/scsi_all.c
cc -c -O -pipe  -std=c99  -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option   -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq 
-I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_K

[head tinderbox] failure on sparc64/sparc64

2013-04-20 Thread FreeBSD Tinderbox
TB --- 2013-04-20 11:38:05 - tinderbox 2.10 running on freebsd-current.sentex.ca
TB --- 2013-04-20 11:38:05 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-04-20 11:38:05 - starting HEAD tinderbox run for sparc64/sparc64
TB --- 2013-04-20 11:38:05 - cleaning the object tree
TB --- 2013-04-20 11:38:05 - /usr/local/bin/svn stat /src
TB --- 2013-04-20 11:38:10 - At svn revision 249665
TB --- 2013-04-20 11:38:11 - building world
TB --- 2013-04-20 11:38:11 - CROSS_BUILD_TESTING=YES
TB --- 2013-04-20 11:38:11 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-04-20 11:38:11 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-04-20 11:38:11 - SRCCONF=/dev/null
TB --- 2013-04-20 11:38:11 - TARGET=sparc64
TB --- 2013-04-20 11:38:11 - TARGET_ARCH=sparc64
TB --- 2013-04-20 11:38:11 - TZ=UTC
TB --- 2013-04-20 11:38:11 - __MAKE_CONF=/dev/null
TB --- 2013-04-20 11:38:11 - cd /src
TB --- 2013-04-20 11:38:11 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Sat Apr 20 11:38:15 UTC 2013
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
>>> World build completed on Sat Apr 20 12:42:21 UTC 2013
TB --- 2013-04-20 12:42:21 - generating LINT kernel config
TB --- 2013-04-20 12:42:21 - cd /src/sys/sparc64/conf
TB --- 2013-04-20 12:42:21 - /usr/bin/make -B LINT
TB --- 2013-04-20 12:42:21 - cd /src/sys/sparc64/conf
TB --- 2013-04-20 12:42:21 - /usr/sbin/config -m LINT
TB --- 2013-04-20 12:42:21 - building LINT kernel
TB --- 2013-04-20 12:42:21 - CROSS_BUILD_TESTING=YES
TB --- 2013-04-20 12:42:21 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-04-20 12:42:21 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-04-20 12:42:21 - SRCCONF=/dev/null
TB --- 2013-04-20 12:42:21 - TARGET=sparc64
TB --- 2013-04-20 12:42:21 - TARGET_ARCH=sparc64
TB --- 2013-04-20 12:42:21 - TZ=UTC
TB --- 2013-04-20 12:42:21 - __MAKE_CONF=/dev/null
TB --- 2013-04-20 12:42:21 - cd /src
TB --- 2013-04-20 12:42:21 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Sat Apr 20 12:42:21 UTC 2013
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
[...]
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 
--param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float 
-ffreestanding -fstack-protector -Werror  /src/sys/cam/ata/ata_pmp.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 
--param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float 
-ffreestanding -fstack-protector -Werror  /src/sys/cam/scsi/scsi_xpt.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 
--param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float 
-ffreestanding -fstack-protector -Werror  /src/sys/cam/scsi/scsi_all.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 
--param large-function-growth=1000 -fno-bu

Re: Any objections/comments on axing out old ATA stack?

2013-04-20 Thread Bernd Walter
On Thu, Apr 04, 2013 at 12:15:32AM +0200, Matthias Andree wrote:
> I have just sent more information to the PR at
> http://www.freebsd.org/cgi/query-pr.cgi?pr=157397
> 
> The short summary (more info in the PR) is:
> 
> - limiting tags to 31 does not help
> 
> - disabling NCQ appears to help in initial testing, but warrants more
> testing
> 
> - error happens during WRITE_FPDMA_QUEUED,
> 
> - File system in question is SU+J UFS2 mounted on /usr, and I can for
> instance "rm -rf /usr/obj" or just log into GNOME and try to open a
> gnome-terminal to trigger stalls;
> 
> - Linux uses 31 tags (for different reason) and has no drive quirks, but
> a controller quirk;
> 
> for Jeremy's topic #6, regarding the ATI/AMD SB7x0 that I am using, it
> might be worthwhile investigating the AHCI_HFLAG_IGN_SERR_INTERNAL flag
> - it gets set by Linux on the SB700 that my computer is using, see
> ahci_error_intr() in libahci.h - I am not going to interpret that for
> lack of expertise, but it does affect error handling and appears to
> ignore a certain condition.
> 
> Why only my Samsung HDD drive triggers this but not the WD drive, I do
> not know yet.

I have had data corruption with Samsung drive and CAM connected to
an onboard intel AHCI.
The system was known good running with an older FreeBSD version and was
brought back into service for another use case with a fresh installation.
Regulary on major filesystem write activity we got random FS corruptions
and panics.
My assumption was broen NCQ firmware on the drive, but have nothing to
proof this assumtion.
We switched to old ata driver and lived with this until we replaced the
whole machine.
Don't know if the machine still exists somewhere.

-- 
B.Walter  http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: WORLDTMP on a ram disk

2013-04-20 Thread Kimmo Paasiala
On Sat, Apr 20, 2013 at 3:16 PM, Dimitry Andric  wrote:
> On Apr 20, 2013, at 11:55, Kimmo Paasiala  wrote:
>> Poking around the /usr/src/Makefile.inc1 I see that there's a variable
>> called "WORLDTMP" that seems to set the location for temporary files
>> during the world build. My question is now:
>>
>> Is it safe to put WORLDTMP on a ram disk, for example tmpfs(5)?
>>
>> Looking at the build process it seems to me that the temporary files
>> are no longer needed after make buildworld has finished?
>
>
> The problem is that you need those temporary files for installworld, and
> you must reboot with your new kernel before running that...
>

Well that was what I was after, I was somehow under the impression
that the files in WORLDTMP would be moved to more permanent location
under /usr/obj for installworld to find them.

-Kimmo
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: WORLDTMP on a ram disk

2013-04-20 Thread Dimitry Andric
On Apr 20, 2013, at 11:55, Kimmo Paasiala  wrote:
> Poking around the /usr/src/Makefile.inc1 I see that there's a variable
> called "WORLDTMP" that seems to set the location for temporary files
> during the world build. My question is now:
> 
> Is it safe to put WORLDTMP on a ram disk, for example tmpfs(5)?
> 
> Looking at the build process it seems to me that the temporary files
> are no longer needed after make buildworld has finished?


The problem is that you need those temporary files for installworld, and
you must reboot with your new kernel before running that...

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


[head tinderbox] failure on mips64/mips

2013-04-20 Thread FreeBSD Tinderbox
TB --- 2013-04-20 10:58:57 - tinderbox 2.10 running on freebsd-current.sentex.ca
TB --- 2013-04-20 10:58:57 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-04-20 10:58:57 - starting HEAD tinderbox run for mips64/mips
TB --- 2013-04-20 10:58:57 - cleaning the object tree
TB --- 2013-04-20 10:58:57 - /usr/local/bin/svn stat /src
TB --- 2013-04-20 10:59:00 - At svn revision 249665
TB --- 2013-04-20 10:59:01 - building world
TB --- 2013-04-20 10:59:01 - CROSS_BUILD_TESTING=YES
TB --- 2013-04-20 10:59:01 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-04-20 10:59:01 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-04-20 10:59:01 - SRCCONF=/dev/null
TB --- 2013-04-20 10:59:01 - TARGET=mips
TB --- 2013-04-20 10:59:01 - TARGET_ARCH=mips64
TB --- 2013-04-20 10:59:01 - TZ=UTC
TB --- 2013-04-20 10:59:01 - __MAKE_CONF=/dev/null
TB --- 2013-04-20 10:59:01 - cd /src
TB --- 2013-04-20 10:59:01 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Sat Apr 20 10:59:06 UTC 2013
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
>>> World build completed on Sat Apr 20 11:59:24 UTC 2013
TB --- 2013-04-20 11:59:24 - cd /src/sys/mips/conf
TB --- 2013-04-20 11:59:24 - /usr/sbin/config -m ADM5120
TB --- 2013-04-20 11:59:24 - skipping ADM5120 kernel
TB --- 2013-04-20 11:59:24 - cd /src/sys/mips/conf
TB --- 2013-04-20 11:59:24 - /usr/sbin/config -m ALCHEMY
TB --- 2013-04-20 11:59:24 - skipping ALCHEMY kernel
TB --- 2013-04-20 11:59:24 - cd /src/sys/mips/conf
TB --- 2013-04-20 11:59:24 - /usr/sbin/config -m AP121
TB --- 2013-04-20 11:59:24 - skipping AP121 kernel
TB --- 2013-04-20 11:59:24 - cd /src/sys/mips/conf
TB --- 2013-04-20 11:59:24 - /usr/sbin/config -m AP91
TB --- 2013-04-20 11:59:24 - skipping AP91 kernel
TB --- 2013-04-20 11:59:24 - cd /src/sys/mips/conf
TB --- 2013-04-20 11:59:24 - /usr/sbin/config -m AP93
TB --- 2013-04-20 11:59:24 - skipping AP93 kernel
TB --- 2013-04-20 11:59:24 - cd /src/sys/mips/conf
TB --- 2013-04-20 11:59:24 - /usr/sbin/config -m AP94
TB --- 2013-04-20 11:59:24 - skipping AP94 kernel
TB --- 2013-04-20 11:59:24 - cd /src/sys/mips/conf
TB --- 2013-04-20 11:59:24 - /usr/sbin/config -m AP96
TB --- 2013-04-20 11:59:24 - skipping AP96 kernel
TB --- 2013-04-20 11:59:24 - cd /src/sys/mips/conf
TB --- 2013-04-20 11:59:24 - /usr/sbin/config -m AR71XX_BASE
TB --- 2013-04-20 11:59:24 - skipping AR71XX_BASE kernel
TB --- 2013-04-20 11:59:24 - cd /src/sys/mips/conf
TB --- 2013-04-20 11:59:24 - /usr/sbin/config -m AR724X_BASE
TB --- 2013-04-20 11:59:24 - skipping AR724X_BASE kernel
TB --- 2013-04-20 11:59:24 - cd /src/sys/mips/conf
TB --- 2013-04-20 11:59:24 - /usr/sbin/config -m AR91XX_BASE
TB --- 2013-04-20 11:59:24 - skipping AR91XX_BASE kernel
TB --- 2013-04-20 11:59:24 - cd /src/sys/mips/conf
TB --- 2013-04-20 11:59:24 - /usr/sbin/config -m AR933X_BASE
TB --- 2013-04-20 11:59:24 - skipping AR933X_BASE kernel
TB --- 2013-04-20 11:59:24 - cd /src/sys/mips/conf
TB --- 2013-04-20 11:59:24 - /usr/sbin/config -m BERI_DE4_MDROOT
TB --- 2013-04-20 11:59:24 - building BERI_DE4_MDROOT kernel
TB --- 2013-04-20 11:59:24 - CROSS_BUILD_TESTING=YES
TB --- 2013-04-20 11:59:24 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-04-20 11:59:24 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-04-20 11:59:24 - SRCCONF=/dev/null
TB --- 2013-04-20 11:59:24 - TARGET=mips
TB --- 2013-04-20 11:59:24 - TARGET_ARCH=mips64
TB --- 2013-04-20 11:59:24 - TZ=UTC
TB --- 2013-04-20 11:59:24 - __MAKE_CONF=/dev/null
TB --- 2013-04-20 11:59:24 - cd /src
TB --- 2013-04-20 11:59:24 - /usr/bin/make -B buildkernel 
KERNCONF=BERI_DE4_MDROOT
>>> Kernel build for BERI_DE4_MDROOT started on Sat Apr 20 11:59:25 UTC 2013
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
>>> Kernel build for BERI_DE4_MDROOT completed on Sat Apr 20 12:01:47 UTC 2013
TB --- 2013-04-20 12:01:47 - cd /src/sys/mips/conf
TB --- 2013-04-20 12:01:47 - /usr/sbin/config -m BERI_DE4_SDROOT
TB --- 2013-04-20 12:01:47 - building BERI_DE4_SDROOT kernel
TB --- 2013-04-20 12:01:47 - CROSS_BUILD_TESTING=YES
TB --- 2013-04-20 12:01:47 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-04-20 12:01:47 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-04-20 12:01:47 - SRCCONF=/dev/null
TB --- 2013-04-20 12:01:47 - TARGET=mips
TB --- 2013-04-20 12:01:47 - TARGET_ARCH=mips64
TB --- 2013-04-20 12:01:47 - TZ=UTC
TB --- 2013-04-20 12:01:47 - __MAKE_CONF=/dev/nu

[head tinderbox] failure on mips/mips

2013-04-20 Thread FreeBSD Tinderbox
TB --- 2013-04-20 10:28:23 - tinderbox 2.10 running on freebsd-current.sentex.ca
TB --- 2013-04-20 10:28:23 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-04-20 10:28:23 - starting HEAD tinderbox run for mips/mips
TB --- 2013-04-20 10:28:23 - cleaning the object tree
TB --- 2013-04-20 10:28:23 - /usr/local/bin/svn stat /src
TB --- 2013-04-20 10:28:40 - At svn revision 249665
TB --- 2013-04-20 10:28:41 - building world
TB --- 2013-04-20 10:28:41 - CROSS_BUILD_TESTING=YES
TB --- 2013-04-20 10:28:41 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-04-20 10:28:41 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-04-20 10:28:41 - SRCCONF=/dev/null
TB --- 2013-04-20 10:28:41 - TARGET=mips
TB --- 2013-04-20 10:28:41 - TARGET_ARCH=mips
TB --- 2013-04-20 10:28:41 - TZ=UTC
TB --- 2013-04-20 10:28:41 - __MAKE_CONF=/dev/null
TB --- 2013-04-20 10:28:41 - cd /src
TB --- 2013-04-20 10:28:41 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Sat Apr 20 10:28:45 UTC 2013
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
>>> World build completed on Sat Apr 20 11:31:39 UTC 2013
TB --- 2013-04-20 11:31:39 - cd /src/sys/mips/conf
TB --- 2013-04-20 11:31:39 - /usr/sbin/config -m ADM5120
TB --- 2013-04-20 11:31:39 - skipping ADM5120 kernel
TB --- 2013-04-20 11:31:39 - cd /src/sys/mips/conf
TB --- 2013-04-20 11:31:39 - /usr/sbin/config -m ALCHEMY
TB --- 2013-04-20 11:31:39 - skipping ALCHEMY kernel
TB --- 2013-04-20 11:31:39 - cd /src/sys/mips/conf
TB --- 2013-04-20 11:31:39 - /usr/sbin/config -m AP121
TB --- 2013-04-20 11:31:39 - building AP121 kernel
TB --- 2013-04-20 11:31:39 - CROSS_BUILD_TESTING=YES
TB --- 2013-04-20 11:31:39 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-04-20 11:31:39 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-04-20 11:31:39 - SRCCONF=/dev/null
TB --- 2013-04-20 11:31:39 - TARGET=mips
TB --- 2013-04-20 11:31:39 - TARGET_ARCH=mips
TB --- 2013-04-20 11:31:39 - TZ=UTC
TB --- 2013-04-20 11:31:39 - __MAKE_CONF=/dev/null
TB --- 2013-04-20 11:31:39 - cd /src
TB --- 2013-04-20 11:31:39 - /usr/bin/make -B buildkernel KERNCONF=AP121
>>> Kernel build for AP121 started on Sat Apr 20 11:31:39 UTC 2013
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
>>> Kernel build for AP121 completed on Sat Apr 20 11:34:12 UTC 2013
TB --- 2013-04-20 11:34:12 - cd /src/sys/mips/conf
TB --- 2013-04-20 11:34:12 - /usr/sbin/config -m AP91
TB --- 2013-04-20 11:34:12 - building AP91 kernel
TB --- 2013-04-20 11:34:12 - CROSS_BUILD_TESTING=YES
TB --- 2013-04-20 11:34:12 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-04-20 11:34:12 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-04-20 11:34:12 - SRCCONF=/dev/null
TB --- 2013-04-20 11:34:12 - TARGET=mips
TB --- 2013-04-20 11:34:12 - TARGET_ARCH=mips
TB --- 2013-04-20 11:34:12 - TZ=UTC
TB --- 2013-04-20 11:34:12 - __MAKE_CONF=/dev/null
TB --- 2013-04-20 11:34:12 - cd /src
TB --- 2013-04-20 11:34:12 - /usr/bin/make -B buildkernel KERNCONF=AP91
>>> Kernel build for AP91 started on Sat Apr 20 11:34:12 UTC 2013
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
[...]
cc -O -pipe -G0 -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include /obj/mips.mips/src/sys/AP91/opt_global.h 
-I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 
--param large-function-growth=1000 -fno-common -g -G0 -fno-pic -mno-abicalls 
-mlong-calls -I/obj/mips.mips/src/sys/AP91  -msoft-float -ffreestanding 
-std=iso9899:1999 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef 
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option   -c /src/sys/modules/cam/../../cam/cam_sim.c
cc -O -pipe -G0 -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include /obj/mips.mips/src/sys/AP91/opt_global.h 
-I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 
--param large-function-growth=1000 -fno-common -g -G0 -fno-pic -mno-abicalls 
-mlong-calls -I/obj/mips.mips/src/sys/AP91  -msoft-float -ffreestanding 
-std=iso9899:1999 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-

[head tinderbox] failure on i386/pc98

2013-04-20 Thread FreeBSD Tinderbox
TB --- 2013-04-20 07:24:30 - tinderbox 2.10 running on freebsd-current.sentex.ca
TB --- 2013-04-20 07:24:30 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-04-20 07:24:30 - starting HEAD tinderbox run for i386/pc98
TB --- 2013-04-20 07:24:30 - cleaning the object tree
TB --- 2013-04-20 07:24:47 - /usr/local/bin/svn stat /src
TB --- 2013-04-20 07:25:14 - At svn revision 249665
TB --- 2013-04-20 07:25:15 - building world
TB --- 2013-04-20 07:25:15 - CROSS_BUILD_TESTING=YES
TB --- 2013-04-20 07:25:15 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-04-20 07:25:15 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-04-20 07:25:15 - SRCCONF=/dev/null
TB --- 2013-04-20 07:25:15 - TARGET=pc98
TB --- 2013-04-20 07:25:15 - TARGET_ARCH=i386
TB --- 2013-04-20 07:25:15 - TZ=UTC
TB --- 2013-04-20 07:25:15 - __MAKE_CONF=/dev/null
TB --- 2013-04-20 07:25:15 - cd /src
TB --- 2013-04-20 07:25:15 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Sat Apr 20 07:25:20 UTC 2013
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
>>> World build completed on Sat Apr 20 10:44:10 UTC 2013
TB --- 2013-04-20 10:44:10 - generating LINT kernel config
TB --- 2013-04-20 10:44:10 - cd /src/sys/pc98/conf
TB --- 2013-04-20 10:44:10 - /usr/bin/make -B LINT
TB --- 2013-04-20 10:44:10 - cd /src/sys/pc98/conf
TB --- 2013-04-20 10:44:10 - /usr/sbin/config -m LINT
TB --- 2013-04-20 10:44:10 - building LINT kernel
TB --- 2013-04-20 10:44:10 - CROSS_BUILD_TESTING=YES
TB --- 2013-04-20 10:44:10 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-04-20 10:44:10 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-04-20 10:44:10 - SRCCONF=/dev/null
TB --- 2013-04-20 10:44:10 - TARGET=pc98
TB --- 2013-04-20 10:44:10 - TARGET_ARCH=i386
TB --- 2013-04-20 10:44:10 - TZ=UTC
TB --- 2013-04-20 10:44:10 - __MAKE_CONF=/dev/null
TB --- 2013-04-20 10:44:10 - cd /src
TB --- 2013-04-20 10:44:10 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Sat Apr 20 10:44:10 UTC 2013
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
[...]
^~~~
./machine/bus.h:362:1: note: passing argument to parameter 'bsh' here
_BUS_SPACE_WRITE(u_int32_t,4)
^
./machine/bus.h:347:64: note: expanded from macro '_BUS_SPACE_WRITE'
bus_space_write_##BWN (bus_space_tag_t tag, bus_space_handle_t bsh, \
   ^
4 errors generated.
*** [uart_dev_lpc.o] Error code 1

Stop in /src/sys/modules/uart.
*** [all] Error code 1

Stop in /src/sys/modules.
*** [modules-all] Error code 1

Stop in /obj/pc98.i386/src/sys/LINT.
*** [buildkernel] Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2013-04-20 11:08:50 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2013-04-20 11:08:50 - ERROR: failed to build LINT kernel
TB --- 2013-04-20 11:08:50 - 10620.86 user 1557.84 system 13459.55 real


http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-i386-pc98.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


[head tinderbox] failure on ia64/ia64

2013-04-20 Thread FreeBSD Tinderbox
TB --- 2013-04-20 08:49:25 - tinderbox 2.10 running on freebsd-current.sentex.ca
TB --- 2013-04-20 08:49:25 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-04-20 08:49:25 - starting HEAD tinderbox run for ia64/ia64
TB --- 2013-04-20 08:49:25 - cleaning the object tree
TB --- 2013-04-20 08:49:25 - /usr/local/bin/svn stat /src
TB --- 2013-04-20 08:49:45 - At svn revision 249665
TB --- 2013-04-20 08:49:46 - building world
TB --- 2013-04-20 08:49:46 - CROSS_BUILD_TESTING=YES
TB --- 2013-04-20 08:49:46 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-04-20 08:49:46 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-04-20 08:49:46 - SRCCONF=/dev/null
TB --- 2013-04-20 08:49:46 - TARGET=ia64
TB --- 2013-04-20 08:49:46 - TARGET_ARCH=ia64
TB --- 2013-04-20 08:49:46 - TZ=UTC
TB --- 2013-04-20 08:49:46 - __MAKE_CONF=/dev/null
TB --- 2013-04-20 08:49:46 - cd /src
TB --- 2013-04-20 08:49:46 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Sat Apr 20 08:49:51 UTC 2013
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
>>> World build completed on Sat Apr 20 10:25:13 UTC 2013
TB --- 2013-04-20 10:25:13 - generating LINT kernel config
TB --- 2013-04-20 10:25:13 - cd /src/sys/ia64/conf
TB --- 2013-04-20 10:25:13 - /usr/bin/make -B LINT
TB --- 2013-04-20 10:25:13 - cd /src/sys/ia64/conf
TB --- 2013-04-20 10:25:13 - /usr/sbin/config -m LINT
TB --- 2013-04-20 10:25:13 - building LINT kernel
TB --- 2013-04-20 10:25:13 - CROSS_BUILD_TESTING=YES
TB --- 2013-04-20 10:25:13 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-04-20 10:25:13 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-04-20 10:25:13 - SRCCONF=/dev/null
TB --- 2013-04-20 10:25:13 - TARGET=ia64
TB --- 2013-04-20 10:25:13 - TARGET_ARCH=ia64
TB --- 2013-04-20 10:25:13 - TZ=UTC
TB --- 2013-04-20 10:25:13 - __MAKE_CONF=/dev/null
TB --- 2013-04-20 10:25:13 - cd /src
TB --- 2013-04-20 10:25:13 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Sat Apr 20 10:25:13 UTC 2013
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
[...]
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 
-mfixed-range=f32-f127 -fpic -ffreestanding -Werror  /src/sys/cam/ata/ata_pmp.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 
-mfixed-range=f32-f127 -fpic -ffreestanding -Werror  
/src/sys/cam/scsi/scsi_xpt.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 
-mfixed-range=f32-f127 -fpic -ffreestanding -Werror  
/src/sys/cam/scsi/scsi_all.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL 
-DHAVE_KERNEL

WORLDTMP on a ram disk

2013-04-20 Thread Kimmo Paasiala
Poking around the /usr/src/Makefile.inc1 I see that there's a variable
called "WORLDTMP" that seems to set the location for temporary files
during the world build. My question is now:

Is it safe to put WORLDTMP on a ram disk, for example tmpfs(5)?

Looking at the build process it seems to me that the temporary files
are no longer needed after make buildworld has finished?

-Kimmo
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: My incremental buildworlds started failing

2013-04-20 Thread Tijl Coosemans
On 2013-04-20 04:47, Bjoern A. Zeeb wrote:
> On Tue, 16 Apr 2013, Tijl Coosemans wrote:
> 
>> On 2013-04-16 18:39, Dimitry Andric wrote:
>>> On Apr 16, 2013, at 18:08, Bjoern A. Zeeb wrote:
 I have been seeing this on incremental buildworlds for a day or two now?
 ANyone can throw the cluebat at me?
>>
>> If that means building with NO_CLEAN=yes then the problem is r249484.
>> It creates a symlink: ln -fs ../include ${DESTDIR}/usr/lib/include
>> But if ${DESTDIR}/usr/lib/include already exists it creates
>> ${DESTDIR}/usr/include/include -> ../include.
>>
>> I'm thinking of reverting that commit.
>>
 ===> rescue/rescue/routed/rtquery (depend)
 {standard input}: Assembler messages:
 {standard input}:2: Warning: unterminated string; newline inserted
 {standard input}:3: Warning: unterminated string; newline inserted
 ===> kerberos5/usr.bin/kcc (all)
 In file included from 
 /scratch/tmp/bz/head.svn/sbin/rtsol/../../usr.sbin/rtsold/rtsol.c:51:
 /storage/head/obj//sparc64.sparc64/scratch/tmp/bz/head.svn/tmp/usr/include/netinet6/ip6_var.h:245:
  error: 'IP6S_MAXRULES' undeclared here (not in a function)
 *** [rtsol.o] Error code 1
 1 error
 *** [rtsol_make] Error code 2
 1 error
>>>
>>>
>>> Probably http://svnweb.freebsd.org/changeset/base/249543
>>
>> This has been fixed in r249552 now.
> 
> 
> But if the problem is there once and you never remove your obj
> directory it's not really gone even with a full (no NOCLEAN) rebuild,
> right?  SO time to kill the obj directory...

You should be ok if you delete tmp/usr/include/include in obj directory.



signature.asc
Description: OpenPGP digital signature


CURRENT: extremely unresponsive disk I/O

2013-04-20 Thread O. Hartmann
Since a couple of weeks now, FreeBSD 10.0-CURRENT is really unresponsive
when managing high disk I/O.

This is most noticeable when starting the buildworld process, hwen clang
3.3 starts to build the llvm backend libraries and doing some sort of
portmaster/portupgrade in parallel: even a "make rmconfig config" takes
aprox. a minute to show up.

Is there a known issue at this moment? I can not see such a behaviour on
FreeBSD 9.1-STABLE (similar hardware).

Oliver


signature.asc
Description: This is a digitally signed message part