Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20

Thread: pcmanfm won't mount drives after udev upgrade

  1. #11
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    198
    It does seem like it is policy error, but unfortunately it is not. All my permissions are correct, I spent all night not sleeping and trying to figure it out with no luck. It seems like the knoppix udev rules are not compatible with the new udev and have to be rewritten, but for this I will have to acquaint myself a bit more with udev and udev rules creation

  2. #12
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    198
    Another possibility is the new udev has some kind of incompatibility with 2.6.31.6 in Knoppix 6.2 or its headers. I can not be certain unless someone else using 6.2 can confirm this problem with udev upgrade

  3. #13
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    A number of posts and we ( or rather I ) almost forget about what is your problem. It's not very obvious to me. You could mount usb flash. Just can't mount non-usb-flash. But what other non-usb-flash you are talking about ? Do you mean you can't mount things like usb hard disk and CDROM ?

  4. #14
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    198
    1 fstab does not get regenerated after udev upgrade
    2 If enter manually mount points in fstab they do not get read
    3 I can not mount any hard drives - I did not test it with usb sticks
    The udev rule in /etc/udev/knoppix-post.rules is the one that starts rebuidfstab at boot and generates mount points which in turn pcmanfm uses with build in mount command to to mount drives. So obviously this rule has not bean read and executed at boot after udev upgrade.
    I hope this makes it more clear.

  5. #15
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    Ok, new info. I did not realise that knoppix has been supporting such features. After what you have posted, with some checking/reading, I finally know what you are talking about.

    I think it's very likely what you say are all true but all these are no more important with pcmanfm2. Maybe not immediately, but soon ( as I am using it now, compiled from git source ). With pcmanfm2 and the right version of associated libraries, it's not necessary to scan the disk partitions using knoppix code (scanpartitions and rebuildfstab ) and therefore no need to have udev to execute those knoppix rules and generate /etc/fstab. Pcmanfm2 probably does not even bother with /etc/fstab. Pcmanfm2 has an option to show internal volumes or hide internal volumes. When internal volumes are shown, of course you will then be able to manage them accordingly using the GUI. At the same time, it manages dynamic ( usb ) volumes too.

    So in the mean time, maybe you can hold off your udev upgrade. Just wait until the right version of pcmanfm2 hits the street.

  6. #16
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    198
    Thanks a lot for your research kl522. I am glad that you acknowledged the issue and I am not just paranoid I already reverted back to the old udev and will do exactly what you said - wait for pcmanfm2 to mature a little bit more and make the switch

  7. #17
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    198
    I finally managed to upgrade udev without breaking the system. If anyone is about to make this step - please read this post.
    I upgraded all 3 packages: libudev,libgudev and udev to version 160-1
    To make the system work I had to edit line 109 of /etc/init.d/knoppix-autoconfig. I commented out the original line:
    /sbin/udevd --daemon && \
    and added below it:
    /etc/init.d/udev start 2>/dev/null >/dev/null

    So far there are no side effects. FSTAB is recreated properly at every boot. pcmanfm mounts all drives-hard drives and usb
    kl522 claims that upgrading udev does not break his system without the modification of knoppix-autoconfig, but unfortunately this is not the case here.
    According to me the upgraded udevd fails to start in daemon mode using the original command included in knoppix-autoconfig. If any ill effects show up I will post them here

  8. #18
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    Quote Originally Posted by mecho View Post
    FSTAB is recreated properly at every boot. pcmanfm mounts all drives-hard drives and usb
    Related to the other thread I posted, I would be interested to know if you add a device after you booted into Xwindows, and as soon as it drive object appears on the pcmanfm, you click on it to see if it is mountable.

    Example, if you boot from a flash drive, there will be /media/sdaX and /media/sdbX stuff created since boot ( sdaX for internal harddisk and sdbX for the knoppix boot image). Then you add yet another usb thumb drive, by right udev should create a /media/sdcX for you to mount the usb. But 'rebuildfstab' is doing it in the background. I have seen on my computer cases where the drive object appears in pcmanfm, but yet the directory is not created fast enough. I am interested to know if it happens on other computer.

  9. #19
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    198
    I tested with another flash drive - it took about 10 seconds for the drive to appear in fstab and pcmanfm as /media/sdc1 and is mountable as soon as it appears
    Last edited by mecho; 08-06-2010 at 04:25 PM.

  10. #20
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    Good that it works for you.

    In any case, since my environment is fairly different from a standard knoppix now, I have removed both 'hal', 'gvfs' from my system, as they are not needed by the newer pcmanfm. I also have removed /etc/udev/knoppix-post.rules from my system, as it seems to intervene than to help.

    I guess that's what Linux is all about. There are just too many ways to accomplish something. Happy knoppix-ing.

Page 2 of 2 FirstFirst 12

Posting Permissions

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


Supermicro Server Tower Xeon BOOTS E5-2620 v4 2.10GHz 64GB RAM NO HDD NO OS picture

Supermicro Server Tower Xeon BOOTS E5-2620 v4 2.10GHz 64GB RAM NO HDD NO OS

$199.99



1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE

$297.00



HP PROLIANT MICROSERVER MICRO SERVER HSTNS-5151 T4 Used. picture

HP PROLIANT MICROSERVER MICRO SERVER HSTNS-5151 T4 Used.

$45.00



HP ProLiant Xeon E3-1220L V2 16 GB RAM 2.30 GHz MicroServer Gen8 NO DRIVES picture

HP ProLiant Xeon E3-1220L V2 16 GB RAM 2.30 GHz MicroServer Gen8 NO DRIVES

$174.99



HPE PROLIANT MICROSERVER GEN10 PLUS MICRO TOWER SERVER - USED picture

HPE PROLIANT MICROSERVER GEN10 PLUS MICRO TOWER SERVER - USED

$550.00



SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount picture

SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount

$202.49



HPE Proliant Microserver Gen10 X3421 Perf AMS,  P03698-S01, 16GB Ram picture

HPE Proliant Microserver Gen10 X3421 Perf AMS, P03698-S01, 16GB Ram

$299.00



HP ProLiant HSTNS-5151 Micro Server 8GB RAM No Drives/Key/Caddies *READ* picture

HP ProLiant HSTNS-5151 Micro Server 8GB RAM No Drives/Key/Caddies *READ*

$94.99



2U 12 Bay SAS3 SuperMicro Server 6028U-TR4T+ W/ X10DRU-i+ Barebone 12 Caddy RAIL picture

2U 12 Bay SAS3 SuperMicro Server 6028U-TR4T+ W/ X10DRU-i+ Barebone 12 Caddy RAIL

$299.00



SUPERMICRO CSE-512 AMD Opteron Processor 6128, 32GB DDR3 RAM NO HDD picture

SUPERMICRO CSE-512 AMD Opteron Processor 6128, 32GB DDR3 RAM NO HDD

$90.00