Date: Wed, 12 Mar 1997 18:30:02 -0800 (PST) From: "Jin Guojun[ITG]" <jin@george.lbl.gov> To: freebsd-bugs Subject: Re: kern/2965: st0 hang/fail on reading 4mm DAT tape for larger files Message-ID: <199703130230.SAA27272@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/2965; it has been noted by GNATS. From: "Jin Guojun[ITG]" <jin@george.lbl.gov> To: se@freebsd.org Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: kern/2965: st0 hang/fail on reading 4mm DAT tape for larger files Date: Wed, 12 Mar 1997 18:28:41 -0800 } > script cmd = 89030000 } > reg: da 10 80 13 47 88 04 1f 01 01 84 21 80 01 99 00. } > ncr0: have to clear fifos. } > ncr0: restart (fatal error). } > st0(ncr0:4:0): COMMAND FAILED (9 ff) @f2136c00. } > ncr0: timeout ccb=f2136c00 (skip) } > } > The tar process cannot be killed. The only solution is power } > cycle the tape drive. } > } > The same hardware worked with 2.1.{6-7} without any problem. } > So, it looks like software problem in the kernel somewhere. } } Well, it looks like the error recovery fails, and there } is actually a difference between 2.1 and 2.2, but with } 2.2 surviving a number of scenarios where 2.1 hung. } } I know that the error recovery code needs quite some work, } but the primary cause of your problem is more likely } related to a SCSI bus problem, which is only visible by } the failed recovery procedure. } } I'm using a HP1533A DDS-2 DAT drive for my backups and } to exchange data, and never had a single occurance of a } hang under any -current (i.e. post 2.1 kernel). } } Please make sure that there is no problem with your } controller or SCSI bus cable/terminators/terminator } power ... } } Regards, STefan Here is more accurate information. Eventhough both 2.1.7 and 2.2-SNAP run on the same hardware, but they are on different hard drives. 2.2-SNAP is on IDE drive, and 2.1.7 was plugged on SCSI bus when it is booted. So, put a SCSI disk drive on the SCSI chain helped the SCSI tape drive to work. So, put 2.1.7 on an IDE drive to test the tape drive, it got the similar errors. But, the 2.1.7 does not hang the process, and 2.2 does. Thanks, -Jin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703130230.SAA27272>