Re: gzip from ports vs gzip from system

2005-06-26 Thread Norberto Meijome

Norberto Meijome wrote:

Dan Nelson wrote:


In the last episode (Jun 26), Norberto Meijome said:


Hi there,
I had to install gzip from ports as gzip from base system doesn't 
seem to support 2GB files. Now I find myself with a set of gzip 
utils in /usr/bin/ (system) and one in /usr/local/ (ports).




I have never had any problems with gzip and files over 2gb.  Do you
have an example?



and yes, the error msg from the process was gzip's msg, cant handle 
filesize  2 GB. sorry, dont have the original msg at hand anymore.

B


ok, found a copy of the log - sorry, no direct reference to 2GB...

  DUMP: 66.60% done, finished in 1:32

gzip: stdout: File too large
  DUMP: Broken pipe
  DUMP: The ENTIRE dump is aborted.

the partition being dumped is

/dev/ad0s1g   107G11G87G12%/usr

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


Re: gzip from ports vs gzip from system

2005-06-26 Thread Dan Nelson
In the last episode (Jun 26), Norberto Meijome said:
 Norberto Meijome wrote:
 Dan Nelson wrote:
 In the last episode (Jun 26), Norberto Meijome said:
 I had to install gzip from ports as gzip from base system doesn't
 seem to support 2GB files. Now I find myself with a set of gzip
 utils in /usr/bin/ (system) and one in /usr/local/ (ports).
 
 I have never had any problems with gzip and files over 2gb.  Do you
 have an example?
 
 and yes, the error msg from the process was gzip's msg, cant handle
 filesize  2 GB. sorry, dont have the original msg at hand anymore.
 
 ok, found a copy of the log - sorry, no direct reference to 2GB...
 
   DUMP: 66.60% done, finished in 1:32
 
 gzip: stdout: File too large
   DUMP: Broken pipe
   DUMP: The ENTIRE dump is aborted.

That looks like whatever filesystem gzip was writing to couldn't handle
files over 2gb.  You mentioned writing to a remote filesystem using
amd, but it defaults to NFSv3.  Were you maybe writing to a FAT fs on
the remote end?  You can also see whether amd actually mounted the
remote fs with NFSv2 by uncommenting the /var/log/all.log line in
/etc/syslog.con, touching /var/log/all.log, and restarting syslog. 
Then have amd remount the remote system and check the log.

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


The FreeBSD Diary: 2005-06-05 - 2005-06-25

2005-06-26 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


Xvnc + inetd

2005-06-26 Thread Ken Quach
I'm trying to turn FreeBSD5.4 into a 'terminal server' of sorts,
allowing users to VNC in to access various network related utilities.

What I'm seeing is a gray screen when connecting into vnc, which I
know is indicative of not having a window manager set up.

My question is when running xvnc through inetd, I can specify which
user to run it as.

I've tried using root and nobody, as well as a 'vnc' user which I
created. In all cases it seems not to read the ~/.vnc/xstartup file as
I expect it would (e.g. /root/.xvnc/xstartup).

I've followed various guides to ensure settings are correct but now I'm stumped.

Various config files are below. Any ideas as to what else I need to change?

-- 
/root/.vnc/xstartup:
#!/bin/sh

[ -r $HOME/.Xresources ]  xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic 

#xterm -geometry 80x24+10+10 -ls -title $VNCDESKTOP Desktop 
kdm 

-- 
/etc/inetd.conf (relevant line)
vnc-1024x768x16 stream  tcp nowait  root/usr/X11R6/bin/Xvnc
Xvnc -inetd -query localhost -geometry 1024x768 -depth 16 -once

I have also tried running it with tpcd
-- 
/usr/local/share/config/kdm/kdmrc
[Xdmcp]
# Whether KDM should listen to incoming XDMCP requests.
# Default is true
Enable=true
# The UDP port on which KDM should listen for XDMCP requests. Do not change.
# Default is 177
Port=177
# File with the private keys of X-terminals. Required for XDM authentication.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Intel SE7320VP2 board + Marvell 88E8050 nic.

2005-06-26 Thread Dmitry Mityugov
On 6/23/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Hi all,
 
 I am not quite sure if this question belongs on freebsd-questions@ or
 freebsd-current@ , but I will try here first.
 
 Does anyone know the status of the support for Marvell gigabit nic's ?
...

Not sure about all the NICs but Marvell 88E8001 is supported on one of
my machines, by sk0 driver.

-- 
Dmitry

We live less by imagination than despite it - Rockwell Kent, N by E
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Portupgrade in Xfree86 pkg failed

2005-06-26 Thread Ted Mittelstaedt


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Warren
Sent: Saturday, June 25, 2005 10:30 PM
To: Ted Mittelstaedt
Cc: freebsd-questions@freebsd.org
Subject: Re: Portupgrade in Xfree86 pkg failed


In all the time of asking for various help and providing
details, the fact of
if the machine has been upgraded has never been relevant and
was still not
relevant in the end.

Why are you so defensive?

It is likely that if we had known that this wasn't a fresh install,
the initial line of questioning would have been based on the assumption
that there were leftovers in the system that wern't expected to be there.
As
it turned out there was - the imake left over from the 5.x probably,
although since you haven't posted a confirmation that Dejan's
suggestion actually worked (until now) there was not enough info
to speculate as to why your system got broken to start with.

Didn't it occur to you when you read Daniel's question to you
that you hadn't supplied the list with enough information to help
you?  Why would he have asked what version of FreeBSD were you running
in the first place?

I am merely pointing out that vague questions are generally what
sparks discussion, and therefore those who dislike discussion would be
well advised to avoid posting vague questions.

The fact was the discussion was about why i was
bothering with XFree86 on a 5.x when xorg is def which had completly no
bearing on the inital problem.

Well, you say you had the imake used with xorg installed, and you seem
to be saying that correcting this fixed the problem.  While you may not
have ever before had an imake installed on this system, it seems quite
likely that your imake came in when you did your upgrade to 5.x

 But i ended up getting the help i needed.

You were lucky, the usual results of being vague with questions are not
generally productive.

It is also polite to thank the poster to the list who actually made the
suggestion that helped you to fix the problem, as well as to let him and
the list know that it did in fact, work.

It is a sad day when someone as rude as I am find myself lecturing on
politeness! :-)

Ted

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


Re: Portupgrade in Xfree86 pkg failed

2005-06-26 Thread Warren
 You were lucky, the usual results of being vague with questions are not
 generally productive.

 It is also polite to thank the poster to the list who actually made the
 suggestion that helped you to fix the problem, as well as to let him and
 the list know that it did in fact, work.

 It is a sad day when someone as rude as I am find myself lecturing on
 politeness! :-)

 Ted

Yes i do agree that the intial email lacked enough information on what version 
of BSD i was using and did send that info through once reminded of that fact.

But i honestly didnt see the point in everyone hashing out why i was using 
XFree86 over Xorg amongst other things, which ended up in a heated long 
discussion.  I personally cant see the big deal about what X server someone 
uses, that was and is my only point.

But i do thank the person who did provide me with the solution of changing 
imake.  Being as i did that then re-did a CVSUP i couldnt say for sure if 
that was the main reason why it was fixed, but none the less it is fixed now.
-- 
Yours Sincerely
Shinjii
http://www.shinji.nq.nu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Intel SE7320VP2 board + Marvell 88E8050 nic.

2005-06-26 Thread Ted Mittelstaedt

The 88E8050 is a PCI Express nic, the Marvel chip that Dmitry listed
the 88E8001, is a regular PCI chip.  Here are the spec sheets on these:

http://www.marvell.com/products/pcconn/yukon/88E8050-001.pdf

http://www.marvell.com/products/pcconn/yukon/Yukon_88E8001_10_073103_fina
l.pdf

Other than that, they are both Marvel Yukon chips so it might be possible
that they are the same chips, just different pci busses that they
interface
to.

The SE7320VP2 motherboard uses the E7320 chipset (Lindenhurst)  Support
for the memory-mapped PCI Express configuration mechanism was added to
FreeBSD 5 in December 2004 for only the Grantsdale and Lindenhurst
chipsets.
You can see the complete comment for this here:

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/pci/pci_cfgreg.c

This first showed up in the FreeBSD 5.4 release.

The first problem is that the sk0 driver most likely does not
have the pci chip ID in it for the onboard Marvel 88E8050.  It might be
possible to get this with pciconf and add it to the if_sk code in
usr/src/sys/pci to get the driver to attach.

If your really lucky then the sk driver will be able to set it up.
If your not as lucky then the driver might need to use the configuration
mechanism to setup the hardware, in which case you probably can
e-mail Scott Long for some patches.  If your really unlucky then
the 2 chipsets are way too different and you would need to write in
support to the sk device driver.

Do you have 5.4 running on this motherboard at the current time?

Ted

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, June 23, 2005 9:10 AM
To: freebsd-questions@freebsd.org
Subject: Intel SE7320VP2 board + Marvell 88E8050 nic.


Hi all,

I am not quite sure if this question belongs on freebsd-questions@ or
freebsd-current@ , but I will try here first.

Does anyone know the status of the support for Marvell gigabit nic's ?
Escpecially the ones that is shipped with the Intel SE7320VP2
Server board
which is Marvell 88E8050.

I read in the archives that somebody is busy working on it, but
I can not
seem to locate any more info on this.

Basically I do not care if there is support for 1000Mbit, I just want to
use the card, even if it is in 100Mbit mode. :)

I want to use this on 5.4-STABLE or maybe 6-CURRENT, seeing
that 6-CURRENT
is more or less stable (well, way more than 5-CURRENT was in the early
days anyway :P ).

Does anyone perhaps know if this is possible?

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


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


Konica-Minolta DiMAGE E500 (da0:umass-sim0:0:0:0): Synchronize cache failed

2005-06-26 Thread Hanno Krusken
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi there,
first of all, I'm using FreeBSD-5.4-RELENG-p2 and have gtkam-0.1.12_4
installed, it starts up nice but can not find my Konica-Minolta DiMAGE
E500 camera !

My problem is, that I get the output dump after plug in the USB cable
and switching the camera ON.
What other settings do I may need ?
do I need some settings in /etc/devd.conf ???

I was googeling around for two days now, and can't find any postings
about this problem.
(by the way, this camera is NOT listed in the gphoto or gtkam list)

thanks for any help
Hanno

umass0: KM DiMAGE E500, rev 1.10/0.00, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: KM DiMAGE E500 1.10 Removable Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: 122MB (250368 512 byte sectors: 64H 32S/T 122C)
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0

## my /etc/rc.conf settings:
devd_enable=YES
devfs_system_ruleset=usb_devices
removable_interfaces=an0 cbb0 cbb1 ed0 ed1 fd0 cd0 da0
usbd_enable=YES
ugen_load=YES
umass_load=YES

## my /etc/fstab settings:
/dev/da0s1a /mnt/camera msdosfs rw,noauto   0   0

## my /etc/devdf.conf settings:
permusb00660
own usb0root:usb
permusb10660
own usb1root:usb

## kernel settings:
# SCSI peripherals
device  scbus   # SCSI bus (required for SCSI)
device  ch  # SCSI media changers
device  da  # Direct Access (disks)
device  sa  # Sequential Access (tape etc)
device  cd  # CD
device  pass# Passthrough (direct SCSI access)
device  ses # SCSI Envir. Services (and SAF-TE)
# USB support
device  uhci# UHCI PCI-USB interface
device  ohci# OHCI PCI-USB interface
device  ehci# EHCI PCI-USB interface (USB 2.0)
device  usb # USB Bus (required)
#device udbp# USB Double Bulk Pipe devices
device  ugen# Generic
device  uhid# Human Interface Devices
device  ukbd# Keyboard
device  ulpt# Printer
device  umass   # Disks/Mass storage-Requires scbus + da
device  ums # Mouse
device  urio# Diamond Rio 500 MP3 player
device  uscanner# Scanners





-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCvntUBG3FBOpOS2oRAp0GAJ9TpG4c9ZeiSqwGIzjQVlw99Y4ovwCdE0j9
SFsta9IycHmOOM6BceagpAc=
=5F8Y
-END PGP SIGNATURE-




___ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail 
http://uk.messenger.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


VNC multiplexer

2005-06-26 Thread Anthony Chavez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi, all.

Slightly off-topic here, but I thought I might get a better (and more
relevant) response from here rather than a more general VNC
list/newsgroup.

I've got a client that would like to be able to connect to VNC servers
behind a FreeBSD gateway.  Said servers are assigned dynamic IPs via
DHCP, so port mapping (via pf) is not an option (AFAIK).  However, we
intend to make use of dynamic DNS, so they will at least have hostnames.

One solution we've considered is setting up a multiplexer of sorts that
would enable users of VNC client apps to pick and choose which machine
to connect to inside the LAN per session, but I'm curious to know if
such a thing (or something similar) exists already.

I'd be very interested in knowing what solutions any of you may have
come with to tackle this problem.

Cheers!

- -- 
Anthony Chavez http://anthonychavez.org/
mailto:[EMAIL PROTECTED] jabber:[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (Darwin)

iQEVAwUBQr58tfAIdTFWAbdTAQpPnggAmDPem80aanSH+L3ig0/Emo4y42NRqiWb
CUFRSaE0tAXpnsh75QGJrHqBW6Tzhmw/2ukA6oGHc79NJLMJPBE4s1LzkYM2Xg42
WI1E2985ISfqhQEjnTBCDQ+vfby1WsWG8Byf3EBPKVIFAR9t0pVbLbIpJDOjfZF/
AWQlUvLK3IOOdwauImBfDsIgZ+4RnCBOsizsoJpC1BXVAAJErCFYWBsKUek0MBdj
irQYqALglceIGC5britOHbz2dOL7qdOFnZ4Sh5hdovMM00OOlddHJdjCzRkENHOr
kAF6ClX7KpeFD/6TNC/5P+dOv6UqqOlcYBw2hTHgCEVMKssr+14Dnw==
=vZNY
-END PGP SIGNATURE-

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


Re: upgrading all ports

2005-06-26 Thread Erik Nørgaard

Kirk Strauser wrote:

On Saturday 25 June 2005 06:36 am, Erik Nørgaard wrote:



It is much faster to deinstall everything and then installing from
ground up. And it is far more secure in not screwing up.



On toy systems, maybe.  I've got 654 ports installed on the machine I'm typing 
this on, and I assure you that it's much, much faster to selectively upgrade 
a few of them rather than starting over from scratch.


I think you overlooked one important thing in the original post, and in 
my post as well: We are talking about upgrading the entire system, not 
just a few ports.


Upgrading a few ports is faster using portupgrade, yes.

Erik

--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


4 GB file limit? (WAS gzip from ports vs gzip from system)

2005-06-26 Thread Norberto Meijome

to recap:
dump | gzip  nfs_share_on_w2k_NAS_running_ServicesForUnix

This works fine until the size of the file created on the nfs_share is 
just under 4 GB (originally thought 2 GB problem)


Client : FBSD 4.11, cvsuped April 15th 05, world + kernel.
Server : Win2K-Storage server, SP4, Microsoft Windows Services for UNIX 
3.5  [8.0.1969.1]


more below

Dan Nelson wrote:

Norberto Meijome wrote:

 DUMP: 66.60% done, finished in 1:32

gzip: stdout: File too large
 DUMP: Broken pipe
 DUMP: The ENTIRE dump is aborted.



That looks like whatever filesystem gzip was writing to couldn't handle
files over 2gb.  You mentioned writing to a remote filesystem using
amd, but it defaults to NFSv3.  Were you maybe writing to a FAT fs on
the remote end?  You can also see whether amd actually mounted the
remote fs with NFSv2 by uncommenting the /var/log/all.log line in
/etc/syslog.con, touching /var/log/all.log, and restarting syslog. 
Then have amd remount the remote system and check the log.


Hmm. ok, as suspected gzip v1.3.5 from ports fails as the other one. And 
the filesize it died on is 4,294,950,912 bytes . Just under 4 GB - 16K 
less than 4 GB. (back to system gzip of course :) )


The native FS on the NAS is NTFS, which doesnt have this kind of 
limitation , as per the following article from MS(may wrap)


http://www.microsoft.com/resources/documentation/Windows/XP/all/reskit/en-us/Default.asp?url=/resources/documentation/Windows/XP/all/reskit/en-us/prkc_fil_tdrn.asp 



I just checked from the server itself with dd from SFU, can create a 5 
GB file with no probs.

dd if=/dev/zero of=/dev/fs/E/temp/test1 bs=4096 count=1310720

So i've stopped amd, bounced box clean, mounted the share via NFS3

mount_nfs -3 edsac:/diablo_backs/ /mnt/test1/

still running this next pass...
any ideas what is breaking...and why?

thanks!!
Beto


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


Re: PartitionMagic question

2005-06-26 Thread Iavor Raytchev

Alex Zbyslaw wrote:

Iavor Raytchev wrote:

When I run PartitionMagic it reported 3 errors - different LBA and CHS 
values - the errors are on the first sector of the FreeBSD partitions 
and on the first sectors of the next two partitions (seeing from the 
LBA). PartitionMagic says in all 3 cases that the LBA and CHS values 
are different. In all 3 cases the CHS value is the same - 15483887 
(drive geometry is 5168/240/63). After PartitionMagic repairs the 
errors everything is OK. Both OS boot well.


My questions are -

a) does somebody know why the errors appear?

b) is the installation safe after the errors are fixed?


I can't tell you why PM reports these errors except to say that it has 
done it to me on every disk I have ever used it on (all of 3 :-)).  
However, I always choose to ignore PM and *not* let it fix anything.  
Everything works perfectly for me without being fixed so I'd rather 
not take the risk.


--Alex


Yes, I forgot to mention that it happens every time - all 3 (I did the 
installation about a dozen times). OK it's good to know that I am not 
the only one with the problem. I'll take the opposite approach and let 
them fixed (I am still just playing) so that we can make also the 
other experience. Thanks nevertheless.


Iavor

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


Re: Portupgrade in Xfree86 pkg failed

2005-06-26 Thread Michael Nottebrock
On Sunday, 26. June 2005 01:18, Ted Mittelstaedt wrote:
 If there was significant product differentiation between xfree86 and
 xorg, then there would be a reason to keep both.  Right now there is
 not and with the difficulty in X development, there won't soon be.

There's already quite a delta on the video driver level.

 Here's the litmus test - would you pull a popular port if it breaks on 4
 but not on 5?  'nuff said.

What does that prove? It wouldn't get pulled if it would break the other way 
around either, but be marked BROKEN for the appropriate branch.

 The FreeBSD project agrees with me, if they did not then they would
 have rewritten the installer to make it optional which one to pick.

If it were possible to run software from binary packages built against Xorg on 
XFree86 (or vice-versa) hassle-free, that would be an option.

-- 
   ,_,   | Michael Nottebrock   | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org


pgpXZy9vlaQcB.pgp
Description: PGP signature


Re: ifconfig does not show ath0 wireless network card

2005-06-26 Thread Garrett Cooper

ali ali wrote:


I bought a new wireless network card listed under freebsd's supported
hardware which is 'DLINK Air Plus Xtreme G DWD-G520'.

The DWD-G520 is an atheros wireless network card. So I recompiled my
freebsd kernel with the following options:-

device ath
device ath_hal
device wlan

But I still dont see ath0 interface when I execute the 'ifconfig' command.

dmesg | grep ath shows the following:-
server# dmesg | grep ath 
npx0: math processor on motherboard 
ath0: Atheros 5212 mem 0xdfff-0xdfff irq 11 at device 9.0 on pci0 
ath0: [GIANT-LOCKED] 
ath0: unable to attach hardware; HAL status 13 
device_attach: ath0 attach returned 6



Why this wireless network card is not working? And how to make it
work? I googled but didnt find any usefull answer, I hope to get
usefull answers this time

Note that I am not yet a member of freebsd's mailing lists, so please
send answers to my email [EMAIL PROTECTED]



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

Try the iwconfig command. I believe that FreeBSD uses that command as 
well for wireless cards as opposed to ifconfig.

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


Re: Xvnc + inetd

2005-06-26 Thread Garrett Cooper

Ken Quach wrote:


I'm trying to turn FreeBSD5.4 into a 'terminal server' of sorts,
allowing users to VNC in to access various network related utilities.

What I'm seeing is a gray screen when connecting into vnc, which I
know is indicative of not having a window manager set up.

My question is when running xvnc through inetd, I can specify which
user to run it as.

I've tried using root and nobody, as well as a 'vnc' user which I
created. In all cases it seems not to read the ~/.vnc/xstartup file as
I expect it would (e.g. /root/.xvnc/xstartup).

I've followed various guides to ensure settings are correct but now I'm stumped.

Various config files are below. Any ideas as to what else I need to change?

 

Uhm, why not just use kdm? It appears that all you need is a X[dm] login 
based server and you don't need Xvnc at all. Refer to ssh's information 
on X port forwarding and info on how to setup kdm properly.

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


Re: Xvnc + inetd

2005-06-26 Thread duckeo
Sorry wrong target. Forwarding to the list.

On 6/26/05, duckeo [EMAIL PROTECTED] wrote:
 Because isn't VNC far more efficient? I've read X is only really
 useful locally, also because VNC is more common a client on Windows
 machines (as in already installed).
 
 On 6/26/05, Garrett Cooper [EMAIL PROTECTED] wrote:
  Ken Quach wrote:
 
  I'm trying to turn FreeBSD5.4 into a 'terminal server' of sorts,
  allowing users to VNC in to access various network related utilities.
  
  What I'm seeing is a gray screen when connecting into vnc, which I
  know is indicative of not having a window manager set up.
  
  My question is when running xvnc through inetd, I can specify which
  user to run it as.
  
  I've tried using root and nobody, as well as a 'vnc' user which I
  created. In all cases it seems not to read the ~/.vnc/xstartup file as
  I expect it would (e.g. /root/.xvnc/xstartup).
  
  I've followed various guides to ensure settings are correct but now I'm 
  stumped.
  
  Various config files are below. Any ideas as to what else I need to change?
  
  
  
  Uhm, why not just use kdm? It appears that all you need is a X[dm] login
  based server and you don't need Xvnc at all. Refer to ssh's information
  on X port forwarding and info on how to setup kdm properly.
  -Garrett
 

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


Re: Intel SE7320VP2 board + Marvell 88E8050 nic.

2005-06-26 Thread Jaco van Tonder
Ted Mittelstaedt typed on a keyboard not too far away, on 6/26/2005 
11:29 AM:

The 88E8050 is a PCI Express nic, the Marvel chip that Dmitry listed
the 88E8001, is a regular PCI chip.  Here are the spec sheets on these:

[...]


Thank you Ted. I will have a look at these now.



The SE7320VP2 motherboard uses the E7320 chipset (Lindenhurst)  Support
for the memory-mapped PCI Express configuration mechanism was added to
FreeBSD 5 in December 2004 for only the Grantsdale and Lindenhurst
chipsets.
You can see the complete comment for this here:

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/pci/pci_cfgreg.c

This first showed up in the FreeBSD 5.4 release.


Brilliant. I am planning on using FreeBSD 5-STABLE on this machine. ;)
Thank you for this confirmation.



The first problem is that the sk0 driver most likely does not
have the pci chip ID in it for the onboard Marvel 88E8050.  It might be
possible to get this with pciconf and add it to the if_sk code in
usr/src/sys/pci to get the driver to attach.


Hmm. I read on Bjoern A. Zeeb's pages that this card is not supported by 
the FreeBSD sk driver. Also, the method that you suggested was tried 
previously and unfortunately it does not work. :(


Here is a link to the message containing some info and links to Bjoern's 
pages: 
http://lists.freebsd.org/pipermail/freebsd-hardware/2005-April/002405.html



If your really lucky then the sk driver will be able to set it up.
If your not as lucky then the driver might need to use the configuration
mechanism to setup the hardware, in which case you probably can
e-mail Scott Long for some patches.  If your really unlucky then
the 2 chipsets are way too different and you would need to write in
support to the sk device driver.


I am not sure if anyone is actually working on this driver. But, I will 
e-mail Scott like you suggested. Maybe he knows about a way to make it work.


I know that the other Intel NIC is supported. I saw it in the supported 
hardware list for FreeBSD 5.4-RELEASE. ;) If the Marvell Card turns out 
to be really bad news, I will just slot in another one of these. :)




Do you have 5.4 running on this motherboard at the current time?


No, I wanted to hear from somebody that FreeBSD will actually support 
this hardware before I buy it. I am really not planning on running some 
mickey mouse linux version on this. :P


Ted. Thanks a lot for your input. :)

---Jaco



Ted



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, June 23, 2005 9:10 AM
To: freebsd-questions@freebsd.org
Subject: Intel SE7320VP2 board + Marvell 88E8050 nic.


Hi all,

I am not quite sure if this question belongs on freebsd-questions@ or
freebsd-current@ , but I will try here first.

Does anyone know the status of the support for Marvell gigabit nic's ?
Escpecially the ones that is shipped with the Intel SE7320VP2
Server board
which is Marvell 88E8050.

I read in the archives that somebody is busy working on it, but
I can not
seem to locate any more info on this.

Basically I do not care if there is support for 1000Mbit, I just want to
use the card, even if it is in 100Mbit mode. :)

I want to use this on 5.4-STABLE or maybe 6-CURRENT, seeing
that 6-CURRENT
is more or less stable (well, way more than 5-CURRENT was in the early
days anyway :P ).

Does anyone perhaps know if this is possible?

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








--
Jaco van Tonder
Software Developer
Direct: +27 11 312 2122 :: Fax: +27 11 312 2122 :: Mobile: +27 83 417 5424
Email: [EMAIL PROTECTED] :: Web: http://www.coocoo.za.net/
Real Software Engineers don't debug programs; they verify correctness.
This process doesn't necessarily involve execution of anything on a
computer, except perhaps a Correctness Verification Aid package.

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


Re: PartitionMagic question

2005-06-26 Thread Iavor Raytchev

Garrett Cooper wrote:
I'll take the opposite approach and let 
them fixed (I am still just playing) so that we can make also the 
other experience.

Iavor


Something I've learned: Letting PM actually 'fix' an issue with a 
non-standard Windows based MBR is _not_ a good idea. That's toasted 
several grub installs of mine as well as other things. So, if everything 
works, such that all partitions are usable as they should be, one should 
leave them well enough alone. Partition Magic can't keep up with the 
large degree of FS'es/configurations, so in many cases it in fact behind 
in development on the Unix support end by a large degree.

-Garrett


I am not sure I understand the MBR part. I left the NTLDR to handle the 
dual boot (by copying boot1 to C: and adding a line to boot.ini) as 
ThinkPad has special boot loader that can boot from the restore 
partition by pressing F11 at boot time. I could not make another boot 
loader to boot the restore partition. It is somehow special. So the MBR 
is standard.


I can see the point about PartitionMagic not understanding many 
FS'es/configurations. PM marks partitions it does not understand in 
yellow (other). Just I was wondering why after creating the FreeBSD 
partition with the partition utility that is part of the FreeBSD 
installation process - PartitionMagic found problems outside the 
FreeBSD partition. Isn't the partitions table kind of international 
territory where FreeBSD should touch only its own land?


Is there a tool for management of mixed NTFS, FreeBSD and FAT32 
partitions without such headaches or one should just get used to live 
with them? It is hard to add second HDD to a laptop...


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


Re: Xvnc + inetd

2005-06-26 Thread duckeo
On 6/26/05, Garrett Cooper [EMAIL PROTECTED] wrote:
 duckeo wrote:
 
 On 6/26/05, duckeo [EMAIL PROTECTED] wrote:
 
 
 Because isn't VNC far more efficient? I've read X is only really
 useful locally, also because VNC is more common a client on Windows
 machines (as in already installed).
 
 
 I'm not sure if that's true or not. I've talked to various people
 who've advocated both angles, but it appears that X forwarding is
 (arguably) more secure. I don't know if this is the case or not, and I
 also don't know if they were referring to not SSH port forwarded
 connections as opposed to a non-localhost-only based server.
 But I do know that running multiple separate X sessions as opposed
 to X port forwarding is overall less efficient if you're dealing with a
 large number of users accessing one host. This is true because VNC-in
 various forms-has a tendency to eat up some userspace memory (I think
 around 5-8Mb per instance), in addition to the actual X session
 allocated memory that it's associated with. That's just a thought to
 consider when comparing the two.
 -Garrett

I'll take that into consideration as the usercount starts to increase
on the box, at the moment it will be mostly network oriented IT staff
needing access to utilities.

The main concern is access to X from Windows machines, and VNC still
seems to be the easiest method (we also have things like activeX
capabale VNC clients we like to use for remote access).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't get perl-after-upgrade to run

2005-06-26 Thread Dick Hoogendijk
On 26 Jun Dominique Goncalves wrote:
  And, if I type sh perl-after-upgrade -f  I get the EXACT same
  output as above, leading me to believe it is ignoring the -f option.
  
 Use /usr/local/bin/perl-after-upgrade

To OP: are you sure you did a rehash ?
The file not found seems to tell you, you did not ;-)

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11-stable ++ FreeBSD 5.4
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PartitionMagic question

2005-06-26 Thread Iavor Raytchev

Basically just ignore the errors with non-Windows partitions in *nix
operated territory. If you have any issues with those, your OS will complain
about that for you :).
-Garrett


That's a good rule.

Though I still wonder why after FreeBSD has touched the partitions 
table, PartitionMagic finds errors outside the *nix territory.


It is somehow irritating to ignore errors all the time. I can see that 
FreeBSD is made on first place to live alone, but it would be nicer if 
it could live together with other OS in peace.


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


Re: PartitionMagic question

2005-06-26 Thread Garrett Cooper

Iavor Raytchev wrote:


Basically just ignore the errors with non-Windows partitions in *nix
operated territory. If you have any issues with those, your OS will 
complain

about that for you :).
-Garrett



That's a good rule.

Though I still wonder why after FreeBSD has touched the partitions 
table, PartitionMagic finds errors outside the *nix territory.


It is somehow irritating to ignore errors all the time. I can see 
that FreeBSD is made on first place to live alone, but it would be 
nicer if it could live together with other OS in peace.


   Yeah, but if everything works, why mess with it? PM is 
overly-verbose in this case and has a tendency to misunderstand what's 
going on.
   NOTE: Do not try what I have down below if it wants to 'play' with 
any FreeBSD partitions! Also, if you _don't_ have the latest version of 
PM and/or are running this on XP SP2, you may completely bork some of 
your Windows partitions so please consider doing what I suggest with 
extreme caution!
   If you really want to see what happens, what I suggest-before trying 
this-is to make a bootdisk of FreeBSD and the PM bootdisk, then test it 
by confirming and rebooting. Most likely you'll have an issue booting 
into one OS or another, but if that's true you can boot to your XP CD 
and just reload the ntloader into the MBR and you'll be fine. I'm just 
suggesting making FreeBSD/PM bootdisks just in case.

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


Re: Xvnc + inetd

2005-06-26 Thread duckeo
 Ok then. What sort of DE/WM setup do you plan on having for your
 clients? is a question you need to ask yourself.

Purely KDE for the moment, desktop wise it would be the same for each user.

 Essentially if it's a small number of users and you want to let them
 setup their own X flavor, you could basically set it up as follows:
 
 #!/bin/sh
 
 [ -r $HOME/.Xresources ]  xrdb $HOME/.Xresources
 xsetroot -solid grey
 vncconfig -iconic 
 
 startkde # or whatever X style they like, such as startfluxbox, 
 xfce4-session, etc

I'd rather not have to make the user log in via SSH and invoke a vnc
each, or even have vnc listening on X number of ports for different
users.

What I'd like to happen is users VNC into the box on a particular
port, and be greeted with a Login screen to KDE (kdm).

The guide I've been roughly following is at
http://oxo.rucus.net/docs/Terminal-Vnc-HOWTO, to give you an idea of
what I was aiming for.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: upgrading all ports

2005-06-26 Thread P.U.Kruppa

On Sat, 25 Jun 2005, Dick Hoogendijk wrote:


I want to do a portupgrade on all installed ports.

What's the right way?
portupgrade -arR ?
or
portupgrade -a ?

I hesitate and don't want to screw up my machine.

# portupgrade -a
works fine, if you do it regularily, i.e. there isn't too much to 
be updated and thus not too much that could be messed up.


Before you start you should check /usr/ports/UPDATING if there 
are any ports that need special treatmentâand make sure

# pkgdb -F
doesn't show any inconsistencies.

Good Luck,

Uli.




--
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11-stable ++ FreeBSD 5.4
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]





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

pkgtool.conf?

2005-06-26 Thread Vic FreeBSD
I need to compile some of my pet programs from the ports according to specific 
configure options valid of course for each of them (I mean the options that 
go with the make command).
Somewhere in the internet I read something about an /etc/pkgtool.conf allowing 
those tailoring but looking for /etc/pkgtool.conf both in www.freebsd.org and 
in the internet I could find pieces of rubbish only, it al seems to be 
vanished.  

Any suggestion to reach my purpose?

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


Granularity with driver Nvidia 1.0-7667

2005-06-26 Thread Jose Luis Alarcon Sanchez
Hi.

Just installed the Subject driver in FreeBSD 5.4-RELEASE.

The driver is loaded and XWindow boot, but the desktop have a very fat
grain (like the pictures with ISO 1000 and higher film) and the colours
are very distorsioned. The graphic system is unusable in this way.

¿Anybody knows what is this problem?. ¿Anybody have this same too?.

Thanks very much, in advance.

Regards.

Jose.


-- 
http://www.lordofunix.org

Not Registered GNU/Hurd User.
Registered BSD User 51101.
Registered Linux User #213309.
Memories. You are talking about memories. 
Rick Deckard. Blade Runner.

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


Re: pkgtool.conf?

2005-06-26 Thread Norberto Meijome

Vic FreeBSD wrote:
I need to compile some of my pet programs from the ports according to specific 
configure options valid of course for each of them (I mean the options that 
go with the make command).
Somewhere in the internet I read something about an /etc/pkgtool.conf allowing 
those tailoring but looking for /etc/pkgtool.conf both in www.freebsd.org and 
in the internet I could find pieces of rubbish only, it al seems to be 
vanished.  


Ciao Vic,

install either of the following ports:
sysutils/portupgrade
or
sysutils/port-maintenance-tools (which is a meta port for portuprade and 
 some of its friends).


then you'll find

/usr/local/etc/pkgtools.conf

and a default conf too.

I found it best to get all the right options I wanted for a port (or if 
i couldn't find exactly all the options I needed...) to run a make, 
select the options needed, accept, (then cancel if u want). The options 
u selected get saved in /var/db/ports/[PORT_NAME]/options . simply 
reformat the lines in the options file and put them in your 
pkgtools.conf and u're set.
You should also pay special attention to the messages that are stdout 
when you start compiling,as they usually show you other useful options.


BTW, I'm not 100% sure of this, but I think that pkgtools.conf is only 
read by the port* tools. so once you start using pkgtools.conf, you 
should install your ports with portinstall section/port rather than 
cd section/port; make install.


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


Re: IPNAT / IPF / rdr issue

2005-06-26 Thread Andy Sutcliffe
The hosts file on the gateway contains subdomains of domainname.com
(such as www for th web server, ftp, as well as client hostnames). 
All clients are behind the gateway.  The IP address is not static, but
it may as well be, as it rarely changes.  The cabling for the network
is as follows:

DSL interface - gateway's external interface | gateway's internal
interface - switch - all clients, including www server and normal
pc's

On 6/25/05, fbsd_user [EMAIL PROTECTED] wrote:
 Do you have your mydomain.com in the /etc/hosts file on the gateway?
 All your clients are on the LAN behind the gateway correct.
 Do you have static IP from your ISP?
 Are you using a dynamic DNS service?
 Explain you cabling layout of your network.
 
 -Original Message-
 From: Andy Sutcliffe [mailto:[EMAIL PROTECTED]
 Sent: Saturday, June 25, 2005 10:36 PM
 To: [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
 Subject: Re: IPNAT / IPF / rdr issue
 
 
 I tried that as well, but am still getting the same 'connection
 refused' error from the web browser on the local client machine.
 
 On 6/25/05, fbsd_user [EMAIL PROTECTED] wrote:
  Your using the public ip address of your gateway box from the
  private LAN.
  In this mode NAT and thus your rdr rule is never evoked. Your
  request never exits your private network. The gateway system knows
  himself by that public ip address.
  What you should be doing is using the www.domainname.com so the
  request has to go to your ISP DNS server to get your public ip
  address, then it will enter on the external interface and be
  nated/rdr to correct location.
  There is nothing wrong with your ipfilter configuration, your just
  using the wrong URL.
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Andy
  Sutcliffe
  Sent: Saturday, June 25, 2005 9:01 PM
  To: freebsd-questions@freebsd.org
  Subject: IPNAT / IPF / rdr issue
 
 
  I am having problems accessing internal resources (such as a web
  server) from other internal clients when going from internal
  client -
  public address - internal resource.  For example, when I attempt
 to
  reach 'mydomain.com' from client machine X, the connection is
  refused
  (I am of course, able to reach the web server through the internal
  IP), however, I am able to access the web server via that URL from
  an
  external network.  I have 'mydomain.com' pointed towards the
  external
  IP of my gateway which in turn relays it to the internal web
 server.
  I have included the pertinent contents of /etc/ipnat.rules as well
  as
  my /etc/ipf.conf file.  I am at a loss at this point...can anyone
  point me in the right direction ?
 
  Thanks in advance,
- andy ( andy dot sutcliffe at gmail dot com)
 
  Gateway:
OS:FreeBSD 5.4
Firewall: IPFilter
Port Forwarding: IPNAT
External eth: dc0
Internal eth: ed0 (10.0.0.0)
 
  Web Server
OS: FreeBSD 5.4
   WWW: Apache 2.0
 
  Client Machine(s)
OS: Windows XP, FreeBSD, Linux
 
  I have the following in /etc/ipnat.rules:
 
  # innernet
  map dc0 10.0.0.0/16 - 0.0.0.0/32 portmap tcp/udp 4:65000
  map dc0 10.0.0.0/16 - 0.0.0.0/32
 
  # www
  rdr dc0 0.0.0.0/0 port 80 - 10.0.0.3 port 80
 
  I have the following in /etc/ipf.conf:
  #
  # No restrictions on Inside LAN Interface for private network
  # Not needed unless you have LAN
  #
 
  pass out quick on ed0 all
  pass in quick on ed0 all
 
  #
  # No restrictions on Loopback Interface
  #
  pass in quick on lo0 all
  pass out quick on lo0 all
 
  #
  # Interface facing Public Internet (Outbound Section)
  # Interrogate session start requests originating from behind the
  # firewall on the private network
  # or from this gateway server destine for the public Internet.
  #
 
  # Allow out access to my ISP's Domain name server.
  # xxx must be the IP address of your ISP's DNS.
  # Dup these lines if your ISP has more than one DNS server
  # Get the IP addresses from /etc/resolv.conf file
  pass out quick on dc0 proto tcp from any to 67.43.192.6 port = 53
  flags S keep state
  pass out quick on dc0 proto udp from any to 67.43.192.6 port = 53
  keep state
  pass out quick on dc0 proto tcp from any to 137.118.1.33 port = 53
  flags S keep state
  pass out quick on dc0 proto udp from any to 137.118.1.33 port = 53
  keep state
 
  # Allow out access to my ISP's DHCP server for cable or DSL
  networks.
  # This rule is not needed for 'user ppp' type connection to the
  # public Internet, so you can delete this whole group.
  # Use the following rule and check log for IP address.
  # Then put IP address in commented 

Re: IPNAT / IPF / rdr issue

2005-06-26 Thread Andy Sutcliffe
Thank you for the suggestion re: split horizon and tinydns.  This will
probably be the easiest work around.

On 6/25/05, John Brooks [EMAIL PROTECTED] wrote:
 Implement a 'split-horizon' dns setup. Clients on the internal network
 are served the internal address for the resource and never need to
 traverse the gateway. External hosts are served from the authoritative
 nameservers as is currently happening.
 
 I set up such a system a couple weeks ago with tinydns, took about 30
 minutes, and was fairly easy.
 
 Alternately you could use each internal computer's hosts file with
 a setting of the internal address for the resource. Can get complicated
 keeping everything in sync. Tinydns works much better. Bind also has a
 split-horizon capability, but then bind is not permitted to exist in any
 of my networks or systems (personal choice, but let's not go there ;-) ).
 
 google for tinydns and split-horizon for howto's.
 
 --
 John Brooks
 [EMAIL PROTECTED]
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Andy Sutcliffe
  Sent: Saturday, June 25, 2005 8:01 PM
  To: freebsd-questions@freebsd.org
  Subject: IPNAT / IPF / rdr issue
 
 
  I am having problems accessing internal resources (such as a web
  server) from other internal clients when going from internal client -
  public address - internal resource.  For example, when I attempt to
  reach 'mydomain.com' from client machine X, the connection is refused
  (I am of course, able to reach the web server through the internal
  IP), however, I am able to access the web server via that URL from an
  external network.  I have 'mydomain.com' pointed towards the external
  IP of my gateway which in turn relays it to the internal web server.
  I have included the pertinent contents of /etc/ipnat.rules as well as
  my /etc/ipf.conf file.  I am at a loss at this point...can anyone
  point me in the right direction ?
 
  Thanks in advance,
- andy ( andy dot sutcliffe at gmail dot com)
 
  Gateway:
OS:FreeBSD 5.4
Firewall: IPFilter
Port Forwarding: IPNAT
External eth: dc0
Internal eth: ed0 (10.0.0.0)
 
  Web Server
OS: FreeBSD 5.4
   WWW: Apache 2.0
 
  Client Machine(s)
OS: Windows XP, FreeBSD, Linux
 
  I have the following in /etc/ipnat.rules:
 
  # innernet
  map dc0 10.0.0.0/16 - 0.0.0.0/32 portmap tcp/udp 4:65000
  map dc0 10.0.0.0/16 - 0.0.0.0/32
 
  # www
  rdr dc0 0.0.0.0/0 port 80 - 10.0.0.3 port 80
 
  I have the following in /etc/ipf.conf:
  #
  # No restrictions on Inside LAN Interface for private network
  # Not needed unless you have LAN
  #
 
  pass out quick on ed0 all
  pass in quick on ed0 all
 
  #
  # No restrictions on Loopback Interface
  #
  pass in quick on lo0 all
  pass out quick on lo0 all
 
  #
  # Interface facing Public Internet (Outbound Section)
  # Interrogate session start requests originating from behind the
  # firewall on the private network
  # or from this gateway server destine for the public Internet.
  #
 
  # Allow out access to my ISP's Domain name server.
  # xxx must be the IP address of your ISP's DNS.
  # Dup these lines if your ISP has more than one DNS server
  # Get the IP addresses from /etc/resolv.conf file
  pass out quick on dc0 proto tcp from any to 67.43.192.6 port = 53
  flags S keep state
  pass out quick on dc0 proto udp from any to 67.43.192.6 port = 53
  keep state
  pass out quick on dc0 proto tcp from any to 137.118.1.33 port = 53
  flags S keep state
  pass out quick on dc0 proto udp from any to 137.118.1.33 port =
  53 keep state
 
  # Allow out access to my ISP's DHCP server for cable or DSL networks.
  # This rule is not needed for 'user ppp' type connection to the
  # public Internet, so you can delete this whole group.
  # Use the following rule and check log for IP address.
  # Then put IP address in commented out rule  delete first rule
  pass out quick on dc0 proto udp from any to 67.43.192.6 port = 67
  keep state
 
 
  # Allow out non-secure standard www function
  pass out quick on dc0 proto tcp from any to any port = 80 flags S
  keep state
  pass out quick on dc0 proto tcp from any to any port = 81 flags S
  keep state
 
  # Allow out secure www function https over TLS SSL
  pass out quick on dc0 proto tcp from any to any port = 443 flags
  S keep state
 
  # Allow out send  get email function
  pass out quick on dc0 proto tcp from any to any port = 110 flags
  S keep state
  pass out quick on dc0 proto tcp from any to any port = 25 flags S
  keep state
 
  # Allow out Time
  pass out quick on dc0 proto tcp from any to any port = 37 

Re: Xvnc + inetd

2005-06-26 Thread Garrett Cooper

duckeo wrote:


Ok then. What sort of DE/WM setup do you plan on having for your
clients? is a question you need to ask yourself.
   



Purely KDE for the moment, desktop wise it would be the same for each user.

 


Essentially if it's a small number of users and you want to let them
setup their own X flavor, you could basically set it up as follows:

#!/bin/sh

[ -r $HOME/.Xresources ]  xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic 

startkde # or whatever X style they like, such as startfluxbox, xfce4-session, 
etc
   



I'd rather not have to make the user log in via SSH and invoke a vnc
each, or even have vnc listening on X number of ports for different
users.

What I'd like to happen is users VNC into the box on a particular
port, and be greeted with a Login screen to KDE (kdm).

The guide I've been roughly following is at
http://oxo.rucus.net/docs/Terminal-Vnc-HOWTO, to give you an idea of
what I was aiming for.
 

   Hmmm... that's an interesting HOWTO. What the writer is doing is 
documenting basically how to do the DM stuff for login, but just without 
the SSH. I don't think that this method is really a good idea at all for 
security purposes as all data that goes through VNC is unencrypted. Make 
sure you don't have anyone pass any root passwords, credit card numbers, 
etc across the network during login or while they are getting logged in 
:). Setting up a firewall for a set of trusted PCs as close as possible 
to your VNC machine may be an incredibly wise idea as well while you 
don't have anything setup for SSH logins.
   I don't know anything in general to accomplish X forwarding (except 
paid for solutions such as Reflection X, Hummingbird, etc), so maybe 
going with VNC is a good idea. So I suggest setting up everything 
described in the HOWTO, but have SSH keys setup so then people don't 
have to worry about 'annoying' password based logins via SSH. Read 
http://www.jfitz.com/tips/ssh_for_windows.html#Automatic_login for more 
details on how to do this via putty. The only thing I can think of 
that's causing issues is maybe kdm isn't running on port 177. Have you 
attempted setting it up to listen on port 177, and also have you checked 
to see if login via the local box is possible? Testing out to see if 
that works or not might be something to really try first before seeing 
whether or not the VNC is at fault. Then, try logging in via another 
account, see if that works, and go down the line determining what the 
issue is. If you can't login via VNC, check the console with the VNC 
server started for any error messages that were displayed during 
execution (there might be some issues encountered during startup). I 
would also check the vncserver (invoke 'whereis vncserver' or 'which 
vncserver') file (I don't think it's binary but an actual script used 
for listening via TCP but I could be wrong). If it's a script (and 
hopefully not a binary file), it should contain any relevant information 
about what variables get setup during execution because vncserver 
eventually calls Xvnc, which does the actual serving. There might be 
some variables in vncserver which might help you determine when and how 
to add information in other commands and files (ie inetd.conf and kdm 
conf file wherever it is). Also, since you are running everything from a 
login manager as opposed to a direct VNC invocation, you may need to 
create the relevant files like ~/.Xsession, etc or setup the system wide 
Xsession file properly.
   Hopefully this helps as a start. I have no tried this so I can't 
guarantee any solutions but hopefully I brought something up which will 
lead you to a solution. The person who wrote the doc should be advised 
as to what actual steps need to be taken to make sure this works since 
the doc lacks some relevant details. Then again, a lot of docs do need 
to be improved and not just this one :).

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


Re: upgrading all ports

2005-06-26 Thread Kirk Strauser
On Sunday 26 June 2005 06:28 am, you wrote:

 We are talking about upgrading the entire system, not 
 just a few ports.

It really depends on how often you upgrade.  If more than once a year or so, I 
maintain that portupgrade -a is faster than the OpenBSD-style uninstall and 
reinstlal process.
-- 
Kirk Strauser


pgpWLLCRSLTgP.pgp
Description: PGP signature


Re: [RESOLVED} Xvnc + inetd

2005-06-26 Thread duckeo
On 6/27/05, duckeo [EMAIL PROTECTED] wrote:
  The guide I've been roughly following is at
  http://oxo.rucus.net/docs/Terminal-Vnc-HOWTO, to give you an idea of
  what I was aiming for.
   
 KDM is definately listening, UDP 177:
 
 frisbee# netstat -aln
 Active Internet connections (including servers)
 Proto Recv-Q Send-Q  Local Address  Foreign Address(state)
 tcp4   0  0  *.5961 *.*LISTEN
 udp6   0  0  *.177 *.*
 
 5861 being VNC, 177 being XDMCP.
 
 I can't VNC from the local box, is there a way I can test local login
 to KDM from the command line? I'm working on it remotely at the
 moment, SSH'd in from Windows.
 
 Just a thought, would the fact that it's listening on UDP6 be a factor?

Resolved!

KDM was only listening on udp6, by default now.

Found a few references to it, but by changing net.inet6.ip6.v6only=1
to net.inet6.ip6.v6only=0 it now listens on udp46 which solved the
problem!

I'll probably be disabling ip6 support anyway for this box, but
Garrett thanks very much for your help. It lead me to the problem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 4 GB file limit? (WAS gzip from ports vs gzip from system)

2005-06-26 Thread Norberto Meijome

Garrett Cooper wrote:



   I am not entirely sure what the issue may be, but NTFS does 
definitely support file sizes beyond 2 Gb; I think that the only FS'es 
that don't do that still are Fat based or ext2, but I could be wrong.

u're right.

   Also, I'm not entirely sure which version of NFS that the SFU NFS 
runs (other than it's some sort of PCNFS), and I have certainly not 
tried transferring over 2 Gb of data to Windows NFS shares in the past, 


no, tested 2 and 3 GB...4 seemed to be the new barrier. the version I 
run (see other posting) supports nfs v3.



but here's what I might suggest doing to remedy this issue:
   1. Split up data before the 2 Gb point (dd, truncate, or what have 
you is your friend in this case).

   2. Send data to Windows NFS share.
   3. Download and setup Cygwin.
   4. 'Recompile' everything back into its original file, if you wish, 
using tools in Cygwin such as cat.


yeah, that is my last resort. Right now, I disabled amd, mounted via 
mount_nfs forcing nfs3 (which should be default for mount_nfs, but not 
amd)...and it's been running nicely...it has just crossed the 4 GB point 
where it was diying before, so that's definitely progress.


Now to figure out amd.conf and force nfs3 for this server. And to figure 
out why only under 10Mbps transfers via nfs (on a 100Mbps link...when I 
can get scp transfers at 40 Mbps)...


thanks for ur suggestions and time,Garrett.
Beto
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RAID Cards

2005-06-26 Thread Bob Bomar

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I am looking to build a new file server.  I have used
Promise cards exclusivly in the past, but I am looking
at Highpoint cards for this machine.  Anybody have any
opinions on RAID cards?

- --
Bob Bomar
[EMAIL PROTECTED]
http://www.bomar.us/~bob
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCvtoQ9Jm/aTrtdKoRAveRAJ4qF21sZ52SFpnE0tCaazOHyuTiCgCggPMw
xfpEYgfU3GHE2JpEB0PKfYo=
=ABWH
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Solution: Unable to decipher error ELF binary type 3 not known

2005-06-26 Thread Bob Perry
On Tue, 2005-06-21 at 23:04 -0400, Bob Perry wrote:
 On Tue, 2005-06-21 at 16:13 +0200, Julien Gabel wrote:
   Cvsup'd system last weekend but was unable to complete portupgrade due
   to following error:
 ELF binary type 3 not known
 execution of expat-1.95.5_2 script failed, exit status 255
 ELF binary type 3 not known
 /compat/linux/sbin/ldconfig: 1: Syntax error: ( unexpected
 *** Error code 2
  
Stop in /usr/ports/textproc/linux-expat.
*** Error code 1
  
   The error apears while system is upgrading linux-expat-1.95.5_2 to
   linux-expat-1.95.5_3.  The error continues:
Stop in /usr/ports/textproc/linux-expat.
** Command failed [exitcode 1]: /usr/bin/script
-qa /tmp/portupgrade80885.59 make reinstall
egrep: /var/db/pkg/linux-expat-1.95.5_2/+CONTENTS: No such file
or directory
---  Restoring the old version
** Fix the installation problem and try again.
  
   Tried to deinstall/reinstall linux-expat-1.95.5_3 but received same
   error.  When I ran portupgrade -arR again, I received a Stale dependency
   error recommending I manually run pkgdb -F to fix, or specify -O to
   force.  I run pkgdb -F and each package which had been skipped earlier
   in the upgrade due to the original error now appear in Stale dependency
   scripts asking if I want to replace linux-expat-1.95.5_2.  The score
   in the first stale dependency issue is only 31%.  Nothing confuses me
   more than dealing with stale dependencies so I tried reviewing mail
   archives and googling for an answer.
  
   Does anyone have any ideas as to how I can resolve this error?
  
   FreeBSD 5.4-RELEASE #0.
  
   Have you installed linux_base-8 ? kernel module (linux.ko) loaded ?
  
  Forcing the reinstall of linux_base must solve this problem:
   # portupgrade -f linux_base
  
 I ran portupgrade -f linux_base-8 successfully and then ran portupgrade
 -arR.  The system reports stale dependencies and suggest I manually run
 pkgdb -F to fix which I do.  The first line of output reads:
   Stale dependency: acroread-5.10_1,1 - linux-expat-1.95.5_2 
   (textproc/linux-expat):
   linux-fontconfig-2.1_2 (score:31%) ? ([y]es/[n]o/[a]ll)
 
 If I understand Michael Lucas' Cleaning Up Ports, acroread has
 recorded linux-expat-1.95.5_2 as a dependency but linux-fontconfig-2.1_2
 is installed and it's asking if I want to have the entry in /var/db/pkg
 point to linux-fontconfig-2.1_2 as the correct dependency.  And the
 answer is, Damned if I know.

As previously mentioned, I resolved the original error:
ELF binary type 3 not known
by reinstalling linux_base-8 as recommended.  Not sure about this issue
but I will research further.  Thanks again.

The stale dependency issue was another story.  I discovered, through
comparing the dependency output from pkg_info -rR against the actual
list of dependency data that some of the dependent files were missing.
(I'm sure I must have deleted them inadvertently).  Once they were
identified and reinstalled everything was as it should have been. 
I don't know if this is a bug in the program or just me.  At least now I
know my next steps when I see a stale dependency prompt requesting me to
choose between two apparently non-related packages.

Thanks again for the support.


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


Re: Solution: Unable to decipher error ELF binary type 3 not known

2005-06-26 Thread Julien Gabel
 I ran portupgrade -f linux_base-8 successfully and then ran portupgrade
 -arR.  The system reports stale dependencies and suggest I manually run
 pkgdb -F to fix which I do.  The first line of output reads:
  Stale dependency: acroread-5.10_1,1 - linux-expat-1.95.5_2
  (textproc/linux-expat):
  linux-fontconfig-2.1_2 (score:31%) ? ([y]es/[n]o/[a]ll)

 If I understand Michael Lucas' Cleaning Up Ports, acroread has
 recorded linux-expat-1.95.5_2 as a dependency but linux-fontconfig-2.1_2
 is installed and it's asking if I want to have the entry in /var/db/pkg
 point to linux-fontconfig-2.1_2 as the correct dependency.  And the
 answer is, Damned if I know.

 As previously mentioned, I resolved the original error:
   ELF binary type 3 not known
 by reinstalling linux_base-8 as recommended.  Not sure about this issue
 but I will research further.  Thanks again.

 The stale dependency issue was another story.  I discovered, through
 comparing the dependency output from pkg_info -rR against the actual
 list of dependency data that some of the dependent files were missing.
 (I'm sure I must have deleted them inadvertently).  Once they were
 identified and reinstalled everything was as it should have been.
 I don't know if this is a bug in the program or just me.  At least now I
 know my next steps when I see a stale dependency prompt requesting me to
 choose between two apparently non-related packages.

I think in this particular case, a forced upgrade/reinstall of the targeted
port and its dependancies must be all what you wanted:
 # portupgrade -rRf acroread5   /* Or what the _name_ of the package is */

-- 
-jpeg.

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


Re: Solution: Unable to decipher error ELF binary type 3 not known

2005-06-26 Thread Bob Perry
On Sun, 2005-06-26 at 18:49 +0200, Julien Gabel wrote:
  I ran portupgrade -f linux_base-8 successfully and then ran portupgrade
  -arR.  The system reports stale dependencies and suggest I manually run
  pkgdb -F to fix which I do.  The first line of output reads:
 Stale dependency: acroread-5.10_1,1 - linux-expat-1.95.5_2
 (textproc/linux-expat):
 linux-fontconfig-2.1_2 (score:31%) ? ([y]es/[n]o/[a]ll)
 
  If I understand Michael Lucas' Cleaning Up Ports, acroread has
  recorded linux-expat-1.95.5_2 as a dependency but linux-fontconfig-2.1_2
  is installed and it's asking if I want to have the entry in /var/db/pkg
  point to linux-fontconfig-2.1_2 as the correct dependency.  And the
  answer is, Damned if I know.
 
  As previously mentioned, I resolved the original error:
  ELF binary type 3 not known
  by reinstalling linux_base-8 as recommended.  Not sure about this issue
  but I will research further.  Thanks again.
 
  The stale dependency issue was another story.  I discovered, through
  comparing the dependency output from pkg_info -rR against the actual
  list of dependency data that some of the dependent files were missing.
  (I'm sure I must have deleted them inadvertently).  Once they were
  identified and reinstalled everything was as it should have been.
  I don't know if this is a bug in the program or just me.  At least now I
  know my next steps when I see a stale dependency prompt requesting me to
  choose between two apparently non-related packages.
 
 I think in this particular case, a forced upgrade/reinstall of the targeted
 port and its dependancies must be all what you wanted:
  # portupgrade -rRf acroread5   /* Or what the _name_ of the package is */
 
That must explain why the deinstall/reinstall of acroread5 wasn't very
helpful.

Thank you.

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


freebsd as the basis for something better?

2005-06-26 Thread el-sino

hey!

i'm curious about all these new operating systems,
that all claim to be the next generation.

there are many out there. plan9, hurd, eros, movitz. and many 
vaporware projects as well, such as lainos. but they all want to 
reinvent the wheel. i think this approach is wrong. instead, we 
should try to attach the wheel to its vehicle, and make sure its 
road is alright. not to mention; going the right way.

a project where real unix would meet real life, or where open 
source would meet open minds -- would have to make unix more human-
oriented rather than machine-oriented. and in addition to bringing 
order to the chaos that was laid as the foundation for all unix 
variants decades ago, it should also deal with new ways of 
interacting with unix visually. for instance, in ways more 
convenient than x, and its conventional graphical user interfaces 
(though these won't go away any time soon).

ofcourse we'd have to get out of the code-only rut, and try to 
incorporate more natural elements from the ground up. such as 
design, like that conceived through real life architecture etc. 
having style doesn't mean it's commercial.

i'm curious whether anybody would like to team up with me, to try 
and map out the ideas for how a real next generation unix would be. 
i'll soon have a pdf ready for those who are interested. in my 
humble opinion, this would be a great way for you to make bsd the 
way you've always wanted it.

i guess that's it;

-- siño ambrosius




Concerned about your privacy? Follow this link to get
secure FREE email: http://www.hushmail.com/?l=2

Free, ultra-private instant messaging with Hush Messenger
http://www.hushmail.com/services-messenger?l=434

Promote security and make money with the Hushmail Affiliate Program: 
http://www.hushmail.com/about-affiliate?l=427

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


Re: FreeBSD mini-ITX

2005-06-26 Thread Z.C.B.
On Sat, 25 Jun 2005 22:47:59 +0400
Dmitry Mityugov [EMAIL PROTECTED] wrote:

 On 6/25/05, Z.C.B. [EMAIL PROTECTED] wrote:
  On Wed, 22 Jun 2005 14:43:38 -0700
  Benjamin Keating [EMAIL PROTECTED] wrote:
  
   I've been eyeing up these mini-ITX boards - would like to make a
   quite little file server. Does anyone here run a mini-ITX board
   (what model)? Does it work out of the box? Anything not
   supported? I'd go for one of VIA's as AMD's and others are
   still a little new and pricey. Recommend a shop to purchase
   from (in the US)?
  
  
  I have a ASUS A7V400-MX. I use it for a router and it works rather
  nicely, but does run unusually hot for some reason. Got a 1.3GHz
  Durron in it and it runs at 64C idle, with the case open and a
  good heat sink.
 
 What heat sink, what model?
 
 Just in case I need to buy one. Just to know what to avoid.

I forget what model it is, but is a nice all copper one with a 60mm
fan on it. Not taken the time to fully look at it, but I suspect it
is something in odd with that board possibly. I've never had that
proc getting that hot in other boards before.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Intel SE7320VP2 board + Marvell 88E8050 nic.

2005-06-26 Thread Ted Mittelstaedt


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jaco van Tonder
Sent: Sunday, June 26, 2005 5:41 AM
To: Ted Mittelstaedt
Cc: freebsd-questions@freebsd.org
Subject: Re: Intel SE7320VP2 board + Marvell 88E8050 nic.


Ted Mittelstaedt typed on a keyboard not too far away, on 6/26/2005
11:29 AM:
 The 88E8050 is a PCI Express nic, the Marvel chip that Dmitry listed
 the 88E8001, is a regular PCI chip.  Here are the spec sheets
on these:

 [...]

Thank you Ted. I will have a look at these now.


 The SE7320VP2 motherboard uses the E7320 chipset
(Lindenhurst)  Support
 for the memory-mapped PCI Express configuration mechanism was added to
 FreeBSD 5 in December 2004 for only the Grantsdale and Lindenhurst
 chipsets.
 You can see the complete comment for this here:

 http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/pci/pci_cfgreg.c

 This first showed up in the FreeBSD 5.4 release.

Brilliant. I am planning on using FreeBSD 5-STABLE on this machine. ;)
Thank you for this confirmation.


 The first problem is that the sk0 driver most likely does not
 have the pci chip ID in it for the onboard Marvel 88E8050.
It might be
 possible to get this with pciconf and add it to the if_sk code in
 usr/src/sys/pci to get the driver to attach.

Hmm. I read on Bjoern A. Zeeb's pages that this card is not
supported by
the FreeBSD sk driver. Also, the method that you suggested was tried
previously and unfortunately it does not work. :(


Yes, that was mentioned here:

http://lists.freebsd.org/pipermail/freebsd-questions/2005-January/071205.
html

Here is a link to the message containing some info and links to
Bjoern's
pages:
http://lists.freebsd.org/pipermail/freebsd-hardware/2005-April/0
02405.html

 If your really lucky then the sk driver will be able to set it up.
 If your not as lucky then the driver might need to use the
configuration
 mechanism to setup the hardware, in which case you probably can
 e-mail Scott Long for some patches.  If your really unlucky then
 the 2 chipsets are way too different and you would need to write in
 support to the sk device driver.

I am not sure if anyone is actually working on this driver.

You didn't read the rest of the thread, apparently, see here:

http://lists.freebsd.org/pipermail/freebsd-hardware/2005-April/002409.htm
l

 But, I will
e-mail Scott like you suggested. Maybe he knows about a way to
make it work.


I didn't know about Bjoern's message, you should e-mail him first
and get his patch and see if FreeBSD 5.4 detects the Marvel.  He
mentioned that it did but only the PHY worked?  See if you can get
that far before mailing Scott.

I found 2 links claiming that the sk98lin Linux driver from Syskonnect
work with this card, see here:

http://www.leenooks.com/251
http://www.ussg.iu.edu/hypermail/linux/kernel/0502.1/0010.html

The Linux driver is here
http://www.syskonnect.com/syskonnect/support/driver/
and it appears to be a huge patch that applies to the Linux sk source
code.
It does add support for the 88E8050 card.  (at least the 6.24 driver
does)

The FreeBSD version of the SK-98 card driver from Syskonnect is here:

http://www.syskonnect.com/syskonnect/support/driver/

This is NOT a source driver like the Syskonnect Linux driver.  This
driver creates the yk interface.

Interestingly enough, there is an old post in the FreeBSD Hackers
mailing list here:

http://lists.freebsd.org/pipermail/freebsd-hackers/2003-July/002020.html

that appears to be from a developer (Gerald Heinig) within Syskonnect
itself
asking for help in writing this very same driver.  You might e-mail him
and
ask for the source, or ask if this driver will work with the Marvel
88E8050 card.  Or in fact if that driver could be easily moded for
use with the 88E8050.

While Syskonnect only states this is for their SK-98xx and SK-95xx
Gigabit
adapter, please try it and let us know if it works for the Marvel
adapter.

There is no licensing file for either driver so general copyright only
applies  (meaning no restrictions on reverse engineering it)

The official Marvel driver for Linux is here:

http://www.marvell.com/drivers/driverSearchResults.do

This is a source-only driver, and although it's license disallows
reverse engineering, the license also is limited to:

Deliverables means the software accompanying this Agreement in
executable or binary form

so I am not sure it applies.  It also appears to be a copy of the
Syskonnet sk98lin driver, although instead of a giant patch, it is
the actual patched source files.  And within the actual source files
we find GPL language.

It might be that Bjoern didn't want to look at the sk98lin driver
for fear of violating a license?  Seems to me not to be much
worry of that here since it seems Marvel simply applied the unlicensed
Syskonnect code to Linux GPL'd code and posted the resulting source under
a
license that restricts itself only to binary files! :-)

I would assume one could review the Syskonnect/Marvel Linux source and
see 

amd.conf - setting the nfs version to use

2005-06-26 Thread Norberto Meijome

Hi,
FreeBSD 4.11
I've read the sample amd.conf ( 
/usr/src/contrib/amd/scripts/amd.conf-sample) but I cannot figure out 
how/where to set the version of NFS to use. I need to get amd to mount 
the nfs shares to a particular server over nfs_v3. It is currently 
defaulting to v2 (v3 is enabled on the server).


--- on client (diablo)---
Jun 27 04:09:00 diablo amd[102]: recompute_portmap: NFS version 2
Jun 27 04:09:00 diablo amd[102]: Using MOUNT version: 1
Jun 27 04:09:04 diablo amd[102]: get_nfs_version: returning (2,udp) on 
host edsac.domain.com
Jun 27 04:09:04 diablo amd[102]: Using NFS version 2, protocol udp on 
host edsac.domain.com
Jun 27 04:09:04 diablo amd[102]: Flushed /host/edsac; dependent on 
edsac.domain.com

Jun 27 04:09:04 diablo amd[102]: recompute_portmap: NFS version 2
Jun 27 04:09:04 diablo amd[102]: Using MOUNT version: 1
Jun 27 04:09:04 diablo amd[102]: get_nfs_version: returning (2,udp) on 
host edsac.domain.com
Jun 27 04:09:04 diablo amd[102]: Using NFS version 2, protocol udp on 
host edsac.domain.com

Jun 27 04:09:04 diablo amd[296]: amfs_host_fmount: NFS version 2
Jun 27 04:09:04 diablo amd[296]: fetch_fhandle: NFS version 2
Jun 27 04:09:04 diablo amd[296]: fetch_fhandle: NFS version 2
Jun 27 04:09:04 diablo amd[296]: mount_nfs_fh: NFS version 2
Jun 27 04:09:04 diablo amd[296]: mount_nfs_fh: using NFS transport udp
Jun 27 04:09:04 diablo amd[102]: edsac:/host/edsac mounted fstype host 
on /.amd_mnt/edsac/host

---
Server (edsac) is  Win2K-Storage server, SP4, Microsoft Windows Services 
for UNIX 3.5  [8.0.1969.1]


I'm mounting this in fstab via:

edsac.domain.com:/diablo_backs//mnt/edsac_backsnfs 
-3,-d,rw  0   0


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


Re: gzip from ports vs gzip from system

2005-06-26 Thread Norberto Meijome

Dan Nelson wrote:


That looks like whatever filesystem gzip was writing to couldn't handle
files over 2gb.  You mentioned writing to a remote filesystem using
amd, but it defaults to NFSv3.  Were you maybe writing to a FAT fs on
the remote end?  You can also see whether amd actually mounted the
remote fs with NFSv2 by uncommenting the /var/log/all.log line in
/etc/syslog.con, touching /var/log/all.log, and restarting syslog. 
Then have amd remount the remote system and check the log.




Thanks for the tip Dan. it was mounting as v2. Mounting by hand as v3 
addressed the problem, though why it was  dying @ 4 GB ( - 16K) instead 
of 2 GB baffles me.


The other variable here is amd, which I wanst using for the full, 
correct run ( 6 GB .gz file).


will see how it goes.

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


RE: RAID Cards

2005-06-26 Thread nethaniel
I can say my experience with adaptec 3200s cards has not been the most
fruitful. It's been 2 weeks now and I cannot even get my system to load past
the initial bootup options screen. Anything but option 6 fails. The sad
thing is I have a driver but I need to load some kind of os on the system or
I cannot load my driver. 

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of Bob Bomar
 Sent: Sunday, June 26, 2005 10:39 AM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: RAID Cards
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 I am looking to build a new file server.  I have used
 Promise cards exclusivly in the past, but I am looking
 at Highpoint cards for this machine.  Anybody have any
 opinions on RAID cards?
 
 - --
 Bob Bomar
 [EMAIL PROTECTED]
 http://www.bomar.us/~bob
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.4 (Darwin)
 Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
 
 iD8DBQFCvtoQ9Jm/aTrtdKoRAveRAJ4qF21sZ52SFpnE0tCaazOHyuTiCgCggPMw
 xfpEYgfU3GHE2JpEB0PKfYo=
 =ABWH
 -END PGP SIGNATURE-
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-
 [EMAIL PROTECTED]


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


Re: upgrading all ports

2005-06-26 Thread Erik Nørgaard

Alex Zbyslaw wrote:

Erik Nørgaard wrote:
portupgrade isn't suitable for upgrading the entire machine, even 
though you do recursive and Recursive.


What, in your opinion, makes it unsuitable?  I've used portugrade 
exclusively and never had trouble.


Unsuitable if

- it is slower than the altertative to deinstall all ports and
  reinstall.
- thinks break

I don't claim it won't work, I don't claim that things will break, but 
they may depending on what is being upgraded which was not mentioned in OP.


The problem is that the double (up and down) recursive resolution of 
interdependencies quickly becomes very complex with the result that some 
ports may be updated multiple times, or that portupgrade will choke 
trying to figure out where to start.


It then quickly becomes much faster to simply deinstall all ports and 
reinstall. It also lets you clean up any junk that may have been left 
for whatever reasons.


And, then there are the general warnings about upgrading Gnome (not 
minor minor upgrades) eg 2.8 to 2.10, upgrading perl and friends, module 
paths etc. These are things that can ofcourse be resolved, I just found 
it easier to clean up the whole thing and reinstall it, see 
/usr/ports/UPDATING - there are numerous warnings on portupgrade.


For single/few apps upgrade portupgrade is fine, or if the system is 
mostly up to date so a full upgrade will only affect a few packages.


I have had my system serverely down after using portupgrade because of 
problems with dependencies on X11.


OP did not mention how old the system to be upgraded is. So in the 
particular case it is dificult to say. But I assume that if he wants to 
upgrade his _entire_ system then I can assume significant updates to be 
done.


Erik
--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Best hardware to mirror IDE drives under FreeBSD?

2005-06-26 Thread Brett Glass
I need to set up a FreeBSD server with two or more sets of
mirrored drives. What is the best controller to use for this
purpose? Note that I don't need striping or other RAID
functions -- just mirroring, hopefully with hot swap capability.
A system that could re-mirror a replacement drive with minimal
impact on performance would be ideal.

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


Re: Best hardware to mirror IDE drives under FreeBSD?

2005-06-26 Thread Mike Maltese

Brett Glass wrote:

I need to set up a FreeBSD server with two or more sets of
mirrored drives. What is the best controller to use for this
purpose? Note that I don't need striping or other RAID
functions -- just mirroring, hopefully with hot swap capability.
A system that could re-mirror a replacement drive with minimal
impact on performance would be ideal.


The 3ware 7000 series cards work great. Not sure about hot swap with IDE 
though. I'd go with a 8000 series card and SATA drives for that.


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


Re: RAID Cards

2005-06-26 Thread Chad Leigh -- Shire.Net LLC


On Jun 26, 2005, at 12:21 PM, [EMAIL PROTECTED]  
[EMAIL PROTECTED] wrote:



I can say my experience with adaptec 3200s cards has not been the most
fruitful. It's been 2 weeks now and I cannot even get my system to  
load past
the initial bootup options screen. Anything but option 6 fails. The  
sad
thing is I have a driver but I need to load some kind of os on the  
system or

I cannot load my driver.


The adaptec 3200s is supported out of the box in FreeBSD with the asr  
driver (at least on i386).  You should not need a separate driver.


Is the adaptec at the latest firmware and is your system bios at the  
latest version?  I had a problem with an adaptec 2200s (aac driver)  
with my tuan opteron board that was fixed with a system BIOS upgrade.


Chad





-Original Message-
From: [EMAIL PROTECTED] [mailto:owner-freebsd-
[EMAIL PROTECTED] On Behalf Of Bob Bomar
Sent: Sunday, June 26, 2005 10:39 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RAID Cards

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I am looking to build a new file server.  I have used
Promise cards exclusivly in the past, but I am looking
at Highpoint cards for this machine.  Anybody have any
opinions on RAID cards?

- --
Bob Bomar
[EMAIL PROTECTED]
http://www.bomar.us/~bob
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCvtoQ9Jm/aTrtdKoRAveRAJ4qF21sZ52SFpnE0tCaazOHyuTiCgCggPMw
xfpEYgfU3GHE2JpEB0PKfYo=
=ABWH
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-
[EMAIL PROTECTED]




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




---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[EMAIL PROTECTED]


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


FireFox is beeping at me! a question

2005-06-26 Thread Chris O'Dell
Alex,
i am in a bind and i was doing some research on the internet when i
found your post about firefox beeping.  you sound extremely
knowledgeable, but i don't understand what you were talking about when
you made this post.  here's a link to the post

http://lists.freebsd.org/pipermail/freebsd-questions/2005-May/086951.html

here's what the original user wrote and your response:

I'm having an issue where 'FireFox 1.0.3' on 'FreeBSD 5.3-Release' 
 is beeping at me when I start, use and close it. By use, I mean doing 
 standard tasks inside of it, such as Google'ing and general surfing of 
 the internet. I've tried 'xset b off', but the sound is still present?

Did you compile the port with debugging on?  Mozilla beeps like a 
lunatic when it's compiled with debugging.  Have a look at 
/var/db/ports/firefox/options and see if there is a line like 
WITH_DEBUG=true.

If there is, then delete /var/db/ports/firefox/options.  Go to 
/usr/ports/www/firefox and do a make.  This time do not turn debugging 
on when asked to pick options!.  Then make deinstall; make reinstall.

--Alex


here's the issue i'm having.  i just installed a new video card and
firefox has decided to start making weird beeping and almost hissing
noises when i have an audio application running.  for example, i use
winamp and firefox with tabbed browsing and whenever i select another
tab, it makes an annoying beep.  do you have any suggestions and can
you explain what you originally wrote?!?  thanks for your help

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


media player for mpeg-4? xmms can't load faad plugin

2005-06-26 Thread Louis LeBlanc
Anyone have any luck getting xmms to play m4a (mpeg-4) files?

I've installed the xmms-faad port, but the libmp4.so plugin doesn't
seem to want to work:

/usr/X11R6/lib/xmms/Input/libmp4.so: Undefined symbol MP4GetTrackAudioType

I wonder if this could be one port stepping on another, or even just a
simple path problem, like LD_LIBRARY_PATH?

I have gotten gmplayer to play these files, but it doesn't do playlist
shuffling and the gain is so low through gmplayer that I have to crank
the gain and volume to the max just to hear it at a decent level.
Then every darn time I get email, ringin.wav plays over it at max
volume.  I almost did myself a mischief the first time that happened.
Sure it's hilarious in hindsight, but it really scares the dirt outa
you when it happens.

I also tried xine.  It's pretty cool looking and all, like xmms, and
it has a very cool splash, but it dumps core when I try to play m4a
files.

BTW, these m4a files were ripped by iTunes on my wife's windoze box,
and I am trying to play them on FreeBSD 5.4-RELEASE-p1.

Any pointers would be appreciated.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

cerebral darwinism, n:
  The theory that the effects of cerebral atrophy can be reversed
through the purging action of heavy alcohol consumption.  Large
amounts of alcohol cause many brain cells to perish due to oxygen
deprivation.  Through the process of natural selection, the weak and
sick brain cells will die first, leaving only the healthy cells.  This
wonderful process leaves the imbiber with a healthier, more vibrant
brain, and increases mental capacity.  Thus, the devastating effects
of cerebral atrophy are reversed, and academic performance actually
increases beyond previous levels.


pgpuARsaS1Tme.pgp
Description: PGP signature


5.4-stable vs racoon

2005-06-26 Thread Géczi Szabolcs

hi there,

after updating my freebsd to 5.4-stable, i can't make my racoon work as 
before.


i get this error message:

2005-06-26 21:01:24: ERROR: pfkey.c:2394:pk_checkalg(): Must get 
supported algorithms list first.
2005-06-26 21:01:24: ERROR: cftoken.l:494:yyerror(): 
/usr/local/etc/racoon/racoon.conf:156: ; algorithm 3DES not supported


yes, i have ipsec in kernel:

IPsec: Initialized Security Association Processing.

what shall I do?

thx

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


Perl 5.8.6 to 5.8.7 upgrade fails IPC tests

2005-06-26 Thread Louis LeBlanc
I'm having a little trouble with my perl upgrade from 5.8.6 to 5.8.7.

The build goes ok, but when I run 'make test' I get two failures.

Both appear to be in the IPC code.  When running the failed tests by
hand, I get the following:

# ./perl ../ext/IPC/SysV/t/sem.t 
1..10
semget: 28 No space left on device
not ok 10
# ./perl ../ext/IPC/SysV/t/ipcsysv.t 
1..16
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
semget: No space left on device

I don't understand the error message.

Running all tests in the harness results as follows:

Failed Test Stat Wstat Total Fail  Failed  List of Failed
---
../ext/IPC/SysV/t/ipcsysv.t  255 6528016   20 125.00%  7-16
../ext/IPC/SysV/t/sem.t   28  716810   10 100.00%  1-10
 (1 subtest UNEXPECTEDLY SUCCEEDED), 53 tests and 212 subtests skipped.
Failed 2/944 test scripts, 99.79% okay. 20/100430 subtests failed, 99.98% okay.

I have read through the 'make test' section in the INSTALL file, and I
have set the LC_ALL environment variable, but as I expected that
doesn't affect these particular tests.

Any ideas?

TIA
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

share, n.:
  To give in, endure humiliation.


pgpkwPRnMqqOa.pgp
Description: PGP signature


Re: firewall on FreeBSD

2005-06-26 Thread N.J. Thomas
* Paul Schmehl [EMAIL PROTECTED] [2005-06-24 12:58:51 -0500]:
 I've been using pf for a few years now, and I've never had problems
 understanding the syntax or how it works (but I also never do NAT, so
 that might be the reason it seems easy to me.)

Yes, pf is great, but doing NAT with pf is also just as easy to
understand. It depends on what you are doing, but for most people using
NAT is as easy turning on ip forwarding via sysctl and adding a single
line to your pf.conf configuration file (nat on $ext_if...).

Thomas

-- 
N.J. Thomas
[EMAIL PROTECTED]
Etiamsi occiderit me, in ipso sperabo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


make builworld fails owing to libstdc++ problems

2005-06-26 Thread Vittorio De Martino
uname -a
FreeBSD fbsd.grtn 5.4-RELEASE-p2 FreeBSD 5.4-RELEASE-p2 #0: Sat Jun 25 
17:40:47 CEST 2005 


I have the following in 
in make.conf
CPUTYPE=p4
CFLAGS= -O2 -pipe -funroll-loops
COPTFLAGS= -O2 -pipe -funroll-loops

in stable-supfile:
*default release=cvs tag=RELENG_5_4
in ports-supfile:
default release=cvs tag=.

I've just run (I've been using 5.4 since the very beginning and updated it 
every month roughly)

# 1.  `cd /usr/src'       (or to the directory containing your source tree).
# 2.  `make update'
# 3.  `make buildworld'

BUT..

x_handler.cc 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/guard.cc 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/new_handler.cc 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/new_op.cc 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/new_opnt.cc 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/new_opv.cc 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/new_opvnt.cc 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/pure.cc 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/tinfo.cc 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/tinfo2.cc 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/vec.cc 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/vterminate.cc
In file included 
from 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_alloc.cc:37:
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
 
unwind.h: No such file or directory
In file included 
from 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_aux_runtime.cc:34:
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
 
unwind.h: No such file or directory
In file included 
from 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_catch.cc:32:
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
 
unwind.h: No such file or directory
In file included 
from 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_exception.cc:34:
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
 
unwind.h: No such file or directory
In file included 
from 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_globals.cc:33:
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
 
unwind.h: No such file or directory
In file included 
from 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_personality.cc:34:
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
 
unwind.h: No such file or directory
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_personality.cc:38:23:
 
unwind-pe.h: No such file or directory
In file included 
from 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_term_handler.cc:30:
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
 
unwind.h: No such file or directory
In file included 
from 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_terminate.cc:34:
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
 
unwind.h: No such file or directory
In file included 
from 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_throw.cc:32:
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
 
unwind.h: No such file or directory
In file included 
from 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_type.cc:32:
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
 
unwind.h: No such file or directory
In file included 
from 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_unex_handler.cc:30:
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
 
unwind.h: No such file or directory
In file included 
from /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/pure.cc:31:
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
 
unwind.h: No such file or directory
In file included 
from /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/vec.cc:37:
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
 
unwind.h: No such file or directory
mkdep: compile failed
*** Error code 1

Stop in /usr/src/gnu/lib/libstdc++.
*** Error code 1

Stop in /usr/src/gnu/lib.
*** Error code 1

What should I do?

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


Re: Perl 5.8.6 to 5.8.7 upgrade fails IPC tests

2005-06-26 Thread [EMAIL PROTECTED]
On Sun, 26 Jun 2005 15:17:06 -0400
Louis LeBlanc [EMAIL PROTECTED] wrote:

 I'm having a little trouble with my perl upgrade from 5.8.6 to 5.8.7.
-- cut --
 ok 5
 ok 6
 semget: No space left on device

you need to make disc-space, one idea is to run portsclean -C or to make
some more space in /usr/home

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


Re: Best hardware to mirror IDE drives under FreeBSD?

2005-06-26 Thread Brett Glass
At 12:39 PM 6/26/2005, Mike Maltese wrote:
  
Brett Glass wrote:
I need to set up a FreeBSD server with two or more sets of
mirrored drives. What is the best controller to use for this
purpose? Note that I don't need striping or other RAID
functions -- just mirroring, hopefully with hot swap capability.
A system that could re-mirror a replacement drive with minimal
impact on performance would be ideal.

The 3ware 7000 series cards work great. Not sure about hot swap with IDE 
though. I'd go with a 8000 series card and SATA drives for that.

I have heard (though I have no direct experience with it) that the 3Ware
controllers bog the system down terribly when re-mirroring. Also, these
controllers are probably optimized for RAID 5 rather than simple mirroring.
Do you know if Promise or Adaptec has something that just mirrors?

--Brett

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


Re: Best hardware to mirror IDE drives under FreeBSD?

2005-06-26 Thread Björn König

Brett Glass wrote:


I need to set up a FreeBSD server with two or more sets of
mirrored drives. What is the best controller to use for this
purpose? Note that I don't need striping or other RAID
functions -- just mirroring, hopefully with hot swap capability.
A system that could re-mirror a replacement drive with minimal
impact on performance would be ideal.


You don't need an additional controller necessarily, because you can set 
up a RAID 1 with two single ATA hard disks. You'll find a small how-to 
at [1]. Even most cheap ATA chipsets have hot-swap capabilities.


[1] http://people.freebsd.org/~rse/mirror/

I have good experiences with SATA PCI controllers from Highpoint.

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


Re: Perl 5.8.6 to 5.8.7 upgrade fails IPC tests

2005-06-26 Thread Louis LeBlanc
On 06/26/05 10:39 PM, [EMAIL PROTECTED] sat at the `puter and typed:
 On Sun, 26 Jun 2005 15:17:06 -0400
 Louis LeBlanc [EMAIL PROTECTED] wrote:
 
  I'm having a little trouble with my perl upgrade from 5.8.6 to 5.8.7.
 -- cut --
  ok 5
  ok 6
  semget: No space left on device
 
 you need to make disc-space, one idea is to run portsclean -C or to make
 some more space in /usr/home

That would be the obvious cause, but not so:

$ df -k
Filesystem  1K-blocks UsedAvail Capacity  Mounted on
/dev/ad4s1a25367857338   17604625%/
devfs   110   100%/dev
procfs  440   100%/proc
/dev/ad4s1g  60931274  7479698 4857707613%/home
/dev/ad4s1h  55608264 11092412 4006719222%/opt
/dev/ad4s1e   1012974  144   931794 0%/tmp
/dev/ad4s1d  30462636  7680094 2034553227%/usr
/dev/ad4s1f   1012974   137608   79433015%/var
devfs   110   100%/var/named/dev


I have plenty of space except on the virtual filesystems.  Shoulda
mentioned this in my OP.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Rule of Feline Frustration:
  When your cat has fallen asleep on your lap and looks utterly content
  and adorable, you will suddenly have to go to the bathroom.


pgpysQblOoNwT.pgp
Description: PGP signature


Re: firewall on FreeBSD

2005-06-26 Thread Alex Zbyslaw

Giorgos Keramidas wrote:


On 2005-06-26 00:40, Alex Zbyslaw [EMAIL PROTECTED] wrote:
 


Paul Schmehl wrote:
   


pf on freebsd does support the quick keyword.  The default
firewall, ipfw, does not.
 


This makes no sense to me.  The two firewalls work very differently.

[...]


You describe very nicely the way rules are matched by two of the three
different firewalls available on FreeBSD.  The description, being very
correct, *does* make sense.

Why do you say that ``This makes no sense to you''
 

Maybe I'm misreading something, or taking it out of context, but the 
statement ipfw does not support the quick keyword makes no sense to 
me.  For me, it implies that somehow ipfw could (or even should) support 
the quick keyword, and that is nonsensical.  The way ipfw rules work 
there is not only no need to support a quick keyword, but no point in 
supporting one because all relevant matches are already quick, by 
definition.


Maybe I'm being overly pedantic, but if I had stumbled across this 
message in an archive search, and knew nothing about FreeBSD firewalls, 
I could easily take it to mean that ipfw was lacking a feature with 
respect to pf when, in fact, it wasn't.  (There may be plenty of other 
reasons for picking one firewall or the other, but the lack of a quick 
keyword in ipfw isn't one of them).


Am *I* making any more sense, now?

--Alex

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


Re: Best hardware to mirror IDE drives under FreeBSD?

2005-06-26 Thread Brett Glass
At 02:53 PM 6/26/2005, Björn König wrote:

You don't need an additional controller necessarily, because you can set up a 
RAID 1 with two single ATA hard disks. You'll find a small how-to at [1]. Even 
most cheap ATA chipsets have hot-swap capabilities.

[1] http://people.freebsd.org/~rse/mirror/

I have good experiences with SATA PCI controllers from Highpoint.

Interesting. We are not using FreeBSD 5.anything in production, because
it seems as if 5-STABLE is only now reaching the level of stability we
have come to expect from FreeBSD. (It looks as if we might be able to stop
using 4-STABLE when 6.0-RELEASE or 6.1-RELEASE comes out, so long as the
TCP/IP stack is re-optimized and disk performance improves by then.) So,
we don't have the ability to use anything that's based on the GEOM subsystem.

Nonetheless, the Web page is intriguing. Will the GEOM RAID subsystem really 
allow the machine to run and/or boot from either drive? It looks as if the 
machine is instructed to do different stages of the boot from different 
drives, so I'm concerned that if either drive fails a reboot might fail.

The ata(4) man page mentions support for RAID 1 on Promise and Highpoint 
(Adaptec?) RAID controllers. These tend to be less expensive than brands 
like 3Ware (which I'd use for RAID5 but seems like overkill for RAID 1).
Have folks had good experience with these? Will they work on 4-STABLE?

--Brett

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


Re: Best hardware to mirror IDE drives under FreeBSD?

2005-06-26 Thread Mike Maltese

Brett Glass wrote:

I have heard (though I have no direct experience with it) that the 3Ware
controllers bog the system down terribly when re-mirroring. Also, these
controllers are probably optimized for RAID 5 rather than simple mirroring.
Do you know if Promise or Adaptec has something that just mirrors?


I've actually had very good luck with both the 7006-2 and 8006-2, both 
of which only do RAID 1 and 0. I've only had to rebuild once with the 
7006, and I didn't notice a performance hit during the rebuild process.


The main reason I recommend and use 3ware over Adaptec is the excellent 
driver support and the administration utilities that are available (both 
CLI and web-based).


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


Re: Perl 5.8.6 to 5.8.7 upgrade fails IPC tests

2005-06-26 Thread Mikko Työläjärvi

On Sun, 26 Jun 2005, Louis LeBlanc wrote:


On 06/26/05 10:39 PM, [EMAIL PROTECTED] sat at the `puter and typed:

On Sun, 26 Jun 2005 15:17:06 -0400
Louis LeBlanc [EMAIL PROTECTED] wrote:


I'm having a little trouble with my perl upgrade from 5.8.6 to 5.8.7.

-- cut --

ok 5
ok 6
semget: No space left on device


you need to make disc-space, one idea is to run portsclean -C or to make
some more space in /usr/home


That would be the obvious cause, but not so:


[...]

Indeed. Disk space most likely has nothing to do with it.

The semget(2) call returns ENOSPC when unable to allocate semaphores,
due to hitting one of the many SYSV IPC limitations. Some things to
look for:

 - You need to have SYSVSEM in your kernel, or sysvsem.ko loaded.

 - Check semaphore limits with ipcs -S

 - Check current semaphore usage with ipcs -s

 - Figure out what limit is being hit and do something about it :-)

   Some of the values can be tweaked at run-time, with
   sysctl kern.ipc.semxxx=value, others have to be set at boot
   time (in /boot/loader.conf), or compiled into the kernel.

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


Re: FireFox is beeping at me! a question

2005-06-26 Thread Alex Zbyslaw

Chris O'Dell wrote:


here's the issue i'm having.  i just installed a new video card and
firefox has decided to start making weird beeping and almost hissing
noises when i have an audio application running.  for example, i use
winamp and firefox with tabbed browsing and whenever i select another
tab, it makes an annoying beep.  do you have any suggestions and can
you explain what you originally wrote?!?  thanks for your help
 

If you just installed a new video card without changing Firefox in any 
way, then I think the problem is not related to Firefox, but to your 
hardware.  Perhaps the video card interferes with the audio card in some 
way.  Someone might be able to help you with that if you can say what 
the video and audio cards are.  Especially your comment about hissing 
makes this sound like something audio-card related.  Can you try any 
other applications which use your audio card?  Play an audio CD, for 
example?


[Actually, I'm only *sure* this is true for Mozilla, but given how 
closely related it is to Firefox, I expect this to be true for it as well].
As to my original post.  If you make Firefox from a port, it asks you 
some questions about options.  If you deliberately or accidentally (easy 
to do) select the Debugging option, then Firefox will beep at you a 
lot.  It beeps every time it comes across a supposed error, and it 
seems to find one of those in just about everything you do.  This was 
how it was for me with Mozilla under 4.11, when I actually did want to 
see debugging information.  You can check if this is your problem by 
looking in the file /var/db/ports/firefox/options.  If it contains the line


   WITHOUT_DEBUG=false

or

   WITH_DEBUG=true

then this is why Firefox is beeping (not sure which line it would be, 
but probably the latter).  You can fix this by removing the file and 
reinstalling Firefox being careful not to select the debugging option.  
If you use portupgrade, you can do that with


   portupgrade -f www/firefox

However, unless you installed or upgraded Firefox *after* you changed 
the video card, then I don't think this is the answer you are looking for.


Hope that helps,

--Alex

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


Pthread Problem building clamav-0.86.1

2005-06-26 Thread bsd

Hello,

I have built on my test machine the latest version of clamav and I am  
facing a pthread build problem.


My system is FreeBSD 5.2.1 //

I ain't no C programmer (unfortunately) so any help will be welcome.

Another question is how can I get back to the previous version that  
was installed (and working) on the system ?



Sincerly yours;



===  Building for clamav-0.86.1
make  all-recursive
Making all in libclamav
Making all in clamscan
/bin/sh /usr/local/bin/libtool15 --mode=link cc  -O -pipe - 
mcpu=pentiumpro   -L/usr/local/lib  -lc_r -lldap -o clamscan   
output.o getopt.o  memory.o cfgparser.o misc.o  clamscan.o options.o  
others.o  manager.o treewalk.o  ../libclamav/libclamav.la
cc -O -pipe -mcpu=pentiumpro -o .libs/clamscan output.o getopt.o  
memory.o cfgparser.o misc.o clamscan.o options.o others.o manager.o  
treewalk.o  -L/usr/local/lib ../libclamav/.libs/libclamav.so -lldap - 
lbz2 -lgmp -lcurl -lssl -lcrypto -lz -Wl,--rpath -Wl,/usr/local/lib
../libclamav/.libs/libclamav.so: undefined reference to  
`pthread_cleanup_pop'

../libclamav/.libs/libclamav.so: undefined reference to `pthread_create'
../libclamav/.libs/libclamav.so: undefined reference to  
`pthread_cleanup_push'

../libclamav/.libs/libclamav.so: undefined reference to `pthread_join'
*** Error code 1

Stop in /usr/ports/security/clamav/work/clamav-0.86.1/clamscan.
*** Error code 1

Stop in /usr/ports/security/clamav/work/clamav-0.86.1.
*** Error code 1

Stop in /usr/ports/security/clamav/work/clamav-0.86.1.
*** Error code 1

Stop in /usr/ports/security/clamav.
*** Error code 1

Stop in /usr/ports/security/clamav.



«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz

«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§




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


Re: PartitionMagic question

2005-06-26 Thread Iavor Raytchev
Though I still wonder why after FreeBSD has touched the partitions 
table, PartitionMagic finds errors outside the *nix territory.


It is somehow irritating to ignore errors all the time. I can see 
that FreeBSD is made on first place to live alone, but it would be 
nicer if it could live together with other OS in peace.


   Yeah, but if everything works, why mess with it? PM is overly-verbose 
in this case and has a tendency to misunderstand what's going on.
   NOTE: Do not try what I have down below if it wants to 'play' with 
any FreeBSD partitions! Also, if you _don't_ have the latest version of 
PM and/or are running this on XP SP2, you may completely bork some of 
your Windows partitions so please consider doing what I suggest with 
extreme caution!
   If you really want to see what happens, what I suggest-before trying 
this-is to make a bootdisk of FreeBSD and the PM bootdisk, then test it 
by confirming and rebooting. Most likely you'll have an issue booting 
into one OS or another, but if that's true you can boot to your XP CD 
and just reload the ntloader into the MBR and you'll be fine. I'm just 
suggesting making FreeBSD/PM bootdisks just in case.

-Garrett


Hm... This is somehow too shadowy and time intensive (to reproduce the 
errors I need to reinstall FreeBSD).


Hey Garrett, thank you for exploring the issue with me!

I'll leave it as it is for now (with the errors fixed by PM) and 
just use it to see how is it going. Both OS'es boot fine and it starts 
to feel as a waste of time to dig deeper into the it. Perhaps in future 
there will be bits and pieces that will assemble themselves into a 
proper answer.


Thanks a lot again, really :)

Iavor

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


Re: Gateway ALR 9200

2005-06-26 Thread Stefan Bethke

Am 26.06.2005 um 20:33 schrieb Brian Duke:




I picked up one of these and would like to run FreeBSD this beast.




Please familiarize yourself with the FreeBSD mailing list etiquette.  
See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ 
eresources.html#ERESOURCES-MAIL


While people on this list might or might not have ideas about what to  
try, -questions or -stable is the proper forum.


If you have specific experiences with FreeBSD on this hardware, I'm  
sure people on -smp would love to hear about it.


At any rate, people who are able to help you will probably require a  
more detailed failure description.



Stefan







The BTX loader fails right after the initial setup screen. I press any
option except install prompt and it fails.



I have :

Gateway ALR 9200

4 processor xeon 500's

1 gig ram

1 adaptec 3200S scsi card running modified raid 5

6 drives. 2 sets of striped 3 and mirrored.



I am having a difficult time finding anything that will load in  
this box.


I prefer FreeBSD if possible. I've googled for a couple days and  
didn't find

much help.

Can someone help me get past this first hurdle?



The OS I am loading is currently FreeBSD 5.3

I went to adaptec and found some information about FreeBSD 4.11 and  
tried

that version as well.

I can get Solaris 10 to load but it fails to find the raid as a  
valid drive.


Fedora Core 2 also boots and says it can't find a drive.

The Raid boots up fine and builds with no faults.

I have an adaptec driver for FeeBSD but I need to install enough OS to
pkg_add the file.



When I install a little 850 meg IDE drive and set that to master,  
Still the

btx loader dies. Here is what the final screen says:



/boot/kernel/acpi.ko text=0x3fbfc data=0x1c04+0x112c
syms=[0x4+0x72f0+0x4+0x97c7]

/

int=000d  err=  efl=00030002  eip=5755

eax=0001  ebx=0008  ecx=39ff  edx=0082

esi=579c  edi=e873  edi=03ba  esp=037e

cs=f000 ds=0040 es=f000 fs=9dc0 gs=f000 ss=9c46

cs:eip=2e 0f 01 14 0f 20 c0 0c-01 0f 22 c0 eb 00 8e db

   8e c3 8e e3 8e eb 0f 20-c0 24 fc 0f 22 c0 ea 78

ss:esp=11 64 08 00 01 00 00 00-00 f0 c0 9d 02 02 51 e8

   05 00 c2 ee 05 00 00 f0-00 00 1a 7d c4 5e dd e6

BTX Halted



I think I copied all that correctly.



Has anyone got a quick idea why this fails right off?



Brian Duke

303-952-4983

Blue Incorporated.

-=-_-==--=_-=┐



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








--
Stefan Bethke [EMAIL PROTECTED]   Fon +49 170 346 0140



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


Re: Perl 5.8.6 to 5.8.7 upgrade fails IPC tests

2005-06-26 Thread Louis LeBlanc
On 06/26/05 02:32 PM, Mikko Tyljrvi sat at the `puter and typed:
 On Sun, 26 Jun 2005, Louis LeBlanc wrote:
 
  On 06/26/05 10:39 PM, [EMAIL PROTECTED] sat at the `puter and typed:
  On Sun, 26 Jun 2005 15:17:06 -0400
  Louis LeBlanc [EMAIL PROTECTED] wrote:
 
  I'm having a little trouble with my perl upgrade from 5.8.6 to 5.8.7.
  -- cut --
  ok 5
  ok 6
  semget: No space left on device
 
  you need to make disc-space, one idea is to run portsclean -C or to make
  some more space in /usr/home
 
  That would be the obvious cause, but not so:
 
 [...]
 
 Indeed. Disk space most likely has nothing to do with it.
 
 The semget(2) call returns ENOSPC when unable to allocate semaphores,
 due to hitting one of the many SYSV IPC limitations. Some things to
 look for:
 
   - You need to have SYSVSEM in your kernel, or sysvsem.ko loaded.
 
   - Check semaphore limits with ipcs -S
 
   - Check current semaphore usage with ipcs -s
 
   - Figure out what limit is being hit and do something about it :-)
 
 Some of the values can be tweaked at run-time, with
 sysctl kern.ipc.semxxx=value, others have to be set at boot
 time (in /boot/loader.conf), or compiled into the kernel.

This certainly does make sense, but I'm not sure I'm actually running
short here.  I have SYSVSEM in my kernel (as well as SYSVSHM and
SYSVMSG), and the relevant sysctls are:

kern.ipc.semmap: 30
kern.ipc.semmni: 10
kern.ipc.semmns: 60
kern.ipc.semmnu: 30
kern.ipc.semmsl: 60
kern.ipc.semopm: 100
kern.ipc.semume: 10
kern.ipc.semusz: 92
kern.ipc.semvmx: 32767
kern.ipc.semaem: 16384

root# ipcs -S
seminfo:
semmap: 30  (# of entries in semaphore map)
semmni: 10  (# of semaphore identifiers)
semmns: 60  (# of semaphores in system)
semmnu: 30  (# of undo structures in system)
semmsl: 60  (max # of semaphores per id)
semopm:100  (max # of operations per semop call)
semume: 10  (max # of undo entries per process)
semusz: 92  (size in bytes of undo structure)
semvmx:  32767  (semaphore maximum value)
semaem:  16384  (adjust on exit max value)

root# ipcs -s
Semaphores:
T ID KEYMODE   OWNERGROUP
s  655365432001 --rw---pgsqlpgsql
s  655375432002 --rw---pgsqlpgsql
s  655385432003 --rw---pgsqlpgsql


Near as I can tell, this tells me I have at least 60 semaphores
systemwide, 60 per id, 3 in use, none of which are being used by root
(which is who I am running the test as).  Shouldn't that leave 57 for
the perl tests? How many does it need to open?

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Coronation, n.:
  The ceremony of investing a sovereign with the outward and visible
  signs of his divine right to be blown skyhigh with a dynamite bomb.
-- Ambrose Bierce, The Devil's Dictionary


pgpH4gP048MAs.pgp
Description: PGP signature


Still trying to get my site up!

2005-06-26 Thread Gerard Seibert
Thanks to several individuals, I have almost gotten my Apache2 server 
working. Almost, but not quite.


My ISP blocks port 80; therefore I am using a redirect from DynDNS.org to 
redirect to an alias using port 9545.


The 'beerstud.us' redirects to 'www2.beerstud.us:9545'

From my FreeBSD box, if I type: lynx http://beerstud.us, I see the 
following message: Using http://www2.beerstud.us:9545/. The connection is 
made and the index.htm file is displayed.


However, I am unable to reach this site from any other computer. 
Eventually, the request will time out and I receive an error message 
telling me that the site is not available.


I am not sure what I am doing wrong at this point. I have posted the 
following files if anyone feels ambitious enough to look them over for me.


httpd.conf   =  http://www.seibercom.us/FreeBSD/httpd.conf

hosts   =   http://www.seibercom.us/FreeBSD/hosts

This is the output from ifconfig -a
net-card.txt=   http://www.seibercom.us/FreeBSD/net-card.txt

resolv.conf =   http://www.seibercom.us/FreeBSD/resolv.conf

The 'hosts' file has a pretty good description of my network in it. I 
double checked my router, and I believe it is configured correctly to pass 
port 9545 through.


--
Thanks!

Gerard Seibert
[EMAIL PROTECTED]


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


Re: Pthread Problem building clamav-0.86.1

2005-06-26 Thread Craig Kleski
On Sunday 26 June 2005 09:45 pm, bsd wrote:
 Hello,

 I have built on my test machine the latest version of clamav and I am
 facing a pthread build problem.

 My system is FreeBSD 5.2.1 //

 I ain't no C programmer (unfortunately) so any help will be welcome.

 Another question is how can I get back to the previous version that
 was installed (and working) on the system ?


 Sincerly yours;



 ===  Building for clamav-0.86.1
 make  all-recursive
 Making all in libclamav
 Making all in clamscan
 /bin/sh /usr/local/bin/libtool15 --mode=link cc  -O -pipe -
 mcpu=pentiumpro   -L/usr/local/lib  -lc_r -lldap -o clamscan
 output.o getopt.o  memory.o cfgparser.o misc.o  clamscan.o options.o
 others.o  manager.o treewalk.o  ../libclamav/libclamav.la
 cc -O -pipe -mcpu=pentiumpro -o .libs/clamscan output.o getopt.o
 memory.o cfgparser.o misc.o clamscan.o options.o others.o manager.o
 treewalk.o  -L/usr/local/lib ../libclamav/.libs/libclamav.so -lldap -
 lbz2 -lgmp -lcurl -lssl -lcrypto -lz -Wl,--rpath -Wl,/usr/local/lib
 ../libclamav/.libs/libclamav.so: undefined reference to
 `pthread_cleanup_pop'
 ../libclamav/.libs/libclamav.so: undefined reference to
 `pthread_create' ../libclamav/.libs/libclamav.so: undefined reference
 to
 `pthread_cleanup_push'
 ../libclamav/.libs/libclamav.so: undefined reference to
 `pthread_join' *** Error code 1

 Stop in /usr/ports/security/clamav/work/clamav-0.86.1/clamscan.
 *** Error code 1

 Stop in /usr/ports/security/clamav/work/clamav-0.86.1.
 *** Error code 1

 Stop in /usr/ports/security/clamav/work/clamav-0.86.1.
 *** Error code 1

 Stop in /usr/ports/security/clamav.
 *** Error code 1

 Stop in /usr/ports/security/clamav.


 
 «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§
 
 Gregober --- PGP ID -- 0x1BA3C2FD
 bsd @at@ todoo.biz
 
 «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§
 



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

Possible solution: alter the Makefile LDFLAGS by adding -lpthread  
Then try the build again.

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


Re: Perl 5.8.6 to 5.8.7 upgrade fails IPC tests

2005-06-26 Thread Mikko Työläjärvi

On Sun, 26 Jun 2005, Louis LeBlanc wrote:


On 06/26/05 02:32 PM, Mikko Tyljrvi sat at the `puter and typed:

On Sun, 26 Jun 2005, Louis LeBlanc wrote:


On 06/26/05 10:39 PM, [EMAIL PROTECTED] sat at the `puter and typed:

On Sun, 26 Jun 2005 15:17:06 -0400
Louis LeBlanc [EMAIL PROTECTED] wrote:


I'm having a little trouble with my perl upgrade from 5.8.6 to 5.8.7.

-- cut --

ok 5
ok 6
semget: No space left on device


you need to make disc-space, one idea is to run portsclean -C or to make
some more space in /usr/home


That would be the obvious cause, but not so:


[...]

Indeed. Disk space most likely has nothing to do with it.

The semget(2) call returns ENOSPC when unable to allocate semaphores,
due to hitting one of the many SYSV IPC limitations. Some things to
look for:

  - You need to have SYSVSEM in your kernel, or sysvsem.ko loaded.

  - Check semaphore limits with ipcs -S

  - Check current semaphore usage with ipcs -s

  - Figure out what limit is being hit and do something about it :-)

Some of the values can be tweaked at run-time, with
sysctl kern.ipc.semxxx=value, others have to be set at boot
time (in /boot/loader.conf), or compiled into the kernel.


This certainly does make sense, but I'm not sure I'm actually running
short here.  I have SYSVSEM in my kernel (as well as SYSVSHM and
SYSVMSG), and the relevant sysctls are:

kern.ipc.semmap: 30
kern.ipc.semmni: 10
kern.ipc.semmns: 60
kern.ipc.semmnu: 30
kern.ipc.semmsl: 60
kern.ipc.semopm: 100
kern.ipc.semume: 10
kern.ipc.semusz: 92
kern.ipc.semvmx: 32767
kern.ipc.semaem: 16384


Ok, looks like the default settings, which are often too low for
anything that makes heavy use of SYSV IPCs...



root# ipcs -S
seminfo:
   semmap: 30  (# of entries in semaphore map)
   semmni: 10  (# of semaphore identifiers)
   semmns: 60  (# of semaphores in system)
   semmnu: 30  (# of undo structures in system)
   semmsl: 60  (max # of semaphores per id)
   semopm:100  (max # of operations per semop call)
   semume: 10  (max # of undo entries per process)
   semusz: 92  (size in bytes of undo structure)
   semvmx:  32767  (semaphore maximum value)
   semaem:  16384  (adjust on exit max value)

root# ipcs -s
Semaphores:
T ID KEYMODE   OWNERGROUP
s  655365432001 --rw---pgsqlpgsql
s  655375432002 --rw---pgsqlpgsql
s  655385432003 --rw---pgsqlpgsql


... such as databases :-)

Have a look at /usr/ports/databases/postgresql80-server/pkg-message-server
for some sample settings.


Near as I can tell, this tells me I have at least 60 semaphores
systemwide, 60 per id, 3 in use, none of which are being used by root
(which is who I am running the test as).  Shouldn't that leave 57 for
the perl tests?


Not necessarily.  The SYSV IPCs is a particularly vicious piece of
poor engineering.

Semaphores come in sets containing one or more semaphore.  With your
settings you can have at most 10 sets, and a total of at most 60
semaphores, and at most 60 per set, and at most 30... something else.
Also, at most 30 locks can be released in case a process unexpectedly
exits.

Easy, right?

Looks like you'll have to use ipcs -sa to see the NSEMS column,
which should tell you how many semaphores are in use.


How many does it need to open?


No idea.  Read the code or just raise the retarded limits by a lot.
Or try stopping postgres while running the tests.

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


Anonymous WU-FTPD

2005-06-26 Thread Douglas A. Maske
I have wu-ftpd setup for anonymous access and my only problem is that I 
can't list the files in any directory, but when I cd I can cd to all 
directories and if I figure out the file names I can download them.


Any ideas?

FreeBSD 5.3 and latest wu-ftpd.

Thanks,
Doug

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


Re: firewall on FreeBSD

2005-06-26 Thread Giorgos Keramidas
On 2005-06-26 22:15, Alex Zbyslaw [EMAIL PROTECTED] wrote:
 Giorgos Keramidas wrote:
 On 2005-06-26 00:40, Alex Zbyslaw [EMAIL PROTECTED] wrote:
 pf on freebsd does support the quick keyword.  The default
 firewall, ipfw, does not.
 
 This makes no sense to me.  The two firewalls work very differently.
 [...]
 
 You describe very nicely the way rules are matched by two of the three
 different firewalls available on FreeBSD.  The description, being very
 correct, *does* make sense.
 
 Why do you say that ``This makes no sense to you''

 Maybe I'm misreading something, or taking it out of context, but the
 statement ipfw does not support the quick keyword makes no sense to
 me. [...]  Am *I* making any more sense, now?

Yes, thank you :)

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


Re: Still trying to get my site up!

2005-06-26 Thread Sarath ER

Gerard Seibert wrote:

Thanks to several individuals, I have almost gotten my Apache2 server 
working. Almost, but not quite.


My ISP blocks port 80; therefore I am using a redirect from DynDNS.org 
to redirect to an alias using port 9545.


The 'beerstud.us' redirects to 'www2.beerstud.us:9545'

From my FreeBSD box, if I type: lynx http://beerstud.us, I see the 


following message: Using http://www2.beerstud.us:9545/. The connection 
is made and the index.htm file is displayed.


However, I am unable to reach this site from any other computer. 
Eventually, the request will time out and I receive an error message 
telling me that the site is not available.


I am not sure what I am doing wrong at this point. I have posted the 
following files if anyone feels ambitious enough to look them over for 
me.


httpd.conf =http://www.seibercom.us/FreeBSD/httpd.conf

hosts=http://www.seibercom.us/FreeBSD/hosts

This is the output from ifconfig -a
net-card.txt=http://www.seibercom.us/FreeBSD/net-card.txt

resolv.conf=http://www.seibercom.us/FreeBSD/resolv.conf

The 'hosts' file has a pretty good description of my network in it. I 
double checked my router, and I believe it is configured correctly to 
pass port 9545 through.



Hi,

Just checked www2.beerstud.us:9545, the connection fails.. Are you sure
that you have enabled port forwarding in the router?

- Sarath

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


Re: Best hardware to mirror IDE drives under FreeBSD?

2005-06-26 Thread Nikolas Britton
On 6/26/05, Brett Glass [EMAIL PROTECTED] wrote:
 I need to set up a FreeBSD server with two or more sets of
 mirrored drives. What is the best controller to use for this
 purpose? Note that I don't need striping or other RAID
 functions -- just mirroring, hopefully with hot swap capability.
 A system that could re-mirror a replacement drive with minimal
 impact on performance would be ideal.

Highpoint RocketRAID:
1640:   4xSATA,PCI 32bit, 33MHz
1810A: 4xSATA,PCI-X 64bit, 66/100/133Mhz
1820A: 8xSATA,PCI-X 64bit, 66/100/133Mhz
2220:   8xSATA-II,  PCI-X 64bit, 66/100/133Mhz

With the exception of the 2220 all of the other cards do RAID 5 in
software. For your needs just about any RAID card from anyone will do
what you want. The main reason I recommended highpoint's raid cards
this because the company fully supports FreeBSD 4.x / 5.x with drivers
and CLI/GUI management programs.

For you hot-swapping needs look here for SATA cages:
http://www.newegg.com/Product/ProductList.asp?Submit=GORange=1bop=anddescription=cagesrchInDesc=SATA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: RAID Cards

2005-06-26 Thread Kent Ketell
On Sun, Jun 26, 2005 at 11:38:42AM -0500, Bob Bomar wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 at Highpoint cards for this machine.  Anybody have any
 opinions on RAID cards?

I have had great results with the Adaptec 2200s controllers.  Just remember to 
not enable the aacp device.

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


Re: Still trying to get my site up!

2005-06-26 Thread Chuck Robey
Sarath ER wrote:

 Gerard Seibert wrote:

 Thanks to several individuals, I have almost gotten my Apache2 server
 working. Almost, but not quite.

 My ISP blocks port 80; therefore I am using a redirect from
 DynDNS.org to redirect to an alias using port 9545.

 The 'beerstud.us' redirects to 'www2.beerstud.us:9545'

 From my FreeBSD box, if I type: lynx http://beerstud.us, I see the 


 following message: Using http://www2.beerstud.us:9545/. The
 connection is made and the index.htm file is displayed.

 However, I am unable to reach this site from any other computer.
 Eventually, the request will time out and I receive an error message
 telling me that the site is not available.

 I am not sure what I am doing wrong at this point. I have posted the
 following files if anyone feels ambitious enough to look them over
 for me.

Sarath, I will see if I can rephrase some of this, and at least help
*MY* understanding.  If your ISP is blocking port 80, then the fix
absolutely must fall into one of two categories: either you can find out
how your ISP is blocking it, and do a workaround of that, or you must
have someone else perform a service for you, having the required URL
changed to be the correct base port (not 80, and I would myself choose
8080, if your ISP didn't block that also).  Nice thing about that, your
friendly apache-friend isn't going to lose any bigtime bandwidth,
because it's still being served from your machine, your friend is merely
serving to redirect the port, not actually
serve it.

Now, I will make the assumption here that the above paragraph is mostly
right.  You could use ethereal very simply to check and make sure of
it.  One screwup would be to have the redirect be close, but not
actually what it should be, and it's really, really easy to read and
check this.  I'd bet it as either a very likely thing to be, OR while
you do it, you are pretty likely to spot the real problem.  Go give it a
try.  Ethereal is such a great tool that you can't really lose here,
learning how to use it, you're looking at a win-win situation.


 httpd.conf =http://www.seibercom.us/FreeBSD/httpd.conf

 hosts=http://www.seibercom.us/FreeBSD/hosts

 This is the output from ifconfig -a
 net-card.txt=http://www.seibercom.us/FreeBSD/net-card.txt

 resolv.conf=http://www.seibercom.us/FreeBSD/resolv.conf

 The 'hosts' file has a pretty good description of my network in it. I
 double checked my router, and I believe it is configured correctly to
 pass port 9545 through.

 Hi,

 Just checked www2.beerstud.us:9545, the connection fails.. Are you sure
 that you have enabled port forwarding in the router?

 - Sarath

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


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


RE: Still trying to get my site up!

2005-06-26 Thread John Brooks
do you have any kind of firewall? from the outside world port 9545
is closed. so either it is being blocked, you are not actually
listening on it, or there is no port forwarding on your gateway.

run this on the box itself and post the output:
  netstat -na | grep LISTEN

try to connect from another host on your network:
  http://192.168.0.4:9545

then try:
  http://192.168.0.4:80

--
John Brooks
[EMAIL PROTECTED]

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Gerard Seibert
 Sent: Sunday, June 26, 2005 6:07 PM
 To: freebsd-questions
 Subject: Still trying to get my site up!


 Thanks to several individuals, I have almost gotten my Apache2 server
 working. Almost, but not quite.

 My ISP blocks port 80; therefore I am using a redirect from DynDNS.org to
 redirect to an alias using port 9545.

 The 'beerstud.us' redirects to 'www2.beerstud.us:9545'

 From my FreeBSD box, if I type: lynx http://beerstud.us, I see the
 following message: Using http://www2.beerstud.us:9545/. The connection is
 made and the index.htm file is displayed.

 However, I am unable to reach this site from any other computer.
 Eventually, the request will time out and I receive an error message
 telling me that the site is not available.

 I am not sure what I am doing wrong at this point. I have posted the
 following files if anyone feels ambitious enough to look them over for me.

 httpd.conf =  http://www.seibercom.us/FreeBSD/httpd.conf

 hosts =   http://www.seibercom.us/FreeBSD/hosts

 This is the output from ifconfig -a
 net-card.txt  =   http://www.seibercom.us/FreeBSD/net-card.txt

 resolv.conf   =   http://www.seibercom.us/FreeBSD/resolv.conf

 The 'hosts' file has a pretty good description of my network in it. I
 double checked my router, and I believe it is configured
 correctly to pass
 port 9545 through.

 --
 Thanks!

 Gerard Seibert
 [EMAIL PROTECTED]


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


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


Re: RAID Cards

2005-06-26 Thread Nikolas Britton
On 6/26/05, Bob Bomar [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 I am looking to build a new file server.  I have used
 Promise cards exclusivly in the past, but I am looking
 at Highpoint cards for this machine.  Anybody have any
 opinions on RAID cards?

I have no problems with my highpoint cards. See my other post from a
few minutes ago under the thread Best hardware to mirror IDE drives
under FreeBSD?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: RAID Cards

2005-06-26 Thread Bruce Burden
On Sun, Jun 26, 2005 at 12:21:02PM -0600, [EMAIL PROTECTED] wrote:
 I can say my experience with adaptec 3200s cards has not been the most
 fruitful. It's been 2 weeks now and I cannot even get my system to load past
 the initial bootup options screen. Anything but option 6 fails. The sad
 thing is I have a driver but I need to load some kind of os on the system or
 I cannot load my driver. 
 
Fails how? I was not able to boot 5.4 with my Adaptec 3210S
   installed. I believe the best I got was a hang or a panic. I finally
   got the system to behave when I added OPTION ASR_TOOLS to the kernel.

What is option 6 in the boot screen?

Bruce
-- 

  I like bad! Bruce BurdenAustin, TX.
- Thuganlitha
The Power and the Prophet
Robert Don Hughes

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


Re: Best hardware to mirror IDE drives under FreeBSD?

2005-06-26 Thread Mark Bucciarelli

On Sun, Jun 26, 2005 at 03:28:35PM -0600, Brett Glass wrote:

 Nonetheless, the Web page is intriguing. Will the GEOM RAID subsystem really
 allow the machine to run and/or boot from either drive? 

It worked for me.  I unplugged each drive and rebooted after setting up
gmirror following that howto.

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


Re: Best hardware to mirror IDE drives under FreeBSD?

2005-06-26 Thread Mark Bucciarelli

On Sun, Jun 26, 2005 at 10:53:47PM +0200, Björn König wrote:

 Even most cheap ATA chipsets have hot-swap capabilities.

I didn't know hot swap was possible with software raid!

How can I tell if the ATA chipset on my system has hot-swap capability?

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


Re: upgrading all ports

2005-06-26 Thread Nikolas Britton
On 6/25/05, Erik Nørgaard [EMAIL PROTECTED] wrote:
 
 portupgrade isn't suitable for upgrading the entire machine, even though
 you do recursive and Recursive.
 
 It is much faster to deinstall everything and then installing from
 ground up. And it is far more secure in not screwing up.
 
 I recommend writing down a list of apps you need to be happy, deinstall
 everything and then install those apps. Dependencies comes along fine,
 and then whatever remains can be installed as needed.
 
 Anyway, the worst that can happen is that you will screw up some user
 app's - ok this is bad - but your system won't require a reinstall :-)
 
 Cheers, Erik

With Gnome, KDE, etc. I completely agree with you, portupgrade always
manages fudge something up.

What are some easy ways to do this... lets say for example I updated
to gnome 2.12 what would be an easy (automated) way to remove all of
Gnome 2.10 and all of my GTK apps without removing KDE and my QT apps?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD mini-ITX

2005-06-26 Thread Nikolas Britton
On 6/22/05, Benjamin Keating [EMAIL PROTECTED] wrote:
 I've been eyeing up these mini-ITX boards - would like to make a quite
 little file server. Does anyone here run a mini-ITX board (what
 model)? Does it work out of the box? Anything not supported? I'd go
 for one of VIA's as AMD's and others are still a little new and
 pricey. Recommend a shop to purchase from (in the US)?


You sure you don't want to stick with Micro and FlexATX form facters?
They are cheap, plentifully, and come in any configuration you can
think of compared to mini-ITX
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Best hardware to mirror IDE drives under FreeBSD?

2005-06-26 Thread Nikolas Britton
On 6/26/05, Mark Bucciarelli [EMAIL PROTECTED] wrote:
 
 On Sun, Jun 26, 2005 at 10:53:47PM +0200, Björn König wrote:
 
  Even most cheap ATA chipsets have hot-swap capabilities.
 
 I didn't know hot swap was possible with software raid!
 
 How can I tell if the ATA chipset on my system has hot-swap capability?
 

It's an electrical issue not software/firmware/chipset. When you do
this you run the risk of damaging the motherboard, the drive, and/or
the power supply. There are ways you can mitigate this, for example a
real hot-swap cage etc., but like I said, the ATA bus was never
designed to do this. Short out the +12v and/or +5v  to ground on your
PSU and see what happens. Does it have a protection relay circuit?,
you better hope so! It's easier then you think to accidentally short
one of those two wires to gnd, I've done it a few times. Want to try
your luck with 40 pins?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd as the basis for something better?

2005-06-26 Thread Nikolas Britton
On 6/26/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
 hey!
 
 i'm curious about all these new operating systems,
 that all claim to be the next generation.
 
 there are many out there. plan9, hurd, eros, movitz. and many
 vaporware projects as well, such as lainos. but they all want to
 reinvent the wheel. i think this approach is wrong. instead, we
 should try to attach the wheel to its vehicle, and make sure its
 road is alright. not to mention; going the right way.

Hey don't bash plan9, they have some cool ideas and unix would not
exist if it wasn't for bell labs (ATT back then) but mainly I just
like glenda (the one in the space suit), can we change the beastie to
glenda? http://www.cs.bell-labs.com/plan9dist/glenda.html
 
 a project where real unix would meet real life, or where open
 source would meet open minds -- would have to make unix more human-
 oriented rather than machine-oriented. and in addition to bringing
 order to the chaos that was laid as the foundation for all unix
 variants decades ago, it should also deal with new ways of
 interacting with unix visually. for instance, in ways more
 convenient than x, and its conventional graphical user interfaces
 (though these won't go away any time soon).

UNIX is user friendly. It's just selective about who its friends are.
New gui tools are needed. lets bring the CLI tools to the GUI, like
pipes, redirects, etc. some of apples ideas are nice aka NeXTSTEP. Why
are we trying to emulate windows when mircosoft just steals it's
idea's from apple? lets cut the middle man out. BeOS was cool too.

 
 ofcourse we'd have to get out of the code-only rut, and try to
 incorporate more natural elements from the ground up. such as
 design, like that conceived through real life architecture etc.
 having style doesn't mean it's commercial.

what's that mean?
 
 i'm curious whether anybody would like to team up with me, to try
 and map out the ideas for how a real next generation unix would be.
 i'll soon have a pdf ready for those who are interested. in my
 humble opinion, this would be a great way for you to make bsd the
 way you've always wanted it.

I'm not a programmer so I'm not sure how I could help you.

 
 i guess that's it;

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


Re: 5.4-stable vs racoon

2005-06-26 Thread Mike Tancsa
On Sun, 26 Jun 2005 21:07:50 +0200, in sentex.lists.freebsd.questions
you wrote:

hi there,

after updating my freebsd to 5.4-stable, i can't make my racoon work as 
before.

Strange error.  I would start by recompiling racoon.  Are you using
the latest version from the ports as well ?
I am using
5.4-STABLE FreeBSD 5.4-STABLE #1: Thu Jun  2
with 20050510a using FAST_IPSEC


i get this error message:

2005-06-26 21:01:24: ERROR: pfkey.c:2394:pk_checkalg(): Must get 
supported algorithms list first.
2005-06-26 21:01:24: ERROR: cftoken.l:494:yyerror(): 
/usr/local/etc/racoon/racoon.conf:156: ; algorithm 3DES not supported

If you did upgrade racoon, is it something goofy like it insisting
3DES be written as 3des now ?

---Mike


Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.com)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Perl 5.8.6 to 5.8.7 upgrade fails IPC tests

2005-06-26 Thread Louis LeBlanc
On 06/26/05 04:50 PM, Mikko Tyljrvi sat at the `puter and typed:
  SNIP
  This certainly does make sense, but I'm not sure I'm actually running
  short here.  I have SYSVSEM in my kernel (as well as SYSVSHM and
  SYSVMSG), and the relevant sysctls are:
 
  kern.ipc.semmap: 30
  kern.ipc.semmni: 10
  kern.ipc.semmns: 60
  kern.ipc.semmnu: 30
  kern.ipc.semmsl: 60
  kern.ipc.semopm: 100
  kern.ipc.semume: 10
  kern.ipc.semusz: 92
  kern.ipc.semvmx: 32767
  kern.ipc.semaem: 16384
 
 Ok, looks like the default settings, which are often too low for
 anything that makes heavy use of SYSV IPCs...
 
 
  root# ipcs -S
  seminfo:
 semmap: 30  (# of entries in semaphore map)
 semmni: 10  (# of semaphore identifiers)
 semmns: 60  (# of semaphores in system)
 semmnu: 30  (# of undo structures in system)
 semmsl: 60  (max # of semaphores per id)
 semopm:100  (max # of operations per semop call)
 semume: 10  (max # of undo entries per process)
 semusz: 92  (size in bytes of undo structure)
 semvmx:  32767  (semaphore maximum value)
 semaem:  16384  (adjust on exit max value)
 
  root# ipcs -s
  Semaphores:
  T ID KEYMODE   OWNERGROUP
  s  655365432001 --rw---pgsqlpgsql
  s  655375432002 --rw---pgsqlpgsql
  s  655385432003 --rw---pgsqlpgsql
 
 ... such as databases :-)
 
 Have a look at /usr/ports/databases/postgresql80-server/pkg-message-server
 for some sample settings.
 
  Near as I can tell, this tells me I have at least 60 semaphores
  systemwide, 60 per id, 3 in use, none of which are being used by root
  (which is who I am running the test as).  Shouldn't that leave 57 for
  the perl tests?
 
 Not necessarily.  The SYSV IPCs is a particularly vicious piece of
 poor engineering.
 
 Semaphores come in sets containing one or more semaphore.  With your
 settings you can have at most 10 sets, and a total of at most 60
 semaphores, and at most 60 per set, and at most 30... something else.
 Also, at most 30 locks can be released in case a process unexpectedly
 exits.
 
 Easy, right?
 
 Looks like you'll have to use ipcs -sa to see the NSEMS column,
 which should tell you how many semaphores are in use.
 
  How many does it need to open?
 
 No idea.  Read the code or just raise the retarded limits by a lot.
 Or try stopping postgres while running the tests.
 
$.02,
And then some.

You called this one right on the nose.

ipcs -sa showed each of the 3 pgsql processes were using 17 semaphores
(NSEMS column) wich really did cut things down.  The
pkg-message-server file shed some light too.

I first shut down postgres, then ran the test, and everything worked
fine.  Then I added the 3 lines below to /boot/loader.conf, then
rebooted and ran the tests again with postgres still running, and
everything worked fine again.

kern.ipc.semmns=240
kern.ipc.semume=40
kern.ipc.semmnu=120

So, I suspect I have enough semaphores for awhile now:
$ ipcs -S
seminfo:
semmap: 30  (# of entries in semaphore map)
semmni: 10  (# of semaphore identifiers)
semmns:240  (# of semaphores in system)
semmnu:120  (# of undo structures in system)
semmsl: 60  (max # of semaphores per id)
semopm:100  (max # of operations per semop call)
semume: 40  (max # of undo entries per process)
semusz: 92  (size in bytes of undo structure)
semvmx:  32767  (semaphore maximum value)
semaem:  16384  (adjust on exit max value)


Thanks again.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Logg's Rebuttal to Gray's Law:
  `n+1' trivial tasks take twice as long as `n' trivial tasks.


pgpdPtgGyu8yx.pgp
Description: PGP signature


RE: Still trying to get my site up!

2005-06-26 Thread Ted Mittelstaedt


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Gerard Seibert
Sent: Sunday, June 26, 2005 4:07 PM
To: freebsd-questions
Subject: Still trying to get my site up!


Thanks to several individuals, I have almost gotten my Apache2 server
working. Almost, but not quite.

My ISP blocks port 80; therefore I am using a redirect from
DynDNS.org to
redirect to an alias using port 9545.


No, you are not.  You cannot redirect to a specific port using
the DNS system.

Currently dydns.org has beerstud.us pointing to IP address 63.208.196.110
If that is your IP address then hosts on the Internet that query
www.beerstud.us will go to port 80 on that IP address.  If that isn't
your IP number then it must be an IP address of a webhost that will
issue a HTTP redirect when it gets a query to port 80 on your beerstud.us
URL.

The 'beerstud.us' redirects to 'www2.beerstud.us:9545'

From my FreeBSD box, if I type: lynx http://beerstud.us, I see the
following message: Using http://www2.beerstud.us:9545/. The
connection is
made and the index.htm file is displayed.

However, I am unable to reach this site from any other computer.
Eventually, the request will time out and I receive an error message
telling me that the site is not available.

I am not sure what I am doing wrong at this point.

You need to contact the support department of your ISP.  I don't
understand why you think that your ISP is just blocking port 80 and
not any other port.  There are firewalls out there nowadays smart
enough to see an incoming HTTP request and block it no matter what
port it's coming in on.  If your ISP is blocking port 80 that probably
means you haven't paid for an enhanced account that will allow you
to run a server.  If that is the case and your ISP is making money off
allowing ports to be open for customers, then I would think that they
probably have one of those firewalls setup that blocks incoming
HTTP get requests no matter what port they come in on.

Ted

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


Re: firewall on FreeBSD

2005-06-26 Thread Nikolas Britton
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Khanh Cao
 Van
 Sent: Friday, June 24, 2005 9:33 AM
 To: freebsd-questions
 Subject: firewall on freebsd
 
 
 I'm going to learn about the freebsd firewall . In the handbook list
 some of them and I could not find out what is the best . So I
 decided
 to post here hoping to gain some of your opinion and experience .
 I would like to know what firewall was the most wanted ? I have used
 Linux several months and IP tables was a good statefull firewall .
 What about in freeBSD ?

FreeBSD has m0n0wall and it just works. For example, yesterday I setup
a site to site VPN using two m0n0wall boxes and it took me less then 5
minutes to reconfigure, in production use systems, the boxes to do it.
I think I spent more time trying to generate a suitable 3DES shared
key then it did to reconfigure the boxes
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: upgrading all ports

2005-06-26 Thread P.U.Kruppa

On Sun, 26 Jun 2005, Nikolas Britton wrote:


On 6/25/05, Erik Nørgaard [EMAIL PROTECTED] wrote:


portupgrade isn't suitable for upgrading the entire machine, even though
you do recursive and Recursive.

It is much faster to deinstall everything and then installing from
ground up. And it is far more secure in not screwing up.

I recommend writing down a list of apps you need to be happy, deinstall
everything and then install those apps. Dependencies comes along fine,
and then whatever remains can be installed as needed.

Anyway, the worst that can happen is that you will screw up some user
app's - ok this is bad - but your system won't require a reinstall :-)

Cheers, Erik


With Gnome, KDE, etc. I completely agree with you, portupgrade always
manages fudge something up.

What are some easy ways to do this... lets say for example I updated
to gnome 2.12 what would be an easy (automated) way to remove all of
Gnome 2.10 and all of my GTK apps without removing KDE and my QT apps?
You should download download the gnome upgrade script from 
www.freebsd.org/gnome and use it.





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






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

Re: 4 GB file limit? (WAS gzip from ports vs gzip from system)

2005-06-26 Thread Sean Hafeez

windows limit. 4gb file size limit.


On Jun 26, 2005, at 4:36 AM, Norberto Meijome wrote:



to recap:
dump | gzip  nfs_share_on_w2k_NAS_running_ServicesForUnix

This works fine until the size of the file created on the nfs_share  
is just under 4 GB (originally thought 2 GB problem)


Client : FBSD 4.11, cvsuped April 15th 05, world + kernel.
Server : Win2K-Storage server, SP4, Microsoft Windows Services for  
UNIX 3.5  [8.0.1969.1]


more below

Dan Nelson wrote:



Norberto Meijome wrote:

 DUMP: 66.60% done, finished in 1:32

gzip: stdout: File too large
 DUMP: Broken pipe
 DUMP: The ENTIRE dump is aborted.


That looks like whatever filesystem gzip was writing to couldn't  
handle

files over 2gb.  You mentioned writing to a remote filesystem using
amd, but it defaults to NFSv3.  Were you maybe writing to a FAT fs on
the remote end?  You can also see whether amd actually mounted the
remote fs with NFSv2 by uncommenting the /var/log/all.log line in
/etc/syslog.con, touching /var/log/all.log, and restarting syslog.  
Then have amd remount the remote system and check the log.



Hmm. ok, as suspected gzip v1.3.5 from ports fails as the other  
one. And the filesize it died on is 4,294,950,912 bytes . Just  
under 4 GB - 16K less than 4 GB. (back to system gzip of course :) )


The native FS on the NAS is NTFS, which doesnt have this kind of  
limitation , as per the following article from MS(may wrap)


http://www.microsoft.com/resources/documentation/Windows/XP/all/ 
reskit/en-us/Default.asp?url=/resources/documentation/Windows/XP/ 
all/reskit/en-us/prkc_fil_tdrn.asp


I just checked from the server itself with dd from SFU, can create  
a 5 GB file with no probs.

dd if=/dev/zero of=/dev/fs/E/temp/test1 bs=4096 count=1310720

So i've stopped amd, bounced box clean, mounted the share via NFS3

mount_nfs -3 edsac:/diablo_backs/ /mnt/test1/

still running this next pass...
any ideas what is breaking...and why?

thanks!!
Beto


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






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


Re: About Mirror ...

2005-06-26 Thread Chuck Swiger

mansour ameri wrote:

Dear sir
our company want's to get FreeBSD mirror website is
IRAN.Becuas there are many ISP and company server that
work on freebsd.
Our Server is freebsd by 1000GB transfer/month


Thanks for your interest.  This document is what you are looking for:

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/hubs/index.html

Note that a primary official FreeBSD mirror probably wants around 10MB/s or 
more (like a full T3/E3), although local country mirrors make do with whatever 
volunteers provide.


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


Re: media player for mpeg-4? xmms can't load faad plugin

2005-06-26 Thread Louis LeBlanc
On 06/26/05 02:47 PM, Louis LeBlanc sat at the `puter and typed:
 Anyone have any luck getting xmms to play m4a (mpeg-4) files?
 
 I've installed the xmms-faad port, but the libmp4.so plugin doesn't
 seem to want to work:
 
 /usr/X11R6/lib/xmms/Input/libmp4.so: Undefined symbol MP4GetTrackAudioType
 
 I wonder if this could be one port stepping on another, or even just a
 simple path problem, like LD_LIBRARY_PATH?
 
 I have gotten gmplayer to play these files, but it doesn't do playlist
 shuffling and the gain is so low through gmplayer that I have to crank
 the gain and volume to the max just to hear it at a decent level.
 Then every darn time I get email, ringin.wav plays over it at max
 volume.  I almost did myself a mischief the first time that happened.
 Sure it's hilarious in hindsight, but it really scares the dirt outa
 you when it happens.
 
 I also tried xine.  It's pretty cool looking and all, like xmms, and
 it has a very cool splash, but it dumps core when I try to play m4a
 files.
 
 BTW, these m4a files were ripped by iTunes on my wife's windoze box,
 and I am trying to play them on FreeBSD 5.4-RELEASE-p1.
 
 Any pointers would be appreciated.

Here's the pointer for the next *BSD user looking to make better use
of his/her iTunes than keeping them on a 'doze box.

Install audio/rhythmbox.  I suggest using the gstreamer backend (xine
dumped core on me when I tried to play m4as).

Rhythmbox rocks.  The gui isn't as fancy as xmms or xine, or even
iTunes itself, but under the hood I like it as much as iTunes.  You
get the same 'net radio, shuffle play, playlists and you have a very
straightforward windowed filter by artist, album, etc.  It's just as
easy to rate a tune, too.  And unlike iTunes, it gave me a startoff
rating right down the middle of the road for all tunes.

The only thing I've noticed that isn't there is the date filtering in
automatic playlists.

And I didn't have to do a thing to get it to trap the fancy msoft
multimedia keys (play, pause, stop, next, prev).  It all just worked.

I haven't tried it yet, but it claims to be able to load my iPod too.
Maybe I _can_ put off buying a powerbook until the Intel based systems
come out.

Very, very cool.
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Don't go around saying the world owes you a living.  The world owes
you nothing.  It was here first.
-- Mark Twain


pgpGEtSI8Mj0D.pgp
Description: PGP signature


How to go about the installation

2005-06-26 Thread Jayesh Jayan
Hi,

I am bit new to freebsd. I would like to install FreeBSD with below 
specifications. How do I go about it.

My Hardware -- a dell server with below configuration.

 CPU: Dual Xeon 3.0GHz/2MB Cache
RAM: 2GB (with room to grow to 12GB)
Drive: 3 x 73GB SCSI with RAID 5 config
Power: Dual power supply
Rack: 2U and the server can take 6 drives.


So can please let me know on how to go about installing freebsd 5.3 on the 
above configuration with RAID 5 hardware.

Thank you.

-- 
Jayesh Jayan

Get a life or die trying!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make builworld fails owing to libstdc++ problems

2005-06-26 Thread Vasil Dimov
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, Jun 26, 2005 at 09:33:19PM +0200, Vittorio De Martino wrote:
 uname -a
 FreeBSD fbsd.grtn 5.4-RELEASE-p2 FreeBSD 5.4-RELEASE-p2 #0: Sat Jun 25 
 17:40:47 CEST 2005 
 
 
 I have the following in 
 in make.conf
 CPUTYPE=p4
 CFLAGS= -O2 -pipe -funroll-loops
 COPTFLAGS= -O2 -pipe -funroll-loops
 
 in stable-supfile:
 *default release=cvs tag=RELENG_5_4
 in ports-supfile:
 default release=cvs tag=.
 
 I've just run (I've been using 5.4 since the very beginning and updated it 
 every month roughly)
 
 # 1. �`cd /usr/src' � � � (or to the directory containing your source tree).
 # 2. �`make update'
 # 3. �`make buildworld'
 
 BUT..
 
 x_handler.cc 
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/guard.cc 
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/new_handler.cc
  /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/new_op.cc 
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/new_opnt.cc 
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/new_opv.cc 
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/new_opvnt.cc 
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/pure.cc 
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/tinfo.cc 
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/tinfo2.cc 
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/vec.cc 
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/vterminate.cc
 In file included 
 from 
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_alloc.cc:37:
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
  
 unwind.h: No such file or directory
 In file included 
 from 
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_aux_runtime.cc:34:
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
  
 unwind.h: No such file or directory
 In file included 
 from 
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_catch.cc:32:
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
  
 unwind.h: No such file or directory
 In file included 
 from 
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_exception.cc:34:
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
  
 unwind.h: No such file or directory
 In file included 
 from 
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_globals.cc:33:
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
  
 unwind.h: No such file or directory
 In file included 
 from 
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_personality.cc:34:
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
  
 unwind.h: No such file or directory
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_personality.cc:38:23:
  
 unwind-pe.h: No such file or directory
 In file included 
 from 
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_term_handler.cc:30:
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
  
 unwind.h: No such file or directory
 In file included 
 from 
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_terminate.cc:34:
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
  
 unwind.h: No such file or directory
 In file included 
 from 
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_throw.cc:32:
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
  
 unwind.h: No such file or directory
 In file included 
 from 
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_type.cc:32:
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
  
 unwind.h: No such file or directory
 In file included 
 from 
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_unex_handler.cc:30:
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
  
 unwind.h: No such file or directory
 In file included 
 from 
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/pure.cc:31:
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
  
 unwind.h: No such file or directory
 In file included 
 from 
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/vec.cc:37:
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/unwind-cxx.h:41:20:
  
 unwind.h: No such file or directory
 mkdep: compile failed
 *** Error code 1
 
 Stop in /usr/src/gnu/lib/libstdc++.
 *** Error code 1
 
 Stop in /usr/src/gnu/lib.
 *** Error code 1
 
 What should I do?
 

rm -fr /usr/src/* and try again? Be carefull not to loose your kernel
config file (if any).
mv