Re: nss_ldap and openldap on the same server.

2007-03-13 Thread Gerhard Schmidt
On Tue, Mar 13, 2007 at 12:07:15AM +0100, Pietro Cerutti wrote:
 On 3/12/07, Gerhard Schmidt [EMAIL PROTECTED] wrote:
 Hi,
 Hello,
 
 As I see it, nss asks all sources even if the frist one allready knows the
 answer. Is there a way to change this.
 
 man nsswitch.conf(5)
 Look for Status codes and Actions

Doesn't work. Tried the follwing nsswitch.conf 
group: files [success=return] ldap
hosts: files dns
networks: files
passwd: files [success=return] ldap
shells: files

This doesn't change the delay. And the nss_ldap timeout is still reported. 
This is not supprising because the manpage states [success=return] is 
default. 

Seams there is a bug somewhere. 

Bye
Estartu

-- 

Gerhard Schmidt| Nick : estartu  IRC : Estartu  |
Fischbachweg 3 ||  PGP Public Key
86856 Hiltenfingen | EMail: [EMAIL PROTECTED]  |  on request 
Germany||  


pgpCnHmG5AcZf.pgp
Description: PGP signature


Re: nss_ldap and openldap on the same server.

2007-03-13 Thread Gerhard Schmidt
On Tue, Mar 13, 2007 at 07:58:05AM +0900, Daniel Marsh wrote:
 
 I've run into this very same problem... but the way I got around it was
 putting OpenLDAP in a jail all by its lonesome and making sure that jail
 would start before anything on the host system would start that may need
 LDAP... (effectively meaning the LDAP server is a different machine)

Hitting the Problem with a really big hammer. Thats cures only the symptoms
not the Problem. As i see it the Problem is that the status/actions in 
nsswitch.conf not working. Since man nsswitch.conf stats that
success=return is default an therefore ldap should never be asked for Users
that are in the /etc/passwd file. 

I will file a Problemreport for this one. 

Bye
Estartu

-- 

Gerhard Schmidt| Nick : estartu  IRC : Estartu  |
Fischbachweg 3 ||  PGP Public Key
86856 Hiltenfingen | EMail: [EMAIL PROTECTED]  |  on request 
Germany||  



pgpZd5cyZ2vQO.pgp
Description: PGP signature


Re: nss_ldap and openldap on the same server.

2007-03-13 Thread Jonathan McKeown
On Tuesday 13 March 2007 09:16, Gerhard Schmidt wrote:
 On Tue, Mar 13, 2007 at 12:07:15AM +0100, Pietro Cerutti wrote:
  On 3/12/07, Gerhard Schmidt [EMAIL PROTECTED] wrote:
  Hi,
 
  Hello,
 
  As I see it, nss asks all sources even if the frist one allready knows
   the answer. Is there a way to change this.
 
  man nsswitch.conf(5)
  Look for Status codes and Actions

 Doesn't work. Tried the follwing nsswitch.conf
 group: files [success=return] ldap
 hosts: files dns
 networks: files
 passwd: files [success=return] ldap
 shells: files

 This doesn't change the delay. And the nss_ldap timeout is still reported.
 This is not supprising because the manpage states [success=return] is
 default.

 Seams there is a bug somewhere.

It's a well-known problem rather than a bug, and it arises when looking up 
group information for a user. The system needs a list of all the groups the 
user is a member of. Since it's a list, not a single answer, you can't 
short-circuit the process with ``success'' after finding a single result: 
initgroups(3) must work through all possible sources of group information to 
build the list.

The only ``workaround'' I've seen suggested is the parameter introduced 
recently in nss_ldap:

nss_initgroups_ignoreusers

It takes a comma-separated list of users for whom the nss_ldap initgroups 
routine should immediately return NSS_STATUS_NOTFOUND. If you keep group 
information for all the system users in /etc/group only, and add them all to 
this line in nss_ldap.conf, it should remove the problem. (Warning: I haven't 
tested this).

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


Re: nss_ldap and openldap on the same server.

2007-03-13 Thread Pietro Cerutti

On 3/13/07, Jonathan McKeown [EMAIL PROTECTED] wrote:


The only ``workaround'' I've seen suggested is the parameter introduced
recently in nss_ldap:

nss_initgroups_ignoreusers


Right, now I remember that once I had this problem too...
Another workaround would be to have two different nsswitch.conf files,
one with and another without the ldap database entry, and then switch
between them as part of ldap start / stop routines.

- your system has the nsswitch.conf w/out ldap by default
- when ldap starts, it substitutes it with the nsswitch.ch file w/ ldap entries
- when ldap stops, it restores the original file


Jonathan



--
Pietro Cerutti

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: nss_ldap and openldap on the same server.

2007-03-13 Thread Joerg Pulz

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Tue, 13 Mar 2007, Gerhard Schmidt wrote:


On Tue, Mar 13, 2007 at 12:07:15AM +0100, Pietro Cerutti wrote:

On 3/12/07, Gerhard Schmidt [EMAIL PROTECTED] wrote:

Hi,

Hello,


As I see it, nss asks all sources even if the frist one allready knows the
answer. Is there a way to change this.


man nsswitch.conf(5)
Look for Status codes and Actions


Doesn't work. Tried the follwing nsswitch.conf
group: files [success=return] ldap
hosts: files dns
networks: files
passwd: files [success=return] ldap
shells: files

This doesn't change the delay. And the nss_ldap timeout is still reported.
This is not supprising because the manpage states [success=return] is
default.

Seams there is a bug somewhere.


AFAICT, there is no bug.
The behavior is completely correct as a look into the openldap code turns 
out.
When starting up slapd, it tries to switch the credentials to the user and 
group specified, normally ldap:ldap. Therefor it uses getpwuid(3), 
getpwnam(3), getgrgid(3) and getgrnam(3) functions. If lookup for the user 
and group specified is okay, it then calls getuid(3) and initgroups(3).

Reading initgroups(3) turns out the following:

The initgroups() function uses the getgrouplist(3) function to calculate
the group access list for the user specified in name.

Reading getgrouplist(3) turns out the following:

The getgrouplist() function reads through the group file and calculates
the group access list for the user specified in name.
[...]
The getgrouplist() function uses the routines based on getgrent(3).

Reading getgrent(3) turns out the following:

The getgrent() function sequentially reads the group database and is
intended for programs that wish to step through the complete list of
groups.
[...]
The getgrent() and getgrent_r() functions make no attempt to suppress 
duplicate information if multiple sources are specified in 
nsswitch.conf(5).


So after following the way through all man pages, it turns out that the 
behavior is fully correct as a lookup is done to find out all groups to 
which the specified slapd user belongs to. This includes lookups using 
nss_ldap when ldap is configured as source for groups in nsswitch.conf.


As a side note, a short look into the bind and cron source turns out that 
these, and probably others too, also use the initgroups(3) function.


HTH,
Joerg

- -- 
The beginning is the most important part of the work.

-Plato
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.3 (FreeBSD)

iD8DBQFF9lwFSPOsGF+KA+MRAnI+AJ0Qu0Zr9IHHLrDL60boB3mauzMPkwCfQ3Lx
Zq0odiQpNiLwC3CSDkXuepU=
=S+3e
-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: nss_ldap and openldap on the same server.

2007-03-13 Thread Gerhard Schmidt
On Tue, Mar 13, 2007 at 10:01:09AM +0200, Jonathan McKeown wrote:
 On Tuesday 13 March 2007 09:16, Gerhard Schmidt wrote:
  On Tue, Mar 13, 2007 at 12:07:15AM +0100, Pietro Cerutti wrote:
   On 3/12/07, Gerhard Schmidt [EMAIL PROTECTED] wrote:
   Hi,
  
   Hello,
  
   As I see it, nss asks all sources even if the frist one allready knows
the answer. Is there a way to change this.
  
   man nsswitch.conf(5)
   Look for Status codes and Actions
 
  Doesn't work. Tried the follwing nsswitch.conf
  group: files [success=return] ldap
  hosts: files dns
  networks: files
  passwd: files [success=return] ldap
  shells: files
 
  This doesn't change the delay. And the nss_ldap timeout is still reported.
  This is not supprising because the manpage states [success=return] is
  default.
 
  Seams there is a bug somewhere.
 
 It's a well-known problem rather than a bug, and it arises when looking up 
 group information for a user. The system needs a list of all the groups the 
 user is a member of. Since it's a list, not a single answer, you can't 
 short-circuit the process with ``success'' after finding a single result: 
 initgroups(3) must work through all possible sources of group information to 
 build the list.

I think its still a bug. You are right that all groups should be found so 
the default for groups should be success=continue to have this done. But 
when I explicily specify that on success the process should abort, it
should be done exacly this way. 

 The only ``workaround'' I've seen suggested is the parameter introduced 
 recently in nss_ldap:
 
 nss_initgroups_ignoreusers
 
 It takes a comma-separated list of users for whom the nss_ldap initgroups 
 routine should immediately return NSS_STATUS_NOTFOUND. If you keep group 
 information for all the system users in /etc/group only, and add them all to 
 this line in nss_ldap.conf, it should remove the problem. (Warning: I haven't 
 tested this).

This may fix the problem with nss_ldap but its still there with other
modules. 

Bye
Estartu

-- 

Gerhard Schmidt| Nick : estartu  IRC : Estartu  |
Fischbachweg 3 ||  PGP Public Key
86856 Hiltenfingen | EMail: [EMAIL PROTECTED]  |  on request 
Germany||  



pgpSRTSjZBJDk.pgp
Description: PGP signature


dmesg and GIANT-LOCK

2007-03-13 Thread James Long
With regard to the recent thread about looking for GIANT-LOCKs in
dmesg, why would one system say:

ns : 00:56:29 /home/james uname -v ;dmesg | grep fxp
FreeBSD 6.2-STABLE #0: Tue Feb 20 15:47:09 PST 2007
fxp0: Intel 82559 Pro/100 Ethernet port 0x2400-0x243f mem 
0xc4fff000-0xc4ff,0xc4e0-0xc4ef irq 10 at device 2.0 on pci0
miibus0: MII bus on fxp0
fxp0: Ethernet address: 00:02:a5:0a:57:73


while a more recent build says:

t30 : 00:56:19 /home/james uname -v ;dmesg | grep fxp
FreeBSD 6.2-STABLE #2: Thu Mar  8 08:23:11 PST 2007
fxp0: Intel 82801CAM (ICH3) Pro/100 VE Ethernet port 0x7400-0x743f mem 
0xd020-0xd0200fff irq 11 at device 8.0 on pci2
miibus0: MII bus on fxp0
fxp0: Ethernet address: 00:09:6b:86:82:a6
fxp0: [GIANT-LOCKED]



Is it just the difference in chipset/controller type that requires
the fxp driver to use GIANT on the second machine, but not the first? 
I also note that on the first machine, irq 10 is solely assigned to
fxp0.  On t30, irq 11 is shared with a number of other devices.  Dunno
if that matters.


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


Re: nss_ldap and openldap on the same server.

2007-03-13 Thread Gerhard Schmidt
On Tue, Mar 13, 2007 at 09:08:34AM +0100, Joerg Pulz wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 
 On Tue, 13 Mar 2007, Gerhard Schmidt wrote:
 
 On Tue, Mar 13, 2007 at 12:07:15AM +0100, Pietro Cerutti wrote:
 On 3/12/07, Gerhard Schmidt [EMAIL PROTECTED] wrote:
 Hi,
 Hello,
 
 As I see it, nss asks all sources even if the frist one allready knows 
 the
 answer. Is there a way to change this.
 
 man nsswitch.conf(5)
 Look for Status codes and Actions
 
 Doesn't work. Tried the follwing nsswitch.conf
 group: files [success=return] ldap
 hosts: files dns
 networks: files
 passwd: files [success=return] ldap
 shells: files
 
 This doesn't change the delay. And the nss_ldap timeout is still reported.
 This is not supprising because the manpage states [success=return] is
 default.
 
 Seams there is a bug somewhere.
 
 AFAICT, there is no bug.
 The behavior is completely correct as a look into the openldap code turns 
 out.
 When starting up slapd, it tries to switch the credentials to the user and 
 group specified, normally ldap:ldap. Therefor it uses getpwuid(3), 
 getpwnam(3), getgrgid(3) and getgrnam(3) functions. If lookup for the user 
 and group specified is okay, it then calls getuid(3) and initgroups(3).
 Reading initgroups(3) turns out the following:
 
 The initgroups() function uses the getgrouplist(3) function to calculate
 the group access list for the user specified in name.
 
 Reading getgrouplist(3) turns out the following:
 
 The getgrouplist() function reads through the group file and calculates
 the group access list for the user specified in name.
 [...]
 The getgrouplist() function uses the routines based on getgrent(3).
 
 Reading getgrent(3) turns out the following:
 
 The getgrent() function sequentially reads the group database and is
 intended for programs that wish to step through the complete list of
 groups.
 [...]
 The getgrent() and getgrent_r() functions make no attempt to suppress 
 duplicate information if multiple sources are specified in 
 nsswitch.conf(5).
 
 So after following the way through all man pages, it turns out that the 
 behavior is fully correct as a lookup is done to find out all groups to 
 which the specified slapd user belongs to. This includes lookups using 
 nss_ldap when ldap is configured as source for groups in nsswitch.conf.
 
 As a side note, a short look into the bind and cron source turns out that 
 these, and probably others too, also use the initgroups(3) function.

yes. But still there is something missing. The Admin should have controll
over this behavior. The reasonable default action for groups should be 
success=continue to go though all group sources. But the admin should
still have the posibility to stop the process on success which is not
possible right now.  

Bye
Estartu

-- 

