Skip to content

Instantly share code, notes, and snippets.

@kallisti5
Created January 20, 2024 16:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kallisti5/a72731a6660e4c73e06ef2572afd88ec to your computer and use it in GitHub Desktop.
Save kallisti5/a72731a6660e4c73e06ef2572afd88ec to your computer and use it in GitHub Desktop.
hung unmount haikuporter
unmount: unmounting failed: Device/File/Resource busy
unmounting /Data/Code/haikuports/media-libs/harfbuzz/work-8.3.0/boot/system failed - wait and retry ...
unmount: unmounting failed: Device/File/Resource busy
unmounting /Data/Code/haikuports/media-libs/harfbuzz/work-8.3.0/boot/system failed - wait and retry ...
unmount: unmounting failed: Device/File/Resource busy
unmounting /Data/Code/haikuports/media-libs/harfbuzz/work-8.3.0/boot/system failed - wait and retry ...
unmount: unmounting failed: Device/File/Resource busy
unmounting /Data/Code/haikuports/media-libs/harfbuzz/work-8.3.0/boot/system failed - wait and retry ...
unmount: unmounting failed: Device/File/Resource busy
Unable to unmount /Data/Code/haikuports/media-libs/harfbuzz/work-8.3.0/boot/system.
FDs in use by applications:
Haikuporter could not unmount 'system' volume in chroot. Would you like to force an unmount? [y/N]y0
Forcing unmount
/bin/unmount -f /Data/Code/haikuports/media-libs/harfbuzz/work- 4356 1 0 0
/Data/Code/haikuporter> strace -t 4356
/Data/Code/haikuporter> ls /Data/Code/haikuports/media-libs/harfbuzz/work-8.3.0/system/
add-ons apps bin boot cache data demos Deskbar develop documentation haiku_loader.bios_ia32 kernel_x86_64 lib non-packaged package-links packages preferences runtime_loader servers settings share Tracker var
strace -T -s -t unmount -f /Data/Code/haikuports/media-libs/harfbuzz/work-8.3.0/system
[ 4590] <... image_relocated resumed> (41 us)
[ 4590] set_area_protection(0x2df9a, B_READ_AREA|B_EXECUTE_AREA) = 0x0 No error (66 us)
[ 4590] set_area_protection(0x2df9c, B_READ_AREA|B_EXECUTE_AREA) = 0x0 No error (24 us)
[ 4590] set_area_protection(0x2df9f, B_READ_AREA|B_EXECUTE_AREA) = 0x0 No error (20 us)
[ 4590] get_system_info(0x7f68b22c4400) = 0x0 No error (24 us)
[ 4590] get_system_info(0x7f68b22c4200) = 0x0 No error (29 us)
[ 4590] reserve_address_range([0x100100000000], B_RANDOMIZED_BASE_ADDRESS, 0x1000000000) = 0x0 No error ([0x108a3bd58000]) (46 us)
[ 4590] create_area("heap", [0x108a3bd58000], B_EXACT_ADDRESS, 0x40000, 0x0, B_READ_AREA|B_WRITE_AREA) = 0x2dfa2 ([0x108a3bd58000]) (48 us)
[ 4590] resize_area(0x2dfa2, 0xa0000) = 0x0 No error (26 us)
[ 4590] resize_area(0x2dfa2, 0xc0000) = 0x0 No error (61 us)
[ 4590] open(0xffffffff, "/dev/random", 0, 0x0) = 0x3 (39 us)
[ 4590] read(0x3, 0xffffffffffffffff, 0x1c1a6053988, 0x8) = 0x8 (20 us)
[ 4590] close(0x3) = 0x0 No error (17 us)
[ 4590] resize_area(0x2dfa2, 0xd0000) = 0x0 No error (21 us)
[ 4590] read_stat(0xffffffff, "/Data/Code/haikuports/media-libs/harfbuzz/work-8.3.0/system", true, 0x7f68b22c4670, 0x80) = 0x0 No error (59 us)
/bin/unmount -f /Data/Code/haikuports/media-libs/harfbuzz/work- 4356 1 0 0
/bin/unmount -f /Data/Code/haikuports/media-libs/harfbuzz/work- 4562 1 0 0
/bin/unmount -f /Data/Code/haikuports/media-libs/harfbuzz/work- 4580 1 0 0
/bin/unmount -f /Data/Code/haikuports/media-libs/harfbuzz/work- 4586 1 0 0
/bin/unmount -f /Data/Code/haikuports/media-libs/harfbuzz/work- 4590 1 0 0
sync command...
syslog:
KERN: sync: device 9 couldn't sync: Device/File/Resource busy
fdinfo -d /Data/Code/haikuports/media-libs/harfbuzz/work-8.3.0
1 10 R/W 7:584587 kernel_team
1 106 R 7:5436954 kernel_team
fdinfo -d /Data/Code/haikuports/media-libs/harfbuzz/work-8.3.0/system
1086 11 R 4:97880 /boot/system/servers/debug_server
1158 7 R 4:97909 /boot/system/Tracker
1158 9 R 4:97648 /boot/system/Tracker
1158 14 R 4:97727 /boot/system/Tracker
1158 15 R 4:97718 /boot/system/Tracker
1158 16 R 4:97693 /boot/system/Tracker
1161 7 R 4:97648 /boot/system/Deskbar
1497 4 R 4:98477 /boot/system/data/deskbar/menu/Applications/Terminal
1497 5 R 4:98477 /boot/system/data/deskbar/menu/Applications/Terminal
1497 7 R 4:97909 /boot/system/data/deskbar/menu/Applications/Terminal
1497 9 R 4:97648 /boot/system/data/deskbar/menu/Applications/Terminal
1503 7 R 4:97909 /bin/bash -l
1503 9 R 4:97648 /bin/bash -l
1689 7 R 4:97909 /boot/system/data/deskbar/menu/Applications/WebPositive
1689 9 R 4:97648 /boot/system/data/deskbar/menu/Applications/WebPositive
1689 16 R 4:97909 /boot/system/data/deskbar/menu/Applications/WebPositive
4375 7 R 4:97909 /bin/bash -l
4375 9 R 4:97648 /bin/bash -l
4400 7 R 4:97909 /bin/bash -l
4400 9 R 4:97648 /bin/bash -l
4518 7 R 4:97909 /bin/bash -l
4518 9 R 4:97648 /bin/bash -l
4665 7 R 4:97909 /bin/bash -l
4665 9 R 4:97648 /bin/bash -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment