Re: Apache environment variables - logical AND

2008-11-04 Thread Jeremy Chadwick
On Wed, Nov 05, 2008 at 05:33:45PM +1100, Ian Smith wrote:
> I know this isn't FreeBSD specific - but I am, so crave your indulgence.
> 
> Running Apache 1.3.27, using a fairly extensive access.conf to beat off 
> the most rapacious robots and such, using mostly BrowserMatch[NoCase] 
> and SetEnvIf to moderate access to several virtual hosts.  No problem.
> 
> OR conditions are of course straighforward:
> 
>   SetEnvIf  somevar
>   SetEnvIf  somevar
>   SetEnvIf  !somevar
> 
> What I can't figure out is how to set a variable3 if and only if both 
> variable1 AND variable2 are set.  Eg:
> 
>   SetEnvIf Referer "^$" no_referer
>   SetEnvIf User-Agent "^$" no_browser
> 
> I want the equivalent for this (invalid and totally fanciful) match: 
> 
>   SetEnvIf (no_browser AND no_referer) go_away

Sounds like a job for mod_rewrite.  The SetEnvIf stuff is such a hack.

This is what we use on our production servers (snipped to keep it
short):

RewriteEngine on
RewriteCond %{HTTP_REFERER} ^:  [OR]
RewriteCond %{HTTP_REFERER} ^http://forums.somethingawful.com/  [OR]
RewriteCond %{HTTP_REFERER} ^http://forums.fark.com/[OR]
RewriteCond %{HTTP_USER_AGENT} ^Alexibot[OR]
RewriteCond %{HTTP_USER_AGENT} ^asterias[OR]
RewriteCond %{HTTP_USER_AGENT} ^BackDoorBot [OR]
RewriteCond %{HTTP_USER_AGENT} ^Black.Hole  [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^WWWOFFLE[OR]
RewriteCond %{HTTP_USER_AGENT} ^Xaldon.WebSpider
RewriteRule ^.* - [F,L]

You need to keep something in mind however: blocking by user agent is
basically worthless these days.  Most "leeching" tools now let you
spoof the user agent to show up as Internet Explorer, essentially
defeating the checks.

If you're that concerned about bandwidth (which is why a lot of people
do the above), consider rate-limiting.  It's really, quite honestly, the
only method that is fail-safe.

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


Apache environment variables - logical AND

2008-11-04 Thread Ian Smith
I know this isn't FreeBSD specific - but I am, so crave your indulgence.

Running Apache 1.3.27, using a fairly extensive access.conf to beat off 
the most rapacious robots and such, using mostly BrowserMatch[NoCase] 
and SetEnvIf to moderate access to several virtual hosts.  No problem.

OR conditions are of course straighforward:

  SetEnvIf  somevar
  SetEnvIf  somevar
  SetEnvIf  !somevar

What I can't figure out is how to set a variable3 if and only if both 
variable1 AND variable2 are set.  Eg:

  SetEnvIf Referer "^$" no_referer
  SetEnvIf User-Agent "^$" no_browser

I want the equivalent for this (invalid and totally fanciful) match: 

  SetEnvIf (no_browser AND no_referer) go_away

Any clues?

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


Re: Watching /var/log/pflog grow

2008-11-04 Thread cpghost
On Tue, Nov 04, 2008 at 05:15:57PM -0800, Jeremy Chadwick wrote:
> On Tue, Nov 04, 2008 at 08:13:54PM +0100, cpghost wrote:
> > How can I watch /var/log/pflog grow with tcpdump, "tail -f" style?
> > 
> > This won't work:
> >   $ tail -f /var/log/pflog | tcpdump -n -s 116 -r -
> > because tail doesn't start at the right location.
> > 
> > Using a blocksize (-b) with tail may also not be right,
> > because the captured packets are not the same size.
> > 
> > This seems to work:
> >   $ tcpdump -n -s 116 -i pflog0
> > but now, both tcpdump and pflogd are competing for the same
> > interface pflog0.
> > 
> > I'm afraid that in the latter case, every packet will be
> >   EITHER logged by pflogd
> >   XORdisplayed by tcpdump.
> > Is that so?
> > 
> > If yes, /var/log/pflog would be incomplete, because some packets
> > would have been snatched away from pflog0 by tcpdump, before
> > pflogd ever got a chance to read them out.
> > 
> > Is there a way to watch /var/log/pflog grow, while
> > still making sure that pflogd logs EVERY packet that appears
> > on the pflog0 interface? How?
> 
> Please post this to freebsd-pf, where you can get better help.

Thank you, but the problem seems solved (pflog0 delivers copies of
packets). I'll test this tomorrow and should I miss some packets
in the log file, I'll surely raise the question again.

Thanks you all for helping, on and off list.

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Watching /var/log/pflog grow

2008-11-04 Thread cpghost
On Tue, Nov 04, 2008 at 09:22:42PM -0500, Sahil Tandon wrote:
> cpghost <[EMAIL PROTECTED]> wrote:
> 
> > How can I watch /var/log/pflog grow with tcpdump, "tail -f" style?
> > 
> > This won't work:
> >   $ tail -f /var/log/pflog | tcpdump -n -s 116 -r -
> > because tail doesn't start at the right location.
> 
> [...]
> 
> > I'm afraid that in the latter case, every packet will be
> >   EITHER logged by pflogd
> >   XORdisplayed by tcpdump.
> > Is that so?
> > 
> > If yes, /var/log/pflog would be incomplete, because some packets
> > would have been snatched away from pflog0 by tcpdump, before
> > pflogd ever got a chance to read them out.
> > 
> > Is there a way to watch /var/log/pflog grow, while
> > still making sure that pflogd logs EVERY packet that appears
> > on the pflog0 interface? How?
> 
> According to pflogd(8):
> 
>Display the logs in real time (this does not interfere with the
>operation of pflogd):
> 
>   # tcpdump -n -e -ttt -i pflog0

EOUTOFCAFFEINE

I actually read the man page, but I didn't pay attention to this.
Sorry for the noise and thanks for pointing it out.

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Watching /var/log/pflog grow

2008-11-04 Thread cpghost
On Tue, Nov 04, 2008 at 07:20:42PM +, Matthew Seaman wrote:
> cpghost wrote:
> > How can I watch /var/log/pflog grow with tcpdump, "tail -f" style?
> > 
> > This won't work:
> >   $ tail -f /var/log/pflog | tcpdump -n -s 116 -r -
> > because tail doesn't start at the right location.
> > 
> > Using a blocksize (-b) with tail may also not be right,
> > because the captured packets are not the same size.
> > 
> > This seems to work:
> >   $ tcpdump -n -s 116 -i pflog0
> > but now, both tcpdump and pflogd are competing for the same
> > interface pflog0.
> > 
> > I'm afraid that in the latter case, every packet will be
> >   EITHER logged by pflogd
> >   XORdisplayed by tcpdump.
> > Is that so?
> > 
> > If yes, /var/log/pflog would be incomplete, because some packets
> > would have been snatched away from pflog0 by tcpdump, before
> > pflogd ever got a chance to read them out.
> > 
> > Is there a way to watch /var/log/pflog grow, while
> > still making sure that pflogd logs EVERY packet that appears
> > on the pflog0 interface? How?
> > 
> 
> Running tcpdump against the pflog0 pseudo-interface no more stops
> pflogd recording the traffic than running tcpdump on your network
> interface blocks traffic from the net.

Ah, okay. pflog0 therefore delivers a *copy* of the packets to all
subscribers. That's good to know!

>tcpdump -vv -i pflog0
> 
> really is the way to go if you want to see what your firewall is
> logging in real time.

Yep, will do. Thanks for helping.

-cpghost.

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

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: BSDstats: New High Water Mark: 25 000+ Hosts Reporting In

2008-11-04 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



- --On Tuesday, November 04, 2008 12:25:39 -0500 Gabriel Lavoie 
<[EMAIL PROTECTED]> wrote:

> When are the stats updated on bsdstats.org?

real-time ... and they aren't "for all time", the #s are based on systems 
reporting in over the past 60 days, so you will periodically see a bit of back 
tracking, depending on when in the cycle hosts reported in ... if I reload the 
page a few times, I may see it go from 25 013 -> 25 103 -> 25 143 -> 25 140 ... 
but the overall is an upward increase in numbers ...


>
> Thanks
>
> Gabriel
>
> 2008/11/4 Marc G. Fournier <[EMAIL PROTECTED]>
>
>> On Wed, 5 Nov 2008, andrew clarke wrote:
>>
>>  On Mon 2008-11-03 18:33:57 UTC-0400, Marc G. Fournier ([EMAIL PROTECTED])
>>> wrote:
>>>
>>>  For FreeBSD users, you just need to install /usr/ports/sysutils/bsdstats
 to set things up.

>>>
>>> I stopped using bsdstats after it caused my FreeBSD router to take too
>>> long to boot up after a reboot.  If I recall correctly, I had
>>> bsdstats_enable="YES" in /etc/rc.conf and after the reboot bsdstats
>>> was called before ppp was able to start, so it couldn't connect to the
>>> bsdstats server.  On the other hand this was a while ago and I am
>>> going by memory, so I may be wrong about what happened or it was just
>>> a coincidence.  At the time I was more interested in getting the
>>> router running so I didn't really care for debugging what was going
>>> on.  I realise this is a bit of a vague bug report, so feel free to
>>> ignore it.
>>>
>>
>> There is an optional flag for 'reporting on reboot' ... the original script
>> only did reporting monthly, out of periodic, but some ppl (ie. using
>> laptops) suggesting an optional flag so that when they rebooted, they would
>> be counted also ...
>>
>> And you are correct, just change:
>>
>> bsdstats_enable="YES"
>>
>> to
>>
>> bsdstats_enable="NO"
>>
>> And 'on reboot' will eb disabled, and only periodic will be used ... at a
>> minimum, you just need:
>>
>> monthly_statistics_enable="YES"
>>
>> in /etc/periodic.conf, wich will only report OS/version and skip the
>> devices/ports reports ...
>>
>> 
>> Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org
>> )
>> Email . [EMAIL PROTECTED]  MSN . [EMAIL 
>> PROTECTED]
>> Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
>>
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "
>> [EMAIL PROTECTED]"
>>
>
>
>
> --
> Gabriel Lavoie
> [EMAIL PROTECTED]
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"



- -- 
Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkkRHfcACgkQ4QvfyHIvDvMP1gCfWcuWqCGNWSR5HuGSO4vgRwLb
Y0EAn3+Pi3/1+eM/mxmKFrF7AFTMQBbv
=yRDb
-END PGP SIGNATURE-

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


RE: xfce decktop time display

2008-11-04 Thread joeb
Right click on the pgm launcher does not open the drop down menu. Reading
the xfce4 user guide says alternate way to open the pgm launcher drop down
menu is to use Ctrl + left mouse click. This works. I have a two button
mouse.
Is this a Bug?

By the way, once the pgm launcher drop down menu opens changing the clock
time display format was easy.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Robert
Sent: Wednesday, November 05, 2008 1:22 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED] ORG
Subject: Re: xfce decktop time display

On Tue, 4 Nov 2008 21:53:47 +0800
"FBSD1" <[EMAIL PROTECTED]> wrote:

> Using Xfce4 and the time is displayed in military time 2200.
> Want to change this to regular AM/PM displayed time. 10pm
> Been through the manual and all the menus and can not find knob to
> change the time setting.
>
> Thanks for any help you can give.
>
Right click the time display and uncheck 24 hours
___
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: Watching /var/log/pflog grow

2008-11-04 Thread Sahil Tandon
cpghost <[EMAIL PROTECTED]> wrote:

> How can I watch /var/log/pflog grow with tcpdump, "tail -f" style?
> 
> This won't work:
>   $ tail -f /var/log/pflog | tcpdump -n -s 116 -r -
> because tail doesn't start at the right location.

[...]

> I'm afraid that in the latter case, every packet will be
>   EITHER logged by pflogd
>   XORdisplayed by tcpdump.
> Is that so?
> 
> If yes, /var/log/pflog would be incomplete, because some packets
> would have been snatched away from pflog0 by tcpdump, before
> pflogd ever got a chance to read them out.
> 
> Is there a way to watch /var/log/pflog grow, while
> still making sure that pflogd logs EVERY packet that appears
> on the pflog0 interface? How?

According to pflogd(8):

   Display the logs in real time (this does not interfere with the
   operation of pflogd):

  # tcpdump -n -e -ttt -i pflog0

-- 
Sahil Tandon <[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: 7.1-BETA2 installation on ASUS P4S8X fails BIG MEDIUM ERROR

2008-11-04 Thread Al Plant

Jeremy Chadwick wrote:

On Tue, Nov 04, 2008 at 12:46:43PM -1000, Al Plant wrote:

Jeremy Chadwick wrote:

On Tue, Nov 04, 2008 at 08:13:34AM -1000, Al Plant wrote:

Julien Cigar wrote:

I've this problem too on almost all my machines. The only solution I've
found is to disable DMA (atapi_dma), but then performances are very poor
(and I'm still unable to burn a CD/DVD)

On Tue, 2008-11-04 at 16:03 +0100, Christoph Kukulies wrote:

Hi,

don't know whether it's the CDROM drive (a Creative 52x mx) or 
the  motherboard (ASUS P4S8X) or what.
Anyway, I tried to install a recent version of FreeBSD 
(7.1-BETA2) and the installation

hangs right in the boot process of the installation CD disc1.

I see

acd0: FAILURE - READ BIG MEDIUM ERROR asc=0x11 ascq=0x00
run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config
run_interrupt_driven_hooks: still waiting after 120 seconds for xpt_config
run_interrupt_driven_hooks: still waiting after 180 seconds for xpt_config

and so on.

Any clues?

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



Aloha,

I have had similiar happen on 7 and 8 Freebsd installs recently.

If you install using safe mode it will work. Then in /boot/loader.conf

#boot/loader.conf
hw.ata.ata-dma=0
hw.ata.atapi_dma=0

There is no hw.ata.ata-dma tunable.  I think you mean hw.ata.ata_dma
(note: underscore, not hyphen).  If you really are using hw.ata.ata-dma,
it does nothing.  :-)

Also folks, please remember that "ATA DMA" is for hard disks, and
"ATAPI DMA" is for ATAPI devices (CD/DVD drives).  


Error messages from xpt_* functions are from by the ATAPI-to-CAM
emulation layer (think: SCSI emulation for ATAPI devices), but are
likely signs of underlying compatibility problems between the CD/DVD
drive and FreeBSD, and not the fault of atapicam(4).

I'm not sure if there's a loader hint to disable xpt.

The error that comes up when you burn a CD seems to be bogus as I 
have  used the CD's with out error for installing on other boxes.

The "READ BIG MEDIUM ERROR" often indicates that the CD/DVD drive does
not support a specific read operation mode; some CD/DVD manufacturers
don't implement this command for various reasons.


Aloha Jeremy,

Thanks for catching the - vs _ .

I hear  you, but I have to do the hw settings like above or the servers  
wont boot they stick at a db>

or mountroot>


Those are two very different things.  A db> prompt indicates you're
hitting a kernel panic, while a mountroot> prompt indicates the OS can't
find your root filesystem.

I think the 7 and 8 series OS are looking for SATA and dont like the IDE  
drives I use.


I understand, but what I'm saying is that "hw.ata.ata-dma=0" (note the
hyphen) is not fixing/solving anything, because it contains a typo.

I know the atapi setting is for CD's and These are brand new DVD/CD RW  
burners fwiw.


A month or so back there were several people on line complaining about
this.

Maybe one of the FreeBSD  comitters will have a look and see if  
something is wrong.


The "I get dropped to a mountroot prompt" problem has been reported many
times, and so far there haven't been any indications what causes it to
happen for people.


_

Aloha Jeremy,

The - was not in the installs. I typed it correctly in the several cases 
where it was used.


It will be interesting to see if anybody can find a solution to these 
issues.


I am not a coder just a long time user of FreeBSD, (since 3.*) I think 
it was. It is such a rock solid system that most of us are curious when 
something like this happens and its hard to find out why.


~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +
  < email: [EMAIL PROTECTED] >
"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 "[EMAIL PROTECTED]"


Re: Re: Authentication with SSH using public keys

2008-11-04 Thread Jeremy Chadwick
On Tue, Nov 04, 2008 at 12:39:36PM -0800, [EMAIL PROTECTED] wrote:
>>
>>
>> > Following onto the e-mail I made before, apparently that little 
> permissions
>>
>> > difference for the directory, .ssh, was the problem. Changing it to 
>> 644 
> has,
>>
>> > apparently, fixed the problem.
>>
>>
>>
>> Cool :) . I learnt this from my first SSH public-key authentication
>>
>> configuration ;)
>>
>>
>>
>> Ashish
>>
>> --
>>
>
> Of course I meant to say that changing the perms to 755 fixed it, not 
> 644. I'm still reviewing the docs but I think that this directory could 
> be made 700, is that correct? Or, at the least, 750?

The ~/.ssh directory should be 700.  Remember, sshd runs as root, which
means the permissions shouldn't really matter (sans the execute bit,
which as I said is needed for directories).

You don't want 750 unless you ***really*** intend for members of the
same group to have read access to your ~/.ssh/ directory.  Based on the
OP's description of the setup, he does not need this.

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


Re: Watching /var/log/pflog grow

2008-11-04 Thread Jeremy Chadwick
On Tue, Nov 04, 2008 at 08:13:54PM +0100, cpghost wrote:
> How can I watch /var/log/pflog grow with tcpdump, "tail -f" style?
> 
> This won't work:
>   $ tail -f /var/log/pflog | tcpdump -n -s 116 -r -
> because tail doesn't start at the right location.
> 
> Using a blocksize (-b) with tail may also not be right,
> because the captured packets are not the same size.
> 
> This seems to work:
>   $ tcpdump -n -s 116 -i pflog0
> but now, both tcpdump and pflogd are competing for the same
> interface pflog0.
> 
> I'm afraid that in the latter case, every packet will be
>   EITHER logged by pflogd
>   XORdisplayed by tcpdump.
> Is that so?
> 
> If yes, /var/log/pflog would be incomplete, because some packets
> would have been snatched away from pflog0 by tcpdump, before
> pflogd ever got a chance to read them out.
> 
> Is there a way to watch /var/log/pflog grow, while
> still making sure that pflogd logs EVERY packet that appears
> on the pflog0 interface? How?

