FreeBSD Bugzilla – Attachment 245469 Details for
Bug 274312
gpart restore fails with "gpart: entries '4': Invalid argument" with mkimg(1) images
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
truss(1) output for the gpart backup/restore command
gpart-truss.txt (text/plain), 8.73 KB, created by
Michael Dexter
on 2023-10-06 17:58:44 UTC
(
hide
)
Description:
truss(1) output for the gpart backup/restore command
Filename:
MIME Type:
Creator:
Michael Dexter
Created:
2023-10-06 17:58:44 UTC
Size:
8.73 KB
patch
obsolete
>root@freebsd:~ # truss /sbin/gpart backup vtbd0 | /sbin/gpart restore -F vtbd1 >mmap(0x0,135168,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 11286364553216 (0xa43cfc00000) >mprotect(0x3081f67ac000,4096,PROT_READ) = 0 (0x0) >issetugid() = 0 (0x0) >sigfastblock(0x1,0x3081f67aebf0) = 0 (0x0) >open("/etc/libmap.conf",O_RDONLY|O_CLOEXEC,031760030030) = 3 (0x3) >fstat(3,{ mode=-rw-r--r-- ,inode=26804,size=35,blksize=4096 }) = 0 (0x0) >read(3,"includedir /usr/local/etc/libmap"...,35) = 35 (0x23) >close(3) = 0 (0x0) >open("/usr/local/etc/libmap.d",O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC,0165) ERR#2 'No such file or directory' >open("/var/run/ld-elf.so.hints",O_RDONLY|O_CLOEXEC,012757610571) = 3 (0x3) >read(3,"Ehnt\^A\0\0\0\M^@\0\0\0\^^\0\0\0"...,128) = 128 (0x80) >fstat(3,{ mode=-r--r--r-- ,inode=28636,size=158,blksize=4096 }) = 0 (0x0) >pread(3,"/lib:/usr/lib:/usr/lib/compat\0",30,0x80) = 30 (0x1e) >close(3) = 0 (0x0) >open("/lib/libgeom.so.5",O_RDONLY|O_CLOEXEC|O_VERIFY,00) = 3 (0x3) >fstat(3,{ mode=-r--r--r-- ,inode=54,size=23656,blksize=32768 }) = 0 (0x0) >mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 7531120074752 (0x6d979bca000) >mmap(0x0,36864,PROT_NONE,MAP_GUARD,-1,0x0) = 7531106893824 (0x6d978f38000) >mmap(0x6d978f38000,12288,PROT_READ,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 7531106893824 (0x6d978f38000) >mmap(0x6d978f3b000,12288,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x2000) = 7531106906112 (0x6d978f3b000) >mmap(0x6d978f3e000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x4000) = 7531106918400 (0x6d978f3e000) >mmap(0x6d978f40000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x5000) = 7531106926592 (0x6d978f40000) >munmap(0x6d979bca000,4096) = 0 (0x0) >close(3) = 0 (0x0) >open("/lib/libutil.so.9",O_RDONLY|O_CLOEXEC|O_VERIFY,00) = 3 (0x3) >fstat(3,{ mode=-r--r--r-- ,inode=82,size=80768,blksize=131072 }) = 0 (0x0) >mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 7531106930688 (0x6d978f41000) >mmap(0x0,102400,PROT_NONE,MAP_GUARD,-1,0x0) = 7531112853504 (0x6d9794e7000) >mmap(0x6d9794e7000,32768,PROT_READ,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 7531112853504 (0x6d9794e7000) >mmap(0x6d9794ef000,49152,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x7000) = 7531112886272 (0x6d9794ef000) >mmap(0x6d9794fb000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x12000) = 7531112935424 (0x6d9794fb000) >mmap(0x6d9794fc000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x12000) = 7531112939520 (0x6d9794fc000) >mmap(0x6d9794fe000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-1,0x0) = 7531112947712 (0x6d9794fe000) >munmap(0x6d978f41000,4096) = 0 (0x0) >close(3) = 0 (0x0) >open("/lib/libc.so.7",O_RDONLY|O_CLOEXEC|O_VERIFY,00) = 3 (0x3) >fstat(3,{ mode=-r--r--r-- ,inode=63,size=1981400,blksize=131072 }) = 0 (0x0) >mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 7531125538816 (0x6d97a100000) >mmap(0x0,4243456,PROT_NONE,MAP_GUARD,-1,0x0) = 7531129122816 (0x6d97a46b000) >mmap(0x6d97a46b000,565248,PROT_READ,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 7531129122816 (0x6d97a46b000) >mmap(0x6d97a4f5000,1359872,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x89000) = 7531129688064 (0x6d97a4f5000) >mmap(0x6d97a641000,40960,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x1d4000) = 7531131047936 (0x6d97a641000) >mmap(0x6d97a64b000,24576,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x1dd000) = 7531131088896 (0x6d97a64b000) >mmap(0x6d97a651000,2252800,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-1,0x0) = 7531131113472 (0x6d97a651000) >munmap(0x6d97a100000,4096) = 0 (0x0) >close(3) = 0 (0x0) >open("/lib/libbsdxml.so.4",O_RDONLY|O_CLOEXEC|O_VERIFY,00) = 3 (0x3) >fstat(3,{ mode=-r--r--r-- ,inode=36,size=177592,blksize=131072 }) = 0 (0x0) >mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 7531150143488 (0x6d97b877000) >mmap(0x0,188416,PROT_NONE,MAP_GUARD,-1,0x0) = 7531154518016 (0x6d97bca3000) >mmap(0x6d97bca3000,49152,PROT_READ,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 7531154518016 (0x6d97bca3000) >mmap(0x6d97bcaf000,122880,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0xb000) = 7531154567168 (0x6d97bcaf000) >mmap(0x6d97bccd000,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x28000) = 7531154690048 (0x6d97bccd000) >mmap(0x6d97bcd0000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x2a000) = 7531154702336 (0x6d97bcd0000) >munmap(0x6d97b877000,4096) = 0 (0x0) >close(3) = 0 (0x0) >open("/lib/libsbuf.so.6",O_RDONLY|O_CLOEXEC|O_VERIFY,00) = 3 (0x3) >fstat(3,{ mode=-r--r--r-- ,inode=56,size=14040,blksize=16384 }) = 0 (0x0) >mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 7531158900736 (0x6d97c0d1000) >mmap(0x0,24576,PROT_NONE,MAP_GUARD,-1,0x0) = 7531139342336 (0x6d97ae2a000) >mmap(0x6d97ae2a000,8192,PROT_READ,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 7531139342336 (0x6d97ae2a000) >mmap(0x6d97ae2c000,8192,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x1000) = 7531139350528 (0x6d97ae2c000) >mmap(0x6d97ae2e000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x2000) = 7531139358720 (0x6d97ae2e000) >mmap(0x6d97ae2f000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x2000) = 7531139362816 (0x6d97ae2f000) >munmap(0x6d97c0d1000,4096) = 0 (0x0) >close(3) = 0 (0x0) >mprotect(0x6d978f3e000,4096,PROT_READ) = 0 (0x0) >mprotect(0x6d97a641000,36864,PROT_READ) = 0 (0x0) >mprotect(0x6d97bccd000,8192,PROT_READ) = 0 (0x0) >mprotect(0x6d97a641000,36864,PROT_READ|PROT_WRITE) = 0 (0x0) >mprotect(0x6d97a641000,36864,PROT_READ) = 0 (0x0) >readlink("/etc/malloc.conf",0x6d977ce5400,1024) ERR#2 'No such file or directory' >issetugid() = 0 (0x0) >mmap(0x0,2097152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_ALIGNED(21),-1,0x0) = 11286366650368 (0xa43cfe00000) >mmap(0x0,2097152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_ALIGNED(12),-1,0x0) = 11286368747520 (0xa43d0000000) >mmap(0x0,4194304,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_ALIGNED(21),-1,0x0) = 11286370844672 (0xa43d0200000) >access("/lib/geom/geom_part.so",F_OK) = 0 (0x0) >__sysctl("kern.ostype",2,0x3081f67ae54a,0x6d977ce4ac0,0x0,0) = 0 (0x0) >__sysctl("kern.hostname",2,0x3081f67ae64a,0x6d977ce4ac0,0x0,0) = 0 (0x0) >__sysctl("kern.osrelease",2,0x3081f67ae74a,0x6d977ce4ac0,0x0,0) = 0 (0x0) >__sysctl("kern.version",2,0x3081f67ae84a,0x6d977ce4ac0,0x0,0) = 0 (0x0) >__sysctl("hw.machine",2,0x3081f67ae94a,0x6d977ce4ac0,0x0,0) = 0 (0x0) >open("/lib/geom/geom_part.so",O_RDONLY|O_CLOEXEC|O_VERIFY,020040100200) = 3 (0x3) >fstat(3,{ mode=-r--r--r-- ,inode=28,size=43032,blksize=65536 }) = 0 (0x0) >mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 7531175677952 (0x6d97d0d1000) >mmap(0x0,53248,PROT_NONE,MAP_GUARD,-1,0x0) = 7531167924224 (0x6d97c96c000) >mmap(0x6d97c96c000,16384,PROT_READ,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 7531167924224 (0x6d97c96c000) >mmap(0x6d97c970000,20480,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x3000) = 7531167940608 (0x6d97c970000) >mmap(0x6d97c975000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x7000) = 7531167961088 (0x6d97c975000) >mmap(0x6d97c976000,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x7000) = 7531167965184 (0x6d97c976000) >munmap(0x6d97d0d1000,4096) = 0 (0x0) >close(3) = 0 (0x0) >modfind("g_part") = 344 (0x158) >openat(AT_FDCWD,"/dev/geom.ctl",O_RDONLY,00) = 3 (0x3) >ioctl(3,GEOM_CTL,0xa43d000a040) = 0 (0x0) >close(3) = 0 (0x0) >mmap(0x0,1112,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 11286375038976 (0xa43d0600000) >minherit(0xa43d0600000,1112,INHERIT_ZERO) = 0 (0x0) >getrandom("\^El\M^[\^^\M^K\^Y\M-y\M-H\M-="...,40,0) = 40 (0x28) >fstat(1,{ mode=p--------- ,inode=414,size=0,blksize=4096 }) = 0 (0x0) >gpart: entries '4': Invalid argument >write(1,"GPT 4\n1 freebsd-boot 3 "...,170) = 170 (0xaa) >exit(0x0) >process exit, rval = 0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 274312
: 245469