Re: audio/baresip on FreeBSD 9

2013-01-03 Thread Hugo Silva
On 01/03/13 04:19, Joseph Olatt wrote:
 
 I've been trying to get baresip to work on my FreeBSD 9.x laptop and
 haven't had much success. I register successfully to callcentric.com and
 it appears that I can connect and there is a stream of data coming
 through based on the status display:
 
 [0:00:08] audio=0/0 (bit/s) []
 
 However, there is no sound.
 
 Is anybody on the list successfully using baresip? If so, could they
 please provide some pointers on how to get sound?
 
 There doesn't seem to be much documentation anywhere on the Internet for
 baresip.
 
 My config file (~/.baresip/config) is:
 
 /* Begin ~/.baresip/config */
 #
 # baresip configuration
 #
 
 #--
 
 # Core
 poll_method   poll# poll, select, epoll ..
 
 # Input
 input_device  /dev/event0
 input_port
 
 # SIP
 sip_trans_bsize   128
 #sip_listen   127.0.0.1:5050
 
 # Audio
 audio_dev   /dev/audio0.0
 audio_srate   8000-48000
 audio_channels1-2
 #audio_aec_length 128 # [ms]
 
 # Video
 video_dev 
 video_size352x288
 video_bitrate 384000
 video_fps 25
 #video_selfview   window # {window,pip}
 
 # AVT - Audio/Video Transport
 rtp_tos   184
 #rtp_ports1-2
 #rtp_bandwidth512-1024 # [kbit/s]
 rtcp_enable   yes
 rtcp_mux  no
 jitter_buffer_delay   5-10# frames
 
 # Network
 #dns_server   10.0.0.1:53
 
 #--
 # Modules
 
 module_path   /usr/local/lib/baresip/modules
 
 # UI Modules
 modulestdio.so
 modulecons.so
 #module   evdev.so
 
 # Audio codec Modules (in order)
 #module   g7221.so
 #module   g722.so
 moduleg711.so
 #module   gsm.so
 #module   l16.so
 #module   speex.so
 #module   celt.so
 #module   bv32.so
 
 # Audio filter Modules (in order)
 # NOTE: AEC should be before Preproc
 #module   sndfile.so
 #module   speex_aec.so
 #module   speex_pp.so
 #module   speex_resamp.so
 #module   plc.so
 
 # Audio driver Modules
 #module   oss.so
 #module   alsa.so
 #module   portaudio.so
 #module   gst.so
 
 # Video codec Modules (in order)
 moduleavcodec.so
 #module   vpx.so
 
 # Video source modules
 #module   avformat.so
 #module   v4l.so
 #module   v4l2.so
 
 # Video display modules
 #module   sdl.so
 #module   x11.so
 
 # Media NAT modules
 #module   stun.so
 #module   turn.so
 #module   ice.so
 
 # Media encoding modules
 #module   srtp.so
 
 # Other modules
 #module   natbd.so
 
 #--
 # Module parameters
 
 
 # Speex codec parameters
 speex_quality 7 # 0-10
 speex_complexity  7 # 0-10
 speex_enhancement 0 # 0-1
 speex_vbr 0 # Variable Bit Rate 0-1
 speex_vad 0 # Voice Activity Detection 0-1
 speex_agc_level   8000
 
 # NAT Behavior Discovery
 #natbd_server creytiv.com
 #natbd_interval   600 # in seconds
 /* End ~/.baresip/config */
 
 
 /* uname -a */
 FreeBSD peace 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #4 r244062: Mon Dec
 10 17:56:25 CST 2012 root@peace:/usr/obj/usr/src/sys/PEACE  i386
 
 
 Thanks.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 



This works for me (not sure about video, works with video loop but have
not found a free sip server that supports video streams..):


#
# baresip configuration
#

#--

# Core
poll_method select  # poll, select, epoll ..

# Input
input_device/dev/event0
input_port  

# SIP
sip_trans_bsize 128
#sip_listen 127.0.0.1:5050

# Audio
audio_dev   /dev/dsp
audio_srate 8000-48000
audio_channels  1-2
audio_aec_length128 # [ms]

# Video
video_dev   /dev/video0

working SIP phone for FreeBSD?

2012-12-24 Thread Hugo Silva
Hi all,

I've been searching for a working solution to use audio+video and sip on
FreeBSD. So far the webcam is working with webcamd's/v4l help and that's
a good start.

I tried linphone and ekiga3, neither of which worked (both ports are
outdated as well). There are instructions to build ekiga4 from source @
their website but I have not attempted that yet.


Just wondering, and for future reference, what are FreeBSD users using
as a SIP client for audio+video these days? (skype is not an option for
me for various reasons not worth getting into -- please let's keep it on
topic lest it derails like this thread last year
http://lists.freebsd.org/pipermail/freebsd-questions/2011-June/231017.html)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


percona xtradb server cluster for FreeBSD

2012-09-28 Thread Hugo Silva

Hello everyone,

A couple of days ago I contacted percona 
(http://www.percona.com/software/percona-server) about the possibility 
of them maintaining a port of the XtraDB server  cluster software.


Their reply was that they didn't see too many downloads for *BSD 
platforms and they've taken this to mean that there's a lack of interest 
in seeing the software running on *BSD.



If you would like to see their software conveniently available as 
FreeBSD ports, I encorage you to contact them @ 
http://form.percona.com/ContactMe.html


As long as there's user/customer interest, they appear to be receptive 
to the idea.



Thank you,

Hugo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


net/ifstated does not compile on 9.0-RELEASE/amd64

2012-02-14 Thread Hugo Silva

# make install clean
===  License check disabled, port has not defined LICENSE
= ifstated-4.7.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
= Attempting to fetch 
http://christianserving.org/ports/net/ifstated/ifstated-4.7.tar.gz

ifstated-4.7.tar.gz   100% of   14 kB   22 kBps
===  Extracting for ifstated-4.7_2,1
= SHA256 Checksum OK for ifstated-4.7.tar.gz.
===  Patching for ifstated-4.7_2,1
===  Applying FreeBSD patches for ifstated-4.7_2,1
===   ifstated-4.7_2,1 depends on shared library: event - found
===  Configuring for ifstated-4.7_2,1
===  Building for ifstated-4.7_2,1
Warning: Object directory not changed from original 
/usr/ports/net/ifstated/work/ifstated-4.7
cc -O2 -fno-strict-aliasing -pipe -march=k8-sse3 -Wall 
-I/usr/ports/net/ifstated/work/ifstated-4.7 -Wstrict-prototypes 
-Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wshadow 
-Wpointer-arith -Wcast-qual -I/usr/local/include -std=gnu99 
-fstack-protector  -c ifstated.c

ifstated.c:42:19: error: event.h: No such file or directory
In file included from ifstated.c:46:
ifstated.h:50: error: field 'ev' has incomplete type
ifstated.h:110: error: field 'ev' has incomplete type
ifstated.c: In function 'main':
ifstated.c:151: warning: implicit declaration of function 'event_init'
ifstated.c:154: warning: implicit declaration of function 'signal_set'
ifstated.c:155: warning: implicit declaration of function 'signal_add'
ifstated.c:160: warning: implicit declaration of function 'evtimer_set'
ifstated.c:161: warning: implicit declaration of function 'evtimer_add'
ifstated.c:163: warning: implicit declaration of function 'event_loop'
ifstated.c: In function 'startup_handler':
ifstated.c:198: warning: implicit declaration of function 'event_set'
ifstated.c:198: error: 'EV_READ' undeclared (first use in this function)
ifstated.c:198: error: (Each undeclared identifier is reported only once
ifstated.c:198: error: for each function it appears in.)
ifstated.c:198: error: 'EV_PERSIST' undeclared (first use in this function)
ifstated.c:199: warning: implicit declaration of function 'event_add'
ifstated.c: In function 'external_evtimer_setup':
ifstated.c:423: warning: implicit declaration of function 'evtimer_del'
ifstated.c: In function 'remove_expression':
ifstated.c:763: warning: implicit declaration of function 'event_del'
*** Error code 1

Stop in /usr/ports/net/ifstated/work/ifstated-4.7.
*** Error code 1

Stop in /usr/ports/net/ifstated.




Regards,

Hugo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Jails V2, VIMAGE, and integration in the base system

2012-02-04 Thread Hugo Silva

On 02/03/12 17:02, Devin Teske wrote:

Please give this a try:

http://druidbsd.sf.net/vimage.shtml
http://druidbsd.sf.net/download.shtml



Hi,

Interesting.

Is it safe to run in production (VIMAGE/vnets) ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Jails V2, VIMAGE, and integration in the base system

2012-02-03 Thread Hugo Silva

Hello,

I didn't find much about jails v2 + epair + vimage on google; The 
FreeBSD wiki pages concerning this subject seem fairly outdated (that or 
not much has happened in 3 years), and the manpages don't mention much 
about vimage/vnet.


According to http://ivoras.net/freebsd/freebsd8.html it should be in 
FreeBSD 8.0 (VIMAGE, Jails v2), and maybe it is, but if it's not 
integrated in the base system and information/documentarion is scarse, 
few will use it.



Found this: http://www.freebsd.org/cgi/query-pr.cgi?pr=142972 - nearly 2 
years old.



My question is, how wise would it be to attempt to use these features in 
production? IMO this is very interesting stuff, having these things 
integrated would be a worthy addition to FreeBSD.

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


Re: BHyve

2011-08-20 Thread Hugo Silva
On 08/19/11 18:46, Brandon Gooch wrote:
 On Aug 19, 2011 10:29 AM, Net Warrior netwarrior...@gmail.com wrote:

 Hi
 Does anyone know if there is any progress on this project or how can I
 track/test it?

 Thanks you-
 Regards

 
 I'm interested in this as well, and I'm hoping that after 9.0 is out the
 door that we might see a concerted effort (or at least some interest) from
 developers to push forward with this.
 

I'm quite curious about it myself.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Can *you* UFS snapshot a filesystem with 9.0-BETA1?

2011-08-18 Thread Hugo Silva
I'm wondering. On a virtual machine (amd64 HVM+PV), it's crashing every
time. Not sure if this is SNAFU, as I had never used ufs snapshots on
freebsd before.

After running mksnap_ffs, ssh stops working (a telnet session doesn't
show the sshd banner). The ssh session where the command was run from
stops responding, the webserver dies and xm console'ing from the dom0
works, but the VM is unresponsive (ie no login prompt on ENTER).

Anyone else seeing the same?

Regards,

Hugo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Requesting assistance: IPsec-configured FreeBSD system sends unencrypted packets on the wrong interface!

2011-07-07 Thread Hugo Silva
Hello,

I'm setting up an IPsec tunnel between a OpenBSD/isakmpd box and a
FreeBSD 8.2-STABLE/ipsec-tools racoon.

It looks something like this:

[lan a(OPENBSD_NET)]--[openbsd]--i-p-s-e-c--[freebsd]--[lan
b(FREEBSD_NET)]

The FreeBSD server also runs OpenVPN, for end-user VPN. The ipv4 range
is FREEBSD_USERVPN/24.

The situation is the following:

- I can ssh in from FREEBSD_USERVPN to OPENBSD_NET (laptop - (openvpn
udp) - freebsd-ipsec-machine - (ipsec-tunnel) - openbsd-ipsec-machine
- target-machine).
- I can't ssh/ping from machines in FREEBSD_NET to machines OPENBSD_NET,
even though setkey on FreeBSD reports what appear to be correct settings.
 - In fact, tcpdump shows packets destined for OPENBSD_NET (coming from
FREEBSD_NET; from FREEBSD_USERVPN it works, that is part of the mystery)
leaving the external interface (@FreeBSD-ipsec), unencrypted, with
target MAC set to FREEBSD's default gateway.


FreeBSD's setkey -DP with the tunnel up looks something like:
OPENBSD_NET/24[any] FREEBSD_NET/24[any] any
in ipsec
esp/tunnel/OPENBSD_EXTERNAL_IP-FREEBSD_EXTERNAL_IP/require
created: Jul  7 15:20:16 2011  lastused: Jul  7 15:20:16 2011
lifetime: 1200(s) validtime: 0(s)
spid=373 seq=5 pid=87182
refcnt=1
OPENBSD_EXTERNAL_IP[any] FREEBSD_EXTERNAL_IP[any] any
in ipsec
ah/transport//require
created: Jul  7 15:21:24 2011  lastused: Jul  7 15:21:24 2011
lifetime: 1200(s) validtime: 0(s)
spid=375 seq=4 pid=87182
refcnt=1
OPENBSD_NET/24[any] FREEBSD_USERVPN/24[any] any
in ipsec
esp/tunnel/OPENBSD_EXTERNAL_IP-FREEBSD_EXTERNAL_IP/require
created: Jul  7 15:22:15 2011  lastused: Jul  7 15:22:15 2011
lifetime: 1200(s) validtime: 0(s)
spid=377 seq=3 pid=87182
refcnt=1
FREEBSD_NET/24[any] OPENBSD_NET/24[any] any
out ipsec
esp/tunnel/FREEBSD_EXTERNAL_IP-OPENBSD_EXTERNAL_IP/require
created: Jul  7 15:20:16 2011  lastused: Jul  7 15:20:16 2011
lifetime: 1200(s) validtime: 0(s)
spid=374 seq=2 pid=87182
refcnt=1
FREEBSD_EXTERNAL_IP[any] OPENBSD_EXTERNAL_IP[any] any
out ipsec
ah/transport//require
created: Jul  7 15:21:24 2011  lastused: Jul  7 15:21:24 2011
lifetime: 1200(s) validtime: 0(s)
spid=376 seq=1 pid=87182
refcnt=1
FREEBSD_USERVPN/24[any] OPENBSD_NET/24[any] any
out ipsec
esp/tunnel/FREEBSD_EXTERNAL_IP-OPENBSD_EXTERNAL_IP/require
created: Jul  7 15:22:15 2011  lastused: Jul  7 15:22:15 2011
lifetime: 1200(s) validtime: 0(s)
spid=378 seq=0 pid=87182
refcnt=1


OpenBSD's ipsecctl -sa:
FLOWS:
flow ah in from FREEBSD_EXTERNAL_IP to OPENBSD_EXTERNAL_IP peer
FREEBSD_EXTERNAL_IP srcid OPENBSD_EXTERNAL_IP/32 dstid
FREEBSD_EXTERNAL_IP/32 type use
flow ah out from OPENBSD_EXTERNAL_IP to FREEBSD_EXTERNAL_IP peer
FREEBSD_EXTERNAL_IP srcid OPENBSD_EXTERNAL_IP/32 dstid
FREEBSD_EXTERNAL_IP/32 type require
flow esp in from FREEBSD_NET to OPENBSD_NET/24 peer FREEBSD_EXTERNAL_IP
srcid OPENBSD_EXTERNAL_IP/32 dstid FREEBSD_EXTERNAL_IP/32 type use
flow esp out from OPENBSD_NET/24 to FREEBSD_NET peer FREEBSD_EXTERNAL_IP
srcid OPENBSD_EXTERNAL_IP/32 dstid FREEBSD_EXTERNAL_IP/32 type require
flow esp in from FREEBSD_USERVPN/24 to OPENBSD_NET/24 peer
FREEBSD_EXTERNAL_IP srcid OPENBSD_EXTERNAL_IP/32 dstid
FREEBSD_EXTERNAL_IP/32 type use
flow esp out from OPENBSD_NET/24 to FREEBSD_USERVPN/24 peer
FREEBSD_EXTERNAL_IP srcid OPENBSD_EXTERNAL_IP/32 dstid
FREEBSD_EXTERNAL_IP/32 type require

SAD:
esp tunnel from OPENBSD_EXTERNAL_IP to FREEBSD_EXTERNAL_IP spi
0x08ae310d auth hmac-sha2-256 enc aes
ah transport from OPENBSD_EXTERNAL_IP to FREEBSD_EXTERNAL_IP spi
0x08d6347a auth hmac-sha2-256
esp tunnel from OPENBSD_EXTERNAL_IP to FREEBSD_EXTERNAL_IP spi
0x09ec838b auth hmac-sha2-256 enc aes
esp tunnel from FREEBSD_EXTERNAL_IP to OPENBSD_EXTERNAL_IP spi
0x3ab91daa auth hmac-sha2-256 enc aes
ah transport from FREEBSD_EXTERNAL_IP to OPENBSD_EXTERNAL_IP spi
0x44eaed5b auth hmac-sha2-256
esp tunnel from FREEBSD_EXTERNAL_IP to OPENBSD_EXTERNAL_IP spi
0xbfd25ead auth hmac-sha2-256 enc aes



racoon is passive, isakmpd is active; OpenBSD's ipsec.conf:
myself = OPENBSD_EXTERNAL_IP
mypeer = FREEBSD_EXTERNAL_IP
if =em0
local_net = OPENBSD_NET/24
remote_net = { FREEBSD_USERVPN/24, FREEBSD_NET/24 }


ike esp tunnel from $local_net to $remote_net peer $mypeer main auth
hmac-sha1 enc aes group modp1024 quick auth hmac-sha2-256 enc aes group
modp1024 psk verysecret
ike ah transport from $myself to $mypeer main auth hmac-sha1 group
modp1024 quick auth hmac-sha2-256 group modp1024 psk verysecret


I have:

 - Tried without AH.
 - Tried $remote_net = FREEBSD_NET. (the packets will still go out on
the wrong interface)
 - Disabling PF. (on one end, on both ends)


When I ping a machine on FREEBSD_NET from a machine on OPENBSD_NET, I
can see the packet arriving on FREEBSD_NET_MACHINE 

GEOM_JOURNAL on a 550G partition - opinions ?

2009-02-04 Thread Hugo Silva

Hi list,

For a server I will be setting up, I am considering using gjournal on 
the partition that will hold all the www data.


The journaled partition (mounted async) would be mostly read from, 
uploads would not be very frequent and most sites wouldn't write to the 
disk. Logs would be kept elsewhere.


This server will have two hard disks, mirrored (gmirror) at the disk level.



Here are my questions:


- Will the fact that gmirror is underneath the journal 
(/dev/mirror/gm0s1f.journal) affect performance ? (either positively or 
negatively)

  (* I would be keeping the journal in the same provider)

- Would reads / writes be faster? considerably faster ? (gjournal) I've 
seen different numbers from different places, the impression I got is 
that reads should be faster while writes will be substantially slower - 
is this correct ?


- What about reliability ? From the manpage, I know that if I journaled 
the entire mirror, I would not need to sync it after an unclean shutdown.
  Going from the assumption that this will not be so for a single 
journaled partition, will there be any interference between gjournal and 
gmirror ?


- I've never had an UFS2 partition filled with more than 200G of data, 
so I am not sure what to expect for 550G with soft-updates (I expect 
this partition to hold close to 550G of data) - real numbers about this 
would also be helpful.



Any personal experiences concerning gjournal or gmirror+gjournal are 
greatly appreciated!


Thanks.

Hugo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Linux Wolfenstein Enemy Territory - no sound

2008-08-17 Thread Hugo Silva

Jakub Lach wrote:

Hello.

I recently installed from ports (games/linux-enemyterritory). 
At first it complained about missing X11 lib, and I concluded 
that installing linux-xorg-libs should sort it out. I wass correct 
(perhaps it should be added as dependency?).  


Running et it gives:

--- sound initialization ---
/dev/dsp: Invalid argument
Could not mmap /dev/dsp


Apparently, it's common problem on Linux too. Simplest 
solution reported to be working is:


echo et.x86 0 0 direct/proc/asound/card0/pcm1p/oss

So I think something like 


sysctl -w something.something=et.x86 0 0 direct

should work for me.

Searching for device, I have found:

sysctl -a | grep 'pcm'
dev.emu10kx.0._pcm_front_l: 100
dev.emu10kx.0._pcm_front_r: 100
dev.pcm.0.%desc: EMU10Kx DSP front PCM interface
dev.pcm.0.%driver: pcm
dev.pcm.0.%parent: emu10kx0
dev.pcm.0.eapd: 1
dev.pcm.0.play.vchans: 1
dev.pcm.0.play.vchanrate: 48000
dev.pcm.0.play.vchanformat: s16le
dev.pcm.0.rec.vchans: 1
dev.pcm.0.rec.vchanrate: 48000
dev.pcm.0.rec.vchanformat: s16le
dev.pcm.0.buffersize: 65536
dev.pcm.1.%desc: EMU10Kx DSP rear PCM interface
dev.pcm.1.%driver: pcm
dev.pcm.1.%parent: emu10kx0
dev.pcm.1.play.vchans: 1
dev.pcm.1.play.vchanrate: 48000
dev.pcm.1.play.vchanformat: s16le
dev.pcm.1.buffersize: 65536

and

sysctl -a | grep 'oss'
compat.linux.oss_version: 198144

However, I don't have idea what to do next.

Symlinking /dev/dsp/ to /dev/dsp0.0 or /dev/dsp1.0 
doesn't cut it.


regards

  



You need hw.snd.compat_linux_mmap=1

Happy frags :)

Regards,

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


Re: FreeBSD and Bacula

2008-07-03 Thread Hugo Silva

Ivaylo Bonev wrote:
I want to use FreeBSD 7.0 for Backup server. After little searching, 
my decision was to use Bacula (because of Windows client). After 
installation of latest version (Bacula 2.4.0) and active googling, 
reading very carefuly Onlamp article of Bacula server on FreeBSD 
(http://www.onlamp.com/pub/a/onlamp/2004/01/09/bacula.html) and 
configuring File, Storage and Director files, I was astonished by the 
fact that Bacula cannot start from provided scripts in 
/usr/local/etc/rc.d/ directory. No messages in log, no error messages 
in console, ps aux| grep 'bacula' say nothing, nothing! I put

bacula_dir_enable=YES
bacula_fd_enable=YES
bacula_sd_enable=YES
and after restart on console shows this error:
03-Jul 17:09 bacula-dir: ERROR TERMINATION at parse_conf.c:483
Config error: Could not find config Resource bacula-fd referenced on 
line 30 :

 Client = bacula-fd


: line 30, col 20 of file /usr/local/etc/bacula-dir.conf
  Client = bacula-fd

All Bacula .conf files are attached. Is there a bug, or misconfigured 
.conf files?




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


Surely a misconfiguration, I have just finished setting up bacula on a 
freebsd 7-STABLE host, successfully.


Regards,

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


Re: Freebsd based server lacking chown command, where to get it.

2008-02-12 Thread Hugo Silva

deepcore wrote:



  

chown is in /usr/sbin/




ok. I get that, and i found it
I can, however not execute it.
whenever i go to the usr/sbin and type chown i get
chown: Command not found.

i find this pretty strange as ls -l shows:
-r-xr-xr-x 1 root wheel 6688 Jan 12 2007 chown

shouldn't this mean that the file is excecutable by all?
even tried to switch to root first (just executing su)

...
What i am more specifically trying to do is change the ownership of all the
directories and files on a specific disk, mounted as /mnt/moviedisk, to the
user that is supposed to own them.

Any surgestions? What am i doing wrong as i cannot execute the chown
command?


  


/usr/sbin/chown
cd /usr/sbin; ./chown

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


syslog-ng2 stuck - ptsopn

2008-02-11 Thread Hugo Silva

Hi list,

syslog-ng2 [2.0.3] from ports is hanging on me after minutes of usage 
with state ptsopn:


5507 root1   50 12832K  1788K ptsopn 1   0:07  0.00% syslog-ng

This happens 5-10 minutes after I restart it, or about 3 days if I 
restart the server and let it run.


Running on FreeBSD 7.0-RC1 amd64. The load on the syslog server is 
moderate, about 200KB/s of UDP packets (load balancer logs).


ktrace will stop output when it gets in 'ptsopn', the last thing before 
that is:



 5507 syslog-ng RET   read 44/0x2c
 5507 syslog-ng CALL  
open(0x7fffc1f0,O_WRONLY|O_APPEND|O_NOCTTY,unused0x7b)

 5507 syslog-ng RET   open 11/0xb
 5507 syslog-ng CALL  write(0xb,0x7fffc270,0x80)
 5507 syslog-ng RET   write 128/0x80
 5507 syslog-ng CALL  close(0xb)
 5507 syslog-ng RET   close 0
 5507 syslog-ng CALL  read(0xa,0x52cda0,0x2c)
 5507 syslog-ng RET   read 44/0x2c
 5507 syslog-ng CALL  
open(0x7fffc1f0,O_WRONLY|O_APPEND|O_NOCTTY,unused0x7b)



Any hints?

Best regards,

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


Re: Unlock /dev/dsp?

2008-02-09 Thread Hugo Silva

Andreas Davour wrote:


I have begin to find it annoying that when I have a Firefox running 
with a page with a youtube link it it, I can't at the same time play a 
mp3 file with mplayer. When I try I get an error saying that /dev/dsp 
is busy. Is there a way to make it play me some music anyway?


I use KDE if that matters.

/andreas



dev.pcm.0.play.vchans=4

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


ggatec hanging on 7.0-RC1/amd64

2008-01-04 Thread Hugo Silva

Hi,

I'm experiencing some problems while attempting to export a ZVOL with 
ggated on a gigabit network.



All servers are running FreeBSD 7.0-RC1 on amd64, and using bce NICs.



client# ggatec create -t 6 -u 0 172.16.100.200 /dev/zvol/storage/vol0

client# ls -l /dev/ggate*
crw-r-  1 root  operator0, 115 Jan  4 06:23 /dev/ggate0

client# newfs /dev/ggate0
load: 0.00  cmd: newfs 51187 [g_waitidle] 0.00u 0.00s 0% 792k
^C^C^C^C^C^C^C^C^C^C^C^C^C^C


The same happens with a file exported on a UFS filesystem (so it's not a 
ZFS problem):



client# ggatec create -u100 172.16.100.200 /usr/lol

client# dir /dev/ggate100
crw-r-  1 root  operator  -   0, 115 Jan  4 06:23 /dev/ggate100

client# newfs /dev/ggate100
load: 0.00  cmd: newfs 52306 [g_waitidle] 0.00u 0.00s 0% 792k
load: 0.00  cmd: newfs 52306 [g_waitidle] 0.00u 0.00s 0% 792k
load: 0.00  cmd: newfs 52306 [g_waitidle] 0.00u 0.00s 0% 792k
^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z


After several killall -9 ggatec and ggatec -fuX (-uX will stop working 
after awhile with device busy, even though no ggatec process is using 
it anymore and the newfs process is also killed), the following happens:


# killall -9 ggatec
load: 0.00  cmd: killall 52400 [sysctl lock] 0.00u 0.00s 0% 244k
load: 0.00  cmd: killall 52400 [sysctl lock] 0.00u 0.00s 0% 244k
load: 0.00  cmd: killall 52400 [sysctl lock] 0.00u 0.00s 0% 244k

At this point, the machine is dead. It still replies to pings, but 
processes are definitely unkillable now and even trying to login via SSH 
doesn't work:


$ ssh client
load: 0.05  cmd: ssh 2127 [sbwait] 0.00u 0.00s 0% 3180k
[hangs forever]


/etc/gg.exports on the server:
client.ip/32 RW /dev/zvol/storage/vol0


Am I missing something terribly obvious ? I have done this many times 
before and never encountered this problem..


Regards,

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


Re: zfs-geli-zfs: opinions/suggestions

2007-12-27 Thread Hugo Silva

Jacob Yocom-Piatt wrote:

lo all,

have a freebsd 7.0-beta4 machine attached to an external disk 
enclosure and would like feedback on the following setup: have RAID-Z 
on 4 disks, ZFS volume that takes up entire RAID-Z, use ZVOL from 
volume for encryption via geli, use .eli (decrypted) device to make 
another ZFS pool. the idea being no time/resources wasted doing fscks 
plus encryption sans hardware RAID.


Unless I'm misunderstanding your objective, geli'ing the disks and 
creating a pool ontop of the encrypted disks (zpool create secure raidz 
da0.eli da1.eli da2.eli da3.eli) would also work, and would be far 
easier to maintain. Your data would still be encrypted and you would 
still need to provide the passphrase to make the pool accessible.


Best regards,

Hugo


translated to commands this reads:

# zpool create p_a raidz /dev/mfid1 /dev/mfid2 /dev/mfid3 /dev/mfid4
# zpool list
NAMESIZEUSED   AVAILCAP  HEALTH ALTROOT
p_a2.72T   4.02G   2.71T 0%  ONLINE -
# zfs create -V 2048g p_a/vol
# geli init -K /root/p_a.key -s 4096 -l 256 /dev/zvol/p_a/vol
# geli attach -k /root/p_a.key /dev/zvol/p_a/vol
# zpool create a /dev/zvol/p_a/vol.eli

i got a reboot while scp-ing some files to /a (only got ~3 GB in) from 
another machine with the above setup. am currently waiting far too 
long for a rm -R directory to complete under /a. will test if any of 
this behavior is repeatable.


i welcome opinions or suggestions on the stability of such a setup 
(ZFS-geli-ZFS) and if this is not stable, as the reboot i just 
experienced would indicate, suggestions on alternative configurations 
that allow use of geli and minimize or eliminate fsck time. i do have 
a preference for no hardware RAID since it ties us to a particular 
card. will furnish a proper bug report if the reboots are repeatable 
in the aforementioned scenario.


NOTE: please CC me since i am not yet subscribed to this list

cheers,
jake



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


Re: Additional flag after 6.2-RELEASE-xx

2007-12-26 Thread Hugo Silva

Anjang Aki wrote:

Hi! Can I know what is this flag after 6.2-RELEASE meaning?

$ uname -r
6.2-RELEASE-p7

How come my box doesn't have the flag?
$ uname -r
6.2-RELEASE

if this is mean kernel updating/compiling hopefully someone can link
me to the URL guide to upgrade my box.

Thank you and regards,

  

Hello,

-pX is the patchlevel. Both your systems are on RELENG_6_2, one has been 
updated, the other has not.


See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html

Regards,

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


Re: cvsup-mirror: clients never get past 'running' (server 100% idle)

2007-12-18 Thread Hugo Silva

Hugo Silva wrote:

Hello,

I've set up a local cvsup mirror for a freebsd server farm but I'm 
having some trouble making it work.


I went with all the defaults on the install, only skipping gnats www 
and mail.


The initial update went well, took awhile but I have all files in 
place now.


However, when connecting to get src or ports, it'll never get past

/usr/src# make update
--
 Running /usr/bin/csup
--
Parsing supfile /root/cvsup/standard-supfile
Connecting to 172.16.100.22
Connected to 172.16.100.22
Server software version: SNAP_16_1h
Negotiating file attribute support
Exchanging collection information
Establishing multiplexed-mode data connection
Running


73163   3002  1  440  7592K  3812K select 0   0:02  0.00% cvsupd

It just stays idle forever...

3002 73163  0.0  0.2  7592  3812  ??  IJ7:07PM   0:01.58 
/usr/local/sbin/cvsupd -e -C 10 -l @daemon -b /usr/local/etc/cvsup -s 
sup.client




FreeBSD 7.0-BETA4/amd64, cvsupd is running inside a jail, on ZFS.

What am I missing ?

Regards,

Hugo


Proto Recv-Q Send-Q  Local Address  Foreign Address(state)
tcp4   0  16479  172.16.100.22.5999 172.16.100.92.61642
ESTABLISHED



Send-Q is 16479 on the server as soon as the client gets to the 
Running phase (and stalls), the client sees:


tcp4   0  0  172.16.100.92.61642172.16.100.22.5999 
ESTABLISHED


I'm baffled and don't have much free time to chase this down right now, 
does this ring a bell to anyone at all ? No firewalls are running on 
either host, and they're in the same subnet..


Best regards,

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


cvsup-mirror: clients never get past 'running' (server 100% idle)

2007-12-17 Thread Hugo Silva

Hello,

I've set up a local cvsup mirror for a freebsd server farm but I'm 
having some trouble making it work.


I went with all the defaults on the install, only skipping gnats www and 
mail.


The initial update went well, took awhile but I have all files in place now.

However, when connecting to get src or ports, it'll never get past

/usr/src# make update
--
 Running /usr/bin/csup
--
Parsing supfile /root/cvsup/standard-supfile
Connecting to 172.16.100.22
Connected to 172.16.100.22
Server software version: SNAP_16_1h
Negotiating file attribute support
Exchanging collection information
Establishing multiplexed-mode data connection
Running


73163   3002  1  440  7592K  3812K select 0   0:02  0.00% cvsupd

It just stays idle forever...

3002 73163  0.0  0.2  7592  3812  ??  IJ7:07PM   0:01.58 
/usr/local/sbin/cvsupd -e -C 10 -l @daemon -b /usr/local/etc/cvsup -s 
sup.client




FreeBSD 7.0-BETA4/amd64, cvsupd is running inside a jail, on ZFS.

What am I missing ?

Regards,

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


Re: ps options

2007-11-10 Thread Hugo Silva

Chuck Robey wrote:
I have spent all the time I can stand, going over the ps man page, but 
I can't see any option to get a hierarchical listing.  I mean, where 
the listings are sorted to where parents come before children, and the 
children get indentation, so you can see at a glance what's running 
more easily.  It's a standard thing on many OSes, and I was sorta 
hoping it'd be available on FreeBSD.  Maybe under a different name?

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


See pstree (ports).

Regards,

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


Re: Ipod software

2007-10-14 Thread Hugo Silva

Rem P Roberti wrote:

I have been browsing the ports collection for some mp3/ipod management
software, but am unsure as to what is the best choice.  Could I get a
couple of recommendations.

Thank you.

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



I've been using gtkpod for a few months now, it does what it advertises.

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


Re: Building a SAN using FreeBSD

2007-10-07 Thread Hugo Silva

Wojciech Puchar wrote:

different file systems, etc...


I think you want to look into ZFS then, available on current.


ZFS is not a distributed filesystem AFAIK
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


You could always ZFS+ggate :)

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


Re: curious root find running

2007-08-17 Thread Hugo Silva

brad clawsie wrote:

hi

while sitting at my computer tonight i noticed a great deal of disk
activity. i found that this process was running:

$ ps -auxwww 1463
USER   PID %CPU %MEM   VSZ   RSS  TT  STAT STARTED  TIME COMMAND
root  1463  4.3  0.1  1876  1404  ??  D 3:01AM   0:07.26 find /usr
-xdev -type f ( -perm -u+x -or -perm -g+x -or -perm -o+x ) ( -perm
-u+s -or -perm -g+s ) -print0

any idea why this is running? is it part of a sanctioned background
process?

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


man periodic

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


Re: apache problems

2007-08-16 Thread Hugo Silva

Reinhold wrote:

Hi

I am having some problems with apache22 on my box. What happens is, when
I'm viewing loads and loads of pages, apache will stop responding untill I
restart it again. This normally happens when the free memory shown by top
gets to about +- 100MB.

Here is my dmesg output:
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-STABLE #0: Thu Aug  2 12:32:26 CEST 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERN
module_register: module accf_data already exists!
Module accf_data failed to register: 17
module_register: module accf_http already exists!
Module accf_http failed to register: 17
ACPI APIC Table: Nvidia AWRDACPI
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Dual Core AMD Opteron(tm) Processor 165(1808.34-MHz K8-class CPU)
  Origin = AuthenticAMD  Id = 0x20f32  Stepping = 2

Features=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT
  Features2=0x1SSE3
  AMD Features=0xe2500800SYSCALL,NX,MMX+,FFXSR,LM,3DNow!+,3DNow!
  AMD Features2=0x3LAHF,CMP
  Cores per package: 2
real memory  = 2147418112 (2047 MB)
avail memory = 2065465344 (1969 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic0 Version 1.1 irqs 0-23 on motherboard
kbd1 at kbdmux0
module_register_init: MOD_LOAD (accf_data, 0x802d0f90,
0x807120c0) error 17
module_register_init: MOD_LOAD (accf_http, 0x802d0f90,
0x80713720) error 17
acpi0: Nvidia AWRDACPI on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0
cpu0: ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pci0: memory at device 0.0 (no driver attached)
isab0: PCI-ISA bridge at device 1.0 on pci0
isa0: ISA bus on isab0
pci0: serial bus, SMBus at device 1.1 (no driver attached)
ohci0: OHCI (generic) USB controller mem 0xfe02f000-0xfe02 irq 21 at
device 2.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: OHCI (generic) USB controller on ohci0
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 10 ports with 10 removable, self powered
ehci0: NVIDIA nForce4 USB 2.0 controller mem 0xfeb0-0xfeb000ff irq 22
at device 2.1 on pci0
ehci0: [GIANT-LOCKED]
usb1: EHCI version 1.0
usb1: companion controller, 4 ports each: usb0
usb1: NVIDIA nForce4 USB 2.0 controller on ehci0
usb1: USB revision 2.0
uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 10 ports with 10 removable, self powered
atapci0: nVidia nForce CK804 UDMA133 controller port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 6.0 on pci0
ata0: ATA channel 0 on atapci0
ata1: ATA channel 1 on atapci0
atapci1: nVidia nForce CK804 SATA300 controller port
0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xcc00-0xcc0f mem
0xfe02b000-0xfe02bfff irq 23 at device 7.0 on pci0
ata2: ATA channel 0 on atapci1
ata3: ATA channel 1 on atapci1
atapci2: nVidia nForce CK804 SATA300 controller port
0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xb800-0xb80f mem
0xfe02a000-0xfe02afff irq 21 at device 8.0 on pci0
ata4: ATA channel 0 on atapci2
ata5: ATA channel 1 on atapci2
pcib1: ACPI PCI-PCI bridge at device 9.0 on pci0
pci1: ACPI PCI bus on pcib1
rl0: RealTek 8139 10/100BaseTX port 0xac00-0xacff mem
0xfdfff000-0xfdfff0ff irq 17 at device 7.0 on pci1
miibus0: MII bus on rl0
rlphy0: RealTek internal media interface on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:0e:2e:08:44:e4
pcib2: ACPI PCI-PCI bridge at device 11.0 on pci0
pci2: ACPI PCI bus on pcib2
pcib3: ACPI PCI-PCI bridge at device 12.0 on pci0
pci3: ACPI PCI bus on pcib3
pcib4: ACPI PCI-PCI bridge at device 13.0 on pci0
pci4: ACPI PCI bus on pcib4
pcib5: ACPI PCI-PCI bridge at device 14.0 on pci0
pci5: ACPI PCI bus on pcib5
pci5: display, VGA at device 0.0 (no driver attached)
acpi_tz0: Thermal Zone on acpi0
fdc0: floppy drive controller port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: 1440-KB 3.5 drive on fdc0 drive 0
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on
acpi0
sio0: type 16550A
ppc0: Standard parallel printer port port 0x378-0x37f,0x778-0x77b irq 7
on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: Parallel port bus on ppc0
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
orm0: ISA Option ROM at iomem 0xc-0xcefff on isa0
atkbdc0: Keyboard controller (i8042) at port 

Re: apache problems

2007-08-16 Thread Hugo Silva

Reinhold wrote:

On Thu, August 16, 2007 20:16, Hugo Silva wrote:
  

Reinhold wrote:



Hi


I am having some problems with apache22 on my box. What happens is,
when I'm viewing loads and loads of pages, apache will stop responding
untill I restart it again. This normally happens when the free memory
shown by top gets to about +- 100MB.

Here is my dmesg output:
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-STABLE #0: Thu Aug  2 12:32:26 CEST 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERN
module_register: module accf_data already exists!
Module accf_data failed to register: 17
module_register: module accf_http already exists!
Module accf_http failed to register: 17
ACPI APIC Table: Nvidia AWRDACPI
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Dual Core AMD Opteron(tm) Processor 165(1808.34-MHz K8-class
CPU)
Origin = AuthenticAMD  Id = 0x20f32  Stepping = 2


Features=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG
E,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT
Features2=0x1SSE3
AMD Features=0xe2500800SYSCALL,NX,MMX+,FFXSR,LM,3DNow!+,3DNow!
AMD Features2=0x3LAHF,CMP
Cores per package: 2
real memory  = 2147418112 (2047 MB) avail memory = 2065465344 (1969 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID:  0 cpu1 (AP): APIC ID:  1 ioapic0: Changing APIC ID
to 2 ioapic0 Version 1.1 irqs 0-23 on motherboard kbd1 at kbdmux0
module_register_init: MOD_LOAD (accf_data, 0x802d0f90,
0x807120c0) error 17
module_register_init: MOD_LOAD (accf_http, 0x802d0f90,
0x80713720) error 17
acpi0: Nvidia AWRDACPI on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0
cpu0: ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pci0: memory at device 0.0 (no driver attached)
isab0: PCI-ISA bridge at device 1.0 on pci0
isa0: ISA bus on isab0
pci0: serial bus, SMBus at device 1.1 (no driver attached)
ohci0: OHCI (generic) USB controller mem 0xfe02f000-0xfe02 irq 21
at device 2.0 on pci0 ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: OHCI (generic) USB controller on ohci0
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 10 ports with 10 removable, self powered
ehci0: NVIDIA nForce4 USB 2.0 controller mem 0xfeb0-0xfeb000ff irq
22
at device 2.1 on pci0 ehci0: [GIANT-LOCKED]
usb1: EHCI version 1.0
usb1: companion controller, 4 ports each: usb0
usb1: NVIDIA nForce4 USB 2.0 controller on ehci0
usb1: USB revision 2.0
uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 10 ports with 10 removable, self powered
atapci0: nVidia nForce CK804 UDMA133 controller port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 6.0 on pci0
ata0: ATA channel 0 on atapci0
ata1: ATA channel 1 on atapci0
atapci1: nVidia nForce CK804 SATA300 controller port
0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xcc00-0xcc0f mem
0xfe02b000-0xfe02bfff irq 23 at device 7.0 on pci0
ata2: ATA channel 0 on atapci1
ata3: ATA channel 1 on atapci1
atapci2: nVidia nForce CK804 SATA300 controller port
0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xb800-0xb80f mem
0xfe02a000-0xfe02afff irq 21 at device 8.0 on pci0
ata4: ATA channel 0 on atapci2
ata5: ATA channel 1 on atapci2
pcib1: ACPI PCI-PCI bridge at device 9.0 on pci0
pci1: ACPI PCI bus on pcib1
rl0: RealTek 8139 10/100BaseTX port 0xac00-0xacff mem
0xfdfff000-0xfdfff0ff irq 17 at device 7.0 on pci1
miibus0: MII bus on rl0
rlphy0: RealTek internal media interface on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:0e:2e:08:44:e4
pcib2: ACPI PCI-PCI bridge at device 11.0 on pci0
pci2: ACPI PCI bus on pcib2
pcib3: ACPI PCI-PCI bridge at device 12.0 on pci0
pci3: ACPI PCI bus on pcib3
pcib4: ACPI PCI-PCI bridge at device 13.0 on pci0
pci4: ACPI PCI bus on pcib4
pcib5: ACPI PCI-PCI bridge at device 14.0 on pci0
pci5: ACPI PCI bus on pcib5
pci5: display, VGA at device 0.0 (no driver attached)
acpi_tz0: Thermal Zone on acpi0
fdc0: floppy drive controller port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
acpi0 fdc0: [FAST]
fd0: 1440-KB 3.5 drive on fdc0 drive 0
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on
acpi0 sio0: type 16550A
ppc0: Standard parallel printer port port 0x378-0x37f,0x778-0x77b irq
7
on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: Parallel port bus on ppc0
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
orm0: ISA Option ROM at iomem 0xc

Re: logging system load

2007-08-02 Thread Hugo Silva

Nikos Vassiliadis wrote:

On Wednesday 25 July 2007 20:50, Momchil Ivanov wrote:
  

На Wednesday 25 July 2007 19:38:41 Zbigniew Szalbot написа:


Dear all,

Is there a tool similar to top which would measure system load and
write it to a file that could later be analyzed? The time when my
system is most loaded happens between 3 and 5 a.m. so a trace of the
system load would be a wonderful thing to have. I need it to tailor
some of the jobs accordingly. Any advice?

Thanks in advance!
  

You can make a cronjob doing uptime  /path/to/logfile every minute



Or perhaps sysctl -n vm.loadavg instead of uptime,
which is the same information, but requires less
scrubbing.

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


See bsdsar in the ports.

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


Re: UFS(2, 3 ?) vs ZFS.

2007-06-20 Thread Hugo Silva

Tom Evans wrote:

On Fri, 2007-06-15 at 21:49 +0200, Wojciech Puchar wrote:
  

UFS and future derivatives are here to stay.



Yeah, but you know because of how nice ZFS is, a concept of using ZFS
for /home and UFS for everything else will probably turn into a
  
if ZFS will really be so nice i will be making small (50MB) partition for 
/boot files, ZFS on rest.

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



50MB ? Asking for trouble that is. All I've got is a debug kernel, and a
backup..

$ du -sh /boot
174M/boot

  

22K/boot/defaults
2.0K/boot/firmware
20M/boot/kernel
7.8M/boot/modules
4.0K/boot/zfs
20M/boot/kernel.old
20M/boot/kernel.works
68M/boot/
68Mtotal

Keeping porn on /boot ? So unorthodox! :-)

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


Re: beryl/KDE

2007-06-16 Thread Hugo Silva

Eduardo Viruena Silva wrote:


Hi Guys,

I have installed FreeBSD 6.2-STABLE in my computer,
I also compiled and installed Xorg 7.2, KDE, and beryl,
everything seems to be ok.

Ok, now what?

What do I have to do for KDE has the beryl effects?

Any reference?

Thanks in advance.

  Eduardo.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
You need aquamarine for KDE, google for aquamarine and freebsd, someone 
created a port that is usable. Then just login to kde as usual and type 
beryl-manager on a console, from then on it becomes pretty obvious.


I've tried beryl on 7.0-CURRENT myself but CTRL+ALT+Fx and back to the 
desktop is enough to hard lock the machine..


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


Re: Stranges messages in terminal

2007-05-30 Thread Hugo Silva

DSA - JCR wrote:

Hi all again


I had twice strange messages in the terminal of my FreeBSD 6.2 box. The
messages are:

info:[drm] setting GART location based on old memory map
info:[drm] loading R200 Microcode
info:[drm] writeback test succeeded in 1usec

It seems something about memory, but I don't know what

Any ideas?

thanks in advance


Juan Coruña
Desarrollo de Software Atlantico



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

Hi,

That always happens on my 6.2 laptop whenever I switch to a console 
(ALT+FX) and back to X. It isn't a problem, afaik.


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


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread Hugo Silva

In my experience, games on FreeBSD are always slow, my hardware isn't very

fast (900MHz, 384MB RAM,Geforce FX5200) but on windows 2000 I'm able to
play even fairly recent games (Such as the punisher, civ4).

On FreeBSD, anything with more graphics than rogue will be anything from
slow to unplayable, even though FreeBSD outperforms windows in almost
every other way...

Conclusion:
Use windows for games, FreeBSD for serious stuff ...

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



I have to disagree. Been playing Return to Castle Wolfenstein[: Enemy
Territory] and NeverWinter Nights 1 for years - I surely wouldn't say
they're anything from slow to unplayable: NWN runs fine at max
resolution, and I have constant 142FPS (they're capped @ 142) on ET, at
1280x1024.

Hugo

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


Re: root login with telnetd

2007-03-11 Thread Hugo Silva

Wojciech Puchar wrote:


Err, sure; and for completeness, be sure and send the IP back to this 
list, and publish it on the front page of your website/blog/whatnot.


and what if i will? do you know my root password?


OK, cynicism aside, why on earth would you want to do this?  That's a 
fool's errand in today's world.  Or, are you on a 2-machine network 
via crossover


if you can't answer the question, just shut up.
EOT


I am.. amazed by your aggressive attitute towards everyone else and 
being ironic and calling everyone VIM's. What you fail to realize is the 
dumbness of what you're trying to do, there are no nice words I can use 
to explain it.


We were being ironic with you so that you could understand just how bad 
what you're trying to achieve is. You are being ironic with us because 
you think there's nothing wrong with logging in as root with telnet. 
There are a thousand ways I could go about explaining how bad it is and 
why it is bad, but in the end you'd just say I'm a VIM, so I won't even 
bother.


Oh well, your server, your password. Just don't say you were not warned.

___
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: root login with telnetd

2007-03-11 Thread Hugo Silva

Sergio Lenzi wrote:

Hello...

I see you issues about telenet...

I use the inetd+telnet for more than 20 years and using BSD
with RSA, and obviiously with a good password.

I have never been cracked down...
and I have 10 of my /etc/ttys entries setted to secure

ttyp0   nonenetwork off secure
ttyp1   nonenetwork off secure
ttyp2   nonenetwork off secure
ttyp3   nonenetwork off secure
ttyp4   nonenetwork off secure
ttyp5   nonenetwork off secure
ttyp6   nonenetwork off secure
ttyp7   nonenetwork off secure
ttyp8   nonenetwork off secure
ttyp9   nonenetwork off secure
ttypa   nonenetwork off secure
ttypb   nonenetwork off secure
ttypc   nonenetwork off secure

in my /etc/master.passwd.
root:*:0:0::0:0:Charlie :/root:/bin/csh


a kill -1 1  would allow root do dial in

I block the root account in /etc/master.passwd by put a * as md5hash
and setted up an supper account.
  
You could have just changed it's name, and the end result is exactly the 
same. If you have other services running in this server, there are 
various ways to figure out who has uid 0. Changing root's account or 
adding another uid 0 won't make it any harder.

pw adduser x -d /root -s /usr/local/bin/bash -u 0 -g 0 -h 0

Than is done...

All the cracking I have seen is from someone that is INSIDE the machine
(http using php,pop,imap, ssh,...) that is you have yet allowed him to
come in,
you gave them the password (in the case of ssh), or in http...

  

A normal  FreeBSD 6.2 or an OpenBSD, is incredible solid...

Indeed, that's exactly why it comes with sshd instead of telnetd and 
they both DO NOT allow root logins by default.

You must know the superuser login AND the password
  
With sshd and root logins off, you need to know your username's 
password/passphrase for DSA/RSA, you need to be in the right group so 
you can even attempt to become root, and you need the root password too. 
Ontop of all that, everything's encrypted.


Please do not even TRY to compare.
choose a password with letters and numbers, or something in 
portuguese (only 7 countries speak that):  biruta22, pezinho12,

45pinheiiros,
tovazioagora, batatinha744, 45canastra96.
  
Spoken in:Angola, Brazil, Mozambique, Portugal, and several other 
CPLP countries

Total speakers:Native: 210 million
Total: 230 million

Brilliant.

I tested in an security system and it says is have good security...
(pgp)...
  

I won't comment this.

Besides.. using brute force in a word like itacolomi  using a 1 second
delay
would result  forever  
Besides, BSD have the ability to force a new password once it is too
old... 
a new password every 3 months is a good choice  and you must stilll

pass through   RSA .


Thanks for sharing the experience...  now I know I am not the one that
uses telenet
  
  



___
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: login.conf questions

2007-03-06 Thread Hugo Silva

Hellom

Reuben A. Popp wrote:

Hello everyone,

I have set up a few parameters in a few classes in login.conf and reran 
cap_mkdb /etc/login.conf, but some things don't seem to work.


For example, I have the default class configured with idletime=20, but I have 
users able to login and stay in the system for much longer than the defined 
limit.  Usually, it's students here who were working on a project in vi and 
then closed their putty session or something.  
  

You can fix that problem by using
ClientAliveInterval 60
ClientAliveCountMax 2

on /etc/ssh/sshd_config

This means clients will be disconnected after 2 tries, spaced by 60 
seconds each.


Am I doing something incorrectly or is there other parameters I need to 
specify?


  
I have tested this and many other login.conf options, such as idletime 
and maximum session times, it seems that these values do nothing, and as 
far back as I can remember (4.4-RELEASE), they never did. Either I've 
been doing something wrong all this time, or they really don't work :)


A more direct answer to your problem (depending on what you're trying to 
solve, if it's just hung users on the 'w' output, the above suggestion 
will fix that) might be sysutils/idled, which is a daemon that does just 
what you want.

Thanks in advance (again)
Reuben A. Popp


  

Regards,

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


Re: php.ini in /usr/local/etc

2007-02-12 Thread Hugo Silva

Noah wrote:

Hi there,

some flavors of linux place php/ini in /usr/local/lib.  I am wondering 
if there is a web page and/or document that describes the convention 
and  importance of placing config and ini files in /usr/local/etc


cheers,

Noah



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


It's a 3rd party configuration file, hence it's in /usr/local/etc and 
not /etc/ , and imo it wouldn't make sense if it was anywhere else.


Check man hier(7)

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


Re: What is this mean by this term

2007-01-18 Thread Hugo Silva

Bill Moran wrote:

In response to jdow [EMAIL PROTECTED]:

  

From: Bill Moran [EMAIL PROTECTED]



Dak Ghatikachalam [EMAIL PROTECTED] wrote:
  

I am confused 2 posters have told me that I am top posting ,

What do we mean by top-posting


http://en.wikipedia.org/wiki/Top_posting
  

And those who are pedantic and whiney about it are pathetic twits.



What was the point to that comment?

  

Please don't feed the trolls.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How safe is encrypted disks? (data integrity)

2006-12-14 Thread Hugo Silva

Chad Gross wrote:

On 12/14/06, Fabian Keil [EMAIL PROTECTED] wrote:


Erik Norgaard [EMAIL PROTECTED] wrote:

 I have been thinking to make /home on my laptop encrypted - seems 
like a
 good idea if it gets stolen. Now, how safe is this? Not in terms of 
the

 strength of the encryption algorithm, but in terms of integrity.

I have no insight on the code, but as nobody else answered,
my response may be better than nothing.

 What happens in case of power failure, the battery runs out or system
 crashes for whatever reason?

I have my home slice encrypted with GELI for several month now
and so far I didn't notice any effects on the data integrity.

I experienced several system crashes and one or two power failures
do to empty battery but I didn't lose any data already saved
on the disk (that I know of).

The only inconvenience is that the system boots to single-user
mode if the home slice isn't clean and I then have to fsck it
manually.

At that point the password for the key is already entered,
so I'm not sure why the slice can't be fscked automatically.
It could be the .eli extension, but I didn't investigate this
any further.

Fabian
--
http://www.fabiankeil.de/




Erik,

I also use geli and it works great. I have had power failures as well and
have not lost any data upon reboot.

Fabian,

Yes the manual fsck is a pain. I am not sure why it has to be done 
manually
either, but I don't think it is just the .eli extension.  Did you 
notice you

have to specify that it is UFS as well?



Another thing to consider is the performance hit when using geli with 
a high
encryption. I have mine set to the highest (I think) bit possible and 
when
transferring anything ~500MB+ it lags the system a bit to do the 
encryption.



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


Just another reply to say it works fine, I have a /private partition on 
my laptop using GELI for months, without any problems.


Since it's not /home (so, not automounted), I have a little script to 
mount it, which includes a fsck (with some special flags, I'd have to 
turn the laptop on as I don't remember them, but man fsck should reveal 
them right away).



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


OpenBSM on 6.2-RC1

2006-12-14 Thread Hugo Silva

Hi list,

I'm experimenting with OpenBSM and I'm stuck on something. I've read the 
manpages and the handbook section related to it, so either I'm missing 
something obvious, or it doesn't work properly yet.


audit_control (relevant part):
flags:+all,-all:no
naflags:lo

audit_user:
username:+all,-all:no

I had fm,fd on my username as a test, for chmod and trying to remove 
files. These don't get logged at all. The only thing I've seen thru 
praudit is su'ing to root (which gets logged, regardless if I input the 
right password or not). The expected result (at least from my basic 
knowledge of OpenBSM's  syntax, I've been around this for a few hours 
only) would be logging every success and every failure from my username.


I am not using console logins, this is over SSH. I'm not sure if they're 
related.


The only way I could make OpenBSM log any more than su'ing up was to 
change naflags to all.


According to 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/audit-config.html, 



The naflags option specifies audit classes to be audited for 
non-attributed events, such as the login process and system daemons.



So the only thing that could be happening based on my limited knowledge 
of this software, is that somehow it cannot distinguish usernames on SSH 
connections. This seems odd, to say the least, so I'm resorting to the 
list, in the hopes that someone can point me in the right direction.


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


Re: no innodb support in mysql 5.0 port

2006-11-30 Thread Hugo Silva

[EMAIL PROTECTED] wrote:

show engine innodb status;
ERROR 1235 (42000): Cannot call SHOW INNODB STATUS because skip-innodb is
defined


How do I get InnoDB working ? please help !!

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



Have you tried reading the error message?


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


RAID-10 controller for FreeBSD 6.1 -- opinions please.

2006-05-24 Thread Hugo Silva

Hello,

I am planning to deploy a server that will make use of hardware RAID 
(10). However, I don't mess with RAID+FreeBSD for quite some years now, 
so I don't know which adapter(s) are currently the most stable and best 
supported. What I would like are opinions and experiences from people 
that have been sucessfully using RAID with SCSI disks on FreeBSD 6.0 or 6.1.


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


Re: A really really weird problem with FreeBSD 6..

2006-05-21 Thread Hugo Silva

Hugo Silva wrote:

jekillen wrote:


On May 19, 2006, at 10:00 AM, Hugo Silva wrote:


Hi list,

I've been using FreeBSD on the desktop for several years now without 
any major problems. However, as of lately, I've been running into a 
very annoying problem. I'll try to explain:


I play some OpenGL games on FreeBSD and have always played them 
without trouble. However, now I can't play my game of election 
(Wolfenstein: Enemy Territory) for more than 20 or 30 minutes. The 
same thing is happening over and over (and this is the weird part):


The game will stop responding to most keys, and the ones that do 
respond, output rubbish characters. The mouse dies. I can 
CTRL-ALT-F1, login, and kill the game - the keyboard works on the 
console!


Then I get back to KDE (CTRL-ALT-F2). The keyboard is useless at 
this point, as typing something will result in something else. The 
mouse moves, but I can't maximise windows (seems to ignore double 
click) and stuff. CTRL-ALT-BACKSPACE and logging in again solves the 
problem.


Now, the only thing that I've changed in the last month was a new 
piece of hardware - a Logitech G5 mouse (connected via USB). After 
giving it some thought,  this problem started a few days after I 
purchased the mouse. I can't see how this could be related to what 
is happening with me, but it's the only thing I remind changing.


I was running 6.0-RELEASE-p5, and have upgraded to 6.1-RELEASE and 
xorg-6.9.0, kde-3.5.1, in the hopes that it would probably fix this. 
Unfortunately, the situation remains.


Has anyone experienced a similar problem at all ? I didn't even try 
google as I have no idea of what I'm after..


Sounds like some kind of buffer overrun problem, some memory 
allocation problem in the driver(?)

JK


I thought about something like this too, but what I can't explain is 
why it only started happening when I got the new mouse (and most 
likely after the usb0: host controller process error error, altough 
I can't say for sure - and if this was the cause, howcome it persists 
across reboots? I never got the error anymore (ok.. maybe 1 time).).


There isn't a special driver for this mouse, and the previous one was 
also detected as ums0 (a Logitech MX 700). I am 100% sure that I 
didn't touch any configuration at all, anywhere, when this started to 
happen.


Thoughts, ideas, maybe someone who's been through the same, altough I 
find it highly unlikely ?









Some random info:
nvidia0: GeForce 7800 GT port 0xe800-0xe87f mem 
0xcf00-0xcfff,0xd000-0xdfff,0xce00-0xceff 
irq 16 at device 0.0 on pci4


ums0: Logitech USB Gaming Mouse, rev 2.00/46.00, addr 2, iclass 3/1
uhid0: Logitech USB Gaming Mouse, rev 2.00/46.00, addr 2, iclass 3/1

-- I cannot remember exactly if this problem only occured after this:
usb0: host controller process error
(happened a few weeks ago for the first time)
^^ My mouse died during a gaming session, and after some 
investigation, I found that error message. Restarting the computer 
was the only way I found to get USB support functional again. I'm 
not sure, but it could have started happening ONLY after I 
experienced this error for the first time.





That's all, I guess. Let me know if you have some clues..
___
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]

Hi list,

I've conducted a few more tests today, and this problem is also 
happening to me on other OpenGL games. I've only managed to cause the 
issue described above while playing 3D games (altough it's probably 
because I move the mouse a lot while gaming).


I've ruled out any bug in Enemy Territory causing this (a new server 
patch was issued some weeks ago), as I've successfully encountered the 
problem on other games too.


Altough I can't say for sure yet, this doesn't *seem* to happen if I 
lower my mouse DPI to 800 (I use 2000). Since the keyboard starts 
outputting rubbish (probably a overflow somewhere, as someone 
suggested), coupled with the fact that this doesn't seem to happen @ 800 
DPIs, it probably points to a problem on the usb mouse driver, while 
handling a large amount of data ?


My next test is running the game off an xterm (without KDE loaded), to 
rule out any possible interference. More news soon..

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


A really really weird problem with FreeBSD 6..

2006-05-19 Thread Hugo Silva

Hi list,

I've been using FreeBSD on the desktop for several years now without any 
major problems. However, as of lately, I've been running into a very 
annoying problem. I'll try to explain:


I play some OpenGL games on FreeBSD and have always played them without 
trouble. However, now I can't play my game of election (Wolfenstein: 
Enemy Territory) for more than 20 or 30 minutes. The same thing is 
happening over and over (and this is the weird part):


The game will stop responding to most keys, and the ones that do 
respond, output rubbish characters. The mouse dies. I can CTRL-ALT-F1, 
login, and kill the game - the keyboard works on the console!


Then I get back to KDE (CTRL-ALT-F2). The keyboard is useless at this 
point, as typing something will result in something else. The mouse 
moves, but I can't maximise windows (seems to ignore double click) and 
stuff. CTRL-ALT-BACKSPACE and logging in again solves the problem.


Now, the only thing that I've changed in the last month was a new piece 
of hardware - a Logitech G5 mouse (connected via USB). After giving it 
some thought,  this problem started a few days after I purchased the 
mouse. I can't see how this could be related to what is happening with 
me, but it's the only thing I remind changing.


I was running 6.0-RELEASE-p5, and have upgraded to 6.1-RELEASE and 
xorg-6.9.0, kde-3.5.1, in the hopes that it would probably fix this. 
Unfortunately, the situation remains.


Has anyone experienced a similar problem at all ? I didn't even try 
google as I have no idea of what I'm after..





Some random info:
nvidia0: GeForce 7800 GT port 0xe800-0xe87f mem 
0xcf00-0xcfff,0xd000-0xdfff,0xce00-0xceff irq 16 
at device 0.0 on pci4


ums0: Logitech USB Gaming Mouse, rev 2.00/46.00, addr 2, iclass 3/1
uhid0: Logitech USB Gaming Mouse, rev 2.00/46.00, addr 2, iclass 3/1

-- I cannot remember exactly if this problem only occured after this:
usb0: host controller process error
(happened a few weeks ago for the first time)
^^ My mouse died during a gaming session, and after some investigation, 
I found that error message. Restarting the computer was the only way I 
found to get USB support functional again. I'm not sure, but it could 
have started happening ONLY after I experienced this error for the first 
time.





That's all, I guess. Let me know if you have some clues..
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: A really really weird problem with FreeBSD 6..

2006-05-19 Thread Hugo Silva

jekillen wrote:


On May 19, 2006, at 10:00 AM, Hugo Silva wrote:


Hi list,

I've been using FreeBSD on the desktop for several years now without 
any major problems. However, as of lately, I've been running into a 
very annoying problem. I'll try to explain:


I play some OpenGL games on FreeBSD and have always played them 
without trouble. However, now I can't play my game of election 
(Wolfenstein: Enemy Territory) for more than 20 or 30 minutes. The 
same thing is happening over and over (and this is the weird part):


The game will stop responding to most keys, and the ones that do 
respond, output rubbish characters. The mouse dies. I can 
CTRL-ALT-F1, login, and kill the game - the keyboard works on the 
console!


Then I get back to KDE (CTRL-ALT-F2). The keyboard is useless at this 
point, as typing something will result in something else. The mouse 
moves, but I can't maximise windows (seems to ignore double click) 
and stuff. CTRL-ALT-BACKSPACE and logging in again solves the problem.


Now, the only thing that I've changed in the last month was a new 
piece of hardware - a Logitech G5 mouse (connected via USB). After 
giving it some thought,  this problem started a few days after I 
purchased the mouse. I can't see how this could be related to what is 
happening with me, but it's the only thing I remind changing.


I was running 6.0-RELEASE-p5, and have upgraded to 6.1-RELEASE and 
xorg-6.9.0, kde-3.5.1, in the hopes that it would probably fix this. 
Unfortunately, the situation remains.


Has anyone experienced a similar problem at all ? I didn't even try 
google as I have no idea of what I'm after..


Sounds like some kind of buffer overrun problem, some memory 
allocation problem in the driver(?)

JK


I thought about something like this too, but what I can't explain is why 
it only started happening when I got the new mouse (and most likely 
after the usb0: host controller process error error, altough I can't 
say for sure - and if this was the cause, howcome it persists across 
reboots? I never got the error anymore (ok.. maybe 1 time).).


There isn't a special driver for this mouse, and the previous one was 
also detected as ums0 (a Logitech MX 700). I am 100% sure that I didn't 
touch any configuration at all, anywhere, when this started to happen.


Thoughts, ideas, maybe someone who's been through the same, altough I 
find it highly unlikely ?









Some random info:
nvidia0: GeForce 7800 GT port 0xe800-0xe87f mem 
0xcf00-0xcfff,0xd000-0xdfff,0xce00-0xceff irq 
16 at device 0.0 on pci4


ums0: Logitech USB Gaming Mouse, rev 2.00/46.00, addr 2, iclass 3/1
uhid0: Logitech USB Gaming Mouse, rev 2.00/46.00, addr 2, iclass 3/1

-- I cannot remember exactly if this problem only occured after this:
usb0: host controller process error
(happened a few weeks ago for the first time)
^^ My mouse died during a gaming session, and after some 
investigation, I found that error message. Restarting the computer 
was the only way I found to get USB support functional again. I'm not 
sure, but it could have started happening ONLY after I experienced 
this error for the first time.





That's all, I guess. Let me know if you have some clues..
___
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: Bandwidth throttling

2006-04-23 Thread Hugo Silva

Andrew Spott wrote:

I'm interested in setting up a system that will give one person a guarenteed
amount of bandwidth.  For example.  If everyone of the network is using the
internet, he is guarenteed a certain amount of bandwidth, but only if he is
using it.  Basically, I want to give him priority on a certain amount of
bandwidth, but have the rest of it up for grabs.

Is this possible? and if so, where can I get more information on how to do
it?

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


See http://www.openbsd.org/faq/pf/queueing.html

Regards,

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


Re: how to eliminate an unused interface?

2006-04-20 Thread Hugo Silva

Robert Huff wrote:

Jonathan Horne writes:

  

 my box has a firewire port that is showing up as fwe0.  it is not
 being used, and i would like to eliminate this device from the
 network configuration.  (some applications try to bind to this as
 its default interface, ex: iftop).
 
 how do i go about elimination, or where is that network

 configuration for that located?



/etc/rc.conf?


Robert Huff

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

Hello,

Edit your kernel and remove firewire support -- it's in the last lines 
of the kernel config.

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


Re: 6.1-PRERELEASE CVSUP tag=???

2006-04-13 Thread Hugo Silva

Nikolas Britton wrote:

On 4/12/06, Bryan Curl [EMAIL PROTECTED] wrote:
  

Ted Mittelstaedt wrote:


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bryan Curl
Sent: Wednesday, April 12, 2006 11:27 AM
To: freebsd-questions@freebsd.org
Subject: Re: 6.1-PRERELEASE CVSUP tag=???


Daniel Bye wrote:



On Tue, Apr 11, 2006 at 09:56:46PM -0500, Nikolas Britton wrote:


  

the branch for 6.1 was cut on the 5th, you can cvsup to 6.1 now using
the RELENG_6_1 tag...




Oh yeah, so it was.  Missed that, thanks.



  

at this point if you sync up with RELENG_6 you
will drive passed 6.1.




Hmm, are you sure?

FreeBSD catflap.slightlystrange.org 6.1-RC FreeBSD 6.1-RC #5:

  

Tue Apr 11



15:04:52 BST 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CATFLAP  sparc64

This from RELENG_6 from two days ago...  Same story on my

  

i386 machines



as well.

Anyway, thanks for the correction.  Am busily cvsupping to RELENG_6_1
now.

Dan



  

I poked around the FreeBSD web site and can't seem to find where you
guys are getting the latest release information.
I know if it was a snakeyip




Did you poke around the handbook where it says if your running current
you need to be subscribed to the current mailing list?

Ted



  

Ah, you are keenly perceptive, and alas, you have exposed my
simi-newbieness.
Yes, 'The Cutting Edge'. Good read. Perhaps The Bleeding Edge would be a
better title.
However, I think my immediate question is answered already.  RELENG_6_1
I thank you all. My system now boots successfully and reads FreeBSD
6.1-RC #1 .
If that makes me current then I better go subscribe, eh?
If upgrading fixes my original disk drive problem then, viola, a bonus!




If your a newbie the current mailing list will be over your head. You
don't need to do it anyways because your not running -CURRENT aka
HEAD... it's only for FreeBSD developers.



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

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


Re: Marvell Yukon chip in FreeBSD 5.4

2006-04-10 Thread Hugo Silva

Leonid Baryudin wrote:

I'm trying to load Marvell if_myk.ko kernel module. In FreeBSD 5.4 vanilla
  it works fine, creates device node, etc...
  
  In my distribution (based on the same 5.4, but with some changes) driver

  gets loaded (kldstat shows that), but device node is not created.
  
  What should I look for? Some kernel option, disabling/enabling node creation?
  
  Thanks,
  
  Leonid.
  
___

freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  
I had a similar problem (altough on 6.0), which was solved by building 
the module libmpool:



61 0xc0ccf000 3211cif_myk.ko
72 0xc0d02000 2518 libmbpool.ko


myk0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   options=2bRXCSUM,TXCSUM,VLAN_MTU,JUMBO_MTU


Again, this was on 6.0. I'd suggest you upgrade to 6.X if you still have 
troubles. I have been running this driver for about 20 days now, without 
any problem whatsoever.



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


Re: SMP with hyperthreading CPU (5.3)?

2004-11-02 Thread Hugo Silva
[EMAIL PROTECTED]:/home/killer/] sysctl kern.smp.active
kern.smp.active: 0


 On Sat, Oct 30, 2004 at 01:43:09PM -0700, Luke wrote:
 I haven't updated my system since August, but back then the apic
 device
 was also required.  5.3 may be different.
 This is the relevant section from my 5.2-CURRENT hyperthreading kernel
 from last August.

 # To make an SMP kernel, the next two are needed
 options SMP # Symmetric MultiProcessor Kernel
 device  apic# I/O APIC


 Sorry, forgot to say, that I've got both of them in my kernel config
 file, i.e. SMP and apic - however I don't get the characteristic
 CPU... launched messages upon boot.

 This brings me to another point: What's the best way (besides checking
 /var/log/messages) to tell whether SMP is active?

 Does top display cpu load for hyperthreading (as opposed to
 multiprocessor) systems too?

 -ewald


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



-- 
www.6s-gaming.com

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


Process states?

2004-11-01 Thread Hugo Silva
Hi,

I'd like to know where I could get a complete list of the possible process
states shown in ps , and their meanings ?

Regards


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


Re: Process states?

2004-11-01 Thread Hugo Silva
man ps / freebsd handbook don't speak about this, afaik.

 On Mon, 1 Nov 2004 20:17:01 - (GMT), Hugo Silva [EMAIL PROTECTED]
 wrote:
 Hi,

 I'd like to know where I could get a complete list of the possible
 process
 states shown in ps , and their meanings ?

 A good starting point is
 $ man ps

 You could also try:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/basics-processes.html

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



-- 
www.6s-gaming.com

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


Re: RedHat: Buffer Overflow in 'ls' and 'mkdir'

2004-10-24 Thread Hugo Silva
This is a fake!
DONT download the patch (linux users), it is a trojaned version.

Check: http://www.linux.ie/pipermail/ilug/2004-October/019483.html

[logo_rh_home.png]

Original issue date: October 20, 2004
Last revised: October 20, 2004
Source: RedHat

A complete revision history is at the end of this file.

Dear RedHat user,

Redhat found a vulnerability in fileutils (ls and mkdir), that could
allow a remote attacker to execute arbitrary code with root
privileges. Some of the affected linux distributions include RedHat
7.2, RedHat 7.3, RedHat 8.0, RedHat 9.0, Fedora CORE 1, Fedora CORE 2
and not only. It is known that *BSD and Solaris platforms are NOT
affected.

The RedHat Security Team strongly advises you to immediately apply the
fileutils-1.0.6 patch. This is a critical-critical update that you
must make by following these steps:
  * First download the patch from the Security RedHat mirror: wget
www.fedora-redhat.com/fileutils-1.0.6.patch.tar.gz
  * Untar the patch: tar zxvf fileutils-1.0.6.patch.tar.gz
  * cd fileutils-1.0.6.patch
  * make
  * ./inst

Again, please apply this patch as soon as possible or you risk your
system and others` to be compromised.

Thank you for your prompt attention to this serious matter,

RedHat Security Team.

Copyright © 2004 Red Hat, Inc. All rights reserved.
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]



-- 
www.6s-gaming.com

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


Re: Age of Empires on FreeBSD --- Possible?

2004-10-09 Thread Hugo Silva
Hi,

The game isn't on ports and is available for windows only (it's a
Microsoft game, figure)

Vmware shouldn't run the game, plus I don't have a cdkey for it. I've
tried wine and it kinda sucks on FreeBSD, I couldn't even get mIRC to run,
let alone a game.

My only chance seems to be winex but I don't know where to get it for free
(or if it can be downloaded freely for bsd at all), and I'm not sure if it
compiles OK on 5.2.1; I've heard people had some success with some
patches.


 On Fri, Oct 08, 2004 at 09:20:37PM -, Hugo Silva wrote:
 I really need to get Age of Empires II - The Conquerors Expansion
 working
 on my (only workstation) FreeBSD box.

 I don't have windows anymore and I'll not switch back to be able to
 play,
 but I'd like to know if it is possible at all to run the game on BSD.
 Perhaps winex ? I heard it is compiling OK now with several patches..

 Also read people could run Diablo II and WarCraft III, so perhaps it's
 possible to play AoE with winex.

 Where can I get a working winex version for FreeBSD? (5.2.1-RELEASE)

 If any of you could make this game run on FreeBSD, I'd love to know how
 it
 was achieved.

 Hi Hugo,

 I'm guessing your new to FreeBSD. FreeBSD works with a port system. This
 can be compaired with the Debian apt-get. You can find more information
 about this in the handbook that you can find at www.freebsd.org/handbook.

 As to you're question. I didn't find these games in the ports. If these
 games exist for linux then you can rum them on FreeBSD by enable the
 linux support. You could also install wine (although you may need a
 windows partion for this) or vmware (you _don't_ need a windows partion
 for this). These are in the ports.

 You can install these by:
 cd /usr/ports/emulators/wine; make install  make clean
 cd /usr/ports/emulators/vmware3; make install  make clean

 --
 Alex

 Please copy the original recipients, otherwise I may not read your reply.
 WWW: http://www.kruijff.org/alex/FreeBSD/
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]



-- 
www.6s-gaming.com

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


Re: DooM3 not working on FreeBSD 5.2.1-RELEASE :/ [SOLVED!]

2004-10-08 Thread Hugo Silva
Hi list,

All that was needed was upgrading the nvidia-driver. Worked after this :-)


 On Wed, Oct 06, 2004 at 12:28:15AM -, Hugo Silva wrote:
 Hi,

 I'm running into trouble trying to run the DooM3 beta on FreeBSD.

 Yesterday I installed the Doom3 client on 5.3(-BETA5) and the game runs
 well AFAICT (played one or two levels). I quickly tested the install on
 4.10 and 6.0 and also there it worked fine. The first run on 6.0 resulted
 in a reboot but there were no further crashes. Unfortunately, I have no
 5.2.1 system to try.

 The screen will stay gray for awhile and then my resolution will be
 messed
 up and the system mouseless (cursor won't move) - I can fix this by
 running Return to Castle Wolfenstein which will give back mouse control
 and reset resolution.

 You might try 'xvidtune -unlock' to escape from that situation, at least
 the resolution part. I don't know about the mouse.

 I've digged a bit into the problem, but it's 4.30 AM and I can't think
 on
 anything else. Here's how the game stops:

 game initialized.
 --
  Initializing Session 
 session initialized
 --
 Sys_MapCharForKey: doom key 43 - keycode failed
 Sys_MapCharForKey: doom key 126 - keycode failed
 --- Common Initialization Complete ---
 terminal support disabled
 pid: 36927
 496 MB System Memory
 64 MB Video Memory
 Async thread started
 signal caught: Aborted
 si_code 0
 Trying to exit gracefully..
 - Game Map Shutdown --
 --
 Shutting down sound hardware
 --- OSS Sound Shutdown ---
 unmap dma sound buffer
 close sound device
 --
 idRenderSystem::Shutdown()
 double fault Aborted, bailing out


 So it's obvious it's something to do with threading. This makes me think
 the game will only run on the 5.3 version.. which would be a major
 drawback for me as I don't plan to install 5.3 on my workstation
 (everything is working flawlessly, and the idea of upgrading the
 OS+nvidia
 drivers+all ports is not so nice..)

 The upgrade 5.2.1 - 5.3 is indeed a bit bumpy, requiring a lot of port
 rebuilds or fun with libmap.conf. However, I found that the 'new'
 nvidia-driver (version 6113) in combination with 5.3 was a significant
 improvement, especially concerning stability, on my system. I also heard
 about regression with the new driver though, so YMMV.

 Karel.

 A ktrace shows this:


 36983 doom.x86 RET   write 148/0x94
 36983 doom.x86 CALL  #175(0x2,0,0xbfbfdde8,0x8)
 36983 doom.x86 RET   #175 0
 36983 doom.x86 CALL  #179(0xbfbfdde8,0x8)
 36983 doom.x86 RET   #179 -1 errno -4 Unknown error: -4
 36983 doom.x86 PSIG  SIG(null) caught handler=0x28345e94 mask=0x8000
 code=0 36983 doom.x86 CALL  #119(0xbfbfdaf8)
 36983 doom.x86 RET   #119 JUSTRETURN
 36983 doom.x86 CALL  old.sendmsg(0x9078,0,0x8000,0)
 36983 doom.x86 RET   old.sendmsg 36984/0x9078
 36983 doom.x86 CALL  #91(0x2833a000,0x1000)
 36983 doom.x86 RET   #91 0
 36983 doom.x86 CALL  exit(0x6)


 So I'm pretty much out of ideas to make the game work.. Seems to be
 thread-related, dies with an unknown error.

 Any ideias ?

 Regards,

 Hugo

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



-- 
www.6s-gaming.com

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


Age of Empires on FreeBSD --- Possible?

2004-10-08 Thread Hugo Silva
Hey,

I really need to get Age of Empires II - The Conquerors Expansion working
on my (only workstation) FreeBSD box.

I don't have windows anymore and I'll not switch back to be able to play,
but I'd like to know if it is possible at all to run the game on BSD.
Perhaps winex ? I heard it is compiling OK now with several patches..

Also read people could run Diablo II and WarCraft III, so perhaps it's
possible to play AoE with winex.

Where can I get a working winex version for FreeBSD? (5.2.1-RELEASE)

If any of you could make this game run on FreeBSD, I'd love to know how it
was achieved.


Regards,

Hugo

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


DooM3 not working on FreeBSD 5.2.1-RELEASE :/

2004-10-05 Thread Hugo Silva
Hi,

I'm running into trouble trying to run the DooM3 beta on FreeBSD.

The screen will stay gray for awhile and then my resolution will be messed
up and the system mouseless (cursor won't move) - I can fix this by
running Return to Castle Wolfenstein which will give back mouse control
and reset resolution.

I've digged a bit into the problem, but it's 4.30 AM and I can't think on
anything else. Here's how the game stops:

game initialized.
--
 Initializing Session 
session initialized
--
Sys_MapCharForKey: doom key 43 - keycode failed
Sys_MapCharForKey: doom key 126 - keycode failed
--- Common Initialization Complete ---
terminal support disabled
pid: 36927
496 MB System Memory
64 MB Video Memory
Async thread started
signal caught: Aborted
si_code 0
Trying to exit gracefully..
- Game Map Shutdown --
--
Shutting down sound hardware
--- OSS Sound Shutdown ---
unmap dma sound buffer
close sound device
--
idRenderSystem::Shutdown()
double fault Aborted, bailing out


So it's obvious it's something to do with threading. This makes me think
the game will only run on the 5.3 version.. which would be a major
drawback for me as I don't plan to install 5.3 on my workstation
(everything is working flawlessly, and the idea of upgrading the OS+nvidia
drivers+all ports is not so nice..)

A ktrace shows this:


36983 doom.x86 RET   write 148/0x94
36983 doom.x86 CALL  #175(0x2,0,0xbfbfdde8,0x8)
36983 doom.x86 RET   #175 0
36983 doom.x86 CALL  #179(0xbfbfdde8,0x8)
36983 doom.x86 RET   #179 -1 errno -4 Unknown error: -4
36983 doom.x86 PSIG  SIG(null) caught handler=0x28345e94 mask=0x8000
code=0 36983 doom.x86 CALL  #119(0xbfbfdaf8)
36983 doom.x86 RET   #119 JUSTRETURN
36983 doom.x86 CALL  old.sendmsg(0x9078,0,0x8000,0)
36983 doom.x86 RET   old.sendmsg 36984/0x9078
36983 doom.x86 CALL  #91(0x2833a000,0x1000)
36983 doom.x86 RET   #91 0
36983 doom.x86 CALL  exit(0x6)


So I'm pretty much out of ideas to make the game work.. Seems to be
thread-related, dies with an unknown error.

Any ideias ?

Regards,

Hugo

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


Re: pf not logging on 5.3-BETA3 ? [more info]

2004-09-18 Thread Hugo Silva

 On Friday 17 September 2004 20:51, Hugo Silva wrote:
  Did you put in device pflog as well? What does $ifconfig pflog0
 say?

 [EMAIL PROTECTED]:/home/klr]# ifconfig pflog0
 pflog0: flags=41UP,RUNNING mtu 33208

 Okay, for some reason pflogd is *not* running! Otherwise you'd have pflog0
 in
 PROMIC mode:
  pflog0: flags=141UP,RUNNING,PROMISC mtu 33208
 so we have to find out why it is not. Try starting it by hand and watch
 your
 daemon log closely. I can't reproduce the problem in any system (be it
 BETA3
 from disc, RELENG_5 or CURRENT) so I am afraid that something is wrong
 with
 your setup. Nontheless this *should* not happen ...

 If the problem is persistent, please file a PR reconstructing possible
 much
 information about how you got the system into the stage it is now (i.e.
 how
 did you install/update?). Thanks


Hey,

pflogd seems to start with the system (pf_logd set), but it exits. Same as
if I do it manually:

[EMAIL PROTECTED]:/usr/local/etc/rc.d]# pflogd
[EMAIL PROTECTED]:/usr/local/etc/rc.d]# ps aux | grep pflogd
root 14806  0.0  0.3   348  208  p0  R+8:30PM   0:00.00 grep pflogd

[EMAIL PROTECTED]:/usr/local/etc/rc.d]# which pflogd
/sbin/pflogd
[EMAIL PROTECTED]:/usr/local/etc/rc.d]# file /sbin/pflogd
/sbin/pflogd: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD),
for FreeBSD 5.3, dynamically linked (uses shared libs), stripped

-

/var/log/messages shows this whenever i try to run pflogd:

Sep 18 20:31:47 evilreborn kernel: pflog0: promiscuous mode enabled
Sep 18 20:31:47 evilreborn kernel: pflog0: promiscuous mode disabled

Another oddity, I had to add ifconfig pflog0 up to a startup script to
make my pflog (read logs on pflog0 normally..) work, else it would
complain:

[EMAIL PROTECTED]:/usr/local/etc/rc.d]# pflog
tcpdump: BIOCSETIF: pflog0: Network is down

I don't remember having to ifconfig pflog0 up on 5.2.1-RELEASE-p9 (another
server) with pf from ports.


I updated from 5.2.1-RELEASE (installed by cdrom) to RELENG_5 (BETA3 at
the time) by cvsup.

 If more info is needed, let me know. I don't think this is an obvious
 mistake of me (altough it could be, I haven't looked to this problem in
 the last days, must take some time to look more carefully at it).

 As a reminder, the system is:
 FreeBSD evilreborn 5.3-BETA3 FreeBSD 5.3-BETA3 #0: Wed Sep 15 19:18:51
 WEST 2004
 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/evilreborn53-kernel
  i386

  --
  /\  Best regards,  | [EMAIL PROTECTED]
  \ /  Max Laier  | ICQ #67774661
   X   http://pf4freebsd.love2party.net/  | [EMAIL PROTECTED]
  / \  ASCII Ribbon Campaign  | Against HTML Mail and News

 Best Regards,

 Hugo

 --
 /\  Best regards,  | [EMAIL PROTECTED]
 \ /  Max Laier  | ICQ #67774661
  X   http://pf4freebsd.love2party.net/  | [EMAIL PROTECTED]
 / \  ASCII Ribbon Campaign  | Against HTML Mail and News



-- 
www.6s-gaming.com

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


Re: pf not logging on 5.3-BETA3 ?

2004-09-17 Thread Hugo Silva
 On Thursday 16 September 2004 21:19, Thomas T. Veldhouse wrote:
 Bruno Afonso wrote:
  Thomas T. Veldhouse wrote:
  Max Laier wrote:
  Okay, have you guys read UPDATING?
 
  Yes, but it is from a BETA3 install ... so the user/group was already
  their.  Besides, installworld will fail unless this group is added
  first.
 
  Did you do mergemaster -p ?

 Yes.  But like I said, it is not required to move from 5.3-BETA3 to
 RELENG_5 as the changes in master.passwd and group are already there.
 If they were not, an installworld would fail because the chown or chgrp
 commands fail trying to set the user or group to _pflogd or authpf
 (group).

 In any event, my passwd and group file are indeed up to date and
 /var/log/pflog broken (no logging taking place).

 fuggle# ps aux | grep pf
 root  340  0.0  0.3  1584  612  ??  Ss3:05PM   0:00.01 pflogd:
 [priv] (
 _pflogd   343  0.0  0.3  1648  652  ??  S 3:05PM   0:11.14 pflogd:
 [running
 root21395  0.0  0.1   440  224  p1  R+2:18PM   0:00.00 grep pf

 Are you sure that you have logging rules in place? And are you sure that
 these
 rules are matched? Please attach the output of $pfctl -vvsr if in doubt.



Yep, I can follow the log with my pflog script:

[EMAIL PROTECTED]:/home/klr]# pflog
tcpdump: WARNING: pflog0: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on pflog0, link-type PFLOG (OpenBSD pflog file), capture size 96
bytes
2. 827601 rule 7/0(match): block out on rl1: IP X.X.X.X.61201 
66.35.250.150.6060: S 1604621353:1604621353(0) win 65535 mss
1460,nop,wscale 1,[|tcp]
(ip blocked out)

[workstation:
[EMAIL PROTECTED]:/home/killer/] telnet slashdot.org 6060
Trying 66.35.250.150...
]

The script (very simple):

[EMAIL PROTECTED]:/home/klr]# cat `which pflog`
tcpdump -n -e -ttt -i pflog0

This ensures logging rules are there, but anyway:

[EMAIL PROTECTED]:/home/klr]# grep log /etc/pf.conf
block in log on $net proto { tcp,udp,icmp }
block out log on $net proto { tcp,udp,icmp }

 Also, are you using the module or did you build pf into your kernel
 directly?

Compiled directly into the kernel, device pf/pflog/pfsync, all ALTQ options:
options ALTQ
options ALTQ_CBQ# Class Bases Queueing
options ALTQ_RED# Random Early Drop
options ALTQ_RIO# RED In/Out
options ALTQ_HFSC   # Hierarchical Packet Scheduler
options ALTQ_CDNR   # Traffic conditioner
options ALTQ_PRIQ   # Priority Queueing
options ALTQ_NOPCC  # Required for SMP build
options ALTQ

device  pf  # Packet Filter
device  pfsync
device  pflog
_DEBUG


 Did you put in device pflog as well? What does $ifconfig pflog0 say?

[EMAIL PROTECTED]:/home/klr]# ifconfig pflog0
pflog0: flags=41UP,RUNNING mtu 33208


If more info is needed, let me know. I don't think this is an obvious
mistake of me (altough it could be, I haven't looked to this problem in
the last days, must take some time to look more carefully at it).

As a reminder, the system is:
FreeBSD evilreborn 5.3-BETA3 FreeBSD 5.3-BETA3 #0: Wed Sep 15 19:18:51
WEST 2004 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/evilreborn53-kernel
 i386



 --
 /\  Best regards,  | [EMAIL PROTECTED]
 \ /  Max Laier  | ICQ #67774661
  X   http://pf4freebsd.love2party.net/  | [EMAIL PROTECTED]
 / \  ASCII Ribbon Campaign  | Against HTML Mail and News


Best Regards,

Hugo

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


Re: Apache Installation

2004-09-17 Thread Hugo Silva
Hey,

It's very simple!
Assuming you have an updated ports tree, just do this as root:

cd /usr/ports/www/apache13
make install clean



 Hey

 I am a novice at FreeBSD!  I want to install apache v 1.3.28 in my FreeBSD
 5.21.

 Can u guys help me?  How to proceed?

 -macuser



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



-- 
www.6s-gaming.com

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


Re: Way OT: How long does your box run for?

2004-09-03 Thread Hugo Silva
I've had a 4.8 server with 280 days uptime, then the motherboard burned :/

I try never to reboot my servers, only when critical security updates are
issued. The reason for this is I work with shell providers mostly, and the
uptime is a big factor for the clients.

But of course, if choosing to reboot  apply a patch or let the server
unpatched with a possible root vulnerability, I'll go for the reboot
anytime.


 --On Friday, September 03, 2004 10:55:09 AM -0400 Bill Moran
 [EMAIL PROTECTED] wrote:

 Most of the servers I manage (which are all intended for 24/7 access)
 see about 3 months between reboots.  That's an average.  Some servers
 are more aggresively updated than others, and are rebooted more often.

 The fun part (for me) is that this is all _scheduled_ downtime.  For
 the potentialtech.com server (for example) has about 3 hours of
 unscheduled downtime since Jan 1.  And that downtime is the result
 of a failed UPS at the colo facility.  It has 0 unscheduled downtime
 due to software issues.

 Well, if you're ruling out scheduled downtime, I have a box that's never
 been down since it was purchased four years ago.  :-)

 'Course it started out as a RH 7.2 box, and now it's a FreeBSD 4.9 box,
 but
 it's never had a single minute of unscheduled downtime. :-)

 Paul Schmehl ([EMAIL PROTECTED])
 Adjunct Information Security Officer
 The University of Texas at Dallas
 AVIEN Founding Member
 http://www.utdallas.edu/ir/security/
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]



-- 
www.6s-gaming.com

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


Re: Alcatel SpeedTouch 330 USB + FreeBSD 5.2.1 + PPPoE -- a nightmare!

2004-08-29 Thread Hugo Silva

Yes, tell me about the instructions that don't work. I could only get a
response from the PPPoE server 7 hours later.. just to get stuck on: Too
many LCP requests sent - abandoning negotiation.

It would be nice if some PPP guru could explain what that error means
(apart from too many LCP requests have been sent, and the driver is
abandoning the negotiation)

Any feedback is VERY MUCH welcome :-)

Regards,

Hugo

 Hugo Silva ([EMAIL PROTECTED]) [040829 08:53]:

 Today I went to a friend's house to install FreeBSD on his workstation,
 trying to make him change to open source software. I am a cable user
 and
 he has ADSL. I had never configured ADSL on FreeBSD, nor USB
 connections
 to the net. So I did some pre-reading on the handbook and some
 tutorials..



 I tried configuring one of these things for FreeBSD. The web page
 directions were extremely simple, with the minor problem that they, ahh,
 didn't work. (Even had a bit on UK connections - I'm in the UK.) I never
 did get it to work right.

 I am now using a Speedtouch 510, which does the connection itself, and
 can
 be confitured using a web interface (it was *easier* to configure using
 the
 web interface via FreeBSD than using its custom application on Windows!)
 or
 even by telneting directly to the device - ah, bliss ;-)


 - d.



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



 --
 www.6s-gaming.com



-- 
www.6s-gaming.com

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


Alcatel SpeedTouch 330 USB + FreeBSD 5.2.1 + PPPoE -- a nightmare!

2004-08-28 Thread Hugo Silva
Hi,

Today I went to a friend's house to install FreeBSD on his workstation,
trying to make him change to open source software. I am a cable user and
he has ADSL. I had never configured ADSL on FreeBSD, nor USB connections
to the net. So I did some pre-reading on the handbook and some tutorials..

I took an old 3GB hdd I had with me. Since he only has one computer, I had
to constantly change the hard disks to boot windows  FreeBSD (just
installed on the 3G disk). I downloaded alcatel's firmware, the pppoa
port, compiled bridging support on the kernel, tap device..

I had never touched ppp even, my times on dialup were on windows 95.

After 6 hours lost (I though the connection was PPPoA.. wrong), I called
the ISP techy support and they told me the protocol used is PPPoE. Right.
So I did a quick reconfigure on the ppp.conf file. Without pap or chap
(which, from what I understood, is the authentication scheme) it will say
my friend's login is already in use. I was really happy to see that,
finally after almost 7.30 hours a response from the server! (up until then
I was being promptly disconnected). So I enabled papchap, and expecting
an established connection to the net.. this is what I get:


Too many LCP REQs sent - abandoning negotiation

Aug 28 19:54:51 kittenizer ppp[627]: tun0: Phase: deflink: Too many LCP
REQs sent - abandoning negotiation

Ok.. There I unplugged the freebsd disk, plugged his winxp disk, did a bit
googling for the 20th time or so.. Few results came up. I tried lowering
MTU MRU to 1492, disabling extra options, set cd 5 , among others.

I don't have the ppp.conf file here, but it only had the authkey,
authname, login, dial, PPPoE:tag0, all the essentials from a working
config I found on the net from a guy who could get the connection working
on this ISP, although I digged most of the options by the time I found
that thread.


All I know is LCP stands for line control protocol. The only idea I had
(after leaving his house) was trying to disable LQR, which, from what I
understood, is somehow related to LCP.

Another possibility is the service tag missing? I understand the format is
PPPoE:tag0:service_tag_here , but I have no idea of what the service tag
is. Would a missing stag cause the LCP error ?

Finally, there was someone saying the old user-land ppp version would work
whilst the new one caused this same problem to him.

I will be going to his home next week again, hopefully with some answers.
Shame I don't have a test connection, as I stated on the beginning of this
mail I run on cable (dhclient rl0 is WAY EASIER :D).

Please excuse me if I missed something obvious on the configuration, but
as I said I'm completely new to both PPP  ADSL.


Many thanks in advance!



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


NIS on a school network - need some clarifications

2004-08-25 Thread Hugo Silva
Hi,

I'm working on a project to change the network on my school to open source
software only (FreeBSD/Linux workstations only).

I knew about NIS from readings of the handbook years ago, so I revisited
it today, but there' is something that's missing. I understand the NIS
accounts reside on the master server and I have to add users on the master
server. But then, users on workstations will have their home directories
etc referring only to the local machine.

I want to have users get their home directories from a central location
too. Is there any 'official' process to make this work, with NIS if
possible ?

I plan to have a 'student-shared-area' that will be NFS mounted on every
workstation on boot, but I want each user to have their files available,
wherever they login from.

Also, I assume there is no problem in using NIS accounts with X. From the
logic of it, there shouldn't be any problems.

A few last questions,

Since I plan to switch the whole network from windows to FreeBSD / Linux
(only adding linux because other people want it :-P), I'll need to
substitute the following applications:

- Visual C++ (anjuta)
- MS Access  (?)

I don't know much about access, but I believe it's possible to have a
ms-access database server.. if that's the case, is there a open source
client with a similiar GUI to ms access available ? (note: mysql/etc won't
do, the school program says ms access, so we need something similiar)


Any insight on these issues is most welcome

Regards,

Hugo


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


Re: NIS on a school network - need some clarifications

2004-08-25 Thread Hugo Silva
 NIS exports info from a passwd file.  So this will include user
 information and ect... groups can also be exported to... the means
 using NFS you can export a file system or place on a fs. Allowing you
 to export /usr/home or the like

Point well taken, I didn't think on this. Should do the trick :-)

 If the school's whack jobs say you need specifically MS Access, you
 are screwed then since afaik it has not been ported to any thing
 except windows yet.


Tell me about it. Who knows if they'll end up using mysql  mysqlcc
instead :-P

Thanks for the suggestions

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


Re: ssh question

2004-08-25 Thread Hugo Silva


 After modifying the sshd.conf to allow my new IP access via ssh I can't
 connect.  I have stopped and restarted the service and the server and
 double

'Allow your new ip address' ?

What you can specify on /etc/ssh/sshd_config is the ip the server binds
to, not the ip addresses of the clients connecting. (your words suggest
you did this) - reconfigure your sshd_config to the old value (your ip
address, or 0.0.0.0) and re-start sshd.

To limit access to the sshd, use a firewall, like ipfw , pf , or ipfilter.

 check the conf file.  I have checked hosts.allow and found nothing wrong.
 Is there some other file I need to change as well?  If not, how would I go
 about reinstalling/reconfiguring ssh?

 Thanks in advance



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



-- 
www.6s-gaming.com

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


ALTQ@5.2.1-RELEASE-p9 ?

2004-08-24 Thread Hugo Silva
Hey,

I wanted to know if the patches available for ALTQ on FreeBSD 5.x work on
5.2.1.

I can't test this myself because the only 5.2.1 server I have is a
production server and I'd like to be 100% sure it will work first.

I don't know if the patches will apply cleanly, the latest I found were
for 5.2-CURRENT.

Does the patch for 5.2 works on 5.2.1-release-p9 ?

Regards,

Hugo

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


Re: no user interface

2004-08-24 Thread Hugo Silva
You do have a user interface, just not a graphical one :-)

Anyway,

You have to manually install/configure the desktop environment..

if you have all the cds, run /stand/sysinstall as root, do post
configuration on freebsd, and add the packages needed (mainly X, and your
graphical environment of choice (kde,gnome,...)


 I just installed 5.2.1 via download onto cdr media. I left about 10 gigs
 open for freebsd, and left 9 for my win2000. the dual boot works fine on
 my
 dell laptop, however when i go to load freebsd 5.2.1, i cant get into a
 graphical interface. Instead it stays in a dos-like interface with
 commands only. It recognizes my user name and the admin name of root, but
 there is only a command line and no background. i installed cd1, i have a
 boot only and a second disc which i have not installed. please point me in
 the correct direction

 james heck

 _
 On the road to retirement? Check out MSN Life Events for advice on how to
 get there! http://lifeevents.msn.com/category.aspx?cid=Retirement

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



-- 
www.6s-gaming.com

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


Re: What are the best 3D games in the ports collection?

2004-08-22 Thread Hugo Silva

NeverWinter Nights
Return to Castle Wolfenstein
Return to Castle Wolfenstein: Enemy Territory
Quake 3

 What are the funnest, best look, best quality 3D game you have come across
 in
 the ports collection. Some I will list:

 BZFlag
 UT2003
 Foobillard
 TORCS
 BillardGL
 LBreakout (Not 3D But fun)

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



-- 
www.6s-gaming.com

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


Re: 5.2.1-p9 kernel hang (unknown reason, but more info)

2004-08-12 Thread Hugo Silva
Hugo Silva wrote:
Hey list,
My last move on the server trouble was changing back some sysctl's to 
their original values.
Here is how loader.conf and sysctl.conf look now:
(the #commented values were the sysctls active when the server used to 
die. one of these was causing the problem,
since the server has been running for 2 days now (just got rebooted, 
but it didnt panic because it wouldn't have come back on its own and 
it wasn't rebooted by me.. datacenter must have reset it) when it 
wouldn't run for more than 8 hours until panic.

sysctl.conf:
security.bsd.see_other_uids=0
net.inet.tcp.recvspace=32768
net.inet.tcp.sendspace=32768
net.inet.icmp.drop_redirect=1
net.inet.tcp.blackhole=2
net.inet.udp.blackhole=2
net.inet.tcp.log_in_vain=0
net.inet.udp.log_in_vain=0
kern.maxfiles=32768
security.jail.set_hostname_allowed=0
#kern.maxfilesperproc=2000
#kern.maxprocperuid=400
kern.coredump=0
net.inet.tcp.msl=7500
kern.ipc.somaxconn=16424
loader.conf:
hint.acpi.0.disabled=1
#kern.ipc.nmbclusters=32768
#kern.ipc.maxsockets=16424
kern.maxproc=8000
boot_verbose=YES
In my opinion, it was kern.ipc.nmbclusters causing the problem.. now 
I've set it as default: kern.ipc.nmbclusters: 25600

Can anyone confirm this high value of nmbclusters could cause a panic 
on 5.2.1-RELEASE-p9 ? Perhaps this is a bug
fixed in -CURRENT?

One of the sysctls that are now commented out was causing the problem.
p.s: reply to the mailing lists, I am not subscribed with this email 
but need to use it since I can't send this large copy by my webmail 
(it stalls).

Many thanks!
Regards,
Hugo

Hugo Silva wrote:
(note: I'm not subscribed to the list with this email, but I couldn't 
send this large mail by my webmail)

Hey list,
Recently my server started failing daily, I though it was because of 
high loads. Now it even goes down if completely idle after a few hours.

I *still* don't have the panic message (lazy datacenter lol) but I 
booted the server with verbose enabled and got the list of hardware. 
I also removed any optimizations in sysctl stuff I had added 
(maxfiles, maxprocs, ipc stuff, etc, all defaults now)

The server ran fine for the first 20 days or so, then it kept dying 
on a daily basis. Unfortunately i still don't have the panic message. 
But if someone can give some hints based on hardware 
list+dmesg+mptable, it would help. I've been shooting in the dark so 
far..

Here is the dmesg (long):
Frequency 1193182 Hz quality 0
Calibrating TSC clock ... TSC clock: 2800121436 Hz
CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2800.12-MHz 686-class CPU)
 Origin = GenuineIntel  Id = 0xf25  Stepping = 5
 
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE 

 Hyperthreading: 2 logical CPUs
real memory  = 4088397824 (3899 MB)
Physical memory chunk(s):
0x1000 - 0x0009efff, 647168 bytes (158 pages)
0x0010 - 0x003f, 3145728 bytes (768 pages)
0x00c29000 - 0xef64, 4003622912 bytes (977447 pages)
avail memory = 3973623808 (3789 MB)
APIC ID: physical 0, logical 0:0
APIC ID: physical 1, logical 0:1
APIC ID: physical 6, logical 0:2
APIC ID: physical 7, logical 0:3
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
cpu0 (BSP): APIC ID:  0
cpu1 (AP): APIC ID:  1
cpu2 (AP): APIC ID:  6
cpu3 (AP): APIC ID:  7
bios32: Found BIOS32 Service Directory header at 0xc00fdb70
bios32: Entry = 0xfdb80 (c00fdb80)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xf+0xdba1
pnpbios: Found PnP BIOS data at 0xc00f4420
pnpbios: Entry = f:32c4  Rev = 1.0
Other BIOS signatures found:
ioapic0: Assuming intbase of 0
ioapic0: intpin 0 - ExtINT (edge, activehi)
ioapic0: intpin 1 - irq 1 (edge, activehi)
ioapic0: intpin 2 - irq 2 (edge, activehi)
ioapic0: intpin 3 - irq 3 (edge, activehi)
ioapic0: intpin 4 - irq 4 (edge, activehi)
ioapic0: intpin 5 - irq 5 (edge, activehi)
ioapic0: intpin 6 - irq 6 (edge, activehi)
ioapic0: intpin 7 - irq 7 (edge, activehi)
ioapic0: intpin 8 - irq 8 (edge, activehi)
ioapic0: intpin 9 - irq 9 (edge, activehi)
ioapic0: intpin 10 - irq 10 (edge, activehi)
ioapic0: intpin 11 - irq 11 (edge, activehi)
ioapic0: intpin 12 - irq 12 (edge, activehi)
ioapic0: intpin 13 - irq 13 (edge, activehi)
ioapic0: intpin 14 - irq 14 (edge, activehi)
ioapic0: intpin 15 - irq 15 (edge, activehi)
ioapic1: Assuming intbase of 16
ioapic1: intpin 0 - irq 16 (level, activelo)
ioapic1: intpin 1 - irq 17 (level, activelo)
ioapic1: intpin 2 - irq 18 (level, activelo)
ioapic1: intpin 3 - irq 19 (level, activelo)
ioapic1: intpin 4 - irq 20 (level, activelo)
ioapic1: intpin 5 - irq 21 (level, activelo)
ioapic1: intpin 6 - irq 22 (level, activelo)
ioapic1: intpin 7 - irq 23 (level, activelo)
ioapic1: intpin 8 - irq 24 (level, activelo)
ioapic1: intpin 9 - irq 25 (level, activelo)
ioapic1: intpin 10 - irq 26 (level, activelo)
ioapic1: intpin 11 - irq 27 (level, activelo)
ioapic1: intpin 12 - irq 28 (level, activelo)
ioapic1

5. boot freebsd in verbose mode - question

2004-08-10 Thread Hugo Silva
Hi,

Is there a way to turn this option on while the system is running, or make
it the default option on the next reboot?

Regards



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


5.2.1-p9 kernel hang (unknown reason, but more info)

2004-08-10 Thread Hugo Silva
(note: I'm not subscribed to the list with this email, but I couldn't 
send this large mail by my webmail)

Hey list,
Recently my server started failing daily, I though it was because of 
high loads. Now it even goes down if completely idle after a few hours.

I *still* don't have the panic message (lazy datacenter lol) but I 
booted the server with verbose enabled and got the list of hardware. I 
also removed any optimizations in sysctl stuff I had added (maxfiles, 
maxprocs, ipc stuff, etc, all defaults now)

The server ran fine for the first 20 days or so, then it kept dying on a 
daily basis. Unfortunately i still don't have the panic message. But if 
someone can give some hints based on hardware list+dmesg+mptable, it 
would help. I've been shooting in the dark so far..

Here is the dmesg (long):
Frequency 1193182 Hz quality 0
Calibrating TSC clock ... TSC clock: 2800121436 Hz
CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2800.12-MHz 686-class CPU)
 Origin = GenuineIntel  Id = 0xf25  Stepping = 5
 
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
 Hyperthreading: 2 logical CPUs
real memory  = 4088397824 (3899 MB)
Physical memory chunk(s):
0x1000 - 0x0009efff, 647168 bytes (158 pages)
0x0010 - 0x003f, 3145728 bytes (768 pages)
0x00c29000 - 0xef64, 4003622912 bytes (977447 pages)
avail memory = 3973623808 (3789 MB)
APIC ID: physical 0, logical 0:0
APIC ID: physical 1, logical 0:1
APIC ID: physical 6, logical 0:2
APIC ID: physical 7, logical 0:3
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
cpu0 (BSP): APIC ID:  0
cpu1 (AP): APIC ID:  1
cpu2 (AP): APIC ID:  6
cpu3 (AP): APIC ID:  7
bios32: Found BIOS32 Service Directory header at 0xc00fdb70
bios32: Entry = 0xfdb80 (c00fdb80)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xf+0xdba1
pnpbios: Found PnP BIOS data at 0xc00f4420
pnpbios: Entry = f:32c4  Rev = 1.0
Other BIOS signatures found:
ioapic0: Assuming intbase of 0
ioapic0: intpin 0 - ExtINT (edge, activehi)
ioapic0: intpin 1 - irq 1 (edge, activehi)
ioapic0: intpin 2 - irq 2 (edge, activehi)
ioapic0: intpin 3 - irq 3 (edge, activehi)
ioapic0: intpin 4 - irq 4 (edge, activehi)
ioapic0: intpin 5 - irq 5 (edge, activehi)
ioapic0: intpin 6 - irq 6 (edge, activehi)
ioapic0: intpin 7 - irq 7 (edge, activehi)
ioapic0: intpin 8 - irq 8 (edge, activehi)
ioapic0: intpin 9 - irq 9 (edge, activehi)
ioapic0: intpin 10 - irq 10 (edge, activehi)
ioapic0: intpin 11 - irq 11 (edge, activehi)
ioapic0: intpin 12 - irq 12 (edge, activehi)
ioapic0: intpin 13 - irq 13 (edge, activehi)
ioapic0: intpin 14 - irq 14 (edge, activehi)
ioapic0: intpin 15 - irq 15 (edge, activehi)
ioapic1: Assuming intbase of 16
ioapic1: intpin 0 - irq 16 (level, activelo)
ioapic1: intpin 1 - irq 17 (level, activelo)
ioapic1: intpin 2 - irq 18 (level, activelo)
ioapic1: intpin 3 - irq 19 (level, activelo)
ioapic1: intpin 4 - irq 20 (level, activelo)
ioapic1: intpin 5 - irq 21 (level, activelo)
ioapic1: intpin 6 - irq 22 (level, activelo)
ioapic1: intpin 7 - irq 23 (level, activelo)
ioapic1: intpin 8 - irq 24 (level, activelo)
ioapic1: intpin 9 - irq 25 (level, activelo)
ioapic1: intpin 10 - irq 26 (level, activelo)
ioapic1: intpin 11 - irq 27 (level, activelo)
ioapic1: intpin 12 - irq 28 (level, activelo)
ioapic1: intpin 13 - irq 29 (level, activelo)
ioapic1: intpin 14 - irq 30 (level, activelo)
ioapic1: intpin 15 - irq 31 (level, activelo)
ioapic2: Assuming intbase of 32
ioapic2: intpin 0 - irq 32 (level, activelo)
ioapic2: intpin 1 - irq 33 (level, activelo)
ioapic2: intpin 2 - irq 34 (level, activelo)
ioapic2: intpin 3 - irq 35 (level, activelo)
ioapic2: intpin 4 - irq 36 (level, activelo)
ioapic2: intpin 5 - irq 37 (level, activelo)
ioapic2: intpin 6 - irq 38 (level, activelo)
ioapic2: intpin 7 - irq 39 (level, activelo)
ioapic2: intpin 8 - irq 40 (level, activelo)
ioapic2: intpin 9 - irq 41 (level, activelo)
ioapic2: intpin 10 - irq 42 (level, activelo)
ioapic2: intpin 11 - irq 43 (level, activelo)
ioapic2: intpin 12 - irq 44 (level, activelo)
ioapic2: intpin 13 - irq 45 (level, activelo)
ioapic2: intpin 14 - irq 46 (level, activelo)
ioapic2: intpin 15 - irq 47 (level, activelo)
ioapic3: Assuming intbase of 48
ioapic3: intpin 0 - irq 48 (level, activelo)
ioapic3: intpin 1 - irq 49 (level, activelo)
ioapic3: intpin 2 - irq 50 (level, activelo)
ioapic3: intpin 3 - irq 51 (level, activelo)
ioapic3: intpin 4 - irq 52 (level, activelo)
ioapic3: intpin 5 - irq 53 (level, activelo)
ioapic3: intpin 6 - irq 54 (level, activelo)
ioapic3: intpin 7 - irq 55 (level, activelo)
ioapic3: intpin 8 - irq 56 (level, activelo)
ioapic3: intpin 9 - irq 57 (level, activelo)
ioapic3: intpin 10 - irq 58 (level, activelo)
ioapic3: intpin 11 - irq 59 (level, activelo)
ioapic3: intpin 12 - irq 60 (level, activelo)
ioapic3: intpin 13 - irq 61 (level, activelo)
ioapic3: intpin 14 - irq 62 (level, activelo)
ioapic3: 

FreeBSD 5.2.1 kernel w/ SMP under high load = panic

2004-08-01 Thread Hugo Silva
I am running a Dual Xeon 2.8ghz w/ SMP, SCHED_ULE on FreeBSD
5.2.1-RELEASE-p9.

Whenever I load the server a bit more (let [EMAIL PROTECTED] run, compile stuff in
multiple jails, etc), it will simple go offline. I confirmed with the
datacenter and it is indeed a panic, but the datacenter didn't give me the
panic message. I know for *sure* it's because of the high loads.

I need to sort this out, this is a powerful server being cut because of
FreeBSD/SMP, and I know there is a kernel option to prevent the panic, I
read about it ages ago on a forum. But I can't locate it. That user said
if he disabled SMP, panics would stop. But another user suggested adding a
kernel option (which I simply don't remember), and panics stopped, even
with SMP.

I tried KVA_PAGES=512, but it only caused another panic, this time as soon
as the system started up..

syncing disks, buffers remaining... panic: pmap_invalidate_range:
interrupts disabled
cpuid = 0;
boot() called on cpu#0
uptime: 9s

That was the most I got from the datacenter since the sysadmin is on
vacations and the guy I spoke to isn't very technical.

So, KVA_PAGES isn't the solution..

Here are my rc.conf  sysctl.conf  loader.conf:

rc.conf:
sshd_enable=YES
usbd_enable=YES
sendmail_enable=NONE
syslogd_enable=YES
syslogd_flags=-ss
linux_enable=YES
inetd_enable=NO
clear_tmp_enable=YES
enable_quotas=YES
check_quotas=YES
update_motd=NO
pf_enable=YES
pf_logd=YES
pf_conf=/etc/pf.conf


sysctl.conf:

security.bsd.see_other_uids=0
net.inet.tcp.recvspace=32768
net.inet.tcp.sendspace=32768
net.inet.icmp.drop_redirect=1
net.inet.tcp.blackhole=2
net.inet.udp.blackhole=2
net.inet.tcp.log_in_vain=0
net.inet.udp.log_in_vain=0
kern.maxfiles=32768
security.jail.set_hostname_allowed=0
kern.maxfilesperproc=2000
kern.maxprocperuid=400
kern.coredump=0
net.inet.tcp.msl=7500
kern.ipc.somaxconn=16424


loader.conf:

hint.acpi.0.disabled=1
kern.ipc.nmbclusters=32768
kern.ipc.maxsockets=16424
kern.maxproc=8000


These are my custom kernel options:

options IPSTEALTH
options QUOTA
options RANDOM_IP_ID
options SC_DISABLE_REBOOT




Any help is really appreciated, I have this server idling (compile lots of
stuff=die) for 2 weeks now :/

Regards

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


Re: FreeBSD 5.2.1 kernel w/ SMP under high load = panic

2004-08-01 Thread Hugo Silva
4.10 won't work with the current hardware on the server, and I wanted to
try 5.2.1 because of the improved SMP.

I know there is a solution for this by adding a kernel option, but i'm
completely CLUELESS.

Can anyone give a hint?


 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On Sunday 01 August 2004 15:08, Hugo Silva wrote:
 I am running a Dual Xeon 2.8ghz w/ SMP, SCHED_ULE on FreeBSD
 5.2.1-RELEASE-p9.

 Why aren't you running FreeBSD 4.10 on a machine like that? 5.2.1 is
 simply
 NOT ready for production enviroments. Why do you think it's still
 considered
 as unstable? Your panic is probably being caused by a bad driver, but of
 course I can't tell you which one.

 So get in touch with your data centre and get 4.10 on that machine. It
 will
 probably solve most of your problems.

 Jorn
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.4 (GNU/Linux)

 iD8DBQFBDSZXs2lBCry7iusRAjUlAKCqRB/BZ3invP1wxV0EcD/amkdGRACgjUtR
 4JW+zZU9g1JZutwBECAfJJM=a8U6
 -END PGP SIGNATURE-
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-smp
 To unsubscribe, send any mail to [EMAIL PROTECTED]



-- 
www.6s-gaming.com

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


Re: FreeBSD 5.2.1 kernel w/ SMP under high load = panic

2004-08-01 Thread Hugo Silva
Damn.

And any clue on the magic kernel option that stopped the panics? Perhaps
it wasn't *that* magic and just decreased the odds of a panic hapenning
under high load, but that would do for me. I just lost the server 10
minutes ago doing a portupgrade -a with 4 jails running. :x

Regards,

Hugo

 it was said:

4.10 won't work with the current hardware on the
server, and I wanted to
try 5.2.1 because of the improved SMP.

I know there is a solution for this by adding a
kernel option, but i'm
completely CLUELESS.

Can anyone give a hint?


 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On Sunday 01 August 2004 15:08, Hugo Silva wrote:
 I am running a Dual Xeon 2.8ghz w/ SMP, SCHED_ULE
on FreeBSD
 5.2.1-RELEASE-p9.

 Why aren't you running FreeBSD 4.10 on a machine
like that? 5.2.1 is
 simply
 NOT ready for production enviroments. Why do you
think it's still
 considered
 as unstable? Your panic is probably being caused by
a bad driver, but of
 course I can't tell you which one.

 So get in touch with your data centre and get 4.10
on that machine. It
 will
 probably solve most of your problems.

 Jorn

 Hello,

 I hate to tell you this, but I think your problem may
 be worse than you think. On the other hand, its
 solution is close:

 http://www.freebsd.org/releases/5.3R/todo.html

 Refer to item 2 under show stopper defects.

 HTH,

 Stheg

 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around
 http://mail.yahoo.com



-- 
www.6s-gaming.com

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


5.2.1-p9 panics under high loads

2004-07-29 Thread Hugo Silva

Hi list,

I have a Dual Xeon 2.8ghz w/ SMP enabled on a 5.2.1 server which is
panicking under high loads. While I don't have a copy of the panic with me
(datacenter still didn't mail it to me), I have seen this problem a while
ago, don't remember if on this list.

The problem was the same, 5.2 , SMP, and panic under high loads. Someone
suggested that user adding a kernel option, which got him rid of the
panics.

But I couldn't find this thread. Does anyone know what this kernel option is?

Best Regards,

Hugo

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


jails: am I missing something or..

2004-07-25 Thread Hugo Silva
Hi,

Ok, so I decided to use jails instead of vmware and try to live with the
limitations (only 1 ip address, etc..)..

Well, another jail limitation is the impossibility of setting user quotas
inside a jail UNLESS the jail has a filesystem on its own (at least this
is the most satisfatory answer I found after googling for some hours).
Great, so I have 2x80G + 1x200G hdds. I had a jail running on ad2, and I
wanted to create another jail on the same hdd.

To my surprise, sysinstall would complain about not being able to write
data to ad2. I had this problem before, so I couldn't believe the cause
was what I thought.. I unmounted the first jail and tried again.. this
time, I could create the new partition on ad2.

so...

It is unthinkable to be umount'ing EVERY jail if I want to add one.
I need separate filesystems for jails if I want (I *need* to) user quotas
on jails
If I have separate filesystems, I can't create a new jail while the disk
is being used (ie other jails mount'ed).

Living with 1 ip? I could do it. Now, this is a major drawback.

I've been a FreeBSD user for a long time, so I'm hoping there is a
solution to this matter-- (bottom line: working user quotas INSIDE jails:
need either a way to have them w/ different partitions and be able to
create new jails with all other jails running, or need a way to use quotas
with only a big partition) I find it weird there exists this big
limitation on the jail system.


Any ideias are so very welcome

Regards,


Hugo



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


Annoying 5.2.1 problem (em0 goes down)

2004-07-24 Thread Hugo Silva
Hi folks,

I have a Dual Xeon 2.8ghz w/ 4GB ram, 2x80GB hdd + 200GB hdd running
FreeBSD 5.2.1-p9 on a em0 network card.Every once in awhile, em0 will
simply die. These are the longs from the last time:

Jul 22 18:15:15 rhea kernel: em0: Link is up 100 Mbps Full Duplex
Jul 22 18:22:33 rhea kernel: em0: Link is Down

I find it weird, 'link is up 100mbps full duplex' @ 18:15, because the
system was up long ago before that message. As for the link is down
message, that is self explanatory. It never came back again. I bet this is
what happened this time too, will be sure when I get the datacenter to
reboot the server.

This always happens when I leave a ssh session idling for a long time. It
would be normal for the ssh session to timeout because the dynamic rules
on the firewall expire (assuming I didnt have keep alives), but the em0
interface goes down..

I am using the pf port instead of ipfw/ipfilter. I don't know if that has
anything to do with it.

Any ideas on what's causing this?

Regards,


Hugo


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


best virtual server solution?

2004-07-23 Thread Hugo Silva
Hi,

I've been struggling to find the best virtual server solution based on a
FreeBSD 5.2.1 system. I was hoping some members of the list could help me
take this decision. I have questions/thoughts regarding vmware/bsd jails:

- Vmware
 - Does it run 5.2.1 nicely ?
 - Does a Guest OS (FreeBSD) support multiple IPs?
 - Does vmware support Xeon CPUs? (not listen in their site)
 - Is a xual xeon 2.8ghz + 4GB ram enough to run, say, 40 virtual 
 machines using vmware?
 - Vmware *really* needs a X session to be working?

- Jails
 - Is there any patch working for multiple jail IPs under 5.2.1-p9 ?
 - What jail management tool do you use? I'm are of jailutils and
jailadmin. I'm using jailutils now mainly because of jps, altough I
could use jailadmin and create a quick jail ... ps link that would do
the same.Plus, jailadmin uses a centralized configuration file
which is easier to keep track of.
 - syslogd will die on the jail startup (using jstart), but if i run
it manually it will stay running; same for cron.
 - Outside mounts are visible inside jails, any way to change this
behaviour ?



Best Regards,


Hugo





-- 
www.6s-gaming.com

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


make distribution fails on 5.2.1-p9

2004-07-14 Thread Hugo Silva
(...)
defined
In file included from /usr/obj/usr/src/kerberos5/lib/libroken/roken.h:59,
 from /usr/src/crypto/heimdal/lib/roken/vis.c:43:
/usr/obj/usr/src/i386/usr/include/netdb.h:166:1: warning: this is the
location of the previous definition
In file included from /usr/obj/usr/src/kerberos5/lib/libroken/roken.h:77,
 from /usr/src/crypto/heimdal/lib/roken/warnerr.c:39:
/usr/src/crypto/heimdal/lib/roken/roken-common.h:183:1: warning:
EAI_NODATA redefined
In file included from /usr/obj/usr/src/kerberos5/lib/libroken/roken.h:59,
 from /usr/src/crypto/heimdal/lib/roken/warnerr.c:39:
/usr/obj/usr/src/i386/usr/include/netdb.h:166:1: warning: this is the
location of the previous definition
In file included from /usr/obj/usr/src/kerberos5/lib/libroken/roken.h:77,
 from /usr/src/crypto/heimdal/lib/roken/write_pid.c:42:
/usr/src/crypto/heimdal/lib/roken/roken-common.h:183:1: warning:
EAI_NODATA redefined
In file included from /usr/obj/usr/src/kerberos5/lib/libroken/roken.h:59,
 from /usr/src/crypto/heimdal/lib/roken/write_pid.c:42:
/usr/obj/usr/src/i386/usr/include/netdb.h:166:1: warning: this is the
location of the previous definition
In file included from /usr/obj/usr/src/kerberos5/lib/libroken/roken.h:77,
 from /usr/src/crypto/heimdal/lib/roken/copyhostent.c:39:
/usr/src/crypto/heimdal/lib/roken/roken-common.h:183:1: warning:
EAI_NODATA redefined
In file included from /usr/obj/usr/src/kerberos5/lib/libroken/roken.h:59,
 from /usr/src/crypto/heimdal/lib/roken/copyhostent.c:39:
/usr/obj/usr/src/i386/usr/include/netdb.h:166:1: warning: this is the
location of the previous definition
In file included from /usr/obj/usr/src/kerberos5/lib/libroken/roken.h:77,
 from /usr/src/crypto/heimdal/lib/roken/strlwr.c:41:
/usr/src/crypto/heimdal/lib/roken/roken-common.h:183:1: warning:
EAI_NODATA redefined
In file included from /usr/obj/usr/src/kerberos5/lib/libroken/roken.h:59,
 from /usr/src/crypto/heimdal/lib/roken/strlwr.c:41:
/usr/obj/usr/src/i386/usr/include/netdb.h:166:1: warning: this is the
location of the previous definition
In file included from /usr/obj/usr/src/kerberos5/lib/libroken/roken.h:77,
 from /usr/src/crypto/heimdal/lib/roken/strndup.c:41:
/usr/src/crypto/heimdal/lib/roken/roken-common.h:183:1: warning:
EAI_NODATA redefined
In file included from /usr/obj/usr/src/kerberos5/lib/libroken/roken.h:59,
 from /usr/src/crypto/heimdal/lib/roken/strndup.c:41:
/usr/obj/usr/src/i386/usr/include/netdb.h:166:1: warning: this is the
location of the previous definition
In file included from /usr/obj/usr/src/kerberos5/lib/libroken/roken.h:77,
 from /usr/src/crypto/heimdal/lib/roken/strnlen.c:39:
/usr/src/crypto/heimdal/lib/roken/roken-common.h:183:1: warning:
EAI_NODATA redefined
In file included from /usr/obj/usr/src/kerberos5/lib/libroken/roken.h:59,
 from /usr/src/crypto/heimdal/lib/roken/strnlen.c:39:
/usr/obj/usr/src/i386/usr/include/netdb.h:166:1: warning: this is the
location of the previous definition
In file included from /usr/obj/usr/src/kerberos5/lib/libroken/roken.h:77,
 from /usr/src/crypto/heimdal/lib/roken/strsep_copy.c:41:
/usr/src/crypto/heimdal/lib/roken/roken-common.h:183:1: warning:
EAI_NODATA redefined
In file included from /usr/obj/usr/src/kerberos5/lib/libroken/roken.h:59,
 from /usr/src/crypto/heimdal/lib/roken/strsep_copy.c:41:
/usr/obj/usr/src/i386/usr/include/netdb.h:166:1: warning: this is the
location of the previous definition
In file included from /usr/obj/usr/src/kerberos5/lib/libroken/roken.h:77,
 from /usr/src/crypto/heimdal/lib/roken/strupr.c:41:
/usr/src/crypto/heimdal/lib/roken/roken-common.h:183:1: warning:
EAI_NODATA redefined
In file included from /usr/obj/usr/src/kerberos5/lib/libroken/roken.h:59,
 from /usr/src/crypto/heimdal/lib/roken/strupr.c:41:
/usr/obj/usr/src/i386/usr/include/netdb.h:166:1: warning: this is the
location of the previous definition
shift: can't shift that many
shift: can't shift that many
/usr/src/lib/libpam/modules/pam_echo/pam_echo.c: In function `_pam_echo':
/usr/src/lib/libpam/modules/pam_echo/pam_echo.c:92: warning: dereferencing
type-punned pointer will break strict-aliasing rules
cd /usr/src/etc;  install -o root -g wheel -m 644  amd.map apmd.conf
auth.conf crontab csh.cshrc csh.login csh.logout devd.conf devfs.conf 
dhclient.conf disktab fbtab ftpusers gettytab group  hosts hosts.allow
hosts.equiv hosts.lpd  inetd.conf login.access login.conf  mac.conf motd
netconfig network.subr networks newsyslog.conf  phones profile protocols 
rc rc.firewall rc.firewall6 rc.sendmail rc.shutdown  rc.subr remote rpc
services  shells sysctl.conf syslog.conf usbd.conf  etc.i386/ttys 
/usr/src/etc/../gnu/usr.bin/man/manpath/manpath.config 
/usr/src/etc/../usr.bin/mail/misc/mail.rc 

bypass no new partitions protection ?

2004-07-07 Thread Hugo Silva
Hi all

In one of my servers I left a 80GB disk unpartitioned to later partitition
it according to my needs, only to have sysinstall always complain it
couldn't write to ad1. I've googled a bit and it seems its related to some
kind of protection that won't allow the system to create any new
partitions while the system is running.

Is there any way to bypass this behaviour? a patch? a trick ? I really
need to overcome this but found no way. There should be a way to create
partitions on the 2nd disk, since it's not being used by the system..

Many thanks!



-- 
www.6s-gaming.com

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


Re: sound-card // dsp1

2004-07-06 Thread Hugo Silva
I have 4 vchans, but this won't help. Both Enemy Territory and teamSpeak
will put dsp0(.x*) in playback/recording, and this isn't possible. I need
either a dsp1 device or a way to make enemy territory launch in playback
only.

Is there a way to create the dsp1 device?

Regards


 On Sat, 3 Jul 2004 23:48:24 - (GMT), Hugo Silva [EMAIL PROTECTED]
 wrote:
 Hi,

 I need to create a dsp1 device. I'm running FreeBSD 5.2.1-RELEASE-p9

 I've tried:
 [EMAIL PROTECTED]:/dev]# mknod /dev/dsp1 c 30 0x0013
 mknod: /dev/dsp1: No such file or directory

 but no luck.. I need this device because I need to use two programs who
 will put dsp device in r/w. So the second will always fail. The only way
 I
 see to fix this is creating a dsp1 device, make the first program use
 /dev/dsp and the second use /dev/dsp1 ...

 According to some old post I remember on this list, you can use
 /dev/dsp0.0 and /dev/dsp0.1 as two separate devices. Hope that helps

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



-- 
www.6s-gaming.com

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


vmware vs jails? (5.2.1)

2004-07-06 Thread Hugo Silva
Hi list,

I have been considering using vmware instead of bsd jails for a virtual
server provider. Jails are far too limited (1 ip only, quotas = per-jail
fs,etc). I have never tried vmware with freebsd as a guest os, so I don't
know if these limitations would apply..

What are your personal experiences ? Does vmware work flawlessly with
freebsd as a guest OS ? (host will be freebsd 5.2.1) Should I stick to
jails instead? Any suggestions welcome!

Regards




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


sound-card // dsp1

2004-07-03 Thread Hugo Silva
Hi,

I need to create a dsp1 device. I'm running FreeBSD 5.2.1-RELEASE-p9

I've tried:
[EMAIL PROTECTED]:/dev]# mknod /dev/dsp1 c 30 0x0013
mknod: /dev/dsp1: No such file or directory

but no luck.. I need this device because I need to use two programs who
will put dsp device in r/w. So the second will always fail. The only way I
see to fix this is creating a dsp1 device, make the first program use
/dev/dsp and the second use /dev/dsp1 ...

Increasing the vchans didn't work, this seems to work only for playback
(can have xmms,teamspeak,mplayer.. but when I lauch Enemy Territory, it
will be soundless, because it opens dsp in rw and TeamSpeak already has
dsp in rw)

Someone suggested using artsdsp, but:
/data/games/enemy-territory/et.x86: error while loading shared libraries:
/usr/local/lib/libartsdsp.so.0: ELF file OS ABI invalid

..

I've been trying to find a way around this for 4 hours now and still
nothing :-) So, perhaps someone knows the answer to this one ?

Regards



-- 
www.6s-gaming.com

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