Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Transcend JetFlash: new investigation
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
grozin
n00b
n00b


Joined: 14 Mar 2005
Posts: 72
Location: Novosibirsk, Russia

PostPosted: Fri Apr 15, 2005 6:10 am    Post subject: Transcend JetFlash: new investigation Reply with quote

Some time ago I posted a problem: my JetFlash usb memory worked with linux-2.6.7-gentoo-r11 (and earlier), but I cannot mount it with linux-2.6.11-gentoo-r4 (and linux-2.6.10-gentoo-r6). No solution was suggested.

The kernels are configured identically: I just copied .config to the new source directory. When I plug in the memory stick, I see some messages in /var/log/messages which look correct. /dev/sda appears; fdisk /dev/sda sees one partition, /dev/sda1. This device can be read:
Code:
dd if=/dev/sda1 of=[i]something[/i] count=[i]something[/i]

produces identical files with 2.6.7 and 2.6.11.

Then I tried
Code:
strace mount -t vfat /dev/sda1 /mnt/flash &>log

The important difference is following: in 2.6.7 I get
Code:
mount("/dev/sda1", "/mnt/flash", "vfat", MS_POSIXACL|MS_ACTIVE|MS_NOUSER|0xec0000, 0) = 0

and in 2.6.11 I get instead:
Code:
mount("/dev/sda1", "/mnt/flash", "vfat", MS_POSIXACL|MS_ACTIVE|MS_NOUSER|0xec0000, 0) = -1 EINVAL (Invalid argument)


So, these two kernels behave differently here. What can I do to make my memory stick working with newer kernels?
_________________
Andrey Grozin
Back to top
View user's profile Send private message
Rikz
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2003
Posts: 103

PostPosted: Wed Apr 20, 2005 8:47 pm    Post subject: Reply with quote

Same problems with my Kingston USB flash drive on 2.6.11-ck3
Here is another topic about such problem:
https://forums.gentoo.org/viewtopic-t-299683-postdays-0-postorder-asc-highlight-flash+mount+usb-start-0.html
But there is no solution yet.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum