public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Linux hangs when DMA is used
@ 2001-10-15 11:23 Vadim
  2001-10-15 18:26 ` John Gluck
  0 siblings, 1 reply; 2+ messages in thread
From: Vadim @ 2001-10-15 11:23 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 2723 bytes --]

This is one of the most puzzling issues I've ever seen. I'm posting here 
because since Win98 works (that is, doesn't crash more than usual), and DMA 
is enabled...
It is a recently installed Mandrake 8.0 system, and I'm using kernel 
2.4.12. I installed it on a P166MMX,  because it hangs during the install 
on this one. Then I moved the hard disk.

The oddest thing is that this used to work! When I upgraded my computer, 
Linux worked just fine (I think the last kernel I was running was 2.4.9). 
Then I unfortunately lost my partition due to the damned ATI Rage Pro 
Turbo, which made the computer crash all the time (windows too). The new 
card works fine. Win98 works, but Linux and Win2K hang during the 
installation. I tried the old S3 Virge, but that doesn't change anything...

My hardware:
Duron 850
Transcend AKT4/B (With the VIA 686B chip)
256MB RAM
RealTek RTL8139
Sound Blaster Live! Value
ATI Rage IIC AGP

Here are some things that happened on my screen after booting the system:
Found IRQ 11 for device 00:07:3  (USB)
Sharing IRQ 11 with 00:07:2  (USB)
Sharing IRQ 11 with 00:14:0  (NIC - RealTek RTL8139)
Spurious 8259A interrupt: IRQ7 (LPT1, the printer is off)
reiserfs: checking transaction log (device 03:01)
Warning, log replay starting on readonly filesystem

There is some disk access, then it hangs. When I pressed a key the monitor 
switched to standby mode!
Reboot.

NET4: Unix domain sockets 1.0/SMP for Linux NET4.0
ds: no socket drivers loaded!

It hangs with the disk light on.
Reboot. This time I take out the SBLive and the network card, and disable 
IRQ for USB and video card. This seems to make it behave better, but the 
spurious interrupt message still happens on every boot

ds: no socket drivers loaded!
reiserfs: checking transaction log (device 03:01)
Warning, log replay starting on readonly filesystem

Again, it hangs. I turn the system off completely, turn it on and the 
monitor is in standby and the computer doesn't boot!
I turn off the system again, wait longer, it works.

  I try hdparm and disable absolutely everything (DMA, readahead, etc)
everything seems to work just fine. hdparm -Tt says 2.3mb/s, yuck.

I enable 32 bit access, test again, it works.
I enable DMA, test, and it hangs.

The odd thing is that for the test I used "find / > /dev/null" and "grep 
'spurious' -r *" (in the kernel source) and it actually worked for a while.
I see find showing folders, and grep working just fine, the disk is busy... 
and then suddenly it hangs. Somehow, when it boots, even if DMA is used it 
seems to work. I can easily chdir/ls or read howtos without problems, but 
as soon as I try something that uses the disk a lot, like find, grep, or 
hdparm -Tt, it hangs.


[-- Attachment #2: Type: application/pgp-signature, Size: 222 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Linux hangs when DMA is used
  2001-10-15 11:23 Linux hangs when DMA is used Vadim
@ 2001-10-15 18:26 ` John Gluck
  0 siblings, 0 replies; 2+ messages in thread
From: John Gluck @ 2001-10-15 18:26 UTC (permalink / raw)
  To: Vadim; +Cc: linux-kernel

Hi

I tried using the 2.4.12 kernel on my machine and it won't even boot. I get a
LIL- and nothing after that.
>From what I've seen, the 2.4.11 had some serious problems and 2.4.12 was an
attempt to address those. I think 2.4.12 still has issues so I dropped back to
2.4.10.

You might want to try 2.4.10 if you can.

John

Vadim wrote:

> This is one of the most puzzling issues I've ever seen. I'm posting here
> because since Win98 works (that is, doesn't crash more than usual), and DMA
> is enabled...
> It is a recently installed Mandrake 8.0 system, and I'm using kernel
> 2.4.12. I installed it on a P166MMX,  because it hangs during the install
> on this one. Then I moved the hard disk.

[snip]


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-10-15 18:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-15 11:23 Linux hangs when DMA is used Vadim
2001-10-15 18:26 ` John Gluck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox