[BUG] FreeBSD 4.2 does not accept keyboard input

Discussion of development and patch submission.
Post Reply
win2kgamer
Posts: 74
Joined: Sun 09 Nov, 2014 12:24 am

[BUG] FreeBSD 4.2 does not accept keyboard input

Post by win2kgamer »

In PCem v15 and in PCem-dev commit 063a40d, FreeBSD 4.2 will successfully boot but appears to hang once the install menu appears.
Screenshot from 2020-03-04 21-06-39.png
Screenshot from 2020-03-04 21-06-39.png (13.65 KiB) Viewed 4104 times
Ignoring the prompt to switch to the root floppy and attempting to boot with the kernel floppy still in the drive causes a kernel panic (which is expected behavior) and a prompt saying there will be an automatic reboot in 15 seconds and to press a key to abort. No input seems to be accepted here but the system reboots after the expected 15 seconds.
Screenshot from 2020-03-04 21-20-45.png
Screenshot from 2020-03-04 21-20-45.png (11.55 KiB) Viewed 4104 times
In VirtualBox, pressing a key here stops the reboot and prints a message to the console saying to "Press a key on the console to reboot"
I also noticed an atkbd0 device get initialized in VBox that isn't in PCem

PCem machine config:
Machine: [Socket 7] Shuttle HOT-557
CPU: Intel Pentium 166
Memory: 64MB
Video: Phoenix S3 Trio64
Sound: None
HDD: IDE 2GB
FDD: 1.44MB 3.5"
CD-ROM: 24x PCemCD
Mouse: 2-button PS/2

Kernel init messages in PCem v15:
Screenshot from 2020-03-04 21-47-30.png
Screenshot from 2020-03-04 21-47-30.png (14.45 KiB) Viewed 4104 times
Kernel init messages in VirtualBox:
VirtualBox_FreeBSD 4.2_04_03_2020_21_51_24.png
VirtualBox_FreeBSD 4.2_04_03_2020_21_51_24.png (12.86 KiB) Viewed 4104 times
User avatar
SarahWalker
Site Admin
Posts: 2054
Joined: Thu 24 Apr, 2014 4:18 pm

Re: [BUG] FreeBSD 4.2 does not accept keyboard input

Post by SarahWalker »

Fixed in rev 1520.
win2kgamer
Posts: 74
Joined: Sun 09 Nov, 2014 12:24 am

Re: [BUG] FreeBSD 4.2 does not accept keyboard input

Post by win2kgamer »

Thanks. Using PCem-dev commit 6bd1c70, I was able to successfully complete a FreeBSD 4.2 installation.
Post Reply