Mounting Cdrom Drive In Guest Domain running 1.0.3

Folks,
I have followed the Admin guide on how to export Cdrom/Dvd drive from Service Domain to Guest Domain, however once allocated to the guest domain we are unable to mount the device. Any help is appreciated.
Here are my bindings
ldm list-bindings primary
NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
primary active -n-cv SP 4 2G 0.8% ; 7d 18h 56m
MAC
00:14:4f:02:ca:6a
VCPU
VID PID UTIL STRAND
0 0 1.0% ; 100%
1 1 0.5% ; 100%
2 2 0.7% ; 100%
3 3 0.8% ; 100%
MAU
CPUSET
(0, 1, 2, 3)
MEMORY
RA PA SIZE
0x8000000 0x8000000 2G
VARIABLES
boot-device=/pci@780/pci@0/pci@9/scsi@0/disk@1,0:a /pci@780/pci@0/pci@9/scsi@0/disk@0,0:a
IO
DEVICE PSEUDONYM OPTIONS
pci@780 bus_a
pci@7c0 bus_b
VCC
NAME PORT-RANGE
primary-vcc0 5000-5031
CLIENT PORT
ldom3@ldom3 5002
VDS
NAME VOLUME OPTIONS DEVICE
primary-vds0 cdrom /dev/dsk/c1t0d0s2
vol1 /ldom1/bootfile1
vol11 /dev/rdsk/c6t60060480000287750594534653353445d0s2
vol2 /ldom2/bootfile2
vol3 /bootpool/bootfile3
CLIENT VOLUME
vdisk0@ldom3 vol3
vdisk11@ldom3 vol11
cdrom@ldom3 cdrom
VSW
NAME MAC NET-DEV DEVICE MODE
primary-vsw0 00:14:4f:fa:c6:14 e1000g0 switch@0 prog,promisc
PEER MAC
vnet1@ldom3 00:14:4f:f9:c8:15
VCONS
NAME SERVICE PORT
SP
ldm list-bindings ldom3
root@host# ldm list-bindings ldom3
NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
ldom3 active -n--- 5002 4 1900M 0.1% ; 15m
MAC
00:14:4f:f8:6c:1d
VCPU
VID PID UTIL STRAND
0 4 0.3% ; 100%
1 5 0.0% ; 100%
2 6 0.0% ; 100%
3 7 0.0% ; 100%
MEMORY
RA PA SIZE
0x8000000 0x88000000 1900M
VARIABLES
keyboard-layout=UK-English
NETWORK
NAME SERVICE DEVICE MAC
vnet1 primary-vsw0@primary network@0 00:14:4f:f9:c8:15
PEER MAC
primary-vsw0@primary 00:14:4f:fa:c6:14
DISK
NAME VOLUME TOUT DEVICE SERVER
vdisk0 vol3@primary-vds0 disk@0 primary
vdisk11 vol11@primary-vds0 disk@1 primary
cdrom cdrom@primary-vds0 disk@2 primary
VCONS
NAME SERVICE PORT
ldom3 primary-vcc0@primary 5002
We can see the exported cdrom volume in /dev/dsk as a new device and also at the ok prompt after running devalias.
However, we need to mount this device so that we can install software in our domain. All our attempts at mounting just hang and I end up having to stop/start the whole domain. ?
Is there an easy way to mount cdroms/dvd drives in a guest domain ?
TIA

There is an recently filed bug where DVDs (and ISO images) which do not have a VTOC in their disk label
fail to be mountable in the guest domain (e.g. application software DVDs as opposed to OS installation images).
6708257 DVD-ROM (not OS installation disk) can not mount from guest domain of LDOM 1.0.2
# mount -F hsfs /dev/dsk/c0d1s0 /mnt
mount: I/O error
mount: cannot mount /dev/dsk/c0d1s0
It's strange that you are getting a hang though (the reported error is an I/O error).
Are there any messages in /var/adm/message of the control domain?
What OS/patches are running on the guest and control domains (i.e is 127127-11 installed on both) ?
I've just had a thought though, exporting the DVD device as a slice instead may work
(it works for me on an ISO image but my machine is 1000s of miles away so I can't stick DVD in it
to try out)
e.g. ldm add-vdsdev options=slice /dev/dsk/c1t0d0s2 cdrom@primary-vds0

Similar Messages

  • Mounting cdrom drives in VM Guests

    I've installed the latest version of OVM (whistler) and have installed a guest OEL5.3 environment (Vail). I can mount /mnt/cdrom on Whistler but it is never recognized in Vail. I have a /dev/sdc showing on Vail but get this when I mount it:
    mount /mnt/cdrom
    mount: No Medium Found.
    My fstab on Vail has this:
    /dev/hdc /mnt/cdrom iso9660 ro,user,noauto 0 0
    Here's my vm.cfg file for Vail:
    acpi = 1
    apic = 1
    builder = 'hvm'
    device_model = '/usr/lib/xen/bin/qemu-dm'
    disk = ['file:/OVS/running_pool/42_vail/System.img,hda,w',
    'file:/OVS/running_pool/42_vail/user.img,hdb,w',
    ',cdrom,r',,
    disk_other_config = []
    kernel = '/usr/lib/xen/boot/hvmloader'
    keymap = 'en-us'
    memory = '1024'
    name = '42_vail'
    on_crash = 'restart'
    on_reboot = 'restart'
    pae = 1
    serial = 'pty'
    timer_mode = '2'
    uuid = '04463b43-3fb2-444a-231b-90c3b39dc3da'
    vcpus = 1
    vif = ['bridge=xenbr0,mac=00:16:3E:49:3C:A0,type=netfront']
    vif_other_config = []
    vnc = 1
    Any ideas?
    Thanks!

    There is an recently filed bug where DVDs (and ISO images) which do not have a VTOC in their disk label
    fail to be mountable in the guest domain (e.g. application software DVDs as opposed to OS installation images).
    6708257 DVD-ROM (not OS installation disk) can not mount from guest domain of LDOM 1.0.2
    # mount -F hsfs /dev/dsk/c0d1s0 /mnt
    mount: I/O error
    mount: cannot mount /dev/dsk/c0d1s0
    It's strange that you are getting a hang though (the reported error is an I/O error).
    Are there any messages in /var/adm/message of the control domain?
    What OS/patches are running on the guest and control domains (i.e is 127127-11 installed on both) ?
    I've just had a thought though, exporting the DVD device as a slice instead may work
    (it works for me on an ISO image but my machine is 1000s of miles away so I can't stick DVD in it
    to try out)
    e.g. ldm add-vdsdev options=slice /dev/dsk/c1t0d0s2 cdrom@primary-vds0

  • Install OS from cdrom failed on guest domain

    I am trying to install Soloris OS on guest domain of SUN T2000 server, but it failed for "WARNING: /virtual-devices@100/channel-devices@200/disk@0: Timeout connecting to virtual disk server... retrying"
    it seems abnormal that the SOFTSTATE of primary and the guest domain is always in "Openboot initializing" and the SOFTSTATE in the Logic domain adminstration document is "Solaris running". Is it the failing reson?
    Here is the output of "ldm list -l"
    bjt2000sa3:/root-# ldm list-domain -l
    NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
    primary active -t-cv SP 16 15G 0.1% 19m
    SOFTSTATE
    {color:#ff0000}Openboot initializing{color}
    VCPU
    VID PID UTIL STRAND
    0 0 0.5% 100%
    1 1 0.0% 100%
    2 2 0.0% 100%
    3 3 0.0% 100%
    4 4 0.0% 100%
    5 5 0.0% 100%
    6 6 0.0% 100%
    7 7 0.1% 100%
    8 8 0.1% 100%
    9 9 0.0% 100%
    10 10 0.1% 100%
    11 11 0.1% 100%
    12 12 0.1% 100%
    13 13 0.0% 100%
    14 14 0.0% 100%
    15 15 0.1% 100%
    MAU
    CPUSET
    (0, 1, 2, 3)
    MEMORY
    RA PA SIZE
    0x8000000 0x8000000 15G
    VARIABLES
    auto-boot-on-error?=true
    auto-boot?=true
    boot-device=disk0:a
    diag-switch?=true
    IO
    DEVICE PSEUDONYM OPTIONS
    [pci@780|mailto:pci@780] bus_a
    [pci@7c0|mailto:pci@7c0] bus_b
    VDS
    NAME VOLUME OPTIONS DEVICE
    primary-vds0 cdrom1 /dev/rdsk/c0t0d0s2
    volldg1 /export/install_ldg1
    VCC
    NAME PORT-RANGE
    primary-vcc0 5000-5100
    VSW
    NAME MAC NET-DEV DEVICE MODE
    primary-vsw0 00:14:4f:f9:60:ac e1000g0 [switch@0|mailto:switch@0] prog,promisc
    VCONS
    NAME SERVICE PORT
    SP
    NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
    ldg1 active -t--- 5000 16 15G 6.3% 4m
    SOFTSTATE
    {color:#ff0000}Openboot initializing{color}
    VCPU
    VID PID UTIL STRAND
    0 16 100% 100%
    1 17 0.0% 100%
    2 18 0.0% 100%
    3 19 0.0% 100%
    4 20 0.0% 100%
    5 21 0.0% 100%
    6 22 0.0% 100%
    7 23 0.0% 100%
    8 24 0.0% 100%
    9 25 0.0% 100%
    10 26 0.0% 100%
    11 27 0.0% 100%
    12 28 0.0% 100%
    13 29 0.0% 100%
    14 30 0.0% 100%
    15 31 0.0% 100%
    MAU
    CPUSET
    (16, 17, 18, 19)
    MEMORY
    RA PA SIZE
    0x8000000 0x3c8000000 15G
    VARIABLES
    auto-boot?=true
    boot-device=vdisk
    NETWORK
    NAME SERVICE DEVICE MAC
    vnet1 [primary-vsw0@primary|mailto:primary-vsw0@primary] [network@0|mailto:network@0] 00:14:4f:fb:c7:63
    DISK
    NAME VOLUME TOUT DEVICE SERVER
    cdrom1 [cdrom1@primary-vds0|mailto:cdrom1@primary-vds0] 5 [disk@0|mailto:disk@0] primary
    vdisk1 [volldg1@primary-vds0|mailto:volldg1@primary-vds0] [disk@1|mailto:disk@1] primary
    VCONS
    NAME SERVICE PORT
    ldg1 [primary-vcc0@primary|mailto:primary-vcc0@primary] 5000
    Thanks all in advance!

    Sreesobh,
    Thanks for your information!
    I config it as "/dev/dsk/c0t0d0s2" and tried again. But it still doesn't work.
    bjt2000sa3:/root-# ldm list -l
    NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
    primary active -t-cv SP 16 15G 1.0% 26m
    SOFTSTATE
    Openboot initializing
    VCPU
    VID PID UTIL STRAND
    0 0 2.6% 100%
    1 1 0.9% 100%
    2 2 0.7% 100%
    3 3 0.6% 100%
    4 4 0.9% 100%
    5 5 0.9% 100%
    6 6 0.9% 100%
    7 7 0.8% 100%
    8 8 1.3% 100%
    9 9 0.7% 100%
    10 10 0.5% 100%
    11 11 0.8% 100%
    12 12 1.1% 100%
    13 13 0.7% 100%
    14 14 0.8% 100%
    15 15 1.0% 100%
    MAU
    CPUSET
    (0, 1, 2, 3)
    MEMORY
    RA PA SIZE
    0x8000000 0x8000000 15G
    VARIABLES
    auto-boot-on-error?=true
    auto-boot?=true
    boot-device=disk0:a
    diag-switch?=true
    IO
    DEVICE PSEUDONYM OPTIONS
    pci@780 bus_a
    pci@7c0 bus_b
    VDS
    NAME VOLUME OPTIONS DEVICE
    primary-vds0 cdrom /dev/dsk/c0t0d0s2
    volldg1 /export/install_ldg1
    VCC
    NAME PORT-RANGE
    primary-vcc0 5000-5100
    VSW
    NAME MAC NET-DEV DEVICE MODE
    primary-vsw0 00:14:4f:f9:60:ac e1000g0 switch@0 prog,promisc
    VCONS
    NAME SERVICE PORT
    SP
    NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
    ldg1 active -t--- 5000 16 15G 6.3% 3m
    SOFTSTATE
    Openboot initializing
    VCPU
    VID PID UTIL STRAND
    0 16 100% 100%
    1 17 0.0% 100%
    2 18 0.0% 100%
    3 19 0.0% 100%
    4 20 0.0% 100%
    5 21 0.0% 100%
    6 22 0.0% 100%
    7 23 0.0% 100%
    8 24 0.0% 100%
    9 25 0.0% 100%
    10 26 0.0% 100%
    11 27 0.0% 100%
    12 28 0.0% 100%
    13 29 0.0% 100%
    14 30 0.0% 100%
    15 31 0.0% 100%
    MAU
    CPUSET
    (16, 17, 18, 19)
    MEMORY
    RA PA SIZE
    0x8000000 0x3c8000000 15G
    VARIABLES
    auto-boot?=true
    boot-device=vdisk
    NETWORK
    NAME SERVICE DEVICE MAC
    vnet1 primary-vsw0@primary network@0 00:14:4f:fb:c7:63
    DISK
    NAME VOLUME TOUT DEVICE SERVER
    cdrom cdrom@primary-vds0 5 disk@0 primary
    vdisk1 volldg1@primary-vds0 disk@1 primary
    VCONS
    NAME SERVICE PORT
    ldg1 primary-vcc0@primary 5000
    bjt2000sa3:/root-#
    bjt2000sa3:/root-# telnet localhost 5000
    Trying ::1...
    telnet: connect to address ::1: Network is unreachable
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    Connecting to console "ldg1" in group "ldg1" ....
    Press ~? for control options ..
    Netra T2000, No Keyboard
    Copyright 2007 Sun Microsystems, Inc. All rights reserved.
    OpenBoot 4.27.4, 15360 MB memory available, Serial #66693703.
    Ethernet address 0:14:4f:f9:aa:47, Host ID: 83f9aa47.
    Boot device: vdisk File and args:
    WARNING: /virtual-devices@100/channel-devices@200/disk@0: Timeout connecting to virtual disk server... retrying
    WARNING: /virtual-devices@100/channel-devices@200/disk@0: Timeout connecting to virtual disk server... retrying
    {0} ok devalias
    vdisk1 /virtual-devices@100/channel-devices@200/disk@1
    cdrom /virtual-devices@100/channel-devices@200/disk@0
    vnet1 /virtual-devices@100/channel-devices@200/network@0
    virtual-console /virtual-devices/console@1
    net /pci@780/network@1,1
    disk /pci@7c0/scsi@1/disk@0
    scsi /pci@7c0/scsi@1
    ttyb /virtual-devices/console@4
    nvram /virtual-devices/nvram@3
    ttya /virtual-devices/console@1
    vdisk /virtual-devices/disk@0
    name aliases
    Your time is appreciated

  • [Solaris 8] mount cdrom drive

    Sun Blade 150 - Solaris 8
    hi,
    i'm trying to access respectively to a cdrom reader and a cdrom writer ...
    "cdrw -l" gave me those informations :
    /dev/rdsk/c0t1d0s2 ... etc ... for the reader
    /dev/rdsk/c1t6d0s2 ... etc ... for the writer
    so i see my drives are being known by the system but the thing is i'd like to access them by something like :
    /cdrom/cdrom0
    and/or
    /cdrom/cdrom1
    thanks for help

    Hello
    back after a long while ... but I have the solution !
    Darren, you were completely right, thanks ! I summarize if ever someone meets the same pb ...
    1- normally, if the daemon "vold" is running, when inserting a CDROM in a drive, it's automatically mounted and then accessible with /cdrom/cdrom0
    2- but, if "vold" is not running, it has to be launched :
    /etc/init.d/volmgt start
    3- if "vold" is running but you still can't access to your CDROM (it was my case !) => that means the CDROM is maybe not readable ! Actually I had a CD-RW and the drive couldn't read it. I copied the data on a normal CD-R and it worked !
    thanks for help !
    bye

  • How do I re-mount an external drive in Lightroom 2 running on Windows 7?

    I am using Lightroom 2 and have moved many picture folders to an external drive.  Now when I reconnect the external drive Lightroom shows the drive as offline.  I need to know how to re-mount the drive.  I am running Windows 7 and can not fine the disk utility in Lightroom 2.

    Lightroom does not have a disk utility.
    a) Make sure the drive is visible and accessible via <My Computer>. If it is visible in <My Computer>, Lr should also see it as connected.
    b) If it is not check if the power for the drive is <ON> and remove and re-connect the USB / Firewire / eSata cable.
    c) If this doesn't help: Check in <My Computer> if the drive has the same drive letter as before. Sometimes Win 7 changes the drive letter, and then Lr cannot find the drive.
    In this case you have to change the drive letter to what it was before.
    d) If the drive letter has not changed and Lr still cannot see the drive, try this:
    Put one dummy photo on the external drive - via Win Explorer. It can be a copy of another photo but - in Win Explorer - change the name of the dummy photo to something descriptive.
    Then in Lr open the Import Dialog and import this dummy photo. After that Lr should see the drive and you can delete the dummy photo.

  • How to mount USB & CDROM drives from single user mode - Solaris boot disk?

    Hi All,
    I need to carry out ufsrestore on a single newly replaced system disk (no redundancy / mirroring) from either USB or CDROM drives from the following steps:
    ( i ) GRUB => e, e, cdrom –s, Enter, b (boot from Solaris 10 x86 media).
    ( ii ) Choose menu 1 for Install Solaris Interactive Mode to reach single user mode.Below are the commands that I have tried in single user mode without success:
    mount –r –F pcfs /dev/dsk/c1t0d0p0 /cdrom (after unmount Solaris CD)
      mount: /dev/dsk/c1t0d0p0 is not a DOS filesystem.
    svcadm –v enable smserver
      svcadm: Pattern ‘smserver’ doesn’t match any instances
    svcadm enable autofs
      svcadm: Pattern ‘autofs’ doesn’t match any instances
    devfsadm
      devfsadm: mkdir failed for /dev 0s1ed: Read-only file system
    mkdir /mnt
      mkdir: Failed to make directory “/mnt”; Read-only file systemPart of the problem is due to the current READ ONLY filesystems which does not allow the creation of mount point such as /mnt.
    I have been able to create both / root (/dev/dsk/c1t0d0s0) and /export/home (/dev/dsk/c1t0d0s0) filesystems with newfs that are awaiting for restore using ufsrestore.
    The only option I am left with is to attach a secondary disk to install Solaris 10 on either of them before bring the system to multi-user mode so that service such as volmgt, autofs, volfs are available to access USB & CDROM drives.
    Any suggestion on how to resolve this issue?
    Many thanks,
    Jack

    Hi JKGN,
    Is the directory a located under the root filesystem. ie /a? Are there any other mount point for say USB drive as well? I am not in a position to try it out right now but will get back
    to you soon on whether /a exist or not.
    Btw, the last thing I managed to do on this system at the time was added a secondary 1TB internal disk with the intention to restore both / and /export/home data onto this disk while
    making use of all the disk device management services such as the following services only available in a fully installed Solaris system (both single & multi-user modes) installed on the
    primary disk:
    # svcs smserver
    STATE          STIME    FMRI
    online         Jun_08   svc:/network/rpc/smserver:default
    # svcs autofs
    STATE          STIME    FMRI
    online         Jun_08   svc:/system/filesystem/autofs:default
    # devfsadm
    # iostat -En
    c1t0d0           Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: ATA      Product: SAMSUNG HD321KJ  Revision: 0-11 Serial No: 
    Size: 320.07GB <320072932864 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 41 Predictive Failure Analysis: 0
    c0t0d0           Soft Errors: 0 Hard Errors: 5 Transport Errors: 0
    Vendor: PHILIPS  Product: DVD+-RW DVD8801  Revision: AD21 Serial 
    Size: 17.54GB <17538875392 bytes>
    Media Error: 0 Device Not Ready: 5 No Device: 0 Recoverable: 0
    Illegal Request: 10 Predictive Failure Analysis: 0
    c2t0d0           Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: JetFlash Product: Transcend 16GB   Revision: 1100 Serial No: 
    Size: 0.00GB <0 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 7 Predictive Failure Analysis: 0
    # rmformat
    Looking for devices...
         1. Volmgt Node: /vol/dev/aliases/cdrom0
            Logical Node: /dev/rdsk/c0t0d0s2
            Physical Node: /pci@0,0/pci-ide@1f,1/ide@0/sd@0,0
            Connected Device: PHILIPS  DVD+-RW DVD8801  AD21
            Device Type: DVD Reader/WriterHowever, I was disappointed that "iostat -En" has not found the secondary disk (1 TB) even though it was available earlier, for Solaris installation as the only disk on the same system.
    As a result, I am left with no option but the need to rebuild this system with only a single primary disk while in single user mode. However, the single user mode that I am in is the
    one from Solaris installation disk with restrictive (_cannot create folder for mount point or running disk management utilities_) capability such as those services just covered, compared to one from a completed Solaris installation system with full access to all filesystems and utilities / commands in general.
    I would very much value your assistance on how to mount both CD & USB in this restrictive limited Read Only OS (assume that it is running from memory) in order to get complete access to
    the blank primary disk so that full restore with ufsrestore could take place.
    Thanks in advance,
    Jack
    Edited by: 797805 on 9/06/2012 04:15

  • Cdrom install in new guest domain

    Hi all --
    I'm waiting for my T1000 to show up (should be here tomorrow) and I'm whiling away my time with reading the Admin Guide.
    Our Solaris machines (and these ldom's) are on a network that already has a Red Hat Kickstart server. I don't really feel like messing with that, and our volume of installing Solaris is so small that I don't want to spend the time to make a Jumpstart server.
    It seems that it's possible to boot and start a cd-rom based install of Solaris 10 from within a guest domain, but the docs don't mention how to do it.
    Can someone shed some light for me?
    Thanks!

    Well, the T1000 is here, and lo and behold, no cdrom drive.
    So, the question now becomes - it it possible to have it boot off of an .iso, or is netboot my only option?

  • Guest Domain Freezes with 100% utilization

    I setup LDOM on a Sun Fire T2000 with one control domain and one guest domain. The guest domain is sharing the disk (on slice 6) with the control domain.
    The slice is set as boot disk for the guest domain. Upon starting the guest domain, the utilization goes 100%. A telnet to the virtual console gets refused connection.
    When I try to stop and unbind the guest domain (with a reboot), the slice is no longer unusable. format and newfs commands both cannot operate on the slice. What's wrong?
    sc>showhost
    Sun-Fire-T2000 System Firmware 6.4.4  2007/04/20 10:13
    Host flash versions:
       Hypervisor 1.4.1 2007/04/02 16:37
       OBP 4.26.1 2007/04/02 16:26
       POST 4.26.0 2007/03/26 16:45
    # Control Domain
    $ cd LDoms_Manager-1_0-RR
    $ Install/install-ldm
    $ ldm add-vdiskserver primary-vds0 primary
    $ ldm add-vconscon port-range=5000-5100 primary-vcc0 primary
    $ ldm add-vswitch net-dev=e1000g0 primary-vsw0 primary
    $ ldm set-mau 1 primary
    $ ldm set-vcpu 4 primary
    $ ldm set-memory 4g primary
    $ ldm add-config initial
    $ shutdown -i6 -g0 -y
    # Guest Domain
    $ ldm add-domain myldom1
    $ ldm add-vcpu 4 myldom1
    $ ldm add-memory 2g myldom1
    $ ldm add-vnet vnet1 primary-vsw0 myldom1
    $ ldm add-vdiskserverdevice /dev/dsk/c0t1d0s6 vol1@primary-vds0
    $ ldm add-vdisk vdisk1 vol1@primary-vds0 myldom1
    $ ldm set-variable auto-boot\?=false myldom1
    $ ldm set-variable boot-device=vdisk1 myldom1
    $ ldm bind-domain myldom1
    $ ldm start-domain myldom1
    $ telnet localhost 5000Truss output of format command:
    AVAILABLE DISK SELECTIONS:
    write(1, "\n\n A V A I L A B L E  ".., 29)      = 29
    ioctl(0, TCGETA, 0xFFBFFB34)                    = 0
    ioctl(1, TCGETA, 0xFFBFFB34)                    = 0
    ioctl(0, TCGETA, 0xFFBFFACC)                    = 0
    ioctl(1, TCGETA, 0xFFBFFACC)                    = 0
    ioctl(1, TIOCGWINSZ, 0xFFBFFB40)                = 0
    open("/dev/tty", O_RDWR|O_NDELAY)               = 3
    ioctl(3, TCGETS, 0x000525BC)                    = 0
    ioctl(3, TCSETS, 0x000525BC)                    = 0
    ioctl(3, TCGETS, 0x000525BC)                    = 0
    ioctl(3, TCSETS, 0x000525BC)                    = 0
           0. c0t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
    write(1, "               0 .   c 0".., 56)      = 56
              /pci@780/pci@0/pci@9/scsi@0/sd@1,0
    write(1, "                     / p".., 45)      = 45
    ioctl(3, TCSETS, 0x000525BC)                    = 0
    ioctl(3, TCSETS, 0x000525BC)                    = 0
    close(3)                                        = 0
    ioctl(0, TCGETA, 0xFFBFF1EC)                    = 0
    fstat64(0, 0xFFBFF108)                          = 0
    Specify disk (enter its number): write(1, " S p e c i f y   d i s k".., 33)     = 33
    read(0, 0xFF2700F8, 1024)       (sleeping...)
    0
    read(0, " 0\n", 1024)                           = 2
    open("/dev/rdsk/c0t1d0s2", O_RDWR|O_NDELAY)     = 3
    brk(0x00058810)                                 = 0
    brk(0x00068810)                                 = 0
    brk(0x00068810)                                 = 0
    brk(0x00078810)                                 = 0
    selecting c0t1d0
    write(1, " s e l e c t i n g   c 0".., 17)      = 17
    ioctl(3, 0x04C9, 0xFFBFFA54)                    = 0
    [disk formatted]
    write(1, " [ d i s k   f o r m a t".., 17)      = 17
    open("/etc/mnttab", O_RDONLY)                   = 4
    ioctl(4, (('m'<<8)|7), 0xFFBFFA64)              = 0
    open("/dev/rdsk/c0t1d0s0", O_RDWR|O_NDELAY)     = 5
    fstat(5, 0xFFBFF5E0)                            = 0
    ioctl(5, 0x0403, 0xFFBFF59C)                    = 0
    close(5)                                        = 0
    llseek(4, 0, SEEK_CUR)                          = 0
    close(4)                                        = 0
    fstat64(2, 0xFFBFEBA0)                          = 0
    Warning: Current Disk has mounted partitions.
    write(2, " W a r n i n g :   C u r".., 46)      = 46
    resolvepath("/", "/", 1024)                     = 1
    sysconfig(_CONFIG_PAGESIZE)                     = 8192
    open("/dev/.devlink_db", O_RDONLY)              = 4
    fstat(4, 0xFFBFF1F8)                            = 0
    mmap(0x00000000, 40, PROT_READ, MAP_SHARED, 4, 0) = 0xFEF50000
    mmap(0x00000000, 24576, PROT_READ, MAP_SHARED, 4, 32768) = 0xFEF38000
    open("/devices/pseudo/devinfo@0:devinfo", O_RDONLY) = 5
    ioctl(5, 0xDF82, 0x00000000)                    = 57311After failing to configure LDOM, I boot from a Solaris DVD to do reinstall the OS. It looks like the e1000g0 has some kind of fault.
    {0} ok boot cdrom
    Boot device: /pci@7c0/pci@0/pci@1/pci@0/ide@8/cdrom@0,0:f  File and args:
    SunOS Release 5.10 Version Generic_118833-33 64-bit Copyright 1983-2006 Sun Microsystems, Inc.  All rights reserved.
    Use is subject to license terms.
    WARNING: mac_open e1000g0 failed
    WARNING: mac_open e1000g0 failed
    WARNING: mac_open e1000g0 failed
    WARNING: Unable to setup switching mode
    Configuring devices.
    WARNING: bypass cookie failure 71ece
    NOTICE: tavor0: error during attach: hw_init_eqinitall_fail
    NOTICE: tavor0: driver attached (for maintenance mode only)
    NOTICE: pciex8086,105e - e1000g[0] : Adapter 1000Mbps full duplex copper link is  up.What is the meaning of this?
    Message was edited by:
    JoeChris@Sun

    Hi,
    In the case of bug 6530040, the recovery method in the Release Notes is to reboot the system. In my case, even after the reboot the vds still does not close the device. I suspect I might use a wrong way to reboot the system. Can you give me an example for a system with control domain (primary) and a single guest domain (myldom1).
    My steps would be as follow:
    $ ldm stop-domain myldom1
    $ ldm unbind-domain myldom1
    $ reboot
    Do I miss any step?
    LDOM seems to have problem releasing the network interface e1000g0 also. How do I release it?
    {0} ok boot cdrom
    Boot device: /pci@7c0/pci@0/pci@1/pci@0/ide@8/cdrom@0,0:f  File and args:
    SunOS Release 5.10 Version Generic_118833-33 64-bit Copyright 1983-2006 Sun Microsystems, Inc.  All rights reserved.
    Use is subject to license terms.
    WARNING: mac_open e1000g0 failed
    WARNING: mac_open e1000g0 failed
    WARNING: mac_open e1000g0 failed
    WARNING: Unable to setup switching mode
    Configuring devices.
    WARNING: bypass cookie failure 71ece
    NOTICE: tavor0: error during attach: hw_init_eqinitall_fail
    NOTICE: tavor0: driver attached (for maintenance mode only)
    NOTICE: pciex8086,105e - e1000g[0] : Adapter 1000Mbps full duplex copper link is  up.Thank you
    Message was edited by:
    JoeChris@Sun

  • Installing from an external usb cdrom drive

    I am able to boot an external usb cdrom drive but I cannot figure out how to mount that usb cdrom drive to complete the install.
    My boot command is:
    arch-scsi NEEDUSB=auto
    I cannot run loaddisk, as it does not find the usb cdrom, so I cannot load the addon utilities (thus I cannot modprobe usb-storage).
    I can run /arch/setup but when it gets to package selection, I am unable to select the CDROM source. This machine is not on the net, so I cannot do a ftp install.
    Has anyone else installed ARCH using an external USB cdrom drive ?
    Does anyone have any suggestions?

    Thank you Xentac for you help. I looked up the bug report and understand the problem. Now how do I proceed from here?
    Any suggestions on a work around? Should I rebuild the 0.7 beta disk with additions to the initrd? Eventually, I will need to install Arch on about twenty standalone systems. They do not have cdrom's in them, and are not on a network. Sounds like I may have to open up the units and plug a cdrom in for the install
    I was thinking of cloning the disk (i.e. open up unit, take hard drive out, put in another system and clone), but it has been pointed out that doing a basic install is a good way of testing the hardware. It doesn't take very long and we have to do testing of our software anyways.
    I open to suggestions!

  • Cannot bootup from cdrom-drive or from harddisks

    This is quite a post, main point is: I cannot succesfully bootup my desktop from either a cdrom or my hard disks after a normal reboot. After a cold reboot (power off for about 30-40 seconds) it will bootup but will randomly reset or freeze up.
    It started with me browsing a website with chromium-svn, chromium told me that the website might contain malware, but I wasn't really worried since I was using linux and browsing under a normal user account. Then a java window popped up, something concerning settings, and my system became very slow. I tried to click away the java window but my X server crashed and put me back into KDM. I fired up a console (Ctrl+Alt+F1) and did "ps aux" to see if my system was compromised and strange processes were running. That wasn't the case, but as soon as I logged out the terminal disabled itself claiming it had too much input or something like that (it's a couple of days ago I don't remember the details). So I resetted my desktop and now grub wouldn't start up. It just gave a strange character in the top left corner and froze up. A cold reboot did give me grub back, but it wouldn't let me into linux, somehow my partitions wouldn't mount. After that I tried my windows XP dual boot, that worked althrough it suffered from random resets.
    Thinking something was wrong with my harddisk I tried rebooting with Parted Magic livecd. That failed, as did rebooting with the official arch livecd and with several other livecds. All giving some fault that they couldn't find/mount the cdrom, while the innitial bootup from the cdroms all went good. A cold reboot fixed that problem, but all suffered from random resets and lock-ups.
    After that I thought is was a hardware component, so I tried pulling them out one by one to see what the problem might be. It wasn't the harddisk, for I nuked the partition table and pulled it ou (I have two harddisks, so pulling one out is a possibility). I also replaced the cdrom drive. Then I pulled out a new memory module (I bought one a few weeks ago) to see if that was the problem, but it wasn't. I also updated the BIOS to see if the problem was there, but to no avail. As a last ditch effort I replaced the CMOS battery and resetted the BIOS properly. But all had no effect.
    I runned Memtest, but it detected no errors. Currently I have no idea what is wrong other than that it is broken. By process of elimination I'm fairly confident that it isn't the harddisk, nor the cdrom-drive nor the memory.
    During the bootup from the archlinux install cd the kernel messages do indicate that it detects sda as a harddisk and sdb as a cdrom drive, while I have 2 harddisks and one cdrom drive. So it should detect sda and sdb as harddisks and sdc as a cdrom drive. Also it gives the following error:
    waiting for boot device
    error: boot device didn't show up after 30 seconds
    And also:
    usb 2-2: device description read/64, error -71
    and much more of that with errors: -110, 1790, -22
    Also this:
    hub 5-0:1.0: unable to enumerate USB device on port 2
    My hyphothesis is that my southbridge (which deals with the cdrom, harddisk drives and the usb devices) is somehow broken.
    I'd like to have your oppinion on this, or at least confirm if my cdrom, harddisk etc. really aren't culpable in this problem so I might reuse them. Right now my solution would be to buy a new motherboard/CPU/memory and reuse all the other components.
    EDIT: My hardware is:
    CPU: AMD Athlon64 3500+
    Motherboard: Asus A8V-E SE (Northbridge: VIA K8T890 | Southbridge: VIA VT8237R )
    Memory: 2 GB
    HDD: 2x SATA-150
    CDROM: DVD-writer
    System ran ok from 2006
    Last edited by Chromoris (2009-12-17 04:38:06)

    Well your testing and conclusion seem correct, but maybe before buying new stuff, try booting those drives using a different machine, if there are no problems... then go ahead and get the new board.
    Testing the drives with a different machine will need to wait untill after the holidays. However the disks are not that old, one is almost brand new, and nothing has given me an indication that something is wrong with the disks itself. So I think it is a safe assumption that the disks themselves are good, but it won't hurt to check I guess.
    Remove the hard drives (or at least their cables) and boot a Live Linux CD from the CDROM drive. Same issues? If yes, and you have checked memtest as you said then either you have a motherboard or CPU fault. At that point remove your CPU and renew the heat sink compound and reseat the CPU. If that does not work probably a motherboard fault as you suspect.
    Removed the cables and booted with a Live CD, problem remained. Althrough this time I've been rewarded with a kernel panic, still couldn't find the booted cdrom device. I renewed the heat sink compound a few months ago so I'm fairly confident it is still good. I did that because my CPU overheated, and I've kept a good eye on the temperature sensors ever since. Besides I know what happens if my CPU overheats so I'm pretty sure it is not overheating. Should the problem be a broken CPU, well that would almost be the same as a broken motherboard and I would have to replace both of them. I cannot easely find replacement parts for either the cpu or the motherboard, socket 939 has become obsolete.

  • Guest Domains not visible

    Hi!,
    Just finisned installing OracleVM 2.1.5 along with two guest virtual machines from VM Manager template and Database 11g Template. Was able to vnc to both consoles, login to VM Manager, and 11g database (apex page was also visible).
    Upon first reboot of VM Server and xm list only Domain0 is visible.
    Browsed through docs/google in luck finding information about the Virtual Machines.
    Thanks in advance

    user489266 wrote:
    Thank You,
    xm create vm.cfg worked. (will try to see if this can be added to boot sequence)You can configure domains to be saved or shutdown on server shutdown, and restored or started on server startup. Create a symlink to the vm.cfg file of the guest you want started at boot in /etc/xen/auto See /etc/sysconfig/xendomains for details.
    >
    Today is my second day with Oracle VM/ Oracle VM Manager, not as simple when compared to VMWare ESXi/VMclient.
    Still have lots of unresolved issues:
    -How to mount CDROM on Virtual Machines
    See the last paragraph and figure of [Logging In to a Virtual Machine|http://download.oracle.com/docs/cd/E11081_01/doc/doc.21/e10901/vm.htm#OVMUG388] (Figure 6-7 Changing CD)
    -Console not popping up from VM Manager page
    Check [Connecting to a Virtual Machine Console|http://download.oracle.com/docs/cd/E11081_01/doc/doc.21/e10901/vm.htm#sthref161] and if that doesn't help, open a Metalink SR, so support can help you troubleshoot this issue.
    -Not able to start xclock in tightVNC consoleNot sure what you mean. Do you see the graphical desktop of the guest in the tightVNC console?
    - xm list show staus as blocked for virtual machinesThat's normal. See man xm, search for states.

  • Fast User Switching with Mounted Network Drive?

    I have a headless G4 Cube running 10.5.8 with a 2TB firewire drive plugged in for storage accessable to any of my macs here at home. I can access it fine with my 2 desktops over ethernet and wirelessly. Recently we decided to consolidate our 2 desktops into one using the muliple users feature. Seems to work fine, and both accounts can access the shared drive. They are logging in with the cube's admin credentials, and the shared drive is set to ignore permissions. I have the drive set to mount on login with a startup item in the system login items prefs. As long as I logout before switching users, everything is good.
    The problem arises with Fast User Switching which we'd love to be able to use. I can't figure out how to connect to the drive in one account without the 2nd account then seeing it as a volume without proper permissions, then that account creates a new volume mount for it (which doesn't work with iTunes properly and seems to cause other wierd issues).
    Example: So say 'user1' logs in, mounts the drive 'Jukebox'. everything seems OK so far. 'Jukebox' is on the desktop and iTunes finds the music. Now I fast user switch to 'user2' and there is a 'Jukebox' on the desktop with the red minus icon indicating I don't have permissions to access it. If I then browse the network and mount the drive, I end up with ANOTHER 'Jukebox' on the desktop. BUT iTunes doesn't see it properly. If I look in the /Volumes/ folder with the Terminal, I see a mountpoint for 'Jukebox' (with the owner of 'user1' group 'staff') and now a new mountpoint called 'Jukebox-1' (with the owner of 'user2' group 'staff').
    It seems when you mount a AFP drive, it creates the Volume with the current user and staff group, but switching to another user then can't access that when it sees it in the /Volumes folder. You try to mount again and it creates a NEW mountpoint, names it with a '-1' at the end and you can use that (but iTunes cant).
    So... how does one use a shared drive that you want on BOTH users desktops with Fast User Switching turned on? Is there a way to have the drive mounted BEFORE either user logs in, such that it will be seen as any other local drive (which doesn't have the issue)??
    Or is there some other way I can attach to the network volume in each account on login so both have access to music and videos with full permissions?
    I'm really stumped here after 2 hrs of googling, searching here and trying things.
    TIA

    I've not had any luck with the suggestions in the link either.
    Here's two other approaches I've tried and failed with:
    1. Creating a new share point on the cube itself so that one user can mount it as a different volume. Then the issue is that I still don't have a volume named "Jukebox" available to each user when switching. I DO have access now to the data from both accounts, but under 2 different mount points (volume names) and the xml file for iTunes is hard coded with the path for each mp3 including the "Jukebox" volume name... so no go.
    2. Tried figuring out a way I could script a mounting of the share with the terminal thinking I could then run that shell script at startup. Can't seem to get the sytax right. If I create a directory in /Volumes and mount and afp share to it, it takes on the ownership of root/wheel which I can't access in the finder and can't seem to change.
    BUT I'll keep playing with both these ideas a bit... the first one might be overcome with a bit of logic and the 2nd if I can get the syntax right to mount the share with afp_mount and give it the correct ownership/permissions such that when a user logs in she/he sees the volume on the desktop and has full r/w access to it.
    thanks again. if you offhand know the syntax for that, let me know

  • How can i restrict access to a mounted smb drive?

    Hope someone can help this is bugging me! i'm running this apple script as a student logs in to mount the students share folder, located on a MS2003 server, and a share drive on an Xserve to their desktop:
    set student_name to (do shell script "echo $USER")
    property stu_password : ""
    -- displays the password dialog box and stores the result in stu_password
    repeat while stu_password is ""
    display dialog "enter your password to access the share" default answer stu_password with hidden answer
    set stu_password to text returned of result
    end repeat
    -- mounts the network share to the desktop
    tell application "Finder"
    open location "smb://servername/stuhome/" & student_name & "/"
    open location "afp://" & student_name & ":" & stu_password & "@servername/Share/"
    end tell
    It works fine and mounts the drives however... finder then defaults the network location so the student has access to all the folders on /servername/stuhome/ I just want it to mount /servername/stuhome/username/ with no backwards access. I cant set permissions from a server folder level (i don't think!) as its a windows server. any suggestions? why does finder do this? ta.
    Intel XServe Mac OS X (10.4.10)
    Intel XServe   Mac OS X (10.4.10)  

    I've done a work round i'm not 100% happy with but it will do! If anyone else has this problem feel free to mail me.

  • [SOLVED]mounting cdrom and usb devices doesn't work

    Hello,
    i have trouble mounting my usb devices. automount doesn't work and i can't mount them manually even as a superuser. here's the output of mount command:
    mount: wrong fs type, bad option, bad superblock on /dev/sdc,
    missing codepage or helper program, or other error
    In some cases useful info is found in syslog - try
    dmesg | tail or so
    i can mount cdrom manually but i can't do the same for my usb stick and external hard drives. it always complains about the above regardless of the filesystem. my devices are working under windows and other linuxes so i know hardware is not the problem.
    i'm using lxde with pcmanfm.
    if you need any other files just ask.
    thanks
    Last edited by the gray (2009-03-16 20:15:18)

    above was the error when i tried to mount any usb device with "mount -t <type> /dev/sdc /media/mountpoint". and i couldn't mount any usb device as root from console. when i tried to mount devices using pcmanfm it just popped some empty dialogs and i couldn't find any mention of "IsCallerPriviliged failed" error so i (wrongly) presumed it wasn't that. i did try some of the other fixes mentioned in the forum with no success. but adding exec ck-launch-session startkde to my .xinitrc fixed the issue
    thanks again
    Last edited by the gray (2009-03-16 20:17:53)

  • Macbook Pro 15" won't boot from ANYTHING :( Can't mount internal drive

    Hi there,
    I'm new to these forums so please bear with me if I make a faux pas.
    A few days ago while watching a movie on my MBP Intel Core 2 Duo 2.5 the beach ball of death appeared and the computer became unresponsive. I restarted to the flashing folder with a question mark.
    Tried to boot from the install disk - No joy : Occasionally gets to the language selection screen (after a good 5-8 minute wait) and then instantly and completely freezes. Cursor won't move, caps lock light is unresponsive etc..
    Tried to boot from Diskwarrior - Similar to the above. Long wait, boots to the Diskwarrior 'setting up' screen, unresponsive cursor - despite, Diskwarrior seemingly going through the motions (status in text changes, menu bar appears) and then it reports an unexpected error with code 60, 2105 and completely freezes.
    Can't boot from a USB flash drive with a clean version of OS X made from my install disk.
    Disk won't mount when in target disk mode. However the DVD drive mounts it's contents onto the host machine when it target mode.
    I removed the drive last night and placed it in an external enclosure and OS X reports "The disk you've inserted is not recognised et.. "Initialise" "Ignore" "Eject". The drive appears in Disk Utility but all options are greyed out, SMART status says 'not supported' and it's capacity is shown as 0 bytes. The drive registers in the Hardware pane of Diskwarrior but no-where else.
    I'm fine with the fact that the drive has failed but could these problems indicate something more serious? I'm concerned that the machine won't boot from any device or media. Is this a symptom of a failed hard drive or could this be a logic board issue?
    Any advice would be greatly appreciated!!!!
    Thanks all and Happy new Year.
    XOXO

    You might try a PRAM reset and see if this does any good.
    http://support.apple.com/kb/HT1379?viewlocale=en_US
    It sounds like the hard drive itself is toast based on how it looks in an enclosure. So you won't be able to boot from it. Possibly after a PRAM reset you could option boot to a disc or to your external drive.
    I had the experience of a failed hard drive totally messing up my PowerMacG4, and it took some doing to get it going again. I finally got it going again, and it has been working ever since without issue.
    The MBP is a different machine, but having experienced first hand what a dying hard drive could do, I think it's well worth doing any resets you can.
    If no joy, make an appointment at the genius bar and ask them if they can run a hardware test from their store feed. If you do have other issues, they should show up then.
    If you end up being able to boot to the optical drive, you could try running the extended version of the Apple Hardware test yourself.
    Good luck!

Maybe you are looking for