From: "Mukund JB`." <mukundjb@esntechnologies.co.in>
To: "Lennart Sorensen" <lsorense@csclub.uwaterloo.ca>
Cc: <hirofumi@mail.parknet.co.jp>,
"linux-kernel-Mailing-list" <linux-kernel@vger.kernel.org>
Subject: RE: The Linux FAT issue on SD Cards.. maintainer support please
Date: Thu, 18 Aug 2005 18:21:39 +0530 [thread overview]
Message-ID: <3AEC1E10243A314391FE9C01CD65429B3886@mail.esn.co.in> (raw)
[-- Attachment #1: Type: text/plain, Size: 2705 bytes --]
Dear all,
I have few updates in this issue.
I have attached the Images as well as the mount-log to this mail.
Please see the comments inline.
>If the partition starts at sector 57 and is 28743 sectors long, then
>that matches 28800 sectors total. No problem there.
>
>If on the other hand fdisk reports 28672 sectors total then there is a
>problem somewhere.
I think, fdisk it trying to portray that n/o cylinders 448. So, it also
takes care of displaying the relevant n/o sector & NO more or NO less.
>Well then you have to implement full partition support and present a
>seperate device for each partition in /dev so that mount can access
each
>partition.
I have implemented the partition support in the driver but some HOW I am
NOT able to get the driver working with all the sockets. It is just
working with the socket 0 and NO other socket.
I mean I am able to mount windows & linux formatted SD card with new
driver present from socket 0.
>> There is a partition table in the CAM formatted device & it looks
like
>> there is also a partition table in the win formatted device.
>> The details of there at offset 0x1BE are below.
I have an update on this.
I found some common things between the windows formatted SD & Linux
formatted SD.
I found that both of then do NOT have the partition table.
I found that both of them have FAT12 FS in the sector 0 starting at
offset 0.
Why? I am NOT able to guess.
For Windows formatted SD there is NO partition table at all.
I went on more R&D and tried to get to format the USB-Thumb drive.
Even that did NOT have a partition table.
It looks like windows treats all removable media device as devices with
NO partitions.
Even on Linux formatted SD there is NO partition table present.
Please have a look at the images I am attaching to this mail.
I have attached CAM-MS, WIN-Ms & Linux-MS first 512 byte length Images.
These are the Images of first 512 bytes of sector 0.
You can find the FS there on Lin & Win Images.
I have verified this by keeping some DEBUG messages in the FAT layer &
seeing what data is being passed to this fat_boot_sector structure when
mount call is issued.
I am also attaching those LOG messages. please Have a LOOK at them too &
you will have a fair understanding.
>That one looks more like random numbers. Maybe the partition entry
that
>it really uses is not number 1, but number 2 3 or 4, or no partition
>table at all.
I have verified it with fdisk -l -u /dev/tfa0
It has shown that it is the partition 0 & nothing else.
>Could you do dd if=/dev/sda bs=512 count=1 | xxd
Please see the Images-All-MS-512.tar.gz.
Regards,
Mukund Jampala
[-- Attachment #2: Images-512-xxd-type.tar.gz --]
[-- Type: application/x-gzip, Size: 1705 bytes --]
[-- Attachment #3: mount-logs-all.tar.gz --]
[-- Type: application/x-gzip, Size: 5521 bytes --]
next reply other threads:[~2005-08-18 12:58 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-18 12:51 Mukund JB`. [this message]
2005-08-18 17:26 ` Lennart Sorensen
-- strict thread matches above, loose matches on Subject: below --
2005-08-24 13:18 Mukund JB.
2005-08-24 13:28 ` Lennart Sorensen
2005-08-24 8:33 Mukund JB.
2005-08-24 13:13 ` Lennart Sorensen
2005-08-19 11:39 Mukund JB`.
2005-08-19 12:59 ` Lennart Sorensen
2005-08-18 12:56 Mukund JB`.
2005-08-17 17:02 Mukund JB`.
2005-08-17 18:50 ` Lennart Sorensen
2005-08-16 13:34 Mukund JB.
2005-08-16 13:59 ` Olivier Galibert
2005-08-16 16:09 ` Lennart Sorensen
2005-08-16 13:24 Mukund JB.
2005-08-16 16:08 ` Lennart Sorensen
2005-08-12 15:46 Mukund JB.
2005-08-12 16:00 ` Lennart Sorensen
2005-08-12 14:31 Mukund JB.
2005-08-12 14:22 Mukund JB.
2005-08-12 14:48 ` Lennart Sorensen
2005-08-11 5:27 Mukund JB.
2005-08-11 5:56 ` Marc Singer
2005-08-11 15:33 ` Lennart Sorensen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3AEC1E10243A314391FE9C01CD65429B3886@mail.esn.co.in \
--to=mukundjb@esntechnologies.co.in \
--cc=hirofumi@mail.parknet.co.jp \
--cc=linux-kernel@vger.kernel.org \
--cc=lsorense@csclub.uwaterloo.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®