NetBSD Problem Report #49616

From gson@gson.org  Sat Jan 31 15:23:44 2015
Return-Path: <gson@gson.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 2886FA567D
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 31 Jan 2015 15:23:44 +0000 (UTC)
Message-Id: <20150131152332.B81D574419F@guava.gson.org>
Date: Sat, 31 Jan 2015 17:23:32 +0200 (EET)
From: gson@gson.org (Andreas Gustafsson)
Reply-To: gson@gson.org (Andreas Gustafsson)
To: gnats-bugs@gnats.NetBSD.org
Subject: iscsictl(8) example is outdated
X-Send-Pr-Version: 3.95

>Number:         49616
>Category:       bin
>Synopsis:       iscsictl(8) example is outdated
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    jnemeth
>State:          closed
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 31 15:25:00 +0000 2015
>Closed-Date:    Thu May 26 04:55:10 +0000 2022
>Last-Modified:  Thu May 26 04:55:10 +0000 2022
>Originator:     Andreas Gustafsson
>Release:        NetBSD 6.1.5
>Organization:

>Environment:
System: NetBSD guava.gson.org 6.1.5 NetBSD 6.1.5 (GENERIC) amd64
Architecture: x86_64
Machine: amd64
>Description:

The EXAMPLES section of the iscsictl(8) man page says:

     The initiator itself can be loaded as a kernel module, and works success-
     fully on 2.0 (the host called "burner"), running against the NetBSD tar-
     get on a 5.99 host.

     burner# modload -v -s -p /usr/lkm/iscsi_post.sh /usr/lkm/iscsidrv.o

(etc), but if I naively execute that command as-is on 6.1.5, I get

    modload: unknown option -- v
    Usage: modload [-fP] [-b var=boolean] [-i var=integer] [-s var=string] module
	   modload -p [-b var=boolean] [-d var] [-i var=integer] [-m plist]
		   [-s var=string]

Looks like the example needs some updating to apply to versions newer than 2.0.

>How-To-Repeat:

man iscsictl

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: bin-bug-people->jnemeth
Responsible-Changed-By: jnemeth@NetBSD.org
Responsible-Changed-When: Sun, 30 Aug 2015 10:50:39 +0000
Responsible-Changed-Why:
I fixed it.
Waiting a couple of days for wizd to run, then need to do a pullup.


From: "John Nemeth" <jnemeth@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/49616 CVS commit: src/sbin/iscsictl
Date: Sun, 30 Aug 2015 10:46:53 +0000

 Module Name:	src
 Committed By:	jnemeth
 Date:		Sun Aug 30 10:46:53 UTC 2015

 Modified Files:
 	src/sbin/iscsictl: iscsictl.8

 Log Message:
 PR/49616 - Andreas Gustafsson -- bring modload example into era of MODULAR


 To generate a diff of this commit:
 cvs rdiff -u -r1.7 -r1.8 src/sbin/iscsictl/iscsictl.8

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Andreas Gustafsson <gson@gson.org>
To: jnemeth@NetBSD.org
Cc: gnats-bugs@NetBSD.org
Subject: Re: bin/49616 (iscsictl(8) example is outdated)
Date: Sun, 30 Aug 2015 16:08:21 +0300

 jnemeth@NetBSD.org wrote:
 > I fixed it.

 Thank you!
 -- 
 Andreas Gustafsson, gson@gson.org

State-Changed-From-To: open->closed
State-Changed-By: gson@NetBSD.org
State-Changed-When: Sat, 23 Jan 2016 22:48:19 +0000
State-Changed-Why:
jnemeth fixed this some time ago.


State-Changed-From-To: closed->open
State-Changed-By: gson@NetBSD.org
State-Changed-When: Sat, 23 Jan 2016 22:52:33 +0000
State-Changed-Why:
Sorry, missed the part about pullups still being needed.


State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 26 May 2022 04:55:10 +0000
State-Changed-Why:
far too late for pullups


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.