Seems like someone is playing a prank on me. My computer settings change between days and I'm certain that this version is a home-brew and not the original OS X.
Recovery/re-installation doesn't work because it restores itself after a day. How do I check if this is the original operating system?
messing around with the terminal raises a few red flags. For example:
master.passwd contains this:
nobody:*:-2:-2::0:0:Unprivileged User:/var/empty:/usr/bin/false
root:*:0:0::0:0:System Administrator:/var/root:/bin/sh
daemon:*:1:1::0:0:System Services:/var/root:/usr/bin/false
_uucp:*:4:4::0:0:Unix to Unix Copy Protocol:/var/spool/uucp:/usr/sbin/uucico
_taskgated:*:13:13::0:0:Task Gate Daemon:/var/empty:/usr/bin/false
_networkd:*:24:24::0:0:Network Services:/var/networkd:/usr/bin/false
_installassistant:*:25:25::0:0:Install Assistant:/var/empty:/usr/bin/false
_lp:*:26:26::0:0:Printing Services:/var/spool/cups:/usr/bin/false
_postfix:*:27:27::0:0:Postfix Mail Server:/var/spool/postfix:/usr/bin/false
_scsd:*:31:31::0:0:Service Configuration Service:/var/empty:/usr/bin/false
_ces:*:32:32::0:0:Certificate Enrollment Service:/var/empty:/usr/bin/false
_appstore:*:33:33::0:0:Mac App Store Service:/var/empty:/usr/bin/false
_mcxalr:*:54:54::0:0:MCX AppLaunch:/var/empty:/usr/bin/false
_appleevents:*:55:55::0:0:AppleEvents Daemon:/var/empty:/usr/bin/false
_geod:*:56:56::0:0:Geo Services Daemon:/var/db/geod:/usr/bin/false
_devdocs:*:59:59::0:0:Developer Documentation:/var/empty:/usr/bin/false
_sandbox:*:60:60::0:0:Seatbelt:/var/empty:/usr/bin/false
_mdnsresponder:*:65:65::0:0:mDNSResponder:/var/empty:/usr/bin/false
_ard:*:67:67::0:0:Apple Remote Desktop:/var/empty:/usr/bin/false
_www:*:70:70::0:0:World Wide Web Server:/Library/WebServer:/usr/bin/false
_eppc:*:71:71::0:0:Apple Events User:/var/empty:/usr/bin/false
_cvs:*:72:72::0:0:CVS Server:/var/empty:/usr/bin/false
_svn:*:73:73::0:0:SVN Server:/var/empty:/usr/bin/false
_mysql:*:74:74::0:0:MySQL Server:/var/empty:/usr/bin/false
_sshd:*:75:75::0:0:sshd Privilege separation:/var/empty:/usr/bin/false
_qtss:*:76:76::0:0:QuickTime Streaming Server:/var/empty:/usr/bin/false
_cyrus:*:77:6::0:0:Cyrus Administrator:/var/imap:/usr/bin/false
_mailman:*:78:78::0:0:Mailman List Server:/var/empty:/usr/bin/false
_appserver:*:79:79::0:0:Application Server:/var/empty:/usr/bin/false
_clamav:*:82:82::0:0:ClamAV Daemon:/var/virusmails:/usr/bin/false
_amavisd:*:83:83::0:0:AMaViS Daemon:/var/virusmails:/usr/bin/false
_jabber:*:84:84::0:0:Jabber XMPP Server:/var/empty:/usr/bin/false
_appowner:*:87:87::0:0:Application Owner:/var/empty:/usr/bin/false
_windowserver:*:88:88::0:0:WindowServer:/var/empty:/usr/bin/false
_spotlight:*:89:89::0:0:Spotlight:/var/empty:/usr/bin/false
_tokend:*:91:91::0:0:Token Daemon:/var/empty:/usr/bin/false
_securityagent:*:92:92::0:0:SecurityAgent:/var/db/securityagent:/usr/bin/false
_calendar:*:93:93::0:0:Calendar:/var/empty:/usr/bin/false
_teamsserver:*:94:94::0:0:TeamsServer:/var/teamsserver:/usr/bin/false
_update_sharing:*:95:-2::0:0:Update Sharing:/var/empty:/usr/bin/false
_installer:*:96:-2::0:0:Installer:/var/empty:/usr/bin/false
_atsserver:*:97:97::0:0:ATS Server:/var/empty:/usr/bin/false
_ftp:*:98:-2::0:0:FTP Daemon:/var/empty:/usr/bin/false
_unknown:*:99:99::0:0:Unknown User:/var/empty:/usr/bin/false
_softwareupdate:*:200:200::0:0:Software Update Service:/var/db/softwareupdate:/usr/bin/false
_coreaudiod:*:202:202::0:0:Core Audio Daemon:/var/empty:/usr/bin/false
_screensaver:*:203:203::0:0:Screensaver:/var/empty:/usr/bin/false
_locationd:*:205:205::0:0:Location Daemon:/var/db/locationd:/usr/bin/false
_trustevaluationagent:*:208:208::0:0:Trust Evaluation Agent:/var/empty:/usr/bin/false
_timezone:*:210:210::0:0:AutoTimeZoneDaemon:/var/empty:/usr/bin/false
_lda:*:211:211::0:0:Local Delivery Agent:/var/empty:/usr/bin/false
_cvmsroot:*:212:212::0:0:CVMS Root:/var/empty:/usr/bin/false
_usbmuxd:*:213:213::0:0:iPhone OS Device Helper:/var/db/lockdown:/usr/bin/false
_dovecot:*:214:6::0:0:Dovecot Administrator:/var/empty:/usr/bin/false
_dpaudio:*:215:215::0:0:DP Audio:/var/empty:/usr/bin/false
_postgres:*:216:216::0:0:PostgreSQL Server:/var/empty:/usr/bin/false
_krbtgt:*:217:-2::0:0:Kerberos Ticket Granting Ticket:/var/empty:/usr/bin/false
_kadmin_admin:*:218:-2::0:0:Kerberos Admin Service:/var/empty:/usr/bin/false
_kadmin_changepw:*:219:-2::0:0:Kerberos Change Password Service:/var/empty:/usr/bin/false
expected a command to set a master password...
There's a "VM" mounted disk hidden in /private/var/vm
it contains this file
$ cat sleepimage
and it returns:
Model: MBP121
EFI Version: 186.0.0.0.0
Built by: root#xapp160
Date: Fri Jun 14 09:21:38 PDT 2019
Revision: 186 (B&I)
ROM Version: F000_B00
Build Type: Official Build, Release
Compiler: Apple LLVM version 5.0 (clang-500.0.68) (based on LLVM 3.3svn)
Model: MBP121
EFI Version: 186.0.0.0.0
Built by: root#xapp160
Date: Fri Jun 14 09:21:38 PDT 2019
Revision: 186 (B&I)
ROM Version: F000_B00
Build Type: Official Build, Release
Compiler: Apple LLVM version 5.0 (clang-500.0.68) (based on LLVM 3.3svn)
garbled text
EFI Version: 186.0.0.0.0
Built by: root#xapp160
Date: Fri Jun 14 09:21:38 PDT 2019
Revision: 186 (B&I)
ROM Version: F000_B00
Build Type: Official Build, Release
Compiler: Apple LLVM version 5.0 (clang-500.0.68) (based on LLVM 3.3svn)
Related
I'm trying to get a Bazel build working on my MacBook Pro M1 on Monterey, and I'm having a difficult time. When I try to build a docker image, I get go toolchain errors (with --toolchain_resolution_debug='go') that look like this:
INFO: ToolchainResolution: Type #io_bazel_rules_go//go:toolchain: target platform #local_config_platform//:host: Rejected toolchain #go-auto//:go_darwin_amd64-impl; mismatching values: x86_64
INFO: ToolchainResolution: Type #io_bazel_rules_go//go:toolchain: target platform #local_config_platform//:host: Rejected toolchain #go-auto//:go_darwin_arm-impl; mismatching values: arm
INFO: ToolchainResolution: Type #io_bazel_rules_go//go:toolchain: execution platform #local_config_platform//:host: Rejected toolchain #go-auto//:go_darwin_arm64-impl; mismatching values: x86_64
Why does it say it rejects an arm64 implementation because it's not x86_64? It seems like there's something broken here.
For reference, here's bazel version:
Bazelisk version: development
Build label: 5.2.0
Build target: bazel-out/darwin_arm64-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Tue Jun 7 16:11:09 2022 (1654618269)
Build timestamp: 1654618269
Build timestamp as int: 1654618269
And some relevant bits from my WORKSPACE:
http_archive(
name = "io_bazel_rules_docker",
sha256 = "b1e80761a8a8243d03ebca8845e9cc1ba6c82ce7c5179ce2b295cd36f7e394bf",
urls = ["https://github.com/bazelbuild/rules_docker/releases/download/v0.25.0/rules_docker-v0.25.0.tar.gz"],
)
...
load("#bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
git_repository(
name = "io_bazel_rules_k8s",
remote = "https://github.com/bazelbuild/rules_k8s.git",
# branch = "master",
commit = "fee80eb69e1921c076167ebebcf5eea3d2e9c707",
shallow_since = "1655492445 -0700",
)
load("#io_bazel_rules_k8s//k8s:k8s.bzl", "k8s_repositories")
k8s_repositories()
load("#io_bazel_rules_go//go:deps.bzl", "go_download_sdk", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
go_register_toolchains()
go_download_sdk(
name = "go-auto",
)
If you'd like to build for linux x86_64 on arm, --platforms=#io_bazel_rules_go//go/toolchain:linux_amd64 works for me. The x86 container will run in emulation on the arm machine.
You could probably target an arm linux container with toolchain:linux_arm64
I can't control screen brightness in KDE(power management is enabled, but I don't see the brightness control in the power management widget. The brightness keys used to work as well, but now they aren't). I'm on the unstable channel, it was working in the 19.03 release
Battery and brightness settings (Power management widget)
Powerdevil, upower seem to be running without errors, although on startup
This seems relevant -
journalctl -xb | grep brightness
Oct 09 08:47:25 blackbox kernel: thinkpad_acpi: This ThinkPad has standard ACPI backlight brightness control, supported by the ACPI video driver
Oct 09 08:47:25 blackbox kernel: thinkpad_acpi: Disabling thinkpad-acpi brightness events by default...
Oct 09 08:47:43 blackbox xsession[1343]: invalid metadata "/run/current-system/sw/lib/qt-5.12.3/plugins/powerdevilkeyboardbrightnesscontrolaction_config.so"
Oct 09 08:47:43 blackbox xsession[1343]: invalid metadata "/run/current-system/sw/lib/qt-5.12.3/plugins/powerdevilbrightnesscontrolaction_config.so"
Oct 09 08:47:45 blackbox xsession[1343]: powerdevil: Falling back to helper to get brightness
Oct 09 08:47:45 blackbox xsession[1343]: powerdevil: "DBus Backend error: service start org.kde.powerdevil.backlighthelper failed: Bus name not found in system service directory"
System information
nix-info
system: "x86_64-linux",
multi-user?: yes,
version: nix-env (Nix) 2.3,
channels(root):
"nixos-20.03pre196201.07d4df59626, home-manager, nixos-hardware"
neofetch --stdout
xxx#blackbox
-----------------
OS: NixOS 20.03pre196201.07d4df59626 (Markhor) x86_64
Host: 20KGSBP200 ThinkPad X1 Carbon 6th
Kernel: 4.19.75
Uptime: 1 day, 4 hours, 16 mins
Packages: 1005 (nix-system), 1152 (nix-user)
Shell: zsh 5.7.1
Resolution: 2560x1440
DE: Plasma
WM: KWin
Theme: Breeze [GTK2]
Icons: breeze [GTK2]
CPU: Intel i5-8350U (8) # 3.600GHz
Memory: 3920MiB / 15919MiB
I had the same problem and fixed it by uninstalling the Nvidia proprietary driver for the GPU and used the open source Linux driver instead.
I'm new to OSX and running Mountain Lion in a Virtual Box VM. Xcode was running fine and I managed to create a simple Hello World App. I restarted the VM and when I tried to reopen my project Xcode crashed. I didn't think anything of this at the time but every time that I have relaunched Xcode since, it has frozen at this stage:
The CPU goes up to 95%ish usage and I have to force quit Xcode.
The following is in Xcode_Timestamp.hang:
Date/Time: 2013-06-07 12:02:37 +0100
OS Version: 10.8 (Build 12A269)
Architecture: x86_64
Report Version: 11
Command: Xcode
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Version: 4.6.2 (2067.2)
Build Version: 2
Project Name: IDEApplication
Source Version: 2067002000000000
App Item ID: 497799835
App External ID: 15055625
Parent: launchd [121]
PID: 353
Event: hang
Duration: 0.88s
Steps: 9 (100ms sampling interval)
Hardware model: MacPro3,1
Active cpus: 1
Free pages: 433637 pages (+16260)
Pageins: 1 pages
Pageouts: 0 pages
Process: Xcode [353]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Architecture: x86_64
Parent: launchd [121]
UID: 501
Task size: 175291 pages (-18383)
CPU Time: 0.456s
And in system.log:
Jun 7 12:16:07 imorelaptop.hkc2k3.local Dock[136]: no information back from LS about running process
Jun 7 12:16:17 imorelaptop.hkc2k3.local WindowServer[86]: CGXDisableUpdate: UI updates were forcibly disabled by application "Xcode" for over 1.00 seconds. Server has re-enabled them.
Jun 7 12:16:31 imorelaptop.hkc2k3.local WindowServer[86]: disable_update_likely_unbalanced: UI updates still disabled by application "Xcode" after 15.00 seconds (server forcibly re-enabled them after 1.00 seconds). Likely an unbalanced disableUpdate call.
Jun 7 12:16:39 imorelaptop.hkc2k3.local WindowServer[86]: reenable_update_for_connection: UI updates were finally reenabled by application "Xcode" after 23.15 seconds (server forcibly re-enabled them after 1.00 seconds)
Jun 7 12:17:11 imorelaptop.hkc2k3.local sandboxd[461] ([38]): mds(38) deny mach-lookup �#�:�*��;�j�Z��=�����~�הz�Q�F���N�m�mR���>wD+֍�T#���)�`�ثw�T78۲��r���-�j�&��ň����P�6EAM-�0b
���Q��Xh�R��S�^��
Jun 7 12:17:11 imorelaptop kernel[0]: Sandbox: sandboxd(461) deny mach-lookup com.apple.coresymbolicationd
Jun 7 12:17:11 imorelaptop.hkc2k3.local sandboxd[461] ([38]): mds(38) deny mach-lookup �#�:�*��;�j�Z��=�����~�הz�Q�F���N�m�mR���>wD+֍�T#���)�`�ثw�T78۲��r���-�j�&��ň����P�6EAM-�0b
���Q��Xh�R��S�^��
Jun 7 12:19:51 imorelaptop.hkc2k3.local WebProcess[306]: CoreAnimation: unhandled combiner function: 11
I have tried restarting my VM, increasing the RAM to 4GB (from 2GB) and reinstalling Xcode but still experiencing the same issue. I have also tried opening specific apps and files in Xcode, but the application still hangs at the same point.
I recently updated to Xcode 4.2. I also updated my new iPad 2 and iPod (latest generation) to iOS 5. I build my app and can debug them no problem.
My older iPod running iOS 4.2.1 (8C148) doesn't run and doesn't give any errors.
The top center panel says "Finished running MyApp on iPod One". (iPod One is the name of my first iPod touch)
There is a flicker at the bottom of Xcode as if it almost went into the debugger and was about to show the bottom output panel but it doesn't. A break point in main doesn't stop it either.
I have no errors and nothing to go on.
I have renewed all provisioning profiles, restored the device, selected "use for development", nothing has helped.
Since there is no feed back from Xcode I do not know what to do.
p.s. The app runs in all of the simulators fine as well.
When I initially select the iPod I see the following series of messages in the console for the devices as shown from the Organizer:
Thu Oct 20 09:42:49 unknown lockdownd[16] : 2ffea000
handle_connection: Could not receive USB message #6 from Xcode.
Killing connection Thu Oct 20 09:42:49 unknown
com.apple.mobile.lockdown[16] : Could not receive size of
message Thu Oct 20 09:42:50 unknown
/Developer/Library/Daemons/DTFetchSymbols[308] : Found paths:
Thu Oct 20 09:42:50 unknown
/Developer/Library/Daemons/DTFetchSymbols[308] : /usr/lib/dyld
Thu Oct 20 09:42:50 unknown
/Developer/Library/Daemons/DTFetchSymbols[308] :
/System/Library/Caches/com.apple.dyld/dyld_shared_cache_armv6 Thu Oct
20 09:42:50 unknown com.apple.mobile.lockdown[16] : Could not
receive size of message Thu Oct 20 09:42:50 unknown lockdownd[16]
: 2ffea000 handle_connection: Could not receive USB message #6
from Xcode. Killing connection Thu Oct 20 09:42:56 unknown
lockdownd[16] : 2ffea000 handle_connection: Could not receive
USB message #6 from MDCrashReportTool. Killing connection
I had the same problem, but I solved it. The cause
unsuported architecture (by default Xcode4.2 uses standard arch= armv7 ) -> add armv6
In addition to adding the armv6 architecture, I had to remove the armv7 entry from my apps info.plist "Required Device Capabilities" entry.
I am generating a log from which I want to remove X startup output which looks like this:
X.Org X Server 1.7.6
Release Date: 2010-03-17
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.31-607-imx51 armv7l Ubuntu
Current Operating System: Linux nvidia 2.6.33.2 #1 SMP PREEMPT Mon May
31 21:38:29 PDT 2010 armv7l
Kernel command line: mem=448M#0M nvmem=64M#448M mem=512M#512M
chipuid=097c81c6425f70d7 vmalloc=320M video=tegrafb
console=ttyS0,57600n8 usbcore.old_scheme_first=1 tegraboot=nand
root=/dev/nfs ip=:::::usb0:on rw tegra_ehci_probe_delay=5000 smp dvfs
tegrapart=recovery:1b80:a00:800,boot:2680:1000:800,environment:3780:40:800,system:38c0:2bc00:800,cache:2f5c0:4000:800,userdata:336c0:c840:800
envsector=3080
Build Date: 23 April 2010 05:19:26PM
xorg-server 2:1.7.6-2ubuntu7 (Bryce Harrington <bryce#ubuntu.com>)
Current version of pixman: 0.16.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Jun 16 19:52:00 2010
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/usr/lib/X11/xorg.conf.d"
Is there any way to do this without manually checking pattern for each line?
Possibly:
sed '1,/^(==) Using config directory: "/d'
Or, possibly:
sed '/^X.Org X Server /,/^(==) Using config directory: "/d'