home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / bsd / 11151 < prev    next >
Encoding:
Text File  |  1993-01-12  |  1.9 KB  |  46 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!malgudi.oar.net!hyperion!wright!corcoran
  3. From: corcoran@valhalla.cs.wright.edu (Michael P. Corcoran)
  4. Subject: SOLUTION to 386bsd problem of panic:can't mount /
  5. Message-ID: <1993Jan12.051517.12955@cs.wright.edu>
  6. Sender: corcoran@cs.wright.edu (Michael P. Corcoran)
  7. Organization: Wright State University
  8. Date: Tue, 12 Jan 1993 05:15:17 GMT
  9. Lines: 35
  10.  
  11. The problem:
  12. I posted a message a couple of days ago saying that I could not
  13. get 386bsd to boot correctly because it kept failing with a message
  14. panic: "can't mount root"
  15. I found that the disk label was being corrupted whenever I rebooted.
  16.  
  17. The cause:
  18. The disk controller was mapping the 1632 Cyls 8 heads into 1024 cyls 
  19. 16 heads to overcome the dos 1024 cyl limitation.  BSD was trying to 
  20. use the "real" mapping while DOS was trying to use the translated 
  21. mapping and they conflicted.  
  22. (thanks to ejh@slustl.slu.edu for pointing it out!)
  23.  
  24. The solution: 
  25. My solution was to simply tell the controller to use native 1 to 1 mapping.
  26. This was an option in the ROM setup program in the controller run by
  27. getting in through DOS debug and then -g=c800:5.
  28. This causes DOS to think the entire disk is only about 200 Meg (out of 360)
  29. but I don't care.  The dos partition only uses the first few sectors anyway.
  30. BSD correctly sees that dos partition and reports the right number for
  31. the amount of disk left (total - dos).
  32.  
  33. So I'm on my way to an endless wonderland in bsd, installing and maintaining
  34. yet another OS on top of the 60 Sun and Dec workstations I already help
  35. to maintain.
  36.  
  37. Now I have to install X and a billion patches.... <yawn> time for sleep.
  38.  
  39. Mike
  40.  
  41. -- 
  42. _____________________________________________________________________________
  43.  Michael P. Corcoran, Computer Systems Engineer (corcoran@cs.wright.edu)
  44.  College of Engineering and Computer Science    FAX  :(513) 873-5009
  45.  Wright State University, Dayton, Ohio.      VOICE:(513) 873-5157
  46.