Allocating contiguous memory (shared dma) under x86 solaris 8

How can I allocate a contiguous dma buffer? I've been able to do this on a sparc-based system. I'm interested on how it can be done on an x86-based system. I'm using ddi_umem_alloc to allocate the buffer because I need to export it to user space. I get more than one cookie back from the ddi_dma_addr_bind_handle call. My device does not support scatter-gather, which means I must have one cookie. Any help is greatly appreciated!
Thanks in advance!

Perhaps this is a simpler question to ask: can anyone tell me which functions, if any, are guaranteed to return memory which is contained in physically contiguous pages, (useful for dma)? And what parameters do I have to set to make this happen?
e.g. ddi_mem_alloc? ddi_umem_alloc? ddi_dma_mem_alloc?
Again, thanks.
S.

Similar Messages

  • 64-Bit PHP on x86-Solaris 11.1

    Hi all,
    we have just set-up a x86-Solaris 11.1 based workgroup server which will be mainly used for web-based applications (like ownCloud, Moodle or openAtrium) at our university institute. As some of the members of our workgroup produce media (i.e. full HD videos), we have to deal with files larger than 2 GB. While it isn't any problem for Solaris' Apache to handle these file sizes, some PHP applications have quite big problems to work with files >2 GB correctly as long as the underlying PHP is a 32 bit binary.
    I wouldn't have expected that an Enterprise system like Solaris 11.1 still comes with 32 bit applications as the Solaris kernel itself is using the 64 bit mode on x86_64 for quite some time now. Nevertheless, as I really like Solaris' features especially for stable and large storage solutions, I want to stick with Solaris and will have to find a solution for the mentioned problem...
    Recompiling PHP from the sources as a 64 bit application is not a problem. I also assume that I would also have to recompile Apache2 as a 64 bit application to get compatibility to the apache module of 64 bit PHP.
    My question is: Is there any "gold standard" to accomplish this? Of course, I can recompile all parts that I need by myself, completely independently from the packaging system, and put them to "/usr/local/..." or to "/opt/local/...". I am, however, not sure if this is the best way. Perhaps there are already packages I could install and I don't know about. I can't imagine that I am the first user who experiences that problem. Would it make sense to switch to an alternative package repository like OpenCSW? What I also thought about, was the following way to proceed: I'm going to take the source packages from Oracle and then compile Apache and PHP (and most probably also MySQL) with the option for 64 bit according to the instructions in the sources. So I can also build new packages which I can deploy into the zones where I need them in.
    Is there any better way which I might have overlooked, yet?
    Thank you in advance for any help!
    Kind regards,
    Steffen

    I also assume that I would also have to recompile Apache2 as a 64 bit application to get compatibility to the apache module of 64 bit PHP. In S11.1 Apache is already 64-bit aware:
    ls -l /usr/apache2/2.2/bin/amd64
    total 4277
    -r-xr-xr-x 1 root bin 89584 Jan 12 20:47 ab
    -r-xr-xr-x 1 root bin 3649 Jul 19 2012 apachectl
    -r-xr-xr-x 1 root bin 22657 Jul 19 2012 apxs
    -r-xr-xr-x 1 root bin 16424 Jan 12 20:47 checkgid
    -r-xr-xr-x 1 root bin 8925 Jul 19 2012 dbmmanage
    -r-xr-xr-x 1 root bin 1348 Jan 12 20:47 envvars
    -r-xr-xr-x 1 root bin 1081 Jan 12 20:47 envvars-std
    -r-xr-xr-x 1 root bin 36728 Jan 12 20:47 htcacheclean
    -r-xr-xr-x 1 root bin 27232 Jan 12 20:47 htdbm
    -r-xr-xr-x 1 root bin 21616 Jan 12 20:47 htdigest
    -r-xr-xr-x 1 root bin 26432 Jan 12 20:47 htpasswd
    -r-xr-xr-x 1 root bin 841064 Jan 12 20:47 httpd
    -r-xr-xr-x 1 root bin 859224 Jan 12 20:47 httpd.worker
    -r-xr-xr-x 1 root bin 21576 Jan 12 20:47 httxt2dbm
    -r-xr-xr-x 1 root bin 17376 Jan 12 20:47 logresolve
    -r-xr-xr-x 1 root bin 21464 Jan 12 20:47 rotatelogs
    -r-x------ 1 root bin 21712 Jan 12 20:47 suexec.disabled
    The problem is that 64-bit PHP isn't bundled.
    You can try to rise an SR on that topic.
    It seems that it would be easier to integrate large file support only in 32-bit PHP instead.
    Any 32-bit application that is compiled with large file support (-D_LARGEFILE_SOURCE and
    -D_FILE_OFFSET_BITS=64) will work with > 2GB files.
    I think that SR could be realized relatively faster than integrating stable 64-bit PHP.
    Regards,
    Serghei

  • Oracle 9i and IDS under sun solaris 8

    Need some help on oracle 9i and IDS under sun OS
    i want some clariffication in my project.
    If i develop my application under "sun solaris 8" OS for x86 with "oracle 9i"
    as the backend and "IDS" (internet developer suite) as the front end, Can my
    application be ported to the other environment i.e "SUNFIRE 280R" as the
    server with sun solaris 8 as the OS and the same DB and front-end ?.
    will there be any porting problems ?.
    i am new to this environment.And i don't have SUNFIRE 280R server with me and
    the customer won't supply it.
    can anybody guide me please ?.(i am looking for the suggestions form those who
    really worked on this environment.)
    Murthy

    Andrea...for a faster response, please post this question in the Database - Installation forum:
    Database Installation

  • Solaris v10 sparc jumpstart server on x86 solaris - can't find miniroot.

    I am trying to setup a jumpstart install server on an x86 solaris v10 machine to do a sparc network install. I downloaded both the CD and DVD sparc v10 ISO's. When I mount the CD, the Solaris_10/Tools/Boot directory (miniroot system) is symlinked back to ../../../s1 which does exist. I can't find it on the CD, I've used prtvtoc and this slice does not seem to exist.
    On the DVD iso, the directoy exists, but many files cannot be read, almost like the filesystem is corrupt.
    I've download these ISO and burned them many times, so I know it's not an issue with hardware or the CD/DVD media.
    Where can I download a working sparc solaris v10 miniroot system?

    There is no such entry under solaris. This entry only exist on windows.
    On solaris you need to change entries in the kjs script (prior to SP3)
    or iasenv.ksh (after SP3)
    madhavi korupolu wrote:
    >
    Can anybody tell me why the entry for /Application Server/6.0/Java/ in
    kregedit on solaris is missing. I have the entry upto /Application
    Server/6.0/.
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!--
    Han-Dat Luc ([email protected])
    Senior Consultant
    SUN Professional Services (iPlanet)
    o .
    o .
    O _ ____ _ _
    (_) _ \| | __ _ _ __ ___| |_ TM
    | | |_) | |/ _` | '_ \ / _ \ __|
    | | __/| | (_| | | | | __/ |_
    |_|_| |_|\__,_|_| |_|\___|\__|
    e-commerce solutions
    Sun Microsystems Australia Pty Ltd

  • Ld error under x86 when linking boost serialization

    Hi all,
    I am trying to compile and link boost serialization project. I am doing this work under two architectures:
    - sparc using sunstudio12 libraries and CC version 5.8
    - x86 using sunstudio12 libraries and CC version 5.10
    Under sparc I can compile the code and generate libserialization.so, release and debug.
    However, I can't generate libserialization.so under x86 environment in debug mode (release mode works)
    Here are my variables:
    CPPFLAGS := -w -g -DDEBUG -KPIC -features=extensions -I.
    LDFLAGS := -G -Bsymbolic -Llib/x86/DEBUG -ldl -lm -lrt -lnsl -lsocket -lCstd -lCrun -I.
    The link takes about 2 minutes (few sconds under sparc) and ld crash displaying this message and generating a core:
    CC: Fatal error in ld: Segmentation Fault (core dumped)
    make: *** [home/.../boost/lib/x86/DEBUG/libserialization.so] Error 1
    I think ld crashes because I don't have enough space under the swap partition, but why is it works under sparc? and faster?
    Thanks for your help,

    One difference is debug data is due to the compiler version, not differences between sparc and x86.
    C++ 5.8 (in Sun Studio 11) generates debug data in stabs format. C++ 5.10 (in Sun Studio 12u1) generates debug data in dwarf format.
    By default, stabs data remains in the .o files and is not copied into the executable program.
    But dwarf data is copied into the executable. The program will need more memory when it is being linked, and take up more space on disk. (You can get the same effect with stabs if you link using the -xs option.) The dwarf data in the executable does not affect the amount of memory the running program needs, since it is not loaded into the program address space.
    The advantage of putting the debug data in the executable is that you do not need access to the original .o files when debugging the program. With stabs, if you delete or move the .o files, or run the program from a location where the .o files are not visible via the original path, the debugger can't find any debug data.
    Dwarf format does not allow omitting the debug data from the program; debugging via debug data in .o files is not an option.

  • 990fxa-gd80 system memory sharing problem

    System specs
    fx-8150
    8gb corsair vengeance lp 1.35
    2x5870 in crossfire
    corsair 1000w
    So here is my problem , when i got my mobo i upgraded it to the newest bios 11.8 , then i saw the max voltage was 1.449 so i desided that i am gonna do a hard overclock 1.5+ voltage so i downgraded the bios to 11.5. Then the problems came out. When i go in computer>properties it says 8gb(3.97 usable) , i oppened dxdiag and there my vram on each card was like 3.7gb. When i bench it is approx. 10-15 fps lower than before (when i had no system memory sharing).
    Please help.

    Have you tried the latest BETA Release:
    https://forum-en.msi.com/index.php?topic=151102.msg1158952#msg1158952
    7640AMS.B80 ---> E7640AMS.B93
    - Fixed sys fan3 speed issue.
    - Fixed can't use usb30 devices under DOS.
    - Fixed DDR3-1866 compatibility.
    - Update to AMD AGESA Orochi 1.2.0.2 and AMI 4.6.4.1_Agesa_Orochi_027.
    - Update Orochi-AGESAMSI to 4.6.4.1_Orochi-AGESAMSI_027-1.
    - Added ForwardCompatibility module.
    - Updated AMD SB800 eChipset from 4.6.3.7_AMD_SB800_034 to 4.6.3.7_AMD_SB800_039.
    - Fixed it will show warning message when update bios by afude238 tool.
    - Support hotkey(F8/F9) for OCprofile Save/Load.
    - Fixed low voltage memory always run 1066MHZ.
    - Patch memory test fail.
    - Fix plug a PCIEx1 network card to all the PCIEx1 slots on the motherboard and no video occur.

  • How to get the total allocated CPUs, memory and storage in a particualr reservation through vRealize Automation Java SDK?

    I am trying to figure out how to get the total allocated CPUs, memory and storage in a particualr reservation through vRealize Automation Java SDK.

    I am trying to figure out how to get the total allocated CPUs, memory and storage in a particualr reservation through vRealize Automation Java SDK.

  • X86 Solaris 10 problems with ipfilter

    Colleagues,
    I'm install Solaris 10 on HP Proliant DL360 G4
    (listed in HCL for Solaris OS http://www.sun.com/bigadmin/hcl/data/sol/systems/details/691.html)
    Everything works fine till, but when I increase loading
    (DNS server there, so too much UDP packets, about 2000/sec) Solaris panic with:
    Nov 30 10:35:45 d0 ^Mpanic[cpu0]/thread=ffffffff85759820:
    Nov 30 10:35:45 d0 genunix: [ID 103648 kern.notice] mutex_exit: not owner, lp=0 owner=0 thread=ffffffff85759820
    Nov 30 10:35:46 d0 unix: [ID 100000 kern.notice]
    Nov 30 10:35:46 d0 genunix: [ID 655072 kern.notice] fffffe8000c08190 unix:mutex_panic+6f (0, ffffffff860f5d98, fffffe)
    Nov 30 10:35:46 d0 genunix: [ID 655072 kern.notice] fffffe8000c081b0 unix:mutex_vector_exit+39 ()
    Nov 30 10:35:46 d0 genunix: [ID 655072 kern.notice] fffffe8000c081e0 ipf:ipf_stinsert+333e9215 ()
    Nov 30 10:35:46 d0 genunix: [ID 655072 kern.notice] fffffe8000c08210 ipf:fr_updatestate+61 ()
    Nov 30 10:35:46 d0 genunix: [ID 655072 kern.notice] fffffe8000c08250 ipf:fr_checkstate+10f ()
    Nov 30 10:35:46 d0 genunix: [ID 655072 kern.notice] fffffe8000c08390 ipf:fr_check+629 ()
    Nov 30 10:35:46 d0 genunix: [ID 655072 kern.notice] fffffe8000c08530 pfil:pfil_precheck+850 ()
    Nov 30 10:35:46 d0 genunix: [ID 655072 kern.notice] fffffe8000c08560 pfil:pfilmodwput+9f ()
    Nov 30 10:35:46 d0 genunix: [ID 655072 kern.notice] fffffe8000c085c0 unix:putnext+1f1 ()
    Nov 30 10:35:46 d0 genunix: [ID 655072 kern.notice] fffffe8000c086d0 ip:ip_wput_ire+1a98 ()
    Nov 30 10:35:46 d0 genunix: [ID 655072 kern.notice] fffffe8000c08780 ip:ip_output+ee9 ()
    Nov 30 10:35:46 d0 genunix: [ID 655072 kern.notice] fffffe8000c08790 ip:ip_wput+18 ()
    Nov 30 10:35:46 d0 genunix: [ID 655072 kern.notice] fffffe8000c087f0 unix:putnext+1f1 ()
    Nov 30 10:35:46 d0 genunix: [ID 655072 kern.notice] fffffe8000c08870 udp:udp_wput+29d ()
    Nov 30 10:35:46 d0 genunix: [ID 655072 kern.notice] fffffe8000c088d0 unix:putnext+1f1 ()
    Nov 30 10:35:46 d0 genunix: [ID 655072 kern.notice] fffffe8000c08a70 genunix:strput+3bc ()
    Nov 30 10:35:46 d0 genunix: [ID 655072 kern.notice] fffffe8000c08af0 genunix:kstrputmsg+1e8 ()
    Nov 30 10:35:46 d0 genunix: [ID 655072 kern.notice] fffffe8000c08ba0 sockfs:sosend_dgram+181 ()
    Nov 30 10:35:46 d0 genunix: [ID 655072 kern.notice] fffffe8000c08c10 sockfs:sotpi_sendmsg+1bc ()
    Nov 30 10:35:46 d0 genunix: [ID 655072 kern.notice] fffffe8000c08c80 sockfs:sendit+f0 ()
    Nov 30 10:35:46 d0 genunix: [ID 655072 kern.notice] fffffe8000c08ed0 sockfs:sendmsg+1bf ()
    Nov 30 10:35:47 d0 unix: [ID 100000 kern.notice]
    Nov 30 10:35:47 d0 genunix: [ID 672855 kern.notice] syncing file systems...
    Nov 30 10:35:47 d0 genunix: [ID 733762 kern.notice] 34
    Nov 30 10:35:48 d0 genunix: [ID 733762 kern.notice] 24
    Nov 30 10:36:08 d0 last message repeated 20 times
    Nov 30 10:36:09 d0 genunix: [ID 622722 kern.notice] done (not all i/o completed)
    Nov 30 10:37:30 d0 genunix: [ID 540533 kern.notice] ^MSunOS Release 5.10 Version Generic_118844-20 64-bit
    Nov 30 10:37:30 d0 genunix: [ID 943906 kern.notice] Copyright 1983-2005 Sun Microsystems, Inc. All rights reserved.
    At some stage there are problems with creation of a new state...
    I remember some time ago (Solaris 2.8) there where problems like that with ipfilter, but now ipfilter included in Solaris distribution, hardware tested and so on...
    New reincarnation of a problem?
    Somebody has similar problems with the software x86 Solaris 10?
    Thanks, Roman Gnatenko (rvg at co.ru)

    Hi. I've never seen anything like this, and it seems to be something which
    the JDBC module is going to be an innocent victim of, rather than a
    contributor to... Your best course is to open an official support case.
    Joe

  • Link to download X86 Solaris Installation for weblogic 10.3

    Can please anyone let me know the link to download X86 Solaris Installation for weblogic 10.3.
    I am only able to see installables for X86 windows,X86 linus & sparc but nothing for X86 Solaris.

    Hi;
    Can please anyone let me know the link to download X86 Solaris Installation for weblogic 10.3.I belive its not available. Please check :
    WebLogic 10.3 availability?
    Also check certification matrix:
    http://www.oracle.com/technology/support/metalink/index.html
    Regard
    Helios

  • Contiguous memory error

    Hi
         We are passing a value of 20 K bytes of length to a stored procedure having Varchar2 parameter,
    sometimes it comes out with the error below
         -2147217900-ORA-06505: PL/SQL: variable requires more than 32767 bytes of contiguous memory ORA-06512: at line 1
         The server where oracle8i resides is having configuration as below:
         RAM : 256 MB
         HDD : 8 GB
    OS : WindowsNT
         Can any body give the solution to this problem ?
    Thanks in advance

    You should use CLOB type instead of VARCHAR2.
    Rgds
    Petr

  • How can x86 Solaris detect a expanded SAN volume

    I have a x86 solaris box (SunOS jdnm01cdr01s 5.10 Generic_137112-02 i86pc i386 i86pc) that connects to a SAN volume with initial 10G space.
    I increases the volumn size to 20GB.
    Format commands displays the name is updated to 20G.
    AVAILABLE DISK SELECTIONS:
           0. c0t600A0B800039BE61000016894ACD4D2Ad0 <SUN-LCSM100_F-0617-20.00GB>
              /scsi_vhci/disk@g600a0b800039be61000016894acd4d2aHowever, the partition tool is still report the wrong size.
    Current partition table (original):
    Total disk sectors available: 20955101 + 16384 (reserved sectors)
    Part      Tag    Flag     First Sector        Size        Last Sector
      0        usr    wm                34       9.99GB         20955101
      1 unassigned    wm                 0          0              0
      2 unassigned    wm                 0          0              0
      3 unassigned    wm                 0          0              0
      4 unassigned    wm                 0          0              0
      5 unassigned    wm                 0          0              0
      6 unassigned    wm                 0          0              0
      8   reserved    wm          20955102       8.00MB         20971485
    format> label
    Ready to label disk, continue? yes
    partition> p
    Current partition table (original):
    Total disk sectors available: 20955101 + 16384 (reserved sectors)
    Part      Tag    Flag     First Sector        Size        Last Sector
      0        usr    wm                34       9.99GB         20955101
      1 unassigned    wm                 0          0              0
      2 unassigned    wm                 0          0              0
      3 unassigned    wm                 0          0              0
      4 unassigned    wm                 0          0              0
      5 unassigned    wm                 0          0              0
      6 unassigned    wm                 0          0              0
      8   reserved    wm          20955102       8.00MB         20971485How does it detect the new size?

    The disk is running in ZFS and has data on it.
    Does it harmful if I modify the VTOC label?
    I get the following from the server. Shall I extend the slice up to 41943039?
    # prtvtoc /dev/rdsk/c0t600A0B800039BE61000016894ACD4D2Ad0s2
    * /dev/rdsk/c0t600A0B800039BE61000016894ACD4D2Ad0s2 partition map
    * Dimensions:
    *     512 bytes/sector
    * 41943039 sectors
    * 20971452 accessible sectors
    * Flags:
    *   1: unmountable
    *  10: read-only
    *                          First     Sector    Last
    * Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
           0      4    00         34  20955068  20955101
           8     11    00   20955102     16384  20971485

  • Allocated heap memory goes up even when there is enough free memory

    Hi,
    Our Java application's memory usage keep growing. Further analysis of the heap memory using JProbe shows that the allocated heap memory goes up even when there is enough free memory available in the heap.
    When the process started, allocated heap memory was around 50MB and the memory used was around 8MB. After few hours, the inuse memory remains at 8MB (slight increase in KBs), but the allocated memory went upto 70MB.
    We are using JVM 1.5_10. What could be the reason for heap allocation going up even when there is enough free memory available in heap?
    -Rajesh.

    Hi Eric,
    Please check if there is any error or warning in the Event Viewer based on the data time?
    If there is any error, please post the event ID to help us to troubleshoot.
    Best Regards,
    Anna

  • HT1399 my ipod says i got alot of my memory used up under other and i would like to know how to delete it so i can add more music

    My ipod says i got alot of my memory used up under other and i would like to know how to delete thid stuff so i can add more songs.

    You need to delete the music you got from your friend. You fried does not have the licence/right to give you a copy of it.
    I would restore the iPod from a backup on your computer and sync your own media to the iPod.

  • I cant find sharing folder under Internet & Wireless,How to make it appear(?)

    I cant find sharing folder under Internet & Wireless,How to make it appear(?)

    Does it still exist here?
    /System/Library/PreferencePanes/SharingPref.prefPane
    You can copy & paste this in Finder > Go > Go To Folder... (Command+Shift+G)

  • ATV2 - Clicking Shared Library Under Computers Loops Back To Main Screen

    I see this issue following the upgrade to 4.2 on my ATV2. As the title says, when I click on my shared library under "Computers" from the main screen, it briefly shows the next screen and immediately loops back to the main screen. This is true regardless of the remote I'm using - Logitech Harmony One or the Remote app from iPad or iPod Touch. Navigating all other screens works fine from all 3 remotes. I've tried turning off/on Home Sharing - no joy.
    Essentially, I'm locked out of any content from my iTunes library. Please help.

    Welcome to the Apple Community.
    I don't believe it's anything to do with the remote. My first inclination is that something about your network or library is causing issues with the new software. Have you tried any basic troubleshooting like restarting all the devices (Inc. The router) or anything else.

Maybe you are looking for

  • Goods receipt subtotal is showing zero instead sum of quantity..!

    Hi Guys, 1. Goods movement subtotal showing 0 instead of the total of the quantity. The check throwing the following error message. Update control of movement type is incorrect (entry 122 X X) Message no. M7226 2. Purchase order data tab not showing

  • Restart takes more than 2 hours!

    Since a couple of days a restart on my 2008 MacBook Pro 15 inch takes more than 2 hours. Anybody have the same problem?

  • Every time I add a new page of pictures, it rebuilds entire site.

    and even if I create a new "Site" it rebuilds the entire set of sites. (eg I created a subdomain xyz.com/subsite, and it still rebuilds everything else in xyz.com) What am I doing wrong. I don't think this is related to the discussion of domains. I'm

  • Download the smartform in 4.6C  version

    Hi All, I want to download the smartform from the quality system to development system but I am not able to do it. I am working on 4.6C version and there is no option to download. Download option is in 4.7 version. Could aanybody help me out. Thanks,

  • Where do I go to get software updates for my wireless printer hp 4620 series

    I have a wireless printer hp 4620 series. It came with an installer cd that only allows use of OS X , Mountain Lion, and Lion. My system is OS Yosemite. The cd told me that the installation was not recommended and I should get software update from Ap