Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Oct 2009 21:25:32 -0400
From:      "J.R. Oldroyd" <fbsd@opal.com>
To:        freebsd-gnome@freebsd.org
Subject:   hal truncating block.device on freebsd-8.0rc1
Message-ID:  <20091022212532.23a0b972@shibato.opal.com>

next in thread | raw e-mail | index | archive | help
Attached USB camera in umass mode.  Doesn't automount.

Running hald --verbose shows:

...
21:02:23.301 [W] hf-block.c:49: unable to stat /dev/msdosfs/NIKON: No such file or directory
Run started hald-probe-volume (60000) (0) 
!  full path is '/usr/local/libexec/hald-probe-volume', program_dir is '/usr/local/libexec'
pid 6469: rc=1 signaled=0: /usr/local/libexec/hald-probe-volume
21:02:23.313 [I] hald.c:108: Added device to GDL; udi=/org/freedesktop/Hal/devices/volume_part2_size_4095705600_block
21:02:23.322 [I] hf-devd.c:316: received devd event: !system=DEVFS subsystem=CDEV type=CREATE cdev=pass1
21:02:23.330 [I] hf-devd.c:316: received devd event: !system=DEVFS subsystem=CDEV type=CREATE cdev=da1
21:02:23.331 [I] hf-devd.c:316: received devd event: !system=DEVFS subsystem=CDEV type=CREATE cdev=da1s1
21:02:23.331 [I] hf-devd.c:316: received devd event: !system=DEVFS subsystem=CDEV type=CREATE cdev=msdosfs/NIKON D300
...

# ls -l /dev/msdosfs
total 0
crw-r-----  1 root  operator    0, 110 Oct 22 21:02 NIKON D300

# lshal
...
udi = '/org/freedesktop/Hal/devices/volume_part2_size_4095705600_block'
  block.device = '/dev/msdosfs/NIKON'  (string)
  block.is_volume = false  (bool)
  block.storage_device = '/org/freedesktop/Hal/devices/storage_model_D300'  (string)
  info.capabilities = {'block'} (string list)
  info.category = 'block'  (string)
  info.parent = '/org/freedesktop/Hal/devices/volume_part2_size_4095705600'  (string)
  info.product = 'Block Device'  (string)
  info.subsystem = 'block'  (string)
  info.udi = '/org/freedesktop/Hal/devices/volume_part2_size_4095705600_block'  (string)
...

Looks like hal is truncating the device name from "NIKON D300" to
just "NIKON" so the mount is failing.

	-jr



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091022212532.23a0b972>