switching ide disk, change disklabel?

2004-12-02 Thread Alex Teslik
Hello,

   I am adding a new disk to the system to make my /home partition bigger.
Currently I have /home on ad0s1e. I will be adding ad1s1e. After I copy all
the data from ad0 to ad1 I want to remove ad0 and make ad1 the master on that
controller. Will I need to change the disklabel of ad1 to ad0 at that point,
or will FreeBSD automagically know what to do?
   Note that this is all on the second controller, so no booting happening
here. Just /home data.

uname -a
FreeBSD xx..com 4.9-RELEASE-p2 FreeBSD 4.9-RELEASE-p2 #1: Tue Jun
 8 19:15:51 PDT 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/DUALP3-RELENG_4_9  i386

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


Re: Exim and FBSD 5.3

2004-12-02 Thread Kees Plonsz
On Thursday 02 December 2004 08:39, Nelis Lamprecht wrote:

 Actually the default user/group for the port install is mailnull:mail
 There are many configuration options(if not all) which can be
 added/tweaked simply by editing the Makefile in the port directory(or
 via the command line). The best part is it sets up all the directory
 permissions user/group etc for you and generally just works. Trust in
 the ports, it will save you a lot of headaches in the long run
 especially when it comes to upgrading.

 Nelis

I think it is a different makefile. The one in the original tar ball
is 45 kBytes long. But the one in the ports tree is 16 kBytes.
There were a lot of options like the logfilepath wich is
default not via syslogd and put somewhere in an exim dir.

I do a clean install when I do an upgrade. Disk space is
cheap, even for a poor guy like me.

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


Re: Deleting Packages

2004-12-02 Thread Brian Bobowski
Gerard Seibert wrote:
I have a large number of files in the '/usr/ports/packages/All' 
directory. Since I could use the disk space that they are taking up, I 
wonder if it is permissible to just delete them. I  clean out the 
'/usr/ports/distfiles' directory on a regular schedule without incident.

Thanks in advance!
Gerard Seibert
[EMAIL PROTECTED]
Murphy's Seventh Law: Left to themselves, things tend to go from bad 
to worse.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

My first instinct would be that the packages directory is for binary, 
precompiled packages what the distfiles directory is for source 
tarballs, and can be regularly cleaned.

However, I didn't see a reference to it un /usr/ports/README, whereas it 
did advise me that distfiles can be periodically cleaned without ill effect.

The FreeBSD 5.1 machine I presently have running doesn't even have a 
/usr/ports/packages directory. Since I install pretty much everything 
from the port when I can, and nothing huge was made(except PHP, which I 
know was compiled anyway), this would still fit with my theory. Is there 
a README file in your /usr/ports/packages directory? Also, glance at 
some of the files and see if they look like distribution packages.

Sorry I can't be more specific.
-BB
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can't mount windows partition

2004-12-02 Thread Brian Bobowski
Rizal Ferdiyan wrote:
hello ;
my name rizal from indonesia, I have a problem. My partition windows
(FAT
32) can't mount
in freebsd. My partition in /dev/ad0s1 and /dev/ad0s2. I have been try
writemount -t msdosfs /dev/ad0s1(ad0s2) /mnt/win1(ad0s1) and
mount_msdosfs /node  but it don't work. Please help me and sorry for my
bad english.
thank you.
 

Please provide the error text and the output of uname -a if this 
doesn't work, but...

Are you certain that it's a FAT32 disk and not an NTFS? Windows XP, for 
instance, can use the NTFS file system(my Home edition does by default).

That said, there is a problem with your mount syntax. That or I can't 
figure out exactly what you're typing.

I don't know which of your disk partitions is which. I'm going to give 
examples as though /dev/ad0s1 is the Windows partition and /dev/ad0s2 is 
the FreeBSD slice; in /dev, such a slice would show up with letters 
after the slice number to indicate the FreeBSD partition, such as 
/dev/ad0s2a, ad0s2c, ad0s2d... etc. (I believe b is not currently used, 
left open for convention; a is for the / partition; and c is swap. This 
is all convention, but it's convention the FreeBSD installer's 
auto-partition option in fdisk would adhere to.)

Anyway, if the Windows partition is indeed /dev/ad0s1, make sure 
/mnt/win1 exists and try the following as root:

mount -r -t msdosfs /dev/ad0s1 /mnt/win1
This will attempt to mount the device read-only, which may at least be a 
stepping stone. If this doesn't work, you can also try using NTFS(just 
in case), thus:

mount -r -t ntfs /dev/ad0s1 /mnt/win1
If either works, then you will be able to:
mount -uw /mnt/win1
and update the already-mounted filesystem to read-write.
If you can get this working, Mr Kevin Smith has given an excellent 
example of how to place an entry into your /etc/fstab file. In fact, it 
might be easier to put that entry in /etc/fstab and then simply type:

mount -a
to automatically mount the unmounted entries in the fstab.
If this doesn't work, please post the exact error text and what you 
typed to receive it. Also, the output of ls /dev/ad* may be helpful, 
and as I mentioned above, uname -a never is amiss.

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


Re: I can not install FreeBSD 5.3 in an old Pentium 100 MHz

2004-12-02 Thread Ramiro Aceves
Ted Mittelstaedt wrote:

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ramiro Aceves
Sent: Wednesday, December 01, 2004 2:18 AM
To: Ted Mittelstaedt
You are right Ted, when I had Linux installed on that pentium machine it
worked even slower than a 486 machine that I also have.
Tonight, I downloaded FreeBSD 4.10 mininst cdrom and I successfuly
installed in the dog-slow-pentium. I seems to work but it is slow as you
said.

Can you post the output of dmesg?  Just curious.
of course
 Copyright (c) 1992-2004 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
 FreeBSD 4.10-RELEASE #0: Tue May 25 22:47:12 GMT 2004
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
 Timecounter i8254  frequency 1193182 Hz
 CPU: Pentium/P54C (99.92-MHz 586-class CPU)
   Origin = GenuineIntel  Id = 0x525  Stepping = 5
   Features=0x1bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8
 real memory  = 16777216 (16384K bytes)
 avail memory = 11100160 (10840K bytes)
 Preloaded elf kernel kernel at 0xc0551000.
 Intel Pentium detected, installing workaround for F00F bug
 md0: Malloc disk
 pcibios: No call entry point
 npx0: math processor on motherboard
 npx0: INT 16 interface
 pcib0: Host to PCI bridge on motherboard
 pci0: PCI bus on pcib0
 pci0: unknown card (vendor=0x10b9, dev=0x1449) at 2.0
 atapci0: CMD 640 ATA controller !WARNING! buggy chip data loss 
possible at device 3.0 on pci0

 atapci0: Busmastering DMA not supported
 atapci0: Busmastering DMA disabled
 pci0: Cirrus Logic GD5434 SVGA controller at 4.0
 pci0: unknown card (vendor=0x1274, dev=0x5880) at 14.0 irq 9
 rl0: RealTek 8139 10/100BaseTX port 0xd000-0xd0ff mem 
0x400-0x4ff irq 5 at device 15.0 on pci0
 rl0: Ethernet address: 00:02:44:76:07:ca
 miibus0: MII bus on rl0
 rlphy0: RealTek internal media interface on miibus0
 rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 isa0: ISA bus on motherboard
 orm0: Option ROM at iomem 0xc-0xc7fff on isa0
 pmtimer0 on isa0
 fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
 fdc0: FIFO enabled, 8 bytes threshold
 fd0: 1440-KB 3.5 drive on fdc0 drive 0
 ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
 ata1 at port 0x170-0x177,0x376 irq 15 on isa0
 atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
 atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
 kbd0 at atkbd0
 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
 sc0: System console at flags 0x100 on isa0
 sc0: VGA 16 virtual consoles, flags=0x300
 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
 sio0: type 16550A
 sio1 at port 0x2f8-0x2ff irq 3 on isa0
 sio1: type 16550A
 ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
 plip0: PLIP network interface on ppbus0
 lpt0: Printer on ppbus0
 lpt0: Interrupt-driven port
 ppi0: Parallel I/O on ppbus0
 ata1-slave: ATAPI identify retries exceeded
 ad0: 520MB ST3660A [1057/16/63] at ata0-master BIOSPIO
 acd0: CDROM SAMSUNG CD-ROM SCR-2431 at ata1-master BIOSPIO
 Mounting root from ufs:/dev/ad0s1a

snip
Thank you dear Ted for your offer. If I need it I will tell you in the
future. This dog-pentium is a Fujitsu model that I hate, cause it is on
a landscape shaped box (I do not know the english word, it is for
staying on a table, and the monitor on top of it)

Usually referred to as a low profile desktop case.  If it's a case like
yours that won't take a standard motherboard, it's a low profile
proprietary manufacturers case
thank you for the explanation
Generally you don't see these much because the newer ATX form factor,
requires too much room for the standard low-profile desktop
case to fit.  Also, nowadays at least in the US, the threat of workers
compensation lawsuits has pretty much got most larger companies to
throw away their older non-ergonomic office furniture.  The new office
furniture is designed for a keyboard and monitor to sit flat on the desk
and be at the correct height.  From a big companies point of view
they don't want the low-profile desktop cases because then the screen is
too high, and it can become a liability issue for repetitive stress
syndrome injury claims.
snip
As you can see, I am collecting old machines just to play. I do the same
with valve black and white TV sets. I have got my first TV with 35 years
old working in a room at my house in the countryside :-)

:-)  I threw away the last black and white valve (tube) tv I had about 20
years
ago when I was in college.  And even then that TV was about 30 years old.
That is amazing!
Thanks for all!
Ramiro

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


Perl undefined symbol errors

2004-12-02 Thread Matthew Law
Hello,

I am having issues with Perl and wondered if someone might be able to
help.  For example, I installed from ports, anomy-sanitizer.  
Occasionally I see the following error when run from procmail:

/usr/local/bin/sanitizer.pl,/usr/local/etc/sanitizer.cfg
/libexec/ld-elf.so.1:
/usr/local/lib/perl5/site_perl/5.8.5/mach/auto/Digest/MD5/MD5.so:
Undefined symbol Perl_malloc

I am using FreeBSD 5.3.  All ports were installed straight after an
update to ports-all with cvsup.

It's difficult for me to debug since it only happens occasionally.
Would I be correct in thinking that these errors occur because perl
expects it's libs in a different place to where they are in FreeBSD?

Is this a known problem and what is the solution?

Thanks in advance,

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


Re: gcc violates const-ness of variable?

2004-12-02 Thread Andrea Venturoli
Rob wrote:
 Hi,

 This should probably be discussed in the GNU gcc mailinglist.
 But I'm more familiar here, and I first want to share it here
 with other FreeBSD users.

 I'm surprised about this piece of code:

  #includestdio.h
  int main()
  {
   const int n = 0;
   scanf(%d, n);
   printf(%d\n, n);
   return 0;
  }

 With gcc compiler, the constant variable 'n' will be overwritten
 by the scanf statement. With g++ it (silently) is not.
 So, I get following:

 $ gcc -W -Wall code.c
 code.c: In function `main':
 code.c:5: warning: writing into constant object (arg 2)
 $ ./a.out
 9
 9
 $ g++ -W -Wall code.c
 code.c: In function `int main()':
 code.c:5: warning: writing into constant object (arg 2)
 $ ./a.out
 9
 0

 Is this a bug in gcc, or a feature?
Well, I do not know the precise answer, I'd have to look in the 
standards and have no time right now, so I'll just give you some pointers...

gcc -W -Wall code.c - C compiler/you are compiling C code
g++ -W -Wall code.c - C++ compiler/you are compiling C++ code
The source seems a mix of *standard* C and C++: stdio.h does not exist 
in C++, it might only be there for legacy code, but it works most of the 
times; IIRC const does not exist in *standardized* C...
gcc should ignore that (I guess), unless you specify -traditional.

const exists in C9X, which is not yet an official standard. I think 
gcc will support that, possibly with some command line switch or 
#define; I'm sure on Debian GNU/Linux some of the library features are 
turned on the latter way.

 bye
av.



smime.p7s
Description: S/MIME Cryptographic Signature


Re: gcc violates const-ness of variable?

2004-12-02 Thread Malcolm Kay
On Thu, 2 Dec 2004 05:42 pm, Rob wrote:
 Hi,

 This should probably be discussed in the GNU gcc mailinglist.
 But I'm more familiar here, and I first want to share it here
 with other FreeBSD users.

 I'm surprised about this piece of code:

   #includestdio.h
   int main()
   {
const int n = 0;
scanf(%d, n);
printf(%d\n, n);
return 0;
   }


It is of course wrong to pass a pointer to a 'const' object
to scanf in either language. But the syntax is legal and does
not require a diagnostic.

 With gcc compiler, the constant variable 'n' will be overwritten
 by the scanf statement. With g++ it (silently) is not.
 So, I get following:

 $ gcc -W -Wall code.c
 code.c: In function `main':
 code.c:5: warning: writing into constant object (arg 2)
 $ ./a.out
 9
 9
 $ g++ -W -Wall code.c
 code.c: In function `int main()':
 code.c:5: warning: writing into constant object (arg 2)
 $ ./a.out
 9
 0


But as for the difference bewtween C and C++ versions at run time
this comes about from the differences in the languages.
You must not assume C is some sort of subset of C++. The languages 
are distinctly different and one of the most important differences 
is in the meaning of the 'const' qualifier. So the same source has 
different meaning and should generate different code!

 Is this a bug in gcc, or a feature?

Neither, you are trying to equate two different languages.

Malcolm

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


ssh error

2004-12-02 Thread FreeBSD questions mailing list
Hello,
I recently upgraded from 5.2.1 to 5.3 and I ran into a problem that i 
can't seem to solve...
I want to ssh from a local computer to my firewall running sshd.
This used to work without any errors in the past but after the upgrade 
I get the following errors on both comps:

Error on ssh computer:
Warning: no access to tty (Bad file descriptor).
Thus no job control in this shell.
(This computer then locks the shell completely)
Error on sshd computer (amadeus):
Dec 1 2:16:17 amadeus sshd[11565]: error: openpty: No such file or 
directory
Dec 1 2:16:17 amadeus sshd[11568]: error: session_pty_req: session 0 
alloc failed
(I've tried to ssh from the firewall comp to itself resulting in the 
same errors)

The login process goes well and there are processes on the firewall 
showing that there is a connection.
There's just no shell...

I have device pty in my kernel.
It used to work fine in 5.2.1
Thanks,
Arno
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gcc violates const-ness of variable?

2004-12-02 Thread Richard Tobin
 IIRC const does not exist in *standardized* C...

No, it exists in both C89 and C99.  But the error is in your program,
not the compiler.  const in C is a promise that you do not change
the value, and you break that promise.

It may be different in C++, I don't know.

For definitive answers, try the newsgroups comp.lang.c and comp.lang.c++

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


Re: How to capture make installworld error during migration from 5.1 to 5-Stable?

2004-12-02 Thread Christian Hiris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 02 December 2004 08:23, Stacey Roberts wrote:
 Hi Christian,

 What I've been doing is swapping hardware around on this box in order to
 get 5.3-REL CD-Sets to boot on this machine.., What I found is that
 swapping out the Tekram card for an Adaptec-29160 enabled (for whatever
 reason) to be able to boot and install off the 5.3-REL CD's.

 After (using the 29160 SCSI disk utility) formatting both SCSI disks, the
 installation went fine, until the first reboot - I get the following:

 No /boot/loader

 FreeBSD/i386 boot
 Default: 0:da(0,a)/kernel
 No /kernel

 FreeBSD/i386 boot
 Default: 0:da(0,a)/kernel
 boot:

Try  0:da(0,a)/boot/kernel/kernel here. Maybe your bios reports a wrong 
controller, in this case try 1:da(0,a)/boot/kernel/kernel. Try also the 
second disk 0:da(1,a)/boot/kernel/kernel. 

When you install from the CD, it is possible to display diagnostic and error 
messages on the second terminal. You can reach it by pressing ALT-F2.
Tell us, if you find some interresting messages here.

Some points you could check:

Did you set the bootable flag on your root slice in the FDISK partition   
editor screen?   

Did you select Install the FreeBSD Boot Manager or Install a standard MBR 
at the boot manager installation screen?

Did you try the installation process with ACPI disabled? 

Are the latest BIOS versions installed on your mainbord and SCSI 
controller card?

BTW - which mainboard do you use?

- -- 
Christian Hiris [EMAIL PROTECTED] | OpenPGP KeyID 0x3BCA53BE 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBrwKS09WjGjvKU74RAq0cAJ9gonfOurDoolZ958YRmf/9VfnRPgCfdvVN
TTkdos4zDJZNXs/QOIvNAIA=
=riEo
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Re[2]: WRITE_DMA failures on 5.3 (but NOT on 4.10)

2004-12-02 Thread craig
as much as i have tried, i have still not managed to resolve this issue.
the best i can do at this time is to revert back to 4.10-stable (which has
its own USB issues...)

considering this is a fairly serious issue (at least, to me it is), would it
be appropriate to post a PR?
i have done a cursory search through the archive and not come up with
anything similar.

thanks,

---
[EMAIL PROTECTED]
 

-Original Message-
From: DanGer [mailto:[EMAIL PROTECTED] 
Sent: 29 November 2004 17:23
To: craig; [EMAIL PROTECTED]
Subject: Re[2]: WRITE_DMA failures on 5.3 (but NOT on 4.10)


Hi craig,

Monday, November 29, 2004, 10:47:11 AM, you thoughtfully wrote the
following:

DanGer wrote:
[...]
 
 
 i have the same issue on brand new 200gb ata maxtor hard drive. i 
 had the same issue on 5.2.1, but when i upgraded to 5.3 i decided to 
 turn on ata dma but after 9 days of uptime it froze..no logs, 
 whatever...so i turned ata dma off for now, and i will stay and 
 watch what will happen..

That's very helpful, thank you. The behaviour you describe - machine 
freezing - is exactly what I have experienced. I'm feeling vaguely 
optimistic now :-)

 
 but there should be some other fix, because i don't want to keep my 
 disc in pio mode :/

Absolutely. But I guess, since I'm not going to try to produce a fix 
myself, I can't whinge too loudly. A workaround is what I need right 
now and I hope you've confirmed that this is one.

Peter.


 have you had any luck yet?

there wasn't reboot since last, when i turned dma off and i have no strange
messeges in logs..but i have to remind you, that the box froze after 9 days
of uptime, when i had dma turned on, so...

 i've disabled DMA at a bios level, but it seems to make no discernable 
 difference. and the installation still fails...

try to turn it off in system before boot in loader prompt
(not sure if this is possible:))

 have the IDE drivers changed between 4.10 and 5.3?

i think so, but there are people who understands this more than me ;-)

 much thanks,

-- 
Best Regards,

+--==/\/\==--+   (__)  FreeBSD
| DanGer [EMAIL PROTECTED] |\\\'',)  The
| [EMAIL PROTECTED] ICQ261701668 |  \/  \ ^Power
| http://danger.homeunix.org |  .\._/_)To
+--==\/\/==--+ Serve

[ (singing): Spam, spam, it comes in a can...And elephants come in quarts! ]

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


Re: switching ide disk, change disklabel?

2004-12-02 Thread Malcolm Kay
On Thu, 2 Dec 2004 06:38 pm, Alex Teslik wrote:
 Hello,

I am adding a new disk to the system to make my /home partition bigger.
 Currently I have /home on ad0s1e. I will be adding ad1s1e. After I copy all
 the data from ad0 to ad1 I want to remove ad0 and make ad1 the master on
 that controller. Will I need to change the disklabel of ad1 to ad0 at that
 point, or will FreeBSD automagically know what to do?

If you mean to move the disk containing ads1s1e from primary slave to the 
primary master then the partition will automatically become ad0s1e.

But how are the other partitions in your system organised? Are you currently 
using ad0s1a, ad0s1b etc.? These will move with the disk. If you are physically 
swapping the disk connections these will become ad1s1a, ad1s1b etc. which will
be a problem. You'll need to fix /etc/fstab and arrange for a booting MBR on 
the new disk and arrange for the boot sequence to find your / partition.

Malcolm

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


Why these connections from 127.0.0.1?

2004-12-02 Thread Jonathon McKitrick

I'm trying to figure out why these messages are showing up:

neptune kernel log messages:
 Connection attempt to TCP 127.0.0.1:113 from 127.0.0.1:3746 flags:0x02
 Connection attempt to TCP 127.0.0.1:113 from 127.0.0.1:2058 flags:0x02
 Connection attempt to UDP 127.0.0.1:512 from 127.0.0.1:4293
 Connection attempt to UDP 127.0.0.1:512 from 127.0.0.1:4864
 Connection attempt to TCP 127.0.0.1:113 from 127.0.0.1:1972 flags:0x02
 Connection attempt to UDP 127.0.0.1:512 from 127.0.0.1:3859

I thought my firewall was allowing loopback traffic.

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


Re: Why these connections from 127.0.0.1?

2004-12-02 Thread Fernando Gleiser
On Thu, 2 Dec 2004, Jonathon McKitrick wrote:


 I'm trying to figure out why these messages are showing up:

 neptune kernel log messages:
  Connection attempt to TCP 127.0.0.1:113 from 127.0.0.1:3746 flags:0x02
  Connection attempt to TCP 127.0.0.1:113 from 127.0.0.1:2058 flags:0x02
  Connection attempt to UDP 127.0.0.1:512 from 127.0.0.1:4293
  Connection attempt to UDP 127.0.0.1:512 from 127.0.0.1:4864
  Connection attempt to TCP 127.0.0.1:113 from 127.0.0.1:1972 flags:0x02
  Connection attempt to UDP 127.0.0.1:512 from 127.0.0.1:3859

 I thought my firewall was allowing loopback traffic.

They look like log in vain entries. to you have log in vain enabled?

113/tcp is identd and 512/udp is biff. My guess is your mail system is
generating those requests and log in vain logs them.


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


Re: gcc violates const-ness of variable?

2004-12-02 Thread Sergey Zaharchenko
Figured Rob would never get an off-list reply because of an invalid
address... sending the reply here

On Thu, Dec 02, 2004 at 11:27:24AM +,
 Richard Tobin probably wrote:
  IIRC const does not exist in *standardized* C...
 
 No, it exists in both C89 and C99.  But the error is in your program,
 not the compiler.  const in C is a promise that you do not change
 the value, and you break that promise.
 
 It may be different in C++, I don't know.

In C, your promise is a promise to yourself only. In C++, the compiler
believes your promise and optimizes out the variable so that
printf(...,n) becomes printf(...,0). C++ is intendedly so `gullible' to
make more aggressive optimizations (like this) possible.

Try turning off optimizations for g++ to see if that `helps', but the
code is not valid C++ anyway.

HTH,

-- 
DoubleF
A LISP programmer knows the value of everything, but the cost of
nothing.


pgpZOAtF8hdlR.pgp
Description: PGP signature


Re: ssh error

2004-12-02 Thread Andy Harrison
 Error on ssh computer:
 Warning: no access to tty (Bad file descriptor).
 Thus no job control in this shell.
 (This computer then locks the shell completely)
 
 Error on sshd computer (amadeus):
 Dec 1 2:16:17 amadeus sshd[11565]: error: openpty: No such file or
 directory
 Dec 1 2:16:17 amadeus sshd[11568]: error: session_pty_req: session 0
 alloc failed
 (I've tried to ssh from the firewall comp to itself resulting in the
 same errors)

Did you run mergemaster and allow it to do a MAKEDEV?


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


Open-Source project

2004-12-02 Thread Dylan Nicolini
Dear Sir:

I am very eager to contribute to the FreeBSD project. Currently, I am a Junior 
in college, majoring in Computer Science. I believe in the theory of open 
source very strongly, and I would love the oppurtunity to contribute to this 
project. If there are any suggestions on where to start I am very open to 
anything.

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


Re: Why these connections from 127.0.0.1?

2004-12-02 Thread Jonathon McKitrick
On Thu, Dec 02, 2004 at 09:50:51AM -0300, Fernando Gleiser wrote:
: On Thu, 2 Dec 2004, Jonathon McKitrick wrote:
: 
: 
:  I'm trying to figure out why these messages are showing up:
: 
:  neptune kernel log messages:
:   Connection attempt to TCP 127.0.0.1:113 from 127.0.0.1:3746 flags:0x02
:   Connection attempt to TCP 127.0.0.1:113 from 127.0.0.1:2058 flags:0x02
:   Connection attempt to UDP 127.0.0.1:512 from 127.0.0.1:4293
:   Connection attempt to UDP 127.0.0.1:512 from 127.0.0.1:4864
:   Connection attempt to TCP 127.0.0.1:113 from 127.0.0.1:1972 flags:0x02
:   Connection attempt to UDP 127.0.0.1:512 from 127.0.0.1:3859
: 
:  I thought my firewall was allowing loopback traffic.
: 
: They look like log in vain entries. to you have log in vain enabled?

I believe so.

: 113/tcp is identd and 512/udp is biff. My guess is your mail system is
: generating those requests and log in vain logs them.

Should I disable log-in-vain or somehow allow these through?


jm
--
My other computer is your Windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ssh error

2004-12-02 Thread FreeBSD questions mailing list
On 02 dec 2004, at 14:45, Andy Harrison wrote:
Error on ssh computer:
Warning: no access to tty (Bad file descriptor).
Thus no job control in this shell.
(This computer then locks the shell completely)
Error on sshd computer (amadeus):
Dec 1 2:16:17 amadeus sshd[11565]: error: openpty: No such file or
directory
Dec 1 2:16:17 amadeus sshd[11568]: error: session_pty_req: session 0
alloc failed
(I've tried to ssh from the firewall comp to itself resulting in the
same errors)
Did you run mergemaster and allow it to do a MAKEDEV?
Isn't MAKEDEV only for systems prior to 5?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 5.3 STABLE SMP Kernel

2004-12-02 Thread Ronnie Clark
Hello all, 

I hope what I have is a simple question. 

I have a dual proc machine, that I have loaded 5.3
RELEASE on and then updated it to STABLE. While
reading the Handbook I see where the GENERIC kernel
has SMP built in via the SMP file in
/usr/src/sys/i386/conf directory. 

So, to enable SMP for my custom kernel, do I simply
need to edit SMP to include my custom kernel name?

Thanks in advance,
Ron Clark




__ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 

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


RE: Qpopper errors

2004-12-02 Thread Olaf Greve
Hi,

 So, anybody don't know what is this? :(
 
 My guess... *everybody* doesn't know what this is (although some might
 know what Qpopper is). Part of your message is missing?

:)))

Indeed the question could be slightly more specific. :)

Part of it can be answered though: Qpopper is a POP3 server. I use it
too (v4.0) under FreeBSD 5.2.1 Release i386 and I have no issues with
it. I call it from /etc/inetd.conf as follows:

pop3stream  tcp nowait  root/usr/local/libexec/qpopper
qpopper

To install Qpopper I _think_ I simply used sysinstall and installed it
as a package. If this wasn't the case, I simply compiled the port and
installed it.

Does that answer the question? If not, then please let me know, perhaps
I can help to solve further questions...

Cheers,
Olafo

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


Re: blacklisting failed ssh attempts

2004-12-02 Thread Charles Ulrich

Josh Paetzel said:
 This may or may not help you, but I generally firewall ssh so that
 only known addresses can get in.  (whitelisting as opposed to
 blacklisting)

Thanks for the tip. We actually do this on some of our servers, but this is a
web server that we need to get to quickly should it stop working. It's looking
like I might just put ssh on a non-standard port and think about an IDS if
there these kind of attacks continue.

-- 
Charles Ulrich
Ideal Solution, LLC - http://www.idealso.com

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


Re: Answers: Keeping FreeBSD Up-To-Date

2004-12-02 Thread Charles Ulrich

Richard Bejtlich said:
 Here's (hopefully) some answers for once, rather than more questions!

 I am happy to announce the publication at TaoSecurity.com of 'Keeping
 FreeBSD Up-To-Date':

 http://www.taosecurity.com/keeping_freebsd_up-to-date.html

This looks like an excellent guide, and would be especially useful for those
new to FreeBSD. I'll keep it bookmarked for sure. One possible addition could
be a section on keeping the ports tree current.

-- 
Charles Ulrich
Ideal Solution, LLC - http://www.idealso.com

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


Re: Answers: Keeping FreeBSD Up-To-Date

2004-12-02 Thread Panagiotis Christias
On Thu, 2 Dec 2004 10:17:24 -0500 (EST), Charles Ulrich
[EMAIL PROTECTED] wrote:
 
 Richard Bejtlich said:
  Here's (hopefully) some answers for once, rather than more questions!
 
  I am happy to announce the publication at TaoSecurity.com of 'Keeping
  FreeBSD Up-To-Date':
 
  http://www.taosecurity.com/keeping_freebsd_up-to-date.html
 
 This looks like an excellent guide, and would be especially useful for those
 new to FreeBSD. I'll keep it bookmarked for sure. One possible addition could
 be a section on keeping the ports tree current.
 
 --
 Charles Ulrich
 Ideal Solution, LLC - http://www.idealso.com

Excellent guide. A table of contents on the top would be useful. IMHO,
white background and black text or the FreeBSD Handbook style would be
better. Page bookmarked.

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


Re: Open-Source project

2004-12-02 Thread Cezar Fistik
Hi Dylan,

I believe this kind of questions has been answered here thousands of times.
Anyway, open source is a term with a very broad meaning, but if you are
interested to contribute to FreeBSD, this could be a good starting point.

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributing/index.html

Regards,
Cezar


- Original Message - 
From: Dylan Nicolini [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 02, 2004 9:22 AM
Subject: Open-Source project


Dear Sir:

I am very eager to contribute to the FreeBSD project. Currently, I am a
Junior in college, majoring in Computer Science. I believe in the theory of
open source very strongly, and I would love the oppurtunity to contribute to
this project. If there are any suggestions on where to start I am very open
to anything.

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




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


Re: Why these connections from 127.0.0.1?

2004-12-02 Thread Christian Hiris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 02 December 2004 15:06, Jonathon McKitrick wrote:
 On Thu, Dec 02, 2004 at 09:50:51AM -0300, Fernando Gleiser wrote:
 : On Thu, 2 Dec 2004, Jonathon McKitrick wrote:
 :  I'm trying to figure out why these messages are showing up:
 : 
 :  neptune kernel log messages:
 :   Connection attempt to TCP 127.0.0.1:113 from 127.0.0.1:3746
 :   flags:0x02 Connection attempt to TCP 127.0.0.1:113 from
 :   127.0.0.1:2058 flags:0x02 Connection attempt to UDP 127.0.0.1:512
 :   from 127.0.0.1:4293
 :   Connection attempt to UDP 127.0.0.1:512 from 127.0.0.1:4864
 :   Connection attempt to TCP 127.0.0.1:113 from 127.0.0.1:1972
 :   flags:0x02 Connection attempt to UDP 127.0.0.1:512 from
 :   127.0.0.1:3859
 : 
 :  I thought my firewall was allowing loopback traffic.
 :
 : They look like log in vain entries. to you have log in vain enabled?

 I believe so.

 : 113/tcp is identd and 512/udp is biff. My guess is your mail system is
 : generating those requests and log in vain logs them.

 Should I disable log-in-vain or somehow allow these through?

The log-in-vain sysctl only controls logging behavior, it has no influence on 
how the packets are handled.  

Rejecting the identd packets or running an identd server might speed up your 
mailservices. It's possible that a mailservice like smtp waits until it gets 
a reply from your identd service. In the worst case it waits until network 
timeout is reached. This probably depends on your blackhole(4) sysctl 
settings.

On how to run several types of identd services see /etc/inetd.conf - look out 
for the predefined auth services - and 'man 8 inetd'. Or simply reject the 
connection requests by your firewall, by sending a RST, discarding the packet  
is not sufficient in this case. 

AFAIK know SMTP servers try to gain some information (like username and 
systemname) from a clientsystem via identd. So if you decide to enable 
identd, better check your mail-headers afterwards.

I never run comsat/biff, so I can't tell you much about. 'man 8 comsat' and 
'man 1 biff' is your friend.   

- -- 
Christian Hiris [EMAIL PROTECTED] | OpenPGP KeyID 0x3BCA53BE 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBrzsR09WjGjvKU74RAjS0AJ9qjsvHaNWlgNzz53rFMqViXDjrrgCfbrlZ
8xm7AVuNqOMuhuqyYV1YurY=
=BCPs
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


rc.conf and new startup scripts

2004-12-02 Thread Cezar Fistik
Hi all,

I would like to get some info about changes to startup scripts that are in 
/usr/local/etc/rc.d/ directory. It looks like they are completely different 
now... calls to some strange functions etc. How do they relate to rc.conf? I 
mean now I need to tell in rc.conf: DAEMON_enable=YES, if I don't the script 
in rc.d is just ignored. I would appreciate any info regarding these new 
changes.

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


PSK 31

2004-12-02 Thread Rem Roberti
If there are any hams out there who have info on a good psk31 program 
that will run on FreeBSD I would appreciate hearing about it.

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


Re: rc.conf and new startup scripts

2004-12-02 Thread Kevin D. Kinsey, DaleCo, S.P.
Cezar Fistik wrote:
Hi all,
I would like to get some info about changes to startup 
scripts that are in /usr/local/etc/rc.d/ directory. It 
looks like they are completely different now... calls 
to some strange functions etc. How do they relate to 
rc.conf? I mean now I need to tell in rc.conf: DAEMON_enable=YES, 
if I don't the script in rc.d is just ignored. I would appreciate 
any info regarding these new changes.

Thank you,
Cezar
 

The comments in /etc/defaults/rc.conf are a good
starting point, and quite educational IMHO.
Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why these connections from 127.0.0.1?

2004-12-02 Thread Fernando Gleiser
On Thu, 2 Dec 2004, Christian Hiris wrote:

 
  Should I disable log-in-vain or somehow allow these through?

 The log-in-vain sysctl only controls logging behavior, it has no influence on
 how the packets are handled.

Exactly.



 AFAIK know SMTP servers try to gain some information (like username and
 systemname) from a clientsystem via identd. So if you decide to enable
 identd, better check your mail-headers afterwards.

 I never run comsat/biff, so I can't tell you much about. 'man 8 comsat' and
 'man 1 biff' is your friend.

In the original case, it seems he is not runing those services. When sendmail
(or whatever mta he's using) tries to make an ident lookup, it fails and
log in vain logs the connection attempt to the closed port (it only logs
attempts to connect to closed ports). Same for biff, something tries
to query biff, the connection is refused because it isn't listening,
log in vain logs it. That simple, I wouldn't worry about it



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


Re: Re: Failure

2004-12-02 Thread Ken . Coar
Hi!  This is an acknowledgement message to let you know that the
following message has been successfully received:

   From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
Subject: Re: Failure
Received at: Thu, 02 Dec 2004 11:19:41 -0500 (Thu, 02 Dec 2004 16:19:41 GMT)

** PLEASE SEE THE WARNING AT THE END OF THIS MESSAGE **

You should receive this notice no more than once every 90 days.
By the way, I'm getting a copy of this, too, so I know it was
sent to you.

Now:  Please accept my apologies for this autoresponse.  I receive
a *lot* of email; roughly 1'000 messages per day.  This means that
I might not get to your message immediately.  This autoresponse is
being sent to reassure you that I am *not* ignoring you!  If you
are expecting a reply, and you don't get one within a couple of
days, feel free to send me a reminder -- but PLEASE do it by replying
to *this* message so your reply will be grouped with earlier messages
and I'll be able to respond appropriately.  If you change the subject
on every message, or send new ones rather than replies, there's an
excellent chance your missives will get filed separately and take
that much longer for me to find and respond.

If you're looking for help with Apache, I'll be glad to assist.
If you need help Right Away, though, I suggest you check out the
URL:http://Apache-Server.Com/ page; there are mailing lists and
chat areas listed there where you might get help sooner.  If you
*do* get your issue addressed, I'd appreciate it if you'd send a
reply to this and let me know.  (FWIW, I tend to hang out in the
#apache channel mentioned on the above Web page.)

Thanks for your understanding and patience!

Ken Coar
http://Ken.Coar.Org/

** WARNING TO SENDERS OF UNSOLICITED EMAIL **
Nothing in this automatic reply constitutes agreement with any
contractual or 'reply to confirm' terms in the original message.
If you treat it as such, for example by subscribing my email
address to a mailing list, without my EXPLICIT AND CONSCIOUS
CONSENT, I reserve the right to pursue legal action against
you.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why these connections from 127.0.0.1?

2004-12-02 Thread Jonathon McKitrick
On Thu, Dec 02, 2004 at 01:20:49PM -0300, Fernando Gleiser wrote:
: In the original case, it seems he is not runing those services. When sendmail
: (or whatever mta he's using) tries to make an ident lookup, it fails and
: log in vain logs the connection attempt to the closed port (it only logs
: attempts to connect to closed ports). Same for biff, something tries
: to query biff, the connection is refused because it isn't listening,
: log in vain logs it. That simple, I wouldn't worry about it

I'm running a local sendmail just to forward root mail to my user account.
The rest of my mail comes from remote accounts or POP3.



jm
--
My other computer is your Windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Open-Source project

2004-12-02 Thread Kevin D. Kinsey, DaleCo, S.P.
[Please forgive the cross-posting to advocacy, and
the possibility that this is no longer questions material,
and any personal affronts :-) ]
From: Dylan Nicolini [EMAIL PROTECTED]
Dear Sir:
I am very eager to contribute to the FreeBSD project. Currently, I am a
Junior in college, majoring in Computer Science. I believe in the theory of
open source very strongly, and I would love the oppurtunity to contribute to
this project. If there are any suggestions on where to start I am very open
to anything.
Dylan Nicolini
Cezar Fistik wrote:
Hi Dylan,
I believe this kind of questions has been answered here thousands of times.
Anyway, open source is a term with a very broad meaning, but if you are
interested to contribute to FreeBSD, this could be a good starting point.
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributing/index.html
Regards,
Cezar
 

Hi, Cezar, Dylan:
The contributing article on the site is great.  I just
had to add the following, though (I hope it's under the
BSD copyright ;-)
Scott Long (of the R.E. team) posted a message to
hackers@ yesterday entitled My project wish-list
for the next 12 months.  Lots of technical stuff, but
enlightening, rather bold; good stuff.  I was especially
impressed, however, by Poul-Henning Kamp's response,
and as it was directed at non techies, under the
copyright ideals of the BSD license, I'd like to repost
it here ... [keep in mind this is from PHK, a FreeBSD
Developer, and not me.  I loved it, though]:
PHK I agree on all of the above but I think we also
PHK need to have things on the list that doesn't take super
PHK hackers, and architectural reviews. So let us add the
PHK following points which I think are just as, if not more
PHK important for FreeBSDs future:
PHK 7. More people writing FreeBSD related articles for
PHK online and traditional media. If you have never written
PHK a piece about FreeBSD, how about sending something
PHK to your local IT trade rag ? Heck, even your local paper
PHK will probably run it if you send them a piece.
PHK 8. More people stomping for FreeBSD in universities and
PHK schools. Have you actually offered the science/IT teachers
PHK at the local hi-school to pop around and give a lesson on
PHK this open source phenomena to their pupils ? Or call your
PHK local college and ask if they need a teaching assistant for
PHK their evening courses in IT ?
PHK 9. A band of happy 1st line reponders dealing with PRs etc.
PHK We're getting better at this, but one way to really gain users
PHK is to help them when they need it most: right when they begin.
PHK 10. A more dynamic and interesting www.freebsd.org frontpage.
PHK Come on, at least we should be able to beat the Congressional Record
PHK when it comes to being interesting.
PHK 11. More people attending BSDcon conferences. Come to BSDcan2005!
PHK come to the next EuroBSDcon or AsiaBSDcon. Or make your own mini
PHK conference! Many Linux User groups would welcome you if you offered
PHK to give a talk about FreeBSD on one of their evenings.
PHK
PHK 12. Research/Coding grants (3/6/12 months) from the FreeBSD Foundation
PHK and other deep(er) pockets to help some of the heavy lifting happen.
PHK We're not only in it for the money, but money surely helps.
PHK And I'd like to stress that none of the above requires you to get 
permission
PHK from the core team, just go out and do it!

Certainly, Dylan, #8 sounds right down your line; probably #9, #7
too.  If I remember college correctly, I didn't have much cash,
so #12 is out currently; but I think some of the conferences (#11)
even have discounted rates for students ;-)
Anyway, welcome to FreeBSD --- I'm sure you can find many
ways to help --- and it sounds like all of them would be appreciated
by many, and by many of those with whom it might count the most.
Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can't mount windows partition

2004-12-02 Thread Joshua Lokken
On Thu, 02 Dec 2004 04:42:38 -0500, Brian Bobowski [EMAIL PROTECTED] wrote:
 Rizal Ferdiyan wrote:
 
 
 
 hello ;
 my name rizal from indonesia, I have a problem. My partition windows
 (FAT
 32) can't mount
 in freebsd. My partition in /dev/ad0s1 and /dev/ad0s2. I have been try
 writemount -t msdosfs /dev/ad0s1(ad0s2) /mnt/win1(ad0s1) and
 mount_msdosfs /node  but it don't work. Please help me and sorry for my
 bad english.
 
 thank you.
 
 
 Please provide the error text and the output of uname -a if this
 doesn't work, but...
 
 Are you certain that it's a FAT32 disk and not an NTFS? Windows XP, for
 instance, can use the NTFS file system(my Home edition does by default).
 
 That said, there is a problem with your mount syntax. That or I can't
 figure out exactly what you're typing.
 
 I don't know which of your disk partitions is which. I'm going to give
 examples as though /dev/ad0s1 is the Windows partition and /dev/ad0s2 is
 the FreeBSD slice; in /dev, such a slice would show up with letters
 after the slice number to indicate the FreeBSD partition, such as
 /dev/ad0s2a, ad0s2c, ad0s2d... etc. (I believe b is not currently used,
 left open for convention; a is for the / partition; and c is swap.

I believe that a is normally /; b is normally swap; c is normally the
overlay partition (whole disk), and not used.

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


/usr/local/etc/rc.d vs /etc/rc.conf question

2004-12-02 Thread Andy Firman

I just took over a FreeBSD box and there is a 
proftpd.sh script in the /usr/local/etc/rc.d directory.

There is also this entry in /etc/rc.conf:
proftpd_enable=YES

There is no need for entries in /etc/rc.conf 
if the script exists in /usr/local/etc/rc.d right?

Andy


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


Download ISO including latest patches?

2004-12-02 Thread Scott
Hi,

I'm sorry if I missed this somewhere . . .

Is there a place where 5.3 ISO's can be
downloaded that include any of the latest
patches? Or, do you have to download the 11/5/04
ISO and then follow that with an update?

I need to reinstall on a production server and
would like to avoid the update step to save as
much down time as possible.

Thanks!
Scott




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


linux emulation

2004-12-02 Thread Mikko Heiskanen
I've been wondering about this some time now.
The linux compatibility layer (kernel module + linux_base -port)
is told to be able to run linux binaries. The handbook even describes
for a couple of heavy-duty applications how this is done.
However, after reading that part of the handbook and googling around the
net, I haven't the slightest idea how I'm supposed to run such program.
Let's say I have a program. Should I put it in /compat/linux/somewhere,
run it like /compat/linux/somewhere/executable and it just somehow
works? Or should I chroot to /compat/linux?
How does FreeBSD know when to use linuxemu? How does it handle, say,
stuff in /dev? Specifically when there aren't things like ethn in there.
Man linux is kinda short.
Sorry if my question is reallyreally stupid.

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


Re: /usr/local/etc/rc.d vs /etc/rc.conf question

2004-12-02 Thread Martin Hepworth
Andy
err no.
the entry in /usr/local/etc/rc.d will read the rc.conf to get variables. 
Normally done thisway when program is installed from ports rather than 
hand compiled...

--
Martin Hepworth
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300
Andy Firman wrote:
I just took over a FreeBSD box and there is a 
proftpd.sh script in the /usr/local/etc/rc.d directory.

There is also this entry in /etc/rc.conf:
proftpd_enable=YES
There is no need for entries in /etc/rc.conf 
if the script exists in /usr/local/etc/rc.d right?

Andy
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote confirms that this email message has been swept
for the presence of computer viruses and is believed to be clean.
**
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.3 STABLE SMP Kernel

2004-12-02 Thread Benjamin Walkenhorst
Ronnie Clark wrote:
Hello all, 

I hope what I have is a simple question. 

I have a dual proc machine, that I have loaded 5.3
RELEASE on and then updated it to STABLE. While
reading the Handbook I see where the GENERIC kernel
has SMP built in via the SMP file in
/usr/src/sys/i386/conf directory. 

So, to enable SMP for my custom kernel, do I simply
need to edit SMP to include my custom kernel name?
From my kernel config:
# To make an SMP kernel, the next two are needed
options SMP # Symmetric MultiProcessor Kernel
device  apic# I/O APIC
Enjoy! =)
Kind regards,
Benjamin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Download ISO including latest patches?

2004-12-02 Thread Kris Kennaway
On Thu, Dec 02, 2004 at 10:41:34AM -0600, Scott wrote:
 Hi,
 
 I'm sorry if I missed this somewhere . . .
 
 Is there a place where 5.3 ISO's can be
 downloaded that include any of the latest
 patches? Or, do you have to download the 11/5/04
 ISO and then follow that with an update?
 
 I need to reinstall on a production server and
 would like to avoid the update step to save as
 much down time as possible.

ftp://snapshots.jp.freebsd.org carries updated ISO images rebuilt
automatically, although I don't know if the procfs patch is included
yet.

Kris


pgpVoztkedRqr.pgp
Description: PGP signature


Re: /usr/local/etc/rc.d vs /etc/rc.conf question

2004-12-02 Thread Paul Schmehl
--On Thursday, December 02, 2004 07:39:00 AM -0900 Andy Firman 
[EMAIL PROTECTED] wrote:

I just took over a FreeBSD box and there is a
proftpd.sh script in the /usr/local/etc/rc.d directory.
There is also this entry in /etc/rc.conf:
proftpd_enable=YES
There is no need for entries in /etc/rc.conf
if the script exists in /usr/local/etc/rc.d right?
If you remove the /etc/rc.conf entry, you can still start the daemon 
manually (/usr/local/etc/rc.d/proftpd.sh start), but it will not start on 
boot.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-rcng.html
Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: can't mount windows filesystem

2004-12-02 Thread Hauan, David


 -Original Message-
 From: Rizal Ferdiyan [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, December 01, 2004 4:13 PM
 To: Erik Norgaard
 Cc: [EMAIL PROTECTED]
 Subject: can't mount windows filesystem
 
 
 
 why my partition windows can be mount in bsd?
 i have been try to write :
   mount -f -t msdosfs /dev/ad0s2  /mnt/win1
 
 but appear message msodsfs:/dev/ad0s2:Invalid Argumen 
Just a thought but syntax ^^ is wrong.

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


Re: rc.conf and new startup scripts

2004-12-02 Thread Cezar Fistik
Thanks Kevin, but this is not exactly what I was looking for. Just found
what I realy needed. This is called 'man rc.subr'.

Regards,
Cezar

- Original Message - 
From: Kevin D. Kinsey, DaleCo, S.P. [EMAIL PROTECTED]
To: Cezar Fistik [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, December 02, 2004 6:11 PM
Subject: Re: rc.conf and new startup scripts


 Cezar Fistik wrote:

 Hi all,
 
 I would like to get some info about changes to startup
 scripts that are in /usr/local/etc/rc.d/ directory. It
 looks like they are completely different now... calls
 to some strange functions etc. How do they relate to
 rc.conf? I mean now I need to tell in rc.conf: DAEMON_enable=YES,
 if I don't the script in rc.d is just ignored. I would appreciate
 any info regarding these new changes.
 
 Thank you,
 Cezar
 
 

 The comments in /etc/defaults/rc.conf are a good
 starting point, and quite educational IMHO.

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





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


FreeBSD 4.10 build world problem

2004-12-02 Thread munn
When I try to make buildworld after a complete cvsup (RELENG_4_10)  I am 
getting the
error

=== sendmail
make: don't know how to make freebsd.cf. Stop
*** Error code 2
When I look at /usr/src/etc/sendmail that was cvsup'd some time ago I 
see the file freebsd.cf.
If I copy that file into /usr/src/etc/sendmail, the builds completes 
successfully.

I have checked the cvsup from  freebsd2 and freebsd11 and freebsd.cf is 
not there.


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


Re: switching ide disk, change disklabel?

2004-12-02 Thread Alex Teslik

 If you mean to move the disk containing ads1s1e from primary slave to the 
 primary master then the partition will automatically become ad0s1e.

Great. That answers my question exactly.

 
 But how are the other partitions in your system organised? Are you currently 
 using ad0s1a, ad0s1b etc.?

FilesystemSize   Used  Avail Capacity  Mounted on
/dev/da0s1a97M62M27M70%/
/dev/da0s1e   7.7G   6.2G   900M88%/usr
/dev/ad0s1e72G66G   772M99%/home
procfs4.0K   4.0K 0B   100%/proc

So I'm booting off of a SCSI disk da0.

I want to replace ad0s1e with the new 300GB monster.

 These will move with the disk. If you are physically 
 swapping the disk connections these will become ad1s1a, ad1s1b etc. which will
 be a problem. You'll need to fix /etc/fstab and arrange for a booting MBR on 
 the new disk and arrange for the boot sequence to find your / partition.

But not in my case since this disk is just storage I think, right. Actually,
when I run the disklabel do I need to use -B at all. I don't need a bootstrap
since its not a boot disk, right?

Thanks,
Alex

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


support :controller PDC20319 RAID1

2004-12-02 Thread Claude B.
Hello,
I want if FreeBSD 5.3 support the Promise FastTrak S150TX4(controller
PDC20319) with RAID 1? I have an ASUS motherboard PSCH-L with PDC20319
controller on the board and two SATA disks maxtor 6y160Mo.
Thank you in anticipation,
Claude Baudouin  

  


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


Re: a little problem!!!!!!

2004-12-02 Thread RW
On Wednesday 01 December 2004 11:37, MarC wrote:
 hello, my name is marc and i'm from Romania.
 I have a little problem: i just bought a laptop Compaq Presario 1200, old
 laptop, and my operating system is FreeBSD. I wanted to format it and i
 don't know how. In Bios this feature insn't. Please tell me a list of
 commands in FreeBSD how do I format my hard-diskand even other
 sugestions.ok?

You probably dont need to do this, formating is a standard part of the FreeBSD 
installation process.

And you can't just format the disk, it's a three stage process

1 - create a primary partition for the BSD slice
2 - create BSD partitions in the slice
3 - format the partitions

but the installation program will take you through all that.

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


Quick and Simple question

2004-12-02 Thread Alvaro Rosales
Hello Guys a quick and simple question. Which command line should I
use to see the type of processor I am using?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Quick and Simple question

2004-12-02 Thread Dan Nelson
In the last episode (Dec 02), Alvaro Rosales said:
 Hello Guys a quick and simple question. Which command line should I
 use to see the type of processor I am using?

The file /var/run/dmesg.boot will give you a lot of detail, some of
which is stored in the hw sysctl tree for easy retrieval by scripts
or programs.  hw.machine, hw.model, and hw.clockrate for example.

-- 
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: Quick and Simple question

2004-12-02 Thread Chuck Swiger
Alvaro Rosales wrote:
Hello Guys a quick and simple question. Which command line should I
use to see the type of processor I am using?
uname -mp
sysctl -a hw
--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Is this a sign of memory going bad?

2004-12-02 Thread Chris Dillon
On Thu, 25 Nov 2004, Chuck Robey wrote:
I don't want to embarrass anyone here, but something needs to be 
said. Note this next sentence carefully: THERE IS NO SUCH THING AS A 
WORKING MEMORY TEST PROGRAM!!!

Anyone who tells you otherwise is no friend of yours, because they 
are making your life hard.  It's very alluring to assume that 
programs written to do a job actually do that job, and most 
especially in the case of memory test, one would *really* **REALLY** 
wish that Chuck here was lying, cause you honestly need a memory 
test program, but the truth is otherwise: memory test programs don't 
work.  At the very best, if they spend 30 minutes carefully 
exercising memory, you get a factor that is maybe 10% reliable, and 
90% wishful guessing.

With that in mind, sometimes, the very best memory test programs can 
give you better ideas that memory you thought was failing IS 
failing.  The opposite, proving that memory is good, is just 
totally, totally useless, you cannot take any data home at all about 
your memory being good.
The memory-test programs are not entirely worthless.  Just recently we 
had a lab of PCs where some of them would go wonky and randomly lock 
up hard.  This was happening for months and we couldn't put our finger 
on the problem.  We thought maybe it was something in our Windows 
build, so we tried booting Microsoft's stand-alone memory tester (yes, 
they have one, and I'm not sure where I got it, MSDN perhaps?), very 
similar to memtest86.  After a random number of test passes, sometimes 
100+ passes (many hours, overnight), some of the machines would lock 
up.  No errors indicated, they just froze.  Oops.  Definately NOT a 
software problem.  After fiddling around with some of the 
clock/voltage related BIOS settings, putting new thermal compound 
between the CPUs and heatsinks, reseating cards and memory, placing 
the PCs inside a hexagram drawn on the floor and dancing nak... 
nevermind... we got them to run the tests continuously through our 
entire 4-day Thanksgiving weekend without problems.  For the last 4 
days (including today), we haven't had any problems with them.

So, these memtest programs can at least be valuable stress-testing 
tools but be prepared to run them for hours or days at a time before 
they will catch something. :-)

--
 Chris Dillon - cdillon(at)wolves.k12.mo.us
 FreeBSD: The fastest, most open, and most stable OS on the planet
 - Available for IA32, IA64, AMD64, PC98, Alpha, and UltraSPARC architectures
 - PowerPC, ARM, MIPS, and S/390 under development
 - http://www.freebsd.org
Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to capture make installworld error during migration from 5.1 to 5-Stable?

2004-12-02 Thread Stacey Roberts
Hi Christian,

- Original Message -
From: Christian Hiris [EMAIL PROTECTED]
To: To Stacey Roberts
Date: Thu, 02 Dec, 2004 11:54 GMT
Subject: Re: How to capture make installworld error during migration from 5.1 
to 5-Stable?

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Thursday 02 December 2004 08:23, Stacey Roberts wrote:
  Hi Christian,
 
  What I've been doing is swapping hardware around on this box in order to
  get 5.3-REL CD-Sets to boot on this machine.., What I found is that
  swapping out the Tekram card for an Adaptec-29160 enabled (for whatever
  reason) to be able to boot and install off the 5.3-REL CD's.
 
  After (using the 29160 SCSI disk utility) formatting both SCSI disks, the
  installation went fine, until the first reboot - I get the following:
 
  No /boot/loader
 
  FreeBSD/i386 boot
  Default: 0:da(0,a)/kernel
  No /kernel
 
  FreeBSD/i386 boot
  Default: 0:da(0,a)/kernel
  boot:
 
 Try  0:da(0,a)/boot/kernel/kernel here. Maybe your bios reports a wrong 
 controller, in this case try 1:da(0,a)/boot/kernel/kernel. Try also the 
 second disk 0:da(1,a)/boot/kernel/kernel. 

Will try these shortly.., not in front of the machine at the moment..,

 
 When you install from the CD, it is possible to display diagnostic and error 
 messages on the second terminal. You can reach it by pressing ALT-F2.
 Tell us, if you find some interresting messages here.

Will do..,

 
 Some points you could check:
 
 Did you set the bootable flag on your root slice in the FDISK partition   
 editor screen?   

Yes, I enter S

 
 Did you select Install the FreeBSD Boot Manager or Install a standard MBR 
 at the boot manager installation screen?

The former for the boot disk.., and for the second disk I select Install a 
Standard MBR

 
 Did you try the installation process with ACPI disabled? 

Yes., I believe over the last four or five attempts, I've managed to have that 
turned off at the BIOS level..,

 
 Are the latest BIOS versions installed on your mainbord and SCSI 

For the motherboard, yes. Not the SCSI cards though..,

 controller card?
 
 BTW - which mainboard do you use?

Here're the specs of the box:

Mainboard: Tyan Tiger 230 S2507D - running BIOS Version 106 (latest, I believe)
SCSI Cards: Adaptec 29160 and Tekram DC-390UW - Notes:

The Adaptec is not new, but was in use and working fine on another machine 
(also running FreeBSD) up until about four months ago. The Tekram card was new.

CDROM drive - Samsung 52x (new)
Floppy drive - standard 1.44 (new)
*ALL* internal cables are new, including the u160 cables - each of the sets 
that I've been swapping around

Let me know if there's anything else I can provide, please.., Thanks again for 
getting back to me.

Regards,

Stacey



 
 - -- 
 Christian Hiris [EMAIL PROTECTED] | OpenPGP KeyID 0x3BCA53BE 
 OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.6 (FreeBSD)
 
 iD8DBQFBrwKS09WjGjvKU74RAq0cAJ9gonfOurDoolZ958YRmf/9VfnRPgCfdvVN
 TTkdos4zDJZNXs/QOIvNAIA=
 =riEo
 -END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why these connections from 127.0.0.1?

2004-12-02 Thread Christian Hiris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 02 December 2004 17:21, Jonathon McKitrick wrote:
 On Thu, Dec 02, 2004 at 01:20:49PM -0300, Fernando Gleiser wrote:
 : In the original case, it seems he is not runing those services. When
 : sendmail (or whatever mta he's using) tries to make an ident lookup, it
 : fails and log in vain logs the connection attempt to the closed port (it
 : only logs attempts to connect to closed ports). Same for biff, something
 : tries to query biff, the connection is refused because it isn't
 : listening, log in vain logs it. That simple, I wouldn't worry about it

 I'm running a local sendmail just to forward root mail to my user account.
 The rest of my mail comes from remote accounts or POP3.

If you don't like to read the messages in your logs, you can add two firewall 
rules to your firewall-config (assuming you run ipfw):

${fwcmd} add 90 reject tcp from 127.0.0.1 to 127.0.0.1 113 via lo0
${fwcmd} add 91 reject udp from 127.0.0.1 to 127.0.0.1 512 via lo0

The rules must be placed before the rule where you allow all traffic that goes 
via lo0: 

# ipfw show | grep lo0
00090  1  64 reject tcp from 127.0.0.1 to 127.0.0.1 dst-port 113 via lo0
00091  0   0 reject tcp from 127.0.0.1 to 127.0.0.1 dst-port 512 via lo0
00100  0   0 allow ip from any to any via lo0

Because the packets are rejected by the firewall now, they do not reach the 
point where the kernel processes the code for sysctl MIB log_in_vain on the 
packets. So they are no longer logged.

Rejecting maybe prevents sendmail of a 60 second delay, because it no longer 
needs to wait for a identd reply. I don't know too much about the sendmail 
code, so I'm not 100 pct. sure about how sendmail handles identd timeouts. 

When you run a small home-network it's more a kind of academic discussion, you 
probably can live with this as is.

- -- 
Christian Hiris [EMAIL PROTECTED] | OpenPGP KeyID 0x3BCA53BE 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBr2Vq09WjGjvKU74RAtRhAJ9yK5itVpXGfzaovALa9gR9xli9OwCfYcua
7aOoEfBbcenBHsbtRKSPYxU=
=3bjP
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: plans for 4.x

2004-12-02 Thread Lowell Gilbert
rob_spellberg [EMAIL PROTECTED] writes:

 i just reread the release info on 4.10 and 4.11.
 
 is it still the plan for 4.11 to be the last of the 4.x series?

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


Re: FreeBSD 4.10 build world problem

2004-12-02 Thread Lowell Gilbert
munn [EMAIL PROTECTED] writes:

 When I try to make buildworld after a complete cvsup (RELENG_4_10)  I
 am getting the
 error
 
 === sendmail
 make: don't know how to make freebsd.cf. Stop
 *** Error code 2
 
 When I look at /usr/src/etc/sendmail that was cvsup'd some time ago I
 see the file freebsd.cf.
 If I copy that file into /usr/src/etc/sendmail, the builds completes
 successfully.
 
 I have checked the cvsup from  freebsd2 and freebsd11 and freebsd.cf
 is not there.

Check your cvsup configuration, because I just cvsup'd from
cvsup11.freebsd.org and it *was* there.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Quick and Simple question

2004-12-02 Thread Joshua Lokken
On Thu, 2 Dec 2004 12:30:18 -0600, Dan Nelson [EMAIL PROTECTED] wrote:
 In the last episode (Dec 02), Alvaro Rosales said:
  Hello Guys a quick and simple question. Which command line should I
  use to see the type of processor I am using?
 
 The file /var/run/dmesg.boot will give you a lot of detail, some of
 which is stored in the hw sysctl tree for easy retrieval by scripts
 or programs.  hw.machine, hw.model, and hw.clockrate for example.


There should be some good output from:

# dmesg | grep CPU

too.

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


FreeRadius and Mysql server ports

2004-12-02 Thread Jermaine McBean
I have problem adding MySQL server to FreeBSD with FreeRadius. Since I 
already installed FreeRadius /w Mysql client, I cannot do a pkg_add 
Mysql-server because of the FreeRadius' dependancy on a older mysql 
client (mysql-client-4.0.21). Is there a way to upgrade the client so I 
can install pkg_add -r mysql41-server. If there is any better way to 
combine them, it would be helpful. I'm a newbie at this

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


Re: Deleting Packages

2004-12-02 Thread RW
On Thursday 02 December 2004 00:33, Gerard Seibert wrote:

 Actually, I all ready did that. I ran 'portsclean -CDDLP', and it did
 remove a few packages. However, most are still there. It is not a big
 thing, I was just wondering if it would cause a problem if I did remove
 them.

I's no big deal, it's just that future maintainance may redownload the 
distfiles. I don't think deleting the packages is a problem.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


portupgrade, packages, and same versions

2004-12-02 Thread David Syphers
I just upgraded to 5-STABLE from an older version of 5, and wanted to rebuild 
all my ports because of the ABI compatability breakage just before 5-RELEASE. 
I ran across behavior in portupgrade that I don't understand - if I force an 
upgrade because I already have the same version installed, portupgrade 
refuses to use packages. e.g.

---  Found a package of 'net/cvsup-without-gui': cvsup-without-gui-16.1h.tbz 
(cvsup-without-gui-16.1h)
---  Located a package version 16.1h (cvsup-without-gui-16.1h.tbz)
** Ignoring the package, which is the same version as is installed (16.1h)
** No package available: net/cvsup-without-gui

What on earth is wrong with portupgrade, and is there any way of convincing it 
to use packages in this case? If I run 'portupgrade -rafP' it will merrily  
upgrade via ports when forcing an upgrade, so why not packages?

Thanks,

-David

-- 
To get out of the Metaphysical Void, you either have to
grasp the meaning of the universe or roll doubles twice.
 -Cecil Adams
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Deleting Packages

2004-12-02 Thread Christian Hiris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 02 December 2004 20:46, RW wrote:
 On Thursday 02 December 2004 00:33, Gerard Seibert wrote:
  Actually, I all ready did that. I ran 'portsclean -CDDLP', and it did
  remove a few packages. However, most are still there. It is not a big
  thing, I was just wondering if it would cause a problem if I did remove
  them.

 I's no big deal, it's just that future maintainance may redownload the
 distfiles. I don't think deleting the packages is a problem.

I remember only two none-distributional tasks, which will depend on local 
package-tarballs:

1. Installing via ports w/ USE_PACKAGE_DEPENDS defined.
2. portupgrade --use-packages

- -- 
Christian Hiris [EMAIL PROTECTED] | OpenPGP KeyID 0x3BCA53BE 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBr3gr09WjGjvKU74RAmVWAJ9WzJIszfSi14FDZLou9zRuhwHxLQCeM2SD
/C6P0r5SJ985j3bQpCAx/wc=
=dfu9
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to capture make installworld error during migration from 5.1 to 5-Stable?

2004-12-02 Thread Christian Hiris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 02 December 2004 19:56, Stacey Roberts wrote:

  On Thursday 02 December 2004 08:23, Stacey Roberts wrote:
   Hi Christian,
  
   What I've been doing is swapping hardware around on this box in order
   to get 5.3-REL CD-Sets to boot on this machine.., What I found is that
   swapping out the Tekram card for an Adaptec-29160 enabled (for whatever
   reason) to be able to boot and install off the 5.3-REL CD's.
  
   After (using the 29160 SCSI disk utility) formatting both SCSI disks,
   the installation went fine, until the first reboot - I get the
   following:
  
   No /boot/loader
  
   FreeBSD/i386 boot
   Default: 0:da(0,a)/kernel
   No /kernel
  
   FreeBSD/i386 boot
   Default: 0:da(0,a)/kernel
   boot:
 
  Try  0:da(0,a)/boot/kernel/kernel here. Maybe your bios reports a wrong
  controller, in this case try 1:da(0,a)/boot/kernel/kernel. Try also the
  second disk 0:da(1,a)/boot/kernel/kernel.

 Will try these shortly.., not in front of the machine at the moment..,

  When you install from the CD, it is possible to display diagnostic and
  error messages on the second terminal. You can reach it by pressing
  ALT-F2.

 Will do..,

[...]

  BTW - which mainboard do you use?

 Here're the specs of the box:

 Mainboard: Tyan Tiger 230 S2507D - running BIOS Version 106 (latest, I
 believe) SCSI Cards: Adaptec 29160 and Tekram DC-390UW - Notes:

 The Adaptec is not new, but was in use and working fine on another machine
 (also running FreeBSD) up until about four months ago. The Tekram card was
 new.

 CDROM drive - Samsung 52x (new)
 Floppy drive - standard 1.44 (new)
 *ALL* internal cables are new, including the u160 cables - each of the sets
 that I've been swapping around

 Let me know if there's anything else I can provide, please.., Thanks again
 for getting back to me.

Hi, there is nothing more i need to know. I hope you will find some messages 
on the second terminal during install, look out for write errors or something 
like that. If we are not able to solve your problem by theese error messages, 
it's the best to rename the subject to 5.3-R installation fails on Tyan 
Tiger 230, so that the gurus have a look on it.

There just one more thing - the GENERIC kernel on the 5.3-RELEASE CD has been 
compiled w/o 'option SMP', but I think that shouldn't matter.  

- -- 
Christian Hiris [EMAIL PROTECTED] | OpenPGP KeyID 0x3BCA53BE 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBr37a09WjGjvKU74RAroHAJ9YHBqlXgPnPZHNbo2YAQHpGYIy3ACdEi4p
FiUZ7KmyACNsxaUjY9Y2inw=
=vJ7m
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PSK 31

2004-12-02 Thread Kjell Midtseter
On Thursday,  2 December 2004 at  8:07:00 -0800, Rem Roberti wrote:
 If there are any hams out there who have info on a good psk31 program 
 that will run on FreeBSD I would appreciate hearing about it.

You have comms/gmfsk
and comms/kpsk which runs under KDE
I have not tried kpsk

73s de LA3SG, Kjell

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


Re: /usr/local/etc/rc.d vs /etc/rc.conf question

2004-12-02 Thread Dick Davies
* Paul Schmehl [EMAIL PROTECTED] [1210 17:10]:
 --On Thursday, December 02, 2004 07:39:00 AM -0900 Andy Firman 
 [EMAIL PROTECTED] wrote:
 
 
 I just took over a FreeBSD box and there is a
 proftpd.sh script in the /usr/local/etc/rc.d directory.
 
 There is also this entry in /etc/rc.conf:
 proftpd_enable=YES
 
 There is no need for entries in /etc/rc.conf
 if the script exists in /usr/local/etc/rc.d right?
 
 If you remove the /etc/rc.conf entry, you can still start the daemon 
 manually (/usr/local/etc/rc.d/proftpd.sh start), but it will not start on 
 boot.

No, that still won't work (which makes sense if you think about it, how would 
the
script know whether the system is booting or not?).

 If you read the link below, you should see that you need
to 'scriptname forcestart' etc if there is no service=YES in rc.conf.
Similarly 'forcestop' to shut it down.
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-rcng.html

-- 
Tempers are wearing thin. Let's hope some robot doesn't kill everybody. - Bender
Rasputin :: Jack of All Trades - Master of Nuns
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: linux emulation

2004-12-02 Thread Dick Davies
* Mikko Heiskanen [EMAIL PROTECTED] [1244 16:44]:
 I've been wondering about this some time now.
 The linux compatibility layer (kernel module + linux_base -port)
 is told to be able to run linux binaries. The handbook even describes
 for a couple of heavy-duty applications how this is done.
 However, after reading that part of the handbook and googling around the
 net, I haven't the slightest idea how I'm supposed to run such program.

Same as any other binary.

 Let's say I have a program. Should I put it in /compat/linux/somewhere,
 run it like /compat/linux/somewhere/executable and it just somehow
 works? Or should I chroot to /compat/linux?
 How does FreeBSD know when to use linuxemu? 

A Linux binary looks different to a native one. The system notices and 
kicks off the emulation layer. (effectively you have a different system
call table for each emulated OS, if that means anything to you).

There's a detailed explanation of NetBSDs way of doing this (I expect
FreeBSDs is very similar) in a six part onlamp series starting at:

http://www.onlamp.com/lpt/a/2623


-- 
And if you think you're going to bleed all over me
you're even wronger than you normally be - The Specials, 'Little Bitch'
Rasputin :: Jack of All Trades - Master of Nuns
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cc_tools compilations problems on 5.3

2004-12-02 Thread Eric Kjeldergaard
I've got my lousy server (200mhz cyrix) running FreeBSD 5.3 finally. 
I ended up having to boot from the 5.1 installation media because it
panics on both 5.2.1 and 5.3.  So, happy as a clam, I figured I could
probably keep up with RELENG_5_3.  Much to my dismay, I'm having no
luck getting kernel or world to compile.  kernel seems to error out in
an awk command (which I'll address after I get world figured out.  I
find it easier/faster to buildkernel remotely and installkernel
locally.)  Here is the end of the output from buildworld:

cc -O -pipe -DIN_GCC -DHAVE_CONFIG_H
-DPREFIX=\/usr/obj/usr/src/i386/usr\
-I/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools
-I/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config
-DHAVE_CONFIG_H -DTARGET_NAME=\i386-fbsdproj-freebsd\ -DIN_GCC 
-I/usr/obj/usr/src/i386/legacy/usr/include -c
/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/optabs.c
cc -O -pipe -DIN_GCC -DHAVE_CONFIG_H
-DPREFIX=\/usr/obj/usr/src/i386/usr\
-I/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools
-I/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config
-DHAVE_CONFIG_H -DTARGET_NAME=\i386-fbsdproj-freebsd\ -DIN_GCC 
-I/usr/obj/usr/src/i386/legacy/usr/include -c ../cc_tools/options.c
../cc_tools/options.c:53: error: syntax error before ',' token
../cc_tools/options.c:53: warning: large integer implicitly truncated
to unsigned type
../cc_tools/options.c:83: error: syntax error before ',' token
../cc_tools/options.c:83: warning: large integer implicitly truncated
to unsigned type
../cc_tools/options.c:89: error: syntax error before ',' token
../cc_tools/options.c:89: warning: large integer implicitly truncated
to unsigned type
../cc_tools/options.c:110: error: syntax error before ',' token
../cc_tools/options.c:113: error: syntax error before ',' token
../cc_tools/options.c:131: error: syntax error before ',' token
../cc_tools/options.c:143: error: syntax error before ',' token
../cc_tools/options.c:155: error: syntax error before ',' token
../cc_tools/options.c:170: error: syntax error before ',' token
../cc_tools/options.c:176: error: syntax error before ',' token
../cc_tools/options.c:179: error: syntax error before ',' token
../cc_tools/options.c:218: error: syntax error before ',' token
../cc_tools/options.c:224: error: syntax error before ',' token
../cc_tools/options.c:245: error: syntax error before ',' token
../cc_tools/options.c:254: error: syntax error before ',' token
../cc_tools/options.c:257: error: syntax error before ',' token
*** Error code 1

Stop in /usr/src/gnu/usr.bin/cc/cc_int.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/cc.
*** Error code 1

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

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

Stop in /usr/src.
sponge#   

now, this syntax error is pretty obvious once I start looking at the
source file.  A lot of lines like this:

  { -G,
N_(-Gnumber   Put global and static data smaller than number
bytes into a special section (on some targets)),
, 1, CL_COMMON | CL_JOINED | CL_SEPARATE | CL_UINTEGER },

Occur in an array declaration.  Thus it seems that at some point that
file is being generated incorrectly.  Anyone know what might be to
blame?  I'm currently compiling using binary world that I got from 5.3
binary install and a custom (very minimal) kernel from a slightly
fresher RELENG_5_3 cvsup.  I have my make.conf entirely commented out
at this point, making sure nothing there is to blame.  It's not a
particularly important box, so I'm willing to try pretty much anything
you guys (and the occasional gals) can come up with.  Thank you for
your time.

-- 
If I write a signature, my emails will appear more personalised.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Mozilla breaks atheros?

2004-12-02 Thread Erik Norgaard
Hi,
I have noted a bit wierd problem. I have a laptop, 128MB ram, of which
16MB are used for graphics. I recently bought a 3Com OfficeConnect card
(atheros).
If I boot up with the card, no problem, nor if I insert the card after
boot - all seems to work as it should.
But if I start up Mozilla (with just a blank page) and then insert the
card, I get an error:
ath0: Atheros 5212 mem 0x8800-0x8800 irq 11 at device 0.0 on
cardbus0
ath0: [GIANT-LOCKED]
ath0: mac 5.6 phy 4.1 5ghz radio 3.6
ath0: failed to allocate descriptors: 12
device_attach: ath0 attach returned 12
cbb0: CardBus card activation failed
If I close mozilla and try to reinsert the card, I still get the error,
I have to reboot to use my wireless card. The manpage says:
ath%d: failed to allocate descriptors: %d  The driver was unable to
allocate contiguous memory for the transmit and receive descriptors.
This usually indicates system memory is scarce and/or fragmented.
According to top I have plenty of memory free:
Mem: 55M Active, 11M Inact, 28M Wired, 4256K Cache, 20M Buf, 2772K Free
Swap: 512M Total, 74M Used, 438M Free, 14% Inuse
I have tried this also with OpenOffice writer same result, whereas I 
have no problems with XEmacs.

Since it appears there is free RAM, I guess more RAM won't solve the 
problem? How do I solve this, other than rebooting? How much memory does 
the driver need to allocate?

Thanks, Erik
--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/dev/uscanner0 owned by root:scanner but only access for users of group operator

2004-12-02 Thread maarfree
Hi list,

I have my Canon Lide 20 usb scanner working om my system. Setup was easy
following the handbook.

But I did not like all users being member of group operator;
So I added a group scanner,
to /dev/devfs.rules I add:
add path uscanner0 mode 0660 group scanner #  (group scanner is added)
I add a user to group scanner.
When I do ll /dev/uscanner0
crw-rw  1 root  scanner  233,   0 Dec  2 22:24 /dev/uscanner0
When I do sane-find-scanner as the user I get:
found USB scanner (UNKNOWN vendor and product) at device /dev/uscanner0
and subsequently the scanner is not useable for the user.
But when I add this user to group operator:
found USB scanner (vendor=0x04a9, product=0x220d) at /dev/uscanner0
and the scanner is working.
but I see the scanner still belongs to user root and group scanner...

Anyone an idea?

Maarten


FreeBSD klaptopje.lan 5.3-STABLE FreeBSD 5.3-STABLE #0: Fri Nov 26
14:37:55 UTC 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC 
i386



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


Binary numbering

2004-12-02 Thread Trey Sizemore
Long story short, I'm trying to get the CVS version of sylpheed-claws
installed on this 5.3 box (so if you've done it successfully, I'd *love*
your feedback).  However, I'm getting a lot of errors:

$ ./autogen.sh --enable-gpgme --enable-aspell
--enable-spamassassin-plugin --with-config-dir=.sylpheed-gtk2
--program-suffix=-gtk2 --enable-ldap
/usr/X11R6/share/aclocal/rep.m4:7: warning: underquoted definition of
AM_PATH_REP
  run info '(automake)Extending aclocal'
  or see
http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/X11R6/share/aclocal/imlib.m4:9: warning: underquoted definition of
AM_PATH_IMLIB
/usr/X11R6/share/aclocal/imlib.m4:167: warning: underquoted definition
of AM_PATH_GDK_IMLIB
/usr/X11R6/share/aclocal/gtk.m4:7: warning: underquoted definition of
AM_PATH_GTK
/usr/X11R6/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted
definition of AM_PATH_GDK_PIXBUF
m4/imlib.m4:167: warning: underquoted definition of AM_PATH_GDK_IMLIB
aclocal:configure.ac:243: warning: macro `AM_PATH_GLIB_2_0' not found in
library
configure.ac:88: warning: AC_CANONICAL_HOST invoked multiple times
You should update your `aclocal.m4' by running aclocal.
Putting files in AC_CONFIG_AUX_DIR, `config'.
configure.ac:88: warning: AC_CANONICAL_HOST invoked multiple times
configure.ac:88: warning: AC_CANONICAL_HOST invoked multiple times
src/common/Makefile.am:1: Libtool library used but `LIBTOOL' is
undefined
src/common/Makefile.am:1:
src/common/Makefile.am:1: The usual way to define `LIBTOOL' is to add
`AC_PROG_LIBTOOL'
src/common/Makefile.am:1: to `configure.ac' and run `aclocal' and
`autoconf' again.
src/gtk/Makefile.am:3: Libtool library used but `LIBTOOL' is undefined
src/gtk/Makefile.am:3:
src/gtk/Makefile.am:3: The usual way to define `LIBTOOL' is to add
`AC_PROG_LIBTOOL'
src/gtk/Makefile.am:3: to `configure.ac' and run `aclocal' and
`autoconf' again.
src/plugins/clamav/Makefile.am:3: Libtool library used but `LIBTOOL' is
undefined
src/plugins/clamav/Makefile.am:3:
src/plugins/clamav/Makefile.am:3: The usual way to define `LIBTOOL' is
to add `AC_PROG_LIBTOOL'
src/plugins/clamav/Makefile.am:3: to `configure.ac' and run `aclocal'
and `autoconf' again.
src/plugins/demo/Makefile.am:3: Libtool library used but `LIBTOOL' is
undefined
src/plugins/demo/Makefile.am:3:
src/plugins/demo/Makefile.am:3: The usual way to define `LIBTOOL' is to
add `AC_PROG_LIBTOOL'
src/plugins/demo/Makefile.am:3: to `configure.ac' and run `aclocal' and
`autoconf' again.
src/plugins/dillo_viewer/Makefile.am:3: Libtool library used but
`LIBTOOL' is undefined
src/plugins/dillo_viewer/Makefile.am:3:
src/plugins/dillo_viewer/Makefile.am:3: The usual way to define
`LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/plugins/dillo_viewer/Makefile.am:3: to `configure.ac' and run
`aclocal' and `autoconf' again.
src/plugins/image_viewer/Makefile.am:3: Libtool library used but
`LIBTOOL' is undefined
src/plugins/image_viewer/Makefile.am:3:
src/plugins/image_viewer/Makefile.am:3: The usual way to define
`LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/plugins/image_viewer/Makefile.am:3: to `configure.ac' and run
`aclocal' and `autoconf' again.
src/plugins/mathml_viewer/Makefile.am:3: Libtool library used but
`LIBTOOL' is undefined
src/plugins/mathml_viewer/Makefile.am:3:
src/plugins/mathml_viewer/Makefile.am:3: The usual way to define
`LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/plugins/mathml_viewer/Makefile.am:3: to `configure.ac' and run
`aclocal' and `autoconf' again.
src/plugins/pgpmime/Makefile.am:3: Libtool library used but `LIBTOOL' is
undefined
src/plugins/pgpmime/Makefile.am:3:
src/plugins/pgpmime/Makefile.am:3: The usual way to define `LIBTOOL' is
to add `AC_PROG_LIBTOOL'
src/plugins/pgpmime/Makefile.am:3: to `configure.ac' and run `aclocal'
and `autoconf' again.
src/plugins/spamassassin/Makefile.am:3: Libtool library used but
`LIBTOOL' is undefined
src/plugins/spamassassin/Makefile.am:3:
src/plugins/spamassassin/Makefile.am:3: The usual way to define
`LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/plugins/spamassassin/Makefile.am:3: to `configure.ac' and run
`aclocal' and `autoconf' again.
src/plugins/trayicon/Makefile.am:5: Libtool library used but `LIBTOOL'
is undefined
src/plugins/trayicon/Makefile.am:5:
src/plugins/trayicon/Makefile.am:5: The usual way to define `LIBTOOL' is
to add `AC_PROG_LIBTOOL'
src/plugins/trayicon/Makefile.am:5: to `configure.ac' and run `aclocal'
and `autoconf' again.
src/plugins/trayicon/libeggtrayicon/Makefile.am:1: Libtool library used
but `LIBTOOL' is undefined
src/plugins/trayicon/libeggtrayicon/Makefile.am:1:
src/plugins/trayicon/libeggtrayicon/Makefile.am:1: The usual way to
define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/plugins/trayicon/libeggtrayicon/Makefile.am:1: to `configure.ac' and
run `aclocal' and `autoconf' again.


The sylpheed-claws mailing list remarked that the underquoted warnings
can be ignored, but that the missing macros were a real problem.

Some of the *.m4 files required are in /usr/local/share/aclocal

FW: Installing gpsd on 5.3 STABLE

2004-12-02 Thread Wilson Steiger
This was originally rejected by my office's mail filter.  Had to resend from
home.

 

  _  

From: Steiger, N. Wilson GS-12(TRNG) ATG WESTPAC 
Sent: Thursday, December 02, 2004 2:23 PM
To: '[EMAIL PROTECTED]'
Subject: Installing gpsd on 5.3 STABLE
Importance: High

 

Trying to install gpsd-2.3 on a Dell Latitude CPi (400Mhz 128M RAM) FreeBSD
5.3-STABLE latest src  ports cvsup'd.  All ports upgraded and new
kernel/userland installed.  Trying to compile gpsd-2.3.running configure has
no errors and tells me to then run make.  I am not modifying the configure
script in any way just simply ./configure.  When running make or gmake it
always fails with the following:

 

make:

if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/X11R6/include
-I/usr/X11R6/include -g -O2 -Wall -Werror  -I/usr/X11R6/include -MT
gps-gps.o -MD -MP -MF .deps/gps-gps.Tpo -c -o gps-gps.o `test -f 'gps.c'
|| echo './'`gps.c;  then mv -f .deps/gps-gps.Tpo .deps/gps-gps.Po; else
rm -f .deps/gps-gps.Tpo; exit 1; fi

*** Error code 1

 

Stop in /root/install/gpsd-2.3.

*** Error code 1

 

Stop in /root/install/gpsd-2.3.

 

gmake:

if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/X11R6/include
-I/usr/X11R6/include -g -O2 -Wall -Werror  -I/usr/X11R6/include -MT
gps-gps.o -MD -MP -MF .deps/gps-gps.Tpo -c -o gps-gps.o `test -f 'gps.c'
|| echo './'`gps.c;  then mv -f .deps/gps-gps.Tpo .deps/gps-gps.Po; else
rm -f .deps/gps-gps.Tpo; exit 1; fi

*** Error code 1

 

Stop in /root/install/gpsd-2.3.

*** Error code 1

 

Stop in /root/install/gpsd-2.3.

 

I already installed the required LessTif then deinstalled it to install
OpenMotif and I receive the same error regardless.

 

I have attached all three full screen dumps and would appreciate anyone that
could help.

 

Kind Regards,

Wilson Steiger

Project Engineer  IBFTC Training Specialist

DRS Technical Services, Inc.



make.gpsd.log
Description: Binary data


configure.gpsd.log
Description: Binary data


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


Re: portupgrade, packages, and same versions

2004-12-02 Thread Kris Kennaway
On Thu, Dec 02, 2004 at 12:01:50PM -0800, David Syphers wrote:
 I just upgraded to 5-STABLE from an older version of 5, and wanted to rebuild 
 all my ports because of the ABI compatability breakage just before 5-RELEASE. 
 I ran across behavior in portupgrade that I don't understand - if I force an 
 upgrade because I already have the same version installed, portupgrade 
 refuses to use packages. e.g.
 
 ---  Found a package of 'net/cvsup-without-gui': cvsup-without-gui-16.1h.tbz 
 (cvsup-without-gui-16.1h)
 ---  Located a package version 16.1h (cvsup-without-gui-16.1h.tbz)
 ** Ignoring the package, which is the same version as is installed (16.1h)
 ** No package available: net/cvsup-without-gui
 
 What on earth is wrong with portupgrade, and is there any way of convincing 
 it 
 to use packages in this case? If I run 'portupgrade -rafP' it will merrily  
 upgrade via ports when forcing an upgrade, so why not packages?

What command-line are you using?

Kris


pgpAOuKNVoXmz.pgp
Description: PGP signature


and while I am at it...

2004-12-02 Thread Jules Gilbert
Also, I not only have a USB floppy but also a USB modem.
I know that's harder to get working.  Ideas, anyone?
--jg
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 5.3 Questions

2004-12-02 Thread Jerry Gardner
I just loaded FreeBSD 5.3 a few days ago, and generally things are running
well, with a few exceptions:

1) How do I stop the Sendmail daemons from starting at boot? I have 
   sendmail_enable=NO set in /etc/rc.conf, but two sendmail processes
   are running after boot.

2) How do I set GCC flags when compiling a port. I added 
   CFLAGS=-O2 -march=pentium3 -pipe to /etc/make.conf, but
   get an error when building a port. The error is get is
   env: -pipe No such file or directory

3) I think I might have a permissions problem in my home directory.
   Certain applications (Firefox and xfce, for exacmple) can't seem to
   write files under my home directory. I can create files using an editor,
   and download files, but these two applications fail when trying to
   modify their configuration options.

4) I installed portupgrade from the port, and built the database using 
   'pkgdb -f', but whenever I run portupgrade or portversion, it displays
   a message Generating INDEX.tmp - please wait.. and hangs there
   forever. How do I fix this?

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


problem with net-snmp while installing ethereal from ports

2004-12-02 Thread Brian Barto
Hi all, i'm trying to install ethereal from ports. It says it depends 
on shared library netsnmp.6 and the make shortly fails after with the 
following error: shared library netsnmp.6 does not exist

The net-snmp web site says the latest is 5.2
My ports tree was updated two days ago. What am I not getting here?
Thanks,
Brian
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Dell Servers

2004-12-02 Thread Jeff Maxwell
Is anyone running 5.3 Release on Dell Power Edge 2850 or any Dell Power 
Edge? I am looking to build a new mail server to replace our current 
mail server, a desktop running 4.9

We have a few Dell Power Edge servers all running windows, that the 
company is happy with so they want me to get a Dell. I want to get 
something with mirrored drives and dual power supplies so I don't have 
to worry about hardware failure.

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


RE: Dell Servers

2004-12-02 Thread Thomas S. Crum - AAA Web Solution, Inc.
I had no problem running 4.10 on Dell power edge, so I'm sure 5.3 would work
fine also.

Best,

Thomas S. Crum

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff Maxwell
Sent: Thursday, December 02, 2004 8:09 PM
To: [EMAIL PROTECTED]
Subject: Dell Servers

Is anyone running 5.3 Release on Dell Power Edge 2850 or any Dell Power 
Edge? I am looking to build a new mail server to replace our current 
mail server, a desktop running 4.9

We have a few Dell Power Edge servers all running windows, that the 
company is happy with so they want me to get a Dell. I want to get 
something with mirrored drives and dual power supplies so I don't have 
to worry about hardware failure.


Jeff Maxwell
[EMAIL PROTECTED]

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



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


Re: portupgrade, packages, and same versions

2004-12-02 Thread David Syphers
On Thursday 02 December 2004 03:13 pm, Kris Kennaway wrote:
 What command-line are you using?

Oops, sorry for the noise. I just realized that I was giving the -u option to 
portupgrade, and I can understand why it can't do that without building the 
port. Doing it without -u works fine.

-David

-- 
To get out of the Metaphysical Void, you either have to
grasp the meaning of the universe or roll doubles twice.
 -Cecil Adams
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /dev/uscanner0 owned by root:scanner but only access for users of group operator

