usb flash key mounts in knoppix live cd but not in mandriva 2010
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
usb flash key mounts in knoppix live cd but not in mandriva 2010
I am wondering if anyone has been through this problem. I cannot mount a USB Flash Key in Mandriva 2010.
I've tried with entering text into fstab and mtab. However it only mounts with a Live CD. It mounted successfully with Konoppix v5.1 Live CD without problems giving access and allowing writing.
please do not alter the /etc/fstab yet. boot the machine then open a terminal and type dmesg | grep usb
see where the kernel loaded it. then tell me what desk top. and what kde version if kde or kde4 version.
next you can also open a terminal assume root type fdisk -l check it out.
if kde4 Kmenu>system>system info
did you give the user plugdev permission
I wanted to see why with a live CD either Mandriva 2009/2010 and Knoppix v5.1 how the fstab is shown. Mandriva 2010 which is installed on my computer isn't recognising and mounting the flash key. If with a Knoppix or Mandriva Live CD the key is recognised and mounted the key must be OK. (It mounts in WinXP.) I have formatted it twice as fat with WinXP.
In Mandriva I have already ticked plugdev permissions as group member, I also am member of a group called flash and usb_storage also.
The following in Mandriva 2010 Root:
[root@localhost ~]# fdisk -l
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x3c207243
Device Boot Start End Blocks Id System
/dev/sda1 * 1 6726 54026563+ 7 HPFS/NTFS
/dev/sda2 6727 9729 24121597+ f W95 Ext'd (LBA)
/dev/sda5 6727 9467 22017051 83 Linux
/dev/sda6 9468 9729 2104484+ 82 Linux swap / Solaris
Disk /dev/sdb: 122.9 GB 122941242880 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x149b5ae
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 13342 107169583+ 7 HPFS/NTFS
/dev/sdb2 13343 14946 12884130+ f W95 Ext'd (LBA)
/dev/sdb5 13343 14946 12884098+ 7 HPFS/NTFS
[root@localhost ~]#
open a terminal and type dmesg | grep usb or just type dmesg and see where sdc or sdd etc is being loaded boot up mandivia then plug in the usb then type dmesg
this will show it being loaded and given a sdx place. this will also show if it failed always umount device before unplug.
usb 2-4: USB disconnect, address 5
usb 2-4: new high speed USB device using ehci_hcd and address 6
usb 2-4 New USB device found, id Vendor=1307, idProduct=0165
usb 2-4: Product: USB Mass Storage Device
usb 2-4: Manufacturer USBest
usb 2-4: SerialNumber:08052832b611bc
usb 2-4: configuration #1 chosen from 1 choice
usb_storage: 'ms' invalid for parameter 'swi_tru_install'
usb_storage: 'ms' invalid for parameter 'swi_tru_install'
usb_storage: 'ms' invalid for parameter 'swi_tru_install'
usb 2-4: USB disconnect, address 6
martian source 10.0.0.1 from 10.0.0.1, on dev eth0
llheader: 00:50:da4f:36:14:00:1b:9e:a7:4c:cb:8:00
zc3xx: probe 2wr ov vga 0x0000
zc3xx: probe 2wr ov vga 0x0000
usb 2-4: new high speed USB device using ehci_hcd and address 7
usb 2-4: New USB device found, id Vendor=1043, idProduct=8012
usb 2-4: Product: Flash Disk
usb 2-4: Manufacturer Generic
usb 2-4: configuration #1 chosen from 1 choice
usb_storage: 'ms' invalid for parameter 'swi_tru_install'
usb_storage: 'ms' invalid for parameter 'swi_tru_install'
[root@localhost ~]#
Last edited by moshebagelfresser; 07-25-2010 at 03:17 PM.
Not sure if this will help.
I think the last Mandriva I had was 2009.1, and if memory serves me correctly I allowed users to mount external drives through MCC as it was not allowed by default, which in turn modified the /etc/fstab file. Somewhere via "hardware", I think.
I could go through a ton of stuff to help you but being part of the mandriva team just to let you know that was a bug that was worked on. One question to you did you update your system after you installed it. Because the bug is a hal.conf problem that was addressed with 2009 and 2010. Update your system.
the other way to short term fix is to.
Quote:
I restart the HAL-deamon (/etc/init.d/haldaemon restart)
HAL deamon seems to run before alright (stop OK, start OK), but after restart
everything works alright.
So there seems to be something wrong with HAL-Start during boot.
Please let me know if this helps other wise we will do it the raw hard way and just make it mount.
I actually got it to work! Many thanks to you I did a combination of things and it appears to have worked! Yes I did update it did that automatically.
I did # modprobe.d preload -r ehci_hcd
=======
(Torre 64 writes that this should be kept well away from the kernel as it clashes.
I had the same symtoms, and eventually solved the problem by removing the ehci_hcd module: "rmmod ehci_hcd". Afterwards the USB stick and USB drive worked fine.
It seems ehci_hcd is automatically activated although the related hardware is not present. The best thing would be if the module did not install itself with the wrong hardware, however as secondary solutions it would have been nice to disable ehci_hcd either by giving kernel boot parameters or a setting in modprobe.conf. Anyone know how to do this?
As a brute force solution I have moved ehci_hcd.ko away from /lib/modules/2.6.7-1.494.2.2/kernel/drivers/usb/host/ so that it is hidden from the kernel, however I would prefer a more elegant solution...
--
Tore http://www.linuxquestions.org/questi...device-206358/ )
======
mkdir /dev/flash
mkdir /dev/sda0
mkdir /dev/sda1
mkdir /dev/sdb1
mkdir /mnt/flash
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.