All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 26745] New: mach64 driver missing 32-bit ioctl compatibility routines
@ 2010-02-25  4:09 bugzilla-daemon
  2019-05-29 17:20 ` [Bug 26745] " bugzilla-daemon
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla-daemon @ 2010-02-25  4:09 UTC (permalink / raw)
  To: dri-devel

http://bugs.freedesktop.org/show_bug.cgi?id=26745

           Summary: mach64 driver missing 32-bit ioctl compatibility
                    routines
           Product: DRI
           Version: XOrg CVS
          Platform: SPARC
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: libdrm
        AssignedTo: dri-devel@lists.sourceforge.net
        ReportedBy: matt__m@hushmail.com


Created an attachment (id=33548)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=33548)
Xorg.log showing issue with mach64 dri on 64bit sparc kernel / 32bit userland

i've run into some issues trying to get dri going using mach64.ko and drm.ko
from libdrm-2.4.14 and 2.4.15.

hardware versions:
sunblade 2000, 2x ultrasparc 1.05ghz
ati pgx64 graphics (pci bus id: 1002:4752)

software versions:
kernel 2.6.32.8, 64-bit sparc64 (gentoo)
xorg server 1.6.5, 32bit
xf86-video-mach64 6.8.2 32bit
libdrm 2.4.15 32bit
mesa 7.5.2 32bit

libdrm kernel module builds and loads using sparc64 gcc version 4.3.4

any attempt to use the interface provided via /dev/dri/card0 results in:
[92201.864512] [drm] Initialized drm 1.1.0 20060810
[92203.149358] [drm] Initialized mach64 2.0.0 20060718 on minor 0
[92203.149394] [drm] Used old pci detect: framebuffer loaded
[92220.481429] ioctl32(X:20584): Unknown cmd fd(6) cmd(c0246400){t:'d';sz:36}
arg(001ec180) on /dev/dri/card0
[92220.481627] ioctl32(X:20584): Unknown cmd fd(6) cmd(c0246400){t:'d';sz:36}
arg(001ec180) on /dev/dri/card0
[92220.486733] ioctl32(X:20584): Unknown cmd fd(6) cmd(c0106407){t:'d';sz:16}
arg(ffe37378) on /dev/dri/card0
[92220.486759] ioctl32(X:20584): Unknown cmd fd(6) cmd(c0086401){t:'d';sz:8}
arg(ffe37380) on /dev/dri/card0
[93697.163487] ioctl32(drmstat:20956): Unknown cmd fd(3)
cmd(c0246400){t:'d';sz:36} arg(00026008) on /dev/dri/card0
[93697.163608] ioctl32(drmstat:20956): Unknown cmd fd(3)
cmd(c0106407){t:'d';sz:16} arg(ff9e6d00) on /dev/dri/card0
[93697.163630] ioctl32(drmstat:20956): Unknown cmd fd(3)
cmd(c0086401){t:'d';sz:8} arg(ff9e6d08) on /dev/dri/card0

also attached is an Xorg.log displaying the issue.

the card's (PGX64) pci bus id (is listed in libdrm's shared-core/drm_pciids.txt
under the mach64 driver: 0x1002 0x4752 0 "Rage XL"

i've spotted a couple other bugs related to using these drivers with 64bit
kernel and 32bit userland:
http://bugs.freedesktop.org/show_bug.cgi?id=22271
http://bugs.freedesktop.org/show_bug.cgi?id=23816

most of the other modules have been adjusted, using something like:
'.compat_ioctl = radeon_compat_ioctl' and radeon_ioc32.c, though this is
missing for the mach64 module.

sparc/linux has very few options for graphics, and it seems like fixing this
driver's ioctl32 compatibility could help a couple other archs as well.

thanks for your consideration,
-matt


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug 26745] mach64 driver missing 32-bit ioctl compatibility routines
  2010-02-25  4:09 [Bug 26745] New: mach64 driver missing 32-bit ioctl compatibility routines bugzilla-daemon
@ 2019-05-29 17:20 ` bugzilla-daemon
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla-daemon @ 2019-05-29 17:20 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 558 bytes --]

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

Adam Jackson <ajax@nwnk.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WONTFIX
             Status|NEW                         |RESOLVED

--- Comment #1 from Adam Jackson <ajax@nwnk.net> ---
This is probably still true, but we haven't had a mach64 driver in 7+ years.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2072 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-05-29 17:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-25  4:09 [Bug 26745] New: mach64 driver missing 32-bit ioctl compatibility routines bugzilla-daemon
2019-05-29 17:20 ` [Bug 26745] " bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.