Jump to content

automount USB devices under mdv2007


TimP
 Share

Recommended Posts

Have had lots of problem with automounting of USB devices.

Decrease level of security, reboot, and just insert pendrive,

icon should come up in kde, and also konqueror system://media

 

Maybe also disable any line in /etc/fstab with /dev/sdx /mnt/somewhere

Sometimes it creates confusion.

Or otherwise add one, but then do not expect it to show in system://media

 

I cannot figure out at higher level why the icon comes but no

mounting occurs.

Link to comment
Share on other sites

At which sec-level are you right now? Because I'm configuring this machine as a workstation. So I think I am already at the lowest securitiy level...

 

But reading that you had some issues too with USB devices yourself... I conclude that they messed up USB-device-handling in 2007... Why couldn't they l;eave it just like in 2006? ;)

 

I really like mdk....but I don't understand this.... :(

 

greetz...

Link to comment
Share on other sites

Hello Tim,

 

I have been having a bit of fun with ab SD card (see my recent posts) and I though I would have alook at your post as our problems are not dissimilar. This is a long shot for your problem but I have found in my meanderings through the linux learning curve that Konqueror is a very newbie friendly peice of software. Have you tried mounting your device through the device manager in the Konqueror Extra Tool Bar? Open Komqueror from Personal Files from the KDE menu. Then > Settings > Toolbars > Show Extra Toolbar > click on the first icon on the left of the Extra Tool Bar and you should have something like that shown in the attcahed screen shot. If you right click on your device there is an option to mount the device from there. Hope this helps - its worth a try :D

 

post-11354-1167736337_thumb.jpg

Link to comment
Share on other sites

Hello Tim,

 

I have been having a bit of fun with ab SD card (see my recent posts) and I though I would have alook at your post as our problems are not dissimilar. This is a long shot for your problem but I have found in my meanderings through the linux learning curve that Konqueror is a very newbie friendly peice of software. Have you tried mounting your device through the device manager in the Konqueror Extra Tool Bar? Open Komqueror from Personal Files from the KDE menu. Then > Settings > Toolbars > Show Extra Toolbar > click on the first icon on the left of the Extra Tool Bar and you should have something like that shown in the attcahed screen shot. If you right click on your device there is an option to mount the device from there. Hope this helps - its worth a try :D

 

post-11354-1167736337_thumb.jpg

 

I see what you mean... But my problem starts before this... because it isn't even in my devices listing... It's not being recognised as a 'block-device'.... so because of that I can't mount it anywhere...

And in 2006 it does.... so I wonder what they changed... :)

Link to comment
Share on other sites

okay...here are the results:

 

tail of the syslog reports:

 

...

kernel: usb 1-2: new full speed USB device using uhci_hcd and address 14

kernel: usb 1-2: device not accepting address 14, error -71

kernel: usb 1-2: new full speed USB device using uhci_hcd and address 15

kernel: usb 1-2: configuration #1 chosen from 1 choice

kernel: scsi37 : SCSI emulation for USB Mass Storage devices

kernel: usb-storage: device found at 15

kernel: usb-storage: waiting for device to settle before scanning

kernel: usb 1-2: USB disconnect, address 15

...

 

and it keeps on trying withe same lines and error....

So what does error 71 mean ? And how can I solve it? :)

 

and like this ofcourse the fstab and mount stay empty on the sda because there is nothing to mount...

 

greetz

Edited by TimP
Link to comment
Share on other sites

Do you see anything with the command lsusb run as root from a console?

 

Have you tried this in Gnome instead of KDE? My usb devices no longer automount under KDE, but work fine under Gnome (I haven't checked to see if I get any errors).

 

Also make sure that she has her BIOS set to "PnP OS = No"

Link to comment
Share on other sites

Do you see anything with the command lsusb run as root from a console?

 

Have you tried this in Gnome instead of KDE? My usb devices no longer automount under KDE, but work fine under Gnome (I haven't checked to see if I get any errors).

 

Also make sure that she has her BIOS set to "PnP OS = No"

 

 

No, there is no device listed when I run the lsusb-command... only the standard reply of the hub and ports...

 

Hmmmm.... I still have to try it under Gnome... I will try that tonight....

and will take a look at the BIOS aswell....

 

heheeheh...come to think of it... kinda strange that we should have to work with Gnome instead of KDE because of this...

 

greetz

Link to comment
Share on other sites

UPDATE!

 

This is the syslog on the flawed 2007 system running KDE 3.5 (as shown above)

...

kernel: usb 1-2: new full speed USB device using uhci_hcd and address 14

kernel: usb 1-2: device not accepting address 14, error -71

kernel: usb 1-2: new full speed USB device using uhci_hcd and address 15

kernel: usb 1-2: configuration #1 chosen from 1 choice

kernel: scsi37 : SCSI emulation for USB Mass Storage devices

kernel: usb-storage: device found at 15

kernel: usb-storage: waiting for device to settle before scanning

kernel: usb 1-2: USB disconnect, address 15

...

 

 

And this is the syslog on the 2006 system running KDE 3.4

...

kernel: usb 2-1: new full speed USB device using uhci_hcd and address 2

kernel: usb 2-1: device not accepting address 2, error -71

kernel: usb 2-1: new full speed USB device using uhci_hcd and address 3

kernel: SCSI subsystem initialized

kernel: Initializing USB Mass Storage driver...

kernel: scsi0 : SCSI emulation for USB Mass Storage devices

kernel: usb-storage: device found at 3

kernel: usb-storage: waiting for device to settle before scanning

kernel: usbcore: registered new driver usb-storage

kernel: USB Mass Storage support registered.

udev[4652]: run_program: exec of program failed

hald[3364]: Timed out waiting for hotplug event 951. Rebasing to 981

kernel: Vendor: AVID Model: NAND Flash Rev: 1.00

kernel: Type: Direct-Access ANSI SCSI revision: 00

kernel: usb-storage: device scan complete

kernel: SCSI device sda: 489472 2048-byte hdwr sectors (1002 MB)

kernel: sda: Write Protect is off

kernel: sda: Mode Sense: 03 00 00 00

kernel: sda: assuming drive cache: write through

kernel: SCSI device sda: 489472 2048-byte hdwr sectors (1002 MB)

kernel: sda: Write Protect is off

kernel: sda: Mode Sense: 03 00 00 00

kernel: sda: assuming drive cache: write through

kernel: /dev/scsi/host0/bus0/target0/lun0: unable to read partition table

kernel: Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0

pam_console.dev[4701]: Restoring console permissions for /dev/sda /dev/discs/disc1/disc /dev/scsi/host0/bus0/target0/lun0/disc

fstab-sync[4711]: added mount point /mnt/removable for /dev/sda

...

 

I switched off PnP BIOS (which was on; thanx to Steve :) ) but unfortunately it made no difference...

Also switching to Gnome didn't solve anything...

 

Can anyone tell me what is the difference between both systems? It looks like the SCSI-subsystem of the kernel is flawed or something...

 

greetz and thank you for thinking along :D

Link to comment
Share on other sites

no idea, sorry, looks serious problem due to kernel

Try a vanilla newer kernel (or cooker kernel)?

 

2006 using hotplug

2007 not using hotplug, so difference is huge

 

Maybe google on error -71

 

@TimP

If no one has an idea an you think of dowgrading too 2006, try upgruding too 2007.1 or cooker first because cooker I believe has been mainly bugfixes since 2007. And run etc-update too...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...