LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 05-15-2008, 10:13 AM   #1
RVF16
Member
 
Registered: May 2008
Distribution: Centos 5.9
Posts: 53

Rep: Reputation: 15
USB storage stick not accepting filenames written in other language than english


Hello to all.

I have recently compiled the Linux.org 2.6.25.3 kernel on my Fedora fc6 system on my Dell Inspiron E1505 laptop.

Problem is that i cannot create/copy any file/directory with name written in my native language (Hellenic). The message that appears says that the creation/copy is not possible. If i use english characters for the name there is no problem.

This problem doesn't appear when i boot with the fedora rpm kernels.

Has anybody else experienced anything like this?
Thank you in advance.
Regards

Last edited by RVF16; 05-15-2008 at 02:12 PM.
 
Old 05-16-2008, 05:00 AM   #2
clvic
Member
 
Registered: Feb 2008
Location: Rome, Italy
Distribution: OpenSuSE 11.x, vectorlinux, slax, Sabayon
Posts: 206
Blog Entries: 2

Rep: Reputation: 44
I'm curious about this... maybe you missed to check the options accessible in the category filesystem, Native Language Support? Have you tried loading the proper module by hand?
 
Old 05-16-2008, 04:35 PM   #3
RVF16
Member
 
Registered: May 2008
Distribution: Centos 5.9
Posts: 53

Original Poster
Rep: Reputation: 15
Thank you clvic for your reply.
Unfortunately i have everything installed regarding Native Language Support.
I did load nls_utf8 nls_cp737 nls_iso8859-7 but nothing changed.
I have this problem only with the usb memory stick.
I don't have this problem with the hard disk or the dvd device.

Thanks anyway
 
Old 05-17-2008, 07:05 AM   #4
clvic
Member
 
Registered: Feb 2008
Location: Rome, Italy
Distribution: OpenSuSE 11.x, vectorlinux, slax, Sabayon
Posts: 206
Blog Entries: 2

Rep: Reputation: 44
I'm sorry I can't help you more... you said you don't have this problem with HDD and DVDs, please note that NLS is not needed by all filesystems, anyway generic suggestions: check the system log, and try recompiling the kernel with the standard .config provided by fedora, if that works you should restart from there.
 
Old 05-17-2008, 11:17 AM   #5
lambchops468
Member
 
Registered: Mar 2007
Location: New Jersey, USA
Distribution: Archlinux
Posts: 165

Rep: Reputation: 30
maybe you need to mount the drive with utf8?
or maybe you need to set locale=xxx when you mount?

Last edited by lambchops468; 05-17-2008 at 11:18 AM.
 
Old 05-17-2008, 12:42 PM   #6
RVF16
Member
 
Registered: May 2008
Distribution: Centos 5.9
Posts: 53

Original Poster
Rep: Reputation: 15
Hi and thanks for the replies.

clvic using "tail -f /var/log/messages" i ended up with this relevant info when connecting the usb stick :

May 17 19:20:52 RVF16INSP kernel: [ 190.801780] usb 5-5: USB disconnect, address 3
May 17 19:21:34 RVF16INSP kernel: [ 232.315072] usb 5-5: new high speed USB device using ehci_hcd and address 4
May 17 19:21:34 RVF16INSP kernel: [ 232.448844] usb 5-5: configuration #1 chosen from 1 choice
May 17 19:21:34 RVF16INSP kernel: [ 232.454567] usb 5-5: New USB device found, idVendor=13fe, idProduct=1d00
May 17 19:21:34 RVF16INSP kernel: [ 232.454580] usb 5-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
May 17 19:21:34 RVF16INSP kernel: [ 232.454586] usb 5-5: Product: DataTraveler 2.0
May 17 19:21:34 RVF16INSP kernel: [ 232.454591] usb 5-5: Manufacturer: Kingston
May 17 19:21:34 RVF16INSP kernel: [ 232.454595] usb 5-5: SerialNumber: 5B73198A817B
May 17 19:21:34 RVF16INSP kernel: [ 232.560550] Initializing USB Mass Storage driver...
May 17 19:21:34 RVF16INSP kernel: [ 232.562304] scsi2 : SCSI emulation for USB Mass Storage devices
May 17 19:21:34 RVF16INSP kernel: [ 232.562570] usbcore: registered new interface driver usb-storage
May 17 19:21:34 RVF16INSP kernel: [ 232.562575] USB Mass Storage support registered.
May 17 19:21:39 RVF16INSP kernel: [ 241.983745] scsi 2:0:0:0: Direct-Access Kingston DataTraveler 2.0 PMAP PQ: 0 ANSI: 0 CCS
May 17 19:21:39 RVF16INSP kernel: [ 238.044634] sd 2:0:0:0: [sdb] 2015232 512-byte hardware sectors (1032 MB)
May 17 19:21:39 RVF16INSP kernel: [ 238.045188] sd 2:0:0:0: [sdb] Write Protect is off
May 17 19:21:39 RVF16INSP kernel: [ 238.045205] sd 2:0:0:0: [sdb] Assuming drive cache: write through
May 17 19:21:39 RVF16INSP kernel: [ 238.048062] sd 2:0:0:0: [sdb] 2015232 512-byte hardware sectors (1032 MB)
May 17 19:21:39 RVF16INSP kernel: [ 238.048664] sd 2:0:0:0: [sdb] Write Protect is off
May 17 19:21:39 RVF16INSP kernel: [ 238.048680] sd 2:0:0:0: [sdb] Assuming drive cache: write through
May 17 19:21:39 RVF16INSP kernel: [ 238.048687] sdb: sdb1
May 17 19:21:39 RVF16INSP kernel: [ 238.049373] sdb: p1 exceeds device capacity
May 17 19:21:39 RVF16INSP kernel: [ 238.049523] sd 2:0:0:0: [sdb] Attached SCSI removable disk
May 17 19:21:39 RVF16INSP kernel: [ 238.049782] sd 2:0:0:0: Attached scsi generic sg2 type 0
May 17 19:21:40 RVF16INSP kernel: [ 243.308115] attempt to access beyond end of device
May 17 19:21:40 RVF16INSP kernel: [ 243.308130] sdb: rw=0, want=2015784, limit=2015232
May 17 19:21:40 RVF16INSP kernel: [ 243.308137] Buffer I/O error on device sdb1, logical block 251968
May 17 19:21:40 RVF16INSP kernel: [ 243.308507] attempt to access beyond end of device
May 17 19:21:40 RVF16INSP kernel: [ 243.308517] sdb: rw=0, want=2015784, limit=2015232
May 17 19:21:40 RVF16INSP kernel: [ 243.308523] Buffer I/O error on device sdb1, logical block 251968
May 17 19:21:40 RVF16INSP kernel: [ 243.309094] attempt to access beyond end of device
May 17 19:21:40 RVF16INSP kernel: [ 243.309104] sdb: rw=0, want=2016000, limit=2015232
May 17 19:21:40 RVF16INSP kernel: [ 243.309110] Buffer I/O error on device sdb1, logical block 251995
May 17 19:21:40 RVF16INSP kernel: [ 243.309203] attempt to access beyond end of device
May 17 19:21:40 RVF16INSP kernel: [ 243.309212] sdb: rw=0, want=2016000, limit=2015232
May 17 19:21:40 RVF16INSP kernel: [ 243.309218] Buffer I/O error on device sdb1, logical block 251995
May 17 19:21:40 RVF16INSP kernel: [ 243.309310] attempt to access beyond end of device
May 17 19:21:40 RVF16INSP kernel: [ 243.309319] sdb: rw=0, want=2016000, limit=2015232
May 17 19:21:40 RVF16INSP kernel: [ 243.309325] Buffer I/O error on device sdb1, logical block 251995
May 17 19:21:40 RVF16INSP kernel: [ 243.309384] attempt to access beyond end of device
May 17 19:21:40 RVF16INSP kernel: [ 243.309391] sdb: rw=0, want=2016000, limit=2015232
May 17 19:21:40 RVF16INSP kernel: [ 243.309396] Buffer I/O error on device sdb1, logical block 251995
May 17 19:21:40 RVF16INSP kernel: [ 243.309406] attempt to access beyond end of device
May 17 19:21:40 RVF16INSP kernel: [ 243.309412] sdb: rw=0, want=2016000, limit=2015232
May 17 19:21:40 RVF16INSP kernel: [ 243.309417] Buffer I/O error on device sdb1, logical block 251995
May 17 19:21:40 RVF16INSP kernel: [ 243.309427] attempt to access beyond end of device
May 17 19:21:40 RVF16INSP kernel: [ 243.309433] sdb: rw=0, want=2016000, limit=2015232
May 17 19:21:40 RVF16INSP kernel: [ 243.309438] Buffer I/O error on device sdb1, logical block 251995
May 17 19:21:40 RVF16INSP kernel: [ 243.309452] attempt to access beyond end of device
May 17 19:21:40 RVF16INSP kernel: [ 243.309457] sdb: rw=0, want=2015944, limit=2015232
May 17 19:21:40 RVF16INSP kernel: [ 243.309463] Buffer I/O error on device sdb1, logical block 251988
May 17 19:21:40 RVF16INSP kernel: [ 243.309475] attempt to access beyond end of device
May 17 19:21:40 RVF16INSP kernel: [ 243.309481] sdb: rw=0, want=2015992, limit=2015232
May 17 19:21:40 RVF16INSP kernel: [ 243.309486] Buffer I/O error on device sdb1, logical block 251994
May 17 19:21:40 RVF16INSP kernel: [ 243.309497] attempt to access beyond end of device
May 17 19:21:40 RVF16INSP kernel: [ 243.309502] sdb: rw=0, want=2016000, limit=2015232
May 17 19:21:40 RVF16INSP kernel: [ 243.309512] attempt to access beyond end of device
May 17 19:21:40 RVF16INSP kernel: [ 243.309518] sdb: rw=0, want=2016000, limit=2015232
May 17 19:21:41 RVF16INSP kernel: [ 239.125913] attempt to access beyond end of device
May 17 19:21:41 RVF16INSP kernel: [ 239.125929] sdb: rw=0, want=2015784, limit=2015232
May 17 19:21:41 RVF16INSP kernel: [ 239.125938] attempt to access beyond end of device
May 17 19:21:41 RVF16INSP kernel: [ 239.125946] sdb: rw=0, want=2015784, limit=2015232
May 17 19:21:41 RVF16INSP kernel: [ 239.125975] attempt to access beyond end of device
May 17 19:21:41 RVF16INSP kernel: [ 239.125983] sdb: rw=0, want=2016000, limit=2015232
May 17 19:21:41 RVF16INSP kernel: [ 239.125992] attempt to access beyond end of device
May 17 19:21:41 RVF16INSP kernel: [ 239.126000] sdb: rw=0, want=2016000, limit=2015232
May 17 19:21:41 RVF16INSP kernel: [ 239.126018] attempt to access beyond end of device
May 17 19:21:41 RVF16INSP kernel: [ 239.126026] sdb: rw=0, want=2016000, limit=2015232
May 17 19:21:41 RVF16INSP kernel: [ 239.126041] attempt to access beyond end of device
May 17 19:21:41 RVF16INSP kernel: [ 239.126049] sdb: rw=0, want=2016000, limit=2015232
May 17 19:21:41 RVF16INSP kernel: [ 239.126066] attempt to access beyond end of device
May 17 19:21:41 RVF16INSP kernel: [ 239.126074] sdb: rw=0, want=2016000, limit=2015232
May 17 19:21:41 RVF16INSP kernel: [ 239.126090] attempt to access beyond end of device
May 17 19:21:41 RVF16INSP kernel: [ 239.126098] sdb: rw=0, want=2016000, limit=2015232
May 17 19:21:41 RVF16INSP kernel: [ 239.126118] attempt to access beyond end of device
May 17 19:21:41 RVF16INSP kernel: [ 239.126126] sdb: rw=0, want=2015944, limit=2015232
May 17 19:21:41 RVF16INSP kernel: [ 239.126146] attempt to access beyond end of device
May 17 19:21:41 RVF16INSP kernel: [ 239.126154] sdb: rw=0, want=2015992, limit=2015232
May 17 19:21:41 RVF16INSP kernel: [ 239.126172] attempt to access beyond end of device
May 17 19:21:41 RVF16INSP kernel: [ 239.126180] sdb: rw=0, want=2016000, limit=2015232
May 17 19:21:41 RVF16INSP kernel: [ 239.126197] attempt to access beyond end of device
May 17 19:21:41 RVF16INSP kernel: [ 239.126204] sdb: rw=0, want=2016000, limit=2015232
May 17 19:21:45 RVF16INSP ntpd[4410]: synchronized to LOCAL(0), stratum 10
May 17 19:21:45 RVF16INSP ntpd[4410]: kernel time sync enabled 0001

