Filter block driver / struct page  *b_pages / B_PAGEIO flag

Hi,
i'm develloping a pseudo block driver wich intercepts all requests made on a underlying device ( a hard drive for example ). I want to have acces to data written to this lower device.
Sometimes everything is OK : the "struct buf *" i got in my "strategy" callback contains a valid b_un ptr and I have the data i want.
But sometimes, even if the request is a "write" one, this field is null. I see in this case the field b_pages ( i have the flag "B_PAGEIO" too ) is not NULL . How can I access the data of such a request ?
Any ideas ? thanks,

I think bp_mapin is the stuff i need...
http://docs.sun.com/app/docs/doc/8053182/6j31lcast?a=view
Note : it would be usefull for novices like me if this function could be in the link list of "man buf" or "man strategy" ...

Similar Messages

  • IP FILTER blocks USB keyboard

    Hi,
    for the second time, in a different machine, i observe IP FILTER blocking
    the keyboard. I have a Solaris 9 on a SunBlade 100 with USB keyboard
    and IPFILTER 4.1.22 with pfil 2.1.12. I load the IPF rules and keep on
    working normally. On the next day the machine has a normal network
    behaviour and the mouse answers, but the USB keyboard is blocked and
    i have to reboot to bring to normal behaviour, despite the same IPF rules
    are loaded at boot time. Thus it happens with time (???)
    The IPF rules are listed below. Should make a rule for the keyboard?
    pass out quick on eri0 proto tcp from any to $dns port = domain flags S/FSRPAU keep state
    pass out quick on eri0 proto udp from any to $dns port = domain keep state
    pass out quick on eri0 proto tcp from $myip to any port = 80 flags S/FSRPAU keep state
    pass out quick on eri0 proto tcp from $myip to any port = 443 flags S/FSRPAU keep state
    pass out quick on lo0 all
    pass out quick on hme0 all
    pass out quick on eri0 proto tcp from any to any port = time flags S/FSRPAU keep state
    pass out quick on eri0 proto tcp from any to any port = ftp flags S/FSRPAU keep state
    block out log first quick on eri0 all
    pass in quick on lo0 all
    pass in quick on hme0 all
    pass in quick on eri0 proto tcp from any to $myip port = ssh flags S/FSRPAU keep state
    pass in quick on eri0 proto icmp from $friend to $myip icmp-type echo keep state
    block in log first quick on eri0 all
    null

    wow, i did not find any lock for this block. But it just happens with IP filter
    on, even with pass all rules, when i leave the computer a few hours alone.
    I already tested, and if i `ipf -D` (disable) it does not happen.
    It is also the second machine (different hardware runing solaris 9) in which
    if observe it. I am sure IPF does that, but there is no mesg log.
    I'll try harder with ipf logs ...

  • In the filter scheme driver, how to i get the filename in open() or handleOpen ()

    I want to implement filter scheme driver to monitor and prevent file open or read calls based on certain rules. For this I would need file name, user name and application process name. I did not find a way to extract this information. Any hint would be of great help.

    If the reset doe not work, connect tot he comouter and try to restore via iTunes.
    If the logo is still showing, let the battery fully drain. After charging for an hour, try the reset and restore again.

  • Can not locate driver download page.

    Can not locate driver download page.
    Officejet Pro 8500 A909a
    MS Vista Ultimate 64 Bit.
    When using my Linux PC to try and locate drivers for another PC, the website just keeps sending me in circles and never displays the drivers to download.  Seems like in the past this has been a problem too.  This occures with latest version of Firefox-37.0.1 and the current version of Chromium-37.0.2062.120 Built on Debian 7.6, running on Debian 7.8 (281580) (64-bit).
    Navigate to hp.com
    Select: Support | Download Drivers
    Under 'Drivers and Downloads' tab
    - enter product id: officejet pro 8500 A909a
    - Select 'Go'
     Expand the '+' that lists one link and select it.
    None of the following links give a driver download!
    - Troubleshooting
    - How To
    - Product Info.
    - Users Guide
    - Video Tutorials
    - More Options
    Maybe one of the options should be 'Driver Downloads'.
    Just my $.02.
    This question was solved.
    View Solution.

    Hi,
    Many links in there. Please use the following direct driver (for Windows all):
       http://ftp.hp.com/pub/softlib/software12/COL31041/mp-110033-2/OJ_AIO_P8500_A909_Full_Win_WW_140_408-...
    (Note: Many printers for the whole 8500 series use same drivers).
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Unable to load driver download page.

    I was called by my dad who needed some assistance to get a printer installed he bought fresh from a second hand store.
    Anyway, I tried getting to the HP download page. The page however remains blank and does not load. I found some similar threads that availability to the driver pages is sometimes inaccesible. I don't want to get ahead of things (like assuming it's the fault of HP), and I also don't want to be a jerk (I love HP seriously)
    But I have had very frequent issues in the past with multiple machines on different networks while accessing HP webpages. Either because of extreme long loading times through any hp web service. And in this case unable to access pages completely. Just a reminder that it might be a area of business to improve upon albeit a minor focus point for the people that run this company.
    I read similar threads on this board through google searches that the same webpage (driver) page could be accesible through different international domains. I tried the german and spanish ones with the same results.
    I tried accessing the driver download page for over 4 hours now.
    Maybe it's just a issue with the driver page of my printer type. Especially since it is a older model.
    Personally I don't know about safe alternative download methods to get the drivers.
    Please post-
    1:If you consider the fault to be at my end and how to fix it.
    2:If there is any other way to get my hands on the printer software.

    Hi:
    The problem is on HP's end.
    The link is now working.
    http://support.hp.com/us-en/product/HP-Deskjet-D2400-Printer-series/2510721/model/2510766/drivers
    Yes, I agree with you that there have been too many times in the last year that the support pages are down.
    There should be a performance metric that is part of whoever's job it is that is in charge of the webpages (webmaster?), and there should be measurements of accessibility which should be part of the person's performance evaluations.
    For example overall: Webpages never go out more than 1% of the time each year, etc.
    I have found it quite unacceptible lately, and if this person worked for me, they would be on the carpet.
    I was the commanding officer of a USCG LORAN station back in the 1980's
    The mission of the station was to provide a radio navigation signal 100% of the time. 
    Anything short of that, and you better have a darn good reason why the station went off air.
    You go off air too many times, how do ships and planes find their position?
    I can tell you this, if my station had gone off air as many times as these web pages have been down lately, I would have been relieved of command.
    Plain and simple.

  • Index file increase with no corresponding increase in block numbers or Pag file size

    Hi All,
    Just wondering if anyone else has experienced this issue and/or can help explain why it is happening....
    I have a BSO cube fronted by a Hyperion Planning app, in version 11.1.2.1.000
    The cube is in it's infancy, but already contains 24M blocks, with a PAG file size of 12GB.  We expect this to grow fairly rapidly over the next 12 months or so.
    After performing a simple Agg of aggregating sparse dimensions, the Index file sits at 1.6GB.
    When I then perform a dense restructure, the index file reduces to 0.6GB.  The PAG file remains around 12GB (a minor reduction of 0.4GB occurs).  The number of blocks remains exactly the same.
    If I then run the Agg script again, the number of blocks again remains exactly the same, the PAG file increases by about 0.4GB, but the index file size leaps back to 1.6GB.
    If I then immediately re-run the Agg script, the # blocks still remains the same, the PAG file increases marginally (less than 0.1GB) and the Index remains exactly the same at 1.6GB.
    Subsequent passes of the Agg script have the same effect - a slight increase in the PAG file only.
    Performing another dense restructure reverts the Index file to 0.6GB (exactly the same number of bytes as before).
    I have tried running the Aggs using parallel calcs, and also as in series (ie single thread) and get exactly the same results.
    I figured there must be some kind of fragmentation happening on the Index, but can't think of a way to prove it.  At all stages of the above test, the Average Clustering Ratio remains at 1.00, but I believe this just relates to the data, rather than the Index.
    After a bit of research, it seems older versions of Essbase used to suffer from this Index 'leakage', but that it was fixed way before 11.1.2.1. 
    I also found the following thread which indicates that the Index tags may be duplicated during a calc to allow a read of the data during the calc;
    http://www.network54.com/Forum/58296/thread/1038502076/1038565646/index+file+size+grows+with+same+data+-
    However, even if all the Index tags are duplicated, I would expect the maximum growth of the Index file to be 100%, right?  But I am getting more than 160% growth (1.6GB / 0.6GB).
    And what I haven't mentioned is that I am only aggregating a subset of the database, as my Agg script fixes on only certain members of my non-aggregating sparse dimensions (ie only 1 Scenario & Version)
    The Index file growth in itself is not a problem.  But the knock-on effect is that calc times increase - if I run back-to-back Aggs as above, the 2nd Agg calc takes 20% longer than the 1st.  And with the expected growth of the model, this will likely get much worse.
    Anyone have any explanation as to what is occurring, and how to prevent it...?
    Happy to add any other details that might help with troubleshooting, but thought I'd see if I get any bites first.
    The only other thing I think worth pointing out at this stage is that we have made the cube Direct I/O for performance reasons. I don't have much prior exposure to Direct I/O so don't know whether this could be contributing to the problem.
    Thanks for reading.

    alan.d wrote:
    The only other thing I think worth pointing out at this stage is that we have made the cube Direct I/O for performance reasons. I don't have much prior exposure to Direct I/O so don't know whether this could be contributing to the problem.
    Thanks for reading.
    I haven't tried Direct I/O for quite a while, but I never got it to work properly. Not exactly the same issue that you have, but it would spawn tons of .pag files in the past. You might try duplicating your cube, changing it to buffered I/O, and run the same processes and see if it does the same thing.
    Sabrina

  • After hard drive crash, Pages app brought over, and upgrade to snow leopard installed, Pages would not launch.  Re-downloaded the 3.0.3 update and Pages launched, but will not open any documents or start new document.

    After a hard-drive crash, Pages application was brought over from the old hard drive, and upgraded to snow leopard.  However, Pages would not launch.  I do not have the disks and the computer was given to me by my son with iWork 08 installed, so I do not have the ability to re-install using Purchases.  I re-installed the update 3.0.3, which I already had, but thought it worth a try.  That enabled Pages to launch, but it will not open a new or old document.  I can see in preview the document, but it will not open.  Any suggestions besides repurchasing Pages.  I've just put out a lot of money for a new hard drive and retrieval of apps and docs from the old hard drive and would like not to have to put more money in it. 
    Thanks for any suggestions.

    You can not simply drag over Pages, particularly if it was perhaps damaged in a crash.
    As it was only Pages '08 it may be time to upgrade to Pages '09 from the App Store. It is not that expensive and will allow you to install it on any Mac sharing the same Apple I.D. and protect you from a repeat of this problem.
    There are free alternatives to Pages if you are hard strapped, it depends on what you are using Pages for, it is not the only option by far.
    Peter

  • I wrote a document in the Pages app months ago, and I am now unable to locate it on my computer.  Moreover, someone emailed me the document and I am unable to view it in Google Drive or Pages.  HELP

    I wrote a document in the Pages app months ago, and I am now unable to locate it on my computer.  Moreover, someone emailed me the document and I am unable to view it in Google Drive or Pages.  HELP

    Have you searched for it using the Spotlight? That's the loop icon on the right side of the upper menu bar.

  • K-9 filter block

    @K-9 filter block
    Here’s the problem:
    I have a K-9 Web protection filter.
    When I try to go on to Creative Cloud.exe or TypeKit
    K-9 blocks it because of “http://hammer.behance.net:433” or http://api.behance.net:433.
    If these are sites, I could go onto them and allow the sites.
    But I can’t actually find such sites to go onto.
    Is there another workaround to this issue? I don’t need Behance at this point. Is this a known problem?

    Hi,
    I don't see any relation between Behance and typekit or creative cloud.
    Here is a doc with essential Adobe endpoints to allow on a firewall:
    http://www.adobe.com/content/dam/Adobe/en/devnet/creativesuite/pdfs/ServiceAndSiteURL_List .pdf
    Regards,

  • Alv block on seprate pages

    Hi,
    Can any one suggest how we can display ALV Block on seprate pages (i.e. New page).
    thanks
    bobby

    I am not sure if you can do that.
    Regards,
    Ravi

  • Show the Static Filter in the print page header

    Our customer need the static filter on the head of each printing page. Now i can display the static filter once on the page using:
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GR3TEFilter"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS"/>
             <param name="DATA_PROVIDER" value="DP"/>
             <param name="HIDDEN" value="X"/>
             <param name="CAPTION" value="SAP_BW_TEXT?program=SAPLRRSV&key=721"/>
             <param name="WIDTH" value="330"/>
             <param name="GENERATE_LINKS" value=""/>
             <param name="SHOW_COMMON_ELEMENTS" value=""/>
             <param name="SHOW_VARIABLES" value=""/>
             ITEM:            GR3TEFilter
    </object>
      <b>Problem is, in the template ZWT_ADHOC_PAGE,the print page template, the code for the header is using javascript</b>, like
          leftspancnt = Math.floor(ColumnCnt/2);
          rightspancnt = ColumnCnt - leftspancnt;
          footingHTM += '<TR><TD vAlign="top" align="left" Colspan="' + ColumnCnt + '"><hr size=2 color=black align=left></TD></TR>';
          footingHTM += '<TR><TD vAlign="top" align="left" nowrap Colspan="' + leftspancnt + '"><FONT Size=1>Date Run: ';
          footingHTM += PrintDateTimeStamp;
          footingHTM += '</FONT></TD><TD vAlign="top" align="right" Colspan="' + rightspancnt + '"><FONT Size=1>';
          footingHTM = footingHTM + 'Page ' + currPage.toString() + ' of ' + varPageTotal.toString();
          footingHTM += '</FONT></TD></TR>';
       return footingHTM;
    How can i insert the object into the javascript?

    Surround the object with a div tag. Also, put the title in the header by grabbing the object from your div tag by using the .innerHTML command on the object.

  • Stored package/procedure to drive APEX pages?

    Not sure if this is possible with 10G express Edition- however would also like to know if you can do this with the full blown database.
    I have a stored procedure that utilizes the pl/sql packages that contain http calls.
    I want to have this package run and render the web pages. The package is dynamic and allows users to create their own queries after selecting a table.
    I see how to put an anonymous block into your page. How do you reference a stored package/procedure that is store in the database?
    In Oracle app server the url is something like
    http://machine.com:7778/dad/myproc.main
    How do you put this into an Apex page?
    Thanks

    1) Why do you want to do such a thing? Is not the point with apex that it generates the html you need? On the other hand if you want only part of the page to be generated by your pl/sql then you can just use the sql or pl/sql output as the source for a text fiield. See [this post|http://forums.oracle.com/forums/message.jspa?messageID=3349966#3349966]
    2) This should probably be asked in the [apex forum|http://forums.oracle.com/forums/forum.jspa?forumID=137]

  • Which is the correct way to filter/block traffic between vlans?

      Hi all. My question is: Which is the correct way to filter/block traffic between vlans?
    i have a more than 15 vlans. I want to block traffic between them except 2 vlans.
    source vlan 3 deny destination vlan 4
    #access-list 100 deny ip 192.168.3.0 0.0.0.255 192.168.4.0 0.0.0.255
    and the oposite:
    #access-list 101 deny ip 192.168.4.0 0.0.0.255 192.168.3.0 0.0.0.255
    I have to do this for all VLANs, ono by one. Is that right?
    Thanks.

    There are a couple of ways to achieve that. I assume that you have a Layer3-Switch. There I would configure one ACL per vlan-interface and allow/deny the traffic as you want. Sadly, the Switches don't support object-groups yet, so you have to use the IP-networks here. Only allow/deny traffic based on networks or hosts. Don't even try to be very granular with permit/denys based on ports. Because the switch-ACLs are not statefull you'll run into problems for the return-traffic if you woulf do that. And the return-traffic of course has to be allowed also.
    Another way: with the help of 802.1x you can deploy port-based ACLs for every user. That takes some time for planning, but is one of the most powerful solutions.
    For more control you could remove the L3-interface from your L3-switch and move that to your router or firewall. These devices support stateful filtering and you can control your traffic much tighter tehn with ACLs on the switch.
    Don't stop after you've improved your network! Improve the world by lending money to the working poor:
    http://www.kiva.org/invitedby/karsteni

  • Ironport Filter blocking pdf pages on Ipad

    We have a customer who is using a Cisco Ironport filter. When they attempt to view a pdf webpage (pages created in HTML display fine) using an IPad the page will not display. However, when we assign a static IP that bypasses the filter the pages display correctly. We have tried multiple browsers and the problem does not change. This problem cannot be duplicated on a Mac desktop or a windows computer.

    The school network engineer is going to take a look at the logs and see what the message is. I will update as soon as he gives is the information you requested. Thank you for the quick response and pointing us in a direction.
    Chris

  • Flagged RAW + Photoshop edit -- filter blocks the PSDs from displaying

    LR 2.0, Mac OSX Latest Version
    I shot a bunch of RAW images, flagged a portion of them, and have my filter set to display Flagged Only. I Develop the images and occasionally open 1 up in Photoshop for additional processing. I save the PSD, it saves it alongside my RAW, and creates a stack of the RAW image and the PSD file in my Library.
    However, I have no way of unstacking the set to see the PSD file along with the RAW in LR, because the PSD is not marked as flagged. My filter setting prevents the stack from unstacking, which makes sense. To see/unstack the PSD alongside the RAW, I have to change my filters to show flagged and unflagged images, which is not ideal because it reintroduces all the images I don't wish to see.
    Is there any known work around for this? I like how virtual copies work -- you create a virtual copy and it gets flagged, too.
    Maybe there should be a setting we can toggle to choose if our edited PSD file gets tagged with the same Flag as the master RAW file?

    LR 2.0, Mac OSX Latest Version
    I shot a bunch of RAW images, flagged a portion of them, and have my filter set to display Flagged Only. I Develop the images and occasionally open 1 up in Photoshop for additional processing. I save the PSD, it saves it alongside my RAW, and creates a stack of the RAW image and the PSD file in my Library.
    However, I have no way of unstacking the set to see the PSD file along with the RAW in LR, because the PSD is not marked as flagged. My filter setting prevents the stack from unstacking, which makes sense. To see/unstack the PSD alongside the RAW, I have to change my filters to show flagged and unflagged images, which is not ideal because it reintroduces all the images I don't wish to see.
    Is there any known work around for this? I like how virtual copies work -- you create a virtual copy and it gets flagged, too.
    Maybe there should be a setting we can toggle to choose if our edited PSD file gets tagged with the same Flag as the master RAW file?

Maybe you are looking for