home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 22551 < prev    next >
Encoding:
Internet Message Format  |  1993-01-03  |  1.7 KB

  1. Path: sparky!uunet!stanford.edu!agate!usenet.ins.cwru.edu!wariat!kf8nh
  2. From: kf8nh@kf8nh.wariat.org (Brandon S. Allbery)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: SLS 0.99 + patches 1 and 2 = cold boot
  5. Message-ID: <Z5cTwB1w165w@kf8nh.wariat.org>
  6. Date: Sun, 03 Jan 93 13:27:46 EST
  7. References: <sRBswB1w165w@kf8nh.wariat.org>
  8. Distribution: world
  9. Organization: Brandon S. Allbery's Personal System
  10. Lines: 27
  11.  
  12. kf8nh@kf8nh.wariat.org (Brandon S. Allbery) writes:
  13. > I just patched my SLS 0.99 kernel sources with the 0.99.1 and 0.99.2 patches
  14. > from tsx-11 and rebuilt the kernel.  I did make two source changes:  I
  15. > changed MOUSE_IRQ from 5 to 9 in <linux/busmouse.h> (my mouse being on IRQ2;
  16. > IRQ5 is either COM3 or a QIC02 tape drive, which is going to cause me some
  17. > problems!) and swapped the CTRL and CAPSLOCK keys in keyboard.c (this under
  18. > control of a #define, SWAP_CAPL_CTRL).
  19. > The resulting boot disk printed the usual "Loading..." stuff, then (at the
  20. > point that the SLS boot disk asks for the video mode, occasionally
  21. > indicating a "Wild interrupt? (IRQ9)" because MS-DOS doesn't deconfigure my
  22. > busmouse before a reboot...) it cold boots.
  23.  
  24. I found it.  Let this be a lesson to would-be kernel hackers....
  25.  
  26. I had decided that I should print a warning at boot time that the kernel was
  27. swapping its caps-lock and ctrl keys, so I put a printk() in kbd_init().  It
  28. never occurred to me that kbd_init() might be called when it wasn't safe to
  29. call printk().
  30.  
  31. 0.99.2 now works flawlessly, as far as I can tell, as does the mouse.  Now
  32. all I need is a new ps :-)
  33.  
  34. ++Brandon (I think I'll stick to databases next time....)
  35.  
  36. He's BAAAACK! Brandon S. Allbery     NOTE NEW ADDRESS!!! kf8nh@kf8nh.wariat.org
  37.  
  38.