2004-12-02 Thread Christian Hiris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 02 December 2004 23:06, [EMAIL PROTECTED] wrote:
 Hi list,

 I have my Canon Lide 20 usb scanner working om my system. Setup was easy
 following the handbook.

 But I did not like all users being member of group operator;
 So I added a group scanner,
 to /dev/devfs.rules I add:
 add path uscanner0 mode 0660 group scanner #  (group scanner is added)
 I add a user to group scanner.
 When I do ll /dev/uscanner0
 crw-rw  1 root  scanner  233,   0 Dec  2 22:24 /dev/uscanner0
 When I do sane-find-scanner as the user I get:
 found USB scanner (UNKNOWN vendor and product) at device /dev/uscanner0
 and subsequently the scanner is not useable for the user.
 But when I add this user to group operator:
 found USB scanner (vendor=0x04a9, product=0x220d) at /dev/uscanner0
 and the scanner is working.
 but I see the scanner still belongs to user root and group scanner...

 Anyone an idea?

You probably need to change the corresponding /dev/usbN device nodes, too (I 
must say that, I never tested this with devfs.rules). In my experience 
sane-find-scanner steps thru the usb devices and exits, if it hasn't proper 
permissions on a usb device node. For real-life scanning apps like xsane and 
xscanimage you can define SANE_DEFAULT_DEVICE in your environment. This 
should stop the apps from stepping thru the usb device nodes.

JFYI:
There is a (dirty) way to work around the needs of adding users to a scanner 
specific group. You can set /dev/uscanner0 and the corresponding /dev/usbN to 
world read- and writeable via usbd and usbd.conf. 

% cat /etc/usbd.conf.my
# Scanners
device Scanner
devname uscanner[0-9]+
attach chmod 666 /dev/${DEVNAME} ; chmod 666 /dev/usb0
detach chmod 660 /dev/usb0

% cat /etc/rc.conf | grep usb
usbd_enable=YES   # Run the usbd daemon.
usbd_flags=-c /etc/usbd.conf.my   # Flags to usbd (if enabled).

But this method also opens a can of worms:

All devices nodes down to the usb device to where your scanner is connected to 
must be set world read- and writeable. ie. when you connect your scanner 
to /dev/usb1 the devices /dev/usb0, /dev/usb1 and /dev/uscanner0 must be set 
to mode 666. For this reason, I attached my scanner to /dev/usb0. To work 
around this, you can define SANE_DEFAULT_DEVICE as mentioned above.

- -- 
Christian Hiris [EMAIL PROTECTED] | OpenPGP KeyID 0x3BCA53BE 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (FreeBSD)

iD4DBQFBr8GI09WjGjvKU74RAkh9AJ9bVHPSEhASe87HqQNif/Q4ypLH9gCXQSDn
TNKSbpmUzSS65b6ntdJ69Q==
=Vhy/
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade, packages, and same versions

2004-12-02 Thread David Syphers
On Thursday 02 December 2004 05:23 pm, David Syphers wrote:
 On Thursday 02 December 2004 03:13 pm, Kris Kennaway wrote:
  What command-line are you using?

 Oops, sorry for the noise. I just realized that I was giving the -u option
 to portupgrade, and I can understand why it can't do that without building
 the port. Doing it without -u works fine.

Or not, actually. It has nothing to do with the -u option. It fails whenever 
it has to fetch the package (which it does successfully). The next time it's 
run, when it has the package already, it succeeds. That can't be a feature, 
can it?

-David

-- 
To get out of the Metaphysical Void, you either have to
grasp the meaning of the universe or roll doubles twice.
 -Cecil Adams
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade, packages, and same versions

2004-12-02 Thread Kris Kennaway
On Thu, Dec 02, 2004 at 05:33:50PM -0800, David Syphers wrote:
 On Thursday 02 December 2004 05:23 pm, David Syphers wrote:
  On Thursday 02 December 2004 03:13 pm, Kris Kennaway wrote:
   What command-line are you using?
 
  Oops, sorry for the noise. I just realized that I was giving the -u option
  to portupgrade, and I can understand why it can't do that without building
  the port. Doing it without -u works fine.
 
 Or not, actually. It has nothing to do with the -u option. It fails whenever 
 it has to fetch the package (which it does successfully). The next time it's 
 run, when it has the package already, it succeeds. That can't be a feature, 
 can it?

Again, show us, don't tell us.

Kris


pgpvRGQ623wWn.pgp
Description: PGP signature


Re: FreeBSD 5.3 Questions

2004-12-02 Thread epilogue
On Thu, 2 Dec 2004 16:13:19 -0800
Jerry Gardner [EMAIL PROTECTED] wrote:

 I just loaded FreeBSD 5.3 a few days ago, and generally things are
 running well, with a few exceptions:

hello jerry,
 
 1) How do I stop the Sendmail daemons from starting at boot? I have 
sendmail_enable=NO set in /etc/rc.conf, but two sendmail
processes are running after boot.

'man rc.sendmail' -- read it closely -- note that NONE works for
the moment, but is deprecated and scheduled to be removed.

 2) How do I set GCC flags when compiling a port. I added 
CFLAGS=-O2 -march=pentium3 -pipe to /etc/make.conf, but
get an error when building a port. The error is get is
env: -pipe No such file or directory

/usr/share/examples/etc/make.conf may help you here.

 3) I think I might have a permissions problem in my home directory.
Certain applications (Firefox and xfce, for exacmple) can't seem to
write files under my home directory. I can create files using an
editor, and download files, but these two applications fail when
trying to modify their configuration options.

it would have been very helpful for you to post the perms you have. 
these work for my $HOME -- drwxr-xr-x

 4) I installed portupgrade from the port, and built the database using
 
'pkgdb -f', but whenever I run portupgrade or portversion, it
displays a message Generating INDEX.tmp - please wait.. and hangs
there forever. How do I fix this?

it probably isn't hanging, but actually generating a new INDEX for you. 
solutions to this have been discussed ad nauseum in several of mailing
lists.

1) get used to reading /usr/ports/UPDATING (you'll find your
solution in the entry dated 20041115)

2) when you have a problem with ports, check UPDATING.  if that
yields nothing, check the mailing list archives (lists.freebsd.org
or, my prefered interface, freebsd.rambler.ru)

hope this helps.


cheers,
epi

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


Long Pause at boot during installation of usb

2004-12-02 Thread J. Scott Heppler
*FreeBSD 5.3 boot pauses at uchi2 *   	 ( post #1 
http://www.linuxquestions.org/questions/showthread.php?postid=1304478#post1304478) 

I am getting my feet wet with FreeBSD 5.3 and have managed get a working 
gnome desktop with sound.

I am having a problem during boot on an MSI M7VIG Pro D motherboard that 
uses the Via KM266 chipset. I guess the chipset supports up to 6 usb2.0 
ports but my case only had had two front ports. Two of the motherboard 
usb ports are unconnected. During boot there is a very long pause before 
it is disables uhub2.. The pertainent parts or dmesg follow:

uhci0: [GIANT-LOCKED]
usb0: VIA 83C572 USB controller on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: VIA 83C572 USB controller port 0xd400-0xd41f irq 21 at device 
16.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: VIA 83C572 USB controller on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: VIA 83C572 USB controller port 0xd800-0xd81f irq 21 at device 
16.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: VIA 83C572 USB controller on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
---
long pause here
---
uhub2: device problem, disabling port 2
pci0: serial bus, USB at device 16.3 (no driver attached)
isab0: PCI-ISA bridge at device 17.0 on pci0
isa0: ISA bus on isab0

My /boot/loader.conf file is empty.
This is the output of my /boot/device.hints file:
--
# $FreeBSD: src/sys/i386/conf/GENERIC.hints,v 1.13 2004/04/01 21:48:31 
alfred Exp $
hint.fdc.0.at=isa
hint.fdc.0.port=0x3F0
hint.fdc.0.irq=6
hint.fdc.0.drq=2
hint.fd.0.at=fdc0
hint.fd.0.drive=0
hint.fd.1.at=fdc0
hint.fd.1.drive=1
hint.ata.0.at=isa
hint.ata.0.port=0x1F0
hint.ata.0.irq=14
hint.ata.1.at=isa
hint.ata.1.port=0x170
hint.ata.1.irq=15
hint.adv.0.at=isa
hint.adv.0.disabled=1
hint.bt.0.at=isa
hint.bt.0.disabled=1
hint.aha.0.at=isa
hint.aha.0.disabled=1
hint.aic.0.at=isa
hint.aic.0.disabled=1
hint.atkbdc.0.at=isa
hint.atkbdc.0.port=0x060
hint.atkbd.0.at=atkbdc
hint.atkbd.0.irq=1
hint.psm.0.at=atkbdc
hint.psm.0.irq=12
hint.vga.0.at=isa
hint.sc.0.at=isa
hint.sc.0.flags=0x100
hint.vt.0.at=isa
hint.vt.0.disabled=1
hint.apm.0.disabled=1
hint.apm.0.flags=0x20
hint.pcic.0.at=isa
# hint.pcic.0.irq=10 # Default to polling

hint.pcic.0.port=0x3e0
_
I tried selecting option 6 after F1 the bootloader prompt and passing 
these options

1) OK set hint.uhci.2.disabled=1
OK boot
2) OK set hint.uhub.2.disabled=1
OK boot
3) OK set hint.usb.2.disabled=1
OK boot
but still had the same pause.
I got some advice at a newbies newsgroup that walked me through this but 
the thread has
become silent.  Any ideas/advice appreciated.

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


Re: How to edit file in single user mode

2004-12-02 Thread Matthias Buelow
Parv wrote:
That reminds me of my old C++ class editor project.  My version of the
editor -- ed like commands, no regex support, menu driven --
statically compiled w/ GCC 3.4  stripped takes 403 kB (-O1) or 389 kB
(-O2).  (It has yet to go through a thorough review though.  Anybody
care to take a look?)  I suppose i could/should save a copy just in
case.
That's pretty heavy, considering that without REs it would be roughly 
equivalent to the dreaded EDLIN.COM, which came in at around 7K. ;)

--
  Matthias Buelow; [EMAIL PROTECTED],informatik.uni-wuerzburg}.de
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade, packages, and same versions

2004-12-02 Thread David Syphers
On Thursday 02 December 2004 05:54 pm, Kris Kennaway wrote:
 On Thu, Dec 02, 2004 at 05:33:50PM -0800, David Syphers wrote:
  On Thursday 02 December 2004 05:23 pm, David Syphers wrote:
   On Thursday 02 December 2004 03:13 pm, Kris Kennaway wrote:
What command-line are you using?
  
   Oops, sorry for the noise. I just realized that I was giving the -u
   option to portupgrade, and I can understand why it can't do that
   without building the port. Doing it without -u works fine.
 
  Or not, actually. It has nothing to do with the -u option. It fails
  whenever it has to fetch the package (which it does successfully). The
  next time it's run, when it has the package already, it succeeds. That
  can't be a feature, can it?

 Again, show us, don't tell us.

yggdrasil# portupgrade -fuPP nasm-0.98.38_1,1
---  Checking for the latest package of 'devel/nasm'
---  Fetching the package(s) for 'nasm-0.98.38_1,1' (devel/nasm)
---  Fetching nasm-0.98.38_1,1
/var/tmp/nasm-0.98.38_1,1.tbz 100% of  133 kB  232 kBps
---  Downloaded as nasm-0.98.38_1,1.tbz
---  Identifying the package /var/tmp/nasm-0.98.38_1,1.tbz
---  Saved as /usr/ports/packages/All/nasm-0.98.38_1,1.tbz
---  Found a package of 'devel/nasm': nasm-0.98.38_1,1.tbz (nasm-0.98.38_1,1)
---  Located a package version 0.98.38_1,1 (nasm-0.98.38_1,1.tbz)
** Ignoring the package, which is the same version as is installed 
(0.98.38_1,1)
** No package available: devel/nasm
** Listing the failed packages (*:skipped / !:failed)
! devel/nasm (nasm-0.98.38_1,1) (package not found)
---  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
yggdrasil# portupgrade -fuPP nasm-0.98.38_1,1
---  Checking for the latest package of 'devel/nasm'
---  Found a package of 'devel/nasm': nasm-0.98.38_1,1.tbz (nasm-0.98.38_1,1)
---  Reinstalling 'nasm-0.98.38_1,1' (devel/nasm) using a package
---  Backing up the old version
---  Uninstalling the old version
---  Deinstalling 'nasm-0.98.38_1,1'
[Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 185 packages 
found (-1 +0) (...) done]
pkg_info: can't find package 'nasm-0.98.38_1,1.tbz' installed or in a file!
---  Installing the new version via the package
---  Cleaning out obsolete shared libraries
[Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 186 packages 
found (-0 +1) . done]

-David

-- 
To get out of the Metaphysical Void, you either have to
grasp the meaning of the universe or roll doubles twice.
 -Cecil Adams
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Sendmail in the base system

2004-12-02 Thread antenneX
Am running FBSD-4.10p2 with sendmail-8.12.11 in the base system.

If I wanted to recompile sendmail with a later DB like Berkley DB-4.2,
since its in the base system, what would be the best way of doing this?

- Rebuild make/install world without sendmail, then install sendmail
from the ports with my choice of DB?

- or, just install sendmail-8.13.x from ports with the new DB and then
have the system point to the new sendmail???

Best regards,

Jack L. Stone

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


Re: Dell Servers

2004-12-02 Thread Moti Levy
I run 5.2 stable on 2560 , 1650 with both idea and raid configurations .
no problems .
- Original Message - 
From: Thomas S. Crum - AAA Web Solution, Inc. [EMAIL PROTECTED]
To: 'Jeff Maxwell' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, December 02, 2004 8:17 PM
Subject: RE: Dell Servers

I had no problem running 4.10 on Dell power edge, so I'm sure 5.3 would work
fine also.
Best,
Thomas S. Crum
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff Maxwell
Sent: Thursday, December 02, 2004 8:09 PM
To: [EMAIL PROTECTED]
Subject: Dell Servers
Is anyone running 5.3 Release on Dell Power Edge 2850 or any Dell Power
Edge? I am looking to build a new mail server to replace our current
mail server, a desktop running 4.9
We have a few Dell Power Edge servers all running windows, that the
company is happy with so they want me to get a Dell. I want to get
something with mirrored drives and dual power supplies so I don't have
to worry about hardware failure.
Jeff Maxwell
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: FreeBSD 5.3 Questions

2004-12-02 Thread Eric Kjeldergaard
  2) How do I set GCC flags when compiling a port. I added
 CFLAGS=-O2 -march=pentium3 -pipe to /etc/make.conf, but
 get an error when building a port. The error is get is
 env: -pipe No such file or directory
 
 /usr/share/examples/etc/make.conf may help you here.
 

Just one quick addend to what epi has stated.  Ports are almost
assuredly failing because -O2 is unsupported in ports.  The ports that
are -O2 good generally enable it on WITH_OPTIMIZED_CFLAGS or some such
tag.

-- 
If I write a signature, my emails will appear more personalised.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ACPI kills USB mouse

2004-12-02 Thread Robert William Vesterman
Hi,
I've been having a hard time getting my USB mouse to work.  Tonight, I 
accidentally booted without ACPI support, and the USB mouse magically 
worked.  I tried booting with and without ACPI support several times 
thereafter, and each time, the USB mouse worked if and only if I hadn't 
booted with ACPI support.

Is this a known problem? Is there a workaround? Is there any sort of 
information I can gather that might help to narrow down the problem?

This is with 5.3-RELEASE, by the way.
Thanks in advance for any help.
Bob Vesterman.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ACPI kills USB mouse

2004-12-02 Thread Tabor Kelly
Robert William Vesterman wrote:
Hi,
I've been having a hard time getting my USB mouse to work.  Tonight, I 
accidentally booted without ACPI support, and the USB mouse magically 
worked.  I tried booting with and without ACPI support several times 
thereafter, and each time, the USB mouse worked if and only if I 
hadn't booted with ACPI support.

Is this a known problem? Is there a workaround? Is there any sort of 
information I can gather that might help to narrow down the problem?

This is with 5.3-RELEASE, by the way.
Thanks in advance for any help.
Bob Vesterman.

It is known (at least by myself) that the FreeBSD ACPI support can break
all sorts of things if it doesn't happen to agree with your hardware. I
think the known workaround is booting with support disabled.
-Tabor Kelly
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to edit file in single user mode

2004-12-02 Thread Parv
in message [EMAIL PROTECTED],
wrote Matthias Buelow thusly...

 Parv wrote:
 
 ...my old C++ class editor project.  My version of the editor --
 ed like commands, no regex support, menu driven -- statically
 compiled w/ GCC 3.4  stripped takes 403 kB (-O1) or 389 kB
 (-O2).  (It has yet to go through a thorough review though.
 Anybody care to take a look?)
 
 That's pretty heavy,

Well there are some factors: my first attempt of the editor w/
linked list as the data structure, and C++ itself.


 considering that without REs it would be roughly equivalent to the
 dreaded EDLIN.COM, which came in at around 7K. ;)

7 kB? Dang, that's smaller than ed(1), 143 kB, itself.  ed(1) seems
better and better (if EDLIN.COM equivalent is unavailable for Unix).


  - Anubhav

-- 

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


Remove f-q@chvlva... address (was Re: How to edit file in single user mode)

2004-12-02 Thread Parv
in message [EMAIL PROTECTED],
wrote Parv thusly...

(something)


Those replying to this  its child messages, please remove
[EMAIL PROTECTED] address before sending your reply.

I meant f-q to expand to [EMAIL PROTECTED] which
obviously it did not.  I apologize to the list.


  - Parv

-- 

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


Installing port without dialog boxes?

2004-12-02 Thread List Admin
I just reinstalled freebsd 5.3 on my machine and I wish to install Gnome
next.  Since it takes about 4 days to install on my slow machine, could
someone please tell me how I could do an unattended install?  I hate
looking over at the machine after 8 hours of install only to find a
dialog box asking me configuration information.

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


Re: Installing port without dialog boxes?

2004-12-02 Thread Kris Kennaway
On Thu, Dec 02, 2004 at 10:45:35PM -0700, List Admin wrote:
 I just reinstalled freebsd 5.3 on my machine and I wish to install Gnome
 next.  Since it takes about 4 days to install on my slow machine, could
 someone please tell me how I could do an unattended install?  I hate
 looking over at the machine after 8 hours of install only to find a
 dialog box asking me configuration information.

Set the BATCH environment variable.

Kris


pgpmfB6nHyEaT.pgp
Description: PGP signature


Re: Installing port without dialog boxes?

2004-12-02 Thread List Admin
Thanks for the info Kris.  Can you tell me what I need to set it to or
exactly how to do this?  Sorry for the remedial questions but I'm a
total newbie and I couldn't find this info in the handbook.

Thanks again,

Thomas

On Thu, 2004-12-02 at 21:44 -0800, Kris Kennaway wrote:
 On Thu, Dec 02, 2004 at 10:45:35PM -0700, List Admin wrote:
  I just reinstalled freebsd 5.3 on my machine and I wish to install Gnome
  next.  Since it takes about 4 days to install on my slow machine, could
  someone please tell me how I could do an unattended install?  I hate
  looking over at the machine after 8 hours of install only to find a
  dialog box asking me configuration information.
 
 Set the BATCH environment variable.
 
 Kris
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


daily security run output messages

2004-12-02 Thread Kjell Midtseter
List members!

My daily security run output contains lots of kernel log messages like the 
following:
 Connection attempt to UDP 10.0.0.10:1099 from 217.13.4.21:53
 Connection attempt to UDP 10.0.0.10:3204 from 193.75.75.193:53
--
What are the significanse of these messages?

My ipf firewall contains:
# domain name servers (dns)
pass in quick on rl0 proto udp from 217.13.4.21/32 to any port = 53 keep state
--
Should I make any changes to my firewall settings?

Regards from Kjell

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


Re: Dell Servers

2004-12-02 Thread David E. Meier
We are running 5.3-STABLE on two PE750 (SCSI, RAID1). No problems during
installation or operation.

Dave

 Is anyone running 5.3 Release on Dell Power Edge 2850 or any Dell Power
 Edge? I am looking to build a new mail server to replace our current
 mail server, a desktop running 4.9

 We have a few Dell Power Edge servers all running windows, that the
 company is happy with so they want me to get a Dell. I want to get
 something with mirrored drives and dual power supplies so I don't have
 to worry about hardware failure.


 Jeff Maxwell
 [EMAIL PROTECTED]

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




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