Hal mounts only 1 out of 2 partitions.

George Billios gbillios at gmail.com
Tue Nov 9 05:41:34 PST 2004


Hello, I use hal 0.4.1 and there is a problem with my external hd driver.
It has two partitions, both vfat. When I plug it in, hotplug
recognises it, udev creates two new block devices /dev/sda1 and
/dev/sda2 but hal creates a mount point only for the second partition.
Here is the part from 'messages' log:

Nov  9 15:01:42 CPC464 kernel: ieee1394: Error parsing configrom for
node 0-00:1023
Nov  9 15:01:42 CPC464 kernel: ieee1394: Node changed: 0-00:1023 -> 0-01:1023
Nov  9 15:01:44 CPC464 su: (to root) gbil on /dev/pts/1
Nov  9 15:01:44 CPC464 su: pam_unix2: session started for user root, service su
Nov  9 15:01:48 CPC464 kernel: ieee1394: Node added: ID:BUS[0-00:1023]
 GUID[0001a35000021f1b]
Nov  9 15:01:48 CPC464 ieee1394.agent[5404]: ... no drivers for
IEEE1394 product 0x/0x/0x
Nov  9 15:01:48 CPC464 ieee1394.agent[5429]: ... no drivers for
IEEE1394 product 0x/0x/0x
Nov  9 15:01:48 CPC464 kernel: sbp2: $Rev: 1219 $ Ben Collins
<bcollins at debian.org>
Nov  9 15:01:48 CPC464 kernel: ieee1394: sbp2: Driver forced to
serialize I/O (serialize_io = 1)
Nov  9 15:01:48 CPC464 kernel: scsi0 : SCSI emulation for IEEE-1394
SBP-2 Devices
Nov  9 15:01:49 CPC464 kernel: ieee1394: sbp2: Logged into SBP-2 device
Nov  9 15:01:49 CPC464 kernel: ieee1394: Node 0-00:1023: Max speed
[S400] - Max payload [2048]
Nov  9 15:01:49 CPC464 kernel:   Vendor: IC35L120  Model: AVV207-0    
     Rev: 0.01
Nov  9 15:01:49 CPC464 kernel:   Type:   Direct-Access                
     ANSI SCSI revision: 02
Nov  9 15:01:49 CPC464 kernel: SCSI device sda: 241254720 512-byte
hdwr sectors (123522 MB)
Nov  9 15:01:49 CPC464 kernel: SCSI device sda: drive cache: write through
Nov  9 15:01:49 CPC464 scsi.agent[5498]: disk at
/devices/pci0000:00/0000:00:02.3/fw-host0/0001a35000021f1b/0001a35000021f1b-0/host0/0:0:0:0
Nov  9 15:01:49 CPC464 kernel:  sda: sda1 sda2
Nov  9 15:01:49 CPC464 kernel: Attached scsi disk sda at scsi0,
channel 0, id 0, lun 0
Nov  9 15:01:49 CPC464 kernel: Attached scsi generic sg0 at scsi0,
channel 0, id 0, lun 0,  type 0
Nov  9 15:01:49 CPC464 udev[5480]: configured rule in
'/etc/udev/udev.rules' at line 6 applied, added symlink '%c{1+}'
Nov  9 15:01:49 CPC464 udev[5480]: configured rule in
'/etc/udev/udev.rules' at line 6 applied, 'sda' becomes '%k'
Nov  9 15:01:49 CPC464 udev[5480]: creating device node '/dev/sda'
Nov  9 15:01:49 CPC464 udev[5538]: configured rule in
'/etc/udev/udev.rules' at line 6 applied, added symlink '%c{1+}'
Nov  9 15:01:49 CPC464 udev[5538]: configured rule in
'/etc/udev/udev.rules' at line 6 applied, 'sg0' becomes '%k'
Nov  9 15:01:49 CPC464 udev[5538]: creating device node '/dev/sg0'
Nov  9 15:01:49 CPC464 udev[5524]: configured rule in
'/etc/udev/udev.rules' at line 6 applied, added symlink '%c{1+}'
Nov  9 15:01:49 CPC464 udev[5524]: configured rule in
'/etc/udev/udev.rules' at line 6 applied, 'sda2' becomes '%k'
Nov  9 15:01:49 CPC464 udev[5524]: creating device node '/dev/sda2'
Nov  9 15:01:49 CPC464 udev[5564]: configured rule in
'/etc/udev/udev.rules' at line 6 applied, added symlink '%c{1+}'
Nov  9 15:01:49 CPC464 udev[5564]: configured rule in
'/etc/udev/udev.rules' at line 6 applied, 'sda1' becomes '%k'
Nov  9 15:01:49 CPC464 udev[5564]: creating device node '/dev/sda1'
Nov  9 15:01:49 CPC464 block.agent[5470]: new block device /block/sda/sda1
Nov  9 15:01:49 CPC464 udev[5575]: configured rule in
'/etc/udev/udev.rules' at line 6 applied, added symlink '%c{1+}'
Nov  9 15:01:49 CPC464 udev[5575]: configured rule in
'/etc/udev/udev.rules' at line 6 applied, 'sda2' becomes '%k'
Nov  9 15:01:49 CPC464 udev[5575]: creating device node '/dev/sda2'
Nov  9 15:01:49 CPC464 block.agent[5484]: new block device /block/sda/sda2
Nov  9 15:01:49 CPC464 udev[5507]: configured rule in
'/etc/udev/udev.rules' at line 6 applied, added symlink '%c{1+}'
Nov  9 15:01:49 CPC464 udev[5507]: configured rule in
'/etc/udev/udev.rules' at line 6 applied, 'sda' becomes '%k'
Nov  9 15:01:49 CPC464 udev[5507]: creating device node '/dev/sda'
Nov  9 15:01:49 CPC464 block.agent[5477]: new block device /block/sda
Nov  9 15:01:49 CPC464 udev[5481]: configured rule in
'/etc/udev/udev.rules' at line 6 applied, added symlink '%c{1+}'
Nov  9 15:01:49 CPC464 udev[5481]: configured rule in
'/etc/udev/udev.rules' at line 6 applied, 'sda1' becomes '%k'
Nov  9 15:01:49 CPC464 udev[5481]: creating device node '/dev/sda1'
Nov  9 15:01:50 CPC464 fstab-sync[5694]: added mount point
/media/__A____6__S for /dev/sda2


If I run hal-device-manager I see that the second partition is
recognised as having fstype vfat, fsusage filesystem and fsversion
FAT32 and the block device /dev/sda2, while for /dev/sda1 it says that
is has fstype msdos_partition_table (!!!), fsusage partitiontable and
blank fsversion.
Also the volume table has this funny name, while under windows the
second partition has as name "common" and the first one "backup".

Any ideas? 
Thanks
_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list