Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 May 1998 14:06:49 +0200 (CEST)
From:      arnej@math.ntnu.no
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   kern/6778: sctarg device doesn't work in -stable
Message-ID:  <199805281206.OAA21319@cauchy.math.ntnu.no>

next in thread | raw e-mail | index | archive | help

>Number:         6778
>Category:       kern
>Synopsis:       sctarg device doesn't work in -stable
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 28 05:10:01 PDT 1998
>Last-Modified:
>Originator:     Arne Henrik Juul
>Organization:
Norwegian University of Technology and Science
>Release:        FreeBSD 2.2.6-STABLE i386
>Environment:

	This is on the RELENG_2_2 branch as of yesterday or so.

>Description:

	I just added a scsi card on a machine where I'll be plugging
in various SCSI devices, so I wanted to compile a kernel for it with
all possible SCSI devices.  So I got the lines from LINT and plugged
them into my kernel config file, including "sctarg" (since I don't
really know what this device is supposed to do, that was a bit
pointless I suppose...)  Anyway, I got these errors:

../../scsi/sctarg.c: In function `sctargstart':
../../scsi/sctarg.c:191: structure has no member named `tqh_first'
../../scsi/sctarg.c:194: structure has no member named `tqh_last'
../../scsi/sctarg.c: In function `sctarg_strategy':
../../scsi/sctarg.c:254: structure has no member named `tqh_last'
../../scsi/sctarg.c:254: structure has no member named `tqh_last'
../../scsi/sctarg.c:254: structure has no member named `tqh_last'

>How-To-Repeat:

config your kernel with sctarg device as from LINT:
	device sctarg0 at scbus? # SCSI target
and try to make this kernel.

>Fix:
	
	From a look at "cvs log sctarg.c" it looks like this one
	is missing a "merge from current" regarding the queues:
revision 1.22
date: 1997/09/21 22:03:11;  author: gibbs;  state: Exp;  lines: +4 -4
Convert to use the new bufq* functions for dealing with buffer
queues.
	Or at least it should be commented out from LINT with a remark
	that it doesn't work.
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805281206.OAA21319>