Please post this to freebsd-pf, where you can get better help.

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


Re: 7.1-BETA2 installation on ASUS P4S8X fails BIG MEDIUM ERROR

2008-11-04 Thread Jeremy Chadwick
On Tue, Nov 04, 2008 at 12:46:43PM -1000, Al Plant wrote:
> Jeremy Chadwick wrote:
>> On Tue, Nov 04, 2008 at 08:13:34AM -1000, Al Plant wrote:
>>> Julien Cigar wrote:
 I've this problem too on almost all my machines. The only solution I've
 found is to disable DMA (atapi_dma), but then performances are very poor
 (and I'm still unable to burn a CD/DVD)

 On Tue, 2008-11-04 at 16:03 +0100, Christoph Kukulies wrote:
> Hi,
>
> don't know whether it's the CDROM drive (a Creative 52x mx) or 
> the  motherboard (ASUS P4S8X) or what.
> Anyway, I tried to install a recent version of FreeBSD 
> (7.1-BETA2) and the installation
> hangs right in the boot process of the installation CD disc1.
>
> I see
>
> acd0: FAILURE - READ BIG MEDIUM ERROR asc=0x11 ascq=0x00
> run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config
> run_interrupt_driven_hooks: still waiting after 120 seconds for xpt_config
> run_interrupt_driven_hooks: still waiting after 180 seconds for xpt_config
>
> and so on.
>
> Any clues?
>
> --
> Christoph Kukulies
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>>> 
>>>
>>> Aloha,
>>>
>>> I have had similiar happen on 7 and 8 Freebsd installs recently.
>>>
>>> If you install using safe mode it will work. Then in /boot/loader.conf
>>>
>>> #boot/loader.conf
>>> hw.ata.ata-dma=0
>>> hw.ata.atapi_dma=0
>>
>> There is no hw.ata.ata-dma tunable.  I think you mean hw.ata.ata_dma
>> (note: underscore, not hyphen).  If you really are using hw.ata.ata-dma,
>> it does nothing.  :-)
>>
>> Also folks, please remember that "ATA DMA" is for hard disks, and
>> "ATAPI DMA" is for ATAPI devices (CD/DVD drives).  
>>
>> Error messages from xpt_* functions are from by the ATAPI-to-CAM
>> emulation layer (think: SCSI emulation for ATAPI devices), but are
>> likely signs of underlying compatibility problems between the CD/DVD
>> drive and FreeBSD, and not the fault of atapicam(4).
>>
>> I'm not sure if there's a loader hint to disable xpt.
>>
>>> The error that comes up when you burn a CD seems to be bogus as I 
>>> have  used the CD's with out error for installing on other boxes.
>>
>> The "READ BIG MEDIUM ERROR" often indicates that the CD/DVD drive does
>> not support a specific read operation mode; some CD/DVD manufacturers
>> don't implement this command for various reasons.
>>
> Aloha Jeremy,
>
> Thanks for catching the - vs _ .
>
> I hear  you, but I have to do the hw settings like above or the servers  
> wont boot they stick at a db>
> or mountroot>

Those are two very different things.  A db> prompt indicates you're
hitting a kernel panic, while a mountroot> prompt indicates the OS can't
find your root filesystem.

> I think the 7 and 8 series OS are looking for SATA and dont like the IDE  
> drives I use.

I understand, but what I'm saying is that "hw.ata.ata-dma=0" (note the
hyphen) is not fixing/solving anything, because it contains a typo.

> I know the atapi setting is for CD's and These are brand new DVD/CD RW  
> burners fwiw.
>
> A month or so back there were several people on line complaining about
> this.
>
> Maybe one of the FreeBSD  comitters will have a look and see if  
> something is wrong.

The "I get dropped to a mountroot prompt" problem has been reported many
times, and so far there haven't been any indications what causes it to
happen for people.

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


Re: flash9 checklist

2008-11-04 Thread matt donovan
On Thu, Oct 30, 2008 at 8:34 PM, matt donovan <[EMAIL PROTECTED]> wrote:

> Since I had linux_base-fc4 installed npviewer.bin kept hogging all CPU
> power until I killed it for native firefox3. Well I installed linux_base-fc7
> and now flash9 and npviewer.bin works fine in native firefox3.
>
> ok I tried this for the ones that have firefox3 native installed.
>
> install linux_base-fc7 and npviewer.bin should stop hogging all the cpu
> along with firefox3 freezing up until npviewer.bin is killed.
>
> I do not use extensions in my firefox3 so the flashblock issue before was
> not an issue for me.
>
>
>
ok it seems fc7 might be missing a dependency so I upgraded to fc8 for ff3
and now I have sound, since there have been reports that linux_base_f4 does
not like ff3 that much I had to upgrade my linux_base
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Is KDE4 usable on FreeBSD?

2008-11-04 Thread Chad Perrin
On Sun, Nov 02, 2008 at 10:21:17AM -0800, Bruce Cran wrote:
> 
> And what about OS X? To me it seems it's a combination of the
> user-friendliness of Windows with the power of *NIX.  And lots of
> people have moved over to using it.

Unix is *very* user friendly.  It's just picky about who it considers
friends.

I don't remember who said that first, but I find it accurate.

-- 
Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ]
Quoth Malaclypse the Younger: "'Tis an ill wind that blows no minds."


pgpZJa5TR22x1.pgp
Description: PGP signature


Re: Is KDE4 usable on FreeBSD?

2008-11-04 Thread Chad Perrin
On Sun, Nov 02, 2008 at 12:48:12AM +0100, Polytropon wrote:
> On Sat, 01 Nov 2008 13:36:30 -1000, Al Plant <[EMAIL PROTECTED]> wrote:
> > Aloha,
> > Try XFCE 3 or 4 for an excellent OS window manager.
> 
> XFCE 3 can be turned into a CDE lookalike if it's desired.
> It's very lightweight and still features all the nice things
> you know from a UNIX X environment. Zsers coming from CDE
> will feel comfortable, if you take the time to tweak the
> settings a little bit.

Correction:  XFCE is very lightweight *compared to KDE and GNOME*.  It's
pretty hefty compared to a lot of other options -- many of which are
comparable, in terms of popularity, to XFCE.


> 
> In my opinion - and that's very individual, you know - WindowMaker
> is one of the best window managers around. Fast, lightweight,
> easy to configure, excellent keyboard support (that's where the
> other ones are lacking), ah, and did I mention it's fast? You
> can provide a useful (!) system even on a P1 150 MHz system
> with it. No joke.

In the medium-to-heavy weight class, WindowMaker is definitely in my top
five window managers.  There's also a complete "desktop environment" for
it comparable to KDE, GNOME, and XFCE desktop environments, in the form
of the GNUstep framework and all those applications built on it.  It
manages to be significantly lighter on resources and better performing
than KDE, GNOME, and XFCE.  It's quite a bit less "intuitive" to people
coming from MS Windows or MacOS, of course, because it emulates NeXTSTEP
rather than those other OSes, but if that doesn't bother you, it's an
excellent choice in my opinion.  It was the first window manager I
discovered that did more to stay the heck out of my way than it did to
try to help me do things the way someone else decided they should be
done.


> 
> If the magic of the tiling window managers opens up to you,
> you will even be more productive. Allthough I tried several
> of them, their magic wouldn't open up to me... :-)

I find wmii to be quite easy to pick up, in general, among tiling window
managers.  It also allows floating window management, and can even be
configured to do that by default rather than the tiling thing, if you so
desire.  It's currently my second choice window manager, after AHWM
(which is *not* a tiling window manager).

-- 
Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ]
Quoth Bill McKibben: "The laws of Congress and the laws of physics have
grown increasingly divergent, and the laws of physics are not likely to
yield."


pgpKEApAJPgiS.pgp
Description: PGP signature


Re: Is KDE4 usable on FreeBSD?

2008-11-04 Thread Chad Perrin
On Sat, Nov 01, 2008 at 01:09:18PM -0700, mdh wrote:
> --- On Sat, 11/1/08, Rolf G Nielsen <[EMAIL PROTECTED]> wrote:
> > 
> > If I need to (re)configure the behaviour of som app or part
> > of the system, I edit the appropriate config file, which
> > takes about a minute or two...
> 
> Unless you've never modified the configs for that app before, in which case 
> you have to learn the configuration format.  It also sometimes occurs that 
> these formats and locations and whatnot are changed between released by the 
> developers.  Above and beyond that, some apps have good configuration 
> documentation and are a breeze.  Others, less so.  
> 
> I'm not advocating a user interface for configuring everything, but for 
> certain things which are inherently extremely complex, such as window manager 
> layout and behavior, it's my opinion that it really is a time-saver.  
> 

For heavy-weight GUI environments like KDE and GNOME, and even
"feature-rich" but kinda medium-weight alternatives like WindowMaker
(possibly with GNUstep to make it a complete "desktop environment"), I
agree: a GUIfied configuration utility is a dire necessity.

For something at the lightweight end of the spectrum (assuming halfway
decent design), such as AHWM or wmii, such a tool would just get in the
way.


> > 
> > If a user of some fancy desktop with lots of whistles and
> > bells wants to do the same, he/she has to browse through an
> > extensive hierarchy of categories and subcategories to get
> > to the setting he/she wants to change. That hierarchy is
> > more than often far from intuitive, so that very same task
> > may take ten minutes or more.
> 
> I find KDE's configuration interface to be intuitive and generally quite 
> sane.  GNOME's isn't lacking in that area either, imho, it's just lacking a 
> lot of options that I feel ought to be tunable parameters (most of which are, 
> but require extensive config file hacking...)  
> 

My very vague recollection of KDE 3 is that it was much easier to find
what I needed for configuration purposes than it is with KDE 4.  Version
4 seems to either lack a lot of configuration options or hide them really
well for some perverse reason.


> The simple fact is that I can configure my KDE desktop quicker than someone 
> can, seeking the same granularity of modification, configure something which 
> has no UI for configuration.  
> This isn't too big a deal for me, or you, or likely many of the folks on this 
> list, but for someone who is new to FreeBSD and has never hacked a window 
> manager config file before, it likely is.  They'd have to spend quite some 
> time learning the format and locations, and finally doing the tweaking to get 
> what they actually want from their system.  
> 

You make a good point here.  Maybe, if I ever get around to picking up
AHWM maintenance (since its creator abandoned it), I'll create a GUI
configurator.  Of course, I don't really have much need for it -- but it
would be absurdly easy to do, I think.


> Part of the reason a lot of folks use FreeBSD is for its flexibility.  One 
> can do a great deal with a FreeBSD system.  It doesn't have to be taxing.  
> There's no sense in giving out "hardcore points" to people who expend time 
> and energy doing something that can be done more efficiently through a UI and 
> without the learning curve.  
> 

"More efficiently" and "without the learning curve" are not correlated,
in my experience.  In fact, I find that usually they each get in the
other's way.  Exceptions include things like Web page design.

There's a far more significant learning curve for basic use of wmii than
for KDE, for instance, but once one gets past the learning curve wmii is
a far better productivity enhancer than KDE for many types of activity.
The same goes for Vim vs. Notepad, tcsh vs. DOS, and Mutt vs. Outlook
Express.


> > 
> > In what way is the latter easier than the first? I see
> > none...
> 
> The fact is that your opinion (and mine, for that matter) are fairly 
> subjective.  I've done things both ways - I was using FreeBSD before KDE and 
> GNOME were at all widely used, and if you wanted a decent looking desktop 
> that functioned the way you wanted to be most productive, you had to hack a 
> config file.  
> That said, I just don't see how KDE's configuration system (as this is the 
> topic at hand in this thread) is at all counterintuitive.  

My memory of KDE 3 is pretty sketchy, so I'll stick with KDE 4 on this
one:

I found KDE's configuration interface(s) very unintuitive recently.  So
called "intuitive" design is, to a significant degree, predicated upon
assumptions of familiarity.

Given a lack of familiarity, the time spent finding the options I needed
to customize the configuration of a KDE4 GUI last week by stumbling
around clicking on various things to see if that's how I find the way to
adjust behavior foo was at least comparable to, if not greater than, the
time I spent learning how to hack AHWM's configuration 

Re: Problems with FreeBSD

2008-11-04 Thread J MPZ
YSSS!!!

It's work! With the -C option work fine! :-)

Now, what I need to do to use it without -C? Do I need to change some
option?

The ssh was executed on Linux:

Linux (ssh -C host) -> ASA <- Internet -> FreeBSD
Thanks!

2008/11/4 Brian Whalen <[EMAIL PROTECTED]>

> Giorgos Keramidas wrote:
>
>>  On Tue, 4 Nov 2008 11:10:25 -0200, "J MPZ" <[EMAIL PROTECTED]> wrote:
>>
>>
>>> Hi Paul,
>>>
>>> When my connections freeze, I open the tcpdump in other terminal. If I
>>> type
>>> something, type "Enter", on the terminal frozen, the tcpdump show
>>> packets,
>>> like that:
>>>
>>> 11:18:45.526256 IP (tos 0x0, ttl  51, id 651, offset 0, flags [DF],
>>> proto:
>>> TCP (6), length: 112) 189.21.230.195.20787 > 201.57.5.2.2264: P
>>> 193:241(48)
>>> ack 0 win 15136 >> {1428:1664}>
>>>
>>>
>> [...]
>>
>>
>>
>>> I'm using: tcpdump -nvvv -i ste0 host REMOTE_IP
>>>
>>>
>>
>> Can you try capturing the connection setup packets, so we can look at
>> the TCP MSS negotiation values?  Starting TCPDUMP *before* one of the
>> connections that stall is made should capture that.
>>
>> There may be an intermediate router or firewall that blocks ICMP and
>> ends up breaking path MTU discovery.  I've seen TCP connections
>> 'stall' when path-mtu was broken by a setup like this and one of the
>> intermediate routers started dropping TCP packets that were too large
>> for one of its interfaces.
>>
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "
>> [EMAIL PROTECTED]"
>>
>>
> Since the result set is so big, something else to try may be invoking the
> ssh connection with compression on, -C is the flag.  THis will allow us to
> see if it really isnt working or is just slower than you'd like.
>
> Brian
>
> ___
> 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: Unable to mount / in read - write mode

2008-11-04 Thread Popof Popof
The kernel used is a GENERIC one from 6.0.

/ is mounted but in read-only mode and I can use it in single user mode.
The mount command has been created on October 26 2008 and I hadn't start my
laptop since one year so I'm sure that this comes from my update.

Using mount command manually failed:


> #mount -w /dev/ad0s2a /
> mount option  is unknown
> mount: /dev/ad0s2a


My fstab file contains

/dev/ad0s2a   /   ufs   rw   1   1
>

but ad0s2a is in ro mode as show mount output

/dev/ados2a on / (ufs, local, read-only)
>

2008/11/4 mdh <[EMAIL PROTECTED]>

> --- On Tue, 11/4/08, Popof Popof <[EMAIL PROTECTED]> wrote:
> > From: Popof Popof <[EMAIL PROTECTED]>
> > Subject: Unable to mount / in read - write mode
> > To: "FreeBSD Questions" 
> > Date: Tuesday, November 4, 2008, 1:57 PM
> > Hi,
> > I recently tried to update my FreeBSD 6.0 to FreeBSD 7.0.
> > I don't know where but I made a mistake and I am always
> > booting on the 6.0
> > kernel.
> > The problem is that I have an error during boot process:
> >
> > mount option  is unknown
> > > mount: /dev/ad0s2a : Invalid argument
> > > Mounting root filesystem rw failed, startup aborted
> > > Boot interrupted
> >
> >
> > Its seems that tools have correctly upgraded (man mount let
> > me see that I
> > use the FreeBSD 7 version of mount) but not the kernel.
> >
> > Does someone has an idea to allow me to use my filesystem
> > in read write mode
> > ?
>
> This seems to be a problem with the mount command.  Why do you feel the
> kernel may be at fault?  If the kernel can get to mount, then it has
> obviously already mounted / (though possibly in read-only mode, which is
> something you should let us know...)
> There is also not necessarily a corrolation between a man page and the
> actual binary.  Check the binary's modification time and such for better
> detail here.  Beyond that, try running the mount command manually from the
> command line after booting from a CD or in single-user mode, if single-user
> mode works.
>
> - mdh
>
>
>
>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 7.1-BETA2 installation on ASUS P4S8X fails BIG MEDIUM ERROR

2008-11-04 Thread Al Plant

Jeremy Chadwick wrote:

On Tue, Nov 04, 2008 at 08:13:34AM -1000, Al Plant wrote:

Julien Cigar wrote:

I've this problem too on almost all my machines. The only solution I've
found is to disable DMA (atapi_dma), but then performances are very poor
(and I'm still unable to burn a CD/DVD)

On Tue, 2008-11-04 at 16:03 +0100, Christoph Kukulies wrote:

Hi,

don't know whether it's the CDROM drive (a Creative 52x mx) or the  
motherboard (ASUS P4S8X) or what.
Anyway, I tried to install a recent version of FreeBSD (7.1-BETA2) 
and the installation

hangs right in the boot process of the installation CD disc1.

I see

acd0: FAILURE - READ BIG MEDIUM ERROR asc=0x11 ascq=0x00
run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config
run_interrupt_driven_hooks: still waiting after 120 seconds for xpt_config
run_interrupt_driven_hooks: still waiting after 180 seconds for xpt_config

and so on.

Any clues?

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



Aloha,

I have had similiar happen on 7 and 8 Freebsd installs recently.

If you install using safe mode it will work. Then in /boot/loader.conf

#boot/loader.conf
hw.ata.ata-dma=0
hw.ata.atapi_dma=0


There is no hw.ata.ata-dma tunable.  I think you mean hw.ata.ata_dma
(note: underscore, not hyphen).  If you really are using hw.ata.ata-dma,
it does nothing.  :-)

Also folks, please remember that "ATA DMA" is for hard disks, and
"ATAPI DMA" is for ATAPI devices (CD/DVD drives).  


Error messages from xpt_* functions are from by the ATAPI-to-CAM
emulation layer (think: SCSI emulation for ATAPI devices), but are
likely signs of underlying compatibility problems between the CD/DVD
drive and FreeBSD, and not the fault of atapicam(4).

I'm not sure if there's a loader hint to disable xpt.

The error that comes up when you burn a CD seems to be bogus as I have  
used the CD's with out error for installing on other boxes.


The "READ BIG MEDIUM ERROR" often indicates that the CD/DVD drive does
not support a specific read operation mode; some CD/DVD manufacturers
don't implement this command for various reasons.


Aloha Jeremy,

Thanks for catching the - vs _ .

I hear  you, but I have to do the hw settings like above or the servers 
wont boot they stick at a db>

or mountroot>
 error
I think the 7 and 8 series OS are looking for SATA and dont like the IDE 
drives I use.


I know the atapi setting is for CD's and These are brand new DVD/CD RW 
burners fwiw.


A month or so back there were several people on line complaining about
this.

Maybe one of the FreeBSD  comitters will have a look and see if 
something is wrong.


~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +
  < email: [EMAIL PROTECTED] >
"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 "[EMAIL PROTECTED]"


Re: flash9 checklist

2008-11-04 Thread matt donovan
well you just answered my question as well :) figured it was fc7 that made
me not have sound but I knew no one that used it as well
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: flash9 checklist

2008-11-04 Thread Mario Lobo
On Tuesday 04 November 2008 19:26:56 matt donovan wrote:
> On Tue, Nov 4, 2008 at 5:17 PM, Mario Lobo <[EMAIL PROTECTED]> wrote:
> > On Tuesday 04 November 2008 19:10:55 matt donovan wrote:
> > > On Tue, Nov 4, 2008 at 5:05 PM, Mario Lobo <[EMAIL PROTECTED]> wrote:
> > > > > Mario try linux_base_fc7 it should stop the freezing. but myself I
> > > > > m
> > > >
> > > > having
> > > >
> > > > > issues with audio and can't figure out why.
> > > > > ___
> > > > > freebsd-questions@freebsd.org mailing list
> > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > > > To unsubscribe, send any mail to
> > > > > "[EMAIL PROTECTED]"
> > > >
> > > > Matt :
> > > >
> > > > I have no audio issues.
> > > >
> > > > I have linux_base_fc4 and I just installed linux_base_fc7. How do I
> > > > disable fc4 and enable fc7??
> > > >
> > > > --
> > > > Mario Lobo
> > > > http://www.mallavoodoo.com.br
> > > > FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows
> > > > FREE) ___
> > > > freebsd-questions@freebsd.org mailing list
> > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > > To unsubscribe, send any mail to "
> > > > [EMAIL PROTECTED]"
> > >
> > > they get installed in the same place, but you need fc4 for ports still
> > > so
> >
> > I
> >
> > > would keep it installed just so that the ports will think you have it
> > > in use. They will still work though
> >
> > Do I have to recompile the flash plugin with
> > OVERRIDE_LINUX_BASE_PORT=fc7? How
> > do I know which fc the pligin is using?
> >
> > Thanks for helping, Matt  !
> >
> > --
> > Mario Lobo
> > http://www.mallavoodoo.com.br
> > FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows
> > FREE)
>
> you shouldn't have to but it wouldn't hurt. since if you mess that up you
> can just uninstall and reinstall flash9 as usual

Now i'm having audio issues ! no sound at all :-(. 

I'll revert to fc4 for now. At least the slow downs/freezes were random.

Thanks Matt !
-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows FREE)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problems with FreeBSD

2008-11-04 Thread Brian Whalen

Giorgos Keramidas wrote:

On Tue, 4 Nov 2008 11:10:25 -0200, "J MPZ" <[EMAIL PROTECTED]> wrote:
  

Hi Paul,

When my connections freeze, I open the tcpdump in other terminal. If I type
something, type "Enter", on the terminal frozen, the tcpdump show packets,
like that:

11:18:45.526256 IP (tos 0x0, ttl  51, id 651, offset 0, flags [DF], proto:
TCP (6), length: 112) 189.21.230.195.20787 > 201.57.5.2.2264: P 193:241(48)
ack 0 win 15136 


[...]

  

I'm using: tcpdump -nvvv -i ste0 host REMOTE_IP



Can you try capturing the connection setup packets, so we can look at
the TCP MSS negotiation values?  Starting TCPDUMP *before* one of the
connections that stall is made should capture that.

There may be an intermediate router or firewall that blocks ICMP and
ends up breaking path MTU discovery.  I've seen TCP connections
'stall' when path-mtu was broken by a setup like this and one of the
intermediate routers started dropping TCP packets that were too large
for one of its interfaces.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
  
Since the result set is so big, something else to try may be invoking 
the ssh connection with compression on, -C is the flag.  THis will allow 
us to see if it really isnt working or is just slower than you'd like.


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


Re: flash9 checklist

2008-11-04 Thread matt donovan
On Tue, Nov 4, 2008 at 5:17 PM, Mario Lobo <[EMAIL PROTECTED]> wrote:

> On Tuesday 04 November 2008 19:10:55 matt donovan wrote:
> > On Tue, Nov 4, 2008 at 5:05 PM, Mario Lobo <[EMAIL PROTECTED]> wrote:
> > > > Mario try linux_base_fc7 it should stop the freezing. but myself I m
> > >
> > > having
> > >
> > > > issues with audio and can't figure out why.
> > > > ___
> > > > freebsd-questions@freebsd.org mailing list
> > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > > To unsubscribe, send any mail to
> > > > "[EMAIL PROTECTED]"
> > >
> > > Matt :
> > >
> > > I have no audio issues.
> > >
> > > I have linux_base_fc4 and I just installed linux_base_fc7. How do I
> > > disable fc4 and enable fc7??
> > >
> > > --
> > > Mario Lobo
> > > http://www.mallavoodoo.com.br
> > > FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows
> > > FREE) ___
> > > freebsd-questions@freebsd.org mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > To unsubscribe, send any mail to "
> > > [EMAIL PROTECTED]"
> >
> > they get installed in the same place, but you need fc4 for ports still so
> I
> > would keep it installed just so that the ports will think you have it in
> > use. They will still work though
>
> Do I have to recompile the flash plugin with OVERRIDE_LINUX_BASE_PORT=fc7?
> How
> do I know which fc the pligin is using?
>
> Thanks for helping, Matt  !
>
> --
> Mario Lobo
> http://www.mallavoodoo.com.br
> FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows FREE)
>

you shouldn't have to but it wouldn't hurt. since if you mess that up you
can just uninstall and reinstall flash9 as usual
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Using csup

2008-11-04 Thread Brian Whalen

David Allen wrote:

I'd like to move to using csup(1) and there's an error in the manpage
that's raising some questions for me:

OPTIONS
base=base   The default base directory is /usr/local/etc/csup.

FILES
/usr/local/etc/cvsupDefault base directory.
sup Default collDir subdirectory.
base/collDir/collection/checkouts*  List files.

Assuming that the default 'base' directory is /usr/local/etc/cvsup, would
the following three files be sufficient for csup to work?

# /usr/local/etc/cvsup/standard-supfile
*default tag=RELENG_7_0
*default host=cvsup10.us.FreeBSD.org
*default release=cvs delete use-rel-suffix compress
src-all

# /usr/local/etc/cvsup/doc-supfile
doc-all

# /usr/local/etc/cvsup/ports-supfile
ports-all tag=.

# usr/local/etc/cvsup/sup/refuse
[contents of global refusefile]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
  

I like running this script.

It requires the port/package fastest-cvsup, it will test for the fastest 
one then use that.  Any server statement in your file is disregarded.  
You'll the the script still calls csup as you desire.


#!/bin/sh
   if SERVER=`/usr/local/bin/fastest_cvsup -q -c us`; then
   /usr/bin/csup -g -L 1 -h $SERVER 
/usr/share/examples/cvsup/stable-supfile

 fi

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


Re: flash9 checklist

2008-11-04 Thread Mario Lobo
On Tuesday 04 November 2008 19:10:55 matt donovan wrote:
> On Tue, Nov 4, 2008 at 5:05 PM, Mario Lobo <[EMAIL PROTECTED]> wrote:
> > > Mario try linux_base_fc7 it should stop the freezing. but myself I m
> >
> > having
> >
> > > issues with audio and can't figure out why.
> > > ___
> > > freebsd-questions@freebsd.org mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > To unsubscribe, send any mail to
> > > "[EMAIL PROTECTED]"
> >
> > Matt :
> >
> > I have no audio issues.
> >
> > I have linux_base_fc4 and I just installed linux_base_fc7. How do I
> > disable fc4 and enable fc7??
> >
> > --
> > Mario Lobo
> > http://www.mallavoodoo.com.br
> > FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows
> > FREE) ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "
> > [EMAIL PROTECTED]"
>
> they get installed in the same place, but you need fc4 for ports still so I
> would keep it installed just so that the ports will think you have it in
> use. They will still work though

Do I have to recompile the flash plugin with OVERRIDE_LINUX_BASE_PORT=fc7? How 
do I know which fc the pligin is using?

Thanks for helping, Matt  !

-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows FREE)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Increasing the datasize limit

2008-11-04 Thread Mel
On Tuesday 04 November 2008 22:52:00 Christopher Cowart wrote:

> According to setrlimit(2), "Only the super-user may raise the maximum
> limits," but apparently, I can't even increase the limit as the
> superuser.
>
> What am I missing?

The hardcoded default of 512Meg. Adjust in /boot/loader.conf like:
kern.defdsiz="768M"
kern.maxdsiz="768M"

See tuning(7) for more info.
-- 
Mel

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


Re: flash9 checklist

2008-11-04 Thread matt donovan
On Tue, Nov 4, 2008 at 5:05 PM, Mario Lobo <[EMAIL PROTECTED]> wrote:

>
> > Mario try linux_base_fc7 it should stop the freezing. but myself I m
> having
> > issues with audio and can't figure out why.
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"
>
> Matt :
>
> I have no audio issues.
>
> I have linux_base_fc4 and I just installed linux_base_fc7. How do I disable
> fc4 and enable fc7??
>
> --
> Mario Lobo
> http://www.mallavoodoo.com.br
> FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows FREE)
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>

they get installed in the same place, but you need fc4 for ports still so I
would keep it installed just so that the ports will think you have it in
use. They will still work though
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: flash9 checklist

2008-11-04 Thread Mario Lobo

> Mario try linux_base_fc7 it should stop the freezing. but myself I m having
> issues with audio and can't figure out why.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

Matt :

I have no audio issues.

I have linux_base_fc4 and I just installed linux_base_fc7. How do I disable 
fc4 and enable fc7??

-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows FREE)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: flash9 checklist

2008-11-04 Thread matt donovan
On Mon, Nov 3, 2008 at 5:23 PM, Mario Lobo <[EMAIL PROTECTED]> wrote:

> On Thursday 30 October 2008 19:53:33 Juergen Lock wrote:
> > In article <[EMAIL PROTECTED]> you write:
> > >Juergen Lock wrote:
> > >> Preliminary checklist for getting flash9 to work in native firefox:
> > >> (flash10 needs more ports work, I shall post about that seperately on
> > >> -emulation...)  If you have additions to this please post a followup
> to
> > >> this thread, keeping the Cc: (I'm not on -questions...)
> > >>
> > >> 1. You need RELENG_7 from at least Mon Oct 20 11:15:57 2008 UTC
> > >> (the relevant MFC commits are:
> > >>http://svn.freebsd.org/viewvc/base?view=revision&revision=183819
> > >>http://svn.freebsd.org/viewvc/base?view=revision&revision=184075
> > >> - a recent HEAD should also work of course.)  There are linprocfs
> > >> patches for RELENG_6 too (merging the former commit), but the latter
> > >> commit can't be merged to 6 (and 7.0) since they lack the cpuset bits,
> > >> so flash9 probably won't work on SMP there.  (Although if you have SMP
> > >> you probably should be running 7 anyway. :)  Oh and if you do have SMP
> > >> you also need to use the ULE scheduler, the cpuset syscalls are not
> > >> supported with 4BSD. linprocfs patches for 6:
> > >>
> > >> http://people.freebsd.org/~nox/linprocfs-6.3.patch
> > >>
> > >> http://people.freebsd.org/~nox/linprocfs-6.4.patch
> > >>
> > >> 2. Your portstree needs to be from at least Sun Oct 19 17:37:28 2008
> UTC
> > >> (the last www/linux-flashplugin9 commit is:
> > >>
> http://lists.freebsd.org/pipermail/cvs-ports/2008-October/158404.html
> > >> )
> > >>
> > >> 3. Make sure linprocfs is mounted to /compat/linux/proc .
> > >>
> > >> 4. Make sure www/nspluginwrapper, www/linux-flashplugin9 and
> > >> dependencies are installed and up to date(!).  (the default
> > >> emulators/linux_base-fc4 should work, if you want to use a later one
> > >> don't forget to set compat.linux.osrelease=2.6.16 in sysctl.conf and
> > >> OVERRIDE_LINUX_BASE_PORT to whichever version you use in make.conf.
> > >> Note however that on 6, only the default compat.linux.osrelease=2.4.2
> > >> really works.)
> > >>
> > >> 5. If the plugin doesnt show up in firefox' about:plugins, run
> > >>nspluginwrapper -i
> > >> /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so and restart
> > >> firefox.
> > >>
> > >> 6. And remember there's a security advisory for the current version of
> > >> flash9,
> > >>
> http://www.FreeBSD.org/ports/portaudit/78f456fd-9c87-11dd-a55e-00163e00
> > >>0016.html (if you use portaudit you need to `make
> > >> -DDISABLE_VULNERABILITIES ...' to be able to install the port), and
> fc4
> > >> seems to be eol'd too, so you probably want to install something like
> > >> the noscript firefox extension,
> > >> https://addons.mozilla.org/en-US/firefox/addon/722
> > >> and only allow plugins (and scripts, tho thats a different problem) on
> > >> sites you trust...
> > >>
> > >>  And finally, if you still get crashes after following the above even
> > >> on pages that are reported to work now (like youtube) you probably
> want
> > >> to run `ktrace -di firefox...' and look at the output using
> linux_kdump
> > >> (thats the devel/linux_kdump port, you want to use a package), paying
> > >> specific attention to the lines above `PSIG SIGSEGV' (or whichever
> > >> signal you got), maybe there are still shlibs missing that the plugin
> > >> needs (NAMI ...something.so...), and if this is the case tell us about
> > >> it so the appropriate dependencies can be added to the relevant ports.
> > >> If you can't figure it out I guess it doesn't hurt to post the last
> > >> few 100 lines of the dump up to the relevant PSIG on -emulation...
> > >>
> > >>  You may also want to check linked shlibs like this:
> > >>/compat/linux/bin/sh /compat/linux/usr/bin/ldd
> > >> /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so and
> > >>/compat/linux/bin/sh /compat/linux/usr/bin/ldd
> > >> /usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin (if you see
> `not
> > >> found' in there you know something is wrong) - although that doesn't
> > >> show libs that may be dlopen()d at runtime.
> > >
> > >Thanks for this.  I was able to get linux-flashplugin9 working in native
> > >Firefox 3.0.3 on FreeBSD 7-STABLE i386.  The only additional thing I had
> > >to do was copy
> > >/usr/X11R6/lib/browser_plugins/npwrapper.libflashplayer.so into
> > >~/.mozilla/plugins/ for Firefox to recognize the plugin.
> >
> > Yeah I forgot to note that you want to run nspluginwrapper -i
> > as the user that will run the native browser, not as root, then the
> > wrapper will go into ~/.mozilla/plugins/...
> >
> > >  After that
> > >Youtube, google video, and google maps (incl. street view) work fine,
> > >but slow.  A friend of mine with a very similar setup was not so lucky
> > >

Increasing the datasize limit

2008-11-04 Thread Christopher Cowart
Hello,

I have a large data-crunching job once a week that needs some more heap
space. How do I go about increasing the datasize limit for a process?

Here's what I've tried:

| $ sudo su -
| crunch# limits
| Resource limits (current):
|   cputime  infinity secs
|   filesize infinity kB
|   datasize   524288 kB
|   stacksize   65536 kB
|   coredumpsize infinity kB
|   memoryuseinfinity kB
|   memorylocked infinity kB
|   maxprocesses 5547
|   openfiles   11095
|   sbsize   infinity bytes
|   vmemoryuse   infinity kB
| crunch# limit datasize 1048576
| crunch# limits
| Resource limits (current):
|   cputime  infinity secs
|   filesize infinity kB
|   datasize   524288 kB
|   stacksize   65536 kB
|   coredumpsize infinity kB
|   memoryuseinfinity kB
|   memorylocked infinity kB
|   maxprocesses 5547
|   openfiles   11095
|   sbsize   infinity bytes
|   vmemoryuse   infinity kB
| crunch# grep -C 8 '^[^#].*datasize' /etc/login.conf
| default:\
| :passwd_format=md5:\
| :copyright=/etc/COPYRIGHT:\
| :welcome=/etc/motd:\
| :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\
| :path=/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin 
/usr/local/bin /usr/X11R6/bin ~/bin:\
| :nologin=/var/run/nologin:\
| :cputime=unlimited:\
| :datasize=unlimited:\
| :stacksize=unlimited:\
| :memorylocked=unlimited:\
| :memoryuse=unlimited:\
| :filesize=unlimited:\
| :coredumpsize=unlimited:\
| :openfiles=unlimited:\
| :maxproc=unlimited:\
| :sbsize=unlimited:\

According to setrlimit(2), "Only the super-user may raise the maximum
limits," but apparently, I can't even increase the limit as the
superuser.

What am I missing?

-- 
Chris Cowart
Network Technical Lead
Network & Infrastructure Services, RSSP-IT
UC Berkeley


pgpes2gVAcCY1.pgp
Description: PGP signature


Re: Re: Authentication with SSH using public keys

2008-11-04 Thread Yuri Pankov
On Tue, Nov 04, 2008 at 12:39:36PM -0800, [EMAIL PROTECTED] wrote:
>>
>>
>> > Following onto the e-mail I made before, apparently that little 
> permissions
>>
>> > difference for the directory, .ssh, was the problem. Changing it to 
>> 644 
> has,
>>
>> > apparently, fixed the problem.
>>
>>
>>
>> Cool :) . I learnt this from my first SSH public-key authentication
>>
>> configuration ;)
>>
>>
>>
>> Ashish
>>
>> --
>>
>
> Of course I meant to say that changing the perms to 755 fixed it, not 
> 644. I'm still reviewing the docs but I think that this directory could 
> be made 700, is that correct? Or, at the least, 750?

>From ssh(1):
 ~/.ssh/
 This directory is the default location for all user‐specific con‐
 figuration and authentication information.  There is no general
 requirement to keep the entire contents of this directory secret,
 but the recommended permissions are read/write/execute for the
 user, and not accessible by others.

So 700 is not only possible, but also recommended. :-)


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


Re: Re: Authentication with SSH using public keys

2008-11-04 Thread af300wsm



> Following onto the e-mail I made before, apparently that little  

permissions


> difference for the directory, .ssh, was the problem. Changing it to 644  

has,


> apparently, fixed the problem.



Cool :) . I learnt this from my first SSH public-key authentication

configuration ;)



Ashish

--



Of course I meant to say that changing the perms to 755 fixed it, not 644.  
I'm still reviewing the docs but I think that this directory could be made  
700, is that correct? Or, at the least, 750?

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


Unable to mount / in read - write mode

2008-11-04 Thread Popof Popof
Hi,
I recently tried to update my FreeBSD 6.0 to FreeBSD 7.0.
I don't know where but I made a mistake and I am always booting on the 6.0
kernel.
The problem is that I have an error during boot process:

mount option  is unknown
> mount: /dev/ad0s2a : Invalid argument
> Mounting root filesystem rw failed, startup aborted
> Boot interrupted


Its seems that tools have correctly upgraded (man mount let me see that I
use the FreeBSD 7 version of mount) but not the kernel.

Does someone has an idea to allow me to use my filesystem in read write mode
?
___
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 mount / in read - write mode

2008-11-04 Thread mdh
--- On Tue, 11/4/08, Popof Popof <[EMAIL PROTECTED]> wrote:
> From: Popof Popof <[EMAIL PROTECTED]>
> Subject: Unable to mount / in read - write mode
> To: "FreeBSD Questions" 
> Date: Tuesday, November 4, 2008, 1:57 PM
> Hi,
> I recently tried to update my FreeBSD 6.0 to FreeBSD 7.0.
> I don't know where but I made a mistake and I am always
> booting on the 6.0
> kernel.
> The problem is that I have an error during boot process:
> 
> mount option  is unknown
> > mount: /dev/ad0s2a : Invalid argument
> > Mounting root filesystem rw failed, startup aborted
> > Boot interrupted
> 
> 
> Its seems that tools have correctly upgraded (man mount let
> me see that I
> use the FreeBSD 7 version of mount) but not the kernel.
> 
> Does someone has an idea to allow me to use my filesystem
> in read write mode
> ?

This seems to be a problem with the mount command.  Why do you feel the kernel 
may be at fault?  If the kernel can get to mount, then it has obviously already 
mounted / (though possibly in read-only mode, which is something you should let 
us know...)
There is also not necessarily a corrolation between a man page and the actual 
binary.  Check the binary's modification time and such for better detail here.  
Beyond that, try running the mount command manually from the command line after 
booting from a CD or in single-user mode, if single-user mode works.  

- mdh



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


Re: virtual consoles on freebsd-7.0-release

2008-11-04 Thread Polytropon
On Tue, 4 Nov 2008 15:45:28 +0800, "joeb" <[EMAIL PROTECTED]> wrote:
> How do I get back to the xorg/xfce desktop running in the virtual console I
> left from?

You could try to press the Pause / SysRq key as many times as needed
until you're on your X screen again.

Have a look into /etc/ttys where the correct terminal should be
specified, e. g. 

ttyv8   "/usr/local/bin/xdm -nodaemon"  xterm   off secure
   ^^
So X will be on ttyv8 which is number 9 (Alt+PF9).

May I ask how you initiate your X (XFCE) session? This could give
a hint why console switching doesn't work as intended.


-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: gjournal: journaled slices vs. journaled partitions

2008-11-04 Thread Volodymyr Kostyrko
2008/11/4 Gabriel Lavoie <[EMAIL PROTECTED]>:
> When building this setup I got one big problem. If the root filesystem (/)
> was on a gjournal provider, an unclean shutdown when data was being written
> on the disk rendered the system completely unbootable. I got this message:
>
> GEOM_MIRROR: Device mirror/gm launched (2/2)
> GEOM_JOURNAL: Journal 3672855181: mirror/gma contains data.
> GEOM_JOURNAL: Journal 3672855181: mirror/gma contains journal.
> GEOM_JOURNAL: Journal 3868799910: mirror/gmd contains data.
>
> GEOM_JOURNAL: Journal 3868799910: mirror/gmd contains journal.
> GEOM_JOURNAL: Journal mirror/gmd consistent.

Just one thing - you have two separate journaled partitions, one
journal per one partition.

> Trying to mount root from ufs:/dev/mirror/gm.journal
>
> Manual root filesystem specification:
> :  Mount  using filesystem 
>
>eg. ufs:da0s1a
> ? List valid disk boot devices
>   Abort manual input
>
>
> mountroot> ?
>
> List of GEOM managed disk devices:
>
>  mirror/gmd.journal mirror/gmd mirror/gmc mirror/gma mirror/gm ad10s1c
> ad10s1b ad8s1c ad8s1b ad10s2 ad10s1 ad8s1 ad10 ad8 acd0
>
> As you can see, in the proposed list of disk devices devices to boot on,
> "mirror/gm.journala" is absent. As I and Ivan Voras, that I contacted about
> this problem, found, the GEOM_JOURNAL thread that is supposed to mark the
> journal consistent takes too much time to do it with the root filesystem's
> provider and the kernel try to mount a device that doesn't yet exist. A bug
> report has been opened about this problem. For my final setup I decided to
> put the root filesystem on a separate mirrorred slice of 1GB. Since this
> slice isn't often written on, not many rebuilds should occur in case of
> power failure. And I made my "power failure" test by hitting the reset
> button while writing data on this filesystem and the rebuild on 1GB doesn't
> takes too much time (at most 20-30 seconds).

Good to hear it, i've fallen for that too, but the machine isn't
powercycled at all and runs on guaranteed power. I had the similar
problems with described setup on virtual test machine too, yet
entering anything at mountroot> prompt gave gjournal a chance to keep
up and needed partition comes up eventually... I didn't reported that,
thought it was a virtual machine issue.

> Now I have the question. Why the "load" algorith wasn't recommended? Is it
> fixed in 7.0-RELEASE-p5?

Nope...

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

-- 
Sphinx of black quartz judge my vow.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: virtual consoles on freebsd-7.0-release

2008-11-04 Thread Polytropon
On Tue, 04 Nov 2008 04:17:35 +0300, The Ghost <[EMAIL PROTECTED]> wrote:
> Hello,
> 
> 
> I migrated to freensd-7.0-release and noticed that I can't switch
> to the virtual consoles by pressing Alt+Fx once I've started X !
> I guess the key combination has changed in the nre version of
> Xorg implemented in FreeBSD 7.0, so I took a look at the online
> handbook, but I haven't found anything about the new way to switch
> to the virtual consoles... Could anyone please point me at what do I miss?..

Well, this hasn't something to do with FreeBSD 7. From my own
experience, virtual console switching has always been the same
since 4.0 with XFree86.

When you're inside X, you need to add the Control key to the
key combination, e. g. Ctrl-Alt-PF1. So you leave X (on its
VT, usually PF9, see /etc/ttys) and get to the 1st virtual
console. As long as you're in text mode, you can switch
around with Alt+PF1 ... Alt+PF9 as you mentioned correctly.

The functions of Alt+PF1 ... Alt+PF12 inside X depends on the
window manager / desktop environment you're running, it can,
for example, be used to switch virtual desktops.


-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: yelp install error on amd64 running freebsd 6.3

2008-11-04 Thread Mel
On Tuesday 04 November 2008 19:19:44 Dino Vliet wrote:
> Dear freebsd people,
> who is able to help me with this problem I have on my machine (a amd64
> system running freebsd 6.3).

What did you do back in April, when you had the exact same problem?

-- 
Mel

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


Re: Unable to mount / in read - write mode

2008-11-04 Thread Roey Dror
On Tue, Nov 4, 2008 at 8:57 PM, Popof Popof <[EMAIL PROTECTED]> wrote:
> I don't know where but I made a mistake and I am always booting on the 6.0
> kernel.

Are you using the GENERIC kernel or a custom one?

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


Re: yelp install error on amd64 running freebsd 6.3

2008-11-04 Thread Dino Vliet

Forwarded Message: Re: yelp install error on amd64 running 
freebsd 6.3




Tuesday, November 4, 2008 7:32 PM





From: 

"Mel" <[EMAIL PROTECTED]>
 





To: 

freebsd-questions@freebsd.org, [EMAIL PROTECTED]


On Tuesday 04 November 2008 19:19:44 Dino Vliet wrote:
> Dear freebsd people,
> who is able to help me with this problem I have on my machine (a amd64
> system running freebsd 6.3).

What did you do back in April, when you had the exact same problem?

-- 
Mel

Problem with today's modular software: they start with the modules
    and never get to the software part.

**

I moved:-)
No seriously, I never solved it,  because I relocated and didn't have internet 
access for a long time, I didn't look into it anymore. I tried to resolve it 
though in april, but the resolutions given to me didn't bring me closer to a 
solution.  

Have any thoughts?





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


Watching /var/log/pflog grow

2008-11-04 Thread cpghost
How can I watch /var/log/pflog grow with tcpdump, "tail -f" style?

This won't work:
  $ tail -f /var/log/pflog | tcpdump -n -s 116 -r -
because tail doesn't start at the right location.

Using a blocksize (-b) with tail may also not be right,
because the captured packets are not the same size.

This seems to work:
  $ tcpdump -n -s 116 -i pflog0
but now, both tcpdump and pflogd are competing for the same
interface pflog0.

I'm afraid that in the latter case, every packet will be
  EITHER logged by pflogd
  XORdisplayed by tcpdump.
Is that so?

If yes, /var/log/pflog would be incomplete, because some packets
would have been snatched away from pflog0 by tcpdump, before
pflogd ever got a chance to read them out.

Is there a way to watch /var/log/pflog grow, while
still making sure that pflogd logs EVERY packet that appears
on the pflog0 interface? How?

Thanks
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: virtual consoles on freebsd-7.0-release

2008-11-04 Thread Polytropon
On Tue, 4 Nov 2008 21:45:12 +0800, "joeb" <[EMAIL PROTECTED]> wrote:
>   I logon from F2 as root and then startx.

As root? No good idea. You should run from a !root user account.

> I believe F9 only works if you use the xorg logon session control.

No, it works when you startx from after a "normal" login, too.
I do know that, it's my setting at the moment. :-)

So if you would create a normal user account and add these files:

1. ~/.xsession

#!/bin/csh
source ~/.cshrc
exec ~/.xinitrc

2. ~/.xinitc

#!/bin/sh
exec xfwm

Give them +x permissions. The first file allows you to inherit your
settings from the C shell (~/.cshrc) into your X session when started
from XDM or another display manager.

After login, you can use the

% startx

command to run your XFCE session.

But in fact, running as root can't be the reason why console
switching doesn't seem to work correctly, I believe...





-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: gjournal: journaled slices vs. journaled partitions

2008-11-04 Thread Gabriel Lavoie
2008/11/4 Volodymyr Kostyrko <[EMAIL PROTECTED]>

> 2008/11/4 Gabriel Lavoie <[EMAIL PROTECTED]>:
> > When building this setup I got one big problem. If the root filesystem
> (/)
> > was on a gjournal provider, an unclean shutdown when data was being
> written
> > on the disk rendered the system completely unbootable. I got this
> message:
> >
> > GEOM_MIRROR: Device mirror/gm launched (2/2)
> > GEOM_JOURNAL: Journal 3672855181: mirror/gma contains data.
> > GEOM_JOURNAL: Journal 3672855181: mirror/gma contains journal.
> > GEOM_JOURNAL: Journal 3868799910: mirror/gmd contains data.
> >
> > GEOM_JOURNAL: Journal 3868799910: mirror/gmd contains journal.
> > GEOM_JOURNAL: Journal mirror/gmd consistent.
>
> Just one thing - you have two separate journaled partitions, one
> journal per one partition.


Yes, this is the test setup I made with one journal for / and one journal
for /usr. Only an unclean journal on / rendered the journal unbootable. An
unclean journal on /usr gave me no problem.

If I put the journal on the slice level, with the root filesystem over the
journal. Resetting the system while writing data on any filesystem causes
the problem as the journal is shared to the root filesystem too.


>
>
> > Trying to mount root from ufs:/dev/mirror/gm.journal
> >
> > Manual root filesystem specification:
> > :  Mount  using filesystem 
> >
> >eg. ufs:da0s1a
> > ? List valid disk boot devices
> >   Abort manual input
> >
> >
> > mountroot> ?
> >
> > List of GEOM managed disk devices:
> >
> >  mirror/gmd.journal mirror/gmd mirror/gmc mirror/gma mirror/gm
> ad10s1c
> > ad10s1b ad8s1c ad8s1b ad10s2 ad10s1 ad8s1 ad10 ad8 acd0
> >
> > As you can see, in the proposed list of disk devices devices to boot on,
> > "mirror/gm.journala" is absent. As I and Ivan Voras, that I contacted
> about
> > this problem, found, the GEOM_JOURNAL thread that is supposed to mark the
> > journal consistent takes too much time to do it with the root
> filesystem's
> > provider and the kernel try to mount a device that doesn't yet exist. A
> bug
> > report has been opened about this problem. For my final setup I decided
> to
> > put the root filesystem on a separate mirrorred slice of 1GB. Since this
> > slice isn't often written on, not many rebuilds should occur in case of
> > power failure. And I made my "power failure" test by hitting the reset
> > button while writing data on this filesystem and the rebuild on 1GB
> doesn't
> > takes too much time (at most 20-30 seconds).
>
> Good to hear it, i've fallen for that too, but the machine isn't
> powercycled at all and runs on guaranteed power. I had the similar
> problems with described setup on virtual test machine too, yet
> entering anything at mountroot> prompt gave gjournal a chance to keep
> up and needed partition comes up eventually... I didn't reported that,
> thought it was a virtual machine issue.
>

Same thing here, I had a backup installation on another slice and when I
gave this one on the prompt, as soon as I hit Enter, GEOM_JOURNAL was
marking the journal consistent. I'm happy to hear that I'm not the only one
that had this problem. As for my setup. I put / on its own 1GB mirrored
slice with auto-synchronization and soft-updates and I put the other
filesystems (/home /usr /var /tmp) on a second fully mirrored/journalised
slice (with the journal at the slice level), with auto-synchronization on
power failure turned off and "async" mount option.

As for the bug report, I consider this is an easily reproductible bug and I
hope it will be solved soon! :)


>
> > Now I have the question. Why the "load" algorith wasn't recommended? Is
> it
> > fixed in 7.0-RELEASE-p5?
>
> Nope...
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=113885
>
> --
> Sphinx of black quartz judge my vow.
>


Gabriel

-- 
Gabriel Lavoie
[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: Watching /var/log/pflog grow

2008-11-04 Thread Matthew Seaman

cpghost wrote:

How can I watch /var/log/pflog grow with tcpdump, "tail -f" style?

This won't work:
  $ tail -f /var/log/pflog | tcpdump -n -s 116 -r -
because tail doesn't start at the right location.

Using a blocksize (-b) with tail may also not be right,
because the captured packets are not the same size.

This seems to work:
  $ tcpdump -n -s 116 -i pflog0
but now, both tcpdump and pflogd are competing for the same
interface pflog0.

I'm afraid that in the latter case, every packet will be
  EITHER logged by pflogd
  XORdisplayed by tcpdump.
Is that so?

If yes, /var/log/pflog would be incomplete, because some packets
would have been snatched away from pflog0 by tcpdump, before
pflogd ever got a chance to read them out.

Is there a way to watch /var/log/pflog grow, while
still making sure that pflogd logs EVERY packet that appears
on the pflog0 interface? How?



Running tcpdump against the pflog0 pseudo-interface no more stops
pflogd recording the traffic than running tcpdump on your network
interface blocks traffic from the net.

  tcpdump -vv -i pflog0

really is the way to go if you want to see what your firewall is
logging in real time.

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature


Re: 7.1-BETA2 installation on ASUS P4S8X fails BIG MEDIUM ERROR

2008-11-04 Thread Jeremy Chadwick
On Tue, Nov 04, 2008 at 08:13:34AM -1000, Al Plant wrote:
> Julien Cigar wrote:
>> I've this problem too on almost all my machines. The only solution I've
>> found is to disable DMA (atapi_dma), but then performances are very poor
>> (and I'm still unable to burn a CD/DVD)
>>
>> On Tue, 2008-11-04 at 16:03 +0100, Christoph Kukulies wrote:
>>> Hi,
>>>
>>> don't know whether it's the CDROM drive (a Creative 52x mx) or the  
>>> motherboard (ASUS P4S8X) or what.
>>> Anyway, I tried to install a recent version of FreeBSD (7.1-BETA2) 
>>> and the installation
>>> hangs right in the boot process of the installation CD disc1.
>>>
>>> I see
>>>
>>> acd0: FAILURE - READ BIG MEDIUM ERROR asc=0x11 ascq=0x00
>>> run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config
>>> run_interrupt_driven_hooks: still waiting after 120 seconds for xpt_config
>>> run_interrupt_driven_hooks: still waiting after 180 seconds for xpt_config
>>>
>>> and so on.
>>>
>>> Any clues?
>>>
>>> --
>>> Christoph Kukulies
>>> ___
>>> freebsd-questions@freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
>
> Aloha,
>
> I have had similiar happen on 7 and 8 Freebsd installs recently.
>
> If you install using safe mode it will work. Then in /boot/loader.conf
>
> #boot/loader.conf
> hw.ata.ata-dma=0
> hw.ata.atapi_dma=0

There is no hw.ata.ata-dma tunable.  I think you mean hw.ata.ata_dma
(note: underscore, not hyphen).  If you really are using hw.ata.ata-dma,
it does nothing.  :-)

Also folks, please remember that "ATA DMA" is for hard disks, and
"ATAPI DMA" is for ATAPI devices (CD/DVD drives).  

Error messages from xpt_* functions are from by the ATAPI-to-CAM
emulation layer (think: SCSI emulation for ATAPI devices), but are
likely signs of underlying compatibility problems between the CD/DVD
drive and FreeBSD, and not the fault of atapicam(4).

I'm not sure if there's a loader hint to disable xpt.

> The error that comes up when you burn a CD seems to be bogus as I have  
> used the CD's with out error for installing on other boxes.

The "READ BIG MEDIUM ERROR" often indicates that the CD/DVD drive does
not support a specific read operation mode; some CD/DVD manufacturers
don't implement this command for various reasons.

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


Re: 7.1-BETA2 installation on ASUS P4S8X fails BIG MEDIUM ERROR

2008-11-04 Thread Christoph Kukulies

Hi Al,

thanks for pointing me to safe mode install. That I will probably try 
tomorrow.
The day ended up in havoc: I tried to boot a floppy to do an ASUS BIOS 
upgrade and somehow messed with the power cable.
A big flash occurred originating from the power supply. I opened the 
power supply, found a blown fuse, ran to the electronics store, bought a 
new fuse (+ one in reserve), inserted the fuse, tried the power supply, 
with connections off and a firework, prematurely - your presidential 
elections aren't finished yet - , developed in front of my face. Will 
continue tomorrow, when America has a new president.



--
Christoph

Al Plant schrieb:

Julien Cigar wrote:

I've this problem too on almost all my machines. The only solution I've
found is to disable DMA (atapi_dma), but then performances are very poor
(and I'm still unable to burn a CD/DVD)

On Tue, 2008-11-04 at 16:03 +0100, Christoph Kukulies wrote:

Hi,

don't know whether it's the CDROM drive (a Creative 52x mx) or the 
motherboard (ASUS P4S8X) or what.
Anyway, I tried to install a recent version of FreeBSD (7.1-BETA2) 
and the installation

hangs right in the boot process of the installation CD disc1.

I see

acd0: FAILURE - READ BIG MEDIUM ERROR asc=0x11 ascq=0x00
run_interrupt_driven_hooks: still waiting after 60 seconds for 
xpt_config
run_interrupt_driven_hooks: still waiting after 120 seconds for 
xpt_config
run_interrupt_driven_hooks: still waiting after 180 seconds for 
xpt_config


and so on.

Any clues?

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



Aloha,

I have had similiar happen on 7 and 8 Freebsd installs recently.

If you install using safe mode it will work. Then in /boot/loader.conf

#boot/loader.conf
hw.ata.ata-dma=0
hw.ata.atapi_dma=0

This makes the HD and CD to  work for me after the install.

The error that comes up when you burn a CD seems to be bogus as I have 
used the CD's with out error for installing on other boxes.


~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +
  < email: [EMAIL PROTECTED] >
"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 "[EMAIL PROTECTED]"


Re: 7.1-BETA2 installation on ASUS P4S8X fails BIG MEDIUM ERROR

2008-11-04 Thread Al Plant

Julien Cigar wrote:

I've this problem too on almost all my machines. The only solution I've
found is to disable DMA (atapi_dma), but then performances are very poor
(and I'm still unable to burn a CD/DVD)

On Tue, 2008-11-04 at 16:03 +0100, Christoph Kukulies wrote:

Hi,

don't know whether it's the CDROM drive (a Creative 52x mx) or the 
motherboard (ASUS P4S8X) or what.
Anyway, I tried to install a recent version of FreeBSD (7.1-BETA2) and 
the installation

hangs right in the boot process of the installation CD disc1.

I see

acd0: FAILURE - READ BIG MEDIUM ERROR asc=0x11 ascq=0x00
run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config
run_interrupt_driven_hooks: still waiting after 120 seconds for xpt_config
run_interrupt_driven_hooks: still waiting after 180 seconds for xpt_config

and so on.

Any clues?

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



Aloha,

I have had similiar happen on 7 and 8 Freebsd installs recently.

If you install using safe mode it will work. Then in /boot/loader.conf

#boot/loader.conf
hw.ata.ata-dma=0
hw.ata.atapi_dma=0

This makes the HD and CD to  work for me after the install.

The error that comes up when you burn a CD seems to be bogus as I have 
used the CD's with out error for installing on other boxes.


~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +
  < email: [EMAIL PROTECTED] >
"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 "[EMAIL PROTECTED]"


Re: GDM login without using a password

2008-11-04 Thread Roey Dror
>
> Is there any other pam module which can supply a passwordless login?
> maybe pam_guest?
>

I figured it out.  Adding this line:
authsufficient  pam_guest.soguests=username nopass
to /etc/pam.d/gdm
did the trick.

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


Re: gjournal: journaled slices vs. journaled partitions

2008-11-04 Thread Gabriel Lavoie
Hello,
 I built a similar setup last weekend on a new home server with two
500GB drives. I didn't want to only put gmirror and have full drives rebuild
on power failure/reset on the system. I was told that putting bsdlabels on a
gjournal provider wasn't a good idea but I have yet to have an answer about
why... I went with this setup anyway and I made some reset tests to see what
happens on reboot and everything always went fine.

When building this setup I got one big problem. If the root filesystem (/)
was on a gjournal provider, an unclean shutdown when data was being written
on the disk rendered the system completely unbootable. I got this message:

GEOM_MIRROR: Device mirror/gm launched (2/2)
GEOM_JOURNAL: Journal 3672855181: mirror/gma contains data.
GEOM_JOURNAL: Journal 3672855181: mirror/gma contains journal.
GEOM_JOURNAL: Journal 3868799910: mirror/gmd contains data.
GEOM_JOURNAL: Journal 3868799910: mirror/gmd contains journal.
GEOM_JOURNAL: Journal mirror/gmd consistent.
Trying to mount root from ufs:/dev/mirror/gm.journal

Manual root filesystem specification:
:  Mount  using filesystem 
   eg. ufs:da0s1a
? List valid disk boot devices
  Abort manual input


mountroot> ?

List of GEOM managed disk devices:
 mirror/gmd.journal mirror/gmd mirror/gmc mirror/gma mirror/gm ad10s1c
ad10s1b ad8s1c ad8s1b ad10s2 ad10s1 ad8s1 ad10 ad8 acd0


As you can see, in the proposed list of disk devices devices to boot on,
"mirror/gm.journala" is absent. As I and Ivan Voras, that I contacted about
this problem, found, the GEOM_JOURNAL thread that is supposed to mark the
journal consistent takes too much time to do it with the root filesystem's
provider and the kernel try to mount a device that doesn't yet exist. A bug
report has been opened about this problem. For my final setup I decided to
put the root filesystem on a separate mirrorred slice of 1GB. Since this
slice isn't often written on, not many rebuilds should occur in case of
power failure. And I made my "power failure" test by hitting the reset
button while writing data on this filesystem and the rebuild on 1GB doesn't
takes too much time (at most 20-30 seconds).

Now I have the question. Why the "load" algorith wasn't recommended? Is it
fixed in 7.0-RELEASE-p5?

Here is my complete setup that seems to boot correctly every times I made my
reset tests while writing data on each filesystems. The 2GB gjournal
provider is directly on the mirror provider for all mirrored filesystems
exept the root one and I made my bsd labels on the gjournal provider,
instead of creating a journal for every filesystem.


[EMAIL PROTECTED] ~]# cat /etc/fstab
# DeviceMountpoint  FStype  Options Dump
Pass#
/dev/ad10s1bnoneswapsw  0   0
/dev/ad8s1b noneswapsw  0   0
/dev/mirror/root/   ufs rw  1   1
/dev/ufs/usr/usrufs rw,async2   2
/dev/ufs/var/varufs rw,async2   2
/dev/ufs/tmp/tmpufs rw,async2   2
/dev/ufs/home   /home   ufs rw,async2   2
/dev/ufs/data   /mnt/data   ufs rw,async2   2
/dev/acd0   /cdrom  cd9660  ro,noauto   0   0


[EMAIL PROTECTED] ~]# mount
/dev/mirror/root on / (ufs, local, soft-updates)
devfs on /dev (devfs, local)
/dev/ufs/usr on /usr (ufs, asynchronous, local, gjournal)
/dev/ufs/var on /var (ufs, asynchronous, local, gjournal)
/dev/ufs/tmp on /tmp (ufs, asynchronous, local, gjournal)
/dev/ufs/home on /home (ufs, asynchronous, local, acls, gjournal)
/dev/ufs/data on /mnt/data (ufs, asynchronous, local, acls, gjournal)


[EMAIL PROTECTED] ~]# glabel status
Name  Status  Components
 ufs/usr N/A  mirror/data.journald
 ufs/var N/A  mirror/data.journale
 ufs/tmp N/A  mirror/data.journalf
ufs/home N/A  mirror/data.journalg
ufs/data N/A  mirror/data.journalh


[EMAIL PROTECTED] ~]# gjournal list
Geom name: gjournal 372943514
ID: 372943514
Providers:
1. Name: mirror/data.journal
   Mediasize: 495810966528 (462G)
   Sectorsize: 512
   Mode: r5w5e11
Consumers:
1. Name: mirror/data
   Mediasize: 497958450688 (464G)
   Sectorsize: 512
   Mode: r1w1e1
   Jend: 497958450176
   Jstart: 495810966528
   Role: Data,Journal


[EMAIL PROTECTED] ~]# gmirror list
Geom name: data
State: COMPLETE
Components: 2
Balance: split
Slice: 4096
Flags: NOFAILSYNC
GenID: 0
SyncID: 1
ID: 990032118
Providers:
1. Name: mirror/data
   Mediasize: 497958450688 (464G)
   Sectorsize: 512
   Mode: r1w1e1
Consumers:
1. Name: ad8s2
   Mediasize: 497958451200 (464G)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Priority: 0
   Flags: HARDCODED
   GenID: 0
   SyncID: 1
   ID: 235591066
2. Name: ad10s2
   Mediasize: 49795

Re: Error trying to fetch kdebase-workspace-4.1.3.tar.bz2

2008-11-04 Thread Lowell Gilbert
Warren Liddell <[EMAIL PROTECTED]> writes:

> Does anyone have s ite where i can manually d/l
> kdebase-workspace-4.1.3.tar.bz2 as all the addies in the freebsd ports
> list for the file arent working for myself.

I don't see any signs of it being built according to the build cluster:
http://portsmon.freebsd.org/portoverview.py?category=&portname=kdebase4-workspace&wildcard=

but that's obviously missing real data, because I found the package in
my local package mirror:
ftp://ftp5.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/All/kdebase-workspace-4.1.1.tbz

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: BSDstats: New High Water Mark: 25 000+ Hosts Reporting In

2008-11-04 Thread Gabriel Lavoie
When are the stats updated on bsdstats.org?

Thanks

Gabriel

2008/11/4 Marc G. Fournier <[EMAIL PROTECTED]>

> On Wed, 5 Nov 2008, andrew clarke wrote:
>
>  On Mon 2008-11-03 18:33:57 UTC-0400, Marc G. Fournier ([EMAIL PROTECTED])
>> wrote:
>>
>>  For FreeBSD users, you just need to install /usr/ports/sysutils/bsdstats
>>> to set things up.
>>>
>>
>> I stopped using bsdstats after it caused my FreeBSD router to take too
>> long to boot up after a reboot.  If I recall correctly, I had
>> bsdstats_enable="YES" in /etc/rc.conf and after the reboot bsdstats
>> was called before ppp was able to start, so it couldn't connect to the
>> bsdstats server.  On the other hand this was a while ago and I am
>> going by memory, so I may be wrong about what happened or it was just
>> a coincidence.  At the time I was more interested in getting the
>> router running so I didn't really care for debugging what was going
>> on.  I realise this is a bit of a vague bug report, so feel free to
>> ignore it.
>>
>
> There is an optional flag for 'reporting on reboot' ... the original script
> only did reporting monthly, out of periodic, but some ppl (ie. using
> laptops) suggesting an optional flag so that when they rebooted, they would
> be counted also ...
>
> And you are correct, just change:
>
> bsdstats_enable="YES"
>
> to
>
> bsdstats_enable="NO"
>
> And 'on reboot' will eb disabled, and only periodic will be used ... at a
> minimum, you just need:
>
> monthly_statistics_enable="YES"
>
> in /etc/periodic.conf, wich will only report OS/version and skip the
> devices/ports reports ...
>
> 
> Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org
> )
> Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
> Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>



-- 
Gabriel Lavoie
[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: xfce decktop time display

2008-11-04 Thread Robert
On Tue, 4 Nov 2008 21:53:47 +0800
"FBSD1" <[EMAIL PROTECTED]> wrote:

> Using Xfce4 and the time is displayed in military time 2200.
> Want to change this to regular AM/PM displayed time. 10pm
> Been through the manual and all the menus and can not find knob to
> change the time setting.
> 
> Thanks for any help you can give.
> 
Right click the time display and uncheck 24 hours
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: BSDstats: New High Water Mark: 25 000+ Hosts Reporting In

2008-11-04 Thread Marc G. Fournier

On Wed, 5 Nov 2008, andrew clarke wrote:


On Mon 2008-11-03 18:33:57 UTC-0400, Marc G. Fournier ([EMAIL PROTECTED]) wrote:


For FreeBSD users, you just need to install /usr/ports/sysutils/bsdstats
to set things up.


I stopped using bsdstats after it caused my FreeBSD router to take too
long to boot up after a reboot.  If I recall correctly, I had
bsdstats_enable="YES" in /etc/rc.conf and after the reboot bsdstats
was called before ppp was able to start, so it couldn't connect to the
bsdstats server.  On the other hand this was a while ago and I am
going by memory, so I may be wrong about what happened or it was just
a coincidence.  At the time I was more interested in getting the
router running so I didn't really care for debugging what was going
on.  I realise this is a bit of a vague bug report, so feel free to
ignore it.


There is an optional flag for 'reporting on reboot' ... the original 
script only did reporting monthly, out of periodic, but some ppl (ie. 
using laptops) suggesting an optional flag so that when they rebooted, 
they would be counted also ...


And you are correct, just change:

bsdstats_enable="YES"

to

bsdstats_enable="NO"

And 'on reboot' will eb disabled, and only periodic will be used ... at a 
minimum, you just need:


monthly_statistics_enable="YES"

in /etc/periodic.conf, wich will only report OS/version and skip the 
devices/ports reports ...



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


Question about /dev/sequencer

2008-11-04 Thread Gonzalo Nemmi
[EMAIL PROTECTED] ~]% uname -a
FreeBSD inferna.inferna.com.ar 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Jul 20 
03:44:42 ART 2008 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/INFERNA  i386

My soundcar is already configured and running properly, kmid complains 
about /dev/sequencer being used by another app ...
I checked on dev but there's no /dev/sequencer at all..
Any hints on how to configure my sound card to create it?

[EMAIL PROTECTED] ~]% grep pcm0 /var/log/messages
Nov  4 13:40:31 inferna kernel: pcm0:  port 0xd880-0xd89f 
irq 16 at device 0.0 on pci4
Nov  4 13:40:31 inferna kernel: pcm0: 
Nov  4 13:40:31 inferna kernel: pcm0: [ITHREAD]
[EMAIL PROTECTED] ~]% cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
Installed devices:
pcm0:  at io 0xd880 irq 16  [MPSAFE] (4p:1v/2r:1v channels 
duplex default)
[EMAIL PROTECTED] ~]%

As a side effect of that, Fretsonfire can't play the mid songs .. so it plays 
the ogg but the mids are missing == unplayable :(

I found this:

# cd /dev
# sh MAKEDEV snd0

on http://wiki.dragonflybsd.org/index.cgi/sound-setup.html and gave it a shot 
just in case but it didn't work ...

Any hint will be greatly aprecciated

Thanks in advanced
Regards
-- 
Blessings
Gonzalo Nemmi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Disk top usage PIDs

2008-11-04 Thread Adam McDougall

Eduardo Meyer wrote:

Hello,

I have some serious issue. Sometimes something happens and my disk
usage performance find its limit quickly. I follow with gstat and
iostat -xw1, and everything usually happens just fine, with %b around
20 and 0 to 1 pending i/o request. Suddely I get 30, 40 pending
requests and %b is always on 100% (or more than this).

fstat and lsof gives me no hint, because the type of programs as well
as the amount of 'em is just the same.

How can I find the PID which is hammering my disk? Is there an "iotop"
or "disktop" tool or something alike?

Its a mail server. I have pop3, imap, I also have maildrop and
sometimes, httpd, working around the busiest mount point.

I have also started AUDIT, however all I can get are the top PIDs
which issue read/write requests. Not the requests which take longer to
perform (the busiest ones), or should I look for some special audit
class or event other than open, read and write?

Thank you in advance.

  

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


Re: garmin forerunner 305

2008-11-04 Thread Hans Petter Selasky
On Tuesday 04 November 2008, Bruce Cran wrote:
> On Tue, 04 Nov 2008 14:57:14 +0300
>
> Boris Samorodov <[EMAIL PROTECTED]> wrote:
> > Bruce Cran <[EMAIL PROTECTED]> writes:
> > > I don't know if it'll work with the usb stack that's in shipping
> > > version of FreeBSD though, and even with the new stack I had to
> > > make a change to libgpsusb.c in gpsbabel to get it working.
> >
> > Can you submit a patch? Thanks!
>
> Having just read about endpoint addresses I'm not sure who's wrong.
> gpsbabel truncates the address to the first 4 bytes using
> USB_ENDPOINT_ADDRESS_MASK from libusb20 while
> the stack clearly wants the rest, including the top 'direction' bit.  In
> fact in /sys/dev/usb2/core/usb2_device.c line 114 it masks out the
> reserved bits but still keeps the direction bit. usb2_get_pipe_by_addr
> was failing when passed address 1 because the full endpoint address is
> 0x81 (endpoint 1, direction IN).  It looks as though by changing EA_MASK
> to be just the endpoint number would fix the problem, but I'm not
> sure if that's correct.

Hi,

I'm going to fix this in libusb20. In the callbacks in libusb20 we know the 
direction and I will simply just fix it there. The applications I tested so 
far passed the correct endpoint value.

--HPS

int
usb_bulk_write(usb_dev_handle * dev, int ep, char *bytes,
int size, int timeout)
{
return (usb_std_io(dev, ep, bytes, size, timeout, 0));
}

int
usb_bulk_read(usb_dev_handle * dev, int ep, char *bytes,
int size, int timeout)
{
return (usb_std_io(dev, ep, bytes, size, timeout, 0));
}

int
usb_interrupt_write(usb_dev_handle * dev, int ep, char *bytes,
int size, int timeout)
{
return (usb_std_io(dev, ep, bytes, size, timeout, 1));
}

int
usb_interrupt_read(usb_dev_handle * dev, int ep, char *bytes,
int size, int timeout)
{
return (usb_std_io(dev, ep, bytes, size, timeout, 1));
}
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 7.1-BETA2 installation on ASUS P4S8X fails BIG MEDIUM ERROR

2008-11-04 Thread Christoph Kukulies

Christoph Kukulies schrieb:

Julien Cigar schrieb:

I've this problem too on almost all my machines. The only solution I've
found is to disable DMA (atapi_dma), but then performances are very poor
  


What I've found is enable/disable IDE Master in the BIOS settings. I 
disabled it to no avail.

Just bought a SATA CD/DVD burner hoping to get along with this.



Pitfall - SATA CDROM drive is not seen by the BIOS so I cannot boot from 
it or
is there a way to get around this? Any other method to boot from? This 
motherboard isn't one of the
newest, in contrary, quite old. Doesn't seem to support boot from USB 
device, so I depend on

getting the system booted from CDROM.

--
Christoph Kukulies

--
Christoph  Kukulies

(and I'm still unable to burn a CD/DVD)

On Tue, 2008-11-04 at 16:03 +0100, Christoph Kukulies wrote:
 

Hi,

don't know whether it's the CDROM drive (a Creative 52x mx) or the 
motherboard (ASUS P4S8X) or what.
Anyway, I tried to install a recent version of FreeBSD (7.1-BETA2) 
and the installation

hangs right in the boot process of the installation CD disc1.

I see

acd0: FAILURE - READ BIG MEDIUM ERROR asc=0x11 ascq=0x00
run_interrupt_driven_hooks: still waiting after 60 seconds for 
xpt_config
run_interrupt_driven_hooks: still waiting after 120 seconds for 
xpt_config
run_interrupt_driven_hooks: still waiting after 180 seconds for 
xpt_config


and so on.

Any clues?

--
Christoph Kukulies


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


Re: help with MY Book external drive

2008-11-04 Thread Robert
On Tue, 4 Nov 2008 11:13:21 + (GMT)
AN <[EMAIL PROTECTED]> wrote:

> I just purchased a WD MY Book external USB disk, I reformatted in UFS
> and created a filesystem with sysinstall.  I was able to put data on
> it successfully, however overnite I had a power failure.  Now I am
> unable to mount the drive.  The blue light is on, so it seems to be
> getting power but the computer does not see it when I plug in the USB
> cable.  I can not run fsck because the system says /dev/da0s1d no
> such file or directory.  I tried da0s1, da0s1c, and da0s1d no luck.
> I also tried to plug the disk into another machine, same thing the
> disk is not recognized.  Is it totally gone?Any help to recover
> this disk would be really appreciated.
> 
> TIA

I have a bit of experience with MyBook. I had a friend ask me to look
at two of hers that did the same thing yours is doing. It was a 500G
that was out of warranty. I was able to open it up and found a standard
3.5 inch SATA hard drive. 

I directly connected it to a computer and the drive was totally dead.
If the drive was connect to one of the first four physical drives that
bios checked, then bios would halt and freeze. If it was connected
through an add-on SATA card, then it bios would not recognize it.

I purchased a replacement 500G SATA drive from NewEgg that was on sale
and was able to install it in the original MyBook box. It is working
perfectly. The drive I purchased carries a 3 year warranty as an added
benefit whereas the MyBook is only a year.

The controller is what make the front light operate and has nothing to
do with the drive. The other thing you might want to check it the power
adapter. The other MyBook failed in the exact same way but when I
changed the adapter it was just fine. 

I hope this helps but YMMV

Good luck

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


Re: Using csup

2008-11-04 Thread Jerry McAllister
On Mon, Nov 03, 2008 at 05:38:28PM -0800, David Allen wrote:

> I'd like to move to using csup(1) and there's an error in the manpage
> that's raising some questions for me:
> 
> OPTIONS
> base=base   The default base directory is /usr/local/etc/csup.
> 
> FILES
> /usr/local/etc/cvsupDefault base directory.
> sup Default collDir subdirectory.
> base/collDir/collection/checkouts*  List files.
> 
> Assuming that the default 'base' directory is /usr/local/etc/cvsup, would
> the following three files be sufficient for csup to work?

I have mine all in one file and pull all the updates at once.
You can name the supfile on your csup command line.  Then put
it anywhere you want.   Mine is in /etc.

jerry


> 
> # /usr/local/etc/cvsup/standard-supfile
> *default tag=RELENG_7_0
> *default host=cvsup10.us.FreeBSD.org
> *default release=cvs delete use-rel-suffix compress
> src-all
> 
> # /usr/local/etc/cvsup/doc-supfile
> doc-all
> 
> # /usr/local/etc/cvsup/ports-supfile
> ports-all tag=.
> 
> # usr/local/etc/cvsup/sup/refuse
> [contents of global refusefile]
> ___
> 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]"


Res: Question: Howto Cvsup mirror?

2008-11-04 Thread Oliver v.B.K.
Yes, I know that this package exists... but I'm trying to setup a cvsup server 
on a CENTOS 5.2 machine. 
Does the cvsup client understands only this cvsup-mirror server or is there any 
other cross-platform(centos) server I can use ? for example a CVS server ?

thanks

 
Oliver vBK





De: Yuri Pankov <[EMAIL PROTECTED]>
Para: Oliver v.B.K. <[EMAIL PROTECTED]>
Cc: freebsd-questions@freebsd.org
Enviadas: Terça-feira, 4 de Novembro de 2008 14:30:47
Assunto: Re: Question: Howto Cvsup mirror?

On Tue, Nov 04, 2008 at 08:01:17AM -0800, Oliver v.B.K. wrote:
> Hi,
> I've been trying to setup a freebsd7.0 mirror on my network for my needs. The 
> ftp mirror is working great(used a repository with cobbler) 
> but with the cvsup mirror I'm quite lost.
> 
> I read in the freebsd handbook what cvsup does and how it works but I didn't 
> find anywhere
> explaining how to create a mirror.
> 
> Since the mirror server on the network runs centos5.2 I tried running csup 
> instead of compiling cvsup with modula3.
> I tried it out with the supfiles I use on the freebsd7.0 machines and it 
> worked pretty well I guess...
> 
> Now... what kind of server should I use ? is there a cvsupd I can use? or a 
> normal CVS server should be enough ?
> 
> Thanks
> 
>  
> Oliver vBK

Check /usr/ports/net/cvsup-mirror


HTH,
Yuri



  Novos endereços, o Yahoo! que você conhece. Crie um email novo com a sua 
cara @ymail.com ou @rocketmail.com.
http://br.new.mail.yahoo.com/addresses
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 7.1-BETA2 installation on ASUS P4S8X fails BIG MEDIUM ERROR

2008-11-04 Thread Christoph Kukulies

Julien Cigar schrieb:

I've this problem too on almost all my machines. The only solution I've
found is to disable DMA (atapi_dma), but then performances are very poor
  


What I've found is enable/disable IDE Master in the BIOS settings. I 
disabled it to no avail.

Just bought a SATA CD/DVD burner hoping to get along with this.

--
Christoph  Kukulies

(and I'm still unable to burn a CD/DVD)

On Tue, 2008-11-04 at 16:03 +0100, Christoph Kukulies wrote:
  

Hi,

don't know whether it's the CDROM drive (a Creative 52x mx) or the 
motherboard (ASUS P4S8X) or what.
Anyway, I tried to install a recent version of FreeBSD (7.1-BETA2) and 
the installation

hangs right in the boot process of the installation CD disc1.

I see

acd0: FAILURE - READ BIG MEDIUM ERROR asc=0x11 ascq=0x00
run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config
run_interrupt_driven_hooks: still waiting after 120 seconds for xpt_config
run_interrupt_driven_hooks: still waiting after 180 seconds for xpt_config

and so on.

Any clues?

--
Christoph Kukulies



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


Re: tangoGPS && FreeBSD 7.0

2008-11-04 Thread Fabian Keil
Matthias Apitz <[EMAIL PROTECTED]> wrote:

> El día Thursday, October 30, 2008 a las 07:51:05PM +0100, Fabian Keil 
> escribió:
> 
> > Matthias Apitz <[EMAIL PROTECTED]> wrote:
> > 
> > > Is anybody aware of a port of tangoGPS
> > > http://www.tangogps.org/gps/cat/About to FreeBSD 7.0? It runs it in my
> > > Linux based cellphone Openmoko FreeRunner and it would be nice to have
> > > it as well in my eeePC (just for having better capacity for cached maps
> > > of OpenStreetMap and a bigger display). What kind of USB based GPS
> > > devices could be used in this eeePC with FreeBSD 7.0?
> > 
> > Using your FreeRunner seems like an obvious choice to me.
> > 
> > I got one as well, but I'm not aware of a tangoGPS port
> > for FreeBSD and haven't looked into how much effort
> > porting it would take either.
> 
> tangoGPS compiled and works just fine in FreeBSD, just the usual way:
> 
> ./configure
> make
> make install

Good to know. Are you already working on a port?

> it needs a gps daemon which is in the ports, and you need some GPS
> device RS232 or USB based and the web pages of gpsd have a long list
> of compatibel devices, for sure not all tested with FreeBSD; will see if
> I could check some out in the near future;

I was thinking about running tangoGPS on FreeBSD and
connecting it to the gpsd already running on the Freerunner.

Fabian


signature.asc
Description: PGP signature


Re: Question: Howto Cvsup mirror?

2008-11-04 Thread Yuri Pankov
On Tue, Nov 04, 2008 at 08:01:17AM -0800, Oliver v.B.K. wrote:
> Hi,
> I've been trying to setup a freebsd7.0 mirror on my network for my needs. The 
> ftp mirror is working great(used a repository with cobbler) 
> but with the cvsup mirror I'm quite lost.
> 
> I read in the freebsd handbook what cvsup does and how it works but I didn't 
> find anywhere
> explaining how to create a mirror.
> 
> Since the mirror server on the network runs centos5.2 I tried running csup 
> instead of compiling cvsup with modula3.
> I tried it out with the supfiles I use on the freebsd7.0 machines and it 
> worked pretty well I guess...
> 
> Now... what kind of server should I use ? is there a cvsupd I can use? or a 
> normal CVS server should be enough ?
> 
> Thanks
> 
>  
> Oliver vBK

Check /usr/ports/net/cvsup-mirror


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


Question: Howto Cvsup mirror?

2008-11-04 Thread Oliver v.B.K.
Hi,
I've been trying to setup a freebsd7.0 mirror on my network for my needs. The 
ftp mirror is working great(used a repository with cobbler) 
but with the cvsup mirror I'm quite lost.

I read in the freebsd handbook what cvsup does and how it works but I didn't 
find anywhere
explaining how to create a mirror.

Since the mirror server on the network runs centos5.2 I tried running csup 
instead of compiling cvsup with modula3.
I tried it out with the supfiles I use on the freebsd7.0 machines and it worked 
pretty well I guess...

Now... what kind of server should I use ? is there a cvsupd I can use? or a 
normal CVS server should be enough ?

Thanks

 
Oliver vBK



  Novos endereços, o Yahoo! que você conhece. Crie um email novo com a sua 
cara @ymail.com ou @rocketmail.com.
http://br.new.mail.yahoo.com/addresses
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: GDM login without using a password

2008-11-04 Thread Roey Dror
>
> OK the pam stuff that is talked about online is found in /etc/pam.d/gdm.
> I have seen a few suggestions to change the auth to optional instead of
> required.  However there would be nothing to stop some one logging in as
> root through gdm.
>

Is there any other pam module which can supply a passwordless login?
maybe pam_guest?

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


Re: /etc/src.conf WITHOUT_PROFILE=yes

2008-11-04 Thread Bruce Cran
On Tue, 4 Nov 2008 16:33:08 +0100
"Johan Hendriks" <[EMAIL PROTECTED]> wrote:

> Is it wise to set the WITHOUT_PROFILE to yes
> Some say it is, some not, and what does it do exactly?

All it does is prevent building the profiled versions of the libraries:
look in /usr/lib and you'll see for example libc.so and libc_p.so - the
_p version is the profiled version.  The only problem I can see with
disabling it using WITHOUT_PROFILE is that unless you remove the _p
libraries they'll become stale over time.

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


GDM login without using a password

2008-11-04 Thread Roey Dror
I've searched around the internet for a way to allow a user to login
into GDM without using a password.
I know that GDM has an automatic login feature, but that's not what I'm looking.
I really do not wish to create a user with an empty password, in order
not to compromise the entire system security.
I found a mini-HOWTO which suggests using the pam_filelist module.
Unfortunately, I couldn't find this module in the ports system.

Is there any other way to allow this user to login without using a
password only using GDM?

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


Re: 7.1-BETA2 installation on ASUS P4S8X fails BIG MEDIUM ERROR

2008-11-04 Thread Julien Cigar
I've this problem too on almost all my machines. The only solution I've
found is to disable DMA (atapi_dma), but then performances are very poor
(and I'm still unable to burn a CD/DVD)

On Tue, 2008-11-04 at 16:03 +0100, Christoph Kukulies wrote:
> Hi,
> 
> don't know whether it's the CDROM drive (a Creative 52x mx) or the 
> motherboard (ASUS P4S8X) or what.
> Anyway, I tried to install a recent version of FreeBSD (7.1-BETA2) and 
> the installation
> hangs right in the boot process of the installation CD disc1.
> 
> I see
> 
> acd0: FAILURE - READ BIG MEDIUM ERROR asc=0x11 ascq=0x00
> run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config
> run_interrupt_driven_hooks: still waiting after 120 seconds for xpt_config
> run_interrupt_driven_hooks: still waiting after 180 seconds for xpt_config
> 
> and so on.
> 
> Any clues?
> 
> --
> Christoph Kukulies
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
-- 
Julien Cigar
Belgian Biodiversity Platform
http://www.biodiversity.be
Université Libre de Bruxelles (ULB)
Campus de la Plaine CP 257
Bâtiment NO, Bureau 4 N4 115C (Niveau 4)
Boulevard du Triomphe, entrée ULB 2
B-1050 Bruxelles
Mail: [EMAIL PROTECTED]
@biobel: http://biobel.biodiversity.be/person/show/471
Tel : 02 650 57 52

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


Re: garmin forerunner 305

2008-11-04 Thread Bruce Cran
On Tue, 04 Nov 2008 14:57:14 +0300
Boris Samorodov <[EMAIL PROTECTED]> wrote:

> Bruce Cran <[EMAIL PROTECTED]> writes:
> 
> > I don't know if it'll work with the usb stack that's in shipping
> > version of FreeBSD though, and even with the new stack I had to
> > make a change to libgpsusb.c in gpsbabel to get it working.
> 
> Can you submit a patch? Thanks!

Having just read about endpoint addresses I'm not sure who's wrong.
gpsbabel truncates the address to the first 4 bytes using
USB_ENDPOINT_ADDRESS_MASK from libusb20 while
the stack clearly wants the rest, including the top 'direction' bit.  In
fact in /sys/dev/usb2/core/usb2_device.c line 114 it masks out the
reserved bits but still keeps the direction bit. usb2_get_pipe_by_addr
was failing when passed address 1 because the full endpoint address is
0x81 (endpoint 1, direction IN).  It looks as though by changing EA_MASK
to be just the endpoint number would fix the problem, but I'm not
sure if that's correct.

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


Disk top usage PIDs

2008-11-04 Thread Eduardo Meyer
Hello,

I have some serious issue. Sometimes something happens and my disk
usage performance find its limit quickly. I follow with gstat and
iostat -xw1, and everything usually happens just fine, with %b around
20 and 0 to 1 pending i/o request. Suddely I get 30, 40 pending
requests and %b is always on 100% (or more than this).

fstat and lsof gives me no hint, because the type of programs as well
as the amount of 'em is just the same.

How can I find the PID which is hammering my disk? Is there an "iotop"
or "disktop" tool or something alike?

Its a mail server. I have pop3, imap, I also have maildrop and
sometimes, httpd, working around the busiest mount point.

I have also started AUDIT, however all I can get are the top PIDs
which issue read/write requests. Not the requests which take longer to
perform (the busiest ones), or should I look for some special audit
class or event other than open, read and write?

Thank you in advance.

-- 
===
Eduardo Meyer
pessoal: [EMAIL PROTECTED]
profissional: [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: GDM login without using a password

2008-11-04 Thread Craig Butler


On Tue, 2008-11-04 at 16:02 +0200, Roey Dror wrote:
> I've searched around the internet for a way to allow a user to login
> into GDM without using a password.
> I know that GDM has an automatic login feature, but that's not what I'm 
> looking.
> I really do not wish to create a user with an empty password, in order
> not to compromise the entire system security.
> I found a mini-HOWTO which suggests using the pam_filelist module.
> Unfortunately, I couldn't find this module in the ports system.
> 
> Is there any other way to allow this user to login without using a
> password only using GDM?
> 

AFAIK the automatic login feature allows you to nominate a user to
automatically log in as... it doesn't ask for the password but I think
one can be set (so it doesn't need to be empty).  Automatic login is a
security risk in its self, the cracker is already one step closer.

It is all controlled through gdmsetup.

Regards

Craig B



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


Re: Disk top usage PIDs

2008-11-04 Thread Eduardo Meyer
On Tue, Nov 4, 2008 at 12:55 PM, Bill Moran <[EMAIL PROTECTED]> wrote:
> In response to "Eduardo Meyer" <[EMAIL PROTECTED]>:
>
>> On Tue, Nov 4, 2008 at 12:27 PM, Eduardo Meyer <[EMAIL PROTECTED]> wrote:
>> > On Tue, Nov 4, 2008 at 12:18 PM, Bill Moran <[EMAIL PROTECTED]> wrote:
>> >> In response to "Eduardo Meyer" <[EMAIL PROTECTED]>:
>> >>>
>> >>> I have some serious issue. Sometimes something happens and my disk
>> >>> usage performance find its limit quickly. I follow with gstat and
>> >>> iostat -xw1, and everything usually happens just fine, with %b around
>> >>> 20 and 0 to 1 pending i/o request. Suddely I get 30, 40 pending
>> >>> requests and %b is always on 100% (or more than this).
>> >>>
>> >>> fstat and lsof gives me no hint, because the type of programs as well
>> >>> as the amount of 'em is just the same.
>> >>>
>> >>> How can I find the PID which is hammering my disk? Is there an "iotop"
>> >>> or "disktop" tool or something alike?
>> >>
>> >> top -m io -o total
>> >
>> > Great, thats exactly what I was looking for, thank you a lot Mr Moran.
>>
>> I see syncer (40%) and bufaemon (10%) and after that, imapd. The first
>> ones are kernel PIDs (36 and 37).
>>
>> PID USERNAME   VCSW  IVCSW   READ  WRITE  FAULT  TOTAL PERCENT COMMAND
>>  36 root  2  2  0 31  0 31  40.79% bufdaemon
>>  37 root  2  2  0 16  0 16  21.05% syncer
>> 71501 vmail 4  0  0  0  0  0   12.00% imapd
>>
>> I guess it a symptom of some hardware problems, kernel itself is not
>> supposed to do this many I/O, right?
>>
>> Sometimes PID 39, softdepflush, is always on top 3.
>
> Off the top of my head, it looks like you're exceeding what the hardware
> can do.  What kind of disks do you have in that system?  It may be time
> to get faster disks or expand to a high-performance RAID setup.

Its a:

Master:  ad4  Serial ATA II

I still think its a hw (disk or controller) problem.

I have raised the following:

kern.filedelay=90
kern.dirdelay=90
kern.metadelay=90

Now, my disk usage is back to 30%




>
> --
> Bill Moran
> http://www.potentialtech.com
>



-- 
===
Eduardo Meyer
pessoal: [EMAIL PROTECTED]
profissional: [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: xfce decktop time display

2008-11-04 Thread Christian Hiris
On Tuesday 04 November 2008, FBSD1 wrote:
> Using Xfce4 and the time is displayed in military time 2200.
> Want to change this to regular AM/PM displayed time. 10pm
> Been through the manual and all the menus and can not find knob to change
> the time setting.
>
> Thanks for any help you can give.

Maybe the clock.rc file is from an old installation/version.
You can remove ande re-add the clock via gui or edit the clock.rc file by 
hand. Simply set the military option to value false. HTH!

$ cat ~/.config/xfce4/panel/clock*.rc
mode=1
military=false 
ampm=true
secs=true
show_frame=false

Cheers,
ch

-- 
Christian Hiris <[EMAIL PROTECTED]> | OpenPGP KeyID 0x1A9BE943
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Slow swith between console (ALT - Fx) proliant DL160

2008-11-04 Thread Johan Hendriks


>>Onderwerp: Re: Slow swith between console (ALT - Fx) proliant DL160

On Tue, Nov 04, 2008 at 03:36:51PM +0100, Johan Hendriks wrote:
>> Hello all
>> I have a small issue when i switch between my console?s on a proliant DL160 
>> G5 machine.
>> It has a time gap from around 1 to 2 seconds and then it will switch to the 
>> next console after pressing ALT - F2
>> 
>> Do I need to set something in my loader.conf or sysctl.conf?

>Chances are you're using a USB keyboard.  Place the following in
>/boot/loader.conf and reboot the machine:
>
>hint.kbdmux.0.disabled="1"


No i have a normal ps/2 keyboard connected to it.

Regards,
Johan Hendriks

No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.175 / Virus Database: 270.8.6/1765 - Release Date: 3-11-2008 16:59
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: gjournal: journaled slices vs. journaled partitions

2008-11-04 Thread Volodymyr Kostyrko

Carl wrote:

Volodymyr Kostyrko wrote:

I have some setups were gjournal was put on device rather the on 
partition, i.e.:


[umgah] ~> gmirror status
  NameStatus  Components
mirror/umgah0  COMPLETE  ad0
  ad1
[umgah] ~> gjournal status
  Name  Status  Components
mirror/umgah0.journal N/A  mirror/umgah0
[umgah] ~> glabel status
 Name  Status  Components
   ufs/umgah0root N/A  mirror/umgah0.journala
label/umgah0swap N/A  mirror/umgah0.journalb
ufs/umgah0usr N/A  mirror/umgah0.journald
ufs/umgah0var N/A  mirror/umgah0.journale


Does the above suggest that you've ended up with individual journal 
providers for each partition anyway? If so, where are they and have you 
really achieved anything functionally different? Are they at the end of 
their individually associated partitions or all together somewhere else? 
Has the ill-advised journaled small partition issue been successfully 
overcome through what you've done?


First, there is only one journal - for /dev/mirror/umgah0 and it is 
named /dev/mirror/umgah0.journal. Anything else is just a bsdlabel 
partitions, there are four of 'em.





[umgah] ~> mount
/dev/ufs/umgah0root on / (ufs, asynchronous, local, noatime, gjournal)
devfs on /dev (devfs, local)
/dev/md0 on /tmp (ufs, asynchronous, local)
/dev/ufs/umgah0var on /var (ufs, asynchronous, local, noatime, gjournal)
/dev/ufs/umgah0usr on /usr (ufs, asynchronous, local, noatime, gjournal)
devfs on /var/named/dev (devfs, local)

And yes, mirror autosynchronization is turned off, gjournal takes care 
of that too.


It's not stated in manual, but gjournal is typically transparent for 
any type of access, just in case of UFS file system is marked as 
journaled so any metadata writes can be distinguished from data 
writes. Without that gjournal does literally nothing.


And what does this mean for your swap partition?


Just nothing, it's just swap. It can't be journaled.


Laszlo Nagy wrote earlier:

Another tricky question: why would you journal a SWAP partition?


Volodymyr, does your assertion that gjournal does nothing when a file 
system is not UFS mean that there is no penalty with regard to your swap 
partition despite the existence of "mirror/umgah0.journalb"?


I haven't seen any perfomance decrease in this configuration. And 
according to manual and articles about gjournal it should work this way.


Any chance you'd like to share your command sequence for constructing 
your gmirror'd and gjournal'd filesystem, Volodymyr? :-)


If we have two disks (ad0, ad1) it should look like this:

> gmirror label -b load -n umgah0 ad1

We are getting all drive gmirrored without synchronization (we don't 
need it - journal would take care of any discrepancies) and with load 
balance (load was fixed not so long ago in stable and should be fine to 
go with).


> gjournal label mirror/umgah0

We are creating a journal on top of our gmirror. It eats 1G from the end 
of the disks and gives us the rest to use.


> bsdlabel -wB mirror/umgah0.journal

We are writing the standard bsdlabel to the disk and making it bootable. 
After that we will get one partition 'a'.



Yes, no fdisk. I don't think this old piece of rough junk is ever needed 
on machine running FreeBSD solely. It just takes space, it requires 
compatibility to forgotten-and-abandoned standards and gives nothing 
more. You have your server dual-booting Windows or Linux? This is the 
only case you need fdisk for.



> bsdlabel -e mirror/umgah0.journal

Now we are splitting our journal to some partitions. I did it this way:

# /dev/mirror/umgah0.journal:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:   524288   164.2BSD
  b: 16777216   *  swap
  c: 7793256140unused0 0 # "raw" part, 
don't edit

  d: 33554432 *4.2BSD
  e: * *4.2BSD

After that we can format this filesystems:

> newfs -J -L umgah0root /dev/mirror/umgah0.journala
> newfs -J -L umgah0var /dev/mirror/umgah0.journald
> newfs -J -L umgah0usr /dev/mirror/umgah0.journale

And label the swap:

> glabel label umgah0swap /dev/mirror/umgah0.journalb

You can skip all this glabel thing, I just prefer to have slim fstab, as 
slim as possible.



/dev/label/umgah0swap none swap sw 0 0

md /tmp mfs rw,-s1024m,-S,-oasync 0 0

/dev/ufs/umgah0root / ufs rw,async,noatime 0 1
/dev/ufs/umgah0var /var ufs rw,async,noatime 0 2
/dev/ufs/umgah0usr /usr ufs rw,async,noatime 0 2


There's a lot more here to describe from moving system to newly created 
partitions to inserting and rebuilding our first disk to gmirror. All 
this issues are described in handbook or other articles found on the net.


--
Sphinx of black quartz judge my vow.

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


Re: Disk top usage PIDs

2008-11-04 Thread Bill Moran
In response to "Eduardo Meyer" <[EMAIL PROTECTED]>:

> On Tue, Nov 4, 2008 at 12:27 PM, Eduardo Meyer <[EMAIL PROTECTED]> wrote:
> > On Tue, Nov 4, 2008 at 12:18 PM, Bill Moran <[EMAIL PROTECTED]> wrote:
> >> In response to "Eduardo Meyer" <[EMAIL PROTECTED]>:
> >>>
> >>> I have some serious issue. Sometimes something happens and my disk
> >>> usage performance find its limit quickly. I follow with gstat and
> >>> iostat -xw1, and everything usually happens just fine, with %b around
> >>> 20 and 0 to 1 pending i/o request. Suddely I get 30, 40 pending
> >>> requests and %b is always on 100% (or more than this).
> >>>
> >>> fstat and lsof gives me no hint, because the type of programs as well
> >>> as the amount of 'em is just the same.
> >>>
> >>> How can I find the PID which is hammering my disk? Is there an "iotop"
> >>> or "disktop" tool or something alike?
> >>
> >> top -m io -o total
> >
> > Great, thats exactly what I was looking for, thank you a lot Mr Moran.
> 
> I see syncer (40%) and bufaemon (10%) and after that, imapd. The first
> ones are kernel PIDs (36 and 37).
> 
> PID USERNAME   VCSW  IVCSW   READ  WRITE  FAULT  TOTAL PERCENT COMMAND
>  36 root  2  2  0 31  0 31  40.79% bufdaemon
>  37 root  2  2  0 16  0 16  21.05% syncer
> 71501 vmail 4  0  0  0  0  0   12.00% imapd
> 
> I guess it a symptom of some hardware problems, kernel itself is not
> supposed to do this many I/O, right?
> 
> Sometimes PID 39, softdepflush, is always on top 3.

Off the top of my head, it looks like you're exceeding what the hardware
can do.  What kind of disks do you have in that system?  It may be time
to get faster disks or expand to a high-performance RAID setup.

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


/etc/src.conf WITHOUT_PROFILE=yes

2008-11-04 Thread Johan Hendriks
Is it wise to set the WITHOUT_PROFILE to yes
Some say it is, some not, and what does it do exactly?

regards,
Johan Hendriks

No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.175 / Virus Database: 270.8.6/1765 - Release Date: 3-11-2008 16:59
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problems with FreeBSD

2008-11-04 Thread Giorgos Keramidas
On Tue, 4 Nov 2008 11:10:25 -0200, "J MPZ" <[EMAIL PROTECTED]> wrote:
> Hi Paul,
>
> When my connections freeze, I open the tcpdump in other terminal. If I type
> something, type "Enter", on the terminal frozen, the tcpdump show packets,
> like that:
>
> 11:18:45.526256 IP (tos 0x0, ttl  51, id 651, offset 0, flags [DF], proto:
> TCP (6), length: 112) 189.21.230.195.20787 > 201.57.5.2.2264: P 193:241(48)
> ack 0 win 15136  {1428:1664}>
[...]

> I'm using: tcpdump -nvvv -i ste0 host REMOTE_IP

Can you try capturing the connection setup packets, so we can look at
the TCP MSS negotiation values?  Starting TCPDUMP *before* one of the
connections that stall is made should capture that.

There may be an intermediate router or firewall that blocks ICMP and
ends up breaking path MTU discovery.  I've seen TCP connections
'stall' when path-mtu was broken by a setup like this and one of the
intermediate routers started dropping TCP packets that were too large
for one of its interfaces.

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


RE: Slow swith between console (ALT - Fx) proliant DL160

2008-11-04 Thread Johan Hendriks

>> >>Onderwerp: Re: Slow swith between console (ALT - Fx) proliant DL160
>> 
>> On Tue, Nov 04, 2008 at 03:36:51PM +0100, Johan Hendriks wrote:
>> >> Hello all
>> >> I have a small issue when i switch between my console?s on a proliant 
>> >> DL160 G5 machine.
>> >> It has a time gap from around 1 to 2 seconds and then it will switch >to 
>> >> the next console after pressing ALT - F2
>> >> 
>> >> Do I need to set something in my loader.conf or sysctl.conf?
>> 
>> >Chances are you're using a USB keyboard.  Place the following in
>> >/boot/loader.conf and reboot the machine:
>> >
>> >hint.kbdmux.0.disabled="1"
>> 
>> 
>> No i have a normal ps/2 keyboard connected to it.

>Try the above anyway.  There are known problems (and LORs) in kbdmux.

Well i did try the setting and it works!
Thank you very much.

Regards
Johan Hendriks

No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.175 / Virus Database: 270.8.6/1765 - Release Date: 3-11-2008 16:59
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: GDM login without using a password

2008-11-04 Thread Roey Dror
> AFAIK the automatic login feature allows you to nominate a user to
> automatically log in as... it doesn't ask for the password but I think
> one can be set (so it doesn't need to be empty).

As I said, the automatic login feature is not what I'm looking for.
I need to set up more than one user that is able to login without a password.
The computer is a home computer, so local security is not an issue.

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


Re: Slow swith between console (ALT - Fx) proliant DL160

2008-11-04 Thread Jeremy Chadwick
On Tue, Nov 04, 2008 at 03:48:57PM +0100, Johan Hendriks wrote:
> 
> 
> >>Onderwerp: Re: Slow swith between console (ALT - Fx) proliant DL160
> 
> On Tue, Nov 04, 2008 at 03:36:51PM +0100, Johan Hendriks wrote:
> >> Hello all
> >> I have a small issue when i switch between my console?s on a proliant 
> >> DL160 G5 machine.
> >> It has a time gap from around 1 to 2 seconds and then it will switch to 
> >> the next console after pressing ALT - F2
> >> 
> >> Do I need to set something in my loader.conf or sysctl.conf?
> 
> >Chances are you're using a USB keyboard.  Place the following in
> >/boot/loader.conf and reboot the machine:
> >
> >hint.kbdmux.0.disabled="1"
> 
> 
> No i have a normal ps/2 keyboard connected to it.

Try the above anyway.  There are known problems (and LORs) in kbdmux.

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


Re: Disk top usage PIDs

2008-11-04 Thread Eduardo Meyer
On Tue, Nov 4, 2008 at 12:27 PM, Eduardo Meyer <[EMAIL PROTECTED]> wrote:
> On Tue, Nov 4, 2008 at 12:18 PM, Bill Moran <[EMAIL PROTECTED]> wrote:
>> In response to "Eduardo Meyer" <[EMAIL PROTECTED]>:
>>>
>>> I have some serious issue. Sometimes something happens and my disk
>>> usage performance find its limit quickly. I follow with gstat and
>>> iostat -xw1, and everything usually happens just fine, with %b around
>>> 20 and 0 to 1 pending i/o request. Suddely I get 30, 40 pending
>>> requests and %b is always on 100% (or more than this).
>>>
>>> fstat and lsof gives me no hint, because the type of programs as well
>>> as the amount of 'em is just the same.
>>>
>>> How can I find the PID which is hammering my disk? Is there an "iotop"
>>> or "disktop" tool or something alike?
>>
>> top -m io -o total
>
> Great, thats exactly what I was looking for, thank you a lot Mr Moran.

I see syncer (40%) and bufaemon (10%) and after that, imapd. The first
ones are kernel PIDs (36 and 37).

PID USERNAME   VCSW  IVCSW   READ  WRITE  FAULT  TOTAL PERCENT COMMAND
 36 root  2  2  0 31  0 31  40.79% bufdaemon
 37 root  2  2  0 16  0 16  21.05% syncer
71501 vmail 4  0  0  0  0  0   12.00% imapd

I guess it a symptom of some hardware problems, kernel itself is not
supposed to do this many I/O, right?

Sometimes PID 39, softdepflush, is always on top 3.


-- 
===
Eduardo Meyer
pessoal: [EMAIL PROTECTED]
profissional: [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: Disk top usage PIDs

2008-11-04 Thread Bill Moran
In response to "Eduardo Meyer" <[EMAIL PROTECTED]>:
> 
> I have some serious issue. Sometimes something happens and my disk
> usage performance find its limit quickly. I follow with gstat and
> iostat -xw1, and everything usually happens just fine, with %b around
> 20 and 0 to 1 pending i/o request. Suddely I get 30, 40 pending
> requests and %b is always on 100% (or more than this).
> 
> fstat and lsof gives me no hint, because the type of programs as well
> as the amount of 'em is just the same.
> 
> How can I find the PID which is hammering my disk? Is there an "iotop"
> or "disktop" tool or something alike?

top -m io -o total

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


Slow swith between console (ALT - Fx) proliant DL160

2008-11-04 Thread Johan Hendriks
Hello all
I have a small issue when i switch between my console’s on a proliant DL160 G5 
machine.
It has a time gap from around 1 to 2 seconds and then it will switch to the 
next console after pressing ALT - F2

 

Do I need to set something in my loader.conf or sysctl.conf?

 

I use 7.1-PRERELEASE as of today.

I installed 7.1 Beta2 and it has this from the start.

 

 

Regards,

Johan Hendriks




 

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


Re: Slow swith between console (ALT - Fx) proliant DL160

2008-11-04 Thread Jeremy Chadwick
On Tue, Nov 04, 2008 at 03:36:51PM +0100, Johan Hendriks wrote:
> Hello all
> I have a small issue when i switch between my console?s on a proliant DL160 
> G5 machine.
> It has a time gap from around 1 to 2 seconds and then it will switch to the 
> next console after pressing ALT - F2
> 
> Do I need to set something in my loader.conf or sysctl.conf?

Chances are you're using a USB keyboard.  Place the following in
/boot/loader.conf and reboot the machine:

hint.kbdmux.0.disabled="1"

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


Re: garmin forerunner 305

2008-11-04 Thread Bruce Cran
On Tue, Nov 04, 2008 at 08:28:05AM -0500, Bob McConnell wrote:
> On Behalf Of Bruce Cran
> > On Thu, 4 Sep 2008 20:24:02 +0100
> > Bruce Cran <[EMAIL PROTECTED]> wrote:
> > 
> >> On Thu, 4 Sep 2008 11:51:33 -0300
> >> "Joey Mingrone" <[EMAIL PROTECTED]> wrote:
> >> 
> >> > Has anyone had any success collecting data from a Garmin Forerunner
> >> > 305?
> >> > 
> >> > When I connect the device I see the kernel messages:
> >> > Sep  4 11:39:22 jrm root: Unknown USB device: vendor 0x091e product
> >> > 0x0003 bus uhub1
> >> > Sep  4 11:39:22 jrm kernel: ugen0:  >> > class 255/255, rev 1.10/0.01, addr 2> on uhub1
> >> > 
> >> > The documentation for the port astro/GPSMan seems to indicate it
> >> > supports this model, but I haven't had any luck.
> >> > 
> >> > % uname -a
> >> > FreeBSD xxx.xxx 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #3: Thu Jun
> 12
> >> > 18:47:50 ADT 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/xxx  i386
> >> 
> >> Unfortunately Garmin use their own protocol for communicating between
> >> the GPS and the PC.  Under Linux it's supported by the garmin_gps
> >> driver but there's no equivalent for FreeBSD yet.
> >> 
> > 
> > Sorry, it turns out that's wrong: the gpsbabel developers recommend
> not
> > using garmin_gps because apparently it often doesn't work.  Instead
> > they recommend using gpsbabel's 'garmin' input/output format.  It
> > interfaces to the device using libusb - which, fortunately for us runs
> > on FreeBSD! I've just successfully read back GPS data into a GPX file
> > using gpsbabel on FreeBSD 8-CURRENT and the 'usb2' usb stack. 
> > 
> > I don't know if it'll work with the usb stack that's in shipping
> > version of FreeBSD though, and even with the new stack I had to make a
> > change to libgpsusb.c in gpsbabel to get it working.
> 
> The best way to help fix these problems are:
> 
> A) Submit a patch for the changes you made.
> 
> B) Contact the maintainers and provide them with all of the details,
> what you found, what didn't work, what you modified and the final
> results. If you have traces or data captures, they may want to see them.
> They can't fix problems they don't understand. If they don't have access
> to that hardware, or something similar, they might even ask you to do
> some experiments for them to extend their knowledge. All of that will
> help them improve the quality of future releases.
>

It looks like it may be a bug in libusb20 or the usb2 stack. I've sent
an email to Hans and freebsd-usb@ and will see what they think.  I very
much suspect it's not a bug in gpsbabel itself because
USB_ENDPOINT_ADDRESS_MASK must exist for a reason, and removing the
masking was just a hack to get things working just now.

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


Re: how much memory can be support in FreeBSD system?

2008-11-04 Thread Andrew Falanga
On Tue, Nov 4, 2008 at 6:52 AM, Alex Zhang <[EMAIL PROTECTED]> wrote:
> Hi buddy.
>
>
>
> I'm a new comer and want to configure a Virtual server base on UNIX. The
> safe, steady and easy for maintenance is needed.
>
> Approximately 8GB memory will be mounted. Can anyone tell me how much memory
> can be supported in FreeBSD?
>
> Thanks.
>
>
>
> BR
>
> Alex
>
>

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


Re: Disk top usage PIDs

2008-11-04 Thread Eduardo Meyer
On Tue, Nov 4, 2008 at 12:18 PM, Bill Moran <[EMAIL PROTECTED]> wrote:
> In response to "Eduardo Meyer" <[EMAIL PROTECTED]>:
>>
>> I have some serious issue. Sometimes something happens and my disk
>> usage performance find its limit quickly. I follow with gstat and
>> iostat -xw1, and everything usually happens just fine, with %b around
>> 20 and 0 to 1 pending i/o request. Suddely I get 30, 40 pending
>> requests and %b is always on 100% (or more than this).
>>
>> fstat and lsof gives me no hint, because the type of programs as well
>> as the amount of 'em is just the same.
>>
>> How can I find the PID which is hammering my disk? Is there an "iotop"
>> or "disktop" tool or something alike?
>
> top -m io -o total

Great, thats exactly what I was looking for, thank you a lot Mr Moran.

>
> --
> Bill Moran
> http://www.potentialtech.com
>



-- 
===
Eduardo Meyer
pessoal: [EMAIL PROTECTED]
profissional: [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: BSDstats: New High Water Mark: 25 000+ Hosts Reporting In

2008-11-04 Thread andrew clarke
On Mon 2008-11-03 18:33:57 UTC-0400, Marc G. Fournier ([EMAIL PROTECTED]) wrote:

> For FreeBSD users, you just need to install /usr/ports/sysutils/bsdstats 
> to set things up.

I stopped using bsdstats after it caused my FreeBSD router to take too
long to boot up after a reboot.  If I recall correctly, I had
bsdstats_enable="YES" in /etc/rc.conf and after the reboot bsdstats
was called before ppp was able to start, so it couldn't connect to the
bsdstats server.  On the other hand this was a while ago and I am
going by memory, so I may be wrong about what happened or it was just
a coincidence.  At the time I was more interested in getting the
router running so I didn't really care for debugging what was going
on.  I realise this is a bit of a vague bug report, so feel free to
ignore it.

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


Re: gjournal: journaled slices vs. journaled partitions

2008-11-04 Thread Volodymyr Kostyrko

Carl wrote:

So how do I achieve per-slice journaling instead of per-partition?
The docs only says this: "gjournal only supports UFS2". It does not 
specifically say that you cannot have per-slice journaling. However, 
since you could have other filesystems on your slice, I bet that slice 
based journaling is not supported.


I thought I read somewhere that because gjournal is block based and not 
really part of the filesystem, that it could easily be extended for any 
other filesystem. My imagination said that gjournal was probably 
therefore only temporarily limited to a slice full of UFS partitions. 
Anyone know for sure?


gjournal needs to know what what data is actually metadata. In case of 
UFS the -J flag given to newfs tells system that using this fs we should 
mark metadata for gjournal use.



Another tricky question: why would you journal a SWAP partition?


Well, I don't really want to, but how big does a partition like /var 
have to be before it's no longer ill-advised to journal it individually? 
A fair bit of writing can occur in /var and the scenario my server will 
occupy has me concerned about inglorious shutdowns.


What are the actual reasons for why journaling a small partition is 
considered a bad idea?


Journal needs to bee big enough to amass all modifications. By default 
it's 1G. Just compare this to the size of your /var.


--
Sphinx of black quartz judge my vow.

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


Re: GDM login without using a password

2008-11-04 Thread Craig Butler
On Tue, 2008-11-04 at 16:32 +0200, Roey Dror wrote:
> > AFAIK the automatic login feature allows you to nominate a user to
> > automatically log in as... it doesn't ask for the password but I think
> > one can be set (so it doesn't need to be empty).
> 
> As I said, the automatic login feature is not what I'm looking for.
> I need to set up more than one user that is able to login without a password.
> The computer is a home computer, so local security is not an issue.
> 

OK the pam stuff that is talked about online is found in /etc/pam.d/gdm.
I have seen a few suggestions to change the auth to optional instead of
required.  However there would be nothing to stop some one logging in as
root through gdm.

Maybe there is some way of fudging gnome to accept more than one
passwordless user account good luck finding it

Regards

Craig B

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


7.1-BETA2 installation on ASUS P4S8X fails BIG MEDIUM ERROR

2008-11-04 Thread Christoph Kukulies

Hi,

don't know whether it's the CDROM drive (a Creative 52x mx) or the 
motherboard (ASUS P4S8X) or what.
Anyway, I tried to install a recent version of FreeBSD (7.1-BETA2) and 
the installation

hangs right in the boot process of the installation CD disc1.

I see

acd0: FAILURE - READ BIG MEDIUM ERROR asc=0x11 ascq=0x00
run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config
run_interrupt_driven_hooks: still waiting after 120 seconds for xpt_config
run_interrupt_driven_hooks: still waiting after 180 seconds for xpt_config

and so on.

Any clues?

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


Re: how much memory can be support in FreeBSD system?

2008-11-04 Thread Jeremy Chadwick
On Tue, Nov 04, 2008 at 09:52:20PM +0800, Alex Zhang wrote:
> I'm a new comer and want to configure a Virtual server base on UNIX. The
> safe, steady and easy for maintenance is needed. 
> 
> Approximately 8GB memory will be mounted. Can anyone tell me how much memory
> can be supported in FreeBSD?

On 64-bit FreeBSD (what's called "amd64", but is not specific to AMD
CPUs; don't let the name mislead you), you should be able to use up
to 1TB of memory.

On 32-bit FreeBSD (what's called i386), you can use up to 4GB (but
once you surpass ~3GB, you'll only see ~3.25GB usable; this is not
a FreeBSD problem, it's an x86 design thing).

On 32-bit FreeBSD, you can use what's called PAE mode to increase
that 4GB limit to 64GB, but there are repercussions to using PAE
(read the Wikipedia article).  There are also numerous drivers on
FreeBSD which do not work in PAE mode.

If at all possible, make sure your processor works in 64-bit mode
and go with amd64.

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


xfce decktop time display

2008-11-04 Thread FBSD1
Using Xfce4 and the time is displayed in military time 2200.
Want to change this to regular AM/PM displayed time. 10pm
Been through the manual and all the menus and can not find knob to change
the time setting.

Thanks for any help you can give.

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


how much memory can be support in FreeBSD system?

2008-11-04 Thread Alex Zhang
Hi buddy.

 

I'm a new comer and want to configure a Virtual server base on UNIX. The
safe, steady and easy for maintenance is needed. 

Approximately 8GB memory will be mounted. Can anyone tell me how much memory
can be supported in FreeBSD?

Thanks.

 

BR

Alex 

 

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


Re: help with MY Book external drive

2008-11-04 Thread Giorgos Keramidas
On Tue, 4 Nov 2008 11:13:21 + (GMT), AN <[EMAIL PROTECTED]> wrote:
> I just purchased a WD MY Book external USB disk, I reformatted in UFS
> and created a filesystem with sysinstall.  I was able to put data on
> it successfully, however overnite I had a power failure.  Now I am
> unable to mount the drive.  The blue light is on, so it seems to be
> getting power but the computer does not see it when I plug in the USB
> cable.  I can not run fsck because the system says /dev/da0s1d no such
> file or directory.  I tried da0s1, da0s1c, and da0s1d no luck.  I also
> tried to plug the disk into another machine, same thing the disk is
> not recognized.  Is it totally gone?  Any help to recover this disk
> would be really appreciated.

Do you see _anything_ in `/var/log/messages' when you attach the disk to
your FreeBSD system?

When I attach a local MyBook I have with a USB cable, `/var/log/messages'
shows:

kernel: umass0:  on 
uhub6
root: Unknown USB device: vendor 0x1058 product 0x1102 bus uhub6
kernel: umass0: Get Max Lun not supported (STALLED)
kernel: uhid0:  on 
uhub6
kernel: da0 at umass-sim0 bus 0 target 0 lun 0
kernel: da0:  Fixed Direct Access SCSI-4 device 
kernel: da0: 40.000MB/s transfers
kernel: da0: 476940MB (976773168 512 byte sectors: 255H 63S/T 60801C)

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


RE: virtual consoles on freebsd-7.0-release

2008-11-04 Thread joeb
I logon from F2 as root and then startx.
I believe F9 only works if you use the xorg logon session control.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Yuri Pankov
Sent: Tuesday, November 04, 2008 7:49 PM
To: Steven Susbauer
Cc: [EMAIL PROTECTED]; freebsd-questions@freebsd.org
Subject: Re: virtual consoles on freebsd-7.0-release

On Tue, Nov 04, 2008 at 05:45:12AM -0600, Steven Susbauer wrote:
> joeb wrote:
>>  When I am in xorg/xfce and do Ctrl+Alt+Fx it does in fact open the
>> selected
>> virtual console.
>> But I can not find any way to return to the xorg/xfce desktop running
>> in the
>> virtual console I left from.
>>  Alt+Fx does take me to the virtual console where x11/xfce is suppose
>> to be,
>> but puts me in command line mode.
>> The command ps ax shows xorg/xfce is still running.
>>
>> How do I get back to the xorg/xfce desktop running in the virtual console
I
>> left from?
>>
> You should be able to get back into Xorg with Alt F7 or F8. Does this
> not work?
>
>  Steve

X usually runs on ttyv8, so it should be Alt+F9.


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

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


RE: garmin forerunner 305

2008-11-04 Thread Bob McConnell
On Behalf Of Bruce Cran
> On Thu, 4 Sep 2008 20:24:02 +0100
> Bruce Cran <[EMAIL PROTECTED]> wrote:
> 
>> On Thu, 4 Sep 2008 11:51:33 -0300
>> "Joey Mingrone" <[EMAIL PROTECTED]> wrote:
>> 
>> > Has anyone had any success collecting data from a Garmin Forerunner
>> > 305?
>> > 
>> > When I connect the device I see the kernel messages:
>> > Sep  4 11:39:22 jrm root: Unknown USB device: vendor 0x091e product
>> > 0x0003 bus uhub1
>> > Sep  4 11:39:22 jrm kernel: ugen0: > > class 255/255, rev 1.10/0.01, addr 2> on uhub1
>> > 
>> > The documentation for the port astro/GPSMan seems to indicate it
>> > supports this model, but I haven't had any luck.
>> > 
>> > % uname -a
>> > FreeBSD xxx.xxx 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #3: Thu Jun
12
>> > 18:47:50 ADT 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/xxx  i386
>> 
>> Unfortunately Garmin use their own protocol for communicating between
>> the GPS and the PC.  Under Linux it's supported by the garmin_gps
>> driver but there's no equivalent for FreeBSD yet.
>> 
> 
> Sorry, it turns out that's wrong: the gpsbabel developers recommend
not
> using garmin_gps because apparently it often doesn't work.  Instead
> they recommend using gpsbabel's 'garmin' input/output format.  It
> interfaces to the device using libusb - which, fortunately for us runs
> on FreeBSD! I've just successfully read back GPS data into a GPX file
> using gpsbabel on FreeBSD 8-CURRENT and the 'usb2' usb stack. 
> 
> I don't know if it'll work with the usb stack that's in shipping
> version of FreeBSD though, and even with the new stack I had to make a
> change to libgpsusb.c in gpsbabel to get it working.

The best way to help fix these problems are:

A) Submit a patch for the changes you made.

B) Contact the maintainers and provide them with all of the details,
what you found, what didn't work, what you modified and the final
results. If you have traces or data captures, they may want to see them.
They can't fix problems they don't understand. If they don't have access
to that hardware, or something similar, they might even ask you to do
some experiments for them to extend their knowledge. All of that will
help them improve the quality of future releases.

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


Re: Problems with FreeBSD

2008-11-04 Thread J MPZ
Jeremy,

2008/11/4, Jeremy Chadwick <[EMAIL PROTECTED]>:
>
> On Tue, Nov 04, 2008 at 11:11:15AM -0200, J MPZ wrote:
> > Hi Jeremy,
> >
> > I tried without none rules on ipfw FreeBSD (just "allow ip from any to
> any")
> > and error continues occurring.
>
> Then I have no idea.
>
> > How I can disable the TCP extensions?
> >
> > I tried to set this value on this sysctl (sysctl net.inet.tcp.rfc1323=0)
> but
> > not work.
>
> Setting the sysctl to 0 disables TCP extesnsions.
>
> But by "not work" do you mean "it didn't solve the problem", or "setting
> the
> sysctl failed"?  I think you mean "it didn't solve the problem", in
> which case, it's not the source of the problem.


It didn't solve the problem. :-/

--
> | Jeremy Chadwickjdc at parodius.com |
> | Parodius Networking   http://www.parodius.com/ |
> | UNIX Systems Administrator  Mountain View, CA, USA |
> | Making life hard for others since 1977.  PGP: 4BD6C0CB |
>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problems with FreeBSD

2008-11-04 Thread Jeremy Chadwick
On Tue, Nov 04, 2008 at 11:11:15AM -0200, J MPZ wrote:
> Hi Jeremy,
> 
> I tried without none rules on ipfw FreeBSD (just "allow ip from any to any")
> and error continues occurring.

Then I have no idea.

> How I can disable the TCP extensions?
> 
> I tried to set this value on this sysctl (sysctl net.inet.tcp.rfc1323=0) but
> not work.

Setting the sysctl to 0 disables TCP extesnsions.

But by "not work" do you mean "it didn't solve the problem", or "setting the
sysctl failed"?  I think you mean "it didn't solve the problem", in
which case, it's not the source of the problem.

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


  1   2   >