Koozali.org: home of the SME Server

flexbackup problem with new tape drive

Offline mikhael_43

  • *
  • 7
  • +0/-0
flexbackup problem with new tape drive
« on: December 12, 2006, 06:13:40 AM »
Hi folks

Have a clients' server running 6.0.1 and has been quite reliable over the last couple years. The IDE Travan tape drive died and I fitted an Adaptec 29160 SCSI card and HP DAT72 tape drive.

In the flexbackup log I get this message...

pre-backup failed - status: 256

And immediately before in the messages log

/dev/st0: No such device (as well as a few other non-error entries)

Issuing

mt -f /dev/st0 status

results in

/dev/st0: No such device

Issuing

kudzu

results in (the messages log)

Dec 12 15:50:13 mamsvr001 kernel: PCI: Found IRQ 11 for device 02:02.0
Dec 12 15:50:13 mamsvr001 kernel: scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA
DRIVER, Rev 6.2.8
Dec 12 15:50:13 mamsvr001 kernel:         <Adaptec 29160B Ultra160 SCSI adapter>
Dec 12 15:50:13 mamsvr001 kernel:         aic7892: Ultra160 Wide Channel A, SCSI
 Id=7, 32/253 SCBs
Dec 12 15:50:13 mamsvr001 kernel:
Dec 12 15:50:13 mamsvr001 kernel: blk: queue c256ca14, I/O limit 4095Mb (mask 0x
ffffffff)
Dec 12 15:50:28 mamsvr001 kernel:   Vendor: HP        Model: C7438A            R
ev: ZP5A
Dec 12 15:50:28 mamsvr001 kernel:   Type:   Sequential-Access                  A
NSI SCSI revision: 03
Dec 12 15:50:28 mamsvr001 kernel: blk: queue c256ce14, I/O limit 4095Mb (mask 0x
ffffffff)
Dec 12 15:50:31 mamsvr001 kernel: scsi : 1 host left.

Obviously the BIOS can see the SCSI card (Adaptec 29160 64 bit but only in a 32 bit slot - in case that makes a diff), and during the CTRL+A screen the tape drive can be seen.

Issuing

cat /proc/scsi/scsi

results in

Attached devices: none

The termination should be right (there is a term. on the far side of the tape drive and the card is auto-term.)

I'm at a loss folks. Any ideas?

Thanks
Michael

Offline compsos

  • *
  • 472
  • +0/-0
flexbackup problem with new tape drive
« Reply #1 on: December 12, 2006, 09:33:20 AM »
Hi Michael

Is the module listed in lsmod. If not try and find the .o file required and load it and see if you can see the tape drive after that.
Regards

Gordon............

Offline mikhael_43

  • *
  • 7
  • +0/-0
flexbackup problem with new tape drive
« Reply #2 on: December 13, 2006, 05:11:58 AM »
Hi there Compsos (in sunny Cairns!)

Thanks for your quick reply.

When I do an lsmod, I can see the scsi_mod but not the aic7xxx.
However, I can see the aic7xxx in the /etc/modules.conf as...

alias scsi_hostadapter aic7xxx

Now, when I run

insmod /lib/modules/2.4.20-18.7/kernel/drivers/scsi/aic7xxx/aic7xxx.o

it installs OK, (I can then see the tape drive in /proc/scsi/scsi ).

However, it doesn't survive a reboot. Is that normal? How do I make it permanent? I would have thought he /etc/modules.conf would make it perm.

Thanks
Michael (from Sydney)

Offline compsos

  • *
  • 472
  • +0/-0
flexbackup problem with new tape drive
« Reply #3 on: December 13, 2006, 12:29:07 PM »
Hi Michael

No normally it happens automatically for aic7xxxx driver. After you have loaded the driver will it pass a flexbackup -test-tape-drive?

I have loaded drivers before that would not load in usual way via an entry in the rc.sysinit file just before the probing for "sequential tape drive" lines. This was in ver 6.01. I do not think it will work so easily in 7.0.
Regards

Gordon............

Offline mikhael_43

  • *
  • 7
  • +0/-0
flexbackup problem with new tape drive
« Reply #4 on: December 14, 2006, 08:30:34 PM »
Hi Gordon (and anyone else interested)

(By the way, this IS 6.0.1 - I realise I'm in the wrong forum :))

I have fixed this problem by installing just 1 module - aic7xxx.o .

(Some people have written that I need to install the module st after the SCSI card, but I found I did not need to - the tape module would come up immediately after the card - visible in the messages log)

And I did this by editing /etc/rc.d/rc.local .

I added the line

insmod /lib/modules/2.4.20-18.7/kernel/drivers/scsi/aic7xxx/aic7xxx.o

above the line - exit $return_value

Cheers (and thanks especially for your help Gordon)

Michael