Re: /usr out of space

2004-05-20 Thread hoe-waa
Aloha Nicholas
Thanks for responding. I had just received a hint
about growfs and while reading that I found out 
about newfs. I have indeed performed the newfs and 
can now mount /dev/da1s4f.
Would it be possible to use growfs to add the new 
slice to /usr?
If not, I will follow your instructions in this 
email.
Thanks again.
Robert


 On Wednesday 19 May 2004 08:17 pm, [EMAIL PROTECTED] wrote:
 
  When I tried using bsdlabel without any options I got an error.
  So I then did a bsdlabel -w da1s4 and the a bsdlabel -e da1s4
  and edited what I believe are the correct numbers for this slice.
  Now when I do the bsdlabel da1s4 with no options, I get
 
  # /dev/da1s4:
  8 partitions:
  #size   offsetfstype   [fsize bsize bps/cpg]
c:  89803350unused0 0 # raw 
 part, don't edit f:  8980319   164.2BSD 2048 16384 28552
 
 
  I still get the above error when trying to mount this slice.
 
  To sum it up.
 
  Is it possible to mount, copy and change the /usr partition?
 
  If so, how do I correct the super block problem so I can mount?
 
  Or, is there a much easier way and I have been spinning my wheels 
 for the last 6 hours?
 
   Perhaps I've missed a step, but it seems that you never did a 
 newfs /
 dev/da1s4f. If not, that would be an obvious explanation for the 
 incorrect super block error.
   At any rate, it is pretty easy to copy data from usr to a new 
 slice and 
 change fstab. I do it on occasion. I would recommend making a copy 
 of 
 fstab that has the da1s4f as the /usr partition. 
   I do a tunefs -n enable on the new filesystem device. Then, I boot 
 into 
 single user mode, mount -ro /usr and mount -rw /newusr (and I even 
 mount /var if I need to do editing with vi.) I then tar or copy the 
 files over (dump works, too). After all that's done, umount /usr 
 and 
 umount /newusr. Copy the new version of fstab to /etc/fstab, and 
 try a 
 mount /usr or mount -a. If there are no errors, you should be able 
 to 
 hit control-d and finish the boot procedure. 
 
 
 Nicholas
 
 
 
  TIA
 
  Robert
 
  P.S. Here's what bsdlabel on da1s2 looks like;
 
  bsd-desktop# bsdlabel da1s2
 

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


Re: /usr out of space

2004-05-20 Thread Nicholas Basila
On Thursday 20 May 2004 02:19 am, [EMAIL PROTECTED] wrote:
 Aloha Nicholas
 Thanks for responding. I had just received a hint
 about growfs and while reading that I found out
 about newfs. I have indeed performed the newfs and
 can now mount /dev/da1s4f.
 Would it be possible to use growfs to add the new
 slice to /usr?
It is possible to use growfs, but in your case - more complicated, as 
you have /usr and the new /usr in two different slices.  You'd have to 
resize the slice with fdisk, then use disklabel and growfs. 




 If not, I will follow your instructions in this
 email.
 Thanks again.
 Robert

  On Wednesday 19 May 2004 08:17 pm, [EMAIL PROTECTED] wrote:
   When I tried using bsdlabel without any options I got an error.
   So I then did a bsdlabel -w da1s4 and the a bsdlabel -e da1s4
   and edited what I believe are the correct numbers for this slice.
   Now when I do the bsdlabel da1s4 with no options, I get
  
   # /dev/da1s4:
   8 partitions:
   #size   offsetfstype   [fsize bsize bps/cpg]
 c:  89803350unused0 0 # raw
 
  part, don't edit f:  8980319   164.2BSD 2048 16384
  28552
 
   I still get the above error when trying to mount this slice.
  
   To sum it up.
  
   Is it possible to mount, copy and change the /usr partition?
  
   If so, how do I correct the super block problem so I can mount?
  
   Or, is there a much easier way and I have been spinning my wheels
 
  for the last 6 hours?
 
  Perhaps I've missed a step, but it seems that you never did a
  newfs /
  dev/da1s4f. If not, that would be an obvious explanation for the
  incorrect super block error.
  At any rate, it is pretty easy to copy data from usr to a new
  slice and
  change fstab. I do it on occasion. I would recommend making a copy
  of
  fstab that has the da1s4f as the /usr partition.
  I do a tunefs -n enable on the new filesystem device. Then, I boot
  into
  single user mode, mount -ro /usr and mount -rw /newusr (and I even
  mount /var if I need to do editing with vi.) I then tar or copy the
  files over (dump works, too). After all that's done, umount /usr
  and
  umount /newusr. Copy the new version of fstab to /etc/fstab, and
  try a
  mount /usr or mount -a. If there are no errors, you should be able
  to
  hit control-d and finish the boot procedure.
 
 
  Nicholas
 
   TIA
  
   Robert
  
   P.S. Here's what bsdlabel on da1s2 looks like;
  
   bsd-desktop# bsdlabel da1s2
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: memory allocation/deallocation (malloc experts needed)

2004-05-20 Thread Dan Nelson
In the last episode (May 20), Till Plewe said:
 My problem is essentially that freeing large numbers of small chunks
 of memory can be very slow. I have run into this problem twice so
 far.

Do you have a testcase?  The attached program mallocs 1 million
128-byte blocks, then frees them.  With MALLOC_OPTIONS set to jz (i.e.
no filling of freed memory), it takes .184 seconds to free them all. 
With it set to J, it takes 1 second.

CPU: Intel Pentium III (909.96-MHz 686-class CPU)
 
-- 
Dan Nelson
[EMAIL PROTECTED]
#include stdio.h
#include stdlib.h
#include sys/time.h
#include sys/resource.h

#define NUM 1048576
#define SIZE 128

void *mypointers[NUM];
struct timeval elap;
struct rusage r_s, r_e;

int main(void)
{
int i;

printf(malloc:);
fflush(stdout);
for (i = 0; i  NUM; i++)
{
mypointers[i] = malloc(SIZE);
}
printf(done.\nfree:);
fflush(stdout);
getrusage(RUSAGE_SELF, r_s);
for (i = 0; i  NUM; i++)
{
free(mypointers[i]);
}
getrusage(RUSAGE_SELF, r_e);
timersub(r_e.ru_utime, r_s.ru_utime, elap);
printf(done. %ld.%06ld\n, elap.tv_sec, elap.tv_usec);
return 0;
}
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /usr out of space

2004-05-20 Thread hoe-waa



 On Thursday 20 May 2004 02:19 am, [EMAIL PROTECTED] wrote:
  Aloha Nicholas
  Thanks for responding. I had just received a hint
  about growfs and while reading that I found out
  about newfs. I have indeed performed the newfs and
  can now mount /dev/da1s4f.
  Would it be possible to use growfs to add the new
  slice to /usr?
 It is possible to use growfs, but in your case - more complicated, 
 as 
 you have /usr and the new /usr in two different slices.  You'd have 
 to 
 resize the slice with fdisk, then use disklabel and growfs. 

I'm aware of that as I have been studying growfs 
and fdisk for the last half an hour. I wasn't 
wanting to waste that 2.3 Gig in the middle of 
slice 2 but now I think I'll use it for /home 
after I get /usr moved.

Thanks again and wish me luck because here I go!

Robert

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


Re: Firewalling Q

2004-05-20 Thread Schizik
Hello!

 Block everything. (or don't route)
 I can't
 All this people are commercial customers
 We only have a policy that allows us to limit bandwidth
 for them in case of excessive usage.

 I have found nice approach for analyzing network traffic
 and installling dynamic firewall rules for it. It can be found
 at http://homes.cs.ru.ac.za/B.Irwin/research/
Barry_irwin-dynamic-filtering_SACLA2002.pdf
 Links to scripts in this document are outdated, but it gives
 an idea how this can be done.


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


installer source location

2004-05-20 Thread sales
Hi,

Can anyone there please show/driect/point out where the sysinstall source is located 
at? I have the need to edit it and see if its possible for me to work on it.

I am using CVS via Internet.

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


Re: installer source location

2004-05-20 Thread Kent Stewart
On Wednesday 19 May 2004 11:57 pm, [EMAIL PROTECTED] wrote:
 Hi,

 Can anyone there please show/driect/point out where the sysinstall
 source is located at? I have the need to edit it and see if its
 possible for me to work on it.

 I am using CVS via Internet.



/usr/src/release/sysinstall

Kent

-- 
Kent Stewart
Richland, WA

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


Re: memory allocation/deallocation (malloc experts needed)

2004-05-20 Thread Charlie Root
On Thu, May 20, 2004 at 01:42:00AM -0500, Dan Nelson wrote:
 In the last episode (May 20), Till Plewe said:
  My problem is essentially that freeing large numbers of small chunks
  of memory can be very slow. I have run into this problem twice so
  far.
 
 Do you have a testcase?  The attached program mallocs 1 million
 128-byte blocks, then frees them.  With MALLOC_OPTIONS set to jz (i.e.
 no filling of freed memory), it takes .184 seconds to free them all. 
 With it set to J, it takes 1 second.
 
 CPU: Intel Pentium III (909.96-MHz 686-class CPU)
  

...

I get 

NUM SIZEMALLOC_OPTIONS  time
1058576 128 jz  0.044
1058576 128 JZ  0.13

128*1048576 8   jz  5.28
128*1048576 8   JZ  7.70

200*1048576 8   jz  8.25
200*1048576 8   JZ  13.17   

with CPU: AMD Opteron(tm) Processor 248 (2205.02-MHz K8-class CPU)

but with NUM 255*1048576 I run out of memory (although I have 6GB and
your test program should only use about
(sizeof(void*)+SIZE)*NUM=(8+8)*255*1048576=4GB)

Using NUM 256*1048576, SIZE 8 I get 

# gcc -o test test.c
/var/tmp//ccLxywz6.s: Assembler messages:
/var/tmp//ccLxywz6.s:95: Error: .COMMon length (-2147483648.) 0! Ignored.
/var/tmp//ccLxywz6.s:95: Warning: rest of line ignored; first ignored character is `,'

In any case since I have the pointers in a hash table (Judy array)
rather than an array I need extra time for look-up/deleting the entry
in the hash table as well. If I could get malloc to use a fixed memory
region for the part I want to delete (both for the hash table and the
information pointed to) deletion should take no time at all.

In my program I get times like this 

DATA 6.553015 sec 
JUDY 7.593997 sec
deleted 1272062 hash entries, freed 28542840(Judy) + 15264744(data) bytes 

where judy translates hash values to pointers pointing to simple structs. 
Since I want to delete up to 10^8 entries the times get quite bad.
 
I guess quite a bit of the extra time is spent jumping around in
memory. Your test program frees memory in the order it was allocated which
should be a quite regular pattern. 

I will test some more and then post some more details.
Thanks for your answer.

- Till

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


Re: Max NFSD processes

2004-05-20 Thread Christian Hiris
On Wednesday 19 May 2004 23:55, Eric Anderson wrote:
 I have several heavily used NFS servers, currently running FreeBSD
 4.9-RELEASE.  I'm getting jammed up with all my nfsd processes being
 busy, so clients see slow connections to the server.  I have the nfsd
 starting with a count of 20, which is the max set in the nfsd.c file.

 Are there any risks I should be aware of before bumping up the max to
 say 40, or even 50?

 What would it take to make this a sysctl adjustable value?

 Should the max be bumped higher by default nowdays?

 Thanks - any help/hints is appreciated.

 Eric

About a year ago i observed strong nfs performance decrease when using  
RLT8139A nics. Nfs transfers leaded into high system load, because of an 
excessive high packet retransmission rate. Switching over to 3Com nics solved 
my problem.   

regards 
ch

-- 
Christian Hiris [EMAIL PROTECTED] | OpenPGP KeyID 0x941B6B0B 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu


pgpenSizGulou.pgp
Description: signature


Re: network traffic

2004-05-20 Thread B Hansson
[EMAIL PROTECTED] wrote:
That works Great but do you know of anything that works in side the network?
does the same thing but inside the network
Yes, Tptest. Setup a tptest server on your network and use the client to 
connect to your own tptest server.

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


OT - sendmail forwarding for entire domain

2004-05-20 Thread Peter Risdon
Is it possible to configure sendmail to forward mail for an entire 
domain to another mail server, identified by ip address rather than 
domain name, keeping the original To: headers intact?

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


Re: Max NFSD processes

2004-05-20 Thread Petri Helenius
Christian Hiris wrote:
About a year ago i observed strong nfs performance decrease when using  
RLT8139A nics. Nfs transfers leaded into high system load, because of an 
excessive high packet retransmission rate. Switching over to 3Com nics solved 
my problem.   
 

The specific model and it's close relatives is only suitable for light 
use, like basic web surfing, small remote-monitoring applications, etc.
The more recent realtek chips support more sane ways to access the 
hardware and wastly increased performance.

You'll want RTL8139C+, RTL8169, etc. which use the re driver instead 
of the rl driver.

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


Re: OT - sendmail forwarding for entire domain

2004-05-20 Thread Olaf Hoyer
On Thu, 20 May 2004, Peter Risdon wrote:

 Is it possible to configure sendmail to forward mail for an entire
 domain to another mail server, identified by ip address rather than
 domain name, keeping the original To: headers intact?

Hi!

DIfferent ways to do this:

I assume that the domain example.com is already added to
/etc/mail/local-host-names.

Then, depending on your preferences, whether use the virtusertable:

@example.com[EMAIL PROTECTED]

or the mailertable, which should be the better approach to your setup:

.example.com smtp:[172.16.0.1]


HTH
Olaf

-- 
Olaf Hoyer[EMAIL PROTECTED]
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Mozilla 1.6 (Gtk 1.2) on FreeBSD 4.9-Release compilation problem

2004-05-20 Thread Vladimir Terziev

Hi all!

I'm trying to build Mozilla 1.6 from source on my FreeBSD 4.9-RELEASE box. 
I've got the following error:


gmake[4]: Entering directory `/var/tmp/mozilla/netwerk/dns/src'
nsDNSService2.cpp
c++ -o nsDNSService2.o -c -DOSTYPE=\FreeBSD4\ -DOSARCH=\FreeBSD\  
-I../../../dist/include/xpcom -I../../../dist/include/string 
-I../../../dist/include/pref -I../../../dist/include/unicharutil 
-I../../../dist/include/necko -I../../../dist/include -I/usr/local/include/nspr 
-I/usr/local/include -I/usr/local/include -I/usr/include -I/usr/X11R6/include   -fPIC  
-I/usr/X11R6/include  -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall 
-Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth 
-Wno-ctor-dtor-privacy -Wno-long-long -pedantic -pipe  -DNDEBUG -DTRIMMED -O2  
-I/usr/X11R6/include  -I/usr/X11R6/include -DMOZILLA_CLIENT -include 
../../../mozilla-config.h -Wp,-MD,.deps/nsDNSService2.pp nsDNSService2.cpp
In file included from nsDNSService2.h:40,
 from nsDNSService2.cpp:37:
nsHostResolver.h:86: syntax error before `*'
nsHostResolver.h: In method `PRBool nsHostRecord::HasResult() const':
nsHostResolver.h:90: syntax error before `||'
nsHostResolver.h:90: warning: control reaches end of non-void function 
`nsHostRecord::HasResult() const'
nsHostResolver.h: At top level:
nsHostResolver.h:183: syntax error before `*'
nsDNSService2.cpp: In method `nsresult nsDNSRecord::GetCanonicalName(nsACString )':
nsDNSService2.cpp:87: invalid use of type decl `struct addrinfo' as expression
nsDNSService2.cpp:88: invalid use of type decl `struct addrinfo' as expression
nsDNSService2.cpp:88: `PR_GetCanonNameFromAddrInfo' undeclared (first use this 
function)
nsDNSService2.cpp:88: (Each undeclared identifier is reported only once
nsDNSService2.cpp:88: for each function it appears in.)
nsDNSService2.cpp:86: warning: `const char * cname' might be used uninitialized in 
this function
nsDNSService2.cpp: In method `nsresult nsDNSRecord::GetNextAddr(short unsigned int, 
PRNetAddr *)':
nsDNSService2.cpp:104: invalid use of type decl `struct addrinfo' as expression
nsDNSService2.cpp:105: invalid use of type decl `struct addrinfo' as expression
nsDNSService2.cpp:105: `PR_EnumerateAddrInfo' undeclared (first use this function)
gmake[4]: *** [nsDNSService2.o] Error 1
gmake[4]: Leaving directory `/var/tmp/mozilla/netwerk/dns/src'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/var/tmp/mozilla/netwerk/dns'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/var/tmp/mozilla/netwerk'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/var/tmp/mozilla'
gmake: *** [default] Error 2


Does someone know what could be the exact problem and how to fix it?

Vlady

P.S. Please, put a CC with my e-mail in your reply, because i'm not a member of these 
mail lists.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why has cvsup quit working for me?

2004-05-20 Thread Nelis Lamprecht
On Thu, 2004-05-20 at 04:10, Jonathon McKitrick wrote:
 I don't get it.  It was working last week.  Here's what I get now:
 
 root:~# cvsup /usr/share/examples/cvsup/ports-supfile 
 Cannot get IP address of my own host -- is its hostname correct?
 root:~# 
 

Try typing hostname from the command line. Then make sure that the
returned name has an ip address associated with it in /etc/hosts

Cheers,
-- 
Nelis Lamprecht
PGP: http://www.8ball.co.za/pgpkey/nelis.asc
Unix IS user friendly.. It's just selective about who its friends are.


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


graphics files not printing correctly

2004-05-20 Thread Jason Taylor
I've followed the directions in the handbook for setting up lpd and also 
installed apsfilter via ports and ran /usr/local/share/apsfilter/SETUP. 
 In general printing is working.  For example, a text document from OOo 
prints just fine.  However, when I attempt to print a jpeg file the 
result is what I can best describe as a blurry negative image.  That's 
not terribly accurate.  It's more like it's been converted to only a 
handful of colors and possibly some colors dropped altogether.

I've tried both the native gs driver and the gimp-print stp driver with 
the same results.  Test pages printed from within the apsfilter setup 
look great.  The problem does not seem to be limited to jpegs in 
particular.  A pdf from a few days ago was also blurred/color 
reduced/altered.  Images printed directly from firefox a week or so ago 
show the same symptoms.  Whether those were jpeg, gif, png, or something 
else, I'm not certain.

I've ruled out any network issues by copying a few jpeg files over to 
the server and printing them locally.  I've also converted a few from 
jpeg to ps and back again to rule out imagemagick.

I'm confident that the printer itself is in good order based on the good 
test pages and it having worked well on a WinXP just prior to having 
been moved over the the FreeBSD box.  I no longer have any Windows 
machines around to check that it still works on them.  :-D

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


hello, urgent

2004-05-20 Thread Praneeth Reddy
i have only 1.38 mb floppy disks, so can i burn those
2 files into one cd and install it by cdrom.
or how do i install with iso files. how much mb does
it take after totall install.




__
Do you Yahoo!?
Yahoo! Domains – Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


LSI 20320 MPT driver

2004-05-20 Thread J.D. Bronson
I have 100% success with using my LSI 20320R card under freebsd 5.2.1
but have not setup any RAID on the card (yet)...so this email
is for pre-information prior to setting up a RAID-1 (mirror):
On a second machine that is running solaris, this is what I see:
May 19 19:40:10 shadow unix: /[EMAIL PROTECTED],0/pci1000,[EMAIL PROTECTED] (mpt0):
May 19 19:40:10 shadow  Rev. 7 LSI, Inc. 1030 found.
May 19 19:40:10 shadow unix: /[EMAIL PROTECTED],0/pci1000,[EMAIL PROTECTED] (mpt0):
May 19 19:40:10 shadow  mpt0 supports power management.
May 19 19:40:23 shadow unix: /[EMAIL PROTECTED],0/pci1000,[EMAIL PROTECTED] (mpt0):
May 19 19:40:23 shadow  mpt0 Firmware version v1.3.24.0
May 19 19:40:23 shadow unix: /[EMAIL PROTECTED],0/pci1000,[EMAIL PROTECTED] (mpt0):
May 19 19:40:23 shadow  mpt0: IOC Operational.
May 19 19:40:35 shadow unix: /[EMAIL PROTECTED],0/pci1000,[EMAIL PROTECTED] (mpt0):
May 19 19:40:35 shadow  Volume 0 is optimal
May 19 19:40:37 shadow unix: PCI-device: pci1000,[EMAIL PROTECTED], mpt0
May 19 19:40:37 shadow unix: mpt0 is /[EMAIL PROTECTED],0/pci1000,[EMAIL PROTECTED]
I can tell that the RAID is fine (optimal) and if it is not, I would see this:
May 19 16:46:51 shadow unix: /[EMAIL PROTECTED],0/pci1000,[EMAIL PROTECTED] (mpt0):
May 19 16:46:51 shadow  Rev. 7 LSI, Inc. 1030 found.
May 19 16:46:51 shadow unix: /[EMAIL PROTECTED],0/pci1000,[EMAIL PROTECTED] (mpt0):
May 19 16:46:51 shadow  mpt0 supports power management.
May 19 16:47:04 shadow unix: /[EMAIL PROTECTED],0/pci1000,[EMAIL PROTECTED] (mpt0):
May 19 16:47:04 shadow  mpt0 Firmware version v1.3.24.0
May 19 16:47:04 shadow unix: /[EMAIL PROTECTED],0/pci1000,[EMAIL PROTECTED] (mpt0):
May 19 16:47:04 shadow  mpt0: IOC Operational.
May 19 16:47:16 shadow unix: /[EMAIL PROTECTED],0/pci1000,[EMAIL PROTECTED] (mpt0):
May 19 16:47:16 shadow  Volume 0 is resyncing
May 19 16:47:16 shadow unix: /[EMAIL PROTECTED],0/pci1000,[EMAIL PROTECTED] (mpt0):
May 19 16:47:16 shadow  Volume 0 is degraded
May 19 16:47:18 shadow unix: PCI-device: pci1000,[EMAIL PROTECTED], mpt0
May 19 16:47:18 shadow unix: mpt0 is /[EMAIL PROTECTED],0/pci1000,[EMAIL PROTECTED]
May 19 16:47:19 shadow unix: /[EMAIL PROTECTED],0/pci1000,[EMAIL PROTECTED] (mpt0):
May 19 16:47:19 shadow  Volume 0 is |enabled||resyncing||degraded|
Would I expect to have similar on FreeBSD?


--
J.D. Bronson
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Email: [EMAIL PROTECTED] // Pager: 414.314.8282
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Postfix possibly ignoring myhostname and mydomainname?

2004-05-20 Thread Edd

Hi,
I want postfix to send email from a domain name different to the one that
it really is. This is because I have no real (as in on the net) domain
associated with it, so I am going to use my website address so that the
from field resolves and relays are happy to pass on my mail.

I have:

set myhostname to:
hitbox.arameus.net

set mydomainname to:
arameus.net

and added this line:
masquerade_domains=hitbox.arameus.net

So my theory is that postfix will send from [EMAIL PROTECTED]

then restarted postfix. (postfix reload).
A quick 'postconf -d | grep my' reveals that postfix is infact ignoring
completely the value I have given it! why so?

Sorry if this is a really obvoius mistake, but I am new to mail server
administration, and I have checked the documentation and FreeBSD
mailinglist without luck.

Someone has suggested relaying between these two domains, so I added
relay_domains = arameus.net

Still no luck Im afraid.

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


Re: Why has cvsup quit working for me?

2004-05-20 Thread Jonathon McKitrick
On Wed, May 19, 2004 at 07:57:53PM -0700, Kent Stewart wrote:
: You system doesn't know who it is. Check hosts and rc.conf.

I can't believe how dumb I am.  I mergemastered and overwrote my /etc/hosts
file.  It was a while ago and I forgot.

Thanks for the help.


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]


[no subject]

2004-05-20 Thread ngl
Hi.

How to export variable from one kernel module to another?
I add EXPORT_SYMS to makefile and get export_syms file (not empty).
Then i try  to load another module which uses exported variable but kldload
failed with message
kldload: can't load mod3.ko: No such file or directory
What have i done wrong ?

regards,
Nik

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


Help with PCMCIA card support

2004-05-20 Thread Martin Phillips
I am trying to install FreeBSD on an old laptop that used to run various
versions of Windows.  I have two problems...

1. The installation process appears not to see my PCMCIA cards.  Running
pccardd says No PC-CARD slots.  That's a shame really, because my ethernet
card is essential.  How do I convince the system that there really are card
slots?

2. Resolution is not helped by the install process not showing the Kernel
Configuration Menu that is described in section 2.3.2 of the documentation.
How can I get to this menu to check my system configuration?

uname -a reports:
FreeBSD hostname 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: date
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386


Martin Phillips
Ladybridge Systems
17b Coldstream Lane, Hardingstone, Northampton NN4 6DB
+44-(0)1604-709200

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


Re: memory allocation/deallocation (malloc experts needed)

2004-05-20 Thread Chuck Swiger
Till Plewe wrote:
My problem is essentially that freeing large numbers of small chunks
of memory can be very slow. I have run into this problem twice so far.
[ ... ]
One solution would be to divide the memory in larger regions and to
tell malloc which chunk to use for the next few calls, respectively when a
whole chunk could be freed. But I don't know how to do this.
Consider using (or searching for information about) a zone-based malloc. 
NEXTSTEP used one and hence Darwin/OS X probably have sources available for 
you to consider...

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


Boot laoder display ans comma problem (FreeBSD 5.1)

2004-05-20 Thread [EMAIL PROTECTED]
 Hello, 
 
I am a newbie about FreeBSD but I like this gorgeous OS, elegant and 
powerful. But FreeBSD is again mysterious for me. I have two problems. 
 
First problem : 
  
I have two partitions on my hard disk (Western Digital 20GB) with 
FreeBSD 5.1 and Windows Server 2003. 
 
 At present time my Boot loader displays : 
 
 F1 FreeBSD 
 F2 ?? 
 
 Default : F1 
 
 (F2 corresponds to Windows Server 2003). 
 
 But I would like to replace ?? by Windows Server 2003. 
 
 How to do this ? Is there a specific file for this ? 
 
 Can I modify /boot/loader.conf, /boot/loader.conf.local or 
/boot/defaults/loader.conf ? 
 
Is there a modification of a specific file ? 
 
 I would like to solve this problem unaesthetic and ugly. No response for 
the moment at : 
 
 
http://www.bsdforums.org/forums/showthread.php?s=postid=122593#post122593 
 
 Thanks for the informations on this subject. 
 
 
Other problem : 
 
 On my system I have to add a comma after the last username to allow 
normal user to shutdown PC. 
 
 vi /etc/group 
 
 operator:*:5:root,username1,username2,username3, 
  
 I don't understand the reason of the comma after the last name (for 
example : username3). 
 
 On the other hand I understand perfectly the reason of the comma 
between two usernames. 
  
 If the comma is missing (after username3) I can't do a shutdown -r now 
or shutdown -h now or shutdown -p now 
  
 With the comma after the last username, I can do a shutdown -... now 
 
 No response for the moment at : 
 
 http://www.bsdforums.org/forums/showthread.php?s=threadid=22053 
 
 Thank you very much for your precious help. 
 
 Bertrand Brodeau (Valorisa) 
 

**ADSL Tiscali, le Haut débit au meilleur prix **
Avec Tiscali, profitez de l'ADSL au meilleur prix partout en France !
Pour profiter de cette offre exceptionnelle, cliquez ici : 
http://register.tiscali.fr/adsl
Sous réserve d'éligibilité à l'ADSL.


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


Re: Why has cvsup quit working for me?

2004-05-20 Thread Jonathon McKitrick
: You system doesn't know who it is. Check hosts and rc.conf.

Actually, I'm only half a fool.  I started to fix hosts, and found a swap
file.  Apparently, I had started to fix the file, but forgot about it.
Thanks again.



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]


cron can't find root or operator

2004-05-20 Thread carvin5string
I have a new server set up and running and am getting a slew of
messages from cron, like this - 

Subject: Cron [EMAIL PROTECTED] root /usr/libexec/atrun 
Body: root: not found 

and 

Cron [EMAIL PROTECTED] operator /usr/libexec/save-entropy 
operator: not found 

What's going on with cron? 
Thanks, 
Chip




__
Do you Yahoo!?
Yahoo! Domains – Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: third IDE

2004-05-20 Thread Brian Reichert
On Wed, May 19, 2004 at 09:13:23PM +, Mark wrote:
 Ok, I bought the Promise Ultra133, and now FreeBSD (4.9R) recognized my third IDE 
 port:
 
 ATA channel 2:
 Master:  ad4 Maxtor 6Y080L0/YAR41BW0 ATA/ATAPI rev 7
 Slave:   no device present
 
 But I cannot mount it! mount /dev/ad4s1a /backup says:

Did you make disklabels?  See disklabel(8).

 mount: /dev/ad4s1a: No such file or directory
 
 And /dev/ad4 does not exist in /dev/. How do I create it??
 
 Thanks, 
 
 - Mark

-- 
Brian Reichert  [EMAIL PROTECTED]
37 Crystal Ave. #303Daytime number: (603) 434-6842
Derry NH 03038-1713 USA BSD admin/developer at large
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Correct steps to recompile kernel

2004-05-20 Thread Stephen Liu
Hi all folks,

FreeBSD 5.2
===

I am trying to learn recompiling kernel. I visited
following link;
http://www.freebsd.org/doc/en_US.IS...g-building.html

But I am still not very clear of the correct steps to
be taken. I suppose taking following steps

# cd /usr/src/sys/i386/conf
# cp GENERIC GENERIC.bak
# cp GENERIC MYKERNEL
# ee MYKERNEL
(modifying the kernel)

# config MYKERNEL
# cd /usr/src/sys/i386/compile/MYKERNEL
(Are the above directories correct???)

# make depend
# make
# make install

check /etc/rc.conf to have the line:
linux_enable=YES
reboot PC

Any further steps needed to be taken thereafter?

If I am wrong please correct me. TIA

B.R.
Stephen Liu

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


install questions (was Re: hello, urgent)

2004-05-20 Thread Bill Moran
Please read http://www.lemis.com/questions.html
Praneeth Reddy wrote:
i have only 1.38 mb floppy disks, so can i burn those
2 files into one cd and install it by cdrom.
You have a few choices:
1) if you don't have a CD, you can create two floppies,
   boot from them and install via ftp over the internet
2) If you have a CD that will boot, you can burn an ISO
   image, boot off the CD and do the entire install from
   CD
3) If you have a CD, but it won't boot, you can boot from
   floppies (as in #1) then install the remainer of the
   system from CD
or how do i install with iso files.
See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html
If you don't know how to burn an ISO to a CD, read the docs for the CD
burning software you're using, all CD burning software is different.
how much mb does
it take after totall install.
It depends on the type of install.  A minumal is only a few hundred meg, but
a more practical installation will probably require a few gig.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Firewalling Q

2004-05-20 Thread Vulpes Velox
On Tue, 18 May 2004 14:04:45 +0400
Schizik [EMAIL PROTECTED] wrote:

 
 Greetings, gurus!
 
 I do need to limit people from my internal LAN to access
 filesharing services like eDonkey, Mule, Kaza, etc
 
 The problem is that it is can not be done with port ranges
 based ipfw rules, because ports can be changed by users
 in this programs.
 
 What is I need some sort of setup which will analyze traffic
 going to and from people and based on recognition apply
 different firewall rules.
 
 Can anyone recommend me an approach for this?

Look up info on what control ports and the like they all use. Block
those. ^_^
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: third IDE

2004-05-20 Thread David Raistrick
On Wed, 19 May 2004, Mark wrote:

 mount: /dev/ad4s1a: No such file or directory

 And /dev/ad4 does not exist in /dev/. How do I create it??

MAKEDEV?

cd /dev
sh MAKEDEV ad4


---
david raistrickhttp://www.netmeister.org/news/learn2quote.html
[EMAIL PROTECTED] http://www.expita.com/nomime.html

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


Re: cron can't find root or operator

2004-05-20 Thread Eric Crist
On Thursday 20 May 2004 09:14, carvin5string wrote:
 I have a new server set up and running and am getting a slew of
 messages from cron, like this -

 Subject: Cron [EMAIL PROTECTED] root /usr/libexec/atrun
 Body: root: not found

 and

 Cron [EMAIL PROTECTED] operator /usr/libexec/save-entropy
 operator: not found

 What's going on with cron?
 Thanks,
 Chip


It would really help if you copied us your crontab.

-- 
It's Like This

Even the samurai
have teddy bears,
and even the teddy bears
get drunk.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Max NFSD processes

2004-05-20 Thread Eric Anderson
Steve Shorter wrote:
On Wed, May 19, 2004 at 04:55:20PM -0500, Eric Anderson wrote:
 

I have several heavily used NFS servers, currently running FreeBSD 
4.9-RELEASE.  I'm getting jammed up with all my nfsd processes being
busy, so clients see slow connections to the server.  I have the nfsd
starting with a count of 20, which is the max set in the nfsd.c file.

Are there any risks I should be aware of before bumping up the max to
say 40, or even 50?
   

Depending on where the bottlnecks in the system are,
you can crank this up to whatever works for you.
	I have tested and am running nfs servers with 80
and 100 nfsd's with no problems at all
 

That's good to hear.  Did you do any other tweaks?  sysctl settings?  
mbufs? 


What would it take to make this a sysctl adjustable value?
   


	This isn't neccessary IM0, because the number of
nfd's can be set at runtime. But the default max in
nfsd.c should be increased. 
 

I meant a sysctl for the MAXNFSDCNT setting in nfsd.c.

Should the max be bumped higher by default nowdays?
   

Yep.
 

Thanks - any help/hints is appreciated.
   

	You probably also want good nics (fxp0) and to
increase UDP buffer space. I have found that nfs over udp
offers supperior performance  than tcp on a good LAN
 

I'm currently using 3com's (xl0,xl1) and Intel Gigabit cards (em0,em1).  
Most of my clients are using udp. 

What did you set your buffer space to? Which sysctl did you change?
Thanks!
Eric
--
--
Eric Anderson Sr. Systems AdministratorCentaur Technology
Today is the tomorrow you worried about yesterday.
--
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cron can't find root or operator

2004-05-20 Thread Bill Moran
carvin5string wrote:
I have a new server set up and running and am getting a slew of
messages from cron, like this - 

Subject: Cron [EMAIL PROTECTED] root /usr/libexec/atrun 
Body: root: not found 

and 

Cron [EMAIL PROTECTED] operator /usr/libexec/save-entropy 
operator: not found 

What's going on with cron? 
You've got a user's crontab created in the format of the system crontab.
The system crontab has an extra field to designate the user under which
the job should run.  When this field is entered in a user's crontab,
cron interprets it as the command to be run and the errors you describe
generally result.
Keep in mind that the user root has a user crontab that is different
from the system crontab.
If you're still fuzzy as to what went wrong, reading the man pages for
crontab (in addition to my explanation) should help.
good luck.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SA-04:10 problem -- GPG error: not a detached signature

2004-05-20 Thread Saint Aardvark the Carpeted
Just a followup to let folks know that the GPG signature is working
now -- looks like the patch/signature files have been updated, and
the signature checks out.

-- 
Saint Aardvark the Carpeted
[EMAIL PROTECTED]
Because the plural of Anecdote is Myth.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Correct steps to recompile kernel

2004-05-20 Thread Bill Moran
Stephen Liu wrote:
Hi all folks,
FreeBSD 5.2
===
I am trying to learn recompiling kernel. I visited
following link;
http://www.freebsd.org/doc/en_US.IS...g-building.html
But I am still not very clear of the correct steps to
be taken. I suppose taking following steps
# cd /usr/src/sys/i386/conf
# cp GENERIC GENERIC.bak
# cp GENERIC MYKERNEL
# ee MYKERNEL
(modifying the kernel)
This is good ... although making a backup of GENERIC is
somewhat redundant.
# config MYKERNEL
# cd /usr/src/sys/i386/compile/MYKERNEL
(Are the above directories correct???)
# make depend
# make
# make install
This is the _old_ way.  I believe it still works, but I
don't know if it's supported any longer, and besides, it's
just more work than needed.  The docs describe the newer
method, which is
cd /usr/src
make buildkernel KERNCONF=MYKERNEL
reboot to single-user mode
make installkernel KERNCONF=MYKERNEL
reboot
check /etc/rc.conf to have the line:
linux_enable=YES
reboot PC
This is a completely different thing than compiling a kernel.
If you want the linuxulator installed, definately do this,
but it's not really related to building a kernel.
You don't mention if you've updated your source code or not.
Just a warning, if you _did_ update your source code, you need
to remake world as well as the kernel or you'll have trouble.
If you didn't update your source, the steps outlined above
should cover everything.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: c and freebsd

2004-05-20 Thread Kirk Strauser
At 2004-05-18T23:36:29Z, [EMAIL PROTECTED] writes:

 i'm 16 by the way, thanx a whole lot! Troye. sexy brittany spears

After seeing the results you got, I'm going to adopt that as my new .sig.
Thanks for the tip!
-- 
Kirk Strauser
i'm 16 by the way - sexy brittany spears


pgpKQfHpENm3r.pgp
Description: PGP signature


Re: Correct steps to recompile kernel

2004-05-20 Thread Stephen Liu
Hi Bill,

Tks for your advice.

- snip -
  # cd /usr/src/sys/i386/conf
  # cp GENERIC GENERIC.bak
  # cp GENERIC MYKERNEL
  # ee MYKERNEL
  (modifying the kernel)
 
 This is good ... although making a backup of GENERIC
 is
 somewhat redundant.

Noted with thanks.  But in case of trouble where can I
get the old kernel back.

  # config MYKERNEL
  # cd /usr/src/sys/i386/compile/MYKERNEL
  (Are the above directories correct???)
  
  # make depend
  # make
  # make install
 
 This is the _old_ way.  I believe it still works,
 but I
 don't know if it's supported any longer, and
 besides, it's
 just more work than needed.  The docs describe the
 newer
 method, which is
 
 cd /usr/src
 make buildkernel KERNCONF=MYKERNEL
 reboot to single-user mode
 make installkernel KERNCONF=MYKERNEL
 reboot

Noted with thanks.

  check /etc/rc.conf to have the line:
  linux_enable=YES
  reboot PC
 
 This is a completely different thing than compiling
 a kernel.
 If you want the linuxulator installed, definately do
 this,
 but it's not really related to building a kernel.

Noted.
 
 You don't mention if you've updated your source code
 or not.
 Just a warning, if you _did_ update your source
 code, you need
 to remake world as well as the kernel or you'll have
 trouble.
 If you didn't update your source, the steps outlined
 above
 should cover everything.

No, I am not going to upgrade the kernel, only to
activate SCSI support.  Sorry for not mentioning it on
my first posting.

Tks

B.R.
Stephen

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cron can't find root or operator

2004-05-20 Thread platanthera
On Thursday 20 May 2004 17:47, Bill Moran wrote:
 carvin5string wrote:
  I have a new server set up and running and am getting a slew of
  messages from cron, like this -
 
  Subject: Cron [EMAIL PROTECTED] root /usr/libexec/atrun
  Body: root: not found
 
  and
 
  Cron [EMAIL PROTECTED] operator /usr/libexec/save-entropy
  operator: not found
 
  What's going on with cron?

 You've got a user's crontab created in the format of the system
 crontab.

 The system crontab has an extra field to designate the user under
 which the job should run.  When this field is entered in a user's
 crontab, cron interprets it as the command to be run and the errors
 you describe generally result.

 Keep in mind that the user root has a user crontab that is
 different from the system crontab.

 If you're still fuzzy as to what went wrong, reading the man pages
 for crontab (in addition to my explanation) should help.

additionally you might want to have a look at 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#ROOT-NOT-FOUND-CRON-ERRORS

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


WEB BASED EMAIL TRACKING

2004-05-20 Thread Shawn Guillemette
Hello,

  I am in search for a application that I can use on my freebsd machine to 
read a mail spool and track email's that are sent in from customers. I would 
like to be able to track what employee has replied to how many email's. It 
would also be of great help if the application had the ability to lock any 
email messages that are currently being worked on until unlocked by the 
person reading it or a system admin. 

  At one place I had worked in the past they had pearl programmers in house 
and spent some time on a system that would allow users (Employees) to log 
into a web based application. Each user would be able to see the same 
messages. ( Simular to a webmail client however each users has their own 
login) This system would allow each user to reply to the customers with a 
department signature and their name at the bottom. This way the customer hits 
reply and it goes to the department not the employees mailbox. Also allowing 
the next employee to review what was asked and the response that the previous 
co worker gave.

Any thoughts or ideas? 


Thanks,
--
Shawn Guillemette

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


Re: Correct steps to recompile kernel

2004-05-20 Thread Bill Moran
Stephen Liu wrote:
Hi Bill,
Tks for your advice.
- snip -
# cd /usr/src/sys/i386/conf
# cp GENERIC GENERIC.bak
# cp GENERIC MYKERNEL
# ee MYKERNEL
(modifying the kernel)
This is good ... although making a backup of GENERIC
is
somewhat redundant.
Noted with thanks.  But in case of trouble where can I
get the old kernel back.
GENERIC _is_ the old kernel.  That's why it's recommended
never to edit GENERIC, but to always copy it to a new
config file.
Again, it won't hurt anything to back it up ... you can
never have too many backups.
snip
You don't mention if you've updated your source code
or not.
Just a warning, if you _did_ update your source
code, you need
to remake world as well as the kernel or you'll have
trouble.
If you didn't update your source, the steps outlined
above
should cover everything.
No, I am not going to upgrade the kernel, only to
activate SCSI support.  Sorry for not mentioning it on
my first posting.
NP.  I just wanted to bring it up in case.  It's a
fairly common mistake to update ones sources, build a
new kernel without rebuilding world, and then wonder
where all the problems are coming from ;)
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Boot laoder display ans comma problem (FreeBSD 5.1)

2004-05-20 Thread Jerry McAllister
 
  Hello, 
  
 I am a newbie about FreeBSD but I like this gorgeous OS, elegant and 
 powerful. But FreeBSD is again mysterious for me. I have two problems. 
  
 First problem : 
   
 I have two partitions on my hard disk (Western Digital 20GB) with 
 FreeBSD 5.1 and Windows Server 2003. 
  
  At present time my Boot loader displays : 
  
  F1 FreeBSD 
  F2 ?? 
  
  Default : F1 
  
  (F2 corresponds to Windows Server 2003). 
  
  But I would like to replace ?? by Windows Server 2003. 
  
  How to do this ? Is there a specific file for this ? 
  
  Can I modify /boot/loader.conf, /boot/loader.conf.local or 
 /boot/defaults/loader.conf ? 
  
 Is there a modification of a specific file ? 

I can't say anything about your second problem re needing a comment after
the last id in the group file.  I have never seen that problem.

The MBR that comes with FreeBSD has only a small number of OSen it 
has names for.  That is to keep the code very small so it fits 
within a standard sector.   So, it cannot (in any currently
available version) be made to put out a different label for the MS
bootable slice.   It can boot all of them beause that portion of the
boot process is standardized pretty well.  It just doesn't waste
table space on more than just  FreeBSD, MD-Dos and a couple more.

But there are some other MBRs available such as Grub and Gag that
do not limit themselves so tightly and can be made to display a wider
range of OS identifiers.Grub and Gag seem to be the best known.
Check in the ports and in Google searches, etc.  Everyone who cares 
about it at all (I just ignore it - somehow identifying a MS slice 
as ??? seems appropriate) has their favorite and you may get other 
suggeestions as well.

jerry

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


gpg-agent problems...

2004-05-20 Thread Eric Crist
Hello list,

First off, please respond to me in a CC, as I'm not subscribed to this list.

Secondly, I've set this up a few times now, and it's always just worked, but 
this time I've got errors.  I'm trying to set up the pgp/MIME plugin.  
Everything is working fine, except I never get the pinentry-qt window.  When 
I try to run the test, listed on 
http://kmail.kde.org/kmail-pgpmime-howto.html, I get the following:

%echo test | gpg -ase -r 0x3290089C | gpg

You need a passphrase to unlock the secret key for
user: Eric F Crist [EMAIL PROTECTED]
1024-bit DSA key, ID 33114086, created 2004-01-06

gpg: problem with the agent - disabling agent use
Enter passphrase:

Never getting the window.  I can't find why there is a problem with the agent.  
I don't see anything in the log files or anything, unless I'm looking in the 
wrong place.  I'm running the following:

%uname -a
FreeBSD nomad.secure-computing.net 5.2.1-RELEASE-p5 FreeBSD 5.2.1-RELEASE-p5 
#1: Fri Apr 23 09:16:19 CDT 2004 
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/NOMAD  i386

Kmail version: 1.6.1 using KDE 3.2.1.
gpg version: gnupg ver 1.2.4

Please help.

Thanks.

Eric F Crist
-- 
Illinois isn't exactly the land that God forgot -- it's more like the
land He's trying to ignore.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Correct steps to recompile kernel

2004-05-20 Thread platanthera
On Thursday 20 May 2004 18:39, Stephen Liu wrote:
 Hi Bill,

 Tks for your advice.

 - snip -

   # cd /usr/src/sys/i386/conf
   # cp GENERIC GENERIC.bak
   # cp GENERIC MYKERNEL
   # ee MYKERNEL
   (modifying the kernel)
 
  This is good ... although making a backup of GENERIC
  is
  somewhat redundant.

 Noted with thanks.  But in case of trouble where can I
 get the old kernel back.

When you install a new kernel the old one is backed up  
under /boot/kernel.old/
If you can't boot your new kernel, just press '6' in the boot loader 
menu to escape to the loader prompt, and then type

unload 
load /boot/kernel.old/kernel
boot

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


netstat output - diff between 'link' and 'inet' counters

2004-05-20 Thread Nathan Kinkade
I delved into trying to determine the cause of an unreasonably high
number of Ierrs on a few FreeBSD routers we have setup on campus.  While
probing through the netstat output on the machines I realized that I
don't understand the exact difference between the 'inet' and 'link'
protocol families.  Now, I understand the difference between IP and
ethernet, but the byte and packet counts for 'inet' and 'link' don't
seem to match what I would expect for those protocols, respectively.
This tells me that the numbers being logged must differ from my
expectations.  Generally I notice that the 'inet' counts for an
interface are a relatively small fraction of that for the 'link'
counts for the same interface.  However, on our main FreeBSD router that
provides NAT and access to the internet the numbers are somewhat
reversed, with 'inet' counts being much higher than the 'link' counts.
Is there someone who can explain to me exactly what packet and byte
counts actually represent for the 'inet' and 'link' families?

Thanks,
Nathan
-- 
gpg --keyserver pgp.mit.edu --recv-keys D8527E49


pgp0qB0RtEucy.pgp
Description: PGP signature


Parallel Printer

2004-05-20 Thread Donald Szatkowski
Thank you for reading this message.

I have installed FreeBSD 4.10r2 and am having trouble with the printer setup.
This is on and OLD Gateway P5-100, 128mb ram (yah-100Mhz!). It is a direct 
connect to the parallel port. My main source document is the FreeBSD Handbook, 
2nd ed. and the online Handbook @ FreeBSD.org. I have the necc. files as 
directed by Chapter 11, but am still having problems. (/etc/printcap, 
/dev/lpt0, etc). When I test with #lptest /dev/lpt0, I get nothing. My 
initial install selection was for parallel printing. And checking rc.conf 
shows lpd=YES. When I #grep ppc0 /var/run/dmesg.boot I get the message,
can not reserve input output range. When I#dmesg | grep lpt0 I get the 
message, lpt0 not configured.

Here is where the problems begin. Thinking maybe the printer or cable might be 
the problem, I pulled the BSD hard drive, reinstalled the win95 hard drive, 
tested the printer and it worked fine! Reinstall the BSD drive and boot, no 
printer! IRQ 7 the same. To this, I suspect the KERNEL, yet all matches the 
examples with one exception. In the KERNEL file under #Parallel Port, the 
printer is listed at ppc0 and not lpt0. Have I misinterpreted something? Are 
they the same, should all ref to lpt0 be ppc0? Otherwise, BSD is working 
fine! If anyone could direct me to another resource, or drop a hint, it sure 
would be appreciated.

ThanksDon

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


Re: Parallel Printer

2004-05-20 Thread Incoming Mail List
The problem most likely has little to do with your computer or cables.
Setting up printers on Unix can be a pain.  I recommend using the
apsfilter or cups port instead of trying to set it up manually.  I've
used both and have had success with both, but settled upon apsfilter
(for no particular reason) although my printer accepts PostScript by 
default.  You'll need to give the group detailed information about your
printer instead of the CPU in order to get help related to this issue.
 
Jon
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Sluggish performances with Linux

2004-05-20 Thread Laurent Goujon
Hi all,

Currently I have a two computers : 
- The first one is my gateway. It's running Freebsd 5.2 stable, has two
networks cards, a realtek 8139 and a broadcom 4401
- The second one is my laptop and it's running most of the time Linux
(Mandrake cooker with a 2.6 kernel), sometimes winxp (because of the
lack of support for some hardware components) and has a sis900 network
adapter

My problem is :
I have very poor performances with tcp streams from my server to my
laptop (0.35 Mb/s), but throughput is normal from the laptop to the
server (90Mb/s) and also (my favorite one) from Internet to my laptop
(~4Mb/s).
When I'm running WinXP, all is quite normal.

I've tried to invert network cards on my server, to bypass my switch :
no result

Any idea ?

Laurent Goujon

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


c compiler

2004-05-20 Thread Incoming Mail List

I'm looking for some quick help with the 5.2.1 C compiler.  In FBSD 4.x
I could write multi-line printf() statements with embedded new-lines
such as:
 
printf(
hello,
this
is
a 
test);
 
 
In 5.2.1, the newlines have to be preceeded with a \ character.  Since
I have some large programs with lots of printf() statements that include
embedded new-lines, I'm not looking forward to going through thousands
of lines of code to add \ characters.  Is there any command line 
option
option to cc (didn't find one in the manpage) or other way to compile
my old code the way it is?
 
Jon
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: netstat output - diff between 'link' and 'inet' counters

2004-05-20 Thread Matthew Seaman
On Thu, May 20, 2004 at 11:23:01AM -0600, Nathan Kinkade wrote:
 I delved into trying to determine the cause of an unreasonably high
 number of Ierrs on a few FreeBSD routers we have setup on campus.  While
 probing through the netstat output on the machines I realized that I
 don't understand the exact difference between the 'inet' and 'link'
 protocol families.  Now, I understand the difference between IP and
 ethernet, but the byte and packet counts for 'inet' and 'link' don't
 seem to match what I would expect for those protocols, respectively.
 This tells me that the numbers being logged must differ from my
 expectations.  Generally I notice that the 'inet' counts for an
 interface are a relatively small fraction of that for the 'link'
 counts for the same interface.  However, on our main FreeBSD router that
 provides NAT and access to the internet the numbers are somewhat
 reversed, with 'inet' counts being much higher than the 'link' counts.
 Is there someone who can explain to me exactly what packet and byte
 counts actually represent for the 'inet' and 'link' families?

I surmise that you're talking about the per-interface statistics as
reported by 'netstat -i' or 'netstat -I ifN' rather than any other set
of flags to netstat.  Let's look at what I get on my system:

% netstat -I de0
NameMtu Network   Address  Ipkts IerrsOpkts Oerrs  Coll
de01500 Link#100:40:05:a5:8d:b7   149504 0   111734 4 0
de01500 81.2.69.216/2 smtp   70771 -   120940 - -
de01500 fe80:1::240 fe80:1::240:5ff:f0 -3 - -
de01500 81.2.69.219/3 arbitrary 371042 -   301860 - -

Now, link#1 corresponds to my local network (from 'netstat -r'):

81.2.69.216/29 link#1 UC  20de0

So the Ipkts count is for all the packets passing that interface with
a destination address matching the 81.2.69.216/29 network but not
including packets to one of the specific addresses on that
interface. That includes many packets for some unused addesses out of
my netblock[*] and also packets to the broadcast address 81.2.69.219

The other three entries are for the specific addresses assigned to
that interface -- I have the principal IP number on the interface as
81.2.69.218, and a jail using 81.2.69.219, plus the automatically
assigned IPv6 link-local address.  (IPv6 traffic mostly goes via a
gif(4) tunnel which acts like a different interface.

Cheers,

Matthew

[*] It's a feature of the way my network is set up that all such
packets will hit the de0 interface of that machine.  Normally a
network switch will prevent irrelevant traffic from hitting that
network interface.

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


pgpzGFjDF9qzI.pgp
Description: PGP signature


Re: WEB BASED EMAIL TRACKING

2004-05-20 Thread Matthew Seaman
On Thu, May 20, 2004 at 12:54:59PM -0600, Shawn Guillemette wrote:
 Hello,
 
   I am in search for a application that I can use on my freebsd machine to 
 read a mail spool and track email's that are sent in from customers. I would 
 like to be able to track what employee has replied to how many email's. It 
 would also be of great help if the application had the ability to lock any 
 email messages that are currently being worked on until unlocked by the 
 person reading it or a system admin. 
 
   At one place I had worked in the past they had pearl programmers in house 
 and spent some time on a system that would allow users (Employees) to log 
 into a web based application. Each user would be able to see the same 
 messages. ( Simular to a webmail client however each users has their own 
 login) This system would allow each user to reply to the customers with a 
 department signature and their name at the bottom. This way the customer hits 
 reply and it goes to the department not the employees mailbox. Also allowing 
 the next employee to review what was asked and the response that the previous 
 co worker gave.

I believe that the www/rt3 port can do what you want.  Although RT is
designed to be used primarily via it's web interface, you can generate
tickets by sending e-mail to it:

http://www.bestpractical.com/rt/features.html

It's quite possible this is the very perl-based system you describe.

Cheers,

Matthew

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


pgpsUPd2vI095.pgp
Description: PGP signature


Re: gpg-agent problems...

2004-05-20 Thread Christian Hiris
On Thursday 20 May 2004 19:23, Eric Crist wrote:
 Hello list,

 First off, please respond to me in a CC, as I'm not subscribed to this
 list.

 Secondly, I've set this up a few times now, and it's always just worked,
 but this time I've got errors.  I'm trying to set up the pgp/MIME plugin.
 Everything is working fine, except I never get the pinentry-qt window. 
 When I try to run the test, listed on
 http://kmail.kde.org/kmail-pgpmime-howto.html, I get the following:

 %echo test | gpg -ase -r 0x3290089C | gpg

 You need a passphrase to unlock the secret key for
 user: Eric F Crist [EMAIL PROTECTED]
 1024-bit DSA key, ID 33114086, created 2004-01-06

Does the window open when you use your default key? It's defined in 
~/.gnupg/gpg.conf or whatever name you choosed for the config file.   

Try  %echo test | gpg -ase -r 0x33114086 | gpg

-- 
Christian Hiris [EMAIL PROTECTED] | OpenPGP KeyID 0x941B6B0B 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu


pgpX05f9qR1go.pgp
Description: signature


Login question

2004-05-20 Thread Christopher Svensrud
I keep having the same problem with login. The system keeps indicating that
the password is incorrect. I have been able to reset the password and still
it gives me the same message.

 

I just started running FreBSD and I was setting up Samba when this occurred.

 

Please help!

 

Thanks

Chris

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


Re: gpg-agent problems...

2004-05-20 Thread Eric Crist
On Thursday 20 May 2004 14:11, you wrote:
 On Thursday 20 May 2004 19:23, Eric Crist wrote:
  Hello list,
 
  First off, please respond to me in a CC, as I'm not subscribed to this
  list.
 
  Secondly, I've set this up a few times now, and it's always just worked,
  but this time I've got errors.  I'm trying to set up the pgp/MIME plugin.
  Everything is working fine, except I never get the pinentry-qt window.
  When I try to run the test, listed on
  http://kmail.kde.org/kmail-pgpmime-howto.html, I get the following:
 
  %echo test | gpg -ase -r 0x3290089C | gpg
 
  You need a passphrase to unlock the secret key for
  user: Eric F Crist [EMAIL PROTECTED]
  1024-bit DSA key, ID 33114086, created 2004-01-06

 Does the window open when you use your default key? It's defined in
 ~/.gnupg/gpg.conf or whatever name you choosed for the config file.

 Try  %echo test | gpg -ase -r 0x33114086 | gpg

Well, that's basically the same thing I mentioned in my email, but here's the 
out put of that, and no windows popped open.

%echo test | gpg -ase -r 0x33114086 | gpg

You need a passphrase to unlock the secret key for
user: Eric F Crist [EMAIL PROTECTED]
1024-bit DSA key, ID 33114086, created 2004-01-06

gpg: problem with the agent - disabling agent use
Enter passphrase:


-- 
Mosher's Law of Software Engineering:
Don't worry if it doesn't work right.  If everything did, you'd
be out of a job.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Login question

2004-05-20 Thread Remko Lodder
Hey Chris,
Christopher Svensrud wrote:
I keep having the same problem with login. The system keeps indicating that
the password is incorrect. I have been able to reset the password and still
it gives me the same message.

jup, unless you provide some more details we cannot actually try and 
solve your problem. Why? Well there could be many reasons
ssh root login (that should be denied by default) for example.
 

I just started running FreBSD and I was setting up Samba when this occurred.
Do you mean the samba password is incorrect?
Please be somewhat more clear!
 

Please help!
 

Thanks
Chris
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
--
Kind regards,
Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Login question

2004-05-20 Thread Bill Moran
Christopher Svensrud wrote:
I keep having the same problem with login. The system keeps indicating that
the password is incorrect. I have been able to reset the password and still
it gives me the same message.
I just started running FreBSD and I was setting up Samba when this occurred.
Reboot the system by hitting ctrl+alt+delete, while it's booting back
up, press space bar when you see the press enter to boot or ... and before
it finishes counting down.  (You don't mention which version of FreeBSD you're
using, but FreeBSD 5 has a spiffy menu here where you can just select a menu
item for single-user mode) At the prompt, enter boot -s to boot into single-
user mode.  When asked for a default shell, just hit enter to accept the
default.  Once you have a shell prompt, enter fsck -y and then mount -a.
Now you're logged in and can execute commands as root.  Enter passwd user
to change the password for user.  If you omit user, you'll change the root
password.
good luck.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: New work on installer? - Checked by AntiVir DEMO version -

2004-05-20 Thread Uwe Laverenz
Gary Kline wrote:
	I think we (theBSD's) are losing a lot of serious brain
	brainpower (and certainly lots of latent high-end talent)
	by not having a less-headbanging install.  I've done it
	literally dozens of times; I still get flummoxed now and
	then.  
I've been using sysinstall for many years and quite often I think. I 
never thought that sysinstall or the installation of FreeBSD is a 
problem in any way. In my opinion, installing FreeBSD is easy and fast.

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


Re: New work on installer? - Checked by AntiVir DEMO version -

2004-05-20 Thread Bill Moran
Uwe Laverenz wrote:
Gary Kline wrote:
I think we (theBSD's) are losing a lot of serious brain
brainpower (and certainly lots of latent high-end talent)
by not having a less-headbanging install.  I've done it
literally dozens of times; I still get flummoxed now and
then.  
I've been using sysinstall for many years and quite often I think. I 
never thought that sysinstall or the installation of FreeBSD is a 
problem in any way. In my opinion, installing FreeBSD is easy and fast.
There _is_ a new next-gen installation program in the works for FreeBSD,
but (like so many other open-source projects) it will only get done if
people work on it.  Recently, there hasn't been much interest in it.
http://www.freebsd.org/projects/libh.html
If you feel strongly about improving the installer, join the project,
encourage others to join, and consider sponsoring a developer to get
some headway made on it.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


question regarding exabyte M2

2004-05-20 Thread sudhir kumar
I am currently on 4.7 i386. I would like to start backingup my system. I
have a extenal ExabyteM2 installed . but for some reason I cant not write to
the type deck.is there a way that you can help me.
Thank you

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


Adaptec aic7892 Ultra160 SCSI adapter ERROR

2004-05-20 Thread Aurimas Mikalauskas

Hi,

I'm new to SCSI and all it's subsystems and this is the first time I'm
having troubles with it. This morning I got the folowing kernel error
message:

---
May 20 10:39:59 banners /kernel: (da0:ahc0:0:0:0): SCB 0x35 - timed out
May 20 10:40:04 banners /kernel:  Dump Card State Begins 

May 20 10:40:04 banners /kernel: ahc0: Dumping Card State while idle, at SEQADDR 0x8
May 20 10:40:04 banners /kernel: Card was paused
May 20 10:40:04 banners /kernel: ACCUM = 0x0, SINDEX = 0x3a, DINDEX = 0xe4, ARG_2 = 0x0
May 20 10:40:04 banners /kernel: HCNT = 0x0 SCBPTR = 0x12
May 20 10:40:04 banners /kernel: SCSIPHASE[0x0] SCSISIGI[0x0] ERROR[0x0] SCSIBUSL[0x0]
May 20 10:40:04 banners /kernel: LASTPHASE[0x1] SCSISEQ[0x12] SBLKCTL[0xa] 
SCSIRATE[0x0]
May 20 10:40:04 banners /kernel: SEQCTL[0x10] SEQ_FLAGS[0xc0] SSTAT0[0x0] SSTAT1[0x8]
May 20 10:40:04 banners /kernel: SSTAT2[0x0] SSTAT3[0x0] SIMODE0[0x8] SIMODE1[0xa4]
May 20 10:40:04 banners /kernel: SXFRCTL0[0x80] DFCNTRL[0x0] DFSTATUS[0x89]
May 20 10:40:04 banners /kernel: STACK: 0x0 0x163 0x109 0x3
May 20 10:40:04 banners /kernel: SCB count = 70
May 20 10:40:04 banners /kernel: Kernel NEXTQSCB = 11
May 20 10:40:04 banners /kernel: Card NEXTQSCB = 11
May 20 10:40:04 banners /kernel: QINFIFO entries:
May 20 10:40:04 banners /kernel: Waiting Queue entries:
May 20 10:40:05 banners /kernel: Disconnected Queue entries: 11:53
May 20 10:40:05 banners /kernel: QOUTFIFO entries:
May 20 10:40:05 banners /kernel: Sequencer Free SCB List: 18 26 12 15 24 25 31 27 2 0 
7 5 9 4 23 28 17 1 29 22 16 3 21 8 10 20
 13 30 14 6 19
May 20 10:40:05 banners /kernel: Sequencer SCB Info:
May 20 10:40:05 banners /kernel: 0 SCB_CONTROL[0xe0] SCB_SCSIID[0x7] SCB_LUN[0x0] 
SCB_TAG[0xff]
May 20 10:40:05 banners /kernel: 1 SCB_CONTROL[0xe0] SCB_SCSIID[0x7] SCB_LUN[0x0] 
SCB_TAG[0xff]
 skipped ...
May 20 10:40:05 banners /kernel: 31 SCB_CONTROL[0xe0] SCB_SCSIID[0x7] SCB_LUN[0x0] 
SCB_TAG[0xff]
May 20 10:40:05 banners /kernel: Pending list:
May 20 10:40:06 banners /kernel: 53 SCB_CONTROL[0x60] SCB_SCSIID[0x7] SCB_LUN[0x0]
May 20 10:40:06 banners /kernel: Kernel Free SCB list: 58 0 48 19 26 49 2 47 43 28 52 
15 14 30 33 50 64 62 18 68 42 6 16 24 60
 41 10 21 7 29 56 3 35 5 45 39 44 34 38 51 13 8 27 20 59 66 37 69 25 61 54 46 31 9 65 
12 63 4 36 17 55 22 1 23 40 57 67 32
May 20 10:40:06 banners /kernel:
May 20 10:40:06 banners /kernel:  Dump Card State Ends 

May 20 10:40:06 banners /kernel: sg[0] - Addr 0xda7 : Length 4096
May 20 10:40:06 banners /kernel: sg[1] - Addr 0xa191000 : Length 4096
May 20 10:40:06 banners /kernel: sg[2] - Addr 0xc512000 : Length 4096
May 20 10:40:06 banners /kernel: sg[3] - Addr 0xf13000 : Length 4096
May 20 10:40:06 banners /kernel: sg[4] - Addr 0x2394000 : Length 4096
May 20 10:40:06 banners /kernel: sg[5] - Addr 0xde15000 : Length 4096
May 20 10:40:06 banners /kernel: sg[6] - Addr 0x41f6000 : Length 4096
May 20 10:40:06 banners /kernel: sg[7] - Addr 0x92f7000 : Length 4096
May 20 10:40:06 banners /kernel: sg[8] - Addr 0xb0f8000 : Length 4096
May 20 10:40:06 banners /kernel: sg[9] - Addr 0xa8d9000 : Length 4096
May 20 10:40:06 banners /kernel: sg[10] - Addr 0xd07a000 : Length 4096
May 20 10:40:06 banners /kernel: sg[11] - Addr 0x463b000 : Length 4096
May 20 10:40:06 banners /kernel: sg[12] - Addr 0x55bc000 : Length 4096
May 20 10:40:06 banners /kernel: sg[13] - Addr 0x4b5d000 : Length 4096
May 20 10:40:06 banners /kernel: sg[14] - Addr 0x335e000 : Length 4096
May 20 10:40:06 banners /kernel: sg[15] - Addr 0xd05f000 : Length 4096
May 20 10:40:06 banners /kernel: (da0:ahc0:0:0:0): Queuing a BDR SCB
May 20 10:40:06 banners /kernel: (da0:ahc0:0:0:0): Bus Device Reset Message Sent
May 20 10:40:06 banners /kernel: (da0:ahc0:0:0:0): no longer in timeout, status = 34b
May 20 10:40:06 banners /kernel: ahc0: Bus Device Reset on A:0. 1 SCBs aborted
---

And I have no idea what could this mean. For me it's just a list of
interesting sounding words like BDR, SCB etc. Could you please tell me
what should I be expecting from this system soon? It's a high priority
system, runing hundreds of apache daemons showing hundreds of banners
every second.

dmesg:

---
FreeBSD 4.9-STABLE #0: Wed Dec 17 16:15:51 EET 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ADNET
Timecounter i8254  frequency 1193182 Hz
CPU: Intel(R) Pentium(R) 4 CPU 2.66GHz (2665.39-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf29  Stepping = 9
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SS
E2,SS,HTT,TM,PBE
real memory  = 268238848 (261952K bytes)
avail memory = 258314240 (252260K bytes)
Preloaded elf kernel kernel at 0xc02b1000.
Warning: Pentium 

port installation problems progress

2004-05-20 Thread paul beard
I had been having some problems installing ports: they manifested as 
configure misreading the system type and setting up libtool so it 
wouldn't build shared libs.

After some correspondence with a FreeBSD team member and a port 
maintainer, I decided to start afresh with a kernel and world 
reinstall. This led me to the solution. The email excerpted below 
mentioned almost the same error I was seeing:

http://www.atm.tut.fi/list-archive/freebsd-stable/msg04153.html
For the last week or so, I've been having trouble building kernels 
against a
RELENG_4 source tree.  A 'make buildkernel' from /usr/src fails as 
follows:

perl5 /usr/src/sys/kern/vnode_if.pl -h /usr/src/sys/kern/vnode_if.src
syntax error at /usr/src/sys/kern/vnode_if.pl line 135, near {}
Execution of /usr/src/sys/kern/vnode_if.pl aborted due to compilation
errors.
I took the advice suggested below.
http://www.atm.tut.fi/list-archive/freebsd-stable/msg04174.html
I believe I have these resolved.
If anybody's interested, it took a reboot, buildworld followed by an 
install
from /usr/src/gnu/usr.bin/perl, then buildkernel went fine.  At Mike
Tansca's suggestion, I'd tried a buildworld (against a fresh source 
tree),
and I was getting cc errors - the reboot appears to have fixed those.  
My
build machine is now happily running a new kernel/world.

Some packages are building OK but I still see issues on some ports.
Any ideas how this might have gotten into this state and how I can 
resolve it completely?
--
Paul Beard
www.paulbeard.org/
paulbeard [at] mac.com

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


Re: c compiler

2004-05-20 Thread Lowell Gilbert
Jon [EMAIL PROTECTED] writes:

 I'm looking for some quick help with the 5.2.1 C compiler.  In FBSD 4.x
 I could write multi-line printf() statements with embedded new-lines
 such as:
  
 printf(
 hello,
 this
 is
 a 
 test);
  
  
 In 5.2.1, the newlines have to be preceeded with a \ character.  Since
 I have some large programs with lots of printf() statements that include
 embedded new-lines, I'm not looking forward to going through thousands
 of lines of code to add \ characters.  Is there any command line 
 option
 option to cc (didn't find one in the manpage) or other way to compile
 my old code the way it is?

I don't think so.  It is (and, I believe, always was) illegal
according to the C standard, and it had been been deprecated in gcc
for several years (with appropriate warnings in the 3.x GCC releases).
You'll need to convert your code to be valid C or take it up with the
GCC developers.

Time for an awk script, I think.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Adaptec aic7892 Ultra160 SCSI adapter ERROR

2004-05-20 Thread Justin T. Gibbs
 Hi,
 
 I'm new to SCSI and all it's subsystems and this is the first time I'm
 having troubles with it. This morning I got the folowing kernel error
 message:

This means that your drive decided not to return a command back to the
controller.  The controller driver was able to clear up the error by
resetting the device (BDR = Bus Device Reset).

The failure could indicate a drive firmware bug or that the drive is
failing.

--
Justin

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


Re: netstat output - diff between 'link' and 'inet' counters

2004-05-20 Thread Nathan Kinkade
On Thu, May 20, 2004 at 08:03:58PM +0100, Matthew Seaman wrote:
 On Thu, May 20, 2004 at 11:23:01AM -0600, Nathan Kinkade wrote:
  I delved into trying to determine the cause of an unreasonably high
  number of Ierrs on a few FreeBSD routers we have setup on campus.  While
  probing through the netstat output on the machines I realized that I
  don't understand the exact difference between the 'inet' and 'link'
  protocol families.  Now, I understand the difference between IP and
  ethernet, but the byte and packet counts for 'inet' and 'link' don't
  seem to match what I would expect for those protocols, respectively.
  This tells me that the numbers being logged must differ from my
  expectations.  Generally I notice that the 'inet' counts for an
  interface are a relatively small fraction of that for the 'link'
  counts for the same interface.  However, on our main FreeBSD router that
  provides NAT and access to the internet the numbers are somewhat
  reversed, with 'inet' counts being much higher than the 'link' counts.
  Is there someone who can explain to me exactly what packet and byte
  counts actually represent for the 'inet' and 'link' families?
 
 I surmise that you're talking about the per-interface statistics as
 reported by 'netstat -i' or 'netstat -I ifN' rather than any other set
 of flags to netstat.  Let's look at what I get on my system:
 
 % netstat -I de0
 NameMtu Network   Address  Ipkts IerrsOpkts Oerrs  Coll
 de01500 Link#100:40:05:a5:8d:b7   149504 0   111734 4 0
 de01500 81.2.69.216/2 smtp   70771 -   120940 - -
 de01500 fe80:1::240 fe80:1::240:5ff:f0 -3 - -
 de01500 81.2.69.219/3 arbitrary 371042 -   301860 - -
 
 Now, link#1 corresponds to my local network (from 'netstat -r'):
 
 81.2.69.216/29 link#1 UC  20de0
 
 So the Ipkts count is for all the packets passing that interface with
 a destination address matching the 81.2.69.216/29 network but not
 including packets to one of the specific addresses on that
 interface. That includes many packets for some unused addesses out of
 my netblock[*] and also packets to the broadcast address 81.2.69.219
 
 The other three entries are for the specific addresses assigned to
 that interface -- I have the principal IP number on the interface as
 81.2.69.218, and a jail using 81.2.69.219, plus the automatically
 assigned IPv6 link-local address.  (IPv6 traffic mostly goes via a
 gif(4) tunnel which acts like a different interface.
 
   Cheers,
 
   Matthew

Yes, I was referring to netstat's output with the '-i' switch.  The
information you provided is exactly what I was looking for.

Thanks!
Nathan


pgpNZ1an8vY9c.pgp
Description: PGP signature


Re: gpg-agent problems...

2004-05-20 Thread Christian Hiris
On Thursday 20 May 2004 21:22, Eric Crist wrote:
 On Thursday 20 May 2004 14:11, you wrote:
  On Thursday 20 May 2004 19:23, Eric Crist wrote:
   Hello list,
  
   First off, please respond to me in a CC, as I'm not subscribed to this
   list.
  
   Secondly, I've set this up a few times now, and it's always just
   worked, but this time I've got errors.  I'm trying to set up the
   pgp/MIME plugin. Everything is working fine, except I never get the
   pinentry-qt window. When I try to run the test, listed on
   http://kmail.kde.org/kmail-pgpmime-howto.html, I get the following:
  
   %echo test | gpg -ase -r 0x3290089C | gpg
  
   You need a passphrase to unlock the secret key for
   user: Eric F Crist [EMAIL PROTECTED]
   1024-bit DSA key, ID 33114086, created 2004-01-06
 
  Does the window open when you use your default key? It's defined in
  ~/.gnupg/gpg.conf or whatever name you choosed for the config file.
 
  Try  %echo test | gpg -ase -r 0x33114086 | gpg

 Well, that's basically the same thing I mentioned in my email, but here's
 the out put of that, and no windows popped open.

 %echo test | gpg -ase -r 0x33114086 | gpg

 You need a passphrase to unlock the secret key for
 user: Eric F Crist [EMAIL PROTECTED]
 1024-bit DSA key, ID 33114086, created 2004-01-06

 gpg: problem with the agent - disabling agent use
 Enter passphrase:

Ok, then check your gpg-agent.conf file. You need to restart the gpg-agent if 
you add or change the gpg-agent.conf file.

%cat ~/.gnupg/gpg-agent.conf
pinentry-program /usr/local/bin/pinentry-qt
no-grab
default-cache-ttl 1800


If that doesn't work,  you can give the gtk window a try. change the line 
pinentry-program /usr/local/bin/pinentry-qt 
in your gpg-agent.conf to 
pinentry-program /usr/local/bin/pinentry-gtk

-- 
Christian Hiris [EMAIL PROTECTED] | OpenPGP KeyID 0x941B6B0B 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu


pgpYzuTEcPM2V.pgp
Description: signature


Re: cron can't find root or operator

2004-05-20 Thread carvin5string

--- Bill Moran [EMAIL PROTECTED] wrote:
 You've got a user's crontab created in the format of the system
 crontab.
 
 The system crontab has an extra field to designate the user under
 which
 the job should run.  When this field is entered in a user's crontab,
 cron interprets it as the command to be run and the errors you
 describe
 generally result.
 
 Keep in mind that the user root has a user crontab that is
 different
 from the system crontab.
 
 If you're still fuzzy as to what went wrong, reading the man pages
 for
 crontab (in addition to my explanation) should help.
 
 good luck.
 
 -- 
 Bill Moran
 Potential Technologies
 http://www.potentialtech.com

Bill,
I see in the Handbook in section 6.6.1 that I should run crontab
crontab to create a new crontab, which I did, in the /etc directory, as
root. Thus the crontab file in /etc looks like this -
After reading the man page and the one page in the manual I don't know
what to do to fix this -

www# crontab -l
# /etc/crontab - root's crontab for FreeBSD
#
# $FreeBSD: src/etc/crontab,v 1.32 2002/11/22 16:13:39 tom Exp $
#
SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin
HOME=/var/log
#
#minute hourmdaymonth   wdaywho command
#
*/5 *   *   *   *   /usr/libexec/atrun
#
# Save some entropy so that /dev/random can re-seed on boot.
*/11*   *   *   *   /usr/libexec/save-entropy
#
# Rotate log files every hour, if necessary.
0   *   *   *   *   newsyslog
#
# Perform daily/weekly/monthly maintenance.
1   3   *   *   *   periodic daily
15  4   *   *   6   periodic weekly
30  5   1   *   *   periodic monthly
#
# Adjust the time zone if the CMOS clock keeps local time, as opposed
to
# UTC time.  See adjkerntz(8) for details.
1,310-5 *   *   *   adjkerntz -a
#
# Rotate web server logs and run webalizer
0   0   *   *   6   /usr/bin/rotate_weblogs
5   0   *   *   6   /usr/local/bin/webalizer -Q
/usr/local/www/data/weblogs/httpd-access.backup
www#




__
Do you Yahoo!?
Yahoo! Domains – Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cron can't find root or operator

2004-05-20 Thread platanthera
On Thursday 20 May 2004 22:57, carvin5string wrote:
 --- Bill Moran [EMAIL PROTECTED] wrote:
  You've got a user's crontab created in the format of the system
  crontab.
 
  The system crontab has an extra field to designate the user under
  which
  the job should run.  When this field is entered in a user's
  crontab, cron interprets it as the command to be run and the errors
  you describe
  generally result.
 
  Keep in mind that the user root has a user crontab that is
  different
  from the system crontab.
 
  If you're still fuzzy as to what went wrong, reading the man pages
  for
  crontab (in addition to my explanation) should help.
 
  good luck.
 
  --
  Bill Moran
  Potential Technologies
  http://www.potentialtech.com

 Bill,
 I see in the Handbook in section 6.6.1 that I should run crontab
 crontab to create a new crontab, which I did, in the /etc directory,
 as root. 

Thats's most likely the problem. Do NOT run crontab /etc/crontab
Read the FAQ!!!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: signal 11 during buildworld

2004-05-20 Thread Kent Stewart
On Thursday 20 May 2004 02:27 pm, Richard Kästner wrote:
 Help please!

 Up to yesterday, I could make buildworld / kernel etc without
 problem.

 Since today (after cvsup, RELENG_4_9) I get:

 c++  -O -pipe -march=pentiumpro -DHAVE_CONFIG_H
 -I/usr/src/gnu/usr.bin/groff/
 src/preproc/soelim/../../../../../../contrib/groff/src/include
 -I/usr/src/ gnu/usr.bin/groff/src/preproc/soelim/../../../src/include
 -D__FBSDID=__RCSID -fno-rtti -fno-exceptions  -static -o soelim
 soelim.o /
 usr/obj/usr/src/i386/usr/src/gnu/usr.bin/groff/src/preproc/soelim/../
../../ src/libs/libgroff/libgroff.a
 c++: Internal compiler error: program ld got fatal signal 11
 *** Error code 1

 Stop in /usr/src/gnu/usr.bin/groff/src/preproc/soelim.
 *** Error code 1
 ...
 (typical for several attempts, some report an internal compiler
 error, some report Syntax errors )


 This happens at different points of compiling:
 sv01(root) /rfk/pub/logs/BuildSystem ll
 total 49936
 -rw-r--r--  1 root  wheel  9792443 May 17 17:33 01-buildall-GENERIC
 -rw-r--r--  1 root  wheel  9674630 May 17 18:14 02-buildall-CVSUP
 -rw-r--r--  1 root  wheel  8996893 May 17 19:01 03-buildall-RFK
 -rw-r--r--  1 root  wheel   719329 May 17 21:09 04-installworld
 -rw-r--r--  1 root  wheel  3191543 May 20 13:13 05-buildall.log
 -rw-r--r--  1 root  wheel  6202233 May 20 13:33 06-buildall.log
 -rw-r--r--  1 root  wheel95567 May 20 13:42 07-buildall.log
 -rw-r--r--  1 root  wheel  4938777 May 20 15:07 08-buildall.log
 -rw-r--r--  1 root  wheel  3189326 May 20 18:03 09-buildall.log
 -rw-r--r--  1 root  wheel  3961683 May 20 18:45 10-buildall.log
 -rw-r--r--  1 root  wheel97564 May 20 23:07 11-buildall.log

 and several entries in /var/log/messages:

 May 20 18:31:29 sv01 /kernel: ipfw2 initialized, divert disabled,
 rule-based forwarding enabled, default to deny, logging disabled
 May 20 18:31:39 sv01 login: ROOT LOGIN (root) ON ttyv0
 May 20 18:32:11 sv01 su: rfk to root on /dev/ttyp0
 May 20 18:32:44 sv01 su: rfk to root on /dev/ttyp1
 May 20 18:33:18 sv01 su: rfk to root on /dev/ttyp2
 May 20 22:59:53 sv01 /kernel: pid 81718 (ld), uid 0: exited on signal
 11 (core dumped)
 sv01(root) /rfk/pub/logs/BuildSystem


 sv01(root) /rfk/pub/logs/BuildSystem uname -a
 FreeBSD sv01.rfk.priv 4.9-RELEASE-p7 FreeBSD 4.9-RELEASE-p7 #1: Mon
 May 17 20:17:24 CEST 2004
 [EMAIL PROTECTED]:/rfk/pub/obj/usr/src-4.9/sys/RFK i386

 sv01(root) /rfk/pub/logs/BuildSystem uptime
 11:23PM  up  4:53, 4 users, load averages: 0.00, 0.00, 0.00
 sv01(root) /rfk/pub/logs/BuildSystem

 Is my machine gone? (running HW-Diagnostic did not show bad things,
 CPU temp is 56 C, MB is 43 C)


You need to read
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/troubleshoot.html#SIGNAL11

Something probably changed yesterday on your hardware and is causing 
problems.

Kent

-- 
Kent Stewart
Richland, WA

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


signal 11 during buildworld

2004-05-20 Thread Richard Kstner
Help please!

Up to yesterday, I could make buildworld / kernel etc without problem.

Since today (after cvsup, RELENG_4_9) I get: 

c++  -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -I/usr/src/gnu/usr.bin/groff/
src/preproc/soelim/../../../../../../contrib/groff/src/include -I/usr/src/
gnu/usr.bin/groff/src/preproc/soelim/../../../src/include
-D__FBSDID=__RCSID -fno-rtti -fno-exceptions  -static -o soelim soelim.o /
usr/obj/usr/src/i386/usr/src/gnu/usr.bin/groff/src/preproc/soelim/../../../
src/libs/libgroff/libgroff.a
c++: Internal compiler error: program ld got fatal signal 11
*** Error code 1

Stop in /usr/src/gnu/usr.bin/groff/src/preproc/soelim.
*** Error code 1
...
(typical for several attempts, some report an internal compiler error, some 
report Syntax errors )


This happens at different points of compiling:
sv01(root) /rfk/pub/logs/BuildSystem ll
total 49936
-rw-r--r--  1 root  wheel  9792443 May 17 17:33 01-buildall-GENERIC
-rw-r--r--  1 root  wheel  9674630 May 17 18:14 02-buildall-CVSUP
-rw-r--r--  1 root  wheel  8996893 May 17 19:01 03-buildall-RFK
-rw-r--r--  1 root  wheel   719329 May 17 21:09 04-installworld
-rw-r--r--  1 root  wheel  3191543 May 20 13:13 05-buildall.log
-rw-r--r--  1 root  wheel  6202233 May 20 13:33 06-buildall.log
-rw-r--r--  1 root  wheel95567 May 20 13:42 07-buildall.log
-rw-r--r--  1 root  wheel  4938777 May 20 15:07 08-buildall.log
-rw-r--r--  1 root  wheel  3189326 May 20 18:03 09-buildall.log
-rw-r--r--  1 root  wheel  3961683 May 20 18:45 10-buildall.log
-rw-r--r--  1 root  wheel97564 May 20 23:07 11-buildall.log

and several entries in /var/log/messages:

May 20 18:31:29 sv01 /kernel: ipfw2 initialized, divert disabled, rule-based 
forwarding enabled, default to deny, logging disabled
May 20 18:31:39 sv01 login: ROOT LOGIN (root) ON ttyv0
May 20 18:32:11 sv01 su: rfk to root on /dev/ttyp0
May 20 18:32:44 sv01 su: rfk to root on /dev/ttyp1
May 20 18:33:18 sv01 su: rfk to root on /dev/ttyp2
May 20 22:59:53 sv01 /kernel: pid 81718 (ld), uid 0: exited on signal 11 (core 
dumped)
sv01(root) /rfk/pub/logs/BuildSystem


sv01(root) /rfk/pub/logs/BuildSystem uname -a
FreeBSD sv01.rfk.priv 4.9-RELEASE-p7 FreeBSD 4.9-RELEASE-p7 #1: Mon May 17 
20:17:24 CEST 2004 [EMAIL PROTECTED]:/rfk/pub/obj/usr/src-4.9/sys/RFK  
i386

sv01(root) /rfk/pub/logs/BuildSystem uptime
11:23PM  up  4:53, 4 users, load averages: 0.00, 0.00, 0.00
sv01(root) /rfk/pub/logs/BuildSystem

Is my machine gone? (running HW-Diagnostic did not show bad things, CPU temp 
is 56 C, MB is 43 C)

Did I possibly something wrong (cvsup, make, ...)?
Am I simply stupid?

Any hint most appreciated,
Thanks in advance!

-- 
Mit freundlichen Grüßen

Richard Kästner
EDV-Beratung
Woerthgasse 17
2500 Baden
Austria
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gpg-agent problems...

2004-05-20 Thread Eric Crist
One  of you said something that go me thinking.   I checked the value of 
GPG_AGENT_INFO, and noticed that it referenced an old instance of gpg-agent.  
I fixed this, now it works.

Thanks!

-- 
Aleph-null bottles of beer on the wall,
Aleph-null bottles of beer,
You take one down, and pass it around,
Aleph-null bottles of beer on the wall.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: signal 11 during buildworld

2004-05-20 Thread Richard Kstner
On Thursday 20 May 2004 23:34, Kent Stewart wrote:
 *This message was transferred with a trial version of CommuniGate(tm) Pro*

 On Thursday 20 May 2004 02:27 pm, Richard Kästner wrote:
  Help please!
 
  Up to yesterday, I could make buildworld / kernel etc without
  problem.
 
  . . .
  Is my machine gone? (running HW-Diagnostic did not show bad things,
  CPU temp is 56 C, MB is 43 C)

 You need to read
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/troubleshoot.html#SIGN
AL11

 Something probably changed yesterday on your hardware and is causing
 problems.

 Kent

Thanks to everyone responding!

OK, let's check and swap Hardware ... :=(
-- 
Mit freundlichen Grüßen

Richard Kästner
EDV-Beratung
Woerthgasse 17
2500 Baden
Austria
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: graphics files not printing correctly

2004-05-20 Thread Jason Taylor
Jason Taylor wrote:
I've followed the directions in the handbook for setting up lpd and also 
installed apsfilter via ports and ran /usr/local/share/apsfilter/SETUP. 
 In general printing is working.  For example, a text document from OOo 
prints just fine.  However, when I attempt to print a jpeg file the 
result is what I can best describe as a blurry negative image.  That's 
not terribly accurate.  It's more like it's been converted to only a 
handful of colors and possibly some colors dropped altogether.

I've tried both the native gs driver and the gimp-print stp driver with 
the same results.  Test pages printed from within the apsfilter setup 
look great.  The problem does not seem to be limited to jpegs in 
particular.  A pdf from a few days ago was also blurred/color 
reduced/altered.  Images printed directly from firefox a week or so ago 
show the same symptoms.  Whether those were jpeg, gif, png, or something 
else, I'm not certain.

I've ruled out any network issues by copying a few jpeg files over to 
the server and printing them locally.  I've also converted a few from 
jpeg to ps and back again to rule out imagemagick.

I'm confident that the printer itself is in good order based on the good 
test pages and it having worked well on a WinXP just prior to having 
been moved over the the FreeBSD box.  I no longer have any Windows 
machines around to check that it still works on them.  :-D

Any tips will be much appreciated.
I'm happy to report that the problem is resolved.  I can't really say I 
figured it out.  I didn't do anything differently than yesterday.  I 
looked through the apsfilter SETUP script to see what it does to print a 
test page, replicated it manually, substituting my own jpg converted to 
ps.  That worked!  So I ran through the SETUP script again allowing it 
to overwrite everything that had been there and now it just works.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Login question

2004-05-20 Thread Bill Moran
[Please use reply-all to keep the mailing list in the recipient list]
Christopher Svensrud wrote:
I have tried your suggestion and I get the same problem. incorrect
password.
Are you saying you're getting the login error when you try to login in from
Windows via smb?  If so, this is a completely different problem than the
one I gave you a fix for.
I am running version 4.9 with KDE desktop. I am trying to set this machine
up as a simple file server. 
Can you log in to KDE?
I get message containing nmbd[187] as I try to log in. Is there a way to
disable or edit smb.conf from single user mode? If really thing this might
be part of the source of my problem.
I'm not sure, but I don't think your problem is with FreeBSD, but with Samba.
Take a look at some of these docs:
http://us3.samba.org/samba/docs/man/smbpasswd.8.html
http://us3.samba.org/samba/ftp/docs/Samba24Hc13.pdf
ftp://ftp.stratus.com/pub/vos/customers/samba/
Note the following additional information:
1) If your problem is with logging in via samba, you'll probably get better
   assistance posting your question to the samba mailing lists:
   http://lists.samba.org/mailman/
2) If your problem is with samba, you'll most likely need to include your
   smb.conf file in order to get any decent help.
Cheers
Chris
-Original Message-
From: Bill Moran [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 20, 2004 12:29 PM
To: Christopher Svensrud
Cc: [EMAIL PROTECTED]
Subject: Re: Login question

Christopher Svensrud wrote:
I keep having the same problem with login. The system keeps indicating
that
the password is incorrect. I have been able to reset the password and
still
it gives me the same message.
I just started running FreBSD and I was setting up Samba when this
occurred.
Reboot the system by hitting ctrl+alt+delete, while it's booting back
up, press space bar when you see the press enter to boot or ... and
before
it finishes counting down.  (You don't mention which version of FreeBSD
you're
using, but FreeBSD 5 has a spiffy menu here where you can just select a menu
item for single-user mode) At the prompt, enter boot -s to boot into
single-
user mode.  When asked for a default shell, just hit enter to accept the
default.  Once you have a shell prompt, enter fsck -y and then mount -a.
Now you're logged in and can execute commands as root.  Enter passwd
user
to change the password for user.  If you omit user, you'll change the
root
password.
good luck.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: install questions (was Re: hello, urgent)

2004-05-20 Thread Bill Moran
[Please user reply to all to keep the mailing list
on the recipient list]
Praneeth Reddy wrote:
my computer has ethernet internet connection. i use
linksys lan card. if i reinstall system i have to
reinstall the lan software. but it says its designed
for windows only. and i want to remove windows because
1 it has virus, 2 it has only total of 2 gb. and i
relly really liked freebsd screenshots. i really want
to use it. please tell me a way to do that
Check here to see if your Linksys card is supported by
FreeBSD:
http://www.freebsd.org/releases/4.9R/hardware-i386.html
If it is listed there, then you don't need any additional
software, the required drivers are included in FreeBSD.
Otherwise, I suggest you start reading the handbook.
Folks like myself have put considerable effort into
putting together this documentation.  I don't really
have the desire to repeat everything that's been done
there:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html
Specicifically, the section on installation I pointed
you to earlier.
If, during installation, you hit a _specific_ problem,
don't hesitate to mail this list asking for assistance.
If you do so, please read this document:
http://www.lemis.com/questions.html
and follow the instructions there, it will assure you
of the fastest response.
I suspect that English is not your first language. At
the top-right of the FreeBSD.org homepage are links to
other languages.  See if your language is listed there,
it will probably make things easier on you.
Good Luck!
--- Bill Moran [EMAIL PROTECTED] wrote:
Please read http://www.lemis.com/questions.html
Praneeth Reddy wrote:
i have only 1.38 mb floppy disks, so can i burn
those
2 files into one cd and install it by cdrom.
You have a few choices:
1) if you don't have a CD, you can create two
floppies,
   boot from them and install via ftp over the
internet
2) If you have a CD that will boot, you can burn an
ISO
   image, boot off the CD and do the entire install
from
   CD
3) If you have a CD, but it won't boot, you can boot
from
   floppies (as in #1) then install the remainer of
the
   system from CD

or how do i install with iso files.
See
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html
If you don't know how to burn an ISO to a CD, read
the docs for the CD
burning software you're using, all CD burning
software is different.

how much mb does
it take after totall install.
It depends on the type of install.  A minumal is
only a few hundred meg, but
a more practical installation will probably require
a few gig.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Is Freebsd graphical?

2004-05-20 Thread Doug Lawrence
I am very new to anything but Windows and some MAC. I bought a retail box 
of 4.7 about 2 years ago.It had no printed material.I tried for about a 
month to get it up and running but I gave up. I was to new. I talked to 
people in my department about how to learn the program and they suggested I 
get Redhat 9 off our UCI mirror site. I have done that and have learned 
a  lot over about  one year.I got a copy of 5.2.1 off your site and began 
again.I have done ok now but have questions.I understand what I should be 
doing to install but areas I believe I should select ALL I cann't figure 
out how to select the all choice.One spot I select all and the next screen 
says no packages selected and I cann't backup.This time I am not giving up. 
Can you help me get back on track?  Doug Lawrence


Doug Lawrence
Senior Electronics Technician
Network Academic Computer Services,(NACS)
UCIrvine
5201 California Avenue, Suite 150
Irvine, CA. 92697-5475
(949)824-3433-office
(949)824-2270-fax
www.nacs.uci.edu














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


Re: Is Freebsd graphical?

2004-05-20 Thread Bill Moran
Doug Lawrence wrote:
I am very new to anything but Windows and some MAC. I bought a retail 
box of 4.7 about 2 years ago.It had no printed material.I tried for 
about a month to get it up and running but I gave up. I was to new. I 
talked to people in my department about how to learn the program and 
they suggested I get Redhat 9 off our UCI mirror site. I have done that 
and have learned a  lot over about  one year.I got a copy of 5.2.1 off 
your site and began again.I have done ok now but have questions.I 
understand what I should be doing to install but areas I believe I 
should select ALL I cann't figure out how to select the all choice.One 
spot I select all and the next screen says no packages selected and I 
cann't backup.This time I am not giving up. Can you help me get back on 
track?  Doug Lawrence
You're hitting up against a major difference in the design mentality of
FreeBSD compared to just about any other software out there.
FreeBSD is developed primarily as a server operating system for people
knowledgable about Unix.  That's not to say that it won't work as a
desktop operating system for the average Joe ... my mother is completely
computer illiterate and she uses FreeBSD on her computer ... she didn't
install it, though.
This isn't because the FreeBSD folks don't care about the average Joe
who wants FreeBSD on his/her desktop, it's because the _volunteers_ who
develop FreeBSD are simply more interested in making the most technically
advanced multi-user operating system available, and that takes a lot of
work, but they only have so many hours in a day.
Once you've got FreeBSD installed and configured, I'm sure you'll find it
just as easy to use as Redhat ... getting to that point takes a bit more
work.  As I'm sure you've already noticed, Redhat has an option to
configure it for workstation use, while FreeBSD has no such install
option.  This means that you'll have to _manually_ tweak the configuration
for workstation use, after doing a generic install.  The bad news is that
this is a bit of work to get done.  The good news is that you'll learn a
lot in the process, and there is plenty of documentation to help you out.
Based on the subject of your email, I'm guessing you're getting frustrated
by the fact that your FreeBSD installs end up with a text login instead of
a graphical login.  If you _are_ successfully getting to the point that
you have a text login, then congratulations!  You've actually succeeded in
installing FreeBSD, you simply have to go through the manual process of
configuring XFree86 on your machine (RedHat systems, by contrast, have an
automatic XFree86 configure program that does this for you)
I recommend that you read through this chapter of the handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html
and proceed with setting up XFree86.  If you hit specific problems, don't
hesitate to ask for help on this list again.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


upsd for Belkin F6C120-UNV?

2004-05-20 Thread Miles Lubin
All the ups ports seem to be only for APC UPSs, but I have a Belkin
F6C120-UNV connected over usb (it is recognized as uhid0 when
connected). Serial would be ok, but I don't see any ports that would
work for that either. On Belkin.com there is ups daemon there for
FreeBSD 2.2.8. which doesnt work. Has anyone with the same model gotten it
working?

Any help is appreciated,
Miles

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


Re: Parallel Printer

2004-05-20 Thread Warren Block
On Thu, 20 May 2004, Donald Szatkowski wrote:

 I have installed FreeBSD 4.10r2 and am having trouble with the printer setup.
 This is on and OLD Gateway P5-100, 128mb ram (yah-100Mhz!).

This should be fine.

 It is a direct connect to the parallel port. My main source document
 is the FreeBSD Handbook, 2nd ed. and the online Handbook @
 FreeBSD.org. I have the necc. files as directed by Chapter 11, but am
 still having problems. (/etc/printcap, /dev/lpt0, etc). When I test
 with #lptest /dev/lpt0, I get nothing.

Some printers are not capable of printing plain text.  You do not
mention which printer you have.

 My initial install selection was for parallel printing. And checking
 rc.conf shows lpd=YES.

It should be lpd_enable=YES.

 When I #grep ppc0 /var/run/dmesg.boot I get the message, can not
 reserve input output range. When I#dmesg | grep lpt0 I get the
 message, lpt0 not configured.

These are a problem.  Please post the entire, exact lines returned as
results of these commands.

At this point, I suggest you do not install any additional printing
software until you have identified the make and model of printer and
sorted out why you are seeing the odd errors above.

-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cron can't find root or operator

2004-05-20 Thread Bill Moran
carvin5string wrote:
--- Bill Moran [EMAIL PROTECTED] wrote:
You've got a user's crontab created in the format of the system
crontab.
The system crontab has an extra field to designate the user under
which
the job should run.  When this field is entered in a user's crontab,
cron interprets it as the command to be run and the errors you
describe
generally result.
Keep in mind that the user root has a user crontab that is
different
from the system crontab.
If you're still fuzzy as to what went wrong, reading the man pages
for
crontab (in addition to my explanation) should help.
Bill,
I see in the Handbook in section 6.6.1 that I should run crontab
crontab to create a new crontab, which I did, in the /etc directory, as
root.
Yeah, it does look like it says that, doesn't it?  It doesn't really, and
you shouldn't have done that ...
Thus the crontab file in /etc looks like this -
After reading the man page and the one page in the manual I don't know
what to do to fix this -
What you did was install the system crontab as a user.  Log in as the
user you executed crontab crontab as, and enter crontab -r.  That
will remove the crontab for that user.
On a related note.  I'm going to make some changes to that section of
the handbook in an attempt to clarify it.  Do you mind if I contact you
directly to get your feedback on whether or not my changes make that
chapter easier to understand?
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


System Hang

2004-05-20 Thread Nicholas Bernstein
hello all,
I'm hoping someone can give me a hand with this. I have a suspicion as
to what is causing this, but I don't want to taint any replies I get.
If any of knowledgeable folks out there could help me out, offer
possible areas to look into, better places to contact, or anything that
could possibly be helpful, I would really, really appreciate it. 

thanks in advance,
Nick
Info follows: 


System: 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
HP Proliant DL140 
http://h18004.www1.hp.com/products/servers/proliantdl140/index.html
FreeBSD 5.2-CURRENT #0 standard kernel
2 xeon (hyperthreaded) processors

Problem Description: 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

System becomes unresponsive and hangs. System does not respond to
keyboard, network or any other type of input. 


Error Message:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

panic: Assertion TD_ON_SLEEPQ(td) failed at
/usr/src/sys/kern/subr_sleepqueue.c:783 at line 783 in file:
/usr/src/sys/kern/subr_sleepqueue.c
cpuid=1
Debugger(panic)
Spin lick sched lock held by 0x617eb00 for  5

Related info:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

/usr/src/sys/kern/subr_sleepqueue.c:
...
770 /*
771  * Abort a thread as if an interrupt had occured.  Only abort
772  * interruptable waits (unfortunately it isn't safe to abort
others).
773  *
774  * XXX: What in the world does the comment below mean?
775  * Also, whatever the signal code does...
776  */
777 void
778 sleepq_abort(struct thread *td)
779 {
780 void *wchan;
781
782 mtx_assert(sched_lock, MA_OWNED);
783 MPASS(TD_ON_SLEEPQ(td));
784 MPASS(td-td_flags  TDF_SINTR);
785
786 /*
787  * If the TDF_TIMEOUT flag is set, just leave. A
788  * timeout is scheduled anyhow.
789  */
790 if (td-td_flags  TDF_TIMEOUT)
791 return;
792
793 CTR3(KTR_PROC, sleepq_abort: thread %p (pid %d, %s),
td,
794 td-td_proc-p_pid, td-td_proc-p_comm);
795 wchan = td-td_wchan;
796 mtx_unlock_spin(sched_lock);
797 sleepq_remove(td, wchan);
798 mtx_lock_spin(sched_lock);
799 } 


Also, in order for the machine to detect it's broadcom 5700 network
cards, I had to the line 
acpi_load=no
to my /boot/loader.conf. Upon reboot the network cards show up in an
ifconfig and work perfectly. 


Possible references:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This isn't the exact same error, but it's the closest thing I could find
to my error: 

http://lists.freebsd.org/pipermail/freebsd-current/2004-March/022633.html

This error is also pretty close, but not the same thing:

http://groups.google.com/groups?q=%27panic:+Assertion+TD_ON_SLEEPQ(td)+failed+at%27hl=enlr=ie=UTF-8safe=offselm=200405182105.04275.thierry%40herbelot.comrnum=1


. . . 
Thanks for taking the time to read this. 
. . . 

-- 
Nicholas Bernstein, Unix Systems Administrator
Document Systems Inc.
http://docmagic.com
[EMAIL PROTECTED]

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


Sound Capture/Editing under Freebsd

2004-05-20 Thread Dragoncrest
	Went looking all over the internet for this and can't find anything.  I'm 
looking for either a console based or graphically based (preferably the 
second) sound capture and possibly a sound editing program.  What I'm doing 
is converting all my old audio tapes to MP3 before the tapes die and the 
only way to do this for me right now is to dust off my old windows box and 
do it there, which I'd prefer not to do if possible.  I'd rather do it 
under Freebsd if I could.  What I'd be doing is taking an audio feed from 
the tape player to the Line-In jack on the sound card, then capturing the 
video directly from there.  Anyone know of a tool under Freebsd that'll do 
that?  Again, I looked and couldn't find anything.  I googled several times 
too and got nothing.  So any pointers or help would be welcome.  Thanks.

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


Failed portupgrade XFree86-4-Libraries

2004-05-20 Thread Norhisham Khalil
Hi,
my box is 
FreeBSD cpqbsd5.famaco.com 5.2.1-RELEASE-p6 FreeBSD 5.2.1-RELEASE-p6 #1:
Wed May 19 11:28:43 MYT 2004
[EMAIL PROTECTED]:/home/usr/obj/home/usr/src/sys/CPQBSD5  i386

i'm doing portupgrade -aR
and it stop at 

ln -s /home/usr/ports/x11/XFree86-4-libraries/work/xc/lib/Xau/AuRead.c
AuRead.c
rm -f ks_tables.h makekeys makekeys.o
cc -o makekeys -O -pipe -mcpu=pentiumpro  -ansi -Dasm=__asm 
GccWarningOptions
 -I/home/usr/ports/x11/XFree86-4-libraries/work/xc
-I/home/usr/ports/x11/XFree8 
6-4-libraries/work/xc/exports/include   -DCSRG_BASED 
-DFUNCPROTO=15 -DNARROWPRO   
  TO -DXTHREADS  -D_THREAD_SAFE -DXUSE_MTSAFE_API
-DXNO_MTSAFE_PWDAPI-DMALLOC_ 
0_RETURNS_NULL  -DHAS_SNPRINTF -DLIBX11  
  -DPOSTLOCALELIBDIR=\lib   
  \   util/makekeys.c -L/usr/X11R6/lib -lc_r  
-Wl,-rpath,/usr/X11R6/lib
cc: GccWarningOptions: No such file or directory
*** Error code 1 (ignored)
./makekeys 
/home/usr/ports/x11/XFree86-4-libraries/work/xc/exports/include/X11  
   /keysymdef.h 
ks_tables_h
./makekeys: not found
*** Error code 127

Stop in /home/usr/ports/x11/XFree86-4-libraries/work/xc/lib/X11.
*** Error code 1

Stop in /home/usr/ports/x11/XFree86-4-libraries/work/xc/lib.
*** Error code 1

Stop in /home/usr/ports/x11/XFree86-4-libraries.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade87318.0 mak  
   e
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! x11/XFree86-4-libraries (XFree86-libraries-4.3.0_6)   (unknown
build error)

what could i do to fix this?

tq
sham khalil

This e-mail has been sent via JARING webmail at http://www.jaring.my
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: defining knobs in pkgtools.conf question

2004-05-20 Thread Andy Smith
On Wed, May 19, 2004 at 02:20:55PM -0400, Chiang Seng Chang wrote:
 === quote ===
 
 OPTIONS=THREADS Enable thread support on \
 HUGE_STACK_SIZE Use a larger thread stack off \
 UCS2 Use UCS2 instead of UCS4 for unicode support off \
 PYMALLOC Uses python's internal malloc on
 
 .include bsd.port.pre.mk
 
 .if defined(WITH_THREADS)
 CONFIGURE_ARGS+=--with-threads
 CFLAGS+=${PTHREAD_CFLAGS}
 .if defined(WITHOUT_HUGE_STACK_SIZE)
 CFLAGS+=-DTHREAD_STACK_SIZE=0x2
 .else
 CFLAGS+=-DTHREAD_STACK_SIZE=0x10
 .endif # defined(WITHOUT_HUGE_STACK_SIZE)
 CONFIGURE_ENV+= LDFLAGS=${PTHREAD_LIBS} ${LDFLAGS}
 .else
 CONFIGURE_ARGS+=--without-threads
 .if defined(LDFLAGS)
 CONFIGURE_ENV+= LDFLAGS=${LDFLAGS}
 .endif # defined(LDFLAGS)
 .endif # defined(WITH_THREADS)
 
 .if defined(WITHOUT_UCS2)
 CONFIGURE_ARGS+=--enable-unicode=ucs4
 .endif
 
 .if defined(WITHOUT_PYMALLOC)
 CONFIGURE_ARGS+=--without-pymalloc
 .endif
 
 === end quote ===
 
 So if I wish to put the knobs into pkgtools.conf so that it can build it 
 batch mode, do I:
 
 WITH_THREADS=1
 WITHOUT_HUGE_STACK_SIZE=1

I think that you only need to match the variables used in the
Makefile.  So the above would be correct, and the following two
should just be omitted:

 WITH_UCS2=1
 WITH_PYMALLOC=1

Don't forget you'll need to set BATCH as well.

 I guess my question is how to decide wheather to use WITH_XXX=1 or 
 WITHOUT_XXX=0 ?

Set the exact same variables as the Makefile is testing.

 does WITH_XXX=0 result in #defined(WITH_XXX) returning false ?

I believe not, as defined() only tests if that name is defined,
not what its value is.

-- 
http://freebsdwiki.org/ - Encrypted mail welcome - keyid 0xBF15490B


pgpY27aJR6qyu.pgp
Description: PGP signature


rev to /usr/local/etc/rc.d/apache.sh

2004-05-20 Thread Gary Kline

Guys,

It may just be me, but I stared at the *original*
apache.sh script for 45 minutes before figuring out
how it worked.  apache was down here for more than a
few hours.

This is my rewrite::

# DO NOT CHANGE THESE DEFAULT VALUES HERE,
# instead, define these apache_* variables in one of these files:
#   /etc/rc.conf
#   /etc/rc.conf.local
#   /etc/rc.conf.d/apache
#
#
apache_enable=NO  # or YES to exec apachectl c, c.
apache_flags=
apache_pidfile=/var/run/httpd.pid

-g



-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: Is Freebsd graphical?

2004-05-20 Thread Jud
On Thu, 20 May 2004 19:41:54 -0400, Bill Moran [EMAIL PROTECTED]  
wrote:

Doug Lawrence wrote:
I am very new to anything but Windows and some MAC. I bought a retail  
box of 4.7 about 2 years ago.It had no printed material.I tried for  
about a month to get it up and running but I gave up. I was to new. I  
talked to people in my department about how to learn the program and  
they suggested I get Redhat 9 off our UCI mirror site. I have done that  
and have learned a  lot over about  one year.I got a copy of 5.2.1 off  
your site and began again.I have done ok now but have questions.I  
understand what I should be doing to install but areas I believe I  
should select ALL I cann't figure out how to select the all choice.One  
spot I select all and the next screen says no packages selected and I  
cann't backup.This time I am not giving up. Can you help me get back on  
track?  Doug Lawrence
[snip]
Based on the subject of your email, I'm guessing you're getting  
frustrated
by the fact that your FreeBSD installs end up with a text login instead  
of
a graphical login.  If you _are_ successfully getting to the point that
you have a text login, then congratulations!  You've actually succeeded  
in
installing FreeBSD, you simply have to go through the manual process of
configuring XFree86 on your machine (RedHat systems, by contrast, have an
automatic XFree86 configure program that does this for you)

I recommend that you read through this chapter of the handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html
and proceed with setting up XFree86.  If you hit specific problems, don't
hesitate to ask for help on this list again.
In case it actually is selecting things during the installation procedure  
that is a problem, here are tips and a general recommendation.

Tips:  Often it's the space bar that selects or deselects a choice, and  
there is also a key to step back in the installation (escape, maybe? can't  
remember for sure).  You may also need to tab or use the arrow keys in  
order to highlight selections before choosing them.

General recommendation:  The Handbook's installation guide is excellent -  
print it out and have it with you when you install.

URL:  
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html

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


Perl and Linux Compatibility

2004-05-20 Thread Brian Minard
Hello,

I am trying to use a Perl Module which depends upon a shared library.
This shared library is compiled for Linux. The the linux_base-7.1_7 port
contains the dependencies for this library.

Can anyone tell me if it's possible to have Perl 5.8 (built for FreeBSD
4.9) run a Perl Module with this kind of dependency? If not, what's the
best way around this problem?

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


Re: Is Freebsd graphical?

2004-05-20 Thread Rowdy
Doug Lawrence wrote:
I am very new to anything but Windows and some MAC. I bought a retail
 box of 4.7 about 2 years ago.It had no printed material.I tried for
 about a month to get it up and running but I gave up. I was to new.
I talked to people in my department about how to learn the program
and they suggested I get Redhat 9 off our UCI mirror site. I have
done that and have learned a  lot over about  one year.I got a copy
of 5.2.1 off your site and began again.I have done ok now but have
questions.I understand what I should be doing to install but areas I
believe I should select ALL I cann't figure out how to select the all
choice.One spot I select all and the next screen says no packages
selected and I cann't backup.This time I am not giving up. Can you
help me get back on track?  Doug Lawrence
These couple of links, especially the second one, might assist you in
setting up a graphical FreeBSD installation.
http://www.newsforge.com/os/04/01/05/211225.shtml?tid=8tid=82tid=94
http://www.ofb.biz/modules.php?name=Newsfile=articlesid=272
Dave
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Sound card recommendation needed

2004-05-20 Thread Andy Miller
Hello all. Im in the market for a new sound card and I'm curious what cards
other people may have had success with. I specifically need a SP/DIF optical
audio out port. If anyone knows of any card that has a functioning SP/DIF port
under FreeBSD, let me know.

--
Andy Miller

pgpPLJlbgAeGx.pgp
Description: PGP signature


Recommended Motherboards for FreeBSD 4.x and 5.x

2004-05-20 Thread Forrest Aldrich
Hi there,
I'm interested in what motherboards most recommend now for higher 
performance FreeBSD 4.x and 5.x systems.   I've a SOYO Dragon Platinum, 
with SATA and have had several problems, such that I will replace it 
with something better -- perhaps ASUS?

Feedback appreciated.

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


installed perl 5.8. from the ports ??

2004-05-20 Thread Shawn Guillemette
I needed to install something better then perl 5.6.1 in order to install 
something from another port. So I did a locate on perl and 
found /usr/ports/lang/perl5.8  So I cd to the dir and make install and after 
it completed with no errors the I go back to the port I was attempting to 
install and I get the same message: 

 rt3-3.0.9 This program only support perl 5.6.1 or above.

Unfortunately I dont know what version I has using before. I was wondering if 
there was somthign I needed to do to stop using the older version and start 
using the new one?


--
Shawn Guillemette

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


Re: installed perl 5.8. from the ports ??

2004-05-20 Thread Tim Aslat
In the immortal words of Shawn Guillemette [EMAIL PROTECTED]...
 Unfortunately I dont know what version I has using before. I was
 wondering if there was somthign I needed to do to stop using the older
 version and start using the new one?

check the /usr/ports/UPDATING file,  I think it's at the bottom of the
file anddescribes in detail how to upgrade from perl 5.6 to 5.8

Cheers

Tim

-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: installed perl 5.8. from the ports ??

2004-05-20 Thread Kent Stewart
On Thursday 20 May 2004 08:51 pm, Shawn Guillemette wrote:
 I needed to install something better then perl 5.6.1 in order to
 install something from another port. So I did a locate on perl and
 found /usr/ports/lang/perl5.8  So I cd to the dir and make install
 and after it completed with no errors the I go back to the port I was
 attempting to install and I get the same message:

  rt3-3.0.9 This program only support perl 5.6.1 or above.

 Unfortunately I dont know what version I has using before. I was
 wondering if there was somthign I needed to do to stop using the
 older version and start using the new one?


Read /usr/ports/UPDATING because there is a section on updating perl. 
You also need to update automake* because some of them create a link to 
the current perl as the first line,

If you are running 4.x, the install tells you to run use.perl port and 
that is all you need to do to use the new perl.

Kent

-- 
Kent Stewart
Richland, WA

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



Re: Adaptec aic7892 Ultra160 SCSI adapter ERROR

2004-05-20 Thread Mark Terribile


Aurimas Mikalauskas [EMAIL PROTECTED] writes

 May 20 10:39:59 banners /kernel: (da0:ahc0:0:0:0): SCB 0x35 - timed out
 May 20 10:40:04 banners /kernel:  Dump Card State Begins

 :
 :

and Justin T. Gibbs [EMAIL PROTECTED] replies:

 This means that your drive decided not to return a command back to the
 controller.  The controller driver was able to clear up the error by
 resetting the device (BDR = Bus Device Reset).
 
 The failure could indicate a drive firmware bug or that the drive is
 failing.

I have seen similar messages that were traced to SCSI cabling problems.  At the
higher SCSI speeds, the electrical signal just barely has time to settle before
a new signal is introduced (this is _GREATLY_ simplifying the problem; the
science to study is Transmission Line Theory) and the only reason it works is
that the `terminators' absorb energy and keep it from reflecting back into
the line and the cabling rules (on where connectors may be placed) prevent
reflections from occurring where they can cause problems.  The whole thing is
sensitive to poor connections, connections placed too close together, sharp
bends in the cable, cables laced together face-to-face, etc.  And the
problems can be intermittent, or only show up under extreme load.

If you haven't, make sure that the connectors are properly seated, the
correct termination is installed/set, etc., and that the cable is not
folded on itself or clamped face-to-face with another flat cable.
And, of course, make sure that all the device IDs are set correctly.

   Mark Terribile





__
Do you Yahoo!?
Yahoo! Domains – Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Perl and Linux Compatibility

2004-05-20 Thread Dan Nelson
In the last episode (May 20), Brian Minard said:
 I am trying to use a Perl Module which depends upon a shared library.
 This shared library is compiled for Linux. The the linux_base-7.1_7
 port contains the dependencies for this library.
 
 Can anyone tell me if it's possible to have Perl 5.8 (built for
 FreeBSD 4.9) run a Perl Module with this kind of dependency? If not,
 what's the best way around this problem?

No; FreeBSD and Linux binaries cannot use each other's shared modules
(XFree86 modules being an exception since they use a special OS-neutral
loader).  You will need to get a FreeBSD version of that shared
library, or build/install a Linux version of Perl and use that.

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


Disabling atime updates...

2004-05-20 Thread Norberto Meijome
Hi,
I'm plan to disable atime updates in some Web + MySQL servers (to get a 
bit more performance, even if insignificant).

Is there any OS, Apache or MySQL feature that would be affected by 
setting noatime in fstab? ( I couldn't find any reference, even man 8 
mount says it's hardly ever used)

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


Re: Sound card recommendation needed

2004-05-20 Thread Lucas Holt
I can tell you that audigy cards only work in current.  I don't know if 
the sony phillips digital interface (or whatever) works in freebsd or 
not.  I've never tried.  The opensound commercial drivers may support 
it.

On May 20, 2004, at 9:36 PM, Andy Miller wrote:
Hello all. Im in the market for a new sound card and I'm curious what 
cards
other people may have had success with. I specifically need a SP/DIF 
optical
audio out port. If anyone knows of any card that has a functioning 
SP/DIF port
under FreeBSD, let me know.

--
Andy Miller
Lucas Holt
[EMAIL PROTECTED]

FoolishGames.com  (Jewel Fan Site)
JustJournal.com (Free blogging)
'Mmm... forbidden donut'
-- Homer Jay Simpson
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Disabling atime updates...

2004-05-20 Thread Bill Moran
Norberto Meijome wrote:
Hi,
I'm plan to disable atime updates in some Web + MySQL servers (to get a 
bit more performance, even if insignificant).

Is there any OS, Apache or MySQL feature that would be affected by 
setting noatime in fstab? ( I couldn't find any reference, even man 8 
mount says it's hardly ever used)
I think you've got a greenlight here.  I've seen lots of people use
noatime, and I've never heard of anyone having trouble.  I'm sort of
surprised that noatime isn't the default ...
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Recommended Motherboards for FreeBSD 4.x and 5.x

2004-05-20 Thread Doug Poland
Forrest Aldrich wrote:
Hi there,
I'm interested in what motherboards most recommend now for higher 
performance FreeBSD 4.x and 5.x systems.   I've a SOYO Dragon Platinum, 
with SATA and have had several problems, such that I will replace it 
with something better -- perhaps ASUS?

Someone has a survey on the web of motherboards and their features 
vis-à-vis FreeBSD.  Google freebsd motherboard survey.

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


Re: installed perl 5.8. from the ports ??

2004-05-20 Thread Murray Taylor
did you enter the command 

use.perl port

after installing perl 5.8 _before_ rebuilding rt3 ?? Perl by default
will continue to use the perl supplied with the initial site distro...

to switch back it 
use.perl site

mjt



On Fri, 2004-05-21 at 13:51, Shawn Guillemette wrote:
 I needed to install something better then perl 5.6.1 in order to install 
 something from another port. So I did a locate on perl and 
 found /usr/ports/lang/perl5.8  So I cd to the dir and make install and after 
 it completed with no errors the I go back to the port I was attempting to 
 install and I get the same message: 
 
  rt3-3.0.9 This program only support perl 5.6.1 or above.
 
 Unfortunately I dont know what version I has using before. I was wondering if 
 there was somthign I needed to do to stop using the older version and start 
 using the new one?
 
 
 --
 Shawn Guillemette
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 
 This Email has been scanned for Viruses by MailMarshal.
 
-- 
Murray Taylor
Special Projects Engineer
-
Bytecraft Systems  Entertainment
P: +61 3 8710 2555
F: +61 3 8710 2599
D: +61 3 9238 4275
M: +61 417 319 256
E: [EMAIL PROTECTED]
or visit us on the web
http://www.bytecraftsystems.com
http://www.bytecraftentertainment.com




This Email has been scanned for Viruses by MailMarshal.

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


named in sandbox

2004-05-20 Thread Muhammad Reza
dear All,
I running named in sandbox as a secondary name server with FreeBSD-5.1.p17,
Named log always complain:
named-xfer exited with signal 6 and slave zone expired for every zone 
transfer.
but, when it's running on default mode (no chroot sandbox) or as a 
primary server (with chroot sandbox). named work fine.
please help me , how to make secondary zone transfer running in sandbox

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


  1   2   >