Compiling a new RHEL-4 kernel

Simon redhat at gornall.net
Wed Dec 21 18:31:35 UTC 2005


On Dec 21, 2005, at 7:53 AM, Tom Callahan wrote:

> Very strange.... How many drives are in your robot? The changer itself
> is not really a device that would be seen by a scsi lun probe, you
> should see three luns if you have 2 drives for instance.

Just the one drive, 8 slots for tapes - it's an ADIC FastStor2  
(http://www.adic.com/ibeCCtpItmDspRte.jsp?section=10030&item=121900#2)

> We have an HP MSL5026 here, along with a 5052, and with the 5026, I  
> see
> the robot as /dev/sg1 and the drives individually as /dev/sg2, and  
> sg3.
>
> The 5052 is the same way, but two more drives as /dev/sg4 and sg5

It's been suggested on the mtx-general list that some robots (eg:  
mine :-) can appear as the same device-id but a different LUN. To get  
the different sg devices, I expect Matt & Nigel (see the thread) are  
correct, and I have to have "options scsi_mod max_luns=32" (or some  
other number >1) in /etc/modprobe.conf. The only devices I can see  
are all LUN=0...

I'm just waiting until I have a non-live server before I start  
messing with the SCSI subsystem parameters, since everything is SCSI  
on the machine, and I don't want to inadvertently do something which  
changes the SCSI mappings...

> What brand/model of robot are you using, and if possible, can you give
> me the output of lssg (part of fibreutils package) or /proc/scsi/ 
> scsi??

I don't have lssg, but /proc/scsi/scsi is:

[root at www4 ~]$ cat /proc/scsi/scsi
Attached devices:
Host: scsi1 Channel: 00 Id: 00 Lun: 00
   Vendor: IBM-ESXS Model: MAP3735NC     FN Rev: C101
   Type:   Direct-Access                    ANSI SCSI revision: 03
Host: scsi1 Channel: 00 Id: 01 Lun: 00
   Vendor: IBM-ESXS Model: VPR073C3-ETS10FN Rev: S370
   Type:   Direct-Access                    ANSI SCSI revision: 04
Host: scsi1 Channel: 00 Id: 08 Lun: 00
   Vendor: IBM      Model: 39M6750a S320  0 Rev: 1
   Type:   Processor                        ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 00 Lun: 00
   Vendor: IBM      Model: SERVERAID        Rev: 1.00
   Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 15 Lun: 00
   Vendor: IBM      Model: SERVERAID        Rev: 1.00
   Type:   Processor                        ANSI SCSI revision: 02
Host: scsi2 Channel: 01 Id: 05 Lun: 00
   Vendor: HP       Model: Ultrium 3-SCSI   Rev: G37B
   Type:   Sequential-Access                ANSI SCSI revision: 03
Host: scsi2 Channel: 02 Id: 15 Lun: 00
   Vendor: IBM      Model: EXP400   S320    Rev: D110
   Type:   Processor                        ANSI SCSI revision: 03

> I'm pretty sure this should work out of the box. I've never had  
> problems
> otherwise.....

[sigh] Whenever a colleague has a bug in software, I walk over and it  
magically fixes itself. When I come into contact with hardware,  
anything that can go wrong, does. Maybe the universe is giving me a  
not-so-subtle hint - stick to software :-)

Thanks for the help :-)

ATB,
	Simon




More information about the redhat-list mailing list