[kde-solaris] KDE3.2.2 Kaudiocreator and SUN ATAPI DVD units

Lars Tunkrans lars.tunkrans at bredband.net
Sun Jun 20 17:53:53 CEST 2004


OK,

    Here is an interesting little problem .
    I'm running Stefans latest release.

  System : Solaris 9 4/04 s9s_u6wos_08a SPARC  Sunblade 1500 Workstation


    I have set up :

#ls -l /dev/cdrom
lrwxrwxrwx   1 root other 37 Jun 20 17:26 /dev/cdrom -> /devices/pci at 1e,600000/ide at d/sd at 2,0:c

#ls -l /devices/pci at 1e,600000/ide at d/sd at 2,0:c
brw-r--r--   1 root     sys       32,  2 Apr  1 22:49 /devices/pci at 1e,600000/ide at d/sd at 2,0:c

$ truss -rall -vall -wall -fao /tmp/trace2 kaudiocreator
1754:   execve("/opt/kde-3.2.2/bin/kaudiocreator", 0xFFBFE764, 0xFFBFE76C)  argc = 1
1754:    argv: kaudiocreator
1754:   resolvepath("/opt/kde-3.2.2/bin/kaudiocreator", "/opt/kde-3.2.2/bin/kaudiocreator", 1023) = 32
1754:   resolvepath("/usr/lib/ld.so.1", "/usr/lib/ld.so.1", 1023) = 16
1754:   stat("/opt/kde-3.2.2/bin/kaudiocreator", 0xFFBFE540) = 0

Hundreds of lines deleted.

1754:   open("/dev/cdrom", O_RDONLY)                    = 11
1754:   ioctl(11, 0x04C9, 0xFFBFDC9C)                   Err#25 ENOTTY
1754:   fstat64(2, 0xFFBFCE58)                          = 0
1754:       d=0x02200000 i=2724  m=0020600 l=1  u=100   g=7     rdev=0x00600005
1754:           at = Jun 20 17:28:29 CEST 2004  [ 1087745309 ]
1754:           mt = Jun 20 17:28:29 CEST 2004  [ 1087745309 ]
1754:           ct = Jun 20 17:24:44 CEST 2004  [ 1087745084 ]
1754:       bsz=8192  blks=0     fs=ufs
1754:   write(2, 0xFD387008, 47)                        = 47
1754:      W a r n i n g :   W o r k M a n   c o u l d n ' t   d e t e r m
1754:      i n e   d r i v e   t y p e\n
1754:   open("/dev/audioctl", O_WRONLY)                 = 12
1754:   ioctl(12, AUDIO_GETDEV, 0xFFBFDCC0)             = 0
1754:   close(12)                                       = 0
1754:   ioctl(11, 0x049B, 0xFFBFDDAE)                   Err#25 ENOTTY
1754:   close(11)                                       = 0

This happends repeatedly until I close Kaudiocreator.

 From the ioctl(2)  man page.  Re: the error  on fd(11)  above.


     " ENOTTY
            The fildes argument is not associated with  a  STREAMS
            device that accepts control functions. "

And yes vold(1M)  is not running. I killed it before doing the trace.

Does Kaudiocreator work on a SCSI Cdrom  ?  anyone ?

Did I blow it,  or is  this a programmingerror  that is compileable  but
an example of something that works in Linux but not in Solaris.

Regards
//Lars





More information about the kde-solaris mailing list