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: 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]"


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: 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]"


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]"


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]"


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: 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 

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]"


dmesg smart error

2008-09-25 Thread Ghirai
Hello list,

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

ad2: FAILURE - SMART status=51 error=4

I'm running FreeBSD 6.3-RELEASE, amd64.
HD is ad2: 152626MB  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]"


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.3 <   needs updating (port has 8.3.5)
postgresql-server-8.3.3 <   needs 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]"


*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.3 <   needs updating (port has 8.3.5)
postgresql-server-8.3.3 <   needs 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]"


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]"


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: Xfce4 on 8.0 RC2

2009-11-04 Thread Ghirai
On Wed, 4 Nov 2009 12:16:42 +0100
Alex Huth  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"


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: ld-elf related problems

2009-12-21 Thread Ghirai
On Sun, 20 Dec 2009 21:19:12 -0600
Adam Vande More  wrote:

> On Sat, Dec 19, 2009 at 6:15 PM, Ghirai  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"


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]"


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]"


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]"


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]"


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: [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]"


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]"


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]"


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]"


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: 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...


> 
> 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: 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]"


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: Gnome & FreeBSD

2007-08-21 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]"


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]"


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]"


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]"


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: 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]"


Sound on an amilo pro notebook

2007-03-26 Thread Ghirai
Hello list,

I'm trying to get the sound working on a Fujitsu Siemens
Amilo Pro v3205 notebook.
The datasheet says i have a Conexant AMOM soundcard.

I've tried all drivers, but /dev/sndstat doesn't
report anything being installed.

I'm running 6.2 x86.

Any help/hints is appreciated.

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]"


What irc server

2007-04-03 Thread Ghirai
Hello list,

I will need to set up an irc server on FreeBSD.

I was wondering what do you guys suggest?
  

-- 
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: What irc server

2007-04-03 Thread Ghirai

After quickly reading the docs/etc,
i decided to go with UnrealIRCD.

Thanks for the info everyone.

-- 
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]"


Problem with portupgrade

2007-04-06 Thread Ghirai
Hello,

I'm running 6.2-RELEASE-p2, SMP, x86.

I get the following error when using portupgrade (on every port, not
just this one):

deimos# portupgrade -PR libmpeg2
[Updating the portsdb >format:bdb_btree> in /usr/ports ... - 16851
port entries found
{lines cut} . done]
[missing key: categories: Cannot read the portsdb!
database file error

{following some ruby errors regarding the fact that the db can't be
read?!}

In /usr/ports/ i have .portsnap.INDEX, INDEX, INDEX-5, INDEX-6,
INDEX-6.db, and of course the ports folders.


Any idea what i'm doing wrong?

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[2]: Problem with portupgrade

2007-04-06 Thread Ghirai
Hello Josh,

Friday, April 6, 2007, 11:08:02 PM, you wrote:

>> deimos# portupgrade -PR libmpeg2
>> [Updating the portsdb >format:bdb_btree> in /usr/ports ... - 16851
>> port entries found
>> {lines cut} . done]
>> [missing key: categories: Cannot read the portsdb!
>> database file error
>>
>> {following some ruby errors regarding the fact that the db can't be
>> read?!}

> Try removing (or moving so you have a backup) your
> /var/db/pkg/pkgdb.db file, then running pkgdb -u to update/create it.

> Josh

I did that, it recreated the file w/o errors, but i get the same error
message.

-- 
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[3]: Problem with portupgrade - SOLVED

2007-04-06 Thread Ghirai
Hello Ghirai,

Friday, April 6, 2007, 11:48:29 PM, you wrote:

> Hello Josh,

> Friday, April 6, 2007, 11:08:02 PM, you wrote:

>>> deimos# portupgrade -PR libmpeg2
>>> [Updating the portsdb >format:bdb_btree> in /usr/ports ... - 16851
>>> port entries found
>>> {lines cut} . done]
>>> [missing key: categories: Cannot read the portsdb!
>>> database file error
>>>
>>> {following some ruby errors regarding the fact that the db can't be
>>> read?!}

>> Try removing (or moving so you have a backup) your
>> /var/db/pkg/pkgdb.db file, then running pkgdb -u to update/create it.

>> Josh

> I did that, it recreated the file w/o errors, but i get the same error
> message.


I did a "make deinstall" and a "make reinstall" for portupgrade, which
bumped the version mumber.

It works now.

Compiling new versions, hopefully everything will turn out ok.

I'll report back.

-- 
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]: looking for something like an embedded ftp server

2007-04-12 Thread Ghirai
Hello David,

Wednesday, April 11, 2007, 9:12:17 PM, you wrote:

> On Wednesday 11 April 2007 12:26:42 pm Derrill Guilbert wrote:
>> I've been given an old machine, and asked to turn it into an ftp server. It
>> will got on its own IP, separate from the one our LAN uses. It will have
>> three read-only users and maybe five read/write users. It will contain
>> design data that we're transferring to the offices in China. That is, we
>> will upload it from here in at the main office, and the China staff will
>> download it to implement the little containers we're building.
>>
>> This does not need to be secure beyond password protection necessarily,
>> though some sort of secure FTP would be fine.
>>
>> What I would really prefer is some sort of BSD based simple FTP server
>> setup. I've found several BSD based router/firewall/whatever servers out
>> there, such as m0n0wall and pfsense, among others, and I would like
>> something that simple for an FTP server. That is, I want to be able to
>> install the server and then only have to configure users, no mess with
>> hardening things and setting up pf or so ...
>>
>> Does such a thing exist? Am I needlessly complicating things for myself in
>> another way (often the case, I'm little more than a user when it comes to
>> FreeBSD)?
>>
>> Any kind of guidance on this topic would be appreciated --- if what I want
>> to do can be done with a custom install of FreeBSD, that'd be wonderful
>> also.
>>
>> Thank you in advance for any guidance.

Try pure-ftpd in the ports collection.

It's nice that it supports virtual users (so you don't need to have
system users for each user who uses the ftp), bandw. throttling,
and lots of other nice things.
It's also reasonably small.

Apart from that, you only need ssh access to the box to configure
things when needed, and you're ready to go.

-- 
Best regards,
Ghirai.

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


Re: nspluginwrapper + native firefox 2 + flash9?

2007-04-12 Thread Ghirai
Hello John,

Thursday, April 12, 2007, 9:48:34 AM, you wrote:

> Hi everybody, I've been struggling with this all night and the archives +
> google aren't coming up with much except for other people's success stories.

> I recently ditched using the linux-firefox port in favor of the native version
> when I read a post about nspluginwrapper. I've spent the last 2 days upgrading
> many ports on my system. I think I've got things A-OK, but I cannot get
> nspluginwrapper to do anything meaningful with the native firefox.

> My config:

>  6.2-STABLE as of april 10th
>  CVSup'ed ports tree as of April 10th
>  linux_base-fc-4_9 installed--do I need fc-6??
>  linux-alsa-lib-1.0.10.3 also installed
>  firefox-2.0.0.3,1 compiled and installed
>  linux-flashplugin9 installed 

> I did the following:

>   % nspluginwrapper -v -i
> /usr/X11R6/lib/linux-mozilla/plugins/libflashplayer.so

> saw:

> Install plugin /usr/X11R6/lib/linux-mozilla/plugins/libflashplayer.so
>   into /usr/local/lib/browser_plugins/npwrapper.libflashplayer.so

> after firing firefox back up and doing about:plugins I see what I hoped to 
> see:

>Shockwave Flash
>
>File name: npwrapper.libflashplayer.so
>Shockwave Flash 9.0 r31
>
>MIME TypeDescription SuffixesEnabled
>application/x-shockwave-flashShockwave Flash swf Yes
>application/futuresplash FutureSplash Player spl Yes

> However whenever I visit a site that utilizes Flash, nothing shows up--not 
> even
> an 'outline' of what should be a flash file playing. 

> I've tried using nspluginwrapper -r to uninstall the plugin and use
> linux-flashplugin7 but the results are the same. I've also tried using
> linux-mplayer-plugin which yielded similar results: about:plugins showed a
> plethora of MIME type's, descriptions, etc. but no dice.

> Does anybody have any clues as to what's going wrong or things I could 
> possibly
> try? From all accounts seen via google, this has "just worked" for people ... 
> :(

> Thanks in advance.

> -Jr


I'm using konqueror with flash, and i followed this howto
(http://freebsd.kde.org/howtos/konqueror-flash.php).

I know you were looking for a way to get FF to work,
but i gave up, and konqueror is working fine for me.

-- 
Best regards,
Ghirai.

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


Re: lost password caused by drunk admin

2007-04-16 Thread Ghirai
Hello Lewis,

Tuesday, April 17, 2007, 4:59:40 AM, you wrote:

> Hello FreeBSD List,

> Ok I made a huge mistake (insert laugh here because I know you will).
> I was working late at home and had more then a few drinks... A lot  
> more. I was working with a PAP2-NA (Analog to VoIP adapter (ATA)) and
> I changed the password. The password that was programed into the unit
> from my service provider was a randomly generated password and I was  
> messing with a lot of the settings and needed to keep logging in. So  
> I changed it to make my life easier.

> So any way I changed the password and now it appears I didn't change  
> the password to what I had thought I had. The password was a short 4  
> digit number. Like I said I just wanted to make my life easier while  
> I was messing around with it. Now I am locked out of the unit and  
> TOTALY SOL. My phones don't work at the house because the think has  
> been set incorrectly.

> I don't know how to crack passwords or even where to start. Is there  
> some kind of script or application I can run on my FreeBSD system to  
> try every combination of numbers from 0 - .

> It is possible I may have fat fingered the number so it could be 6 or
> 7 digits instead of the 4 I intended. I don't know. I tried every  
> variation I can think of and even got drunk again hoping to recreate  
> the stupid mistake.

> I have totally messed that one up. I would have had to type it twice  
> which just goes to show you should not work on your junk while drunk.

> Can anyone help me out? The unit has no reset buttons to reset it to  
> defaults there is nothing online that I can find to bypass the unit.  
> I did a port scan and it appears to only be listening on port 80. Any
> thoughts out there? Please.

> Thanks and I hope I made someone laugh with my mistake because I know
> all my friends are.

> Thanks.

How/over what protocol do you get to wherever it asks for the 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]"


mspaint-like application?

2007-04-22 Thread Ghirai
Hello,

Even though this is not necessarily a pure FreeBSD question,
i'd like to know if there are any mspaint-like applications
in the ports collection?

I don't need anything as complex as gimp,
i just want to make quick edits, adding arrows, etc
on images, then saving in a couple popular formats.

I wanted to install kolourpaint; i found out that it
was included in kdegraphics, which has quite a few rather big
dependencies.

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]"


Disassembler for freebsd?

2007-04-22 Thread Ghirai
Hello list,

Has anyone tried to use ldasm and/or lida on FreeBSD?

Are there any alternatives, besides hte?

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: Disassembler for freebsd?

2007-04-22 Thread Ghirai

> Hello list,
> Has anyone tried to use ldasm and/or lida on FreeBSD?
> Are there any alternatives, besides hte?
> Thanks.

It seems that objdump is linked statically with bfdlib,
and it doesn't support pe files.

My question would be how to get objdump to
diassemble pe files?

I've searched around and i've only found
log discussions/rants about why the gnu people
statically link libraries and such...

I'd appreciate if anyone could point me in the right direction.

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: PIL installation through Ports

2007-04-25 Thread Ghirai
Hello dhaneshk,

Wednesday, April 25, 2007, 12:50:10 PM, you wrote:

> Hi ,
>   I have a FreeBSD6.0 server machine running zope2.9 and plone .

> this m/c haspython-2.4.4  but no PIL module , I have to install it  to
> support the zope/plone application that I am running in this machine But
> in /usr/ports there is no such port  for PIL OR I can't recoganize which
> port is it

> ...

> please suggest  the proper  stpes to install  PIL in my BSD box ,

> Thanks in advance
> kk

PIL is in /usr/ports/graphics/py-imaging

So just do a "cd /usr/ports/graphics/py-imaging" and
"make install clean" as root and you should be good to go.


-- 
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: scp/sftp without interactive shell?

2007-05-03 Thread Ghirai
Hello Ewald,

Thursday, May 3, 2007, 5:07:33 PM, you wrote:

> Hi,

> I'm looking for a way to securely transfer files between machines
> using either scp or sftp without giving the user a login shell on the
> target machine. Put in another way: The user should be able to
> transfer files but must not have an interactive login shell on the
> target box.

> Giving the user a shell of "/bin/true" or something similar on the
> target machine is not an option since scp doesn't seem to work in this
> case.

> Any ideas how this could be accomplished?

> Thanks in advance for your help,
> -ewald

Given your requirement,
i would suggest installing pure-ftpd and puredb (from ports).

With that you can create as many virtual users as you like, and
restrict access/speed/etc to fit your needs.

Your clients will connect over SSL FTP, which i assume is acceptable.

A detailed guide is here: 
http://www.bsdguides.org/guides/freebsd/networking/pure-ftpd_virtual_users.php

Hope this helps.


-- 
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]"


startup scripts not working

2007-05-10 Thread Ghirai
Hello list,

Suddenly, the startup scripts for various applications won't work.
I have these in /usr/local/etc/rc.d:
apache22, ircservices, postgresql, pure-ftpd, unrealircd

When i run any of them without parameters, they give out the parameters.
But when i use any of the params, nothing happens.

Starting the binaries themselves (from /usr/local/sbin, etc,
depending on the application) works, and the applications
themselves work fine.

None of the scripts work, they show the same behavior,
and i ran them as root.

I'm running 6.2-RELEASE-p4.

Any hints/help is appreciated.

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: startup scripts not working

2007-05-10 Thread Ghirai
Hello Howard,

Friday, May 11, 2007, 1:09:01 AM, you wrote:

> Ghirai wrote:
>> Hello list,
>> 
>> Suddenly, the startup scripts for various applications won't work.
>> I have these in /usr/local/etc/rc.d:
>> apache22, ircservices, postgresql, pure-ftpd, unrealircd
>> 
>> When i run any of them without parameters, they give out the parameters.
>> But when i use any of the params, nothing happens.
>> 
>> Starting the binaries themselves (from /usr/local/sbin, etc,
>> depending on the application) works, and the applications
>> themselves work fine.
>> 
>> None of the scripts work, they show the same behavior,
>> and i ran them as root.

> I don't have any of those installed but most of the local rc.d scripts
> need an enable flag in /etc/rc.conf . Take a look at your rc.d scripts
> and see if they need them to.  You can also run these with -x to see 
> what's happening (eg.,  sh -x /usr/local/etc/rc.d/apache22 start)

You were right, i forgot to add the flag in rc.conf.

Thanks for the quick replies everyone.

-- 
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]"


Re[2]: notebook cpu throttling

2007-05-21 Thread Ghirai
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.

-- 
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-21 Thread Ghirai
Hello Roland,

Tuesday, May 22, 2007, 1:12:10 AM, you wrote:

> On Tue, May 22, 2007 at 12:56:08AM +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.

> That's a lot. Are you doing anything to make it work hard? Such a
> constantly high CPU usage is not normal, IMHO. Unless you're doing
> something wacky like running xearth or xlock on your root window.

> You can try to renice(8) the X server. That might make it less jerky.

> Roland

No, i'm not doing anything at all.

KDE loads up, and after about 10 seconds (of me doing
nothing), xorg starts to use CPU, without any reason
(and no HD activity).

I tried it a couple of times, every time the same.

I renice-ed it, no use.

Are there any alternatives to powerd?

Also checked logs, nothing at all.


Oh, and thanks for your time :)

-- 
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]"


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=0xbfe9fbff
  Features2=0xc189,>
  AMD Features=0x10
  Cores per package: 2 

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


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



-- 
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: 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: 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.  



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: 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:



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: 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[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: 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]"


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: 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]"


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: [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]"


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: 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]"


Re: FreeBSD File Server with ZFS

2010-02-18 Thread Ghirai
On Thu, 18 Feb 2010 11:21:48 -0500
mailinglist  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: sftp server with speed throttling

2010-03-22 Thread Ghirai
On Sun, 21 Mar 2010 19:55:00 +
Vincent Hoffman  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"


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=2&t=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"


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=8843 metric 0 mtu
1500 options=2808
ether 00:13:d4:a7:84:f9
inet 192.168.0.254 netmask 0xff00 broadcast 192.168.0.255
media: Ethernet autoselect (100baseTX )
status: active
ed0: flags=8843 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=8843 metric 0 mtu
1500 options=8
ether 00:02:44:59:91:d5
media: Ethernet autoselect (100baseTX )
status: active
plip0: flags=108810 metric 0
mtu 1500 lo0: flags=8049 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=8051 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"


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"


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"


Re: is there an OOo-3 package Anywhere?

2009-02-27 Thread Ghirai
On Fri, 27 Feb 2009 11:51:05 -0800
Gary Kline  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"


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

2009-03-21 Thread Ghirai
On Fri, 20 Mar 2009 19:27:02 -0800
Mel Flynn  wrote:

> On Friday 20 March 2009 17:55:49 RW wrote:
> > On Sat, 21 Mar 2009 01:53:16 +0200
> >
> > Ghirai  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"


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  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"


  1   2   >