[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

Re: Debug statements inside xfree video driver ??



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.

+----------------------------------+----------------------------------+
|  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
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[X Forum]     [Xorg]     [Devices]     [XFree86]     [XFree86 Newbie]     [Site Home]     [IETF Announce]     [Security]     [Fontconfig]     [Bugtraq]     [Rubini]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Video for Linux]     [Linux RAID]     [Linux Kernel]     [Linux Resources]

Powered by Linux