Kernel compile fails

2009-03-22 Thread Remorque
I have installed 7.1-RELEASE on a hardware with AMD processor. I have
successfully buildworld, and now doing the make kernel thing.The kernel
config file is pretty GENERIC, I only removed the option to build a DEBUG
kernel.I have csup-ped today.
However, my compilation fails, viz:
cut
cc -c -O2 -frename-registers -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 -nostdinc  -I. -I/usr/src/sys
-I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100
--param large-function-growth=1000  -mcmodel=kernel -mno-red-zone
 -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float
-fno-asynchronous-unwind-tables -ffreestanding -Werror
 /usr/src/sys/dev/ath/if_ath.c -I/usr/src/sys/dev/ath
*** Error code 1

Stop in /usr/obj/usr/src/sys/FS.
*** Error code 1

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

Stop in /usr/src.

/cut

I can go ahead and comment out all ath_* from the configuration, since I
wouldn't really need them at this juncture, but I believe it should not be
failing anyway. Do I just wait to csup again tomorrow and hope this gets
fixed? :)



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
The only time a woman really succeeds in changing a man is when he is a
baby.
 - Natalie Wood
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Kernel compile fails

2009-03-22 Thread Remorque
On Sun, Mar 22, 2009 at 6:23 PM, Kent Stewart kstew...@owt.com wrote:

 On Sunday 22 March 2009 07:53:00 am Remorque wrote:
  I have installed 7.1-RELEASE on a hardware with AMD processor. I have
  successfully buildworld, and now doing the make kernel thing.The kernel
  config file is pretty GENERIC, I only removed the option to build a DEBUG
  kernel.I have csup-ped today.
  However, my compilation fails, viz:
  cut
  cc -c -O2 -frename-registers -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 -nostdinc  -I. -I/usr/src/sys
  -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
 -include
  opt_global.h -fno-common -finline-limit=8000 --param
 inline-unit-growth=100
  --param large-function-growth=1000  -mcmodel=kernel -mno-red-zone
   -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float
  -fno-asynchronous-unwind-tables -ffreestanding -Werror
   /usr/src/sys/dev/ath/if_ath.c -I/usr/src/sys/dev/ath
  *** Error code 1
 
  Stop in /usr/obj/usr/src/sys/FS.
  *** Error code 1
 
  Stop in /usr/src.
  *** Error code 1
 
  Stop in /usr/src.
 
  /cut
 
  I can go ahead and comment out all ath_* from the configuration, since I
  wouldn't really need them at this juncture, but I believe it should not
 be
  failing anyway. Do I just wait to csup again tomorrow and hope this gets
  fixed? :)

 You have optimization options on the compile line that I don't have on my
 system. From this, I would guess that you have a cflags statment
 in /etc/make.conf and it is bitting you.

 Kent


Hi Kent,

Thank you for replying.

The fact is that:

1. I have never used any optimizations ever since I started using FreeBSD
2. This is a new box, and there is no /etc/make.conf as yet

The only things I have done on this box (a Dell SC1435) is to install, csup
(src, ports) and buildworld.
I was just gonna do the kernel, then start doing the other stuff after the
system updates.

Your guess is wrong:-)



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
The only time a woman really succeeds in changing a man is when he is a
baby.
 - Natalie Wood
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Kernel compile fails

2009-03-22 Thread Remorque
On Sun, Mar 22, 2009 at 6:46 PM, Vasadi I. Claudiu Florin 
claudiu.vas...@gmail.com wrote:

 Still, the fact that there are some optimisation flags remain. That would
 be the first thing I would take into consideration in this matter.


Fine. Where do you suppose they are?
I am saying this is a pristine system. There is absolutely nothing foreign
that I have added so far. I've not installed a single thing besides the
OS.There can't be anything like optimization anywhere so far, unless it is
hidden inside make.


%uname -a
FreeBSD fs.ilink.co.ke 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan  1
08:58:24 UTC 2009 r...@driscoll.cse.buffalo.edu:/usr/obj/usr/src/s
ys/GENERIC  amd64
%
%
%env
USER=wash
LOGNAME=wash
HOME=/home/wash
MAIL=/var/mail/wash
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/wash/bin
TERM=linux
FTP_PASSIVE_MODE=YES
BLOCKSIZE=K
SHELL=/bin/csh
SSH_CLIENT=192.168.1.100 3033 22
SSH_CONNECTION=192.168.1.100 3033 192.168.1.201 22
SSH_TTY=/dev/ttyp1
HOSTTYPE=FreeBSD
VENDOR=unknown
OSTYPE=FreeBSD
MACHTYPE=unknown
SHLVL=1
PWD=/home/wash
GROUP=wheel
HOST=fs.ilink.co.ke
REMOTEHOST=192.168.1.100
EDITOR=vi
PAGER=more
%ls -al
total 22
drwxr-xr-x  3 wash  wheel  512 Mar 22 14:07 .
drwxr-xr-x  3 root  wheel  512 Mar 19 01:49 ..
-rw-r--r--  1 wash  wheel  758 Mar 19 01:49 .cshrc
-rw-r--r--  1 wash  wheel  258 Mar 19 01:49 .login
-rw-r--r--  1 wash  wheel  167 Mar 19 01:49 .login_conf
-rw---  1 wash  wheel  379 Mar 19 01:49 .mail_aliases
-rw-r--r--  1 wash  wheel  339 Mar 19 01:49 .mailrc
-rw-r--r--  1 wash  wheel  773 Mar 19 01:49 .profile
-rw---  1 wash  wheel  284 Mar 19 01:49 .rhosts


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
The only time a woman really succeeds in changing a man is when he is a
baby.
 - Natalie Wood
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Kernel compile fails

2009-03-22 Thread Remorque
On Sun, Mar 22, 2009 at 6:57 PM, Giorgos Keramidas keram...@ceid.upatras.gr
 wrote:

 On Sun, 22 Mar 2009 17:53:00 +0300, \Remorque\ odhia...@gmail.com
 wrote:
  I have installed 7.1-RELEASE on a hardware with AMD processor. I have
  successfully buildworld, and now doing the make kernel thing.The kernel
  config file is pretty GENERIC, I only removed the option to build a DEBUG
  kernel.I have csup-ped today.
  However, my compilation fails, viz:
  cut
  cc -c -O2 -frename-registers -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 -nostdinc  -I. -I/usr/src/sys
  -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
 -include
  opt_global.h -fno-common -finline-limit=8000 --param
 inline-unit-growth=100
  --param large-function-growth=1000  -mcmodel=kernel -mno-red-zone
   -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float
  -fno-asynchronous-unwind-tables -ffreestanding -Werror
   /usr/src/sys/dev/ath/if_ath.c -I/usr/src/sys/dev/ath
  *** Error code 1
 
  Stop in /usr/obj/usr/src/sys/FS.
  *** Error code 1

 This snippet does not include *any* compiler warning or error line.  Are
 you building with a high -j option?


No.


  If yes, can you try removing the already built stuff from `/usr/obj/*' and
 rebuilding without any -jXXX
 option in the buildworld/buildkernel command-line?


I have removed the stuff in /usr/obj/* and now rebuilding kernel again.
Let me see what happens.

PS: I have never used any -j option ever, so this is pretty odd. This also
happens to be the first AMD (Quad Core) box that I have ever build. If it
matters, the dmesg output can be seen here -
http://gw.crownkenya.com/~wash/dmesg-amd.txt





-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
The only time a woman really succeeds in changing a man is when he is a
baby.
 - Natalie Wood
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Kernel compile fails

2009-03-22 Thread Remorque
On Sun, Mar 22, 2009 at 7:04 PM, Manolis Kiagias sonic200...@gmail.comwrote:

 Remorque wrote:
  On Sun, Mar 22, 2009 at 6:23 PM, Kent Stewart kstew...@owt.com wrote:
 
 
  On Sunday 22 March 2009 07:53:00 am Remorque wrote:
 
  I have installed 7.1-RELEASE on a hardware with AMD processor. I have
  successfully buildworld, and now doing the make kernel thing.The
 kernel
  config file is pretty GENERIC, I only removed the option to build a
 DEBUG
  kernel.I have csup-ped today.
  However, my compilation fails, viz:
  cut
  cc -c -O2 -frename-registers -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 -nostdinc  -I. -I/usr/src/sys
  -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
 
  -include
 
  opt_global.h -fno-common -finline-limit=8000 --param
 
  inline-unit-growth=100
 
  --param large-function-growth=1000  -mcmodel=kernel -mno-red-zone
   -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float
  -fno-asynchronous-unwind-tables -ffreestanding -Werror
   /usr/src/sys/dev/ath/if_ath.c -I/usr/src/sys/dev/ath
  *** Error code 1
 
  Stop in /usr/obj/usr/src/sys/FS.
  *** Error code 1
 
  Stop in /usr/src.
  *** Error code 1
 
  Stop in /usr/src.
 
  /cut
 
  I can go ahead and comment out all ath_* from the configuration, since
 I
  wouldn't really need them at this juncture, but I believe it should not
 
  be
 
  failing anyway. Do I just wait to csup again tomorrow and hope this
 gets
  fixed? :)
 
  You have optimization options on the compile line that I don't have on
 my
  system. From this, I would guess that you have a cflags statment
  in /etc/make.conf and it is bitting you.
 
  Kent
 
 
 
  Hi Kent,
 
  Thank you for replying.
 
  The fact is that:
 
  1. I have never used any optimizations ever since I started using FreeBSD
  2. This is a new box, and there is no /etc/make.conf as yet
 
  The only things I have done on this box (a Dell SC1435) is to install,
 csup
  (src, ports) and buildworld.
  I was just gonna do the kernel, then start doing the other stuff after
 the
  system updates.
 
  Your guess is wrong:-)
 
 

 If you csup'd source as you say above, you are now on 7-STABLE.
 There have been some changes in the atheros driver, and I noticed your
 build stopped there.

 Look at the new GENERIC conf file:

 device  ath # Atheros pci/cardbus NIC's
 device  ath_hal # Atheros HAL (Hardware Access Layer)
 options AH_SUPPORT_AR5416   # enable AR5416 tx/rx descriptors
 device  ath_rate_sample # SampleRate tx rate control for ath

 If your custom configuration file comes from editing a 7.0-RELEASE e.g.
 GENERIC, it will fail. Use the newer GENERIC as a starting point, or
 simply replace the atheros entries with the ones above.


I used the 7.1 DVD to install, not 7.0.
From my observation (having gone thro 5 `make kernel` attempts now) is that
the failure is quite random.
I am not sure what is happening actually.

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
The only time a woman really succeeds in changing a man is when he is a
baby.
 - Natalie Wood
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Kernel compile fails

2009-03-22 Thread Remorque
On Sun, Mar 22, 2009 at 9:27 PM, Kent Stewart kstew...@owt.com wrote:

 On Sunday 22 March 2009 08:43:53 am Remorque wrote:
  On Sun, Mar 22, 2009 at 6:23 PM, Kent Stewart kstew...@owt.com wrote:
   On Sunday 22 March 2009 07:53:00 am Remorque wrote:
I have installed 7.1-RELEASE on a hardware with AMD processor. I have
successfully buildworld, and now doing the make kernel thing.The
kernel config file is pretty GENERIC, I only removed the option to
build a DEBUG kernel.I have csup-ped today.
However, my compilation fails, viz:
cut
cc -c -O2 -frename-registers -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 -nostdinc  -I. -I/usr/src/sys
-I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
  
   -include
  
opt_global.h -fno-common -finline-limit=8000 --param
  
   inline-unit-growth=100
  
--param large-function-growth=1000  -mcmodel=kernel -mno-red-zone
 -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float
-fno-asynchronous-unwind-tables -ffreestanding -Werror
 /usr/src/sys/dev/ath/if_ath.c -I/usr/src/sys/dev/ath
*** Error code 1
   
Stop in /usr/obj/usr/src/sys/FS.
*** Error code 1
   
Stop in /usr/src.
*** Error code 1
   
Stop in /usr/src.
   
/cut
   
I can go ahead and comment out all ath_* from the configuration,
 since
I wouldn't really need them at this juncture, but I believe it should
not
  
   be
  
failing anyway. Do I just wait to csup again tomorrow and hope this
gets fixed? :)
  
   You have optimization options on the compile line that I don't have on
 my
   system. From this, I would guess that you have a cflags statment
   in /etc/make.conf and it is bitting you.
  
   Kent
 
  Hi Kent,
 
  Thank you for replying.
 
  The fact is that:
 
  1. I have never used any optimizations ever since I started using FreeBSD
  2. This is a new box, and there is no /etc/make.conf as yet
 
  The only things I have done on this box (a Dell SC1435) is to install,
 csup
  (src, ports) and buildworld.
  I was just gonna do the kernel, then start doing the other stuff after
 the
  system updates.
 
  Your guess is wrong:-)

 Yes, you are right. I cvsuped and rebuilt my system and it died at the same
 spot.


Looks like AH_SUPPORT_AR5416 from 20090312 of /usr/src/UPDATING helped me
compile my kernel successfully!
Now another problem appears:

fs# make installworld
mkdir -p /tmp/install.4l9c3cd6
for prog in [ awk cap_mkdb cat chflags chmod chown  date echo egrep find
grep install-info  ln lockf make mkdir mtree mv pwd_mkdb rm sed sh
sysctl  test true uname wc zic; do  cp `which $prog` /tmp/install.4l9c3cd6;
done
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=amd64  MACHINE=amd64
CPUTYPE=  GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin  GRO
FF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font
GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac
PATH=/usr/obj/usr
/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/us
r/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.4l9c3cd6 make
-f Makefile.inc1 reinstall
--
 Making hierarchy
--
cd /usr/src; make -f Makefile.inc1 hierarchy
cd /usr/src/etc;make distrib-dirs
mtree -eU  -f /usr/src/etc/mtree/BSD.root.dist -p /
mtree -eU  -f /usr/src/etc/mtree/BSD.var.dist -p /var
mtree -eU  -f /usr/src/etc/mtree/BSD.usr.dist -p /usr
mtree -eU  -f /usr/src/etc/mtree/BSD.include.dist  -p /usr/include
mtree -deU  -f /usr/src/etc/mtree/BIND.chroot.dist  -p /var/named
mtree -deU  -f /usr/src/etc/mtree/BSD.sendmail.dist -p /
cd /; rm -f /sys; ln -s usr/src/sys sys
cd /usr/share/man/en.ISO8859-1; ln -sf ../man* .
cd /usr/share/man;  set - `grep ^[a-zA-Z] /usr/src/etc/man.alias`;  while
[ $# -gt 0 ] ;  do  rm -rf $1;  ln -s $2 $1;  shift; shift
;  done
cd /usr/share/openssl/man;  set - `grep ^[a-zA-Z]
/usr/src/etc/man.alias`;  while [ $# -gt 0 ] ;  do  rm -rf $1;  ln -s $2
$1;  shif
t; shift;  done
cd /usr/share/openssl/man/en.ISO8859-1; ln -sf ../man* .
cd /usr/share/nls;  set - `grep ^[a-zA-Z] /usr/src/etc/nls.alias`;  while
[ $# -gt 0 ] ;  do  rm -rf $1;  ln -s $2 $1;  shift; shift
;  done

--
 Installing everything
--
cd /usr/src; make -f Makefile.inc1 install
=== share/info (install)
=== lib (install)
=== lib/csu/amd64 (install)
install -o root -g wheel -m 444  crt1.o crti.o crtn.o gcrt1.o /usr/lib
install:No such file or directory
*** Error code 1

Stop in /usr/src/lib/csu/amd64.
*** Error code 1

Stop in /usr/src/lib

Re: Kernel compile fails

2009-03-22 Thread Remorque
On Sun, Mar 22, 2009 at 10:39 PM, Kent Stewart kstew...@owt.com wrote:

 On Sunday 22 March 2009 12:07:44 pm Remorque wrote:
  On Sun, Mar 22, 2009 at 9:27 PM, Kent Stewart kstew...@owt.com wrote:
   On Sunday 22 March 2009 08:43:53 am Remorque wrote:
On Sun, Mar 22, 2009 at 6:23 PM, Kent Stewart kstew...@owt.com
 wrote:
 On Sunday 22 March 2009 07:53:00 am Remorque wrote:
  I have installed 7.1-RELEASE on a hardware with AMD processor. I
  have successfully buildworld, and now doing the make kernel
  thing.The kernel config file is pretty GENERIC, I only removed
 the
  option to build a DEBUG kernel.I have csup-ped today.
  However, my compilation fails, viz:
  cut
  cc -c -O2 -frename-registers -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 -nostdinc  -I. -I/usr/src/sys
  -I/usr/src/sys/contrib/altq -D_KERNEL
 -DHAVE_KERNEL_OPTION_HEADERS

 -include

  opt_global.h -fno-common -finline-limit=8000 --param

 inline-unit-growth=100

  --param large-function-growth=1000  -mcmodel=kernel -mno-red-zone
   -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow
  -msoft-float
  -fno-asynchronous-unwind-tables -ffreestanding -Werror
   /usr/src/sys/dev/ath/if_ath.c -I/usr/src/sys/dev/ath
  *** Error code 1
 
  Stop in /usr/obj/usr/src/sys/FS.
  *** Error code 1
 
  Stop in /usr/src.
  *** Error code 1
 
  Stop in /usr/src.
 
  /cut
 
  I can go ahead and comment out all ath_* from the configuration,
  
   since
  
  I wouldn't really need them at this juncture, but I believe it
  should not

 be

  failing anyway. Do I just wait to csup again tomorrow and hope
 this
  gets fixed? :)

 You have optimization options on the compile line that I don't have
 on
  
   my
  
 system. From this, I would guess that you have a cflags statment
 in /etc/make.conf and it is bitting you.

 Kent
   
Hi Kent,
   
Thank you for replying.
   
The fact is that:
   
1. I have never used any optimizations ever since I started using
FreeBSD 2. This is a new box, and there is no /etc/make.conf as yet
   
The only things I have done on this box (a Dell SC1435) is to
 install,
  
   csup
  
(src, ports) and buildworld.
I was just gonna do the kernel, then start doing the other stuff
 after
  
   the
  
system updates.
   
Your guess is wrong:-)
  
   Yes, you are right. I cvsuped and rebuilt my system and it died at the
   same spot.
 
  Looks like AH_SUPPORT_AR5416 from 20090312 of /usr/src/UPDATING helped me
  compile my kernel successfully!
  Now another problem appears:

 The AH_* stuff also fixed my problem.

 
  fs# make installworld
  mkdir -p /tmp/install.4l9c3cd6
  for prog in [ awk cap_mkdb cat chflags chmod chown  date echo egrep find
  grep install-info  ln lockf make mkdir mtree mv pwd_mkdb rm sed sh
  sysctl  test true uname wc zic; do  cp `which $prog`
 /tmp/install.4l9c3cd6;
  done
  cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=amd64  MACHINE=amd64
  CPUTYPE=  GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin  GRO
  FF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font
  GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac
  PATH=/usr/obj/usr
 
 /src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/s
 rc/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/us
  r/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.4l9c3cd6
 make
  -f Makefile.inc1 reinstall
  --
 
   Making hierarchy
 
  --
  cd /usr/src; make -f Makefile.inc1 hierarchy
  cd /usr/src/etc;make distrib-dirs
  mtree -eU  -f /usr/src/etc/mtree/BSD.root.dist -p /
  mtree -eU  -f /usr/src/etc/mtree/BSD.var.dist -p /var
  mtree -eU  -f /usr/src/etc/mtree/BSD.usr.dist -p /usr
  mtree -eU  -f /usr/src/etc/mtree/BSD.include.dist  -p /usr/include
  mtree -deU  -f /usr/src/etc/mtree/BIND.chroot.dist  -p /var/named
  mtree -deU  -f /usr/src/etc/mtree/BSD.sendmail.dist -p /
  cd /; rm -f /sys; ln -s usr/src/sys sys
  cd /usr/share/man/en.ISO8859-1; ln -sf ../man* .
  cd /usr/share/man;  set - `grep ^[a-zA-Z] /usr/src/etc/man.alias`;
  while
  [ $# -gt 0 ] ;  do  rm -rf $1;  ln -s $2 $1;  shift; shift
  ;  done
  cd /usr/share/openssl/man;  set - `grep ^[a-zA-Z]
  /usr/src/etc/man.alias`;  while [ $# -gt 0 ] ;  do  rm -rf $1;  ln -s
  $2 $1;  shif
  t; shift;  done
  cd /usr/share/openssl/man/en.ISO8859-1; ln -sf ../man* .
  cd /usr/share/nls;  set - `grep ^[a-zA-Z] /usr/src/etc/nls.alias`;
  while
  [ $# -gt 0 ] ;  do  rm -rf $1;  ln -s $2 $1;  shift; shift
  ;  done

Re: Adding new domain in mail server

2009-03-19 Thread Remorque
On Thu, Mar 19, 2009 at 9:49 AM, Ruel Luchavez ruel.free...@gmail.comwrote:

 Hi list..

 we have here a mail server running in FreeBSD 6.2 which is holding out 2
 domain (e.g u...@mydomain.com. w...@mydomain2.com) and it running very
 good,
 unfortunately I'm not the person who configure this mail stuff.

 heres my problem:

 we bought a new domain (e.g mydomain3.com) and Im planning to add the
 domain
 to our mail server so that I could create a new email ad with the new
 domain
 (e.g us...@mydomain3.com). how will I do that?


This depends on your SMTP server, but by the way you have asked this
question, I don't think you will manage to do it. You are so green for that
task.

Anyway, find out what the SMTP server installed is, how it handles virtual
domains and how they are configured (user maps).

If you are familiar with Apache, PHP, MySQL, I'd suggest that you consider
Vexim (http://silverwraith.com/vexim) as an easier to manage system for
handling virtual domains.

If you need assistance in migrating, we can help (I can help).


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
The only time a woman really succeeds in changing a man is when he is a
baby.
 - Natalie Wood
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to cancel packages

2009-03-18 Thread Remorque
On Wed, Mar 18, 2009 at 11:23 AM, szhou sz...@redhat.com wrote:


   Hi, All
   I want to install ipsec-tools in FreeBSD6.3. I click command make
   install in directory/usr/ports/security/ipsec-tools/, and i select
   all packages in prompted window. while the installation failed,
   because the kernel do not support one package.
   I want to install ipsec-tools without the specific package. Can anyone
   point me how to cancel the selected package? So that i can install it
   again.


cd /usr/ports/security/ipsec-tools/
make rmconfig
make config # select what you want
make install clean


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
The only time a woman really succeeds in changing a man is when he is a
baby.
 - Natalie Wood
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD-7.1-RELEASE and libkrb5

2009-03-18 Thread Remorque
I am doing portupgrade -aOW and one port keeps failing:

cut
cal/lib/libiconv.so /usr/local/lib/libpcre.so-Wl,--rpath
-Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib/evolution/2.24 -Wl,--rpath
-Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib/evolution/2.24
/usr/bin/ld: warning: libkrb5.so.9, needed by /usr/local/lib/
libexchange-storage-1.2.so, may conflict with libkrb5.so.23
/usr/bin/ld: warning: libgcrypt.so.15, needed by /usr/local/lib/
libsoup-2.4.so, may conflict with libgcrypt.so.16
/usr/lib/libkrb5.so.9: undefined reference to `copy_octet_string'
gmake[2]: *** [evolution-exchange-storage] Error 1
gmake[2]: Leaving directory
`/usr/ports/mail/evolution-exchange/work/evolution-exchange-2.24.5/storage'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/mail/evolution-exchange/work/evolution-exchange-2.24.5'
gmake: *** [all] Error 2
*** Error code 2
Stop in /usr/ports/mail/evolution-exchange.

/cut

Now, looking at what could be causing such a failure, I see:

FreeBSD-7# ls -al `locate libkrb5`
lrwxrwxrwx  1 root  wheel  14 Dec 18 14:54
/usr/compat/linux/usr/lib/libkrb5.so.3 - libkrb5.so.3.2
-rwxr-xr-x  1 root  wheel  557868 Dec 18 14:53
/usr/compat/linux/usr/lib/libkrb5.so.3.2
lrwxrwxrwx  1 root  wheel  21 Dec 18 14:54
/usr/compat/linux/usr/lib/libkrb5support.so.0 - libkrb5support.so.0.1
-rwxr-xr-x  1 root  wheel   29048 Dec 18 14:53
/usr/compat/linux/usr/lib/libkrb5support.so.0.1
-r--r--r--  1 root  wheel  359260 Mar 10 15:45 /usr/lib/libkrb5.a
lrwxr-xr-x  1 root  wheel  12 Mar 10 15:45 /usr/lib/libkrb5.so -
libkrb5.so.9
-r--r--r--  1 root  wheel  241288 Mar 10 15:45 /usr/lib/libkrb5.so.9
-r--r--r--  1 root  wheel  372920 Mar 10 15:45 /usr/lib/libkrb5_p.a
-r--r--r--  1 root  wheel  225860 May 26  2008
/usr/local/lib/compat/libkrb5.so.7
-r--r--r--  1 root  wheel  216484 Mar 14 17:33
/usr/local/lib/compat/libkrb5.so.8
-rw-r--r--  1 root  wheel  531560 Mar 10 22:58 /usr/local/lib/libkrb5.a
-rwxr-xr-x  1 root  wheel 896 Mar 10 22:58 /usr/local/lib/libkrb5.la
lrwxr-xr-x  1 root  wheel  13 Mar 10 22:58 /usr/local/lib/libkrb5.so -
libkrb5.so.23
-rwxr-xr-x  1 root  wheel  432449 Mar 10 22:58 /usr/local/lib/libkrb5.so.23
-rw-r--r--  1 root  wheel9585 Dec 28 11:47
/usr/src/kerberos5/lib/libkrb5/Makefile


Why is it that I have these two below?
lrwxr-xr-x  1 root  wheel  12 Mar 10 15:45 /usr/lib/libkrb5.so -
libkrb5.so.9
lrwxr-xr-x  1 root  wheel  13 Mar 10 22:58 /usr/local/lib/libkrb5.so -
libkrb5.so.23

Did I at some point screw up with the system?
FreeBSD-7# uname -a
FreeBSD FreeBSD-7 7.1-RELEASE-p3 FreeBSD 7.1-RELEASE-p3 #0: Mon Mar  9
11:03:09 EAT 2009 r...@freebsd-7:/usr/obj/usr/src/sys/BEASTIE-7.x  i386

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
The only time a woman really succeeds in changing a man is when he is a
baby.
 - Natalie Wood
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: reinstall package with portinstall

2009-03-11 Thread Remorque
On Wed, Mar 11, 2009 at 4:14 PM, Noah adm...@enabled.com wrote:

 Hi there,

 how can I reinstall a package that could be the same version as the
 currently Install version with portinstall or portupgrade?


man portupgrade

If the install location conflicts, you have to deinstall one, then install
the other. Otherwise

portupgrade -Nf will do what you want.

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
The only time a woman really succeeds in changing a man is when he is a
baby.
 - Natalie Wood
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Help required for configuring FreeBSD with DHCP

2009-03-10 Thread Remorque
On Tue, Mar 10, 2009 at 4:53 PM, Ricardo Jesus
ricardo.meb.je...@gmail.comwrote:

 manish jain wrote:


 Hi all,

 I have a dual boot system (FreeBSD 7.1 + Windows 2000).

 I am trying out FreeBSD for the first time with an ISP who runs a DHCP
 server. Until the times of static addresses, everything was so simple in
 FreeBSD. Now I am forced to ask for help because the ISP is willing to help
 only for Windows. And indeed my Windows 2000 is sailing the internet
 smoothly enough, so I can't really blame him.

 I am using a Realtek 8139D NIC on an x86 system. When I ask sysinstall to
 configure rl0, it asks me whether I want to use DHCP. When I say yes, it
 still gives me the same form to fill out as it does for static IP addresses.
 I don't have any idea how to fill out this form when DHCP is being used.

 Please note that on Windows, the following are enabled :
 1) Obtain an IP address automatically
 2) Obtain DNS server address automatically

 Everything else (IP address/Default dateway/etc) is greyed out. Can anyone
 please tell me how to get my FreeBSD system up on DHCP. The only other piece
 of information I can provide is the hostname I have been using so far :
 unxfbsdi.freebsd.localdomain

 Thanks in advance for any help.

 Regards
 Manish Jain
 invalid.poin...@gmail.com

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

  I think Realtek 8139D fall into re(4) driver, but do take a look at dmesg
 | less to confirm this.

 To display the current configuration for the network interfaces on your
 system run:
 % ifconfig

 You need to edit rc.conf and add the following to have the network card
 configured at boot time:
 ifconfig_re0=DHCP

 To configure the card from the command line simply run:
 # ifconfig re0 dhcp


I would do:

dhclient re0

Is the behaviour the same?


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
The only time a woman really succeeds in changing a man is when he is a
baby.
 - Natalie Wood
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: PAE kernel problem on Dell PowerEdge 2950

2009-03-04 Thread Remorque
On Wed, Mar 4, 2009 at 12:45 PM, Wojciech Puchar 
woj...@wojtek.tensor.gdynia.pl wrote:


 I see no reason why you should run 6.4 at all though. What's your
 motivation
 towards thaat angle?

 I suggest you install the 7.1 and update it to -STABLE then see if
 anything
 changes as regards the CPU (est message), while we wait for the magic word
 from the dedicated developers.


 --

 why not simply use /amd64?


You mean he changes the CPU?



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
The only time a woman really succeeds in changing a man is when he is a
baby.
 - Natalie Wood
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: PAE kernel problem on Dell PowerEdge 2950

2009-03-03 Thread Remorque
On Wed, Mar 4, 2009 at 6:26 AM, Olivier Nicole o...@cs.ait.ac.th wrote:

 Hi,

 I have a couple of new Dell PowerEdge 2950 with 16GB RAM and I found
 the following issue when trying to install FreeBSD.

 FreeBSD i386 6.4_RELENG
 ===

 8 GB RAM: OK except acpi_alloc_makeop_handler: can't alloc wake
  memory corrected with PR 120515

 16GB RAM: panic: pmap_mapdev: could'n allocate kernel vistual memory
  when loading miibus

 32GB RAM: panic as soon as the kernel loads, cannot read the error
  message (several pages)

 FreeBSD i386 7.1
 

 Plain distribution, I have not yet upgraded to RELENG.

 It reports for each CPU, on GENERIC and PAE kernel:

cpu0: ACPI CPU on acpi0
est0: Enhanced SpeedStep Frequency Control on cpu0
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 471b471b0600471b

 8 GB RAM: OK

 16GB RAM: OK

 32GB RAM: panic as soon as the kernel loads

 I got the 32GB RAM by combining the memory from both servers.

 I'd prefer using legacy kernel (6.4) but I beleive 7.1 is OK too.

 One of the server will not be installed for a while and I could run
 test on it if I am directed what to doo.

 I can repost to a more appropriate list if I am told what list would
 be the best.


Hmm, while not adding any value, I thank God you started off this thread. I
have two of those I should be installing any time now. However, I am going
to use 7.1-STABLE on them.

I see no reason why you should run 6.4 at all though. What's your motivation
towards thaat angle?

I suggest you install the 7.1 and update it to -STABLE then see if anything
changes as regards the CPU (est message), while we wait for the magic word
from the dedicated developers.


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
The only time a woman really succeeds in changing a man is when he is a
baby.
 - Natalie Wood
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: wlan_scan_ap and wlan_scan_sta

2009-02-26 Thread Remorque
On Thu, Feb 26, 2009 at 9:57 PM, Janos Dohanics w...@3dresearch.com wrote:

 According to the Handbook, I can compile into the kernel

 device wlan_scan_ap  # 802.11 AP mode scanning
 device wlan_scan_sta # 802.11 STA mode scanning

 But when I do, I get:

 config: Error: device wlan_scan_ap is unknown
 config: Error: device wlan_scan_sta is unknown
 config: 2 errors
 *** Error code 1
 1 error
 *** Error code 2
 1 error

 I'm wondering why? 6.4-PRERELEASE, amd64


Does the handbook say the version of FreeBSD with which you can compile
these in the kernel?
I know they also refused to play with 8.0-CURRENT for me recently.


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
The only time a woman really succeeds in changing a man is when he is a
baby.
 - Natalie Wood
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: hi

2009-02-22 Thread Remorque
On Sun, Feb 22, 2009 at 12:54 PM, GrimJow Espada
grimjow.esp...@gmail.comwrote:

 what will happen to FreeBSD if Gentoo/BSD is already out, does it affect
 freebsd popularity? i dont like gentoo or gentoo/bsd


@Espada,

According to you, is Gentoo/BSD the same thing as FreeBSD?
And haven't you heard of PCBSD, DesktopBSD, DragonflyBSD?
Just let Gentoo/BSD be and live your life:-)


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
The only time a woman really succeeds in changing a man is when he is a
baby.
 - Natalie Wood
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: When is there going to be a USB install and run iso iamge for FreeBSD?

2009-02-22 Thread Remorque
On Sun, Feb 22, 2009 at 1:32 AM, George Hartzell hartz...@alerce.comwrote:

 Formula 1 writes:
   Is there going to be a possibility for FreeBSD, in the future or now,
 that there will be a release of it that allows for install and running of
 the operating system off of a USB memory stick?
  

 There's a pretty simple script here that builds a bootable usb stick.

  http://yds.coolrat.org/zfsboot.shtml

 While you're there, there's a second script for setting up a mostly
 ZFS based system, it's a bit behind the time given the zfs boot code
 work going on in -CURRENT, but still seems pretty relevant if you're
 in -STABLE world.

 g.


And PCBSD have one as well already.



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
The only time a woman really succeeds in changing a man is when he is a
baby.
 - Natalie Wood
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org