home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / sun / admin / 9505 < prev    next >
Encoding:
Text File  |  1992-12-16  |  2.2 KB  |  56 lines

  1. Newsgroups: comp.sys.sun.admin
  2. Path: sparky!uunet!utcsri!geac!censor!comspec!noweh.com!georgn
  3. From: georgn@noweh.com (Georg S. Nikodym)
  4. Subject: Re: Solaris 2.x: resistance to it?
  5. In-Reply-To: tal@plts.uucp's message of 7 Dec 1992 23:19:23 -0500
  6. Message-ID: <GEORGN.92Dec15235401@idcrisis.noweh.com>
  7. Sender: georgn@noweh.com (Georg S. Nikodym)
  8. Organization: Noweh Software, Mississauga, CANADA
  9. References: <1992Nov27.095935.30232@bas-a.bcc.ac.uk> <1992Nov27.192404.3784@ukw.uucp>
  10.     <1992Dec3.134908.28714@ssigv.UUCP> <1g17obINNqtq@plts.uucp>
  11. Date: Wed, 16 Dec 1992 04:54:03 GMT
  12. Lines: 42
  13.  
  14. In article <1g17obINNqtq@plts.uucp> tal@plts.uucp (Tom Limoncelli) writes:
  15.  
  16.    In article <1992Dec3.134908.28714@ssigv.UUCP> gdonl@sunrise.ssi1.com (Don Lewis) writes:
  17.  
  18.    >In 2.x, can you replace an arbitrary kernel module this way, or just
  19.    >device drivers?  If you can only replace drivers, then how are other
  20.    >portions of the kernel patched? 
  21.  
  22.    Anything!  Anythinganythinganything!
  23.  
  24.    Think of it like this:  Solaris 2.x has /vmunix with only a "modload"
  25.    command and then on bootup modload's every thing that it possibly
  26.    needs.  Device drivers, kernel modules, chocolate sodas.  (Ok, not
  27.    chocolate sodas)
  28.  
  29.    From the way I read the Sun TechNotes article, my analogy isn't
  30.    too far off.
  31.  
  32.    >                                If your patch results in a system
  33.    >panic during boot, is there a way of doing the equivalent of booting
  34.    >a backup copy of vmunix in 1.x, or do you have to boot from cdrom to
  35.    >back out your patch?
  36.  
  37.    Don't know. :-)
  38.  
  39. Yes.  In the OpenBoot PROM you can issue commands like:
  40.  
  41.     boot disk /kernel/unix.old
  42.  
  43. Of course, there are certain gotchas.  For example, let's say that
  44. you've replaced /kernel/unix and /kernel/fs/ufs and then you find that
  45. they don't work...  Well when you boot the old kernel it'll still pick
  46. up the new ufs module, which may or may not have problems (yes, I've
  47. seen this personally).  The recovery, however, is not complex (simply
  48. boot a CD, mount your root and perform the necessary mods and reboot).
  49.  
  50. Happy hacking,
  51. -- 
  52. Georg S. Nikodym  -  (416) 272-5198 / 720-4729
  53. Noweh Software - Mississauga, Ontario, CANADA
  54. UUCP:    {comspec.com, lsuc.on.ca, uunet.ca}!noweh!georgn
  55. RFC822:    georgn@noweh.COM
  56.