Page 4 of 6 FirstFirst ... 23456 LastLast
Results 31 to 40 of 52

Thread: [SOLVED] PCI Memory Stick Pro reader not mounting

  1. #31
    Join Date
    Nov 2007
    Location
    Santa Cruz, CA
    Beans
    346
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: [SOLVED] PCI Memory Stick Pro reader not mounting

    So will we have to do this everytime there is a kernel update shipped in 9.04?
    Registered Ubuntu User #20847

  2. #32
    Join Date
    Apr 2009
    Location
    Las Piedras, P.R.
    Beans
    4
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Unhappy Re: [SOLVED] PCI Memory Stick Pro reader not mounting

    when i go to the 4 step look what happen...

    Code:
    amoulier@Anonimo:~/linux-2.6.28-11-generic$ sudo cp -r debian/linux-image-`uname -r`/lib/modules/`uname-r`/kernel/drivers/memstick /lib/modules/`uname -r`/kernel/drivers/
    bash: uname-r: command not found
    cp: cannot stat `debian/linux-image-2.6.28-11-generic/lib/modules//kernel/drivers/memstick': No such file or directory

  3. #33
    Join Date
    May 2009
    Beans
    5

    Re: [SOLVED] PCI Memory Stick Pro reader not mounting

    Quote Originally Posted by taz2781 View Post
    when i go to the 4 step look what happen...

    Code:
    amoulier@Anonimo:~/linux-2.6.28-11-generic$ sudo cp -r debian/linux-image-`uname -r`/lib/modules/`uname-r`/kernel/drivers/memstick /lib/modules/`uname -r`/kernel/drivers/
    bash: uname-r: command not found
    cp: cannot stat `debian/linux-image-2.6.28-11-generic/lib/modules//kernel/drivers/memstick': No such file or directory
    It is just a mistype in the guide.
    Correct `uname-r` to `uname -r` and it will work!

  4. #34
    Join Date
    Apr 2009
    Location
    Las Piedras, P.R.
    Beans
    4
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: [SOLVED] PCI Memory Stick Pro reader not mounting

    Thanks for the help... and all. Now i got my PCI Memory Stick Pro working like a dream..
    Last edited by taz2781; May 30th, 2009 at 04:59 PM.

  5. #35
    Join Date
    May 2009
    Beans
    5

    Re: [SOLVED] PCI Memory Stick Pro reader not mounting

    Hi everyone!

    I've just made a little shell script, that will set up everything:
    (Before you run it you should have fakeroot installed:$ sudo apt-get install fakeroot)
    Code:
    #!/bin/sh
    if [ "$1" = "" ]; then
    echo "You haven't give me the computer's architecture name e.g. for Intel: i386 , for AMD64: amd64"
    return
    fi
    cd tmp_kernel_files && echo "I need to be runned in a directory where is no tmp_kernel_files named subdirectory" && return
    echo "Creating temporary directory: ./tmp_kernel_files"
    #0.) Creating temporary directory: ./tmp_kernel_files
    mkdir tmp_kernel_files
    cd tmp_kernel_files
    #1.) Download the latest linux kernel source:
    apt-get build-dep linux-image-`uname -r`
    apt-get source linux-image-`uname -r`
    cd linux-`uname -r` || cd linux-`eval "uname -r" | cut -f1 -d-`
    #2.) Add "CONFIG_MEMSTICK=m" to debian/config/i386/config
    echo CONFIG_MEMSTICK=m >> debian/config/$1/config || return
    #3.) Build the whole kernel actually:
    AUTOBUILD=1 NOEXTRAS=1 skipabi=true fakeroot debian/rules binary-generic
    #4.) Copy the generated Memory Stick driver to the system kernel:
    cp -r debian/linux-image-`uname -r`/lib/modules/`uname -r`/kernel/drivers/memstick /lib/modules/`uname -r`/kernel/drivers/
    #5.) Apply changes to the system:
    depmod -a
    #6.) Clean up temporary files
    cd ..
    cd ..
    rm -r -f tmp_kernel_files
    echo "Temporary directory: ./tmp_kernel_files deleted"
    You should just copy and paste it to a blank text file, then save it as MemoryStick.sh
    After that you should give runnable permissions for it:$ chmod 755 MemoryStick.sh
    Now you can run it:$ sudo ./MemoryStick.sh i386
    (If you use AMD based system just write amd64 instead of i386)

    This script will create a temporary directory (tmp_kernel_files) where you've started it from.
    Then will download the recent kernel's source (about 70 MB), and configure it for the Memory Stick driver.
    After that you will be asked about additional settings on which parts of the driver should be installed.
    Now it will compile the whole kernel - it will take about 1 hour on a typical computer.
    Finally will copy the compiled driver into the system kernel, apply changes to your system and clean up temporary files.

    Voila - your Memory Stick reader is working. (No restart needed.)

    Note: If the script don't seem to work, you should enable "Source code" at System \ Administration \ Software Sources

  6. #36
    Join Date
    Feb 2008
    Beans
    23
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: [SOLVED] PCI Memory Stick Pro reader not mounting

    I confirm that the instructions mentioned here worked for me. Now my memory stick is detected in Vaio VGN-NR160E.. thanks a lot guys.. great job...

  7. #37
    Join Date
    Feb 2008
    Beans
    23
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: [SOLVED] PCI Memory Stick Pro reader not mounting

    I updated my kernel to 2.6.30 today and again my memory stick is not detected

    anyone tried this solution with 2.6.30 kernel?? will it work?

  8. #38
    Join Date
    Jun 2009
    Beans
    1
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: [SOLVED] PCI Memory Stick Pro reader not mounting

    Quote Originally Posted by pulpo88 View Post
    To fix this,

    1. Download the latest linux kernel source:
    sudo apt-get build-dep linux-image-`uname -r`
    sudo apt-get source linux-image-`uname -r`
    cd linux-`uname -r`
    I have run both the apt-get's successfully but after completed, I am unable to change directory. I have copy and pasted directly from this thread. I get a "file or directory not found" error.

    Any ideas?

  9. #39
    Join Date
    Nov 2007
    Location
    Santa Cruz, CA
    Beans
    346
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: [SOLVED] PCI Memory Stick Pro reader not mounting

    can you run the command
    Code:
    ls ~
    Registered Ubuntu User #20847

  10. #40
    Join Date
    May 2009
    Beans
    5

    Re: [SOLVED] PCI Memory Stick Pro reader not mounting

    Quote Originally Posted by metalgamer View Post
    I have run both the apt-get's successfully but after completed, I am unable to change directory. I have copy and pasted directly from this thread. I get a "file or directory not found" error.

    Any ideas?
    Just try my script

    Othervise use: cd linux-`eval "uname -r" | cut -f1 -d-`

    I think it should work for newer kernel versions also, until they finalize this driver, then no more patch will be needed!

Page 4 of 6 FirstFirst ... 23456 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •