[osol-discuss] How do I update my bugreport?

2007-12-11 Thread Patrick Ale
Hi guys,

I filed a bug last week, I got an email yesterday saying the bug has changed
status to incomplete and if I could please give more information acording to
the filled in fields by the engineer working on the bug.
I'd love to do that but... how do I do this? I can't even find my bug back
in the database :s


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

[osol-discuss] does the issue that writing more than 1K bytes to pty hangs still exist on Solaris8/10?

2007-12-11 Thread Yue Chen
Hi Solaris experts

I am new for Solaris development. But I have developed on Linux for
several year. Recently I have to transform a program from Linux to
Solaris. The program uses ssh to connect to a remote host and
redirects the input/output of ssh to a unix socket locally. It also
has a component to send commands into the unix socket. After the
commands are transferred to remote host and executed there, the
results are received from the same unix socket.

This program works very well on linux. However, when remote host is
solaris, if the command line is longer than 1024 bytes, sometimes some
bytes can not reach the remote host. This phenomenon occurs mainly in
case my program connects to the unix socket as soon as the ssh
connection is created. If I make the program sleep several seconds
after the connection is created. This issue rarely happens. I also
made hundreds of stress tests for command line less than 1024 bytes.
This issue absolutely can not be reproduced.

I searched on Sun site and found that following bug is similar to my issue.
===
program hangs writing 1K bytes or more to pseudo terminal
bug 1209258
http://sunsolve.sun.com/search/document.do?assetkey=1-1-1209258-1 - Jun 6, 1995
===
But this bug is reported in 1995, rather ancient one. Does it still
not fixed? I am so puzzled.
Could anyone explain this to me?

Thank you very much
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] common ( Win64/Linux/SNV/UNIX ) filesystem du jour ?

2007-12-11 Thread Frank . Hofmann
On Sun, 9 Dec 2007, Cyril Plisko wrote:

 On Dec 9, 2007 8:11 PM, Dennis Clarke [EMAIL PROTECTED] wrote:

 The next question is how to create a single filesystem on a USB attached
 device ( like a USB Stick from SanDisk or Kingston etc ) where the
 filesystem is supported and read/write functional on all of
 Win32/Win64/Linux and Solaris/UNIX.

 I don't think that NTFS is worth looking at because it is closed and
 proprietary. Microsoft could bork that up at a whim without telling anyone.
 The only two others I see are old world FAT nd FAT32. The FAT type
 filesystem is too small and restricted for anything real world. That leaves
 FAT32.

 Am I missing anything ?  Any suggestions ?

 Dennis,

 As long as your media is less than 32GB FAT32 should be ok.
 Another possibility is UDF. Although last time I check Windows
 considered it to be read-only (that was quite some time ago and
 I am not sure what is the status today)

FAT32 larger than 32GB just works fine (apart from the abysmal speed if 
a filesystem of that size gets fragmented), even on Windows. The problem 
is that Windows will not let you create and/or properly scandisk/chkdsk 
such a large FAT32. But that's an arbitrary limitation created by 
Microsoft to push people towards NTFS (and to avoid having to deal with 
service inquiries ... or the need to improve the implementation).

If you create the fs under Linux or Solaris, and fsck it under Linux, 
there's no issue at all with using a FAT32 filesystem of up to 1TB.

If you really want to go beyond that, hmm - no good idea either.

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


Re: [osol-discuss] does the issue that writing more than 1K bytes to pty hangs still exist on Solaris8/10?

2007-12-11 Thread Joerg Schilling
Yue Chen [EMAIL PROTECTED] wrote:

 Hi Solaris experts

 I am new for Solaris development. But I have developed on Linux for
 several year. Recently I have to transform a program from Linux to
 Solaris. The program uses ssh to connect to a remote host and
 redirects the input/output of ssh to a unix socket locally. It also
 has a component to send commands into the unix socket. After the
 commands are transferred to remote host and executed there, the
 results are received from the same unix socket.

 This program works very well on linux. However, when remote host is
 solaris, if the command line is longer than 1024 bytes, sometimes some

If you like to transfer bigger chunks, you need to set the the send and
reveive buffer size of the socket using setsockopt. This is the expected 
behavior.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] Does Solaris has similar Linux command mount -o which can mount IMG file with specified offset?

2007-12-11 Thread Zhang, Frank F
Does Solaris has similar Linux command mount -o  which can mount IMG
file with specified offset? Or if I can get an Utility to do this kind
of job?

 

 

 

 

Thanks!

Frank

 

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

Re: [osol-discuss] How do I update my bugreport?

2007-12-11 Thread Ché Kristo
 div id=jive-html-wrapper-div
 divHi guys,/div
 div /div
 divI filed a bug last week, I got an email
 yesterday saying the bug has changed status to
 incomplete and if I could please give more
 information acording to the filled in fields by the
 engineer working on the bug./div
 
 divI'd love to do that but... how do I do this?
 I can't even find my bug back in the database
 :s/div
 div /div
 div /div
 divPatrick/div
 
 /div___
 opensolaris-discuss mailing list
 opensolaris-discuss@opensolaris.org

Was the bug filed through http://bugs.opensolaris.org/ or Bugzilla?
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Re: [osol-discuss] How do I update my bugreport?

2007-12-11 Thread Patrick Ale
On Dec 11, 2007 11:49 AM, Ché Kristo [EMAIL PROTECTED]
wrote:


 Was the bug filed through http://bugs.opensolaris.org/ or Bugzilla?


Hi Ché ,

It was filed at bugs.opensolaris.org :)

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

Re: [osol-discuss] OpenSolaris with iSCSI Luns and IPMP 3 x 1 Gbe eth SAN . Is it sensib

2007-12-11 Thread Jim Dunham
Chandan,

 Now the only thing left is iSCSI PGR ... is this enabled guys ...  
 please someone at least tell me if this is being developed, because  
 i am ready to wait if this is going to be out by another 20 or 30  
 days or so ..

iSCSI PGR support has been available since build 74...



 :) waiting for all your guidance.

  --

 Chandan Maddanna,
 Unix Services,
 Bangalore,
 CSC India.


 This message posted from opensolaris.org
 ___
 opensolaris-discuss mailing list
 opensolaris-discuss@opensolaris.org

Jim Dunham
Storage Platform Software Group
Sun Microsystems, Inc.
wk: 781.442.4042

http://blogs.sun.com/avs
http://www.opensolaris.org/os/project/avs/
http://www.opensolaris.org/os/project/iscsitgt/
http://www.opensolaris.org/os/community/storage/

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


Re: [osol-discuss] Does Solaris has similar Linux command mount -o which can mount IMG file with specified offset?

2007-12-11 Thread Josh Lange
On Dec 11, 2007 1:25 AM, Zhang, Frank F [EMAIL PROTECTED] wrote:

  Does Solaris has similar Linux command mount -o  which can mount IMG
 file with specified offset? Or if I can get an Utility to do this kind of
 job?



Are you talking about mapping an image file to a loop device, and mount it
-o loop ?

I haven't tried the loop arguement to mount on solaris, but it's pretty easy
to manually mapping a file to a loop device, and then mounting the loop
device. Check out: lofiadm(1M)

As for mounting the image with an offset, I'm not aware of how you are doing
this in linux, and generally this isn't needed for an iso image, but you may
consider using dd(1M) to cut the image into multiple files.







 Thanks!

 Frank



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

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

Re: [osol-discuss] Does Solaris has similar Linux command mount -o which can mount IMG file with specified offset?

2007-12-11 Thread Frank . Hofmann
On Tue, 11 Dec 2007, Josh Lange wrote:

 On Dec 11, 2007 1:25 AM, Zhang, Frank F [EMAIL PROTECTED] wrote:

  Does Solaris has similar Linux command mount -o  which can mount IMG
 file with specified offset? Or if I can get an Utility to do this kind of
 job?



 Are you talking about mapping an image file to a loop device, and mount it
 -o loop ?

 I haven't tried the loop arguement to mount on solaris, but it's pretty easy
 to manually mapping a file to a loop device, and then mounting the loop
 device. Check out: lofiadm(1M)

 As for mounting the image with an offset, I'm not aware of how you are doing
 this in linux, and generally this isn't needed for an iso image, but you may
 consider using dd(1M) to cut the image into multiple files.

On Solaris, it depends on the filesystem. FAT filesystems within images of 
PC-style partitioned disks can be mounted using the 'normal' PCFS syntax 
/dev/lofi/1:[c-z] but that functionality is limited to PCFS. It's not a 
generic lofi thing.

Although it should be - the request is not new, see:

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

and what's associated with it.


But then, there's always more than one way to do it ... and in case of 
what you can do right now, creating an iSCSI target where the backing 
store is your partitioned image file, and then using the iSCSI initiator 
on the same machine to access it (as a sd-managed disk) should allow you 
to get the partitions. Sounds a bit like poke around the back, through 
the ribs and up right into the eye, but hey ... :)

Have you tried the iscsitadm / iscsiadm workaround ?

FrankH.









 Thanks!

 Frank



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



--
No good can come from selling your freedom, not for all the gold in the world,
for the value of this heavenly gift far exceeds that of any fortune on earth.
--
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] How do I update my bugreport?

2007-12-11 Thread James Carlson
Patrick Ale writes:
 I filed a bug last week, I got an email yesterday saying the bug has changed
 status to incomplete and if I could please give more information acording to
 the filled in fields by the engineer working on the bug.
 I'd love to do that but... how do I do this? I can't even find my bug back
 in the database :s

I found four bugs that appear to be from you; none are in incomplete
state.

  6594586 root slice not within 1024 cylinders (SATA)
  6628352 libexpat.so.1 is missing after BFU to nv_76
  6628353 Make libraries reside in the same directory
  6639117 JDS only starts with xVM kernel

Was it one of those, or something else?

-- 
James Carlson, Solaris Networking  [EMAIL PROTECTED]
Sun Microsystems / 35 Network Drive71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] How do I update my bugreport?

2007-12-11 Thread Patrick Ale
On Dec 11, 2007 2:04 PM, James Carlson [EMAIL PROTECTED] wrote:





 I found four bugs that appear to be from you; none are in incomplete
 state.

  6594586 root slice not within 1024 cylinders (SATA)
  6628352 libexpat.so.1 is missing after BFU to nv_76
  6628353 Make libraries reside in the same directory
  6639117 JDS only starts with xVM kernel


Hi James!

It's CR 6639382. JDS Soundsystem not working properly. Even though I
got the answer yesterday per this mailing list I'd like to update the
bugreport per request of the engineer.


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


Re: [osol-discuss] does the issue that writing more than 1K bytes to pty hangs still exist on Solaris8/10?

2007-12-11 Thread James Carlson
Yue Chen writes:
 I searched on Sun site and found that following bug is similar to my issue.
 ===
 program hangs writing 1K bytes or more to pseudo terminal
 bug 1209258
 http://sunsolve.sun.com/search/document.do?assetkey=1-1-1209258-1 - Jun 6, 
 1995
 ===
 But this bug is reported in 1995, rather ancient one. Does it still
 not fixed? I am so puzzled.
 Could anyone explain this to me?

It was closed as not a bug on the same day it was filed back in
1995.

The problem, as best I can tell, was with the test program.  It was
writing data but the other end wasn't reading anything, so the writing
end was blocked.  The program was blocked; it was not losing data.

I don't think that CR has much to do with the problem you're
reporting.  File a bug.

-- 
James Carlson, Solaris Networking  [EMAIL PROTECTED]
Sun Microsystems / 35 Network Drive71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] How do I update my bugreport?

2007-12-11 Thread James Carlson
Patrick Ale writes:
 It's CR 6639382. JDS Soundsystem not working properly. Even though I
 got the answer yesterday per this mailing list I'd like to update the
 bugreport per request of the engineer.

The RE assigned is Brian Cameron; you should contact him directly.

-- 
James Carlson, Solaris Networking  [EMAIL PROTECTED]
Sun Microsystems / 35 Network Drive71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Does Solaris has similar Linux command mount

2007-12-11 Thread Richard L. Hamilton
 On Tue, 11 Dec 2007, Josh Lange wrote:
 
  On Dec 11, 2007 1:25 AM, Zhang, Frank F
 [EMAIL PROTECTED] wrote:
 
   Does Solaris has similar Linux command mount -o
  which can mount IMG
  file with specified offset? Or if I can get an
 Utility to do this kind of
  job?
 
 
 
  Are you talking about mapping an image file to a
 loop device, and mount it
  -o loop ?
 
  I haven't tried the loop arguement to mount on
 solaris, but it's pretty easy
  to manually mapping a file to a loop device, and
 then mounting the loop
  device. Check out: lofiadm(1M)
 
  As for mounting the image with an offset, I'm not
 aware of how you are doing
  this in linux, and generally this isn't needed for
 an iso image, but you may
  consider using dd(1M) to cut the image into
 multiple files.
 
 On Solaris, it depends on the filesystem. FAT
 filesystems within images of 
 PC-style partitioned disks can be mounted using the
 'normal' PCFS syntax 
 /dev/lofi/1:[c-z] but that functionality is limited
 to PCFS. It's not a 
 generic lofi thing.
 
 Although it should be - the request is not new, see:
 
   http://bugs.opensolaris.org/view_bug.do?bug_id=47650
 9
 
 and what's associated with it.
 
 
 But then, there's always more than one way to do it
 ... and in case of 
 what you can do right now, creating an iSCSI target
 where the backing 
 store is your partitioned image file, and then
 using the iSCSI initiator 
 on the same machine to access it (as a sd-managed
 disk) should allow you 
 to get the partitions. Sounds a bit like poke around
 the back, through 
 the ribs and up right into the eye, but hey ... :)
 
 Have you tried the iscsitadm / iscsiadm workaround ?
 
 FrankH.

BTW, if you are looking to extract slices of a boot CD ISO,
someone wrote a script for that (SPARC, anyway) some time back,
and I had written a C program (and IIRC posted it to Usenet - try
groups.google.com) to do the job too.  Once thus extracted, one
could use lofiadm on the resulting individual files.  IIRC, it doesn't
extract the slice at the start of the ISO, since one could get that
one by using lofiadm on the original ISO.

To save anyone the trouble of digging it up, see

http://groups.google.com/group/comp.unix.solaris/browse_thread/thread/39f9de148ed0df23/6ad98d95e58bf59c?lnk=stq=group%3Acomp.unix.solaris+iso+slices#6ad98d95e58bf59c

for a thread about some of this.
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Does Solaris has similar Linux command mount

2007-12-11 Thread Casper . Dik

BTW, if you are looking to extract slices of a boot CD ISO,
someone wrote a script for that (SPARC, anyway) some time back,
and I had written a C program (and IIRC posted it to Usenet - try
groups.google.com) to do the job too.  Once thus extracted, one
could use lofiadm on the resulting individual files.  IIRC, it doesn't
extract the slice at the start of the ISO, since one could get that
one by using lofiadm on the original ISO.

To save anyone the trouble of digging it up, see

http://groups.google.com/group/comp.unix.solaris/browse_thread/thread/39f9de148ed0df23/6ad98d95e58
bf59c?lnk=stq=group%3Acomp.unix.solaris+iso+slices#6ad98d95e58bf59c

for a thread about some of this.


When I did my lofi crypto prototype I also hacked in a -o option which
pretty much does what you want.  Not sure if that is still available;
I think it would still be very useful.

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


Re: [osol-discuss] common ( Win64/Linux/SNV/UNIX ) filesystem du

2007-12-11 Thread Richard L. Hamilton
 
  On Dec 9, 2007 8:11 PM, Dennis Clarke
 [EMAIL PROTECTED] wrote:
 
  The next question is how to create a single
 filesystem on a USB attached
  device ( like a USB Stick from SanDisk or Kingston
 etc ) where the
  filesystem is supported and read/write functional
 on all of
  Win32/Win64/Linux and Solaris/UNIX.
 
  I don't think that NTFS is worth looking at
 because it is closed and
  proprietary. Microsoft could bork that up at a
 whim without telling
  anyone.
  The only two others I see are old world FAT nd
 FAT32. The FAT type
  filesystem is too small and restricted for
 anything real world. That
  leaves
  FAT32.
 
  Am I missing anything ?  Any suggestions ?
 
  Dennis,
 
  As long as your media is less than 32GB FAT32
 should be ok.
  Another possibility is UDF. Although last time I
 check Windows
  considered it to be read-only (that was quite some
 time ago and
  I am not sure what is the status today)
 
 Thank you Cyril.  Long time no hear by the way. I
 hope that things are well
 with you.
 
 I am currently testing with the following OS
 selections :
 
 (1) Solaris Nevada SNV_78
 (2) Windows Vista Business Edition 64-bit
 (3) Red Hat Enterprise Linux 5 AS 64-bit
 (4) Microsoft Server 2008 32-bit ( Longhorn build
 6001 )
 
 I think that UDF is a forward looking and standards
 compliant filesystem[1]
 and thus I wonder if Microsoft supports it at all.  I
 think that the
 Microsoft OS may be able to mount the filesystem but
 only Solaris or
 RHEL/CentOS will be able to actually do the mkfs
 stage. Not sure. I'll
 experiment and see how it goes.
 
 Dennis Clarke
 
 [1] n.b.: ZFS works fine on USB devices but we know
 that Vista/Longhorn will
 choke on it.  For now anyways.
 

According to
http://en.wikipedia.org/wiki/Universal_Disk_Format#Spared_.28RW.29_flavor
Vista (but not earlier Windows) can read and write certain versions of UDF
(a superset of those Solaris can read and write, apparently).

I don't have any personal knowledge of the accuracy of that page...
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] How do I update my bugreport?

2007-12-11 Thread Alan Coopersmith
Patrick Ale wrote:
 Hi guys,
  
 I filed a bug last week, I got an email yesterday saying the bug has 
 changed status to incomplete and if I could please give more information 
 acording to the filled in fields by the engineer working on the bug.
 I'd love to do that but... how do I do this? I can't even find my bug 
 back in the database :s

You can't - only a Sun engineer can, and since the external e-mail now
censors the name/e-mail of the bug updater, you have no way of knowing.

The best I know of you can do is post to the mailing list of the
appropriate community group, or a generic list like opensolaris-bugs,
and ask for your bug report to be updated by a Sun employee.

-- 
-Alan Coopersmith-   [EMAIL PROTECTED]
 Sun Microsystems, Inc. - X Window System Engineering
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] How do I update my bugreport?

2007-12-11 Thread Patrick Ale
On Dec 11, 2007 4:59 PM, Alan Coopersmith [EMAIL PROTECTED] wrote:

 Patrick Ale wrote:
  Hi guys,

Hi Alan!

Well I know who's working on the case, it's Brian. I have his email
address and he is helping me a lot a already, James gave me some
pointers as well.

Thank you all :)

Patrick / WickedWicky
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] PulseAudio

2007-12-11 Thread Tom Servo
 For the record, Solaris is listed as a supported platform:
 http://www.pulseaudio.org/wiki/AboutPulseAudio

Which is a huge joke, because it uses the wrong type of ioctl structs
(those with the additional fields that Solaris doesn't support) and
doesn't even wrap them in #ifdefs. To compile PulseAudio, you need to
change quite a few other things too, besides what SFE patches.

-mg

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


Re: [osol-discuss] OpenSolaris with iSCSI Luns and IPMP 3 x 1 Gbe eth SAN . Is it sensib

2007-12-11 Thread Chandan Maddanna
Thanks Ux-Admin,

I am intensively workign out on all these, and also i will be conducting a test 
with new nemo drivers, and dladm aggregation.

So let me see how does aggregation work out, and as far as i see there 
architecture, it should support, in-load spread very well, because the virtual 
aggregated interface receives packets from all the interfaces in the group, 
forming the aggregated interface , but i am not sure how re-ordering for tcp is 
handled though.

-- Chandan
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] PulseAudio

2007-12-11 Thread Tom Servo
 I talked to Lennart during the week, and he's keen to see PulseAudio in
 Solaris
 as well. He mentioned that the feature set would be significantly reduced
 since
 OSS (when integrated) won't nearly provide as much capability as Alsa does
 on
 Linux, but confirmed it does work fine on Solaris already.

I'm sorry if I look like a Negative Nancy, but that's a load of crap based
on his hate against OSS.

One of the points of a pure software mixer (which is what PulseAudio is)
is that all processing, mixing, effects, channel assignments and whatever
else is controlled by and lies on the software side and doesn't require
more than a bunch of dumb output channels without even proper volume
control.

I don't really see the point of an audio server, if the native audio
interface very well supports software mixing itself. Maybe not as
sophisticated as PulseAudio, but that type of sophistication is more sugar
coating than practical.

-mg

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


Re: [osol-discuss] OpenSolaris with iSCSI Luns and IPMP 3 x 1 Gbe eth SAN . Is it sensib

2007-12-11 Thread Chandan Maddanna
Hey John,

Thanks for reply guru ... yes i was about to test sun trunking, But that 
workes only with sun's hardware with hard coded support, like ce , qfe etc etc 
... but not bge, pcn, rtls , e1000 etc.. 

But, i found nemo drivers work with the other ones well, and also we can 
aggregate more than four interfaces, in case of trunking software max is four 
only.. 

and other thing i want to ask you, what strategy do i use on switch... because 
even managed switches ( form cisco etc ) does not do aggregation of ports on 
there side efficiently ) .. 

So may be for switch i have to think of something else... please let me know 
your valuable suggestions on that part too.. i am seeing how all your guidance 
is helping me to tune and evolve my implementation .. 

if nothign works, ( please dont laugh ) , i am thinking to use a unix box with 
some 6 or 8 GBE interfaces for switch too   lol ... normal mother boards 
come with 3 pci slots, and i will put quad port Gigabit ethernet cards 
availabel form intel, in all three slots..

and if i aggregate three ports each and make a 4 port switch ( with each port 
capable of doing 3 GBPS  -- taht is 6 GBPS including both ways ) tahn 
beautiful... )0

also we can use cat6 for cabling , as it is not a problem , and will easily 
support this speed, because afterall its three different cables too, working 
together right 


beautiful, i think we will be able to implement very good iscsi based san 
guys,,   thanks so so s much for all you help... also now PGR is supported 
from opensolaris build 74 on wards and Jim has already told me this and even i 
too verified ( Thanks Jim... Fore those who dint know , Jim Dunham, from 
Storage Platform Software Group at sun ) . 

Wow... yeahhhahah ... I am floating... 

One way or the other i will get this done and will definitely share with make a 
note of complete detail;s of commands and procedures, and will produce to you 
all for further tuning and evolution .. 


-- Chandan
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] OpenSolaris with iSCSI Luns and IPMP 3 x 1 Gbe eth SAN . Is it sens

2007-12-11 Thread Chandan Maddanna
Hi James

That's not quite true. IPMP's inbound load spreading makes use of multiple 
data addresses in a group. When we make outbound connections to multiple peers 
and there are multiple data addresses, we'll intentionally round-robin select 
among those addresses to use as source addresses, each with a separate MAC 
address. That allows the return traffic to be spread among the available links. 
The other part of the picture is DNS. For spreading of inbound connections, you 
should insert all of the data addresses as IN A records for a single name, and 
configure your server so that it does round-robin responses. (If the peers are 
Solaris, disabling or configuring nscd may be necessary.)


Can you please tell em a bit more about this, how can IPMP make inbound 
spreading, because i saw in documentation that test IPs are used explicitly for 
test pings and availability check only.. so.. i was not able to comprehend, it 
will be helpful , if you can help me understand,

Humble Regards,

-- chandan Maddanna.
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] OpenSolaris with iSCSI Luns and IPMP 3 x 1 Gbe eth SAN . Is it sens

2007-12-11 Thread James Carlson
Chandan Maddanna writes:
 Hi James
 
 That's not quite true. IPMP's inbound load spreading makes use of multiple 
 data addresses in a group. When we make outbound connections to multiple 
 peers and there are multiple data addresses, we'll intentionally round-robin 
 select among those addresses to use as source addresses, each with a separate 
 MAC address. That allows the return traffic to be spread among the available 
 links. The other part of the picture is DNS. For spreading of inbound 
 connections, you should insert all of the data addresses as IN A records for 
 a single name, and configure your server so that it does round-robin 
 responses. (If the peers are Solaris, disabling or configuring nscd may be 
 necessary.)
 
 
 Can you please tell em a bit more about this, how can IPMP make inbound 
 spreading,

You need to use multiple data addresses.

 because i saw in documentation that test IPs are used explicitly for test 
 pings and availability check only.

That's correct; test addresses have nothing to do with it.

 . so.. i was not able to comprehend, it will be helpful , if you can help me 
 understand,

Here's an example using test addresses on the 10.0.0.0/24 subnet, and
data addresses on 192.168.0.0/24.

  ifconfig hme0 plumb 10.0.0.1/24 broadcast + deprecated -failover \
group ipmp0 up
  ifconfig hme0 addif 192.168.0.1/24 broadcast + up

  ifconfig hme1 plumb 10.0.0.2/24 broadcast + deprecated -failover \
group ipmp0 up
  ifconfig hme1 addif 192.168.0.2/24 broadcast + up

This gives you two test addresses (one each on hme0 and hme1), and two
data addresses (one each on hme0:1 and hme1:1).

On outbound connections, and where the socket is not already bound,
we'll select among the available data addresses first, meaning that
we'll pick 192.168.0.1 as our source when going to some destinations,
and 192.168.0.2 when going to others.

The use of two different IP addresses -- and a different MAC address
for each -- causes the traffic coming back in to be spread between the
links.

Then, to complete the picture, you'll probably want to have load
spreading for the inbound connections as well.  To do this, you'll
need to use multiple addresses for the server.  For example, in the
named configuration, you might have something like this:

server  IN  A   192.168.0.1
IN  A   192.168.0.2

This specifies that server in the current domain resolves as two
addresses.  By default, BIND9 should return them in cyclic
(round-robin) order, but check your documentation if necessary.

Note that DNS caching on the client systems (the ones generating that
inbound traffic) can sometimes interfere with this mechanism.

-- 
James Carlson, Solaris Networking  [EMAIL PROTECTED]
Sun Microsystems / 35 Network Drive71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] PHP with Apache in build 77

2007-12-11 Thread Eric Hamilton
I'm trying to configure and use the PHP 5.2.4 that is delivered with 
SXCE 77 (/usr/php5) with Apache as delivered (/usr/Apache).

Apache runs fine locally but when I try to add in libphp5.so, I get an 
unresolved symbol for apr_pool_cleanup_null.  Am I missing a dependency 
or have I otherwise misconfigured things?

Below is script output showing my setup after minimizing the changes 
I've made from the distributed config files.  Besides setting up 
httpd.conf, I copied /usr/php5/5.2.4/lib/libphp5-5.2.4.so over to 
/usr/apache/libexec/libphp5.so.

Note too: it looks to me that the build options for php have the 
configuration file path set to the build environment, not the running 
system.  I don't think I get that far to even be looking for the php.ini 
file, but I think that'll be a problem too (which I can workaround with 
dummy directories and symlinks if need be).

I'm very happy to see a more complete web stack coming with SXCE-- now I 
just need to get it to work :).

Eric

===

Script started on Tue Dec 11 11:25:13 2007
$ /usr/php5/5.2.4/bin/php --ini 
Configuration File (php.ini) Path: 
/builds2/sfwnv-gate/proto/root_i386/etc/php5/5.2.4
Loaded Configuration File: (none)
Scan for additional .ini files in: (none)
Additional .ini files parsed:  (none)
$ exit
script done on Tue Dec 11 11:25:36 2007




Script started on Tue Dec 11 11:47:14 2007
# /usr/apache/bin/httpd -V
Server version: Apache/1.3.39 (Unix)
Server built:   Oct 30 2007 00:23:49
Server's Module Magic Number: 19990320:18
Server compiled with
 -D EAPI
 -D HAVE_MMAP
 -D USE_MMAP_SCOREBOARD
 -D USE_MMAP_FILES
 -D NO_LINGCLOSE
 -D HAVE_FCNTL_SERIALIZED_ACCEPT
 -D HAVE_SYSVSEM_SERIALIZED_ACCEPT
 -D HAVE_PTHREAD_SERIALIZED_ACCEPT
 -D DYNAMIC_MODULE_LIMIT=64
 -D HARD_SERVER_LIMIT=2048
 -D HTTPD_ROOT=/usr/apache
 -D SUEXEC_BIN=/usr/apache/bin/suexec
 -D DEFAULT_PIDLOG=/var/run/apache/httpd.pid
 -D DEFAULT_SCOREBOARD=/var/run/apache/httpd.scoreboard
 -D DEFAULT_LOCKFILE=/var/run/apache/httpd.lock
 -D DEFAULT_ERRORLOG=/var/apache/logs/error_log
 -D TYPES_CONFIG_FILE=/etc/apache/mime.types
 -D SERVER_CONFIG_FILE=/etc/apache/httpd.conf
 -D ACCESS_CONFIG_FILE=/etc/apache/access.conf
 -D RESOURCE_CONFIG_FILE=/etc/apache/srm.conf
# 
# diff -c /etc/apache/httpd.conf /etc/apache/httpd.conf-example
*** /etc/apache/httpd.confTue Dec 11 11:41:06 2007
--- /etc/apache/httpd.conf-exampleTue Oct 30 00:25:11 2007
***
*** 252,260 
  LoadModule ssl_module libexec/libssl.so
  /IfDefine
  LoadModule perl_modulelibexec/libperl.so
- LoadModule php5_modulelibexec/libphp5.so
  
- 
  #  Reconstruction of the complete module list from all available modules
  #  (static and shared ones) to achieve correct module execution order.
  #  [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE UPDATE THIS, TOO]
--- 252,258 
***
*** 302,308 
  AddModule mod_ssl.c
  /IfDefine
  AddModule mod_perl.c
- AddModule mod_php5.c
  
  #
  # ExtendedStatus controls whether Apache will generate full status
--- 300,305 
***
*** 367,373 
  # e-mailed.  This address appears on some server-generated pages, such
  # as error documents.
  #
! ServerAdmin [EMAIL PROTECTED]
  
  #
  # ServerName allows you to set a host name which is sent back to 
clients for
--- 364,370 
  # e-mailed.  This address appears on some server-generated pages, such
  # as error documents.
  #
! ServerAdmin [EMAIL PROTECTED]
  
  #
  # ServerName allows you to set a host name which is sent back to 
clients for
***
*** 385,391 
  # machine always knows itself by this address. If you use Apache 
strictly for 
  # local testing and development, you may use 127.0.0.1 as the server 
name.
  #
! ServerName arusha
  
  #
  # DocumentRoot: The directory out of which you will serve your
--- 382,388 
  # machine always knows itself by this address. If you use Apache 
strictly for 
  # local testing and development, you may use 127.0.0.1 as the server 
name.
  #
! ServerName 127.0.0.1
  
  #
  # DocumentRoot: The directory out of which you will serve your
***
*** 873,879 
  # make certain files to be certain types.
  #
  AddType application/x-tar .tgz
- AddType application/x-httpd-php .php
  
  #
  # AddEncoding allows you to have certain browsers uncompress
--- 870,875 
# 
# /usr/apache/bin/httpd -t
Syntax error on line 255 of /etc/apache/httpd.conf:
Cannot load /usr/apache/libexec/libphp5.so into server: ld.so.1: httpd: 
fatal: relocation error: file /usr/apache/libexec/libphp5.so: symbol 
apr_pool_cleanup_null: referenced symbol not found
# exit

script done on Tue Dec 11 11:48:24 2007
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] OpenSolaris with iSCSI Luns and IPMP 3 x 1 Gbe eth SAN . Is it sens

2007-12-11 Thread Chandan Maddanna
Beautiful, Crisp and elegant example.. 

Thanks Very Very much James, 

-- Chandan Maddanna
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] PHP with Apache in build 77

2007-12-11 Thread UNIX admin
 /usr/php5/5.2.4/lib/libphp5-5.2.4.so over to 
 /usr/apache/libexec/libphp5.so.

Why in blue blazes did they compile it for /usr/php5/? I mean, PHP doesn't 
clash with anything Solaris delivers... they could have stuck him directly into 
/usr/bin and /usr/lib/?

But I agree with you, seeing PHP5 brings us closer to having Solaris be the 
workhorse behind mighty webservers.
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] PHP with Apache in build 77

2007-12-11 Thread UNIX admin
 Cannot load /usr/apache/libexec/libphp5.so into
 server: ld.so.1: httpd: 
 fatal: relocation error: file
 /usr/apache/libexec/libphp5.so: symbol 
 apr_pool_cleanup_null: referenced symbol not found

Please do:

ldd /usr/apache/libexec/libphp5.so

and post the output here.
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] PHP with Apache in build 77

2007-12-11 Thread Eric Hamilton
Here's the output of ldd /usr/apache/libexec/libphp5.so:

libz.so.1 = /usr/lib/libz.so.1
libexpat.so.0 = /usr/lib/libexpat.so.0
librt.so.1 = /lib/librt.so.1
libresolv.so.2 = /lib/libresolv.so.2
libm.so.2 = /lib/libm.so.2
libnsl.so.1 = /lib/libnsl.so.1
libsocket.so.1 = /lib/libsocket.so.1
libxml2.so.2 = /usr/lib/libxml2.so.2
libssl.so.0.9.8 = /usr/sfw/lib/libssl.so.0.9.8
libcrypto.so.0.9.8 = /usr/sfw/lib/libcrypto.so.0.9.8
libdl.so.1 = /lib/libdl.so.1
libc.so.1 = /lib/libc.so.1
libmp.so.2 = /lib/libmp.so.2
libmd.so.1 = /lib/libmd.so.1
libscf.so.1 = /lib/libscf.so.1
libpthread.so.1 = /lib/libpthread.so.1
libuutil.so.1 = /lib/libuutil.so.1
libgen.so.1 = /lib/libgen.so.1
libssl_extra.so.0.9.8 = /usr/sfw/lib/libssl_extra.so.0.9.8
libcrypto_extra.so.0.9.8 = /usr/sfw/lib/libcrypto_extra.so.0.9.8

Thanks for your help.

Eric

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


[osol-discuss] Equivalent of OBP 'probe-scsi-all' from inside solaris on x86?

2007-12-11 Thread Kyle McDonald
Hi all,

I have a server with 2 FCAL cards.
Each card has 2 ports.

There are 4 cables running into these 4 ports.
There are 4 other cables that are currently unused.

I know there's supposed to be some redundancy in how the SAN is 
setup,but it's out of my control, and I the person to ask isn't around 
right now. It's my understanding that 4 of the cables should see one set 
of disks, and 4 should see another set.

I'd like to get 2 cables from each of the 2 sets and leave 2 cables in 
each set for a later date. So I'm trying to figure out which disks are 
seen via which cables?

So far Solaris only sees 1 controller 'c0', and see's 18 disks, pretty 
much no matter which 4 cables I plug in.

Is there an easier way to do this?

If not something like 'probe-scsi-all', is there something like 'snoop' 
for FCAL?

  -Kyle

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


Re: [osol-discuss] Laptop testing OpenSolaris (Indiana) on ODM laptops

2007-12-11 Thread W. Wayne Liauh
 Well, maybe if the Sun licensing meant I got a free
 one :)   
 Otherwise, that form factor really isn't my cup of
 tea at all.
 
 Cheeri,
 Calum.
 

Well, we have very different understandings of the term Sun licensing (do 
you think Sun will allow the Asus EeePCs to use its name as is?) :-)  The 
EeePCs do look faddy on the outside:

http://taiwan.cnet.com/digilife/0,289053,20126344,00.htm

i.e., until you open the lid (both the LED screen and the OS do not really 
appeal to professionals).

Everex is coming out with an UMPC with a similar form factor:

http://www.linuxdevices.com/news/NS6962839488.html

Can't comment on it until I actually look at one.

However, I am curious if there is a possibility of a SunRay-type nano-notebook?
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Send Link in Firefox

2007-12-11 Thread John Brewer
Review and Install the latest patches, the 10u4 with out patches had a mime 
type issue in gnome with thunderbird: 
This was a Bug ID6608688
Synopsisgnome mime types not defined for in line url within mail 
message body Thunderbird
even though it was  a duplicate of not being able to read the readme link 
6565136
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] snv_b78 download ready?

2007-12-11 Thread John Brewer
Any news on the snv_b78 download?
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org