From owner-freebsd-scsi Mon Oct 29 11:55: 6 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from koza.acecape.com (koza2.acecape.com [66.9.36.222]) by hub.freebsd.org (Postfix) with ESMTP id D7D9B37B406; Mon, 29 Oct 2001 11:55:00 -0800 (PST) Received: from p65-147.acedsl.com (p65-147.acedsl.com [66.114.65.147]) by koza.acecape.com (8.10.1/8.9.3) with ESMTP id f9TJsjo09538; Mon, 29 Oct 2001 14:54:46 -0500 (EST) Date: Mon, 29 Oct 2001 14:53:28 -0500 (EST) From: Francisco Reyes X-X-Sender: fran@zoraida.natserv.net To: Alexey Koptsevich Cc: scsi@FreeBSD.ORG, Subject: Re: reliable HDD brand In-Reply-To: Message-ID: <20011029145028.N51234-100000@zoraida.natserv.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 27 Sep 2001, Alexey Koptsevich wrote: > I would like to buy IDE HDDs for RAID, 40 Gb. Which IDE HDD brand is more > reliable? Any useful links, your experience? For the moment we have chosen > IBM Ericsson. Catchin up with my lists... Take a look at storagereview.com I look at this site at least 3 to 4 times a week. Lots of info about HDs including reliability, performance and recently even reviews on noise. In particular try and read the forums regularly. As for those asking why SCSI disks are better it is usually because components and manufacturing of SCSI drives is better. SCSI drives are usually so much better than SCSI that almost 3 years ago I bought some used SCSI drives for $75 and those drives have survived longer than several brand new IDEs (IBM and Quantum). My only two issues with SCSI are the price and the noise. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Oct 29 12:10:49 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from cthulu.compt.com (cthulu.compt.com [209.115.146.10]) by hub.freebsd.org (Postfix) with ESMTP id 1249537B406 for ; Mon, 29 Oct 2001 12:10:46 -0800 (PST) Date: Mon, 29 Oct 2001 15:10:42 -0500 (EST) From: Andrew Prior To: Subject: Target mode help Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, I'm trying to start in on a project that requires target mode support, and I'm looking for a little help to get me started. I hope this is the right place, if not, please accept my apologies and please direct me to the correct place. I'm pretty familar with linux, and pretty familiar with SCSI, but not so much with freeBSD, so please forgive me if I've overlooked something obvious. I compiled a new kernel with the "targ" and "targbh" devices included in the conf file, booted into that kernel, and have tried the scsi_target example program but it's always complaining "Controller does not support target mode1" and "TARGCTLIOALLOCUNIT: Device not configured" no matter what I do. It's not clear to me what options I should be using for the scsi_target program, but I seem to get these messages all the time. The computer has a supermicro 370DE6 motherboard that has two onboard AIC-7899 controllers. I see that the controllers are recognized as ahc0 and ahc1, but it complains about data parity errors for some reason. When the computer boots up that's connected to one of those buses, the controller reports a bus reset. I created the /dev/targ.ctl device as well as /dev/targ0, and I think the correct call to the sample program (that produces the errors above) is "scsi_target -p 0 -t 7 -l 0" since the adaptor at the other end of the SCSI bus is set to ID 7. I've tried lots of varients, but it keeps complaining that the controller doesn't support target mode when I'm pretty sure it should. If anybody can give me a push in the right direction, or point me to a good tutorial, book, or other documentation then I would very much appreciate it. Thanks! - Andrew ============================================================================== Andrew Prior Senior Programmer - Command Post/ToyBox (416) 585-9995 x453 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Oct 29 12:13:18 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from beppo.feral.com (beppo.feral.com [192.67.166.79]) by hub.freebsd.org (Postfix) with ESMTP id 56C8E37B409 for ; Mon, 29 Oct 2001 12:13:01 -0800 (PST) Received: from wonky.feral.com (wonky.feral.com [192.67.166.7]) by beppo.feral.com (8.11.3/8.11.3) with ESMTP id f9TKCsH95608; Mon, 29 Oct 2001 12:12:54 -0800 (PST) (envelope-from mjacob@feral.com) Date: Mon, 29 Oct 2001 12:12:54 -0800 (PST) From: Matthew Jacob Reply-To: To: Andrew Prior Cc: Subject: Re: Target mode help In-Reply-To: Message-ID: <20011029121131.N36944-100000@wonky.feral.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Do you have device targ device targbh as devices? do you have options AHC_TARGET_MODE in your config file? On Mon, 29 Oct 2001, Andrew Prior wrote: > Hello, > I'm trying to start in on a project that requires target mode support, and > I'm looking for a little help to get me started. I hope this is the right > place, if not, please accept my apologies and please direct me to the > correct place. I'm pretty familar with linux, and pretty familiar with SCSI, > but not so much with freeBSD, so please forgive me if I've overlooked > something obvious. > > I compiled a new kernel with the "targ" and "targbh" devices included > in the conf file, booted into that kernel, and have tried the scsi_target > example program but it's always complaining "Controller does not support > target mode1" and "TARGCTLIOALLOCUNIT: Device not configured" no matter > what I do. It's not clear to me what options I should be using for > the scsi_target program, but I seem to get these messages all the time. > > The computer has a supermicro 370DE6 motherboard that has two onboard > AIC-7899 controllers. I see that the controllers are recognized as ahc0 > and ahc1, but it complains about data parity errors for some reason. When > the computer boots up that's connected to one of those buses, the controller > reports a bus reset. > > I created the /dev/targ.ctl device as well as /dev/targ0, and I think the > correct call to the sample program (that produces the errors above) is > "scsi_target -p 0 -t 7 -l 0" since the adaptor at the other end of the > SCSI bus is set to ID 7. I've tried lots of varients, but it keeps > complaining that the controller doesn't support target mode when I'm > pretty sure it should. > > If anybody can give me a push in the right direction, or point me to > a good tutorial, book, or other documentation then I would very much > appreciate it. > > Thanks! > > - Andrew > > ============================================================================== > Andrew Prior Senior Programmer - Command Post/ToyBox (416) 585-9995 x453 > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-scsi" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Oct 29 12:14:26 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from beppo.feral.com (beppo.feral.com [192.67.166.79]) by hub.freebsd.org (Postfix) with ESMTP id 3D5F737B401 for ; Mon, 29 Oct 2001 12:14:21 -0800 (PST) Received: from wonky.feral.com (wonky.feral.com [192.67.166.7]) by beppo.feral.com (8.11.3/8.11.3) with ESMTP id f9TKEGH95995; Mon, 29 Oct 2001 12:14:16 -0800 (PST) (envelope-from mjacob@feral.com) Date: Mon, 29 Oct 2001 12:14:16 -0800 (PST) From: Matthew Jacob Reply-To: To: Andrew Prior Cc: Subject: Re: Target mode help In-Reply-To: <20011029121131.N36944-100000@wonky.feral.com> Message-ID: <20011029121340.M36944-100000@wonky.feral.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Make that: # Bitmap of units to enable targetmode operations. options AHC_TMODE_ENABLE=XXX where XXX is the bitmap of units you want in target mode (e.g., 0x1 for unit 0, 0x3 for units 0 && 1...) On Mon, 29 Oct 2001, Matthew Jacob wrote: > > Do you have > > device targ > device targbh > > as devices? > > do you have > > options AHC_TARGET_MODE > > in your config file? > > On Mon, 29 Oct 2001, Andrew Prior wrote: > > > Hello, > > I'm trying to start in on a project that requires target mode support, and > > I'm looking for a little help to get me started. I hope this is the right > > place, if not, please accept my apologies and please direct me to the > > correct place. I'm pretty familar with linux, and pretty familiar with SCSI, > > but not so much with freeBSD, so please forgive me if I've overlooked > > something obvious. > > > > I compiled a new kernel with the "targ" and "targbh" devices included > > in the conf file, booted into that kernel, and have tried the scsi_target > > example program but it's always complaining "Controller does not support > > target mode1" and "TARGCTLIOALLOCUNIT: Device not configured" no matter > > what I do. It's not clear to me what options I should be using for > > the scsi_target program, but I seem to get these messages all the time. > > > > The computer has a supermicro 370DE6 motherboard that has two onboard > > AIC-7899 controllers. I see that the controllers are recognized as ahc0 > > and ahc1, but it complains about data parity errors for some reason. When > > the computer boots up that's connected to one of those buses, the controller > > reports a bus reset. > > > > I created the /dev/targ.ctl device as well as /dev/targ0, and I think the > > correct call to the sample program (that produces the errors above) is > > "scsi_target -p 0 -t 7 -l 0" since the adaptor at the other end of the > > SCSI bus is set to ID 7. I've tried lots of varients, but it keeps > > complaining that the controller doesn't support target mode when I'm > > pretty sure it should. > > > > If anybody can give me a push in the right direction, or point me to > > a good tutorial, book, or other documentation then I would very much > > appreciate it. > > > > Thanks! > > > > - Andrew > > > > ============================================================================== > > Andrew Prior Senior Programmer - Command Post/ToyBox (416) 585-9995 x453 > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-scsi" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Oct 29 12:19:29 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from cthulu.compt.com (cthulu.compt.com [209.115.146.10]) by hub.freebsd.org (Postfix) with ESMTP id BC75137B406 for ; Mon, 29 Oct 2001 12:19:26 -0800 (PST) Date: Mon, 29 Oct 2001 15:19:19 -0500 (EST) From: Andrew Prior To: Matthew Jacob Cc: Subject: Re: Target mode help In-Reply-To: <20011029121340.M36944-100000@wonky.feral.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, 29 Oct 2001, Matthew Jacob wrote: > Make that: > > # Bitmap of units to enable targetmode operations. > options AHC_TMODE_ENABLE=XXX > > where XXX is the bitmap of units you want in target mode > (e.g., 0x1 for unit 0, 0x3 for units 0 && 1...) Ahhh... OK, I just started looking for the AHC_TARGET_MODE in the LINT file and noticed the AHC_TMODE_ENABLE flag. Since I saw that aic7xxx_freebsd.h had AHC_TARGET_MODE set to 1, I didn't think I needed to do anything else like that in the conf file. I already had the "targ" and "targbh" which I had picked up from scouring google and deja, but I missed that one. I'll give that a shot. Thanks! - Andrew ============================================================================== Andrew Prior Senior Programmer - Command Post/ToyBox (416) 585-9995 x453 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Oct 29 17:50:19 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from cph3eusosrv3.cph.ops.eu.uu.net (cph3eusosrv3.cph.ops.eu.uu.net [146.188.104.167]) by hub.freebsd.org (Postfix) with ESMTP id CFFD437B401 for ; Mon, 29 Oct 2001 17:49:36 -0800 (PST) Received: from DKS014.devi.net (mail.devi.com [195.24.10.147]) by cph3eusosrv3.cph.ops.eu.uu.net (8.9.3/8.9.3) with ESMTP id BAA26520 for ; Tue, 30 Oct 2001 01:49:34 GMT From: LifeCompanies8@excite.com Received: from mta.excite.com ([199.174.53.242]) by DKS014.devi.net with Microsoft SMTPSVC(5.0.2195.2966); Tue, 30 Oct 2001 02:50:10 +0100 Message-ID: <000027da453e$00003541$00005be7@mta.excite.com> To: Subject: Low Cost Term Life Insurance DNG Date: Mon, 29 Oct 2001 19:49:33 -1800 MIME-Version: 1.0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Reply-To: LifeCompanies8@excite.com X-OriginalArrivalTime: 30 Oct 2001 01:50:10.0994 (UTC) FILETIME=[35D3E120:01C160E5] Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org

     =              Term Quotes    Life Insurance Companies

    &nb= sp;       

 

 

  Since 1996, t= erm life insurance rates have been reduced by as much as 70%

40 year old male - $250,000 - 10 year level termAs low as $10.44 per month!

At TermQuotes Life Insurance Companies of America, we will = survey the top life insurance companies for you and provide you with = the best rates available. The quote is free. There is no obligatio= n to buy. Compare the rates and see for yourself. Fill out this qui= ck form below for further information.

Results of computer sur= vey 07-09-01
Sample An= nual Premiums
* 10 Year Level Premium Term Rates *
Age $250,000<= /B> $500,000<= /B> $1,000,000
35 $115 $175 $305
45 $210 $375 $670
55 $500 $935 $1,370
65 $1,305 $2,550 $4,920
70 $2,265 $4,480 $7,510

= *Above rates guaranteed to remain lev= el for 10 years
Rates based on male preferred class 1 non-smoker
Policies are guaranteed renewable to age 95

Policies with 15, 20, 25, and 30 = year level premiums also available

Attention All Smoke= rs,
you may qualify for special reduced smoker rates!

Universal Life, Second-to-Die a= nd Estate Planning products also provided.

Submit Thi= s Form for a Free Term Insurance Quote!

<= /TR>
Name Insured: 
Amount of Coverage: &nb= sp;
Date of Birth: Month   Day Y= ear
Sex:  Male Female
Height:  FT in
Weight:  lbs.
Occupation: 
x= xx
Have You Ever Had:
High Blood Pressure  Ye= s No
Heart Attack or Stroke  Yes No
Cancer  Yes = No
Diabetes  Yes No
Mother, Father, Sister, Brother Diagnosed or Died of Cancer or Cardiovascular Disease Before Age 60  Yes No
Have You  Smoked Within= the Last 12 Months  Yes No
xxx<= /font>
Person Completing Request= : 
Mailing Address:  =
City:  State Zip
Daytime Phone: 
Evening Phone:  
Email Address:  
Best time to contact:

When you click submit it may start your spell= check, so please click "Ignore" if it does.

 
Y= OUR INTERNET ADVERTISING
Copyright=FFFFFFA92000-2001 . All Rights Reserved

This could be your ad!

Email Us with your name and a good phone number to reach yo= u.

If you think, that you will not benefit from this correspondence, pl= ease click = here.

To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Tue Oct 30 5:43: 4 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from mout1.freenet.de (mout1.freenet.de [194.97.50.132]) by hub.freebsd.org (Postfix) with ESMTP id 7960637B406 for ; Tue, 30 Oct 2001 05:43:00 -0800 (PST) Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout1.freenet.de with esmtp (Exim 3.33 #1) id 15yZAR-0002bY-00; Tue, 30 Oct 2001 14:42:59 +0100 Received: from b821c.pppool.de ([213.7.130.28] helo=Magelan.Leidinger.net) by mx3.freenet.de with esmtp (Exim 3.33 #3) id 15yZAQ-0001ic-00; Tue, 30 Oct 2001 14:42:58 +0100 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.11.6/8.11.6) with ESMTP id f9UD9bD05779; Tue, 30 Oct 2001 14:09:38 +0100 (CET) (envelope-from netchild@Leidinger.net) Message-Id: <200110301309.f9UD9bD05779@Magelan.Leidinger.net> Date: Tue, 30 Oct 2001 14:09:36 +0100 (CET) From: Alexander Leidinger Subject: Re: repeating medium errors and error from "camcontrol defects" To: ken@kdm.org Cc: scsi@FreeBSD.ORG In-Reply-To: <20011027160051.A66375@panzer.kdm.org> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 27 Okt, Kenneth D. Merry wrote: >> > Then, write zeroes to the bad block to force the drive to remap it. >> >> Is there a way to determine the file which is affected? I didn't want >> just wrote zeros to it if I didn't know which file this affects. Maybe >> I'm able to replace the file from a backup after or before overwritting >> the block . > > I don't know how you'd do that. It's probably possible to dissect the > filesystem information to figure it out, but I don't know how to do that. I'm at least able to determine the partition which contains the bad block: http://www.leidinger.net/FreeBSD/b2i.c "b2i" means "block to inode", but this is misleading at the moment, "b2p" (block to partition) or "bip" (block in partition) is the actual semantic of b2i.c. At the moment I try to squeeze some information (or pointers to docs) about the on disk layout of FFS out of fs@freebsd.org. bde suggested to just compare the files on the partition with the backup or just to read every file on it and see which one produces errors (I'm going to do this now), but I think a dedicated program which does the phys block -> filename mapping needs less resources on a possible heavy loaded system. Bye, Alexander. -- It's not a bug, it's tradition! http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Tue Oct 30 8:10:27 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by hub.freebsd.org (Postfix) with ESMTP id B9D0037B401 for ; Tue, 30 Oct 2001 08:10:24 -0800 (PST) Received: (from uucp@localhost) by srv1.cosmo-project.de (8.11.0/8.11.0) with UUCP id f9UGAC279192; Tue, 30 Oct 2001 17:10:12 +0100 (CET) Received: from mail.cicely.de (cicely20.cicely.de [10.1.1.22]) by cicely5.cicely.de (8.12.1/8.12.1) with ESMTP id f9UG7WSe081739; Tue, 30 Oct 2001 17:07:33 +0100 (CET)?g (envelope-from ticso@cicely8.cicely.de) Received: from cicely8.cicely.de (cicely8.cicely.de [10.1.2.10]) by mail.cicely.de (8.11.0/8.11.0) with ESMTP id f9UG7AF16151; Tue, 30 Oct 2001 17:07:10 +0100 (CET) Received: (from ticso@localhost) by cicely8.cicely.de (8.11.4/8.11.4) id f9UG72q00792; Tue, 30 Oct 2001 17:07:03 +0100 (CET) (envelope-from ticso) Date: Tue, 30 Oct 2001 17:07:02 +0100 From: Bernd Walter To: Alexander Leidinger Cc: ken@kdm.org, scsi@FreeBSD.ORG Subject: Re: repeating medium errors and error from "camcontrol defects" Message-ID: <20011030170702.A466@cicely8.cicely.de> References: <20011027160051.A66375@panzer.kdm.org> <200110301309.f9UD9bD05779@Magelan.Leidinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200110301309.f9UD9bD05779@Magelan.Leidinger.net> User-Agent: Mutt/1.3.23i X-Operating-System: FreeBSD cicely8.cicely.de 5.0-CURRENT i386 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Oct 30, 2001 at 02:09:36PM +0100, Alexander Leidinger wrote: > On 27 Okt, Kenneth D. Merry wrote: > At the moment I try to squeeze some information (or pointers to docs) > about the on disk layout of FFS out of fs@freebsd.org. bde suggested to > just compare the files on the partition with the backup or just to read > every file on it and see which one produces errors (I'm going to do this > now), but I think a dedicated program which does the phys block -> > filename mapping needs less resources on a possible heavy loaded system. A directory entry (filename) points to an inode, which directly and indirectly points to the logical blocks inside the partition. There are no references for the way back. So the only way to find out is to traverse the directorys and inodes until you have found the inode and then to continue with the directorys until you found all remaining directory enties. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Tue Oct 30 8:29:28 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from mout0.freenet.de (mout0.freenet.de [194.97.50.131]) by hub.freebsd.org (Postfix) with ESMTP id 6795D37B408 for ; Tue, 30 Oct 2001 08:29:25 -0800 (PST) Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout0.freenet.de with esmtp (Exim 3.33 #1) id 15yblU-00058u-00; Tue, 30 Oct 2001 17:29:24 +0100 Received: from b821c.pppool.de ([213.7.130.28] helo=Magelan.Leidinger.net) by mx3.freenet.de with esmtp (Exim 3.33 #3) id 15yblQ-00087w-00; Tue, 30 Oct 2001 17:29:20 +0100 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.11.6/8.11.6) with ESMTP id f9UGTAD07707; Tue, 30 Oct 2001 17:29:11 +0100 (CET) (envelope-from netchild@Leidinger.net) Message-Id: <200110301629.f9UGTAD07707@Magelan.Leidinger.net> Date: Tue, 30 Oct 2001 17:29:09 +0100 (CET) From: Alexander Leidinger Subject: Re: repeating medium errors and error from "camcontrol defects" To: ticso@cicely8.cicely.de Cc: ken@kdm.org, scsi@FreeBSD.ORG In-Reply-To: <20011030170702.A466@cicely8.cicely.de> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 30 Okt, Bernd Walter wrote: >> At the moment I try to squeeze some information (or pointers to docs) >> about the on disk layout of FFS out of fs@freebsd.org. bde suggested to >> just compare the files on the partition with the backup or just to read >> every file on it and see which one produces errors (I'm going to do this >> now), but I think a dedicated program which does the phys block -> >> filename mapping needs less resources on a possible heavy loaded system. > > A directory entry (filename) points to an inode, which directly and > indirectly points to the logical blocks inside the partition. > There are no references for the way back. > So the only way to find out is to traverse the directorys and inodes > until you have found the inode and then to continue with the directorys > until you found all remaining directory enties. That's what I want to do. Bye, Alexander. -- Reboot America. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Thu Nov 1 15:21:38 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from smtpzilla2.xs4all.nl (smtpzilla2.xs4all.nl [194.109.127.138]) by hub.freebsd.org (Postfix) with ESMTP id 941F037B401; Thu, 1 Nov 2001 15:21:25 -0800 (PST) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by smtpzilla2.xs4all.nl (8.12.0/8.12.0) with ESMTP id fA1NLM5M004674; Fri, 2 Nov 2001 00:21:23 +0100 (CET) Received: (from wkb@localhost) by freebie.xs4all.nl (8.11.6/8.11.6) id fA1NLMt07752; Fri, 2 Nov 2001 00:21:22 +0100 (CET) (envelope-from wkb) Date: Fri, 2 Nov 2001 00:21:22 +0100 From: Wilko Bulte To: freebsd-scsi@freebsd.org, freebsd-hackers@freebsd.org Subject: ahc(4) reports PCI parity error interrupt Message-ID: <20011102002122.A7708@freebie.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-OS: FreeBSD 4.4-STABLE X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi I'm looking for comments on the following: ahc0: PCI error Interrupt at seqaddr = 0x8 ahc0: Data Parity Error Detected during address or write data phase ahc0: PCI error Interrupt at seqaddr = 0x9 ahc0: Data Parity Error Detected during address or write data phase ahc0: PCI error Interrupt at seqaddr = 0x9 ahc0: Data Parity Error Detected during address or write data phase ahc0: PCI error Interrupt at seqaddr = 0x8 ahc0: Data Parity Error Detected during address or write data phase ahc0: PCI error Interrupt at seqaddr = 0x8 I've also experienced system lockups & panics. This happens exclusively while doing: - considerable disk I/O (buildworld) via ahc0 - watching TV via fxtv on a WinTV Primio It feels like the datastream of the WinTV into the framebuffer (Matrox G200 AGP) gets in the way with the data from/to the Adaptec 29160. I ran the same systemdisk & all expansion cards in a PII-266 with Intel chipset without any issue. The K7V is rock stable as long as I keep my fingers from fxtv. Suggestions on how to analyse/workaround this issue are most welcome. Anything in the BIOS setup maybe? Wilko ======= background data ============== FreeBSD freebie.xs4all.nl 4.4-STABLE FreeBSD 4.4-STABLE #0: Thu Nov 1 23:47:04 CET 2001 root@freebie.xs4all.nl:/usr/src/sys/compile/FREEBIE i386 Mainboard: Asus K7V (VIA based, brandnew) with Athlon 700 Also occured on a VIA based Abit KA7 (I got the Asus as the Abit died on me) SCSI: freebie# camcontrol devlist at scbus0 target 0 lun 0 (pass0,da0) at scbus0 target 3 lun 0 (pass1,cd0) dmesg: FreeBSD 4.4-STABLE #0: Thu Nov 1 23:47:04 CET 2001 root@freebie.xs4all.nl:/usr/src/sys/compile/FREEBIE Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 700029024 Hz CPU: AMD Athlon(tm) Processor (700.03-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x621 Stepping = 1 Features=0x183f9ff AMD Features=0xc0400000 real memory = 268353536 (262064K bytes) avail memory = 257622016 (251584K bytes) Preloaded elf kernel "kernel" at 0xc038f000. Preloaded elf module "agp.ko" at 0xc038f09c. Pentium Pro MTRR support enabled Using $PIR table, 8 entries at 0xc00f15e0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 agp0: mem 0xe4000000-0xe7ffffff at device 0.0 on pci0 pcib2: at device 1.0 on pci0 pci1: on pcib2 pci1: at 0.0 irq 11 isab0: at device 4.0 on pci0 isa0: on isab0 atapci0: port 0xd800-0xd80f at device 4.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 uhci0: port 0xd400-0xd41f irq 5 at device 4.2 on pci 0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xd000-0xd01f irq 5 at device 4.3 on pci 0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered xl0: <3Com 3c905-TX Fast Etherlink XL> port 0xa400-0xa43f irq 5 at device 9.0 on pci0 xl0: Ethernet address: 00:60:08:09:b7:41 miibus0: on xl0 nsphy0: on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcm0: port 0x8800-0x8803,0x9000-0x9003,0x9400-0x940f,0x9800-0x980f ,0xa000-0xa03f irq 15 at device 10.0 on pci0 ahc0: port 0x8400-0x84ff mem 0xe0000000-0x e0000fff irq 10 at device 11.0 on pci0 aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/255 SCBs ahc1: port 0x8000-0x80ff mem 0xdf800000-0xdf80 0fff irq 11 at device 12.0 on pci0 aic7880: Ultra Wide Channel A, SCSI Id=7, 16/255 SCBs bktr0: mem 0xe2000000-0xe2000fff irq 5 at device 13.0 on pci0 iicbb0: on bti2c0 iicbus0: on iicbb0 master-only iicsmb0: on iicbus0 smbus0: on iicsmb0 smb0: on smbus0 smbus1: on bti2c0 smb1: on smbus1 bktr0: Hauppauge Model 61204 AMA bktr0: Hauppauge WinCast/TV, Philips PAL I tuner. pci0: (vendor=0x109e, dev=0x0878) at 13.1 irq 5 pcib1: on motherboard pci2: on pcib1 orm0: