[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Adapter 2940 scsi card offlines scanner on boot



Problem: ScanPartner 15c scanner no longer works.  If scanner is on at
boot it is offlined by the Adaptec 2940 scsi probe. If manually restart
scanner after this occurs and during the boot sequence the scanner is
attached and works.  If restart after boot sequence is advanced or
complete it is not detected. the following outputs occur when the
scanner is on at boot: the next sequence of outputs at the bottom are
the result of restarting the scanner when the initrd boot message
appears.

/sbin/lsmod
Module                  Size  Used by
nls_utf8                5632  1 
fuse                   47516  3 
sunrpc                153876  3 
ipv6                  234428  18 
dm_mirror              20096  0 
dm_log                 12036  1 dm_mirror
dm_multipath           18056  0 
dm_mod                 48180  3 dm_mirror,dm_log,dm_multipath
ppdev                  10244  0 
snd_intel8x0           29980  3 
snd_ac97_codec         93604  1 snd_intel8x0
ac97_bus                5504  1 snd_ac97_codec
snd_seq_dummy           6532  0 
snd_seq_oss            29212  0 
firewire_ohci          22020  0 
firewire_core          35360  1 firewire_ohci
snd_seq_midi_event      9600  1 snd_seq_oss
snd_seq                44736  5
snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
crc_itu_t               5760  1 firewire_core
snd_seq_device          9740  3 snd_seq_dummy,snd_seq_oss,snd_seq
aic7xxx               102436  0 
scsi_transport_spi     22912  1 aic7xxx
snd_pcm_oss            36480  0 
snd_mixer_oss          16384  1 snd_pcm_oss
snd_pcm                60676  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer              20744  2 snd_seq,snd_pcm
sata_nv                23052  0 
snd                    46136  15
snd_intel8x0,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
i2c_nforce2             9472  0 
i2c_core               20500  1 i2c_nforce2
soundcore               9288  1 snd
snd_page_alloc         11016  2 snd_intel8x0,snd_pcm
parport_pc             25492  0 
sr_mod                 17064  1 
forcedeth              49168  0 
parport                31828  2 ppdev,parport_pc
k8temp                  7936  0 
cdrom                  33304  1 sr_mod
sky2                   41732  0 
hwmon                   6300  1 k8temp
pcspkr                  6272  0 
sg                     30900  0 
pata_amd               13188  7 
ata_generic             8452  0 
pata_acpi               7680  0 
libata                132328  4 sata_nv,pata_amd,ata_generic,pata_acpi
sd_mod                 26008  8 
scsi_mod              122876  6
aic7xxx,scsi_transport_spi,sr_mod,sg,libata,sd_mod
ext3                  108680  5 
jbd                    40852  1 ext3
mbcache                10116  1 ext3
uhci_hcd               22928  0 
ohci_hcd               22532  0 
ehci_hcd               32780  0 
cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: ATA      Model: HDS722580VLAT20  Rev: V32O
  Type:   Direct-Access                    ANSI  SCSI revision: 05
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: ATA      Model: WDC WD200BB-00AU Rev: 18.2
  Type:   Direct-Access                    ANSI  SCSI revision: 05
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: ATAPI    Model: DVD A  DH20A3P   Rev: XP5T
  Type:   CD-ROM                           ANSI  SCSI revision: 05

cat /etc/scsi*config
# scsi_id configuration
# some libata drives require vpd page 0x80
vendor="ATA",options=-p 0x80

cat /etc/sane.d/dll.conf
# enable the next line if you want to allow access through the network:
#net
#avision
sp15c
#
cat *sp15c*
scsi FCPA

dmesg (partial)
scsi4 : sata_nv
scsi5 : sata_nv
ata5: SATA max UDMA/133 cmd 0x9e0 ctl 0xbe0 bmdma 0xf100 irq 20
ata6: SATA max UDMA/133 cmd 0x960 ctl 0xb60 bmdma 0xf108 irq 20
ppdev: user-space parallel port driver
ata5: SATA link down (SStatus 0 SControl 300)
ata6: SATA link down (SStatus 0 SControl 300)
ACPI: PCI Interrupt Link [APCJ] enabled at IRQ 22
ACPI: PCI Interrupt 0000:00:04.0[A] -> Link [APCJ] -> GSI 22 (level,
low) -> IRQ 22
PCI: Setting latency timer of device 0000:00:04.0 to 64
intel8x0_measure_ac97_clock: measured 50719 usecs
intel8x0: clocking to 46817
ACPI: PCI Interrupt Link [APC1] enabled at IRQ 16
ACPI: PCI Interrupt 0000:03:00.0[A] -> Link [APC1] -> GSI 16 (level,
low) -> IRQ 16
PCI: Setting latency timer of device 0000:03:00.0 to 64
sky2 0000:03:00.0: v1.21 addr 0xfe600000 irq 16 Yukon-EC (0xb6) rev 1
sky2 eth1: addr 00:0c:76:af:62:01
ACPI: PCI Interrupt Link [APC2] enabled at IRQ 17
ACPI: PCI Interrupt 0000:01:07.0[A] -> Link [APC2] -> GSI 17 (level,
low) -> IRQ 17
scsi6 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0
        <Adaptec 2940 Ultra SCSI adapter>
        aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs

ACPI: PCI Interrupt Link [APC4] enabled at IRQ 19
ACPI: PCI Interrupt 0000:01:0c.0[A] -> Link [APC4] -> GSI 19 (level,
low) -> IRQ 19
firewire_ohci: Added fw-ohci device 0000:01:0c.0, OHCI version 1.0
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.13.0-ioctl (2007-10-18) initialised:
dm-devel redhat com
device-mapper: multipath: version 1.0.5 loaded
firewire_core: created device fw0: GUID 0010dc000069e703, S400
EXT3 FS on sda1, internal journal
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sdb2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sdb1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda3, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
scsi 6:0:4:0: Attempting to queue an ABORT message
CDB: 0x12 0x0 0x0 0x0 0x24 0x0
scsi6: At time of recovery, card was not paused
>>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
scsi6: Dumping Card State in Command phase, at SEQADDR 0x157
Card was paused
ACCUM = 0x80, SINDEX = 0xac, DINDEX = 0xc0, ARG_2 = 0x0
HCNT = 0x0 SCBPTR = 0x0
SCSISIGI[0x84] ERROR[0x0] SCSIBUSL[0xc0] LASTPHASE[0x80] 
SCSISEQ[0x12] SBLKCTL[0x2] SCSIRATE[0x0] SEQCTL[0x10] 
SEQ_FLAGS[0x0] SSTAT0[0x7] SSTAT1[0x2] SSTAT2[0x0] 
SSTAT3[0x0] SIMODE0[0x0] SIMODE1[0xac] SXFRCTL0[0x88] 
DFCNTRL[0x4] DFSTATUS[0x6d] 
STACK: 0x37 0x0 0x0 0x192
SCB count = 4
Kernel NEXTQSCB = 2
Card NEXTQSCB = 2
QINFIFO entries: 
Waiting Queue entries: 
Disconnected Queue entries: 
QOUTFIFO entries: 
Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 
Sequencer SCB Info: 
  0 SCB_CONTROL[0x40] SCB_SCSIID[0x47] SCB_LUN[0x0] SCB_TAG[0x3] 
  1 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] 
  2 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] 
  3 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] 
  4 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] 
  5 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] 
  6 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] 
  7 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] 
  8 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] 
  9 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] 
 10 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] 
 11 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] 
 12 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] 
 13 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] 
 14 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] 
 15 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] 
Pending list: 
  3 SCB_CONTROL[0x40] SCB_SCSIID[0x47] SCB_LUN[0x0] 
Kernel Free SCB list: 1 0 
Untagged Q(4): 3 

<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
scsi 6:0:4:0: Device is active, asserting ATN
Recovery code sleeping
Adding 1076344k swap on /dev/sdb3.  Priority:-1 extents:1
across:1076344k
powernow-k8: Found 1 AMD Athlon(tm) 64 Processor 3000+ processors (1 cpu
cores) (version 2.20.00)
ACPI Exception (processor_perflib-0266): AE_NOT_FOUND, Evaluating _PSS
[20080321]
powernow-k8: BIOS error - no PSB or ACPI _PSS objects
Timer Expired
Recovery code awake
aic7xxx_abort returns 0x2003
scsi 6:0:4:0: Attempting to queue a TARGET RESET message
CDB: 0x12 0x0 0x0 0x0 0x24 0x0
aic7xxx_dev_reset returns 0x2003
Recovery SCB completes
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
warning: `dbus-daemon' uses deprecated v2 capabilities in a way that may
be insecure.
fuse init (API version 7.9)
eth0: no IPv6 routers present
scsi 6:0:4:0: Attempting to queue an ABORT message
CDB: 0x0 0x0 0x0 0x0 0x0 0x0
scsi6: At time of recovery, card was not paused
>>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
scsi6: Dumping Card State in Command phase, at SEQADDR 0x157
Card was paused
ACCUM = 0x80, SINDEX = 0xac, DINDEX = 0xc0, ARG_2 = 0x0
HCNT = 0x0 SCBPTR = 0x0
SCSISIGI[0x84] ERROR[0x0] SCSIBUSL[0xc0] LASTPHASE[0x80] 
SCSISEQ[0x12] SBLKCTL[0x2] SCSIRATE[0x0] SEQCTL[0x10] 
SEQ_FLAGS[0x0] SSTAT0[0x7] SSTAT1[0x2] SSTAT2[0x0] 
SSTAT3[0x0] SIMODE0[0x0] SIMODE1[0xac] SXFRCTL0[0x88] 
DFCNTRL[0x4] DFSTATUS[0x6d] 
STACK: 0x37 0x37 0x0 0x192
SCB count = 4
Kernel NEXTQSCB = 3
Card NEXTQSCB = 3
QINFIFO entries: 
Waiting Queue entries: 
Disconnected Queue entries: 
QOUTFIFO entries: 
Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 
Sequencer SCB Info: 
  0 SCB_CONTROL[0x40] SCB_SCSIID[0x47] SCB_LUN[0x0] SCB_TAG[0x2] 
  1 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] 
  2 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] 
  3 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] 
  4 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] 
  5 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] 
  6 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] 
  7 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] 
  8 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] 
  9 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] 
 10 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] 
 11 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] 
 12 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] 
 13 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] 
 14 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] 
 15 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] 
Pending list: 
  2 SCB_CONTROL[0x40] SCB_SCSIID[0x47] SCB_LUN[0x0] 
Kernel Free SCB list: 1 0 
Untagged Q(4): 2 

<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
scsi 6:0:4:0: Device is active, asserting ATN
Recovery code sleeping
Timer Expired
Recovery code awake
aic7xxx_abort returns 0x2003
scsi 6:0:4:0: Attempting to queue a TARGET RESET message
CDB: 0x0 0x0 0x0 0x0 0x0 0x0
aic7xxx_dev_reset returns 0x2003
Recovery SCB completes
scsi 6:0:4:0: Device offlined - not ready after error recovery
ISO 9660 Extensions: Microsoft Joliet Level 1
ISOFS: changing to secondary root
###############################################################
End of first sequence

  If I restart the scanner after it is offlined by initial probe I get
the following
condition:
 cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: ATA      Model: HDS722580VLAT20  Rev: V32O
  Type:   Direct-Access                    ANSI  SCSI revision: 05
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: ATA      Model: WDC WD200BB-00AU Rev: 18.2
  Type:   Direct-Access                    ANSI  SCSI revision: 05
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: ATAPI    Model: DVD A  DH20A3P   Rev: XP5T
  Type:   CD-ROM                           ANSI  SCSI revision: 05
Host: scsi6 Channel: 00 Id: 06 Lun: 00
  Vendor: FCPA     Model: ScanPartner 15C  Rev: 1.02
  Type:   Scanner                          ANSI  SCSI revision: 02

dmesg (partial)
ACPI: PCI Interrupt Link [APC2] enabled at IRQ 17
aic7xxx 0000:01:07.0: PCI INT A -> Link[APC2] -> GSI 17 (level, low) ->
IRQ 17
scsi6 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0
        <Adaptec 2940 Ultra SCSI adapter>
        aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs

ACPI: PCI Interrupt Link [APC4] enabled at IRQ 19
firewire_ohci 0000:01:0c.0: PCI INT A -> Link[APC4] -> GSI 19 (level,
low) -> IRQ 19
firewire_ohci: Added fw-ohci device 0000:01:0c.0, OHCI version 1.0
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.14.0-ioctl (2008-04-23) initialised:
dm-devel redhat com
device-mapper: multipath: version 1.0.5 loaded
firewire_core: created device fw0: GUID 0010dc000069e703, S400
scsi 6:0:6:0: Scanner           FCPA     ScanPartner 15C  1.02 PQ: 0
ANSI: 2
scsi target6:0:6: Beginning Domain Validation
scsi target6:0:6: Ending Domain Validation
EXT3 FS on sda1, internal journal
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sdb2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sdb1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda3, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
scsi 6:0:6:0: Attached scsi generic sg3 type 6
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
Adding 1076344k swap on /dev/sdb3.  Priority:-1 extents:1
across:1076344k
powernow-k8: Found 1 AMD Athlon(tm) 64 Processor 3000+ processors (1 cpu
cores) (version 2.20.00)
ACPI Exception (processor_perflib-0266): AE_NOT_FOUND, Evaluating _PSS
[20080609]
powernow-k8: BIOS error - no PSB or ACPI _PSS objects
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
warning: `dbus-daemon' uses deprecated v2 capabilities in a way that may
be insecure.
fuse init (API version 7.9)
eth0: no IPv6 routers present
ISO 9660 Extensions: Microsoft Joliet Level 1
ISOFS: changing to secondary root



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]