Hi, Martin,

Great to hear that. How about we start it in Opensolaris ? I am also 
porting Radeon driver to
solaris, and the driver can work since snv_68, but the performance is 
not good. It even has some
bad impact on 2D rendering.

I definitely made a big mistake. Alan once told me to start it in 
opensolaris community early. But I
didn't do that. Now, I want to correct this: let's start this project in 
opensolaris and work together.

I sent a email to driver-disscuss aliases already, and got some +1. So, 
we could send proposal to
OGB now with help from core contributors.




Best Regards,
-minskey



Martin Bochnig ??:
> -------- Original-Message --------
>   
>> Date: Mon, 12 Nov 2007 11:24:30 -0800
>> From: Alan Coopersmith <alan.coopersmith at sun.com>
>> To: OpenSolaris Governing Board Discussions <ogb-discuss at opensolaris.org>
>> Subject: [ogb-discuss] Requirements for an OpenSolaris endorsed/reference    
>> distro
>>     
>
>   
>> If we are going to endorse a distro as our reference or blessed or
>> whatever
>> distro, what are the requirements it has to meet?
>>
>> Here's a list of ones I can think of to start discussing from:
>>
>> 1) 100% Open Source:   The OpenSolaris Constitution, as approved by the
>>    voting members of the community and the Solaris management at Sun,
>>    requires:
>>
>>      All software produced by the OpenSolaris Community shall be
>>      licensed to the public free of charge under one or more open
>>      source licenses approved by the Open Source Initiative.
>>
>> 2) Decisions about the distro will all be made by an OpenSolaris community
>>    group in accordance with the constitution (which can be oversimplified
>>    down to "just do it" for simple/obvious things, "quick e-mail
>> consensus"
>>    when the answer isn't so clear, "formal vote" for the important things.
>>    See Article VIII for the full details).
>>
>> 3) All components architecturally reviewed in the open by the process and
>>    groups established by the OpenSolaris Architecture Process and Tools
>>    community.
>>
>> 4) Supports the platforms designated as Core Platforms by a community
>>    process TBD (initially SPARC 4u/4v & x86/x64).
>>     
>
>
>
> Why not continuing to bundle community efforts into (Indiana(, which has been 
> derived from BeleniX(, which had been derived from SchilliX))) && (which will 
> be derived from MartUX-SPARC's framework)  ?
>
> I'm currently in the process of porting it to SPARC for over 10 days now, 
> that's the reason why I don't have the time to write any messages.
>
> Plus my attempt to port the radeon DRM (kernel level) driver to Solaris_x86 
> DDI/DKI (based on Sun's i915 port) makes also a bit progress: It already 
> modloads now, even attaches and properly creates the device nodes, see here 
> (but it is still *broken* pre-alpha stuff, therefore no code drop yet) :
>
>   




> Sun Microsystems Inc.   SunOS 5.11      snv_74  October 2007
> You have new mail.
> # bash
> bash-3.2# modinfo |grep drm
> 182 fffffffff7c4e000   b600   -   1  drm (DRM common interfaces 1.1)
> bash-3.2# modinfo |grep radeon
> 181 fffffffff7c2f000  24520 233   1  radeon (RADEON DRM driver v1.2)
> bash-3.2# dmesg|grep radeon
> Nov 13 08:24:24 unknown genunix: [ID 943528 kern.notice] load 'drv/radeon' id 
> 181 loaded @ 0xfffffffff7e5f000/0xffffffffc010a000 size 126112/22656
> Nov 13 08:24:24 unknown genunix: [ID 131579 kern.notice] installing radeon, 
> module id 181.
> Nov 13 08:24:24 unknown genunix: [ID 830136 kern.info] NOTICE: drm: 
> Initialized radeon 1.26.0 20060524 
> Nov 13 08:24:32 unknown genunix: [ID 762576 kern.notice] uninstalled radeon
> Nov 13 08:24:32 unknown genunix: [ID 659089 kern.notice] unloading radeon, 
> module id 181, loadcnt 1.
> Nov 13 08:25:32 unknown genunix: [ID 943528 kern.notice] load 'drv/radeon' id 
> 181 loaded @ 0xfffffffff7c2f000/0xffffffffc010a000 size 126112/22656
> Nov 13 08:25:32 unknown genunix: [ID 131579 kern.notice] installing radeon, 
> module id 181.
> Nov 13 08:25:32 unknown genunix: [ID 830136 kern.info] NOTICE: drm: 
> Initialized radeon 1.26.0 20060524 
> bash-3.2# find /dev*|grep dri
> /dev/dri__ORIG
> /dev/dri__ORIG/card0
> /dev/dri
> /dev/dri/card0
> bash-3.2# ls -al /dev/dri/card0
> lrwxrwxrwx   1 root     root          36 Nov 13 06:55 /dev/dri/card0 -> 
> ../../devices/pci at 0,0/display at a:drm0
> bash-3.2# find /dev*|grep drm
> /devices/pci at 0,0/display at a:drm0
> bash-3.2# ls -al /dev/fb2
> lrwxrwxrwx   1 root     root           8 Nov 13 06:55 /dev/fb2 -> fbs/gfx0
> bash-3.2# ls -al /dev/fbs
> total 20
> drwxr-xr-x   6 root     root         512 Nov 13 06:55 .
> drwxr-xr-x 311 root     sys         5120 Nov 13 08:24 ..
> lrwxrwxrwx   1 root     root          36 Nov 13 06:39 .gfx0__ORIG -> 
> ../../devices/pci at 0,0/display at a:gfx0
> lrwxrwxrwx   1 root     root          36 Nov 13 06:55 gfx0 -> 
> ../../devices/pci at 0,0/display at a:gfx0
> lrwxrwxrwx   1 root     root          38 Oct 11 07:48 text-0 -> 
> ../../devices/pci at 0,0/display at a:text-0
> lrwxrwxrwx   1 root     root          53 Oct 11 07:48 text-1 -> 
> ../../devices/pci at 0,0/pci1106,b188 at 1/display at 0:text-1
> bash-3.2# uname -a
> SunOS unknown 5.11 snv_74 i86pc i386 i86pc
> bash-3.2# truss modload /kernel/drv/amd64/radeon
> execve("/usr/sbin/modload", 0x08047B10, 0x08047B1C)  argc = 2
> resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
> resolvepath("/usr/sbin/modload", "/usr/sbin/modload", 1023) = 17
> sysconfig(_CONFIG_PAGESIZE)                     = 4096
> xstat(2, "/usr/sbin/modload", 0x080477B8)       = 0
> open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
> xstat(2, "/lib/libc.so.1", 0x08046F78)          = 0
> resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
> open("/lib/libc.so.1", O_RDONLY)                = 3
> mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 
> 0xFEFB0000
> mmap(0x00010000, 1368064, PROT_NONE, 
> MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE60000
> mmap(0xFEE60000, 1259623, PROT_READ|PROT_EXEC, 
> MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE60000
> mmap(0xFEFA4000, 31022, PROT_READ|PROT_WRITE|PROT_EXEC, 
> MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 1261568) = 0xFEFA4000
> mmap(0xFEFAC000, 5208, PROT_READ|PROT_WRITE|PROT_EXEC, 
> MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEFAC000
> munmap(0xFEF94000, 65536)                       = 0
> mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, 
> -1, 0) = 0xFEE50000
> memcntl(0xFEE60000, 205492, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
> close(3)                                        = 0
> mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, 
> MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE40000
> munmap(0xFEFB0000, 32768)                       = 0
> getcontext(0x08047570)
> getrlimit(RLIMIT_STACK, 0x08047568)             = 0
> getpid()                                        = 1422 [1421]
> lwp_private(0, 1, 0xFEE42A00)                   = 0x000001C3
> setustack(0xFEE42A60)
> sysi86(SI86FPSTART, 0xFEFACA78, 0x0000133F, 0x00001F80) = 0x00000001
> brk(0x08061590)                                 = 0
> brk(0x08063590)                                 = 0
> open("/proc/self/auxv", O_RDONLY)               = 3
> fxstat(2, 3, 0x080479F8)                        = 0
> read(3, "D807\0\0E47F04\bDE07\0\0".., 168)      = 168
> close(3)                                        = 0
> sysinfo(SI_ISALIST, "amd64 pentium_pro+mmx pentium_pro pentium+mmx pentium 
> i486 i386 i86", 255) = 68
> access("/usr/sbin/amd64/modload", X_OK)         = 0
> execve("/usr/sbin/amd64/modload", 0x08047B10, 0x08047B1C)  argc = 2
> mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, 
> 4294967295, 0) = 0xFFFFFD7FFF390000
> resolvepath("/usr/lib/amd64/ld.so.1", "/lib/amd64/ld.so.1", 1023) = 18
> resolvepath("/usr/sbin/amd64/modload", "/usr/sbin/amd64/modload", 1023) = 23
> stat("/usr/sbin/amd64/modload", 0xFFFFFD7FFFDFF620) = 0
> open("/var/ld/64/ld.config", O_RDONLY)          Err#2 ENOENT
> stat("/lib/64/libc.so.1", 0xFFFFFD7FFFDFEBB0)   = 0
> resolvepath("/lib/64/libc.so.1", "/lib/amd64/libc.so.1", 1023) = 20
> open("/lib/64/libc.so.1", O_RDONLY)             = 3
> mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 
> 0xFFFFFD7FFF380000
> mmap(0x00010000, 2129920, PROT_NONE, 
> MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, 4294967295, 0) = 
> 0xFFFFFD7FFF000000
> mmap(0xFFFFFD7FFF000000, 2003671, PROT_READ|PROT_EXEC, 
> MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFFFFFD7FFF000000
> mmap(0xFFFFFD7FFF1FA000, 47538, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 2007040) = 0xFFFFFD7FFF1FA000
> mmap(0xFFFFFD7FFF206000, 6984, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_FIXED|MAP_ANON, 4294967295, 0) = 0xFFFFFD7FFF206000
> munmap(0xFFFFFD7FFF1EA000, 65536)               = 0
> memcntl(0xFFFFFD7FFF000000, 898032, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
> close(3)                                        = 0
> mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, 
> 4294967295, 0) = 0xFFFFFD7FFF370000
> mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, 
> MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFFFFFD7FFF360000
> munmap(0xFFFFFD7FFF380000, 32768)               = 0
> getcontext(0xFFFFFD7FFFDFF230)
> mmap(0x00010000, 65536, PROT_READ|PROT_WRITE|PROT_EXEC, 
> MAP_PRIVATE|MAP_ANON|MAP_ALIGN, 4294967295, 0) = 0xFFFFFD7FFF340000
> getrlimit(RLIMIT_STACK, 0xFFFFFD7FFFDFF590)     = 0
> getpid()                                        = 1422 [1421]
> lwp_private(0, 0, 0xFFFFFD7FFF340200)           = 0x00000000
> setustack(0xFFFFFD7FFF3402A8)
> modctl(MODLOAD, 0x00000000, 0xFFFFFD7FFFDFF610, 0xFFFFFD7FFFDFFA1C, 
> 0xFFFFFEFFFFFFFF00) = 0
> _exit(0)
> bash-3.2# date
> Tue Nov 13 09:07:09 MET 2007
>
>  
> --
> Martin Bochnig
> MartUX SuperDooper11 Group
>
>
>   
>> At the moment, I don't know of any distro that meets all of these, not
>> even
>> Indiana, though it and a couple others may be able to achieve them with a
>> bit
>> of work.
>>
>> Software that didn't meet those rules (closed source binaries, NDA
>> covering
>> ARC review) could still be installed on the distro, but couldn't be a core
>> part of it.
>>
>> -- 
>>      -Alan Coopersmith-           alan.coopersmith at sun.com
>>       Sun Microsystems, Inc. - X Window System Engineering
>>
>> _______________________________________________
>> ogb-discuss mailing list
>> ogb-discuss at opensolaris.org
>> http://mail.opensolaris.org/mailman/listinfo/ogb-discuss
>>     
> _______________________________________________
> ogb-discuss mailing list
> ogb-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/ogb-discuss
>   


Reply via email to