Next-in-Thread Next Message

Question No PCMCIA success on Apple PowerBook PISMO (long, sorry) 

Forum: Non-x86 PCMCIA Issues
Date: 2000, Jul 19
From: Albrecht Dress Albrecht.Dress

I am trying to get the Adaptec 1480 SCSI CardBus card running on several Apple PowerBooks. On the PB 1999 (aka Lombard) I was successful using BenH's latest 2.2.17pre10 kernel with the (slightly modified) patch by Ryuichi Oikawa (see http://ppclinux.apple.com/~benh/ and http://www.rr.iij4u.or.jp/~roikawa/others.html). On the PB2000 (aka Pismo) this failed with the same kernel, patch and pcmcia version/configuration. These are the messages from the pcmcia package:

 pcmcia: Starting PCMCIA services:
 pcmcia: modules
 kernel: Linux PCMCIA Card Services 3.1.18
 kernel: kernel build: 2.2.17pre10-ben2 #7 Wed Jul 19 14:20:57 CEST 2000
 kernel: options: [pci] [cardbus]
 kernel: Intel PCIC probe:
 kernel: TI 1211 rev 00 PCI-to-CardBus at slot 00:1a, mem 0x80080000
 kernel: host opts [0]: [pci only] [pci irq 58] [lat 16/32] [bus 1/1]
 kernel: PCI irq 58 test failed
 kernel: *NO* card interrupts, polling interval = 1000 ms
 pcmcia: cardmgr.
 cardmgr[375]: starting, version is 3.1.18
 rc: Starting pcmcia succeeded
 cardmgr[375]: watching 1 sockets
 [...]
 cardmgr[375]: initializing socket 0
 cardmgr[375]: socket 0: Adaptec APA-1480 SCSI Host Adapter
 kernel: cs: cb_alloc(bus 1): vendor 0x9004, device 0x6075
 cardmgr[375]: executing: 'modprobe cb_enabler'
 cardmgr[375]: executing: 'modprobe apa1480_cb'
 kernel: cs: cb_config(bus 1)
 kernel: fn 0 bar 1: io 0x1000-0x10ff
 kernel: fn 0 bar 2: mem 0x90030000-0x90030fff
 kernel: fn 0 rom: mem 0x90020000-0x9002ffff
 kernel: apa1480_attach(device 01:00.0)
 kernel: aic7xxx: <Adaptec PCMCIA SCSI controller> at PCI 1/0/0
 kernel: aic7xxx: Controller disabled by BIOS, ignoring.
 kernel: apa1480_cs: no SCSI devices found
 kernel: scsi : 0 hosts.
 cardmgr[375]: get dev info on socket 0 failed: No such device

I suspect that some initialisation of the CardBus bridge failes. "lspci -vv" with the cardbus card inserted gives the following output:

00:1a.0 CardBus bridge: Texas Instruments PCI1211
  Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
  Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
  Latency: 16, cache line size 08
  Interrupt: pin A routed to IRQ 58
  Region 0: Memory at 80080000 (32-bit, non-prefetchable)
  Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
  I/O window 0: 00000000-00000003
  I/O window 1: 00000000-00000003
  BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+ PostWrite+
  16-bit legacy interface ports at 0001

01:00.0 SCSI storage controller: Adaptec AIC-1480 / APA-1480 (rev 03)
  Subsystem: Adaptec: Unknown device 7560
  Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
  Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
  Latency: 64 (1000ns min, 1000ns max), cache line size 08
  Interrupt: pin A routed to IRQ 0
  Region 0: I/O ports at 1000
  Region 1: Memory at 90030000 (32-bit, non-prefetchable)
  Expansion ROM at 90020000 [disabled]
  Capabilities: [dc] Power Management version 1
    Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
    Status: D0 PME-Enable- DSel=0 DScale=0 PME-

The differences to the (working) Lombard are:

 < Latency: 32, cache line size 08
 < Interrupt: pin A routed to IRQ 22
 < Region 0: Memory at 80880000 (32-bit, non-prefetchable)
 < Bus: primary=00, secondary=01, subordinate=04, sec-latency=176
 ---
 > Latency: 16, cache line size 08
 > Interrupt: pin A routed to IRQ 58
 > Region 0: Memory at 80080000 (32-bit, non-prefetchable)
 > Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
10c10
 < BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt- PostWrite+
 ---
 > BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+ PostWrite+
 18c18
 < Interrupt: pin A routed to IRQ 22
---
 > Interrupt: pin A routed to IRQ 0

Has anybody had more success with the Pismo PowerBook? With which configuration? ANY help is really welcome!

Thanks in advance, Albrecht.

Next-in-Thread Next Message

Messages Inline: 1 All Outline: 1 2 All

1. Ok Success: PCMCIA working on Lombard/Pismo by Albrecht Dress, 2000, Aug 02

Add Message to: "No PCMCIA success on Apple PowerBook PISMO (long, sorry)"

Members Subscribe Admin Mode Show Frames Help for HyperNews at pcmcia-cs.sourceforge.net 1.10