Re: sftp server with speed throttling

2010-03-22 Thread Ghirai
On Sun, 21 Mar 2010 19:55:00 +
Vincent Hoffman vi...@unsane.co.uk wrote:

 On 21/03/2010 13:53, Dan Naumov wrote:
  What are my options if I want to run an sftp server with speed
  throttling? My understanding is that openssh (which includes sftp)
  in base does not support this directly, so I would have to either
  use a custom kernel with ALTQ (and I would really rather stick to
  GENERIC so I can use freebsd-update) which sounds like a bit too
  much configuration work or pass sftp traffic through PF and
  throttle it (ugly, would also affect ssh traffic).
 
  Are there any sftp servers with directly built-in functionality for
  this? I just would to be able to set limits for upload speed
  globally for the entire server and preferably to also be able to do
  speed settings on a per-user basis.

 A quick google indicates there are at least 2 sftp servers with this
 functionality,
 http://www.proftpd.org/docs/contrib/mod_sftp.html
 http://mysecureshell.sourceforge.net/en/index.html
 
 Proftpd with mod_sftp needs the proftp-devel port so I'm guessing its
 still in testing but at least its in ports.
 No idea about the mysecureshell program, its not in ports.
 
 I havent actually tried with of these so no idea how well they work,
 good luck.
 

I used pure-ftpd, and it's pretty awesome.

http://www.pureftpd.org/project/pure-ftpd
___
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: FreeBSD File Server with ZFS

2010-02-18 Thread Ghirai
On Thu, 18 Feb 2010 11:21:48 -0500
mailinglist mailingl...@ucwv.edu wrote:

 UFS on the other hand will work just fine on 32bit systems and
 smaller and older machines.  (The limitation with UFS is a maximum
 2TB filesystem size, but I suspect this will not cause you any
 practical
 
 difficulties.)

UFS2 has a maximum volume size of 1YiB (2^80 bytes).
___
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: ld-elf related problems

2009-12-21 Thread Ghirai
On Sun, 20 Dec 2009 21:19:12 -0600
Adam Vande More amvandem...@gmail.com wrote:

 On Sat, Dec 19, 2009 at 6:15 PM, Ghirai ghi...@ghirai.com wrote:
 
  Hi,
 
  I'm running 8.0-RELEASE amd64, and various applications randomly
  coredump and exit with signal 10; this has started apparently after
  installing numpy from ports, which also pulled gcc44.
  Right after that basically all apps i had running crashed, and they
  wouldn't start.
 
  The error was something about unrecognized symbols or
  something in ld-elf-something. I can't be more specific, because
  after a reboot, stuff worked again - mostly.
 
  Now applications periodically coredump, but then start again.
 
  Does anyone have any insights?
  Thanks.
 
 
 Have you installed /usr/ports/misc/compat7x ?
 
 -- 
 Adam Vande More

No; do i have to?

Also, pkg_version prints this (although it seems to work fine):

pkg_version: read_plist: unknown command '@comm' (package tools out of
date?) pkg_version: read_plist: unknown command '@co' (package tools
out of date?)
___
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: ld-elf related problems

2009-12-21 Thread Ghirai
Thanks all;

This is a fresh install and all ports are up to date.

I don't have the time to debug and fiddle with all the applications that
are crashing, so i'll just do a clean reinstall of the OS, and hope
that it won't happen again (won't be installing numpy).



As a sidenote, i installed numpy on another box which had gcc44 already
installed, along with the /etc/make.conf and libmap.conf settings
specified in the handbook (which i also added to this system, to no
avail), and there are no crashes there.

Slightly off-topic, as stated above, this second box is set up to use
gcc44 for ports, and i'm seeing quite a noticeable performance
improvement with PostgreSQL, compared to when it's compiled with base
gcc.

This kind of sucks, because i have more work to do in order to get more
performance, extra work and complications that add up when doing
multiple installations.

It certainly adds to the frustration knowing that there are no real
technical reasons for this...
___
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


ld-elf related problems

2009-12-19 Thread Ghirai
Hi,

I'm running 8.0-RELEASE amd64, and various applications randomly
coredump and exit with signal 10; this has started apparently after
installing numpy from ports, which also pulled gcc44.
Right after that basically all apps i had running crashed, and they
wouldn't start.

The error was something about unrecognized symbols or
something in ld-elf-something. I can't be more specific, because after
a reboot, stuff worked again - mostly.

Now applications periodically coredump, but then start again.

Does anyone have any insights?
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


Re: Xfce4 on 8.0 RC2

2009-11-04 Thread Ghirai
On Wed, 4 Nov 2009 12:16:42 +0100
Alex Huth a.h...@tmr.net wrote:

 Hi!
 
 Is anyone running this combination? I am having trouble with two
 points

Since a couple days.


Both points work perfectly fine for me.
It sounds to me like a video driver/xorg problem though :/

-- 
Regards,
Ghirai.
___
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


pf nat dual gateways

2009-06-05 Thread Ghirai
Hi,

I would need some help in getting this working.

The idea is pretty simple, i have a box with 3 NICs; 2 for net pipes,
and one for LAN.

Routing and NAT works, however, i need that requests to u_ips always
get NATed through u_if, and everything else through ext_if.

As it is now, everything goes through ext_if.


ext_if=tun0
int_if=vr0
u_if=ed0

ext_services={}
int_services={53,80}
rdp_port={3232}
rdp_srv={192.168.0.250}

u_ips={123.123.123.123}
u_gw=192.168.1.1

localnet=$int_if:network

set skip on lo0
set optimization aggressive
set limit states 5


scrub in all

nat on $ext_if from $localnet to any - ($ext_if)
nat on $u_if from $localnet to $u_ips - ($u_if)


rdr pass on $ext_if proto tcp from any to $ext_if port $rdp_port -
$rdp_srv port 3389

antispoof for $ext_if
antispoof for $u_if

block drop all

pass in inet proto tcp from any to any port $ext_services \
flags S/SA keep state

pass in inet proto {tcp,udp} from $localnet to $int_if port
$int_services \ flags S/SA keep state

pass out all keep state

pass from $localnet to any keep state


And here's ifconfig:

vr0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
1500 options=2808VLAN_MTU,WOL_UCAST,WOL_MAGIC
ether 00:13:d4:a7:84:f9
inet 192.168.0.254 netmask 0xff00 broadcast 192.168.0.255
media: Ethernet autoselect (100baseTX full-duplex)
status: active
ed0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
1500 ether 52:54:00:df:92:3f
inet 192.168.1.5 netmask 0xff00 broadcast 192.168.1.255
media: Ethernet autoselect (10baseT/UTP)
rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
1500 options=8VLAN_MTU
ether 00:02:44:59:91:d5
media: Ethernet autoselect (100baseTX full-duplex)
status: active
plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT metric 0
mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu
16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 
inet6 ::1 prefixlen 128 
inet 127.0.0.1 netmask 0xff00 
tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST metric 0 mtu 1492
inet 111.111.111.111 -- 111.111.111.254 netmask 0x 
Opened by PID 449


As you can see, u_if(ed0) has IP addr 192.168.1.5, and the gateway is
192.168.1.1 (u_gw).

Running 7.2-RELEASE, amd64.

Any help is appreciated.
Thanks. 

-- 
Ghirai.
___
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


phidgets for FreeBSD?

2009-06-03 Thread Ghirai
Is there any (native) FreeBSD supoprt for Phidgets
(http://www.phidgets.com?

Someone seems to have attempted (and succeeded) to run things on 7.0,
some time ago, but there doesn't seem to be any further info
(http://www.phidgets.com/phorum/viewtopic.php?f=2t=507).

Any ideas?

Thanks.
-- 
Ghirai.
___
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: updating from 7.1 to 7.2 AMD64

2009-05-26 Thread Ghirai
On Tue, 26 May 2009 09:01:36 +0100
Graeme Dargie a...@tangerine-army.co.uk wrote:

 -Original Message-
 
 Various network interface drivers have been improved, including ae(4),
 ath_hal(4), axe(4), bce(4), cxgb(4), fxp(4), igb(4), jme(4), msk(4),
 mxge(4), nfe(4), re(4), rl(4), sis(4), and txp(4).
 
 
 Very specifically that I was getting watchdog time outs and link
 status up down up on the re nic driver, hopefully 7.2 solves this.

7.2 did fix this for me.

-- 
Ghirai.
___
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: Processors

2009-05-12 Thread Ghirai
On Tuesday 12 May 2009 06:01:13 Peter Ulrich Kruppa wrote:
 Am Montag, den 11.05.2009, 19:11 -0400 schrieb Glen Barber:
  On Mon, May 11, 2009 at 7:04 PM, Wojciech Puchar
 
  woj...@wojtek.tensor.gdynia.pl wrote:
   yes. FreeBSD/amd64
  
   Or i386.
  
   if you want limited system - yes
 
  If by 'limited' you mean being able to use nVidia drivers, that's not
  very 'limited' to me.

 Please do correct me:
 Only Graphic Cards by nVidia are a problem on amd64, everything else can
 be run via OpenSource drivers (?!)

 Greetings

 Uli.

Yea, go ahead and use nv (or some other FOSS) driver, so that the hardware 
that you payed more than 100 bux for goes unused.

--
Ghirai.
___
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: quick vfs tuning

2009-04-28 Thread Ghirai
On Tue, 28 Apr 2009 01:59:43 +0200
Roland Smith rsm...@xs4all.nl wrote:

snip

 
 I dropped gmirror in favor of running an rsync to the second disk at
 night because gmirror is kinda slow. I saw the same performance as you
 did with the combination of gmirror and geli.
 
 Roland
 -- 

Thanks for the numbers.

-- 
Regards,
Ghirai.
___
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


quick vfs tuning

2009-04-27 Thread Ghirai
Hi,

I'm running a RAID1 setup with gmirror and geli (AES-128) on top of
that.
While searching for ways to improve read performance, i found some
posts (on kerneltrap i think) about vfs.max_read.

The author suggested that increasing the default value of 8 to 16
resulted in increased read speed, and that increasing it further
resulted in no noticeable performance gain.

Results are below.

Starting with vfs.read_max=32:

triton# dd if=a.iso of=/dev/null bs=3M
1129+1 records in
1129+1 records out
3554287616 bytes transferred in 176.825898 secs (20100492 bytes/sec)

triton# sysctl vfs.read_max=64
vfs.read_max: 32 - 64

triton# dd if=a.iso of=/dev/null bs=3M
1129+1 records in
1129+1 records out
3554287616 bytes transferred in 162.943189 secs (21813048 bytes/sec)

triton# sysctl vfs.read_max=128
vfs.read_max: 64 - 128

triton# dd if=a.iso of=/dev/null bs=3M
1129+1 records in
1129+1 records out
3554287616 bytes transferred in 149.313994 secs (23804116 bytes/sec)

triton# sysctl vfs.read_max=256
vfs.read_max: 128 - 256

triton# dd if=a.iso of=/dev/null bs=3M
1129+1 records in
1129+1 records out
3554287616 bytes transferred in 150.466241 secs (23621828 bytes/sec)

Here is seems to have hit a wall. Going a bit down to 192 results in
almost exactly the same numbers, so the best value seems to be 128.
As i read, vfs.read_max means 'cluster read-ahead max block count'.
Does it read ahead the stuff into some memory? If so, can that memory
size be increased via sysctl?

Does the improvement in performance have to do with my particular setup
(gmirror+geli)?

I thought i'd share the results and maybe get a discussion going in
this direction.

Test was done on a pair of SATA300 HDs spinning at 7200rmp (which are
seen as SATA150 by the OS for some reason; i couldn't fix it from the
BIOS, so it must be the mobo), and 7.1-RELEASE, i386.

-- 
Regards,
Ghirai.
___
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


/etc/crontab won't run my script

2009-04-24 Thread Ghirai
Hi,

I'm trying to get a python script to run from /etc/crontab, but it
won't work.

I've read about the most common issues being related to paths, but my
script uses no paths at all.

This is my /etc/crontab line:

*/5 *   *   *   *
munin   /usr/local/bin/python /root/myscript.py  /var/log/myscript.log

I used munin user because i already have it (can i run it under
'nobody'?).

This is what /var/log/cron says:

Apr 24 18:00:01 triton /usr/sbin/cron[4361]: (munin) CMD
(/usr/local/bin/python /root/myscript.py
 /var/log/myscript.log)


However the script doesn't seem to run at all.

Obviously it works if i run it stand-alone, as any user.
I'm running 7.1-RELEASE-p4, i386.

What am i doing wrong?

Thanks.

-- 
Regards,
Ghirai.
___
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: /etc/crontab won't run my script

2009-04-24 Thread Ghirai
On Fri, 24 Apr 2009 18:08:13 +0300
Ghirai ghi...@ghirai.com wrote:

 Hi,
 
 I'm trying to get a python script to run from /etc/crontab, but it
 won't work.
 
 I've read about the most common issues being related to paths, but my
 script uses no paths at all.
 
 This is my /etc/crontab line:
 
 */5 *   *   *   *
 munin   /usr/local/bin/python /root/myscript.py
  /var/log/myscript.log
 
 I used munin user because i already have it (can i run it under
 'nobody'?).
 
 This is what /var/log/cron says:
 
 Apr 24 18:00:01 triton /usr/sbin/cron[4361]: (munin) CMD
 (/usr/local/bin/python /root/myscript.py
  /var/log/myscript.log)
 
 
 However the script doesn't seem to run at all.
 
 Obviously it works if i run it stand-alone, as any user.
 I'm running 7.1-RELEASE-p4, i386.
 
 What am i doing wrong?
 
 Thanks.
 

Ok i just changed 'who' column to root and it works.
Why won't it work as any other user?
Permissions for myscript.py are 555.

-- 
Regards,
Ghirai.
___
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: /etc/crontab won't run my script

2009-04-24 Thread Ghirai
On Fri, 24 Apr 2009 11:17:13 -0400
Glen Barber glen.j.bar...@gmail.com wrote:

 On Fri, Apr 24, 2009 at 11:14 AM, Ghirai ghi...@ghirai.com wrote:
 
  Ok i just changed 'who' column to root and it works.
  Why won't it work as any other user?
  Permissions for myscript.py are 555.
 
 
 Who owns the file?
 

root:wheel

-- 
Regards,
Ghirai.
___
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: /etc/crontab won't run my script

2009-04-24 Thread Ghirai
On Fri, 24 Apr 2009 11:39:21 -0400
Jerry McAllister jerr...@msu.edu wrote:

 On Fri, Apr 24, 2009 at 06:14:26PM +0300, Ghirai wrote:
 
  On Fri, 24 Apr 2009 18:08:13 +0300
  Ghirai ghi...@ghirai.com wrote:
  
   Hi,
   
   I'm trying to get a python script to run from /etc/crontab, but it
   won't work.
   
   I've read about the most common issues being related to paths,
   but my script uses no paths at all.
   
   This is my /etc/crontab line:
   
   */5 *   *   *   *
   munin   /usr/local/bin/python /root/myscript.py
/var/log/myscript.log
   
   I used munin user because i already have it (can i run it under
   'nobody'?).
   
   This is what /var/log/cron says:
   
   Apr 24 18:00:01 triton /usr/sbin/cron[4361]: (munin) CMD
   (/usr/local/bin/python /root/myscript.py
/var/log/myscript.log)
   
   
   However the script doesn't seem to run at all.
   
   Obviously it works if i run it stand-alone, as any user.
   I'm running 7.1-RELEASE-p4, i386.
   
   What am i doing wrong?
   
   Thanks.
   
  
  Ok i just changed 'who' column to root and it works.
  Why won't it work as any other user?
  Permissions for myscript.py are 555.
 
 Isn't /etc/crontab the root cron and should not be used by users?
 
 To set up a crontab for a user, do: crontab -e
 while logged in as that user.   You can also do it from root
 by using the   -u user_name   option in the command, eg.  if
 the user is joe crontab -u joe -e
 
 You should never edit the tab files directly.
 
 You may also have to set up  /var/cron/allow  and  /var/cron/deny
 files.
 
 In addition, the ownership and permissions on the files/scripts
 you are trying to run from cron must be correct.
 
 jerry

Alright, i added the cron for 'nobody' as above, and it seems to work.

Thanks everyone.

-- 
Regards,
Ghirai.
___
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: if anyone needs OOo 3.0.1 i386 package

2009-03-29 Thread Ghirai
On Sat, 28 Mar 2009 18:45:43 -0600
Tim Judd taj...@gmail.com wrote:

 On Sat, Mar 28, 2009 at 5:24 PM, Ghirai ghi...@ghirai.com wrote:
 
  Seeing as good-day.net only has packages for amd64,
  i figured i'd make one; it only took about 9 hours or so :P
 
  http://ghirai.com/openoffice.org-3.0.1.tbz (~130MiB)
 
  Created with pkg_create -b on 7.1.
  Tried to install on another box and it worked fine, provided you
  have the required deps installed.
 
  --
  Regards,
  Ghirai.
 
 
 
 
 What options (config), if any, did you build with?

-DWITHOUT_MOZILLA

-- 
Regards,
Ghirai.
___
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: How to list all the installed packages...

2009-03-28 Thread Ghirai
On Fri, 27 Mar 2009 09:05:04 +0700 (ICT)
Olivier Nicole o...@cs.ait.ac.th wrote:

 Hi,
 
 Is there a way to show a list of all installed packages that are not
 required by any other package?
 
 Some thing like pkg_info -aR where the Required by: field is empty.
 
 Ultimately, that would give a list of software versus libraries.
 
 The question arise because, while installing a new machine, I found
 out that I have help2man installed, that is not required by any other
 package, that I did not install myself, that looks unneeded to me
 (until I may need it one day). So I would remove it; and would like to
 make a list of what is removable (that I did not install, and that is
 not required).
 
 TIA,
 
 Olivier

I use pkg_rmleaves.

-- 
Regards,
Ghirai.
___
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



if anyone needs OOo 3.0.1 i386 package

2009-03-28 Thread Ghirai
Seeing as good-day.net only has packages for amd64,
i figured i'd make one; it only took about 9 hours or so :P

http://ghirai.com/openoffice.org-3.0.1.tbz (~130MiB)

Created with pkg_create -b on 7.1.
Tried to install on another box and it worked fine, provided you
have the required deps installed.

-- 
Regards,
Ghirai.
___
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: speed in extracting rar files - unrar vs. 7z

2009-03-21 Thread Ghirai
On Fri, 20 Mar 2009 19:27:02 -0800
Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net wrote:

 On Friday 20 March 2009 17:55:49 RW wrote:
  On Sat, 21 Mar 2009 01:53:16 +0200
 
  Ghirai ghi...@ghirai.com wrote:
   The shareware WinRAR on windows seems to be better implemented
   (?), as it uses both cores to the fullest, and as such the time
   needed to extract stuff is a lot shorter.
 
  IIRC the unix version is portable C, but winrar has a lot of CPU
  specific optimizations.
 
 Among which, being single threaded on unix:
 % ldd /usr/local/bin/unrar
 /usr/local/bin/unrar:
 libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x280ad000)
 libm.so.5 = /lib/libm.so.5 (0x281a1000)
 libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x281bb000)
 libc.so.7 = /lib/libc.so.7 (0x281c6000)
 
 Since disk can read faster then the decompression, a threadpool would
 be able to use both CPU's for decompressing and speed things up. At
 least in theory, but certainly on large files with SATA disks.
 
 I believe 7z uses bigger buffers, which would explain the marginal
 difference in runtime.
 -- 
 Mel
 

That sounds about right, thanks.

This is too bad really, seeing as multicore has gained a lot of
traction, and seems to be getting even more popular in the future.

I forgot to state that the disks are SATA300, and i ran WinRAR on the
same hardware as unrar/7z.

-- 
Regards,
Ghirai.
___
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


speed in extracting rar files - unrar vs. 7z

2009-03-20 Thread Ghirai
Hey,

Does anyone know a faster way of extracting big rar files, or why is
it so slow?

I did a quick test with time (extracting the same ~800MiB file,
consisting of split archives):

unrar:

real4m29.637s
user0m4.969s
sys 0m3.131s

7z:

real3m50.020s
user0m4.784s
sys 0m1.821s


While not a very good test, as i was having other apps idling around at
the time, i did notice that neither of them were fully utilizing the
CPU (Core2Duo E6550, clocked at 2.9GHz).
Usage was ~8% at most.

As you can see, 7z is marginally faster.

The shareware WinRAR on windows seems to be better implemented (?), as
it uses both cores to the fullest, and as such the time needed to
extract stuff is a lot shorter.

If this an implementation problem in unrar/7z, or is it the scheduler's
'fault' so to speak?
Or does it have something to do with disk IO? If so, how do i check,
and how can it be improved?
Looking at top again, while extracting, showed both apps' state to be
getblk most of the time, if it matters.

I'm running 7.1-RELEASE, i386, generic kernel.

Any ideas/thoughts?

-- 
Regards,
Ghirai.
___
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: is there an OOo-3 package Anywhere?

2009-02-27 Thread Ghirai
On Fri, 27 Feb 2009 11:51:05 -0800
Gary Kline kl...@thought.org wrote:

 
   Ihave the src for openoffice-3.0.1 but lack the space to
 build it. Before I d/loaded the tarballs I did check for a pre-built
 version-3 package.  Couldn't find any.  So, nutshell: is there any
 prefab package anywhere?  I don't know much about the p2p
 distribution of large files; is this a possibility?
 
   thanks for some clues!
 
   gary
 

Only 3.0.0 and for i386/amd64. They work fine though.

ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/3.0.0/

If anyone else know where to get 3.0.1 please post :)

-- 
Regards,
Ghirai.
___
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: Intel 5100 AGN WiFi

2009-01-21 Thread Ghirai
On Wednesday 21 January 2009 12:41:23 Da Rock wrote:
 On Tue, 2009-01-20 at 10:48 +0200, Ghirai wrote:
  Hello,
 
  After a quick search it appears that Intel 5100 AGN wifi card is not
  supported (at least not in RELEASE?).
  If so, are there plans, dev. in progress, etc?
 
  Thanks.

 AFAIK this uses the iwn driver which a group of us is now working on.
 Backports (testing) exist for 7.1, and there are several references to
 them on this list. Use the latest, and post back here with your results
 which will help us further the task (/var/log/messages, dmesg, etc).

 Just to check that this is the driver you need, run a pciconf -lv and
 post the result back here.


I was shopping for a notebook that has this card, and wanted to make sure.
I'll post info if i buy it.

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


Intel 5100 AGN WiFi

2009-01-20 Thread Ghirai
Hello,

After a quick search it appears that Intel 5100 AGN wifi card is not supported 
(at least not in RELEASE?).
If so, are there plans, dev. in progress, etc?

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


stand-alone GTK2 wlan config tool?

2008-12-02 Thread Ghirai
Hello list,

Are there any stand-alone, GTK2, wlan config apps out there (basic
stuff, like viewing available networks, setting wpa key, connecting,
etc.)?

I'm using xfce, and the wlan plugin thingie can only show the signal
strength, assuming i'm already connected.

Thanks.

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


Re: Installing HP LaserJet 4+ in CUPS

2008-11-16 Thread Ghirai
On Sun, 16 Nov 2008 14:38:40 -0700
Andrew Falanga [EMAIL PROTECTED] wrote:

 Hi,
 
 I finally bit the bullet as it were and switched from amd64 to i386
 (too many programs I couldn't run, such as flashplayer and the nvidia
 drivers). Anyway, I'm getting things going again and I remember that
 I had to install a printer driver from ports for my HP LJ 4+ but I
 can't remember what it was. Could someone here please refresh my
 memory?
 
 Thanks,
 Andy

Maybe /usr/ports/print/hplip?

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


*BUMP* trouble building postgresql-client

2008-11-15 Thread Ghirai
Hello list,

I haven't been able to upgrade PostgreSQL from 8.3.3 to 8.3.5.

I'm running 7.0-RELEASE-p5, amd64.

# pkg_version -vL =
postgresql-client-8.3.3needs updating (port has 8.3.5)
postgresql-server-8.3.3needs updating (port has 8.3.5)
# 

After that i used portupgrade -a.
Output is below.

...
cc -O2 -fno-strict-aliasing -pipe  -O3 -funroll-loops -Wall
-Wmissing-prototypes -Wpointer-arith -Winline
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
-fwrapv -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC
-DPIC -shared -Wl,-x,-soname,libpq.so.5  fe-auth.o fe-connect.o
fe-exec.o fe-misc.o fe-print.o fe-lobj.o fe-protocol2.o fe-protocol3.o
pqexpbuffer.o pqsignal.o fe-secure.o md5.o ip.o wchar.o encnames.o
noblock.o pgstrcasecmp.o thread.o   -L../../../src/port
-L/usr/local/lib -lintl -lssl -lcrypto -lcrypt -pthread
-Wl,-R'/usr/local/lib' -o libpq.so.5 /usr/bin/ld: /usr/lib/libpthread.a
(thr_syscalls.o): relocation R_X86_64_32S can not be used when making a
shared object; recompile with -fPIC /usr/lib/libpthread.a: could not
read symbols: Bad value gmake[1]: *** [libpq.so.5] Error 1 gmake[1]:
Leaving directory
`/usr/ports/databases/postgresql83-client/work/postgresql-8.3.5/src/interfaces/libpq'
gmake: *** [all] Error 2 *** Error code 2

Stop in /usr/ports/databases/postgresql83-client.
*** Error code 1

Stop in /usr/ports/databases/postgresql83-client.
** Command failed [exit code 1]: /usr/bin/script
-qa /tmp/portupgrade.62208.0 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=postgresql-client-8.3.3 UPGRADE_PORT_VER=8.3.3 make ** Fix
the problem and try again.
---  Skipping
'databases/postgresql83-server' (postgresql-server-8.3.3) because a
requisite package
'postgresql-client-8.3.3' (databases/postgresql83-client) failed
(specify -k to force) ** Listing the failed packages (-:ignored /
*:skipped / !:failed) ! databases/postgresql83-client
(postgresql-client-8.3.3)   (unknown build error)
* databases/postgresql83-server (postgresql-server-8.3.3)


However, on a roughly similar machine, the process went fine.

Any ideas?

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


trouble building postgresql-client

2008-11-10 Thread Ghirai
Hello list,

I haven't been able to upgrade PostgreSQL from 8.3.3 to 8.3.5.

I'm running 7.0-RELEASE-p5, amd64.

# pkg_version -vL =
postgresql-client-8.3.3needs updating (port has 8.3.5)
postgresql-server-8.3.3needs updating (port has 8.3.5)
# 

After that i used portupgrade -a.
Output is below.

...
cc -O2 -fno-strict-aliasing -pipe  -O3 -funroll-loops -Wall
-Wmissing-prototypes -Wpointer-arith -Winline
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
-fwrapv -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC
-DPIC -shared -Wl,-x,-soname,libpq.so.5  fe-auth.o fe-connect.o
fe-exec.o fe-misc.o fe-print.o fe-lobj.o fe-protocol2.o fe-protocol3.o
pqexpbuffer.o pqsignal.o fe-secure.o md5.o ip.o wchar.o encnames.o
noblock.o pgstrcasecmp.o thread.o   -L../../../src/port
-L/usr/local/lib -lintl -lssl -lcrypto -lcrypt -pthread
-Wl,-R'/usr/local/lib' -o libpq.so.5 /usr/bin/ld: /usr/lib/libpthread.a
(thr_syscalls.o): relocation R_X86_64_32S can not be used when making a
shared object; recompile with -fPIC /usr/lib/libpthread.a: could not
read symbols: Bad value gmake[1]: *** [libpq.so.5] Error 1 gmake[1]:
Leaving directory
`/usr/ports/databases/postgresql83-client/work/postgresql-8.3.5/src/interfaces/libpq'
gmake: *** [all] Error 2 *** Error code 2

Stop in /usr/ports/databases/postgresql83-client.
*** Error code 1

Stop in /usr/ports/databases/postgresql83-client.
** Command failed [exit code 1]: /usr/bin/script
-qa /tmp/portupgrade.62208.0 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=postgresql-client-8.3.3 UPGRADE_PORT_VER=8.3.3 make ** Fix
the problem and try again.
---  Skipping
'databases/postgresql83-server' (postgresql-server-8.3.3) because a
requisite package
'postgresql-client-8.3.3' (databases/postgresql83-client) failed
(specify -k to force) ** Listing the failed packages (-:ignored /
*:skipped / !:failed) ! databases/postgresql83-client
(postgresql-client-8.3.3)   (unknown build error)
* databases/postgresql83-server (postgresql-server-8.3.3)


However, on a roughly similar machine, the process went fine.

Any ideas?

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


dmesg smart error

2008-09-25 Thread Ghirai
Hello list,

I'm getting this error in dmesg (7 times):

ad2: FAILURE - SMART status=51READY,DSC,ERROR error=4ABORTED

I'm running FreeBSD 6.3-RELEASE, amd64.
HD is ad2: 152626MB Seagate ST3160815AS 3.AAD at ata1-master SATA150

Any ideas? Is the disk going to die?
Thanks.

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


Re: Dealing with portscans

2008-09-22 Thread Ghirai
On Mon, 22 Sep 2008 08:17:02 -0700
David Allen [EMAIL PROTECTED] wrote:

 Over the last few weeks I've been getting numerous ports scans, each
 from unique hosts.  The situation is more of an annoyance than
 anything else, but I would prefer not seeing or having to deal with
 an extra 20-30K entries in my logs as was the case recently.
 
 I use pf for firewalling, and while it does offer different methods
 (max-src-conn, max-src-conn-rate, etc.) for dealing with abusive
 hosts, it doesn't seem to offer much in the way of dealing with
 repeated blocked (non-stateful) connection attempts from a given host.
 
 Short of running something like snort, is there a suitable tool for
 dealing with this?  If not, I'll probably resort to running a cronjob
 to parse the logfile and add the offending hosts manually.

Add the abusive hosts to a table x, via max-src-conn, max-src-conn-rate,
etc., then add near the top of your ruleset:

block drop quick from x

Hope it helps.

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


Re: OO 2.4.1 package problem

2008-09-19 Thread Ghirai
On Fri, 19 Sep 2008 09:33:05 +0100
Mike Clarke [EMAIL PROTECTED] wrote:

 On Thursday 18 September 2008, Ghirai wrote:
 
  Alright, installed from ports, and it's working as it should.
  And it only took about 4 hours.
 
 Four hours sounds very good. Out of curiosity what hardware was that
 on? When I tried a bit over a year ago it ran for nearly 2 days
 before failing with an error. That was on a low powered system with a
 Duron 1600 and only 750 MB memory. Now that I've got a 2.5GHz Athlon
 X2 4850e and 2 GB memory it might be worth another try.
 
 -- 
 Mike Clarke


I'm running an Intel C2D E6550 at 2.33GHz, but i overclocked it to
3.1GHz, and 2GB of RAM.

I had all the dependencies already in place from the package install
attempt (including Diablo JDK and SDK, which i installed from packages
btw), so 4 hours was just the OO port itself.

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


Re: OO 2.4.1 package problem

2008-09-18 Thread Ghirai
On Wed, 17 Sep 2008 19:07:29 -0400
Vinny [EMAIL PROTECTED] wrote:

 Hi Ghirai,
 
  
  I installed OOo_2.4.1_FreeBSD70Intel_install_en-US.tbz, along with the 
  required deps,
  as well as diablo-jre-freebsd7.i386.1.6.0.07.02.tbz.
  
  Now i'm getting this error:
  
  [EMAIL PROTECTED] /usr/home/ghirai]$ openoffice.org-2.4.1
  javaldx: Could not find a Java Runtime Environment! 
  The application cannot be started. 
  The component manager is not available.
  Segmentation fault (core dumped)
  
 
 I ran into this error using the package you mention.  It turned
 out to be a problem with javaldx not recognizing the FreeBSD
 Foundation as a provider of a Java run-time.  I had to fix it
 by updating my ports tree and building OOo from source.
 Hopefully, this is possible on your system.
 
 I read about it in the openoffice at freebsd mailing list.
 The new source has the javaldx fix.
 
 Vinny
 

Thanks for the info.

I guess i'll be compiling from source after all; was hoping to save myself the 
many hours :)

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


Re: OO 2.4.1 package problem

2008-09-18 Thread Ghirai
On Thu, 18 Sep 2008 12:17:24 +0300
Ghirai [EMAIL PROTECTED] wrote:

 On Wed, 17 Sep 2008 19:07:29 -0400
 Vinny [EMAIL PROTECTED] wrote:
 
  Hi Ghirai,
  
   
   I installed OOo_2.4.1_FreeBSD70Intel_install_en-US.tbz, along
   with the required deps, as well as
   diablo-jre-freebsd7.i386.1.6.0.07.02.tbz.
   
   Now i'm getting this error:
   
   [EMAIL PROTECTED] /usr/home/ghirai]$ openoffice.org-2.4.1
   javaldx: Could not find a Java Runtime Environment! 
   The application cannot be started. 
   The component manager is not available.
   Segmentation fault (core dumped)
   
  
  I ran into this error using the package you mention.  It turned
  out to be a problem with javaldx not recognizing the FreeBSD
  Foundation as a provider of a Java run-time.  I had to fix it
  by updating my ports tree and building OOo from source.
  Hopefully, this is possible on your system.
  
  I read about it in the openoffice at freebsd mailing list.
  The new source has the javaldx fix.
  
  Vinny
  
 
 Thanks for the info.
 
 I guess i'll be compiling from source after all; was hoping to save
 myself the many hours :)
 

Alright, installed from ports, and it's working as it should.
And it only took about 4 hours.

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


OO 2.4.1 package problem

2008-09-17 Thread Ghirai
Hello list,

I installed OOo_2.4.1_FreeBSD70Intel_install_en-US.tbz, along with the required 
deps,
as well as diablo-jre-freebsd7.i386.1.6.0.07.02.tbz.

Now i'm getting this error:

[EMAIL PROTECTED] /usr/home/ghirai]$ openoffice.org-2.4.1
javaldx: Could not find a Java Runtime Environment! 
The application cannot be started. 
The component manager is not available.
Segmentation fault (core dumped)


Any ideas?
Thanks.

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


Re: OO 2.4.1 package problem

2008-09-17 Thread Ghirai
On Wed, 17 Sep 2008 19:28:29 +0200
Todor Genov [EMAIL PROTECTED] wrote:

 Hi Ghirai,
 
  Is your home directory on an NFS partition by any chance? I ran into
 similar issues on my diskless environment and resolved it by adding the
 following to the NFS server and clients' rc.conf files:
 
 rpc_lockd_enable=yes
 rpc_statd_enable=yes
 rpcbind_enable=yes
 
 Also my /usr/local/openoffice.org-2.4.1/program/soffice file has the
 following lines changed/uncommented:
 
 #
 STAR_PROFILE_LOCKING_DISABLED=1
 export STAR_PROFILE_LOCKING_DISABLED
 #
 
 # file locking now enabled by default
 #SAL_ENABLE_FILE_LOCKING=1
 #export SAL_ENABLE_FILE_LOCKING
 
 
 Ghirai wrote:
  Hello list,
  
  I installed OOo_2.4.1_FreeBSD70Intel_install_en-US.tbz, along with the 
  required deps,
  as well as diablo-jre-freebsd7.i386.1.6.0.07.02.tbz.
  
  Now i'm getting this error:
  
  [EMAIL PROTECTED] /usr/home/ghirai]$ openoffice.org-2.4.1
  javaldx: Could not find a Java Runtime Environment! 
  The application cannot be started. 
  The component manager is not available.
  Segmentation fault (core dumped)
  
  
  Any ideas?
  Thanks.
  

No, i'm not running off NFS.

I tried your suggestion, but i'm getting the same error.
Also i have no clue why it says it hasn't found java, because it is installed 
and it works...

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


py-qt install error (repost)

2008-07-30 Thread Ghirai
Hello list,

I'm running 7.0-RELEASE, i386, and KDE 3.5.8 from ports.

Trying to install /usr/ports/x11-toolkits/py-qt gives this error:

...
-- Creating pyqtconfig.py...
/usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++|
share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX
= c++|' -e 's|LINK = c++|LINK =
c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qt/Makefile
/usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++|
share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX
= c++|' -e 's|LINK = c++|LINK =
c++|'
/usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtcanvas/Makefile
/usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++|
share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX
= c++|' -e 's|LINK = c++|LINK =
++|'
/usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtnetwork/Makefile
/usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++|
share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX
= c++|' -e 's|LINK = c++|LINK =
c++|'
/usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qttable/Makefile
/usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++|
share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX
= c++|' -e 's|LINK = c++|LINK =
c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtxml/Makefile
/usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++|
share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX
= c++|' -e 's|LINK = c++|LINK =
c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtui/Makefile
/usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++|
share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX
= c++|' -e 's|LINK = c++|LINK =
c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtsql/Makefile
/usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++|
share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX
= c++|' -e 's|LINK = c++|LINK =
c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtext/Makefile
/usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++|
share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX
= c++|' -e 's|LINK = c++|LINK =
c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtgl/Makefile
sed: /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtgl/Makefile:
No such file or directory
*** Error code 1

Stop in /usr/ports/x11-toolkits/py-qt.
*** Error code 1

Stop in /usr/ports/x11-toolkits/py-qt.
*** Error code 1


Any ideas?

Ports tree is up to date.


If i disable OpenGL support in make config, it gets past that error, but hangs 
sucking up CPU here:

===  Building for py25-qt-3.17.4_1,2
c++ -c -pipe -fPIC -O2 -fno-strict-aliasing -pipe -Wall -W -DQT_NO_DEBUG 
-DQT_THREAD_SUPPORT -I. -I/usr/local/include -I/usr/local/include/python2.5 
-I/usr/local/share/qt/mkspecs/freebsd-g++ -o 
sipqtcmodule.o sipqtcmodule.cpp

Thanks.

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


Re: py-qt install error

2008-07-21 Thread Ghirai
On Sunday 20 July 2008 22:21:25 Ghirai wrote:
 Hello list,

 I'm running 7.0-RELEASE, i386, and KDE 3.5.8 from ports.

 Trying to install /usr/ports/x11-toolkits/py-qt gives this error:

 ...
 -- Creating pyqtconfig.py...
 /usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++|
 share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX
 = c++|' -e 's|LINK = c++|LINK =
 c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qt/Makefile
 /usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++|
 share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX
 = c++|' -e 's|LINK = c++|LINK =
 c++|'
 /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtcanvas/Makefile
 /usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++|
 share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX
 = c++|' -e 's|LINK = c++|LINK =
 c++|'
 /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtnetwork/Makefile
 /usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++|
 share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX
 = c++|' -e 's|LINK = c++|LINK =
 c++|'
 /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qttable/Makefile
 /usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++|
 share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX
 = c++|' -e 's|LINK = c++|LINK =
 c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtxml/Makefile
 /usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++|
 share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX
 = c++|' -e 's|LINK = c++|LINK =
 c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtui/Makefile
 /usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++|
 share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX
 = c++|' -e 's|LINK = c++|LINK =
 c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtsql/Makefile
 /usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++|
 share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX
 = c++|' -e 's|LINK = c++|LINK =
 c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtext/Makefile
 /usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++|
 share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX
 = c++|' -e 's|LINK = c++|LINK =
 c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtgl/Makefile
 sed: /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtgl/Makefile:
 No such file or directory
 *** Error code 1

 Stop in /usr/ports/x11-toolkits/py-qt.
 *** Error code 1

 Stop in /usr/ports/x11-toolkits/py-qt.
 *** Error code 1


 Any ideas?

 Ports tree is up to date.



If i disable OpenGL support in make config, it gets past that error, but hangs 
sucking up CPU here:

===  Building for py25-qt-3.17.4_1,2
c++ -c -pipe -fPIC -O2 -fno-strict-aliasing -pipe -Wall -W -DQT_NO_DEBUG 
-DQT_THREAD_SUPPORT -I. -I/usr/local/include -I/usr/local/include/python2.5 
-I/usr/local/share/qt/mkspecs/freebsd-g++ -o 
sipqtcmodule.o sipqtcmodule.cpp


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


py-qt install error

2008-07-20 Thread Ghirai
Hello list,

I'm running 7.0-RELEASE, i386, and KDE 3.5.8 from ports.

Trying to install /usr/ports/x11-toolkits/py-qt gives this error:

...
-- Creating pyqtconfig.py...
/usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++|
share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX = 
c++|' -e 's|LINK = c++|LINK = 
c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qt/Makefile
/usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++|
share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX = 
c++|' -e 's|LINK = c++|LINK = 
c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtcanvas/Makefile
/usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++|
share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX = 
c++|' -e 's|LINK = c++|LINK = 
c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtnetwork/Makefile
/usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++|
share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX = 
c++|' -e 's|LINK = c++|LINK = 
c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qttable/Makefile
/usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++|
share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX = 
c++|' -e 's|LINK = c++|LINK = 
c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtxml/Makefile
/usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++|
share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX = 
c++|' -e 's|LINK = c++|LINK = 
c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtui/Makefile
/usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++|
share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX = 
c++|' -e 's|LINK = c++|LINK = 
c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtsql/Makefile
/usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++|
share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX = 
c++|' -e 's|LINK = c++|LINK = 
c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtext/Makefile
/usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++|
share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX = 
c++|' -e 's|LINK = c++|LINK = 
c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtgl/Makefile
sed: /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtgl/Makefile: No 
such file or directory
*** Error code 1

Stop in /usr/ports/x11-toolkits/py-qt.
*** Error code 1

Stop in /usr/ports/x11-toolkits/py-qt.
*** Error code 1


Any ideas?

Ports tree is up to date.


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


Re: Konqueror UNICODE fonts

2008-07-06 Thread Ghirai
On Sunday 06 July 2008 13:08:55 Ezequiel Aguerre wrote:
 Hi,
 1. Make sure you have the proper fonts :P
 2. Choose a generic font name in konqueror config, something like Sans
 and Monospace instead of (for example) Bitstream Vera Sans and
 Bitstream Vera Sans Mono.
 3. Make sure you have configured fontconfig so that it makes the proper
 replace from Sans - Your preferred font and so on.

 At least I had that problem until I did this.
 The problem seems to be with font substitution. Say for example you are
 using some of the DejaVu fonts and you want to see a page with some
 strange character wich is not in that font; that character should be taken
 from another font, however Konqueror doesn't get it quite right :P

 Bye!!

 2008/7/5 Ghirai [EMAIL PROTECTED]:
  Hello list.
 
  I'm running KDE 3.5.8 from ports.
 
  Konqueror doesn't seem to want to display unicode fonts properly; i get
  boxes
  instead, even though i set the encoding to UTF-8.
 
  The same seem to be with text editors and such.
 
  Any indeas?
 
  Thanks.
 
  --
  Regards,
  Ghirai.

Alright, i installed dejavu fonts from ports, added the path to xorg.conf, and
told KDE and Konqueror to use the DejaVu fonts.

Everything works.

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


Re: Konqueror UNICODE fonts

2008-07-06 Thread Ghirai
On Monday 07 July 2008 00:48:14 Mitja wrote:
 On Sunday 06 July 2008 06:23:34 Ghirai wrote:
  On Sunday 06 July 2008 13:08:55 Ezequiel Aguerre wrote:
   Hi,
   1. Make sure you have the proper fonts :P
   2. Choose a generic font name in konqueror config, something like
   Sans and Monospace instead of (for example) Bitstream Vera Sans
   and Bitstream Vera Sans Mono.
   3. Make sure you have configured fontconfig so that it makes the
   proper replace from Sans - Your preferred font and so on.
  
   At least I had that problem until I did this.
   The problem seems to be with font substitution. Say for example you are
   using some of the DejaVu fonts and you want to see a page with some
   strange character wich is not in that font; that character should be
   taken from another font, however Konqueror doesn't get it quite right
   :P
  
   Bye!!
  
   2008/7/5 Ghirai [EMAIL PROTECTED]:
Hello list.
   
I'm running KDE 3.5.8 from ports.
   
Konqueror doesn't seem to want to display unicode fonts properly; i
get boxes
instead, even though i set the encoding to UTF-8.
   
The same seem to be with text editors and such.
   
Any indeas?
   
Thanks.
   
--
Regards,
Ghirai.
 
  Alright, i installed dejavu fonts from ports, added the path to
  xorg.conf, and told KDE and Konqueror to use the DejaVu fonts.
 
  Everything works.

 If you are going, for example, to the:
 http://en.wikipedia.org/wiki/Ecuador

 Are there squares too, please?

 I have to used DejaVu fonts and than changed to Liberation fonts and I had
 and I have a problem as you had still.

 Thank you.

The article itself has no squares.

However, the Languages box on the right of the page shows squares for about 
10 entries; seems to be something more exotic :P

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


Konqueror UNICODE fonts

2008-07-05 Thread Ghirai
Hello list.

I'm running KDE 3.5.8 from ports.

Konqueror doesn't seem to want to display unicode fonts properly; i get boxes 
instead, even though i set the encoding to UTF-8.

The same seem to be with text editors and such.

Any indeas?

Thanks.

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


Re: CPUs again.

2008-06-27 Thread Ghirai
On Fri, 27 Jun 2008 14:54:31 -0400
Grant Peel [EMAIL PROTECTED] wrote:

 64 bit Celerons, and 64 bit Xenons?

amd64 and ia64 (assuming you're referring to Xeon architecture, and not Xenon 
gas :P)

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


portsclean -L question

2008-06-24 Thread Ghirai
After upgrading couple ports, i get this output with portsclean (sorry for the 
big paste):

ghirai# portsclean -L
** /usr/local/lib/libcharset.so.1 is shadowed by /usr/X11R6/lib/libcharset.so.1
/usr/X11R6/lib/libcharset.so.1  - libiconv-1.11_1
/usr/local/lib/libcharset.so.1  - libiconv-1.11_1
 -- Two packages install the same library in different directories!

** /usr/local/lib/libiconv.so.3 is shadowed by /usr/X11R6/lib/libiconv.so.3
/usr/X11R6/lib/libiconv.so.3- libiconv-1.11_1
/usr/local/lib/libiconv.so.3- libiconv-1.11_1
 -- Two packages install the same library in different directories!

** /usr/local/lib/libgettextpo.so.4 is shadowed by 
/usr/X11R6/lib/libgettextpo.so.4
/usr/X11R6/lib/libgettextpo.so.4- gettext-0.17_1
/usr/local/lib/libgettextpo.so.4- gettext-0.17_1
 -- Two packages install the same library in different directories!

** /usr/local/lib/libgmodule-2.0.so.0 is shadowed by 
/usr/X11R6/lib/libgmodule-2.0.so.0
/usr/X11R6/lib/libgmodule-2.0.so.0  - glib-2.16.3_1
/usr/local/lib/libgmodule-2.0.so.0  - glib-2.16.3_1
 -- Two packages install the same library in different directories!

** /usr/local/lib/libpcre.so.0 is shadowed by /usr/X11R6/lib/libpcre.so.0
/usr/X11R6/lib/libpcre.so.0 - pcre-7.7
/usr/local/lib/libpcre.so.0 - pcre-7.7
 -- Two packages install the same library in different directories!

** /usr/local/lib/libpcreposix.so.0 is shadowed by 
/usr/X11R6/lib/libpcreposix.so.0
/usr/X11R6/lib/libpcreposix.so.0- pcre-7.7
/usr/local/lib/libpcreposix.so.0- pcre-7.7
 -- Two packages install the same library in different directories!

** /usr/local/lib/libpcrecpp.so.0 is shadowed by /usr/X11R6/lib/libpcrecpp.so.0
/usr/X11R6/lib/libpcrecpp.so.0  - pcre-7.7
/usr/local/lib/libpcrecpp.so.0  - pcre-7.7
 -- Two packages install the same library in different directories!

** /usr/local/lib/libgthread-2.0.so.0 is shadowed by 
/usr/X11R6/lib/libgthread-2.0.so.0
/usr/X11R6/lib/libgthread-2.0.so.0  - glib-2.16.3_1
/usr/local/lib/libgthread-2.0.so.0  - glib-2.16.3_1
 -- Two packages install the same library in different directories!

** /usr/local/lib/libgobject-2.0.so.0 is shadowed by 
/usr/X11R6/lib/libgobject-2.0.so.0
/usr/X11R6/lib/libgobject-2.0.so.0  - glib-2.16.3_1
/usr/local/lib/libgobject-2.0.so.0  - glib-2.16.3_1
 -- Two packages install the same library in different directories!

** /usr/local/lib/libgio-2.0.so.0 is shadowed by /usr/X11R6/lib/libgio-2.0.so.0
/usr/X11R6/lib/libgio-2.0.so.0  - glib-2.16.3_1
/usr/local/lib/libgio-2.0.so.0  - glib-2.16.3_1
 -- Two packages install the same library in different directories!

** /usr/local/lib/libslang.so.2 is shadowed by /usr/X11R6/lib/libslang.so.2
/usr/X11R6/lib/libslang.so.2- libslang2-2.1.3
/usr/local/lib/libslang.so.2- libslang2-2.1.3
 -- Two packages install the same library in different directories!

** /usr/local/lib/libfam.so.0 is shadowed by /usr/X11R6/lib/libfam.so.0
/usr/X11R6/lib/libfam.so.0  - gamin-0.1.9_2
/usr/local/lib/libfam.so.0  - gamin-0.1.9_2
 -- Two packages install the same library in different directories!

** /usr/local/lib/libaspell.so.16 is shadowed by /usr/X11R6/lib/libaspell.so.16
/usr/X11R6/lib/libaspell.so.16  - aspell-0.60.6_2
/usr/local/lib/libaspell.so.16  - aspell-0.60.6_2
 -- Two packages install the same library in different directories!

** /usr/local/lib/libexpat.so.6 is shadowed by /usr/X11R6/lib/libexpat.so.6
/usr/X11R6/lib/libexpat.so.6- expat-2.0.1
/usr/local/lib/libexpat.so.6- expat-2.0.1
 -- Two packages install the same library in different directories!

** /usr/local/lib/libapr-1.so.3 is shadowed by /usr/X11R6/lib/libapr-1.so.3
/usr/X11R6/lib/libapr-1.so.3- apache-2.2.9
/usr/local/lib/libapr-1.so.3- apache-2.2.9
 -- Two packages install the same library in different directories!

** /usr/local/lib/libaprutil-1.so.3 is shadowed by 
/usr/X11R6/lib/libaprutil-1.so.3
/usr/X11R6/lib/libaprutil-1.so.3- apache-2.2.9
/usr/local/lib/libaprutil-1.so.3- apache-2.2.9
 -- Two packages install the same library in different directories!

** /usr/local/lib/libsasl2.so.2 is shadowed by /usr/X11R6/lib/libsasl2.so.2
/usr/X11R6/lib/libsasl2.so.2- cyrus-sasl-2.1.22
/usr/local/lib/libsasl2.so.2- cyrus-sasl-2.1.22
 -- Two packages install the same library in different directories!

** /usr/local/lib/libdb41.so.1 is shadowed by /usr/X11R6/lib/libdb41.so.1
/usr/X11R6/lib/libdb41.so.1 - db41-4.1.25_4
/usr/local/lib/libdb41.so.1 - db41-4.1.25_4
 -- Two packages install the same library in different directories!

** /usr/local/lib/libdb41_cxx.so.1 is shadowed by 
/usr/X11R6/lib/libdb41_cxx.so.1
/usr

Re: portsclean -L question

2008-06-24 Thread Ghirai
On Tue, 24 Jun 2008 07:13:51 -0500
David J Brooks [EMAIL PROTECTED] wrote:

 On Tuesday 24 June 2008 04:41:55 am Ghirai wrote:
  After upgrading couple ports, i get this output with portsclean
  (sorry for the big paste):
 
  ghirai# portsclean -L
  ** /usr/local/lib/libcharset.so.1 is shadowed by
  /usr/X11R6/lib/libcharset.so.1 /usr/X11R6/lib/libcharset.so.1
  - libiconv-1.11_1
  /usr/local/lib/libcharset.so.1  - libiconv-1.11_1
   -- Two packages install the same library in different directories!
 
 This looks like an incomplete transition from X11R6 to X!!R7...
 
  Any ideas how to fix this?
 
 Please read the  /usr/ports/UPDATING entry for 20070519.
 
 David
 -- 
 You can't prove it won't happen.

Well the thing is Xorg was never installed on this box :/

Can i just nuke /usr/X11R6 and symlink to /usr/ocal ?

Thanks.

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


gnuplot without tetex?

2008-04-26 Thread Ghirai
Hello list,

Is there any way to install gnuplot without the somewhat huge tetex deps?

Thanks.

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


Re: gnuplot without tetex?

2008-04-26 Thread Ghirai
On Sat, 26 Apr 2008 19:43:50 +0200
Roland Smith [EMAIL PROTECTED] wrote:

 On Sat, Apr 26, 2008 at 08:22:33PM +0300, Ghirai wrote:
  Hello list,
  
  Is there any way to install gnuplot without the somewhat huge tetex deps?
 
 Yes.
 
 Update your ports tree. Go to the port's directory, and give the command
 'make config'.  Turn off the Search kpsexpand at run-time option and
 save the options. That should remove the dependancy on teTeX.
 
 Roland
 -- 

Thanks for the quick reply.
I must be getting tired, options dialog clearly says 'TETEX'...

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


Re: FreeBSD 7.0 - should I be using gvinum or gmirror/gstripe?

2008-04-21 Thread Ghirai
On Sun, 20 Apr 2008 14:34:01 -0500
Shelby Cain [EMAIL PROTECTED] wrote:

 I'm toying with the idea of setting up a raid 1+0 array using 4 500GB 
 sata drives.  However, I can't seem to find any definitive answer as to 
 whether I should be using gvinum or gmirror+gstripe to accomplish that 
 goal.  Does anyone have any links to resources (or just personal 
 opinion) that provides guidelines for choosing between the two methods?
 
 Regards,
 
 Shelby Cain

I've been using gmirror (and geli) on 4 500GB HDs , raid 1, for almost a year
now (as reported by uptime) without any problems at all.

Setup is very easy.

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


Get available entropy

2008-04-11 Thread Ghirai
Hey,

Is there an app in the base install that can show the available entropy?
Also, how would you do this programatically?

Thanks.

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


Re: FreeBSD7 + Intel video chipset 965 + X11R6

2008-04-11 Thread Ghirai
On Fri, 11 Apr 2008 20:57:23 -0300
Pitre, Ian (DPS/MSP) [EMAIL PROTECTED] wrote:

 Hello all,
  
 First off I'm a total newbie to FreeBSD and the UNIX world.
  
 I installed FreeBSD 7 about 1 wk ago and I'm about to give up at this point 
 as I'm having video problems but it seems like such a great OS I want to fix 
 it.
  
 My video hardware:
  
 Integrated onboard Intel video card, 965 chipset using the system memory
  
 Here is the problem;
  
 I have GNOME (version that comes with FreeBSD 7) for an interface and 
 initially when it loaded my mouse didn't work.  I used the xorgconfig, 
 xorgcfg did not work.  Once I ran the configuration utility and the new 
 xorg.conf file was created I rebooted and now I have a mouse but the screen 
 resolution is extremely low (everything is huge).  Before I ran the utility 
 and loaded gnome the resolution was very decent (but I had no mouse).  I know 
 they're probably unrelated.
  
 Does anyone have any suggestions?
  
 p.s. I discovered on X.org that the Intel 965 chipset is 'now' supported in 
 release X11R7.2.  Would upgrading X be the smartest thing to do but my 
 question since I'm a total newbie is... how do I do that :)
  
 Thanks for any advice
  
 Ian

Make sure you have moused_enable=YES in rc.conf,
as well as usbd_enable=YES (if you have an usb mouse).

You should also verify that Xorg uses the 'intel' driver.

The handbook covers basic X11 setup pretty well:
http://www.freebsd.org/doc/en/books/handbook/x-config.html

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


Re: FreeBSD7 + Intel video chipset 965 + X11R6

2008-04-11 Thread Ghirai
On Fri, 11 Apr 2008 22:04:40 -0300
Pitre, Ian (DPS/MSP) [EMAIL PROTECTED] wrote:

 Thank you for such a quick response.
  
 1. How could I verify which driver is being used?
  
 2. I went it the post-install configuration and tried downloading the Intel 
 driver package but it failed... giving me error -1 and states to look at 
 debug screen but I have no idea where to see that.
 
 
 
 From: Ghirai [mailto:[EMAIL PROTECTED]
 Sent: Fri 2008-04-11 21:25
 To: Pitre, Ian (DPS/MSP)
 Cc: freebsd-questions@freebsd.org
 Subject: Re: FreeBSD7 + Intel video chipset 965 + X11R6
 
 
 
 On Fri, 11 Apr 2008 20:57:23 -0300
 Pitre, Ian (DPS/MSP) [EMAIL PROTECTED] wrote:
 
  Hello all,
  
  First off I'm a total newbie to FreeBSD and the UNIX world.
  
  I installed FreeBSD 7 about 1 wk ago and I'm about to give up at this point 
  as I'm having video problems but it seems like such a great OS I want to 
  fix it.
  
  My video hardware:
  
  Integrated onboard Intel video card, 965 chipset using the system memory
  
  Here is the problem;
  
  I have GNOME (version that comes with FreeBSD 7) for an interface and 
  initially when it loaded my mouse didn't work.  I used the xorgconfig, 
  xorgcfg did not work.  Once I ran the configuration utility and the new 
  xorg.conf file was created I rebooted and now I have a mouse but the screen 
  resolution is extremely low (everything is huge).  Before I ran the utility 
  and loaded gnome the resolution was very decent (but I had no mouse).  I 
  know they're probably unrelated.
  
  Does anyone have any suggestions?
  
  p.s. I discovered on X.org that the Intel 965 chipset is 'now' supported in 
  release X11R7.2.  Would upgrading X be the smartest thing to do but my 
  question since I'm a total newbie is... how do I do that :)
  
  Thanks for any advice
  
  Ian
 
 Make sure you have moused_enable=YES in rc.conf,
 as well as usbd_enable=YES (if you have an usb mouse).
 
 You should also verify that Xorg uses the 'intel' driver.
 
 The handbook covers basic X11 setup pretty well:
 http://www.freebsd.org/doc/en/books/handbook/x-config.html
 
 --
 Regards,
 Ghirai.
 
 

1. cat /etc/X11/xorg.conf | grep Driver

2. assuming you have ports installed:
cd /usr/ports/x11-drivers/xf86-video-intel  make install clean

Then make sure you have something like: Driver intel in your xorg.conf file.

3. Please don't top post.

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


pkg_version error

2008-04-05 Thread Ghirai
Hey,

Running pkg_version -vL =, when it reaches postfix is says:

--
1 open conditional:
 at line 1115 (evaluated to true)
make: fatal errors encountered -- cannot continue
pkg_version: Failed to get PKGNAME from /usr/ports/mail/postfix/Makefile!
1 open conditional:
 at line 1115 (evaluated to true)
make: fatal errors encountered -- cannot continue
pkg_version: Failed to get PKGNAME from /usr/ports/databases/ruby-bdb/Makefile!
--

Then continues normally.

Any idea how to fix it?
I'm running 6.3-RELEASE-p1 (SMP), i386.

Thanks.

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


Re: [6.3] How are those daemons started?

2008-03-31 Thread Ghirai
On Mon, 31 Mar 2008 21:47:42 +0200
Gilles [EMAIL PROTECTED] wrote:

 Hello
 
   By running netstat -an, I notice that some daemons are running,
 even though nothing is listed in either /etc/rc.conf or some
 equivalent in /usr/local/etc/ :
 
 tcp4   0  0  127.0.0.1.25
 udp4   0  0  *.2727 *.*
 udp4   0  0  *.2727 *.*
 udp4   0  0  *.514  *.*
 
 nmap seems to only handle TCP (TCP2000 = callbook?) doesn't say
 which application is opening those ports, and lsof | grep doesn't
 return anything :-/
 
 Are there other ways to start daemons besides listing them in
 /etc/rc.conf?
 
 Thank you.
 

You can stop syslog from listening by adding this to rc.conf:

syslogd_flags=-ss

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


Problem installing xmms from ports

2008-03-29 Thread Ghirai
Hello list,

When trying to install multimedia/xmms, i get this:

===  Configuring for xmms-1.2.11_2
/usr/local/share/aclocal/linc.m4:1: warning: underquoted definition of 
AM_PATH_LINC
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/local/share/aclocal/gtk.m4:7: warning: underquoted definition of 
AM_PATH_GTK
/usr/local/share/aclocal/glib.m4:8: warning: underquoted definition of 
AM_PATH_GLIB
/usr/local/share/aclocal/audiofile.m4:12: warning: underquoted definition of 
AM_PATH_AUDIOFILE
/usr/local/share/aclocal/aalib.m4:12: warning: underquoted definition of 
AM_PATH_AALIB
aclocal:configure.in:228: warning: macro `AM_PATH_LIBMIKMOD' not found in 
library
configure.in:228: error: possibly undefined macro: AM_PATH_LIBMIKMOD
  If this token and others are legitimate, please use m4_pattern_allow.
  See the Autoconf documentation.
*** Error code 1

Stop in /usr/ports/multimedia/xmms.
*** Error code 1

Stop in /usr/ports/multimedia/xmms.


Any suggestions?
Running 7.0-RELEASE here, latest ports.

Thanks.

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


Re: Xorg crashing randomly

2008-03-25 Thread Ghirai
On Sun, 23 Mar 2008 22:21:04 +0200
Ghirai [EMAIL PROTECTED] wrote:

 Hello list,
 
 Lately Xorg (log file says X.Org X Server 1.4.0') seems to crap out randomly,
 sometimes after a few hours, sometimes after a few days.
 
 I'm running 7.0-RELEASE, custom kernel (ULE scheduler and unneeded drivers 
 removed, everything else is default), and nvidia driver (latest).
 
 There's nothing in messages, nor in the xorg log file, except:
 
 ---
 Fatal server error:
 Caught signal 11.  Server aborting
 ---
 
 I don't know what other info i should give, there isn't much (if anything) in 
 the log files.
 
 I might add that i've tested the RAM, plus the rest of the system is ok.
 
 Any ideas are appreciated.
 
 Thanks.
 


I upgraded all ports, now i'll wait and see if it crashes again.

As far as i remember it crashed when opening Transmission or Pidgin from the 
tray;
i'm not sure though.

I'll report back if there are any changes. So far the upgrade seems to have 
fixed it?

Thanks for the input :)

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


Re: Xorg crashing randomly

2008-03-25 Thread Ghirai
On Sun, 23 Mar 2008 22:21:04 +0200
Ghirai [EMAIL PROTECTED] wrote:

 Hello list,
 
 Lately Xorg (log file says X.Org X Server 1.4.0') seems to crap out randomly,
 sometimes after a few hours, sometimes after a few days.
 
 I'm running 7.0-RELEASE, custom kernel (ULE scheduler and unneeded drivers 
 removed, everything else is default), and nvidia driver (latest).
 
 There's nothing in messages, nor in the xorg log file, except:
 
 ---
 Fatal server error:
 Caught signal 11.  Server aborting
 ---
 
 I don't know what other info i should give, there isn't much (if anything) in 
 the log files.
 
 I might add that i've tested the RAM, plus the rest of the system is ok.
 
 Any ideas are appreciated.
 
 Thanks.
 

About 13 hours later, same thing.
It crashes because of Transmission it seems, when right-clicking on a torrent 
- details;
from what i can tell about once every 20 times or so, which is annoying to say 
the least...

I have no clue why, i've been using Transmission for 2 years now...

Any ideas?


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


Xorg crashing randomly

2008-03-23 Thread Ghirai
Hello list,

Lately Xorg (log file says X.Org X Server 1.4.0') seems to crap out randomly,
sometimes after a few hours, sometimes after a few days.

I'm running 7.0-RELEASE, custom kernel (ULE scheduler and unneeded drivers 
removed, everything else is default), and nvidia driver (latest).

There's nothing in messages, nor in the xorg log file, except:

---
Fatal server error:
Caught signal 11.  Server aborting
---

I don't know what other info i should give, there isn't much (if anything) in 
the log files.

I might add that i've tested the RAM, plus the rest of the system is ok.

Any ideas are appreciated.

Thanks.

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


Warnings after overclock

2008-03-18 Thread Ghirai
Hello list,

I just overclocked my CPU a bit for the sake of it,
from 2.3GHz to ~2.8GHz.

Everything is nice and stable, but after reboot i get this message:

calcru: runtime went backwards from 19330 usec to 16092 usec for pid 597 
(hald-runner)
calcru: runtime went backwards from 244138 usec to 203252 usec for pid 597 
(hald-runner)
calcru: runtime went backwards from 1345442 usec to 1122955 usec for pid 596 
(hald)
calcru: runtime went backwards from 10959 usec to 9124 usec for pid 596 (hald)
...

I suspect it's got something to do with kern.timecounter.hardware;
atm. it seems to be ACPI-fast; do i need to change it to TSC?

Thanks.

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


Low space on /

2008-03-13 Thread Ghirai
Hey,

I'm running 7.0-RELEASE, x86, SMP.

Can't remember exactly since when, or how, but atm. i see this:

Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ad6s3a496M454M1.8M   100%/

I suspect it's since i upgraded from 7.0-rcX couple times.

Any idea where i should start looking for files that are not needed?

Thanks.

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


Re: Low space on /

2008-03-13 Thread Ghirai
On Thu, 13 Mar 2008 16:15:22 -0400
Robert Huff [EMAIL PROTECTED] wrote:

 
 Ghirai writes:
 
   Can't remember exactly since when, or how, but atm. i see this:
   
   Filesystem SizeUsed   Avail Capacity  Mounted on
   /dev/ad6s3a496M454M1.8M   100%/
 
   Start with /tmp.
   Also:
 
   du -x / | sort -nr | head -n 25
 
 

Here's the output (removed a couple other  100KiB ):

986K/bin
512B/dev
366K/etc/rc.d
270K/lib/geom
250K/etc/mail
170K/libexec
138K/etc/ssh
137M/
121M/boot
118K/etc/periodic
116K/etc/defaults
112M/boot/kernel

/tmp is ~2MiB.

Atm. i have no clue how df reports 454M used...

Thanks.

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


Re: Low space on /

2008-03-13 Thread Ghirai
On Thu, 13 Mar 2008 13:49:11 -0700
Chuck Swiger [EMAIL PROTECTED] wrote:

 On Mar 13, 2008, at 1:36 PM, Ghirai wrote:
  Here's the output (removed a couple other  100KiB ):
 
 [ ... ]
  121M/boot
  118K/etc/periodic
  116K/etc/defaults
  112M/boot/kernel
 
  /tmp is ~2MiB.
 
  Atm. i have no clue how df reports 454M used...
 
 Your kernel tree is huge-- on a 6.x system, that's normally around  
 25MB.  If you have a /boot/kernel.old, you can delete that, but you  
 should double-check whether you've specified non-default compiler  
 flags or something which might cause this.  Also, if you've deleted  
 things like old logfiles without restarting the daemons or syslogd,  
 you might want to reboot and then recheck the disk usage...
 
 -- 
 -Chuck
 

Are there supposed to be .ko.symbols near the .ko files in /boot/kernel?
Those would account for ~80MiB.

Also i have a total of 1041 files in /boot/kernel.

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


Re: Attansic Technology Corp. L1 Gigabit Ethernet Adapter

2008-03-02 Thread Ghirai
On Sun, 2 Mar 2008 17:43:09 +0100
Jose Luis Alarcon Sanchez [EMAIL PROTECTED] wrote:

 Hi Friends.
 
 My PC box have an Attansic Technology Corp. L1 Gigabit Ethernet Adapter
 and i wanna ask you if this device can work on FreeBSD.
 
 Now that 7.0 Release is out, maybe is time to make work FreeBSD on this
 machine.
 
 Thanks you very much, in advance.
 
 Regards.
 
 Jose.
 

As far as i know it doesn't work with FreeBSD.

I hope i'm wrong though, because i have one too.

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


Recommended jet printer

2008-02-27 Thread Ghirai
Hello list,

Can anyone recommend a jet color
printer that works with CUPS on FreeBSD,
somewhere in the low - mid range.

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


Recommended jet printer

2008-02-27 Thread Ghirai
Hello list,

Can anyone recommend a jet color
printer that works with CUPS on FreeBSD,
somewhere in the low - mid range.

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


Recommended jet printer

2008-02-27 Thread Ghirai
Hello list,

Can anyone recommend a jet color
printer that works with CUPS on FreeBSD,
somewhere in the low - mid range.

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


Recommended jet printer

2008-02-27 Thread Ghirai
Hello list,

Can anyone recommend a jet color
printer that works with CUPS on FreeBSD,
somewhere in the low - mid range.

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


Recommended jet printer

2008-02-27 Thread Ghirai
Hello list,

Can anyone recommend a jet color
printer that works with CUPS on FreeBSD,
somewhere in the low - mid range.

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


Recommended jet printer

2008-02-27 Thread Ghirai
Hello list,

Can anyone recommend a jet color
printer that works with CUPS on FreeBSD,
somewhere in the low - mid range.

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


Re: Recommended jet printer

2008-02-27 Thread Ghirai

Thanks for the suggestions :)

Sorry for the spam, my mail wasn't getting through
because i didn't have a PTR record for my domain.
Seems like once that got sorted all my attempts got delivered.

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


Re: [FreeBSD] 6.3-R diskhandling

2008-01-26 Thread Ghirai
On Sat, 26 Jan 2008 13:55:26 +
Alphons \Fonz\ van Werven [EMAIL PROTECTED] wrote:

 Hi,
 
 I have a recent model Toshiba laptop here, dual-booting Windows Vista and
 Slackware Linux (not my call, so no flames please). When I got the 
 go-ahead to replace Linux with FreeBSD 6.3-RELEASE, the following
 happened:
 
 The partitioner complained that the found geometry 232581/16/63 is invalid
 and it's using a more likely geometry instead. Closer inspection reveals
 that this more likely geom (14593/255/63) is actually the real geometry,
 so question 1 is: where did FreeBSD get this other weird-ass geometry
 from?
 
 When installing the boot manager, it hosed Windows' bootability. I could
 mount and access the Windows partition from within FreeBSD just fine so
 the partition itself seemed to be okay, but it just wouldn't boot. When I
 selected it in the bootmanager menu, it showed a screen saying Windows
 can't boot and I should use the recovery disk to repair Windows. Since
 everything on the machine that was even remotely important had just been
 backed up and Windows was due for a reinstall anyway, I just reinstalled
 it and no harm was done, but I still wonder what happened. How come
 FreeBSD's boot manager stopped Windows from booting?
 
 The reinstall of Windows wiped away everything else, so I can retry
 installing FreeBSD. But given the troubles described above, what's the
 best way to do it? Currently, I'm considering the following:
 1. Boot this Live Linux CD I have lying around here and which finds the
 correct geometry for the disk right away.
 2. Make a backup of the MBR.
 3. Create a partition (slice) for FreeBSD.
 4. Boot the FreeBSD install disk and run through sysinstall (partitioning
 the slice Linux just created) but don't let it install a boot loader.
 5. Boot the Live Linux again and install LILO from there.
 But if you have any other suggestions I'm all ears of course.
 
 Oh, and a final question: the Windows installer creates a partition table
 in which partitions (slices) don't end on cylinder/track boundaries. Is
 this a big deal? Linux notices it but doesn't seem bothered much by it and
 FreeBSD appears to act likewise. But I thought I'd better ask, just to be
 sure.
 
 Thanks in advance,
 
 Alphons
 

This article might help: 
http://www.clearchain.com/wiki/FreeBSD_%26_Windows_Vista

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


Re: x11 missing modules on 7.0rc1 ?

2008-01-22 Thread Ghirai
On Tue, 22 Jan 2008 17:02:13 -0600
David Alanis [EMAIL PROTECTED] wrote:

 Quoting Steve Franks [EMAIL PROTECTED]:
 
  Maybe I missed something critical, but I just decided to give 7.0rc1 a
  shot, did a standard x-user install on a fresh system (older 1.3GHz
  laptop), went smoothly, but startx reports (EE) Failed to load module
  mouse (modules does not exist, 0), (and kbd, and radeon) which
  seems a tad strange.  If it's really not an issue where I forgot to
  RTFM somewhere, I thought I'd post it so it can be looked at.  I'm now
  in the process of reinstalling xorg from the metaport...don't see any
  earlier posts on this topic, so I must be an idiot here somewhere...
 
  Steve

Happened to me too, i was installing it for a friend (worked fine when
i installed it for myself a couple days earlier).

You need to manually install /usr/ports/x11-drivers/xf86-input-mouse.

It should work fine then.

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


Re: Throttle the CPU when the system is idle

2008-01-21 Thread Ghirai
On Mon, 21 Jan 2008 16:41:41 +0100 (CET)
Andreas Davour [EMAIL PROTECTED] wrote:

 
 H. This actually works, without any hangups. I wonder if I managed 
 to hit upon a odd bug yesterday?
 
 /andreas
 

I've been using it since 6.2 on 4 intel boxes (one of them a notebook)
without any problems.

You can check the available freq. steps with sysctl dev.cpu.0.freq_levels
and see the current speed with sysctl dev.cpu.0.freq.

Do make sure you set the debug.cpufreq.lowest to a sensible value, otherwise
things will be somewhat sluggish.

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


goffice fails to install

2008-01-10 Thread Ghirai
Hello list,

I had gnumeric installed, and wanted to upgrade.

portupgrade gnumeric failed because it wanted a newer version of
goffice.

I deinstalled the old goffice and did make install.
It fails here:

...
-- Installing ./html/right.png
-- Installing ./html/style.css
-- Installing ./html/up.png
-- Installing ./html/index.sgml
gmake[3]: *** [install-data-local] Error 1
gmake[3]: Leaving directory 
`/usr/ports/devel/goffice/work/goffice-0.6.1/docs/reference'
gmake[2]: *** [install-am] Error 2
gmake[2]: Leaving directory 
`/usr/ports/devel/goffice/work/goffice-0.6.1/docs/reference'
gmake[1]: *** [install-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/devel/goffice/work/goffice-0.6.1/docs'
gmake: *** [install-recursive] Error 1
*** Error code 2

Stop in /usr/ports/devel/goffice.


Using  6.2-RELEASE-p9 i386, ports tree is up to date.
Any suggestions?

Thanks.

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


Re: PF blocking even if set to pass all

2007-12-13 Thread Ghirai
On Thu, 13 Dec 2007 09:19:03 -0200
Alaor Barroso de Carvalho Neto [EMAIL PROTECTED] wrote:

 Hi guyz, like I've said in other topic, I'm building a BSD box that'll act
 as a gateway between three private networks and the internet. I want that
 each private network can ping to each other, and I can do that till I
 activate my pf firewall. When I do pfctl -e it stop working.
 
 The output of pfctl -sr is:
 pass in all
 pass out all
 
 So I guess it would pass anything, why it isn't happening?
 
 Hugs,
 Alaor
 ___

You need to specify from/to what interface it should pass (if you have more
than one NIC, which i assume you do, since the box is acting as a router).

I suggest you read this tutorial/book: http://www.bsdly.net/~peter/pf.html

It explains what you want to do in detail.

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


Can't mount NTFS

2007-12-05 Thread Ghirai
Hello list,

I'm running 6.2-RELEASE-p9, 32bit, and dual-boot XP for quite some time.

Yesterday mounting my NTFS partition wouldn't work.

I have 2 partitions on xp, C and D, which are ad12s1 and ad12s2.

I can mount ad12s1 fine, but the other one doesn't work (it was fine couple 
days ago):

deimos# mount_ntfs /dev/ad12s2 /mnt/win
mount_ntfs: /dev/ad12s2: Invalid argument

Searching around led me to this site:
http://www.daemon-systems.org/man/mount_ntfs.8.html

Where they say:

If the attempt to mount NTFS gives you an error like this:

 # mount -t ntfs /dev/wd0k /mnt
 mount_ntfs: /dev/wd0k on /mnt: Invalid argument

 make sure that appropriate partition has correct entry in the disk label,
 particularly that the partition offset is correct.  If the NTFS partition
 is the first partition on the disk, the offset should be '63' on i386
 (see disklabel(8)).  mbrlabel(8) could help you to set up the disk label
 correctly.

That doesn't help me much though.

fdisk says it does indeed start at offset 63.

Any ideas?

Thanks.

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


Re: Software Vulnerability Scanner

2007-10-25 Thread Ghirai
On Thu, 25 Oct 2007 14:29:40 +0330
Bahman M. [EMAIL PROTECTED] wrote:

 Hi all,
 
 I'm starting my career as a security analyst and I'd like to know if
 there are any vulnerability scanners -Blackbox or Whitebox- available for 
 FreeBSD, in
 particular for Java applications.
 
 There are some softwares out there, e.g. HailStorm or SourceScope
 however most of them are commercial and AFAIK there are only Windoze
 versions.
 
 Any suggestion or pointer is highly appreciated.  TIA,
 

In lack of a more specific question, i'd say
start with /usr/ports/security/nessus.

Generally these tools perform poorly on windows,
mostly because of the crappy network stack.

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


Re: best way to run vista inside freebsd

2007-10-21 Thread Ghirai
I managed to run XP on qemu, it was pretty painless.

I'll try with vista the next couple of days and report back.


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


Re: gdb question

2007-09-23 Thread Ghirai
On Sun, 23 Sep 2007 11:59:14 +0400
Dmitry Gorbik [EMAIL PROTECTED] wrote:

 You can start gdb session like this:
 $gdb program
 break main
 set disassembly-flavor intel
 disassemble main
 
 Now you can use nexti to run program till break  next will step one 
 instruction (if there were no debugging symbols. That was tested on a 
 program, compiled with nasm.

Thanks for the info :)

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


gdb question

2007-09-22 Thread Ghirai
Hello list,

I'm playing with a small nasm executable, is there any way
i can get gdb to show me the deadlisting, and allow me to
break at a certain offset, without any debugging symbols?

Since my code is raw assembly, seeing the sourcecode file
or the deadlisting is the exact same.

Atm i'm doing like this, and it doesn't seem to work:

(gdb) file wp
Reading symbols from wp...(no debugging symbols found)...done.
(gdb) break 0x8048099
No symbol table is loaded.  Use the file command.
(gdb) run
Starting program: wp 
warning: shared library handler failed to enable breakpoint

Program exited with code 0267.


Using gdbtui seems yield the exact same result.

What i really want is to see the deadlisting and be able to step through
it, seeing what happens with the registers, stack, etc.

Can gdb do that?

And are there any other usermode debuggers i could use?

Thanks for reading.

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


Re: system crash/reset [solved]

2007-09-12 Thread Ghirai
Quick followup.

I changed the NIC, still got the freezes and crashes.

It turned out it was the ICH9 soundcard, with the lowlatency drivers.
They worked fine on my laptop, but it seems they were the culprit on my desktop.

I bought a CMI soundcard, which works fine, no freezes/etc for almost a week 
now :)

Thanks everyone for your suggestions.

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


periodic freeze and reset

2007-09-03 Thread Ghirai
Hello list,

My desktop running 6.2-STABLE is freezing then resetting shortly after.
This behaviour happens every couple hours, for no apparent reason.

I checked messages, etc, there's nothing there.

This is getting annoying... :/

I'd appreciate any hints/where to look/what to look for.

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


Re: periodic freeze and reset

2007-09-03 Thread Ghirai
On Mon, 3 Sep 2007 16:31:41 -0400
Bill Moran [EMAIL PROTECTED] wrote:

 Ghirai [EMAIL PROTECTED] wrote:
 
  Hello list,
  
  My desktop running 6.2-STABLE is freezing then resetting shortly after.
  This behaviour happens every couple hours, for no apparent reason.
  
  I checked messages, etc, there's nothing there.
  
  This is getting annoying... :/
  
  I'd appreciate any hints/where to look/what to look for.
 
 My first guess would be hardware problems.  Have you run memtest?
 Checked for cooling problems?  cpuburn to test for a flaky CPU?
 

Haven't ran any hw monitors/test, but i spend time periodically in windows,
about 2-3 days each time, and it didn't crash reset.

That's why i think there are no hw issues.

In FreeBSD the freeze+resets occur and seemingly random intervals, but
not longer than 30 hours. Mostly within 6 hours.

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


Re: periodic freeze and reset

2007-09-03 Thread Ghirai
On Mon, 3 Sep 2007 22:31:06 +0200
Zbigniew Szalbot [EMAIL PROTECTED] wrote:

 hello,
 
  My desktop running 6.2-STABLE is freezing then resetting shortly after.
  This behaviour happens every couple hours, for no apparent reason.
 
  I checked messages, etc, there's nothing there.
 Do you have a decent (Intel) NIC? This was my problem a couple of
 months ago. Not any more.
 

I have a D-Link DFE-530 NIC (the onboard 1GB Attansic doesn't work),
which the OS detected as Realtek, and it seems to work fine.

If i attach a copy of dmesg would it help?

Thanks.

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


Re: periodic freeze and reset

2007-09-03 Thread Ghirai
On Mon, 3 Sep 2007 17:46:54 -0400
Bill Moran [EMAIL PROTECTED] wrote:

 Ghirai [EMAIL PROTECTED] wrote:
 
  On Mon, 3 Sep 2007 16:31:41 -0400
  Bill Moran [EMAIL PROTECTED] wrote:
  
   Ghirai [EMAIL PROTECTED] wrote:
   
Hello list,

My desktop running 6.2-STABLE is freezing then resetting shortly after.
This behaviour happens every couple hours, for no apparent reason.

I checked messages, etc, there's nothing there.

This is getting annoying... :/

I'd appreciate any hints/where to look/what to look for.
   
   My first guess would be hardware problems.  Have you run memtest?
   Checked for cooling problems?  cpuburn to test for a flaky CPU?
   
  
  Haven't ran any hw monitors/test, but i spend time periodically in windows,
  about 2-3 days each time, and it didn't crash reset.
  
  That's why i think there are no hw issues.
  
  In FreeBSD the freeze+resets occur and seemingly random intervals, but
  not longer than 30 hours. Mostly within 6 hours.
 
 That seems to suggest that it isn't hardware, but doesn't completely
 eliminate the possibility.
 
 Often, vendors write drivers to work around known deficiencies in their
 hardware.  Since FreeBSD's drivers are written to the specs, they may
 expose these deficiencies while the vendor's drivers intentionally avoid
 them.
 
 Additionally, FreeBSD seems to work hardware in different ways than
 Windows, thus tickling corner cases with hardware that's just barely
 failing.  Run some hardware tests to be sure.
 
 Also, the driver issue that was raised is a good point.  I've seen a
 number of buggy NICs where the vendor's driver worked around the
 bugginess so it _looked_ like FreeBSD was at fault.
 
 Make sure all your hardware is known to work on FreeBSD.
 


All right, i'll do some tests with the NIC, change it, etc.
I'll post back results.

Thanks.

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


mousepad in xfce coredump

2007-08-28 Thread Ghirai
Hello list,

I upgraded couple ports during the past days,
and after that mousepad core dumps.

However, it works fine if i run it as root.

I don't remember which caused the problem, because i haven't used mousepad
in about 3-4 days.

Any ideas?

I'm running 6.2-RELEASE i386, latest xfce.

Thanks.

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


Re: Gnome FreeBSD

2007-08-22 Thread Ghirai
On Mon, 20 Aug 2007 10:11:54 -0400 (EDT)
Michael S [EMAIL PROTECTED] wrote:

 Thank you all for the suggestions. I am going to take
 into consideration everything everyone wrote.
 
 Michael
 
 --- P.U.Kruppa [EMAIL PROTECTED] wrote:
 
  On Sun, 19 Aug 2007, Michael S wrote:
  
   Good day all,
  
   I decided to add GUI to my GUI-less FreeBSD
  machine. I
   am  considering installing Gnome, which I haven't
  used
   for long while and the last time was on Linux
  anyway.
   The reason is that most of my favorite
  applications
   use gtk libraries, like Firefox, GAIM (can't get
  used
   to the new name),wxPython and others. In short I
   wanted to avoid 2 huge sets of libraries (gtk and
  qt)
   by not installing KDE.
   I wanted to know how Gnome feels on FreeBSD, is it
   polished enough? Are there crashes? Any caveats at
   all?
  There is a minimal gnome installation in
  /usr/ports/x11/gnome2-lite
  you can start with that and - if you like it - add
  all the the 
  other stuff. 
  One caveat:
  First install /usr/ports/x11/xorg (i.e. xorg-7.2)
  and check if 
  your monitor and graphics card are set up correctly.
  
  Greetings,
  
  Uli.
  

I'd suggest you also give xfce a try (http://xfce.org), it's also GTK based,
and lighter than gnome/kde, while still having plenty of features.

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


system crash/reset

2007-08-21 Thread Ghirai
Hello list,

I'm running 6.2-RELEASE, with xfce.

Suddenly, everything froze.
Couple seconds after that, the system resets.
I ran fsck and everything seem to be ok.

This is what /var/log/messages looks like right before reset:

Aug 22 01:19:55 deimos kernel: umass0: BBB reset failed, IOERROR
Aug 22 01:19:55 deimos kernel: umass0: BBB bulk-in clear stall failed, IOERROR
Aug 22 01:19:55 deimos kernel: umass0: BBB bulk-out clear stall failed, IOERROR
Aug 22 01:19:55 deimos kernel: umass0: BBB reset failed, IOERROR
Aug 22 01:19:55 deimos kernel: umass0: BBB bulk-in clear stall failed, IOERROR
Aug 22 01:19:55 deimos kernel: umass0: BBB bulk-out clear stall failed, IOERROR
Aug 22 01:19:55 deimos kernel: umass0: BBB reset failed, IOERROR
Aug 22 01:19:55 deimos kernel: umass0: BBB bulk-in clear stall failed, IOERROR
Aug 22 01:19:55 deimos kernel: umass0: BBB bulk-out clear stall failed, IOERROR
Aug 22 01:19:55 deimos kernel: Opened disk da0 - 5

And it repeats that numerous times.

I might add that i'm using a 'default' microsoft, 3 button USB mouse, which
doesn't work untill i remove and stick it in again.
I have usbd_enable=YES and moused_enable=YES in /etc/rc.conf.

Also, i didn't have any additional media in any of the USB ports (da0 appears 
in /dev when i use a flash drive for example).

System temperature is a non-issue.

Any idea what the problem is?

Thanks.

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


Re: Resolution problem with i810 and Xorg 7.2

2007-08-13 Thread Ghirai
On Mon, 13 Aug 2007 09:35:59 -0500
Doug Poland [EMAIL PROTECTED] wrote:

 Just a follow-up for the archives...  I loaded the 915resolution port
 and configured my rc.conf accordingly:
 
 i915resolution_enable=YES
 i915resolution_modes=3c 4d 5c
 i915resolution_width=1680
 i915resolution_height=1050
 
 Xorg still failed...
 snip
 (II) I810(0): detected 7932 kB stolen memory. 
 
 (II) I810(0): Kernel reported 0 total, 0 used 
 
 (II) I810(0): I830CheckAvailableMemory: 0 kB available
 
 (WW) I810(0): /dev/agpgart is either not available, or no memory is available 
 for allocation.  Using pre-allocated memory only. 
 
 (II) I810(0): Monitoring connected displays enabled   
 
 (--) I810(0): Pre-allocated VideoRAM: 7932 kByte  
 
 (--) I810(0): VideoRAM: 7932 kByte
 snip
 (--) I810(0): Xv is disabled because it needs 2D accel and AGPGART.
 (II) I810(0): Allocated 128 kB for the ring buffer at 0x0
 (II) I810(0): Allocating at least 136 scanlines for pixmap cache
 (II) I810(0): Initial framebuffer allocation size: 11920 kByte
 (EE) I810(0): Failed to allocate framebuffer. Is your VideoRAM set too low ??
 
 Fatal server error:
 AddScreen/ScreenInit failed for driver 0
 
 However, when I changed the driver in /etc/X11/xorg.conf from i810 to
 vesa:
 
 Identifier  Card0
 #Driver  i810
 Driver  vesa
 VendorName  Intel Corporation
 BoardName   Mobile 945GM/GMS/940GML Express Integrated Graphics 
 Controller
 BusID   PCI:0:2:0
 
 Now Xorg starts fine.  I'm not sure why it worked but I'm glad it does.
 I'll go with the VESA driver unless I get any feedback or more info on
 getting i810 driver to work.
 
 Thanks for you help.
 
 
 -- 
 Regards,
 Doug

I was searching couple weeks before on some compiz problems, when i ran into a 
post which looked similar.
The person used an option in xorg.conf to enlarge the framebuffer.
I just don't have the link anymore.

Try and search with the framebuffer error as keyword, you might find some info.

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


Re: Resolution problem with i810 and Xorg 7.2

2007-08-10 Thread Ghirai
On Fri, 10 Aug 2007 12:26:46 -0500 (CDT)
Doug Poland [EMAIL PROTECTED] wrote:

 Hello,
 
 I've got a Compaq nx7400 running on 6.2-STABLE with Xorg 7.2.  Despite
 my best efforts, I'm unable to get the screen into 1680x1050
 resolution.  I have followed the instructions in the handbook but the
 issue appears to be getting /dev/agpgart recognized.
 
 Here's some relevant data...
snip

 
 So all I get out of this flat panel is 1280x1024, which distorts the
 shape horribly because of the different aspect ratio.
 
 Any hints, clues, pointers are very welcome!
 
 
 -- 
 Regards,
 Doug

After you install 915resolutions, you would:
#915resolution 5c 1680 1050

Also check the rc startups.

I suggest you leave the xorg.conf as it was generated by default, once you patch
and start KDE/gnome/whatever, you should get the proper resolution.

-- 
Regards,
Ghirai.
___
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 find current cpu speed utilization

2007-06-29 Thread Ghirai
Hello Steve,

Thursday, June 28, 2007, 11:17:45 PM, you wrote:

 I've been playing with powerd, and my system seems mighty sluggish.  I
 can't find anything in the manpages about how to get current metrics
 on the cpu.   powerd is just a daemon, acpi and cpufreq are drivers,
 acpiconf just puts it to sleep, what am I missing?

 Steve

Check man cpufreq, i had the same problem because powerd lowered the
freq. to 100MHz and KDE moved sluggish.

I set the minimum to 500MHz, which seems to work just fine.

You would use sysctl to see the current freq, and you set the minimum
freq. in /etc/sysctl.conf.

Check the manpage.



-- 
Best regards,
Ghirai.

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


Re[2]: problem compiling xorg 7.2

2007-06-06 Thread Ghirai
Hello Garrett,

Wednesday, June 6, 2007, 5:04:22 AM, you wrote:

 Norberto Meijome wrote:
 On Tue, 5 Jun 2007 10:57:53 -0300
 Anton Galitch [EMAIL PROTECTED] wrote:

   
 I had xorg 6.9 installed, after trying to upgrade it with portupgrade I
 deinstalled it and now want to install it from scratch.
 My portmanager program works strange thats why I cant install it usin
 /usr/ports/UPDATING.
 Do you know any other way of installing it using another tools??
 

 no, use portupgrade as per the UPDATING doc, even if it is,effectively, a 
 'new' install 

 _
 {Beto|Norberto|Numard} Meijome

 Produce great people, the rest will follow.
   Elbert Hubbard

 I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
 Reading disclaimers makes you go blind. Writing them is worse. You have
 been Warned.
   
 If it's a clean install of X11 / complete system, you can get away
 with doing the standard make install in the ports directories you want.
 The only thing that you need to do is export / setenv XORG_UPGRADE=yes
 like UPDATING states.
 For upgrades, yeah stick with a supported tool (currently only 
 portupgrade-devel and portmaster I believe).
 -Garrett

As a side note, i used portupgrade, not portupgrade-devel.
I got a few ports reported as failed, but it turned out they were ok.

They only thing i needed to do was to change the path of the modules
in xorg.conf, to reflect the new location.

-- 
Best regards,
Ghirai.

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


Re: Registering installation for...

2007-06-04 Thread Ghirai
Hello Vlad,

Monday, June 4, 2007, 11:09:39 PM, you wrote:

 Hello,

 Registering installation for mplayer-0.99.10_9 took about 8 minutes
 (at 97% CPU-core load) of CPU time on one of the two cores on my
 Pentium D 820 on a system with 1 GiB of RAM and Barracuda SATA drive.
 It looks a little too long to me...

As far as i know mplayer comes with quite a handful of
plugins/libs/decoders/etc, which might explain why
libtool took so long.


-- 
Best regards,
Ghirai.

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


Re: wine on freebsd ...

2007-06-02 Thread Ghirai
Hello Marc,

Saturday, June 2, 2007, 9:56:51 AM, you wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I'm trying to get wine to run an application under FreeBSD that I've been told
 works great using wine under Linux ... the more I'm trying to dig into this,
 the more stuck in mud I'm feeling ... the latest release of wine won't even 
 run
 on FreeBSD without crashing ...

 According to the Wine folks, its a problem in FreeBSD ... the problem is 
 that
 I don't know enough about it to know if that's just a cop-out, or is Wine
 really too linux-y to run under FreeBSD?

 One of the bug reports on their web site:

snip

Strange, there are occasionally applications that i can't run, but
otherwise i had no problems with WINE on FreeBSD...

Care to post the WINE log (when you start the app from the console
'wine PE.exe')?

-- 
Best regards,
Ghirai.

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


Re: im new with pf

2007-05-31 Thread Ghirai
Hello Jonathan,

Thursday, May 31, 2007, 3:19:26 AM, you wrote:

 i have a client who has a simple linksys router, with port 22, 25, 80, 443
 forwarded to a freebsd server i built for his small business.  25 80 and 443
 are obviously public services, but id like to limit access to 22 to the
 trusted internal network, and my block of IPs i would be connecting from from
 my site.  along with regulating port 22, i also need all other ports to work
 properly, since samba is installed, and i dont want to mess with picking and
 choosing what ports will be in this config.  i just need to limit access to
 port 22.  

snip

There's a very nice document here: http://www.openbsd.org/faq/pf/

-- 
Best regards,
Ghirai.

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


VirtualBox on FreeBSD

2007-05-31 Thread Ghirai
Hello list,

Does VirtualBox work on FreeBSD?
I couldn't find it in ports.

Did anyone manage to run it?

Thanks.

-- 
Best regards,
Ghirai.

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


Re: Java on the BSD Desktop?

2007-05-29 Thread Ghirai
Hello n,

Tuesday, May 29, 2007, 1:56:39 PM, you wrote:

 I am wanting to write a gui frontend to pkg_cutleaves.  I see that it is
 just a simple perl script so, it would be quite simple to just put a gtk
 frontend on it and call it a day.  However, I am starting to write a
 good amount of code in java and was wondering what others think about
 java as the de-facto gui standard on the BSD desktop.

 For what it's worth, I think Java should be far more present in the
 FreeBSD at least as far as desktop is concerned and it's a good
 alternative to Qt/Tk/Gtk for GUI applications. Java is a fine serious
 programming language whose strongest selling point a long time ago
 ceased to be write once, run anywhere.

 Just my .02,

I would say Python would be more suitable (smaller, faster), plus it's
installed by default on quite a few *nix OS.

-- 
Best regards,
Ghirai.

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


Re: ath0 going haywire

2007-05-27 Thread Ghirai
Hello Gunther,

Monday, May 28, 2007, 2:45:07 AM, you wrote:

 Hi there,

 My ath0 wireless interface is going crazy lately. In my logs the kernel
 keeps telling me

 May 28 01:26:28 greg ath0: link state changed to UP
 May 28 01:26:28 greg ath0: link state changed to UP
 May 28 01:26:28 greg ath0: link state changed to DOWN
 May 28 01:26:28 greg ath0: link state changed to DOWN

 while the wireless connection becomes completely useless. The first time
 this happened was 5 days ago when I got these messages every couple of
 minutes. Today it happened again but much worse than before: First 4 
 such messages every 3 seconds, then later 15/sec!!! This kept going for
 almost 2 hours while I tried to debug things over the wired interface,
 but I had no luck until miraculously it stopped its madness and came 
 back to normal 15 min ago. No other hints in /var/log/messages...

 This this a sign of failing hardware? Or some other obscure bug in the
 ath driver?

 My signal is pretty solid at 25-30 S:N btw so it can't be that...


 Gunther


Maybe someone is performing a deauth attack on your AP,
in hopes of getting your password?

-- 
Best regards,
Ghirai.

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


Re[2]: notebook cpu throttling [solved]

2007-05-23 Thread Ghirai
 [..]
I did that, but now xorg constantly uses 20-30% CPU.

CPUs were running cooler indeed, but everything ran jerky,
because of the xorg cpu usage.
 [..]
   Point being, if powerd has selected your lowest cpu frequency because
   load is less than default (or as specified by -i and -r switches) and
   this is (say) 1/4 of full speed, then something that normally showed 5%
   cpu will now show as using 20% (of available cpu cycles at that speed)
  
   You can tune your powerd idle levels more towards performance, and/or
   you can set a higher minimum cpu freq with sysctl debug.cpufreq.lowest
   from among your available levels.
 [..]

  I suspected this; xorg just reporting to use 20-30% cpu doesn't bother
  my, what bothers me is the fact that mouse cursor and everything moves
  jerky.
  
  I'll try to raise the min. freq., maybe powerd lowers it too much..

 Maybe.  In one recent example, a 1400MHz box (Thinkpad T42p) had freqs
 all the way down to 75MHz while still running with 1mS slicing (1000HZ)
 apparently losing i8254 timer interrupts (when using APM, not with ACPI)

 powerd(8) in adaptive mode with default settings will lower cpu freq one
 level whenever the load idle is 90% or more, and raise freq (two levels)
 whenever idle gets less than 65%.  Looks like if you set that to say 75%
 your xorg alone would kick it up.  Of course you must be careful not to
 set the shiftpoints too close together, or you'll observe oscillation ..
 again, running 'powerd -v' is useful while you're playing with tuning.

 Re jerkiness, you might also benefit by decreasing the polling interval
 (how often powerd checks load average) from 500mS to perhaps half that?

 I'm kinda interested in these fujitsu-siemens laptops myself, so I'm
 still keen to see your 'sysctl dev.cpu.0.freq_levels' please? 

 Cheers, Ian



Ok, i think i got it working.

dev.cpu.0.freq_levels showed about 14 possibilities.

It turned out that powerd was lowering it down to 100MHz,
or 50MHz per core.

Playing with debug.cpufreq.lowest, i increased it gradually
until KDE/Xorg behaved normal; for my system it was 800MHz,
which is 400MHz/core.

-- 
Best regards,
Ghirai.

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


Re[4]: notebook cpu throttling [solved]

2007-05-23 Thread Ghirai
Hello Ian,

Wednesday, May 23, 2007, 4:27:35 PM, you wrote:

 On Wed, 23 May 2007, Ghirai wrote:

   I'm kinda interested in these fujitsu-siemens laptops myself

It's an amilo pro v3205, the size of an A4 paper, 1.8 KG.

This is the CPU (reasonably cheap, worth the money IMO):

CPU: Intel(R) Core(TM) Duo CPU  T2250  @ 1.73GHz (1729.53-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x6ec  Stepping = 12
  Features=0xbfe9fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,
  CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0xc189SSE3,MON,EST,TM2,b14,b15
  AMD Features=0x10NX
  Cores per package: 2 

   so I'm still keen to see your 'sysctl dev.cpu.0.freq_levels' please?
 
snip

 Would you care to cut'n'paste that result here, just for interest?

dev.cpu.0.freq_levels: 1733/31000 1516/27125 1333/23000 1166/20125
1067/18000 933/15750 800/13000 700/11375 600/9750 500/8125 400/6500
300/4875 200/3250 100/1625

The're MHz/mW.

snip

-- 
Best regards,
Ghirai.

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


Re[2]: notebook cpu throttling

2007-05-22 Thread Ghirai
Hello Ian,

Tuesday, May 22, 2007, 5:08:19 PM, you wrote:

 On Tue, 22 May 2007 00:56:08 +0300 Ghirai [EMAIL PROTECTED] wrote:
  Hello Roland,
  
  Monday, May 21, 2007, 11:08:13 PM, you wrote:
  
   On Mon, May 21, 2007 at 09:52:22PM +0300, Ghirai wrote:
   Hello list,
   
   I'm running 6.2-RELEASE, SMP, on a
   Fujitsu-Siemens Amilo Pro v3205 (Core Duo).
   
   Everything works fine, except the cpu throttling,
   which makes the fan start quite often.
   
   Is there any way to fix this?
  
   You need to do three things (as root);
  
   1) Load the cpufreq module 'kldload cpufreq'.
   2) Put 'powerd_enable=YES' in your /etc/rc.conf
   2) Start powerd: '/etc/rc.d/powerd start'
  
   Roland
  
  Thanks for the hint.
  
  I did that, but now xorg constantly uses 20-30% CPU.
  
  CPUs were running cooler indeed, but everything ran jerky,
  because of the xorg cpu usage.
  
  Note that i haven't upgraded to 7.2 yet,
  but i don't think this is the problem.

 This might not really indicate any problem.  Firstly, what are your
 # sysctl dev.cpu.0.freq_levels

 Try watching the current cpu speed (dev.cpu.0.freq) while running under
 powerd.  You can watch it shift under various loads by running 'powerd
 -v' in foreground, show it by running a script sleeping for eg a minute,
 or use (say) gkrellm with gkfreq plugin to display cpu speed constantly.

 Point being, if powerd has selected your lowest cpu frequency because
 load is less than default (or as specified by -i and -r switches) and
 this is (say) 1/4 of full speed, then something that normally showed 5%
 cpu will now show as using 20% (of available cpu cycles at that speed)

 You can tune your powerd idle levels more towards performance, and/or
 you can set a higher minimum cpu freq with sysctl debug.cpufreq.lowest
 from among your available levels.

 powerd's default shiftpoints work on my T23, but it's only a 2-speed :)

 Cheers, Ian

I suspected this; xorg just reporting to use 20-30% cpu doesn't bother
my, what bothers me is the fact that mouse cursor and everything moves
jerky.

I'll try to raise the min. freq., maybe powerd lowers it too much..

-- 
Best regards,
Ghirai.

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


notebook cpu throttling

2007-05-21 Thread Ghirai
Hello list,

I'm running 6.2-RELEASE, SMP, on a
Fujitsu-Siemens Amilo Pro v3205 (Core Duo).

Everything works fine, except the cpu throttling,
which makes the fan start quite often.

Is there any way to fix this?

Any hints appreciated.

-- 
Best regards,
Ghirai.

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


  1   2   >