2004-09-18 21:22:30

by Mårten Berggren

[permalink] [raw]
Subject: IDE: pdc202xx_new on Asus A7V333?

Hi,

I have been trying to get pdc202xx_new working (in 2.4.27) on my
Asus A7V333 motherboard (with VIA KT333 and a PDC20276). Loading
it as a module with modprobe gives me the following entires in the
syslog:

Sep 18 12:27:25 r2d2 kernel: PDC20276: IDE controller at PCI slot
00:06.0
Sep 18 12:27:25 r2d2 kernel: PCI: Found IRQ 5 for device 00:06.0
Sep 18 12:27:25 r2d2 kernel: PCI: Sharing IRQ 5 with 00:09.0
Sep 18 12:27:25 r2d2 kernel: PCI: Sharing IRQ 5 with 00:10.0
Sep 18 12:27:25 r2d2 kernel: PDC20276: chipset revision 1
Sep 18 12:27:25 r2d2 kernel: PDC20276: not 100%% native mode: will probe
irqs later
Sep 18 12:27:25 r2d2 kernel: ide2: BM-DMA at 0xb000-0xb007, BIOS
settings: hde:pio, hdf:pio
Sep 18 12:27:25 r2d2 kernel: ide3: BM-DMA at 0xb008-0xb00f, BIOS
settings: hdg:pio, hdh:pio

which gives me the impression that the module has loaded ok, but there
is no matching entries in /proc/ide and pdcraid does not find it.
So is there any way to tell if it is working or not? (Should there
be an entry in /proc/ide?)

If it is not working, can it be because it shares IRQ 5 with my USB
and network card?

(Part of) /proc/pci:

Bus 0, device 6, function 0:
RAID bus controller: Promise Technology, Inc. PDC20276 IDE (rev 1).
IRQ 5.
Master Capable. Latency=32. Min Gnt=4.Max Lat=18.
I/O at 0xd400 [0xd407].
I/O at 0xd000 [0xd003].
I/O at 0xb800 [0xb807].
I/O at 0xb400 [0xb403].
I/O at 0xb000 [0xb00f].
Non-prefetchable 32 bit memory at 0xd5800000 [0xd5803fff].
...
Bus 0, device 9, function 0:
USB Controller: VIA Technologies, Inc. USB (rev 80).
IRQ 5.
Master Capable. Latency=32.
I/O at 0xa800 [0xa81f].
...
Bus 0, device 16, function 0:
Ethernet controller: National Semiconductor Corporation DP83815
(MacPhyter) Ethernet Controller (rev 0).
IRQ 5.
Master Capable. Latency=32. Min Gnt=11.Max Lat=52.
I/O at 0xa000 [0xa0ff].
Non-prefetchable 32 bit memory at 0xd3800000 [0xd3800fff].

(Part of) /proc/interrupts:
5: 2175 XT-PIC usb-uhci, eth0

Please help; I have spent quite some time on this. I'm not afraid
of printk debugging, but I have no idea how the system should work.

Regards

M?rten Berggren


2004-09-18 21:28:49

by Andre Tomt

[permalink] [raw]
Subject: Re: IDE: pdc202xx_new on Asus A7V333?

M?rten Berggren wrote:
> Hi,
>
> I have been trying to get pdc202xx_new working (in 2.4.27) on my
> Asus A7V333 motherboard (with VIA KT333 and a PDC20276). Loading
> it as a module with modprobe gives me the following entires in the
> syslog:
<snip>
> which gives me the impression that the module has loaded ok, but there
> is no matching entries in /proc/ide and pdcraid does not find it.
> So is there any way to tell if it is working or not? (Should there
> be an entry in /proc/ide?)

If it's a so-called "raid" version of the PDC, you may need to enable
CONFIG_PDC202XX_FORCE, as the firmware "hides" the drives.

2004-09-18 21:48:13

by Mårten Berggren

[permalink] [raw]
Subject: RE: IDE: pdc202xx_new on Asus A7V333?

> > which gives me the impression that the module has loaded
> ok, but there
> > is no matching entries in /proc/ide and pdcraid does not
> find it. So
> > is there any way to tell if it is working or not? (Should
> there be an
> > entry in /proc/ide?)
>
> If it's a so-called "raid" version of the PDC, you may need to enable
> CONFIG_PDC202XX_FORCE, as the firmware "hides" the drives.

Good point. I forgot to mention that it is indeed sold as a RAID
system (and it seems to work under XP Pro) and that I have selected
"Ignore BIOS port disabled setting on FastTrak" and "Use PCI DMA by
default when available".

(I also tried to switch PCI-slot for my networking card, but the
effect was that the PDC now shares interrupts with more on-board
USB devices instead of the network card.)

Thanks

M?rten Berggren