Amanda-Users

Re: Amanda on Redhat, tape drive question

2005-03-21 16:28:16
Subject: Re: Amanda on Redhat, tape drive question
From: Brian Cuttler <brian AT wadsworth DOT org>
To: Joshua Baker-LePain <jlb17 AT duke DOT edu>
Date: Mon, 21 Mar 2005 16:16:52 -0500
On Mon, Mar 21, 2005 at 04:08:31PM -0500, Joshua Baker-LePain wrote:
> And there's the problem -- aic7xxx isn't loaded.  Since your library is 
> hanging off that adapter, the driver needs to get (and stay) loaded.
> 
> What's the output of 'cat /etc/modules.conf'?  You need a line in there 
> like this:
> 
> alias scsi_hostadapter aic7xxx

That line is present

[root@fuji etc]# more modules.conf
alias parport_lowlevel parport_pc
alias eth0 3c59x
alias sound-slot-0 emu10k1
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1
 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 |
| :
alias usb-controller usb-uhci
alias scsi-adapter-0 ide-scsi
alias char-major-195 nvidia
alias scsi_hostadapter aic7xxx


> If that is in there, again, check /var/log/messages for SCSI errors.

There is nothing in /var/log/messages (no scsi messages), however we find
the following in messages.1, which seems to show that all is well and that
the tape and robot are found and the drivers loaded.

Is there some intermediate makedev command that should have but didn't
run when it was expected to ?

[root@fuji etc]# grep -i scsi /var/log/messages.1
Mar 14 15:07:31 fuji iscsi: iscsid shutdown succeeded
Mar 14 15:07:33 fuji iscsi: iscsid shutdown failed
Mar 14 15:07:33 fuji kernel: iSCSI: driver shutdown killing all sessions
Mar 14 15:07:33 fuji kernel: iSCSI: driver shutdown waiting for timer to 
terminate
Mar 14 15:07:33 fuji kernel: iSCSI: driver shutdown complete at 26063071
Mar 14 15:09:18 fuji kernel: Kernel command line: ro root=LABEL=/ hdc=ide-scsi
Mar 14 15:09:18 fuji kernel: ide_setup: hdc=ide-scsi
Mar 14 15:09:20 fuji kernel: SCSI subsystem driver Revision: 1.00
Mar 14 15:09:20 fuji kernel: hdc: attached ide-scsi driver.
Mar 14 15:09:20 fuji kernel: scsi0 : SCSI host adapter emulation for IDE ATAPI 
devices
Mar 14 15:09:20 fuji kernel:   Type:   CD-ROM                             ANSI 
SCSI revision: 02
Mar 14 15:09:20 fuji kernel: scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA 
DRIVER, Rev 6.2.8
Mar 14 15:09:20 fuji kernel:         <Adaptec 29160 Ultra160 SCSI adapter>
Mar 14 15:09:20 fuji kernel:         aic7892: Ultra160 Wide Channel A, SCSI 
Id=7, 32/253 SCBs
Mar 14 15:09:20 fuji kernel:   Type:   Medium Changer                     ANSI 
SCSI revision: 02
Mar 14 15:09:20 fuji kernel:   Vendor: HP        Model: Ultrium 2-SCSI    Rev: 
F45Z
Mar 14 15:09:20 fuji kernel:   Type:   Sequential-Access                  ANSI 
SCSI revision: 03
Mar 14 15:09:20 fuji kernel: scsi : 1 host left.
Mar 14 15:09:20 fuji kernel: Attached scsi CD-ROM sr0 at scsi0, channel 0, id 
0, lun 0
Mar 14 15:09:20 fuji kernel: sr0: scsi3-mmc drive: 40x/40x writer cd/rw 
xa/form2 cdda tray
Mar 14 15:09:34 fuji kernel: iSCSI: 3.1.0.3 ( 8-Oct-2002) built for Linux 
2.4.20-24.9
Mar 14 15:09:34 fuji kernel: iSCSI: will translate deferred sense to current 
sense on command responses
Mar 14 15:09:34 fuji kernel: iSCSI: control device major number 254
Mar 14 15:09:34 fuji kernel: iSCSI: detected HBA c23e69f8, host #2
Mar 14 15:09:34 fuji kernel: scsi2 : iSCSI 3.1.0.3 ( 8-Oct-2002)
Mar 14 15:09:34 fuji iscsid[864]: version 3.1.0.3 ( 8-Oct-2002) 
Mar 14 15:25:40 fuji kernel: scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA 
DRIVER, Rev 6.2.8
Mar 14 15:25:40 fuji kernel:         <Adaptec 29160 Ultra160 SCSI adapter>
Mar 14 15:25:40 fuji kernel:         aic7892: Ultra160 Wide Channel A, SCSI 
Id=7, 32/253 SCBs
Mar 14 15:25:55 fuji kernel:   Type:   Medium Changer                     ANSI 
SCSI revision: 02
Mar 14 15:25:55 fuji kernel:   Vendor: HP        Model: Ultrium 2-SCSI    Rev: 
F45Z
Mar 14 15:25:55 fuji kernel:   Type:   Sequential-Access                  ANSI 
SCSI revision: 03
Mar 14 15:25:59 fuji kernel: Attached scsi generic sg1 at scsi1, channel 0, id 
0, lun 0,  type 8
Mar 14 15:25:59 fuji kernel: Attached scsi tape st0 at scsi1, channel 0, id 1, 
lun 0
Mar 14 15:25:59 fuji kernel: scsi : 2 hosts left.


---
   Brian R Cuttler                 brian.cuttler AT wadsworth DOT org
   Computer Systems Support        (v) 518 486-1697
   Wadsworth Center                (f) 518 473-6384
   NYS Department of Health        Help Desk 518 473-0773