Re: Q: Updating a port (math:asymptote)

2013-10-11 Thread Ralf Mardorf
On Fri, 2013-10-11 at 19:14 +0300, Jarmo Hurri wrote:
 I would like to switch from Linux to FreeBSD, but am puzzled by the
 timeliness of the ports. In particular, I use a drawing program called
 asymptote quite heavily in my work. From the ports page I noticed that
 the ports version is approximately 14 months old:

I guess that if software should depend on many other software, you can't
get latest software versions working on FreeBSD that easy, if at all.

Have you tested Debian's FreeBSD port? Debian GNU/kFreeBSD perhaps does
provide a more current user space.
https://wiki.debian.org/Debian_GNU/kFreeBSD

___
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: Q: Updating a port (math:asymptote)

2013-10-11 Thread Steve O'Hara-Smith
On Fri, 11 Oct 2013 19:14:48 +0300
Jarmo Hurri jarmo.hu...@syk.fi wrote:

 
 Greetings.
 
 I would like to switch from Linux to FreeBSD, but am puzzled by the
 timeliness of the ports. In particular, I use a drawing program called

The extent to which any given port is kept up to date depends on
the maintainer.

 asymptote quite heavily in my work. From the ports page I noticed that
 the ports version is approximately 14 months old:
 
 http://www.freebsd.org/cgi/ports.cgi?query=asymptote
 
 I tried to contact the maintainer via email, but got no response.
 
 What would be the correct procedure for trying to get that port updated?
 
 1. Somehow get in contact with the maintainer. How? (I tried.)

A non-responding maintainer may be for any number of reasons
including having lost all interest, but sometimes they're just temporarily
unavailable (on holiday, busy with other things ...) and will get back to
it later.

 2. Try to become a maintainer. How?

Step one would be to try bringing the port up to date yourself,
sometimes it is as easy as editing the Makefile, changing the version and
running make makesum to update the checksums. Sometimes the patches need to
be adjusted in which case much depends on how much patching was needed in
the first place. In the case of asymptote it looks like the only patch is
adjusting the path to exampledir in Makefile.in which ought to be pretty
easy to handle.

The porters handbook has a lot of useful information on what to do
when things get tricky.

If you succeed in bringing the port up to date then your problem
is solved (you have an up to date version) and if you use send-pr to submit
the changes to bring it up to date then there's a good chance that you'll
solve the same problem for everyone else who may want it. 

 3. Something else?

Wait for someone else to do it.

FreeBSD is a volunteer project and the best way to make it better
is to scratch your itches and contribute the result.

-- 
Steve O'Hara-Smith st...@sohara.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


Re: Q: Updating a port (math:asymptote)

2013-10-11 Thread Jarmo Hurri

Steve O'Hara-Smith st...@sohara.org writes:

 2. Try to become a maintainer. How?

   Step one would be to try bringing the port up to date yourself,
 sometimes it is as easy as editing the Makefile, changing the version
 and running make makesum to update the checksums. Sometimes the
 patches need to be adjusted in which case much depends on how much
 patching was needed in the first place. In the case of asymptote it
 looks like the only patch is adjusting the path to exampledir in
 Makefile.in which ought to be pretty easy to handle.

   If you succeed in bringing the port up to date then your problem
 is solved (you have an up to date version) and if you use send-pr to
 submit the changes to bring it up to date then there's a good chance
 that you'll solve the same problem for everyone else who may want it.

Sounds reasonable. I think I'll give this a try once 10.0 is officially
out.

   FreeBSD is a volunteer project and the best way to make it
 better is to scratch your itches and contribute the result.

It would be interesting to know how the number of volunteers has changed
during the past couple of years.

Thanks!

Jarmo

___
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: Q: Updating a port (math:asymptote)

2013-10-11 Thread Jarmo Hurri

Ralf Mardorf ralf.mard...@alice-dsl.net writes:

 Have you tested Debian's FreeBSD port? Debian GNU/kFreeBSD perhaps
 does provide a more current user space.
 https://wiki.debian.org/Debian_GNU/kFreeBSD

Hmm, I think I would prefer a distribution with a relatively large user
base. The Wikipedia page also states that there are still major bugs in
the system:

http://en.wikipedia.org/wiki/Debian_GNU/kFreeBSD

Still, thanks for the tip.

Jarmo

___
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: Q: recommendation for external USB disk

2010-01-21 Thread Matthias Apitz
El día Thursday, January 14, 2010 a las 01:40:26PM +0100, Bas Smeelen escribió:

 
  I use Freecom hard drive XS 1.5TB USB2.0 on our fallback servers as
  back-up disks.
  These are always connected to the servers for over half a year now.
  I have not had any problems with them and the price was ok.
  da1 at umass-sim0 bus 0 target 0 lun 0
  da1: Freecom Hard Drive XS 1.00 Fixed Direct Access SCSI-2 device
  da1: 40.000MB/s transfers
  da1: 1430799MB (2930277168 512 byte sectors: 255H 63S/T 182401C)
  /dev/da1s1d on /usr/home/www/backup (ufs, local, soft-updates)
  This is on FreeBSD 7.2-RELEASE-p6
  
 

I have had two hard locks of the kernel until now using this drive;

the 1st while running the dump(1M) (a second dump went fine);
the 2nd while uncompressing the 88 GByte file of such a dump;

this is with
FreeBSD current.Sisis.de 8.0-CURRENT FreeBSD 8.0-CURRENT #5: Sun Jan 10 
09:55:14 CET 2010 g...@current.sisis.de:/usr/obj/usr/src/sys/GENERIC  i386

the 8-CURRENT is from CVS from May, 2009. Are there any know issues with
USB drives on havy load?

Thx

matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
___
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: Q: recommendation for external USB disk

2010-01-21 Thread Bas Smeelen
Matthias Apitz wrote:
 El día Thursday, January 14, 2010 a las 01:40:26PM +0100, Bas Smeelen 
 escribió:

   
 I use Freecom hard drive XS 1.5TB USB2.0 on our fallback servers as
 back-up disks.
 These are always connected to the servers for over half a year now.
 I have not had any problems with them and the price was ok.
 da1 at umass-sim0 bus 0 target 0 lun 0
 da1: Freecom Hard Drive XS 1.00 Fixed Direct Access SCSI-2 device
 da1: 40.000MB/s transfers
 da1: 1430799MB (2930277168 512 byte sectors: 255H 63S/T 182401C)
 /dev/da1s1d on /usr/home/www/backup (ufs, local, soft-updates)
 This is on FreeBSD 7.2-RELEASE-p6
 
 

 I have had two hard locks of the kernel until now using this drive;

 the 1st while running the dump(1M) (a second dump went fine);
 the 2nd while uncompressing the 88 GByte file of such a dump;

 this is with
 FreeBSD current.Sisis.de 8.0-CURRENT FreeBSD 8.0-CURRENT #5: Sun Jan 10 
 09:55:14 CET 2010 g...@current.sisis.de:/usr/obj/usr/src/sys/GENERIC  i386

 the 8-CURRENT is from CVS from May, 2009. Are there any know issues with
 USB drives on havy load?
   
I have been tarring, gzipping and untarring files on the usb disk and
don't run into any trouble.
I also used dump to backup /usr to this disk without any problems
But this is on FreeBSD 7.2-RELEASE-p6

Are there any messages in /var/log/messages?



DISCLAIMER:
This e-mail is for the intended recipient(s) only.
Access, disclosure, copying, distribution or reliance on any of it by anyone 
else is prohibited.
If you have received it by mistake please let us know by reply and then delete 
it from your system.

___
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: Q: recommendation for external USB disk

2010-01-21 Thread Matthias Apitz
El día Thursday, January 21, 2010 a las 01:37:55PM +0100, Bas Smeelen escribió:

  I have had two hard locks of the kernel until now using this drive;
 
  the 1st while running the dump(1M) (a second dump went fine);
  the 2nd while uncompressing the 88 GByte file of such a dump;
 
  this is with
  FreeBSD current.Sisis.de 8.0-CURRENT FreeBSD 8.0-CURRENT #5: Sun Jan 10 
  09:55:14 CET 2010 g...@current.sisis.de:/usr/obj/usr/src/sys/GENERIC  
  i386
 
  the 8-CURRENT is from CVS from May, 2009. Are there any know issues with
  USB drives on havy load?

 I have been tarring, gzipping and untarring files on the usb disk and
 don't run into any trouble.
 I also used dump to backup /usr to this disk without any problems
 But this is on FreeBSD 7.2-RELEASE-p6
 
 Are there any messages in /var/log/messages?

There is nothing in the messages;

1st lock:

Jan 19 10:18:21 current wpa_supplicant[433]: WPA: Group rekeying completed with 
00:23:69:2f:04:9c [GTK=TKIP]
Jan 19 10:21:16 current wpa_supplicant[433]: CTRL-EVENT-SCAN-RESULTS
Jan 19 10:51:59 current syslogd: kernel boot file is /boot/kernel/kernel
Jan 19 10:51:59 current kernel: Copyright (c) 1992-2009 The FreeBSD Project.

2nd lock:

Jan 21 10:59:35 current wpa_supplicant[433]: CTRL-EVENT-SCAN-RESULTS
Jan 21 11:01:50 current kernel: pid 2919 (soffice.bin), uid 1001: exited on 
signal 11
Jan 21 11:04:37 current wpa_supplicant[433]: CTRL-EVENT-SCAN-RESULTS
Jan 21 11:09:40 current wpa_supplicant[433]: CTRL-EVENT-SCAN-RESULTS
Jan 21 11:14:43 current wpa_supplicant[433]: CTRL-EVENT-SCAN-RESULTS
Jan 21 11:22:25 current syslogd: kernel boot file is /boot/kernel/kernel
Jan 21 11:22:25 current kernel: Copyright (c) 1992-2009 The FreeBSD Project.


-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
___
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: Q: recommendation for external USB disk

2010-01-18 Thread Matthias Apitz
El día Thursday, January 14, 2010 a las 01:40:26PM +0100, Bas Smeelen escribió:

 It's only one partition. I created it with sysinstall.
 
 fb1:/ # fdisk /dev/da1
 *** Working on device /dev/da1 ***
 parameters extracted from in-core disklabel are:
 cylinders=182401 heads=255 sectors/track=63 (16065 blks/cyl)
 
 Figures below won't work with BIOS for partitions not in cyl 1
 parameters to be used for BIOS calculations are:
 cylinders=182401 heads=255 sectors/track=63 (16065 blks/cyl)
 
 Media sector size is 512
 Warning: BIOS sector numbering starts with sector 1
 Information from DOS bootblock is:
 The data for partition 1 is:
 sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
 start 63, size 2930272002 (1430796 Meg), flag 80 (active)
 beg: cyl 0/ head 1/ sector 1;
 end: cyl 1023/ head 254/ sector 63
 The data for partition 2 is:
 UNUSED
 The data for partition 3 is:
 UNUSED
 The data for partition 4 is:
 UNUSED
 fb1:/ # bsdlabel /dev/da1s1
 # /dev/da1s1:
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   c: 29302720020unused0 0 # raw part,
 don't edit
   d: 293027200204.2BSD 2048 16384 28552

I've got my device and it comes with a pre-formatted msdosfs which can
be mounted with:

# mount -t msdosfs -o large /dev/da0s1 /mnt
# df -kh /mnt
current# df -kh
FilesystemSizeUsed   Avail Capacity  Mounted on
/dev/da0s11.4T115M1.4T 0%/mnt

I only want to use it as backup (created with dump(1M)) and I think it's
better to make an UFS on it;

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
___
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: Q: recommendation for external USB disk

2010-01-17 Thread Erich Dollansky
Hi,

just buy the hard disk of your choice and put it into the case of 
your choice.

I use only disks which come with five years warrenty.

On 14 January 2010 pm 20:01:08 Matthias Apitz wrote:
 El día Tuesday, January 12, 2010 a las 08:12:17AM +0100, Bas 
Smeelen escribió:
  I use Freecom hard drive XS 1.5TB USB2.0 on our fallback
  servers as back-up disks.

 Your /dev/da1s1d let me think that you have created more than
 one partition...

After a bad experience, I use as many slices as the machine uses I 
take the data from. I also backup the programs.

Then, I use for the external disk the same interface which I can 
use in the machine. So, if the internal hard disk fails, will be 
able to exchange the disks and boot. Ok, fstab might needs to be 
edited.

Erich
___
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: Q: recommendation for external USB disk

2010-01-14 Thread Matthias Apitz
El día Tuesday, January 12, 2010 a las 08:12:17AM +0100, Bas Smeelen escribió:

 I use Freecom hard drive XS 1.5TB USB2.0 on our fallback servers as
 back-up disks.
 These are always connected to the servers for over half a year now.
 I have not had any problems with them and the price was ok.
 da1 at umass-sim0 bus 0 target 0 lun 0
 da1: Freecom Hard Drive XS 1.00 Fixed Direct Access SCSI-2 device
 da1: 40.000MB/s transfers
 da1: 1430799MB (2930277168 512 byte sectors: 255H 63S/T 182401C)
 /dev/da1s1d on /usr/home/www/backup (ufs, local, soft-updates)
 This is on FreeBSD 7.2-RELEASE-p6

I ordered exactly this device.

Your /dev/da1s1d let me think that you have created more than one
partition...

matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
___
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: Q: recommendation for external USB disk

2010-01-14 Thread Bas Smeelen

 I use Freecom hard drive XS 1.5TB USB2.0 on our fallback servers as
 back-up disks.
 These are always connected to the servers for over half a year now.
 I have not had any problems with them and the price was ok.
 da1 at umass-sim0 bus 0 target 0 lun 0
 da1: Freecom Hard Drive XS 1.00 Fixed Direct Access SCSI-2 device
 da1: 40.000MB/s transfers
 da1: 1430799MB (2930277168 512 byte sectors: 255H 63S/T 182401C)
 /dev/da1s1d on /usr/home/www/backup (ufs, local, soft-updates)
 This is on FreeBSD 7.2-RELEASE-p6
 

 I ordered exactly this device.

 Your /dev/da1s1d let me think that you have created more than one
 partition...

   matthias
   
It's only one partition. I created it with sysinstall.

fb1:/ # fdisk /dev/da1
*** Working on device /dev/da1 ***
parameters extracted from in-core disklabel are:
cylinders=182401 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=182401 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 2930272002 (1430796 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
UNUSED
The data for partition 3 is:
UNUSED
The data for partition 4 is:
UNUSED
fb1:/ # bsdlabel /dev/da1s1
# /dev/da1s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  c: 29302720020unused0 0 # raw part,
don't edit
  d: 293027200204.2BSD 2048 16384 28552



DISCLAIMER:
This e-mail is for the intended recipient(s) only.
Access, disclosure, copying, distribution or reliance on any of it by anyone 
else is prohibited.
If you have received it by mistake please let us know by reply and then delete 
it from your system.

___
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: Q: recommendation for external USB disk

2010-01-11 Thread Jeffrey Goldberg
On Jan 11, 2010, at 6:32 AM, Matthias Apitz wrote:

 Can someone recommend a good external USB disk for backups which works
 with FreeBSD 8.0 and has more than 512 GByte? Thx in advance

Pretty much anything that you consider to be a reliable supplier will do.  
There are no specific FreeBSD requirements as far as I know.

I recommend that you get a disk that is externally powered instead of with 
power supplied over USB.

Earlier versions of FreeBSD had problems with USB connected devices.  In 
particular if they were removed or powered down without dismounting, this could 
lead to a kernel panic.  This problem has been fixed, but I still am extra 
careful with my USB backup disks:

(1)  Power for the back-up disks should be on a UPS
(2)  umount the file systems on the back-up disk when not in use.

Cheers,

-j


-- 
Jeffrey Goldberghttp://www.goldmark.org/jeff/

___
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: Q: recommendation for external USB disk

2010-01-11 Thread Bas Smeelen
Jeffrey Goldberg wrote:
 On Jan 11, 2010, at 6:32 AM, Matthias Apitz wrote:

   
 Can someone recommend a good external USB disk for backups which works
 with FreeBSD 8.0 and has more than 512 GByte? Thx in advance
 

 Pretty much anything that you consider to be a reliable supplier will do.  
 There are no specific FreeBSD requirements as far as I know.

 I recommend that you get a disk that is externally powered instead of with 
 power supplied over USB.
   
I use Freecom hard drive XS 1.5TB USB2.0 on our fallback servers as
back-up disks.
These are always connected to the servers for over half a year now.
I have not had any problems with them and the price was ok.
da1 at umass-sim0 bus 0 target 0 lun 0
da1: Freecom Hard Drive XS 1.00 Fixed Direct Access SCSI-2 device
da1: 40.000MB/s transfers
da1: 1430799MB (2930277168 512 byte sectors: 255H 63S/T 182401C)
/dev/da1s1d on /usr/home/www/backup (ufs, local, soft-updates)
This is on FreeBSD 7.2-RELEASE-p6


DISCLAIMER:
This e-mail is for the intended recipient(s) only.
Access, disclosure, copying, distribution or reliance on any of it by anyone 
else is prohibited.
If you have received it by mistake please let us know by reply and then delete 
it from your system.

___
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: Q: FreeBSD 7.1 stable boot failure

2009-03-26 Thread Michael Powell
John H. Nyhuis wrote:

  Greetings,
 
  I just re-installed an old file server from stable 6.1 to 7.1 stable,
 and I'm having a problem with my 3ware 7000-2 card.
 
  After sysinstall completes, and I try to boot from the SCSI HDD (not
 connected to the 3ware) for the first time, the system hangs immediatly
 after
 the POST completes.  The keyboard goes dead (numlock and caps lock stop
 working) and it never starts to load.  I can't get the system to a point
 where I can get an error to work with.
 
  When I remove the 3ware card, the system boot fine.  FreeBSD is
 installed on my system's internal SCSI drives (the 3ware card manages data
 disks, not OS disks).
 
  I've checked the media md5, and the media checks out OK.  I've tried
 manually setting the boot partition to the root partition on the SCSI
 drives. This problem is 100% repeatable on my system using 7.1 stable (and
 I did not
 experiance this with 6.1 stable).  I've reinstalled several times with
 different options trying to get around this problem.
 
  The system is a Dell poweredge 2200 (dual PIII 333Mhz procs) SCSI
 drives (set to 4 and 5, controller set to 7), 128MB memory, and a 3ware
 7000-2
 card which should be supported by the twe0 driver.  The drives connected
 to the 3ware card are 200GB maxtor drives.
 
 Google mentions rebuilding your RAID array (having to wipe and rebuild the
 filesystem every time I patch is not really a long-term viable option),
 which I did, and this did not change the hang.
 
  Would someone point me in the correct direction for resolving this?
 

Only a few things immediately jump out at me. Some older equipment really 
like the bootable SCSI disk to be on ID 0, with the second disk on ID 1. 
It's not really supposed to matter, but I recall some older stuff being 
flaky about this.

Back then there was usually an option in the BIOS to tell which controller 
to attempt boot from first. It was called something like boot from external 
adapter, or something like that. What it did was to initialize the ROM in 
the add-in card first.

This machine is probably from the pre ACPI days. You probably want to boot 
with ACPI disabled, and this can be done from the boot menu for testing and 
if it works can be hard coded to be permanent.

-Mike




___
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: Q: general LaTeX mailing list

2007-10-24 Thread Byung-Hee HWANG
On Tue, 2007-10-23 at 17:45 +0200, Roland Smith wrote:
 On Tue, Oct 23, 2007 at 12:43:28PM +0900, Byung-Hee HWANG wrote:
  Hi there,
  
  Who knows a good general LaTeX mailing list? Ah yes, here is also good
  mailing list for the question. However, I want to give specific and
  professional advice about LaTeX. Unfortunately, Google disappointed my
  desire ;;
 
 Most local TeX User Groups have mailing-lists populated with knowledgeable
 people. See e.g. http://www.ktug.or.kr/
 
 There is also a good TeX related group on Usenet; comp.text.tex.
 
 There are also people who do consulting for (La)TeX;
 http://www.tug.org/consultants.html

Good! You know my local, Korea. Thanks for good guidance!

-- 
Byung-Hee HWANG * InZealBomb 
Get that man out here to me.
-- Michael Corleone, Chapter 23, page 334
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Q: general LaTeX mailing list

2007-10-24 Thread Byung-Hee HWANG
On Tue, 2007-10-23 at 17:03 +0300, Giorgos Keramidas wrote:
 On 2007-10-23 12:43, Byung-Hee HWANG [EMAIL PROTECTED] wrote:
  Hi there,
 
  Who knows a good general LaTeX mailing list? Ah yes, here is also good
  mailing list for the question. However, I want to give specific and
  professional advice about LaTeX. Unfortunately, Google disappointed my
  desire ;;
 
 If you don't have a dislike for newsgroups, then ``news:comp.text.tex''
 is a pretty good choice.

Okay I'll check that newsgroup, thanks!

-- 
Byung-Hee HWANG * InZealBomb 
Perhaps your grandchildren will become the new PEZZONOVANTI.
-- Vito Corleone, Chapter 20, page 290
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Q: general LaTeX mailing list

2007-10-23 Thread Giorgos Keramidas
On 2007-10-23 12:43, Byung-Hee HWANG [EMAIL PROTECTED] wrote:
 Hi there,

 Who knows a good general LaTeX mailing list? Ah yes, here is also good
 mailing list for the question. However, I want to give specific and
 professional advice about LaTeX. Unfortunately, Google disappointed my
 desire ;;

If you don't have a dislike for newsgroups, then ``news:comp.text.tex''
is a pretty good choice.

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


Re: Q: general LaTeX mailing list

2007-10-23 Thread Roland Smith
On Tue, Oct 23, 2007 at 12:43:28PM +0900, Byung-Hee HWANG wrote:
 Hi there,
 
 Who knows a good general LaTeX mailing list? Ah yes, here is also good
 mailing list for the question. However, I want to give specific and
 professional advice about LaTeX. Unfortunately, Google disappointed my
 desire ;;

Most local TeX User Groups have mailing-lists populated with knowledgeable
people. See e.g. http://www.ktug.or.kr/

There is also a good TeX related group on Usenet; comp.text.tex.

There are also people who do consulting for (La)TeX;
http://www.tug.org/consultants.html

Hope this helps.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpQmDyLS20fK.pgp
Description: PGP signature


Re: Q: re ASUS motherboard with dual inet interfaces

2007-01-30 Thread Josh Carroll

Using FreeBSD v6.0. Need separate local and public
connections to this machine.


There's your problem. If it's the board I'm thinking of, it has one of
the newer Marvell chipsets which isn't supported in 6.0. Give
6.2-RELEASE a shot, and I imagine it'll see your network cards.

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


Re: [Q] Error in 'make buildworld'

2004-11-04 Thread Joshua Tinnin
On Thursday 04 November 2004 03:18 am, Anton Kazak [EMAIL PROTECTED] 
wrote:
 Hello.
 I make cvsup 4.11.2004, RELENG_5_3.
 My make.conf:
 
 CFLAGS= -O3 -pipe

Maybe try with -O instead. Optimizations of -O2 and higher are not supported, 
and -O3 is known to fail. Also, are you running make -j4 buildworld? If so, 
try it without multiple processes (i.e., without the -j option).

- jt

 NOPROFILE=  true

 PERL_VER=5.8.5
 PERL_VERSION=5.8.5
 PERL_ARCH=mach
 NOPERL=yo
 NO_PERL=yo
 NO_PERL_WRAPPER=yo

 X_WINDOW_SYSTEM=xorg

 CUPS_OVERWRITE_BASE=yes
 NO_LPR=yes
 --

 I have error 'make buildworld':

 --
 -- skipped --
 cc -fpic -DPIC -O3 -pipe  -I/usr/src/lib/libc/include
 -I/usr/src/lib/libc/../../
 include -I/usr/src/lib/libc/i386 -D__DBINTERFACE_PRIVATE
 -I/usr/src/lib/libc/../
 ../contrib/gdtoa -DINET6 -I/usr/obj/usr/src/lib/libc -DPOSIX_MISTAKE
 -I/usr/src/
 lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN
 -I/usr/src/lib/libc/rpc -DY
 P -DHESIOD -Wsystem-headers -Werror -Wall -Wno-format-y2k
 -Wno-uninitialized -c
 /usr/src/lib/libc/net/res_init.c -o res_init.So
 In file included from /usr/src/lib/libc/net/res_debug.c:786:
 /usr/src/lib/libc/net/res_debug.c: In function `__loc_aton':
 In file included from /usr/src/lib/libc/net/res_debug.c:786:
 /usr/src/lib/libc/net/res_debug.c:576: warning: passing arg 1 of
 `precsize_aton'
   from incompatible pointer type
 /usr/src/lib/libc/net/res_debug.c: In function `__loc_aton':
 In file included from /usr/src/lib/libc/net/res_debug.c:797:
 /usr/src/lib/libc/net/res_debug.c:576: warning: passing arg 1 of
 `precsize_aton'
   from incompatible pointer type
 /usr/src/lib/libc/net/res_debug.c:576: warning: passing arg 1 of
 `precsize_aton'
   from incompatible pointer type
 In file included from /usr/src/lib/libc/net/res_debug.c:808:
 In file included from /usr/src/lib/libc/net/res_debug.c:797:
 /usr/src/lib/libc/net/res_debug.c:576: warning: passing arg 1 of
 `precsize_aton'
   from incompatible pointer type
 /usr/src/lib/libc/net/res_debug.c:576: warning: passing arg 1 of
 `precsize_aton'
   from incompatible pointer type
 /usr/src/lib/libc/net/res_debug.c:576: warning: passing arg 1 of
 `precsize_aton'
   from incompatible pointer type
 In file included from /usr/src/lib/libc/net/res_debug.c:808:
 /usr/src/lib/libc/net/res_debug.c:576: warning: passing arg 1 of
 `precsize_aton'
   from incompatible pointer type
 *** Error code 1
 *** Error code 1
 2 errors
 *** Error code 2
 1 error
 *** Error code 2
 1 error
 *** Error code 2
 1 error
 *** Error code 2
 1 error
 *** Error code 2
 1 error
 --

 uname -a
 FreeBSD P-III.home.my 5.3-STABLE FreeBSD 5.3-STABLE #0: Mon Oct 18
 19:01:59 MSD
 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/P-III  i386

 /usr/obj clean.

 Maybe i stipid... Any idea?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [Q] Error in 'make buildworld'

2004-11-04 Thread Kris Kennaway
On Thu, Nov 04, 2004 at 02:18:49PM +0300, Anton Kazak wrote:
 Hello.
 I make cvsup 4.11.2004, RELENG_5_3.
 My make.conf:
 
 CFLAGS= -O3 -pipe

Whoa there, cowboy!  The make.conf documentation tells you not to do
this, especially if you're going to report errors (the error is
probably on your side of the keyboard :-)

Kris


pgpdEPaCQ93fE.pgp
Description: PGP signature


Re: [Q] Java 1.4.2 build trouble?

2004-09-10 Thread Radek Kozlowski
On Fri, Sep 10, 2004 at 01:02:04PM +0400, Anton Kazak wrote:
 
  cd /usr/ports/java/jdk14
  make
 ===   jdk-1.4.2p6_4 depends on executable: gm4 - found
 ===   jdk-1.4.2p6_4 depends on executable: zip - found
 ===   jdk-1.4.2p6_4 depends on file: /usr/X11R6/lib/libXm.so - found
 ===   jdk-1.4.2p6_4 depends on file: /usr/local/include/nspr/prtypes.h - 
 found
 ===   jdk-1.4.2p6_4 depends on file: /usr/local/linux-sun-jdk1.4.2/bin/javac 
 - not found
 ===Verifying install for /usr/local/linux-sun-jdk1.4.2/bin/javac 
 in /usr/ports/java/linux-sun-jdk14
 ===  linux-sun-jdk-1.4.2.05 You must manually fetch the J2SE SDK 
 self-extracting file for the Linux platform (j
 2sdk-1_4_2_05-linux-i586.bin) from 
 http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22PartDetailId=j2sdk
 -1.4.2_05-oth-JPRSiteId=JSCTransactionId=noreg, place it 
 in /usr/ports/distfiles and then run make again.
 *** Error code 1
 
 Stop in /usr/ports/java/linux-sun-jdk14.
 *** Error code 1
 
 After this message i try this http and found this file not found.
 
 Any idea about this?

Try this: http://tinyurl.com/655gx

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


Re: [Q] Portupgrade error

2004-08-27 Thread kstewart
On Friday 27 August 2004 12:59 am, Anton Kazak wrote:
 Example of my error:

 -

  portupgrade libtool

 ---  Upgrading 'libtool-1.3.5_1' to 'libtool-1.3.5_2' (devel/libtool13)
 ---  Building '/usr/ports/devel/libtool13'
 ===  Cleaning for libtool-1.3.5_2
 ===   NOTICE:

 This port is deprecated; you may wish to reconsider installing it:

 Please use devel/libtool15 instead.

 ===  Vulnerability check disabled
 ===  Extracting for libtool-1.3.5_2

  Checksum OK for libtool-1.3.5.tar.gz.

 ===  Patching for libtool-1.3.5_2
 ===  Applying FreeBSD patches for libtool-1.3.5_2
 ===  Configuring for libtool-1.3.5_2
 cp: /usr/ports/devel/libtool13/work/libtool-1.3.5
 /usr/ports/devel/libtool13/work/libtool-1.3.5/config.guess: No such file or
 directory
 *** Error code 1

 Stop in /usr/ports/devel/libtool13.
 ** Command failed [exit code 1]: /usr/bin/script -qa
 /tmp/portupgrade26235.0 make
 ** Fix the problem and try again.
 ** Listing the failed packages (*:skipped / !:failed)
 ! devel/libtool13 (libtool-1.3.5_1) (unknown build error)
 ---  Packages processed: 0 done, 1 ignored, 0 skipped and 1 failed
 ---
- I d'nt know this problem:
 cp: /usr/ports/devel/libtool13/work/libtool-1.3.5
 /usr/ports/devel/libtool13/work/libtool-1.3.5/config.guess: No such file or
 directory

 Help me, PLS!


I just rebuilt it. So, they haven't popped a change in on us. This is really a 
strange error so lets start at the beginning. What does your cvsup 
port-supfile look like and how do you run cvsup to update your ports. What 
options do you use on portupgrade? FWIW, config.guess is extracted from the 
tarball.

Do you have anything strange in your /etc/make.conf?

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
Support the Bison at http://www.buffalofieldcampaign.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [Q] Portupgrade error

2004-08-27 Thread Anton Kazak

 I just rebuilt it. So, they haven't popped a change in on us. This is
 really a strange error so lets start at the beginning. What does your cvsup
 port-supfile look like and how do you run cvsup to update your ports. What
 options do you use on portupgrade? FWIW, config.guess is extracted from the
 tarball.

I make cvsup ports-all moning. Maybe problem in bsd.port.mk?


 Do you have anything strange in your /etc/make.conf?

My make.conf very simple:
-
CFLAGS= -O -pipe
NOPROFILE= true
PERL_VER=5.6.1
PERL_VERSION=5.6.1
PERL_ARCH=mach
NOPERL=yo
NO_PERL=yo
NO_PERL_WRAPPER=yo
X_WINDOW_SYSTEM=xorg
#XFREE86_VERSION=4
COMPAT3X=yes
COMPAT4X=yes
NOINET6=yes
-


 Kent

-- 

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


Re: [Q] Portupgrade error

2004-08-27 Thread Subhro
cvsup the port tree with ports-all. You have most likely not cvsuped
or cvsuped with a partial update.

Regards
S.

On Fri, 27 Aug 2004 11:59:15 +0400, Anton Kazak
[EMAIL PROTECTED] wrote:
 Example of my error:
 
 -
  portupgrade libtool
 
 ---  Upgrading 'libtool-1.3.5_1' to 'libtool-1.3.5_2' (devel/libtool13)
 ---  Building '/usr/ports/devel/libtool13'
 ===  Cleaning for libtool-1.3.5_2
 ===   NOTICE:
 
 This port is deprecated; you may wish to reconsider installing it:
 
 Please use devel/libtool15 instead.
 
 ===  Vulnerability check disabled
 ===  Extracting for libtool-1.3.5_2
  Checksum OK for libtool-1.3.5.tar.gz.
 ===  Patching for libtool-1.3.5_2
 ===  Applying FreeBSD patches for libtool-1.3.5_2
 ===  Configuring for libtool-1.3.5_2
 cp: /usr/ports/devel/libtool13/work/libtool-1.3.5
 /usr/ports/devel/libtool13/work/libtool-1.3.5/config.guess: No such file or
 directory
 *** Error code 1
 
 Stop in /usr/ports/devel/libtool13.
 ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade26235.0
 make
 ** Fix the problem and try again.
 ** Listing the failed packages (*:skipped / !:failed)
! devel/libtool13 (libtool-1.3.5_1) (unknown build error)
 ---  Packages processed: 0 done, 1 ignored, 0 skipped and 1 failed
 
 I d'nt know this problem:
 cp: /usr/ports/devel/libtool13/work/libtool-1.3.5 
 /usr/ports/devel/libtool13/work/libtool-1.3.5/config.guess:
 No such file or directory
 
 Help me, PLS!
 
 
 AK
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [Q] Portupgrade error

2004-08-27 Thread kstewart
On Friday 27 August 2004 03:16 am, Anton Kazak wrote:
  I just rebuilt it. So, they haven't popped a change in on us. This is
  really a strange error so lets start at the beginning. What does your
  cvsup port-supfile look like and how do you run cvsup to update your
  ports. What options do you use on portupgrade? FWIW, config.guess is
  extracted from the tarball.

 I make cvsup ports-all moning. Maybe problem in bsd.port.mk?

If there was a problem in bsd.port.mk, I would have seen it too. I cvsuped 
ports-all, and rebuild the INDEX[.db], just a few minutes before I read your 
first email.

Libtool-1.3 doesn't have any listed dependancies. I figured that a partial 
cvsup (!=ports-all) wouldn't affect it. The reason I wanted to see your 
supfile was to see if you had the delete option to get rid of old files. 

Your make.conf doesn't look that much different from mine.

I still don't see why your shell can't see the missing file, especially since 
it is part of the extract.

Kent


  Do you have anything strange in your /etc/make.conf?

 My make.conf very simple:
 -
 CFLAGS= -O -pipe
 NOPROFILE= true
 PERL_VER=5.6.1
 PERL_VERSION=5.6.1
 PERL_ARCH=mach
 NOPERL=yo
 NO_PERL=yo
 NO_PERL_WRAPPER=yo
 X_WINDOW_SYSTEM=xorg
 #XFREE86_VERSION=4
 COMPAT3X=yes
 COMPAT4X=yes
 NOINET6=yes
 -

  Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
Support the Bison at http://www.buffalofieldcampaign.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: q???

2004-07-21 Thread Andrew L. Gould
On Wednesday 21 July 2004 09:47 am, you wrote:
 OK, I appreciate your time. let's say if i sync my source code once a
 week, but do i have to the build world once a week too? or it is only
 where there is a big process. what about there is only one new patch?
 also is there any package or command that i can run to see if there
 are new version of my installed packages on ftp site, as i said like
 2.x and then 2.y, in red hat there is a new tool adopted from debian,
 you run apt-get update, it does scan ftp repositories, then you run
 apt-get dist-upgrade and it shows you that there are a,b,c new
 packages and asks you if you want to upate to new one and if you say
 yes, it does download and install auto, this is what i actually was
 asking
 thank you as i ask too much

I cvsup changes on a weekly or monthly basis; or when I hear of a 
security patch that affects my system.  I do not recompile the system 
or any applications unless I have a reason to do so.  Sometimes, I can 
go months without recompiling or upgrading anything.

The fact that a newer version of an application is released, doesn't 
mean that the older version is obsolete or unsecure.  If the changes do 
not affect how YOU use your computer, you can spend lots of time 
upgrading for NO benefit!  You also assume risks associated with 
upgrades for no benefit!  As the saying goes:  If it isn't broken, 
don't fix it.

After you cvsup the ports system, you can use portupgrade to:

1. Run a report showing which installed applications have newer 
versions.
2. Upgrade an application, all of its dependencies, and all of the ports 
that depend upon it.  Therefore, if application X depends on 
application Y, which, in turn, depends on application Z; 'portupgrade 
-rR Y' will upgrade applications X, Y and Z.  'portupgrade -arR' will 
upgrade all installed ports to newer versions, where applicable.

For more information on ports and portupgrade (and FreeBSD in general), 
see related articles at:

http://www.onlamp.com/pub/ct/15
http://www.onlamp.com/pub/ct/13

After you've installed portupgrade, see:

man portupgrade


Best of luck,

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


Re: Q: ifconfig alias vs. ssh tunnel doesn't work.

2004-05-18 Thread Rob
Rob wrote:

To double check, I verified that I can login to myself on REMOTE:
   $ ssh REMOTE
Sorry, of course this should have been:
 $ ssh 127.0.0.2
to verify login to myself via the IP-alias on REMOTE.
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [Q] Best location of ntpd driftfile ?

2004-03-21 Thread Charles Swiger
On Mar 21, 2004, at 1:30 PM, Stefan A. Deutscher wrote:
  setting up ntpd, I find that its default location for the drift file
is /etc/ntp.drift.
Right, and that is probably the best location, too.

In a way it is part of the configuration an may well belong in /etc, on
the other hand I'd rather just have files in /etc which _I_ modify.
At one point (15 years ago :-), some people used to modify the contents 
of ntp.drift by hand.

This was for machines which were not connected to a network; by keeping 
track of the system time drift against an external time reference 
source over the course of a few weeks, one could compute the right 
value for ntp.drift and then run ntpd to correct that drift.

I would expect the content of ntpd.drift to vary over time,
ntp.drift normally converges and stabilizes after a while (a few days 
to a few weeks), unless the hardware clock is bad.

and somehow I would have expected it to belong in the /var part of the 
hierarchy, but 'man hier' does not offer any serious evidence (should 
it be
/var/db/ntp.dift)?
Hmm.  Well, ntpd predates the notion of /var, but you could put the 
drift file under there if you wanted to.  I think keeping DNS zone 
files under /var/named makes a lot more sense than under /etc/named, 
for instance, but I wouldn't move ntp.drift out of /etc myself.

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


Re: [Q] Best location of ntpd driftfile ?

2004-03-21 Thread Wayne Sierke
On Mon, 2004-03-22 at 04:04, Charles Swiger wrote:
 On Mar 21, 2004, at 1:30 PM, Stefan A. Deutscher wrote:
setting up ntpd, I find that its default location for the drift file
  is /etc/ntp.drift.
 
 Right, and that is probably the best location, too.
 
Looks like it's been moved to /var/db/ntpd.drift in FreeBSD-5




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


Re: [Q] Best location of ntpd driftfile ?

2004-03-21 Thread Charles Swiger
On Mar 21, 2004, at 12:54 PM, Wayne Sierke wrote:
[ ...with regard to where ntp.drift should be... ]
Looks like it's been moved to /var/db/ntpd.drift in FreeBSD-5
Well, that's reasonable, too.

Now that I'm thinking about this, in particular, moving files which 
change regularly out of /etc into /var helps one mount root (/) 
read-only, which is sometimes desirable for embedded appliances and the 
like which boot off of limited-write media like compact-flash...

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


Re: Q: Compiles for wrong processor and it still worked

2003-09-28 Thread Erik Trulsson
On Sun, Sep 28, 2003 at 07:37:59PM +0200, Alex de Kruijff wrote:
 I have compiles my world sources for the PIII processors. I have
 recently discoverd that i have a number of PII processors. The compiled
 code for PIII still works on them. I'm ammazed. :o Can anybody explain why?

The reason why it worked is obviously that the compiler didn't generate
any PIII-only instructions in the code.

The only real difference between PII and PIII is that the PIII has
support for SSE, which most compilers don't use anyway, so it is not
very amazing that code compiled for a PIII worked on a PII.

If you are running -stable it is even less amazing since the compiler
included in 4.x is too old to know how to optimize for the PIII, so it
will generate identical code for all the processors based on the P6
micro-architecture (i.e the Pentium Pro, Pentium II and Pentium III) as
well as for the newer Pentium 4.


-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Q: Compiles for wrong processor and it still worked

2003-09-28 Thread Dan Nelson
In the last episode (Sep 28), Alex de Kruijff said:
 I have compiles my world sources for the PIII processors. I have
 recently discoverd that i have a number of PII processors. The compiled
 code for PIII still works on them. I'm ammazed. :o Can anybody explain why?
 
 I include this in to /etc/make.conf

686, pII, p3, and p4 are all basically the same instruction set.  the
later versions add more MMX and SEE operations, and I don't believe gcc
generates code that uses them.  The different arch flags probably just
change the instruction timing tables.

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


Re: Q: mergemaster 'm'-merge option results in empty file

2003-09-16 Thread Rob Lahaye


Thank you so much for the long and detailed description.
I'm waiting for the first release candidate of 4.9 to test
it out.
(BTW: RC1 should have been there already; is there a delay?).

Regards,
Rob.

Matthew Seaman wrote:
 On Sun, Sep 14, 2003 at 08:46:52PM +0900, Rob Lahaye wrote:
 
 
What is left and right in the mergemaster context???
'man sdiff' doesn't seem to help out here.
I've tried a bit (I typed 'v' and 'q'), but then found /etc/hosts
totally empty!!

Any idea where I went wrong?
 
 
 'sdiff' does a side-by-side comparison of two files, and lets you
 generate a file where some or all of those differences have been
 merged together.  'left' and 'right' in this context refer to the two
 columns that sdiff divides the screen into, where it shows you the
 blocks of lines that differ between the two files you're comparing.
 
 Perhaps an example is in order.  Run these commands to get two
 different versions of the GENERIC kernel configuration from cvs:
[...]

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


Re: Q: mergemaster 'm'-merge option results in empty file

2003-09-14 Thread Matthew Seaman
On Sun, Sep 14, 2003 at 08:46:52PM +0900, Rob Lahaye wrote:

 What is left and right in the mergemaster context???
 'man sdiff' doesn't seem to help out here.
 I've tried a bit (I typed 'v' and 'q'), but then found /etc/hosts
 totally empty!!
 
 Any idea where I went wrong?

'sdiff' does a side-by-side comparison of two files, and lets you
generate a file where some or all of those differences have been
merged together.  'left' and 'right' in this context refer to the two
columns that sdiff divides the screen into, where it shows you the
blocks of lines that differ between the two files you're comparing.

Perhaps an example is in order.  Run these commands to get two
different versions of the GENERIC kernel configuration from cvs:

# cd /tmp
# fetch -o GENERIC-CURRENT 
'http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/i386/conf/GENERIC?rev=1.246.2.51.2.2content-type=text/plain'
# fetch -o GENERIC-STABLE 
'http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/i386/conf/GENERIC?rev=1.246.2.54content-type=text/plain'

(As the names suggest, those are just the latest versions from the
HEAD and RELENG_4 branches)

Now, assuming you're in an xterm or similar, stretch the window until
it is at least 160 characters wide.  If you're in a fixed width
window, substitute the width of the window for the number after '-w'
below.  It's clearer to see what's going on if you can use as wide a
screen as possible.  Now run:

# setenv EDITOR=vi
# sdiff -o GENERIC.n -s -w 160 GENERIC-STABLE GENERIC-CURRENT

The first output you will see is:

# $FreeBSD: /repoman/r/ncvs/src/sys/i386/conf/GENERIC,v 1.246.2.54 2003/04/28 | # 
$FreeBSD: /repoman/r/ncvs/src/sys/i386/conf/GENERIC,v 1.246.2.51.2.2 2003/0
%

(Which probably won't make a lot of sense unless your mail client
doesn't automatically wrap long lines and you happen to be reading
this in a fairly wide screen)

What this is doing is asking which $FreeBSD$ tag should go into the
merged file.  Choose 'l' for the left-hand version, which comes from
GENERIC-STABLE. If you're in a narrow window, you probably can't
see the difference between those two lines as it's too far over to be
displayed.

The next chunk looks like:

  
# FireWire support
device  firewire# FireWire bus code   
device  sbp # SCSI over FireWire (Requires scbus and da)  
device  fwe # Ethernet over FireWire (non-standard!)  
%

because the firewire support is only in the GENERIC-STABLE kernel config.

Here, choose 'r' for the right hand version which comes from
GENERIC-CURRENT.

What you should end up with is a new file GENERIC.n where:

% diff -u GENERIC-STABLE GENERIC.n
--- GENERIC-STABLE  Mon Apr 28 04:41:46 2003
+++ GENERIC.n   Sun Sep 14 16:51:22 2003
@@ -264,8 +264,3 @@
 device aue # ADMtek USB ethernet
 device cue # CATC USB ethernet
 device kue # Kawasaki LSI USB ethernet
-
-# FireWire support
-device firewire# FireWire bus code
-device sbp # SCSI over FireWire (Requires scbus and da)
-device fwe # Ethernet over FireWire (non-standard!)

and

% diff -u GENERIC-CURRENT GENERIC.n
--- GENERIC-CURRENTTue Mar 25 23:35:15 2003
+++ GENERIC.n   Sun Sep 14 16:51:22 2003
@@ -15,7 +15,7 @@
 # device lines is also present in the ./LINT configuration file. If you are
 # in doubt as to the purpose or necessity of a line, check first in LINT.
 #
-# $FreeBSD: /repoman/r/ncvs/src/sys/i386/conf/GENERIC,v 1.246.2.51.2.2 2003/03/25 
23:35:15 jhb Exp $
+# $FreeBSD: /repoman/r/ncvs/src/sys/i386/conf/GENERIC,v 1.246.2.54 2003/04/28 
03:41:46 simokawa Exp $
 
 machinei386
 cpuI386_CPU


One thing that may trip you up: don't set your $EDITOR variable to
'emacs' -- because of the way emacs works by immediately copying the
temporary file sdiff(1) generates, and renaming the original as a
backup, it confuses sdiff(1), and you won't see any of your edits in
the output.  vi(1) just works directly on the temporary file and all
is well.  

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Q: How can I modify net, X configurations in 4.8-Release?

2003-08-14 Thread K Anderson


John Mills wrote:
Freebies -

I just installed a 'standard' 4.8-Release setup from CD. It seems to have
gone fine, but I want to change two features:
1) I set up DHCP networking. Now I want to go back and explicitly set up
static IP, GW, NS.
man ifconfig

2) I did not set up X11, and I would like to have another run at that. 
(This means I'm running console tools.)

Can I use /stand/sysinstall to re-do these parts of my installation (and
if so, how?), or are there other simple tools? Menu-driven or mouse-driven
would be nice. Naturally I can always attack the configuration files, but 
I don't know how to turn DHCP off.
Yep, you can. Your best bet on this is to figure out which desktop 
(gnome, kde, etc..) you want to use then go in to the area that says 
install packages and select the desktop of choice. Then hopefully it 
will fetch that and its dependancyies (x, xclient, xlibraries and so on 
and so forth)

That should get you started.

Oh, how do you want to turn of DHCP? Was it because when you did the 
install you said use DHCP? If so the response to Q-1 should get you 
going. Or you can go in to /stand/sysinstall and reconfigure the network 
interfaces and tel lit not to use DHCP then go ahead and assign IP 
address and the like. After that is done all should, hopefully, work. Oh 
do a man on rc.conf that will help too.
TIA.
 John Mills
 [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
You're welcome.

HTH

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


Re: Q: Upgrading Sendmail

2003-03-04 Thread Matthew Seaman
On Tue, Mar 04, 2003 at 11:03:06AM +0100, Andreas Widerøe Andersen wrote:
 Hi all, I got a quick question:
 
 How do I upgrade Sendmail on my FreeBSD 4.7 STABLE box? What I mean, since 
 Sendmail comes with the system, will it be upgraded through a make world 
 or do I have to run it from ports? I've got 8.12.6 and the latest in ports 
 is 8.12.8.

cvsup and buildworld will get you an updated sendmail, yes.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: [Q] ipfw and 'me'

2003-01-08 Thread Khairil Yusof
On Tue, 2003-01-07 at 01:02, Jonathan Belson wrote:

 Since the machine is a gateway, it has two network cards.  Will
 'me' match *both* IP address or just the first one it comes
 across?  I only really want it to match the IP address of the
 external interface, not the internal one.

How about using interface rules since you have 2 network cards?

rules to allow stuff local network on fxp0 (internal network)
deny from any to any via fxp0

allow stuff via fxp1 (external network)
deny from any to any via fxp1

I find this to be easier.

-- 
Khairil Yusof [EMAIL PROTECTED]



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


Re: [Q] ipfw and 'me'

2003-01-06 Thread Ceri Davies
On Mon, Jan 06, 2003 at 05:02:01PM +, Jonathan Belson wrote:
 I've just been looking into the 'me' option for ipfw:
 
 me  matches any IP address configured on an interface in the
 system.  The address list is evaluated at the time the
 packet is analysed.
 
 Since the machine is a gateway, it has two network cards.  Will
 'me' match *both* IP address or just the first one it comes
 across?  I only really want it to match the IP address of the
 external interface, not the internal one.

Both, I'm afraid.

Ceri
-- 
By the courageous name!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: [Q] ipfw and 'me'

2003-01-06 Thread Jonathan Belson
Ceri Davies wrote:

On Mon, Jan 06, 2003 at 05:02:01PM +, Jonathan Belson wrote:


I've just been looking into the 'me' option for ipfw:

me  matches any IP address configured on an interface in the
   system.  The address list is evaluated at the time the
   packet is analysed.

Since the machine is a gateway, it has two network cards.  Will
'me' match *both* IP address or just the first one it comes
across?  I only really want it to match the IP address of the
external interface, not the internal one.


Both, I'm afraid.


Hmm, I suppose since tests for IP spoofing through the external
interface have already been carried out by that point, it isn't
that much of a problem.

Does the fancy-pants new IPFW2 allow more control for 'me'?


--Jon

http://www.witchspace.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: [Q] ipfw and 'me'

2003-01-06 Thread Jack L. Stone
At 05:23 PM 1.6.2003 +, Jonathan Belson wrote:
Ceri Davies wrote:
 On Mon, Jan 06, 2003 at 05:02:01PM +, Jonathan Belson wrote:
 
I've just been looking into the 'me' option for ipfw:

me  matches any IP address configured on an interface in the
system.  The address list is evaluated at the time the
packet is analysed.

Since the machine is a gateway, it has two network cards.  Will
'me' match *both* IP address or just the first one it comes
across?  I only really want it to match the IP address of the
external interface, not the internal one.
 
 Both, I'm afraid.

Hmm, I suppose since tests for IP spoofing through the external
interface have already been carried out by that point, it isn't
that much of a problem.

Does the fancy-pants new IPFW2 allow more control for 'me'?


--Jon


The best way to do this is to use awk to determine and set a variable for
the external IP every time it changes and then refer to that variable in
your rules.


Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: [Q] ipfw and 'me'

2003-01-06 Thread Jonathan Belson
Dan Nelson wrote:

me is me.  Maybe the recv | xmit | via {ifX | if* | ipno | any}
options will help?  What exactly are you trying to allow/block?


My firewall rules are based on the 'simple' pattern in rc.firewall.
I've got stuff like this to explicitly allow certain connections:

# ssh
${fwcmd} add pass tcp from any to ${oip} 22 setup
${fwcmd} add pass udp from any to ${oip} 22
${fwcmd} add pass udp from ${oip} 22 to any

# Allow DNS queries out in the world
${fwcmd} add pass udp from ${oip} to any 53 keep-state

# Allow NTP queries out in the world
${fwcmd} add pass udp from ${oip} to any 123 keep-state

where ${oip} is my external IP adress (ie. the one that changes
every now and again)


--Jon

http://www.witchspace.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: [Q] ipfw and 'me'

2003-01-06 Thread Jonathan Belson
Jack L. Stone wrote:

The best way to do this is to use awk to determine and set a variable for
the external IP every time it changes and then refer to that variable in
your rules.


ifconfig | grep ^xl0 -1 | tail -n 1 | awk '{ print $2  }'

Any neater way? :-)


--Jon

http://www.witchspace.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: [Q] ipfw and 'me'

2003-01-06 Thread Dan Nelson
In the last episode (Jan 06), Jonathan Belson said:
 Ceri Davies wrote:
 On Mon, Jan 06, 2003 at 05:02:01PM +, Jonathan Belson wrote:
 I've just been looking into the 'me' option for ipfw:
 
 me  matches any IP address configured on an interface in the
system.  The address list is evaluated at the time the
packet is analysed.
 
  Since the machine is a gateway, it has two network cards.  Will
  'me' match *both* IP address or just the first one it comes
  across?  I only really want it to match the IP address of the
  external interface, not the internal one.
 
  Both, I'm afraid.
 
 Hmm, I suppose since tests for IP spoofing through the external
 interface have already been carried out by that point, it isn't that
 much of a problem.
 
 Does the fancy-pants new IPFW2 allow more control for 'me'?

me is me.  Maybe the recv | xmit | via {ifX | if* | ipno | any}
options will help?  What exactly are you trying to allow/block?

-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: [Q] ipfw and 'me'

2003-01-06 Thread Jack L. Stone
At 05:53 PM 1.6.2003 +, Jonathan Belson wrote:
Jack L. Stone wrote:
 The best way to do this is to use awk to determine and set a variable for
 the external IP every time it changes and then refer to that variable in
 your rules.

ifconfig | grep ^xl0 -1 | tail -n 1 | awk '{ print $2  }'

Any neater way? :-)


--Jon


On the nose, Jon!

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: [Q] ipfw and 'me'

2003-01-06 Thread Fernando Gleiser
On Mon, 6 Jan 2003, Jonathan Belson wrote:

 Jack L. Stone wrote:
  The best way to do this is to use awk to determine and set a variable for
  the external IP every time it changes and then refer to that variable in
  your rules.

 ifconfig | grep ^xl0 -1 | tail -n 1 | awk '{ print $2  }'

 Any neater way? :-)

yes :)

ifconfig xl0 | awk '/^\tinet / {print $2}'


Fer



 --Jon

 http://www.witchspace.com


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: [Q] ipfw and 'me'

2003-01-06 Thread Jonathan Belson
Fernando Gleiser wrote:


ifconfig xl0 | awk '/^\tinet / {print $2}'



Nice!  My awk isn't what it should be...


--Jon

http://www.witchspace.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: [Q] ipfw and 'me'

2003-01-06 Thread David Kelly
On Monday 06 January 2003 11:23 am, Jonathan Belson wrote:
 Ceri Davies wrote:
 
 Since the machine is a gateway, it has two network cards.  Will
 'me' match *both* IP address or just the first one it comes
 across?  I only really want it to match the IP address of the
 external interface, not the internal one.
 
  Both, I'm afraid.

 Hmm, I suppose since tests for IP spoofing through the external
 interface have already been carried out by that point, it isn't
 that much of a problem.

So what is the probem with using to/from me via fxp0? Or possibly any 
via fxp0 as you have already decided to accept whatever address is 
assigned to the NIC.

Problem with lifting the IP address off the NIC after DHCP is that you 
have to redo it every time the IP address changes. I have a script 
(/etc/dhclient-exit-hook) to run ddup into mine but have never felt 
totally comfortable with the result and waited about 6 months with it 
running before I actually let it run ddup live rather than echo dddup 
args to a log file.

Speaking of which, I sure would like to get rid of these from 
/var/log/messages. Other machines on this ISP do the same even without 
the dhclient addition mentioned above:

Jan  6 13:30:54 grumpy dhclient: New Network Number: 24.214.34.0
Jan  6 13:30:54 grumpy dhclient: New Broadcast Address: 24.214.34.255
Jan  6 14:40:12 grumpy dhclient: New Network Number: 24.214.34.0
Jan  6 14:40:12 grumpy dhclient: New Broadcast Address: 24.214.34.255

My address does not change, but this stuff floods messages.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]
=
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Q: FreeBSD 4.6.* on Intel D845EBT MB (Promise PDC2067 IDE RAID)

2002-12-06 Thread Christopher Schulte
At 05:36 PM 9/14/2002 +0300, Andrew Stesin wrote:

Hello people,

Anyone tried FreeBSD 4.6.* on Intel D845EBT motherboard?

Especially interesting is how an onboard Promise PDC2067 IDE RAID
controller works with FreeBSD - or better to say, does it work at all?
What are the caveates with it, if any? How RAID configuration works?


I had the same question (on 4.7) regarding the pdc20267.  There were no
formal replies, so I asked Andrew privately.  His response is below, printed
with permission, in case others search the archives for this answer:

Thanks Andrew.

--reply start--

Hi Christopher,

I got a bunch of replies via private email (people think that it's so
obvious that doesn't worth any further public discussion).

Everyone says that yes it works perfectly.

Unfortunately, I personally wasn't able to test this, because my plans to
buy this exact board changed with an appearance of new 845 chipset (533
MHz FSB, DDR 333 etc.) and I got a modern one without RAID (now I'm a
happy user of vinum (1)).

Regards,
Andrew

--reply end--

--
Christopher Schulte
http://www.schulte.org/
Do not un-munge my @nospam.schulte.org
email address.  This address is valid. 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Q: FreeBSD 4.6.* on Intel D845EBT MB (Promise PDC2067 IDERAID)

2002-12-06 Thread Mark
- Original Message -
From: Christopher Schulte [EMAIL PROTECTED]
To: Andrew Stesin [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, December 06, 2002 6:40 PM
Subject: Re: Q: FreeBSD 4.6.* on Intel D845EBT MB (Promise PDC2067 IDERAID)

  Especially interesting is how an onboard Promise PDC2067 IDE RAID
  controller works with FreeBSD - or better to say, does it work at all?
  What are the caveates with it, if any? How RAID configuration works?

 I had the same question (on 4.7) regarding the pdc20267. There were no
 formal replies, so I asked Andrew privately. His response is below,
 printed with permission, in case others search the archives for this
 answer:


Mine is not a formal reply either, of course. :) But I can personally vouch
for the proper functionality of the PDC2067 RAID (on 4.7R). It is on my ASUS
A7V333 board, and FreeBSD gave no problems whatsoever. I installed a RAID 1,
and I could readily install and boot from it, and everything has been
running smoothly ever since.

The only problem I have, is that I have not been able yet to figure out a
way to query the status of each individual, physical drive. But that is, of
course, not a controller problem, but a software one. For Windoze they come
with all kinds of cute utilities, but those are sadly absent for UNIX
systems. I am still looking for a proper snmp agent; but, like I said, that
has nothing to do with the functionality of the PDC2067.

Having done a wee research before I bought the board, I saw that Linux had
quite a bit of trouble with it. But FreeBSD handles everything perfectly.

- Mark


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: Q: FreeBSD 4.6.* on Intel D845EBT MB (Promise PDC2067 IDE RAID)

2002-12-06 Thread Mike Jakubik
I have several FreeBSD machines with onboard Promise and HighPoint ATA RAID
controllers, and they all work perfectly. You should be OK with the Intel
MB.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Christopher
Schulte
Sent: Friday, December 06, 2002 12:41 PM
To: Andrew Stesin; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Q: FreeBSD 4.6.* on Intel D845EBT MB (Promise PDC2067 IDE
RAID)


At 05:36 PM 9/14/2002 +0300, Andrew Stesin wrote:
Hello people,

Anyone tried FreeBSD 4.6.* on Intel D845EBT motherboard?

Especially interesting is how an onboard Promise PDC2067 IDE RAID
controller works with FreeBSD - or better to say, does it work at all?
What are the caveates with it, if any? How RAID configuration works?

I had the same question (on 4.7) regarding the pdc20267.  There were no
formal replies, so I asked Andrew privately.  His response is below, printed
with permission, in case others search the archives for this answer:

Thanks Andrew.

--reply start--
Hi Christopher,

I got a bunch of replies via private email (people think that it's so
obvious that doesn't worth any further public discussion).

Everyone says that yes it works perfectly.

Unfortunately, I personally wasn't able to test this, because my plans to
buy this exact board changed with an appearance of new 845 chipset (533
MHz FSB, DDR 333 etc.) and I got a modern one without RAID (now I'm a
happy user of vinum (1)).

Regards,
Andrew
--reply end--

--
Christopher Schulte
http://www.schulte.org/
Do not un-munge my @nospam.schulte.org
email address.  This address is valid.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: [Q] Sockets verses message queues?

2002-10-25 Thread Fernando Gleiser
On Fri, 25 Oct 2002, Jonathan Belson wrote:

 Hiya


 I'm writing an application which will fork into two processes
 (master/slave), and I require that the two be able to
 communicate asynchronously.  The master will send commands to
 the slave then get on with other things, and the slave will
 send a message back when it's finished.

 Is there any advantage to using AF_UNIX sockets rather than
 message queues, or vice versa (I was thinking about speed,
 but sockets seem to be more complicated code-wise)?

I seem to recall that on BSD systems sockets are faster than message queues
(SysV msg queues) but it depends on the undelying kernel implementation.
Maybe sockets are faster on BSD but slower on solaris.

Personally, I prefer sockets or pipes (both named and anonymous) to message
queues but YMMV.


Fer





 Cheers,


 --Jon

 http://www.witchspace.com


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Q: continuing interrupted 'make buildworld'

2002-10-01 Thread Kevin Oberman

 Date: Tue, 1 Oct 2002 04:32:53 +0300
 From: Giorgos Keramidas [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 On 2002-09-30 17:31, John Mills [EMAIL PROTECTED] wrote:
  I would like to restart a 'make buildworld' without deleting or recreating
  any unnecesary files (i.e., after messing about in the source tree).
 
  How should I do this? (Is this the effect of 'make -DNOCLEAN buildworld'?)
 
 That should work.  It will rebuild a few things that you could
 probably avoid, but in general it works fine.

Try to interrupt the buildworld during a compile as the compiler will
not create the output file until the end of the operation and a
restart will re-run the interrupted compile.

Some other operations leave the system in an indeterminate state. For
example, when creating a library, the library is created and then
modules are added. IF the process is re-started, make(1) sees the
library with an updated time-stamp and goes on without loading the
remaining modules.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Q: continuing interrupted 'make buildworld'

2002-10-01 Thread John Mills

Gary -

On 1 Oct 2002, Gary W. Swearingen wrote:

 IIRC, when I've done make buildkernel (maybe buildworld) a second
 time (eg, to do benchmarks with two BIOS settings), the thing rebuilt
 the whole kernel again.  I've always wondered why.  I thought make 
 was supposed to use old files when possible.

I suspect the target 'buildworld' has as a condition the target 'clean' or
something similar. I started looking for the target definitions, but
didn't find them.

Like, in a high-level 'Makefile':
...
buildworld: clean [...]

...

as it may also have:
...
installkernel: buildkernel [...]

...

 - John Mills


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Q: continuing interrupted 'make buildworld'

2002-10-01 Thread Kevin Oberman

 Date: Tue, 1 Oct 2002 17:03:31 -0400 (EDT)
 From: John Mills [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 Gary -
 
 On 1 Oct 2002, Gary W. Swearingen wrote:
 
  IIRC, when I've done make buildkernel (maybe buildworld) a second
  time (eg, to do benchmarks with two BIOS settings), the thing rebuilt
  the whole kernel again.  I've always wondered why.  I thought make 
  was supposed to use old files when possible.
 
 I suspect the target 'buildworld' has as a condition the target 'clean' or
 something similar. I started looking for the target definitions, but
 didn't find them.

Look in .usr/src/Makefile.inc1

It's actually rather more complicated that just having clean as a
dependency for buildworld/buildkernel. The idea is maximum safety and
building something with the complexity of the operating system
without knowledge of the state of EVERYTHING in the build is more
dangerous, si the default for building wither the kernel or the world
is to clean most everything up before starting.

Just some honest paranoia. It's really ugly to build a new OS and
discover that some stuff won't work. (Try living with a bad libc.) A
corrupt kernel is even worse.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Q: continuing interrupted 'make buildworld'

2002-10-01 Thread Giorgos Keramidas

On 2002-10-01 13:48, Gary W. Swearingen [EMAIL PROTECTED] wrote:
 Giorgos Keramidas [EMAIL PROTECTED] writes:
  On 2002-09-30 17:31, John Mills [EMAIL PROTECTED] wrote:
   I would like to restart a 'make buildworld' without deleting or recreating
   any unnecesary files (i.e., after messing about in the source tree).
  
   How should I do this? (Is this the effect of 'make -DNOCLEAN buildworld'?)
 
  That should work.  It will rebuild a few things that you could
  probably avoid, but in general it works fine.

 IIRC, when I've done make buildkernel (maybe buildworld) a second
 time (eg, to do benchmarks with two BIOS settings), the thing rebuilt
 the whole kernel again.  I've always wondered why.  I thought make
 was supposed to use old files when possible.

The buildkernel target will run a make clean before building the new
kernel, in an effort to be on the safe side.  This will delete all the
old kernel's object files (anything that had been compiled before the
interruption took place).  Thus, all files will be compiled again...

This is exactly what the original question was about.  -DNOCLEAN
inhibits the Makefiles from running make clean.  I don't know if
this is a sufficiently explanatory answer, but anyone curious enough
can always look up the exact commands that the buildkernel make target
runs at /usr/src/Makefile.inc1 :-)

Giorgos.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Q: continuing interrupted 'make buildworld'

2002-10-01 Thread John Mills

Giorgos -

Thanks for the note.

On Wed, 2 Oct 2002, Giorgos Keramidas wrote:

 The buildkernel target will run a make clean before building the new
 kernel, in an effort to be on the safe side.  This will delete all the
 old kernel's object files (anything that had been compiled before the
 interruption took place).  Thus, all files will be compiled again...
 
 This is exactly what the original question was about.  -DNOCLEAN
 inhibits the Makefiles from running make clean.  I don't know if
 this is a sufficiently explanatory answer, but anyone curious enough
 can always look up the exact commands that the buildkernel make target
 runs at /usr/src/Makefile.inc1 :-)

I am in a bit of a quandry with my upgrade from RELENG_4_5 to RELENG_4_6.

 1. I got the not-unfamiliar compiler bomb-out on alloc_entry.c in
ncurses/ncurses/tminfo (or close).

 2. I backed off to RELENG_4_5 and got a clean cvsup and 'make buildworld'

 3. RELENG_4_5 and RELENG_4_6 have identical versions of the file on which 
cc bombed, and the version of gcc in 4_5 seems to be the latest, and
presumably the same as anticipated for 4_6. ['make' is a bit dated
(compared with what 'gcc' is claimed to need); perhaps I need to upgrade
that package.]

 4. I followed 'make buildworld' in RELENG_4_5 with a 'cvsup' to
RELENG_4_6 and a 'make -DNOCLEAN buildworld', which ran cleanly to
completion, as did 'make buildkernel'.
#$%!!!

My fear is that I'm running with part of my 'world' compiled in RELENG_4_5
sources and part in RELENG_4_6 sources. I guess as soon as I am running on
4_6, I will immediately remake 'world' and kernel and see how it goes.

I am seeing lots of log streaming by, but so far I don't think I've
actually learned anything.

Cheers, and thanks for the patient help.

 - John Mills


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message