NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/55699: Panic certainly in iSCSI initiator



That confirms that the module is being auto-loaded and -unloaded

So now we just have to identify where it is being used-after-unload.



On Wed, 7 Oct 2020, BERTRAND Joël wrote:

Paul Goyette a écrit :
The following reply was made to PR kern/55699; it has been noted by GNATS.

From: Paul Goyette <paul%whooppee.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost,
    joel.bertrand%systella.fr@localhost
Subject: Re: kern/55699: Panic certainly in iSCSI initiator
Date: Wed, 7 Oct 2020 07:04:38 -0700 (PDT)

 On Wed, 7 Oct 2020, Michael van Elst wrote:

 <snip>

> The rip is the same as the fault adress (cr2), which means some
> code should be executed that is no longer in memory. My guess is
> that the usbverbose module is unloaded while in use (which would
> be a bug). A workaround would then be to load that module manually.

 It might be helpful to set

  	sysctl -w kern.module.verbose=1

 to confirm this possibility.


I don't know if I can confirm this possibility.

I have removed usbverbose from kernel: modunload usbverbose.
No error. Just after, I have set kern.module.verbose=1

When I start bacula job (and stop to avoid panic...), I obtain on console :



[ 10736.911324] DEBUG: module: Loading plist from
/stand/amd64/9.0/modules/usbverbose/usbverbose.plist
[ 10736.911324] DEBUG: module: plist load returned error 2 for
`/stand/amd64/9.0/modules/usbverbose/usbverbose.kmod'
[ 10736.921726] DEBUG: module: module `usbverbose' loaded successfully
[ 10746.925138] DEBUG: module: unload requested for 'usbverbose' (FALSE)
[ 10746.925138] DEBUG: module: unloaded module `usbverbose'
[ 10746.965153] DEBUG: module: Loading module from
/stand/amd64/9.0/modules/usbverbose/usbverbose.kmod
[ 10746.965153] DEBUG: module: Loading plist from
/stand/amd64/9.0/modules/usbverbose/usbverbose.plist
[ 10746.965153] DEBUG: module: plist load returned error 2 for
`/stand/amd64/9.0/modules/usbverbose/usbverbose.kmod'
[ 10746.975404] DEBUG: module: module `usbverbose' loaded successfully
[ 10753.947813] DEBUG: module: unload requested for 'usbverbose' (TRUE)
[ 10753.947813] DEBUG: module: unloaded module `usbverbose'
[ 10756.998976] DEBUG: module: Loading module from
/stand/amd64/9.0/modules/usbverbose/usbverbose.kmod
[ 10756.998976] DEBUG: module: Loading plist from
/stand/amd64/9.0/modules/usbverbose/usbverbose.plist
[ 10756.998976] DEBUG: module: plist load returned error 2 for
`/stand/amd64/9.0/modules/usbverbose/usbverbose.kmod'
[ 10757.019631] DEBUG: module: module `usbverbose' loaded successfully
[ 10767.012792] DEBUG: module: unload requested for 'usbverbose' (FALSE)
[ 10767.012792] DEBUG: module: unloaded module `usbverbose'
[ 10767.042803] DEBUG: module: Loading module from
/stand/amd64/9.0/modules/usbverbose/usbverbose.kmod
[ 10767.042803] DEBUG: module: Loading plist from
/stand/amd64/9.0/modules/usbverbose/usbverbose.plist
[ 10767.042803] DEBUG: module: plist load returned error 2 for
`/stand/amd64/9.0/modules/usbverbose/usbverbose.kmod'
[ 10767.052828] DEBUG: module: module `usbverbose' loaded successfully
[ 10777.056620] DEBUG: module: unload requested for 'usbverbose' (FALSE)
[ 10777.056620] DEBUG: module: unloaded module `usbverbose'
[ 10777.076627] DEBUG: module: Loading module from
/stand/amd64/9.0/modules/usbverbose/usbverbose.kmod
[ 10777.076627] DEBUG: module: Loading plist from
/stand/amd64/9.0/modules/usbverbose/usbverbose.plist
[ 10777.076627] DEBUG: module: plist load returned error 2 for
`/stand/amd64/9.0/modules/usbverbose/usbverbose.kmod'
[ 10777.096792] DEBUG: module: module `usbverbose' loaded successfully
[ 10787.090445] DEBUG: module: unload requested for 'usbverbose' (FALSE)
[ 10787.090445] DEBUG: module: unloaded module `usbverbose'
[ 10787.120456] DEBUG: module: Loading module from
/stand/amd64/9.0/modules/usbverbose/usbverbose.kmod

	Regards,

	JKB

!DSPAM:5f7dd61c75301160512031!



+--------------------+--------------------------+-----------------------+
| Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:     |
| (Retired)          | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost     |
| Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost   |
+--------------------+--------------------------+-----------------------+


Home | Main Index | Thread Index | Old Index