The FreeBSD Diary: 2005-09-18 - 2005-10-08

2005-10-09 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


make release

2005-10-09 Thread pirat sriyotha
hi sirs,

am trying to make my own release by `make release -DNOGAME' at /usr/src/release
with 5.4 notebook.  i want to have packages that have been built included into
disc1.iso too but i get only 198mb of src and ports and some others instead.

would you please give me some hints on doing this ?
please cc to me since i do not subscripe to the list.

thanks in advance for any helps and hints.

--

with best regards,
psr

http://www.thai-aec.org


This message was sent using Inet-Webmail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: chm file conversion?

2005-10-09 Thread Sandy Rutherford
Colin,

On Sat, 08 Oct 2005 you wrote:

  Vizion wrote:
  As per subject - does anyone know of any utils for converting microsofts 
  compiled help files for use on freebsd?

  I've found converters/chmview to be useful in the past.

Anything available for converting chm to pdf or ps?  I believe that
there are some programs for doing this under MS Windows.

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


Re: chm file conversion?

2005-10-09 Thread Andrew P.
On 10/9/05, Sandy Rutherford [EMAIL PROTECTED] wrote:
 Colin,

 On Sat, 08 Oct 2005 you wrote:

   Vizion wrote:
   As per subject - does anyone know of any utils for converting microsofts
   compiled help files for use on freebsd?

   I've found converters/chmview to be useful in the past.

 Anything available for converting chm to pdf or ps?  I believe that
 there are some programs for doing this under MS Windows.

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


Just print it to a ps file. Pdf and ps are easily
interconvertible.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Cheap Hardware for Home Network

2005-10-09 Thread Live-Wire
I'm building a new box specifically do take care of a lot of things on 
my home network; dns, qmail,
apache, sftp, printer server, a fileserver, etc. Some of the services, 
like apache, will also be exposed to
the internet, but only for the use of friends and family. And most 
important, I'm doing this all on the cheap -
for less than$600 (and the less, the better). I was wondering what sort 
of hardware setups people could
recommend? Priceis the #1 consideration, followed by reliability, then 
speed. But that doesn't mean
I want to neglect the latter two- what sort of specs should I be 
shooting for? What is necessary for the kind

of activities I want to do.

I'm hellbent on AMD, and the Sempron 3100+ (754) is looking pretty 
sharp. I have a GeForce4 Ti 4600 lying
around that I can stick in, but because I want to use 2 SATA 150 
hardrives in RAID 1, finding an AGP 4X
mobo with 754 and SATA w/ RAID 1 is neigh impossible. So it looks like 
my best bet is to find
a mobo with onboard gigabit ethernet, video, and sound (only the first 
of which is important), but that still

limits me apropos the 754 cpu and the SATA.

So again, this is a nice opportunity to buy hardware specifically 
tailored for what I am using it for - I have zero

concern for expandability. What is the best fit?

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


Re: Samba or something more lightweight ...

2005-10-09 Thread Uwe Laverenz
On Sat, Oct 08, 2005 at 10:39:33PM +0200, Kiffin Gish wrote:

 Do I need to install Samba or is there another more lightweight
 alternative?

There still is /usr/ports/net/sharity-light, but I'm not sure if it
still works, it seems to be quite outdated.

More Information: http://www.obdev.at/products/sharity-light/index.html

Uwe

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


Re: changing boot splash screen

2005-10-09 Thread FreeBsdBeni

On Saturday 08 October 2005 21:11, you wrote:
 FreeBsdBeni wrote:
 Hi list,
 
 System : 5.4-RELEASE-p7
 
 I'm trying to change the default boot splash screen from beastie to
  bmp-file.
 
 Here's my /boot/loader.rc :
 \ Loader.rc
 \ $FreeBSD: src/sys/boot/i386/loader/loader.rc,v 1.2 2003/11/21 19:01:02
  dcs Exp $
 \
 \ Includes additional commands
 include /boot/loader.4th
 \ Reads and processes loader.rc
 start
 \ Tests for password -- executes autoboot first if a password was defined
 check-password
 \ Load in the boot menu
 include /boot/beastie.4th
 \ Start the boot menu
 beastie-start
 
 And my /boot/loader.conf :
 # snd_driver_load=YES
 snd_inch_load=YES
 # ndis_load=YES
 if_ndis_load=YES
 # if_pff_load=YES
 hw.ata.atapi_dma=1
 loader_color=YES
 splash_bmp_load=YES
 bitmap_load=YES
 bitmap_name=splash.bmp
 
 In my kernel I have an optionsVESA.
 
 I have a /boot/splash.bmp which is a 8 bpp 640x480 bitmap (from
 http://www.baldwin.cx/splash/saturn_1_640.bmp) where I read the
  instructions on how to change the splash screen too (and I did a man
  splash...).
 
 But when I boot my pc, I dont get a nice bitmap splash screen ! I tried
  whith commenting out in loader.rc the include /boot/beastie.4th and
 beastie-start lines, but then I get no bootmenu at all.
 
 How do I get a nice splash screen ? Hints and/or tips are welcome :-)

 Well, you don't, but you do.  The splash module won't load the bitmap
 until after the beastie menu, anyway.  And your bitmap is the right
 depth, but it's too large, I think.  I believe I answered this question
 about a week ago ... check the archives.  I think it was 320xnnn 

 Kevin Kinsey

Downloaded the 320-bitmap but still no luck : I get beastie and the startup
menu and then the messages from the bootup come...
But thx for the info !

Little follow-up... Just checked dmesg and found this :
module_register_init: MOD_LOAD (splash_bmp, 0xc0a23810, 0) error 2
But my /var/log/messages shows nothing.
--
Beni.



pgp9EjcaFIiaw.pgp
Description: PGP signature


Re: Cheap Hardware for Home Network

2005-10-09 Thread Andrew P.
On 10/9/05, Live-Wire [EMAIL PROTECTED] wrote:
 I'm building a new box specifically do take care of a lot of things on
 my home network; dns, qmail,
 apache, sftp, printer server, a fileserver, etc. Some of the services,
 like apache, will also be exposed to
 the internet, but only for the use of friends and family. And most
 important, I'm doing this all on the cheap -
 for less than$600 (and the less, the better). I was wondering what sort
 of hardware setups people could
 recommend? Priceis the #1 consideration, followed by reliability, then
 speed. But that doesn't mean
 I want to neglect the latter two- what sort of specs should I be
 shooting for? What is necessary for the kind
 of activities I want to do.

 I'm hellbent on AMD, and the Sempron 3100+ (754) is looking pretty
 sharp. I have a GeForce4 Ti 4600 lying
 around that I can stick in, but because I want to use 2 SATA 150
 hardrives in RAID 1, finding an AGP 4X
 mobo with 754 and SATA w/ RAID 1 is neigh impossible. So it looks like
 my best bet is to find
 a mobo with onboard gigabit ethernet, video, and sound (only the first
 of which is important), but that still
 limits me apropos the 754 cpu and the SATA.

 So again, this is a nice opportunity to buy hardware specifically
 tailored for what I am using it for - I have zero
 concern for expandability. What is the best fit?

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


I have Gigabyte K8VT800 Pro motherboard
(http://www.giga-byte.com/Motherboard/Products/Products_GA-K8VT800%20Pro.htm)
and Sempron 2500+ (256Kb cache, 64-bit, SSE3)
on my file-server. For me - it's a wonderful combination.
With an updated BIOS firmware it supports up to
10 disk devices (8 IDE + 2 SATA), Gigabit
network and is rock-solid. I run FreeBSD/i386 on
it, but I tried amd64 before - and it works great.

It's quite cheap ($60 for the board, $60 for the
box version of the CPU), and it certainly rocks,
believe me. BTW, it should support your Ti
4600!


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


Documentation altq

2005-10-09 Thread Carstea Catalin
I want to read many about altq, but i don't found tehnical
documentation or tutorials.
Can u suggest something!?
--
Any help would be greatly appreciated.
regards,
Carstea Catalin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


request for information

2005-10-09 Thread khaled guenaoui
does bsd supports applications developed in jsp (java server page) or dot net ?


-
 Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
 Téléchargez le ici !  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


rt client denied by server configuration

2005-10-09 Thread John Oxley
I'm trying to install rt on FreeBSD 5.4 with Apache 2.  I have installed
the port, and configured it.  I have also setup Apache like this:

# Tell FastCGI to put its temporary files somewhere sane.
FastCgiIpcDir /tmp

# Number of processes is tunable, but you need at least 3 or 4
# FastCgiServer is illegal in the VirtualHost section
FastCgiServer /usr/local/rt3/bin/mason_handler.fcgi -idle-timeout 120 
-processes 4

VirtualHost *
   ServerAdmin [EMAIL PROTECTED]
   DocumentRoot /usr/local/rt3/share/html
   ServerName rt.yoafrica.com
   ErrorLog /var/log/httpd/rt-error_log
   CustomLog /var/log/httpd/rt-access_log common

   Alias /NoAuth/images /usr/local/rt3/share/html/NoAuth/images/

   ScriptAlias / /usr/local/rt3/bin/mason_handler.fgci/
/VirtualHost

Apache starts okay, but when I go to http://rt.yoafrica.com/ the page
says:
Forbidden

You don't have permission to access / on this server.
Apache/2.0.54 (FreeBSD) PHP/4.3.11 mod_fastcgi/2.4.2 Server at rt.yoafrica.com 
Port 80

and in /var/log/httpd/rt-error_log there is:

[Sun Oct 09 14:18:18 2005] [error] [client 196.44.177.50] client denied by 
server configuration: /usr/local/rt3/bin/mason_handler.fgci
[Sun Oct 09 14:18:18 2005] [error] [client 196.44.177.50] client denied by 
server configuration: /usr/local/rt3/bin/mason_handler.fgci

Does anyone know what I am doing wrong ?

Regards,

-John

-- 
John Oxley
Systems Administrator
Yo!Africa
E-Mail:  john at yoafrica.com
Tel: +263 4 858404
echo '9k[l:l;ss=0lx]s[1+ldd*l=d*-l;+dsrl=2**l:+ds=d*rd*+4-d15] 
s[q]s-[d77/3*2-s;47lx-P1+d78`]s`0[d23/.5-3*s:0l`xr10P1+d24$]ds$x'|dc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: bruteforceblocker + PF

2005-10-09 Thread Daniel Gerzo
Hi Enrique,

Friday, October 7, 2005, 4:44:31 PM, you thoughtfully wrote the following:

 El Viernes, 7 de Octubre de 2005 13:08, Daniel Gerzo escribió:
 1) Update your OpenSSH to 4.2, you can find the port in the
 security/openssh-portable (you can use -DOPENSSH_OVERWRITE_BASE
 option) Note, that this one I prefer more.

 Nice!!! It works perfectly, that was the problem, the ssh version and the logs
 it creates, after installing the one in the ports everything works fine.

I'm glad to hear/read this :)

 Thanks a lot by your help, and of course, for having made this little script,
 it is very helpful :)

You are welcome...

-- 
Sincerely,
  Daniel Gerzo

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


Proxy and make install

2005-10-09 Thread Aguiar Magalhaes
Hi list,

I´m using transparent proxy with squid 

When I command make install some softwares aren´t
downloading the packages

How can I fix it ?

Aguiar








___ 
Promoção Yahoo! Acesso Grátis: a cada hora navegada você acumula cupons e 
concorre a mais de 500 prêmios! Participe! http://yahoo.fbiz.com.br/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cheap Hardware for Home Network

2005-10-09 Thread RW
On Sunday 09 October 2005 10:18, Live-Wire wrote:
 I'm building a new box specifically do take care of a lot of things on
 my home network; dns, qmail,
 apache, sftp, printer server, a fileserver, etc. Some of the services,
 like apache, will also be exposed to
 the internet, but only for the use of friends and family. And most
 important, I'm doing this all on the cheap -

 I'm hellbent on AMD, and the Sempron 3100+ (754) is looking pretty
 sharp. I have a GeForce4 Ti 4600 lying

 So again, this is a nice opportunity to buy hardware specifically
 tailored for what I am using it for - I have zero
 concern for expandability. What is the best fit?


The system you mention seems to be completly out of step  with what you want 
from it. 

If you want a server that's on most or all  of the day and runs such an 
undemanding load, you would be better off checking out some cheap, slow , 
low-power machines. With a desktop machine such as you specify, the electrity 
may well be a major part of the total cost over several years. Low power cpus 
also run much quieter, with little or no fan noise.

I don't see why you need graphics at all.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cheap Hardware for Home Network

2005-10-09 Thread Chris
RW wrote:
 On Sunday 09 October 2005 10:18, Live-Wire wrote:
 
I'm building a new box specifically do take care of a lot of things on
my home network; dns, qmail,
apache, sftp, printer server, a fileserver, etc. Some of the services,
like apache, will also be exposed to
the internet, but only for the use of friends and family. And most
important, I'm doing this all on the cheap -
 
 
I'm hellbent on AMD, and the Sempron 3100+ (754) is looking pretty
sharp. I have a GeForce4 Ti 4600 lying

So again, this is a nice opportunity to buy hardware specifically
tailored for what I am using it for - I have zero
concern for expandability. What is the best fit?
 
 
 
 The system you mention seems to be completly out of step  with what you want 
 from it. 
 
 If you want a server that's on most or all  of the day and runs such an 
 undemanding load, you would be better off checking out some cheap, slow , 
 low-power machines. With a desktop machine such as you specify, the electrity 
 may well be a major part of the total cost over several years. Low power cpus 
 also run much quieter, with little or no fan noise.
 
 I don't see why you need graphics at all.

Correct - for a very long time, I used a Compaq Small Form Factor (450
Mhz w/256 RAM and 10 gig drive and a 4 meg video) to do just about what
the op is asking for.

Now adays, he could find nearly the same hardware in a complete box for
in the 50 - 100 dollar range.

I agree - what he has now is overkill for what he wants to do. What he
has now would make a nice workstation tho.


-- 
Best regards,
Chris

When you do not know what you are going, do it neatly.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


make.conf need --disable-nls or NO_LOCALE settings ?

2005-10-09 Thread Hanno Krusken
Hi all,

running FreeBSD-5.4-RELENG-p7 with a custom kernel on a laptop, I would like to 
disable ALL non english building language on the system incl. for all the 
installed ports.

I can not find any article about settings for the /etc/make.conf file, is 
there some thing like NO_LOCALE, WITHOUT_NLS or global 
CONFIGURE_ARGS+=--disable-nls witch can be used in single port Makefile 
configurations.

I would like to use any thing like ?+=--disable-nls for my 
/etc/make.conf to include to buildworld, make install and portupgrade 
-rRa with out getting all the ~/local folders cluttered up.

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


Java w/ Firefox

2005-10-09 Thread Chris
Suggestion on some sorta plugin for Firefox so Java and js website allow
me access?

-- 
Best regards,
Chris

If you fool around with a thing for very long you will
screw it up.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


portmanager

2005-10-09 Thread Michael Lednev
Hello, freebsd-questions.

anyone  tried  to  run  portmanager  from  crontab?  as for me it just
coredumps, what am i doing wrong? its simply 0 0 * * * portmanager -s

-- 
Best regards,
 Michael  mailto:[EMAIL PROTECTED]

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


Re: portmanager

2005-10-09 Thread Chris
Michael Lednev wrote:
 Hello, freebsd-questions.
 
 anyone  tried  to  run  portmanager  from  crontab?  as for me it just
 coredumps, what am i doing wrong? its simply 0 0 * * * portmanager -s
 

Try this:

0 0 * * * /usr/local/bin/portmanager -s


-- 
Best regards,
Chris

The lagging activity in a project will invariably be found
in the area where the highest overtime rates lie waiting.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portmanager

2005-10-09 Thread Michael Lednev
Hello, Chris.

On 9 îêòÿáðÿ 2005 ã., 19:01:10 you wrote:

C Michael Lednev wrote:
 Hello, freebsd-questions.
 
 anyone  tried  to  run  portmanager  from  crontab?  as for me it just
 coredumps, what am i doing wrong? its simply 0 0 * * * portmanager -s
 

C Try this:

C 0 0 * * * /usr/local/bin/portmanager -s


portmanager 0.2.9_8 is running in DEBUG mode multiple instances of
portmanager is now possible, a second instance will damage data bases so
use caution

Segmentation fault (core dumped)

problem is not in wrong path but its portmanager itself

-- 
Best regards,
 Michael  mailto:[EMAIL PROTECTED]

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


port version

2005-10-09 Thread eoghan

Hello
I have done some searching but not really found my answer. I was  
wondering if there is a way to check port version? I cvsup'd my ports  
and id like to check version of some ports before I install them...
I know many have the version in the dir like mysql. But for example / 
usr/ports/X11/kde3/
I dont know if this is 3.4 or 3.5? I have checked the make file...  
But I dont see the version.

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


Re: port version

2005-10-09 Thread Micah

eoghan wrote:

Hello
I have done some searching but not really found my answer. I was  
wondering if there is a way to check port version? I cvsup'd my ports  
and id like to check version of some ports before I install them...
I know many have the version in the dir like mysql. But for example / 
usr/ports/X11/kde3/
I dont know if this is 3.4 or 3.5? I have checked the make file...  But 
I dont see the version.

Thanks
Eoghan


There may be easier ways, but this is how I check. For regular ports 
(your example is a metaport) you can check distinfo to see which version 
of the source files it's downloading.  You can also check 
www.freshports.org and see there along with other useful information. 
According to freshports, the kde3 in a recently updated ports tree is 3.4.2.


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


Patching to FreeBSD 5.4-p7

2005-10-09 Thread Deepak Naidu
Hi,
 I want to know ow to upgarde or patch my FreeBSD 5.4 version to FreeBSD 
5.4-p7
 
Cheers,
Deepak Naidu.


-
How much free photo storage do you get? Store your holiday snaps for FREE with 
Yahoo! Photos. Get Yahoo! Photos
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fxp0 problem with 6Beta?

2005-10-09 Thread Brian A. Seklecki
Be sure to CC: the list on these responses.  Someone else may have
ideas.

Your results below are indeed of concern.

What you need to do is have two terminals open on either machine.  One
for ping'ing, one for watching tcpdump(8) on.  You want to look for ARP
who-as and is at packets on either side.

Process of elimination:

Q: On the same hardware this problem doesn't occur with an older
version, correct?

Q: Can you eliminate the router/switch combo as a variable by using a
cross-over cable, temporarily?

~BAS

On Sun, 2005-10-09 at 11:09, Bdrawyah wrote:
 On Thu Oct  6  1:22 , 'Brian A. Seklecki' [EMAIL PROTECTED] sent:
 
 Something strange going on in your network if your clients aren't ARP'ing 
 each other.
 
 
 Sorry to trouble you again but I have been experimenting with arp -an and it 
 seems to me that after 
 boot up both 192.168.0.5 and 192.168.0.7 can only see the router 192.168.0.1.
 When I ping from 192.168.0.7 to 0.1 arp -an sees only 0.1 but when I ping to 
 0.5 and then arp -an I see 
 0.5 correctly as well. 
 Isn't so successful pinging from 0.5 to 0.7 though; output from 0.5 below.
 Does this suggest anything to you?
 Thanks,
 Bruce
 
 501: $ arp -an
 ? (192.168.0.1) at 00:0f:b5:16:dd:b6 on rl0 [ethernet]
 [EMAIL PROTECTED]  /usr/home/bruceh
 502: $ ping 192.168.0.1
 PING 192.168.0.1 (192.168.0.1): 56 data bytes
 64 bytes from 192.168.0.1: icmp_seq=0 ttl=255 time=0.865 ms
 64 bytes from 192.168.0.1: icmp_seq=1 ttl=255 time=0.771 ms
 64 bytes from 192.168.0.1: icmp_seq=2 ttl=255 time=0.768 ms
 ^C
 --- 192.168.0.1 ping statistics ---
 3 packets transmitted, 3 packets received, 0% packet loss
 round-trip min/avg/max/stddev = 0.768/0.801/0.865/0.045 ms
 [EMAIL PROTECTED]  /usr/home/bruceh
 503: $ arp -an
 ? (192.168.0.1) at 00:0f:b5:16:dd:b6 on rl0 [ethernet]
 [EMAIL PROTECTED]  /usr/home/bruceh
 504: $ ping 192.168.0.7
 PING 192.168.0.7 (192.168.0.7): 56 data bytes
 ping: sendto: Host is down
 ping: sendto: Host is down
 ^C
 --- 192.168.0.7 ping statistics ---
 8 packets transmitted, 0 packets received, 100% packet loss
 [EMAIL PROTECTED]  /usr/home/bruceh
 505: $ arp -an
 ? (192.168.0.1) at 00:0f:b5:16:dd:b6 on rl0 [ethernet]
 ? (192.168.0.7) at (incomplete) on rl0 [ethernet]
 
 

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


Re: Patching to FreeBSD 5.4-p7

2005-10-09 Thread David Kirchner
On 10/9/05, Deepak Naidu [EMAIL PROTECTED] wrote:
 Hi,
  I want to know ow to upgarde or patch my FreeBSD 5.4 version to FreeBSD 
 5.4-p7

 Cheers,
 Deepak Naidu.

The common response to this is that it's in the handbook. I'm trying
to find it there, though, and am having a lot of trouble. upgrade
and patch search terms don't find it. There is some mention of using
cvsup in Cutting edge, but given the title I don't think that's what
is recommended for everyone.

I could just be missing the magic search keyword for this, though.
Maybe someone here has it?

In any case, I believe you can run cvsup, using the example file
/usr/share/examples/cvsup/standard-supfile , using the tag RELENG_5_4
. I'm not exactly sure what the official patch recommendation is
though.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: port version

2005-10-09 Thread David Kirchner
On 10/9/05, eoghan [EMAIL PROTECTED] wrote:
 Hello
 I have done some searching but not really found my answer. I was
 wondering if there is a way to check port version? I cvsup'd my ports
 and id like to check version of some ports before I install them...
 I know many have the version in the dir like mysql. But for example /
 usr/ports/X11/kde3/
 I dont know if this is 3.4 or 3.5? I have checked the make file...
 But I dont see the version.
 Thanks
 Eoghan

pkg_info, which is a part of the base system, will parse the package
database (/var/db/pkg) and tell you what you want to know, I believe.
I don't know how well it works for meta packages such as kde or
gnome, but it may help you out.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Wine 20050930 on FreeBSD 6.0-BETA5

2005-10-09 Thread Andrew P.
I posted this earlier to ports@ but got no
response.

Has anyone got the subj running?

It seems to work for me, but every time I try to
run any program it rebuilds font metrics spitting
out some fixme's about unknown encodings and
registries, which is truly annoying.

I found those missing registries and encodings
present at /usr/X11R6/lib/X11/fonts/encondins,
but wine doesn't want to see them.

Any thoughts, please?


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


Re: Patching to FreeBSD 5.4-p7

2005-10-09 Thread Micah

David Kirchner wrote:

On 10/9/05, Deepak Naidu [EMAIL PROTECTED] wrote:


Hi,
I want to know ow to upgarde or patch my FreeBSD 5.4 version to FreeBSD 
5.4-p7

Cheers,
Deepak Naidu.



The common response to this is that it's in the handbook. I'm trying
to find it there, though, and am having a lot of trouble. upgrade
and patch search terms don't find it. There is some mention of using
cvsup in Cutting edge, but given the title I don't think that's what
is recommended for everyone.

I could just be missing the magic search keyword for this, though.
Maybe someone here has it?

In any case, I believe you can run cvsup, using the example file
/usr/share/examples/cvsup/standard-supfile , using the tag RELENG_5_4
. I'm not exactly sure what the official patch recommendation is
though.


When I did it I followed the directions in Cutting edge only I used 
the RELENG_5_4 tag.


Also, freebsd-update http://www.daemonology.net/freebsd-update/ is 
supposed to allow you to install security patches.  It's in the ports 
under /usr/ports/security/freebsd-update.


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


Re: Cheap Hardware for Home Network

2005-10-09 Thread Scott Mitchell
On Sun, Oct 09, 2005 at 01:56:52PM +0100, RW wrote:
 On Sunday 09 October 2005 10:18, Live-Wire wrote:
  I'm building a new box specifically do take care of a lot of things on
  my home network; dns, qmail,
  apache, sftp, printer server, a fileserver, etc. Some of the services,
  like apache, will also be exposed to
  the internet, but only for the use of friends and family. And most
  important, I'm doing this all on the cheap -
 
  I'm hellbent on AMD, and the Sempron 3100+ (754) is looking pretty
  sharp. I have a GeForce4 Ti 4600 lying
 
  So again, this is a nice opportunity to buy hardware specifically
  tailored for what I am using it for - I have zero
  concern for expandability. What is the best fit?
 
 
 The system you mention seems to be completly out of step  with what you want 
 from it. 
 
 If you want a server that's on most or all  of the day and runs such an 
 undemanding load, you would be better off checking out some cheap, slow , 
 low-power machines. With a desktop machine such as you specify, the electrity 
 may well be a major part of the total cost over several years. Low power cpus 
 also run much quieter, with little or no fan noise.
 
 I don't see why you need graphics at all.

