public inbox for discuss@lists.illumos.org (since 2011-08)
 help / color / mirror / Atom feed
* [discuss] Loader howto blacklist driver ?
@ 2024-10-23 15:48 Udo Grabowski (IMK)
  2024-10-23 15:54 ` Toomas Soome via illumos-discuss
  0 siblings, 1 reply; 5+ messages in thread
From: Udo Grabowski (IMK) @ 2024-10-23 15:48 UTC (permalink / raw)
  To: illumos-discuss


[-- Attachment #1.1: Type: text/plain, Size: 734 bytes --]

Hi,
trying to boot from a recent Openindiana-Iso, but cannot, because
the relevant driver_aliases entry (hermon "pciex15b3,36") is missing.
I know I can boot without the hermon driver (I have one X6275 with
a defect mellanox device), so looking for a way to blacklist the
driver. In Grub, this is done by adding -B disable-hermon, but
there seems no option to add that to the loader boot parameters
on the fly while booting from an ISO. Is this possible somehow ?
-- 
Dr.Udo Grabowski  Inst.of Meteorology & Climate Research IMK-ASF-SAT
https://www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology          https://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026


[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 6041 bytes --]

[-- Attachment #2: Type: text/plain, Size: 248 bytes --]


------------------------------------------
illumos: illumos-discuss
Permalink: https://illumos.topicbox.com/groups/discuss/T811b1fa9995d2926-M10e8c64892342234c3925e49
Delivery options: https://illumos.topicbox.com/groups/discuss/subscription

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [discuss] Loader howto blacklist driver ?
  2024-10-23 15:48 [discuss] Loader howto blacklist driver ? Udo Grabowski (IMK)
@ 2024-10-23 15:54 ` Toomas Soome via illumos-discuss
  2024-10-23 16:12   ` Udo Grabowski (IMK)
  0 siblings, 1 reply; 5+ messages in thread
From: Toomas Soome via illumos-discuss @ 2024-10-23 15:54 UTC (permalink / raw)
  To: illumos-discuss



> On 23. Oct 2024, at 18:48, Udo Grabowski (IMK) <udo.grabowski@kit.edu> wrote:
> 
> Hi,
> trying to boot from a recent Openindiana-Iso, but cannot, because
> the relevant driver_aliases entry (hermon "pciex15b3,36") is missing.
> I know I can boot without the hermon driver (I have one X6275 with
> a defect mellanox device), so looking for a way to blacklist the
> driver. In Grub, this is done by adding -B disable-hermon, but
> there seems no option to add that to the loader boot parameters
> on the fly while booting from an ISO. Is this possible somehow ?
> -- 
> Dr.Udo Grabowski  Inst.of Meteorology & Climate Research IMK-ASF-SAT
> https://www.imk-asf.kit.edu/english/sat.php
> KIT - Karlsruhe Institute of Technology          https://www.kit.edu
> Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026
> 


It is -B disable-drivername=true

rgds,
Toomas
------------------------------------------
illumos: illumos-discuss
Permalink: https://illumos.topicbox.com/groups/discuss/T811b1fa9995d2926-Mce82936d01025052ddab1818
Delivery options: https://illumos.topicbox.com/groups/discuss/subscription

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [discuss] Loader howto blacklist driver ?
  2024-10-23 15:54 ` Toomas Soome via illumos-discuss
@ 2024-10-23 16:12   ` Udo Grabowski (IMK)
  2024-10-23 16:29     ` Toomas Soome via illumos-discuss
  0 siblings, 1 reply; 5+ messages in thread
From: Udo Grabowski (IMK) @ 2024-10-23 16:12 UTC (permalink / raw)
  To: discuss


[-- Attachment #1.1: Type: text/plain, Size: 1575 bytes --]

But where can I enter this in the loader boot process ?

On 23-10-2024 17:54, Toomas Soome via illumos-discuss wrote:
> 
> 
>> On 23. Oct 2024, at 18:48, Udo Grabowski (IMK) <udo.grabowski@kit.edu> wrote:
>>
>> Hi,
>> trying to boot from a recent Openindiana-Iso, but cannot, because
>> the relevant driver_aliases entry (hermon "pciex15b3,36") is missing.
>> I know I can boot without the hermon driver (I have one X6275 with
>> a defect mellanox device), so looking for a way to blacklist the
>> driver. In Grub, this is done by adding -B disable-hermon, but
>> there seems no option to add that to the loader boot parameters
>> on the fly while booting from an ISO. Is this possible somehow ?
>> -- 
>> Dr.Udo Grabowski  Inst.of Meteorology & Climate Research IMK-ASF-SAT
>> https://www.imk-asf.kit.edu/english/sat.php
>> KIT - Karlsruhe Institute of Technology          https://www.kit.edu
>> Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026
>>
> 
> 
> It is -B disable-drivername=true
> 
> rgds,
> Toomas
> ------------------------------------------
> illumos: illumos-discuss
> Permalink: https://illumos.topicbox.com/groups/discuss/T811b1fa9995d2926-Mce82936d01025052ddab1818
> Delivery options: https://illumos.topicbox.com/groups/discuss/subscription

-- 
Dr.Udo Grabowski  Inst.of Meteorology & Climate Research IMK-ASF-SAT
https://www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology          https://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026


[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 6041 bytes --]

[-- Attachment #2: Type: text/plain, Size: 248 bytes --]


------------------------------------------
illumos: illumos-discuss
Permalink: https://illumos.topicbox.com/groups/discuss/T811b1fa9995d2926-M555e61dc33d4e8cefe4c427e
Delivery options: https://illumos.topicbox.com/groups/discuss/subscription

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [discuss] Loader howto blacklist driver ?
  2024-10-23 16:12   ` Udo Grabowski (IMK)
@ 2024-10-23 16:29     ` Toomas Soome via illumos-discuss
  2024-10-24  9:20       ` Udo Grabowski (IMK)
  0 siblings, 1 reply; 5+ messages in thread
From: Toomas Soome via illumos-discuss @ 2024-10-23 16:29 UTC (permalink / raw)
  To: illumos-discuss

ok boot -B disable-….

or for permanent setup, you can just do like:

echo 'disable-hermon=“true”’  > /boot/conf.d/hermon

rgds,
toomas

> On 23. Oct 2024, at 19:12, Udo Grabowski (IMK) <udo.grabowski@kit.edu> wrote:
> 
> But where can I enter this in the loader boot process ?
> 
> On 23-10-2024 17:54, Toomas Soome via illumos-discuss wrote:
>>> On 23. Oct 2024, at 18:48, Udo Grabowski (IMK) <udo.grabowski@kit.edu> wrote:
>>> 
>>> Hi,
>>> trying to boot from a recent Openindiana-Iso, but cannot, because
>>> the relevant driver_aliases entry (hermon "pciex15b3,36") is missing.
>>> I know I can boot without the hermon driver (I have one X6275 with
>>> a defect mellanox device), so looking for a way to blacklist the
>>> driver. In Grub, this is done by adding -B disable-hermon, but
>>> there seems no option to add that to the loader boot parameters
>>> on the fly while booting from an ISO. Is this possible somehow ?
>>> -- 
>>> Dr.Udo Grabowski  Inst.of Meteorology & Climate Research IMK-ASF-SAT
>>> https://www.imk-asf.kit.edu/english/sat.php
>>> KIT - Karlsruhe Institute of Technology          https://www.kit.edu
>>> Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026
>>> 
>> It is -B disable-drivername=true
>> rgds,
>> Toomas
> 
> --
> Dr.Udo Grabowski  Inst.of Meteorology & Climate Research IMK-ASF-SAT
> https://www.imk-asf.kit.edu/english/sat.php
> KIT - Karlsruhe Institute of Technology          https://www.kit.edu
> Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026
> 

------------------------------------------
illumos: illumos-discuss
Permalink: https://illumos.topicbox.com/groups/discuss/T811b1fa9995d2926-Mc6ee8a9c3fae96d1d4805a76
Delivery options: https://illumos.topicbox.com/groups/discuss/subscription

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [discuss] Loader howto blacklist driver ?
  2024-10-23 16:29     ` Toomas Soome via illumos-discuss
@ 2024-10-24  9:20       ` Udo Grabowski (IMK)
  0 siblings, 0 replies; 5+ messages in thread
From: Udo Grabowski (IMK) @ 2024-10-24  9:20 UTC (permalink / raw)
  To: discuss


[-- Attachment #1.1: Type: text/plain, Size: 2401 bytes --]



On 23-10-2024 18:29, Toomas Soome via illumos-discuss wrote:
> ok boot -B disable-….
> 
> or for permanent setup, you can just do like:
> 
> echo 'disable-hermon=“true”’  > /boot/conf.d/hermon
> 

Thanks, that works ! Found out that it also doesn't hang on nearly
every command when just booting to single user mode (nwamd would
not shut down because it seemingly hangs on IB connection detection).

> 
>> On 23. Oct 2024, at 19:12, Udo Grabowski (IMK) <udo.grabowski@kit.edu> wrote:
>>
>> But where can I enter this in the loader boot process ?
>>
>> On 23-10-2024 17:54, Toomas Soome via illumos-discuss wrote:
>>>> On 23. Oct 2024, at 18:48, Udo Grabowski (IMK) <udo.grabowski@kit.edu> wrote:
>>>>
>>>> Hi,
>>>> trying to boot from a recent Openindiana-Iso, but cannot, because
>>>> the relevant driver_aliases entry (hermon "pciex15b3,36") is missing.
>>>> I know I can boot without the hermon driver (I have one X6275 with
>>>> a defect mellanox device), so looking for a way to blacklist the
>>>> driver. In Grub, this is done by adding -B disable-hermon, but
>>>> there seems no option to add that to the loader boot parameters
>>>> on the fly while booting from an ISO. Is this possible somehow ?
>>>> -- 
>>>> Dr.Udo Grabowski  Inst.of Meteorology & Climate Research IMK-ASF-SAT
>>>> https://www.imk-asf.kit.edu/english/sat.php
>>>> KIT - Karlsruhe Institute of Technology          https://www.kit.edu
>>>> Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026
>>>>
>>> It is -B disable-drivername=true
>>> rgds,
>>> Toomas
>>
>> --
>> Dr.Udo Grabowski  Inst.of Meteorology & Climate Research IMK-ASF-SAT
>> https://www.imk-asf.kit.edu/english/sat.php
>> KIT - Karlsruhe Institute of Technology          https://www.kit.edu
>> Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026
>>
> 
> ------------------------------------------
> illumos: illumos-discuss
> Permalink: https://illumos.topicbox.com/groups/discuss/T811b1fa9995d2926-Mc6ee8a9c3fae96d1d4805a76
> Delivery options: https://illumos.topicbox.com/groups/discuss/subscription

-- 
Dr.Udo Grabowski  Inst.of Meteorology & Climate Research IMK-ASF-SAT
https://www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology          https://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026


[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 6041 bytes --]

[-- Attachment #2: Type: text/plain, Size: 248 bytes --]


------------------------------------------
illumos: illumos-discuss
Permalink: https://illumos.topicbox.com/groups/discuss/T811b1fa9995d2926-Me160a6cb6350aae800214e1f
Delivery options: https://illumos.topicbox.com/groups/discuss/subscription

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-10-24  9:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-23 15:48 [discuss] Loader howto blacklist driver ? Udo Grabowski (IMK)
2024-10-23 15:54 ` Toomas Soome via illumos-discuss
2024-10-23 16:12   ` Udo Grabowski (IMK)
2024-10-23 16:29     ` Toomas Soome via illumos-discuss
2024-10-24  9:20       ` Udo Grabowski (IMK)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).