[Bug 727272] New: using kernel with smp control characters floods screen during high IO operation
https://bugzilla.novell.com/show_bug.cgi?id=727272 https://bugzilla.novell.com/show_bug.cgi?id=727272#c0 Summary: using kernel with smp control characters floods screen during high IO operation Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: x86 OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: lijewski.stefan@zabka.pl QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 Java pos (point of sale) application is running on tty0 (no X server), using serial port fiscal printer. On system with more then one cpu (or core) when smp option is used, under heavy keyboard/barecode scanner input, control characters are flooding the screen. Those characters looks like strings which suppose goes to fiscal printer, but due to high latency are just flushed on tty0. The same happens after long use application. It's not related to particular fiscal printer - I reproduce it also on virtual machine using 'dummy fiscal printer' (just emulating it). After switching to 'nosmp' option, all is working normally, i.e. even after very high input traffic all is going properly to fiscal printer. This application is using libncurses to draw the screen. I found this bug primary on 11.3 with it's standard kernel (desktop), but after that I was able to reproduce it on every kernel from 3.0.4 to 2.6.31 - cannot test on earlier version, because I'm must use ext4. I think the problem will appear with every application which outputs anything to serial ports on system with smp -but I'm unable to test it. Reproducible: Always Steps to Reproduce: 1. Run system with more then 1 processors and app using serial ports. 2. Simulate high kbd input which must goes to serial port. 3. Actual Results: All string should be putted to serial port. Expected Results: After a while some of strings, which suppose to goes to serial ports, are flushed to screen. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727272
https://bugzilla.novell.com/show_bug.cgi?id=727272#c
Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=727272
https://bugzilla.novell.com/show_bug.cgi?id=727272#c1
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=727272
https://bugzilla.novell.com/show_bug.cgi?id=727272#c2
Stefan Lijewski
https://bugzilla.novell.com/show_bug.cgi?id=727272
https://bugzilla.novell.com/show_bug.cgi?id=727272#c3
Jiri Slaby
I've even simulated it on virtual machine with simple python scripts to simulate rapid input.
Could you provide us with the script? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727272
https://bugzilla.novell.com/show_bug.cgi?id=727272#c4
--- Comment #4 from Stefan Lijewski
https://bugzilla.novell.com/show_bug.cgi?id=727272
https://bugzilla.novell.com/show_bug.cgi?id=727272#c5
Stefan Lijewski
https://bugzilla.novell.com/show_bug.cgi?id=727272
https://bugzilla.novell.com/show_bug.cgi?id=727272#c
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=727272
https://bugzilla.novell.com/show_bug.cgi?id=727272#c6
Jiri Slaby
Script provided.
Ok, what am I supposed to do to reproduce the issue? I cannot see any mess or anything on the console. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727272
https://bugzilla.novell.com/show_bug.cgi?id=727272#c7
Stefan Lijewski
https://bugzilla.novell.com/show_bug.cgi?id=727272
https://bugzilla.novell.com/show_bug.cgi?id=727272#c8
Jiri Slaby
Murphy law - I cannot reproduce it on console now as well. Only when using our POS application the mess still appears on screen. But after booting with nosmp option, the mess disappears. Where should I direct this bug in that case? It's java, ncurses or our application related?
Sorry, I have no idea... Maybe you could try different implementations of java? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727272
https://bugzilla.novell.com/show_bug.cgi?id=727272#c9
--- Comment #9 from Stefan Lijewski
participants (1)
-
bugzilla_noreply@novell.com