Bug 5164 - 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 DUPLICATE of bug 5158
Alias: None
Product: hal
Classification: Unclassified
Component: hald (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high major
Assignee: David Zeuthen (not reading bugmail)
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-26 02:32 UTC by Andrei Lahun
Modified: 2005-11-25 07:34 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Andrei Lahun 2005-11-26 02:32:40 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

*** This bug has been marked as a duplicate of 5158 ***


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.