Re: reinstall all p5 installed ports with portmaster

2009-01-15 Thread Gelsema, P (Patrick) - FreeBSD
On Thu, January 15, 2009 12:19, Herbert J. Skuhra wrote:
 2009/1/15 bsd b...@todoo.biz:
 Hello,

 I was looking for an efficient way to reinstall (recompile due to an
 update
 in the perl port) all installed p5 ports…

 Have you tried perl-after-upgrade? See UPDATING and man page.

 I have done that manually, but I am certain there is a better way to do
 that…


 I have tried:

 # portmaster -rdf p5-


 But that didn't work as I had to re-install all ports…

 Have you tried portmaster without -rf ?

try: portupgrade -f 'pkg_info | grep p5- | cut -d  -f1'



 - Herbert
 ___
 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-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


/var grows, apache open file, which file?

2009-02-06 Thread Gelsema, P (Patrick) - FreeBSD
Hi List,

I noticed that my var slice is getting eaten by apache. The amount of free
space is getting less and less per day. So I started to investigate.

I did the following;

# fstat -u www | grep var | more
www  httpd  970429 /var  74653 -rw---  176907484  w
www  httpd  97042   12 /var  71575 -rw---  1345623  w
www  httpd  97042   13 /var  24693 -rw-r--r--   0  w
www  httpd  97042   15 /var  70919 -rw---   0  w
www  httpd  97042   16 /var  70919 -rw---   0  w
www  httpd  260599 /var  74653 -rw---  176907484  w
www  httpd  26059   12 /var  71575 -rw---  1345623  w

So I have an Inumber, lets search for that.

# find / -inum 74653
/usr/ports/net/pptpclient/files

This confuses me! That is on a different slice.

When I restart apachectl the space is reclamed and I've got a normal usage
of /var.

# apachectl -v
Server version: Apache/2.2.11 (FreeBSD)
Server built:   Jan 11 2009 22:01:58

# uname -a
FreeBSD wolverine.superhero.nl 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Tue Jan
 6 07:44:32 CET 2009
drmanhat...@wolverine.superhero.nl:/usr/obj/usr/src/sys/WOLVERINE  i386

Any thoughts?

Cheers,

Patrick
___
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: /var grows, apache open file, which file?

2009-02-06 Thread Gelsema, P (Patrick) - FreeBSD
On Fri, February 6, 2009 20:05, Dan Nelson wrote:
 In the last episode (Feb 06), Gelsema, P (Patrick) - FreeBSD said:
 I noticed that my var slice is getting eaten by apache. The amount of
 free
 space is getting less and less per day.  So I started to investigate.

 I did the following;

 # fstat -u www | grep var | more
 www  httpd  970429 /var  74653 -rw---  176907484  w
 www  httpd  97042   12 /var  71575 -rw---  1345623  w
 www  httpd  97042   13 /var  24693 -rw-r--r--   0  w
 www  httpd  97042   15 /var  70919 -rw---   0  w
 www  httpd  97042   16 /var  70919 -rw---   0  w
 www  httpd  260599 /var  74653 -rw---  176907484  w
 www  httpd  26059   12 /var  71575 -rw---  1345623  w

 So I have an Inumber, lets search for that.

 # find / -inum 74653
 /usr/ports/net/pptpclient/files

 This confuses me! That is on a different slice.

 Then that is not the inode you are looking for.  Use find -x /var ... to

doesnt return anything.

 limit the search to just the /var mountpoint.  Your problem is probably
 due
 to a bad logfile rotator that isn't signalling apache to closereopen the
 logs, so it keeps logging to a file you have deleted.  If you're using
 newsyslog, make sure you have listed your apache pidfile on the line
 correspoinding to any apache logs so it knows which process to signal.
 See
 the newsyslog.conf manpage for more details.

Added /var/run/httpd.pid to newsyslog.conf and restarted apache.

I am also using cronolog.

from httpd.conf:
CustomLog | /usr/local/sbin/cronolog
/var/log/apache2/%Y/%m/%d/access.log combined

Thanks Patrick


 --
   Dan Nelson
   dnel...@allantgroup.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


+ahd0: Transmission error detected

2009-08-02 Thread Gelsema, P (Patrick) - FreeBSD
Hi,
I received this erron on my Freebsd 7-Stable (1 or 2 months old).

I dont know how to read this error. Is this hardware? Or a software issue?

Box is still running, 3 x SCSI and a ZFS pool on 3 SATA disks.

Cheers,

Patrick

Logs

+ahd0: Transmission error detected
+LQISTAT1[0x0] LASTPHASE[0x1]:(P_DATAOUT|P_BUSFREE)
+SCSISIGI[0x60]:(P_DATAIN_DT) PERRDIAG[0x4]:(CRCERR)
+ Dump Card State Begins 
+ahd0: Dumping Card State at program address 0x27 Mode 0x33
+Card was paused
+INTSTAT[0x8]:(SCSIINT) SELOID[0x2] SELID[0x20] HS_MAILBOX[0x0]
+INTCTL[0xc0]:(SWTMINTEN|SWTMINTMASK) SEQINTSTAT[0x10]:(SEQ_SWTMRTO)
+SAVED_MODE[0x11] DFFSTAT[0x20]:(CURRFIFO_0|FIFO1FREE)
+SCSISIGI[0x76]:(P_DATAIN_DT|REQI|BSYI|ATNI) SCSIPHASE[0x2]:(DATA_IN_PHASE)
+SCSIBUS[0x5] LASTPHASE[0x1]:(P_DATAOUT|P_BUSFREE)
+SCSISEQ0[0x0] SCSISEQ1[0x12]:(ENAUTOATNP|ENRSELI)
+SEQCTL0[0x10]:(FASTMODE) SEQINTCTL[0x0] SEQ_FLAGS[0x0]
+SEQ_FLAGS2[0x0] QFREEZE_COUNT[0x39] KERNEL_QFREEZE_COUNT[0x39]
+MK_MESSAGE_SCB[0xff00] MK_MESSAGE_SCSIID[0xff] SSTAT0[0x0]
+SSTAT1[0x19]:(REQINIT|BUSFREE|PHASEMIS) SSTAT2[0x0]
+SSTAT3[0x0] PERRDIAG[0x0] SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO)
+LQISTAT0[0x0] LQISTAT1[0x0] LQISTAT2[0x80]:(PACKETIZED)
+LQOSTAT0[0x0] LQOSTAT1[0x0] LQOSTAT2[0x81]:(LQOSTOP0)
+
+SCB Count = 512 CMDS_PENDING = 11 LASTSCB 0x1f3 CURRSCB 0x1f3 NEXTSCB 0xffc0
+qinstart = 59875 qinfifonext = 59875
+QINFIFO:
+WAITING_TID_QUEUES:
+Pending list:
+499 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27]
+508 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27]
+419 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27]
+451 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27]
+414 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27]
+406 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27]
+450 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27]
+417 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27]
+500 FIFO_USE[0x1] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27]
+403 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27]
+501 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27]
+Total 11
+Kernel Free SCB lists:
+  Any Device: 481 411 492 488 457 484 496 469 468 461 497 449 502 487 480
416 454
467 506 478 505 503 494 400 459 412 489 420 498 485 495 464 460 410 421
483 455 507
458 409 404 493 511 448 399 472 408 415 418 413 482 490 452 476 407 510
477 401 466
473 463 479 471 491 405 462 465 456 486 402 504 429 422 423 424 470 425
426 475 474
427 428 430 431 432 433 434 435 436 509 453 447 440 441 442 443 444 445
446 437 438
439 398 397 396 395 394 393 392 391 390 389 388 387 386 385 384 383 382
381 380 379
378 377 376 375 374 373 372 371 370 369 368 367 366 365 364 363 362 361
360 359 358
357 356 355 354 353 352 351 350 349 348 347 346 345 344 343 342 341 340
339 338 337
336 335 334 333 332 331 330 329 328 327 326 325 324 323 322 321 320 319
318 317 316
315 314 313 312 311 310 309 308 307 306 305 304 303 302 301 300 299 298
297 296 295
294 293 292 291 290 289 288 287 286 285 284 283 282 281 280 279 278 277
276 275 274
273 272 271 270 269 268 267 266 265 264 263 262 261 260 259 258 25!
 7 256 255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240 239
238 237
236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219
218 217 216
215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198
197 196 195
194 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177
176 175 174
173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156
155 154 153
152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135
134 133 132
131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114
113 112 111
110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90
89 88 87
86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62
61 60 59
58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34
33 32 31
30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4
3 2 1 0
+Sequencer Complete DMA-inprog list:
+Sequencer Complete list:
+Sequencer DMA-Up and Complete list:
+Sequencer On QFreeze and Complete list:
+
+
+ahd0: FIFO0 Active, LONGJMP == 0x286, SCB 0x1a1
+SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA|ENSAVEPTRS)
+SEQINTSRC[0x0] DFCNTRL[0xc]:(DIRECTION|HDMAEN)
DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL)
+SG_CACHE_SHADOW[0xa3]:(LAST_SEG_DONE|LAST_SEG) SG_STATE[0x0]
+DFFSXFRCTL[0x0] SOFFCNT[0xb] MDFFSTAT[0x12]:(DATAINFIFO|LASTSDONE)
+SHADDR = 0x07e154000, SHCNT = 0x0 HADDR = 0x07e154000, HCNT = 0x0
+CCSGCTL[0x10]:(SG_CACHE_AVAIL)
+
+ahd0: FIFO1 Free, LONGJMP == 0x8286, SCB 0x1c1
+SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA|ENSAVEPTRS)
+SEQINTSRC[0x0] DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL)

ASUS M2n - AMD64 supported by FreeBSD 6.2?

2007-02-17 Thread Gelsema, P \(Patrick\) - FreeBSD
Dear list,

i am currently deciding on hardware for a server at home which will manage
my email (Mailtoaster), website, dns, dhcp and samba. It will replace 2
boxes. The load is currently average 0.4 on a Dual Pentium 3 800mhz (thats
the old mailserver - FreeBSD 5.4) and the other is just a windows 2003
file/ad/dns server. So no need for a lot of muscle.

I don't want to buy the bleeding edge and not the most expensive stuff. I
want reliable equipment which also doesnt generate a lot of heat and
noise. (Picky, i know ;-) )

