NetBSD Problem Report #50429

From tsutsui@ceres.dti.ne.jp  Sun Nov 15 05:34:20 2015
Return-Path: <tsutsui@ceres.dti.ne.jp>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id D1E9EA6552
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 15 Nov 2015 05:34:20 +0000 (UTC)
Message-Id: <201511150534.tAF5YEq1018935@mirage.localdomain>
Date: Sun, 15 Nov 2015 14:34:14 +0900 (JST)
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
Reply-To: tsutsui@ceres.dti.ne.jp
To: gnats-bugs@NetBSD.org
Cc: tsutsui@ceres.dti.ne.jp
Subject: Xserver fails to start on Ultra-5 and NetBSD/sparc64 7.0
X-Send-Pr-Version: 3.95

>Number:         50429
>Category:       kern
>Synopsis:       Xserver fails to start on Ultra-5 and NetBSD/sparc64 7.0
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          analyzed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 15 05:35:00 +0000 2015
>Closed-Date:    
>Last-Modified:  Thu Nov 26 20:32:59 +0000 2015
>Originator:     Izumi Tsutsui
>Release:        NetBSD 7.0
>Organization:
>Environment:
System: NetBSD eterna 7.0 NetBSD 7.0 (GENERIC.201509250726Z) sparc64
Architecture: sparc64
Machine: sparc64
>Description:
Xorg server doesn't start on NetBSD/sparc64 7.0 installation
(no /etc/X11/xorg.conf settings) with the following log:

---
[   295.723] 
X.Org X Server 1.10.6
Release Date: 2011-07-08
[   295.725] X Protocol Version 11, Revision 0
[   295.725] Build Operating System: NetBSD/sparc64  - 
[   295.725] Current Operating System: NetBSD eterna 7.0 NetBSD 7.0 (GENERIC.201509250726Z) sparc64
[   295.729] Build Date: 01 August 2011  01:01:00AM
[   295.729]  
[   295.729] Current version of pixman: 0.32.6
[   295.729]    Before reporting problems, check http://wiki.X.Org
        to make sure that you have the latest version.
[   295.730] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   295.731] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Nov 15 14:13:27 2015
[   295.776] (II) Loader magic: 0x45f4a0
[   295.776] (II) Module ABI versions:
[   295.777]    X.Org ANSI C Emulation: 0.4
[   295.777]    X.Org Video Driver: 10.0
[   295.777]    X.Org XInput driver : 12.2
[   295.777]    X.Org Server Extension : 5.0
[   296.972] (--) PCI:*(1:1:2:0) 1002:4754:0000:0000 rev 154, Mem @ 0xe1000000/16777216, 0x00000000/4096, I/O @ 0x00000000/256, BIOS @ 0x????????/131072
[   297.053] (EE) listPossibleVideoDrivers: trying /dev/fb0
[   297.053] (EE) listPossibleVideoDrivers: trying /dev/fb1
[   297.054] (EE) listPossibleVideoDrivers: trying /dev/fb2
[   297.054] (EE) listPossibleVideoDrivers: trying /dev/fb3
[   297.054] (EE) listPossibleVideoDrivers: trying /dev/fb4
[   297.055] (EE) listPossibleVideoDrivers: trying /dev/fb5
[   297.055] (EE) listPossibleVideoDrivers: trying /dev/fb6
[   297.055] (EE) listPossibleVideoDrivers: trying /dev/fb7
[   297.056] (EE) listPossibleVideoDrivers: trying /dev/fb8
[   297.056] (EE) listPossibleVideoDrivers: trying /dev/fb9
[   297.058] (==) Using default built-in configuration (12 lines)

 :

[   297.840] (II) LoadModule: "kbd"
[   297.848] (II) Loading /usr/X11R7/lib/modules/drivers/kbd_drv.so
[   297.856] (II) Module kbd: vendor="X.Org Foundation"
[   297.857]    compiled for 1.10.6, module version = 1.8.0
[   297.857]    Module class: X.Org XInput Driver
[   297.857]    ABI class: X.Org XInput driver, version 12.2
[   297.858] (II) MACH64: Driver for ATI Mach64 chipsets
[   297.859] (--) Using wscons driver on /dev/ttyE1 in pcvt compatibility mode (version 3.32)
[   297.859] (--) using VT number 2
[   297.870] (II) Loading /usr/X11R7/lib/modules/drivers/mach64_drv.so
[   297.871] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   297.881] (II) MACH64(0): Creating default Display subsection in Screen section
        "Builtin Default ati Screen 0" for depth/fbbpp 24/32
[   297.882] (==) MACH64(0): Depth 24, (--) framebuffer bpp 32
[   297.883] (==) MACH64(0): Using XAA acceleration architecture
[   297.885] (EE) Unable to map mmio aperture. Invalid argument (22)
[   297.887] (EE) Unable to map mmio aperture. Invalid argument (22)
[   297.887] (WW) MACH64: Mach64 in slot 1:2:0 could not be detected!
[   297.908] (II) UnloadModule: "mach64"
[   297.909] (II) Unloading mach64
[   297.909] (EE) Screen(s) found, but none have a usable configuration.
[   297.910] 
Fatal server error:
[   297.910] no screens found
[   297.910] 
Please consult the The X.Org Foundation support 
         at http://wiki.X.Org
 for help. 
[   297.910] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   297.911] 
---

XAA is obsolete in current Xorg version?

>How-To-Repeat:
install NetBSD/sparc64 7.0 Ultra-5 (maybe and Ultra-10)
xinit

>Fix:
Using wsfb driver works around (though it's 8 bit colors by default)

>Release-Note:

>Audit-Trail:
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
To: macallan@netbsd.org
Cc: gnats-bugs@NetBSD.org, tsutsui@ceres.dti.ne.jp
Subject: Re: xsrc/50429: Xserver fails to start on Ultra-5 andNetBSD/sparc64
	 7.0
Date: Sun, 15 Nov 2015 15:52:36 +0900

 (cc'ed to gnats-bugs@)

 macallan@ wrote:

 > > [   297.885] (EE) Unable to map mmio aperture. Invalid argument (22)
 > > [   297.887] (EE) Unable to map mmio aperture. Invalid argument (22)
 > 
 > That's the failure, and this...
 > 
 > > [   296.972] (--) PCI:*(1:1:2:0) 1002:4754:0000:0000 rev 154, Mem @
 > > 0xe1000000/16777216, 0x00000000/4096, I/O @ 0x00000000/256, BIOS @
 > > 0x????????/131072
 > 
 > ... seems to be the cause, the MMIO aperture is either not configured
 > or not implemented by hardware - I've seen both on Sun hardware. This
 > appears to be a Rage II, so it's not implemented. The driver *should*
 > fall back to using the I/O aperture, which may or may not work
 > correctly either, at 0x0. Failing that, it should use the register
 > mapping in the main aperture. Something in that logic is apparently
 > broken.
 > Please post the card's pcictl dump output and ( assuming you're using
 > machfb ) the machfb output from dmesg.

 dmesg:
 ---
 machfb0 at pci1 dev 2 function 0: ATI Technologies 3D Rage I/II (rev. 0x9a)
 machfb0: 16 MB aperture at 0xe1000000, 4 KB registers at 0x00000000
 machfb0: 128 KB ROM at 0xe1020000
 machfb0: 2048 KB SGRAM 62.999 MHz, maximum RAMDAC clock 170 MHz
 machfb0: initializing the DSP
 machfb0: initial resolution 1152x864 at 8 bpp
 machfb0: initializing the DSP
 wsdisplay1 at machfb0 kbdmux 1
 wsmux1: connecting to wsdisplay1
 wsdisplay1: screen 0-3 added (default)
 direct rendering for machfb0 unsupported
 ---

 Full dmesg is here:
  http://dmesgd.nycbug.org/index.cgi?action=dmesgd&do=view&id=2850

 pcictl dump:
 ---
 # pcictl /dev/pci1 dump -d 2
 PCI configuration registers:
   Common header:
     0x00: 0x47541002 0x02800087 0x0300009a 0x00004240

     Vendor Name: ATI Technologies (0x1002)
     Device Name: 3D Rage I/II (0x4754)
     Command register: 0x0087
       I/O space accesses: on
       Memory space accesses: on
       Bus mastering: on
       Special cycles: off
       MWI transactions: off
       Palette snooping: off
       Parity error checking: off
       Address/data stepping: on
       System error (SERR): off
       Fast back-to-back transactions: off
       Interrupt disable: off
     Status register: 0x0280
       Interrupt status: inactive
       Capability List support: off
       66 MHz capable: off
       User Definable Features (UDF) support: off
       Fast back-to-back capable: on
       Data parity error detected: off
       DEVSEL timing: medium (0x1)
       Slave signaled Target Abort: off
       Master received Target Abort: off
       Master received Master Abort: off
       Asserted System Error (SERR): off
       Parity error detected: off
     Class Name: display (0x03)
     Subclass Name: VGA (0x00)
     Interface: 0x00
     Revision ID: 0x9a
     BIST: 0x00
     Header Type: 0x00 (0x00)
     Latency Timer: 0x42
     Cache Line Size: 256bytes (0x40)

   Type 0 ("normal" device) header:
     0x10: 0xe1000000 0x00000001 0x00000000 0x00000000
     0x20: 0x00000000 0x00000000 0x00000000 0x00000000
     0x30: 0xe1020000 0x00000000 0x00000000 0x00080131

     Base address register at 0x10
       type: 32-bit nonprefetchable memory
       base: 0xe1000000, not sized
     Base address register at 0x14
       type: i/o
       base: 0x00000000, not sized
     Base address register at 0x18
       not implemented(?)
     Base address register at 0x1c
       not implemented(?)
     Base address register at 0x20
       not implemented(?)
     Base address register at 0x24
       not implemented(?)
     Cardbus CIS Pointer: 0x00000000
     Subsystem vendor ID: 0x0000
     Subsystem ID: 0x0000
     Expansion ROM Base Address: 0xe1020000
     Reserved @ 0x34: 0x00000000
     Reserved @ 0x38: 0x00000000
     Maximum Latency: 0x00
     Minimum Grant: 0x08
     Interrupt pin: 0x01 (pin A)
     Interrupt line: 0x31

   Device-dependent header:
     0x40: 0x0000000c 0x00000000 0x00000000 0x00000000
     0x50: 0x00000000 0x00000000 0x00000000 0x00000000
     0x60: 0x00000000 0x00000000 0x00000000 0x00000000
     0x70: 0x00000000 0x00000000 0x00000000 0x00000000
     0x80: 0x00000000 0x00000000 0x00000000 0x00000000
     0x90: 0x00000000 0x00000000 0x00000000 0x00000000
     0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xf0: 0x00000000 0x00000000 0x00000000 0x00000000

 ---

 Note it's Ultra-5/10 on-board one.

 > 
 > > XAA is obsolete in current Xorg version?
 > 
 > No, not in 7.0 and not yet in -current.
 > The failure seems to happen before either XAA or EXA could take over.
 > 
 > The Rage II in my beige G3 ( which has no MMIO aperture ) works fine,
 > although that's -current. I have a 2MB Rage II with Sun firmware
 > somewhere, let me dig it up and see if I can reproduce the failure.
 > 
 > have fun
 > Michael

From: Michael <macallan@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: xsrc/50429: Xserver fails to start on Ultra-5 andNetBSD/sparc64
  7.0
Date: Wed, 18 Nov 2015 09:59:56 -0500

 I should have asked this earlier, is there any chance you could check
 if the failure happens on -current as well?

From: Michael <macallan@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: xsrc/50429: Xserver fails to start on Ultra-5 andNetBSD/sparc64
  7.0
Date: Fri, 20 Nov 2015 01:16:32 -0500

 On my U60 I get this, turns out I was wrong about the Rage II not
 having the MMIO aperture:

 machfb0 at pci0 dev 5 function 0: vendor 1002 product 4754 (rev. 0x9a)
 machfb0: using MMIO aperture
 machfb0: 16 MB aperture at 0x02000000, 4 KB registers at 0x03000000
 machfb0: 128 KB ROM at 0x02020000
 machfb0: 2048 KB SGRAM 62.999 MHz, maximum RAMDAC clock 170 MHz
 machfb0: initializing the DSP
 machfb0: initial resolution 1440x900 at 8 bpp
 wsdisplay0 at machfb0 kbdmux 1: console (default, vt100 emulation)

     Base address register at 0x10
       type: 32-bit nonprefetchable memory
       base: 0x02000000, not sized
     Base address register at 0x14
       type: i/o
       base: 0x00000000, not sized
     Base address register at 0x18
       type: 32-bit nonprefetchable memory
       base: 0x03000000, not sized

 [  1169.766] (II) MACH64(0): Using 8 MB linear aperture at 0x02800000.
 [  1169.766] (!!) MACH64(0): Virtual resolutions will be limited to 2047 kB
  due to linear aperture size and/or placement of hardware cursor image area.
 [  1169.767] (II) MACH64(0): Using Block 0 MMIO aperture at 0x03000400.
 [  1169.767] (II) MACH64(0): Using Block 1 MMIO aperture at 0x03000000.
 [  1169.770] (II) MACH64(0): MMIO write caching enabled.
 [  1169.770] (--) MACH64(0): 2048 kB of SGRAM (1:1) detected (using 2047 kB).

 Looking through the driver source, in your case it should see a NULL in
 the 0x18 BAR, therefore ignore it, and try to mmap() the MMIO registers
 through the first aperture, at the last page of the first 8MB. I can't
 really see a reason why that would fail.
 Please sprinkle xf86Msg() over atividmem.c::ATIMapApertures() to see
 what exactly it's trying to map - apparently the first two calls to
 pci_device_map_range() succeed and only the last one, for &pATI->pMMIO,
 fails.


From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@NetBSD.org
Cc: xsrc-manager@netbsd.org, gnats-admin@netbsd.org,
    netbsd-bugs@netbsd.org, tsutsui@ceres.dti.ne.jp
Subject: re: xsrc/50429: Xserver fails to start on Ultra-5 andNetBSD/sparc64 7.0
Date: Fri, 20 Nov 2015 18:35:44 +1100

 [ U60 shows: ]
 >      Base address register at 0x18
 >        type: 32-bit nonprefetchable memory
 >        base: 0x03000000, not sized
 >  =

 >  [  1169.766] (II) MACH64(0): Using 8 MB linear aperture at 0x02800000.
 >  [  1169.766] (!!) MACH64(0): Virtual resolutions will be limited to 204=
 7 kB
 >   due to linear aperture size and/or placement of hardware cursor image =
 area.
 >  [  1169.767] (II) MACH64(0): Using Block 0 MMIO aperture at 0x03000400.
 >  [  1169.767] (II) MACH64(0): Using Block 1 MMIO aperture at 0x03000000.
 >  [  1169.770] (II) MACH64(0): MMIO write caching enabled.
 >  [  1169.770] (--) MACH64(0): 2048 kB of SGRAM (1:1) detected (using 204=
 7 kB).
 >  =

 >  Looking through the driver source, in your case it should see a NULL in
 >  the 0x18 BAR, therefore ignore it, and try to mmap() the MMIO registers
 >  through the first aperture, at the last page of the first 8MB. I can't
 >  really see a reason why that would fail.
 >  Please sprinkle xf86Msg() over atividmem.c::ATIMapApertures() to see
 >  what exactly it's trying to map - apparently the first two calls to
 >  pci_device_map_range() succeed and only the last one, for &pATI->pMMIO,
 >  fails.

 my ultra10 was close to being setup for this and i just did this.

 dmesg shows:

 machfb0 at pci1 dev 2 function 0: ATI Technologies 3D Rage Pro (rev. 0x5c)
 machfb0: using MMIO aperture
 machfb0: 16 MB aperture at 0xe1000000, 4 KB registers at 0xe2000000
 machfb0: 128 KB ROM at 0xe1020000
 machfb0: 4096 KB SGRAM 98.924 MHz, maximum RAMDAC clock 230 MHz
 machfb0: initial resolution 1280x1024 at 8 bpp
 wsdisplay0 at machfb0 kbdmux 1: console (default, vt100 emulation)
 direct rendering for machfb0 unsupported
 machfb0: preposterous dot clock (0)

 pcictl dump shows:

     Base address register at 0x10
       type: 32-bit nonprefetchable memory
       base: 0xe1000000, not sized
     Base address register at 0x14
       type: i/o
       base: 0x00000000, not sized
     Base address register at 0x18
       type: 32-bit nonprefetchable memory
       base: 0xe2000000, not sized
  =

 which isn't what you say should be seen at the BAR at 0x18?


 .mrg.

From: Michael <macallan@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: xsrc/50429: Xserver fails to start on Ultra-5 andNetBSD/sparc64
 7.0
Date: Fri, 20 Nov 2015 08:26:30 -0500

 >  pcictl dump shows:
 >  
 >      Base address register at 0x10
 >        type: 32-bit nonprefetchable memory
 >        base: 0xe1000000, not sized
 >      Base address register at 0x14
 >        type: i/o
 >        base: 0x00000000, not sized
 >      Base address register at 0x18
 >        type: 32-bit nonprefetchable memory
 >        base: 0xe2000000, not sized
 >   =
 >  
 >  which isn't what you say should be seen at the BAR at 0x18?

 Some versions of the U5/U10 firmware don't setup the MMIO BAR at 0x18,
 which seems to trigger some interesting failure in the
 xf86-video-mach64 driver. So it will likely Just Work(tm) in your case
 as well.

From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@NetBSD.org
Cc: xsrc-manager@netbsd.org, gnats-admin@netbsd.org,
    netbsd-bugs@netbsd.org, tsutsui@ceres.dti.ne.jp
Subject: re: xsrc/50429: Xserver fails to start on Ultra-5 andNetBSD/sparc64 7.0
Date: Sat, 21 Nov 2015 07:31:28 +1100

 Michael writes:
 > The following reply was made to PR xsrc/50429; it has been noted by GNAT=
 S.
 > =

 > From: Michael <macallan@netbsd.org>
 > To: gnats-bugs@NetBSD.org
 > Cc: =

 > Subject: Re: xsrc/50429: Xserver fails to start on Ultra-5 andNetBSD/spa=
 rc64
 >  7.0
 > Date: Fri, 20 Nov 2015 08:26:30 -0500
 > =

 >  >  pcictl dump shows:
 >  >  =

 >  >      Base address register at 0x10
 >  >        type: 32-bit nonprefetchable memory
 >  >        base: 0xe1000000, not sized
 >  >      Base address register at 0x14
 >  >        type: i/o
 >  >        base: 0x00000000, not sized
 >  >      Base address register at 0x18
 >  >        type: 32-bit nonprefetchable memory
 >  >        base: 0xe2000000, not sized
 >  >   =3D
 >  >  =

 >  >  which isn't what you say should be seen at the BAR at 0x18?
 >  =

 >  Some versions of the U5/U10 firmware don't setup the MMIO BAR at 0x18,
 >  which seems to trigger some interesting failure in the
 >  xf86-video-mach64 driver. So it will likely Just Work(tm) in your case
 >  as well.

 except it doesn't.

 ...
 [    62.149] (WW) xf86EnableIO -1
 [    62.149] (II) xf86EnableIO: ffffffffffffffff
 [    62.149] (WW) Can't map IO space!
 [    62.162] (--) PCI:*(1:1:2:0) 1002:4750:0000:0000 rev 92, Mem @ 0xe1000=
 000/16777216, 0xe2000000/4096, I/O @ 0x00000000/256, BIOS @ 0x????????/131=
 072
 [    62.248] (EE) listPossibleVideoDrivers: trying /dev/fb0
 [    62.249] (EE) listPossibleVideoDrivers: trying /dev/fb1
 [    62.250] (EE) listPossibleVideoDrivers: trying /dev/fb2
 [    62.250] (EE) listPossibleVideoDrivers: trying /dev/fb3
 [    62.251] (EE) listPossibleVideoDrivers: trying /dev/fb4
 [    62.251] (EE) listPossibleVideoDrivers: trying /dev/fb5
 [    62.252] (EE) listPossibleVideoDrivers: trying /dev/fb6
 [    62.252] (EE) listPossibleVideoDrivers: trying /dev/fb7
 [    62.253] (EE) listPossibleVideoDrivers: trying /dev/fb8
 [    62.253] (EE) listPossibleVideoDrivers: trying /dev/fb9
 ...
 [    62.839] (--) Using wscons driver on /dev/ttyE1 in pcvt compatibility =
 mode (version 3.32)
 [    62.839] (--) using VT number 2
 [    62.840] (WW) xf86EnableIO 8
 [    62.840] (II) xf86EnableIO: ffffffffffffffff
 [    62.840] (WW) Can't map IO space!
 [    62.840] (EE) No devices detected.
 [    62.841] =

 Fatal server error:
 [    62.842] no screens found

 oh wait, this might be a wscons setup issue.  there is no
 getty running, for instance.


 .mrg.

From: matthew green <mrg@eterna.com.au>
To: 
Cc: xsrc-manager@netbsd.org, gnats-admin@netbsd.org,
    netbsd-bugs@netbsd.org, tsutsui@ceres.dti.ne.jp,
    gnats-bugs@NetBSD.org
Subject: re: xsrc/50429: Xserver fails to start on Ultra-5 andNetBSD/sparc64 7.0
Date: Sat, 21 Nov 2015 11:29:24 +1100

 the same problem occurs when i fix getty on the console and run
 startx directly there (no xorg.conf).


 .mrg.

From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
To: macallan@netbsd.org, gnats-bugs@NetBSD.org
Cc: tsutsui@ceres.dti.ne.jp
Subject: Re: xsrc/50429: Xserver fails to start on Ultra-5 andNetBSD/sparc647.0
Date: Sat, 21 Nov 2015 22:11:18 +0900

 macallan@ wrote:

 >  I should have asked this earlier, is there any chance you could check
 >  if the failure happens on -current as well?

 I have just tried today's (20151121) current (on nfsroot)
 but it also fails.

 ---
 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015
     The NetBSD Foundation, Inc.  All rights reserved.
 Copyright (c) 1982, 1986, 1989, 1991, 1993
     The Regents of the University of California.  All rights reserved.

 NetBSD 7.99.21 (GENERIC) #15: Sat Nov 21 21:36:51 JST 2015
 	tsutsui@mirage:/usr/src/sys/arch/sparc64/compile/GENERIC
 total memory = 128 MB
 avail memory = 108 MB
 timecounter: Timecounters tick every 10.000 msec
 mainbus0 (root): SUNW,Ultra-5_10 (Sun Ultra 5/10 UPA/PCI): hostid 8093d8c5
 cpu0 at mainbus0: SUNW,UltraSPARC-IIi @ 269.844 MHz, CPU id 0
 cpu0: manuf 17, impl 12, mask 12
 cpu0: 16K instruction (32 b/l), 16K data (32 b/l), 256K external (64 b/l)
 psycho0 at mainbus0 addr 0xfffc4000
 psycho0: SUNW,sabre: impl 0, version 0: ign 7c0 bus range 0 to 2; PCI bus 0
 pci0 at psycho0
 pci0: i/o space, memory space enabled
 ppb0 at pci0 dev 1 function 1: Sun Microsystems Simba PCI Bridge (rev. 0x11)
 pci1 at ppb0 bus 1
 pci1: i/o space, memory space enabled
 ebus0 at pci1 dev 1 function 0
 ebus0: Sun Microsystems PCIO Ebus2, revision 0x01
 auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003, 72c000-72c003, 72f000-72f003
 power at ebus0 addr 724000-724003 ipl 25 not configured
 SUNW,pll at ebus0 addr 504000-504002 not configured
 sab0 at ebus0 addr 400000-40007f ipl 2b: rev 3.2
 sabtty0 at sab0 port 0
 sabtty1 at sab0 port 1
 com0 at ebus0 addr 3083f8-3083ff ipl 29: ns16550a, working fifo
 com0: console
 kbd0 at com0 (console input)
 com1 at ebus0 addr 3062f8-3062ff ipl 2a: ns16550a, working fifo
 ms0 at com1
 wsmouse0 at ms0 mux 0
 lpt0 at ebus0 addr 3043bc-3043cb, 30015c-30015d, 700000-70000f ipl 22
 fdthree at ebus0 addr 3023f0-3023f7, 706000-70600f, 720000-720003 ipl 27 not configured
 clock0 at ebus0 addr 0-1fff: mk48t59
 flashprom at ebus0 addr 0-fffff not configured
 audiocs0 at ebus0 addr 200000-2000ff, 702000-70200f, 704000-70400f, 722000-722003 ipl 23 ipl 24: CS4231A
 audio0 at audiocs0: full duplex, playback, capture
 hme0 at pci1 dev 1 function 1: Sun Happy Meal Ethernet, rev. 1
 hme0: interrupting at ivec 3021
 hme0: Ethernet address 08:00:20:93:d8:c5
 nsphy0 at hme0 phy 1: DP83840 10/100 media interface, rev. 1
 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 machfb0 at pci1 dev 2 function 0: ATI Technologies 3D Rage I/II (rev. 0x9a)
 machfb0: 16 MB aperture at 0xe1000000, 4 KB registers at 0x00000000
 machfb0: 128 KB ROM at 0xe1020000
 no data for est. mode 640x480x67
 machfb0: 2048 KB SGRAM 62.999 MHz, maximum RAMDAC clock 170 MHz
 machfb0: initial resolution 1280x1024 at 8 bpp
 wsdisplay0 at machfb0 kbdmux 1: console (default, vt100 emulation)
 wsmux1: connecting to wsdisplay0
 wsdisplay0: screen 1-3 added (default, vt100 emulation)
 direct rendering for machfb0 unsupported
 cmdide0 at pci1 dev 3 function 0: CMD Technology PCI0646 (rev. 0x03)
 cmdide0: bus-master DMA support present
 cmdide0: primary channel configured to native-PCI mode
 cmdide0: using ivec 1820 for native-PCI interrupt
 atabus0 at cmdide0 channel 0
 cmdide0: secondary channel configured to native-PCI mode
 atabus1 at cmdide0 channel 1
 ppb1 at pci0 dev 1 function 0: Sun Microsystems Simba PCI Bridge (rev. 0x11)
 pci2 at ppb1 bus 2
 pci2: i/o space, memory space enabled
 pcons at mainbus0 not configured
 timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
 timecounter: Timecounter "tick-counter" frequency 269844546 Hz quality 100
 No counter-timer -- using %tick at 269.844MHz as system clock.
 wskbd0 at kbd0: console keyboard, using wsdisplay0
 wd0 at atabus0 drive 0
 wd0: <IBM-DJNA-352030>
 wd0: drive supports 16-sector PIO transfers, LBA addressing
 wd0: 19470 MB, 39560 cyl, 16 head, 63 sec, 512 bytes/sect x 39876480 sectors
 wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
 wd0(cmdide0:0:0): using PIO mode 4, DMA mode 2 (using DMA)
 atapibus0 at atabus1: 2 targets
 cd0 at atapibus0 drive 0: <CD-524EA, , 3.0A> cdrom removable
 cd0: drive supports PIO mode 3, DMA mode 2
 cd0(cmdide0:1:0): using PIO mode 3, DMA mode 1 (using DMA)
 Kernelized RAIDframe activated
 root on hme0
 nfs_boot: trying DHCP/BOOTP
 nfs_boot: DHCP next-server: 192.168.20.1
 nfs_boot: my_domain=ceres.dti.ne.jp
 nfs_boot: my_addr=192.168.20.21
 nfs_boot: my_mask=255.255.255.0
 nfs_boot: gateway=192.168.20.1
 root on mirage:/r/export/NetBSD/sparc64/root
 root file system type: nfs
 kern.module.path=/stand/sparc64/7.99.21/modules
 ---

 /var/log/Xorg.0.log says:
 ---
 [  1497.288] 
 X.Org X Server 1.10.6
 Release Date: 2011-07-08
 [  1497.317] X Protocol Version 11, Revision 0
 [  1497.327] Build Operating System: NetBSD/sparc64  - 
 [  1497.336] Current Operating System: NetBSD  7.99.21 NetBSD 7.99.21 (GENERIC) #15: Sat Nov 21 21:36:51 JST 2015  tsutsui@mirage:/usr/src/sys/arch/sparc64/compile/GENERIC sparc64
 [  1497.361] Build Date: 01 August 2011  01:01:00AM
 [  1497.366]  
 [  1497.376] Current version of pixman: 0.32.6
 [  1497.385] 	Before reporting problems, check http://wiki.X.Org
 	to make sure that you have the latest version.
 [  1497.405] Markers: (--) probed, (**) from config file, (==) default setting,
 	(++) from command line, (!!) notice, (II) informational,
 	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 [  1497.437] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Nov 21 13:05:32 2015
 [  1497.467] (II) Loader magic: 0x45fda0
 [  1497.467] (II) Module ABI versions:
 [  1497.468] 	X.Org ANSI C Emulation: 0.4
 [  1497.468] 	X.Org Video Driver: 10.0
 [  1497.468] 	X.Org XInput driver : 12.2
 [  1497.468] 	X.Org Server Extension : 5.0
 [  1497.482] (WW) xf86EnableIO -1
 [  1497.482] (II) xf86EnableIO: ffffffffffffffff
 [  1497.482] (WW) Can't map IO space!
 [  1497.573] (EE) listPossibleVideoDrivers: trying /dev/fb0
 [  1497.574] (EE) listPossibleVideoDrivers: trying /dev/fb1
 [  1497.584] (EE) listPossibleVideoDrivers: trying /dev/fb2
 [  1497.594] (EE) listPossibleVideoDrivers: trying /dev/fb3
 [  1497.603] (EE) listPossibleVideoDrivers: trying /dev/fb4
 [  1497.613] (EE) listPossibleVideoDrivers: trying /dev/fb5
 [  1497.623] (EE) listPossibleVideoDrivers: trying /dev/fb6
 [  1497.633] (EE) listPossibleVideoDrivers: trying /dev/fb7
 [  1497.643] (EE) listPossibleVideoDrivers: trying /dev/fb8
 [  1497.652] (EE) listPossibleVideoDrivers: trying /dev/fb9
 [  1497.665] (==) Using default built-in configuration (12 lines)
 [  1497.672] (==) --- Start of built-in configuration ---
 [  1497.672] 	Section "Device"
 [  1497.672] 		Identifier	"Builtin Default wsfb Device 0"
 [  1497.672] 		Driver	"wsfb"
 [  1497.672] 	EndSection
 [  1497.673] 	Section "Screen"
 [  1497.673] 		Identifier	"Builtin Default wsfb Screen 0"
 [  1497.673] 		Device	"Builtin Default wsfb Device 0"
 [  1497.673] 	EndSection
 [  1497.673] 	Section "ServerLayout"
 [  1497.673] 		Identifier	"Builtin Default Layout"
 [  1497.673] 		Screen	"Builtin Default wsfb Screen 0"
 [  1497.673] 	EndSection
 [  1497.673] (==) --- End of built-in configuration ---
 [  1497.688] (==) ServerLayout "Builtin Default Layout"
 [  1497.688] (**) |-->Screen "Builtin Default wsfb Screen 0" (0)
 [  1497.691] (**) |   |-->Monitor "<default monitor>"
 [  1497.704] (**) |   |-->Device "Builtin Default wsfb Device 0"
 [  1497.704] (==) No monitor specified for screen "Builtin Default wsfb Screen 0".
 	Using a default monitor configuration.
 [  1497.705] (==) Not automatically adding devices
 [  1497.705] (==) Not automatically enabling devices
 [  1497.721] (==) FontPath set to:
 	/usr/X11R7/lib/X11/fonts/misc/,
 	/usr/X11R7/lib/X11/fonts/TTF/,
 	/usr/X11R7/lib/X11/fonts/Type1/,
 	/usr/X11R7/lib/X11/fonts/75dpi/,
 	/usr/X11R7/lib/X11/fonts/100dpi/
 [  1497.722] (==) ModulePath set to "/usr/X11R7/lib/modules"
 [  1497.722] (==) |-->Input Device "<default pointer>"
 [  1497.722] (==) |-->Input Device "<default keyboard>"
 [  1497.722] (==) The core pointer device wasn't specified explicitly in the layout.
 	Using the default mouse configuration.
 [  1497.722] (==) The core keyboard device wasn't specified explicitly in the layout.
 	Using the default keyboard configuration.
 [  1497.723] (II) LoadModule: "extmod"
 [  1497.748] (II) Loading /usr/X11R7/lib/modules/extensions/libextmod.so
 [  1497.766] (II) Module extmod: vendor="X.Org Foundation"
 [  1497.766] 	compiled for 1.10.6, module version = 1.0.0
 [  1497.766] 	Module class: X.Org Server Extension
 [  1497.767] 	ABI class: X.Org Server Extension, version 5.0
 [  1497.767] (II) Loading extension MIT-SCREEN-SAVER
 [  1497.767] (II) Loading extension XFree86-VidModeExtension
 [  1497.767] (II) Loading extension XFree86-DGA
 [  1497.769] (II) Loading extension DPMS
 [  1497.770] (II) Loading extension XVideo
 [  1497.770] (II) Loading extension XVideo-MotionCompensation
 [  1497.770] (II) Loading extension X-Resource
 [  1497.770] (II) LoadModule: "dbe"
 [  1497.777] (II) Loading /usr/X11R7/lib/modules/extensions/libdbe.so
 [  1497.786] (II) Module dbe: vendor="X.Org Foundation"
 [  1497.786] 	compiled for 1.10.6, module version = 1.0.0
 [  1497.787] 	Module class: X.Org Server Extension
 [  1497.787] 	ABI class: X.Org Server Extension, version 5.0
 [  1497.787] (II) Loading extension DOUBLE-BUFFER
 [  1497.787] (II) LoadModule: "glx"
 [  1497.796] (II) Loading /usr/X11R7/lib/modules/extensions/libglx.so
 [  1497.831] (II) Module glx: vendor="X.Org Foundation"
 [  1497.832] 	compiled for 1.10.6, module version = 1.0.0
 [  1497.832] 	ABI class: X.Org Server Extension, version 5.0
 [  1497.834] (==) AIGLX enabled
 [  1497.835] (II) Loading extension GLX
 [  1497.835] (II) LoadModule: "record"
 [  1497.844] (II) Loading /usr/X11R7/lib/modules/extensions/librecord.so
 [  1497.852] (II) Module record: vendor="X.Org Foundation"
 [  1497.852] 	compiled for 1.10.6, module version = 1.13.0
 [  1497.852] 	Module class: X.Org Server Extension
 [  1497.852] 	ABI class: X.Org Server Extension, version 5.0
 [  1497.852] (II) Loading extension RECORD
 [  1497.852] (II) LoadModule: "dri"
 [  1497.866] (II) Loading /usr/X11R7/lib/modules/extensions/libdri.so
 [  1497.877] (II) Module dri: vendor="X.Org Foundation"
 [  1497.879] 	compiled for 1.10.6, module version = 1.0.0
 [  1497.879] 	ABI class: X.Org Server Extension, version 5.0
 [  1497.881] (II) Loading extension XFree86-DRI
 [  1497.884] (II) LoadModule: "dri2"
 [  1497.896] (II) Loading /usr/X11R7/lib/modules/extensions/libdri2.so
 [  1497.903] (II) Module dri2: vendor="X.Org Foundation"
 [  1497.904] 	compiled for 1.10.6, module version = 1.2.0
 [  1497.904] 	ABI class: X.Org Server Extension, version 5.0
 [  1497.906] (II) Loading extension DRI2
 [  1497.907] (II) LoadModule: "wsfb"
 [  1497.948] (II) Loading /usr/X11R7/lib/modules/drivers/wsfb_drv.so
 [  1497.959] (II) Module wsfb: vendor="X.Org Foundation"
 [  1497.959] 	compiled for 1.10.6, module version = 0.4.0
 [  1497.959] 	ABI class: X.Org Video Driver, version 10.0
 [  1497.962] (II) LoadModule: "mouse"
 [  1497.975] (II) Loading /usr/X11R7/lib/modules/drivers/mouse_drv.so
 [  1497.986] (II) Module mouse: vendor="X.Org Foundation"
 [  1497.987] 	compiled for 1.10.6, module version = 1.9.1
 [  1497.987] 	Module class: X.Org XInput Driver
 [  1497.987] 	ABI class: X.Org XInput driver, version 12.2
 [  1497.989] (II) LoadModule: "kbd"
 [  1498.002] (II) Loading /usr/X11R7/lib/modules/drivers/kbd_drv.so
 [  1498.013] (II) Module kbd: vendor="X.Org Foundation"
 [  1498.013] 	compiled for 1.10.6, module version = 1.8.1
 [  1498.013] 	Module class: X.Org XInput Driver
 [  1498.013] 	ABI class: X.Org XInput driver, version 12.2
 [  1498.014] (II) wsfb: driver for wsdisplay framebuffer: wsfb
 [  1498.022] 
 Fatal server error:
 [  1498.033] xf86OpenConsole: No console driver found
 	Supported drivers: pcvt, wscons
 	Check your kernel's console driver configuration and /dev entries
 [  1498.062] 
 Please consult the The X.Org Foundation support 
 	 at http://wiki.X.Org
  for help. 
 [  1498.100] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
 [  1498.110] 

 ---

 >> [  1497.482] (WW) xf86EnableIO -1
 >> [  1497.482] (II) xf86EnableIO: ffffffffffffffff
 >> [  1497.482] (WW) Can't map IO space!

 These seem worse than 7.0 release. (caused by MI PCI changes?)

 ---
 Izumi Tsutsui

From: Michael <macallan@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: xsrc/50429: Xserver fails to start on Ultra-5
 andNetBSD/sparc647.0
Date: Sat, 21 Nov 2015 11:47:36 -0500

 >  >> [  1497.482] (WW) xf86EnableIO -1
 >  >> [  1497.482] (II) xf86EnableIO: ffffffffffffffff
 >  >> [  1497.482] (WW) Can't map IO space!
 >  
 >  These seem worse than 7.0 release. (caused by MI PCI changes?)

 Different issue, but shouldn't happen either. Makes me wonder why it
 works on my U60.

From: Michael <macallan@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: xsrc/50429: Xserver fails to start on Ultra-5
 andNetBSD/sparc647.0
Date: Sat, 21 Nov 2015 11:51:43 -0500

 Actually, looking a little closer...

 >  Fatal server error:
 >  [  1498.033] xf86OpenConsole: No console driver found
 >  	Supported drivers: pcvt, wscons
 >  	Check your kernel's console driver configuration and /dev entries

 This should absolutely not happen. Apparently the Xserver has trouble
 opening /dev/ttyE0 for whatever reason, and failing to map IO space
 ( which still goes through that ) fails later on.
 Why would that fail all of sudden when gettys still work?

From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@NetBSD.org
Cc: xsrc-manager@netbsd.org, gnats-admin@netbsd.org,
    netbsd-bugs@netbsd.org, tsutsui@ceres.dti.ne.jp
Subject: re: xsrc/50429: Xserver fails to start on Ultra-5 andNetBSD/sparc647.0
Date: Sun, 22 Nov 2015 10:59:15 +1100

 hmmm, ktrace reveals:

   3988      1 Xorg     CALL  ioctl(8,VT_OPENQRY,0x461694)
   3988      1 Xorg     RET   ioctl -1 errno 6 Device not configured

 but it continues afterwards for a bit.  this is the sequence:

   3988      1 Xorg     NAMI  "/dev/ttyE0"
   3988      1 Xorg     RET   open 8
   3988      1 Xorg     CALL  ioctl(8,VGAPCVTID,0xffffffffffffb450)
   3988      1 Xorg     GIO   fd 8 wrote 24 bytes
        "\M^?\M^?\M^?\M^?\M^?\M^?\M-,\M^Q\M^?\M^?\M^?\M^?\M^?`6\M-0\M^?\M^?=
 \M^?\M^?\M-z\M-p1@"
   3988      1 Xorg     GIO   fd 8 read 24 bytes
        "pcvt\0\M^?\M-,\M^Q\M^?\M^?\M^?\M^?\M^?`6\M-0\0\0\0\^C\0\0\0 "
   3988      1 Xorg     RET   ioctl 0
   3988      1 Xorg     CALL  ioctl(8,VT_GETMODE,0xffffffffffffb438)
   3988      1 Xorg     GIO   fd 8 read 8 bytes
        "\0\0\0\0\0\0\0\0"
   3988      1 Xorg     RET   ioctl 0
   3988      1 Xorg     CALL  ioctl(8,VT_GETACTIVE,0x462060)
   3988      1 Xorg     GIO   fd 8 read 4 bytes
        "\0\0\0\^A"
   3988      1 Xorg     RET   ioctl 0
   3988      1 Xorg     CALL  ioctl(8,VT_OPENQRY,0x461694)
   3988      1 Xorg     RET   ioctl -1 errno 6 Device not configured
   3988      1 Xorg     CALL  close(8)

   3988      1 Xorg     CALL  open(0xffffffffffffb440,6,0)
   3988      1 Xorg     NAMI  "/dev/ttyE0"
   3988      1 Xorg     RET   open 8
   3988      1 Xorg     CALL  ioctl(8,VT_GETMODE,0xffffffffffffb438)
   3988      1 Xorg     GIO   fd 8 read 8 bytes
        "\0\0\0\0\0\0\0\0"
   3988      1 Xorg     RET   ioctl 0
   3988      1 Xorg     CALL  __clock_gettime50(3,0xffffffffffffad40)
   3988      1 Xorg     RET   __clock_gettime50 0
   3988      1 Xorg     CALL  write(0,0x4712e0,0xd)
   3988      1 Xorg     GIO   fd 0 wrote 13 bytes
        "[131163.270] "
   3988      1 Xorg     RET   write 13/0xd
   3988      1 Xorg     CALL  write(0,0x4712e0,0x51)
   3988      1 Xorg     GIO   fd 0 wrote 81 bytes
        "(--) Using wscons driver on /dev/ttyE0 in pcvt compatibility mode =
 (version 3.32)\n"
   3988      1 Xorg     RET   write 81/0x51
   3988      1 Xorg     CALL  __clock_gettime50(3,0xffffffffffffad40)
   3988      1 Xorg     RET   __clock_gettime50 0
   3988      1 Xorg     CALL  write(0,0x4712e0,0xd)
   3988      1 Xorg     GIO   fd 0 wrote 13 bytes
        "[131163.271] "
   3988      1 Xorg     RET   write 13/0xd
   3988      1 Xorg     CALL  write(0,0x4712e0,0x17)
   3988      1 Xorg     GIO   fd 0 wrote 23 bytes
        "(--) using VT number 1\n"
   3988      1 Xorg     RET   write 23/0x17
   3988      1 Xorg     CALL  ioctl(8,VT_ACTIVATE,1)
   3988      1 Xorg     RET   ioctl 0
   3988      1 Xorg     CALL  ioctl(8,VT_WAITACTIVE,1)
   3988      1 Xorg     RET   ioctl 0
   3988      1 Xorg     CALL  __sigaction_sigtramp(SIGUSR1,0xffffffffffffb4=
 c0,0xffffffffffffb4e0,0xfffffffffdc57500,2)
   3988      1 Xorg     RET   __sigaction_sigtramp 0
   3988      1 Xorg     CALL  ioctl(8,VT_SETMODE,0xffffffffffffb5b0)
   3988      1 Xorg     GIO   fd 8 wrote 8 bytes
        "\^A\M^?\0\^^\0\^^\0\^^"
   3988      1 Xorg     RET   ioctl 0
   3988      1 Xorg     CALL  ioctl(8,KDENABIO,0)
   3988      1 Xorg     RET   ioctl 0
   3988      1 Xorg     CALL  ioctl(8,KDSETMODE,1)
   3988      1 Xorg     RET   ioctl 0
   3988      1 Xorg     CALL  mmap(0,0x10000,3,1,8,0,0x100000000)
   3988      1 Xorg     RET   mmap -1 errno 22 Invalid argument


 .mrg.

From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
To: macallan@netbsd.org, gnats-bugs@NetBSD.org
Cc: tsutsui@ceres.dti.ne.jp
Subject: Re: xsrc/50429: Xserver fails to start on Ultra-5andNetBSD/sparc647.0
Date: Sun, 22 Nov 2015 12:25:15 +0900

 >  This should absolutely not happen. Apparently the Xserver has trouble
 >  opening /dev/ttyE0 for whatever reason, and failing to map IO space
 >  ( which still goes through that ) fails later on.
 >  Why would that fail all of sudden when gettys still work?

 Ah, /etc/ttys in the nfsroot enable console (by default), not ttyE0.
 I enabled getty on ttyE0 (change ttyE0 from off to on),
 but it seems keyboard unusable after "Setting tty flags." message.
 (I have not investigated what's wrong though)

 I also try 7.99.21 GENERIC kernel + working 7.0 userland (on wd0),
 and it still fails as well (Unable to map mmio aperture):

 ---
 [    85.518] 
 X.Org X Server 1.10.6
 Release Date: 2011-07-08
 [    85.540] X Protocol Version 11, Revision 0
 [    85.550] Build Operating System: NetBSD/sparc64  - 
 [    85.560] Current Operating System: NetBSD eterna 7.99.21 NetBSD 7.99.21 (GENERIC) #15: Sat Nov 21 21:36:51 JST 2015  tsutsui@mirage:/usr/src/sys/arch/sparc64/compile/GENERIC sparc64
 [    85.583] Build Date: 01 August 2011  01:01:00AM
 [    85.590]  
 [    85.599] Current version of pixman: 0.32.6
 [    85.608] 	Before reporting problems, check http://wiki.X.Org
 	to make sure that you have the latest version.
 [    85.628] Markers: (--) probed, (**) from config file, (==) default setting,
 	(++) from command line, (!!) notice, (II) informational,
 	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 [    85.660] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Nov 22 12:18:36 2015
 [    85.748] (II) Loader magic: 0x45f4a0
 [    85.748] (II) Module ABI versions:
 [    85.749] 	X.Org ANSI C Emulation: 0.4
 [    85.749] 	X.Org Video Driver: 10.0
 [    85.749] 	X.Org XInput driver : 12.2
 [    85.750] 	X.Org Server Extension : 5.0
 [    86.946] (--) PCI:*(1:1:2:0) 1002:4754:0000:0000 rev 154, Mem @ 0xe1000000/16777216, 0x00000000/4096, I/O @ 0x00000000/256, BIOS @ 0x????????/131072
 [    87.028] (EE) listPossibleVideoDrivers: trying /dev/fb0
 [    87.030] (EE) listPossibleVideoDrivers: trying /dev/fb1
 [    87.039] (EE) listPossibleVideoDrivers: trying /dev/fb2
 [    87.049] (EE) listPossibleVideoDrivers: trying /dev/fb3
 [    87.059] (EE) listPossibleVideoDrivers: trying /dev/fb4
 [    87.069] (EE) listPossibleVideoDrivers: trying /dev/fb5
 [    87.079] (EE) listPossibleVideoDrivers: trying /dev/fb6
 [    87.089] (EE) listPossibleVideoDrivers: trying /dev/fb7
 [    87.098] (EE) listPossibleVideoDrivers: trying /dev/fb8
 [    87.108] (EE) listPossibleVideoDrivers: trying /dev/fb9
 [    87.120] (==) Using default built-in configuration (12 lines)
 [    87.128] (==) --- Start of built-in configuration ---
 [    87.128] 	Section "Device"
 [    87.128] 		Identifier	"Builtin Default ati Device 0"
 [    87.129] 		Driver	"ati"
 [    87.129] 	EndSection
 [    87.129] 	Section "Screen"
 [    87.130] 		Identifier	"Builtin Default ati Screen 0"
 [    87.130] 		Device	"Builtin Default ati Device 0"
 [    87.130] 	EndSection
 [    87.130] 	Section "ServerLayout"
 [    87.131] 		Identifier	"Builtin Default Layout"
 [    87.131] 		Screen	"Builtin Default ati Screen 0"
 [    87.131] 	EndSection
 [    87.131] (==) --- End of built-in configuration ---
 [    87.137] (==) ServerLayout "Builtin Default Layout"
 [    87.137] (**) |-->Screen "Builtin Default ati Screen 0" (0)
 [    87.139] (**) |   |-->Monitor "<default monitor>"
 [    87.144] (**) |   |-->Device "Builtin Default ati Device 0"
 [    87.144] (==) No monitor specified for screen "Builtin Default ati Screen 0".
 	Using a default monitor configuration.
 [    87.145] (==) Not automatically adding devices
 [    87.145] (==) Not automatically enabling devices
 [    87.334] (==) FontPath set to:
 	/usr/X11R7/lib/X11/fonts/misc/,
 	/usr/X11R7/lib/X11/fonts/TTF/,
 	/usr/X11R7/lib/X11/fonts/Type1/,
 	/usr/X11R7/lib/X11/fonts/75dpi/,
 	/usr/X11R7/lib/X11/fonts/100dpi/
 [    87.335] (==) ModulePath set to "/usr/X11R7/lib/modules"
 [    87.335] (==) |-->Input Device "<default pointer>"
 [    87.336] (==) |-->Input Device "<default keyboard>"
 [    87.336] (==) The core pointer device wasn't specified explicitly in the layout.
 	Using the default mouse configuration.
 [    87.336] (==) The core keyboard device wasn't specified explicitly in the layout.
 	Using the default keyboard configuration.
 [    87.337] (II) LoadModule: "extmod"
 [    87.388] (II) Loading /usr/X11R7/lib/modules/extensions/libextmod.so
 [    87.435] (II) Module extmod: vendor="X.Org Foundation"
 [    87.436] 	compiled for 1.10.6, module version = 1.0.0
 [    87.436] 	Module class: X.Org Server Extension
 [    87.436] 	ABI class: X.Org Server Extension, version 5.0
 [    87.437] (II) Loading extension MIT-SCREEN-SAVER
 [    87.437] (II) Loading extension XFree86-VidModeExtension
 [    87.437] (II) Loading extension XFree86-DGA
 [    87.439] (II) Loading extension DPMS
 [    87.439] (II) Loading extension XVideo
 [    87.440] (II) Loading extension XVideo-MotionCompensation
 [    87.440] (II) Loading extension X-Resource
 [    87.441] (II) LoadModule: "dbe"
 [    87.445] (II) Loading /usr/X11R7/lib/modules/extensions/libdbe.so
 [    87.463] (II) Module dbe: vendor="X.Org Foundation"
 [    87.464] 	compiled for 1.10.6, module version = 1.0.0
 [    87.464] 	Module class: X.Org Server Extension
 [    87.464] 	ABI class: X.Org Server Extension, version 5.0
 [    87.465] (II) Loading extension DOUBLE-BUFFER
 [    87.465] (II) LoadModule: "glx"
 [    87.471] (II) Loading /usr/X11R7/lib/modules/extensions/libglx.so
 [    87.539] (II) Module glx: vendor="X.Org Foundation"
 [    87.539] 	compiled for 1.10.6, module version = 1.0.0
 [    87.540] 	ABI class: X.Org Server Extension, version 5.0
 [    87.559] (==) AIGLX enabled
 [    87.559] (II) Loading extension GLX
 [    87.560] (II) LoadModule: "record"
 [    87.567] (II) Loading /usr/X11R7/lib/modules/extensions/librecord.so
 [    87.590] (II) Module record: vendor="X.Org Foundation"
 [    87.590] 	compiled for 1.10.6, module version = 1.13.0
 [    87.591] 	Module class: X.Org Server Extension
 [    87.591] 	ABI class: X.Org Server Extension, version 5.0
 [    87.591] (II) Loading extension RECORD
 [    87.592] (II) LoadModule: "dri"
 [    87.601] (II) Loading /usr/X11R7/lib/modules/extensions/libdri.so
 [    87.612] (II) Module dri: vendor="X.Org Foundation"
 [    87.629] 	compiled for 1.10.6, module version = 1.0.0
 [    87.630] 	ABI class: X.Org Server Extension, version 5.0
 [    87.642] (II) Loading extension XFree86-DRI
 [    87.653] (II) LoadModule: "dri2"
 [    87.660] (II) Loading /usr/X11R7/lib/modules/extensions/libdri2.so
 [    87.691] (II) Module dri2: vendor="X.Org Foundation"
 [    87.691] 	compiled for 1.10.6, module version = 1.2.0
 [    87.692] 	ABI class: X.Org Server Extension, version 5.0
 [    87.712] (II) Loading extension DRI2
 [    87.712] (II) LoadModule: "ati"
 [    87.760] (II) Loading /usr/X11R7/lib/modules/drivers/ati_drv.so
 [    87.795] (II) Module ati: vendor="X.Org Foundation"
 [    87.795] 	compiled for 1.10.6, module version = 6.14.6
 [    87.795] 	Module class: X.Org Video Driver
 [    87.796] 	ABI class: X.Org Video Driver, version 10.0
 [    87.796] (II) LoadModule: "mach64"
 [    87.809] (II) Loading /usr/X11R7/lib/modules/drivers/mach64_drv.so
 [    87.860] (II) Module mach64: vendor="X.Org Foundation"
 [    87.860] 	compiled for 1.10.6, module version = 6.9.4
 [    87.861] 	Module class: X.Org Video Driver
 [    87.861] 	ABI class: X.Org Video Driver, version 10.0
 [    87.889] (II) LoadModule: "mouse"
 [    87.900] (II) Loading /usr/X11R7/lib/modules/drivers/mouse_drv.so
 [    87.920] (II) Module mouse: vendor="X.Org Foundation"
 [    87.921] 	compiled for 1.10.6, module version = 1.9.0
 [    87.921] 	Module class: X.Org XInput Driver
 [    87.921] 	ABI class: X.Org XInput driver, version 12.2
 [    87.954] (II) LoadModule: "kbd"
 [    87.964] (II) Loading /usr/X11R7/lib/modules/drivers/kbd_drv.so
 [    87.982] (II) Module kbd: vendor="X.Org Foundation"
 [    87.982] 	compiled for 1.10.6, module version = 1.8.0
 [    87.983] 	Module class: X.Org XInput Driver
 [    87.983] 	ABI class: X.Org XInput driver, version 12.2
 [    87.983] (II) MACH64: Driver for ATI Mach64 chipsets
 [    87.985] (--) Using wscons driver on /dev/ttyE3 in pcvt compatibility mode (version 3.32)
 [    87.986] (--) using VT number 4
 [    87.990] (II) Loading /usr/X11R7/lib/modules/drivers/mach64_drv.so
 [    87.991] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
 [    88.007] (II) MACH64(0): Creating default Display subsection in Screen section
 	"Builtin Default ati Screen 0" for depth/fbbpp 24/32
 [    88.007] (==) MACH64(0): Depth 24, (--) framebuffer bpp 32
 [    88.008] (==) MACH64(0): Using XAA acceleration architecture
 [    88.011] (EE) Unable to map mmio aperture. Invalid argument (22)
 [    88.014] (EE) Unable to map mmio aperture. Invalid argument (22)
 [    88.014] (WW) MACH64: Mach64 in slot 1:2:0 could not be detected!
 [    88.034] (II) UnloadModule: "mach64"
 [    88.034] (II) Unloading mach64
 [    88.035] (EE) Screen(s) found, but none have a usable configuration.
 [    88.035] 
 Fatal server error:
 [    88.036] no screens found
 [    88.037] 
 Please consult the The X.Org Foundation support 
 	 at http://wiki.X.Org
  for help. 
 [    88.039] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
 [    88.040] 
 ---

 Is it worth to try with current Xorg binaries?
 (I need to prepare a spare IDE drive)

 ---
 Izumi Tsutsui

Responsible-Changed-From-To: xsrc-manager->kern-bug-people
Responsible-Changed-By: mrg@NetBSD.org
Responsible-Changed-When: Thu, 26 Nov 2015 20:32:59 +0000
Responsible-Changed-Why:
the bug is a kernel bug.


State-Changed-From-To: open->analyzed
State-Changed-By: mrg@NetBSD.org
State-Changed-When: Thu, 26 Nov 2015 20:32:59 +0000
State-Changed-Why:
i found the change that broke this:

http://mail-index.netbsd.org/source-changes/2012/03/13/msg032767.html


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.