From owner-freebsd-scsi@FreeBSD.ORG Tue May 24 19:11:39 2005 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22AFA16A41C for ; Tue, 24 May 2005 19:11:39 +0000 (GMT) (envelope-from dts@mnsi.net) Received: from e450.mnsi.net (e450.mnsi.net [216.8.137.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id D423843D1D for ; Tue, 24 May 2005 19:11:38 +0000 (GMT) (envelope-from dts@mnsi.net) Received: from dts (darryl.ADSL.mnsi.net [216.8.139.47]) by e450.mnsi.net (8.13.2/8.13.2) with SMTP id j4OJBWGQ025284 for ; Tue, 24 May 2005 15:11:37 -0400 (EDT) Message-ID: <00b601c56094$91501ca0$0100000a@dts> From: "Darryl" To: Date: Tue, 24 May 2005 15:12:42 -0400 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: (no subject) X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 May 2005 19:11:39 -0000 1234567890123456789012345678901234567890123456789012345678901234567890123= 4567890 Hey all, I'm looking for some information on a problem i'm not sure = where to take from here. Basically i've got a 50 pin scsi 2 cdwriter = that when accessed causes sg kernel errors. Otherwise the system works = just fine and can even write cds ( although sometimes it hangs ) Here's = some basic info in dmesg: ahc0: port 0xb800-0xb8ff mem = 0xd6800000-0xd6800fff irq 7 at device 9.0 on pci0 cd0 at ahc0 bus 0 target 6 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 3.300MB/s transfers cd0: cd present [1 x 2048 byte records] camcontrol devlist at scbus0 target 0 lun 0 (pass0,da0) at scbus0 target 1 lun 0 (pass1,da1) at scbus0 target 2 lun 0 (pass2,da2) at scbus0 target 6 lun 0 (pass3,cd0) cdrecord -scanbus Cdrecord-Clone 2.01 (i386-unknown-freebsd4.11) Copyright (C) 1995-2004 = J=F6rg Schilling Using libscg version 'schily-0.8'. scsibus0: 0,0,0 0) 'COMPAQPC' 'FIREBALL1080S ' '1Q09' Disk 0,1,0 1) 'QUANTUM ' 'LIGHTNING 540S ' '241E' Disk 0,2,0 2) 'IBM ' 'DCAS-34330 !#' 'S69D' Disk 0,3,0 3) * 0,4,0 4) * 0,5,0 5) * 0,6,0 6) 'RICOH ' 'MP6200S ' '2.40' Removable = CD-ROM 0,7,0 7) * And here is the error itself that has stumped me, a simple " cdrecord - = eject " can generate it. It happens as soon as the command is issued May 24 14:02:21 darryl /kernel: (pass3:ahc0:0:6:0): data overrun = detected in Data-in phase. Tag =3D=3D 0xf. May 24 14:02:21 darryl /kernel: (pass3:ahc0:0:6:0): Have seen Data = Phase. Length =3D 64512. NumSGs =3D 14. May 24 14:02:21 darryl /kernel: sg[0] - Addr 0x04ecb000 : Length 8192 May 24 14:02:21 darryl /kernel: sg[1] - Addr 0x04fcd000 : Length 4096 May 24 14:02:21 darryl /kernel: sg[2] - Addr 0x0494e000 : Length 4096 May 24 14:02:21 darryl /kernel: sg[3] - Addr 0x04def000 : Length 4096 May 24 14:02:21 darryl /kernel: sg[4] - Addr 0x04c50000 : Length 4096 May 24 14:02:21 darryl /kernel: sg[5] - Addr 0x04eb1000 : Length 8192 May 24 14:02:21 darryl /kernel: sg[6] - Addr 0x04693000 : Length 4096 May 24 14:02:21 darryl /kernel: sg[7] - Addr 0x04dd4000 : Length 4096 May 24 14:02:21 darryl /kernel: sg[8] - Addr 0x048d5000 : Length 4096 May 24 14:02:21 darryl /kernel: sg[9] - Addr 0x04cb6000 : Length 4096 May 24 14:02:21 darryl /kernel: sg[10] - Addr 0x04f77000 : Length 4096 May 24 14:02:21 darryl /kernel: sg[11] - Addr 0x04b38000 : Length 4096 May 24 14:02:21 darryl /kernel: sg[12] - Addr 0x04d39000 : Length 4096 May 24 14:02:21 darryl /kernel: sg[13] - Addr 0x0481a000 : Length 3072 Anyone know why this happens? How to fix it.... where to look? I'm just = starting here, i'm not totally sure its even a scsi problem.