Re: [osol-discuss] FlashPlayer 9 on SXDE on Laptop...It's Been a Long Time Coming!

2007-07-12 Thread W. Wayne Liauh
 Does about:config only list flash 9,0,47.0? 
 
 Casper
 

Did a flash filter on aboutLconfig nothing of pertinence came out.

Could you go to 

http://www.foxnews.com/

then click on the Video label (blue) of the first story to see if you could 
do both audio and video?
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] CDE Gnome monofenetre

2007-07-12 Thread Ché Kristo
Translation:

[i]Hi all. I woul like a definition of 'mono session', 'mono window' under 
Solaris 10. and what the difference is between the three desktops: (CDE  Gnome 
 'mono window'). Thank's for your help.[/i]
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] Zfs Sata array?

2007-07-12 Thread Giles Turner
On 7/12/07, Completely Illogical [EMAIL PROTECTED] wrote:
 B,

 Thanks for the thoughts.  I think individual USB enclosures would be double
 power consumption, a serious consideration when doing 12 drives!

USB?!?! That really came out of the blue. I was thinking of things
like SOHOTank enclosures that have a SATA port multiplier (and comes
in internal/external versions) which are supported by a number of
chips that have driver support in OpenSolaris save for the actual port
multiplier support.


 Although people keep saying there should be a card to do this, I can't find
 one.  Solaris doesn't support portmultipliers, and even if it did I can't
 find a card that works with solaris that has this ability either.


No SIL3124 board available!??! (not that it matters until port
multiplier support is available)
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] vim + cscope

2007-07-12 Thread Gavin Maltby
Hi,

On 07/12/07 05:38, Aubrey Li wrote:
 Hi list,
 
 Does anyone have successful experience about vim + cscope to browse
 solaris source code?
 Unfortunate, I encountered the following error,
 
 [EMAIL PROTECTED]
 /export/home/aubrey/work/onnv-gate/usr/src/uts
 [EMAIL PROTECTED] -l cscope.*
 -rw-r--r--   1 aubrey   aubrey157421 Jul 13 09:23 cscope.files
 -rw-r--r--   1 aubrey   aubrey   8896902 Jul 13 09:24 cscope.in.out
 -rw-r--r--   1 aubrey   aubrey   77068303 Jul 13 09:24 cscope.out
 -rw-r--r--   1 aubrey   aubrey   58314408 Jul 13 09:24 cscope.po.out
 [EMAIL PROTECTED] i86pc/dboot/dboot_elfload.c
 Error detected while processing 
 /export/home/aubrey/.vim/plugin/cscope_maps.vim:
 line   42:
 cs_read_prompt EOF: Not a directory
 E609: Cscope error: cscope: cannot read list size from file cscope.out

The ON 'xref' utility builds the database in cscope-fast format, so I'm guessing
the above may be a case of picking up the old cscope program.  When I remove
the cscopeprg directive below I get a related error:

Error detected while processing /home/gavinm/.vimrc:
line  213:
cs_read_prompt EOF: No such file or directory

I have the following in my .vimrc which appears to make it all work (has
been this way for some time and I can't remember how it all hangs
together!):

if has(cscope)
 set cscopeprg=/home/gavinm/bin/cscope-vim
..
(more of this below)
..
endif

The nominated cscopeprg looks like this:

- cut -

#!/bin/ksh
#
# Hackery to make vim and cscope work together for cscope.out
#
# If invoked with -f /foo/cscope.out drop those arguments as
# cscope then can't find the quick indexes
#
# Copied from peteh

firstarg=$1
dirarg=${4#-P}
echo $dirarg 2

shift

if [[ $1 == -f  ${2##*/} == cscope.out ]]; then
 shift; shift
fi

cd $dirarg
exec /share/onnv-tools/onbld/bin/$(uname -p)/cscope-fast $firstarg ${1+$@}

- cut -

So you may be able to use that substituting /opt/onbld/bin/i386/cscope-fast in 
the
last line.

For the full gory detail here's the relevant bit of .vimrc:

if has(cscope)
 set cscopeprg=/home/gavinm/bin/cscope-vim
 set cscopetag
 set cscopepathcomp=3
 set nocscopeverbose
 set cscopetagorder=0
 
  Short cut keys
 
  s - symbol
  g - definition
  d - functions called by this function
  c - functions calling this function
  t - find this text string
  e - find this egrep pattern
  f - find this file
 
 nmap C-_s :cs find s C-R=expand(cword)CRCR
 nmap C-_g :cs find g C-R=expand(cword)CRCR
 nmap C-_c :cs find c C-R=expand(cword)CRCR
 nmap C-_t :cs find t C-R=expand(cword)CRCR
 nmap C-_e :cs find e C-R=expand(cword)CRCR
 nmap C-_f :cs find f C-R=expand(cfile)CRCR
 nmap C-_i :cs find i ^C-R=expand(cfile)CR$CR
 nmap C-_d :cs find d C-R=expand(cword)CRCR

  Using 'CTRL-spacebar' then a search type makes the vim window
  split horizontally, with search result displayed in
  the new window.

 nmap C-Spaces :scs find s C-R=expand(cword)CRCR
 nmap C-Spaceg :scs find g C-R=expand(cword)CRCR
 nmap C-Spacec :scs find c C-R=expand(cword)CRCR
 nmap C-Spacet :scs find t C-R=expand(cword)CRCR
 nmap C-Spacee :scs find e C-R=expand(cword)CRCR
 nmap C-Spacef :scs find f C-R=expand(cfile)CRCR
 nmap C-Spacei :scs find i ^C-R=expand(cfile)CR$CR
 nmap C-Spaced :scs find d C-R=expand(cword)CRCR

 
  Any cscope database specified in CSCOPE_DB?
 
 let $CSCOPE_DB_FOUND = N
 if $CSCOPE_DB == 
 
  Find any database in current directory or above
 
 let $CSCOPE_DB_DIR = getcwd()
 while $CSCOPE_DB_DIR != /  $CSCOPE_DB_DIR != /home
 let $CSCOPE_DB = $CSCOPE_DB_DIR . /cscope.out
 if filereadable($CSCOPE_DB)
 let $CSCOPE_DB_FOUND=Y
 break
 endif
 let $CSCOPE_DB = $CSCOPE_DB_DIR . /cscope-fast.out
 if filereadable($CSCOPE_DB)
 let $CSCOPE_DB_FOUND=Y
 break
 endif
 let $CSCOPE_DB = $CSCOPE_DB_DIR . /cscope-fast
 if filereadable($CSCOPE_DB)
 let $CSCOPE_DB_FOUND=Y
 break
 endif
 let $CSCOPE_DB_DIR = fnamemodify($CSCOPE_DB_DIR, :h)
 endwhile

 
  If that found nothing and this looks like an ON workspace
  then try usr/src
 
 if $CSCOPE_DB_FOUND == N  

Re: [osol-discuss] FlashPlayer 9 on SXDE on Laptop...It's Been a Long Time Coming!

2007-07-12 Thread Mark Phalan
On Wed, 2007-07-11 at 23:17 -0700, W. Wayne Liauh wrote:
  Does about:config only list flash 9,0,47.0? 
  
  Casper
  
 
 Did a flash filter on aboutLconfig nothing of pertinence came out.
 

Casper probably meant about:plugins.

-M


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


Re: [osol-discuss] vim + cscope

2007-07-12 Thread Aubrey Li
On 7/12/07, Gavin Maltby [EMAIL PROTECTED] wrote:
 Hi,

 On 07/12/07 05:38, Aubrey Li wrote:
  Hi list,
 
  Does anyone have successful experience about vim + cscope to browse
  solaris source code?
  Unfortunate, I encountered the following error,
  
  [EMAIL PROTECTED]
  /export/home/aubrey/work/onnv-gate/usr/src/uts
  [EMAIL PROTECTED] -l cscope.*
  -rw-r--r--   1 aubrey   aubrey157421 Jul 13 09:23 cscope.files
  -rw-r--r--   1 aubrey   aubrey   8896902 Jul 13 09:24 cscope.in.out
  -rw-r--r--   1 aubrey   aubrey   77068303 Jul 13 09:24 cscope.out
  -rw-r--r--   1 aubrey   aubrey   58314408 Jul 13 09:24 cscope.po.out
  [EMAIL PROTECTED] i86pc/dboot/dboot_elfload.c
  Error detected while processing 
  /export/home/aubrey/.vim/plugin/cscope_maps.vim:
  line   42:
  cs_read_prompt EOF: Not a directory
  E609: Cscope error: cscope: cannot read list size from file cscope.out

 The ON 'xref' utility builds the database in cscope-fast format, so I'm 
 guessing
 the above may be a case of picking up the old cscope program.  When I remove
 the cscopeprg directive below I get a related error:

 Error detected while processing /home/gavinm/.vimrc:
 line  213:
 cs_read_prompt EOF: No such file or directory

 I have the following in my .vimrc which appears to make it all work (has
 been this way for some time and I can't remember how it all hangs
 together!):


Thanks, I've already make it work with Tirthankar's help.
Since he didn't post his method on mailing list, here I'd like to
share his method with others.
It works fine on my side.

-Aubrey

On 7/12/07, Tirthankar [EMAIL PROTECTED] wrote:
 Actually never tried that.

 I was using cscope + vim on my source code (not solaris source gate)

 I build the cscope using the following steps
 1.  cd to the directory where you want to start
 2.  find . -name *.h cscope.files.bak
 3.  find . -name *.c cscope.files.bak
 4. find . -name *.cc cscope.files.bak
 5. grep -v SCCS cscope.files.bak cscope.files
 6. cscope -b
 7. ctags -R .

 Hope this helps.

 Thanks,
 Tirthankar
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Flash Player 9 for solaris is released to the public.

2007-07-12 Thread Andrew Watkins
Don't make the same mistake as me and install Flash on a Solaris 9 box.

OK! It does say Solaris 10, but I thought it may work.

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


Re: [osol-discuss] nv b67 oddities

2007-07-12 Thread James Carlson
Thomas Maier-Komor writes:
 James Carlson schrieb:
  Thomas Maier-Komor writes:
  I am wondering if it is normal that pkginfo bails out with a dynamic 
  linker error stating that libssl.so.0.9.7 is missing on a nevada build 67 
  (SPARC).
  
  No.  That sounds like a broken system.
  
 
 I've done an upgrade with live upgrade from Solaris 10 update 3. I

Did you install the set of required patches before doing so?

 [EMAIL PROTECTED]:~$ uname -a
 SunOS azalin 5.11 snv_67 sun4u sparc SUNW,Sun-Blade-2500
 [EMAIL PROTECTED]:~$ ldd -s /usr/bin/pkginfo | grep sfw | head -1
 search path=/usr/sfw/lib  (RUNPATH/RPATH from file /usr/bin/pkginfo)
 [EMAIL PROTECTED]:~$ ldd /usr/bin/pkginfo | grep libssl
 libssl.so.0.9.7 =   (file not found)
 libssl.so.0.9.8 =   /usr/sfw/lib/libssl.so.0.9.8

That's odd.  It looks like /usr/bin/pkginfo itself wasn't upgraded
during that upgrade process, but I don't see how that could be.

Did the upgrade itself work properly?  Have you looked at the log file
(/var/sadm/system/logs/upgrade_log) to see if the upgrade was
successful?

It's not obvious to me what's wrong here, so I'd suggest filing a bug.

  Additionally, can anybody tell me why a regular user always gets a current 
  work directory of / instead of $HOME?
  
  If the user's home directory is inaccessible, that's the usual result.
  
 
 The user's home directory is accessible. A simple 'cd' jumps to the
 regular home directory. The terminal is started the same way as on
 Solaris 10 update 3 (i.e. with '/opt/csw/bin/xterm -ls')... I had this
 issue on any SXCE I can remember. Really weird...

It doesn't happen on any system I can find running any Solaris
version, so either there's some sort of unusual local scripting going
on (something that's been altered to do cd / in one of the common
user scripts), or there's something wrong with the user's home
directory.

Though there's not much that's usefully searchable in that
description, I did try a few searches of the bug database.  Not
surprisingly, nothing like that turns up.

Without more details, it'll probably be hard to debug this remotely,
but no regular system I know of has this problem.

-- 
James Carlson, Solaris Networking  [EMAIL PROTECTED]
Sun Microsystems / 1 Network Drive 71.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] High system cpu time

2007-07-12 Thread Gino
Hi All,

snv67, 4xOpteron.
We have some performance problems on this server. 
In particular mpstat is reporting CPU#1 at 93% sys.
Is there a way to find out what that cpu is doing? 

svr11@/test# lockstat -kIW -D 20 sleep 30

Profiling interrupt: 11648 events in 30.026 seconds (388 events/sec)

Count indv cuml rcnt nsec Hottest CPU+PILCaller
---
 5710  49%  49% 0.00  855 cpu[0] mach_cpu_idle
 1614  14%  63% 0.00 4278 cpu[3] (usermode)
  862   7%  70% 0.00 1072 cpu[1] do_splx
  858   7%  78% 0.00 1126 cpu[1]+11  splr
  267   2%  80% 0.00  767 cpu[1] disp_getwork
  204   2%  82% 0.00 3446 cpu[3] vmu_calculate_seg
  195   2%  83% 0.00 3331 cpu[3] page_exists
  192   2%  85% 0.00 2967 cpu[3] i_mod_hash_find_nosync
  157   1%  86% 0.00  768 cpu[1] swtch
  147   1%  88% 0.00  754 cpu[1] new_cpu_mstate
  135   1%  89% 0.00  767 cpu[1] disp
   88   1%  90% 0.00  754 cpu[1] tsc_gethrtimeunscaled
   70   1%  90% 0.00 4373 cpu[3] lzjb_compress
   67   1%  91% 0.00 4059 cpu[3] mutex_enter
   64   1%  91% 0.00  797 cpu[1]+11  lock_set_spl
   60   1%  92% 0.00  820 cpu[1]+11  disp_lock_exit
   49   0%  92% 0.00  742 cpu[1] idle_enter
   35   0%  92% 0.00  733 cpu[1] idle_exit
   32   0%  93% 0.00  989 cpu[1] disp_lock_enter
   26   0%  93% 0.00 4419 cpu[3] fsflush_do_pages
---
svr11@/test# mpstat 1
CPU minf mjf xcal  intr ithr  csw icsw migr smtx  srw syscl  usr sys  wt idl
  00   00  2224 122000020 00   1   0  99
  1   13   00   283  278   210020590  93   0   7
  20   0084   72   150020130   0   0 100
  3 1389   0   10   8724 1201  3120   120  6658   22  77   0   1
CPU minf mjf xcal  intr ithr  csw icsw migr smtx  srw syscl  usr sys  wt idl
  00   00  2455 1375000   130 00   1   0  99
  1 3064   0  221   141  122  334   18   1370  5614   11  84   0   5
  20   00   286  198   140000 50   0   0 100
  3  102   0   18   6272 1579  5410   620 279482   28  66   0   7
CPU minf mjf xcal  intr ithr  csw icsw migr smtx  srw syscl  usr sys  wt idl
  00   00  2349 130500070 00   1   0  99
  1   28   09463  1080000   4870  93   0   7
  2  297   0   27   288  235  2262120   8501   1   0  98
  3 9107   0   99   2704  996  2800   170 108063   61  38   0   1

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


Re: [osol-discuss] [desktop-discuss] About CDE removing (In which Build?)

2007-07-12 Thread Calum Benson
On Tue, 2007-07-10 at 10:57 -0700, Rich Teer wrote:
 On Tue, 10 Jul 2007, Alan Coopersmith wrote:
 
  There is no schedule yet - at the moment individual pieces are starting
  to be removed (sdtimage is out already, sdtaudiocontrol will probably
  come out around the time OSS goes in), but there's still some dependencies
  on other pieces that need to be cleared up first (moving the default login
  from dtlogin to gdm, waiting for the new installer to remove the dependency
  of the current installer on dtwm  dtterm, etc.).
 
 And, hopefully, making GNOME configurable enough so that it can be made to
 be CDE-user friendly for those of us who think that (among other things) the
 concept of a Launch button is stupid (compared to CDE's right click on the
 desktop approach).

Feel free to write your own Nautilus plugin that adds whatever
functionality you like to the right-click desktop menu-- if it's good
enough we might even ship it :)

Cheeri,
Calum.

-- 
CALUM BENSON, Usability Engineer   Sun Microsystems Ireland
mailto:[EMAIL PROTECTED]GNOME Desktop Group
http://ie.sun.com  +353 1 819 9771

Any opinions are personal and not necessarily those of Sun Microsystems


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


Re: [osol-discuss] High system cpu time

2007-07-12 Thread Gino
Hi Sherry,

here you are:

Loading modules: [ unix genunix specfs dtrace cpu.AuthenticAMD.15 uppc pcplusmp 
scsi_vhci ufs ip hook neti sctp arp usba qlc fctl nca lofs zfs random fcp sppp 
md cpc fcip crypto logindmux ptm ipc nfs ]
 ::cpuinfo
 ID ADDR FLG NRUN BSPL PRI RNRN KRNRN SWITCH THREAD   PROC
  0 fbc29350  1b00  -1   nono t-31874 ff0016c05c80 
(idle)
  1 fffec305d800  1b10  -1   nono t-1ff0016e81c80 (idle)
  2 fffec2ffc800  1b00  -1   nono t-5ff0016f0cc80 (idle)
  3 fffec305d000  1b70  30   nono t-0ff04a0a911e0 mdb
 ::cpuinfo
 ID ADDR FLG NRUN BSPL PRI RNRN KRNRN SWITCH THREAD   PROC
  0 fbc29350  1b00  -1   nono t-64564 ff0016c05c80 
(idle)
  1 fffec305d800  1b10  -1   nono t-663  ff0016e81c80 (idle)
  2 fffec2ffc800  1b00  59   nono t-030005940 
svc.configd
  3 fffec305d000  1b   140  59   nono t-0ff04a0a911e0 mdb
 ::cpuinfo
 ID ADDR FLG NRUN BSPL PRI RNRN KRNRN SWITCH THREAD   PROC
  0 fbc29350  1b00  -1   nono t-69788 ff0016c05c80 
(idle)
  1 fffec305d800  1b10  -1   nono t-32   ff0016e81c80 (idle)
  2 fffec2ffc800  1b00  -1   nono t-17   ff0016f0cc80 (idle)
  3 fffec305d000  1b30  59   nono t-1ff04a0a911e0 mdb
 ::cpuinfo
 ID ADDR FLG NRUN BSPL PRI RNRN KRNRN SWITCH THREAD   PROC
  0 fbc29350  1b00  -1   nono t-76468 ff0016c05c80 
(idle)
  1 fffec305d800  1b10  -1   nono t-558  ff0016e81c80 (idle)
  2 fffec2ffc800  1b00  -1   nono t-82   ff0016f0cc80 (idle)
  3 fffec305d000  1b20  59   nono t-1ff04a0a911e0 mdb
 ::cpuinfo
 ID ADDR FLG NRUN BSPL PRI RNRN KRNRN SWITCH THREAD   PROC
  0 fbc29350  1b00 160   nono t-165512 ff0016cb3c80 
sched
  1 fffec305d800  1b10  -1   nono t-33   ff0016e81c80 (idle)
  2 fffec2ffc800  1b00  -1   nono t-7ff0016f0cc80 (idle)
  3 fffec305d000  1b30  59   nono t-1ff04a0a911e0 mdb
 ff0016cb3c80::findstack -v
stack pointer for thread ff0016cb3c80 (TS_FREE): ff0016cb3bb0
  ff0016cb3be0 apic_setspl+0x53(0)
  ff0016cb3c30 dosoftint_epilog+0xf3(fbc29350, 0)
  ff0016cb3c60 dispatch_softint+0x3f(0, 0)
  ff0016c05a80 switch_sp_and_call+0x13()



srv11@/test# psrinfo -vp
The physical processor has 1 virtual processor (0)
  x86 (AuthenticAMD family 15 model 5 step 10 clock 2200 MHz)
AMD Opteron (tm) Processor 848
The physical processor has 1 virtual processor (1)
  x86 (AuthenticAMD family 15 model 5 step 10 clock 2200 MHz)
AMD Opteron (tm) Processor 848
The physical processor has 1 virtual processor (2)
  x86 (AuthenticAMD family 15 model 5 step 10 clock 2200 MHz)
AMD Opteron (tm) Processor 848
The physical processor has 1 virtual processor (3)
  x86 (AuthenticAMD family 15 model 5 step 10 clock 2200 MHz)
AMD Opteron (tm) Processor 848
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] installing zones

2007-07-12 Thread Oscar
bash-3.00# zoneadm -z myzones install
Preparing to install zone myzones.
Checking ufs file system on device /dev/rdsk/c1t0d0s7 to be mounted at /ho
ERROR: file system check /usr/lib/fs/ufs/fsck of /dev/rdsk/c1t0d0s7 failed:d
ERROR: cannot setup zone myzones inherited and configured file systems
ERROR: cannot setup zone myzones file systems inherited and configured from te
ERROR: cannot create zone boot environment myzones
zoneadm: zone 'myzones': '/usr/lib/lu/lucreatezone' failed with exit code 74.

bash-3.00# zonecfg -z myzones info
zonepath: /home/zones
autoboot: true
pool: 
inherit-pkg-dir:
dir: /lib
inherit-pkg-dir:
dir: /platform
inherit-pkg-dir:
dir: /sbin
inherit-pkg-dir:
dir: /usr
fs:
dir: /mnt
special: /dev/dsk/c1t0d0s7
raw: /dev/rdsk/c1t0d0s7
type: ufs
options: []
net:
address: 172.16.35.47
physical: eri0
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] installing zones

2007-07-12 Thread UNIX admin
 zonepath: /home/zones

One may not use /home for anything other than the AutoMounter facility, 
especially under Solaris.
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] panic[cpu0]/thread=fec1f2e0: assertion failed

2007-07-12 Thread Eric Saxe
Jürgen Keil wrote:
   
 cpu0: x86 (CentaurHauls 6A9 family 6 model 10 step 9 clock 1200 MHz)
 cpu0: VIA Esther processor 1200MHz
 

 Could be missing / broken or incomplete VIA/CentaurHauls x86 cpu support:
   
I'm suspecting that you are correct Jürgen. According to:
http://en.wikipedia.org/wiki/VIA_C7#Esther

...the CPU's L2 is 32-way set associative, so we're likely 
mis-characterizing it. I'm trying to get access
to the CPUID specification for this CPU. If someone can send me a 
pointer, i'd be grateful. :)

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


Re: [osol-discuss] panic[cpu0]/thread=fec1f2e0: assertion failed

2007-07-12 Thread Dennis Clarke

 Jürgen Keil wrote:

 cpu0: x86 (CentaurHauls 6A9 family 6 model 10 step 9 clock 1200 MHz)
 cpu0: VIA Esther processor 1200MHz


 Could be missing / broken or incomplete VIA/CentaurHauls x86 cpu support:

 I'm suspecting that you are correct Jürgen. According to:
 http://en.wikipedia.org/wiki/VIA_C7#Esther

 ...the CPU's L2 is 32-way set associative, so we're likely
 mis-characterizing it. I'm trying to get access
 to the CPUID specification for this CPU. If someone can send me a
 pointer, i'd be grateful. :)

here is what I have in front of me :

module /platform/i86pc/kernel//unix: text at [0xfe80, 0xfe8ae71b] data
at 0xfec0
module /kernel/genunix: text at [0xfe8ae720, 0xfea4497f] data at 0xfec47d80
SunOS Release 5.11 Version snv_68 32-bit
Copyright 1983-2007 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
features:
1007effcpuid,sse2,sse,sep,pat,cx8,pae,mmx,cmov,de,pge,mtrr,msr,tsc,lgpg
cpu0: initialized cpu module 'cpu.generic'
mem = 981500K (0x3be7f000)
root nexus = i86pc
pseudo0 at root
pseudo0 is /pseudo
scsi_vhci0 at root
scsi_vhci0 is /scsi_vhci
isa0 at root
pci0 at root: space 0 offset 0
pci0 is /[EMAIL PROTECTED],0
IDE device at targ 0, lun 0 lastlun 0x0
model ST340014A
ATA/ATAPI-6 supported, majver 0x7e minver 0x1b
ata_set_feature: (0x66,0x0) failed
ATAPI device at targ 1, lun 0 lastlun 0x0
model SAMSUNG CDRW/DVD SM-352N
PCI-device: [EMAIL PROTECTED], ata2
ata2 is /[EMAIL PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL PROTECTED]
UltraDMA mode 2 selected
UltraDMA mode 2 selected
UltraDMA mode 2 selected
UltraDMA mode 2 selected
cmdk0 at ata2 target 0 lun 0
cmdk0 is /[EMAIL PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL PROTECTED]/[EMAIL 
PROTECTED],0
SMBIOS v2.3 loaded (902 bytes)pseudo-device: dld0
dld0 is /pseudo/[EMAIL PROTECTED]
PCI-device: pci1106,[EMAIL PROTECTED], pci_pci0
pci_pci0 is /[EMAIL PROTECTED],0/pci1106,[EMAIL PROTECTED]
ISA-device: asy0
asy0 is /isa/[EMAIL PROTECTED],3f8
/[EMAIL PROTECTED],0/pci1106,[EMAIL PROTECTED],4 (ehci0): Unable to take 
control from BIOS.
Failure is ignored.
PCI-device: pci1106,[EMAIL PROTECTED],4, ehci0
ehci0 is /[EMAIL PROTECTED],0/pci1106,[EMAIL PROTECTED],4
USB 2.0 device (usb951,1600) operating at hi speed (USB 2.x) on USB 2.0 root
hub: [EMAIL PROTECTED], scsa2usb0 at bus address 2
Kingston DataTraveler II  5B571B0016A3
scsa2usb0 is /[EMAIL PROTECTED],0/pci1106,[EMAIL PROTECTED],4/[EMAIL PROTECTED]
/[EMAIL PROTECTED],0/pci1106,[EMAIL PROTECTED],4/[EMAIL PROTECTED] (scsa2usb0) 
online
USB 2.0 device (usb781,5151) operating at hi speed (USB 2.x) on USB 2.0 root
hub: [EMAIL PROTECTED], scsa2usb1 at bus address 3
SanDisk Corporation Cruzer Micro 200517402304FB60FF18
scsa2usb1 is /[EMAIL PROTECTED],0/pci1106,[EMAIL PROTECTED],4/[EMAIL PROTECTED]
/[EMAIL PROTECTED],0/pci1106,[EMAIL PROTECTED],4/[EMAIL PROTECTED] (scsa2usb1) 
online
USB 2.0 device (usb154b,5) operating at hi speed (USB 2.x) on USB 2.0 root
hub: [EMAIL PROTECTED], scsa2usb2 at bus address 4
PNY  USB 2.0 FD   6E6A09002646
scsa2usb2 is /[EMAIL PROTECTED],0/pci1106,[EMAIL PROTECTED],4/[EMAIL PROTECTED]
/[EMAIL PROTECTED],0/pci1106,[EMAIL PROTECTED],4/[EMAIL PROTECTED] (scsa2usb2) 
online
sd0 at scsa2usb0: target 0 lun 0
sd0 is /[EMAIL PROTECTED],0/pci1106,[EMAIL PROTECTED],4/[EMAIL 
PROTECTED]/[EMAIL PROTECTED],0
sd1 at scsa2usb1: target 0 lun 0
sd1 is /[EMAIL PROTECTED],0/pci1106,[EMAIL PROTECTED],4/[EMAIL 
PROTECTED]/[EMAIL PROTECTED],0
sd2 at scsa2usb2: target 0 lun 0
sd2 is /[EMAIL PROTECTED],0/pci1106,[EMAIL PROTECTED],4/[EMAIL 
PROTECTED]/[EMAIL PROTECTED],0
/[EMAIL PROTECTED],0/pci1106,[EMAIL PROTECTED],4/[EMAIL PROTECTED]/[EMAIL 
PROTECTED],0 (sd0) online
/[EMAIL PROTECTED],0/pci1106,[EMAIL PROTECTED],4/[EMAIL PROTECTED]/[EMAIL 
PROTECTED],0 (sd1) online
/[EMAIL PROTECTED],0/pci1106,[EMAIL PROTECTED],4/[EMAIL PROTECTED]/[EMAIL 
PROTECTED],0 (sd2) online
PCI-device: pci1106,[EMAIL PROTECTED], uhci0
uhci0 is /[EMAIL PROTECTED],0/pci1106,[EMAIL PROTECTED]
PCI-device: pci1106,[EMAIL PROTECTED],1, uhci1
uhci1 is /[EMAIL PROTECTED],0/pci1106,[EMAIL PROTECTED],1
PCI-device: pci1106,[EMAIL PROTECTED],2, uhci2
uhci2 is /[EMAIL PROTECTED],0/pci1106,[EMAIL PROTECTED],2
PCI-device: pci1106,[EMAIL PROTECTED],3, uhci3
uhci3 is /[EMAIL PROTECTED],0/pci1106,[EMAIL PROTECTED],3
cpu0: x86 (CentaurHauls 6A9 family 6 model 10 step 9 clock 1200 MHz)
cpu0: VIA Esther processor 1200MHz
pseudo-device: tzmon0
tzmon0 is /pseudo/[EMAIL PROTECTED]
UltraDMA mode 2 selected
UltraDMA mode 2 selected
UltraDMA mode 2 selected
UltraDMA mode 2 selected
dump on /dev/dsk/c0d0s1 size 2047 MB
Hostname: aequitas
pseudo-device: zfs0
zfs0 is /pseudo/[EMAIL PROTECTED]
pseudo-device: devinfo0
devinfo0 is /pseudo/[EMAIL PROTECTED]
pseudo-device: pm0
pm0 is /pseudo/[EMAIL PROTECTED]
pseudo-device: power0
power0 is /pseudo/[EMAIL PROTECTED]
/dev/rdsk/c0d0s7 is clean

Re: [osol-discuss] panic[cpu0]/thread=fec1f2e0: assertion failed

2007-07-12 Thread Stephen Lau
Dennis Clarke wrote:
 Jürgen Keil wrote:
 cpu0: x86 (CentaurHauls 6A9 family 6 model 10 step 9 clock 1200 MHz)
 cpu0: VIA Esther processor 1200MHz

 Could be missing / broken or incomplete VIA/CentaurHauls x86 cpu support:

 I'm suspecting that you are correct Jürgen. According to:
 http://en.wikipedia.org/wiki/VIA_C7#Esther

 ...the CPU's L2 is 32-way set associative, so we're likely
 mis-characterizing it. I'm trying to get access
 to the CPUID specification for this CPU. If someone can send me a
 pointer, i'd be grateful. :)
 
 here is what I have in front of me :
 

snip

 How can I be of help to you?  I am sure that this machine here can
 provide all that you want to know.

I think what Eric is looking for is a reference or spec to the VIA C7 
chip, specifically to find out what values it returns for CPUID queries.

The fact that OpenSolaris is detecting it as a 10-way set associative 
cache when it's in fact a 32-way is a bug in the way we're querying the 
CPUID function on the VIA chip (or a bug in the way we're interpreting 
the response); so we need to find out what the correct query is, and how 
to correctly interpret it.

cheers,
steve
-- 
stephen lau // [EMAIL PROTECTED] | 650.786.0845 | http://whacked.net
opensolaris // solaris kernel development
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] panic[cpu0]/thread=fec1f2e0: assertion failed

2007-07-12 Thread Dennis Clarke

 Dennis Clarke wrote:
 Jürgen Keil wrote:
 cpu0: x86 (CentaurHauls 6A9 family 6 model 10 step 9 clock 1200 MHz)
 cpu0: VIA Esther processor 1200MHz

 Could be missing / broken or incomplete VIA/CentaurHauls x86 cpu
 support:

 I'm suspecting that you are correct Jürgen. According to:
 http://en.wikipedia.org/wiki/VIA_C7#Esther

 ...the CPU's L2 is 32-way set associative, so we're likely
 mis-characterizing it. I'm trying to get access
 to the CPUID specification for this CPU. If someone can send me a
 pointer, i'd be grateful. :)

 here is what I have in front of me :


 snip

 How can I be of help to you?  I am sure that this machine here can
 provide all that you want to know.

 I think what Eric is looking for is a reference or spec to the VIA C7
 chip, specifically to find out what values it returns for CPUID queries.

Oh, I don't think I have *that* in front of me.

 The fact that OpenSolaris is detecting it as a 10-way set associative
 cache when it's in fact a 32-way is a bug in the way we're querying the
 CPUID function on the VIA chip (or a bug in the way we're interpreting
 the response); so we need to find out what the correct query is, and how
 to correctly interpret it.

This seems to be an opportunity to employ some code early in the boot phase
and to perhaps print out some debugging info at that time.

The question is .. where and what to debug.

Dennis

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


Re: [osol-discuss] panic[cpu0]/thread=fec1f2e0: assertion failed

2007-07-12 Thread Eric Saxe
Dennis Clarke wrote:
 This seems to be an opportunity to employ some code early in the boot phase
 and to perhaps print out some debugging info at that time.

 The question is .. where and what to debug.
   
Can you send me the output of:

# echo cpuid_info0::print | mdb -k

Those are the tea leaves that i'll be using the VIA CPUID guide to 
interpret. :)

Thanks,
-Eric
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] panic[cpu0]/thread=fec1f2e0: assertion failed

2007-07-12 Thread Eric Saxe
Dennis Clarke wrote:
 Dennis Clarke wrote:
 
 This seems to be an opportunity to employ some code early in the boot
 phase
 and to perhaps print out some debugging info at that time.

 The question is .. where and what to debug.

   
 Can you send me the output of:

 # echo cpuid_info0::print | mdb -k
 

 # echo cpuid_info0::print | mdb -k
 {
 cpi_pass = 0x4
 cpi_maxeax = 0x1
 cpi_vendorstr = [ CentaurHauls ]
 cpi_vendor = 0x6
 cpi_family = 0x6
 cpi_model = 0xa
 cpi_step = 0x9
 cpi_chipid = 0x
 cpi_brandid = 0
 cpi_clogid = 0
 cpi_ncpu_per_chip = 0x1
 cpi_cacheinfo = [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
 cpi_ncache = 0
 cpi_std = [
 {
 cp_eax = 0x1
 cp_ebx = 0x746e6543
 cp_ecx = 0x736c7561
 cp_edx = 0x48727561
 }
 {
 cp_eax = 0x6a9
 cp_ebx = 0x10800
 cp_ecx = 0
 cp_edx = 0xa7c9bbff
 }
 {
 cp_eax = 0
 cp_ebx = 0
 cp_ecx = 0
 cp_edx = 0
 }
 {
 cp_eax = 0
 cp_ebx = 0
 cp_ecx = 0
 cp_edx = 0
 }
 {
 cp_eax = 0
 cp_ebx = 0
 cp_ecx = 0
 cp_edx = 0
 }
 {
 cp_eax = 0
 cp_ebx = 0
 cp_ecx = 0
 cp_edx = 0
 }
 ]
 cpi_xmaxeax = 0x8006
 cpi_brandstr = [ VIA Esther processor 1200MHz ]
 cpi_pabits = 0x24
 cpi_vabits = 0x20
 cpi_extd = [
 {
 cp_eax = 0x8006
 cp_ebx = 0
 cp_ecx = 0
 cp_edx = 0
 }
 {
 cp_eax = 0
 cp_ebx = 0
 cp_ecx = 0
 cp_edx = 0
 }
 {
 cp_eax = 0x20202020
 cp_ebx = 0x20202020
 cp_ecx = 0x20202020
 cp_edx = 0x20202020
 }
 {
 cp_eax = 0x56202020
 cp_ebx = 0x45204149
 cp_ecx = 0x65687473
 cp_edx = 0x72702072
 }
 {
 cp_eax = 0x7365636f
 cp_ebx = 0x20726f73
 cp_ecx = 0x30303231
 cp_edx = 0x7a484d
 }
 {
 cp_eax = 0
 cp_ebx = 0x8800880
 cp_ecx = 0x40040140
 cp_edx = 0x40040140
 }
 {
 cp_eax = 0
 cp_ebx = 0
 cp_ecx = 0x80a140
 cp_edx = 0
 }
 {
 cp_eax = 0
 cp_ebx = 0
 cp_ecx = 0
 cp_edx = 0
 }
 {
 cp_eax = 0
 cp_ebx = 0
 cp_ecx = 0
 cp_edx = 0
 }
 ]
 cpi_coreid = 0
 cpi_ncore_per_chip = 0x1
 cpi_support = [ 0xa7c9bbff, 0, 0, 0, 0 ]
 cpi_chiprev = 0
 cpi_chiprevstr = 0xfe8a6a80 Unknown
 cpi_socket = 0
 cpi_mwait = {
 mon_min = 0
 mon_max = 0
 support = 0
 }
 }

   
 Those are the tea leaves that i'll be using the VIA CPUID guide to
 interpret. :)
 

 let me know anything else that you need.
Thanks, I can see from cpuid_info0.cpi_extd[6].cp_ecx[15:12] where the 
associativity was
derived from (0xa), so we were assuming an AMD style cache description 
(amd_l2cacheinfo()).
cpuid_info.cpi_std[2] is filled with 0x20 descriptors...for which we 
don't have an entry in our
tables.  If the appropriate CPUID reference says we should be using 
function 2, then that's probably
the problem.

I've filed:
6580117 panic: assertion failed: ISP2(CPUSETSIZE()) on VIA Esther 
based system

for this.

Thanks,
-Eric
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] panic[cpu0]/thread=fec1f2e0: assertion failed

2007-07-12 Thread Dennis Clarke

 Dennis Clarke wrote:
 Dennis Clarke wrote:

 This seems to be an opportunity to employ some code early in the boot
 phase
 and to perhaps print out some debugging info at that time.

 The question is .. where and what to debug.


 Can you send me the output of:

 # echo cpuid_info0::print | mdb -k


 # echo cpuid_info0::print | mdb -k
 {
 cpi_pass = 0x4
 cpi_maxeax = 0x1
 cpi_vendorstr = [ CentaurHauls ]
 cpi_vendor = 0x6
 cpi_family = 0x6
 cpi_model = 0xa
 cpi_step = 0x9
 cpi_chipid = 0x
 cpi_brandid = 0
 cpi_clogid = 0
 cpi_ncpu_per_chip = 0x1
 cpi_cacheinfo = [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
 cpi_ncache = 0
 cpi_std = [
 {
 cp_eax = 0x1
 cp_ebx = 0x746e6543
 cp_ecx = 0x736c7561
 cp_edx = 0x48727561
 }
 {
 cp_eax = 0x6a9
 cp_ebx = 0x10800
 cp_ecx = 0
 cp_edx = 0xa7c9bbff
 }
 {
 cp_eax = 0
 cp_ebx = 0
 cp_ecx = 0
 cp_edx = 0
 }
 {
 cp_eax = 0
 cp_ebx = 0
 cp_ecx = 0
 cp_edx = 0
 }
 {
 cp_eax = 0
 cp_ebx = 0
 cp_ecx = 0
 cp_edx = 0
 }
 {
 cp_eax = 0
 cp_ebx = 0
 cp_ecx = 0
 cp_edx = 0
 }
 ]
 cpi_xmaxeax = 0x8006
 cpi_brandstr = [ VIA Esther processor 1200MHz ]
 cpi_pabits = 0x24
 cpi_vabits = 0x20
 cpi_extd = [
 {
 cp_eax = 0x8006
 cp_ebx = 0
 cp_ecx = 0
 cp_edx = 0
 }
 {
 cp_eax = 0
 cp_ebx = 0
 cp_ecx = 0
 cp_edx = 0
 }
 {
 cp_eax = 0x20202020
 cp_ebx = 0x20202020
 cp_ecx = 0x20202020
 cp_edx = 0x20202020
 }
 {
 cp_eax = 0x56202020
 cp_ebx = 0x45204149
 cp_ecx = 0x65687473
 cp_edx = 0x72702072
 }
 {
 cp_eax = 0x7365636f
 cp_ebx = 0x20726f73
 cp_ecx = 0x30303231
 cp_edx = 0x7a484d
 }
 {
 cp_eax = 0
 cp_ebx = 0x8800880
 cp_ecx = 0x40040140
 cp_edx = 0x40040140
 }
 {
 cp_eax = 0
 cp_ebx = 0
 cp_ecx = 0x80a140
 cp_edx = 0
 }
 {
 cp_eax = 0
 cp_ebx = 0
 cp_ecx = 0
 cp_edx = 0
 }
 {
 cp_eax = 0
 cp_ebx = 0
 cp_ecx = 0
 cp_edx = 0
 }
 ]
 cpi_coreid = 0
 cpi_ncore_per_chip = 0x1
 cpi_support = [ 0xa7c9bbff, 0, 0, 0, 0 ]
 cpi_chiprev = 0
 cpi_chiprevstr = 0xfe8a6a80 Unknown
 cpi_socket = 0
 cpi_mwait = {
 mon_min = 0
 mon_max = 0
 support = 0
 }
 }


 Those are the tea leaves that i'll be using the VIA CPUID guide to
 interpret. :)


 let me know anything else that you need.
 Thanks, I can see from cpuid_info0.cpi_extd[6].cp_ecx[15:12] where the
 associativity was
 derived from (0xa), so we were assuming an AMD style cache description
 (amd_l2cacheinfo()). cpuid_info.cpi_std[2] is filled with 0x20
 descriptors...for which we don't have an entry in our
 tables.  If the appropriate CPUID reference says we should be using
 function 2, then that's probably the problem.

gee ... I'll just agree ;-)

 I've filed:
 6580117 panic: assertion failed: ISP2(CPUSETSIZE()) on VIA Esther
 based system
 for this.

 Thanks,
 -Eric


Thank you .. I'll keep an eye on this link :

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

and in the meantime I'll update my code via hg and fire off another build
just to test the results.  When you're ready.

anything else you need .. just let me know.

Dennis Clarke

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


Re: [osol-discuss] installing zones

2007-07-12 Thread Lu, Baolu

/home in OpenSolaris is not a good directory to place the zone root file system.

bash-3.00# ls -ld /home
dr-xr-xr-x   1 root root   1 Jul  7 16:47 /home


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Oscar
Sent: 2007年7月13日 2:16
To: opensolaris-discuss@opensolaris.org
Subject: [osol-discuss] installing zones

bash-3.00# zoneadm -z myzones install
Preparing to install zone myzones.
Checking ufs file system on device /dev/rdsk/c1t0d0s7 to be mounted at /ho
ERROR: file system check /usr/lib/fs/ufs/fsck of /dev/rdsk/c1t0d0s7 failed:d
ERROR: cannot setup zone myzones inherited and configured file systems
ERROR: cannot setup zone myzones file systems inherited and configured from te
ERROR: cannot create zone boot environment myzones
zoneadm: zone 'myzones': '/usr/lib/lu/lucreatezone' failed with exit code 74.

bash-3.00# zonecfg -z myzones info
zonepath: /home/zones
autoboot: true
pool: 
inherit-pkg-dir:
dir: /lib
inherit-pkg-dir:
dir: /platform
inherit-pkg-dir:
dir: /sbin
inherit-pkg-dir:
dir: /usr
fs:
dir: /mnt
special: /dev/dsk/c1t0d0s7
raw: /dev/rdsk/c1t0d0s7
type: ufs
options: []
net:
address: 172.16.35.47
physical: eri0
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org