Installing additional ports in a jail!

2002-12-09 Thread Didier Wiroth
Hey,

(I'm a FreeBSD newbie)

How do you install ports software to a jail as it is not recommended to
make and make install from the ports collection inside the jail? I
know I can use pkg_ commands, but how do I install software from the
ports collection, if you do not use the ports collection of the jail
itself (I mean /jail1/usr/ports/ for example)?

I suppose that you have to make  make install from the host itself
(/usr/ports) and then install it to the jail (/jail1) but how? Does
someone have a link or a some doc to share?

Thanks for any kind of help
Didier



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



Re: xdm keeps showing me login window

2002-12-09 Thread Matthew Seaman
On Mon, Dec 09, 2002 at 12:31:06PM -, local.freebsd.questions wrote:
 On Mon, 9 Dec 2002 11:00:54 - , [EMAIL PROTECTED]
 (Matthew Seaman) wrote:
 
 On Mon, Dec 09, 2002 at 02:32:14AM -0800, Ali S. wrote:
  i have installed freebsd 4.7 on 
  compaq proliant 1600 with cirrus 5446 vga card
  i have configured X with xf86config
  
  but
  when i run xdm and enter my username password 
  it refreshes the screen and shows me the login
  window again...
  
  any idea?
 
 You should have a script ~/.xsession which contains a shell script to
 run the various X programs you require during your login session.
 That script should not exit until you decide to end your session.
 Typically that's done by running a session manager or a window manager
 in the foreground. eg. this is what I use:
 
 (details snipped)
 
 But you shouldn't *have* to do this. I did a 4.7 install, added
 XFree86-4 from ports, did the XF86Config, and new users (with empty
 home directories) get dropped into twm. The ~/.xsession should only
 be needed if you want something other than this.

Yes.  Quite so.  xdm(8) will cope with a completely missing
~/.xsession by giving you some sort of default session --- if twm(1)
does it for you, then all is fine and dandy.

What xdm(8) doesn't manage in a very friendly manner is a broken
~/.xsession file.  However, if you want to customise your X desktop
and you don't have sufficient access or you prefer not to fiddle with
the system-wide default session, then you're going to be writing
yourself your own ~/.xsession, which can be tricky for the
inexperienced.

The more heavy weight X environments like KDE or GNOME move most of
that configuration step into their own window or session managers,
which have a user friendly point'n'drool^Wclick interface. Even so,
they will still need something in the ~/.xsession to get themselves
going.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

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



IPSec with dynamic IPs?

2002-12-09 Thread Fernando Gleiser
Hi. I need to set up a VPN between a corporate LAN and roaming users. The
firewall is a FreeBSD 4.7 box with ipf/ipnat and will act as a security
gateway for the tunnel.

On the other side there are several Win2K/XP boxes connected to the
Internet via DSL/cable modem/dialup/carrier pigeon/whatever and they have
a different IP every time they connect.

The problem is: every single doc/tutorial/man page/ I've read says how to
set up the SA with static IPs, but now one side is dynamic.

So the questions are:

 1. Is this posible?
 2. If it's posible, can I do it with IKE/ISAKMP?
 3. Does anybody have a pointer to a doc which says how to do it? I'll rtfm,
just tell me where the fm is :)


  Thanks


  Fer




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



Re:

2002-12-09 Thread Jack
Dear Friend:

Thank you for your e-mail message.

Hearing from Rhode Islanders and citizens across the country is important to me.

For Rhode Island residents who have included a postal address in your messages,
I will respond to your concerns in the near future by postal mail.  If you did
not include an address, please reply back with that information and your
original message.

In addition,  due to the high volume of correspondence and limited resources, I
am regrettably unable to respond to out-of state inquiries.

Finally, I hope you will make use of my Senate office website,
http://reed.senate.gov/ which may be helpful in addressing your concerns.

Once again, thank you for contacting me.

Sincerely,


Jack Reed
U.S. Senator

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



Re: IPNAT help

2002-12-09 Thread Fernando Gleiser
On Tue, 17 Dec 2002, Mike wrote:

 Trying to setup a small local network off of my DSL. Currently I use a
 different OS to do this but I am switching, or trying to..

 I am using IPNAT and have added all of the options to redo the kernel.
 options   INET#InterNETworking
 options   IPFIREWALL
 options   IPDIVERT
 options   IPFIREWALL_VERBOSE
 options   IPFIREWALL_VERBOSE_LIMIT=10
 options   IPSTEALTH
 options   TCP_RESTRICT_RST
 options   INET6   #IPv6 communications protocols


If you use ipnat, you need options IPFILTER, and drop all options
IPFIREWALL* and IPDIVERT


 Recompiled and setup my firewall - Works great. Next went after ipnat
 and natd (Note some of these I do not need I think but which ones?) I
 need a clear step by step on this if someone has one.

If you use ipfilter, use ipnat. if you use ipfw, use natd.



 My RC.CONF with IP changed
 # -- sysinstall generated deltas -- # Sat Nov 30 16:10:02 2002
 # Created: Sat Nov 30 16:10:02 2002
 # 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.
 #My ADSL router
 defaultrouter=216.0.0.33
 ipfilter_enable=YES
 ipnat_anabled=YES

that should be ipnat_enable


 natd_enable=YES
 natd_interface=fpx0
 natd_flags=-f /etc/natd.conf
 gateway_enable=YES
 hostname=myhost.myhost.us
 ifconfig_fxp0=inet 216.0.0.35  netmask 255.255.255.248
 ifconfig_xl0=inet 192.168.0.2  netmask 255.255.255.0
 inetd_enable=NO
 ipv6_enable=YES
 kern_securelevel_enable=NO
 linux_enable=YES
 nfs_reserved_port_only=YES
 sendmail_enable=YES
 sshd_enable=YES
 usbd_enable=YES
 #required for ipfw support
 firewall_enable=YES
 #firewall_script=/etc/ipfw.rules
 firewall_script=/etc/rc.firewall
 firewall_type=simple
 firewall_quiet=NO #change to YES once happy with rules
 firewall_logging_enable=YES
 #extra firewalling options
 log_in_vain=YES
 tcp_restrict_rst=YES
 icmp_drop_redirect=YES

 Next added my ipnat.conf file

 map fxp0 192.168.0.0/24 - 216.222.2.35/29 portmap tcp/udp 1:65000


by default, ipnat looks for the rules in /etc/ipnat.rules. Move the file
or tweak the ipnat_rules var in rc.conf


Hope this helps

Fer


 So pick it apart and point me in the right direction if possible. I am
 continuing to try and make it work...

 Thanks

 PS - This is my First post on anything in FreeBSD, the rest from MySQL
 to SSHD SSL Apache PHP Webmin all went great!



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



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



Re: ncurses based front-end for ports-collection?

2002-12-09 Thread John Bleichert
On Sat, 7 Dec 2002, Anselm Garbe wrote:
 Date: Sat, 7 Dec 2002 14:25:19 +0100
 From: Anselm Garbe [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: ncurses based front-end for ports-collection?
 
 Hello *,
 
does anyone know, if there's a graphical front-end (ncurses based) for the 
ports-collection? If not I'm looking forward to develop one.
 
Following requirements should be supplied:
 
- different views for installed/available/upgradeable ports
- add/remove/upgrade/search function
- cvsup update option
- ports generator module
- customizable for any option (make, download site, etc.)
 
 Cheers,
Anselm
 
 -- 
 Anselm R. Garbe  ()  ascii ribbon campaign - against html mail 
  www.ebrag.de/\- against microsoft attachments
 

I don't think there's anything similar to this in the ports tree right 
now. I've been skirmishing with the idea of writing something similar in 
newt or ncurses.

Contact me off-list if you want to discuss it or if you want a tester.

JB

#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


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



Re: Re:

2002-12-09 Thread Kevin D. Kinsey, DaleCo, S.P.
From: Voicu Liviu [EMAIL PROTECTED]
To: Kevin D. Kinsey, DaleCo, S.P. [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Monday, December 09, 2002 9:19 AM
Subject: Re:


On Monday 09 December 2002 17:15, Kevin D. Kinsey, DaleCo, S.P.
wrote:
 pkg_info -r packagename,  e.g.:

 #pkg_info -r tiff-3.5.7
 Information for tiff-3.5.7:

 Depends on:
 Dependency: jpeg-6b_1

 HTH,
 Kevin Kinsey


Thanks but the problem begin when I don't know the version of
'packagename'...lett say mozilla.
Liviu


I'm sorry, I misread your question.  My approach was info
on packages already installed.  Take Stijn's advice

KDK


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



Problem compiling 4.2-RELEASE kernel on another 4-4 computer

2002-12-09 Thread Olivier Dony
Hello,

I've got some trouble compiling the 4.2-RELEASE kernel on my 4.4-RELASE
box. The 4.2 one (dentaal) doesn't have enough hd space to do it.
So I cvsup'd src-sys of tag=RELENG_4_0_2-RELEASE into /usr/DENTAAL on my 4.4
one. I tweaked GENERIC into DENTAAL, and ran config DENTAAL. I'm actually 
trying to add IPSEC support in the 4.2 kernel.
Now trying to make depend :

root@titan:/usr/DENTAAL/src/sys/i386/conf# ls
./  ../  DENTAAL  GENERIC  LINT  NEWCARD
root@titan:/usr/DENTAAL/src/sys/i386/conf# /usr/sbin/config DENTAAL   
Don't forget to do a ``make depend''
Kernel build directory is ../../compile/DENTAAL
root@titan:/usr/DENTAAL/src/sys/i386/conf# cd ../../compile/DENTAAL
root@titan:/usr/DENTAAL/src/sys/compile/DENTAAL# make depend
cc -c -O -pipe -fomit-frame-pointer -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I/usr/include  -D_KERNEL
-include opt_global.h -elf  -mpreferred-stack-boundary=2 ../../i386/i386/genas
sym.c
../../i386/i386/genassym.c:76: warning: implicit declaration of function
`__offsetof'
../../i386/i386/genassym.c:76: syntax error before `struct'
../../i386/i386/genassym.c:76: syntax error before `struct'
../../i386/i386/genassym.c:76: syntax error before `struct'
../../i386/i386/genassym.c:76: syntax error before `)'
 and a lot of other alike ...

I assume there is a problem with this __offsetof() macro not being defined, 
but how do I fix the problem? Or is there anything I am doing wrong? Do I
need to provide the kernel config file?

Thanks a lot for any hints

Olivier

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



Re:

2002-12-09 Thread Sean O'Neill
At 05:19 PM 12/9/2002 +0200, Voicu Liviu wrote:

On Monday 09 December 2002 17:15, Kevin D. Kinsey, DaleCo, S.P. wrote:
 pkg_info -r packagename,  e.g.:

 #pkg_info -r tiff-3.5.7
 Information for tiff-3.5.7:

 Depends on:
 Dependency: jpeg-6b_1

 HTH,
 Kevin Kinsey


Thanks but the problem begin when I don't know the version of
'packagename'...lett say mozilla.
Liviu


I think you mean how to determine the dependencies of a port that is not 
installed ?

I don't know of a command that will do that but you can look in the 
Makefile of the port app you want to install to see what the dependencies 
are.  For instance, these are the dependencies for Mozilla.  From the list 
below, its pretty obvious what Mozilla is DIRECTLY dependent on.

BUILD_DEPENDS=  zip:${PORTSDIR}/archivers/zip \
freetype-config:${PORTSDIR}/print/freetype2
LIB_DEPENDS=jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png \
mng.1:${PORTSDIR}/graphics/libmng \
freetype.9:${PORTSDIR}/print/freetype2


--

. ..- -. .. -..- .-. ..- .-.. . ... 
.-- .. -. -... .-.. --- .-- ... -.. .-. --- --- .-.. ...

Sean O'Neill 


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


trouble using afbackup

2002-12-09 Thread Marcel Stangenberger
Hi all,

Yesterday i installed afbackup on my freebsd servers. I did a test backup
with it and i worked fine. Now today i wanted to continue testing but i
kept getting this error report in the logfile of the afbackup server

Mon Dec  9 16:44:25 2002, Error: Command 87 ('W') failed (writing to tape
failed.)
Mon Dec  9 16:44:25 2002, Command Error: device is not open for writing.
Mon Dec  9 16:44:25 2002, Error: Connection to client lost. Exiting.
Mon Dec  9 16:44:28 2002, Exiting with bad status 1, current error: No
such file or directory

now with device i assume it means my tape unit (/dev/sa0) so i placed a
new tape in it and used mt -f /dev/sa0 erase to clean it. This went well
but when i restarted the backup afterwards i got the same error.

and i just can't seem to figure out what directory/file it can't find

the client logfiles say

Mon Dec  9 16:44:30 2002, Mon Dec  9 16:44:30 2002, Server Error: setting
the file failed.
Mon Dec  9 16:44:30 2002, Full backup finished.
Mon Dec  9 16:44:31 2002, Warning: Minor errors occurred during backup.
See the logfile `/var/log/client.backup.log' for more details.

I installed afbackup from the ports collection, these are the versions

afbackup-client-3.3.5_2 AF's backup system
afbackup-server-3.3.5_2 AF's backup system

the afbackup server is running FreeBSD 4.5 release-p22
the afbackup client is running FreeBSD 4.7 release-p2
A
does anyone know what is going wrong and how i can fix this?

Thanks in advance,

Marcel
-- 
I have often regretted my speech, never my silence.
- Xenocrates (396-314 B.C.)


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



Re: Bind - Upgrading from FreeBSD 4.6 default to 9.2.1

2002-12-09 Thread Matthew Seaman
On Mon, Dec 09, 2002 at 02:13:22PM -, Nick Wilson wrote:

 I'm running FreeBSD 4.6 and have ported and installed (successfully, I
 believe) BIND 9.2.1.  However if I run named -v the version reporting is
 8.3.2-T1B as supplied with the FreeBSD release.  named-checkconf -v or
 named-checkzone -v report version 9.2.1.
 
 How do I tell FreeBSD to use the new version of BIND?  I've tried editing
 the named-program path in rc.conf but with no effect.

Where did you install the bind9 executables? Check your $PATH to make
sure you're running the binary you think you are.  If you (very
sensibly) used the ports/net/bind9 port and didn't muck around with
$PREFIX, then you'll have bind9 named etc. in /usr/local/sbin but
you'll still have the system supplied bind8 named in /usr/sbin:

happy-idiot-talk:~:% /usr/local/sbin/named -v 
BIND 9.2.1
happy-idiot-talk:~:% /usr/sbin/named -v
named 8.3.3-REL Sat Dec  7 00:29:52 GMT 2002

[EMAIL PROTECTED]:/usr/obj/usr/src/usr.sbin/named

You need to use the full path in /etc/rc.conf to get the right version
to start up at boot time:

happy-idiot-talk:~:% grep ^named /etc/rc.conf
named_enable=YES
named_flags=-c /etc/namedb/named.conf -u bind -t /var/named
named_program=/usr/local/sbin/named

A better check on the running named's identity is perhaps:

happy-idiot-talk:~:% /usr/local/bin/dig @localhost version.bind CHAOS TXT

;  DiG 9.2.1  @localhost version.bind CHAOS TXT
;; global options:  printcmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 26404
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;version.bind.  CH  TXT

;; ANSWER SECTION:
version.bind.   0   CH  TXT 9.2.1

;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(localhost)
;; WHEN: Mon Dec  9 14:32:11 2002
;; MSG SIZE  rcvd: 48

Nb. it's not just the named executable that may not appear where you
expect on your $PATH.  Same thing with nslookup, dig, host etc.  which
all behave subtly differently depending on whether they are the bind8
or bind9 versions.



-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

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



RE: Bind - Upgrading from FreeBSD 4.6 default to 9.2.1

2002-12-09 Thread Barry Byrne
Nick:

Check where the new version has been installed, then modify the named lines
in /etc/rc.conf accordingly.

For example (assuming it went into /usr/local/sbin) :

named_enable=YES  # Run named, the DNS server (or NO).
named_program=/usr/local/sbin/named   # path to named. (bind 9.2.1)
named_flags=-c /etc/namedb/named.conf # Flags for named

 - Barry

--
Barry Byrne, IT Manager,
WBT Systems, Block 2, Harcourt Centre
Harcourt Street, Dublin 2, Ireland

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Nick Wilson
 Sent: 09 December 2002 14:13
 To: [EMAIL PROTECTED]
 Subject: Bind - Upgrading from FreeBSD 4.6 default to 9.2.1


 Hi

 I'm running FreeBSD 4.6 and have ported and installed (successfully, I
 believe) BIND 9.2.1.  However if I run named -v the version reporting is
 8.3.2-T1B as supplied with the FreeBSD release.  named-checkconf -v or
 named-checkzone -v report version 9.2.1.

 How do I tell FreeBSD to use the new version of BIND?  I've tried editing
 the named-program path in rc.conf but with no effect.

 Many thanks, Nick


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



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



Re: maxusers and random system freezes

2002-12-09 Thread Varshavchick Alexander
Hi David,

Thanks, you're a genuis, didn't you know that? Your patch worked perfectly
:)

However, it didn't solve the random freezes problem. The server felt
relieved a bit, load average value pushed down a little, so when the
server is working, this change did him good.

Now more about a state when the server sleeps. It behaves as though the
load average has suddently fired to some immense value - the system
responds to ping, but all other activity has almost halted. It's not like
the server went to a swap, because it occurs practically instantly, and
this state goes for hours. The system is lacking some resources, or may be
a bug somewhere, can you give any hints to it?

My best wishes


Alexander Varshavchick, Metrocom Joint Stock Company
Phone: (812)118-3322, 118-3115(fax)

On Fri, 6 Dec 2002, David Schultz wrote:

 Date: Fri, 6 Dec 2002 05:47:24 -0800
 From: David Schultz [EMAIL PROTECTED]
 To: Varshavchick Alexander [EMAIL PROTECTED]
 Cc: Terry Lambert [EMAIL PROTECTED], [EMAIL PROTECTED],
  [EMAIL PROTECTED]
 Subject: Re: maxusers and random system freezes

 Thus spake Varshavchick Alexander [EMAIL PROTECTED]:
  On Fri, 6 Dec 2002, David Schultz wrote:
 
   Thus spake Varshavchick Alexander [EMAIL PROTECTED]:
Well, now I made KVA space 2G, we'll see later on if it helps to get rid
of the sudden system halts, but for some reason a side-effect has
appeared: pthread_create function returns EAGAIN error now, so I had to
recompile the software using it with linux threads to make it working.
With the old kernel these pieces worked without problems. Can it be that
somehow the enlarged KVA space messed up with the threads mechanism?
  
   I'm not a pthreads expert, but my best guess is that your program
   tried to create a thread with a stack address that was too high.
   Remember that with a 2 GB KVA, user processes have only 2 GB to
   play with instead of 3 GB, so attempting to mmap() a stack above
   about 2 GB would cause pthread_create() to return EAGAIN.
  
 
  Yes this makes sense, however this call to pthread_create didn't specify
  any special addresses for the new thread. The pthread_create was called
  with the NULL attribute which means that the system defaults were being
  used. Something in the system has gone wrong...

 I just glanced at the source in -STABLE, and it appears to be a
 pthreads bug.  (Then again, maybe I'm missing something, since
 nobody seems to have noticed this before.)  The default address at
 which new thread stacks are created is just below the main stack.
 This address is based on the lexical constant USRSTACK, but it
 should be initialized in uthread_init() based on the kern.usrstack
 value returned by sysctl.  (The correct value is already used to
 map the main stack's red zone.)  The result is that you need to
 make world and recompile any apps statically linked against
 pthreads after building your new kernel in order to get things to
 work.

 I don't have time to fiddle with pthreads until after Christmas,
 but you might see if the following patch (against -STABLE) helps
 when you reduce the configured KVA size without remaking pthreads.

 Index: uthread/uthread_init.c
 ===
 RCS file: /home/ncvs/src/lib/libc_r/uthread/uthread_init.c,v
 retrieving revision 1.23.2.10
 diff -u -r1.23.2.10 uthread_init.c
 --- uthread/uthread_init.c2002/10/22 14:44:03 1.23.2.10
 +++ uthread/uthread_init.c2002/12/06 13:41:06
 @@ -245,6 +245,8 @@
   len = sizeof (int);
   if (sysctl(mib, 2, _usrstack, len, NULL, 0) == -1)
   _usrstack = (void *)USRSTACK;
 + _next_stack = _usrstack - PTHREAD_STACK_INITIAL -
 + PTHREAD_STACK_DEFAULT - (2 * PTHREAD_STACK_GUARD);
   /*
* Create a red zone below the main stack.  All other stacks are
* constrained to a maximum size by the paramters passed to



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



Re: your mail

2002-12-09 Thread Stijn Hoop
On Mon, Dec 09, 2002 at 04:56:14PM +0200, Voicu Liviu wrote:
 I'm a newbiew in FreeBSD ( usage 2 weeks ) and almost 1 year of Gentoo
 that works ( in fact gentoo was created by *BSD ports ) almost like Freebsd
  (i mean to the ports )
 
 The problem is how do I see what is going to be installed with some
 application that I want.
 Let say I want to install Mozilla so in gentoo i'll run emerge --pretend
 mozilla and it will return me a list with all dependencies.
 How do I do this in FreeBSD?

make all-depends-list

in the ports directory.

This took me some time to figure out myself, it's not very obvious. Maybe
there are more obvious ways that I haven't stumbled upon yet.

--Stijn

-- 
Coca-Cola is solely responsible for ensuring that people - too stupid to know
not to tip half-ton machines on themselves - are safe. Forget parenting - the
blame is entirely on the corporation for designing machines that look so
innocent and yet are so deadly.
-- http://www.kuro5hin.org/?op=displaystory;sid=2001/10/28/212418/42



msg11512/pgp0.pgp
Description: PGP signature


Re: Interest in diskless booting?

2002-12-09 Thread Pranav A. Desai
Hi!

   I would definitely be interested ... especially in a CD based system
... after reading about linux running on Xbox on PS2 ...

-Pranav

On Sun, 8 Dec 2002, Greg 'groggy' Lehey wrote:

 I was at a local installfext yesterday
 (http://installfest.auug.org.au/), and a number of people were
 interested in doing diskless booting, either for reasons of economy or
 reliability.  I'm currently about to finish the manuscript of the
 fourth edition of The Complete FreeBSD, and I was wondering if there
 was enough interest in this topic for me to include it in the book.
 If *you* are interested, please let me know.  I'll make a decision
 depending on the amount of feedback I get.

 Greg
 --
 When replying to this message, please copy the original recipients.
 If you don't, I may ignore the reply or reply to the original recipients.
 For more information, see http://www.lemis.com/questions.html
 Finger [EMAIL PROTECTED] for PGP public key
 See complete headers for address and phone numbers

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



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



jailed ftpd behind NAT'ing firewall: ftphosts?

2002-12-09 Thread D J Hawkey Jr
Hi all.

I want to set up a jailed FTP server on a box inside a private LAN,
accessable to the outside. It all looks straight-forward enough, using
a column on DaemonNews (http://ezine.daemonnews.org/200212/ftpjail.html)
as a guildline, except that I want to use FreeBSD's ftpd(8).

Reading the ftpd(8) man page, it seems I need to employ /etc/ftphosts,
but try as I might, I can't find an example of /etc/ftphosts.

The private network is 192.168.16.0/24. The public IP to my LAN is,
say, 208.42.236.15. Do I need /etc/ftphosts to reflect the public IP,
or does jail(8) handle this for me, or what?

Even if I don't need /etc/ftphosts, could someone post an example? I
find the man page sufficiently vague as to the actual contents, the
user field in particular. It seems to me this is something I should
just know.

Thanks,
Dave

-- 
  __ __
  \__   \D. J. HAWKEY JR.   /   __/
 \/\ [EMAIL PROTECTED]/\/
  http://www.visi.com/~hawkeyd/


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



Jail source patching question

2002-12-09 Thread Didier Wiroth
Hey,

When you have a security issue or you have to modify the source code of
a daemon, you have to patch the source recompile and install the new
daemon. How do you do that? Let's take an example:

The ssh daemon
I have patched the daemon with:
cd /usr/src/crypto/openssh
diff  /pathtopatch/file.diff


And now, how can I install the new daemon to the host and the different
jails? Would this work (after having applied the patches to the source
code of course) for example for sshd?

Installing at the host first:
1) make
2) make install
I assume that this would work without problems but now up to the jails:
The first jail now:
(We are still in /usr/src/crypto/openssh)
1) make DESTDIR=/jail/first_jail/
2) make DESTDIR=/jail/first_jail/ install

The second jail:
1) make DESTDIR=/jail/second_jail/
2) make DESTDIR=/jail/second_jail/ install

Would this fail and render my ssh daemon unusable, or would this work
and would this work for +/- every daemon?



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



RE: Ethernet card problem

2002-12-09 Thread Thomas Connolly
Thanks very much for the quick reply.
I would agree with that.  The model is a Kingston KNE100TX and it says that
the driver is a dc(4).  Which Ethernet selection and I supposed to pick for
that on Sysinstall?  Is there a way to reconfigure it after installation.  I
apologize for the ignorance but I am very new to all this.  I basically just
went step-by-step through the FreeBSD manual on installation.  There was no
option that said dc(4).  

Thanks again,

Thomas P. Connolly
Senior Development Engineer
Colorado Engineering Experiment Station Inc.
Phone: (970) 897-2711
Fax: (970) 897-2710
Email: [EMAIL PROTECTED]
 

-Original Message-
From: D J Hawkey Jr [mailto:[EMAIL PROTECTED]] 
Sent: Monday, December 09, 2002 9:45 AM
To: Thomas Connolly
Subject: Re: Ethernet card problem

On Dec 09, at 09:32 AM, Thomas Connolly wrote:
 
 Hi all,
 I just installed FreeBSD on an HP Vectra machine with a Kingston KNE 100
 network card.  The FreeBSD Handbook says it is supported.  From
sysinstall,
 I chose the 
 NE1000, NE2000, 3C503, WD/SMC80xx Ethernet Adapters ed0
 Option.  When I went to configure the network device, ed0 did not show up
in
 the list.  Can anyone offer me some guidance here?

Double-check the NIC's model. Variou Kingston NICs are listed as ed(4),
dc(4), and aue(4) compatable. I'd say you picked the wrong one.

 Thank you,
 Thomas Connolly

Dave

-- 
  __ __
  \__   \D. J. HAWKEY JR.   /   __/
 \/\ [EMAIL PROTECTED]/\/
  http://www.visi.com/~hawkeyd/


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



ssh+slrn screengarbage

2002-12-09 Thread Dick Hoogendijk
A weird problem. I use 4.7FBSD and the standard teminal.
I open a ssh connection to a linux server, log into my account and run
slrn there to read some news.. Very often the screen gets messed up by
scrolling down or 'go past the end'. Parts of the old screen information
is stuck on screen. I have to close slrn ;-(( Same thing happens in MC
(midnight commander).

BUT: if I use KDE and Konsole all goes well. I can do exactly the same
thing as mentioned above in Konsole and nothing goes wrong.

Can anybody tell me what happens in the standard fbsd term (cons25) that
messes things up and why it doesn't happen in Konsole?

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.7 ++ Debian GNU/Linux (Woody)

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



Microsoft Intellimouse

2002-12-09 Thread Christopher Armenio
I have been having lots of problems with my Microsoft Intellimouse; the
device is recognized in dmesg, and no errors are given, but the mosue does
not work. I tried cating the device, ums0, but I don't get anything at all.
Any ideas?

-christopher Armenio


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



INDEX file layout

2002-12-09 Thread John Bleichert
Hello All

Where is the layout for the /usr/ports/INDEX file documented? Looks like a
bunch of '|'-delimited fields and I'd like to know for sure what each 
field is.

Also, I've noticed that some boxes have a /var/db/pkgdb.db file, and some 
do not - where does this file come from? Is it generated by the 
portupgrade tools?

Thanks - JB


#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


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



RE: Ethernet card problem

2002-12-09 Thread Thomas Connolly
Thanks again for the help.  Can you tell me how to set my interface up
manually so that it will use DHCP for the ip and netmask, gateway, etc.?

Thanks,

Tom Connolly

-Original Message-
From: D J Hawkey Jr [mailto:[EMAIL PROTECTED]] 
Sent: Monday, December 09, 2002 10:25 AM
To: Thomas Connolly
Subject: Re: Ethernet card problem

On Dec 09, at 10:07 AM, Thomas Connolly wrote:
 
 Thanks very much for the quick reply.
 I would agree with that.  The model is a Kingston KNE100TX and it says
that
 the driver is a dc(4).  Which Ethernet selection and I supposed to pick
for
 that on Sysinstall?

dc0, I would imagine.

 Is there a way to reconfigure it after installation.

Oh, yes. Go on through the installation. Afterward, edit /etc/rc.conf to
reflect reality. You'll have lines like these to change:
hostname=sheol.localdomain
ifconfig_ed0=inet 192.168.16.2 netmask 255.255.255.0
What you'll change is the hostname (if need be), and ifconfig_ed0 to
ifconfig_dc0. IIRC, that's all it takes.

 I
 apologize for the ignorance but I am very new to all this.  I basically
just
 went step-by-step through the FreeBSD manual on installation.  There was
no
 option that said dc(4).  

I don't remember how to specify the interface within sysinstall(8), but I'm
sure you can (make sure you've resolved conflicting interrupts first).
I usually set up the network manually, after sysinstall(8), just to stay in
practice!

 Thanks again,
 Thomas P. Connolly
 Senior Development Engineer
 Colorado Engineering Experiment Station Inc.
 Phone: (970) 897-2711
 Fax: (970) 897-2710
 Email: [EMAIL PROTECTED]

Need a telecommuting UNIX SysAdmin in Minnesota?
Dave

-- 
  __ __
  \__   \D. J. HAWKEY JR.   /   __/
 \/\ [EMAIL PROTECTED]/\/
  http://www.visi.com/~hawkeyd/


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



RE: Microsoft Intellimouse

2002-12-09 Thread Didier Wiroth
Do you have problems with XFree86 or in the console?

If you are using the console? Are you using vidcontrol to set your
resolution?

What are your settings in XF86Config?

Didier

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]] On Behalf Of
 Christopher Armenio
 Sent: Monday, December 09, 2002 18:27
 To: [EMAIL PROTECTED]
 Subject: Microsoft Intellimouse


 I have been having lots of problems with my Microsoft
 Intellimouse; the
 device is recognized in dmesg, and no errors are given, but
 the mosue does
 not work. I tried cating the device, ums0, but I don't get
 anything at all.
 Any ideas?

 -christopher Armenio


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




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



Re: Ethernet card problem

2002-12-09 Thread Brian
isnt is /stand/sysinstall, post install config, network, pick yer interface,
answer yes to the dhcp popup, thats it?

BTW, if it asks you if you want to activate now, that typically will not get
you the new parameters on the interface, youll need to either ifconfig it
down and then up, or reboot as a quik dirty way.

Bri

- Original Message -
From: Thomas Connolly [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, December 09, 2002 9:36 AM
Subject: RE: Ethernet card problem


 Thanks again for the help.  Can you tell me how to set my interface up
 manually so that it will use DHCP for the ip and netmask, gateway, etc.?

 Thanks,

 Tom Connolly

 -Original Message-
 From: D J Hawkey Jr [mailto:[EMAIL PROTECTED]]
 Sent: Monday, December 09, 2002 10:25 AM
 To: Thomas Connolly
 Subject: Re: Ethernet card problem

 On Dec 09, at 10:07 AM, Thomas Connolly wrote:
 
  Thanks very much for the quick reply.
  I would agree with that.  The model is a Kingston KNE100TX and it says
 that
  the driver is a dc(4).  Which Ethernet selection and I supposed to pick
 for
  that on Sysinstall?

 dc0, I would imagine.

  Is there a way to reconfigure it after installation.

 Oh, yes. Go on through the installation. Afterward, edit /etc/rc.conf to
 reflect reality. You'll have lines like these to change:
 hostname=sheol.localdomain
 ifconfig_ed0=inet 192.168.16.2 netmask 255.255.255.0
 What you'll change is the hostname (if need be), and ifconfig_ed0 to
 ifconfig_dc0. IIRC, that's all it takes.

  I
  apologize for the ignorance but I am very new to all this.  I basically
 just
  went step-by-step through the FreeBSD manual on installation.  There was
 no
  option that said dc(4).

 I don't remember how to specify the interface within sysinstall(8), but
I'm
 sure you can (make sure you've resolved conflicting interrupts first).
 I usually set up the network manually, after sysinstall(8), just to stay
in
 practice!

  Thanks again,
  Thomas P. Connolly
  Senior Development Engineer
  Colorado Engineering Experiment Station Inc.
  Phone: (970) 897-2711
  Fax: (970) 897-2710
  Email: [EMAIL PROTECTED]

 Need a telecommuting UNIX SysAdmin in Minnesota?
 Dave

 --
   __ __
   \__   \D. J. HAWKEY JR.   /   __/
  \/\ [EMAIL PROTECTED]/\/
   http://www.visi.com/~hawkeyd/


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



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



RE: Ethernet card problem

2002-12-09 Thread Thomas Connolly
Yes, that is what I tried to do but my interface doesn't come up in the
list, only plip, and com 1 come up, not dc0.

Thanks,
Thomas Connolly

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Brian
Sent: Monday, December 09, 2002 10:45 AM
To: Thomas Connolly; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Ethernet card problem

isnt is /stand/sysinstall, post install config, network, pick yer interface,
answer yes to the dhcp popup, thats it?

BTW, if it asks you if you want to activate now, that typically will not get
you the new parameters on the interface, youll need to either ifconfig it
down and then up, or reboot as a quik dirty way.

Bri

- Original Message -
From: Thomas Connolly [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, December 09, 2002 9:36 AM
Subject: RE: Ethernet card problem


 Thanks again for the help.  Can you tell me how to set my interface up
 manually so that it will use DHCP for the ip and netmask, gateway, etc.?

 Thanks,

 Tom Connolly

 -Original Message-
 From: D J Hawkey Jr [mailto:[EMAIL PROTECTED]]
 Sent: Monday, December 09, 2002 10:25 AM
 To: Thomas Connolly
 Subject: Re: Ethernet card problem

 On Dec 09, at 10:07 AM, Thomas Connolly wrote:
 
  Thanks very much for the quick reply.
  I would agree with that.  The model is a Kingston KNE100TX and it says
 that
  the driver is a dc(4).  Which Ethernet selection and I supposed to pick
 for
  that on Sysinstall?

 dc0, I would imagine.

  Is there a way to reconfigure it after installation.

 Oh, yes. Go on through the installation. Afterward, edit /etc/rc.conf to
 reflect reality. You'll have lines like these to change:
 hostname=sheol.localdomain
 ifconfig_ed0=inet 192.168.16.2 netmask 255.255.255.0
 What you'll change is the hostname (if need be), and ifconfig_ed0 to
 ifconfig_dc0. IIRC, that's all it takes.

  I
  apologize for the ignorance but I am very new to all this.  I basically
 just
  went step-by-step through the FreeBSD manual on installation.  There was
 no
  option that said dc(4).

 I don't remember how to specify the interface within sysinstall(8), but
I'm
 sure you can (make sure you've resolved conflicting interrupts first).
 I usually set up the network manually, after sysinstall(8), just to stay
in
 practice!

  Thanks again,
  Thomas P. Connolly
  Senior Development Engineer
  Colorado Engineering Experiment Station Inc.
  Phone: (970) 897-2711
  Fax: (970) 897-2710
  Email: [EMAIL PROTECTED]

 Need a telecommuting UNIX SysAdmin in Minnesota?
 Dave

 --
   __ __
   \__   \D. J. HAWKEY JR.   /   __/
  \/\ [EMAIL PROTECTED]/\/
   http://www.visi.com/~hawkeyd/


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



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


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



Re: INDEX file layout

2002-12-09 Thread John Bleichert
On Mon, 9 Dec 2002, John Bleichert wrote:

 Date: Mon, 9 Dec 2002 12:20:26 -0500 (EST)
 From: John Bleichert [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: INDEX file layout
 
 Hello All
 
 Where is the layout for the /usr/ports/INDEX file documented? Looks like a
 bunch of '|'-delimited fields and I'd like to know for sure what each 
 field is.
 
 Also, I've noticed that some boxes have a /var/db/pkgdb.db file, and some 
 do not - where does this file come from? Is it generated by the 
 portupgrade tools?
 

Never mind about this second question, I was looking in the wrong place 
(it's in /var/db/pkg), but my first question still stands.

#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


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



DMA check causes fatal trap exception in FreeBSD 4.7 installation

2002-12-09 Thread gagman
I have a Pentium 533 MHz machine with 2 hard drives
(10GB and 2GB).  Both drives are manufactured by
Fujitsu.  The Bios detects that the first drive uses
UDMA 4 and the second drive uses UDMA 2.  When I run
hdparm tests on the drives with DMA turned on, my whole
system freezes up but the tests run fine on the second
drive.  In addition, hdparm -i doesn't list UDMA-4 as
one of the DMA modes for the first drive.  Now that I
have given you the scenario, I would like to ask you
how can I disable the DMA check during FreeBSD
installation as it seems to be causing a fatal trap
exception during the DMA check?

Thanks,
G

__
Get your FREE personalized e-mail at http://www.canada.com

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



Re: Creative Labs Dxr3 MPEG decoder and FreeBSD-STABLE

2002-12-09 Thread John Bleichert
On Wed, 27 Nov 2002, Andy Akins wrote:

 Date: Wed, 27 Nov 2002 08:20:02 -0600
 From: Andy Akins [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Creative Labs Dxr3 MPEG decoder and FreeBSD-STABLE 
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Just curious...
 
 Has anyone had any luck getting FreeBSD to recognize and use the Dxr3 MPEG 
 decoder card?
 
 I'd appreciate any insight anyone might have. Thanks!
 
 Andy
 

Sorry, just saw this during Inbox-cleaning day. Check this out:

http://www.cs.duke.edu/~gadde/freebsd/em8300/



#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


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



Re: webmin problem

2002-12-09 Thread Peter Ulrich Kruppa
Did you try /usr/local/etc/webmin/start ?

Uli.

On Thu, 5 Dec 2002, David Ouyang wrote:

 Hi:
 I have 3 box with same installation, two weeks ago I
 installed webmin 1.030 into one of the box, it start
 outomaticly and working perfect, but yesterday I did
 port update and try to install webmin on the other 2
 box, it install fine but webmin won't start even I
 reboot the system, I think the webmin version is
 1.034, can anybody tell me why, or how do I start it
 manully.

 thanks in advance

 __
 Do you Yahoo!?
 Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
 http://mailplus.yahoo.com

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


*---*
*Peter Ulrich Kruppa*
*  -  Wuppertal -   *
*  Germany  *
*---*


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



Gateway + Firewall

2002-12-09 Thread Danilo Castro
Well  I have this problem with freebsd

I have this network.

Range: 10.10.10.192-207
Network: 10.10.10.192/28
Netmask: 10.10.10.254
Router: 10.10.10.193


I want to setupa  firewall connecting it directly to the router  using 2 
ethernet interfaces seting up 2 valid address to this interfaces.
Isnt working seting different netmasks ( obvious ) and Freebsd dont allow 
me to add same netmask to 2 different ether interfaces.

How should i procced?

soz about the poor english.
Tnx in advance

Danilo Castro


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


Re: port redirect with ipfw NOT NAT (not NAT)

2002-12-09 Thread C J Michaels
Some time in the recent past Lowell Gilbert scribbled:
 Josh Brooks [EMAIL PROTECTED] writes:

  Have you tried something like:
 
  add 01000 fwd 10.10.10.10,5050 tcp from any to 10.10.10.10 50


 When I do this, I get:

 ipfw: getsockopt(IP_FW_ADD): Invalid argumentipfw:
 getsockopt(IP_FW_ADD): Invalid argument


 Any ideas ?   Is there any reason why port forwarding with ipfw is
 special and annoying ?  Or is there really something qualitatively
 different about this action that warrants this behavior ?

I don't see anything wrong with your syntax on that command and I use a
similar command to foward to my transparent proxy.

The only thing *I* can think of is that you didn't compile your kernel with:
options IPFIREWALL_FORWARD

--
Chris



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



isakmpd status

2002-12-09 Thread Dru

I seem to remember reading somewhere before that isakmpd was available in the
base system (not as a port) either in stable or in the upcoming 5.0, but
darned if I can find that now. Don't see it in the Status Report or
anywhere else on the site.

Does anyone else remember this and can point me to the reference, or am I
hallucinating on this one?

TIA,

Dru


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



my e-mail

2002-12-09 Thread Marcel Stangenberger
Did anyone on the maillinglist get my question on afbackup?
My mailserver said it was send, but i never saw it came by.

greetings,

Marcel
-- 
I have often regretted my speech, never my silence.
- Xenocrates (396-314 B.C.)


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



Re: Interest in diskless booting?

2002-12-09 Thread Gary W. Swearingen
Garance A Drosihn [EMAIL PROTECTED] writes:

 Besides, if you had a nice book with an accurate and detailed info
 on how to do build such systems, then you wouldn't have to waste
 any time searching those web sites...   :-)

You missed the whole point of my message: The very existance of people's
well-meaning presentations of their version of accurate and detailed
info on the subject causes people to waste time when the picobsd manpage
suits their needs just fine.  Those articles and web sites would have
served me (and I suppose many others) better by simply saying: RTFM for
picobsd.  But rather than discouraging documentation, I guess I'll just
plead for good document introductions (which cross-reference other
documents and manpages, etc) which allow people to avoid reading a lot
of stuff they don't need for their particular use.  (Most of the stuff
I referred to actually used picobsd, but wrapped a mostly-wasteful layer
of author-customized use and documentation around it.)

I recognize that picobsd doesn't suit everyone's needs, but probably
most.  IIRC, it allows any number of modifications and additions to the
default configuration including installation of large systems on CDs.
If Greg is considering the documentation of an entirely non-picobsd 
diskless scheme, I think his target audience will be much smaller than
his original question's responses might imply.  And I hope he too will
help his readers choose whether they should read about his non-picobsd
scheme or the picobsd manpage, so they don't have to learn the hard way.

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



Re: DMA check causes fatal trap exception in FreeBSD 4.7 installation

2002-12-09 Thread Dan Nelson
In the last episode (Dec 09), [EMAIL PROTECTED] said:
 I have a Pentium 533 MHz machine with 2 hard drives (10GB and 2GB). 
 Both drives are manufactured by Fujitsu.  The Bios detects that the
 first drive uses UDMA 4 and the second drive uses UDMA 2.  When I run
 hdparm tests on the drives with DMA turned on, my whole system
 freezes up but the tests run fine on the second drive.  In addition,
 hdparm -i doesn't list UDMA-4 as one of the DMA modes for the first
 drive.  Now that I have given you the scenario, I would like to ask
 you how can I disable the DMA check during FreeBSD installation as it
 seems to be causing a fatal trap exception during the DMA check?

Right at the bneginning of the boot process, you'll see a line that
says:

  Hit [Enter] to boot immediately, or any other key for command prompt.
 
Hit space there, then at the prompt, enter set hw.ata.ata_dma=0, then
enter boot to continue the boot process.  Once the system is
installed, edit (or create) the file /boot/loader.conf and put the line
hw.ata.ata_dma=0 in it.  That should keep FreeBSD from trying to use
DMA mode on the hard drives.  You might want to check your cabling
setup and BIOS versions, though.  A DMA test shouldn't lock up the
system.

-- 
Dan Nelson
[EMAIL PROTECTED]

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



problem with http://www2.FreeBSD.org/

2002-12-09 Thread alex avriette
Its docroot actually points to a CPAN mirror.

please to be fixink.

alex


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



RE: 4.4

2002-12-09 Thread Guido Fortunati
Make sure you?re not loading every little service, if you get rid of the
stuff you don't need, it shall load 10x faster.
Not to mention kernel, modules, etc.. 

-guido 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Scott
Sent: Lunes, 19 de Noviembre de 2001 01:35 a.m.
To: Marco Radzinschi; Doug Garrick
Cc: [EMAIL PROTECTED]
Subject: Re: 4.4


At 23:01 2001/11/18 -0500, Marco Radzinschi wrote:

I second that... bloody RedHat Linux 7 and 7.1 took 10 times as long to

boot as FreeBSD.


Heh--this got me curious enough to do a very lax test--a machine where I

have several O/S's installed---KII6 450 with 192 megs of Ram.  Booting
from 
RH's Grub, so I began counting after the O/S began to boot--that is, if
I 
choose FreeBSD, first it does this chainloader thing.

Lots of factors that I ignored, but, with all but Win2k booting into
text 
mode

Trustix Linux (a stripped down RH clone)
15 seconds
FreeBSD  18 seconds
Slackware 8.0  18 seconds
RH 7.2  31 seconds
And, the Winner---
Windows 2000 Professional  65 seconds.  :)

Subjectively, FreeBSD just seems faster in many  ways --as if it reacts 
more quickly to keystrokes than any of the others. 


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


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



vmware2

2002-12-09 Thread Dick Hoogendijk
OK, I'm stuck. Nothing goes wright. I installed vmware2 from ports, but
after I can't get it running. vmware-configure.pl is a script for linux
as it asks for insmod to isntall modules. Yet, there is some work to be
done, because I get notices like 'vmmon not installed' etc.

Can anybody tell me exactly what I need to do AFTER I installed vmware
from ports?
I found out I had to mount linprocfs, but that was easy ;-)
Now the rest.. Options, where to put them, etc...

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.7 ++ Debian GNU/Linux (Woody)

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



where did xmms go?

2002-12-09 Thread James A. Arnold
My ports are current but I don't have an xmms port:

xmms-a52dec
xmms-bonk
xmms-crossfade
xmms-crystality
xmms-fc
xmms-kde
xmms-ladspa
xmms-liveice
xmms-mad
xmms-mailnotify
xmms-midi
xmms-musepack
xmms-osssurround
xmms-pipe
xmms-quix3dn
xmms-shn
xmms-sid
xmms-sndfile
xmms-sndstretch
xmms-speex
xmms-tfmx
xmms-uade
xmms-volnorm

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



Re: where did xmms go?

2002-12-09 Thread John Bleichert
On Mon, 9 Dec 2002, James A. Arnold wrote:

 Date: Mon, 9 Dec 2002 15:16:17 -0500
 From: James A. Arnold [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: where did xmms go?
 
 My ports are current but I don't have an xmms port:
 
 xmms-a52dec
 xmms-bonk
 xmms-crossfade
 xmms-crystality
 xmms-fc
 xmms-kde
 xmms-ladspa
 xmms-liveice
 xmms-mad
 xmms-mailnotify
 xmms-midi
 xmms-musepack
 xmms-osssurround
 xmms-pipe
 xmms-quix3dn
 xmms-shn
 xmms-sid
 xmms-sndfile
 xmms-sndstretch
 xmms-speex
 xmms-tfmx
 xmms-uade
 xmms-volnorm
 

I have it in 4.7:

johnnyb:~  ls /usr/ports/audio/ | grep xmms | sort
py-xmms
ruby-xmms
xmms
xmms-a52dec
xmms-bonk
xmms-crossfade
xmms-crystality
xmms-fc
xmms-gdancer
xmms-kde
xmms-ladspa
xmms-liveice
xmms-mad
xmms-musepack
xmms-osssurround
xmms-pipe
xmms-quix3dn
xmms-shn
xmms-sid
xmms-sndfile
xmms-sndstretch
xmms-speex
xmms-tfmx
xmms-volnorm
johnnyb:~  uname -a
FreeBSD zappa.x.x.x 4.7-RELEASE-p1 FreeBSD 4.7-RELEASE-p1 #6: 
Thu Oct 24 22:51:39 EDT 2002 
[EMAIL PROTECTED]:/usr/src/sys/compile/Zappa  i386
johnnyb:~  


#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


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



Re: where did xmms go?

2002-12-09 Thread Christopher Rosado
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Mon, 9 Dec 2002 15:16:17 -0500
James A. Arnold [EMAIL PROTECTED] wrote:

JAA My ports are current but I don't have an xmms port:

Look in the brand-new multimedia directory.

- -- 
Christopher Rosado
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE99P6/k41LrboeC7gRAhm+AJ9YEX9gQNAKPvQ2Z55GveSM9BmzhwCfc3gA
G/XHhSee4T1ZIDZMHAgcqGo=
=WMlR
-END PGP SIGNATURE-

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



Re: where did xmms go?

2002-12-09 Thread Joe Marcus Clarke
On Mon, 2002-12-09 at 15:15, John Bleichert wrote:
 On Mon, 9 Dec 2002, James A. Arnold wrote:
 
  Date: Mon, 9 Dec 2002 15:16:17 -0500
  From: James A. Arnold [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: where did xmms go?
  
  My ports are current but I don't have an xmms port:
  
  xmms-a52dec
  xmms-bonk
  xmms-crossfade
  xmms-crystality
  xmms-fc
  xmms-kde
  xmms-ladspa
  xmms-liveice
  xmms-mad
  xmms-mailnotify
  xmms-midi
  xmms-musepack
  xmms-osssurround
  xmms-pipe
  xmms-quix3dn
  xmms-shn
  xmms-sid
  xmms-sndfile
  xmms-sndstretch
  xmms-speex
  xmms-tfmx
  xmms-uade
  xmms-volnorm
  
 
 I have it in 4.7:
 
 johnnyb:~  ls /usr/ports/audio/ | grep xmms | sort

Your ports are old.  xmms is now located in the multimedia category.  If
you're not cvsup'ing ports-all, you may miss this as not all the cvsup
servers know about this new category.  Best bet is to cvsup ports-all,
and create a /usr/sup/refuse file listing the modules you don't want.

Joe

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




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



Re: Ethernet card problem

2002-12-09 Thread Kevin D. Kinsey, DaleCo, S.P.
dc driver uses the miibus code, make sure you have that enabled
on your kernel.

There is nothing needed in sysinstall, a device probe ought to
catch it IF the miibus is enabled in your kernel config.

Sorry, I'm late on this discussion, if I've missed important
points, please forgiveI just hadn't seen this point
mentioned.

Kevin Kinsey
DaleCo, S.P.
- Original Message -
From: Thomas Connolly [EMAIL PROTECTED]
To: 'Brian' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, December 09, 2002 11:50 AM
Subject: RE: Ethernet card problem


Yes, that is what I tried to do but my interface doesn't come up in
the
list, only plip, and com 1 come up, not dc0.

Thanks,
Thomas Connolly

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Brian
Sent: Monday, December 09, 2002 10:45 AM
To: Thomas Connolly; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Ethernet card problem

isnt is /stand/sysinstall, post install config, network, pick yer
interface,
answer yes to the dhcp popup, thats it?

BTW, if it asks you if you want to activate now, that typically will
not get
you the new parameters on the interface, youll need to either
ifconfig it
down and then up, or reboot as a quik dirty way.

Bri

- Original Message -
From: Thomas Connolly [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, December 09, 2002 9:36 AM
Subject: RE: Ethernet card problem


 Thanks again for the help.  Can you tell me how to set my interface
up
 manually so that it will use DHCP for the ip and netmask, gateway,
etc.?

 Thanks,

 Tom Connolly

 -Original Message-
 From: D J Hawkey Jr [mailto:[EMAIL PROTECTED]]
 Sent: Monday, December 09, 2002 10:25 AM
 To: Thomas Connolly
 Subject: Re: Ethernet card problem

 On Dec 09, at 10:07 AM, Thomas Connolly wrote:
 
  Thanks very much for the quick reply.
  I would agree with that.  The model is a Kingston KNE100TX and it
says
 that
  the driver is a dc(4).  Which Ethernet selection and I supposed
to pick
 for
  that on Sysinstall?

 dc0, I would imagine.

  Is there a way to reconfigure it after installation.

 Oh, yes. Go on through the installation. Afterward, edit
/etc/rc.conf to
 reflect reality. You'll have lines like these to change:
 hostname=sheol.localdomain
 ifconfig_ed0=inet 192.168.16.2 netmask 255.255.255.0
 What you'll change is the hostname (if need be), and ifconfig_ed0
to
 ifconfig_dc0. IIRC, that's all it takes.

  I
  apologize for the ignorance but I am very new to all this.  I
basically
 just
  went step-by-step through the FreeBSD manual on installation.
There was
 no
  option that said dc(4).

 I don't remember how to specify the interface within sysinstall(8),
but
I'm
 sure you can (make sure you've resolved conflicting interrupts
first).
 I usually set up the network manually, after sysinstall(8), just to
stay
in
 practice!

  Thanks again,
  Thomas P. Connolly
  Senior Development Engineer
  Colorado Engineering Experiment Station Inc.
  Phone: (970) 897-2711
  Fax: (970) 897-2710
  Email: [EMAIL PROTECTED]

 Need a telecommuting UNIX SysAdmin in Minnesota?
 Dave

 --
   __
__
   \__   \D. J. HAWKEY JR.   /
__/
  \/\ [EMAIL PROTECTED]
/\/
   http://www.visi.com/~hawkeyd/


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



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


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



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



Re: where did xmms go?

2002-12-09 Thread John Bleichert
On 9 Dec 2002, Joe Marcus Clarke wrote:
 Subject: Re: where did xmms go?
 On Mon, 2002-12-09 at 15:15, John Bleichert wrote:
  On Mon, 9 Dec 2002, James A. Arnold wrote:
   Subject: where did xmms go?
snip
  
  I have it in 4.7:
  
  johnnyb:~  ls /usr/ports/audio/ | grep xmms | sort
 
 Your ports are old.  xmms is now located in the multimedia category.  If
 you're not cvsup'ing ports-all, you may miss this as not all the cvsup
 servers know about this new category.  Best bet is to cvsup ports-all,
 and create a /usr/sup/refuse file listing the modules you don't want.
 
 Joe
 

Yep, about 1 minute after I sent this I realized I hadn't sync'd my ports 
tree in a long time...

Thanks - JB

#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


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



Re: where did xmms go?

2002-12-09 Thread Kent Stewart
On Monday 09 December 2002 12:35 pm, Joe Marcus Clarke wrote:
 On Mon, 2002-12-09 at 15:15, John Bleichert wrote:
  On Mon, 9 Dec 2002, James A. Arnold wrote:
   Date: Mon, 9 Dec 2002 15:16:17 -0500
   From: James A. Arnold [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Subject: where did xmms go?
  
   My ports are current but I don't have an xmms port:
  
   xmms-a52dec
   xmms-bonk
   xmms-crossfade
   xmms-crystality
   xmms-fc
   xmms-kde
   xmms-ladspa
   xmms-liveice
   xmms-mad
   xmms-mailnotify
   xmms-midi
   xmms-musepack
   xmms-osssurround
   xmms-pipe
   xmms-quix3dn
   xmms-shn
   xmms-sid
   xmms-sndfile
   xmms-sndstretch
   xmms-speex
   xmms-tfmx
   xmms-uade
   xmms-volnorm
 
  I have it in 4.7:
 
  johnnyb:~  ls /usr/ports/audio/ | grep xmms | sort

 Your ports are old.  xmms is now located in the multimedia
 category.  If you're not cvsup'ing ports-all, you may miss this as
 not all the cvsup servers know about this new category.  Best bet
 is to cvsup ports-all, and create a /usr/sup/refuse file listing
 the modules you don't want.

Refusing breaks creating INDEX with make index. Does portsdb -uU 
generate a full INDEX* when you refuse. Since INDEX is updated 
infrequently, breaking the building of the INDEX files can create 
problems.

Kent
-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


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



Re: where did xmms go?

2002-12-09 Thread James A. Arnold

Your ports are old.  xmms is now located in the multimedia category.  If
you're not cvsup'ing ports-all, you may miss this as not all the cvsup
servers know about this new category.  Best bet is to cvsup ports-all,
and create a /usr/sup/refuse file listing the modules you don't want.

Joe


Joe,

Yep, I was not doing a ports-all. I think I'll follow your advise and 
use a refuse file from now on. Thanks again for your help. This is 
not the first time you've come through with the correct answers for 
me. :)

Cheers,
Jim




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


RE: Ethernet card problem

2002-12-09 Thread Thomas Connolly
Thanks for the advice but again, I am very new to all this.  Can you tell me
how to check if miibus is enabled and how to enable it if it is not?

Thanks in advance,

Tom Connolly

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Kevin D. Kinsey,
DaleCo, S.P.
Sent: Monday, December 09, 2002 2:07 PM
To: Thomas Connolly; 'Brian'; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Ethernet card problem

dc driver uses the miibus code, make sure you have that enabled
on your kernel.

There is nothing needed in sysinstall, a device probe ought to
catch it IF the miibus is enabled in your kernel config.

Sorry, I'm late on this discussion, if I've missed important
points, please forgiveI just hadn't seen this point
mentioned.

Kevin Kinsey
DaleCo, S.P.
- Original Message -
From: Thomas Connolly [EMAIL PROTECTED]
To: 'Brian' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, December 09, 2002 11:50 AM
Subject: RE: Ethernet card problem


Yes, that is what I tried to do but my interface doesn't come up in
the
list, only plip, and com 1 come up, not dc0.

Thanks,
Thomas Connolly

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Brian
Sent: Monday, December 09, 2002 10:45 AM
To: Thomas Connolly; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Ethernet card problem

isnt is /stand/sysinstall, post install config, network, pick yer
interface,
answer yes to the dhcp popup, thats it?

BTW, if it asks you if you want to activate now, that typically will
not get
you the new parameters on the interface, youll need to either
ifconfig it
down and then up, or reboot as a quik dirty way.

Bri

- Original Message -
From: Thomas Connolly [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, December 09, 2002 9:36 AM
Subject: RE: Ethernet card problem


 Thanks again for the help.  Can you tell me how to set my interface
up
 manually so that it will use DHCP for the ip and netmask, gateway,
etc.?

 Thanks,

 Tom Connolly

 -Original Message-
 From: D J Hawkey Jr [mailto:[EMAIL PROTECTED]]
 Sent: Monday, December 09, 2002 10:25 AM
 To: Thomas Connolly
 Subject: Re: Ethernet card problem

 On Dec 09, at 10:07 AM, Thomas Connolly wrote:
 
  Thanks very much for the quick reply.
  I would agree with that.  The model is a Kingston KNE100TX and it
says
 that
  the driver is a dc(4).  Which Ethernet selection and I supposed
to pick
 for
  that on Sysinstall?

 dc0, I would imagine.

  Is there a way to reconfigure it after installation.

 Oh, yes. Go on through the installation. Afterward, edit
/etc/rc.conf to
 reflect reality. You'll have lines like these to change:
 hostname=sheol.localdomain
 ifconfig_ed0=inet 192.168.16.2 netmask 255.255.255.0
 What you'll change is the hostname (if need be), and ifconfig_ed0
to
 ifconfig_dc0. IIRC, that's all it takes.

  I
  apologize for the ignorance but I am very new to all this.  I
basically
 just
  went step-by-step through the FreeBSD manual on installation.
There was
 no
  option that said dc(4).

 I don't remember how to specify the interface within sysinstall(8),
but
I'm
 sure you can (make sure you've resolved conflicting interrupts
first).
 I usually set up the network manually, after sysinstall(8), just to
stay
in
 practice!

  Thanks again,
  Thomas P. Connolly
  Senior Development Engineer
  Colorado Engineering Experiment Station Inc.
  Phone: (970) 897-2711
  Fax: (970) 897-2710
  Email: [EMAIL PROTECTED]

 Need a telecommuting UNIX SysAdmin in Minnesota?
 Dave

 --
   __
__
   \__   \D. J. HAWKEY JR.   /
__/
  \/\ [EMAIL PROTECTED]
/\/
   http://www.visi.com/~hawkeyd/


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



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


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



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


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



RE: Ethernet card problem

2002-12-09 Thread Thomas Connolly
Oh yes, and one other thing, can you tell me how to do a device probe?

Thanks again,

Tom Connolly
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Kevin D. Kinsey,
DaleCo, S.P.
Sent: Monday, December 09, 2002 2:07 PM
To: Thomas Connolly; 'Brian'; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Ethernet card problem

dc driver uses the miibus code, make sure you have that enabled
on your kernel.

There is nothing needed in sysinstall, a device probe ought to
catch it IF the miibus is enabled in your kernel config.

Sorry, I'm late on this discussion, if I've missed important
points, please forgiveI just hadn't seen this point
mentioned.

Kevin Kinsey
DaleCo, S.P.
- Original Message -
From: Thomas Connolly [EMAIL PROTECTED]
To: 'Brian' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, December 09, 2002 11:50 AM
Subject: RE: Ethernet card problem


Yes, that is what I tried to do but my interface doesn't come up in
the
list, only plip, and com 1 come up, not dc0.

Thanks,
Thomas Connolly

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Brian
Sent: Monday, December 09, 2002 10:45 AM
To: Thomas Connolly; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Ethernet card problem

isnt is /stand/sysinstall, post install config, network, pick yer
interface,
answer yes to the dhcp popup, thats it?

BTW, if it asks you if you want to activate now, that typically will
not get
you the new parameters on the interface, youll need to either
ifconfig it
down and then up, or reboot as a quik dirty way.

Bri

- Original Message -
From: Thomas Connolly [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, December 09, 2002 9:36 AM
Subject: RE: Ethernet card problem


 Thanks again for the help.  Can you tell me how to set my interface
up
 manually so that it will use DHCP for the ip and netmask, gateway,
etc.?

 Thanks,

 Tom Connolly

 -Original Message-
 From: D J Hawkey Jr [mailto:[EMAIL PROTECTED]]
 Sent: Monday, December 09, 2002 10:25 AM
 To: Thomas Connolly
 Subject: Re: Ethernet card problem

 On Dec 09, at 10:07 AM, Thomas Connolly wrote:
 
  Thanks very much for the quick reply.
  I would agree with that.  The model is a Kingston KNE100TX and it
says
 that
  the driver is a dc(4).  Which Ethernet selection and I supposed
to pick
 for
  that on Sysinstall?

 dc0, I would imagine.

  Is there a way to reconfigure it after installation.

 Oh, yes. Go on through the installation. Afterward, edit
/etc/rc.conf to
 reflect reality. You'll have lines like these to change:
 hostname=sheol.localdomain
 ifconfig_ed0=inet 192.168.16.2 netmask 255.255.255.0
 What you'll change is the hostname (if need be), and ifconfig_ed0
to
 ifconfig_dc0. IIRC, that's all it takes.

  I
  apologize for the ignorance but I am very new to all this.  I
basically
 just
  went step-by-step through the FreeBSD manual on installation.
There was
 no
  option that said dc(4).

 I don't remember how to specify the interface within sysinstall(8),
but
I'm
 sure you can (make sure you've resolved conflicting interrupts
first).
 I usually set up the network manually, after sysinstall(8), just to
stay
in
 practice!

  Thanks again,
  Thomas P. Connolly
  Senior Development Engineer
  Colorado Engineering Experiment Station Inc.
  Phone: (970) 897-2711
  Fax: (970) 897-2710
  Email: [EMAIL PROTECTED]

 Need a telecommuting UNIX SysAdmin in Minnesota?
 Dave

 --
   __
__
   \__   \D. J. HAWKEY JR.   /
__/
  \/\ [EMAIL PROTECTED]
/\/
   http://www.visi.com/~hawkeyd/


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



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


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



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


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



another weird xmms problem...

2002-12-09 Thread James A. Arnold
What led me to reinstall Xmms was a weird sound problem. When I slide 
the sound bar in Xmms the sound cuts out at around 50 percent and 
then comes fading back at around 60 percent. At first I though it was 
the sound card but a different sound card does the same thing. My 
speakers are balanced at 50/50.

I am running vchans with xmms on /dev/dsp0.3 but trying /dev/dsp does 
the same thing.

Weird. The new Xmms from the MM directory does the same thing.

Jim

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


Re: Ethernet card problem

2002-12-09 Thread D J Hawkey Jr
On Dec 09, at 03:07 PM, Kevin D. Kinsey, DaleCo, S.P. wrote:
 
 dc driver uses the miibus code, make sure you have that enabled
 on your kernel.
 
 There is nothing needed in sysinstall, a device probe ought to
 catch it IF the miibus is enabled in your kernel config.

Um, he can't enable miibus in the kernel from sysinstall(8), can he?
I don't know that miibus is in the distribution kernel or not, if
/modules/miibus.ko is likewise available, nor if you can activate
modules from sysinstall(8).

I don't recall any difficulties with sysinstall(8) when I brought
up this box with Linksys NICs (Realtek chipsets, which also use dc(1)).

Otherwise, you point out that which I'd forgotten. Thanks.

 Sorry, I'm late on this discussion, if I've missed important
 points, please forgiveI just hadn't seen this point
 mentioned.

Forgive? Nonsense. You made the effort, that's what counts.

 Kevin Kinsey
 DaleCo, S.P.

Dave

-- 
  __ __
  \__   \D. J. HAWKEY JR.   /   __/
 \/\ [EMAIL PROTECTED]/\/
  http://www.visi.com/~hawkeyd/


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



PCMCIA NIC

2002-12-09 Thread Brian Henning
Hello,
I have a D-Link 670TX PCMCIA nic that is too new for FBSD4.7 so
/stand/sysinstall doesn't dectect it.  This card uses the ed driver under
FBSD5.0.  if i know the memory address and the irq can i set it up to work
in FBSD4.7? for example:

device ed0 at isa? port 0x280 irq 10 iomem 0xd8000

if i get this entry correct will it show up under /stand/sysinstall
configuration menu?

thanks,
brian

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



RE: Ethernet card problem

2002-12-09 Thread Jack L. Stone
At 02:19 PM 12.9.2002 -0700, Thomas Connolly wrote:
Thanks for the advice but again, I am very new to all this.  Can you tell me
how to check if miibus is enabled and how to enable it if it is not?

Thanks in advance,

Tom Connolly


Just edit your kernel config file with this line and recompile:
device  miibus  # MII bus support

Best regards,
Jack L. Stone,
Administrator

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

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



Re: Ethernet card problem

2002-12-09 Thread D J Hawkey Jr
On Dec 09, at 03:51 PM, Jack L. Stone wrote:
 
 At 02:19 PM 12.9.2002 -0700, Thomas Connolly wrote:
 Thanks for the advice but again, I am very new to all this.  Can you tell me
 how to check if miibus is enabled and how to enable it if it is not?
 
 Thanks in advance,
 Tom Connolly
 
 Just edit your kernel config file with this line and recompile:
 device  miibus  # MII bus support

Again, this can only occur _after_ the initial sysinstall(8), right?

 Best regards,
 Jack L. Stone,

Dave

-- 
  __ __
  \__   \D. J. HAWKEY JR.   /   __/
 \/\ [EMAIL PROTECTED]/\/
  http://www.visi.com/~hawkeyd/


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



Re: Ethernet card problem

2002-12-09 Thread Kevin D. Kinsey, DaleCo, S.P.

- Original Message -
From: D J Hawkey Jr [EMAIL PROTECTED]
To: Jack L. Stone [EMAIL PROTECTED]
Cc: Thomas Connolly [EMAIL PROTECTED]; Kevin D. Kinsey,
DaleCo, S.P. [EMAIL PROTECTED]; 'Brian' [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Monday, December 09, 2002 3:57 PM
Subject: Re: Ethernet card problem


 On Dec 09, at 03:51 PM, Jack L. Stone wrote:
 
  At 02:19 PM 12.9.2002 -0700, Thomas Connolly wrote:
  Thanks for the advice but again, I am very new to all this.  Can
you tell me
  how to check if miibus is enabled and how to enable it if it is
not?
  
  Thanks in advance,
  Tom Connolly
 
  Just edit your kernel config file with this line and recompile:
  device  miibus  # MII bus support

 Again, this can only occur _after_ the initial sysinstall(8),
right?

  Best regards,
  Jack L. Stone,

 Dave

Guess so.  So, he's trying to do an FTP install, and it
won't recognize his NIC?

KDK


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



Re: Ethernet card problem

2002-12-09 Thread Kevin D. Kinsey, DaleCo, S.P.
OK, he's got a Kingston (generally dc driver) and is trying
to do sysinstall and d-load over NIC.

IME it doesn't matter what you pick in the configuration
section of sysinstall --- whatever's first should work, because
those are just old nonPNP ISA NIC drivers.

After doing kernel configuration in full-screen visual/CLI/skip
then sysinstall does an initial device probe, and when you get
to configure interface, it should be there.

For the record, device miibus is enabled in -GENERIC kernel.

If his NIC is *not* there when it's time to configure and start
the d-load, it's a hardware/BIOS issue, or somebody's broke
sysinstall(8).or is there another option I'm missing?

Kevin Kinsey


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



RE: Ethernet card problem

2002-12-09 Thread Thomas Connolly
I actually installed from CD and won't recognize my NIC.  I selected the ed0
NIC from sysinstall because I wasn't sure what I was supposed to use for my
card (Kingston KNE100TX - dc(4)).  When I got to the configuration screen,
there was no Ethernet card listed.  I am confused on what to do next.  What
I'm haring is that I have to install miibus, then I have to edit
/etc/rc.conf.  Do I have that right?

Thanks again,

Thomas Connolly

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Kevin D. Kinsey,
DaleCo, S.P.
Sent: Monday, December 09, 2002 2:58 PM
To: [EMAIL PROTECTED]; Jack L. Stone
Cc: Thomas Connolly; 'Brian'; [EMAIL PROTECTED]
Subject: Re: Ethernet card problem


- Original Message -
From: D J Hawkey Jr [EMAIL PROTECTED]
To: Jack L. Stone [EMAIL PROTECTED]
Cc: Thomas Connolly [EMAIL PROTECTED]; Kevin D. Kinsey,
DaleCo, S.P. [EMAIL PROTECTED]; 'Brian' [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Monday, December 09, 2002 3:57 PM
Subject: Re: Ethernet card problem


 On Dec 09, at 03:51 PM, Jack L. Stone wrote:
 
  At 02:19 PM 12.9.2002 -0700, Thomas Connolly wrote:
  Thanks for the advice but again, I am very new to all this.  Can
you tell me
  how to check if miibus is enabled and how to enable it if it is
not?
  
  Thanks in advance,
  Tom Connolly
 
  Just edit your kernel config file with this line and recompile:
  device  miibus  # MII bus support

 Again, this can only occur _after_ the initial sysinstall(8),
right?

  Best regards,
  Jack L. Stone,

 Dave

Guess so.  So, he's trying to do an FTP install, and it
won't recognize his NIC?

KDK


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


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



Re: Bootable CDs (was Re: Interest in diskless booting?)

2002-12-09 Thread Philip Hallstrom
  One of the students here at RPI worked on a project for the custom
  cd-rom idea.  It's at
 
  http://www.sourceforge.net/projects/freebsdtogo/

 I've spent the weekend experimenting with the various methods of making
 bootable FreeBSD CDs.

 LiveCD died with an unlogged error just before it was ready to build an
 ISO.

Hmm... I've used LiveCD to build a CD with Apache/Postgres on it..  I
didn't use their scripts, but looked at the steps they were taking...
worked fine for me.  My mkisofs line looked like this:

mkisofs -b boot/cdboot -no-emul-boot -c boot/boot.catalog -R -J -V LiveCD
-o ../LiveCD.iso .

Of course, I can't tell you what version of mkisofs I used since I did it
awhile ago (3 months)  and have since upgraded the system.  Whatever was
current at that time...

-philip


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



HELP: vinum and newfs on 5.0-RC1

2002-12-09 Thread Aaron D. Gifford
Okay,

I had a vinum RAID5 set working on 4.7.  Since I didn't have any data on 
it yet and saw today's announcement of 5.0-RC1, I thought I'd give 
5.0-RC1 a try on the box in question.  Vinum sees the RAID5 set I 
created just fine, so I decided to use newfs to create a UFS2 filesystem 
on the volume.  Call me an idiot, but I can't seem to figure out how to 
do this despite searching various FreeBSD mailing lists.  It appears 5.0 
 no longer supports the -v option, so I assume vinum support is now 
built-in.  Here's what I'm trying:

# newfs -O 2 -U /dev/vinum/raid5vol
newfs: /dev/vinum/raid5vol: 'e' partition is unavailable

That's funny.  After reading around a bit, I wondered if perhaps some 
sort of disk label is now required on the vinum volume.   However, no 
matter how I try using disklabel, disklabel complains about my attempts.

Here's my vinum setup:

  drive d0 device /dev/ad0s1f
  drive d1 device /dev/ad1s1f
  drive d2 device /dev/ad2s1f
  drive d3 device /dev/ad3s1f
  volume raid5vol
plex name p5 org raid5 512s vol raid5vol
  sd name sd0 drive d0 plex p5 len 232798208s
   driveoffset 265s plexoffset 0s
  sd name sd1 drive d1 plex p5 len 232798208s
   driveoffset 265s plexoffset 512s
  sd name sd2 drive d2 plex p5 len 232798208s
   driveoffset 265s plexoffset 1024s
  sd name sd3 drive d3 plex p5 len 232798208s
   driveoffset 265s plexoffset 1536s

DEVFS shows:

  /dev/vinum:
control
controld
plex:
  p5
sd:
  sd0
  sd1
  sd2
  sd3
raid5vol

Disklabel /dev/vinum/raid5vol shows me:
  type: Vinum
  disk: vinum
  label: radi
  flags:
  bytes/sector: 512
  sectors/track: 698394624
  tracks/cylinder: 1
  sectors/cylinder: 698394624
  cylinders: 1
  sectors/unit: 689394624
  rpm: 14400
  interleave: 1
  trackskew: 0
  cylinderskew: 0
  headswitch: 0  # milliseconds
  track-to-track seek: 0 # milliseconds
  drivedata: 0

  3 Partitions:
  #size   offsetfstype   [fsize bsize bps/cpg]
a: 69839462404.2BSD 1024  8192 0  # (Cyl. 0 - 0)
b: 6983946240  swap   # (Cyl. 0 - 0)
c: 6983946240unused0 0# (Cyl. 0 - 0)

I tried editing it, setting a: to unused, size 0, removing b:, and 
creating e: just like a: as above.  Of course disklabel complained about
a zero size, so I completely removed a:, then disklabel complained about 
e: being out of range a-c, so I renamed e: as a: and it seemed happy. 
At least until I double checked the data and a subsequent disklabel call 
showed that all my changes had been silently discarded and the above 
showd up anew.  The vinum label command also appears useless, happily 
executing but changing nothing.

Now for the questions:

How does one create a new filesystem (UFS2 in particular) on a vinum 
volume in 5.0?  Is some sort of label required?

Help!

Thanks!

Aaron out.


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


RE: Ethernet card problem

2002-12-09 Thread Thomas Connolly

This is exactly my situation, any ideas??
If his NIC is *not* there when it's time to configure and start
the d-load, it's a hardware/BIOS issue, or somebody's broke
sysinstall(8).or is there another option I'm missing?

Tom

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Kevin D. Kinsey,
DaleCo, S.P.
Sent: Monday, December 09, 2002 3:05 PM
To: [EMAIL PROTECTED]; Jack L. Stone
Cc: [EMAIL PROTECTED]
Subject: Re: Ethernet card problem

OK, he's got a Kingston (generally dc driver) and is trying
to do sysinstall and d-load over NIC.

IME it doesn't matter what you pick in the configuration
section of sysinstall --- whatever's first should work, because
those are just old nonPNP ISA NIC drivers.

After doing kernel configuration in full-screen visual/CLI/skip
then sysinstall does an initial device probe, and when you get
to configure interface, it should be there.

For the record, device miibus is enabled in -GENERIC kernel.

If his NIC is *not* there when it's time to configure and start
the d-load, it's a hardware/BIOS issue, or somebody's broke
sysinstall(8).or is there another option I'm missing?

Kevin Kinsey


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


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



Re: Ethernet card problem

2002-12-09 Thread Kevin D. Kinsey, DaleCo, S.P.
From: Thomas Connolly [EMAIL PROTECTED]
Sent: Monday, December 09, 2002 4:15 PM
Subject: RE: Ethernet card problem


 I actually installed from CD and won't recognize my NIC.  I
selected the ed0
 NIC from sysinstall because I wasn't sure what I was supposed to
use for my
 card (Kingston KNE100TX - dc(4)).  When I got to the configuration
screen,
 there was no Ethernet card listed.  I am confused on what to do
next.  What
 I'm haring is that I have to install miibus, then I have to edit
 /etc/rc.conf.  Do I have that right?

 Thanks again,

 Thomas Connolly

If you're using the GENERIC kernel, miibus should
already be enabled.  As to rc.conf, see below.

If you installed from CD, and therefore have a
working system, please post the output of:

$dmesg

If you're able, pipe it to a .txt file and attach
it, otherwise copy/paste to your email program.

$dmesg  attach.txt

That might show us if there is a problem at device
probe time.

It would be worth your time to look at /etc/rc.conf,
because it might be easy to spot if sysinstall actually
wrote the file using ed0 instead of dc0.  If so,
changing it would be a hurdle on our way to fixing
the issue.

You could also send us output from ifconfig -a,
but it sounds as if that's already been decided,
and dc0 isn't in there.

KDK


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



Java2D with patch1

2002-12-09 Thread Juan Velasco
Dear all,

I just installed the new patch1 for sun jdk1.4
The first thing I did to test it was to run
the sample programs that came in the
distribution: Java2D, Notepad.

I attached a file so that you can see how it looks.
The fonts are unrecognizable. Since the patch was
reseased less than 20 days ago I dont find info on the
specific subject on the mailing lists.

I run the same file in linux and windows with no problem,
I also run the same program in freebsd with the linux-sun-
jdk1.4.1 and there is no problem either. I run it
with previous jdk1.3.x patches... no problem either,
 so I guess its 
a specific problem of the new patch1 for jdk1.4.

Did anyone install the patch and ran a gui
java app? Did you have the same problem?
If yes how did you fix it?
 

Kind regards,
Juan Velasco 
-- 
Juan R. Velasco, CEO, Shih Belgium
Site  : www.shih.be
Phone : (0032)486612555
FreeBSD dune.shih.be 4.7-STABLE #0: Mon Dec 2 22:30:58 CET 2002 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/KERNEL  AMD 2800+

attachment: java2d.jpg

RE: Ethernet card problem

2002-12-09 Thread Brian
ah so then its not being detected, pci or isa card?  Id isa, perhaps
setting bios irq to isa legacy is necessary..

Bri


On Mon, 9 Dec 2002, Thomas Connolly wrote:

 Yes, that is what I tried to do but my interface doesn't come up in the
 list, only plip, and com 1 come up, not dc0.

 Thanks,
 Thomas Connolly

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]] On Behalf Of Brian
 Sent: Monday, December 09, 2002 10:45 AM
 To: Thomas Connolly; [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Re: Ethernet card problem

 isnt is /stand/sysinstall, post install config, network, pick yer interface,
 answer yes to the dhcp popup, thats it?

 BTW, if it asks you if you want to activate now, that typically will not get
 you the new parameters on the interface, youll need to either ifconfig it
 down and then up, or reboot as a quik dirty way.

 Bri

 - Original Message -
 From: Thomas Connolly [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Monday, December 09, 2002 9:36 AM
 Subject: RE: Ethernet card problem


  Thanks again for the help.  Can you tell me how to set my interface up
  manually so that it will use DHCP for the ip and netmask, gateway, etc.?
 
  Thanks,
 
  Tom Connolly
 
  -Original Message-
  From: D J Hawkey Jr [mailto:[EMAIL PROTECTED]]
  Sent: Monday, December 09, 2002 10:25 AM
  To: Thomas Connolly
  Subject: Re: Ethernet card problem
 
  On Dec 09, at 10:07 AM, Thomas Connolly wrote:
  
   Thanks very much for the quick reply.
   I would agree with that.  The model is a Kingston KNE100TX and it says
  that
   the driver is a dc(4).  Which Ethernet selection and I supposed to pick
  for
   that on Sysinstall?
 
  dc0, I would imagine.
 
   Is there a way to reconfigure it after installation.
 
  Oh, yes. Go on through the installation. Afterward, edit /etc/rc.conf to
  reflect reality. You'll have lines like these to change:
  hostname=sheol.localdomain
  ifconfig_ed0=inet 192.168.16.2 netmask 255.255.255.0
  What you'll change is the hostname (if need be), and ifconfig_ed0 to
  ifconfig_dc0. IIRC, that's all it takes.
 
   I
   apologize for the ignorance but I am very new to all this.  I basically
  just
   went step-by-step through the FreeBSD manual on installation.  There was
  no
   option that said dc(4).
 
  I don't remember how to specify the interface within sysinstall(8), but
 I'm
  sure you can (make sure you've resolved conflicting interrupts first).
  I usually set up the network manually, after sysinstall(8), just to stay
 in
  practice!
 
   Thanks again,
   Thomas P. Connolly
   Senior Development Engineer
   Colorado Engineering Experiment Station Inc.
   Phone: (970) 897-2711
   Fax: (970) 897-2710
   Email: [EMAIL PROTECTED]
 
  Need a telecommuting UNIX SysAdmin in Minnesota?
  Dave
 
  --
__ __
\__   \D. J. HAWKEY JR.   /   __/
   \/\ [EMAIL PROTECTED]/\/
http://www.visi.com/~hawkeyd/
 
 
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the message
 


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



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



RE: Ethernet card problem

2002-12-09 Thread Thomas Connolly
It's a pci card.

Thomas P. Connolly
Senior Development Engineer
Colorado Engineering Experiment Station Inc.
Phone: (970) 897-2711
Fax: (970) 897-2710
Email: [EMAIL PROTECTED]
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Brian
Sent: Monday, December 09, 2002 4:27 PM
To: Thomas Connolly
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Ethernet card problem

ah so then its not being detected, pci or isa card?  Id isa, perhaps
setting bios irq to isa legacy is necessary..

Bri


On Mon, 9 Dec 2002, Thomas Connolly wrote:

 Yes, that is what I tried to do but my interface doesn't come up in the
 list, only plip, and com 1 come up, not dc0.

 Thanks,
 Thomas Connolly

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]] On Behalf Of Brian
 Sent: Monday, December 09, 2002 10:45 AM
 To: Thomas Connolly; [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Re: Ethernet card problem

 isnt is /stand/sysinstall, post install config, network, pick yer
interface,
 answer yes to the dhcp popup, thats it?

 BTW, if it asks you if you want to activate now, that typically will not
get
 you the new parameters on the interface, youll need to either ifconfig it
 down and then up, or reboot as a quik dirty way.

 Bri

 - Original Message -
 From: Thomas Connolly [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Monday, December 09, 2002 9:36 AM
 Subject: RE: Ethernet card problem


  Thanks again for the help.  Can you tell me how to set my interface up
  manually so that it will use DHCP for the ip and netmask, gateway, etc.?
 
  Thanks,
 
  Tom Connolly
 
  -Original Message-
  From: D J Hawkey Jr [mailto:[EMAIL PROTECTED]]
  Sent: Monday, December 09, 2002 10:25 AM
  To: Thomas Connolly
  Subject: Re: Ethernet card problem
 
  On Dec 09, at 10:07 AM, Thomas Connolly wrote:
  
   Thanks very much for the quick reply.
   I would agree with that.  The model is a Kingston KNE100TX and it says
  that
   the driver is a dc(4).  Which Ethernet selection and I supposed to
pick
  for
   that on Sysinstall?
 
  dc0, I would imagine.
 
   Is there a way to reconfigure it after installation.
 
  Oh, yes. Go on through the installation. Afterward, edit /etc/rc.conf to
  reflect reality. You'll have lines like these to change:
  hostname=sheol.localdomain
  ifconfig_ed0=inet 192.168.16.2 netmask 255.255.255.0
  What you'll change is the hostname (if need be), and ifconfig_ed0 to
  ifconfig_dc0. IIRC, that's all it takes.
 
   I
   apologize for the ignorance but I am very new to all this.  I
basically
  just
   went step-by-step through the FreeBSD manual on installation.  There
was
  no
   option that said dc(4).
 
  I don't remember how to specify the interface within sysinstall(8), but
 I'm
  sure you can (make sure you've resolved conflicting interrupts first).
  I usually set up the network manually, after sysinstall(8), just to stay
 in
  practice!
 
   Thanks again,
   Thomas P. Connolly
   Senior Development Engineer
   Colorado Engineering Experiment Station Inc.
   Phone: (970) 897-2711
   Fax: (970) 897-2710
   Email: [EMAIL PROTECTED]
 
  Need a telecommuting UNIX SysAdmin in Minnesota?
  Dave
 
  --
__ __
\__   \D. J. HAWKEY JR.   /   __/
   \/\ [EMAIL PROTECTED]/\/
http://www.visi.com/~hawkeyd/
 
 
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the message
 


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



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


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



Re: FreeBSD-Stable + apache13 + mod_frontpage

2002-12-09 Thread Doug Reynolds
On Mon, 9 Dec 2002 00:48:31 -0500, David Banning wrote:

 Will chown web to www as part of install.
 Will chgrp web to www as part of install.
 /usr/libexec/ld-elf.so.1: /usr/lib/libm.so.2: Undefined symbol

Does /usr/lib/libm.so.2 exist?

seems to:

[root@/]dir /usr/lib/libm.so*
lrwxr-xr-x  1 root  wheel   9 Nov 17 14:21 /usr/lib/libm.so@ -
libm.so.2
-r--r--r--  1 root  wheel  117024 Nov 17 14:21 /usr/lib/libm.so.2
---
doug reynolds | the maverick | [EMAIL PROTECTED]



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



SSH through firewall

2002-12-09 Thread Joshua Lokken
Hello all

I asked this question a couple of weeks back, but have not yet been able to
make this work.

I often transfer files to my home machines from work using scp.  Currently,
if I want to move a file to a machine on my LAN, I first have to copy the
file to a user home dir on the gateway box, then recopy it from the gateway
to the internal box.  How do I avoid this extra step?  eg,

130.94.160.46  --  12.225.249.250  
10.0.0.2
(remote machine)   (gateway)   |
(LAN)
   
-  10.0.0.10
   |
   -
10.0.0.15

I have tried this:

in /etc/rc.conf:

natd_enable=YES
natd_interface=ed0 # outside interface
natd_flags=-f /etc/natd.conf

and in /etc/natd.conf:

dynamic yes
redirect_port tcp 10.0.0.2:22 22002
redirect_port tcp 10.0.0.10:22 22010
redirect_port tcp 10.0.0.15:22 22015


Near the top of /etc/firewall.conf I have:

$fwcmd $flags add divert natd all from any to any via $oif

Connecting to the gateway on port 22 works fine, but all other connections
(22002, 22010, 22015) time out.
I have the proper keys in the proper places and the hosts files are OK.  I
appreciate any help.  Please cc me, as this address is not subscribed to the
list.  Thanks!

--
Best Regards,

Joshua Lokken
OMIC Portland Branch
[EMAIL PROTECTED]
503 807 6538
-


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



grip cd ripper - which one

2002-12-09 Thread John Bleichert
Hello All

I'm looking for a ripping utility to tell grip to use to pull tracks from 
an audio cd - which one does everybody use? The default is cdda2wav which 
isn't in the ports collection.

I see a few other rippers in the ports collection, but I like grip - which 
ripping utility should I tell it to use?

Thanks - JB


#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


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



Re: Ethernet card problem

2002-12-09 Thread Cliff Sarginson
On Mon, Dec 09, 2002 at 04:30:28PM -0700, Thomas Connolly wrote:
 It's a pci card.
 
mega-snip

- miibus is in the generic, there are a dozen or so PCI cards that need
it, some very common ones at that.
- the dc driver works on one of my systems that needs it, both under
4.7-Stable and Current.
- If you have a PCI card you can delete/ignore all the cards mentioned
in sysinstall, they are all ISA cards.

Nobody has suggested a few simple things yet. Such as is the card
properly seated in it's slot, have you tried another PCI slot in the 
computer. Check the PCI settings in your BIOS for any reserved slots,
turn off plug and play. Or maybe the card is kapot ?

Good luck.

-- 
Regards
   Cliff Sarginson 
   The Netherlands

[ This mail has been checked as virus-free ]

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



nfs creates files with huge uids

2002-12-09 Thread Michael Nottebrock
I have /usr/ports/distfiles nfs-mounted from another machine, and when I 
build a port, fetch runs as root and writes in /usr/ports/distfiles. The 
files which are created this way carries an insanely huge uid (12 
digits!) which causes all sorts of trouble with quotacheck and is 
invisible to find -user. How can I prevent this?

--
Regards,
	Michael Nottebrock



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


Re: SSH through firewall

2002-12-09 Thread Brian
could use port forwarding to a hi numbered port, forward a hi port on the
gateway to a port on the dest box.

Bri


On Mon, 9 Dec 2002, Joshua Lokken wrote:

 Hello all

 I asked this question a couple of weeks back, but have not yet been able to
 make this work.

 I often transfer files to my home machines from work using scp.  Currently,
 if I want to move a file to a machine on my LAN, I first have to copy the
 file to a user home dir on the gateway box, then recopy it from the gateway
 to the internal box.  How do I avoid this extra step?  eg,

 130.94.160.46  --  12.225.249.250  
 10.0.0.2
 (remote machine)   (gateway)   |
 (LAN)
  
-  10.0.0.10
|
-
 10.0.0.15

 I have tried this:

 in /etc/rc.conf:

 natd_enable=YES
 natd_interface=ed0 # outside interface
 natd_flags=-f /etc/natd.conf

 and in /etc/natd.conf:

 dynamic yes
 redirect_port tcp 10.0.0.2:22 22002
 redirect_port tcp 10.0.0.10:22 22010
 redirect_port tcp 10.0.0.15:22 22015


 Near the top of /etc/firewall.conf I have:

 $fwcmd $flags add divert natd all from any to any via $oif

 Connecting to the gateway on port 22 works fine, but all other connections
 (22002, 22010, 22015) time out.
 I have the proper keys in the proper places and the hosts files are OK.  I
 appreciate any help.  Please cc me, as this address is not subscribed to the
 list.  Thanks!

 --
 Best Regards,

 Joshua Lokken
 OMIC Portland Branch
 [EMAIL PROTECTED]
 503 807 6538
 -


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


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



Which mailing list.....

2002-12-09 Thread Paul Pathiakis
Hi,

I'd like to know which mailing list I should post a reqest for the SiS 650 
motherboard chipset for 5.0.  I thought they would have put this in as I 
noticed a coupld of people requesting support back in June of 2000, but as I 
read the hardware notes for 5.0-RC1 I see everything but the 650 Chipset.  
Where should I post this?

Thanks!

Paul Pathiakis


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



Re: grip cd ripper - which one

2002-12-09 Thread paul beard
John Bleichert wrote:


Hello All

I'm looking for a ripping utility to tell grip to use to pull 
tracks from
an audio cd - which one does everybody use? The default is 
cdda2wav which
isn't in the ports collection.

is too . . . .

([EMAIL PROTECTED])-(04:20 PM / Mon Dec 09)
[/usr/ports]:: pkg_info -W /usr/local/bin/cdda2wav
/usr/local/bin/cdda2wav was installed by package cdrtools-1.11.a39

--
Paul Beard: seeking UNIX/internet engineering work
in Seattle area. Details available below:
	http://paulbeard.no-ip.org/paulbeard.html

The revolution will not be televised.


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



RE: SSH through firewall

2002-12-09 Thread David Daugherty
 [mailto:[EMAIL PROTECTED]] On Behalf Of 
 Joshua Lokken
 I often transfer files to my home machines from work using 
 scp.  Currently, if I want to move a file to a machine on my 
 LAN, I first have to copy the file to a user home dir on the 
 gateway box, then recopy it from the gateway to the internal 
 box.  How do I avoid this extra step?  eg,
I currently do exactly this by placing these 2 lines in my natd.conf:

redirect_port   tcp 192.168.xxx.xxx:22  some high port #
redirect_port   udp 192.168.xxx.xxx:22  some high port #

Of course some numbers have been changed to protect the innocent g

 ---
| /\ \/ @

[EMAIL PROTECTED]
DataSphere - Databases, back end web programming and networking
360.656.6226
ICQ: 21106703



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



Re: grip cd ripper - which one

2002-12-09 Thread John Bleichert
On Mon, 9 Dec 2002, paul beard wrote:
 Date: Mon, 09 Dec 2002 16:22:38 -0800
 From: paul beard [EMAIL PROTECTED]
 To: John Bleichert [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Re: grip cd ripper - which one
 
 John Bleichert wrote:
 
  Hello All
 
  I'm looking for a ripping utility to tell grip to use to pull 
  tracks from
  an audio cd - which one does everybody use? The default is 
  cdda2wav which
  isn't in the ports collection.
 
 is too . . . .
 
 ([EMAIL PROTECTED])-(04:20 PM / Mon Dec 09)
 [/usr/ports]:: pkg_info -W /usr/local/bin/cdda2wav
 /usr/local/bin/cdda2wav was installed by package cdrtools-1.11.a39
 

Whoops!! I never installed cdrtools, burncd has been working well.

Thanks for the pointer!

JB

#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


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



natd - do I have to build a new kernel to use natd

2002-12-09 Thread Lorin Lund
I'm using 4.7 - standard install kernel.



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



Re: Adding users in FreeBSD 4.7

2002-12-09 Thread Kenzo
Yes,
you can delete /etc/adduser.conf or edit it and start over.
this time remember to just press enter for the first prompt.


- Original Message -
From: Jack L. Stone [EMAIL PROTECTED]
To: KevinG [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Sunday, November 24, 2002 12:28 PM
Subject: Re: Adding users in FreeBSD 4.7


 At 10:14 AM 11.24.2002 -0800, KevinG wrote:
 Hello,
 
 I installed 4.7 on a new box and when I try to add users (by
   running adduser) I smack into a roadblock;
   the system asks that I enter the username, which I do,
   and it continues to insist that I enter the username again, over and
   over...
   It seems the regular expressions feature is balling me up and I am
   unsure how this fits into the scheme.
   Man adduser and pw haven't helped me much.
 
 --
 Best regards,
  KevinG  mailto:[EMAIL PROTECTED]
 

 The system will first ask you to set the regexpressions and all you should
 do is press enter to each one if you agree with its offering to set up.
 Then, onec that is done, it will ask for the user to set up.

 I suspect you are trying to enter the user too soon in the process... that
 is the usual problem.

 Best regards,
 Jack L. Stone,
 Administrator

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

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



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



Cisco/Aironet 350 LEAP? Anyone?

2002-12-09 Thread Jason Edwards
I'm having no luck getting my Aironet 350 card to authenticate via LEAP at
my worksite. I'm using a Dell Latitude C600 running 4.7-STABLE ( upgraded
as recently as Dec 2002 ). 

The same hardware utilizing Windoze and the Cisco ACU tools works 
without any trouble, and I can use the Aironet card under FreeBSD for
non-LEAP access points just fine.

For non-leap sites I usually use something like:

ifconfig an0 ssid MYSSID wepmode mixed nwkey 1:(key)
 or
ifconfig an0 ssid tmobile

then just run dhclient an0 and I'm off and running.

Unfortunately, when I try:
   
   ifconfig an0 ssid WORKSSID
   ancontrol -i an0 MYACCOUNT
   Passowrd: MYPASS

It hangs for a minute or two and finally reports that it can't authenticate.

Any hints, folks? I'll try to remember to grab some ancontrol status
snapshots next time I'm down there, but in the meantime I'm open to any
suggestions.

Many thanks in advance!

- jarv

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



Intel CA810E + Celeron 566 == hang

2002-12-09 Thread Joshua Coombs
I have an Intel CA810E mobo, running the latest firmware, with a Celeron 566
(P3 based).  If I build a kernel with just CPU I686_CPU it boots but hangs
at
Using $PIR table...

I'm trying 4.7p2 and will have access to the box again tomorrow to gather
any needed info to debug.

(Not subscribed, please cc)

Joshua Coombs
[EMAIL PROTECTED]



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



RE: Ethernet card problem

2002-12-09 Thread Mat Branyon
Make sure pnp operating system is disabled in your bios and pnp disabled
on your card, or maybe recompiling your kernel for pnp support...

--mat

On Mon, 2002-12-09 at 16:28, Thomas Connolly wrote:
 
 This is exactly my situation, any ideas??
 If his NIC is *not* there when it's time to configure and start
 the d-load, it's a hardware/BIOS issue, or somebody's broke
 sysinstall(8).or is there another option I'm missing?
 
 Tom
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]] On Behalf Of Kevin D. Kinsey,
 DaleCo, S.P.
 Sent: Monday, December 09, 2002 3:05 PM
 To: [EMAIL PROTECTED]; Jack L. Stone
 Cc: [EMAIL PROTECTED]
 Subject: Re: Ethernet card problem
 
 OK, he's got a Kingston (generally dc driver) and is trying
 to do sysinstall and d-load over NIC.
 
 IME it doesn't matter what you pick in the configuration
 section of sysinstall --- whatever's first should work, because
 those are just old nonPNP ISA NIC drivers.
 
 After doing kernel configuration in full-screen visual/CLI/skip
 then sysinstall does an initial device probe, and when you get
 to configure interface, it should be there.
 
 For the record, device miibus is enabled in -GENERIC kernel.
 
 If his NIC is *not* there when it's time to configure and start
 the d-load, it's a hardware/BIOS issue, or somebody's broke
 sysinstall(8).or is there another option I'm missing?
 
 Kevin Kinsey
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 




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



Re: Bootable CDs (was Re: Interest in diskless booting?)

2002-12-09 Thread Warren Block
On Mon, 9 Dec 2002, Philip Hallstrom wrote:

  LiveCD died with an unlogged error just before it was ready to build an
  ISO.
 
 Hmm... I've used LiveCD to build a CD with Apache/Postgres on it..

 mkisofs -b boot/cdboot -no-emul-boot -c boot/boot.catalog -R -J -V LiveCD
 -o ../LiveCD.iso .
 
It died before making it to mkisofs.  But now that freebsdtogo is making
a little more sense, I think I'll stick with it.  *And* I'll check out
the PicoBSD man page, too. 8-)

-Warren Block * Rapid City, South Dakota USA



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



Re: HELP: vinum and newfs on 5.0-RC1

2002-12-09 Thread David Rhodus
I have also been having a few problems with vinum on 5.0-RC1.
I've been having a hard time making a striped or raid5 vinum with more 
than 4 disk's. On the 5th+ disk's vinum will see and says device is 
not configured. 


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


Re: HELP: vinum and newfs on 5.0-RC1

2002-12-09 Thread Greg 'groggy' Lehey
On Monday,  9 December 2002 at 20:23:44 -0500, David Rhodus wrote:
 I have also been having a few problems with vinum on 5.0-RC1.
 I've been having a hard time making a striped or raid5 vinum with more
 than 4 disk's. On the 5th+ disk's vinum will see and says device is
 not configured.

That's a very different issue.  I'm still investigating the one to
which you replied, but in your case I'd like to see the config file
and the contents of /dev.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers

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



testing memory speed

2002-12-09 Thread David S. Jackson
Is there a utility to test memory speed?  I looked at memtest in ports,
but it looks like that mainly tests for faulty memory.  I did a
websearch and found a command:  dd /dev/zero /dev/null, but that
doesn't seem to summarize the memory speed easily for me.

Can anyone else give me a pointer to how to test my machine's memory
speed?  How can I find out whether a memory stick is compatable with an
old box?

TIA.

-- 
David S. Jackson[EMAIL PROTECTED]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
I used to work in a fire hydrant factory.
You couldn't park anywhere near the place.  -- Steven Wright

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



RE: IPNAT help --Thank You

2002-12-09 Thread Mike
Ahh so that's why it would not work THANK YOU!! All that replied. Is
there a place or book where I can dig into this more on what I can use
with what like you mentioned?

Thanks

M;)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Fernando
Gleiser
Sent: Monday, December 09, 2002 7:26 AM
To: Mike
Cc: [EMAIL PROTECTED]
Subject: Re: IPNAT help


On Tue, 17 Dec 2002, Mike wrote:

 Trying to setup a small local network off of my DSL. Currently I use a

 different OS to do this but I am switching, or trying to..

 I am using IPNAT and have added all of the options to redo the kernel.
 options   INET#InterNETworking
 options   IPFIREWALL
 options   IPDIVERT
 options   IPFIREWALL_VERBOSE
 options   IPFIREWALL_VERBOSE_LIMIT=10
 options   IPSTEALTH
 options   TCP_RESTRICT_RST
 options   INET6   #IPv6 communications protocols


If you use ipnat, you need options IPFILTER, and drop all options
IPFIREWALL* and IPDIVERT


 Recompiled and setup my firewall - Works great. Next went after ipnat 
 and natd (Note some of these I do not need I think but which ones?) I 
 need a clear step by step on this if someone has one.

If you use ipfilter, use ipnat. if you use ipfw, use natd.



 My RC.CONF with IP changed
 # -- sysinstall generated deltas -- # Sat Nov 30 16:10:02 2002 # 
 Created: Sat Nov 30 16:10:02 2002 # 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. #My ADSL router
 defaultrouter=216.0.0.33
 ipfilter_enable=YES
 ipnat_anabled=YES

that should be ipnat_enable


 natd_enable=YES
 natd_interface=fpx0
 natd_flags=-f /etc/natd.conf
 gateway_enable=YES
 hostname=myhost.myhost.us
 ifconfig_fxp0=inet 216.0.0.35  netmask 255.255.255.248 
 ifconfig_xl0=inet 192.168.0.2  netmask 255.255.255.0 
 inetd_enable=NO ipv6_enable=YES
 kern_securelevel_enable=NO
 linux_enable=YES
 nfs_reserved_port_only=YES
 sendmail_enable=YES
 sshd_enable=YES
 usbd_enable=YES
 #required for ipfw support
 firewall_enable=YES
 #firewall_script=/etc/ipfw.rules
 firewall_script=/etc/rc.firewall
 firewall_type=simple
 firewall_quiet=NO #change to YES once happy with rules
 firewall_logging_enable=YES
 #extra firewalling options
 log_in_vain=YES
 tcp_restrict_rst=YES
 icmp_drop_redirect=YES

 Next added my ipnat.conf file

 map fxp0 192.168.0.0/24 - 216.222.2.35/29 portmap tcp/udp 1:65000


by default, ipnat looks for the rules in /etc/ipnat.rules. Move the file
or tweak the ipnat_rules var in rc.conf


Hope this helps

Fer


 So pick it apart and point me in the right direction if possible. I am

 continuing to try and make it work...

 Thanks

 PS - This is my First post on anything in FreeBSD, the rest from MySQL

 to SSHD SSL Apache PHP Webmin all went great!



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



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


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



Verify the FreeBSD`s CDs

2002-12-09 Thread Hansel Yapadi
 How to verify the FreeBsd`s CDs?
Now, I`m using Redhat Linux, and It`s easy to check the cds by typing 
linux mediacheck 
I already tried to check it , using checksums in the cds. But, it`s 
useless, because md5sum cannot recognized the format of checksums.

Is it possible to install all packages that available in the 1-4 cds ?
How to install all packages in one click ( I don`t need to select the 
packages one by one ) ?
I have heard from a friend, that installling many packages can causes 
some conflict between the packages, beside security holes.
Is it true?

Thx


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


Re: Cisco/Aironet 350 LEAP? Anyone?

2002-12-09 Thread Joe Marcus Clarke
On Mon, 2002-12-09 at 20:14, Jason Edwards wrote:
 I'm having no luck getting my Aironet 350 card to authenticate via LEAP at
 my worksite. I'm using a Dell Latitude C600 running 4.7-STABLE ( upgraded
 as recently as Dec 2002 ). 
 
 The same hardware utilizing Windoze and the Cisco ACU tools works 
 without any trouble, and I can use the Aironet card under FreeBSD for
 non-LEAP access points just fine.
 
 For non-leap sites I usually use something like:
 
 ifconfig an0 ssid MYSSID wepmode mixed nwkey 1:(key)
  or
 ifconfig an0 ssid tmobile
 
 then just run dhclient an0 and I'm off and running.
 
 Unfortunately, when I try:

ifconfig an0 ssid WORKSSID
ancontrol -i an0 MYACCOUNT
Passowrd: MYPASS
 
 It hangs for a minute or two and finally reports that it can't authenticate.
 
 Any hints, folks? I'll try to remember to grab some ancontrol status
 snapshots next time I'm down there, but in the meantime I'm open to any
 suggestions.

I have a little shell script that I use on my Inspiron when I boot up. 
Basically, for my LEAP config, I have:

route flush
killall dhclient
ifconfig xl0 delete
ifconfig xl0 down
ancontrol -i an0 -W 0
ancontrol -i an0 -W 0
ifconfig an0 ssid tsunami
ifconfig an0 stationname jclarke-wireless
ifconfig an0 wepmode off
ancontrol -i an0 -L jclarke
sleep 1
dhclient an0
killall -HUP -m sendmail

Joe

 
 Many thanks in advance!
 
 - jarv
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
-- 
PGP Key : http://www.marcuscom.com/pgp.asc




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



Re: Interest in diskless booting?

2002-12-09 Thread Greg 'groggy' Lehey
On Monday,  9 December 2002 at 17:48:14 -0800, Lou Katz wrote:
 On Sun, Dec 08, 2002 at 12:48:35PM +1030, Greg 'groggy' Lehey wrote:
 I was at a local installfext yesterday
 (http://installfest.auug.org.au/), and a number of people were
 interested in doing diskless booting, either for reasons of economy or
 reliability.  I'm currently about to finish the manuscript of the
 fourth edition of The Complete FreeBSD, and I was wondering if there
 was enough interest in this topic for me to include it in the book.
 If *you* are interested, please let me know.  I'll make a decision
 depending on the amount of feedback I get.

 Absolutely - especially how to configure a machine to boot and run from such
 things as compact flash.

That's a hardware issue.  Most BIOSes don't support it.  It's
certainly worth following up on, but I won't go beyond mentioning the
possibility in the book.

Greg
--
Finger [EMAIL PROTECTED] for PGP public key
See complete headers for address and phone numbers

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



Re: Interest in diskless booting?

2002-12-09 Thread Wilkinson,Alex
Definitely add it!

 - aW


On Monday,  9 December 2002 at 17:48:14 -0800, Lou Katz wrote:
 On Sun, Dec 08, 2002 at 12:48:35PM +1030, Greg 'groggy' Lehey wrote:
 I was at a local installfext yesterday
 (http://installfest.auug.org.au/), and a number of people were
 interested in doing diskless booting, either for reasons of economy or
 reliability.  I'm currently about to finish the manuscript of the
 fourth edition of The Complete FreeBSD, and I was wondering if there
 was enough interest in this topic for me to include it in the book.
 If *you* are interested, please let me know.  I'll make a decision
 depending on the amount of feedback I get.

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



RE: Athlon motherboard for 5.0?

2002-12-09 Thread Gautham Ganapathy
On Sunday, December 08, 2002 2:01 AM, Cliff L. Biffle wrote

 I'm running 5.0-DP2 on an Asus motherboard with the Apollo
 KT133 chipset.  The
 chipset is notoriously buggy, according to the folks on
 -current, and I've
 been having trouble with the USB and ATA controllers -- though it's
 intermittent and hard to reproduce.

 I've stumbled across a new 1.4Ghz Athlon Thunderbird chip,
 which doesn't work
 in my older motherboard.  So, I'm in the market for a mobo.
 It's for a
 workstation, and integrated graphics and sound are not
 desired.  It'd be nice
 if it took PC133 SDRAM, since I have 768MB here, but DDR is okay if
 necessary.  But most importantly, everything on the
 motherboard needs to have
 good support in 5.0.  Support in 4-stable is nice, but hardly
 a requirement.
 If this means sticking with an older, more conservative chipset, and
 sacrificing things like USB 2.0, Firewire, or fast AGP, it
 doesn't bother me
 at all.  I'm not a gamer or a video producer; my motherboard
 is used solely
 to connect my CPU to RAM and cards. :-)

 Suggestions?

Don't know about 5.0. I am currently running 4.7-RELEASE on an ASUS
A7V333 with a 850 MHz Athlon TBird. Have had no problems so far with
audio/video/LAN... There were some problems with the chipset when I was
using 4.5-RELEASE, but i think they were fixed in 4.7


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



Dump/Restore to disk and tape

2002-12-09 Thread Oliver Crow


Question about use of dump/restore:

I do daily dumps of several FreeBSD machines over the network to a large
archive disk.  This disk has directories for different machines, with
several gzip'd dump files for each.  I have a tape drive on that machine,
and I'd like to copy some of the dump files to tape.

I started off using dd to copy the dump file to tape:
% dd if=dump.0.2002-10-10.gz of=/dev/sa0

But I don't think that dd handles multiple volumes if the dump file ends
up being larger than a single tape.  I could split the file first, but I'd
rather use a program that can automatically handle splitting a file across
several volumes.

I tried to use tar or cpio to copy the dump files to tape archives.  That
way the tape would have a tar archive of dump files.  Unfortunately both
of those programs seem to choke on files 2GB.  I tried using pax.  Pax is
fine with files 2GB, but there's another problem.  To retrieve the
contents of a dump file, I have to copy the entire thing to disk first.
This is awkward for large dump files because it's slow and I may not have
enough space for the entire file.

I can't find a way to extract the file to stdout, and pipe it directly to
restore. I'm thinking of something like:
% pax -r /dev/sa0 dump.0.2002-10-10 | restore -if -

Of course this doesn't work because pax just creates the file
'dump.0.2002-10-10'.

Is there some way to move a dump file to a set of tapes, without having to
do the dump from the original filesystem?

Thanks,
Oliver


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



Re: Which mailing list.....

2002-12-09 Thread Kris Kennaway
On Mon, Dec 09, 2002 at 07:22:11PM -0500, Paul Pathiakis wrote:
 Hi,
 
   I'd like to know which mailing list I should post a reqest for the SiS 650 
 motherboard chipset for 5.0.  I thought they would have put this in as I 
 noticed a coupld of people requesting support back in June of 2000, but as I 
 read the hardware notes for 5.0-RC1 I see everything but the 650 Chipset.  
 Where should I post this?

I don't there's much point just asking to add support.  It's a very
nontrivial task requiring documentation from the vendor, hardware to
test with, and dozens of hours of developer time.

Kris



msg11594/pgp0.pgp
Description: PGP signature


Re: testing memory speed

2002-12-09 Thread Jason Hunt
On Mon, 9 Dec 2002, David S. Jackson wrote:

 Is there a utility to test memory speed?  I looked at memtest in ports,
 but it looks like that mainly tests for faulty memory.  I did a
 websearch and found a command:  dd /dev/zero /dev/null, but that
 doesn't seem to summarize the memory speed easily for me.

 Can anyone else give me a pointer to how to test my machine's memory
 speed?  How can I find out whether a memory stick is compatable with an
 old box?


The speed of the memory is a hardware issue.  If you mismatch the speeds
of your memory and your motherboard, then the board will either try and
force the memory to run a the speed it wants, or the motherboard will drop
it's bus speed down to match that of the memory.  Either way,  I don't
think that software is able to tell you if a stick of memory should be
running at the speed it is, because the software can only read what the
motherboard is running at.

My suggestion would be to just try the memory.  If it doesn't work, you
won't break anything.  The worst case scenario is that the motherboard
detects the wrong size of memory if the speed is mismatched, which should
still be usable anyways.


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



Re: Ethernet card problem

2002-12-09 Thread Kevin D. Kinsey, DaleCo, S.P.
Try setting the BIOS to OS TYPE:  non-PNP

Relevant lines from your dmesg:

dc0: Intel 21143 10/100BaseTX at device 13.0 on pci0
dc0: couldn't map ports/memory device_probe_and_attach: dc0 attach
returned 6

If you look down a ways, you'll also see that you're going to have
USB trouble
if we don't address this issue.

I'm still looking about a bit.  If we can get the NIC recognized,
then
fixing rc.conf should be easy...

HTH,

KDK

- Original Message -
From: Thomas Connolly [EMAIL PROTECTED]
To: Kevin D. Kinsey, DaleCo, S.P. [EMAIL PROTECTED]; Thomas
Connolly [EMAIL PROTECTED]; [EMAIL PROTECTED]; 'Jack L.
Stone' [EMAIL PROTECTED]
Cc: 'Brian' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, December 09, 2002 9:47 PM
Subject: RE: Ethernet card problem


 Kevin,
 Here is the files you asked me to post.  Again thanks everyone for
your
 continued support.  I will be looking forward to your reply.


 -Original Message-
 From: Kevin D. Kinsey, DaleCo, S.P. [mailto:[EMAIL PROTECTED]]
 Sent: Monday, December 09, 2002 3:23 PM
 To: Thomas Connolly; [EMAIL PROTECTED]; 'Jack L. Stone'
 Cc: 'Brian'; [EMAIL PROTECTED]
 Subject: Re: Ethernet card problem


 From: Thomas Connolly [EMAIL PROTECTED]
 Sent: Monday, December 09, 2002 4:15 PM
 Subject: RE: Ethernet card problem


  I actually installed from CD and won't recognize my NIC.  I
 selected the ed0
  NIC from sysinstall because I wasn't sure what I was supposed to
 use for my
  card (Kingston KNE100TX - dc(4)).  When I got to the
configuration
 screen,
  there was no Ethernet card listed.  I am confused on what to do
 next.  What
  I'm haring is that I have to install miibus, then I have to edit
  /etc/rc.conf.  Do I have that right?
 
  Thanks again,
 
  Thomas Connolly
 
 If you're using the GENERIC kernel, miibus should
 already be enabled.  As to rc.conf, see below.

 If you installed from CD, and therefore have a
 working system, please post the output of:

 $dmesg

 If you're able, pipe it to a .txt file and attach
 it, otherwise copy/paste to your email program.

 $dmesg  attach.txt

 That might show us if there is a problem at device
 probe time.

 It would be worth your time to look at /etc/rc.conf,
 because it might be easy to spot if sysinstall actually
 wrote the file using ed0 instead of dc0.  If so,
 changing it would be a hurdle on our way to fixing
 the issue.

 You could also send us output from ifconfig -a,
 but it sounds as if that's already been decided,
 and dc0 isn't in there.

 KDK





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



Re: maxusers and random system freezes

2002-12-09 Thread Dmitry Morozovsky
On Mon, 9 Dec 2002, Varshavchick Alexander wrote:

VA the server went to a swap, because it occurs practically instantly, and
VA this state goes for hours. The system is lacking some resources, or may be
VA a bug somewhere, can you give any hints to it?

Hmm, what about logging vmstat/pstat/netstat -m/sysctl vm ? Possibly to remote
machine via remote syslog?

Sincerely,
D.Marck   [DM5020, DM268-RIPE, DM3-RIPN]

*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- [EMAIL PROTECTED] ***


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



Re: Ethernet card problem

2002-12-09 Thread D J Hawkey Jr
On Dec 09, at 08:47 PM, Thomas Connolly wrote:
 
 In another thread, Thomas wrote:
   My NIC is a pci card.  Do I still have to mess with my BIOS?

My bad. I thought you wrote it was an ISA card, but that was Kevin,
making an observation: OK, he's got a Kingston (generally dc driver)
and is trying to do sysinstall and d-load over NIC. IME it doesn't
matter what you pick in the configuration section of sysinstall
whatever's first should work, because those are just old nonPNP ISA
NIC drivers.

I inferred that the NIC was ISA, where Kevin wrote that the driver
is ISA.

You might have to, yes. See below.

 Copyright (c) 1992-2002 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 4.7-RELEASE #0: Wed Oct  9 15:08:34 GMT 2002
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
 Timecounter i8254  frequency 1193182 Hz
 CPU: Pentium II/Pentium II Xeon/Celeron (347.67-MHz 686-class CPU)
   Origin = GenuineIntel  Id = 0x651  Stepping = 1
   
Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
 real memory  = 134217728 (131072K bytes)
 config di sn0
 config di lnc0
 config di ie0
 config di fe0
 config di cs0
 config di bt0
 config di aic0
 config di aha0
 config di adv0
 config q

OK, you disabled things with conflicting IRQs and other not-needed-here
stuff. Good.

 avail memory = 125435904 (122496K bytes)
 Preloaded elf kernel kernel at 0xc050f000.
 Preloaded userconfig_script /boot/kernel.conf at 0xc050f09c.
 Pentium Pro MTRR support enabled
 md0: Malloc disk
 Using $PIR table, 8 entries at 0xc00fdf40
 npx0: math processor on motherboard
 npx0: INT 16 interface
 pcib0: Intel 82443BX (440 BX) host to PCI bridge on motherboard
 pci0: PCI bus on pcib0
 pcib1: Intel 82443BX (440 BX) PCI-PCI (AGP) bridge at device 1.0 on pci0
 pci1: PCI bus on pcib1
 pci1: Matrox MGA G100 AGP graphics accelerator at 0.0 irq 9
 isab0: Intel 82371AB PCI to ISA bridge at device 4.0 on pci0
 isa0: ISA bus on isab0
 atapci0: Intel PIIX4 ATA33 controller port 0xfcf0-0xfcff at device 4.1 on pci0
 ata0: at 0x1f0 irq 14 on atapci0
 ata1: at 0x170 irq 15 on atapci0
 uhci0: Intel 82371AB/EB (PIIX4) USB controller at device 4.2 on pci0
 uhci0: Could not map ports
 device_probe_and_attach: uhci0 attach returned 6
 chip1: Intel 82371AB Power management controller port 0x2180-0x218f at device 4.3 
on pci0

I'm not sure what this should be, but I've seem chip1 entries occur
when there's hardware that the kernel isn't prepped for. ICH chipsets come
to mind, for instance.

This shouldn't be fatal, and probably isn't related to your NIC.

 dc0: Intel 21143 10/100BaseTX at device 13.0 on pci0
 dc0: couldn't map ports/memory
 device_probe_and_attach: dc0 attach returned 6

There's your dc(4) driver trying to initialize. I don't know what the
6 return value specifically is, but it can't set up its I/O. This
leads me to believe that yes, you may have to twiddle ISA/PnP settings
in your BIOS.

In BIOS, you should be able to zero in on the PCI bus stuff easily enough.
Within that, several slot options. I can't tell you specifically what to
look for or change though; different BIOSes use different words and phrases
to describe the same things. A shot in the dark: Disable Plug-n-Play.

Best I can offer. G'Luck, and don't give up yet.
Dave

-- 
  __ __
  \__   \D. J. HAWKEY JR.   /   __/
 \/\ [EMAIL PROTECTED]/\/
  http://www.visi.com/~hawkeyd/


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



RE: testing memory speed

2002-12-09 Thread Mike
Some BIOS detect memory speed and size. Mine showed a mismatch in speed
100 on one and 133 on another. Changed to both 133 and did not really
see a difference.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Jason Hunt
Sent: Monday, December 09, 2002 10:08 PM
To: David S. Jackson
Cc: [EMAIL PROTECTED]
Subject: Re: testing memory speed


On Mon, 9 Dec 2002, David S. Jackson wrote:

 Is there a utility to test memory speed?  I looked at memtest in 
 ports, but it looks like that mainly tests for faulty memory.  I did a

 websearch and found a command:  dd /dev/zero /dev/null, but that 
 doesn't seem to summarize the memory speed easily for me.

 Can anyone else give me a pointer to how to test my machine's memory 
 speed?  How can I find out whether a memory stick is compatable with 
 an old box?


The speed of the memory is a hardware issue.  If you mismatch the speeds
of your memory and your motherboard, then the board will either try and
force the memory to run a the speed it wants, or the motherboard will
drop it's bus speed down to match that of the memory.  Either way,  I
don't think that software is able to tell you if a stick of memory
should be running at the speed it is, because the software can only read
what the motherboard is running at.

My suggestion would be to just try the memory.  If it doesn't work, you
won't break anything.  The worst case scenario is that the motherboard
detects the wrong size of memory if the speed is mismatched, which
should still be usable anyways.


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


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



Re: testing memory speed

2002-12-09 Thread Cliff Sarginson
On Wed, Dec 18, 2002 at 11:24:06PM -0700, Mike wrote:
 Some BIOS detect memory speed and size. Mine showed a mismatch in speed
 100 on one and 133 on another. Changed to both 133 and did not really
 see a difference.
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]] On Behalf Of Jason Hunt
 Sent: Monday, December 09, 2002 10:08 PM
 To: David S. Jackson
 Cc: [EMAIL PROTECTED]
 Subject: Re: testing memory speed
 
 
 On Mon, 9 Dec 2002, David S. Jackson wrote:
 
  Is there a utility to test memory speed?  I looked at memtest in 
  ports, but it looks like that mainly tests for faulty memory.  I did a
 
  websearch and found a command:  dd /dev/zero /dev/null, but that 
  doesn't seem to summarize the memory speed easily for me.
 
Memtest does give an indication of speed.
It appears for example from my use of it that DDR ram is about 50%
faster than the ordinary stuff...

As has been pointed out by another poster, it is not quite so cut and
dried as the pure speed of your memory, bus speed etc comes into it.

Anyway just get a 2nd mortgage on your house and buy some RIMM .. ho ho..

-- 
Regards
   Cliff Sarginson 
   The Netherlands

[ This mail has been checked as virus-free ]

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



Re: Java2D with patch1

2002-12-09 Thread Jonathan Chen
On Tue, Dec 10, 2002 at 12:21:30AM +0100, Juan Velasco wrote:
 Dear all,
 
 I just installed the new patch1 for sun jdk1.4
 The first thing I did to test it was to run
 the sample programs that came in the
 distribution: Java2D, Notepad.

The jdk1.4 patch release is for developers only. Don't use it unless
you're willing to put up with bugs and attempt to fix it with others
on the -java list.
-- 
Jonathan Chen [EMAIL PROTECTED]
---
I love deadlines. I like the whooshing sound they make as they fly by
- Douglas Adams

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



Re: couple of vinum questions from a vinum newbie.

2002-12-09 Thread Mark Rowlands
On Monday 09 December 2002 12:45 am, Greg 'groggy' Lehey wrote:
 On Sunday,  8 December 2002 at 17:04:28 +0100, Mark Rowlands wrote:
  I have decided to dip my toe into the vinum waters primarily for improved
  read performance, not redundancy or reliability. I have backups for that 
  ;-).
 
  I have two questions, one related to optimal stripe size and one to
  gathering statistics.
 
  I have a freshly cvsupped 4.7 stable currently installed on a 30g single
  disk I propose to add a second 30gb disk as a mirror of this. and to add
  two new identical disks (maxtor fdb-9 120gb) and create a striped volume
  for data on those.
 
  I propose (maybe) to create a single striped volume but.. what stripe
  size? Reading the various vinum docs and looking at some of the samples
  I found lying around the web left me a touch confused.
 
  There are two categories of files on  the data disk, largeish ( 4-5mb)
  which are most frequently accessed but the overwhelming majority of files
  are much smaller  (4k) but not accessed so frequently.
 
  So, is it better to try and optimize for the most frequently accessed, or
  the filesize that comprises the bulk of file accesses? or better to
  create two volumes with different stripe sizes. In either case, if anyone
  has any concrete recommendations, I would welcome them.
 
  When the new hardware arrives, (about a week), I will probably run some
  tests with varying stripe-sizes and see what happens but any pointers
  towards likely good starting points..

 There's a fair discussion of stripe sizes in vinum(4), about 200 lines
 long, under the heading Performance considerations.  I can't do
 better than that in less space.  What part of that don't you
 understand?

yes, that was a poorly phrased question. more of a bleat than a question 
really. What confuses me in particular, is that despite vinum (8) saying that 

with modern disk sizes and correct raid implementations there is no reason 
why stripe sizes of between 2-4mb could not be used
 
and 

a good value for stripe size is betwween 256 and 512 but avoid powers of 
2...

The samples then shown in vinum (8) all then use stripe sizes of 512k  (a 
power of 2) or 32k or 64k (distinctly less than 256).

This is also common in the cases where I have found sample configurations on 
the internet.

So I am, as we speak, running some tests with various stripe sizes and newfs 
options to help me see the performance differences for myself. Apologies for 
wasting your time, I have posted a note on my monitor.think before you 
hit the send button I will also have a look at ccd and atacontrol.

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



Re: my e-mail

2002-12-09 Thread Marcel Stangenberger
On Mon, 9 Dec 2002, Kevin D. Kinsey, DaleCo, S.P. wrote:

 You mean this one?


yep that's the one, odd i didn't see it pass by.

 Yup. We got it.  I have no answer howeverhave you checked
 permissions
 on your tape device?


currently they are like this.
0 crw-rw  4 afbackup  operator   14,   0 Dec  9 01:44 sa0

this is how the creator of afbackup recommends it if you install it
manually, i tried this setting to see if it would work better then, but no
cigar. originaly the owner was root, group wasn't changed.

Marcel


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



Re: couple of vinum questions from a vinum newbie.

2002-12-09 Thread Greg 'groggy' Lehey
On Tuesday, 10 December 2002 at  7:08:15 +0100, Mark Rowlands wrote:
 On Monday 09 December 2002 12:45 am, Greg 'groggy' Lehey wrote:
 On Sunday,  8 December 2002 at 17:04:28 +0100, Mark Rowlands wrote:
 I have decided to dip my toe into the vinum waters primarily for improved
 read performance, not redundancy or reliability. I have backups for that
 ;-).

 I have two questions, one related to optimal stripe size and one to
 gathering statistics.

 I have a freshly cvsupped 4.7 stable currently installed on a 30g single
 disk I propose to add a second 30gb disk as a mirror of this. and to add
 two new identical disks (maxtor fdb-9 120gb) and create a striped volume
 for data on those.

 I propose (maybe) to create a single striped volume but.. what stripe
 size? Reading the various vinum docs and looking at some of the samples
 I found lying around the web left me a touch confused.

 There are two categories of files on  the data disk, largeish ( 4-5mb)
 which are most frequently accessed but the overwhelming majority of files
 are much smaller  (4k) but not accessed so frequently.

 So, is it better to try and optimize for the most frequently accessed, or
 the filesize that comprises the bulk of file accesses? or better to
 create two volumes with different stripe sizes. In either case, if anyone
 has any concrete recommendations, I would welcome them.

 When the new hardware arrives, (about a week), I will probably run some
 tests with varying stripe-sizes and see what happens but any pointers
 towards likely good starting points..

 There's a fair discussion of stripe sizes in vinum(4), about 200 lines
 long, under the heading Performance considerations.  I can't do
 better than that in less space.  What part of that don't you
 understand?

 yes, that was a poorly phrased question. more of a bleat than a question
 really. What confuses me in particular, is that despite vinum (8) saying that

 with modern disk sizes and correct raid implementations there is no reason
 why stripe sizes of between 2-4mb could not be used

 and

 a good value for stripe size is betwween 256 and 512 but avoid powers of
 2...

 The samples then shown in vinum (8) all then use stripe sizes of 512k  (a
 power of 2) or 32k or 64k (distinctly less than 256).

*sigh* I don't see any stripe sizes of 512k, though there are some
512b (256k), and yes, there are some tiny stripes too.

What can I say?  I've known for years that powers of 2 are Wrong, but
I still haven't got round to updating the docco.  I'll do it soon if I
remember; I'll remember if somebody enters a PR against it.

The truth is that you should choose a stripe size which is large and
not a power of 2, though it should be a multiple of the block size of
the file system you put on it.  Since that's generally 16 kB, but
could be 32 kB, something like 480 kB (5123 kB - 32 kB) is about
right.

Why not have even larger stripes?  Superstition, I suppose.  If you
make them too big, they become concatenated.  The real issue is
whether it makes any difference beyond 512 kB.

 This is also common in the cases where I have found sample
 configurations on the internet.

 So I am, as we speak, running some tests with various stripe sizes and newfs
 options to help me see the performance differences for myself. Apologies for
 wasting your time, I have posted a note on my monitor.think before you
 hit the send button I will also have a look at ccd and atacontrol.

I'd be very interested to see the results of rawio on the various
configurations.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers

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



  1   2   >