util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* test fdisk/bsd on exotic archs
@ 2015-01-28 10:45 Ruediger Meier
  2015-01-28 13:31 ` Andreas Henriksson
  0 siblings, 1 reply; 2+ messages in thread
From: Ruediger Meier @ 2015-01-28 10:45 UTC (permalink / raw)
  To: util-linux; +Cc: Aurelien Jarno, Andreas Henriksson

Hi,

the fdisk/bsd test fails on ppc64le:
 Create default BSD
-2e1cee529cb59c9341afef0443f196a1 bsd.img
+6d760d7a8ef33b27cc6e27f1e8807d48 bsd.img
[...]

Actually Aurelien's patch a80886e9 should already address this because
it's the case little endian, BSD_LABELSECTOR = 0, BSD_LABELOFFSET = 64.

Aurelien or Andreas, do you still have such a system for this case? I
guess it was little endian alpha. Maybe you could send us the hexdump
output when running the test with the following debug patch (current
HEAD master):

diff --git a/tests/ts/fdisk/bsd b/tests/ts/fdisk/bsd
--- a/tests/ts/fdisk/bsd
+++ b/tests/ts/fdisk/bsd
@@ -115,6 +115,8 @@ ts_log "Create default BSD"
 echo -e "${FDISK_CMD_BSD_CREATE}${FDISK_CMD_WRITE_CLOSE}" | \
 	$TS_CMD_FDISK ${TEST_IMAGE_NAME} &> /dev/null
 ts_image_md5sum >> $TS_OUTPUT 2>&1
+echo -e "\nhexdump default BSD"
+$TS_CMD_HEXDUMP -C ${TEST_IMAGE_NAME}
 
 print_bsd_layout
 
-- 


My ppc64le hexdump output looks like this one below. It seems to be ok
I think. It's the same like x86 except other offsets. But md5sum is
6d760d7a8ef33b27cc6e27f1e8807d48:

hexdump default BSD
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001b0  00 00 00 00 00 00 00 00  01 00 00 00 00 00 00 20  |............... |
000001c0  21 00 83 41 01 00 00 08  00 00 00 08 00 00 00 04  |!..A............|
000001d0  01 3e a5 13 41 36 00 10  00 00 00 40 00 00 00 00  |.>..A6.....@....|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00200040  57 45 56 82 06 00 00 00  00 00 00 00 00 00 00 00  |WEV.............|
00200050  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00200060  00 00 00 00 00 00 00 00  00 02 00 00 3f 00 00 00  |............?...|
00200070  ff 00 00 00 01 00 00 00  c1 3e 00 00 c1 3e 00 00  |.........>...>..|
00200080  00 00 00 00 00 00 00 00  10 0e 01 00 00 00 00 00  |................|
00200090  00 00 00 00 00 00 00 00  20 00 00 00 00 00 00 00  |........ .......|
002000a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
002000c0  00 00 00 00 57 45 56 82  33 62 04 00 00 20 00 00  |....WEV.3b... ..|
002000d0  00 20 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |. ..............|
002000e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
002000f0  00 00 00 00 00 40 00 00  00 10 00 00 00 00 00 00  |.....@..........|
00200100  00 00 00 00 c1 3e 00 00  00 00 00 00 00 00 00 00  |.....>..........|
00200110  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00a00000

cu,
Rudi

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: test fdisk/bsd on exotic archs
  2015-01-28 10:45 test fdisk/bsd on exotic archs Ruediger Meier
@ 2015-01-28 13:31 ` Andreas Henriksson
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Henriksson @ 2015-01-28 13:31 UTC (permalink / raw)
  To: Ruediger Meier; +Cc: util-linux, Aurelien Jarno

Hello Ruediger Meier.

Thanks for your interest in fixing remaining test failures.

On Wed, Jan 28, 2015 at 11:45:20AM +0100, Ruediger Meier wrote:
[...]
> Aurelien or Andreas, do you still have such a system for this case?
[...]

I never had any other access then what is provided as Debian porter boxes.
(That is also why I patched the build system to output more information
about the failure and the diff between expected and output so I could
debug it via build logs.)
My interest in exotic architectures is also limited. I was very happy
to get Aureliens help with similar issues in the past. He's the man you
want to talk to rather then me.....

Regards,
Andreas Henriksson

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-29  2:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-28 10:45 test fdisk/bsd on exotic archs Ruediger Meier
2015-01-28 13:31 ` Andreas Henriksson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).