Re: help with AWk

2008-09-28 Thread Wayne Sierke
On Sat, 2008-09-27 at 22:06 -0500, Len Conrad wrote:
 The logic desired if
 
 If IP has no PTR, print PTR_NUL, else print the PTR.
 
 
 dig +short -x 1.2.3.4 | awk '{if ( $0 ==  ) {print PTR_NUL } else {print 
 $0 } }'
 
 ... works if PTR exist, but if no PTR, PTR_NUL doesn't print.
 
 thanks
 Len

 dig +short -x 10.0.0.1 | awk '{print $0} END {if(NR==0) print PTR_NUL}'
PTR_NUL
 dig +short -x 69.147.83.33 | awk '{print $0} END {if(NR==0) print PTR_NUL}'
www.freebsd.org.


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


Re: monodevelop compile-time problem

2008-09-28 Thread Robert Andersson
On Sat, 27 Sep 2008 08:13:13 -0700 (PDT)
mdh [EMAIL PROTECTED] wrote:

 Howdy,
 When trying to compile monodevelop on FreeBSD 7-STABLE, I get the
 following errors: Making all in contrib
 Making all in Mono.Cecil
 Error expanding embedded variable.
 *** Error code 1
 
 Stop in /u/root/bld/monodevelop-1.0/contrib.
 *** Error code 1
 
 Stop in /u/root/bld/monodevelop-1.0.
 
 This is similar to an error when I tried to compile mono-addins,
 however installing mono-addins from ports worked.  I'm using the
 latest mono/mono-addins/gtksourceview/gtk# from ports.
 Unfortunately, there's no monodevelop port.  Has anyone successfully
 gotten monodevelop working?  I looked for patches in the mono-addins
 port to see if it changed anything that might fix this error, but
 found none.  Any help is, of course, much appreciated.  
 
 Thanks, mdh
 
 
 
   
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 


It seems that someone has created a monodevelop port, but it is not
in the main ports tree. Have a look at
http://www.mono-project.com/Mono:FreeBSD

I haven't tried it myself though.

Good luck!

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


Re: MPlayer is broken on 71-PRERELEASE?

2008-09-28 Thread Yuri
Actually this problem went away with the update to the more recent 
version of 71-PRERELEASE.


Thank you,
Yuri



mdh wrote:

Maybe bump the shared memory sysctl's?  I've never had a problem with mplayer, 
and I've got the following in my sysctl.conf:

kern.ipc.shmmax=67108864
kern.ipc.shmall=32768

The xine install suggests this (which is why I have them set), and mplayer is a similar type of application, so it may help out there as well.  


- mdh

--- On Sat, 9/27/08, Yuri [EMAIL PROTECTED] wrote:

  

From: Yuri [EMAIL PROTECTED]
Subject: MPlayer is broken on 71-PRERELEASE?
To: freebsd-questions@freebsd.org
Date: Saturday, September 27, 2008, 4:07 PM
When I am trying to play a regular DVD video I am getting a
messages:
X11 error: BadShmSeg (invalid shared segment parameter)%
11.2% 9 0


Similar messages are printed hen I tried to play some other
media files.

Seems like something is broken in MPlayer on
FreeBSD-71-PRERELEASE.

Few months ago it used to work fine.

FreeBSD xxx.xxx.xxx 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE
#13: Sat Sep 
13 22:42:11 PDT 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

mplayer-0.99.11_6

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




  
  


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


Hard disk bottle neck.

2008-09-28 Thread Danny Do
Hi guys,

 

I have this problem for years but couldn't find a way to solve it.

I have a file server handling large files from 1MByte to 1GByte. 

Server Info:
FreeBSD 6.2 
Apache 2.2.9

DELL PowerEdge 1850
2GB RAM (only 184MB is active)
6x300MB SCSI 10K RPM RAID5
Gigabit Ethernet Connection

My server can output NO MORE than 60Mbps (read only). 

The bottle neck is the hard disk. If I use ONE connection to download file
from my server, the speed can go up to about 400Mbps. 

If I let visitors download using multiple connections, the server cannot
output more than 60Mbps. 

My service is similar to rapidshare/megaupload, I am wondering how they
configure their servers?

If I recall correctly, it doesn't cost much time to read the data from the
disk but it does cost a lot of time to seek for the data. Correct me if I am
wrong, if I increase the read buffer size, there would be less disk seek
(disk access). Let's say the read buffer is 64K, if I increase it to 640K,
the disk seek would reduce by 90%. Thus, more data can be read from the hard
drive.

What should I do now?


Any suggestion is appreciated!

Danny Do

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


SSH FreeBSD SSH command-line command

2008-09-28 Thread Mike Price
I am looking for a FreeBSD SSH command-line command that will  forward all
TCP/UDP traffic through port: 53.
Then I need a plink or Cygwin MS-DOS command to tunnel all my XP traffic.

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


Re: Hard disk bottle neck.

2008-09-28 Thread Wojciech Puchar

Server Info:
FreeBSD 6.2
Apache 2.2.9

DELL PowerEdge 1850
2GB RAM (only 184MB is active)


so what's up with other 1.8GB?


6x300MB SCSI 10K RPM RAID5


300MB disks at 10K? there was such?


Gigabit Ethernet Connection

My server can output NO MORE than 60Mbps (read only).


you mean Mbps or MBps



The bottle neck is the hard disk. If I use ONE connection to download file
from my server, the speed can go up to about 400Mbps.

If I let visitors download using multiple connections, the server cannot
output more than 60Mbps.

My service is similar to rapidshare/megaupload, I am wondering how they
configure their servers?


patch /usr/src/sys/sys/param.h

#ifndef DFLTPHYS
#define DFLTPHYS(1024 * 1024)   /* default max raw I/O transfer size */
#endif
#ifndef MAXPHYS
#define MAXPHYS (1024 * 1024)   /* max raw I/O transfer size */
#endif
#ifndef MAXDUMPPGS




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


stop in usr/ports/www/firefox3

2008-09-28 Thread Dino Vliet
Hi peeps,

I want to install firefox3 beside my working firefox2 port on my amd64 system 
running freebsd 6.3 but the installation fails here:

../../../../dist/lib/libxpcomglue_s.a(nsStringAPI.o)(.text+0x13b8): In
function `nsACString::SetLength(unsigned int)': : undefined reference
to
`NS_CStringGetMutableData' 
../../../../dist/lib/libxpcomglue_s.a(nsStringAPI.o)(.text+0x13ea):
In function `nsACString::BeginWriting(char**, char**, unsigned int)': :
undefined reference to
`NS_CStringGetMutableData' 
../../../../dist/lib/libxpcomglue_s.a(nsStringAPI.o)(.text+0x14f8):
In function `nsACString::BeginWriting(unsigned int)': : undefined
reference to
`NS_CStringGetMutableData' 
../../../../dist/lib/libxpcomglue_s.a(nsStringAPI.o)(.text+0x151d):
In function `nsACString::EndWriting()': : undefined reference to
`NS_CStringGetMutableData' 
../../../../dist/lib/libxpcomglue_s.a(nsStringAPI.o)(.text+0x1aac):
In function
`nsDependentSubstring_external::nsDependentSubstring_external(nsAString
const, unsigned int)': : undefined reference to
`NS_StringContainerInit2' 
../../../../dist/lib/libxpcomglue_s.a(nsStringAPI.o)(.text+0x1b14):
In function
`nsDependentSubstring_external::nsDependentSubstring_external(nsAString
const, unsigned int, unsigned int)': : undefined reference to
`NS_StringContainerInit2' 
../../../../dist/lib/libxpcomglue_s.a(nsStringAPI.o)(.text+0x1b68):
In function
`nsDependentCSubstring_external::nsDependentCSubstring_external(nsACString
const, unsigned int)': : undefined reference to
`NS_CStringContainerInit2' 
../../../../dist/lib/libxpcomglue_s.a(nsStringAPI.o)(.text+0x1bd0):
In function
`nsDependentCSubstring_external::nsDependentCSubstring_external(nsACString
const, unsigned int, unsigned int)': : undefined reference to
`NS_CStringContainerInit2' 
../../../../dist/lib/libxpcomglue_s.a(nsStringAPI.o)(.text+0x1c73):
In function `CompressWhitespace(nsAString)': : undefined reference to
`NS_StringGetMutableData' 
../../../../dist/lib/libxpcomglue_s.a(nsStringAPI.o)(.text+0x1e13):
In function `ToLowerCase(nsACString const, nsACString)': : undefined
reference to
`NS_CStringGetMutableData' 
../../../../dist/lib/libxpcomglue_s.a(nsStringAPI.o)(.text+0x1e93):
In function `ToUpperCase(nsACString const, nsACString)': : undefined
reference to
`NS_CStringGetMutableData' 
../../../../dist/lib/libxpcomglue_s.a(nsCRTGlue.o)(.text+0x14f):
In function `NS_strndup(unsigned short const*, unsigned int)': :
undefined reference to
`NS_Alloc' ../../../../dist/lib/libxpcomglue_s.a(nsCRTGlue.o)(.text+0x1d1):
In function `NS_strdup(char const*)': : undefined reference to
`NS_Alloc' ../../../../dist/lib/libxpcomglue_s.a(nsMemory.o)(.text+0x1d):
In function `nsMemory::Clone(void const*, unsigned long)': : undefined
reference to `NS_Alloc' gmake[5]: *** [libimgicon.so] Error 1 gmake[5]:
Leaving directory
`/usr/ports/www/firefox3/work/mozilla/modules/libpr0n/decoders/icon'
gmake[4]: *** [tools] Error 2 gmake[4]: Leaving directory
`/usr/ports/www/firefox3/work/mozilla/modules/libpr0n/decoders'
gmake[3]: *** [tools] Error 2 gmake[3]: Leaving directory
`/usr/ports/www/firefox3/work/mozilla/modules/libpr0n' gmake[2]: ***
[tools_tier_gecko] Error 2 gmake[2]: Leaving directory
`/usr/ports/www/firefox3/work/mozilla' gmake[1]: *** [tier_toolkit]
Error 2 gmake[1]: Leaving directory
`/usr/ports/www/firefox3/work/mozilla' gmake: *** [default] Error 2 ***
Error code 2

Stop in /usr/ports/www/firefox3.
*** Error code 1

Stop in /usr/ports/www/firefox3.
[EMAIL PROTECTED] /usr/ports/www/firefox3]# 

What is wrong here?

uname -a:
FreeBSD zouk.alice.nl 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #18: Thu Mar 20 
21:01:24 CET 2008 root@:/usr/obj/usr/src/sys/MYKERNEL  amd64


Hope somebody can help.

Brgds
Dino




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


Re: The consequences of turning off sendmail

2008-09-28 Thread RW
On Sat, 27 Sep 2008 22:20:40 -0400
Sahil Tandon [EMAIL PROTECTED] wrote:

 Andrew Falanga [EMAIL PROTECTED] wrote:
 

 You can turn off the Sendmail daemon so that it does not actually
 listen for incoming connections or act as an MTA in the conventional
 sense. But local utilities like cron can still invoke
 the /usr/sbin/sendmail command to send you notifications.
 
 http://lists.freebsd.org/pipermail/freebsd-questions/2005-December/107610.html
 
The default for sendmail is:

sendmail_enable=NO
sendmail_submit_enable=YES

which has the sendmail daemon listening only on localhost. It's fully
functional in all respects except that it can't be accessed from
outside. You can use localhost:25 as an outgoing mail server if you
wish.

Turning-off the localhost daemon altogether and having  
/usr/sbin/sendmail deliver local mail directly is possible, but
it's deprecated on security grounds as it needs to run setuid.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hard disk bottle neck.

2008-09-28 Thread Matthew Seaman

Danny Do wrote:

Hi guys,

 


I have this problem for years but couldn't find a way to solve it.

I have a file server handling large files from 1MByte to 1GByte. 


Server Info:
FreeBSD 6.2 
Apache 2.2.9


DELL PowerEdge 1850
2GB RAM (only 184MB is active)
6x300MB SCSI 10K RPM RAID5
Gigabit Ethernet Connection

My server can output NO MORE than 60Mbps (read only). 


The bottle neck is the hard disk. If I use ONE connection to download file
from my server, the speed can go up to about 400Mbps. 


If I let visitors download using multiple connections, the server cannot
output more than 60Mbps. 


My service is similar to rapidshare/megaupload, I am wondering how they
configure their servers?

If I recall correctly, it doesn't cost much time to read the data from the
disk but it does cost a lot of time to seek for the data. Correct me if I am
wrong, if I increase the read buffer size, there would be less disk seek
(disk access). Let's say the read buffer is 64K, if I increase it to 640K,
the disk seek would reduce by 90%. Thus, more data can be read from the hard
drive.

What should I do now?


Try some different webservers. Apache is great, but it is designed to
be maximally flexible and capable of doing anything you can imagine
rather than to be absolutely as fast as possible.

There are some light-weight servers which have put work into optimizing
delivery of static content -- usually spoken of in the context of serving 
images but any static files will be suitable material.  Personally, I 
really like nginx for this.  Lots of people go for lighttpd and there are

a number of other alternatives in ports.

Also, depending on exactly how much content you have to serve and whether
certain items are very much more popular than others, a reverse proxy / memory 
cache (a.k.a http accelerator) may help.  varnish is the obvious
candidate here, but you'll have to experiment a bit to see what the optimal
settings are and if it actually helps at all.

If your website runs using a scripting language such as PHP, then another
possibility is memcached -- although described as a cache for dynamically
generated pages, it can cache just about anything, but you will need some
sort of scripting language to interface to it from your web server.  There
are memcached APIs for all popular languages and probably a few you've 
never heard of...


The various caching strategies basically work because they keep recently
accessed files in RAM, avoiding an expensive round-trip to the HDD to
retrieve the data (memory access takes nano- or micro- seconds: disk 
accesses take milliseconds).  Of course, the OS itself also does exactly 
the same thing in a general way, and FreeBSD is already very good in this 
respect.  Caching  software however gives you more control over what gets 
cached and for how long,  enabling you to tune this specific application 
for maximum performance.


Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: OpenGL things crash X in FB7-Stable, nVidia Card

2008-09-28 Thread Daniel Bye
On Fri, Sep 26, 2008 at 11:14:05PM +0100, Kemian Dang wrote:
 Daniel Bye wrote:
 On Fri, Sep 26, 2008 at 04:58:10PM +0100, Kemian Dang wrote:
 Hi all,
 
 I have a FreeBSD 7 Stable box with a nVidia 6150 Go Graphic Card.
 Everything was OK sometime before, but after a series updated on ports, 
 ( I am not sure about the time, I have not use OpenGL stuff for long 
 time) running a program with OpenGL will cause the X crashed.
 
 [ -- snip -- ]
 
 The last crash is when I choose a OpenGL screensaver.
 
 The ports is updated nearly daily, and I think this may happen after 
 sometime after I updated the latest nVidia-driver.
 
 Any ideas about this problem?
 
 Try reinstalling the nVidia driver port. It installs its own GL libs,
 which may have been replaced by another port, depending on the order in
 which your ports were updated. Reinstalling should ensure you have the
 correct libs in the correct place...
 
 Dan
 
 
 Thanks for reply Daniel.
 
 I have re-installed the nvidia-driver and tested OpenGL - Crash again.
 So it seems not the case...

Rats! Sorry that didn't help.

One other thing occurs to me - you mentioned you updated some ports. Have
you also updated your system source tree without doing a full buildworld
cycle? If so, chances are that your nVidia driver is built against a 
different version of the kernel source than the running kernel. Although
any differences will be minimal, there is a chance that something changed 
enough to upset the driver.

Failing that, all I can suggest is that you keep an eye on your console
and see if the driver emits any messages just before it chokes.

Good luck!

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpvBaj88bPVt.pgp
Description: PGP signature


Re: Kernel messages

2008-09-28 Thread Mel
On Sunday 28 September 2008 07:37:31 Sasa Stupar wrote:
 Runing FBSD 7 amd64. I have noticed in my cron security output:
 +rtfree: 0xff0001424c30 has 1 refs

 There are sometimes only a few lines, but sometimes there are 100 lines
 or more (all exactly the same).

 I didn't find anything on the net (google) so I am asking here.

Really?
http://www.google.com/bsd?num=30hl=ensafe=offq=rtfree

In short it's a driver bug, a driver doesn't use proper macros to manage 
routing tables and the refcount goes bad. Report the error on -net and/or do 
a send-pr with netstat -r output.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hard disk bottle neck.

2008-09-28 Thread Bill Moran
Danny Do [EMAIL PROTECTED] wrote:

 Hi guys,
 
 I have this problem for years but couldn't find a way to solve it.
 
 I have a file server handling large files from 1MByte to 1GByte. 
 
 Server Info:
 FreeBSD 6.2 
 Apache 2.2.9
 
 DELL PowerEdge 1850
 2GB RAM (only 184MB is active)
 6x300MB SCSI 10K RPM RAID5
 Gigabit Ethernet Connection
 
 My server can output NO MORE than 60Mbps (read only). 
 
 The bottle neck is the hard disk.

What evidence do you have that the bottleneck is disk IO?  I've seen no
evidence, only speculation.

In addition to the advice of others, you may be able to just beef up the
RAM.  2G isn't much these days.  If you've got 200M active, you've got
about 1.8G available to cache files.  If you have repeated access of the
same file, the OS can cache that file data and not even use the disk, but
it can only do that if it has enough RAM to work with.  You need to get
your facts straight, though.  According to the specs you've got above,
you've only got 1.5G of disk.  I expect you meant 300G disks.

You could also add disks in a RAID 10, which is generally faster than
RAID 5, or move to 15,000 RPM disks.  I think you might be surprised how
much adding some RAM will help, though, unless your access patterns are
very random, RAM should speed up the access of popular data significantly.

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


Re: Hard disk bottle neck.

2008-09-28 Thread Diego F. Arias R.
First be shure your bottleneck are the hard drives.

On Sun, Sep 28, 2008 at 8:54 AM, Bill Moran [EMAIL PROTECTED] wrote:
 Danny Do [EMAIL PROTECTED] wrote:

 Hi guys,

 I have this problem for years but couldn't find a way to solve it.

 I have a file server handling large files from 1MByte to 1GByte.

 Server Info:
 FreeBSD 6.2
 Apache 2.2.9

 DELL PowerEdge 1850
 2GB RAM (only 184MB is active)
 6x300MB SCSI 10K RPM RAID5
 Gigabit Ethernet Connection

 My server can output NO MORE than 60Mbps (read only).

 The bottle neck is the hard disk.

 What evidence do you have that the bottleneck is disk IO?  I've seen no
 evidence, only speculation.

 In addition to the advice of others, you may be able to just beef up the
 RAM.  2G isn't much these days.  If you've got 200M active, you've got
 about 1.8G available to cache files.  If you have repeated access of the
 same file, the OS can cache that file data and not even use the disk, but
 it can only do that if it has enough RAM to work with.  You need to get
 your facts straight, though.  According to the specs you've got above,
 you've only got 1.5G of disk.  I expect you meant 300G disks.

 You could also add disks in a RAID 10, which is generally faster than
 RAID 5, or move to 15,000 RPM disks.  I think you might be surprised how
 much adding some RAM will help, though, unless your access patterns are
 very random, RAM should speed up the access of popular data significantly.

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




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


RE: Hard disk bottle neck.

2008-09-28 Thread Danny Do
Hi Matthew  Wojciech Puchar and others,

First of all, I'd like to correct one mistyped:
- I got 6x300GB SCSI 10K RPM hard drive.
- Most of my files are about 100MB, many as big as 1GB.
- Caching is not an option.

Thanks for the advices but caching is not an option for me as most of my
files are about 100MB, many files are as big as 1GB. 

I tried Lighty a few years ago but it doesn't help. The problem I think is
disk seek. If I can reduce disk seek by increasing read buffer, I think
problem would be solved. 

I am thinking of trying Wojciech Puchar method by patching the kernel with
the following code:

patch /usr/src/sys/sys/param.h

#ifndef DFLTPHYS
#define DFLTPHYS(1024 * 1024)   /* default max raw I/O transfer size
*/
#endif
#ifndef MAXPHYS
#define MAXPHYS (1024 * 1024)   /* max raw I/O transfer size */
#endif
#ifndef MAXDUMPPGS

I'll update the result. I'll tell you how I go. Maybe sometimes in the next
fortnight.

Thanks everyone, thanks Wojciech Puchar,

Danny


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matthew Seaman
Sent: Sunday, 28 September 2008 7:30 PM
To: Danny Do
Cc: freebsd-questions@freebsd.org
Subject: Re: Hard disk bottle neck.

Danny Do wrote:
 Hi guys,
 
  
 
 I have this problem for years but couldn't find a way to solve it.
 
 I have a file server handling large files from 1MByte to 1GByte. 
 
 Server Info:
 FreeBSD 6.2
 Apache 2.2.9
 
 DELL PowerEdge 1850
 2GB RAM (only 184MB is active)
 6x300MB SCSI 10K RPM RAID5
 Gigabit Ethernet Connection
 
 My server can output NO MORE than 60Mbps (read only). 
 
 The bottle neck is the hard disk. If I use ONE connection to download 
 file from my server, the speed can go up to about 400Mbps.
 
 If I let visitors download using multiple connections, the server 
 cannot output more than 60Mbps.
 
 My service is similar to rapidshare/megaupload, I am wondering how 
 they configure their servers?
 
 If I recall correctly, it doesn't cost much time to read the data from 
 the disk but it does cost a lot of time to seek for the data. Correct 
 me if I am wrong, if I increase the read buffer size, there would be 
 less disk seek (disk access). Let's say the read buffer is 64K, if I 
 increase it to 640K, the disk seek would reduce by 90%. Thus, more 
 data can be read from the hard drive.
 
 What should I do now?

Try some different webservers. Apache is great, but it is designed to be
maximally flexible and capable of doing anything you can imagine rather than
to be absolutely as fast as possible.

There are some light-weight servers which have put work into optimizing
delivery of static content -- usually spoken of in the context of serving
images but any static files will be suitable material.  Personally, I really
like nginx for this.  Lots of people go for lighttpd and there are a number
of other alternatives in ports.

Also, depending on exactly how much content you have to serve and whether
certain items are very much more popular than others, a reverse proxy /
memory cache (a.k.a http accelerator) may help.  varnish is the obvious
candidate here, but you'll have to experiment a bit to see what the optimal
settings are and if it actually helps at all.

If your website runs using a scripting language such as PHP, then another
possibility is memcached -- although described as a cache for dynamically
generated pages, it can cache just about anything, but you will need some
sort of scripting language to interface to it from your web server.  There
are memcached APIs for all popular languages and probably a few you've never
heard of...

The various caching strategies basically work because they keep recently
accessed files in RAM, avoiding an expensive round-trip to the HDD to
retrieve the data (memory access takes nano- or micro- seconds: disk
accesses take milliseconds).  Of course, the OS itself also does exactly the
same thing in a general way, and FreeBSD is already very good in this
respect.  Caching  software however gives you more control over what gets
cached and for how long,  enabling you to tune this specific application for
maximum performance.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW


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


RE: Hard disk bottle neck.

2008-09-28 Thread Wojciech Puchar

the following code:

patch /usr/src/sys/sys/param.h

#ifndef DFLTPHYS
#define DFLTPHYS(1024 * 1024)   /* default max raw I/O transfer size
*/
#endif
#ifndef MAXPHYS
#define MAXPHYS (1024 * 1024)   /* max raw I/O transfer size */
#endif
#ifndef MAXDUMPPGS

I'll update the result. I'll tell you how I go. Maybe sometimes in the next
fortnight.

Thanks everyone, thanks Wojciech Puchar,


after you recompile the kernel with that patch, check your disk 
performance in some directory consisting of many large files


cd that_dir
for x in *;do (cat $x /dev/null );done

while running systat,:vmstat on another console


i've just did this on one of my systems, with ONE 500GB SATA drive and 
with geli encryption.


got 48MB/s and about 50% CPU load with core2 duo.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Hard disk bottle neck.

2008-09-28 Thread Wojciech Puchar

#ifndef MAXDUMPPGS

I'll update the result. I'll tell you how I go. Maybe sometimes in the next
fortnight.

Thanks everyone, thanks Wojciech Puchar,

Danny


anyway - how your RAID5 is configured? didn't you selected SMALL stripe 
sizes?


this way - every large read uses 3 disks in parallel, instead of spreading 
multiple reads on multiple disks.


RAID5 performance is high on reads, when configured properly, and when the 
RAID solution is right.



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


Re: Hard disk bottle neck.

2008-09-28 Thread Bill Moran
Wojciech Puchar [EMAIL PROTECTED] wrote:

 after you recompile the kernel with that patch, check your disk 
 performance in some directory consisting of many large files
 
 cd that_dir
 for x in *;do (cat $x /dev/null );done
 
 while running systat,:vmstat on another console

More specifically, do this before and after you make the change, to
demonstrate whether or not you actually fixed the problem.

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


Re: Hard disk bottle neck.

2008-09-28 Thread Diego F. Arias R.
On Sun, Sep 28, 2008 at 11:17 AM, Bill Moran [EMAIL PROTECTED] wrote:
 Wojciech Puchar [EMAIL PROTECTED] wrote:

 after you recompile the kernel with that patch, check your disk
 performance in some directory consisting of many large files

 cd that_dir
 for x in *;do (cat $x /dev/null );done

 while running systat,:vmstat on another console

 More specifically, do this before and after you make the change, to
 demonstrate whether or not you actually fixed the problem.

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


do you check gstat?

If the patch dont works, maybe yoy may try to split the raid (2 raid
5) or better use a raid 10. The raid 5 isnt a top performance raid.

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


Re: Hard disk bottle neck.

2008-09-28 Thread Wojciech Puchar


If the patch dont works, maybe yoy may try to split the raid (2 raid
5) or better use a raid 10. The raid 5 isnt a top performance raid.


properly configured RAID5 is top performing on reads
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OpenGL things crash X in FB7-Stable, nVidia Card

2008-09-28 Thread Daniel Molina Wegener
On Sunday 28 September 2008 09:29:55 Daniel Bye wrote:
 On Fri, Sep 26, 2008 at 11:14:05PM +0100, Kemian Dang wrote:
  Daniel Bye wrote:
  On Fri, Sep 26, 2008 at 04:58:10PM +0100, Kemian Dang 
wrote:
  Hi all,
  
  I have a FreeBSD 7 Stable box with a nVidia 6150 Go
   Graphic Card. Everything was OK sometime before, but
   after a series updated on ports, ( I am not sure about
   the time, I have not use OpenGL stuff for long time)
   running a program with OpenGL will cause the X crashed.
  
  [ -- snip -- ]
  
  The last crash is when I choose a OpenGL screensaver.
  
  The ports is updated nearly daily, and I think this may
   happen after sometime after I updated the latest
   nVidia-driver.
  
  Any ideas about this problem?
  
  Try reinstalling the nVidia driver port. It installs its
   own GL libs, which may have been replaced by another
   port, depending on the order in which your ports were
   updated. Reinstalling should ensure you have the correct
   libs in the correct place...
  
  Dan
 
  Thanks for reply Daniel.
 
  I have re-installed the nvidia-driver and tested OpenGL -
  Crash again. So it seems not the case...

 Rats! Sorry that didn't help.

 One other thing occurs to me - you mentioned you updated some
 ports. Have you also updated your system source tree without
 doing a full buildworld cycle? If so, chances are that your
 nVidia driver is built against a different version of the
 kernel source than the running kernel. Although any
 differences will be minimal, there is a chance that something
 changed enough to upset the driver.

  I was having similar problems with the nvidia driver on my
6.4-PRERELEASE machine.

  The solution was to remove agp and drm related drivers from
the kernel configuration and setting:

hw.nvidia.registry.EnableAGPFW=1
hw.nvidia.registry.EnableAGPSBA=1

  In my sysctl.conf, and also setting:

Option NvAGP 3

  In my xorg.conf in the Screen section...

  The concrete problem -- not related with GL failures -- was
system freezing with /sysctl -a/ command on terminal emulators 
from X server.

  I hope it would help.


 Failing that, all I can suggest is that you keep an eye on
 your console and see if the driver emits any messages just
 before it chokes.

 Good luck!

 Dan


Best regards,
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | FreeBSD  Linux User| Standards Rocks!


signature.asc
Description: This is a digitally signed message part.


Re: strange behavior after update

2008-09-28 Thread Daniel Molina Wegener
On Sunday 28 September 2008 00:29:01 Daniel Molina Wegener 
wrote:
 Hello,

 I have 4GB machine and after updating to 6.4-PRERELEASE using
 32bit intel based system. the complete system hangs if I do
 a sysctl -a under X terminal emulators. Also, I get a
 system hang during entropy harvesting.

 The sysctl -a command freezes while is displaying ACPI
 information, I can't capture the output and I don't have any
 core files...

 I'm running the nvidia-driver port with X11.

 Best regards and thanks...

I reply to my self (in other similar thread):

-8--8--8--8-
  I was having similar problems with the nvidia driver on my
6.4-PRERELEASE machine.

  The solution was to remove agp and drm related drivers from
the kernel configuration and setting:

hw.nvidia.registry.EnableAGPFW=1
hw.nvidia.registry.EnableAGPSBA=1

  In my sysctl.conf, and also setting:

Option NvAGP 3

  In my xorg.conf in the Screen section...

  The concrete problem -- not related with GL failures -- was
system freezing with /sysctl -a/ command on terminal emulators 
from X server.
-8--8--8--8-

  I hope it would help others...

Regards to the list...
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | FreeBSD  Linux User| Standards Rocks!


signature.asc
Description: This is a digitally signed message part.


Re: SSH FreeBSD SSH command-line command

2008-09-28 Thread Lokadamus

Mike Price wrote:

I am looking for a FreeBSD SSH command-line command that will  forward all
TCP/UDP traffic through port: 53.
Then I need a plink or Cygwin MS-DOS command to tunnel all my XP traffic.

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

  

What will you do? VPN with SSH?

OpenVPN is easy and you can use it with XP and Linux/*BSD and all TCP/ 
UDP traffic is going from one host to other host/ subnet.

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


RE: Hard disk bottle neck.

2008-09-28 Thread Danny Do
Hi Diego,

The reason I use RAID5 because I don't want to waste too much space on 
redundancy whilst taking the advantage of read. Over 99% of disk access are 
expected to be reading. 

I could split to 2xRAID5 but I will have difficulty with file management later. 
Furthermore, the system would use 2 disks for parity. I don't want to lose too 
much space. [EMAIL PROTECTED] SCSI disks are still very expensive. :(





-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Diego F. Arias R.
Sent: Sunday, 28 September 2008 11:25 PM
To: Bill Moran
Cc: Wojciech Puchar; Danny Do; freebsd-questions@freebsd.org
Subject: Re: Hard disk bottle neck.

On Sun, Sep 28, 2008 at 11:17 AM, Bill Moran [EMAIL PROTECTED] wrote:
 Wojciech Puchar [EMAIL PROTECTED] wrote:

 after you recompile the kernel with that patch, check your disk
 performance in some directory consisting of many large files

 cd that_dir
 for x in *;do (cat $x /dev/null );done

 while running systat,:vmstat on another console

 More specifically, do this before and after you make the change, to
 demonstrate whether or not you actually fixed the problem.

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


do you check gstat?

If the patch dont works, maybe yoy may try to split the raid (2 raid
5) or better use a raid 10. The raid 5 isnt a top performance raid.

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

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


Re: OpenGL things crash X in FB7-Stable, nVidia Card

2008-09-28 Thread Mel
On Sunday 28 September 2008 18:36:17 Daniel Molina Wegener wrote:
 On Sunday 28 September 2008 09:29:55 Daniel Bye wrote:
  On Fri, Sep 26, 2008 at 11:14:05PM +0100, Kemian Dang wrote:
   Daniel Bye wrote:
   On Fri, Sep 26, 2008 at 04:58:10PM +0100, Kemian Dang

 wrote:
   Hi all,
   
   I have a FreeBSD 7 Stable box with a nVidia 6150 Go
Graphic Card. Everything was OK sometime before, but
after a series updated on ports, ( I am not sure about
the time, I have not use OpenGL stuff for long time)
running a program with OpenGL will cause the X crashed.
   
   [ -- snip -- ]
   
   The last crash is when I choose a OpenGL screensaver.
   
   The ports is updated nearly daily, and I think this may
happen after sometime after I updated the latest
nVidia-driver.
   
   Any ideas about this problem?
   
   Try reinstalling the nVidia driver port. It installs its
own GL libs, which may have been replaced by another
port, depending on the order in which your ports were
updated. Reinstalling should ensure you have the correct
libs in the correct place...
   
   Dan
  
   Thanks for reply Daniel.
  
   I have re-installed the nvidia-driver and tested OpenGL -
   Crash again. So it seems not the case...
 
  Rats! Sorry that didn't help.
 
  One other thing occurs to me - you mentioned you updated some
  ports. Have you also updated your system source tree without
  doing a full buildworld cycle? If so, chances are that your
  nVidia driver is built against a different version of the
  kernel source than the running kernel. Although any
  differences will be minimal, there is a chance that something
  changed enough to upset the driver.

   I was having similar problems with the nvidia driver on my
 6.4-PRERELEASE machine.

   The solution was to remove agp and drm related drivers from
 the kernel configuration and setting:

 hw.nvidia.registry.EnableAGPFW=1
 hw.nvidia.registry.EnableAGPSBA=1

   In my sysctl.conf, and also setting:

 Option NvAGP 3

   In my xorg.conf in the Screen section...

   The concrete problem -- not related with GL failures -- was
 system freezing with /sysctl -a/ command on terminal emulators
 from X server.

I'm interested to see if this helps, since he has a 'Go' card, meaning laptop, 
most likely no AGP.
These OpenGL apps, are they native or linux? Try games/apoolGL, for a 
lightweight native OpenGL app.
I have very bad performance (fps 10) with linux games, under fc6, that run 
fine under fc4. No crashes, though.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Hard disk bottle neck.

2008-09-28 Thread Wojciech Puchar

The reason I use RAID5 because I don't want to waste too much space on 
redundancy whilst taking the advantage of read. Over 99% of disk access are 
expected to be reading.

in that case - RAID5 is perfect, just properly set up.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OpenGL things crash X in FB7-Stable, nVidia Card

2008-09-28 Thread Kemian Dang

Daniel Bye wrote:

On Fri, Sep 26, 2008 at 11:14:05PM +0100, Kemian Dang wrote:

Daniel Bye wrote:

On Fri, Sep 26, 2008 at 04:58:10PM +0100, Kemian Dang wrote:

Hi all,

I have a FreeBSD 7 Stable box with a nVidia 6150 Go Graphic Card.
Everything was OK sometime before, but after a series updated on ports, 
( I am not sure about the time, I have not use OpenGL stuff for long 
time) running a program with OpenGL will cause the X crashed.

[ -- snip -- ]


The last crash is when I choose a OpenGL screensaver.

The ports is updated nearly daily, and I think this may happen after 
sometime after I updated the latest nVidia-driver.


Any ideas about this problem?

Try reinstalling the nVidia driver port. It installs its own GL libs,
which may have been replaced by another port, depending on the order in
which your ports were updated. Reinstalling should ensure you have the
correct libs in the correct place...

Dan


Thanks for reply Daniel.

I have re-installed the nvidia-driver and tested OpenGL - Crash again.
So it seems not the case...


Rats! Sorry that didn't help.

One other thing occurs to me - you mentioned you updated some ports. Have
you also updated your system source tree without doing a full buildworld
cycle? If so, chances are that your nVidia driver is built against a 
different version of the kernel source than the running kernel. Although
any differences will be minimal, there is a chance that something changed 
enough to upset the driver.


Failing that, all I can suggest is that you keep an eye on your console
and see if the driver emits any messages just before it chokes.

Good luck!

Dan



I csuped and re-built the world before sending the question.
And there is nothing in the console...

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


Re: Another No disks found during Install

2008-09-28 Thread Bernard Lecuire


sergio lenzi a écrit :

Em Qui, 2008-08-14 às 23:29 +0200, Bernard Lecuire escreveu:

Hello,
I have a problem with the installation.
I choose country, keyboard and then I can not continue installation,
because it says No disks found! Please verify that your disk controller is 
being...

Hardware: Acer Aspire M1641,Intel Pentium Dual Core E2180, nVidia GeForce 7050, sata-500 


Here is what i get during boot sequence:

(...cut...)
hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 10:34:18)
(...cut...)
atapci0: nVidia nForce MCP73 UDMA133 controller port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 8.0 on pci0
ata0: ATA channel 0 on atapci0
ata0: [ITHREAD]
ata1: ATA channel 1 on atapci0
ata1: [ITHREAD]
(...cut...)

I tried to install without success FreeBSD 7.0, 8.0, OpenBSD, NetBSD, and 4-5 
Linux distros.
Anyone an idea?
Bernard



In my country (Brazil) you could go to the shop
before 7 days passed after you bought this *%$$@  and
change for a TRUE notebook   HP, Asus, toshiba, LG..  with no 
questions asked...


I think that ACER makes their hardware to work only for windows vista
and works very bad indeed...
please stay away from those #%###
I do not see any good thing in ACER.
1) they do not care about customers,
2) the main board is stripped down to a minimum
3) the bios is unique  totally out of any convension and
always buggy
4) the battery has fewer cells...
5) the wireless is poor...

Only the price is good... but compare it with a good notebook,
you will see that those 200 dollars less that you pay for an acer
is TOO expensive... 
Even using windows,  you will spend that more by the time you

will need an  anti-virus + an office pack...

In 6 more months, acer will drop down that line and you will
not find any replacement part of it... Like many things done
in asia, it is only a toy
Want a good notebook??? buy an apple book... in an apple
store you can buy a good one for about 1200 dollars
13 inches, dual core, 1gb of memory 120gb of disk
everything works... even Leopard



Sergio


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


Good diagnosis. I changed the motherboard (to Asus), and now it works!
Bye
Bernard
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Mouse not working

2008-09-28 Thread zill

Moused recognizes my mouse and the Xorg -configure test also recognizes my
mouse, but when I run startx it does not recognize my mouse.

I have a Microsoft wireless optical mouse that plugs into a USB port.

Does anyone know how to work around this?
-- 
View this message in context: 
http://www.nabble.com/Mouse-not-working-tp19715853p19715853.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: OpenGL things crash X in FB7-Stable, nVidia Card

2008-09-28 Thread Kemian Dang

Daniel Molina Wegener wrote:

On Sunday 28 September 2008 09:29:55 Daniel Bye wrote:

On Fri, Sep 26, 2008 at 11:14:05PM +0100, Kemian Dang wrote:

Daniel Bye wrote:
On Fri, Sep 26, 2008 at 04:58:10PM +0100, Kemian Dang 

wrote:

Hi all,

I have a FreeBSD 7 Stable box with a nVidia 6150 Go
Graphic Card. Everything was OK sometime before, but
after a series updated on ports, ( I am not sure about
the time, I have not use OpenGL stuff for long time)
running a program with OpenGL will cause the X crashed.

[ -- snip -- ]


The last crash is when I choose a OpenGL screensaver.

The ports is updated nearly daily, and I think this may
happen after sometime after I updated the latest
nVidia-driver.

Any ideas about this problem?

Try reinstalling the nVidia driver port. It installs its
own GL libs, which may have been replaced by another
port, depending on the order in which your ports were
updated. Reinstalling should ensure you have the correct
libs in the correct place...

Dan

Thanks for reply Daniel.

I have re-installed the nvidia-driver and tested OpenGL -
Crash again. So it seems not the case...

Rats! Sorry that didn't help.

One other thing occurs to me - you mentioned you updated some
ports. Have you also updated your system source tree without
doing a full buildworld cycle? If so, chances are that your
nVidia driver is built against a different version of the
kernel source than the running kernel. Although any
differences will be minimal, there is a chance that something
changed enough to upset the driver.


  I was having similar problems with the nvidia driver on my
6.4-PRERELEASE machine.

  The solution was to remove agp and drm related drivers from
the kernel configuration and setting:

hw.nvidia.registry.EnableAGPFW=1
hw.nvidia.registry.EnableAGPSBA=1

  In my sysctl.conf, and also setting:

Option NvAGP 3

  In my xorg.conf in the Screen section...

  The concrete problem -- not related with GL failures -- was
system freezing with /sysctl -a/ command on terminal emulators 
from X server.


  I hope it would help.


Failing that, all I can suggest is that you keep an eye on
your console and see if the driver emits any messages just
before it chokes.

Good luck!

Dan



Best regards,


Does not work.
I have removed the agp in kernel(there is no drm in my kernel), set the
sysctl.conf and the xorg.conf. Recompiled and restarted my laptop.
Xorg still crashed when I selecting the OpenGL Screen Saver.

I can use sysctl -a, here is the result:

11:05pm kemian ~ sysctl -a |grep nvidia
hw.nvidia.version: NVIDIA UNIX x86 Kernel Module  173.14.12  Thu Jul 17 
18:06:02 PDT 2008
hw.nvidia.registry.EnableVia4x: 0 

hw.nvidia.registry.EnableALiAGP: 0 


hw.nvidia.registry.NvAGP: 1
hw.nvidia.registry.ReqAGPRate: 15
hw.nvidia.registry.EnableAGPSBA: 1
hw.nvidia.registry.EnableAGPFW: 1
hw.nvidia.registry.Mobile: 4294967295
hw.nvidia.registry.ResmanDebugLevel: 4294967295
hw.nvidia.registry.RmLogonRC: 1
hw.nvidia.registry.ModifyDeviceFiles: 1
hw.nvidia.registry.DeviceFileUID: 0
hw.nvidia.registry.DeviceFileGID: 0
hw.nvidia.registry.DeviceFileMode: 438
hw.nvidia.registry.RemapLimit: 0
hw.nvidia.registry.UpdateMemoryTypes: 4294967295
hw.nvidia.registry.UseVBios: 1
hw.nvidia.registry.RMEdgeIntrCheck: 1
hw.nvidia.registry.UsePageAttributeTable: 4294967295
hw.nvidia.registry.dwords:
hw.nvidia.cards.0.model: GeForce Go 6150
hw.nvidia.cards.0.irq: 21
hw.nvidia.cards.0.vbios: 05.51.28.52.25
hw.nvidia.cards.0.type: PCI
dev.nvidia.0.%desc: GeForce Go 6150
dev.nvidia.0.%driver: nvidia
dev.nvidia.0.%parent: vgapci0

BTW, I have tried games/apoolGL, crashed as it started.

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


Re: Mouse not working

2008-09-28 Thread Roland Smith
On Sun, Sep 28, 2008 at 02:49:04PM -0700, zill wrote:
 
 Moused recognizes my mouse and the Xorg -configure test also recognizes my
 mouse, but when I run startx it does not recognize my mouse.
 
 I have a Microsoft wireless optical mouse that plugs into a USB port.
 
 Does anyone know how to work around this?

Disable moused, or use /dev/sysmouse as the mouse device in X11.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpuN77pxge9J.pgp
Description: PGP signature


Re: Another No disks found during Install

2008-09-28 Thread matt donovan
On Sun, Sep 28, 2008 at 4:17 PM, Bernard Lecuire [EMAIL PROTECTED] wrote:


 sergio lenzi a écrit :

 Em Qui, 2008-08-14 às 23:29 +0200, Bernard Lecuire escreveu:

 Hello,
 I have a problem with the installation.
 I choose country, keyboard and then I can not continue installation,
 because it says No disks found! Please verify that your disk controller
 is being...

 Hardware: Acer Aspire M1641,Intel Pentium Dual Core E2180, nVidia GeForce
 7050, sata-500
 Here is what i get during boot sequence:

 (...cut...)
 hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 10:34:18)
 (...cut...)
 atapci0: nVidia nForce MCP73 UDMA133 controller port
 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 8.0 on pci0
 ata0: ATA channel 0 on atapci0
 ata0: [ITHREAD]
 ata1: ATA channel 1 on atapci0
 ata1: [ITHREAD]
 (...cut...)

 I tried to install without success FreeBSD 7.0, 8.0, OpenBSD, NetBSD, and
 4-5 Linux distros.
 Anyone an idea?
 Bernard



 In my country (Brazil) you could go to the shop
 before 7 days passed after you bought this *%$$@  and
 change for a TRUE notebook   HP, Asus, toshiba, LG..  with no
 questions asked...

 I think that ACER makes their hardware to work only for windows vista
 and works very bad indeed...
 please stay away from those #%###
 I do not see any good thing in ACER.
 1) they do not care about customers,
 2) the main board is stripped down to a minimum
 3) the bios is unique  totally out of any convension and
always buggy
 4) the battery has fewer cells...
 5) the wireless is poor...

 Only the price is good... but compare it with a good notebook,
 you will see that those 200 dollars less that you pay for an acer
 is TOO expensive... Even using windows,  you will spend that more by the
 time you
 will need an  anti-virus + an office pack...

 In 6 more months, acer will drop down that line and you will
 not find any replacement part of it... Like many things done
 in asia, it is only a toy
 Want a good notebook??? buy an apple book... in an apple
 store you can buy a good one for about 1200 dollars
 13 inches, dual core, 1gb of memory 120gb of disk
 everything works... even Leopard



 Sergio

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


 Good diagnosis. I changed the motherboard (to Asus), and now it works!
 Bye
 Bernard
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]


Well some nForce boards FreeBSD doesn't like so that is why the error came
up
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]