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/