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.2pre1 crashes with partition check
Mike McQuade wrote:
> 2.2pre1-ac2 CRASHED / OOPSes at the partition check as well.
>
> It attempts to check the partition on my /dev/sda drive (which is DOSfs,
> FAT16),then crashes. Linux is on the /dev/hda drive, booting Linux
> (bzImage) from Loadlin.

Same thing here... I traced it down to ide_xlate_1024 and applied this
simple patch gets solves the problem for me.

--- virgin/drivers/block/ide.c Wed Dec 30 20:54:43 1998
+++ linux/drivers/block/ide.c Wed Dec 30 20:47:40 1998
@@ -2575,6 +2575,9 @@
unsigned long tracks;

if ((drive = get_info_ptr(i_rdev)) == NULL ||
drive->forced_geom) {
+ /* bombs otherwise /axboe */
+ if (drive == NULL)
+ return 0;
/*
* Update the current 3D drive values.
*/
> PS. Can someone tell me how to capture the OOPS info when the system
> crashes hard like this at boot time ?
That would be nice, I had to do it the hard ware (meaning paper and
pencil :)

> Mike

--
* 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.042 / U:0.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site