Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic:  libhd version 21 disk order problem (hwinfo)  (Read 9063 times)

gmueller

  • Guest
libhd version 21 disk order problem (hwinfo)
« 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.

Online devil

  • Administrator
  • User
  • *****
  • Posts: 4.838
Re: libhd version 21 disk order problem (hwinfo)
« Reply #1 on: 2014/06/12, 12:32:22 »
As it seems, debian went from 16 straight to 21. The changelog does not reveal anything, there is no bugreports.


greetz
devil

gmueller

  • Guest
Re: libhd version 21 disk order problem (hwinfo)
« Reply #2 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.

Offline melmarker

  • User
  • Posts: 2.799
    • g-com.eu
Re: libhd version 21 disk order problem (hwinfo)
« Reply #3 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.
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)

gmueller

  • Guest
Re: libhd version 21 disk order problem (hwinfo)
« Reply #4 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


Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.345
    • Land of the Buckeye
Re: libhd version 21 disk order problem (hwinfo)
« Reply #5 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.
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO