From owner-freebsd-bugs@FreeBSD.ORG Sun Oct 21 14:30:02 2007 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41C0716A418 for ; Sun, 21 Oct 2007 14:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1573D13C4A3 for ; Sun, 21 Oct 2007 14:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9LEU14x011103 for ; Sun, 21 Oct 2007 14:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l9LEU1Ci011100; Sun, 21 Oct 2007 14:30:01 GMT (envelope-from gnats) Resent-Date: Sun, 21 Oct 2007 14:30:01 GMT Resent-Message-Id: <200710211430.l9LEU1Ci011100@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, clemens fischer Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C28B16A419 for ; Sun, 21 Oct 2007 14:28:32 +0000 (UTC) (envelope-from root@spotteswoode.dnsalias.org) Received: from mail-out03.broadnet-mediascape.de (mail-out03.broadnet-mediascape.de [62.206.1.20]) by mx1.freebsd.org (Postfix) with SMTP id B68E813C4BF for ; Sun, 21 Oct 2007 14:28:13 +0000 (UTC) (envelope-from root@spotteswoode.dnsalias.org) Received: (qmail 10554 invoked by uid 111); 21 Oct 2007 14:27:54 -0000 Received: from 212.99.168.177 by mail-out03 (envelope-from , uid 104) with qmail-scanner-1.25 (trophie: 7.510-1002/785/20848. Clear:RC:1(212.99.168.177):. Processed in 0.14932 secs); 21 Oct 2007 14:27:54 -0000 Received: from d463a8b1.datahighways.de (HELO spotteswoode.dnsalias.org) (212.99.168.177) by mail-out03.broadnet-mediascape.de with SMTP; 21 Oct 2007 14:27:53 -0000 Received: by spotteswoode.dnsalias.org (Postfix, from userid 0) id 213A51F243; Sun, 21 Oct 2007 16:27:53 +0200 (CEST) Message-Id: <20071021142753.213A51F243@spotteswoode.dnsalias.org> Date: Sun, 21 Oct 2007 16:27:53 +0200 (CEST) From: clemens fischer To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: clemens fischer Subject: kern/117374: vidcontrol videomode: Operation not supported by device X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: clemens fischer List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2007 14:30:02 -0000 >Number: 117374 >Category: kern >Synopsis: vidcontrol videomode: Operation not supported by device >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 21 14:30:01 UTC 2007 >Closed-Date: >Last-Modified: >Originator: clemens fischer >Release: FreeBSD 7.0-BETA1 amd64 >Organization: >Environment: System: FreeBSD spotteswoode.dnsalias.org 7.0-BETA1 FreeBSD 7.0-BETA1 #3: Sun Oct 21 01:52:43 CEST 2007 root@spotteswoode.dnsalias.org:/usr/obj/usr/src/sys/spott_fbsd7_amd64 amd64 >Description: in /etc/rc.conf.local, i have: allscreens_flags="-f 8x8 iso15-8x8 VGA_90x50 green" this mode is available when adding ``options VGA_WIDTH90'' into the kernel configuration. the effect of this setting stopped working after going from RELENG_6/i386 to 7-CURRENT/amd64. the error message is: 0 # vidcontrol -P mem 0xf2000000-0xf2ffffff,0xe0000000-0xefffffff,0xf5000000-0xf5ffffff irq 23 at device 13.0 on pci0 ... sc0: at flags 0x100 on isa0 sc0: VGA <9 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 pciconf -lcv: vgapci0@pci0:0:13:0: class=0x030000 card=0xd0001458 chip=0x03d010de rev=0xa2 hdr=0x00 vendor = 'Nvidia Corp' class = display subclass = VGA cap 01[48] = powerspec 2 supports D0 D3 current D0 cap 05[50] = MSI supports 1 message, 64 bit i have the feeling that it might have to do with a driver not recognizing the chip. here's the result of a ktrace(1): ... 8437 vidcontrol CALL ioctl(0,VT_GETACTIVE,0x506800) 8437 vidcontrol RET ioctl 0 8437 vidcontrol CALL ioctl(0,CONS_GETINFO,0x506804) 8437 vidcontrol RET ioctl 0 8437 vidcontrol CALL ioctl(0,GIO_SCRNMAP,0x50681c) 8437 vidcontrol RET ioctl 0 8437 vidcontrol CALL ioctl(0,CONS_GET,0x50691c) 8437 vidcontrol RET ioctl 0 8437 vidcontrol CALL ioctl(0,CONS_MODEINFO,0x506920) 8437 vidcontrol RET ioctl 0 8437 vidcontrol CALL ioctl(0,CONS_GETINFO,0x5067c0) 8437 vidcontrol RET ioctl 0 8437 vidcontrol CALL ioctl(0,CONS_GETINFO,0x7fffffffd840) 8437 vidcontrol RET ioctl 0 ... 8437 vidcontrol CALL ioctl(0,PIO_FONT8x8,0x800903800) 8437 vidcontrol RET ioctl 0 8437 vidcontrol CALL close(0x3) 8437 vidcontrol RET close 0 8437 vidcontrol CALL ioctl(0,CONS_GET,0x7fffffffd6bc) 8437 vidcontrol RET ioctl 0 8437 vidcontrol CALL ioctl(0,SW_VGA_C90x50,0) 8437 vidcontrol RET ioctl -1 errno 19 Operation not supported by device ... i tried to find the related pieces of software: 0 # g -r VGA_C90x50 /sys/ /sys/dev/fb/vga.c: { M_VGA_C90x50, V_INFO_COLOR, 90, 50, 8, 8, 4, 1, /sys/dev/fb/vga.c: { M_VGA_C90x50, M_VGA_C80x25 }, /sys/dev/fb/vga.c: case M_VGA_C90x50: case M_VGA_M90x50: /sys/dev/syscons/scvidctl.c: case SW_VGA_C90x50: case SW_VGA_M90x50: /sys/sys/consio.h:#define SW_VGA_C90x50 _IO('S', M_VGA_C90x50) /sys/sys/fbio.h:#define M_VGA_C90x50 46 /* vga 8x8 font on color */ but none of these files look anything suspicious. i tried other video settings, but none of them work. i was tempted to use VESA modes, but amd64 doesn't have VESA support. >How-To-Repeat: the behaviour is 100% reproducible. >Fix: i have no workaround or fix. the bug is annoying when installing a new release, like going from RELENG_6 to RELENG_7 using installation CDs for a new architecture (amd64), without anything on the machine. in these cases i usually install ports/sysutils/screen to start working. especially things like mergemaster(8) are difficult with only 80 columns. once X11 is up, i don't care all that much, though. regards, clemens >Release-Note: >Audit-Trail: >Unformatted: