Subject: bin/36818: gpt(8) fails on raidframe
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <scotte@warped.com>
List: netbsd-bugs
Date: 08/22/2007 00:45:00
>Number: 36818
>Category: bin
>Synopsis: Use of gpt fails if the target is a raidframe device
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Aug 22 00:45:00 +0000 2007
>Originator: Scott Ellis
>Release: NetBSD 4.99.29
>Organization:
>Environment:
System: NetBSD intrepid 4.99.24 NetBSD 4.99.24 (INTREPID.AMD64) #0: Thu Jul 19 12:31:30 PDT 2007 scotte@intrepid:/nbu/source/netbsd/src/obj.amd64/nbu/source/netbsd/src/sys/arch/amd64/compile/INTREPID.AMD64 amd64
(Kernel and userland -current as of 08/18/07. Ignore 4.99.24 from above.)
/data/scotte/netbsd_build/amd64/destdir/sbin/gpt:
$NetBSD: crt0.c,v 1.4 2004/08/26 21:23:06 thorpej Exp $
$NetBSD: add.c,v 1.4 2007/02/16 17:13:02 riz Exp $
$NetBSD: create.c,v 1.2 2006/10/15 22:36:29 christos Exp $
$NetBSD: destroy.c,v 1.2 2006/10/15 22:36:29 christos Exp $
$NetBSD: gpt.c,v 1.4 2007/06/11 04:22:00 dyoung Exp $
$NetBSD: label.c,v 1.4 2007/02/16 17:13:02 riz Exp $
$NetBSD: map.c,v 1.2 2006/10/15 22:36:29 christos Exp $
$NetBSD: migrate.c,v 1.3 2006/10/17 09:20:09 he Exp $
$NetBSD: recover.c,v 1.2 2006/10/15 22:36:29 christos Exp $
$NetBSD: remove.c,v 1.3 2007/02/16 17:13:02 riz Exp $
$NetBSD: show.c,v 1.2 2006/10/15 22:36:29 christos Exp $
Architecture: x86_64
Machine: amd64
>Description:
Executing any operation with gpt(8) on a raidframe device fails. For example,
"gpt show raid0" results in an error that rraid0 cannot be read from. Using
fdisk works on the raid device, and using gpt on a wd device works.
Ktrace of failing "gpt show raid0":
8 1 ktrace EMUL "netbsd"
8 1 ktrace CALL execve(0x7f7fffffe970,0x7f7fffffee68,0x7f7fffffee88)
8 1 ktrace RET execve -1 errno 2 No such file or directory
8 1 ktrace CALL execve(0x7f7fffffe970,0x7f7fffffee68,0x7f7fffffee88)
8 1 ktrace RET execve -1 errno 2 No such file or directory
8 1 ktrace CALL execve(0x7f7fffffe970,0x7f7fffffee68,0x7f7fffffee88)
8 1 ktrace RET execve -1 errno 2 No such file or directory
8 1 ktrace CALL execve(0x7f7fffffe970,0x7f7fffffee68,0x7f7fffffee88)
8 1 gpt EMUL "netbsd"
8 1 gpt RET execve JUSTRETURN
8 1 gpt CALL mmap(0,0x8000,3,0x1002,0xffffffff,0,0)
8 1 gpt RET mmap 140187698954240/0x7f7ffdff8000
8 1 gpt CALL open(0x7f7ffde25fde,0,0)
8 1 gpt RET open -1 errno 2 No such file or directory
8 1 gpt CALL open(0x7f7fffffe680,0,0xfefefefefefeff2f)
8 1 gpt RET open 3
8 1 gpt CALL __fstat30(3,0x7f7fffffe1a0)
8 1 gpt RET __fstat30 0
8 1 gpt CALL mmap(0,0x1000,1,1,3,0x7f7f00000000,0)
8 1 gpt RET mmap 140187698950144/0x7f7ffdff7000
8 1 gpt CALL munmap(0x7f7ffdff7000,0x1000)
8 1 gpt RET munmap 0
8 1 gpt CALL mmap(0,0x10f000,5,0x14000002,3,0x7f7f00000000,0)
8 1 gpt RET mmap 140187694792704/0x7f7ffdc00000
8 1 gpt CALL mmap(0x7f7ffdd0e000,0x1000,3,0x12,3,0x7f7f00000000,0xe000)
8 1 gpt RET mmap 140187695898624/0x7f7ffdd0e000
8 1 gpt CALL mmap(0x7f7ffdd0f000,0,3,0x1012,0xffffffff,0x7f7f00000000,0)
8 1 gpt RET mmap 140187695902720/0x7f7ffdd0f000
8 1 gpt CALL mprotect(0x7f7ffdc0e000,0x100000,0)
8 1 gpt RET mprotect 0
8 1 gpt CALL close(3)
8 1 gpt RET close 0
8 1 gpt CALL open(0x7f7fffffe680,0,0x75)
8 1 gpt RET open 3
8 1 gpt CALL __fstat30(3,0x7f7fffffe1a0)
8 1 gpt RET __fstat30 0
8 1 gpt CALL mmap(0,0x1000,1,1,3,0x7f7f00000000,0)
8 1 gpt RET mmap 140187698950144/0x7f7ffdff7000
8 1 gpt CALL munmap(0x7f7ffdff7000,0x1000)
8 1 gpt RET munmap 0
8 1 gpt CALL mmap(0,0x115000,5,0x14000002,3,0x7f7f00000000,0)
8 1 gpt RET mmap 140187692695552/0x7f7ffda00000
8 1 gpt CALL mmap(0x7f7ffdb11000,0x3000,3,0x12,3,0x7f7f00000000,0x11000)
8 1 gpt RET mmap 140187693813760/0x7f7ffdb11000
8 1 gpt CALL mmap(0x7f7ffdb14000,0x1000,3,0x1012,0xffffffff,0x7f7f00000000,0)
8 1 gpt RET mmap 140187693826048/0x7f7ffdb14000
8 1 gpt CALL mprotect(0x7f7ffda12000,0xff000,0)
8 1 gpt RET mprotect 0
8 1 gpt CALL close(3)
8 1 gpt RET close 0
8 1 gpt CALL open(0x7f7fffffe680,0,0xff31302d6e722d62)
8 1 gpt RET open 3
8 1 gpt CALL __fstat30(3,0x7f7fffffe1a0)
8 1 gpt RET __fstat30 0
8 1 gpt CALL mmap(0,0x1000,1,1,3,0x7f7f00000000,0)
8 1 gpt RET mmap 140187698950144/0x7f7ffdff7000
8 1 gpt CALL munmap(0x7f7ffdff7000,0x1000)
8 1 gpt RET munmap 0
8 1 gpt CALL mmap(0,0x1fb000,5,0x14000002,3,0x7f7f00000000,0)
8 1 gpt RET mmap 140187690598400/0x7f7ffd800000
8 1 gpt CALL mmap(0x7f7ffd9e1000,0xa000,3,0x12,3,0x7f7f00000000,0xe1000)
8 1 gpt RET mmap 140187692568576/0x7f7ffd9e1000
8 1 gpt CALL mmap(0x7f7ffd9eb000,0x10000,3,0x1012,0xffffffff,0x7f7f00000000,0)
8 1 gpt RET mmap 140187692609536/0x7f7ffd9eb000
8 1 gpt CALL mprotect(0x7f7ffd8e1000,0x100000,0)
8 1 gpt RET mprotect 0
8 1 gpt CALL close(3)
8 1 gpt RET close 0
8 1 gpt CALL __sysctl(0x7f7fffffed30,2,0x7f7ffd9f21a0,0x7f7fffffed28,0,0)
8 1 gpt RET __sysctl 0
8 1 gpt CALL __sysctl(0x7f7fffffec80,2,0x7f7fffffecec,0x7f7fffffece0,0,0)
8 1 gpt RET __sysctl 0
8 1 gpt CALL readlink(0x7f7ffd8cb432,0x7f7fffffed20,0x3f)
8 1 gpt RET readlink -1 errno 2 No such file or directory
8 1 gpt CALL mmap(0,0x1000,3,0x1002,0xffffffff,0,0)
8 1 gpt RET mmap 140187698950144/0x7f7ffdff7000
8 1 gpt CALL break(0x508c80)
8 1 gpt RET break 0
8 1 gpt CALL break(0x509c80)
8 1 gpt RET break 0
8 1 gpt CALL break(0x50a000)
8 1 gpt RET break 0
8 1 gpt CALL break(0x50b000)
8 1 gpt RET break 0
8 1 gpt CALL __sysctl(0x7f7fffffec50,2,0x7f7fffffec5c,0x7f7fffffec48,0,0)
8 1 gpt RET __sysctl 0
8 1 gpt CALL open(0x508860,0x802,0)
8 1 gpt RET open -1 errno 2 No such file or directory
8 1 gpt CALL open(0x508860,0x802,0)
8 1 gpt RET open -1 errno 2 No such file or directory
8 1 gpt CALL open(0x508860,0x802,0)
8 1 gpt RET open -1 errno 2 No such file or directory
8 1 gpt CALL open(0x508860,0x802,0)
8 1 gpt RET open 3
8 1 gpt CALL __fstat30(3,0x7f7fffffecc0)
8 1 gpt RET __fstat30 0
8 1 gpt CALL open(0x406276,0,0)
8 1 gpt RET open 4
8 1 gpt CALL break(0x50c000)
8 1 gpt RET break 0
8 1 gpt CALL break(0x50d000)
8 1 gpt RET break 0
8 1 gpt CALL break(0x50e000)
8 1 gpt RET break 0
8 1 gpt CALL break(0x50f000)
8 1 gpt RET break 0
8 1 gpt CALL ioctl(4,DRVCTLCOMMAND,0x7f7fffffec70)
8 1 gpt GIO fd 4 wrote 16 bytes
"\0\M-`P\0\0\0\0\0b\^A\0\0\0\0\0\0"
8 1 gpt GIO fd 4 read 16 bytes
"\0`\M^?\M-}\^?\^?\0\0\^]\^A\0\0\0\0\0\0"
8 1 gpt RET ioctl 0
8 1 gpt CALL munmap(0x7f7ffdff6000,0x11d)
8 1 gpt RET munmap 0
8 1 gpt CALL close(4)
8 1 gpt RET close 0
8 1 gpt CALL close(3)
8 1 gpt RET close 0
8 1 gpt CALL write(2,0x7f7fffffe3f0,5)
8 1 gpt GIO fd 2 wrote 5 bytes
"gpt: "
8 1 gpt RET write 5
8 1 gpt CALL write(2,0x7f7fffffe4d0,0x1f)
8 1 gpt GIO fd 2 wrote 31 bytes
"unable to open device 'rraid0d'"
8 1 gpt RET write 31/0x1f
8 1 gpt CALL write(2,0x7f7ffd8c8739,2)
8 1 gpt GIO fd 2 wrote 2 bytes
": "
8 1 gpt RET write 2
8 1 gpt CALL issetugid
8 1 gpt RET issetugid 0
8 1 gpt CALL issetugid
8 1 gpt RET issetugid 0
8 1 gpt CALL open(0x7f7fffffdf60,0,0)
8 1 gpt RET open -1 errno 2 No such file or directory
8 1 gpt CALL open(0x7f7ffd8cf10f,0,0)
8 1 gpt RET open 3
8 1 gpt CALL fcntl(3,2,1)
8 1 gpt RET fcntl 0
8 1 gpt CALL __fstat30(3,0x7f7fffffdea0)
8 1 gpt RET __fstat30 0
8 1 gpt CALL mmap(0,0x5f0,1,2,3,0,0)
8 1 gpt RET mmap 140187698946048/0x7f7ffdff6000
8 1 gpt CALL close(3)
8 1 gpt RET close 0
8 1 gpt CALL munmap(0x7f7ffdff6000,0x5f0)
8 1 gpt RET munmap 0
8 1 gpt CALL open(0x7f7fffffe3f0,0,0x7f7ffd8c9601)
8 1 gpt RET open 3
8 1 gpt CALL __fstat30(3,0x7f7fffffe340)
8 1 gpt RET __fstat30 0
8 1 gpt CALL mmap(0,0x10be,1,1,3,0x7f7f00000000,0)
8 1 gpt RET mmap 140187698941952/0x7f7ffdff5000
8 1 gpt CALL close(3)
8 1 gpt RET close 0
8 1 gpt CALL munmap(0x7f7ffdff5000,0x10be)
8 1 gpt RET munmap 0
8 1 gpt CALL write(2,0x7f7fffffe420,0x11)
8 1 gpt GIO fd 2 wrote 17 bytes
"Invalid argument\n"
8 1 gpt RET write 17/0x11
8 1 gpt CALL exit(0)
A working "gpt show wd0" ktrace is as follows:
26 1 ktrace EMUL "netbsd"
26 1 ktrace CALL execve(0x7f7fffffe960,0x7f7fffffee58,0x7f7fffffee78)
26 1 ktrace RET execve -1 errno 2 No such file or directory
26 1 ktrace CALL execve(0x7f7fffffe960,0x7f7fffffee58,0x7f7fffffee78)
26 1 ktrace RET execve -1 errno 2 No such file or directory
26 1 ktrace CALL execve(0x7f7fffffe960,0x7f7fffffee58,0x7f7fffffee78)
26 1 ktrace RET execve -1 errno 2 No such file or directory
26 1 ktrace CALL execve(0x7f7fffffe960,0x7f7fffffee58,0x7f7fffffee78)
26 1 gpt EMUL "netbsd"
26 1 gpt RET execve JUSTRETURN
26 1 gpt CALL mmap(0,0x8000,3,0x1002,0xffffffff,0,0)
26 1 gpt RET mmap 140187698954240/0x7f7ffdff8000
26 1 gpt CALL open(0x7f7ffde25fde,0,0)
26 1 gpt RET open -1 errno 2 No such file or directory
26 1 gpt CALL open(0x7f7fffffe670,0,0xfefefefefefeff2f)
26 1 gpt RET open 3
26 1 gpt CALL __fstat30(3,0x7f7fffffe190)
26 1 gpt RET __fstat30 0
26 1 gpt CALL mmap(0,0x1000,1,1,3,0x7f7f00000000,0)
26 1 gpt RET mmap 140187698950144/0x7f7ffdff7000
26 1 gpt CALL munmap(0x7f7ffdff7000,0x1000)
26 1 gpt RET munmap 0
26 1 gpt CALL mmap(0,0x10f000,5,0x14000002,3,0x7f7f00000000,0)
26 1 gpt RET mmap 140187694792704/0x7f7ffdc00000
26 1 gpt CALL mmap(0x7f7ffdd0e000,0x1000,3,0x12,3,0x7f7f00000000,0xe000)
26 1 gpt RET mmap 140187695898624/0x7f7ffdd0e000
26 1 gpt CALL mmap(0x7f7ffdd0f000,0,3,0x1012,0xffffffff,0x7f7f00000000,0)
26 1 gpt RET mmap 140187695902720/0x7f7ffdd0f000
26 1 gpt CALL mprotect(0x7f7ffdc0e000,0x100000,0)
26 1 gpt RET mprotect 0
26 1 gpt CALL close(3)
26 1 gpt RET close 0
26 1 gpt CALL open(0x7f7fffffe670,0,0x75)
26 1 gpt RET open 3
26 1 gpt CALL __fstat30(3,0x7f7fffffe190)
26 1 gpt RET __fstat30 0
26 1 gpt CALL mmap(0,0x1000,1,1,3,0x7f7f00000000,0)
26 1 gpt RET mmap 140187698950144/0x7f7ffdff7000
26 1 gpt CALL munmap(0x7f7ffdff7000,0x1000)
26 1 gpt RET munmap 0
26 1 gpt CALL mmap(0,0x115000,5,0x14000002,3,0x7f7f00000000,0)
26 1 gpt RET mmap 140187692695552/0x7f7ffda00000
26 1 gpt CALL mmap(0x7f7ffdb11000,0x3000,3,0x12,3,0x7f7f00000000,0x11000)
26 1 gpt RET mmap 140187693813760/0x7f7ffdb11000
26 1 gpt CALL mmap(0x7f7ffdb14000,0x1000,3,0x1012,0xffffffff,0x7f7f00000000,0)
26 1 gpt RET mmap 140187693826048/0x7f7ffdb14000
26 1 gpt CALL mprotect(0x7f7ffda12000,0xff000,0)
26 1 gpt RET mprotect 0
26 1 gpt CALL close(3)
26 1 gpt RET close 0
26 1 gpt CALL open(0x7f7fffffe670,0,0xff31302d6e722d62)
26 1 gpt RET open 3
26 1 gpt CALL __fstat30(3,0x7f7fffffe190)
26 1 gpt RET __fstat30 0
26 1 gpt CALL mmap(0,0x1000,1,1,3,0x7f7f00000000,0)
26 1 gpt RET mmap 140187698950144/0x7f7ffdff7000
26 1 gpt CALL munmap(0x7f7ffdff7000,0x1000)
26 1 gpt RET munmap 0
26 1 gpt CALL mmap(0,0x1fb000,5,0x14000002,3,0x7f7f00000000,0)
26 1 gpt RET mmap 140187690598400/0x7f7ffd800000
26 1 gpt CALL mmap(0x7f7ffd9e1000,0xa000,3,0x12,3,0x7f7f00000000,0xe1000)
26 1 gpt RET mmap 140187692568576/0x7f7ffd9e1000
26 1 gpt CALL mmap(0x7f7ffd9eb000,0x10000,3,0x1012,0xffffffff,0x7f7f00000000,0)
26 1 gpt RET mmap 140187692609536/0x7f7ffd9eb000
26 1 gpt CALL mprotect(0x7f7ffd8e1000,0x100000,0)
26 1 gpt RET mprotect 0
26 1 gpt CALL close(3)
26 1 gpt RET close 0
26 1 gpt CALL __sysctl(0x7f7fffffed20,2,0x7f7ffd9f21a0,0x7f7fffffed18,0,0)
26 1 gpt RET __sysctl 0
26 1 gpt CALL __sysctl(0x7f7fffffec70,2,0x7f7fffffecdc,0x7f7fffffecd0,0,0)
26 1 gpt RET __sysctl 0
26 1 gpt CALL readlink(0x7f7ffd8cb432,0x7f7fffffed10,0x3f)
26 1 gpt RET readlink -1 errno 2 No such file or directory
26 1 gpt CALL mmap(0,0x1000,3,0x1002,0xffffffff,0,0)
26 1 gpt RET mmap 140187698950144/0x7f7ffdff7000
26 1 gpt CALL break(0x508c80)
26 1 gpt RET break 0
26 1 gpt CALL break(0x509c80)
26 1 gpt RET break 0
26 1 gpt CALL break(0x50a000)
26 1 gpt RET break 0
26 1 gpt CALL break(0x50b000)
26 1 gpt RET break 0
26 1 gpt CALL __sysctl(0x7f7fffffec40,2,0x7f7fffffec4c,0x7f7fffffec38,0,0)
26 1 gpt RET __sysctl 0
26 1 gpt CALL open(0x508860,0x802,0)
26 1 gpt RET open -1 errno 2 No such file or directory
26 1 gpt CALL open(0x508860,0x802,0)
26 1 gpt RET open -1 errno 2 No such file or directory
26 1 gpt CALL open(0x508860,0x802,0)
26 1 gpt RET open -1 errno 2 No such file or directory
26 1 gpt CALL open(0x508860,0x802,0)
26 1 gpt RET open 3
26 1 gpt CALL __fstat30(3,0x7f7fffffecb0)
26 1 gpt RET __fstat30 0
26 1 gpt CALL open(0x406276,0,0)
26 1 gpt RET open 4
26 1 gpt CALL break(0x50c000)
26 1 gpt RET break 0
26 1 gpt CALL break(0x50d000)
26 1 gpt RET break 0
26 1 gpt CALL break(0x50e000)
26 1 gpt RET break 0
26 1 gpt CALL break(0x50f000)
26 1 gpt RET break 0
26 1 gpt CALL ioctl(4,DRVCTLCOMMAND,0x7f7fffffec60)
26 1 gpt GIO fd 4 wrote 16 bytes
"\0\M-`P\0\0\0\0\0`\^A\0\0\0\0\0\0"
26 1 gpt GIO fd 4 read 16 bytes
"\0`\M^?\M-}\^?\^?\0\0\M-[\^B\0\0\0\0\0\0"
26 1 gpt RET ioctl 0
26 1 gpt CALL munmap(0x7f7ffdff6000,0x2db)
26 1 gpt RET munmap 0
26 1 gpt CALL close(4)
26 1 gpt RET close 0
26 1 gpt CALL lseek(3,0,0,0)
26 1 gpt RET lseek 0
26 1 gpt CALL read(3,0x50e000,0x200)
26 1 gpt GIO fd 3 read 512 bytes
"1\M-@\M^N\M-P\M-<\0|\M^N\M-@\M^N\M-X\M-?\^^\^F\M->\^^|PW\M-9\M-b\^A\
\M-s\M-$\M-9\0\^B\M-s\M-+\M-K\M^@\M-z\M^O~\^B\M-2\M^@RR\M->\^^\a\M-hJ\
\^A\M-;\M^T\a\M^M\M-/*\0\M^JF\^D\M^D\M-@t\n\M^@~\0\M^@u\^D\M^I.\M^D\v\
\M^C\M-E\^P\M^C\M-C \M^@\M-{\M-8u\M-d\M-8\M-a\0\M-A\M-`\^B\M^I\M-F\
\M^K\M-4\0\b\M^E\M-vu\^Y\M-8.\a\M->\^T\a\M-h\^T\^A\M^I\M-F\M-h \^AZ1\
\M-@\M-M\^S\M-M\^X\M-{\M-t\M-k\M-|f\M^Kl\b\M-v\^F\M^Q\a\^DuCZR\M-4\b\
\M-M\^S\M^KD\^BP\M-@\M-h\^F\M^F\M-D\M-A\M-j\bB\M-w\M-b\M^JT\^A\^A\M-P\
\M^C\M-a?\M-w\M-aZ\M^C\M-b?\^A\M-PH9\M-htG\M-;\M-*U\M-4AZR\M-M\^S\M-8f\
\ar\M-'\M^A\M-{U\M-*u\M-!\M-v\M-A\^At\M^\f\M^I.\f\a\M->\^D\a\M-4BZR\
\M-M\^S\M-8B\ar\M^I\240\0|\M^D\M-@t\^C\M-!\M-~}=U\M-*\M-8R\a\^O\M^Eu\
\M^?f\M^I\M-nZ\M-i\vuZ\M^Jt\^A\M^KL\^B\M-;\0|\M-8\^A\^B\M-k\M-N\^P\0\
\^A\0\0|\0\0\0\0\0\0\0\0\0\0Error \0\r\n\0NetBSD MBR boot\0No active p\
artition\0Disk read error\0No operating system\0Invalid CHS read\0\M-h\
\^C\0\M->\^[\a`\M-,\M-4\^N\M-;\^A\0\M-M\^P\M-,\M^D\M-@u\M-ta\M-C\0\0\0\
\^\\0\M-6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
\0\0\0\0\0\0\0\0\0\0\0\M-a\M-5\M^@\^A\^A\0\M-)U\M-A\M^??\0\0\0\M-A\M^?\
\M^?\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0U\M-*"
26 1 gpt RET read 512/0x200
26 1 gpt CALL lseek(3,0,0x200,0)
26 1 gpt RET lseek 512/0x200
26 1 gpt CALL read(3,0x50e200,0x200)
26 1 gpt GIO fd 3 read 512 bytes
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0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 read 44 bytes
"\^B+\0\0\^C\0\0\0\0K\0\0\M-K\^E\0\0\^D\M^?\M^?\^?\^W\^U\^R\M^?\^C\^\\
\^Z\^Y\^Q\^S\^V\^O\^A\0\^T\M^?\M^@%\0\0\M^@%\0\0"
26 1 gpt RET ioctl 0
26 1 gpt CALL write(1,0x50f000,0x26)
26 1 gpt GIO fd 1 wrote 38 bytes
" start size index contents\n"
26 1 gpt RET write 38/0x26
26 1 gpt CALL write(1,0x50f000,0x21)
26 1 gpt GIO fd 1 wrote 33 bytes
" 0 1 MBR\n"
26 1 gpt RET write 33/0x21
26 1 gpt CALL write(1,0x50f000,0x1e)
26 1 gpt GIO fd 1 wrote 30 bytes
" 1 62 \n"
26 1 gpt RET write 30/0x1e
26 1 gpt CALL write(1,0x50f000,0x2a)
26 1 gpt GIO fd 1 wrote 42 bytes
" 63 16777153 1 MBR part 169\n"
26 1 gpt RET write 42/0x2a
26 1 gpt CALL close(3)
26 1 gpt RET close 0
26 1 gpt CALL exit(0)
>How-To-Repeat:
Configure a raidframe device. Attempt to read or build a GPT using gpt(8).
>Fix:
Not known.
>Unformatted: