Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 17
Ok I got my flash drive to work but I have a few question 1.Why does dmesg | grep -i "SCSI device" show my drive as "SCSI device sde: 2001888 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2006
    Posts
    33

    Question about using usb pen drive


    Ok I got my flash drive to work but I have a few question

    1.Why does dmesg | grep -i "SCSI device" show my drive as
    "SCSI device sde: 2001888 512-byte hdwr sectors (1025 MB)" but in fdisk -l /dev/sde show it as

    Disk /dev/sde: 1024 MB, 1024966656 bytes 32 heads, 63 sectors/track, 993 cylinders
    Units = cylinders of 2016 * 512 = 1032192 bytes

    Device Boot Start End Blocks Id System
    /dev/sde1 1 992 999813+ 6 FAT16

    which say's sde1

    2. Shouldn't the light on my drive go off when I unmount?
    This is my fstab
    Code:
    /dev/sde1 /home/specialist125/Desktop/flash auto auto,user,exec 0 0



    3. Is their a way to set this up where it auto mounts on plug in instead of going to the drive and selecting mount. I have used knoopix and I mounted on plug in


    Ok I thought It was working properly, well it was but stoped. Yesterday I could mout and unmount the drive then I restared my computer and this is when I realize
    1. If I plug in the flash drive before boot up I doesnt make my computer hang like before but I can't mount the drive after log in? why?

    2. Like I said yesterday the dive would mount and unmout but the light on the flash drive would not shut off. After rebooting without putting the flash disk in the dive I can log in and mount but it will not let me unmount the drive now and if I take it out I can't remount it at a later time without shutting down and restarting.Why?

    How can I resolve these problems?

    I'm new to linux and I'm learning my way and keeping a log of problems I run into so I like to know why things work the way they do instead of just doing stuff.
    Last edited by loft306; 03-17-2006 at 08:23 AM.

  2. #2
    Linux Guru AlexK's Avatar
    Join Date
    Feb 2005
    Location
    Earth
    Posts
    3,379
    ok, to stop it from hanging on boot, change this line in fstab:
    /dev/sde1 /home/specialist125/Desktop/flash auto auto,user,exec 0 0
    to
    /dev/sde1 /home/specialist125/Desktop/flash auto noauto,user,exec 0 0

    as for the light going off, it doesn't happen for any pen drive that i've used in linux.

    which distro are you using? if you install something like submount or have KDE, then get HAL running for the automount to work.
    Life is complex, it has a real part and an imaginary part.

  3. #3
    Just Joined!
    Join Date
    Mar 2006
    Posts
    33
    I am using Debian stable version "kde"
    So what should I do then ? because only being able to mount it once or not being able to unmount it is a big problem.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru AlexK's Avatar
    Join Date
    Feb 2005
    Location
    Earth
    Posts
    3,379
    well if you change fstab like i suggested above, it should work as long as you plug it into the same port.

    for hal or submount, search in debian's apt repos, it should be available (I haven't used debian, so I can't say for sure).
    Life is complex, it has a real part and an imaginary part.

  6. #5
    Just Joined!
    Join Date
    Mar 2006
    Posts
    33
    I already have hal installed I try and change the fstab file

  7. #6
    Just Joined!
    Join Date
    Mar 2006
    Posts
    33
    ok I can mount the drive fine but unmounting it give me this

    umount: /home/specialist125/Desktop/flash: device is busy
    umount: /home/specialist125/Desktop/flash: device is busy
    Please check that the disk is entered correctly.

    All I did was mount it I did not try to access any file off of it at all.

  8. #7
    Linux Guru AlexK's Avatar
    Join Date
    Feb 2005
    Location
    Earth
    Posts
    3,379
    try waiting a bit after it is mounted before issueing commands, you could always try the umount -f option to unmount the drive.

    Since you said you were using debian, are you using the 2.4 or 2.6 kernel?
    Life is complex, it has a real part and an imaginary part.

  9. #8
    Just Joined!
    Join Date
    Mar 2006
    Posts
    33
    Well I didnt try to unmount it from the console so make I'll try that. I am using kernel 2.6.8

  10. #9
    Just Joined!
    Join Date
    Mar 2006
    Posts
    33
    I tried the umount -f option and even as root I am unable to umount it say the device is busy.

  11. #10
    Linux Guru AlexK's Avatar
    Join Date
    Feb 2005
    Location
    Earth
    Posts
    3,379
    that really is strange. does dmesg throw any light as to what is going on once you have mounted the drive?
    Life is complex, it has a real part and an imaginary part.

Page 1 of 2 1 2 LastLast

Posting Permissions

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