AW: [PATCH]: [MPC5200] Add ATA DMA support

2008-11-25 Thread Lehmann, Hans (Ritter Elektronik)
Tim, Grant,

just an info.

Very often the Bestcomm-FEC crashed without any error logs if I initiate a 
transaction over FEC and save the file to disk (I rememeber I have read 
something like that). A restart of FEC don't work.   
But no I figured out, if I connect to the other ethernet port of our board 
(natsemi) the FEC will awake to life again, if I initiate a new transaction 
over natsemi. This seems a little oddly to me.

Cheers  

Mit freundlichen Grüßen

Hans Lehmann
Softwareentwicklung

Telefon +49 (0)2191-67-2520
Fax +49 (0)2191-67-703408
e-mail  [EMAIL PROTECTED]

 

Ritter Elektronik GmbH
Leverkuser Straße 65
D-42897 Remscheid
www.ritter-elektronik.de http://www.ritter-elektronik.de/start.html 

Geschäftsführer: Manfred A. Wagner, Dr. Uwe Baader
Sitz der Gesellschaft: Oberhausen
HRB 17168 Duisburg  /  USt-ID DE 814009849



___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


AW: [PATCH]: [MPC5200] Add ATA DMA support

2008-11-25 Thread Lehmann, Hans (Ritter Elektronik)
Tim, Grant 
 
here are some more information. 
I think there is a also a problem with memory after FEC crasched.
 
[EMAIL PROTECTED]:~ free
  total used free   shared  buffers
   Mem:   12710026424   1006760  432
  Swap:000
Total:   12710026424   100676
[EMAIL PROTECTED]:~
[EMAIL PROTECTED]:~
[EMAIL PROTECTED]:~ ifdown eth0
net eth0: queues didn't drain
net eth0:   tx: index: 10, outdex: 6
net eth0:   rx: index: 117, outdex: 118
[EMAIL PROTECTED]:~ ifup eth0
net eth0: attached phy 0 to driver Generic PHY
[EMAIL PROTECTED]:~ freePHY: f0003000:00 - Link is Up - 100/Full
[EMAIL PROTECTED]:~ free
  total used free   shared  buffers
  Mem:   12710035028920720  760
 Swap:000
Total:   1271003502892072
 
Cheers


Mit freundlichen Grüßen

Hans Lehmann

Softwareentwicklung

Telefon +49 (0)2191-67-2520

Fax +49 (0)2191-67-703408

e-mail  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

Ritter Elektronik GmbH

Leverkuser Straße 65

D-42897 Remscheid

www.ritter-elektronik.de http://www.ritter-elektronik.de/start.html 

Geschäftsführer: Manfred A. Wagner, Dr. Uwe Baader

Sitz der Gesellschaft: Oberhausen

HRB 17168 Duisburg  /  USt-ID DE 814009849

 



Von: Matt Sealey [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 25. November 2008 16:19
An: Lehmann, Hans (Ritter Elektronik)
Cc: Tim Yamin; Grant Likely; linuxppc-dev@ozlabs.org
Betreff: Re: [PATCH]: [MPC5200] Add ATA DMA support




On Tue, Nov 25, 2008 at 8:45 AM, Lehmann, Hans (Ritter Elektronik) [EMAIL 
PROTECTED] wrote:


Tim, Grant,

just an info.

Very often the Bestcomm-FEC crashed without any error logs if I 
initiate a transaction over FEC and save the file to disk (I rememeber I have 
read something like that). A restart of FEC don't work.
But no I figured out, if I connect to the other ethernet port of our 
board (natsemi) the FEC will awake to life again, if I initiate a new 
transaction over natsemi. This seems a little oddly to me.



Hi guys,

We tried to get the SUSE guys to push the patch into openSUSE 11.1 release and 
the tests came back negative here too with regards to FEC support; for some odd 
reason, it does this;

https://bugzilla.novell.com/show_bug.cgi?id=445856#c10 


There is some weird interaction here, but I can't imagine what it might be. 
Tim, did you ever see any ethernet problems like this?

-- 
Matt Sealey [EMAIL PROTECTED]
Genesi, Manager, Developer Relations


___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


AW: [PATCH]: [MPC5200] Add ATA DMA support

2008-11-11 Thread Lehmann, Hans (Ritter Elektronik)
We take a vanilla kernel with rt11 patches from Ingo Mollnar.

Here are the section of my boot messages

ata: MPC52xx IDE/ATA libata driver
scsi0 : mpc52xx_ata
ata1: PATA max UDMA/33 ata_regs 0xf0003a00 irq 135
ata1.00: ATA-0: ELITE PRO CF CARD 1GB, 20070131, max MWDMA2
ata1.00: 2031120 sectors, multi 0: LBA
ata1.00: configured for MWDMA2
ata1.00: configured for MWDMA2
ata1: EH complete
scsi 0:0:0:0: Direct-Access ATA  ELITE PRO CF CAR 2007 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 2031120 512-byte hardware sectors (1040 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support 
DPO or FUA
sd 0:0:0:0: [sda] 2031120 512-byte hardware sectors (1040 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support 
DPO or FUA
 sda: sda1 

Greetings

Mit freundlichen Grüßen

Hans Lehmann
Softwareentwicklung

Telefon +49 (0)2191-67-2520
Fax +49 (0)2191-67-703408
e-mail  [EMAIL PROTECTED]



Ritter Elektronik GmbH
Leverkuser Straße 65
D-42897 Remscheid
www.ritter-elektronik.de

Geschäftsführer: Manfred A. Wagner, Dr. Uwe Baader
Sitz der Gesellschaft: Oberhausen
HRB 17168 Duisburg  /  USt-ID DE 814009849


-Ursprüngliche Nachricht-
Von: Matt Sealey [mailto:[EMAIL PROTECTED] Im Auftrag von Matt Sealey
Gesendet: Dienstag, 11. November 2008 15:36
An: Lehmann, Hans (Ritter Elektronik)
Cc: Tim Yamin; Grant Likely; linuxppc-dev@ozlabs.org
Betreff: Re: [PATCH]: [MPC5200] Add ATA DMA support

Oddly I built 2.6.27.2 with the patch and the Efika waited for a disk to 
appear and didn't get anywhere. If I set libata.dma=0 then it complained about 
missing symbols (but not with it enabled!).

This was a clean SUSE kernel from Factory, with only the ATA patch applied with 
a few hand-merges (pata_mpc52xx.c has had a line of whitespace removed at some 
point, but otherwise identical).

Lehmann, Hans (Ritter Elektronik) wrote:
 Tim, Grant,
 
 I have tested the patch on our MPC5200B based board with Kingston Elite Pro 
 CF-card and it worked fine with DMA2. I have port the patch back to 2.6.24.7 
 Kernel and I can't detect problems our errors, even with big files (40 mB) 
 over FEC wich I save to card . We get performance up to 10,5mB/s which is 
 near to the max. speed.
 
 Greetings
 
 
 
 
 Mit freundlichen Grüßen
 
 Hans Lehmann
 Softwareentwicklung
 
 Telefon   +49 (0)2191-67-2520
 Fax   +49 (0)2191-67-703408
 e-mail[EMAIL PROTECTED]
 
 
 
 Ritter Elektronik GmbH
 Leverkuser Straße 65
 D-42897 Remscheid
 www.ritter-elektronik.de
 
 Geschäftsführer: Manfred A. Wagner, Dr. Uwe Baader Sitz der 
 Gesellschaft: Oberhausen HRB 17168 Duisburg  /  USt-ID DE 814009849
 
 
 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]
 org] Im Auftrag von Tim Yamin
 Gesendet: Mittwoch, 13. August 2008 11:07
 An: Grant Likely
 Cc: linuxppc-dev@ozlabs.org
 Betreff: [WW Spam: medium] Re: [PATCH]: [MPC5200] Add ATA DMA support
 
 On Wed, Aug 13, 2008 at 7:11 AM, Grant Likely [EMAIL PROTECTED] wrote:
 Sounds good to me.  You will get more testers that way.  I can pick 
 it up for -next if everything else looks good.
 
 Here are the new patches; tested against 2.6.27-rc3.
 
 Thanks,
 
 Tim
 
 ___
 Linuxppc-dev mailing list
 Linuxppc-dev@ozlabs.org
 https://ozlabs.org/mailman/listinfo/linuxppc-dev

--
Matt Sealey [EMAIL PROTECTED]
Genesi, Manager, Developer Relations

___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


Re: AW: [PATCH]: [MPC5200] Add ATA DMA support

2008-11-11 Thread Matt Sealey

Hmm even with DMA built in my disk (Seagate 5400.8) still configured for
PIO4.

This is probably my fault. Tim, could you respin the patch anyway since
it doesn't apply cleanly to the 2.6.27 kernel? :)

This did work for me once but we were still using a SUSE kernel (from
11.0) to patch it onto and another interrupt controller patch crippled
performance so it wasn't a really good test..

--
Matt Sealey [EMAIL PROTECTED]
Genesi, Manager, Developer Relations

Lehmann, Hans (Ritter Elektronik) wrote:

We take a vanilla kernel with rt11 patches from Ingo Mollnar.

Here are the section of my boot messages

ata: MPC52xx IDE/ATA libata driver
scsi0 : mpc52xx_ata
ata1: PATA max UDMA/33 ata_regs 0xf0003a00 irq 135
ata1.00: ATA-0: ELITE PRO CF CARD 1GB, 20070131, max MWDMA2
ata1.00: 2031120 sectors, multi 0: LBA
ata1.00: configured for MWDMA2
ata1.00: configured for MWDMA2
ata1: EH complete
scsi 0:0:0:0: Direct-Access ATA  ELITE PRO CF CAR 2007 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 2031120 512-byte hardware sectors (1040 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support 
DPO or FUA
sd 0:0:0:0: [sda] 2031120 512-byte hardware sectors (1040 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support 
DPO or FUA
 sda: sda1 


Greetings

Mit freundlichen Grüßen

Hans Lehmann
Softwareentwicklung

Telefon +49 (0)2191-67-2520
Fax +49 (0)2191-67-703408
e-mail  [EMAIL PROTECTED]



Ritter Elektronik GmbH
Leverkuser Straße 65
D-42897 Remscheid
www.ritter-elektronik.de

Geschäftsführer: Manfred A. Wagner, Dr. Uwe Baader
Sitz der Gesellschaft: Oberhausen
HRB 17168 Duisburg  /  USt-ID DE 814009849


-Ursprüngliche Nachricht-
Von: Matt Sealey [mailto:[EMAIL PROTECTED] Im Auftrag von Matt Sealey
Gesendet: Dienstag, 11. November 2008 15:36
An: Lehmann, Hans (Ritter Elektronik)
Cc: Tim Yamin; Grant Likely; linuxppc-dev@ozlabs.org
Betreff: Re: [PATCH]: [MPC5200] Add ATA DMA support

Oddly I built 2.6.27.2 with the patch and the Efika waited for a disk to 
appear and didn't get anywhere. If I set libata.dma=0 then it complained about missing 
symbols (but not with it enabled!).

This was a clean SUSE kernel from Factory, with only the ATA patch applied with 
a few hand-merges (pata_mpc52xx.c has had a line of whitespace removed at some 
point, but otherwise identical).

Lehmann, Hans (Ritter Elektronik) wrote:

Tim, Grant,

I have tested the patch on our MPC5200B based board with Kingston Elite Pro 
CF-card and it worked fine with DMA2. I have port the patch back to 2.6.24.7 
Kernel and I can't detect problems our errors, even with big files (40 mB) over 
FEC wich I save to card . We get performance up to 10,5mB/s which is near to 
the max. speed.

Greetings




Mit freundlichen Grüßen

Hans Lehmann
Softwareentwicklung

Telefon +49 (0)2191-67-2520
Fax +49 (0)2191-67-703408
e-mail  [EMAIL PROTECTED]



Ritter Elektronik GmbH
Leverkuser Straße 65
D-42897 Remscheid
www.ritter-elektronik.de

Geschäftsführer: Manfred A. Wagner, Dr. Uwe Baader Sitz der 
Gesellschaft: Oberhausen HRB 17168 Duisburg  /  USt-ID DE 814009849



-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]

org] Im Auftrag von Tim Yamin
Gesendet: Mittwoch, 13. August 2008 11:07
An: Grant Likely
Cc: linuxppc-dev@ozlabs.org
Betreff: [WW Spam: medium] Re: [PATCH]: [MPC5200] Add ATA DMA support

On Wed, Aug 13, 2008 at 7:11 AM, Grant Likely [EMAIL PROTECTED] wrote:
Sounds good to me.  You will get more testers that way.  I can pick 
it up for -next if everything else looks good.

Here are the new patches; tested against 2.6.27-rc3.

Thanks,

Tim

___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


--
Matt Sealey [EMAIL PROTECTED]
Genesi, Manager, Developer Relations



___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev