Re: My wish list for 6.1

2005-12-17 Thread Kris Kennaway
On Fri, Dec 16, 2005 at 10:34:09PM -0800, Avleen Vig wrote:
 On Fri, Dec 16, 2005 at 10:40:22AM -0500, Martin Cracauer wrote:
   2.  SMP kernels for install.  Right now we only install a UP kernel, for
   performance reasons.  We should be able to package both a UP and SMP
   kernel into the release bits, and have sysinstall install both.  It 
   should also select the correct one for the target system and make that
   the default on boot.
  
  If people are concerned about performance, I benchmarked a 6-beta
  kernel SMP versus UP on a socket 939 Opteron.
 
 If those results are accurate, there's no real reason not to just use an
 SMP kernel on default install?

Just because it didn't manifest on this workload, doesn't mean it
doesn't on others.  I think this is the point :)

Kris


pgpqGMYb21vAl.pgp
Description: PGP signature


Puzzled about turnstile's lock

2005-12-17 Thread prime
Hi hackers,
I want to understand the current implementation of
turnstile,and meet some questions about its locks' logicality.

turnstile's ``ts_blocked field is protected by both
``td_contested lock and its turnstile_chain lock, but
I think its turnstile_chain lock is enough,because we
allways get the turnstile_chain lock before our manipulation
on ``ts_blocked.
If td_contested lock were needed ,reading ts_blocked is
not protected by td_contested lock,in the kernel source, why?

Thanks.
--
Three passions, simple but overwhelmingly strong, have governed my life:
the longing for love, the search for knowledge, and unbearable pity for
the suffering of mankind.
 -Bertrand Russell
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: My wish list for 6.1

2005-12-17 Thread Allen

On 12/17/2005 01:34:09 AM, Avleen Vig wrote:

On Fri, Dec 16, 2005 at 10:40:22AM -0500, Martin Cracauer wrote:
  2.  SMP kernels for install.  Right now we only install a UP
kernel, for
  performance reasons.  We should be able to package both a UP and
SMP
  kernel into the release bits, and have sysinstall install both.
It
  should also select the correct one for the target system and make
that
  the default on boot.

 If people are concerned about performance, I benchmarked a 6-beta
 kernel SMP versus UP on a socket 939 Opteron.


Must be great having boxes like that ;) You know what I'd like to see  
in the next Free BSD? A way to update security fixes without having to  
play with any source, or having to touch make world. I know the speed  
and so on makes some people like this, but I personally try getting  
people who use Windows to switch to another OS or at least show them  
something else exists, and it's hard to make someone want to use Free  
BSD when installing patches can be such a timely manner.


I know about the port tool, but what I'd love to have is a tool you  
could run from the CLI or the GUI that would check for updates, and  
then ask which ones to install, similar to Swaret on Slackware. This  
way people can do the usual updates if they want, and people like me  
can show people BSD and how great it is.





If those results are accurate, there's no real reason not to just use
an
SMP kernel on default install?
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers- 
[EMAIL PROTECTED]


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


Re: My wish list for 6.1

2005-12-17 Thread Christian Brueffer
On Sat, Dec 17, 2005 at 08:55:00AM +, Allen wrote:
 On 12/17/2005 01:34:09 AM, Avleen Vig wrote:
 On Fri, Dec 16, 2005 at 10:40:22AM -0500, Martin Cracauer wrote:
   2.  SMP kernels for install.  Right now we only install a UP
 kernel, for
   performance reasons.  We should be able to package both a UP and
 SMP
   kernel into the release bits, and have sysinstall install both.
 It
   should also select the correct one for the target system and make
 that
   the default on boot.
 
  If people are concerned about performance, I benchmarked a 6-beta
  kernel SMP versus UP on a socket 939 Opteron.
 
 Must be great having boxes like that ;) You know what I'd like to see  
 in the next Free BSD? A way to update security fixes without having to  
 play with any source, or having to touch make world. I know the speed  
 and so on makes some people like this, but I personally try getting  
 people who use Windows to switch to another OS or at least show them  
 something else exists, and it's hard to make someone want to use Free  
 BSD when installing patches can be such a timely manner.
 
 I know about the port tool, but what I'd love to have is a tool you  
 could run from the CLI or the GUI that would check for updates, and  
 then ask which ones to install, similar to Swaret on Slackware. This  
 way people can do the usual updates if they want, and people like me  
 can show people BSD and how great it is.
 

You probably haven't seen ports/security/freebsd-update yet.

See http://www.daemonology.net/freebsd-update/ for more information.

- Christian

-- 
Christian Brueffer  [EMAIL PROTECTED]   [EMAIL PROTECTED]
GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc
GPG Fingerprint: A5C8 2099 19FF AACA F41B  B29B 6C76 178C A0ED 982D


pgptoAmSGhjWd.pgp
Description: PGP signature


Re: My wish list for 6.1

2005-12-17 Thread Allen
On Saturday 17 December 2005 03:55, Christian Brueffer wrote:
 On Sat, Dec 17, 2005 at 08:55:00AM +, Allen wrote:
  On 12/17/2005 01:34:09 AM, Avleen Vig wrote:
  On Fri, Dec 16, 2005 at 10:40:22AM -0500, Martin Cracauer wrote:
2.  SMP kernels for install.  Right now we only install a UP
  
  kernel, for
  
performance reasons.  We should be able to package both a UP and
  
  SMP
  
kernel into the release bits, and have sysinstall install both.
  
  It
  
should also select the correct one for the target system and make
  
  that
  
the default on boot.
  
   If people are concerned about performance, I benchmarked a 6-beta
   kernel SMP versus UP on a socket 939 Opteron.
 
  Must be great having boxes like that ;) You know what I'd like to see
  in the next Free BSD? A way to update security fixes without having to
  play with any source, or having to touch make world. I know the speed
  and so on makes some people like this, but I personally try getting
  people who use Windows to switch to another OS or at least show them
  something else exists, and it's hard to make someone want to use Free
  BSD when installing patches can be such a timely manner.
 
  I know about the port tool, but what I'd love to have is a tool you
  could run from the CLI or the GUI that would check for updates, and
  then ask which ones to install, similar to Swaret on Slackware. This
  way people can do the usual updates if they want, and people like me
  can show people BSD and how great it is.

 You probably haven't seen ports/security/freebsd-update yet.

Actually, I've seen that and it does come close... But it didn't seem to like 
updating the Kernel or anything similar to the base system in the time I 
spent with it.

Free BSD has probably one of the best methods of installing new packages with 
pkg_add, and pkg_add -r for grabbing them off the internet but for updates it 
could use some work.

It won't stop me from buying Free BSD things, but it does make showing new 
computer users the OS a but harder. 
OT: If anyone wants a person to couge, the Free BSD boxers are VERY high 
quality and, it must be said, a pair of boxers any BOFH would wear. They look 
great with my Free BSD TeeShirt and Laptop covered in BSD stickers. :)


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


accessing NetBSD filesystem

2005-12-17 Thread Hanspeter Roth
Hello,

is it possible to access Fast Filesystems from a NetBSD installation
on the same disk?

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


Re: accessing NetBSD filesystem

2005-12-17 Thread joerg
On Sat, Dec 17, 2005 at 01:20:06PM +0100, Hanspeter Roth wrote:
 
 is it possible to access Fast Filesystems from a NetBSD installation
 on the same disk?

As long as they have the same Endianess, yes. You might get some
warnings about the disklabel, otherwise it should be fine.

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



Re: unable to build geom_gate

2005-12-17 Thread Pawel Jakub Dawidek
On Fri, Dec 16, 2005 at 05:27:11PM +0700, Vitaliy Ovsyannikov wrote:
+ Hello, freebsd-hackers.
+ 
+ Please, look at the output and help if you can:
+ 
+ # tar -yxf geom_gate.tbz
+ # cd geom_gate
+ # make
[...]

Why don't you just use ggate from the base system?

-- 
Pawel Jakub Dawidek   http://www.wheel.pl
[EMAIL PROTECTED]   http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!


pgp0Bf63j8rE3.pgp
Description: PGP signature


Re: accessing NetBSD filesystem

2005-12-17 Thread Hanspeter Roth
  On Dec 17 at 14:42, [EMAIL PROTECTED] spoke:

 On Sat, Dec 17, 2005 at 01:20:06PM +0100, Hanspeter Roth wrote:
  
  is it possible to access Fast Filesystems from a NetBSD installation
  on the same disk?
 
 As long as they have the same Endianess, yes. You might get some
 warnings about the disklabel, otherwise it should be fine.

How can one activate the Fast Filesystem support? Is there a kernel
module to load? Shouldn't the respective entries /dev/ad0s4* appear
provided the NetBSD installation is in /dev/ad0s4?

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


Re: [fbsd] Re[2]: jailctl with multiple ip per jail

2005-12-17 Thread Jeremie Le Hen
Hi, Oxy, Daniel,

  yes, i know that, but what i want is to use an existing jail
  with 2ip
  not to create additional jails..
 
 although i dont know if it really works, but here is what i was able
 to google (check those mijail patches) :) place your questions on pjd@
 
 http://garage.freebsd.pl/

pjd's mijail patce are a little bit old as they are against
5.0-CURRENT.  ISTR it is usable but there were still minor problems
with it which prevented the patch from being commited, but I can't
pull out the details from my memory.  However checking the archives
would answer you for sure.  

Depending on what you really want to do, you may however workaround
this limitation using some NAT rules.

Best regards,
-- 
Jeremie Le Hen
 jeremie at le-hen dot org  ttz at chchile dot org 
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: accessing NetBSD filesystem

2005-12-17 Thread Mathieu Arnold
+-Le 17/12/2005 18:10 +0100, Hanspeter Roth a dit :
|   On Dec 17 at 14:42, [EMAIL PROTECTED] spoke:
| 
| On Sat, Dec 17, 2005 at 01:20:06PM +0100, Hanspeter Roth wrote:
|  
|  is it possible to access Fast Filesystems from a NetBSD installation
|  on the same disk?
| 
| As long as they have the same Endianess, yes. You might get some
| warnings about the disklabel, otherwise it should be fine.
| 
| How can one activate the Fast Filesystem support? Is there a kernel
| module to load? Shouldn't the respective entries /dev/ad0s4* appear
| provided the NetBSD installation is in /dev/ad0s4?

FFS == UFS.

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


Re: Puzzled about turnstile's lock

2005-12-17 Thread rookie
 Hi hackers,
 I want to understand the current implementation of
 turnstile,and meet some questions about its locks' logicality.


[snip]

It's used to lock td_contested member of struct thread structure and all
issues linked to it (as you can see in the source tree). It seems used in a
clean way.

Attilio

turnstile's ``ts_blocked field is protected by both
 ``td_contested lock and its turnstile_chain lock, but
 I think its turnstile_chain lock is enough,because we
 allways get the turnstile_chain lock before our manipulation
 on ``ts_blocked.
 If td_contested lock were needed ,reading ts_blocked is
 not protected by td_contested lock,in the kernel source, why?

 Thanks.
 --
 Three passions, simple but overwhelmingly strong, have governed my life:
 the longing for love, the search for knowledge, and unbearable pity for
 the suffering of mankind.
 -Bertrand Russell
 ___
 freebsd-hackers@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
 To unsubscribe, send any mail to [EMAIL PROTECTED]




--
Peace can only be achieved by understanding - A. Einstein
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: accessing NetBSD filesystem

2005-12-17 Thread Hanspeter Roth
  On Dec 17 at 20:07, Mathieu Arnold spoke:

 +-Le 17/12/2005 18:10 +0100, Hanspeter Roth a dit :
 |   On Dec 17 at 14:42, [EMAIL PROTECTED] spoke:
 | 
 | On Sat, Dec 17, 2005 at 01:20:06PM +0100, Hanspeter Roth wrote:
 |  
 |  is it possible to access Fast Filesystems from a NetBSD installation
 |  on the same disk?
 | 
 | As long as they have the same Endianess, yes. You might get some
 | warnings about the disklabel, otherwise it should be fine.
 | 
 | How can one activate the Fast Filesystem support? Is there a kernel
 | module to load? Shouldn't the respective entries /dev/ad0s4* appear
 | provided the NetBSD installation is in /dev/ad0s4?
 
 FFS == UFS.

Fdisk shows sysid 165 (0xa5) for partition 3. This is where FreeBSD
is installed. And Fdisk shows sysid 169 (0xa9) for partition 4. This
is where NetBSD is installed.
In /dev there are ad0s3 and ad0s3[a-g] but there is only a ad0s4.
So how can filesystems of my NetBSD in ad0s4 be accessed?

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


Re: accessing NetBSD filesystem

2005-12-17 Thread Gilbert Fernandes
 FFS == UFS.

The FreeBSD UFS is the FFS accessed through the VFS layer, but basically
the format is the same. If you want to have access, from FreeBSD, to
NetBSD partitions, make sure the NetBSD partitions have been formated
using FFSv2 which is the port of UFS to NetBSD. There are some
differences though : no ACL support nor snapshots available there.

Please use NetBSD 2.x (I use 2.1 but I got a machine running current)
and format the partition to be shared using FFSv2 on NetBSD.

Should work fine.

FFSv2 (UFS2 in FreeBSD) is not the defautl type in NetBSD 2 for now. I
have not checked in current. So if you want to use newfs from NetBSD,
don't forget to ask for FFSv2 (-O 2).

FFS code in NetBSD's kernel contains the options required for UFS2
support.

There are superblock changes in FFSv2 (UFS2). So don't use old (as in
NetBSD 1.6.x) fsck on such volumes. It is possible to do an upgrade on
fsck_ffs before using FFSv2 and this works fine in 1.6.x

Please read the following doc :

http://sixshooter.v6.thrupoint.net/jeroen/faq.html

The NetBSD's current newfs man page
(http://netbsd.gw.com/cgi-bin/man-cgi?newfs++NetBSD-current) makes
mention of the ACL so perhaps they're supported in NetBSD-current :)

--
unzip ; strip ; touch ; grep ; finger ; mount ; fsck ; more ; yes ;
fsck ; umount ; sleep
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Puzzled about turnstile's lock

2005-12-17 Thread prime
On 12/18/05, rookie [EMAIL PROTECTED] wrote:


  Hi hackers,
  I want to understand the current implementation of
  turnstile,and meet some questions about its locks' logicality.


 [snip]

 It's used to lock td_contested member of struct thread structure and all
 issues linked to it (as you can see in the source tree). It seems used in a
 clean way.

 Attilio

 turnstile's ``ts_blocked field is protected by both
  ``td_contested lock and its turnstile_chain lock, but
  I think its turnstile_chain lock is enough,because we
  allways get the turnstile_chain lock before our manipulation
  on ``ts_blocked.
  If td_contested lock were needed ,reading ts_blocked is
  not protected by td_contested lock,in the kernel source, why?
 
  Thanks.
  --
  Three passions, simple but overwhelmingly strong, have governed my life:
  the longing for love, the search for knowledge, and unbearable pity for
  the suffering of mankind.
  -Bertrand Russell
  ___
  freebsd-hackers@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
  To unsubscribe, send any mail to 
  [EMAIL PROTECTED]
 



 --
 Peace can only be achieved by understanding - A. Einstein


Thanks,I think I get it now.As mentioned in arch-handbook

You can protect a datum with multiple locks.
Then for reading that data you simply need
to have a read lock of one of the locks.
However, to write to the data, you need to
have a write lock of all of the locks
=
We also can read ts_blocked if only td_contested
lock is held,but this way is not needed now.

--
Three passions, simple but overwhelmingly strong, have governed my life:
the longing for love, the search for knowledge, and unbearable pity for
the suffering of mankind.
 -Bertrand Russell
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]