Subject: Re: serial console & wscons - panic
To: Frederick Bruckman <fb@enteract.com>
From: Tracy J. Di Marco White <gendalia@iastate.edu>
List: port-i386
Date: 03/10/2001 11:47:57
Frederick Bruckman wrote:

}On Wed, 7 Mar 2001, Tracy Di Marco White wrote:
}
}> When it boots it says:
}> Mar  7 22:39:32 crunch getty[196]: /dev/ttyE0: Device not configured
}> (on the serial console)
}
}ttyE0 is configured automatically if it's the console. When it's not,
}you need to uncomment the line for it in /etc/wscons.conf (per the
}comment there). It may not be a bad idea to turn off the getty on
}ttyE0 until you have the serial console set up to your satisfaction.

The serial console is working just fine.  Should I just disable wscons?

}> This is what is currently on in /etc/ttys:
}> console "/usr/libexec/getty Pc"         pc3     on secure
}> ttyE0   "/usr/libexec/getty Pc"         vt220   on secure
}> ttyE1   "/usr/libexec/getty Pc"         vt220   on secure
}> ttyE2   "/usr/libexec/getty Pc"         vt220   on secure
}> ttyE3   "/usr/libexec/getty Pc"         vt220   on secure
}
}> I did something wrong, or missed something, but it attempting to
}> switch virtual consoles should probably not panic the machine.
}
}True, but you'll probably have better luck if you don't try to run a
}getty on the unconfigured virtual terminal.

The virtual terminal is no longer unconfigured, and attempting to
change virtual terminals still causes a panic.  Doing anything else
at the display has had no effect.

kernel: page fault trap, code=0
Stopped at      wsdisplay_switch+0x19:  cmpl    $0,         0(%eax,%ecx,4)
db> t
wsdisplay_switch(0,1,0,c0a12a00,c3a03e14) at wsdisplay_switch+0x19
internal_command(c0a12a00,c3a03e20,f401,3c,c0a13dc0) at internal_command+0x171
wskbd_translate(c0a13d40,2,3c,c0a13d80,c0a13dc0) at wskbd_translate+0xd8
wskbd_input(c0a12a00,2,3c,3c,2) at wskbd_input+0x53
pckbd_input(c0a13d80,3c) at pckbd_input+0x4e
pckbcintr(c0a04d00) at pckbcintr+0xfe
Xintr1() at Xintr1+0x6c
--- interrupt ---
idle(c39f44bc) at idle+0x1c
bpendtsleep(c02fe760,28,c029baa6,0,0) at bpendtsleep
sched_sync(c39f44bc) at sched_sync+0x203

Tracy J. Di Marco White
Project Vincent Systems Manager
gendalia@iastate.edu