You are not logged in.

#1 2009-03-31 03:01:10

russianwizard
Member
From: Louisville KY
Registered: 2009-03-21
Posts: 39

usb drive woes

There are 2 problems I exsperience with usb drives on my arch install. 1st off ,when I mount a flash drive (fat16 /32) it is read only to everyone except root. Second off, sometimes I will get input output errors and files will start to corrupt.


SONY VAIO VGN-FS630/W, 1.73Ghz Pentium M, 512mb RAM (Intel 915GM) (Ubuntu 9.04, Arch & BT3)

Offline

#2 2009-03-31 06:17:29

yvonney
Member
Registered: 2008-06-11
Posts: 671

Re: usb drive woes

for me the problem with usb external is due to motherboard mostly i believe.
have you tried other systems?


http://bbs.archlinux.org/viewtopic.php?id=68664

Offline

#3 2009-03-31 06:44:50

MindTooth
Member
From: Norway
Registered: 2008-11-11
Posts: 331

Re: usb drive woes

I experience the same problem with my Toshiba laptop. I get IO errors all the time.

Birger smile

Offline

#4 2009-03-31 08:41:30

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: usb drive woes

For the ownership/permissions issue, use a fstab entry, or pmount, or hal-based automounting.

Offline

#5 2009-03-31 15:13:51

Hrod beraht
Member
Registered: 2008-09-30
Posts: 186

Re: usb drive woes

russianwizard wrote:

...when I mount a flash drive (fat16 /32) it is read only to everyone except root.

When you mount as root, root becomes the default owner. If you want a different owner or group, specify it at mount using options (-o) uid (user ID, a.k.a. owner) and gid (group ID). For example:

mount /dev/sda1 /media/usb -o uid=russianwizard,gid=users

Bob

Offline

#6 2009-04-01 02:50:52

russianwizard
Member
From: Louisville KY
Registered: 2009-03-21
Posts: 39

Re: usb drive woes

Is there any way to solve i/o errors without a restart? Also how do I get usb devices to auto mount?


SONY VAIO VGN-FS630/W, 1.73Ghz Pentium M, 512mb RAM (Intel 915GM) (Ubuntu 9.04, Arch & BT3)

Offline

#7 2009-04-01 08:08:36

dunz0r
Member
From: Sweden
Registered: 2009-03-30
Posts: 258
Website

Re: usb drive woes

I'd suggest ivman  for that


RTFM or GTFO
hax0r.se

Offline

#8 2009-04-04 01:24:02

yvonney
Member
Registered: 2008-06-11
Posts: 671

Re: usb drive woes

I'm going to add a modern pci usb card. I've tried a lot of things. Something about ICH4 and the loading of ehci_usb and/or uhci_usb and their order etc. My motherboard is old enough that with everything else i am learning it seems a unique waste of time to attempt to puzzle this out. Rare that i would say that it's not worth it. There just little to be gained for the future.

That said I'd love a fix.

On another note i learned SO many tips on hot to get old machines to boot by altering the grub menu list.
really amazing that was with new kernel, getting old old manhines to work.

Last edited by yvonney (2009-04-04 01:24:36)

Offline

#9 2009-04-05 06:46:32

russianwizard
Member
From: Louisville KY
Registered: 2009-03-21
Posts: 39

Re: usb drive woes

heres another oddity I discovered. If I automount the device in thunar (under root) it mounts fine. But the rest of the system cannot access the drives. My permissions are really screwed up >.< I added my user to the proper groups and I still can't access / use usb devices properly. Here's my group file:

root::0:root
bin::1:root,bin,daemon
daemon::2:root,bin,daemon
sys::3:root,bin,michael
adm::4:root,daemon
tty::5:michael
disk::6:root
lp::7:daemon
mem::8:
kmem::9:
wheel::10:root,michael
ftp::11:
mail::12:
uucp::14:
log::19:root,michael
locate::21:
smmsp::25:
http::33:
games::50:
network:x:90:michael
video:x:91:michael
audio::92:michael
optical::93:hal,michael
floppy:x:94:hal,michael
storage:x:95:hal,michael
scanner:x:96:
power:x:98:
nobody::99:
users::100:michael
dbus:x:81:michael
policykit:x:101:
hal:x:82:hal,michael
avahi:x:84:
vboxusers:x:108:michael
usbusers:x:109:michael
ntp:x:87:

michael is my normal user account. (has sudo priveledges)

Last edited by russianwizard (2009-04-05 06:47:07)


SONY VAIO VGN-FS630/W, 1.73Ghz Pentium M, 512mb RAM (Intel 915GM) (Ubuntu 9.04, Arch & BT3)

Offline

Board footer

Powered by FluxBB