Sponsored Content
Full Discussion: Data page fault
Operating Systems HP-UX Data page fault Post 44823 by jsilva on Thursday 11th of December 2003 07:29:22 AM
Old 12-11-2003
Hi,

You don't provide enough info to verify a system panic.
A "page data fault" is a memory error ( some bad pointer )...
It can be caused by bad physical memory too, mainly if there was an HPMC
( High-Priority Machine Check )...

You should try to get more information with q4 and open call with HP.
 

9 More Discussions You Might Find Interesting

1. Solaris

Page Fault very high

Hi, We are running SUN sparc 5.8, notice frequent "Page Faults" message from our monitor s/w "ServerVantage" coming but no message display in SUN syslog or messages log. Any ideas why or what to check? thanks, Ahmad (2 Replies)
Discussion started by: Ahmad
2 Replies

2. Linux

Read data of a page frame (linux) make freeze the system

Hello, I'm writing a linux driver that reading the data of a page frame of an process. But when I use it, it make immediately freeze the system. Can you help me? Thank for reading my question! system: Ubuntu 9.04, kernel 2.6.28.15, Intel Duo static int read_addr(int pid, unsigned long... (2 Replies)
Discussion started by: hahai
2 Replies

3. Linux

page fault handle

For zero-copy communication among the processor, I allocated a pool in the kernel. From user space, it may mmap the virtual memory device into user space i.e 0x80000000. the client may send a message to the server, it may request a buffer, kernel will allocate a block for it and register it into... (0 Replies)
Discussion started by: a2156z
0 Replies

4. UNIX for Advanced & Expert Users

Page fault in kernel

I have a query (Don't know whether its the right folder to ask) ................. What happens when page fault happens in Kernel ..(as the kernel mode is non-preemptive)... any guesses... Thanks in advance (2 Replies)
Discussion started by: yash0101
2 Replies

5. Shell Programming and Scripting

How to pass data from server (CGI script) to client (html page)

Hi I know how to pass data from client side (html file) to server using CGI script (POST method). I also know how to re-create the html page from server side after receiving the data (using printf). However I want to write static pages on client side (only the structure), and only to pass... (0 Replies)
Discussion started by: naamabm
0 Replies

6. UNIX for Dummies Questions & Answers

Page Fault + Memory

I am not sure where to post this so i will put it in the newbie section. I have set up a bog standard debain 6, LAMP environment in the cloud. The specs 1 core at 2GH 2.5gb Memory running Jommla, with about 1.6K visitors a day. I am using AppFirst (appfirst.com) to monitor the... (2 Replies)
Discussion started by: waseem
2 Replies

7. Programming

Using gdb, ignore beginning segmentation fault until reproduce environment segmentation fault

I use a binary name (ie polo) it gets some parameter , so for debugging normally i do this : i wrote script for watchdog my app (polo) and check every second if it's not running then start it , the problem is , if my app , remain in state of segmentation fault for a while (ie 15 ... (6 Replies)
Discussion started by: pooyair
6 Replies

8. Shell Programming and Scripting

Script to scrape page for and save data

Hi All I would like to get cars DB from this web site link removed , and I am trying to right script to go and parse the web page and save the data for each cars into a file, type of cars, mark, model, but when I look to the source page I found out that the first car type is preselected and the... (3 Replies)
Discussion started by: molwiko
3 Replies

9. UNIX for Dummies Questions & Answers

Read data from excel and upload into html page

Hi, I have requirement for automation, wanna confirm whether is it possible in shell scripting. 1) Need to read data from excel sheet 2) And upload the details in html page I know first requirement is possible by converting excel into csv form, but not sure about the second one. If... (6 Replies)
Discussion started by: stew
6 Replies
ddi_check_acc_handle(9F)				   Kernel Functions for Drivers 				  ddi_check_acc_handle(9F)

NAME
ddi_check_acc_handle, ddi_check_dma_handle - Check data access and DMA handles SYNOPSIS
#include <sys/ddi.h> #include <sys/sunddi.h> int ddi_check_acc_handle(ddi_acc_handle_t acc_handle ); int ddi_check_dma_handle(ddi_dma_handle_t dma_handle ); INTERFACE LEVEL
Solaris DDI specific (Solaris DDI) PARAMETERS
acc_handle Data access handle obtained from a previous call to ddi_regs_map_setup(9F), ddi_dma_mem_alloc(9F), or similar function. dma_handle DMA handle obtained from a previous call to ddi_dma_setup(9F) or one of its derivatives. DESCRIPTION
The ddi_check_acc_handle() and ddi_check_dma_handle() functions check for faults that can interfere with communication between a driver and the device it controls. Each function checks a single handle of a specific type and returns a status value indicating whether faults affecting the resource mapped by the supplied handle have been detected. If a fault is indicated when checking a data access handle, this implies that the driver is no longer able to access the mapped registers or memory using programmed I/O through that handle. Typically, this might occur after the device has failed to respond to an I/O access (for example, has incurred a bus error or timed out). The effect of programmed I/O accesses made after this happens is undefined; for example, read accesses (for example, ddi_get8(9F)) may return random values, and write accesses (for example, ddi_put8(9F)) may or may not have any effect. This type of fault is normally fatal to the operation of the device, and the driver should report it via ddi_dev_report_fault(9F) specifying DDI_SERVICE_LOST for the impact, and DDI_DATAPATH_FAULT for the location. If a fault is indicated when checking a DMA handle, it implies that a fault has been detected that has (or will) affect DMA transactions between the device and the memory currently bound to the handle (or most recently bound, if the handle is currently unbound). Possible causes include the failure of a component in the DMA data path, or an attempt by the device to make an invalid DMA access. The driver may be able to continue by falling back to a non-DMA mode of operation, but in general, DMA faults are non-recoverable. The contents of the memory currently (or previously) bound to the handle should be regarded as indeterminate. The fault indication asso- ciated with the current transaction is lost once the handle is (re-)bound, but because the fault may persist, future DMA operations may not succeed. Note - Some implementations cannot detect all types of failure. If a fault is not indicated, this does not constitute a guarantee that communication is possible. However, if a check fails, this is a positive indication that a problem does exist with respect to com- munication using that handle. RETURN VALUES
The ddi_check_acc_handle() and ddi_check_dma_handle() functions return DDI_SUCCESS if no faults affecting the supplied handle are detected and DDI_FAILURE if any fault affecting the supplied handle is detected. EXAMPLES
static int xxattach(dev_info_t *dip, ddi_attach_cmd_t cmd) { ... /* This driver uses only a single register-access handle */ status = ddi_regs_map_setup(dip, REGSET_ZERO, &regaddr, 0, 0, , &acc_attrs, &acc_hdl); if (status != DDI_SUCCESS) return (DDI_FAILURE); ... } static int xxread(dev_t dev, struct uio *uio_p, cred_t *cred_p) { ... if (ddi_check_acc_handle(acc_hdl) != DDI_SUCCESS) { ddi_dev_report_fault(dip, DDI_SERVICE_LOST, DDI_DATAPATH_FAULT, "register access fault during read"); return (EIO); } ... CONTEXT
The ddi_check_acc_handle() and ddi_check_dma_handle() functions may be called from user, kernel, or interrupt context. SEE ALSO
ddi_regs_map_setup(9F), ddi_dma_setup(9F), ddi_dev_report_fault(9F), ddi_get8(9F), ddi_put8(9F) SunOS 5.10 13 August 1999 ddi_check_acc_handle(9F)
All times are GMT -4. The time now is 11:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy