FreeBSD 4.7 -> 5.0 (Removing Perl/UUCP safly?)

2003-01-20 Thread Karl M. Joch
How to safly and completely  remove Perl / UUCP and maybe others which 
have been removed from the source tree. UPDATING doesnt mention anything 
about it.

Furthermore there is need for doing installworld on some boxes far away 
in multi user mode. any chance this works?

--
Best regards / Mit freundlichen Gruessen,

Karl M. Joch


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


Request to join id-freebsd denied

2003-01-20 Thread Yahoo!Groups Notification

Hello,

The moderator of the id-freebsd group has denied 
your request for membership.

The moderator of each Yahoo! Groups group chooses whether to 
restrict membership in his or her group. Moderators who 
choose to restrict membership also choose whom to admit.

Please note that this decision is final and that Yahoo! Groups 
does not control group membership.

If you would like to create a new group at Yahoo! Groups 
please visit: 

http://groups.yahoo.com/start

Thank you for choosing Yahoo! Groups as your email group service.


Regards,

Yahoo! Groups Customer Care

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
 





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



Re: FTP Mirror software?

2003-01-20 Thread Thomas Spreng
Hi,

On Mon, Jan 20, 2003 at 06:16:53PM -0500, Joe Marcus Clarke wrote:
> I'm looking for a good FTP mirror package to mirror the FreeBSD FTP
> site.  I had been using ftpmirror for over a year now, and it just now
> deleted my entire mirror overnight.  Now, I can't get it to redownload
> the site.  Any good suggestions welcome.  Thanks.
> 
> Joe

rsync ?

greets,
tom

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



vinum raid5 expansion

2003-01-20 Thread Thomas C. Meggs
Hi,

I'm considering using FBSD+vinum for our file server. However I'm a little
concerned about expansion. Can vinum expand a raid5 volume on to other
disks?

Thanks!

Regards,
Tom


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



mutt from ports on freebsd-5.0 forcing ssl for imap

2003-01-20 Thread airyk
I installed mutt from ports on freebsd-5.0 and when i try to connect to
an imap mailbox, it's always trying to connect using ssl. In
/usr/local/etc/Muttrc I put:

set imap_authenticators=""
set imap_force_ssl=no

and it still tries to use ssl when i try to connect to my imap mailbox.
am i missing something?

erik




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



periodic mail reject logs with sendmail 8.12

2003-01-20 Thread John Laugenour
I don't know if this has come up but
In upgrading sendmail 8.11 to 8.12 on FreeBSD 4.2 I found that the
parsing of the maillog by the 460periodic script was getting the arg1
and logging only the recipient domain with the script
--cut
perl -ne "print \"\$2\n\"
 if (/reject=/ and
 /^$start.*ruleset=check_\S+,\s+arg1=(<[^@]+@)?([^>,]+).*reject=/o);" |
 sort -f | uniq -ic | sort -fnr | tee /dev/stderr | wc
-l)
 -- cut
The solution is to change the string to move the parse to the right as
the new logs are in a different format. *ruleset=check_\S+,\s+arg1=
to:*arg1=\S+,\s+relay=

--
John Laugenour
AFES Network Services
http://yolo.net
530-668-9864



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



Re: permission denied in ping?

2003-01-20 Thread Dan Nelson
In the last episode (Jan 21), Zhang Weiwu said:
> Today I found that I cannot connect to the lan. Logged as root,
> pinging 127.0.0.1 returns:
> 
> Ping 127.0.0.1: sendto: Permission denied
> 
> And pinging whatever address returns the same error message. 

Check your ipfw rules; if ipfw blocks a packet being sent by the local
system, the error gets passed backto the program.

-- 
Dan Nelson
[EMAIL PROTECTED]

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



permission denied in ping?

2003-01-20 Thread Zhang Weiwu
Today I found that I cannot connect to the lan. Logged as root, pinging 127.0.0.1 
returns: 

Ping 127.0.0.1: sendto: Permission denied

And pinging whatever address returns the same error message. 

Ifconfig looks alright, so is rc.conf and route. 

It used to be working several weeks ago, but I didn't connect to this LAN for quite 
some time, and lots of things changed. (I even configed a new kernel.) So I'm not sure 
what's the cause of the problem. 

A FreeBSD 4.7 on ThinkPad R30. 

BEGIN:VCARD
VERSION:2.1
N:Zhang;Weiwu
FN:Zhang Weiwu
ORG:Xiamen University;Computer Science
NOTE;ENCODING=QUOTED-PRINTABLE:ICQ:173606765=0D=0ASet your email priority to be "high" if you want reply wi=
thin 12 hours. =0D=0ABig5 emails are automatically deleted because most of t=
hem are spam. If you want to send Chinese email, and you cannot encode it in=
 GB18030, encode it in unicode.
TEL;WORK;VOICE:0592 2099864
TEL;HOME;VOICE:0592 2513600
ADR;WORK:;;Xiamen University mailbox 0012;Xiamen;Fujian;361005;China
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Xiamen University mailbox 0012=0D=0AXiamen, Fujian 361005=0D=0AChina
ADR;HOME:;;ÔøØȈ215ºÅ403ÊÒ;ÏÃÃÅ;¸£½¨;361005;China
LABEL;HOME;ENCODING=QUOTED-PRINTABLE:=D4=F8=D8=C8=88=9D215=BA=C5403=CA=D2=0D=0A=CF=C3=C3=C5, =B8=A3=BD=A8 361005=
=0D=0AChina
URL;HOME:http://aliweekly.nease.net
URL;WORK:http://cies.xmu.edu.cn
BDAY:19821027
KEY;X509;ENCODING=BASE64:
MIICljCCAf+gAwIBAgIDCJ0wMA0GCSqGSIb3DQEBBAUAMIGSMQswCQYDVQQGEwJaQTEVMBMG
A1UECBMMV2VzdGVybiBDYXBlMRIwEAYDVQQHEwlDYXBlIFRvd24xDzANBgNVBAoTBlRoYXd0
ZTEdMBsGA1UECxMUQ2VydGlmaWNhdGUgU2VydmljZXMxKDAmBgNVBAMTH1BlcnNvbmFsIEZy
ZWVtYWlsIFJTQSAyMDAwLjguMzAwHhcNMDIxMTAxMDkyNDEzWhcNMDMxMTAxMDkyNDEzWjBI
MR8wHQYDVQQDExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMSUwIwYJKoZIhvcNAQkBFhZ3ZWl3
dXpoYW5nQGhvdG1haWwuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCi/w14YfSS
fuzISHjGmznWTs8IMohbPA/dSc0ZMAAqPp6/rg+GD6GKfyH7CfHlHpeFHYMz+IUqkmiGP9Kf
nmTKhSVs0Dx4SMU8MwfxUYqvOvyZ7pNuuPb6ErbcD4dFdcYOIRTYK0nQ4LkkPZbiQbg0i8RL
bITuouvW/oFU70QTowIDAQABo0MwQTAOBgNVHQ8BAf8EBAMCA/gwIQYDVR0RBBowGIEWd2Vp
d3V6aGFuZ0Bob3RtYWlsLmNvbTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3DQEBBAUAA4GBAMbD
/Q8sJ47nmhBH0jucuPvZyoh0IKtCN9tuazjlt0O3gBeN/MItogex10pGGWDXVx3cZ3LceFMt
1/QuTUiA+LtXtea1X0mN6hcfCB8k7ByXaeAbhrUZVs7wBYQSM5g+gJIiH45SO2lblG3wbAIi
BVn4ZKKlwcXZY+S2HWEc89tq


EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20030121T053653Z
END:VCARD



smime.p7s
Description: application/pkcs7-signature


xfree86 error - 5.0

2003-01-20 Thread John Bleichert
Hello All

Just upgraded to 5.0 and cvsup'd my ports. When I attempt to load X, I get 
this error (a lot of times) and X doesn't load:

Symbol  from module /usr/X11R6/lib/modules/fonts/libbitmap.a is 
unresolved!

I've tried to install all the parts of XFree86 individually (from the 
ports collection), and the list of installed ports is at the end of this 
email.

Any ideas why this is happening?

Thanks - JB

johnnyb:~ > pkg_info | grep XFree
XFree86-4.2.0_1,1   X11/XFree86 core distribution (complete, using 
mini/meta-po
XFree86-FontServer-4.2.0_1 XFree86-4 Font Server
XFree86-Server-4.2.1_6 XFree86-4 X server and related programs
XFree86-clients-4.2.1_2 XFree86-4 Client environments
XFree86-documents-4.2.0 XFree86-4 Document Files
XFree86-font100dpi-4.2.0 XFree86-4 bitmap 100 dpi fonts
XFree86-font75dpi-4.2.0 XFree86-4 bitmap 75 dpi fonts
XFree86-fontCyrillic-4.2.0_4 XFree86-4 Cyrillic Fonts
XFree86-fontDefaultBitmaps-4.2.0 XFree86-4 default bitmap fonts
XFree86-fontEncodings-4.2.0 XFree86-4 font encoding files
XFree86-fontScalable-4.2.0 XFree86-4 Scalable font files
XFree86-libraries-4.2.1_5 XFree86-4 include/(shared) library kit
imake-4.2.0_1   Imake and other utilities from XFree86
wrapper-1.0_2   Wrapper for XFree86-4 server
johnnyb:~ > pkg_info | grep -i font
XFree86-FontServer-4.2.0_1 XFree86-4 Font Server
XFree86-font100dpi-4.2.0 XFree86-4 bitmap 100 dpi fonts
XFree86-font75dpi-4.2.0 XFree86-4 bitmap 75 dpi fonts
XFree86-fontCyrillic-4.2.0_4 XFree86-4 Cyrillic Fonts
XFree86-fontDefaultBitmaps-4.2.0 XFree86-4 default bitmap fonts
XFree86-fontEncodings-4.2.0 XFree86-4 font encoding files
XFree86-fontScalable-4.2.0 XFree86-4 Scalable font files
bitmap-fonts-1.0Bitmap font, (6x12, 7x14, 8x16, 12x24) dots bitmap 
font
freetype2-2.1.2 A free and portable TrueType font rendering engine
johnnyb:~ > uname -a
FreeBSD tasha.vonbek.dhs.org 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Mon Jan 
20 20:01:42 EST 2003 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
johnnyb:~ > 



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



Re: Increase memory limit ?

2003-01-20 Thread Frank Li

I would like to thank the help from the following friends:
Chuck Swiger <[EMAIL PROTECTED]>,Duncan Anker 
<[EMAIL PROTECTED]>,Roman Neuhauser <[EMAIL PROTECTED]>,Greg 
'groggy' Lehey <[EMAIL PROTECTED]>
for solving the memory limit problem.

Thanks very much!

Sincerely,

Frank



_
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail


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


Re: Increase memory limit ?

2003-01-20 Thread Frank Li
From: Chuck Swiger <[EMAIL PROTECTED]>
Hmm.  Are you certain:

12-sec# dd if=/dev/zero of=/var/cache/bar bs=1024k count=64
64+0 records in
64+0 records out
67108864 bytes transferred in 18.790176 secs (3571487 bytes/sec)
13-sec# ls -l /var/cache/bar
-rw-r--r--  1 root  wheel  67108864 Jan 16 22:44 /var/cache/bar

...since that should have created a 64 MB swapfile.


Yeah, you are right.  It is only 64MB.


Anyway, it sounds like you've made good progress.  (Congratulations.)


Thanks, Chuck, you are very helpful!

Frank

_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE* 
http://join.msn.com/?page=features/virus


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


Re: CD-ROM installtion problems.

2003-01-20 Thread John Bleichert
On Mon, 20 Jan 2003, Mike Loiterman wrote:

> Date: Mon, 20 Jan 2003 21:42:23 -0600
> From: Mike Loiterman <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: CD-ROM installtion problems.
> 
>  
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Just downloaded 5.0 and successfully burnt the discs.
> 
> Unfortunately I have been unable to get my system to boot with the discs.  Disc 1 
>works fine with others systems, however.
> 
> I can boot the system with a windows disk without problems, so the CD-ROM drive 
>appears to work.
> 
> I can boot the system with the floppies, but when I try to install from the CD-ROM 
>drive it says it there was an error mount /dev/adc0.
> 
> I'm using a promise Ultar133TX2 ata adapter which is supported by FreeBSD according 
>to the documentation.  The card sees both the HD and the CD-ROM. 
> 
> I used Nero Burning ROM to burn the disc.  I created an Image from the ISO.  Did I 
>burn the disc incorrectly?  

The ISO already *is* an image. If you get a directory listing of the CD in 
e.g. win32 do you see 1 enormous file or the BSD CD structure? If the disk 
was burned improperly, you'll see just 1 large file on the CD and not the 
correct file structure.

HTH - 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: Problem upgrading from 4.6 to 5.0 - RELEASE (lib.a not found)

2003-01-20 Thread James


> On Mon, Jan 20, 2003 at 06:41:12PM -0800, James wrote:
> > I've been running FreeBSD 4.6 since last June, and I decided to upgrade
to
> > 5.0 Release.
> >
> > I read through and followed the instructions listed in
/usr/src/UPDATING.
> > Here is what I did (as per the UPDATING file):
> >
> > cd /usr/src
> > make buildworld
> > make buildkernel KERNCONF=GENERIC
> > cp src/sys/i386/conf/GENERIC.hints /boot/device.hints
> > make installkernel KERNCONF=GENERIC
> > cd src/sys/boot
> > make install
> >
> > The problem comes at the above command(s):
> > cd src/sys/boot ; make install
>
> Hrrm, is it possible, that since you're in src already, the path is off?
>
> (The error message seems to point in other directions, but I know this has
> happened to a few people.  I
>
>
> Just for the heck of it, try
> cd /usr/src/sys/boot
>
> (or cd sys/boot)
> >
>
> --

Scott, thanks for the hints, but I've done that.  :(
I also do a "pwd" just to make sure where I am.
I should have also have said:
I cvsupped to RELEASE 5 yesterday at about 8pm.
I've looked for that file "lib.a" on my HDD, but I can't find it.  I used:
find / -name "lib.a"

Thank you for your quick response, though, Scott, I appreciate it.
Got any more ideas?
Thanks in advance!
James Turnbull


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



CD-ROM installtion problems.

2003-01-20 Thread Mike Loiterman
 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Just downloaded 5.0 and successfully burnt the discs.

Unfortunately I have been unable to get my system to boot with the discs.  Disc 1 
works fine with others systems, however.

I can boot the system with a windows disk without problems, so the CD-ROM drive 
appears to work.

I can boot the system with the floppies, but when I try to install from the CD-ROM 
drive it says it there was an error mount /dev/adc0.

I'm using a promise Ultar133TX2 ata adapter which is supported by FreeBSD according to 
the documentation.  The card sees both the HD and the CD-ROM. 

I used Nero Burning ROM to burn the disc.  I created an Image from the ISO.  Did I 
burn the disc incorrectly?  

Any ideas what is going on or how I can fix this?  

- ---
Randomly Generated Quote:
If today is the first day of the rest  
of your life, then what the hell was   
yesterday? 

Mike Loiterman
PGP Key 0xD1B9D18E
http://www.ascendency.net



-BEGIN PGP SIGNATURE-
Version: PGP 8.0
Comment: This message has been digitally signed by Mike Loiterman

iQA/AwUBPizBnmjZbUnRudGOEQIbDACeMcm6QwCop9lRptK2oIglD+xlwLsAoN5i
8qUhQjczaxag3Zxe2Gz9T6N4
=/aXn
-END PGP SIGNATURE-


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



Saludo a Ud, desde Argentina

2003-01-20 Thread starlab
De mi mayor consideracion:
X-Infomail-Spawn: [EMAIL PROTECTED] a 500 destinos
X-Infomail-Id: 1043117998.183C16AC1E03A8.17998

Permitame presentarme: soy Alejandro Vega, Representante de STARLAB Planetarios 
Portatiles, para Sudamerica, Africa y el Caribe (http://www.planetarios.com).

Intento contactar a personas que pudieran estar interesadas en nuestro producto, 
porque se que STARLAB es una herramienta educativa y cultural de extraordinaria 
utilidad para cualquier Compañía privada o Agencia Nacional.  Tanto como iniciativa de 
indole estrictamente educativa, como incluso un prospero negocio  en las escuelas, 
parques tematicos, campamentos, museos; tal como ha sido experimentado en Argentina, 
Chile, Paraguay, Brasil, Puerto Rico, Dominicana y Panama, USA y Europa.

Si no me equivoque y usted  quiere mayor informacion,  le enviare una Presentacion 
Power Point para ilustrar algo mas este tema.

STARLAB ha demostrado ser tanto una herramienta educativa como comercial. El sistema 
de es un entorno de instruccion tan portatil que puede  transportarse en un automovil 
y puesto en servicio en menos de 10 minutos. Consiste en un domo inflable, proyector, 
cilindros de proyeccion, y accesorios optativos. 

Sin mas, a la espera de su amable respuesta, saludo a usted con las consideraciones 
mas distinguidas.

Alejandro Vega 
Representante para Africa, Sudamérica y el Caribe
Nueva York 2396 Pb (1419)
Buenos Aires Argentina
[EMAIL PROTECTED]
http://www.planetarios.com
54 11 4571 3341 tel/fax



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



Re: Problem upgrading from 4.6 to 5.0 - RELEASE (lib.a not found)

2003-01-20 Thread Scott Robbins
On Mon, Jan 20, 2003 at 06:41:12PM -0800, James wrote:
> I've been running FreeBSD 4.6 since last June, and I decided to upgrade to
> 5.0 Release.
> 
> I read through and followed the instructions listed in /usr/src/UPDATING.
> Here is what I did (as per the UPDATING file):
> 
> cd /usr/src
> make buildworld
> make buildkernel KERNCONF=GENERIC
> cp src/sys/i386/conf/GENERIC.hints /boot/device.hints
> make installkernel KERNCONF=GENERIC
> cd src/sys/boot
> make install
> 
> The problem comes at the above command(s):
> cd src/sys/boot ; make install

Hrrm, is it possible, that since you're in src already, the path is off?

(The error message seems to point in other directions, but I know this has
happened to a few people.  I

 
Just for the heck of it, try 
cd /usr/src/sys/boot

(or cd sys/boot)
> 

-- 

Scott Robbins

PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 D575 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Buffy: The world is what it is---we fight, we die. Wishing 
doesn't change that. 
Giles: I have to believe in a better world. 
Buffy: Go ahead. I have to live in this one. 


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



Problem upgrading from 4.6 to 5.0 - RELEASE (lib.a not found)

2003-01-20 Thread James
I've been running FreeBSD 4.6 since last June, and I decided to upgrade to
5.0 Release.

I read through and followed the instructions listed in /usr/src/UPDATING.
Here is what I did (as per the UPDATING file):

cd /usr/src
make buildworld
make buildkernel KERNCONF=GENERIC
cp src/sys/i386/conf/GENERIC.hints /boot/device.hints
make installkernel KERNCONF=GENERIC
cd src/sys/boot
make install

The problem comes at the above command(s):
cd src/sys/boot ; make install

It goes through various files, but stops and says (I cannot copy and paste
the output, so here it is typed):

...
===> i386/btx/lib
install -c -o root -g wheel -m444   lib.a /usr/lib
install:  lib.a:  No such file or directory
*** Error code 71
...

You guys have been very helpful before, thank you in advance for looking at
it!
Any ideas?
Thanks!
James Turnbull


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



Any one using the WANic 520 cards for frame relay??

2003-01-20 Thread Murray Taylor
We are looking into the WANic 520 series cards from SBS Technologies
for use in our frame relay links. We are currently using the 405 series
card from the same supplier under netgraph very successfully, however
that
card series in no longer in production.

The 520 series apparently comes with its own drivers and I am looking
for user commentary on the card and drivers.


Thanks

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



This Email has been scanned for Viruses by MailMarshal.


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



Experiences installing 5.0

2003-01-20 Thread Richard Tobin
Having successfully run 5.0-DP2 on my Vaio Z600TEK laptop, I tried
a binary upgrade to 5.0-R.

Unsurprisingly, it didn't recognise the "Ninja ATA" pccard that
connects the CDROM.

So I attempted to install by NFS from a 4.7 machine.  This paniced
(repeatably) within a few seconds of starting to extract the base
distribution.  (Sorry, I didn't record the panic message.)

So instead I copied the CD to a Windows partition, and installed from
there.  This worked until it came to install the perl package, which
failed because it was already installed.  It then insisted that it
hadn't been able to install even the base distribution so the upgrade
had failed.

It now boots into 5.0-R, but of course it has not restored my /etc
files; I guess I can do that by hand.

I can't reproduce the panic in the running system: NFS mounting and
unpacking the base distribution doesn't cause any problem.

-- Richard

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



problems with linux-ntscape 4.79

2003-01-20 Thread Gary D Kline

Hi Gang,

I'm having lots of troubles with my linux-netscape (4.79)
plugins.  I need the shockwave flash for something my daughter
wants to play, but the website for some reason cannot see that
this plugin is already installed.

When I bring down the Preferences menu and the Applications
menu pops up, for unknown reasons it is off-by-one when I
click n the Edit button.  

mozilla is looking better and better but lacks java.  java-1.3.1
won't build.  One of the issues seems to be that I let things
get too many months behind port-upgrade wise.

Ideas welcome... .

gary



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


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



smbus & hardware monitoring problem

2003-01-20 Thread Tim Aslat
Hi All,

I'm having a spot of bother getting hardware monitoring working under
FreeBSD (4.7-RELEASE-p3).

I have a M7MKA mainboard (Biostar) slot A Athlon, with a AMD751/756
chipset.  According to the documentation I've found it has a winbond 
W83782D hardware monitor which is supposed to be supported by healthd.

My current attempt at kernel configuration has the following differences
from GENERIC.
 additional entries to GENERIC 
# trying to get smbus working for hardware monitoring
device  smbus   # Bus support, required for smb below.
device  intpm
device  alpm
device  ichsmb
device  viapm
device  smb

device  iicbus  # Bus support, required for 
device  iicbb
device  ic
device  iic
device  iicsmb  # smb over i2c bridge
device  pcf0
 end addition entries -

dmesg doesn't come up with any indication that smbus or smb devices are
found/configured and I'm beginning to tear my hair out.

Obviously I'm doing something really stupid or it would be working and
I'm at my wits end.

Can anyone give me a pointer in the right direction as I'm still fairly
new to the ins and outs of the kernel configurations under FreeBSD.

Cheers

Tim

-- 
| The most exciting phrase to   | Tim Aslat <[EMAIL PROTECTED]> |
| hear in science, the one that | http://www.spyderweb.com.au  |
| heralds new discoveries, is   | Spyderweb Consulting |
| not "Eureka!" (I found it!)   | P: 82270800M: 0401088479 |
| but "That's funny ..."| Webmaster for|
|  -- Isaac Asimov  | http://www.goodiesruleok.com |
| No, "Eureka" is Greek for | The Ultimate Goody Fansite   |
| "This bath is too hot!| [EMAIL PROTECTED]  |
|   -- Dr Who   |  |

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



Re: Need help with Sound Card

2003-01-20 Thread John Bleichert
On Mon, 20 Jan 2003, aydun wrote:
> Subject: Need help with Sound Card
> 
> Hi,
> 
> I've got a Rockwell WaveArtist card (RWA010, R6711-31) but I can't 
> configure FreeBSD 4.7 to see it correctly.  Bios sees it ok at 0x220 & 
> it works under Windows (IRQ 5)
> 
> It's supposed to be ISA PnP and Sound Blaster Pro compatible.
> 
> I've tried various combinations of 'device pcm', 'device sb'; 'device 
> sbc', 'device snd' but it when it boots the best it gets is:
> 
> sb_reset_dsp failed
> unknown:  can't assign resources
> 


"can't assign resources" could be due to your BIOS settings - try 
disabling "PnP OpSys Installed" and then bring up your system. If you 
disable PnP support in your BIOS, you *may* be able to get around this.

Good luck!

JB



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



Re: Root Servers - Nameserver Update.

2003-01-20 Thread Kirk Strauser

At 2003-01-20T22:36:23Z, "Grant Peel" <[EMAIL PROTECTED]> writes:

> Hi all,
>
> I will be moving our servers this weekend to a new POP.
>
> The move includes our nameservers, also, all our IPs will change.

Any chance of leaving a single small machine with two addresses serving DNS
on the old IPs until the cutover?
-- 
Kirk Strauser
In Googlis non est, ergo non est.



msg16127/pgp0.pgp
Description: PGP signature


Need help with Sound Card

2003-01-20 Thread aydun
Hi,

I've got a Rockwell WaveArtist card (RWA010, R6711-31) but I can't 
configure FreeBSD 4.7 to see it correctly.  Bios sees it ok at 0x220 & 
it works under Windows (IRQ 5)

It's supposed to be ISA PnP and Sound Blaster Pro compatible.

I've tried various combinations of 'device pcm', 'device sb'; 'device 
sbc', 'device snd' but it when it boots the best it gets is:

sb_reset_dsp failed
unknown:  can't assign resources

so it at least knows its got a WaveArtist thingy!

Below is the kernel config and dmesg output.

Any ideas?
Thanks
aydun

kernel
==
machine i386
cpu I586_CPU
ident   DPRO
maxusers0
options INET#InterNETworking
options FFS #Berkeley Fast Filesystem
options FFS_ROOT#FFS usable as root device [keep 
this!]
options SOFTUPDATES #Enable FFS soft updates support
options UFS_DIRHASH #Improve performance on big 
directories
options MFS #Memory Filesystem
options NFS #Network Filesystem
options MSDOSFS #MSDOS Filesystem
options CD9660  #ISO 9660 Filesystem
options CD9660_ROOT #CD-ROM usable as root, CD9660 
required
options PROCFS  #Process filesystem
options COMPAT_43   #Compatible with BSD 4.3 [KEEP 
THIS!]
options UCONSOLE#Allow users to grab the console
options USERCONFIG  #boot -c editor
options VISUAL_USERCONFIG   #visual boot -c editor
options KTRACE  #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options P1003_1B#Posix P1003_1B real-time extensions
options _KPOSIX_PRIORITY_SCHEDULING
options ICMP_BANDLIM#Rate limit bad replies
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~215k to driver.
options USER_LDT# for Java and Wine
device  isa
device  eisa
device  pci
device  fdc0at isa? port IO_FD1 irq 6 drq 2
device  fd0 at fdc0 drive 0
device  ata0at isa? port IO_WD1 irq 14
device  ata1at isa? port IO_WD2 irq 15
device  ata
device  atadisk # ATA disk drives
device  atapicd # ATAPI CDROM drives
options ATA_STATIC_ID   #Static device numbering
# Allow ncr to attach legacy NCR 
devices when
# both sym and ncr are configured
device  atkbdc0 at isa? port IO_KBD
device  atkbd0  at atkbdc? irq 1 flags 0x1
device  psm0at atkbdc? irq 12
device  vga0at isa?
pseudo-device   splash
device  sc0 at isa? flags 0x100
device  agp # support several AGP chipsets
device  npx0at nexus? port IO_NPX irq 13
device  apm0at nexus? disable flags 0x20 # Advanced Power 
Management
device  sio0at isa? port IO_COM1 flags 0x10 irq 4
device  ppc0at isa? irq 7
device  ppbus   # Parallel port bus (required)
device  lpt # Printer
device  ppi # Parallel port interface device
device  miibus  # MII bus support
device  dc  # DEC/Intel 21143 and various workalikes
pseudo-device   loop# Network loopback
pseudo-device   ether   # Ethernet support
pseudo-device   sl  1   # Kernel SLIP
pseudo-device   ppp 1   # Kernel PPP
pseudo-device   tun # Packet tunnel.
pseudo-device   pty # Pseudo-ttys (telnet etc)
pseudo-device   md  # Memory "disks"
device  uhci# UHCI PCI->USB interface
device  ohci# OHCI PCI->USB interface
device  usb # USB Bus (required)
device  ugen# Generic
device  ulpt# Printer
device snd
device sb0 at isa? port 0x220 irq 5 drq 1
device sbxvi0  at isa? drq 5
device sbmidi0 at isa? port 0x330

dmesg
=

Copyright (c) 1992-2003 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-STABLE #4: Mon Jan 20 22:12:38 GMT 2003
aydun@big:/usr/obj/usr/src/sys/DPRO
Timecounte

Re: FTP Mirror software?

2003-01-20 Thread Miguel Mendez
On 20 Jan 2003 18:16:53 -0500
Joe Marcus Clarke <[EMAIL PROTECTED]> wrote:

Hi,

> I'm looking for a good FTP mirror package to mirror the FreeBSD FTP
> site.  I had been using ftpmirror for over a year now, and it just now
> deleted my entire mirror overnight.  Now, I can't get it to redownload
> the site.  Any good suggestions welcome.  Thanks.

wget -m ? :)

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!



msg16133/pgp0.pgp
Description: PGP signature


FTP Mirror software?

2003-01-20 Thread Joe Marcus Clarke
I'm looking for a good FTP mirror package to mirror the FreeBSD FTP
site.  I had been using ftpmirror for over a year now, and it just now
deleted my entire mirror overnight.  Now, I can't get it to redownload
the site.  Any good suggestions welcome.  Thanks.

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: dc NIC: mac address gets reset (5.0-REL)

2003-01-20 Thread Maxlor
On Mon, 20 Jan 2003 16:38:25 -0600
Dan Nelson <[EMAIL PROTECTED]> wrote:

> I think this is a known problem.  You can probably work around it by
> creating a file "/etc/start_if.dc0" with the single line:
> 
>   ifconfig dc0 ether 01:23:45:67:89:AB
> 
> That should force the mac address before dhcp starts up.

Thank you, works just fine. And it's much less ugly than having a script in
/usr/local/etc/rc.d :)

Greetings
Benjamin

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



Re: Problem: Galeon2 spawning mutiple times on startup...

2003-01-20 Thread Andy Akins
On Mon, 2003-01-20 at 16:13, Joe Marcus Clarke wrote:

> Is this a new user using Galeon for the first time, or do you have old
> 1.2.x prefs?  If you type "galeon" from a shell prompt, do you get the
> same behavior?
> 
> Joe

Good ideas. This is a brand new setup - the first time Galeon has been
used. I tried deleting the .galeon directory, in case something in there
was weird - still get the same behavior.

It was more interesting when I ran it from terminal than the menu. I
apologize for the length of the post, but I figure it all may be
relevant:

bash-2.05b$ galeon &
[2] 97843
bash-2.05b$ ** Message: Using
/usr/X11R6/share/gnome/galeon/galeon-bookmark.png (usually OK)

** Message: Using /usr/X11R6/share/gnome/galeon/galeon-separator.png
(usually OK)

** Message: Using /usr/X11R6/share/gnome/galeon/galeon-folder.png
(usually OK)

** Message: Using /usr/X11R6/share/gnome/galeon/galeon-folder-open.png
(usually OK)

** Message: Using /usr/X11R6/share/gnome/galeon/galeon-default.png
(usually OK)

** Message: Using /usr/X11R6/share/gnome/galeon/galeon-default-open.png
(usually OK)

** Message: Using /usr/X11R6/share/gnome/galeon/galeon-history.png
(usually OK)

** Message: Using /usr/X11R6/share/gnome/galeon/galeon-viewsource.png
(usually OK)

** Message: Using /usr/X11R6/share/gnome/galeon/galeon-send-link.png
(usually OK)

trying to load bookmarks from /home/andy/.galeon/bookmarks.xbel
** Message: Using /usr/X11R6/share/gnome/galeon/default-bookmarks.xbel
(usually OK)


** (galeon-bin:97843): WARNING **: I could not load the bookmarks file,
will load the default bookmarks.
Detected version of bookmarks file: galeon2
** Message: Using /usr/X11R6/share/gnome/galeon/Insecure.png (usually
OK)

** Message: Using
/usr/X11R6/share/gnome/galeon/galeon-bookmark-alias-mark.png (usually
OK)

** Message: Using
/usr/X11R6/share/gnome/galeon/galeon-bookmark-alias-mark.png (usually
OK)

** Message: Using /usr/X11R6/share/gnome/galeon/smart-bm-fold.png
(usually OK)

** Message: Using /usr/X11R6/share/gnome/galeon/smart-bm-unfold.png
(usually OK)

** (galeon-bin:97843): CRITICAL **: file mozilla-embed.cpp: line 529
(enum gresult impl_can_go_up(GaleonEmbed *)): assertion `location !=
NULL' failed

** (galeon-bin:97843): CRITICAL **: file mozilla-embed.cpp: line 529
(enum gresult impl_can_go_up(GaleonEmbed *)): assertion `location !=
NULL' failed


The last line then repeats until I kill the galeon-bin process, at which
point all the galeons disapear.

Something interesting is going on

-- 
+--+--+
| Andy Akins   | email: [EMAIL PROTECTED] |
|  | web:   http://www.leonidae.org   |
+--+--+
| public key available at: http://pgp.mit.edu/ as [EMAIL PROTECTED]   |
| GPG-FP: 7531 26C0 EB2D 4A0E DFD2  E250 D4FD FF2C 26EB 457A  |
+-+





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


Re: dc NIC: mac address gets reset (5.0-REL)

2003-01-20 Thread Dan Nelson
In the last episode (Jan 20), Benjamin Lutz said:
> I just installed FreeBSD 5.0-RELEASE on a machine that was running
> 4.7-RELEASE-p3 before. I've got a problem with my network card:
> 
> After rebooting the system, it's MAC address is reset to
> C0:00:C0:00:C0:00. The card works fine otherwise (apart from some
> "dc: failed to force tx and rx to idle state" messages that are, as
> far as the mailing lists tell me, uncritical). This of course makes
> the DHCP server give me another than my standard IP. Also, if I
> install FreeBSD 5.0 on another machine in my LAN, and it shows the
> same behaviour, i'll run into problems.
> 
> I can manually change the MAC address back to its old value, then
> restart dhclient, and it works. However, I don't want to have to do
> that after every reboot...

I think this is a known problem.  You can probably work around it by
creating a file "/etc/start_if.dc0" with the single line:

  ifconfig dc0 ether 01:23:45:67:89:AB

That should force the mac address before dhcp starts up.

-- 
Dan Nelson
[EMAIL PROTECTED]

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



Root Servers - Nameserver Update.

2003-01-20 Thread Grant Peel
Hi all,

I will be moving our servers this weekend to a new POP.

The move includes our nameservers, also, all our IPs will change.

1) Does anyone KNOW when the root servers update DNS for hosts (NS's)?

2) We were planning to change the DNS about 11:00 P.M. this Saturday, Taking
the machines to the new POP, and hoping by the time we did the DNS would
start resolving to the new IPs. Which leads back to question 1... How soon
before a move would you say we should change the IPs dor the
nameserversBTW, all TTLs are set to 30 minutes. (Including the
nameservers.

-Grant

Grant W. Peel
Server Admin
[EMAIL PROTECTED]
http://thenetnow.com


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



Re: glibc vs BSD libc

2003-01-20 Thread Kris Kennaway
On Mon, Jan 20, 2003 at 05:05:38AM -0800, Atifa Kheel wrote:

Some other comments:

> glibc support for standards:
> ANSI C(ISO C)
> POSIX (Pthreads support)
> SYSTEM V
> (Eg:
> Malloc tunable parameter(mallopt)
> Extensions :
> Statistics for storage allocation with malloc(mallinfo)
> _tolower() and _toupper() supported.

If it's an 'extension', then it's not 'standard' and not worth using
as a point of comparison.  Basically, most of the things you list as
"not supported" by BSD are better stated as being GNU-specific
extensions that are non-standard and therefore incompatible with the
rest of the world.

> 19.
> Extended Characters
> glibc: Supported
> BSD libc: No multi-byte character set functions.Breaks building UTF(Unicode) support 
>in libncurses.

wide character support is present in 5.0.

Kris


msg16121/pgp0.pgp
Description: PGP signature


Re: docs for lowend systems

2003-01-20 Thread Anti
On Mon, 20 Jan 2003 16:03:43 -0500
Joshua Coombs <[EMAIL PROTECTED]> wrote:

> I've started putting together some docs based on my abuse of FreeBSD on less 
> than optimal x86 platforms.  My current drivel is at 
> http://www.x386.net/lowmem.html (warning, the page is rated NC17 for 
> language and cruelty to old computers).  Would there be any interest in a 
> properly formated, language corrected version to include in the handbook or 
> other appropriate spot in the official documentation?


why recommend vga for such low-end systems? pcvt instead of sc+vga saves
a couple mb ram and makes the kernel a bit smaller...

and even mentioning 5.x for a 386 is just wrong...


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



File on ftp is broken

2003-01-20 Thread Dmitry Alexeyev
Hello!

Looks like file distfiles/KDE/kdelibs-3.0.5.tar.bz2 is broken on
freebsd master ftp site; bzip2 failes to uncompress it.
Also looks like this file is already on many other ftp sites.

Sorry, if this questions is out of topic or has been discussed
already; i am not a subscriber. Please, mail directly to me if details
are needed.

Dmitry


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



Re: glibc vs BSD libc

2003-01-20 Thread Kris Kennaway
On Mon, Jan 20, 2003 at 10:31:31AM -0600, Dan Nelson wrote:

> > System database and name service switch(NSS)
> > glibc: Supported
> > BSD libc: NSS not supported.Incompatible shadow and password support  and ancient 
>utmp.
> > (Problem Solved by writing a library libshadow)
> 
> User applications should not need to know about FreeBSD's shadow
> password style, so that shouldn't really matter.

5.0 has NSS.  Also, while it's obvious you're coming from a Linux
background, please note that it's equally valid to consider glibc as
the one with the incompatible password file format ;-).  What does
"ancient" mean, in technical terms?