I have already attempted to use the fedora .config to compile several linux.org kernels (new and older ones) without success. They all produce the same problem.

When i try to create/copy files/directories and the problem arises nothing is logged in /var/log/messages

lambchops468 how can i mount the stick with utf8 and where and how do i set locale?

Thanks.

Last edited by RVF16; 05-17-2008 at 12:49 PM.
 
Old 05-17-2008, 01:41 PM   #7
lambchops468
Member
 
Registered: Mar 2007
Location: New Jersey, USA
Distribution: Archlinux
Posts: 165

Rep: Reputation: 30
I revise my statement and decided that my advice probably won't help you, but if you wanted to try mounting utf8

mount /dev/sdb [target dir] -o utf8

I am not sure how to do locale :P
 
Old 05-17-2008, 09:59 PM   #8
RVF16
Member
 
Registered: May 2008
Distribution: Centos 5.9
Posts: 53

Original Poster
Rep: Reputation: 15
Excellent lambchops468, thank you, that was it.

I used this command in terminal "mount -t vfat /dev/sdb1 /media/USBstick -o utf8" and it worked.
Is there something i do wrong in kernel configuration and end up with this problem?
Can i make the system automatically use utf8 for the usb sticks?
How do i pass the utf8 option in fstab ? (/dev/sdb1 /media/USBstick auto rw,noauto,user,async 0 0)

Again thanks a lot. I had this problem for a long time.
Regards.
 
Old 05-18-2008, 06:04 PM   #9
lambchops468
Member
 
Registered: Mar 2007
Location: New Jersey, USA
Distribution: Archlinux
Posts: 165

Rep: Reputation: 30
Quote:
Originally Posted by RVF16 View Post
Is there something i do wrong in kernel configuration and end up with this problem?
I don't know what would cause this problem. (maybe its a fedora patch...)

Quote:
Originally Posted by RVF16 View Post
Can i make the system automatically use utf8 for the usb sticks?
This has something to do with hal...
**edit**
ok, I looked around a little, and it seems fedora uses gnome to tell hal what to do.

http://209.85.215.104/search?q=cache...lnk&cd=2&gl=us
I used google cache because fedroa's forum is not up.

Quote:
Originally Posted by RVF16 View Post
How do i pass the utf8 option in fstab ? (/dev/sdb1 /media/USBstick auto rw,noauto,user,async 0 0)
/dev/sdb1 /media/USBstick auto rw,noauto,user,async,utf8 0 0

Last edited by lambchops468; 05-18-2008 at 06:16 PM.
 
Old 05-19-2008, 03:12 PM   #10
RVF16
Member
 
Registered: May 2008
Distribution: Centos 5.9
Posts: 53

Original Poster
Rep: Reputation: 15
lambchops468 you are the best.
The thread you mentioned didn't solve the problem but gave me an idea of how to search for this and ended up to the following one :

http://www.linuxquestions.org/questi...ludev-578452/?

In the end the only thing i had to do was run in terminal :
gnome-mount --write-settings --fstype auto --mount-options utf8 --device /dev/sdb

This applies to Fedora fc6 on a Dell inspiron E1505 laptop with a custom compiled Linux.org 2.6.25.3 kernel with NLS fully installed but should work in all cases there is a gnome graphical environment till today.

Thank you.
Regards.
 
Old 05-19-2008, 03:32 PM   #11
RVF16
Member
 
Registered: May 2008
Distribution: Centos 5.9
Posts: 53

Original Poster
Rep: Reputation: 15
Having said that i noticed in gconf-editor that a new section called "drive" was written in system->storage which contained a section specific to the usb stick i used so i am not sure if this would work for another usb stick.

So i erased that section (can be done either in gconf-editor or in terminal with "gnome-mount --erase-settings --device /dev/sdb") and in gconf-editor edited the section /->system->storage->default_options->vfat and added in "mount_options" key the value "utf8".
End of story.
 
  


Reply

Tags
memory, stick, usb


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
USB stick - hal-storage-removable-mount refused serge_shp Linux - Software 1 07-01-2007 07:53 PM
sendmail.cf mail rule written language lasantha Linux - Networking 4 02-27-2007 01:10 AM
removable usb storage drive (memory stick) christel Linux - Newbie 7 11-17-2006 04:18 AM
What language was the unreal tournament installer written in? Onemessedupjedi Programming 2 07-05-2004 02:48 AM
USB-Stick/usb-storage JC_at_LQ Linux - General 2 07-14-2003 07:56 AM


All times are GMT -5. The time now is 05:23 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration