Re: Problem with inserting kernel module

From: Ganeriwal Saurabh (saurabh_at_ee.ucla.edu)
Date: 07/26/05

  • Next message: Neal Becker: "eclipse plugin install permission problem"
    Date: Tue, 26 Jul 2005 08:22:33 -0700 (PDT)
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    Hi Paul,

    Sorry for not making this clear but I am already doing exactly what you
    mentioned in the e-mail.

    I install the module in the /extra directory and do "depmod -a" before
    running the "modprobe" command. Basically, that is as a part of my
    Makefile.

    To make things clear, this module is a kernel driver. I am able to see
    /var/X and dev/X being generated after the install step.

    This module requires GNU MP support, the existence of which I have
    already verified in /usr/lib and /usr/include.

    But I had a peek at the /var/log/messages and the problem seems to be with
    this configuration getting linked. Following is the snapshot from it:

    Jul 18 06:57:40 sld9 kernel: Modules linked in: tpm_emulator(U) nfs lockd
    parport_pc lp parport autofs4 rfcomm l2cap bluetooth sunrpc dm_mod video
    button battery ac md5 ipv6 joydev uhci_hcd ehci_hcd hw_random i2c_i801
    i2c_core snd_intel8x0 snd_ac97_codec snd_seq_dummy snd_seq_oss
    snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss
    snd_pcm snd_timer snd soundcore snd_page_alloc tg3 floppy ext3 jbd
    ata_piix libata sd_mod scsi_mod
    Jul 18 06:57:40 sld9 kernel: [<f8b28a98>] __gmpn_mul_basecase+0xd0/0x130
    [tpm_emulator]
    Jul 18 06:57:40 sld9 kernel: [<f8b26e34>] __gmpn_kara_mul_n+0x384/0x70e
    [tpm_emulator]
    Jul 18 06:57:40 sld9 kernel: [<f8b26fce>] __gmpn_kara_mul_n+0x51e/0x70e
    [tpm_emulator]
    Jul 18 06:57:40 sld9 kernel: [<f8b28965>] __gmpn_mul_n+0x9e/0x101
    [tpm_emulator]

    I am also in confusion with the output of the ld command, which I
    mentioned earlier, that is even giving me conflicts with basic kernel
    utilities such as printk and kfree.

    Please let me know if anything is unclear. i will be glad to provide you
    more information.

    bye,
    saurabh

    >
    > Try installing your module into a directory:
    >
    > /lib/modules/`uname -r`/extra
    >
    > (you may need to create this directory)
    >
    > Then do:
    >
    > # depmod -a
    >
    > Then try your modprobe
    >
    > Paul.
    >
    > --
    > fedora-list mailing list
    > fedora-list@redhat.com
    > To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    >
    >

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Neal Becker: "eclipse plugin install permission problem"