IDE ATA ATAPI tape drive (AST0) causes system to stop
responding.
Arjan Knepper
arjan at jak.nl
Wed Oct 22 13:22:04 PDT 2003
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 <Seagate STT20000A> 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: <Generic PCI ATA controller> 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: <Generic PCI ATA controller> 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 <LITEON DVD-ROM LTD163> at ata2-master PIO4
>>>>> ast0: TAPE <Seagate STT20000A> 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 at freebsd.org mailing list
>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
>>>> To unsubscribe, send any mail to
>>>> "freebsd-stable-unsubscribe at freebsd.org"
>>>>
>>>
>>> _______________________________________________
>>> freebsd-stable at freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
>>> To unsubscribe, send any mail to
>>> "freebsd-stable-unsubscribe at freebsd.org"
>>>
>>
>> _______________________________________________
>> freebsd-stable at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
>> To unsubscribe, send any mail to
>> "freebsd-stable-unsubscribe at freebsd.org"
>>
>>
>
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
>
>
More information about the freebsd-stable
mailing list