[Solved] mint 14 kernel 3.8 usb stick not recognized

Questions about applications and software
Forum rules
Before you post please read this

[Solved] mint 14 kernel 3.8 usb stick not recognized

Postby cyberwolf on Fri Mar 15, 2013 9:19 am

Hi,
To fix vmware workstation 9 on linux mint 14 kernel 3.5 I upgrade to kernel 3.8 but now I cannot see usb drive anymore.
I can plug the mouse into the usb port and it works but when I plug an usb pendrive it does nothing, not even turn on the led.

Code: Select all
Mar 15 14:15:21 blackbird kernel: [ 1593.391573] usb 3-1: new high-speed USB device number 4 using xhci_hcd
Mar 15 14:15:21 blackbird kernel: [ 1594.009432] usb 3-1: New USB device found, idVendor=090c, idProduct=1000
Mar 15 14:15:21 blackbird kernel: [ 1594.009440] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 15 14:15:21 blackbird kernel: [ 1594.009444] usb 3-1: SerialNumber: AA00800000000523
Mar 15 14:15:21 blackbird kernel: [ 1594.009656] usb 3-1: ep 0x81 - rounding interval to 128 microframes, ep desc says 255 microframes
Mar 15 14:15:21 blackbird kernel: [ 1594.009664] usb 3-1: ep 0x2 - rounding interval to 128 microframes, ep desc says 255 microframes
Mar 15 14:15:21 blackbird mtp-probe: checking bus 3, device 4: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1"
Mar 15 14:15:21 blackbird mtp-probe: bus: 3, device: 4 was not an MTP device


Code: Select all
wolf@blackbird ~ $ lsmod |grep usb
usb_wwan               15334  2 qcserial,option
usbserial              32779  3 qcserial,option,usb_wwan
btusb                  18334  0
usbhid                 47032  0
hid                   100762  2 hid_generic,usbhid
bluetooth             228796  22 btusb,bnep,rfcomm


Code: Select all
wolf@blackbird ~ $ lsusb
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 003: ID 090c:1000 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) 64MB QDI U2 DISK
Bus 003 Device 002: ID 046d:c066 Logitech, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 08ff:168f AuthenTec, Inc. AES1660 Fingerprint Sensor
Bus 001 Device 004: ID 8087:07da Intel Corp.
Bus 001 Device 005: ID 0489:d601 Foxconn / Hon Hai
Bus 001 Device 006: ID 12d1:14f1 Huawei Technologies Co., Ltd. Gobi 3000 HSPA+ Modem


Code: Select all
wolf@blackbird ~ $ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 238.5G  0 disk
├─sda1   8:1    0    94M  0 part /boot/efi
├─sda2   8:2    0   2.9G  0 part [SWAP]
├─sda3   8:3    0  14.3G  0 part /
├─sda4   8:4    0  19.1G  0 part
└─sda5   8:5    0 202.1G  0 part /home
sr0     11:0    1  1024M  0 rom 


Code: Select all
wolf@blackbird ~ $ sudo lshw
blackbird                 
    description: Notebook
    product: SVS13A1C5E (N/A)
    vendor: Sony Corporation
    version: C60B175L
    serial: 54324998-0001131
    width: 64 bits
    capabilities: smbios-2.7 dmi-2.7 vsyscall32
    configuration: boot=normal chassis=notebook family=VAIO sku=N/A uuid=404770C9-C833-E111-91F0-5453EDABE456
  *-core
       description: Motherboard
       product: VAIO
       vendor: Sony Corporation
       physical id: 0
       version: N/A
       serial: N/A
     *-firmware
          description: BIOS
          vendor: Insyde Corp.
          physical id: 0
          version: R0142C5
          date: 05/17/2012
          size: 128KiB
          capacity: 3008KiB
          capabilities: pnp upgrade shadowing cdboot bootselect edd int9keyboard int10video acpi usb smartbattery biosbootspecification netboot uefi
     *-cpu
          description: CPU
          product: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
          vendor: Intel Corp.
          physical id: 4
          bus info: cpu@0
          version: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
          serial: N/A
          slot: N/A
          size: 1200MHz
          capacity: 1200MHz
          width: 64 bits
          clock: 100MHz
          capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms cpufreq
          configuration: cores=2 enabledcores=2 threads=4
        *-cache:0
             description: L1 cache
             physical id: 5
             slot: L1 Cache
             size: 128KiB
             capacity: 128KiB
             capabilities: internal write-through
        *-cache:1
             description: L2 cache
             physical id: 6
             slot: L2 Cache
             size: 512KiB
             capacity: 512KiB
             capabilities: internal write-through unified
        *-cache:2
             description: L3 cache
             physical id: 7
             slot: L3 Cache
             size: 3MiB
             capacity: 3MiB
             capabilities: internal write-back unified
     *-memory
          description: System Memory
          physical id: a
          slot: System board or motherboard
          size: 8GiB
        *-bank:0
             description: SODIMM DDR3
             physical id: 0
             slot: SODIMM1
             size: 4GiB
             width: 64 bits
        *-bank:1
             description: SODIMM DDR3
             physical id: 1
             slot: SODIMM2
             size: 4GiB
             width: 64 bits
     *-pci
          description: Host bridge
          product: 3rd Gen Core processor DRAM Controller
          vendor: Intel Corporation
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 09
          width: 32 bits
          clock: 33MHz
        *-pci:0
             description: PCI bridge
             product: Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port
             vendor: Intel Corporation
             physical id: 1
             bus info: pci@0000:00:01.0
             version: 09
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm msi pciexpress normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:40 ioport:6000(size=4096) memory:b8000000-b8ffffff ioport:a0000000(size=301989888)
           *-display UNCLAIMED
                description: VGA compatible controller
                product: NVIDIA Corporation
                vendor: NVIDIA Corporation
                physical id: 0
                bus info: pci@0000:01:00.0
                version: a1
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress vga_controller bus_master cap_list
                configuration: latency=0
                resources: memory:b8000000-b8ffffff memory:a0000000-afffffff memory:b0000000-b1ffffff ioport:6000(size=128)
        *-display
             description: VGA compatible controller
             product: 3rd Gen Core processor Graphics Controller
             vendor: Intel Corporation
             physical id: 2
             bus info: pci@0000:00:02.0
             version: 09
             width: 64 bits
             clock: 33MHz
             capabilities: msi pm vga_controller bus_master cap_list rom
             configuration: driver=i915 latency=0
             resources: irq:46 memory:b9000000-b93fffff memory:c0000000-cfffffff ioport:7000(size=64)
        *-usb:0
             description: USB controller
             product: 7 Series/C210 Series Chipset Family USB xHCI Host Controller
             vendor: Intel Corporation
             physical id: 14
             bus info: pci@0000:00:14.0
             version: 04
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi xhci bus_master cap_list
             configuration: driver=xhci_hcd latency=0
             resources: irq:42 memory:b9400000-b940ffff
        *-communication
             description: Communication controller
             product: 7 Series/C210 Series Chipset Family MEI Controller #1
             vendor: Intel Corporation
             physical id: 16
             bus info: pci@0000:00:16.0
             version: 04
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi bus_master cap_list
             configuration: driver=mei latency=0
             resources: irq:44 memory:b9414000-b941400f
        *-usb:1
             description: USB controller
             product: 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2
             vendor: Intel Corporation
             physical id: 1a
             bus info: pci@0000:00:1a.0
             version: 04
             width: 32 bits
             clock: 33MHz
             capabilities: pm debug ehci bus_master cap_list
             configuration: driver=ehci-pci latency=0
             resources: irq:23 memory:b9419000-b94193ff
        *-multimedia
             description: Audio device
             product: 7 Series/C210 Series Chipset Family High Definition Audio Controller
             vendor: Intel Corporation
             physical id: 1b
             bus info: pci@0000:00:1b.0
             version: 04
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi pciexpress bus_master cap_list
             configuration: driver=snd_hda_intel latency=0
             resources: irq:47 memory:b9410000-b9413fff
        *-pci:1
             description: PCI bridge
             product: 7 Series/C210 Series Chipset Family PCI Express Root Port 1
             vendor: Intel Corporation
             physical id: 1c
             bus info: pci@0000:00:1c.0
             version: c4
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:16 ioport:5000(size=4096) memory:b7000000-b7ffffff ioport:b2000000(size=16777216)
           *-network
                description: Wireless interface
                product: Centrino Advanced-N 6235
                vendor: Intel Corporation
                physical id: 0
                bus info: pci@0000:02:00.0
                logical name: wlan0
                version: 24
                serial: c4:85:08:b9:97:4a
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
                configuration: broadcast=yes driver=iwlwifi driverversion=3.8.0-blackbird+ firmware=18.168.6.1 ip=192.168.1.199 latency=0 link=yes multicast=yes wireless=IEEE 802.11abgn
                resources: irq:45 memory:b7000000-b7001fff
        *-pci:2
             description: PCI bridge
             product: 7 Series/C210 Series Chipset Family PCI Express Root Port 2
             vendor: Intel Corporation
             physical id: 1c.1
             bus info: pci@0000:00:1c.1
             version: c4
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:17 ioport:4000(size=4096) memory:b6000000-b6ffffff ioport:b3000000(size=16777216)
           *-generic UNCLAIMED
                description: Unassigned class
                product: RTS5209 PCI Express Card Reader
                vendor: Realtek Semiconductor Co., Ltd.
                physical id: 0
                bus info: pci@0000:03:00.0
                version: 01
                width: 32 bits
                clock: 33MHz
                capabilities: pm msi pciexpress bus_master cap_list
                configuration: latency=0
                resources: memory:b6000000-b6000fff
        *-pci:3
             description: PCI bridge
             product: 7 Series/C210 Series Chipset Family PCI Express Root Port 3
             vendor: Intel Corporation
             physical id: 1c.2
             bus info: pci@0000:00:1c.2
             version: c4
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:18 ioport:3000(size=4096) memory:b5000000-b5ffffff ioport:b4000000(size=16777216)
           *-network
                description: Ethernet interface
                product: RTL8111/8168B PCI Express Gigabit Ethernet controller
                vendor: Realtek Semiconductor Co., Ltd.
                physical id: 0
                bus info: pci@0000:04:00.0
                logical name: eth0
                version: 07
                serial: 54:53:ed:ab:e4:56
                size: 1Gbit/s
                capacity: 1Gbit/s
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
                configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168e-3_0.0.4 03/27/12 ip=10.0.3.103 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
                resources: irq:43 ioport:3000(size=256) memory:b5004000-b5004fff memory:b5000000-b5003fff
        *-usb:2
             description: USB controller
             product: 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1
             vendor: Intel Corporation
             physical id: 1d
             bus info: pci@0000:00:1d.0
             version: 04
             width: 32 bits
             clock: 33MHz
             capabilities: pm debug ehci bus_master cap_list
             configuration: driver=ehci-pci latency=0
             resources: irq:20 memory:b9418000-b94183ff
        *-isa
             description: ISA bridge
             product: HM77 Express Chipset LPC Controller
             vendor: Intel Corporation
             physical id: 1f
             bus info: pci@0000:00:1f.0
             version: 04
             width: 32 bits
             clock: 33MHz
             capabilities: isa bus_master cap_list
             configuration: driver=lpc_ich latency=0
             resources: irq:0
        *-storage
             description: SATA controller
             product: 7 Series Chipset Family 6-port SATA Controller [AHCI mode]
             vendor: Intel Corporation
             physical id: 1f.2
             bus info: pci@0000:00:1f.2
             version: 04
             width: 32 bits
             clock: 66MHz
             capabilities: storage msi pm ahci_1.0 bus_master cap_list
             configuration: driver=ahci latency=0
             resources: irq:41 ioport:7088(size=8) ioport:7094(size=4) ioport:7080(size=8) ioport:7090(size=4) ioport:7060(size=32) memory:b9417000-b94177ff
        *-serial UNCLAIMED
             description: SMBus
             product: 7 Series/C210 Series Chipset Family SMBus Controller
             vendor: Intel Corporation
             physical id: 1f.3
             bus info: pci@0000:00:1f.3
             version: 04
             width: 64 bits
             clock: 33MHz
             configuration: latency=0
             resources: memory:b9415000-b94150ff ioport:7040(size=32)
     *-scsi:0
          physical id: 1
          logical name: scsi0
          capabilities: emulated
        *-disk
             description: ATA Disk
             product: SAMSUNG SSD 830
             physical id: 0.0.0
             bus info: scsi@0:0.0.0
             logical name: /dev/sda
             version: CXM0
             serial: S0XZNEAC729693
             size: 238GiB (256GB)
             capabilities: gpt-1.00 partitioned partitioned:gpt
             configuration: ansiversion=5 guid=119dab9f-59d2-46f3-b427-fae54e65abcd sectorsize=512
           *-volume:0
                description: Windows FAT volume
                vendor: mkdosfs
                physical id: 1
                bus info: scsi@0:0.0.0,1
                logical name: /dev/sda1
                logical name: /boot/efi
                version: FAT32
                serial: 959b-0a33
                size: 93MiB
                capacity: 93MiB
                capabilities: boot fat initialized
                configuration: FATs=2 filesystem=fat mount.fstype=vfat mount.options=rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro state=mounted
           *-volume:1
                description: Linux swap volume
                vendor: Linux
                physical id: 2
                bus info: scsi@0:0.0.0,2
                logical name: /dev/sda2
                version: 1
                serial: 56366464-8c8e-4e20-b29a-63d057982f38
                size: 2929MiB
                capacity: 2929MiB
                capabilities: nofs swap initialized
                configuration: filesystem=swap pagesize=4095
           *-volume:2
                description: EXT4 volume
                vendor: Linux
                physical id: 3
                bus info: scsi@0:0.0.0,3
                logical name: /dev/sda3
                logical name: /
                version: 1.0
                serial: 61206932-db8a-4560-aed3-77310a6793c6
                size: 14GiB
                capabilities: journaled extended_attributes large_files huge_files dir_nlink recover extents ext4 ext2 initialized
                configuration: created=2013-02-25 16:24:50 filesystem=ext4 lastmountpoint=/ modified=2013-03-15 13:48:50 mount.fstype=ext4 mount.options=rw,relatime,errors=remount-ro,data=ordered mounted=2013-03-15 13:48:50 state=mounted
           *-volume:3
                description: EXT4 volume
                vendor: Linux
                physical id: 4
                bus info: scsi@0:0.0.0,4
                logical name: /dev/sda4
                version: 1.0
                serial: 30e1e7bf-28ad-4f74-bab4-bb00d6ff2411
                size: 19GiB
                capabilities: journaled extended_attributes large_files huge_files dir_nlink extents ext4 ext2 initialized
                configuration: created=2013-02-22 23:47:01 filesystem=ext4 lastmountpoint=/ modified=2013-02-25 16:25:13 mounted=2013-03-04 16:08:11 state=clean
           *-volume:4
                description: EXT4 volume
                vendor: Linux
                physical id: 5
                bus info: scsi@0:0.0.0,5
                logical name: /dev/sda5
                logical name: /home
                version: 1.0
                serial: 6bab8ba6-e13e-4db9-9dfe-c3a59d34ab67
                size: 202GiB
                capabilities: journaled extended_attributes large_files huge_files dir_nlink recover extents ext4 ext2 initialized
                configuration: created=2012-09-12 16:55:51 filesystem=ext4 lastmountpoint=/home modified=2013-03-15 13:48:50 mount.fstype=ext4 mount.options=rw,relatime,data=ordered mounted=2013-03-15 13:48:50 state=mounted
     *-scsi:1
          physical id: 2
          logical name: scsi4
          capabilities: emulated
        *-cdrom
             description: DVD-RAM writer
             product: DVD-RAM UJ8A7AS
             vendor: MATSHITA
             physical id: 0.0.0
             bus info: scsi@4:0.0.0
             logical name: /dev/cdrom
             logical name: /dev/cdrw
             logical name: /dev/dvd
             logical name: /dev/dvdrw
             logical name: /dev/sr0
             version: 1.00
             capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
             configuration: ansiversion=5 status=open


These are the commands I used to upgrade to kernel 3.8

Code: Select all
1.   Have proper software installed
sudo apt-get update
sudo apt-get install build-essential fakeroot kernel-package ncurses-dev libncurses5-dev module-assistant git-core

2.   GIT Latest Kernel
cd /media/daxm/backup/kernel
git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-stable

3. Configure the kernel
cd linux-stable/
make mrproper
make localmodconfig

5. Time to compile
make-kpkg clean
CONCURRENCY_LEVEL=`getconf _NPROCESSORS_ONLN` fakeroot make-kpkg --initrd --append-to-version=-blackbird kernel_image kernel_headers --uc --us

6. Install
cd ..
sudo dpkg -i *.deb
sudo update-grub

7. Reboot to new kernel then:
sudo reboot

cd /lib/modules/$(uname -r)
sudo rm build
sudo rm source
sudo ln -s /usr/src/linux-headers-$(uname -r) build
sudo ln -s /usr/src/linux-headers-$(uname -r) source
sudo m-a update

8. Fix missing version.h file.
sudo cp /usr/include/linux/version.h /usr/src/linux-headers-$(uname -r)/include/
sudo cp /usr/include/linux/version.h /usr/src/linux-headers-$(uname -r)/include/linux/


Do you know how to fix this?
Last edited by cyberwolf on Fri Mar 15, 2013 10:07 am, edited 1 time in total.
cyberwolf
Level 1
Level 1
 
Posts: 5
Joined: Mon Feb 25, 2013 11:32 am

Linux Mint is funded by ads and donations.
 

Re: mint 14 kernel 3.8 usb stick not recognized

Postby viking777 on Fri Mar 15, 2013 9:46 am

Run

Code: Select all
tail -f /var/log/syslog


Then plug in the usb stick.

If you get output then it is recognised. If you don't, then it isn't.

If you do get output then it will tell you what the disk is called (something like /dev/sdc, /dev/sdc1 perhaps) you can then mount it manually with:

Code: Select all
sudo mount /dev/sdc1 /media


If you mount it manually you will also have to unmount it manually before removing it.

Code: Select all
sudo umount /dev/sdc1
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Image
User avatar
viking777
Level 14
Level 14
 
Posts: 5153
Joined: Mon Dec 01, 2008 11:21 am

Re: mint 14 kernel 3.8 usb stick not recognized

Postby cyberwolf on Fri Mar 15, 2013 10:07 am

No it's not recognized, I solved by upgrading to kernel 3.8.3 using the generic kernel:
Code: Select all
cd /tmp
wget http://dl.dropbox.com/u/47950494/upubuntu.com/kernel-3.8.3 -O kernel-3.8.3
chmod +x kernel-3.8.3
sudo sh kernel-3.8.3
sudo reboot


and then I fixed vmware:
Code: Select all
cd /lib/modules/$(uname -r)
sudo rm build
sudo rm source
sudo ln -s /usr/src/linux-headers-$(uname -r) build
sudo ln -s /usr/src/linux-headers-$(uname -r) source
sudo m-a update

sudo cp /usr/include/linux/version.h /usr/src/linux-headers-$(uname -r)/include/
sudo cp /usr/include/linux/version.h /usr/src/linux-headers-$(uname -r)/include/linux/
cyberwolf
Level 1
Level 1
 
Posts: 5
Joined: Mon Feb 25, 2013 11:32 am


Return to Software & Applications

Who is online

Users browsing this forum: mdevour and 20 guests