Kris



msg16119/pgp0.pgp
Description: PGP signature


Re: pw add?

2003-01-20 Thread Bill Moran
talon wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi All

Would someone here be able to tell me how to add
a user to a group using the pw command.

eg I would like to add myself to the operator group


pw usermod username -G operator

Should do the trick


Do I have to hand edit the /etc/group file ?


You can.  The /etc/group file is human readable, and requires
no magic when you're done (i.e. it doesn't need compiled or
rehashed or anything) so it's pretty easy to edit group
memberships that way.  I'm sure the pw command is the
preferred method, however.

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


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



Re: pw add?

2003-01-20 Thread Kevin Stevens

On Monday, Jan 20, 2003, at 14:05 US/Pacific, talon wrote:

Would someone here be able to tell me how to add
a user to a group using the pw command.

eg I would like to add myself to the operator group

Do I have to hand edit the /etc/group file ?


pw usermod Myaccount -G operator

KeS


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



Re: Problem: Galeon2 spawning mutiple times on startup...

2003-01-20 Thread Joe Marcus Clarke
On Mon, 2003-01-20 at 11:13, Andy Akins wrote:
> Hello everyone. I have a small problem. I've tried looking on the
> www.freebsd.org/gnome site, the Galeon site, and searching google, but
> I've had no luck.
> 
> I've installed FreeBSD 4.7 on my Athlon. Then I CVSUP'd ports and
> source, with my source coming from STABLE. I rebuilt the kernel, then
> installed Gnome2 and Gnome2-Fifth-Toe from ports.
> 
> Everything built fine. I tweaked my XF86Config to put 100dpi fonts
> first, set my .xinitrc to export GDK_USE_XFT=1 and start
> gnome-session...and then tried to run stuff.
> 
> Gnome starts up great. Most apps work perfectly. Galleon, however, seems
> to have a problem. I click on the menu item, and the program
> begins...and begins...and begins...it keeps repeatedly spawning Galleon
> windows.
> 
> Anyone else have this problem? Can anyone point me to a solution
> somewhere?

I have not seen this in my setup, but admittedly, I am running Galeon
1.3.1 with Mozilla 1.2.1 (it's coming to the ports tree probably
tomorrow).  However, even when I was testing Galeon 1.3.0 a while ago, I
don't remember this happening.  

Is this a new user using Galeon for the first time, or do you have old
1.2.x prefs?  If you type "galeon" from a shell prompt, do you get the
same behavior?

Joe

> 
> Thanks!
> 
> Andy Akins
> 
> 
> 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



pw add?

2003-01-20 Thread talon
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi All

Would someone here be able to tell me how to add
a user to a group using the pw command.

eg I would like to add myself to the operator group

Do I have to hand edit the /etc/group file ?


Many Thanks Jason
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)
Comment: Signed By Talon With GnuPG

iD8DBQE+LHKxyoJQBYFw6XARAkNVAKCOVC0mtm+ETi00uc7hjgNX01a+jwCdH49/
FCkOFBPIVoeVCgvu4vZm+Ew=
=8Fh/
-END PGP SIGNATURE-


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



Re: portupgrade of jasper-1.500.4 fails

2003-01-20 Thread Maxim Sobolev
I've fixed it 10 hours ago. Thanks for pointing out, BTW.

-Maxim

On Mon, Jan 20, 2003 at 01:46:26PM -0700, BSD wrote:
> There is actually a typo in the patch file for the jasper port. I've
> already email the maintainer about it (Don't know if he's emailed me
> back, as I've been having email issues since).
> 
> Edit
> ports/graphics/jasper/files/patch-src-libjasper-include-jasper-jas_types.h
> and change:
> 
> +typedef log long int_fast64_t;
> 
> To say:
> 
> +typedef long long int_fast64_t;
> 
> 
> 
> 
> On Mon, Jan 20, 2003 at 08:32:42PM +, Stacey Roberts wrote:
> > Hello,
> > 
> > On Mon, 2003-01-20 at 14:59, Mike Meyer wrote:
> > > In <1043015655.51041.505.camel@localhost>, Stacey Roberts 
><[EMAIL PROTECTED]> typed:
> > > > Hello,
> > > >  After a fresh cvsup of my ports tree, I tried to update
> > > > jasper-1.500.4 using portupgrade, but it fails with errors below.
> > > 
> > > The proper way to deal with port build failures is to first make sure
> > > you've got the latest version of the port. If you do and it still
> > > fails, do a "make maintainer", and send the error report to the email
> > > address that this prints.
> > 
> > Thanks for the reply.
> > 
> > I am not attempting to *build* the port, but update via portupgrade
> > (isn't that what its for?), which produced the failure.
> > 
> > I *did* run "make maintainer" in that port's dir to obtain the
> > maintainer's e-mail address - who is cc'd on this post. If posting to
> > questions is not proper, then I apologize - however, I am not the only
> > one that does this, and this is the first time I've ever encountered
> > anyone having a problem  with this.
> > 
> > Thanks anyways for taking the time.
> > 
> > Regards,
> > 
> > Stacey
> > 
> > > 
> > >> -- 
> > Stacey Roberts
> > B.Sc (HONS) Computer Science
> > 
> > Web: www.vickiandstacey.com
> > 
> > 
> > 
> > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > with "unsubscribe freebsd-questions" in the body of the message
> > 
> > 
> 

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



docs for lowend systems

2003-01-20 Thread Joshua Coombs
I've started putting together some docs based on my abuse of FreeBSD on less 
than optimal x86 platforms.  My current drivel is at 
http://www.x386.net/lowmem.html (warning, the page is rated NC17 for 
language and cruelty to old computers).  Would there be any interest in a 
properly formated, language corrected version to include in the handbook or 
other appropriate spot in the official documentation?

Joshua Coombs
http://www.x386.net
Ride the Trailing Edge of Technology

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



dc NIC: mac address gets reset (5.0-REL)

2003-01-20 Thread Benjamin Lutz
I just installed FreeBSD 5.0-RELEASE on a machine that was running 4.7-RELEASE-p3 
before. I've got a problem with my network card:

After rebooting the system, it's MAC address is reset to C0:00:C0:00:C0:00. The card 
works fine otherwise (apart from some "dc: failed to force tx and rx to idle state" 
messages that are, as far as the mailing lists tell me, uncritical). This of course 
makes the DHCP server give me another than my standard IP. Also, if I install FreeBSD 
5.0 on another machine in my LAN, and it shows the same behaviour, i'll run into 
problems.

I can manually change the MAC address back to its old value, then restart dhclient, 
and it works. However, I don't want to have to do that after every reboot...

Here's the relevant lines from dmesg:
- PASTE START -
dc0:  port 0xd000-0xd0ff mem 0xef00-0xefff irq 
11 at device 11.0 on pci0
dc0: Ethernet address: c0:00:c0:00:c0:00
miibus0:  on dc0
dc0: failed to force tx and rx to idle state
dc0: failed to force tx and rx to idle state
dc0: failed to force tx and rx to idle state
dc0: failed to force tx and rx to idle state
dc0: failed to force tx and rx to idle state
dc0: failed to force tx and rx to idle state
dc0: failed to force tx and rx to idle state
dc0: failed to force tx and rx to idle state
dc0: failed to force tx and rx to idle state
dc0: failed to force tx and rx to idle state
dc0: failed to force tx and rx to idle state
dc0: failed to force tx and rx to idle state
- PASTE END -

Any ideas?

Greetings
Benjamin

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



Re: portupgrade of jasper-1.500.4 fails

2003-01-20 Thread BSD
There is actually a typo in the patch file for the jasper port. I've
already email the maintainer about it (Don't know if he's emailed me
back, as I've been having email issues since).

Edit
ports/graphics/jasper/files/patch-src-libjasper-include-jasper-jas_types.h
and change:

+typedef log long int_fast64_t;

To say:

+typedef long long int_fast64_t;




On Mon, Jan 20, 2003 at 08:32:42PM +, Stacey Roberts wrote:
> Hello,
> 
> On Mon, 2003-01-20 at 14:59, Mike Meyer wrote:
> > In <1043015655.51041.505.camel@localhost>, Stacey Roberts 
><[EMAIL PROTECTED]> typed:
> > > Hello,
> > >  After a fresh cvsup of my ports tree, I tried to update
> > > jasper-1.500.4 using portupgrade, but it fails with errors below.
> > 
> > The proper way to deal with port build failures is to first make sure
> > you've got the latest version of the port. If you do and it still
> > fails, do a "make maintainer", and send the error report to the email
> > address that this prints.
> 
> Thanks for the reply.
> 
> I am not attempting to *build* the port, but update via portupgrade
> (isn't that what its for?), which produced the failure.
> 
> I *did* run "make maintainer" in that port's dir to obtain the
> maintainer's e-mail address - who is cc'd on this post. If posting to
> questions is not proper, then I apologize - however, I am not the only
> one that does this, and this is the first time I've ever encountered
> anyone having a problem  with this.
> 
> Thanks anyways for taking the time.
> 
> Regards,
> 
> Stacey
> 
> > 
> >  -- 
> Stacey Roberts
> B.Sc (HONS) Computer Science
> 
> Web: www.vickiandstacey.com
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 
> 

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



Re: portupgrade of jasper-1.500.4 fails

2003-01-20 Thread Mike Meyer
In <1043094762.13652.9.camel@localhost>, Stacey Roberts <[EMAIL PROTECTED]> 
typed:
> Hello,
> 
> On Mon, 2003-01-20 at 14:59, Mike Meyer wrote:
> > In <1043015655.51041.505.camel@localhost>, Stacey Roberts 
><[EMAIL PROTECTED]> typed:
> > > Hello,
> > >  After a fresh cvsup of my ports tree, I tried to update
> > > jasper-1.500.4 using portupgrade, but it fails with errors below.
> > 
> > The proper way to deal with port build failures is to first make sure
> > you've got the latest version of the port. If you do and it still
> > fails, do a "make maintainer", and send the error report to the email
> > address that this prints.
> I am not attempting to *build* the port, but update via portupgrade
> (isn't that what its for?), which produced the failure.

Unless told to do otherwise, portupgrade upgrades the package by
building the port. What you posted looked like a build failure.

> I *did* run "make maintainer" in that port's dir to obtain the
> maintainer's e-mail address - who is cc'd on this post. If posting to
> questions is not proper, then I apologize - however, I am not the only
> one that does this, and this is the first time I've ever encountered
> anyone having a problem  with this.

It's not a problem. Some build failures are systemic, and questions is
the correct place to deal with them. Others are specific to a port,
and the maintainer is the best place to get help.

  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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



Re: portupgrade of jasper-1.500.4 fails

2003-01-20 Thread Stacey Roberts
Hello,

On Mon, 2003-01-20 at 14:59, Mike Meyer wrote:
> In <1043015655.51041.505.camel@localhost>, Stacey Roberts 
><[EMAIL PROTECTED]> typed:
> > Hello,
> >  After a fresh cvsup of my ports tree, I tried to update
> > jasper-1.500.4 using portupgrade, but it fails with errors below.
> 
> The proper way to deal with port build failures is to first make sure
> you've got the latest version of the port. If you do and it still
> fails, do a "make maintainer", and send the error report to the email
> address that this prints.

Thanks for the reply.

I am not attempting to *build* the port, but update via portupgrade
(isn't that what its for?), which produced the failure.

I *did* run "make maintainer" in that port's dir to obtain the
maintainer's e-mail address - who is cc'd on this post. If posting to
questions is not proper, then I apologize - however, I am not the only
one that does this, and this is the first time I've ever encountered
anyone having a problem  with this.

Thanks anyways for taking the time.

Regards,

Stacey

> 
>   


calcru: negative time ... messages on 5.0-RELEASE

2003-01-20 Thread Bill Moran

We're trying out 5.0-RELEASE on a test machine, and all is working well (so far)
except for the continual "calcru: negative time ..." messages.

I found information about this in the FAQ, but 5.0 doesn't seem to have a
kern.timecounter.method oid.
I also found information in the 5.0DP1 errata that pointed me to the -CURRENT
mailing list, but a search of that list produced very little information, and
the only thing to try (setting kern.timecounter.hardware=TSC) didn't change
anything.

Is there any more information on this?  Is the last paragraph in the FAQ (that
my interrupts are too hosed) applicable?  Any pointers/help is appreciated.

dmesg output below:

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

Copyright (c) 1992-2003 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 5.0-RELEASE #0: Thu Jan 16 22:16:53 GMT 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0673000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc06730a8.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 450130982 Hz
CPU: AMD-K6(tm) 3D processor (450.13-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x58c  Stepping = 12
  Features=0x8021bf
  AMD Features=0x8800
real memory  = 62914560 (60 MB)
avail memory = 54222848 (51 MB)
Initializing GEOMetry subsystem
K6-family MTRR support enabled (2 registers)
npx0:  on motherboard
npx0: INT 16 interface
acpi0:  on motherboard
ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE31
Using $PIR table, 7 entries at 0xc00fa040
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-safe"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
acpi_cpu0:  on acpi0
acpi_button0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
agp0:  mem 0x5000-0x5fff at device 0.0 on pci0
atapci0:  port 0x2040-0x204f,0-0x3,0-0x7,0-0x3,0-0x7 at device 0.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
isab0:  at device 1.0 on pci0
isa0:  on isab0
pci0:  at device 1.1 (no driver attached)
ohci0:  mem 0x4020-0x40200fff irq 11 at device 1.2 on pci0
usb0: OHCI version 1.0, legacy support
usb0:  on ohci0
usb0: USB revision 1.0
uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub0: device problem, disabling port 1
pcib1:  at device 2.0 on pci0
pci1:  on pcib1
pci1:  at device 0.0 (no driver attached)
rl0:  port 0x2400-0x24ff mem 0x4100-0x41ff irq 3 at device 4.0 on pci0
rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect mode
rl0: Ethernet address: 00:c0:ca:14:03:eb
miibus0:  on rl0
rlphy0:  on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0:  at device 10.0 (no driver attached)
atkbdc0:  port 0x64,0x60 irq 1 on acpi0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0:  irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
fdc0:  port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
orm0:  at iomem 0xec000-0xe,0xc-0xc7fff on isa0
pmtimer0 on isa0
ppc0: parallel port not found.
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounters tick every 10.000 msec
ata1-slave: timeout waiting for interrupt
ata1-slave: ATA identify failed
ad0: 9541MB  [19386/16/63] at ata0-master UDMA66
acd0: CDROM  at ata1-master PIO4
stray irq 7
Mounting root from ufs:/dev/ad0s1a
calcru: negative time of -1319643 usec for pid 48 (rcorder)
calcru: negative time of -664109 usec for pid 62 (ps)
calcru: negative time of -661655 usec for pid 55 (sh)
calcru: negative time of -673394 usec for pid 70 (sh)
calcru: negative time of -673918 usec for pid 72 (sh)
calcru: negative time of -1364037 usec for pid 81 (fsck)
ad0: UDMA ICRC error cmd=write fsbn 3565758 of 1782879-1782882
 retrying
ad0: UDMA ICRC error cmd=write fsbn 3565758 of 1782879-1782882
 retrying
ad0: UDMA ICRC error cmd=write fsbn 3565758 of 1782879-1782882
 retrying
ad0: UDMA ICRC error cmd=write fsbn 3565758 of 1782879-1782882
 falling back to PIO mode
calcru: negative time of -679350 usec for pid 97 (mount)
calcru: negative time of -684629 usec for pid 103 (sysctl)
calcru: negative time of -682832 usec for pid 119 (dd)
calcru: negative time of -647360 usec for pid 104 (sh)
calcru: negative time of -683260 usec for pid 128 (rm)
calcru: negative time of -684819 usec for pid 131 (rm)
calcru: negative time of -684701 usec for pid 152 (sysctl)
calcru: negative time of -671919 usec for pid 153 (sh)
calcru: negative time of -68455

Re: glibc vs BSD libc

2003-01-20 Thread Andreas Schuldei
* Neal H. Walfield ([EMAIL PROTECTED]) [030120 19:10]:
> > 3.
> > Portability
> > glibc:Portable to more than one Kernel and hence large
> > BSD libc:Don’t attempt to be portable across kernels and hence
> > smaller.
> 
> I do not see the logic.  If you are speaking about lines of code in
> the distribution, I may agree, however, this does not speak to the
> size of the generated binary, which seems to me to be what you are
> referring to.

i understood him this way: glibcs *portability* is large, since
it is not only portabel over several archs but also over several
kernels.

bsds libc is less portable (only accross different archs) so its
portability is smaller.

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



Re: login.conf tc=default

2003-01-20 Thread Hanspeter Roth
  On Jan 20 at 07:24, Aaron Burke spoke:

> Perhaps there is, I am guessing that you want a custom message for
> a specific user. I had to do this for a user named dustman on my

Yes, exactly.

> machine. It was as simple as adding the name dustman (also in
> login.conf) to the password database file.
> 
> I have pasted in two entries from vipw, notice the word dustman
> in both of them. One is for user test2, the other for user dustman.
> 
> dustman:*:1011:1011:dustman:0:0:Dustin D Brand:/home/dustman:/usr/local/bin/bash
  ___

Aha. I didn't realize that a `login class' is required. 
I'm now using the login class in login.conf rather than the login name.
And this works!

Thank you!

-Hanspeter

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



Re: copying audio cd's

2003-01-20 Thread Louis LeBlanc
On 01/05/03 05:36 PM, Chris Hill sat at the `puter and typed:

> > burncd -f /dev/acd0c -smax -d audio track1.raw track2.raw ...
> > 
> > But (at least I found that) it didn't produce a completely correct audio
> > CD; there's something fishy with the TOC, I think.
> 
> I had trouble with that usage as well. The resulting CD would not
> *start* playing in my audio CD player, but gave me a flashing "00:00" on
> the front panel. If I fast-forwarded enough to get past the beginning of
> the first track, it was fine. I was able to get a proper CD by not using
> DAO, thusly:
> 
> burncd -f /dev/acd0c -s 40 audio track1 track2 track3 track4 fixate
> 
> It seems like it should be possible to pipe the output of tosha into
> burncd, but I have not experimented with this yet; just bought the
> burner yesterday. 

I used this, and it creates a CD that works fine in the Computer, but
when I take it into my truck and pop it in the CD player, it doesn't
work.  Any idea why?  I know I could just use the original in the
truck, but when it gets hot in the summer, I'd be a lot less upset to
have the backup melted than the original.

I also noticed that none of the CD Text info gets saved, nor can the
CDDB info be determined.  Is there any way to preserve that info?

TIA
Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

Hempstone's Question:
  If you have to travel on the Titanic, why not go first class?

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



Re: VHDL / Verilog

2003-01-20 Thread John Bleichert
On 20 Jan 2003, Matt Smith wrote:
> Subject: VHDL / Verilog
> 
> Does anyone out there do any VLSI design on FreeBSD, using VHDL or
> Verilog, or some other tools?  At the moment, I own a Xilinx chip + XESS
> protoboard, and am looking for a complete solution to design and
> implementation.  The Windows tools provided by Xilinx are great, except
> that they only run on Windows.
> Any suggestions are greatly appreciated!
> Thanks,
> -Matt
> -- 
> Matt Smith <[EMAIL PROTECTED]>
> 
> 

When trying to design from home I had some luck with iverilog (Icarus) and 
gEda. Not fully functional (lacked certain chip-sepcific parts) but maybe 
enough to work well by now. I'm not sure it's been a while.

cad/geda
cad/iverilog

HTH - 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: VHDL / Verilog

2003-01-20 Thread Andrew Y Ng
we use linux tools from Synosys here, on RH servers/simfarm, I have not tried
to run them on FreeBSD with linux compat personally, coz setting up the
license and stuff gets anonying and I let the sysadmins worry about that...
and RH is the only thing supported here (except a few sun boxes for other
stuff that I don't do)...

anyway, the tools *should* run on freebsd with linux compatability.

a quick search on the ports found this also:
/usr/ports/cad/iverilog

u could give that a try...

/ayn

On  0, Matt Smith <[EMAIL PROTECTED]> wrote:
> Does anyone out there do any VLSI design on FreeBSD, using VHDL or
> Verilog, or some other tools?  At the moment, I own a Xilinx chip + XESS
> protoboard, and am looking for a complete solution to design and
> implementation.  The Windows tools provided by Xilinx are great, except
> that they only run on Windows.
> Any suggestions are greatly appreciated!
> Thanks,
> -Matt
> -- 
> Matt Smith <[EMAIL PROTECTED]>
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com
independent computer consultants http://aynassociates.com




msg16101/pgp0.pgp
Description: PGP signature


Re: [OT?/bug?] CUPS and port 631

2003-01-20 Thread Andrew Y Ng
I think the preferred method of starting cupds is in /etc/local/etc/rc.d,
this way we don't need inetd and thus we don't need a line in /etc/services.
plus maybe some ppl want to run it in some other port, port 631 for cups is
not as "fixed" as most other ports like the ones in /etc/services...

/ayn

On  0, Bill Moran <[EMAIL PROTECTED]> wrote:
> Hello all,
> 
> Is there any reason why port 631 isn't listed as IPP in
> /etc/services?  Has the port number not been made official
> yet?
> No problems, I'm just curious as to whether there's a reason,
> or if this is an oversight?
> 
> -- 
> Bill Moran
> Potential Technologies
> http://www.potentialtech.com
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com
independent computer consultants http://aynassociates.com




msg16100/pgp0.pgp
Description: PGP signature


VHDL / Verilog

2003-01-20 Thread Matt Smith
Does anyone out there do any VLSI design on FreeBSD, using VHDL or
Verilog, or some other tools?  At the moment, I own a Xilinx chip + XESS
protoboard, and am looking for a complete solution to design and
implementation.  The Windows tools provided by Xilinx are great, except
that they only run on Windows.
Any suggestions are greatly appreciated!
Thanks,
-Matt
-- 
Matt Smith <[EMAIL PROTECTED]>


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



Re: Shutdown for APC Back-UPS 350 CS

2003-01-20 Thread Toomas Aas
Hi!

> DEVICE /dev/ttyd0

I had a quick look at my apcupsd.conf and mine says DEVICE /dev/usv, 
where /dev/usv is symlink to /dev/cuaa0. 
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* When an agnostic dies, does he go to the "great perhaps"?


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



weirdness in NIC probing

2003-01-20 Thread Joan Picanyol i Puig
(please honour Mail-Followup-To, I'm not subscribed)

Hi,

I upgraded a box from 4.5 to 4.7, and to my surprise, it didn't
recognize the NIC at bootup anymore (having miibus and wb in the
kernel). However, it does recognize it if I plug another NIC in. 

This is what I get when it recognizes it:

wb0:  port 0xd800-0xd87f mem
0xdb00-0xdb7f irq 5 at devic e 10.0 on pci0
wb0: Ethernet address: 00:0 2:03:06:00:e5
miibus0:  on wb0
lxtphy0:  on miibus0
lxtphy0:  100baseFX, 100bas eFX-FDX, 10baseT, 10baseT-FDX, 100baseTX,
100baseTX-FDX, auto

The relevant entries from pciconf are:

wb0@pci0:10:0:  class=0x02 card=0x08401050 chip=0x08401050 rev=0x00
hdr=0x00
vendor   = 'Winbond Electronics Corp.'
device   = 'W89C840F 100/10Mbps Ethernet Controller'
class= network
subclass = ethernet

none1@pci0:13:0:class=0x02 card=0x00118086 chip=0x12298086
rev=0x09 hdr=0x00
vendor   = 'Intel Corporation'
device   = '82557/8/9 EtherExpress PRO/100(B) Ethernet Adapter'
class= network
subclass = ethernet

Note that the second NIC does not have a driver compiled for it in the
kernel.

Now, does anyone know what is causing this? Why does FreeBSD need the
other NIC plugged in? It's probably some option in the kern config I
don't know about (unfortunately, I don't keep the old config)

tks
-- 
pica

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



Re: OpenSSL Question

2003-01-20 Thread Dirk Meyer
Hallo FCET,

> I upgraded to openssl-0.9.6g_1 using the ports method.
> However, the apache error log file still says things like:
> "Apache/1.3.27 (Unix) mod_ssl/2.8.12 OpenSSL/0.9.6e configured"
> And when I do
> # openssl version
> 
> I get
> "OpenSSL 0.9.6e 30 Jul 2002"
> Any suggestions?

It uses still the base version.
please update your ports ...

a) openssl-0.9.6h
b) apache+mod_ssl-1.3.27+2.8.12

make sure you have:
ports/www/apache13-modssl/Makefile,v 1.114

kind regards Dirk

- Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany
- [[EMAIL PROTECTED]],[[EMAIL PROTECTED]],[[EMAIL PROTECTED]]

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



[OT?/bug?] CUPS and port 631

2003-01-20 Thread Bill Moran
Hello all,

Is there any reason why port 631 isn't listed as IPP in
/etc/services?  Has the port number not been made official
yet?
No problems, I'm just curious as to whether there's a reason,
or if this is an oversight?

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


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



mod+php4 -DWITH_APACHE2 failure

2003-01-20 Thread Odhiambo Washington

Anyone seen this?


Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking for mod_charset compatibility option... no
checking for Apache 2.0 module support via DSO through APXS... configure: error: Use 
--with-apxs with Apache 1.3.x!
===>  Script "configure" failed unexpectedly.
  Please report the problem to [EMAIL PROTECTED] [maintainer] and attach
  the "/usr/ports/www/mod_php4/work/php-4.2.3/config.log" including the
  output of the failure of your make command. Also, it might be a good
  idea to provide an overview of all packages installed on your system
  (e.g. an `ls /var/db/pkg`).
*** Error code 1

Stop in /usr/ports/www/mod_php4.
*** Error code 1

Stop in /usr/ports/www/mod_php4.



-Wash

-- 
Odhiambo Washington   <[EMAIL PROTECTED]>  "The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com  Windows 95, NT, or better,'
Tel: +254 2 313985-9  +254 2 313922 so I installed FreeBSD."   
GSM: +254 72 743223   +254 733 744121   This sig is McQ!  :-)


A transistor protected by a fast-acting fuse will protect the fuse by
blowing first.

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



Re: question about install

2003-01-20 Thread Joe Verba
still gets hung there
--- Lowell Gilbert
<[EMAIL PROTECTED]> wrote:
> Joe Verba <[EMAIL PROTECTED]> writes:
> 
> > Am trying to install FreeBSD 4.6 on a IBM 330
> server
> >
>
http://www2.ibmlink.ibm.com/cgi-bin/master?request=salesmanual&parms=SMS&xh=%24wHQ8nFK*JbnRJ2USenGnN9332&xhi=salesmanual%5E&type=HARDWARE&search=&title=T&product=8640-es2
> > the problem that I run into is that after I
> satisfy
> > the conflicts in the sysinstall, I answer q to
> save
> > changes, it then starts probing(?) and when it
> gets
> > down to "waiting 15 secs for SCSI to settle" it
> just
> > hangs there,
> > what more info do you need (the address above will
> > bring up the hardware info),
> 
> Try *not* eliminating the conflicts, and see what
> happens...
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of
> the message


__
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



Re: too many kill()'s

2003-01-20 Thread Paul A. Scott

> It happens because the real parent is gone. That means that init
> becomes the parent.

But you should not be able to kill process 1 except as root. I haven't tried
the code, but if a normal user can bring you to single user mode, that's a
serious security flaw.

-- 
Paul A. Scott
mailto:[EMAIL PROTECTED]
http://skycoast.us/pscott/


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



Re: too many kill()'s

2003-01-20 Thread Mike Meyer
In <[EMAIL PROTECTED]>, [EMAIL PROTECTED] typed:
[Elided]
> when compiled and ran, makes my 4.7-release box quit EVERY SINGLE PROGRAM 
> (including boot-time daemons), and go into a fix-it shell. 

You mean a single-user shell.

> My question is this: why does this happen? I can't seem to figure it out. 
> I've worked with many other people about this, and they don't seem to know. 

It happens because the real parent is gone. That means that init
becomes the parent. When you send init a TERM signal, it shuts down
the system to single-user mode. You just did a "kill -TERM 1".

> (When you exit the fix-it shell, the computer finishes booting, it's like 
> going into single-user mode upon boot) 

It's not like single-user mode upon boot, it IS single-user mode. They
are one and the same.

  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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



Re: Shutdown for APC Back-UPS 350 CS

2003-01-20 Thread Albertus Magnus
On Monday 20 January 2003 05:42, Mark wrote:
> Apparent, CTS changes state. Dunno what RNG does (alarm?), but CTS
> should suffice. Hmm, that kinda makes me wonder, is there not a
> FreeBSD command I can issue myself, via cron or something, to test
> the state of CTS? Then I may not need apcupsd at all.
>
> Thanks for your continual help,
>
> - Mark

I suggest you look at nut in the ports collection.  It will do just 
about anything you need, though it is a bitch to set up (umpteen 
interrelated config files need to be just right).  But more 
importantly, it has lots of good documentation about cables and such.  
I found, for example, that the supposedly correct APC cable for my APC 
BackUPS (one of the semi-dumb ones) was actually missing a line.  I 
made a custom cable, and walla!  no more problem.

Keep in mind, by the way, that the serial cable is not actually sending 
serial data (like ascii text, for example).  It just raises and lowers 
the levels of various lines to signal various things.  (I know you 
probably already know that, but just for completeness...)

And finally, yes, even the dumb UPS's can sense and communicate the loss 
and return of AC power, at the very least.

HTH
Albert

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



too many kill()'s

2003-01-20 Thread lattera
The following source code:
#include 
#include 
#include 
#include 
#include 
#include  

extern int errno; 

int main(int argc, char *argv[])
{
  signal(SIGINT, SIG_IGN);
  signal(SIGTERM, SIG_IGN);
  if (!fork())
  {
  while(1) {
  kill(getppid(), SIGTERM);
  }
  }
}
// End of source 

when compiled and ran, makes my 4.7-release box quit EVERY SINGLE PROGRAM 
(including boot-time daemons), and go into a fix-it shell. 

My question is this: why does this happen? I can't seem to figure it out. 
I've worked with many other people about this, and they don't seem to know. 

(When you exit the fix-it shell, the computer finishes booting, it's like 
going into single-user mode upon boot) 

Run this code and see what happens (nothing bad, just wierd). 

bash-2.05b# uname -a
FreeBSD  4.7-RELEASE FreeBSD 4.7-RELEASE #1: Sun Jan 19 17:46:33 MST 2003
shawn@:/usr/obj/usr/src/sys/FIREWALLED  i386
bash-2.05b# 

Thanks, 

lattera 

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


Re: best method to upgrade 4.4 to latest?

2003-01-20 Thread Mike Meyer
In <001301c2c0a3$0b5f9190$0400a8c0@toastman>, Jeff D. Hamann 
<[EMAIL PROTECTED]> typed:
> I'd like to upgrade my system and I have a nervousness about the process. I
> would like to upgrade my XFree86, samba, smbfs_mount, Qt, GRASS, etc and
> have been trying to do this by cvsup and upgrading one at a time. Is it
> better to simply upgrade the entire system to the latest and greatest or
> upgrade one at a time? I currently have 4.4 and don't know if 4.7 or 5.0
> would be better. The machine is my company server and if anything goes
> wrong, I'd be dead meat, which I'd rather avoid.

The best way is probably a single upgrade. Go from 4.4->4.7. Don't go
to 5.0. If all the tools you have are ports, installs the portupgrade
port, then do a "portupgrade -af" to force an upgrade of all the
ports.

If you've installed things that aren't ports, you'll probably want to
recompile those if they can be compiled.

  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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



Re: backup

2003-01-20 Thread Bill Moran
Kenzo wrote:

I tried to include the whole path.
ie:
If I do it from the command line
shlight //remote_computer/dir /NT -U usename -P password
Using port 1473 for NFS
cd /NT
ls
then I get all the listing.

When I enter this in webmin I get some kernel errors.


What are the errors?

And "shlight" does not include the path to shlight.
At a shell prompt, enter "whereis shlight"  Whereever it tells you
it is, you'll need that full path specified, for example:
whereis shlight
shlight: /usr/local/bin
Thus you'll need to replace your command above with:
/usr/local/bin/shlight //remote_computer/dir /NT -U usename -P password

DO NOT USE /usr/local/bin.  I don't know where the shlight binary is
installed, so you _must_ do the "whereis" step above to locate it
and use the result of that command to setup your script.


- Original Message -
From: "Bill Moran" <[EMAIL PROTECTED]>

Kenzo wrote:


I'm trying to figure out the best way to backup my server.
I don't have a CD burner, tape drive or other media to write backup to.
So what I want to do, is connect to my other comp with cd burner and



that


runs on WinXP.
I was thinking of using shlight since It seems to work good.
In Webmin under backup you can issue a command to perform before and



after


the backup.
I tried to set it up to mount the windows command before the backup and
umount it after, but that didn't work.
I think the kernel didn't like that.
If I do it manually it works fine.


Usually this is because you haven't specified the full path to the mount
command.  When you type the command at a shell prompt, you have a search
path that is searched for the command.  The webmin module probably doesn't
do this, so you'll have to enter the full path. i.e.:
/sbin/mount
ass opposed to just "mount"
You can use the "whereis" command to find the full path to the particular
command you're trying to run. i.e.
whereis mount
will tell you what directory 'mount' is in.


Now is there another/better way of doing what I want to do?
I was also thinking about using Cron to issue the commands.
A script might do it, but I don't know anything about writing sripts.


It's not as hard as you might think.  For example, the following script
is a good template for what you're trying to do:

#!/bin/sh
/sbin/mount_nfs 172.16.0.1:/remote/drive /mnt/temp
/bin/cp -Rp /path/to/backup /mnt/tmp/.
/sbin/umount /mnt/temp

Of course, you'll want to substitute the mount command that you need
(which may be at a different location) and the specific stuff you
want to back up, etc.


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


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



Re: backup

2003-01-20 Thread Kenzo
I tried to include the whole path.
ie:
If I do it from the command line
shlight //remote_computer/dir /NT -U usename -P password
Using port 1473 for NFS
cd /NT
ls
then I get all the listing.

When I enter this in webmin I get some kernel errors.


- Original Message -
From: "Bill Moran" <[EMAIL PROTECTED]>
To: "Kenzo" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, January 20, 2003 10:26 AM
Subject: Re: backup


> Kenzo wrote:
> > I'm trying to figure out the best way to backup my server.
> > I don't have a CD burner, tape drive or other media to write backup to.
> > So what I want to do, is connect to my other comp with cd burner and
that
> > runs on WinXP.
> > I was thinking of using shlight since It seems to work good.
> > In Webmin under backup you can issue a command to perform before and
after
> > the backup.
> > I tried to set it up to mount the windows command before the backup and
> > umount it after, but that didn't work.
> > I think the kernel didn't like that.
> > If I do it manually it works fine.
>
> Usually this is because you haven't specified the full path to the mount
> command.  When you type the command at a shell prompt, you have a search
> path that is searched for the command.  The webmin module probably doesn't
> do this, so you'll have to enter the full path. i.e.:
> /sbin/mount
> ass opposed to just "mount"
> You can use the "whereis" command to find the full path to the particular
> command you're trying to run. i.e.
> whereis mount
> will tell you what directory 'mount' is in.
>
> > Now is there another/better way of doing what I want to do?
> > I was also thinking about using Cron to issue the commands.
> > A script might do it, but I don't know anything about writing sripts.
>
> It's not as hard as you might think.  For example, the following script
> is a good template for what you're trying to do:
>
> #!/bin/sh
> /sbin/mount_nfs 172.16.0.1:/remote/drive /mnt/temp
> /bin/cp -Rp /path/to/backup /mnt/tmp/.
> /sbin/umount /mnt/temp
>
> Of course, you'll want to substitute the mount command that you need
> (which may be at a different location) and the specific stuff you
> want to back up, etc.
>
> --
> Bill Moran
> Potential Technologies
> http://www.potentialtech.com
>

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



Re: Shutdown for APC Back-UPS 350 CS

2003-01-20 Thread Jack L. Stone
At 09:15 AM 1.20.2003 -0600, Mike Meyer wrote:
>In <[EMAIL PROTECTED]>, Jack L. Stone
<[EMAIL PROTECTED]> typed:
>> At 02:05 AM 1.20.2003 +0100, Per olof Ljungmark wrote:
>> I have been asking WHY have a cable with a dumb UPS for a long time and yet
>> to get a good answer. I have tested with instruments the pins on those
>> cables and very little to nothing found in a way of a signal. If you go to
>> that apcupsd URL and did down you will find all (most) of the cables and it
>> also explains them. SmartUPSes -- yes -- okay and will work with the cable.
>> The computer may sense the dumb UPS -- BUT, will not communicate about
>> shutdown and other critical info. If I'm wrong, then let me know I
>> spent a lot of time falling for the "cable" bit.
>
>Even a "dumb" UPS communicates with the machine - with the right
>cable. The computer gets three signals: On battery power, off battery
>power, and almost out of battery. The computer can send one signal to
>the UPS, telling it to turn off and stay off. The idea is that you use
>the last signal from the UPS to initiate a shutdown, and the last
>thing you do as you shut down is tell the UPS to go off and stay off.
>
>I have as yet to figure out how to get FreeBSD to signal the UPS to
>shut down in a safe way. Anyone else worked on this one? Maybe in 5.0?
>
>   -- 
>Mike Meyer <[EMAIL PROTECTED]> http://www.mired.org/consulting.html
>Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
>

Let me clarify that I did not coin the classification "smartUPSes" and
"dumbUPSes", but suffice it to say that anyone who buys a UPS without the
ability to fully communicate as does the ones designated as "SmartUPS" (or
SmartPro... too?) should not expect the results of one. There are two
classes - "smart" and "dumb" as far as I know. So, before buying and one
wants to have full bi-directional functionality, make sure it has the
capability. Don't just go by "it has a cable" and let the cable fool you
otherwise. Unfortunately, I have never seen a box that explained this on
the outside or even the inside of a "dumb" one -- with cable.

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



dgen-sdl gives only blank sceen

2003-01-20 Thread Marius M. Rex

Has anyone had luck with dgen-sdl?  All I have ever gotten with it is a
blank screen.  I have tried it a number of times under several recent
versions of FreeBSD, and it is always the same blank screen.  A blank
screen with no sound.  (but sound is a secondary issue.)  I have searched
thr archives of questions and see no refernce to this problem.

The port compiles fine, as far as I can tell.  It seems to run fine when
it is invoked, except for the blank screen.  I can start it up or quit
dgen without obvious error.  I can press 'tab' to 'reset' the game, the
function keys work, all with little text feedback from the otherwise blank
screen.  A ktrace of the process shows that dgen is indeed loading the
ROM.  (One of the ROMs that I have has a text intro, and that shows up
just fine in the kdump.  The process smoothly moves on beyond that.  I
think the ROM is loading fine.)

Granted I only have tested dgen-sdl with a few ROMs, but since all of them
give the same response, I believe that I simply have something
misconfigured.  Other sdl games work fine.  I do not think it is a case of
old packages, as I have a subscription to FreeBSD and often simply do a
fresh install for major upgrades instead of just a
buildworld.  So more then once I have built the port from scratch with all
current packages for a given branch.

While I have had the same experience with various versions of FreeBSD and
thus different port builds of dgen-sdl, but here is the current setup:

# uname -a
FreeBSD sutolux.ny.home 4.7-STABLE FreeBSD 4.7-STABLE #6: Fri Dec 20
13:00:45 EST 2002 [EMAIL PROTECTED]:/usr/src/sys/compile/SUTOLUX
i386

with:
esound-0.2.29
libaudiofile-0.2.3
libiconv-1.8_2
gettext-0.11.5_1
gmake-3.80
imake-4.2.0_1
libgnugetopt-1.2
libtool-1.3.4_4
nasm-0.98.33,1
pkgconfig-0.13.0
sdl-1.2.4_1
Mesa-3.4.2_2
aalib-1.4.r5_1
svgalib-1.4.2_1
freetype2-2.1.2_1
expat-1.95.5
XFree86-libraries-4.2.1_4
dgen-sdl-1.22_1

cat /etc/X11/XF86Config

Section "Module"
Load"dbe"   # Double buffer extension
Option"omit xfree86-dga"   # don't initialise the DGA extension
EndSubSection
Load"type1"
Load"freetype"
Load   "glx"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath   "/usr/X11R6/lib/X11/fonts/local/"
FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath   "/usr/X11R6/share/AbiSuite/fonts"
EndSection

Section "ServerFlags"

EndSection

Section "InputDevice"
   Identifier  "Keyboard1"
Driver  "Keyboard"
Option "AutoRepeat" "500 30"
Option "XkbRules"   "xfree86"
Option "XkbModel"   "pc101"
Option "XkbLayout"  "us"

EndSection

Section "InputDevice"
Identifier  "Mouse1"
Driver  "mouse"
Option "Protocol""auto"
Option "Device"  "/dev/sysmouse"
Option "Emulate3Buttons"
EndSection

Section "Monitor"
Identifier  "laptopscreen"
HorizSync   31.5 - 57.0
VertRefresh 50-70
EndSection

Section "Device"
Identifier  "Standard VGA"
VendorName  "Unknown"
BoardName   "Unknown"
Driver "vga"
EndSection

Section "Device"
Identifier  "builtin"
Driver  "neomagic"
EndSection

Section "Screen"
Identifier  "Screen 1"
Device  "builtin"
Monitor "laptopscreen"
DefaultDepth 24

Subsection "Display"
Depth   8
Modes   "640x480" "800x600" "1024x768" "1280x1024"
ViewPort0 0
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth   16
Modes   "640x480" "800x600" "1024x768" "1280x1024"
ViewPort0 0
Virtual 1280 1024
EndSubsection
Subsection "Display"
Depth   24
Modes   "1280x1024" "1024x768" "800x600" "640x480"
ViewPort0 0
Virtual 1152 900
EndSubsection
EndSection

Section "ServerLayout"
Screen "Screen 1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection

-
Marius M. Rex

NeXT is most Goth of all computers.  It's all black.  It's
obscure and arcane.  It's obstinate, and at times annoying.  Most of all,
it's a fetish which one can only defend by resorting to emotional arguments
because there is no rational basis for involvement with it any longer.  (Not
 only that, but many no longer work, and occasionally smoke.)


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



best method to upgrade 4.4 to latest?

2003-01-20 Thread Jeff D. Hamann
I'd like to upgrade my system and I have a nervousness about the process. I
would like to upgrade my XFree86, samba, smbfs_mount, Qt, GRASS, etc and
have been trying to do this by cvsup and upgrading one at a time. Is it
better to simply upgrade the entire system to the latest and greatest or
upgrade one at a time? I currently have 4.4 and don't know if 4.7 or 5.0
would be better. The machine is my company server and if anything goes
wrong, I'd be dead meat, which I'd rather avoid.

Thanks,
Jeff.


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



Re: glibc vs BSD libc

2003-01-20 Thread Dan Nelson
In the last episode (Jan 20), Atifa Kheel said:
> e)Other Streams(like string streams,Obstack streams,etc)
> glibc: Supported
> BSD libc: Not Supported.

BSD supports funopen() which allows the user to create handles for
arbitrary stream types.

http://www.freebsd.org/cgi/man.cgi?query=funopen

> Shell Style word expansion
> (Eg:wordexp,wordfree)
> glibc: Supported
> BSD libc: Not Supported.

wordexp/wordfree are in 5.0, so they will probably be backported to 4.*
at some point.

> 23.
> System database and name service switch(NSS)
> glibc: Supported
> BSD libc: NSS not supported.Incompatible shadow and password support  and ancient 
>utmp.
> (Problem Solved by writing a library libshadow)

User applications should not need to know about FreeBSD's shadow
password style, so that shouldn't really matter.
 
> 25.
> System Information
> glibc: Supported
> BSD libc: utsname() not Supported.

uname() is the correct function name (the data is returned in a struct
utsname), and BSD supports it.
 
> 27.
> Large file support
> (fseeko64,ftello64)
> glibc: Supported
> BSD libc: Not Supported.

BSD has supported large files far longer than Linux has.  fseeko and
ftello are the functions you should use.  fseeko64 is sort of redundant :)

-- 
Dan Nelson
[EMAIL PROTECTED]

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



Re: backup

2003-01-20 Thread Bill Moran
Kenzo wrote:

I'm trying to figure out the best way to backup my server.
I don't have a CD burner, tape drive or other media to write backup to.
So what I want to do, is connect to my other comp with cd burner and that
runs on WinXP.
I was thinking of using shlight since It seems to work good.
In Webmin under backup you can issue a command to perform before and after
the backup.
I tried to set it up to mount the windows command before the backup and
umount it after, but that didn't work.
I think the kernel didn't like that.
If I do it manually it works fine.


Usually this is because you haven't specified the full path to the mount
command.  When you type the command at a shell prompt, you have a search
path that is searched for the command.  The webmin module probably doesn't
do this, so you'll have to enter the full path. i.e.:
/sbin/mount
ass opposed to just "mount"
You can use the "whereis" command to find the full path to the particular
command you're trying to run. i.e.
whereis mount
will tell you what directory 'mount' is in.


Now is there another/better way of doing what I want to do?
I was also thinking about using Cron to issue the commands.
A script might do it, but I don't know anything about writing sripts.


It's not as hard as you might think.  For example, the following script
is a good template for what you're trying to do:

#!/bin/sh
/sbin/mount_nfs 172.16.0.1:/remote/drive /mnt/temp
/bin/cp -Rp /path/to/backup /mnt/tmp/.
/sbin/umount /mnt/temp

Of course, you'll want to substitute the mount command that you need
(which may be at a different location) and the specific stuff you
want to back up, etc.

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


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



Problem: Galeon2 spawning mutiple times on startup...

2003-01-20 Thread Andy Akins
Hello everyone. I have a small problem. I've tried looking on the
www.freebsd.org/gnome site, the Galeon site, and searching google, but
I've had no luck.

I've installed FreeBSD 4.7 on my Athlon. Then I CVSUP'd ports and
source, with my source coming from STABLE. I rebuilt the kernel, then
installed Gnome2 and Gnome2-Fifth-Toe from ports.

Everything built fine. I tweaked my XF86Config to put 100dpi fonts
first, set my .xinitrc to export GDK_USE_XFT=1 and start
gnome-session...and then tried to run stuff.

Gnome starts up great. Most apps work perfectly. Galleon, however, seems
to have a problem. I click on the menu item, and the program
begins...and begins...and begins...it keeps repeatedly spawning Galleon
windows.

Anyone else have this problem? Can anyone point me to a solution
somewhere?

Thanks!

Andy Akins


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



Re: Official configuration file backup/managing method/application?

2003-01-20 Thread Bill Moran
Janine C.Buorditez wrote:

More specific than this list of files I need to manage, one can hardly get ;x
The `FILES' is required by the script at the URL below. But I'd like some other
way.

Basicly I need to keep all these files backed up and centralized. Now that
5.0-RELEASE is available, this becomes especially important.


For the "centralize backup" I've used rsync to a central backup server.  For
config files, you only need to recursively backup /etc and /usr/local/etc, so
it's not terribly difficult or complicated.


Loose scripts are scripts like these:

http://www.dnaco.net/~vogelke/Software/Configuration_Management/System_Files/


Quite an interesting script.  I find the concept of using RCS a good one, but
I still think you'd be sane to just keep everything in /etc and /usr/local/etc
backed up/under RCS.
I don't know of any "more convenient" method for this.  So perhaps my answer is
"No, there isn't anything better".  But I'm reluctant to say that because I
still don't fully understand what you're asking for.
Do you want to keep revision control, but find the method presented at the URL
to be too difficult?  What exactly to you mean by "manage"?  Personally, I've
been happy with most servers using rsync to keep updated versions on a partition
that regularly gets backed up to tape, but I can certainly imagine some people
needing/wanting something more sophistocated, such as RCS.


Well, convenience is a matter of opinion.  Personally, I prefer config
files to some methods provided by other systems.


What methods, and what systems?


Specifically, I find the Windows registry to be a hellhole of configuration.  It's
made even worse by the plethora of applications that don't use it as it was intended
(AutoCAD, for example) but even if they did, I still find it awful.

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


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



Re: compile errors

2003-01-20 Thread John Bleichert
On Mon, 20 Jan 2003, Dennis wrote:
> Subject: compile errors
> 
> Hey...
> 
> I'm a bsdnewbie trying to make a custom kernel, but when i compile my new 
> kernel, i get several undefined reference errors like this: 
> 
> umass.o(.text+0x1ae9): undefined reference to `xpt_done'
> umass.o(.text+0x1b03): more undefined references to `xpt_done' follow
> *** Error code 1
> Stop in /usr/src/sys/compile/DENNIS.
> 

I believe the umass stuff requires some SCSI support as well- scbus I 
believe? You don't have any of this enabled in your kernel config.

HTH - JB

> maybe anyone could track the error?
> 
> this is my kernel config:
> 
> machine   i386
> cpu   I686_CPU
> ident DENNIS
> maxusers  0
> 
> #makeoptions  DEBUG=-g#Build kernel with gdb(1) debug symbols
> 
> options   MATH_EMULATE#Support for x87 emulation
> options   INET#InterNETworking
> options   INET6   #IPv6 communications protocols
> options   FFS #Berkeley Fast Filesystem
> options   FFS_ROOT#FFS usable as root device [keep this!]
> options   SOFTUPDATES #Enable FFS soft updates support
> options   UFS_DIRHASH #Improve performance on big directories
> options   MFS #Memory Filesystem
> options   MD_ROOT #MD is a potential root device
> options   NFS #Network Filesystem
> options   NFS_ROOT#NFS usable as root device, NFS required
> options   MSDOSFS #MSDOS Filesystem
> options   CD9660  #ISO 9660 Filesystem
> options   CD9660_ROOT #CD-ROM usable as root, CD9660 required
> options   PROCFS  #Process filesystem
> options   COMPAT_43   #Compatible with BSD 4.3 [KEEP THIS!]
> #options  SCSI_DELAY=15000#Delay (in ms) before probing SCSI
> options   UCONSOLE#Allow users to grab the console
> options   USERCONFIG  #boot -c editor
> options   VISUAL_USERCONFIG   #visual boot -c editor
> options   KTRACE  #ktrace(1) support
> options   SYSVSHM #SYSV-style shared memory
> options   SYSVMSG #SYSV-style message queues
> options   SYSVSEM #SYSV-style semaphores
> options   P1003_1B#Posix P1003_1B real-time extensions
> options   _KPOSIX_PRIORITY_SCHEDULING
> options   ICMP_BANDLIM#Rate limit bad replies
> options   KBD_INSTALL_CDEV# install a CDEV entry in /dev
> options   AHC_REG_PRETTY_PRINT# Print register bitfields in debug
>   # output.  Adds ~128k to driver.
> options   AHD_REG_PRETTY_PRINT# Print register bitfields in debug 
>   # output.  Adds ~215k to driver.
> 
> # To make an SMP kernel, the next two are needed
> #options  SMP # Symmetric MultiProcessor Kernel
> #options  APIC_IO # Symmetric (APIC) I/O
> 
> deviceisa
> deviceeisa
> devicepci
> 
> # Floppy drives
> devicefdc0at isa? port IO_FD1 irq 6 drq 2
> devicefd0 at fdc0 drive 0
> devicefd1 at fdc0 drive 1
> #
> # If you have a Toshiba Libretto with its Y-E Data PCMCIA floppy,
> # don't use the above line for fdc0 but the following one:
> #device   fdc0
> 
> # ATA and ATAPI devices
> deviceata0at isa? port IO_WD1 irq 14
> deviceata1at isa? port IO_WD2 irq 15
> deviceata
> deviceatadisk # ATA disk drives
> deviceatapicd # ATAPI CDROM drives
> #device   atapifd # ATAPI floppy drives
> #device   atapist # ATAPI tape drives
> options   ATA_STATIC_ID   #Static device numbering
> 
> 
> # atkbdc0 controls both the keyboard and the PS/2 mouse
> deviceatkbdc0 at isa? port IO_KBD
> deviceatkbd0  at atkbdc? irq 1 flags 0x1
> devicepsm0at atkbdc? irq 12
> 
> devicevga0at isa?
> 
> # splash screen/screen saver
> pseudo-device splash
> 
> # syscons is the default console driver, resembling an SCO console
> devicesc0 at isa? flags 0x100
> 
> # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
> #device   vt0 at isa?
> #options  XSERVER # support for X server on a vt console
> #options  FAT_CURSOR  # start with block cursor
> # If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
> #options  PCVT_SCANSET=2  # IBM keyboards

Re: Deleted files - recovery

2003-01-20 Thread Bill Moran
[EMAIL PROTECTED] wrote:

Though you might like to see the results of some relevant web-surfing.

For data recovery on Windows and Ext2 file systems:
R-Tools http://www.r-tt.com/

Tool to check and undelete partitions (not data) on:
- FAT12 FAT16 FAT32
- Linux
- Linux SWAP (version 1 and 2)
- NTFS (Windows NT)
- BeFS (BeOS)
- UFS (BSD)
- Netware
- RaiserFS
http://www.cgsecurity.org//testdisk.html

The general opinions on unerasing are that its basically not possible on a ufs
 system, use AdvFS if this ability is required.


While this is the "general opinion", my research has determined that undeleting
files is just very difficult, and therefore "impossible" to the average hacker,
although it really is possible.
The _main_ issue, is that (because of the way UFS allocates disk space) if you've
done _any_ writing to the disk since you rm'ed the files, you've probably
overwritten some of them.


However there is a utility at:
ftp://gatekeeper.dec.com/pub/sysadm/recover.tar.Z
[I found this did not resolve for me, but the URL below, did]
http://www.ccl.net/cca/software/UNIX/recover-files-after-rm/index.shtml


Hmmm ... this still isn't the article I remember.  It's very frustrating, I should
have bookmarked it.
The article I remembered actually talked you through reassembling the files, and
it was written well enough that most people would be able to follow along.  The
part that amazed me was how tedious and time-consuming the process was.

Well, one way or the other, I hope you manage to recover some of what you lost.

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


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



compile errors

2003-01-20 Thread Dennis
Hey...

I'm a bsdnewbie trying to make a custom kernel, but when i compile my new 
kernel, i get several undefined reference errors like this: 

umass.o(.text+0x1ae9): undefined reference to `xpt_done'
umass.o(.text+0x1b03): more undefined references to `xpt_done' follow
*** Error code 1
Stop in /usr/src/sys/compile/DENNIS.

maybe anyone could track the error?

this is my kernel config:

machine i386
cpu I686_CPU
ident   DENNIS
maxusers0

#makeoptionsDEBUG=-g#Build kernel with gdb(1) debug symbols

options MATH_EMULATE#Support for x87 emulation
options INET#InterNETworking
options INET6   #IPv6 communications protocols
options FFS #Berkeley Fast Filesystem
options FFS_ROOT#FFS usable as root device [keep this!]
options SOFTUPDATES #Enable FFS soft updates support
options UFS_DIRHASH #Improve performance on big directories
options MFS #Memory Filesystem
options MD_ROOT #MD is a potential root device
options NFS #Network Filesystem
options NFS_ROOT#NFS usable as root device, NFS required
options MSDOSFS #MSDOS Filesystem
options CD9660  #ISO 9660 Filesystem
options CD9660_ROOT #CD-ROM usable as root, CD9660 required
options PROCFS  #Process filesystem
options COMPAT_43   #Compatible with BSD 4.3 [KEEP THIS!]
#optionsSCSI_DELAY=15000#Delay (in ms) before probing SCSI
options UCONSOLE#Allow users to grab the console
options USERCONFIG  #boot -c editor
options VISUAL_USERCONFIG   #visual boot -c editor
options KTRACE  #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options P1003_1B#Posix P1003_1B real-time extensions
options _KPOSIX_PRIORITY_SCHEDULING
options ICMP_BANDLIM#Rate limit bad replies
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT# Print register bitfields in debug 
# output.  Adds ~215k to driver.

# To make an SMP kernel, the next two are needed
#optionsSMP # Symmetric MultiProcessor Kernel
#optionsAPIC_IO # Symmetric (APIC) I/O

device  isa
device  eisa
device  pci

# Floppy drives
device  fdc0at isa? port IO_FD1 irq 6 drq 2
device  fd0 at fdc0 drive 0
device  fd1 at fdc0 drive 1
#
# If you have a Toshiba Libretto with its Y-E Data PCMCIA floppy,
# don't use the above line for fdc0 but the following one:
#device fdc0

# ATA and ATAPI devices
device  ata0at isa? port IO_WD1 irq 14
device  ata1at isa? port IO_WD2 irq 15
device  ata
device  atadisk # ATA disk drives
device  atapicd # ATAPI CDROM drives
#device atapifd # ATAPI floppy drives
#device atapist # ATAPI tape drives
options ATA_STATIC_ID   #Static device numbering


# atkbdc0 controls both the keyboard and the PS/2 mouse
device  atkbdc0 at isa? port IO_KBD
device  atkbd0  at atkbdc? irq 1 flags 0x1
device  psm0at atkbdc? irq 12

device  vga0at isa?

# splash screen/screen saver
pseudo-device   splash

# syscons is the default console driver, resembling an SCO console
device  sc0 at isa? flags 0x100

# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device vt0 at isa?
#optionsXSERVER # support for X server on a vt console
#optionsFAT_CURSOR  # start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
#optionsPCVT_SCANSET=2  # IBM keyboards are non-std

# Floating point support - do not disable.
device  npx0at nexus? port IO_NPX irq 13

# Power management support (see LINT for more options)
device  apm0at nexus? disable flags 0x20 # Advanced Power Management

# Serial (COM) ports
device  sio0at isa? port IO_COM1 flags 0x10 irq 4
device  sio1at isa? port IO_COM2 irq 3
device  sio2at isa? disable port IO_COM3 irq 5
device  sio3at isa? disable

backup

2003-01-20 Thread Kenzo
I'm trying to figure out the best way to backup my server.
I don't have a CD burner, tape drive or other media to write backup to.
So what I want to do, is connect to my other comp with cd burner and that
runs on WinXP.
I was thinking of using shlight since It seems to work good.
In Webmin under backup you can issue a command to perform before and after
the backup.
I tried to set it up to mount the windows command before the backup and
umount it after, but that didn't work.
I think the kernel didn't like that.
If I do it manually it works fine.

Now is there another/better way of doing what I want to do?
I was also thinking about using Cron to issue the commands.
A script might do it, but I don't know anything about writing sripts.

Thanks.

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



Re: login.conf tc=default

2003-01-20 Thread Aaron Burke
(forgive outlook express, I too hate its formatting)

- Original Message -
From: "Hanspeter Roth" <[EMAIL PROTECTED]>
To: "FreeBSD User Questions List" <[EMAIL PROTECTED]>
Sent: Saturday, January 18, 2003 6:00 AM
Subject: Re: login.conf tc=default


>   On Jan 17 at 16:57, Joe Marcus Clarke spoke:
>
> > On Fri, 2003-01-17 at 16:43, Hanspeter Roth wrote:
> > > Hello,
> > >
> > > I'm trying to setup an alternate welcome file for a specific user.
> > > I have the following entry in login.conf:
> > >
> > > user:\
> > > :welcome=/etc/resolv.conf:\
> > > :tc=default:
> > >
> > > But the user is presented the default /etc/motd at login.
> > > How will he see /etc/resolv.conf?
> >
> > After you modified this, did you run cap_mkdb?
>
> Well, I failed to notice that this is necessary.
> But also now as I've done it I still get the default /etc/motd.
> Is there something more to consider?

Perhaps there is, I am guessing that you want a custom message for
a specific user. I had to do this for a user named dustman on my
machine. It was as simple as adding the name dustman (also in
login.conf) to the password database file.

I have pasted in two entries from vipw, notice the word dustman
in both of them. One is for user test2, the other for user dustman.

dustman:IJcNND58gQpL6:1011:1011:dustman:0:0:Dustin D
Brand:/home/dustman:/usr/lo
cal/bin/bash
test2:$1$hcveRAF2$oIEp0sKgLzEB1WYsafGry.:1012:1012:dustman:0:0:Test Account
for
Login Class:/home/test2:/usr/local/bin/bash

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

Aaron Burke
[EMAIL PROTECTED]



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



Re: Deleted files - recovery

2003-01-20 Thread Mike Meyer
In <[EMAIL PROTECTED]>, [EMAIL PROTECTED] typed:
> There is an undelete function in FBSD.  This suggests that native FBSD data
> recovery should be possible.  Writing the program or script to achive that end
> is beyond my abiity I'm afraid.

If you read the man page carefully, you'll see that "undelete" only
undelete's files that have been undeleted in a union fs. The union fs
man page says that it isn't safe, and is currently unsupported. It
also implies that whiteouts are used for removing and renaming files
in lower layers of the union, meaning they aren't really gone, they're
just not visible in the union.

  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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



Re: Shutdown for APC Back-UPS 350 CS

2003-01-20 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Jack L. Stone 
<[EMAIL PROTECTED]> typed:
> At 02:05 AM 1.20.2003 +0100, Per olof Ljungmark wrote:
> I have been asking WHY have a cable with a dumb UPS for a long time and yet
> to get a good answer. I have tested with instruments the pins on those
> cables and very little to nothing found in a way of a signal. If you go to
> that apcupsd URL and did down you will find all (most) of the cables and it
> also explains them. SmartUPSes -- yes -- okay and will work with the cable.
> The computer may sense the dumb UPS -- BUT, will not communicate about
> shutdown and other critical info. If I'm wrong, then let me know I
> spent a lot of time falling for the "cable" bit.

Even a "dumb" UPS communicates with the machine - with the right
cable. The computer gets three signals: On battery power, off battery
power, and almost out of battery. The computer can send one signal to
the UPS, telling it to turn off and stay off. The idea is that you use
the last signal from the UPS to initiate a shutdown, and the last
thing you do as you shut down is tell the UPS to go off and stay off.

I have as yet to figure out how to get FreeBSD to signal the UPS to
shut down in a safe way. Anyone else worked on this one? Maybe in 5.0?

  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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



Re: IPFW stateful ruleset problems on 4.7 STABLE

2003-01-20 Thread Toomas Aas
Hi!

> Jan 19 17:09:25 postfix /kernel: ipfw: 22500 Deny TCP 207.124.361.215:2345 
>10.10.10.10:80 in via sis0
> Jan 19 17:09:26 postfix /kernel: ipfw: 22500 Deny TCP 154.951.221.81:4376 
>10.10.10.10:80 in via sis0
> Jan 19 17:09:32 postfix /kernel: ipfw: 22500 Deny TCP 158.113.207.162:55639 
>10.10.10.10:80 in via sis0
> Jan 19 17:09:32 postfix /kernel: ipfw: 22500 Deny TCP 127.113.227.62:55639 
>10.10.10.10:80 in via sis0

I'm not an expert on ipfw, but I did have similar problems with 
ipfilter: even though I used 'keep state flags S' to allow incoming 
connections to port 80, there were a lot of dropped packets with 
various flags (sans S). Nobody complained about not being able to view 
the website, though. I don't know what might be the cause of this. 
Finally, I just ceased keeping state on port 80 connections.
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* I take my wife everywhere, but she keeps finding her way back.


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



Re: Official configuration file backup/managing method/application?

2003-01-20 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Janine C.Buorditez 
<[EMAIL PROTECTED]> typed:
> I was wondering if there is an official way of more conveniently manage
> configuration files in FreeBSD other than loose scripts.

It's not quite clear what you're talking about. The configuration
files in /etc are the official way to manage configuration. If you're
referring to them as the "loose scripts", then you're out of luck for
something official. For something unofficial, you might look at the
sysutils/webmin port.

If you're referring to having loose scripts to manage those files,
then again there's nothing official. Personally, I check the files
into perforce and use that to track changes and as a backup.

  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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



Re: portupgrade of jasper-1.500.4 fails

2003-01-20 Thread Mike Meyer
In <1043015655.51041.505.camel@localhost>, Stacey Roberts <[EMAIL PROTECTED]> 
typed:
> Hello,
>  After a fresh cvsup of my ports tree, I tried to update
> jasper-1.500.4 using portupgrade, but it fails with errors below.

The proper way to deal with port build failures is to first make sure
you've got the latest version of the port. If you do and it still
fails, do a "make maintainer", and send the error report to the email
address that this prints.

  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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



linux_base upgrade problem

2003-01-20 Thread Jeff Penn
I'm having problems upgrading to linux_base-7.1_2 using portupgrade -rRa
with the package (pkgtools.conf USE_PKG_ONLY[]).

I had similar problems with the last upgrade, which I solved by 
removing all the ports with a dependency on linux_base before 
upgrading.

This time when the upgrade failed I ran pkgdb -F, removing dependencies 
for linux_base without understanding too much of what was going wrong.

pkg_info shows that linux_base is no longer installed.  In a attempt at 
fixing the problem I deinstalled 3 ports that I believe depend on 
linux_base (since 'pkg_info -R linux_base\*' no longer shows any 
dependencies):

acroread4, linux-openmotif 

But I still have 3 files hanging around:

/compat/linux/usr/X11R6/lib: libMrm.so.2 libUil.so.2 libXm.so.2

Moving these files out the way had no effect.

I noticed that the packages +INSTALL script did not have execute
permissions.  I re-packaged the tarball with the correct permissions, but
still no joy.

# portinstall -vf linux_base
--->  Session started at: Mon, 20 Jan 2003 13:59:56 +
--->  2 ports match the given pattern 'linux_base':
emulators/linux_base
emulators/linux_base-6
Install 'emulators/linux_base'? [yes] 
Install 'emulators/linux_base-6'? [yes] no
--->  Fresh installation of emulators/linux_base started at: Mon, 20 Jan
2003 14:00:11 +
** The port 'emulators/linux_base' is held by user.
--->  Forced by user
--->  Checking the availability of the latest package of
'emulators/linux_base'
--->  Found a package of 'emulators/linux_base':
/usr/ports/packages/All/linux_base-7.1_2.tgz
--->  Installing 'linux_base-7.1_2' from a package
--->  Installation of linux_base-7.1_2 started at: Mon, 20 Jan 2003
14:00:16 +
--->  Installing the new version via the package
./+INSTALL: permission denied
pkg_add: install script returned error status
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portinstall64871.0 /usr/sbin/pkg_add -f linux_base-7.1_2
** Fix the package's problem and try again.
--->  Installation of linux_base-7.1_2 ended at: Mon, 20 Jan 2003
14:00:41 + (consumed 00:00:25)
--->  Fresh installation of emulators/linux_base ended at: Mon, 20 Jan
2003 14:00:41 + (consumed 00:00:30)
--->  Reporting the results (+:succeeded / -:ignored / *:skipped /
!:failed)
! emulators/linux_base  (pkg_add failed)
--->  Session ended at: Mon, 20 Jan 2003 14:00:41 + (consumed
00:00:44)

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



RE: KVM Switches over IP ...

2003-01-20 Thread Brian McCann
I've seen one similar in action...a client I worked for had a 16 port (I
think) Raritan KVM switch in his server room with a fiber expansion
card, and ran a fiber line to his office which was in a trailer.  It
worked just like you were sitting at the console.  REALLY expensive, but
it worked well.  I'd imagine their IP based ones are fairly
similar...but for stuff like that, I'd say go with Raritan since from
past experience they tend to have the best high end KVMs.

--Brian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Marc G.
Fournier
Sent: Monday, January 20, 2003 12:13 AM
To: [EMAIL PROTECTED]
Subject: KVM Switches over IP ...



Anyone have any experience with, and recommends for, these?  I'd like to
be able to better manage my remote FreeBSD boxes, especially when it
comes to doing upgrades and being able to get back to the previous
kernel ...

from what I've been able to find, its not going to be cheap, but havng
no experience with them, some feedback from those using would be helpful
... one thing I'd really like is to be able to make better use of DDB
remotely, if that is possible?

Thanks ...

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: round robin routing - how?

2003-01-20 Thread Tillman
On Mon, Jan 20, 2003 at 09:53:18AM +, Rob O'Donnell wrote:
> Is it possible under FreeBSD to set up some sort of round-robin router - I 
> have another hardware ADSL router available, and am not adverse to sticking 
> a couple more network cards in the FreeBSD box if necessary - what I was 
> envisaging was the FreeBSD machine is default gateway for all clients on 
> the lan, and it then routes out to the 'net via either hardware router - so 
> any clients that wants faster bandwidth can get it, as long as they use 
> multiple connections and don't expect any one of them to go over the 512K 
> of one ADSL line.

Wit ha bunch of caveats (you're using NAT, both lines terminate in the
FreeBSD server, you only care about outgoing traffic, the IP's you have
on both lines are in a nice contigious mini subnet, etc) you could
probably do somethign like this using IPF's ipnat:

map rl1 internal.ip.net.work/24 -> external.sub.net.block/30 portmap tcp/udp auto

(See http://www.obfuscation.org/ipf/ipf-howto.html#TOC_31 for more
details).

- Tillman


-- 
"You should never be in the company of anyone with whom you would not
 want to die."
-- Fremen saying

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



Re: Compilation Error for Nvidia Geforce4 Drivers

2003-01-20 Thread John Bleichert
On Sun, 19 Jan 2003, Dilshod wrote:
> Subject: Compilation Error for Nvidia Geforce4 Drivers
> 
> Hello,
> 
> 
> I've just successfully installed the latest FreeBSD 5.0 but I'm having 
> problems configuring  my Nvidia Geforce4 video card. I've downloaded the 
> drivers from nvidia's web site but having trouble compiling it, though 
> minimal requrements are satisfied.
> 
> Here is the error message I get:

> reeBSD 5.0/-CURRENT!
> *** Error code 1
> 


The drivers only support 4.x-STABLE at the moment. 5.0 will probably be a 
while yet. For what it's worth the drivers work great in 4.7.

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: question about install

2003-01-20 Thread Lowell Gilbert
Joe Verba <[EMAIL PROTECTED]> writes:

> Am trying to install FreeBSD 4.6 on a IBM 330 server
> 
>http://www2.ibmlink.ibm.com/cgi-bin/master?request=salesmanual&parms=SMS&xh=%24wHQ8nFK*JbnRJ2USenGnN9332&xhi=salesmanual%5E&type=HARDWARE&search=&title=T&product=8640-es2
> the problem that I run into is that after I satisfy
> the conflicts in the sysinstall, I answer q to save
> changes, it then starts probing(?) and when it gets
> down to "waiting 15 secs for SCSI to settle" it just
> hangs there,
> what more info do you need (the address above will
> bring up the hardware info),

Try *not* eliminating the conflicts, and see what happens...

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



panic: contigmalloc1 with 5.0

2003-01-20 Thread Karo Salminen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Greets,

FreeBSD 5.0-RELEASE GENERIC kernel gives me the following panic just after it 
finds agp device:
panic: contigmalloc1: size must not be 0

Whole dmesg:

- --BEGIN--
Copyright (c) 1992-2003 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 5.0-RELEASE #0: Mon Jan 20 02:15:35 EET 2003
[EMAIL PROTECTED]:/usr/obj/annex/src/sys/GENERIC
Preloaded elf kernel "/boot//kernel/kernel" at 0xc0671000.
Preloaded elf module "/boot//kernel/acpi.ko" at 0xc06710ac.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 797052687 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (797.05-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
  
Features=0x383f9ff
real memory  = 259981312 (247 MB)
avail memory = 245624832 (234 MB)
Initializing GEOMetry subsystem
Pentium Pro MTRR support enabled
npx0:  on motherboard
npx0: INT 16 interface
acpi0:  on motherboard
ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE63
Using $PIR table, 5 entries at 0xc00fb9d0
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-fast"  frequency 3579545 Hz
acpi_timer0: <32-bit timer at 3.579545MHz> port 0xf108-0xf10b on acpi0
acpi_cpu0:  on acpi0
acpi_tz0:  on acpi0
acpi_button0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
agp0:  mem 0xe000-0xe3ff at device 0.0 
on pci0
panic: contigmalloc1: size must not be 0
- --END--

And below is the dmesg of working 4.7-STABLE:

- --BEGIN--
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-STABLE #0: Wed Dec  4 16:31:50 EET 2002
[EMAIL PROTECTED]:/usr/obj/annex/src/sys/GENERIC
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (797.05-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10  

Features=0x383f9ff
real memory  = 259981312 (253888K bytes)
avail memory = 247721984 (241916K bytes)
Preloaded elf kernel "/kernel.GENERIC" at 0xc051c000.
Pentium Pro MTRR support enabled
md0: Malloc disk
pcibios: No call entry point
npx0:  on motherboard
npx0: INT 16 interface
pcib0:  on motherboard
pci0:  on pcib0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pci1:  at 0.0 irq 11
pci0:  (vendor=0x10b9, dev=0x5451) at 6.0 irq 10
isab0:  at device 7.0 on pci0
isa0:  on isab0
atapci0:  port 0x7050-0x705f irq 15 at 
device 16.0 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
chip1:  at device 17.0 on pci0
pcic0:  irq 11 at device 19.0 on pci0
pcic0: PCI Memory allocated: 0x8800
pcic0: Warning: O2micro OZ68xx chips may not work
pccard0:  on pcic0
ohci0:  mem 0x81c0-0x81c00fff 
irq
 11 at device 20.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0:  on ohci0
usb0: USB revision 1.0
uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
orm0:  at iomem 0xc-0xcbfff on isa0
fdc0:  at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0:  at port 0x60,0x64 on isa0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0:  irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
ppc0:  at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/7 bytes threshold
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
pccard: card inserted, slot 0
pccard: card removed, slot 0
ad0: 9590MB  [19485/16/63] at ata0-master UDMA66
acd0: CDROM  at ata1-master PIO4
Mounting root from ufs:/dev/ad0s1a
pccard: card inserted, slot 0
ed1 at port 0x300-0x31f irq 11 slot 0 on pccard0
ed1: address 00:20:cb:82:09:32, type NE2000 (16 bit) 
- --END--
- -- 
Karo Salminen
GSM: +358 45 6728280
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+K/kcvt6lNXuj7xcRAlC1AJ4yxZmh9t+4GYHj/myUPunpOMeP1wCfSZJf
4Me/+IUYm0pjoevuN6uiMio=
=r2zC
-END PGP SIGNATURE-


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



Mouse skips and lags with 5.0 anything

2003-01-20 Thread Matthew DeWitt
It seems my mouse fails to work correctly when i use
any release of FBSD 5.0 (rc1 2 3 stable)

i use sysinstall to set mouse to a standard PS/2 mouse
on using /dev/psm0 and /dev/sysinstall with X

under console i get a very skippy mouse, and i can
hardly even see the icon, under X my mouse moves where
i tell it.. it just SKIPS there.. like it's reading
raw data and it's lagging to keep up... it skipps here
and there.. never runs smooth... under Windows XP my
mouse works fine, no change in mouse... FBSD 4.7 works
fine and so does linux..

Here are some refrences to others with the same
problem, but seems to be no current solution...

http://docs.freebsd.org/mail/archive//2000/freebsd-current/2730.freebsd-current.html

go to the subject: "Mouse behaving funny since
5.0-CURRENT upgrade" and you will see others with the
same problem

and ideas?

Thanks! 

Matthew

__
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



glibc vs BSD libc

2003-01-20 Thread Atifa Kheel
Hello,
I am trying to study the various functionalities
supported by glibc Vs presence or absence of those
features in BSD libc.
This information here is w.r.t BSD libc which is
supplied with FreeBSD4.6(on intel)
i would like to know if i am missing something or some
information is not accurate.
Any comments??
thanx 
Atifa

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
1.
License
glibc :LGPL License
BSD libc:BSD

2.
glibc support for standards:
ANSI C(ISO C)
POSIX (Pthreads support)
SYSTEM V
(Eg:
Malloc tunable parameter(mallopt)
Extensions :
Statistics for storage allocation with malloc(mallinfo)
_tolower() and _toupper() supported.
)
Berkely UNIX
(Eg:
BSD Signal handling
BSD wait
Symbolic links
Sockets
)

BSD libc supports:
ANSI C
pthreads as per POSIX.1 std
Berkely UNIX

3.
Portability
glibc:Portable to more than one Kernel and hence large
BSD libc:Don’t attempt to be portable across kernels and hence smaller.

4.
Error Reporting facility(Eg:perror,strerror)
glibc:Supported
BSD libc:Supported

5.
Memory Allocation
Basic Dynamic memory allocation (malloc () and free())
Changing the size of previously allocated memory(realloc()
Allocating and Clearing the memory (calloc())
Allocating aligned memory blocks (memalign() and valloc())
Storage allocation hooks (_malloc_hook, _realloc_ hook)
Obstacks(stack like allocation,generally not so much used to malloc)
Alloca
Reallocating allocator(GNU Extensions (r_alloc,r_alloc_free))
Heap Consistency Checking(GNU Extensions(mcheck,mprobe))

glibc: Supports All of the above
BSD libc: Supports all except Storage allocation hooks ,obstacks,reallocating 
allocator,
  heap consistancy checking & valloc() is now obsolete with current malloc 
   implementation which takes care for alignment on page size or larger allocations.



6.
Character Handling (tolower,toascii,etc)
glibc: Supported
BSD libc: Supported.

7.
a)String and array utilities
glibc: Supported
BSD libc:Supported except a few like strndup() and a few which are glibc specific like 
stpncpy,stpcpy are not Supported.

b)Collation functions
  (strcoll,strxfrm)
glibc: Supported
BSD libc: Supported.

c)Search Functions
  (memchr,strchr)
glibc: Supported
BSD libc: Supports except GNU extensions like memmem()


8.
a)Input/Output streams and Buffering:
glibc: Supported
BSD libc: Supported.

b)Line Oriented Input
glibc: Supported
BSD libc:Supported except GNU extensions like getline() and getdelim()

c)Formatted Output
(printf,sprintf,asprintf,etc)
glibc: Supported
BSD libc: Supported except obstack_printf() and obstack_vprintf()

d)Extend Syntax of printf template string (GNU extension)
glibc: Supported
BSD libc: Not Supported.

e)Other Streams(like string streams,Obstack streams,etc)
glibc: Supported
BSD libc: Not Supported.


9.
System call support
glibc: Supported
BSD libc: Supported.

10.
Support for Pipes and FIFOs.
glibc: Supported
BSD libc: Supported.

11.
File System Interfaces 
glibc: Supported
BSD libc: Supported Except GNU extensions like getumask()

12.
Sockets Support
glibc: Supported
BSD libc: Supported.

13.
Terminal Interfaces (isatty,ttyname,etc).
glibc: Supported
BSD libc: Supported.

14.
Math Library
Support for Mathematical computation and trignometric functions.
glibc: Supported
BSD libc: Supported.

15.
Searching and sorting(eg:bsearch,qsort)
glibc: Supported
BSD libc: Supported.

16.
Pattern matching(eg:fnmatch)
glibc: Supported
BSD libc: Supported.

17.
Shell Style word expansion
(Eg:wordexp,wordfree)
glibc: Supported
BSD libc: Not Supported.

18.
Date and Time
glibc: Supported
BSD libc: Supported.

19.
Extended Characters
glibc: Supported
BSD libc: No multi-byte character set functions.Breaks building UTF(Unicode) support 
in libncurses.

20.
Locale and Internationalization
glibc: Supported
BSD libc:libintl and libiconv provides i18n support.By default libc does not contain 
–lintl.

21.
Signal handling
glibc: Supported
BSD libc: Supported.

22.
Process startup and termination
Program Arguments
(Eg:getopt)
Environment variables
Program Termination
glibc: All Supported
BSD libc:Supported.(getopt_long updated from NetBSD)


23.
System database and name service switch(NSS)
glibc: Supported
BSD libc: NSS not supported.Incompatible shadow and password support  and ancient utmp.
(Problem Solved by writing a library libshadow)


24.
User and Group Data base
glibc: Supported
BSD libc:Supported.Except a few functions like fgetpwent(),fgetpwent_r(),putpwent(),
Fgetgrent(),fgetgrent_r(). 


25.
System Information
glibc: Supported
BSD libc: utsname() not Supported.

26.
System Configuration parameters
glibc: Supported
BSD libc: Supported.

27.
Large file support
(fseeko64,ftello64)
glibc: Supported
BSD libc: Not Supported.

28.
Debugging features 
(mtrace(memory leaks),backtrace,etc)
glibc: Supported
BSD libc: Not Supported.

29.
glibc: Add-on packages Crypt
BSD libc:Contains additional libraries 

Re: list of fbsd console commands

2003-01-20 Thread Dan Pelleg
"JoeB" <[EMAIL PROTECTED]> writes:

> I have reviewed the FBSD handbook and can not find any documentation
> listing all the FBSD console commands.
> 
> Are they documented some where?
> 
> Is there some way using the man command to list all the man files in
> the man directory?
> 

Well, not directly, but you can get all of the commands in your path with
the help of your shell. For bash, get a prompt, and when at the beginning of
the line hit  twice. You'll get a question "Display all X
possibilities?" where X depends on how much stuff you have
installed. Answer y and you'll get it.

Having said that, for learning purposes you'll be much better off with a
good Unix book, and reading the manpages for commands you find
interesting. Then either use the "SEE ALSO" section for related commands,
and/or use apropos(1).

-- 

  Dan Pelleg

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



RE: round robin routing - how?

2003-01-20 Thread Michael Ritchie
I have something similar working with a Squid cache performing the load
balancing.  Just set it up to have two upstream caches, then set two static
routes - one that says traffic to upstream cache 'A' goes through the first
adsl link, and cache 'B' should pass through the other.  Seems to work ok
for http/ftp traffic (anything that Squid handles)... but any extra traffic
will all go through one nominated default route.

(But if anyone can point me in the direction Rob wants to go, I would really
appreciate that).


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Rob O'Donnell
Sent: Monday, 20 January 2003 7:23 PM
To: [EMAIL PROTECTED]
Subject: round robin routing - how?



Hi there!

I've had a good google for this, but not come up with anything
significant...

My LAN has two available route to the internet - a FreeBSD box with an ADSL
modem, (192.168.0.9) and a hardware ADSL router (192.168.0.10) .  Two
seperate ADSL lines, both the the same ISP as it happens (though am moving
one of them shortly.)

I can set up the clients individually with one or the other address as
default gateway, and each has full access to the 'net at the maximum
bandwidth of one line.

Is it possible under FreeBSD to set up some sort of round-robin router - I
have another hardware ADSL router available, and am not adverse to sticking
a couple more network cards in the FreeBSD box if necessary - what I was
envisaging was the FreeBSD machine is default gateway for all clients on
the lan, and it then routes out to the 'net via either hardware router - so
any clients that wants faster bandwidth can get it, as long as they use
multiple connections and don't expect any one of them to go over the 512K
of one ADSL line.

Basically, I want something that does the same job as the Nexland pro800
turbo:
http://www.nexland.com/turbo.cfm

I've seen references to ng_one2many, but the examples look like they tie
multiple adapters together such that they operate as one adapter with one
address on one LAN - would this work if i link two adapters directly and
independently to two routers and set them up identically?

I've also seen references that (at least some versions of) Linux can have
multiple default gateways and just use them in sequence.  I don't want to
have to swap over though...

Many thanks in advance,

Rob,





--
APH Computers Ltd.
Tel: 0161-442 2603
Fax: 0161-443 1162


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: Shutdown for APC Back-UPS 350 CS

2003-01-20 Thread Mark
- Original Message -
From: "Jack L. Stone" <[EMAIL PROTECTED]>
To: "Per olof Ljungmark" <[EMAIL PROTECTED]>
Cc: "Mark" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, January 20, 2003 2:22 AM
Subject: Re: Shutdown for APC Back-UPS 350 CS

> At 02:05 AM 1.20.2003 +0100, Per olof Ljungmark wrote:
>
> > 
> >
> >> To do what you want requires a UPS with "SmartUPS" to "talk" to your
> >> system. You have what is referred to as a "dumb UPS". I use SmartUPSes
> >> on "master" machines to tell the "slave" machines when to shut down and
> >> other instructions. The SmartUPSes will carry on an exchange with the
> >> machine, but the dumb ones will not. The slaves are attached to the
> >> dumb UPSes for continuations of power, but the SmartUPS tells each
> >> slave what to do and when to shut down. Each slave must have an apcupsd
> >> daemon installed, running and configured to communicate with the master
> >> over the network for this to work. 
> >
> > But why then supply a cable for use between the 350CS and the computer?
> > I use only SmartUPS and BackUPS Pro so I could not be sure but...
> >
> > Per olof
>
> I have been asking WHY have a cable with a dumb UPS for a long time and
> yet to get a good answer. I have tested with instruments the pins on those
> cables and very little to nothing found in a way of a signal. If you go to
> that apcupsd URL and did down you will find all (most) of the cables and
> it also explains them. SmartUPSes -- yes -- okay and will work with the
> cable. The computer may sense the dumb UPS -- BUT, will not communicate
> about shutdown and other critical info. If I'm wrong, then let me know
> I spent a lot of time falling for the "cable" bit.
>
> Dumb UPSes are useful for keeping the machines going until you or a master
> machine can tell it to shut down gracefully
>
> Best regards,
> Jack L. Stone,
> Administrator


Thanks for the replies, guys; I really appreciate it. :)

The BackUPS 350 CS is not supposed to be truly 'dumb', but allegedly can
report power-failure over its cable. So, I ran "apctest", and a line change
of sorts IS noted:

--
2003-01-20 11:32:31 apctest 3.8.5 (4 January 2002) freebsd
Checking configuration ...

Select test number: 1

2003-01-20 11:21:22 IOCTL GET: 5 LE RTS
2003-01-20 11:21:32 Test 1: normal condition, completed.

Select test number: 3

For the third test, the serial cable should be plugged
back into the UPS, but the AC power plug to the UPS should be DISCONNECTED.

Please enter any character when ready to continue:

2003-01-20 11:23:10 IOCTL GET: a5 LE RTS CTS RNG
2003-01-20 11:23:20 Test 3: no power, completed.
--

Apparent, CTS changes state. Dunno what RNG does (alarm?), but CTS should
suffice. Hmm, that kinda makes me wonder, is there not a FreeBSD command I
can issue myself, via cron or something, to test the state of CTS? Then I
may not need apcupsd at all.

Thanks for your continual help,

- Mark


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



Re: Resizing partitions for 5.0

2003-01-20 Thread Chuck Swiger
Joan Picanyol i Puig wrote:
[ ... ]

I separate the namespace from storage type. See
http://multivac.cwru.edu/fs/ (mind the trailing slash) for the original
idea.


Absolutely.  Note that you can do similiar things via NFS mounts:

1-pong# showmount -e
export list for pong:
/Disks/d60 @12.38.161/25
/Disks/d70 @12.38.161/25
/export@12.38.161/25

2-pong# cd /export
3-pong# ls/export
Backups@   Darwin@Library@   Packages@  Solaris@   cvsroot@   temp@
CodeFab@   Java@  OPENSTEP@  Projects@  Win32@ home@
4-pong# ls -l
total 13
lrwxrwxrwx   1 root   20 Jan  2  2002 Backups -> ../Disks/d70/Backups/
lrwxrwxrwx   1 root   20 Jan  2  2002 CodeFab -> ../Disks/d70/CodeFab/
lrwxrwxrwx   1 root   19 Jan  2  2002 Darwin -> ../Disks/d70/Darwin/
lrwxrwxrwx   1 root   17 Jan  2  2002 Java -> ../Disks/d70/Java/
lrwxrwxrwx   1 root   20 Jan  2  2002 Library -> ../Disks/d70/Library/
lrwxrwxrwx   1 root   21 Jan  2  2002 OPENSTEP -> ../Disks/d70/OPENSTEP/
lrwxrwxrwx   1 root   21 Jan  2  2002 Packages -> ../Disks/d70/Packages/
lrwxrwxrwx   1 root   21 Jan  2  2002 Projects -> ../Disks/d70/Projects/
lrwxrwxrwx   1 root   18 Oct  7 17:25 Solaris -> /Disks/d70/Solaris/
lrwxrwxrwx   1 root   18 Jan  2  2002 Win32 -> ../Disks/d70/Win32/
lrwxrwxrwx   1 root   20 Jan  3  2002 cvsroot -> ../Disks/d70/cvsroot/
lrwxrwxrwx   1 root   17 Jan  2  2002 home -> ../Disks/d60/home/
lrwxrwxrwx   1 root   17 Jan  2  2002 temp -> ../Disks/d70/temp/

...clients mount pong:/export/Solaris (or whatever), and the symlink will 
cause them to access the actual file location in /Disks/dXX, which are a set 
of DiskSuite RAID-1,0 metadevices, similar to vinum.  This way, I can move 
large trees of stuff between filesystem locations in order to balance space of 
I/O utilization, only change the symlink, and not have to change any of the 
clients or take anything down.

[ My users do as much I/O to their home directories as they do to everything 
else combined, pretty much. ]

-Chuck


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


Re: TX underrun

2003-01-20 Thread Chuck Swiger
Doug Reynolds wrote:

On Sat, 18 Jan 2003 03:17:01 +0100 (CET), Marc Schneiders wrote:

[ ... ]

xl1: tx underrun, increasing tx start threshold to 180 bytes
xl1: transmission error: 90
xl1: tx underrun, increasing tx start threshold to 240 bytes


does that mean it is increasing or decreasing?


Good ethernet cards can attempt to transmit a packet before the local system 
has actually written all of the data to them.

If the local system fails to produce the data quickly enough, though, the card 
experiences a buffer underflow...which means about the same as it does when 
you burn a CD; it has to abort and resend the packet.  The driver is smart 
enough to notice this, and will try to compensate by buffering more data 
before sending the packet out (ie, the "start threshold"), so that the machine 
has more time to finish generating the packet.

This is also a situation where device polling might be quite helpful.

-Chuck


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


round robin routing - how?

2003-01-20 Thread Rob O'Donnell

Hi there!

I've had a good google for this, but not come up with anything significant...

My LAN has two available route to the internet - a FreeBSD box with an ADSL 
modem, (192.168.0.9) and a hardware ADSL router (192.168.0.10) .  Two 
seperate ADSL lines, both the the same ISP as it happens (though am moving 
one of them shortly.)

I can set up the clients individually with one or the other address as 
default gateway, and each has full access to the 'net at the maximum 
bandwidth of one line.

Is it possible under FreeBSD to set up some sort of round-robin router - I 
have another hardware ADSL router available, and am not adverse to sticking 
a couple more network cards in the FreeBSD box if necessary - what I was 
envisaging was the FreeBSD machine is default gateway for all clients on 
the lan, and it then routes out to the 'net via either hardware router - so 
any clients that wants faster bandwidth can get it, as long as they use 
multiple connections and don't expect any one of them to go over the 512K 
of one ADSL line.

Basically, I want something that does the same job as the Nexland pro800 
turbo:
http://www.nexland.com/turbo.cfm

I've seen references to ng_one2many, but the examples look like they tie 
multiple adapters together such that they operate as one adapter with one 
address on one LAN - would this work if i link two adapters directly and 
independently to two routers and set them up identically?

I've also seen references that (at least some versions of) Linux can have 
multiple default gateways and just use them in sequence.  I don't want to 
have to swap over though...

Many thanks in advance,

Rob,





--
APH Computers Ltd.
Tel: 0161-442 2603
Fax: 0161-443 1162


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


Re: Goofy BIND8 and domain registrant

2003-01-20 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-01-19 14:53:39 +0100:
> Hi.
> 
> My DNS server is secondary DNS to probsd.net (209.98.239.41) and vice versa.
> My ns2 is no longer skylab.no (217.8.139.93), but the GTLD servers doesn't seem
> to understand that. I recently re-registered the ns2 at my domain name registrant
> (www.godaddy.com), and since you couldn't insert an IP anywhere I replaced
> ns2.terrabionic.com with some temporary host and inserted it back once the update
> had been made to ensure that it got angstlos.probsd.net's IP.
> 
> After analyzing my setup at:
> 
> http://www.dnsreport.com/tools/dnsreport.ch?domain=terrabionic.com
> 
> it was obvious that 217.8.139.93 was still glued to the GTLD servers even though
> dig told me otherwise.

does not seem to be the case (anymore):

roman@freepuppy ~ 1001:0 > dnsq ns terrabionic.com a.gtld-servers.net
2 terrabionic.com:
111 bytes, 1+2+0+2 records, response, noerror
query: 2 terrabionic.com
answer: terrabionic.com 172800 NS ns1.terrabionic.com
answer: terrabionic.com 172800 NS ns3.probsd.net
additional: ns1.terrabionic.com 172800 A 217.13.29.51
additional: ns3.probsd.net 172800 A 217.13.29.51

roman@freepuppy ~ 1002:0 > dnsq ns probsd.net a.gtld-servers.net
2 probsd.net:
137 bytes, 1+3+0+3 records, response, noerror
query: 2 probsd.net
answer: probsd.net 172800 NS dislocated.net
answer: probsd.net 172800 NS ns1.probsd.net
answer: probsd.net 172800 NS ns3.probsd.net
additional: dislocated.net 172800 A 209.98.212.90
additional: ns1.probsd.net 172800 A 209.98.239.41
additional: ns3.probsd.net 172800 A 217.13.29.51


your bind is *badly* misconfigured: while ns1.probsd.net (aka
probsd.net) properly publishes 217.13.29.41 as the ip for
probsd.net, ns3.probsd.net (aka ninja.terrabionic.com) claims
probsd.net is 217.13.29.51:

roman@freepuppy ~ 1003:0 > dnsq a probsd.net ns1.probsd.net 
1 probsd.net:
137 bytes, 1+1+3+2 records, response, authoritative, noerror
query: 1 probsd.net
answer: probsd.net 172800 A 209.98.239.41
authority: probsd.net 172800 NS ns1.probsd.net
authority: probsd.net 172800 NS ns3.probsd.net
authority: probsd.net 172800 NS dislocated.net
additional: ns1.probsd.net 172800 A 209.98.239.41
additional: ns3.probsd.net 172800 A 217.13.29.51

roman@freepuppy ~ 1004:0 > dnsq a probsd.net ns3.probsd.net
1 probsd.net:
153 bytes, 1+1+3+3 records, response, authoritative, weird ra, noerror
query: 1 probsd.net
answer: probsd.net 0 A 217.13.29.51
authority: probsd.net 0 NS ns1.probsd.net
authority: probsd.net 0 NS ns2.probsd.net
authority: probsd.net 0 NS dislocated.net
additional: ns1.probsd.net 0 A 217.13.29.51
additional: ns2.probsd.net 0 A 217.13.29.51
additional: dislocated.net 0 A 217.13.29.51

in fact, it slaps 217.13.29.51 on anything you ask it about (let's
ignore for the moment the fact that it should ignore this query, and
do a few other things):

roman@freepuppy ~ 1007:0 > dnsq a aol.com ns3.probsd.net
1 aol.com:
457 bytes, 1+0+13+13 records, response, weird ra, noerror
query: 1 aol.com
authority: com 0 NS a.gtld-servers.net
authority: com 0 NS g.gtld-servers.net
authority: com 0 NS h.gtld-servers.net
authority: com 0 NS c.gtld-servers.net
authority: com 0 NS i.gtld-servers.net
authority: com 0 NS b.gtld-servers.net
authority: com 0 NS d.gtld-servers.net
authority: com 0 NS l.gtld-servers.net
authority: com 0 NS f.gtld-servers.net
authority: com 0 NS j.gtld-servers.net
authority: com 0 NS k.gtld-servers.net
authority: com 0 NS e.gtld-servers.net
authority: com 0 NS m.gtld-servers.net
additional: a.gtld-servers.net 0 A 217.13.29.51
additional: g.gtld-servers.net 0 A 217.13.29.51
additional: h.gtld-servers.net 0 A 217.13.29.51
additional: c.gtld-servers.net 0 A 217.13.29.51
additional: i.gtld-servers.net 0 A 217.13.29.51
additional: b.gtld-servers.net 0 A 217.13.29.51
additional: d.gtld-servers.net 0 A 217.13.29.51
additional: l.gtld-servers.net 0 A 217.13.29.51
additional: f.gtld-servers.net 0 A 217.13.29.51
additional: j.gtld-servers.net 0 A 217.13.29.51
additional: k.gtld-servers.net 0 A 217.13.29.51
additional: e.gtld-servers.net 0 A 217.13.29.51
additional: m.gtld-servers.net 0 A 217.13.29.51

I don't use Bind, so I can't help you with it, but I'd suggest you
to throw away your config, and start from scratch.

> Also, relay access for postmaster and [EMAIL PROTECTED] seems to be denied.
> I just issued a newaliases with a working /etc/aliases file, but to no good.

that's probably an MTA problem, but you might find out that fixing
your broken name server will resolve this, too.
 
-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.ht

Re: Epson LQ 550

2003-01-20 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-01-16 23:14:31 +0100:
> On Thu, 16 Jan 2003, Blanka Neuhauserova wrote:
> > That's it: no mention of either L{Q,X}-{80,550} AFAICT:
> 
> Duh - if you go through that list one by one... do make note of the
> 'epson'.

that seems to only support the newer printers, like the Stylus
family (at least that what it says it does), but I'll try it.

> And I would expect that a search for
> 
>   ghostscript LQ 550
> 
> would propably point you to the 'omni' or lq driver as well.

I got a "this driver is not installed" when I tried to use the omni
driver. Looks like it's only available for Linux?

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

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



Re: Epson LQ 550

2003-01-20 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-01-16 20:43:19 +0530:
> +++ Blanka Neuhauserova [freebsd] [15-01-03 23:03 +0100]:
> | Has anyone managed to print anything but plain text on Epson LQ 550?
> | All I could find is the IBM Omni driver, and that seems to be Linux-only.
> | 
> | I've replaced my mother's w98 installation with FreeBSD-4.7/KDE-3.0.3
> | and this is one of three last things she keeps bitching about.
> | 
> | TIA && HAND,
> | 
> | Roman Neuhauser
> | 
> | --
>   /usr/ports/print/apsfilter?

yes, apsfilter/ghostscript setup is what I'm talking about.

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

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



Re: Can't make work HLDS + bots

2003-01-20 Thread Juan Rodriguez Hervella
On Monday 20 January 2003 09:24, LPGHosting Admin wrote:
> I've got it working with RealBot and Counterstrike.
>
> Have you tried that combo?
>
> Daxbert
>
>
> - Original Message -
> From: "Juan Francisco Rodriguez Hervella" <[EMAIL PROTECTED]>
> To: "(Lista)" <[EMAIL PROTECTED]>
> Sent: Sunday, January 19, 2003 4:08 PM
> Subject: Can't make work HLDS + bots
>
> > Hello:
> >
> > Im using a HLDS (Half-Life Dedicated Server) plus Admin-mod
> > and tsc mod.
> >
> > I've tried some bots, like bsdbot and joebot, and all seems
> > to make "segmentation fault", I don't know why.
> >
> > I've tried to compile a couple of them, but without success.
> >
> > Is anyone using HLDS + any bot with success on FreeBSD-4.7 ?
> > I would like to hear it, and tell me what I must do to make them
> > work...
> >
> > PS: Please answer me directly because I'm not subscribed to
> > this list. Thanks.
> >
> >
> > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > with "unsubscribe freebsd-questions" in the body of the message

So, the problem may be caused by the combination of bots + admin/tsc mods...
The problem is that I like to use those mods

Anyway, thanks for your reply.

-- 
JFRH

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



  1   2   >