Re: Boot loader too large

2014-07-04 Thread Alie Tan
On Fri, Jul 4, 2014 at 5:57 PM, Alie Tan a...@afflemedialab.com wrote:

 Hi,

 I am getting Boot loader too large message while using
 FreeBSD-11.0-CURRENT-i386-20140701-r268111-disc1.iso

 Is there any way to solve this issue?

Strange, resizing the freebsd-boot to 128k solved my issue. why default
slice size making such issue?


 Thanks in advance

___
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


Boot loader too large

2014-07-04 Thread Alie Tan
Hi,

I am getting Boot loader too large message while using
FreeBSD-11.0-CURRENT-i386-20140701-r268111-disc1.iso

Is there any way to solve this issue?

Thanks in advance
___
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


USB gadget examples

2013-07-22 Thread Alie Tan
Hi,

May I know what is this USB gadget examples for?
http://svnweb.freebsd.org/base?view=revisionrevision=253544
http://svnweb.freebsd.org/base?view=revisionrevision=253546

Regards,
Alie T
___
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: kernel compile broken in latest HEAD

2013-07-09 Thread Alie Tan
On Tue, Jul 9, 2013 at 11:32 PM, Gary Jennejohn
gljennj...@googlemail.comwrote:

 I just saw this breakage while compiling a kernel on HEAD updated
 minutes ago:

 --
  stage 3.2: building everything
 --
 cc1: warnings being treated as errors

Try declare below lines to your /etc/src.conf as workaround
NO_WERROR=
WERROR=


 In file included from
 /usr/src/sys/modules/linux/../../compat/linux/linux_ioctl.c:91:
 @/contrib/v4l/videodev2.h:430: warning: declaration does not declare
 anything
 @/contrib/v4l/videodev2.h:460: warning: declaration does not declare
 anything
 @/contrib/v4l/videodev2.h:837: warning: declaration does not declare
 anything
 @/contrib/v4l/videodev2.h:930: warning: declaration does not declare
 anything
 @/contrib/v4l/videodev2.h:1478: warning: declaration does not declare
 anything
 @/contrib/v4l/videodev2.h:1600: warning: declaration does not declare
 anything
 @/contrib/v4l/videodev2.h:1651: warning: declaration does not declare
 anything
 --- linux_ioctl.o ---
 *** [linux_ioctl.o] Error code 1

 make: stopped in /usr/src/sys/modules/linux
 1 error

 These line numbers all point at nameless unions.

 Seems to me that a union needs a name, otherwise one cannot
 access its contents.

 I simply named them all x to get the kernel to compile, which
 succeeded.

 It seems that none of these unions are used at the moment.

 --
 Gary Jennejohn
 ___
 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

___
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: -HEAD has (what seems to be) working AR933x SoC support; Carambola 2 board now works!

2013-06-26 Thread Alie Tan
On Wed, Jun 26, 2013 at 2:08 PM, Adrian Chadd adr...@freebsd.org wrote:

 Hi,

 I've finally brought up wifi on the Carambola 2 board.

 It's an AR9330 SoC with 10/100 ethernet, 64MB RAM, 16MB flash, 1x1
 2GHz 11n wifi. It's perfect for embedding into projects to wifi enable
 them. It should also make for an awesome cheap 802.11s device.

Awesome stuff Adrian!

How is FreeBSD performance on Carambola2?

What do you have btw, is it Cambola2 soldered version?


 The details and instructions are here:

 http://code.google.com/p/freebsd-wifi-build/wiki/Carambola2

 Seriously cool stuff.

 It turns out that bringing up the QCA HAL was really easy on this
 board - the support is already there! I just needed to hack at the AHB
 bus glue that I wrote and make sure that the QCA HAL flash EEPROM code
 understood what I was doing. Woot!



 Adrian
 ___
 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

___
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: Compilation issue due to 251982

2013-06-21 Thread Alie Tan
Hi,

Anyone got idea how to fix this compilation issue?

Regards,
Alie T


On Wed, Jun 19, 2013 at 12:08 PM, Alie Tan a...@affle.com wrote:

 http://freshbsd.org/commit/freebsd/r251982

 === usr.bin (cleandir)
 Makefile, line 370: Malformed conditional (${MK_SVN} == yes ||
 ${MK_SVNLITE} == yes)
 Makefile, line 373: if-less endif
 make: fatal errors encountered -- cannot continue
 *** [usr.bin.cleandir__D] Error code 1

 Stop in /usr/src.
 *** [_cleanobj] Error code 1

 Stop in /usr/src.
 *** [kernel-toolchain] Error code 1

 Stop in /usr/src.


___
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: [head tinderbox] failure on arm/arm

2013-06-18 Thread Alie Tan
This revision causing the issue
http://freshbsd.org/commit/freebsd/r251856

I have to revert the revision to solve the issue


On Tue, Jun 18, 2013 at 10:23 AM, FreeBSD Tinderbox
tinder...@freebsd.orgwrote:

 TB --- 2013-06-17 22:50:17 - tinderbox 2.10 running on
 freebsd-current.sentex.ca
 TB --- 2013-06-17 22:50:17 - FreeBSD freebsd-current.sentex.ca8.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-06-17 22:50:17 - starting HEAD tinderbox run for arm/arm
 TB --- 2013-06-17 22:50:17 - cleaning the object tree
 TB --- 2013-06-17 22:50:17 - /usr/local/bin/svn stat /src
 TB --- 2013-06-17 22:50:22 - At svn revision 251871
 TB --- 2013-06-17 22:50:23 - building world
 TB --- 2013-06-17 22:50:23 - CROSS_BUILD_TESTING=YES
 TB --- 2013-06-17 22:50:23 - MAKEOBJDIRPREFIX=/obj
 TB --- 2013-06-17 22:50:23 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2013-06-17 22:50:23 - SRCCONF=/dev/null
 TB --- 2013-06-17 22:50:23 - TARGET=arm
 TB --- 2013-06-17 22:50:23 - TARGET_ARCH=arm
 TB --- 2013-06-17 22:50:23 - TZ=UTC
 TB --- 2013-06-17 22:50:23 - __MAKE_CONF=/dev/null
 TB --- 2013-06-17 22:50:23 - cd /src
 TB --- 2013-06-17 22:50:23 - /usr/bin/make -B buildworld
  Building an up-to-date make(1)
  World build started on Mon Jun 17 22:50:29 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 Tue Jun 18 01:50:36 UTC 2013
 TB --- 2013-06-18 01:50:36 - generating LINT kernel config
 TB --- 2013-06-18 01:50:36 - cd /src/sys/arm/conf
 TB --- 2013-06-18 01:50:36 - /usr/bin/make -B LINT
 TB --- 2013-06-18 01:50:36 - cd /src/sys/arm/conf
 TB --- 2013-06-18 01:50:36 - /usr/sbin/config -m LINT
 TB --- 2013-06-18 01:50:36 - building LINT kernel
 TB --- 2013-06-18 01:50:36 - CROSS_BUILD_TESTING=YES
 TB --- 2013-06-18 01:50:36 - MAKEOBJDIRPREFIX=/obj
 TB --- 2013-06-18 01:50:36 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2013-06-18 01:50:36 - SRCCONF=/dev/null
 TB --- 2013-06-18 01:50:36 - TARGET=arm
 TB --- 2013-06-18 01:50:36 - TARGET_ARCH=arm
 TB --- 2013-06-18 01:50:36 - TZ=UTC
 TB --- 2013-06-18 01:50:36 - __MAKE_CONF=/dev/null
 TB --- 2013-06-18 01:50:36 - cd /src
 TB --- 2013-06-18 01:50:36 - /usr/bin/make -B buildkernel KERNCONF=LINT
  Kernel build for LINT started on Tue Jun 18 01:50:36 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 LINT completed on Tue Jun 18 02:13:19 UTC 2013
 TB --- 2013-06-18 02:13:19 - cd /src/sys/arm/conf
 TB --- 2013-06-18 02:13:19 - /usr/sbin/config -m AC100
 TB --- 2013-06-18 02:13:19 - skipping AC100 kernel
 TB --- 2013-06-18 02:13:19 - cd /src/sys/arm/conf
 TB --- 2013-06-18 02:13:19 - /usr/sbin/config -m ARMADAXP
 TB --- 2013-06-18 02:13:19 - skipping ARMADAXP kernel
 TB --- 2013-06-18 02:13:19 - cd /src/sys/arm/conf
 TB --- 2013-06-18 02:13:19 - /usr/sbin/config -m ATMEL
 TB --- 2013-06-18 02:13:19 - building ATMEL kernel
 TB --- 2013-06-18 02:13:19 - CROSS_BUILD_TESTING=YES
 TB --- 2013-06-18 02:13:19 - MAKEOBJDIRPREFIX=/obj
 TB --- 2013-06-18 02:13:19 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2013-06-18 02:13:19 - SRCCONF=/dev/null
 TB --- 2013-06-18 02:13:19 - TARGET=arm
 TB --- 2013-06-18 02:13:19 - TARGET_ARCH=arm
 TB --- 2013-06-18 02:13:19 - TZ=UTC
 TB --- 2013-06-18 02:13:19 - __MAKE_CONF=/dev/null
 TB --- 2013-06-18 02:13:19 - cd /src
 TB --- 2013-06-18 02:13:19 - /usr/bin/make -B buildkernel KERNCONF=ATMEL
  Kernel build for ATMEL started on Tue Jun 18 02:13:20 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 ATMEL completed on Tue Jun 18 02:17:02 UTC 2013
 TB --- 2013-06-18 02:17:02 - cd /src/sys/arm/conf
 TB --- 2013-06-18 02:17:02 - /usr/sbin/config -m AVILA
 TB --- 2013-06-18 02:17:02 - skipping AVILA kernel
 TB --- 2013-06-18 02:17:02 - cd /src/sys/arm/conf
 TB --- 2013-06-18 02:17:02 - /usr/sbin/config -m BEAGLEBONE
 TB --- 2013-06-18 02:17:02 - skipping BEAGLEBONE kernel
 TB --- 2013-06-18 02:17:02 - cd /src/sys/arm/conf
 TB --- 2013-06-18 02:17:02 - /usr/sbin/config -m BWCT
 TB --- 2013-06-18 02:17:02 - building BWCT kernel
 TB --- 2013-06-18 02:17:02 - CROSS_BUILD_TESTING=YES
 TB --- 2013-06-18 02:17:02 - MAKEOBJDIRPREFIX=/obj
 TB --- 2013-06-18 02:17:02 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2013-06-18 02:17:02 - SRCCONF=/dev/null
 TB --- 2013-06-18 

Compilation issue due to 251982

2013-06-18 Thread Alie Tan
http://freshbsd.org/commit/freebsd/r251982

=== usr.bin (cleandir)
Makefile, line 370: Malformed conditional (${MK_SVN} == yes ||
${MK_SVNLITE} == yes)
Makefile, line 373: if-less endif
make: fatal errors encountered -- cannot continue
*** [usr.bin.cleandir__D] Error code 1

Stop in /usr/src.
*** [_cleanobj] Error code 1

Stop in /usr/src.
*** [kernel-toolchain] Error code 1

Stop in /usr/src.
___
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


Missing compile_et and kerberos breaks buildworld

2013-01-29 Thread Alie Tan
Hi,

Is there any way to fix this issue?

This issue happens when I compile world without KRB then re-enable again
for second compilation.

I have to disable KRB with WITHOUT_KERBEROS=yes for me to compile the world
:-(

Regards,
Alie T
___
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


Compilation error (pkgng)

2013-01-23 Thread Alie Tan
Seems this check-in causing compilation error:

http://freshbsd.org/commit/freebsd/r245828

-nonliteral -c /usr/src/usr.sbin/pkg_install/lib/pkgng.c -o pkgng.o
/usr/src/usr.sbin/pkg_install/lib/pkgng.c:53:45: error: expected ')'
rc = snprintf(pkgngpath, sizeof(pkgngpath) %s/local.sqlite,
pkgngdir);
   ^
/usr/src/usr.sbin/pkg_install/lib/pkgng.c:53:15: note: to match this '('
rc = snprintf(pkgngpath, sizeof(pkgngpath) %s/local.sqlite,
pkgngdir);
 ^
/usr/src/usr.sbin/pkg_install/lib/pkgng.c:54:9: warning: comparison of
integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
if (rc = sizeof(pkgngpath)) {
~~ ^  ~
1 warning and 1 error generated.
*** [pkgng.o] Error code 1

Stop in /usr/src/usr.sbin/pkg_install/lib.
*** [all] Error code 1

Stop in /usr/src/usr.sbin/pkg_install.
*** [all] Error code 1

Stop in /usr/src/usr.sbin.
*** [usr.sbin.all__D] Error code 1

Stop in /usr/src.
*** [everything] Error code 1

Stop in /usr/src.
*** [buildworld] Error code 1

Stop in /usr/src.
___
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: Compile FreeBSD kernel with gcc48

2012-11-14 Thread Alie Tan

 On 2012-11-11 10:59, Alie Tan wrote:
  Anyone have experience compiling FreeBSD kernel with gcc48
 
  I have tried it but no success with this in src.conf
 
  C= /usr/local/bin/gcc48
  CXX= /usr/local/bin/g++48
  CWARNFLAGS= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
  \-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
  \-Wno-pointer-sign -D__FreeBSD_cc_version=0 \-Wno-unused-function
  -Wno-inline -Wno-format \-Wno-uninitialized -Wno-array-bounds
  -Wno-missing-prototypes
  NO_WERROR= 1

 Last time I tried, I could get it to build with a gcc 4.8 snapshot, but
 it failed to boot.  I did not investigate a great deal, but it looked a
 lot like some sort of optimization bug.  Note that gcc 4.8 is still
 experimental, so problems like this can be expected.

 However, with gcc 4.7.1, which is a released version, the kernel did
 build, and even boot.  With that kernel booted, I timed how long a make
 -j8 buildworld took, compared to booting with kernels compiled by gcc
 in base (v4.2.1) and clang in base (v3.2), on different optimization
 settings.  The raw results are here:

 http://www.andric.com/freebsd/perftest/perftest-kernel-2012-09-25b.txt

 Summary:
 - Kernels compiled with clang 3.2 at -O2 are ~8% faster in system time
than kernels compiled with gcc 4.2.1 at -O2.
 - Kernels compiled with clang 3.2 at -O2 perform equally to kernels
compiled with gcc 4.7 at -O2, there is no significant difference.
 - Kernels compiled with gcc 4.7 at -O3 have a slight advantage in system
time (~3.6%) against kernels compiled with clang 3.2 at -O2.
 (I did not test a kernel compiled with clang 3.2 at -O3.)


  Another question, is there any benchmark for LLVM/Clang vs gcc45, gcc46,
  gcc47 or gcc48?

 As said, I only tested clang 3.2 against gcc 4.2 from base, and gcc
 4.7.1 (hand-built, since the version from ports is inexplicably some
 random snapshot, not a released version).

 If anybody is extremely interested in more results, they should sponsor
 some fast hardware, and donate it to the FreeBSD Project. ;-)



No idea why since there is no compilation error. It stops at this point:

/usr/local/bin/gcc48  -O2 -pipe  -O3 -fno-strict-aliasing -pipe
-funroll-loops -I/usr/src/lib/libc/include
-I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/amd64 -DNLS
-D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6
-I/usr/obj/usr/src/lib/libc -I/usr/src/lib/libc/resolv -D_ACL_PRIVATE
-DPOSIX_MISTAKE -I/usr/src/lib/libc/../../contrib/tzcode/stdtime
-I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -DBROKEN_DES
-DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING
-DSYMBOL_VERSIONING -std=gnu99 -fstack-protector -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual -Wno-pointer-sign -D__FreeBSD_cc_version=81
-Wno-unused-function -Wno-inline -Wsystem-headers -Wall -Wno-format-y2k
-Wno-uninitialized -Wno-pointer-sign -c nslexer.c -o nslexer.o
In file included from /usr/src/lib/libc/net/nslexer.l:49:0:
/usr/src/lib/libc/../../include/nsswitch.h:236:14: warning: redundant
redeclaration of '_nsyylineno' [-Wredundant-decls]
 extern int   _nsyylineno;


And waited for couple of hours still hanging at that point with gcc48


Regards,
Alie T
___
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


Compile FreeBSD kernel with gcc48

2012-11-11 Thread Alie Tan
Hi,

Anyone have experience compiling FreeBSD kernel with gcc48

I have tried it but no success with this in src.conf

C= /usr/local/bin/gcc48
CXX= /usr/local/bin/g++48
CWARNFLAGS= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
\-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
\-Wno-pointer-sign -D__FreeBSD_cc_version=0 \-Wno-unused-function
-Wno-inline -Wno-format \-Wno-uninitialized -Wno-array-bounds
-Wno-missing-prototypes
NO_WERROR= 1

Another question, is there any benchmark for LLVM/Clang vs gcc45, gcc46,
gcc47 or gcc48?

Regards,
Alie T
___
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


DragonFly vs FreeBSD scheduler

2012-11-03 Thread Alie Tan
Hi,

No offence, just curious about scheduler and its functionality.

What is the different between this two that makes FreeBSD performance far
behind DragonFly BSD? http://www.dragonflybsd.org/release32/

Regards,
Alie T
___
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


Compilation error ('llvm/TableGen/Error.h' file not found)

2012-10-22 Thread Alie Tan
Hi,

I got this compilation error today morning.
'llvm/TableGen/Error.h' file not found

http://snakeorladder.com/text.txt

With this src.conf http://snakeorladder.com/src.conf

Regards,
Alie T
___
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


Unable to full shutdown FreeBSD 9.0-RC1

2011-11-09 Thread Alie Tan
shutdown -p now and halt -p only turn off my screen and keep the power
led on and does not spin down my HDD.

I need someone help to solve this issue and i am willing to give some debug
log but i am not familiar how to get it.
___
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