Agreed.

I have a machine based around a VIA ME6000 Mini-ITX board serving NFS,
Samba, printing, DNS, DHCP, NIS, HTTP, SMTP, IMAP, etc. for my home network
and a few outside users.  This board has a 600MHz VIA Eden CPU (fanless -
completely silent) and even this is way overkill for what I'm using it
for.  The only thing that uses any real CPU bandwidth is SpamAssassin.

A friend has a 200MHz Pentium Pro machine doing much the same job.  This
too is more than adequate, although it could use a bit more RAM.

Both of these machines are running headless - no need for graphics.

A cheap used laptop is also a possibility for this kind of thing.

IMHO your top priority should be reliability - this is a machine that will
be on all the time, you'll come to rely on it, so it will be a complete
pain when it falls over, especially if you're not physically there to
reboot it.  You might want to think about running mirrored disks, so you
don't lose the whole machine when a disk dies, as it inevitably will.

Cheers,

Scott

-- 
===
Scott Mitchell   | PGP Key ID | Eagles may soar, but weasels
Cambridge, England   | 0x54B171B9 |  don't get sucked into jet engines
scott at fishballoon.org | 0xAA775B8B |  -- Anon
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: rt client denied by server configuration

2005-10-09 Thread Mike Friedman

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, 9 Oct 2005 at 14:17 (+0200), John Oxley wrote:

I'm trying to install rt on FreeBSD 5.4 with Apache 2.  I have installed 
the port, and configured it.  I have also setup Apache like this:


...

Apache starts okay, but when I go to http://rt.yoafrica.com/ the page
says:
Forbidden

You don't have permission to access / on this server.
Apache/2.0.54 (FreeBSD) PHP/4.3.11 mod_fastcgi/2.4.2 Server at rt.yoafrica.com 
Port 80

and in /var/log/httpd/rt-error_log there is:

[Sun Oct 09 14:18:18 2005] [error] [client 196.44.177.50] client denied by 
server configuration: /usr/local/rt3/bin/mason_handler.fgci
[Sun Oct 09 14:18:18 2005] [error] [client 196.44.177.50] client denied by 
server configuration: /usr/local/rt3/bin/mason_handler.fgci

Does anyone know what I am doing wrong ?


John,

This is not a FreeBSD problem;  it's really an Apache config issue, 
assuming you're having the same problem I had using the same RT install 
environment as yours.


In your httpd.conf, see if the following appears:

 Directory /
 AllowOverride None
 Order Deny,Allow
 Deny from all
 /Directory

If so, then comment out (or remove) the 'Deny from all' directive, which 
is causing very strict default access control for the DocumentRoot 
directory.  (If you choose, you can always define your own Allow, Order 
and Deny directives for particular directories in your virtual home).


At least this was the source of my symptoms, which were the same as yours.

Mike

_
Mike Friedman   System and Network Security
[EMAIL PROTECTED]  2484 Shattuck Avenue
1-510-642-1410  University of California at Berkeley
http://ack.Berkeley.EDU/~mikef  http://security.berkeley.edu
_

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8

iQA/AwUBQ0lUUq0bf1iNr4mCEQKZkgCbBh+IHlrlsq9Hfb4ifE7G3Sc1H8UAn1iQ
MktOnX09SMIQJEqgokdDRldx
=a2rI
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portmanager

2005-10-09 Thread Alistair Sutton
On 09/10/05, Michael Lednev [EMAIL PROTECTED] wrote:
 Hello, Chris.

 On 9 îêòÿáðÿ 2005 ã., 19:01:10 you wrote:

 C Michael Lednev wrote:
  Hello, freebsd-questions.
 
  anyone  tried  to  run  portmanager  from  crontab?  as for me it just
  coredumps, what am i doing wrong? its simply 0 0 * * * portmanager -s
 

 C Try this:

 C 0 0 * * * /usr/local/bin/portmanager -s

 
 portmanager 0.2.9_8 is running in DEBUG mode multiple instances of
 portmanager is now possible, a second instance will damage data bases so
 use caution
 
 Segmentation fault (core dumped)

 problem is not in wrong path but its portmanager itself

What version of FreeBSD are you running?

At the moment, portmanager dumps core on FreeBSD 6 (and presumably
-CURRENT), the author is aware of it and AFAIK is currently trying to
track down why and where.

Installing portmanager from a 5.4 package works though (as long as you
have the 5.x libs installed).

Al
--
GPG/PGP: http://www.no-dns-yet.org.uk/~everlone/pubkey.gpg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Newbie Questions

2005-10-09 Thread makisupa
On Fri, 2005-10-07 at 20:00 -0500, Kevin Kinsey wrote:
 makisupa wrote:
 
 Been using Linux awhile...recently migrated a laptop to FreeBSD.  Its a
 bit old and BSD runs nicely on the deprecated hardware.  I am using
 6.0-BETA 5 despite warning to the contrary because my atheros based wifi
 card works well -- i had all kinds of trouble in 5.4.  Running gnome
 2.12.
 My newbie questions:
 
 1.  I am pretty sure that FAM is not running.  The newest version of the
 package is installed. I followed the directions from the gnome FAQ and
 the pkg_message. 'killall -HUP inetd' gives me 'no matching processes
 were found.'  
 
   
 
 
 What does `ps -aux | grep inetd` tell you?  Inetd doesn't run
 unless enabled in /etc/rc.conf... and IIRC (I've switched to
 xfce4 from Gnome2), fam runs from inetd, so that could be
 a root (no pun intended) cause of these issues, perhaps?
 IANAE
 
 
OK...after a reading up a bit more i did a 'make deinstall' and 'make
reinstall' of the /devel/fam port.  Before this the output of 'ps -aux |
grep inetd' as user was:
makisupa  3330  0.0  0.1   512   392  p0  R+8:45PM   0:00.00 grep
inetd 

There was no output as root.  Now there is no output as user and as root
the output is:
root  1895  0.0  0.0   348   228  p0  L+1:04PM   0:00.00 grep
inetd

Still getting FAM errors and same weirdness...starting to drive me nuts!
Thanks everyone for your help...

mak


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


Re: request for information

2005-10-09 Thread Jonathan Chen
On Sun, Oct 09, 2005 at 09:00:14AM +0200, khaled guenaoui wrote:
 does bsd supports applications developed in jsp (java server page) or dot net 
 ?
 

JSP will work if you've installed java  tomcat. .NET support is
questionable, even with Mono.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
The Internet: an empirical test of the idea that a million monkeys
banging on a million keyboards can produce Shakespeare
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


bad superblock question

2005-10-09 Thread Mr. Darren
I had an ide cable go bad, the harddrive was unable to
mount.  I have since replaced the ide cable.  when I
fsck I use the alternative superblock at 32 I believe.
 How do I copy the alternative to the non-existant
main?

-Darren




__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mmap versus malloc

2005-10-09 Thread Jonathon McKitrick

If I want to write an assembly language program without using libc, is it ok
to use mmap and a file descriptor of -1 to allocate memory?

jm
--
What's good for the goose is good for the gander.
What the hell is a gander, anyway?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CDROM Unknown Transfer Error crashes system

2005-10-09 Thread Dmitry Mityugov
On 10/9/05, Wayne Witzke [EMAIL PROTECTED] wrote:
 Hello everybody,

 I've just installed FreeBSD on my laptop (decided I wanted a more
 developer-friendly computer).  Aside from what appear to be the standard
 newbie problems, every thing's gone remarkably well, except for this:

 I have a CD-RW/DVD-ROM drive on my laptop.  As a CDROM it had been
 working perfectly well since the initial install about a week and a half
 ago.  It read CDs and DVDs without incident, and did so for hours and
 hours (which it was forced to do because I've been listening to music
 pretty much non-stop since I installed the system).  The burner did not
 work, but after the grueling process of opening up the FreeBSD handbook
 and actually reading how to make it possible to burn CDs, that started
 working as well.  That is, I recompiled the kernel with the atapicam
 module, changed permissions and set up links in the devfs.conf file in
 /etc, and set the suid on cdrecord and cdrdao.  Worked like a charm.
 Burned my first CD, and it was beautiful.  Then I think I went home.

 Yesterday, while not burning any CDs at all, just listening to music
 using kscd while I wrote perl script, my computer suddenly reboots.
...

This's the last day I am reading these archives. I believe you'll have
to find a better OS that suits your needs.

--
Dmitry Mityugov, St. Petersburg, Russia
I ignore all messages with confidentiality statements

We live less by imagination than despite it - Rockwell Kent, N by E
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: port version

2005-10-09 Thread eoghan

On 9 Oct 2005, at 17:02, David Kirchner wrote:


On 10/9/05, eoghan [EMAIL PROTECTED] wrote:


Hello
I have done some searching but not really found my answer. I was
wondering if there is a way to check port version? I cvsup'd my ports
and id like to check version of some ports before I install them...
I know many have the version in the dir like mysql. But for example /
usr/ports/X11/kde3/
I dont know if this is 3.4 or 3.5? I have checked the make file...
But I dont see the version.
Thanks
Eoghan



pkg_info, which is a part of the base system, will parse the package
database (/var/db/pkg) and tell you what you want to know, I believe.
I don't know how well it works for meta packages such as kde or
gnome, but it may help you out.



Thanks all. Will check out these suggestions.
Eoghan

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


Re: fxp0 problem with 6Beta?

2005-10-09 Thread Bdrawyah
On Sun Oct  9 16:58 , 'Brian A. Seklecki' [EMAIL PROTECTED] sent:
Process of elimination:

Q: On the same hardware this problem doesn't occur with an older
version, correct?
Installed 5.3 on 0.7, problem remains. 0.5 runs 5.4 incidentally.
Changed the router identification protocol direction on 0.1 from None to 
Both (RIP version is 1) to 
no effect.
Returned the router to the default settings to no effect (other than losing 
connection to the internet
).
Router is Netgear 834G running V2.10.22 as of Oct 6.


What you need to do is have two terminals open on either machine.  One
for ping'ing, one for watching tcpdump(8) on.  You want to look for ARP
who-as and is at packets on either side.

Tricky if you want me to have 2 monitors each running 2 terminals since 0.7 was 
only ever supposed to 
be a remotely administered bit of fun!
Here are some ping/tcpdump results:
0.5 pings 0.1
17:32:51.810068 arp who-has 192.168.0.5 tell 192.168.0.1
17:32:51.810138 arp reply 192.168.0.5 is-at 4c:00:10:74:ac:56
17:32:51.864133 IP 192.168.0.5  192.168.0.1: icmp 64: echo request seq 5
17:32:51.864733 IP 192.168.0.1  192.168.0.5: icmp 64: echo reply seq 5
17:32:52.872471 IP 192.168.0.5  192.168.0.1: icmp 64: echo request seq 6
17:32:52.873167 IP 192.168.0.1  192.168.0.5: icmp 64: echo reply seq 6

0.5 pings 0.7
505: $ ping 192.168.0.7
PING 192.168.0.7 (192.168.0.7): 56 data bytes
ping: sendto: Host is down
ping: sendto: Host is down
^C
--- 192.168.0.7 ping statistics ---
26 packets transmitted, 0 packets received, 100% packet loss

box5# tcpdump -i rl0 -n 
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on rl0, link-type EN10MB (Ethernet), capture size 96 bytes
^C
0 packets captured
0 packets received by filter
0 packets dropped by kernel

0.7 pings 0.1
17:43:54.077634 IP 192.168.0.7  192.168.0.1: ICMP echo request, id 60161, seq 
4, length 64
17:43:54.078336 IP 192.168.0.1  192.168.0.7: ICMP echo reply, id 60161, seq 4, 
length 64
17:43:55.071703 arp who-has 192.168.0.7 tell 192.168.0.1
17:43:55.071749 arp reply 192.168.0.7 is-at 00:02:a5:53:cb:3f
17:43:55.078631 IP 192.168.0.7  192.168.0.1: ICMP echo request, id 60161, seq 
5, length 64
17:43:55.079318 IP 192.168.0.1  192.168.0.7: ICMP echo reply, id 60161, seq 5, 
length 64

0.7 pings 0.5
17:44:41.459605 arp who-has 192.168.0.5 tell 192.168.0.7
17:44:41.459818 arp reply 192.168.0.5 is-at 4c:00:10:74:ac:56
17:44:41.459878 IP 192.168.0.7  192.168.0.5: ICMP echo request, id 64257, seq 
0, length 64
17:44:41.460069 IP 192.168.0.5  192.168.0.7: ICMP echo reply, id 64257, seq 0, 
length 64
17:44:42.460566 IP 192.168.0.7  192.168.0.5: ICMP echo request, id 64257, seq 
1, length 64
17:44:42.460731 IP 192.168.0.5  192.168.0.7: ICMP echo reply, id 64257, seq 1, 
length 64



Q: Can you eliminate the router/switch combo as a variable by using a
cross-over cable, temporarily?

Cross-over cable? Same as standard network cable? If so is there a special 
setup?
Bruce

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


Re: portmanager

2005-10-09 Thread Michael Lednev
Hello, Alistair.

On 9 îêòÿáðÿ 2005 ã., 21:35:27 you wrote:

AS What version of FreeBSD are you running?

AS At the moment, portmanager dumps core on FreeBSD 6 (and presumably
AS -CURRENT), the author is aware of it and AFAIK is currently trying to
AS track down why and where.

AS Installing portmanager from a 5.4 package works though (as long as you
AS have the 5.x libs installed).

that's another issue, currently portmanager from ports runs fine on
6.0-current in interactive environment, but coredumps from cron or
something similar. the same behaviour on on 5.4-stable.

-- 
Best regards,
 Michael  mailto:[EMAIL PROTECTED]

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


Re: portmanager

2005-10-09 Thread Alistair Sutton
On 09/10/05, Michael Lednev [EMAIL PROTECTED] wrote:
 Hello, Alistair.

 that's another issue, currently portmanager from ports runs fine on
 6.0-current in interactive environment, but coredumps from cron or
 something similar. the same behaviour on on 5.4-stable.

Ah, my bad.

I forgot that the version in ports is different from a development
snapshot that I've been trying to get working. :-)

Al
--
GPG/PGP: http://www.no-dns-yet.org.uk/~everlone/pubkey.gpg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mmap versus malloc

2005-10-09 Thread Chuck Swiger

Jonathon McKitrick wrote:

If I want to write an assembly language program without using libc, is it ok
to use mmap and a file descriptor of -1 to allocate memory?


How about sbrk()?


jm
--
What's good for the goose is good for the gander.
What the hell is a gander, anyway?


A male goose... :-)

--
-Chuck

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


FireFox/Mozilla and CUPS/LPD weirdness

2005-10-09 Thread O. Hartmann

Hello.
I reported problems with printing from Firefox and Mozilla in the past. 
Faulty DNS configurations were suspected in the first line but I can 
confess that our network is setup right way.


I figured out that bot Mozilla and Firefox try to print via CUPS (via 
sockstat, firefox process trys to connect to 127.0.0.1:631).


On our servers w e do not use CUPS, still LPD. How to configure 
Firefox/Mozilla using LPD instead of CUPS? How to avoid this blind 
preconfiguration being used via the ports collection?


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


Issues compiling latest xorg-x11 release

2005-10-09 Thread Garrett Cooper

Hi,
It appears that I'm having serious trouble compiling the latest  
xorg release. I tried installing something Xaw related (XawPlus and  
libXaw), but both failed to install for me. Any ideas?

Thanks!
-Garrett

Arch/release info:
[EMAIL PROTECTED] uname -a
FreeBSD sprsd 5.4-RELEASE FreeBSD 5.4-RELEASE #5: Wed Jun 22 19:52:09  
PDT 2005 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/CUSTOM  i386


Video card:
Currently headless, but I have an nVidia GeForce4 Ti 4200 plugged  
into it, from time to time.


Compile error message:
cc -o xorgcfg -O2 -pipe -ansi -pedantic -Wno-system-headers - 
Dasm=__asm -Wall -Wpointer-arith -Wundef -L/usr/ports/x11- 
servers/xorg-server/work/xc/exports/lib  -L/usr/X11R6/lib accessx.o   
cards.o config.ocard-cfg.o  expert.ohelp.o   
interface.o keyboard-cfg.o  libc_wrapper.o loader.o  
loadmod.o   monitor-cfg.o   mouse-cfg.o options.o
screen-cfg.oscreen.ostartx.o 
stubs.o text-mode.o vidmode.o   xf86config.o -lxkbui - 
lxkbfile -lxf86config -lXxf86misc   -lXxf86vm -lXaw - 
lXmu -lXt -lSM -lICE -lXext -lX11 -lXt -lSM -lICE -lXpm  - 
L../loader -lxloader -L../dummylib -ldummy -rdynamic - 
lXext -lX11 -lncurses  -lm -L/usr/X11R6/lib -Wl,-rpath,/usr/X11R6/ 
lib -Wl,-rpath-link,/usr/ports/x11-servers/xorg-server/work/xc/ 
exports/lib
/usr/X11R6/lib/libXaw.so: warning: warning: tmpnam() possibly used  
unsafely; consider using mkstemp()

help.o(.text+0xf9): In function `Html_ModeEnd':
: undefined reference to `XawTextSourceClearEntities'
help.o(.text+0x262): In function `Html_AddEntities':
: undefined reference to `XawTextGetSink'
help.o(.text+0x272): In function `Html_AddEntities':
: undefined reference to `XawTextSinkCopyProperty'
help.o(.text+0x29f): In function `Html_AddEntities':
: undefined reference to `XawTextSinkGetProperty'
help.o(.text+0x2ae): In function `Html_AddEntities':
: undefined reference to `XawTextSinkCombineProperty'
help.o(.text+0x2da): In function `Html_AddEntities':
: undefined reference to `XawTextSinkAddProperty'
help.o(.text+0x38b): In function `Html_AddEntities':
: undefined reference to `XawTextSourceAddEntity'
help.o(.text+0x3e7): In function `Html_AddEntities':
: undefined reference to `XawTextSourceAddEntity'
help.o(.text+0x406): In function `Html_AddEntities':
: undefined reference to `XawTextSinkCombineProperty'
help.o(.text+0x41f): In function `Html_AddEntities':
: undefined reference to `XawTextSinkCombineProperty'
help.o(.text+0x513): In function `Html_Commit':
: undefined reference to `XawTextSourceAddEntity'
help.o(.text+0x2877): In function `Help':
: undefined reference to `XawTextSourceClearEntities'
help.o(.text+0x2a80): In function `Help':
: undefined reference to `XawTextSinkConvertPropertyList'
help.o(.text+0x2a98): In function `Help':
: undefined reference to `XawTextGetSink'
help.o(.text+0x2cbd): In function `Html_AArgs':
: undefined reference to `XawTextGetSink'
help.o(.text+0x2cc5): In function `Html_AArgs':
: undefined reference to `XawTextSinkCopyProperty'
help.o(.text+0x2d21): In function `Html_FontArgs':
: undefined reference to `XawTextGetSink'
help.o(.text+0x2d29): In function `Html_FontArgs':
: undefined reference to `XawTextSinkCopyProperty'
*** Error code 1

Stop in /usr/ports/x11-servers/xorg-server/work/xc/programs/Xserver/ 
hw/xfree86/xf86cfg.

*** Error code 1

Stop in /usr/ports/x11-servers/xorg-server/work/xc/programs/Xserver/ 
hw/xfree86.

*** Error code 1

Stop in /usr/ports/x11-servers/xorg-server/work/xc/programs/Xserver.
*** Error code 1

Stop in /usr/ports/x11-servers/xorg-server.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/ 
portupgrade96005.63 make

** Fix the problem and try again.
---  Skipping 'x11/xorg' (xorg-6.8.2) because a requisite package  
'xorg-server-6.8.2' (x11-servers/xorg-server) failed (specify -k to  
force)

** Listing the failed packages (*:skipped / !:failed)
! x11-servers/xorg-server (xorg-server-6.8.2)   (new  
compiler error)

* x11/xorg (xorg-6.8.2)
---  Packages processed: 0 done, 278 ignored, 1 skipped and 1 failed
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Issues compiling latest xorg-x11 release

2005-10-09 Thread Gerard Seibert
On Sun, 9 Oct 2005 13:55:34 -0700, Garrett Cooper [EMAIL PROTECTED]
Subject: Issues compiling latest xorg-x11 release
Wrote these words of wisdom:

 Hi,
  It appears that I'm having serious trouble compiling the latest  
 xorg release. I tried installing something Xaw related (XawPlus and  
 libXaw), but both failed to install for me. Any ideas?
  Thanks!
 -Garrett
 
 Arch/release info:
 [EMAIL PROTECTED] uname -a
 FreeBSD sprsd 5.4-RELEASE FreeBSD 5.4-RELEASE #5: Wed Jun 22 19:52:09  
 PDT 2005 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/CUSTOM  i386
 
 Video card:
 Currently headless, but I have an nVidia GeForce4 Ti 4200 plugged  
 into it, from time to time.
 
 Compile error message:
 cc -o xorgcfg -O2 -pipe -ansi -pedantic -Wno-system-headers - 
 Dasm=__asm -Wall -Wpointer-arith -Wundef -L/usr/ports/x11- 
 servers/xorg-server/work/xc/exports/lib  -L/usr/X11R6/lib accessx.o   
 cards.o config.ocard-cfg.o  expert.ohelp.o   
 interface.o keyboard-cfg.o  libc_wrapper.o loader.o  
 loadmod.o   monitor-cfg.o   mouse-cfg.o options.o
 screen-cfg.oscreen.ostartx.o 
 stubs.o text-mode.o vidmode.o   xf86config.o -lxkbui - 
 lxkbfile -lxf86config -lXxf86misc   -lXxf86vm -lXaw - 
 lXmu -lXt -lSM -lICE -lXext -lX11 -lXt -lSM -lICE -lXpm  - 
 L../loader -lxloader -L../dummylib -ldummy -rdynamic - 
 lXext -lX11 -lncurses  -lm -L/usr/X11R6/lib -Wl,-rpath,/usr/X11R6/ 
 lib -Wl,-rpath-link,/usr/ports/x11-servers/xorg-server/work/xc/ 
 exports/lib
 /usr/X11R6/lib/libXaw.so: warning: warning: tmpnam() possibly used  
 unsafely; consider using mkstemp()
 help.o(.text+0xf9): In function `Html_ModeEnd':
 : undefined reference to `XawTextSourceClearEntities'
 help.o(.text+0x262): In function `Html_AddEntities':
 : undefined reference to `XawTextGetSink'
 help.o(.text+0x272): In function `Html_AddEntities':
 : undefined reference to `XawTextSinkCopyProperty'
 help.o(.text+0x29f): In function `Html_AddEntities':
 : undefined reference to `XawTextSinkGetProperty'
 help.o(.text+0x2ae): In function `Html_AddEntities':
 : undefined reference to `XawTextSinkCombineProperty'
 help.o(.text+0x2da): In function `Html_AddEntities':
 : undefined reference to `XawTextSinkAddProperty'
 help.o(.text+0x38b): In function `Html_AddEntities':
 : undefined reference to `XawTextSourceAddEntity'
 help.o(.text+0x3e7): In function `Html_AddEntities':
 : undefined reference to `XawTextSourceAddEntity'
 help.o(.text+0x406): In function `Html_AddEntities':
 : undefined reference to `XawTextSinkCombineProperty'
 help.o(.text+0x41f): In function `Html_AddEntities':
 : undefined reference to `XawTextSinkCombineProperty'
 help.o(.text+0x513): In function `Html_Commit':
 : undefined reference to `XawTextSourceAddEntity'
 help.o(.text+0x2877): In function `Help':
 : undefined reference to `XawTextSourceClearEntities'
 help.o(.text+0x2a80): In function `Help':
 : undefined reference to `XawTextSinkConvertPropertyList'
 help.o(.text+0x2a98): In function `Help':
 : undefined reference to `XawTextGetSink'
 help.o(.text+0x2cbd): In function `Html_AArgs':
 : undefined reference to `XawTextGetSink'
 help.o(.text+0x2cc5): In function `Html_AArgs':
 : undefined reference to `XawTextSinkCopyProperty'
 help.o(.text+0x2d21): In function `Html_FontArgs':
 : undefined reference to `XawTextGetSink'
 help.o(.text+0x2d29): In function `Html_FontArgs':
 : undefined reference to `XawTextSinkCopyProperty'
 *** Error code 1
 
 Stop in /usr/ports/x11-servers/xorg-server/work/xc/programs/Xserver/ 
 hw/xfree86/xf86cfg.
 *** Error code 1
 
 Stop in /usr/ports/x11-servers/xorg-server/work/xc/programs/Xserver/ 
 hw/xfree86.
 *** Error code 1
 
 Stop in /usr/ports/x11-servers/xorg-server/work/xc/programs/Xserver.
 *** Error code 1
 
 Stop in /usr/ports/x11-servers/xorg-server.
 ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/ 
 portupgrade96005.63 make
 ** Fix the problem and try again.
 ---  Skipping 'x11/xorg' (xorg-6.8.2) because a requisite package  
 'xorg-server-6.8.2' (x11-servers/xorg-server) failed (specify -k to  
 force)
 ** Listing the failed packages (*:skipped / !:failed)
  ! x11-servers/xorg-server (xorg-server-6.8.2)   (new  
 compiler error)
  * x11/xorg (xorg-6.8.2)
 ---  Packages processed: 0 done, 278 ignored, 1 skipped and 1 failed
 [EMAIL PROTECTED]
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


* REPLY SEPARATOR *
On 10/9/2005 5:13:20 PM, Gerard Seibert Replied:

I have had problems in the past with 'xorg' also. The latest version of
the server is 'xorg-server-6.8.2_6'

You might try doing a make clean in the
/usr/ports/x11-servers/xorg-server directory and then deleting any files
in the /usr/ports/distfiles directory. 

Re: Cheap Hardware for Home Network

2005-10-09 Thread Andrew P.
On 10/10/05, Live-Wire [EMAIL PROTECTED] wrote:
 Andrew P. wrote:

 On 10/9/05, Live-Wire [EMAIL PROTECTED] wrote:
 
 
 I'm building a new box specifically do take care of a lot of things on
 my home network; dns, qmail,
 apache, sftp, printer server, a fileserver, etc. Some of the services,
 like apache, will also be exposed to
 the internet, but only for the use of friends and family. And most
 important, I'm doing this all on the cheap -
 for less than$600 (and the less, the better). I was wondering what sort
 of hardware setups people could
 recommend? Priceis the #1 consideration, followed by reliability, then
 speed. But that doesn't mean
 I want to neglect the latter two- what sort of specs should I be
 shooting for? What is necessary for the kind
 of activities I want to do.
 
 I'm hellbent on AMD, and the Sempron 3100+ (754) is looking pretty
 sharp. I have a GeForce4 Ti 4600 lying
 around that I can stick in, but because I want to use 2 SATA 150
 hardrives in RAID 1, finding an AGP 4X
 mobo with 754 and SATA w/ RAID 1 is neigh impossible. So it looks like
 my best bet is to find
 a mobo with onboard gigabit ethernet, video, and sound (only the first
 of which is important), but that still
 limits me apropos the 754 cpu and the SATA.
 
 So again, this is a nice opportunity to buy hardware specifically
 tailored for what I am using it for - I have zero
 concern for expandability. What is the best fit?
 
 Thanks -
 JNK
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 
 
 
 I have Gigabyte K8VT800 Pro motherboard
 (http://www.giga-byte.com/Motherboard/Products/Products_GA-K8VT800%20Pro.htm)
 and Sempron 2500+ (256Kb cache, 64-bit, SSE3)
 on my file-server. For me - it's a wonderful combination.
 With an updated BIOS firmware it supports up to
 10 disk devices (8 IDE + 2 SATA), Gigabit
 network and is rock-solid. I run FreeBSD/i386 on
 it, but I tried amd64 before - and it works great.
 
 It's quite cheap ($60 for the board, $60 for the
 box version of the CPU), and it certainly rocks,
 believe me. BTW, it should support your Ti
 4600!
 
 
 Cheerz,
 Andrew P.
 
 
 
 
 
 Thanks Andrew, but just one question: the specs claim only to have 4 IDE
 slots in addition to the 2 SATA,
 not 8. Am I looking at the same thing as you?

 Thanks,
 JNK


4 IDE slots allow for up to 8 devices, 2 SATA slots allow
2 devices, that sums up to 10.


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


Re: FireFox/Mozilla and CUPS/LPD weirdness

2005-10-09 Thread Andrew P.
On 10/9/05, O. Hartmann [EMAIL PROTECTED] wrote:
 Hello.
 I reported problems with printing from Firefox and Mozilla in the past.
 Faulty DNS configurations were suspected in the first line but I can
 confess that our network is setup right way.

 I figured out that bot Mozilla and Firefox try to print via CUPS (via
 sockstat, firefox process trys to connect to 127.0.0.1:631).

 On our servers w e do not use CUPS, still LPD. How to configure
 Firefox/Mozilla using LPD instead of CUPS? How to avoid this blind
 preconfiguration being used via the ports collection?

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


Personally, I installed the gtklp port and changed
the printer command in Firefox and other application
to gtklp. I don't know how to preconfigure it though.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Happy Hacking keyboard, Emacs, and meta

2005-10-09 Thread Kirk Strauser
I have an older PS2 Happy Hacking Lite Keyboard (love it!), but I'm getting 
reacquainted with Emacs and one aspect of the keyboard is driving me nuts: I 
can't seem to get the diamond keys (like Windows keys) to send only Meta to 
Emacs.

I use KDE on FreeBSD 6.0-BETA5 and have it set to run setxkbmap -option 
-option altwin:meta_win at login.  If I run xev and press those keys, I 
see events like:

KeyPress event, serial 29, synthetic NO, window 0x401,
root 0x9e, subw 0x0, time 110894777, (1067,874), root:(1071,907),
state 0x0, keycode 115 (keysym 0xffe7, Meta_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

  ... and ...

KeyPress event, serial 26, synthetic NO, window 0x401,
root 0x9e, subw 0x0, time 110914901, (651,795), root:(655,828),
state 0x0, keycode 116 (keysym 0xffe8, Meta_R), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

However, if I run Emacs and type C-h k (describe-key) and then M-a, for 
example, I get the error message H-M-s-a is undefined as though the 
keyboard is sending Hyper-Meta-shift(?)-a instead.

I'd like to get this fixed ASAP, as using ESC for Meta for the rest of my life 
doesn't seem too appealing.
-- 
Kirk Strauser


pgpNyVScuZm38.pgp
Description: PGP signature


I am having problem with network

2005-10-09 Thread Jayesh Jayan
Hi,

Most of the freebsd servers which have is showing the below in
/var/log/messages. It filing the message log

Please guide me on what the issue is.

Oct 9 16:31:50 server005 kernel: arplookup
206.123.104.1http://206.123.104.1failed: host is not on local
network
Oct 9 16:32:21 server005 last message repeated 11 times
Oct 9 16:34:22 server005 last message repeated 19 times

Could you please guide me on how to solve this issue 

Thank you in advance.

--
Jayesh Jayan

To Change A System You Have To Be In The System
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


booting original kernel

2005-10-09 Thread Sudheer Gupta
Hi

I am using 4.1 BSD.
Made few changes to the kernel and compiled it. When trying to reboot using
the modified kernel, it throwed some page faults.
So, i booted using the older config namely kernel.old.
I again made few changes and recompiled the kernel with a new config.
Now, trying to boot the kernel, it neither boots with the latest nor the
older one.

How do I boot with original configuration ??

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


Re: Cheap Hardware for Home Network

2005-10-09 Thread Drew Tomlinson

On 10/9/2005 2:18 AM Live-Wire wrote:

I'm building a new box specifically do take care of a lot of things on 
my home network; dns, qmail,
apache, sftp, printer server, a fileserver, etc. Some of the services, 
like apache, will also be exposed to
the internet, but only for the use of friends and family. And most 
important, I'm doing this all on the cheap -
for less than$600 (and the less, the better). I was wondering what 
sort of hardware setups people could
recommend? Priceis the #1 consideration, followed by reliability, then 
speed. But that doesn't mean
I want to neglect the latter two- what sort of specs should I be 
shooting for? What is necessary for the kind

of activities I want to do.

I'm hellbent on AMD, and the Sempron 3100+ (754) is looking pretty 
sharp. I have a GeForce4 Ti 4600 lying
around that I can stick in, but because I want to use 2 SATA 150 
hardrives in RAID 1, finding an AGP 4X
mobo with 754 and SATA w/ RAID 1 is neigh impossible. So it looks like 
my best bet is to find
a mobo with onboard gigabit ethernet, video, and sound (only the first 
of which is important), but that still

limits me apropos the 754 cpu and the SATA.

So again, this is a nice opportunity to buy hardware specifically 
tailored for what I am using it for - I have zero
concern for expandability. What is the best fit? 


You're going way overboard for your requirements.  I'm running all of 
this and more on an old Pentium III 600mhz machine.  You can probably 
get the machine you need for free if you ask around.


Drew

--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books,  More!

http://www.alchemistswarehouse.com

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


ports tree problem

2005-10-09 Thread Hentai Pantsu
I was forced to cvs the ports tree and now whenever i try to run bpm
(it's a graphical tools for ports install and so on) it core dumps
while reading the ports tree/index.
Not even these commands have solved my nightmares
portsdb -Uu
pkgdb -Ffuv

I'm considering to portupgrade -PaRr my system, but i'm starting to
get sick of all this deja-vus of waiting for a port to build, and then
an error pops, and then it breaks something else... -g-

But i honestly suspect the portupgrade won't solve this particular
problem, since it doesn't seem to be a dependency problem; because it
crashes when it's reading the ports tree


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


RE: booting original kernel

2005-10-09 Thread Siriphan Brigder

This page from the handbook will hopefully help you:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-troub
le.html

Good luck!

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sudheer Gupta
Sent: 09 October 2005 22:51
To: freebsd-questions@freebsd.org
Subject: booting original kernel


Hi

I am using 4.1 BSD.
Made few changes to the kernel and compiled it. When trying to reboot using
the modified kernel, it throwed some page faults.
So, i booted using the older config namely kernel.old.
I again made few changes and recompiled the kernel with a new config.
Now, trying to boot the kernel, it neither boots with the latest nor the
older one.

How do I boot with original configuration ??

Regards
Sudheer
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
--
This email has been verified as Virus free
Virus Protection and more available at http://www.plus.net
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.13/126 - Release Date: 09/10/2005

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.13/126 - Release Date: 09/10/2005

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


Re: port version

2005-10-09 Thread Randy Pratt
On Sun, 09 Oct 2005 08:30:26 -0700
Micah [EMAIL PROTECTED] wrote:

 eoghan wrote:
  Hello
  I have done some searching but not really found my answer. I was  
  wondering if there is a way to check port version? I cvsup'd my ports  
  and id like to check version of some ports before I install them...
  I know many have the version in the dir like mysql. But for example / 
  usr/ports/X11/kde3/
  I dont know if this is 3.4 or 3.5? I have checked the make file...  But 
  I dont see the version.
  Thanks
  Eoghan
 
 There may be easier ways, but this is how I check. For regular ports 
 (your example is a metaport) you can check distinfo to see which version 
 of the source files it's downloading.  You can also check 
 www.freshports.org and see there along with other useful information. 
 According to freshports, the kde3 in a recently updated ports tree is 3.4.2.
 
 HTH,
 Micah

I think what you may be asking for can be found using the ports
Make variables, for example:

cd /usr/ports/x11/kde3
make -V PKGNAME

The above returns kde-3.4.2 on my system.  Of course, there are
more ports Make variables which can be found in:

/usr/ports/Mk/bsd.port.mk

HTH!

Randy

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


Re: booting original kernel

2005-10-09 Thread Micah

Siriphan Brigder wrote:

This page from the handbook will hopefully help you:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-troub
le.html

Good luck!

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sudheer Gupta
Sent: 09 October 2005 22:51
To: freebsd-questions@freebsd.org
Subject: booting original kernel


Hi

I am using 4.1 BSD.
Made few changes to the kernel and compiled it. When trying to reboot using
the modified kernel, it throwed some page faults.
So, i booted using the older config namely kernel.old.
I again made few changes and recompiled the kernel with a new config.
Now, trying to boot the kernel, it neither boots with the latest nor the
older one.

How do I boot with original configuration ??

Regards
Sudheer


From the sounds of it, when you compiled your second kernel your 
kernel.old (the original generic kernel) was overwritten by your broken 
kernel leaving you with two broken kernels and no working kernels to 
boot from.  If that's what happened you either need to reinstall FreeBSD 
or boot the install/rescue cd and try to copy the generic kernel from it.


That handbook page has a lot of good information, but most of it is 
preventative.  The best suggestion is to always keep a working copy of 
the kernel seperate from the kernel.old that FreeBSD makes for you.


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


Re: booting original kernel

2005-10-09 Thread Mark Cullen

Micah wrote:

Siriphan Brigder wrote:


This page from the handbook will hopefully help you:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-troub 


le.html

Good luck!

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sudheer Gupta
Sent: 09 October 2005 22:51
To: freebsd-questions@freebsd.org
Subject: booting original kernel


Hi

I am using 4.1 BSD.
Made few changes to the kernel and compiled it. When trying to reboot 
using

the modified kernel, it throwed some page faults.
So, i booted using the older config namely kernel.old.
I again made few changes and recompiled the kernel with a new config.
Now, trying to boot the kernel, it neither boots with the latest nor the
older one.

How do I boot with original configuration ??

Regards
Sudheer



 From the sounds of it, when you compiled your second kernel your 
kernel.old (the original generic kernel) was overwritten by your broken 
kernel leaving you with two broken kernels and no working kernels to 
boot from.  If that's what happened you either need to reinstall FreeBSD 
or boot the install/rescue cd and try to copy the generic kernel from it.


That handbook page has a lot of good information, but most of it is 
preventative.  The best suggestion is to always keep a working copy of 
the kernel seperate from the kernel.old that FreeBSD makes for you.


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




Isn't there also /kernel.GENERIC that gets installed?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: booting original kernel

2005-10-09 Thread Micah

Mark Cullen wrote:

Micah wrote:


Siriphan Brigder wrote:


This page from the handbook will hopefully help you:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-troub 


le.html

Good luck!

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sudheer Gupta
Sent: 09 October 2005 22:51
To: freebsd-questions@freebsd.org
Subject: booting original kernel


Hi

I am using 4.1 BSD.
Made few changes to the kernel and compiled it. When trying to reboot 
using

the modified kernel, it throwed some page faults.
So, i booted using the older config namely kernel.old.
I again made few changes and recompiled the kernel with a new config.
Now, trying to boot the kernel, it neither boots with the latest nor the
older one.

How do I boot with original configuration ??

Regards
Sudheer




 From the sounds of it, when you compiled your second kernel your 
kernel.old (the original generic kernel) was overwritten by your 
broken kernel leaving you with two broken kernels and no working 
kernels to boot from.  If that's what happened you either need to 
reinstall FreeBSD or boot the install/rescue cd and try to copy the 
generic kernel from it.


That handbook page has a lot of good information, but most of it is 
preventative.  The best suggestion is to always keep a working copy of 
the kernel seperate from the kernel.old that FreeBSD makes for you.


HTH
Micah


Isn't there also /kernel.GENERIC that gets installed?



Not on any of the 5.x releases that I've installed, at least not by 
default.  Maybe other releases?


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


unexplained system hangs - possible smbfs issue ??

2005-10-09 Thread Murray Taylor
Hi all,

I have a system using smbfs that locks up every few hours.

The system is running a cron job every minute, that opens
a directory that is actually a smbfs mounted directory on a
Windows Server 2003 machine. The program reads the directory
looking for a particular file pattern, opens and processes the file
then closes and renames the file.

What this means is that the smnfs mounted directory file count
constantly
increases.

The hang mentioned is just that... the cron job doesnt run, you cannot
login on the console (well you can type root and enter and thats it,
no password prompt appears). If there is an open console session,
a single command can be issued then the console freezes.
The only recovery is a power cycle.

We have run the programs under a test framework to do a month load
of files in an hour, and cant hang things, yet the production box 
(which is technically a better machine, but runs the same OS versions
as the testbed) will hang under 'normal' use every few hours. Its almost
clock regular, except that it is slowly reducing the time between hangs.

We have just purged the Windows directory, and it seems so far to
have extended the hang window.

Are there any known issues with smbfs and large directories???

NB We have other processes that use smbfs without the large number of 
files on the Win systems and these have run ok for years.


It will hang on both these production versions.

FreeBSD xxxhostnamexxx 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Tue May 25
22:47:12 GMT 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

FreeBSD xxxhostnamexxx 4.10-RELEASE-p7 FreeBSD 4.10-RELEASE-p7 #3: Thu
Apr 14 15:34:37 EST 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SVMYSQL3  i386


mjt

-- 
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?

Murray Taylor
Bytecraft Systems
P: +61 3 8710 2555
F: +61 3 8710 2599
D: +61 3 9238 4275
E: [EMAIL PROTECTED]
---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---

***This Email has been scanned for Viruses by MailMarshal.***
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Best Way to Mount a File-Backed Memory Disk at Boot-Time?

2005-10-09 Thread David Marshall
Hi,

I've got a system with a file-backed memory disk that needs to be run
through mdconfig and then mounted at boot-time?  What's the best way
to do this?

Is putting a script into /usr/local/etc/rc.d the best?

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


Re: Issues compiling latest xorg-x11 release

2005-10-09 Thread Garrett Cooper

On Oct 9, 2005, at 2:27 PM, Gerard Seibert wrote:

On Sun, 9 Oct 2005 13:55:34 -0700, Garrett Cooper  
[EMAIL PROTECTED]

Subject: Issues compiling latest xorg-x11 release
Wrote these words of wisdom:



Hi,
 It appears that I'm having serious trouble compiling the latest
xorg release. I tried installing something Xaw related (XawPlus and
libXaw), but both failed to install for me. Any ideas?
 Thanks!
-Garrett

Arch/release info:
[EMAIL PROTECTED] uname -a
FreeBSD sprsd 5.4-RELEASE FreeBSD 5.4-RELEASE #5: Wed Jun 22 19:52:09
PDT 2005 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/CUSTOM  i386

Video card:
Currently headless, but I have an nVidia GeForce4 Ti 4200 plugged
into it, from time to time.

Compile error message:
cc -o xorgcfg -O2 -pipe -ansi -pedantic -Wno-system-headers -
Dasm=__asm -Wall -Wpointer-arith -Wundef -L/usr/ports/ 
x11-

servers/xorg-server/work/xc/exports/lib  -L/usr/X11R6/lib accessx.o
cards.o config.ocard-cfg.o  expert.ohelp.o
interface.o keyboard-cfg.o  libc_wrapper.o loader.o
loadmod.o   monitor-cfg.o   mouse-cfg.o options.o
screen-cfg.oscreen.ostartx.o
stubs.o text-mode.o vidmode.o   xf86config.o -lxkbui -
lxkbfile -lxf86config -lXxf86misc   -lXxf86vm -lXaw -
lXmu -lXt -lSM -lICE -lXext -lX11 -lXt -lSM -lICE - 
lXpm  -

L../loader -lxloader -L../dummylib -ldummy -rdynamic -
lXext -lX11 -lncurses  -lm -L/usr/X11R6/lib -Wl,-rpath,/usr/ 
X11R6/

lib -Wl,-rpath-link,/usr/ports/x11-servers/xorg-server/work/xc/
exports/lib
/usr/X11R6/lib/libXaw.so: warning: warning: tmpnam() possibly used
unsafely; consider using mkstemp()
help.o(.text+0xf9): In function `Html_ModeEnd':
: undefined reference to `XawTextSourceClearEntities'
help.o(.text+0x262): In function `Html_AddEntities':
: undefined reference to `XawTextGetSink'
help.o(.text+0x272): In function `Html_AddEntities':
: undefined reference to `XawTextSinkCopyProperty'
help.o(.text+0x29f): In function `Html_AddEntities':
: undefined reference to `XawTextSinkGetProperty'
help.o(.text+0x2ae): In function `Html_AddEntities':
: undefined reference to `XawTextSinkCombineProperty'
help.o(.text+0x2da): In function `Html_AddEntities':
: undefined reference to `XawTextSinkAddProperty'
help.o(.text+0x38b): In function `Html_AddEntities':
: undefined reference to `XawTextSourceAddEntity'
help.o(.text+0x3e7): In function `Html_AddEntities':
: undefined reference to `XawTextSourceAddEntity'
help.o(.text+0x406): In function `Html_AddEntities':
: undefined reference to `XawTextSinkCombineProperty'
help.o(.text+0x41f): In function `Html_AddEntities':
: undefined reference to `XawTextSinkCombineProperty'
help.o(.text+0x513): In function `Html_Commit':
: undefined reference to `XawTextSourceAddEntity'
help.o(.text+0x2877): In function `Help':
: undefined reference to `XawTextSourceClearEntities'
help.o(.text+0x2a80): In function `Help':
: undefined reference to `XawTextSinkConvertPropertyList'
help.o(.text+0x2a98): In function `Help':
: undefined reference to `XawTextGetSink'
help.o(.text+0x2cbd): In function `Html_AArgs':
: undefined reference to `XawTextGetSink'
help.o(.text+0x2cc5): In function `Html_AArgs':
: undefined reference to `XawTextSinkCopyProperty'
help.o(.text+0x2d21): In function `Html_FontArgs':
: undefined reference to `XawTextGetSink'
help.o(.text+0x2d29): In function `Html_FontArgs':
: undefined reference to `XawTextSinkCopyProperty'
*** Error code 1

Stop in /usr/ports/x11-servers/xorg-server/work/xc/programs/Xserver/
hw/xfree86/xf86cfg.
*** Error code 1

Stop in /usr/ports/x11-servers/xorg-server/work/xc/programs/Xserver/
hw/xfree86.
*** Error code 1

Stop in /usr/ports/x11-servers/xorg-server/work/xc/programs/Xserver.
*** Error code 1

Stop in /usr/ports/x11-servers/xorg-server.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/
portupgrade96005.63 make
** Fix the problem and try again.
---  Skipping 'x11/xorg' (xorg-6.8.2) because a requisite package
'xorg-server-6.8.2' (x11-servers/xorg-server) failed (specify -k to
force)
** Listing the failed packages (*:skipped / !:failed)
 ! x11-servers/xorg-server (xorg-server-6.8.2)   (new
compiler error)
 * x11/xorg (xorg-6.8.2)
---  Packages processed: 0 done, 278 ignored, 1 skipped and 1 failed
[EMAIL PROTECTED]



* REPLY SEPARATOR *
On 10/9/2005 5:13:20 PM, Gerard Seibert Replied:

I have had problems in the past with 'xorg' also. The latest  
version of

the server is 'xorg-server-6.8.2_6'

You might try doing a make clean in the
/usr/ports/x11-servers/xorg-server directory and then deleting any  
files

in the /usr/ports/distfiles directory. Conversely, you could also run
'portsclean -C -D -L to clean up any extraneous garbage. I would now
update your ports to be sure you have the latest version and then try
installing 'xorg-server' again.

--
Gerard Seibert
[EMAIL PROTECTED]


Doing that didn't solve the issue, but 

Re: unexplained system hangs - possible smbfs issue ??

2005-10-09 Thread Garrett Cooper

On Oct 9, 2005, at 5:14 PM, Murray Taylor wrote:


Hi all,

I have a system using smbfs that locks up every few hours.

The system is running a cron job every minute, that opens
a directory that is actually a smbfs mounted directory on a
Windows Server 2003 machine. The program reads the directory
looking for a particular file pattern, opens and processes the file
then closes and renames the file.

What this means is that the smnfs mounted directory file count
constantly
increases.

The hang mentioned is just that... the cron job doesnt run, you cannot
login on the console (well you can type root and enter and thats it,
no password prompt appears). If there is an open console session,
a single command can be issued then the console freezes.
The only recovery is a power cycle.

We have run the programs under a test framework to do a month load
of files in an hour, and cant hang things, yet the production box
(which is technically a better machine, but runs the same OS versions
as the testbed) will hang under 'normal' use every few hours. Its  
almost
clock regular, except that it is slowly reducing the time between  
hangs.


We have just purged the Windows directory, and it seems so far to
have extended the hang window.

Are there any known issues with smbfs and large directories???

NB We have other processes that use smbfs without the large number of
files on the Win systems and these have run ok for years.


It will hang on both these production versions.

FreeBSD xxxhostnamexxx 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Tue  
May 25

22:47:12 GMT 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

FreeBSD xxxhostnamexxx 4.10-RELEASE-p7 FreeBSD 4.10-RELEASE-p7 #3: Thu
Apr 14 15:34:37 EST 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SVMYSQL3  i386


mjt

--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?

Murray Taylor
Bytecraft Systems
P: +61 3 8710 2555
F: +61 3 8710 2599
D: +61 3 9238 4275
E: [EMAIL PROTECTED]


Those are a lot of files =\... a temporary solution might be to  
compress old log files past a particular date, or use an actual  
database system, but yeah... I could see something odd occurring with  
the FreeBSD machine.
However, you didn't provide a lot of information about the FBSD  
machine. What are the specs for it, hardware-wise? Just curious.
Also, what's the approximate amount of files in the directory in  
question?

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


Re: Best Way to Mount a File-Backed Memory Disk at Boot-Time?

2005-10-09 Thread Glenn Dawson

At 06:16 PM 10/9/2005, David Marshall wrote:

Hi,

I've got a system with a file-backed memory disk that needs to be run
through mdconfig and then mounted at boot-time?  What's the best way
to do this?

Is putting a script into /usr/local/etc/rc.d the best?


make an entry in fstab that looks something like:

md /mount/point mfs rw,-F/path/to/backing/store 0 0

-Glenn



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


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


Re: CDROM Unknown transfer [phase reboots] system

2005-10-09 Thread Wayne Witzke

Dmitry Mityugov wrote:

On 10/9/05, Wayne Witzke [EMAIL PROTECTED] wrote:


Hello everybody,

I've just installed FreeBSD on my laptop (decided I wanted a more
developer-friendly computer).  Aside from what appear to be the standard
newbie problems, every thing's gone remarkably well, except for this:

I have a CD-RW/DVD-ROM drive on my laptop.  As a CDROM it had been
working perfectly well since the initial install about a week and a half
ago.  It read CDs and DVDs without incident, and did so for hours and
hours (which it was forced to do because I've been listening to music
pretty much non-stop since I installed the system).  The burner did not
work, but after the grueling process of opening up the FreeBSD handbook
and actually reading how to make it possible to burn CDs, that started
working as well.  That is, I recompiled the kernel with the atapicam
module, changed permissions and set up links in the devfs.conf file in
/etc, and set the suid on cdrecord and cdrdao.  Worked like a charm.
Burned my first CD, and it was beautiful.  Then I think I went home.

Yesterday, while not burning any CDs at all, just listening to music
using kscd while I wrote perl script, my computer suddenly reboots.


...

This's the last day I am reading these archives. I believe you'll have
to find a better OS that suits your needs.

--
Dmitry Mityugov, St. Petersburg, Russia
I ignore all messages with confidentiality statements

We live less by imagination than despite it - Rockwell Kent, N by E
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




Mr. Mityugov,

I am certainly sorry if I've offended you in some way.  It seemed to me 
that I asked a perfectly valid question.  I want to know what caused the 
unknown transfer phase on my CDROM and how to prevent it from 
happening again.  I certainly didn't expect that would cause such anger 
that it would warrant a nasty response.


As for whether FreeBSD suits my needs, it most certainly does.  I've 
been an administrator of Unix-like systems for about 7 years, starting 
with Linux systems back in '97 and working my way up to IRIX a few years 
ago.  I've had FreeBSD installed and working on home systems in the 
past, but it's been a while.  Now, my work laptop had crashed (hard disk 
death), and I was tired having to struggle to get Windows to do what I 
wanted it to do and to keep it up and running more then a month at a 
time.  Took 6 months to make Windows work the way I wanted it to, when 
it only took about a week to get FreeBSD working.  In my experience, 
Unix-like systems have *always* been easier to develop on, have always 
been more stable, and are always faster.  The fact that FreeBSD combines 
these properties with the ease of the ports collection plus what I 
thought was a community of involved people willing to help made it the 
obvious choice.


If by suits your needs you meant your need to listen to music, I 
believe that's beside the point.  The fact that acd0 had an unknown 
transfer phase is troubling regardless of the task it was performing at 
the time, especially considering that it was a kernel message.  I will 
almost certainly need to be able to read from my CDROM drive at some 
point in the future for data transfer purposes, and a reboot during such 
a read would at best cause the data transfer to fail, and at worst it 
could corrupt data on the hard drive in an unrecoverable way.


I also apologize that my subject line wasn't 100% accurate.  It should 
have read CDROM Unknown transfer *phase reboots* system.  The word 
error in the subject line was incorrect, and the assertion that it 
caused a crash was just an assumption on my part. I was unable to find a 
memory dump or any information that should have led me to believe it was 
definitely a crash (and I still can't).  Also, it's an assumption on my 
part that the unknown transfer phase rebooted the system, but that was 
the last entry in the log file and I though (and still think) that it's 
the best indicator for what might have gone wrong.  And the word 
reboot may be incorrect as well.  The system didn't go through the 
shutdown process at all, it simply dropped to a POST.


If your objection was to the length of the description in my original 
message, I though it would be prudent to provide as much detail as I 
could about the steps I had gone through with my CDRW/DVDROM drive so 
that those who might be interested in helping would have as much detail 
as I could provide.  I apologize if what I was hoping to be a playful 
tone offended you, but since I tend to enjoy working on operating 
systems like FreeBSD I tend to write in a manner that expresses that 
feeling.  I also apologize that part of my message, and my actual 
question, was at the bottom of the message after the dmesg output.  That 
format was, I realize, not conducive to 

RE: unexplained system hangs - possible smbfs issue ??

2005-10-09 Thread Murray Taylor
 

---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---

***This Email has been scanned for Viruses by MailMarshal.***
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Garrett Cooper
Sent: Monday, October 10, 2005 11:45 AM
To: FreeBSD Questions
Subject: Re: unexplained system hangs - possible smbfs issue ??

On Oct 9, 2005, at 5:14 PM, Murray Taylor wrote:

 Hi all,

 I have a system using smbfs that locks up every few hours.

 The system is running a cron job every minute, that opens
 a directory that is actually a smbfs mounted directory on a
 Windows Server 2003 machine. The program reads the directory
 looking for a particular file pattern, opens and processes the file
 then closes and renames the file.

 What this means is that the smnfs mounted directory file count
 constantly
 increases.

 The hang mentioned is just that... the cron job doesnt run, you cannot
 login on the console (well you can type root and enter and thats it,
 no password prompt appears). If there is an open console session,
 a single command can be issued then the console freezes.
 The only recovery is a power cycle.

 We have run the programs under a test framework to do a month load
 of files in an hour, and cant hang things, yet the production box
 (which is technically a better machine, but runs the same OS versions
 as the testbed) will hang under 'normal' use every few hours. Its  
 almost
 clock regular, except that it is slowly reducing the time between  
 hangs.

 We have just purged the Windows directory, and it seems so far to
 have extended the hang window.

 Are there any known issues with smbfs and large directories???

 NB We have other processes that use smbfs without the large number of
 files on the Win systems and these have run ok for years.


 It will hang on both these production versions.

 FreeBSD xxxhostnamexxx 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Tue  
 May 25
 22:47:12 GMT 2004
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

 FreeBSD xxxhostnamexxx 4.10-RELEASE-p7 FreeBSD 4.10-RELEASE-p7 #3: Thu
 Apr 14 15:34:37 EST 2005
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SVMYSQL3  i386


 mjt

 -- 
 A: Because it fouls the order in which people normally read text.
 Q: Why is top-posting such a bad thing?
 A: Top-posting.
 Q: What is the most annoying thing on usenet and in e-mail?

 Murray Taylor
 Bytecraft Systems
 P: +61 3 8710 2555
 F: +61 3 8710 2599
 D: +61 3 9238 4275
 E: [EMAIL PROTECTED]

 Those are a lot of files =\... a temporary solution might be to  
compress old log files past a particular date, or use an actual  
database system, but yeah... I could see something odd occurring with  
the FreeBSD machine.
 However, you didn't provide a lot of information about the FBSD  
machine. What are the specs for it, hardware-wise? Just curious.
 Also, what's the approximate amount of files in the directory in  
question?
-Garrett



Hi Garrett,

File count is on the order of 2500 and growing...
They are actually message files about 2 k long, which have to be kept
for 20 days
and we get 300 ish per day.

I am going to mod the processes to move files through the smbfs link
to other holding (rotated) directories on the FBSD box, but am trying to
nail down if this 
file count / access method is the root cause of the problem.


The machines are

CPU: Intel(R) Pentium(R) 4 CPU 2.00GHz (2000.04-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf24  Stepping = 4
 
Features=0x3febfbffFPU,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
real memory  = 266801152 (260548K bytes)
avail memory = 254156800 (248200K bytes)

we have had the same problem on this one

CPU: Intel(R) Xeon(TM) CPU 3.20GHz (3200.13-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf41  Stepping = 1
 
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
  Hyperthreading: 2 logical CPUs
real memory  = 2147274752 (2096948K bytes)
avail memory = 2088042496 (2039104K bytes)

This one was also running the database at the time which got ugly, so
the 

very lightweight samba installation needed ... help ?

2005-10-09 Thread user

I have a freebsd 5.4-RELEASE system running on a 256 megabyte flash card.

This system does not have the ports tree installed on it.

On another 5.4-RELEASE system I went to /usr/ports/net/samba and ran make
package ... the idea was that I would just copy over this package file
and run pkg_add on the system.

However, I now see that make package does not actually create a full
package with all the necessary dependencies ... when I try to run
pkg_add I see:

Package 'samba-2.2.12' depends on 'jpeg-6b_3' with 'graphics/jpeg' origin.
and was not found.
Package 'samba-2.2.12' depends on 'libiconv-1.9.2_1' with
'converters/libiconv' origin.
and was not found.
Package 'samba-2.2.12' depends on 'png-1.2.8_1' with 'graphics/png'
origin.
and was not found.
Package 'samba-2.2.12' depends on 'pkgconfig-0.15.0_1' with
'devel/pkgconfig' origin.
and was not found.
Package 'samba-2.2.12' depends on 'perl-5.8.6_2' with 'lang/perl5.8'
origin.
and was not found.
Package 'samba-2.2.12' depends on 'gettext-0.14.1' with 'devel/gettext'
origin.
and was not found.
Package 'samba-2.2.12' depends on 'popt-1.7' with 'devel/popt' origin.
and was not found.
Package 'samba-2.2.12' depends on 'libgpg-error-1.0_1' with
'security/libgpg-error' origin.
and was not found.
Package 'samba-2.2.12' depends on 'tiff-3.7.1_2' with 'graphics/tiff'
origin.
and was not found.
Package 'samba-2.2.12' depends on 'libgcrypt-1.2.1' with
'security/libgcrypt' origin.
and was not found.
Package 'samba-2.2.12' depends on 'gnutls-1.0.24_1' with 'security/gnutls'
origin.
and was not found.
Package 'samba-2.2.12' depends on 'cups-base-1.1.23.0_3' with
'print/cups-base' origin.
and was not found.


So here is my question:

I won't be using this for printing, I can't see what I need jpeg or tiff
or perl for ... so, is there any more minimal samba that I can build into
a package and then copy over and install on this system with roughly 15
megabytes free on ?

Thanks.

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


yp/nis in jails

2005-10-09 Thread Paul Allen
Is it possible to run yp/nis inside of a jail?  Is is
possible to run the automounter (amd) inside of a jail?

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


Re: Happy Hacking keyboard, Emacs, and meta

2005-10-09 Thread Benjamin Lutz
Kirk Strauser wrote:
 I have an older PS2 Happy Hacking Lite Keyboard (love it!), but I'm getting 
 reacquainted with Emacs and one aspect of the keyboard is driving me nuts: I 
 can't seem to get the diamond keys (like Windows keys) to send only Meta to 
 Emacs.
 
 I use KDE on FreeBSD 6.0-BETA5 and have it set to run setxkbmap -option 
 -option altwin:meta_win at login.  If I run xev and press those keys, I 
 see events like:

 [...]
 
 However, if I run Emacs and type C-h k (describe-key) and then M-a, for 
 example, I get the error message H-M-s-a is undefined as though the 
 keyboard is sending Hyper-Meta-shift(?)-a instead.

This looks like an issue similar to one I've run into once.

You'll need to customize your keyboard layout files, specifically,
/usr/X11R6/lib/X11/xkb/symbols/pc. Try this patch:

-PATCH START-
--- pc.orig Thu Aug 18 20:18:20 2005
+++ pc  Sat Aug 27 13:03:06 2005
@@ -180,11 +180,12 @@
 key META {   [ NoSymbol, Meta_L  ]   };
 modifier_map Mod1   { META };

-key SUPR {   [ NoSymbol, Super_L ]   };
-modifier_map Mod4   { SUPR };
+//key SUPR { [ NoSymbol, Super_L ]   };
+//modifier_map Mod4   { SUPR };
+modifier_map Mod4  { LWIN, RWIN };

-key HYPR {   [ NoSymbol, Hyper_L ]   };
-modifier_map Mod4   { HYPR };
+//key HYPR { [ NoSymbol, Hyper_L ]   };
+//modifier_map Mod4   { HYPR };
 };

 // definition for the PC-AT type 101 key keyboard
-PATCH END-

If that doesn't work, start playing around with the keyboard definition
files. The system's not too hard to understand: numeric keycodes are
assigned symbols in /usr/X11R6/lib/X11/xkb/keycodes, and those symbols
are then assigned Keysyms in /usr/X11R6/lib/X11/xkb/symbols.

Hope this helps.

Cheers
Benjamin


signature.asc
Description: OpenPGP digital signature


freebsd 5.4 and ipnat startup problem...?

2005-10-09 Thread perikillo
  Hi people.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: bad superblock question

2005-10-09 Thread Mr. Darren
I know, however it isn't fixing the first sector, it
uses the backup(already repaired it), and never at any
point does it fix the original.  As a result, I can't
mount it and get it to boot up..  my /var is on this
drive.  and is rather important.  repeatedly running
fsck, it just asks to use the backup at sector 32.  I
can't seem to find any other software to replace it or
edit it.  I've read a fair amount of man pages now.

-Darren

--- Mike Jeays [EMAIL PROTECTED] wrote:

 On Sun, 2005-10-09 at 14:29, Mr. Darren wrote:
  I had an ide cable go bad, the harddrive was
 unable to
  mount.  I have since replaced the ide cable.  when
 I
  fsck I use the alternative superblock at 32 I
 believe.
   How do I copy the alternative to the non-existant
  main?
  
  -Darren
  
  
 __ 
  Yahoo! Mail - PC Magazine Editors' Choice 2005 
  http://mail.yahoo.com
  ___
  freebsd-questions@freebsd.org mailing list
 

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 I think fsck does this automatically - you may have
 to reply y at the
 right place.
 
 




__ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


freebsd 5.4 and ipnat startup problem...?

2005-10-09 Thread perikillo
 Hi people.
   I was using freebsd 4.11 like gateway with ipfilter enable and
ipnat. It was working very good, but after some years start giving me
problems, it was the time to try with 5.4, them i made a fresh freebsd
5.4 installation. Them i update my source and made the buildworld
process and now i have running freebsd 5.4-p7.

   I read the handbook to see if something change in the ipfilter
section but dont see to much different. I change my kernel file to
enable ipfilter plus another secure options, normally on my firewalls
i dont install any X stuff only the necesary stuff to run my
firewalls.

  Setup my /etc/rc.conf to enable ipfilter+ipnat+ipmon+gateway.

  My connection is PPPoE, them i copy those files: ppp.conf +
ppp.linkup from my old machine to my new system and made the changes,
normally the NIC option.

  Copy my ipfilter rules and ipnat rules from my old system to my new
system, them made the neccesary changes on ipfilter.rules because
ipnat.rules dont need to.

   I have on the new system one NIC Intel dual port 82558 Pro/100
Ethernet driver fxp, my PPPoE is conected to fxp1 and my gateway is
fxp0(192.168.0.1).

   Test and after some little changes, i was having my new firewall +
nat system to serve my local machines. I test my windows systems and
it was working, but i found some messages on the startup process:

ioctl(SIOCIPFL6): invalid argument

   Read some ipfilter maillist post and Darren Red say that if we
enable IP6 on the kernel this message disappear, i ask my self, with
do i need that option if only run one simply network with only one
firewall and 2 clients IPv4...?

   Ok, i enable IP6 on the kernel and the message disappear, good.

   Them i found this message:

filter sync'd twice why...? and ipnat wasnt translating
anything to my clients, i can run:

#ipnat -l

And show me the list filter rules, i can ping my local machines
from freebsd and from windows, i can ping internet adreess, like yahoo
or freebsd from my firewall but windows cannot, if i ping with my
firewall outsite address and them run ipnat -l, dosent show any active
sessions...? i think only ipfilter is working but not ipnat...?

Right now i need to manually run ipnat every time i use my
firewall, i have been searching about, but dont see any solution
yet!!!

Another message appear on my startup process:

su: NSSWITCH(nss_method_lookup): nis, passwd_compat, endpwent, not found

   I found with apropos nsswitch.conf, i still dont know about nis to
much, i dont have nothing enable on my rc.conf file about nis, but i
really need this option...?

   Them someone knows how to fix the ipnat problem? and is good to
enable NIS...?

   Thanks all for your time.

   Freebsd 5.4-p7
   ipfilter enable on kernel 3.4.35
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: bad superblock question

2005-10-09 Thread Chris Hill

On Sun, 9 Oct 2005, Mr. Darren wrote:


I know, however it isn't fixing the first sector, it
uses the backup(already repaired it), and never at any
point does it fix the original.  As a result, I can't
mount it and get it to boot up..  my /var is on this
drive.  and is rather important.  repeatedly running
fsck, it just asks to use the backup at sector 32.  I
can't seem to find any other software to replace it or
edit it.  I've read a fair amount of man pages now.


If you have another disk to boot from, try mounting your old /var 
read-only. At least then you could get your data off it.


HTH.


--- Mike Jeays [EMAIL PROTECTED] wrote:


On Sun, 2005-10-09 at 14:29, Mr. Darren wrote:


I had an ide cable go bad, the harddrive was
 unable to mount.  I have since replaced the ide cable.  when I fsck 
I use the alternative superblock at 32 I believe.

 How do I copy the alternative to the non-existant main?


I think fsck does this automatically - you may have
to reply y at the
right place.


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


Re: bad superblock question

2005-10-09 Thread Mr. Darren
It would be nice if I could do that, it only says bad
super block.  Because there currently is no super
block at the begining of the drive.  The rest of the
drive seems intact because fsck can run off the
superblock at sector 32 and finish's.  At no point
does it make a new superblock where I should have one.
If anyone knows how to mount using sector 32.. that
would be nice.

-Darren

--- Chris Hill [EMAIL PROTECTED] wrote:

 On Sun, 9 Oct 2005, Mr. Darren wrote:
 
  I know, however it isn't fixing the first sector,
 it
  uses the backup(already repaired it), and never at
 any
  point does it fix the original.  As a result, I
 can't
  mount it and get it to boot up..  my /var is on
 this
  drive.  and is rather important.  repeatedly
 running
  fsck, it just asks to use the backup at sector 32.
  I
  can't seem to find any other software to replace
 it or
  edit it.  I've read a fair amount of man pages
 now.
 
 If you have another disk to boot from, try mounting
 your old /var 
 read-only. At least then you could get your data off
 it.
 
 HTH.
 
  --- Mike Jeays [EMAIL PROTECTED] wrote:
 
  On Sun, 2005-10-09 at 14:29, Mr. Darren wrote:
 
  I had an ide cable go bad, the harddrive was
   unable to mount.  I have since replaced the ide
 cable.  when I fsck 
  I use the alternative superblock at 32 I
 believe.
   How do I copy the alternative to the
 non-existant main?
 
  I think fsck does this automatically - you may
 have
  to reply y at the
  right place.
 
 --
 Chris Hill   [EMAIL PROTECTED]
 ** [ Busy Expunging | ]
 




__ 
Yahoo! Music Unlimited 
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: very lightweight samba installation needed ... help ?

2005-10-09 Thread Garrett Cooper

On Oct 9, 2005, at 7:51 PM, user wrote:



I have a freebsd 5.4-RELEASE system running on a 256 megabyte flash  
card.


This system does not have the ports tree installed on it.

On another 5.4-RELEASE system I went to /usr/ports/net/samba and  
ran make
package ... the idea was that I would just copy over this package  
file

and run pkg_add on the system.

However, I now see that make package does not actually create a full
package with all the necessary dependencies ... when I try to run
pkg_add I see:

Package 'samba-2.2.12' depends on 'jpeg-6b_3' with 'graphics/jpeg'  
origin.

and was not found.
Package 'samba-2.2.12' depends on 'libiconv-1.9.2_1' with
'converters/libiconv' origin.
and was not found.
Package 'samba-2.2.12' depends on 'png-1.2.8_1' with 'graphics/png'
origin.
and was not found.
Package 'samba-2.2.12' depends on 'pkgconfig-0.15.0_1' with
'devel/pkgconfig' origin.
and was not found.
Package 'samba-2.2.12' depends on 'perl-5.8.6_2' with 'lang/perl5.8'
origin.
and was not found.
Package 'samba-2.2.12' depends on 'gettext-0.14.1' with 'devel/ 
gettext'

origin.
and was not found.
Package 'samba-2.2.12' depends on 'popt-1.7' with 'devel/popt' origin.
and was not found.
Package 'samba-2.2.12' depends on 'libgpg-error-1.0_1' with
'security/libgpg-error' origin.
and was not found.
Package 'samba-2.2.12' depends on 'tiff-3.7.1_2' with 'graphics/tiff'
origin.
and was not found.
Package 'samba-2.2.12' depends on 'libgcrypt-1.2.1' with
'security/libgcrypt' origin.
and was not found.
Package 'samba-2.2.12' depends on 'gnutls-1.0.24_1' with 'security/ 
gnutls'

origin.
and was not found.
Package 'samba-2.2.12' depends on 'cups-base-1.1.23.0_3' with
'print/cups-base' origin.
and was not found.


So here is my question:

I won't be using this for printing, I can't see what I need jpeg or  
tiff
or perl for ... so, is there any more minimal samba that I can  
build into
a package and then copy over and install on this system with  
roughly 15

megabytes free on ?

Thanks.


If you just need to mount smb based shares, I believe the base  
portion of the FreeBSD system will do that for you, via mount_smbfs.

-Garrett

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


Re: Wine 20050930 on FreeBSD 6.0-BETA5

2005-10-09 Thread Andrew P.
On 10/10/05, Frank Jahnke [EMAIL PROTECTED] wrote:
 I have Wine 20050930 running on 6.0-Beta4.  I don't see the issues you
 describe, and it does seem to work a bit better than the previous
 version.  I did use an existing .wine directory, and I used portupgrade
 to build the newer version.  FWIW, all of my fonts used for Wine are
 located in .wine/drive_c/windows/fonts -- you may want to see if you
 have the directory.

 Frank



Can you please post your `pkg_info | grep font`.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portmanager

2005-10-09 Thread Michael C. Shultz
On Sunday 09 October 2005 12:27, Alistair Sutton wrote:
 On 09/10/05, Michael Lednev [EMAIL PROTECTED] wrote:
  Hello, Alistair.
 
  that's another issue, currently portmanager from ports runs fine on
  6.0-current in interactive environment, but coredumps from cron or
  something similar. the same behaviour on on 5.4-stable.

 Ah, my bad.

 I forgot that the version in ports is different from a development
 snapshot that I've been trying to get working. :-)

 Al
 --
 GPG/PGP: http://www.no-dns-yet.org.uk/~everlone/pubkey.gpg
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]


The problem with running portmanager from cron is PATH isn't set
and the location of make for example isn't hardcoded throughout 
portmanager's source.  If anyone feels like fixing this it would be much 
appreciated, my plate is pretty full with a paying project so it may be 
awhile before I get around to making this sort of a fix but I'll be happy to 
assist someone else who wishes to take  on this project.

-Mike

ps. please make sure my address is in the reply-to, the maillist does not
send replies to my own posts for some strange reason.

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


Re: unexplained system hangs - possible smbfs issue ??

2005-10-09 Thread Garrett Cooper

Murray,
Have you thought of looking into filing a bug report with the  
Samba people (http://www.samba.org/)? This may be an issue with  
either your client program, or the SMB implementation in Win2k3,  
which can be solved by getting the ball rolling with SMB and/or  
possibly MS.
Either way, that is quite a few files to have to parse through,  
and although it may seem somewhat ludicrous, adding an additional  
script to presort out your minute reports would greatly reduce the  
amount of open-file records you need, and while that may not be a  
permanent solution it can serve as a better base for sorting your  
data. You could just create proper directories on the Win2k3 server,  
like %BASE_DIR%\Year\Day\Hour, if you get a large volume of files, or  
just strictly put them in a daily directory since it sounds like your  
volume is manageable. Plus, it's probably easier for humans to manage  
as opposed to 2000+ flat files in the same directory ;). Any SQL  
would handle this issue nicely as well since one of databases' best  
selling points is this type of application.

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