public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: Zilvinas Valinskas <zilvinas@gemtek.lt>
Cc: Linus Torvalds <torvalds@osdl.org>,
	Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Linux 2.6.7 (stty rows 50 columns 140 reports : No such device or address)
Date: Wed, 16 Jun 2004 08:55:06 -0400	[thread overview]
Message-ID: <40D0432A.1080006@pobox.com> (raw)
In-Reply-To: <20040616095805.GC14936@gemtek.lt>

Zilvinas Valinskas wrote:
> On Compaq N800 EVO notebook with a radeonfb enabled - stty failes to
> adjust terminal size. strace log attached. Under 2.6.5/2.6.6 it used to
> work. 
> 
> relevant part:
> 
> open("/dev/vc/1", O_RDONLY|O_NONBLOCK|O_LARGEFILE) = 3
> fcntl64(3, F_GETFL)                     = 0x8800 (flags
> O_RDONLY|O_NONBLOCK|O_LARGEFILE)
> fcntl64(3, F_SETFL, O_RDONLY|O_LARGEFILE) = 0
> ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo
> ...}) = 0
> ioctl(3, TIOCGWINSZ, {ws_row=65, ws_col=175, ws_xpixel=0, ws_ypixel=0})
> = 0
> ioctl(3, TIOCSWINSZ, {ws_row=50, ws_col=175, ws_xpixel=0, ws_ypixel=0})
> = -1 ENXIO (No such device or address)
> write(2, "/bin/stty: ", 11)             = 11
> write(2, "/dev/vc/1", 9)                = 9
> open("/usr/share/locale/locale.alias", O_RDONLY) = 4
> 
> 
> it makes no difference when doing :
> 
> stty rows 50 columns 140 
> or
> stty rows 50 columns 140 -F /dev/vc/1 ... 
> 
> Exactly same error.


huh, I wonder if this is why reset(1) doesn't fully reset the terminal, 
like it used to ...

	Jeff



  reply	other threads:[~2004-06-16 12:57 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-16  5:56 Linux 2.6.7 Linus Torvalds
2004-06-16  6:58 ` Kalin KOZHUHAROV
2004-06-16 14:56   ` Jesper Juhl
2004-06-16  7:10 ` Jan De Luyck
2004-06-16  8:07 ` JFS compilation fix [was Re: Linux 2.6.7] Tomas Szepe
2004-06-16 12:55   ` Dave Kleikamp
2004-06-16 12:59     ` Dave Kleikamp
2004-06-16 13:05     ` Tomas Szepe
2004-06-16  9:58 ` Linux 2.6.7 (stty rows 50 columns 140 reports : No such device or address) Zilvinas Valinskas
2004-06-16 12:55   ` Jeff Garzik [this message]
2004-06-16 13:56     ` Benjamin Herrenschmidt
2004-06-16 16:38       ` jsimmons
2004-06-16 14:17     ` Zilvinas Valinskas
2004-06-16 16:37       ` jsimmons
2004-06-16 21:17         ` Egmont Koblinger
2004-06-16 21:45           ` jsimmons
2004-06-16 11:13 ` Linux 2.6.7 Tomas Szepe
2004-06-16 12:18   ` viro
2004-06-17  6:56     ` Tomas Szepe
2004-06-16 13:27 ` Linux 2.6.7 - problem with old gcc Eyal Lebedinsky
2004-06-16 16:09 ` Linux 2.6.7 (compile stats) John Cherry
2004-06-16 16:31 ` Linux 2.6.7 Dominik Karall
2004-06-16 18:53   ` Jeff Garzik
2004-06-16 17:42 ` Linux 2.6.7 - ACPI still broken Thomas Zehetbauer
2004-06-17  4:15   ` Kevin P. Fleming
2004-06-17 15:22 ` Linux 2.6.7 Sean Neakums
2004-06-18  4:36   ` Andrew Morton
2004-06-18 16:37 ` 2.6.7 Samba OOPS (in smb_readdir) Brice Goglin
2004-06-18 16:41   ` Brice Goglin
2004-06-18 17:11     ` Zwane Mwaikambo
2004-06-18 19:00       ` Christophe Saout
2004-06-18 19:22         ` Christophe Saout
2004-06-18 19:52           ` Zwane Mwaikambo
2004-06-19 20:35           ` Zwane Mwaikambo
2004-06-19 20:49             ` Zwane Mwaikambo
2004-06-19 20:52               ` Christophe Saout
2004-06-20  0:27               ` Zwane Mwaikambo
2004-06-20  0:28                 ` Christophe Saout
2004-06-20  0:36                   ` Zwane Mwaikambo
2004-06-20  0:40                     ` Christophe Saout

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40D0432A.1080006@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    --cc=zilvinas@gemtek.lt \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox