https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255130

--- Comment #41 from Sriram Narayanan <techyno...@gmail.com> ---
(In reply to Henri Hennebert from comment #40)

Hi

As requested I have rebuilt the Kernel with rtsx.c version 2.0f.
Following are the results:

Refer Comment(#35) for Test Cases
The Boot process is close to NORMAL
Case 1: It shows the timeout error but as you have modified, just for 1 sec and
boots normally.
Case 2: When plastic cover is removed; in the terminal it is displayed as card
removed.
Case 3: When the SD Card Adaptor with Micro Sd Card is inserted; it is
displayed card inserted/found/mountable.
Case 4: I ran your "dd" I/O tests results below. When the SD Card Adaptor is
removed; it is displayed as card removed/absent.
Case 5: When plastic cover is reinserted; it is displaed as Card Present and
the 1 sec timeout starts.

Here are the test results from the "dd" I/O:

Note: Tests were run as root user from SSH connected from Macbook to HP 840 G3
Laptop.

dd if=/dev/random of=/tmp/random0 bs=32768 count=262144
262144+0 records in
262144+0 records out
8589934592 bytes transferred in 28.754103 secs (298737701 bytes/sec)

dd if=/tmp/random0 of=/dev/mmcsd0 bs=32768
262144+0 records in
262144+0 records out
8589934592 bytes transferred in 962.844957 secs (8921410 bytes/sec)

dd if=/dev/mmcsd0 of=/tmp/random1 bs=8192
3772992+0 records in
3772992+0 records out
30908350464 bytes transferred in 2576.025591 secs (11998464 bytes/sec)

md5 /tmp/random0 /tmp/random1
MD5 (/tmp/random0) = 05fd7861fd15e6bc2fffea5ebe7e2675
MD5 (/tmp/random1) = ab827ad77c67ce1f04b02f9ee9534be8

Are above the expected results? The MD5 looks different though, I am not sure,
your are the best judge to throw light on these. Let me know if you need any
further support from my end.

I still feel there could be a way to learn if the inserted item to the SD card
slot is a real SD Adaptor or Card as against a dummy plastic. Maybe some value
would be set in some flag or something, Just a wild guess (I am not a
systems/low level programmer). If this is possible, then the timeouts could be
totally avoided on all devs pertaining to these. More clean this way. 

THANK YOU for this 2.0f change.

BTW, can you tell me how to update src (Source) to the latest stable from
Git/SVN. I opted to install the Source during installation. As when you update
the stable I like to have the latest source. Now, I am switching to GENERIC
kernel. I wish to stay with GENERIC as I have not reached the stage of wanting
a CUSTOM kernel. Though, I would like to eliminate all that is not required for
HP 840 G3 from the kernel. But, first need to find and make a list of items not
required, do you know or can you point me to links on how to achieve this?

Thank you again!

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to