Author Topic: Problem with Device Notifier  (Read 743 times)

Offline Maurice

  • Hero Member
  • *****
  • Posts: 1128
Problem with Device Notifier
« on: December 05, 2012, 09:05:18 PM »
I have a 4gb usb drive, containing backup stuff, which is not recognised by Device Notifier. I get the message No device available. But it does show up in Gparted.

How can I fix Device Notifier and/or get access to these backups?

Thanks for your help
Maurice
PcLinuxos 2012.02, Kde, dual booted with XP on custom built Desktop, Intel Core 2 Quad  cpu @ 2.4ghz, DG33FB mb, 4gb ram, Nvidia 8600 (512mb), Samsung (500gb) sata

"War does not determine who is right only who is left." Bertrand Russell

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12518
Re: Problem with Device Notifier
« Reply #1 on: December 05, 2012, 09:54:03 PM »
I have a 4gb usb drive, containing backup stuff, which is not recognised by Device Notifier. I get the message No device available. But it does show up in Gparted.

How can I fix Device Notifier and/or get access to these backups?

Thanks for your help
Maurice

Typically the device needs to be in a format the device notifier can recognize.

Thanks to everyone who donates. You keep the servers running.

Offline Maurice

  • Hero Member
  • *****
  • Posts: 1128
Re: Problem with Device Notifier
« Reply #2 on: December 05, 2012, 10:28:26 PM »

Typically the device needs to be in a format the device notifier can recognize.


Thanks Texstar. It's formatted to fat32 if that's what you mean However it has been recognised up to a few days ago.

I should perhaps say that, in an effort to reduce the size of Minime to do a clone, I did use both Bleachbits, cleared all the /tmp directories and caches including /var/cache.
PcLinuxos 2012.02, Kde, dual booted with XP on custom built Desktop, Intel Core 2 Quad  cpu @ 2.4ghz, DG33FB mb, 4gb ram, Nvidia 8600 (512mb), Samsung (500gb) sata

"War does not determine who is right only who is left." Bertrand Russell

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: Problem with Device Notifier
« Reply #3 on: December 05, 2012, 10:29:42 PM »
After originally procuring the disk have you ever formatted it under Linux? I have had similar problems after playing around with filesystems / partitions on USB flash drives and at last had to boot into Windows and use disk management there to fix it.

Plug in your flash drive and run these commands on a terminal, then post their output here. (Use CODE and /CODE tags to cover that output while posting here)
> fdisk -l
> mount
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: Problem with Device Notifier
« Reply #4 on: December 05, 2012, 10:31:24 PM »
Sorry. Looks like you have posted a reply after I hit POST.

Try booting with the flash drive plugged in.
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline Maurice

  • Hero Member
  • *****
  • Posts: 1128
Re: Problem with Device Notifier
« Reply #5 on: December 05, 2012, 10:55:19 PM »
After originally procuring the disk have you ever formatted it under Linux? I have had similar problems after playing around with filesystems / partitions on USB flash drives and at last had to boot into Windows and use disk management there to fix it.

Plug in your flash drive and run these commands on a terminal, then post their output here. (Use CODE and /CODE tags to cover that output while posting here)
> fdisk -l
> mount


Yes - I've messed around with it like that but it's still recognised in Gparted

Code: [Select]
[root@localhost maurice]# fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0007671a

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63   286712054   143355996    7  HPFS/NTFS
/dev/sda2   *   286713856   513054719   113170432   83  Linux
/dev/sda3       513054720   742131711   114538496   83  Linux
/dev/sda4       742131712   976773119   117320704   83  Linux

Disk /dev/sdb: 4025 MB, 4025810432 bytes
103 heads, 61 sectors/track, 1251 cylinders, total 7862911 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000c97f3

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            2048     7862271     3930112    b  W95 FAT32
[root@localhost maurice]# mount
/dev/sda2 on / type ext4 (rw)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

PcLinuxos 2012.02, Kde, dual booted with XP on custom built Desktop, Intel Core 2 Quad  cpu @ 2.4ghz, DG33FB mb, 4gb ram, Nvidia 8600 (512mb), Samsung (500gb) sata

"War does not determine who is right only who is left." Bertrand Russell

Offline Maurice

  • Hero Member
  • *****
  • Posts: 1128
Re: Problem with Device Notifier
« Reply #6 on: December 05, 2012, 10:58:09 PM »
Sorry. Looks like you have posted a reply after I hit POST.

Try booting with the flash drive plugged in.

I've done that many times but my bios is set to not boot usb first so it just boots normally into Minime.
PcLinuxos 2012.02, Kde, dual booted with XP on custom built Desktop, Intel Core 2 Quad  cpu @ 2.4ghz, DG33FB mb, 4gb ram, Nvidia 8600 (512mb), Samsung (500gb) sata

"War does not determine who is right only who is left." Bertrand Russell

Online Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10646
  • MLUs Forever!
Re: Problem with Device Notifier
« Reply #7 on: December 06, 2012, 06:06:59 AM »
I have a 4gb usb drive, containing backup stuff, which is not recognised by Device Notifier. I get the message No device available. But it does show up in Gparted.

How can I fix Device Notifier and/or get access to these backups?

Thanks for your help
Maurice

Do you have an opportunity to plug the USB disk into another PC running Linux?  Is it correctly seen there?


Some PCs require the boot flag to be set on the partition before they are correctly recognised.
You could try adding the boot flag to the partition from within Gparted to see if that would have any effect.

BTW ....  the suggestion from sling-shot (IIUC) to boot the PC with the USB disk plugged in was not to boot from the USB but to see if it got properly recognised after the boot.  ;)



MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Online muungwana

  • Hero Member
  • *****
  • Posts: 6237
Re: Problem with Device Notifier
« Reply #8 on: December 06, 2012, 06:15:45 AM »

if it is plugged in,unplug it, wait for 4 seconds,plug it in,wait for 4 seconds and then run the following command and paste its output

dmesg | tail -n 20
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline Maurice

  • Hero Member
  • *****
  • Posts: 1128
Re: Problem with Device Notifier
« Reply #9 on: December 06, 2012, 03:54:47 PM »

if it is plugged in,unplug it, wait for 4 seconds,plug it in,wait for 4 seconds and then run the following command and paste its output

dmesg | tail -n 20

[maurice@localhost ~]$ dmesg | tail -n 20
usb 8-2: new high-speed USB device number 3 using ehci_hcd
usb 8-2: New USB device found, idVendor=0781, idProduct=5151
usb 8-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 8-2: Product: Cruzer Micro
usb 8-2: Manufacturer: SanDisk
usb 8-2: SerialNumber: 1100601B33019AF0
scsi7 : usb-storage 8-2:1.0
scsi 7:0:0:0: Direct-Access     SanDisk  Cruzer Micro     8.01 PQ: 0 ANSI: 0 CCS
sd 7:0:0:0: Attached scsi generic sg2 type 0
sd 7:0:0:0: [sdb] 7862911 512-byte logical blocks: (4.02 GB/3.74 GiB)
sd 7:0:0:0: [sdb] Write Protect is off
sd 7:0:0:0: [sdb] Mode Sense: 45 00 00 08
sd 7:0:0:0: [sdb] No Caching mode page present
sd 7:0:0:0: [sdb] Assuming drive cache: write through
sd 7:0:0:0: [sdb] No Caching mode page present
sd 7:0:0:0: [sdb] Assuming drive cache: write through
 sdb: sdb1
sd 7:0:0:0: [sdb] No Caching mode page present
sd 7:0:0:0: [sdb] Assuming drive cache: write through
sd 7:0:0:0: [sdb] Attached SCSI removable disk
PcLinuxos 2012.02, Kde, dual booted with XP on custom built Desktop, Intel Core 2 Quad  cpu @ 2.4ghz, DG33FB mb, 4gb ram, Nvidia 8600 (512mb), Samsung (500gb) sata

"War does not determine who is right only who is left." Bertrand Russell

Offline Maurice

  • Hero Member
  • *****
  • Posts: 1128
Re: Problem with Device Notifier
« Reply #10 on: December 06, 2012, 04:09:06 PM »


Do you have an opportunity to plug the USB disk into another PC running Linux?  Is it correctly seen there?

Some PCs require the boot flag to be set on the partition before they are correctly recognised.
You could try adding the boot flag to the partition from within Gparted to see if that would have any effect.

BTW ....  the suggestion from sling-shot (IIUC) to boot the PC with the USB disk plugged in was not to boot from the USB but to see if it got properly recognised after the boot.  ;)

[/quote]

Yes, it shows up on my wife's machine which is similar to my setup.

I just set the boot flag, removed and replaced the usb, but still not seen by Notifier..

BTW - I realised that after a while. ;D
PcLinuxos 2012.02, Kde, dual booted with XP on custom built Desktop, Intel Core 2 Quad  cpu @ 2.4ghz, DG33FB mb, 4gb ram, Nvidia 8600 (512mb), Samsung (500gb) sata

"War does not determine who is right only who is left." Bertrand Russell

Online muungwana

  • Hero Member
  • *****
  • Posts: 6237
Re: Problem with Device Notifier
« Reply #11 on: December 06, 2012, 04:11:51 PM »

if it is plugged in,unplug it, wait for 4 seconds,plug it in,wait for 4 seconds and then run the following command and paste its output

dmesg | tail -n 20

[maurice@localhost ~]$ dmesg | tail -n 20
usb 8-2: new high-speed USB device number 3 using ehci_hcd
usb 8-2: New USB device found, idVendor=0781, idProduct=5151
usb 8-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 8-2: Product: Cruzer Micro
usb 8-2: Manufacturer: SanDisk
usb 8-2: SerialNumber: 1100601B33019AF0
scsi7 : usb-storage 8-2:1.0
scsi 7:0:0:0: Direct-Access     SanDisk  Cruzer Micro     8.01 PQ: 0 ANSI: 0 CCS
sd 7:0:0:0: Attached scsi generic sg2 type 0
sd 7:0:0:0: [sdb] 7862911 512-byte logical blocks: (4.02 GB/3.74 GiB)
sd 7:0:0:0: [sdb] Write Protect is off
sd 7:0:0:0: [sdb] Mode Sense: 45 00 00 08
sd 7:0:0:0: [sdb] No Caching mode page present
sd 7:0:0:0: [sdb] Assuming drive cache: write through
sd 7:0:0:0: [sdb] No Caching mode page present
sd 7:0:0:0: [sdb] Assuming drive cache: write through
 sdb: sdb1
sd 7:0:0:0: [sdb] No Caching mode page present
sd 7:0:0:0: [sdb] Assuming drive cache: write through
sd 7:0:0:0: [sdb] Attached SCSI removable disk


There appear to be nothing wrong with it.Some people have reported problems with device notifier.Your problem could a different manifestation of the same underlying problem that is currently not known as i far as i know.

Does it work as expected on other mass storage devices you have?

you can try mount it from the terminal as root to see if it works

open the terminal,log in as root and run these commands to mount it

Quote
mkdir sdb1
mount /dev/sdb1 sdb1

when you are done accessing it,run these commands to unmount it
Quote
umount /dev/sdb1
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline Maurice

  • Hero Member
  • *****
  • Posts: 1128
Re: Problem with Device Notifier
« Reply #12 on: December 06, 2012, 05:11:56 PM »

There appear to be nothing wrong with it.Some people have reported problems with device notifier.Your problem could a different manifestation of the same underlying problem that is currently not known as i far as i know.

Does it work as expected on other mass storage devices you have?

you can try mount it from the terminal as root to see if it works

open the terminal,log in as root and run these commands to mount it


mkdir sdb1
mount /dev/sdb1 sdb1

when you are done accessing it,run these commands to unmount it

umount /dev/sdb1

[root@localhost maurice]# mkdir sdb1
mkdir: cannot create directory `sdb1': File exists
[root@localhost maurice]# mount /dev/sdb1 sdb1
mount: special device /dev/sdb1 does not exist


Yes, I've done quite a bit of searching and noticed lots of problems reported in other distros..

Don't have any other mass storage devices.
PcLinuxos 2012.02, Kde, dual booted with XP on custom built Desktop, Intel Core 2 Quad  cpu @ 2.4ghz, DG33FB mb, 4gb ram, Nvidia 8600 (512mb), Samsung (500gb) sata

"War does not determine who is right only who is left." Bertrand Russell

Online muungwana

  • Hero Member
  • *****
  • Posts: 6237
Re: Problem with Device Notifier
« Reply #13 on: December 06, 2012, 05:16:24 PM »

what does below command give you now?

dmesg | tail -n 20

The device was seeing when you plugged it in,you tried to mount a file system in it and it is now reported as not being present.

That suggests a hardware problem, an error occurs when an attempt is made to access it and it disconnects.

The problem could be on the device itself or the wires and connectors btw the device and the computer.
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline Maurice

  • Hero Member
  • *****
  • Posts: 1128
Re: Problem with Device Notifier
« Reply #14 on: December 06, 2012, 06:46:39 PM »

what does below command give you now?

dmesg | tail -n 20

The device was seeing when you plugged it in,you tried to mount a file system in it and it is now reported as not being present.

That suggests a hardware problem, an error occurs when an attempt is made to access it and it disconnects.

The problem could be on the device itself or the wires and connectors btw the device and the computer.

Code: [Select]
[root@localhost maurice]# dmesg | tail -n 20
usb 4-1: not running at top speed; connect to a high speed hub
usb 4-1: New USB device found, idVendor=0781, idProduct=5151
usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 4-1: Product: Cruzer Micro
usb 4-1: Manufacturer: SanDisk
usb 4-1: SerialNumber: 1100601B33019AF0
scsi7 : usb-storage 4-1:1.0
scsi 7:0:0:0: Direct-Access     SanDisk  Cruzer Micro     8.01 PQ: 0 ANSI: 0 CCS
sd 7:0:0:0: Attached scsi generic sg2 type 0
sd 7:0:0:0: [sdb] 7862911 512-byte logical blocks: (4.02 GB/3.74 GiB)
sd 7:0:0:0: [sdb] Write Protect is off
sd 7:0:0:0: [sdb] Mode Sense: 45 00 00 08
sd 7:0:0:0: [sdb] No Caching mode page present
sd 7:0:0:0: [sdb] Assuming drive cache: write through
sd 7:0:0:0: [sdb] No Caching mode page present
sd 7:0:0:0: [sdb] Assuming drive cache: write through
 sdb: sdb1
sd 7:0:0:0: [sdb] No Caching mode page present
sd 7:0:0:0: [sdb] Assuming drive cache: write through
sd 7:0:0:0: [sdb] Attached SCSI removable disk

As a matter of interest I just now booted up my Minime livecd and the usb showed up in the Device Notifier which would seem to indicate not a hw problem?
PcLinuxos 2012.02, Kde, dual booted with XP on custom built Desktop, Intel Core 2 Quad  cpu @ 2.4ghz, DG33FB mb, 4gb ram, Nvidia 8600 (512mb), Samsung (500gb) sata

"War does not determine who is right only who is left." Bertrand Russell