Bug 149132

Summary: Adaptec APA-1480A Cardbus SCSI issues
Product: [openSUSE] SUSE LINUX 10.0 Reporter: David Sullivan <david.sullivan>
Component: Mobile DevicesAssignee: Christian Zoz <zoz>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P3 - Medium CC: behlert
Version: Final   
Target Milestone: ---   
Hardware: 32bit   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: module list

Description David Sullivan 2006-02-08 16:55:50 UTC
I recently started to use an Adaptec APA-1480A Cardbus UltraSCSI controller in my Dell Inspiron 8600.  This controller works perfectly under Windows, but I've had to do a great deal of work to get it useable under SuSE 10:

o  The pcmcia.opts file must be modified to open a large window.  Apparently the card requires this to operate properly.  

PCI: Unable to reserve I/O region #1:100@d000 for device 0000:03:00.0

I did the following.  Replace:

include port 0x100-0x4ff, port 0x800-0x8ff, port 0xc00=0xcff  (original)

with

include port 0xfe00-0xfeff, port 0xfd00-0xfdff  (new)

o  If the adapter is plugged in when my notebook boots, the ALSA sound and ipw2200 modules don't load automatically.  I don't have any idea why this is the case.

o  The aic7xxx driver is automatically loaded when the Adaptec APA-1480A UltraSCSI Cardbus adapter is inserted.  However, this driver does not work properly for this card.  One specific issue is that it refuses to communicate with Ultra Wide SCSI devices when they're attached via a Wide/Narrow adapter (which is perfectly legal using the proper converter to terminate the upper 8 bits).  If I force the aic7xxx_old driver to load instead, the card works perfectly.  Some bits from /var/log/messages:

>>>>> Using aic7xxx:
  Vendor: TANDBERG  Model: SLR60             Rev: 0516
Feb  7 14:08:22 linuxnote kernel:   Type:   Sequential-Access                  ANSI SCSI revision: 02
Feb  7 14:08:22 linuxnote kernel:  target1:0:3: Beginning Domain Validation
Feb  7 14:08:22 linuxnote kernel: (scsi1:A:3:0): requested 8Bit transfers.  Rejecting...
Feb  7 14:08:22 linuxnote kernel:  target1:0:3: Wide Transfers Fail
Feb  7 14:08:22 linuxnote kernel:  target1:0:3: Domain Validation skipping write tests
Feb  7 14:08:22 linuxnote kernel:  target1:0:3: FAST-20 SCSI 20.0 MB/s ST (50 ns, offset 15)
Feb  7 14:08:22 linuxnote kernel:  target1:0:3: Ending Domain Validation
Feb  7 14:08:22 linuxnote kernel: 

>>>>> Using aic7xxx_old
Feb  8 09:54:45 linuxnote kernel: (scsi2) <Adaptec PCMCIA SCSI controller> found at PCI 3/0/0
Feb  8 09:54:45 linuxnote kernel: (scsi2) Narrow Channel, SCSI ID=7, 3/255 SCBs
Feb  8 09:54:45 linuxnote kernel: (scsi2) Downloading sequencer code... 436 instructions downloaded
Feb  8 09:54:45 linuxnote kernel: scsi2 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.2.6/5.2.0
Feb  8 09:54:45 linuxnote kernel:        <Adaptec PCMCIA SCSI controller>
Feb  8 09:54:45 linuxnote kernel:   Vendor: TANDBERG  Model: SLR60             Rev: 0516
Feb  8 09:54:45 linuxnote kernel:   Type:   Sequential-Access                  ANSI SCSI revision: 02
Feb  8 09:54:45 linuxnote kernel: Attached scsi tape st0 at scsi2, channel 0, id 3, lun 0
Feb  8 09:54:45 linuxnote kernel: st0: try direct i/o: yes (alignment 512 B), max page reachable by HBA 1048575
Comment 1 David Sullivan 2006-02-08 16:57:31 UTC
I'm happy to do whatever is necessary to help with this issue, understanding that you probably don't have one of these cards lying around.  Let me know how I can be of assistance.
Comment 2 Christian Zoz 2006-02-21 14:46:59 UTC
Created attachment 69596 [details]
module list

This are the modules which will be loaded for the mentioned modaliases.
Comment 3 Christian Zoz 2006-02-21 14:49:38 UTC
Comment on attachment 69596 [details]
module list

Sorry, wrong bug. Attachment belongs to another bug.
Comment 4 Christian Zoz 2006-04-12 12:50:31 UTC
1) config.opts: We cannot provide this big io range, because some port cause crashes on certain machines.

2) I also have no idea why sound and wlan are not initialized. If you want to dig into that, you may do the following:
- Set udev loglevel to 'info' (6) in /etc/udev/udev.conf
- Read /usr/share/doc/packages/udev/README.Logging how to log hotplug events.
- Boot two times, with and without the SCSI adapter. Always use a fresh   
  /var/log/messages
- use /usr/share/doc/packages/udev/show_event_log to extract the pci events from   
  the syslog file: show_event_log pci 1 last (this takes some time)
Please attach the results to this bug report.

3) Please show me the pci IDs of the adapter. Does it work if you set MODULE=aic7xxx_old in the right /etc/sysconfig/hardware/hwcfg-bus-pci-.... file?
Thats why we ship the old driver as well.

Please understand that i cannot spend to much time on this bug. Please discuss that on this problems on the pcmcia list (linux-pcmcia@lists.infradead.org)

BTW: That won't help you, but as always my 1480A works at least in 10.1 (Did not test that on 10.0 so far). Only soft eject (via pccardctl) crashes my machine.
Comment 5 Christian Zoz 2006-05-03 11:25:47 UTC
Any news? Or should we close this one?
Comment 6 Christian Zoz 2006-05-12 11:16:50 UTC
OK. Closing ...