Skip to contentSkip to conversation

X intel driver causes wrong wraparound of console command line

Bug 43167 [email protected] 1 participant 11 messages May 11, 2012 – Dec 31, 2012 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]/

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=43167

Daniel Vetter <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         AssignedTo|[email protected]             |[email protected]
                   |                            |.org
          Component|DRM/Intel                   |General
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=43167

--- Comment #36 from Alan <[email protected]> 2012-05-11 16:22:12 PDT --- Looks like a vt bug to me as well. As if something is changing the end of line behaviour flag and not restoring it. As and when Alex files it against the vt layer in the kernel bugzilla I'll take a look

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=43167

--- Comment #37 from [email protected] 2012-05-11 19:07:07 PDT --- Thanks, Alan.
As mentioned, I'm a simple user, never filed a kernel bug so I need a little help, please.

Is there an easy way (workaround?) to file a kernel bugzilla whereby I'd just basically point to this submission (43167) here. There's a lot of stuff accumulated during a 6-month flailing around; which is still of value, which is redundant (to put it mildly)?

1. If the "pointer" is allowed, hopefully new analysts can find their way.

2. If I have to start from scratch, which part(s) of this submission can be retained?

-- Alex

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=43167

--- Comment #38 from Alan <[email protected]> 2012-05-12 05:50:39 PDT --- Just include the URL of this bug in the kernel bug as a reference and that will be fine.

amd if you you can atdd a comment for the kernel bug URL here as well that also helps.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=43167

--- Comment #40 from Alan <[email protected]> 2012-05-13 07:51:54 PDT --- Thanks

(For reference the reason I want to take a look to see where the problem is likely to be is that when we switch
to the fbcon the shell should be getting SIGWINCH and the tty bits updated)

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#8 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=43167

Jani Nikula <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #41 from Jani Nikula <[email protected]> --- (In reply to comment #39)

Quoted 1 line

I just submitted

URL for convenience: http://bugzilla.kernel.org/show_bug.cgi?id=43239

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=43167

Jani Nikula <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |NEEDINFO

--- Comment #42 from Jani Nikula <[email protected]> --- (In reply to comment #34)

Quoted 8 lines

1. I did _exactly_ what you asked me to do. Twice. The hard way. To BISECT so one can find out where/when exactly this problem happened.

The bisection requested by _you_, shows clearly and unequivocally that the Bug occurred on this change:

04fee895ef98ffbb91a941b53a92d6949bb6d1c4 is the first bad commit commit 04fee895ef98ffbb91a941b53a92d6949bb6d1c4

Quoted 8 lines
Author: Rolf Eike Beer <[email protected]>
Date:   Wed Jun 15 11:27:02 2011 +0200

DRM: clean up and document parsing of video= parameter

That means that just BEFORE (i.e. any kernel release) there was no problem (drm, fb or _otherwise_) and AT THE TIME of this commit (04fee...6d1c4) and THEREAFTER this particular Bug showed up and persists to this day.

For completeness, the bisect result points at the first commit that actually starts using the margins ('m') option of the mode. Before the commit, it was silently ignored and unused. After the commit, the margins option is used and clearly does not work for you.

Does dropping 'm' from the modeline solve your problem?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=43167

--- Comment #43 from [email protected] ---
(In reply to comment #42)

Quoted 1 line

Does dropping 'm' from the modeline solve your problem?

Hi Jani,

I cannot believe this !!!

# The "old", subject machine:
# "ASUS P5E-VM HDMI" with Intel G35/ICH9R, Intel Core 2 Duo E8400, 3.0 GHz # kernel-3.7.1

[]$ cat /boot/grub/menu.lst
...
kernel /boot/LFSkernel root=/dev/sda3 video=640x400M@70 # without 'm'!

[]$ startx ...
# After exiting from Xorg (runlevel 5) to this console text, runlevel 3:

[]$ stty -a
speed 38400 baud; rows 25; columns 80; line = 0;
...
[]$ 123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789- -bash:
123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-:
command not found

(Note: the Comments limited window does not give proper justice to the actual command line, '123456789-123456789- ...'.
In real life, on the screen, the command text DOES wrap-around correctly to the next row after the 80th column.)

THANK YOU VERY MUCH !

Unless you come up with other questions/suggestions/comments, etc., I think(?) you can close this (I'm still in shock!)

Best Wishes,
-- Alex

PS We'll never know why 640x400 works. Could it be the "M" which moves us to a different look-up table (than what xrandr shows as "natural" resolutions)?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#11 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=43167

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |FIXED
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel