[PC-BSD Testing] HAL issue with cdrom
Kris Moore
kris at pcbsd.com
Wed Apr 8 11:17:32 PDT 2009
Ivailo Bonev wrote:
> ----- Original Message -----
> From: <yerenkow at uct.ua>
> To: <testing at lists.pcbsd.org>
> Sent: Wednesday, April 08, 2009 7:06 PM
> Subject: Re: [PC-BSD Testing] HAL issue with cdrom
>
>
>> Hello all!
>> Writing to you with another issue, mounting of DVD.
>> The DVD is simple pc-bsd install dvd, when I tries to mount it via
>> dolphin I recevied hal error:
>> org.freedesktop.Hal.Device.Volume.UknownFailure:
>> mount_cd9660: Unable to load iconv library: Shared object libiconv.so
>> not found, required by "mount_cd9660" : No such file or directory
>> mount_cd9660: cd9660_iconv: No such file or directory
>
> Same problem here when I put USB flash drive with FAT32 filesystem:
>
> An error occurred whyle accessing '...', the system responded:
> org.freedesktop.Hal.Device.Volume.UnknownFailure:
> mount_msdosfs: Unable to load iconv library: Shared object "libiconv.so" not
> found,
> required by "mount_msdosfs":Unknown error: 0
> mount_msdosfs: msdosfs_iconv: No such file or directory
>
>> But I could mount manually OK:
> Yes, mouning manualy is OK, maybe Dolphin have problem???
>
>>> [root at pcbsd /usr/home/user]# mount_cd9660 /dev/cd0 /media/cdrom
>>> [root at pcbsd /usr/home/user]# mount
>>> /dev/da0s1a on / (ufs, local, noatime, soft-updates)
>>> devfs on /dev (devfs, local)
>>> linprocfs on /compat/linux/proc (linprocfs, local)
>>> procfs on /proc (procfs, local)
>>> /dev/md0 on /tmp (ufs, local)
>>> /dev/cd0 on /media/cdrom (cd9660, local, read-only)
>> with specified encoding works too:
>>
>> [root at pcbsd /usr/home/user]# mount_cd9660 -C UTF-8 /dev/cd0 /media/cdrom
>> [root at pcbsd /usr/home/user]# mount
>> /dev/da0s1a on / (ufs, local, noatime, soft-updates)
>> devfs on /dev (devfs, local)
>> linprocfs on /compat/linux/proc (linprocfs, local)
>> procfs on /proc (procfs, local)
>> /dev/md0 on /tmp (ufs, local)
>> /dev/cd0 on /media/cdrom (cd9660, local, read-only)
>>
>>
>> I have two mount_cd9660 on my system( /sbin and /rescue), and first one
>> doesn't depend directly to libiconv.so:
>>
>>
>>> [root at pcbsd /usr/home/user]# whereis mount_cd9660
>>> mount_cd9660: /sbin/mount_cd9660 /usr/share/man/man8/mount_cd9660.8.gz
>>> [root at pcbsd /usr/home/user]# ldd /sbin/mount_cd9660
>>> /sbin/mount_cd9660:
>>> libkiconv.so.3 => /lib/libkiconv.so.3 (0x800634000)
>>> libc.so.7 => /lib/libc.so.7 (0x800737000)
>>> [root at pcbsd /usr/home/user]# ldd /lib/libkiconv.so.3
>>> /lib/libkiconv.so.3:
>>> libc.so.7 => /lib/libc.so.7 (0x800633000)
>>> [root at pcbsd /usr/home/user]#
>> If I
>> mv /rescue/mount_cd9660 /rescue/mount_cd966011
>> then dvd start mounts in Dolphin;
>> After that if I back rename /rescue one, my dvd will still mount/unmount
>> OK.
>>
>> Who's issue/bug? :)
>>
Thanks guys! I've found a fix here, for some reason hald isn't detecting
libiconv.so in /PCBSD/local/lib properly. I'm going to issue an update
for 7.1, that fixes this.
--
Kris Moore
PC-BSD Software
http://www.pcbsd.com
More information about the Testing
mailing list