/boot/loader panic on x86

2003-02-14 Thread Mark Laws
Upon execution during the boot sequence, /boot/loader panics with
something about guard1 and reboots. The system in question is a 586
running 4.7-STABLE from February 12, 2003; however, this problem has
been persisting for quite some time. I have tried installing new boot
code into the slice using disklabel as well as updating the MBR, neither
of which fixed the problem. Do any of you know what may be causing this
and/or how to fix it? Any help would be greatly appreciated.

I apologize for not providing the text that appears on the screen; the
whole process takes place very quickly and as such it does not stay
around long enough for me to copy it down. If there is a way to get
these messages, I would be happy to do whatever was needed in order to
make troubleshooting this problem less difficult.

-- 
Mark Laws   [EMAIL PROTECTED]
http://www.60hz.org

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



Re: problem with install

2003-02-14 Thread Thomas Spreng
On Thu, Feb 13, 2003 at 10:41:17PM -0800, joseph grundy wrote:
 I just went through the bios, I can only change acpi from state 1 to state 3 both 
still give the same problem.
 I don't know what else I can do, unless there is a way to install without acpi 
somehow.

Sorry forget what i have suggested for it is wrong. You said that you have tried it 
with 4.x
releases as well, they dont have apci support at all, so the problem can't be there.

cheers,
tom 

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



file system trouble

2003-02-14 Thread Heinrich Rebehn
Hi list,

This morning i had a strange problem:
The /home filesystem was full (121G partition on a 3ware escalade raid)
So i deleted 7G, but df did not show any difference. The fs is mounted w/ 
soft-updates. I issued a sync command, but still no change. The files were no 
longer shown in ls, but space was not freed. So i decided to reboot, to make 
sure that the deleted files are not still opened by some process.
The shutdown went normal, but at the end it said:

sysncing disks..

3321 3321 3321 3316 .

I dont't know the exact numbers anymore, but it printed some 40x80 lines of 4 
digit numbers, the last line was all 1s and then said:

giving up on 1 buffers.

When rebooting, all fs were unclean and i had to wait the usual 20 minutes for 
fsck to complete.

What has been going on here?

I use 4.6.2-RELEASE

Heinrich
--

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -

E-mail: mailto:[EMAIL PROTECTED]
Phone : +49/421/218-4664
Fax   :-3341


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


Re: samba ssh

2003-02-14 Thread Daniel Bye
On Thu, Feb 13, 2003 at 04:42:05PM -0600, Brian Henning wrote:
 This is what i want to be able to do:
 mount my http root directory that is located on a remote BSD machine onto a
 local windows XP machine.
 I know howto forward samba packets but, i don't think it will do me any good.
 Problem: the port that i want to forward (samba) is already in use by the local
 machine.
 
 how can i get around this problem? what are other options or alternatives?

Look at sslproxy in the ports.  Works reasonably well for me.

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

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \

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



syscall counter

2003-02-14 Thread Petri Helenius
Is there a counter which would show system calls per process?

Like vm.stats.sys.v_syscall but instead of being systemwide, count
separately for each process.

Pete


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



Re: file system trouble

2003-02-14 Thread Daxbert
 The /home filesystem was full (121G partition on a 3ware escalade raid)
 So i deleted 7G, but df did not show any difference. The fs is mounted w/
 soft-updates. I issued a sync command, but still no change. The files were no
 longer shown in ls, but space was not freed. So i decided to reboot, to make
 sure that the deleted files are not still opened by some process.
 The shutdown went normal, but at the end it said:
 sysncing disks..
 3321 3321 3321 3316 .
 giving up on 1 buffers.
 When rebooting, all fs were unclean and i had to wait the usual 20 minutes for
 fsck to complete.

I've seen the same 'df' situation when softupdates are enabled, but I've never tried 
to resolve the problem with a reboot.  I just
ignore the 'df' output, and proceed normally.  After some time passes, 'df' returns to 
reporting the expected values.  I've always
thought this was normal with softupdates.  However, I've not had your problem with the 
fsck, but then again...  I've not rebooted
soon after deleting 7GB of data from a file system.

What are you running?  4.6.2, 4.7, -current?


--daxbert


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



RE: problem with install

2003-02-14 Thread Marcos Silva
Hi Joseph,

You can disable the ACPI module in the boot process.
When you see the message Hit enter or wait 10 seconds to boot press
enter and type:

unset acpi_load
boot

This way, the installation will happen without load the module ACPI.

Hope this helps.


Cheers,

Marcos Silva
Rio - Brazil


-Mensagem original-
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] Em nome de joseph grundy
Enviada em: sexta-feira, 14 de fevereiro de 2003 03:41
Para: [EMAIL PROTECTED]
Assunto: RE: problem with install


I just went through the bios, I can only change acpi from state 1 to
state 3 both still give the same problem. I don't know what else I can
do, unless there is a way to install without acpi somehow.

 

Joseph


Hello

how would I disable acpi? I do not know what it goes to in the
bios.

Thanks


Hi,
   
On Thu, Feb 13, 2003 at 09:55:49PM -0800, joseph grundy
wrote:
 I am having problems trying to install FreeBSD.
 I have installed in before on different machines, but
now this is the only one I have. I would like to have FreeBSD as my main
OS on the machine.

 When I put in the bootable cd and restart the
computer, I get to the boot section where it says
 Hit enter or wait 9 seconds to boot

 I hit enter and get the follow
 /boot/kernel/acpi.ko test=0x3985c data=0x1978+0xb2k
sysms=[0x4+0x6010+0x4+0x7994 ]
 then the line below it is spinning and stops and
freezes.
   
it seems that there is a problem with the acpi kernel
module. Can you disable acpi
in you bios? If yes, try booting without acpi. Or maybe
you can disable some modules
in the boot loader menu (but im not sure about that).

 I have tried 4.2, 4.4, 4.7. and 5.0 releases all lock
in the same place. I have windows 2000 server on first 40 gigs of a 60
gig HD.
 Inside the machine are
 Intel 850 MV motherboard
 2 256 sticks of rambus and 2 dummy cards to terminate
unused memory slots
 geforce 3
 Audigy Plat
 Intel 10/100 pro NIC
 adaptec 2940 scsi card
 dvd player ( used for install )
 cdrw scsi
 cd rom scsi
 secondary 60 gig HD
   
Sorry, these are just suggestions as i dont know where
the problem really is...
   
cheers,
tom
   
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the
message


**PRIVILEGED AND CONFIDENTIAL INFORMATION**
The information contained in this document is intended solely for use by
the persons or entities identified above.  This electronically
transmitted document contains privileged and confidential information
including information which may be protected by the attorney-client
and/or work product privileges.  If you are not the intended recipient,
be aware that any disclosure, copying, distribution or other use of the
contents of this transmission is prohibited.   If you received this
transmission in error, please delete this message without making a copy.

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


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



Re: file system trouble

2003-02-14 Thread Heinrich Rebehn
Daxbert wrote:

The /home filesystem was full (121G partition on a 3ware escalade raid)
So i deleted 7G, but df did not show any difference. The fs is mounted w/
soft-updates. I issued a sync command, but still no change. The files were no
longer shown in ls, but space was not freed. So i decided to reboot, to make
sure that the deleted files are not still opened by some process.
The shutdown went normal, but at the end it said:
sysncing disks..
3321 3321 3321 3316 .
giving up on 1 buffers.
When rebooting, all fs were unclean and i had to wait the usual 20 minutes for
fsck to complete.



I've seen the same 'df' situation when softupdates are enabled, but I've never tried to resolve the problem with a reboot.  I just
ignore the 'df' output, and proceed normally.  After some time passes, 'df' returns to reporting the expected values.  I've always
thought this was normal with softupdates.  However, I've not had your problem with the fsck, but then again...  I've not rebooted
soon after deleting 7GB of data from a file system.

What are you running?  4.6.2, 4.7, -current?



I use 4.6.2-RELEASE (wrote it in my first post :-)
The problem was not only the 'df' output, but that i actually i could not create 
any files! (disk full)

My main question is: Why did the sysnc on shutdown not succeed, leaving all my 
fs dirty?

Heinrich


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


RE: Root filesystem 102% full (was: Disks fillin up)

2003-02-14 Thread David Radovanovic
Thanks to Jan and Giorgos. Your suggestions were very helpful. 

David Radovanovic
WhatsTheBigIdea.com, Inc.
-- Bright ideas for the Web!
249 Partition Street
Saugerties, New York 12477 
(845) 247-0909, FAX: (845) 246-3880
http://www.WhatsTheBigIdea.com


[-Original Message-
[From: Jan Grant [mailto:[EMAIL PROTECTED]]
[Sent: Thursday, February 13, 2003 6:24 PM
[To: dave
[Cc: Giorgos Keramidas; freebsd-questions
[Subject: RE: Root filesystem 102% full (was: Disks fillin up)
[
[
[On Thu, 13 Feb 2003, David Radovanovic wrote:
[
[ That was the ticket. / is back down to 48%. Though when I 'sh 
[MAKEDEV st0'
[ in /dev I get the error: st0 - no such device name. Thanks.
[
[Old backup system? man st claims that (a) this was a SCSI tape; and
[(b) this has been deprecated in favour of the sa(4) driver.
[
[1. Ensure your /dev/sa0 co. device files exist.
[2. Update your backup program, or specify the correct device file for it
[to use
[3. At a pinch, if your backup program doesn't grok sa, you might create
[symlinks from /dev/st to /dev/sa but there's no guarantee that any
[special ioctls will work across both devices.
[
[-- 
[jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
[Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
[No generalised law is without exception. A self-demonstrating axiom.
[


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



Re: syntax problem in /etc/csh.login

2003-02-14 Thread Heinrich Rebehn
Colin J. Raven wrote:

Greetings all!
Trying to create a custom login message for csh users. 
I put the following in /etc/csh.login
snip
###
if [ `whoami` = user1 ]; then
echo 
echo -e This is a test message for user1  \
echo 
else
if [ `whoami` = user2 ]; then
echo 
echo -e This is a test message for user2  \
echo 
else
if [ `whoami` = test ]; then
echo 
echo -e This is a test message for user test  \
echo 
fi
###
/snip
and got an error upon subsequent login as user test:
if: Expression Syntax. (without parens)

Anyone got any idea what I'm doing wrong? 
Guess: csh syntax is different from bash 

You're right!


but beyond that I'm stumped.


beyond that comes 'man csh'.

Sorry, but you have to read it yourself! ;-)

Hint: As the name of the shell suggests, the syntax quite C-like.



Regards  TIA,
-Colin


Reegards

	Heinrich
--

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -

E-mail: mailto:[EMAIL PROTECTED]
Phone : +49/421/218-4664
Fax   :-3341


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



RE: syntax problem in /etc/csh.login

2003-02-14 Thread Colin J. Raven
snippage
+  if [ `whoami` = test ]; then
+  echo 
+  echo -e This is a test message for user test  \
+  echo 
+  fi
+  ###
+  /snip
+  and got an error upon subsequent login as user test:
+  if: Expression Syntax. (without parens)
+  
+  Anyone got any idea what I'm doing wrong? 
+  Guess: csh syntax is different from bash 
+ 
+ You're right!
Well, thanks!

+  but beyond that I'm stumped.
+ 
+ beyond that comes 'man csh'.
Oh for goodness sakes

I am sure it does but reading man csh is a 2 week exercise.which
considering I don't normally use csh, but a few of my user opoulation
does, it's not likely that I am going to absorb all the huge amount of
information in man csh for a shell I never use personally.
 
+ Sorry, but you have to read it yourself! ;-)
+ 
+ Hint: As the name of the shell suggests, the syntax quite C-like.

Response to Hint
Most assuredly your response indicates substantial knowledge of C.
Unlike you however, I am not a programmer but catch on quickly to most
things.and my post was no more than asking someone to jumpstart me
which usually starts me on a reading binge in FURTHER pursuit of
knowledge. Right now I have absolutely no clue as to where to begin.

On this list of all places, I did not expect the supercilious RTFM
response. It's uncalled for, it's unecessary and furthermore does not
speak well of your willingness to be of assistance to those less
knowledgeable than yourself. Instead it smacks of a (largely useless)
demonstration of what *you* know and others *don't* know.

I wonder...seriouslyI wonder why you even elected to respond at
all Remaining silent would have been the elegant solution.

Regards to all - as always.
-Colin




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



Re: Resolving or blocking eg. doubleclick.net?

2003-02-14 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-02-12 14:43:37 +0100:
 On Wednesday 12 February 2003 13:15, Daniel Bye wrote:
   At a shell prompt, try
   $ time host doubleclick.net
 
 $ time host dk.doubleclick.net
 dk.doubleclick.net mail is handled (pri=10) by relay2.doubleclick.net
 dk.doubleclick.net mail is handled (pri=10) by relay1.doubleclick.net
 
 real0m0.269s
 user0m0.000s
 sys 0m0.005s
 
 $ time host dk.doubleclick.net
 dk.doubleclick.net mail is handled (pri=10) by relay1.doubleclick.net
 dk.doubleclick.net mail is handled (pri=10) by relay2.doubleclick.net
 
 real0m0.009s
 user0m0.004s
 sys 0m0.001s
 
 So, it's safe to assume my cache is working? ... and perhaps, resolving 
 doubleclick.net et al isn't the issue?
 
 But looks like the cache expires after a couple of minutes?

That's something you can easily check by trying to resolve the name
a couple of minutes later. :)

But that would be a lame test, and you wouldn't really know any hard
data. This is authoritative:

roman@freepuppy ~ 1011:1  dnsq a doubleclick.net ns2.dcny.doubleclick.net|grep 
^answer
answer: doubleclick.net 300 A 199.95.206.210
roman@freepuppy ~ 1012:0  

so yes. the A RR for doubleclick.net has TTL of 300 seconds.
somewhat stupid if you ask me.

I would suggest you to configure your DNS cache so that it forwards
queries to your ISP's caches. That'll buy you some time.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



Re: syntax problem in /etc/csh.login

2003-02-14 Thread Daniel Bye
On Fri, Feb 14, 2003 at 01:10:15PM +0100, Colin J. Raven wrote:
 Greetings all!
 Trying to create a custom login message for csh users. 
 I put the following in /etc/csh.login
 snip
 ###
 if [ `whoami` = user1 ]; then
 echo 
 echo -e This is a test message for user1  \
 echo 
 else
 if [ `whoami` = user2 ]; then
 echo 
 echo -e This is a test message for user2  \
 echo 
 else
 if [ `whoami` = test ]; then
 echo 
 echo -e This is a test message for user test  \
 echo 
 fi
 ###
 /snip
 and got an error upon subsequent login as user test:
 if: Expression Syntax. (without parens)
 
 Anyone got any idea what I'm doing wrong? 
 Guess: csh syntax is different from bash but beyond that I'm stumped.

Further guess (but informed by a brief read-up in UNIX in a Nutshell):

The conditions for an 'if' statement should be enclosed in parentheses,
rather than using the [ or test.  However, it may still do funky stuff
with the command substitution...

The block syntax for if statements is:

if (expr) then
cmds
endif

===

if (expr) then
cmds
else 
cmds
endif

==

if (expr) then
cmds
else if (expr) then
cmds2
else
cmds3
endif

HTH,

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \

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



Re: file system trouble

2003-02-14 Thread Chuck Swiger
Heinrich Rebehn wrote:
[ ... ]

The /home filesystem was full (121G partition on a 3ware escalade raid)
So i deleted 7G, but df did not show any difference. The fs is mounted 
w/ soft-updates. I issued a sync command, but still no change. The files 
were no longer shown in ls, but space was not freed.

Was some process holding those files open?  The space doesn't get freed 
until that process terminates.

So i decided to reboot, to make sure that the deleted files are not 
still opened by some process. The shutdown went normal, but at the
end it said:

syncing disks..

3321 3321 3321 3316 .

I dont't know the exact numbers anymore, but it printed some 40x80 lines 
of 4 digit numbers, the last line was all 1s and then said:

When you rebooted, your system had ~3300 buffers of data that had not 
yet been written to disk.  It was able to write almost all of them out 
to disk, but it failed with one:

giving up on 1 buffers.

When rebooting, all fs were unclean and i had to wait the usual 20 
minutes for fsck to complete.

Yes.  FreeBSD probably should have marked the other filesystems (except 
for the one with the open buffer) as clean.  But fsck'ing after a 
moderately serious problem-- even if you may not have really needed to-- 
is a fail-safe approach.

-Chuck


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


Re: syntax problems in /etc/csh.login

2003-02-14 Thread Sam Izzo
Hi,

Try this instead:

if ( $user == user1 ) then
   echo hello user1
else if ( $user == user2 ) then
   echo hello user2
endif

You could also do it with a switch:

switch ( $user )
   case user1:
  echo hello user1
  breaksw
   case user2:
  echo hello user2
  breaksw
endsw

$user is a shell built-in variable that holds the user's login name.

If you have a lot of users you might want to do it via some username-message
mapping mechanism instead of coding a whole bunch of if or case statements.  A
simple method might be to have a directory under /etc called, say, usermsg
and then a file for each user.  Then in your csh.login you'd do something like:

if ( -r /etc/usermsg/$user ) then
   cat /etc/usermsg/$user
endif

cheers
sam


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



Schnell und kostenlos einen eigenen T-Shirt-Shop eröffnen

2003-02-14 Thread thorsten . spengler
Hallo,

ich nutze einen sehr guten neuen Service auf meiner Website, der
sicher auch für Dich interessant ist:

Bei eQuisto kannst Du in nur 15 Minuten kostenlos einen Online-
Shop einrichten, um T-Shirts etc. mit Deinen Logos, Designs etc.
anzubieten (Grafiken bequem von zuhause aus hochladen).

Einfach bei Dir auf der Homepage einen Link zum Shop setzen und
schon können Deine Website-Besucher professionelle Fanartikel
kaufen.

eQuisto tritt rechtlich als Verkäufer auf und kümmert sich um
alles: Shop-Betrieb, Verkauf, Produktion, Lieferung, Zahlungsab-
wicklung, Service, etc...

Übrigens war eQuisto bislang nur für große Unternehmen wie YAHOO!,
WEB.DE, STRATO tätig und hat seit 2001 bereits über 100.000 Artikel
verkauft. Du profitierst also vom Know-how der Profis, die jetzt
eine Lösung für Betreiber kleinerer Websites anbieten.

Der Hammer ist: Der Service ist nicht nur kostenlos, sondern Du
verdienst auch noch Geld dabei. Einfach für jeden Artikel Deine
Provision festlegen. eQuisto überweist Dir diese bei erfolgreichem
Verkauf bequem.

Man hat also keine Kosten, kein Risiko und keinen Aufwand und
erhält einen super Service für seine Site-Besucher, die dabei auch
noch Werbung für einen machen und Geld einbringen.

Schau Dir das doch mal an:
http://www.equisto.de/perl/referral.pl?p=101212

Viel Spaß und Erfolg dabei!!!

Beste Grüße aus Berlin, Dein Thorsten

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



Samsung ML-1210 apsfilter

2003-02-14 Thread Graham Lillico
Has anyone managed to get the printer working with apsfilter?

I know it needs the gdi ghostscript driver which I have confirmed is
installed on my system.

% gs -h | grep gdi
   lj5gray pj pjxl pjxl300 pxlmono pxlcolor pcl3 hpdj ijs npdl rpdl gdi

However I can't find where I should select this driver in apsfilter.

I have tried the PS (option 1) driver, but nothing happend. I have also
tried the PSgs (options 2) driver, the printer starts but no output
appears, and under option 3  I can't find the gdi driver. 

I can print to the command line fine using 

% cat /usr/local/share/ghostscript/7.05/examples/snowflak.ps | gs -q
-dBATCH -dSAFER -dNOPAUSE -dQUIET -sDEVICE=gdi -sPAPERSIZE=a4 -r600
-sOutputFile=- - | cat  /dev/unlpt0

Does anyone have any ideas how I can get this printer working?

Grez..
-- 
+--+
| Grez [EMAIL PROTECTED] |
+--+

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



Re: syntax problem in /etc/csh.login

2003-02-14 Thread Ruben de Groot
On Fri, Feb 14, 2003 at 02:40:17PM +0100, Colin J. Raven typed:
 snippage
 +  if [ `whoami` = test ]; then
 +  echo 
 +  echo -e This is a test message for user test  \
 +  echo 
 +  fi
 +  ###
 +  /snip
 +  and got an error upon subsequent login as user test:
 +  if: Expression Syntax. (without parens)
 +  
 +  Anyone got any idea what I'm doing wrong? 
 +  Guess: csh syntax is different from bash 
 + 
 + You're right!
 Well, thanks!
 
 +  but beyond that I'm stumped.
 + 
 + beyond that comes 'man csh'.
 Oh for goodness sakes
 
 I am sure it does but reading man csh is a 2 week exercise.which
 considering I don't normally use csh, but a few of my user opoulation
 does, it's not likely that I am going to absorb all the huge amount of
 information in man csh for a shell I never use personally.

I agree the csh manpage is quite large. But what about google? The first 
hit in a search for csh conditional statements is a tutorial with 
examples of exactly what you're asking. 

 + Sorry, but you have to read it yourself! ;-)
 + 
 + Hint: As the name of the shell suggests, the syntax quite C-like.
 
 Response to Hint
 Most assuredly your response indicates substantial knowledge of C.
 Unlike you however, I am not a programmer but catch on quickly to most
 things.and my post was no more than asking someone to jumpstart me
 which usually starts me on a reading binge in FURTHER pursuit of
 knowledge. Right now I have absolutely no clue as to where to begin.
 
 On this list of all places, I did not expect the supercilious RTFM
 response. It's uncalled for, it's unecessary and furthermore does not
 speak well of your willingness to be of assistance to those less
 knowledgeable than yourself. Instead it smacks of a (largely useless)
 demonstration of what *you* know and others *don't* know.

On the other hand, you might do some research before asking a question,
especially since it was not a FreeBSD specific question.

 I wonder...seriouslyI wonder why you even elected to respond at
 all Remaining silent would have been the elegant solution.
 
 Regards to all - as always.
 -Colin
 
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 

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



Re: syntax problem in /etc/csh.login

2003-02-14 Thread Heinrich Rebehn
Colin J. Raven wrote:

snippage
+  if [ `whoami` = test ]; then
+  echo 
+  echo -e This is a test message for user test  \
+  echo 
+  fi
+  ###
+  /snip
+  and got an error upon subsequent login as user test:
+  if: Expression Syntax. (without parens)
+  
+  Anyone got any idea what I'm doing wrong? 
+  Guess: csh syntax is different from bash 
+ 
+ You're right!
Well, thanks!

+  but beyond that I'm stumped.
+ 
+ beyond that comes 'man csh'.
Oh for goodness sakes

I am sure it does but reading man csh is a 2 week exercise.which
considering I don't normally use csh, but a few of my user opoulation
does, it's not likely that I am going to absorb all the huge amount of
information in man csh for a shell I never use personally.
 
+ Sorry, but you have to read it yourself! ;-)
+ 
+ Hint: As the name of the shell suggests, the syntax quite C-like.

Response to Hint
Most assuredly your response indicates substantial knowledge of C.
Unlike you however, I am not a programmer but catch on quickly to most
things.and my post was no more than asking someone to jumpstart me
which usually starts me on a reading binge in FURTHER pursuit of
knowledge. Right now I have absolutely no clue as to where to begin.

On this list of all places, I did not expect the supercilious RTFM
response. It's uncalled for, it's unecessary and furthermore does not
speak well of your willingness to be of assistance to those less
knowledgeable than yourself. Instead it smacks of a (largely useless)
demonstration of what *you* know and others *don't* know.

I wonder...seriouslyI wonder why you even elected to respond at
all Remaining silent would have been the elegant solution.

Hey man, cool down :-)

man pages *are* the primary source of information. Also i don't know the 
csh syntax myself (only use sh/bash), that's why i referred you to the 
man page. I also have *very* limited knowledge about C, but the name 
c-shell really comes from C. This happens to be one of the things that 
i remember from my first UNIX course some 10 years ago.
The csh man page is in fact very long, but you don't have to read it 
completely. I had a look into it myself, by browsing and searching (use 
the / (slash) button) one can find the if syntax quite quickly.

Sorry for having hurt your feelings :-)

Kond regards,

	Heinrich



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


Re: Can't start Mozilla

2003-02-14 Thread stan
On Fri, Feb 14, 2003 at 02:00:32PM +1030, Tim Aslat wrote:
 In the immortal words of Joe Marcus Clarke [EMAIL PROTECTED]...
  Unless you're using mozilla-devel-gtk2, then the recent GTK upgrade
  will not affect you.  If you are using the GTK-2 version, you should
  do a rebuild of it after making sure glib20, atk, pango, and gtk20 are
  all up-to-date.
 
 Hmmm, ok.  any other ideas.  I've just done a complete upgrade of all my
 mozilla (embedded  headers) to 1.3b,1 and I'm still seeing the same
 thing.  I also totally wiped out the mozilla directories before doing
 the installation.
 

Well, I can't help you, but I can tell you thta I have the excat same
problem on both a machine I upgarded, and a brand new clean install.

So, something is broken!

-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin

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



Ati TV-OUT

2003-02-14 Thread Andrea Franceschini
Hi!

I have a Evo N600c ( Compaq ) with a ATI-RADEON with FreeBSD 4.7 installed on.

Everthing works fine except for the TV-OUT that is  NTSC, anyone knows how to switch 
PAL?

I saw a linuxprogram name 'atitvout' but it doesn't works for FreeBSD.
There is something similar for FreeBSD?

Thank you.


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



RE: problem with install

2003-02-14 Thread JoeB
Since you have tried FBSD 4.3, 4.4, 4.7,  5.0 I would say that the problem is not an 
FBSD problem but a problem with the hard ware of the box you are installing FBSD onto. 
 From your description of what you have done to fix the problem, I can see that you 
started to use the process of elimination method to debug the problem.  You need to 
continue using this method. 

First of all I have never heard of ever needing dummy cards to terminate unused memory 
slots. Remove them.
Also strip down your PC to bare bones. Remove SCSI control card from PC PCI bus and 
unplug power supplies from all SCSI devices. Only have IDE hard drive and IDE CDROM 
drive and install FBSD to see if it works. If that works then you know you have 
problem with SCSI control card.  If SCSI control is old style ISA card you may have 
bio's irq assignment problem. 
 

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]On Behalf Of joseph grundy
Sent: Friday, February 14, 2003 12:56 AM
To: [EMAIL PROTECTED]
Subject: problem with install

I am having problems trying to install FreeBSD.
I have installed in before on different machines, but now this is the only one I have. 
I would like to have FreeBSD as my main OS on the machine.

When I put in the bootable cd and restart the computer, I get to the boot section 
where it says
Hit enter or wait 9 seconds to boot

I hit enter and get the follow
/boot/kernel/acpi.ko test=0x3985c data=0x1978+0xb2k sysms=[0x4+0x6010+0x4+0x7994 ]
then the line below it is spinning and stops and freezes.

I have tried 4.2, 4.4, 4.7. and 5.0 releases all lock in the same place. I have 
windows 2000 server on first 40 gigs of a 60 gig HD.
Inside the machine are
Intel 850 MV motherboard
2 256 sticks of rambus and 2 dummy cards to terminate unused memory slots
geforce 3
Audigy Plat
Intel 10/100 pro NIC
adaptec 2940 scsi card
dvd player ( used for install )
cdrw scsi
cd rom scsi
secondary 60 gig HD

Now I have tried with 3com nic instead, I have taken all cards out and only had 
graphics, primary HD and cd rom.
I also updated the BIOS of the Motherboard and I still get the same freeze in the same 
spot.
I don't know what might be the problem I have looked all over and tried many things, I 
have been working on this install for 2 days now.

Any idea's or help, I would be grateful

Joseph
**PRIVILEGED AND CONFIDENTIAL INFORMATION**
The information contained in this document is intended solely for use by the persons 
or entities identified above.  This electronically transmitted document contains 
privileged and confidential information including information which may be protected 
by the attorney-client and/or work product privileges.  If you are not the intended 
recipient, be aware that any disclosure, copying, distribution or other use of the 
contents of this transmission is prohibited.   If you received this transmission in 
error, please delete this message without making a copy.

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


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



Re: Can't start Mozilla

2003-02-14 Thread Joe Marcus Clarke
On Thu, 2003-02-13 at 22:30, Tim Aslat wrote:
 In the immortal words of Joe Marcus Clarke [EMAIL PROTECTED]...
  Unless you're using mozilla-devel-gtk2, then the recent GTK upgrade
  will not affect you.  If you are using the GTK-2 version, you should
  do a rebuild of it after making sure glib20, atk, pango, and gtk20 are
  all up-to-date.
 
 Hmmm, ok.  any other ideas.  I've just done a complete upgrade of all my
 mozilla (embedded  headers) to 1.3b,1 and I'm still seeing the same
 thing.  I also totally wiped out the mozilla directories before doing
 the installation.
 
 Any other ideas?

You can try rebuilding Mozilla with -DWITHOUT_XFT.  This will disable
the Xft font engine, and make font rendering like it was in 1.1.  Other
than that, it might be something screwy with your setup.  I have Mozilla
in some form or another working on five different machines without any
problems.

Joe

 
 Cheers
 
 Tim
-- 
PGP Key : http://www.marcuscom.com/pgp.asc



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


RE: problem with install

2003-02-14 Thread Matt Smith
I believe some types of RAM need a terminator card in some slots on some
mobos ... IIRC, RDRAM often ran into this, particularly when the mobo
could use multiple types of RAM.
-Matt
On Fri, 2003-02-14 at 12:07, JoeB wrote:
 Since you have tried FBSD 4.3, 4.4, 4.7,  5.0 I would say that the problem is not 
an FBSD problem but a problem with the hard ware of the box you are installing FBSD 
onto.  From your description of what you have done to fix the problem, I can see that 
you started to use the process of elimination method to debug the problem.  You 
need to continue using this method. 
 
 First of all I have never heard of ever needing dummy cards to terminate unused 
memory slots. Remove them.
 Also strip down your PC to bare bones. Remove SCSI control card from PC PCI bus and 
unplug power supplies from all SCSI devices. Only have IDE hard drive and IDE CDROM 
drive and install FBSD to see if it works. If that works then you know you have 
problem with SCSI control card.  If SCSI control is old style ISA card you may have 
bio's irq assignment problem. 
  
 
 -Original Message-
 From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]On Behalf Of joseph grundy
 Sent: Friday, February 14, 2003 12:56 AM
 To: [EMAIL PROTECTED]
 Subject: problem with install
 
 I am having problems trying to install FreeBSD.
 I have installed in before on different machines, but now this is the only one I 
have. I would like to have FreeBSD as my main OS on the machine.
 
 When I put in the bootable cd and restart the computer, I get to the boot section 
where it says
 Hit enter or wait 9 seconds to boot
 
 I hit enter and get the follow
 /boot/kernel/acpi.ko test=0x3985c data=0x1978+0xb2k sysms=[0x4+0x6010+0x4+0x7994 ]
 then the line below it is spinning and stops and freezes.
 
 I have tried 4.2, 4.4, 4.7. and 5.0 releases all lock in the same place. I have 
windows 2000 server on first 40 gigs of a 60 gig HD.
 Inside the machine are
 Intel 850 MV motherboard
 2 256 sticks of rambus and 2 dummy cards to terminate unused memory slots
 geforce 3
 Audigy Plat
 Intel 10/100 pro NIC
 adaptec 2940 scsi card
 dvd player ( used for install )
 cdrw scsi
 cd rom scsi
 secondary 60 gig HD
 
 Now I have tried with 3com nic instead, I have taken all cards out and only had 
graphics, primary HD and cd rom.
 I also updated the BIOS of the Motherboard and I still get the same freeze in the 
same spot.
 I don't know what might be the problem I have looked all over and tried many things, 
I have been working on this install for 2 days now.
 
 Any idea's or help, I would be grateful
 
 Joseph
 **PRIVILEGED AND CONFIDENTIAL INFORMATION**
 The information contained in this document is intended solely for use by the persons 
or entities identified above.  This electronically transmitted document contains 
privileged and confidential information including information which may be protected 
by the attorney-client and/or work product privileges.  If you are not the intended 
recipient, be aware that any disclosure, copying, distribution or other use of the 
contents of this transmission is prohibited.   If you received this transmission in 
error, please delete this message without making a copy.
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
-- 
Matt Smith [EMAIL PROTECTED]


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



Question

2003-02-14 Thread Michel
Hi,

I 'm working under linux platform (redhat advanced server with 20 web server
computers): i'm wondering if i should use freebsd, what are his advantages ?
Fiability ? Performances ? Network gestion ?

Thanks

Michel

_
Envie de discuter en live avec vos amis ? Télécharger MSN Messenger
http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de France


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



Hard error??

2003-02-14 Thread Henrik W Lund
I'm running 4.7-STABLE on a Compaq Evo1000v, and am generally quite 
satisfied. During the last couple of hours, however, I have been getting the 
weirdest messages whenever I try to do anything:

ad0s1g: hard error reading fsbn 70863167 of 34268000-34268031 (ad0s1 bn 
70863167; cn 4686 tn 172 sn 11) trying PIO mode
ad0s1g: hard error reading fsbn 70863183 of 34268000-34268031 (ad0s1 bn 
70863183; cn 4686 tn 172 sn 27) status=59 error=01
ad0s1g: hard error reading fsbn 70863183 of 34268000-34268031 (ad0s1 bn 
70863183; cn 4686 tn 172 sn 27) status=59 error=01
ad0s1g: hard error reading fsbn 70863183 of 34268000-34268031 (ad0s1 bn 
70863183; cn 4686 tn 172 sn 27) status=59 error=01
ad0s1g: hard error reading fsbn 70863183 of 34268000-34268031 (ad0s1 bn 
70863183; cn 4686 tn 172 sn 27) status=59 error=01
...
... (repeat to fade)

What is this? Please, don't tell me my hard drive is about to go ape. What 
do I do?

Thanks!





_
MSN Messenger http://www.msn.no/messenger - Den korteste veien mellom deg og 
dine venner


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


Re: Hard error??

2003-02-14 Thread Chuck Swiger
Henrik W Lund wrote:
[ ... ]

ad0s1g: hard error reading fsbn 70863183 of 34268000-34268031 (ad0s1 bn 
70863183; cn 4686 tn 172 sn 27) status=59 error=01
...
... (repeat to fade)

What is this? Please, don't tell me my hard drive is about to go ape. 

OK.  However, your hard drive probably is going to repeat to fade, 
losing your data along the way, until it becomes not working.

What do I do?


Verify your backups, and get a new drive.

-Chuck


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



How is the subscription to the list?

2003-02-14 Thread Erik Torres Serrano


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



Re: Hard error??

2003-02-14 Thread Bill Moran
Henrik W Lund wrote:

I'm running 4.7-STABLE on a Compaq Evo1000v, and am generally quite 
satisfied. During the last couple of hours, however, I have been getting 
the weirdest messages whenever I try to do anything:

ad0s1g: hard error reading fsbn 70863167 of 34268000-34268031 (ad0s1 bn 
70863167; cn 4686 tn 172 sn 11) trying PIO mode
ad0s1g: hard error reading fsbn 70863183 of 34268000-34268031 (ad0s1 bn 
70863183; cn 4686 tn 172 sn 27) status=59 error=01
ad0s1g: hard error reading fsbn 70863183 of 34268000-34268031 (ad0s1 bn 
70863183; cn 4686 tn 172 sn 27) status=59 error=01
ad0s1g: hard error reading fsbn 70863183 of 34268000-34268031 (ad0s1 bn 
70863183; cn 4686 tn 172 sn 27) status=59 error=01
ad0s1g: hard error reading fsbn 70863183 of 34268000-34268031 (ad0s1 bn 
70863183; cn 4686 tn 172 sn 27) status=59 error=01
...
... (repeat to fade)

What is this? Please, don't tell me my hard drive is about to go ape. 
What do I do?

Yes, barring dirty power or loose cables, it's either your HDD or the
controller that's on the fritz.  In my experience, it's usually the
HDD, although I've seen controllers act up as well.

Whatever you attempt to do to fix this, make sure you have backups
right away.  Data could already be lost.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com


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



Re: Hard error??

2003-02-14 Thread Henrik W Lund

Verify your backups, and get a new drive.

-Chuck


Wow... This is a real nightmare come true. :/ And 2.5 drives are sooo 
cheap!

Oh well, at least I won't lose important data.

_
MSN Messenger http://www.msn.no/messenger - Den korteste veien mellom deg og 
dine venner


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


Re: Question

2003-02-14 Thread Bill Moran
Michel wrote:

Hi,

I 'm working under linux platform (redhat advanced server with 20 web server
computers): i'm wondering if i should use freebsd, what are his advantages ?
Fiability ? Performances ? Network gestion ?


The best argument I know of is that the Apache group uses FreeBSD for their
own servers.  You'll have to talk to them regarding the reasons, but I consider
it a testimonial.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com


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



Re: Hard error??

2003-02-14 Thread northern snowfall
I used to get this error on a FreeBSD while using a perfectly stable 
harddrive. That
harddrive is managed via Solaris now, but, I determined the issue during 
its FreeBSD
usage was DMA. If you are running two disks on the same ATA channel with
different DMA capabilities, the capabilities may be causing scrambles in 
the
negotiation of I/O on the line. The solution is to put ATA drives that 
use _only_ the
same DMA caps on the same ATA channel. If you only have two drives, simply
put ATA0.1 on ATA1.0. This stopped my falling back to PIO messages and
probably saved the disk from hard failure caused by misuse.
Don



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


Re: Hard error??

2003-02-14 Thread Bruce Cran
On Fri, Feb 14, 2003 at 01:19:39PM -0500, northern snowfall wrote:
 I used to get this error on a FreeBSD while using a perfectly stable 
 harddrive. That
 harddrive is managed via Solaris now, but, I determined the issue during 
 its FreeBSD
 usage was DMA. If you are running two disks on the same ATA channel with
 different DMA capabilities, the capabilities may be causing scrambles in 
 the
 negotiation of I/O on the line. The solution is to put ATA drives that 
 use _only_ the
 same DMA caps on the same ATA channel. If you only have two drives, simply
 put ATA0.1 on ATA1.0. This stopped my falling back to PIO messages and
 probably saved the disk from hard failure caused by misuse.
 Don

Is this a bug in the FreeBSD ATA driver then?  I used an IBM DeskStar
drive and had Linux running perfectly well on it.  I backed up all my
data, deleted the partitions and went to install FreeBSD on it.   The
installation failed with lots of 'hard error' messages.  Did FreeBSD
kill my hard drive, or was it just luck that I got my data off the drive
with minutes to spare?   I know DeskStar drives are notorious for
failure, but I did indeed have DMA66 and DMA33 drives on the same
channel, and thought it a bit suspicious that the drive died at the
instant I tried to install FreeBSD.

Bruce Cran

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



RE: Xine failing to Compile on 5.0 release

2003-02-14 Thread David Cramblett

Any one got an idea on this:

/usr/include/sys/ipc.h:80: syntax error before ushort
main.c: In function `parse_visual':
main.c:274: warning: implicit declaration of function `strcasecmp'
main.c: In function `xrm_parse':
main.c:341: warning: implicit declaration of function `gethostname'
main.c: In function `load_audio_out_driver':
main.c:686: warning: implicit declaration of function `strncasecmp'
gmake[4]: *** [main.o] Error 1
gmake[4]: Leaving directory 
`/usr/ports/graphics/xine/work/xine-ui-0.9.18/src/xi
tk'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory 
`/usr/ports/graphics/xine/work/xine-ui-0.9.18/src/xi
tk'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
`/usr/ports/graphics/xine/work/xine-ui-0.9.18/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/graphics/xine/work/xine-ui-0.9.18'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/graphics/xine


*** snippet from ipc.h around line 80 

/*
 * XXX almost all members have wrong types.
 */
struct ipc_perm {
	ushort	cuid;	/* creator user id */
	ushort	cgid;	/* creator group id */
	ushort	uid;	/* user id */
	ushort	gid;	/* group id */
	ushort	mode;	/* r/w permission */
	ushort	seq;	/* sequence # (to generate unique msg/sem/shm id) */
	key_t	key;	/* user specified msg/sem/shm key */
};


Thanks,

David


--
David Cramblett
Axis Integrated
503-730-6201


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


troubleshooting CVSUP failures

2003-02-14 Thread Shane Hickey
Howdy all,
My ISP just put in a packetshaper and I am now having problems getting
CVSUP to work.  I suppose it could be unrelated, but I wanted to see if
anyone could suggest good troubleshooting steps.  I've tried several
cvsup servers (cvsup, cvsup2, cvsup7, cvsup8) and they all either fail
immediately, or shortly thereafter with one of the following errors.

TreeList failed: Network write failure: ChannelMux.ProtocolError

Detailer failed: Network read failure: Input/output error: zlib data
error
Will retry at 11:40:22

If anyone can give me some ideas to help figure out where the fault
lies, that would be great.

Shane


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



Solved: Any working combination of jdk and tomcat with stable

2003-02-14 Thread Fritz Heinrichmeyer
On Thursday 23 January 2003 16:08, Ernst de Haan wrote:
 On Thursday 23 January 2003 15:38, Fritz Heinrichmeyer wrote:
  Tomcat4.0.6 and tomcat4.1.18 do not work here with 4.7-STABLE, 4.1.12
  did some month ago (stand alone server). I am interested to hear of
  working combination. I use native jdk-1.3.1 (appletviewer works ...)

new tomcat also works now. The problem was that somehow tomcat JAR-files where 
placed in the lib/ext directory under JAVA_HOME. This afternoon i googled for 
the right phrases (CLASSPATH tomcat problem) and found hints for the problem.

Of course i looked for such old files before but i thought everything for 
tomcat was placed only under the /usr/local/tomcat hierarchy as indicated by 
pkg_info for the new 4.1.18 port. Maybe others should be warned?
-- 
Fritz Heinrichmeyer mailto:[EMAIL PROTECTED]
FernUniversitaet Hagen, LG ES, 58084 Hagen (Germany)
tel:+49 2331/987-1166 fax:987-355 http://www-es.fernuni-hagen.de/~jfh


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



Re: Hard error??

2003-02-14 Thread Henrik W Lund
Is this a bug in the FreeBSD ATA driver then?  I used an IBM DeskStar
drive and had Linux running perfectly well on it.  I backed up all my
data, deleted the partitions and went to install FreeBSD on it.   The
installation failed with lots of 'hard error' messages.  Did FreeBSD
kill my hard drive, or was it just luck that I got my data off the drive
with minutes to spare?   I know DeskStar drives are notorious for
failure, but I did indeed have DMA66 and DMA33 drives on the same
channel, and thought it a bit suspicious that the drive died at the
instant I tried to install FreeBSD.

Bruce Cran



Yeah, this also occured to me, as I have been running WinXP on my drive 
without problems. The really wierd bit is that I only get the messages when 
writing to (or reading from) /usr (i run a dedicated partition for /usr. You 
know, the automatic single disk setup when installing FreeBSD). Wait, maybe 
that isn't so wierd after all.

Anyway, I want to know for sure that this disk failure is not due to any 
FreeBSD shenanigans, as I do not want to buy a new drive and install FreeBSD 
to it, only to have it crash on me just days later.

_
MSN Messenger http://www.msn.no/messenger - Den korteste veien mellom deg og 
dine venner


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


Re: Wrong Timestamps in /var/log/messages from ipmon

2003-02-14 Thread Dancho Penev
On Fri, Feb 14, 2003 at 04:10:42PM +1100, Murray Taylor wrote:

From: Murray Taylor [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Wrong Timestamps in /var/log/messages from ipmon
Date: Fri, 14 Feb 2003 16:10:42 +1100

Using 

ipmon -Dsv

We were seeing timestamps in /var/log/messages that were 11 hours out from our 
real timezone... other messages (interspersed) from other programs were 
correctly timestamped. 
Date was returning the correct time, and we are running xntpd against our 
timeserver.

We reset the /etc/locatime via /stand/sysinstall then killed ipmon and 
restarted it and all the timestamps are now correct.. Any ideas.. ?

Which timestamps ? Can you show messages ?
Note that in log message you have two timestamps:
1. The time when ipmon log to syslogd
2. The time when ipfilter log to /dev/ipl

When ipmon is run it read ipl buffer and log messages if there is any,
and they may be from 11 seconds, 11 hours or 11 days ...



FreeBSD 4.7-STABLE


Murray Taylor
Special Projects Engineer
-
Bytecraft Systems  Entertainment
Phone: 61 3 8710 2555
Fax: 61 3 8710 2599
Direct: 61 3 9238 4275
Mobile: 61 0417 319 256
Email: [EMAIL PROTECTED]
or visit us on the web
http://www.bytecraftsystems.com
http://www.bytecraftentertainment.com


This Email has been scanned for Viruses by MailMarshal.


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


--
Regards,
Dancho Penev

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



Re: Hard error??

2003-02-14 Thread Chuck Swiger
Henrik W Lund wrote:
[ ... ]

Anyway, I want to know for sure that this disk failure is not due to any 
FreeBSD shenanigans, as I do not want to buy a new drive and install 
FreeBSD to it, only to have it crash on me just days later.

Fair enough.  Check with the vendor of your hard drive (or the laptop) 
for their hard-drive test utilities.  You should be able to do a 
non-destructive read test and see what you see

-Chuck


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


Help! Installation Question

2003-02-14 Thread Joshua Miner
Help!



I am having trouble installing the 5.0 release FreeBSD. I am installing it 
to its own machine and I have completed the following steps. I do not have a 
bootable CD Rom drive (though I do have a CD Rom burner), so I have been 
planning to install from discs. So far I have:

1. Formatted two floppy discs.

2. Downloaded kern.flp and mfsroot.flp to my root c: drive (of a Windows 
system)

3. Downloaded fdimage to my root c: drive (of a Windows system)

4. Copied kern.flp from the Windows DOS emulator with the command: fdimage 
kern.flp a:

5. Copied mfsroot.flp from the Windows DOS emulator with the command: 
fdimage mfsroot.flp a:

6. I turned on the machine to which I will install the OS and ensured that 
floppy disks were the primary boot mechanism in the setup menu.

7. When I restart the machine with the kern.flp or the mfsroot.flp in the 
disk drive I get the message “Insert bootable media in the appropriate 
drive.”



Any suggestions?







_
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


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


Re: Hard error??

2003-02-14 Thread Henrik W Lund

Fair enough.  Check with the vendor of your hard drive (or the laptop) for 
their hard-drive test utilities.  You should be able to do a 
non-destructive read test and see what you see

-Chuck


Oh, just something that occured to me now: do you think this may be due to 
the harddrive overheating? Maybe a fan isn't working, or a ventilation grill 
has been covered up. The computer has been turned on for quite extended 
periods of time lately. Yay, nay? Possible cause?

_
MSN Messenger http://www.msn.no/messenger - Den korteste veien mellom deg og 
dine venner


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


Re: Hard error??

2003-02-14 Thread Bruce Cran
On Fri, Feb 14, 2003 at 02:19:34PM -0500, Chuck Swiger wrote:
 Henrik W Lund wrote:
 [ ... ]
 Anyway, I want to know for sure that this disk failure is not due to any 
 FreeBSD shenanigans, as I do not want to buy a new drive and install 
 FreeBSD to it, only to have it crash on me just days later.
 
 Fair enough.  Check with the vendor of your hard drive (or the laptop) 
 for their hard-drive test utilities.  You should be able to do a 
 non-destructive read test and see what you see


My drive really did fail after attempting to install FreeBSD - I
mananged to get the BIOS and Windows to recognise it long enough to run
IBM's smartdefender program.   It told me the drive was basically dead.

Bruce Cran

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



Re: Gnome 2 on FreeBSD 4.7p3 -- multiple issues

2003-02-14 Thread Mark Edwards
On Friday, February 14, 2003, at 11:21 AM, stan wrote:


On Thu, Feb 13, 2003 at 11:46:47AM -0800, Mark Edwards wrote:

On Thursday, February 13, 2003, at 11:29 AM, Joe Marcus Clarke wrote:


On Thu, 2003-02-13 at 13:03, Mark Edwards wrote:

I've fixed my XFree86 install, and I have 4.2.1 running.  All of 
the
ports mentioned above are installed.  I am able to run xf86cfg
graphically and configure, and I can run X using startx, which 
loads
fine.

However, when I do:

sudo /usr/X11R6/etc/rc.d/gdm.sh start

I get:

Feb 13 01:28:56 lilbuddy gdm[15381]: Failed to start the display
server
several times in a short time period; disabling display :0

I would need to see the X log to know if it's a gdm problem.
However,
I've never tried starting gdm under sudo.


Well, the same behavior occurs if I just restart the machine and let
the script be triggered normally, so I doubt that sudo has anything 
to
do with it.  Also, I successfully started gdm many times this way
under
gnome 2.0.

I have posted /var/log/:0.log and var/log/XFree86.0.log here:

http://mark.antsclimbtree.com/Xlog.txt

Nothing useful here.  You might try doing a forced rebuild of gdm2.

Joe


I got it.  I tried switching to root, and running startx (root's
.xinitrc was set to start gnome).  I got a complaint that fontconfig
couldn't start.  Aha!

I removed /usr/X11R6/etc/fonts and reinstalled
/usr/ports/x11-fonts/fontconfig and voila!  Everything's fine, AND I
have anti-aliased fonts!  Damn, that was painful, but I guess it was
worth it.


Im fighting this exact same problem, and I was wondering if I could
trouble you with a couple of questions.

You say you removed /usr/X11R6/etc/fonts. Do you mean the whole thing? 
As
in evert font on the system? If so, exactly what did you do to reinstall
just the fonts?

My /usr/X11R6/etc/fonts directory looks like this:

total 16
-r--r--r--  1 root  wheel  8618 Feb 13 11:35 fonts.conf
-r--r--r--  1 root  wheel  5712 Feb 13 11:35 fonts.dtd

So, I removed that directory, and I did

cd /usr/ports/x11-fonts/fontconfig
make deinstall
make clean install

That fixed the problem for me.  I don't know that deleting the 
fonts.conf and fonts.dtd actually did anything, I was just shooting in 
the dark.  I saw that something was foul with fontconfig, so I wanted to 
make sure I wiped out anything corrupted in fonts.conf.  I knew the 
installer would replace that directory.

If two of us have had this issue now, I wonder if there's something 
about the build order of the gnome2.2 port that is messing up fontconfig 
when upgrading from a previous gnome2 install, or something like that.  
Does that sound plausible Joe?

--
Mark Edwards
Engineer
Mr. Toad's
San Francisco, CA


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


Re: Gnome 2 on FreeBSD 4.7p3 -- multiple issues

2003-02-14 Thread Joe Marcus Clarke
On Fri, 2003-02-14 at 14:58, Mark Edwards wrote:
 On Friday, February 14, 2003, at 11:21 AM, stan wrote:
 
  On Thu, Feb 13, 2003 at 11:46:47AM -0800, Mark Edwards wrote:
  On Thursday, February 13, 2003, at 11:29 AM, Joe Marcus Clarke wrote:
 
  On Thu, 2003-02-13 at 13:03, Mark Edwards wrote:
  I've fixed my XFree86 install, and I have 4.2.1 running.  All of 
  the
  ports mentioned above are installed.  I am able to run xf86cfg
  graphically and configure, and I can run X using startx, which 
  loads
  fine.
 
  However, when I do:
 
  sudo /usr/X11R6/etc/rc.d/gdm.sh start
 
  I get:
 
  Feb 13 01:28:56 lilbuddy gdm[15381]: Failed to start the display
  server
  several times in a short time period; disabling display :0
 
  I would need to see the X log to know if it's a gdm problem.
  However,
  I've never tried starting gdm under sudo.
 
  Well, the same behavior occurs if I just restart the machine and let
  the script be triggered normally, so I doubt that sudo has anything 
  to
  do with it.  Also, I successfully started gdm many times this way
  under
  gnome 2.0.
 
  I have posted /var/log/:0.log and var/log/XFree86.0.log here:
 
  http://mark.antsclimbtree.com/Xlog.txt
 
  Nothing useful here.  You might try doing a forced rebuild of gdm2.
 
  Joe
 
  I got it.  I tried switching to root, and running startx (root's
  .xinitrc was set to start gnome).  I got a complaint that fontconfig
  couldn't start.  Aha!
 
  I removed /usr/X11R6/etc/fonts and reinstalled
  /usr/ports/x11-fonts/fontconfig and voila!  Everything's fine, AND I
  have anti-aliased fonts!  Damn, that was painful, but I guess it was
  worth it.
 
  Im fighting this exact same problem, and I was wondering if I could
  trouble you with a couple of questions.
 
  You say you removed /usr/X11R6/etc/fonts. Do you mean the whole thing? 
  As
  in evert font on the system? If so, exactly what did you do to reinstall
  just the fonts?
 
 My /usr/X11R6/etc/fonts directory looks like this:
 
 total 16
 -r--r--r--  1 root  wheel  8618 Feb 13 11:35 fonts.conf
 -r--r--r--  1 root  wheel  5712 Feb 13 11:35 fonts.dtd
 
 So, I removed that directory, and I did
 
 cd /usr/ports/x11-fonts/fontconfig
 make deinstall
 make clean install
 
 That fixed the problem for me.  I don't know that deleting the 
 fonts.conf and fonts.dtd actually did anything, I was just shooting in 
 the dark.  I saw that something was foul with fontconfig, so I wanted to 
 make sure I wiped out anything corrupted in fonts.conf.  I knew the 
 installer would replace that directory.
 
 If two of us have had this issue now, I wonder if there's something 
 about the build order of the gnome2.2 port that is messing up fontconfig 
 when upgrading from a previous gnome2 install, or something like that.  
 Does that sound plausible Joe?

Not likely.  I've upgraded four machines now, and never encountered this
problem.  I know quite a few others that haven't run in to it, either. 
As long as you properly upgrade GNOME 2 and all of its components, you
really shouldn't run into a problem.  That's not to say a bad font or
fontdir, or bad ~/.fonts.conf couldn't hurt you.

Joe

 
 --
 Mark Edwards
 Engineer
 Mr. Toad's
 San Francisco, CA
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
-- 
PGP Key : http://www.marcuscom.com/pgp.asc



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


Re: Gnome 2 on FreeBSD 4.7p3 -- multiple issues

2003-02-14 Thread stan
On Fri, Feb 14, 2003 at 11:58:20AM -0800, Mark Edwards wrote:
 On Friday, February 14, 2003, at 11:21 AM, stan wrote:
 
 On Thu, Feb 13, 2003 at 11:46:47AM -0800, Mark Edwards wrote:
 On Thursday, February 13, 2003, at 11:29 AM, Joe Marcus Clarke wrote:
 
 On Thu, 2003-02-13 at 13:03, Mark Edwards wrote:
 I've fixed my XFree86 install, and I have 4.2.1 running.  All of 
 the
 ports mentioned above are installed.  I am able to run xf86cfg
 graphically and configure, and I can run X using startx, which 
 loads
 fine.
 
 However, when I do:
 
 sudo /usr/X11R6/etc/rc.d/gdm.sh start
 
 I get:
 
 Feb 13 01:28:56 lilbuddy gdm[15381]: Failed to start the display
 server
 several times in a short time period; disabling display :0
 
 I would need to see the X log to know if it's a gdm problem.
 However,
 I've never tried starting gdm under sudo.
 
 Well, the same behavior occurs if I just restart the machine and let
 the script be triggered normally, so I doubt that sudo has anything 
 to
 do with it.  Also, I successfully started gdm many times this way
 under
 gnome 2.0.
 
 I have posted /var/log/:0.log and var/log/XFree86.0.log here:
 
 http://mark.antsclimbtree.com/Xlog.txt
 
 Nothing useful here.  You might try doing a forced rebuild of gdm2.
 
 Joe
 
 I got it.  I tried switching to root, and running startx (root's
 .xinitrc was set to start gnome).  I got a complaint that fontconfig
 couldn't start.  Aha!
 
 I removed /usr/X11R6/etc/fonts and reinstalled
 /usr/ports/x11-fonts/fontconfig and voila!  Everything's fine, AND I
 have anti-aliased fonts!  Damn, that was painful, but I guess it was
 worth it.
 
 Im fighting this exact same problem, and I was wondering if I could
 trouble you with a couple of questions.
 
 You say you removed /usr/X11R6/etc/fonts. Do you mean the whole thing? 
 As
 in evert font on the system? If so, exactly what did you do to reinstall
 just the fonts?
 
 My /usr/X11R6/etc/fonts directory looks like this:
 
 total 16
 -r--r--r--  1 root  wheel  8618 Feb 13 11:35 fonts.conf
 -r--r--r--  1 root  wheel  5712 Feb 13 11:35 fonts.dtd
 
 So, I removed that directory, and I did
 
 cd /usr/ports/x11-fonts/fontconfig
 make deinstall
 make clean install

Thanks, I was confused, I thought yu were remooving the fonts themselves. I
had to remove the 75 dpi fonts on one of my machines to get fc-cahe to run.

In any case, I've done this, and I will be able to test when I egt home.

Thanks for the help.

-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin

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



Re: Gnome 2 on FreeBSD 4.7p3 -- multiple issues

2003-02-14 Thread Joe Marcus Clarke
On Fri, 2003-02-14 at 15:10, stan wrote:
 On Fri, Feb 14, 2003 at 11:58:20AM -0800, Mark Edwards wrote:
  On Friday, February 14, 2003, at 11:21 AM, stan wrote:
  
  On Thu, Feb 13, 2003 at 11:46:47AM -0800, Mark Edwards wrote:
  On Thursday, February 13, 2003, at 11:29 AM, Joe Marcus Clarke wrote:
  
  On Thu, 2003-02-13 at 13:03, Mark Edwards wrote:
  I've fixed my XFree86 install, and I have 4.2.1 running.  All of 
  the
  ports mentioned above are installed.  I am able to run xf86cfg
  graphically and configure, and I can run X using startx, which 
  loads
  fine.
  
  However, when I do:
  
  sudo /usr/X11R6/etc/rc.d/gdm.sh start
  
  I get:
  
  Feb 13 01:28:56 lilbuddy gdm[15381]: Failed to start the display
  server
  several times in a short time period; disabling display :0
  
  I would need to see the X log to know if it's a gdm problem.
  However,
  I've never tried starting gdm under sudo.
  
  Well, the same behavior occurs if I just restart the machine and let
  the script be triggered normally, so I doubt that sudo has anything 
  to
  do with it.  Also, I successfully started gdm many times this way
  under
  gnome 2.0.
  
  I have posted /var/log/:0.log and var/log/XFree86.0.log here:
  
  http://mark.antsclimbtree.com/Xlog.txt
  
  Nothing useful here.  You might try doing a forced rebuild of gdm2.
  
  Joe
  
  I got it.  I tried switching to root, and running startx (root's
  .xinitrc was set to start gnome).  I got a complaint that fontconfig
  couldn't start.  Aha!
  
  I removed /usr/X11R6/etc/fonts and reinstalled
  /usr/ports/x11-fonts/fontconfig and voila!  Everything's fine, AND I
  have anti-aliased fonts!  Damn, that was painful, but I guess it was
  worth it.
  
  Im fighting this exact same problem, and I was wondering if I could
  trouble you with a couple of questions.
  
  You say you removed /usr/X11R6/etc/fonts. Do you mean the whole thing? 
  As
  in evert font on the system? If so, exactly what did you do to reinstall
  just the fonts?
  
  My /usr/X11R6/etc/fonts directory looks like this:
  
  total 16
  -r--r--r--  1 root  wheel  8618 Feb 13 11:35 fonts.conf
  -r--r--r--  1 root  wheel  5712 Feb 13 11:35 fonts.dtd
  
  So, I removed that directory, and I did
  
  cd /usr/ports/x11-fonts/fontconfig
  make deinstall
  make clean install
 
 Thanks, I was confused, I thought yu were remooving the fonts themselves. I
 had to remove the 75 dpi fonts on one of my machines to get fc-cahe to run.

Probably a corrupt font file.  You might try removing XFree86-font*,
then reinstall those ports to see if the problem goes away.  Like I
said, fc-cache runs just fine for me on four different machines (3
-STABLE, 1 -CURRENT).  Two of them have custom TrueType fonts added as
well.  All of them have webfonts installed.

Joe

 
 In any case, I've done this, and I will be able to test when I egt home.
 
 Thanks for the help.
-- 
PGP Key : http://www.marcuscom.com/pgp.asc



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


Is FreeBSD suitable for a tablet PC?

2003-02-14 Thread Gary Dunn
I am working on a project that applies open-source philosophy to
hardware design and courseware aimed at the secondary school and
college level. The centerpiece of the project is a self-made portable
computer similar to the newly reborn Windows tablet PC. There are
still many design details to be worked out -- thin client vs. full
featured, independent workstation, for example -- but one of the most
fundamental issues is the choice of operation system.

I have been using FreeBSD at work since version 2.something and am
completely satisfied with it as a server. Setting up X and a clean
user experience was a lot of work. I kept hearing about Linux and how
much more it was like Windows, so I bought a box of Mandrake 6.5
and gave it a try. I was very impressed with how smooth the
installation went and the resulting workspace -- not just for myself,
mind you, but for a hypothetical newbie. I have continued to use
Mandrake, and have 8.1 running on my little Sony SR7K notebook with an
802.11b home LAN. (But that was NOT a newbie level task, I can assure
you!) 

My biggest complaint is poor battery life; about an hour. Even less if
I use Xemacs!

I continue to have doubts about using FreeBSD for my reference
design. To me it seems like using a cargo ship to go fishing. Okay,
how about holding school in a sports stadium? Using a deer rifle to
kill a mouse? A fire hose to fill a water glass?

On the other hand, FreeBSD as a complete OS -- kernel plus ports --
comes the closest to my ideal. The technology is cutting edge, we
don't get too tangled up in different versions and feature sets, and
there is this wonderful community. Most Linux distros have their own
community of supporters, too, but so often they become, well, so
passionate.

I would enjoy hearing your opinions on how well FreeBSD supports these
requirements:

o Long battery life (e.g. automatic CPU speed throttle)

o Multi-level power management
- Full speed
- Reduced speed
- Suspend
- Hibernation

o 802.11b networking
- Automatic configuration in a many-access point setting
- Seamless transition to wired or dial-up connections

o Digitizer input
(I have John Joganic's Linux Wacom tablet driver working on my
   VAIO)

o Handwriting recognition
(Not really there even in Linux)

Finally, a shameless plug: I am looking for help, so if this sounds
like something you'd like to participate in please drop me a line and
visit my mailing list sign-up page.

Thanks, everyone! (In Hawaiian: Mahalo Nui!)


-- 

   _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
  _/ _/
 _/  Gary Dunn  _/
_/  Open Slate Project _/
   _/  http://openslate.sourceforge.net/  _/
  _/  http://www.aloha.com/~knowtree/_/
 _/  Honolulu   _/
_/  registered Linux user #273809  _/
   _/ _/
  _/  This tagline is umop apisdn.   _/
 _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/

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



Re: Hard error??

2003-02-14 Thread Henrik W Lund
Thanks for all your help, even though the situation turned out to be rather 
grim. Definitely moreso than I had hoped.

Anyway, it seems like I have just got to get myself a new drive. On that 
note, has anybody got any idea what I should go for? Any vendors whose 
drives do NOT cave in after half a year? ;)

Again, thanks for all your help. I appreciate it.

-Henrik

_
MSN Messenger http://www.msn.no/messenger - Den korteste veien mellom deg og 
dine venner


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


Re: Hard error??

2003-02-14 Thread northern snowfall


Is this a bug in the FreeBSD ATA driver then?  

Its entirely possible, but, I, personally, wouldn't know for sure.
I'm just getting in to the depths of the ATA specs. It may not be
a bug so much as a lack of handling specific DMA issues.
Maybe someone should CC freebsd-{hardware,hackers}@
Don



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



RE: Suggestions for new machine please

2003-02-14 Thread Harald Schmalzbauer
Sorry, I can't answer your question but I can recommend the Tualatin
especially with the intel S815EBM1 mobo and Infineon RAM. Although no
ECC, together with a 3wrae RAID I have uptimes now for almost 2 years.
And the 1.13 verision is affordable and has plenty of reserve-power for
my needs.

-Harry

[EMAIL PROTECTED] wrote:
 Hi

 It was early of the year 2000 when I got very good suggestions from
 here to buy BX based motherboard, if any. I'm glad I did so... I
 have been using my old trusty BX-based system without any problems,
 but it's time for faster ride. As I'll want to help with SMP which
 seems to be slowly gaining weight, am considering dual-processor
 system. Current dual-Xeon systems are too expensive, PIII is old
 (good and cool) technology, but 1,4Ghz Tualatin price is about the
 same as 2Ghz Athlon XP.. which brings me to the dual-Athlon
 solution. What do you guys think about Asus A7M266-D and two Athlon
 XP 2400+ processors? The information circulating around 'Net claims
 that XP and MP are the same processors and with slight modification
 XP's will work just fine as MP's. Actually I've seen dual-XP's on
 this particular mobo, but these were 1,7Ghz with Palomino core. What
 about memory bandwidth, it's using older memory as I see. Any hidden
 traps, besides cooling of course?
 Or am I on the wrong track and catching up the long gone train..

 Thanks



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



RE: Authenticating a FreeBSD users to Win2K Kerberos

2003-02-14 Thread Harald Schmalzbauer
[EMAIL PROTECTED] wrote:
 Hi everyone,

 Anyone know a good HOWTO guide for authenticating FreeBSD logons to
 Win2K/Acitive Directory Kerberos server. I really need some guidance
 here as I havn't the first idea where to start

Just for authentiation or complete user logon without having seperate
UNIX accounts?

In the latter you had to change the AD scheme because you need more info
(home, shell, different u+gID), but there are SFU (ServicesForUnix) from
Microsoft which makes the neccesary changes and also provides a NIS
server.

Just for authentication you could use pam_smb.

I can't help you with kerberos because I decided to use SFU.

Best regards,

-Harry




 -Thanks in advance

 -
 Would you like to receive faxes to your personal email address?
 You can with mBox.  Visit http://www.mbox.com.au/fax

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



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



Re: Hard error??

2003-02-14 Thread northern snowfall
Anyway, it seems like I have just got to get myself a new drive. On 
that note, has anybody got any idea what I should go for? Any vendors 
whose drives do NOT cave in after half a year? ;) 

I choose Maxtor for several reasons. First off, I've been using Maxtor
disks the most since I started out in computers and haven't had one fail
yet (running every OS i've tested). Now that I'm alittle more experienced,
I use Maxtor because of its standing credibility with me, and, because
the Chairman of the T13[1] (technical committee for ATA[-ATAPI]
development) is from Maxtor Corporation. They are most likely to want
to adhere to a published specification (along with other T13 members),
rather than develop chipsets that are rushed to keep up with a $25 billion
a year industry.
Don
[1] T13 technical committee http://www.t13.org/






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



Re: Help! Installation Question

2003-02-14 Thread Bill Moran
Joshua Miner wrote:

Help!



I am having trouble installing the 5.0 release FreeBSD. I am installing 
it to its own machine and I have completed the following steps. I do not 
have a bootable CD Rom drive (though I do have a CD Rom burner), so I 
have been planning to install from discs. So far I have:

1. Formatted two floppy discs.

2. Downloaded kern.flp and mfsroot.flp to my root c: drive (of a Windows 
system)

What kind of Windows (NT, 2000, 95?)
I seem to remember a good bit of trouble getting fdimage to work
on certain hardware under Windows NT (although it's been a while).
fdimage has a number of command line switches ... one of them
solved the problem.  I seem to remember something about single-
sector writing or something (it's been a while)
Don't know if this is your problem or not, but report the OS that
you're creating the images from, and check out 'fdimage /?' (I
believe) will give you a list of switches and their meanings.



3. Downloaded fdimage to my root c: drive (of a Windows system)

4. Copied kern.flp from the Windows DOS emulator with the command: 
fdimage kern.flp a:

5. Copied mfsroot.flp from the Windows DOS emulator with the command: 
fdimage mfsroot.flp a:

6. I turned on the machine to which I will install the OS and ensured 
that floppy disks were the primary boot mechanism in the setup menu.

7. When I restart the machine with the kern.flp or the mfsroot.flp in 
the disk drive I get the message “Insert bootable media in the 
appropriate drive.”


--
Bill Moran
Potential Technologies
http://www.potentialtech.com


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



Re: Help! Installation Question

2003-02-14 Thread c a r s t e n
 |  I am having trouble installing the 5.0 release FreeBSD. I am
 |  installing it to its own machine and I have completed the
 |  following steps. I do not have a bootable CD Rom drive (though
 |  I do have a CD Rom burner), so I have been planning to install
 |  from discs. So far I have:
 |  
 |  1. Formatted two floppy discs.
 |  
 |  2. Downloaded kern.flp and mfsroot.flp to my root c: drive (of a
 | Windows system)
 | 
 | What kind of Windows (NT, 2000, 95?)
 | I seem to remember a good bit of trouble getting fdimage to work
 | on certain hardware under Windows NT (although it's been a while).
 | fdimage has a number of command line switches ... one of them
 | solved the problem.  I seem to remember something about single-
 | sector writing or something (it's been a while)
 | Don't know if this is your problem or not, but report the OS that
 | you're creating the images from, and check out 'fdimage /?' (I
 | believe) will give you a list of switches and their meanings.

i used a program called ntrawrite.exe. worked like a charm. win2k.

c


c

man kan tune et filsystem, men man kan ikke tunfisk, bsd tunefs manpage



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



Re: troubleshooting CVSUP failures

2003-02-14 Thread Shane Hickey
On Fri, 2003-02-14 at 11:46, Shane Hickey wrote:
 Howdy all,
   My ISP just put in a packetshaper and I am now having problems getting
 CVSUP to work.  I suppose it could be unrelated, but I wanted to see if
 anyone could suggest good troubleshooting steps.  I've tried several
 cvsup servers (cvsup, cvsup2, cvsup7, cvsup8) and they all either fail
 immediately, or shortly thereafter with one of the following errors.
 
 TreeList failed: Network write failure: ChannelMux.ProtocolError
 
 Detailer failed: Network read failure: Input/output error: zlib data
 error

I hadn't gotten any responses, but I just noticed something.  I put my
firewall's outside interface into promiscuous mode for Snort and shortly
thereafter I started getting the following errors.

Feb 14 15:00:37 elijah kernel: ed1: NIC memory corrupt - invalid packet
length 4
Feb 14 15:00:48 elijah kernel: ed1: NIC memory corrupt - invalid packet
length 3
Feb 14 15:00:52 elijah kernel: ed1: NIC memory corrupt - invalid packet
length 4
Feb 14 15:00:53 elijah kernel: ed1: NIC memory corrupt - invalid packet
length 3

Now, my question all along has been whether my ISP munged something up
and packets are being corrupted.  Might the errors that I'm seeing be
evidence of that or is it only pointing to the fact that my firewalls
ed1 interface might be screwy?

Thanks,

Shane


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



Re: troubleshooting CVSUP failures

2003-02-14 Thread Stacey Roberts
Hi,

On Fri, 2003-02-14 at 22:12, Shane Hickey wrote:
 On Fri, 2003-02-14 at 11:46, Shane Hickey wrote:
  Howdy all,
  My ISP just put in a packetshaper and I am now having problems getting
  CVSUP to work.  I suppose it could be unrelated, but I wanted to see if
  anyone could suggest good troubleshooting steps.  I've tried several
  cvsup servers (cvsup, cvsup2, cvsup7, cvsup8) and they all either fail
  immediately, or shortly thereafter with one of the following errors.
  
  TreeList failed: Network write failure: ChannelMux.ProtocolError
  
  Detailer failed: Network read failure: Input/output error: zlib data
  error
 
 I hadn't gotten any responses, but I just noticed something.  I put my
 firewall's outside interface into promiscuous mode for Snort and shortly
 thereafter I started getting the following errors.
 
 Feb 14 15:00:37 elijah kernel: ed1: NIC memory corrupt - invalid packet
 length 4
 Feb 14 15:00:48 elijah kernel: ed1: NIC memory corrupt - invalid packet
 length 3
 Feb 14 15:00:52 elijah kernel: ed1: NIC memory corrupt - invalid packet
 length 4
 Feb 14 15:00:53 elijah kernel: ed1: NIC memory corrupt - invalid packet
 length 3

What version of FreeBSD is this?
Can you post the dmesg output for both (or more) of the nics on the
system, please?
What is the P'nP OS BIOS option set to on this box?

The reasoning behind my request for more information rests on the
following:-

1] There is a possibility of an IRQ conflict with another adapter on the
box

2] Duff ethernet cabling

 
 Now, my question all along has been whether my ISP munged something up
 and packets are being corrupted.  Might the errors that I'm seeing be
 evidence of that or is it only pointing to the fact that my firewalls
 ed1 interface might be screwy?
 

Not sure myself, come back to the list with that information, and
hopefully others more informed than I would have memories jogged :-)

Regards,

Stacey

 Thanks,
 
 Shane
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com



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



Re: troubleshooting CVSUP failures

2003-02-14 Thread Shane Hickey
Howdy, thanks for the response.

On Fri, 2003-02-14 at 15:39, Stacey Roberts wrote:
 What version of FreeBSD is this?

5.0-release.

 Can you post the dmesg output for both (or more) of the nics on the
 system, please?
 What is the P'nP OS BIOS option set to on this box?

Here's the dmesg:
ed1: Linksys Combo EthernetCard at port 0x100-0x11f irq 11 function 0
config 16 on pccard0
ed1: address 00:e0:98:88:91:84, type Linksys (16 bit)
ukphy0: Generic IEEE 802.3u media interface on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Product version: 5.0
Product name: IBM | 10/100 EtherJet CardBus | IBMC-10/100 | 1.04 |
Manufacturer ID: a400130181
Functions: Network Adaptor, Multi-Functioned
Function Extension: 04060006295290d8
Function Extension: 0102
Function Extension: 0280969800
Function Extension: 0200e1f505
Function Extension: 0301
Function Extension: 0303
Function Extension: 0501
cardbus1: Invalid BAR number: 27(06)
CIS reading done
dc0: Xircom X3201 10/100BaseTX port 0x1000-0x107f mem
0x88002400-0x880024ff,0x88002500-0x8800257f irq 11 at device 0.0 on
cardbus1
dc0: Ethernet address: 06:00:06:29:52:90
miibus1: MII bus on dc0
tdkphy0: TDK 78Q2120 media interface on miibus1
tdkphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

I don't see any mention of PNP in the BIOS and I didn't specifically
enable anything in the KERNEL.  Let me know if you need more.

Now, here's the weird thing.  I reconfigured my ipnat.rules, ipf.rules
and rc.conf to switch the NICs.  I rebooted and switched the cables and
now I haven't gotten an error on the new dc0 interface (which is now the
promiscuous snort interface).  So, it might be that the ed1 interface is
conflicting with something and I only hear about it when I put it into
promiscuous mode.  I'm going to try to do that next.

Thanks,

shane


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



Re: troubleshooting CVSUP failures

2003-02-14 Thread Stacey Roberts
Hi,

On Fri, 2003-02-14 at 22:56, Shane Hickey wrote:
 Howdy, thanks for the response.

No worries..,

 
 On Fri, 2003-02-14 at 15:39, Stacey Roberts wrote:
  What version of FreeBSD is this?
 
 5.0-release.
 
  Can you post the dmesg output for both (or more) of the nics on the
  system, please?
  What is the P'nP OS BIOS option set to on this box?
 
 Here's the dmesg:
 ed1: Linksys Combo EthernetCard at port 0x100-0x11f irq 11 function 0

IRQ 11 here..,

 config 16 on pccard0
 ed1: address 00:e0:98:88:91:84, type Linksys (16 bit)
 ukphy0: Generic IEEE 802.3u media interface on miibus0
 ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 Product version: 5.0
 Product name: IBM | 10/100 EtherJet CardBus | IBMC-10/100 | 1.04 |
 Manufacturer ID: a400130181
 Functions: Network Adaptor, Multi-Functioned
 Function Extension: 04060006295290d8
 Function Extension: 0102
 Function Extension: 0280969800
 Function Extension: 0200e1f505
 Function Extension: 0301
 Function Extension: 0303
 Function Extension: 0501
 cardbus1: Invalid BAR number: 27(06)
 CIS reading done
 dc0: Xircom X3201 10/100BaseTX port 0x1000-0x107f mem
 0x88002400-0x880024ff,0x88002500-0x8800257f irq 11 at device 0.0 on 

IRQ 11 here as well :-(

 cardbus1

Both ed1  dc0 are sharing IRQ11, not always a good thing..,

 dc0: Ethernet address: 06:00:06:29:52:90
 miibus1: MII bus on dc0
 tdkphy0: TDK 78Q2120 media interface on miibus1
 tdkphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 
 I don't see any mention of PNP in the BIOS and I didn't specifically
 enable anything in the KERNEL.  Let me know if you need more.

Most MoBo's have an option in the SetUp menu (you know.., press DEL for
SETUP, during POST), where you tell the BIOS whether or not a P'nP OS
is being installed - for FreeBSD, one usually selects No / DISABLE
to this.

 
 Now, here's the weird thing.  I reconfigured my ipnat.rules, ipf.rules
 and rc.conf to switch the NICs.  I rebooted and switched the cables and
 now I haven't gotten an error on the new dc0 interface (which is now the
 promiscuous snort interface).  So, it might be that the ed1 interface is
 conflicting with something and I only hear about it when I put it into
 promiscuous mode.  I'm going to try to do that next.

Well., when putting an interface into promiscuous mode, you're then
enabling the bpf (Berkley Packet Filter) device.., which might point to
ed1 (on IRQ11) now having to contend with yet another device for IRQ
resources.., Just a guess here.

 
 Thanks,
 

It'd be great to hear what results you get.., Hope to hear from you on
this again soon.

Regards,

Stacey

 shane
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com



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



Re: Is FreeBSD suitable for a tablet PC?

2003-02-14 Thread kitsune
On Fri, 14 Feb 2003 10:41:31 -1000
Gary Dunn [EMAIL PROTECTED] wrote:

 I am working on a project that applies open-source philosophy to
 hardware design and courseware aimed at the secondary school and
 college level. The centerpiece of the project is a self-made portable
 computer similar to the newly reborn Windows tablet PC. There are
 still many design details to be worked out -- thin client vs. full
 featured, independent workstation, for example -- but one of the most
 fundamental issues is the choice of operation system.
 
 I have been using FreeBSD at work since version 2.something and am
 completely satisfied with it as a server. Setting up X and a clean
 user experience was a lot of work. I kept hearing about Linux and how
 much more it was like Windows, so I bought a box of Mandrake 6.5
 and gave it a try. I was very impressed with how smooth the
 installation went and the resulting workspace -- not just for myself,
 mind you, but for a hypothetical newbie. I have continued to use
 Mandrake, and have 8.1 running on my little Sony SR7K notebook with an
 802.11b home LAN. (But that was NOT a newbie level task, I can assure
 you!) 

Linux is just another unix clone with not that truely seperates it from any of the 
others... but any ways setting up FreeBSD is simple. Not sure about linux being much 
more like windows than FreeBSD...  /me does not regards niether of them to be any 
thing like windows... the closest thing they have to windows is KDE which looks some 
what like windows in that it has a startbar thing...

 
 My biggest complaint is poor battery life; about an hour. Even less if
 I use Xemacs!
 
 I continue to have doubts about using FreeBSD for my reference
 design. To me it seems like using a cargo ship to go fishing. Okay,
 how about holding school in a sports stadium? Using a deer rifle to
 kill a mouse? A fire hose to fill a water glass?
 
 On the other hand, FreeBSD as a complete OS -- kernel plus ports --
 comes the closest to my ideal. The technology is cutting edge, we
 don't get too tangled up in different versions and feature sets, and
 there is this wonderful community. Most Linux distros have their own
 community of supporters, too, but so often they become, well, so
 passionate.
 
 I would enjoy hearing your opinions on how well FreeBSD supports these
 requirements:
 
 o Long battery life (e.g. automatic CPU speed throttle)

do a man on apm

 o Multi-level power management
 - Full speed
 - Reduced speed
 - Suspend
 - Hibernation

man apm should help

 o 802.11b networking
 - Automatic configuration in a many-access point setting
 - Seamless transition to wired or dial-up connections

http://www.FreeBSD.org/releases/4.7R/hardware-i386.html
moving from connection to connection is easy... never done it with wireless, but have 
done it with ethernet... doing dial-up on freebsd works nicely

 o Digitizer input
 (I have John Joganic's Linux Wacom tablet driver working on my
VAIO)

This is provided by X... goto /usr/X11R6/lib/modules/input and ye will see what input 
stuff there is for the version of X ye have installed
 
 o Handwriting recognition
 (Not really there even in Linux)

does not exist in either, afaik

 Finally, a shameless plug: I am looking for help, so if this sounds
 like something you'd like to participate in please drop me a line and
 visit my mailing list sign-up page.



-kitsune
when asking a fox expect a foxy reply


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



Re: Is there a way to slow down file transfers?

2003-02-14 Thread Robin Damm
On Fri, Feb 14, 2003 at 04:23:19PM -0700, J. Scott Edwards wrote:
 
 I have a remote machine running 4.7 which is streaming audio using
 icecast.  I was hoping to back up the machine by transferring the files to
 my local machine and doing the backup here.  However when I try to copy
 any (non-tiny) files, using scp for example, it floods the network
 connection and messes up the audio stream.  Is there any way I can
 transfer files from it at a much slower rate, something like 1/8 normal?

How about rsync with the --bwlimit switch.

http://rsync.samba.org/ftp/rsync/rsync.html

-- 
Robin Damm [EMAIL PROTECTED]

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



Révélation Construction Pyramides le 20.02.2002 http://www.lenil.com

2003-02-14 Thread NIL
Les quatres méthodes d'édification étaient écrite dans l'alphabet hiéroglyphique. Tous les hiéroglyphes 
ont été décryptés, décodés, et déchiffrés. Sans aucun effort musculaire les blocs arrivaient toutes les 
minutes sur l'édifice. Le 20. 02. 2002 NIL
ALLER VOIR LE SITE :

http://www.lenil.com

une page d'explication vous attend aussi au :

http://www.lenil.com/frenchmail.htm

si vous ne voulez plus recevoir de mail, dites le nous merci

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


using Dummynet to rate limit ftp

2003-02-14 Thread Paul Hamilton
Hi,

I have played around with dummynet a bit.  Very nice!  However, it would be
nice to be able to rate limit ftp.  The control channel port 21 is easy, and
not really necessary to rate limit it, but as fas as I can see there would
be no way to rate limit the data channel, as it could be different every
time, even in passive mode.

Am I missing something?

Cheers,

Paul Hamilton


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



How to get best results from FreeBSD-questions

2003-02-14 Thread Greg Lehey
How to get the best results from FreeBSD questions.
===

Last update 28 January 2002, $Id: Howto-ask-questions,v 1.3 2003/01/28 00:26:41 grog 
Exp $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst other things, it
told you how to unsubscribe.  Here's a typical message:

  Welcome to the freebsd-questions mailing list!

  If you ever want to remove yourself from this mailing list,
  you can send mail to [EMAIL PROTECTED] with the following command
  in the body of your email message:

  unsubscribe freebsd-questions Greg Lehey [EMAIL PROTECTED]

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  FreeBSD-questions.  If that's the case, you'll have to figure out
  which one it is and get your name taken off that one.  If you're
  not sure which one it might be, check the headers of the
  messages you receive from freebsd-questions: maybe there's a
  clue there.

If you've done all this, and you still can't figure out what's going
on, send a message to [EMAIL PROTECTED], and he will sort things
out for you.  Don't send a message to FreeBSD-questions: they can't
help you.

III: Should I ask -questions, -newbies or -hackers?
===

Two mailing lists handle general questions about FreeBSD,
FreeBSD-questions and FreeBSD-hackers.  In 

The Complete FreeBSD, second edition: errata and addenda

2003-02-14 Thread Greg Lehey








  Errata and addenda for the Complete FreeBSD, second edition




  Last revision: 21 June 1999

The trouble with books is that you can't update them the way you can a web page
or any other online documentation.   The  result  is  that  most  leading  edge
computer  books are out of date almost before they are printed.  Unfortunately,
``The Complete FreeBSD'', published by Walnut  Creek,  is  no  exception.   In-
evitably, a number of bugs and changes have surfaced.

The  following  is  a list of modifications which go beyond simple typos.  They
relate to the second edition, formatted on 16 December 1997.  If you have  this
book,  please  check this list.  If you have the first edition of 19 July 1996,
please check ftp://ftp.lemis.com/pub/cfbsd/errata-1. This  same  file  is  also
available via the web link http://www.lemis.com/.

This list is available in four forms:

o A PostScript version, suitable for printingout,at
  ftp://ftp.lemis.com/pub/cfbsd/errata-2.ps. See page 222 of the book  to  find
  out  how  to  print  out  PostScript.   If  at all possible, please take this
  document: it's closest to the original text.

  Be careful selecting this file with a web browser: it is often impossible  to
  reload the document, and you may see a previously cached version.

o An enhanced ASCII version at ftp://ftp.lemis.com/pub/cfbsd/errata-2.txt. When
  viewed with more or less,  this  version  will  show  some  highlighting  and
  underlining.  It's not suitable for direct viewing.

o An  ASCII-only  version at ftp://ftp.lemis.com/pub/cfbsd/errata-2.ascii. This
  version is posted every week to the  FreeBSD-questions  mailing  list.   Only
  take  this version if you have real problems with PostScript: I can't be sure
  that the lack of different fonts won't confuse the meaning.

o A web version at http://www.lemis.com/errata-2.html.

All these modifications have been applied to the ongoing  source  text  of  the
book, so if you buy a later edition, they will be in it as well.  If you find a

 Page 1






The Complete FreeBSD


bug or a suspected bug in the book, please contact me at [EMAIL PROTECTED]

General changes
___


o In a number of places, I suggest the use of the  following  command  to  find
  process information:

  $ ps aux | grep foo

  Unfortunately,  ps  is sensitive to the column width of the terminal emulator
  upon which it is working.  This command usually works fine  on  a  relatively
  wide  xterm,  but if you're running on an 80-column terminal, it may truncate
  exactly the information you're looking for, so you end  up  with  no  output.
  You can fix that with the w option:

  $ ps waux | grep foo

  Thanks to Sue Blake [EMAIL PROTECTED] for this information


Location of the sample files


On  the  2.2.5 CD-ROM only, the location of the sample files does not match the
specifications in the book (/book on the first CD-ROM).  The 2.2.5 CD-ROM  came
out before the book, and it contains the files on the third (repository) CD-ROM
as a single gzipped tar file  /xperimnt/cfbsd/cfbsd.tar.gz.   It  contains  the
following files:

drwxr-xr-x jkh/jkh   0 Oct 17 13:01 1997 cfbsd/
drwxr-xr-x jkh/jkh   0 Oct 17 13:01 1997 cfbsd/mutt/
-rw-r--r-- jkh/jkh 352 Oct 15 15:21 1997 cfbsd/mutt/.mail_aliases
-rw-r--r-- jkh/jkh9394 Oct 15 15:22 1997 cfbsd/mutt/.muttrc
drwxr-xr-x jkh/jkh   0 Oct 17 14:02 1997 cfbsd/scripts/
-rw-r--r-- jkh/jkh   18281 Oct 16 16:52 1997 cfbsd/scripts/.fvwm2rc
-rwxr-xr-x jkh/jkh1392 Oct 17 12:54 1997 cfbsd/scripts/install-desktop
-rw-r--r-- jkh/jkh 296 Oct 17 12:35 1997 cfbsd/scripts/.xinitrc
-rwxr-xr-x jkh/jkh 622 Oct 17 13:51 1997 cfbsd/scripts/install-rcfiles
-rw-r--r-- jkh/jkh1133 Oct 17 13:00 1997 cfbsd/scripts/Uutry
-rw-r--r-- jkh/jkh1028 Oct 17 14:02 1997 cfbsd/scripts/README
drwxr-xr-x jkh/jkh   0 Oct 18 19:32 1997 cfbsd/docs/
-rw-r--r-- jkh/jkh  199111 Oct 16 14:29 1997 cfbsd/docs/packages.txt

Page 2






Errata and addenda for the Complete FreeBSD, second edition


-rw-r--r-- jkh/jkh  189333 Oct 16 14:28 1997 cfbsd/docs/packages-by-category.txt
-rw-r--r-- jkh/jkh  188108 Oct 16 14:29 1997 cfbsd/docs/packages.ps
-rw-r--r-- jkh/jkh  226439 Oct 16 14:27 1997 cfbsd/docs/packages-by-category.ps
-rw-r--r-- jkh/jkh 788 Oct 16 15:01 1997 cfbsd/README
-rw-r--r-- jkh/jkh 248 Oct 17 11:52 1997 cfbsd/errata

To  extract  one  of these files, say cfbsd/docs/packages.txt, and assuming you
have the CD-ROM mounted as /cdrom, enter:

# cd /usr/share/doc
# tar xvzf /cdrom/xperimnt/cfbsd/cfbsd.tar.gz cfbsd/docs/packages.txt

See page 209 for more information on using tar.

These files are an early version of what is described in the book.  I'll put up
some updated 

The Complete FreeBSD, third edition: errata and addenda

2003-02-14 Thread Greg Lehey








  Errata and addenda for the Complete FreeBSD, third edition




 Last revision: 2 August 1999

The trouble with books is that you can't update them the way you can a web page
or any other online documentation.   The  result  is  that  most  leading  edge
computer  books are out of date almost before they are printed.  Unfortunately,
``The Complete FreeBSD'', published by Walnut  Creek,  is  no  exception.   In-
evitably, a number of bugs and changes have surfaced.

The  following  is  a list of modifications which go beyond simple typos.  They
relate to the third edition, formatted  on  17  May  1999.   You'll  find  this
information  on  page  iv  (the  page  before  the  beginning  of  the Table of
Contents).  See the end of this document for instructions on how  to  find  the
errata for an older version.

You can get the current document in four forms:

o A PostScript version, suitable for printingout,at
  ftp://ftp.lemis.com/pub/cfbsd/errata-3.ps. See page 302 of the third  edition
  to  find  out  how  to print out PostScript.  If at all possible, please take
  this document: it's closest to the original text.

  Be careful selecting this file with a web browser: it is often impossible  to
  reload the document, and you may see a previously cached version.

o An enhanced ASCII version at ftp://ftp.lemis.com/pub/cfbsd/errata-3.txt. When
  viewed with more or less,  this  version  will  show  some  highlighting  and
  underlining.  It's not suitable for direct viewing.

o An  ASCII-only  version at ftp://ftp.lemis.com/pub/cfbsd/errata-3.ascii. This
  version is posted every week to the  FreeBSD-questions  mailing  list.   Only
  take  this version if you have real problems with PostScript: I can't be sure
  that the lack of different fonts won't confuse the meaning.

o A web version at http://www.lemis.com/errata-3.html.

All these modifications have been applied to the ongoing  source  text  of  the
book, so if you buy a later edition, they will be in it as well.  If you find a

 Page 1






The Complete FreeBSD


bug or a suspected bug in the book, please contact me at [EMAIL PROTECTED]

Page ii
___

The instructions on page ii (opposite the title  page)  tell  you  to  look  at
ftp://ftp.lemis.com/pub/cfbsd/errata-2  for  the  errata  list.   That's wrong.
Look at this list.

Pages 190 and 191
_

The description is not very clear about which text appears  when  booting  from
floppy  for  initial  install,  and  which  appears when booting normally.  The
procedure is very similar, but there are some differences.  Add  the  following
text after the heading Boot messages:

You'll  boot  your system in at least two different ways: initially you'll boot
from floppy or CD-ROM in order to install the system.  Later, after the  system
is  installed,  you'll boot from hard disk.  The procedure is almost identical,
so we'll look at both versions in the following examples.

Replace the text from the middle of page 191 with:

If you're booting from 1.44 MB floppies, you will then see:

Please insert MFS root floppy and press enter:

When you insert the MFS root floppy and press  Enter,  you  see  more  twirling
batons, then the UserConfig screen appears.

UserConfig: Modifying the boot configuration


After  the  kernel has been loaded, the following screen will appear if you are
installing the system, or if you have requested it with the -c  option  to  the
boot loader:

Page 206


The  bottom  two lines on this page should be in bold constant font, indicating
that this is input for your /etc/rc.config file


Page 2






 Errata and addenda for the Complete FreeBSD, third edition


nfs_client_enable=YES   # This host is an NFS client (or NO).
nfs_server_enable=YES   # This host is an NFS server (or NO).


Page 265


The example on the second half of the page refers to the old SCSI driver.   The
scsi  program  is  no  longer  available  in  FreeBSD  3.x.   Instead,  use the
camcontrol program.  Replace the text with:.

Modern disks make provisions for recovering from such errors by  allocating  an
alternate sector for the data.  IDE drives do this automatically, but with SCSI
drives you have the option of enabling or disabling reallocation.   Usually  it
is  turned on when you buy them, but occasionally it is not.  When installing a
new disk, you should check that the parameters  ARRE  (Auto  Read  Reallocation
Enable)  and AWRE (Auto Write Reallocation Enable) are turned on.  For example,
to check and set the values for disk da1, you would enter:

# camcontrol modepage da1 -m 1 -e -P 3
# scsi -f /dev/rda1c -m 1 -e -P 3

This command will start up your favourite editor (either the one  specified  in
the EDITOR environment variable, or vi by default) with the 

Re: How is the subscription to the list?

2003-02-14 Thread taxman
On Friday 14 February 2003 07:09 pm, Erik Torres Serrano wrote:
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

Well your answer is basically right here   ^
Also any time you have questions at least make an attempt to find your own 
answer by looking around at www.freebsd.org
If you had you would've seen mailing lists right on the main page and some 
links on how to subscribe and what the rules are for the lists.   Also see 
the FAQ and install instructions.
Once you do that, you'll get great responses here,

Tim

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



Re: SAPDB port for FreeBSD

2003-02-14 Thread taxman

On Friday 14 February 2003 03:30 am, Matthew Emmerton wrote:
  I was surprised; there are no SAPDB (www.sapdb.org) in
  http://www.freebsd.org/ports/databases.html list!
  Has someone tried to install SAPDB on FreeBSD? Is it possible to create
 new port?

sure, if it runs on FreeBSD.   Look for the porting handbook.  If you're the 
only one that wants to use it, you may have to do the porting.
 
 I tried about a year or so ago, but gave up.  The SAPDB build tools are
 extremely Linux-centric (they expect a LSB-compliant filesystem layout, and
 it's next to impossible to trick it, as paths are hardcoded everywhere).
 Furthermore, the actual SAPDB product is again, Linux-centric and has all
 the warts that one would expect.
 
 I eventually gave up and just ran it in Linux emulation -- much less effort
 than making a FreeBSD port.

Lots of ports run under linux emulation.  
http://www.freebsd.org/ports/linux.html
Did you get it working well under emulation on FreeBSD?  If so, then it would 
be a good candidate for a port (if anyone wants to use it and do the porting)

Tim



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



PHPA support mail received

2003-02-14 Thread support
Thank you for your email to PHPA support. 
It was received at 02:24 (GMT+) and 
we should respond later today UK time.

Nick

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



GDM error messages

2003-02-14 Thread Tom Parquette
Hi all.  I'm playing with GDM2 and I'm getting the error messages 
included below.  (Gnome2 itself (gnome2-2.0_6) seems to be working OK.) 
Other than the error messages, GDM2 also appears to be working without 
incident.

I can't seem to identify any man pages for GDM or GDM2 and the XFree86 
book from Que is not really helping me.  Can anybody point me in the 
right direction?  
Thanks...

This is a 5.0-RELEASE system.

Error message at FreeBSD boot time:
gdm_config_parse: XDMCP disabled and no local servers defined.  Adding 
/usr/X11R6/bin/X on :0 to allow configuration.

Error message from the GDM2 screen:
No servers were defined in the configuration file and XDMCP was 
disabled.  This can only be a configuration error.  So I have started a 
single server for you.  You should log in and fix the configuration. 
Note that automatic and timed logins are disabled now.

Contents of /usr/X11R6/etc/gdm/gdm.conf (typos are mine ;-)
[daemon]
Greeter=/usr/X11R6/bin/gdmgreeter
AutomaticLoginEnable=false
TimedLoginEnable=false

[greeter]
Use24Clock=true
GraphicalTheme=AMD

[security]
AllowRoot=false
AllowRemoteRoot=false

pkg_info|grep gdm gives me the following:
gdm2-2.4.0.12GNOME 2.0 version of xdm display manager
gdm2-2.4.0.12_1GNOME 2.0 version of xdm display manager
(I was unaware of both 12 and 12_1 being installed until I was typing 
this question.  I do not know the impact of this.)


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


xmessage - where did it go?

2003-02-14 Thread James McNaughton
I tried to upgrade to XFree86-4, only to find that it freezes my
system, even though the video card is supported. So I had to go back
to 3.3.6.

Now, I can't seem to find xmessage (which I used for all kinds of
little things on my desktop). It just isn't there. I installed from a
binary package -- no xmessage. I re-installed by building from ports
-- still no xmessage. I'm wondering if anything else is missing.

Anyone have a clue?

Jim

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



Re: Help! Installation Question

2003-02-14 Thread Bill Moran
Joshua Miner wrote:

I'm using Windows XP. None of the flags seemed to be OS specific.


If you use reply all to the reply to the list, other people can
answer your question if I'm not available or don't know the answer.

I didn't say they were OS-specific.  I said the problem was OS-specific.
The solution is in a combination of flags, the details of which I don't
remember.


From: Bill Moran [EMAIL PROTECTED]
To: Joshua Miner [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: Help! Installation Question
Date: Fri, 14 Feb 2003 16:40:15 -0500

Joshua Miner wrote:


Help!



I am having trouble installing the 5.0 release FreeBSD. I am 
installing it to its own machine and I have completed the following 
steps. I do not have a bootable CD Rom drive (though I do have a CD 
Rom burner), so I have been planning to install from discs. So far I 
have:

1. Formatted two floppy discs.

2. Downloaded kern.flp and mfsroot.flp to my root c: drive (of a 
Windows system)


What kind of Windows (NT, 2000, 95?)
I seem to remember a good bit of trouble getting fdimage to work
on certain hardware under Windows NT (although it's been a while).
fdimage has a number of command line switches ... one of them
solved the problem.  I seem to remember something about single-
sector writing or something (it's been a while)
Don't know if this is your problem or not, but report the OS that
you're creating the images from, and check out 'fdimage /?' (I
believe) will give you a list of switches and their meanings.



3. Downloaded fdimage to my root c: drive (of a Windows system)

4. Copied kern.flp from the Windows DOS emulator with the command: 
fdimage kern.flp a:

5. Copied mfsroot.flp from the Windows DOS emulator with the command: 
fdimage mfsroot.flp a:

6. I turned on the machine to which I will install the OS and ensured 
that floppy disks were the primary boot mechanism in the setup menu.

7. When I restart the machine with the kern.flp or the mfsroot.flp in 
the disk drive I get the message “Insert bootable media in the 
appropriate drive.”



--
Bill Moran
Potential Technologies
http://www.potentialtech.com



_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail





--
Bill Moran
Potential Technologies
http://www.potentialtech.com


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



Re: Is there a way to slow down file transfers?

2003-02-14 Thread Bill Moran
J. Scott Edwards wrote:

I have a remote machine running 4.7 which is streaming audio using
icecast.  I was hoping to back up the machine by transferring the files to
my local machine and doing the backup here.  However when I try to copy
any (non-tiny) files, using scp for example, it floods the network
connection and messes up the audio stream.  Is there any way I can
transfer files from it at a much slower rate, something like 1/8 normal?


You could use IPFW's traffic shaper stuff (assuming you have IPFW and
dummynet in your kernel ... although I think you might be able to load
both of these as a kld nowadays)

Something like:
ipfw add pipe 1 tcp from any to any 22
ipfw add pipe 1 tcp from any 22 to any
ipfw pipe 1 config bw 300Kbit/s
Would limit total ssh traffice to 300Kbit/second.

Read 'man ipfw' for extensive explanation of ipfw's and dummynet's
capabilities.  And don't be afraid to ask specific questions, getting
the hang of ipfw rules takes a bit of work.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com


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



Re: need some sendmail help

2003-02-14 Thread Giorgos Keramidas
On 2003-02-14 17:11, Jack L. Stone [EMAIL PROTECTED] wrote:
 Giorgos: As a refresher, below are the /etc/defaults/rc.conf
 Unless, the /etc/rc.conf overrides, these turn on as stated. Based on the
 below, what is not turned on???
 [...]
 sendmail_enable=YES   # Run the sendmail inbound daemon (YES/NO/NONE).
 sendmail_submit_enable=YES# Start a localhost-only MTA for mail submission
 sendmail_outbound_enable=YES  # Dequeue stuck mail (YES/NO).
 sendmail_msp_queue_enable=YES # Dequeue stuck clientmqueue mail (YES/NO).

The defaults are a bit different in STABLE vs. CURRENT (note
sendmail_enable=NO).  In my CURRENT installation, the defaults are:

   sendmail_enable=NO # Run the sendmail inbound daemon (YES/NO).
   sendmail_submit_enable=YES # Start a localhost-only MTA for mail 
submission
   sendmail_outbound_enable=YES   # Dequeue stuck mail (YES/NO).
   sendmail_msp_queue_enable=YES  # Dequeue stuck clientmqueue mail (YES/NO).

Well, anyway...
The rc.sendmail script supports the following setups:

Setup 1. Sendmail accepts mail both on localhost:25 and over the
network at address:25 ports.

When you set sendmail_enable=YES, it overrides two rc.conf
variables, sendmail_submit_enable and sendmail_outbound_enable.
A sendmail process is started with /var/spool/mqueue as the
queue directory, and mail accepted over a connection to port
25 is delivered as usual through the /var/spool/mqueue queue.

You have to also sendmail_msp_queue_enable=YES too in this
case, to allow local users to deliver mail to Sendmail over an
SMTP connection to localhost:25, or use a cron job.  The MSP
queue runner does *NOT* listen on any port, but runs
periodically dequeueing mail from /var/spool/clientmqueue and
passing it to the localhost:25 daemon (or any other host that
you have configured in your submit.mc config file).

Alternatively, you can keep sendmail_msp_queue_enable set to
NO, and use a crontab entry to dequeue mail from clientmqueue
by running:

sendmail -q -Ac

Note that you still have to create a valid submit.cf file,
even if you use cron to dequeue mail from clientmqueue.

Suggested rc.conf entries:
-
sendmail_enable=YES
sendmail_msp_queue_enable=YES
-

2. Sendmail accepts mail only over a connection to port 25 of the
localhost interface.

To make this work as expected, sendmail_enable should be NO
and at the same time sendmail_submit_enable should be yes.
Sendmail will start, but listen only on localhost:25 and use
/var/spool/mqueue for mail that is received over an smtp
connection to the localhost:25 port.

This is a very nice setup for dialup users who don't want
their Sendmail daemon to listen on any other interface;
just loopback.  Delivery of outgoing mail still works like a
charm, since the daemon started by sendmail_submit_enable will
periodically flush /var/spool/mqueue and send mail out.

An MSP queue runner or cron job is needed in this sort of
setup too.  See above.

Suggested rc.conf entries:
-
sendmail_enable=NO
sendmail_submit_enable=YES
sendmail_msp_queue_enable=YES
-

3. Sendmail doesn't accept any sort of mail over smtp.  It only runs
   the queue /var/spool/mqueue periodically.

This is what sendmail_outbound_enable=YES is most useful for.
There are two ways to do this.  One of them is with a setuid
sendmail process, and one without.

3.a. Setuid-root sendmail process

 Follow the instructions in /etc/mail/README for
 changing back to a setuid-root Sendmail setup:

chown root /usr/libexec/sendmail/sendmail
chmod 4755 /usr/libexec/sendmail/sendmail
rm /etc/mail/submit.cf

3.b. Non-setuid root Sendmail process

 A bit tricky; you have to manually copy sendmail.cf to
 submit.cf and set DeliveryMode=queue in submit.cf.  This
 is a setup that I haven't tested a lot, but I'll have
 some time this weekend.

Note: You can not use a clientmqueue runner with this sort of
setup, because there is no daemon on localhost:25 to receive
the connections from the clientmqueue runner.

Suggested rc.conf entries:
-
sendmail_enable=NO
sendmail_submit_enable=NO

Re: how to delete a file called ????

2003-02-14 Thread parv
in message [EMAIL PROTECTED],
wrote Matthew Hunt thusly...

 On Wed, Feb 12, 2003 at 02:21:43PM -0500, parv wrote:
 
   find . -inum $( /bin/ls -i | fgrep '?' | awk '{print $1}' ) -print0 \
   | xargs -0 rm -f
 
 I'm going to go out on a limb and guess that the filename does not really
 consist of question marks, but rather of unprintable characters that ls
 displays as '?'.

Hey, OP said that file name consisted of '?'.  W/o access to OP's
system or due to lacking output of (something like) ls -B (FreeBSD
4.7-Release), i rather not guess what-could-be.  Me no fs (or
people) mind reader.

Then again i did write something like before the proposed
solution (which you omitted from the quote).

:)


 I recommend finding the inode number of the offending file:
 
 $ ls -li
 total 1
 1238024 -rw-rw-r--  1 mph  mph  1 Feb 12 12:07 ?
 
 The inode number in this case is 1238024.  Then you can double-check and
 delete it with find:
 
 $ find . -inum 1238024 
 ./+
 $ find . -inum 1238024 -delete

Exactly my point: use find -inum to find the offending file(s)  deal
w/ it(them) as appropriate.


  - parv

-- 


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



Re: Alpha and Unaligned access errors.

2003-02-14 Thread Kris Kennaway
On Fri, Feb 14, 2003 at 10:54:40AM -0600, Eric Six wrote:

 Messages whenever I do a ipfw -* commands. I know I can add a
 unaligned_print=NO to rc.conf to stop these errors, but what I am
 wondering is: Is this normal or is this a sign of a software problem with
 ipfw?

It's a code problem which no-one has bothered to fixed.

Kris



msg19428/pgp0.pgp
Description: PGP signature


Re: Alpha and Unaligned access errors.

2003-02-14 Thread YOU

Just a note,

I used to run a 1000a on DU 4.0 up to 5.0 and had those as well. It had to
do with a library I was compiling against and usually didn't cause any
damage that I was aware of.

R.

On Fri, 14 Feb 2003, Kris Kennaway wrote:

 On Fri, Feb 14, 2003 at 10:54:40AM -0600, Eric Six wrote:
 
  Messages whenever I do a ipfw -* commands. I know I can add a
  unaligned_print=NO to rc.conf to stop these errors, but what I am
  wondering is: Is this normal or is this a sign of a software problem with
  ipfw?
 
 It's a code problem which no-one has bothered to fixed.
 
 Kris
 


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



Re: Help with Kerberos 5 setup

2003-02-14 Thread Tillman
On Thu, Feb 13, 2003 at 09:54:33PM -0800, La Temperanza wrote:
 Thanks, your PDF helped me get k5su up and running. Now can you help me switch
 my console login service to Kerberos? :) I don't quite get the man pages for PAM
 and am worried about locking myself out of my system if I do something wrong.

Step number 1: log in a different virtual console and leave it logged
in. This console is known as insurance ;-)

It's really not that hard with a fairly recent FreeBSD ... there should
be a pam_krb5 already in there (but commented out).

pam.conf is broken into sections, corresponding to the different
services that might require authentication. The first block in the
pam.conf is for the console login service. Try uncommenting the pam_krb5
line and logging in on a third virtual service.

I'm not actually using pam for services other than console login - while
pam is great for centralizing authentication, it doesn't magically add
encryption of the data stream to the various service daemons (the MIT
kerberoos -x switch for most app's). You'll needs service daemons that
specifically support that.

Hmmm. Now that I think about it, with Heimdal in the base install, the
normal daemons /might/ actually do that. It doesn't apply to me as I'm
use MIT krb5, but it'd be worth investigating if you're using the
heimdal in the base install.

- Tillman


-- 
Simplicity is the most difficult thing to secure in this world; it is the last
limit of experience and the last effort of genius.
George Sand

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



Alpha and Unaligned access errors.

2003-02-14 Thread Eric Six
Et All,

I am running 5.0-release on axp. Using ipfw I am getting alot of:

pid 643 (ipfw): unaligned access: va=0x1200a80b4 pc=0x120001780
ra=0x120001764 op=ldq
pid 643 (ipfw): unaligned access: va=0x1200a80bc pc=0x120001784
ra=0x120001764 op=ldq
pid 643 (ipfw): unaligned access: va=0x1200a8104 pc=0x120001780
ra=0x120001764 op=ldq
pid 643 (ipfw): unaligned access: va=0x1200a810c pc=0x120001784
ra=0x120001764 op=ldq

Messages whenever I do a ipfw -* commands. I know I can add a
unaligned_print=NO to rc.conf to stop these errors, but what I am
wondering is: Is this normal or is this a sign of a software problem with
ipfw?

TIA
Eric Six

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



Re: need some sendmail help

2003-02-14 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-02-14 03:51:22 +0200:
 On 2003-02-13 20:38, Andrew Y Ng [EMAIL PROTECTED] wrote:
  On  0, Giorgos Keramidas [EMAIL PROTECTED] wrote:
   On 2003-02-13 15:21, Andrew Y Ng [EMAIL PROTECTED] wrote:
this might seem stupid, but for some reasons on one of my servers
running freebsd -stable, mail just doesn't work, I keep seeing:
   
Feb 13 14:16:52 ngbert sendmail[50411]: h1DKGqL1050411: to=ayn,
ctladdr=ayn (1001/1001), delay=00:00:00, xdelay=00:00:00,
mailer=relay, pri=30023, relay=localhost.my.domain., dsn=4.0.0,
stat=Deferred: Connection refused by localhost.my.domain.
  
   - What sendmail_xxx_enable options have you turned on in /etc/rc.conf?
 
  ayn@NGBERT:/etcgrep sendmail rc.conf
  sendmail_enable=YES
 
 This is where the problem lies.
 
 You have only enabled mail submission through a network connection to
 port 25, but not submission of mail from local users.  I suggest that
 you read at least /etc/mail/README and the rc.sendmail(8) manpage.

Hi Giorgos,

it was always my understanding that sendmail_enable=YES will turn
Sendmail on wholesale: commandline submits, inbound, outbound.

rc.sendmail(8) certainly doesn't counter that interpretation, and
reading /etc/defaults/rc.conf and /etc/rc.sendmail confirms it...

Or I'm reading it wrong, which is more than possible.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



Cat.

2003-02-14 Thread Charlie ROOT

Hi.
If I will have a command running lets say every 5th hour, how do I typ??
the command is:

cat resolv.conf  /etc/resolv.conf

Thanks.

// Per


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



Re: Cat.

2003-02-14 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-02-14 18:40:50 +0100:
 
 Hi.
 If I will have a command running lets say every 5th hour, how do I typ??
 the command is:
 
 cat resolv.conf  /etc/resolv.conf

see crontab(1) and crontab(5)

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



Re: NVidia vs FreeBSD 5.0

2003-02-14 Thread Antoine Jacoutot
On Friday 14 February 2003 11:45, Valentin Al. Sitnick wrote:
 I have problem with installation FreeBSD 5.0 to my PC because I have
 NVidia MX440 SE-T videocard. The original drivers from NVidia.com cannot
 be installed for this FreeBSD Version.
 Is there decission of this problem?

Yes, use the nv driver included in XFree86.

Antoine


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



Re: NVidia vs FreeBSD 5.0

2003-02-14 Thread Bruce Cran
On Fri, Feb 14, 2003 at 12:22:25PM +0100, Antoine Jacoutot wrote:
 On Friday 14 February 2003 11:45, Valentin Al. Sitnick wrote:
  I have problem with installation FreeBSD 5.0 to my PC because I have
  NVidia MX440 SE-T videocard. The original drivers from NVidia.com cannot
  be installed for this FreeBSD Version.
  Is there decission of this problem?
 
 Yes, use the nv driver included in XFree86.


Is there any news about a new driver for FreeBSD?   I'm guessing they're
waiting for XFree86 4.3 now, but that 'initial beta' driver has been out
for a few months, so does anyone know if there's any work going on inside
NVidia on getting a 5.0-CURRENT or 5.0-RELEASE driver released?

Bruce

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



Re: Cat.

2003-02-14 Thread Bill Moran
Charlie ROOT wrote:

Hi.
If I will have a command running lets say every 5th hour, how do I typ??
the command is:

cat resolv.conf  /etc/resolv.conf


The information you are looking for is in the crontab manpage (as someone
else pointed out)

Although I'd like to point out an alternative.  Any program that I know
of that modifies /etc/resolv.conf (such as dhclient) can be configured
to _not_ modify /etc/resolv.conf.  If you're trying to do this to over-
ride some daemon updating resolv.conf, consider properly configuring
that daemon first.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com


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



Re: Question

2003-02-14 Thread Toomas Aas
 I 'm working under linux platform (redhat advanced server with 20 web server
 computers): i'm wondering if i should use freebsd, what are his advantages ?
 Fiability ? Performances ? Network gestion ?

Advocacy aside, if things work fine wit RH then why change?
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* Jesus has changed your life. Save changes (Y/N)?


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



Re: Alpha and Unaligned access errors.

2003-02-14 Thread Kris Kennaway
On Fri, Feb 14, 2003 at 02:33:36PM -0700, YOU wrote:
 
 Just a note,
 
 I used to run a 1000a on DU 4.0 up to 5.0 and had those as well. It had to
 do with a library I was compiling against and usually didn't cause any
 damage that I was aware of.

I believe the only problem is a performance loss in the code that
performs the unaligned access.

Kris



msg19466/pgp0.pgp
Description: PGP signature


Re: need some sendmail help

2003-02-14 Thread Giorgos Keramidas
On 2003-02-14 18:08, Roman Neuhauser [EMAIL PROTECTED] wrote:
 # [EMAIL PROTECTED] / 2003-02-14 03:51:22 +0200:
  You have only enabled mail submission through a network
  connection to port 25, but not submission of mail from local
  users.  I suggest that you read at least /etc/mail/README and
  the rc.sendmail(8) manpage.

 Hi Giorgos,

 it was always my understanding that sendmail_enable=YES will turn
 Sendmail on wholesale: commandline submits, inbound, outbound.

Not really.  sendmail_enable=YES turns on only the non-localhost
daemon.

Note that I was wrong in my previous post, but for a different reason.
Since /etc/defaults/rc.conf sets sendmail_xxx_enable=YES, the
dequeueing of local mail will be automatically enabled.

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



Re: need some sendmail help

2003-02-14 Thread Jack L. Stone
At 12:41 AM 2.15.2003 +0200, Giorgos Keramidas wrote:
On 2003-02-14 18:08, Roman Neuhauser [EMAIL PROTECTED] wrote:
 # [EMAIL PROTECTED] / 2003-02-14 03:51:22 +0200:
  You have only enabled mail submission through a network
  connection to port 25, but not submission of mail from local
  users.  I suggest that you read at least /etc/mail/README and
  the rc.sendmail(8) manpage.

 Hi Giorgos,

 it was always my understanding that sendmail_enable=YES will turn
 Sendmail on wholesale: commandline submits, inbound, outbound.

Not really.  sendmail_enable=YES turns on only the non-localhost
daemon.

Note that I was wrong in my previous post, but for a different reason.
Since /etc/defaults/rc.conf sets sendmail_xxx_enable=YES, the
dequeueing of local mail will be automatically enabled.


Giorgos: As a refresher, below are the /etc/defaults/rc.conf
Unless, the /etc/rc.conf overrides, these turn on as stated. Based on the
below, what is not turned on???

###  Mail Transfer Agent (MTA) options  ##
##

mta_start_script=/etc/rc.sendmail
# Script to start your chosen MTA, called by /etc/rc.
# Settings for /etc/rc.sendmail:
sendmail_enable=YES   # Run the sendmail inbound daemon (YES/NO/NONE).
# If NONE, don't start any sendmail processes.
sendmail_flags=-L sm-mta -bd -q30m # Flags to sendmail (as a server)
sendmail_submit_enable=YES# Start a localhost-only MTA for mail
submission
sendmail_submit_flags=-L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost
# Flags for localhost-only MTA
sendmail_outbound_enable=YES  # Dequeue stuck mail (YES/NO).
sendmail_outbound_flags=-L sm-queue -q30m # Flags to sendmail (outbound
only)
sendmail_msp_queue_enable=YES # Dequeue stuck clientmqueue mail (YES/NO).
sendmail_msp_queue_flags=-L sm-msp-queue -Ac -q30m
# Flags for sendmail_msp_queue daemon.

Best regards,
Jack L. Stone,
Administrator

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

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



Is there a way to slow down file transfers?

2003-02-14 Thread J. Scott Edwards

I have a remote machine running 4.7 which is streaming audio using
icecast.  I was hoping to back up the machine by transferring the files to
my local machine and doing the backup here.  However when I try to copy
any (non-tiny) files, using scp for example, it floods the network
connection and messes up the audio stream.  Is there any way I can
transfer files from it at a much slower rate, something like 1/8 normal?

Thanks
  -Scott



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



NVidia vs FreeBSD 5.0

2003-02-14 Thread Valentin Al. Sitnick
Hi!

I have problem with installation FreeBSD 5.0 to my PC because I have 
NVidia MX440 SE-T videocard. The original drivers from NVidia.com cannot
be installed for this FreeBSD Version.
Is there decission of this problem?

Thanx, Valentin.

-- 

Valentin Al. Sitnick
Software Engineer
Russia, Moscow
Phones: +7(095)363-9665 ext.307
+7(095)507-9538 mobile
MailTo: [EMAIL PROTECTED]
[EMAIL PROTECTED] (private)

Ich wunsche Ihnen einen guten Tag !


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



Re: [XFree86] helping setting up dvi connections, Please!

2003-02-14 Thread Mark Vojkovich
On Thu, 13 Feb 2003, KroNiC~BSD wrote:

 Has anyone been able to get a geforce 4 dvi output working with xfree86? 
 I want to connect my flat panel to my freebsd 4.7 machine via DVI-D.
 
 Thanks in advance.


   I assume you're refering to the nv driver.   You'll need a newer
server as the nv driver didn't support DVI in any of the official
XFree86 versions.  Try one of the 4.2.99.x snapshots on ftp.xfree86.org and
put Option FlatPanel in the Section Device of the XF86Config file.


Mark.

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



Re: SMP on Proliant 5500

2003-02-14 Thread Greg 'groggy' Lehey
On Friday, 14 February 2003 at 19:53:51 -0800, vizion communication wrote:
 Hi

 Here is the system:

 Compaq Proliant 5500
 Quad Xeon 500Mhz
 Booting from Compaq Smart Raid configured to give 3 virtual
 drives
 JBOD on seperate adaptec SCSI 2 PCI card
 Fibre Channel Array 1.2T
 Adaptec AHA 6944A/TX 4 port PCI 10/100
 NVidia PCI TNT2 M64 32M Video card - working fine  after a
 struggle - configured as vesa vesa!
 Built in ATI Rage IIc (DISABLED) on standard peripheral
 interface
 FreeBSD 4.7

 My first attempt at configuring this system for SMP was a
 total failure!! I lost my original configuration
 as I was unable to re-start successfully with kernel.old. I
 have successfully rebuilt the configuration as single
 processor and am ready to have another go to build as SMP.
 Before doing so some handholding advice would be very
 welcome. I have not been able to find guidance for building
 an SMP kernel but I have no doubt not been looking in the
 right place!! I have looked at the LINT file  commented
 out:

 cpu I386_CPU
 cpu I486_CPU

 and then added the lines
 options  SMP
 options  APIC_IO

 is there anything else I need to do prior to making the
 kernel?

That should be enough, but you should start from the GENERIC config
file, not the LINT config file.  As it says at the top of LINT:

# NB: You probably don't want to try running a kernel built from this
# file.  Instead, you should start from GENERIC, and add options from
# this file as required.

 Also if there is someone with a similar system who could send me a
 copy of a successful kernel conf file I would be most grateful

You've pretty much defined it.

Greg
--
See complete headers for address and phone numbers



msg19476/pgp0.pgp
Description: PGP signature


Re: xmessage - where did it go?

2003-02-14 Thread James McNaughton
Jon Hamilton [EMAIL PROTECTED] writes:

 James McNaughton [EMAIL PROTECTED], said on Fri Feb 14, 2003 [09:21:35 PM]:
 } I tried to upgrade to XFree86-4, only to find that it freezes my
 } system, even though the video card is supported. So I had to go back
 } to 3.3.6.
 } 
 } Now, I can't seem to find xmessage (which I used for all kinds of
 } little things on my desktop). It just isn't there. I installed from a
 } binary package -- no xmessage. I re-installed by building from ports
 } -- still no xmessage. I'm wondering if anything else is missing.
 } 
 } Anyone have a clue?
 
 Port:   xmsg-1.0
 Path:   /usr/ports/x11/xmsg
 Info:   The X11R4 version of xmessage updated for X11R5 and renamed
 
Thanks for the info.

I noticed that the commands I'm looking for, like xman, xfontsel, et
al are in the XFree86-clients packaage. Can these be compiled under X
3.3.6 or are they specific to 4.2.0?

 
 -- 
 
Jon Hamilton 
[EMAIL PROTECTED]

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



Re: SMP on Proliant 5500

2003-02-14 Thread vizion communication
Thank you Greg for for the help..

I expressed myself rather badly - what I should have said
was I looked at LINT for guidance as to how I should amend
generic!!!

So OK - it looks as though I have read it correctly. The
first time I now recollect I failed to comment out the I386
I486 lines so I guess that was what caused the failure!!

I will check for any further comments in the morning, do the
make and report results

David
- Original Message -
- Original Message -
From: Greg 'groggy' Lehey [EMAIL PROTECTED]
To: vizion communication [EMAIL PROTECTED]
Cc: FreeBSD Questions [EMAIL PROTECTED]
Sent: Friday, February 14, 2003 10:08 PM
Subject: Re: SMP on Proliant 5500



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



New release

2003-02-14 Thread Jack Raats
When will the tree be frozen?
The release scheme on
http://www.freebsd.org/releases/4.8R/schedule.html
is not uptodate

Can anyone give a clue?

Jack


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



Re: need some sendmail help

2003-02-14 Thread Kjell
 PS:
 If you're about to ask ``Why isn't all this in the Handbook already?''
 suffice it to say that I've been experimenting and reading about
 Sendmail a lot the past few weeks.  I'm trying now to collect all the
 notes from the mess I have in my bedroom and sit my lazy *ss down to
 write a new Sendmail chapter for the Handbook.
 
Thank you for your fine writeup!

For some time I have been struggling to set up a network with the 
following configuration: 2x R4.7p4s and 1x W2k boxes on the local LAN 
and a R4.6 box as the gateway to the world on a ADSL line. A 
registered domain is pointing to my fixed IP address. All boxes can 
exchange mail on the LAN, send mail to the wide world and fetch mail 
using fetchmail. But mail to my registered domain seems to go to 
device zero. I am left with questions like what is the difference in 
sendmail configuration between the LAN PCs and the gateway PC? 
How can I check that my ISP has me set up properly for resolving 
reverse lookups? My MX records at zoneedit.com? Will my ISPs mail 
server cooperate?
When you write the new Handbook chapter I hope you will keep the 
home user in mind and cover some of my points. And of course, if you 
should have any references that I should consult, I would appreciate any 
pointer!
Thank you from Kjell



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