Re: pf(4) + fetch(1) + http://ftp.gnu.org

2007-06-14 Thread Vlad GURDIGA

On 15/06/07, Chuck Swiger <[EMAIL PROTECTED]> wrote:

On Jun 14, 2007, at 2:24 PM, Vlad GURDIGA wrote:
>> Presumably you want to make sure that fetch(1) is using:
>>
>>   FTP_PASSIVE_MODEIf set to anything but `no', forces the FTP
>> code to
>>   use passive mode.
>
> Just in case, I have checked my environment and FTP_PASSIVE_MODE is
> set to "yes". I'm saying "just in case" because the downloads were
> from "http://ftp.gnu.org";, not from "ftp://ftp.gnu.org";, I mean the
> HTTP protocol was used, not FTP.

Hrm, missed that part, or perhaps just ran with the ftp.gnu.org
hostname implying FTP access.  :-)

I might watch out for the "no-df" entry to your scrub line, as it is
probably breaking PMTUd:


I thought about it too and ran a test with that line commented out,
but it did not help.



http://en.wikipedia.org/wiki/Path_MTU_discovery

--
-Chuck



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


Re: password file migration

2007-06-14 Thread Kris Kennaway
On Thu, Jun 14, 2007 at 02:57:41PM -0700, Mark Messier wrote:
> 
> I know this has been covered before, but the search mechanism
> at the mailing list archive doesn't seem to work (zero matches for
> the word: password).
> 
> I've got a 5.3 system and a 6.2 system.  I want to migrate the user
> accounts from the 5.3 to the 6.2.  They use different encryption
> mechanisms for the password in master.password.
> 
> Other that running a cracker, is there a way to upconvert the
> old to the new?

They are backwards compatible formats, so why do you want to change?

If you are concerned that the old password hash is insecure (if it's
an ancient DES password, this is true), then you will need to generate
a new password for each affected account.  One way to do this is by
using password expiry to force a change on next user login (see
e.g. pw(8)).

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


password file migration

2007-06-14 Thread Mark Messier


I know this has been covered before, but the search mechanism
at the mailing list archive doesn't seem to work (zero matches for
the word: password).

I've got a 5.3 system and a 6.2 system.  I want to migrate the user
accounts from the 5.3 to the 6.2.  They use different encryption
mechanisms for the password in master.password.

Other that running a cracker, is there a way to upconvert the
old to the new?

Thanks,
-mark

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


Re: can not add a partition [SOLVED]

2007-06-14 Thread Stevan Tiefert

--- Jerry McAllister <[EMAIL PROTECTED]> schrieb:

> On Wed, Jun 13, 2007 at 11:19:39PM +0200, Stevan
> Tiefert wrote:
> 
> > Hello list,
> > 
> > I left a little bit space left in my slice during
> the installation. Now
> > I wanted to use this left space to create a
> gbde-partition.
> > 
> > When I use sysinstall and create in menu "Label" a
> new partition and I
> > hit "W" to write my changes to disk an error
> appears, that label didn't
> > created the partition I wanted.
> > 
> > My question is why can I not add a partition in my
> existing slice? On
> > what should I take care maybe?
> > 
> 
> You are probably booted to that slice.   You cannot
> (properly)
> write to the label of the device you are booted to.
> So, trying booting from the install CD and bring up
> the fixit
> and do it from there.
> 
> jerry
> 
> > ___
> > 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]"
> 

Thanks!

Such a simple thing. That was nowhere documented.
Thanks again!


__
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen 
Massenmails. 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: gimp-2.2.15,2 crashes after gtk-2.10.13 upgrade

2007-06-14 Thread Joe Marcus Clarke
On Thu, 2007-06-14 at 19:14 -0400, Howard Goldstein wrote:
> cpghost wrote:
> > Can anyone else confirm this bug, perhaps with other Gtk2 apps?
> 
> Confirmed.  Here's what I got
> 
> cally:/usr/ports/editors/openoffice.org-2$ gimp
> The program 'gimp' received an X Window System error.
> This probably reflects a bug in the program.
> The error was 'BadWindow (invalid Window parameter)'.
>(Details: serial 29407 error_code 3 request_code 39 minor_code 0)
>(Note to programmers: normally, X errors are reported asynchronously;
> that is, you will receive the error a while after causing it.
> To debug your program, run it with the --sync command line
> option to change this behavior. You can then get a meaningful
> backtrace from your debugger if you break on the gdk_x_error() 
> function.)
> cally:/usr/ports/editors/openoffice.org-2$
> (script-fu:4359): LibGimpBase-WARNING **: script-fu: wire_read(): error
> 
> cally:/usr/ports/editors/openoffice.org-2$

See the freebsd-x11@ archives.  There is a bug in libX11 that is causing
this.  A patch can be found in the bug to fix this problem.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc


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


Re: gimp-2.2.15,2 crashes after gtk-2.10.13 upgrade

2007-06-14 Thread Howard Goldstein

cpghost wrote:

Can anyone else confirm this bug, perhaps with other Gtk2 apps?


Confirmed.  Here's what I got

cally:/usr/ports/editors/openoffice.org-2$ gimp
The program 'gimp' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 29407 error_code 3 request_code 39 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() 
function.)

cally:/usr/ports/editors/openoffice.org-2$
(script-fu:4359): LibGimpBase-WARNING **: script-fu: wire_read(): error

cally:/usr/ports/editors/openoffice.org-2$

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


Re: (OT?) Anyone wanna address my ISP's issues? [CIDR/BGP question]

2007-06-14 Thread Kevin Kinsey

Elliot Finley wrote:

On Thu, 14 Jun 2007 14:44:56 -0500, you wrote:



Anyone up for further questions?  The .70 --> .69 route on the
modem has a metric of "5", but with the .252 mask, shouldn't it
be required to be one hop away?


We really need further information to debug/diagnose this problem.
I'll give you a diagnosis for two different scenarios.

#1) you are using private addresses on your LAN and your DSL
modem/router is NATting for you:


This is the case.


possible problems:

Your modem/router isn't routing. ( this is more common than it should
be.  we replace customers' routers because of this problem regularly.)


We RMA'ed it already, it's the second box and same issues. :-(

Do you mean it should be doing NAT, or routing outside (e.g., RIP)?
I assume the latter?


Your ISP has fat fingered a netmask - most likely changing a .252 to a
.255.


Well, not in the visible DSL modem's config.  Possibly somewhere else?


#2) you are using public addresses on your LAN and your DSL
modem/router is just routing for you:





possible problems:

Same possibilities as above with the addition of:

Your ISP has *not* put the route in for your public block of IPs.


Granted it's "not the case", but:

I was of the opinion that maybe they hadn't for the one
block we're supposed to be in, thus my question re: BGP for
the 68/30 CIDR, but, per your answer, I've no way to know
unless they tell me since the route isn't publicized.


Your ISP *HAS* put the route in for your public block of IPs, but for
whatever reason, that route isn't propagating through their network.


Obviously I couldn't say about that.

I'm thinking it's still all about routing.  Problem is it's possibly
more complex, since the local Telco has the DSLAM and the ISP is just
"leasing" over the top.  Whenever they get on the phone with each
other, I can only imagine the finger-pointing going on.

AFAIK, the local telco doesn't actually offer DSL from the local
C.O., so it could be as simple, > as someone actually going in the building and 
plugging some cable into the DSLAM, or punching a couple of buttons

on said machine.  OTOH, it could be a matter of someone with enough
route-foo with either AT&T or the ISP actually doing a lot of 
investigation and configuration.



Those will be the most likely problems.  I'm betting on your modem
being faulty.


Well, hopefully not anymore.  Maybe somebody *smart* will take up
my case.  Should I have 'em call you ;-) ??

Thanks (very much! .. once) again,

Kevin Kinsey

PS > Hah!  Substitute "ISP" for "C.I.A." below
--
Finding out what goes on in the C.I.A. is like performing acupuncture
on a rock.
-- New York Times, Jan. 20, 1981
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Installing 6.2 from a 5.3 mini install CD...

2007-06-14 Thread Jerry McAllister
On Thu, Jun 14, 2007 at 03:17:01PM -0600, Warren Block wrote:

> On Thu, 14 Jun 2007, Peter Wood wrote:
> 
> >Good Afternoon,
> >
> >Does anyone have any knowledge, good or bad, about installing 6.2-RELEASE 
> >from a 5.3-RELEASE mini install CD?

Well, I can't now remember, but at some time along there, a new
filesystem was included and by using the old CD you might not
be getting it if it was added after your 5.3 version.   Check
the release notes.   Otherwise you should be able to make it work
with some judicious use of cvsup.

jerry

> >
> >The story is that I have a 5.3-RELEASE CD in my colo server in London 
> >(which I have BIOS serial support w/ terminal server), and I know in the 
> >installer you can specify the release name.
> >
> >I've tried to do this in VMware, I did a custom install, set the release 
> >name to 6.2-RELEASE, installed only base. However as FreeBSD has enabled 
> >an option for a SMP kernel, it didn't install a kernel and thus failed to 
> >boot.
> >
> >I was contimplating if I could install the kernel as a package or a non 
> >named distribution. Is there anything I can do, or do I have to send a CD 
> >down and hope my provider doesn't charge me to much?
> >
> >This'll teach me for not buying a CD-RW when I buy a new server... "What 
> >will I need one of them for, it's a colo server.".
> 
> Install 5.3 (minimal), then cvsup sources to 6.2, then build and install 
> from source.
> 
> -Warren Block * Rapid City, South Dakota USA
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


gimp-2.2.15,2 crashes after gtk-2.10.13 upgrade

2007-06-14 Thread cpghost
After upgrading gtk-2.10.12_2 to gtk-2.10.13, gimp keeps crashing
with the following error message:

The program 'gimp' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 57475 error_code 3 request_code 39 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

(script-fu:80640): LibGimpBase-WARNING **: script-fu: wire_read(): error

This can be easily reproduced by starting gimp, creating a new
window, and trying to draw something into it: immediate crash
with the error message above. serial # can chage, but everything
else remains the same.

Nothing else except the gtk upgrade changed in-between port
trees as of 2007-06-12 and 2007-06-14, including the version
of gimp (gimp-2.2.15,2, gimp-app-2.2.15_1,1), which didn't
change either. The only change was gtk-2.10.12_2 to gtk-2.10.13.

Incidentally, the jumpy gtk savebox doesn't repeatedly grow and shrink
horizontally anymore under fluxbox now: the gtk upgrade seems to have
fixed this; but now gimp is borked.

Can anyone else confirm this bug, perhaps with other Gtk2 apps?

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


Need help with GNU assembly

2007-06-14 Thread Patil, Kiran
Hi All,

 

I am trying to use GNU assembly. I am trying simple thing such as ,
moving content of memory location into general purpose register (ax).

 

I have following code :

 

struct context {

 

unsigned long mask[8];

} CONTEXT;

 

int main()

{

CONTEXT sr;

sr.mask[5] = 0x8FED;

 

__asm ( "movw %0, %ax" : : "m" (*(unsigned
short*)sr.mask[5]) );

return 0;

}

 

Compiler complains with error "bad substitution directive in asm
instruction".

 

I tried changing the code something like this :

 

__asm ( "movw %0, %ax" : : "m" (*(unsigned short*)sr.mask+5) );

 

Still error is same, then I tried following:

 

Unsigned short* ptemp = &sr.mask[5];

__asm ( "movw %0, %ax" : : "m" (*(unsigned short*)ptemp) );

But still no luck, compiler reported same error as mentioned above

 

Any help is appreciated. Please let me know where I am mistake.

 

Thanks,

-- Kiran P.

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


Problem with "installworld" in FreeBSD 6.2-RELEASE-p5

2007-06-14 Thread ExTaZyTi

Hi,

My problem is with the installing new world in my system, this is the error

===> bin (install)
===> bin/cat (install)
install -s -o root -g wheel -m 555   cat /bin
strip: /bin/sthZDAzl: Operation not permitted
install: wait: Operation not permitted
*** Error code 70

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

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

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

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

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

Stop in /usr/src.

If someone can help me. Thanks in advance.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problem with "installworld" in FreeBSD 6.2-RELEASE-p5

2007-06-14 Thread Jeremy Chadwick
On Fri, Jun 15, 2007 at 12:07:40AM +0300, ExTaZyTi wrote:
>  My problem is with the installing new world in my system, this is the error
> 
>  ===> bin (install)
>  ===> bin/cat (install)
>  install -s -o root -g wheel -m 555   cat /bin
>  strip: /bin/sthZDAzl: Operation not permitted
>  install: wait: Operation not permitted
>  *** Error code 70

Could be caused by some filesystem mount options you've got set, maybe
incorrect permissions on /bin (no execute bit?), or possibly a secure
runlevel setting (which I believe was the cause of your last issue you
reported here).

-- 
| 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: Installing 6.2 from a 5.3 mini install CD...

2007-06-14 Thread Warren Block

On Thu, 14 Jun 2007, Peter Wood wrote:


Good Afternoon,

Does anyone have any knowledge, good or bad, about installing 6.2-RELEASE 
from a 5.3-RELEASE mini install CD?


The story is that I have a 5.3-RELEASE CD in my colo server in London (which 
I have BIOS serial support w/ terminal server), and I know in the installer 
you can specify the release name.


I've tried to do this in VMware, I did a custom install, set the release name 
to 6.2-RELEASE, installed only base. However as FreeBSD has enabled an option 
for a SMP kernel, it didn't install a kernel and thus failed to boot.


I was contimplating if I could install the kernel as a package or a non named 
distribution. Is there anything I can do, or do I have to send a CD down and 
hope my provider doesn't charge me to much?


This'll teach me for not buying a CD-RW when I buy a new server... "What will 
I need one of them for, it's a colo server.".


Install 5.3 (minimal), then cvsup sources to 6.2, then build and install 
from source.


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


Re: pf(4) + fetch(1) + http://ftp.gnu.org

2007-06-14 Thread Chuck Swiger

On Jun 14, 2007, at 1:36 PM, Vlad GURDIGA wrote:

There is one strange thing going on with this combination. I saw this
many times by now: when fetch(1) is trying to download something from
http://ftp.gnu.org, it is hanging after a very small amount of data;
sometimes on 0%. After disabling pf(4), fetch(1) is not hanging any
more, so I guess that the problem is somewhere in my pf.conf. Here is
it:


Presumably you want to make sure that fetch(1) is using:

 FTP_PASSIVE_MODEIf set to anything but `no', forces the FTP  
code to

 use passive mode.


...or else your firewall is probably going to block active-mode FTP  
data traffic.  See "man 3 fetch".


--
-Chuck




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


pf(4) + fetch(1) + http://ftp.gnu.org

2007-06-14 Thread Vlad GURDIGA

Hello,

There is one strange thing going on with this combination. I saw this
many times by now: when fetch(1) is trying to download something from
http://ftp.gnu.org, it is hanging after a very small amount of data;
sometimes on 0%. After disabling pf(4), fetch(1) is not hanging any
more, so I guess that the problem is somewhere in my pf.conf. Here is
it:

 pf.conf -- begin ---
ext_if  = "em0"
icmp_types="echoreq"

# don't filter on the loopback interface
set skip on lo0
set block-policy return

scrub all no-df random-id reassemble tcp

# setup a default deny policy
block all

# activate spoofing protection for the internal interface.
antispoof quick for lo0 inet

# pass tcp, udp, and icmp out on the external (Internet) interface.
# keep state on udp and icmp and modulate state on tcp.
pass in on $ext_if proto tcp from any to $ext_if port 65522 keep state

pass in inet proto icmp all icmp-type $icmp_types keep state
pass out on $ext_if proto tcp all modulate state flags S/SA
pass out on $ext_if proto {udp, icmp} all keep state
 pf.conf -- end ---

Any idea what's wrong here?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: (OT?) Anyone wanna address my ISP's issues? [CIDR/BGP question]

2007-06-14 Thread Elliot Finley
On Thu, 14 Jun 2007 14:44:56 -0500, you wrote:

>Elliot Finley wrote:
>> On Thu, 14 Jun 2007 14:07:07 -0500, you wrote:
>> 
>
>>>
>>> The DSL modem's outside (static) IP is n.n.n.70, the gw
>>> is n.n.n.69, and the mask is 255.255.255.252.  From
>>> inside, I can ping .70, but not .69 (and, needless to say,
>>> nothing else, either).  From the outside, it's the
>>> other way 'round.  Traceroute (from outside) shows different
>>> endpoints for the two addresses (that is, the last hop 
>>> before .69 is one router, and, when looking for .70, it's
>>> another router (but not the one that leads to .69)).
>>>
>>> If I did my CIDR homework correctly, the net is n.n.n.68/30.
>>> Using "BGPlay" (http://bgplay.routeviews.org/bgplay/), I get
>>> the message: "The selected data sources have no information on
>>> prefix n.n.n.68/30.  Please check that this prefix is globally
>>> announced."
>>>
>>> My question: shouldn't it be 'announced', if the ISP intends
>>> to route me TCP/IP traffic?  I apologize for my ignorance, 
>>> but BGP isn't something I figured to need to know at this 
>>> point in my life (although, it doesn't hurt to learn, usually)
>> 
>> anything smaller than a /24 will be filtered.  The ISP would announce
>> the larger block that your /30 lives in.
>
>Thank you very much, Elliot; You wouldn't believe how hard it's been
>to get anyone at, err, "tech support", to even address the issue.
>It makes sense, I suppose, otherwise the global routing table 
>would be much larger than it is (?)
>
>Anyone up for further questions?  The .70 --> .69 route on the
>modem has a metric of "5", but with the .252 mask, shouldn't it
>be required to be one hop away?

We really need further information to debug/diagnose this problem.
I'll give you a diagnosis for two different scenarios.

#1) you are using private addresses on your LAN and your DSL
modem/router is NATting for you:

possible problems:

Your modem/router isn't routing. ( this is more common than it should
be.  we replace customers' routers because of this problem regularly.)

Your ISP has fat fingered a netmask - most likely changing a .252 to a
.255.

#2) you are using public addresses on your LAN and your DSL
modem/router is just routing for you:

possible problems:

Same possibilities as above with the addition of:

Your ISP has *not* put the route in for your public block of IPs.

Your ISP *HAS* put the route in for your public block of IPs, but for
whatever reason, that route isn't propagating through their network.

Those will be the most likely problems.  I'm betting on your modem
being faulty.

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


Re: samba and IPv6

2007-06-14 Thread Lowell Gilbert
"Andrew Falanga" <[EMAIL PROTECTED]> writes:

> On 6/14/07, Lowell Gilbert <[EMAIL PROTECTED]> wrote:
>> "Andrew Falanga" <[EMAIL PROTECTED]> writes:
>>
>> > Does samba actually support this?  I'm not turning up much information
>> > from the "official HOW-TO" at samba.org.  In fact, not a single link
>> > in the HOW-TO even mentions IPv6.
>>
>> There's a link on the Samba front page from last week.
>> The short version is that it doesn't do it yet, and probably won't
>> until Samba 4 (which has other changes for interoperating with
>> Vista -- which is the first Windows to really do IPv6 well).
>> There are patch sets around if you're willing to get your hands
>> a bit dirty.
>
> Nope, don't mind getting my hands dirty (I do most of the work on my
> automobiles too).  However, I take it from this that because I must
> get my hands dirty, none of these patches are in the ports system?  I

As far as I can see, they are not.  

> ask because I noticed as I installed vim last night that many patches
> were downloaded along with the main vim tar-ball.

You could talk to the maintainer about that.  Samba4 probably isn't
ready to be added to the ports system anyway, but patches against
Samba3 seem to exist also.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: (OT?) Anyone wanna address my ISP's issues? [CIDR/BGP question]

2007-06-14 Thread Elliot Finley
On Thu, 14 Jun 2007 14:07:07 -0500, you wrote:

>[OT Warning]  Not related to FBSD, other than the use of
>ping(8), which is working as expected, apart from the fact
>that the network *isn't*.
>
>If anyone cares to give an opinion, TIA!
>
>I'm trying to get a land-based (DSL) solution to my
>rather remote office.  Found a provider, they (supposedly)
>made arrangements with the local telco, sent me the DSL
>modem, etc.  I set it up as instructed, but we're not
>getting TCP/IP here on it.  Hours and hours of frustrating
>hold music on the telephone, WWW-chat sessions that get
>nowhere, etc.  The modem "sync" is fine, but, as one tech
>put it, "sync but no surf".  It's been this way for >
>2 weeks.
>
>The DSL modem's outside (static) IP is n.n.n.70, the gw
>is n.n.n.69, and the mask is 255.255.255.252.  From
>inside, I can ping .70, but not .69 (and, needless to say,
>nothing else, either).  From the outside, it's the
>other way 'round.  Traceroute (from outside) shows different
>endpoints for the two addresses (that is, the last hop 
>before .69 is one router, and, when looking for .70, it's
>another router (but not the one that leads to .69)).
>
>If I did my CIDR homework correctly, the net is n.n.n.68/30.
>Using "BGPlay" (http://bgplay.routeviews.org/bgplay/), I get
>the message: "The selected data sources have no information on
>prefix n.n.n.68/30.  Please check that this prefix is globally
>announced."
>
>My question: shouldn't it be 'announced', if the ISP intends
>to route me TCP/IP traffic?  I apologize for my ignorance, 
>but BGP isn't something I figured to need to know at this 
>point in my life (although, it doesn't hurt to learn, usually)

anything smaller than a /24 will be filtered.  The ISP would announce
the larger block that your /30 lives in.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: (OT?) Anyone wanna address my ISP's issues? [CIDR/BGP question]

2007-06-14 Thread Kevin Kinsey

Elliot Finley wrote:

On Thu, 14 Jun 2007 14:07:07 -0500, you wrote:





The DSL modem's outside (static) IP is n.n.n.70, the gw
is n.n.n.69, and the mask is 255.255.255.252.  From
inside, I can ping .70, but not .69 (and, needless to say,
nothing else, either).  From the outside, it's the
other way 'round.  Traceroute (from outside) shows different
endpoints for the two addresses (that is, the last hop 
before .69 is one router, and, when looking for .70, it's

another router (but not the one that leads to .69)).

If I did my CIDR homework correctly, the net is n.n.n.68/30.
Using "BGPlay" (http://bgplay.routeviews.org/bgplay/), I get
the message: "The selected data sources have no information on
prefix n.n.n.68/30.  Please check that this prefix is globally
announced."

My question: shouldn't it be 'announced', if the ISP intends
to route me TCP/IP traffic?  I apologize for my ignorance, 
but BGP isn't something I figured to need to know at this 
point in my life (although, it doesn't hurt to learn, usually)


anything smaller than a /24 will be filtered.  The ISP would announce
the larger block that your /30 lives in.


Thank you very much, Elliot; You wouldn't believe how hard it's been
to get anyone at, err, "tech support", to even address the issue.
It makes sense, I suppose, otherwise the global routing table 
would be much larger than it is (?)


Anyone up for further questions?  The .70 --> .69 route on the
modem has a metric of "5", but with the .252 mask, shouldn't it
be required to be one hop away?

Guess I need to head back to "class",

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


Re: samba and IPv6

2007-06-14 Thread Andrew Falanga

On 6/14/07, Lowell Gilbert <[EMAIL PROTECTED]> wrote:

"Andrew Falanga" <[EMAIL PROTECTED]> writes:

> Does samba actually support this?  I'm not turning up much information
> from the "official HOW-TO" at samba.org.  In fact, not a single link
> in the HOW-TO even mentions IPv6.

There's a link on the Samba front page from last week.
The short version is that it doesn't do it yet, and probably won't
until Samba 4 (which has other changes for interoperating with
Vista -- which is the first Windows to really do IPv6 well).
There are patch sets around if you're willing to get your hands
a bit dirty.


Nope, don't mind getting my hands dirty (I do most of the work on my
automobiles too).  However, I take it from this that because I must
get my hands dirty, none of these patches are in the ports system?  I
ask because I noticed as I installed vim last night that many patches
were downloaded along with the main vim tar-ball.

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


Re: Which Version?

2007-06-14 Thread [EMAIL PROTECTED]

On 14/06/07, Adam Hill <[EMAIL PROTECTED]> wrote:

HiIt seems very confusing, I am looking for the
correct version to use for an old RM server, its
a intel se7501br2 server board with a xeon proces-
sor. We want try freebsd as a server for small net-
works. Can you advise which version to download?


Well, having looked at intel's brilliantly
informative website, I can understand
your confusion.  For all they tell you it
could be an overclocked 8088.

But seriously, a 533MHz FSB makes me
suspect it is 32-bit, and so you would want
the "i386" version.

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


(OT?) Anyone wanna address my ISP's issues? [CIDR/BGP question]

2007-06-14 Thread Kevin Kinsey

[OT Warning]  Not related to FBSD, other than the use of
ping(8), which is working as expected, apart from the fact
that the network *isn't*.

If anyone cares to give an opinion, TIA!

I'm trying to get a land-based (DSL) solution to my
rather remote office.  Found a provider, they (supposedly)
made arrangements with the local telco, sent me the DSL
modem, etc.  I set it up as instructed, but we're not
getting TCP/IP here on it.  Hours and hours of frustrating
hold music on the telephone, WWW-chat sessions that get
nowhere, etc.  The modem "sync" is fine, but, as one tech
put it, "sync but no surf".  It's been this way for >
2 weeks.

The DSL modem's outside (static) IP is n.n.n.70, the gw
is n.n.n.69, and the mask is 255.255.255.252.  From
inside, I can ping .70, but not .69 (and, needless to say,
nothing else, either).  From the outside, it's the
other way 'round.  Traceroute (from outside) shows different
endpoints for the two addresses (that is, the last hop 
before .69 is one router, and, when looking for .70, it's

another router (but not the one that leads to .69)).

If I did my CIDR homework correctly, the net is n.n.n.68/30.
Using "BGPlay" (http://bgplay.routeviews.org/bgplay/), I get
the message: "The selected data sources have no information on
prefix n.n.n.68/30.  Please check that this prefix is globally
announced."

My question: shouldn't it be 'announced', if the ISP intends
to route me TCP/IP traffic?  I apologize for my ignorance, 
but BGP isn't something I figured to need to know at this 
point in my life (although, it doesn't hurt to learn, usually)


Thanks again,


Kevin Kinsey
--
Progress is impossible without change, and those who
cannot change their minds cannot change anything.
-- George Bernard Shaw
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: samba and IPv6

2007-06-14 Thread Lowell Gilbert
"Andrew Falanga" <[EMAIL PROTECTED]> writes:

> Does samba actually support this?  I'm not turning up much information
> from the "official HOW-TO" at samba.org.  In fact, not a single link
> in the HOW-TO even mentions IPv6.

There's a link on the Samba front page from last week.
The short version is that it doesn't do it yet, and probably won't
until Samba 4 (which has other changes for interoperating with
Vista -- which is the first Windows to really do IPv6 well).
There are patch sets around if you're willing to get your hands 
a bit dirty.  

Be well.
-- 
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: nvidia driver on amd64

2007-06-14 Thread Dick Hoogendijk
Garrett Cooper <[EMAIL PROTECTED]> writes:
   
> Since you're not willing to do the research, I'll give you the
> reader's digest version. nVidia's waiting on FreeBSD to implement
> key features in the kernel in order to properly support the amd64
> and i386 + PAE platforms, because memory mapping and access isn't
> there yet in the FreeBSD kernel.
>
> Does that satisfy you?

I should have read the articles first. Lack of time due to daytime
job. Thought a quick reply could do. That was wrong. I wrote to
quickly. I can seet aht now. However, I _was_ willing to to the
research when I had the time (it's almost weekend). So you're
right. It's not nVidia, but a FreeBSD kernel problem.

> Read the archives in ports@, hackers@, and current@ over the past
> couple months to discover more details.

Will do.

-- 
Dick Hoogendijk -- PGP/GnuPG key: F86289CE
++ http://nagual.nl/ + Solaris 11 05/07 ++
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


syslog.conf questions..

2007-06-14 Thread B. Cook

Hello all,

I am trying to have different cisco routers log to a different log file. 
 The log file is located on a 6.2 box running the stock syslogd.  For 
what it is worth I have nine of these, only three are shown


syslogd is running with -n -vv -d at the moment.. I did not have to 
specify -a 10.20.250.54:* to allow it to log.. (is that part of the 
problem..?)


But the question is.. I do get logs from the respective hosts in the log 
files that I have specified, but I do not understand why syslogd is also 
catching them in the original local7.* /var/log/router/3620.log when as 
far as I can tell they are setup correctly.


below is the relevant portions of the syslog.conf.

 [~]# 18 > egrep -v "#" /etc/syslog.conf  | cat -n
 1
 2  +10.20.250.54
 3  *.* /var/log/router/circle.log
 4  -10.20.250.54
 5
 6  +10.20.250.42
 7  *.* /var/log/router/columbus.log
 8  -10.20.250.42
 9
10  +10.20.250.38
11  *.* /var/log/router/clinton.log
12  -10.20.250.38
13
14  +10.20.0.10
15  *.*/var/log/router/tcentral.log
16  -10.20.0.10
17
18  *.err;kern.warning;auth.notice;mail.crit /dev/console
19  *.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err 
 /var/log/messages

20  security.*  /var/log/security
21  auth.info;authpriv.info /var/log/auth.log
22  mail.info  /var/log/maillog
23  lpr.info   /var/log/lpd-errs
24  ftp.info /var/log/xferlog
25  local7.*/var/log/router/3620.log
26  cron.*   /var/log/cron
27  *.=debug/var/log/debug.log
28  *.emerg *
29  !startslip
30  *.*/var/log/slip.log
31  !ppp
32  *.* /var/log/ppp.log



and with syslogd in debug mode I see this:

and tcvthname(10.20.250.38)
logmsg: pri 276, flags 0, from 10.20.250.38, msg 1262: Jun 14 
18:13:04.770: %SEC-6-IPACCESSLOGP: list 2044 denied udp 
10.20.18.28(1039) -> 10.20.0.212(161), 1 packet

Logging to FILE /var/log/router/clinton.log
Logging to FILE /var/log/router/3620.log

cvthname(10.20.250.42)
logmsg: pri 276, flags 0, from 10.20.250.42, msg 68: Jun 14 
18:13:04.835: %SEC-6-IPACCESSLOGP: list 2044 denied udp 10.20.8.57(1040) 
-> 10.20.3.60(161), 4 packets

Logging to FILE /var/log/router/columbus.log
Logging to FILE /var/log/router/3620.log

I do not understand why the local7.* is still getting caught.. From what 
I understood from the man page, the - tells it to stop logging from that 
host.


Whatever the last 'host' entry is in the syslog.conf that host will not 
log into both files.


from the 10.20.0.10 host I have configured syslog:

local7.*  @10.20.0.29
and when I run logger:

date | logger -p local7.debug

cvthname(10.20.0.10)
logmsg: pri 277, flags 0, from 10.20.0.10, msg Jun 14 14:21:03 bcook: 
Thu Jun 14 14:21:03 EDT 2007

Logging to FILE /var/log/router/tcentral.log

I get what I think I should..

Why do the previous entries not act the same as the last one?

What am I missing?

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


Re: Installing 6.2 from a 5.3 mini install CD...

2007-06-14 Thread Steve Bertrand
Peter Wood wrote:
> Good Afternoon,
> 
> Does anyone have any knowledge, good or bad, about installing
> 6.2-RELEASE from a 5.3-RELEASE mini install CD?
> 
> The story is that I have a 5.3-RELEASE CD in my colo server in London
> (which I have BIOS serial support w/ terminal server), and I know in the
> installer you can specify the release name.
> 
> I've tried to do this in VMware, I did a custom install, set the release
> name to 6.2-RELEASE, installed only base. However as FreeBSD has enabled
> an option for a SMP kernel, it didn't install a kernel and thus failed
> to boot.
> 
> I was contimplating if I could install the kernel as a package or a non
> named distribution. Is there anything I can do, or do I have to send a
> CD down and hope my provider doesn't charge me to much?
> 
> This'll teach me for not buying a CD-RW when I buy a new server... "What
> will I need one of them for, it's a colo server.".

I don't know if this will help you or not, but just this morning, I had
a 5.4-PRERELEASE box that was giving me major issues (#1 being I could
not compile anything), so I did the binary upgrade from a 6.2 CD.

It only did base the first time, and subsequently did not boot.

I then booted off of the 6.2 CD, mounted the hard disk into /, then
proceeded with install. Instead of selecting 'Minimal' for
distributions, I went in and manually added the base, and the GENERIC
kernel, after that, I was up and running.

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


Re: beryl/agpgart/i810/Intel 950 GMA

2007-06-14 Thread Kevin Downey

On 6/14/07, Reid Linnemann <[EMAIL PROTECTED]> wrote:

Written by Kevin Downey on 06/14/07 11:32>>
> On 6/14/07, Reid Linnemann <[EMAIL PROTECTED]> wrote:
>> Written by Eduardo Viruena Silva on 06/13/07 21:07>>
>> >
>> > Hello Guys,
>> >
>> > I have an Intel 950 GMA video card,
>> > built-in in my computer's motherboard.
>> > My motherboard is D945NT.
>> >
>> > I installed FreeBSD-6.2-RELEASE, and cvsupdated
>> > it to FreeBSD-6.2-RELEASE-p5.
>> >
>> > Installed my ports and cvsupdated them.
>> >
>> > I found "beryl"  in /usr/ports/x11-wm, it
>> > seemed to depend on Xorg-7.2
>> >
>> > I successfully upgrade Xorg-6.9 to Xorg-7.2.
>> > I also compiled beryl, everything seems to be ok.
>> >
>> > ..and I have tried to make it work, I give up.
>> >
>> > The problem seems to be that X is
>> > trying to find /dev/agpgart, according
>> > to my /var/log/Xorg.0.log:
>> >
>> > (II) I810(0): VESA VBE OEM Vendor: Intel Corporation
>> > (II) I810(0): VESA VBE OEM Product: Intel(r) 82945G Chipset Family
>> > Graphics Controller
>> > (II) I810(0): VESA VBE OEM Product Rev: Hardware Version 0.0
>> > (II) I810(0): Integrated Graphics Chipset: Intel(R) 945G
>> > (--) I810(0): Chipset: "945G"
>> > (--) I810(0): Linear framebuffer at 0x4000
>> > (--) I810(0): IO registers at addr 0x5010
>> > (==) I810(0): Write-combining range (0x5010,0x8) was already
>> clear
>> > (II) I810(0): 2 display pipes available.
>> > (II) I810(0): detected 7932 kB stolen memory.
>> > (EE) GARTInit: Unable to open /dev/agpgart (No such file or directory)
>> > (WW) I810(0): /dev/agpgart is either not available, or no memory is
>> > available
>> > for allocation.  Using pre-allocated memory only.
>> > (--) I810(0): Pre-allocated VideoRAM: 7932 kByte
>> >
>> > I have seen beryl working on Gentoo Linux,
>> > /dev/agpgart is present in an identical system,
>> > and it seems to me that it is not a problem
>> > of memory allocation.
>> >
>> > so...
>> >
>> > What do I have to do to create /dev/agpgart?
>> >
>> > My kernel has
>> >
>> > device agp
>> >
>> > present.
>> >
>> > Thank you in advance.
>> >
>> >  Eduardo.
>> >
>> > ___
>> > freebsd-questions@freebsd.org mailing list
>> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> > To unsubscribe, send any mail to
>> > "[EMAIL PROTECTED]"
>>
>> It looks to me like you don't have working dri/drm. You have to have
>> direct rendering working before you can get beryl working. AFAIK, drm
>> support for your chipset is not available in 6.1-RELEASE, and the drm
>> module is what provides the agpgart device.
>>
>> sys/dev/drm/drm_pciids.h on 6-STABLE from about February shows this:
>>
>> #define i915_PCI_IDS \
>>  {0x8086, 0x3577, 0, "Intel i830M GMCH"}, \
>>  {0x8086, 0x2562, 0, "Intel i845G GMCH"}, \
>>  {0x8086, 0x3582, 0, "Intel i852GM/i855GM GMCH"}, \
>>  {0x8086, 0x2572, 0, "Intel i865G GMCH"}, \
>>  {0x8086, 0x2582, 0, "Intel i915G"}, \
>>  {0x8086, 0x2592, 0, "Intel i915GM"}, \
>>  {0x8086, 0x2772, 0, "Intel i945G"}, \
>>  {0x8086, 0x27A2, 0, "Intel i945GM"}, \
>>  {0, 0, 0, NULL}
>>
>> So you have to have the i915 module loaded to use this chipset. Though
>> the i915 driver was ported for 6.1-RELEASE there was no Makefile
>> included, and it never really worked until after 6.2-RELEASE.
>> Personally, I'm tracking 6-STABLE and I've had drm working with an i845G
>>   since February of this year when anholt MFC'd a load of i915 drm
>> changes. See this log for more info:
>
> http://anholt.livejournal.com/34566.html
> in an email on may 19th anholt indicated that there is no working
> support for the 965G
>

Thanks for the link to anholt's journal. This doesn't affect the 945G,
though, right?



Truth is best determined by examination of reality. If your 945G is
working then I would say it is unaffected.

--
i'll unhook my oily pink mini-kimono, you kill him in honolulu --
www.thelastcitadel.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


samba and IPv6

2007-06-14 Thread Andrew Falanga

Hi,

Does samba actually support this?  I'm not turning up much information
from the "official HOW-TO" at samba.org.  In fact, not a single link
in the HOW-TO even mentions IPv6.

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


Installing 6.2 from a 5.3 mini install CD...

2007-06-14 Thread Peter Wood

Good Afternoon,

Does anyone have any knowledge, good or bad, about installing 
6.2-RELEASE from a 5.3-RELEASE mini install CD?


The story is that I have a 5.3-RELEASE CD in my colo server in London 
(which I have BIOS serial support w/ terminal server), and I know in the 
installer you can specify the release name.


I've tried to do this in VMware, I did a custom install, set the release 
name to 6.2-RELEASE, installed only base. However as FreeBSD has enabled 
an option for a SMP kernel, it didn't install a kernel and thus failed 
to boot.


I was contimplating if I could install the kernel as a package or a non 
named distribution. Is there anything I can do, or do I have to send a 
CD down and hope my provider doesn't charge me to much?


This'll teach me for not buying a CD-RW when I buy a new server... "What 
will I need one of them for, it's a colo server.".


Cheers,

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


Re: what causes error -- ELF interpreter /libexec/ld-elf.so.1 not found

2007-06-14 Thread John Baldwin
On Wednesday 13 June 2007 06:32:42 pm Jin Guojun wrote:
> Umm, the amount of physical memory has no bearing on how the virtual
> address space for userland is laid out.  Do you know what virtual memory
> is and how it works?  Your first e-mail seems to contradict this paragraph
> as in your first e-mail you noted that the physical memory doesn't matter,
> the solution was to not raise MAXDSIZ higher than 1GB and that is consistent
> with running out of virtual address space due to MAXDSIZ reserving too much
> address space for malloc().
>   
>  No quite clear on this. Does this mean that the MAXDSIZ cannot exceeed 1GB 
regardless
>  how many physical memory (say 16 GB) is installed? Then, this is 
definitiely a software bug.
>  Then, somewhere the following checking is needed:
>  
>  #if (MAXDSIZ > 1024 * 1024 * 1024)
>  #undef   MAXDSIZ
>  #define   MAXDSIZ   (1024 * 1024 * 1024)
>  #endif

It depends on the app.  Some apps you can crank the malloc space up a whole 
lot.  Also, if you are running FreeBSD/amd64 and running a 32-bit binary 
under freebsd32 emulation, then it has 4GB of VA space rather than 3GB, so 
you can give it more MAXDSIZ.  It's really up to the user to only use a 
maxdsiz that works.  You can also adjust the hard limit before exec'ing a 
process that needs a smaller dsize and leave MAXDSIZ larger for other 
processes.  Since it is dependent on things the compiler can't know about at 
the build time of the kernel, we just let the user set it to whatever and if 
they set it too high things break until they lower it.  You can even set this 
at boot time via 'kern.maxdsiz' tunable in the loader w/o needing to 
recompile.

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


Re: Memory mannagment

2007-06-14 Thread Derek Ragona

At 01:15 AM 6/14/2007, cadastrosonline cadastrosonline wrote:

First of all,



"Each process has its own private address space. The address space is 
initially divided

into three logical segments: text,
data, and stack. "


You would be wise to read up on Processors and assembly language 
programming.  The concept of segments is part of assembly language 
programming and often is built into CPU's.  In the case of the intel 80x86 
line this is very true.


To answer the questions:

text is usually program code, and should not be modifiable
stack is temporary storage of program values and variables
data is data for the program, this defines variable used in a program





But if the address is just something like 343556 then how does it
really work? The memory is divided into segments is that what it means?


Segments are kept separated by the CPU, and some treatment of segments can 
be enforced with some CPU's.  Text being non-modifiable is possible using 
some CPU's.  Some data segments can be read only as well.


To address memory locations vary by CPU and even by the mode the CPU is 
running in.  Some are linear address, but not necessarily.





"The data segment contains the initialized and uninitialized data portions 
of a program"


In the case of a modifiable data segment, it will contain initialized data, 
and non initialized data.

initialized data looks like:
int i=5;

versus uninitalized data:
int j;





Is it talking about multithreading? I COULDNT FIND anything talking
about how freebsd deals with multithreading, just found out it does it
by man pthread.


Threading is a separate topic.  Segments and how they work predates 
multi-threading.





Tell me anything else interesting to know about memory mannagment, does
it use any algorithm to substitute a page when out of pages in memory?
such as "second chance" "fifo" "lru" (last recently used) "nfu" (not
frequently used) and so on? I am studying freebsd but sometimes I am
out of ways to find out, yes I am reading the handbook about memory
mannagment as you can see my quotes but sometimes I don't understand.


Memory management varies by CPU and operating system.  You would need to 
research each implementation to understand how it is handled in each 
case.  Memory management should be transparent to application programers, 
and usually is only required for those programing device drivers and other 
hardware level devices.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: samba config problems

2007-06-14 Thread Reid Linnemann

Written by Andrew Falanga on 06/14/07 11:51>>

On 6/14/07, Reid Linnemann <[EMAIL PROTECTED]> wrote:


Don't forget to cc: freebsd-questions@freebsd.org



Once again I apologize to the forum.  I keep forgetting to do this.


The rc script at /usr/local/etc/rc.d/samba follows the FreeBSD rcng
scheme, if the rcvar 'samba_enable' is not set to 'yes', then the script
will not start or stop the samba process.

Run the script without any commands to see usage. To check the status of
rcvars that control the script's behavior, run the script with the
'rcvar' argument; e.g.

~/> /usr/local/etc/rc.d/samba rcvar
# samba
$samba_enable=YES
# nmbd
$nmbd_enable=YES
# smbd
$smbd_enable=YES
# winbindd
$winbindd_enable=NO

Note that nothign is stopping you from running smbd and nmbd manually,
the rc control script simply automates the control of the daemon for you.



Ah, thank you.  Very enlightening.  I guess I'll have to read through
that section of the Handbook to make sure I understand how all that
works together.  I finally did get it working by starting the smbd
"manually."

Thanks,
Andy


Hint: take a look at the rc(8) manpage. There's a good section on the 
behavior of the /etc/rc.d scripts, which is being adopted by the rc 
scripts for many ports.

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


Re: samba config problems

2007-06-14 Thread Andrew Falanga

On 6/14/07, Reid Linnemann <[EMAIL PROTECTED]> wrote:


Don't forget to cc: freebsd-questions@freebsd.org



Once again I apologize to the forum.  I keep forgetting to do this.


The rc script at /usr/local/etc/rc.d/samba follows the FreeBSD rcng
scheme, if the rcvar 'samba_enable' is not set to 'yes', then the script
will not start or stop the samba process.

Run the script without any commands to see usage. To check the status of
rcvars that control the script's behavior, run the script with the
'rcvar' argument; e.g.

~/> /usr/local/etc/rc.d/samba rcvar
# samba
$samba_enable=YES
# nmbd
$nmbd_enable=YES
# smbd
$smbd_enable=YES
# winbindd
$winbindd_enable=NO

Note that nothign is stopping you from running smbd and nmbd manually,
the rc control script simply automates the control of the daemon for you.



Ah, thank you.  Very enlightening.  I guess I'll have to read through
that section of the Handbook to make sure I understand how all that
works together.  I finally did get it working by starting the smbd
"manually."

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


Which Version?

2007-06-14 Thread Adam Hill
HiIt seems very confusing, I am looking for the correct version to use for an 
old RM server, its a intel se7501br2 server board with a xeon processor. We 
want try freebsd as a server for small networks. Can you advise which version 
to download?
 
[EMAIL PROTECTED]
_
100’s of Music vouchers to be won with MSN Music
https://www.musicmashup.co.uk/index.html___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: beryl/agpgart/i810/Intel 950 GMA

2007-06-14 Thread Reid Linnemann

Written by Kevin Downey on 06/14/07 11:32>>

On 6/14/07, Reid Linnemann <[EMAIL PROTECTED]> wrote:

Written by Eduardo Viruena Silva on 06/13/07 21:07>>
>
> Hello Guys,
>
> I have an Intel 950 GMA video card,
> built-in in my computer's motherboard.
> My motherboard is D945NT.
>
> I installed FreeBSD-6.2-RELEASE, and cvsupdated
> it to FreeBSD-6.2-RELEASE-p5.
>
> Installed my ports and cvsupdated them.
>
> I found "beryl"  in /usr/ports/x11-wm, it
> seemed to depend on Xorg-7.2
>
> I successfully upgrade Xorg-6.9 to Xorg-7.2.
> I also compiled beryl, everything seems to be ok.
>
> ..and I have tried to make it work, I give up.
>
> The problem seems to be that X is
> trying to find /dev/agpgart, according
> to my /var/log/Xorg.0.log:
>
> (II) I810(0): VESA VBE OEM Vendor: Intel Corporation
> (II) I810(0): VESA VBE OEM Product: Intel(r) 82945G Chipset Family
> Graphics Controller
> (II) I810(0): VESA VBE OEM Product Rev: Hardware Version 0.0
> (II) I810(0): Integrated Graphics Chipset: Intel(R) 945G
> (--) I810(0): Chipset: "945G"
> (--) I810(0): Linear framebuffer at 0x4000
> (--) I810(0): IO registers at addr 0x5010
> (==) I810(0): Write-combining range (0x5010,0x8) was already 
clear

> (II) I810(0): 2 display pipes available.
> (II) I810(0): detected 7932 kB stolen memory.
> (EE) GARTInit: Unable to open /dev/agpgart (No such file or directory)
> (WW) I810(0): /dev/agpgart is either not available, or no memory is
> available
> for allocation.  Using pre-allocated memory only.
> (--) I810(0): Pre-allocated VideoRAM: 7932 kByte
>
> I have seen beryl working on Gentoo Linux,
> /dev/agpgart is present in an identical system,
> and it seems to me that it is not a problem
> of memory allocation.
>
> so...
>
> What do I have to do to create /dev/agpgart?
>
> My kernel has
>
> device agp
>
> present.
>
> Thank you in advance.
>
>  Eduardo.
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

It looks to me like you don't have working dri/drm. You have to have
direct rendering working before you can get beryl working. AFAIK, drm
support for your chipset is not available in 6.1-RELEASE, and the drm
module is what provides the agpgart device.

sys/dev/drm/drm_pciids.h on 6-STABLE from about February shows this:

#define i915_PCI_IDS \
 {0x8086, 0x3577, 0, "Intel i830M GMCH"}, \
 {0x8086, 0x2562, 0, "Intel i845G GMCH"}, \
 {0x8086, 0x3582, 0, "Intel i852GM/i855GM GMCH"}, \
 {0x8086, 0x2572, 0, "Intel i865G GMCH"}, \
 {0x8086, 0x2582, 0, "Intel i915G"}, \
 {0x8086, 0x2592, 0, "Intel i915GM"}, \
 {0x8086, 0x2772, 0, "Intel i945G"}, \
 {0x8086, 0x27A2, 0, "Intel i945GM"}, \
 {0, 0, 0, NULL}

So you have to have the i915 module loaded to use this chipset. Though
the i915 driver was ported for 6.1-RELEASE there was no Makefile
included, and it never really worked until after 6.2-RELEASE.
Personally, I'm tracking 6-STABLE and I've had drm working with an i845G
  since February of this year when anholt MFC'd a load of i915 drm
changes. See this log for more info:


http://anholt.livejournal.com/34566.html
in an email on may 19th anholt indicated that there is no working
support for the 965G



Thanks for the link to anholt's journal. This doesn't affect the 945G, 
though, right?

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


Re: samba config problems

2007-06-14 Thread Reid Linnemann

Written by Andrew Falanga on 06/14/07 11:07>>

On 6/14/07, Reid Linnemann <[EMAIL PROTECTED]> wrote:

Written by Reid Linnemann on 06/14/07 10:39>>
> Written by Andrew Falanga on 06/14/07 10:02>>
>> I'm trying to get samba working in a test environment.  I do not need
>> great functionality, so I'm going off of the simple setup stuff in the
>> Handbook.  This should be enough.  I've configured my
>> /usr/local/etc/smb.conf file for a single share (the /tmp share) and
>> changed the workgroup name and set passwd backend = smbpasswd; I then
>> tried to start samba with /usr/local/etc/rc.d/samba start.  After
>> this, I get only, "Removing stale Samba tdb files:  done."  The
>> handbook shows that I should see,
>>
>> Starting SAMBA: removing stale tdbs :
>> Starting nmbd.
>> Starting smbd.
>>
>> I then tried "sockstat" and did not see any listening sockets for the
>> daemon "smbd."  I don't know if I would, but I wanted to try this.
>> I'm not convinced at this point that I'm actually getting samba to
>> start.  How can I verify this?
>>
>> I'm trying to add users to the smbpasswd file using smbpasswd, but
>> this is to no avail.  What am I doing wrong?
>>
>> Andy
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "[EMAIL PROTECTED]"
>
> Did you put 'smbd_enable="yes"' in /etc/rc.conf?
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

Sorry, that should read 'samba_enable="yes"'



No, I do not want samba running all the time.  Only in certain
situations.  Apparently, the /usr/local/etc/rc.d/samba
{start,stop,restart} script does not start samba.  I do not know why.
If I start smbd directly, it starts up and I can browse/connect using
smbclient.  So, I think that the problem is fixed, for the most part.
I'm still wondering why the system didn't start when using the samba
script in the local rc.d directory.

Oh, my user problem was due to the fact that the user I was trying to
add to samba didn't exist on the server yet.  I had to do "pw useradd
..." first.  That's what I get for working on so many machines that I
can't keep track.

Thanks,
Andy


Don't forget to cc: freebsd-questions@freebsd.org

The rc script at /usr/local/etc/rc.d/samba follows the FreeBSD rcng 
scheme, if the rcvar 'samba_enable' is not set to 'yes', then the script 
will not start or stop the samba process.


Run the script without any commands to see usage. To check the status of 
rcvars that control the script's behavior, run the script with the 
'rcvar' argument; e.g.


~/> /usr/local/etc/rc.d/samba rcvar
# samba
$samba_enable=YES
# nmbd
$nmbd_enable=YES
# smbd
$smbd_enable=YES
# winbindd
$winbindd_enable=NO

Note that nothign is stopping you from running smbd and nmbd manually, 
the rc control script simply automates the control of the daemon for you.

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


Re: beryl/agpgart/i810/Intel 950 GMA

2007-06-14 Thread Kevin Downey

On 6/14/07, Reid Linnemann <[EMAIL PROTECTED]> wrote:

Written by Eduardo Viruena Silva on 06/13/07 21:07>>
>
> Hello Guys,
>
> I have an Intel 950 GMA video card,
> built-in in my computer's motherboard.
> My motherboard is D945NT.
>
> I installed FreeBSD-6.2-RELEASE, and cvsupdated
> it to FreeBSD-6.2-RELEASE-p5.
>
> Installed my ports and cvsupdated them.
>
> I found "beryl"  in /usr/ports/x11-wm, it
> seemed to depend on Xorg-7.2
>
> I successfully upgrade Xorg-6.9 to Xorg-7.2.
> I also compiled beryl, everything seems to be ok.
>
> ..and I have tried to make it work, I give up.
>
> The problem seems to be that X is
> trying to find /dev/agpgart, according
> to my /var/log/Xorg.0.log:
>
> (II) I810(0): VESA VBE OEM Vendor: Intel Corporation
> (II) I810(0): VESA VBE OEM Product: Intel(r) 82945G Chipset Family
> Graphics Controller
> (II) I810(0): VESA VBE OEM Product Rev: Hardware Version 0.0
> (II) I810(0): Integrated Graphics Chipset: Intel(R) 945G
> (--) I810(0): Chipset: "945G"
> (--) I810(0): Linear framebuffer at 0x4000
> (--) I810(0): IO registers at addr 0x5010
> (==) I810(0): Write-combining range (0x5010,0x8) was already clear
> (II) I810(0): 2 display pipes available.
> (II) I810(0): detected 7932 kB stolen memory.
> (EE) GARTInit: Unable to open /dev/agpgart (No such file or directory)
> (WW) I810(0): /dev/agpgart is either not available, or no memory is
> available
> for allocation.  Using pre-allocated memory only.
> (--) I810(0): Pre-allocated VideoRAM: 7932 kByte
>
> I have seen beryl working on Gentoo Linux,
> /dev/agpgart is present in an identical system,
> and it seems to me that it is not a problem
> of memory allocation.
>
> so...
>
> What do I have to do to create /dev/agpgart?
>
> My kernel has
>
> device agp
>
> present.
>
> Thank you in advance.
>
>  Eduardo.
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

It looks to me like you don't have working dri/drm. You have to have
direct rendering working before you can get beryl working. AFAIK, drm
support for your chipset is not available in 6.1-RELEASE, and the drm
module is what provides the agpgart device.

sys/dev/drm/drm_pciids.h on 6-STABLE from about February shows this:

#define i915_PCI_IDS \
 {0x8086, 0x3577, 0, "Intel i830M GMCH"}, \
 {0x8086, 0x2562, 0, "Intel i845G GMCH"}, \
 {0x8086, 0x3582, 0, "Intel i852GM/i855GM GMCH"}, \
 {0x8086, 0x2572, 0, "Intel i865G GMCH"}, \
 {0x8086, 0x2582, 0, "Intel i915G"}, \
 {0x8086, 0x2592, 0, "Intel i915GM"}, \
 {0x8086, 0x2772, 0, "Intel i945G"}, \
 {0x8086, 0x27A2, 0, "Intel i945GM"}, \
 {0, 0, 0, NULL}

So you have to have the i915 module loaded to use this chipset. Though
the i915 driver was ported for 6.1-RELEASE there was no Makefile
included, and it never really worked until after 6.2-RELEASE.
Personally, I'm tracking 6-STABLE and I've had drm working with an i845G
  since February of this year when anholt MFC'd a load of i915 drm
changes. See this log for more info:


http://anholt.livejournal.com/34566.html
in an email on may 19th anholt indicated that there is no working
support for the 965G

--
i'll unhook my oily pink mini-kimono, you kill him in honolulu --
www.thelastcitadel.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Free BSD font

2007-06-14 Thread Martin Houlden

HI guys

I currently run a Free BSD server using plesk 8.1 - not that this has  
anything to do with my question!


But i'm putting together a corporate ID for a charity, and have been  
looking for a rounded font. So far i've tried the usual suspects  
(VAG, arial & helvetica rounded) but not found anything that really  
works.


Can you let me know what font you've used for the main Free BSD logo  
- I think it's really very nice and perfectly understated.

Hope you can help, many thanks in advance

Martin




South° collective thinking
www.south.co.uk

Martin Houlden
t: 0845 644 7744
e: [EMAIL PROTECTED]Disclaimer

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


Re: nvidia driver on amd64

2007-06-14 Thread Garrett Cooper

Dick Hoogendijk wrote:

Garrett Cooper <[EMAIL PROTECTED]> writes:

  

Dick Hoogendijk wrote:



  

I have used FreeBSD for years and still hate to see this lack of
support by others :-(
  


  

Again, read my response and do some research before you blame
nVidia.



Blame nVidia.. Can you tell me why there's no 64bits nVidia driver for
FreeBSD? I know there is a 32bits one. I used it on fbsd too. It used
to need special settings (agp). Use of nvidia driver comes first hand,
so what kind of research do you mean?

If I upgrade my solaris box it starts 64bits on AMD or 32bits on a 32b
machine. Including Xorg-7.2; including the nVidia driver (all 64bits).
You can download it on the nVidia site. But not for FreeBSD.  And
that's what I 'hate' (like I wrote). What's the fault in that
reasoning? Linux and solaris are better supported and that's a pity.

  

The nv driver works better than the vesa driver IMO -- it provides
much better 2D support than the vesa driver.



Absolutely. But nVidia beats the hell out of the nv driver.

  
Since you're not willing to do the research, I'll give you the reader's 
digest version. nVidia's waiting on FreeBSD to implement key features in 
the kernel in order to properly support the amd64 and i386 + PAE 
platforms, because memory mapping and access isn't there yet in the 
FreeBSD kernel.


Does that satisfy you?

Read the archives in ports@, hackers@, and current@ over the past couple 
months to discover more details.


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


Re: samba config problems

2007-06-14 Thread Reid Linnemann

Written by Reid Linnemann on 06/14/07 10:39>>

Written by Andrew Falanga on 06/14/07 10:02>>

I'm trying to get samba working in a test environment.  I do not need
great functionality, so I'm going off of the simple setup stuff in the
Handbook.  This should be enough.  I've configured my
/usr/local/etc/smb.conf file for a single share (the /tmp share) and
changed the workgroup name and set passwd backend = smbpasswd; I then
tried to start samba with /usr/local/etc/rc.d/samba start.  After
this, I get only, "Removing stale Samba tdb files:  done."  The
handbook shows that I should see,

Starting SAMBA: removing stale tdbs :
Starting nmbd.
Starting smbd.

I then tried "sockstat" and did not see any listening sockets for the
daemon "smbd."  I don't know if I would, but I wanted to try this.
I'm not convinced at this point that I'm actually getting samba to
start.  How can I verify this?

I'm trying to add users to the smbpasswd file using smbpasswd, but
this is to no avail.  What am I doing wrong?

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


Did you put 'smbd_enable="yes"' in /etc/rc.conf?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"


Sorry, that should read 'samba_enable="yes"'
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: samba config problems

2007-06-14 Thread Reid Linnemann

Written by Andrew Falanga on 06/14/07 10:02>>

I'm trying to get samba working in a test environment.  I do not need
great functionality, so I'm going off of the simple setup stuff in the
Handbook.  This should be enough.  I've configured my
/usr/local/etc/smb.conf file for a single share (the /tmp share) and
changed the workgroup name and set passwd backend = smbpasswd; I then
tried to start samba with /usr/local/etc/rc.d/samba start.  After
this, I get only, "Removing stale Samba tdb files:  done."  The
handbook shows that I should see,

Starting SAMBA: removing stale tdbs :
Starting nmbd.
Starting smbd.

I then tried "sockstat" and did not see any listening sockets for the
daemon "smbd."  I don't know if I would, but I wanted to try this.
I'm not convinced at this point that I'm actually getting samba to
start.  How can I verify this?

I'm trying to add users to the smbpasswd file using smbpasswd, but
this is to no avail.  What am I doing wrong?

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


Did you put 'smbd_enable="yes"' in /etc/rc.conf?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Apache access log shows these attack requests

2007-06-14 Thread Ian Smith
On Thu, 14 Jun 2007, Norberto Meijome wrote:

 > On Wed, 13 Jun 2007 10:50:20 -0400
 > "Bob" <[EMAIL PROTECTED]> wrote:
 > 
 > Hi Bob, please learn how to quote in a reply to a message - it's pretty hard 
 > to
 > figure out who's written what otherwise.

So much so, it's easier to respond to Bob via yours :)

 > > I checked with ls -l command and I have no pages 7036 in size.
 > 
 > (hmm... does those bytes include the headers et al ? if they do, then u 
 > should
 > be looking for something else other than 7036 in the filesystem...anyway...

Static pages do show the actual file size, checking here, but of course
any dynamic content (php or whatever) makes size indeterminate.  Bob,
check the size shown as served for your ordinary "/" page requests?

 > > My question
 > > is why is apache servicing a request for "\x04\x01", this is not a valid
 > > request in first place.
 > 
 > maybe if you show us your apache config it would be easier to figure out what
 > you allow or not. To make it simpler, the DEFAULT config in apache (with no
 > mod_proxy) is quite secure wrt access to / . 

If not too much modified, a 'diff apache.conf.installed apache.conf'
might be less wieldy and easier to grok ..
 
You do and will regularly see all sorts of tricks tried, aimed at
various vulnerabilities, mostly on M$ systems, and life's too short to
get too bothered by the 'background radiation' .. trust the security
teams (both apache and freebsd) to post about and deal with new vulns. 

 > > You wrote "because I disallow 'no referrer'
 > > plus 'no browser' ("-" "-") connects from non-local addresses, blocking
 > > heaps of rogue robots"
 > > Could you give me a example of the httpd.config coding you used for this?
 > > These denied requests get logged in the access.log, I would think they
 > > should be logged in the error.log.
 > 
 > well, they are not an error from apache's POV, are they? they get served OK 
 > :)
 > therefore, access. (the fact that you dont like it doenst make it less 
 > "correct"
 > for Apache ;)

Yeah.  Anything invoking a 40[0-9] response, among other things, makes
it to the error log, but even errors usually send some sort of response,
and if in doubt (eg on would-be proxy requests) apache will serve "/" 

For Bob and the other fellow asking: it's all in the Fine Manual apache
installed for you of course, but for simple illustration something like:

BrowserMatchNoCase "Yet Another Illbehaved Robot" go_away
SetEnvIfNoCase Referer nastysukkas\.biz go_away
BrowserMatch "Windows 98\) XX" go_away
SetEnvIf Remote_Addr 254.231.132.* go_away
 [..]
# we only want to exclude those with neither (no_ref being usually ok)
# meanwhile, till finding out how .. just 'no browser' is disallowed
# SetEnvIf Referer "^$" no_ref=1
SetEnvIf User-Agent "^$" no_bro=1
# (I never did work out how to express 'no_bro AND no_ref' ?)
SetEnvIf no_bro 1 go_away
# except of course allow local "-" "-" requests - add more friendlies ..
SetEnvIf Remote_Addr my.ip.adr.ess !go_away
 [..]

Options Indexes FollowSymLinks
AllowOverride AuthConfig
  # 18Mar02 - always allow, even for otherwise denied bots
  
  order allow,deny
  allow from all
  
# Controls who can get stuff from this server.
order allow,deny
allow from all
deny from env=go_away


Cheers, Ian

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


samba config problems

2007-06-14 Thread Andrew Falanga

I'm trying to get samba working in a test environment.  I do not need
great functionality, so I'm going off of the simple setup stuff in the
Handbook.  This should be enough.  I've configured my
/usr/local/etc/smb.conf file for a single share (the /tmp share) and
changed the workgroup name and set passwd backend = smbpasswd; I then
tried to start samba with /usr/local/etc/rc.d/samba start.  After
this, I get only, "Removing stale Samba tdb files:  done."  The
handbook shows that I should see,

Starting SAMBA: removing stale tdbs :
Starting nmbd.
Starting smbd.

I then tried "sockstat" and did not see any listening sockets for the
daemon "smbd."  I don't know if I would, but I wanted to try this.
I'm not convinced at this point that I'm actually getting samba to
start.  How can I verify this?

I'm trying to add users to the smbpasswd file using smbpasswd, but
this is to no avail.  What am I doing wrong?

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


Re: can not add a partition

2007-06-14 Thread Jerry McAllister
On Wed, Jun 13, 2007 at 11:19:39PM +0200, Stevan Tiefert wrote:

> Hello list,
> 
> I left a little bit space left in my slice during the installation. Now
> I wanted to use this left space to create a gbde-partition.
> 
> When I use sysinstall and create in menu "Label" a new partition and I
> hit "W" to write my changes to disk an error appears, that label didn't
> created the partition I wanted.
> 
> My question is why can I not add a partition in my existing slice? On
> what should I take care maybe?
> 

You are probably booted to that slice.   You cannot (properly)
write to the label of the device you are booted to.
So, trying booting from the install CD and bring up the fixit
and do it from there.

jerry

> ___
> 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: Fresh install won't compile requirement libraries for cvsup

2007-06-14 Thread Ian Smith
On Wed, 13 Jun 2007, Andrew Falanga wrote:
 > On 6/13/07, Ian Smith <[EMAIL PROTECTED]> wrote:
 > > On Tue, 12 Jun 2007 10:02:38 -0600 Andrew Falanga <[EMAIL PROTECTED]> 
 > > wrote:
 > >
 > >  > a hard hang.  Nothing worked.  I could not even Alt+ to a
 > >  > different pseudo terminal.  The system just hard hanged.  I rebooted
 > >  > and tried the install again with the same result.
 > >
 > > At the same place?  If so, I'd tend to suspect memory rather than cpu.
 > 
 > No it did not stop at the same place.  I still suspect memory versus
 > the cpu, especially considering that, apparently, there were several
 > generations of the K6.  I didn't know this.  For several years, I did
 > not have the time or money to play with hardware and therefore lost
 > touch with much of the hardware that was out there.

Andy, you're making me remember stuff I thought I'd about done with :) 

 > >  > I'm wondering if it could be hardware, specifically memory.  I've
 > >  > never seen a FreeBSD, OpenBSD or Linux (for that matter) hard hang on
 > >  > program compilation apart from hardware problems.  Also of particular
 > > [..]
 > >  > System configuration is as follows:
 > >  >
 > >  > AMD K6 700mHz
 > >  > 256mb RAM (PC 133)
 > >  > 13gb HDD
 > >
 > > 700MHz?  Please show us the line from your /var/run/dmesg.boot showing
 > > the exact cpu and clock.  This will also indicate features & stepping

I'm still curious ..

 > > That's a K6-2, though it doesn't say so there.  From memory, the fastest
 > > ever K6-2 was ~550MHz, but people did tend to wildly overclock them ..

525MHz, on reflection.  I built a box for a friend on a budget and went
for the 450, which another friend had managed to screw up to about 600
with a huge heatsink and fan/s.  These were Gigabyte mobos with 100MHz
FSB - I see you've been pointed to wikipedia re that - and PC133 RAM,
and both 'mine' are still rocking 8 years on, running standard spec ..

I'm still rather awed to hear 700MHz though, especially when you say: 

 > pretty sure this was never over clocked.  It was the secretaries
 > computer of the church I attend.  I'm working on remaking the system
 > into a web server as the secretary was just given a laptop.

You'll need to find out the motherboard make/model and google up its
manual to have any chance of resetting bus speed / clock divider and
such.  There's another whole trip about setting the cpu core voltage
for different speeds; overclocking these beasts involved black magic to
which whole websites were/are fanatically dedicated, gamer folks mostly.

 > > If you really are running it at 700MHz (at what bus speed setting?) then
 > > I'd treat it to a new heat sink with fresh thermal paste and a BIG fan.
 > 
 > Ok, sounds good.  I'll see what I can find for this CPU.

Seeing you'll want to replace the no doubt well dried out thermal paste
anyway, K6-2s are clearly marked with notional speed and model numbers. 

 > > And sure it's best to run matched-speed memory.  Your BIOS probably lets
 > > you play with wait states and such, but the basic PCI bus speed might be
 > > something weird if you've managed to crank the cpu up to 700MHz ..
 >
 > How do wait states relate to memory speed?  Please enlighten me.  I
 > have an idea, but I'm only theorizing, I'd like to know what it really
 > means.  If it's more in depth than one would like to type in a
 > response, sending a link is fine.  I learned quite a bit on the "Sig
 > 11" links given earlier.

This is drifting well past getting FreeBSD to behave under load on it,
but I googled "AMD K6 wait states" and got heaps of hits, including the
above.  Basically, wait states delay the processor long enough to read
or write to comparatively slow memory devices; better to wait than burn. 

You mentioned later trying some 100MHz memory, but you'll either need a
slower bus speed than 100MHz (or more / some wait states) for that, and
would be better off finding more PC133 RAM.  Dumpster diving, anyone? :)

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: apache deining robots.txt 404

2007-06-14 Thread Karol Kwiatkowski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Bob wrote:
> I just moved FBSD 6.2 / apache-1.3.37.1 into production.
> In the httpd-access,log I see all the search engines requests for robots.txt
> getting a 404 code.
> 
> The previous production world was FBSD 6.0 /apache-1.3.33_2 and all the
> search engines requests for robots.txt got a 200 code.
> 
> I use the same httpd-conf in both. So the only thing changed is the version
> of FBSD and apache.
> Has anybody else noticed this?
> How can I allow robots.txt to be handled like before??

After [1]:

% 10.4.5 404 Not Found
%
% The server has not found anything matching the Request-URI [...]

It means you just don't have robots.txt in www root directory.

HTH,

Karol

[1] http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

- --
Karol Kwiatkowski   
OpenPGP 0x06E09309
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGcUb+ezeoPAwGIYsRCBSDAJ9eYxO81wc4a/QopZnexGXEklpL2QCfWixR
zb1Zh0Dlg533kpipNrgWswM=
=TmMc
-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: Fresh install won't compile requirement libraries for cvsup (the verdict is in)

2007-06-14 Thread Andrew Falanga

The verdict is in!  The problem was heat.  Before swapping out memory,
I turned on the system to see what the fan was doing.  Nothing was the
answer.  It wasn't spinning at all.  I went digging through my old
hardware and found a fan of the right type and dimensions that fit
nicely, and more importantly worked.

So, before swapping out memory I tried it.  The build of
cvsup-without-gui still failed, but not due to a hang or sig11
problems.  It died for something else, and since I'm just going to use
csup, I'm not going to worry about it.

After updating my ports and source trees with csup, I successfully
completed a compile of vim (to include gvim which required X to be
compiled and installed).  And then I successfully completed a "make
buildworld" of the sources.  Tonight, I'm going to rebuild the kernel
and do the installs.

I can eliminate some of the confusion everyone was having when I said
it was a K6 700mHz CPU.  It wasn't a K6 at all.  When I pulled off the
heat sink, I saw that the chip was stamped "Duron."  I had seen 700mHz
on either the BIOS or the dmesg output during boot, and because the
case had a K6 sticker on it, assumed that was the CPU type.

At any rate, I want to thank everyone for the great suggestions
especially that link to the sig 11 stuff for gcc compiling.  That was
very informative.  Looks like everything is working ok now.

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


Re: nvidia driver on amd64

2007-06-14 Thread Robert Huff

Dick Hoogendijk writes:

>  Blame nVidia.. Can you tell me why there's no 64bits nVidia
>  driver for FreeBSD?

Check the archives of ports@ (I think) within the last ten
days.  There's a substantive discussion - including contribution
from the relevant person at nVidia - as to why.


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


apache deining robots.txt 404

2007-06-14 Thread Bob
I just moved FBSD 6.2 / apache-1.3.37.1 into production.
In the httpd-access,log I see all the search engines requests for robots.txt
getting a 404 code.

The previous production world was FBSD 6.0 /apache-1.3.33_2 and all the
search engines requests for robots.txt got a 200 code.

I use the same httpd-conf in both. So the only thing changed is the version
of FBSD and apache.
Has anybody else noticed this?
How can I allow robots.txt to be handled like before??

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


Re: beryl/agpgart/i810/Intel 950 GMA

2007-06-14 Thread Reid Linnemann

Written by Eduardo Viruena Silva on 06/13/07 21:07>>


Hello Guys,

I have an Intel 950 GMA video card,
built-in in my computer's motherboard.
My motherboard is D945NT.

I installed FreeBSD-6.2-RELEASE, and cvsupdated
it to FreeBSD-6.2-RELEASE-p5.

Installed my ports and cvsupdated them.

I found "beryl"  in /usr/ports/x11-wm, it
seemed to depend on Xorg-7.2

I successfully upgrade Xorg-6.9 to Xorg-7.2.
I also compiled beryl, everything seems to be ok.

..and I have tried to make it work, I give up.

The problem seems to be that X is
trying to find /dev/agpgart, according
to my /var/log/Xorg.0.log:

(II) I810(0): VESA VBE OEM Vendor: Intel Corporation
(II) I810(0): VESA VBE OEM Product: Intel(r) 82945G Chipset Family 
Graphics Controller

(II) I810(0): VESA VBE OEM Product Rev: Hardware Version 0.0
(II) I810(0): Integrated Graphics Chipset: Intel(R) 945G
(--) I810(0): Chipset: "945G"
(--) I810(0): Linear framebuffer at 0x4000
(--) I810(0): IO registers at addr 0x5010
(==) I810(0): Write-combining range (0x5010,0x8) was already clear
(II) I810(0): 2 display pipes available.
(II) I810(0): detected 7932 kB stolen memory.
(EE) GARTInit: Unable to open /dev/agpgart (No such file or directory)
(WW) I810(0): /dev/agpgart is either not available, or no memory is 
available

for allocation.  Using pre-allocated memory only.
(--) I810(0): Pre-allocated VideoRAM: 7932 kByte

I have seen beryl working on Gentoo Linux,
/dev/agpgart is present in an identical system,
and it seems to me that it is not a problem
of memory allocation.

so...

What do I have to do to create /dev/agpgart?

My kernel has

device agp

present.

Thank you in advance.

 Eduardo.

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


It looks to me like you don't have working dri/drm. You have to have 
direct rendering working before you can get beryl working. AFAIK, drm 
support for your chipset is not available in 6.1-RELEASE, and the drm 
module is what provides the agpgart device.


sys/dev/drm/drm_pciids.h on 6-STABLE from about February shows this:

#define i915_PCI_IDS \
{0x8086, 0x3577, 0, "Intel i830M GMCH"}, \
{0x8086, 0x2562, 0, "Intel i845G GMCH"}, \
{0x8086, 0x3582, 0, "Intel i852GM/i855GM GMCH"}, \
{0x8086, 0x2572, 0, "Intel i865G GMCH"}, \
{0x8086, 0x2582, 0, "Intel i915G"}, \
{0x8086, 0x2592, 0, "Intel i915GM"}, \
{0x8086, 0x2772, 0, "Intel i945G"}, \
{0x8086, 0x27A2, 0, "Intel i945GM"}, \
{0, 0, 0, NULL}

So you have to have the i915 module loaded to use this chipset. Though 
the i915 driver was ported for 6.1-RELEASE there was no Makefile 
included, and it never really worked until after 6.2-RELEASE. 
Personally, I'm tracking 6-STABLE and I've had drm working with an i845G 
 since February of this year when anholt MFC'd a load of i915 drm 
changes. See this log for more info: 
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/drm/i915_dma.c

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


Re: nvidia driver on amd64

2007-06-14 Thread Dick Hoogendijk
Garrett Cooper <[EMAIL PROTECTED]> writes:

> Dick Hoogendijk wrote:

>> I have used FreeBSD for years and still hate to see this lack of
>> support by others :-(

> Again, read my response and do some research before you blame
> nVidia.

Blame nVidia.. Can you tell me why there's no 64bits nVidia driver for
FreeBSD? I know there is a 32bits one. I used it on fbsd too. It used
to need special settings (agp). Use of nvidia driver comes first hand,
so what kind of research do you mean?

If I upgrade my solaris box it starts 64bits on AMD or 32bits on a 32b
machine. Including Xorg-7.2; including the nVidia driver (all 64bits).
You can download it on the nVidia site. But not for FreeBSD.  And
that's what I 'hate' (like I wrote). What's the fault in that
reasoning? Linux and solaris are better supported and that's a pity.

> The nv driver works better than the vesa driver IMO -- it provides
> much better 2D support than the vesa driver.

Absolutely. But nVidia beats the hell out of the nv driver.

-- 
Dick Hoogendijk -- PGP/GnuPG key: F86289CE
++ http://nagual.nl/ + Solaris 11 05/07 ++
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Can freebsd-update update kernels with option IPFIREWALL_FORWARD

2007-06-14 Thread Angelin Lalev
Greetings,

Several weeks ago I tried to change the way my FreeBSD servers are updated. 
Instead of the lengthy procedure of building FreeBSD from sources, 
I tried to use freebsd-update. 
On two of the servers, I ran into a problem. Obviously GENERIC kernel 
with ipfw module loaded couldn't provide the functionality of a kernel, 
compiled with IPFIREWALL_FORWARD option.
So I've returned to my old ways of updating, but I forgot the crontab 
entry which invoked freebsd-update. To my surprise, yesterday I received 
a message, that said that updates are downloaded for my kernel (currently 
FreeBSD 6.2p3 - yeah, I'm lazy ...). 
Does this mean that freebsd-update team builds kernels with IPFIREWALL_FORWARD 
now?



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


Re: cannot select arts

2007-06-14 Thread Christian Walther

On 13/06/07, Jonathan Horne <[EMAIL PROTECTED]> wrote:


> On 13/06/07, Jonathan Horne <[EMAIL PROTECTED]> wrote:
>> cc: freebsd-questions:
>>
> [...]
>> is there somewhere in kde that i can specify that i want arts to be an
>> available option to multimedia apps?
>
> Applications need to be built with arts-Support, so I guess that this
> is missing on your second box. cd to a directory of one of the ports
> in question, and do a make config to check wether arts-support is
> available and selected, or not.
>
> HTH
> Christian
>

well, i went into the x11/kde3 port, and did a 'make config-recursive', and
checked over every config file that would come into play during the kde3 build.
the only one that named anything for arts, was x11/kdebase3.  which, i did an
unisntall, and reinstall of that port with:

[X] ARTSWRAPPER  Suid wrapper for aRts, req'd for realtime prio

but amarok still sees no arts options for putput plugin.  there is also no arts
options in the amarok config.

i love the fact that using ports/packages-6-stable, i can do 30 hours of work in
just a few, but i am secumbing to the notion that i may have to come back and
just rebuild kde the old fasioned way  :(


i dont' think that this will make a difference.
Where do you look for arts output? Amarok: Settings -> Configure
Amarok -> Engine -> Xine -> Output plugin?

BTW: Why do you want arts so badly? Amarok works just fine when using
the OSS ouput plugin, for example. So there's no need to use arts at
all. Same is valid for all other multimedia apps, too.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD box/ADSL link config

2007-06-14 Thread Tom Evans
On Mon, 2007-06-11 at 22:00 +0200, Erik Norgaard wrote:
> Hi:
> 
> I am a bit confused as to what exactly I am trying to do - or that is 
> how the protocols layers and stuff. My current setup is like this:
> 
>  10.0.0/24  192.168.0/24  static IP
> Wireless ))--- AP --- FreeBSD -- DSL - Internet
>many-1 1-1
> NAT   NAT
> 
> I'd like to have the 192.168.0/24 disappear from the network topology, 
> and have the routable static ip right on my FreeBSD box. The DSL box is 
> configured with PPPoE:
..
> 
> The DSL router in question is a Thomson Speedtouch 546v6.
> 
> Any hints, howtos or other on how to do this?
> 
> Thanks, Erik
> 

My Thomson Speedtouch (716v5WL) allows it to be set up as an ethernet
bridge, effectively turning into a fancy modem.

Eg, my setup is like this:

 172.30.0.0/16 Public IP  Peer IP
LAN switch/AP --- FreeBSD Router--- DSL ST  Peer

Effectively, the speedtouch just hands everything off to the bsd router,
which in turn knows nothing about ADSL or PPP, and just uses the
standard em(4) network driver.

None of this stuff was configurable through the speedtouch's web
interface, but is fairly straightforward once you read the 300 page
manual, the 200 page CLI manual and dissect the configuration templates
that tell the box how to operate. 


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


Re: Memory mannagment

2007-06-14 Thread Tom Evans
On Thu, 2007-06-14 at 11:36 +0300, Giorgos Keramidas wrote:
> On 2007-06-14 01:15, cadastrosonline cadastrosonline <[EMAIL PROTECTED]> 
> wrote:
> > First of all,
> >
> > "Each process has its own private address space. The address space is 
> > initially divided
> > into three logical segments: text,
> > data, and stack. "
> >
> > But if the address is just something like 343556 then how does it
> > really work? The memory is divided into segments is that what it
> > means?
> 
> An answer to this is a very long introductory course in UNIX systems
> internals.  In general, you can find a lot of detail about memory
> management and allocation in books like ``The Design and Implementation
> of the FreeBSD Operating System''[1] or even the classic book of Abraham
> Silberschatz called ``Operating System Concepts''[2].
> 
> [1] 
> http://www.amazon.com/Design-Implementation-FreeBSD-Operating-System/dp/0201702452
> [2] 
> http://www.amazon.com/Operating-System-Concepts-Abraham-Silberschatz/dp/0471694665
> 
> > "The data segment contains the initialized and uninitialized data portions 
> > of a program"
> >
> > Is it talking about multithreading? I COULDNT FIND anything talking
> > about how freebsd deals with multithreading, just found out it does it
> > by man pthread.
> 
> No, it's not talking about multi-threading.  Please see [1] above for
> concepts like `process' and `thread' in FreeBSD.
> 
> > Tell me anything else interesting to know about memory mannagment, does
> > it use any algorithm to substitute a page when out of pages in memory?
> 
> This is also explained in [1] above :)


I'd also suggest 'Operating Systems Design and Implementation' [1] by
Andrew Tanenbaum (wrote MINIX, teaches OS design at a Dutch uni, lots
and lots of OS research). 

$108 seems a lot for a book tho (sure I didn't pay that much?!).

[1]
http://www.amazon.com/Operating-Systems-Implementation-Prentice-Software/dp/0131429388


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


Re: Memory mannagment

2007-06-14 Thread Giorgos Keramidas
On 2007-06-14 01:15, cadastrosonline cadastrosonline <[EMAIL PROTECTED]> wrote:
> First of all,
>
> "Each process has its own private address space. The address space is 
> initially divided
> into three logical segments: text,
> data, and stack. "
>
> But if the address is just something like 343556 then how does it
> really work? The memory is divided into segments is that what it
> means?

An answer to this is a very long introductory course in UNIX systems
internals.  In general, you can find a lot of detail about memory
management and allocation in books like ``The Design and Implementation
of the FreeBSD Operating System''[1] or even the classic book of Abraham
Silberschatz called ``Operating System Concepts''[2].

[1] 
http://www.amazon.com/Design-Implementation-FreeBSD-Operating-System/dp/0201702452
[2] 
http://www.amazon.com/Operating-System-Concepts-Abraham-Silberschatz/dp/0471694665

> "The data segment contains the initialized and uninitialized data portions of 
> a program"
>
> Is it talking about multithreading? I COULDNT FIND anything talking
> about how freebsd deals with multithreading, just found out it does it
> by man pthread.

No, it's not talking about multi-threading.  Please see [1] above for
concepts like `process' and `thread' in FreeBSD.

> Tell me anything else interesting to know about memory mannagment, does
> it use any algorithm to substitute a page when out of pages in memory?

This is also explained in [1] above :)

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


Online Part-Time Worker Needed Seat at Home

2007-06-14 Thread Marvelous Artwork
Marvelous Artwork & CO are in need of part time workers that will make cool 
cash $1,500 working from home for online representating  Marvelous Artwork & CO 
to recieve Certified and verified payments ,no qualifications needed,just good 
english communication,internet network,if interested contact us for more 
informations 
[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: Memory mannagment

2007-06-14 Thread Garrett Cooper

cadastrosonline cadastrosonline wrote:

First of all,



"Each process has its own private address space. The address space is initially 
divided
into three logical segments: text,
data, and stack. "



But if the address is just something like 343556 then how does it
really work? The memory is divided into segments is that what it means?



"The data segment contains the initialized and uninitialized data portions of a 
program"



Is it talking about multithreading? I COULDNT FIND anything talking
about how freebsd deals with multithreading, just found out it does it
by man pthread.



Tell me anything else interesting to know about memory mannagment, does
it use any algorithm to substitute a page when out of pages in memory?
such as "second chance" "fifo" "lru" (last recently used) "nfu" (not
frequently used) and so on? I am studying freebsd but sometimes I am
out of ways to find out, yes I am reading the handbook about memory
mannagment as you can see my quotes but sometimes I don't understand.



Thanks in advance.
  
   This question is better suited for the hackers@ list, and before 
doing that I suggest buying/checking out a copy of the book The Design 
and Implementation of the FreeBSD Operating System.


   Many of your questions can be possibly answered better by taking a 
computer architecture and/or operating systems course, as many of the 
questions and ideas you have most likely apply to real-time operating 
systems, including Linux, OSX, Solaris and even (gasp) Windows, not just 
FreeBSD.


   Some of my 2 cents:

Threading is known as LWP (Light-weight processes). Some differences are 
present, but the basic semantics of what one deems as non-threaded 
programs (processes), also applies to threads. Sharing, scheduling, and 
overall applied load are the overall big differences present in a 
threaded system, when compared to a procedural only system.


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