[osol-discuss] Solaris 11 Express -> Solaris 11 / iBus problems

2011-12-07 Thread Rob McMahon
I know this isn't really OpenSolaris related, but I don't know of a 
better list.


I've just done the pkg image-update to take me from express 151.0.1.12.  
I tried a couple of weeks ago, and was left with an unusable boot 
environment.  I was left without a graphical screen at a login prompt.  
My old account was rejected "Login incorrect", and root said "empty 
password not allowed".  I didn't have time then to investigate, so I 
just booted back into the old environment for a while.


I've just tried again, with the same result.  Along the way were several 
messages about services auto-snaphot:* "in conflict" and in maintenance, 
and "hostname not found: ntp.whatever".  No graphics, and no login as above.


I won't go through all the reboots into single user mode to fix the 
situation, but basically the upgrade trashes at least nsswitch.conf, 
passwd, and shadow and /etc/default/nfs.


nsswitch.conf has been moved to properties of service 
name-service/switch, but the upgrade doesn't take across your old 
settings, so I had to (in single user mode)


svccfg -s name-service/switch
setprop config/default = "files nis"
setprop config/host = "files dns nis"
setprop config/enable_passwd_compat = true
end

We use NIS with for most stuff with "compat" for passwd.  There are dire 
warnings about compat mode going away, and to use pam.list, but this 
doesn't cover doing


+user1
+user2
+:*:/bin/false

as far as I can tell, and we use that a lot so that, e.g., `ls -l` can 
come up with sensible names even though the users have no access to the 
local machine.


/etc/passwd and /etc/shadow have also had all the `+' entries removed, 
so those need fixed back to where they were.  I can now log in to the 
X.  `su root' doesn't ask for a password (!)  What happened to my old 
root password ??  So - su ; passwd root.  Now it won't let me get to 
root at all, through su or pfexec :-(


My home directory is all owened by nobody:nobody.  The config from 
/etc/default/nfs has moved to a property within sharectl.  It took me a 
while to realise it wasn't really a property of nfs/mapid, svcprop shows 
it as nfs-props/nfsmapid_domain, but svccfg doesn't let you set it 
there: "nfs-props is not a property group".  That's fairly confusing, 
although it's my fault for not actually reading the new 
/etc/default/nfs.  So anyway, back to single user and


sharectl set -p nfsmapid_domain=... nfs
svcadm enable rpc/bind
svcadm enable nis/client
usermod -R root user
usermod -P 'Systems Administrator' user
Add
user ALL=(ALL)ALL
to /etc/sudoers for good measure.

And I'm in and working.  I hope this helps some people.

Now I have everything but my gDesklets (I miss my clock ...), which 
seems to have gone from Accessories, and my input-method, which I need.  
I was using it before, but it's gone from my taskbar.  I go to 
"System->Preferences->Input Method Selector".  It's disabled, so I 
enable it and select iBus.  It tells me to re-login, which I do.  Then I 
go to "System->Preferences->Input Method - iBus" and (re-)configure it.  
It's all accepted, but no icon appears in the task bar.  "ibus-daemon 
--xim" is running (x2).  If I go back into the iBus configuration, it's 
forgotten my last settings.


Any ideas how I can get my input-method working again ?  It's a bit of a 
show-stopper.


Cheers,

Rob

--
E-Mail: rob.mcma...@warwick.ac.uk   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


Re: [osol-discuss] Oracle Solaris 11 - The First Cloud OS

2011-11-10 Thread Rob McMahon

On 09/11/2011 22:29, Shawn Walker wrote:



I suggest someone adds a note on how to find and remove problematic
opensolaris.org packages. I'm sure anyone who has a system which started
life as an OpenSolaris box with have some.



Just for reference for this searching and finding this thread:

pkg uninstall 'pkg://opensolaris.org/*' \
  'pkg://contrib.opensolaris.org/*'


Uh-oh, this is getting messy:

> pfexec pkg uninstall openoffice

Creating Plan /
pkg uninstall: The requested change to the system attempts to install 
multiple actions

for dir 'usr' with conflicting attributes:

11 packages deliver 'dir group=bin mode=0755 owner=root path=usr', 
including:

pkg://ips.homeunix.com/MBLfaad2@2.7,5.11:20090604T101850Z

pkg://ips.homeunix.com/MBLgst-plugin-asf@0.10.11,5.11:20090717T122857Z

pkg://ips.homeunix.com/MBLgst-plugin-ffmpeg@0.10.6,5.11:20090704T135053Z

pkg://ips.homeunix.com/MBLgst-plugin-lame@0.10.11,5.11:20090620T050756Z

pkg://ips.homeunix.com/MBLgst-plugin-mad@0.10.11,5.11:20090620T050840Z
538 packages deliver 'dir group=sys mode=0755 owner=root path=usr', 
including:

pkg://opensolaris.org/developer/gcc/gcc-43@4.3.3,5.11-0.133:20100306T002008Z

pkg://opensolaris.org/developer/gcc/gcc-libgcc@4.3.3,5.11-0.133:20100306T002102Z

pkg://opensolaris.org/developer/gcc/gcc-libgfortran@4.3.3,5.11-0.133:20100306T002113Z

pkg://opensolaris.org/developer/gcc/gcc-libgomp@4.3.3,5.11-0.133:20100306T002124Z

pkg://opensolaris.org/developer/gcc/gcc-libobjc@4.3.3,5.11-0.133:20100306T002135Z


These packages may not be installed together.  Any non-conflicting set may
be, or the packages must be corrected before they can be installed.

>

I'll persevere with unpicking this.

Rob

--
E-Mail: rob.mcma...@warwick.ac.uk   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


Re: [osol-discuss] fork1() fails with ENOMEM

2011-02-24 Thread Rob McMahon

On 23/02/2011 19:34, Bill Shannon wrote:


Is there an easy way to add more swap space to a system that's using 
zfs for

swap space?  I tried mkfile and swap -a but that doesn't work.

This one I can answer, because I've just been through it.  This worked 
for me


> swap -l
swapfile dev  swaplo blocks   free
/dev/zvol/dsk/rpool/swap 256,1  16 67108848 25095728
> calc 67108848+16 # blocks + swaplo
67108864
> zfs set volsize=64G rpool/swap
> zfs set refreserv=64G rpool/swap
> env NOINUSE_CHECK=1 swap -a /dev/zvol/dsk/rpool/swap 67108864 # 
blocks + swaplo from swap -l

> swap -l
swapfile dev  swaplo blocks   free
/dev/zvol/dsk/rpool/swap 256,1  16 67108848 25095728
/dev/zvol/dsk/rpool/swap 256,1  67108864 67108864 67108864
> swap -s
total: 33592920k bytes allocated + 246624k reserved = 33839544k used, 
47414296k available

>

Rob

--
E-Mail: rob.mcma...@warwick.ac.uk           PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


Re: [osol-discuss] can you help about process?

2011-01-14 Thread Rob McMahon

On 14/01/2011 15:02, Michael Schuster wrote:

On Fri, Jan 14, 2011 at 15:55, Deric Kwok  wrote:

Thank you all.

prstat works but I would like to have more detail.

ls there any command as linux "lsof -p" to trace the process info

prstat -m is probably more to your liking then - have a go at the
man-page, it provides a lot of detail :)

... and `pfiles /pid/' gives a lot of what `lsof -p' gives.

Rob

--
E-Mail: rob.mcma...@warwick.ac.uk   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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

Re: [osol-discuss] [OpenIndiana-discuss] Solaris 11 Express available

2010-11-16 Thread Rob McMahon

On 15/11/2010 16:32, Thorsten Heit wrote:

Oracle today released its first version of Solaris 11 Express:
http://www.oracle.com/technetwork/server-storage/solaris11/overview/index.html

Just two gotchas so far, creating a new boot environment from 
OpenIndiana (which boot environment I plan to maintain and nuture).


The first is that it trashes your nsswitch.conf again.  I've had this 
before, so I knew exactly what had happened, but it fundamentally meant 
I couldn't access any NFS filesystems.   It changed it from a slightly 
modified NIS version, with the addition of compat to the passwd line and 
dns to the hosts and ipnodes lines, back to a raw files version.  Make 
sure you keep a copy of your working one.


The second is the run of /usr/lib/time-slider-cleanup four times an hour 
from crontab, which is now sending me email all the time.  This script 
has disappeared, and I'm not sure what the replacement is or if it's 
necessary any more.  I'd appreciate thoughts on this.


Some interesting messages (on my Sun Ultra 40 M2 Workstation):

Nov 16 11:56:05 wonky genunix: [ID 484473 kern.notice] NOTICE: Not 
retired: /p...@0,0/pci10de,3...@f/disp...@0
Nov 16 11:56:15 wonky gdm-binary[1417]: [ID 702911 daemon.warning] 
WARNING: Got console request to add display for session that already has 
a display, and display is already in use
Nov 16 11:56:26 wonky console-kit-daemon[671]: [ID 702911 
daemon.warning] GLib-GObject-WARNING: g_object_set_property: construct 
property "seat-id"  for object `CkSession' can't be set after construction


None of these seems to be a major problem since the machine is working 
fine, but I'm curious, especially about the display warnings.  Googling 
doesn't come up with anything interesting.


Cheers,

Rob

--
E-Mail: rob.mcma...@warwick.ac.uk   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


Re: [osol-discuss] Bordeaux running on OpenIndiana

2010-10-05 Thread Rob McMahon

 On 05/10/2010 08:34, Orvar Korvar wrote:

> From the website:
"If over the next month we sell 50 or more licences for the future OpenIndiana 
release we will give OpenIndiana priority and release Bordeaux 3.0 for OpenIndiana first 
in our next release schedule."

But I dont think that OpenIndiana is too stable yet? Because it is the first 
release. When we see next release of OpenIndiana I will try it. But not now, as 
it has been rushed out. Wait a bit, and then everybody will use OpenIndiana.
I think you should try it.  I've had exactly two problems with it: 
persuading NWAM to leave my nsswitch.conf file alone:


nwamcfg
> select loc user
> set nameservices-config-file="wherever"
> end

and getting it to recognise the UK keyboard on my laptop (it knows about 
the one on my Sun workstation).  (Ewald Ertl says to try `svccfg -s 
svc:/system/keymap:default' and I will tonight, thanks.  I confess I 
never thought to look in illumos.org for issues, since this release 
isn't yet based on illumos.)


Apart from that, it's been solid.  I'm not sure how rushed it's been: it 
sounds like it's been in the pipeline for a while, and looks pretty 
polished.


Rob

--
E-Mail: rob.mcma...@warwick.ac.uk   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, EnglandErtl

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


Re: [osol-discuss] Doc for build upgrade

2010-09-06 Thread Rob McMahon

 On 02/09/2010 16:25, Ali Bahrami wrote:
I've just been trying this, and it all went without a hitch up to 
the point where you're supposed to reboot into 145. I have no 
errors, and I'm in the new boot environment:


os-devel_145 NR / 86.05G static 2010-09-02 11:42

but uname still says snv_134, which doesn't sound right to me. I'm 
going to continue with the code download and build, but I'm 
suspicious now.
Okay, sorry to reply to myself, but I think this is terminal. `dmake 
setup' fails with


ld: fatal: 
.../illumos-gate/usr/src/common/mapfiles/common/map.noexstk: 31: 
expected a `=', `:', `|', or `@'

*** Error code 1
dmake: Fatal error: Command failed for target `cw'



   The necessary support for the new mapfiles integrated in snv_135. 
It does

look like your build system is still at 134.

Yup, this is one area I think IPS needs some work.  By default it tells 
you nothing (only "nothing to do" type messages), with -v it gives you 
pages and pages of messages about things that are just fine, with error 
messages buried in the noise.  There should be something in between.


A second attempt to do by hand what onu does, but with some -v's thrown 
in revealed that the package system/zones/brand/lx threw up an 
"incompatible" error.  Trying to uninstall this reported that 
slim_install depended on it.  So adding in


pfexec pkg uninstall -v slim_install
pfexec pkg uninstall -v system/zones/brand/lx

before running onu got me going.
I am now the proud owner of two Ilumos systems.  I had to do this on 
both machines.


I hope this helps others out there.  Can we get the build document 
(http://illumos.org/projects/illumos-gate/wiki/How_To_Build_illumos) 
updated ?


Rob

--
E-Mail: rob.mcma...@warwick.ac.uk   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


Re: [osol-discuss] Doc for build upgrade

2010-09-02 Thread Rob McMahon

 On 02/09/2010 12:30, Rob McMahon wrote:

 Eric Andersen wrote:
If you want to build the official Oracle ON, I don't know.  I think 
you need access to closed bits of the OS.


If you want to move to the Illumos ON, there are instructions here 
(at least to get you to 145, not sure about 146):


http://illumos.org/projects/illumos-gate/wiki/How_To_Build_illumos

I've just been trying this, and it all went without a hitch up to the 
point where you're supposed to reboot into 145.  I have not errors, 
and I'm in the new boot environment:


os-devel_145 NR /  86.05G  static 2010-09-02 11:42

but uname still says snv_134, which doesn't sound right to me.  I'm 
going to continue with the code download and build, but I'm suspicious 
now.
Okay, sorry to reply to myself, but I think this is terminal.  `dmake 
setup' fails with


ld: fatal: .../illumos-gate/usr/src/common/mapfiles/common/map.noexstk: 
31: expected a `=', `:', `|', or `@'

*** Error code 1
dmake: Fatal error: Command failed for target `cw'

This line is

$mapfile_version 2

So I suspect I'm running an old version of ld.  `ld' is

ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.1689

Can someone confirm that this should have been updated with the move 
from 134 -> 145, and let me know what version the ld in that release 
should be.  onu.sh under the new BE says "No updates available for this 
image".


Any tips (even a "works for me" sent to me off list would be an 
encouragement to go back and see where I went wrong).


Cheers,

Rob

--
E-Mail: rob.mcma...@warwick.ac.uk   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


Re: [osol-discuss] Doc for build upgrade

2010-09-02 Thread Rob McMahon

 On 02/09/2010 11:49, Nikola M wrote:

Eric Andersen wrote:

If you want to build the official Oracle ON, I don't know.  I think you need 
access to closed bits of the OS.

If you want to move to the Illumos ON, there are instructions here (at least to 
get you to 145, not sure about 146):

http://illumos.org/projects/illumos-gate/wiki/How_To_Build_illumos


I updated from 134 to Illumos 145 OS/Net using instructions.
Point is that after booting in 145, one can download source and continue
to build Illumos nightly.
(also explained in the manual)

I've just been trying this, and it all went without a hitch up to the 
point where you're supposed to reboot into 145.  I have not errors, and 
I'm in the new boot environment:


os-devel_145 NR /  86.05G  static 2010-09-02 11:42

but uname still says snv_134, which doesn't sound right to me.  I'm 
going to continue with the code download and build, but I'm suspicious now.


Rob

--
E-Mail: rob.mcma...@warwick.ac.uk       PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


Re: [osol-discuss] SchilliX-0.7.0 ready for testing

2010-07-25 Thread Rob McMahon

 On 24/07/2010 23:27, Shawn Walker wrote:


The version of pkg(5) that will be part of b144 should deliver 
somewhere around a 20% or greater performance improvement in transport 
performance when used with a properly configured web and/or depot server.


Do you know how frustrating it is when people say "putback in b135", 
"fixed in b140", "the version in b144 is so much better" when we're all 
stuck at b134.  Aagh.


Rob

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


Re: [osol-discuss] Why do we need Oracle's permission or vision for OpenSolaris?

2010-07-16 Thread Rob McMahon

 On 15/07/2010 22:47, Alasdair Lumsden wrote:

IMHO, The Oracle/Sun provided OpenSolaris reference distribution (henceforth 
referred to as Indiana to avoid confusion) has done the community a disservice, 
in the sense that it has prevented a community from producing something itself.

All the other OpenSolaris based distributions such as Schillix, Nexenta etc all 
cater for particular niches, but what what's needed is a community produced 
version of Indiana. One with the same (or at least, similar) goals with an 
identical/similar architecture including aspects such as IPS, Automated 
Installer, Zones, etc.

As long as Oracle/Sun continue to release their own distribution, the community 
has no real reason to do so. Well, perhaps now is the time for this to happen. 
Perhaps what is needed is an agreement with Oracle along the lines of:

1. Oracle agrees to continue to provide the source code for OpenSolaris 
(nevada), along with constituent parts (such as IPS/pkg). Oracle continue to 
provide bug and security fixed updates to the closed source binaries.

2. OpenSolaris 2010.xx is never released, but becomes Solaris Next.

3. The community steps up and produces it's own version of Indiana, tracking 
Solaris Next as best it can in a binary and package compatible way.

4. The community maintains it's own source code repository that developers can 
commit to, and Oracle takes community improvements that they want.

This frees Oracle from their obligation to the community, and allows them to 
maintain their secrecy and radio silence. But it forges an even stronger 
community that can stand on it's own legs.

Obviously the issue the community has is that we've never had the ability to 
produce the distribution itself. We don't have the ability to build all the 
packages that go into the IPS repo, nor produce the Live CD, nor do we have an 
installer. And of course, finding people to do the actual work would present a 
significant challenge.

The good news is that there is a community out there. There are the community 
members who have been involved with the OpenSolaris derived distributions. 
There are ex Sun/Oracle staff who have moved to other companies, such as 
Nexenta. There are projects such as OSUnix who are trying to produce their own 
OS from the OpenSolaris codebase by replacing the closed binaries/code (such as 
the internationalised bits of libc).

Not to mention, there's Blastwave and OpenCSW who are already building large 
amounts of software for Solaris/OpenSolaris, and if one/both decided to 
contribute, we have a huge source of software packages for the community based 
distro.

If the fragmented OpenSolaris community rallied round and came together, I'm quite 
confident a community based distribution could thrive. Indeed, if Solaris Next does 
become an "Oracle Hardware Only" OS, then an entire company providing support 
for the community based distribution would definitely have legs, and this could 
potentially afford to pay staff to work on building the distribution full time. Solaris 
is run by a very large number of people on Dell/HP/etc kit and these users would no doubt 
be eager to jump onto such a distribution.

I'm going to be talking about my thoughts on this at the London OpenSolaris 
Users Group later this month, if anyone is in London and wants to come along. 
And of course I'd appreciate peoples comments here on this thread.

Alasdair
+1  I've added distribution-discuss to this, where I've already tried to 
say much the same thing, although you put it better.  I'm sure there are 
enough of us out here to get this rolling.


Rob

--
E-Mail: rob.mcma...@warwick.ac.uk   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


Re: [osol-discuss] Community distro

2010-07-14 Thread Rob McMahon

 On 14/07/2010 15:36, Dennis Clarke wrote:

- Original Message -
From: Alan Coopersmith
Date: Wednesday, July 14, 2010 10:25 am
Subject: Re: [osol-discuss] Community distro
To: dcla...@blastwave.org
Cc: Rob McMahon, Open 
Solaris, distribution-disc...@opensolaris.org



Dennis Clarke wrote:

   So, let's get positive here.  Where do we get started to form a
Community Distro, based on the latest sources including IPS. ...
We have Rich Lowe's work for starters, but I wouldn't know how to
take that and form a repository.

I have no love for that python disaster called IPS.

I still use SVR4 packages that get released from Blastwave and those work
for the most part. To hell with that issue at the moment.

Then your distro will be forked from the Oracle released sources and you'll

Well of course.

The idea behind a "community" distro is to get away from the problems Oracle 
has caused.
I was thinking of it more as a way to get around the *access* problems 
Oracle (not Sun) has created, and track the development going on inside 
Oracle.  You don't like IPS, fair enough, but that's clearly going to be 
Solaris's future, and maybe by the time Solaris Next becomes product, 
and with our input, it can become a system you can live with.  Without 
it, you can't access the extra and contrib repositories, for instance.  
Me, I was getting on with it okay until the repositories got frozen.

Regardless the idea of a community distro is one that anyone can work with and 
build on and add to.

You CAN NOT do that as things stand today.
Why so.  What are the problems in doing this ?  What information don't 
we have to build our own repository ?  We can work with the source, and 
provide feedback, bug reports, and code suggestions.

Whose gates ?

You mean the ones controlled by Oracle ?

Do we care anymore ?

I do.  Let's face it, the vast majority of input to OpenSolaris comes 
from Oracle, née Sun, engineers.  We don't want to just take the code 
frozen as is, create our own OS, and ignore any changes Oracle are making.

Start at the bottom. The closed sources and the i18n issues. Start there.
That's good too, let's support the emancipation project, but to me that 
seems a separate problem.

Because right now there is NO way that anyone outside of Oracle can build 
OpenSolaris without internal people working on closed code bits.
We still have access to the closed source bits (okay, they're frozen at 
'134 for now, but should carry on working for a long while)..

After five years this "open source" project is still strung up in *critical* 
closed bits.


Separate project.  Yup, that needs done too.

Rob

--
E-Mail: rob.mcma...@warwick.ac.uk   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


[osol-discuss] Community distro

2010-07-14 Thread Rob McMahon
 So, let's get positive here.  Where do we get started to form a 
Community Distro, based on the latest sources including IPS.  Not a cut 
down version, or replacing the userland (no offence there, that's good 
work too), just a take on Solaris Next based on the latest available 
bits.  We have Rich Lowe's work for starters, but I wouldn't know how to 
take that and form a repository.  Can we talk about this and get 
something started ?


Rob

--
E-Mail: rob.mcma...@warwick.ac.uk   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


Re: [osol-discuss] [opensolaris-discuss] Were to from here?

2010-07-13 Thread Rob McMahon

 On 13/07/2010 03:38, John Plocher wrote:

On Mon, Jul 12, 2010 at 2:16 PM, Giovanni Tirloni  wrote:

Sorry for sounding so pessimist, it feels terrible to see the OpenSolaris 
project going through all of this.

It feels worse to be on the OGB and still being able to do so little
about the problem.

Even the obvious alternative (go do a fork...) is a practical
impossibility for the OGB - even though two members are
distro-creators in their own right, the OGB as the *OpenSolaris
Community Governing Board* doesn't have the resources, time or (IMHO)
moral right to hijack the community that Sun/Oracle chartered and
start up what would effectively be an organization that would compete
with Sun/Oracle in developing a Solaris derivitive...

(Which is not to say that someone else couldn't, shouldn't or wouldn't...)

Does it really need to be a complete fork ?  Can we not get an IPS 
repository set up, akin to dev, where we could follow where the 
OpenSolaris / Solaris Next development is going.  After all, the source 
is still there, and being updated.  Bug reports are still being actioned 
as far as I know.
There are several distros out there, but most of them seem to be aimed 
at different takes with the OpenSolaris kernel at the heart (different 
userland, different packaging, different purposing (LiveCDs, etc)).
Rich Lowe produced the *on-nightly-142.i386.tar.bz2* 
<http://genunix.org/dist/richlowe/on-nightly-142.i386.tar.bz2>, with 
instructions, and that was really welcome, though it didn't play nicely 
for me with NWAM and I managed to break my install.  Can we not 
collectively continue this sort of work, add the missing bits, and set 
up an IPS repository.  I'd be willing to spend some of my spare time 
helping out where I can.


Rob

--
E-Mail: rob.mcma...@warwick.ac.uk       PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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

Re: [osol-discuss] SNV_142 Test DVD & Blastwave's AMP stack

2010-06-21 Thread Rob McMahon

 On 21/06/2010 07:15, Hernan Saltiel wrote:

Thanks to Rich Lowe, I know what I did in the wrong way.
Here is what needs to be done in order to have a working onnv_142 
OpenSolaris:


a) Install OpenSolaris snv_134 (this is my case only).

b) Create a directory where to put the untar'ed, unbzip2'ed binaries:
   1) mkdir -p /export/repo

c) Untar and unbzip2 the binaries:
   1) cd /export/repo
   2) tar jxvf /path/to/file/on-nightly-142.i386.tar.bz2

d) Start the local repository in one terminal window (it cannot be 
closed):

   1) /usr/lib/pkg.depotd -d /export/repo/on-nightly-142.i386 -p 13000

e) Execute onu.sh, downloaded from 
http://www.opensolaris.org/sc/src/onnv/onnv-gate/usr/src/tools/scripts/onu.sh

   1) cd /opt (where I want onu.sh downloaded)
   2) wget 
http://www.opensolaris.org/sc/src/onnv/onnv-gate/usr/src/tools/scripts/onu.sh

   3) chmod +x onu.sh
   4) ./onu.sh -Ot on-nightly-142.i386 -u http://localhost:13000

f) After the upgrade, poweroff the machine.
   1) poweroff

g) Boot again, and be happy! I have, now, an onnv_142 OpenSolaris!!!

Thanks again for the help, and best regards,

HeCSa.
Thank you, thank you, and thanks so much to Rich Lowe (I'd thank you 
personally, but don't have your email address).   This process took 
minutes only (the longest was the download), and now I'm running


SunOS wonky 5.11 onnv-build:onnv_142 i86pc i386 i86pc Solaris

The only one thing I noticed which made me nervous was that it left the 
new boot environment mounted on /tmp/...  I did a


beadm umount on-nightly-142

before rebooting, because that's given me problems before, I think it 
caused /opt to be empty.   I also just did init 6, not poweroff / on.  I 
hope that doesn't come back to bite me ...


A happy camper,

Rob

--
E-Mail: rob.mcma...@warwick.ac.uk       PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


Re: [osol-discuss] Where is OpenSolaris 2010 release?

2010-06-10 Thread Rob McMahon

 On
Okay, I'm on the verge of giving up, because I don't know how to 
progress from here.  I've hg cloned, pulled, and updated onnv-gate, 
installed the closed binaries and the crypto stuff, updated the Sun 
compiler suite, added some symlinks so the build process could find 
them, copied stuff from /opt/onbld into the proto dir, hacked the env 
script to stop it undoing all my changes, and I felt like I was 
getting really close.  I can't get past this one, though, and don't 
know how to move on.  This error causes all manner of stuff to fail 
later on.  Any clues ?
Okay, again, and sorry to follow up to myself.  It's clear that some 
people have checked in changes which do not `gcc -Wall' clean and the 
`-Werror' is causing that to make the build fail.  I'll work on these as 
and when I have time.


It's not just './configure ; make ; make install' though :-)  Certainly 
not just `sh nightly'.


Rob

--
E-Mail: rob.mcma...@warwick.ac.uk   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


Re: [osol-discuss] Where is OpenSolaris 2010 release?

2010-06-10 Thread Rob McMahon

 On 10/06/2010 10:08, Rob McMahon wrote:


;)))
 Hm-m-m-m-m-m-m-m-m... O.k, I'll consider bying it somewhat later 
if you kindly explain me where's the keyboard there to type "pfexec 
nightly.sh"...
Have you actually done this ?  I've been trying to do this on and off 
for two weeks, and I'm still trying.  If you have a recipe that works, 
that would be great.  When I finally get a working version, I'll try 
to recreate it and post the results.


Rob

Okay, I'm on the verge of giving up, because I don't know how to 
progress from here.  I've hg cloned, pulled, and updated onnv-gate, 
installed the closed binaries and the crypto stuff, updated the Sun 
compiler suite, added some symlinks so the build process could find 
them, copied stuff from /opt/onbld into the proto dir, hacked the env 
script to stop it undoing all my changes, and I felt like I was getting 
really close.  I can't get past this one, though, and don't know how to 
move on.  This error causes all manner of stuff to fail later on.  Any 
clues ?


wonky --> Job output
/export/testws/usr/src/tools/proto/opt/onbld/bin/i386/cw -_cc -O  -Xa  
-xildoff -errtags=yes -errwarn=%all -erroff=E_EMPTY_TRANSLATION_UNIT 
-erroff=E_STATEMENT_NOT_REACHED -xc99=
%none-W0,-xglobalstatic -g -xc99=%none -W0,-noglobal 
-_gcc=-fno-dwarf2-indirect-strings -xdebugformat=stabs -DNATIVE_BUILD  
-I ../common -I/usr/include/libxml2  -I/export/tes
tws/usr/src/lib/libscf/inc  -I/export/testws/usr/src/lib/libtecla  
-I/export/testws/usr/src/lib/libuutil/common -c -o 
manifest_find-native.o ../common/manifest_find.c
+ /usr/sfw/bin/gcc -fident -finline -fno-inline-functions -fno-builtin 
-fno-asm -nodefaultlibs -D__sun -O -Wall -Wno-unknown-pragmas 
-Wno-missing-braces -Wno-sign-compare -Wno-pa
rentheses -Wno-uninitialized -Wno-implicit-function-declaration 
-Wno-unused -Wno-trigraphs -Wno-char-subscripts -Wno-switch -Werror 
-std=gnu89 -gdwarf-2 -std=gnu89 -fno-dwarf2-in
direct-strings -DNATIVE_BUILD -I ../common -I/usr/include/libxml2 
-I/export/testws/usr/src/lib/libscf/inc 
-I/export/testws/usr/src/lib/libtecla -I/export/testws/usr/src/lib/libuu
til/common -c -o /tmp/nightly.tmpdir.25649/.cwCAArhaqJK.o 
../common/manifest_find.c

../common/manifest_find.c: In function `find_manifests':
../common/manifest_find.c:253: warning: return makes integer from 
pointer without a cast
+ /opt/SUNWspro/bin/cc -O -Xa -xildoff -errtags=yes -errwarn=%all 
-erroff=E_EMPTY_TRANSLATION_UNIT -erroff=E_STATEMENT_NOT_REACHED 
-xc99=%none -W0,-xglobalstatic -g -xc99=%none -
W0,-noglobal -xdebugformat=stabs -DNATIVE_BUILD -I ../common 
-I/usr/include/libxml2 -I/export/testws/usr/src/lib/libscf/inc 
-I/export/testws/usr/src/lib/libtecla -I/export/testws
/usr/src/lib/libuutil/common -c -o manifest_find-native.o 
../common/manifest_find.c

*** Error code 1
dmake: Warning: Command failed for target `manifest_find-native.o'
Current working directory 
/export/home/cudcv/onnv-gate/usr/src/cmd/svc/svccfg


Cheers,

Rob

--
E-Mail: rob.mcma...@warwick.ac.uk   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


Re: [osol-discuss] Where is OpenSolaris 2010 release?

2010-06-10 Thread Rob McMahon

 On 10/06/2010 06:44, Andrew Kolchoogin wrote:

Have I got a car for you, next time you're looking
for one:

http://www.treehugger.com/picture-is-worth-sum-car-parts.jpg

Easy assembly. Shouldn't take you long.

Oh wait...

 Hm-m-m-m-m-m-m-m-m... O.k, I'll consider bying it somewhat later if you kindly 
explain me where's the keyboard there to type "pfexec nightly.sh"...

;)))
Have you actually done this ?  I've been trying to do this on and off 
for two weeks, and I'm still trying.  If you have a recipe that works, 
that would be great.  When I finally get a working version, I'll try to 
recreate it and post the results.


Rob

--
E-Mail: rob.mcma...@warwick.ac.uk   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


Re: [osol-discuss] Where is OpenSolaris 2010 release?

2010-06-07 Thread Rob McMahon

 On 07/06/2010 13:00, Aurélien Larcher wrote:

Hi all,
I think it's a bit boring having emails on this list every week, complaining about the 
release being "missing" for 1, 2, 3, 4 months.
It is.  What I'd really like is step-by-step instructions to build from 
source.  Having finally got fairly frustrated (fuelled by comments like 
"fixed in build 140"), I started trying a few days ago, off and on.  
It's not so easy.  My last attempt failed with:


Aborting due to missing compiler.

even though I have

> cc -V
cc: Sun Ceres C 5.10 SunOS_i386 2009/03/06

It comes from

if /export/testws/usr/src/tools/proto/opt/onbld/bin/i386/cw -_cc 
-_versions >/dev/null 2>/dev/null; then ...


which doesn't exist, /export/testws/usr/src/tools/proto is empty, 
although /opt/onbld/bin/i386/cw does exist.


I'll keep trying, but it ain'a that easy.

Rob

--
E-Mail: rob.mcma...@warwick.ac.uk   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


Re: [osol-discuss] This is how Oracle treats open communities and projects. Will OGB intervene?

2010-05-10 Thread Rob McMahon

On 10/05/2010 14:15, Dave Johnson wrote:



Here is the evidence:
   

Note the date on this one.  Wasn't this before the Oracle takeover ?

Evidence 1:
- Project cooperation with ksh project withdrawn
- GNU commands as replacements are the futur

-- Forwarded message --
From: John Sonnenschein
Date: Fri, Dec 4, 2009 at 6:01 PM
Subject: Re: Removal of some redundant GNU utilities [PSARC/2009/660
FastTrack timeout 12/10/2009]
To: psarc-...@sun.com


After discussions with the OpenSolaris architect and lead, I withdraw
this case. It was premature and will be revised as part of a bigger
project to provide Solaris modernization using GNU utilities for /usr/bin.

-JohnS
___
opensolaris-arc mailing list
opensolaris-...@opensolaris.org
   

Rob

--
E-Mail: rob.mcma...@warwick.ac.uk   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


Re: [osol-discuss] Upgrade 133 -> 134, now can't boot anything :-(

2010-03-18 Thread Rob McMahon

On 11/03/2010 12:07, Rob McMahon wrote:
   Thanks for the suggestions, but I think this is my own fault.  I 
think I've shot myself in the foot by enabling compression on rpool.



Replying to myself in case anyone else gets themselves in this position.

What worked for me was to burn a new 134 iso and boot from it.
zpool import # lists available pools
zpool import -f rpool# makes the pool available
zfs set compression=off /rpool# undo the over-zealous compression
beadm list   # See alternative boot environments
beadm activate opensolaris-133# Revert to previous environment - I 
couldn't find a way of fixing 134 directly

zpool export rpool
init 6   # Reboot into previous version
# Once in 133
beadm activate opensolaris-134# Go to new release, new files are 
written uncompressed, I guess

init 6   # Reboot into latest version

And I'm back in action.  I can't say this is the most efficient way to 
do it, but it's what worked for me.


Rob

--
E-Mail: rob.mcma...@warwick.ac.uk   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


Re: [osol-discuss] Upgrade 133 -> 134, now can't boot anything :-(

2010-03-11 Thread Rob McMahon

On 10/03/2010 19:40, alan pae wrote:

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

http://opensolaris.org/jive/thread.jspa?threadID=125486&tstart=0

http://opensolaris.org/jive/thread.jspa?threadID=125445&tstart=0

alan
   
Thanks for the suggestions, but I think this is my own fault.  I think 
I've shot myself in the foot by enabling compression on rpool.


So: `root (TAB'
gives you a nice clue about how to proceed, it says there's a ZFS 
filesystem at partition 2.

`findroot (pool_rpool, 2, a)'
succeeds, and finds me a root filesystem
`cat /boot/grub/menu.list'
finally tells me the problem: "unsupported compression algorithm" (or 
along those lines, sorry, this is from memory, I can't capture the output).
So I think I need to boot from a DVD of a sufficiently current release 
to understand the zpool/zfs versions, import the pool, turn off 
compression, trash the (compressed) new boot environment, activate the 
previous environment, and hope I'm back on track.  I do think the system 
should have told me that I was making my rpool unbootable by turning on 
compression, though, and made me use a `-f' flag or something.

Rob

--
E-Mail: rob.mcma...@warwick.ac.uk   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


[osol-discuss] Upgrade 133 -> 134, now can't boot anything :-(

2010-03-10 Thread Rob McMahon

I'm sure this should be a FAQ, but I'm having trouble finding the answer.

Yesterday I "upgraded" my laptop from 133 to 134.  The upgrade went 
without a hitch, and the fast reboot gave me a working system.  I then 
shut it down, feeling all confident, but now when I try to boot it I 
just get to the "grub>" prompt.  No error messages or anything.  I 
should have been watching this list more closely, but I have no idea 
where to go from here.


Help!  What's my next step ?  I know I have a working OS on there 
somewhere (in fact a couple, because I have Windows Vista on there too), 
but I don't know how to find it.  The help at the grub menu is less than 
helpful.


I'm a bit worried, because I upgraded this machine, my work machine, as 
well, but I don't dare to reboot it now.  I was just getting too cocky 
with the alternative boot environments, and thinking if it all went 
wrong I could just go back.


Cheers,

Rob

--
E-Mail: rob.mcma...@warwick.ac.uk   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


[osol-discuss] Non-working external microphone

2009-12-07 Thread Rob McMahon
I have a laptop, running OpenSolaris 128a:

System Configuration: TOSHIBA Satellite Pro P300
BIOS Configuration: TOSHIBA V2.7004/14/2008

I've just got myself a pair of headphones with mic for your normal audio use, 
but I can't get OpenSolaris to see the mic.  I *think* I've tried everything, 
but I'm just checking.

In WIndows (Vista), you plug the mic in, and it takes it by default it seems, 
so it definitely works.

In OpenSolaris, it always seems to use the builtin (useless) mic.
Under the volume control there are two devices, 
audiohd#0 (OSS v4 Audio Mixer) and
audiohd#1 (OSS v4 Audio MIxer).
I've tried selecting both.  mixerctl says
$ /usr/sbin/mixerctl -C
DEVICE   CONTROL  VALUE  POSSIBLE
audiohd#1volume   75 0-100   
Bad enum index 10 for control 'record-source'
audiohd#0volume   88 0-100   
audiohd#0speaker  75:75  0-100:0-100 
audiohd#0headphones   75:75  0-100:0-100 
audiohd#0rear 75:75  0-100:0-100 
audiohd#0mic  86:86  0-100:0-100 
audiohd#0beep 75 0-100   
audiohd#0record-sourcemicmic 
$ 

Any ideas ?  What can I try ?

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


Re: [osol-discuss] Syslog-ng?

2009-12-07 Thread Rob McMahon

On 07/12/2009 14:34, Eugene Vilensky wrote:

Hi,
Is syslog-ng available for OpenSolaris, through IPS or otherwise?  If
I were to build it, is there an "easy" metapackage for the build
system, maybe analogous to Red Hat's rpmbuild+dependencies or Debian's
"build-essential" metapackage?

   

I'm running syslog-ng-2.0.5, and it was essentially a no-brainer.  Just

./configure CC=cc CFLAGS=-O
make
make install

> ./config.status --version
config.status
configured by ./configure, generated by GNU Autoconf 2.61,
  with options "'CC=cc' 'CFLAGS=-O'"
>

I knocked up an SMF service for it.  (I just copied the standard syslog 
files and tweaked them.) XML and script attached.


Cheers,

Rob

--
E-Mail: rob.mcma...@warwick.ac.uk   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

#!/sbin/sh
#
# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# ident "@(#)system-log 1.1806/10/25 SMI"

. /lib/svc/share/smf_include.sh

if [ ! -f /etc/syslog-ng/syslog-ng.conf ]; then
echo "/etc/syslog-ng/syslog-ng.conf is missing. Exiting."
exit $SMF_EXIT_ERR_CONFIG
fi

if [ ! -x /usr/local/sbin/syslog-ng ]; then
echo "Executable /usr/local/sbin/syslog-ng not found. Exiting"
exit $SMF_EXIT_ERR_CONFIG
fi
 
if [ "${_INIT_ZONENAME:=`/sbin/zonename`}" = "global" ]; then
#
# Before syslogd starts, save any messages from
# previous crash dumps so that messages appear
# in chronological order.
#
/usr/bin/savecore -m
if [ -r /etc/dumpadm.conf ]; then
. /etc/dumpadm.conf
[ -n "$DUMPADM_DEVICE" -a "x$DUMPADM_DEVICE" != xswap ] && \
/usr/bin/savecore -m -f $DUMPADM_DEVICE
fi
fi
if [ ! -f /var/adm/messages ]; then
/usr/bin/cp /dev/null /var/adm/messages
/usr/bin/chmod 0644 /var/adm/messages
fi

/usr/local/sbin/syslog-ng -f /etc/syslog-ng/syslog-ng.conf >/dev/msglog 2>&1 &








	

	

	
		
	

	
	
		
	

	
	
		
	

	
	
		
	

	
		
	

	
	

	

	

	
		
		
	

	

	
		
			 system log
			
		
		
			
		
	



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

Re: [osol-discuss] crontab

2009-12-03 Thread Rob McMahon

On 02/12/2009 22:01, Dr. Martin Mundschenk wrote:

Am 02.12.2009 um 22:01 schrieb Alan Coopersmith:

   

What are you missing?   You provided the answer in the subject
of your message - the crontab command - is there something more
you need to know?
 

Well, I'm missing the /etc/crontab file. I never worked with the 
crontab-command. But if /etc/crontab is not supported, I have to go new ways...

   

You can just do

crontab -l > /etc/crontab
(edit /etc/crontab)
crontab /etc/crontab

if you like.  I thought this had always been true.

Cheers,

Rob

--
E-Mail: rob.mcma...@warwick.ac.uk   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


Re: [osol-discuss] virtualbox 3.0.12 IPS?

2009-12-01 Thread Rob McMahon

On 01/12/2009 13:13, Cyril Plisko wrote:

On Tue, Dec 1, 2009 at 2:18 AM, Alan Steinberg  wrote:
   

I'm not in the VirtualBox organization, but I'm not aware of any beta
releases. VirtualBox has been releasing on a cadence of a new version about
every 4 weeks. We've tried to keep the gap between SVR4 package and IPS
availability as small as possible.
 

So, any ETA for having 3.1 in IPS ? It was released yesterday [1] [2]

[1] http://www.virtualbox.org/wiki/Changelog
[2] 
http://download.virtualbox.org/virtualbox/3.1.0/VirtualBox-3.1.0-55467-SunOS.tar.gz
   

Some critical fixes here:-)

   * 3D support: fixed crashes in FarCry, SecondLife, Call of Duty,
 Unreal Tournament, Eve Online (bugs #2801
 <http://www.virtualbox.org/ticket/2801>, #2791
 <http://www.virtualbox.org/ticket/2791>)
   * 3D support: fixed graphics corruption in World of Warcraft (#2816
 <http://www.virtualbox.org/ticket/2816>)

I like it, really.

Rob

--
E-Mail: rob.mcma...@warwick.ac.uk       PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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

Re: [osol-discuss] virtualbox 3.0.12 IPS?

2009-12-01 Thread Rob McMahon

On 01/12/2009 13:13, Cyril Plisko wrote:

On Tue, Dec 1, 2009 at 2:18 AM, Alan Steinberg  wrote:
   

I'm not in the VirtualBox organization, but I'm not aware of any beta
releases. VirtualBox has been releasing on a cadence of a new version about
every 4 weeks. We've tried to keep the gap between SVR4 package and IPS
availability as small as possible.
 

So, any ETA for having 3.1 in IPS ? It was released yesterday [1] [2]

[1] http://www.virtualbox.org/wiki/Changelog
[2] 
http://download.virtualbox.org/virtualbox/3.1.0/VirtualBox-3.1.0-55467-SunOS.tar.gz
   

Some critical fixes here:-)

   * 3D support: fixed crashes in FarCry, SecondLife, Call of Duty,
 Unreal Tournament, Eve Online (bugs #2801
 <http://www.virtualbox.org/ticket/2801>, #2791
 <http://www.virtualbox.org/ticket/2791>)
   * 3D support: fixed graphics corruption in World of Warcraft (#2816
 <http://www.virtualbox.org/ticket/2816>)

I like it, really.

Rob

--
E-Mail: rob.mcma...@warwick.ac.uk       PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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

Re: [osol-discuss] Flash player running too fast

2009-09-01 Thread Rob McMahon

Case solved, with the hint from Ginn to look at the sound configuration.

Upgraded to nv_121, no change.

mixerctl -a shows

Device: /dev/sound/audiohd:1mixer
  Name= audiohd#1
  Config  = onboard1 (a)
  HW Info = Unknown HD codec: 0x1002aa01

Device: /dev/sound/audiohd:0mixer
  Name= audiohd#0
  Config  = Intel HD Audio (ICH8)
  HW Info = Unknown HD codec: 0x14f15051

audiotest shows

Sound subsystem and version: SunOS Audio 4.0 (0x00040003)
Platform: SunOS 5.11 snv_121 i86pc

*** Scanning sound adapter #1 ***
/dev/sound/audiohd:1dsp (audio engine 0): audiohd#1
  - Performing audio playback test...
 OK
 ...OK
 ..OK


*** Scanning sound adapter #2 ***
/dev/sound/audiohd:0dsp (audio engine 1): audiohd#0
  - Performing audio playback test...
 OK
 ...OK
 ..OK


*** All tests completed OK ***

and gives no output from audiohd#1, but does from audiohd#0.  audiohd#0
is selected from the volume control, but this gave me a clue.  Looking
at /dev/audio* they were both links to sound/1*.  Changing these links to

lrwxrwxrwx 1 root root  7 2009-08-31 11:33 audio -> sound/0
lrwxrwxrwx 1 root root 10 2009-08-31 11:33 audioctl -> sound/0ctl

both got the sound from flashplayer working, and fixed the frame rate
problem.  I now have working flash with sound.  One less need to go into
Windows.  One work application, and Windows-only media files to go.

Thanks Ginn

Rob


Has anyone seen this ?  On my Toshiba laptop (Satellite Pro P300),

graphics card:
pci bus 0x0001 cardnum 0x00 function 0x00: vendor 0x1002 device 0x95c4
ATI Technologies Inc Mobility Radeon HD 3400 Series

release:
OpenSolaris Development snv_118 X86

firefox 3.5

flash:
FMRI:  
pkg://extra/web/firefox/plugin/fl...@10.0.22.87,5.11-0.111:20090403T194538Z 



Watching a flash clip runs at 3-4x the proper speed, as if it's 
completely unthrottled and just running as fast as it can.  Ring any 
bells ?  It makes it completely useless.  The same setup runs fine 
on my office Sun Ultra 40 M2.





--
E-Mail: rob.mcma...@warwick.ac.uk   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


Re: [osol-discuss] Flash player running too fast

2009-08-25 Thread Rob McMahon

On 20/08/2009 07:30, Ginn Chen wrote:

Does it happen to all flash movies or some of them?
Do you have any problem with the audio driver?
Does it happen with snv_111?


Sorry that it's taken me a while to test this.  It happens on all flash 
clips, and although I hadn't noticed, it does appear that the sound 
doesn't work at all... not my main application.  I thought I had a 111b 
release on hand, but I got too cocky and upgraded the zfs volumes so it 
won't boot any more.


Rob



Has anyone seen this ?  On my Toshiba laptop (Satellite Pro P300),

graphics card:
pci bus 0x0001 cardnum 0x00 function 0x00: vendor 0x1002 device 0x95c4
ATI Technologies Inc Mobility Radeon HD 3400 Series

release:
OpenSolaris Development snv_118 X86

firefox 3.5

flash:
FMRI:  
pkg://extra/web/firefox/plugin/fl...@10.0.22.87,5.11-0.111:20090403T194538Z 



Watching a flash clip runs at 3-4x the proper speed, as if it's 
completely unthrottled and just running as fast as it can.  Ring any 
bells ?  It makes it completely useless.  The same setup runs fine on 
my office Sun Ultra 40 M2.


--
E-Mail: rob.mcma...@warwick.ac.uk   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


[osol-discuss] Flash player running too fast

2009-08-19 Thread Rob McMahon

Has anyone seen this ?  On my Toshiba laptop (Satellite Pro P300),

graphics card:
pci bus 0x0001 cardnum 0x00 function 0x00: vendor 0x1002 device 0x95c4
 ATI Technologies Inc Mobility Radeon HD 3400 Series

release:
OpenSolaris Development snv_118 X86

firefox 3.5

flash:
FMRI:  
pkg://extra/web/firefox/plugin/fl...@10.0.22.87,5.11-0.111:20090403T194538Z


Watching a flash clip runs at 3-4x the proper speed, as if it's 
completely unthrottled and just running as fast as it can.  Ring any 
bells ?  It makes it completely useless.  The same setup runs fine on my 
office Sun Ultra 40 M2.


Rob

--
E-Mail: rob.mcma...@warwick.ac.uk   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


Re: [osol-discuss] ssh issue with b118

2009-07-14 Thread Rob McMahon
On 14/07/2009 14:56, Brian Ruthven - Solaris Network Sustaining - Sun UK 
wrote:
This sounds like bug 6853997 - see 
http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6853997


Try the workaround.
If so, it's fixed in build 119.

Brian


The workaround

ssh -Xf -o HostKeyAlias=hostname hostname xterm

works for me, so I guess this is it, and I can easily put up with this 
until b119.  The bug report says


"users won't probably hit it unless using cipher modes with 1BG rekey 
limit (arcfour*, 3des, blowfish)"


It happens to me every time.  The debug output says

debug3: cipher ok: aes128-ctr 
[aes128-ctr,aes128-cbc,arcfour,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc]
debug3: cipher ok: aes128-cbc 
[aes128-ctr,aes128-cbc,arcfour,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc]
debug3: cipher ok: arcfour 
[aes128-ctr,aes128-cbc,arcfour,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc]
debug3: cipher ok: 3des-cbc 
[aes128-ctr,aes128-cbc,arcfour,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc]
debug3: cipher ok: blowfish-cbc 
[aes128-ctr,aes128-cbc,arcfour,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc]
debug3: cipher ok: aes192-ctr 
[aes128-ctr,aes128-cbc,arcfour,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc]
debug3: cipher ok: aes192-cbc 
[aes128-ctr,aes128-cbc,arcfour,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc]
debug3: cipher ok: aes256-ctr 
[aes128-ctr,aes128-cbc,arcfour,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc]
debug3: cipher ok: aes256-cbc 
[aes128-ctr,aes128-cbc,arcfour,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc]
debug3: ciphers ok: 
[aes128-ctr,aes128-cbc,arcfour,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc]


Anyway, many thanks to you and Casper for an impressively fast response.

Rob


Rob McMahon wrote:
I've just updated to b118 (from 117), and something nasty seems to 
have happened to ssh. Each connection to a known host comes back 
with, e.g.,


The authenticity of host '�t
P� ()' can't be established.
RSA key fingerprint is 
Are you sure you want to continue connecting (yes/no)?


--
E-Mail: rob.mcma...@warwick.ac.uk       PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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

[osol-discuss] ssh issue with b118

2009-07-14 Thread Rob McMahon
I've just updated to b118 (from 117), and something nasty seems to have 
happened to ssh. Each connection to a known host comes back with, e.g.,


The authenticity of host '�t
P� ()' can't be established.
RSA key fingerprint is 
Are you sure you want to continue connecting (yes/no)?

I know the hostname and ip are correct. I say `yes', and all works fine. 
A `cat -vet' of ~/.ssh/known_hosts shows


> cat -vet ~/.ssh/known_hosts | awk '{print $1}' | tail -3
M-(t^K^HPM-(^F^H
^P
M-(t^K^HPM-(^F^H
>

(Older entries look like `hostname,ip-address'.) The two identical 
mangles "hostnames" were for two completely different hosts.


Anyone else seen this ?

Rob

--
E-Mail: rob.mcma...@warwick.ac.uk   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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

Re: [osol-discuss] which merge tool for Hg on OpenSolaris?

2009-06-24 Thread Rob McMahon

On 23/06/2009 18:57, Shawn Walker wrote:

On Jun 23, 2009, at 10:43 AM, Georg-W. Koltermann wrote:


I must be stupid.  Or the tool is crap for merging.  Similar findings
(perhaps more polite) at http://www.selenic.com/mercurial/wiki/Meld

I enjoy it for diffing, but merging...



I wish for a better tool myself, but it is the best I have found at 
the moment (which is sad).


I just tried it out of interest, and it makes a nice side-by-side diff 
program, but it looks completely unusable for merging.  Have you looked 
at emacs Tools->Merge->Files... and Files with Ancestor... not as 
pointy-clicky maybe, but a really good merging tool.


Rob

--
E-Mail: rob.mcma...@warwick.ac.uk   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


Re: [osol-discuss] "partition" for user data

2009-05-27 Thread Rob McMahon

On 24/05/2009 11:15, Ian Collins wrote:

Oliver H. Weiergraeber wrote:

Hello,

since I want to keep my user data from mixing with system files, I 
have always created a separate partition for user data (on other unix 
systems).
What is the best way to accomplish this with opensolaris. Very 
annoyingly, the installer has no option to define zfs pools - this is 
really really strange in my opinion (Sol10/SXCE are much better here) :(
Should I just use part of the hdd for initial install, and create an 
additional partition afterwards? Or can the zfs pools within the 
fdisk partition be modified later?



Just create new filesystems in the root pool.

The trouble with this is that the root pool can only be a single 
partition or that mirrored.  If you have 4 disks, and you want the best 
part of that to be one big pool for user data, what do you do ?


Rob

--
E-Mail: rob.mcma...@warwick.ac.uk   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


[osol-discuss] Thunderbird and 107

2009-02-19 Thread Rob McMahon
I did an image-update from 106 to 107, opened thunderbird and tried to 
detach a (fairly large, 3MB) attachment.  The entire machine ground to a 
halt.  I killed the X session with CTL-ALT-DEL, and tried the same thing 
again, and it's completely reproduceable.  I've had to back out to 106.  
Has anyone else seen this ?


Rob

--
E-Mail: rob.mcma...@warwick.ac.uk   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


Re: [osol-discuss] Project proposal: Input Method Project

2008-09-25 Thread Rob McMahon

W. Wayne Liauh wrote:

Yung Sun has ported SCIM:

http://www.opensolaris.org/os/project/input-method/doc
uments/building_scim/

and UIM:

http://www.opensolaris.org/os/project/input-method/doc
uments/building_uim/

Kind of related, I guess, but this has just reminded me.  I have a 
continuing need to enter and read Devangari script, and it seems a bit 
of a mess in OpenSolaris, updated to snv_98.  If you look at, say, 
bbc.co.uk/hindi in firefox all the non-spacing characters are all over 
the shop, typically under / over the character after where they should 
be.  The same happens in thunderbird.  Attached is an image of the word 
`guruvar', `Thursday', the two underlying vowel marks should be under 
the character before where they are.  I've been googling around, but 
haven't found a solution to this, only other people with the same problem.


Is this a known problem ?  I know there have been issues with fonts in 
the last few releases, but I thought that was supposed to have been 
fixed by '98.


Rob

--
E-Mail: [EMAIL PROTECTED]   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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

Re: [osol-discuss] Marvell Ethernet cards

2008-08-07 Thread Rob McMahon
Rob McMahon wrote:
> frank Che wrote:
>   
>> Have you tried the 'myk' driver from 
>> http://homepage2.nifty.com/mrym3/taiyodo/eng/index.html ?
>> 
> Thanks for this pointer.  In summary, both the yukonx driver and the 
> skge driver crash in the attach routine with a NULL pointer 
> dereference...
>
> The myk driver starts to work, but appears to give up sending after a 
> while, around 30Kb :-)  I'd like to re-compile for GLDv3, but can't 
> because of a missing , does anyone know where this might live 
> ?
Just for anyone else with similar problems:

I got sys/mac.h and sys/mac_ether.h from the sources, re-configured for 
GLDv3 and recompiled.  The driver wouldn't load, failing with a bunch of 
relocation errors (...does not fit...).  Recompiled with an older 
compiler and it worked.  Don't try compiling chunks of kernel code with 
the Express compilers folks.

Now the link's going up and don't enough to make it unusable (tx timeout).

Tried updating to the '94 version, but Xorg SEGVs.  I've logged it.

Ah well, I think I'll just carry on with wireless and wait a while.  '86 
with wireless does just work fine.

Cheers,

Rob

-- 
E-Mail: [EMAIL PROTECTED]   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


Re: [osol-discuss] Marvell Ethernet cards

2008-08-06 Thread Rob McMahon
frank Che wrote:
> Have you tried the 'myk' driver from 
> http://homepage2.nifty.com/mrym3/taiyodo/eng/index.html ?
Thanks for this pointer.  In summary, both the yukonx driver and the 
skge driver crash in the attach routine with a NULL pointer 
dereference.  This is annoyingly difficult to get around with the lack 
of any failsafe boot mode.  (Boot from CD, zpool import, mount, remove 
driver, ...) 

The myk driver starts to work, but appears to give up sending after a 
while, around 30Kb :-)  I'd like to re-compile for GLDv3, but can't 
because of a missing , does anyone know where this might live 
?  `pkg search -r sys/mac.h' (on another machine, already upgraded to 
nv94, and with ss-dev installed) comes up with a bunch of packages, but 
none of the un-installed ones look relevant.  Is it one of the headers 
that isn't opened yet ?

Looks like I'm back to wireless for now, I'll try upgrading to nv94 
first (failed last time), and retry the myk driver, which looks the most 
solid.  At least it doesn't stop the machine from booting.
>>
>> I've just got a new laptop, a Toshiba Satellite Pro P300, and I was 
>> kind of hoping to install OpenSolaris on it dual boot with Windows.  
>> I've successfully installed OS2008-05 on it, and it's doing pretty 
>> well, but doesn't recognize the ethernet card.  This presents itself 
>> as a
>>
>> Marvell Technology Group Ltd
>> 0x11ab 0x436c
>>
>> to scanpci.  From the Marvell site, I downloaded and installed the 
>> yukonx driver, which caused the machine to crash on reboot (NULL 
>> pointer dereference in the attach routine).  I've just tried the skge 
>> driver from http://www.skd.de/e_en, and the machine has hung solidly 
>> after doing
>>
>> update_drv -a -i '"pci11ab,436c"' skge
Rob

-- 
E-Mail: [EMAIL PROTECTED]   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


[osol-discuss] Marvell Ethernet cards

2008-08-05 Thread Rob McMahon
Help.

I've just got a new laptop, a Toshiba Satellite Pro P300, and I was kind 
of hoping to install OpenSolaris on it dual boot with Windows.  I've 
successfully installed OS2008-05 on it, and it's doing pretty well, but 
doesn't recognize the ethernet card.  This presents itself as a

Marvell Technology Group Ltd
0x11ab 0x436c

to scanpci.  From the Marvell site, I downloaded and installed the 
yukonx driver, which caused the machine to crash on reboot (NULL pointer 
dereference in the attach routine).  I've just tried the skge driver 
from http://www.skd.de/e_en, and the machine has hung solidly after doing

update_drv -a -i '"pci11ab,436c"' skge

Rebooting seems to have got me back in action, but drvconfig says 
"driver failed to attach" (the update_drv has updated driver_aliases).

Of course, I can't do any pkg updates until I've got this interface 
working.  Does anyone know if there a driver out there that works on 
this card ?  (Annoyingly, just to rub my nose in it, the Wireless works 
fine, but I have no way out to the internet that way ...)

Cheers,

Rob

-- 
E-Mail: [EMAIL PROTECTED]   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


Re: [osol-discuss] os200805 + '93 updates - memory use.

2008-07-24 Thread Rob McMahon
Lurie wrote:
> Try to disable compiz, and use firefox 3.0 instead of firefox 2.0...
>  
>   
I know I could disable compiz.  Like I say, I'm just trying things out.  
It works very well on this box, and Sun Ultra 40, and starts off 
perfectly reasonably.  I've just had to CTRL-ALT-BS the X server this 
morning, because the screensaver wouldn't unlock, and now:

   PID USERNAME  SIZE   RSS STATE  PRI NICE  TIME  CPU 
PROCESS/NLWP  
  8813 cudcv 255M  121M sleep   590   0:04:19 6.2% firefox-bin/8
  8613 cudcv 351M  180M sleep   430   0:01:53 1.8% 
thunderbird-bin/13
  8387 root  163M  105M sleep   590   0:03:52 1.5% Xorg/1
  8462 cudcv  59M 5732K sleep   590   0:00:20 0.2% at-spi-registry/1
  8482 cudcv  33M   28M sleep   580   0:00:14 0.1% compiz-bin/1

Surely there must be some nasty leaks for it to get up to 2GB ?

(I am running firefox-3)

Cheers,

Rob

-- 
E-Mail: [EMAIL PROTECTED]   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


[osol-discuss] os200805 + '93 updates - memory use.

2008-07-23 Thread Rob McMahon
Hmm, I admit I'm playing around with this system, and turning everything 
in sight on, but this surely can't be right:

SunOS wonky 5.11 snv_93 i86pc i386 i86pc Solaris
  4:29pm  up 5 day(s),  1:15,  1 user,  load average: 0.11, 0.14, 0.14
ps -o etime,comm -p 545
ELAPSED COMMAND
 5-01:16:35 /usr/X11/bin/Xorg

   PID USERNAME  SIZE   RSS STATE  PRI NICE  TIME  CPU 
PROCESS/NLWP  
  5538 root  640M  593M sleep   59  -14   0:48:06 2.9% VirtualBox/12
   545 root 1102M  924M sleep   590  20:25:51 2.7% Xorg/1
   683 cudcv 260M  143M sleep   590   0:09:50 0.9% gnome-netstatus/1
   862 cudcv 491M  323M sleep   490   0:25:58 0.5% 
thunderbird-bin/11
   681 cudcv 133M   22M sleep   590   0:04:26 0.2% wnck-applet/1
  4330 cudcv2350M 2343M sleep   590   5:46:07 0.1% compiz-bin/1
   666 cudcv  88M   22M sleep   490   0:00:31 0.1% gnome-terminal/2

Xorg running at 1GB RSS, compiz 2.3GB.  Memory seems to hit the roof, 
particularly when you run some of the fancy 3D screensavers.

Just an observation.  Since moving to OpenSolaris (os200805 -> nv91 -> 
nv93) I've been having to log out and back in again every few days.  On 
Solaris 10, that would have been a few months.  I know I can do without 
all the fancy eye-candy, but I'm pushing the system to see what I can 
recommend to other people, and I don't believe it should come at this cost.

Rob

-- 
E-Mail: [EMAIL PROTECTED]       PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


Re: [osol-discuss] B93 and java after installation [SOLVED]

2008-07-22 Thread Rob McMahon
Ether.pt wrote:
> Well... 
>
> I went to the easy workaround/solution.
>
> Downloaded jdk1.6.0_07 and define it as the working one ... everything is ok 
> now :D
>
>   

I went for the convoluted workaround / solution.  I installed WinXP in a 
VM under VirtualBox, and run it in there ... works fine.  (I did have 
other reasons.)  I do like VirtualBox, the only thing that seems to have 
phased it is sharing a directory full of nasties like sockets and fifo's 
(like /tmp and my home directory).

Rob

-- 
E-Mail: [EMAIL PROTECTED]       PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


Re: [osol-discuss] B93 and java after installation

2008-07-22 Thread Rob McMahon
Ether.pt wrote:
> Hi all,
>
> I was using build 91 and upgraded it to b93.
> My problem now is when I try to launch any java application it get's 
> extremely slow/hangs in some cases.
>
> For example, in my environment I have X4200's and using the Java Remote 
> Console it downloads and apparently runs ... between executing and showing 
> anything is at last 5 minutes.
>
> ...
>
> So, has anyone notice any problem similar to this?
>   
I have a java application (Galaxy Commcell Console for managing 
CommVault), which used to work fine before upgrading to b93 from b91 
(this is os200805).  It now hangs after declaring "Securing connection 
with xxx.  Please wait ..."

The loop looks like

/5:lwp_cond_wait(0x0806F750, 0x0806F738, 0xFB045B38, 0) Err#62 ETIME
/12:pollsys(0x, 0, 0xE6A8AAC8, 0x)= 0
... repeated 8 times
/14:pollsys(0xE6729F80, 2, 0xE63AE898, 0x)= 0
/14:ioctl(8, FIONREAD, 0xE63AE8CC)= 0
/14:ioctl(8, FIONREAD, 0xE63AE8CC)= 0
/12:pollsys(0x, 0, 0xE6A8AAC8, 0x)= 0
... repeated 8 times
/14:pollsys(0xE6729F80, 2, 0xE63AE898, 0x)= 0
/14:ioctl(8, FIONREAD, 0xE63AE8CC)= 0
/14:ioctl(8, FIONREAD, 0xE63AE8CC)= 0
/12:pollsys(0x, 0, 0xE6A8AAC8, 0x)= 0
/5:lwp_cond_wait(0x0806F750, 0x0806F738, 0xFB045B38, 0) Err#62 ETIME

The poll with 2 descriptors look like
/14:pollsys(0xE6729F80, 2, 0xE63AE898, 0x)= 0
/14:fd=8  ev=POLLRDNORM rev=0
/14:fd=9  ev=POLLRDNORM rev=0
/14:timeout: 0.5 sec

fd8 is
   8: S_IFIFO mode:0666 dev:307,0 ino:102 uid:0 gid:0 size:0
  O_RDWR|O_NONBLOCK FD_CLOEXEC
fd9 is
   9: S_IFIFO mode: dev:295,0 ino:3753 uid:60 gid:618 size:0
  O_RDWR|O_NONBLOCK

I won't bore you with a stack trace ... it's 33 threads and 500 lines.

Rob

-- 
E-Mail: [EMAIL PROTECTED]   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


[osol-discuss] setfacl v NFSv4 FACLs: Was: Correlation of snv_66 to S10 u4

2007-12-21 Thread Rob McMahon
James Carlson wrote:
> Ray Clark writes:
>   
>> I have installed 127729-2 (and about 66 other patches), and now instead of 
>> saying "Invalid argument", it says "Operation Not Supported".  I guess that 
>> is a better message, but I wish it were more specific.  Not sure whether 
>> that is Linux' doing or Solaris.
>> 
Changing the subject a bit, but it would be really handy if setfacl et 
al worked on ZFS filesystems.  As far as I know the ACLs on ZFS are a 
true superset of the old POSIX draft ones supported by UFS, and could 
therefore be mapped.  Is this not true ?  The permissions mask stuff is 
a bit odd., I guess. Could not the old setfacl calls be translated to 
the new improved ACLs ?  Is anyone looking at this ?  Is this something 
I could look at if I can persuade my boss to give me some time ?

This, quotas, and backups are the reasons we're keeping UFS filesystems 
around.

Thoughts ?

Rob

-- 
E-Mail: [EMAIL PROTECTED]   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


Re: [osol-discuss] [ogb-discuss] Nameclash on svn_77 because Sun is ignoring PSARC discussions

2007-12-19 Thread Rob McMahon
Joerg Schilling wrote:
> Paul Jakma <[EMAIL PROTECTED]> wrote:
>
>   
>> On Fri, 14 Dec 2007, Joerg Schilling wrote:
>>
>> 
>>> As an example, you might check for "compare". This is a program I 
>>> maintain since 1984 that is similar to "cmp(1)".
>>>   
>> I'm confused: Why not just submit patches to make cmp faster? Why the 
>> need for a functionally-similar (identical?) but new utility?
>> 
>
> Looks like you are missing the fact that cmp sources have not been available
> when compare has been created. Also note that the "compare -a" output
> is better readable than the one from cmp.
>
> For this reason, compare is used on a dayly base, something that does not 
> apply
> to e.g. imagemagic.
>
>   
Sorry Jörg, but I've been in the Unix business for the best part of 30 
years (since the CS department used to run version 7 without a root 
password, so that you could fix your own problems).  I had actually 
heard of your rewrite of cmp a while back, but never found the need to 
install it.  I use cmp maybe weekly; I personally use ImageMagick 
several times a day, and have scripts that run assorted commands from it 
several times an hour.  The ImageMagick people made some really bad 
choices over command names as far as I'm concerned - I think `convert' 
and `identify' are really bad choices - but you get used to it.  The 
sky's not going to fall.  It's certainly not Sun's fault or the fault of 
any community around here.  Saying xxx command runs on every system, but 
on Solaris it's called imgxxx is not very productive.  The change from 
dump to ufsdump between SunOS 4 and Solaris 2 caused me enough grief ... 
I think you need to chill.

Rob

-- 
E-Mail: [EMAIL PROTECTED]   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


Re: [osol-discuss] Middle management at Sun destroys OpenDS is OpenSolaris next?

2007-11-30 Thread Rob McMahon
Dale Ghent wrote:
> As such, one would expect for these projects to be treated somewhat  
> consistently by Sun. If the allegations are true in the OpenDS  
> kerfuffle, you can make a spot on bet that I (at least) would want to  
> know if an analog of that could happen to OpenSolaris.
>   
I don't know why I'm replying to this, but ..

... kind of a big "if" there.  Simon Phipps seems to have actually 
researched the "if", and suddenly it sounds all a lot more innocent.  It 
does sound like Sun have cocked up big time by making some skilled 
people redundant, but can we skip the conspiracy theories until there's 
some backup information.  Do you take everything in a blog at face value 
?  Do you take everything in the papers at face value (I'm thinking the 
Sun / Mirror / anything ruled by Rupert Murdoch for the Brits out there) 
?  And they're open to libel.

There's always two sides to every tale.

Rob

-- 
E-Mail: [EMAIL PROTECTED]   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


Re: [osol-discuss] Re: BASH as root shell

2007-05-31 Thread Rob McMahon

a b wrote:


> In those cases that the dynamic linker failed (corrupted or no 
libraries)

> on Solaris 9, the profile entry would possibly cause a successful exec
> but tcsh would then immediately die. Root would then be kicked out 
again.

>
> You can use something like:
>
> if [ -x /bin/tcsh ] && /bin/tcsh -f /dev/null
> then
> exec /bin/tcsh
> fi

Not a bad idea. Not bad at all. Of course, the extra fork() is a 
shame, but it will work.
 
Aargh.  Just what's so hard about typing `exec tcsh',  or even just 
`tcsh' if you can't be arsed with all that extra typing, at the # prompt 
if you need it ?  Oh look:


> alias sur
su root -c "HOME=$home exec /usr/local/bin/tcsh"
>

Saves me all that typing when I su.  I guess I just don't understand why 
people think it's such a big deal.  The crusty old Bourne shell seems to 
work just fine for me for the odd emergency when I need to log in as 
root.  I honestly can't see the problem people are trying to solve.  "I 
login as root and can't use command line editing" ?  If you're logging 
in as root you better know how to type tcsh, or ksh, or bash, or zsh, 
... (I always liked `rc' myself, but it didn't seem to take off.)


Rob

--
E-Mail: [EMAIL PROTECTED]   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


Re: [osol-discuss] Re: Re: Sun to make Solaris more Linux like

2007-05-18 Thread Rob McMahon

[EMAIL PROTECTED] wrote:
Tell me, when you use df, do you "always"  type "df -k" or "df -h".  If 
you do, then why do you care???



I have df aliased to "df -h -k" (which has one drawback and that is
that df -o requires me to type \df)

But I have one script which is used all over engineering which
will break if the df output is changed.
  
Absolutely.  I imagine a great many of us have scripts that do things 
like run df, parse the output, and mail us if file systems are getting 
uncomfortably full.  We don't always just "type" commands at all.  You 
can't just go around gratuitously changing the default output from 
standard commands.


Rob

--
E-Mail: [EMAIL PROTECTED]   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


[osol-discuss] rs, jot, lam

2007-03-30 Thread Rob McMahon
I was just doing a bit of scripting when it occurred to me: why does 
no-one include jot, rs, and lam in their distros ?  Okay, lam is mostly 
replaced by paste, jot can be done with a perl one-liner, though with a 
lot more typing, but how do people live without rs ?  I personally use 
jot and rs all the time, though not lam.


for i in `jot -c 26 a`; do ...
users | rs
...

> jot 40 | rs
1   3   5   7   9   11  13  15  17  19  21  23  25  27  29  31  33  35  
37  39
2   4   6   8   10  12  14  16  18  20  22  24  26  28  30  32  34  36  
38  40

>

They're ancient commands under the BSD licence.  I was just wondering 
why they never made it into the mainstream, and whether we could maybe 
get them into (Open)Solaris.  Is it worth it ?  What would it take ?  
How do other people get these jobs done.


Rob

--
E-Mail: [EMAIL PROTECTED]   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


Re: [osol-discuss] Assembler Output

2007-01-23 Thread Rob McMahon

Rod Evans wrote:

Given that we're now several years into the *new* Solars :-), I have
on my list of things to do, the EOL of all this AOUT technology.  I
find it hard to believe that anyone still expects a 4.x binary to
run on Solaris (although Sun had a few squirreled away up until a
couple of years ago).

Hmm,

> pwd
/usr/local/bin
> file * | fgrep 'Sun demand paged SPARC executable' | wc -l
   154
> ls -l ded
-rwxr-xr-x1 root staff   98304 Jul 26  1989 ded
>

Looks like I better get re-compiling ...

Rob

--
E-Mail: [EMAIL PROTECTED]   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


Re: cdrw/cdrecord (Was Re: [osol-discuss] Happy to say I'm posting this from Nexenta!)

2006-08-08 Thread Rob McMahon

Joerg Schilling wrote:
The very fact you have to read the cdrecord man page in depth is the 
issue.



This is strange, it seems that you did not realize that it is not possible 
to use cdrw without reading it's man page. The CLI from cdrw seems to be 
even worse than the one from cdrecord.


The online help from cdrw is not helpful but confusing.
  
This is starting to sound like a personal attack on you Jörg, and I 
certainly don't mean it that way, but last time I was burning a CD, I 
certainly thought I should try cdrecord, looked at the man page, did 
cdrecord -?, and went back to `cdrw -i'.  It works, I didn't have to 
read the man page at all, I couldn't be arsed to work out how to drive 
cdrecord.  I hate all the option=xxx, -longoption, -xyz (can you merge 
them or not ?), etc.  dev=xx.yy.zz ?  You what ?  It all seems so 
dd'ish, and people use standard option syntax these days.  I used star 
once, and felt the same way: there's no way I can remember the syntax.  
I use ufsdump, gcp, or gtar these days.


Sorry, I know you contribute a lot to the community and respect what you 
do, but I can't cope with these odd-ball eccentric commands.


Soz,

Rob

--
E-Mail: [EMAIL PROTECTED]       PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


Re: [osol-discuss] Re: Re: Solaris 10 06/06 x86 HP DL585 boot hang aftrer reboot HELP!!!

2006-07-19 Thread Rob McMahon

Dana H. Myers wrote:

Rob McMahon wrote:
  

For another datapoint, I'm seeing what looks like exactly the same problem on a 
DL385 (single AMD Opteron 280).  Setting the appropriate flags in /etc/system, 
the hang ends with:



How much memory do you have, and how often does the machine hang on boot?
  
The machines I suffering with all have 3GB memory.  I would say they 
fail one time in three, or there abouts.  It depends whether I want them 
to fail or not :-)  Sometimes one of them seems to be in a good mood, 
and you have to move onto the next to trap a failure.  I'd say it was 
irrelevant whether they were rebooted with init 6 or power-cycled: I've 
seen failures both ways.  I've also seen a hang while PXE booting, but 
only once (but there again I haven't done it that often).

I've got a DL585 running S10U2 here now, but it only has 2GB of RAM.
I've rebooted a few time without a hang.
  
Rats. I've 5 DL385's and 1 DL380 with one or two AMD Opteron 280's 
(385s) or two Intel Xeon's (380) all failing.  They all have Smart Array 
6i's with 3-6 disks: I wonder if this could be contributing ?


Cheers,

Rob

--
E-Mail: [EMAIL PROTECTED]   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


Re: [osol-discuss] Re: Re: Solaris 10 06/06 x86 HP DL585 boot hang aftrer reboot HELP!!!

2006-07-17 Thread Rob McMahon

Dana H. Myers wrote:

According to the HCL, Solaris has been testing on the DL585 at least
once; this makes me curious what BIOS revision these two machines
(DL385 and DL585) are running.  I believe you can get the BIOS version
by entering BIOS setup-mode.
  
I believe the initial BIOS was 12/12/05.  When I started having the 
problems, I updated it to


*HP ProLiant DL385 system ROM A05 (03/01/2006)

**(By which I suspect it means 1st March, rather than 3rd January.)  I 
saw no difference.  BTW, now that I've got it back, the sequence logged 
on a successful reboot is


Jul 17 16:09:33 ux-019-2 pci_autoconfig: [ID 536860 kern.notice] search 
PCI Hot-Plug Resource Table starting at 0xF
Jul 17 16:09:33 ux-019-2 pci_autoconfig: [ID 288500 kern.notice] Found 
PCI Hot-Plug Resource Table at f4ee0
Jul 17 16:09:33 ux-019-2 pci_autoconfig: [ID 289203 kern.notice] No. of 
PCI hot-plug slot entries = 0x0
Jul 17 16:09:33 ux-019-2 pci_autoconfig: [ID 165270 kern.notice] Found 
MP Floating Pointer Structure at f4fa0
Jul 17 16:09:33 ux-019-2 pci_autoconfig: [ID 732373 kern.notice] NOTICE: 
enumerating pci bus 0x0
Jul 17 16:09:33 ux-019-2 pci_autoconfig: [ID 496449 kern.notice] NOTICE: 
probing dev 0x0, func 0x0
Jul 17 16:09:33 ux-019-2 pci_autoconfig: [ID 496449 kern.notice] NOTICE: 
probing dev 0x1, func 0x0
Jul 17 16:09:33 ux-019-2 pci_autoconfig: [ID 496449 kern.notice] NOTICE: 
probing dev 0x2, func 0x0
Jul 17 16:09:33 ux-019-2 pci_autoconfig: [ID 496449 kern.notice] NOTICE: 
probing dev 0x3, func 0x0
Jul 17 16:09:33 ux-019-2 pci_autoconfig: [ID 576968 kern.notice] NOTICE: 
bus 1 io-range: 0x4000-4fff
Jul 17 16:09:33 ux-019-2 pci_autoconfig: [ID 166801 kern.notice] NOTICE: 
bus 1 mem-range: 0xf5f0-f7df

<<< this is where it hangs when it fails >>>
Jul 17 16:09:33 ux-019-2 pci_autoconfig: [ID 496449 kern.notice] NOTICE: 
probing dev 0x4, func 0x0


Anything I can do to help resolve this problem, please let me know.

Cheers,

Rob
*

--
E-Mail: [EMAIL PROTECTED]   PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

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


[osol-discuss] Re: Re: Solaris 10 06/06 x86 HP DL585 boot hang aftrer reboot HELP!!!

2006-07-17 Thread Rob McMahon
Ah, I should have said this is Solaris 10U2, not the community or express 
editions.
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] Re: Re: Solaris 10 06/06 x86 HP DL585 boot hang aftrer reboot HELP!!!

2006-07-17 Thread Rob McMahon
For another datapoint, I'm seeing what looks like exactly the same problem on a 
DL385 (single AMD Opteron 280).  Setting the appropriate flags in /etc/system, 
the hang ends with:

Search PCI Hot-Plug Resource Table starting at 0xF
Found PCI Hot-Plug Resource Table at f4ee0
No. of PCI hot-plug slot entries = 0x0
Found MP Floating Pointer Structure at f4fa0
NOTICE: enumerating bug 0x0
NOTICE: probing dev 0x0, func 0x0
NOTICE: probing dev 0x1, func 0x0
NOTICE: probing dev 0x2, func 0x0
NOTICE: probing dev 0x3, func 0x0
NOTICE: bus 1 io-tange: 0x4000-4fff
NOTICE: bus 1 mem-range 0xf5f0-f7df

(Copied to paper, and typed in by hand since I'm struggling to get the machine 
back.)
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org