Bug 5158 - External firewire disks does not work properly with hal 0.5.5
Summary: External firewire disks does not work properly with hal 0.5.5
Status: RESOLVED FIXED
Alias: None
Product: hal
Classification: Unclassified
Component: hald (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high major
Assignee: Danny Kukawka
QA Contact:
URL:
Whiteboard:
Keywords:
: 5164 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-11-25 19:54 UTC by Andrei Lahun
Modified: 2006-01-09 05:14 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Andrei Lahun 2005-11-25 19:54:05 UTC
Trying hal 0.5.5.1 (kernel 2.6.14 debian unstable)
with 2 different external firewire disks
i found out that partitions are not properly detected,
so they can not be mounted by g-v-m but manualy itis
possible. 
After checking source code i found a problem:
(in hald)linux2/block_dev.c around line 830 checked if this
device is disk and expected type is "0" , but my external
disk give me "14"(0xe)  (cat /sys/block/sda/device/type),
in kernel it correspond TYPE_RBC  and indeed it is used by sbp2 driver. 
So after adding my case everything
is detected by hal and partitions are mounted.
I think properl solution just add 14 as one more type for disks.
Comment 1 Andrei Lahun 2005-11-26 02:34:36 UTC
*** Bug 5164 has been marked as a duplicate of this bug. ***
Comment 2 Danny Kukawka 2005-11-29 10:15:23 UTC
I had take a look at this issue and after a look at the related kernel source I 
agree to the proposal to set in case of TYPE_RBC 'storage.drive_type' to 'disk'.
 I posted a patch for this. 
Comment 3 Danny Kukawka 2006-01-10 00:14:22 UTC
Fixed in CVS


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.