Solaris 10 Zone for Solaris 11.1 creation with template fails.
Hi,
We are trying to use the Oracle VM Template for Oracle Solaris 10 Zone to create a solaris 10 zone on a solaris 11.1 GZ
root@exsolh0005:/opt/scripts# ./solaris-10u11-sparc -v
This is an Oracle VM Template for Oracle Solaris Zones.
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
This software and related documentation are provided under a license
agreement containing restrictions on use and disclosure and are
protected by intellectual property laws. Except as expressly
permitted in your license agreement or allowed by law, you may not
use, copy, reproduce, translate, broadcast, modify, license,
transmit, distribute, exhibit, perform, publish, or display any
part, in any form, or by any means. Reverse engineering,
disassembly, or decompilation of this software, unless required by
law for interoperability, is prohibited.
Version: 1.0.9.12
root@exsolh0005:/opt/scripts# ./solaris-10u11-sparc -p /rpool -a 10.83.128.35/24 -i net6 -z testzone
This is an Oracle VM Template for Oracle Solaris Zones.
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
This software and related documentation are provided under a license
agreement containing restrictions on use and disclosure and are
protected by intellectual property laws. Except as expressly
permitted in your license agreement or allowed by law, you may not
use, copy, reproduce, translate, broadcast, modify, license,
transmit, distribute, exhibit, perform, publish, or display any
part, in any form, or by any means. Reverse engineering,
disassembly, or decompilation of this software, unless required by
law for interoperability, is prohibited.
IMAGE: ./solaris-10u11-sparc
ZONE: testzone
ZONEPATH: /rpool/testzone
VNIC: vnicZBI83273795
IP ADDR: 10.83.128.35
NETMASK: 255.255.255.0
DEFROUTER: 10.83.128.1
TIMEZONE: Europe/Copenhagen
Checking disk-space for extraction
Ok
Extracting in /opt/scripts/bootimage.8Ham6r ...
100% [===============================>]
Checking data integrity
Ok
Checking platform compatibility
The host and the image do not have the same Solaris release:
host Solaris release: 5.11
image Solaris release: 5.10
Will create a Solaris 10 branded zone.
Checking disk-space for installation
Ok
Installing in /rpool/testzone ...
100% [===============================>]
Attaching testzone
Problem attaching testzone.
More details in /var/sadm/install/logs/solaris-10u11-sparc.log
Cleaning up and exiting.
Friday, May 10, 2013 03:18:01 PM CEST: cleaning up
root@exsolh0005:/opt/scripts#
root@exsolh0005:/opt/scripts# cat /var/log/zones/zoneadm.20130510T131756Z.testzone.attach
[Friday, May 10, 2013 03:17:56 PM CEST] ==== Starting: /usr/lib/brand/solaris10/attach testzone /rpool/testzone -c /opt/scripts/bootimage.8Ham6r/sysidcfg.testzone ====
[Friday, May 10, 2013 03:17:56 PM CEST] Progress being logged to /var/log/zones/zoneadm.20130510T131756Z.testzone.attach
[Friday, May 10, 2013 03:17:56 PM CEST] Pinning datasets under rpool/testzone
[Friday, May 10, 2013 03:17:56 PM CEST] Pinning rpool/testzone
[Friday, May 10, 2013 03:17:56 PM CEST] Pinning rpool/testzone/rpool
[Friday, May 10, 2013 03:17:56 PM CEST] Pinning rpool/testzone/rpool/ROOT
[Friday, May 10, 2013 03:17:56 PM CEST] Pinning rpool/testzone/rpool/ROOT/zbe
[Friday, May 10, 2013 03:17:56 PM CEST] Log File: /var/log/zones/zoneadm.20130510T131756Z.testzone.attach
[Friday, May 10, 2013 03:17:57 PM CEST] Converting detached zone boot environment 'zbe'.
[Friday, May 10, 2013 03:17:57 PM CEST] Unmounting /rpool/testzone/root
[Friday, May 10, 2013 03:18:00 PM CEST] setting ZFS property zoned=on on rpool/testzone/rpool
[Friday, May 10, 2013 03:18:00 PM CEST] setting ZFS property canmount=noauto on rpool/testzone/rpool/ROOT
[Friday, May 10, 2013 03:18:00 PM CEST] setting ZFS property mountpoint=legacy on rpool/testzone/rpool/ROOT
[Friday, May 10, 2013 03:18:01 PM CEST] Mounting boot environment in rpool/testzone/rpool/ROOT/zbe-0 at /rpool/testzone/root (including child datasets)
cannot open 'ERROR: Error: Command <zfs list -H -o name -t filesystem -r rpool/testzone/rpool/ROOT/zbe-0> exited with status 1': invalid dataset name
[Friday, May 10, 2013 03:18:01 PM CEST] ERROR: refresh of ERROR: Error: Command <zfs list -H -o name -t filesystem -r rpool/testzone/rpool/ROOT/zbe-0> exited with status 1 failed
[Friday, May 10, 2013 03:18:01 PM CEST] ERROR: Error: rpool/testzone/rpool/ROOT/zbe-0: No such dataset.
[Friday, May 10, 2013 03:18:01 PM CEST] Unpinning datasets under rpool/testzone
[Friday, May 10, 2013 03:18:01 PM CEST] Unpinning rpool/testzone
[Friday, May 10, 2013 03:18:01 PM CEST] Unpinning rpool/testzone/rpool
[Friday, May 10, 2013 03:18:01 PM CEST] Unpinning rpool/testzone/rpool/ROOT
[Friday, May 10, 2013 03:18:01 PM CEST] Unpinning rpool/testzone/rpool/ROOT/zbe
[Friday, May 10, 2013 03:18:01 PM CEST] Result: Attach Failed.
[Friday, May 10, 2013 03:18:01 PM CEST] Exiting with exit code 254
[Friday, May 10, 2013 03:18:01 PM CEST] ==== Completed: /usr/lib/brand/solaris10/attach testzone /rpool/testzone -c /opt/scripts/bootimage.8Ham6r/sysidcfg.testzone ====
Looks like a script bug..
Regards
Claus
Hello All,
I would love to know if someone has a solution to this as I am seeing a similar issue with a slightly different setup.
Solaris 8 and Netra 240. I get the same result with and without patches and finish scripts. After the jumpstart and the failed boot attempt from disk. I can boot from cd, copy the glm driver from the cd to disk, and then everything works as it should. Obviously this is not a solution but only a work around.
Is it something to do with the SCSI hardware architecture used in the *240s?
Edited by: Gareth_Mann on Oct 2, 2007 7:41 PM
Similar Messages
-
Cross compiling apps on solaris 8 for solaris 10 x86 and x64
Hi All,
We have a few applications built on Solaris 8. and we want to build the same apps on Solaris 10 x86 and x64 but the problem is clearcase does not support Solaris 10 yet.
Can we cross compile the apps on Solaris 8 for Solaris 10 x86 and x64 ? and how ?
waiting for any info on this.
TIA,
warm regards,
GirishFYI, I noticed the reply on Sun Studio General Forum:
If you build an app on one version of Solaris, the app will run on later Solaris versions. So in particular, you can build an x86 application on Solaris 8 and run it on Solaris 9 and 10.
Unfortunately, an x64 application must be built on a Solaris x64 system, which first became available with Solaris 10. -
Create ecatt script for one sales order creation with multiple line items
Hi ,
I want to create a ecatt script for one sales order creation with multiple line items. Preferably SAP GUI.
This selection of data will be from an external file/ variants which will have only one row of data in it.
Firstly: I have to sort the external file having same PO Numbers in an order.Group them together.
Second: I have to create sales order for those many line items having same PO Number.
Best Regard
TaranumHi Micky
Firstl you should upload the Line items for a particular sales Order in an Internal table
and then pass that internal table to your BAPI during your coding corresponding to a particu;lar sales order
In case of any issues pls revert back
Reward points if helpful
Regards
Hitesh -
Recommendations for Solaris Zones for NW2004S?
I'm new to Solaris zones and would appreciate any recommendations from you regarding the setup of zones to run NW2004S. I did a scan of SapNet and SDN, but found nothing.
So, for example, would you insist on running a Prod instance in the global zone? For an SAP that runs in a zone, which file-systems would you share from the global zone?
Another tips/traps you have would be greatly appreciated.We consolidated already 7 systems:
root@consbig / >zoneadm list -vi
ID NAME STATUS PATH
0 global running /
22 srmtest running /zone/srmtest
23 nwdi_ext_1 running /zone/nwdi_ext_1
32 bbbcpy running /zone/bbbcpy
35 icht running /zone/icht
40 osiris running /zone/osiris
42 bi_oracle_test running /zone/biorat
43 hpvm running /zone/hpvm
This is a HP DL585 with 4 CPUs and 48 GB RAM (Opteron, not SPARC). -
2012 R2 guest VM creation from template fails - SVMM 2012 SP1
Hi,
I am trying to create a VM from a VM template and I get error 13206 - Virtual Machine Manager cannot locate the boot or system volumen on virtual machine <NewVMName>.
First, the current setup:
Host OS: Windows Server 2012
SCVMM: 2012 SP1
The VM Template creation process:
- Create a normal VM from SCVMM: Guest OS is Windows Server 2012 R2
- Simple configuration of the guest OS (eg: regional settings, ...)
- Disk within the VM is configured as Dynamic (has one simple partition that is System Reserved and another simple partition for the System (C:))
- Sysprep the guest VM with Generalize and Shutdown options
- Import the syspreped VHDX onto the SCVMM Library (making sure that the transfer is "unencrypted")
- Create the VM Template using imported VHDX (since this is SCVMM 2012 SP1, not R2, the option to select the VHD generation (1 or 2) is not provided)
The VM creation from template process:
- Create a VM from the template with the default values and ticking the box for the VM to "start the virtual machine after deploying it on the host"
The "Job" process:
- Create virtual machine = Completed
- Deploy file (using LAN) = Completed
- Change properties of virtual machine = Completed
- Fix up differencing disks = Completed
- Install VM components = Failed <=Error 13206
Some additional details:
- Hyper-V integration services are not installed on the guest VM
- Repeated the same procedure with both Dynamic and Fixed VHDX
- Original VM was created with only 1 disk for boot drive (no additional disks)
- Original VM does not have any roles or features configured
- The VM Template does not make use of answer files nor is it configured to join the domain
- Enabled SCVMM log tracing using Microsoft kb2913445 and searched the logs using the VHDX ID number - Not found
Any help/guidance is greatly appreciated...
Thank you,
KarimSCVMM 2012 SP1 does not know of 2012 R2 (that I recall).
Also, the VM must be a Generation 1. Generation 2 creates a UEFI layout on the VHD that SCVMM 2012 has no idea how to handle.
SCVMM actually mounts the VHD when the VM is deployed and looks for disk volume markers to find the OS in the VHD, then injects some startup files. This is the portion of the process where you are failing.
How do I know? I submitted a bug around this in the SCVMM 2012 timeframe. That I believe was fixed around the time of UR4.
I caused the problem to happen by creating my VM with DISM from an image. This did not create the layout assumptions that SCVMM was looking for and blocked template deployment.
Brian Ehlert
http://ITProctology.blogspot.com
Learn. Apply. Repeat. -
Solaris 8 (for IA) running very slowly!
I've recently installed Solaris 8 for Intel on a PC with a Pentium 4 processor (at 1.9 Ghz), 256MB RAM, and a 40 GB IDE HD.
The OS is running but I have noticed that it seems to take a while for even the simplest task to complete. For example, after logging in as root, I use the CDE and choose "Desktop Controls" from the option bar at the bottom of the screen. It takes about 18 seconds for the "Application Manager - Desktop_Controls" menu window to appear. I am relatively new to Solaris (Unix) but I expected that even though the system tries to give full resources the task-at-hand, it would be faster than this.
I consulted with Sun when I did the install and was advised to allocate more swap space than was defined in a default installation. I defined a swap space of 850MB. Other than installing the OS, nothing else has been added (patches, etc), yet.
Any suggestions as to what is making things so slow?Thanks for the help Lee. I'm kind of new to this Unix stuff so bear with me.
I understand (I think) that you are recommending I check the CMOS settings to see if DMA mode is off. I don't recall but if there is an option to enable DMA in CMOS, should I do that? Would that be sufficient? Also, if it is off where do I issue the command "eeprom ata-dma-enabled=1"?
Again, thanks for your help. This is a learning process for me.
Derek -
Allow "Signing" and "Creation of Template Pages" in Reader XI
Hi.
I have created a form in Adobe Pro XI that allows the (Reader XI) user to insert additional templates pages by clicking "button X". The form also provides the user a Digital Signature field to sign the document.
In order for the user to be able to use the Digital Signature field the file must be saved as a "Reader Extended PDF" with the "Enable More Tools" option. This however, disables the addional templates option.
Is there a way to allow for both "Signing" and "Creation of Template Pages" in a Reader document?
ThanksThanks GKaiseril. While I was hoping for some sort of option choice or Javascript I feared that would be the resonse.
-
Set rlim_fd_cur=8192 for Solaris 10 Zone?
Hi!
I would like to install SAP Solution Manager 7.0 on Solaris 10 Zone (Sparc 64 Bit).
Unfortunately I could find the file etc/system. Instead I added the project file acording to SAP note 724713.
When I run SAP prerequisite Checker SAPINST tells me that the following will be missed:
set rlim_fd_cur=8192 in etc/system.
Question:
Do I need to add the file etc/system and add them the following commando:
set rlim_fd_cur=8192?
Or does this commando not apply for Solaris 10?
Thank you very much!
regards
Thom> In solaris 9 and below, it was needed to add the parameter in /etc/system. With solaris 10 no need.
This is not completely true.
The number of maximum open files must be set in the global zone, otherwise you will run into problems once the total number of processes in all zones will be > 1024 - hence you need to also set this in Solaris 10.
A zone has no /etc/system thus that error can be ignored.
Markus -
Install NetConnect in Global Zone of Solaris 10 x86 with 5 local zone fail
Problem:
Install NetConnect in Global Zone of Solaris 10 x86 with 5 local zone failed
But I didn't have any issue with the same pkg in Solaris 9
Steps taken:
# groupadd netcon
# useradd -d /export/home/netcon -g netcon -m netcon
# vi /etc/shadow
change LK to NP
# ./UninstallNetConnect.003.002.001.sh
# ./InstallNetConnect.003.002.001.sh
Enter the user account to use: netcon
Enter group: netcon
Installing Sun(SM) Net Connect Proxy Core as <SUNWsrspx>
## Installing part 1 of 1.
/etc/opt/SUNWsrspx/CustomerCert.pem
/etc/opt/SUNWsrspx/SRSCACert.pem
/etc/opt/SUNWsrspx/binaries
/etc/opt/SUNWsrspx/srsproxyconfig.cfg
/opt/SUNWsrspx/bin/srsexec
/opt/SUNWsrspx/bin/srsinstall
/opt/SUNWsrspx/bin/srsinstallmode
/opt/SUNWsrspx/bin/srsproxy
/opt/SUNWsrspx/bin/srspxrun
/opt/SUNWsrspx/bin/srspxstat
/opt/SUNWsrspx/bin/srspxtrace
/opt/SUNWsrspx/bin/srsuser
/opt/SUNWsrspx/bin/srsxfer
/opt/SUNWsrspx/lib/srsimapi.jar
/usr/lib/libsrsimapi.so.1
[ verifying class <none> ]
## Executing postinstall script.
copying initial install customer cert into place
copying initial install srs cert into place
copying initial install proxy config file into place
removing any existing uninstallscript before copying the correct one
copying uninstall script into place
/var/sadm/pkg/SUNWsrspx/install/postinstall: /opt/SUNWsrspx/bin/srspxrun: cannot execute
proxy queue initialization failed
pkgadd: ERROR: postinstall script did not complete successfully
Installation of <SUNWsrspx> failed.
ERROR: pkgadd failed for: SUNWsrspx
Please correct this situation and rerun the installation.
Exiting installation.
# cat /var/adm/messages
Oct 7 00:00:01 planet root: [ID 702911 daemon.error] ERROR: proxy queue initialization failed
Any clue, or it will only possible in Global zone that didn't have any local zone
thanks in advanceProblem:
Install NetConnect in Global Zone of Solaris 10 x86
with 5 local zone failed
But I didn't have any issue with the same pkg in
Solaris 9
Steps taken:
# groupadd netcon
# useradd -d /export/home/netcon -g netcon -m netcon
# vi /etc/shadow
change LK to NP
# ./UninstallNetConnect.003.002.001.sh
# ./InstallNetConnect.003.002.001.sh
Enter the user account to use: netcon
Enter group: netcon
Installing Sun(SM) Net Connect Proxy Core as
<SUNWsrspx>
## Installing part 1 of 1.
/etc/opt/SUNWsrspx/CustomerCert.pem
/etc/opt/SUNWsrspx/SRSCACert.pem
/etc/opt/SUNWsrspx/binaries
/etc/opt/SUNWsrspx/srsproxyconfig.cfg
/opt/SUNWsrspx/bin/srsexec
/opt/SUNWsrspx/bin/srsinstall
/opt/SUNWsrspx/bin/srsinstallmode
/opt/SUNWsrspx/bin/srsproxy
/opt/SUNWsrspx/bin/srspxrun
/opt/SUNWsrspx/bin/srspxstat
/opt/SUNWsrspx/bin/srspxtrace
/opt/SUNWsrspx/bin/srsuser
/opt/SUNWsrspx/bin/srsxfer
/opt/SUNWsrspx/lib/srsimapi.jar
/usr/lib/libsrsimapi.so.1
[ verifying class <none> ]
## Executing postinstall script.
copying initial install customer cert into place
copying initial install srs cert into place
copying initial install proxy config file into place
removing any existing uninstallscript before copying
the correct one
copying uninstall script into place
/var/sadm/pkg/SUNWsrspx/install/postinstall:
/opt/SUNWsrspx/bin/srspxrun: cannot execute
proxy queue initialization failed
pkgadd: ERROR: postinstall script did not complete
successfully
Installation of <SUNWsrspx> failed.
ERROR: pkgadd failed for: SUNWsrspx
Please correct this situation and rerun the
installation.
Exiting installation.
# cat /var/adm/messages
Oct 7 00:00:01 planet root: [ID 702911 daemon.error]
ERROR: proxy queue initialization failed
Any clue, or it will only possible in Global zone
that didn't have any local zone
thanks in advance
[I believe that it does not work in x86, watches with pkginfo - l SUNWsrspx, in the platform.
Willy Suarez
Sopport UNIX
Colombia/code] -
Are Solaris Zones approved for SAP production environments?
All,
I am trying to find an official document from SAP that confirms that Solaris Zones are approved for use in SAP NW production environments. I checked the product availability matrix but it does not address Containers or Zones.
Thanks,
GuentherThey don't state it explicitly because you can use it. I comes with the operating system and if they would deny that, there would a be a note stating that explicitly.
On top of that, SAP would not create notes how to install and configure a zone if it wouldn't be supported
We run many instances under zones (production, test, sandbox) and make use of ZFS heavily and it works like a charm.
Markus
root@consbig / >zoneadm list -vi
ID NAME STATUS PATH
0 global running /
4 crmtest running /zone/crmtest
5 crmqual running /zone/crmqual
6 srmtest running /zone/srmtest
7 solmgrt running /zone/solmgrt
8 epjava running /zone/epjava
124 tdmshost running /zone/tdmshost
128 nwdi_ext_1 running /zone/nwdi_ext_1
148 icht running /zone/icht
204 scheduler running /zone/scheduler
217 ichp running /zone/ichp
220 appl2mp1 running /zone/appl2mp1
221 solmgrt running /zone/solmgrt
236 output running /zone/output
252 bicopy running /zone/bicopy
267 kerberos running /zone/kerberos
289 spnego running /zone/spnego
root@consbig / >zpool iostat
capacity operations bandwidth
pool used avail read write read write
dbdata 4,73T 64,1G 68 6 8,34M 430K
dblog 34,6G 15,2G 0 16 62,1K 123K
usrsap 118G 80,9G 2 26 188K 157K
zone 54,7G 44,8G 0 31 56,1K 135K -
Req: Checkpointing Disks for Solaris Zones
Is there a way using Solaris Zones to checkpoint a disk? I would like to be able to carry out a series of experiments on a test system and start from an identical configuration each time. VMWare calls this capability "Disk checkpointing," and Solaris Zones appears to somewhat resemble VMWare.
Hi,
since the SCOM Agent is not 'cluster aware' you probably have no other choice than restarting the agent and wait for the next discovery cycle of the solaris logical disks. You can speed this up by manually override the discovery interval for that specific
server. After that the disk is not longer monitored.
If you have the time and knowledge you could set up a custom monitoring for clustered filesystems and disable the standard monitoring for that filesystems. But I think thats quite time-consuming. We have the same issues here with our Solaris and Linux clustered/shared
filesystems but we still live with the workaround of restarting the agent.
Regards -
Problem with a DDI Device driver for Solaris 8 and 9 on a Sun-Blade-1500
The problem has to do with dma allocated memory and the little-endian format.
When I copy blocks bigger than 256 bytes to the dma memory, using a uiomove() or bcopy(), the data after the first 32 bytes is swapped around over 8 bytes.
The bcopy from a driver (stack) buffer into the dma virtual memory has the same affect.
So it has to do with the kernel dma allocated memory and the endianess.
When I set the byte order to big-endian inside the ddi_device_acc_attr the data seems to be alright, also with bigger transfer sizes.
My device however needs the little-endian format.
I have the same the same device driver running without any errors on a Sun Blade-150 Solaris 8 for a long time now.
Can somebody please advise me?
Data example,
test data: 0x00,0x01,0x02,?.
64, 128 or 256 bytes blocks:
000: 07 06 05 04 03 02 01 00 0F 0E 0D 0C 0B 0A 09 08
016: 17 16 15 14 13 12 11 10 1F 1E 1D 1C 1B 1A 19 18
032: 27 26 25 24 23 22 21 20 2F 2E 2D 2C 2B 2A 29 28
048: 37 36 35 34 33 32 31 30 3F 3E 3D 3C 3B 3A 39 38
064: 47 46 45 44 43 42 41 40 4F 4E 4D 4C 4B 4A 49 48
080: 57 56 55 54 53 52 51 50 5F 5E 5D 5C 5B 5A 59 58
096: 67 66 65 64 63 62 61 60 6F 6E 6D 6C 6B 6A 69 68
112: 77 76 75 74 73 72 71 70 7F 7E 7D 7C 7B 7A 79 78
512 or 1024 bytes blocks:
000: 07 06 05 04 03 02 01 00 0F 0E 0D 0C 0B 0A 09 08
016: 17 16 15 14 13 12 11 10 1F 1E 1D 1C 1B 1A 19 18
032: 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F <----- ?
048: 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F <----- ?
064: 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F <----- ?
080: 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F <----- ?
096: 60 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F <----- ?
112: 70 71 72 73 74 75 76 77 78 79 7A 7B 7C 7D 7E 7F <----- ?
Code example, how I allocate the DMA (kernel) memory:
DDI_STRUCTURE_LE_ACC = Little Endian format
DDI_STRUCTURE_BE_ACC = Big Endian format
static struct ddi_device_acc_attr sse_dma_attr =
DDI_DEVICE_ATTR_V0, /* The version number of this structure */
DDI_STRUCTURE_LE_ACC, /* see above */
DDI_STRICTORDER_ACC, /* How CPU will reference data, default */
The dma definitions for allocating the DMA memory
static ddi_dma_attr_t dmaattr= {
DMA_ATTR_V0, /* version */
0, /* starting address for DVMA */
0xffffffff, /* end address for DVMA */
0xffffffff, /* max transfer count in one cookie */
0x1, /* address restrictive alignment, 1 = byte alignment */
0x7, /* burst sizes */
1, /* min number of byes */
0x00ffffff, /* max number of bytes device can transmit/receive */
0xffffffff, /* upper bound of the DMA engine's address */
1,
512,
0, /* DDI_DMA_FORCE_PHYSICAL doesn't work */
ddi_dma_alloc_handle()
if((ret=ddi_dma_alloc_handle(xsp->dip,
&dmaattr,
DDI_DMA_SLEEP,
NULL,
dmahandle_out)) != DDI_SUCCESS)
cmn_err(CE_CONT, "ucr_dma_alloc_memory, "
"ERROR ddi_dma_alloc_handle status = %d\n",
ret);
return(ret);
if((ret=ddi_dma_mem_alloc(*dmahandle_out,
(uint_t) size,
dma_acc_attr,
DDI_DMA_CONSISTENT,
DDI_DMA_SLEEP,
NULL,
(caddr_t *)&raw_kern_addr,
&real_len,
dma_acc_handle_out)) != DDI_SUCCESS)
cmn_err(CE_CONT, "ucr_ucr_dma_alloc_memory, "
"ERROR ddi_dma_mem_alloc status = %d\n",
ret);
ddi_dma_free_handle(dmahandle_out);
return(ret);
This will also init the PCI - IOMMU for
address translation.
if((ret=ddi_dma_addr_bind_handle(*dmahandle_out,
NULL,
(caddr_t)raw_kern_addr,
real_len,
DDI_DMA_RDWR | DDI_DMA_CONSISTENT,
DDI_DMA_SLEEP,
NULL,
&dma_cookie,
&count)) != DDI_SUCCESS)
cmn_err(CE_CONT, "ucr_ucr_dma_alloc_memory, "
"ERROR ddi_dma_addr_bind_handle status = %d\n",
ret);
ddi_dma_mem_free(dma_acc_handle_out);
ddi_dma_free_handle(dmahandle_out);
return(ret);
if((ret=ddi_dma_sync(*dmahandle_out,
0,
real_len,
DDI_DMA_SYNC_FORDEV)) != DDI_SUCCESS)
cmn_err(CE_CONT, "ucr_ucr_dma_alloc_memory, "
"ERROR ddi_dma_sync status = %d\n", ret);
ddi_dma_unbind_handle(*dmahandle_out);
ddi_dma_mem_free(dma_acc_handle_out);
ddi_dma_free_handle(dmahandle_out);
return(ret);I am having the similar problem identified in this thread.
OS: Sun Solaris 10 01/06
Hardware: Sun Blade 2500
PCI Memory card.
Problem: When driver moves more then 40 bytes via PIO from a PCI device memory card, the long words are swapped starting at 40 byte transfer size and greater.
device memory description:
static ddi_device_acc_attr_t sdram_access_attr =
DDI_DEVICE_ATTR_V0, /* Boilerplate value */
DDI_STRUCTURE_LE_ACC,
DDI_STRICTORDER_ACC /* Don't reorder accesses */
The user application does a read call, which goes to xxread. xxread calls physio( xxstrategy, bp, dev, B_READ, xxminphys, uio );
In xxstrategy the transfer is done using
ddi_mem_rep_get8(ucb->ucb_sdram_accHndl,
(uint8_t*) kaddr,
(uint8_t*) raddr,
(size_t) bp->b_resid),
(uint_t) DDI_DEV_AUTOINCR );
PCI Device memory is loaded with incrementing address (8bit), 0,1,2... This is confirmed using a PCI Bus Analyzer.
A read of 36 bytes or less returns:
03 02 01 00 07 06 05 04 ...
A read of 40 bytes returns:
07 06 05 04 03 02 01 00 ...
If I peek 1 byte at a time using ddi_get8(ucb->ucb_sdram_accHndl, ...) I get
00 01 02 03 04 05 06 07
Why are the long words swapped starting at 40 byte transfer size and greater? -
OpenSSH 4.4p1 packages with PAM support for Solaris 9, 10
As mentioned in a previous post* , I've compiled OpenSSH packages with PAM support for Solaris 9 and 10. They've since been updated to version 4.4p1, and are compiled against a static zlib (1.2.3) and OpenSSL (0.9.8c). You can find them here:
http://firewallworks.com/downloads/unsupported/Solaris-sparc/
Regards,
Greg
* http://forum.sun.com/jive/thread.jspa?threadID=103378&tstart=105Yes, zlib 1.2.3 is a requirement. In facts, zlib mentions a 2005 vulnerability fix but I found no matching patch in sunsolve. See
http://www.kb.cert.org/vuls/id/JGEI-6E7RC3
I have been wandering whether to replace the official zlib. Linking statically is probably a better idea. Thanks -
How to create a full system image for Solaris 10 with ZFS
Dear friend,
could you please advice which way to create a full system image for Solaris 10 with ZFS is trusted and practically used?
I'm searching the analogy like Norton Ghost or Acronis True Image but with ZFS support.
I have x86 server Sun Netra X4270.
Thanks in advance,
DinaOne more question Filip,
is it correct, that I should make 2 separate backup for ispool and rpool?
And is it important in which order to restore them from backup?
bash-3.2# zpool list
NAME SIZE ALLOC FREE CAP HEALTH ALTROOT
ispool 136G 8.08G 128G 5% ONLINE -
rpool 136G 44.1G 91.9G 32% ONLINE -
bash-3.2# zfs list
NAME USED AVAIL REFER MOUNTPOINT
ispool 8.08G 126G 31K /ispool
ispool/iserver 8.08G 126G 8.08G /export/home/iserver
rpool 44.4G 89.5G 46.5K /rpool
rpool/ROOT 39.1G 89.5G 31K legacy
rpool/ROOT/firstbe 39.1G 89.5G 14.1G /
rpool/ROOT/firstbe/export 20.1G 89.5G 32K /export
rpool/ROOT/firstbe/export/home 20.1G 89.5G 20.1G /export/home
rpool/ROOT/firstbe/opt 651M 89.5G 133M /opt
rpool/ROOT/firstbe/opt/SMAW 518M 89.5G 518M /opt/SMAW
rpool/ROOT/firstbe/usr 3.45G 89.5G 3.45G /usr
rpool/ROOT/firstbe/var 867M 89.5G 867M /var
rpool/dump 1.00G 89.5G 1.00G -
rpool/swap 4.25G 89.8G 4.00G -
Br,
Dina -
Installation issue with Weblogic610sp1_sol.bin for solaris platform?
Hi,
I have downloaded weblogic610sp1_sol.bin file for solaris platform and when i try to install, its is preparing to install & executing the file but suddenly throws an error saying
" error: can't find libjava.so."
Even i tried with other versions of weblogic also...
But same problem.....
I have installed jdk1.3.1 for solaris. I am able to install other java related programs & it is running successfully.
Any idea...
Thanks,
Dinesh.Hi.
Can you verify that the size of the file you downloaded is 90,941,843? Also post the checksum of the file. What version of Solaris are you installing on? Most folks having this problem
have a corrupted bin file.
Thanks,
Michael
Dinesh wrote:
Hi,
I have downloaded weblogic610sp1_sol.bin file for solaris platform and when i try to install, its is preparing to install & executing the file but suddenly throws an error saying
" error: can't find libjava.so."
Even i tried with other versions of weblogic also...
But same problem.....
I have installed jdk1.3.1 for solaris. I am able to install other java related programs & it is running successfully.
Any idea...
Thanks,
Dinesh.--
Developer Relations Engineer
BEA Support
Maybe you are looking for
-
hi folks, I have been successfully displaying the data in the body of the form (i.e pulling all the data into the fields) in the form. My question is the data is not getting displayed on the same line in all the fields, because in some fields it just
-
Is it possible to EXPORT video films from the iPod to iTunes ?
EXPORTING FILES FROM IPOD TO ITUNES Obviously, I know how to send files from iTunes to iPod. But is it possible to do the opposite way ? I have video files on my iPod that got lost on my hard drive. I'd like to save them back to the hard drive (and i
-
Tune up and upgrade or buy new?
I have a iBook G4. It is starting to show wear and age. It needs a new battery (doesn't hold any charge)and a new power cord (fraying at the barrel). I have very little memory left and it runs very slow at times. I was thinking of buying a new batter
-
Error message mes when trying to send PO via IDOCS to another system?
Hi Abap expert, I am getting wired message what I ma trying to send PO via IDocs to other SAP system. I went to all partner , port configurations on WE20 and everything there seems to be fine but once I go to ME23N, then GO TO -> MESSAGES , than open
-
Need clarify some fields in v$session
On 11g2/Redhat 5, my query returnsselect v.inst_id,sid,serial#,wait_class,event,status,last_call_et --,cast(Q.SQL_FULLTEXT as varchar(4000)) cur_sql from gv$session v join gv$sqlarea Q on v.SQL_ID = Q.SQL_ID and v.INST_ID=Q.INST_ID INST_ID SID