Siduction Forum

BUGS => Archiv Bugs => 2013.2 => Topic started by: gmueller on 2014/06/12, 09:04:26

Title: libhd version 21 disk order problem (hwinfo)
Post by: gmueller on 2014/06/12, 09:04:26
I installed the first time siduction/lxqt and detected that the system ignores the disk order (bios). After checking some other distributions I detected a possible issue in the libhd library. OpenSuse and Sabayon are using libhd version 20.x, They have the right disk order in the hwinfo. Siduction and Manjaro using libhd version 21.x and there is not the same disk order like in the bios.
Title: Re: libhd version 21 disk order problem (hwinfo)
Post by: devil on 2014/06/12, 12:32:22
As it seems, debian went from 16 straight to 21. The changelog (http://metadata.ftp-master.debian.org/changelogs//main/h/hwinfo/hwinfo_21.3-1_changelog) does not reveal anything, there is no bugreports.


greetz
devil
Title: Re: libhd version 21 disk order problem (hwinfo)
Post by: gmueller on 2014/06/12, 14:14:53
thanks for the answer. It is not really a show stopper because grub starts all systems perfectly. It was a small irritation for the first moment only.
Title: Re: libhd version 21 disk order problem (hwinfo)
Post by: melmarker on 2014/06/13, 23:43:52
there is and never was such thing like "bios disk order". the only thing about is to have a minor chance to catch the right disk with the right mbr to start from - that can work, but is not a must.
Title: Re: libhd version 21 disk order problem (hwinfo)
Post by: gmueller on 2014/06/14, 09:26:05
I think I must confirm your answer. So I was looking for another reason. I checked the system with lsscsi and found the differences in the bus_id. I dont't know which function (of the kernel?) is generating this. Here my results as an additional information:



Manjaro:
[0:0:0:0]    disk    ATA      WDC WD30EFRX-68E 80.0  /dev/sda
[2:0:0:0]    disk    ATA      ST2000DM001-1CH1 CC24  /dev/sdb
[3:0:0:0]    cd/dvd  TSSTcorp CDDVDW SH-224BB  SB00  /dev/sr0
[5:0:0:0]    disk    ATA      WDC WD30EZRX-00A 80.0  /dev/sdc


Sabayon:
[0:0:0:0]    disk    ATA      ST2000DM001-1CH1 CC24  /dev/sda
[1:0:0:0]    cd/dvd  TSSTcorp CDDVDW SH-224BB  SB00  /dev/sr0
[3:0:0:0]    disk    ATA      WDC WD30EZRX-00A 80.0  /dev/sdb
[4:0:0:0]    disk    ATA      WDC WD30EFRX-68E 80.0  /dev/sdc


Siduction:
[0:0:0:0]    disk    ATA      WDC WD30EFRX-68E 80.0  /dev/sda
[2:0:0:0]    disk    ATA      ST2000DM001-1CH1 CC24  /dev/sdb
[3:0:0:0]    cd/dvd  TSSTcorp CDDVDW SH-224BB  SB00  /dev/sr0
[5:0:0:0]    disk    ATA      WDC WD30EZRX-00A 80.0  /dev/sdc


OpenSUSE:
[0:0:0:0]    disk    ATA      ST2000DM001-1CH1 CC24  /dev/sda
[1:0:0:0]    cd/dvd  TSSTcorp CDDVDW SH-224BB  SB00  /dev/sr0
[3:0:0:0]    disk    ATA      WDC WD30EZRX-00A 80.0  /dev/sdb
[4:0:0:0]    disk    ATA      WDC WD30EFRX-68E 80.0  /dev/sdc

Title: Re: libhd version 21 disk order problem (hwinfo)
Post by: dibl on 2014/06/14, 13:11:37
You might even find that the device enumeration is different on a different boot of the same OS.  It depends on the timing when each drive is discovered during boot (or when plugged in).  The only stable identification methods are UUIDs and Labels.