LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-13-2005, 09:03 PM   #1
Lord Zoltar
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 200

Rep: Reputation: 30
Unhappy still more USB flashdrive problems...


Still having trouble with the USB flashdrive thing. I got the biggest problems sorted out already, so I can now mount the drive and read the files on it, but I'm still having a few problems.
(older thread)
1) I cannot use the USB flash drive with all the USB ports. It seems only the ones on the back of the case are working. The two in front cause errors (see the other thread for details). Also, I've noticed that with one of the USB ports (the one right beside the mouse port), plugging the USB flashdrive causes the whole system to lock up completely. mouse, keyboard, everything! have to force a reboot to fix it. I am at a total loss to explain this, since I can use my USB printer with the two USB ports on the front of my case. Whatever, at leat I can access the drive through one port.
2) I cannot write to the USB flashdrive. I have this:
Code:
/dev/hda5        swap             swap        defaults         0   0
/dev/hda3        /                ext3        defaults         1   1
/dev/cdrom       /mnt/cdrom       iso9660     noauto,owner,ro,user  0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner,user     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
/dev/sda1       /mnt/USBflashdrive      auto    noauto,owner,ro,user    0     0



proc             /proc            proc        defaults         0   0
in my /etc/fstab file. the line for the USBflashdrive is just copied from what I did for the floppy drive. I figured that since they're both read-write removable media, it should be similar, just change the mount folder.

I also have
Code:
# disk devices
hd*:root:disk:660
sd*:root:disk:666
dasd*:root:disk:660
ataraid*:root:disk:660
loop*:root:disk:660
md*:root:disk:660
ide/*/*/*/*/*:root:disk:660
discs/*/*:root:disk:660
loop/*:root:disk:660
md/*:root:disk:660
in my udev.permissions file. so /dev/sd* should have read-write access for all, and it does. the problem is with /mnt/USBflash, which does NOT have write access for anyone, and the problem is:
I can't chmod write access onto it!
Code:
/mnt# chmod a+w USBflashdrive
chmod: changing permissions of `USBflashdrive': Read-only file system
Why is the USBflashdrive a read-only filesystem? OSX and WinXP were both able to read and write to it with no problems.
 
Old 01-13-2005, 09:14 PM   #2
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
shouldnt your line:
/dev/sda1 /mnt/USBflashdrive auto noauto,owner,ro,user 0 0
be:
/dev/sda1 /mnt/USBflashdrive auto noauto,owner,rw,user 0 0

edit: i used an arrow to point out the change i made, but it didnt work as planned ;p... but notice the "rw" not "ro"

so that sets "read/write" permission.. not "read-only"?

Last edited by nadroj; 01-13-2005 at 09:15 PM.
 
Old 01-13-2005, 09:23 PM   #3
Lord Zoltar
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 200

Original Poster
Rep: Reputation: 30
/blushes...
yes, that SHOULD be rw... ok i think i copied from the cdrom line instead. no more of this 3a.m. system tweeking...
 
Old 01-13-2005, 09:27 PM   #4
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
so your set now?
time to help ME now!
 
Old 01-13-2005, 09:57 PM   #5
Lord Zoltar
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 200

Original Poster
Rep: Reputation: 30
lol! I still haven't solved the mysterious USB ports that crash/don't work...
 
Old 01-21-2005, 09:17 AM   #6
drlaz
LQ Newbie
 
Registered: Jan 2004
Location: SF Bay Area, CA
Distribution: Fedora 10 and 11; Snow Leopard :-)
Posts: 18

Rep: Reputation: 0
wild guess on usb ports

A power issue? The USB printer has its own juice. Try some other unpowreed USB devices.
 
Old 01-21-2005, 05:11 PM   #7
Lord Zoltar
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 200

Original Poster
Rep: Reputation: 30
I have no other unpowered USB device.
 
Old 01-21-2005, 09:36 PM   #8
ValidiusMaximus
Member
 
Registered: Mar 2004
Distribution: Debian Sarge
Posts: 169

Rep: Reputation: 30
install ACPI and make sure the kernel has ACPI support
 
Old 01-22-2005, 12:38 PM   #9
Lord Zoltar
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 200

Original Poster
Rep: Reputation: 30
Code:
modprobe acpi
FATAL: Error inserting acpi_cpufreq (/lib/modules/2.6.10/kernel/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.ko): No such device
hmm....
acpi-cpufreq.ko... is that related to the acpi option for cpu frequency scaling? If so, is it experimental? with the message "if uncertain, say no"? If so, that's probably why I didn't compile that option. I tend to compile any kernel option/module that looks useful, except the ones that say they are experimental/potentialy harmful. oh well... hey, is there anyway to compile that module without a whole new kernel recompile?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can not mount usb flashdrive walterbyrd Debian 14 03-18-2006 12:53 PM
Problems mounting USB flashdrive gustavderdrache Linux - Hardware 6 03-18-2006 12:49 PM
USB flashdrive problems endfx Linux - Hardware 11 01-01-2005 05:40 PM
USB FlashDrive -- Again kadalz Linux - Newbie 1 10-12-2003 11:20 AM
USB Flashdrive disto cli_man General 7 02-23-2003 04:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration