Re: Interrogating BIOS from CLI? - dmidecode doesn't have the info

2022-08-22 Thread Tim via users
Roger Heflin:
>> And the bios will have no way to know what is hot-swappable as that is
>> an external case feature/add-on enclosure.


Philip Rhoades:
> Not sure what you mean - I can set "Hot Swappable" in the BIOS.

For something to be hotswappable, everything has to support it (the
host port, the drive, any devices the drive is inside, and your
software).

While you may be able to set a flag saying a port is hot swappable,
it's more like you do the opposite:  When you set it as not hot
swappable, you're flagging it so other things don't attempt it.  And,
perhaps, you turn off a feature in the firmware.

It's a bit like hanging a "wet paint" sign.  It's an instruction that
may, or may not, have the effect you want.

-- 
 
uname -rsvp
Linux 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Interrogating BIOS from CLI? - dmidecode doesn't have the info

2022-08-22 Thread ToddAndMargo via users

On 8/21/22 23:23, Philip Rhoades via users wrote:



I think he is stuck with booting into BIOS



It does look like it . . a bit sad . .


Just out of curiosity, is there some reason why
you can't reboot?  User have hot tar and feathers
waiting for you?
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Interrogating BIOS from CLI? - dmidecode doesn't have the info

2022-08-22 Thread Roger Heflin
It generally is worse than that.

It should be almost trivial to code, if you have the internal document
for each bios version laying out the structure that is stored in the
nvram.  The other issue is even though it is trivial, the structure
could be different between bios versions in the same MB, and also
could be (probably will be) different across different motherboards
making support of a large number of MB's basically impossible.

I have never seen anyone release said document.   The underlying
document may even be under NDA to all of the MB makers from the bios
vendor making it not an ASUS decision alone.

Without the document it would be a difficult process, one would have
to save out the nvram and make a change in the bios and see how it the
bits changed.  So long as the bios maker is not doing anything tricky
it should not be that difficult to sort out, but would need to be done
in each and every motherboard + major bios revision.

On Mon, Aug 22, 2022 at 1:23 AM Philip Rhoades via users
 wrote:
>
> ToddAndMargo,
>
>
> On 2022-08-22 16:11, ToddAndMargo via users wrote:
> > On 8/21/22 21:29, Tim via users wrote:
> >> On Mon, 2022-08-22 at 00:00 +1000, Philip Rhoades via users wrote:
> >>> I have a fairly recent ASUS ROG motherboard that I want to
> >>> interrogate
> >>> from the CLI - specifically to see which SATA drives are
> >>> hot-swappable
> >>> but dmidecode does not supply that information - is there some way of
> >>> getting the info without rebooting into the BIOS setup screen?  I am
> >>> running F36.
> >>
> >> Tangential approach - download the manual for the board.
> >
> > That won't help.  They could be set either way.
>
>
> Correct.
>
>
> > I think he is stuck with booting into BIOS
>
>
> It does look like it . . a bit sad . . would people on the grub list be
> able to tell me how hard it would be to code? - anyone else worth
> asking?  I am guessing that ASUS would not have a Linux tool . .
>
> Thanks,
>
> Phil.
> --
> Philip Rhoades
>
> PO Box 896
> Cowra  NSW  2794
> Australia
> E-mail:  p...@pricom.com.au
> ___
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
> Do not reply to spam, report it: 
> https://pagure.io/fedora-infrastructure/new_issue
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Interrogating BIOS from CLI? - dmidecode doesn't have the info

2022-08-22 Thread Philip Rhoades via users

ToddAndMargo,


On 2022-08-22 16:11, ToddAndMargo via users wrote:

On 8/21/22 21:29, Tim via users wrote:

On Mon, 2022-08-22 at 00:00 +1000, Philip Rhoades via users wrote:
I have a fairly recent ASUS ROG motherboard that I want to 
interrogate
from the CLI - specifically to see which SATA drives are 
hot-swappable

but dmidecode does not supply that information - is there some way of
getting the info without rebooting into the BIOS setup screen?  I am
running F36.


Tangential approach - download the manual for the board.


That won't help.  They could be set either way.



Correct.



I think he is stuck with booting into BIOS



It does look like it . . a bit sad . . would people on the grub list be 
able to tell me how hard it would be to code? - anyone else worth 
asking?  I am guessing that ASUS would not have a Linux tool . .


Thanks,

Phil.
--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Interrogating BIOS from CLI? - dmidecode doesn't have the info

2022-08-22 Thread Philip Rhoades via users

Roger,


On 2022-08-22 06:40, Roger Heflin wrote:
Generally there is no standard for how anything is encoded/decoded in 
the bios.



Ah . .



Each vendor does it a slightly different way even on different bios
versions.  You would need a vendor tool that works for the specific
motherboard.



Right.



And the bios will have no way to know what is hot-swappable as that is
an external case feature/add-on enclosure.



Not sure what you mean - I can set "Hot Swappable" in the BIOS.



If you are asking which sata ports are hot swappable, my experience
has been, pretty much all of them can be hot swapped with the right
external enclosure.



Again - I have to set each drive for that function - I have never tried 
swapping when I hadn't set that function . . I do have have the 
removable enclosures for the drives I want to be able to insert / 
remove.


Thanks,

Phil.



On Sun, Aug 21, 2022 at 9:01 AM Philip Rhoades via users
 wrote:


People,

I have a fairly recent ASUS ROG motherboard that I want to interrogate
from the CLI - specifically to see which SATA drives are hot-swappable
but dmidecode does not supply that information - is there some way of
getting the info without rebooting into the BIOS setup screen?  I am
running F36.

Thanks,
Phil.
--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: 
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Interrogating BIOS from CLI? - dmidecode doesn't have the info

2022-08-22 Thread ToddAndMargo via users

On 8/21/22 21:29, Tim via users wrote:

On Mon, 2022-08-22 at 00:00 +1000, Philip Rhoades via users wrote:

I have a fairly recent ASUS ROG motherboard that I want to interrogate
from the CLI - specifically to see which SATA drives are hot-swappable
but dmidecode does not supply that information - is there some way of
getting the info without rebooting into the BIOS setup screen?  I am
running F36.


Tangential approach - download the manual for the board.
  



That won't help.  They could be set either way.
I think he is stuck with booting into BIOS
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Interrogating BIOS from CLI? - dmidecode doesn't have the info

2022-08-21 Thread Tim via users
On Mon, 2022-08-22 at 00:00 +1000, Philip Rhoades via users wrote:
> I have a fairly recent ASUS ROG motherboard that I want to interrogate 
> from the CLI - specifically to see which SATA drives are hot-swappable 
> but dmidecode does not supply that information - is there some way of 
> getting the info without rebooting into the BIOS setup screen?  I am 
> running F36.

Tangential approach - download the manual for the board.
 
-- 
 
uname -rsvp
Linux 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Interrogating BIOS from CLI? - dmidecode doesn't have the info

2022-08-21 Thread Roger Heflin
Generally there is no standard for how anything is encoded/decoded in the bios.

Each vendor does it a slightly different way even on different bios
versions.  You would need a vendor tool that works for the specific
motherboard.

And the bios will have no way to know what is hot-swappable as that is
an external case feature/add-on enclosure.

If you are asking which sata ports are hot swappable, my experience
has been, pretty much all of them can be hot swapped with the right
external enclosure.

On Sun, Aug 21, 2022 at 9:01 AM Philip Rhoades via users
 wrote:
>
> People,
>
> I have a fairly recent ASUS ROG motherboard that I want to interrogate
> from the CLI - specifically to see which SATA drives are hot-swappable
> but dmidecode does not supply that information - is there some way of
> getting the info without rebooting into the BIOS setup screen?  I am
> running F36.
>
> Thanks,
> Phil.
> --
> Philip Rhoades
>
> PO Box 896
> Cowra  NSW  2794
> Australia
> E-mail:  p...@pricom.com.au
> ___
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
> Do not reply to spam, report it: 
> https://pagure.io/fedora-infrastructure/new_issue
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Interrogating BIOS from CLI? - dmidecode doesn't have the info

2022-08-21 Thread Philip Rhoades via users

People,

I have a fairly recent ASUS ROG motherboard that I want to interrogate 
from the CLI - specifically to see which SATA drives are hot-swappable 
but dmidecode does not supply that information - is there some way of 
getting the info without rebooting into the BIOS setup screen?  I am 
running F36.


Thanks,
Phil.
--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue