lkml.org 
[lkml]   [1999]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectPIIX oops
A few weeks ago I sent linux-kernel an oops trace caused by boot-time
IDE probing weirdness. Specifically Linux boots with

hdb: non-IDE drive, CHS=622/64/63

(hdb does not, in fact, exist at all), and in recent 2.3.x, this
misconception causes an oops+hang just after. I still don't know why
hdb is being "found", but I did manage to prevent the oops:

--- drivers/block/piix.c.orig Fri Oct 8 06:52:02 1999
+++ drivers/block/piix.c Fri Oct 8 08:52:39 1999
@@ -166,6 +166,9 @@
int a_speed = 2 << (drive_number * 4);
int u_flag = 1 << drive_number;

+ if (!id)
+ return ide_dma_off_quietly;
+
pci_read_config_word(dev, maslave, &reg4042);
sitre = (reg4042 & 0x4000) ? 1 : 0;
pci_read_config_word(dev, 0x44, &reg44);
(That was against 2.3.18ac8 or so, I believe.) So: does anyone want to
try and debug why my piix3 seems to be telling Linux it has an hdb? I
am happy to run test patches but I don't know enough about Linux, the
PC BIOS or IDE to do much more by myself.

--
Peter Samuelson
<sampo.creighton.edu!psamuels>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.139 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site