getty paniced
Oliver Lehmann
lehmann at ans-netz.de
Mon Sep 6 14:31:24 PDT 2004
Hi,
My alpha 5.2-BETA2 (which was connected to my router) died (iirc: first time
ever).
I tried then to login with serial using kermit on my router to see what went
wrong. Kermit told me, that /dev/cuaa0 is allready in use. Of course - I had
misconfigured /etc/ttys with com1 and com2 running a login process. I
disabled them in ttys, and sent a HUP to 1. The login process coresponded to
/dev/ttyd0 on my router was still alive... and I was not able to kill it.
root 31471 0.0 1.7 1444 1012 d0- I<Es+ 10:50PM 0:00.16 login
I took the serial cable out and pluged it into my file servers interface...
kermit... worked
Back on my alpha, i saw an "OK" prompt... it was the boot manager
(/root/) C-Kermit>connect
Connecting to /dev/cuaa1, speed 9600
Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------
OK ?
Available commands:
heap show heap usage
halt halt the system
reboot reboot the system
bcachestat get disk block cache stats
autoboot boot automatically after a delay
boot boot a file or loaded kernel
lsdev list all devices
[...]
so I typed "boot". Back on the working system,
The alpha syslog shows me:
Sep 5 01:41:17 dill login: in prompt_echo_off(): tcsetattr(): Input/output error
Sep 5 01:41:17 dill login: pam_authenticate(): conversation failure
Sep 5 01:56:20 dill login: in prompt_echo_off(): tcsetattr(): Input/output error
Sep 5 01:56:20 dill login: pam_authenticate(): conversation failure
Sep 5 01:56:20 dill login: 1 LOGIN FAILURE ON ttyd0
Sep 5 02:06:23 dill login: in prompt_echo_off(): tcsetattr(): Input/output error
Sep 5 02:06:23 dill login: pam_authenticate(): conversation failure
Sep 5 02:21:27 dill login: in prompt_echo_off(): tcsetattr(): Input/output error
[...]
Sep 5 12:08:36 dill login: pam_authenticate(): conversation failure
Sep 5 12:23:39 dill login: in prompt_echo_off(): tcsetattr(): Input/output error
Sep 5 12:23:39 dill login: pam_authenticate(): conversation failure
Sep 5 12:27:04 dill kernel: sio0: 42 more interrupt-level buffer overflows (total 42)
Sep 5 12:38:42 dill login: in prompt_echo_off(): tcsetattr(): Input/output error
Sep 5 12:38:42 dill login: pam_authenticate(): conversation failure
[...]
Sep 6 17:29:48 dill login: in prompt_echo_off(): tcsetattr(): Input/output error
Sep 6 17:29:48 dill login: pam_authenticate(): conversation failure
Sep 6 17:39:52 dill kernel: pid 77277 (login), uid 0: exited on signal 4 (core dumped)
Sep 6 17:49:55 dill login: in prompt_echo_off(): tcsetattr(): Input/output error
Sep 6 17:49:55 dill login: pam_authenticate(): conversation failure
[...]
and finally...
Sep 6 22:45:58 dill kernel: pid 2336 (login), uid 0: exited on signal 4 (core dumped)
Sep 6 23:08:40 dill syslogd: kernel boot file is /boot/kernel/kernel
Sep 6 23:08:40 dill kernel:
Sep 6 23:08:40 dill kernel: fatal kernel trap:
Sep 6 23:08:40 dill kernel:
Sep 6 23:08:40 dill kernel: trap entry = 0x2 (memory management fault)
Sep 6 23:08:40 dill kernel: faulting va = 0x38
Sep 6 23:08:40 dill kernel: type = access violation
Sep 6 23:08:40 dill kernel: cause = load instructon
Sep 6 23:08:40 dill kernel: pc = 0xfffffc00003e78e8
Sep 6 23:08:40 dill kernel: ra = 0xfffffc000045b0c4
Sep 6 23:08:40 dill kernel: sp = 0xfffffe0016ed5710
Sep 6 23:08:40 dill kernel: usp = 0x11ffed68
Sep 6 23:08:40 dill kernel: curthread = 0xfffffc0023a4a2a0
Sep 6 23:08:40 dill kernel: pid = 2735, comm = getty
Sep 6 23:08:40 dill kernel:
Sep 6 23:08:40 dill kernel: panic: trap
Sep 6 23:08:40 dill kernel: Uptime: 6d1h10m48s
Sep 6 23:08:40 dill kernel: Dumping 765 MB
Sep 6 23:08:40 dill kernel:
Sep 6 23:08:40 dill kernel: Dump failed. Partition too small.
Sep 6 23:08:40 dill kernel: Automatic reboot in 15 seconds - press a key on the console to abort
Sep 6 23:08:40 dill kernel: --> Press a key on the console to reboot,
Sep 6 23:08:40 dill kernel: --> or switch off the system now.
Sep 6 23:08:40 dill kernel: Rebooting...
Sep 6 23:08:40 dill kernel: Copyright (c) 1992-2004 The FreeBSD Project.
Sep 6 23:08:40 dill kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
Sep 6 23:08:40 dill kernel: The Regents of the University of California. All rights reserved.
Sep 6 23:08:40 dill kernel: FreeBSD 5.3-BETA2 #0: Mon Aug 30 04:10:04 CEST 2004
Sep 6 23:08:40 dill kernel: olivleh1 at dill.salatschuessel.net:/usr/obj/alpha-5.3/usr/src/sys/DILL
I put both com1 and com2 gettys back to "on" on my router and reconnected
the serial cable - but no syslog entry on alpha right now... don't know
what really caused it, and if it's reproduceable and how...
--
Oliver Lehmann
http://www.pofo.de/
http://wishlist.ans-netz.de/
More information about the freebsd-current
mailing list