[628] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

strange behaviour from SCSI CDROM

daemon@ATHENA.MIT.EDU (joe@amber.dinoco.de)
Mon Sep 18 18:40:23 1995

From: joe@amber.dinoco.de
To: linux-scsi@vger.rutgers.edu (scsi list)
Date: Mon, 18 Sep 1995 20:03:42 +0000 (GMT)

Hi folks!

Today I had to copy something from my CDROM (NEC CDR210, ID 1) to my second
harddrive (FUJITSU 2654, ID 0 on same controller). The 'cp' command didn't
return. After a while I got suspicious, and recognized the FUJITSU drive
*WAS NO LONGER RUNNING AT ALL*!!
After a reboot (reset, 'cause all partitions on the drive could not be unmounted ;-)
I found that 32768 bytes had been copied from the cdrom to the drive. I repeated
the 'cp' and got *EXACTLY* the same result. I then rebooted and copied from the
cdrom to my first (EIDE) drive - the FUJITSU turned off at roughly 147000 bytes
(although it wasn't accessed during the process), and 'cp' never finished.
(BTW, the size of the file is roughly 300K).

I inspected /var/adm/messages, and found the following 2 lines for each of the
events:

Sep 18 19:27:13 joebox kernel: scsi0 : resetting for second half of retries.
Sep 18 19:27:13 joebox kernel: scsi0 : DANGER : NCR53c7xx_reset is NOP

My config is as follows:

Intel Plato MB, 90 Mhz (no fdiv bug), 16MB RAM
Diamond stealth 64 PCI, 2MB VRAM
Original NCR 8250S PCI-to-SCSI host adapter (NCR 53c825)
Sound blaster pro (orig)
hercules graphics card
NE2000 clone

The SCSI board probe looks as follows:

scsi-ncr53c7,8xx : at PCI bus 0, device 14,  function 0
scsi-ncr53c7,8xx : NCR53c825 at memory 0xffbffc00, io 0xfc00, irq 9
scsi0 : using io mapped access
scsi0 : using initiator ID 7
scsi0 : using level active interrupts
scsi0 : burst length 8
scsi0 : using 40MHz SCSI clock
scsi0 : NCR code relocated to 0x1ef0f0
scsi0 : test 1 started
scsi0 : NCR53c{7,8}xx (rel 4)
scsi : 1 host.
  Vendor: FUJITSU   Model: M2624F-512        Rev: 0405
  Type:   Direct-Access                      ANSI SCSI revision: 01 CCS
Detected scsi disk sda at scsi0, id 0, lun 0
  Vendor: NEC       Model: CD-ROM DRIVE:210  Rev: 1.0 
  Type:   CD-ROM                             ANSI SCSI revision: 01
Detected scsi CD-ROM sr0 at scsi0, id 1, lun 0
scsi : detected 1 SCSI cdrom 1 SCSI disk total.
SCSI Hardware sector size is 512 bytes on device sda

Kernel version is 1.2.13, SCSI options:
#
# SCSI support
#
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
CONFIG_BLK_DEV_SR=y
# CONFIG_CHR_DEV_SG is not set
# CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_AHA152X is not set
# CONFIG_SCSI_AHA1542 is not set
# CONFIG_SCSI_AHA1740 is not set
# CONFIG_SCSI_AHA274X is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_EATA_DMA is not set
# CONFIG_SCSI_U14_34F is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GENERIC_NCR5380 is not set
CONFIG_SCSI_NCR53C7xx=y
# CONFIG_SCSI_IN2000 is not set
# CONFIG_SCSI_PAS16 is not set
# CONFIG_SCSI_QLOGIC is not set
# CONFIG_SCSI_SEAGATE is not set
# CONFIG_SCSI_T128 is not set
# CONFIG_SCSI_ULTRASTOR is not set
# CONFIG_SCSI_7000FASST is not set


Various /proc files:

 cat /proc/ioports
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-0060 : kbd
0064-0064 : kbd
0070-007f : rtc
0080-009f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00f1 : npu
00f8-00ff : npu
01f0-01f7 : ide0
02f8-02ff : serial(auto)
0300-031f : ne2000
03d4-03d5 : ega+
03f6-03f6 : ide0
03f8-03ff : serial(auto)

cat /proc/devices
Character devices:
 1 mem
 4 ttyp
 5 cua
 7 vcs
14 sound

Block devices:
 2 fd
 3 ide0
 8 sd

cat /proc/interrupts
 0:   134704   timer
 1:     5353   keyboard
 2:        0 + cascade
 4:     3510 + serial
 9:     5407 + 53c7,8xx
12:      431   ne2000
13:        1   math error
14:    38601 + ide0

Hope this helps. BTW, I remember this config to work with older kernels, dunno
which version exactly (due to our network, I don't access my local cdrom very
much...)

Well, that's it.
P.s.: I didn't subscribe to this list, until now. So if this is an old bug, please
inform me per e-mail.

Greetings, Joe
-- 
e-mail: joe@amber.dinoco.de   | Moving Bytes - games software development
snail : Joerg Hessdoerfer     | Office: Gereonswall 136, 50670 Koeln
        Berrenrather Str. 262 | Phone : ++49/(0)221 139 18 91 
        50939 Koeln (Germany) | Fax   : ++49/(0)221 139 17 80 

home help back first fref pref prev next nref lref last post