Subject: how to indicate no console?
To: None <current-users@NetBSD.ORG>
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
List: current-users
Date: 11/24/1997 16:56:26
  This is a bit i386-specific, but probably applies to other ports as
well: in arch/i386/i386/machdep.c, line 1830, it says:

	panic("invalid console device %s", consinfo->devname);

  Problem: there is no console, so how does the user see this?
  Probably, it should say something like:

#if (NPC > 0) || (NVT > 0)
	pccnattach();
	panic("invalid console device %s", consinfo->devname);
#endif
	while(1) {
	  DELAY(1000000L);
	  outb(PITAUX_PORT, inb(PITAUX_PORT) | PIT_SPKRDATA);
	  DELAY(100000L);
	  outb(PITAUX_PORT, inb(PITAUX_PORT) & ~PITSPKRDATA);
	}

  ...?

]       ON HUMILITY: to err is human. To moo, bovine.           |  SSH IPsec  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |international[
] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |strong crypto[
] panic("Just another NetBSD/notebook using, kernel hacking, security guy");  [