FC1 - advansys module problem with ABP-940 scsi, C1533A tape drives

From: Mark Pinkerton (markp7311_at_sbcglobal.net)
Date: 01/20/05


Date: Thu, 20 Jan 2005 05:05:24 GMT

Hi,

I have a problem with FC1 (stock kernel - 2.4.22-1.2199-nptl) and an
Advansys ABP-940 scsi card. kudzu recognized the card and added the
following line to /etc/modules.conf

alias scsi_hostadapter advansys

I rebooted with a tape in st0 and the adapter and both tape drives
appeared to be recognized by the kernel and the sg, st, and scsi_mod
modules were loaded.

SCSI subsystem driver Revision: 1.00
PCI: Found IRQ 11 for device 00:0e.0
scsi0 : AdvanSys SCSI 3.3G: PCI Ultra: IO 0x1400-0x140F, IRQ 0xB
   Vendor: HP Model: C1533A Rev: A708
   Type: Sequential-Access ANSI SCSI revision: 02
   Vendor: HP Model: C1533A Rev: 9503
   Type: Sequential-Access ANSI SCSI revision: 02
st: Version 20030406, bufsize 32768, max init. bufs 4, s/g segs 16
Attached scsi tape st0 at scsi0, channel 0, id 5, lun 0
Attached scsi tape st1 at scsi0, channel 0, id 6, lun 0
st0: Block limits 1 - 16777215 bytes.
scsi : 0 hosts left.

However when I tried mt -f /dev/st0 status I got the following error:

/dev/st0: No such device or address

Then I did a modprobe advansys and tried the mt command again and it worked.

SCSI 2 tape drive:
File number=0, block number=0, partition=0.
Tape block size 512 bytes. Density code 0x13 (DDS (61000 bpi)).
Soft error count since last status=0
General status bits on (41010000):
  BOT ONLINE IM_REP_EN

I was curious why I had to do a modprobe to get this to work. A GIS
indicated that if I created the directory /var/log/ksymoops the activity
of modprobe would be logged there. I did this and it appears that the
module was loaded and then removed for some reason.

20050119 133510 start /sbin/modprobe advansys safemode=0
20050119 133515 probe ended
20050119 133515 start /sbin/modprobe -s -k -- char-major-9 safemode=1
20050119 133516 probe ended
20050119 133516 start /sbin/modprobe -s -k -- char-major-21 safemode=1
20050119 133516 probe ended
20050119 133516 start /sbin/modprobe -r advansys safemode=0
20050119 133516 rmmod returned 0

After shoveling some snow and another GIS, I tried adding pre-install st
/sbin/modprobe advansys to /etc/modules.conf but the advansys module was
still removed.

20050119 194742 start /sbin/modprobe advansys safemode=0
20050119 194746 probe ended
20050119 194747 start /sbin/modprobe -s -k -- char-major-9 safemode=1
20050119 194747 start /sbin/modprobe advansys safemode=0
20050119 194747 probe ended
20050119 194747 probe ended
20050119 194747 start /sbin/modprobe -s -k -- char-major-21 safemode=1
20050119 194747 probe ended
20050119 194747 start /sbin/modprobe -r advansys safemode=0
20050119 194747 rmmod returned 0

Is there something I can do to get the module to load at boot time and
stay loaded? Is putting modprobe advansys in /etc/rc.d/rc.local the only
way to get this to work? I am probably going to upgrade the machine to
FC2 next and see how that works.

Thanks for any advice,

Mark P.



Relevant Pages

  • 2.6.1 Oops when attempting to access /dev/st0 without st module loaded
    ... I was about to do a tape backup, ... modprobe advansys (automaticaly loads scsi_mod first) ... Advansys 3940UW (I believe thats the model number.. ...
    (Linux-Kernel)
  • Re: A simple question
    ... >- Advansys SCSI PCI controller which was ... The driver is old, and unmaintained, and in the ... terms of termination and other hardware details that make a scsi bus ... with when the card had an adaptec label on it. ...
    (Fedora)
  • AdvanSys SCSI + 2.4.xx
    ... I have to compile advansys scsi card driver into kernel 2.4.22 and there is ...
    (comp.os.linux.hardware)
  • installing kernel module on install from CD
    ... Does anybody know where i can get the driver to install 3.1 onto ... a scsi system with an advance scsi card. ... on the Vanilla kernel. ... Trying to load module advansys ...
    (Debian-User)