Opened 11 years ago

Closed 9 years ago

#2735 closed bug (fixed)

Low memory (64MB) causes PS/2 keyboard to stop functioning

Reported by: idefix Owned by: korli
Priority: normal Milestone: R1
Component: Servers/input_server Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: x86

Description

When I boot hrev27578 with only one 64 MB memory module, the PS/2 keyboard doesn't respond to anything (e.g. numlock on/off, F12 doesn't work).
If I put in an 128 MB memory module (making it 192 MB), the keyboard does work normally.

See attached serial-logs for both scenarios.

Attachments (5)

Seriallog (64MB).txt (58.8 KB) - added by idefix 11 years ago.
Booting hrev27578 with 64MB: PS/2 keyboard doesn't work.
Seriallog (192MB).txt (45.0 KB) - added by idefix 11 years ago.
Booting hrev27578 with 192MB: PS/2 keyboard does work.
Seriallog (64MB) restart.txt (63.5 KB) - added by idefix 11 years ago.
Booting hrev27578 with 64MB: PS/2 keyboard doesn't work. After input_server restart keyboard works, but Wacom tabled doesn't work. Plugging USB connector out and in causes Wacom to work again.
Seriallog r27964 (64MB).txt (46.5 KB) - added by idefix 11 years ago.
Booting hrev27964 with 64MB: PS/2 keyboard doesn't work and "/bin/sh /boot/beos/system/boot/Bootscript" crashes.
Seriallog r30012 (64MB).txt (48.1 KB) - added by idefix 10 years ago.
Booting hrev30012 with 64MB: PS/2 keyboard works, but "runtime_loader: memory shortage in get_sorted_image_list()" appeared in the serial-log.

Download all attachments as: .zip

Change History (15)

Changed 11 years ago by idefix

Attachment: Seriallog (64MB).txt added

Booting hrev27578 with 64MB: PS/2 keyboard doesn't work.

Changed 11 years ago by idefix

Attachment: Seriallog (192MB).txt added

Booting hrev27578 with 192MB: PS/2 keyboard does work.

comment:1 Changed 11 years ago by marcusoverhagen

Component: Drivers/Keyboard/PS2Servers/input_server
Owner: changed from marcusoverhagen to korli

Both logfiles contain "ps2: keyboard found", problem might be related to input server.

comment:2 Changed 11 years ago by marcusoverhagen

reassigning, not sure if you are the correct owner

comment:3 Changed 11 years ago by korli

dunno, I just checked with Qemu and 48MB and it worked OK. It seems the PS2 mouse fails to init. Could it be related ?

comment:4 Changed 11 years ago by idefix

The PS/2 mouse fails to init because there's no PS/2 mouse connected to the computer. :)

comment:5 Changed 11 years ago by idefix

I investigated this further:

  • In VMware both keyboard and mouse work correct with 64MB.
  • When I restart input_server (by killing it with Processcontroller), the keyboard starts working. Only this time my Wacom tablet doesn't work, but that's fixed by plugging the USB connector out and in. See attached serial-log.

Changed 11 years ago by idefix

Booting hrev27578 with 64MB: PS/2 keyboard doesn't work. After input_server restart keyboard works, but Wacom tabled doesn't work. Plugging USB connector out and in causes Wacom to work again.

comment:6 Changed 11 years ago by idefix

With a recent release (e.g. hrev27964) not only does the keyboard not work, but "/bin/sh /boot/beos/system/boot/Bootscript" crashes. See attached serial-log.

Changed 11 years ago by idefix

Attachment: Seriallog r27964 (64MB).txt added

Booting hrev27964 with 64MB: PS/2 keyboard doesn't work and "/bin/sh /boot/beos/system/boot/Bootscript" crashes.

comment:7 Changed 10 years ago by idefix

Booted hrev28749 quite a few times (for bug #2531) and every time the keyboard worked perfectly (even when Haiku only got 44 MB to play with (MAX_TRACE_SIZE was set to 20 MB)).
"/bin/sh /boot/beos/system/boot/Bootscript" still does crash sometimes though.

comment:8 Changed 10 years ago by idefix

With hrev30012, "/bin/sh /boot/beos/system/boot/Bootscript" doesn't crash anymore. (Keyboard also works perfectly.)

Instead, I get the following message in the serial-log: "runtime_loader: memory shortage in get_sorted_image_list()". See attached serial-log.

Changed 10 years ago by idefix

Attachment: Seriallog r30012 (64MB).txt added

Booting hrev30012 with 64MB: PS/2 keyboard works, but "runtime_loader: memory shortage in get_sorted_image_list()" appeared in the serial-log.

comment:9 Changed 9 years ago by idefix

I think this ticket can be closed:

  • I don't have that computer anymore
  • my laptop (also got 64MB) running hrev35349 doesn't show this behaviour

comment:10 Changed 9 years ago by korli

Resolution: fixed
Status: newclosed

Thanks for the feedback

Note: See TracTickets for help on using tickets.