Re: More than 5 SCSI disks? (/dev/sdf: ENXIO)

1999-03-10 Thread Jameson Burt
 Hello.
 
  There are 5 SCSI disks happily running at sda - sde.  The 6th
 disk is accepted as /dev/sdf, as the kernel output after lilo
 says.  But fdisk /dev/sdf fails with Unable to open /dev/sdf.
 strace fdisk /dev/sdf gives
 
open(/dev/sdf, O_RDWR)= -1 ENXIO (Device not configured)
open(/dev/sdf, O_RDONLY)  = -1 ENXIO (Device not configured)
 
  What is missing here?  Other details follow, thank you.
 
  Andreas Wehler
 
 
 
 
 Debian 2.0
 # uname -a
 Linux classix 2.0.34 #3 Thu Jan 14 10:38:59 CET 1999 i686 unknown
 
 
 
 # cat /proc/scsi/scsi
 Attached devices: 
 Host: scsi0 Channel: 00 Id: 00 Lun: 00   (- sda)
   Vendor: IBM  Model: DDRS-39130W  Rev: S92A
   Type:   Direct-AccessANSI SCSI revision: 02
 Host: scsi0 Channel: 00 Id: 01 Lun: 00   (- sdb)
   Vendor: IBM  Model: DDRS-39130W  Rev: S92A
   Type:   Direct-AccessANSI SCSI revision: 02
 Host: scsi0 Channel: 00 Id: 02 Lun: 00   (- sdc)
   Vendor: IBM  Model: DDRS-39130W  Rev: S92A
   Type:   Direct-AccessANSI SCSI revision: 02
 Host: scsi0 Channel: 00 Id: 04 Lun: 00
   Vendor: HP   Model: C1533A   Rev: A708
   Type:   Sequential-AccessANSI SCSI revision: 02
 Host: scsi0 Channel: 00 Id: 05 Lun: 00
   Vendor: TEAC Model: CD-ROM CD-532S   Rev: 1.0A
   Type:   CD-ROM   ANSI SCSI revision: 02
 Host: scsi0 Channel: 00 Id: 06 Lun: 00
   Vendor: YAMAHA   Model: CRW4260  Rev: 1.0j
   Type:   CD-ROM   ANSI SCSI revision: 02
 Host: scsi1 Channel: 00 Id: 00 Lun: 00   (- sdd)
   Vendor: SEAGATE  Model: ST19171N Rev: 0024
   Type:   Direct-AccessANSI SCSI revision: 02
 Host: scsi1 Channel: 00 Id: 01 Lun: 00   (- sde)
   Vendor: SEAGATE  Model: ST19171N Rev: 0024
   Type:   Direct-AccessANSI SCSI revision: 02
 Host: scsi1 Channel: 00 Id: 02 Lun: 00   (- sdf)
   Vendor: SEAGATE  Model: ST39140N Rev: 1281
   Type:   Direct-AccessANSI SCSI revision: 02

You've probably already checked it, but I have often exceeded 
acceptable scsi cable lengths with unusual results (eg, my tape drive
would mistakenly think it had reached an end of tape).
These acceptable lengths can be seen at
http://www.scsita.org/terms.html
When I let a scanner at the end of a scsi chain do termination rather
than attaching a terminator plug, I would have problems on 3 meters of
scsi-I devices.

My biggest problem has been with Ultra-Scsi (all Ultra2 would work wonderfully,
but Ultra is dangerous).  I had four devices on an Adaptec 2940UW,
with a cable length of about 1.4 meters.  Such a short length caused 
problems I never saw until weeks had passed and so many files had been ruined
that I needed to reinstall Debian Linux.  

Even if you don't run Ultra scsi, if you run fast scsi, 
the recommendation as I recall was no more than 3 meters
(though another source indicated 6 meters, and one cable manufacturer
told me their cables would give me 9 meters).


-- 
Jim Burt, NJ9L, Fairfax, Virginia, USA
[EMAIL PROTECTED]   http://www.mnsinc.com/jameson
[EMAIL PROTECTED]   (703) 235-5213 ext. 132  (work)

A poor man associating with a rich man will soon be too poor 
to buy even a pair of breeches.   --Chinese Proverb



Re: More than 5 SCSI disks? (/dev/sdf: ENXIO)

1999-03-10 Thread Dr. Andreas Wehler
Jameson Burt wrote:
 
  Hello.
 
   There are 5 SCSI disks happily running at sda - sde.  The 6th
  disk is accepted as /dev/sdf, as the kernel output after lilo
  says.  But fdisk /dev/sdf fails with Unable to open /dev/sdf.
...

 You've probably already checked it, but I have often exceeded
 acceptable scsi cable lengths with unusual results (eg, my tape drive
 would mistakenly think it had reached an end of tape).
 These acceptable lengths can be seen at
 http://www.scsita.org/terms.html

 Thank you for the reply.  I'quadruple let check it again (the
machine in question is running at another location 450km away from
my office and I'm doing remote support).

 I know there are only these 3 ultra wide SCSI disks on the
Advansys controller in an external HP-SCSI-box with external bus
termination.  With the internal drives on the first SCSI bus on
Adaptec 2940UW we have no problems at all, after we had put one of
the ultra disks at the end for termination the wide bus.  This bus
is 1.6m long.

 I really don't know where to search further, HW? driver?
SCSI-kernel?

 Below is the output from dmesg.  Thanks.

 Andreas Wehler



==
# dmesg
2077
(scsi0) Adaptec AHA-294X Ultra SCSI host adapter found at PCI 9/0
(scsi0) Wide Channel, SCSI ID=7, 16/255 SCBs
(scsi0) BIOS enabled, IO Port 0xd000, IRQ 15
(scsi0) IO Memory at 0xe300, MMAP Memory at 0x8805000
(scsi0) Resetting channel
(scsi0) Downloading sequencer code... 413 instructions downloaded
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.0.14/3.2.4
   Adaptec AHA-294X Ultra SCSI host adapter
scsi : 1 host.
(scsi0:0:-1:-1) Scanning channel for devices.
(scsi0:0:0:0) Using wide (16 bit) transfers.
(scsi0:0:0:0) Synchronous at 20.0MHz, offset 8.
  Vendor: IBM   Model: DDRS-39130W   Rev: S92A
  Type:   Direct-Access  ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
(scsi0:0:1:0) Using wide (16 bit) transfers.
(scsi0:0:1:0) Synchronous at 20.0MHz, offset 8.
  Vendor: IBM   Model: DDRS-39130W   Rev: S92A
  Type:   Direct-Access  ANSI SCSI revision: 02
Detected scsi disk sdb at scsi0, channel 0, id 1, lun 0
(scsi0:0:2:0) Using wide (16 bit) transfers.
(scsi0:0:2:0) Synchronous at 20.0MHz, offset 8.
  Vendor: IBM   Model: DDRS-39130W   Rev: S92A
  Type:   Direct-Access  ANSI SCSI revision: 02
Detected scsi disk sdc at scsi0, channel 0, id 2, lun 0
(scsi0:0:4:0) Synchronous at 10.0MHz, offset 8.
  Vendor: HPModel: C1533ARev: A708
  Type:   Sequential-Access  ANSI SCSI revision: 02
Detected scsi tape st0 at scsi0, channel 0, id 4, lun 0
  Vendor: TEAC  Model: CD-ROM CD-532SRev: 1.0A
  Type:   CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 5, lun 0
(scsi0:0:6:0) Refusing synchronous negotiation; using asynchronous transfers.
  Vendor: YAMAHAModel: CRW4260   Rev: 1.0j
  Type:   CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr1 at scsi0, channel 0, id 6, lun 0
scsi : detected 1 SCSI tape 2 SCSI cdroms 3 SCSI disks total.
SCSI device sda: hdwr sector= 512 bytes. Sectors= 1785 [8715 MB] [8.7 GB]
SCSI device sdb: hdwr sector= 512 bytes. Sectors= 1785 [8715 MB] [8.7 GB]
SCSI device sdc: hdwr sector= 512 bytes. Sectors= 1785 [8715 MB] [8.7 GB]
Partition check:
 sda: sda1 sda2 sda3 sda4  sda5 sda6 sda7 sda8 
 sdb: sdb1
 sdc: sdc1 sdc2
VFS: Mounted root (ext2 filesystem) readonly.
PS/2 auxiliary pointing device detected -- driver installed.
3c59x.c:v0.99E 5/12/98 Donald Becker 
http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html
loading device 'eth0'...
eth0: 3Com 3c905B Cyclone 100baseTx at 0xb400, 00:10:4b:b7:bd:7e, IRQ 10
  8K byte-wide RAM 5:3 Rx:Tx split, autoselect/NWay Autonegotiation interface.
  Enabling bus-master transmits and whole-frame receives.
scsi1 : AdvanSys SCSI 3.1D: PCI Ultra 16 CDB: IO B000/F, IRQ 11
scsi : 2 hosts.
  Vendor: SEAGATE   Model: ST19171N  Rev: 0024
  Type:   Direct-Access  ANSI SCSI revision: 02
Detected scsi disk sdd at scsi1, channel 0, id 0, lun 0
  Vendor: SEAGATE   Model: ST19171N  Rev: 0024
  Type:   Direct-Access  ANSI SCSI revision: 02
Detected scsi disk sde at scsi1, channel 0, id 1, lun 0
  Vendor: SEAGATE   Model: ST39140N  Rev: 1281
  Type:   Direct-Access  ANSI SCSI revision: 02
Detected scsi disk sdf at scsi1, channel 0, id 2, lun 0
SCSI device sdd: hdwr sector= 512 bytes. Sectors= 17783112 [8683 MB] [8.7 GB]
 sdd: sdd1 sdd2 sdd3  sdd5 sdd6 sdd7 sdd8 
SCSI device sde: hdwr sector= 512 bytes. Sectors= 17783112 [8683 MB] [8.7 GB]
 sde: sde1 sde2  sde5 sde6 sde7 sde8 
Adding Swap: 119996k swap-space (priority -1)
Adding Swap: 114996k swap-space (priority -2)
Disc change detected.
VFS: 

Re: More than 5 SCSI disks? (/dev/sdf: ENXIO)

1999-03-10 Thread Dr. Andreas Wehler
Hello.

 Is it possible to run 2 Adaptec 2940UW simultaneously?  Then
we would consider to change Advansys by Adaptec.

  Thanks.

 Andreas Wehler

-- 
CAD/CAM straessle GmbHTel.: (+49)  211 - 52740 - 228
Dr.-Ing. Andreas Wehler   Fax.: (+49)  211 - 52740 - 280
  http://www.cc-straessle.com


Re: More than 5 SCSI disks? (/dev/sdf: ENXIO)

1999-03-10 Thread Nathan E Norman
On Wed, 10 Mar 1999, Dr. Andreas Wehler wrote:

 : Hello.
 : 
 :  Is it possible to run 2 Adaptec 2940UW simultaneously?  Then
 : we would consider to change Advansys by Adaptec.

Sure - you can run two 2940UW HBAs at the same time.  I've done it here
...

--
Nathan Norman
MidcoNet  410 South Phillips Avenue  Sioux Falls, SD
mailto:[EMAIL PROTECTED]   http://www.midco.net
finger [EMAIL PROTECTED] for PGP Key: (0xA33B86E9)



More than 5 SCSI disks? (/dev/sdf: ENXIO)

1999-03-09 Thread Dr. Andreas Wehler
Hello.

 There are 5 SCSI disks happily running at sda - sde.  The 6th
disk is accepted as /dev/sdf, as the kernel output after lilo
says.  But fdisk /dev/sdf fails with Unable to open /dev/sdf.
strace fdisk /dev/sdf gives

   open(/dev/sdf, O_RDWR)= -1 ENXIO (Device not configured)
   open(/dev/sdf, O_RDONLY)  = -1 ENXIO (Device not configured)

 What is missing here?  Other details follow, thank you.

 Andreas Wehler




Debian 2.0
# uname -a
Linux classix 2.0.34 #3 Thu Jan 14 10:38:59 CET 1999 i686 unknown



# cat /proc/scsi/scsi
Attached devices: 
Host: scsi0 Channel: 00 Id: 00 Lun: 00   (- sda)
  Vendor: IBM  Model: DDRS-39130W  Rev: S92A
  Type:   Direct-AccessANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00   (- sdb)
  Vendor: IBM  Model: DDRS-39130W  Rev: S92A
  Type:   Direct-AccessANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 02 Lun: 00   (- sdc)
  Vendor: IBM  Model: DDRS-39130W  Rev: S92A
  Type:   Direct-AccessANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 04 Lun: 00
  Vendor: HP   Model: C1533A   Rev: A708
  Type:   Sequential-AccessANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 05 Lun: 00
  Vendor: TEAC Model: CD-ROM CD-532S   Rev: 1.0A
  Type:   CD-ROM   ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 06 Lun: 00
  Vendor: YAMAHA   Model: CRW4260  Rev: 1.0j
  Type:   CD-ROM   ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00   (- sdd)
  Vendor: SEAGATE  Model: ST19171N Rev: 0024
  Type:   Direct-AccessANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 01 Lun: 00   (- sde)
  Vendor: SEAGATE  Model: ST19171N Rev: 0024
  Type:   Direct-AccessANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 02 Lun: 00   (- sdf)
  Vendor: SEAGATE  Model: ST39140N Rev: 1281
  Type:   Direct-AccessANSI SCSI revision: 02



# ls -al /dev/sdf*
brw-rw   1 root disk   8,  80 Jun 24  1998 /dev/sdf
brw-rw   1 root disk   8,  81 Jun 24  1998 /dev/sdf1
brw-rw   1 root disk   8,  90 Jun 24  1998 /dev/sdf10
brw-rw   1 root disk   8,  91 Jun 24  1998 /dev/sdf11
brw-rw   1 root disk   8,  92 Jun 24  1998 /dev/sdf12
brw-rw   1 root disk   8,  93 Jun 24  1998 /dev/sdf13
brw-rw   1 root disk   8,  94 Jun 24  1998 /dev/sdf14
brw-rw   1 root disk   8,  95 Jun 24  1998 /dev/sdf15
brw-rw   1 root disk   8,  82 Jun 24  1998 /dev/sdf2
brw-rw   1 root disk   8,  83 Jun 24  1998 /dev/sdf3
brw-rw   1 root disk   8,  84 Jun 24  1998 /dev/sdf4
brw-rw   1 root disk   8,  85 Jun 24  1998 /dev/sdf5
brw-rw   1 root disk   8,  86 Jun 24  1998 /dev/sdf6
brw-rw   1 root disk   8,  87 Jun 24  1998 /dev/sdf7
brw-rw   1 root disk   8,  88 Jun 24  1998 /dev/sdf8
brw-rw   1 root disk   8,  89 Jun 24  1998 /dev/sdf9



-- 
CAD/CAM straessle GmbHTel.: (+49)  211 - 52740 - 228
Dr.-Ing. Andreas Wehler   Fax.: (+49)  211 - 52740 - 280
  http://www.cc-straessle.com