[releng_9 tinderbox] failure on ia64/ia64

2012-04-18 Thread FreeBSD Tinderbox
TB --- 2012-04-18 18:44:01 - tinderbox 2.9 running on freebsd-stable.sentex.ca
TB --- 2012-04-18 18:44:01 - FreeBSD freebsd-stable.sentex.ca 8.2-STABLE 
FreeBSD 8.2-STABLE #4: Wed Sep 28 13:48:49 UTC 2011 
mdtan...@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/server  amd64
TB --- 2012-04-18 18:44:01 - starting RELENG_9 tinderbox run for ia64/ia64
TB --- 2012-04-18 18:44:01 - cleaning the object tree
TB --- 2012-04-18 18:44:01 - cvsupping the source tree
TB --- 2012-04-18 18:44:01 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/RELENG_9/ia64/ia64/supfile
TB --- 2012-04-18 18:45:14 - building world
TB --- 2012-04-18 18:45:14 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-18 18:45:14 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-18 18:45:14 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-18 18:45:14 - SRCCONF=/dev/null
TB --- 2012-04-18 18:45:14 - TARGET=ia64
TB --- 2012-04-18 18:45:14 - TARGET_ARCH=ia64
TB --- 2012-04-18 18:45:14 - TZ=UTC
TB --- 2012-04-18 18:45:14 - __MAKE_CONF=/dev/null
TB --- 2012-04-18 18:45:14 - cd /src
TB --- 2012-04-18 18:45:14 - /usr/bin/make -B buildworld
>>> World build started on Wed Apr 18 18:45:15 UTC 2012
>>> 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
[...]
gzip -cn /src/usr.sbin/mergemaster/mergemaster.8 > mergemaster.8.gz
===> usr.sbin/mfiutil (all)
cc -O2 -pipe  -fno-builtin-strftime -std=gnu99 -Wsystem-headers -Werror -Wall 
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -c 
/src/usr.sbin/mfiutil/mfiutil.c
cc -O2 -pipe  -fno-builtin-strftime -std=gnu99 -Wsystem-headers -Werror -Wall 
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -c 
/src/usr.sbin/mfiutil/mfi_cmd.c
cc -O2 -pipe  -fno-builtin-strftime -std=gnu99 -Wsystem-headers -Werror -Wall 
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -c 
/src/usr.sbin/mfiutil/mfi_config.c
cc1: warnings being treated as errors
/src/usr.sbin/mfiutil/mfi_config.c: In function 'parse_array':
/src/usr.sbin/mfiutil/mfi_config.c:307: warning: comparison is always true due 
to limited range of data type
*** Error code 1

Stop in /src/usr.sbin/mfiutil.
*** Error code 1

Stop in /src/usr.sbin.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2012-04-18 20:26:53 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2012-04-18 20:26:53 - ERROR: failed to build world
TB --- 2012-04-18 20:26:53 - 4069.87 user 649.61 system 6172.87 real


http://tinderbox.freebsd.org/tinderbox-releng_9-RELENG_9-ia64-ia64.full
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


RE: FreeBSD 8.3-R sysinstall does not "see" disks that are recognized during boot

2012-04-18 Thread Andy Dills

On Wed, 18 Apr 2012, Harris, James R wrote:
> 
> Andy and I worked this out offline - workaround was to go to 
> Options|Re-scan which caused the devices to show up in the sysinstall 
> menu.  I'm adding details here for future reference.
> 
> 1) C60x chipsets have the 6 traditional SATA ports, plus 4 or 8 SAS 
> ports.  Only the latter are controlled by the isci(4) driver.
> 2) The IDE/AHCI/RAID modes apply only to the traditional SATA ports.
> 3) In Andy's case, going to Options|Re-scan Devices caused the disks to 
> show up.  This problem seems to be system or platform-dependent, as I 
> was not able to reproduce with 8.3 memstick image on my C600 systems.
> 4) There was a problem with initial device scan using isci(4) on 
> 7-STABLE, which necessitated r233371.  This was MFC'd back to 8-STABLE, 
> but after 8.3 was released.  I'm fairly convinced this is the root cause 
> of Andy's problem, but don't have any easy way to verify.

First, I want to thank James and the other responders for help getting me 
squared away.

Something that may be of specific use for others (James has covered the 
most relevant points...at blazing speed, what an asset to the community), 
is that the isci support in 8.3-R will now enable FreeBSD compatibility 
with most of the new Supermicro server platforms. 

And a new lesson was learnedfirst thing to try when sysinstall fails 
to recognize hardware is to re-scan devices. Never needed that across 
thousands of installs (dating to 2.2.8), and didn't even know it existed.

Andy

---
Andy Dills
Xecunet, Inc.
www.xecu.net
301-682-9972
---
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


RE: FreeBSD 8.3-R sysinstall does not "see" disks that are recognized during boot

2012-04-18 Thread Harris, James R

>-- Forwarded message --
>Date: Tue, 17 Apr 2012 18:02:31 -0400 (EDT)
>From: Andy Dills 
>To: freebsd-stable@freebsd.org
>Subject: FreeBSD 8.3-R sysinstall does not "see" disks that are recognized
>during boot
>
>
>I've got a new supermicro server I'm trying to get FreeBSD on. It uses the
>Intel c602 chipset, and it's my understanding that support for that
>chipset (c60X) was recently added via the isci driver. Ok, great, that
>explains why 8.2-R and 9.0-R didn't see the drives.
>
>So, I grabbed the memstick image of 8.3-RELEASE that is on the ftp server,
>booted it up, and sure enough, as the dmesg scrolls I see it now properly
>recognizes da0 and da1, as it should (the memstick is da2). It sees the
>disks fine at this point, everything looks good.
>
>However, once the system finishes booting and loads into sysinstall, and I
>go to partition the drives, I get "No disks found! Please verify that your
>disk controller is being properly loaded at boot time".
>
>Any suggestions for avenues to troubleshoot this?  I have pictures to
>document if it helps.
>
>Seems very odd. I confirmed the behavior with the SATA set to IDE, AHCI,
>and RAID modes. (The drives were recognized as da0 and da1 during bootup
>in all three modes, but not by sysinstall.)

Andy and I worked this out offline - workaround was to go to Options|Re-scan 
which caused the devices to show up in the sysinstall menu.  I'm adding details 
here for future reference.

1) C60x chipsets have the 6 traditional SATA ports, plus 4 or 8 SAS ports.  
Only the latter are controlled by the isci(4) driver.
2) The IDE/AHCI/RAID modes apply only to the traditional SATA ports.
3) In Andy's case, going to Options|Re-scan Devices caused the disks to show 
up.  This problem seems to be system or platform-dependent, as I was not able 
to reproduce with 8.3 memstick image on my C600 systems.
4) There was a problem with initial device scan using isci(4) on 7-STABLE, 
which necessitated r233371.  This was MFC'd back to 8-STABLE, but after 8.3 was 
released.  I'm fairly convinced this is the root cause of Andy's problem, but 
don't have any easy way to verify.


>Thanks,
>Andy
>
>---
>Andy Dills
>Xecunet, Inc.
>www.xecu.net
>301-682-9972
>---
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: kernel panic while detecting cpu in FreeBSD 9

2012-04-18 Thread Konstantin Belousov
On Wed, Apr 18, 2012 at 12:24:17AM -0400, Chad C wrote:
> Updated the mainboard UEFI to latest version but am still getting the 
> same kernel page fault.
> 
> I compiled "options DDB" and "options GDB" into the generic kernel.  
> After rebooting and entering DDB I get the following from various commands:
> 
> On bootup I am now getting the following:
> 
> real memory = 8589934592 (8192 MB)
> avail memory = 8198332416 (7818 MB)
> Event timer "LAPIC" quality 600
> ACPI APIC Table: 
> panic: AP #2 (PHY# 4) failed!
> cpuid = 0
> KDB: stack backtrace:
> db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
> kdb_backtrace() at KDB_backtrace+0x37
> panic() at panic+0x187
> cpu_mp_start() at cpu_mp_start+0x589
> mp_start() at mp_start+0x85
> mi_startup() at mi_startup+0x77
> btext() at btext+0x2c
> KDB: enter: panic
> [ thread pid 0 tid 0 ]
> Stopped atkdb_enter+0x3b: movq$0,0x905dc2(%rip)
> db>

So your other core failed to start. You might try a lack posting exact
model/bios version of the machine and mainboard.

But indeed, this is most often BIOS bugs. Sometimes in the strange areas
like USB, e.g. SMI handler for emulating legacy PS/2 keyboard. As a shot
in the dark, try to fiddle with this setting.


pgpkNyhmBXRh6.pgp
Description: PGP signature


pcre-related problem to compile HipHop in FreeBSD9-RELEASE

2012-04-18 Thread Zenny
Hi:

I am having problem while trying to compile HipHop similar to what has
been discussed here
(https://github.com/facebook/hiphop-php/issues/480#pull_comment_form)

My environments are:

setenv CC /usr/local/bin/gcc44
setenv CXX /usr/local/bin/g++44
setenv HPHP_HOME `pwd`
setenv HPHP_LIB `pwd`/bin
setenv CMAKE_PREFIX_PATH `pwd`/../libs

and I got the following pcre-related errors, when checked the lines
specified in the error it seems to be associated with pcre flushing
cache. Summary of error is:

[ 15%] Building CXX object
src/CMakeFiles/hphp_runtime_static.dir/runtime/base/preg.cpp.o
/root/hhbuild/hiphop-php/src/runtime/base/preg.cpp: In function
'HPHP::pcre_cache_entry* HPHP::pcre_get_compiled_regex_cache(const
HPHP::String&)':
/root/hhbuild/hiphop-php/src/runtime/base/preg.cpp:138: error:
'pcre_info' was not declared in this scope
*** Error code 1

I checked the specific line 138 which reads like:

if (pcre_info(pce->re, NULL, NULL) == PCRE_ERROR_BADMAGIC) {
  pcre_cache.cleanup();

Any hints? Could not figure out whether it is FreeBSD9-, pcre- or
HipHop-related?
Thanks!

/z

The entire make output is as of below:

# make
Scanning dependencies of target xhp
[  0%] Building CXX object
src/third_party/xhp/xhp/CMakeFiles/xhp.dir/code_rope.cpp.o
[  0%] Building CXX object
src/third_party/xhp/xhp/CMakeFiles/xhp.dir/xhp_preprocess.cpp.o
[  0%] Building CXX object
src/third_party/xhp/xhp/CMakeFiles/xhp.dir/xhpize.cpp.o
[  0%] Building CXX object
src/third_party/xhp/xhp/CMakeFiles/xhp.dir/fastpath.cpp.o
[  0%] Building CXX object
src/third_party/xhp/xhp/CMakeFiles/xhp.dir/parser.yacc.cpp.o
[  1%] Building CXX object
src/third_party/xhp/xhp/CMakeFiles/xhp.dir/scanner.lex.cpp.o
scanner.lex.cpp: In function 'yy_state_type
yy_try_NUL_trans(yy_state_type, void*)':
scanner.lex.cpp:9714: warning: unused variable 'yyg'
Linking CXX static library ../../../../bin/libxhp.a
[  1%] Built target xhp
Scanning dependencies of target afdt
[  1%] Building C object
src/third_party/libafdt/CMakeFiles/afdt.dir/src/lowlevel.c.o
[  1%] Building C object
src/third_party/libafdt/CMakeFiles/afdt.dir/src/strlcpy.c.o
[  1%] Building C object
src/third_party/libafdt/CMakeFiles/afdt.dir/src/sync.c.o
[  1%] Building C object
src/third_party/libafdt/CMakeFiles/afdt.dir/src/util.c.o
[  1%] Building C object
src/third_party/libafdt/CMakeFiles/afdt.dir/src/async.c.o
Linking C static library ../../../bin/libafdt.a
[  1%] Built target afdt
Scanning dependencies of target mbfl
[  2%] Building C object
src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/mbfilter.c.o
[  2%] Building C object
src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/mbfl_string.c.o
[  2%] Building C object
src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/mbfl_language.c.o
[  2%] Building C object
src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/mbfl_encoding.c.o
[  2%] Building C object
src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/mbfl_convert.c.o
[  2%] Building C object
src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/mbfl_ident.c.o
[  2%] Building C object
src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/mbfl_memory_device.c.o
[  3%] Building C object
src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/mbfl_allocators.c.o
[  3%] Building C object
src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/mbfl_filter_output.c.o
[  3%] Building C object
src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/mbfilter_pass.c.o
[  3%] Building C object
src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/mbfilter_wchar.c.o
[  3%] Building C object
src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/mbfilter_8bit.c.o
[  3%] Building C object
src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_cp936.c.o
[  3%] Building C object
src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_hz.c.o
[  4%] Building C object
src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_euc_tw.c.o
[  4%] Building C object
src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_big5.c.o
[  4%] Building C object
src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_euc_jp.c.o
[  4%] Building C object
src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_jis.c.o
[  4%] Building C object
src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_iso8859_1.c.o
[  4%] Building C object
src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_iso8859_2.c.o
[  4%] Building C object
src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_cp1254.c.o
[  5%] Building C object
src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_cp1252.c.o
[  5%] Building C object
src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_cp1251.c.o
[  5%] Building C object
src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_ascii.c.o
[  5%] Building C object
src/third_party/libmbfl/mbfl/CMakeFiles/mbfl.dir/__/filters/mbfilter_iso8859_3.c.o
[  5%] Building C object
src/third_party/libmbf

Re: FreeBSD 8.3-R sysinstall does not "see" disks that are recognized during boot

2012-04-18 Thread Daniel O'Connor

On 18/04/2012, at 7:32, Andy Dills wrote:
> I've got a new supermicro server I'm trying to get FreeBSD on. It uses the 
> Intel c602 chipset, and it's my understanding that support for that 
> chipset (c60X) was recently added via the isci driver. Ok, great, that 
> explains why 8.2-R and 9.0-R didn't see the drives.
> 
> So, I grabbed the memstick image of 8.3-RELEASE that is on the ftp server, 
> booted it up, and sure enough, as the dmesg scrolls I see it now properly 
> recognizes da0 and da1, as it should (the memstick is da2). It sees the 
> disks fine at this point, everything looks good.
> 
> However, once the system finishes booting and loads into sysinstall, and I 
> go to partition the drives, I get "No disks found! Please verify that your 
> disk controller is being properly loaded at boot time".
> 
> Any suggestions for avenues to troubleshoot this?  I have pictures to 
> document if it helps.
> 
> Seems very odd. I confirmed the behavior with the SATA set to IDE, AHCI, 
> and RAID modes. (The drives were recognized as da0 and da1 during bootup 
> in all three modes, but not by sysinstall.)


That does seem very odd - if they appear as daX then sysinstall should see them.

Can you go into the holographic shell (or livecd if you have it) and run..
echo /dev/da*
echo >/dev/da0
echo >/dev/da1

(this will trash the first sector of da0 and da1 but I assume that's OK since 
you're installing on those).

If you could obtain a KLD for isci built for 9.0 you could load it in the 
loader and see if that installer sees it, you might not have the facilities for 
that though..

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C






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