Sponsored Content
Full Discussion: Data page fault
Operating Systems HP-UX Data page fault Post 44809 by wobitu on Thursday 11th of December 2003 04:14:29 AM
Old 12-11-2003
Data page fault

What causes 'page data fault' or 'data memory protection fault' under HP-UX 11. The server crashes and the shutdownlog reports the above error. For your info, Oracle 8i is running .

Appreciate your fast response,
Wobitu
:confused:

Last edited by norsk hedensk; 12-11-2003 at 07:57 AM..
 

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_dev_report_fault(9F)				   Kernel Functions for Drivers 				  ddi_dev_report_fault(9F)

NAME
ddi_dev_report_fault - Report a hardware failure SYNOPSIS
#include <sys/ddi.h> #include <sys/sunddi.h> void ddi_dev_report_fault (dev_info_t *dip, ddi_fault_impact_t impact, ddi_fault_location_t location, const char *message ); INTERFACE LEVEL
Solaris DDI specific (Solaris DDI) PARAMETERS
dip Pointer to the driver's dev_info structure to which the fault report relates. (Normally the caller's own dev_info pointer). impact One of a set of enumerated values indicating the impact of the fault on the device's ability to provide normal service. location One of a set of enumerated values indicating the location of the fault, relative to the hardware controlled by the driver specified by dip. message Text of the message describing the fault being reported. DESCRIPTION
This function provides a standardized mechanism through which device drivers can report hardware faults. Use of this reporting mechanism enables systems equipped with a fault management system to respond to faults discovered by a driver. On a suitably equipped system, this might include automatic failover to an alternative device and/or scheduling replacement of the faulty hardware. The driver must indicate the impact of the fault being reported on its ability to provide service by passing one of the following values for the impact parameter: "small and bold">DDI_SERVICE_LOST Indicates a total loss of service. The driver is unable to implement the normal functions of its hardware. DDI_SERVICE_DEGRADED The driver is unable to provide normal service, but can provide a partial or degraded level of service. The driver may have to make repeated attempts to perform an operation before it succeeds, or it may be running at less than its configured speed. A driver may use this value to indicate that an alternative device should be used if available, but that it can continue operation if no alternative exists. DDI_SERVICE_UNAFFECTED The service provided by the device is currently unaffected by the reported fault. This value may be used to report recovered errors for predictive failure analysis. DDI_SERVICE_RESTORED The driver has resumed normal service, following a previous report that service was lost or degraded. This message implies that any previously reported fault condition no longer exists. The location parameter should be one of the following values: DDI_DATAPATH_FAULT The fault lies in the datapath between the driver and the device. The device may be unplugged, or a problem may exist in the bus on which the device resides. This value is appropriate if the device is not responding to accesses, (for example, the device may not be present) or if a call to ddi_check_acc_handle(9F) returns DDI_FAILURE. DDI_DEVICE_FAULT The fault lies in the device controlled by the driver. This value is appropriate if the device returns an error from a selftest func- tion, or if the driver is able to determine that device is present and accessible, but is not functioning correctly. DDI_EXTERNAL_FAULT The fault is external to the device. For example, an Ethernet driver would use this value when reporting a cable fault. If a device returns detectably bad data during normal operation (an "impossible" value in a register or DMA status area, for example), the driver should check the associated handle using ddi_check_acc_handle(9F) or ddi_check_dma_handle(9F) before reporting the fault. If the fault is associated with the handle, the driver should specify DDI_DATAPATH_FAULT rather than DDI_DEVICE_FAULT. As a consequence of this call, the device's state may be updated to reflect the level of service currently available. See ddi_get_devstate(9F). Note that if a driver calls ddi_get_devstate(9F) and discovers that its device is down, a fault should not be reported- the device is down as the result of a fault that has already been reported. Additionally, a driver should avoid incurring or reporting additional faults when the device is already known to be unusable. The ddi_dev_report_fault() call should only be used to report hardware (device) problems and should not be used to report purely software problems such as memory (or other resource) exhaustion. EXAMPLES
An Ethernet driver receives an error interrupt from its device if various fault conditions occur. The driver must read an error status register to determine the nature of the fault, and report it appropriately: static int xx_error_intr(xx_soft_state *ssp) { ... error_status = ddi_get32(ssp->handle, &ssp->regs->xx_err_status); if (ddi_check_acc_handle(ssp->handle) != DDI_SUCCESS) { ddi_dev_report_fault(ssp->dip, DDI_SERVICE_LOST, DDI_DATAPATH_FAULT, "register access fault"); return DDI_INTR_UNCLAIMED; } if (ssp->error_status & XX_CABLE_FAULT) { ddi_dev_report_fault(ssp->dip, DDI_SERVICE_LOST, DDI_EXTERNAL_FAULT, "cable fault") return DDI_INTR_CLAIMED; } if (ssp->error_status & XX_JABBER) { ddi_dev_report_fault(ssp->dip, DDI_SERVICE_DEGRADED, DDI_EXTERNAL_FAULT, "jabbering detected") return DDI_INTR_CLAIMED; } ... } CONTEXT
The ddi_dev_report_fault() function may be called from user, kernel, or interrupt context. SEE ALSO
ddi_check_acc_handle(9F), ddi_check_dma_handle(9F), ddi_get_devstate(9F) SunOS 5.10 13 August 1999 ddi_dev_report_fault(9F)
All times are GMT -4. The time now is 07:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy