Re: route entries after ICMP redirect

2005-04-11 Thread Uwe Doering
Sergey Matveychuk wrote:
I've got some problem with route entries that was created after ICMP 
redirect messages. They are never expired.

Our default gateway (it's a HP switch) send ICMP redirect messages if it 
see a short path to destination. It's makes it not so overloaded. But 
pathes sometime changed. There is no problem with Windows workstations, 
they are rebooted daily. But my FreeBSD boxes hold dinamic route entries 
forever.

I've looked through RFCs and Stevens' books and found no answer on what 
TTL for this entries.
Now I just add route flush as cron job. But may be there is another way?
This has been fixed in CVS in MAIN (rev. 1.52) and MFC'ed to RELENG_4 
(rev. 1.37.2.5) and RELENG_5 (rev. 1.51.4.2) a couple of weeks ago:

  http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netinet/in_rmx.c
So either syncing to one of these branches or applying the relevant 
patch manually to your kernel sources ought to solve the problem.

   Uwe
--
Uwe Doering |  EscapeBox - Managed On-Demand UNIX Servers
[EMAIL PROTECTED]  |  http://www.escapebox.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Very slow printing with stock FreeBSD5.3 + CUPS + Gimp-Print + HPDeskJet612C

2005-04-11 Thread Ted Mittelstaedt
[EMAIL PROTECTED] wrote:
 Hello all,

 My HP DeskJet 612C printer is printing unbearably slow (0.033 PPM).

Make sure your using the genuine HP bidirectional parallel printer cable.

Ted

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


Re: Very slow printing with stock FreeBSD5.3 + CUPS + Gimp-Print + HPDeskJet612C

2005-04-11 Thread Glyn Millington
Anthony M. Agelastos [EMAIL PROTECTED] writes:

 Interrupt storm detected on irq7: lpt0; throttling interrupt source

1. Back up /boot/device.hints
2. In device hints add a line

hint.ppc.0.flags=0x20

AFTER the line which says

hint.ppc.0.irq=7

3. save and reboot

hth


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


Re: Very slow printing with stock FreeBSD5.3 + CUPS + Gimp-Print + HPDeskJet612C

2005-04-11 Thread Roland Smith
On Mon, Apr 11, 2005 at 07:36:32AM +0100, Glyn Millington wrote:
 Anthony M. Agelastos [EMAIL PROTECTED] writes:
 
  Interrupt storm detected on irq7: lpt0; throttling interrupt source

 1. Back up /boot/device.hints
 2. In device hints add a line
 
 hint.ppc.0.flags=0x20

Flags=0x20 means disabling IRQ and use polling instead. If you add 0x08
it also puts the port in enhanced capability mode. So try flag=0x28, and
use 0x20 if that doesn't work.

 AFTER the line which says
 
 hint.ppc.0.irq=7

You can remove this line, because flags=0x20 instructs the driver to use
polling instead of an interrupt line.

Roland
-- 
R.F. Smith   /\ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l  \ /No HTML/RTF in e-mail
http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail
public key: http://www.keyserver.net / \Respect for open standards


pgpgSvFjStPVl.pgp
Description: PGP signature


Need technical support

2005-04-11 Thread Gigi Paragsa
Good day!

I would like to ask for technical support on the
problem I encountered while rebooting a server with a
FreeBSD 3.4 as its operating system:

(da0:sym0:0:0:0):read(10).CDB: 28 0 0 79 b0 9f 0 0 20
0
   medium error info:79b0b0asc:11,0
   unrecovered read error field
replaceable 
 unit: e4 sks:80,82

Hope that you can help me out on this concern.  Thanks
a lot in advance.


Truly yours,
Gigi Paragsa



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: Loading Samba Shares at Startup

2005-04-11 Thread Hexren
 hi there, not really sure if this is appropriate for this list, or if i 
 should be sending it to the samba lists. i'll try here first.

 i have a samba server which serves a few windows machines, and i also use it 
 via sharity-light from my freebsd machine running 4.10 RELEASE. i have a 
 script that loads my shares, and i put it in my
 rc.d folder (i've taken out the user and password info):

 #!/bin/sh
 /usr/local/sbin/shlight //cessna/http /usr/home/iain/development/http/ -U * 
 -u * -g wheel -f 775 -d 775 -P *
 /usr/local/sbin/shlight //cessna/http_inertia 
 /usr/home/iain/development/http_inertia/ -U * -u * -g wheel -f 775 -d 775 -P 
 *
 /usr/local/sbin/shlight //cessna/music /usr/home/iain/music -U * -u * -g 
 wheel -f 775 -d 775 -P *
 /usr/local/sbin/shlight //cessna/dools /usr/home/iain/dools_network -U * -u 
 * -g wheel -f 775 -d 775 -P *

 it runs fine when i start up freebsd, but when i login, i don't have access 
 to the shares. so i put the call to the script inside my .tcshrc file, but 
 this means that, even if i login remotely, and
 every time i start a new konsole session or scp something, this script runs.

 does anyone have any clues as to why it wouldn't have access to the shares 
 after running this script from inside rc.d? i really only want it to run 
 when the machine starts up, not every time i
 login.

 cheers

 iain


 -

 I dont really know that programm, but guesing I would say the script
 runs at some time where some condition it needs is not fullfilled like
 maybe before networking is up. Maybe you should have the read up of
 the rc.d starting proccess that I need ;)

 Or you just leave it in you .tcshrc file and work with a lock file.
 Meaning when you run that script you do something like 
 if ![ -x ~/.smblock ]; then
touch ~/.smblock
(insert rest of your script)

 Hexren

-

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


soundcard not working 5.4

2005-04-11 Thread Wayne
Hey,
I don't know if this is the right list but I will ask anyway. I want to 
have FreeBSD as my main OS the only thing that is stopping me is I am 
unable to get my sound card to work I have an Azalia based sound card. 
In Linux it comes up as an ICH6 based soundcard and after checking the 
5.4 Hardware compatibilty I proceeded to download it. Im using the 5.4 
RC1, when I load the drivers  (I used kldload snd_ich and noticing no 
change tried kldload snd_driver and all  loaded with out error but when 
I type in :
$cat /dev/sndstat I get no listing and dmesg shows no pcm either. Is 
this soundcard supported?

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


RE: Need technical support

2005-04-11 Thread Ted Mittelstaedt
[EMAIL PROTECTED] wrote:
 Good day!
 
 I would like to ask for technical support on the
 problem I encountered while rebooting a server with a
 FreeBSD 3.4 as its operating system:
 
 (da0:sym0:0:0:0):read(10).CDB: 28 0 0 79 b0 9f 0 0 20 0
medium error info:79b0b0asc:11,0
unrecovered read error field
 replaceable
  unit: e4 sks:80,82
 
 Hope that you can help me out on this concern.  Thanks a lot in
 advance. 
 
 

How much more clear can this error message get?  It means there was
a read error when the system tried accessing a sector on the disk.
It would be highly advisable to replace the hard drive in the system.
Normally you won't see these errors until the disk is about ready to
bite it.

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


Re: [PATCH TO TEST] VESA [1024x768] mode support for FreeBSD-CURRENT

2005-04-11 Thread Jay O'Brien
Michal Mertl wrote:

 Jay O'Brien wrote:
 
Michal Mertl wrote:


What? I don't know how the patching of vidcontrol ended but you'd
better redo it with fresh files from current. Go download vidcontrol.c
v 1.48 and vidcontrol.1 from
http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/vidcontrol/

Then run the patch on it again and recompile/reinstall vidcontrol
binary.

I did that. The files are vidcontrol.1 Rev 1.55 and Vidcontrol.c Rev 1.48. 
Now all hunks failed. The results are below. 
 
 
 I don't know. The text before the line starting with Patching is taken
 from the patch file. The patch program doesn't retrieve any files. So I
 think you either used bad files to patch or bad patchfile.
 
 You need to have the original files. To check they're correct you can
 use md5 utility.
 
 md5 vidcontrol.c
 MD5 (vidcontrol.c) = 1068e5a6aff863e2bc7a0c02098d43b1
 md5 vidcontrol.1
 MD5 (vidcontrol.1) = 080d2b84f2e3914090279fee6e5f2406
 md5 vidcontrol.diff.20050215 
 MD5 (vidcontrol.diff.20050215) = 67ae12fe2a4fecae1bb7adb141efe021
 
 You need to see the same strings.
 
 Then command 'patch  /path/to/vidcontro.diff.20050215' must work.
 
 Michal
 

Michal,

The md5 results for vidcontrol.diff.20050215 are the same as yours. The other 
files, however, are different. I first did 
fetch http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/vidcontrol/vidcontrol.c
fetch http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/vidcontrol/vidcontrol.1
to get the files. I now see this doesn't get the correct files. Rather, it gets 
files marked up for the web. Obviously that was a big problem. 

Then, using WinXP Pro and Mozilla, I downloaded the files again from 
http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/vidcontrol/
and I moved them to the FreeBSD machine using WS_FTP Pro. 
Different md5 results again. 

I found that now the first hunk of the patch on vidcontrol.1 failed. 

After much file comparing, I found the differences in the files. The $FreeBSD 
line near the beginning of each file had  /repoman/r/ncvs/ in front of 
src/user.sbin/... and when I edited those characters out, the md5 results were 
the same as yours, and the patch completed without errors. I found that the 
vidcontrol.c file would patch ok without editing out those characters, but the 
vidcontrol.1 file would error in hunk #1 if /repoman/r/ncvs/ was present.

I rebuilt the kernel with SC_PIXEL MODE and VESA. When it rebooted, I got 
16 lines of vidcontrol:  showing the mouse:  Invalid argument which I see 
from a google search is a common problem. 

Whenever I select a mode with more than 80 characters the screen goes black. 
I loaded cp837-8x8 font, but no change.

I have the following in /etc/rc.conf, to set up 80x50, could it be the problem?
font8x8=iso08-8x8
font8x14=iso08-8x14
font8x16=iso08-8x16
scrnmap=iso-8859-1_to_cp437
allscreens_flags=-m on 80x50 white black 

Or perhaps this that I have now in /etc/ttys?
ttyv0   /usr/libexec/getty Pc cons50  on  secure
# Virtual terminals
ttyv1   /usr/libexec/getty Pc cons50  on  secure
ttyv2   /usr/libexec/getty Pc cons50  on  secure
ttyv3   /usr/libexec/getty Pc cons50  on  secure
ttyv4   /usr/libexec/getty Pc cons50  on  secure
ttyv5   /usr/libexec/getty Pc cons50  on  secure
ttyv6   /usr/libexec/getty Pc cons50  on  secure

At least now I can see what MAY be possible; vidcontrol -i mode returns a 
screenful of fonts to try. Tomorrow I'll identify which ones work and 
which ones don't.

What next?

Jay O'Brien
Rio Linda, California, USA










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


Re: Loading .bash_profile under X-Windows

2005-04-11 Thread Loren M. Lang
On Sat, Apr 09, 2005 at 10:40:01AM +0200, Kiffin Gish wrote:
 How can I get terminal under X-Windows to load my .bash_profile (and any
 other stuff) that is usually loaded when at the initial prompt?
 
 A more general question might be: what files (.profile, .login, whatever)
 and in what order are loaded every I login via a shell and how are these
 settings propagated up through Gnome desktop?
.bash_profile, .profile, .login are read on login shells only.  When a
shell is invoked by the exec() syscall, it's name is prepended with a -
to mean it's a login shell and most shells work differently like reading
.profile.  For example running ps ax|grep bash on my system yields:

...
81288  q1  Is 0:00.02 bash
88710  q3  Is 0:00.03 -bash (bash)
...

The first shell was just started normally and the second was started as
a login shell.  Connecting to a machine through ssh or logging in on a
text console starts a login shell, but running an xterm in X-Windows or
running bash from whatever shell your already in isn't since your
already logged in.  If you start X-Windows with the startx command, your
login is considered when you first logged in on the text console and
that same environment is propagated to the gui environment, gnome in
your case.  When you log in from a graphical log in utility, it's a
little more complicated.  The gui login program, whether it be xdm, gdm,
or kdm starts a shell script which eventually starts your gui
environment.  The problem is that it's not usually the same as your
login shell, but whatever shell was used to write the script.  In some
cases you can write your own shell script called .xsession or .Xclients
in your home directory and it can load in .bash_profile and then start
gnome.

 
 Thanks a lot in advance. 
 
 -- 
 
 Kiffin Rex Gish
 Gouda, The Netherlands
 
  
 
 

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


-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: CEE1 AAE2 F66C 59B5 34CA  C415 6D35 E847 0118 A3D2
 


pgpcvFFOATIxw.pgp
Description: PGP signature


short pkg_add -r question

2005-04-11 Thread Florian Hengstberger
Hi!
Just a short question:
When I download compiled packages with pkg_add -r, where
are the binary packages stored? I want to share them over the net
for other hosts.

Thanks, Florian




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


Re: egetty

2005-04-11 Thread Loren M. Lang
On Sun, Apr 10, 2005 at 06:50:38AM +0200, Gert Cuykens wrote:
 On Apr 10, 2005 4:47 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  Gert
  I see you are using pwd command to display where in directory tree
  you currently pointing
  There is a way to configure FBSD to display the directory path as a
  prefix in front of the command line so you know where you are at in
  the directory tree at all times, thus eliminating the need to use
  the pwd command.
  Issue following command from command line
  
  set prompt = # %/ # that's #space%/space
  
  /root/.cshrc gets executed when you log on as root.  Find and change
  the set prompt command in .cshrc to the one above and you will never
  have to use the  pwd  command again.
  
 
 No its to long then :)

In bash, there is the ability to have it show just the current
directories name instead of the whole path, I use this for my shell to
cut down on space.  Does (t)csh have this as well?

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

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: CEE1 AAE2 F66C 59B5 34CA  C415 6D35 E847 0118 A3D2
 


pgpMUVVmOf8Wx.pgp
Description: PGP signature


Re: short pkg_add -r question

2005-04-11 Thread Kris Kennaway
On Mon, Apr 11, 2005 at 10:25:34AM +0200, Florian Hengstberger wrote:
 Hi!
 Just a short question:
 When I download compiled packages with pkg_add -r, where
 are the binary packages stored? I want to share them over the net
 for other hosts.

They are not saved to disk.  If you want a saved copy, you can
download explicitly with fetch(1), ftp(1) or your favourite ftp client
and then use pkg_add with no -r.  Alternatively, you can use
pkg_create -b to make a new package from your installed copy.

Kris


pgpVY1TnXl6Bt.pgp
Description: PGP signature


Re: route entries after ICMP redirect

2005-04-11 Thread Sergey Matveychuk
Uwe Doering wrote:
This has been fixed in CVS in MAIN (rev. 1.52) and MFC'ed to RELENG_4 
(rev. 1.37.2.5) and RELENG_5 (rev. 1.51.4.2) a couple of weeks ago:
Oh, thank you!
And thanks to [EMAIL PROTECTED]
--
Sem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Very slow printing with stock FreeBSD5.3 + CUPS + Gimp-Print + HPDeskJet612C

2005-04-11 Thread Glyn Millington
Roland Smith [EMAIL PROTECTED] writes:

 On Mon, Apr 11, 2005 at 07:36:32AM +0100, Glyn Millington wrote:
 Anthony M. Agelastos [EMAIL PROTECTED] writes:
 
  Interrupt storm detected on irq7: lpt0; throttling interrupt source

 1. Back up /boot/device.hints
 2. In device hints add a line
 
 hint.ppc.0.flags=0x20

 Flags=0x20 means disabling IRQ and use polling instead. If you add 0x08
 it also puts the port in enhanced capability mode. So try flag=0x28, and
 use 0x20 if that doesn't work.

 AFTER the line which says
 
 hint.ppc.0.irq=7

 You can remove this line, because flags=0x20 instructs the driver to use
 polling instead of an interrupt line.

Right!!

Many thanks.

Can you point me to the docs for this?  I'm very new to FreeBSD finished
install with this printing problem  yesterday!

atb

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


make.conf question

2005-04-11 Thread Piotr Gnyp
Hi.
My 4.11 boxes:
uname -r
4.11-RELEASE-p1
CPU:
1. CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.30-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf27  Stepping = 7
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,
SSE2,SS,HTT,TM,PBE
  Hyperthreading: 2 logical CPUs
2. CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2798.66-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf29  Stepping = 9
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C
MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
make.conf:
CPUTYPE=p4
During build i can see:
-march=pentiumpro
instead of pentium4. On my 5.3 box everything works great. Is this 
setting not working on FreeBSD 4.x? Or maybe i should set it somewhere 
else also.

--
How fortunate the man with none.
--Dead Can Dance
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make.conf question

2005-04-11 Thread Kris Kennaway
On Mon, Apr 11, 2005 at 11:27:22AM +0200, Piotr Gnyp wrote:
 Hi.
 My 4.11 boxes:
 uname -r
 4.11-RELEASE-p1
 CPU:
 1. CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.30-MHz 686-class CPU)
   Origin = GenuineIntel  Id = 0xf27  Stepping = 7
 
 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,
 SSE2,SS,HTT,TM,PBE
   Hyperthreading: 2 logical CPUs
 
 2. CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2798.66-MHz 686-class CPU)
   Origin = GenuineIntel  Id = 0xf29  Stepping = 9
 
 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C
 MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
 
 make.conf:
 CPUTYPE=p4
 
 During build i can see:
 -march=pentiumpro
 
 instead of pentium4. On my 5.3 box everything works great. Is this 
 setting not working on FreeBSD 4.x? Or maybe i should set it somewhere 
 else also.

The version of gcc that comes with FreeBSD 4.x can't do better than
this, i.e. it doesn't know about optimizations for newer CPUs.  In
practise this isn't important.

Kris


pgpczl5kyf0Yo.pgp
Description: PGP signature


Re: Very slow printing with stock FreeBSD5.3 + CUPS + Gimp-Print + HPDeskJet612C

2005-04-11 Thread Roland Smith
On Mon, Apr 11, 2005 at 10:27:33AM +0100, Glyn Millington wrote:
  2. In device hints add a line
  
  hint.ppc.0.flags=0x20
 
  Flags=0x20 means disabling IRQ and use polling instead. If you add 0x08
  it also puts the port in enhanced capability mode. So try flag=0x28, and
  use 0x20 if that doesn't work.
 
  AFTER the line which says
  
  hint.ppc.0.irq=7
 
  You can remove this line, because flags=0x20 instructs the driver to use
  polling instead of an interrupt line.
 
 Right!!
 
 Many thanks.
 
 Can you point me to the docs for this?  I'm very new to FreeBSD finished
 install with this printing problem  yesterday!

The flags for the ppc driver are documented in the ppc(4) manual
page. Just run 'man ppc' from the console or an xterm to view it.

More information on setting up printers can be found in §9.3 of the
Handbook.

Some things that I learned while setting up my FreeBSD workstation are
recorded at http://www.xs4all.nl/~rsmith/freebsd/

Roland
-- 
R.F. Smith   /\ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l  \ /No HTML/RTF in e-mail
http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail
public key: http://www.keyserver.net / \Respect for open standards


pgpY99dDnLXnU.pgp
Description: PGP signature


Re: egetty

2005-04-11 Thread Jonathan Chen
On Mon, Apr 11, 2005 at 01:26:43AM -0700, Loren M. Lang wrote:

[...]
 In bash, there is the ability to have it show just the current
 directories name instead of the whole path, I use this for my shell to
 cut down on space.  Does (t)csh have this as well?

A quick look at the man-page for tcsh reveals: %c eg:

set prompt=%c%# 

Have a look for yourself to discover the myriad options available.
-- 
Jonathan Chen [EMAIL PROTECTED]

We laugh in the face of danger, we drop icecubes down the vest of fear
 - Edmond Blackadder III
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Very slow printing with stock FreeBSD5.3 + CUPS + Gimp-Print + HPDeskJet612C

2005-04-11 Thread Glyn Millington
Roland Smith [EMAIL PROTECTED] writes:


 Can you point me to the docs for this?  I'm very new to FreeBSD finished
 install with this printing problem  yesterday!

 The flags for the ppc driver are documented in the ppc(4) manual
 page. Just run 'man ppc' from the console or an xterm to view it.

 More information on setting up printers can be found in §9.3 of the
 Handbook.

 Some things that I learned while setting up my FreeBSD workstation are
 recorded at http://www.xs4all.nl/~rsmith/freebsd/

Just the job!

Many thanks

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


intel fortran compiler

2005-04-11 Thread Florian Hengstberger
Hi!
As a physician I want to code my programs in fortran.
I have read in the groups that the Intel fortran compiler (supporting
fortran 95) is avaiable in the ports collection.
As far as I know Intels compiler was only designed for Linux.
Will the Intel compiler produce FreeBSD binaries or Linux binaries
which will run in the emulation?

Thanks a lot,
Florian




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


Re: Compaq Proliant 8500 issue with Integrated SMART Array RAIDController (ida)

2005-04-11 Thread Andrew Heyn
On Saturday 09 April 2005 05:35, Ted Mittelstaedt wrote:
 [EMAIL PROTECTED] wrote:
  Hi,
 
  I have a Compaq Proliant 8500 with the integrated SMART Array RAID
  controller.  I recall seeing Symbios and ARM on a chip on the
  center of the PCI module
  must be the
  RAID controller.  I
  used to have extreme problems even getting the system to boot
  up until I
  used the SmartStart
  CD and disabled the Array Accelerator for my one and only RAID1+0
  Container.  (Before doing this) I would get numerous
  ida0: soft write error and if the system did manage to boot
  up, a process
  might read the disk, and
  forever be stuck in some kernel routine between userland and
  the disk that
  gets a block or whatever.
  Now, I only get an occasional ida0: soft read/write error which
  occasionally causes a 15 or so second delay.  The Array
  Accelerator for
  the Integrated SMART array controller is 8MB of read-only cache.
  Other SMART Array models like the 4200 have battery backed up cache
  that can be user-separated between write and read cache.
 
  I'm wondering if anybody has ever seen the problem mentioned above.
 
  I would hate to have to replace the whole
  PCI module because of some bad controller ram since that darn thing is
  integrated, and would make useless the
  internal bays if another raid card was added.  As a note, the contacts
  between the hard drive and the drive module
  have been cleaned out multiple times for all the drives in the
  array.  The
  connection between the drive module and
  the back of the computer is sturdy and clean.  There are only
  TWO cables in
  this entire system that I know of, and one
  is for the IDE CDROM, and one is for the floppy.  So, cabling
  cannot be a
  problem.  I also have two working PSUs that
  each have a 120V line going into it, so I doubt it's a lack of
  power.  Even
  though 220V is recommended for both of them,
  it works fine with even just one 120V line.
 
  I asked the HP/Compaq forum and they weren't able to give me
  much more of an
  answer than check the cabling and blow
  off the dust which I found extremely irritating because the
  data is carried
  on copper wires that resemble the pins found
  on an IDE hard drive or floppy, not your standard cabling.  I might
  ultimately be wrong...but I doubt it.

 You should ask Windows questions in a Windows forum.  Oh, you aren't
 running
 Windows on this system?  Must be FreeBSD 2.2 then, right?

 Ted



Right now, the machine runs FreeBSD 5.3-RELEASE.  I've also tried a specially 
modified  6.0-CURRENT kernel upon suggestion of Matthew N. Dodd, and FreeBSD 
4.11, but the nature of the problem never changed and no more useful 
information was able to be found.  The same thing also happened running linux 
2.4.27 and some version of Linux 2.6.  I had given up hope that it was a 
software issue and was trying to see if any of the number of people on this 
list have ever had a machine that did this, or had details about somebody 
else's machine that did the same thing also.  Also, the ROM on the controller 
and the primary system BIOS have been updated to the latest available 
versions.  I have also updated the firmwares on the disk drives.



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


Re: make.conf question

2005-04-11 Thread Piotr Gnyp
On Mon, 11 Apr 2005, Kris Kennaway [EMAIL PROTECTED] wrote:
The version of gcc that comes with FreeBSD 4.x can't do better than
this, i.e. it doesn't know about optimizations for newer CPUs.  In
practise this isn't important.
Ok, so why this:
# The CPUTYPE variable controls which processor should be targeted for
# generated code.  This controls processor-specific optimizations in
# certain code (currently only OpenSSL) as well as modifying the value
# of CFLAGS to contain the appropriate optimization directive to gcc.
# The automatic setting of CFLAGS may be overridden using the
# NO_CPU_CFLAGS variable below.
# Currently the following CPU types are recognized:
#   Intel x86 architecture:
#   (AMD CPUs)  k7 k6-2 k6 k5
#   (Intel CPUs)p4 p3 p2 i686 i586/mmx i586 i486 i386
#   Alpha/AXP architecture: ev6 pca56 ev56 ev5 ev45 ev4
#
# If you experience any problems after setting this flag, please unset
# it again before submitting a bug report or attempting to modify code.
# It may be that certain types of software will become unstable after 
being
# compiled with processor-specific (or higher - see below) optimization 
flags.
# If in doubt, do not set CPUTYPE or CFLAGS to non-default values.
#
#CPUTYPE=i686

is in /etc/defaults/make.conf in 4.x?
--
How fortunate the man with none.
--Dead Can Dance
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


noob sound freebsd KDE

2005-04-11 Thread manic
ok i have an audigy platimun and i added snd_emu10k1_load=YES or what ever 
the hand book said to add for the sound blaster live...they said the emu10k1 
driver should worki get a sound byte when i load kde, then it cuts out, and 
i dont have any sound after that...any ideas?

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


Re: noob sound freebsd KDE

2005-04-11 Thread Ada Cheng
Check kmix and see if the volume is up.
Ada
On Mon, 11 Apr 2005 [EMAIL PROTECTED] wrote:
ok i have an audigy platimun and i added snd_emu10k1_load=YES or what ever 
the hand book said to add for the sound blaster live...they said
the emu10k1 driver should worki get a sound byte when i load kde, then it 
cuts out,and i dont have any sound after that...any ideas?

___
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: Temperature Sensors on a Mini-ITX Board

2005-04-11 Thread Emanuel Strobl
Am Mittwoch, 6. April 2005 23:39 schrieb Andrew:
 Does anyone know how to read the temperature sensors on a VIA Mini-ITX
 board? I've tried xmbmon, lmmon and healthd but nothing seems to read
 it/them. I can't find anything under the dev sysctl hierachy either.

 I can't see anything relevant in dmesg apart from this perhaps:

 acpi0: VT9174 AWRDACPI on motherboard

Have you modified your kernel to support monitoring devices? Since it
's VIA you can keep a closer look to these:
device  smbus   # Bus support, required for smb below.
device  smb
device  iicbus
device  iicbb
device  iicsmb
device  viapm

Maybe they're loadable modules, just a hint.

-Harry


 Thanks,

 Andrew

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


pgpG4HYloEXh6.pgp
Description: PGP signature


Re: Temperature Sensors on a Mini-ITX Board

2005-04-11 Thread Andrew

On Mon, 11 Apr 2005, Emanuel Strobl wrote:
Have you modified your kernel to support monitoring devices? Since it
's VIA you can keep a closer look to these:
device  smbus   # Bus support, required for smb below.
device  smb
device  iicbus
device  iicbb
device  iicsmb
device  viapm
Maybe they're loadable modules, just a hint.
Yep tried that. If I compile them in then I don't get ACPI at all (no 
hw.acpi sysctl tree and the associated errors at boot). Loading them after
boot seems to have no effect.

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


Re: usb console

2005-04-11 Thread Emanuel Strobl
Am Freitag, 8. April 2005 00:50 schrieb Gert Cuykens:
 Is it possible to do the console thingie not with a null modem serial
 cable but with a usb cable ?

 When you do the serial console, it means that you have a screen like
 it was the other pc's screen, right ? With boot messages and

Right, in fact the syscons is just a kind of serial emulation. Traditionally 
all consoles were serial terminals.

You can use USB-Serial cables if you don't have enough serial ports, but 
there's no USB-USB console.
But there is dcons, a simple console over firewire!

-Harry

 everything, able to do whatever you want like your keybord and screen
 was connected to the serial server itself right ?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]


pgp4jWRA2ZnUl.pgp
Description: PGP signature


Re: Boot manager

2005-04-11 Thread Frank Laszlo
Sergei Gnezdov wrote:
On Sun, Apr 03, 2005 at 08:47:22PM +0200, Emanuel Strobl wrote:
 

Am Sonntag, 3. April 2005 20:36 schrieb Gert Cuykens:
   

On Apr 3, 2005 7:33 PM, Christopher Nehren
[EMAIL PROTECTED] wrote:
 

On 2005-04-03, Teilhard Knight scribbled these
What's wrong with FreeBSD's boot manager?
   

It writes ?? instead of windows
Nobody knows how it works for example how to install it witout sysinstall
:P
 


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


Re: Very slow printing with stock FreeBSD5.3 + CUPS + Gimp-Print + HPDeskJet612C

2005-04-11 Thread Chris
Anthony M. Agelastos wrote:
 Hello all,
 
 My HP DeskJet 612C printer is printing unbearably slow (0.033 PPM). I
 have a stock installation (GENERIC KERNEL) of FreeBSD 5.3 straight off
 of the install CDs, and I have installed very little software thus far.
 I have mainly followed the installation instructions from
 
 http://www.csua.berkeley.edu/~ranga/notes/freebsd_cups.html
 
 It basically prints one line at a time, then pauses for a while, and
 makes some noises, and then repeats. The whole single test page took
 over 30 minutes to print. Does anyone have any insight/info that they
 can give me to solve this problem or point me in the right direction of
 solving it? I have Googled and done some searching and did not come up
 with anything. I checked the CUPS documentation and forums and did not
 see anything either.

Anthony,

I too have this issue. I tried with my HP 1100, 1300 and a 4050 on 3
differant PC/laptops.  The thing is, one of them, like yours, was a
generic install w/gnome and I tried bot apsfilter and CUPS.

Yet, everyone I have spoken with has no idea of the issues I'm dealing
with. So for now, and untill I pop on 5.4, I'm gonna leave my printing
for Windows.

Yes, I tried the install via the Handbook, read the docs for apfilter,
and the closest I get to printing is via CUPS - and with the same issues
(and worse then you). Mine happen to be the GO light flashes for 20
minutes befor anything spits out.  *shrug*


-- 
Best regards,
Chris

The crucial memorandum will be snared in the out-basket by
the paper clip of the overlying memo and go to file.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: restricting fat jails

2005-04-11 Thread Emanuel Strobl
Am Freitag, 8. April 2005 15:18 schrieb [EMAIL PROTECTED]:
 i was wondering exactly which files in /dev/ can be removed in a jail ?

If we're talking about FreeBSD 5.x none, sinc it's devfs. You can control 
which devices are in a jail by creating jail_NAME_devfs_ruleset.

 and i thought of a dirty approach of restricting building a jail by
 removed the parts in /usr/obj/ that you don't want, but i bet that make
 installworld is gonna complain about, is there a way around ?

There's make.conf, especially lines like:
#NO_ACPI=   true# do not build acpiconf(8) and related programs
#NO_BOOT=   true# do not build boot blocks and loader
NO_CVS= true# do not build CVS
#NO_CXX=true# do not build C++ and friends
NO_BLUETOOTH=   true# do not build Bluetooth related stuff
#NO_DYNAMICROOT=true# do not link /bin and /sbin dynamically
NO_FORTRAN= true# do not build g77 and related libraries
#NO_GDB=true# do not build GDB
NO_I4B= true# do not build isdn4bsd package
NO_IPFILTER=true# do not build IP Filter package
NO_PF=  true# do not build PF firewall package
NO_AUTHPF=  true# do not build and install authpf (setuid/gid)


-Harry


 (perhaps something else than make -i installworld)

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


pgpgDBxNAM2cZ.pgp
Description: PGP signature


Re: Boot manager

2005-04-11 Thread Jerry McAllister
 
 
 Sergei Gnezdov wrote:
 
 On Sun, Apr 03, 2005 at 08:47:22PM +0200, Emanuel Strobl wrote:
   
 
 Am Sonntag, 3. April 2005 20:36 schrieb Gert Cuykens:
 
 
 On Apr 3, 2005 7:33 PM, Christopher Nehren
 
 [EMAIL PROTECTED] wrote:
   
 
 On 2005-04-03, Teilhard Knight scribbled these
 What's wrong with FreeBSD's boot manager?
 
 
 It writes ?? instead of windows
 Nobody knows how it works for example how to install it witout sysinstall
 :P

Simply isn't true.   Just read the handbook or some of the other
good FreeBSD books available and it is explained quite adequately.
That isn't to say that it might not be time for some able person
to take a look at making a couple of revising passes through it.  
But the current MBR is easy to install and use.

 try grub.

If you can't stand ??  as a label for XP which some people think is
appropriate anyway.

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


set-uid bit: where am I going wrong?

2005-04-11 Thread Tim Stephens
I'm trying to use a script I wrote to copy files from one directory to another 
(as part of my backup regime). Unfortunately,  because they are in my webserver 
directory, some of the files don't belong to the user that I run the script as 
(via cron). I can run the script with sudo, so I know that it's a permission 
problem. 

My initial thought is that I can use the set-uid bit and chown the script to 
root, but this still balks. Here is the relevant output of ls -l.
 
-rwsr-xr-x   1 root  admin   283 Nov 23 15:58 buprep.yuri

Clearly the file is owned by root, and I kept it as part of my group. I've read 
the man pages, and believe that when I call the script, it will assume root's 
permissions. It doesn't, so where am I going wrong?

Thanks,
Tim
-- 
[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: intel fortran compiler

2005-04-11 Thread Lowell Gilbert
Florian Hengstberger [EMAIL PROTECTED] writes:

 As a physician I want to code my programs in fortran.
 I have read in the groups that the Intel fortran compiler (supporting
 fortran 95) is avaiable in the ports collection.
 As far as I know Intels compiler was only designed for Linux.
 Will the Intel compiler produce FreeBSD binaries or Linux binaries
 which will run in the emulation?

$ cat /usr/ports/lang/ifc7/pkg-descr
This is Intels Fortran compiler, it is set up to produce native FreeBSD 
objects.

WWW: http://www.intel.com/software/products/compilers/flin
$ 

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


Re: Lost depend?

2005-04-11 Thread tofik suleymanov
Tarc wrote:
/usr/ports/www/oops make
===   oops-1.5.24_1 depends on executable: gawk - found
===   oops-1.5.24_1 depends on file: /usr/local/bin/autoconf259 - found
===   oops-1.5.24_1 depends on shared library: gigabase_r.2 - found
===  Configuring for oops-1.5.24_1
/usr/local/bin/autoheader259: not found
*** Error code 127
Stop in /usr/ports/www/oops.
*** Error code 1
Stop in /usr/ports/www/oops.
 

Hi,
autoheader259 comes inside the autoconf259 port.Consider reinstalling it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: set-uid bit: where am I going wrong?

2005-04-11 Thread Freminlins
On Apr 11, 2005 2:51 PM, Tim Stephens [EMAIL PROTECTED] wrote:

 Clearly the file is owned by root, and I kept it as part of my group. I've 
 read the man pages, and believe that when I call the script, it will assume 
 root's permissions. It doesn't, so where am I going wrong?

FreeBSD does not support setuid scripts. They are inherently insecure.
You have some options though to your problem. You could run the script
directly as root, which is what you are trying to do. Or you could
write a wrapper round your script, which may seem like overkill.

Given that you trust your script enough to try to run it setuid, I
would go for the first option. Make sure the script cannot be altered
by anyone other than root, then run it as root.

 Thanks,
 Tim

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


Re: set-uid bit: where am I going wrong?

2005-04-11 Thread Lowell Gilbert
Tim Stephens [EMAIL PROTECTED] writes:

 I'm trying to use a script I wrote to copy files from one directory to 
 another (as part of my backup regime). Unfortunately,  because they are in my 
 webserver directory, some of the files don't belong to the user that I run 
 the script as (via cron). I can run the script with sudo, so I know that it's 
 a permission problem. 
 
 My initial thought is that I can use the set-uid bit and chown the script to 
 root, but this still balks. Here is the relevant output of ls -l.
  
 -rwsr-xr-x   1 root  admin   283 Nov 23 15:58 buprep.yuri
 
 Clearly the file is owned by root, and I kept it as part of my group. I've 
 read the man pages, and believe that when I call the script, it will assume 
 root's permissions. It doesn't, so where am I going wrong?

The kernel ignores the setuid bit on interpreted files, for security
reasons.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Automounting smbfs?

2005-04-11 Thread Micheal Patterson


- Original Message - 
From: Kirk Strauser [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Friday, April 08, 2005 3:40 PM
Subject: Re: Automounting smbfs?

On Friday 08 April 2005 14:12, you wrote:

 Kirk,  here's what I did to auto mount my pesky windows shared backup
 folder prior to having a separate nfs mount to put them.

 Configure your share as noauto in /etc/fstab (example)

[...]

Out of curiosity, why would you do that instead of just letting FreeBSD
mount it automatically (which is what I do now)?

The goal I'm trying to accomplish is pushing the same map to multiple
machines (eg via LDAP).  I never bothered to do that with my NFS mounts,
but I'm using the addition of the SMB shares as an excuse to rework the
system before it grows much more.
-- 
Kirk Strauser


In my experience, automounting it via fstab doesn't always work correctly.
Some folks have great success with it where others don't. For example, I can
remove the noauto and with the very same config files and 5 out of 10 times
the mount won't take on system startup. When I remove the noauto and cron it
for @reboot, it works just fine. I've no idea why but it works for me.


--

Micheal Patterson
Senior Communications Systems Engineer
405-917-0600

Confidentiality Notice:  This e-mail message, including any attachments,
is for the sole use of the intended recipient(s) and may contain
confidential and privileged information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all
copies of the original message.

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


Re: ls colorized in freebsd csh??

2005-04-11 Thread Sergei Gnezdov
On 2005-04-10, N. Raghavendra [EMAIL PROTECTED] wrote:
 ## Enable color display for listing files.
 set color

 ## Specify the colors for listing various file types.
 setenv LS_COLORS no=00:fi=00:di=01;34:ln=01;36;40:pi=40;33:so=01;35
 setenv LS_COLORS $LS_COLORS:bd=40;33;01:cd=40;33;01:or=40;31;01

Where can I learn about these cryptic numbers?

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


help

2005-04-11 Thread angelito munez
Hi,.
i have a quick question. i have a 4.9 box running as gateway. as well as domain 
controller windows on the network. now can anybody help  how i can see the 
domain controller from remote desktop? thnks 


-
Do you Yahoo!?
 Yahoo! Small Business - Try our new resources site! 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.4 vinum

2005-04-11 Thread Nick Pavlica
 
 If anyone has an operational 5.4 + vinum installation which
 was generated fresh on 5.3 or 5.4, any experiences, sample
 configurations, and notes about the how the installation was
 really done would be more than welcome.
 

I haven't tried to use vinum or gvinum, but have used gstripe with 
success(just read the man). Here is a tutorial that talks about gmirror as 
well.
- http://people.freebsd.org/~rse/mirror/

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


Re: 5.3 not accepting connections - What I'm missing?

2005-04-11 Thread Maximiliano Eschoyez
On Sat, 9 Apr 2005 18:18:31 -0700, Sergei Gnezdov
[EMAIL PROTECTED] wrote:
 
 Misconfigured network or firewall is the most typical reason for a
 problem.  The output from the following commands might help to solve
 your problem:
 
 ifconfig
 
 netstat -r
 
 ipfw show
 

I've ran the commands, but I can't see anything strange. Here is the output:



buda# ifconfig
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet 127.0.0.1 netmask 0xff00 
ed1: flags=108843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 192.168.1.100 netmask 0xff00 broadcast 192.168.1.255
ether 01:d4:ff:03:00:20
buda# netstat -r
Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
defaultmafalda.lcd.efn.un UGS 0 1694ed1
localhost.lcd.efn. localhost.lcd.efn. UH  00lo0
192.168.1  link#2 UC  00ed1
mafalda.lcd.efn.un 00:e0:81:29:a6:7c  UHLW10ed1   1200
buda# ipfw show
ipfw: getsockopt(IP_FW_GET): Protocol not available



The strange thing is that I didn't enable any kind of filtering and
also I can connect to others computers of my office LAN
and surf the web.

The problem is when I try to connect from other hosts to my computer. 
It ends with a timeout.

Thank you,

   [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: [Fwd: Network Printing to Windows - CUPS?]

2005-04-11 Thread tofik suleymanov
Graham North wrote:
Hello:
Has anyone had any joy printing from FreeBSD box to Windows print server?
CUPS?  Pointers?
I have 3 machince and would prefer to leave printer attached to WinXP 
box.   Suse is running another machine, and even using their YAST 
config too. I was not able to make it print properly - it found  the 
printer but spooled gobbletygook!

nb. printer is an HP LaserJet 4L wihich well supported with drivers etc..
cups with samba and hpijs would do the trick.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Very slow printing with stock FreeBSD5.3 + CUPS + Gimp-Print + HPDeskJet612C

2005-04-11 Thread Frank Laszlo
Chris wrote:
Anthony M. Agelastos wrote:
 

Hello all,
My HP DeskJet 612C printer is printing unbearably slow (0.033 PPM). I
have a stock installation (GENERIC KERNEL) of FreeBSD 5.3 straight off
of the install CDs, and I have installed very little software thus far.
I have mainly followed the installation instructions from
http://www.csua.berkeley.edu/~ranga/notes/freebsd_cups.html
It basically prints one line at a time, then pauses for a while, and
makes some noises, and then repeats. The whole single test page took
over 30 minutes to print. Does anyone have any insight/info that they
can give me to solve this problem or point me in the right direction of
solving it? I have Googled and done some searching and did not come up
with anything. I checked the CUPS documentation and forums and did not
see anything either.
   

Anthony,
I too have this issue. I tried with my HP 1100, 1300 and a 4050 on 3
differant PC/laptops.  The thing is, one of them, like yours, was a
generic install w/gnome and I tried bot apsfilter and CUPS.
Yet, everyone I have spoken with has no idea of the issues I'm dealing
with. So for now, and untill I pop on 5.4, I'm gonna leave my printing
for Windows.
	Yes, I tried the install via the Handbook, read the docs for apfilter,
and the closest I get to printing is via CUPS - and with the same issues
(and worse then you). Mine happen to be the GO light flashes for 20
minutes befor anything spits out.  *shrug*
 

Perhaps the quality setting is locked on high resolution? This would 
probably make the printer print quite slow if its an inkjet.

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


ruby18 build err

2005-04-11 Thread Gary Kline

Gang,

I need some insight here.  The following [BUG] with ./lib/mkmf.rb is 
causing the latest ruby18 to not build;  I think this causes the 
latest gnome_update script to fault.  Does anybody know why mkmf.rb
is segv'ing here and how to resolve this problem?

gary



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


[snip]

cc -O2 -pipe -fschedule-insns2 -fomit-frame-pointer  -funroll-loops-fPIC 
-I. -I. -c dmyext.c
ar rcu libruby18-static.a array.o  bignum.o  class.o  compar.o  dir.o  dln.o  
enum.o  error.o  eval.o
file.o  gc.o  hash.o  inits.o  io.o  marshal.o  math.o  numeric.o  object.o  
pack.o  parse.o  process.o
prec.o  random.o  range.o  re.o  regex.o  ruby.o  signal.o  sprintf.o  st.o  
string.o  struct.o  time.o
util.o  variable.o  version.o   dmyext.o
cc -O2 -pipe -fschedule-insns2 -fomit-frame-pointer  -funroll-loops-fPIC 
-I. -I. -c main.c
cc -O2 -pipe -fschedule-insns2 -fomit-frame-pointer  -funroll-loops-fPIC  
-rpath=/usr/local/lib
-rdynamic  main.o dmyext.o libruby18-static.a -lcrypt -lm -pthread  -o miniruby
cc -shared -Wl,-soname,libruby18.so.18  array.o  bignum.o  class.o  compar.o  
dir.o  dln.o  enum.o
error.o  eval.o  file.o  gc.o  hash.o  inits.o  io.o  marshal.o  math.o  
numeric.o  object.o  pack.o
parse.o  process.o  prec.o  random.o  range.o  re.o  regex.o  ruby.o  signal.o  
sprintf.o  st.o
string.o  struct.o  time.o  util.o  variable.o  version.o   dmyext.o -lcrypt 
-lm -pthread  -o
libruby18.so.18
./lib/mkmf.rb:314: [BUG] Segmentation fault
ruby 1.8.2 (2004-12-25) [i386-freebsd5]

Abort trap (core dumped)
*** Error code 134

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


Re: soundcard not working 5.4

2005-04-11 Thread gustaaf wijnands
Wayne wrote:
Hey,
I don't know if this is the right list but I will ask anyway. I want to 
have FreeBSD as my main OS the only thing that is stopping me is I am 
unable to get my sound card to work I have an Azalia based sound card. 
In Linux it comes up as an ICH6 based soundcard and after checking the 
5.4 Hardware compatibilty I proceeded to download it. Im using the 5.4 
RC1, when I load the drivers  (I used kldload snd_ich and noticing no 
change tried kldload snd_driver and all  loaded with out error but when 
I type in :
$cat /dev/sndstat I get no listing and dmesg shows no pcm either. Is 
this soundcard supported?
Azalia isn't listed in 
http://www.freebsd.org/releases/5.3R/hardware-i386.html

Have you  tried  doing  a  kldload  snd_*
Have you edited the kernelconfig file
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: soundcard not working 5.4

2005-04-11 Thread gustaaf wijnands
Wayne wrote:
Hey,
I don't know if this is the right list but I will ask anyway. I want to 
have FreeBSD as my main OS the only thing that is stopping me is I am 
unable to get my sound card to work I have an Azalia based sound card. 
In Linux it comes up as an ICH6 based soundcard and after checking the 
5.4 Hardware compatibilty I proceeded to download it. Im using the 5.4 
RC1, when I load the drivers  (I used kldload snd_ich and noticing no 
change tried kldload snd_driver and all  loaded with out error but when 
I type in :
$cat /dev/sndstat I get no listing and dmesg shows no pcm either. Is 
this soundcard supported?

Azalia isn't listed in 
http://www.freebsd.org/releases/5.3R/hardware-i386.html

Have you  tried  doing  a  kldload  snd_*
Have you added devicesound to the kernelconfig file and recompiled 
 and installed the new kernel correctly?

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


RE: Compaq Proliant 8500 issue with Integrated SMART ArrayRAIDController (ida)

2005-04-11 Thread Ted Mittelstaedt
[EMAIL PROTECTED] wrote:
 On Saturday 09 April 2005 05:35, Ted Mittelstaedt wrote:
 [EMAIL PROTECTED] wrote:
 Hi,
 
 I have a Compaq Proliant 8500 with the integrated SMART Array RAID
 controller.  I recall seeing Symbios and ARM on a chip on the
 center of the PCI module must be the
 RAID controller.  I
 used to have extreme problems even getting the system to boot
 up until I
 used the SmartStart
 CD and disabled the Array Accelerator for my one and only RAID1+0
 Container.  (Before doing this) I would get numerous
 ida0: soft write error and if the system did manage to boot
 up, a process
 might read the disk, and
 forever be stuck in some kernel routine between userland and
 the disk that
 gets a block or whatever.
 Now, I only get an occasional ida0: soft read/write error which
 occasionally causes a 15 or so second delay.  The Array
 Accelerator for the Integrated SMART array controller is 8MB of
 read-only cache. Other SMART Array models like the 4200 have
 battery backed up cache that can be user-separated between write
 and read cache. 
 
 I'm wondering if anybody has ever seen the problem mentioned above.
 
 I would hate to have to replace the whole
 PCI module because of some bad controller ram since that darn thing
 is integrated, and would make useless the
 internal bays if another raid card was added.  As a note, the
 contacts between the hard drive and the drive module
 have been cleaned out multiple times for all the drives in the
 array.  The connection between the drive module and
 the back of the computer is sturdy and clean.  There are only
 TWO cables in
 this entire system that I know of, and one
 is for the IDE CDROM, and one is for the floppy.  So, cabling
 cannot be a problem.  I also have two working PSUs that
 each have a 120V line going into it, so I doubt it's a lack of
 power.  Even though 220V is recommended for both of them,
 it works fine with even just one 120V line.
 
 I asked the HP/Compaq forum and they weren't able to give me
 much more of an
 answer than check the cabling and blow
 off the dust which I found extremely irritating because the
 data is carried
 on copper wires that resemble the pins found
 on an IDE hard drive or floppy, not your standard cabling.  I
 might ultimately be wrong...but I doubt it.
 
 You should ask Windows questions in a Windows forum.  Oh, you aren't
 running Windows on this system?  Must be FreeBSD 2.2 then, right?
 
 Ted
 
 
 
 Right now, the machine runs FreeBSD 5.3-RELEASE.  I've also
 tried a specially
 modified  6.0-CURRENT kernel upon suggestion of Matthew N.
 Dodd, and FreeBSD
 4.11, but the nature of the problem never changed and no more useful
 information was able to be found.  The same thing also
 happened running linux
 2.4.27 and some version of Linux 2.6.  I had given up hope
 that it was a
 software issue and was trying to see if any of the number of
 people on this
 list have ever had a machine that did this, or had details
 about somebody
 else's machine that did the same thing also.  Also, the ROM on
 the controller
 and the primary system BIOS have been updated to the latest available
 versions.  I have also updated the firmwares on the disk drives.
 


I can tell you right off the EISA versions of this controller don't
work at all.

Seems to me I recall some discussion a couple years back that there
were problems with certain versions of this controller.  Check in
the mailing list archives, but more importantly check the google
news archives, as I thought I saw the thread on Usenet.

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


Re: Lost depend?

2005-04-11 Thread Tofik Suleymanov
Tarc wrote:
/usr/ports/www/oops make
===   oops-1.5.24_1 depends on executable: gawk - found
===   oops-1.5.24_1 depends on file: /usr/local/bin/autoconf259 - found
===   oops-1.5.24_1 depends on shared library: gigabase_r.2 - found
===  Configuring for oops-1.5.24_1
/usr/local/bin/autoheader259: not found
*** Error code 127
Stop in /usr/ports/www/oops.
*** Error code 1
Stop in /usr/ports/www/oops.
 

autoheader binary comes with autoconf package.Are you sure,that autoconf 
is installed properly ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mailing list

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


Re: Very slow printing with stock FreeBSD5.3 + CUPS + Gimp-Print + HPDeskJet612C

2005-04-11 Thread Danny Pansters
On Monday 11 April 2005 18:52, Frank Laszlo wrote:
 Chris wrote:
 Anthony M. Agelastos wrote:
 Hello all,
 
 My HP DeskJet 612C printer is printing unbearably slow (0.033 PPM). I
 have a stock installation (GENERIC KERNEL) of FreeBSD 5.3 straight off
 of the install CDs, and I have installed very little software thus far.
 I have mainly followed the installation instructions from
 
 http://www.csua.berkeley.edu/~ranga/notes/freebsd_cups.html
 
 It basically prints one line at a time, then pauses for a while, and
 makes some noises, and then repeats. The whole single test page took
 over 30 minutes to print. Does anyone have any insight/info that they
 can give me to solve this problem or point me in the right direction of
 solving it? I have Googled and done some searching and did not come up
 with anything. I checked the CUPS documentation and forums and did not
 see anything either.

Gimp-print is about the worst one could use. Use hpijs.

 Anthony,
 
  I too have this issue. I tried with my HP 1100, 1300 and a 4050 on 3
 differant PC/laptops.  The thing is, one of them, like yours, was a
 generic install w/gnome and I tried bot apsfilter and CUPS.
 
  Yet, everyone I have spoken with has no idea of the issues I'm dealing
 with. So for now, and untill I pop on 5.4, I'm gonna leave my printing
 for Windows.
 
  Yes, I tried the install via the Handbook, read the docs for apfilter,
 and the closest I get to printing is via CUPS - and with the same issues
 (and worse then you). Mine happen to be the GO light flashes for 20
 minutes befor anything spits out.  *shrug*

Use hpijs (and hpoj) with cups. Works really well on my photosmart 2610 
all-in-one thing. They're ports from HP's drivers for Linux:

/usr/ports/print/hpijs
/usr/ports/graphics/hpoj


 Perhaps the quality setting is locked on high resolution? This would
 probably make the printer print quite slow if its an inkjet.

 Regards,
 Frank Laszlo

HTH,

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


cannot fetch source code

2005-04-11 Thread Ivailo Bonev
cannot fetch source code of port ../graphics/xpdf

Send instant messages to your online friends http://uk.messenger.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Freebsd ICMP_BANDLIM and apache

2005-04-11 Thread Brent
I was locking down a new install of FBSD 4.11 and i put 

options   ICMP_BANDLIM

in my kernel. IN the past ive read that this can cause problems with a
webserver if your running one.  Well go figure i locked the box down and then
fired up apache and now no pages are viewable. Does infact ICMP_BANDLIM makes
it so that NO pages can be viewed with a browser ?

--
Brent Bailey CCNA

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


RE: Compaq Proliant 8500 issue with Integrated SMARTArrayRAIDController (ida)

2005-04-11 Thread Andrew Heyn


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ted
Mittelstaedt
Sent: Monday, April 11, 2005 10:08 AM
To: Andrew Heyn; freebsd-questions@freebsd.org
Subject: RE: Compaq Proliant 8500 issue with Integrated
SMARTArrayRAIDController (ida)


[EMAIL PROTECTED] wrote:
 On Saturday 09 April 2005 05:35, Ted Mittelstaedt wrote:
 [EMAIL PROTECTED] wrote:
 Hi,

 I have a Compaq Proliant 8500 with the integrated SMART Array RAID
 controller.  I recall seeing Symbios and ARM on a chip on the
 center of the PCI module must be the
 RAID controller.  I
 used to have extreme problems even getting the system to boot
 up until I
 used the SmartStart
 CD and disabled the Array Accelerator for my one and only RAID1+0
 Container.  (Before doing this) I would get numerous
 ida0: soft write error and if the system did manage to boot
 up, a process
 might read the disk, and
 forever be stuck in some kernel routine between userland and
 the disk that
 gets a block or whatever.
 Now, I only get an occasional ida0: soft read/write error which
 occasionally causes a 15 or so second delay.  The Array
 Accelerator for the Integrated SMART array controller is 8MB of
 read-only cache. Other SMART Array models like the 4200 have
 battery backed up cache that can be user-separated between write
 and read cache.

 I'm wondering if anybody has ever seen the problem mentioned above.

 I would hate to have to replace the whole
 PCI module because of some bad controller ram since that darn thing
 is integrated, and would make useless the
 internal bays if another raid card was added.  As a note, the
 contacts between the hard drive and the drive module
 have been cleaned out multiple times for all the drives in the
 array.  The connection between the drive module and
 the back of the computer is sturdy and clean.  There are only
 TWO cables in
 this entire system that I know of, and one
 is for the IDE CDROM, and one is for the floppy.  So, cabling
 cannot be a problem.  I also have two working PSUs that
 each have a 120V line going into it, so I doubt it's a lack of
 power.  Even though 220V is recommended for both of them,
 it works fine with even just one 120V line.

 I asked the HP/Compaq forum and they weren't able to give me
 much more of an
 answer than check the cabling and blow
 off the dust which I found extremely irritating because the
 data is carried
 on copper wires that resemble the pins found
 on an IDE hard drive or floppy, not your standard cabling.  I
 might ultimately be wrong...but I doubt it.

 You should ask Windows questions in a Windows forum.  Oh, you aren't
 running Windows on this system?  Must be FreeBSD 2.2 then, right?

 Ted



 Right now, the machine runs FreeBSD 5.3-RELEASE.  I've also
 tried a specially
 modified  6.0-CURRENT kernel upon suggestion of Matthew N.
 Dodd, and FreeBSD
 4.11, but the nature of the problem never changed and no more useful
 information was able to be found.  The same thing also
 happened running linux
 2.4.27 and some version of Linux 2.6.  I had given up hope
 that it was a
 software issue and was trying to see if any of the number of
 people on this
 list have ever had a machine that did this, or had details
 about somebody
 else's machine that did the same thing also.  Also, the ROM on
 the controller
 and the primary system BIOS have been updated to the latest available
 versions.  I have also updated the firmwares on the disk drives.



I can tell you right off the EISA versions of this controller don't
work at all.

Seems to me I recall some discussion a couple years back that there
were problems with certain versions of this controller.  Check in
the mailing list archives, but more importantly check the google
news archives, as I thought I saw the thread on Usenet.

Ted



Ted,

Thanks for the response.

[EMAIL PROTECTED]:14:0: class=0x010400 card=0x40400e11 chip=0x00101000 rev=0x01
hdr=0x00
vendor   = 'LSI Logic (Was: Symbios Logic, NCR)'
device   = 'LSI53C1510 I2O-Ready PCI RAID Ultra2 SCSI Controller
(Intelligent mode)'
class= mass storage
subclass = RAID

I believe that output from pciconf -v -l is enough to show that it's not
EISA...  Does anything
else about that model ring any bells for you?

The only reference to something related to my problem is people reporting
ida0: soft error or
ida0: soft read/write error, which are related to having a failed drive...
I noticed myself that
if the raid container wasn't 100%, those errors would come out by the
thousands...  But nobody reports
temporarily halts, or having to disable the integrated smart array's read
cache to boot up.

Thanks,
Andrew

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


Re: cannot fetch source code

2005-04-11 Thread Kevin Kinsey
Ivailo Bonev wrote:
cannot fetch source code of port ../graphics/xpdf
 

[696] Mon 11.Apr.2005 13:10:49
[EMAIL PROTECTED]/usr/ports/graphics/xpdf]
sudo make fetch
===  Vulnerability check disabled, database not found
= xpdf-3.00.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
= Attempting to fetch from ftp://ftp.foolabs.com/pub/xpdf/.
xpdf-3.00.tar.gz5% of  522 kB 3458  Bps^C
fetch: transfer interrupted
Works here.  Is your ports tree (ergo Makefile) up to date?
Can you connect to ftp.foolabs.com via your ftp client?
Kevin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cannot fetch source code

2005-04-11 Thread Lowell Gilbert
Ivailo Bonev [EMAIL PROTECTED] writes:

 cannot fetch source code of port ../graphics/xpdf

Looks like there was a bad merge in a Makefile change made a few hours
ago; patches for xpdf 2.0 shouldn't be getting pulled in.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Lost depend?

2005-04-11 Thread Kris Kennaway
On Fri, Apr 08, 2005 at 03:13:06PM +0500, Tofik Suleymanov wrote:
 Tarc wrote:
 
 /usr/ports/www/oops make
 ===   oops-1.5.24_1 depends on executable: gawk - found
 ===   oops-1.5.24_1 depends on file: /usr/local/bin/autoconf259 - found
 ===   oops-1.5.24_1 depends on shared library: gigabase_r.2 - found
 ===  Configuring for oops-1.5.24_1
 /usr/local/bin/autoheader259: not found
 *** Error code 127
 
 Stop in /usr/ports/www/oops.
 *** Error code 1
 
 Stop in /usr/ports/www/oops.
  
 
 autoheader binary comes with autoconf package.Are you sure,that autoconf 
 is installed properly ?

One common problem is that you updated perl without updating the ports
that depend on it as described in /usr/ports/UPDATING.  For some
reason the autotool hard-code a specific version of perl, so they need
to be rebuilt when perl is updated.

Kris


pgpUfjRfkGVBg.pgp
Description: PGP signature


Re: ls colorized in freebsd csh??

2005-04-11 Thread Kris Kennaway
On Mon, Apr 11, 2005 at 03:47:26AM -0700, Sergei Gnezdov wrote:
 On 2005-04-10, N. Raghavendra [EMAIL PROTECTED] wrote:
  ## Enable color display for listing files.
  set color
 
  ## Specify the colors for listing various file types.
  setenv LS_COLORS no=00:fi=00:di=01;34:ln=01;36;40:pi=40;33:so=01;35
  setenv LS_COLORS $LS_COLORS:bd=40;33;01:cd=40;33;01:or=40;31;01
 
 Where can I learn about these cryptic numbers?

Start with the manpage, of course.

Kris


pgpkqbMPxYwKb.pgp
Description: PGP signature


Re: make.conf question

2005-04-11 Thread Kris Kennaway
On Mon, Apr 11, 2005 at 02:05:00PM +0200, Piotr Gnyp wrote:


 # The CPUTYPE variable controls which processor should be targeted for
 # generated code.  This controls processor-specific optimizations in
 # certain code (currently only OpenSSL) as well as modifying the value
 # of CFLAGS to contain the appropriate optimization directive to gcc.
 # The automatic setting of CFLAGS may be overridden using the
 # NO_CPU_CFLAGS variable below.
 # Currently the following CPU types are recognized:
 #   Intel x86 architecture:
 #   (AMD CPUs)  k7 k6-2 k6 k5
 #   (Intel CPUs)p4 p3 p2 i686 i586/mmx i586 i486 i386
 #   Alpha/AXP architecture: ev6 pca56 ev56 ev5 ev45 ev4

 is in /etc/defaults/make.conf in 4.x?

It does exactly what it says it does.  What is your confusion?

Kris

pgpUXuoMohHtG.pgp
Description: PGP signature


Hard drive fullness limits information help request

2005-04-11 Thread NMH
Hi all
  I know hard drives tend to not run well when near
full. They have trouble performing self adjustments
(hardware), self defragging(unix/FFS) etc.. (as I can
express it) However, I need to find some documentation
or some help in explaining this better. 
  I am working with some people who store loads of
files, on many drives and tend to fill the drives to
95% and more and then can't understand why they become
unstable.  I need to be able to explain it better and
I would also like to know more to be able to
factually/sanely set a percent full safe limit. 

 Any help would be appreciatted

 Thanks!

 NMH.



The Large Print Giveth And The Small Print Taketh Away
 -- Anon



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hard drive fullness limits information help request

2005-04-11 Thread Paul Schmehl
--On Monday, April 11, 2005 12:30:37 PM -0700 NMH [EMAIL PROTECTED] 
wrote:

Hi all
  I know hard drives tend to not run well when near
full. They have trouble performing self adjustments
(hardware), self defragging(unix/FFS) etc.. (as I can
express it) However, I need to find some documentation
or some help in explaining this better.
  I am working with some people who store loads of
files, on many drives and tend to fill the drives to
95% and more and then can't understand why they become
unstable.  I need to be able to explain it better and
I would also like to know more to be able to
factually/sanely set a percent full safe limit.
 Any help would be appreciatted
Q: What happens when you fill a cabinet that is designed to hold 100 
folders with 95 folders, many of which are crammed full of papers?

A: It gets much harder to put more folders in or to put more stuff in the 
existing folders.  And papers start to stick out and catch on the top of 
the drawer because they no longer fit.

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


Question about Ports and Packages

2005-04-11 Thread Tom Moyer
I'm using FreeBSD 5-STABLE installed from 5.4-RC1 and then cvsup'd to
5-STABLE on Friday.

Maybe I'm just doing something wrong, but I noticed that when I did
pkgdb -F or portsdb -Uu, it seemed to complain about build
dependancies missing for packages that I installed from packages.  I
assumed that it would catch this and not prompt me to fix stale
dependacies like that.

Along those same lines:  I deleted a build dependancy before I decided
to skip them, is there any way to fix that automatically?

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


Problems with ppp and pocketpc over usb connections.(long list at bottom)

2005-04-11 Thread Martes G Wigglesworth
I am having difficulties using user-ppp for connecting my usb-cabled
pocketpc to Freebsd.  The chat script indicates that it cannot set speed
to 0.  Also, am I supposed to have the ppp.conf setup to host
connections?  I am very new to ppp and I am not sure.  The howtos don't
even begin to explain what is actually going on.  They all just list
simple configurations that seem to work for everyone but me.  The tun0
device is used and given an ip address, however, I am not able to ping
either address that is associated with the tun0 device interface.  I am
trying to get synce and multisync to work, however, I have discovered
that RAPI is not initialized, meaning that the pda is never actually
connected to the tun0 interface, hence never connected to
synce-serial-start, and multisync instances.  I was able to see ip
address assignments when I started this email, and now that I have
started the processes again, I am getting only a PID  as shown below. 
Can someone please give me a clue as to what is going on?  All the docs
seem to assume that all is well, and people are using their PPcs with
*nix, so what is wrong with my picture?

Thanks for the assistance, in advance.


I get the following, while connected, just after usbd has assigned the
ucom0 device:

dmesg|grep ucom0 ucom0:
Windows CE Device Hewlett Packard product 0x1016, rev 1.00/0.00,addr 2
ifconfig|grep tun
tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1500
Opened by PID 3718
tun1: flags=8010POINTOPOINT,MULTICAST mtu 1500
tun2: flags=8010POINTOPOINT,MULTICAST mtu 1500

 sudo tail -f /var/log/ppp.log
Apr 11 15:38:19 Mobil1 ppp[3554]: tun0: Phase: deflink: 8 packets in, 10
packets out
Apr 11 15:38:19 Mobil1 ppp[3554]: tun0: Phase:  total 15 bytes/sec, peak
24 bytes/sec on Mon Apr 11 15:38:07 2005
Apr 11 15:38:19 Mobil1 ppp[3554]: tun0: Phase: deflink: hangup -
opening
Apr 11 15:38:19 Mobil1 ppp[3554]: tun0: Phase: deflink: Enter pause (3)
for redialing.
Apr 11 15:38:19 Mobil1 ppp[3554]: tun0: Chat: deflink: Reconnect try 2
of 0
Apr 11 15:38:21 Mobil1 ppp[3554]: tun0: Phase: Signal 15, terminate.
Apr 11 15:38:21 Mobil1 ppp[3554]: tun0: Phase: deflink: Disconnected!
Apr 11 15:38:21 Mobil1 ppp[3554]: tun0: Phase: deflink: opening -
closed
Apr 11 15:38:21 Mobil1 ppp[3554]: tun0: Phase: bundle: Dead
Apr 11 15:38:21 Mobil1 ppp[3554]: tun0: Phase: PPP Terminated (normal).
Apr 11 15:42:59 Mobil1 ppp[3711]: Phase: Using interface: tun0
Apr 11 15:42:59 Mobil1 ppp[3711]: Phase: deflink: Created in closed
state
Apr 11 15:42:59 Mobil1 ppp[3717]: Phase: Using interface: tun1
Apr 11 15:42:59 Mobil1 ppp[3717]: Phase: deflink: Created in closed
state
Apr 11 15:42:59 Mobil1 ppp[3711]: tun0: Command: default: ident user-ppp
VERSION (built COMPILATIONDATE)
Apr 11 15:42:59 Mobil1 ppp[3711]: tun0: Command: default: set device
/dev/ucom0
Apr 11 15:42:59 Mobil1 ppp[3711]: tun0: Command: default: set speed
115200
Apr 11 15:42:59 Mobil1 ppp[3711]: tun0: Command: default: set timeout
180
Apr 11 15:42:59 Mobil1 ppp[3711]: tun0: Command: default: enable dns
Apr 11 15:42:59 Mobil1 ppp[3711]: tun0: Command: ppc: set device
/dev/ucom0
Apr 11 15:42:59 Mobil1 ppp[3711]: tun0: Command: ppc: set speed 115200
Apr 11 15:42:59 Mobil1 ppp[3711]: tun0: Command: ppc: set timeout 0
Apr 11 15:42:59 Mobil1 ppp[3711]: tun0: Command: ppc: set dial
Apr 11 15:42:59 Mobil1 ppp[3711]: tun0: Command: ppc: set ifaddr
192.168.2.104 192.168.2.202
Apr 11 15:42:59 Mobil1 ppp[3717]: tun1: Command: default: ident user-ppp
VERSION (built COMPILATIONDATE)
Apr 11 15:42:59 Mobil1 ppp[3717]: tun1: Command: default: set device
/dev/ucom0
Apr 11 15:42:59 Mobil1 ppp[3717]: tun1: Command: default: set speed
115200
Apr 11 15:42:59 Mobil1 ppp[3717]: tun1: Command: default: set timeout
180
Apr 11 15:42:59 Mobil1 ppp[3717]: tun1: Command: default: enable dns
Apr 11 15:42:59 Mobil1 ppp[3717]: tun1: Command: ppc: set device
/dev/ucom0
Apr 11 15:42:59 Mobil1 ppp[3717]: tun1: Command: ppc: set speed 115200
Apr 11 15:42:59 Mobil1 ppp[3717]: tun1: Command: ppc: set timeout 0
Apr 11 15:42:59 Mobil1 ppp[3717]: tun1: Command: ppc: set dial
Apr 11 15:42:59 Mobil1 ppp[3717]: tun1: Command: ppc: set ifaddr
192.168.2.104 192.168.2.202
Apr 11 15:42:59 Mobil1 ppp[3718]: tun0: Phase: PPP Started (ddial mode).
Apr 11 15:42:59 Mobil1 ppp[3718]: tun0: Phase: bundle: Establish
Apr 11 15:42:59 Mobil1 ppp[3718]: tun0: Phase: deflink: closed -
opening
Apr 11 15:42:59 Mobil1 ppp[3719]: tun1: Phase: PPP Started (background
mode).
Apr 11 15:42:59 Mobil1 ppp[3719]: tun1: Phase: bundle: Establish
Apr 11 15:42:59 Mobil1 ppp[3719]: tun1: Phase: deflink: closed -
opening
Apr 11 15:42:59 Mobil1 ppp[3719]: tun1: Phase: deflink: /dev/ucom0 is in
use
Apr 11 15:42:59 Mobil1 ppp[3719]: tun1: Chat: Failed to open device
(attempt 1 of 1)
Apr 11 15:42:59 Mobil1 ppp[3719]: tun1: Phase: deflink: opening -
closed
Apr 11 15:42:59 Mobil1 ppp[3719]: tun1: Phase: bundle: Dead
Apr 11 15:42:59 Mobil1 ppp[3719]: tun1: Chat: Parent notified of redial
Apr 11 

Problems installing php5-pear (zend_hash.c(678) : ht=0x8181f10 is already destroyed)

2005-04-11 Thread John J Vaughan
I'm having problems getting pear installed with apache2, PHP5, mysql,  
ssl, on 5.3-RELEASE.  I first installed and configured mysql41,  
apache2, mod_php5, and  php5-openssl without a problem.  Having read  
that PEAR was included in all php versions  4.3.0  
(http://pear.php.net/manual/en/installation.php), I rushed to the  
assumption that it was also included in the mod_php5 package.  I now  
know that PEAR requires a CLI or CGI on PHP5 to run.

First I tried swapping the ports using the portupgrade -o switch as  
shown on its manpage
#portupgrade -o devel/php5-pear mod_php5

That didn't work because php5-pear kept complaining that mod_php5 was  
installed, even forcing with -fo

So I . . .
#cd /usr/ports/www/mod_php5
#make deinstall
#portinstall -Rr php5-pear
When that was done, I added /usr/local/share/pear to my php.ini file  
and #apachectl restart

Now when trying to run pear from the command line I get:
#pear
/usr/ports/lang/php5/work/php-5.0.4/Zend/zend_hash.c(678) :  
ht=0x8181f10 is already destroyed
/usr/ports/lang/php5/work/php-5.0.4/Zend/zend_hash.c(678) :  
ht=0x8181f10 is already destroyed
/usr/ports/lang/php5/work/php-5.0.4/Zend/zend_hash.c(67) : Bailed out  
without a bailout address!

Also, when I try to:
#pear install DB
downloading DB-1.7.6.tar ...
Starting to download DB-1.7.6.tar (-1 bytes)
 
 
..done: 735,232 bytes
requires package `PEAR' = 1.0b1
DB: Dependencies failed
/usr/ports/lang/php5/work/php-5.0.4/Zend/zend_hash.c(678) :  
ht=0x8181f10 is already destroyed
/usr/ports/lang/php5/work/php-5.0.4/Zend/zend_hash.c(678) :  
ht=0x8181f10 is already destroyed
/usr/ports/lang/php5/work/php-5.0.4/Zend/zend_hash.c(67) : Bailed out  
without a bailout address!

When I go to any page that calls DB.php from the PEAR package, the page  
pulls up blank with just
htmlbody/body/html
Other php pages load fine.  (PHP debugger is turned on)

Any suggestions?  Is it better to install just PHP5 and then get PEAR  
from the PEAR website by doing:
#lynx -source http://go-pear.org/ | php



Here's some info about this system:
#uname -a
FreeBSD ip24-135.pc.jmu.edu 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov  
 5 04:19:18 UTC 2004  
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

#pkg_info
apache-2.0.53_1 Version 2 of Apache web server with prefork MPM.
autoconf-2.53_3 Automatically configure source code on many Un*x  
platforms
autoconf-2.59_2 Automatically configure source code on many Un*x  
platforms
automake-1.5_2,1GNU Standards-compliant Makefile generator (version  
1.5)
bison-1.75_2A parser generator from FSF, (mostly) compatible  
with Yacc
cvsup-without-gui-16.1h General network file distribution system  
optimized for CVS
expat-1.95.8XML 1.0 parser written in C
fastest_cvsup-0.2.8 Finds fastest CVSup server
fontconfig-2.2.3,1  An XML-based font configuration API for X Windows
freetype2-2.1.9 A free and portable TrueType font rendering engine
gettext-0.14.1  GNU gettext package
gmake-3.80_2GNU version of 'make' utility
help2man-1.35.1 Automatically generating simple manual pages from  
program o
imake-6.8.2 Imake and other utilities from X.Org
jpeg-6b_3   IJG's jpeg compression utilities
libiconv-1.9.2_1A character set conversion library
libltdl-1.5.10  System independent dlopen wrapper
libmcrypt-2.5.7_1   Multi-cipher cryptographic library (used in PHP)
libtool-1.3.5_2 Generic shared library support script (version 1.3)
libtool-1.5.10_1Generic shared library support script (version 1.5)
libxml2-2.6.19  XML parser library for GNOME
m4-1.4.3GNU m4
mysql-client-4.1.11 Multithreaded SQL database (client)
mysql-server-4.1.11 Multithreaded SQL database (server)
openssh-3.6.1_5 OpenBSD's secure shell client and server (remote  
login prog
openssl-0.9.7f  SSL and crypto library
p5-gettext-1.03 Message handling functions
pdflib-6.0.1_1  A C library for dynamically generating PDF
pecl-pdflib-2.0.4   A PECL extension to create PDF on the fly
perl-5.8.6_2Practical Extraction and Report Language
php5-5.0.4_1PHP Scripting Language (Apache Module and CLI)
php5-bz2-5.0.4_1The bz2 shared extension for php
php5-gd-5.0.4_1 The gd shared extension for php
php5-mbstring-5.0.4_1 The mbstring shared extension for php
php5-mcrypt-5.0.4_1 The mcrypt shared extension for php
php5-mysql-5.0.4_1  The mysql shared extension for php
php5-mysqli-5.0.4_1 The mysqli shared extension for php
php5-openssl-5.0.4_1 The openssl shared extension for php
php5-pcre-5.0.4_1   The pcre shared extension for php
php5-pear-5.0.4_1   PEAR framework for PHP
php5-xml-5.0.4_1The xml shared extension for php
php5-zlib-5.0.4_1   The zlib shared extension for php
phpMyAdmin-2.6.1.3  A set of PHP-scripts to manage MySQL over the web

Re: Hard drive fullness limits information help request

2005-04-11 Thread Philip Hallstrom
Hi all
  I know hard drives tend to not run well when near
full. They have trouble performing self adjustments
(hardware), self defragging(unix/FFS) etc.. (as I can
express it) However, I need to find some documentation
or some help in explaining this better.
  I am working with some people who store loads of
files, on many drives and tend to fill the drives to
95% and more and then can't understand why they become
unstable.  I need to be able to explain it better and
I would also like to know more to be able to
factually/sanely set a percent full safe limit.
 Any help would be appreciatted
Q: What happens when you fill a cabinet that is designed to hold 100 folders 
with 95 folders, many of which are crammed full of papers?

A: It gets much harder to put more folders in or to put more stuff in the 
existing folders.  And papers start to stick out and catch on the top of the 
drawer because they no longer fit.
And to add to that, when you realize you want to re-organize folder XYZ to 
make it tidier, but you don't want to do it to the originals since they 
are important to you, where are you going to get the room to first make a 
a copy of the folder, then organize it, then replace the original once 
you've confirmed that you didn't leave any papers on the floor.  So you 
are stuck with an untidy XYS folder.  Yuck.

Probably not the most accurate analogy, but it's easy to understand...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SATA drives and hotplug capability

2005-04-11 Thread Frederic Andres
Hi,

I'm using FreeBSD 5.2.1 and I have an Asus motherboard with an embedded
Promise 20378 controller. I want to plug/unplug a SATA drive when the
system is up. The drive is a data drive, I don't want to use RAID
capabilities of my Promise controller.

Can someone have any experience doing this? Do you have info about SATA
drives and hotplug capabilities on FreeBSD 5.X ?

Thank you very much for your help,
Fred
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Freebsd ICMP_BANDLIM and apache

2005-04-11 Thread bob
I am running 4.10 with apache and have ICMP_BANDLIM enabled in
sysctl.conf and I have no problems.  Look some where else for cause
of your problem.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Brent
Sent: Monday, April 11, 2005 1:58 PM
To: [EMAIL PROTECTED]
Subject: Freebsd ICMP_BANDLIM and apache

I was locking down a new install of FBSD 4.11 and i put

options   ICMP_BANDLIM

in my kernel. IN the past ive read that this can cause problems with
a
webserver if your running one.  Well go figure i locked the box down
and then
fired up apache and now no pages are viewable. Does infact
ICMP_BANDLIM makes
it so that NO pages can be viewed with a browser ?

--
Brent Bailey CCNA

___
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: rpc error on nfs

2005-04-11 Thread Parv
in message [EMAIL PROTECTED],
wrote x_patriot paracetamol thusly...

 when i try to mount  NFS on my machine,.. error  messages appear
 like :
 
 NFS Portmap: RPC: Port mapper failure - RPC: Unable to send
 
 what was wrong on my system..?

For starters, search Google.  I did, and solved my own similar
problems.  Check list comes down to ...

  - Server  client both have IP addresses such that they can find
each other. (In my case, dhclient(8) cannot get an IP address
after boot up; i had to start it manually on 4.x.)

  - Portmapper/Rpcbind(8) is running on client  server.

  - Nfsd(8) is registered with portmapper/rpcbind.

  - Mountd(8) is listening on a port not blocked by a firewall.  (In
my case, mountd was opening a random port for which there was no
allowance in the firewall.  Now i start mountd with a port that
is open in firewall.)

  - At the end, make sure above is as intended by use of rpcinfo(8) (on
5.x; don't know similar command on 4.x).


I could have replied just more information or not at all to your
post (since you have not provided much information), but i send it to
be committed to archive for my own future benefit.


  - Parv

-- 

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


Re: Hard drive fullness limits information help request

2005-04-11 Thread Julian Stacey
Reference:
 From: NMH [EMAIL PROTECTED] 
 Date: Mon, 11 Apr 2005 12:30:37 -0700 (PDT) 
 Message-id:   [EMAIL PROTECTED] 

NMH wrote:
 Hi all
   I know hard drives tend to not run well when near
 full. They have trouble performing self adjustments
 (hardware), self defragging(unix/FFS) etc..

I usually run near full.
I dont have problems ('cept overflow ;-)

man tunefs 

 you'll realise most FS's arent run full anyway
(but even if I
tunefs -m 0  -o space
I dont normally have problems ( though OK, it'd be slow if multi person usage)

Cross posting 2 lists is deprecated, so I dropped freebsd-hardware@
as this question is too basic for hardware@ as well as [EMAIL PROTECTED]

-
Julian StaceyNet  Sys Eng Consultant, Munich   http://berklix.com
Mail in Ascii (Html=Spam).  Ihr Rauch = mein allergischer Kopfschmerz.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hard drive fullness limits information help request

2005-04-11 Thread Micheal Patterson


- Original Message - 
From: NMH [EMAIL PROTECTED]
To: hardware freebsd-hardware@freebsd.org; questions
freebsd-questions@freebsd.org
Sent: Monday, April 11, 2005 2:30 PM
Subject: Hard drive fullness limits information help request


 Hi all
   I know hard drives tend to not run well when near
 full. They have trouble performing self adjustments
 (hardware), self defragging(unix/FFS) etc.. (as I can
 express it) However, I need to find some documentation
 or some help in explaining this better.
   I am working with some people who store loads of
 files, on many drives and tend to fill the drives to
 95% and more and then can't understand why they become
 unstable.  I need to be able to explain it better and
 I would also like to know more to be able to
 factually/sanely set a percent full safe limit.

  Any help would be appreciatted

  Thanks!

  NMH.



 The Large Print Giveth And The Small Print Taketh Away
  -- Anon


NMH,

If these people are old enough to remember LP records, explain it to them in
this fashion.

A hard drive is much like an older LP record. Multiple songs, in sequencial
order. You can play them in any order that you wish by moving the tone arm
to a different song on the album. Now, say that you don't like track 3 and
wish to delete it (if you could). You would end up with 3 minutes of blank
space in the album. So, you want to add another song that you do like, but
it's 3 minutes 30 seconds long and won't fit into a 3 minute time slot. A
hard drive is able to place this 30 seconds at the end of the current space
and be able to jump to that 30 extra seconds and you never know the
difference. Now, if this happens a lot, meaning removing data, adding larger
data, removing data, adding smaller chunks of data, etc, the actual data
will get scattered throughout the disk. This is known as data fragmentation.
Hard drives are able to deal with to a considerable degree however the more
fragmented a drive is,  the harder the drive has to work in order to make
that unnoticed jump. As the drive works harder, access times grow longer and
there is a higher potential for data loss. When drives get to a higher usage
(90%+ utilization), there isn't much room to left to handle those scattered
chuncks of data.

That's the analogy that I used to use and it worked pretty well for me. Your
mileage may vary.

--

Micheal Patterson
Senior Communications Systems Engineer
405-917-0600

Confidentiality Notice:  This e-mail message, including any attachments,
is for the sole use of the intended recipient(s) and may contain
confidential and privileged information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all
copies of the original message.

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


Re: BIND 9 on a dynamic ip address

2005-04-11 Thread Christopher Kelley

Date: Sun, 10 Apr 2005 16:22:07 -0500
From: Ryan J. Cavicchioni [EMAIL PROTECTED]
Subject: Re: BIND 9 on a dynamic ip address
To: Ash [EMAIL PROTECTED],  FreeBSD Questions
freebsd-questions@freebsd.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1
All I am really looking to do is learn DNS and BIND as well as host my
own local DNS server for faster DNS lookups within my home network.
Would using the invalid LAN domain have any negative afters on my web or
ftp server? I am really new at BIND, sorry if I seem clueless. Thank you
for taking the time to help me out.
Ash wrote:
 

Ryan J. Cavicchioni wrote:
   

Thank you for the replies. Ash, can I use my dynamic dns hostname as
the domain which actually points to my network? Would that still be
trouble?
Ash wrote:
 


You can use your dynamic host name as the domain, however I'm not
really sure why you would want to. By definition dynamic domain names
change; Why would you want to reconfigure your DNS server
configuration files as well as all of your hosts every time your ISP
assigns a new IP/host name to you?
I don't see any advantage in using your dynamic host name over an
invalid TLD. What are the goals that you are trying to resolve by
using your dynamic host name as your local LAN's domain name? Perhaps
we can come up with a solution that requires less work, but still
addresses your concerns.
-Ash

If I understand correctly what you want to do, what you name your 
network internally isn't connected to your dynamic DNS hostname at all. 
The dynamic DNS hostname only gets internet traffic to your firewall. 
Your firewall rules tell your firewall what to do with inbound connections.

So your external hostname might be cavicchioni.dyndns.org But 
internally, your network can have whatever name you want. For instance, 
if you were a Star Trek fan, and had all your computers named after 
characters on Star Trek, you might name your internal network 
ryantrek.lan. If you try to access cavicchioni.dyndns.org from a 
computer on your internal network, it has to go out to an external DNS 
server to get your external (dynamic) IP, and it will essentially route 
back to yourself, and your firewall rules will determine what happens to 
your connection. But if you want to access spock.ryantrek.lan from 
your internal network, it only goes to your local DNS server, and you 
connect directly to spock. Note that your dynamic dns hostname and your 
local network hostnames aren't connected in any way.

Also note that .lan is an invalid TLD on the internet, but to my 
(probably warped) way of thinking, that's a bonus, as there will never 
be a site on the internet called ryantrek.lan that you might want to 
visit and not be able to because of your internal DNS.

Or maybe I've misunderstood and this whole explanation is worthless. ;)
Finally, I found the website http://www.sendmail.org/tips/private-dns/ 
to be very helpful in setting up my local DNS server. YMMV.

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


Re: Loading Samba Shares at Startup

2005-04-11 Thread Lis
- Original Message - 
From: Iain Dooley [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Monday, April 11, 2005 12:32 PM
Subject: Loading Samba Shares at Startup


hi there, not really sure if this is appropriate for this list, or if i 
should be sending it to the samba lists. i'll try here first.

i have a samba server which serves a few windows machines, and i also use 
it via sharity-light from my freebsd machine running 4.10 RELEASE. i have 
a script that loads my shares, and i put it in my rc.d folder (i've taken 
out the user and password info):

#!/bin/sh
/usr/local/sbin/shlight //cessna/http /usr/home/iain/development/http/ -U 
* -u * -g wheel -f 775 -d 775 -P *
/usr/local/sbin/shlight //cessna/http_inertia 
/usr/home/iain/development/http_inertia/ -U * -u * -g wheel -f 775 -d 
775 -P *
/usr/local/sbin/shlight //cessna/music /usr/home/iain/music -U * -u * -g 
wheel -f 775 -d 775 -P *
/usr/local/sbin/shlight //cessna/dools /usr/home/iain/dools_network -U 
* -u * -g wheel -f 775 -d 775 -P *

it runs fine when i start up freebsd, but when i login, i don't have 
access to the shares. so i put the call to the script inside my .tcshrc 
file, but this means that, even if i login remotely, and every time i 
start a new konsole session or scp something, this script runs.

does anyone have any clues as to why it wouldn't have access to the shares 
after running this script from inside rc.d? i really only want it to run 
when the machine starts up, not every time i login.

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

why u dont use mount_smbfs?
and dont forgett to set ur devices and trusted ips... 

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


Creating a socket file by hand

2005-04-11 Thread Joshua Lewis
Dear list,

I am setting up a Mail Server with postfix and trying to add spam filtering
and anti virus filtering. The ClamAV program is trying to read
/var/run/clamav/clamd. The directory is there but the socket file is not.
How do I create a socket file by hand/

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


Re: Hard drive fullness limits information help request

2005-04-11 Thread NMH

--- Julian Stacey [EMAIL PROTECTED] wrote:
 Reference:
  From:   NMH [EMAIL PROTECTED] 
  Date:   Mon, 11 Apr 2005 12:30:37 -0700 (PDT) 
  Message-id:
 [EMAIL PROTECTED]
 
 
 NMH wrote:
  Hi all
I know hard drives tend to not run well when
 near
  full. They have trouble performing self
 adjustments
  (hardware), self defragging(unix/FFS) etc..
 
 I usually run near full.
 I dont have problems ('cept overflow ;-)
 
 man tunefs 
 
  you'll realise most FS's arent run full anyway
 (but even if I
   tunefs -m 0  -o space
 I dont normally have problems ( though OK, it'd be
 slow if multi person usage)

 If you do man tunefs it you will see how it warns
that less than 15% is dangerous. (even though normally
only 8% is reserved. It's especially dangerous when
you have Many Many files. (and a large hard drive -
thus more to manage) 

 Cross posting 2 lists is deprecated, so I dropped
 freebsd-hardware@
 as this question is too basic for hardware@ as well
 as [EMAIL PROTECTED]

 For shame. A your question is too dumb to have
written to our mailing list? I hope you are not
trying to represent the great open arms of FreeBSD and
the questions mailing list. My Question is quite
appropriate for either list. Nor should someone even
be given the feeling their questions are too basic to
bother us with! (unless your aim is to drive people
away)
 However, I was hoping someone could point me more
towards a white paper or some such other information.
Such as that used by the man page for tunefs, that
recommends not using more than 15% or drive capcity
and how performance can degrade 3 fold of the
performance at 10%. So that I can work up my own
percentages for my type of file usage. (and yes Inode
usage is fine) 
 

 NMH.


 -
 Julian StaceyNet  Sys Eng Consultant,
 Munich   http://berklix.com
 Mail in Ascii (Html=Spam).  Ihr Rauch = mein
 allergischer Kopfschmerz.
 ___
 freebsd-questions@freebsd.org mailing list

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

The Large Print Giveth And The Small Print Taketh Away
 -- Anon



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hard drive fullness limits information help request

2005-04-11 Thread matt virus
NMH wrote:
Hi all
  I know hard drives tend to not run well when near
full. They have trouble performing self adjustments
(hardware), self defragging(unix/FFS) etc.. (as I can
express it) However, I need to find some documentation
or some help in explaining this better. 
  I am working with some people who store loads of
files, on many drives and tend to fill the drives to
95% and more and then can't understand why they become
unstable.  I need to be able to explain it better and
I would also like to know more to be able to
factually/sanely set a percent full safe limit. 

 Any help would be appreciatted
 Thanks!
 NMH.

The Large Print Giveth And The Small Print Taketh Away
 -- Anon
i suggest tunefs as well.  My server uses many drives, most filled to 
95% and higher.  I've never had a filesystem-oriented problem.

Cheers!

		
__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


--
Matt Virus (veer-iss)
http://www.mattvirus.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Compaq Proliant 8500 issue with Integrated SMARTArrayRAIDController (ida)

2005-04-11 Thread Grant
On Mon, 2005-04-11 at 14:12 -0700, Andrew Heyn wrote:

 [EMAIL PROTECTED]:14:0: class=0x010400 card=0x40400e11 chip=0x00101000 
 rev=0x01
 hdr=0x00
 vendor   = 'LSI Logic (Was: Symbios Logic, NCR)'
 device   = 'LSI53C1510 I2O-Ready PCI RAID Ultra2 SCSI Controller
 (Intelligent mode)'
 class= mass storage
 subclass = RAID
 
 I believe that output from pciconf -v -l is enough to show that it's not
 EISA...  Does anything
 else about that model ring any bells for you?
 
 The only reference to something related to my problem is people reporting
 ida0: soft error or
 ida0: soft read/write error, which are related to having a failed drive...
 I noticed myself that
 if the raid container wasn't 100%, those errors would come out by the
 thousands...  But nobody reports
 temporarily halts, or having to disable the integrated smart array's read
 cache to boot up.


Hey,

I've only just looked at this, but i have a Proliant 2500R, its old but
its working :)

Now i find when i rip out a drive from my RAID5 (5 actual disks) array i
get the soft error in the console lots of them... when i put the drive
back it builds the drive back up and continues to carry on without the
drive and with the drive, no halts or any temp halts nothing.. it just
carrys on.

The card i have mine on was some funky full length PCI thing, its
running FreeBSD 5.3 and is running perfect and has been for ages...

my output from pciconf

[EMAIL PROTECTED]:0:0:  class=0x018000 card=0x40300e11 chip=0xae100e11 rev=0x03
hdr=0x00vendor   = 'Compaq Computer Corp (Now owned by
Hewlett-Packard)'
device   = 'Smart-2 Array Controller'
class= mass storage

/end output

I have before run linux on this machine and have never seen any of the
soft errors.. so i dont know if this is just a FreeBSD thing, but i can
tell you my drives are working perfectly well :) and it rebuilds fine...
all i get is some of them errors logged in the console.

So hope this helps you find out what might be causing theses errors.

See ya
Grant.

PS = I do still have the onboard scsi enabled and am using it for a CDRW
drive.

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


Re: can't cd to /usr/obj/usr/src/sys/BIGD

2005-04-11 Thread Darrel
Thanks for your input.
I read the handbook and am certain to understand more of it next time.  It was 
my first kernel
build- did not survive very long.
Darrel
On Mon, 11 Apr 2005, Daniel O'Connor wrote:
I've redirected  this to freebsd-questions which is more relevant.
On Sat, 9 Apr 2005 17:01, Darrel wrote:
make buildworld
exit
script /var/tmp/bk.out
make buildkernel KERNCONF=BIGD
exit
Did these succeed?
You didn't cd into /usr/src first so I don't see how they can have worked..
- Rebooted to single user
fsck -p
Why run fsck?
mount -u /
mount -a -t ufs
mount -a is fine here (unless you have NFS in fstab)
swapon -a
make installkernel KERNCONF=BIGD
   error code don't know how to make bsd.README
You aren't in /usr/src?
Did you read the handbook on this stuff?
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
 -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Getting CVSup to work

2005-04-11 Thread Joost van Dijk
Hello, 

I am having trouble getting CVSup to work. I have done the following: 

Installed FreeBSD 5.3
No ports are installed and I am using command line only.

Then went to /usr/ports/net/cvsup-without-gui
# make
# make install
All this seemed to work as it should. 

Then copied /usr/share/examples/cvsup/ports-supfile
to /root/cvsup

Edited the file as per instructions in the handbook A.5

Then tried 
# cvsup -g -L 2 /root/cvsup/ports-supfile
The result was
cvsup command not found

Where do I go, and what do I try next? Must I put something into PATH to make 
this work, or do I need to go to a specific directory to run cvsup? 

Joost


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


Re: Getting CVSup to work

2005-04-11 Thread Michal Stanislawski
On Tue, 12 Apr 2005 01:14:34 +0200
Joost van Dijk [EMAIL PROTECTED] wrote:


 Then tried 
 # cvsup -g -L 2 /root/cvsup/ports-supfile
 The result was
 cvsup command not found
 
 Where do I go, and what do I try next? Must I put something into PATH
 to make this work, or do I need to go to a specific directory to run
 cvsup? 
 
 Joost

Type:
# rehash
 and try again with 
# cvsup -g -L 2 /root/cvsup/ports-supfile

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


Re: SATA drives and hotplug capability

2005-04-11 Thread Danny Howard
Frederic Andres wrote:
Hi,
I'm using FreeBSD 5.2.1 and I have an Asus motherboard with an embedded
Promise 20378 controller. I want to plug/unplug a SATA drive when the
system is up. The drive is a data drive, I don't want to use RAID
capabilities of my Promise controller.
Can someone have any experience doing this? Do you have info about SATA
drives and hotplug capabilities on FreeBSD 5.X ?
If memory serves, I went ahead and tried this, with a gmirror setup.  
Just yanked the drive, and gmirror did the right thing ...

I do this with my laptop all the time, but when pulling the battery and 
inserting the DVD+RW device it is needed:
sudo atacontrol reinit 1

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


Re: Getting CVSup to work

2005-04-11 Thread [EMAIL PROTECTED]
On Tue, 12 Apr 2005 01:14:34 +0200
Joost van Dijk [EMAIL PROTECTED] wrote:

 Then copied /usr/share/examples/cvsup/ports-supfile
 to /root/cvsup
 
 Edited the file as per instructions in the handbook A.5
 
 Then tried 
 # cvsup -g -L 2 /root/cvsup/ports-supfile
 The result was
 cvsup command not found

this is not a big prob. (the PATH more or less needs to be
refreshed) one option is :

logout and log back in, and try again

or type : rehash
and try again

personally i prefer to install bash and make that the default shell,
GL!

:)

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


Re: Getting CVSup to work

2005-04-11 Thread Joost van Dijk
On Tuesday 12 April 2005 01:21, [EMAIL PROTECTED] wrote:
 On Tue, 12 Apr 2005 01:14:34 +0200
 
 this is not a big prob. (the PATH more or less needs to be
 refreshed) one option is :
 
 logout and log back in, and try again
 
 or type : rehash
 and try again
 
 personally i prefer to install bash and make that the default shell,

I'm using tcsh

 GL!


Hi Michael and Albi

Wow, that was fast. Thanks a lot. Problem is solved! 

Albi ... you have an .nl domain. So you too are working until after 1:00 am. 
de groeten uit Nuenen. 

Joost. 

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


Re: Getting CVSup to work

2005-04-11 Thread [EMAIL PROTECTED]
On Tue, 12 Apr 2005 01:27:13 +0200
Joost van Dijk [EMAIL PROTECTED] wrote:

 Wow, that was fast. Thanks a lot. Problem is solved! 

cool!

 Albi ... you have an .nl domain. So you too are working until after
 1:00 am.  de groeten uit Nuenen. 

greetings from amsterdam, i'm trying to improve my knowledge and
experience on jails in FreeBSD, will work on that a bit more tonight
(i'd like to improve the manpage for jail or write a howto)

slaap lekker ;-)

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


pcm device numbering

2005-04-11 Thread Alejandro Pulver
Hello,

I have two sound cards:

SiS 7012 (C-Media Electronics CMI9739 AC97 Codec) - 'snd_ich'
Genius Sound Maker Value 5.1 (CMedia CMI8738) - 'snd_cmi'

The first is integrated in the motherboard, and it is detected first and
used as the default output device (pcm0). The second it detected after
the first, so it is used as the second output device (pcm1).

I want to use my second sound card as the default output device. I tried
using the loader.conf variables *_after and *_before, but they
always load them before booting the kernel, so the integrated card is
detected first and assigned to the default output device (pcm0). So I
have the drivers as modules, and load the driver for the second card
when booting the kernel, and then from the command line I load the
driver for the integrated card.

Is there a (clean, if possible) way to do this (with 'device.hints', or
rc scripts)?

Here is the relevant output of 'pciconf -vl' (after loading the
drivers in the desired order):

[EMAIL PROTECTED]:2:7:  class=0x040100 card=0x70121849 chip=0x70121039 rev=0xa0
hdr=0x00vendor   = 'Silicon Integrated Systems (SiS)'
device   = 'SiS7012 PCI Audio Accelerator'
class= multimedia
subclass = audio

[EMAIL PROTECTED]:9:0:  class=0x040100 card=0x03f6 chip=0x03f6 rev=0x10
hdr=0x00vendor   = 'C-Media Electronics Inc.'
device   = 'CMI8738/PCI C3DX PCI Audio Chip#20013;#22269;'
class= multimedia
subclass = audio

I am posting this question again because I did not get a response. If I
should ask this question somewhere else please inform me.

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


Re: Creating a socket file by hand

2005-04-11 Thread Ed Stover
On Mon, 2005-04-11 at 15:03 -0700, Joshua Lewis wrote:
 Dear list,
 
 I am setting up a Mail Server with postfix and trying to add spam filtering
 and anti virus filtering. The ClamAV program is trying to read
 /var/run/clamav/clamd. The directory is there but the socket file is not.
 How do I create a socket file by hand/
 
 Thanks
 Joshua
 ___
 freebsd-questions@freebsd.org mailing list

Make sure your permisions are ok on your /var/run/clamav/ directory,
clam av usually creates it's own sock file. Check the path specified in
you clam conf as well.

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


Re: help

2005-04-11 Thread Ed Stover
On Sun, 2005-04-10 at 22:46 -0700, angelito munez wrote:
 Hi,.
 i have a quick question. i have a 4.9 box running as gateway. as well as 
 domain controller windows on the network. now can anybody help  how i can see 
 the domain controller from remote desktop? thnks 
 
   
 -
 Do you Yahoo!?
  Yahoo! Small Business - Try our new resources site! 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


So you want to be able to remote desktop in from outside the gateway to
access your domain controller? Are you running nat on your gateway? do
you use ipfw for firewalling on your gateway? 


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


Re: Creating a socket file by hand

2005-04-11 Thread Joshua Lewis
What should the permissions be set to? How do I find out what user clamav is
running as?


 From: Ed Stover [EMAIL PROTECTED]
 Organization: Native Nerds
 Reply-To: [EMAIL PROTECTED]
 Date: Mon, 11 Apr 2005 17:48:24 -0600
 To: Joshua Lewis [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org freebsd-questions@freebsd.org
 Subject: Re: Creating a socket file by hand
 
 On Mon, 2005-04-11 at 15:03 -0700, Joshua Lewis wrote:
 Dear list,
 
 I am setting up a Mail Server with postfix and trying to add spam filtering
 and anti virus filtering. The ClamAV program is trying to read
 /var/run/clamav/clamd. The directory is there but the socket file is not.
 How do I create a socket file by hand/
 
 Thanks
 Joshua
 ___
 freebsd-questions@freebsd.org mailing list
 
 Make sure your permisions are ok on your /var/run/clamav/ directory,
 clam av usually creates it's own sock file. Check the path specified in
 you clam conf as well.
 


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


Re: Creating a socket file by hand

2005-04-11 Thread [EMAIL PROTECTED]
On Mon, 11 Apr 2005 17:14:31 -0700
Joshua Lewis [EMAIL PROTECTED] wrote:

 What should the permissions be set to? How do I find out what user
 clamav is running as?

check the config-files of clamav and amavis, that is probably
/usr/local/etc/clamd.conf and /usr/local/etc/amavisd.conf

but personally i got a little annoyed by these probs (i also had a
missing socket-file at one point and could not resolve that) and i
then switched to clamsmtp + spamassassin via procmail which is working
quite fine

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


Mailing lists

2005-04-11 Thread null
Greetings,
 I was wondering how people are able to join any of the mailing lists.
A trip to:
http://www.freebsd.org/support.html#mailing-list
reveals that one is able to Search or Browse the mailing lists. But what
puzzles me is how there are any mailing lists at all if one is not able
to *join* them so as to post to them. ;)
Please tell me where I can find the information I need to join one of the
mailing lists.

Thank you for all your time and consideration in this matter.

Sincerely,
 Chris

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


Re: Very slow printing with stock FreeBSD5.3 + CUPS + Gimp-Print + HPDeskJet612C

2005-04-11 Thread Anthony M. Agelastos
It appears that 0x28 fixed the problem. Thank you to all who have 
contributed to this thread.

Out of curiosity, now that the solution is known, what was the problem 
and what is the fix doing to solve it?

On Apr 11, 2005, at 2:57 AM, Roland Smith wrote:
On Mon, Apr 11, 2005 at 07:36:32AM +0100, Glyn Millington wrote:
Anthony M. Agelastos [EMAIL PROTECTED] writes:
Interrupt storm detected on irq7: lpt0; throttling interrupt source

1. Back up /boot/device.hints
2. In device hints add a line
hint.ppc.0.flags=0x20
Flags=0x20 means disabling IRQ and use polling instead. If you add 0x08
it also puts the port in enhanced capability mode. So try flag=0x28, 
and
use 0x20 if that doesn't work.

AFTER the line which says
hint.ppc.0.irq=7
You can remove this line, because flags=0x20 instructs the driver to 
use
polling instead of an interrupt line.

Roland
--
R.F. Smith   /\ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l  \ /No HTML/RTF in e-mail
http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail
public key: http://www.keyserver.net / \Respect for open standards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mailing lists

2005-04-11 Thread [EMAIL PROTECTED]
On Mon, 11 Apr 2005 17:27:51 -0700 (PDT)
null [EMAIL PROTECTED] wrote:

  I was wondering how people are able to join any of the mailing lists.
 A trip to:
 http://www.freebsd.org/support.html#mailing-list
 reveals that one is able to Search or Browse the mailing lists. But
 what puzzles me is how there are any mailing lists at all if one is
 not able to *join* them so as to post to them. ;)
 Please tell me where I can find the information I need to join one of
 the mailing lists.

jump to http://lists.freebsd.org/mailman/listinfo, choose one, e.g.
http://lists.freebsd.org/mailman/listinfo/freebsd-advocacy
and subscribe

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


Re: Hard drive fullness limits information help request

2005-04-11 Thread Chuck Swiger
NMH wrote:
[ ... ]
 For shame. A your question is too dumb to have
written to our mailing list? I hope you are not
trying to represent the great open arms of FreeBSD and
the questions mailing list. My Question is quite
appropriate for either list. Nor should someone even
be given the feeling their questions are too basic to
bother us with! (unless your aim is to drive people
away)
If we were using Usenet rather than mailing lists, I would agree with your 
position more-- article cross-posting would be handled without duplication of 
resources, and newsreader software would handle xposting so that people only 
read one copy, even if they are subscribed to both newsgroups.

This is not the case with mailing lists.
The reason why this thread isn't really appropriate to freebsd-hardware is 
because it concerns how the filesystem architecture works in general, on any 
type of device from a hard drive, to a floppy drive, to a USB pen device.

However, I was hoping someone could point me more
towards a white paper or some such other information.
Sure.   Try looking at:
   zcat /usr/share/doc/smm/05.fastfs/paper.gz | less
   zcat /usr/share/doc/papers/diskperf.ascii.gz | less
Kirk McKusick also wrote a book on this topic, if you want more information.
However, a point to consider is that if you do some benchmarks for yourself 
using your hardware in the circumstances you care about, you will get better 
numbers for your situation than you do looking at generalizations, averages, 
or specific results from some other hardware being tested in some way that may 
or may not resemble your workload.

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


Re: Mailing lists

2005-04-11 Thread Chuck Swiger
null wrote:
But what puzzles me is how there are any mailing lists at all if one is not able
to *join* them so as to post to them. ;)
Please tell me where I can find the information I need to join one of the
mailing lists.
Ah.  The link you mentioned actually does have link to the page below, but I 
agree that it's a little harder to find.  What you want is here:

http://lists.freebsd.org/mailman/listinfo
You can also send mail to [EMAIL PROTECTED], or a 
similiar address for any other mailing list handled by Mailman.

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


disk backed mdX type volumes -- overhead?

2005-04-11 Thread Chad Leigh -- Shire . Net LLC
On FreeBSD 5.3, what is the overhead compared to a filesystem directly 
on the HW, of an /dev/mdX device with a file system on it living on the 
same HW device?

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


make option for openoffice-devel?

2005-04-11 Thread Trey Sizemore
I've got openoffice-devel installed and there's a newer version
available in ports.  It's currently marked as broken/ignore.  What is
the correct make option to go ahead with the upgrade?  And for future
reference, where are these options located?  Like -
DDISABLE_VULNERABILITIES,

Thanks.

-- 
Cheers,
Trey

 
The Preacher, the Politician, the Teacher,
Were each of them once a kiddie.
A child, indeed, is a wonderful creature.
Do I want one?  God Forbiddie!
-- Ogden Nash
 
FreeBSD 5.3-STABLE i386 i386 GENERIC
 8:44PM  up 2 days,  8:17, 0 users, load averages: 0.67, 0.37, 0.19
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: just got DSL, can't surf or get mail

2005-04-11 Thread Brian John
Lowell Gilbert wrote:
Brian John [EMAIL PROTECTED] writes:
 

On Apr 3, 2005 9:12 PM, Anthony Atkielski [EMAIL PROTECTED]
 

wrote:
   

One you've changed resolv.conf, it should stay that way permanently
across boots, unless you change it again.
   

dhclient will overwrite /etc/resolv.conf on boot
 

How can I keep dhclient from doing this?
   

Configure it not to: according to man dhclient.conf, a 
prepend domain-name-servers mumble should do it.

Or better yet, fix your router so that it either provides DNS services
or stops telling your FreeBSD machine that it does.  

 

Unfortunately I can't get my DSL modem to turn off it's DNS 'feature'.  
I tried the advanced setup and it was no luck.  I'm trying your 
dhclient.conf method, however it isn't working.  I read the manpage, and 
I can't figure out why.  This is what I have in dhclient.conf:

interface vr0 {
   prepend domain-name-servers 205.171.2.65;
   prepend domain-name-servers 205.171.3.65;
}
Any clue why this might not work?
Thanks for the help!
/Brian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Cannot Login After Using Kuser to setup Accounts

2005-04-11 Thread amcinroy
I have FreeBSD 4.10 installed. Everything was fine till I ran kuser and
rebooted. It said my root password was incorrect even though I hadn't
changed it! I followed the advice I read on one of your posts. The backup
passwd file didn't help. Also when I tried to change to default passwd file,
I received the message that src wasn't a directory. I manually went to
/usr/src it is indeed there but I can't cd to it! Help!

Alan McInroy

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


Re: Cannot Login After Using Kuser to setup Accounts

2005-04-11 Thread he ccjj
I found this problem too,It's like that kuser isn't useful at all.Is
there a good GUI user manage progrgram?

On Apr 12, 2005 10:54 AM, amcinroy [EMAIL PROTECTED] wrote:
 I have FreeBSD 4.10 installed. Everything was fine till I ran kuser and
 rebooted. It said my root password was incorrect even though I hadn't
 changed it! I followed the advice I read on one of your posts. The backup
 passwd file didn't help. Also when I tried to change to default passwd file,
 I received the message that src wasn't a directory. I manually went to
 /usr/src it is indeed there but I can't cd to it! Help!
 
 Alan McInroy
 
 ___
 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: Cannot Login After Using Kuser to setup Accounts

2005-04-11 Thread [EMAIL PROTECTED]
On Mon, 11 Apr 2005 21:54:46 -0500
amcinroy [EMAIL PROTECTED] wrote:

 I have FreeBSD 4.10 installed. Everything was fine till I ran kuser
 and rebooted. It said my root password was incorrect even though I
 hadn't changed it! I followed the advice I read on one of your posts.
 The backup passwd file didn't help. Also when I tried to change to
 default passwd file, I received the message that src wasn't a
 directory. I manually went to /usr/src it is indeed there but I can't
 cd to it! Help!

you can try booting into single user mode if you did not disable that
(instead of booting the kernel, pause it, and type : boot -s )

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


Re: just got DSL, can't surf or get mail

2005-04-11 Thread Brian John
Brian John wrote:
Lowell Gilbert wrote:
Brian John [EMAIL PROTECTED] writes:
 

On Apr 3, 2005 9:12 PM, Anthony Atkielski 
[EMAIL PROTECTED]

wrote:
  

One you've changed resolv.conf, it should stay that way permanently
across boots, unless you change it again.
  
dhclient will overwrite /etc/resolv.conf on boot

How can I keep dhclient from doing this?
  

Configure it not to: according to man dhclient.conf, a prepend 
domain-name-servers mumble should do it.

Or better yet, fix your router so that it either provides DNS services
or stops telling your FreeBSD machine that it does. 
 

Unfortunately I can't get my DSL modem to turn off it's DNS 
'feature'.  I tried the advanced setup and it was no luck.  I'm trying 
your dhclient.conf method, however it isn't working.  I read the 
manpage, and I can't figure out why.  This is what I have in 
dhclient.conf:

interface vr0 {
   prepend domain-name-servers 205.171.2.65;
   prepend domain-name-servers 205.171.3.65;
}
Any clue why this might not work?
Thanks for the help!
/Brian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

Update:  I was able to get this to work by using one-line statements 
such as this:
prepend domain-name-servers 205.171.2.65;

instead of the 'procedural' way.
Thanks anyway everyone for the help on this
/Brian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >