home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.bsd
- Path: sparky!uunet!spool.mu.edu!uwm.edu!ux1.cso.uiuc.edu!news.cso.uiuc.edu!uxa.cso.uiuc.edu!jwp20406
- From: jwp20406@uxa.cso.uiuc.edu (Jeffrey Palmer)
- Subject: An interesting problem (and solution?)
- Message-ID: <BzHwLG.Dn0@news.cso.uiuc.edu>
- Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
- Organization: University of Illinois at Urbana
- Date: Sat, 19 Dec 1992 07:24:50 GMT
- Lines: 46
-
-
- Hey all,
-
- I love 386bsd, but lately I have been having some very strange
- problems... I was just windering if anyone else out there might have
- an idea as to why in the world my system would be doing this...
-
- The problem first started when I attempted to install a
- second Western Digital 2200a 200 Meg drive in my 486-50 Gateway 2000
- (which I've had no problems with, in relation to 386bsd). I found
- out quickly that I needed patches, so patch away I did... I tried
- the barsoom patches, but they didn't work. It seemed that they would
- see only the initial drive on my controller, and instead of a second
- drive, all I saw was another image of the first. Well, needless to say,
- that didn't do me any good. I installed the other 2nd hard-drive
- patches from the unofficial directory at agate, and they worked like a charm.
-
- However, although I could now label and newfs my drive, whenever
- I tried to mount or access the drive at startup, the label seemed to
- have a habit of either disappearing or causing the mmachine to hang
- while loading. Well, since I just finished finals I decided to
- dig around in 'ufs_disksubr.c' I wanted to find out where exactly
- my machine was crashing. Now I know this sounds like a bogus way
- to go about this, but I don't know too much about kernel debugging,
- so I put in some printf statements inbetween some lines that I thought
- looked interesting. Well, after a while I realized that this
- new kernel was able to read the label and mount and everything, no
- problem. I took out those printf statements just to be sure, and lo and
- behold, the machine crashed when I attempted to do a 'disklabel -r wd1'
-
- I am guessing that there is a timing problem here, but like I said,
- I am no Unix guru, just an intermmediate trying to get this system up.
- So, I just wanted to let you know about this problem, and to ask
- if anyone else has had this problem, and if there is a better way
- to solve this problem that a bunch of printfs...
-
- Thanks!
-
- Jeff
- palmer@cs.uiuc.edu
-
- --
- Jeffrey Palmer palmer@cs.uiuc.edu
- ------------------------------------------------
- for life's not a paragraph
- And death i think is no parenthesis
-