Re: [osol-discuss] Solaris11 zone networking on VirtualBox

2011-11-15 Thread Sebastien Roy

On 11/15/11 12:43 AM, Mike Gerdts wrote:

On Mon, Nov 14, 2011 at 11:25 PM, Deniz Rendedeniz.re...@gmail.com  wrote:

It could be that this anet resource automatically picked the wrong
lower link.  From the global zone, what do dladm show-link and
ipadm show-addr say?


I get the following information:
root@solaris11:~# dladm show-link
LINKCLASS MTUSTATEOVER
net0phys  1500   up   --
zdev1/net0  vnic  1500   up   net0
root@solaris11:~# ipadm show-addr
ADDROBJ   TYPE STATEADDR
lo0/v4static   ok   127.0.0.1/8
net0/v4   static   ok   192.168.1.20/24
lo0/v6static   ok   ::1/128
net0/v6   addrconf ok   fe80::a00:27ff:fe22:cf2f/10
I don't know if it worths to mention but the version of Solaris 11 is the
text installI also don't have any trouble GZ networking:
root@solaris11:~# ping www.google.com
www.google.com is alive


I suspect that what is happening is that the zdev1/net0 vnic thinks it
is OK to allocate another MAC (Ethernet) address but virtualbox isn't
happy with it and thinks something in the VM is trying to spoof
packets  There may be a way within virtualbox to disable this
behavior, but I've not used virtualbox recently enough to remember.


Perhaps try different virtualbox networking modes (I assume bridge 
mode is being used)?  In any case, I'd submit a bug against virtualbox.


-Seb
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Solaris11 zone networking on VirtualBox

2011-11-15 Thread Sebastien Roy

On 11/15/11 02:46 PM, Mike Gerdts wrote:

On Tue, Nov 15, 2011 at 12:14 AM, Deniz Rendedeniz.re...@gmail.com  wrote:


  You will then need to transition your network configuration in the


zone from net0 to net1.
Do you mean, sysconfig configure here or some othe procedure. Right now it
looks like this:
LINKCLASS MTUSTATEOVER
net0phys  1500   up   --
net1phys  1500   unknown  --
zdev1/net1  phys  1500   unknown  --


Whatever you do to reconfigure it, you need to do it in the zone.  You
can use sysconfig configure, or use ipadm.  I think the steps are
something along the lines of:

root@zone# ipadm delete-ip net0/something
root@zone# ipadm create-ip net1/v4
root@zone# ipadm create-addr -T static -a local=addr/mask net1/v4

My fingers are still learning the new magic, so there could be
something horribly wrong in my advice.  If Seb gives conflicting
advice, he's probably right.


Since you brought it up... ;-)  The objects that ipadm manipulates are 
IP interfaces and addresses.  In the above example, the delete-ip and 
create-ip subcommands are manipulating IP interfaces, and the 
create-addr subcommand is manipulating an IP address over one of those 
interfaces.  net0 and net1 are IP interface names.  net1/v4 is the 
name of an IP address over the net1 IP interface.  So the sequence is:


# ipadm delete-ip net0
# ipadm create-ip net1
# ipadm create-addr -T static -a addr/prefix-len net1/v4

-Seb
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] IPfilter VNIC question

2011-03-28 Thread Sebastien Roy

Hello Thomas,

On 03/27/11 02:39 PM, Thomas Nau wrote:
...

The machine acting as firewall, and only that one, uses 4 VNIcs created
on top of the Intel NICs using dladm. The IP addresses assigned to
these VNICs are the ones that act as firewall. What I'm saying is that
those are the IP addresses configured in the coneccting routers routing
table as gateway.

...

Now the question: ipf allows you to specify an interface + direction in
rules. So far I have found no documents that describe how ipf
distinguishes between the physical NIC and the VNIc on top. Seems to be
easy for incoming packets that are send to one of the IP addresses but
how about routed packets that leave the box? Will they leave through
e1000g0 or vnic0?


IP filter operates at the IP layer, and the interfaces referenced in IP 
filter configuration are IP interfaces.  Since your IP configuration is 
over the VNICs, your IP filter rules should refer to the IP interfaces 
configured over those VNICs.


-Seb
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] bridging question

2010-08-25 Thread Sebastien Roy

On 08/25/10 10:48 AM, LB wrote:

use the name you assigned exactly as you assigned it.

ie

pmi_if

not pmi_if0


No, but this is being addressed on networking-disc...@opensolaris.org.

-Seb
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] root roles security holes

2010-08-02 Thread Sebastien Roy

On 08/ 2/10 03:02 PM, Jason wrote:

 From an audit perspective, it's still going to show the activity as
uid 0 vs an actual user.


The idea is that one can track which user assumed the root role, and 
thus can associate the activity with a user.


-Seb
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Bridging firewall with snv_125 and ipfilter

2010-01-16 Thread Sebastien Roy

Hello Tim,

On 01/15/10 05:09 PM, Tim Mullen wrote:

Has anyone gotten a transparent firewall working?  I'm using snv_125 on an IBM 
x346 (snv_130
goes into endless boot loops on this hardware).  I can create a working bridge 
with dladm, but
can't stop packets, even with block in quick all.  That stops packets on my 
management
interface bge0, but not on the bridge. :(

...

Am I missing something here?


The ipfilter functionality works at the IP layer, and the layer-2 
bridging function does not send packets up to IP.  Bridged packets are 
received and transmitted below that.  What's missing is filtering at 
layer-2, which is a project that was proposed some time ago 
(http://hub.opensolaris.org/bin/view/Project+l2filter/) and has since 
stagnated for various reasons.  The completion of that project is what 
is needed.


-Seb
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] tcpdump -A equivalent in snoop?

2009-12-14 Thread Sebastien Roy
On Mon, 2009-12-14 at 12:46 -0800, Alexander wrote:
  Chavdar Ivanov wrote:
   $ pfexec pkg set-publisher -O
   http://pkg.opensolaris.org/contrib/ contrib
   $ pfexec pkg install tcpdump
 
  will show up in the dev repo in build 129.
 What did I miss? Updated from 126 to 129 build, installed SUNWtcpdump. 
 Now tcpdump complains that bpf is missing:
 $ pfexec tcpdump  -i e1000g0
 tcpdump: (cannot open device) /dev/bpf: No such file or directory
 
 It is really missing, but why?

Because libpcap now uses BPF instead of libdlpi, and the libpcap package
is missing a dependency on the BPF package.  This is the following bug:

http://defect.opensolaris.org/bz/show_bug.cgi?id=13279

The workaround is to install SUNWpacket.

-Seb


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] ipv6 -ipv4

2009-10-27 Thread Sebastien Roy
On Tue, 2009-10-27 at 08:56 +0100, Ulrich Hiller wrote:
 Dear all,
 
 how can I disable the ipv6 fuctionality in opensolaris 2009.6 and make
 the box listen only to ipv4?
 The instructions in
 http://unixwear.blogspot.com/2009/06/disable-ipv6-in-opensolaris-200906.html
 
 did not help.

You should provide your feedback to the NWAM team
(nwam-disc...@opensolaris.org).  Maybe such a configuration is supported
with the upcoming NWAM Phase 1 project.  If not, then perhaps an RFE
needs to be filed.

In the meantime, disabling nwam (by following the steps described in the
nwamd(1M) man page) and configuring your network interfaces the old
fashioned way will work just fine.

 The background of my question is that I have a newly installed
 opensolaris box in an ipv4 network. The opensolaris box gest confudes
 with ipv4 and ipv6 address fields.

What do you mean by confused?  Is there an actual problem that needs
to be investigated, and perhaps a bug filed?  Can you please provide
specifics?

-Seb


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] snv_125: virtualbox and nwam

2009-10-27 Thread Sebastien Roy
On Tue, 2009-10-27 at 08:53 -0700, Claudia Hildebrandt wrote:
 Hi,
 
 recently I upgraded to build 125 ( all works well ) and few days later I 
 installed virtualbox 3.0.8 on Opensolaris build 125 and since then I have 
 this issue:
 starting my laptop my network adapter bcme0 ( broadcom BCM5784M ) is 
 deactivated and vboxnet0 is activated, only. When I try to activate bcme0 via 
 nwam ( always use bcme0 ) it doesn't work either if I plumbed bcme0 and 
 activate bcme0 manually, nor when I activate this option and restart.
 
 Configuring bcme0 manually ( ifconfig bcme0 plumb up and ifconfig bcme0 
 auto-dhcp ) and disabling nwam the network adapter sometimes work and 
 sometimes not. 
 Disabling nawam and rebooting the laptop leads to the fault, that the xorg 
 server will not start unless I enable nwam. But then vboxnet0 is activated 
 and bcme0 deactivated.
 
 This is a bug. 
 Do you have a workaround?

The NWAM team likely has a workaround for this.  Send them mail at
nwam-disc...@opensolaris.org.

-Seb


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] OpenSolaris 2009.06 snv_111b missing XCU6 Utilities

2009-07-10 Thread Sebastien Roy

On Fri, 2009-07-10 at 16:29 -0400, Dennis Clarke wrote:
 However, there is every intention that OpenSolaris(tm) will be compliant
 with all such reasonable specs eventually. Right? Is there a project or
 group that knows such things?

I'm not in such a group, but I see that the XCU6 utilities are in the
repo.  Does that answer the question?

strat:~$ pkg info -r SUNWxcu6
  Name: SUNWxcu6
   Summary: XCU6 Utilities
  Category: Applications/System Utilities
 State: Not installed
 Publisher: opensolaris.org
   Version: 0.5.11
 Build Release: 5.11
Branch: 0.118
Packaging Date: July  7, 2009 10:58:34 PM 
  Size: 487.43 kB
  FMRI: pkg:/sunwx...@0.5.11,5.11-0.118:20090707T225834Z

strat:~$ pkg contents -r SUNWxcu6
PATH
usr
usr/xpg6
usr/xpg6/bin
usr/xpg6/bin/bc
usr/xpg6/bin/crontab
usr/xpg6/bin/dc
usr/xpg6/bin/ed
usr/xpg6/bin/edit
usr/xpg6/bin/ex
usr/xpg6/bin/expr
usr/xpg6/bin/getconf
usr/xpg6/bin/ls
usr/xpg6/bin/stty
usr/xpg6/bin/tr
usr/xpg6/bin/vedit
usr/xpg6/bin/vi
usr/xpg6/bin/view
usr/xpg6/bin/xargs

-Seb


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Regarding GCC

2009-06-10 Thread Sebastien Roy

On Wed, 2009-06-10 at 11:24 -0700, nitesh wrote:
 Is any c/c++ compiler is available with this release of open solaris. If
 yes at which location it is located in installation. Or how can i configure
 it to point to the gcc installation, if it is with the OS.
 
 Or from where i can get the gcc compiler installer and how can i install it.

It is in the repository.  You can install it by installing the GNU
Tools Development cluster named gcc-dev.  E.g.:

pfexec pkg install gcc-dev

-Seb


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] About open solaris 2009.06 release

2009-05-05 Thread Sebastien Roy
On Tue, 2009-05-05 at 12:22 -0700, homerun wrote:
 Could it be anyway possible to get driver CR's/Fixes included from builds
 http://dlc.sun.com/osol/on/downloads/b112/on-changelog-b112.html
 http://dlc.sun.com/osol/on/downloads/b113/on-changelog-b113.html

You can update to those builds when they become available in the dev
repository, no?

-Seb


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Packaging was Re: Possible IBM aquisition of Sun

2009-04-06 Thread Sebastien Roy

On Mon, 2009-04-06 at 12:23 -0500, Shawn Walker wrote:
 Moinak Ghosh wrote:
  On Mon, Apr 6, 2009 at 10:39 PM, Shawn Walker swal...@opensolaris.org 
  wrote:
  Alexander Vlasov wrote:
  Lurie wrote:
  That's why lots of packages deliver their own SMF service which runs only
  once.
  ...which is better because those SMF scripts:
 
  * can run at boot, which fits correctly with a zfs-based rollback setup
 
  
 Which means those packages will require system reboot not unlike
 Windoze!
 
 First, how else can you ensure the scripts correctly run without having 
 the new environment loaded? (i.e. account for newly added users, 
 hardware, etc.)

I was under the impression that an IPS package manifest contained the
set of services to be automatically imported and started as part of
package installation, or temporarily disabled during package upgrade,
etc.  Where does one get the idea that a reboot is required for a
package installation or upgrade?

I don't get that idea by reading documentation:

http://opensolaris.org/sc/src/pkg/gate/src/man/pkg.5.txt
http://dlc.sun.com/osol/docs/content/2008.11/IMGPACKAGESYS/ipsdev.html#createipspkg

-Seb


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Packaging was Re: Possible IBM aquisition of Sun

2009-04-06 Thread Sebastien Roy

On Mon, 2009-04-06 at 13:13 -0500, Shawn Walker wrote:
 Sebastien Roy wrote:
  I was under the impression that an IPS package manifest contained the
  set of services to be automatically imported and started as part of
  package installation, or temporarily disabled during package upgrade,
  etc.  Where does one get the idea that a reboot is required for a
  package installation or upgrade?
  
  I don't get that idea by reading documentation:
  
  http://opensolaris.org/sc/src/pkg/gate/src/man/pkg.5.txt
  http://dlc.sun.com/osol/docs/content/2008.11/IMGPACKAGESYS/ipsdev.html#createipspkg
 
 It depends on whether you're updating the live system or not

The word reboot implies that the system being operated on is running.

 , and what you're trying to do.
 

Right, but it depends does not imply, must always reboot.  The
statement by Moinak that sparked this leg of the discussion was:

Which means those packages will require system reboot not unlike
Windoze!

This isn't unequivocally true.

-Seb


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] [indiana-discuss] why gnu chmod in os2008.11?

2009-01-16 Thread Sebastien Roy
On Fri, 2009-01-16 at 10:28 -0800, Glenn Lagasse wrote:
 * Brian Utterback (brian.utterb...@sun.com) wrote:
  It is simple. Do we want the default environment to be a Solaris one or a 
  GNU one?  If you want both, you have to provide a knob to switch them back 
  and forth.
 
 And at some point, we may have just that (perhaps even in the
 Installer).  I'm not saying there isn't room for some improvement on
 this issue.  What I am saying is that we need to take in to account new
 adopters and make it as simple as possible for them to 'get their legs
 under them'.  In some cases, that means catering to a less
 experienced/technically savvy user which has traditionally not been a
 significant part of the Solaris userbase.

And in the interest of not turning the current installer into a
design-by-committee twelve-headed hairy monster like the old one, please
stick the knob somewhere out of the way where we're not forced to have
to toggle it one way or the other. :-)

I would not want to be forced to serially go through a gauntlet of
mostly unnecessary questions like the old installer used to do regarding
naming, IPv6, and kerberos (for example).

Thanks,
-Seb


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] [indiana-discuss] why gnu chmod in os2008.11?

2009-01-16 Thread Sebastien Roy

On Fri, 2009-01-16 at 14:16 -0800, Alan Coopersmith wrote:
 Nicolas Williams wrote:
  On Fri, Jan 16, 2009 at 03:26:20PM -0600, Shawn Walker wrote:
  tcsh is not a core Solaris package and media is not of an infinite size. 
Software has to be selected to fit on the core media based on certain 
  goals.  Everyone has their own favourite software that probably isn't 
  installed by default.  I don't understand why pfexec pkg install 
  SUNWtcsh isn't sufficient.
  
  Can't it be in entire?
 
 It is, but that doesn't do what you think it does.

Inconceivable! ;-)
-Seb


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] kernel panic - #df Double fault

2008-12-08 Thread Sebastien Roy

On Sat, 2008-12-06 at 16:39 -0500, Sebastien Roy wrote:
 On Sat, 2008-12-06 at 12:26 -0800, Bill Shannon wrote:
  Assuming it's not a recursion bug, is there any interest in finding out 
  what's
  blowing the stack?  Probably not if you've already decided to increase the
  default stack size.
 
 Sure, do you have the crash dump?  If you could put it somewhere on
 SWAN, I can have a look at it.

I took a look at Bill's crash dump, and he's running into:

http://bugs.opensolaris.org/view_bug.do?bug_id=6773232

Basically, TCP/IP, IPsec, and crypto getting together to do a really bad
job at using the stack efficiently.

-Seb


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] kernel panic - #df Double fault

2008-12-06 Thread Sebastien Roy
On Sat, 2008-12-06 at 10:48 -0800, Bill Shannon wrote:
 Dec  6 03:16:11 nissan unix: [ID 836849 kern.notice]
 Dec  6 03:16:11 nissan ^Mpanic[cpu0]/thread=d3112de0:
 Dec  6 03:16:11 nissan genunix: [ID 683410 kern.notice] BAD TRAP: type=8 (#df 
 Do
 uble fault) rp=fec24128 addr=0

A double fault on 32-bit x86 is usually indicative of a blown stack.
This could be a bug due to infinite recursion, or simply a very deep
stack.  Sherry Moore has increased the default stack size on 32-bit from
2 to 3 pages in build 105, and that will hopefully alleviate instances
of the latter.  See:

6766854 BAD TRAP: type=8 (#df Double fault) (Xeon)

For some immediate relief (assuming that you're not running into some
infinite recursion bug somewhere), you can increase your stack size by
placing the following in /etc/system (a reboot is required for this to
take effect):

set _defaultstksz=0x5000

-Seb


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] kernel panic - #df Double fault

2008-12-06 Thread Sebastien Roy
On Sat, 2008-12-06 at 12:26 -0800, Bill Shannon wrote:
 Assuming it's not a recursion bug, is there any interest in finding out what's
 blowing the stack?  Probably not if you've already decided to increase the
 default stack size.

Sure, do you have the crash dump?  If you could put it somewhere on
SWAN, I can have a look at it.
-Seb


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Any xemacs users out there? I could use some advice wrt packaging xemacs for OpenSolaris

2008-11-24 Thread Sebastien Roy
On Mon, 2008-11-24 at 11:20 -0800, Gordon Prieur wrote:
 I'm attempting to package XEmacs (21.4.21) for the OpenSolaris 
 repository. I've got
 it building OK but the default font is unreadable. I'm looking for a way 
 to set a new
 default font to something readable, so I can package an xemacs which is 
 usable immediately.

Have you tried contacting any XEmacs developers to ask them how they're
doing converting XEmacs to use freetype fonts?  According to Google,
it's being worked on.  There is a GNU Emacs patch out there for GNU
Emacs, and the resulting emacs-xft looks fantastic, but it's
unfortunately for a newer version of Emacs than what is included in
OpenSolaris.

-Seb


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Any xemacs users out there? I could use some advice wrt packaging xemacs for OpenSolaris

2008-11-24 Thread Sebastien Roy

On Mon, 2008-11-24 at 17:07 -0500, James Carlson wrote:
 Gordon Prieur writes:
  I tried contacting an xemacs user who used to work at Sun, but it looks 
  like he no
  longer works at Sun.
 
 There are some around.  I think Sebastien Roy is one.

Actually, I haven't been an XEmacs user ever since the fonts started
looking like junk a few years ago. ;-)

Ever since then, I've been using GNU Emacs, and I like it better now.

-Seb


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] creating new cron job

2008-08-18 Thread Sebastien Roy
On Mon, 2008-08-18 at 13:25 -0700, Srujan wrote:
 Hello dear,
 
 I want to create cron job to delete folders in directory srujan...path for 
 that folder is  .../Desktop/srujan.
 
 Can someone help me how to create job, and where save cron job file...
 which editor shall i use..1 GEDIT or VI...
 
 and path to save the ron job file.

The only command you need to manipulate your cron jobs is crontab.  The
crontab -e command will allow you to edit your crontab file.  For more
detailed documentation see the crontab(1) man page.

-Seb


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] n00b question

2008-07-18 Thread Sebastien Roy
On Thu, 2008-07-17 at 21:29 -0500, Steven Stallion wrote:
 Limin Li wrote:
  Hello all
  
  I just installed open solaris about a week ago and now I am trying to get 
  internet working on this thing and it is not working obviously.  On IRC, a 
  guy told me to ping 192.168.*.* does not work.  I don't think solaris is 
  recognizing my nic card period.  I am on a Dell XPS M140 laptop.  Any help 
  gents and ladies?
 
 Let's start with the basics. Issue these commands and post back with the 
 results (as root):
 
 # dladm show-dev
 # prtconf -vp

Nit: The show-dev subcommand is obsolete and will be removed in the near
future.  dladm show-phys is the preferred way to print physical
datalinks.

-Seb


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] n00b question

2008-07-18 Thread Sebastien Roy
On Fri, 2008-07-18 at 15:26 -0500, Steven Stallion wrote:
 Sebastien Roy wrote:
  Nit: The show-dev subcommand is obsolete and will be removed in the near
  future.  dladm show-phys is the preferred way to print physical
  datalinks.
 
 Interesting; I didn't know show-dev was scheduled for removal. Any idea 
 of when this will be integrated?

There's a short mention of this in the dladm(1M) man page:

 dladm show-dev [-p] [-s [-i interval]] [-o field[,...]]
 [dev]

 Show device configuration information (the  default)  or
 statistics,  either  for  all network devices or for the
 specified device dev. This subcommand  is  being  super-
 seded by show-phys.

I believe the removal will happen as part of the Crossbow project
(http://www.opensolaris.org/os/project/crossbow/).

-Seb


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] dladm format change breaks VirtualBox nic script

2008-06-10 Thread Sebastien Roy
On Tue, 2008-06-10 at 04:54 -0700, Mike DeMarco wrote:
 VirtualBox uses a script named vnic_setup.sh to configure a crossbow 
 interface.

I'm a bit confused.  Crossbow is a project under development.  Are you
referring to a hacked VirtualBox that was made to work with Crossbow, or
is there actually support for Crossbow VNICs in official VirtualBox
releases?

 This script uses the dladm to detect the active system NIC and configures a 
 virtual nic using 
 crossbows VNA. 
 The scripts relied on the old format of dladm show-dev:
 dladm show-dev
 iwk0link: down  speed: 0Mb  duplex: unknown
 rge0link: upspeed:   100Mb  duplex: full

That output format is documented to be _not_ parseable.  There is a -p
option to dladm which is meant to provide a stable and parseable output
format.  Unfortunately, that format will soon change as its not as
parseable as we'd like it to be, but nevertheless, the snippet you have
above is for the human readable output format.

 The new format creates a header line instead which confuses the  command
 phys_nic=`/usr/sbin/dladm show-dev |  /usr/bin/awk 'NF==7  $3==up { print 
 $1 }'`
 into reporting LINK as the valid interface, I present this here.

That awk script was doomed to fail.  If you can relay the version of
VirtualBox you're using and where you obtained it (and that script),
I'll try and contact the developers to discuss this issue with them.

-Seb


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] dladm format change breaks VirtualBox nic script

2008-06-10 Thread Sebastien Roy
On Tue, 2008-06-10 at 06:00 -0700, Jürgen Keil wrote:
 BTW: This seems to be a known bug:
 
 http://www.virtualbox.org/ticket/1498

Most of the information in that bug report is incorrect.  I'll contact
the VirtualBox developers to try and understand what they're trying to
do.  Output of dladm show-dev is most certainly not what they want.

-Seb


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Re: [osol-discuss] dladm format change breaks VirtualBox nic script

2008-06-10 Thread Sebastien Roy
On Tue, 2008-06-10 at 06:24 -0700, Mike DeMarco wrote:
 pkginfo -l SUNWvbox
PKGINST:  SUNWvbox
   NAME:  Sun xVM VirtualBox
   CATEGORY:  application
   ARCH:  i386
VERSION:  1.6.0

Thanks.  I've started a discussion on [EMAIL PROTECTED] to try and
get this resolved.

-Seb


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] which operation call xxx_detach()?

2008-05-14 Thread Sebastien Roy
On Wed, 2008-05-14 at 08:50 -0700, leno wrote:
 hi. thanks for your hlep , i want to know some command ,it could call
 xxxattach() or xxxdetach().such as add_drv xxx ,rem_drv xxx.

An open(9e) of the device will implicitly cause attach(9e).  If you want
to force a detach of a device which has no references, you could try
unloading the driver using modunload -i id.

-Seb


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] lookuppnvp:: i just do not get it...how it get vnode by given pathname?

2008-05-07 Thread Sebastien Roy
On Wed, 2008-05-07 at 08:42 -0700, xulari wrote:
 hi ,rlhamil : i can dtrace the syscall open, and i come to here :
 http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/fs/vnode.c#fop_lookup
 
 how we get ufs_lookup or #fs_lookup by fop_lookup?
 
 int line 3293 : it just call a function pointer...

Hint: Look at ufs_vnops.c, and look for ufs_lookup.

The Solaris Internals book has some good information to get acquainted
with Solaris file systems.  Conveniently, chapter 14 is on this very
topic, and is available as a sample chapter here:

http://www.solarisinternals.com/si/sample/solaris_internals_ch14_file_system_framework.pdf

-Seb


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] IPMP the new configuration way.

2008-04-24 Thread Sebastien Roy
On Thu, 2008-04-24 at 09:00 -0700, Kory Wheatley wrote:
 Here's an article on setting IPMP the new way.
 http://opensolaris.org/os/project/clearview/docs/ipmp-overview/ 
 
 But it doesn't show a step by step process of doing it only the results
 when you do a ifconfig -a  is this new method in production, and does
 anyone have a step by step process of setting it up.   I have IPMP configured
 the old way which you never know what IP connection the interface is going to
 use in and out of the box.  But this new way is suppose to use a virtual ip
 group?

The document you're reading is draft documentation for a project which
is under development (the Clearview project, as the URL above suggests.)
If you jump up two levels in the URL you went to, you can read more
about what the project is.  If you'd like to use the project code, we
have bfu archives available for you to try.  Please join
[EMAIL PROTECTED] and let's continue this discussion
there.  We'd love to have you as a user and get your feedback.

Thanks,
-Seb


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] What ever happened to Solaris New Boot for Sparc?

2008-04-24 Thread Sebastien Roy
On Thu, 2008-04-24 at 17:02 -0700, chuanming ding wrote:
 I remember hearing a long time about Sun was working on updating Solaris boot 
 for Sparc
 to something similar to what they did for x86 (ie. grub based or like). Does 
 this project
 exist? If so what is its status?

It integrated last December; in build 80:

http://opensolaris.org/os/community/on/flag-days/pages/2007120701/

-Seb


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Getting rid of CD images for future SX:CE deliveries

2007-02-25 Thread Sebastien Roy

Joerg Schilling wrote:

Alan Coopersmith [EMAIL PROTECTED] wrote:


Joerg Schilling wrote:

Unfortunately, Sun did not sell DVD drives for the v20z.

Are there many v20z owners who don't have another machine to netinstall
from?   I'm much more concerned about community members with a single
Ultra 10, or older PC without a DVD burner than any rack-mounted server.


I did replace the CD drive in the U-10 with a DVD burner long ago
I have no DVD drives in the subnet where the pile of v20z is located.


Note that the netinstall media need not be on the same subnet as the 
system to be installed.  A boot-only server can be configured using the 
-b option to setup_install_server, and the addclient script can point to 
an off-link NFS path when adding clients to that boot server.


-Seb
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] Re: [networking-discuss] project proposal: unifying NIC configuration via dladm

2006-12-19 Thread Sebastien Roy

+1
-Seb
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] how to make a new project?

2006-10-18 Thread Sebastien Roy
On Mon, 2006-10-16 at 18:50 -0700, maoyi wrote:
 I want to post my 4over6 code.How?
 
 4over6 is a  project that makes ipv4 packets go through ipv6 network.

In addition to the input you've received regarding putting forward a
project proposal here, we'd love to have your participation in the
Networking community (networking-discuss@opensolaris.org).  If you're
not already on that mailing list, I'd encourage you to join.

One discussion that should be had on networking-discuss regarding your
4over6 project is how it relates to other ongoing networking projects
which will affect you.  One such project is Clearview, which (among
other things) is redesigning much of the inner-workings of IP tunneling
in Solaris.  See:

http://www.opensolaris.org/os/project/clearview/
and
http://www.opensolaris.org/os/project/clearview/iptun/

Anyway, we can continue this discussion over on networking-discuss or
clearview-discuss if you'd like once you're project gets under way.

-Seb


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Re: [networking-discuss] Proposal for a new OpenSolaris project: Updated MIB support

2006-07-21 Thread Sebastien Roy
On Thu, 2006-07-20 at 22:29 -0400, Sebastien Roy wrote:
 FYI, I believe there is work already underway to implement at least a
 subset of what this project is proposing to undertake.  I've Cc'ed one
 of the engineers working on this to prevent duplication of effort.  Rao,
 can you comment on what your plans are in this space?

I guess I'll nip this one in the bud and answer my own question before
it leads to needless discussion;  I've been told that Anders and Rao are
actually working together on this.

I second this project.

-Seb


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] Re: [networking-discuss] Proposal for a new OpenSolaris project: Updated MIB support

2006-07-20 Thread Sebastien Roy
On Thu, 2006-07-20 at 15:06 -0700, Anders Persson wrote:
 Several new RFCs (4293, 4022, 4113) have been published that specifies 
 updated MIBs for IP, ICMP, TCP and UDP. I propose a project to provide 
 support for the new MIBs.
 
 Some of the issues that need to be addressed are:
 - Per interface IP statistics for both v4 and v6 (currently that is only 
 done for v6)
 - Add missing counters and convert some of the existing counters to 64 bits
 - Update in.ndpd so that MIB agents can extract information from it

FYI, I believe there is work already underway to implement at least a
subset of what this project is proposing to undertake.  I've Cc'ed one
of the engineers working on this to prevent duplication of effort.  Rao,
can you comment on what your plans are in this space?

-Seb


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Project Proposal: IPsec Tunnel Reform

2006-06-15 Thread Sebastien Roy
On Thu, 2006-06-15 at 12:53 -0700, Dan McDonald wrote:
 I would like to open an OpenSolaris project - IPsec Tunnel Reform.

i++;

-Seb


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] MPLS project proposal

2006-03-28 Thread Sebastien Roy

James Carlson wrote:

This is being proposed as an open project; anyone willing to
participate is welcome.

The initial leadership will be Pedro A. Aranda Gutiérrez and myself.



I second the proposal.
-Seb
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Quagga OpenSolaris project proposal

2006-03-23 Thread Sebastien Roy

Alan Maguire wrote:

We propose to make Quagga an official OpenSolaris project.


I second that.
-Seb
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [networking-discuss] Re: [osol-discuss] Nemo project proposal

2006-03-17 Thread Sebastien Roy

[EMAIL PROTECTED] wrote:

  dladm create-aggr -d bge0 1
  
  I got an error saying 'device busy'. Now bge0 was definitely gone from 
  ifconfig but from looking at the code it was apparent that when the bge 
  driver calls mac_register() this has the effect of doing a dls_create() 
  and presumably, therefore, the aggr driver finds that a dls reference 
  to the mac interface exists and thus refuses to use it.


That doesn't sound right to me.  When the `ifconfig bge0 unplumb' occurs,
we should go through dld_str_detach() - dls_close() - dls_active_clear()
- mac_active_clear() which will clear mi_activelink on the underlying
mac_t.  At this point, another mac client (aggr) should be able to use the
underlying mac_t without restriction.  (Otherwise, it is restricted to
passive DLPI operations -- unless it issues a DL_PASSIVE_REQ, as per
dlpi(7P)).

However, it seems there must be a bug here -- or there was another DLS
client holding open an instance and keeping mi_activelink set.


I keep running into this myself, and it's _always_ because dhcpagent 
holds the DLPI device open.  Unplumbing IP doesn't cause dhcpagent to go 
away, it needs to be killed manually.  Paul, was dhcpagent still running?


-Seb
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] Re: [networking-discuss] Nemo project proposal

2006-03-14 Thread Sebastien Roy

Nicolas Droux wrote:
I'm proposing to make Project Nemo an official OpenSolaris project, 
whose initial leaders will be myself, Sunay Tripathi, Paul Simons, and 
Eric Cheng.


Seconded.  (or fourthed?) ;-)
-Seb
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] Re: [networking-discuss] Nemo project proposal

2006-03-14 Thread Sebastien Roy

Leonid Grossman wrote:
Second that... 
Our 10GbE Solaris driver (along with the ASIC Programming Manual) is

already opensourced, having Nemo as an OpenSolaris project will make
driver development and support much easier :-)


Keeping in mind, of course, that Nemo is still not a public interface, 
and will be undergoing some incompatible changes before it becomes 
usable by third parties.


I'm excited that Nicolas is proposing to make Nemo a project, as that 
will allow us to more easily discuss such changes with the community. 
It doesn't suggest that Nemo is stable.


-Seb

P.S.: I don't think Leonid was suggesting that either, but I feel like 
the point that Nemo is not a public interface yet can't be stressed 
enough.  This was just a good opportunity to make that point again. :-)

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org