public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [BUG] Sym. 53c895 fails accessing tape device - kernel 2.9.1-rc1-bk1 trough rc2-bk12
@ 2004-09-29 15:47 Alexander Stohr
  2004-10-02 15:49 ` James Bottomley
  0 siblings, 1 reply; 7+ messages in thread
From: Alexander Stohr @ 2004-09-29 15:47 UTC (permalink / raw)
  To: linux-scsi; +Cc: matthew, akpm, James.Bottomley

Hello,

with latest update to a test kernel,
i was suddenly unable to access the data on my backup tapes.

the problem is not present for kernel 2.6.8.1
but it is verified from 2.9.1-rc1-bk1 till rc2-bk12
with some spaces and some variations in error.

in the beginning it merely looks like this:
  kernel: st0: Incorrect block size.

then it changed slightly to this:
  kernel: sym1:4:0:phase change 6-7 9@37d30f84 resid=6. 
  kernel: sym1:4:0:phase change 6-7 9@37d30f84 resid=6. 
  kernel: st0: Block limits 1 - 16777215 bytes. 
  kernel: sym1:4:0:phase change 6-7 9@37d30f84 resid=6. 
  kernel: sym1:4:0:phase change 6-7 9@37d30f84 resid=6. 
  kernel: st0: Incorrect block size. 
  kernel: sym1:4:0:phase change 6-7 9@37d30f84 resid=6.

for the latest revisions i only do get this:
  kernel: sym0:1:0:phase change 6-7 11@37d45f84 resid=6. 
  last message repeated 8 times
with variations of this:
  kernel: sym0:1:0:phase change 6-7 11@37d45f84 resid=6. 
  kernel: sym0:1:0:phase change 6-7 11@37d45f84 resid=6. 
  kernel: sym0:1:0:phase change 6-7 9@37d45f90 resid=6. 
  kernel: sym0:1:0:phase change 6-7 11@37d45f84 resid=6. 
  kernel: sym0:1:0:phase change 6-7 11@37d45f84 resid=6. 
  kernel: sym0:1:0:phase change 6-7 9@37d45f90 resid=6. 
  kernel: scsi(0:0:1:0): Domain Validation skipping write tests 
  kernel: scsi(0:0:1:0): Ending Domain Validation 
  kernel: sym0:1:0:phase change 6-7 11@37d45f84 resid=6. 
  kernel: ACPI: PCI interrupt 0000:00:0d.0[A] -> GSI 17 (level, low) -> IRQ
17 
  kernel: sym1: <810a> rev 0x12 at pci 0000:00:0d.0 irq 17 
  kernel: sym1: No NVRAM, ID 7, Fast-10, SE, parity checking 
  kernel: sym1: SCSI BUS has been reset. 
  kernel: scsi1 : sym-2.1.18j

i just tried commands like this:
  mt status
  mt rewind
  mt asf 0
  mt asf 1
  tar -tvf /dev/tape
the last three are the ones that do raise the misc problems.

i tested this by just replacing the scsi subdir for the 53c8xx
of a 2.6.9-rc2-bk12 kernel with the misc implementations.
Those sources are absolutely interchangeable as i spotted
neither kernel build errors nor did i have any problems
when using the files from 2.6.8.1 at this location.

thats the host adapter info from proc filesystem:
  Chip sym53c895, device id 0xc, revision id 0x1                            
     
  At PCI address 0000:00:0c.0, IRQ 16                                       
     
  Min. period factor 10, Wide SCSI BUS                                      
     
  Max. started commands 448, max. commands per LUN 32

and this is the bus information on devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: IBM      Model: IC35L036UWPR15-0 Rev: S70H
  Type:   Direct-Access                    ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: IBM-PSG  Model: DRHS36D       !# Rev: 0272
  Type:   Direct-Access                    ANSI SCSI revision: 03
Host: scsi1 Channel: 00 Id: 04 Lun: 00
  Vendor: SEAGATE  Model: DAT    9SP40-000 Rev: 910B
  Type:   Sequential-Access                ANSI SCSI revision: 03

The device is accessed via /dev/nst0, meaning the 
SCSI tape device without autmatic rewind.

I hope that is enough for you to understand whats
going odd in the recent versions of the kernel.
If you do need further information or do want me
to assist you in more advanced diagnostings
on that machine it should be feasible. I am able
to hack kernel code, but just the SCSI part is
an area where my understanding of the system
should get deepened somewhat, especially for that
changes you applied since the very last kernel release.

-Alex.

PS: please CC me on replys, i am not subscribed to the list.

-- 
GMX ProMail mit bestem Virenschutz http://www.gmx.net/de/go/mail
+++ Empfehlung der Redaktion +++ Internet Professionell 10/04 +++


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-10-03  9:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-29 15:47 [BUG] Sym. 53c895 fails accessing tape device - kernel 2.9.1-rc1-bk1 trough rc2-bk12 Alexander Stohr
2004-10-02 15:49 ` James Bottomley
2004-10-02 20:25   ` Kai Makisara
2004-10-02 21:50     ` James Bottomley
2004-10-02 22:28     ` James Bottomley
2004-10-03  9:07       ` [BUG] Sym. 53c895 fails accessing tape device - kernel2.9.1-rc1-bk1 " Alexander Stohr
2004-10-03  9:37         ` Kai Makisara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox