ddrmat help - ops

Fernando França fernando at endless.com.br
Sun Jan 18 18:52:29 EST 2004


  Ops,

  After i compile the ddrmat.o module, i try load the module, and another
problem appears:

  I type:

  # modprobe parport_pc
    parport0: PC-style at 0x378 [PCSPP,TRISTATE]

  (okay)

  # insmod ./ddrmat.o gc=0,7

  (so, the problem appears)  

  Unable to handle kernel NULL pointer dereference at virtual address 00000000
  printing eip:
   d7cb6f49
   *pde = 00000000
   Oops: 0000
   CPU:    0
   EIP
   EFLAGS
   eax
   esi
   ds
   Process insmod (pid: 232, stackpage: )
   Stack
   Call Trace

   Segmentation fault


  I'm not using lp.o or any program that use my parport, i've link /dev/js0 to
/dev/input/js0 and my modules input, hid and joydev are loaded and working (i
have a usb joydev that works ok), and i dont have the devfs instaled on my
machine.


  Thanks a lot.

--
 --==--==--===--===--==---==---==--
  Fernando França
  Linux Sys Admin
  linux user #263682
         #####
        #######
        ##0#0##
        #*****#
      ##  ***  ##
     #           ##
    #             ##
    #             ###
   * *#            ##*
 ******#        #******
 *******#      #*******
   *****########*****
           #####

---------- Original Message -----------
From: "Fernando França" <fernando at endless.com.br>
To: pyddr-discuss at icculus.org
Sent: Sun, 18 Jan 2004 20:54:05 -0200
Subject: Re: [pyddr-discuss] ddrmat help

> Joe, thanks a lot, i change in Makefile the env $CC to /usr/bin/gcc-
> 3.0 and works. :-)
> 
>  See ya,
> 
> --
>  --==--==--===--===--==---==---==--
>   Fernando França
>   Linux Sys Admin
>   linux user #263682
> 
> ---------- Original Message -----------
> From: Joe Wreschnig <piman at debian.org>
> To: pydance Discussion <pyddr-discuss at icculus.org>
> Sent: Sun, 18 Jan 2004 16:00:23 -0600
> Subject: Re: [pyddr-discuss] ddrmat help
> 
> > On Sun, 2004-01-18 at 14:12, Fernando França wrote:
> > >   Hail everybody,
> > > 
> > >   Im running pydance in a Debian 3.0 r1, and im trying to compile the ddrmat
> > > module. 
> > > 
> > >   I've tried in 2 modes do it, geting from apt (apt-get install
> > > ddrmat-source), and with the tar.gz source.
> > > 
> > >   In both, when i try to run make, appears the message: 
> > > 
> > > cc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
> > > -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe
> > > -mpreferred-stack-boundary=2 -falign-functions=4 -DMODULE -DMODVERSIONS
> > > -include /usr/src/linux/include/linux/modversions.h -c ddrmat.c
> > > cc1: Invalid option `-falign-functions=4'
> > > make: *** [all] Error 1
> > 
> > Your version of GCC is too old. I think that -falign-functions was
> > called -malign-functions in older versions, but I'm not sure. Try
> > changing that and see if it helps.
> > -- 
> > Joe Wreschnig <piman at debian.org>
> ------- End of Original Message -------
------- End of Original Message -------




More information about the pyddr-discuss mailing list