Bug 2552
Summary: | Hardlock running hdparm on kernel linux-2.6.5-mm6 (nforce2) | ||
---|---|---|---|
Product: | Platform Specific/Hardware | Reporter: | Gerald J. Normandin jr. (gerrynjr) |
Component: | i386 | Assignee: | Zwane Mwaikambo (zwane) |
Status: | CLOSED CODE_FIX | ||
Severity: | blocking | CC: | eric, ganadist, lenb |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | linux-2.6.5-mm6 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: |
working.diff
Working .config file |
Description
Gerald J. Normandin jr.
2004-04-20 19:50:53 UTC
Also, only other kernel attempted, is my current running kernel, 2.6.3-rc2-mm1. No lockups whatsoever, if that helps. It's the only other kernel i've found to be stable on this board. only other 2.6 kernel, I might add. Same problem: Distribution: Debian unstable Hardware Environment: AMD AthlonXP 3000+ 1GB ram Abit Nf7-S (nvidia Nforce2) hda: Maxtor 6Y160P0 hde: Maxtor 6Y200M0 (sata) Software Environment: gcc version 3.3.3 (Debian 20040306) linux-2.6.5 + bootsplash patch hdparm v5.5 reiserfsck 3.6.14 I have an hardlock if I run hdparm -t /dev/hde (the serial ata), but NOT if I run hdparm -t /dev/hda My system also freeze if I run reiserfsck /dev/hde2 (sata) but NOT if I run reiserfsck /dev/hda2 (root partition). I have no problem with linux-2.6.3 woohoooooo! Looks like I might have fixed the issue... I realized there was one critical difference in my kernel configurations: the 2.6.3 was configured as SMP, the 2.6.5 was not. I configured 2.6.5 to be SMP, bam hdparm works great: root@screamer gerrynjr # hdparm -t /dev/hda /dev/hda: Timing buffered disk reads: 154 MB in 3.04 seconds = 50.72 MB/sec interesting... Bingo! I set SMP to yes and now it works! Thank you very much. Both hdparm and reiserfsck dont freeze! I hope there is no problem running a smp-kernel on a mono-processor system... Bye! did you check http://atlas.et.tudelft.nl/verwei90/nforce2/ ? there are good solutions for nforce2 chipset. I didn't try the patches, but using 'noapic' or 'acpi=off' did not help; I am recompiling now to see if this works. somebody please attach a .config that hangs and the diff with the one that does not. I've been unable to get my nforce2 to hang. TIA. Created attachment 2674 [details]
working.diff
Here is a diff of what freezes on my system (2.6.5.cfg) with noapic and
acpi=off and what works (2.6.5.smp.cfg) without turning anything off. With the
first, turning off those options gets my machine to stay alive longer, but not
if I try to do any I/O (my disk seems to "freeze" with the activity light on).
I left the machine on overnight with the second config and it still seems okay.
I'm now doing some recompiles to put it through some tests, so we'll see (it
did some compiles overnight, too). So far so good. :)
Created attachment 2678 [details]
Working .config file
This is my working .config file.
My machine hasn't yet died in the last 4 days and that's with playing Never Winter Nights, Unreal Tournament 2004, and doing several compiles. Vanilla 2.6.5 with SMP (instead of IO-APIC with Local-APIC). No issues here as well With using SMP, right (just for clarification ;))? I started having the same issue as you with 2.6.6. 2.6.4 was rock stable. I never tried 2.6.5. My system often hard locks on boot. when the system dose not lock on boot it locks on disk access. ls /usr/bin or hdpram. Have you tried 2.6.6 yet; If so what happen? My system A7N8X Mainboard, 2500+, Promise Ultra100TX2 hard drive controller, and WDC WD1200BB-00DAA3 hard drive. I haven't tried 2.6.6 yet, but did you try enabling SMP and see if that fixed it? The SMP kernels unconditionally enable the IOAPIC and Local-APIC, regardless, this bug should be fixed in current kernels with the various nForce2 IOAPIC fixes. |