From owner-freebsd-stable@FreeBSD.ORG Wed Oct 22 13:22:03 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DCF2416A4B3 for ; Wed, 22 Oct 2003 13:22:03 -0700 (PDT) Received: from jak.nl (jak.nl [63.105.9.60]) by mx1.FreeBSD.org (Postfix) with SMTP id 5420D440AE for ; Wed, 22 Oct 2003 13:15:26 -0700 (PDT) (envelope-from arjan@jak.nl) Received: (qmail 36472 invoked by uid 89); 22 Oct 2003 20:07:00 -0000 Received: from 213-84-202-101.adsl.xs4all.nl (HELO jak.nl) (213.84.202.101) by jak.nl with SMTP; 22 Oct 2003 20:07:00 -0000 Message-ID: <3F96E664.6010006@jak.nl> Date: Wed, 22 Oct 2003 22:19:48 +0200 From: Arjan Knepper User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <3F953497.3060602@jak.nl> <3F953676.9090205@typhoon.co.jp> <3F953820.9020405@typhoon.co.jp> <3F96323E.6050702@jak.nl> In-Reply-To: <3F96323E.6050702@jak.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: IDE ATA ATAPI tape drive (AST0) causes system to stop responding. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2003 20:22:04 -0000 In addition: The tapedrive manual says: "ATAPI interface that supports DMA and PIO modes 0, 1, or 2 with 512 Kbytes on-drive data buffer to facilitate the most efficient use of the host computer and tape drive" dmesg says: "ast0: TAPE at ata2-slave PIO4" Does this mean the OS got it wrong? Anyway I setted the mode for the tape drive with atacontrol mode 2 XXX PIO2 and tried a few things like: mt retension (OK) mt rewind (OK) mt fsf 1 ( FAILED system lock-up, powercycle needed) So to me it seems to make no difference. Does anyone have a clue? What should I do next? Any help and suggestions are appreciated. Thanks Arjan Knepper Arjan Knepper wrote: > Thanks for the suggestions, I tried it but it doesn't seem to make any > difference, the problem still persists. > This morning the last two lines are the same as before: > AST0: rezero command timeout resetting > ATA2: resetting devices .. > > Powercycle was needed. > > Any other suggestion? > > TIA > Arjan > > N. Fung wrote: > >> Errata to my previous message: I should have said try putting these >> lines into your /boot/loader.conf.local: >> >> hw.ata.ata_dma=0 >> hw.ata.atapi_dma=0 >> >> Reboot and see if it helps. >> >> N. >> >> >> N. Fung wrote: >> >>> Arjan Knepper wrote: >>> >>>> Hello, >>>> >>>> Recently I installed a Dell PowerEdge 600 SC with FreeBSD >>>> 4.8-RELEASE-p13 for a client. This system has a Seagate STT20000A >>>> IDE tape drive which causes the system to stop responding when >>>> using the tape drive for backups. A hard powercycle is needed to >>>> get the system running again. >>> >>> >>> >>> >>> I had backup and gunzip problems with ATA on my PE600SC too. First, >>> try putting: >>> >>> hw.ata.ata_dma=0 >>> >>> into /boot/loader.conf.local >>> >>> first. >>> >>> That solved my ATA related problem on the PE600SC. >>> >>> N. >>> >>>> >>>> Today the last command issued is: >>>> mt fsf 1 >>>> >>>> The last two lines on the console are: >>>> >>>> AST0: rezero command timeout resetting >>>> ATA2: resetting devices .. >>>> >>>> But it also happend while writing or reading to or from the backup >>>> tape >>>> >>>> I have googled around and tried various suggestions but with no >>>> succes. >>>> >>>> I also tried FreeBSD-STABLE but problem persists. >>>> >>>> Does anyone have a clue what might be wrong? >>>> >>>> Thanks >>>> Arjan >>>> >>>> dmesg output: >>>> >>>>> atapci0: port >>>>> 0x900-0x90f,0x36c-0x36f,0x168-0x16f,0x3ec-0x3ef,0x1e8-0x1ef irq 11 >>>>> at device 14.0 >>>>> on pci0 >>>>> ata2: at 0x1e8 on atapci0 >>>>> ata3: at 0x168 on atapci0 >>>>> atapci1: port >>>>> 0x8b0-0x8bf,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at >>>>> device 15.1 on pci0 >>>>> ata0: at 0x1f0 irq 14 on atapci1 >>>>> ata1: at 0x170 irq 15 on atapci1 >>>> >>>> >>>> >>>> >>>> >>>>> acd0: DVD-ROM at ata2-master PIO4 >>>>> ast0: TAPE at ata2-slave PIO4 >>>> >>>> >>>> >>>> >>>> >>>> sysctl for ata >>>> >>>>> hw.ata.ata_dma: 1 >>>>> hw.ata.wc: 0 >>>>> hw.ata.tags: 0 >>>>> hw.ata.atapi_dma: 1 >>>> >>>> >>>> >>>> >>>> >>>> kernel config >>>> >>>>> # ATA and ATAPI devices >>>>> device ata >>>>> device atadisk # ATA disk drives >>>>> device atapicd # ATAPI CDROM drives >>>>> device atapifd # ATAPI floppy drives >>>>> device atapist # ATAPI tape drives >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> freebsd-stable@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >>>> To unsubscribe, send any mail to >>>> "freebsd-stable-unsubscribe@freebsd.org" >>>> >>> >>> _______________________________________________ >>> freebsd-stable@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >>> To unsubscribe, send any mail to >>> "freebsd-stable-unsubscribe@freebsd.org" >>> >> >> _______________________________________________ >> freebsd-stable@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> To unsubscribe, send any mail to >> "freebsd-stable-unsubscribe@freebsd.org" >> >> > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > >