Platform: Linux testserver 2.6.16.21-0.8-smp i586

Andrey Borzenkov arvidjaar at mail.ru
Wed Jan 17 18:49:36 PST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 17 January 2007 23:41, Thayne Harmon wrote:
> Platform: Linux testserver 2.6.16.21-0.8-smp i586
>
> HAL does not show devices created by the BLOCK subsystem, that is
> register_blkdev, alloc_disk, add_disk. In sysfs these show up under
> /sys/block/ with no association to a Host Bus Adapter.
>
> No devices show up for this adapter, yet there are two connected.
>
> udi = '/org/freedesktop/Hal/devices/pci_e11_b178'
>   info.bus = 'pci'  (string)
>   info.linux.driver = 'cciss'  (string)
>   info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
>   info.product = 'Smart Array 5i/532'  (string)
>   info.udi = '/org/freedesktop/Hal/devices/pci_e11_b178'  (string)
>   info.vendor = 'Compaq Computer Corporation'  (string)
>   linux.hotplug_type = 1  (0x1)  (int)
>   linux.subsystem = 'pci'  (string)
>   linux.sysfs_path = '/sys/devices/pci0000:01/0000:01:01.0'  (string)
>   linux.sysfs_path_device = '/sys/devices/pci0000:01/0000:01:01.0' 
> (string) pci.device_class = 1  (0x1)  (int)
>   pci.device_protocol = 0  (0x0)  (int)
>   pci.device_subclass = 4  (0x4)  (int)
>   pci.linux.sysfs_path = '/sys/devices/pci0000:01/0000:01:01.0'  (string)
>   pci.product = 'Smart Array 5i/532'  (string)
>   pci.product_id = 45432  (0xb178)  (int)
>   pci.subsys_product = 'Smart Array 5i'  (string)
>   pci.subsys_product_id = 16512  (0x4080)  (int)
>   pci.subsys_vendor = 'Compaq Computer Corporation'  (string)
>   pci.subsys_vendor_id = 3601  (0xe11)  (int)
>   pci.vendor = 'Compaq Computer Corporation'  (string)
>   pci.vendor_id = 3601  (0xe11)  (int)
>
> /sys
>
> |-- block
> |
> |   |-- cciss!c0d0
> |   |
> |   |   |-- cciss!c0d0p1
> |   |   |
> |   |   |   |-- dev
> |   |   |   |-- size
> |   |   |   |-- start
> |   |   |   |-- stat
> |   |   |
> |   |   |   `-- uevent
> |   |   |-- dev
> |   |   |-- queue
> |   |
> |   |-- cciss!c0d1
> |   |
> |   |   |-- cciss!c0d1p1
>
> Is this something that can be fixed? Where would I enter a bug against
> this?
>

Do you have "Ignoring hotplug event - no parent" somewhere in logs? Those 
block devices do not seem to have device link so they cannot be associated 
with adapter. In which case it becomes kernel problem.

- -andrey

> Thayne Harmon
>
> _______________________________________________
> hal mailing list
> hal at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/hal
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFruBER6LMutpd94wRAuieAJ9UOP+9ZOwGtCSgXrQVJs8xTQcnNgCeJXtT
LLtZ7FLDGYlF0qpNTzsr2y0=
=R2aM
-----END PGP SIGNATURE-----


More information about the hal mailing list