lkml.org 
[lkml]   [2001]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectLinux hangs when DMA is used
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.

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:08    [W:0.036 / U:1.924 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site