Using syslog ( was Re: (no subject) )

2007-05-30 Thread Norberto Meijome
On Tue, 29 May 2007 16:44:27 +0200
grace Ingabire [EMAIL PROTECTED] wrote:

Hi Grace, 
please use an appropiate subject when sending to the list.

 I have installed and configured  freeBSD 6.1  and have seen the
 configuration of the syslog in /usr/src/libexec/bootpd.

hmm.. why are you using that file? 

/etc/syslog.conf is the file syslog will read.

 
 I would like to monitor my system using SYSLOG.

syslog is installed and runs by default, using /etc/syslog.conf as its
configuration file. Is there anything in particular you want to do with this?

B

_
{Beto|Norberto|Numard} Meijome

I've dirtied my hands writing poetry, for the sake of seduction; that is, for
the sake of a useful cause. Dostoevsky

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Nvidia doesn't start on cryptic errors

2007-05-30 Thread Vittorio De Martino
Il Tuesday 29 May 2007 20:11:00 [EMAIL PROTECTED] ha scritto:

 What nVidia driver are you trying to install and does your laptop have an
I'm installing the latest snapshot of the port /usr/ports/x11/nvidia-driver 
and on my new laptop there is a label saying graphics by NVIDIA GeForce Go 
7400

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


LoMAC module: cannot get clearance level revoked

2007-05-30 Thread Kirill Bolshakov

Hello Almighty All,

I am sorry for the possible cross-posting.

I am trying to get the LoMAC module revoke user's privileges. In my test
setup, the user with a higher clearance tries to open a lower clearance file
for reading. After that the process label of the user's process is checked.
As a final test, the user's process tries to write to a file with the higher
integrity label. And he succeeds.

Please find my test setup including the test program below. I will be
grateful for any advice you may have. I am using FreeBSD 6.1. All MAC stuff
enabled, the corresponding module loaded, and other models evaluated (Biba,
MLS, combo).

Thanks,
Kirill

=== TEST PROGRAM ===
#include stdlib.h
#include stdio.h
#include sys/types.h
#include sys/mac.h


void printfilelabel(const char * fname) {
 mac_t filelabel;
 char *buf;
 if ( 0 != mac_prepare_file_label( filelabel ) ) {
   fprintf( stderr, printfilelabel(%s): failed to prepare label\n, fname
);
   exit( -1 );
 }
 if ( 0 != mac_get_file( fname, filelabel ) ) {
   fprintf( stderr, printfilelabel(%s): failed to get label\n, fname );
   exit( -1 );
 }
 if ( 0 != mac_to_text( filelabel, buf ) ) {
   fprintf( stderr, printfilelabel(%s): failed to convert label\n, fname
);
   exit( -1 );
 }
 printf( \tfilelabel(%s) is %s\n, fname, buf );
 free( buf );
 mac_free( filelabel );
}
void printmylabel() {
 mac_t mylabel;
 char *buf;
 if ( 0 != mac_prepare_process_label( mylabel ) ) {
   fprintf( stderr, printmylabel: failed to prepare label );
   exit( -1 );
 }
 if ( 0 != mac_get_proc( mylabel ) ) {
   fprintf( stderr, printmylabel: failed to get label );
   exit( -1 );
 }
 if ( 0 != mac_to_text( mylabel, buf ) ) {
   fprintf( stderr, printmylabel: failed to convert label );
   exit( -1 );
 }
 printf( \tMy label is %s\n, buf );
 free( buf );
 mac_free( mylabel );
}

int main(int argc, char **argv) {
 if ( argc != 3 ) return -1;
 printmylabel();
 printfilelabel( argv[1] );
 printf( Try to open %s for reading...\n, argv[1]);
 FILE * f = fopen( argv[1], r );
 if ( f ) {
   /*printf( Boo! read by lomac/high!\n );*/
   printf(Open for reading succeeded for %s\n, argv[1] );
   printmylabel();
   printfilelabel( argv[1] );
   fclose(f);
   f = NULL;
   printmylabel();
   printfilelabel( argv[2] );
   printf( Try to open %s for writing\n, argv[2] );
   f = fopen(argv[2],w);
   if ( f ){
  printmylabel();
  printf( Succeeded in opening %s for writing\n, argv[2] );
  printfilelabel( argv[2] );
  fclose( f );

  printfilelabel( argv[2] );
  printmylabel();
   }
   else {
 printf( Unable to open %s for writing!\n, argv[2] );
   }
 }
 else {
   printf( Unable to open %s for reading!\n, argv[1] );
 }
}
=== END OF TEST PROGRAM ===
=== TWO TEST FILES ===
The program was run like this:

./lomactest testlow test

and the files had these labels:

testlow: lomac/low
test: lomac/high

=== END OF TWO TEST FILES ===
=== LOGIN CLASS ===
lmsecure:\
   :copyright=/etc/COPYRIGHT:\
   :welcome=/etc/motd:\
   :setenv=MAIL=/var/mail/$,BLOCKSIZE=K:\

:path=~/bin:/sbin:/bin:/usr/sbin:/user/bin:/usr/local/sbin:usr/local/bin:\
   :manpath=/usr/share/man /usr/local/man:\
   :nologin=/usr/sbin/nologin:\
   :cputime=1h30m:\
   :datasize=8M:\
   :vmemoryuse=100M:\
   :stacksize=2M:\
   :memorylocked=4M:\
   :memoryuse=8M:\
   :filesize=8M:\
   :coredumpsize=8M:\
   :openfiles=24:\
   :maxproc=32:\
   :priority=0:\
   :requirehome:\
   :passwordtime=91d:\
   :umask=022:\
   :ignoretime@:\
   :label=lomac/high(high-high):

=== END OF LOGIN CLASS
=== PROGRAM RUN RESULT
   My label is lomac/high(high-high)
   filelabel(testlow) is lomac/low
Try to open testlow for reading...
Open for reading succeeded for testlow
   My label is lomac/high(high-high)
   filelabel(testlow) is lomac/low
   My label is lomac/high(high-high)
   filelabel(test) is lomac/high
Try to open test for writing
   My label is lomac/high(high-high)
Succeeded in open test for writing
   filelabel(test) is lomac/high
   filelabel(test) is lomac/high
   My label is lomac/high(high-high)

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


Re: FreeBSD 6.2-REL burncd

2007-05-30 Thread Matthias Apitz
El día Tuesday, May 29, 2007 a las 05:17:16PM -0400, Christopher Hilton 
escribió:

 Matthias Apitz wrote:
 
 [ snip ]
 
 
 In 6.2-REL I now get the error:
 
 # burncd -f /dev/acd0 -s max data cdimage.raw fixate
 next writeable LBA 0
 
 This was discussed here a month or two or three ago. I believe that the 
 problem was not with burncd but with the ide cd driver. I believe that 
 it's return values and timings changed thus breaking burncd. A scan of 
 the list archives in Google should show the earlier thread.
 
 -- Chris

This (asking Don Google) is what I do always before posting; there is
a lot of noise about that and a lot of bug reports in the database,
for example this one:

http://www.freebsd.org/cgi/query-pr.cgi?pr=95344

but I don't see any solution; of course I could use 'cdrecord'
but 'burncd' is much nicer/easier to use

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC PICA GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e [EMAIL PROTECTED] - w http://www.oclcpica.org/ http://guru.UnixArea.de/
b http://gurucubano.blogspot.com/
OCLC PICA GmbH, Geschaeftsfuehrer: Christine Magin-Weeger, Norbert Weinberger
Sitz der Gesellschaft: Oberhaching, HRB Muenchen: 113261
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


631xESB/632xESB I/O and RAID controller

2007-05-30 Thread Tátrai_József
Hi,

I'm Joseph, from Hungary. I would like to use an Intel S5000PSL
motherboard with 4 250GB SATA HDDs with RAID10. My problem is that the
RAID array isn't recognized during the boot process (ie: no ar0 device
appears, only da4,6,8,10) by FreeBSD, neither 6.2-RELEASE, nor -STABLE and
-CURRENT.

My question is that is there any patch or something (ie: planned to
include in a future relase) to solve this problem, or I did something
wrong?

Any help about this topic is appreciated.

Thanks,
Joseph

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


Re: connecting user root with ssh

2007-05-30 Thread perryh
  you are warned, do not allow SSH to your box with user root at all.
 ...
 Having root logon enabled remotely is just asking for trouble.

The O.P. might be interested in knowing *why* allowing remote root
login is considered unwise:

* The name root is very well known.

* If root can log in remotely, a cracker need only guess root's
  password to obtain root access.

* If root cannot log in remotely, a cracker has to guess three
  things to obtain root access, instead of just one:

  + A valid username which is in the wheel group;
  + That user's password;
  + The root password.

This at least doubles the difficulty of a brute-force attack:
even if a suitable username were obvious, there would still be
two passwords to be cracked.  It can be made even tougher by
having only one username (other than root) in the wheel group,
choosing that name as if it were a password, and not allowing
it to be externally known (e.g. never using it for mail).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: syslog to monitor devices

2007-05-30 Thread Norberto Meijome
On Wed, 30 May 2007 10:22:09 +0200
grace Ingabire [EMAIL PROTECTED] wrote:

 Thanks for your quick reply.
np

 Yes, I have seen that file in etc/syslog.conf.
 I want to monitor some of my devices, to know exactly who has log in, who is
 doing what on my system...

It depends a lot on what the server is used for. Is it a file server, a web
server? do you offer shell accounts? FTP? email (SMTP / Pop3 / Imap/ Webmail? )
your own web-based service? CVS? SVN? etc,etc,etc - they all provide for user
logging in. And you may also have access to your server from other parties
without the need for them to log in - you may have to monitor those too.


- you can install the Audit framework . and MAC control if you feel it's
necessary (check the handbook for LOTS of info ) :
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/

- you can google for Monitoring users activity freebsd and you'll see several
resources on different things relating to this. 

- Each different service you provides (well, they should and they usually do)
with login information - maybe not by default - you may have to enable logging
and increase the verbosity.

 Can you advise me a script or any tool to examine the log files as I want to
 consider this machine as a server?

the command 'last' will show you logins ( man last):

[EMAIL PROTECTED] [Wed May 30 19:29:04 2007]
~
$ last
reboot   ~ Wed May 30 14:14
betomttyp0:0.0 Wed May 30 14:14 - crash  (00:00)
betomttyp0:0.0 Wed May 30 14:14 - 14:14  (00:00)
betom:0Wed May 30 14:13 - crash  (00:00)
shutdown ~ Wed May 30 14:12
betomttyp3:0.0 Wed May 30 09:44 - 13:08  (03:23)
betomttyp3:0.0 Wed May 30 09:44 - 09:44  (00:00)
betomttyp0:0.0 Wed May 30 09:36 - shutdown  (04:35)
betomttyp0:0.0 Wed May 30 09:36 - 09:36  (00:00)


( yes, there is no specific  *answer* in this email , because the ground to
cover is too vast (unless you want to hire me :D ). the more specific the
question, the more accurate the answer...so, start by asking, what *specific*
problem are you trying to solve?

:)
B
_
{Beto|Norberto|Numard} Meijome

Religion is what the common people see als true, the wise see as false, and
the rulers see as useful. Seneca

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Java on the BSD Desktop?

2007-05-30 Thread n j

I guess if everyone here on this list gives his/her two cents to this
topic we're having a nice java advocacy flame war. ;-)


The main characteristic of a flame war is to disparage other people's
arguments while maintaining that your arguments are the best, no?
That's why I'm not going to try and talk anyone out of their poison
:-), be it C, Python, Perl or C#/Mono.

Rather, I would like to continue a constructive discussion by speaking
from a personal experience. I apologize in advance if this is OT even
though it is FreeBSD-related and this list does see a lot of
shell/perl/... questions, so I don't see why a Java question should be
illegitimate.

First off, in my company we had a Java app (simple app, working with
database and e-mails) written for Windows. And then, there came
company decision to make Linux the default desktop solution. Java app
worked like a charm with no changes whatsoever.

Second, I'm running a custom-written Java server app on a FreeBSD
server for over half a year in production plus many months before that
in development. It works rock solid on Diablo JDK. Of course, we also
have a GUI desktop app that connects to this server that works on both
Windows and Ubuntu.

I completely agree that Sun's licence is a hassle. Fortunately, in a
year or two, we're going to have an open source Java platform meaning
there will be no hassle with manual download while installing JRE/JDK.
Combined with the great API, object-oriented nature of the language,
free IDE for serious development (Eclipse and specifically Netbeans
with a very capable Swing GUI visual editor) - this combination
strikes me as something only Microsoft can compete with.

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


Dual boot.

2007-05-30 Thread Paul Halliday

I just installed 6.2 on a 90GB drive. During the installation I
created the usual partitions and left 50GB untouched. I then rebooted
ran partition magic to put a DOS FS on the remainder then ghosted XP
pro onto it.

What is the process now to dual boot this? I have tried booting then:

sysinstall - configure - fdisk

then install the bootmanager but when I try to write out the changes
it errors and says:

ERROR: Unable to write data to disk ad0!

Do I need to start over or can I fix this?

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


Re: Dual boot.

2007-05-30 Thread Ivan Voras

Paul Halliday wrote:

I just installed 6.2 on a 90GB drive. During the installation I
created the usual partitions and left 50GB untouched. I then rebooted
ran partition magic to put a DOS FS on the remainder then ghosted XP
pro onto it.



Do I need to start over or can I fix this?


It's usually much better to install Windows first, as it's fussier about 
where it's installed and records that information all over itself. 
FreeBSD is more adaptable so install it after Windows. In your setup, 
even if you do get Windows to boot (which should be only a matter of 
chain-loading the boot sector on the Windows partition; FreeBSD's boot0 
should show allow you this), it will be very confused about where it's 
C: drive is.




signature.asc
Description: OpenPGP digital signature


SPAM filtering Agent

2007-05-30 Thread DeadMan Xia ....

Hi everybody,

hope every1 doing fine well i m using QMAIL for email services. I have also
installed SPAM ASSASINS while installing Qmail. Now i m getting too much
SPAM in every mailbox of my domain.

Kindly help me out and tell me what shld i do. which spam filter is should
use and how to configure and install that filter.

Regards.

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


RE: syslog to monitor devices

2007-05-30 Thread grace Ingabire
Thanks for your quick reply.
Yes, I have seen that file in etc/syslog.conf.
I want to monitor some of my devices, to know exactly who has log in, who is
doing what on my system...
Can you advise me a script or any tool to examine the log files as I want to
consider this machine as a server?

Thanks

-Original Message-
From: Norberto Meijome [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 30, 2007 8:15 AM
To: grace Ingabire
Cc: [EMAIL PROTECTED]
Subject: Using syslog ( was Re: (no subject) )

On Tue, 29 May 2007 16:44:27 +0200
grace Ingabire [EMAIL PROTECTED] wrote:

Hi Grace, 
please use an appropiate subject when sending to the list.

 I have installed and configured  freeBSD 6.1  and have seen the
 configuration of the syslog in /usr/src/libexec/bootpd.

hmm.. why are you using that file? 

/etc/syslog.conf is the file syslog will read.

 
 I would like to monitor my system using SYSLOG.

syslog is installed and runs by default, using /etc/syslog.conf as its
configuration file. Is there anything in particular you want to do with
this?

B

_
{Beto|Norberto|Numard} Meijome

I've dirtied my hands writing poetry, for the sake of seduction; that is,
for
the sake of a useful cause. Dostoevsky

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.


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


doubts regarding the kernel programs

2007-05-30 Thread Dhananjaya hiremath
Hello sir,
  Here we got the kernel source code and we want to modify the code so 
that we can print a some debug message.If we do this change where we will see 
this modification if we compile this again or is there any mothod to see 
weather modified method is correct or not.
   
   
  Thank U and 
  Dhananjaya Hiremath

   
-
Boardwalk for $500? In 2007? Ha! 
Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cant get the damn bandwidth limiter working

2007-05-30 Thread deeptech71

RW wrote:

On Sat, 26 May 2007 16:52:56 +0200
[EMAIL PROTECTED] wrote:


pf and altq are enabled. My ISP allows 16kB/s upload and 128kB/s
download. I want to use half of that. What should pf.conf contain, to
limit my computer's upload and download speeds? I've tried:

altq sk0 cbq bandwidth 1576Kb queue { lan, upload, download }
queue lan bandwidth 1000Kb cbq(default)
queue upload bandwidth 64Kb cbq
queue download bandwidth 512Kb cbq
block in all
pass in quick on sk0 from 192.168.0.0/16 queue lan
pass in all on sk0 queue download
block out all
pass out quick on sk0 to 192.168.0.0/16 queue lan
pass out all on sk0 queue upload



AFAIK ALTQ only queues outgoing traffic, and 

   pass in quick on sk0 from 192.168.0.0/16 queue lan 


means: send the packet to the lan queue if it's routed out via the
interface to which queue lan is attached, i.e. back out via sk0 -
which isn't going to happen. 


That would explain. So is there any way to limit the speed at which i'm 
downloading? Come on I've seen a bunch of software like this for Windows on the net!

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


Re: cant get the damn bandwidth limiter working

2007-05-30 Thread magikman

[EMAIL PROTECTED] wrote:

RW wrote:

On Sat, 26 May 2007 16:52:56 +0200
[EMAIL PROTECTED] wrote:


pf and altq are enabled. My ISP allows 16kB/s upload and 128kB/s
download. I want to use half of that. What should pf.conf contain, to
limit my computer's upload and download speeds? I've tried:

altq sk0 cbq bandwidth 1576Kb queue { lan, upload, download }
queue lan bandwidth 1000Kb cbq(default)
queue upload bandwidth 64Kb cbq
queue download bandwidth 512Kb cbq
block in all
pass in quick on sk0 from 192.168.0.0/16 queue lan
pass in all on sk0 queue download
block out all
pass out quick on sk0 to 192.168.0.0/16 queue lan
pass out all on sk0 queue upload



AFAIK ALTQ only queues outgoing traffic, and
   pass in quick on sk0 from 192.168.0.0/16 queue lan
means: send the packet to the lan queue if it's routed out via the
interface to which queue lan is attached, i.e. back out via sk0 -
which isn't going to happen. 


That would explain. So is there any way to limit the speed at which 
i'm downloading? Come on I've seen a bunch of software like this for 
Windows on the net!

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
IPFW and dummynet will allow this. I came up with this from a short 
google search:

http://www.askbjoernhansen.com/2004/09/22/mini_tutorial_f.html

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


Re: Panic With Large Network Copy

2007-05-30 Thread Scott Willson


On May 29, 2007, at 4:26 PM, Kris Kennaway wrote:


On Tue, May 29, 2007 at 03:36:49PM -0700, Scott Willson wrote:

I am seeing hard (often no core dump) crashes on a new AMD64 box
running 6.2 RELEASE. When I try to rsync 10+ GB of backup files to
the new box, I can reliably crash it after about 20 minutes; often
quicker if I do something else intensive at the same time, like
compile MySQL. Here are the box specs:
ASUS M2NPV-VM motherboard
AMD A64 3800+ 2.4G CPU
2 x 1 GB SuperTalent DDR2 667 RAM
2 x 500G Samsung SATA2 drives
MATSHITADVD-ROM SR-8585 DVD drive (ancient)

Most times, I don't even get a core dump. Here's one I did get:
panic: double fault
Uptime: 20m26s
Dumping 2014 MB (2 chunks)
  chunk 0: 1MB (159 pages) ... ok
  chunk 1: 2014MB (515552 pages) 1998 1982 1966 1950 1934 1918 1902
1886 1870 1854 1838 1822 1806 1790 1774 1758 1742 1726 1710 1694 1678
1662 1646 1630 1614 1598 1582 1566 1550 1534 1518 1502 1486 1470 1454
1438 1422 1406 1390 1374 1358 1342 1326 1310 1294 1278 1262 1246 1230
1214 1198 1182 1166 1150 1134 1118 1102 1086 1070 1054 1038 1022 1006
990 974 958 942 926 910 894 878 862 846 830 814 798 782 766 750 734
718 702 686 670 654 638 622 606 590 574 558 542 526 510 494 478 462
446 430 414 398 382 366 350 334 318 302 286 270 254 238 222 206 190
174 158 142 126 110 94 78 62 46 30 14

#0  doadump () at pcpu.h:172
172 __asm __volatile(movq %%gs:0,%0 : =r (td));
(kgdb) backtrace
#0  doadump () at pcpu.h:172
#1  0x0004 in ?? ()
#2  0x803f6093 in boot (howto=260) at /usr/src/sys/kern/
kern_shutdown.c:409
#3  0x803f6696 in panic (fmt=0xff0079a08be0 X??y) at /
usr/src/sys/kern/kern_shutdown.c:565
#4  0x80610e70 in dblfault_handler () at /usr/src/sys/amd64/
amd64/trap.c:680
#5  0x805fe2f2 in Xdblfault () at /usr/src/sys/amd64/amd64/
exception.S:192
#6  0x80439844 in m_tag_delete_chain (m=0x0, t=0x0) at /usr/
src/sys/kern/uipc_mbuf2.c:346
#7  0x803eac0d in mb_dtor_mbuf (mem=0x0, size=0, arg=0x0)  
at /

usr/src/sys/kern/kern_mbuf.c:338
#8  0x80592a24 in uma_zfree_arg (zone=0x0, item=0x0,
udata=0x0) at /usr/src/sys/vm/uma_core.c:2270
#9  0x804371f0 in m_freem (mb=0x0) at uma.h:303
#10 0x80634125 in nve_ospackettx (ctx=0xff00798aac00,
id=0xb19ea6d0, success=0) at /usr/src/sys/dev/nve/if_nve.c: 
1551


This looks like a nve driver bug to me.  You may wish to try the  
nfe driver.


Kris


Thanks for the suggestion, Kris.

I compiled a new kernel without nve, compiled nfe-20070512.tar.gz  
with the e1000phy.patch, and I enabled device polling:

e1000phy0: Marvell 88E1116 Gigabit PHY on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,  
1000baseTX-FDX, auto

nfe0: Ethernet address: 00:1a:92:cb:b2:eb
nfe0: [FAST]

No more panics, but I see a lot of error messages under load:
May 29 20:25:17 brooklyn kernel: nfe0: tx v2 error 0x6204UNDERFLOW
May 29 20:28:15 brooklyn kernel: nfe0: watchdog timeout (missed Tx  
interrupts) -- recovering


The only odd thing about my current setup is that the server is  
sharing a old hub with other old hardware, and it looks like I've  
just got 10baseT:

ifconfig nfe0
nfe0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=8VLAN_MTU
inet 192.168.1.154 netmask 0xff00 broadcast 192.168.1.255
ether 00:1a:92:cb:b2:eb
media: Ethernet autoselect (10baseT/UTP half-duplex)
status: active

For now, I've installed an old spare Ethernet card, and I see no  
errors, so I'm going to roll with that for now. I'm also going to  
followup with the nfe driver's maintainer in case he's interested.


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


freebsd-update and kernel

2007-05-30 Thread lalev
Greetings,

I did binary update with freebsd-update from RELENG6_2p2 to p5 and now
uname -a shows:

FreeBSD mail.uni-svishtov.bg 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu
Apr 26 17:55:55 UTC 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386

Is that normal ?
My original kernel was indeed SMP, built from source 6.2-RELEASE-p2.


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


Re: PS is not showing all processes owned by a user

2007-05-30 Thread Ofloo


Paul Fraser-3 wrote:
 
 You su'd to this account, so a new process was spawned under that UID.
 ps works as intended.
 
 Sorry for the top-post, doing the early morning commute again and this
 mail client on my Nokia is rather stubborn on where I put a reply.
 
 Cheers,
 
 Paul.
 
 On 5/30/07, Ofloo [EMAIL PROTECTED] wrote:

 Can someone explain me this !?

 spark# ps aux | grep psybnc | grep s00p
 s00p8777  0.0  0.3 43096  5716  p1- SFri06PM   4:30.25
 ./psybnc

 spark# su s00p
 -([EMAIL PROTECTED])-(19:56:45)

 -(~/)- ps aux
 USER   PID %CPU %MEM   VSZ   RSS  TT  STAT STARTED  TIME COMMAND
 s00p 67431  4.0  0.1  4660  2828  pd  S 7:56PM   0:00.05 _su (tcsh)
 s00p 67438  0.0  0.0  1420   908  pd  R+7:56PM   0:00.00 ps aux

 --
 View this message in context:
 http://www.nabble.com/PS-is-not-showing-all-processes-owned-by-a-user-tf3835565.html#a10859328
 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]

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

This came after a complaint from the user, who couldn't kill his process,
because it wasn't visible in his session, and he didn't su !?

Regards, Ofloo
-- 
View this message in context: 
http://www.nabble.com/PS-is-not-showing-all-processes-owned-by-a-user-tf3835565.html#a10875173
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: FreeBSD 6.2-REL burncd

2007-05-30 Thread Jerry McAllister
On Tue, May 29, 2007 at 05:17:16PM -0400, Christopher Hilton wrote:

 Matthias Apitz wrote:
 
 [ snip ]
 
 
 In 6.2-REL I now get the error:
 
 # burncd -f /dev/acd0 -s max data cdimage.raw fixate
 next writeable LBA 0
 
 This was discussed here a month or two or three ago. I believe that the 
 problem was not with burncd but with the ide cd driver. I believe that 
 it's return values and timings changed thus breaking burncd. A scan of 
 the list archives in Google should show the earlier thread.

Yes, I remember that thread and even added to its volume with
experiences of my own.

There were a number of things pointed out about a driver problem
and my comment that I could get it to work if I slowed down the
speed from max.   But, I don't remember that any solution or patch 
or fix was ever suggested.   So, as far as I know, the problem is 
still extant and needs some work and is likely to continue to spark 
questions and comments.

I hope it can be fixed.   I don't know enough about it to fix it.

jerry

 
 -- Chris
 
 -- 
   __o  All I was doing was trying to get home from work.
 _`\,_   -Rosa Parks
 ___(*)/_(*)___
 Christopher Sean Hiltonchris | at | vindaloo.com
 pgp key: D0957A2D/f5 30 0a e1 55 76 9b 1f 47 0b 07 e9 75 0e 14
 ___
 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: syslog to monitor devices

2007-05-30 Thread Jerry McAllister
On Wed, May 30, 2007 at 10:22:09AM +0200, grace Ingabire wrote:

 Thanks for your quick reply.
 Yes, I have seen that file in etc/syslog.conf.
 I want to monitor some of my devices, to know exactly who has log in, who is
 doing what on my system...
 Can you advise me a script or any tool to examine the log files as I want to
 consider this machine as a server?

OK, first I will just note that syslog does not actually do the monitoring.
It is a utility that receives log messages from other programs and
puts them in log files and keeps track of those log files and rotates
them according to schedules you set up, etc.

You do then, need routines that will check the things you are interested
in and if you want to put them in log files, then make those routines
smart enough to post messages to syslog.   I will let others advise you
on specific way of monitoring different parts of the system and searching
log files.

jerry

 
 Thanks
 
 -Original Message-
 From: Norberto Meijome [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, May 30, 2007 8:15 AM
 To: grace Ingabire
 Cc: [EMAIL PROTECTED]
 Subject: Using syslog ( was Re: (no subject) )
 
 On Tue, 29 May 2007 16:44:27 +0200
 grace Ingabire [EMAIL PROTECTED] wrote:
 
 Hi Grace, 
 please use an appropiate subject when sending to the list.
 
  I have installed and configured  freeBSD 6.1  and have seen the
  configuration of the syslog in /usr/src/libexec/bootpd.
 
 hmm.. why are you using that file? 
 
 /etc/syslog.conf is the file syslog will read.
 
  
  I would like to monitor my system using SYSLOG.
 
 syslog is installed and runs by default, using /etc/syslog.conf as its
 configuration file. Is there anything in particular you want to do with
 this?
 
 B
 
 _
 {Beto|Norberto|Numard} Meijome
 
 I've dirtied my hands writing poetry, for the sake of seduction; that is,
 for
 the sake of a useful cause. Dostoevsky
 
 I speak for myself, not my employer. Contents may be hot. Slippery when wet.
 Reading disclaimers makes you go blind. Writing them is worse. You have been
 Warned.
 
 
 ___
 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: cant get the damn bandwidth limiter working

2007-05-30 Thread deeptech71

magikman wrote:

[EMAIL PROTECTED] wrote:

RW wrote:

On Sat, 26 May 2007 16:52:56 +0200
[EMAIL PROTECTED] wrote:


pf and altq are enabled. My ISP allows 16kB/s upload and 128kB/s
download. I want to use half of that. What should pf.conf contain, to
limit my computer's upload and download speeds? I've tried:

altq sk0 cbq bandwidth 1576Kb queue { lan, upload, download }
queue lan bandwidth 1000Kb cbq(default)
queue upload bandwidth 64Kb cbq
queue download bandwidth 512Kb cbq
block in all
pass in quick on sk0 from 192.168.0.0/16 queue lan
pass in all on sk0 queue download
block out all
pass out quick on sk0 to 192.168.0.0/16 queue lan
pass out all on sk0 queue upload



AFAIK ALTQ only queues outgoing traffic, and
   pass in quick on sk0 from 192.168.0.0/16 queue lan
means: send the packet to the lan queue if it's routed out via the
interface to which queue lan is attached, i.e. back out via sk0 -
which isn't going to happen. 


That would explain. So is there any way to limit the speed at which 
i'm downloading? Come on I've seen a bunch of software like this for 
Windows on the net!

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
IPFW and dummynet will allow this. I came up with this from a short 
google search:

http://www.askbjoernhansen.com/2004/09/22/mini_tutorial_f.html

good luck!



Hmm. I've made considerable searches, but only found pf. Guess google's about 
luck, not just knowlegde of search terms :]

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


Re: Dual boot.

2007-05-30 Thread Jerry McAllister
On Wed, May 30, 2007 at 07:17:01AM -0300, Paul Halliday wrote:

 I just installed 6.2 on a 90GB drive. During the installation I
 created the usual partitions and left 50GB untouched. I then rebooted
 ran partition magic to put a DOS FS on the remainder then ghosted XP
 pro onto it.
 
 What is the process now to dual boot this? I have tried booting then:
 
 sysinstall - configure - fdisk
 
 then install the bootmanager but when I try to write out the changes
 it errors and says:
 
 ERROR: Unable to write data to disk ad0!
 
 Do I need to start over or can I fix this?

First of all, I don't know what you mean by the 'usual partitions'.
Usual to what?
Do you really mean a couple of slices - one for MS and one for FreeBSD?

In general, you should install MS first and have it first on the disk.
Then install FreeBSD after that.   

You don't indicate how you are running sysinstall.
You cannot run sysinstall from the disk that you intend to install on to.
The system will not let you reslice or repartition the active disk/slice.
You would need to run it from an install CD or a different disk.

So, My suggestion is:   (since you have partition magic available)
  Use Partition Magic to create three primary partitions (Slices in FreeBSD
  language)
  Make the first on the size you want to use for MS-win and make it NTFS
  Make the second a scratch size - maybe 5 GB and make it FAT-32.
  Make the third the rest of the drive to be used for FreeBSD and
  make it an unknown type, but still a primary partition.  
  PM will whine about having more than one primary partition, but it will
  do it and have no problem.
  Then install MS in the first slice (primary Partition)
  Install FreeBSD in the third slice  ad0s3 or da0s3 (using the install CD)
  and during the installation, tell it to make the slice bootable.  
  There is a selection letter for that.   I think it is 'A', but check 
  on that.   I could be remembering wrong.  Also, tell it to install
  the FreeBSD MBR.  That selection is on a separate screen.
  That second FAT-32 slice can then be mounted as MSDOS type when in
  FreeBSD and be a d: or something like that, drive in MS and then
  you can use it to transfer files back and forth.   You need 
  something like this because although FreeBSD can read NTFS, it
  still cannot write to NTFS.  But, it can handle FAT-32 readwrite
  just fine.  

  Alternatively, you could just make the slice (primary partition) where
  where you install MS to be a FAT-32 and skip the second scratch slice.
  But, I think most people think NTFS is generally better to install on
  than FAT-32.
  
This and thinking through the initial questions I posed, should help
you get going.

jerry

 
 Thanks.
 ___
 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]


Unable to open /nvidiactl

2007-05-30 Thread ml-vic
Dear friends,
I'm still looking for help to solve the problem of my nvidia graphic card. 
nvidia.ko doesn't seem able to create /dev/ndiviactl.

Synthesis 

My system
Intel Centrino Duo T5300 HP Pavillion 6366 notebook 2GB mem
NVIDIA GeForce Go 7400
FreeBSD  6.2-RELEASE-p4  i386
kernel compiled for SMP
Latest snapshot of the ports

1) I installed and compiled the /usr/ports/x11/nvidia-driver with default 
options and  /usr/ports/x11/nvidia-xconfig; because loader.conf was not 
automatically modified I added a nvidia_load=YES to loader.conf and 
rebooted the pc, therefore:

2)  victor$ kldstat
Id Refs Address    Size     Name
 1   36 0xc040 5a1fa0   kernel
 2    1 0xc09a2000 3244     splash_bmp.ko
 3    1 0xc09a6000 5528     vesa.ko
 4    3 0xc0a6c000 1e058    linux.ko
 5    1 0xc0a8b000 435c     acpi_video.ko
 6    3 0xc0a9 61ba0    acpi.ko
 7    1 0xc0af2000 6d4de0   nvidia.ko
 8    2 0xc11c7000 168fc    agp.ko


(agp is not compiled statically in the kernel)

victor$ sysctl -a|grep nvidia
       nvidia    84    37K       -       84  16,32,64,128,256,1024,2048
hw.nvidia.version: NVIDIA UNIX x86 Kernel Module  1.0-9746  Tue Dec 19 
13:20:59 PST 2006
hw.nvidia.registry.EnableVia4x: 0
hw.nvidia.registry.EnableALiAGP: 0
hw.nvidia.registry.NvAGP: 3
hw.nvidia.registry.EnableAGPSBA: 0
hw.nvidia.registry.EnableAGPFW: 0
hw.nvidia.registry.SoftEDIDs: 1
hw.nvidia.registry.Mobile: 4294967295
hw.nvidia.registry.ResmanDebugLevel: 4294967295
hw.nvidia.registry.FlatPanelMode: 0
hw.nvidia.registry.DevicesConnected: 0
hw.nvidia.registry.RmLogonRC: 1
hw.nvidia.registry.DetectPrimaryVga: 1
hw.nvidia.registry.dwords:

3) I generated a basic xorg.conf file running a mere nvidia-xconfig that I 
tailored only tailored for language.

4) startx fails. The system declares 

NVIDIA: could not open the device /dev/nvidiactl 
 
(as a matter of fact there isn't!)

And Xorg.0.log is as follows

X Window System Version 6.9.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 6.9
Build Operating System: FreeBSD 6.2 i386 [ELF] 
Current Operating System: FreeBSD hpbsd.vic 6.2-RELEASE-p4 FreeBSD 
6.2-RELEASE-p4 #0: Mon May 28 11:43:57 UTC 2007     
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/HP01 i386
Build Date: 10 February 2007
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Mon May 28 19:39:50 2007
(==) Using config file: /etc/X11/xorg.conf
(==) ServerLayout Layout0
(**) |--Screen Screen0 (0)
(**) |   |--Monitor Monitor0
(**) |   |--Device Device0
(**) |--Input Device Keyboard0
(**) Option XkbModel pc105
(**) XKB: model: pc105
(**) Option XkbLayout it
(**) XKB: layout: it
(==) Keyboard: CustomKeycode disabled
(**) |--Input Device Mouse0
(**) FontPath set 
to 
/usr/X11R6/lib/X11/fonts/misc,/usr/X11R6/lib/X11/fonts/Type1,/usr/X11R6/lib/X11/fonts/75dpi,/usr/X11R6/lib/X11/fonts/100dpi,/usr/X11R6/lib/X11/fonts/bitstream-vera,/usr/local/share/fonts
(**) RgbPath set to /usr/X11R6/lib/X11/rgb
(**) ModulePath set to /usr/X11R6/lib/modules
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.2
X.Org Video Driver: 0.8
X.Org XInput driver : 0.5
X.Org Server Extension : 0.2
X.Org Font Renderer : 0.4
(II) Loader running on freebsd
(II) LoadModule: bitmap
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.so
(II) Module bitmap: vendor=X.Org Foundation
compiled for 6.9.0, module version = 1.0.0
Module class: X.Org Font Renderer
ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: pcidata
(II) Loading /usr/X11R6/lib/modules/libpcidata.so
(II) Module pcidata: vendor=X.Org Foundation
compiled for 6.9.0, module version = 1.0.0
ABI class: X.Org Video Driver, version 0.8
(--) Using syscons driver with X support (version 2.0)
(--) using VT number 5

(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x, mode1Res1 = 0x8000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,27a0 card 103c,30bb rev 03 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 8086,27a1 card , rev 03 class 06,04,00 hdr 01
(II) PCI: 00:1b:0: chip 8086,27d8 card 103c,30bb rev 02 class 04,03,00 hdr 00
(II) PCI: 00:1c:0: chip 8086,27d0 card , rev 02 class 06,04,00 hdr 81
(II) PCI: 00:1c:1: chip 8086,27d2 card , rev 02 class 06,04,00 hdr 81
(II) PCI: 00:1c:2: chip 8086,27d4 card , rev 02 class 06,04,00 hdr 81
(II) PCI: 00:1d:0: chip 8086,27c8 card 103c,30bb rev 02 class 0c,03,00 hdr 80
(II) PCI: 00:1d:1: chip 8086,27c9 card 

Re: Java on the BSD Desktop?

2007-05-30 Thread Vladimir Tsvetkov

On 30/05/07, Vladimir Tsvetkov [EMAIL PROTECTED] wrote:


When we talk about portability of User Interface applications with rich
interactivity we must also put into disscusion Adobe Flash and Adobe Flex
applications.
Adobe is working on its Apollo platform (huge part of it is open source -
http://www.podtech.net/home/2827/the-architecture-of-flash), which should
bring RIA into the desktop as a front end technology and leave to us the
choice among the diverse flavours of back end technologies.

To my oppinion Java is more suitable for  back end solutions. The level of
interractivity of Java GUI apps is around the standard for the most wide
spread applications, but it is still way to far from being competitive to
the richness in human-computer interaction, that we can design and use with
Flash/Flex apps.

I would like to see a native FreeBSD Flash player.

This is the main reason I'm getting into this disscussion.

There is a Flash player for the Macs and for the Linuxes, we need also a
native Flash player.

Best Regards,
Vladimir Tsvetkov,
http://www.gugga.com/

On 30/05/07, n j  [EMAIL PROTECTED] wrote:

  I guess if everyone here on this list gives his/her two cents to this
  topic we're having a nice java advocacy flame war. ;-)

 The main characteristic of a flame war is to disparage other people's
 arguments while maintaining that your arguments are the best, no?
 That's why I'm not going to try and talk anyone out of their poison
 :-), be it C, Python, Perl or C#/Mono.

 Rather, I would like to continue a constructive discussion by speaking
 from a personal experience. I apologize in advance if this is OT even
 though it is FreeBSD-related and this list does see a lot of
 shell/perl/... questions, so I don't see why a Java question should be
 illegitimate.

 First off, in my company we had a Java app (simple app, working with
 database and e-mails) written for Windows. And then, there came
 company decision to make Linux the default desktop solution. Java app
 worked like a charm with no changes whatsoever.

 Second, I'm running a custom-written Java server app on a FreeBSD
 server for over half a year in production plus many months before that
 in development. It works rock solid on Diablo JDK. Of course, we also
 have a GUI desktop app that connects to this server that works on both
 Windows and Ubuntu.

 I completely agree that Sun's licence is a hassle. Fortunately, in a
 year or two, we're going to have an open source Java platform meaning
 there will be no hassle with manual download while installing JRE/JDK.
 Combined with the great API, object-oriented nature of the language,
 free IDE for serious development (Eclipse and specifically Netbeans
 with a very capable Swing GUI visual editor) - this combination
 strikes me as something only Microsoft can compete with.

 Another .02,
 --
 Nino
 ___
 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: freebsd-update and kernel

2007-05-30 Thread Manolis Kiagias
[EMAIL PROTECTED] wrote:
 Greetings,

 I did binary update with freebsd-update from RELENG6_2p2 to p5 and now
 uname -a shows:

 FreeBSD mail.uni-svishtov.bg 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu
 Apr 26 17:55:55 UTC 2007
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386

 Is that normal ?
 My original kernel was indeed SMP, built from source 6.2-RELEASE-p2.


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

   
Well, after freebsd-update from my p4 system, uname continued showing p4
as well.
I paid no particular attention to that. I however needed to recompile
the kernel myself today to add some options (quotas and the like) and
now it does say p5.

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


Re: freebsd-update and kernel

2007-05-30 Thread Colin Percival
Manolis Kiagias wrote:
 Well, after freebsd-update from my p4 system, uname continued showing p4
 as well.

Yes, this is because the update from 6.2-RELEASE-p4 to 6.2-RELEASE-p5 didn't
modify the kernel.

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


6.2/i386 X/DRI issues

2007-05-30 Thread freebsd
Hi All

Installed FreeBSD i386, Rel 6.2 on a machine thats got an i945 chipset on 
the motherboard, integrated video too. Everything seems to be supported, 
SATA controllers the lot... but no AGP or DRM support?

i have the statements

device  agp
device  drm
device  i915drm

in my kernel conf, after building the new kernel.

dmesg |grep agp
dmesg |grep drm

Returns absolutely nothing

The i945 has been around for a while now.. Whats missing here? the actual 
motherboard has the video card integrated. This motherboard has no AGP 
slot on it, only PCI-E for a video card. I am not sure whether the onboard
integrated graphics is wired into AGP or PCI-E

Would this make a difference? is there any workaround/solution?

And yes, the whole point is to get DRI working in X.

Cheers
Alex


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


Re: 6.2/i386 X/DRI issues

2007-05-30 Thread Reid Linnemann

Written by [EMAIL PROTECTED] on 05/29/07 20:14

Hi All

Installed FreeBSD i386, Rel 6.2 on a machine thats got an i945 chipset on 
the motherboard, integrated video too. Everything seems to be supported, 
SATA controllers the lot... but no AGP or DRM support?


i have the statements

device  agp
device  drm
device  i915drm

in my kernel conf, after building the new kernel.

dmesg |grep agp
dmesg |grep drm

Returns absolutely nothing

The i945 has been around for a while now.. Whats missing here? the actual 
motherboard has the video card integrated. This motherboard has no AGP 
slot on it, only PCI-E for a video card. I am not sure whether the onboard

integrated graphics is wired into AGP or PCI-E

Would this make a difference? is there any workaround/solution?

And yes, the whole point is to get DRI working in X.

Cheers
Alex


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


i945 dri is working in 6-STABLE as of some months ago.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: laser printer - which one?

2007-05-30 Thread Gabor Kovesdan

David Kelly escribió:

On Thu, May 24, 2007 at 07:55:40PM +0200, Gabor Kovesdan wrote:
  

Hello,

might be a bit off here, but I'm sure some of you have experiences with 
laser printers. I would like to buy a (relatively) cheap laser printer 
with the following requirements:


- quality (I mean here, that I want to use it for a long time, thus it 
should be of good quality and be robust)

- has such a toner, *that can be refilled cheaply*
- prints in good quality, speed and noise is not that important
- should work under FreeBSD / Linux, not just under Windows


(Just picking one answer from the bunch.)

Thanks for the help to all of you! I got so many answers, that the 
choose were still difficult. :) Many of you mentioned Samsung printers, 
thus I've chosen Samsung ML-2571N. It was pretty cheap for it's 
features: 400 Mhz CPU, 32MB, USB 2.0, parallel, ethernet, PS3, PCL6. I 
haven't tried it with BSD / Linux, but it prints slow and well under 
Windows.

Thanks again for the help!

Regards,

--
Gabor Kovesdan
FreeBSD Volunteer

EMAIL: [EMAIL PROTECTED] .:|:. [EMAIL PROTECTED]
WEB:   http://people.FreeBSD.org/~gabor .:|:. http://kovesdan.org

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


Re: PS is not showing all processes owned by a user

2007-05-30 Thread Chuck Swiger

Ofloo wrote:

Can someone explain me this !?

spark# ps aux | grep psybnc | grep s00p
s00p8777  0.0  0.3 43096  5716  p1- SFri06PM   4:30.25 ./psybnc

spark# su s00p
-([EMAIL PROTECTED])-(19:56:45)  
-(~/)- ps aux

USER   PID %CPU %MEM   VSZ   RSS  TT  STAT STARTED  TIME COMMAND
s00p 67431  4.0  0.1  4660  2828  pd  S 7:56PM   0:00.05 _su (tcsh)
s00p 67438  0.0  0.0  1420   908  pd  R+7:56PM   0:00.00 ps aux


psybnc is an IRC relay agent; unless someone normally runs such things, having 
one of these processes appear but be invisible to top or normal invocations 
of ps is a possible indication that the system has been hacked.


A typical pattern involves a user having their account password sniffed via 
wireless when reading email or whatever, and the attacker gains shell access 
to their email server (assuming it's a Unix system), and runs this.  It 
includes a generic remote filesharing capability and some kind of port 
redirector ala netcat or SSH port forwarding, so the hacked machine can be 
used as a remote control channel to drive other compromised machines...



This came after a complaint from the user, who couldn't kill his process,
because it wasn't visible in his session, and he didn't su !?


However, I'm not sure whether the above is relevant, if your user was trying 
to run this IRC agent.  :-)


--
-Chuck


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


Re: cant get the damn bandwidth limiter working

2007-05-30 Thread Roland Smith
On Wed, May 30, 2007 at 02:58:50PM +0200, [EMAIL PROTECTED] wrote:
  RW wrote:
  On Sat, 26 May 2007 16:52:56 +0200
  [EMAIL PROTECTED] wrote:
  pf and altq are enabled. My ISP allows 16kB/s upload and 128kB/s
  download. I want to use half of that. What should pf.conf contain, to
  limit my computer's upload and download speeds? I've tried:
 
  altq sk0 cbq bandwidth 1576Kb queue { lan, upload, download }
  queue lan bandwidth 1000Kb cbq(default)
  queue upload bandwidth 64Kb cbq
  queue download bandwidth 512Kb cbq
  block in all
  pass in quick on sk0 from 192.168.0.0/16 queue lan
  pass in all on sk0 queue download
  block out all
  pass out quick on sk0 to 192.168.0.0/16 queue lan
  pass out all on sk0 queue upload
 
  AFAIK ALTQ only queues outgoing traffic, andpass in quick on sk0 from 
  192.168.0.0/16 queue lan means: send the packet to the lan queue if it's 
  routed out via the
  interface to which queue lan is attached, i.e. back out via sk0 -
  which isn't going to happen. 
 
  That would explain. So is there any way to limit the speed at which i'm 
  downloading? Come on I've seen a bunch of software like this for Windows on 
  the net!

According to http://www.openbsd.org/faq/pf/queueing.html it _can_ work
if you have a separate router See the examples.

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)


pgpVT93A7dCpP.pgp
Description: PGP signature


Re: wall-clock time profiling

2007-05-30 Thread Chuck Swiger

Akihiro KAYAMA wrote:

Hi all.

What is the right way to measure wall-clock time in profiling on FreeBSD?


The time shell builtin command or /usr/bin/time -l _program_?

The latter variant displays the rusage struct (ie, from man getrusage)?

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


Re: NFS tuning on FreeBSD

2007-05-30 Thread Christopher Hilton

Devin Heckman wrote:

[snip]


Specifically, I want to know what version of NFS the connection is
running over, whether or not it's using TCP or UDP, and other
information of that nature. I haven't quite found a utility or file that
contains this information yet.


That's a good question. Honestly I've never had to look. If I recall 
your original question properly your server was FreeBSD and your client 
was Linux. In this case the Linux mount command gives you good 
information. From FreeBSD the only way that I have found was to embed 
the options into the fstab file and use the short version of the mount 
command when attaching the filesystem.


For a tcp mount my fstab entry on FreeBSD looks like this:

 server:/directory /mountpoint nfs rw,tcp,intr,noauto 0 0

On my Ubuntu Linux box I have to do this:

 server/directory /mountpoint nfs rw,tcp,nfsvers=3,intr,noauto 0 0

To get the same effect.

For the FreeBSD NFS client the default is to try NFSv3 first followed by 
NFSv2. The documentation on my Ubuntu box indicates that it's Linux 
client defaults to NFSv2 and uses UDP. The behavior that I would expect 
to see from an Ubuntu Linux NFS client with a FreeBSD NFS server would 
be a NFSv2 UDP mount.


Sorry I couldn't give you a better answer. Perhaps someone on the list 
knows a better way.


-- Chris

--
  __o  All I was doing was trying to get home from work.
_`\,_   -Rosa Parks
___(*)/_(*)___
Christopher Sean Hiltonchris | at | vindaloo.com
pgp key: D0957A2D/f5 30 0a e1 55 76 9b 1f 47 0b 07 e9 75 0e 14
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 6.2/i386 X/DRI issues

2007-05-30 Thread Alberto Rizzi
Reid Linnemann ha scritto:
 Written by [EMAIL PROTECTED] on 05/29/07 20:14
 Hi All

 Installed FreeBSD i386, Rel 6.2 on a machine thats got an i945 chipset
 on the motherboard, integrated video too. Everything seems to be
 supported, SATA controllers the lot... but no AGP or DRM support?

 i have the statements

 device  agp
 device  drm
 device  i915drm

 in my kernel conf, after building the new kernel.

 dmesg |grep agp
 dmesg |grep drm

 Returns absolutely nothing

 The i945 has been around for a while now.. Whats missing here? the
 actual motherboard has the video card integrated. This motherboard has
 no AGP slot on it, only PCI-E for a video card. I am not sure whether
 the onboard
 integrated graphics is wired into AGP or PCI-E

 Would this make a difference? is there any workaround/solution?

 And yes, the whole point is to get DRI working in X.

 Cheers
 Alex
 
 i945 dri is working in 6-STABLE as of some months ago.


Have the same problem with via PT880 and Radeon 9600XT (AGP 8X card).
When I kldload drm, I see this in dmesg

May 26 15:02:24 hansolo kernel: error: [drm:pid877:radeon_cp_init]
*ERROR* radeon_cp_init called without lock held
May 26 15:02:24 hansolo kernel: error: [drm:pid877:drm_unlock] *ERROR*
Process 877 using kernel context 0

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


Re: PS is not showing all processes owned by a user

2007-05-30 Thread Tom Marchand
These:

  s00p 67431  4.0  0.1  4660  2828  pd  S 7:56PM   0:00.05 _su (tcsh)
  s00p 67438  0.0  0.0  1420   908  pd  R+7:56PM   0:00.00 ps aux

do not fit the criteria of the grep commands:

 spark# ps aux | grep psybnc | grep s00p

which will only list entries containing psybnc and s00p, in that order.


 -- Original message --
From: Chuck Swiger [EMAIL PROTECTED]
 Ofloo wrote:
  Can someone explain me this !?
  
  spark# ps aux | grep psybnc | grep s00p
  s00p8777  0.0  0.3 43096  5716  p1- SFri06PM   4:30.25 ./psybnc
  
  spark# su s00p
  -([EMAIL PROTECTED])-(19:56:45) 
   
  -(~/)- ps aux
  USER   PID %CPU %MEM   VSZ   RSS  TT  STAT STARTED  TIME COMMAND
  s00p 67431  4.0  0.1  4660  2828  pd  S 7:56PM   0:00.05 _su (tcsh)
  s00p 67438  0.0  0.0  1420   908  pd  R+7:56PM   0:00.00 ps aux
 
 psybnc is an IRC relay agent; unless someone normally runs such things, 
 having 
 one of these processes appear but be invisible to top or normal invocations 
 of ps is a possible indication that the system has been hacked.
 
 A typical pattern involves a user having their account password sniffed via 
 wireless when reading email or whatever, and the attacker gains shell access 
 to their email server (assuming it's a Unix system), and runs this.  It 
 includes a generic remote filesharing capability and some kind of port 
 redirector ala netcat or SSH port forwarding, so the hacked machine can be 
 used as a remote control channel to drive other compromised machines...
 
  This came after a complaint from the user, who couldn't kill his process,
  because it wasn't visible in his session, and he didn't su !?
 
 However, I'm not sure whether the above is relevant, if your user was trying 
 to run this IRC agent.  :-)
 
 -- 
 -Chuck
 
 
 ___
 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: Nvidia doesn't start on cryptic errors

2007-05-30 Thread Thanos Rizoulis

O/H Vittorio De Martino έγραψε:

Il Tuesday 29 May 2007 20:11:00 [EMAIL PROTECTED] ha scritto:

What nVidia driver are you trying to install and does your laptop have an
I'm installing the latest snapshot of the port /usr/ports/x11/nvidia-driver 
and on my new laptop there is a label saying graphics by NVIDIA GeForce Go 
7400


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



I would suggest you go to the nvidia site and check which driver version 
supports your chipset. They already have two separate *legacy* lines of 
drivers availiable.
This effectively means that my aged GF4MX440 will not work with the 
latest drivers unless I find out which exact driver version does.


--
RTFM and STFW before anything bad happens
_
Thanos Rizoulis
Electronic Computing Systems Engineer
Larissa, Greece
FreeBSD/PCBSD user
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PS is not showing all processes owned by a user

2007-05-30 Thread Ofloo


Tom Marchand wrote:
 
 These:
 
  s00p 67431  4.0  0.1  4660  2828  pd  S 7:56PM   0:00.05 _su (tcsh)
  s00p 67438  0.0  0.0  1420   908  pd  R+7:56PM   0:00.00 ps aux
 
 do not fit the criteria of the grep commands:
 
 spark# ps aux | grep psybnc | grep s00p
 
 which will only list entries containing psybnc and s00p, in that order.
 
 
  -- Original message --
 From: Chuck Swiger [EMAIL PROTECTED]
 Ofloo wrote:
  Can someone explain me this !?
  
  spark# ps aux | grep psybnc | grep s00p
  s00p8777  0.0  0.3 43096  5716  p1- SFri06PM   4:30.25
 ./psybnc
  
  spark# su s00p
  -([EMAIL PROTECTED])-(19:56:45)

  -(~/)- ps aux
  USER   PID %CPU %MEM   VSZ   RSS  TT  STAT STARTED  TIME COMMAND
  s00p 67431  4.0  0.1  4660  2828  pd  S 7:56PM   0:00.05 _su (tcsh)
  s00p 67438  0.0  0.0  1420   908  pd  R+7:56PM   0:00.00 ps aux
 
 psybnc is an IRC relay agent; unless someone normally runs such things,
 having 
 one of these processes appear but be invisible to top or normal
 invocations 
 of ps is a possible indication that the system has been hacked.
 
 A typical pattern involves a user having their account password sniffed
 via 
 wireless when reading email or whatever, and the attacker gains shell
 access 
 to their email server (assuming it's a Unix system), and runs this.  It 
 includes a generic remote filesharing capability and some kind of port 
 redirector ala netcat or SSH port forwarding, so the hacked machine can
 be 
 used as a remote control channel to drive other compromised machines...
 
  This came after a complaint from the user, who couldn't kill his
 process,
  because it wasn't visible in his session, and he didn't su !?
 
 However, I'm not sure whether the above is relevant, if your user was
 trying 
 to run this IRC agent.  :-)
 
 -- 
 -Chuck
 
 
 ___
 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]
 
 
The user didn't grep at all i just grep'ed from root user to provide, but it
did show under root user and not in user mode.
-- 
View this message in context: 
http://www.nabble.com/PS-is-not-showing-all-processes-owned-by-a-user-tf3835565.html#a10879924
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: PS is not showing all processes owned by a user

2007-05-30 Thread Ofloo


Chuck Swiger-2 wrote:
 
 Ofloo wrote:
 Can someone explain me this !?
 
 spark# ps aux | grep psybnc | grep s00p
 s00p8777  0.0  0.3 43096  5716  p1- SFri06PM   4:30.25
 ./psybnc
 
 spark# su s00p
 -([EMAIL PROTECTED])-(19:56:45)  
 -(~/)- ps aux
 USER   PID %CPU %MEM   VSZ   RSS  TT  STAT STARTED  TIME COMMAND
 s00p 67431  4.0  0.1  4660  2828  pd  S 7:56PM   0:00.05 _su (tcsh)
 s00p 67438  0.0  0.0  1420   908  pd  R+7:56PM   0:00.00 ps aux
 
 psybnc is an IRC relay agent; unless someone normally runs such things,
 having 
 one of these processes appear but be invisible to top or normal
 invocations 
 of ps is a possible indication that the system has been hacked.
 
 A typical pattern involves a user having their account password sniffed
 via 
 wireless when reading email or whatever, and the attacker gains shell
 access 
 to their email server (assuming it's a Unix system), and runs this.  It 
 includes a generic remote filesharing capability and some kind of port 
 redirector ala netcat or SSH port forwarding, so the hacked machine can be 
 used as a remote control channel to drive other compromised machines...
 
 This came after a complaint from the user, who couldn't kill his process,
 because it wasn't visible in his session, and he didn't su !?
 
 However, I'm not sure whether the above is relevant, if your user was
 trying 
 to run this IRC agent.  :-)
 
 -- 
 -Chuck
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 

No hacker would want to hide a process from a user it might want to hide a
process from root user. Also if the hacker was able to hide a process from a
user, it would of needed access to ps binary or freebsd source tree on that
system, having that access the hacker would of tried other things and not
hide a bnc from just a user account.

-- 
View this message in context: 
http://www.nabble.com/PS-is-not-showing-all-processes-owned-by-a-user-tf3835565.html#a10879945
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: PS is not showing all processes owned by a user

2007-05-30 Thread Chuck Swiger

Ofloo wrote:
[ ... ]

No hacker would want to hide a process from a user it might want to hide a
process from root user.


Well, from all users-- agreed.


Also if the hacker was able to hide a process from a
user, it would of needed access to ps binary or freebsd source tree on that
system, having that access the hacker would of tried other things and not
hide a bnc from just a user account.


Why, yes...at least, they'd certainly try to do so.

--
-Chuck

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


Re: PS is not showing all processes owned by a user

2007-05-30 Thread Reid Linnemann

Written by Ofloo on 05/30/07 13:38


Chuck Swiger-2 wrote:

Ofloo wrote:

Can someone explain me this !?

spark# ps aux | grep psybnc | grep s00p
s00p8777  0.0  0.3 43096  5716  p1- SFri06PM   4:30.25
./psybnc

spark# su s00p
-([EMAIL PROTECTED])-(19:56:45)  
-(~/)- ps aux

USER   PID %CPU %MEM   VSZ   RSS  TT  STAT STARTED  TIME COMMAND
s00p 67431  4.0  0.1  4660  2828  pd  S 7:56PM   0:00.05 _su (tcsh)
s00p 67438  0.0  0.0  1420   908  pd  R+7:56PM   0:00.00 ps aux

psybnc is an IRC relay agent; unless someone normally runs such things,
having 
one of these processes appear but be invisible to top or normal
invocations 
of ps is a possible indication that the system has been hacked.


A typical pattern involves a user having their account password sniffed
via 
wireless when reading email or whatever, and the attacker gains shell
access 
to their email server (assuming it's a Unix system), and runs this.  It 
includes a generic remote filesharing capability and some kind of port 
redirector ala netcat or SSH port forwarding, so the hacked machine can be 
used as a remote control channel to drive other compromised machines...



This came after a complaint from the user, who couldn't kill his process,
because it wasn't visible in his session, and he didn't su !?

However, I'm not sure whether the above is relevant, if your user was
trying 
to run this IRC agent.  :-)


--
-Chuck


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




No hacker would want to hide a process from a user it might want to hide a
process from root user. Also if the hacker was able to hide a process from a
user, it would of needed access to ps binary or freebsd source tree on that
system, having that access the hacker would of tried other things and not
hide a bnc from just a user account.



Not necessarily. I've had firsthand experience with a box that was 
compromised specifically to run a BNC so the abuser could mask his true 
location when being mischievous. In that regard, it suffices simply to 
hide the process from the compromised user account to keep the owner 
unaware anything has happened.

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


Re: 6.2/i386 X/DRI issues

2007-05-30 Thread Alex R
On Wed, 30 May 2007 11:26:24 -0500, Reid Linnemann [EMAIL PROTECTED] wrote:
 
 i945 dri is working in 6-STABLE as of some months ago.

This does not seem to be the case for me. As an experiment, I booted from a 
7-CURRENT CD and installed it (May snapshot) and it was detected! But not in 
6.2/i386. Its detected as AGP, though the machine has no AGP slot in it?!?!?

Cheers
Alex



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


Problem building teTeX/cmpsfont

2007-05-30 Thread Erik Norgaard
Hi, I updated my ports tree and started to reinstall all packages to 
update gettext and xorg. Now trying to install teTeX it fails with the 
following error:


===  Building for cmpsfont-1.0_6
(cd /usr/ports/print/cmpsfont/work/cmpsfont/pfb; 
/usr/local/bin/type1inst -nolog -quiet)

/usr/local/bin/type1inst: not found
*** Error code 127

Stop in /usr/ports/print/cmpsfont.

But:

photon# ll /usr/local/bin/type1inst
-r-xr-xr-x  1 root  wheel  39066 24 May 21:17 /usr/local/bin/type1inst

Certainly, also, if I try to run this command I get the same error:

photon# /usr/local/bin/type1inst
/usr/local/bin/type1inst: Command not found.

What's broken? how do I fix this?

Thanks, Erik

--
Ph: +34.666334818  web: http://www.locolomo.org


smime.p7s
Description: S/MIME Cryptographic Signature


Info. on your Services

2007-05-30 Thread Chris Glavin
Register your business in the Support Services directory on K12 Academics. 
The focus on the site is kids aged 4-18 throughout the U.S. in the K-12 
Education System. The directory features Tutors, Educational Consultants, 
Learning  Developmental Disability Agencies, Education Advisors  
Advocates, Psychologists, Speech-Language Pathologists, Educational 
Diagnosticians, Occupational Therapists, Psychiatrists and Pediatric 
Neurologists in the U.S.


We have over 1,000 businesses already registered. We can guarantee results 
as we are within the top 100,000 websites and one of the most trafficked 
websites on the Internet. We are running a end of the year school special 
until 06/15. Register now and receive an additional four month listing for a 
total of 16 months. Below is the direct link to the directory.

http://www.k12academics.com/supportservices.htm

To Register: Follow Simple two step process
Step I: Fill out Form 
http://www.k12academics.com/support_register.htm

Step II: Pay for your listing.
Pricing: $100 for a state listing for 16 months; $250 for a nationwide (10 
or more states) for 22 Months.


What You Get When you Register!
* Complete business Information
* Your business logo in your listing
* 3-4 Action shots of your business
* Multimedia (Video, Audio file of your business)
* Hyperlink directly to your web site
* Direct link to your email address
* Unlimited Word Limit Business Text Description
* Professional Profile layout
* Direct Target audience (Parents, Students)
* Quarterly Traffic Reports for your profile listing

Benefits to Registering
* Your profile listing sent to those subscribed to our weekly website update 
mailing list (3800+ members)
* Your profile included in our monthly newsletters to Principals and 
Superintendents to your corresponding state
*Your listing on the front page of the directory for the entire month that 
you register.
* 80-100+ visitors per month (Over 1000 Unique Visitors per year to your 
profile).

* The Most Professional profile layout on the Internet
* Strong Reputation: We are a recognized resource for thousands of 
website's, schools, districts, state education bureaus', PTA chapters and 
disability organizations
*Cheap Prices: We provide the cheapest prices on the Internet and still 
provide high referral rates.

* K12 Academics caters to your exact audience (Students, Parents)
* A large focus of our website is towards disabilities and disorders
* We are the Only National Directory for Support Services in the U.S.
* We are one of the top 100,000 websites on the Internet
*You Profile listing as a top of the page featured businesses during your 
last week of paid subscription..


If you are not interested in registering in this directory send an email to 
[EMAIL PROTECTED] with the headline REMOVE.


Chris Glavin
K12academics.com
Huddelson, LLC




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


Re: Stranges messages in terminal

2007-05-30 Thread Hugo Silva

DSA - JCR wrote:

Hi all again


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

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

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

Any ideas?

thanks in advance


Juan Coruña
Desarrollo de Software Atlantico



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

Hi,

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


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


Re: NFS and apache...

2007-05-30 Thread Erik Norgaard

Agus wrote:

Hi all,
I got the following scenario. Freebsd with Apache22 and NFS. I want to
export the /usr/local/www/apache22/data/site so that the content of that
site can be modified from my personal machine.
The permissions on site/ are rwx for root and group webadm, and rx for
others...


How can i do this? I am trying but im getting permission denied...while
trying to create a file...


NFS is insecure (No File Security) since there is no authentication. You 
get access with the user id of your current user.


When working with NFS make sure that you have the same users/groups with 
the same user id/group id on all machines.


One security measure is implemented though: root user on client is 
treated as nobody on the server. There is an option you can add to the 
exports file (forgot which), to override this see the exports manpage.



Also if you have a different solution for updating the site..they are
welcome..


Unless you have problems with diskspace, why not just use rsync? Do it 
manually and you get time to correct blunders before they become public, 
or do it as a cronjob.


Cheers, Erik

--
Ph: +34.666334818  web: http://www.locolomo.org


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Stranges messages in terminal

2007-05-30 Thread Robert Huff

Hugo Silva writes:

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

Speaking of which:
Ctl-Alt-Fn used to allow me to switch consoles; with Xorg 7.2,
no more.
Would some kind sole point me to the documentation on how to
enable this again?


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



Re: Problem building teTeX/cmpsfont

2007-05-30 Thread Kris Kennaway
On Wed, May 30, 2007 at 09:52:57PM +0200, Erik Norgaard wrote:
 Hi, I updated my ports tree and started to reinstall all packages to 
 update gettext and xorg. Now trying to install teTeX it fails with the 
 following error:
 
 ===  Building for cmpsfont-1.0_6
 (cd /usr/ports/print/cmpsfont/work/cmpsfont/pfb; 
 /usr/local/bin/type1inst -nolog -quiet)
 /usr/local/bin/type1inst: not found
 *** Error code 127
 
 Stop in /usr/ports/print/cmpsfont.
 
 But:
 
 photon# ll /usr/local/bin/type1inst
 -r-xr-xr-x  1 root  wheel  39066 24 May 21:17 /usr/local/bin/type1inst
 
 Certainly, also, if I try to run this command I get the same error:
 
 photon# /usr/local/bin/type1inst
 /usr/local/bin/type1inst: Command not found.
 
 What's broken? how do I fix this?

I guess that is a script that is trying to use a nonexistent
interpreter.

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


Re: 6.2/i386 X/DRI issues

2007-05-30 Thread Rob

Alex R wrote:

This does not seem to be the case for me. As an experiment, I booted from a 
7-CURRENT CD and installed it (May snapshot) and it was detected! But not in 
6.2/i386. Its detected as AGP, though the machine has no AGP slot in it?!?!?


6.2-what?  You are probably running Release;  you don't have Stable unless you've updated 
source and re-compiled everything.  Stable is really a few steps ahead of release, with 
additional features and fixes, believed to be, uhh stable but not really 
recommended for production servers.  Stable it the next Release in the making.

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


Re: NFS and apache...

2007-05-30 Thread Christopher Hilton

Erik Norgaard wrote:


How can i do this? I am trying but im getting permission denied...while
trying to create a file...


NFS is insecure (No File Security) since there is no authentication. You 
get access with the user id of your current user.




I didn't want to touch the security problems with this as I assumed that 
 the original poster knows about them. Just the same I'm assuming that 
webserver:/etc/exports has a line like:


/usr/local/www/data/mysite -maproot=nobody:nogroup 192.168.233.17

which would tighten down the mount to just the one machine. As a 
developer, without even looking at security I think that direct access 
to the webroot tree is a bad idea. However I'm giving the original 
poster the benefit of the doubt. Perhaps he's just trying to learn HTML 
and PHP.


[snip]



One security measure is implemented though: root user on client is 
treated as nobody on the server. There is an option you can add to the 
exports file (forgot which), to override this see the exports manpage.



Also if you have a different solution for updating the site..they are
welcome..


Unless you have problems with diskspace, why not just use rsync? Do it 
manually and you get time to correct blunders before they become public, 
or do it as a cronjob.




rsync
scp,
dav,
*** cvs ***

When I work on a website I tend to start with the site directory in cvs 
to protect me from the damage caused by fat fingers. I'm an old C 
programmer and CVS and Make are tools that I'm used to so I usually add 
a really simple make file to the web tree...


* Typical Makefile for web project *
-- cut from here --

update:
cvs -PAd .

MYWEBUSER = www
MYHOST =webserver.example.com
MYWEBROOT = /usr/local/www/data/webserver.example.com/

publish:
rsync -auv ./ $(MYWEBUSER)@$(MYHOST):$(MYWEBROOT)

-- to here --

Then running:

 $ make update

on the webserver from within the webtree will refresh the site from the 
latest copy in CVS. In my opinion this is the best way because with a 
little CVS knowledge you can back out any mistakes. This is also nice 
since it only depends on the ability for both your development machine 
and webserver to be able to reach the cvs server. A final nicety is that 
there are CVS clients for FreeBSD, Windows, and Mac OS X. On the 
downside you do have to setup a cvs server.


Add a  little magic with ssh-keygen and the command:

 $ make publish

will push the current state of the web project, N.B. whatever it may be, 
onto the webserver. This is a lower overhead way of publishing that has 
the danger of no fallback position in case something is screwed up. 
Honestly I think that the publish tag is better used for testing than 
production but not every is willing to go to the overhead of using 
revision control (CVS, SVN, what have you) on this stuff.


-- Chris

--
  __o  All I was doing was trying to get home from work.
_`\,_   -Rosa Parks
___(*)/_(*)___
Christopher Sean Hiltonchris | at | vindaloo.com
pgp key: D0957A2D/f5 30 0a e1 55 76 9b 1f 47 0b 07 e9 75 0e 14
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem building teTeX/cmpsfont

2007-05-30 Thread Erik Norgaard

Kris Kennaway wrote:

On Wed, May 30, 2007 at 09:52:57PM +0200, Erik Norgaard wrote:
Hi, I updated my ports tree and started to reinstall all packages to 
update gettext and xorg. Now trying to install teTeX it fails with the 
following error:


===  Building for cmpsfont-1.0_6
(cd /usr/ports/print/cmpsfont/work/cmpsfont/pfb; 
/usr/local/bin/type1inst -nolog -quiet)

/usr/local/bin/type1inst: not found
*** Error code 127

Stop in /usr/ports/print/cmpsfont.

But:

photon# ll /usr/local/bin/type1inst
-r-xr-xr-x  1 root  wheel  39066 24 May 21:17 /usr/local/bin/type1inst

Certainly, also, if I try to run this command I get the same error:

photon# /usr/local/bin/type1inst
/usr/local/bin/type1inst: Command not found.

What's broken? how do I fix this?


I guess that is a script that is trying to use a nonexistent
interpreter.


You're right:

#!/usr/bin/perl

Since when did the port stop creating a link to /usr/bin/perl? I recall 
a discussion on ports about whether or not to keep creating the link, 
and IIRC the conclusion was that too many things break without the link.


The latest mention of perl in UPDATING is from February last year.

Thanks, Erik
--
Ph: +34.666334818  web: http://www.locolomo.org


smime.p7s
Description: S/MIME Cryptographic Signature


Re: 6.2/i386 X/DRI issues

2007-05-30 Thread Alex R
On Wed, 30 May 2007 16:38:56 -0400, Rob [EMAIL PROTECTED] wrote:
 6.2-what?  You are probably running Release;  you don't have Stable unless
 you've updated source and re-compiled everything.  Stable is really a few
 steps ahead of release, with additional features and fixes, believed to be,
 uhh stable but not really recommended for production servers.  Stable it
 the next Release in the making.
 
   -RW

You're right.. And my fault for assuming Release/Stable meant the same thing.. 
My bad..

FreeBSD 6.2-RELEASE

So I need to 'stable' for DRI to work. If the issue with DRI on the i945 was 
fixed some time ago, as someone else suggested, why hasn't it been merged into 
6.2-Release? Is there any patch to fix this for 6.2-RELEASE?

Thanks
Alex


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


Re: Unable to open /nvidiactl

2007-05-30 Thread vittorio
Tricky but at last I detected the cause of the problem:

I had a acpi_video_load=YES in loader.conf which loaded the module 
acpi_video.ko. Eliminating this module with kldunload (and then deleting the 
line from loader.conf) *** out of the blue  nvidia  started working 
great.

Ciao
Vittorio


Il Wednesday 30 May 2007 16:57:20 ml-vic ha scritto:
 Dear friends,
 I'm still looking for help to solve the problem of my nvidia graphic card.
 nvidia.ko doesn't seem able to create /dev/ndiviactl.

 Synthesis

 My system
 Intel Centrino Duo T5300 HP Pavillion 6366 notebook 2GB mem
 NVIDIA GeForce Go 7400
 FreeBSD  6.2-RELEASE-p4  i386
 kernel compiled for SMP
 Latest snapshot of the ports

 1) I installed and compiled the /usr/ports/x11/nvidia-driver with default
 options and  /usr/ports/x11/nvidia-xconfig; because loader.conf was not
 automatically modified I added a nvidia_load=YES to loader.conf and
 rebooted the pc, therefore:

 2)  victor$ kldstat
 Id Refs Address    Size     Name
  1   36 0xc040 5a1fa0   kernel
  2    1 0xc09a2000 3244     splash_bmp.ko
  3    1 0xc09a6000 5528     vesa.ko
  4    3 0xc0a6c000 1e058    linux.ko
  5    1 0xc0a8b000 435c     acpi_video.ko
  6    3 0xc0a9 61ba0    acpi.ko
  7    1 0xc0af2000 6d4de0   nvidia.ko
  8    2 0xc11c7000 168fc    agp.ko
 
 
 (agp is not compiled statically in the kernel)

 victor$ sysctl -a|grep nvidia
        nvidia    84    37K       -       84  16,32,64,128,256,1024,2048
 hw.nvidia.version: NVIDIA UNIX x86 Kernel Module  1.0-9746  Tue Dec 19
 13:20:59 PST 2006
 hw.nvidia.registry.EnableVia4x: 0
 hw.nvidia.registry.EnableALiAGP: 0
 hw.nvidia.registry.NvAGP: 3
 hw.nvidia.registry.EnableAGPSBA: 0
 hw.nvidia.registry.EnableAGPFW: 0
 hw.nvidia.registry.SoftEDIDs: 1
 hw.nvidia.registry.Mobile: 4294967295
 hw.nvidia.registry.ResmanDebugLevel: 4294967295
 hw.nvidia.registry.FlatPanelMode: 0
 hw.nvidia.registry.DevicesConnected: 0
 hw.nvidia.registry.RmLogonRC: 1
 hw.nvidia.registry.DetectPrimaryVga: 1
 hw.nvidia.registry.dwords:

 3) I generated a basic xorg.conf file running a mere nvidia-xconfig that I
 tailored only tailored for language.

 4) startx fails. The system declares

 NVIDIA: could not open the device /dev/nvidiactl

 (as a matter of fact there isn't!)

 And Xorg.0.log is as follows

 X Window System Version 6.9.0
 Release Date: 21 December 2005
 X Protocol Version 11, Revision 0, Release 6.9
 Build Operating System: FreeBSD 6.2 i386 [ELF]
 Current Operating System: FreeBSD hpbsd.vic 6.2-RELEASE-p4 FreeBSD
 6.2-RELEASE-p4 #0: Mon May 28 11:43:57 UTC 2007    
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/HP01 i386
 Build Date: 10 February 2007
 Before reporting problems, check http://wiki.X.Org
 to make sure that you have the latest version.
 Module Loader present
 Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 (==) Log file: /var/log/Xorg.0.log, Time: Mon May 28 19:39:50 2007
 (==) Using config file: /etc/X11/xorg.conf
 (==) ServerLayout Layout0
 (**) |--Screen Screen0 (0)
 (**) |   |--Monitor Monitor0
 (**) |   |--Device Device0
 (**) |--Input Device Keyboard0
 (**) Option XkbModel pc105
 (**) XKB: model: pc105
 (**) Option XkbLayout it
 (**) XKB: layout: it
 (==) Keyboard: CustomKeycode disabled
 (**) |--Input Device Mouse0
 (**) FontPath set
 to
 /usr/X11R6/lib/X11/fonts/misc,/usr/X11R6/lib/X11/fonts/Type1,/usr/X11R6/li
b/X11/fonts/75dpi,/usr/X11R6/lib/X11/fonts/100dpi,/usr/X11R6/lib/X11/fonts/b
itstream-vera,/usr/local/share/fonts (**) RgbPath set to
 /usr/X11R6/lib/X11/rgb
 (**) ModulePath set to /usr/X11R6/lib/modules
 (II) Module ABI versions:
 X.Org ANSI C Emulation: 0.2
 X.Org Video Driver: 0.8
 X.Org XInput driver : 0.5
 X.Org Server Extension : 0.2
 X.Org Font Renderer : 0.4
 (II) Loader running on freebsd
 (II) LoadModule: bitmap
 (II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.so
 (II) Module bitmap: vendor=X.Org Foundation
 compiled for 6.9.0, module version = 1.0.0
 Module class: X.Org Font Renderer
 ABI class: X.Org Font Renderer, version 0.4
 (II) Loading font Bitmap
 (II) LoadModule: pcidata
 (II) Loading /usr/X11R6/lib/modules/libpcidata.so
 (II) Module pcidata: vendor=X.Org Foundation
 compiled for 6.9.0, module version = 1.0.0
 ABI class: X.Org Video Driver, version 0.8
 (--) Using syscons driver with X support (version 2.0)
 (--) using VT number 5

 (II) PCI: Probing config type using method 1
 (II) PCI: Config type is 1
 (II) PCI: stages = 0x03, oldVal1 = 0x, mode1Res1 = 0x8000
 (II) PCI: PCI scan (all values are in hex)
 (II) PCI: 00:00:0: chip 8086,27a0 card 103c,30bb rev 03 class 06,00,00 hdr
 00 (II) PCI: 00:01:0: chip 8086,27a1 card , rev 03 class 

Re: SPAM filtering Agent

2007-05-30 Thread Gerard
On Wednesday May 30, 2007 at 07:34:35 (AM) DeadMan Xia  wrote:


 hope every1 doing fine well i m using QMAIL for email services. I have also
 installed SPAM ASSASINS while installing Qmail. Now i m getting too much
 SPAM in every mailbox of my domain.
 
 Kindly help me out and tell me what shld i do. which spam filter is should
 use and how to configure and install that filter.

Before anyone can assist you, it will require you detailing exactly what
you are doing. Showing your 'Spam Assassin' configuration file would be
useful. I know nothing about Qmail, so I cannot help you there. You
might be better served trying the Qmail and Spam Assassin mailing lists.

-- 
Gerard

Next time you see someone acting stupid ... consider the possibility
it might be the real thing.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NFS and apache...

2007-05-30 Thread Agus

2007/5/30, Christopher Hilton [EMAIL PROTECTED]:


Erik Norgaard wrote:

 How can i do this? I am trying but im getting permission denied...while
 trying to create a file...

 NFS is insecure (No File Security) since there is no authentication. You
 get access with the user id of your current user.


I didn't want to touch the security problems with this as I assumed that
  the original poster knows about them. Just the same I'm assuming that
webserver:/etc/exports has a line like:

 /usr/local/www/data/mysite -maproot=nobody:nogroup 192.168.233.17

which would tighten down the mount to just the one machine. As a
developer, without even looking at security I think that direct access
to the webroot tree is a bad idea. However I'm giving the original
poster the benefit of the doubt. Perhaps he's just trying to learn HTML
and PHP.

[snip]


 One security measure is implemented though: root user on client is
 treated as nobody on the server. There is an option you can add to the
 exports file (forgot which), to override this see the exports manpage.

 Also if you have a different solution for updating the site..they are
 welcome..

 Unless you have problems with diskspace, why not just use rsync? Do it
 manually and you get time to correct blunders before they become public,
 or do it as a cronjob.


rsync
scp,
dav,
*** cvs ***

When I work on a website I tend to start with the site directory in cvs
to protect me from the damage caused by fat fingers. I'm an old C
programmer and CVS and Make are tools that I'm used to so I usually add
a really simple make file to the web tree...

* Typical Makefile for web project *
-- cut from here --

update:
cvs -PAd .

MYWEBUSER = www
MYHOST =webserver.example.com
MYWEBROOT = /usr/local/www/data/webserver.example.com/

publish:
rsync -auv ./ $(MYWEBUSER)@$(MYHOST):$(MYWEBROOT)

-- to here --

Then running:

  $ make update

on the webserver from within the webtree will refresh the site from the
latest copy in CVS. In my opinion this is the best way because with a
little CVS knowledge you can back out any mistakes. This is also nice
since it only depends on the ability for both your development machine
and webserver to be able to reach the cvs server. A final nicety is that
there are CVS clients for FreeBSD, Windows, and Mac OS X. On the
downside you do have to setup a cvs server.

Add a  little magic with ssh-keygen and the command:

  $ make publish

will push the current state of the web project, N.B. whatever it may be,
onto the webserver. This is a lower overhead way of publishing that has
the danger of no fallback position in case something is screwed up.
Honestly I think that the publish tag is better used for testing than
production but not every is willing to go to the overhead of using
revision control (CVS, SVN, what have you) on this stuff.

-- Chris

--
   __o  All I was doing was trying to get home from work.
 _`\,_   -Rosa Parks
___(*)/_(*)___
Christopher Sean Hiltonchris | at | vindaloo.com
 pgp key: D0957A2D/f5 30 0a e1 55 76 9b 1f 47 0b 07 e9 75 0e 14




Great.thanks a lot guysyou've been very kind.
I will begin reading about rsync and CVS thenit also seems a lot more
interesting than NFS

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


enable fetchmail system-wide mode

2007-05-30 Thread Bob
I want to run fetchmail enabled for system wide mode.
The command line cmd fetchmail -q issued from user root gets meaningless
error msg.
Reviewing /usr/local/etc/rc.d/fetchmail has comments talking about system
wide mode running under user fetchmail.
How does the system admin control fetchmail when user fetchmail needs
password to logon and no where is password given during install.

Also /usr/local/etc/fetchmailrc which is suppose to be the config file is
empty. Even fetchmailrc.sample is empty.

The port pkg-message file is absent so there is no information describing
how to configure fetchmail in system-wide mode or individual user mode.
These are unique run modes to freebsd and are not covered in the fetchmail
manual. The port pkg-message file should be created with instructions about
how to configure it.

Before in 4.11 through 5.4 I started fetchmail using
/usr/local/etc/rc.d/fetchmail.sh and /root/,fetchmailrc and had root admin
control of fetchmail. How do I achieve admin control now that fetchmail has
been converted to use rc.conf fetchmail_enable=YES to start at boot time?




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


Post Xorg 7.x - Settings for switching to console from X (was Re: Stranges messages in terminal)

2007-05-30 Thread Parv
in message [EMAIL PROTECTED],
wrote Robert Huff thusly...

 Ctl-Alt-Fn used to allow me to switch consoles; with Xorg 7.2, no
 more.  Would some kind sole point me to the documentation on how
 to enable this again?

I had the following section in xorg.conf (Xorg 6.[89]) which I have
copied to the 7.x version to be able to switch to console from X ...

  Section ServerFlags
  Option  DontZap   false

  Option  DontZoom  true

  Option  AllowMouseOpenFailtrue

  #  XFree86 4.[34].x - Add DontVTSwitch to be false (for
  #  console switching).
  Option  DontVTSwitch  false

  Option  HandleSpecialKeys always

  #  Xorg 6.8.(2|99.903) - Add XkbDisable to be true (for
  #  console switching).
  Option  XkbDisabletrue
  EndSection


... so I suppose one or both of DontVTSwitch  XkbDisable
options would allow the switching; feel free to test.


  - Parv

-- 

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


Re: portmanager -s deletes ports?

2007-05-30 Thread RW
On Tue, 29 May 2007 21:08:23 -0700
Matthew Navarre [EMAIL PROTECTED] wrote:


  From the portmanager(1) man page:
   -s or --status
 status of installed ports
 
 Says *nothing* about even the possibility of removing installed  
 ports.  Just status. If -s is removing installed ports which have  
 been moved/removed from the ports tree without confirmation then
 it's broken, plain and simple.

When I noticed a serious bug in portmanager, I found the source of the
problem and submitted a patch - I suggest you do the same. 

 portmanager also has -s -l *AND* -sl options^Wcommands. -sl has not
 a thing to do with -s or -l. Broken by design. -sl should by
 convention be equivalent to -s -l, instead -sl maps to --show-leaves
 while -s maps to --status and --l maps to log. Lame. 

It doesn't process its arguments with getopt - so what?

I trust you've volunteered your services to help polish it up,
otherwise comments like Broken by design and Lame on someone else's
hard work are likely to earn you the contempt you deserve.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 6.2/i386 X/DRI issues

2007-05-30 Thread r17fbsd

At 05:53 PM 5/30/2007, Alex R wrote:

 6.2-what?  You are probably running Release;  you don't have Stable unless
 you've updated source and re-compiled everything.  Stable is really a few

You're right.. And my fault for assuming Release/Stable meant the 
same thing.. My bad..


S'ok...  it's quite confusing.  I only grasped it in the last year or so.

So I need to 'stable' for DRI to work. If the issue with DRI on the 
i945 was fixed some time ago, as someone else suggested, why hasn't 
it been merged into 6.2-Release? Is there any patch to fix this for 
6.2-RELEASE?


The release engineering philosophy seems to be that the actual 
Release versions are designed with stability and security 
foremost.  The patches that come out are usually ONLY for security 
issues.  Merges and enhancements to Release are, by definition, what 
Stable is.  You just need to install the source, cvsup it, and 
rebuild everything.  I put off messing with it for many years, and 
just put up with out of date systems;  but it's really not as hairy 
as it sounds.  See the handbook entry:

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

Also see the appendix entry for cvs release tags.

  -RW

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


Re: enable fetchmail system-wide mode

2007-05-30 Thread Gerard
On Wednesday May 30, 2007 at 06:51:26 (PM) Bob wrote:


 I want to run fetchmail enabled for system wide mode.
 The command line cmd fetchmail -q issued from user root gets meaningless
 error msg.
 Reviewing /usr/local/etc/rc.d/fetchmail has comments talking about system
 wide mode running under user fetchmail.
 How does the system admin control fetchmail when user fetchmail needs
 password to logon and no where is password given during install.
 
 Also /usr/local/etc/fetchmailrc which is suppose to be the config file is
 empty. Even fetchmailrc.sample is empty.
 
 The port pkg-message file is absent so there is no information describing
 how to configure fetchmail in system-wide mode or individual user mode.
 These are unique run modes to freebsd and are not covered in the fetchmail
 manual. The port pkg-message file should be created with instructions about
 how to configure it.
 
 Before in 4.11 through 5.4 I started fetchmail using
 /usr/local/etc/rc.d/fetchmail.sh and /root/,fetchmailrc and had root admin
 control of fetchmail. How do I achieve admin control now that fetchmail has
 been converted to use rc.conf fetchmail_enable=YES to start at boot time?

Did you try 'man fetchmail'? That should give you the required
configuration information. As you wrote, having the proper notation in
the '/etc/rc.conf' file will start 'fetchmail' upon boot-up, assuming
that there does exist a properly configured 'fetchmailrc' file. You
might also want to investigate the '/usr/local/etc/rc.d/fetchmail' file.
I had to slightly modify it to work the way I wanted on my system. I
would suggest that you do that 'AFTER' you have gotten it to relatively
the way you want it to.


-- 
Gerard

I feel sorry for people who don't drink. When they wake up in the
morning, that's as good as they're going to feel all day.  

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


Post Xorg 7.x - Settings for switching to console from X (was Re: Stranges messages in terminal)

2007-05-30 Thread Robert Huff
Parv writes:

   Ctl-Alt-Fn used to allow me to switch consoles; with Xorg 7.2, no
   more.  Would some kind sole point me to the documentation on how
   to enable this again?

reasonable looking sample code deleted
I'll try this out.  It's obviously been too long since I read
that doc.
Thanks.


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


im new with pf

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

does something like this look acceptable if the above is my goal?

[pf.conf]
# definitions
ext_if=fxp0
client=192.168.1.0/24
mynet=[outsideips]/29


table trusted { $client $mynet }
# rules start here
scrub in
block in all
pass quick on lo
antispoof quick for lo

pass in on $ext_if from trusted to ($ext_if) keep state
pass in on $ext_if proto tcp from any to ($ext_if) port { 25 80 443 } keep 
state

pass out all keep state
[/pf.conf]

like i said, i need to allow local (and me, trusted) to anything, and anyone 
else just access to 25, 80 and 443.  thanks for any critiques and ideas.
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
[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: NFS and apache...

2007-05-30 Thread Jonathan Horne
On Wednesday 30 May 2007 17:45:42 Agus wrote:
 2007/5/30, Christopher Hilton [EMAIL PROTECTED]:
  Erik Norgaard wrote:
   How can i do this? I am trying but im getting permission
   denied...while trying to create a file...
  
   NFS is insecure (No File Security) since there is no authentication.
   You get access with the user id of your current user.
 
  I didn't want to touch the security problems with this as I assumed that
the original poster knows about them. Just the same I'm assuming that
  webserver:/etc/exports has a line like:
 
   /usr/local/www/data/mysite -maproot=nobody:nogroup 192.168.233.17
 
  which would tighten down the mount to just the one machine. As a
  developer, without even looking at security I think that direct access
  to the webroot tree is a bad idea. However I'm giving the original
  poster the benefit of the doubt. Perhaps he's just trying to learn HTML
  and PHP.
 
  [snip]
 
   One security measure is implemented though: root user on client is
   treated as nobody on the server. There is an option you can add to the
   exports file (forgot which), to override this see the exports manpage.
  
   Also if you have a different solution for updating the site..they are
   welcome..
  
   Unless you have problems with diskspace, why not just use rsync? Do it
   manually and you get time to correct blunders before they become
   public, or do it as a cronjob.
 
  rsync
  scp,
  dav,
  *** cvs ***
 
  When I work on a website I tend to start with the site directory in cvs
  to protect me from the damage caused by fat fingers. I'm an old C
  programmer and CVS and Make are tools that I'm used to so I usually add
  a really simple make file to the web tree...
 
  * Typical Makefile for web project *
  -- cut from here --
 
  update:
  cvs -PAd .
 
  MYWEBUSER = www
  MYHOST =webserver.example.com
  MYWEBROOT = /usr/local/www/data/webserver.example.com/
 
  publish:
  rsync -auv ./ $(MYWEBUSER)@$(MYHOST):$(MYWEBROOT)
 
  -- to here --
 
  Then running:
 
$ make update
 
  on the webserver from within the webtree will refresh the site from the
  latest copy in CVS. In my opinion this is the best way because with a
  little CVS knowledge you can back out any mistakes. This is also nice
  since it only depends on the ability for both your development machine
  and webserver to be able to reach the cvs server. A final nicety is that
  there are CVS clients for FreeBSD, Windows, and Mac OS X. On the
  downside you do have to setup a cvs server.
 
  Add a  little magic with ssh-keygen and the command:
 
$ make publish
 
  will push the current state of the web project, N.B. whatever it may be,
  onto the webserver. This is a lower overhead way of publishing that has
  the danger of no fallback position in case something is screwed up.
  Honestly I think that the publish tag is better used for testing than
  production but not every is willing to go to the overhead of using
  revision control (CVS, SVN, what have you) on this stuff.
 
  -- Chris
 
  --
 __o  All I was doing was trying to get home from work.
   _`\,_   -Rosa Parks
  ___(*)/_(*)___
  Christopher Sean Hiltonchris | at | vindaloo.com
   pgp key: D0957A2D/f5 30 0a e1 55 76 9b 1f 47 0b 07 e9 75 0e 14

 Great.thanks a lot guysyou've been very kind.
 I will begin reading about rsync and CVS thenit also seems a lot more
 interesting than NFS

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

im a kde user, and i like to access my web server via sftp using the konqueror 
file manager.  just open your home, open another tab, put in 
sftp://yourserver in the address bar... and drag and drop the files where 
they go!
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
[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: Problem building teTeX/cmpsfont

2007-05-30 Thread Nikola Lecic
Hello Erik,

On Wed, 30 May 2007 23:48:23 +0200
Erik Norgaard [EMAIL PROTECTED] wrote:

 Since when did the port stop creating a link to /usr/bin/perl? I
 recall a discussion on ports about whether or not to keep creating
 the link, and IIRC the conclusion was that too many things break
 without the link.
 
 The latest mention of perl in UPDATING is from February last year.

I suggest you to use TeXLive instead of teTeX, since it's no longer
maintained as such. Please visit:

  http://www.tug.org/texlive/

TeXLive comes with precompiled FreeBSD binaries, every package is
up-to-date, so it contains everything of teTeX and much much more.
Installation script is simple and great and will do everything for you.

AFAIK TeXLive will appear in ports tree in the future (see
freebsd-ports@ archive), but in meantime the original distribution from
TUG works flawlessly (I use it daily).

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


trouble with samba

2007-05-30 Thread Jonathan Horne
i recently rebuilt my system after the xorg 7.2 merge.  i built samba3 from 
ports, and loaded my same config from backup.  however, now, when the system 
starts, i get:

[EMAIL PROTECTED] ~]# tail /var/log/messages
May 30 20:09:41 athena kernel: pid 2081 (smbd), uid 0: exited on signal 6
May 30 20:09:41 athena kernel: pid 2082 (smbd), uid 0: exited on signal 6
May 30 20:09:41 athena kernel: pid 2083 (smbd), uid 0: exited on signal 6
May 30 20:09:41 athena kernel: pid 2084 (smbd), uid 0: exited on signal 6
May 30 20:09:41 athena kernel: pid 2085 (smbd), uid 0: exited on signal 6
May 30 20:09:41 athena kernel: pid 2086 (smbd), uid 0: exited on signal 6
May 30 20:09:41 athena kernel: pid 2087 (smbd), uid 0: exited on signal 6
May 30 20:09:41 athena kernel: pid 2088 (smbd), uid 0: exited on signal 6
May 30 20:09:41 athena kernel: pid 2089 (smbd), uid 0: exited on signal 6

and of course, samba doesnt work.  but, if i restart samba, it works fine.  i 
have no idea where to start on this one, does anyone have any ideas as to why 
it would not work right when its started from rc.conf, but if i restart it by 
hand, its fine?

i am currently running samba-3.0.25,1.  started from rc.conf like with 
samba_enable=YES.

thanks for any ideas,
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
[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: trouble with samba

2007-05-30 Thread Grant

Jonathan Horne wrote:
i recently rebuilt my system after the xorg 7.2 merge.  i built samba3 from 
ports, and loaded my same config from backup.  however, now, when the system 
starts, i get:


[EMAIL PROTECTED] ~]# tail /var/log/messages
May 30 20:09:41 athena kernel: pid 2081 (smbd), uid 0: exited on signal 6
May 30 20:09:41 athena kernel: pid 2082 (smbd), uid 0: exited on signal 6
May 30 20:09:41 athena kernel: pid 2083 (smbd), uid 0: exited on signal 6
May 30 20:09:41 athena kernel: pid 2084 (smbd), uid 0: exited on signal 6
May 30 20:09:41 athena kernel: pid 2085 (smbd), uid 0: exited on signal 6
May 30 20:09:41 athena kernel: pid 2086 (smbd), uid 0: exited on signal 6
May 30 20:09:41 athena kernel: pid 2087 (smbd), uid 0: exited on signal 6
May 30 20:09:41 athena kernel: pid 2088 (smbd), uid 0: exited on signal 6
May 30 20:09:41 athena kernel: pid 2089 (smbd), uid 0: exited on signal 6

and of course, samba doesnt work.  but, if i restart samba, it works fine.  i 
have no idea where to start on this one, does anyone have any ideas as to why 
it would not work right when its started from rc.conf, but if i restart it by 
hand, its fine?


i am currently running samba-3.0.25,1.  started from rc.conf like with 
samba_enable=YES.


thanks for any ideas,
  

Hi,

I'm also having the same problem, i've just not noticed as i dont use it 
that oftern..


I get the same..

May 29 18:54:59 fileserver kernel: pid 91976 (smbd), uid 0: exited on 
signal 6
May 29 18:54:59 fileserver kernel: pid 91977 (smbd), uid 0: exited on 
signal 6
May 29 18:54:59 fileserver kernel: pid 91978 (smbd), uid 0: exited on 
signal 6


Mine seemed to go away when i restarted samba.. but i dunno if it will 
return..


I havnt checked to see if i get this when booting as i havnt rebooted 
the box yet...


My version is also the same as yours and i built from ports.

Lets hope someone can help us out :)


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


Re: trouble with samba

2007-05-30 Thread Gerard
On Wednesday May 30, 2007 at 09:20:10 (PM) Jonathan Horne wrote:


 i recently rebuilt my system after the xorg 7.2 merge.  i built samba3 from 
 ports, and loaded my same config from backup.  however, now, when the system 
 starts, i get:
 
 [EMAIL PROTECTED] ~]# tail /var/log/messages
 May 30 20:09:41 athena kernel: pid 2081 (smbd), uid 0: exited on signal 6
 May 30 20:09:41 athena kernel: pid 2082 (smbd), uid 0: exited on signal 6
 May 30 20:09:41 athena kernel: pid 2083 (smbd), uid 0: exited on signal 6
 May 30 20:09:41 athena kernel: pid 2084 (smbd), uid 0: exited on signal 6
 May 30 20:09:41 athena kernel: pid 2085 (smbd), uid 0: exited on signal 6
 May 30 20:09:41 athena kernel: pid 2086 (smbd), uid 0: exited on signal 6
 May 30 20:09:41 athena kernel: pid 2087 (smbd), uid 0: exited on signal 6
 May 30 20:09:41 athena kernel: pid 2088 (smbd), uid 0: exited on signal 6
 May 30 20:09:41 athena kernel: pid 2089 (smbd), uid 0: exited on signal 6
 
 and of course, samba doesnt work.  but, if i restart samba, it works fine.  i 
 have no idea where to start on this one, does anyone have any ideas as to why 
 it would not work right when its started from rc.conf, but if i restart it by 
 hand, its fine?
 
 i am currently running samba-3.0.25,1.  started from rc.conf like with 
 samba_enable=YES.

I had the same problem; however, after doing a cold reboot, the problem
went away. I have no idea why.

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


Squid and c-icap - anyone have a clue for me?

2007-05-30 Thread Kurt Buff

I have a new FreeBSD 6.2-Release box that I've cvsup'ed to a current
ports tree, and installed c-icap from ports - c-icap-030606_3,1, to be
specific. When I try to execute it manually as root, or at boot after
I put:

 c_icap_enable=YES

in /etc/rc.conf, it dumps core.

Does anyone out there work with this?

I want to set up squid with clamav, and this looks like the best bet
for doing it.

I'm open to alternative ways of doing this, however - I'm not set on c-icap.

Reading the web pages on squidclam and hvap didn't seem to show them
as great alternatives, but would be willing to try either if someone
could report success and give a few pointers if asked.

Many Thanks,

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


Re: trouble with samba

2007-05-30 Thread Jonathan Horne
On Wednesday 30 May 2007 20:53:24 Gerard wrote:
 On Wednesday May 30, 2007 at 09:20:10 (PM) Jonathan Horne wrote:
  i recently rebuilt my system after the xorg 7.2 merge.  i built samba3
  from ports, and loaded my same config from backup.  however, now, when
  the system starts, i get:
 
  [EMAIL PROTECTED] ~]# tail /var/log/messages
  May 30 20:09:41 athena kernel: pid 2081 (smbd), uid 0: exited on signal 6
  May 30 20:09:41 athena kernel: pid 2082 (smbd), uid 0: exited on signal 6
  May 30 20:09:41 athena kernel: pid 2083 (smbd), uid 0: exited on signal 6
  May 30 20:09:41 athena kernel: pid 2084 (smbd), uid 0: exited on signal 6
  May 30 20:09:41 athena kernel: pid 2085 (smbd), uid 0: exited on signal 6
  May 30 20:09:41 athena kernel: pid 2086 (smbd), uid 0: exited on signal 6
  May 30 20:09:41 athena kernel: pid 2087 (smbd), uid 0: exited on signal 6
  May 30 20:09:41 athena kernel: pid 2088 (smbd), uid 0: exited on signal 6
  May 30 20:09:41 athena kernel: pid 2089 (smbd), uid 0: exited on signal 6
 
  and of course, samba doesnt work.  but, if i restart samba, it works
  fine.  i have no idea where to start on this one, does anyone have any
  ideas as to why it would not work right when its started from rc.conf,
  but if i restart it by hand, its fine?
 
  i am currently running samba-3.0.25,1.  started from rc.conf like with
  samba_enable=YES.

 I had the same problem; however, after doing a cold reboot, the problem
 went away. I have no idea why.

if i restart it by hand, it seems to stay up until i shut the whole system 
down.  for the sake of trying, i built another system from scratch (minimal 
freebsd load), mounted my ports via nfs (from the computer thats having 
problems, actually), and built samba3 from ports for this other computer.  
copied over the config, smapasswd added myself, and rebooted the computer.  
the error does not occur.

so i figured i would just pkg_delete the samba on the problem computer and 
rebuild it again from ports... no joy.  after i got it built and config'd 
again, same thing on reboot.  the problem computer is a full desktop machine, 
with xorg 7.2 (unlike my other test machine, which only has minimal install).  
could there be something underlying from xorg 7.2 thats affecting the way 
samba starts at boot time, but doesnt affect if it started by hand?  after 
the xorg 7.2 merge, im sure weve all noticed the giant amount of ports cvs 
traffic, and ive even watched several of my apps go from broken to working 
again over the past few days, surely due to the changes related to /usr/X11R6 
to /usr/local/.

/head scratching
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
[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: 6.2/i386 X/DRI issues

2007-05-30 Thread Norberto Meijome
On Thu, 31 May 2007 7:53:39 +1000
Alex R [EMAIL PROTECTED] wrote:

 So I need to 'stable' for DRI to work. If the issue with DRI on the i945 was 
 fixed some time ago, as someone else suggested, why hasn't it been merged 
 into 6.2-Release? 
Because 6.2-RELEASE had already been, ahem, 'released' at the time the fix was 
in place.

 Is there any patch to fix this for 6.2-RELEASE?

sure, update your src tree and rebuild your kernel and world (and install them 
:) ). 

and, just in case, you can find how to do that here:

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

:)

_
{Beto|Norberto|Numard} Meijome

He has no enemies, but is intensely disliked by his friends.
  Oscar Wilde

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: wall-clock time profiling

2007-05-30 Thread Akihiro KAYAMA
In article [EMAIL PROTECTED],
Chuck Swiger [EMAIL PROTECTED] writes:

cswiger Akihiro KAYAMA wrote:
cswiger  Hi all.
cswiger  
cswiger  What is the right way to measure wall-clock time in profiling on 
FreeBSD?
cswiger 
cswiger The time shell builtin command or /usr/bin/time -l _program_?
cswiger 
cswiger The latter variant displays the rusage struct (ie, from man 
getrusage)?

Thanks for your response.

Yes, we can know whether the program is I/O bound or CPU bound by
time(1). But it is still unclear which part of the program is really
waiting for I/O. So profiling is needed for tuning, although CPU time
profiling gives me non-distinct result on I/O bound programs.  It is
reason why I want wall-clock time profiling.

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


Re: Unable to open /nvidiactl

2007-05-30 Thread Sereno Ternullo

ml-vic ha scritto:

(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! Please ensure
(EE) NVIDIA(0): that there is a supported NVIDIA GPU in this system, and
(EE) NVIDIA(0): that the NVIDIA device files have been created properly. 
(EE) NVIDIA(0): Please consult the NVIDIA README for details.

(EE) NVIDIA(0):  *** Aborting ***
(II) UnloadModule: nvidia
(II) UnloadModule: ramdac
(II) UnloadModule: wfb
(II) UnloadModule: fb
(EE) Screen(s) found, but none have a usable configuration.
  


I had a similar problem installing the nvidia driver by using the port 
provided with FreeBSD.
I used to get a message similar to yours. What kind of nvidia card is in 
your system ?


First of all, delete the packate installed by port.

nvidia provides most of old cards support through the legacy driver, 
and you have

to download the appropriate one by getting it on the nvidia site.

type

$ pciconf -lv

to get the exact name of your card.

So get to http://www.nvidia.com/object/unix.html
and search your legacy package between those listed, for example

http://www.nvidia.com/object/freebsd_1.0-9639.html

at the end of each package page you can find the list of nvidia hardware 
supported

by that package, for example

http://www.nvidia.com/object/IO_32667.html

If your card name is in that list, you have found the right package.
Download, untar, make install and  nvdia-xconfig.

On my system everything worked fine this way,
glxgears run pretty fast.

Hope to be useful,
see you

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


Re: 6.2/i386 X/DRI issues

2007-05-30 Thread Alex R
On Thu, 31 May 2007 12:33:35 +1000, Norberto Meijome [EMAIL PROTECTED] wrote:
 sure, update your src tree and rebuild your kernel and world (and install
 them :) ).
 
 and, just in case, you can find how to do that here:
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
 
 :)

I'm not feeling that brave, I got dizzy after reading the first two pages :P


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


Re: 6.2/i386 X/DRI issues

2007-05-30 Thread Robert Huff

Alex R writes:

   sure, update your src tree and rebuild your kernel and world (and install
   them :) ).
   
   and, just in case, you can find how to do that here:
   
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
  
  I'm not feeling that brave, I got dizzy after reading the first
  two pages :P

Follow the instructions carefully, and it's not as scary as it
sounds.  (You will need a backup ... but you have one of those
already right?)


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


Re: wall-clock time profiling

2007-05-30 Thread Bill Campbell
On Thu, May 31, 2007, Akihiro KAYAMA wrote:
In article [EMAIL PROTECTED],
Chuck Swiger [EMAIL PROTECTED] writes:

cswiger Akihiro KAYAMA wrote:
cswiger  Hi all.
cswiger  
cswiger  What is the right way to measure wall-clock time in profiling on 
FreeBSD?
cswiger 
cswiger The time shell builtin command or /usr/bin/time -l _program_?
cswiger 
cswiger The latter variant displays the rusage struct (ie, from man 
getrusage)?

Thanks for your response.

Yes, we can know whether the program is I/O bound or CPU bound by
time(1). But it is still unclear which part of the program is really
waiting for I/O. So profiling is needed for tuning, although CPU time
profiling gives me non-distinct result on I/O bound programs.  It is
reason why I want wall-clock time profiling.

Wall clock time doesn't generally tell you anything reliably
useful on a multi-tasking system as it's very dependent on other
system activity.  I had many fights back in the mid '70s with
people in accounting who wanted to bill wall-clock time on
Burroughs main frames which generally had 20 programs in the mix
at any time (I guess they were accustomed to IBM 360s that
couldn't walk and chew gum at the same time :-).

If I had to measure wall-clock time for proceses, I would
probably write a simple wrapper script to execute the command
getting the system time before and after running the command I
wanted to time:

#!/usr/bin/env python
import os, time
tstart = time.time()
os.system('some command')
tend = time.time()
et = tstart - tend
print et

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

``Lord, the money we do spend on Government and it's not one bit better
than the government we got for one third the money twenty years ago.''
Will Rogers
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


printing a very long-line files with openoffice using letter pages

2007-05-30 Thread Gary Kline
  
   
People,

I have in mind putting, say 6,  8.5x11-inch pages to create
a Large page 25.5x11 on which something would be printed.
Whatever would be printed in a large typescript could be glued
on cardboard or some other solid background.  I'm thinking of one
of my personal meditations or a Shakespearian sonnet or the
Gettysburg address.  I need to know if openoffice has the printer
settings to do this.

Whenever I try to write something in a large font on a letter
sized  page, the lines wrap; this is not what I want!  If
OpenOffice isn't the right application, is there any other?
(I'm copying the -questions FreeBSD list in case they have a
clue.)

thanks for any tips/howto/or other apps!

gary


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