From owner-freebsd-scsi@FreeBSD.ORG Mon May 23 11:01:59 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 F23AE16A420 for ; Mon, 23 May 2005 11:01:58 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD43743D48 for ; Mon, 23 May 2005 11:01:58 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4NB1wI8004152 for ; Mon, 23 May 2005 11:01:58 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4NB1wGF004146 for freebsd-scsi@freebsd.org; Mon, 23 May 2005 11:01:58 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 23 May 2005 11:01:58 GMT Message-Id: <200505231101.j4NB1wGF004146@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-scsi@FreeBSD.org Cc: Subject: Current problem reports assigned to you 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: Mon, 23 May 2005 11:01:59 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2001/05/03] kern/27059 scsi (symbios) SCSI subsystem hangs under heav o [2001/06/29] kern/28508 scsi problems with backup to Tandberg SLR40 st o [2002/06/17] kern/39388 scsi ncr/sym drivers fail with 53c810 and more o [2002/07/22] kern/40895 scsi wierd kernel / device driver bug s [2003/09/30] kern/57398 scsi Current fails to install on mly(4) based o [2003/12/26] kern/60598 scsi wire down of scsi devices conflicts with a [2004/01/10] kern/61165 scsi [panic] kernel page fault after calling c o [2004/09/15] kern/71778 scsi 5.3 BETA3 doesnt see Adaptec 2015S FW Rev o [2004/12/02] kern/74607 scsi FreeBSD 5.3 install CD crashes on SCSI de o [2004/12/02] kern/74627 scsi Adaptec 2940U2W Can't boot 5.3 10 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/12/06] kern/23314 scsi aic driver fails to detect Adaptec 1520B o [2001/08/15] kern/29727 scsi [amr] [patch] amr_enquiry3 structure in a o [2002/02/23] kern/35234 scsi World access to /dev/pass? (for scanner) o [2002/06/02] kern/38828 scsi [feature request] DPT PM2012B/90 doesn't o [2002/10/29] kern/44587 scsi dev/dpt/dpt.h is missing defines required o [2003/10/01] kern/57469 scsi [patch] Quirk for Conner CP3500 6 problems total. From owner-freebsd-scsi@FreeBSD.ORG Mon May 23 14:32:08 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 BB3C516A41C for ; Mon, 23 May 2005 14:32:08 +0000 (GMT) (envelope-from ml.diespammer@netfence.it) Received: from parrot.aev.net (host29-15.pool8174.interbusiness.it [81.74.15.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29C8643D49 for ; Mon, 23 May 2005 14:32:01 +0000 (GMT) (envelope-from ml.diespammer@netfence.it) Received: from soth.ventu (adsl-245-23.37-151.net24.it [151.37.23.245]) (authenticated bits=128) by parrot.aev.net (8.13.4/8.13.4) with ESMTP id j4NEabfO019020 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 23 May 2005 16:36:45 +0200 (CEST) (envelope-from ml.diespammer@netfence.it) Received: from [10.1.2.18] (alamar.ventu [10.1.2.18]) (authenticated bits=0) by soth.ventu (8.13.3/8.13.3) with ESMTP id j4NEUjKu011828 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 23 May 2005 16:30:46 +0200 (CEST) (envelope-from ml.diespammer@netfence.it) Message-ID: <4291E945.3040903@netfence.it> Date: Mon, 23 May 2005 16:31:33 +0200 From: Andrea Venturoli User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: delphij@frontfree.net, freebsd-scsi@freebsd.org References: <428F6C1A.5010707@netfence.it> In-Reply-To: <428F6C1A.5010707@netfence.it> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.51 on 192.168.2.2 X-Scanned-By: MIMEDefang 2.51 on 10.1.2.13 Cc: Subject: Re: [Fwd: Re: SCSI messages with smartd] 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: Mon, 23 May 2005 14:32:08 -0000 Andrea Venturoli wrote: First of all, thank you very much. > What's the device that you connected to your adapter? This is quite clear and more specific below, however: two HDs which work as a gmirror. > Does this happen only when the system is heavily loaded? Interesting question. Right now I don't know. If you think it's worth I might try and find out. > If so, you may want to try using camcontrol tags command to reduce > the allowed tags and see if things get better. Hmm. Any pointer? I'd like to have more insight before I try and fiddle with that. Besides, as I said, I don't even well realize wether these are errors or what. > Additionally, an /var/run/dmesg.boot would be helpful for > us to investigate what is happening Unfortunately I have no dmesg.boot on my system, only dmesg.today and dmesg.yesterday. I'd be very happy if someone could suggest how to set it up like that. However, I can easily go back to logcheck mails, and here is the dmesg on boot: > May 7 17:01:26 soth kernel: Copyright (c) 1992-2005 The FreeBSD Project. > May 7 17:01:26 soth kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > May 7 17:01:26 soth kernel: The Regents of the University of California. All rights reserved. > May 7 17:01:26 soth kernel: FreeBSD 5.4-RELEASE #0: Fri May 6 12:23:09 CEST 2005 > May 7 17:01:26 soth kernel: root@bane.ventu:/usr/obj/usr/src/sys/SOTH > May 7 17:01:26 soth kernel: module_register: module pci/ed already exists! > May 7 17:01:26 soth kernel: Module pci/ed failed to register: 17 > May 7 17:01:26 soth kernel: module_register: module isa/ed already exists! > May 7 17:01:26 soth kernel: Module isa/ed failed to register: 17 > May 7 17:01:26 soth kernel: Timecounter "i8254" frequency 1193182 Hz quality 0 > May 7 17:01:26 soth kernel: CPU: AMD Athlon(tm) Processor (800.04-MHz 686-class CPU) > May 7 17:01:26 soth kernel: Origin = "AuthenticAMD" Id = 0x642 Stepping = 2 > May 7 17:01:26 soth kernel: Features=0x183f9ff > May 7 17:01:26 soth kernel: AMD Features=0xc0440000 > May 7 17:01:26 soth kernel: real memory = 536805376 (511 MB) > May 7 17:01:26 soth kernel: avail memory = 519819264 (495 MB) > May 7 17:01:26 soth kernel: module_register_init: MOD_LOAD (splash_bmp, 0xc06f9810, 0) error 2 > May 7 17:01:26 soth kernel: npx0: on motherboard > May 7 17:01:26 soth kernel: npx0: INT 16 interface > May 7 17:01:26 soth kernel: acpi0: on motherboard > May 7 17:01:26 soth kernel: acpi0: Power Button (fixed) > May 7 17:01:26 soth kernel: Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > May 7 17:01:26 soth kernel: acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 > May 7 17:01:26 soth kernel: cpu0: on acpi0 > May 7 17:01:26 soth kernel: acpi_throttle0: on cpu0 > May 7 17:01:26 soth kernel: acpi_button0: on acpi0 > May 7 17:01:26 soth kernel: acpi_button1: on acpi0 > May 7 17:01:26 soth kernel: pcib0: port 0x6000-0x607f,0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on acpi0 > May 7 17:01:26 soth kernel: pci0: on pcib0 > May 7 17:01:26 soth kernel: pcib1: at device 1.0 on pci0 > May 7 17:01:26 soth kernel: pci1: on pcib1 > May 7 17:01:26 soth kernel: pci1: at device 0.0 (no driver attached) > May 7 17:01:26 soth kernel: isab0: at device 7.0 on pci0 > May 7 17:01:26 soth kernel: isa0: on isab0 > May 7 17:01:26 soth kernel: pci0: at device 7.4 (no driver attached) > May 7 17:01:26 soth kernel: ahd0: port 0xe000-0xe0ff,0xdc00-0xdcff mem 0xd5422000-0xd5423fff irq 15 at device 9.0 on pci0 > May 7 17:01:26 soth kernel: aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI 33 or 66Mhz, 512 SCBs > May 7 17:01:26 soth kernel: ahd1: port 0xe800-0xe8ff,0xe400-0xe4ff mem 0xd5420000-0xd5421fff irq 11 at device 9.1 on pci0 > May 7 17:01:26 soth kernel: aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI 33 or 66Mhz, 512 SCBs > May 7 17:01:26 soth kernel: fxp0: port 0xec00-0xec3f mem 0xd5400000-0xd541ffff,0xd5424000-0xd5424fff irq 10 at device 11.0 on pci0 > May 7 17:01:26 soth kernel: miibus0: on fxp0 > May 7 17:01:26 soth kernel: inphy0: on miibus0 > May 7 17:01:26 soth kernel: inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > May 7 17:01:26 soth kernel: fxp0: Ethernet address: 00:02:b3:2f:d9:c9 > May 7 17:01:26 soth kernel: pmtimer0 on isa0 > May 7 17:01:26 soth kernel: orm0: at iomem 0xc0000-0xcffff on isa0 > May 7 17:01:26 soth kernel: sc0: at flags 0x100 on isa0 > May 7 17:01:26 soth kernel: sc0: VGA <16 virtual consoles, flags=0x300> > May 7 17:01:26 soth kernel: vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > May 7 17:01:26 soth kernel: atkbdc0: at port 0x64,0x60 on isa0 > May 7 17:01:26 soth kernel: atkbd0: irq 1 on atkbdc0 > May 7 17:01:26 soth kernel: kbd0 at atkbd0 > May 7 17:01:26 soth kernel: ed1: at port 0x220-0x23f irq 3 on isa0 > May 7 17:01:26 soth kernel: ed1: Ethernet address: 52:54:40:28:e5:a2 > May 7 17:01:26 soth kernel: ed1: if_start running deferred for Giant > May 7 17:01:26 soth kernel: ed1: type NE2000 (16 bit) > May 7 17:01:26 soth kernel: Timecounter "TSC" frequency 800035026 Hz quality 800 > May 7 17:01:26 soth kernel: Timecounters tick every 10.000 msec > May 7 17:01:26 soth kernel: Waiting 15 seconds for SCSI devices to settle > May 7 17:01:26 soth kernel: da0 at ahd1 bus 0 target 0 lun 0 > May 7 17:01:26 soth kernel: da0: Fixed Direct Access SCSI-3 device > May 7 17:01:26 soth kernel: da0: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged Queueing Enabled > May 7 17:01:26 soth kernel: da0: 35074MB (71833096 512 byte sectors: 255H 63S/T 4471C) > May 7 17:01:26 soth kernel: da1 at ahd1 bus 0 target 1 lun 0 > May 7 17:01:26 soth kernel: da1: Fixed Direct Access SCSI-3 device > May 7 17:01:26 soth kernel: da1: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged Queueing Enabled > May 7 17:01:26 soth kernel: da1: 35074MB (71833096 512 byte sectors: 255H 63S/T 4471C) > May 7 17:01:26 soth kernel: GEOM_MIRROR: Device gm0 created (id=2253479574). > May 7 17:01:26 soth kernel: GEOM_MIRROR: Device gm0: provider da0 detected. > May 7 17:01:26 soth kernel: GEOM_MIRROR: Upgrading metadata on da0 (v1->v3). > May 7 17:01:26 soth kernel: GEOM_MIRROR: Device gm0: provider da1 detected. > May 7 17:01:26 soth kernel: GEOM_MIRROR: Upgrading metadata on da1 (v1->v3). > May 7 17:01:26 soth kernel: GEOM_MIRROR: Device gm0: provider da1 activated. > May 7 17:01:26 soth kernel: GEOM_MIRROR: Device gm0: provider mirror/gm0 launched. > May 7 17:01:26 soth kernel: GEOM_MIRROR: Device gm0: rebuilding provider da0. > May 7 17:01:26 soth kernel: Mounting root from ufs:/dev/mirror/gm0s1a > (boot -v recommended if possible). I hope what I provided is enough; until now I did not have physical access to the machine. In case 'boot -v' is really needed, I'll arrange. bye & Thanks av. 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.