Hi I hope someone here can help me with this:
I got myself a Acard Pci-IDE card for my Powermac 7500 and found myself
with the problem that the linux 2.2.15 driver suppied by Andre Hedrick
with his 2.2.15-ide patch doesn't work under LinuxPPC in contrast to the
x86 machines. :-(
The problem is, that the card keeps losing its interrupt. The card is
detected during boot and finds the drive :
AEC6260R: IDE controller on PCI bus 00 dev 78
AEC6260R: not 100% native mode: will probe irqs later
AEC6260R: ROM enabled at 0x80800000
AEC6260: reg49h=0x00 ATA-66 Cable Port0
ide2: BM-DMA at 0x0800-0x0807, BIOS settings: hde:pio, hdf:pio
hde: IBM-DJNA-352030, ATA DISK drive
ide2 at 0x840-0x847,0x000 on irq 25
hde: IBM-DJNA-352030, 19470MB w/1966kB Cache, CHS=39560/16/63, UDMA(66)
but when doing the partition check I get:
kernel: hde: lost interrupt
kernel: ide_dmaproc: chipset supported ide_dma_lostirq func only: 11
kernel: hde: lost interrupt
kernel: hde1ide_dmaproc: chipset supported ide_dma_lostirq func only: 11
kernel: hde: lost interrupt
kernel: hde2 hde3ide_dmaproc: chipset supported ide_dma_lostirq func
only: 11
and so on for every partition.
I compiled the kernel with sharing PCI IDE interrupt support, Generic PCI
busmaster support the AEC6260 driver AND Builtin PowerMac IDE support with
PowerMac IDE DMA support. If I let the buitin Ide support out, the kernel
wont even boot. If I let the sharing interrupt support out, I could not
use the keyboard ....
Can anyone help with this? I'm in contact with Andre but he can't check
anything on a PowerPC. I'm a complete greenhorn but I'd be willing to
learn if someone helps. I don't even know where and how to start looking
what is really going wrong. Is it the PIO stuff ????
I have tried to compile a 2.3.99pre5 kernel and inculde the card there,
but that kernel wouldnt even compile. Thats wy I went back to the stable
kernel sources with the ide.2.2.15.20000504.patch with no real succes so
far either I admit :-)
Cheers Henning
--------------------------------------------------------------------------
Henning Loeser Fachbereich Physik
email: henning.loeser@physik.uni-marburg.de AG Oberflaechen
Philipps-Uni Marburg
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Hi there,
On 8 May, this message from Henning Loeser echoed through cyberspace:
Hi I hope someone here can help me with this:
I got myself a Acard Pci-IDE card for my Powermac 7500 and found myself
with the problem that the linux 2.2.15 driver suppied by Andre Hedrick
with his 2.2.15-ide patch doesn't work under LinuxPPC in contrast to the
x86 machines. :-(
The problem is, that the card keeps losing its interrupt. The card is
detected during boot and finds the drive :
quoted
AEC6260R: IDE controller on PCI bus 00 dev 78
AEC6260R: not 100% native mode: will probe irqs later
AEC6260R: ROM enabled at 0x80800000
AEC6260: reg49h=0x00 ATA-66 Cable Port0
ide2: BM-DMA at 0x0800-0x0807, BIOS settings: hde:pio, hdf:pio
^^^^^^^^^^^^^
These port addresses are interesting... Are you sure your driver does
access the disks? These port addresses are not supposed to work with
stock kernels AFAIK....
quoted
hde: IBM-DJNA-352030, ATA DISK drive
ide2 at 0x840-0x847,0x000 on irq 25
^^^^^^
This sounds reasonable. To be sure, can you send an lspci -vv and
lspci -bvv along?
quoted
hde: IBM-DJNA-352030, 19470MB w/1966kB Cache, CHS=39560/16/63, UDMA(66)
Disk found. I guess if it gets through here, it is at least able to read
id info from the drive...
but when doing the partition check I get:
kernel: hde: lost interrupt
kernel: ide_dmaproc: chipset supported ide_dma_lostirq func only: 11
kernel: hde: lost interrupt
kernel: hde1ide_dmaproc: chipset supported ide_dma_lostirq func only: 11
kernel: hde: lost interrupt
kernel: hde2 hde3ide_dmaproc: chipset supported ide_dma_lostirq func
only: 11
Hm, might this be a problem with doing DMA?
and so on for every partition.
I compiled the kernel with sharing PCI IDE interrupt support, Generic PCI
busmaster support the AEC6260 driver AND Builtin PowerMac IDE support with
PowerMac IDE DMA support. If I let the buitin Ide support out, the kernel
wont even boot.
Yeah, PowerMac IDE support is still somewhat broken in the sense that
compile options are not clear, and generic IDE functionality depends on
machine-specific stuff configured-in that might not even be relevant to
your machine...
Thats wy I went back to the stable
kernel sources with the ide.2.2.15.20000504.patch with no real succes so
far either I admit :-)
I have a Promise U/66 IDE controller in my 7600, so I need Andre's
patches as well in the 2.2 kernels. I have not yet tried 2.2.15,
however... nor have I adapted the other patches that I need for PCI
stuff (like the port addresses mentioned above) to 2.2.15. Some day
soon...
Michel
-------------------------------------------------------------------------
Michel Lanners | " Read Philosophy. Study Art.
23, Rue Paul Henkes | Ask Questions. Make Mistakes.
L-1710 Luxembourg |
email mlan@cpu.lu |
http://www.cpu.lu/~mlan | Learn Always. "
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Hi,
here come the requested lspci outputs
On Mon, 8 May 2000, Michel Lanners wrote:
[snip]
quoted
quoted
hde: IBM-DJNA-352030, ATA DISK drive
ide2 at 0x840-0x847,0x000 on irq 25
^^^^^^
This sounds reasonable. To be sure, can you send an lspci -vv and
lspci -bvv along?
lspci -vv gives:
00:0b.0 Host bridge: Apple Computer Inc. Bandit PowerPC host bridge (rev
03)
[snip] (the Bandit host bridge are not important I figure nor the Voodoo3
VGA card)
00:0f.0 SCSI storage controller: Artop Electronic Corp: Unknown device
0007 (rev 01)
Subsystem: Unknown device 1191:0007
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: 6 min, 6 max, 128 set
Interrupt: pin A routed to IRQ 25
Region 0: I/O ports at 0840
Region 1: I/O ports at 0830
Region 2: I/O ports at 0820
Region 3: I/O ports at 0810
Region 4: I/O ports at 0800
Capabilities: [58] Power Management version 1
Flags: PMEClk- AuxPwr- DSI- D1- D2- PME-
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00:10.0 Class ff00: Apple Computer Inc. Grand Central I/O (rev 02)
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: 32 set, cache line size 08
Region 0: Memory at f3000000 (32-bit, non-prefetchable)
and lspci -bvv gives :
[snip]
00:0f.0 SCSI storage controller: Artop Electronic Corp: Unknown device
0007 (rev 01)
Subsystem: Unknown device 1191:0007
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <P
ERR-
Latency: 6 min, 6 max, 128 set
Interrupt: pin A routed to IRQ 0
Region 0: I/O ports at 0840
Region 1: I/O ports at 0830
Region 2: I/O ports at 0820
Region 3: I/O ports at 0810
Region 4: I/O ports at 0800
Capabilities: [58] Power Management version 1
Flags: PMEClk- AuxPwr- DSI- D1- D2- PME-
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Looks pretty much identical to me ???
I hope this helps.
quoted
quoted
hde: IBM-DJNA-352030, 19470MB w/1966kB Cache, CHS=39560/16/63, UDMA(66)
Disk found. I guess if it gets through here, it is at least able to read
id info from the drive...
When I use pdisk /dev/hde I can even read the partition map. But it keeps
reporting loosing its interrupt and cloggs my messages file every 10
seconds :-)
Furthermore I can't format a partition as the access is drat slow (I
suppose the lost interrupt) it seems as if the computer is locked but it
simply is tied up trying to do stuff on the drive.
Hm, might this be a problem with doing DMA?
Don't know. Supposetly the driver wants DMA ??? I simply don't know.
Henning
--------------------------------------------------------------------------
Henning Loeser Fachbereich Physik
email: henning.loeser@physik.uni-marburg.de AG Oberflaechen
Philipps-Uni Marburg
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/