* Re: Streamer hang
@ 1997-05-17 15:29 Steven Kokinos
0 siblings, 0 replies; 5+ messages in thread
From: Steven Kokinos @ 1997-05-17 15:29 UTC (permalink / raw)
> However, any attempt to read or write to the tape results in a
>hung process. The tape light blinks for a second, and the process is
>stuck in state DW until reboot, keeping the load avg at 1. Nothing is
>actually read or written. "mt status" shows the following before hanging:
I don't have any ideas, but we experience similar problems (process going
into state D, load average sits at 1) with an Archive DAT autoloader
SCSI2. The only thing we found that helped was rebuilding the kernel
while disabling all options from the driver, i.e. no tagged command
queueing, no iomapped, etc. However, now though we don't frequently see
processes drop into D, we will see "unexpected CIA machine check, io
error" at some point during use of the tape drive. It works without
incident on other machines.
-Steve
--
Steven Kokinos - Web Developers Network - http://www.webdevelop.com/
steve@webdevelop.com - 60 Day free trial for developers!
Industry leading development environment, multiple T1 network.
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Streamer hang
@ 1997-05-17 15:09 Brian E.W. Wood
1997-05-17 15:49 ` Michal Jaegermann
0 siblings, 1 reply; 5+ messages in thread
From: Brian E.W. Wood @ 1997-05-17 15:09 UTC (permalink / raw)
> The tape is properly terminated (passive, but works on all other
>systems including those with an NCR53810 based controller), and there's
>nothing else on the SCSI bus except the internal Toshiba HD. The UDB runs
>kernel 2.0.27 with no modules; I'll try 2.0.30 and 2.1.38 to see if they
>make any difference.
I'd go with an active terminator. I had a lot of strange scsi problems,
especially with a tape drive, until I changed to a good active unit.
beww@intac.com - Brian E.W. Wood: Conserve Bandwidth, use one line sigs
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Streamer hang
1997-05-17 15:09 Brian E.W. Wood
@ 1997-05-17 15:49 ` Michal Jaegermann
1997-05-18 15:24 ` Miguel Barreiro Paz
0 siblings, 1 reply; 5+ messages in thread
From: Michal Jaegermann @ 1997-05-17 15:49 UTC (permalink / raw)
>
> > The tape is properly terminated (passive, but works on all other
> >systems including those with an NCR53810 based controller), and there's
> >nothing else on the SCSI bus except the internal Toshiba HD. The UDB runs
> >kernel 2.0.27 with no modules; I'll try 2.0.30 and 2.1.38 to see if they
> >make any difference.
>
> I'd go with an active terminator. I had a lot of strange scsi problems,
> especially with a tape drive, until I changed to a good active unit.
The tape may not like disconnects (an option to a driver, but set
at a compilation time). Also doing 'mt -f /dev/st0 setblk 0' may be
needed if this is a DAT tape.
Michal
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Streamer hang
1997-05-17 15:49 ` Michal Jaegermann
@ 1997-05-18 15:24 ` Miguel Barreiro Paz
0 siblings, 0 replies; 5+ messages in thread
From: Miguel Barreiro Paz @ 1997-05-18 15:24 UTC (permalink / raw)
On Sat, 17 May 1997, Michal Jaegermann wrote:
> The tape may not like disconnects (an option to a driver, but set
> at a compilation time). Also doing 'mt -f /dev/st0 setblk 0' may be
> needed if this is a DAT tape.
I've already tried to disallow disconnects and all the most
conservative settings.
This is strange; without a tape in the drive, "mt status" works:
# mt status
SCSI 1 tape drive:
File number=0, block number=0.
Tape block size 0 bytes. Density code 0x0 (default).
Soft error count since last status=0
General status bits on (40050000):
BOT DR_OPEN IM_REP_EN
#
When a tape is inserted, "mt status" works but never returns to
the shell and hungs in D state. Without a tape, "mt rewind" of course
complains with an "I/O error", and with a tape in the drive it hangs.
I can take the drive out of the SCSI chain (echo scsi
"remove-single-device 0 0 5 0" >/proc/scsi/scsi) but if I try to rescan
the SCSI bus ("...add-single-device...") it hangs too.
Regards,
Miguel
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Streamer hang
@ 1997-05-17 13:40 Miguel Barreiro Paz
0 siblings, 0 replies; 5+ messages in thread
From: Miguel Barreiro Paz @ 1997-05-17 13:40 UTC (permalink / raw)
Hi,
I often use an old Archive Viper 150 (SCSI-I tape) to move
files around. This old dinosaur works flawlessly on all kinds of machines
(Linux-i386, SysV on m68k, Suns) except my UDB. The firmware finds it on
boot and so does Linux; /proc/scsi/scsi shows it as
Host: scsi0 Channel: 00 Id: 05 Lun: 00
Vendor: ARCHIVE Model: VIPER 150 20000 Rev: -000
Type: Sequential-Access ANSI SCSI revision: 01
However, any attempt to read or write to the tape results in a
hung process. The tape light blinks for a second, and the process is
stuck in state DW until reboot, keeping the load avg at 1. Nothing is
actually read or written. "mt status" shows the following before hanging:
# mt status
SCSI 1 tape drive:
File number=-1, block number=-1.
Tape block size 512 bytes. Density code 0x0 (default).
Soft error count since last status=0
General status bits on (1010000):
ONLINE IM_REP_EN
With the BSD-ported driver, the system keeps on working once a
process is stuck on the tape; with the 53c7,8xx driver the whole system
hangs. The tape is properly terminated (passive, but works on all other
systems including those with an NCR53810 based controller), and there's
nothing else on the SCSI bus except the internal Toshiba HD. The UDB runs
kernel 2.0.27 with no modules; I'll try 2.0.30 and 2.1.38 to see if they
make any difference.
Any ideas?
Tnx in advance.
Regards,
Miguel
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1997-05-18 15:24 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-05-17 15:29 Streamer hang Steven Kokinos
-- strict thread matches above, loose matches on Subject: below --
1997-05-17 15:09 Brian E.W. Wood
1997-05-17 15:49 ` Michal Jaegermann
1997-05-18 15:24 ` Miguel Barreiro Paz
1997-05-17 13:40 Miguel Barreiro Paz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox