Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Automount doesn't work; KDE 3.5.5 [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Boinky
Apprentice
Apprentice


Joined: 03 Dec 2004
Posts: 256
Location: Almere

PostPosted: Mon Feb 05, 2007 5:18 pm    Post subject: Automount doesn't work; KDE 3.5.5 [solved] Reply with quote

Problem:

- after restarting KDE 3.5.5 (USE="hal dbus") I can plug in a USB stick and it will appear in media:/ (not on the desktop however, although dbus and hald are running). Clicking the icon in Konqueror (media:/) makes the icon appear on the desktop as well. After unplugging the device (right click, safely remove) the icon disappears from the desktop but remains visible in media:/.

- plugging in the device again and clicking the icon in media:/ produces the error:

Quote:

mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so


Code:

dmesg |tail
sdc: Mode Sense: 0b 00 00 08
sdc: assuming drive cache: write through
SCSI device sdc: 130144 512-byte hdwr sectors (67 MB)
sdc: Write Protect is off
sdc: Mode Sense: 0b 00 00 08
sdc: assuming drive cache: write through
 sdc: sdc1
sd 15:0:0:0: Attached scsi removable disk sdc
sd 15:0:0:0: Attached scsi generic sg2 type 0
usb-storage: device scan complete


Code:

fdisk -l /dev/sdc

Disk /dev/sdc: 66 MB, 66633728 bytes
2 heads, 32 sectors/track, 2033 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1        2034       65040    b  W95 FAT32


/etc/fstab

Quote:

...
/dev/sdb2 /mnt/ipod vfat defaults,noauto,users,sync,noatime,dmask=0077,fmask=0133 0 0
/dev/sda1 /mnt/usb1 vfat defaults,noauto,users,sync,noatime,dmask=0077,fmask=0133 0 0
/dev/sdb1 /mnt/usb2 vfat defaults,noauto,users,sync,noatime,dmask=0077,fmask=0133 0 0
/dev/sdc1 /mnt/usb3 vfat defaults,noauto,users,sync,noatime,dmask=0077,fmask=0133 0 0
/dev/sdc /mnt/usb4 vfat defaults,noauto,users,sync,noatime,dmask=0077,fmask=0133 0 0
/dev/sdb /mnt/usb5 vfat defaults,noauto,users,sync,noatime,dmask=0077,fmask=0133 0 0
...


.config

Quote:

...
CONFIG_VFAT_FS=y
...


Code:

# rc-update -s
...
                dbus |      default
                hald |      default
...


/etc/group

Quote:

...
plugdev:x:1005:haldaemon,me
...


Any ideas?

Cheers


Last edited by Boinky on Tue Feb 06, 2007 3:36 pm; edited 1 time in total
Back to top
View user's profile Send private message
jstead1
Guru
Guru


Joined: 01 Aug 2003
Posts: 427
Location: Oswego, NY where the snow is deep

PostPosted: Tue Feb 06, 2007 2:29 am    Post subject: Reply with quote

Just a couple things from my experience (screwups)

Almost sounds like the icon only shows up on the desktop if it's mounted.
Check your Settings:Desktop:Behavior Device Icons tab to see if the appropriate boxes are checked.

I have found that having lines in my fstab for mounting removable media confuses either kde or myself, so I don't use them. kde seems to handle it just fine.

Also remember to close all windows and programs accessing the removable media and choose the safely remove option before removing.

I have found ivman to interfere with kde's automounting. I got rid of it.
I do have pmount. Kde did not seem to unmount devices without it.
_________________
jim
Back to top
View user's profile Send private message
Boinky
Apprentice
Apprentice


Joined: 03 Dec 2004
Posts: 256
Location: Almere

PostPosted: Tue Feb 06, 2007 7:02 am    Post subject: Here we go Reply with quote

Quote:

Almost sounds like the icon only shows up on the desktop if it's mounted.
Check your Settings:Desktop:Behavior Device Icons tab to see if the appropriate boxes are checked.


I've already done that.

Quote:

I have found that having lines in my fstab for mounting removable media confuses either kde or myself, so I don't use them. kde seems to handle it just fine.


My experience is just the opposite, until now :-) ... But I will try this. It doesn't work and now I have an iPod icon in my media:/ although I just plugged in a USB stick. Nothing on my desktop though.

I am using a laptop running Gentoo that only has hald and hotplug loaded and there automount works fine without even adding my user to /etc/group under plugdev. I do still have entries in fstab for removable devices on that laptop.

Quote:

Also remember to close all windows and programs accessing the removable media and choose the safely remove option before removing.


This is not the first time that I am using a UNIX like OS, you know :-).

Quote:

I have found ivman to interfere with kde's automounting. I got rid of it.
I do have pmount. Kde did not seem to unmount devices without it.


I did not mention ivman because I am not using it.

Thank you for your ideas. What do I do now?

Cheers
Back to top
View user's profile Send private message
jstead1
Guru
Guru


Joined: 01 Aug 2003
Posts: 427
Location: Oswego, NY where the snow is deep

PostPosted: Tue Feb 06, 2007 1:47 pm    Post subject: Reply with quote

Do you have pmount installed?

You could try adding the codepage to your fstab, something like codepage=437
_________________
jim
Back to top
View user's profile Send private message
Boinky
Apprentice
Apprentice


Joined: 03 Dec 2004
Posts: 256
Location: Almere

PostPosted: Tue Feb 06, 2007 3:38 pm    Post subject: Ahum ... Reply with quote

I just left everything as it was because that always worked and I just rebooted (something I rarely do) and you might guess what happened: "it" works ...

Cheers
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum