[haiku-development] Re: harddisk access

  • From: Marcus Overhagen <marcusoverhagen@xxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 25 Jul 2007 14:01:16 +0200 (CEST)

Stephan Assmus <superstippi@xxxxxx> wrote:

> Hi Euan,
> 
> Euan Kirkhope wrote (2007-07-25, 12:37:46 [+0200]):
> > I've looked at this also when trying to fix an IDE DMA issue with my 
> > desktop chipset.  Couldn't really figure it out at all, and I was only at
> 
> > the kernel level!
> 
> I appear to have the same problem with my chipset. Luckily, ZETA apparently 
> tries to re-read after DMA timeouts, whereas Haiku goes into KDL 
> eventually, with "Device timeout" panics. Would be great if this was fixed.
While I have never seen haiku panic that way, we do indeed have bugs
in the DMA handling. Even vmware complains, and haiku does a couple of
useless device resets because DMA inside vmware is failing.

http://dev.haiku-os.org/ticket/1176
http://dev.haiku-os.org/ticket/985

I added some dprintf info in 
http://svn.berlios.de/viewcvs/haiku?rev=19990&view=rev
I really tried to find the root cause for about two days, but the IDE
code is really crude, and then I gave up (back in January).

> The problem seems to depend on how many harddrives I connect. With one PATA
> 
> drive, I can boot and use Haiku. With an additional SATA drive (in IDE 
> compat mode), I can boot and use ZETA from the SATA drive, but I get tons 
> of IDE DMA timeouts after a couple of minutes use. Windows would only 
> install with the lonely PATA drive in place, and it doesn't boot as soon as
I have a similar problem. With Haiku, and with Windows.

> the SATA drive is connected. With another SATA drive and no PATA drive, I 
> can barely use ZETA, because the DMA timeouts get really bad. I can boot 
I'm not using zeta.

> Haiku from that drive, but when it tries to write back the pages (sync) 
> everything file related freezes and then I get the KDLs with the Device 
> timeout errors. With the first SATA drive as only drive, I can use ZETA 
no kdl here, but the same proble,.

> fine, but Haiku doesn't boot because BFS produces a read-error during boot,
> so that it doesn't even find the boot partition... I think my chipset or 
> rather the BIOS is really bad :-\
What system do you use?

regards
Marcus


Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren
ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT FÜR ALLE NEUEINSTEIGER
Jetzt bei Arcor: günstig und schnell mit DSL - das All-Inclusive-Paket
für clevere Doppel-Sparer, nur  34,95 ?  inkl. DSL- und ISDN-Grundgebühr!
http://www.arcor.de/rd/emf-dsl-2

Other related posts: