Have a problem with DMA not enabled on the ide ports:
(Using voyage Linux 4.01)  Chipset is detected but complains about not
enabled by the bios.

Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
AMD5536: IDE controller at PCI slot 0000:00:14.2
AMD5536: chipset revision 1
AMD5536: not 100% native mode: will probe irqs later
AMD5536: 0000:00:14.2 (rev 01) UDMA100 controller
AMD5536: neither IDE port enabled (BIOS)
Probing IDE interface ide0...
hdb: TRANSCEND, ATA DISK drive
Probing IDE interface ide1...
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdb: max request size: 128KiB
hdb: 3988656 sectors (2042 MB) w/1KiB Cache, CHS=3957/16/63
    hdb: hdb1

voyage: # lspci -vvvxxx
....
00:14.2 IDE interface: Advanced Micro Devices [AMD] CS5536 [Geode
companion] IDE (rev 01) (prog-if 80 [Master])
           Subsystem: Advanced Micro Devices [AMD] CS5536 [Geode
companion] IDE
           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: 0, Cache Line Size: 32 bytes
           Region 0: [virtual] Memory at 000001f0 (32-bit,
non-prefetchable) [disabled] [size=8]
           Region 1: [virtual] Memory at 000003f0 (type 3,
non-prefetchable) [disabled] [size=1]
           Region 2: [virtual] Memory at 00000170 (32-bit,
non-prefetchable) [disabled] [size=8]
           Region 3: [virtual] Memory at 00000370 (type 3,
non-prefetchable) [disabled] [size=1]
           Region 4: I/O ports at e000 [size=16]
00: 22 10 9a 20 05 00 a0 02 01 80 01 01 08 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 01 e0 00 00 00 00 00 00 00 00 00 00 22 10 9a 20
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: 00 00 00 00 00 00 00 00 a8 a8 a8 a8 ff 00 ff ff
50: 03 03 03 03 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Seems that DMA requires that offset 40, bit 2 is set.
The timing registers have been set though (Offsets 48, 4c, and 50)


On the new Wrap Alix board with the same voyage linux version you get:
AMD5536: IDE controller at PCI slot 0000:00:0f.2
AMD5536: chipset revision 1
AMD5536: not 100% native mode: will probe irqs later
AMD5536: 0000:00:0f.2 (rev 01) UDMA100 controller
     ide0: BM-DMA at 0xff00-0xff07, BIOS settings: hda:DMA, hdb:pio
Probing IDE interface ide0...
hda: CF 512MB, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hda: max request size: 128KiB
hda: 1015056 sectors (519 MB) w/1KiB Cache, CHS=1007/16/63, DMA
   hda: hda1

lspci gives:

00:0f.2 IDE interface: Advanced Micro Devices [AMD] CS5536 [Geode
companion] IDE (rev 01) (prog-if 80 [Master])
         Subsystem: Advanced Micro Devices [AMD] CS5536 [Geode 
companion] IDE
         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: 248, Cache Line Size: 32 bytes
         Region 0: [virtual] Memory at 000001f0 (32-bit,
non-prefetchable) [disabled] [size=8]
         Region 1: [virtual] Memory at 000003f0 (type 3,
non-prefetchable) [disabled] [size=1]
         Region 2: [virtual] Memory at 00000170 (32-bit,
non-prefetchable) [disabled] [size=8]
         Region 3: [virtual] Memory at 00000370 (type 3,
non-prefetchable) [disabled] [size=1]
         Region 4: I/O ports at ff00 [size=16]
00: 22 10 9a 20 05 00 a0 02 01 80 01 01 08 f8 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 01 ff 00 00 00 00 00 00 00 00 00 00 22 10 9a 20
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: 02 f0 00 00 00 00 00 00 a8 a8 a8 20 3f 00 ff 20
50: 03 03 03 03 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00


Hans



  > On 6/24/2007 9:08 PM, Iustin Pop wrote:
> In case anyone is interested in running linux on the net5501, here are
> my initial results. I use a sandisk ultra-3 2G card (SanDisk
> SDCFX3-2048).
> 
> Debian etch installs without problems. I compiled then 2.6.21.5 and I
> have a few issues, not critical I would say:
>   - the compact flash card is not detected as dma-capable, and forcing
>     it doesn't work; the ide driver reports some errors in dmesg, see
>     below;
>   - the machine type as reported by "uname -m" is i586, so the
>     i686-optimised libc is not being used. From the AMD docs, I thought
>     the geode lx is supposed to implement all the ppro instruction set
>     (/proc/cpuinfo reports cmov), but who knows...
>   - I didn't find a driver which supports the watchdog, so for now I run
>     without it.
> 
> On the network performance side, things are looking really good (at
> least compared to 4801):
>  - desktop -> 5501, iperf: 95.9 MBits/s, cpu ~45% idle
>  - 5501 -> desktop, 94.8 MBits/s, cpu: around 40% (+/- 2%)idle bridging:
>  - (desktop -> 5501 -> laptop), iperf, > 90MBits/s, cpu ~95% idle
>  - bi-directional-line gets around 110MBits/s total (65Mb/s+45MB/s), I
>    suspect the laptop has issues (cpu usage : 100%) but the 5501 also
>    has 100% CPU usage
> 
> Anyway, this is only quick testing, but I'm glad that the 5501 can fill
> fast ethernet (with MTU-sized packets), something which (in my
> experience) the 4801 wasn't able to do. I'll test routing performance
> next, to see how that works.
> 
> For the no dma part, here is the relevant section of the dmesg:
> 
> Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> AMD5536: IDE controller at PCI slot 0000:00:14.2
> AMD5536: chipset revision 1
> AMD5536: not 100% native mode: will probe irqs later
> AMD5536: 0000:00:14.2 (rev 01) UDMA100 controller
> AMD5536: neither IDE port enabled (BIOS)
> Probing IDE interface ide0...
> hda: SanDisk SDCFX3-2048, CFA DISK drive
> Probing IDE interface ide1...
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> hda: max request size: 128KiB
> hda: 4001760 sectors (2048 MB) w/1KiB Cache, CHS=3970/16/63
>  hda: hda1 hda2 hda3 < hda5 hda6 hda7 > hda4
> 
> Tuning with hdparm (-m4, -u1, -c1, -X mdmda2, but node that -d1 doesn't
> work) increases the speed from 1.8 only to 2.1 MB/s, which is very low
> (this card should do a maximum of 20MB/s). The part that seems strange
> to me is the "neither IDE port enabled (BIOS)".
> 
> regards,
> iustin
> _______________________________________________
> Soekris-tech mailing list
> [email protected]
> http://lists.soekris.com/mailman/listinfo/soekris-tech
> 
> 

_______________________________________________
Soekris-tech mailing list
[email protected]
http://lists.soekris.com/mailman/listinfo/soekris-tech

Reply via email to