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