Re: acpi module build fails

2006-08-12 Thread Nick Withers
On Sun, 13 Aug 2006 05:53:37 +0200
"Dimitar Vasilev" <[EMAIL PROTECTED]> wrote:

> /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c:
> In function `
> acpi_sleep_machdep':
> /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c:285:
> error: `a
> cpi_resume_beep' undeclared (first use in this function)
> /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c:285:
> error: (E
> ach undeclared identifier is reported only once
> /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c:285:
> error: fo
> r each function it appears in.)
> *** Error code 1
> 
> Stop in /usr/src/sys/modules/acpi/acpi.
> *** Error code 1
> 
> Stop in /usr/src/sys/modules/acpi.
> *** Error code 1
> 
> Stop in /usr/src/sys/modules.
> *** Error code 1
> 
> 99%ed-externs -Wstrict-prototypes  -Wmissing-prototypes
> -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions
> -std=c99 -Wsystem-headers -Werror -Wall -Wno-f
> ormat-y2k -Wno-uninitialized -c
> /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c
> /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c:
> In function `acpi_sleep_machdep':
> /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c:285:
> error: `acpi_resume_beep' undeclared (first use in this
> function) 
> /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c:285:
> error: (Each undeclared identifier is reported only once
> /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c:285:
> error: for each function it appears in.)
> *** Error code 1
> 
> Stop in /usr/src/sys/modules/acpi/acpi.
> *** Error code 1
> 
> Stop in /usr/src/sys/modules/acpi.
> *** Error code 1
> 
> Stop in /usr/src/sys/modules.
> *** Error code 1
> 
> Stop in /usr/obj/usr/src/sys/GENERIC.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> [EMAIL PROTECTED]:/usr/src/# ^Gexit
> 
> Branch - 6.1-stable
> 
> This persists from 1 day - i have cvsuped from different
> servers around the globe, including cvsup from scratch.
> 
> The statement on line 285 is
> 
>  if (acpi_resume_beep)
> timeout(acpi_stop_beep, NULL, 3 * hz);
> 
> return (ret);
> }
> 
> Anyone knows how to fix this ? C is not my strong side.
> Thanks,

G'day Dimitar,

Please see my previous post on the subject "`acpi_resume_beep'
undeclared (first use in this function)" (though note that I
believe that the problem is in version 1.39.2.2
of /usr/src/sys/i386/acpica/acpi_wakeup.c (as opposed to
1.39.2.1, as I previously incorrectly stated). Note also that
this question really belongs on -stable, too :-)

I CCed Nate Lawson (the commiter of the update I think caused
the problem) on the replay in question, so I imagine this'll be
sorted soon.
> -- 
> Димитър Василев
> Dimitar Vassilev
> 
> GnuPG key ID: 0x4B8DB525
> Keyserver: pgp.mit.edu
> Key fingerprint: D88A 3B92 DED5 917E 341E D62F 8C51 5FC4 4B8D
> B525
-- 
Nick Withers
email: [EMAIL PROTECTED]
WWW: http://nickwithers.com
Mobile: +61 414 397 446
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can someone elplain Synchronous Writes?

2006-08-12 Thread Bill Moran
Chris <[EMAIL PROTECTED]> wrote:

> I did a search but was unable to find a good explanation of what 
> synchronous writes are in filesystems.  A disk can only write one block 
> of data at a time so I fail to see what is synchronous and why it is 
> slow.  Is synchronous used in this case to mean serialized file
> operations?

Sync writes means the data is written in the order it is updated, and
the OS doesn't do any reordering or optimizations.

> Also modern hard drives have write caches so doesn't that defeat 
> filesystem's consistency efforts?

No.  SCSI drives do tagged queuing, which means the OS can tell whether
or not the data has actually been written.  Tagged queuing allows the
OS to coordinate the efforts of its own cache and the drive cache.

> Lastly "soft updates" I think caches file system meta data so it updates 
> multiple records at once.  Isn't this similar to a hard drives write 
> cache and SCSI and now IDE's "native command queing" which reoders and 
> combines read and writes?

Similar, yes.  But those features are bad ideas.  Many an IDE HDD has been
hosed because it was caching data without the OS's knowledge.  SCSI uses
tagged queuing, which allows the OS to be aware of what has been written
and what is still in the queue.

If the OS requests that the data be written to the disk, the HDD should
oblige -- this allows the OS to guarantee FS consistency.  IDE drives
don't do this, SCSI do.  Apparently, newer SATA drives are more like
SCSI drives than IDE.

Softupdates is aware of the type of filesystem, and can therefore guarantee
that it commits data to the platter in a manner that will ensure FS
consistency.  The drive doesn't know what FS it has on it, so can't know
what data must be committed and when.  This is why IDE's method of caching
is dangerous.  Since SCSI allows the OS to find out what the drive has
commited, SCSI cache's can be used safely.

All programs have the option to call fsync(), which will not return until
the data they have written is successfully stored on the disk.  Many
programs (such as databases) use this to ensure that the is safely on
the disk before performing other actions, thus ensuring that the data
is never corrupted.  If the OS can not communicate with the drive cache
(as is the case with IDE) then these programs run the risk of massive
corruption in the event of a power failure (for example).

-- 
Bill Moran

Yea, I will drink thy blood gladly, that I may forget the blood of Beleg
my master, and the blood of Brandir slain unjustly.  I will slay thee
swiftly.

Gurthang

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


Can someone elplain Synchronous Writes?

2006-08-12 Thread Chris
I did a search but was unable to find a good explanation of what 
synchronous writes are in filesystems.  A disk can only write one block 
of data at a time so I fail to see what is synchronous and why it is 
slow.  Is synchronous used in this case to mean serialized file operations?


Also modern hard drives have write caches so doesn't that defeat 
filesystem's consistency efforts?


Lastly "soft updates" I think caches file system meta data so it updates 
multiple records at once.  Isn't this similar to a hard drives write 
cache and SCSI and now IDE's "native command queing" which reoders and 
combines read and writes?


Chris

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


acpi module build fails

2006-08-12 Thread Dimitar Vasilev

/usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c: In
function `
acpi_sleep_machdep':
/usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c:285:
error: `a
cpi_resume_beep' undeclared (first use in this function)
/usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c:285:
error: (E
ach undeclared identifier is reported only once
/usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c:285:
error: fo
r each function it appears in.)
*** Error code 1

Stop in /usr/src/sys/modules/acpi/acpi.
*** Error code 1

Stop in /usr/src/sys/modules/acpi.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

99%ed-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual  -fformat-extensions -std=c99 -Wsystem-headers -Werror
-Wall -Wno-f
ormat-y2k -Wno-uninitialized -c
/usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c
/usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c: In
function `acpi_sleep_machdep':
/usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c:285:
error: `acpi_resume_beep' undeclared (first use in this function)
/usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c:285:
error: (Each undeclared identifier is reported only once
/usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c:285:
error: for each function it appears in.)
*** Error code 1

Stop in /usr/src/sys/modules/acpi/acpi.
*** Error code 1

Stop in /usr/src/sys/modules/acpi.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

Stop in /usr/obj/usr/src/sys/GENERIC.
*** Error code 1

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

Stop in /usr/src.
[EMAIL PROTECTED]:/usr/src/# ^Gexit

Branch - 6.1-stable

This persists from 1 day - i have cvsuped from different servers around the
globe, including cvsup from scratch.

The statement on line 285 is

if (acpi_resume_beep)
   timeout(acpi_stop_beep, NULL, 3 * hz);

   return (ret);
}

Anyone knows how to fix this ? C is not my strong side.
Thanks,


--
Димитър Василев
Dimitar Vassilev

GnuPG key ID: 0x4B8DB525
Keyserver: pgp.mit.edu
Key fingerprint: D88A 3B92 DED5 917E 341E D62F 8C51 5FC4 4B8D B525
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Undelete for UFS2?

2006-08-12 Thread David King

Lastly surely someone has implemented a trash folder mechanism for
freebsd... what is it called so I can look up how to install it?


maybe something like:
mkdir ~/.trash
alias rm 'mv -iv \!* ~/.trash/'


The problem with that solution is that when you move to a new system,  
you assume that your files will go to trash and then OH NO


Better to do something like:
alias del 'mv -iv \!* ~/.trash/'
and get in the habit of using 'del'

Or maybe a script called 'del' in your path that looks like (I use  
this one):


#!/bin/sh

DATESUFFIX=`date -u +%Y-%m-%d--%H.%M.%S` # All files deleted at the  
same time need the same serial

LOCATION=${HOME}/.Trash

if [ \! -d ${LOCATION} ]; then
echo Creating $LOCATION...>&2
mkdir ${LOCATION}
chmod 700 ${LOCATION}
fi
if [ \! -z $SUDO_USER ]; then
THE_USER=$SUDO_USER
else
THE_USER=$USER
fi

for each in "$@"; do
if [ -e "$each" ]; then
NEWFILE=${LOCATION}/`echo "$each" | tr / _`.${DATESUFFIX}
echo -n $each '->' ${NEWFILE}
mv "$each" "${NEWFILE}"
chown -R $THE_USER "${NEWFILE}"
echo .
else
echo \"$each\" was not found >&2
fi
done

if [ \! -z "$PS1" ] || [ \! -z "$PROMPT" ]; then
printf "Your trash can has %s and %s inodes\n" `du -hcd0  
$LOCATION 2>/dev/null | tail -n 1 | awk '{print $1}'` `find $LOCATION| 
wc -l`

fi


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


Re: BSDstats Project v2.0 ...

2006-08-12 Thread Marc G. Fournier

On Sat, 12 Aug 2006, Jonathan Horne wrote:


* Can we trust Marc to delete them?


Won't be anything to delete ... except for any time I need to debug the 
server end, the logs will be set to /dev/null ...



* I thought this was going to be an official FreeBSD project hosted on
 freebsd.org?


Since this is meant to provide stats for *BSD, not just FreeBSD, I've 
setup bsdstats.org as a more 'neutral' site ...



* Maybe we should get the OpenBSD people involved?


I've sent Theo an email, and never heard back ... in fact, I've sent 
emails to the NetBSD, OpenBSD *and* DragonFlyBSD camps, and the only one 
that answered back with any sort of interest was the DF-BSD camp, and I 
have some mods to add to v3.0 to satisfy Matt's requirements to have it 
actually put into their base operating system ... and that one is simple, 
he just wants some sort of 'connectivity check' put in place 



Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: `acpi_resume_beep' undeclared (first use in this function)

2006-08-12 Thread Nick Withers
On Sat, 12 Aug 2006 17:00:59 -0700
Charles Mujie <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I've searched through the archieves and googled around,  I don't seem to
> be able to find reference to this error. I installed FreeBSD 6.1 from CD
> did a cvsup to update the source and ports tree, and when I tried to
> build the kernel I got the following error. I'm using GENERIC and SMP as
> the KERNCONF parameter. It looks like the function 'acpi_resume_beep' is
> not declared anyway. Can someone help me with this. Thanks.

I _believe_ this is an issue in RELENG_6 (i.e., 6-STABLE), so
I'm assuming that's what you've tried to build.

I ran into the same issue yesterday but haven't hassled anyone
about it yet. I believe it's due to the MFC in 1.39.2.1
of /usr/src/sys/i386/acpica/acpi_wakeup.c (see
"http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/acpica/acpi_wakeup.c";).

Nate - Any thoughts?

> /cm
> 
> cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE
> -nostdinc -I- 
> -I/usr/src/sys/modules/acpi/acpi/../../../contrib/dev/acpica -
> DHAVE_KERNEL_OPTION_HEADERS -include
> /usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq
> -I@/../include -finline-limit=8000 -fn
> o-common -g -I/usr/obj/usr/src/sys/GENERIC -mno-align-long-strings
> -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffree
> standing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes 
> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-ext
> ensions -std=c99 -Wsystem-headers -Werror -Wall -Wno-format-y2k
> -Wno-uninitialized -c
> /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi
> _wakeup.c
> /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c: In
> function `acpi_sleep_machdep':
> /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c:285:
> error: `acpi_resume_beep' undeclared (first use in this function)
> /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c:285:
> error: (Each undeclared identifier is reported only once
> /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c:285:
> error: for each function it appears in.)
> *** Error code 1
> 
> Stop in /usr/src/sys/modules/acpi/acpi.
> *** Error code 1
> 
> Stop in /usr/src/sys/modules/acpi.
> *** Error code 1
> 
> Stop in /usr/src/sys/modules.
> *** Error code 1
> 
> Stop in /usr/obj/usr/src/sys/GENERIC.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
-- 
Nick Withers
email: [EMAIL PROTECTED]
Web: http://www.nickwithers.com
Mobile: +61 414 397 446
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Samba problem

2006-08-12 Thread Carlos Silva

Hi all,

I have installed freebsd 6.1-RELEASE on my machine and now samba dont 
work, because of a timeout.
I've tried the two versions of the samba ports and none of them work 
properly.

Do you have any idea?

Ouput:

osiris# mount -t smbfs //porta1/tmpdown /tmpdir
Password:

mount_smbfs: unable to open connection: syserr = Operation timed out

Otherwise, this is not an password error.

Best Regards,

Carlos Silva, CSilva
Web: http://www.csilva.org/

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


Re: Bad system clock

2006-08-12 Thread RW
On Saturday 12 August 2006 12:42, P.U.Kruppa wrote:
> Hi,
>
> for some time now my system clock really goes wrong (some hours
> per day). Is there some simple way to find out if this is caused
> by a hardware or software problem?

Does this help?

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/troubleshoot.html#LAPTOP-CLOCK-SKEW
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Finding IP Addresses (OT)

2006-08-12 Thread RW
On Thursday 10 August 2006 19:18, beno wrote:
> Hi;
> I'm configuring my IP filter and I need to figure out what IP addresses
> I use (via SSH2) to contact my server. 

If I understand correctly you are trying to setup your server's firewall to 
only allow connections from your home or office pc with a dynamic IP address.

Why not setup dynamic dns for your ip address, and setup the server to allow 
connections from the particular hostname. If you use a DNS service, you can 
probably do that already, otherwise there's dyndns.com. There are dynamic dns 
update tools for various platforms.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


freeradius account webinterface

2006-08-12 Thread Marwan Sultan

Hello everyone,

  I'm On FreeBSD 6.1R MySql 4.1 Chillispot and freeradius,

  will anyone please recommend any web interface that manage my freeradius 
users

  and accounting managment?

  I tried phpprepaid, but its so a buggy package.

 Thank you guys

Marwan

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


`acpi_resume_beep' undeclared (first use in this function)

2006-08-12 Thread Charles Mujie
Hi,

I've searched through the archieves and googled around,  I don't seem to
be able to find reference to this error. I installed FreeBSD 6.1 from CD
did a cvsup to update the source and ports tree, and when I tried to
build the kernel I got the following error. I'm using GENERIC and SMP as
the KERNCONF parameter. It looks like the function 'acpi_resume_beep' is
not declared anyway. Can someone help me with this. Thanks.

/cm

cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE
-nostdinc -I- 
-I/usr/src/sys/modules/acpi/acpi/../../../contrib/dev/acpica -
DHAVE_KERNEL_OPTION_HEADERS -include
/usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq
-I@/../include -finline-limit=8000 -fn
o-common -g -I/usr/obj/usr/src/sys/GENERIC -mno-align-long-strings
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffree
standing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-ext
ensions -std=c99 -Wsystem-headers -Werror -Wall -Wno-format-y2k
-Wno-uninitialized -c
/usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi
_wakeup.c
/usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c: In
function `acpi_sleep_machdep':
/usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c:285:
error: `acpi_resume_beep' undeclared (first use in this function)
/usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c:285:
error: (Each undeclared identifier is reported only once
/usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_wakeup.c:285:
error: for each function it appears in.)
*** Error code 1

Stop in /usr/src/sys/modules/acpi/acpi.
*** Error code 1

Stop in /usr/src/sys/modules/acpi.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

Stop in /usr/obj/usr/src/sys/GENERIC.
*** Error code 1

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

Stop in /usr/src.

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


eveolution and click-on URL's don't work......

2006-08-12 Thread Gary Kline

People,

According to the readme in evolution in  order to get the
underlined URL's to work, I need to allow my network proxy to
work.   Since I'm using CTWM and not Gnome, is there a way of
doing the network translation in /etc rather than selection the
Gnome menu items?

thanks much,


PS  mutt is still best for most things, but not for responding to
a URL that is 80+ bytes long!


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

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


Re: Undelete for UFS2?

2006-08-12 Thread Martin Tournoij

It most certainly is.

If you are using vim, them you can set patchmode
This will keep the original version of a file(for example rc.conf.org)

:help patchmode will tell you more.

This saved me quite a few times after I screwed up a configuration file  
and didn't remember how to get it back again...



Martin Tournoij wrote:

Martin,

Snapshots really aren't that complicated, take a look at the handbook  
entry:

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


Quite handy, didn't even know this existed for FBSD. Started using it  
right away, with the freebsd-snapshot port. Always good to have an extra  
backup against /etc changes that didn't work out THAT well afterall. :)


/Robin




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


Re: Undelete for UFS2?

2006-08-12 Thread Robin Vley

Martin Tournoij wrote:

Martin,

Snapshots really aren't that complicated, take a look at the handbook 
entry:

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


Quite handy, didn't even know this existed for FBSD. Started using it 
right away, with the freebsd-snapshot port. Always good to have an extra 
backup against /etc changes that didn't work out THAT well afterall. :)


/Robin

--
Robin Vley
F/X Services Managed Hosting
http://www.fx-services.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: OT: new documents notification and approval

2006-08-12 Thread Martin Tournoij
On Sat, 12 Aug 2006 19:11:25 +0200, Andrea Venturoli  
<[EMAIL PROTECTED]> wrote:



Giorgos Keramidas wrote:


Just get a full document management system,


Like what? Any name?

  bye & Thanks
av.


Google:
http://www.google.com/search?num=30&hs=dDJ&hl=en&lr=lang_nl%7Clang_en&safe=off&client=opera&rls=en&q=document+management+free&btnG=Search&lr=lang_nl%7Clang_en

The best way to find out which suites your needs is to try them out...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Undelete for UFS2?

2006-08-12 Thread Chad Leigh -- Shire.Net LLC


On Aug 12, 2006, at 1:11 PM, Martin Tournoij wrote:

On Sat, 12 Aug 2006 18:29:20 +0200, Chad Leigh -- Shire.Net LLC  
<[EMAIL PROTECTED]> wrote:




On Aug 12, 2006, at 7:26 AM, Martin Tournoij wrote:

On Sat, 12 Aug 2006 12:13:49 +0200, Andreas Davour  
<[EMAIL PROTECTED]> wrote:



On Sat, 12 Aug 2006, Daniel Gerzo wrote:


Hello Chris,

Saturday, August 12, 2006, 3:48:28 AM, you wrote:

Lastly surely someone has implemented a trash folder mechanism  
for

freebsd... what is it called so I can look up how to install it?


maybe something like:

mkdir ~/.trash
alias rm 'mv -iv \!* ~/.trash/'


You don't have a handy solution for the lack of file version  
numbering as well?

That's something I'd love to see in ext4 or UFS3!

/andreas



Snapshots?


Isn't a snapshot a filesystem wide thing?  Sounds to complicated  
for file-level versioning without something on top of it like the  
new Apple Time Machine business


I agree it would be nice to have file versioning in the FS like  
VMS does.


Chad



Yeah, snapshots are FS-wide.
If you make one once a day it's almost the same as a FS VMS feature.


No, VM creates a new version of a file for each edit.  So you would  
have to create a snapshot after each edit, so you only get 20 edits.   
And using the versioned files is not easy or intuitive since you have  
to play around with a new "FS" for each one, the snapshot.


Chad
ex-DECcie


You can have a total of 20 snapshots, so that's 20 days...

Snapshots really aren't that complicated, take a look at the  
handbook entry:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ 
snapshots.html


Basicly it's just:
# mknap_ffs /usr 20060812
And you have a snapshot of /usr named 20060812

Also, there's a port which offers some usefull scripts
sysutils/freebsd-snapshot


---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net



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


Re: Undelete for UFS2?

2006-08-12 Thread Martin Tournoij
On Sat, 12 Aug 2006 18:29:20 +0200, Chad Leigh -- Shire.Net LLC  
<[EMAIL PROTECTED]> wrote:




On Aug 12, 2006, at 7:26 AM, Martin Tournoij wrote:

On Sat, 12 Aug 2006 12:13:49 +0200, Andreas Davour <[EMAIL PROTECTED]>  
wrote:



On Sat, 12 Aug 2006, Daniel Gerzo wrote:


Hello Chris,

Saturday, August 12, 2006, 3:48:28 AM, you wrote:


Lastly surely someone has implemented a trash folder mechanism for
freebsd... what is it called so I can look up how to install it?


maybe something like:

mkdir ~/.trash
alias rm 'mv -iv \!* ~/.trash/'


You don't have a handy solution for the lack of file version numbering  
as well?

That's something I'd love to see in ext4 or UFS3!

/andreas



Snapshots?


Isn't a snapshot a filesystem wide thing?  Sounds to complicated for  
file-level versioning without something on top of it like the new Apple  
Time Machine business


I agree it would be nice to have file versioning in the FS like VMS does.

Chad



Yeah, snapshots are FS-wide.
If you make one once a day it's almost the same as a FS VMS feature.
You can have a total of 20 snapshots, so that's 20 days...

Snapshots really aren't that complicated, take a look at the handbook  
entry:

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

Basicly it's just:
# mknap_ffs /usr 20060812
And you have a snapshot of /usr named 20060812

Also, there's a port which offers some usefull scripts
sysutils/freebsd-snapshot
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [EMAIL PROTECTED]

2006-08-12 Thread David Armstrong

Sorry my Norton has stopped your message coming through. Could you try again
Or come through our web site.
www.grindon-cartshed.co.uk

Dave.



- Original Message - 
From: 

To: <[EMAIL PROTECTED]>
Sent: Saturday, August 12, 2006 2:04 PM
Subject: [EMAIL PROTECTED]


The original message was received at Sat, 12 Aug 2006 14:04:51 +0100 from 
123.209.60.84


- The following addresses had permanent fatal errors -
[EMAIL PROTECTED]







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


Re: OT: new documents notification and approval

2006-08-12 Thread Andrea Venturoli

Giorgos Keramidas wrote:


Just get a full document management system,


Like what? Any name?

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


Re: OT: new documents notification and approval

2006-08-12 Thread Giorgos Keramidas
On 2006-08-12 18:26, Andrea Venturoli <[EMAIL PROTECTED]> wrote:
> Hello.
>
> I apologize for the OT, but I really wouldn't know where to ask and,
> afterall, server side will be FreeBSD.
>
> A customer of mine has the need to notify all users when a certain type
> of new document is written and ask them to sign they have read it.
> Right now everything is on plain old paper, with someone running after
> everyone personally, but obviously they'd like to move to the electronic
> way.
>
> Right now the best (but surely not the only one) solution I've thought
> of is be the following:
> _ that same person can write to a SMB share on my server and will put
> new documents there;
> _ some program in NETLOGON.CMD will check for new entries, pop up a
> window with the link and the "Accept" button; acceptance means something
> will be written somewhere (possibly on that same share or another, or
> connecting to a web script);
> _ some PHP web page will collect the result and display who has accepted
> and who must be sollicited.

Nah!  That's a hack and an ugly one too.

Just get a full document management system, instead of reimplementing a
square wheel in PHP and being happy that it didn't come up with more
edges :-)

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


Re: Undelete for UFS2?

2006-08-12 Thread Chad Leigh -- Shire.Net LLC


On Aug 12, 2006, at 7:26 AM, Martin Tournoij wrote:

On Sat, 12 Aug 2006 12:13:49 +0200, Andreas Davour  
<[EMAIL PROTECTED]> wrote:



On Sat, 12 Aug 2006, Daniel Gerzo wrote:


Hello Chris,

Saturday, August 12, 2006, 3:48:28 AM, you wrote:


Lastly surely someone has implemented a trash folder mechanism for
freebsd... what is it called so I can look up how to install it?


maybe something like:

mkdir ~/.trash
alias rm 'mv -iv \!* ~/.trash/'


You don't have a handy solution for the lack of file version  
numbering as well?

That's something I'd love to see in ext4 or UFS3!

/andreas



Snapshots?


Isn't a snapshot a filesystem wide thing?  Sounds to complicated for  
file-level versioning without something on top of it like the new  
Apple Time Machine business


I agree it would be nice to have file versioning in the FS like VMS  
does.


Chad

---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net



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


OT: new documents notification and approval

2006-08-12 Thread Andrea Venturoli

Hello.

I apologize for the OT, but I really wouldn't know where to ask and, 
afterall, server side will be FreeBSD.


A customer of mine has the need to notify all users when a certain type 
of new document is written and ask them to sign they have read it.
Right now everything is on plain old paper, with someone running after 
everyone personally, but obviously they'd like to move to the electronic 
way.


Right now the best (but surely not the only one) solution I've thought 
of is be the following:
_ that same person can write to a SMB share on my server and will put 
new documents there;
_ some program in NETLOGON.CMD will check for new entries, pop up a 
window with the link and the "Accept" button; acceptance means something 
will be written somewhere (possibly on that same share or another, or 
connecting to a web script);
_ some PHP web page will collect the result and display who has accepted 
and who must be sollicited.


I think this should be neither hard nor long for me to implement, but 
before I start, I just thought I would ask if someone knows of some 
ready to deploy solution.
N.B. It does not necessarily need to work the way I described, so long 
as the end results are the same.


 bye & Thanks
av.

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


Re: Improving Quake 3 frame rates in BSD

2006-08-12 Thread Viswas Nair

Intel 945G integrated video. Using the i810 driver. I managed to get a
linux driver for 945G but havent figured out if I can use that for
bsd.

Thanks.

On 8/12/06, Girish Venkatachalam <[EMAIL PROTECTED]> wrote:



--- Viswas Nair <[EMAIL PROTECTED]> wrote:

> I managed to install Quake 3 but the frame rates and
> the mouse
> response is terrible. I am running the game on an
> intel integrated
> system 945g. While I know that this is not great for
> gamin, quake 3 is
> quite a old game and hence gives me pretty decent
> frame rates in
> windows. I am trying to get something playable in
> BSD.
>
> I get about 773 fps with glxgears and here is the
> output of glxinfo:
>
>
> name of display: :0.0
> display: :0  screen: 0
> direct rendering: No
> server glx vendor string: SGI
> server glx version string: 1.2
> server glx extensions:
> GLX_ARB_multisample, GLX_EXT_visual_info,
> GLX_EXT_visual_rating,
> GLX_EXT_import_context, GLX_OML_swap_method,
> GLX_SGI_make_current_read,
> GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
> GLX_SGIX_swap_barrier,
> GLX_SGIX_fbconfig
> client glx vendor string: SGI
> client glx version string: 1.4
> client glx extensions:
> GLX_ARB_get_proc_address, GLX_ARB_multisample,
> GLX_EXT_import_context,
> GLX_EXT_visual_info, GLX_EXT_visual_rating,
> GLX_MESA_allocate_memory,
> GLX_MESA_swap_control,
> GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
> GLX_OML_sync_control, GLX_SGI_make_current_read,
> GLX_SGI_swap_control,
> GLX_SGI_video_sync, GLX_SGIS_multisample,
> GLX_SGIX_fbconfig,
> GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group
> GLX extensions:
> GLX_ARB_get_proc_address, GLX_ARB_multisample,
> GLX_EXT_import_context,
> GLX_EXT_visual_info, GLX_EXT_visual_rating,
> GLX_OML_swap_method,
> GLX_SGI_make_current_read, GLX_SGIS_multisample,
> GLX_SGIX_fbconfig,
> GLX_SGIX_visual_select_group
> OpenGL vendor string: Mesa project: www.mesa3d.org
> OpenGL renderer string: Mesa GLX Indirect
> OpenGL version string: 1.2 (1.5 Mesa 6.4.1)
> OpenGL extensions:
> GL_ARB_depth_texture, GL_ARB_imaging,
> GL_ARB_multitexture,
> GL_ARB_point_parameters, GL_ARB_point_sprite,
> GL_ARB_shadow,
> GL_ARB_shadow_ambient,
> GL_ARB_texture_border_clamp,
> GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
> GL_ARB_texture_env_combine,
> GL_ARB_texture_env_crossbar,
> GL_ARB_texture_env_dot3,
> GL_ARB_texture_mirrored_repeat,
> GL_ARB_texture_rectangle,
> GL_ARB_transpose_matrix, GL_ARB_window_pos,
> GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
> GL_EXT_blend_func_separate,
> GL_EXT_blend_logic_op, GL_EXT_blend_minmax,
> GL_EXT_blend_subtract,
> GL_EXT_clip_volume_hint, GL_EXT_copy_texture,
> GL_EXT_draw_range_elements,
> GL_EXT_fog_coord, GL_EXT_multi_draw_arrays,
> GL_EXT_packed_pixels,
> GL_EXT_point_parameters, GL_EXT_polygon_offset,
> GL_EXT_rescale_normal,
> GL_EXT_secondary_color,
> GL_EXT_separate_specular_color,
> GL_EXT_shadow_funcs, GL_EXT_stencil_two_side,
> GL_EXT_stencil_wrap,
> GL_EXT_subtexture, GL_EXT_texture,
> GL_EXT_texture3D,
> GL_EXT_texture_edge_clamp,
> GL_EXT_texture_env_add,
> GL_EXT_texture_env_combine,
> GL_EXT_texture_env_dot3,
> GL_EXT_texture_lod_bias, GL_EXT_texture_object,
> GL_EXT_texture_rectangle,
> GL_EXT_vertex_array, GL_APPLE_packed_pixels,
> GL_ATI_texture_env_combine3,
> GL_ATI_texture_mirror_once,
> GL_ATIX_texture_env_combine3,
> GL_HP_occlusion_test,
> GL_IBM_texture_mirrored_repeat,
> GL_INGR_blend_func_separate,
> GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
> GL_NV_blend_square, GL_NV_point_sprite,
> GL_NV_texgen_reflection,
> GL_NV_texture_rectangle,
> GL_SGIS_generate_mipmap,
> GL_SGIS_texture_border_clamp,
> GL_SGIS_texture_edge_clamp,
> GL_SGIS_texture_lod, GL_SGIX_depth_texture,
> GL_SGIX_shadow,
> GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays
> glu version: 1.3
> glu extensions:
> GLU_EXT_nurbs_tessellator,
> GLU_EXT_object_space_tess
>
>visual  x  bf lv rg d st colorbuffer ax dp st
> accumbuffer  ms  cav
>  id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r
> g  b  a ns b eat
>
--
> 0x23 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  0  0
> 0  0  0  0 0 None
> 0x24 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16
> 16 16  0  0 0 None
> 0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 16  8 16
> 16 16 16  0 0 None
> 0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 16  8 16
> 16 16 16  0 0 None
> 0x27 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  0  0
> 0  0  0  0 0 None
> 0x28 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16
> 16 16  0  0 0 None
> 0x29 24 dc  0 32  0 r  y  .  8  8  8  8  0 16  8 16
> 16 16 16  0 0 None
> 0x2a 24 dc  0 32  0 r  .  .  8  8  8  8  0 16  8 16
> 16 16 16  0 0 None
>
>
>
>
> Any suggestions on how to improve this? Thanks,
> Vishy
You have to enable DRI. What is your video card?
Procedure is different depending on y

Re: Web mail for phones

2006-08-12 Thread Daniel Gerzo
Hello Andrea,

Saturday, August 12, 2006, 5:58:15 PM, you wrote:

> Hello.

> I've searched the web a lot, but could not find anything about this; 
> maybe I can't figure the proper terms to search for.

> I'm used to installing NOCC on my mail IMAP servers and I'm happy with
> it when it comes to accessing mail from a computer.
> The next step would be accessing mail from cell phones and/or PDAs. Any
> hint?

try http://www.horde.org, they have recently released a public stable
version of such application.

> I'm totally ignorant on the matter as to what protocol they use (http,
> wap, ???).

>   bye & Thanks
> av.


-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]

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


Re: Slow Startup with nss_ldap

2006-08-12 Thread Atom Powers

Try starting ldap first, using rc.d magic.
Try putting 'bind-policy soft" (sp?) in your nss_ldap.conf, ldap.conf

On 8/11/06, Pramod Venugopal <[EMAIL PROTECTED]> wrote:

Hello everyone,

I have a FreeBSD 6.1-RELEASE system configured as a Samba Server with
an OpenLDAP backend. I have configured nss_ldap to allow local user
authentication via LDAP.

However if I reboot this machine for any reason, the bootup process
gets stuck on named. If I Ctrl-C out of named, it gets stuck again on
slapd.

However, if i put the original nsswitch.conf back, the machine boots
up fine and i have to copy the old nsswitch.conf back to get local
user authentication.

Here is the updated nsswitch.conf file:
--8<--
passwd: files ldap
group: files ldap
--8<--

 From looking at the logs, it looks like these processes are trying
to access the ldap server which isnt up since it has not started yet.
Is there any way I can get past this (other than using the original
nsswitch.conf and changing back manually)?

Thanks in advance,

Pramod Venugopal



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




--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Web mail for phones

2006-08-12 Thread Andrea Venturoli

Hello.

I've searched the web a lot, but could not find anything about this; 
maybe I can't figure the proper terms to search for.


I'm used to installing NOCC on my mail IMAP servers and I'm happy with 
it when it comes to accessing mail from a computer.
The next step would be accessing mail from cell phones and/or PDAs. Any 
hint?
I'm totally ignorant on the matter as to what protocol they use (http, 
wap, ???).


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


Re: Port Not Available

2006-08-12 Thread Gerard Seibert
Matthew Seaman wrote:

> Woah! Reinstalling the whole OS to fix a printer problem is way overkill.
> 
> The /dev/null entry in /etc/printcap is just a place-holder.  Normally
> that entry would contain the device used to communicate to a locally
> attached printer.  However, because you're using samba, you've faked the
> system into thinking you've got a local printer, while using a print
> filter to divert the data via samba into the remote Windows printer.
> It's a bit of a hack really.
> 
> However what it does mean is that no data should actually end up being
> passed to /dev/null.  As the print system is complaining about not being
> able to get an exclusive lock on that file, perhaps it would be worth
> trying substituting some regular file that it could get a lock on.  Try
> this.
> 
> # touch /var/log/lpd.out
> # chmod 644 /var/log/lpd.out
> # chown root:daemon /var/log/lpd.out
> 
> Then edit /etc/printcap and substitute /var/log/lpd.out for /dev/null
> and restart lpd.  lpd.out should just stay an empty file, but it might
> end up with a copy of anything you send to the printer in it, in which
> case siccing newsyslog(1) onto the file to keep it a manageable size
> would be a good idea.
> 
> If this works, then reporting what happened to the port maintainer and
> author of apsfilter would be indicated -- seems the behaviour of
> /dev/null has changed in recent releases sufficient to put a spanner in
> apsfilter's works.
> 
>   Cheers,
> 
>   Matthew

I tried your suggestion but to no avail. While it did alleviate the one
error message, the overall problem still exists.

The following are the output from several attempts to print a simple
document as well as some other probably useless info.


~/tmp # lp /etc/printcap
lp: Error - scheduler not responding!

~/tmp # lp -d lp /etc/printcap
lp: Connection refused

~/tmp # lpr /etc/printcap
lpr: Error - scheduler not responding!

~/tmp # lpr -Plp /etc/printcap
lpr: Connection refused


It appears that lpd is running:

root 516 0.0 0.3 1512 1060 ?? Is 8:20AM 0:00.04 /usr/sbin/lpd

Checking on the lp status:

~/tmp # lpc status all
lp:
queuing is enabled
printing is enabled
no entries in spool area
printer idle

Finally, I gleamed these from sockstat:

root lpd516   3  dgram  -> /var/run/logpriv
root lpd516   5  stream /var/run/printer
root lpd516   6  tcp6   *:515 *:*
root lpd516   7  tcp4   *:515 *:*


This is becoming more than a slight annoyance.


-- 
Gerard Seibert
[EMAIL PROTECTED]

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


Re: Undelete for UFS2?

2006-08-12 Thread Martin Tournoij
On Sat, 12 Aug 2006 12:13:49 +0200, Andreas Davour <[EMAIL PROTECTED]>  
wrote:



On Sat, 12 Aug 2006, Daniel Gerzo wrote:


Hello Chris,

Saturday, August 12, 2006, 3:48:28 AM, you wrote:


Lastly surely someone has implemented a trash folder mechanism for
freebsd... what is it called so I can look up how to install it?


maybe something like:

mkdir ~/.trash
alias rm 'mv -iv \!* ~/.trash/'


You don't have a handy solution for the lack of file version numbering  
as well?

That's something I'd love to see in ext4 or UFS3!

/andreas



Snapshots?

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


Re: Improving Quake 3 frame rates in BSD

2006-08-12 Thread Girish Venkatachalam


--- Viswas Nair <[EMAIL PROTECTED]> wrote:

> I managed to install Quake 3 but the frame rates and
> the mouse
> response is terrible. I am running the game on an
> intel integrated
> system 945g. While I know that this is not great for
> gamin, quake 3 is
> quite a old game and hence gives me pretty decent
> frame rates in
> windows. I am trying to get something playable in
> BSD.
> 
> I get about 773 fps with glxgears and here is the
> output of glxinfo:
> 
> 
> name of display: :0.0
> display: :0  screen: 0
> direct rendering: No
> server glx vendor string: SGI
> server glx version string: 1.2
> server glx extensions:
> GLX_ARB_multisample, GLX_EXT_visual_info,
> GLX_EXT_visual_rating,
> GLX_EXT_import_context, GLX_OML_swap_method,
> GLX_SGI_make_current_read,
> GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
> GLX_SGIX_swap_barrier,
> GLX_SGIX_fbconfig
> client glx vendor string: SGI
> client glx version string: 1.4
> client glx extensions:
> GLX_ARB_get_proc_address, GLX_ARB_multisample,
> GLX_EXT_import_context,
> GLX_EXT_visual_info, GLX_EXT_visual_rating,
> GLX_MESA_allocate_memory,
> GLX_MESA_swap_control,
> GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
> GLX_OML_sync_control, GLX_SGI_make_current_read,
> GLX_SGI_swap_control,
> GLX_SGI_video_sync, GLX_SGIS_multisample,
> GLX_SGIX_fbconfig,
> GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group
> GLX extensions:
> GLX_ARB_get_proc_address, GLX_ARB_multisample,
> GLX_EXT_import_context,
> GLX_EXT_visual_info, GLX_EXT_visual_rating,
> GLX_OML_swap_method,
> GLX_SGI_make_current_read, GLX_SGIS_multisample,
> GLX_SGIX_fbconfig,
> GLX_SGIX_visual_select_group
> OpenGL vendor string: Mesa project: www.mesa3d.org
> OpenGL renderer string: Mesa GLX Indirect
> OpenGL version string: 1.2 (1.5 Mesa 6.4.1)
> OpenGL extensions:
> GL_ARB_depth_texture, GL_ARB_imaging,
> GL_ARB_multitexture,
> GL_ARB_point_parameters, GL_ARB_point_sprite,
> GL_ARB_shadow,
> GL_ARB_shadow_ambient,
> GL_ARB_texture_border_clamp,
> GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
> GL_ARB_texture_env_combine,
> GL_ARB_texture_env_crossbar,
> GL_ARB_texture_env_dot3,
> GL_ARB_texture_mirrored_repeat,
> GL_ARB_texture_rectangle,
> GL_ARB_transpose_matrix, GL_ARB_window_pos,
> GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
> GL_EXT_blend_func_separate,
> GL_EXT_blend_logic_op, GL_EXT_blend_minmax,
> GL_EXT_blend_subtract,
> GL_EXT_clip_volume_hint, GL_EXT_copy_texture,
> GL_EXT_draw_range_elements,
> GL_EXT_fog_coord, GL_EXT_multi_draw_arrays,
> GL_EXT_packed_pixels,
> GL_EXT_point_parameters, GL_EXT_polygon_offset,
> GL_EXT_rescale_normal,
> GL_EXT_secondary_color,
> GL_EXT_separate_specular_color,
> GL_EXT_shadow_funcs, GL_EXT_stencil_two_side,
> GL_EXT_stencil_wrap,
> GL_EXT_subtexture, GL_EXT_texture,
> GL_EXT_texture3D,
> GL_EXT_texture_edge_clamp,
> GL_EXT_texture_env_add,
> GL_EXT_texture_env_combine,
> GL_EXT_texture_env_dot3,
> GL_EXT_texture_lod_bias, GL_EXT_texture_object,
> GL_EXT_texture_rectangle,
> GL_EXT_vertex_array, GL_APPLE_packed_pixels,
> GL_ATI_texture_env_combine3,
> GL_ATI_texture_mirror_once,
> GL_ATIX_texture_env_combine3,
> GL_HP_occlusion_test,
> GL_IBM_texture_mirrored_repeat,
> GL_INGR_blend_func_separate,
> GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
> GL_NV_blend_square, GL_NV_point_sprite,
> GL_NV_texgen_reflection,
> GL_NV_texture_rectangle,
> GL_SGIS_generate_mipmap,
> GL_SGIS_texture_border_clamp,
> GL_SGIS_texture_edge_clamp,
> GL_SGIS_texture_lod, GL_SGIX_depth_texture,
> GL_SGIX_shadow,
> GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays
> glu version: 1.3
> glu extensions:
> GLU_EXT_nurbs_tessellator,
> GLU_EXT_object_space_tess
> 
>visual  x  bf lv rg d st colorbuffer ax dp st
> accumbuffer  ms  cav
>  id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r 
> g  b  a ns b eat
>
--
> 0x23 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  0  0 
> 0  0  0  0 0 None
> 0x24 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16
> 16 16  0  0 0 None
> 0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 16  8 16
> 16 16 16  0 0 None
> 0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 16  8 16
> 16 16 16  0 0 None
> 0x27 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  0  0 
> 0  0  0  0 0 None
> 0x28 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16
> 16 16  0  0 0 None
> 0x29 24 dc  0 32  0 r  y  .  8  8  8  8  0 16  8 16
> 16 16 16  0 0 None
> 0x2a 24 dc  0 32  0 r  .  .  8  8  8  8  0 16  8 16
> 16 16 16  0 0 None
> 
> 
> 
> 
> Any suggestions on how to improve this? Thanks,
> Vishy
You have to enable DRI. What is your video card?
Procedure is different depending on your video card. 

I took the lengthy route of recompiling the entire
X.org source tree. But others may be able to give you
a simpler solution. 

Best,
Girish
> 

Re: Bad system clock

2006-08-12 Thread Girish Venkatachalam


--- "P.U.Kruppa" <[EMAIL PROTECTED]> wrote:

> On Sat, 12 Aug 2006, Girish Venkatachalam wrote:
> 
> 
> Hello Girish!
> 
> > --- "P.U.Kruppa" <[EMAIL PROTECTED]> wrote:
> >
> >> Hi,
> >>
> >> for some time now my system clock really goes
> wrong
> >> (some hours
> >> per day). Is there some simple way to find out if
> >> this is caused
> >> by a hardware or software problem?
> >> By "simple" I mean without installing a different
> OS
> >> or buying a
> >> new computer?
> > My God! Buying a new computer is a simple
> solution?
> > :-)
> >
> > I think for a few Euro cents or DM you can simply
> buy
> > yourself a new CMOS battery and you should be set.
> Wouldn't there be a complaint about low battery or
> something 
> during boot up?
Not always.
> 
> >
> > You have not given enough details about your
> problem.
> I can't: it's just my clock going wrong.
> 
> > Did you try installed ntp?
> Yes, it doesn't help. ntpdate will set the clock
> correctly at 
> boot time but soon afterwards it's all bad again.
> 
ntpdate is a one time affair. It only helps correct
things when they go grievously wrong (like your case
for instance).

Whereas if you run ntpd then it polls a server, I use
ptbtime1.ptb.de, then your clock will be corrected
roughly every 17 mins(1024s) thus mitigating your
problem. 

The real solution however lies in figuring out why
your clock is getting offset by several hours. 

A single line in /etc/ntp.conf that says

server ptbtime1.ptb.de

should do the trick;
after installing the ntp port or package of course.


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


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Improving Quake 3 frame rates in BSD

2006-08-12 Thread Viswas Nair

I managed to install Quake 3 but the frame rates and the mouse
response is terrible. I am running the game on an intel integrated
system 945g. While I know that this is not great for gamin, quake 3 is
quite a old game and hence gives me pretty decent frame rates in
windows. I am trying to get something playable in BSD.

I get about 773 fps with glxgears and here is the output of glxinfo:


name of display: :0.0
display: :0  screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
   GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
   GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
   GLX_SGIS_multisample, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier,
   GLX_SGIX_fbconfig
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
   GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
   GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
   GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
   GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control,
   GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
   GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group
GLX extensions:
   GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
   GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method,
   GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
   GLX_SGIX_visual_select_group
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.4.1)
OpenGL extensions:
   GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multitexture,
   GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shadow,
   GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp,
   GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
   GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
   GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
   GL_ARB_texture_rectangle, GL_ARB_transpose_matrix, GL_ARB_window_pos,
   GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_func_separate,
   GL_EXT_blend_logic_op, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
   GL_EXT_clip_volume_hint, GL_EXT_copy_texture, GL_EXT_draw_range_elements,
   GL_EXT_fog_coord, GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels,
   GL_EXT_point_parameters, GL_EXT_polygon_offset, GL_EXT_rescale_normal,
   GL_EXT_secondary_color, GL_EXT_separate_specular_color,
   GL_EXT_shadow_funcs, GL_EXT_stencil_two_side, GL_EXT_stencil_wrap,
   GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D,
   GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,
   GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
   GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_texture_rectangle,
   GL_EXT_vertex_array, GL_APPLE_packed_pixels, GL_ATI_texture_env_combine3,
   GL_ATI_texture_mirror_once, GL_ATIX_texture_env_combine3,
   GL_HP_occlusion_test, GL_IBM_texture_mirrored_repeat,
   GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
   GL_NV_blend_square, GL_NV_point_sprite, GL_NV_texgen_reflection,
   GL_NV_texture_rectangle, GL_SGIS_generate_mipmap,
   GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
   GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow,
   GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays
glu version: 1.3
glu extensions:
   GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

  visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
--
0x23 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  0 0 None
0x24 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  0 0 None
0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
0x27 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  0 0 None
0x28 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  0 0 None
0x29 24 dc  0 32  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
0x2a 24 dc  0 32  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None




Any suggestions on how to improve this? Thanks,
Vishy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Bad system clock

2006-08-12 Thread P.U.Kruppa

On Sat, 12 Aug 2006, Girish Venkatachalam wrote:


Hello Girish!


--- "P.U.Kruppa" <[EMAIL PROTECTED]> wrote:


Hi,

for some time now my system clock really goes wrong
(some hours
per day). Is there some simple way to find out if
this is caused
by a hardware or software problem?
By "simple" I mean without installing a different OS
or buying a
new computer?

My God! Buying a new computer is a simple solution?
:-)

I think for a few Euro cents or DM you can simply buy
yourself a new CMOS battery and you should be set.
Wouldn't there be a complaint about low battery or something 
during boot up?




You have not given enough details about your problem.

I can't: it's just my clock going wrong.


Did you try installed ntp?
Yes, it doesn't help. ntpdate will set the clock correctly at 
boot time but soon afterwards it's all bad again.


Uli.


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


Re: Bad system clock

2006-08-12 Thread Girish Venkatachalam


--- "P.U.Kruppa" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> for some time now my system clock really goes wrong
> (some hours 
> per day). Is there some simple way to find out if
> this is caused 
> by a hardware or software problem?
> By "simple" I mean without installing a different OS
> or buying a 
> new computer?
My God! Buying a new computer is a simple solution?
:-)

I think for a few Euro cents or DM you can simply buy
yourself a new CMOS battery and you should be set. 

You have not given enough details about your problem.
Did you try installed ntp?

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


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Bad system clock

2006-08-12 Thread P.U.Kruppa

Hi,

for some time now my system clock really goes wrong (some hours 
per day). Is there some simple way to find out if this is caused 
by a hardware or software problem?
By "simple" I mean without installing a different OS or buying a 
new computer?


Regards and thanks,

Uli.


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


Re[3]: BSDstats Project v2.0 ...

2006-08-12 Thread Marc G. Fournier

On Sat, 12 Aug 2006, Daniel Gerzo wrote:


Hello Marc,

Saturday, August 12, 2006, 12:55:13 AM, you wrote:


On Sat, 12 Aug 2006, Daniel Gerzo wrote:




It would be nice to see this in base system, that would help to raise
this number enourmously.  And surely it would be nice to see it
somewhere under the freebsd.org domain.



Actually, I've registered bsdstats.org for this ... I've been talking to
various ppl from the other *BSDs about getting them involved as well, so
went with the more 'neutral' domain instead of making this "FreeBSD Only"
... we share alot between us as it is, sharing "marketing power" is a good
thing ...


Ah, I see. I haven't been thinking about this this way :)


I'm currently working on a v3.0 that will use bsdstats.org as the checkin 
server ... its being designed in such a way as to eliminate anything being 
left on the server, and, in fact, the hostname isn't even sent to the 
server ...


Most of the code is ready, just working now on reducing the # of fetch's 
required down to 4 from about a dozen or more ... make it more efficient 
...



Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: USB Media Keys

2006-08-12 Thread Nikolas Britton

On 8/11/06, Jeff Molofee <[EMAIL PROTECTED]> wrote:

do you know of any usb keys that have volume keys?



No I don't know of any USB keyboards with volume control... I'm picky
about my keyboards... Most of them are old DEC, Compaq, and IBM
keyboards with the standard key layout... I think the keys on most new
keyboards are too soft etc. I'd like to get my hands on an old IBM
buckling spring keyboard.

Anyways... try here:
http://www.newegg.com/ProductSort/Subcategory.asp?N=2000290063&Subcategory=63


you don't know what a saitek eclipse keyboard is?



I do now:
http://images.google.com/images?q=saitek+eclipse

looks breakable.


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


Re: Shared object not found

2006-08-12 Thread Kent Stewart
On Saturday 12 August 2006 02:51, mr thooL wrote:
> I can't run xmms:
>
>
> ===
> # xmms
> /libexec/ld-elf.so.1: Shared object "libgtk12.so.2" not found,
> required by "xmms"
> ===
>
> version: xmms-1.2.10_4
> (Freebsd 6.0)
>
>
> How can I fix it?

Somehow gtk-1.2.10_4 hasn't been installed. You can try
portupgrade gtk-1.2 
or
portupgrade -N gtk-1.2.10_4

Kent

-- 
Kent Stewart
Richland, WA

http://www.soyandina.com/ "I am Andean project".
http://users.owt.com/kstewart/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Shared object not found

2006-08-12 Thread mr thooL

I can't run xmms:


===
# xmms
/libexec/ld-elf.so.1: Shared object "libgtk12.so.2" not found,
required by "xmms"
===

version: xmms-1.2.10_4
(Freebsd 6.0)


How can I fix it?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


automatic override of individual set paths in ports

2006-08-12 Thread O. Hartmann

Hello.

On our lab's and my private FreeBSD box I installed several 
applications, in particular php-5.1.4, apache 2.2.3 and MySQL 5.0.24, in 
separate directories targeting to separate software partitions. MySQL is 
installed via ports-collection, but I always must change PREFIX  and the 
DATABASEDIR manually to point to the right directory. PHP and Apache is 
installed by meself without ports support.


Keeping track on updates and security issues I would like to use the 
portupgrade facilities, but everytime I fetch an update or new version, 
my once setup prefixes and directory settings get lost and I need to do 
this by hand again (concerns MySQL). This prevents me installing and 
updating things automatically and this bothers me.


The point is that I do not want some specific ports in the regular 
/usr/local pathways, especially MySQL, PHP and Apache. I need separate 
pathes. I would like to do automatic updates via portsnap/portupgrade, 
but I need to set PREFIX and DBDIR permanently for specific ports, not 
being overridden by the next portsnap fetch and upgrade.


Can you give hints, tips or just a 'no-go' in this concern? Thanks a lot,
Oliver
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re[3]: BSDstats Project v2.0 ...

2006-08-12 Thread Daniel Gerzo
Hello Marc,

Saturday, August 12, 2006, 12:55:13 AM, you wrote:

> On Sat, 12 Aug 2006, Daniel Gerzo wrote:

>>
>> It would be nice to see this in base system, that would help to raise
>> this number enourmously.  And surely it would be nice to see it
>> somewhere under the freebsd.org domain.

> Actually, I've registered bsdstats.org for this ... I've been talking to
> various ppl from the other *BSDs about getting them involved as well, so
> went with the more 'neutral' domain instead of making this "FreeBSD Only"
> ... we share alot between us as it is, sharing "marketing power" is a good
> thing ...

Ah, I see. I haven't been thinking about this this way :)

-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]

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


Re: Undelete for UFS2?

2006-08-12 Thread Daniel Gerzo
Hello Chris,

Saturday, August 12, 2006, 3:48:28 AM, you wrote:

> Just thought I'd ask though I'm pretty sure the answer is no. Nothing 
> important just my mailbox files for mailing lists including this one. 
> All my email addresses look alike and I was foulish enough to copy and
> paste.  Why oh why I didn't add the backup cronjob I don't know...

> Is there anyway to get spools for this list?  It's nice being able to 
> search messages locally.

> Lastly surely someone has implemented a trash folder mechanism for 
> freebsd... what is it called so I can look up how to install it?

maybe something like:

mkdir ~/.trash
alias rm 'mv -iv \!* ~/.trash/'

-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]

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