NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: xsrc/50429: Xserver fails to start on Ultra-5 andNetBSD/sparc647.0



Michael writes:
> >    3988      1 Xorg     CALL  mmap(0,0x10000,3,1,8,0,0x100000000)
> >    3988      1 Xorg     RET   mmap -1 errno 22 Invalid argument
> 
> That's trying to mmap the PCI IO space. I committed that ages ago, no
> idea why it would suddenly fail.

hmmm.  so, i've been running netbsd-6 and -7 to try to see
what has changed, and the sequence has changed a lot.  so
i tried a netbsd-7 kernel with -6 userland.  this also fails:

[  1710.038] (II) MACH64(0): Creating default Display subsection in Screen section
        "Builtin Default ati Screen 0" for depth/fbbpp 24/32
[  1710.038] (==) MACH64(0): Depth 24, (--) framebuffer bpp 32
[  1710.039] (==) MACH64(0): Using XAA acceleration architecture
[  1710.044] (EE) Unable to map mmio aperture. Invalid argument (22)
[  1710.045] (WW) MACH64: Mach64 in slot 1:2:0 could not be detected!
[  1710.045] (II) UnloadModule: "mach64"
[  1710.045] (II) Unloading mach64
[  1710.046] (EE) Screen(s) found, but none have a usable configuration.

   540      1 Xorg     CALL  mmap(0,0x1000,3,1,6,0,0xe2000000)
   540      1 Xorg     RET   mmap -1 errno 22 Invalid argument

so we have something slightly different here.  (i'm not sure that
the fds are the same thing -- in this case, fd==6==/dev/pci1,
where mach64 is at.)

the working netbsd-6 one looks like:

   883      1 Xorg     CALL  mmap(0,0x1000,3,1,7,0,0xe2000000)
   883      1 Xorg     RET   mmap 1078231040/0x40448000, 4096/0x1000

so, this clearly looks like a kernel issue.  i notice that
i see this on my console:

machfb0: preposterous dot clock (0)


.mrg.


Home | Main Index | Thread Index | Old Index