Gerhard Schmidt| Nick : estartu  IRC : Estartu  |
Fischbachweg 3 ||  PGP Public Key
86856 Hiltenfingen | EMail: [EMAIL PROTECTED]  |  on request 
Germany||  


pgpPoqYTY6DQl.pgp
Description: PGP signature


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread hxc

Martin Tournoij wrote:


Armed Assault..?
Are you trying to run armed assault in wine? if so, then remember that
wine support for FreeBSD is horrible at best...

Anyway, I set hint.agp.0.disabled=1 and now hw.nvidia.agp.status.status
is set to enabled (it was disabled before)
glxgears results are the same, ~2300 FPS.

In my experience, games on FreeBSD are always slow, my hardware isn't very
fast (900MHz, 384MB RAM,Geforce FX5200) but on windows 2000 I'm able to
play even fairly recent games (Such as the punisher, civ4).

On FreeBSD, anything with more graphics than rogue will be anything from
slow to unplayable, even though FreeBSD outperforms windows in almost
every other way...

Conclusion:
Use windows for games, FreeBSD for serious stuff ...

  


I run Armed Assault in Windows it looks absolutely gorgeous. Btw the 
punisher is an excellent game, first one I played from start to finish 
since a long time. My gaming rig relatively fast:


AMD 4000+
1024 Ram
Videocard XFX 7800 GS166256-bitGDDR3/256MB440MHz
1300MHz

Sound Audigy 2

The thing is I notice it also in normal usage. Dragging a window  around 
the screen sometime makes the system stutter. That when I noticed in the 
first place that things were wrong. I can perfectly live without games 
in FreeBSD but not with an X server that feels slow and is lagging :-( 
.  For example if I draw circles with a window in Gentoo nothing happens 
but in FreeBSD my desktop freezes for a moment.

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


Re: nss_ldap and openldap on the same server.

2007-03-13 Thread Jonathan McKeown
On Tuesday 13 March 2007 10:26, Gerhard Schmidt wrote:

  It's a well-known problem rather than a bug, and it arises when looking
  up group information for a user. The system needs a list of all the
  groups the user is a member of. Since it's a list, not a single answer,
  you can't short-circuit the process with ``success'' after finding a
  single result: initgroups(3) must work through all possible sources of
  group information to build the list.

 I think its still a bug. You are right that all groups should be found so
 the default for groups should be success=continue to have this done. But
 when I explicily specify that on success the process should abort, it
 should be done exacly this way.

You've now had responses from me and Joerg Pulz, and given us essentially the 
same reply. I'm not sure success means what you think it means: group 
information is a complete list, not ``first item found'' like a user account.

You have told the system to check for group information in files and ldap. You 
have, therefore, not succeeded in listing all groups until you have both 
searched the files *and* received a response from nss_ldap, either group 
information or NSS_STATUS_NOTFOUND.

It looks as though you can instruct nss_ldap to unconditionally return 
NSS_STATUS_NOTFOUND for a user, by adding

nss_initgroups_ignoreusers user

in nss_ldap.conf. I'd be interested to hear whether it works, having not 
tested it myself, but at the moment you're banging your head against the wall 
and shouting about how much it hurts. It will hurt less if you stop.

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


Re: How to reinstall gcc

2007-03-13 Thread Ivan Voras
Jeffrey Goldberg wrote:

 My question is without a functioning gcc, how do a install a functioning
 gcc?

It seems to me that the easiest way would be to do a binary
install/upgrade from the distribution CD. You might even get away with
copying the relevant files (don't know which... probably binaries and
libraries) from the live CD part.

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


aaccli doesn't work with AOC-LPZCR2 (Supermicro)

2007-03-13 Thread Thomas Vogt
Hello

I've a new Supermicro Raid controller AOC-LPZCR2
(http://www.supermicro.com/products/accessories/addon/AOC-LPZCR2.cfm)

It's a Adaptec 2020ZCR
Controller Monitor 5.1-0[8454]
Controller Kernel  5.1-0[8454] 

[EMAIL PROTECTED]:1:0:  class=0x010400 card=0x028a9005 chip=0x02859005 rev=0x02
hdr=0x00
vendor   = 'Adaptec Inc'
device   = 'AAC-RAID RAID Controller'
class= mass storage
subclass = RAID

FreeBSD (6.2 and Current) boots and works perfectly. Only the storage
control program from port/sysutils/aaccli doesn't work with this
controller. 

aaccli open aac0:
Command Error: The current AFAAPI.DLL is too old to work with the
current controller software.

Is there a way to check the status from the Raid without it? Perhaps
with the linux aaccli? I doubt that adaptec is releasing a new aaccli
for freebsd soon.

Cheers,
Thomas


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


Problem with VPN and LinkSYS BEFSX41

2007-03-13 Thread Alexey Zakirov
Hello!

Situation: FreeBSD 5.3-Release + pf + racoon at local end and LinkSys
BEFSX41 v2.1 firmware 1.52.9 at remote.
Lifetime of phase 1 and phase 2 is the same and equal 3600 sec.
Tunnel is getting up. I use setkey -D to SAD entries. There are 2 entries -
inbound and outbound. OK
When lifetime ends, there become 3 SAD entries - 1 outbound and 2 inbound.
Number of inbound SAD entries is growing until tunnel goes down.

Please help me, what's the cause?

Yours,
  Alexey Zakirov

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


Re: How to reinstall gcc

2007-03-13 Thread Jeffrey Goldberg

On Mar 13, 2007, at 4:37 AM, Ivan Voras wrote:


Jeffrey Goldberg wrote:

My question is without a functioning gcc, how do a install a  
functioning

gcc?


It seems to me that the easiest way would be to do a binary
install/upgrade from the distribution CD. You might even get away with
copying the relevant files (don't know which... probably binaries and
libraries) from the live CD part.


Thanks for that.

For some reason (sorry I didn't record the error messages) I got into  
some weird menu loop in sysinstall when I tried to upgrade.  So in  
the end, I just mounted the installation disk, found a directory


   RELEASE-6.2/base

in which there was an install.sh that looked like it would do the  
right thing.  It did the right thing.  The only problem was that I  
forgot to restore my old /etc/passwd before rebooting.  As a  
consequence I couldn't ssh in, and so I had to lug an old monitor  
across the room and clear desk space for it, so that I could log on  
to the console.


Cheers,

-j


--
Jeffrey Goldberghttp://www.goldmark.org/jeff/

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


Re: nss_ldap and openldap on the same server.

2007-03-13 Thread Gerhard Schmidt
On Tue, Mar 13, 2007 at 11:13:00AM +0200, Jonathan McKeown wrote:
 On Tuesday 13 March 2007 10:26, Gerhard Schmidt wrote:
 
   It's a well-known problem rather than a bug, and it arises when looking
   up group information for a user. The system needs a list of all the
   groups the user is a member of. Since it's a list, not a single answer,
   you can't short-circuit the process with ``success'' after finding a
   single result: initgroups(3) must work through all possible sources of
   group information to build the list.
 
  I think its still a bug. You are right that all groups should be found so
  the default for groups should be success=continue to have this done. But
  when I explicily specify that on success the process should abort, it
  should be done exacly this way.
 
 You've now had responses from me and Joerg Pulz, and given us essentially the 
 same reply. I'm not sure success means what you think it means: group 
 information is a complete list, not ``first item found'' like a user account.
 
 You have told the system to check for group information in files and ldap. 
 You 
 have, therefore, not succeeded in listing all groups until you have both 
 searched the files *and* received a response from nss_ldap, either group 
 information or NSS_STATUS_NOTFOUND.
 
 It looks as though you can instruct nss_ldap to unconditionally return 
 NSS_STATUS_NOTFOUND for a user, by adding
 
 nss_initgroups_ignoreusers user
 
 in nss_ldap.conf. I'd be interested to hear whether it works, having not 
 tested it myself, but at the moment you're banging your head against the wall 
 and shouting about how much it hurts. It will hurt less if you stop.

It's not. added nss_initgroups_ignoreusers ldap but it still blockes for 
2 Min. I have found a solution that work for me. The problem is not that 
nsswitch asks nss_ldap but that nss_ldap take so long to realise the 
ldap isn't running. I have changed the bind_policy setting of nss_ldap from
hard to soft and nss_ldap fails without delay. So it's working for me 
for now.

But still there is a problem with that. Right now there is no way we could
prevent any source from adding users to any group (e.g wheel). I think thats
a security problem in envoriments where you don't have control over all 
sources used for authentication und usermanagement. If there was a way
you could tell the nss to stop wenn a group definition is found in a module
we had a way to stop this. That shouldn't be the default way but it schould
be possible. 

Bye
Estartu

-- 

Gerhard Schmidt| Nick : estartu  IRC : Estartu  |
Fischbachweg 3 ||  PGP Public Key
86856 Hiltenfingen | EMail: [EMAIL PROTECTED]  |  on request 
Germany||  



pgp9i8MG1LO1C.pgp
Description: PGP signature


Re: dmesg and GIANT-LOCK

2007-03-13 Thread Ivan Voras
James Long wrote:

 Is it just the difference in chipset/controller type that requires
 the fxp driver to use GIANT on the second machine, but not the first? 
 I also note that on the first machine, irq 10 is solely assigned to
 fxp0.  On t30, irq 11 is shared with a number of other devices.  Dunno
 if that matters.

It's probably only the matter of output, this has changed with time to
start visibly marking which devices need GIANT.

Look for NEEDSGIANT flag in ifconfig output.

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


Re: The Best OS

2007-03-13 Thread Ahmad Arafat Abdullah
to some people.. it'll be religious OS flames.. erm  for me, the best
os is Os that make u feel most confortable and happy.. all of them is
good.. give it a chance and decide.. p/s: I'm wondering why NetBSD is not
listed :)

  - Original Message -
  From: Jerry McAllister
  To: Susanth K
  Subject: Re: The Best OS
  Date: Mon, 12 Mar 2007 09:13:49 -0400


  On Sun, Mar 11, 2007 at 10:03:38AM +0530, Susanth K wrote:

   Dear Friends,
  
   Am a beginner to *BSD OS.
  
   Am interested in setting up intel / AMD based Free and Open Source
  Server (
   No GUI required )
  
   Prime area is Webserver With PHP/MySQL Support and Ruby On Rails. +
   PostgreSQL
  
   Which os Will be the BEST ?
  
   A) Debian Linux
   B) OpenBSD
   C) FreeBSD
  
   Which project has good Support and Active Development ?

  Well, gee, someone has to say - of course, the best one is FreeBSD.

  As others have said, any of them can work. FreeBSD is well supported
  and has all the extra software available that you might need for that
  but is still lean and not bloated up with junk you don't need. So, it
  makes a good choice. The fact that it just works is in its favor too.

  jerry

  
   Please help me to choose
  
   THANKS IN ADVANCE
  
  
   SUSANTH K
   ___
   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]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


win32-codecs-3.1.0.r1,1 marjed FORBIDDEN

2007-03-13 Thread White Hat
I have noticed that port /multimedia/win32-codecs  has been  marked 
'FORBIDDEN' for quite sometime now. This is the win32-codecs-3.1.0.r1,1 port. I 
would really like to get this port installed. Is there any way to circumvent 
this 'FORBIDDEN' problem? Perhaps someone knows when this port will be made 
available again?
 
Thanks!
 
-- 
White Hat 
[EMAIL PROTECTED]



 

Need Mail bonding?
Go to the Yahoo! Mail QA for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=listsid=396546091
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


6.2 running 4.x binaries (missing libc.so.3)

2007-03-13 Thread Thomas David Rivers

I've been trying to run 4.x binaries on FreeBSD 6.2; with
the compat4x package (and/or port) installed.

However, the 4.x binaries want to find libc.so.3, which
doesn't seem to be anywhere around.


Anyone know the trick to getting this to work?

- Thanks -
- Dave Rivers -

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


Re: i am facing these issues after my FreeBSD 6.2 installation.

2007-03-13 Thread Stefan Lambrev

Hi,

This mail have to be in  questions not hackers, but anyway ..

ajay gopalakrishnan wrote:

Hi,

I've recently installed FreeBSD release 6.2 successfully except that the
following things that i need importantly dont work. How should i do 
these?


1. I am using PPP over Ethernet (PPPoE). I am running FreeBSD on 
Vmware and

i set the network connection as Bridged on Vmware. I configured my
Ethernet device with the correct IP, Gateway, Netmask, DNS but i dont 
know
how to start my internet on FreeBSD. All i do to connect to the 
internet on
Windows is give my username and password. I also read the PPPoE 
chapter on

the FreeBSD manual but of no use. How should i start PPoE on FreeBSD?

http://www.freebsd.org/doc/handbook/pppoe.html, but better look for mpd


2. I need Vim. I dont want to use Vi. I searched in my CD-1 and CD-2. 
But i
could not find the package vim inside it. Since i am not able to 
connect

to the internet is there any other way to install Vim ?
well if you do not have the source or the packages .. you have to find a 
way to download it :)


3. How should i configure FreeBSD to start in X mode directly. 
Currently i

have to do startx to start X on my machine.

take a look at xdm, kdm and gdm :)


4. I want to make bash as the default shell instead of csh. Where is
that configured?

man vipw


5. Where are the kernel sources located? I need it because i want to do
kernel network programming? Is having kernel sources sufficient or 
there are

other dependencies also?
src/sys are kernel sources. Where depends on your installation (normally 
/usr/src/sys/)


6. How do developers usually keep their kernel sources in sync with 
the main

Central Kernel source? Do we use CVS or Subversion for this?
if you are using freebsd 6.2 - man csup  


But best place to start is reading http://www.freebsd.org/doc/handbook/
and once you are familiar with FreeBSD you can read developers handbook.


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


--
Best Wishes,
Stefan Lambrev
ICQ# 24134177

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


Re: i am facing these issues after my FreeBSD 6.2 installation.

2007-03-13 Thread Max Laier
Hello Ajay,

On Tuesday 13 March 2007 13:23, ajay gopalakrishnan wrote:
 I've recently installed FreeBSD release 6.2 successfully except that
 the following things that i need importantly dont work. How should i do
 these?

this is the wrong list to ask such questions.  I referred your email to 
the more appropriate list freebsd-questions.  You might also find that 
the handbook can be quite helpful.

 1. I am using PPP over Ethernet (PPPoE). I am running FreeBSD on Vmware
 and i set the network connection as Bridged on Vmware. I configured
 my Ethernet device with the correct IP, Gateway, Netmask, DNS but i
 dont know how to start my internet on FreeBSD. All i do to connect to
 the internet on Windows is give my username and password. I also read
 the PPPoE chapter on the FreeBSD manual but of no use. How should i
 start PPoE on FreeBSD?

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

 2. I need Vim. I dont want to use Vi. I searched in my CD-1 and CD-2.
 But i could not find the package vim inside it. Since i am not able
 to connect to the internet is there any other way to install Vim ?

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

 3. How should i configure FreeBSD to start in X mode directly.
 Currently i have to do startx to start X on my machine.

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

 4. I want to make bash as the default shell instead of csh. Where
 is that configured?

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

 5. Where are the kernel sources located? I need it because i want to do
 kernel network programming? Is having kernel sources sufficient or
 there are other dependencies also?

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

 6. How do developers usually keep their kernel sources in sync with the
 main Central Kernel source? Do we use CVS or Subversion for this?

Use a cvsup file along these lines:

---
*default host=cvsup.XXX.FreeBSD.org
*default base=/home//.cvsupdb
*default prefix=/home//fcvs
*default release=cvs
*default delete use-rel-suffix
*default compress

src-all
ports-all
doc-all
www
cvsroot-all
---

After that cvs -d /home//fcvs co src will get you up and running.  
Ready to do cvs diff -u to check for the local changes you made etc.

As a side note:  If you can't figure out simple questions like this by 
your self, you will have a hard time to do actual development.  We 
provide a large amount of documentation, but you must use it yourself!

-- 
/\  Best regards,  | [EMAIL PROTECTED]
\ /  Max Laier  | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | [EMAIL PROTECTED]
/ \  ASCII Ribbon Campaign  | Against HTML Mail and News


pgpqulhmkzOoM.pgp
Description: PGP signature


Re: win32-codecs-3.1.0.r1,1 marjed FORBIDDEN

2007-03-13 Thread Michael Johnson

On 3/13/07, White Hat [EMAIL PROTECTED] wrote:


I have noticed that port /multimedia/win32-codecs  has been  marked
'FORBIDDEN' for quite sometime now. This is the win32-codecs-3.1.0.r1,1
port. I would really like to get this port installed. Is there any way to
circumvent this 'FORBIDDEN' problem? Perhaps someone knows when this port
will be made available again?



you have WITH_QUICKTIME defined somewhere. The quicktime support should
probably
just be disabled instead of marking it 'FORBIDDEN'.

Michael


Thanks!


--
White Hat
[EMAIL PROTECTED]






Need Mail bonding?
Go to the Yahoo! Mail QA for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=listsid=396546091
___
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: win32-codecs-3.1.0.r1,1 marjed FORBIDDEN

2007-03-13 Thread Marco Hafke

Hello,
this port is marked a s FORBIDDEN as long as you try to build it with 
Quicktime support. Simply do a make config 
/usr/ports/multimedia/win32-codecs and make sure that Quicktime-support 
is NOT enabled.


Greets
Marco


White Hat schrieb:

I have noticed that port /multimedia/win32-codecs  has been  marked 
'FORBIDDEN' for quite sometime now. This is the win32-codecs-3.1.0.r1,1 port. I would 
really like to get this port installed. Is there any way to circumvent this 'FORBIDDEN' 
problem? Perhaps someone knows when this port will be made available again?
 
Thanks!
 

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


win32-codecs-3.1.0.r1,1 marjed FORBIDDEN

2007-03-13 Thread Robert Huff
White Hat writes:

  I have noticed that port /multimedia/win32-codecs  has been
  marked 'FORBIDDEN' for quite sometime now. This is the
  win32-codecs-3.1.0.r1,1 port. I would really like to get this
  port installed. Is there any way to circumvent this 'FORBIDDEN'
  problem? Perhaps someone knows when this port will be made
  available again? 

Check the archives, both for questions@ and [EMAIL PROTECTED]


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


FreeBSD6.2/Fetchmail,Procmail and Mutt

2007-03-13 Thread Olivier Regnier

Hello,

I have a imap account and i want use procmail for filtering electronic 
mail directly on the imap server. I have 2 configuration files.


.fetchmailrc (chmod 600)
poll imp.server.org with proto IMAP
user '[EMAIL PROTECTED]' there with password 'mypassword' is 'olivier' here 
keep;

mda /usr/local/bin/procmail -Y -d %T

.procmailrc
# settings
VERBOSE=yes
LOGNAME=olivier
SHELL=/usr/local/bin/zsh
PATH=/bin:/usr/bin:/usr/local/bin:$HOME/bin
MAILDIR=imaps://imp.server.org/
DEFAULT=$MAILDIR/INBOX
LOGFILE=$HOME/.procmail/procmail.log

:0:
* ^To:[EMAIL PROTECTED]
$DEFAULT/Stuff

:0
$DEFAULT

I don't know what happened but filtering don't work at all. It is 
possible to use procmail directly on the server ?


Thank you :)

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


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread Hugo Silva

In my experience, games on FreeBSD are always slow, my hardware isn't very

fast (900MHz, 384MB RAM,Geforce FX5200) but on windows 2000 I'm able to
play even fairly recent games (Such as the punisher, civ4).

On FreeBSD, anything with more graphics than rogue will be anything from
slow to unplayable, even though FreeBSD outperforms windows in almost
every other way...

Conclusion:
Use windows for games, FreeBSD for serious stuff ...

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



I have to disagree. Been playing Return to Castle Wolfenstein[: Enemy
Territory] and NeverWinter Nights 1 for years - I surely wouldn't say
they're anything from slow to unplayable: NWN runs fine at max
resolution, and I have constant 142FPS (they're capped @ 142) on ET, at
1280x1024.

Hugo

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


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread hxc

Hugo Silva wrote:


I have to disagree. Been playing Return to Castle Wolfenstein[: Enemy
Territory] and NeverWinter Nights 1 for years - I surely wouldn't say
they're anything from slow to unplayable: NWN runs fine at max
resolution, and I have constant 142FPS (they're capped @ 142) on ET, at
1280x1024.

Hugo

That is good news :D. I think the problem is not with 3d acceleration 
but with AGP. I now get this error message at boot:


login: NVRM: AGP cannot be enabled on this combination of the AMD CPU 
and OS kernel

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


Re: nss_ldap and openldap on the same server.

2007-03-13 Thread Jonathan McKeown
On Tuesday 13 March 2007 14:21, Gerhard Schmidt wrote:
 On Tue, Mar 13, 2007 at 11:13:00AM +0200, Jonathan McKeown wrote:
  On Tuesday 13 March 2007 10:26, Gerhard Schmidt wrote:

[setting group: files ldap in nsswitch.conf]

  It looks as though you can instruct nss_ldap to unconditionally return
  NSS_STATUS_NOTFOUND for a user, by adding
 
  nss_initgroups_ignoreusers user
 
  in nss_ldap.conf.

 It's not. added nss_initgroups_ignoreusers ldap but it still blockes for
 2 Min. I have found a solution that work for me. The problem is not that
 nsswitch asks nss_ldap but that nss_ldap take so long to realise the
 ldap isn't running. I have changed the bind_policy setting of nss_ldap from
 hard to soft and nss_ldap fails without delay. So it's working for me
 for now.

 But still there is a problem with that. Right now there is no way we could
 prevent any source from adding users to any group (e.g wheel). I think
 thats a security problem in envoriments where you don't have control over
 all sources used for authentication und usermanagement. If there was a way
 you could tell the nss to stop wenn a group definition is found in a module
 we had a way to stop this. That shouldn't be the default way but it schould
 be possible.

Basically you're saying you want to take the first list of groups you find in
the same way that you can take the first username you find: and with respect,
you seem to be finding increasingly strident reasons why things should be the
way you want them. You're still banging your head against the wall. It's easy
to ``prevent any source from adding users to any group'': just don't give the
whole world write access to your groups database - whether it's in the system
files, NIS, LDAP, or on tablets of stone on a small hill in your server room.

If you don't want to look up group information in LDAP, don't put ldap in the
group line in nsswitch.conf. If you do, secure it properly and accept that it
will always do an LDAP lookup, because group information is additive - unlike
user information which has to be unique. Accept, too, that if you only have a
single LDAP server, there will be a bootstrap problem reading the groups list
for the ldap user to start up the LDAP server: but the only cost of this is
an extra two minutes or so on each boot, which you seem to have solved in any
case.

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


Re: win32-codecs-3.1.0.r1,1 marjed FORBIDDEN

2007-03-13 Thread Lars Eighner

On Tue, 13 Mar 2007, White Hat wrote:


I have noticed that port /multimedia/win32-codecs  has been  marked
'FORBIDDEN' for quite sometime now. This is the win32-codecs-3.1.0.r1,1
port. I would really like to get this port installed. Is there any way to
circumvent this 'FORBIDDEN' problem? Perhaps someone knows when this port
will be made available again?


If you don't know enough to comment out the FORBIDDEN line in the Makefile,
perhaps you shouldn't have this port.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Re: win32-codecs-3.1.0.r1,1 marked FORBIDDEN

2007-03-13 Thread White Hat
- Original Message 
From: Lars Eighner [EMAIL PROTECTED]


 On Tue, 13 Mar 2007, White Hat wrote:

 I have noticed that port /multimedia/win32-codecs  has been  marked
 'FORBIDDEN' for quite sometime now. This is the win32-codecs-3.1.0.r1,1
 port. I would really like to get this port installed. Is there any way to
 circumvent this 'FORBIDDEN' problem? Perhaps someone knows when this port
 will be made available again?

 If you don't know enough to comment out the FORBIDDEN line in the Makefile,
 perhaps you shouldn't have this port.

Well, that is an option. From what I have discovered, the problem is with the 
QuickTime codec. It has been a problem for an extended period of time. Perhaps 
the maintainer should just remove that option form the port, or issue a warning 
that, that codec cannot be installed without specifically modifying the 
'makefile' or perhaps using a specific directive on the command line.

Then again, why make things simple.

BTW, I am subscribed to the list. There is no need to Cc: me. I don't need, nor 
did I request it.
-- 
White Hat
[EMAIL PROTECTED]

Clark's Law: Sufficiently advanced cluelessness is indistinguishable from 
malice.



 

Need Mail bonding?
Go to the Yahoo! Mail QA for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=listsid=396546091
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


6.2 running 4.x binaries (missing libc.so.3)

2007-03-13 Thread Robert Huff

Thomas David Rivers writes:
  
  I've been trying to run 4.x binaries on FreeBSD 6.2; with
  the compat4x package (and/or port) installed.
  
  However, the 4.x binaries want to find libc.so.3, which
  doesn't seem to be anywhere around.
  
  Anyone know the trick to getting this to work?

/usr/ports/misc/compat4x ?



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


UFS2 Snapshot limitiations

2007-03-13 Thread Doug Poland
Hello,

I seem to recall, but cannot find, the limitation on the number of
snapshots allowed on UFS2.  Could someone point me in the right
direction please?


-- 
Regards,
Doug

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


Re: 6.2 running 4.x binaries (missing libc.so.3)

2007-03-13 Thread Sergio Lenzi
Em Ter, 2007-03-13 às 09:47 -0500, Robert Huff escreveu:

 Thomas David Rivers writes:
   
   I've been trying to run 4.x binaries on FreeBSD 6.2; with
   the compat4x package (and/or port) installed.
   
   However, the 4.x binaries want to find libc.so.3, which
   doesn't seem to be anywhere around.
   
   Anyone know the trick to getting this to work?
 
   /usr/ports/misc/compat4x ?

or as a workaround 
add in the /etc/libmap.conf

libc.so.3libc.so
libm.so.3   libm.so

..
that is every shared library it complains add it to 
the /etc/libmap.conf

It worked for me for 5.x binaries and 4.x on a FreeBSD 6.1/6.2

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


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread hxc
In case you haven't noticed I am a total FreeBSD n00b ;). How can I 
solve this error message? Thanks in advance!:


Error message
login: NVRM: AGP cannot be enabled on this combination of the AMD CPU 
and OS kernel

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


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread Pieter de Goeje
Op dinsdag 13 maart 2007 14:56, schreef [EMAIL PROTECTED]:
 Hugo Silva wrote:
  I have to disagree. Been playing Return to Castle Wolfenstein[: Enemy
  Territory] and NeverWinter Nights 1 for years - I surely wouldn't say
  they're anything from slow to unplayable: NWN runs fine at max
  resolution, and I have constant 142FPS (they're capped @ 142) on ET, at
  1280x1024.
 
  Hugo
My experience exactly; been playing Quake3 a while at framerates over 350 
(1024x768). In fact, I have created a robot simulation / visualisation which 
runs faster on FreeBSD than on Windows. OpenGL is just as fast on FreeBSD as 
it is on Windows, when set up properly.


 That is good news :D. I think the problem is not with 3d acceleration
 but with AGP. I now get this error message at boot:

 login: NVRM: AGP cannot be enabled on this combination of the AMD CPU
 and OS kernel
 NVRM: kernel upgrade recommended.
You really need to delete 'device AGP' from your kernel config and rebuild 
your kernel.

When everything is working OK, the hw.nvidia sysctl will look like this:
[EMAIL PROTECTED]:~ sysctl hw.nvidia
hw.nvidia.agp.card.rates: 8x 4x
hw.nvidia.agp.card.fw: supported
hw.nvidia.agp.card.sba: supported
hw.nvidia.agp.card.registers: 0xff000e1b:0x1f000302
hw.nvidia.agp.status.status: enabled
hw.nvidia.agp.status.driver: nvidia
hw.nvidia.agp.status.rate: 8x
hw.nvidia.agp.status.fw: disabled
hw.nvidia.agp.status.sba: enabled
[ ... ]
hw.nvidia.cards.0.model: GeForce 7600 GT
hw.nvidia.cards.0.irq: 16
hw.nvidia.cards.0.vbios: 05.73.22.25.70
hw.nvidia.cards.0.type: AGP

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


RE: 6.2 running 4.x binaries (missing libc.so.3)

2007-03-13 Thread Tamouh H.
 
 
 I've been trying to run 4.x binaries on FreeBSD 6.2; with the 
 compat4x package (and/or port) installed.
 
 However, the 4.x binaries want to find libc.so.3, which 
 doesn't seem to be anywhere around.
 
 
 Anyone know the trick to getting this to work?
 
   - Thanks -
   - Dave Rivers -
 

I usually had lots of trouble with these libraries. The best solution I've 
found was to do a find ./ -name libc.so*   on the /usr/* folder, you might 
find libc.so.4 or libc.so.2 , cp to libc.so.3  usually fixes it (you may need 
to do this for multiple files as the errors progress).

Not the best way of doing it, but it does job!


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


Re: UFS2 Snapshot limitiations

2007-03-13 Thread Bill Moran
In response to Doug Poland [EMAIL PROTECTED]:

 Hello,
 
 I seem to recall, but cannot find, the limitation on the number of
 snapshots allowed on UFS2.  Could someone point me in the right
 direction please?

The handbook has it:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/snapshots.html

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


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread hxc

Pieter de Goeje wrote:


You really need to delete 'device AGP' from your kernel config and rebuild 
your kernel.


When everything is working OK, the hw.nvidia sysctl will look like this:
[EMAIL PROTECTED]:~ sysctl hw.nvidia
hw.nvidia.agp.card.rates: 8x 4x
hw.nvidia.agp.card.fw: supported
hw.nvidia.agp.card.sba: supported
hw.nvidia.agp.card.registers: 0xff000e1b:0x1f000302
hw.nvidia.agp.status.status: enabled
hw.nvidia.agp.status.driver: nvidia
hw.nvidia.agp.status.rate: 8x
hw.nvidia.agp.status.fw: disabled
hw.nvidia.agp.status.sba: enabled
[ ... ]
hw.nvidia.cards.0.model: GeForce 7600 GT
hw.nvidia.cards.0.irq: 16
hw.nvidia.cards.0.vbios: 05.73.22.25.70
hw.nvidia.cards.0.type: AGP

Regards,
Pieter de Goeje
  


Do you have a link where I can more (newbie friendly) information on how 
to do this?


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


Re: UFS2 Snapshot limitiations

2007-03-13 Thread Doug Poland

On Tue, March 13, 2007 10:10, Bill Moran wrote:
 In response to Doug Poland [EMAIL PROTECTED]:

 Hello,

 I seem to recall, but cannot find, the limitation on the number of
 snapshots allowed on UFS2.  Could someone point me in the right
 direction please?

 The handbook has it:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/snapshots.html

Thank you very much.

-- 
Regards,
Doug

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


Re: 6.2 running 4.x binaries (missing libc.so.3)

2007-03-13 Thread Robert Huff
Sergio Lenzi writes:

 However, the 4.x binaries want to find libc.so.3, which
 doesn't seem to be anywhere around.
 
 Anyone know the trick to getting this to work?
   
  /usr/ports/misc/compat4x ?
  
  or as a workaround 
  add in the /etc/libmap.conf
  
  libc.so.3libc.so
  libm.so.3   libm.so
  
  ..
  that is every shared library it complains add it to 
  the /etc/libmap.conf

That can work.
On the other hand, there's no guarantee the ABI - never mind
the internal operation - of any function will remain constant across
a major version bump.  (As far as I know.)
The safe way is to update/rebuild against current libs;
failing that, to install the compat?x package.


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


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread Pieter de Goeje
Op dinsdag 13 maart 2007 16:20, schreef [EMAIL PROTECTED]:
 Do you have a link where I can more (newbie friendly) information on how
 to do this?

Look here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
or the dutch version:
http://www.freebsd.org/doc/nl_NL.ISO8859-1/books/handbook/kernelconfig.html

Basically it comes down to this:
# cd /usr/src/sys/i386/conf
# cp GENERIC MYKERNEL
edit MYKERNEL, delete 'device agp'
or you could: grep -v agp GENERIC  MYKERNEL
# cd /usr/src
# make kernel KERNCONF=MYKERNEL
# reboot

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


Re: fsck, soft-updates, and snapshots

2007-03-13 Thread Nikos Vassiliadis
On Tuesday 13 March 2007 05:52, David Cecil wrote:
 Can anyone tell me src/sys/ufs/ffs/README.softupdates and 
 README.snapshots are up to date?  The former is dated June 2000, so it's 
 almost 7 years old.  The snapshots readme is only 2 years younger and 
 mentions the code being alpha-test.
 

I can answer indirectly. sysinstall, the default FreeBSD installer,
enables soft-updates by default on every filesystem, except the root
filesystem. I think this is true since the 4.x days. This must make
them pretty well tested.

I do not the exact status of snapshots. Perhaps you should ask freebsd-fs.
I know some problems regarding snapshots are now resolved.

 The problems I'm seeing in 6.1 are:
 1. After writing a lot if data/files to a filesystem with soft-updates 
 enabled, then unmounting or remounting it:
 update error: /: blocks n files y
 It appears others have seen this too.  It appears that an attempt to 
 flush the buffers to disk as part of the unmount failed.  Is this a 
 known issue?
 

Could you describe how to reproduce the error?
That would be really useful.

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


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread Alex Zbyslaw

[EMAIL PROTECTED] wrote:

In case you haven't noticed I am a total FreeBSD n00b ;). How can I 
solve this error message? Thanks in advance!:


Error message
login: NVRM: AGP cannot be enabled on this combination of the AMD CPU 
and OS kernel

NVRM: kernel upgrade recommended.


Unless I am misunderstanding, you can't.  See 
http://www.nvnews.net/vbulletin/showthread.php?t=52388 messages #4 and 
#6.  Changes are required to the FreeBSD kernel as well as to the NVidia 
driver.  
http://lists.freebsd.org/pipermail/freebsd-hackers/2006-June/016995.html


I have no idea what effect this has on 3D acceleration of any kind; I 
only use the driver because the nv driver available when I got the card 
locked up.  Newer Nvidia drivers do as well 
(http://www.nvnews.net/vbulletin/showthread.php?t=73644)


For reference, with a GT6600 and an older nvidia driver I get ~4700fps.  
I neither know nor care whether that is good or not; I can run X which 
is all I care about.  I use Windows for games.


hth,

--Alex


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


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread Norbert Papke
On Monday 12 March 2007 20:58, [EMAIL PROTECTED] wrote:
 I'm actually having the same problem, but after I took out device agp out
 of my kernel. And I still cannot start x with nvidia driver.

 It complains that /dev/nvidiactl couldn't be opened. And then it says it
 failed to load the kernel module.

It seems that the graphics card is not detected.  Does 

'pciconf -l | grep nvidia'

show anything?

What model is it?  If it is an older card, you may need the older version of 
the NVIDIA driver.


 sysctl -a | grep nvidia
 hw.nvidia.version: NVIDIA UNIX x86 Kernel Module  1.0-9746  Tue Dec 19
 13:20:59 PST 2006
 hw.nvidia.registry.EnableVia4x: 0
 hw.nvidia.registry.EnableALiAGP: 0
 hw.nvidia.registry.NvAGP: 1
 hw.nvidia.registry.EnableAGPSBA: 0
 hw.nvidia.registry.EnableAGPFW: 0
 hw.nvidia.registry.SoftEDIDs: 1
 hw.nvidia.registry.Mobile: 4294967295
 hw.nvidia.registry.ResmanDebugLevel: 4294967295
 hw.nvidia.registry.FlatPanelMode: 0
 hw.nvidia.registry.DevicesConnected: 0
 hw.nvidia.registry.RmLogonRC: 1
 hw.nvidia.registry.DetectPrimaryVga: 1
 hw.nvidia.registry.dwords:

For comparison, here is my output.  Note that  there are card specific 
entries.

# sysctl -a | grep nvidia
   nvidia   603  1293K   -38844  
16,32,64,128,256,512,1024,2048,4096
nvidia0: GeForce 7600 GS port 0xbc00-0xbc7f mem 
0xfd00-0xfdff,0xc000-0xcfff,0xfc00-0xfcff irq 16 at 
device 0.0 on pci3
nvidia0: [GIANT-LOCKED]
hw.nvidia.version: NVIDIA UNIX x86 Kernel Module  1.0-9746  Tue Dec 19 
13:20:59 PST 2006
hw.nvidia.registry.EnableVia4x: 0
hw.nvidia.registry.EnableALiAGP: 0
hw.nvidia.registry.NvAGP: 1
hw.nvidia.registry.EnableAGPSBA: 0
hw.nvidia.registry.EnableAGPFW: 0
hw.nvidia.registry.SoftEDIDs: 1
hw.nvidia.registry.Mobile: 4294967295
hw.nvidia.registry.ResmanDebugLevel: 4294967295
hw.nvidia.registry.FlatPanelMode: 0
hw.nvidia.registry.DevicesConnected: 0
hw.nvidia.registry.RmLogonRC: 1
hw.nvidia.registry.DetectPrimaryVga: 1
hw.nvidia.registry.dwords:
hw.nvidia.cards.0.model: GeForce 7600 GS
hw.nvidia.cards.0.irq: 16
hw.nvidia.cards.0.vbios: 05.73.22.16.02
hw.nvidia.cards.0.type: PCI-E
dev.nvidia.0.%desc: GeForce 7600 GS
dev.nvidia.0.%driver: nvidia
dev.nvidia.0.%location: slot=0 function=0
dev.nvidia.0.%pnpinfo: vendor=0x10de device=0x0392 subvendor=0x3842 
subdevice=0xc547 class=0x03
dev.nvidia.0.%parent: pci3
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread hxc

Pieter de Goeje wrote:


Look here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
or the dutch version:
http://www.freebsd.org/doc/nl_NL.ISO8859-1/books/handbook/kernelconfig.html

Basically it comes down to this:
# cd /usr/src/sys/i386/conf
# cp GENERIC MYKERNEL
edit MYKERNEL, delete 'device agp'
or you could: grep -v agp GENERIC  MYKERNEL
# cd /usr/src
# make kernel KERNCONF=MYKERNEL
# reboot

Regards,
Pieter de Goeje

  
Thank you for your extensive answer. I tried both your method and the 
method described in the handbook*. I still get the same error message 
though**. I have attached MYKERNEL, maybe you can take a look at it to 
see if somethings wrong?


**Building a Kernel*

  1.

 Change to the /usr/src directory:

 # cd /usr/src
 


  2.

 Compile the kernel:

 # make buildkernel KERNCONF=/MYKERNEL/
 


  3.

 Install the new kernel:

 # make installkernel KERNCONF=/MYKERNEL/
 


**
Error message
login: NVRM: AGP cannot be enabled on this combination of the AMD CPU 
and OS kernel

NVRM: kernel upgrade recommended.
#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.13 2006/10/09 18:41:36 simon 
Exp $

machine i386
cpu I486_CPU
cpu I586_CPU
cpu I686_CPU
ident   GENERIC

# To statically compile in device wiring instead of /boot/device.hints
#hints  GENERIC.hints # Default places to look for devices.

makeoptions DEBUG=-g# Build kernel with gdb(1) debug symbols

options SCHED_4BSD  # 4BSD scheduler
options PREEMPTION  # Enable kernel thread preemption
options INET# InterNETworking
options INET6   # IPv6 communications protocols
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options MD_ROOT # MD is a potential root device
options NFSCLIENT   # Network Filesystem Client
options NFSSERVER   # Network Filesystem Server
options NFS_ROOT# NFS usable as /, requires NFSCLIENT
options MSDOSFS # MSDOS Filesystem
options CD9660  # ISO 9660 Filesystem
options PROCFS  # Process filesystem (requires PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
options GEOM_GPT# GUID Partition Tables.
options COMPAT_43   # Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
options KTRACE  # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time 
extensions
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options ADAPTIVE_GIANT  # Giant mutex is adaptive.

device  apic# I/O APIC

# Bus support.
device  eisa
device  pci

# Floppy drives
device  fdc

# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
device  ataraid # ATA RAID drives
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
device  atapist # ATAPI tape drives
options ATA_STATIC_ID   # Static device numbering

# SCSI Controllers
device  ahb # EISA AHA1742 family
device  ahc # AHA2940 and onboard AIC7xxx devices
options AHC_REG_PRETTY_PRINT# Print register bitfields in debug
# 

Installing a second hard disk

2007-03-13 Thread Aitor San Juan
Hi List,

I am trying to install a secondary hard disk in a Intel-based PC
with FreeBSD 5.4

This secondary disk's capacity is 250 Gb. When I enter sysintall
to try to format it and create a slice, FreeBSD says that the
geometry of disk is not correct. I, then, type in the values detected
by the BIOS as suggested, but FreeBSD still complains that those
are not valid. FreeBSD sees the new disk as a disk of approx. 131 GB.

So my question is: where is the problem? Is it that FreeBSD is not
able to recognise such a big disk capacity?

Any hint, suggestion, or web link would be highly appreciated.

Thanks in advance
Aitor.


 LEGEZKO OHARRA / AVISO LEGAL / LEGAL ADVICE * 
Mezu honek isilpeko informazioa gorde dezake, edo jabea duena, edota legez 
babestuta dagoena. Zuri zuzendua ez bada, bidali duenari esan eta ezabatu, 
inori berbidali edo gorde gabe, legeak debekatzen duelako mezuak erabiltzea 
baimenik gabe. 
--
Este mensaje puede contener información confidencial, en propiedad o legalmente 
protegida. Si usted no es el destinatario, le rogamos lo comunique al remitente 
y proceda a borrarlo, sin reenviarlo ni conservarlo, ya que su uso no 
autorizado está prohibido legalmente.
--
This message may contain confidential, proprietary or legally privileged 
information. If you are not the intended recipient of this message, please 
notify it to the sender and delete without resending or backing it, as it is 
legally prohibited.
**
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


system does not come up after reboot due to devices in /dev missing freebsd v3.2

2007-03-13 Thread David Glassman
We have a freebsd 3.2 system and had to reboot it. Afterwards it could
not fine the following:
swapon: /dev/da0s1b: No such file or directory
swapon: /dev/da2s1b: No such file or directory
Automatic reboot in progress...
Can't stat /dev/da0s1a: No such file or directory
Can't stat /dev/da0s1a: No such file or directory
/dev/da0s1a: CAN'T CHECK FILE SYSTEM.
/dev/da0s1a: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.

it seems that the above devices disappeared in /dev (See fstab file
below)and goes into maintenance mode.

_How do I recover the devices from my fstab file?? Why would they
suddenly disappear if there was no disk failure??

_There is no scsi errors and did a disklabel to check partitions and
everything looks good (see below):

# disklabel da0
# /dev/rda0c:
type: SCSI
disk: da0s1
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 2212
sectors/unit: 35551782
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:   40960004.2BSD 1024  819216   # (Cyl.0 - 25*)
  b:  1048576   409600  swap# (Cyl.   25*- 90*)
  c: 355517820unused0 0 # (Cyl.0 -
2212*)
  e:  1638400  14581764.2BSD 1024  819216   # (Cyl.   90*- 192*)
  f:   614400  30965764.2BSD 1024  819216   # (Cyl.  192*- 230*)
  g:   409600  37109764.2BSD 1024  819216   # (Cyl.  230*- 256*)

# disklabel da1
# /dev/rda1c:
type: SCSI
disk: da1s1
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 2212
sectors/unit: 35551782
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  c: 355517820unused0 0 # (Cyl.0 -
2212*)
  e: 1843200004.2BSD 1024  819216   # (Cyl.0 -
1147*)
  f:  8192000 184320004.2BSD 1024  819216   # (Cyl. 1147*-
1657*)

# disklabel da2
# /dev/rda2c:
type: SCSI
disk: da2s1
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 2212
sectors/unit: 35551782
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  b:  10485760  swap# (Cyl.0 - 65*)
  c: 355517820unused0 0 # (Cyl.0 -
2212*)
  e:  8192000  10485764.2BSD 1024  819216   # (Cyl.   65*- 575*)
  f: 26311206  92405764.2BSD 1024  819216   # (Cyl.  575*-
2212*)

DMESGS:
Rebooting...
Console: serial port
BIOS drive A: is disk0
BIOS drive C: is disk1
BIOS drive D: is disk2
BIOS drive E: is disk3

FreeBSD/i386 bootstrap loader, Revision 0.7  638/65532kB
([EMAIL PROTECTED], Tue May 18 03:22:02 GMT 1999)
Loading /boot/defaults/loader.conf
/kernel text=0x1d4631 data=0x1e380+0x22460 syms=[0x4+0x27610+0x4+0x27383]

Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [kernel]...
BIOS basemem (638K) != RTC basemem (640K), setting to BIOS value
BIOS extmem (65532K) != RTC extmem (65535K)
Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
FreeBSD 3.2-RELEASE #0: Fri May 19 11:29:47 EDT 2000
[EMAIL PROTECTED]:/usr/src/sys/compile/FWNAU110
Timecounter i8254  frequency 1193182 Hz
CPU: Pentium II/Xeon/Celeron (686-class CPU)
  Origin = GenuineIntel  Id = 0x652  Stepping=2
 
Features=0x183fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,b24
real memory  = 536870912 (524288K bytes)
avail memory = 518815744 (506656K bytes)
Programming 24 pins in IOAPIC #0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee0
 io0 (APIC): apic id:  0, version: 0x00170011, at 0xfec0
Preloaded elf kernel kernel at 0xc0366000.
Probing for devices on PCI bus 0:
chip0: Intel 82443BX host to PCI bridge (AGP disabled) rev 0x02 on
pci0.0.0
chip1: Intel 82371AB PCI to ISA bridge rev 0x02 on pci0.4.0
ide_pci0: Intel PIIX4 Bus-master IDE controller rev 0x01 on pci0.4.1
chip2: Intel 82371AB Power management controller rev 0x02 on pci0.4.3
chip3: PCI to PCI bridge (vendor=1011 device=0024) rev 0x02 on pci0.7.0
fxp0: Intel EtherExpress Pro 10/100B Ethernet rev 0x02 int a irq 16 on
pci0.8.0
fxp0: Ethernet address 00:a0:c9:ea:fe:f7
fxp1: Intel EtherExpress Pro 10/100B Ethernet rev 0x02 int a irq 17 on
pci0.9.0
fxp1: Ethernet address 00:a0:c9:e9:4e:6b
ahc0: Adaptec aic7880 Ultra SCSI adapter rev 0x01 

Re: system does not come up after reboot due to devices in /dev missing freebsd v3.2

2007-03-13 Thread Steve Bertrand
David Glassman wrote:
 We have a freebsd 3.2 system and had to reboot it. Afterwards it could
 not fine the following:
 swapon: /dev/da0s1b: No such file or directory
 swapon: /dev/da2s1b: No such file or directory
 Automatic reboot in progress...
 Can't stat /dev/da0s1a: No such file or directory
 Can't stat /dev/da0s1a: No such file or directory
 /dev/da0s1a: CAN'T CHECK FILE SYSTEM.
 /dev/da0s1a: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.

Have you tried running:

# fsck -y

...manually as per the suggestion?

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


Re: dmesg and GIANT-LOCK

2007-03-13 Thread Kris Kennaway
On Tue, Mar 13, 2007 at 01:06:12AM -0700, James Long wrote:
 With regard to the recent thread about looking for GIANT-LOCKs in
 dmesg, why would one system say:
 
 ns : 00:56:29 /home/james uname -v ;dmesg | grep fxp
 FreeBSD 6.2-STABLE #0: Tue Feb 20 15:47:09 PST 2007
 fxp0: Intel 82559 Pro/100 Ethernet port 0x2400-0x243f mem 
 0xc4fff000-0xc4ff,0xc4e0-0xc4ef irq 10 at device 2.0 on pci0
 miibus0: MII bus on fxp0
 fxp0: Ethernet address: 00:02:a5:0a:57:73
 
 
 while a more recent build says:
 
 t30 : 00:56:19 /home/james uname -v ;dmesg | grep fxp
 FreeBSD 6.2-STABLE #2: Thu Mar  8 08:23:11 PST 2007
 fxp0: Intel 82801CAM (ICH3) Pro/100 VE Ethernet port 0x7400-0x743f mem 
 0xd020-0xd0200fff irq 11 at device 8.0 on pci2
 miibus0: MII bus on fxp0
 fxp0: Ethernet address: 00:09:6b:86:82:a6
 fxp0: [GIANT-LOCKED]

fxp is not giant locked, you can check the source for the INTR_MPSAFE
flag in sys/dev/fxp/if_fxp.c.  I'm not sure how you are seeing this,
please describe the configuration of this system further (kernel
config, loader.conf).

Kris


pgpkzr1YXlNlZ.pgp
Description: PGP signature


Re: 6.2 running 4.x binaries (missing libc.so.3)

2007-03-13 Thread Kris Kennaway
On Tue, Mar 13, 2007 at 10:27:27AM -0500, Robert Huff wrote:
 Sergio Lenzi writes:
 
  However, the 4.x binaries want to find libc.so.3, which
  doesn't seem to be anywhere around.
  
  Anyone know the trick to getting this to work?

 /usr/ports/misc/compat4x ?
   
   or as a workaround 
   add in the /etc/libmap.conf
   
   libc.so.3libc.so
   libm.so.3   libm.so
   
   ..
   that is every shared library it complains add it to 
   the /etc/libmap.conf
 
   That can work.
   On the other hand, there's no guarantee the ABI - never mind
 the internal operation - of any function will remain constant across
 a major version bump.  (As far as I know.)

In fact in FreeBSD a version bump is almost always a guarantee that
they are incompatible and you will break some applications by doing
this.

Kris


pgpP5h4rGhyeY.pgp
Description: PGP signature


Re: 6.2 running 4.x binaries (missing libc.so.3)

2007-03-13 Thread Kris Kennaway
On Tue, Mar 13, 2007 at 08:32:49AM -0400, Thomas David Rivers wrote:
 
 I've been trying to run 4.x binaries on FreeBSD 6.2; with
 the compat4x package (and/or port) installed.
 
 However, the 4.x binaries want to find libc.so.3, which
 doesn't seem to be anywhere around.
 
 
 Anyone know the trick to getting this to work?

libc.so.3 was FreeBSD 3.x, not 4.x.

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


Freebsd-Update Stable Dist's

2007-03-13 Thread Don O'Neil
When I built my latest server I used a FreeBSD 6.1-STABLE-200608 ISO image
that was produced on one of the serveral 'snapshot' sites

However, I was going to run freebsd-update to check for any patches, etc..
That may need to be applied and it says it won't run on my machine:

This system is running FreeBSD 6.1-STABLE-200608.
FreeBSD Update is only designed to track FreeBSD Security
and Errata branches and cannot update this system

I was wondering if there is a way to force it to think my machine is really
6.1-RELEASE, or to safely use freebsd-update on my machine. 

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


Re: system does not come up after reboot due to devices in /dev missing freebsd v3.2

2007-03-13 Thread Kris Kennaway
On Tue, Mar 13, 2007 at 01:07:37PM -0400, David Glassman wrote:
 We have a freebsd 3.2 system and had to reboot it. Afterwards it could
 not fine the following:
 swapon: /dev/da0s1b: No such file or directory
 swapon: /dev/da2s1b: No such file or directory
 Automatic reboot in progress...
 Can't stat /dev/da0s1a: No such file or directory
 Can't stat /dev/da0s1a: No such file or directory
 /dev/da0s1a: CAN'T CHECK FILE SYSTEM.
 /dev/da0s1a: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
 
 it seems that the above devices disappeared in /dev (See fstab file
 below)and goes into maintenance mode.
 
 _How do I recover the devices from my fstab file?? Why would they
 suddenly disappear if there was no disk failure??

Only due to disk corruption or explicit removal.

In old versions of FreeBSD you create devices by hand using the
/dev/MAKEDEV script.

Kris

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


Re: Installing a second hard disk

2007-03-13 Thread Chuck Swiger

Hi--

On Mar 13, 2007, at 10:05 AM, Aitor San Juan wrote:

I am trying to install a secondary hard disk in a Intel-based PC
with FreeBSD 5.4

This secondary disk's capacity is 250 Gb. When I enter sysintall
to try to format it and create a slice, FreeBSD says that the
geometry of disk is not correct. I, then, type in the values detected
by the BIOS as suggested, but FreeBSD still complains that those
are not valid. FreeBSD sees the new disk as a disk of approx. 131 GB.

So my question is: where is the problem? Is it that FreeBSD is not
able to recognise such a big disk capacity?


FreeBSD will recognize large disks, but your hardware itself needs to  
support what's known as LBA48 addressing to properly work with drives  
larger than 137.4 GB.  Make sure that you've got the latest BIOS  
update for your MB installed, and try to make sure that the drive is  
configured to use LBA or auto access mode, rather than C/H/S.


Also, you should ignore the warning about the geometry under these  
circumstances rather than entering a manual geometry...C/H/S mode is  
going to waste most of the available disk space, so you don't want to  
use it.  First hit from google suggests a site here: http://www. 
48bitlba.com/ with some tools...I haven't looked into them, but it  
looks like they have a utility to check your BIOS for LBA48  
compatibility.


--
-Chuck

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


Re: UFS2 Snapshot limitiations

2007-03-13 Thread Pietro Cerutti

On 3/13/07, Doug Poland [EMAIL PROTECTED] wrote:


On Tue, March 13, 2007 10:10, Bill Moran wrote:
 In response to Doug Poland [EMAIL PROTECTED]:

 Hello,

 I seem to recall, but cannot find, the limitation on the number of
 snapshots allowed on UFS2.  Could someone point me in the right
 direction please?

 The handbook has it:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/snapshots.html

Thank you very much.



Sorry for joining the thread, but it's raised my curiosity: what's the
reason for this limit?


--
Regards,
Doug



Thanx!

--
Pietro Cerutti

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD Devil Image

2007-03-13 Thread Adam Gerety
What are the rules, in terms of using the FreeBSD Devil image to make  
some stickers?  I am huge fan/supporter of FreeBSD and want a sticker  
that is just the Devil to put on my computers.  Not planning to sell  
them, though it might make a nice avenue for financial contribution  
to the effort.


Thank you for your time and reply,
- Adam Gerety
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD Devil Image

2007-03-13 Thread Pietro Cerutti

On 3/13/07, Adam Gerety [EMAIL PROTECTED] wrote:

What are the rules, in terms of using the FreeBSD Devil image to make
some stickers?  I am huge fan/supporter of FreeBSD and want a sticker
that is just the Devil to put on my computers.  Not planning to sell
them, though it might make a nice avenue for financial contribution
to the effort.


Here's some information:

http://www.beastie.com/



Thank you for your time and reply,
- Adam Gerety


Thank you for your interest in The Beast ;-)

--
Pietro Cerutti

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org


--
Pietro Cerutti

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Devil Image

2007-03-13 Thread Jonathan Chen
On Tue, Mar 13, 2007 at 12:58:22PM -0500, Adam Gerety wrote:
 What are the rules, in terms of using the FreeBSD Devil image to make  
 some stickers?  I am huge fan/supporter of FreeBSD and want a sticker  
 that is just the Devil to put on my computers.  Not planning to sell  
 them, though it might make a nice avenue for financial contribution  
 to the effort.

http://www.mckusick.com/beastie/mainpage/copyright.html
-- 
Jonathan Chen [EMAIL PROTECTED]
--
With sufficient thrust, pigs fly just fine. However, this is not necessarily
a good idea. It is hard to be sure where they are going to land, and it
could be dangerous sitting under them as they fly overhead. -- RFC 1925
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: UFS2 Snapshot limitiations

2007-03-13 Thread Bill Moran
In response to Pietro Cerutti [EMAIL PROTECTED]:

 On 3/13/07, Doug Poland [EMAIL PROTECTED] wrote:
 
  On Tue, March 13, 2007 10:10, Bill Moran wrote:
   In response to Doug Poland [EMAIL PROTECTED]:
  
   Hello,
  
   I seem to recall, but cannot find, the limitation on the number of
   snapshots allowed on UFS2.  Could someone point me in the right
   direction please?
  
   The handbook has it:
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/snapshots.html
  
  Thank you very much.
 
 
 Sorry for joining the thread, but it's raised my curiosity: what's the
 reason for this limit?

I'm not 100% sure, but I believe it's because snapshot information is stored
in the filesystem superblock, and that's all that can fit in the space
available in the superblock.

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


Re: FreeBSD Devil Image

2007-03-13 Thread Adam Gerety

Perfect, thank you very much.

On Mar 13, 2007, at 1:34 PM, Jonathan Chen wrote:


On Tue, Mar 13, 2007 at 12:58:22PM -0500, Adam Gerety wrote:

What are the rules, in terms of using the FreeBSD Devil image to make
some stickers?  I am huge fan/supporter of FreeBSD and want a sticker
that is just the Devil to put on my computers.  Not planning to sell
them, though it might make a nice avenue for financial contribution
to the effort.


http://www.mckusick.com/beastie/mainpage/copyright.html
--  
Jonathan Chen [EMAIL PROTECTED]

--
With sufficient thrust, pigs fly just fine. However, this is not  
necessarily
a good idea. It is hard to be sure where they are going to land,  
and it
could be dangerous sitting under them as they fly overhead. -- RFC  
1925


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


Re: UFS2 Snapshot limitiations

2007-03-13 Thread Pietro Cerutti

On 3/13/07, Bill Moran [EMAIL PROTECTED] wrote:

In response to Pietro Cerutti [EMAIL PROTECTED]:

 On 3/13/07, Doug Poland [EMAIL PROTECTED] wrote:
 
  On Tue, March 13, 2007 10:10, Bill Moran wrote:
   In response to Doug Poland [EMAIL PROTECTED]:
  
   Hello,
  
   I seem to recall, but cannot find, the limitation on the number of
   snapshots allowed on UFS2.  Could someone point me in the right
   direction please?
  
   The handbook has it:
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/snapshots.html
  
  Thank you very much.
 

 Sorry for joining the thread, but it's raised my curiosity: what's the
 reason for this limit?

I'm not 100% sure, but I believe it's because snapshot information is stored
in the filesystem superblock, and that's all that can fit in the space
available in the superblock.


This is the same thing that came to my mind, but in the handbook page I found:
Active snapshots are recorded in the superblock so they are
persistent across unmount and remount operations along with system
reboots.

1) what an active snapshot is?
2) is that limit limited (...) to active snapshots?

Tnx


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




--
Pietro Cerutti

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Devil Image

2007-03-13 Thread Andrew Pantyukhin

On 3/13/07, Adam Gerety [EMAIL PROTECTED] wrote:

What are the rules, in terms of using the FreeBSD Devil image to make
some stickers?  I am huge fan/supporter of FreeBSD and want a sticker
that is just the Devil to put on my computers.  Not planning to sell
them, though it might make a nice avenue for financial contribution
to the effort.


Our beastie may be a bit devilish in some respects, but
please don't call him just a devil. Some people stay
away from FreeBSD for religious reasons. Feeding their
misconception is the last thing we want to do.

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


Re: 6.2 running 4.x binaries (missing libc.so.3)

2007-03-13 Thread Eric P. Scott
[Kris Kennaway [EMAIL PROTECTED]]
libc.so.3 was FreeBSD 3.x, not 4.x.

And misc/compat3x is marked FORBIDDEN.

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


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread Eric P. Scott
[Pieter de Goeje [EMAIL PROTECTED]]
You really need to delete 'device AGP' from your kernel config and rebuild 
your kernel.

Really?  NVIDIA's README file says that shouldn't be necessary.

|Note that current FreeBSD releases are shipped with agp.ko built into the
|kernel; in order to allow NvAGP to work, the kernel can be rebuilt without
|'device agp' or the following entry added to /boot/device.hints:
|
| hint.agp.0.disabled=1

-=EPS=-
(using a different model NVIDIA card)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread Martin Tournoij
On Tue 13 Mar 2007 17:03, [EMAIL PROTECTED] wrote:
 Pieter de Goeje wrote:
 
 Look here:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
 or the dutch version:
 http://www.freebsd.org/doc/nl_NL.ISO8859-1/books/handbook/kernelconfig.html
 
 Basically it comes down to this:
 # cd /usr/src/sys/i386/conf
 # cp GENERIC MYKERNEL
 edit MYKERNEL, delete 'device agp'
 or you could: grep -v agp GENERIC  MYKERNEL
 # cd /usr/src
 # make kernel KERNCONF=MYKERNEL
 # reboot
 
 Regards,
 Pieter de Goeje
 
   
 Thank you for your extensive answer. I tried both your method and the method 
 described in the handbook*. I still get the same error message 
 though**. I have attached MYKERNEL, maybe you can take a look at it to see if 
 somethings wrong?


Next time you build a kernel, you should change indent GENERIC to indent 
MYKERNEL
This will avoid any confusion about which kernel you are using.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dmesg and GIANT-LOCK

2007-03-13 Thread James Long
On Tue, Mar 13, 2007 at 01:50:34PM -0400, Kris Kennaway wrote:
 On Tue, Mar 13, 2007 at 01:06:12AM -0700, James Long wrote:
  With regard to the recent thread about looking for GIANT-LOCKs in
  dmesg, why would one system say:
  
  ns : 00:56:29 /home/james uname -v ;dmesg | grep fxp
  FreeBSD 6.2-STABLE #0: Tue Feb 20 15:47:09 PST 2007
  fxp0: Intel 82559 Pro/100 Ethernet port 0x2400-0x243f mem 
  0xc4fff000-0xc4ff,0xc4e0-0xc4ef irq 10 at device 2.0 on pci0
  miibus0: MII bus on fxp0
  fxp0: Ethernet address: 00:02:a5:0a:57:73
  
  
  while a more recent build says:
  
  t30 : 00:56:19 /home/james uname -v ;dmesg | grep fxp
  FreeBSD 6.2-STABLE #2: Thu Mar  8 08:23:11 PST 2007
  fxp0: Intel 82801CAM (ICH3) Pro/100 VE Ethernet port 0x7400-0x743f mem 
  0xd020-0xd0200fff irq 11 at device 8.0 on pci2
  miibus0: MII bus on fxp0
  fxp0: Ethernet address: 00:09:6b:86:82:a6
  fxp0: [GIANT-LOCKED]
 
 fxp is not giant locked, you can check the source for the INTR_MPSAFE
 flag in sys/dev/fxp/if_fxp.c.  I'm not sure how you are seeing this,
 please describe the configuration of this system further (kernel
 config, loader.conf).
 
 Kris

It just dawned on me when you said INTR_MPSAFE, would having

options IPSEC

in the kernel config cause fxp to use GIANT?

dmesg says in part:

FreeBSD 6.2-STABLE #2: Thu Mar  8 08:23:11 PST 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/T30
WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant
WARNING: MPSAFE network stack disabled, expect reduced performance.

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


mirror without destroying existing contents

2007-03-13 Thread Steve Franks

Anyone made a mirror w/o destroying what's in the disk already?  The
atacontrol man page is less than adequate in this respect...is is even
possible?

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


Re: UFS2 Snapshot limitiations

2007-03-13 Thread Bill Moran
In response to Pietro Cerutti [EMAIL PROTECTED]:

 On 3/13/07, Bill Moran [EMAIL PROTECTED] wrote:
  In response to Pietro Cerutti [EMAIL PROTECTED]:
 
   On 3/13/07, Doug Poland [EMAIL PROTECTED] wrote:
   
On Tue, March 13, 2007 10:10, Bill Moran wrote:
 In response to Doug Poland [EMAIL PROTECTED]:

 Hello,

 I seem to recall, but cannot find, the limitation on the number of
 snapshots allowed on UFS2.  Could someone point me in the right
 direction please?

 The handbook has it:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/snapshots.html

Thank you very much.
   
  
   Sorry for joining the thread, but it's raised my curiosity: what's the
   reason for this limit?
 
  I'm not 100% sure, but I believe it's because snapshot information is stored
  in the filesystem superblock, and that's all that can fit in the space
  available in the superblock.
 
 This is the same thing that came to my mind, but in the handbook page I found:
 Active snapshots are recorded in the superblock so they are
 persistent across unmount and remount operations along with system
 reboots.
 
 1) what an active snapshot is?

I think you're trying too hard to read into this.  Active snapshot, as opposed
to a snapshot that has been deleted/unmounted and existed in the past, is what
I took it to mean.

Keep in mind that the existence of a snapshot mandates certain activity on
the part of the FFS drivers in order to keep that snapshot's data valid.
Thus, any snapshot is active as long as it exists.  In other words, if
you delete a file from the filesystem while a snapshot is active, the FFS
drivers can not reclaim that space, as it would result in data loss within
the snapshot.

 2) is that limit limited (...) to active snapshots?

Sure.  I don't know what an inactive snapshot would be.

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


Re: 6.2 running 4.x binaries (missing libc.so.3)

2007-03-13 Thread Kris Kennaway
On Tue, Mar 13, 2007 at 11:59:21AM -0700, Eric P. Scott wrote:
 [Kris Kennaway [EMAIL PROTECTED]]
 libc.so.3 was FreeBSD 3.x, not 4.x.
 
 And misc/compat3x is marked FORBIDDEN.

Yep, that's easily overridden, but something the OP will have to
evaluate for himself.

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


Re: dmesg and GIANT-LOCK

2007-03-13 Thread Kris Kennaway
On Tue, Mar 13, 2007 at 12:12:26PM -0700, James Long wrote:
 On Tue, Mar 13, 2007 at 01:50:34PM -0400, Kris Kennaway wrote:
  On Tue, Mar 13, 2007 at 01:06:12AM -0700, James Long wrote:
   With regard to the recent thread about looking for GIANT-LOCKs in
   dmesg, why would one system say:
   
   ns : 00:56:29 /home/james uname -v ;dmesg | grep fxp
   FreeBSD 6.2-STABLE #0: Tue Feb 20 15:47:09 PST 2007
   fxp0: Intel 82559 Pro/100 Ethernet port 0x2400-0x243f mem 
   0xc4fff000-0xc4ff,0xc4e0-0xc4ef irq 10 at device 2.0 on pci0
   miibus0: MII bus on fxp0
   fxp0: Ethernet address: 00:02:a5:0a:57:73
   
   
   while a more recent build says:
   
   t30 : 00:56:19 /home/james uname -v ;dmesg | grep fxp
   FreeBSD 6.2-STABLE #2: Thu Mar  8 08:23:11 PST 2007
   fxp0: Intel 82801CAM (ICH3) Pro/100 VE Ethernet port 0x7400-0x743f mem 
   0xd020-0xd0200fff irq 11 at device 8.0 on pci2
   miibus0: MII bus on fxp0
   fxp0: Ethernet address: 00:09:6b:86:82:a6
   fxp0: [GIANT-LOCKED]
  
  fxp is not giant locked, you can check the source for the INTR_MPSAFE
  flag in sys/dev/fxp/if_fxp.c.  I'm not sure how you are seeing this,
  please describe the configuration of this system further (kernel
  config, loader.conf).
  
  Kris
 
 It just dawned on me when you said INTR_MPSAFE, would having
 
 options   IPSEC
 
 in the kernel config cause fxp to use GIANT?
 
 dmesg says in part:
 
 FreeBSD 6.2-STABLE #2: Thu Mar  8 08:23:11 PST 2007
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/T30
 WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant
 WARNING: MPSAFE network stack disabled, expect reduced performance.

Yes.  Use FAST_IPSEC instead, it's also faster in other ways than just
having better SMP scaling properties.

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


Re: mirror without destroying existing contents

2007-03-13 Thread Chuck Swiger

On Mar 13, 2007, at 12:12 PM, Steve Franks wrote:

Anyone made a mirror w/o destroying what's in the disk already?  The
atacontrol man page is less than adequate in this respect...is is even
possible?


Oh, yes-- it's certainly possible to create a mirror with live data,  
but one is advised to be cautious and have a full backup available in  
case of problems.  With hardware-based ATA controllers like Promise,  
3ware, etc, they should have a BIOS utility which you can use to  
create the mirror-- make sure to add the drive with valid data first,  
and then add the second or additional drives to the mirror set.


The same approach ought to work with software-mirroring such as (g) 
vinum.


--
-Chuck

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


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread hxc

Norbert Papke wrote:

It seems that the graphics card is not detected. Does
'pciconf -l | grep nvidia'

show anything?

What model is it?  If it is an older card, you may need the older version of 
the NVIDIA driver.


  
To unsubscribe, send any mail to [EMAIL PROTECTED]


  

Pciconf show this:

pciconf -l | grep nvidia
[EMAIL PROTECTED]:0:0:   class=0x03 card=0x21881682 chip=0x00f510de rev=0xa2 


I have a Geforce XFX 7800 GS AGP why does it show up as pci?


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


Re: Installing a second hard disk

2007-03-13 Thread John Nielsen
On Tuesday 13 March 2007 13:05, Aitor San Juan wrote:
 Hi List,

 I am trying to install a secondary hard disk in a Intel-based PC
 with FreeBSD 5.4

 This secondary disk's capacity is 250 Gb. When I enter sysintall
 to try to format it and create a slice, FreeBSD says that the
 geometry of disk is not correct. I, then, type in the values detected
 by the BIOS as suggested, but FreeBSD still complains that those
 are not valid. FreeBSD sees the new disk as a disk of approx. 131 GB.

 So my question is: where is the problem? Is it that FreeBSD is not
 able to recognise such a big disk capacity?

 Any hint, suggestion, or web link would be highly appreciated.

Assuming the new disk is ad4, and you want a single FreeBSD slice/partition/FS 
covering the whole disk:

fdisk -BI /dev/ad4
bsdlabel -wB /dev/ad4s1
newfs -U /dev/ad4s1a

See the manpages for each command for more details. The -B flags aren't 
necessary if you never plan to boot from the new disk, but they don't hurt 
anything either. If you want multiple FreeBSD partitions you could run 
a bsdlabel -e after the first bsdlabel command above, and additional newfs 
commands as appropriate.

Continuing the example above, you could do:

mkdir /newdisk
mount /dev/ad4s1a /newdisk
echo /dev/ad4s1a   /newdiskufs rw  2   2  /etc/fstab

To both mount the new filesystem and have it mounted automatically at boot. 
See the fstab manpage for details about that. (You could of course use a text 
editor to modify fstab instead of the echo command above.)

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


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread Roger Olofsson

Hello Pieter,

I hope this might be helpful for you. It's a forum for FreeBSD using 
nvidia. You can also find it from www.nvidia.com.


http://www.nvnews.net/vbulletin/forumdisplay.php?f=47

I found alot of helpful information there when setting up my OpenGL 
programming environment.


Good luck!



[EMAIL PROTECTED] skrev:

Pieter de Goeje wrote:


You really need to delete 'device AGP' from your kernel config and 
rebuild your kernel.


When everything is working OK, the hw.nvidia sysctl will look like this:
[EMAIL PROTECTED]:~ sysctl hw.nvidia
hw.nvidia.agp.card.rates: 8x 4x
hw.nvidia.agp.card.fw: supported
hw.nvidia.agp.card.sba: supported
hw.nvidia.agp.card.registers: 0xff000e1b:0x1f000302
hw.nvidia.agp.status.status: enabled
hw.nvidia.agp.status.driver: nvidia
hw.nvidia.agp.status.rate: 8x
hw.nvidia.agp.status.fw: disabled
hw.nvidia.agp.status.sba: enabled
[ ... ]
hw.nvidia.cards.0.model: GeForce 7600 GT
hw.nvidia.cards.0.irq: 16
hw.nvidia.cards.0.vbios: 05.73.22.25.70
hw.nvidia.cards.0.type: AGP

Regards,
Pieter de Goeje
  


Do you have a link where I can more (newbie friendly) information on how 
to do this?


___
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: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread hxc

Eric P. Scott wrote:

[Pieter de Goeje [EMAIL PROTECTED]]
  
You really need to delete 'device AGP' from your kernel config and rebuild 
your kernel.



Really?  NVIDIA's README file says that shouldn't be necessary.

|Note that current FreeBSD releases are shipped with agp.ko built into the
|kernel; in order to allow NvAGP to work, the kernel can be rebuilt without
|'device agp' or the following entry added to /boot/device.hints:
|
| hint.agp.0.disabled=1

-=EPS=-
(using a different model NVIDIA card)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

  
I have tried editing /boot/device.hints first* but this didn't work. 
Removing AGP from the kernel also did also zero :'(


*
*# tail /boot/device.hints*
[code]hint.ie.0.maddr=0xd
hint.fe.0.at=isa
hint.fe.0.disabled=1
hint.fe.0.port=0x300
hint.lnc.0.at=isa
hint.lnc.0.disabled=1
hint.lnc.0.port=0x280
hint.lnc.0.irq=10
hint.lnc.0.drq=0
hint.agp.0.disabled=1
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Devil Image

2007-03-13 Thread Jeff Rollin

On 13/03/07, Andrew Pantyukhin [EMAIL PROTECTED] wrote:



Our beastie may be a bit devilish in some respects, but
please don't call him just a devil. Some people stay
away from FreeBSD for religious reasons. Feeding their
misconception is the last thing we want to do.


Do you really think it'll make any difference to these people whether
we call it a devil or a banana, once they see it?

--
Q: What will happen in the Aftermath?

A: Impossible to tell, since we're still in the Beforemath.

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


Re: UFS2 Snapshot limitiations

2007-03-13 Thread Pietro Cerutti

On 3/13/07, Bill Moran [EMAIL PROTECTED] wrote:

In response to Pietro Cerutti [EMAIL PROTECTED]:

 On 3/13/07, Bill Moran [EMAIL PROTECTED] wrote:
  In response to Pietro Cerutti [EMAIL PROTECTED]:
 
   On 3/13/07, Doug Poland [EMAIL PROTECTED] wrote:
   
On Tue, March 13, 2007 10:10, Bill Moran wrote:
 In response to Doug Poland [EMAIL PROTECTED]:

 Hello,

 I seem to recall, but cannot find, the limitation on the number of
 snapshots allowed on UFS2.  Could someone point me in the right
 direction please?

 The handbook has it:
 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/snapshots.html

Thank you very much.
   
  
   Sorry for joining the thread, but it's raised my curiosity: what's the
   reason for this limit?
 
  I'm not 100% sure, but I believe it's because snapshot information is stored
  in the filesystem superblock, and that's all that can fit in the space
  available in the superblock.

 This is the same thing that came to my mind, but in the handbook page I found:
 Active snapshots are recorded in the superblock so they are
 persistent across unmount and remount operations along with system
 reboots.

 1) what an active snapshot is?

I think you're trying too hard to read into this.  Active snapshot, as opposed
to a snapshot that has been deleted/unmounted and existed in the past, is what
I took it to mean.


Makes sense.

Thanks!



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




--
Pietro Cerutti

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread Pieter de Goeje
Op dinsdag 13 maart 2007 19:51, schreef Eric P. Scott:
 [Pieter de Goeje [EMAIL PROTECTED]]

 You really need to delete 'device AGP' from your kernel config and rebuild
 your kernel.

 Really?  NVIDIA's README file says that shouldn't be necessary.

 |Note that current FreeBSD releases are shipped with agp.ko built into the
 |kernel; in order to allow NvAGP to work, the kernel can be rebuilt without
 |'device agp' or the following entry added to /boot/device.hints:
 |
 | hint.agp.0.disabled=1

   -=EPS=-
   (using a different model NVIDIA card)
Hmm, you're probably right, I'll try it out some time.

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


Re: mirror without destroying existing contents

2007-03-13 Thread John Nielsen
On Tuesday 13 March 2007 15:12, Steve Franks wrote:
 Anyone made a mirror w/o destroying what's in the disk already?  The
 atacontrol man page is less than adequate in this respect...is is even
 possible?

If you want to use gmirror (which I recommend), the most conservative approach 
is as follows. This can probably be adapted to other mirroring 
techniques/software as well.

Verify that your backups are up-to-date and reliable.

Create a degraded single-member mirror on the blank disk (or a 
partition/slice on said disk). (gmirror label command) Make sure that the 
size of the disk/slice/partition is equal to or smaller than the size of the 
disk/slice/partition which already contains your data.

Create (a) new filsystem(s) on the new mirror. (newfs and possibly bsdlabel, 
depending on how/if you want to break it up)

Transfer your data from the existing filesystem to the new filesystem 
(dump/restore -- it's easier than it sounds). (Alternative: restore from the 
backup you created to begin with.)

Verify data transfer, make relevant changes to /etc/fstab, possibly other 
intermediate steps.

Destroy the original filesystem (possibly using dd and /dev/zero) (not 
strictly necessary, but wiping at least the first part of the 
disk/slice/partition can help avoid potential confusion (for you and the 
system) later.)

Insert the original disk/slice/partition into your new mirro (gmirror insert 
command).

This approach can take longer than some others (due to the transfer 
requirement), but the finished product is less likely to contain surprises. I 
have successfully used this approach to migrate several types of volumes to 
gmirror sets, including boot partitions.

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


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread Pieter de Goeje
Op dinsdag 13 maart 2007 17:44, schreef [EMAIL PROTECTED]:
 Thank you for your extensive answer. I tried both your method and the
 method described in the handbook*. I still get the same error message
 though**. I have attached MYKERNEL, maybe you can take a look at it to
 see if somethings wrong?
 [snip]
 Error message
 login: NVRM: AGP cannot be enabled on this combination of the AMD CPU
 and OS kernel
 NVRM: kernel upgrade recommended.
Ok, the only other reason I can think of right now is that your motherboard's 
agp chipset isn't supported by the nvidia driver. In that case you'll need to 
load the FreeBSD agp driver and recompile the nvidia driver with support for 
freebsd's agp driver.

# cd /usr/ports/x11/nvidia-driver
# make config
check FREEBSD_AGP
# make clean
# make deinstall reinstall clean

Also, you need to go back to the GENERIC kernel w/ agp included, or load agp 
by specifying agp_load=yes in /boot/loader.conf.

Hope this helps,

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


Problems with SSH and Realtek driver

2007-03-13 Thread Alexander Schlichting
 

I had a problem with the sshd disconnecting incoming connections after a few
seconds of inactivity. I tried a lot and found no solution for this so I
ended up with trying the latest driver from here :
http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1
http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1PNid=13PFi
d=4Level=5Conn=4DownTypeID=3GetDown=falseDownloads=true
PNid=13PFid=4Level=5Conn=4DownTypeID=3GetDown=falseDownloads=true
and since the driver is from mid November last year I did not expect it to
be any better. I actually expected FreeBSD to have that driver with the
kernel but it seems like it's not. After installing this driver all my
problems are gone. The problem is I have to install 4 servers with the same
Realtek NIC. What would be the best way to do this and to compile the driver
static with the kernel. I would like to avoid loading it as a module for
every server. Does a snapshot release maybe have the latest Realtek driver ?

 

-Alex

 

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


Re: FreeBSD Devil Image

2007-03-13 Thread Adam Gerety

Yes, I apologize for the reference!

On Mar 13, 2007, at 2:03 PM, Andrew Pantyukhin wrote:


On 3/13/07, Adam Gerety [EMAIL PROTECTED] wrote:

What are the rules, in terms of using the FreeBSD Devil image to make
some stickers?  I am huge fan/supporter of FreeBSD and want a sticker
that is just the Devil to put on my computers.  Not planning to sell
them, though it might make a nice avenue for financial contribution
to the effort.


Our beastie may be a bit devilish in some respects, but
please don't call him just a devil. Some people stay
away from FreeBSD for religious reasons. Feeding their
misconception is the last thing we want to do.

Thanks!


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


Re: mirror without destroying existing contents

2007-03-13 Thread David Robillard

Anyone made a mirror w/o destroying what's in the disk already?  The
atacontrol man page is less than adequate in this respect...is is even
possible?


Oh, yes-- it's certainly possible to create a mirror with live data,
but one is advised to be cautious and have a full backup available in
case of problems.  With hardware-based ATA controllers like Promise,
3ware, etc, they should have a BIOS utility which you can use to
create the mirror-- make sure to add the drive with valid data first,
and then add the second or additional drives to the mirror set.

The same approach ought to work with software-mirroring such as (g)
vinum.


I'd add gmirror(8) to the list of software RAID solutions.

Man page: 
http://www.freebsd.org/cgi/man.cgi?query=gmirrorapropos=0sektion=0manpath=FreeBSD+6.2-RELEASEformat=html

Handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/book.html#GEOM-MIRROR

Cheers,

David
--
David Robillard
UNIX systems administrator  Oracle DBA
CISSP, RHCE  Sun Certified Security Administrator
Montreal: +1 514 966 0122
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Devil Image

2007-03-13 Thread Pieter de Goeje
Op dinsdag 13 maart 2007 20:34, schreef Jeff Rollin:
 On 13/03/07, Andrew Pantyukhin [EMAIL PROTECTED] wrote:
  Our beastie may be a bit devilish in some respects, but
  please don't call him just a devil. Some people stay
  away from FreeBSD for religious reasons. Feeding their
  misconception is the last thing we want to do.

 Do you really think it'll make any difference to these people whether
 we call it a devil or a banana, once they see it?
Well I don't think you'll be taken seriously when you call it a banana! :)

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


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread hxc

Roger Olofsson wrote:

Hello Pieter,

I hope this might be helpful for you. It's a forum for FreeBSD using 
nvidia. You can also find it from www.nvidia.com.


http://www.nvnews.net/vbulletin/forumdisplay.php?f=47

I found alot of helpful information there when setting up my OpenGL 
programming environment.


Good luck!




As you can see I have already posted a thread there :)

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


Don't buy AMD products (was Re: Xorg and ATI card query.)

2007-03-13 Thread Nikolas Britton

We need to start hounding on AMD to publish the developer
documentation for all radeon chipsets. I for one will not buy any AMD
or ATI components until they decide to fix the problem.

Here's the email address of AMD's president: [EMAIL PROTECTED]

Give him your two cents.



On 3/12/07, Daniel O'Connor [EMAIL PROTECTED] wrote:

On Tuesday 13 March 2007 05:10, Yann Golanski wrote:
 I have an ATI Radeon X1950 Sapphire and I am trying to get X/FreeBSD
 working with it.  My system is a clean install of FreBSD.   I've managed to
 get VESA to work but cannot get much more than that.

There is no open source support for this card (alas). It's VESA or fglrx.


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


Re: FreeBSD Devil Image

2007-03-13 Thread Andrew Pantyukhin

On 3/13/07, Jeff Rollin [EMAIL PROTECTED] wrote:

On 13/03/07, Andrew Pantyukhin [EMAIL PROTECTED] wrote:
 Our beastie may be a bit devilish in some respects, but
 please don't call him just a devil. Some people stay
 away from FreeBSD for religious reasons. Feeding their
 misconception is the last thing we want to do.

Do you really think it'll make any difference to these people whether
we call it a devil or a banana, once they see it?


No, but from now on google will return an extra hit to
freebsd devil queries...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Devil Image

2007-03-13 Thread Old Ranger
On Tuesday 13 March 2007 13:34, Jeff Rollin wrote:
 On 13/03/07, Andrew Pantyukhin [EMAIL PROTECTED] wrote:
  Our beastie may be a bit devilish in some respects, but
  please don't call him just a devil. Some people stay
  away from FreeBSD for religious reasons. Feeding their
  misconception is the last thing we want to do.

 Do you really think it'll make any difference to these people whether
 we call it a devil or a banana, once they see it?
Believe it or not, I actually had an irate woman complain to me about having a 
devil image on our church website.  sheesh

Rev. Z. Wade Hampton
Twin Bridges, MT

-- 
Old Ranger
www.ranger-infotech.com
www.oldpathsbaptistchurch.org
www.andynyerealestate.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Devil Image

2007-03-13 Thread Kevin Kinsey

Pieter de Goeje wrote:

Op dinsdag 13 maart 2007 20:34, schreef Jeff Rollin:

On 13/03/07, Andrew Pantyukhin [EMAIL PROTECTED] wrote:

Our beastie may be a bit devilish in some respects, but
please don't call him just a devil. Some people stay
away from FreeBSD for religious reasons. Feeding their
misconception is the last thing we want to do.



Do you really think it'll make any difference to these people whether
we call it a devil or a banana, once they see it?



Well I don't think you'll be taken seriously when you call it a banana! :)



Who owns /COPYRIGHT on the FreeBSD Banana Logo, anyway?  I'd like to 
use it on some stickers 


Kevin Bah da bing bah da BAHT Kinsey
--
You should avoid hedging, at least that's what I think.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread Tore Lund
[EMAIL PROTECTED] wrote:
 
 pciconf -l | grep nvidia
 [EMAIL PROTECTED]:0:0:   class=0x03 card=0x21881682 chip=0x00f510de 
 rev=0xa2 
 
 I have a Geforce XFX 7800 GS AGP why does it show up as pci?

Mine also shows up as PCI.  As long as it works, I don't mind:

%pciconf -l | grep nvidia
[EMAIL PROTECTED]:0:0:   class=0x03 card=0x000210b0 chip=0x017110de
rev=0xa3 hdr=0x00

I'd be curious to know whether Pieter's last suggestion helps.
-- 
Tore

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


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread hxc

Pieter de Goeje wrote:


Ok, the only other reason I can think of right now is that your motherboard's 
agp chipset isn't supported by the nvidia driver. In that case you'll need to 
load the FreeBSD agp driver and recompile the nvidia driver with support for 
freebsd's agp driver.


# cd /usr/ports/x11/nvidia-driver
# make config
check FREEBSD_AGP
# make clean
# make deinstall reinstall clean

Also, you need to go back to the GENERIC kernel w/ agp included, or load agp 
by specifying agp_load=yes in /boot/loader.conf.


Hope this helps,

Pieter de Goeje

  



I recompiled the kernel with AGP support enabled. The FreeBSD agp driver 
yields the same results. Meaning the same error message* and the same 
fps :-( . Maybe it is an idea to upgrade the kernel? I searched for a 
good howto but couldn't find anything useful. Who knows a link with more 
information about this?


*login: NVRM: AGP cannot be enabled on this combination of the AMD CPU 
and OS kernel

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


Re: Don't buy AMD products (was Re: Xorg and ATI card query.)

2007-03-13 Thread Jeremy Chadwick
On Tue, Mar 13, 2007 at 02:58:34PM -0500, Nikolas Britton wrote:
 We need to start hounding on AMD to publish the developer
 documentation for all radeon chipsets. I for one will not buy any AMD
 or ATI components until they decide to fix the problem.
 
 Here's the email address of AMD's president: [EMAIL PROTECTED]
 
 Give him your two cents.

Boycotting their hardware due to lack-of public developer docs is
extreme but justified.  Everyone has the right to do that if they
desire.

But in my opinion, mailing the president of AMD is really not the way to
go about this.  That methodology invites angry people sending him
flames, which does nothing but destroy the image of a mature, reliable
open-source community.

Besides, chances are it's not Meyer who's making these decisions (re:
proprietary hardware / NDA-only documentation), but a few select
individuals at ATI who are fuelled off of paranoia (the most common
defence being fear nVidia/other competitors will steal their
technology).  Really sounds like the decision of a legal dept. and not
a CEO.

-- 
| Jeremy Chadwick jdc at parodius.com |
| Parodius Networkinghttp://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: Don't buy AMD products (was Re: Xorg and ATI card query.)

2007-03-13 Thread Gerard
On Tuesday March 13, 2007 at 03:58:34 (PM) Nikolas Britton wrote:

 We need to start hounding on AMD to publish the developer
 documentation for all radeon chipsets. I for one will not buy any AMD
 or ATI components until they decide to fix the problem.

Do you in your wildest dreams actually believe that will make an iota of
difference? The vast majority of those components are purchased by PC
manufacturers; not the everyday PC user. If you really want to try an
effect a change in policy, and personally I believe Don Quixote had a
better chance at success, you should try enlisting the support of PC
manufacturers.

-- 
Gerard

Clark's Law: Sufficiently advanced cluelessness is indistinguishable
from malice.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread Aniruddha

Roger Olofsson wrote:

Hello Pieter,

I hope this might be helpful for you. It's a forum for FreeBSD using 
nvidia. You can also find it from www.nvidia.com.


http://www.nvnews.net/vbulletin/forumdisplay.php?f=47

I found alot of helpful information there when setting up my OpenGL 
programming environment.


Good luck!




As you can see I have already posted a thread there :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Slim Server

2007-03-13 Thread Jason Gretz
Hey guys, I tried installing Slim Server from /usr/ports/audio/slimserver and I 
am getting this error:

 

Makefile out-of-date with respect to /usr/local/lib/perl5/5.8.8/mach/Config.pm 
/ 
---usr/local/lib/perl5/5.8.8/mach/CORE/config.h

Cleaning current config before rebuilding Makefile...

make -f Makefile.old clean  /dev/null 21

/usr/local/bin/perl5.8.8 Makefile.PL INSTALLDIRS=site CC=cc CCFLAGS=-O2 
-fn 
o-strict-aliasing -pipe  PREFIX=/usr/local INSTALLPRIVLIB=/usr/local/lib 
I 
NSTALLARCHLIB=/usr/local/lib

Checking if your kit is complete...

Looks good

Writing Makefile for File::Which

== Your Makefile has been rebuilt. ==

== Please rerun the make command.  ==

false

*** Error code 1

 

Stop in /usr/ports/sysutils/p5-File-Which/work/File-Which-0.05.

*** Error code 1

 

Stop in /usr/ports/sysutils/p5-File-Which.

*** Error code 1

 

Stop in /usr/ports/audio/slimserver.

 

Any Ideas? I have run “portupgrade –a” as well as updated my ports tree with 
cvsup.

 

FreeBSD 6.1

 

Thanks!

 

Jason


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.10/720 - Release Date: 3/12/2007 7:19 
PM
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread Chris Slothouber

What version of FreeBSD are you currently running.

Check out the FreeBSD Handbook for step-by-step instructions for 
synchronizing your source and building an updated kernel and userland.


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

[EMAIL PROTECTED] wrote:

Pieter de Goeje wrote:
(snip)
fps :-( . Maybe it is an idea to upgrade the kernel? I searched for a 
good howto but couldn't find anything useful. Who knows a link with more 
information about this?

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


Re: Don't buy AMD products (was Re: Xorg and ATI card query.)

2007-03-13 Thread Jack Vogel

On 3/13/07, Jeremy Chadwick [EMAIL PROTECTED] wrote:

On Tue, Mar 13, 2007 at 02:58:34PM -0500, Nikolas Britton wrote:
 We need to start hounding on AMD to publish the developer
 documentation for all radeon chipsets. I for one will not buy any AMD
 or ATI components until they decide to fix the problem.

 Here's the email address of AMD's president: [EMAIL PROTECTED]

 Give him your two cents.

Boycotting their hardware due to lack-of public developer docs is
extreme but justified.  Everyone has the right to do that if they
desire.

But in my opinion, mailing the president of AMD is really not the way to
go about this.  That methodology invites angry people sending him
flames, which does nothing but destroy the image of a mature, reliable
open-source community.

Besides, chances are it's not Meyer who's making these decisions (re:
proprietary hardware / NDA-only documentation), but a few select
individuals at ATI who are fuelled off of paranoia (the most common
defence being fear nVidia/other competitors will steal their
technology).  Really sounds like the decision of a legal dept. and not
a CEO.


Right, flaming never helps, but then I don't think the intention was to
have anyone flame, 'raising awareness' is a better goal :)

AMD has people that work on Linux (I interviewed with them some
years back), maybe using that route to get to the decision makers?

Cheers,

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


Re: Recover Make ARG's from a ports Install

2007-03-13 Thread RW
On Mon, 12 Mar 2007 22:39:20 -0400
Randy Pratt [EMAIL PROTECTED] wrote:


 There is already a mechanism in place for this:
 
   /usr/local/etc/pkgtools.conf


It better to put the configuaration in make.conf so it's seen by the
ports system itself.  ports-mgmt/portconf can simplify this

The problem with pkgtools.conf is that it doesn't always work.
Missing dependencies get built by the ports system itself, outside of
portupgrade's control.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread hxc

Chris Slothouber wrote:

What version of FreeBSD are you currently running.

Check out the FreeBSD Handbook for step-by-step instructions for 
synchronizing your source and building an updated kernel and userland.


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



[EMAIL PROTECTED] wrote:

Pieter de Goeje wrote:
(snip)
fps :-( . Maybe it is an idea to upgrade the kernel? I searched for a 
good howto but couldn't find anything useful. Who knows a link with 
more information about this?

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


Is the only possible to upgrade the kernel by upgrading FreeBSD as a 
whole? For now if I understand the total upgrading idea. I would like to 
keep FreeBSD stable. in order to upgrade the kernel I need to:


1 Use the cvsup program (gotta figure how yet)
2 Rebuilding world:
read /usr/src/UPDATING

# make buildworld
# make buildkernel
# make installkernel
# reboot

single user mode 
# mergemaster -p

# make installworld
# mergemaster
# reboot


# cd /usr/src
# make buildkernel KERNCONF=/MYKERNEL/
# make installkernel KERNCONF=/MYKERNEL


/Darn this looks pretty complicated  :-P  


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


Re: Installing a second hard disk

2007-03-13 Thread Derek Ragona
Check your BIOS and possibly update the BIOS.  Also low-level format the 
disk to ensure there is nothing on the disk causing any issues.


-Derek


At 12:05 PM 3/13/2007, Aitor San Juan wrote:

Hi List,

I am trying to install a secondary hard disk in a Intel-based PC
with FreeBSD 5.4

This secondary disk's capacity is 250 Gb. When I enter sysintall
to try to format it and create a slice, FreeBSD says that the
geometry of disk is not correct. I, then, type in the values detected
by the BIOS as suggested, but FreeBSD still complains that those
are not valid. FreeBSD sees the new disk as a disk of approx. 131 GB.

So my question is: where is the problem? Is it that FreeBSD is not
able to recognise such a big disk capacity?

Any hint, suggestion, or web link would be highly appreciated.

Thanks in advance
Aitor.


 LEGEZKO OHARRA / AVISO LEGAL / LEGAL ADVICE *
Mezu honek isilpeko informazioa gorde dezake, edo jabea duena, edota legez 
babestuta dagoena. Zuri zuzendua ez bada, bidali duenari esan eta ezabatu, 
inori berbidali edo gorde gabe, legeak debekatzen duelako mezuak 
erabiltzea baimenik gabe.

--
Este mensaje puede contener información confidencial, en propiedad o 
legalmente protegida. Si usted no es el destinatario, le rogamos lo 
comunique al remitente y proceda a borrarlo, sin reenviarlo ni 
conservarlo, ya que su uso no autorizado está prohibido legalmente.

--
This message may contain confidential, proprietary or legally privileged 
information. If you are not the intended recipient of this message, please 
notify it to the sender and delete without resending or backing it, as it 
is legally prohibited.

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

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


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


  1   2   >