Re: Debug statements inside xfree video driver ??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Sun, 29 Jun 2008, vishnuvaradan vishnuvaradan wrote:

Iam trying to integrate the xfree video driver for my PMC graphics card ..

while configuring and running the driver access some illegal memory area and
iam geting oops kernel access bad area..

I need to debug the video driver.. ( reg its IOBASE,mem base etc)

I added printf inside the driver but it is not coming in var/log

Please give idea how to add some debug statements(with variable values)
inside the  video  driver such that it will come in var/log ...???

The server closes stdout as part of its initialisation. You could use stderr instead, but it is preferable to use the xf86Msg() family of functions. These are documented in section 18.1 of the DESIGN document.


|  Marc Aurele La France           |  work:   1-780-492-9310          |
|  Academic Information and        |  fax:    1-780-492-1729          |
|    Communications Technologies   |  email:  tsi@xxxxxxxxxxx         |
|  352 General Services Building   +----------------------------------+
|  University of Alberta           |                                  |
|  Edmonton, Alberta               |    Standard disclaimers apply    |
|  T6G 2H1                         |                                  |
|  CANADA                          |                                  |
XFree86 developer and VP.  ATI driver and X server internals.
XFree86 mailing list

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux