From owner-aic7xxx Fri Feb 26 0: 8:17 1999 Delivered-To: aic7xxx@freebsd.org Received: from lacrosse.redhat.com (lacrosse.redhat.com [207.175.42.154]) by hub.freebsd.org (Postfix) with ESMTP id 2EFFE14CCC for ; Fri, 26 Feb 1999 00:08:11 -0800 (PST) (envelope-from dledford@redhat.com) Received: from redhat.com ([10.0.0.25]) by lacrosse.redhat.com (8.8.7/8.8.7) with ESMTP id DAA23247; Fri, 26 Feb 1999 03:07:49 -0500 Message-ID: <36D65652.9C63189F@redhat.com> Date: Fri, 26 Feb 1999 03:07:46 -0500 From: Doug Ledford Organization: Red Hat Software X-Mailer: Mozilla 4.5 [en] (X11; U; Linux 2.2.2 i686) X-Accept-Language: en MIME-Version: 1.0 To: =?iso-8859-1?Q?Bj=F8rn?= Terje Johansen Cc: "'AIC7xxx@FreeBSD.ORG'" Subject: Re: cdrecord 1.6.1 References: <353E26B8CACFD111BD780008C7243A00563806@PAT.softinn.no> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-aic7xxx@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Bjørn Terje Johansen wrote: > > Hi. > > I have a small problem. When working with the Linux kernerl 2.0.35 without > any patches, everything works alright. If I write: > "cdrecord -scanbus", I get the outout I should. But if I upgrade to 2.0.36 > and applies the aic7xxx-5.1.11 patch to the src, when I try cdrecord > -scanbus, I get an error messages telling me: > cdrecord: I/O error. Cannot send SCSI cmd via ioctl > > I guess I am missing some parameter or option somewhere, does anyone know > what I am missing? This is something to do with the sg driver. Are you sure the sg driver is compiled into the kernel in your 2.0.36 kernel, or do you have it loaded as a module? Also, this sounds like the common problem that happens if you don't have the bus_id patch that cdrecord comes with. Are you sure the 2.0.35 kernel you have didn't have either the bus_id ioctl patch or the sg_big_buff patch that the cdrecord author recommends? IF it had either one of those, then it is likely that the same cdrecod binary would fail on a 2.0.36 kernel upgrade if that did not also include those same patches. -- Doug Ledford Opinions expressed are my own, but they should be everybody's. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe aic7xxx" in the body of the message