[clug] Looking for "Danger, Will Robinson" comment in source code

Bob Edwards bob at cs.anu.edu.au
Mon Jun 6 00:56:29 UTC 2022


Well done Luke!

Ahhh CVS - those were the days...

cheers,
Bob Edwards.

On 5/6/22 16:47, Luke Mewburn via linux wrote:
> A quick grep through the NetBSD src tree found this from 1997:
> 	http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/sun3/sun3x/pmap.c?rev=1.1&content-type=text/x-cvsweb-markup&only_with_tag=MAIN
> 
> 
>    2056  /* pmap_enter_kernel                    INTERNAL
>    2057   **
>    2058   * Map the given virtual address to the given physical address within the
>    2059   * kernel address space.  This function exists because the kernel map does
>    2060   * not do dynamic table allocation.  It consists of a contiguous array of ptes
>    2061   * and can be edited directly without the need to walk through any tables.
>    2062   *
>    2063   * XXX: "Danger, Will Robinson!"
>    2064   * Note that the kernel should never take a fault on any page
>    2065   * between [ KERNBASE .. virtual_avail ] and this is checked in
>    2066   * trap.c for kernel-mode MMU faults.  This means that mappings
>    2067   * created in that range must be implicily wired. -gwr
>    2068   */
>    2069  void
>    2070  pmap_enter_kernel(vaddr_t va, paddr_t pa, vm_prot_t prot)
> 
> 
> There might be older occurrences; that was the first one I found.
> 
> 
> 
> cheers,
> Luke.
> 
> 
> On 22-06-03 08:03, steve jenkin via linux wrote:
>    | A friend said he’d heard a story that "Danger, Will Robinson”  was buried in source code somewhere.
>    |
>    | went looking & failed to find a decent reference.
>    |
>    | Any clues?
>    |
>    | =================================
>    |
>    | For your amusement, things I found.
>    |
>    | =================================
>    |
>    | 500+ comments on Stackoverflow thread
>    |
>    | What is the best comment in source code you have ever encountered?
>    | 	<https://stackoverflow.com/questions/184618/what-is-the-best-comment-in-source-code-you-have-ever-encountered>
>    |
>    | Same thread as a single page
>    | WARNING: will attempt to print the page
>    |
>    | 	<http://www.stackprinter.com/questions/what-is-the-best-comment-in-source-code-you-have-ever-encountered.html>
>    |
>    | =================================
>    |
>    | man Syslogd
>    |
>    | 	<https://linux.die.net/man/8/syslogd>
>    |
>    | 	5.
>    |
>    | 	Use step 4 and if the problem persists and is not secondary to a rogue program/daemon get a 3.5 ft (approx. 1 meter) length of sucker rod* and have a chat with the user in question.
>    |
>    | 	Sucker rod def. - 3/4, 7/8 or 1in. hardened steel rod, male threaded on each end.
>    | 	Primary use in the oil industry in Western North Dakota and other locations to pump 'suck' oil from oil wells.
>    | 	Secondary uses are for the construction of cattle feed lots and for dealing with the occasional recalcitrant or belligerent individual.
>    |
>    | =================================
>    |
>    | Abba tribute in an easter egg.
>    |
>    | Why does man print "gimme gimme gimme" at 00:30?
>    | 	<https://unix.stackexchange.com/questions/405783/why-does-man-print-gimme-gimme-gimme-at-0030>
>    |
>    | =================================
>    |
>    | History of:
>    |
>    | 	 "Whenever faced with a problem, some people say `Lets use _____.'
>    |         Now, they have two problems.”
>    |
>    | creator:
>    | 	David Tilbrook
>    |
>    | <http://regex.info/blog/2006-09-15/247>
>    |
>    | =================================
>    |
>    |
>    | --
>    | Steve Jenkin, IT Systems and Design
>    | 0412 786 915 (+61 412 786 915)
>    | PO Box 38, Kippax ACT 2615, AUSTRALIA
>    |
>    | mailto:sjenkin at canb.auug.org.au http://members.tip.net.au/~sjenkin
>    |
>    |
>    | --
>    | linux mailing list
>    | linux at lists.samba.org
>    | https://lists.samba.org/mailman/listinfo/linux
> 




More information about the linux mailing list