Re: Install Freebsd 5.4

2007-03-09 Thread Andreas Rudisch
On Thu, 08 Mar 2007 16:46:49 +0100, Thomas H. Bellus [EMAIL PROTECTED]  
wrote:


I have not been able to see the screens for configuring X for my monitor  
or

video card. I have ver 5.4, I have used both the standard install and the
custom install. I have used the most recent install documents on the
internet and I have a copy of Complete BSD by Greg Lehey.


I am new to BSD but I want to get this install to work. I can not get
anytype of graphical interface.


1.) Why do you not install FreeBSD 6.2 if you are new?
2.) read http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html

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


logout from gnome panel stops responding.

2007-03-09 Thread Anuj Singh

Hello,
I am using
6.2-RELEASE FreeBSD 6.2-RELEASE
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/GENERIC
i386
while using gnome when i click on logout it (logout panel only) stops
responding, and i need to Force quit, same thing is happening with my gaim.
It crashes. Is anyone facing the same problem? How to trace/fix it? This
problem causing me to use linux more. I want to use FreeBSD as main. But
with Gnome crashing few utilities I am unable to use it all the time.
With FreeBSD 6.1 I faced no such problem.
thanks and regards
anugunj anuj
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Kill a hanged disk i/o process...

2007-03-09 Thread Nikos Vassiliadis
On Thursday 08 March 2007 13:49, Modulok wrote:
 To the best of my knowledge, most processes can be killed explicitly
 by kill -s KILL; There are a few which cannot, such as disk i/o
 processes. The idea here is data integrity.

A process might be in cannot-be-killed condition while
in kernel e.g. during a system call. That has to do with
the completion of the system call, not with data integrity.
The kernel tries to complete what was asked for.

Also, Killing a process with SIGKILL is far from safe. To put
it in another way data integrity can be guaranteed only
by the program itself. For example it could have a defined
behavior when it is signaled by e.g. SIGTERM, for example
clean up data and exit. Or not. It's up to the programmer.
Sending a SIGKILL will not give that chance. SIGKILL can
not be handled. It will be terminated as soon as possible.

Also, separate the meanings data integrity and filesystem
data integrity. The filesystem will be in fine condition when
a process gets killed by SIGKILL during file I/O, the data in
the file most probably not.

 
 On the rare occasion however, (when attempting to recover data from
 corrupt disks for example), I've had a process invoked by the cp
 command, hang. This poses a significant problem as these processes are
 disk i/o processes, and as such cannot be terminated (even by root).
 So, other than physically hitting the reset button on the case, is
 there a more eloquent method of forcefully halting a hanged disk i/o
 process? The idea of you don't want to terminate a disk i/o process,
 it could corrupt the data isn't really a good argument, because if
 the process hangs and I have to punch the reset button anyway what's
 the difference?

Pressing the button will leave your filesystem in a undefined state,
you are risking filesystem integrity. Keep in mind that while in use
(open files etc) a filesystem cannot be unmounted. Anyway, try to shut
the computer down, it's far more gentle than pressing the button. At
least the rest of the filesystems will be cleanly unmounted.

Is there something in particular you want to achieve?

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


Re: FreeBSD Torrent Server

2007-03-09 Thread cpghost
On Thu, Mar 08, 2007 at 10:43:01AM +0100, Oliver Fromme wrote:
 cpghost wrote:
   On Wed, Mar 07, 2007 at 05:20:50PM +0100, Oliver Fromme wrote:
That's pure speculation (and quite paranoid).  The daemon
image is still visible on many FreeBSD.org web pages.
In fact, no less pages than before the contest, and there
is no indication that it might change.
   
   However, you've dropped it in favor of the sextoy on the
   FreeBSD 6.2 DVD case cover (Lehmanns/GUUG, Jan. 2007).
 
 That was the decision of the designers at the marketing
 department of Lehmanns (I'm only responsible for the text
 on the back of the box, not for the overall design).
 Those people have near zero technical nor historical
 knowledge about FreeBSD.
 
   Sure, it's not an
   official DVD, but it does appear in bookstores and is often
   the first encounter by newbies to FreeBSD :-(.
 
 I wish it was.  :-(
 
 In fact, the past issues of the Lehmanns edition of FreeBSD
 (including the ones where there still was a large Beastie
 on the front of the box) had rapidly decreasing sales
 numbers.  It's probably because many people now have fast
 internet access (cable, DSL, whatever) and prefer to down-
 load the ISOs and packages instead of buying a DVD-ROM.
 
 We were lucky that the GUUG agreed to sponsor the 6.2
 issue, otherwise Lehmanns would have been forced to stop its
 support of FreeBSD, and the DVD for 6.2-Release would not
 exist today.  I have no idea what will happen with 6.3 ...
 If nobody buys 6.2, then it's probably the last one.

It's obviously the same problem that Walnut Creek faced back
then, when bandwidth was large enough for CD ISOs. That's
very unfortunate, because having FreeBSD CD/DVDs in bookstores
definitely helps getting more exposure. 1 out of 3 FreeBSD
users I know first learned about FreeBSD in a bookstore as
they bought one of the earlier Walnut Creek CD cases.

Good luck with the 6.2 DVD! :)

 Best regards
Oliver
 
 PS:  For people who don't know at all what we're talking
 about, here's a link:
 
 http://www.lob.de/cgi-bin/out?isbn=3865411886
 
 The page text is in German, I'm afraid, but at least you
 can see the picture of the DVD box (front side only,
 though).

Regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Package missing

2007-03-09 Thread Olivier Vimont
The pdflib binary package which is needed by gnuplot-4.0 is missing on 
the AMD64 port of the 6.2 release in th ftp site

Thanks if you can restore it
Regards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


fetch - size of remote file is not known

2007-03-09 Thread David Schulz

Hello all,

Viewing a certain Url results in a dynamically generated .png graph  
being displayed in my Browser. I would like to fetch this Graph.png  
via Command-line, but  a simple


fetch https://www.domain.com/grapher/chart.php? 
graphid=1stime=mmddhhmmperiod=7200from=0width=-108


wont do, and results in an Error as below:

fetch https://www.domain.com/grapher/chart.php? 
graphid=1stime=mmddhhmmperiod=7200from=0width=-108: size of  
remote file is not known


Is there a way i can force fetch to get that Graph, even when it  
doesnt know the size beforehand, or do you have another simple idea  
(no extra ports if at all possible) to get that Graph from Command-line?


Thanks a lot and best regards,
David
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: syncing user passwd information between servers

2007-03-09 Thread dex
Doesn't NIS have an 8 character limit on usernames?
  

-Original Message-
From: Garrett Cooper [EMAIL PROTECTED]
Date: Thu, 08 Mar 2007 21:07:59 
To:freebsd-questions@freebsd.org
Subject: Re: syncing user passwd information between servers

Noah wrote:
 see more questions below?
 
 Daniel Marsh wrote:
 On 3/9/07, Noah [EMAIL PROTECTED] wrote:

 Hi,

 I am trying to figure out the Best admininstrative way to do the
 following:

 We have two FreeBSD 6.2 servers and want to keep the passwd files in
 sync so all the same users can log into each machine, their UID's match,
 and when the update the password on one machine the other machine gets
 the password.  When we add the user to one machine then the other
 machine has an additional user too.

 What is the best scheme that we can devise to get this working
 technically well?

 Cheers,


 A couple of things can be done...
 The first, and longest existing method would be to use NIS between the 
 two
 machines where one machine acts as a server, the other as a client to 
 that
 server, if the server goes down, no-one can login. (I havn't 
 investigated in
 backup NIS servers as I don't like NIS)

 
 yeah NIS does not feel like the right direction
 
 
 The other option would be using LDAP (OpenLDAP), you'll install 
 OpenLDAP on
 both servers, one will act as a master, the other as a slave, each 
 machine
 will login against the ldap database running locally.
 The master ldap will replicate to the slave to keep any user changes 
 in tact
 and up to date.
 You'll need to install the pam_ldap and nss_ldap ports and may want to 
 use
 LDAP Account Manager (runs via PHP on Apache) to manage the user 
 accounts.
 
 
 so the users would not be locked out of the second server if the master 
 LDAP server goes down, right?
 
 cheers,
 
 Noah
 
 
 

 Another option may be to use a versioning system, one machine has a
 versioning repository, you import /etc/ into the versioning system 
 (CVS or
 Subversion), when you make a change on a server to passwd's etc... you
 commit the change and check it out on the other machine, maybe even 
 making
 use of merging changes so if two people, one on each machine, change 
 their
 passwords and they both commit you don't lose one of the password 
 changes.

As was suggested to me about 4-5 months ago (may want to look in the 
archives), the best means to ensure user account info is synced is to 
use NIS (for credentials, like users, groups, NIS domain info, etc) and 
LDAP/Kerberos (authentication, passwords, etc).

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

RE: Help needed syncing Palm Treo 650 with FreeBSD

2007-03-09 Thread Harrison Peter CSA BIRKENHEAD
Date: Fri, 09 Mar 2007 07:24:40 +0100
From: Aniruddha [EMAIL PROTECTED]
Subject: Help needed syncing Palm Treo 650 with FreeBSD
To: freebsd-questions@freebsd.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I am trying to get my Palm Treo sync with Jpilot. Unfortunately so far 
without results :-( . Who can help me with this? Here's what I tried so far:

Added this line to etc/usbd.conf just above the fallthrough entry:
/
device Palm
   devname  ucom[0-9]*
   attach chmod 0666 /dev/ucom* /dev/ttyU* /dev/cuaU*/

/kldload ucom
kldload uvisor
/
Filled in this 'adress' in jpilot:

//dev/ttyU0/


You may want to check out devfs.rules(5) for changing permissions on hotplug 
devices.

That said, I do use a similar entry in usbd.conf to spawn pppd when I connect 
my Tungsten E. With that I find I need to add a sleep 2; to the beginning of 
the 'attach' line or the following command fails because the device nodes 
aren't set up quickly enough.

HTH.

Peter Harrison 

**
This document is strictly confidential and is intended only for use by the 
addressee. 
If you are not the intended recipient, any disclosure, copying, distribution or 
other 
action taken in reliance of the information contained in this e-mail is 
strictly prohibited.
Any views expressed by the sender of this message are not necessarily those of 
the Department 
for Work and Pensions.
If you have received this transmission in error, please use the reply function 
to tell us 
and then permanently delete what you have received.
Please note: Incoming and outgoing e-mail messages are routinely monitored for 
compliance 
with our policy on the use of electronic communications.
**


The original of this email was scanned for viruses by Government Secure 
Intranet (GSi)  virus scanning service supplied exclusively by Cable  Wireless 
in partnership with MessageLabs.
On leaving the GSI this email was certified virus free.
The MessageLabs Anti Virus Service is the first managed service to achieve the 
CSIA Claims Tested Mark (CCTM Certificate Number 2006/04/0007), the UK 
Government quality mark initiative for information security products and 
services.  For more information about this please visit www.cctmark.gov.uk
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fetch - size of remote file is not known

2007-03-09 Thread David Schulz

ok this is fixed. It actually was a permission problem. sorry

On Mar 9, 2007, at 7:45 PM, David Schulz wrote:

fetch https://www.domain.com/grapher/chart.php? 
graphid=1stime=mmddhhmmperiod=7200from=0width=-108: size of  
remote file is not known


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


Re: syncing user passwd information between servers

2007-03-09 Thread Bill Moran
In response to Noah [EMAIL PROTECTED]:

 Hi,
 
 I am trying to figure out the Best admininstrative way to do the following:
 
 We have two FreeBSD 6.2 servers and want to keep the passwd files in 
 sync so all the same users can log into each machine, their UID's match, 
 and when the update the password on one machine the other machine gets 
 the password.  When we add the user to one machine then the other 
 machine has an additional user too.
 
 What is the best scheme that we can devise to get this working 
 technically well?

In addition to the other options that have been presented, you may want to
consider Kerberos.

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


Re: 65535 outbound connections

2007-03-09 Thread Bill Moran
In response to Atis [EMAIL PROTECTED]:

 On 3/9/07, Niklaus [EMAIL PROTECTED] wrote:
  Hi
 
  I could be wrong in the below description or might have misunderstood
  many of the concepts , please correct appropriately.
 
   65535 ports can allowed . So on a  machine namely C you can have max
  65535 outbound connections
 
 There can be simultaneous connections to one port. For example
 apache's httpd - it listens port 80, does that mean, it can serve only
 one connection? nope. Once connection is established, it's forwarded
 to another thread, that have connection id, and processes it.
 
 Don't know about outgoing connections, but i think, they also can be
 simultaneous.

No.  Outgoing connections must always grab a unique port.

The upshot is that the socket pair, which is the IP:port of one end of
the connection, plus the IP:port of the other end, must always be unique.

Since a listening socket (server) will frequently have many connections to
the same port, client side apps _must_ pick a unique port each time, to
protect from network failure.  This is enforce by the operating system.

So, the total number of (theoretical) connections is limited by the product
of IP space * port range.  But the total number of available outgoing
connections is limited by the port range, and that's where that 65536 
comes from.

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


Re: DEFAULT CFLAGS SETTING

2007-03-09 Thread Gerard
On Thursday March 08, 2007 at 07:45:06 (PM) Christian Walther wrote:


 CFLAGS can be defined in /etc/make.conf
 My CFLAGS is set to -O2 -pipe. You might want to take a look at
 CPUTYPE, too. This can be set to match your CPU type, which means
 you'll get the most of it.
 You can find some examples in /usr/share/examples/etc/make.conf

Thanks, but that is not exactly what I was looking for. I was
attempting to find out what the default setting is in FreeBSD-6.2. I
heard it was '02' but I have not been able to confirm that.

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


65535 outbound connections

2007-03-09 Thread Niklaus

Hi

I could be wrong in the below description or might have misunderstood
many of the concepts , please correct appropriately.

65535 ports can allowed . So on a  machine namely C you can have max
65535 outbound connections


What i was thinking was to send to another machines A and B from the
same port [X] and then when we get data from it to [X] we can the send
it to the correct application using stateful mapping or storing some
information . The machines A and B are unaware of this mapping from
the C  machine.

Can we increase it by anymeans in the kernel. Does we have patches for the above

i read on the web that terry lambert has got 1.6 million simultaneous
connection ? how is the way it is done.

http://kerneltrap.org/node/277




yes now lets take 2 dest machines , source ip is fixed , source port (2^16 - 1)
destip is fixed (a.a.a.a and b.b.b.b) ,dest port(2^16 -1) each ,

for a connection we have one port used , say connection 1 is

source ip,port 1 , a.a.a.a port 1
source ip,port 2 , a.a.a.a port 2
.
.
.
source ip,port 65535 , a.a.a.a port 65535

so total of 65535 connections (assume traffic is still going on, a
movie on a slow line dialup or 1kbps )

now if i try to open another connection (assume lots of file
descriptors are present) to a.a.a.a what happens

to b.b.b.b what happens

i think both will not get established as the OS doesn't have any free
source ports or am i wrong
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 65535 outbound connections

2007-03-09 Thread Atis

On 3/9/07, Niklaus [EMAIL PROTECTED] wrote:

Hi

I could be wrong in the below description or might have misunderstood
many of the concepts , please correct appropriately.

 65535 ports can allowed . So on a  machine namely C you can have max
65535 outbound connections


There can be simultaneous connections to one port. For example
apache's httpd - it listens port 80, does that mean, it can serve only
one connection? nope. Once connection is established, it's forwarded
to another thread, that have connection id, and processes it.

Don't know about outgoing connections, but i think, they also can be
simultaneous.

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


Re: Using gpg-agent on freebsd

2007-03-09 Thread Gerard
On Thursday March 08, 2007 at 10:19:27 (PM) Joe Vender wrote:

 I'm using FreeBSD 6.2
 
 I've been tinkering with using gpg-agent for GnuPG passphrase caching when 
 using Kmail. I have been able to get it working as per the instructions at
 http://freebsd.kde.org/howtos/gnupg-kmail.php
 for starting the daemon when entering KDE. But, I want to start gpg-agent 
 when 
 the sytem starts and I login to console mode (not just when I enter KDE), and 
 I want Kmail to use the agent for GnuPG usage. Could someone please describe 
 to me the details of the steps that I need to take and the file modifications 
 that I need to make for this to work.
 
 Again, I want the gpg-agent to be up and running when I login to the console, 
 also when I log into KDE, I want Kmail to use the agent. The way I log into 
 KDE is to first login to the console via a limited user account, then do sudo 
 kdm and log into KDE using the same limited user account. I have root login 
 disabled for both console and KDE. I've read the instructions for using a 
 ~/.xinitrc or ~/.xsession to start the gpg-agent daemon when logging into 
 kde, but I have neither file in my home directory, and anyway want the daemon 
 running upon entering console mode login, i.e., running always and only one 
 gpg-agent process running at any given time. Please CC my email address with 
 any responses. Thanks very much for suggestions. FreeBSD rocks!

Read 'man gpg-agent'. It has a script that may very well be exactly what
you want.

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


zoneinfo FreeBSD 4.4 - 4.11

2007-03-09 Thread Grant Peel
Hi all,

I got all my servers playiung nice with the new port for zoneinfo, all but one 
which is a simple slave nameserver ruynning FreeBSD 4.4.

When I installed the port on it, and try to run make, I get this:

voyager ROOT /usr/gpeel/zoneinfo  make
zoneinfo-: You need to define PORTNAME and PORTVERSION instead of PKGNAME.
(This port is too old for your bsd.port.mk, please update it to match
 your bsd.port.mk.)
*** Error code 1

Stop.

I have been reading lots about simply updateing the zone file itself, but have 
not been undersztanding what I am seeing. If anyone could simplify, I would 
appreciate it.

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


respect sophomoric

2007-03-09 Thread Christensen

   bulbous
   Note: There will be formatting problems in this HTML rendering which,
   for now, painful though it is, I am not going to try to fix by hacking
   around in the WordPress editor.
   For most people, the telephone is still the most comfortable thing. If
   you have received any of these medications from an Internet seller,
   click here to check photographs of the questionable tablets and their
   shipping packages. The same profiling is easy to expose to utilizers
   of native OS GUI apps as well.
   Webjay remains a boutique offering.
   When it comes to telephone recording, I am a disciple of Doug Kaye and
   I use the gadget he recommends, the Telos One, to split the caller and
   callee onto left and right stereo channels. Nmap cannot even tell that
   a server is running whenprotected in this way, and it does not matter
   even if the attacker has a zero-day exploit. 1995 M reg FORD ESCORT
   126 miles Manual Petrol still for sale se. The Blog delivers Ken's
   insights into e-commerce and life, all that he has learned from
   hundreds of thousands of customers over the years.
   at enterprise scale but with the Web in the picture at some point in
   the dataflows. Having a limited ability to transmit data introduces
   another limitation in port knocking schemes.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Kill a hanged disk i/o process...

2007-03-09 Thread Modulok

Thank you for your reply, it was quite informative and very much
appreciated, but the underlying question remains un-answered:

How do you kill a hanged process that (seemingly) cannot be killed because
of the two conditions below?

-It's hanged, so it's not ever going to self terminate.
-It's a disk i/o process so not even root can kill it.

The gentle shutdown solution doesn't work: Even during shutdown the process
cannot be killed: it's hanged, it's disk i/o.

How do you kill an un-killable process?
-Modulok-


On 3/9/07, Nikos Vassiliadis [EMAIL PROTECTED] wrote:


On Thursday 08 March 2007 13:49, Modulok wrote:
 To the best of my knowledge, most processes can be killed explicitly
 by kill -s KILL; There are a few which cannot, such as disk i/o
 processes. The idea here is data integrity.

A process might be in cannot-be-killed condition while
in kernel e.g. during a system call. That has to do with
the completion of the system call, not with data integrity.
The kernel tries to complete what was asked for.

Also, Killing a process with SIGKILL is far from safe. To put
it in another way data integrity can be guaranteed only
by the program itself. For example it could have a defined
behavior when it is signaled by e.g. SIGTERM, for example
clean up data and exit. Or not. It's up to the programmer.
Sending a SIGKILL will not give that chance. SIGKILL can
not be handled. It will be terminated as soon as possible.

Also, separate the meanings data integrity and filesystem
data integrity. The filesystem will be in fine condition when
a process gets killed by SIGKILL during file I/O, the data in
the file most probably not.


 On the rare occasion however, (when attempting to recover data from
 corrupt disks for example), I've had a process invoked by the cp
 command, hang. This poses a significant problem as these processes are
 disk i/o processes, and as such cannot be terminated (even by root).
 So, other than physically hitting the reset button on the case, is
 there a more eloquent method of forcefully halting a hanged disk i/o
 process? The idea of you don't want to terminate a disk i/o process,
 it could corrupt the data isn't really a good argument, because if
 the process hangs and I have to punch the reset button anyway what's
 the difference?

Pressing the button will leave your filesystem in a undefined state,
you are risking filesystem integrity. Keep in mind that while in use
(open files etc) a filesystem cannot be unmounted. Anyway, try to shut
the computer down, it's far more gentle than pressing the button. At
least the rest of the filesystems will be cleanly unmounted.

Is there something in particular you want to achieve?

Nikos


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


PERC 3/DC RAID controller

2007-03-09 Thread Barnaby Scott

I have recently aquired a server which is a Dell PowerEdge 4600 with a
PERC 3/DC RAID controller. I was just about to start intalling FreeBSD
6.2, but noticed the hardware notes mentions practically every other
Dell RAID controller except this one! Does anyone know if it will work?

I have a horrible suspicion I will be back with plenty of questions in 
the coming weeks as I wrestle with this, my first ever server, and my 
first 'for real' use of FreeBSD! However I am reading all I can, 
especially the FreeBSD handbook.


Thanks

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


Re: Kill a hanged disk i/o process...

2007-03-09 Thread Nikos Vassiliadis
On Friday 09 March 2007 15:28, Modulok wrote:
 Thank you for your reply, it was quite informative and very much
 appreciated, but the underlying question remains un-answered:
 
 How do you kill a hanged process that (seemingly) cannot be killed because
 of the two conditions below?
 
 -It's hanged, so it's not ever going to self terminate.
 -It's a disk i/o process so not even root can kill it.
 

As I said before disk I/O is irrelevant.

 The gentle shutdown solution doesn't work: Even during shutdown the process
 cannot be killed: it's hanged, it's disk i/o.
 
 How do you kill an un-killable process?

What makes you believe there is another official way
to kill a process?

Perhaps you should ask How do I work-around a situation
where my rm, cp, whatever hang forever?, if that's what
you are looking for.

 -Modulok-
 
 
 On 3/9/07, Nikos Vassiliadis [EMAIL PROTECTED] wrote:
 
  On Thursday 08 March 2007 13:49, Modulok wrote:
   To the best of my knowledge, most processes can be killed explicitly
   by kill -s KILL; There are a few which cannot, such as disk i/o
   processes. The idea here is data integrity.
 
  A process might be in cannot-be-killed condition while
  in kernel e.g. during a system call. That has to do with
  the completion of the system call, not with data integrity.
  The kernel tries to complete what was asked for.
 
  Also, Killing a process with SIGKILL is far from safe. To put
  it in another way data integrity can be guaranteed only
  by the program itself. For example it could have a defined
  behavior when it is signaled by e.g. SIGTERM, for example
  clean up data and exit. Or not. It's up to the programmer.
  Sending a SIGKILL will not give that chance. SIGKILL can
  not be handled. It will be terminated as soon as possible.
 
  Also, separate the meanings data integrity and filesystem
  data integrity. The filesystem will be in fine condition when
  a process gets killed by SIGKILL during file I/O, the data in
  the file most probably not.
 
  
   On the rare occasion however, (when attempting to recover data from
   corrupt disks for example), I've had a process invoked by the cp
   command, hang. This poses a significant problem as these processes are
   disk i/o processes, and as such cannot be terminated (even by root).
   So, other than physically hitting the reset button on the case, is
   there a more eloquent method of forcefully halting a hanged disk i/o
   process? The idea of you don't want to terminate a disk i/o process,
   it could corrupt the data isn't really a good argument, because if
   the process hangs and I have to punch the reset button anyway what's
   the difference?
 
  Pressing the button will leave your filesystem in a undefined state,
  you are risking filesystem integrity. Keep in mind that while in use
  (open files etc) a filesystem cannot be unmounted. Anyway, try to shut
  the computer down, it's far more gentle than pressing the button. At
  least the rest of the filesystems will be cleanly unmounted.
 
  Is there something in particular you want to achieve?
 
  Nikos
 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DEFAULT CFLAGS SETTING

2007-03-09 Thread RW
On Fri, 09 Mar 2007 07:53:00 -0500
Gerard [EMAIL PROTECTED] wrote:

 On Thursday March 08, 2007 at 07:45:06 (PM) Christian Walther wrote:
 
 
  CFLAGS can be defined in /etc/make.conf
  My CFLAGS is set to -O2 -pipe. You might want to take a look at
  CPUTYPE, too. This can be set to match your CPU type, which means
  you'll get the most of it.
  You can find some examples in /usr/share/examples/etc/make.conf
 
 Thanks, but that is not exactly what I was looking for. I was
 attempting to find out what the default setting is in FreeBSD-6.2. I
 heard it was '02' but I have not been able to confirm that.
 

In my case:

$ make -V CFLAGS
-O2 -fno-strict-aliasing -pipe -march=athlon-mp

but run it on your own machine as it depends on what you set as
CPUTYPE in make.conf
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PERC 3/DC RAID controller

2007-03-09 Thread dex
I'm not sure if this helps, but I've been working with FreeBSD on dell hardware 
of all kinds for many years and have not had a problem with a PERC controller. 
The easiest way to see is boot from the install CD and start a standard 
install.  It will error if it doesn't recognize any drives. 
  

-Original Message-
From: Barnaby Scott [EMAIL PROTECTED]
Date: Fri, 09 Mar 2007 13:48:58 
To:freebsd-questions@freebsd.org
Subject: PERC 3/DC RAID controller

I have recently aquired a server which is a Dell PowerEdge 4600 with a
PERC 3/DC RAID controller. I was just about to start intalling FreeBSD
6.2, but noticed the hardware notes mentions practically every other
Dell RAID controller except this one! Does anyone know if it will work?

I have a horrible suspicion I will be back with plenty of questions in 
the coming weeks as I wrestle with this, my first ever server, and my 
first 'for real' use of FreeBSD! However I am reading all I can, 
especially the FreeBSD handbook.

Thanks

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

Re: DEFAULT CFLAGS SETTING

2007-03-09 Thread RW
On Thu, 08 Mar 2007 21:04:50 -0800
Garrett Cooper [EMAIL PROTECTED] wrote:

 Christian Walther wrote:
  On 08/03/07, White Hat [EMAIL PROTECTED] wrote:
  What is the default CFLAGS setting in FBSD-6.2 and would it
  improve performance any to set
 
  CFLAGS=Os
 
  as opposed to the default setting?
 
  CFLAGS can be defined in /etc/make.conf
  My CFLAGS is set to -O2 -pipe. 

Note that by explicitly defining CFLAGS, you override the
-fno-strict-aliasing that's set by default. 

FreeBSD provides sensible defaults for all of these things, based on
CPUTYPE. 

 
 As mentioned when I asked the question a while back, be careful about 
 how you optimize freebsd. 
...
 I was told to add -fno-strict-aliasing, 

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


limitiation on memory allocation

2007-03-09 Thread Dima Sorkin

Hi.

On FreeBSD 6.2 i386 with 2GB of physical memory I can't allocate
more than 500Mb for my program.

I'm a new to FreeBSD. Is this limitatin is something known,
how do I overcome it ?

(On linuxes I can allocate arrays of size close to sum
of physical and swap memory, on similar machines)

Thank you and regards,
Dima.

$ top
...
Mem: 65M Active, 357M Inact, 142M Wired, 404K Cache, 112M Buf, 1437M Free
Swap: 4070M Total, 4070M Free
...

test code:
---
#includevector
#includeboost/shared_array.hpp

const unsigned M = 1024*1024;
const unsigned X = 510; // will fail with X  510

int main() {
 std::vectorchar huge_v1(X*M);  // fails in both ways
 // boost::shared_arraychar huge( new char[X*M] );
}
---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: remote install of 6.2

2007-03-09 Thread David Robillard

I have a remote machine running 4.8-p21.  The system has two disks in
it, but only one is used on a daily basis (the other is filled via dd
every now and then).

I want to get this remote machine running 6.2, so I figured I'ld
install the new OS on the second disk, then boot off the second disk,
leaving the original first disk with all the user data on it (plus as
a way to back out).

When I try to use /stand/sysinstall for this it seg-faults
early in the installation, but after the Commit step.


Hi Jerry,

If you have a 6.2 machine handy, you can create dump files of each
filesystem using dump(8), cpio(1) or pax(1) or whatever you're used
to.

Ship those dump files to your 4.8 machine via scp(1). Then use
bsdlabel(8) to partition your second hard disk (the one you whish to
install 6.2 on). Create filesystems on those new partitions. Mount
those new filesystems into a chroot, for example /mnt/root, /mnt/usr,
/mnt/var, etc. Then extract your dump files onto those new partitions.
Don't forget to install a boot block on your disk with `bsdlabel -B`
or with boot0cfg(8). That should do it.

If you need more detailed step-by-step instructions, just say so, I'll
send something on the list.

Have fun,

David
--
David Robillard
UNIX systems administrator  Oracle DBA
CISSP, RHCE  Sun Certified Security Administrator
Montreal: +1 514 966 0122
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help needed syncing Palm Treo 650 with FreeBSD

2007-03-09 Thread Aniruddha

Harrison Peter CSA BIRKENHEAD wrote:
You may want to check out devfs.rules(5) for changing permissions on 
hotplug devices.

That said, I do use a similar entry in usbd.conf to spawn pppd when I connect my Tungsten 
E. With that I find I need to add a sleep 2; to the beginning of the 'attach' 
line or the following command fails because the device nodes aren't set up quickly enough.

HTH.

Peter Harrison 




  


Thanks for your help :-) . You mean like this?

device Palm
  devname  ucom[0-9]*
  sleep 2; attach chmod 0666 /dev/ucom* /dev/ttyU* /dev/cuaU*/


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


RE: Help needed syncing Palm Treo 650 with FreeBSD

2007-03-09 Thread Harrison Peter CSA BIRKENHEAD
-Original Message-
From: Aniruddha [mailto:[EMAIL PROTECTED]
Sent: 09 March 2007 15:32
To: Harrison Peter CSA BIRKENHEAD
Cc: freebsd-questions@freebsd.org
Subject: Re: Help needed syncing Palm Treo 650 with FreeBSD


Harrison Peter CSA BIRKENHEAD wrote:
 You may want to check out devfs.rules(5) for changing permissions on 
 hotplug devices.
 That said, I do use a similar entry in usbd.conf to spawn 
pppd when I connect my Tungsten E. With that I find I need to 
add a sleep 2; to the beginning of the 'attach' line or the 
following command fails because the device nodes aren't set up 
quickly enough.

 HTH.

 Peter Harrison 



   

Thanks for your help :-) . You mean like this?

device Palm
   devname  ucom[0-9]*
   sleep 2; attach chmod 0666 /dev/ucom* /dev/ttyU* /dev/cuaU*/




Sorry, that's me not making myself clear.

I mean like this:

device Palm
devname ucom[0-9]*
attach sleep 2; chmod 0666 /dev/ttyU*

But like I said, devfs.rules is really designed for this kind of thing.


HTH.


Peter Harrison.






PLEASE NOTE: THE ABOVE MESSAGE WAS RECEIVED FROM THE INTERNET.
On entering the GSI, this email was scanned for viruses by the 
Government Secure Intranet (GSi) virus scanning service 
supplied exclusively by Cable  Wireless in partnership with 
MessageLabs.
In case of problems, please call your organisational IT Helpdesk.
The MessageLabs Anti Virus Service is the first managed 
service to achieve the CSIA Claims Tested Mark (CCTM 
Certificate Number 2006/04/0007), the UK Government quality 
mark initiative for information security products and 
services.  For more information about this please visit 
www.cctmark.gov.uk

**
This document is strictly confidential and is intended only for use by the 
addressee. 
If you are not the intended recipient, any disclosure, copying, distribution or 
other 
action taken in reliance of the information contained in this e-mail is 
strictly prohibited.
Any views expressed by the sender of this message are not necessarily those of 
the Department 
for Work and Pensions.
If you have received this transmission in error, please use the reply function 
to tell us 
and then permanently delete what you have received.
Please note: Incoming and outgoing e-mail messages are routinely monitored for 
compliance 
with our policy on the use of electronic communications.
**


The original of this email was scanned for viruses by Government Secure 
Intranet (GSi)  virus scanning service supplied exclusively by Cable  Wireless 
in partnership with MessageLabs.
On leaving the GSI this email was certified virus free.
The MessageLabs Anti Virus Service is the first managed service to achieve the 
CSIA Claims Tested Mark (CCTM Certificate Number 2006/04/0007), the UK 
Government quality mark initiative for information security products and 
services.  For more information about this please visit www.cctmark.gov.uk
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Last Reminder: Your account is suspended for security reasons!

2007-03-09 Thread Arizona State Credit Union

   Dear Customer,

   You have a new inbox message on Arizona State Credit Union.
   To read the message, click the message's subject to access your
   account.
   Warning: Ignoring this message will get your account erased from our
   database.

   Note: New security alert!
 Date-Time Subject   Category 
   3/09/2007 [1][message_alert.gif] Your account is suspended for
   security reasons!

   Alert
 _

 1998-2007 Arizona State Credit Union. All Rights Reserved.
 [2]Privacy
 Statement
 [3]Service Agreement

   Arizona State Credit Union, Member FDIC, Equal Housing Lender. Serving
   DuPage, Kane, Kendall and Will Counties, Phoenix, AZ 85005-6637
   Arizona State Credit Union Email ID AZSTCU91429.

References

   1. http://www.arizonastatecu.nanimo.org/signin/onlineserv/HB/index.html
   2. https://www.azstcu.org/privacy-legal/index.shtml
   3. https://www.azstcu.org/privacy-legal/index.shtml
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: limitiation on memory allocation

2007-03-09 Thread Derek Ragona

check out your sysctl values.
man sysctl
for more information.

-Derek


At 08:32 AM 3/9/2007, Dima Sorkin wrote:

Hi.

On FreeBSD 6.2 i386 with 2GB of physical memory I can't allocate
more than 500Mb for my program.

I'm a new to FreeBSD. Is this limitatin is something known,
how do I overcome it ?

(On linuxes I can allocate arrays of size close to sum
of physical and swap memory, on similar machines)

Thank you and regards,
Dima.

$ top
...
Mem: 65M Active, 357M Inact, 142M Wired, 404K Cache, 112M Buf, 1437M Free
Swap: 4070M Total, 4070M Free
...

test code:
---
#includevector
#includeboost/shared_array.hpp

const unsigned M = 1024*1024;
const unsigned X = 510; // will fail with X  510

int main() {
 std::vectorchar huge_v1(X*M);  // fails in both ways
 // boost::shared_arraychar huge( new char[X*M] );
}
---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: Running script from rc.d as local user

2007-03-09 Thread Lowell Gilbert
Gerard Seibert [EMAIL PROTECTED] writes:

 On Thu, 08 Mar 2007 08:52:20 -0600
 Derek Ragona [EMAIL PROTECTED] wrote:

 You should add a line:
 /usr/bin/su [to your username]

 OK, I'll try that.

A way to do this without needing special permissions to
touch system files is to use cron; it has an @reboot
time specification for this purpose.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help needed syncing Palm Treo 650 with FreeBSD

2007-03-09 Thread Aniruddha

Harrison Peter CSA BIRKENHEAD wrote:

Sorry, that's me not making myself clear.
I mean like this:

device Palm
devname ucom[0-9]*
attach sleep 2; chmod 0666 /dev/ttyU*

But like I said, devfs.rules is really designed for this kind of thing.


HTH.


Peter Harrison.


  

Sorry, but I must ask you again :-[ . You mean adding this to devfs.rules?

device Palm
devname ucom[0-9]*
attach sleep 2; chmod 0666 /dev/ttyU*


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


RE: Help needed syncing Palm Treo 650 with FreeBSD

2007-03-09 Thread Harrison Peter CSA BIRKENHEAD
-Original Message-
From: Aniruddha [mailto:[EMAIL PROTECTED]
Sent: 09 March 2007 16:12
To: Harrison Peter CSA BIRKENHEAD
Cc: freebsd-questions@freebsd.org
Subject: Re: Help needed syncing Palm Treo 650 with FreeBSD


Harrison Peter CSA BIRKENHEAD wrote:
 Sorry, that's me not making myself clear.
 I mean like this:

 device Palm
  devname ucom[0-9]*
  attach sleep 2; chmod 0666 /dev/ttyU*

 But like I said, devfs.rules is really designed for this 
kind of thing.


 HTH.


 Peter Harrison.


   
Sorry, but I must ask you again :-[ . You mean adding this to 
devfs.rules?

device Palm
   devname ucom[0-9]*
   attach sleep 2; chmod 0666 /dev/ttyU*


No, that's the syntax for usbd.conf - which should work but is not the 
'preferred' way of doing it.

I'll check my devfs.rules file over the weekend and email you again with the 
syntax for that.


Peter Harrison.

**
This document is strictly confidential and is intended only for use by the 
addressee. 
If you are not the intended recipient, any disclosure, copying, distribution or 
other 
action taken in reliance of the information contained in this e-mail is 
strictly prohibited.
Any views expressed by the sender of this message are not necessarily those of 
the Department 
for Work and Pensions.
If you have received this transmission in error, please use the reply function 
to tell us 
and then permanently delete what you have received.
Please note: Incoming and outgoing e-mail messages are routinely monitored for 
compliance 
with our policy on the use of electronic communications.
**


The original of this email was scanned for viruses by Government Secure 
Intranet (GSi)  virus scanning service supplied exclusively by Cable  Wireless 
in partnership with MessageLabs.
On leaving the GSI this email was certified virus free.
The MessageLabs Anti Virus Service is the first managed service to achieve the 
CSIA Claims Tested Mark (CCTM Certificate Number 2006/04/0007), the UK 
Government quality mark initiative for information security products and 
services.  For more information about this please visit www.cctmark.gov.uk
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: remote install of 6.2

2007-03-09 Thread Jerry McAllister
On Fri, Mar 09, 2007 at 10:30:44AM -0500, David Robillard wrote:

 I have a remote machine running 4.8-p21.  The system has two disks in
 it, but only one is used on a daily basis (the other is filled via dd
 every now and then).
 
 I want to get this remote machine running 6.2, so I figured I'ld
 install the new OS on the second disk, then boot off the second disk,
 leaving the original first disk with all the user data on it (plus as
 a way to back out).
 
 When I try to use /stand/sysinstall for this it seg-faults
 early in the installation, but after the Commit step.
 
 Hi Jerry,
 
 If you have a 6.2 machine handy, you can create dump files of each
 filesystem using dump(8), cpio(1) or pax(1) or whatever you're used
 to.
 
 Ship those dump files to your 4.8 machine via scp(1). Then use
 bsdlabel(8) to partition your second hard disk (the one you whish to
 install 6.2 on). Create filesystems on those new partitions. Mount
 those new filesystems into a chroot, for example /mnt/root, /mnt/usr,
 /mnt/var, etc. Then extract your dump files onto those new partitions.
 Don't forget to install a boot block on your disk with `bsdlabel -B`
 or with boot0cfg(8). That should do it.
 
 If you need more detailed step-by-step instructions, just say so, I'll
 send something on the list.

OK.   First, it was someone else who posted.  I was one of the responders.

That can be a good way of doing it.   I have posted a list of steps
for doing essentially that (slightly different circumstances) a 
couple of times in the past.

But there is one disadvantage in this particular case.  Since the OP
is running 4.xx and wants to move to 6.xx, he would probably also want
to take advantage of the new UFS2 filesystem improvements.  But, if
he builds the file system using the 4.xx fdisk and disklabel (before
bsdlabel replaced it) then it will use the older file system missing
some performance and feature improvements.   So, he will want to find
a way to fdisk and bsdlabel using a 6.xx system if at all possible.

Of course, it is not the end of the world to be stuck with the older
file system, but is less than optimal.

It would be possible for the person to sort of double up on your 
suggestion and do a first build with the existing fdisk and bsdlabel
and then restore 6.2 dumps.   Then build a 6.2 system that can run from
memory that includes the essentials such as fdisk, bsdlabel and newfs
and tink with booting to boot to that memory system, which would
then allow that second disk to remain unmounted or accessed anywhere
 -- essential for building the file systems.  Then use that memory
mounted system to build the file systems and finally do the restores
from dumps.   It should work, but will take some figuring out.

The last time I built anything resembling that was back in 
about FreeBSD 4.9 and I made a file of it and burned it to CD and
did the boots from CD.   But it should be possible to get it to
run from a memory file system.

jerry

 
 Have fun,
 
 David
 -- 
 David Robillard
 UNIX systems administrator  Oracle DBA
 CISSP, RHCE  Sun Certified Security Administrator
 Montreal: +1 514 966 0122
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help needed syncing Palm Treo 650 with FreeBSD

2007-03-09 Thread Vince
Harrison Peter CSA BIRKENHEAD wrote:
 -Original Message-
 From: Aniruddha [mailto:[EMAIL PROTECTED]
 Sent: 09 March 2007 16:12
 To: Harrison Peter CSA BIRKENHEAD
 Cc: freebsd-questions@freebsd.org
 Subject: Re: Help needed syncing Palm Treo 650 with FreeBSD

 
 Sorry, but I must ask you again :-[ . You mean adding this to 
 devfs.rules?

 device Palm
  devname ucom[0-9]*
  attach sleep 2; chmod 0666 /dev/ttyU*

 
 No, that's the syntax for usbd.conf - which should work but is not the 
 'preferred' way of doing it.
 
 I'll check my devfs.rules file over the weekend and email you again with the 
 syntax for that.
 
for devfs.rules add something like

[system=10]
add path 'ttyU*' mode 0666

to /etc/devfs.rules

you also need to add
devfs_system_ruleset=system

to rc.conf


Vince


 
 Peter Harrison.
 
 **
 This document is strictly confidential and is intended only for use by the 
 addressee. 
 If you are not the intended recipient, any disclosure, copying, distribution 
 or other 
 action taken in reliance of the information contained in this e-mail is 
 strictly prohibited.
 Any views expressed by the sender of this message are not necessarily those 
 of the Department 
 for Work and Pensions.
 If you have received this transmission in error, please use the reply 
 function to tell us 
 and then permanently delete what you have received.
 Please note: Incoming and outgoing e-mail messages are routinely monitored 
 for compliance 
 with our policy on the use of electronic communications.
 **
 
 
 The original of this email was scanned for viruses by Government Secure 
 Intranet (GSi)  virus scanning service supplied exclusively by Cable  
 Wireless in partnership with MessageLabs.
 On leaving the GSI this email was certified virus free.
 The MessageLabs Anti Virus Service is the first managed service to achieve 
 the CSIA Claims Tested Mark (CCTM Certificate Number 2006/04/0007), the UK 
 Government quality mark initiative for information security products and 
 services.  For more information about this please visit www.cctmark.gov.uk
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: Install Freebsd 5.4

2007-03-09 Thread Jerry McAllister
On Thu, Mar 08, 2007 at 04:46:49PM +0100, Thomas H. Bellus wrote:

 I have not been able to see the screens for configuring X for my monitor or
 video card. I have ver 5.4, I have used both the standard install and the
 custom install. I have used the most recent install documents on the
 internet and I have a copy of Complete BSD by Greg Lehey.
 
 I am new to BSD but I want to get this install to work. I can not get
 anytype of graphical interface.

Well, it is hard to answer for as far back s 5.4.
I would suggest, if at all possible, to first download and burn
an install CD with 6.2 and then cvsup (csup) that to the latest
world and ports, build and install world and kernel and then try again.   

It is possible that the version of X you are getting is out of sync
with the OS you are using.   That is only one possibility among
others, but is one of the easiest to eliminate by bringing everything
up to date.   It then makes other possibilities easier to examine also.

jerry

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


Re: remote install of 6.2

2007-03-09 Thread David Robillard

OK.   First, it was someone else who posted.  I was one of the responders.


My mistake! Sorry about this.



That can be a good way of doing it.   I have posted a list of steps
for doing essentially that (slightly different circumstances) a
couple of times in the past.

But there is one disadvantage in this particular case.  Since the OP
is running 4.xx and wants to move to 6.xx, he would probably also want
to take advantage of the new UFS2 filesystem improvements.  But, if
he builds the file system using the 4.xx fdisk and disklabel (before
bsdlabel replaced it) then it will use the older file system missing
some performance and feature improvements.   So, he will want to find
a way to fdisk and bsdlabel using a 6.xx system if at all possible.

Of course, it is not the end of the world to be stuck with the older
file system, but is less than optimal.

It would be possible for the person to sort of double up on your
suggestion and do a first build with the existing fdisk and bsdlabel
and then restore 6.2 dumps.   Then build a 6.2 system that can run from
memory that includes the essentials such as fdisk, bsdlabel and newfs
and tink with booting to boot to that memory system, which would
then allow that second disk to remain unmounted or accessed anywhere
 -- essential for building the file systems.  Then use that memory
mounted system to build the file systems and finally do the restores
from dumps.   It should work, but will take some figuring out.

The last time I built anything resembling that was back in
about FreeBSD 4.9 and I made a file of it and burned it to CD and
did the boots from CD.   But it should be possible to get it to
run from a memory file system.


Indeed, you're absolutely right.

An easy way to circumvent this filesystem issue would be to mount the
ISO image of a 6.2 install CD as a virtual filesystem and use the
binaries from there. This shows you how to proceed:
http://www.freebsddiary.org/iso-mount.php

Of course, you'll need a fair bit of RAM to do this.

There's also this from Colin Percival that can be usefull:
http://www.daemonology.net/depenguinator/

HTH,

David
--
David Robillard
UNIX systems administrator  Oracle DBA
CISSP, RHCE  Sun Certified Security Administrator
Montreal: +1 514 966 0122
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help needed syncing Palm Treo 650 with FreeBSD

2007-03-09 Thread Aniruddha

Harrison Peter CSA BIRKENHEAD wrote:


No, that's the syntax for usbd.conf - which should work but is not the 
'preferred' way of doing it.

I'll check my devfs.rules file over the weekend and email you again with the 
syntax for that.


Peter Harrison.
  
Thank for the effort! Btw I tried adding  sleep 2;  but this didn't help 
:-(

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


Re: zoneinfo FreeBSD 4.4 - 4.11

2007-03-09 Thread Vasile Cristescu
On Friday 09 March 2007 15:11, Grant Peel wrote:
 Hi all,

 I got all my servers playiung nice with the new port for zoneinfo, all but
 one which is a simple slave nameserver ruynning FreeBSD 4.4.

 When I installed the port on it, and try to run make, I get this:

 voyager ROOT /usr/gpeel/zoneinfo  make
 zoneinfo-: You need to define PORTNAME and PORTVERSION instead of PKGNAME.
 (This port is too old for your bsd.port.mk, please update it to match
  your bsd.port.mk.)
 *** Error code 1

 Stop.

 I have been reading lots about simply updateing the zone file itself, but
 have not been undersztanding what I am seeing. If anyone could simplify, I
 would appreciate it.

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

Hello,

Check /usr/ports/UPDATING :

20070205:
  AFFECTS: all users of FreeBSD 4.X
  AUTHOR: [EMAIL PROTECTED]

  The remnants of FreeBSD 4.X support have been removed from bsd.port.mk.
  Any remaining users should _not_ get this or any subsequent updates.

-- 
Best regards,
 Vasile Cristescu   
 Server Department
 Lamit Datacenter
 www.lamit.ro
 tel: +40213352206
 mob: +40788755463

PGP: http://hosting.lamit.ro/public.key


pgpQRtPtKiFFI.pgp
Description: PGP signature


Re: Help needed syncing Palm Treo 650 with FreeBSD

2007-03-09 Thread Aniruddha

Aniruddha wrote:
I am trying to get my Palm Treo sync with Jpilot. Unfortunately so far 
without results :-( . Who can help me with this? Here's what I tried 
so far:


Added this line to etc/usbd.conf just above the fallthrough entry:
/
device Palm
  devname  ucom[0-9]*
  attach chmod 0666 /dev/ucom* /dev/ttyU* /dev/cuaU*/

/kldload ucom
kldload uvisor
/
Filled in this 'adress' in jpilot:

//dev/ttyU0/
___


Here's my dmesg (with my Treo plugged in at boot). Maybe that will help:

Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 Processor 4000+ (2403.09-MHz 686-class CPU)
 Origin = AuthenticAMD  Id = 0x20f71  Stepping = 1

Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CM
OV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2
 Features2=0x1SSE3
 AMD Features=0xe2500800SYSCALL,NX,MMX+,FFXSR,LM,3DNow+,3DNow
 AMD Features2=0x1LAHF
real memory  = 1073414144 (1023 MB)
avail memory = 1033031680 (985 MB)
ACPI APIC Table: A M I  OEMAPIC 
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 Version 0.3 irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: A M I OEMRSDT on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
cpu0: ACPI CPU on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: VIA K8T800Pro host to PCI bridge mem 0xdc00-0xdfff at
device 0.0
on pci0
pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
pci1: ACPI PCI bus on pcib1
nvidia0: GeForce 7800 GS mem
0xfb00-0xfbff,0xe000-0xefff,0xfa0
0-0xfaff irq 16 at device 0.0 on pci1
nvidia0: [GIANT-LOCKED]
fwohci0: VIA Fire II (VT6306) port 0x9400-0x947f mem
0xf960-0xf96007ff irq
16 at device 7.0 on pci0
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:11:d8:00:00:58:84:0d
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: IEEE1394(FireWire) bus on fwohci0
fwe0: Ethernet over FireWire on firewire0
if_fwe0: Fake Ethernet address: 02:11:d8:58:84:0d
fwe0: Ethernet address: 02:11:d8:58:84:0d
fwe0: if_start running deferred for Giant
sbp0: SBP-2/SCSI over FireWire on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop = 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
atapci0: Promise PDC20378 SATA150 controller port
0xa400-0xa43f,0xa000-0xa00f,
0x9800-0x987f mem 0xf980-0xf9800fff,0xf970-0xf971 irq 18 at
device 8
.0 on pci0
ata2: ATA channel 0 on atapci0
ata3: ATA channel 1 on atapci0
ata4: ATA channel 2 on atapci0
skc0: Marvell Gigabit Ethernet port 0xa800-0xa8ff mem
0xf9a0-0xf9a03fff ir
q 17 at device 10.0 on pci0
skc0: Marvell Yukon Lite Gigabit Ethernet rev. (0x9)
sk0: Marvell Semiconductor, Inc. Yukon on skc0
sk0: Ethernet address: 00:13:d4:9b:6b:c8
miibus0: MII bus on sk0
e1000phy0: Marvell 88E1000 Gigabit PHY on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
1000baseTX-FDX, auto
pci0: multimedia, audio at device 14.0 (no driver attached)
pci0: input device at device 14.1 (no driver attached)
fwohci1: 1394 Open Host Controller Interface mem
0xf9c0-0xf9c007ff,0xf9b00
000-0xf9b03fff irq 16 at device 14.2 on pci0
fwohci1: OHCI version 1.10 (ROM=0)
fwohci1: No. of Isochronous channels is 4.
fwohci1: EUI64 00:02:3c:01:01:00:e8:de
fwohci1: Phy 1394a available S400, 2 ports.
fwohci1: Link S400, max_rec 2048 bytes.
firewire1: IEEE1394(FireWire) bus on fwohci1
fwe1: Ethernet over FireWire on firewire1
if_fwe1: Fake Ethernet address: 02:02:3c:00:e8:de
fwe1: Ethernet address: 02:02:3c:00:e8:de
fwe1: if_start running deferred for Giant
sbp1: SBP-2/SCSI over FireWire on firewire1
fwohci1: Initiate bus reset
fwohci1: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire1: 1 nodes, maxhop = 0, cable IRM = 0 (me)
firewire1: bus manager 0 (me)
atapci1: VIA 6420 SATA150 controller port
0xd400-0xd407,0xd000-0xd003,0xc800-0
xc807,0xc400-0xc403,0xc000-0xc00f,0xb800-0xb8ff irq 20 at device 15.0 on
pci0
ata5: ATA channel 0 on atapci1
ata6: ATA channel 1 on atapci1
atapci2: VIA 8237 UDMA133 controller port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,
0xfc00-0xfc0f at device 15.1 on pci0
ata0: ATA channel 0 on atapci2
ata1: ATA channel 1 on atapci2
uhci0: VIA 83C572 USB controller port 0xd800-0xd81f irq 21 at device
16.0 on p
ci0
uhci0: [GIANT-LOCKED]
usb0: VIA 83C572 USB controller on uhci0

Re: Help needed syncing Palm Treo 650 with FreeBSD

2007-03-09 Thread Aniruddha

Vince wrote:

for devfs.rules add something like
[system=10]
add path 'ttyU*' mode 0666

to /etc/devfs.rules

you also need to add
devfs_system_ruleset=system

to rc.conf


Vince

  

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


Re: Help needed syncing Palm Treo 650 with FreeBSD

2007-03-09 Thread Vince
Aniruddha wrote:
 Vince wrote:
 for devfs.rules add something like
 [system=10]
 add path 'ttyU*' mode 0666

 to /etc/devfs.rules

 you also need to add
 devfs_system_ruleset=system

 to rc.conf


 Vince

   
 Ok I will try that :-)
Oh i forgot to mention you will have to restart devfs afterwards,
/etc/rc.d/devfs restart

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


Re: zoneinfo FreeBSD 4.4 - 4.11

2007-03-09 Thread Dan Busarow


On Mar 9, 2007, at 7:40 AM, Vasile Cristescu wrote:


On Friday 09 March 2007 15:11, Grant Peel wrote:

Hi all,

I got all my servers playiung nice with the new port for zoneinfo,  
all but

one which is a simple slave nameserver ruynning FreeBSD 4.4.

When I installed the port on it, and try to run make, I get this:

voyager ROOT /usr/gpeel/zoneinfo  make
zoneinfo-: You need to define PORTNAME and PORTVERSION instead of  
PKGNAME.

(This port is too old for your bsd.port.mk, please update it to match
 your bsd.port.mk.)
*** Error code 1

Stop.

I have been reading lots about simply updateing the zone file  
itself, but
have not been undersztanding what I am seeing. If anyone could  
simplify, I

would appreciate it.



Grant,

Search for an email I sent to the list on 2/22 with Subject

 Determining daylight savings changes on BSD

It has the steps needed to update manually from source.

Here's the steps

If you can't use the ports to update your time zone files here is the  
manual procedure.


1. create a new directory and cd into it
   e.g. # mkdir myzoneinfo; cd myzoneinfo

2. # fetch ftp://elsie.nci.nih.gov/pub/tzdata2007b.tar.gz

3. # tar -zxvf tzdata2007b.tar.gz

4. you will now have a bunch of files in the directory extracted from  
tzdata2007b.

   you need to edit zone.tab and comment out these lines

#AX +6006+01957 Europe/Mariehamn
#GG +4927-00232 Europe/Guernsey
#IM +5409-00428 Europe/Isle_of_Man
#JE +4912-00207 Europe/Jersey
#ME +4226+01916 Europe/Podgorica
#RS +4450+02030 Europe/Belgrade
#TL -0833+12535 Asia/Dili

5. run this command
   # zic -d ./zoneinfo -p America/Los_Angeles -m 0644 -y ./yearistype \
   africa antarctica asia australasia etcetera europe \
   factory northamerica southamerica systemv

   that's all one long line
   the zic command will create a new directory named zoneinfo and
   fill it with the new zoneinfo files.  You can compare it to
   /usr/share/zoneinfo

6. install the new files by running
   # cp -R -p ./zoneinfo/ /usr/share/zoneinfo
   # cp ./zone.tab /usr/share/zoneinfo
   # tzsetup

7. to verify that all went well run
   # zdump -v /etc/localtime | grep 2007
   your should get

/etc/localtime  Sun Mar 11 09:59:59 2007 UTC = Sun Mar 11 01:59:59  
2007 PST isdst=0 gmtoff=-28800
/etc/localtime  Sun Mar 11 10:00:00 2007 UTC = Sun Mar 11 03:00:00  
2007 PDT isdst=1 gmtoff=-25200
/etc/localtime  Sun Nov  4 08:59:59 2007 UTC = Sun Nov  4 01:59:59  
2007 PDT isdst=1 gmtoff=-25200
/etc/localtime  Sun Nov  4 09:00:00 2007 UTC = Sun Nov  4 01:00:00  
2007 PST isdst=0 gmtoff=-28800



I've done this on 1/2 dozen older 4.x and 5.x servers and it works fine.



Dan


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


How to get best results from FreeBSD-questions

2007-03-09 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2005/08/10 02:21:44 $

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@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for [EMAIL PROTECTED]).  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  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
  

The Complete FreeBSD: errata and addenda

2007-03-09 Thread Greg Lehey
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 O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Note also that the book has now been released for free download in PDF
form.  Instead of downloading the changed pages, you may prefer to
download the entire book.  See http://www.lemis.com/grog/Documentation/CFBSD/ 
for more information.

Have you found a problem with the book, or maybe something confusing?
Please let me know: I'm no longer constantly updating it, but I may be
able to help

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


Re: remote install of 6.2

2007-03-09 Thread Jerry McAllister
On Fri, Mar 09, 2007 at 11:39:31AM -0500, David Robillard wrote:

 OK.   First, it was someone else who posted.  I was one of the responders.
 
 My mistake! Sorry about this.
 
 
 That can be a good way of doing it.   I have posted a list of steps
 for doing essentially that (slightly different circumstances) a
 couple of times in the past.
 
 But there is one disadvantage in this particular case.  Since the OP
 is running 4.xx and wants to move to 6.xx, he would probably also want
 to take advantage of the new UFS2 filesystem improvements.  But, if
 he builds the file system using the 4.xx fdisk and disklabel (before
 bsdlabel replaced it) then it will use the older file system missing
 some performance and feature improvements.   So, he will want to find
 a way to fdisk and bsdlabel using a 6.xx system if at all possible.
 
 Of course, it is not the end of the world to be stuck with the older
 file system, but is less than optimal.
 
 It would be possible for the person to sort of double up on your
 suggestion and do a first build with the existing fdisk and bsdlabel
 and then restore 6.2 dumps.   Then build a 6.2 system that can run from
 memory that includes the essentials such as fdisk, bsdlabel and newfs
 and tink with booting to boot to that memory system, which would
 then allow that second disk to remain unmounted or accessed anywhere
  -- essential for building the file systems.  Then use that memory
 mounted system to build the file systems and finally do the restores
 from dumps.   It should work, but will take some figuring out.
 
 The last time I built anything resembling that was back in
 about FreeBSD 4.9 and I made a file of it and burned it to CD and
 did the boots from CD.   But it should be possible to get it to
 run from a memory file system.
 
 Indeed, you're absolutely right.
 
 An easy way to circumvent this filesystem issue would be to mount the
 ISO image of a 6.2 install CD as a virtual filesystem and use the
 binaries from there. This shows you how to proceed:
 http://www.freebsddiary.org/iso-mount.php
 
 Of course, you'll need a fair bit of RAM to do this.

That can work.  Make sure you check the added comments as well, although
those refer to FreeBSD 5.xxx and you are still on 4.xxx.  You will want
to know it will be different once you start running the new one.

Make sure that the ISO image is not stored on the drive to be fdisk-ed, 
bsdlabel-ed and newfs-ed.   In this person's case, the system is already 
running on another disk, and he wants to put the 6.xx system on a second 
disk, so he just has to make sure to write the ISO to that first disk
somewhere there is room and unmount anything on that second disk.


 
 There's also this from Colin Percival that can be usefull:
 http://www.daemonology.net/depenguinator/

This reference is really a different subject.

jerry

 
 HTH,
 
 David
 -- 
 David Robillard
 UNIX systems administrator  Oracle DBA
 CISSP, RHCE  Sun Certified Security Administrator
 Montreal: +1 514 966 0122
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Perforce access

2007-03-09 Thread FreeBSD Daemon
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

dear list,

is it prossible (for a normal mortal, aka non-committer ) to access the
the perforce repository to get code?

i'd be interested in the mips code

TIA

Zheyu Shen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFF8YbvTqd8JUnGnQ0RAp8sAJ4u8xm5fSKrHIezyYoU6KEOByjlwQCgnYBv
4tSuEI/F0IlLrEdgYqC6xqc=
=+CvU
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Package missing

2007-03-09 Thread Kris Kennaway
On Fri, Mar 09, 2007 at 11:09:04AM +0100, Olivier Vimont wrote:
 The pdflib binary package which is needed by gnuplot-4.0 is missing on 
 the AMD64 port of the 6.2 release in th ftp site
 Thanks if you can restore it

This software may not be freely redestributed according to the license
imposed by the software authors.  Please talk to them about your
concerns.

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


Re: zoneinfo FreeBSD 4.4 - 4.11

2007-03-09 Thread Steve Bertrand
I have been reading lots about simply updateing the zone file itself, 
but
have not been undersztanding what I am seeing. If anyone could 
simplify, I

would appreciate it.


You can simply take the /etc/localtime file from one of the completed 
servers, copy it to the server that is failing, and put it into /etc, 
overwriting the original.


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


Re: remote install of 6.2

2007-03-09 Thread dex

Also see my post to doc about restoring dump files over an http
connection, in case your existing systems' partitions don't have
enough room to temporarily store them.

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


Re: Running script from rc.d as local user

2007-03-09 Thread RW
On Thu, 08 Mar 2007 09:24:47 -0500
Gerard Seibert [EMAIL PROTECTED] wrote:

 I tried starting it from CRON; however, the variables:
 
 GPG_AGENT_INFO
 GPG_TTY
 
  are not set..
 

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


Re: ext3 support

2007-03-09 Thread RW
On Thu, 08 Mar 2007 18:06:29 +0100
Benjamin Sobotta [EMAIL PROTECTED] wrote:

  dear list,
  
  does freebsd 6.x support the ext3 filesystem?
  
  TIA
  
  zheyu
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
 Hi!
 
 AFAIK it doesn't support ext3. However, it supports ext2, which is
 structurally the same as ext2 except that it doesn't do any
 journaling. Hence, you should be able to mount and use ext3 except
 that the journal will not be used.

There's fsck support for syncing the ext3 journal. I think it's in a
port, but I can't remember which. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Changing command-line resolution

2007-03-09 Thread Frank Staals

John Nielsen wrote:

On Wednesday 07 March 2007 21:48, frzburn wrote:
  

Hi!
I was wondering if there is a way to change the command-line

snip

FreeBSD 6.2-STABLE amd64.



Build and install a kernel with options VESA and SC_PIXEL_MODE. Reboot. 
Run vidcontrol -i mode. Pick one you like and make a note of its number. 
Then do something similar to vidcontrol -f 8x14 cp437-8x14.fnt MODE_NNN, 
replacing NNN with the mode you noted previously and 8x14 with one of 8x8, 
8x14 or 8x16. The font file should match the font size and codepage you 
want your terminal to be in. Repeat until you find the settings you want, 
then add a line like this to /etc/rc.conf:

allscreens_flags=-f 8x14 cp437-8x14.fnt MODE_NNN
using the same substitutions.

See also man vidcontrol, man sc, and the FreeBSD handbook.

JN
___
  
If I'm correct that's not going to work since VESA module doesn't work 
on an amd64 system, or at least that's what I thought I read some time 
ago. Not sure what your goal is with your machine but if it's not meant 
as a server you can always install Xorg with some lightweight WM.


Good luck,

--
-Frank Staals


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


Re: limitiation on memory allocation

2007-03-09 Thread Ivan Voras
Dima Sorkin wrote:
 Hi.
 
 On FreeBSD 6.2 i386 with 2GB of physical memory I can't allocate
 more than 500Mb for my program.
 
 I'm a new to FreeBSD. Is this limitatin is something known,
 how do I overcome it ?

Google for MAXDSIZ and relevent discussions.

See here for example:
http://lists.danga.com/pipermail/memcached/2005-April/001349.html



signature.asc
Description: OpenPGP digital signature


Re: awk question

2007-03-09 Thread [EMAIL PROTECTED]
You are trying to remove the files whose names are given by
ls -lt | awk '{if ($8 == 2006) print $9}';

If you are in the same directory, or you have full pathnames, you can
do just (and avoid the 'for  do  done' loop)
rm  $( ls -lt | awk '{if ($8 == 2006) print $9}' )
If this exceeds the maximum length of a line, just use  xargs  also.


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


Re: ext3 support

2007-03-09 Thread Carsten Fuchs
On Fri, 9 Mar 2007 18:12:06 + RW [EMAIL PROTECTED] wrote:

 There's fsck support for syncing the ext3 journal. I think it's in a
 port, but I can't remember which. 

sysutils/e2fsprogs


___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Epson P2100 parallel port mode

2007-03-09 Thread Milan Knizek
Hello list!

I have spent some time installing Epson P2100 (aka P2200 in the U.S.) - the 
USB connection did not work (printer was recognised, but any access to it 
caused only a quick double-tick of the printing head and nothing more). The 
good thing was that it supports also the parallel connection.

Once connected via /dev/lpt0, the printer worked, but printed _very_ slowly 
(and /var/log/messages announced irq storm on irq7).

A search on google revealed that it is possible to switch the port mode 
to extended polling by command lptcontrol -e -d /dev/lpt0. Then, the 
printer worked normally.

ltpcontrol supports only connected (and powered on) printers, which is 
usually not the case during boot, and it must be run with root privileges.

My question: how do I set the default port mode to extended polling instead 
of iterrupt driven during the boot process?

Thanks for ideas,
Milan

P.S.
6.2-STABLE FreeBSD 6.2-STABLE i386 on ASUS P5LD2 Deluxe with Pentium D.

dmesg:
ppc0: ECP parallel printer port port 0x378-0x37f,0x778-0x77f irq 7 drq 3 on 
acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
ppbus0: Parallel port bus on ppc0
...
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port


-- 
Milan Knížek
http://milan-knizek.net/
e-mail knizek {na} volny {v} cz
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Running script from rc.d as local user

2007-03-09 Thread Lowell Gilbert
Lowell Gilbert [EMAIL PROTECTED] writes:

 Gerard Seibert [EMAIL PROTECTED] writes:

 On Thu, 08 Mar 2007 08:52:20 -0600
 Derek Ragona [EMAIL PROTECTED] wrote:

 You should add a line:
 /usr/bin/su [to your username]

 OK, I'll try that.

 A way to do this without needing special permissions to
 touch system files is to use cron; it has an @reboot
 time specification for this purpose.

The original message finally arrived in my mailbox, so I see that
you've already tried cron and didn't know how to set environmental
variables that way.  The answers are simple; set them in the crontab
(usually on the command line you're executing), or write a wrapper
script and call that from your crontab.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: limitiation on memory allocation

2007-03-09 Thread Derek Ragona

Dima,

Not all the settings there are tuneable.  In 6.X the allowable memory is 
somewhat automatic based on the max users.  Your kernel is set to 384.  You 
can try changing that.


You can also make some kernel settings in:
/boot/loader.conf

You can see the possible variables to set in:
/boot/defaults/loader.conf

I think the one variable you may want to change is:
kern.maxdsiz=to your actual real memory size
Don't make this larger than the real memory, in my experience that will 
cause the system to not boot properly into multi-user.


-Derek


At 11:06 AM 3/9/2007, Dima Sorkin wrote:

Hi.
I've passed over the man page and even over the man 3 page.
What exactly should I look for ?

Thank you.
Dima.

output of 'sysctl -a' is attached.


On 3/9/07, Derek Ragona [EMAIL PROTECTED] wrote:


 check out your sysctl values.
 man sysctl
 for more information.

 -Derek



 At 08:32 AM 3/9/2007, Dima Sorkin wrote:

Hi.

 On FreeBSD 6.2 i386 with 2GB of physical memory I can't allocate
 more than 500Mb for my program.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



Content-Type: application/octet-stream; name=sysctl-a.output
Content-Disposition: attachment; filename=sysctl-a.output
X-Attachment-Id: f_ez1pyii1

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


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: Epson P2100 parallel port mode

2007-03-09 Thread Derek Ragona
You may be able to change the port setting in your BIOS, most newer BIOS 
allow this.


-Derek


At 01:25 PM 3/9/2007, Milan Knizek wrote:

Hello list!

I have spent some time installing Epson P2100 (aka P2200 in the U.S.) - the
USB connection did not work (printer was recognised, but any access to it
caused only a quick double-tick of the printing head and nothing more). The
good thing was that it supports also the parallel connection.

Once connected via /dev/lpt0, the printer worked, but printed _very_ slowly
(and /var/log/messages announced irq storm on irq7).

A search on google revealed that it is possible to switch the port mode
to extended polling by command lptcontrol -e -d /dev/lpt0. Then, the
printer worked normally.

ltpcontrol supports only connected (and powered on) printers, which is
usually not the case during boot, and it must be run with root privileges.

My question: how do I set the default port mode to extended polling instead
of iterrupt driven during the boot process?

Thanks for ideas,
Milan

P.S.
6.2-STABLE FreeBSD 6.2-STABLE i386 on ASUS P5LD2 Deluxe with Pentium D.

dmesg:
ppc0: ECP parallel printer port port 0x378-0x37f,0x778-0x77f irq 7 drq 3 on
acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
ppbus0: Parallel port bus on ppc0
...
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port


--
Milan Knížek
http://milan-knizek.net/
e-mail knizek {na} volny {v} cz
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: DEFAULT CFLAGS SETTING

2007-03-09 Thread Christian Walther

On 09/03/07, RW [EMAIL PROTECTED] wrote:

On Thu, 08 Mar 2007 21:04:50 -0800
Garrett Cooper [EMAIL PROTECTED] wrote:

 Christian Walther wrote:
  On 08/03/07, White Hat [EMAIL PROTECTED] wrote:

[...]

  CFLAGS can be defined in /etc/make.conf
  My CFLAGS is set to -O2 -pipe.

Note that by explicitly defining CFLAGS, you override the
-fno-strict-aliasing that's set by default.

FreeBSD provides sensible defaults for all of these things, based on
CPUTYPE.


Thanks for pointing this out. I did read
/usr/share/examples/etc/make.conf to get some sensible settings, which
is why I've chosen it to set CFLAGS like I did.
Since -fno-strict-aliasing is that important, it should probably be
mentioned in /usr/share/examples/etc/make.conf

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


Re: zoneinfo FreeBSD 4.4 - 4.11

2007-03-09 Thread DAve

Dan Busarow wrote:


On Mar 9, 2007, at 7:40 AM, Vasile Cristescu wrote:


On Friday 09 March 2007 15:11, Grant Peel wrote:

Hi all,

I got all my servers playiung nice with the new port for zoneinfo, 
all but

one which is a simple slave nameserver ruynning FreeBSD 4.4.

When I installed the port on it, and try to run make, I get this:

voyager ROOT /usr/gpeel/zoneinfo  make
zoneinfo-: You need to define PORTNAME and PORTVERSION instead of 
PKGNAME.

(This port is too old for your bsd.port.mk, please update it to match
 your bsd.port.mk.)
*** Error code 1

Stop.

I have been reading lots about simply updateing the zone file itself, 
but
have not been undersztanding what I am seeing. If anyone could 
simplify, I

would appreciate it.



Grant,

Search for an email I sent to the list on 2/22 with Subject

 Determining daylight savings changes on BSD

It has the steps needed to update manually from source.

Here's the steps

If you can't use the ports to update your time zone files here is the 
manual procedure.


1. create a new directory and cd into it
   e.g. # mkdir myzoneinfo; cd myzoneinfo

2. # fetch ftp://elsie.nci.nih.gov/pub/tzdata2007b.tar.gz

3. # tar -zxvf tzdata2007b.tar.gz

4. you will now have a bunch of files in the directory extracted from 
tzdata2007b.

   you need to edit zone.tab and comment out these lines

#AX +6006+01957 Europe/Mariehamn
#GG +4927-00232 Europe/Guernsey
#IM +5409-00428 Europe/Isle_of_Man
#JE +4912-00207 Europe/Jersey
#ME +4226+01916 Europe/Podgorica
#RS +4450+02030 Europe/Belgrade
#TL -0833+12535 Asia/Dili

5. run this command
   # zic -d ./zoneinfo -p America/Los_Angeles -m 0644 -y ./yearistype \
   africa antarctica asia australasia etcetera europe \
   factory northamerica southamerica systemv

   that's all one long line
   the zic command will create a new directory named zoneinfo and
   fill it with the new zoneinfo files.  You can compare it to
   /usr/share/zoneinfo

6. install the new files by running
   # cp -R -p ./zoneinfo/ /usr/share/zoneinfo
   # cp ./zone.tab /usr/share/zoneinfo
   # tzsetup

7. to verify that all went well run
   # zdump -v /etc/localtime | grep 2007
   your should get

/etc/localtime  Sun Mar 11 09:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 
PST isdst=0 gmtoff=-28800
/etc/localtime  Sun Mar 11 10:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 
PDT isdst=1 gmtoff=-25200
/etc/localtime  Sun Nov  4 08:59:59 2007 UTC = Sun Nov  4 01:59:59 2007 
PDT isdst=1 gmtoff=-25200
/etc/localtime  Sun Nov  4 09:00:00 2007 UTC = Sun Nov  4 01:00:00 2007 
PST isdst=0 gmtoff=-28800



I've done this on 1/2 dozen older 4.x and 5.x servers and it works fine.


Just a heads up, that file is now tzdata2007c.tar.gz, created on Feb 
26th. At least I couldn't grab tzdata2007b.tar.gz anymore.


DAve


--
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?

Maybe they forgot who made that choice possible.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD on IDE Flash disk drive

2007-03-09 Thread Nejc Škoberne

Hello,

I plan to install a FreeBSD 6.2 router/gateway/DHCP server on a EPIA
box with 1GB Transcend IDE Flash drive. Since Transcend says that
this device is capable of 10,000 insertion/removal cycles I assume
that I must minimize the number of writes to the drive. It is okay
with me if I have to configure syslog to log to another machine.

Any suggestions/instructions how to achieve this? Any experienced
users regarding this matter?

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


Re: FreeBSD on IDE Flash disk drive

2007-03-09 Thread Nejc Škoberne

Hey,


this device is capable of 10,000 insertion/removal cycles I assume


Sorry for replying my own post, but now I fould out that this actually
means how many times can I insert/remove the module into/from the
motherboard. Actually the number I am interested in is much higher:
2,000,000 Program/Erase cycles. However I have no idea how to measure
how many writes are performed during a normal operation of a FreeBSD
server running DHCP and pf firewall.

Thanks,
Nejc

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


pgp-mime on kmail without gpg-agent

2007-03-09 Thread Joe Vender
Is it possible to use pgp-mime on kmail without using gpg-agent? When I try 
it, decryption fails with an error message about a bad passphrase, even 
though kmail never even prompts for a passphrase when opening an pgp-mime 
encrypted mail if I don't have gnupg set to use an agent and no agent is 
running.

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


Custom scripts files locations?

2007-03-09 Thread Andy Kendall
Where should I put any scripts I write or use for the use of all system
users please? For example in the FreeBSD Manual in section 9.4.3.2 there's a
script for Network Printing; where should this reside please?

 

Thanks

 

Andy

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


Re: FreeBSD on IDE Flash disk drive

2007-03-09 Thread Ivan Voras
Nejc Škoberne wrote:

 However I have no idea how to measure
 how many writes are performed during a normal operation of a FreeBSD
 server running DHCP and pf firewall.

You could get an upper bound by running a perpetual iostat...



signature.asc
Description: OpenPGP digital signature


Re: Custom scripts files locations?

2007-03-09 Thread Jerry McAllister
On Fri, Mar 09, 2007 at 08:55:12PM -, Andy Kendall wrote:

 Where should I put any scripts I write or use for the use of all system
 users please? For example in the FreeBSD Manual in section 9.4.3.2 there's a
 script for Network Printing; where should this reside please?

Do you mean that you want some script available for any user
to run at their discretion?   Or that you want the system to
run before any users get on so something is done for them?

In the first case, probably /usr/local/bin is the most common place.

In the second, /usr/local/etc/rc.d is the place to put them to have
them run at boot to multi-user time.

If those script in /usr/local/bin can do any thing serious, like
write to people's files then you might want to make a little
shell written in c to run them so the users do no run them directly,
but only the binary.  Then stash the actual scripts somewhere else.

jerry

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


Re: Custom scripts files locations?

2007-03-09 Thread Bob
On Fri, 9 Mar 2007 20:55:12 -
Andy Kendall [EMAIL PROTECTED] wrote:

 Where should I put any scripts I write or use for the use of all
 system users please?

public executables go in /usr/local/bin

Bob

-- 
 /\
 \ /ASCII Ribbon Campaign-  Motor Vessel Tamara B
  X   against HTML email  vCards-  http://www.tamara-b.org
 / \Tania Our Cat http://www.tamara-b.org/t1.jpg
.   .  http://www.tamara-b.org/t2.jpg


signature.asc
Description: PGP signature


Re: FreeBSD on IDE Flash disk drive

2007-03-09 Thread Derek Ragona
You will want the swap to some other device such a a regular hard drive.  A 
flash drive can get worn out cells and fail.


-Derek


At 02:09 PM 3/9/2007, =?ISO-8859-2?Q?Nejc_=A9koberne?= wrote:

Hello,

I plan to install a FreeBSD 6.2 router/gateway/DHCP server on a EPIA
box with 1GB Transcend IDE Flash drive. Since Transcend says that
this device is capable of 10,000 insertion/removal cycles I assume
that I must minimize the number of writes to the drive. It is okay
with me if I have to configure syslog to log to another machine.

Any suggestions/instructions how to achieve this? Any experienced
users regarding this matter?

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

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: FreeBSD on IDE Flash disk drive

2007-03-09 Thread Nejc Škoberne

Hello Derek,

You will want the swap to some other device such a a regular hard 
drive.  A flash drive can get worn out cells and fail.


Also when just reading the flash drive? I would like to write to it
only when it is absolutely necessary (configuration change). I think
2 million configuration changes should be enough? If it lasts only year,
no problem I can exchange it every now and then. I just hope it is more
damage-proof than ordinary hard drives (for example at power outages).

Bye,
Nejc

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


Re: zoneinfo FreeBSD 4.4 - 4.11

2007-03-09 Thread Dan Busarow


On Mar 9, 2007, at 1:04 PM, DAve wrote:


Dan Busarow wrote:

On Mar 9, 2007, at 7:40 AM, Vasile Cristescu wrote:

On Friday 09 March 2007 15:11, Grant Peel wrote:

Hi all,

I got all my servers playiung nice with the new port for  
zoneinfo, all but

one which is a simple slave nameserver ruynning FreeBSD 4.4.

When I installed the port on it, and try to run make, I get this:

voyager ROOT /usr/gpeel/zoneinfo  make
zoneinfo-: You need to define PORTNAME and PORTVERSION instead  
of PKGNAME.
(This port is too old for your bsd.port.mk, please update it to  
match

 your bsd.port.mk.)
*** Error code 1

Stop.

I have been reading lots about simply updateing the zone file  
itself, but
have not been undersztanding what I am seeing. If anyone could  
simplify, I

would appreciate it.


Grant,
Search for an email I sent to the list on 2/22 with Subject
 Determining daylight savings changes on BSD
It has the steps needed to update manually from source.
Here's the steps
If you can't use the ports to update your time zone files here is  
the manual procedure.

1. create a new directory and cd into it
   e.g. # mkdir myzoneinfo; cd myzoneinfo
2. # fetch ftp://elsie.nci.nih.gov/pub/tzdata2007b.tar.gz
3. # tar -zxvf tzdata2007b.tar.gz
4. you will now have a bunch of files in the directory extracted  
from tzdata2007b.

   you need to edit zone.tab and comment out these lines
#AX +6006+01957 Europe/Mariehamn
#GG +4927-00232 Europe/Guernsey
#IM +5409-00428 Europe/Isle_of_Man
#JE +4912-00207 Europe/Jersey
#ME +4226+01916 Europe/Podgorica
#RS +4450+02030 Europe/Belgrade
#TL -0833+12535 Asia/Dili
5. run this command
   # zic -d ./zoneinfo -p America/Los_Angeles -m 0644 -y ./ 
yearistype \

   africa antarctica asia australasia etcetera europe \
   factory northamerica southamerica systemv
   that's all one long line
   the zic command will create a new directory named zoneinfo and
   fill it with the new zoneinfo files.  You can compare it to
   /usr/share/zoneinfo
6. install the new files by running
   # cp -R -p ./zoneinfo/ /usr/share/zoneinfo
   # cp ./zone.tab /usr/share/zoneinfo
   # tzsetup
7. to verify that all went well run
   # zdump -v /etc/localtime | grep 2007
   your should get
/etc/localtime  Sun Mar 11 09:59:59 2007 UTC = Sun Mar 11 01:59:59  
2007 PST isdst=0 gmtoff=-28800
/etc/localtime  Sun Mar 11 10:00:00 2007 UTC = Sun Mar 11 03:00:00  
2007 PDT isdst=1 gmtoff=-25200
/etc/localtime  Sun Nov  4 08:59:59 2007 UTC = Sun Nov  4 01:59:59  
2007 PDT isdst=1 gmtoff=-25200
/etc/localtime  Sun Nov  4 09:00:00 2007 UTC = Sun Nov  4 01:00:00  
2007 PST isdst=0 gmtoff=-28800
I've done this on 1/2 dozen older 4.x and 5.x servers and it works  
fine.


Just a heads up, that file is now tzdata2007c.tar.gz, created on  
Feb 26th. At least I couldn't grab tzdata2007b.tar.gz anymore.


Thanks for cathing and posting that Dave.  It is indeed supposed to  
be tzdata2007c.tar.gz


Dan


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


Re: Kill a hanged disk i/o process...

2007-03-09 Thread Modulok

...alright then...

How do I work-around a situation where cp, hangs forever?

-Modulok-

On 3/9/07, Nikos Vassiliadis [EMAIL PROTECTED] wrote:

On Friday 09 March 2007 15:28, Modulok wrote:
 Thank you for your reply, it was quite informative and very much
 appreciated, but the underlying question remains un-answered:

 How do you kill a hanged process that (seemingly) cannot be killed because
 of the two conditions below?

 -It's hanged, so it's not ever going to self terminate.
 -It's a disk i/o process so not even root can kill it.


As I said before disk I/O is irrelevant.

 The gentle shutdown solution doesn't work: Even during shutdown the
process
 cannot be killed: it's hanged, it's disk i/o.

 How do you kill an un-killable process?

What makes you believe there is another official way
to kill a process?

Perhaps you should ask How do I work-around a situation
where my rm, cp, whatever hang forever?, if that's what
you are looking for.

 -Modulok-


 On 3/9/07, Nikos Vassiliadis [EMAIL PROTECTED] wrote:
 
  On Thursday 08 March 2007 13:49, Modulok wrote:
   To the best of my knowledge, most processes can be killed explicitly
   by kill -s KILL; There are a few which cannot, such as disk i/o
   processes. The idea here is data integrity.
 
  A process might be in cannot-be-killed condition while
  in kernel e.g. during a system call. That has to do with
  the completion of the system call, not with data integrity.
  The kernel tries to complete what was asked for.
 
  Also, Killing a process with SIGKILL is far from safe. To put
  it in another way data integrity can be guaranteed only
  by the program itself. For example it could have a defined
  behavior when it is signaled by e.g. SIGTERM, for example
  clean up data and exit. Or not. It's up to the programmer.
  Sending a SIGKILL will not give that chance. SIGKILL can
  not be handled. It will be terminated as soon as possible.
 
  Also, separate the meanings data integrity and filesystem
  data integrity. The filesystem will be in fine condition when
  a process gets killed by SIGKILL during file I/O, the data in
  the file most probably not.
 
  
   On the rare occasion however, (when attempting to recover data from
   corrupt disks for example), I've had a process invoked by the cp
   command, hang. This poses a significant problem as these processes are
   disk i/o processes, and as such cannot be terminated (even by root).
   So, other than physically hitting the reset button on the case, is
   there a more eloquent method of forcefully halting a hanged disk i/o
   process? The idea of you don't want to terminate a disk i/o process,
   it could corrupt the data isn't really a good argument, because if
   the process hangs and I have to punch the reset button anyway what's
   the difference?
 
  Pressing the button will leave your filesystem in a undefined state,
  you are risking filesystem integrity. Keep in mind that while in use
  (open files etc) a filesystem cannot be unmounted. Anyway, try to shut
  the computer down, it's far more gentle than pressing the button. At
  least the rest of the filesystems will be cleanly unmounted.
 
  Is there something in particular you want to achieve?
 
  Nikos
 



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


Re: Epson P2100 parallel port mode

2007-03-09 Thread Roland Smith
On Fri, Mar 09, 2007 at 08:25:34PM +0100, Milan Knizek wrote:
 A search on google revealed that it is possible to switch the port mode 
 to extended polling by command lptcontrol -e -d /dev/lpt0. Then, the 
 printer worked normally.
 
 ltpcontrol supports only connected (and powered on) printers, which is 
 usually not the case during boot, and it must be run with root privileges.
 
 My question: how do I set the default port mode to extended polling instead 
 of iterrupt driven during the boot process?

You have to add the setting to /boot/device.hints. See 
http://www.xs4all.nl/~rsmith/freebsd/#parport

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpHjL9J7QtxH.pgp
Description: PGP signature


Mounting into a jail

2007-03-09 Thread Troy Schultz

Hello,

I am running FreeBSD 6.2.

I am currently mounting a smb share and then remounting the smb mount
into a jail with nullfs.

/etc/fstab
# smbfs mount
//user@servername/share /path/to/smb/mount  smbfs   rw  0   0
# local mount
/path/to/smb/mount  /path/to/jail/directory nullfs  rw,late 0   0

The main reason I am using this jail is for a webserver and I need to  
have

the web developer be able to write to this samba share

I originally tried mounting in fstab the smb share like this
//user@servername/share /path/to/smb/mount  smbfs   rw,uid=www  0 
  0
however, this did not work so I ended up making the share point owned  
by the
user and group www this took care of it but I was wondering if there  
was a
better way to do this as far as passing through to a jail and maybe  
getting

the uid to actually work from within the fstab file.

Any suggestions would be welcomed.

Thanks,

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


Re: Custom scripts files locations?

2007-03-09 Thread Chris Slothouber

Dependent on the type of script, I would usually use /usr/local/bin

See hier(7) in the man pages.

Andy Kendall wrote:

Where should I put any scripts I write or use for the use of all system
users please? For example in the FreeBSD Manual in section 9.4.3.2 there's a
script for Network Printing; where should this reside please?

 


Thanks

 


Andy

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

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


Re: Mounting into a jail

2007-03-09 Thread Chad Leigh -- Shire.Net LLC


On Mar 9, 2007, at 3:11 PM, Troy Schultz wrote:


Hello,

I am running FreeBSD 6.2.

I am currently mounting a smb share and then remounting the smb mount
into a jail with nullfs.

/etc/fstab
# smbfs mount
//user@servername/share /path/to/smb/mount  smbfs   rw  0   0
# local mount
/path/to/smb/mount  /path/to/jail/directory nullfs  rw,late 0   0

The main reason I am using this jail is for a webserver and I need  
to have

the web developer be able to write to this samba share

I originally tried mounting in fstab the smb share like this
//user@servername/share /path/to/smb/mount  smbfs   rw,uid=www  0 
  0
however, this did not work so I ended up making the share point  
owned by the
user and group www this took care of it but I was wondering if  
there was a
better way to do this as far as passing through to a jail and maybe  
getting

the uid to actually work from within the fstab file.

Any suggestions would be welcomed.


I don't do this with smb but do do it with nfs.  I don't know about  
uid with smb but I just mount it on the base server inside the jails  
path.  Add the UID with no login capability to the base machine  
password file and then you can probably set uid in the base server as  
well.


Chad

---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net



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


Re: Help needed syncing Palm Treo 650 with FreeBSD

2007-03-09 Thread Aniruddha

Vince wrote:

Aniruddha wrote:
  

Vince wrote:


for devfs.rules add something like
[system=10]
add path 'ttyU*' mode 0666

to /etc/devfs.rules

you also need to add
devfs_system_ruleset=system

to rc.conf


Vince

  
  

Ok I will try that :-)


Oh i forgot to mention you will have to restart devfs afterwards,
/etc/rc.d/devfs restart

Vince

  

Ehm I can't find  /etc/devfs.rules:

ls /etc/ | grep dev
devd.conf
devfs.conf




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


Re: Help needed syncing Palm Treo 650 with FreeBSD

2007-03-09 Thread Chris Slothouber

Check out /etc/defaults/devfs.rules

Aniruddha wrote:

Vince wrote:

Aniruddha wrote:
 

Vince wrote:
   

for devfs.rules add something like
[system=10]
add path 'ttyU*' mode 0666

to /etc/devfs.rules

you also need to add
devfs_system_ruleset=system

to rc.conf


Vince



Ok I will try that :-)


Oh i forgot to mention you will have to restart devfs afterwards,
/etc/rc.d/devfs restart

Vince

  

Ehm I can't find  /etc/devfs.rules:

ls /etc/ | grep dev
devd.conf
devfs.conf




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

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


Re: Help needed syncing Palm Treo 650 with FreeBSD

2007-03-09 Thread Aniruddha

Chris Slothouber wrote:

Check out /etc/defaults/devfs.rules


Thanks at least now I found devfs.rules :-) . I adjusted it accordingly 
(and /etc/rc.conf) but still my Palm refuses to sync. Maybe this error 
message reveals something:


# /etc/rc.d/devfs restart
/etc/rc.d/devfs: WARNING: devfs_set_ruleset: you must specify a ruleset
number
/etc/rc.d/devfs: WARNING: devfs_apply_ruleset: you must specify a ruleset


*Part of devfs.rules which I edited:*
# Devices typically needed to support logged-in users.
# Requires: devfsrules_hide_all
#
[devfsrules_unhide_login=3]
add path 'ptyp*' unhide
add path 'ptyq*' unhide
add path 'ptyr*' unhide
add path 'ptys*' unhide
add path 'ptyP*' unhide
add path 'ptyQ*' unhide
add path 'ptyR*' unhide
add path 'ptyS*' unhide
add path 'ttyp*' unhide
add path 'ttyq*' unhide
add path 'ttyr*' unhide
add path 'ttys*' unhide
add path 'ttyP*' unhide
add path 'ttyQ*' unhide
add path 'ttyR*' unhide
add path 'ttyS*' unhide
add path fd unhide
add path 'fd/*' unhide
add path stdin unhide
add path stdout unhide
add path stderr unhide
add path 'ttyU*' mode 0666
*
My changes to /etc/rc.conf*
# -- sysinstall generated deltas -- # Thu Mar  8 17:55:42 2007
# Created: Thu Mar  8 17:55:42 2007
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
hostname=freebsd.lan
ifconfig_sk0=DHCP
inetd_enable=NO
ipv6_enable=YES
keymap=us.iso
linux_enable=YES
sshd_enable=YES
usbd_enable=YES
devfs_system_ruleset=system

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


Re: FreeBSD on IDE Flash disk drive

2007-03-09 Thread Tuc at T-B-O-H.NET
 
 Hello Derek,
 
  You will want the swap to some other device such a a regular hard 
  drive.  A flash drive can get worn out cells and fail.
 
 Also when just reading the flash drive? I would like to write to it
 only when it is absolutely necessary (configuration change). I think
 2 million configuration changes should be enough? If it lasts only year,
 no problem I can exchange it every now and then. I just hope it is more
 damage-proof than ordinary hard drives (for example at power outages).
 
 Bye,
 Nejc
 
The answer is NO... (IMNSHO)

I have a few Soekris servers running FreeBSD 5.5 at a 
*REMOTE* location (When I say remote, I don't mean the next city, or
next state, or even a few states away... I mean a few states away
*AND* you need a 4WD to drive 9 miles to get to it. Its ~500 feet
from the Atlantic Ocean in an area without any paved roads). I
have CF cards in them for the primary, the more durable/rugged of 
the SanDisk line and USB for swap/ports/squid data. It is *STILL* 
only rated for about 10K R/W operations. I also find when the facility 
DOES lose power (We are still building it out) that the CF and USB 
seem MUCH MORE prone to having issues coming back.

I had thought to use CF/USB because they wouldn't crash and
be more tolerant of bad conditions (heat and salt air humidity). 
I'm pretty much giving up and switching to notebook IDE drives the
next time I am there.

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


Re: FreeBSD on IDE Flash disk drive

2007-03-09 Thread Warren Block

On Fri, 9 Mar 2007, Nejc Škoberne wrote:


Sorry for replying my own post, but now I fould out that this actually
means how many times can I insert/remove the module into/from the
motherboard. Actually the number I am interested in is much higher:
2,000,000 Program/Erase cycles. However I have no idea how to measure
how many writes are performed during a normal operation of a FreeBSD
server running DHCP and pf firewall.


m0n0wall gets around this by running out of RAM after booting from 
flash (or CD, or hard disk):


http://m0n0.ch/wall/

pfSense is a variation of m0n0wall that uses pf for the firewall:

http://www.pfsense.org

Both of these provide DHCP and firewalls.  m0n0wall uses IPFW, while 
pfSense uses pf.


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

Re: Custom scripts files locations?

2007-03-09 Thread Warren Block

On Fri, 9 Mar 2007, Andy Kendall wrote:


Where should I put any scripts I write or use for the use of all system
users please?


Depends on what they're for; 'man hier' describes the general rules.

For example in the FreeBSD Manual in section 9.4.3.2 there's a script 
for Network Printing; where should this reside please?


The print filter scripts shown there are placed in /usr/local/libexec. 
They're not really general-purpose scripts, but for the use of lpd.


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


Re: FreeBSD on IDE Flash disk drive

2007-03-09 Thread Nejc Škoberne

Hi,

m0n0wall gets around this by running out of RAM after booting from flash 
(or CD, or hard disk):


Yes, I know both m0n0wall and pfSense, but I prefer a custom FreeBSD 
installation
since I have developed some custom scripts which I would like to use.

This is what I am trying to do now - booting the system from flash IDE
drive, creating mfs filesystems for /tmp and /var (just enabling them in 
rc.conf)
and mounting all the partitions read-only. And of course I configured syslog to
log to some remote host. So when I need to make a configuration change (rc.conf,
dhcpd.conf), I just remount / or /usr read-write temporariliy, make the change 
and
then remount back to read-only. This way, I guess, there will be minimal writes
to the drive.

Now I plan to do some power outage testing. Will let you know.

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


Periodic xl watchdog timeouts on 6.2-RELEASE

2007-03-09 Thread Brian J. Conway
I'm trying to track down a watchdog timeout that shows on average once a
day, usually at a random time when idle.  The system has two 3c905C NICs
and does ipfw+natd duty with a couple services, and spends most of its
time idle, both CPU and bandwidth-wise.  Nothing out of the ordinary
happens when saturating my cable connection at ~8 Mbps, be it with HTTP or
100+ BitTorrent connections.  However, I'll randomly see in the logs
during quieter times:

Mar 10 00:04:46 imogen kernel: xl0: watchdog timeout
Mar 10 00:04:46 imogen kernel: xl0: link state changed to DOWN
Mar 10 00:04:48 imogen kernel: xl0: link state changed to UP

It happens on either interface and doesn't cause any problems (so far),
the interface always comes back up.  I tried swapping a 3rd 3c905C of a
slightly older revision for one of them, and the messages still showed up
periodically on either.  The same hardware ran without any issues or
timeouts on 4.11, and is currently running 6.2-RELEASE plus security
updates.  Kernel is GENERIC with a few unneeded items taken out.  Onboard
EEPro and sound are disabled in the BIOS.  I've also swapped out the
ethernet cables for kicks, no change.  Pciconf (cards at the end) and
dmesg are below.  Any ideas would be great, thanks.

$ pciconf -lv
[EMAIL PROTECTED]:0:0:class=0x06 card=0x25608086 chip=0x25608086
rev=0x01 hdr=0x00
vendor   = 'Intel Corporation'
device   = '82845G/GL/GV/GE/PE DRAM Controller / Host-Hub I/F Bridge'
class= bridge
subclass = HOST-PCI
[EMAIL PROTECTED]:2:0: class=0x03 card=0x56418086 chip=0x25628086 rev=0x01
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82845G/GL/GV/GE/PE Integrated Graphics Device'
class= display
subclass = VGA
[EMAIL PROTECTED]:29:0:class=0x0c0300 card=0x56418086 chip=0x24c28086
rev=0x01 hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:29:1:class=0x0c0300 card=0x56418086 chip=0x24c48086
rev=0x01 hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:29:2:class=0x0c0300 card=0x56418086 chip=0x24c78086
rev=0x01 hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:29:7:class=0x0c0320 card=0x56418086 chip=0x24cd8086
rev=0x01 hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB 2.0 EHCI
Controller'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:30:0:class=0x060400 card=0x chip=0x244e8086
rev=0x81 hdr=0x01
vendor   = 'Intel Corporation'
device   = '82801BA/CA/DB/DBL/EB/ER/FB (ICH2/3/4/4/5/5/6), 6300ESB Hub
Interface to PCI Bridge'
class= bridge
subclass = PCI-PCI
[EMAIL PROTECTED]:31:0:class=0x060100 card=0x chip=0x24c08086
rev=0x01 hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge'
class= bridge
subclass = PCI-ISA
[EMAIL PROTECTED]:31:1:  class=0x01018a card=0x56418086 chip=0x24cb8086
rev=0x01 hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB/DBL (ICH4/ICH4-L) UltraATA/100 EIDE Controller'
class= mass storage
subclass = ATA
[EMAIL PROTECTED]:31:3:class=0x0c0500 card=0x56418086 chip=0x24c38086
rev=0x01 hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller'
class= serial bus
subclass = SMBus
[EMAIL PROTECTED]:0:0:   class=0x02 card=0x100010b7 chip=0x920010b7 rev=0x78
hdr=0x00
vendor   = '3COM Corp, Networking Division'
device   = '3C905C-TX Fast EtherLink for PC Management NIC'
class= network
subclass = ethernet
[EMAIL PROTECTED]:1:0:   class=0x02 card=0x100010b7 chip=0x920010b7 rev=0x74
hdr=0x00
vendor   = '3COM Corp, Networking Division'
device   = '3C905C-TX Fast EtherLink for PC Management NIC'
class= network
subclass = ethernet

Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE-p2 #0: Sun Mar  4 20:49:27 UTC 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/IMOGEN-1
ACPI APIC Table: INTEL  D845GVS1
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.00GHz (1999.78-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf24  Stepping = 4
 
Features=0x3febfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,
MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
real memory  = 535035904 (510 MB)

question?

2007-03-09 Thread Roofscum614
hi i am doing a project for school:
 
find an alternative operating system - one that will run my  computer
without Windows being installed.  The cheaper the better (Hint  start your
search with the word free).  Find out what the software  does, what
applications it supports (e.g., will it run Microsoft Office), how  much it
costs. 


does your OS relate to this project? any help would be appreciated.
 
thank  you
tom gunderman
BRBRBR**BR AOL now offers free 
email to everyone.  Find out more about what's free from AOL at 
http://www.aol.com.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mounting usb flash drive as user

2007-03-09 Thread Jon Wolfgang

I am trying to mount a usb flash drive as a user under FreeBSD 6.2-RELEASE.

I have followed the steps in the handbook, but it is not quite working.

My user account is jon and is a member of the operator group.  I have 
set the vfs.usermount variable to 1.


I am trying to mount the drive at /usbdrv.  Here is a terminal output.

Script started on Fri Mar  9 23:26:53 2007
[EMAIL PROTECTED] ~]$ sysctl vfs.usermount
vfs.usermount: 1
[EMAIL PROTECTED] ~]$ ls -l /dev | grep da0
crw-r-  1 root  operator0, 163 Mar  9 22:38 da0
crw-rw  1 root  operator0, 164 Mar  9 22:38 da0s1
[EMAIL PROTECTED] ~]$ ls -l / | grep usbdrv
drwxr-xr-x   2 jon   jon 512 Mar  7 18:25 usbdrv/
[EMAIL PROTECTED] ~]$ mount -t msdos /dev/da0s1 /usbdrv
mount_msdosfs: /dev/da0s1: Operation not permitted
[EMAIL PROTECTED] ~]$ exit

Script done on Fri Mar  9 23:27:37 2007

However, if I su to root, and mount and unmount the drive, then the user 
is able to mount it.  This is kind of annoying though.


Did I miss a step somewhere?  Any suggestions are appreciated.

Thanks,
Jon


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


Re: mounting usb flash drive as user [SOLVED]

2007-03-09 Thread Jon Wolfgang

Jon Wolfgang wrote:

Did I miss a step somewhere?  Any suggestions are appreciated.
As soon as I sent the message I had a moment of clarity!  I don't have 
the msdosfs compiled into the kernel and I don't load it at bootup.  The 
user account couldn't load the module dynamically.  By adding the line:


msdosfs_load=YES

in /boot/loader.conf, everything works fine.

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


Re: question?

2007-03-09 Thread [EMAIL PROTECTED]

On 09/03/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

hi i am doing a project for school:

find an alternative operating system - one that will run my  computer
without Windows being installed.  The cheaper the better (Hint  start your
search with the word free).  Find out what the software  does, what
applications it supports (e.g., will it run Microsoft Office), how  much it
costs.


does your OS relate to this project? any help would be appreciated.



FreeBSD probably does relate to your project.

It costs time and effort.

It supports a few applications.
( http://www.freebsd.org/ports/categories-alpha.html )

In essence, the software allows a human (bark recognition
software might be in the works somewhere, I do not know) to
use the machine within the constraints of a certain set of the
universe of possibilities.  In other words, it can help you process
text.  It probably is of no use if you wish to drive nails into sheet-
rock with the machine.

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


Re: question?

2007-03-09 Thread Paulette McGee

--- [EMAIL PROTECTED] wrote:

 hi i am doing a project for school:
  
 find an alternative operating system - one that will
 run my  computer
 without Windows being installed.  The cheaper the
 better (Hint  start your
 search with the word free).  Find out what the
 software  does, what
 applications it supports (e.g., will it run
 Microsoft Office), how  much it
 costs. 
 
 
 does your OS relate to this project? any help would
 be appreciated.
  
 thank  you
 tom gunderman

BRBRBR**BR
 AOL now offers free 
 email to everyone.  Find out more about what's free
 from AOL at 
 http://www.aol.com.
 ___
 freebsd-questions@freebsd.org mailing list

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

Hello Tom,
With respect to your home work assignment:

does your OS relate to this project? any help would
be appreciated.

The answer is yes.  Now keep in mind that this is a
users mailing list.  This translates into support gets
done via volunteers; just an information tid bit.

find an alternative operating system - one that will
run my  computer without Windows being installed.

Here is the home page to FreeBSD: www.freebsd.org . 
It has a good description of the Operating System. 
The answer is yes, this is an operating system that
does not require the use of Microsoft Windows.

Find out what the software  does, what applications
it supports (e.g., will it run Microsoft Office), how
much it costs. 

FreeBSD by itself doesn't support Microsoft
Applications; however there is a program called WINE
that allows Microsoft applications to be run via a
compatibility layer via a Windows API (Application
Program Interface).  More information can be found
here: 

www.winehq.com

What other applications does FreeBSD support?

http://www.freebsd.org/ports/

The above is a link to a database that has over 16414
ports.  What is a port?  Well, I cannot do all your
home work.  :-)  

Keep in mind that there are several applications out
there that have similar functionality to the Microsoft
world.  Here is a quick list of equivalents:

Open Office similar to MS Office
http://www.openoffice.org/

Web browser
Firefox similar to IE
http://www.mozilla.org

There  are several more that exist; but this is just
to illustrate a point.  Browse the ports collection;
change the list to listed by logical group located
on the left hand side of the screen.  Ports will be
grouped by functionality.  

PS: Additional information can be found here:

http://www.freebsd.org/docs.html

Hope this helps.


 

Looking for earth-friendly autos? 
Browse Top Cars by Green Rating at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]