cdrom not mount - Solaris

This is a discussion on cdrom not mount - Solaris ; Hello! I have trouble with mounting cd on Solaris 5.9. I try to mount manually : # mount -F hsfs -o ro /dev/rdsk/c0t3d0s0 /cdrom mount: /dev/rdsk/c0t3d0s0 not a block device but see error about "not a block device". Then i ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: cdrom not mount

  1. cdrom not mount

    Hello!

    I have trouble with mounting cd on Solaris 5.9.
    I try to mount manually :
    # mount -F hsfs -o ro /dev/rdsk/c0t3d0s0 /cdrom
    mount: /dev/rdsk/c0t3d0s0 not a block device

    but see error about "not a block device". Then i use fstype autofs,
    cdrom mounted, but
    ls /cdrom is wrong:

    bash-2.05# ls /cdrom
    уНЮ
    2jќдй
    ђF %XїP0Њ·ЁИH*dБ%,+ИaEЃUђgk•¬t‚ІДKГ ‡ш!Ў
    АЂIЩ>©Щљ–‚S[JЗшІZОЫ¤5
    Ec6в”ЂУ6yWОHx

    Also i try to use vold:
    /usr/sbin/vold -v -L 99

    Tue Jan 10 18:31:08 2006 debug[5]: main: debug level 99 (verbose = 1)
    Tue Jan 10 18:31:08 2006 debug[1]: reading config file: /etc/vold.conf
    Tue Jan 10 18:31:08 2006 debug[1]: dso_load(): opening
    /usr/lib/vold/db_mem.so.1
    Tue Jan 10 18:31:08 2006 info: dso_load: loaded
    /usr/lib/vold/db_mem.so.1
    Tue Jan 10 18:31:08 2006 debug[1]: dso_load(): opening
    /usr/lib/vold/label_cdrom.so.1
    Tue Jan 10 18:31:08 2006 info: label_cdrom: init
    Tue Jan 10 18:31:08 2006 info: dso_load: loaded
    /usr/lib/vold/label_cdrom.so.1
    Tue Jan 10 18:31:08 2006 debug[1]: dso_load(): opening
    /usr/lib/vold/label_dos.so.1
    Tue Jan 10 18:31:08 2006 info: dso_load: loaded
    /usr/lib/vold/label_dos.so.1
    Tue Jan 10 18:31:08 2006 debug[1]: dso_load(): opening
    /usr/lib/vold/label_sun.so.1
    Tue Jan 10 18:31:08 2006 info: label_sun: init
    Tue Jan 10 18:31:08 2006 info: dso_load: loaded
    /usr/lib/vold/label_sun.so.1
    Tue Jan 10 18:31:08 2006 debug[1]: dso_load(): opening
    /usr/lib/vold/dev_cdrom.so.1
    Tue Jan 10 18:31:08 2006 info: dso_load: loaded
    /usr/lib/vold/dev_cdrom.so.1
    Tue Jan 10 18:31:08 2006 debug[10]: dev_use: cdrom drive at
    /dev/rdsk/c0t3d0s2, cdrom%d@, u/g=nobody/nobody, temp_flag=FALSE,
    force_flag=FALSE
    Tue Jan 10 18:31:08 2006 info: cdrom_use: /dev/rdsk/c0t3d0s2
    Tue Jan 10 18:31:08 2006 debug[5]: Firmware does not need fdisk fix ***
    Tue Jan 10 18:31:08 2006 debug[15]: startupdate:
    Tue Jan 10 18:31:08 2006 debug[15]: setupdated: , db 'mem'
    Tue Jan 10 18:31:08 2006 debug[15]: endupdate:
    Tue Jan 10 18:31:08 2006 debug[10]: node_mkobj: added rdsk (0x54f48) to
    /vol (0x54ca8)
    Tue Jan 10 18:31:08 2006 debug[15]: startupdate:
    Tue Jan 10 18:31:08 2006 debug[15]: setupdated: , db 'mem'
    Tue Jan 10 18:31:08 2006 debug[15]: endupdate:
    Tue Jan 10 18:31:08 2006 debug[10]: node_mkobj: added dsk (0x55128) to
    /vol (0x54ca8)
    Tue Jan 10 18:31:08 2006 debug[15]: startupdate:
    Tue Jan 10 18:31:08 2006 debug[15]: setupdated: , db 'mem'
    Tue Jan 10 18:31:08 2006 debug[15]: endupdate:
    Tue Jan 10 18:31:08 2006 debug[10]: node_mkobj: added rmt (0x55308) to
    /vol (0x54ca8)
    Tue Jan 10 18:31:08 2006 debug[15]: startupdate:
    Tue Jan 10 18:31:08 2006 debug[15]: setupdated: , db 'mem'
    Tue Jan 10 18:31:08 2006 debug[15]: endupdate:
    Tue Jan 10 18:31:08 2006 debug[10]: node_mkobj: added dev (0x554e8) to
    /vol (0x54ca8)
    Tue Jan 10 18:31:08 2006 debug[15]: startupdate:
    Tue Jan 10 18:31:08 2006 debug[15]: setupdated: , db 'mem'
    Tue Jan 10 18:31:08 2006 debug[15]: endupdate:
    Tue Jan 10 18:31:08 2006 debug[15]: startupdate: dev
    Tue Jan 10 18:31:08 2006 debug[15]: setupdated: dev, db 'mem'
    Tue Jan 10 18:31:08 2006 debug[15]: endupdate: dev
    Tue Jan 10 18:31:08 2006 debug[10]: node_mkobj: added rdsk (0x55608) to
    dev (0x554e8)
    Tue Jan 10 18:31:08 2006 debug[15]: startupdate:
    Tue Jan 10 18:31:08 2006 debug[15]: setupdated: , db 'mem'
    Tue Jan 10 18:31:08 2006 debug[15]: endupdate:
    Tue Jan 10 18:31:08 2006 debug[15]: startupdate: dev
    Tue Jan 10 18:31:08 2006 debug[15]: setupdated: dev, db 'mem'
    Tue Jan 10 18:31:08 2006 debug[15]: endupdate: dev
    Tue Jan 10 18:31:08 2006 debug[15]: startupdate: rdsk
    Tue Jan 10 18:31:08 2006 debug[15]: setupdated: rdsk, db 'mem'
    Tue Jan 10 18:31:08 2006 debug[10]: node_mkobj: added c0t3d0 (0x55728)
    to rdsk (0x55608)
    Tue Jan 10 18:31:08 2006 debug[9]: CDROM_NAMEPROTO=%sp%d;
    path_trunc=/dev/rdsk/c0t3d0
    Tue Jan 10 18:31:08 2006 debug[9]: namebuf1=/dev/rdsk/c0t3d0p0;
    rawpth=/dev/rdsk/c0t3d0p0
    Tue Jan 10 18:31:08 2006 debug[9]: CDROM_NAMEPROTO=%sp%d;
    path_trunc=/dev/rdsk/c0t3d0
    Tue Jan 10 18:31:08 2006 debug[9]: namebuf1=/dev/rdsk/c0t3d0p1;
    rawpth=/dev/rdsk/c0t3d0p1
    Tue Jan 10 18:31:08 2006 debug[9]: CDROM_NAMEPROTO=%sp%d;
    path_trunc=/dev/rdsk/c0t3d0
    Tue Jan 10 18:31:08 2006 debug[9]: namebuf1=/dev/rdsk/c0t3d0p2;
    rawpth=/dev/rdsk/c0t3d0p2
    Tue Jan 10 18:31:08 2006 debug[9]: CDROM_NAMEPROTO=%sp%d;
    path_trunc=/dev/rdsk/c0t3d0
    Tue Jan 10 18:31:08 2006 debug[9]: namebuf1=/dev/rdsk/c0t3d0p3;
    rawpth=/dev/rdsk/c0t3d0p3
    Tue Jan 10 18:31:08 2006 debug[9]: CDROM_NAMEPROTO=%sp%d;
    path_trunc=/dev/rdsk/c0t3d0
    Tue Jan 10 18:31:08 2006 debug[9]: namebuf1=/dev/rdsk/c0t3d0p4;
    rawpth=/dev/rdsk/c0t3d0p4
    Tue Jan 10 18:31:08 2006 debug[9]: CDROM_NAMEPROTO_S=%ss%d;
    path_trunc=/dev/rdsk/c0t3d0
    Tue Jan 10 18:31:08 2006 debug[9]: namebuf1=/dev/rdsk/c0t3d0s0;
    rawpth=/dev/rdsk/c0t3d0s0
    Tue Jan 10 18:31:08 2006 debug[9]: CDROM_NAMEPROTO_S=%ss%d;
    path_trunc=/dev/rdsk/c0t3d0
    Tue Jan 10 18:31:08 2006 debug[9]: namebuf1=/dev/rdsk/c0t3d0s1;
    rawpth=/dev/rdsk/c0t3d0s1
    Tue Jan 10 18:31:08 2006 debug[9]: CDROM_NAMEPROTO_S=%ss%d;
    path_trunc=/dev/rdsk/c0t3d0
    Tue Jan 10 18:31:08 2006 debug[9]: namebuf1=/dev/rdsk/c0t3d0s2;
    rawpth=/dev/rdsk/c0t3d0s2
    Tue Jan 10 18:31:08 2006 debug[9]: CDROM_NAMEPROTO_S=%ss%d;
    path_trunc=/dev/rdsk/c0t3d0
    Tue Jan 10 18:31:08 2006 debug[9]: namebuf1=/dev/rdsk/c0t3d0s3;
    rawpth=/dev/rdsk/c0t3d0s3
    Tue Jan 10 18:31:08 2006 debug[9]: CDROM_NAMEPROTO_S=%ss%d;
    path_trunc=/dev/rdsk/c0t3d0
    Tue Jan 10 18:31:08 2006 debug[9]: namebuf1=/dev/rdsk/c0t3d0s4;
    rawpth=/dev/rdsk/c0t3d0s4
    Tue Jan 10 18:31:08 2006 debug[9]: CDROM_NAMEPROTO_S=%ss%d;
    path_trunc=/dev/rdsk/c0t3d0
    Tue Jan 10 18:31:08 2006 debug[9]: namebuf1=/dev/rdsk/c0t3d0s5;
    rawpth=/dev/rdsk/c0t3d0s5
    Tue Jan 10 18:31:08 2006 debug[9]: CDROM_NAMEPROTO_S=%ss%d;
    path_trunc=/dev/rdsk/c0t3d0
    Tue Jan 10 18:31:08 2006 debug[9]: namebuf1=/dev/rdsk/c0t3d0s6;
    rawpth=/dev/rdsk/c0t3d0s6
    Tue Jan 10 18:31:08 2006 debug[9]: CDROM_NAMEPROTO_S=%ss%d;
    path_trunc=/dev/rdsk/c0t3d0
    Tue Jan 10 18:31:08 2006 debug[9]: namebuf1=/dev/rdsk/c0t3d0s7;
    rawpth=/dev/rdsk/c0t3d0s7
    Tue Jan 10 18:31:08 2006 debug[15]: startupdate:
    Tue Jan 10 18:31:08 2006 debug[15]: setupdated: , db 'mem'
    Tue Jan 10 18:31:08 2006 debug[15]: endupdate:
    Tue Jan 10 18:31:08 2006 debug[15]: startupdate: dev
    Tue Jan 10 18:31:08 2006 debug[15]: setupdated: dev, db 'mem'
    Tue Jan 10 18:31:08 2006 debug[15]: endupdate: dev
    Tue Jan 10 18:31:08 2006 debug[10]: node_mkobj: added dsk (0x55848) to
    dev (0x554e8)
    Tue Jan 10 18:31:08 2006 debug[15]: startupdate:
    Tue Jan 10 18:31:08 2006 debug[15]: setupdated: , db 'mem'
    Tue Jan 10 18:31:08 2006 debug[15]: endupdate:
    Tue Jan 10 18:31:08 2006 debug[15]: startupdate: dev
    Tue Jan 10 18:31:08 2006 debug[15]: setupdated: dev, db 'mem'
    Tue Jan 10 18:31:08 2006 debug[15]: endupdate: dev
    Tue Jan 10 18:31:08 2006 debug[15]: startupdate: dsk
    Tue Jan 10 18:31:08 2006 debug[15]: setupdated: dsk, db 'mem'
    Tue Jan 10 18:31:08 2006 debug[10]: node_mkobj: added c0t3d0 (0x55968)
    to dsk (0x55848)
    Tue Jan 10 18:31:08 2006 debug[5]: cdp->cd_blk_p0_path =
    /dev/dsk/c0t3d0p0
    Tue Jan 10 18:31:08 2006 debug[15]: dev_makedp: just added mapping for
    /dev/rdsk/c0t3d0s2 (32,2)
    Tue Jan 10 18:31:08 2006 debug[4]: dev_usepath: new path
    /dev/rdsk/c0t3d0
    Tue Jan 10 18:31:08 2006 debug[1]: dso_load(): opening
    /usr/lib/vold/dev_rmdisk.so.1
    Tue Jan 10 18:31:08 2006 info: dso_load: loaded
    /usr/lib/vold/dev_rmdisk.so.1
    Tue Jan 10 18:31:08 2006 debug[10]: dev_use: rmdisk drive at
    /dev/rdsk/c*s2, rmdisk%d@, u/g=nobody/nobody, temp_flag=FALSE,
    force_flag=FALSE
    Tue Jan 10 18:31:08 2006 debug[9]: Rawpath = /dev/rdsk/c0t0d0s2
    Tue Jan 10 18:31:08 2006 debug[5]: rmdisk(probing):
    "/dev/rdsk/c0t0d0s2" not a SCSI or PCMCIA-ATA drive
    Tue Jan 10 18:31:08 2006 debug[5]: rmdisk(probing): (disk type 13 or 22
    expected, 20 found)
    Tue Jan 10 18:31:08 2006 debug[3]: /dev/rdsk/c0t0d0s2 wrong kind of
    device
    Tue Jan 10 18:31:08 2006 debug[9]: Rawpath = /dev/rdsk/c0t2d0s2
    Tue Jan 10 18:31:08 2006 debug[5]: rmdisk(probing):
    "/dev/rdsk/c0t2d0s2" not a SCSI or PCMCIA-ATA drive
    Tue Jan 10 18:31:08 2006 debug[5]: rmdisk(probing): (disk type 13 or 22
    expected, 20 found)
    Tue Jan 10 18:31:08 2006 debug[3]: /dev/rdsk/c0t2d0s2 wrong kind of
    device
    Tue Jan 10 18:31:08 2006 debug[5]: rmdisk(probing):
    "/dev/rdsk/c0t3d0s2" already in use
    Tue Jan 10 18:31:08 2006 info: rmdisk_use: /dev/rdsk/c0t3d0s2, rmdisk0
    Tue Jan 10 18:31:08 2006 debug[1]: rmdisk_use: /dev/rdsk/c0t3d0s2
    already in use
    Tue Jan 10 18:31:08 2006 debug[4]: dev_usepath: new path
    /dev/rdsk/c0t3d0s2
    Tue Jan 10 18:31:08 2006 debug[10]: vold_util.c(2104): 'fs' is
    considered unsafe
    Tue Jan 10 18:31:08 2006 debug[10]: vold_util.c(2104): 'fs' is
    considered unsafe
    Tue Jan 10 18:31:08 2006 debug[10]: vold_util.c(2104): 'fs' is
    considered unsafe
    Tue Jan 10 18:31:08 2006 debug[10]: vold_util.c(2104): 'fs' is
    considered unsafe
    Tue Jan 10 18:31:08 2006 info: vold: running
    Tue Jan 10 18:31:08 2006 debug[12]: vold_run: about to poll()
    Tue Jan 10 18:31:08 2006 debug[12]: vold_run: poll() returned 1 (errno
    1)
    Tue Jan 10 18:31:08 2006 debug[12]: vold_run: about to poll()
    Tue Jan 10 18:31:08 2006 debug[1]: cdrom_thread_wait: opening
    "/dev/rdsk/c0t3d0p0" RDONLY ...
    Tue Jan 10 18:31:08 2006 debug[1]: cdrom: /dev/rdsk/c0t3d0p0; No such
    file or directory
    Tue Jan 10 18:31:08 2006 debug[1]: cdrom_thread_wait: opening
    "/dev/rdsk/c0t3d0s0" RDONLY ...
    Tue Jan 10 18:31:08 2006 debug[1]: cdrom_thread_wait: opening
    "/dev/rdsk/c0t3d0s1" RDONLY ...
    Tue Jan 10 18:31:08 2006 debug[1]: cdrom_thread_wait: opening
    "/dev/rdsk/c0t3d0s2" RDONLY ...
    Tue Jan 10 18:31:08 2006 debug[1]: cdrom_thread_wait: opening
    "/dev/rdsk/c0t3d0s3" RDONLY ...
    Tue Jan 10 18:31:08 2006 debug[1]: cdrom_thread_wait: opening
    "/dev/rdsk/c0t3d0s4" RDONLY ...
    Tue Jan 10 18:31:08 2006 debug[1]: cdrom_thread_wait: opening
    "/dev/rdsk/c0t3d0s5" RDONLY ...
    Tue Jan 10 18:31:08 2006 debug[1]: cdrom_thread_wait: opening
    "/dev/rdsk/c0t3d0s6" RDONLY ...
    Tue Jan 10 18:31:08 2006 debug[1]: cdrom_thread_wait: opening
    "/dev/rdsk/c0t3d0s7" RDONLY ...
    Tue Jan 10 18:31:08 2006 debug[3]: cdrom_thread_wait: ioctl(DKIOCSTATE)
    on "/dev/rdsk/c0t3d0s2"
    Tue Jan 10 18:31:08 2006 debug[12]: vold_run: poll() returned 1 (errno
    1)
    Tue Jan 10 18:31:08 2006 debug[12]: vold_run: about to poll()
    Tue Jan 10 18:31:08 2006 debug[12]: vold_run: poll() returned 1 (errno
    1)
    Tue Jan 10 18:31:08 2006 debug[12]: vold_run: about to poll()
    Tue Jan 10 18:31:08 2006 debug[12]: vold_run: poll() returned -1 (errno
    4)
    Tue Jan 10 18:31:08 2006 debug[10]: vold_run: poll interrupted
    Tue Jan 10 18:31:08 2006 debug[12]: vol_async: entering
    (alab_work=FALSE)
    Tue Jan 10 18:31:08 2006 debug[12]: vol_async: no more async label work
    Tue Jan 10 18:31:08 2006 debug[12]: vold_run: about to poll()
    Tue Jan 10 18:31:11 2006 debug[1]: cd_thread_wait: cd_defpart now 0
    Tue Jan 10 18:31:11 2006 debug[1]: vol_event: 6 (VIE_INSERT)
    Tue Jan 10 18:31:11 2006 debug[2]: vol_event: insert into (32,2)
    Tue Jan 10 18:31:11 2006 debug[6]: vol_event: created insert_medium()
    tid 3 (32,2) (for INSERT)
    Tue Jan 10 18:31:11 2006 debug[3]: cdrom_thread_wait: ioctl(DKIOCSTATE)
    on "/dev/rdsk/c0t3d0s0"
    Tue Jan 10 18:31:11 2006 debug[2]: insert_medium: device(32, 2)
    Tue Jan 10 18:31:11 2006 debug[2]: entering create_medium()
    Tue Jan 10 18:31:11 2006 debug[8]: entering create_pathnames()
    Tue Jan 10 18:31:11 2006 debug[8]: entering create_block_pathname()
    Tue Jan 10 18:31:11 2006 debug[8]: leaving create_block_pathname(),
    result code = success
    Tue Jan 10 18:31:11 2006 debug[8]: leaving create_pathnames(), result
    code = success
    Tue Jan 10 18:31:11 2006 debug[2]: leaving create_medium(), result code
    = can't get access_mode
    Tue Jan 10 18:31:11 2006 debug[12]: vold_run: poll() returned -1 (errno
    4)
    Tue Jan 10 18:31:11 2006 debug[10]: vold_run: poll interrupted
    Tue Jan 10 18:31:11 2006 debug[12]: vol_async: entering
    (alab_work=FALSE)
    Tue Jan 10 18:31:11 2006 debug[12]: vol_async: no more async label work
    Tue Jan 10 18:31:11 2006 debug[12]: vold_run: about to poll()

    That is error with this?
    Tue Jan 10 18:31:11 2006 debug[2]: leaving create_medium(), result code
    = can't get access_mode

    Can anybody help me on this trouble?


  2. Re: cdrom not mount

    epiq@mail.ru wrote:

    > Hello!
    >
    > I have trouble with mounting cd on Solaris 5.9.
    > I try to mount manually :
    > # mount -F hsfs -o ro /dev/rdsk/c0t3d0s0 /cdrom




    What happens if you use /dev/dsk/c0t3d0s0 instead of the raw rdsk?


    --
    The e-mail address in our reply-to line is reversed in an attempt to
    minimize spam. Our true address is of the form che...@prodigy.net.

  3. Re: cdrom not mount

    Yes. You should mount the block device instead of the raw device.


+ Reply to Thread