At the moment I have come up with the following:
* Asus M2N with nVidia NForce 430 chipset
* AMD Athlon 64 X2 EE 3800+
* 2 Gigabyte of memory (DDR2 800mhz)
* Adaptec 390320D SCSI for systemdisks (3 x U320 15k drives (got these
spare - better use them)
* 4 x 500GB SATA 2 drives from Western Digital (Raid 5)

I got the following questions;

Question 1: is the SATA2 Raid 5 setup supported for the Nvidia 430
chipset? In my searches in basically all lists of Freebsd it seems there
were issues reported?

Question 2: Is the Hostraid functionality of the Adaptec card supported by
FreeBSD? For windows boxes additional software is required, will it be
supported out of the box by FreeBSD?

Question 3: Nvidia Nforce5 is this supported by FreeBSD 6.2 and will I be
able to build a RAID 5 set and use this in FreeBSD? I have seen emails in
lists which show issues.

Of course any suggestions regarding hardware is also appreciated.

Many thanks for allowing me to use your bandwidth!

Regards,

Patrick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


named.conf - unable to set control bit

2007-11-30 Thread Gelsema, P (Patrick) - FreeBSD
Hi list,

I have got the following issue. I have added the following settings in
named.conf but am unable to get it working. If I read the man page it
seems that what I have put in is completely correct.

REason to put it in is that I want the DHCP server to automatically update
the DNS zone.

the error I get is:

Nov 30 14:09:31 hulk named[6848]: reloading configuration failed: failure
Nov 30 14:09:45 hulk named[6848]: /etc/namedb/named.conf:20: expected
'allow' near ';'
Nov 30 14:09:45 hulk named[6848]: reloading configuration failed:
unexpected token

head -n 25 /etc/named/named.conf
# generated with dnssec-keygen -a HMAC-MD5 -b 128 -n USER DHCP_UPDATER
key DHCP_UPDATER {
algorithm HMAC-MD5.SIG-ALG.REG.INT;
secret hashedstring==;
};

acl home {10.202.77.0/24;127.0.0.1;};

options {
// Relative to the chroot directory, if any
directory   /etc/namedb;
pid-file/var/run/named/pid;
dump-file   /var/dump/named_dump.db;
statistics-file /var/stats/named.stats;
allow-query {home; };

};

controls {
inet 127.0.0.1 port 953;
allow { 127.0.0.1;10.202.77.110; } keys { DHCP_UPDATER; };
};

Line 20 is where controls start.

Any help much appreciated.

rgds,

Patrick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: named.conf - unable to set control bit

2007-12-01 Thread Gelsema, P (Patrick) - FreeBSD
On Fri, November 30, 2007 20:11, David Robillard wrote:
Hi list,

I have got the following issue. I have added the following settings in
named.conf but am unable to get it working. If I read the man page it
seems that what I have put in is completely correct.

REason to put it in is that I want the DHCP server to automatically
 update
the DNS zone.

the error I get is:

Nov 30 14:09:31 hulk named[6848]: reloading configuration failed: failure
Nov 30 14:09:45 hulk named[6848]: /etc/namedb/named.conf:20: expected
'allow' near ';'
Nov 30 14:09:45 hulk named[6848]: reloading configuration failed:
unexpected token

head -n 25 /etc/named/named.conf
# generated with dnssec-keygen -a HMAC-MD5 -b 128 -n USER DHCP_UPDATER
key DHCP_UPDATER {
 algorithm HMAC-MD5.SIG-ALG.REG.INT;
 secret hashedstring==;
 };

acl home {10.202.77.0/24;127.0.0.1;};

options {
 // Relative to the chroot directory, if any
 directory   /etc/namedb;
 pid-file/var/run/named/pid;
 dump-file   /var/dump/named_dump.db;
 statistics-file /var/stats/named.stats;
 allow-query {home; };

};

controls {
 inet 127.0.0.1 port 953;
allow { 127.0.0.1;10.202.77.110; } keys { DHCP_UPDATER; };
};

Line 20 is where controls start.

Any help much appreciated.

rgds,

Patrick

 Patrick,

 When you update your named.conf file, make sure you run a syntax check
 before (re)starting named. Here's how you do it:

 named-checkconf /path/to/your/named.conf  echo $?

Thanks for the command.


 If echo returns zero, then you're good to go. Otherwise, fix whatever
 problem is displayed.

 In your case, you need to remove one semi-colomn (;) to fix your
 problem. Here's what your control statement should look like:

 controls {
  inet 127.0.0.1 port 953 allow { 127.0.0.1;10.202.77.110; }
 keys { DHCP_UPDATER; };
 };


Ok. I was in the impression that the inet line had to be a seperate line.
Changing it on one line and removing the ; solved it for me.

Thanks

 Cheers,

 David
 --
 David Robillard
 UNIX systems administrator  Oracle DBA
 CISSP, RHCE  Sun Certified Security Administrator
 Montreal: +1 514 966 0122


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


named / BIND 9.4.1-P1 /etc/named/master ownership

2007-12-03 Thread Gelsema, P (Patrick) - FreeBSD
Hi list,

I've got the following.

Everytime when I start /etc/rc.d/named I get the following issue.
hulk# /etc/rc.d/named start
etc/namedb/master changed
user expected 0 found 53 modified
gid expected 0 found 53 modified
Starting named.

If I leave it like this I get the following in /var/log/messages
Dec  3 19:10:57 hulk named[854]: dumping master file:
master/tmp-giHHnonSuW: open: permi
ssion denied
Dec  3 19:21:12 hulk named[854]: dumping master file:
master/tmp-MnAidukvm5: open: permi
ssion denied
Dec  3 19:25:48 hulk named[854]: dumping master file:
master/tmp-sCNwwiScbK: open: permi
ssion denied

This is solved if I do the following:
hulk# chown bind:bind /etc/named/master

However when I restart the service the problem re-appears.

In /etc/rc.conf I got the following.
hulk# cat /etc/rc.conf | grep named
named_enable=YES
named_uid=bind
named_chrootdir=/var/named

I find it weird that named resets the ownership of the master directory as
named is running under uid bind and would require ownership or permissions
to dump, change any of the files.

Rgds,

Patrick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: named / BIND 9.4.1-P1 /etc/named/master ownership

2007-12-03 Thread Gelsema, P (Patrick) - FreeBSD
On Mon, December 3, 2007 23:29, Philip M. Gollucci wrote:
 When I change the ownership, problem goes away.
 How can I get the problem away without changing the ownership?
 in the options {} section
 what do you have for:

 options {
 // Relative to the chroot directory
   // named_chrootdir=/var/named
 directory   /etc/namedb;
 pid-file/var/run/named/pid;
 dump-file   /var/dump/named_dump.db;
 statistics-file /var/stats/named.stats;
 .


acl home {10.202.77.0/24;127.0.0.1;};

options {
// Relative to the chroot directory, if any
directory   /etc/namedb;
pid-file/var/run/named/pid;
dump-file   /var/dump/named_dump.db;
statistics-file /var/stats/named.stats;
allow-query {home; };
listen-on   { 10.202.77.110;
  127.0.0.1; };


Ok.. In the /var directory there is no dump directory. So solving this I
should do the following:

hulk# mkdir /var/dump
hulk# chown bind:bind /var/dump

Is that correct?

Whilst I am on the BIND topic, does BIND automatically refreshed the
content of a zone. Will it notice that the serial of a loaded zone has
been changed and reload it?

Rgds,

Patrick

 --
 
 Philip M. Gollucci ([EMAIL PROTECTED])
 o:703.549.2050x206
 Senior System Admin - Riderway, Inc.
 http://riderway.com / http://ridecharge.com
 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

 Work like you don't need the money,
 love like you'll never get hurt,
 and dance like nobody's watching.



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


Re: named / BIND 9.4.1-P1 /etc/named/master ownership

2007-12-03 Thread Gelsema, P (Patrick) - FreeBSD
On Mon, December 3, 2007 23:03, Philip M. Gollucci wrote:
 Gelsema, P (Patrick) - FreeBSD wrote:
 In /etc/rc.conf I got the following.
 hulk# cat /etc/rc.conf | grep named
 named_enable=YES
 named_uid=bind
 named_chrootdir=/var/named
 grep named /etc/defaults/rc.conf
 # named.  It may be possible to run named in a sandbox, man security for
 named_enable=NO   # Run named, the DNS server (or NO).
 named_program=/usr/sbin/named # path to named, if you want a different
 one.
 #named_flags= # Flags for named
 named_pidfile=/var/run/named/pid # Must set this in named.conf as well
 named_uid=bind# User to run named as
 named_chrootdir=/var/named# Chroot directory (or  not to
 auto-chroot it)
 named_chroot_autoupdate=YES   # Automatically install/update chrooted
 # components of named. See
 /etc/rc.d/named.
 named_symlink_enable=YES  # Symlink the chrooted pid file


 As you can see, your named_uid and named_chrootdir are not needed, that
 is the default.

 The thing causing your issue is named_chroot_autoupdate=YES (the
 default) and it is correct to do so, you should not be changing these
 without very good reason.

Okido. I understand that. The fact is that I do get lines logged that
permission is denied for dump:

Dec  3 21:36:51 hulk named[854]: dumping master file:
master/tmp-aET3vZVt47: open: permission denied
Dec  3 21:42:22 hulk named[854]: dumping master file:
master/tmp-Epzp4gKXgI: open: permission denied

When I change the ownership, problem goes away.
How can I get the problem away without changing the ownership?

Rgds,

Patrick


 --
 
 Philip M. Gollucci ([EMAIL PROTECTED])
 o:703.549.2050x206
 Senior System Admin - Riderway, Inc.
 http://riderway.com / http://ridecharge.com
 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

 Work like you don't need the money,
 love like you'll never get hurt,
 and dance like nobody's watching.

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


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


Re: named / BIND 9.4.1-P1 /etc/named/master ownership

2007-12-03 Thread Gelsema, P (Patrick) - FreeBSD
On Mon, December 3, 2007 23:44, Philip M. Gollucci wrote:
 Philip M. Gollucci wrote:
 Gelsema, P (Patrick) - FreeBSD wrote:
 Ok.. In the /var directory there is no dump directory. So solving this
 I
 should do the following:

 hulk# mkdir /var/dump
 hulk# chown bind:bind /var/dump
 Well, if its relative to the chroot, its
 /var/named/var/dump


hulk# pwd
/var/named/var
hulk# ll
total 8
drwxr-xr-x  2 bind  wheel  512 Aug 17 05:10 dump
drwxr-xr-x  2 bind  wheel  512 Aug 17 05:10 log
drwxr-xr-x  3 bind  wheel  512 Dec  3 15:46 run
drwxr-xr-x  2 bind  wheel  512 Aug 17 05:10 stats

uhmpf.. That directory does exist and bind has permissions.
I will do a search on BIND dumps and read some manpages tomorrow. See if
that will shed some light.

Thanks

Patrick




 --
 
 Philip M. Gollucci ([EMAIL PROTECTED])
 o:703.549.2050x206
 Senior System Admin - Riderway, Inc.
 http://riderway.com / http://ridecharge.com
 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

 Work like you don't need the money,
 love like you'll never get hurt,
 and dance like nobody's watching.

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


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


Re: FreeBSD 7.0-Release

2007-07-03 Thread Gelsema, P \(Patrick\) - FreeBSD
On Tue, July 3, 2007 01:33, Pietro Cerutti wrote:

 matt donovan wrote:
 it's on the freebsd site but the code freeze has begun so some are
 guessing
   /\/\

 Did you mean it isn't, right? Because I just can't find any infos
 about the releng schedule for 7-RELEASE..

http://www.freebsd.org/releng

Rgds,

Patrick


 around October or so

 On 7/2/07, Joe Vender [EMAIL PROTECTED] wrote:

 Has a release date been set for FreeBSD 7.0-Release? If not, how about
 an
 (educated guess) approximate date, month?

 Joe

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

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


 --
 Pietro Cerutti

 PGP Public Key:
 http://gahr.ch/pgp


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


Re: SMP options and core dump failure

2007-07-03 Thread Gelsema, P \(Patrick\) - FreeBSD
On Tue, July 3, 2007 02:59, Yong Rao wrote:
 Hello,



 We have a problem with SMP kernel. It could not dump out core when the
 crash happens.

Which version of FreeBSD? -Current?

better ask in [EMAIL PROTECTED] or file a PR.
http://www.freebsd.org/send-pr.html

Rgds,

Patrick





 I am able to isolate the problem to kernel configurations which have SMP
 enabled when used with 2 cpus.

 With ONE cpu the core dump works ok.



 I built the kernel with GENERIC, and deliberately crash the kernel (for
 testing purpose). The core dump works fine.

 Only added the options SMP and crashed the kernel, then prior to any
 pages being dumped out, it hangs there.



 Has someone successfully core dumped on a system using SMP kernel with
 multiple CPUs?



 I tried on two different boxes (different motherboards, CPUs and hard
 disks). Both got failed.



 I tried to enable the DDB, but don't know what to look for when it goes
 into ddb. Appreciate any pointers.



 a) The CPU information is



 CPU: Dual Core AMD Opteron(tm) Processor 280 (2405.47-MHz 686-class CPU)

   Origin = AuthenticAMD  Id = 0x20f12  Stepping = 2


 Features=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE
 ,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,S

 SE,SSE2,HTT

   Features2=0x1SSE3

   AMD Features=0xe2500800SYSCALL,NX,MMX+,FFXSR,LM,3DNow+,3DNow

   AMD Features2=0x3LAHF,CMP

   Cores per package: 2





 b) We also tried on another mother board, which has 2 CPUs. The CPU
 information is below.



 CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2800.11-MHz 686-class CPU)

   Origin = GenuineIntel  Id = 0xf29  Stepping = 9


 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE
 ,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE

   Features2=0x4400CNTX-ID,b14

 real memory  = 2147418112 (2047 MB)

 avail memory = 2096300032 (1999 MB)

 ACPI APIC Table: A M I  OEMAPIC 

 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs  cpu0 (BSP): APIC
 ID:  0

  cpu1 (AP): APIC ID:  6





 c) The following are the prints when the dump hung.



 mem dump: start address = 0x4352, len=0x30








 Fatal trap 12: page fault while in kernel mode


 cpuid = 1; apic id = 01


 fault virtual address   = 0x4352


 fault code  = supervisor read, page not present


 instruction pointer = 0x20:0xc9e9fc92


 stack pointer   = 0x28:0xebdbdbdc


 frame pointer   = 0x28:0xebdbdbf8


 code segment= base 0x0, limit 0xf, type 0x1b


 = DPL 0, pres 1, def32 1, gran 1


 processor eflags= interrupt enabled, resume, IOPL = 0


 current process = 74231 (pnicdbg)


 trap number = 12


 panic: page fault


 cpuid = 1


 Uptime: 1d18h27m42s


 Dumping 4030 MB (2 chunks)


   chunk 0: 1MB (154 pages) ... ok


   chunk 1: 4031MB (1031776 pages)   (stopped and hung here)





 Thanks,



 Yong Rao

 Force10 Networks Inc.

 350 Holger Way

 San Jose, CA 95132

 408 571 6317



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


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


Re: virtualized network interfaces within jails

2007-07-11 Thread Gelsema, P \(Patrick\) - FreeBSD
On Wed, July 11, 2007 17:05, Joe Barnes wrote:

 Hello all

 I'm attempting to run bind from multiple jails in 6.2, but I can't sem
  to configure my jail such that its unable to see any other physical
  interfaces.   I want to run several jails on the same physical interface
  with a vlan associated with each virtual interface. Each finished jail
  should appear to have only one interface running virtually on a physical
  NIC in the host OS.  Once inside the jail, I only want to see the
  virtual interface appear as a physical interface, without indicating it
 is
  associated with a vlan on the host OS.  Xen on fedora appears to be
  able to do this, but I'd prefer to get this working as a jail.

http://www.freebsd.org/news/status/report-2007-04-2007-06.html#Network-Stack-Virtualization

Rgds,

Patrick


 Hardware appears to be suported (Dell 1950, with Broadcom NetX2
  cards)... any help is appreciated.

 ~Joe


 -
 Yahoo! oneSearch: Finally,  mobile search that gives answers, not web
 links.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]


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


Re: kernel compilation fails

2007-07-22 Thread Gelsema, P \(Patrick\) - FreeBSD
On Sun, July 22, 2007 13:28, Nicolas Haller wrote:
 Hi all,

 I have a little problem trying to compile a -CURRENT kernel.
 The compilation fails with this message:

 /usr/src/sys/dev/usb/usb_quirks.c:111: error: 'USB_PRODUCT_METAGEEK_WISPY'
 undeclared here (not in a function)

This is known, introduced with commit:
http://lists.freebsd.org/pipermail/cvs-src/2007-July/080810.html

Keep an eye on
http://lists.freebsd.org/pipermail/cvs-src/2007-July/thread.html to see if
it has been fixed. In the mean time you could use a previous version of
the file, you can get this from the cvsweb.

Cheers

Patrick


 Config and make depend run succefully but compilation fails (done with
 make buildkernel).

 I give you the kernel config file.

 cheers,

 --
 Nicolas Haller
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

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


something wrong with freebsd-current maillist?

2007-05-19 Thread Gelsema, P \(Patrick\) - FreeBSD
Hi,

I sent about an hour ago an email to the freebsd-current maillinglist.
This email has not yet arrived to the list, I can see the email leaving my
mailserver and being delivered to one of the freebsd boxes but after that
it seems stuck.
Also when I look at the archives the last message date is Wed May 16
20:06:09 UTC 2007.

I got an issue with the current that I cannot make update anymore. I get
the following error: /libexec/ld-elf.so.1: /lib/libthr.so.2: unsupported
file layout.

I tried rebuilding world, installing cvsup from ports but both failed. Any
pointers appreciated.

hulk# uname -a
FreeBSD hulk.superhero.nl 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Fri May 18
17:10:44 CEST 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  amd64
hulk# pwd
/usr/src
hulk# make update
--
 Running /usr/bin/csup
--
/libexec/ld-elf.so.1: /lib/libthr.so.2: unsupported file layout
*** Error code 1

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

Stop in /usr/src.
hulk#

Rgds,

Patrick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Release Schedules

2007-06-07 Thread Gelsema, P \(Patrick\) - FreeBSD
On Thu, June 7, 2007 17:28, Tom Grove wrote:
 Are there release schedules for 6.3 and 7.0 up on the web somewhere?
 Something like:

 http://www.freebsd.org/releases/6.2R/schedule.html


http://www.freebsd.org/releng/index.html

Patrick

 -Tom
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]


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


Re: accessing a jailed samba server

2008-02-13 Thread Gelsema, P (Patrick) - FreeBSD
On Wed, February 13, 2008 17:44, Dave wrote:
 Hello,
 Has anyone got samba running in a jail? And if so, is it possible to
 access that server from outside this jail? I'm implementing some items in
 a
 jailed environment and now have to test samba before going production.
 If any workarounds are needed i'd appreciate knowing them.
 Thanks.
 Dave.


Running Samba within a jail on Freebsd 7-RC2 serving data from a ZFS pool.
No issues or anything special required.

Rgds,

Patrick

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


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


bsd.port.mk broken: malformed conditional

2008-02-29 Thread Gelsema, P (Patrick) - FreeBSD
Hi,

When I run portupgrade I get errors and portupgrade crashes.
Any ideas?

Running:
FreeBSD wolverine.superhero.nl 7.0-RELEASE
FreeBSD 7.0-RELEASE #0: Sun Feb 24 14:28:41 CET 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/WOLVERINE  i386


wolverine# portupgrade -ai
---  Session started at: Fri, 29 Feb 2008 15:59:35 +0100
** Makefile possibly broken: devel/pear:
/usr/ports/Mk/bsd.php.mk, line 337: Malformed conditional
(${_USE_PHP_VER${PHP_VER}:Mpcre} != )
/usr/ports/Mk/bsd.php.mk, line 337: Malformed conditional
(${_USE_PHP_VER${PHP_VER}:Mxml} != )
/usr/ports/Mk/bsd.port.mk, line 6144: if-less endif
/usr/ports/Mk/bsd.port.mk, line 6147: if-less endif
make: fatal errors encountered -- cannot continue
---  Session ended at: Fri, 29 Feb 2008 15:59:57 +0100 (consumed 00:00:22)
/usr/local/sbin/portupgrade:1433:in `get_pkgname': Makefile broken
(MakefileBrokenError)
from /usr/local/sbin/portupgrade:622:in `main'
from /usr/local/sbin/portupgrade:613:in `each'
from /usr/local/sbin/portupgrade:613:in `main'
from /usr/local/sbin/portupgrade:588:in `catch'
from /usr/local/sbin/portupgrade:588:in `main'
from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `call'
from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `parse_in_order'
from /usr/local/lib/ruby/1.8/optparse.rb:1299:in `catch'
 ... 6 levels...
from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize'
from /usr/local/sbin/portupgrade:229:in `new'
from /usr/local/sbin/portupgrade:229:in `main'
from /usr/local/sbin/portupgrade:2173

Rgds,

Patrick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: bsd.port.mk broken: malformed conditional

2008-03-01 Thread Gelsema, P (Patrick) - FreeBSD
On Fri, February 29, 2008 16:40, Lystopad Oleksandr wrote:
  Hello, Gelsema, P (Patrick) - FreeBSD!

 On Fri, Feb 29, 2008 at 04:06:44PM +0100
 [EMAIL PROTECTED] wrote about bsd.port.mk broken: malformed
 conditional:
 Hi,

 When I run portupgrade I get errors and portupgrade crashes.
 Any ideas?

 Similar trouble.
 Completly deleting /var/db/portsnap/ + /usr/ports and portsnap
 again helps me.

I don't use portsnap, so I just deleted /usr/ports after which I issued
the portupgrade -ai command again. No avail, still same error. Someone
more ideas?

Error:
wolverine# portupgrade -ai
---  Session started at: Sat, 01 Mar 2008 19:08:06 +0100
[Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 223 packages
found (-0 +1) . done]
/usr/ports/INDEX-7.bz2100% of 1161 kB  353 kBps
done
[Updating the portsdb format:bdb_btree in /usr/ports ... - 18151 port
entries found
.1000.2000.3000.4000.5000.6000.7000.8000.9000.1.11000.12000.13000.14000.15000.16000.17000.18000.
. done]
** Makefile possibly broken: devel/pear:
/usr/ports/Mk/bsd.php.mk, line 337: Malformed conditional
(${_USE_PHP_VER${PHP_VER}:Mpcre} != )
/usr/ports/Mk/bsd.php.mk, line 337: Malformed conditional
(${_USE_PHP_VER${PHP_VER}:Mxml} != )
/usr/ports/Mk/bsd.port.mk, line 6144: if-less endif
/usr/ports/Mk/bsd.port.mk, line 6147: if-less endif
make: fatal errors encountered -- cannot continue
---  Session ended at: Sat, 01 Mar 2008 19:08:43 +0100 (consumed 00:00:37)
/usr/local/sbin/portupgrade:1433:in `get_pkgname': Makefile broken
(MakefileBrokenError)
from /usr/local/sbin/portupgrade:622:in `main'
from /usr/local/sbin/portupgrade:613:in `each'
from /usr/local/sbin/portupgrade:613:in `main'
from /usr/local/sbin/portupgrade:588:in `catch'
from /usr/local/sbin/portupgrade:588:in `main'
from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `call'
from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `parse_in_order'
from /usr/local/lib/ruby/1.8/optparse.rb:1299:in `catch'
 ... 6 levels...
from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize'
from /usr/local/sbin/portupgrade:229:in `new'
from /usr/local/sbin/portupgrade:229:in `main'
from /usr/local/sbin/portupgrade:2173




 Running:
 FreeBSD wolverine.superhero.nl 7.0-RELEASE
 FreeBSD 7.0-RELEASE #0: Sun Feb 24 14:28:41 CET 2008
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/WOLVERINE  i386


 wolverine# portupgrade -ai
 ---  Session started at: Fri, 29 Feb 2008 15:59:35 +0100
 ** Makefile possibly broken: devel/pear:
 /usr/ports/Mk/bsd.php.mk, line 337: Malformed conditional

 --
  Oleksandr Lystopad


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


Re: FW: VMWare Tools for FreeBSD

2008-03-17 Thread Gelsema, P (Patrick) - FreeBSD
On Tue, March 18, 2008 11:40, Peter Boosten wrote:

 Terry Sposato wrote:

 Ted / Jeff,

 Could you please let me know where to download these free vm tools. The
 only description at google I can find is that of the actual VMWare Tools
 by VMWare. If you point me to a download link that would be great!


 Although my name isn't Ted or Jeff I will post the link :-)

 This is from a discussion last week:

 http://open-vm-tools.sourceforge.net/


Just to confirm. This one runs on RELENG_7_0?
It allows dymanic memory management by the VM Ware host?

It also allows the VMWare host to gracefully shutdown the Freebsd guest?

thanks

Patrick Gelsema




 Peter
 --
 http://www.boosten.org
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]


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


Re: FW: VMWare Tools for FreeBSD

2008-03-18 Thread Gelsema, P (Patrick) - FreeBSD
On Tue, March 18, 2008 12:23, Peter Boosten wrote:
 Gelsema, P (Patrick) - FreeBSD wrote:
 On Tue, March 18, 2008 11:40, Peter Boosten wrote:

 http://open-vm-tools.sourceforge.net/


 Just to confirm. This one runs on RELENG_7_0?

 quote
 Kernel modules for FreeBSD, including an experimental port of HGFS to
 FreeBSD.
 /quote

 It allows dymanic memory management by the VM Ware host?
  
   It also allows the VMWare host to gracefully shutdown the Freebsd
 guest?
  

I get an error running an install on RELENG_7_0 I386.

Making check in hgfsmounter
gcc -DPACKAGE_NAME=\open-vm-tools\ -DPACKAGE_TARNAME=\open-vm-tools\
-DPACKAGE_VERSION=\2008.03.03-79993\ -DPACKAGE_STRING=\open-vm-tools\
2008.03.03-79993\
-DPACKAGE_BUGREPORT=\[EMAIL PROTECTED]
-DPACKAGE=\open-vm-tools\ -DVERSION=\2008.03.03-79993\
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
-DX_DISPLAY_MISSING=1 -DHAVE_DLOPEN=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_WCHAR_H=1 -DHAVE_SYS_PARAM_H=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_USER_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1
-DHAVE_STRUCT_STAT_ST_RDEV=1 -DTIME_WITH_SYS_TIME=1 -DNO_MULTIMON=1 -I.   
 -Wall -Werror -Wno-pointer-sign -Wno-unused-value -fno-strict-aliasing
-Wno-unknown-pragmas -Wno-uninitialized -DVMX86_TOOLS
-I/tmp/open-vm-tools-2008.03.03-79993/lib/include -DUSING_AUTOCONF=1 -MT
hgfsmounter.o -MD -MP -MF .deps/hgfsmounter.Tpo -c -o hgfsmounter.o
hgfsmounter.c
hgfsmounter.c: In function 'ParseOptions':
hgfsmounter.c:607: error: 'MNT_NODEV' undeclared (first use in this function)
hgfsmounter.c:607: error: (Each undeclared identifier is reported only once
hgfsmounter.c:607: error: for each function it appears in.)
*** Error code 1

Someone seen this before?

Rgds,

Patrick


 quote
 The following components have been released as OSS:

  * Drivers for devices and filesystems access
  * Memory ballooning
  * Shared folders
  * Drag and Drop, Text and File Copy/Paste
  * Clipboard sharing
  * Disk wiping and shrinking
  * Time synchronization
  * Automatic guest screen resolution resizing
  * GuestInfo (provides statistics about guest environment)
  * Guest SDK (provides information about the VM)
  * Soft power operations
  * Multiple monitor support
  * GTK Toolbox UI
 /quote

 Peter

 --
 http://www.boosten.org


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


Re: Error code 1 upon building-installing kernel FreeBSD 7.0

2008-03-20 Thread Gelsema, P (Patrick) - FreeBSD
On Thu, March 20, 2008 15:06, Indiana Jones wrote:
 Hi,

 If anybody could help, I'd be most grateful.
 I have been getting this error message during buildinfg and
 installing a custom kernel on FreeBSD 7.0, after make depend command!

SCTP requires options INET6 to be set in kernel conf.

Either remove SCTP or add INET6

Cheers

Patrick


 linking kernel.debug
 uipc_syscalls.o(.text+0x3c1): In function `sctp_generic_recvmsg':
 ../../../kern/uipc_syscalls.c:2608: undefined reference to
 `sctp_sorecvmsg'
 uipc_syscalls.o(.text+0x21a2): In function
 `sctp_generic_sendmsg_iov':
 ../../../kern/uipc_syscalls.c:2486: undefined reference to
 `sctp_lower_sosend'
 uipc_syscalls.o(.text+0x249d): In function `sctp_generic_sendmsg':
 ../../../kern/uipc_syscalls.c:2379: undefined reference to
 `sctp_lower_sosend'
 uipc_syscalls.o(.text+0x266c): In function `sctp_peeloff':
 ../../../kern/uipc_syscalls.c:2246: undefined reference to
 `sctp_can_peel_off'
 uipc_syscalls.o(.text+0x28e6):../../../kern/uipc_syscalls.c:2287:
 undefined reference to `sctp_do_peeloff'
 rtsock.o(.text+0xb7d): In function `rt_newaddrmsg':
 ../../../net/rtsock.c:897: undefined reference to `sctp_addr_change'
 in_proto.o(.data+0xa8): undefined reference to `sctp_input'
 in_proto.o(.data+0xb0): undefined reference to `sctp_ctlinput'
 in_proto.o(.data+0xb4): undefined reference to `sctp_ctloutput'
 in_proto.o(.data+0xbc): undefined reference to `sctp_init'
 in_proto.o(.data+0xc8): undefined reference to `sctp_drain'
 in_proto.o(.data+0xcc): undefined reference to `sctp_usrreqs'
 in_proto.o(.data+0xdc): undefined reference to `sctp_input'
 in_proto.o(.data+0xe4): undefined reference to `sctp_ctlinput'
 in_proto.o(.data+0xe8): undefined reference to `sctp_ctloutput'
 in_proto.o(.data+0xfc): undefined reference to `sctp_drain'
 in_proto.o(.data+0x100): undefined reference to `sctp_usrreqs'
 in_proto.o(.data+0x110): undefined reference to `sctp_input'
 in_proto.o(.data+0x118): undefined reference to `sctp_ctlinput'
 in_proto.o(.data+0x11c): undefined reference to `sctp_ctloutput'
 in_proto.o(.data+0x130): undefined reference to `sctp_drain'
 in_proto.o(.data+0x134): undefined reference to `sctp_usrreqs'

 *** Error code 1

 Stop in /usr/src/sys/i386/compile/WWW.
 WWW#

 My Config file is as follows:

 #
 # GENERIC -- Generic kernel configuration file for FreeBSD/i386
 #
 # For more information on this file, please read the handbook section
 on
 # Kernel Configuration Files:
 #
 #
 http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html

 #
 # The handbook is also available locally in /usr/share/doc/handbook
 # if you've installed the doc distribution, otherwise always see the
 # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
 # latest information.
 #
 # An exhaustive list of options and more detailed explanations of the

 # device lines is also present in the ../../conf/NOTES and NOTES
 files.
 # If you are in doubt as to the purpose or necessity of a line, check
 first
 # in NOTES.
 #
 # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.474.2.2.2.1 2008/02/06
 03:24:28 scottl Exp $

 #cpu I486_CPU
 #cpu I586_CPU
 cpu I686_CPU
 ident WWW

 # To statically compile in device wiring instead of
 /boot/device.hints
 #hints GENERIC.hints # Default places to look for devices.

 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols

 options SCHED_4BSD # 4BSD scheduler
 options PREEMPTION # Enable kernel thread preemption
 options INET # InterNETworking
 #options INET6 # IPv6 communications protocols
 options SCTP # Stream Control Transmission Protocol
 options FFS # Berkeley Fast Filesystem
 options SOFTUPDATES # Enable FFS soft updates support
 options UFS_ACL # Support for access control lists
 options UFS_DIRHASH # Improve performance on big directories
 options UFS_GJOURNAL # Enable gjournal-based UFS journaling
 options MD_ROOT # MD is a potential root device
 #options NFSCLIENT # Network Filesystem Client
 #options NFSSERVER # Network Filesystem Server
 #options NFS_ROOT # NFS usable as /, requires NFSCLIENT
 #options MSDOSFS # MSDOS Filesystem
 options CD9660 # ISO 9660 Filesystem
 options PROCFS # Process filesystem (requires PSEUDOFS)
 options PSEUDOFS # Pseudo-filesystem framework
 options GEOM_PART_GPT # GUID Partition Tables.
 options GEOM_LABEL # Provides labelization
 options COMPAT_43TTY # BSD 4.3 TTY compat [KEEP THIS!]
 options COMPAT_FREEBSD4 # Compatible with FreeBSD4
 options COMPAT_FREEBSD5 # Compatible with FreeBSD5
 options COMPAT_FREEBSD6 # Compatible with FreeBSD6
 #options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
 options KTRACE # ktrace(1) support
 options SYSVSHM # SYSV-style shared memory
 options SYSVMSG # SYSV-style message queues
 options SYSVSEM # SYSV-style semaphores
 options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time
 extensions
 options KBD_INSTALL_CDEV # install a CDEV entry in /dev
 options ADAPTIVE_GIANT # Giant mutex is adaptive.
 options STOP_NMI # Stop 

Installing DHCP server in a jail

2006-11-06 Thread Gelsema, P \(Patrick\) - FreeBSD
Hi,

I would like to install a DHCP server in a jail. Is this possible? I am
not sure as the DHCP server should be listening to broadcasts on the
network with a certain content (DHCP_DISCOVER if I am not mistaken). I am
currently running 5.4 but will be upgrading to 6.2 if released.

Furthermore which DHCP server should I use? Is there one in the ports?

Thanks

Patrick


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


Re: networking question.

2006-11-13 Thread Gelsema, P \(Patrick\) - FreeBSD
This is more a windows problem and specific more a WINS/NETBios/name
resolution problem.
Do you got a dns server? Some kind of domain?

What I understand from your story the following happens: Client queries on
netbios level; who is \\computername to the masterbrowser list, can't find
on local subnet, hence not found. Broadcasts don't travel beyond own
subnet unless otherwise configured.

What you should do is either connect via \\ip\share or get yourself some
kind of AD DNS or a WINS Server and tell your clients to use WINS/DNS for
name resolution. Then it should work.

Hope this helps

Patrick

On Mon, November 13, 2006 22:38, Marwan Sultan wrote:

 Hello Gurus,

192.168.0.1 is the internet server dialer (winXP) --- switch --
 192.168.0.2 FreeBSD 6.1 NAT 192.168.1.1
clients are 192.168.1.xxx everything works great, Internet goes to
 clients from the fbsd server
all IPs can ping each other.. 192.168.1.5 can ping 192.168.0.1
To here and its great.

 But when any client 192.168.1.x tries to access the shared files on
 192.168.0.1
 it cannot. it says not a correct path, and it cannot see it, although
 it
 can PING it.
 I asume the diffrences in IPs although its on same LAN makes this
 class
 cannot access the other.

 Can someone kindly shade a light, on what should I do ?


Thank you
Marwan Sultan.

 _
 FREE pop-up blocking with the new MSN Toolbar - get it now!
 http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

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


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


make.conf FreeBSD 6.2 RC1

2006-11-19 Thread Gelsema, P \(Patrick\) - FreeBSD
Hi,

I've recently installed 6.2-Beta3 and got KDE working with Xorg. As RC1 is
now released I want to upgrade to this version as I have been witnessing
some kernel errors and also want to 'play' with the system.

I've installed Xorg and KDE from the ports.

I am currently creating a make.conf file which should build the world but
nothing more than required. I have come up with the following but I am
unsure if certain lines shouldn't be commented out.
Such as NO_X. As I have build Xorg from the port, should I not build it
with the world?

Any suggestions are welcome.
Thank and regards,

Patrick

Start of /etc/make.conf
NO_I4B= true# do not build isdn4bsd package
NO_SHAREDOCS=   true# do not build the 4.4BSD legacy docs
NO_X=   true# do not compile in XWindows support (e.g. doscmd)
NOGAMES=true# do not build games (games/ subdir)
NOINFO= true# do not make or install info files
NO_BLUETOOTH=   true# do not build Bluetooth related stuff
NO_IPFILTER=true# do not build IP Filter package
NO_FORTRAN= true# do not build g77 and related libraries

COMPAT4X=   yes

NOPROFILE=true
NO_SENDMAIL=true
NO_LPR=true
NO_BIND=true

# added by use.perl 2006-11-15 21:59:37
PERL_VER=5.8.8
PERL_VERSION=5.8.8
end of /etc/make.conf
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sources version file?

2006-11-23 Thread Gelsema, P \(Patrick\) - FreeBSD
On Thu, November 23, 2006 16:46, Jonathan Horne wrote:
 ive searched the archives over the past 2 weeks or so unsuccessfully for
 this
 tidbit, which i have seen mentioned here before.  so, i re-ask:

 what is the path/filename of the sources file that says what version of
 the
 cvs sources have been downloaded?

# egrep REVISION|BRANCH /usr/src/sys/conf/newvers.sh
REVISION=5.4
BRANCH=RELEASE-p22
RELEASE=${REVISION}-${BRANCH}

Cheers

Patrick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


NFE setting manually to 1000baseT and half duplex

2008-06-07 Thread Gelsema, P (Patrick) - FreeBSD
Hi List,

I am using the nfe driver on Freebsd 7.0R and I am unable to change the
NIC driver manually to 1000baseT with half-duplex. I believe I am not
getting the max out of my network connection and want to see if changing
the duplex will help.

hulk# ifconfig nfe0 10.202.77.110 media 100baseTX
hulk# ifconfig nfe0
nfe0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
options=8VLAN_MTU
ether 00:18:f3:9f:f1:b4
inet6 fe80::218:f3ff:fe9f:f1b4%nfe0 prefixlen 64 scopeid 0x2
inet 10.202.77.113 netmask 0xff00 broadcast 10.202.77.255
inet 10.202.77.114 netmask 0xff00 broadcast 10.202.77.255
inet 10.202.77.76 netmask 0xff00 broadcast 10.202.77.255
inet 192.168.0.10 netmask 0xff00 broadcast 192.168.0.255
inet 192.168.1.10 netmask 0xff00 broadcast 192.168.1.255
inet 10.202.77.110 netmask 0xff00 broadcast 10.255.255.255
media: Ethernet 100baseTX (1000baseTX full-duplex)
status: active

Why between () the 1000baseTX? Is that the actual speed? The maximum speed?

hulk# ifconfig nfe0 10.202.77.110 media 1000baseT
ifconfig: SIOCSIFMEDIA (media): Device not configured

man nfe says this is possible.

hulk# ifconfig nfe0 10.202.77.110 media autoselect
hulk# ifconfig nfe0
nfe0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
options=8VLAN_MTU
ether 00:18:f3:9f:f1:b4
inet6 fe80::218:f3ff:fe9f:f1b4%nfe0 prefixlen 64 scopeid 0x2
inet 10.202.77.114 netmask 0xff00 broadcast 10.202.77.255
inet 10.202.77.76 netmask 0xff00 broadcast 10.202.77.255
inet 192.168.0.10 netmask 0xff00 broadcast 192.168.0.255
inet 192.168.1.10 netmask 0xff00 broadcast 192.168.1.255
inet 10.202.77.110 netmask 0xff00 broadcast 10.255.255.255
media: Ethernet autoselect (1000baseTX full-duplex)
status: active

hulk# ifconfig nfe0 mediaopt half-duplex
No errors but cant see if it works.

Question is, why cant I just do the following;
hulk# ifconfig nfe0 media 1000baseT mediaopt half-duplex

pciconf -lv
[EMAIL PROTECTED]:0:7:0:class=0x068000 card=0x82341043 chip=0x03ef10de
rev=0xa2 hdr=0x00
vendor = 'Nvidia Corp'
device = 'MCP61 Ethernet'
class  = bridge

hulk# uname -a
FreeBSD hulk.superhero.nl 7.0-RELEASE FreeBSD 7.0-RELEASE #1: Sun Feb 24
14:37:26 CET 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
 amd64
hulk#

Thanks and regards,

Patrick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NFE setting manually to 1000baseT and half duplex

2008-06-08 Thread Gelsema, P (Patrick) - FreeBSD
On Sun, June 8, 2008 00:49, Michael Toth wrote:
 Hi,
  You should be doing
 # ifconfig nfe0 10.202.77.110 media 1000baseTX--- note the 'X'



Thanks, tried this but same error.

hulk# ifconfig nfe0 10.202.77.110 media 1000baseTX
ifconfig: SIOCSIFMEDIA (media): Device not configured

hulk$ man nfe
The nfe driver supports the following media types:

 autoselect   Enable autoselection of the media type and options.

 10baseT/UTP  Set 10Mbps operation.

 100baseTXSet 100Mbps (Fast Ethernet) operation.

 1000baseTSet 1000Mbps (Gigabit Ethernet) operation (recent models
  only).

 The nfe driver supports the following media options:

 half-duplex  Force half duplex operation.

 full-duplex  Force full duplex operation.

Also for some strange reason I lost a couple of ip aliases and my default
route whilst trying to change the media and mediaopt.

I start to wonder if the combination 1000baseT and half duplex is
possible. However setting the NIC manually to 1000baseT doesnt work
either. IF set to autoselect it does negotiate to 1000baseT as I can see
on the switch.

Thanks

Patrick



 Gelsema, P (Patrick) - FreeBSD wrote:
 Hi List,

 I am using the nfe driver on Freebsd 7.0R and I am unable to change the
 NIC driver manually to 1000baseT with half-duplex. I believe I am not
 getting the max out of my network connection and want to see if changing
 the duplex will help.

 hulk# ifconfig nfe0 10.202.77.110 media 100baseTX
 hulk# ifconfig nfe0
 nfe0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
 1500
 options=8VLAN_MTU
 ether 00:18:f3:9f:f1:b4
 inet6 fe80::218:f3ff:fe9f:f1b4%nfe0 prefixlen 64 scopeid 0x2
 inet 10.202.77.113 netmask 0xff00 broadcast 10.202.77.255
 inet 10.202.77.114 netmask 0xff00 broadcast 10.202.77.255
 inet 10.202.77.76 netmask 0xff00 broadcast 10.202.77.255
 inet 192.168.0.10 netmask 0xff00 broadcast 192.168.0.255
 inet 192.168.1.10 netmask 0xff00 broadcast 192.168.1.255
 inet 10.202.77.110 netmask 0xff00 broadcast 10.255.255.255
 media: Ethernet 100baseTX (1000baseTX full-duplex)
 status: active

 Why between () the 1000baseTX? Is that the actual speed? The maximum
 speed?

 hulk# ifconfig nfe0 10.202.77.110 media 1000baseT
 ifconfig: SIOCSIFMEDIA (media): Device not configured

 man nfe says this is possible.

 hulk# ifconfig nfe0 10.202.77.110 media autoselect
 hulk# ifconfig nfe0
 nfe0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
 1500
 options=8VLAN_MTU
 ether 00:18:f3:9f:f1:b4
 inet6 fe80::218:f3ff:fe9f:f1b4%nfe0 prefixlen 64 scopeid 0x2
 inet 10.202.77.114 netmask 0xff00 broadcast 10.202.77.255
 inet 10.202.77.76 netmask 0xff00 broadcast 10.202.77.255
 inet 192.168.0.10 netmask 0xff00 broadcast 192.168.0.255
 inet 192.168.1.10 netmask 0xff00 broadcast 192.168.1.255
 inet 10.202.77.110 netmask 0xff00 broadcast 10.255.255.255
 media: Ethernet autoselect (1000baseTX full-duplex)
 status: active

 hulk# ifconfig nfe0 mediaopt half-duplex
 No errors but cant see if it works.

 Question is, why cant I just do the following;
 hulk# ifconfig nfe0 media 1000baseT mediaopt half-duplex

 pciconf -lv
 [EMAIL PROTECTED]:0:7:0:class=0x068000 card=0x82341043 
 chip=0x03ef10de
 rev=0xa2 hdr=0x00
 vendor = 'Nvidia Corp'
 device = 'MCP61 Ethernet'
 class  = bridge

 hulk# uname -a
 FreeBSD hulk.superhero.nl 7.0-RELEASE FreeBSD 7.0-RELEASE #1: Sun Feb 24
 14:37:26 CET 2008
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
  amd64
 hulk#

 Thanks and regards,

 Patrick
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

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


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


Change one file in an ISO image

2009-09-16 Thread Gelsema, P (Patrick) - FreeBSD
Hi list,

I need to change one file in an existing ISO image. It is a DVD image btw.
Unfortunately I dont have many options of changing the fie before creating
the image.

Mounting is not the issue, copying data neither but the ISO is also
bootable. There must be a simpler solution as in copying all the content
with cpio and making it bootable. OS on the DVD is WinPE btw.

Does anyone have some pointers for performing this action?

Rgds,

Patrick
___
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: Change one file in an ISO image

2009-09-17 Thread Gelsema, P (Patrick) - FreeBSD
On Thu, September 17, 2009 05:28, b. f. wrote:
 Patrick Gelsema wrote:
I need to change one file in an existing ISO image. It is a DVD image
 btw.
Unfortunately I dont have many options of changing the fie before
 creating
the image.

Mounting is not the issue, copying data neither but the ISO is also
bootable. There must be a simpler solution as in copying all the content
with cpio and making it bootable. OS on the DVD is WinPE btw.

Does anyone have some pointers for performing this action?

 Unfortunately, libarchive(3), which is used by tar(1) and cpio(1) on
 recent versions of FreeBSD, seems to have only read and extract
 support for ISO 9660 archives, and not write support (see
 libarchive-formats(5) or
 http://code.google.com/p/libarchive/wiki/LibarchiveFormats ).  So
 while you could use tar(1) or cpio(1) to extract the contents of the
 dvd without mounting it in order to make your change,  you would have
 to use some other tool to write the new .iso image, like mkisofs(8)
 from the sysutils/cdrtools-devel port.  (And if the original image has
 extensions that are not supported by librarchive(3), you could use
 something like readcd(1) from that same port instead of tar(1) or
 cpio(1) to read and extract it.)



If the linux suggestion fails I will try this one.

Unfortunately I can't do Make release as it is not Freebsd. It is a
Windows based boot cd.

Thanks!

 b.
 ___
 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-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org