lkml.org 
[lkml]   [1998]   [Dec]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.2.0pre1 OOPS on boot.
"Steven N. Hirsch" wrote:
> Linus,
>
> 2.0.0-pre1 blows up in the 'swapper' task at boot time. Machine uses a
> gen-u-ine Pentium P166 which alleges support for TSC. Kernel is not built
> for SMP. I'm rebuilding with CONFIG_M486 and will let you know if this
> comes up.

Try this out or go get ac4.

diff -u virgin/drivers/block/ide.c linux/drivers/block/ide.c
--- virgin/drivers/block/ide.c Wed Dec 30 20:54:43 1998
+++ linux/drivers/block/ide.c Thu Dec 31 00:46:27 1998
@@ -2573,8 +2573,11 @@
static const byte head_vals[] = {4, 8, 16, 32, 64, 128, 255, 0};
const byte *heads = head_vals;
unsigned long tracks;
+
+ if ((drive = get_info_ptr(i_rdev)) == NULL)
+ return 0;

- if ((drive = get_info_ptr(i_rdev)) == NULL ||
drive->forced_geom) {
+ if (drive->forced_geom) {
/*
* Update the current 3D drive values.
*/
--
* Jens Axboe <axboe@image.dk>
* Linux CD-ROM Maintainer
* "The only thing that interferes with my
* learning is my education." -- A. Einstein

-
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:46    [W:0.150 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site