[pve-devel] Blacklisting HP hardware watchdog timer module ?

Riccardo Gallazzi paulvsgodzilla at gmail.com
Thu Dec 3 11:39:15 CET 2015


Hi all, I had a kernel panic issue as described with iLO v3 but not with
v2, however I've disabled hpwdt on all my servers (inside Proxmox). More
details, if needed, later as I don't have a VPN atm.
Thank you for the workaround, I wouldn't been able to test HA without it.

Ciao!

-Riccardo

2015-12-03 11:33 GMT+01:00 Alexandre DERUMIER <aderumier at odiso.com>:

> I'll test this afternoon.
>
> Also, maybe you could add a fallback to softdog, if the modprobe of
> defined watchdog module is not working ? (wrong module for example)
>
>
>      if (stat(WATCHDOG_DEV, &fs) == -1) {
> -        system("modprobe -q softdog"); // load softdog by default
> +        char *wd_module = getenv("WATCHDOG_MODULE");
> +        if (wd_module) {
> +            char *cmd = NULL;
> +            if ((asprintf(&cmd, "modprobe -q %s", wd_module) == -1)) {
> +                perror("assemble modprobe command failed");
> +                exit(EXIT_FAILURE);
> +            }
> +            system(cmd);
> ++           if (stat(WATCHDOG_DEV, &fs) == -1) {
> ++                system("modprobe -q softdog"); // fallback
> ++            }
> +        } else {
> +            system("modprobe -q softdog"); // load softdog by default
> +        }
>      }
>
>
>
>
> ----- Mail original -----
> De: "dietmar" <dietmar at proxmox.com>
> À: "aderumier" <aderumier at odiso.com>
> Cc: "pve-devel" <pve-devel at pve.proxmox.com>
> Envoyé: Jeudi 3 Décembre 2015 11:16:48
> Objet: Re: [pve-devel] Blacklisting HP hardware watchdog timer module ?
>
> > On December 3, 2015 at 10:25 AM Alexandre DERUMIER <aderumier at odiso.com>
> > wrote:
> >
> >
> > >>which do the modprobe to load the module?
> >
> > yes, it should work. (modprobe module is working for me)
>
> Please can you test?
>
>
> https://git.proxmox.com/?p=pve-ha-manager.git;a=commitdiff;h=6263c81dfe8bf78c1f47ab8a1e33aa896202dba0
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20151203/c890a71c/attachment.htm>


More information about the pve-devel mailing list