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



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: joel.bertrand%systella.fr@localhost
Subject: Re: kern/55699: Panic certainly in iSCSI initiator
Date: Wed, 9 Jun 2021 05:53:47 -0700 (PDT)

   This message is in MIME format.  The first part should be readable text,
   while the remaining parts are likely unreadable without MIME-aware tools.
 
 --0-702270949-1623243227=:3538
 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
 
 I'm currently working some code to prevent the usbverbose module
 from being unloaded while in use.  Unfortunately I don't have any
 system which exhibits the problem.
 
 Perhaps you could try the attached patch?  (I'm also waiting for
 some other folks to test the patch.)
 
 
 +--------------------+--------------------------+---------------------+
 | 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 |
 +--------------------+--------------------------+---------------------+
 --0-702270949-1623243227=:3538
 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=DEV_VERBOSE.diffs
 Content-Transfer-Encoding: BASE64
 Content-ID: <Pine.NEB.4.64.2106090553470.3538%speedy.whooppee.com@localhost>
 Content-Description: 
 Content-Disposition: attachment; filename=DEV_VERBOSE.diffs
 
 SW5kZXg6IGRldl92ZXJib3NlLmgNCj09PT09PT09PT09PT09PT09PT09PT09
 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0N
 ClJDUyBmaWxlOiAvY3Zzcm9vdC9zcmMvc3lzL2Rldi9kZXZfdmVyYm9zZS5o
 LHYNCnJldHJpZXZpbmcgcmV2aXNpb24gMS41DQpkaWZmIC11IC1wIC1yMS41
 IGRldl92ZXJib3NlLmgNCi0tLSBkZXZf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