Re: How To create msdosfs on HD?

2010-04-29 Thread Fbsd1

Adam Vande More wrote:

On Thu, Apr 29, 2010 at 6:36 AM, Rod Person  wrote:


On Thu, 29 Apr 2010 09:29:35 -0300, Fbsd1  wrote:


I know mount_msdosfs command is used to mount a HD formated with fat, but
I could not find a FBSD command to create a msdos file system on a hard
drive. Native dos fdisk/format is no good because it's not USB aware. Is
there any FBSD command or port I can use to reformat the UFS hard drive with
msdosfs?



dd if=/dev/zero of=/dev/da0 bs=512k count=10
fdisk -i /dev/da0
newfs_msdos -F32 /dev/da0s1



Thank you very much.
Thats the answer I was hoping for.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: setting ccache path

2010-04-29 Thread Adam Vande More
On Thu, Apr 29, 2010 at 7:33 PM, RW  wrote:

>
> BTW I would suggest you also set  CCACHE_HASH_COMPILER. It's a poorly
> documented FreeBSD extension intended to make world builds more
> cachable. I prefer to set it unconditionally. If you don't then
> building world, even a point release, invalidates the cache of port
> builds.
>

Interesting, I've had problems with that and had ended up not using it for
world builds.  Thanks for including that info.



-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: setting ccache path

2010-04-29 Thread RW
On Thu, 29 Apr 2010 22:58:37 +0100
Chris Whitehouse  wrote:

I tested by timing
> make(1) in a port but I can see it is working anyway
> because /root/.ccache gets created and populated.

You probably want to move that unless  /root/ is on a big partition.

> Am I failing to follow ccache-howto-freebsd.txt or is it telling me 
> something wrong and I should be adding /usr/local/libexec/ccache to 
> roots path in .cshrc and .profile.?

Whatever works. I seem to have commented-out the path in  .cshrc.
 
> Actually I think a better solution would be to set CCACHE_PATH to 
> /usr/local/libexec/ccache 

IIRC  CCACHE_PATH tells ccache where to look for compilers.

> to avoid the shell looking there first for  _every_ command
> invocation,

csh wouldn't anyway, that's why we have to type rehash

BTW I would suggest you also set  CCACHE_HASH_COMPILER. It's a poorly
documented FreeBSD extension intended to make world builds more
cachable. I prefer to set it unconditionally. If you don't then
building world, even a point release, invalidates the cache of port
builds.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: New FreeBSD ports system

2010-04-29 Thread Ashish SHUKLA
Sergio de Almeida Lenzi writes:

[...]

> Interesting project.. but the link to the patches are broken ===>
> http://home.no.net/andenore/patches/

> does someone knows a site with have the patches??? I would like to give
> it a try...

Must be in FreeBSD's perforce repository.

-- 
Sent via Gnus from GNU Emacs

They who can give up essential liberty to obtain a little temporary safety,
deserve neither liberty nor safety.
  -- Benjamin Franklin, Memoirs of the life and writings of Benjamin Franklin


pgpNTscUkdiNe.pgp
Description: PGP signature


Re: Gaming

2010-04-29 Thread Jonathan Chen
On Thu, Apr 29, 2010 at 11:20:28PM +0400, Mikle Krutov wrote:

[...]
> I've played on my nvidia workstation (8400gs) Actually, the only 
> tricky thing about games - installing wine on amd64, everything other 
>  works just as good as it does in linux.

I agree. There's a wiki entry detailing the process:

http://wiki.freebsd.org/Wine#head-6963d527c173e57b1567e881305b544d33435b6d

There are a few problems with the network interfaces on the 32-64 bit
bridge; which will intefere with some network related games (eg: EVE
Online), but on the whole the experience is very positive.

Cheers.
-- 
Jonathan Chen 
--
"If everything's under control, you're going too slow"
  - Mario Andretti
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: New FreeBSD ports system

2010-04-29 Thread Sergio de Almeida Lenzi
Em Qui, 2010-04-29 às 23:27 +0530, Ashish SHUKLA escreveu:

> Aldis Berjoza writes:
> > Hello!
> 
> > Some time ago I've read, that FreeBSD might be interested
> > to move ports tree to database (sqlite?).
> > This would require rewriting of all existing and writing
> > some new tools related to ports.
> 
> I hope pkg_improved[1] GSoC project might interest you.
> 
> [1] - http://wiki.freebsd.org/AndersNore/pkg_improved
> 
> Ashish

Interesting project.. but the link to the patches are broken ===>
http://home.no.net/andenore/patches/

does someone knows a site with have the patches??? I would like to give
it a try...

thanks...


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


Re: Wireless networking question

2010-04-29 Thread Chip Camden
On Apr 26 2010 22:00, Carl Chave wrote:
> > More info:  I found the following in the output of pciconf -vl:
> >
> >
> > no...@pci0:2:0:0:       class=0x028000 card=0x10891a3b chip=0x002b168c 
> > rev=0x01 hdr=0x00
> >    vendor     = 'Atheros Communications Inc.'
> >    class      = network
> 
> >From here:
> http://www.pcidatabase.com/vendor_details.php?id=174
> 

It looks like someone has already patched 8.0-STABLE:

http://forums.freebsd.org/showthread.php?t=6310&highlight=Atheros+AR9285

The link to the .diff file 404's now, though.  How can I get a copy?

Or maybe I should just upgrade to STABLE?

-- 
Sterling (Chip) Camden | camdensoftware.com | chipstips.com | chipsquips.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Using a scanner (USB) as user and not as root

2010-04-29 Thread Warren Block

On Fri, 30 Apr 2010, Roland Smith wrote:

On Thu, Apr 29, 2010 at 03:09:02PM -0600, Warren Block wrote:


One other difference I found in my /etc/devfs.rules:

add path 'ugen*' mode 0660 group operator
add path 'usb/*' mode 0770 group operator


Mode 0660 should be sufficient.


Just tried, and you're right, it is.

Just make sure there is a newline at the end of the last rule! 
Otherwise the shell script that processes them will not see them.


Seems like it ought to append a newline to devfs.rules before processing 
to avoid that type of surprise.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Using a scanner (USB) as user and not as root

2010-04-29 Thread Warren Block

On Thu, 29 Apr 2010, Marco Beishuizen wrote:


On Thu, 29 Apr 2010, Warren Block wrote:


One more problem: there should be a quote at the end of the last line.

attach 100 {
device-name "ugen[0-9].[0-9]";
match "vendor" "0x04b8";
match "product" "0x010a";
action "usb_devaddr=`echo $device-name | sed 's#^ugen##'` && \
chown root:saned /dev/usb/${usb_devaddr}.* && \
chmod 0660 /dev/usb/${usb_devaddr}.*"


Shouldn't there be a ; at the end of the action line also? Because every line 
above ends with it too. I also ended the total attach 100 statement with }; 
because that seems the case in the rest of devd.conf.


Yes, sorry about that.  Next time I'm going to post the whole section 
instead of trying to edit it down.


To see if these changes work I'll have to reboot later because I'm updating 
my ports, and this can take a while...


There's '/etc/rc.d/devd restart', but it's probably not something to 
experiment with during updates.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Using a scanner (USB) as user and not as root

2010-04-29 Thread Roland Smith
On Thu, Apr 29, 2010 at 03:09:02PM -0600, Warren Block wrote:
> On Thu, 29 Apr 2010, Marco Beishuizen wrote:
> 
> > On Thu, 29 Apr 2010, Warren Block wrote:
> >
> >> For the sake of completeness: devd has to be restarted after changes to 
> >> devd.conf, and the code above is only executed when the scanner is 
> >> detected 
> >> (USB cable plugged in or scanner powered on).
> >
> > I rebooted and plugged in the scanner but no changes.
> 
> One other difference I found in my /etc/devfs.rules:
> 
> add path 'ugen*' mode 0660 group operator
> add path 'usb/*' mode 0770 group operator

Mode 0660 should be sufficient. Just make sure there is a newline at the end
of the last rule! Otherwise the shell script that processes them will not see
them. The command 'devfs rule show' will tell you which rules have actually
been created.

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)


pgp5KkfDzykSQ.pgp
Description: PGP signature


setting ccache path

2010-04-29 Thread Chris Whitehouse

Hi

I have just installed devel/ccache. I set up /etc/make.conf , 
/etc/csh.cshrc and /etc/profile according to 
/usr/local/share/doc/ccache/ccache-howto-freebsd.txt to include 
/usr/local/libexec/ccache in roots path but ccache doesn't get used. I 
think it is because roots path is set absolutely in .cshrc so the 
setting is /etc/csh.cshrc gets overridden.


In a terminal if I set roots path to include /usr/local/libexec/ccache 
ccache works. I tested by timing make(1) in a port but I can see it is 
working anyway because /root/.ccache gets created and populated.


Am I failing to follow ccache-howto-freebsd.txt or is it telling me 
something wrong and I should be adding /usr/local/libexec/ccache to 
roots path in .cshrc and .profile.?


Actually I think a better solution would be to set CCACHE_PATH to 
/usr/local/libexec/ccache to avoid the shell looking there first for 
_every_ command invocation, but I'm not sure where is the best place to 
set it. .cshrc and/or .profile?


thanks

Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Using a scanner (USB) as user and not as root

2010-04-29 Thread Marco Beishuizen

On Thu, 29 Apr 2010, Warren Block wrote:


One more problem: there should be a quote at the end of the last line.

attach 100 {
device-name "ugen[0-9].[0-9]";
match "vendor" "0x04b8";
match "product" "0x010a";
action "usb_devaddr=`echo $device-name | sed 's#^ugen##'` && \
chown root:saned /dev/usb/${usb_devaddr}.* && \
chmod 0660 /dev/usb/${usb_devaddr}.*"


Shouldn't there be a ; at the end of the action line also? Because every 
line above ends with it too. I also ended the total attach 100 statement 
with }; because that seems the case in the rest of devd.conf.


To see if these changes work I'll have to reboot later because I'm 
updating my ports, and this can take a while...


Marco

--
I was in this prematurely air conditioned supermarket and there were all
these aisles and there were these bathing caps you could buy that had these
kind of Fourth of July plumes on them that were red and yellow and blue and
I wasn't tempted to buy one but I was reminded of the fact that I had been
avoiding the beach.
-- Lucinda Childs "Einstein On The Beach"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Driver for Belkin F5D9050 V 4000

2010-04-29 Thread Al Plant

Jerry wrote:

On Thu, 29 Apr 2010 09:20:39 -1000
Al  articulated:


Jerry wrote:

On Thu, 29 Apr 2010 16:34:29 +0100
Chris  articulated:


Do you have to use FreeBSD/amd64 instead of FreeBSD/i386? I'm only
asking in case you recently installed, I know it's not an ideal
solution.

Well, no one is holding a gun to my head if that is what you mean.
However, to take advantage of all the memory I have in this system,
as well as the improved overall system performance, yes I do have
to use the 64bit version.

IMHO, 32bit systems are all ready becoming passe. I predict
that they will go the way of the dinosaur in 5 years or less.

I did have i386 installed on this system briefly because there were
no 64bit nVidia drivers available. After switching to 64bit I have
noticed a real improvement in overall system performance.


##

Aloha,

Q:
Are the drivers available for 64bit nvidia cards (imbeded in mobo)? I 
have not found a good how to on line for istalling on FreeBSD 8.*

I have an install that works fine on 64 bit amd until the video
section for desktop use.
Even the DVD Manolis produced doesnt make the video work. It just 
flashaes on for a few seconds then dies off.


Any pointers to a how-to much appreciated.


Port:   nvidia-driver-195.36.15
Path:   /usr/ports/x11/nvidia-driver
Info:   NVidia graphics card binary drivers for hardware OpenGL rendering

Port:   nvidia-settings-195.36.15
Path:   /usr/ports/x11/nvidia-settings
Info:   Display Control Panel for X NVidia driver

Port:   nvidia-xconfig-195.36.15
Path:   /usr/ports/x11/nvidia-xconfig
Info:   Tool to manipulate X configuration files for the NVidia driver


To use these drivers, make sure that you have loaded the nvidia kernel
module, by doing

# kldload nvidia

or adding

nvidia_load="YES"

to your /boot/loader.conf.

If you build this port with WITH_FREEBSD_AGP=yes, make sure you have
agp.ko kernel module installed and loaded, since nvidia.ko will depend
on it, or have your kernel compiled with "device agp".  Otherwise the
nvidia kernel module will not load.  Also, care to specify correct
``Option "NvAGP"'' in ``Device'' section of your X11 configuration file.

When building with Linux compatibility (WITH_LINUX=yes), make sure
linux.ko is available as well (or have it compiled in kernel).  It can
be loaded via /boot/loader.conf (or later in boot process if you add

linux_enable="YES"

to your /etc/rc.conf.

Note that this driver does not support PAE-enabled kernels.



#

Jerry,


Many thanks.

~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD  7.2 - 8.0 - 9* +
  < email: n...@hdk5.net >
"All that's really worth doing is what we do for others."- Lewis Carrol

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


Re: Using a scanner (USB) as user and not as root

2010-04-29 Thread Warren Block

On Thu, 29 Apr 2010, Warren Block wrote:


On Wed, 28 Apr 2010, Warren Block wrote:

You can use devd.conf for this:

attach 100 {
   device-name "ugen[0-9].[0-9]";
   match "vendor" "0x04b8";
   match "product" "0x010a";
   action "usb_devaddr=`echo $device-name | sed 's#^ugen##'` && \
   chown root:saned /dev/usb/${usb_devaddr}.* && \
   chmod 0660 /dev/usb/${usb_devaddr}.*


One more problem: there should be a quote at the end of the last line.

attach 100 {
device-name "ugen[0-9].[0-9]";
match "vendor" "0x04b8";
match "product" "0x010a";
action "usb_devaddr=`echo $device-name | sed 's#^ugen##'` && \
chown root:saned /dev/usb/${usb_devaddr}.* && \
chmod 0660 /dev/usb/${usb_devaddr}.*"

(My fault, my script does other stuff after that.)

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Using a scanner (USB) as user and not as root

2010-04-29 Thread Warren Block

On Thu, 29 Apr 2010, Marco Beishuizen wrote:


On Thu, 29 Apr 2010, Warren Block wrote:

For the sake of completeness: devd has to be restarted after changes to 
devd.conf, and the code above is only executed when the scanner is detected 
(USB cable plugged in or scanner powered on).


I rebooted and plugged in the scanner but no changes.


One other difference I found in my /etc/devfs.rules:

add path 'ugen*' mode 0660 group operator
add path 'usb/*' mode 0770 group operator

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: amavisd - exited on signal 11 - FreeBSD 8 with Perl 5.10

2010-04-29 Thread Hans F. Nordhaug
* Hans F. Nordhaug  [2010-04-29]:
> Hi!
> 
> I have been happily running Postfix with amavisd-new (and Clamav 
> and SpamAssassin) on FreeBSD 7 with Perl 5.8 for a long time. 
> Recently, I upgraded to FreeBSD 8 and rebuilt all ports (after
> updating). Suddenly I saw many 
> kernel: pid x (perl), uid 110: exited on signal 11
> lines in /var/log/messages and mailq returns some messages
> with comments like:
> 
> (lost connection with 127.0.0.1[127.0.0.1] while sending end 
> of data -- message may be sent more than once)
> 
> I Googled and found that this could be related to do_ascii/UUlib
> and disabled do_ascii in /usr/local/etc/amavisd.conf. That didn't fix
> it. Then I read somewhere that this could be caused by problems with
> nested regexp and that Perl 5.10 didn't have that problem. I upgraded
> to Perl 5.10.1 (and rebuild all ports depending on it) and that also
> didn't fix it. Currently all my port are up-to-date.
> 
> I'm trying to log everything - "$sa_debug = 'all';" and 
> "$log_level = 5;" in amavisd.conf, but I don't really see the problem.
> Recent example:
> 
> /var/log/messages
> ==
> Apr 29 22:49:21 myserver kernel: pid 74726 (perl), uid 110: exited on signal 
> 11
> 
> /var/log/debug.log
> ==
> Apr 29 22:49:20 myserver amavis[74726]: Net::Server: 2010/04/29-22:49:20 
> CONNECT TCP Peer: "127.0.0.1:32829" Local: "127.0.0.1:10024"
> Apr 29 22:49:20 myserver amavis[74726]: loaded base policy bank
> [ ... skipped many debug lines from amavis[74726] ... ]
> Apr 29 22:49:20 myserver amavis[74726]: (74726-01) SpamControl: calling spam 
> scanner SpamAssassin
> Apr 29 22:49:20 myserver amavis[74726]: (74726-01) timer set to 320 s for SA 
> (was 480 s)
> Apr 29 22:49:20 myserver amavis[74726]: (74726-01) calling SA parse, SA 
> version 3.3.1, 3.003001, data as GLOB
> Apr 29 22:49:20 myserver amavis[74726]: (74726-01) CALLING SA check
> Apr 29 22:49:21 myserver amavis[10435]: Net::Server: Starting "1" children
> Apr 29 22:49:21 myserver amavis[75502]: Net::Server: Child Preforked (75502)
> Apr 29 22:49:21 myserver amavis[75502]: entered child_init_hook
> Apr 29 22:49:21 myserver amavis[75502]: SpamControl: init_child on 
> SpamAssassin done
> 
> So, is anyone else seeing this? Can you give me any hints? I'm happy to give 
> you more
> input if it is possible to turn on more debugging.

OK, SA seems to log to /var/log/maillog so here we go:

[ ... skipped many "SA dbg" lines ...]
Apr 29 22:49:20 myserver amavis[74726]: (74726-01) SA dbg: locker: safe_lock: 
created /var/amavis/.spamassassin/bayes.lock.nordhaug.priv.no.74726
Apr 29 22:49:20 myserver amavis[74726]: (74726-01) SA dbg: locker: safe_lock: 
trying to get lock on /var/amavis/.spamassassin/bayes with 0 retries
Apr 29 22:49:20 myserver amavis[74726]: (74726-01) SA dbg: locker: safe_lock: 
breaking stale /var/amavis/.spamassassin/bayes.lock: age=1272573511 
now=1272574160
Apr 29 22:49:21 myserver amavis[74726]: (74726-01) SA dbg: locker: safe_lock: 
trying to get lock on /var/amavis/.spamassassin/bayes with 1 retries
Apr 29 22:49:21 myserver amavis[74726]: (74726-01) SA dbg: locker: safe_lock: 
link to /var/amavis/.spamassassin/bayes.lock: link ok
Apr 29 22:49:21 myserver amavis[74726]: (74726-01) SA dbg: bayes: tie-ing to DB 
file R/W /var/amavis/.spamassassin/bayes_toks
Apr 29 22:49:21 myserver amavis[74726]: (74726-01) SA dbg: bayes: tie-ing to DB 
file R/W /var/amavis/.spamassassin/bayes_seen
Apr 29 22:49:21 myserver amavis[74726]: (74726-01) SA dbg: bayes: found bayes 
db version 3
Apr 29 22:49:21 myserver amavis[74726]: (74726-01) SA dbg: locker: 
refresh_lock: refresh /var/amavis/.spamassassin/bayes.lock
Apr 29 22:49:21 myserver postfix/lmtp[75499]: 595818A07C: to=, 
relay=127.0.0.1[127.0.0.1]:10024, delay=1.1, delays=0.06/0.01/0.01/0.98, 
dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while 
sending end of data -- message may be sent more than once)
Apr 29 22:49:21 myserver amavis[75502]: TIMING [total 4 ms] - bdb-open: 4 
(100%)100, rundown: 0 (0%)100

This didn't make it clearer for me, but maybe for you?

Best regards,
Hans
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Using a scanner (USB) as user and not as root

2010-04-29 Thread Warren Block

On Thu, 29 Apr 2010, David DEMELIER wrote:

2010/4/28 Warren Block :

devfs.rules don't apply to devices that are created dynamically after
boot-up.  Or I guess they might be if you reload the ruleset with applyset
after the device is created, but devd is a lot more capable.


from devfs.rules(5) :

NAME
devfs.rules ? devfs configuration information

DESCRIPTION
The devfs.rules file provides an easy way to create and apply devfs(8)
rules, *even for devices that are not available at boot.*

But devfs.rules is specially made for device not available at boot
such as usb keys.


Apparently I was thinking of devfs.conf.  But I have had difficulties 
with devfs.rules and USB devices.


-Warren Block * Rapid City, South Dakota USA___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

amavisd - exited on signal 11 - FreeBSD 8 with Perl 5.10

2010-04-29 Thread Hans F. Nordhaug
Hi!

I have been happily running Postfix with amavisd-new (and Clamav 
and SpamAssassin) on FreeBSD 7 with Perl 5.8 for a long time. 
Recently, I upgraded to FreeBSD 8 and rebuilt all ports (after
updating). Suddenly I saw many 
kernel: pid x (perl), uid 110: exited on signal 11
lines in /var/log/messages and mailq returns some messages
with comments like:

(lost connection with 127.0.0.1[127.0.0.1] while sending end 
of data -- message may be sent more than once)

I Googled and found that this could be related to do_ascii/UUlib
and disabled do_ascii in /usr/local/etc/amavisd.conf. That didn't fix
it. Then I read somewhere that this could be caused by problems with
nested regexp and that Perl 5.10 didn't have that problem. I upgraded
to Perl 5.10.1 (and rebuild all ports depending on it) and that also
didn't fix it. Currently all my port are up-to-date.

I'm trying to log everything - "$sa_debug = 'all';" and 
"$log_level = 5;" in amavisd.conf, but I don't really see the problem.
Recent example:

/var/log/messages
==
Apr 29 22:49:21 nordhaug kernel: pid 74726 (perl), uid 110: exited on signal 11

/var/log/debug.log
==
Apr 29 22:49:20 nordhaug amavis[74726]: Net::Server: 2010/04/29-22:49:20 
CONNECT TCP Peer: "127.0.0.1:32829" Local: "127.0.0.1:10024"
Apr 29 22:49:20 nordhaug amavis[74726]: loaded base policy bank
[ ... skipped many debug lines from amavis[74726] ... ]
Apr 29 22:49:20 nordhaug amavis[74726]: (74726-01) SpamControl: calling spam 
scanner SpamAssassin
Apr 29 22:49:20 nordhaug amavis[74726]: (74726-01) timer set to 320 s for SA 
(was 480 s)
Apr 29 22:49:20 nordhaug amavis[74726]: (74726-01) calling SA parse, SA version 
3.3.1, 3.003001, data as GLOB
Apr 29 22:49:20 nordhaug amavis[74726]: (74726-01) CALLING SA check
Apr 29 22:49:21 nordhaug amavis[10435]: Net::Server: Starting "1" children
Apr 29 22:49:21 nordhaug amavis[75502]: Net::Server: Child Preforked (75502)
Apr 29 22:49:21 nordhaug amavis[75502]: entered child_init_hook
Apr 29 22:49:21 nordhaug amavis[75502]: SpamControl: init_child on SpamAssassin 
done

So, is anyone else seeing this? Can you give me any hints? I'm happy to give 
you more
input if it is possible to turn on more debugging.

Best regards,
Hans

PS! The message is sent eventually - the mail queue doesn't grow. And the server
has a very light load.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Using a scanner (USB) as user and not as root

2010-04-29 Thread Marco Beishuizen

On Thu, 29 Apr 2010, Warren Block wrote:

For the sake of completeness: devd has to be restarted after changes to 
devd.conf, and the code above is only executed when the scanner is detected 
(USB cable plugged in or scanner powered on).


I rebooted and plugged in the scanner but no changes.

Marco

--
I have more hit points that you can possible imagine.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Driver for Belkin F5D9050 V 4000

2010-04-29 Thread Jerry
On Thu, 29 Apr 2010 09:20:39 -1000
Al  articulated:

> Jerry wrote:
> > On Thu, 29 Apr 2010 16:34:29 +0100
> > Chris  articulated:
> > 
> >> Do you have to use FreeBSD/amd64 instead of FreeBSD/i386? I'm only
> >> asking in case you recently installed, I know it's not an ideal
> >> solution.
> > 
> > Well, no one is holding a gun to my head if that is what you mean.
> > However, to take advantage of all the memory I have in this system,
> > as well as the improved overall system performance, yes I do have
> > to use the 64bit version.
> > 
> > IMHO, 32bit systems are all ready becoming passe. I predict
> > that they will go the way of the dinosaur in 5 years or less.
> > 
> > I did have i386 installed on this system briefly because there were
> > no 64bit nVidia drivers available. After switching to 64bit I have
> > noticed a real improvement in overall system performance.
> > 
> ##
> 
> Aloha,
> 
> Q:
> Are the drivers available for 64bit nvidia cards (imbeded in mobo)? I 
> have not found a good how to on line for istalling on FreeBSD 8.*
> I have an install that works fine on 64 bit amd until the video
> section for desktop use.
> Even the DVD Manolis produced doesnt make the video work. It just 
> flashaes on for a few seconds then dies off.
> 
> Any pointers to a how-to much appreciated.

Port:   nvidia-driver-195.36.15
Path:   /usr/ports/x11/nvidia-driver
Info:   NVidia graphics card binary drivers for hardware OpenGL rendering

Port:   nvidia-settings-195.36.15
Path:   /usr/ports/x11/nvidia-settings
Info:   Display Control Panel for X NVidia driver

Port:   nvidia-xconfig-195.36.15
Path:   /usr/ports/x11/nvidia-xconfig
Info:   Tool to manipulate X configuration files for the NVidia driver


To use these drivers, make sure that you have loaded the nvidia kernel
module, by doing

# kldload nvidia

or adding

nvidia_load="YES"

to your /boot/loader.conf.

If you build this port with WITH_FREEBSD_AGP=yes, make sure you have
agp.ko kernel module installed and loaded, since nvidia.ko will depend
on it, or have your kernel compiled with "device agp".  Otherwise the
nvidia kernel module will not load.  Also, care to specify correct
``Option "NvAGP"'' in ``Device'' section of your X11 configuration file.

When building with Linux compatibility (WITH_LINUX=yes), make sure
linux.ko is available as well (or have it compiled in kernel).  It can
be loaded via /boot/loader.conf (or later in boot process if you add

linux_enable="YES"

to your /etc/rc.conf.

Note that this driver does not support PAE-enabled kernels.


-- 
Jerry
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

... this is an awesome sight.  The entire rebel resistance buried under
six million hardbound copies of "The Naked Lunch."


The Firesign Theater
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Gaming

2010-04-29 Thread Gary Kline
On Thu, Apr 29, 2010 at 12:54:34PM -0500, David Kelly wrote:
> On Thu, Apr 29, 2010 at 10:10:20AM -0700, Joe's Morgue wrote:
> > Looking thru your manuals, I have not seen anything about gaming on a
> > FreeBSD machine. ?
> 
> You are not reading the manual correctly. Then *entire* manual is the
> game.  :-)
> 

man, you got THAT rt!

> -- 
> David Kelly N4HHE, dke...@hiwaay.net
> 
> Whom computers would destroy, they must first drive mad.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org  99 44/100% Guaranteed Novel

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


Re: Using a scanner (USB) as user and not as root

2010-04-29 Thread Warren Block

On Thu, 29 Apr 2010, Marco Beishuizen wrote:


On Wed, 28 Apr 2010, Warren Block wrote:


You can use devd.conf for this:

attach 100 {
   device-name "ugen[0-9].[0-9]";
   match "vendor" "0x04b8";
   match "product" "0x010a";
   action "usb_devaddr=`echo $device-name | sed 's#^ugen##'` && \
   chown root:saned /dev/usb/${usb_devaddr}.* && \
   chmod 0660 /dev/usb/${usb_devaddr}.*

Copied from a post on -current or similar; apologies to the author, who 
I've forgotten.  I thought this was in the default devd.conf as an example, 
but it appears not.


devfs.rules don't apply to devices that are created dynamically after 
boot-up.  Or I guess they might be if you reload the ruleset with applyset 
after the device is created, but devd is a lot more capable.


Unfortunately this didn't help either (I replaced the vendor and product with 
the correct digits for my scanner, and the chown with the user name). The usb 
devices are still owned by root and not accessible as user.


For the sake of completeness: devd has to be restarted after changes to 
devd.conf, and the code above is only executed when the scanner is 
detected (USB cable plugged in or scanner powered on).


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Using a scanner (USB) as user and not as root

2010-04-29 Thread David DEMELIER
2010/4/28 Warren Block :
> On Wed, 28 Apr 2010, Marco Beishuizen wrote:
>
>> On Wed, 28 Apr 2010, Roland Smith wrote:
>>
>>> Are the permissions correct? Check with 'ls -l /dev/usb/ /dev/ugen*'.
>>> Is your user-id in the usb group? Check by running 'id' as the normal
>>> user.
>>>
>>> If all that is in order, remove all lines except the three above from
>>> /etc/devfs.rules, and try again.
>>
>> Running id as user looks ok:
>>
>> uid=1001(marco) gid=0(wheel) groups=0(wheel),5(operator),1001(usb)
>>
>> But the permissions are not:
>>
>> ls -l /dev/usb/ /dev/ugen*
>> lrw-rw-r--  1 root  usb  9 Apr 28 19:05 /dev/ugen0.1 -> usb/0.1.0
>> lrw-rw-r--  1 root  usb  9 Apr 28 19:05 /dev/ugen1.1 -> usb/1.1.0
>> lrw-rw-r--  1 root  usb  9 Apr 28 21:05 /dev/ugen1.2 -> usb/1.2.0
>> lrw-rw-r--  1 root  usb  9 Apr 28 21:05 /dev/ugen1.3 -> usb/1.3.0
>> lrw-rw-r--  1 root  usb  9 Apr 28 19:05 /dev/ugen2.1 -> usb/2.1.0
>>
>> /dev/usb/:
>> total 0
>> crw---  1 root  operator    0,  87 Apr 28 19:05 0.1.0
>> crw---  1 root  operator    0,  93 Apr 28 19:05 0.1.1
>> crw---  1 root  operator    0,  89 Apr 28 19:05 1.1.0
>> crw---  1 root  operator    0,  94 Apr 28 19:05 1.1.1
>> crw---  1 root  operator    0, 104 Apr 28 21:05 1.2.0
>> crw---  1 root  operator    0, 105 Apr 28 21:05 1.2.1
>> crw---  1 root  operator    0, 117 Apr 28 21:05 1.3.0
>> crw---  1 root  operator    0, 119 Apr 28 21:05 1.3.1
>> crw---  1 root  operator    0,  91 Apr 28 19:05 2.1.0
>> crw---  1 root  operator    0,  95 Apr 28 19:05 2.1.1
>
> You can use devd.conf for this:
>
> attach 100 {
>        device-name "ugen[0-9].[0-9]";
>        match "vendor" "0x04b8";
>        match "product" "0x010a";
>        action "usb_devaddr=`echo $device-name | sed 's#^ugen##'` && \
>                chown root:saned /dev/usb/${usb_devaddr}.* && \
>                chmod 0660 /dev/usb/${usb_devaddr}.*
>
> Copied from a post on -current or similar; apologies to the author, who I've
> forgotten.  I thought this was in the default devd.conf as an example, but
> it appears not.
>
> devfs.rules don't apply to devices that are created dynamically after
> boot-up.  Or I guess they might be if you reload the ruleset with applyset
> after the device is created, but devd is a lot more capable.
>
from devfs.rules(5) :

NAME
 devfs.rules — devfs configuration information

DESCRIPTION
 The devfs.rules file provides an easy way to create and apply devfs(8)
 rules, *even for devices that are not available at boot.*

But devfs.rules is specially made for device not available at boot
such as usb keys.

> -Warren Block * Rapid City, South Dakota USA
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>



-- 
Demelier David
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Using a scanner (USB) as user and not as root

2010-04-29 Thread Marco Beishuizen

On Wed, 28 Apr 2010, Warren Block wrote:


You can use devd.conf for this:

attach 100 {
   device-name "ugen[0-9].[0-9]";
   match "vendor" "0x04b8";
   match "product" "0x010a";
   action "usb_devaddr=`echo $device-name | sed 's#^ugen##'` && \
   chown root:saned /dev/usb/${usb_devaddr}.* && \
   chmod 0660 /dev/usb/${usb_devaddr}.*

Copied from a post on -current or similar; apologies to the author, who I've 
forgotten.  I thought this was in the default devd.conf as an example, but it 
appears not.


devfs.rules don't apply to devices that are created dynamically after 
boot-up.  Or I guess they might be if you reload the ruleset with applyset 
after the device is created, but devd is a lot more capable.


Unfortunately this didn't help either (I replaced the vendor and product 
with the correct digits for my scanner, and the chown with the user name). 
The usb devices are still owned by root and not accessible as user.


Marco
--
You have the capacity to learn from mistakes.
You'll learn a lot today.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Gaming

2010-04-29 Thread David DEMELIER
2010/4/29 Mikle Krutov :
> On Thu, Apr 29, 2010 at 10:10:20AM -0700, Joe's Morgue wrote:
>> Are there drivers for higher end graphic cards available?
> If it is nvidia: yes, proprietary and pretty good. If it is ATI, only
> opensource xf86-video-ati, that are better than fglrx for work, not for games 
> (e.g.
> less features, but more stability and less bugs).

I don't agree, if compile mesa, gl, and ati with WITHOUT_NOUVEAU
defined you will be able to play various games using real hardware
acceleration ;-)

> --
> Wbr,
> Krutov Mikle
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>



-- 
Demelier David
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Gaming

2010-04-29 Thread Nerius Landys
Some games run natively on FreeBSD with no emulation.  For example
Urban Terror is a first person shooter that fits this category, and
it's very popular.  /usr/ports/games/iourbanterror and it requires
hardware 3D acceleration (nVidia drivers would work well).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Need info about FreeBSD and interrupted system calls for MySQL code

2010-04-29 Thread Dan Nelson
In the last episode (Apr 29), Joerg Bruehe said:
> For some long, unknown time, the MySQL code contains a variable
> "net_retry_count" which is by default set to 10 (ten) for all platforms,
> but to 100 (1 million) for FreeBSD (during configure phase).
> 
> The source code comment about this variable reads
>If a read on a communication port is interrupted, retry this many
>times before giving up.
> 
> The documentation (manual) has this sentence in addition:
>This value should be set quite high on FreeBSD because internal
>interrupts are sent to all threads.
> 
> I read that as
> "On FreeBSD, a thread may receive many more interrupts than on other
> platforms, so an operation which may take some time (like network I/O)
> may be interrupted much more often than on other platforms, and hence
> the retry count should be higher."
> 
> I trust that this comment was valid at the time it was written -
> is it still true for current versions of FreeBSD, or did things change?

I'm pretty sure this is a holdover from when FreeBSD only had a user
pthreads package (libc_r).  libc calls that would normally block got
converted into non-blocking versions and a select() loop would execute
threads as the events they were waiting on occurred.  Incoming signals would
cause all threads waiting on read() to return EINTR.  If you have other
threads doing work and sending/receiving signals, this can add up to a lot
of extra EINTR's.

FreeBSD 5.0 (released in 2003) was the first version to have kernel-based
pthread support, so the original reason for raising net_retry_count has long
since disappeared.

A related question might be, though:  Should that variable even exist? 
EINTR isn't technically a failure, and most programs that read from sockets
simply wrap their read()s in a loop that retries when EINTR is received. 
Only mysql actually counts the number of times through the loop.

-- 
Dan Nelson
dnel...@allantgroup.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


"freebsd-update install" disconnected ssh-session

2010-04-29 Thread Alexender
Hello everybody!
Please answer about what can be if ssh session was disconnected during second 
run of "freebsd-update install". Can I just connect again and run it again? 
What terrible thing can be?.. Because server is faaar-faaar away :((
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Gaming

2010-04-29 Thread Mikle Krutov
On Thu, Apr 29, 2010 at 09:39:58PM +0200, David DEMELIER wrote:
> I don't agree, if compile mesa, gl, and ati with WITHOUT_NOUVEAU
> defined you will be able to play various games using real hardware
> acceleration ;-)
> 
> > --
> > Wbr,
> > Krutov Mikle
> > ___
> -- 
> Demelier David
Well, i didn't say  that you can't. mesa 7.6 rocks, but it still lacks
some 3d-features that fglrx has.

-- 
Wbr,
Krutov Mikle
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Driver for Belkin F5D9050 V 4000

2010-04-29 Thread Al Plant

Jerry wrote:

On Thu, 29 Apr 2010 16:34:29 +0100
Chris  articulated:


Do you have to use FreeBSD/amd64 instead of FreeBSD/i386? I'm only
asking in case you recently installed, I know it's not an ideal
solution.


Well, no one is holding a gun to my head if that is what you mean.
However, to take advantage of all the memory I have in this system, as
well as the improved overall system performance, yes I do have to use
the 64bit version.

IMHO, 32bit systems are all ready becoming passe. I predict
that they will go the way of the dinosaur in 5 years or less.

I did have i386 installed on this system briefly because there were no
64bit nVidia drivers available. After switching to 64bit I have noticed
a real improvement in overall system performance.


##

Aloha,

Q:
Are the drivers available for 64bit nvidia cards (imbeded in mobo)? I 
have not found a good how to on line for istalling on FreeBSD 8.*
I have an install that works fine on 64 bit amd until the video section 
for desktop use.
Even the DVD Manolis produced doesnt make the video work. It just 
flashaes on for a few seconds then dies off.


Any pointers to a how-to much appreciated.

~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD  7.2 - 8.0 - 9* +
  < email: n...@hdk5.net >
"All that's really worth doing is what we do for others."- Lewis Carrol

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


Re: Gaming

2010-04-29 Thread Mikle Krutov

On Thu, Apr 29, 2010 at 08:16:27PM +0200, Balázs Mátéffy wrote:
> On linux there is cedega, but cedega won't be ported to FreeBSD there was an
> old abandoned project to do it, but it died ;\.
Cedega is just polished wine with changed default settings for some
games. E.g. it's based on wine codebase + user-solutions from
appdb.winehq.org and nothing more, as i know.
> 
> Your best bet is wine, but don't expect sky high fps rates, and fireworks,
> FreeBSD is not for gaming...ATM :D.
It is, but not for all the games. On my machine, with nvidia, i've
played wc3, wow, hitman, savage2, mount & blade and some other games 
smoothly with pretty high fps.  Don't know if fps of that games on 
windows was higher.
I've played on my nvidia workstation (8400gs) Actually, the only 
tricky thing about games - installing wine on amd64, everything other 
 works just as good as it does in linux.
> 
> Regards,
> 
> MB.
> 
> 
> 

-- 
Wbr,
Krutov Mikle
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Gaming

2010-04-29 Thread Chip Camden
On Apr 29 2010 12:54, David Kelly wrote:
> On Thu, Apr 29, 2010 at 10:10:20AM -0700, Joe's Morgue wrote:
> > Looking thru your manuals, I have not seen anything about gaming on a
> > FreeBSD machine. ?
> 
> You are not reading the manual correctly. Then *entire* manual is the
> game.  :-)
> 
> -- 

"You are in a maze of twisty little passages, all alike."

-- 
Sterling (Chip) Camden | camdensoftware.com | chipstips.com | chipsquips.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Need info about FreeBSD and interrupted system calls for MySQL code

2010-04-29 Thread Joerg Bruehe
Hi Groggy (whom I didn't contact for too long a time), everybody,


following the advice on your page, I include the FreeBSD list, even
though I'm not subscribed there (hoping it will allow me to post) -
so please, whoever replies, could you please cc: me directly?

Of course, I tried Google, but I didn't find any answers to my question.


For some long, unknown time, the MySQL code contains a variable
"net_retry_count" which is by default set to 10 (ten) for all platforms,
but to 100 (1 million) for FreeBSD (during configure phase).

The source code comment about this variable reads
   If a read on a communication port is interrupted, retry this
   many times before giving up.

The documentation (manual) has this sentence in addition:
   This value should be set quite high on FreeBSD because internal
   interrupts are sent to all threads.


I read that as
"On FreeBSD, a thread may receive many more interrupts than on other
platforms, so an operation which may take some time (like network I/O)
may be interrupted much more often than on other platforms, and hence
the retry count should be higher."

I trust that this comment was valid at the time it was written -
is it still true for current versions of FreeBSD, or did things change?


Thanks for all your hints,
Jörg

-- 
Joerg Bruehe,  MySQL Build Team,  joerg.bru...@sun.com
   (+49 30) 417 01 487
Sun Microsystems GmbH,   Komturstrasse 18a,   D-12099 Berlin
Geschaeftsfuehrer: Juergen Kunz
Amtsgericht Muenchen: HRB161028

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


Re: Why hald causes system to hang up?

2010-04-29 Thread Warren Block

On Thu, 29 Apr 2010, Yuri wrote:


Warren Block wrote:

Do you have AllowEmptyInput in in ServerLayout or ServerFlags of xorg.conf?


I have it:
Section "ServerFlags"
Option "AllowEmptyInput" "no"
EndSection


Using AEI sometimes causes problems with input, like not accepting 
keyboard input until the mouse is moved.  It's not meant to disable hal 
input device detection anyway.  So remove that AEI option.


If you want to disable hal for X input device detection, use
  Option "AutoAddDevices" "off"

But you are running hal, so you could just use it as intended.  See the 
Handbook for setting keyboard type and layout.


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

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Gaming

2010-04-29 Thread Balázs Mátéffy
Hi,

I lolled on the comment from David Kelly :D.
By the way some time in the past I managed to use Counter-Stike 1.6 on wine
with approx 20fps, and without sound :).

On linux there is cedega, but cedega won't be ported to FreeBSD there was an
old abandoned project to do it, but it died ;\.

Your best bet is wine, but don't expect sky high fps rates, and fireworks,
FreeBSD is not for gaming...ATM :D.

Regards,

MB.




On 29 April 2010 19:58, pete wright  wrote:

> On Thu, Apr 29, 2010 at 10:57 AM, pete wright 
> wrote:
> > On Thu, Apr 29, 2010 at 10:10 AM, Joe's Morgue 
> wrote:
> >> Looking thru your manuals, I have not seen anything about gaming on a
> FreeBSD machine.
> >>
> >> Are there drivers for higher end graphic cards available?
> >>
> >
> >
> > nvidia provides a binary blob of their Unix driver for FreeBSD:
> > http://www.nvidia.com/object/freebsd_1.0-4365.html
> >
>
> arg!  wrong URL!
>
> http://www.nvidia.com/object/freebsd-195.36.24.html
>
> -pete
>
>
>
> --
> pete wright
> www.nycbug.org
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Gaming

2010-04-29 Thread Mikle Krutov
On Thu, Apr 29, 2010 at 10:10:20AM -0700, Joe's Morgue wrote:
> Are there drivers for higher end graphic cards available?
If it is nvidia: yes, proprietary and pretty good. If it is ATI, only
opensource xf86-video-ati, that are better than fglrx for work, not for games 
(e.g.
less features, but more stability and less bugs).
-- 
Wbr,
Krutov Mikle
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Gaming

2010-04-29 Thread pete wright
On Thu, Apr 29, 2010 at 10:57 AM, pete wright  wrote:
> On Thu, Apr 29, 2010 at 10:10 AM, Joe's Morgue  wrote:
>> Looking thru your manuals, I have not seen anything about gaming on a 
>> FreeBSD machine.
>>
>> Are there drivers for higher end graphic cards available?
>>
>
>
> nvidia provides a binary blob of their Unix driver for FreeBSD:
> http://www.nvidia.com/object/freebsd_1.0-4365.html
>

arg!  wrong URL!

http://www.nvidia.com/object/freebsd-195.36.24.html

-pete



-- 
pete wright
www.nycbug.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Gaming

2010-04-29 Thread pete wright
On Thu, Apr 29, 2010 at 10:10 AM, Joe's Morgue  wrote:
> Looking thru your manuals, I have not seen anything about gaming on a FreeBSD 
> machine.
>
> Are there drivers for higher end graphic cards available?
>


nvidia provides a binary blob of their Unix driver for FreeBSD:
http://www.nvidia.com/object/freebsd_1.0-4365.html

Regarding games in particular - it really depends on which game you
are looking to play, and what it's requirements are.  I have played
HalfLife2 via wine emulation on FreeBSD using the nvidia driver for
example.

HTH
-pete

-- 
pete wright
www.nycbug.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Gaming

2010-04-29 Thread David Kelly
On Thu, Apr 29, 2010 at 10:10:20AM -0700, Joe's Morgue wrote:
> Looking thru your manuals, I have not seen anything about gaming on a
> FreeBSD machine. ?

You are not reading the manual correctly. Then *entire* manual is the
game.  :-)

-- 
David Kelly N4HHE, dke...@hiwaay.net

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Gaming

2010-04-29 Thread Joe's Morgue
Looking thru your manuals, I have not seen anything about gaming on a FreeBSD 
machine.
 
Are there drivers for higher end graphic cards available?



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


Re: Why hald causes system to hang up?

2010-04-29 Thread Yuri

Warren Block wrote:
Do you have AllowEmptyInput in in ServerLayout or ServerFlags of 
xorg.conf?



I have it:
Section "ServerFlags"
Option "AllowEmptyInput" "no"
EndSection


Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Bacula 5.0 compiler error (crypto.c)

2010-04-29 Thread Efren Bravo
Hi,

I didn't check the releases, so, I have just installed bacula 5.0.1 thanks to 
the patches:

http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/144507
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/145642


I'm going to see how to install 5.0.2.

Thanks you for your help.
Bye



--- El jue, 29/4/10, Brian A. Seklecki (NOC)  
escribió:

> De: Brian A. Seklecki (NOC) 
> Asunto: Re: Bacula 5.0 compiler error (crypto.c)
> Para: "Efren Bravo" 
> CC: "freeBSD" 
> Fecha: jueves, 29 de abril, 2010 07:50
> On Mon, 2010-04-26 at 09:48 -0400,
> Brian A. Seklecki (CFI NOC) wrote:
> > On 4/26/2010 9:05 AM, Efren Bravo wrote:
> > > I've OpenSSL 1.0.0 installed and ports up2date.
> > >
> > > My server is on production, so, What do you think
> I should do in my case?
> > >
> > 
> > Okay yea you'll need 5.0.1 and a copy of K&R or
> Stevens` APUE to help 
> > hold you down. [1]
> > 
> 
> Efren:
> 
> 5.0.2 was released two days ago and supposedly fixes bugs
> with ABI/API
> breakage in OpenSSL 1.x.
> 
> ~~BAS
> 
> --
> 
> This 5.0.2 version is primarily an important bug fix update
> to version
> 5.0.1.
> 
> Please read the full ReleaseNotes.
> 
> Compatibility:
> --
>  As always, both the Director and Storage daemon must be
> upgraded at
>  the same time.
> 
>  Older 5.0.x and 3.0.x File Daemons are compatible with the
> 5.0.2
>  Director and Storage daemons. There should be no need to
> upgrade older
> File
>  Daemons.
> 
> Changes since 5.0.1
> ---
> 
> Bug fixes
> 1502 1511 1517 1524 1527 1532 1536 1541 1549 1551 1553 1559
> 1560
> 
> - Probable fix for SD crash bug #1553
> - Fix #1559 problem when restoring pruned jobs with a
> regexp
> - Fix for bug #1560 bcopy cannot find Volume
> - Fix cancel crash bug #1551
> - Check if sql backend is thread-safe
> - Correct Pool display in SD status. Fixes bug #1541
> - Fix cancel crash reported by Stephen Thompson
> - Rewind on close to fix #1549
> - Remove closelog() in bpipe fixes bug #1536
> - Fix #1517 about missing Base level in .level command
> - Replace ASSERT in block.c with fail Job
> - Fix database locking calling db_lock and returning from
> function
> without
>   calling db_unlock.
> - Add missing db_unlock to bvfs_update_cache.
> - Fix #1532 about permission on binaries
> - Fix #1527 about deadlock during migration
> - Another fix for OpenSSLv1
> - Add -lrt to Solaris links
> - Fix tls.c for OpenSSLv1
> - Fix #1511 when trying to insert more than 50.000
> directories in bvfs
> - Fix plugin load not to stop if one plugin bad -- pointed
> out by James
> - Remove --without-qwt from configure statement.
> - Second correct fix to bug #1524 verify fails after adding
> or removing
> files
> - Fix bug #1524 verify fails after adding or removing
> files
> - Apply fix suggested by Andreas in bug #1502 for mediaview
> column sort 
> problem
> - Fix OpenSSL 1.x problem in crypto.c on Fedora 12
> - Display AllowCompress warning message only if compression
> used in
> FileSet
> 
> Thanks for using Bacula   :-)
> 
> 
> 
> ___
> freebsd-questions@freebsd.org
> mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
> 



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


Re: Driver for Belkin F5D9050 V 4000

2010-04-29 Thread Jerry
On Thu, 29 Apr 2010 16:34:29 +0100
Chris  articulated:

> Do you have to use FreeBSD/amd64 instead of FreeBSD/i386? I'm only
> asking in case you recently installed, I know it's not an ideal
> solution.

Well, no one is holding a gun to my head if that is what you mean.
However, to take advantage of all the memory I have in this system, as
well as the improved overall system performance, yes I do have to use
the 64bit version.

IMHO, 32bit systems are all ready becoming passe. I predict
that they will go the way of the dinosaur in 5 years or less.

I did have i386 installed on this system briefly because there were no
64bit nVidia drivers available. After switching to 64bit I have noticed
a real improvement in overall system performance.

-- 
Jerry
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

Q:  Why does Washington have the most lawyers per capita and
New Jersey the most toxic waste dumps?
A:  God gave New Jersey first choice.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: 8.0 upgrade & geometry does not match label

2010-04-29 Thread Michael Powell
Reinhard Haller wrote:

> Hi,
> 
> as far as I know my disk is not operating in dangerously dedicated mode.
> Despite this I'm unable to upgrade to freebsd 8.0. Here is what the
> gpart, mount, bsdlabel say.
> 
[snip]
> 
> I remember problems with the initial sysinstall because of geometry
> problems -- the only way to get FreeBSD installed was to dedicate all of
> the available space to FreeBSD.

The geometry warnings are mostly a cosmetic error and generally can be 
ignored. Especially the one in sysinstall.
 
> I've found a suggested solution to repair the mbr/label problem with
> 
> dd if=/dev/zero of=/dev/ad4 count=1 oseek=1
> 
> and a warning not trying it on boot disks.
> 
> Is there a better / safer solution around?
> 
If there is I do not know of it. This is what I did when I had this problem:

http://www.mail-archive.com/freebsd-questions@freebsd.org/msg227610.html

-Mike


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


Re: Driver for Belkin F5D9050 V 4000

2010-04-29 Thread Chris Rees
On 29 April 2010 15:20, Jerry  wrote:
>
> You did notice that those are not the chip-sets in the device I am
> inquiring about. Anyway, I did try the rum driver without success. I
> will have to investigate it further. Unfortunately, I cannot just use a
> Windows driver since I have an AMD64 system and NDIS does not support
> that from what I have been told.
>
>

Do you have to use FreeBSD/amd64 instead of FreeBSD/i386? I'm only
asking in case you recently installed, I know it's not an ideal
solution.

Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


CUPS in ports (e.g., v1.4.3) --disable-gssapi WHY??

2010-04-29 Thread William Bulley
I recall building CUPS from ports last Fall (9/2009) at version 1.3.10
or 1.3.11 which had GSSAPI (Kerberos 5) support as an option.

Today, the cups-base-1.4.3 port specifically excludes GSSAPI support
(--disable-gssapi in the Makefile) which means CUPS cannot perform
Kerberos authentication (to get a ticket granting ticket for printing).

Why is this the case?  Can someone elaborate on this, or point me to
the correct forum to get an answer?  Thanks in advance.

Regards,

web...

--
William Bulley Email: w...@umich.edu

72 characters width template ->|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: How To create msdosfs on HD?

2010-04-29 Thread Bobby Walker



Sent from my iPhone

On Apr 29, 2010, at 9:13 AM, Fbsd1  wrote:


Rod Person wrote:
On Thu, 29 Apr 2010 09:29:35 -0300, Fbsd1   
wrote:
I know mount_msdosfs command is used to mount a HD formated with  
fat, but I could not find a FBSD command to create a msdos file  
system on a hard drive. Native dos fdisk/format is no good because  
it's not USB aware. Is there any FBSD command or port I can use to  
reformat the UFS hard drive with msdosfs?

___

Why can't you format it in XP since you connected it to XP?
Because like I say in the first part of post you snipped out that xp  
does not assign a drive letter to it.

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




In XP the drive should be visible in the disk manager via  
administration tools.  It'll assign a drive letter after you you do a  
fat32 or ntfs format on either a single partition or the entire drive.

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


Re: 8.0 upgrade & geometry does not match label

2010-04-29 Thread Marcel Moolenaar

On Apr 29, 2010, at 6:07 AM, Reinhard Haller wrote:

> Hi,
> 
> as far as I know my disk is not operating in dangerously dedicated mode.
> Despite this I'm unable to upgrade to freebsd 8.0.

Please explain how or why you can't upgrade. The information you gave
does not point towards any problems. All looks good.

Also, the subject line mentions "geometry does not match label", but
you did not mention anything it in your email about it. Again, it
by itself does not indicate a problem.

Thanks,

-- 
Marcel Moolenaar
xcl...@mac.com



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


Re: Driver for Belkin F5D9050 V 4000

2010-04-29 Thread Jerry
On Thu, 29 Apr 2010 06:56:20 -0700
Craig  articulated:

> On Thu, April 29, 2010 6:53 am, Craig Whipp wrote:
> > On Tue, April 27, 2010 3:44 am, Carmel wrote:
> >> I am trying to get a Belkin Wireless G Plus MIMI USB Network
> >> Adapter, version 4000 to work. I contacted Belkin, and they gave
> >> me the following information:
> >>
> >> The chipset used in a adapter F5D9050 V 4000 is Ralink RT2671F,
> >> RT2528L (RT73).
> >>
> >> I have not been able locate a driver for that chipset. Does anyone
> >> else have that particular USB device working or know where I can
> >> locate a driver for it?
> >>
> >> I have FreeBSD-8, amd64 installed.
> >>
> >
> > Try the rum driver, snipped from the man page:
> >
> > "The rum driver supports USB 2.0 and PCI Express Mini Card wireless
> > adapters based on the Ralink RT2501USB and RT2601USB chipsets."
> >
> > "The RT2601USB chipset consists of two integrated chips, an RT2671
> > MAC/BBP and an RT2527 or RT5225 radio transceiver."
> >
> >
> >
> My apologies to the list, in my haste, I pasted the wrong line, I
> meant to include this one:
> 
> "The RT2501USB chipset is the second generation of 802.11a/b/g
> adapters from Ralink.  It consists of two integrated chips, an
> RT2571W MAC/BBP and an RT2528 or RT5226 radio transceiver."

You did notice that those are not the chip-sets in the device I am
inquiring about. Anyway, I did try the rum driver without success. I
will have to investigate it further. Unfortunately, I cannot just use a
Windows driver since I have an AMD64 system and NDIS does not support
that from what I have been told.


-- 
Jerry
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

The British are coming!  The British are coming!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: How To create msdosfs on HD?

2010-04-29 Thread Fbsd1

Rod Person wrote:

On Thu, 29 Apr 2010 09:29:35 -0300, Fbsd1  wrote:
I know mount_msdosfs command is used to mount a HD formated with fat, 
but I could not find a FBSD command to create a msdos file system on a 
hard drive. Native dos fdisk/format is no good because it's not USB 
aware. Is there any FBSD command or port I can use to reformat the UFS 
hard drive with msdosfs?

___


Why can't you format it in XP since you connected it to XP?

Because like I say in the first part of post you snipped out that xp 
does not assign a drive letter to it.

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


Re: nfe0 startup

2010-04-29 Thread Adam Vande More
On Thu, Apr 29, 2010 at 8:23 AM, Robert Jenssen <
robertjens...@ozemail.com.au> wrote:

> Hi,
>
> I am using a mother board with a NVIDIA MCP9 network chip on an AMD64
> motherboard. Here is the output of dmesg:
>
> 
>
> Also the nfs mounts are now OK.
>
> It seems that nfe0 takes a while to get started. I am lucky that ntpdate is
> called and delays things for long enough to allow nfe0 to startup. Without a
> failing call to ntpdate the subsequent nfs mount fails and I get the
> single-user prompt.
>
> Is there a better way than relying on ntpdate failing?
>

What does rc.conf have to say about nfe0?

-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Driver for Belkin F5D9050 V 4000

2010-04-29 Thread Craig Whipp
On Thu, April 29, 2010 6:53 am, Craig Whipp wrote:
> On Tue, April 27, 2010 3:44 am, Carmel wrote:
>> I am trying to get a Belkin Wireless G Plus MIMI USB Network Adapter,
>> version 4000 to work. I contacted Belkin, and they gave me the
>> following information:
>>
>> The chipset used in a adapter F5D9050 V 4000 is Ralink RT2671F, RT2528L
>> (RT73).
>>
>> I have not been able locate a driver for that chipset. Does anyone else
>> have that particular USB device working or know where I can locate a
>> driver for it?
>>
>> I have FreeBSD-8, amd64 installed.
>>
>
> Try the rum driver, snipped from the man page:
>
> "The rum driver supports USB 2.0 and PCI Express Mini Card wireless
> adapters based on the Ralink RT2501USB and RT2601USB chipsets."
>
> "The RT2601USB chipset consists of two integrated chips, an RT2671 MAC/BBP
> and an RT2527 or RT5225 radio transceiver."
>
>
>
My apologies to the list, in my haste, I pasted the wrong line, I meant to
include this one:

"The RT2501USB chipset is the second generation of 802.11a/b/g adapters
from Ralink.  It consists of two integrated chips, an RT2571W MAC/BBP and
an RT2528 or RT5226 radio transceiver."


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


Re: Driver for Belkin F5D9050 V 4000

2010-04-29 Thread Craig Whipp
On Tue, April 27, 2010 3:44 am, Carmel wrote:
> I am trying to get a Belkin Wireless G Plus MIMI USB Network Adapter,
> version 4000 to work. I contacted Belkin, and they gave me the
> following information:
>
> The chipset used in a adapter F5D9050 V 4000 is Ralink RT2671F, RT2528L
> (RT73).
>
> I have not been able locate a driver for that chipset. Does anyone else
> have that particular USB device working or know where I can locate a
> driver for it?
>
> I have FreeBSD-8, amd64 installed.
>

Try the rum driver, snipped from the man page:

"The rum driver supports USB 2.0 and PCI Express Mini Card wireless
adapters based on the Ralink RT2501USB and RT2601USB chipsets."

"The RT2601USB chipset consists of two integrated chips, an RT2671 MAC/BBP
and an RT2527 or RT5225 radio transceiver."



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


nfe0 startup

2010-04-29 Thread Robert Jenssen
Hi,

I am using a mother board with a NVIDIA MCP9 network chip on an AMD64 
motherboard. Here is the output of dmesg:

 
Copyright (c) 1992-2010 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.0-STABLE #1: Fri Apr  9 15:20:00 EST 2010
r...@x:/usr/obj/usr/src/sys/ECLIPSE i386
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Opteron(tm) Processor 148 (2211.35-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x20f71  Family = f  Model = 27  Stepping = 1
  
Features=0x78bfbff
  Features2=0x1
  AMD Features=0xe2500800
  AMD Features2=0x1
real memory  = 1073741824 (1024 MB)
avail memory = 1041534976 (993 MB)
ACPI APIC Table: 
ioapic0  irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0:  on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, 3fef (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0:  on acpi0
acpi_button0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pci0:  at device 0.0 (no driver attached)
isab0:  at device 1.0 on pci0
isa0:  on isab0
pci0:  at device 1.1 (no driver attached)
ohci0:  mem 0xfe02f000-0xfe02 irq 21 at 
device 2.0 on pci0
ohci0: [ITHREAD]
usbus0:  on ohci0
ehci0:  mem 0xfeb0-0xfeb000ff irq 22 at 
device 2.1 on pci0
ehci0: [ITHREAD]
usbus1: EHCI version 1.0
usbus1:  on ehci0
pci0:  at device 4.0 (no driver attached)
atapci0:  port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe800-0xe80f at device 6.0 on pci0
ata0:  on atapci0
ata0: [ITHREAD]
ata1:  on atapci0
ata1: [ITHREAD]
atapci1:  port 
0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xd400-0xd40f mem 
0xfe02c000-0xfe02cfff irq 21 at device 7.0 on pci0
atapci1: [ITHREAD]
ata2:  on atapci1
ata2: [ITHREAD]
ata3:  on atapci1
ata3: [ITHREAD]
atapci2:  port 
0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xc000-0xc00f mem 
0xfe02b000-0xfe02bfff irq 22 at device 8.0 on pci0
atapci2: [ITHREAD]
ata4:  on atapci2
ata4: [ITHREAD]
ata5:  on atapci2
ata5: [ITHREAD]
pcib1:  at device 9.0 on pci0
pci1:  on pcib1
vgapci0:  port 0xac00-0xacff mem 
0xfb00-0xfbff,0xfcfff000-0xfcff irq 19 at device 5.0 on pci1
fwohci0:  port 0xa800-0xa87f mem 0xfcffe000-0xfcffe7ff 
irq 18 at device 6.0 on pci1
fwohci0: [ITHREAD]
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 .
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0:  on fwohci0
dcons_crom0:  on firewire0
dcons_crom0: bus_addr 0x3ed64000
fwe0:  on firewire0
if_fwe0: Fake Ethernet address: ...
fwe0: Ethernet address: 
fwip0:  on firewire0
fwip0: Firewire address: .. @ 0xfffe, S400, maxrec 2048
fwohci0: Initiate bus reset
fwohci0: fwohci_intr_core: BUS reset
fwohci0: fwohci_intr_core: node_id=0x, SelfID Count=1, CYCLEMASTER mode
nfe0:  port 0xbc00-0xbc07 mem 
0xfe02a000-0xfe02afff irq 23 at device 10.0 on pci0
miibus0:  on nfe0
e1000phy0:  PHY 1 on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
nfe0: Ethernet address: 
nfe0: [FILTER]
pcib2:  at device 11.0 on pci0
pci2:  on pcib2
pcib3:  at device 12.0 on pci0
pci3:  on pcib3
pcib4:  at device 13.0 on pci0
pci4:  on pcib4
pcib5:  at device 14.0 on pci0
pci5:  on pcib5
acpi_tz0:  on acpi0
atrtc0:  port 0x70-0x73 irq 8 on acpi0
pmtimer0 on isa0
orm0:  at iomem 
0xc-0xc7fff,0xc8000-0xcbfff,0xcc000-0xcd7ff pnpid ORM on isa0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
atkbdc0:  at port 0x60,0x64 on isa0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
ppc0: parallel port not found.
powernow0:  on cpu0
Timecounter "TSC" frequency 2211345268 Hz quality 800
Timecounters tick every 1.000 msec
firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0)  (me) 
firewire0: bus manager 0 
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 480Mbps High Speed USB v2.0
ad4: 76319MB  at ata2-master UDMA100 SATA 3Gb/s
ugen0.1:  at usbus0
uhub0:  on usbus0
ugen1.1:  at usbus1
uhub1:  on usbus1
uhub0: 8 ports with 8 removable, self powered
uhub1: 8 ports with 8 removable, self powered
unknown: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 
(probe0:ata0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 
(probe0:ata0:0:0:0): CAM status: SCSI Status Error
(probe0:ata0:0:0:0): SCSI status: Check Condition
(probe0:ata0:0:0:0): SCSI sense: NOT READY asc:3a,1 (Medium not present - tray 
closed)
cd0 at ata0 bus 0 scbus0 target 0 lun 0
cd0:  Removable CD-ROM SCSI-0 device 
cd0: 3.300MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not presen

Re: Convert Windows driver via ndisgen

2010-04-29 Thread Paul B Mahol
On Thu, Apr 29, 2010 at 12:13 PM, Jerry  wrote:
> On Thu, 29 Apr 2010 11:36:35 +
> Paul  articulated:
>
>> On Thu, Apr 29, 2010 at 11:00 AM, Jerry 
>> wrote:
>> > Apparently, FreeBSD does not have a driver for a Linksys WUSB600N
>> > network adapter. I was thinking of using the ndisgen utility to
>> > create a driver via the WinXP version. I have three questions.
>> >
>> > 1) The WinXP driver was for an x386 machine. I have a
>> > FreeBSD-8/amd64 PC. From man NDIS(4):
>> >
>> > "Note that this means the ndis driver is only useful on x86
>> > machines."
>> >
>> > Am I therefore to assume that even if I do convert the Windows
>> > Driver to FreeBSD form, it will not work?
>>
>> You can not use 32bit driver on 64bit OS, NDISulator will panic (I
>> have patch for that if anybody is interested in comitting it).
>
> OK, suppose I get the 64bit Windows driver. Could I convert that to one
> FreeBSD could use?
Yes, but note that NDISulator have problems on amd64 with some drivers.
>
> Why can't you submit the patch yourself?
http://gitorious.org/NDISulator

>> >
>> > 2) If I do successfully extract the driver, is there any way that I
>> > can have it compiled directly into the kernel as opposed to having
>> > it loaded via kldload?
>>
>> It is possible but not practical.
>
> Why? It would seem like a natural extension of the entire process.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Convert Windows driver via ndisgen

2010-04-29 Thread Warren Block

On Thu, 29 Apr 2010, Jerry wrote:


Apparently, FreeBSD does not have a driver for a Linksys WUSB600N
network adapter.


If it has an RT2870 chipset, there's been some work:
http://forums.freebsd.org/showthread.php?t=7010

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Why hald causes system to hang up?

2010-04-29 Thread Warren Block

On Thu, 29 Apr 2010, Yuri wrote:

I enabled hald: hald_enable="YES" in /etc/rc.conf. This fixed the problem 
with kdm which otherwise always fails during the first login attempt.


But hald caused few unintended consequences:

periodic hangups: system becomes unresponsive for a few seconds around every 
15 seconds, especially when I type in KDE konsole.

string in konsole doesn't get selected any more when I double click on it.

Anybody has any insight why hald would cause such consequences?


Do you have AllowEmptyInput in in ServerLayout or ServerFlags 
of xorg.conf?


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: nvidia module startup (solved)

2010-04-29 Thread sean

Found the problem, a format error in my device.hints.

Thanks all for the replies.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


8.0 upgrade & geometry does not match label

2010-04-29 Thread Reinhard Haller
Hi,

as far as I know my disk is not operating in dangerously dedicated mode.
Despite this I'm unable to upgrade to freebsd 8.0. Here is what the
gpart, mount, bsdlabel say.

gpart show
=>   63  488397105  ad4  MBR  (233G)
 63  4883920021  freebsd  [active]  (233G)
  488392065   5103   - free -  (2.5M)

=>0  488392002  ad4s1  BSD  (233G)
  02097152  1  freebsd-ufs  (1.0G)
2097152   16777216  2  freebsd-swap  (8.0G)
   18874368   16777216  4  freebsd-ufs  (8.0G)
   356515844194304  5  freebsd-ufs  (2.0G)
   39845888   83886080  6  freebsd-ufs  (40G)
  123731968  188743680  7  freebsd-ufs  (90G)
  312475648  175916354 - free -  (84G)

mount
/dev/ad4s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/ad4s1g on /jails (ufs, local, soft-updates)
/dev/ad4s1e on /tmp (ufs, local, soft-updates)
/dev/ad4s1f on /usr (ufs, local, soft-updates)
/dev/ad4s1d on /var (ufs, local, soft-updates)

bsdlabel ad4
bsdlabel: /dev/ad4: no valid label found

bsdlabel ad4s1
# /dev/ad4s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  2097152   634.2BSD0 0 0
  b: 16777216  2097215  swap
  c: 488392002   63unused0 0 # "raw" part,
don't edit
  d: 16777216 188744314.2BSD0 0 0
  e:  4194304 356516474.2BSD0 0 0
  f: 83886080 398459514.2BSD0 0 0
  g: 188743680 1237320314.2BSD0 0 0
partition c: partition extends past end of unit
bsdlabel: partition c doesn't start at 0!
bsdlabel: An incorrect partition c may cause problems for standard
system utilities

I remember problems with the initial sysinstall because of geometry
problems -- the only way to get FreeBSD installed was to dedicate all of
the available space to FreeBSD.

I've found a suggested solution to repair the mbr/label problem with

dd if=/dev/zero of=/dev/ad4 count=1 oseek=1

and a warning not trying it on boot disks.

Is there a better / safer solution around?

Thanks
Reinhard

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


Re: How To create msdosfs on HD?

2010-04-29 Thread Adam Vande More
On Thu, Apr 29, 2010 at 6:36 AM, Rod Person  wrote:

> On Thu, 29 Apr 2010 09:29:35 -0300, Fbsd1  wrote:
>
>> I know mount_msdosfs command is used to mount a HD formated with fat, but
>> I could not find a FBSD command to create a msdos file system on a hard
>> drive. Native dos fdisk/format is no good because it's not USB aware. Is
>> there any FBSD command or port I can use to reformat the UFS hard drive with
>> msdosfs?
>
>
dd if=/dev/zero of=/dev/da0 bs=512k count=10
fdisk -i /dev/da0
newfs_msdos -F32 /dev/da0s1

-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: How To create msdosfs on HD?

2010-04-29 Thread Rod Person

On Thu, 29 Apr 2010 09:29:35 -0300, Fbsd1  wrote:
I know mount_msdosfs command is used to mount a HD formated with fat,  
but I could not find a FBSD command to create a msdos file system on a  
hard drive. Native dos fdisk/format is no good because it's not USB  
aware. Is there any FBSD command or port I can use to reformat the UFS  
hard drive with msdosfs?

___


Why can't you format it in XP since you connected it to XP?

--
Rod

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


How To create msdosfs on HD?

2010-04-29 Thread Fbsd1
I have an old IDE 3.5 hard drive with FBSD Release 7.0 on it. I want to 
use it for USB disk space on XP. I bought a 'CD-r king' hard drive to 
USB cable. It will work with 2.5 & 3.5 IDE drives and sata drives. When 
I plug the USB end of the cable into a FBSD system I can mount the 3.5 
IDE 7.0 HD's da0s1a, da0s1d, da0s1e and da0s1f file systems with no 
problem. But when I plug the same drive into a XP system the USB drive 
shows in system/devices/hard drives as there but windows explorer does 
not assign a drive letter for it. I'm thinking this is because the hard 
drive has UFS format and maybe it I reformat it to fat format xp will 
assign a drive letter to it.


I know mount_msdosfs command is used to mount a HD formated with fat, 
but I could not find a FBSD command to create a msdos file system on a 
hard drive. Native dos fdisk/format is no good because it's not USB 
aware. Is there any FBSD command or port I can use to reformat the UFS 
hard drive with msdosfs?

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


Re: Convert Windows driver via ndisgen

2010-04-29 Thread Jerry
On Thu, 29 Apr 2010 11:36:35 +
Paul  articulated:

> On Thu, Apr 29, 2010 at 11:00 AM, Jerry 
> wrote:
> > Apparently, FreeBSD does not have a driver for a Linksys WUSB600N
> > network adapter. I was thinking of using the ndisgen utility to
> > create a driver via the WinXP version. I have three questions.
> >
> > 1) The WinXP driver was for an x386 machine. I have a
> > FreeBSD-8/amd64 PC. From man NDIS(4):
> >
> > "Note that this means the ndis driver is only useful on x86
> > machines."
> >
> > Am I therefore to assume that even if I do convert the Windows
> > Driver to FreeBSD form, it will not work?
> 
> You can not use 32bit driver on 64bit OS, NDISulator will panic (I
> have patch for that if anybody is interested in comitting it).

OK, suppose I get the 64bit Windows driver. Could I convert that to one
FreeBSD could use?

Why can't you submit the patch yourself?

> >
> > 2) If I do successfully extract the driver, is there any way that I
> > can have it compiled directly into the kernel as opposed to having
> > it loaded via kldload?
> 
> It is possible but not practical.

Why? It would seem like a natural extension of the entire process.

-- 
Jerry
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

How wonderful opera would be if there were no singers.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: nvidia module startup

2010-04-29 Thread sean

On 04/28/10 10:55, Alexander Best wrote:

you might want to try `nextboot -o '-v' -k kernel` to enable verbose booting
during the next boot. maybe this will reveal your problem.



I did not notice anything.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Bacula 5.0 compiler error (crypto.c)

2010-04-29 Thread Brian A. Seklecki (NOC)
On Mon, 2010-04-26 at 09:48 -0400, Brian A. Seklecki (CFI NOC) wrote:
> On 4/26/2010 9:05 AM, Efren Bravo wrote:
> > I've OpenSSL 1.0.0 installed and ports up2date.
> >
> > My server is on production, so, What do you think I should do in my case?
> >
> 
> Okay yea you'll need 5.0.1 and a copy of K&R or Stevens` APUE to help 
> hold you down. [1]
> 

Efren:

5.0.2 was released two days ago and supposedly fixes bugs with ABI/API
breakage in OpenSSL 1.x.

~~BAS

--

This 5.0.2 version is primarily an important bug fix update to version
5.0.1.

Please read the full ReleaseNotes.

Compatibility:
--
 As always, both the Director and Storage daemon must be upgraded at
 the same time.

 Older 5.0.x and 3.0.x File Daemons are compatible with the 5.0.2
 Director and Storage daemons. There should be no need to upgrade older
File
 Daemons.

Changes since 5.0.1
---

Bug fixes
1502 1511 1517 1524 1527 1532 1536 1541 1549 1551 1553 1559 1560

- Probable fix for SD crash bug #1553
- Fix #1559 problem when restoring pruned jobs with a regexp
- Fix for bug #1560 bcopy cannot find Volume
- Fix cancel crash bug #1551
- Check if sql backend is thread-safe
- Correct Pool display in SD status. Fixes bug #1541
- Fix cancel crash reported by Stephen Thompson
- Rewind on close to fix #1549
- Remove closelog() in bpipe fixes bug #1536
- Fix #1517 about missing Base level in .level command
- Replace ASSERT in block.c with fail Job
- Fix database locking calling db_lock and returning from function
without
  calling db_unlock.
- Add missing db_unlock to bvfs_update_cache.
- Fix #1532 about permission on binaries
- Fix #1527 about deadlock during migration
- Another fix for OpenSSLv1
- Add -lrt to Solaris links
- Fix tls.c for OpenSSLv1
- Fix #1511 when trying to insert more than 50.000 directories in bvfs
- Fix plugin load not to stop if one plugin bad -- pointed out by James
- Remove --without-qwt from configure statement.
- Second correct fix to bug #1524 verify fails after adding or removing
files
- Fix bug #1524 verify fails after adding or removing files
- Apply fix suggested by Andreas in bug #1502 for mediaview column sort 
problem
- Fix OpenSSL 1.x problem in crypto.c on Fedora 12
- Display AllowCompress warning message only if compression used in
FileSet

Thanks for using Bacula   :-)



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


Re: Convert Windows driver via ndisgen

2010-04-29 Thread Paul B Mahol
On Thu, Apr 29, 2010 at 11:00 AM, Jerry  wrote:
> Apparently, FreeBSD does not have a driver for a Linksys WUSB600N
> network adapter. I was thinking of using the ndisgen utility to create
> a driver via the WinXP version. I have three questions.
>
> 1) The WinXP driver was for an x386 machine. I have a FreeBSD-8/amd64
> PC. From man NDIS(4):
>
> "Note that this means the ndis driver is only useful on x86 machines."
>
> Am I therefore to assume that even if I do convert the Windows Driver
> to FreeBSD form, it will not work?

You can not use 32bit driver on 64bit OS, NDISulator will panic (I
have patch for that if anybody is interested in comitting it).
>
> 2) If I do successfully extract the driver, is there any way that I can
> have it compiled directly into the kernel as opposed to having it
> loaded via kldload?

It is possible but not practical.

> 3) Is there any list that I could contact to request a driver for this
> device. Since I have the device, I would be happy to work with someone
> who actually knows how to write a drive since I don't posess those
> skills.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Convert Windows driver via ndisgen

2010-04-29 Thread Jerry
Apparently, FreeBSD does not have a driver for a Linksys WUSB600N
network adapter. I was thinking of using the ndisgen utility to create
a driver via the WinXP version. I have three questions.

1) The WinXP driver was for an x386 machine. I have a FreeBSD-8/amd64
PC. From man NDIS(4):

"Note that this means the ndis driver is only useful on x86 machines."

Am I therefore to assume that even if I do convert the Windows Driver
to FreeBSD form, it will not work?

2) If I do successfully extract the driver, is there any way that I can
have it compiled directly into the kernel as opposed to having it
loaded via kldload?

3) Is there any list that I could contact to request a driver for this
device. Since I have the device, I would be happy to work with someone
who actually knows how to write a drive since I don't posess those
skills.

-- 
Jerry
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

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


Why hald causes system to hang up?

2010-04-29 Thread Yuri
I enabled hald: hald_enable="YES" in /etc/rc.conf. This fixed the 
problem with kdm which otherwise always fails during the first login 
attempt.


But hald caused few unintended consequences:

periodic hangups: system becomes unresponsive for a few seconds around 
every 15 seconds, especially when I type in KDE konsole.

string in konsole doesn't get selected any more when I double click on it.

Anybody has any insight why hald would cause such consequences?

Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD PXE installation howto

2010-04-29 Thread egoitz
Well finally... I have updated my pxe installation guide... reducing some
unnecessary steps...

here you are the updated howto :

http://postfixquotareject.ramattack.net/freebsdpxehowto.pdf

You know any doubts this is my mail :).

Bye!!

> Hi all,
>
> I have seen a way for reducing some steps...
>
> after installing dhcpd and active tftpd in inetd.conf and starting
> inetd... have just done :
>
> tar -C /expert


,

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