I have a running FreeBSD server
Note that now the kernel is #17. I compiled a kernel numbered #18, which with QUOTA enabled. My server ran with #18 for 46 days. Yesterday, the server shutdown due to a power problem. When I restart it, I found that I can not login.
The problem is: Sometimes, the "login:" prompt shows up, but when you are inputting password, the password echoed directly on the screen, and the system never accept it. Sometimes, the "login:" prompt doesn't even shows up, and the system just stops at the last step before login. But you still can switch ttys...
Then I switched to the Single User mode, did fsck, and checked all login related files, everything is OK. Then I used kernel #17 instead when booting. This time, I can login now.
I guessed my kernel #18 may be broken due to the crash, so I recompiled the kernel with the configuration of #18. Still can't login. Then I recompiled #17, still doesn't work.
I don't know why only my old kernel works. If the problem is on the linkage, the kernel should stop earlier, I guess. No problems that I searched match my condition, so I have to ask you for help. Any suggestions are welcome (except asking me to install a newer version of FreeBSD : ). Thank you.
Code:
niu-lug:~> uname -a
FreeBSD niu-lug.gotdns.org 5.5-RELEASE-p20 FreeBSD 5.5-RELEASE-p20 #17: Sun Jan rc/sys/i386/compile/YUETIME i386
Note that now the kernel is #17. I compiled a kernel numbered #18, which with QUOTA enabled. My server ran with #18 for 46 days. Yesterday, the server shutdown due to a power problem. When I restart it, I found that I can not login.
The problem is: Sometimes, the "login:" prompt shows up, but when you are inputting password, the password echoed directly on the screen, and the system never accept it. Sometimes, the "login:" prompt doesn't even shows up, and the system just stops at the last step before login. But you still can switch ttys...
Then I switched to the Single User mode, did fsck, and checked all login related files, everything is OK. Then I used kernel #17 instead when booting. This time, I can login now.
I guessed my kernel #18 may be broken due to the crash, so I recompiled the kernel with the configuration of #18. Still can't login. Then I recompiled #17, still doesn't work.
I don't know why only my old kernel works. If the problem is on the linkage, the kernel should stop earlier, I guess. No problems that I searched match my condition, so I have to ask you for help. Any suggestions are welcome (except asking me to install a newer version of FreeBSD : ). Thank you.