Announcement

Collapse
No announcement yet.

Creative X-Fi Install "Segmentation fault"

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Creative X-Fi Install "Segmentation fault"

    At last Creative has released a driver for X-Fi sound card. (Not Beta)

    I have X-Fi Platinum "PCI"

    I've downloaded the "XFiDrv_Linux_Public_US_1.00.tar.gz" file

    Extracted it in my home directory, located the folder & then red the readme file which suggests the following:

    Code:
    #make
    #make install
    It fails & I have no idea why, here is the whole output from the shell.

    Code:
    xirex@xirex-desktop-linux:~/Drivers/XFiDrv_Linux_Public_US_1.00$ sudo make
    make -C /lib/modules/2.6.24-19-generic/build M=/home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00
    make[1]: Entering directory `/usr/src/linux-headers-2.6.24-19-generic'
     LD   /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/built-in.o
     CC [M] /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/xfi.o
     CC [M] /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctatc.o
     CC [M] /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctvmem.o
     CC [M] /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctpcm.o
    /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctpcm.c: In function ‘ct_alsa_pcm_create’:
    /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctpcm.c:462: warning: passing argument 2 of ‘snd_pcm_new’ discards qualifiers from pointer target type
     CC [M] /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctmixer.o
     CC [M] /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctresource.o
     CC [M] /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctsrc.o
     CC [M] /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctamixer.o
     CC [M] /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctdaio.o
     CC [M] /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctimap.o
     CC [M] /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/cthardware.o
     CC [M] /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/cthw20k2.o
     CC [M] /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/cthw20k1.o
     LD [M] /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.o
     Building modules, stage 2.
     MODPOST 1 modules
    WARNING: "snd_pcm_period_elapsed" [/home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.ko] undefined!
    WARNING: "snd_pcm_hw_constraint_integer" [/home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.ko] undefined!
    WARNING: "snd_device_new" [/home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.ko] undefined!
    WARNING: "snd_pcm_set_ops" [/home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.ko] undefined!
    WARNING: "snd_ctl_notify" [/home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.ko] undefined!
    WARNING: "snd_pcm_lib_free_pages" [/home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.ko] undefined!
    WARNING: "snd_pcm_lib_ioctl" [/home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.ko] undefined!
    WARNING: "snd_pcm_lib_malloc_pages" [/home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.ko] undefined!
    WARNING: "snd_card_new" [/home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.ko] undefined!
    WARNING: "snd_ctl_new1" [/home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.ko] undefined!
    WARNING: "snd_pcm_hw_constraint_minmax" [/home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.ko] undefined!
    WARNING: "snd_pcm_lib_preallocate_pages_for_all" [/home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.ko] undefined!
    WARNING: "snd_card_free" [/home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.ko] undefined!
    WARNING: "snd_card_register" [/home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.ko] undefined!
    WARNING: "snd_pcm_new" [/home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.ko] undefined!
    WARNING: "snd_ctl_add" [/home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.ko] undefined!
     CC   /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.mod.o
     LD [M] /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.ko
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-19-generic'
    xirex@xirex-desktop-linux:~/Drivers/XFiDrv_Linux_Public_US_1.00$ sudo make install
    Copy module files...
    Update module dependency relationships...
    make: *** [install] Segmentation fault
    xirex@xirex-desktop-linux:~/Drivers/XFiDrv_Linux_Public_US_1.00$
    Noticed some warnings but I have no clue.

    #2
    Re: Creative X-Fi Install "Segmentation fault"

    I think that the make step is done as the user, not as root. The make install is done with sudo.

    How-To: Creative X-Fi
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Re: Creative X-Fi Install "Segmentation fault"

      Thanks Snowhog

      But I've done exactly what's written in the readme file:

      ================================================== ==================

      Sound Blaster X-Fi Linux 32/64-bit Driver Source Release Readme File
      September 2008

      ================================================== ==================

      The purpose of this document is to describe how to build and install the
      X-Fi Linux device driver.



      Quick install

      =============
      In terminal,

      1) Goto source directory
      2) Execute make command as root
      make
      make install

      Uninstall
      =========
      In terminal,
      1) Goto source directory
      2) Execute make command as root
      make uninstall


      Copyright (c) 2008 Creative Technology Ltd. All rights reserved.
      ================================================== ==================
      End of Readme File
      ================================================== ==================


      Anyways, I've tried the way you suggested, but my whole system came to a halt,
      Total hang, tried to restart GUI (Nothing). Then:
      Code:
      Alt + SysRp + r s e i u b
      Also nothing, had to press the restart button.

      Then after reboot and @ login screen:
      Code:
      Ctrl + Alt + F1
      I tried to run the installation from the CLI & I got the some data which I couldn't copy, but at the end. I got the same line "Segmentation fault".

      Comment


        #4
        Re: Creative X-Fi Install "Segmentation fault"

        Creative opens up its Linux X-Fi driver

        At the end of the article:
        "The released driver reportedly still has a few bugs, but many eyes should quickly fix
        those and, whatever its motivations might have been, Creative Labs deserves applause
        for finally doing the right thing."
        Windows no longer obstructs my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment


          #5
          Re: Creative X-Fi Install "Segmentation fault"

          Thanks Snowhog .. u made my day

          Wonderful news! *applause for Creative*

          I've waited few months already .. I think I can wait some more.

          Loved the part where it says:

          Rather than being seen as Creative suddenly seeing the light about the advantages of open sauce software development, it's more likely that the company simply threw up its hands, saying in effect that if Linux users want an X-Fi driver that really works properly, they can just jolly well get together and write it themselves.

          Which a few itchy Linux coders surely will do.

          Thanks again

          Comment


            #6
            Re: Creative X-Fi Install "Segmentation fault"

            My guess is that a 'native' Linux driver will be developed in quick order.
            Windows no longer obstructs my view.
            Using Kubuntu Linux since March 23, 2007.
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

            Comment


              #7
              Re: Creative X-Fi Install "Segmentation fault"

              Originally posted by 0x00FE
              At last Creative has released a driver for X-Fi sound card. (Not Beta)

              I have X-Fi Platinum "PCI"

              I've downloaded the "XFiDrv_Linux_Public_US_1.00.tar.gz" file

              Extracted it in my home directory, located the folder & then red the readme file which suggests the following:

              Code:
              #make
              #make install
              It fails & I have no idea why, here is the whole output from the shell.

              Code:
              xirex@xirex-desktop-linux:~/Drivers/XFiDrv_Linux_Public_US_1.00$ sudo make
              make -C /lib/modules/2.6.24-19-generic/build M=/home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00
              make[1]: Entering directory `/usr/src/linux-headers-2.6.24-19-generic'
               LD   /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/built-in.o
               CC [M] /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/xfi.o
               CC [M] /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctatc.o
               CC [M] /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctvmem.o
               CC [M] /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctpcm.o
              /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctpcm.c: In function ‘ct_alsa_pcm_create’:
              /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctpcm.c:462: warning: passing argument 2 of ‘snd_pcm_new’ discards qualifiers from pointer target type
               CC [M] /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctmixer.o
               CC [M] /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctresource.o
               CC [M] /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctsrc.o
               CC [M] /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctamixer.o
               CC [M] /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctdaio.o
               CC [M] /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctimap.o
               CC [M] /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/cthardware.o
               CC [M] /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/cthw20k2.o
               CC [M] /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/cthw20k1.o
               LD [M] /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.o
               Building modules, stage 2.
               MODPOST 1 modules
              WARNING: "snd_pcm_period_elapsed" [/home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.ko] undefined!
              WARNING: "snd_pcm_hw_constraint_integer" [/home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.ko] undefined!
              WARNING: "snd_device_new" [/home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.ko] undefined!
              WARNING: "snd_pcm_set_ops" [/home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.ko] undefined!
              WARNING: "snd_ctl_notify" [/home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.ko] undefined!
              WARNING: "snd_pcm_lib_free_pages" [/home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.ko] undefined!
              WARNING: "snd_pcm_lib_ioctl" [/home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.ko] undefined!
              WARNING: "snd_pcm_lib_malloc_pages" [/home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.ko] undefined!
              WARNING: "snd_card_new" [/home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.ko] undefined!
              WARNING: "snd_ctl_new1" [/home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.ko] undefined!
              WARNING: "snd_pcm_hw_constraint_minmax" [/home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.ko] undefined!
              WARNING: "snd_pcm_lib_preallocate_pages_for_all" [/home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.ko] undefined!
              WARNING: "snd_card_free" [/home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.ko] undefined!
              WARNING: "snd_card_register" [/home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.ko] undefined!
              WARNING: "snd_pcm_new" [/home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.ko] undefined!
              WARNING: "snd_ctl_add" [/home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.ko] undefined!
               CC   /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.mod.o
               LD [M] /home/xirex/Drivers/XFiDrv_Linux_Public_US_1.00/ctxfi.ko
              make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-19-generic'
              xirex@xirex-desktop-linux:~/Drivers/XFiDrv_Linux_Public_US_1.00$ sudo make install
              Copy module files...
              Update module dependency relationships...
              make: *** [install] Segmentation fault
              xirex@xirex-desktop-linux:~/Drivers/XFiDrv_Linux_Public_US_1.00$
              Noticed some warnings but I have no clue.
              You don't have sound support compiled in the kernel source yet. That's why it's missing all references to it. Get that compiled, and your xfi driver will compile and install just fine. the xfi driver depends on object files that are created in the kernel source.

              CONFIG_SND=m
              CONFIG_SND_TIMER=m
              CONFIG_SND_PCM=m
              CONFIG_SND_HWDEP=m
              CONFIG_SND_OSSEMUL=y
              CONFIG_SND_MIXER_OSS=m
              CONFIG_SND_PCM_OSS=m
              CONFIG_SND_PCM_OSS_PLUGINS=y

              That's more than enough to satisfy dependencies - I usually use that by default though.

              Comment


                #8
                Re: Creative X-Fi Install "Segmentation fault"

                Originally posted by Snowhog
                I think that the make step is done as the user, not as root. The make install is done with sudo.

                How-To: Creative X-Fi
                In all honesty, where do you get ideas like this Snowhog?

                Comment


                  #9
                  Re: Creative X-Fi Install "Segmentation fault"

                  Originally posted by nawcom

                  You don't have sound support compiled in the kernel source yet. That's why it's missing all references to it. Get that compiled, and your xfi driver will compile and install just fine. the xfi driver depends on object files that are created in the kernel source.

                  CONFIG_SND=m
                  CONFIG_SND_TIMER=m
                  CONFIG_SND_PCM=m
                  CONFIG_SND_HWDEP=m
                  CONFIG_SND_OSSEMUL=y
                  CONFIG_SND_MIXER_OSS=m
                  CONFIG_SND_PCM_OSS=m
                  CONFIG_SND_PCM_OSS_PLUGINS=y

                  That's more than enough to satisfy dependencies - I usually use that by default though.
                  Thnx nawcom,
                  Actually, I have no idea about what to compile or how to compile, not yet an expert. Most of my work is depending on auto packages regarding Linux, but am always ready to learn.

                  If you have a website that I can go to that would tell me what to do then would be great, otherwise I'll wait for other releases.
                  Thanks again

                  Comment

                  Working...
                  X