Return to BSD News archive
Path: sserve!manuel!munnari.oz.au!spool.mu.edu!umn.edu!noc.msc.net!uc.msc.edu!shamash!runyon.cim.cdc.com!pbd
From: pbd@runyon.cim.cdc.com (Paul Dokas)
Newsgroups: comp.unix.bsd
Subject: HELP! I stumbled on KERN001 bug...
Keywords: and I can't get up
Message-ID: <47637@shamash.cdc.com>
Date: 16 Sep 92 16:17:22 GMT
Sender: usenet@shamash.cdc.com
Organization: ICEM Systems, Inc.
Lines: 28
Thank God that the buglist came out today! I just hooked up a 1GB
drive as SCSI id# 2 to my system and I tried to:
disklabel -r as2d
:-( :-( :-(
I got an attach message about SCSI id #2 and the vendor string of
<IMPRIMIS 94601-15 4614> and then a "panic: in kmem_alloc: kmem_map
too small" :-( :-( :-(
But, the unofficial buglist places this as kernel bug #1 (KERN001)
and says that it can be due to the as driver getting a totally
bogus response to a SCSI read capacity command. It goes on to mention
that a work around is to hack the as driver so that it will repeat
the SCSI command when a bogus response is found.
Now, I'm not an expert on the as driver, but I'm a proficient coder and
have rebuilt the kernel countless times. Could someone help me out
by pointing to the section of code that needs hacking (in as.c I assume)
Also, while I'm at it, does anyone have a disktab entry for this drive?
--
#include <std.disclaimer>
#define FULL_NAME "Paul Dokas"
#define EMAIL "pbd@runyon.cim.cdc.com"
/* we are realizing infinite possibilities in exchange for our soul */