Re: Re: DMA disabled after lost interrupt (on ibook)

2006-04-15 Thread Benjamin Herrenschmidt
On Sat, 2006-04-15 at 16:05 +0200, Peter Moll wrote: > Hello Ben, I found the thread about the disabled dma, and this has just > happened to me as well, when trying to burn a cd. Lost dma on both my > cdrom and hard drive. I'm running Ubuntu dapper drake, with all the > latest updates installed on

Re: Re: DMA disabled after lost interrupt (on ibook)

2006-04-15 Thread Peter Moll
Hello Ben, I found the thread about the disabled dma, and this has just happened to me as well, when trying to burn a cd. Lost dma on both my cdrom and hard drive. I'm running Ubuntu dapper drake, with all the latest updates installed on an ibook g3 900 with 600MB ram with all the apple shipped har

Re: Re: DMA disabled after lost interrupt (on ibook)

2006-04-15 Thread Peter Moll
Hello Ben, I found the thread about the disabled dma, and this has just happened to me as well, when trying to burn a cd. Lost dma on both my cdrom and hard drive. I'm running Ubuntu dapper drake, with all the latest updates installed on an ibook g3 900 with 600MB ram with all the apple shipped har

Re: DMA disabled after lost interrupt (on ibook)

2005-08-15 Thread Benjamin Herrenschmidt
> > It seems to help, no more 'lost interrupt' message since 4 days :) > > Thank you for this hack^W beautiful workaround ;) Well, all that means is that we'll be stuck to U/DMA2 instead of 4 which is slower. That sucks. I've experienced the lost interrupt myself once btw, while travelling (wi

Re: DMA disabled after lost interrupt (on ibook)

2005-08-15 Thread Sebastien NOEL
On Mon, 15 Aug 2005 19:32:26 +0200 , Vivenzio Pagliari wrote: > [...] > My logs date back from Jun 10. Since then, my ibook was up on 27 days > and the 'lost interrupt' happened 4 times. So maybe you should still > continue to watch this? I was getting the 'lost interrupt' message with each large/

Re: DMA disabled after lost interrupt (on ibook)

2005-08-15 Thread Vivenzio Pagliari
Sebastien NOEL wrote: > On Mon, 08 Aug 2005 11:09:05 +0200 , Benjamin Herrenschmidt wrote: > > >>Can you try tweaking the driver in drivers/ide/ppc/pmac.c, and put this >>code in #if 0 : >> >> /* Get cable type from device-tree */ >> if (pmif->kind == controller_kl_ata4 || pmif->kind ==

Re: DMA disabled after lost interrupt (on ibook)

2005-08-13 Thread Sebastien NOEL
On Mon, 08 Aug 2005 11:09:05 +0200 , Benjamin Herrenschmidt wrote: > Can you try tweaking the driver in drivers/ide/ppc/pmac.c, and put this > code in #if 0 : > > /* Get cable type from device-tree */ > if (pmif->kind == controller_kl_ata4 || pmif->kind == controller_un_ata6 >

Re: DMA disabled after lost interrupt (on ibook)

2005-08-10 Thread Vivenzio Pagliari
Benjamin Herrenschmidt wrote: > On Wed, 2005-08-03 at 23:00 +0200, Vivenzio Pagliari wrote: > Yes, exactly same machine and same symptoms. i see these messages since a lng time. it happens when i copy big files or when i do huge & fast files transfert via ftp/scp. >>> >>>B

Re: DMA disabled after lost interrupt (on ibook)

2005-08-08 Thread Vivenzio Pagliari
Benjamin Herrenschmidt <[EMAIL PROTECTED]> schrieb am 08.08.05 11:14:40: > > Can you try tweaking the driver in drivers/ide/ppc/pmac.c, and put this > code in #if 0 : > > /* Get cable type from device-tree */ > if (pmif->kind == controller_kl_ata4 || pmif->kind == controller_un_ata6

Re: DMA disabled after lost interrupt (on ibook)

2005-08-08 Thread Benjamin Herrenschmidt
On Wed, 2005-08-03 at 23:00 +0200, Vivenzio Pagliari wrote: > >> Yes, exactly same machine and same symptoms. > >> i see these messages since a lng time. > >> > >> it happens when i copy big files or when i do huge & fast files transfert > >> via ftp/scp. > > > > Both of you are using Apple s

Re: DMA disabled after lost interrupt (on ibook)

2005-08-03 Thread Vivenzio Pagliari
>> Yes, exactly same machine and same symptoms. >> i see these messages since a lng time. >> >> it happens when i copy big files or when i do huge & fast files transfert >> via ftp/scp. > > Both of you are using Apple shipped hard disk or you replaced it ? We > might have to limit the timings

Re: DMA disabled after lost interrupt (on ibook)

2005-07-21 Thread Vivenzio Pagliari
Benjamin Herrenschmidt wrote: > Looks like your drive lockups occasionally... have you tried running > some SMART checks on it ? Sounds pretty bad to me... unless there is > a problem with the timings set by the driver but I pretty sure I use the > same ones as MacOS X ... > Ok, I ran some SMART

Re: DMA disabled after lost interrupt (on ibook)

2005-07-21 Thread Sebastien NOEL
On Thu, 21 Jul 2005 01:16:57 -0400 , Benjamin Herrenschmidt wrote: > > > Yes, exactly same machine and same symptoms. > > i see these messages since a lng time. > > > > it happens when i copy big files or when i do huge & fast files transfert > > via ftp/scp. > > Both of you are using Apple

Re: DMA disabled after lost interrupt (on ibook)

2005-07-21 Thread Gregory Seidman
On Thu, Jul 21, 2005 at 01:16:57AM -0400, Benjamin Herrenschmidt wrote: } } > Yes, exactly same machine and same symptoms. } > i see these messages since a lng time. } > } > it happens when i copy big files or when i do huge & fast files transfert } > via ftp/scp. } } Both of you are using A

Re: DMA disabled after lost interrupt (on ibook)

2005-07-21 Thread Gregory Seidman
On Thu, Jul 21, 2005 at 01:16:57AM -0400, Benjamin Herrenschmidt wrote: } } > Yes, exactly same machine and same symptoms. } > i see these messages since a lng time. } > } > it happens when i copy big files or when i do huge & fast files transfert } > via ftp/scp. } } Both of you are using A

Re: DMA disabled after lost interrupt (on ibook)

2005-07-20 Thread Benjamin Herrenschmidt
> I get the same lost interrupt issue on my dual G4. It doesn't just happen > on large/fast file I/O, it happens on any I/O at all. OS X continues to use > DMA just fine (I assume, based on a lack of sluggishness during disk > access). I don't have a solution, so I'd be very interested if you come

Re: DMA disabled after lost interrupt (on ibook)

2005-07-20 Thread Benjamin Herrenschmidt
> Yes, exactly same machine and same symptoms. > i see these messages since a lng time. > > it happens when i copy big files or when i do huge & fast files transfert > via ftp/scp. Both of you are using Apple shipped hard disk or you replaced it ? We might have to limit the timings to UDMA/4

Re: DMA disabled after lost interrupt (on ibook)

2005-07-20 Thread Gregory Seidman
On Thu, Jul 21, 2005 at 12:29:42AM +0200, Sebastien NOEL wrote: } On Thu, 21 Jul 2005 06:32:54 +1000 , Benjamin Herrenschmidt wrote: } } > On Wed, 2005-07-20 at 20:19 +0200, vivenzio wrote: } > } > > Kernel version is 2.6.12.1 (but I noticed the "lost interrupt" } > > messages already with previo

Re: DMA disabled after lost interrupt (on ibook)

2005-07-20 Thread Sebastien NOEL
On Thu, 21 Jul 2005 06:32:54 +1000 , Benjamin Herrenschmidt wrote: > On Wed, 2005-07-20 at 20:19 +0200, vivenzio wrote: > > > Kernel version is 2.6.12.1 (but I noticed the "lost interrupt" > > messages already with previous 2.6 versions). > > > > If more information is necessary (Kernel config?)

Re: DMA disabled after lost interrupt (on ibook)

2005-07-20 Thread Benjamin Herrenschmidt
On Wed, 2005-07-20 at 20:19 +0200, vivenzio wrote: > Kernel version is 2.6.12.1 (but I noticed the "lost interrupt" > messages already with previous 2.6 versions). > > If more information is necessary (Kernel config?), just tell me. > > If this could be some HW problem, how can I test if this re

DMA disabled after lost interrupt (on ibook)

2005-07-20 Thread vivenzio
Hi people, occasionally, I get "lost interrupt" messages in the logs of my ibook. They typically show up when the hard disc drive is busy, e.g. when lots of packages are extracted during "apt-get upgrade". When this happens, the hard disc "stops" working for some seconds and then continues to wo