Re: [Cooker] Midnight Commander problems
On Thursday 03 Oct 2002 00:24, Peter Ruskin wrote: On Wednesday 02 Oct 2002 22:45, Felix Miata wrote: Michal Bukovjan wrote: Felix Miata wrote: Michal Bukovjan wrote: When logged into a console as normal user (michal, uid 501), running Midnight Commander barfs at me this message: warning: [gpm.c(857)]: Failed gpm connect attempt by uid 501 for vc /dev/vc/0 last=/home/flepied/RPM/BUILD/gpm-1.20.0/src/liblow.c home/flepied/RPM/BUILD/gpm-1.20.0/src/liblow.c flepied/RPM/BUILD/gpm-1.20.0/src/liblow.c RPM/BUILD/gpm-1.20.0/src/liblow.c BUILD/gpm-1.20.0/src/liblow.c gpm-1.20.0/src/liblow.c src/liblow.c liblow.c info: [liblow.c(446)]: Warning: closing connection [snip] Midnight Commander works OK when logged in a console as root or for any user under X terminal. [snip] Not just Mandrake. I've just reported this bug with Gentoo. The culprit looks like liblow.c of gpm-1.20.0. I'm using framebuffer vga=791 and have a PS/2 optical mouse. I just did... # chgrp users /dev/misc/psaux ...then rebooted and mc works OK as a user on the text console. However, the mouse has no effect, so although mc doesn't segfault it isn't very useful. Peter -- Gentoo Linux (portage-2.0.38). KDE: 3.0.3 Qt: 3.0.5 AMD Athlon(tm) XP 1600+ 512MB. Kernel: 2.4.19-win4lin. GCC 3.2 Linux user #275590 (http://counter.li.org/). up 1:07. #=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=#
[Cooker] Midnight Commander problems
When logged into a console as normal user (michal, uid 501), running Midnight Commander barfs at me this message: warning: [gpm.c(857)]: Failed gpm connect attempt by uid 501 for vc /dev/vc/0 last=/home/flepied/RPM/BUILD/gpm-1.20.0/src/liblow.c home/flepied/RPM/BUILD/gpm-1.20.0/src/liblow.c flepied/RPM/BUILD/gpm-1.20.0/src/liblow.c RPM/BUILD/gpm-1.20.0/src/liblow.c BUILD/gpm-1.20.0/src/liblow.c gpm-1.20.0/src/liblow.c src/liblow.c liblow.c info: [liblow.c(446)]: Warning: closing connection The message is as copied from the screen, so maybe a little garbled. The MC screen then becomes scrolled up, and mc is therefore not usable. Indeed, I have no right to access /dev/vc/0 (root|root). This is an upgrade to 9.0 from clean install of 8.2 (download edition). Midnight Commander works OK when logged in a console as root or for any user under X terminal. Michal Bukovjan
Re: [Cooker] Midnight Commander problems
Michal Bukovjan wrote: When logged into a console as normal user (michal, uid 501), running Midnight Commander barfs at me this message: warning: [gpm.c(857)]: Failed gpm connect attempt by uid 501 for vc /dev/vc/0 last=/home/flepied/RPM/BUILD/gpm-1.20.0/src/liblow.c home/flepied/RPM/BUILD/gpm-1.20.0/src/liblow.c flepied/RPM/BUILD/gpm-1.20.0/src/liblow.c RPM/BUILD/gpm-1.20.0/src/liblow.c BUILD/gpm-1.20.0/src/liblow.c gpm-1.20.0/src/liblow.c src/liblow.c liblow.c info: [liblow.c(446)]: Warning: closing connection The message is as copied from the screen, so maybe a little garbled. The MC screen then becomes scrolled up, and mc is therefore not usable. Indeed, I have no right to access /dev/vc/0 (root|root). This is an upgrade to 9.0 from clean install of 8.2 (download edition). Midnight Commander works OK when logged in a console as root or for any user under X terminal. Same for me in the betas and RC's. Does it happen even if you don't use a vga= parameter on your kernel line? IIRC, it only happens to me when I have used vga=788. What is your video card? Here's what I wrote down one of the many times it happened to me: last=/home/flepied/RPM/BUILD/gpm-1.20.0/src/liblow.c info: [liblow.c(446)]: warning: closing connection -- To fear the Lord is to hate evil. . . . Proverbs 8:13 NIV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://members.ij.net/mrmazda/
Re: [Cooker] Midnight Commander problems
Felix Miata wrote: Michal Bukovjan wrote: When logged into a console as normal user (michal, uid 501), running Midnight Commander barfs at me this message: warning: [gpm.c(857)]: Failed gpm connect attempt by uid 501 for vc /dev/vc/0 last=/home/flepied/RPM/BUILD/gpm-1.20.0/src/liblow.c home/flepied/RPM/BUILD/gpm-1.20.0/src/liblow.c flepied/RPM/BUILD/gpm-1.20.0/src/liblow.c RPM/BUILD/gpm-1.20.0/src/liblow.c BUILD/gpm-1.20.0/src/liblow.c gpm-1.20.0/src/liblow.c src/liblow.c liblow.c info: [liblow.c(446)]: Warning: closing connection The message is as copied from the screen, so maybe a little garbled. The MC screen then becomes scrolled up, and mc is therefore not usable. Indeed, I have no right to access /dev/vc/0 (root|root). This is an upgrade to 9.0 from clean install of 8.2 (download edition). Midnight Commander works OK when logged in a console as root or for any user under X terminal. Same for me in the betas and RC's. Does it happen even if you don't use a vga= parameter on your kernel line? IIRC, it only happens to me when I have used vga=788. What is your video card? Here's what I wrote down one of the many times it happened to me: last=/home/flepied/RPM/BUILD/gpm-1.20.0/src/liblow.c info: [liblow.c(446)]: warning: closing connection Hi! I have vga=788. So I rebooted to linux-nonfb (no vga=788) and all hell broke loose! The X work, but the text console is unusable - cursor is way off the characters as I type. The screen appears to be divided by rows into halfs/thirds, although there is no rule to this. When I start mc, the screen is filled with random chars and portion of mc interface, if I refresh mc (Ctrl+R) the screen eventually fills up with solid green! clear command will not help, console switching restores about half the screen. Amidst the chars I spotted the (gpm) message as well, though, so it may not be related only to vga=788 mode only. I have Athlon 1GHz, MSI K7T Turbo (VIA KT133A chipset), ATI All in Wonder Radeon QD, 265MB RAM This nonfb bug is quite serious - I'll check tomorrow if it is better after cold boot! Needless to say, this worked OK in MDK8.2. Michal Bukovjan
Re: [Cooker] Midnight Commander problems
Michal Bukovjan wrote: Felix Miata wrote: Michal Bukovjan wrote: When logged into a console as normal user (michal, uid 501), running Midnight Commander barfs at me this message: warning: [gpm.c(857)]: Failed gpm connect attempt by uid 501 for vc /dev/vc/0 last=/home/flepied/RPM/BUILD/gpm-1.20.0/src/liblow.c home/flepied/RPM/BUILD/gpm-1.20.0/src/liblow.c flepied/RPM/BUILD/gpm-1.20.0/src/liblow.c RPM/BUILD/gpm-1.20.0/src/liblow.c BUILD/gpm-1.20.0/src/liblow.c gpm-1.20.0/src/liblow.c src/liblow.c liblow.c info: [liblow.c(446)]: Warning: closing connection The message is as copied from the screen, so maybe a little garbled. The MC screen then becomes scrolled up, and mc is therefore not usable. Indeed, I have no right to access /dev/vc/0 (root|root). This is an upgrade to 9.0 from clean install of 8.2 (download edition). Midnight Commander works OK when logged in a console as root or for any user under X terminal. Same for me in the betas and RC's. Does it happen even if you don't use a vga= parameter on your kernel line? IIRC, it only happens to me when I have used vga=788. What is your video card? Here's what I wrote down one of the many times it happened to me: last=/home/flepied/RPM/BUILD/gpm-1.20.0/src/liblow.c info: [liblow.c(446)]: warning: closing connection I have vga=788. So I rebooted to linux-nonfb (no vga=788) and all hell broke loose! I made no suggestion to add anything to your kernel line. What possessed you to try nonfb? Try as I suggested, neither nonfb nor vga=788. As long as you are trying, try vga=785 vga=791 as well. I have Athlon 1GHz, MSI K7T Turbo (VIA KT133A chipset), ATI All in Wonder Radeon QD, 265MB RAM So this has little or nothing to do with hardware. All the machines I see this on are K6/2 with ET6x00 video. Needless to say, this worked OK in MDK8.2. I just booted to runlevel 1 with vga=788, and was reminded that running as root mc is also not trouble free. On each reopen of mc with Ctrl-o, the screen scrolls a bunch of characters up the screen before drawing the mc window. It does the same at each use of a command from the mc prompt, as soon as you press a key to continue after the command has completed. While this trouble is new in mc for 9.0, there was a bug in previous versions that remains. When mc is run at a vc but *not* in VGA default 80 x 25 mode, that is instead with kernel vga=785 or vga=788 or others, many times engaging F3 on an ordinary text file produces a file display that ignores many (all?) line feeds, compressing mulitple file lines onto single display lines and making the content tough to understand. The only workaround is to use F4 instead of F3 to view such files. -- To fear the Lord is to hate evil. . . . Proverbs 8:13 NIV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://members.ij.net/mrmazda/
Re: [Cooker] Midnight Commander problems
On Wednesday 02 Oct 2002 22:45, Felix Miata wrote: Michal Bukovjan wrote: Felix Miata wrote: Michal Bukovjan wrote: When logged into a console as normal user (michal, uid 501), running Midnight Commander barfs at me this message: warning: [gpm.c(857)]: Failed gpm connect attempt by uid 501 for vc /dev/vc/0 last=/home/flepied/RPM/BUILD/gpm-1.20.0/src/liblow.c home/flepied/RPM/BUILD/gpm-1.20.0/src/liblow.c flepied/RPM/BUILD/gpm-1.20.0/src/liblow.c RPM/BUILD/gpm-1.20.0/src/liblow.c BUILD/gpm-1.20.0/src/liblow.c gpm-1.20.0/src/liblow.c src/liblow.c liblow.c info: [liblow.c(446)]: Warning: closing connection [snip] Midnight Commander works OK when logged in a console as root or for any user under X terminal. [snip] I have vga=788. So I rebooted to linux-nonfb (no vga=788) and all hell broke loose! I made no suggestion to add anything to your kernel line. What possessed you to try nonfb? Try as I suggested, neither nonfb nor vga=788. As long as you are trying, try vga=785 vga=791 as well. I have Athlon 1GHz, MSI K7T Turbo (VIA KT133A chipset), ATI All in Wonder Radeon QD, 265MB RAM So this has little or nothing to do with hardware. All the machines I see this on are K6/2 with ET6x00 video. Needless to say, this worked OK in MDK8.2. I just booted to runlevel 1 with vga=788, and was reminded that [snip] Not just Mandrake. I've just reported this bug with Gentoo. The culprit looks like liblow.c of gpm-1.20.0. I'm using framebuffer vga=791 and have a PS/2 optical mouse. Peter -- Gentoo Linux (portage-2.0.38). KDE: 3.0.3 Qt: 3.0.5 AMD Athlon(tm) XP 1600+ 512MB. Kernel: 2.4.19-win4lin. GCC 3.2 Linux user #275590 (http://counter.li.org/). up 2:18. #=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=#