grozin n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 14 Mar 2005 Posts: 72 Location: Novosibirsk, Russia
|
Posted: Fri Apr 15, 2005 6:10 am Post subject: Transcend JetFlash: new investigation |
|
|
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 |
|