From owner-freebsd-scsi@FreeBSD.ORG Mon Mar 21 06:41:11 2005 Return-Path: Delivered-To: freebsd-scsi@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8482216A4CF; Mon, 21 Mar 2005 06:41:11 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B58F43D1F; Mon, 21 Mar 2005 06:41:11 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j2L6fBRB047295; Mon, 21 Mar 2005 06:41:11 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j2L6fB8w047290; Mon, 21 Mar 2005 06:41:11 GMT (envelope-from linimon) Date: Mon, 21 Mar 2005 06:41:11 GMT From: Mark Linimon Message-Id: <200503210641.j2L6fB8w047290@freefall.freebsd.org> To: patrick@mindstep.com, linimon@FreeBSD.org, freebsd-scsi@FreeBSD.org Subject: Re: kern/20689: Newbusified version of ncr driver does not work in FreeBSD 4.1 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2005 06:41:11 -0000 Synopsis: Newbusified version of ncr driver does not work in FreeBSD 4.1 State-Changed-From-To: feedback->closed State-Changed-By: linimon State-Changed-When: Mon Mar 21 06:40:55 GMT 2005 State-Changed-Why: Feedback timeout (> 6 months). http://www.freebsd.org/cgi/query-pr.cgi?pr=20689 From owner-freebsd-scsi@FreeBSD.ORG Mon Mar 21 06:42:42 2005 Return-Path: Delivered-To: freebsd-scsi@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48DF016A4CF; Mon, 21 Mar 2005 06:42:42 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F68A43D2D; Mon, 21 Mar 2005 06:42:42 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j2L6ggqT057335; Mon, 21 Mar 2005 06:42:42 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j2L6gf5C057265; Mon, 21 Mar 2005 06:42:41 GMT (envelope-from linimon) Date: Mon, 21 Mar 2005 06:42:41 GMT From: Mark Linimon Message-Id: <200503210642.j2L6gf5C057265@freefall.freebsd.org> To: lele@windmill.it, linimon@FreeBSD.org, freebsd-scsi@FreeBSD.org Subject: Re: kern/27059: (symbios) SCSI subsystem hangs under heavy load on (Serverworks) SMP X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2005 06:42:42 -0000 Synopsis: (symbios) SCSI subsystem hangs under heavy load on (Serverworks) SMP State-Changed-From-To: feedback->open State-Changed-By: linimon State-Changed-When: Mon Mar 21 06:42:27 GMT 2005 State-Changed-Why: Feedback was received some time ago. http://www.freebsd.org/cgi/query-pr.cgi?pr=27059 From owner-freebsd-scsi@FreeBSD.ORG Mon Mar 21 06:47:50 2005 Return-Path: Delivered-To: freebsd-scsi@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9269416A4CE; Mon, 21 Mar 2005 06:47:50 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67D2A43D2F; Mon, 21 Mar 2005 06:47:50 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j2L6lo5i066762; Mon, 21 Mar 2005 06:47:50 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j2L6loxA066758; Mon, 21 Mar 2005 06:47:50 GMT (envelope-from linimon) Date: Mon, 21 Mar 2005 06:47:50 GMT From: Mark Linimon Message-Id: <200503210647.j2L6loxA066758@freefall.freebsd.org> To: elkvis@beldin.net, linimon@FreeBSD.org, freebsd-scsi@FreeBSD.org Subject: Re: kern/42796: NCR/SYM 53C825 driver detects scsi cdrom but not hard drives X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2005 06:47:50 -0000 Synopsis: NCR/SYM 53C825 driver detects scsi cdrom but not hard drives State-Changed-From-To: feedback->closed State-Changed-By: linimon State-Changed-When: Mon Mar 21 06:47:35 GMT 2005 State-Changed-Why: Feedback timeout (> 6 months). http://www.freebsd.org/cgi/query-pr.cgi?pr=42796 From owner-freebsd-scsi@FreeBSD.ORG Mon Mar 21 06:49:34 2005 Return-Path: Delivered-To: freebsd-scsi@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D2C016A4CE; Mon, 21 Mar 2005 06:49:34 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30FBD43D46; Mon, 21 Mar 2005 06:49:34 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j2L6nVME066817; Mon, 21 Mar 2005 06:49:34 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j2L6nVTU066813; Mon, 21 Mar 2005 06:49:31 GMT (envelope-from linimon) Date: Mon, 21 Mar 2005 06:49:31 GMT From: Mark Linimon Message-Id: <200503210649.j2L6nVTU066813@freefall.freebsd.org> To: bra@fsn.hu, linimon@FreeBSD.org, freebsd-scsi@FreeBSD.org Subject: Re: kern/45713: If you use the amr driver, it is impossible to reboot. X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2005 06:49:34 -0000 Synopsis: If you use the amr driver, it is impossible to reboot. State-Changed-From-To: feedback->closed State-Changed-By: linimon State-Changed-When: Mon Mar 21 06:49:12 GMT 2005 State-Changed-Why: Feedback timeout (> 6 months). http://www.freebsd.org/cgi/query-pr.cgi?pr=45713 From owner-freebsd-scsi@FreeBSD.ORG Mon Mar 21 06:51:28 2005 Return-Path: Delivered-To: freebsd-scsi@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F93E16A4CE; Mon, 21 Mar 2005 06:51:28 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D847943D48; Mon, 21 Mar 2005 06:51:27 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j2L6pRCV067014; Mon, 21 Mar 2005 06:51:27 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j2L6pPWB067010; Mon, 21 Mar 2005 06:51:25 GMT (envelope-from linimon) Date: Mon, 21 Mar 2005 06:51:25 GMT From: Mark Linimon Message-Id: <200503210651.j2L6pPWB067010@freefall.freebsd.org> To: doconnor@gsoft.com.au, linimon@FreeBSD.org, freebsd-scsi@FreeBSD.org Subject: Re: kern/46152: Panic in adw dumping to tape X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2005 06:51:28 -0000 Synopsis: Panic in adw dumping to tape State-Changed-From-To: feedback->closed State-Changed-By: linimon State-Changed-When: Mon Mar 21 06:51:12 GMT 2005 State-Changed-Why: Feedback timeout (> 6 months). http://www.freebsd.org/cgi/query-pr.cgi?pr=46152 From owner-freebsd-scsi@FreeBSD.ORG Mon Mar 21 06:54:49 2005 Return-Path: Delivered-To: freebsd-scsi@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 973BB16A4CF; Mon, 21 Mar 2005 06:54:49 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6AE2C43D1F; Mon, 21 Mar 2005 06:54:49 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j2L6sneS067134; Mon, 21 Mar 2005 06:54:49 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j2L6smc6067130; Mon, 21 Mar 2005 06:54:48 GMT (envelope-from linimon) Date: Mon, 21 Mar 2005 06:54:48 GMT From: Mark Linimon Message-Id: <200503210654.j2L6smc6067130@freefall.freebsd.org> To: peo@intersonic.se, linimon@FreeBSD.org, freebsd-scsi@FreeBSD.org Subject: Re: kern/52331: 4.7 to 4.8-REL upgrade: SCSI disks on sym disappears X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2005 06:54:49 -0000 Synopsis: 4.7 to 4.8-REL upgrade: SCSI disks on sym disappears State-Changed-From-To: feedback->closed State-Changed-By: linimon State-Changed-When: Mon Mar 21 06:54:33 GMT 2005 State-Changed-Why: Feedback timeout (> 6 months). http://www.freebsd.org/cgi/query-pr.cgi?pr=52331 From owner-freebsd-scsi@FreeBSD.ORG Mon Mar 21 06:56:06 2005 Return-Path: Delivered-To: freebsd-scsi@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5FD3116A4CF; Mon, 21 Mar 2005 06:56:06 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3545143D1F; Mon, 21 Mar 2005 06:56:06 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j2L6u6r8067197; Mon, 21 Mar 2005 06:56:06 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j2L6u5CG067193; Mon, 21 Mar 2005 06:56:05 GMT (envelope-from linimon) Date: Mon, 21 Mar 2005 06:56:05 GMT From: Mark Linimon Message-Id: <200503210656.j2L6u5CG067193@freefall.freebsd.org> To: bacon@smithers.neuro.mcw.edu, linimon@FreeBSD.org, freebsd-scsi@FreeBSD.org Subject: Re: kern/56759: [hang] System freezes when writing CD Advansys SCSI HP cdwriter+ 9200 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2005 06:56:06 -0000 Synopsis: [hang] System freezes when writing CD Advansys SCSI HP cdwriter+ 9200 State-Changed-From-To: feedback->closed State-Changed-By: linimon State-Changed-When: Mon Mar 21 06:55:51 GMT 2005 State-Changed-Why: Feedback timeout (> 6 months). http://www.freebsd.org/cgi/query-pr.cgi?pr=56759 From owner-freebsd-scsi@FreeBSD.ORG Mon Mar 21 06:56:23 2005 Return-Path: Delivered-To: freebsd-scsi@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A9EE16A4CF; Mon, 21 Mar 2005 06:56:23 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 725AB43D39; Mon, 21 Mar 2005 06:56:23 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j2L6uNUO067243; Mon, 21 Mar 2005 06:56:23 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j2L6uNDs067239; Mon, 21 Mar 2005 06:56:23 GMT (envelope-from linimon) Date: Mon, 21 Mar 2005 06:56:23 GMT From: Mark Linimon Message-Id: <200503210656.j2L6uNDs067239@freefall.freebsd.org> To: bacon@smithers.neuro.mcw.edu, linimon@FreeBSD.org, freebsd-scsi@FreeBSD.org Subject: Re: kern/56760: [hang] system hangs at boot with adaptec 1542 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2005 06:56:23 -0000 Synopsis: [hang] system hangs at boot with adaptec 1542 State-Changed-From-To: feedback->closed State-Changed-By: linimon State-Changed-When: Mon Mar 21 06:56:10 GMT 2005 State-Changed-Why: Feedback timeout (> 6 months). http://www.freebsd.org/cgi/query-pr.cgi?pr=56760 From owner-freebsd-scsi@FreeBSD.ORG Mon Mar 21 06:57:19 2005 Return-Path: Delivered-To: freebsd-scsi@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02EE316A4CF; Mon, 21 Mar 2005 06:57:19 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCA0E43D1F; Mon, 21 Mar 2005 06:57:18 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j2L6vIuj067295; Mon, 21 Mar 2005 06:57:18 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j2L6vI5X067291; Mon, 21 Mar 2005 06:57:18 GMT (envelope-from linimon) Date: Mon, 21 Mar 2005 06:57:18 GMT From: Mark Linimon Message-Id: <200503210657.j2L6vI5X067291@freefall.freebsd.org> To: spartak@aif.ru, linimon@FreeBSD.org, freebsd-scsi@FreeBSD.org Subject: Re: kern/56871: dd can't write variable length data blocks to SCSI DDS streamer. X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2005 06:57:19 -0000 Synopsis: dd can't write variable length data blocks to SCSI DDS streamer. State-Changed-From-To: feedback->closed State-Changed-By: linimon State-Changed-When: Mon Mar 21 06:57:03 GMT 2005 State-Changed-Why: Feedback timeout (> 6 months). http://www.freebsd.org/cgi/query-pr.cgi?pr=56871 From owner-freebsd-scsi@FreeBSD.ORG Mon Mar 21 06:59:33 2005 Return-Path: Delivered-To: freebsd-scsi@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD27216A4CE; Mon, 21 Mar 2005 06:59:33 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 929B943D1F; Mon, 21 Mar 2005 06:59:33 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j2L6xXKv067348; Mon, 21 Mar 2005 06:59:33 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j2L6xXXL067344; Mon, 21 Mar 2005 06:59:33 GMT (envelope-from linimon) Date: Mon, 21 Mar 2005 06:59:33 GMT From: Mark Linimon Message-Id: <200503210659.j2L6xXXL067344@freefall.freebsd.org> To: seagull@aracnet.com, linimon@FreeBSD.org, freebsd-scsi@FreeBSD.org Subject: Re: kern/56973: SCSI errors from on-board Adaptec (AIC7xxx) controller X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2005 06:59:33 -0000 Synopsis: SCSI errors from on-board Adaptec (AIC7xxx) controller State-Changed-From-To: feedback->closed State-Changed-By: linimon State-Changed-When: Mon Mar 21 06:59:20 GMT 2005 State-Changed-Why: Feedback timeout (> 6 months). http://www.freebsd.org/cgi/query-pr.cgi?pr=56973 From owner-freebsd-scsi@FreeBSD.ORG Mon Mar 21 07:55:04 2005 Return-Path: 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 1214616A4CE; Mon, 21 Mar 2005 07:55:04 +0000 (GMT) Received: from people.fsn.hu (people.fsn.hu [195.228.252.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC87843D4C; Mon, 21 Mar 2005 07:55:00 +0000 (GMT) (envelope-from bra@fsn.hu) Received: from localhost (localhost [127.0.0.1]) by people.fsn.hu (Postfix) with ESMTP id 9AF1684434; Mon, 21 Mar 2005 08:54:59 +0100 (CET) Received: from people.fsn.hu ([127.0.0.1]) by localhost (people.fsn.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 82851-03; Mon, 21 Mar 2005 08:54:54 +0100 (CET) Received: from [172.16.129.72] (japan.axelero.com [195.228.243.99]) by people.fsn.hu (Postfix) with ESMTP id B4D0784425; Mon, 21 Mar 2005 08:54:53 +0100 (CET) Message-ID: <423E7DCB.1080402@fsn.hu> Date: Mon, 21 Mar 2005 08:54:51 +0100 From: Attila Nagy User-Agent: Mozilla Thunderbird 1.0 (X11/20050316) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mark Linimon References: <200503210649.j2L6nVTU066813@freefall.freebsd.org> In-Reply-To: <200503210649.j2L6nVTU066813@freefall.freebsd.org> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at fsn.hu cc: freebsd-scsi@FreeBSD.org Subject: Re: kern/45713: If you use the amr driver, it is impossible to reboot. X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2005 07:55:04 -0000 Mark Linimon wrote: > Synopsis: If you use the amr driver, it is impossible to reboot. > > State-Changed-From-To: feedback->closed > State-Changed-By: linimon > State-Changed-When: Mon Mar 21 06:49:12 GMT 2005 > State-Changed-Why: > Feedback timeout (> 6 months). > > http://www.freebsd.org/cgi/query-pr.cgi?pr=45713 I no longer have access to that machine, but I guess it is working now. Thanks, -- Attila Nagy e-mail: Attila.Nagy@fsn.hu Adopt a directory on our free software phone @work: +361 371 3536 server! http://www.fsn.hu/?f=brick cell.: +3630 306 6758 From owner-freebsd-scsi@FreeBSD.ORG Mon Mar 21 10:08:24 2005 Return-Path: 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 27C2016A4CE; Mon, 21 Mar 2005 10:08:24 +0000 (GMT) Received: from mail.yazzy.org (mail.yazzy.org [217.8.140.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93F4B43D49; Mon, 21 Mar 2005 10:08:23 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from yazzy.yazzy.org (yazzy.yazzy.org [192.168.98.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.yazzy.org (Postfix) with ESMTP id 4562739865; Mon, 21 Mar 2005 11:10:03 +0100 (CET) Date: Mon, 21 Mar 2005 10:08:18 +0000 From: Marcin Jessa To: Andrew Karjagin Message-Id: <20050321100818.15d6a5c1.lists@yazzy.org> In-Reply-To: <20041111093202.26100.qmail@flock1.newmail.ru> References: <20041111093202.26100.qmail@flock1.newmail.ru> Organization: YazzY.org X-Mailer: Sylpheed version 1.0.0 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable cc: freebsd-isp@freebsd.org cc: freebsd-scsi@freebsd.org Subject: Re: Fwd: FreeBSD 4.7 - 4.10 SCSI and IDE RAID X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2005 10:08:24 -0000 Hi. Check the root_disk_unit and rootdev=3D options in /boot/defaults/loader.co= nf=20 Bootloader is not aware of your root partition residing on a different disk. You can also reinstall MBR, man boot0cfg should help. You can also do the same with /stand/sysinstall On Thu, 11 Nov 2004 12:32:01 +0300 Andrew Karjagin wrote: > Hello! > I have a machine with one SCSI disk on Tekram 395U3W Symbios (as da0) and= two IDE disks on Fasttrak-2000 RAID (as ar0). > When I install FreeBSD 4.7 or 4.10 RELEASE with root partition on SCSI di= sk and reboot, then system say me: >=20 > invalid partition > boot: 0:ad(0,a)/kernel >=20 > and doesn't booting. When I set:=20 > boot: 1:da(0,a)/kernel >=20 > system booted successfully. What can I do to automate the process of boot= ing? >=20 > I found this link http://www.svbug.com/cgi-bin/man.cgi?comd=3D8+boot , bu= t creating file /boot.config with text "1:da(0,a)" doesn't help me. > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Sorry, this theme is off-topic of ISP maillist, but ISP admins often use = SCSI disks on servers. May be anybody help me? Thank you. > __________ > www.newmail.ru -- =D5=DA=C5=CC =D3=D7=CF=C2=CF=C4=CE=D9=C8 =CB=CF=CD=CD= =D5=CE=C9=CB=C1=C3=C9=CA. > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" --=20 Regards, M. Jessa http://www.yazzy.org From owner-freebsd-scsi@FreeBSD.ORG Mon Mar 21 11:01:30 2005 Return-Path: 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 3701916A4E0 for ; Mon, 21 Mar 2005 11:01:30 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CA8043D4C for ; Mon, 21 Mar 2005 11:01:30 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j2LB1TH8013592 for ; Mon, 21 Mar 2005 11:01:29 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j2LB1SIm013586 for freebsd-scsi@freebsd.org; Mon, 21 Mar 2005 11:01:28 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 21 Mar 2005 11:01:28 GMT Message-Id: <200503211101.j2LB1SIm013586@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 Subject: Current problem reports assigned to you X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2005 11:01:32 -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/29] kern/75603 scsi 5.3 kernel crash 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/57468 scsi [patch] Quirk for Quantum LPS540S o [2003/10/01] kern/57469 scsi [patch] Quirk for Conner CP3500 o [2004/09/22] kern/72010 scsi [patch] mt -f /dev/rsa0.ctl comp off, or 8 problems total. From owner-freebsd-scsi@FreeBSD.ORG Tue Mar 22 01:36:55 2005 Return-Path: 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 3596A16A4CE for ; Tue, 22 Mar 2005 01:36:55 +0000 (GMT) Received: from b.mail.mho.net (b.mail.base.mho.net [64.58.4.37]) by mx1.FreeBSD.org (Postfix) with SMTP id BDDF043D58 for ; Tue, 22 Mar 2005 01:36:54 +0000 (GMT) (envelope-from rloef@interfold.com) Received: (qmail 9650 invoked from network); 22 Mar 2005 01:36:53 -0000 Received: from dialup-208-157-46-169.mho.net (208.157.46.169) by b.mail.mho.net with SMTP; 22 Mar 2005 01:36:53 -0000 Date: Mon, 21 Mar 2005 18:38:44 -0700 (MST) From: Reed Loefgren X-X-Sender: rloef@auden.jmla.com To: freebsd-scsi@freebsd.org Message-ID: <20050321183410.T19351@auden.jmla.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Any changes in SCSI code between 4.10 and 4.11? X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2005 01:36:55 -0000 All, I have just finished rolling my desktop back to 4.10(p5) from 4.11RELEASE. It had been suffering freezes, the last one bad enough that boot time couldn't find /kernel and corrupted my striped vinum /usr. I had fallen back from 4-STABLE to 4.11RELEASE to try and stop this because things seemed to go bad around the time I moved to 4.11 from 4.10, but I don't really track stuff like that. I'm using an Adaptec 2940U(W?) card; 69-ext, 68-int and 50-int connectors and wondered if there had been any changes to the SCSI code in the move between 4.10 and 4.11. I imagine the 2940 might also be rather EOL for the codebase going forward. In any event, it's nice to have again a machine that stays up more than a day at a time; it's still a great OS. I've included no dumps or debug info here, I just thought I'd ask (and I'm not sure I want to go back to that just to find out something I can now avoid.) Regards, r ---------- I'd rather flunk my Wassermann Test Than read the poems of Edgar Guest. - Auden From owner-freebsd-scsi@FreeBSD.ORG Tue Mar 22 02:21:36 2005 Return-Path: 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 AB2A916A4CE for ; Tue, 22 Mar 2005 02:21:36 +0000 (GMT) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 394AF43D39 for ; Tue, 22 Mar 2005 02:21:36 +0000 (GMT) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.13.1/8.13.1) with ESMTP id j2M2LS0v078118; Mon, 21 Mar 2005 18:21:32 -0800 (PST) (envelope-from truckman@FreeBSD.org) Message-Id: <200503220221.j2M2LS0v078118@gw.catspoiler.org> Date: Mon, 21 Mar 2005 18:21:28 -0800 (PST) From: Don Lewis To: rloef@interfold.com In-Reply-To: <20050321183410.T19351@auden.jmla.com> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii cc: freebsd-scsi@FreeBSD.org Subject: Re: Any changes in SCSI code between 4.10 and 4.11? X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2005 02:21:36 -0000 On 21 Mar, Reed Loefgren wrote: > All, > > I have just finished rolling my desktop back to 4.10(p5) from > 4.11RELEASE. It had been suffering freezes, the last one bad enough > that boot time couldn't find /kernel and corrupted my striped vinum > /usr. > > I had fallen back from 4-STABLE to 4.11RELEASE to try and stop this > because things seemed to go bad around the time I moved to 4.11 from > 4.10, but I don't really track stuff like that. I'm using an Adaptec > 2940U(W?) card; 69-ext, 68-int and 50-int connectors and wondered if > there had been any changes to the SCSI code in the move between 4.10 > and 4.11. I imagine the 2940 might also be rather EOL for the codebase > going forward. In any event, it's nice to have again a machine that > stays up more than a day at a time; it's still a great OS. > > I've included no dumps or debug info here, I just thought I'd ask (and I'm > not sure I want to go back to that just to find out something I can now > avoid.) I've seen something similar with one of the disks on my 4-STABLE box. The working -> non-working timeframe sounds similar. I thought the disk was going bad. It tended to fail under load, but I was able to retrieve all the data from it and I replaced it with a couple of older and smaller disks that I had as spares. The symtoms were timeouts and this disk would sometimes go offline, resulting in an "Invalidating pack" error. It also exhibited the same problems on my 6-CURRENT box until just recently, which makes me think that something in the CAM, SCSI, or driver code recently got fixed. I'm now totally unable to reproduce the problem on my 6-CURRENT box and I'm planning on moving the disk back to by 4-STABLE box to see if the problem comes back. In my case, the controller is a ahc0: port 0xe000-0xe0ff mem 0xef022000-0xef022fff irq 16 at device 12.0 on pci0 and the disk is a da1 at ahc0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-3 device da1: 160.000MB/s transfers (80.000MHz, offset 31, 16bit), Tagged Queueing Enabled da1: 35242MB (72176566 512 byte sectors: 255H 63S/T 4492C) From owner-freebsd-scsi@FreeBSD.ORG Tue Mar 22 02:52:39 2005 Return-Path: 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 41C7816A4CE for ; Tue, 22 Mar 2005 02:52:39 +0000 (GMT) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id E716143D48 for ; Tue, 22 Mar 2005 02:52:38 +0000 (GMT) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.13.1/8.13.1) with ESMTP id j2M2qVbg078163; Mon, 21 Mar 2005 18:52:35 -0800 (PST) (envelope-from truckman@FreeBSD.org) Message-Id: <200503220252.j2M2qVbg078163@gw.catspoiler.org> Date: Mon, 21 Mar 2005 18:52:31 -0800 (PST) From: Don Lewis To: rloef@interfold.com In-Reply-To: <200503220221.j2M2LS0v078118@gw.catspoiler.org> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii cc: freebsd-scsi@FreeBSD.org Subject: Re: Any changes in SCSI code between 4.10 and 4.11? X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2005 02:52:39 -0000 On 21 Mar, Don Lewis wrote: > I've seen something similar with one of the disks on my 4-STABLE box. > The working -> non-working timeframe sounds similar. I thought the disk > was going bad. It tended to fail under load, but I was able to retrieve > all the data from it and I replaced it with a couple of older and > smaller disks that I had as spares. The symtoms were timeouts and this > disk would sometimes go offline, resulting in an "Invalidating pack" > error. It also exhibited the same problems on my 6-CURRENT box until > just recently, which makes me think that something in the CAM, SCSI, or > driver code recently got fixed. I'm now totally unable to reproduce the > problem on my 6-CURRENT box and I'm planning on moving the disk back to > by 4-STABLE box to see if the problem comes back. > > In my case, the controller is a > ahc0: port 0xe000-0xe0ff mem 0xef022000-0xef022fff irq 16 at device 12.0 on pci0 > and the disk is a > da1 at ahc0 bus 0 target 1 lun 0 > da1: Fixed Direct Access SCSI-3 device > da1: 160.000MB/s transfers (80.000MHz, offset 31, 16bit), Tagged Queueing Enabled > da1: 35242MB (72176566 512 byte sectors: 255H 63S/T 4492C) I did some digging, and it looks like I replaced the disk on July 7, 2004, and my last kernel+world build before that was on June 20. I don't remember if I was seeing problems before then, but my previous builds were on May 28, May 22, and Apr 23. 4.10 was released on May 27. I looked around in CVS and didn't see any suspicious commits around that time. From owner-freebsd-scsi@FreeBSD.ORG Tue Mar 22 16:35:04 2005 Return-Path: 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 EB99516A4CE for ; Tue, 22 Mar 2005 16:35:04 +0000 (GMT) Received: from mail.black-hole.com (192-34.bhi.com [216.185.192.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71D8543D2F for ; Tue, 22 Mar 2005 16:35:04 +0000 (GMT) (envelope-from hank@blackhole.com) Received: from blackhole.com (mail.black-hole.com [127.0.0.1]) by blackhole.com for ; Tue, 22 Mar 2005 10:33:55 -0600 Message-ID: <380-220053222163355859@blackhole.com> X-Priority: 3 From: "Henry Miller" To: freebsd-scsi@freebsd.org Date: Tue, 22 Mar 2005 10:33:55 -0600 MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: scsi_ch issues X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2005 16:35:05 -0000 I posted a summery of this to -questions earlier this morning (you can read it there if you want background), I've dug into it more, and I think there is a bug in =20 cam/scsi/scsi=5Fch=2Ec function chgetelemstatus=2E The short summery is my tape changer says that PVOLTAG in pg=5Fhdr is=20 FALSE, (or zeroed latter) in the first request of=20 scsi=5Fread=5Felement=5Fstatus() (which freeBSD uses only to get the lengt= h of the data) on one of my changers, and thus chio(1) will not show the bar code label=2E pg=5Fhdr is not updated to reflect the location of result of the second call, when this flag is set=2E Worse, it looks like the results of the first call is a dead pointer by the time it checks anyway=2E Unless free/malloc work different in the kernel from userland this is a problem=2E I've sniped out a lot of extra code so you can see what I mean=2E =20 data =3D (caddr=5Ft)malloc(1024, M=5FDEVBUF, M=5FWAITOK); --- Fill data to get size pg=5Fhdr =3D \* data + some offset *\ /* * Reallocate storage for descriptors and get them from the * device=2E */ free(data, M=5FDEVBUF); data =3D (caddr=5Ft)malloc(size, M=5FDEVBUF, M=5FWAITOK); --- Fill data=20 copy=5Felement=5Fstatus(softc, pg=5Fhdr->flags, desc, ces); Note that pg=5Fhdr is not valid at this point anyway=2E This more or less happens in 4=2Ex, 5=2Ex and current if I read the code correctly=2E Can someone who knows kernel code better than I look at this=2E =20 Should I send a pr=3F Here is a patch against 4=2E9 (where I first found this problem) that might help to understand the fix=2E I think it needs to be ported to all versions=2E (and perhaps netbsd if there is where we get the code=3F) =20 *** scsi=5Fch=2Ec=2Eold Tue Mar 22 11:16:15 2005 --- scsi=5Fch=2Ec Tue Mar 22 11:09:13 2005 *************** *** 1184,1189 **** --- 1184,1192 ---- * Fill in the user status array=2E */ st=5Fhdr =3D (struct read=5Felement=5Fstatus=5Fheader *)data; + pg=5Fhdr =3D (struct read=5Felement=5Fstatus=5Fpage=5Fheader *)((uintptr=5Ft)st=5Fhdr + + sizeof(struct read=5Felement=5Fstatus=5Fheader)); + avail =3D scsi=5F2btoul(st=5Fhdr->count); if (avail !=3D cesr->cesr=5Felement=5Fcount) { From owner-freebsd-scsi@FreeBSD.ORG Tue Mar 22 16:53:09 2005 Return-Path: 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 4B0CB16A4CE for ; Tue, 22 Mar 2005 16:53:09 +0000 (GMT) Received: from nargothrond.kdm.org (nargothrond.kdm.org [70.56.43.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9965343D68 for ; Tue, 22 Mar 2005 16:53:08 +0000 (GMT) (envelope-from ken@nargothrond.kdm.org) Received: from nargothrond.kdm.org (localhost [127.0.0.1]) by nargothrond.kdm.org (8.12.11/8.12.11) with ESMTP id j2MGqpKY026155; Tue, 22 Mar 2005 09:52:51 -0700 (MST) (envelope-from ken@nargothrond.kdm.org) Received: (from ken@localhost) by nargothrond.kdm.org (8.12.11/8.12.5/Submit) id j2MGqpIi026154; Tue, 22 Mar 2005 09:52:51 -0700 (MST) (envelope-from ken) Date: Tue, 22 Mar 2005 09:52:51 -0700 From: "Kenneth D. Merry" To: Henry Miller Message-ID: <20050322165251.GA26122@nargothrond.kdm.org> References: <380-220053222163355859@blackhole.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <380-220053222163355859@blackhole.com> User-Agent: Mutt/1.4.2i X-Virus-Scanned: ClamAV 0.83/779/Tue Mar 22 05:34:41 2005 on nargothrond.kdm.org X-Virus-Status: Clean cc: freebsd-scsi@freebsd.org Subject: Re: scsi_ch issues X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2005 16:53:09 -0000 On Tue, Mar 22, 2005 at 10:33:55 -0600, Henry Miller wrote: > > I posted a summery of this to -questions earlier this morning (you > can read it there if you want background), I've dug into it more, and > I think there is a bug in > cam/scsi/scsi_ch.c > function chgetelemstatus. > > The short summery is my tape changer says that PVOLTAG in pg_hdr is > FALSE, (or zeroed latter) in the first request of > scsi_read_element_status() (which freeBSD uses only to get the length > of the data) on one of my changers, and thus chio(1) will not show > the bar code label. pg_hdr is not updated to reflect the location > of result of the second call, when this flag is set. Worse, it looks > like the results of the first call is a dead pointer by the time it > checks anyway. Unless free/malloc work different in the kernel from > userland this is a problem. > > I've sniped out a lot of extra code so you can see what I mean. > > > data = (caddr_t)malloc(1024, M_DEVBUF, M_WAITOK); > --- Fill data to get size > pg_hdr = \* data + some offset *\ > /* > * Reallocate storage for descriptors and get them from the > * device. > */ > free(data, M_DEVBUF); > data = (caddr_t)malloc(size, M_DEVBUF, M_WAITOK); > --- Fill data > copy_element_status(softc, pg_hdr->flags, desc, ces); > > Note that pg_hdr is not valid at this point anyway. Yes, that looks like a problem. > This more or less happens in 4.x, 5.x and current if I read the code > correctly. It hasn't changed in a while, so I'm sure it's the same in every branch. > Can someone who knows kernel code better than I look at this. > Should I send a pr? > > Here is a patch against 4.9 (where I first found this problem) that > might help to understand the fix. I think it needs to be ported to > all versions. (and perhaps netbsd if there is where we get the > code?) > > > *** scsi_ch.c.old Tue Mar 22 11:16:15 2005 > --- scsi_ch.c Tue Mar 22 11:09:13 2005 > *************** > *** 1184,1189 **** > --- 1184,1192 ---- > * Fill in the user status array. > */ > st_hdr = (struct read_element_status_header *)data; > + pg_hdr = (struct read_element_status_page_header > *)((uintptr_t)st_hdr > + > + sizeof(struct read_element_status_header)); > + > avail = scsi_2btoul(st_hdr->count); > > if (avail != cesr->cesr_element_count) { > When you apply the above patch, does everything work as expected? If so, I can check in the patch. (It looks correct.) If not, we'll need to do some more debugging to track down the problem. Ken -- Kenneth Merry ken@kdm.org From owner-freebsd-scsi@FreeBSD.ORG Thu Mar 24 09:59:52 2005 Return-Path: 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 7D0A516A4CE for ; Thu, 24 Mar 2005 09:59:52 +0000 (GMT) Received: from amsfep16-int.chello.nl (nl-ams-slo-l4-01-pip-7.chellonetwork.com [213.46.243.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B71C43D2F for ; Thu, 24 Mar 2005 09:59:51 +0000 (GMT) (envelope-from per.hubinette@cellip.com) Received: from pelle ([80.216.180.42]) by amsfep16-int.chello.nl (InterMail vM.6.01.03.04 201-2131-111-106-20040729) with ESMTP id <20050324095949.NUIN2070.amsfep16-int.chello.nl@pelle> for ; Thu, 24 Mar 2005 10:59:49 +0100 From: "Per Hubinette" To: Date: Thu, 24 Mar 2005 10:59:50 +0100 Message-ID: <000801c53058$38093530$2ab4d850@pelle> MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: LSILogic MegaRAID and "camcontrol:cam_lookup_pass:CAMGETPASSTHRU ioctl failed X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2005 09:59:52 -0000 >Glenn Dawson writes: >| At 02:40 PM 3/16/2005, you wrote: >| >Hello, >| > >| >I have a variety of systems that I inherited, with a variety of hardware >| >RAIDs. Most systems are 4.8-4.10. I want to be able to monitor the >| >various RAIDs reliably so that I can fix failures faster, but it is a >| >bear. >| > >| >META QUESTION: Can anyone wiser in the ways of SCSI offer a clue? Is >| > there a "best practices" approach to >| > monitoring hardware >| > RAIDs on FreeBSD? Or suggestions and advice on >| > formulating such an approach? >| >| LSI has a command line utility here: >| http://www.lsilogic.com/downloads/downloads.do?product=2414&download_typ e=all >| >| it's written for linux, but it might work under FreeBSD with linux >| emulation enabled. >| I haven't tried it yet, but I can later tonight. I'll post my findings to >| the list. > >No they won't work since there is no Linux compatibility shim for the >ioctl's. Also the MegaMonitor utilities leaks shared memory under >Linux and dies. Fixes from LSI are slow to come by. > >The updated version of the Linux tools do tend to work better. Running the >ancient FreeBSD MegaMonitor does bad things to your system. It may >work once or twice but can start breaking other programs on the system. > >Doug A. So if you aren't using MegaMonitor what are you people using to monitor these RAID controllers are you restarting the servers and looking at the BIOS information to know that everything is ok? Per From owner-freebsd-scsi@FreeBSD.ORG Thu Mar 24 15:43:06 2005 Return-Path: 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 E011016A4CE for ; Thu, 24 Mar 2005 15:43:06 +0000 (GMT) Received: from pigeon.infotechfl.com (mailrelay.infotechfl.com [209.251.147.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04AAA43D31 for ; Thu, 24 Mar 2005 15:43:06 +0000 (GMT) (envelope-from gmulder@infotechfl.com) Received: from [172.20.0.75] (gmulder.infotechfl.com [172.20.0.75]) by pigeon.infotechfl.com (8.11.6/8.11.6) with ESMTP id j2ODtY225261; Thu, 24 Mar 2005 08:55:34 -0500 Message-ID: <4242C6D5.4090704@infotechfl.com> Date: Thu, 24 Mar 2005 08:55:33 -0500 From: Gary Mulder User-Agent: Mozilla Thunderbird 1.0RC1 (Windows/20041201) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Per Hubinette References: <000801c53058$38093530$2ab4d850@pelle> In-Reply-To: <000801c53058$38093530$2ab4d850@pelle> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-scsi@freebsd.org Subject: Re: LSILogic MegaRAID and"camcontrol:cam_lookup_pass:CAMGETPASSTHRU ioctl failed X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2005 15:43:07 -0000 Per, This MegaRAID controllers have an audible alarm, which I have turned on on each system we have. Since I have to visit the lab once a day to rotate tapes I will hopefully know if one of the controllers is reporting a failed drive. Additionally FreeBSD will report the array as "degraded" in syslog, but I suspect only if you make FreeBSD probe the RAID controller (i.e. reboot). Please correct me if I am wrong. All round, not a good solution, so I'm moving to Adaptec 2200S controllers which, as Scott says, are well supported under FreeBSD. Gary Per Hubinette wrote: > So if you aren't using MegaMonitor what are you people using to monitor > these RAID controllers are you restarting > the servers and looking at the BIOS information to know that everything > is ok? > > Per From owner-freebsd-scsi@FreeBSD.ORG Thu Mar 24 18:47:14 2005 Return-Path: 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 D96E216A4CE for ; Thu, 24 Mar 2005 18:47:14 +0000 (GMT) Received: from amsfep15-int.chello.nl (nl-ams-slo-l4-01-pip-8.chellonetwork.com [213.46.243.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4DDC43D48 for ; Thu, 24 Mar 2005 18:47:13 +0000 (GMT) (envelope-from per.hubinette@cellip.com) Received: from pelle ([80.216.180.42]) by amsfep15-int.chello.nl (InterMail vM.6.01.03.04 201-2131-111-106-20040729) with ESMTP id <20050324184712.LETP2062.amsfep15-int.chello.nl@pelle>; Thu, 24 Mar 2005 19:47:12 +0100 From: "Per Hubinette" To: "'Gary Mulder'" Date: Thu, 24 Mar 2005 19:47:13 +0100 Message-ID: <003a01c530a1$e4f9c810$2ab4d850@pelle> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 In-Reply-To: <4242C6D5.4090704@infotechfl.com> Importance: Normal cc: freebsd-scsi@freebsd.org Subject: RE: LSILogic MegaRAID and "camcontrol:cam_lookup_pass:CAMGETPASSTHRU ioctl failed X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2005 18:47:15 -0000 Hmm, shouldn't it be possible to probe the RAID controller using some code from MegaMonitor or some other module. One just need to get some information during runtime. -Per -----Original Message----- From: Gary Mulder [mailto:gmulder@infotechfl.com] Sent: den 24 mars 2005 14:56 To: Per Hubinette Cc: freebsd-scsi@freebsd.org Subject: Re: LSILogic MegaRAID and "camcontrol:cam_lookup_pass:CAMGETPASSTHRU ioctl failed Per, This MegaRAID controllers have an audible alarm, which I have turned on on each system we have. Since I have to visit the lab once a day to rotate tapes I will hopefully know if one of the controllers is reporting a failed drive. Additionally FreeBSD will report the array as "degraded" in syslog, but I suspect only if you make FreeBSD probe the RAID controller (i.e. reboot). Please correct me if I am wrong. All round, not a good solution, so I'm moving to Adaptec 2200S controllers which, as Scott says, are well supported under FreeBSD. Gary Per Hubinette wrote: > So if you aren't using MegaMonitor what are you people using to monitor > these RAID controllers are you restarting > the servers and looking at the BIOS information to know that everything > is ok? > > Per From owner-freebsd-scsi@FreeBSD.ORG Thu Mar 24 19:01:36 2005 Return-Path: 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 9F2B916A4CE for ; Thu, 24 Mar 2005 19:01:36 +0000 (GMT) Received: from pigeon.infotechfl.com (mailrelay.infotechfl.com [209.251.147.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCE7143D3F for ; Thu, 24 Mar 2005 19:01:31 +0000 (GMT) (envelope-from gmulder@infotechfl.com) Received: from [172.20.0.75] (gmulder.infotechfl.com [172.20.0.75]) by pigeon.infotechfl.com (8.11.6/8.11.6) with ESMTP id j2OJ1T225120; Thu, 24 Mar 2005 14:01:30 -0500 Message-ID: <42430E84.8000508@infotechfl.com> Date: Thu, 24 Mar 2005 14:01:24 -0500 From: Gary Mulder User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Per Hubinette References: <003a01c530a1$e4f9c810$2ab4d850@pelle> In-Reply-To: <003a01c530a1$e4f9c810$2ab4d850@pelle> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-scsi@freebsd.org Subject: Re: LSILogic MegaRAID and"camcontrol:cam_lookup_pass:CAMGETPASSTHRU ioctl failed X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2005 19:01:36 -0000 Per, It should be possible, in that anything is possible given enough time and resources. However we use FreeBSD for its stability and security, so we want to use well-supported, able to be monitored, and reliable RAID controllers. Cost is much less of an issue, as compared to downtime. The MegaRAID controllers are unacceptable to us, given these requirements. Gary Per Hubinette wrote: > Hmm, shouldn't it be possible to probe the RAID controller using some > code from MegaMonitor or some other module. One just need to get some > information during runtime. > > -Per From owner-freebsd-scsi@FreeBSD.ORG Sat Mar 26 05:03:10 2005 Return-Path: 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 5676916A4CE for ; Sat, 26 Mar 2005 05:03:10 +0000 (GMT) Received: from nargothrond.kdm.org (nargothrond.kdm.org [70.56.43.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1FB243D5C for ; Sat, 26 Mar 2005 05:03:09 +0000 (GMT) (envelope-from ken@nargothrond.kdm.org) Received: from nargothrond.kdm.org (localhost [127.0.0.1]) by nargothrond.kdm.org (8.12.11/8.12.11) with ESMTP id j2Q52rqp059410; Fri, 25 Mar 2005 22:02:53 -0700 (MST) (envelope-from ken@nargothrond.kdm.org) Received: (from ken@localhost) by nargothrond.kdm.org (8.12.11/8.12.5/Submit) id j2Q52ju3059409; Fri, 25 Mar 2005 22:02:45 -0700 (MST) (envelope-from ken) Date: Fri, 25 Mar 2005 22:02:45 -0700 From: "Kenneth D. Merry" To: Henry Miller Message-ID: <20050326050245.GA59378@nargothrond.kdm.org> References: <380-220053222163355859@blackhole.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <380-220053222163355859@blackhole.com> User-Agent: Mutt/1.4.2i X-Virus-Scanned: ClamAV 0.83/788/Fri Mar 25 16:07:36 2005 on nargothrond.kdm.org X-Virus-Status: Clean cc: freebsd-scsi@freebsd.org Subject: Re: scsi_ch issues X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Mar 2005 05:03:10 -0000 On Tue, Mar 22, 2005 at 10:33:55 -0600, Henry Miller wrote: > > I posted a summery of this to -questions earlier this morning (you > can read it there if you want background), I've dug into it more, and > I think there is a bug in > cam/scsi/scsi_ch.c > function chgetelemstatus. > > The short summery is my tape changer says that PVOLTAG in pg_hdr is > FALSE, (or zeroed latter) in the first request of > scsi_read_element_status() (which freeBSD uses only to get the length > of the data) on one of my changers, and thus chio(1) will not show > the bar code label. pg_hdr is not updated to reflect the location > of result of the second call, when this flag is set. Worse, it looks > like the results of the first call is a dead pointer by the time it > checks anyway. Unless free/malloc work different in the kernel from > userland this is a problem. > > I've sniped out a lot of extra code so you can see what I mean. > > > data = (caddr_t)malloc(1024, M_DEVBUF, M_WAITOK); > --- Fill data to get size > pg_hdr = \* data + some offset *\ > /* > * Reallocate storage for descriptors and get them from the > * device. > */ > free(data, M_DEVBUF); > data = (caddr_t)malloc(size, M_DEVBUF, M_WAITOK); > --- Fill data > copy_element_status(softc, pg_hdr->flags, desc, ces); > > Note that pg_hdr is not valid at this point anyway. > > This more or less happens in 4.x, 5.x and current if I read the code > correctly. > > Can someone who knows kernel code better than I look at this. > Should I send a pr? > > Here is a patch against 4.9 (where I first found this problem) that > might help to understand the fix. I think it needs to be ported to > all versions. (and perhaps netbsd if there is where we get the > code?) > > > *** scsi_ch.c.old Tue Mar 22 11:16:15 2005 > --- scsi_ch.c Tue Mar 22 11:09:13 2005 > *************** > *** 1184,1189 **** > --- 1184,1192 ---- > * Fill in the user status array. > */ > st_hdr = (struct read_element_status_header *)data; > + pg_hdr = (struct read_element_status_page_header > *)((uintptr_t)st_hdr > + > + sizeof(struct read_element_status_header)); > + > avail = scsi_2btoul(st_hdr->count); > > if (avail != cesr->cesr_element_count) { I just checked this in as rev 1.42 of scsi_ch.c in -current. I put in a MFC request for RELENG_5, maybe it'll get in in time for 5.4. Thanks for the fix. Ken -- Kenneth Merry ken@kdm.org From owner-freebsd-scsi@FreeBSD.ORG Sat Mar 26 21:49:57 2005 Return-Path: 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 853F216A4CE; Sat, 26 Mar 2005 21:49:57 +0000 (GMT) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15C0643D46; Sat, 26 Mar 2005 21:49:57 +0000 (GMT) (envelope-from mi@aldan.algebra.com) Received: from aldan.algebra.com (mi@localhost [127.0.0.1]) by aldan.algebra.com (8.13.1/8.13.1) with ESMTP id j2QLnsHq023675 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 26 Mar 2005 16:49:56 -0500 (EST) (envelope-from mi@aldan.algebra.com) Received: (from mi@localhost) by aldan.algebra.com (8.13.1/8.13.1/Submit) id j2QLnsXC023674; Sat, 26 Mar 2005 16:49:54 -0500 (EST) (envelope-from mi) From: Mikhail Teterin Message-Id: <200503262149.j2QLnsXC023674@aldan.algebra.com> To: gibbs@FreeBSD.org, scsi@FreeBSD.org Date: Sat, 26 Mar 2005 16:49:53 -0500 (EST) X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7w y+z3/UR{6SCQ X-Mailer: ELM [version 2.4ME+ PL99b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Subject: troubles with Adaptec 2940 on amd64 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Mar 2005 21:49:57 -0000 Hello! I'm using IWill's DK8X motherboard with a single (for now) Opteron 246. The SCSI adapter is in a regular PCI slot, while I'm figuring out, what's wrong with my new PCI-X adapter. The Adaptec sees the drive (9Gb Cheetah) and I was able to install FreeBSD-5.4-BETA1 without any difficulty. However, after reboot I'm getting: ahc0: Timedout SCBs already complete. Interrupts may not be functioning Any suggestions? The same system ran Windows-XP 64-bit edition (off another disk on the same controller), and installed FreeBSD/amd64 without a problem too... Thanks for any hints! Yours, -mi