sdcard write error in rufus - raspbian

I tried to write raspbian operating system to my sdcard.
I put my sdcard into sdcard reader and then tried to format it to fat32.
I can not do that with microsoft windows, so I downloaded sdformatter and my sdcard formatted successfully.
After that , I tried to write raspbian dd image into my sdcard, but I get an error and in logs I had:
Rufus version: 2.2.668
Windows version: Windows 10 64-bit
Syslinux versions: 4.07/2013-07-25, 6.03/2014-10-06
Grub versions: 0.4.6a, 2.02~beta2
Locale ID: 0x0409
Found USB 2.0 device 'Generic- Multi-Card USB Device' (0BDA:0158)
1 device found
Disk type: Removable, Sector Size: 512 bytes
Cylinders: 979, TracksPerCylinder: 255, SectorsPerTrack: 63
Partition type: MBR, NB Partitions: 1
Disk ID: 0x00000000
Drive has a Zeroed Master Boot Record
Partition 1:
Type: FAT32 (0x0b)
Size: 7.5 GB (8048869376 bytes)
Start Sector: 8192, Boot: No, Recognized: Yes
Scanning image...
'G:\2017-01-11-raspbian-jessie.img' doesn't look like an ISO image
Image has a Zeroed Master Boot Record
'G:\2017-01-11-raspbian-jessie.img' is a bootable disk image
Using image: 2017-01-11-raspbian-jessie.img
Format operation started
Requesting disk access...
Opened drive \\.\PHYSICALDRIVE1 for write access
Will use 'F:' as volume mountpoint
I/O boundary checks disabled
Analyzing existing boot records...
Drive has a Zeroed Master Boot Record
Volume has an unknown Partition Boot Record
Deleting partitions...
Clearing MBR/PBR/GPT structures...
Erasing 128 sectors
Writing Image...
write error: [0x00000002] The system cannot find the file specified.
RETRYING...
write error: [0x00000002] The system cannot find the file specified.
RETRYING...
write error: [0x00000037] The specified network resource or device is no longer available.
0 devices found
Found USB 2.0 device 'Generic- Multi-Card USB Device' (0BDA:0158)
1 device found
No volume information for drive 0x81
Disk type: Removable, Sector Size: 512 bytes
Cylinders: 979, TracksPerCylinder: 255, SectorsPerTrack: 63
Partition type: MBR, NB Partitions: 1
Disk ID: 0x00000001
Drive does not have an x86 Master Boot Record
Partition 1:
Type: Small FAT16 (0x04)
Size: 7.5 GB (8053063680 bytes)
Start Sector: 0, Boot: No, Recognized: Yes
Found USB 2.0 device 'Generic- Multi-Card USB Device' (0BDA:0158)
1 device found
No volume information for drive 0x81
Disk type: Removable, Sector Size: 512 bytes
Cylinders: 979, TracksPerCylinder: 255, SectorsPerTrack: 63
Partition type: MBR, NB Partitions: 1
Disk ID: 0x00000001
Drive does not have an x86 Master Boot Record
Partition 1:
Type: Small FAT16 (0x04)
Size: 7.5 GB (8053063680 bytes)
Start Sector: 0, Boot: No, Recognized: Yes
Found USB 2.0 device 'Generic- Multi-Card USB Device' (0BDA:0158)
1 device found
Disk type: Removable, Sector Size: 512 bytes
Cylinders: 979, TracksPerCylinder: 255, SectorsPerTrack: 63
Partition type: MBR, NB Partitions: 2
Disk ID: 0x623FDBF4
Drive has a Zeroed Master Boot Record
Partition 1:
Type: FAT32 LBA (0x0c)
Size: 63 MB (66060288 bytes)
Start Sector: 8192, Boot: No, Recognized: Yes
Partition 2:
Type: GNU/Linux (0x83)
Size: 4 GB (4301258752 bytes)
Start Sector: 137216, Boot: No, Recognized: Yes
Found USB 2.0 device 'Generic- Multi-Card USB Device' (0BDA:0158)
1 device found
Disk type: Removable, Sector Size: 512 bytes
Cylinders: 979, TracksPerCylinder: 255, SectorsPerTrack: 63
Partition type: MBR, NB Partitions: 2
Disk ID: 0x623FDBF4
Drive has a Zeroed Master Boot Record
Partition 1:
Type: FAT32 LBA (0x0c)
Size: 63 MB (66060288 bytes)
Start Sector: 8192, Boot: No, Recognized: Yes
Partition 2:
Type: GNU/Linux (0x83)
Size: 4 GB (4301258752 bytes)
Start Sector: 137216, Boot: No, Recognized: Yes

Raspberry Pi has its own method of writing to the SD card. I would try that method to reduce the chance of write errors. https://www.raspberrypi.org/documentation/installation/installing-images/windows.md
It uses a specific program to write the image, which needs to be ran as administrator.

Using the official tool "Raspberry Pi Imager" worked fine for me.
Also, be sure to not use USB 3.0 card reader (2.0 recommended).

Related

VFIO - igpu passthrough on Intel 4770 to a virtual machine (Host Os Proxmox)

I am running the latest Proxmox (6.3-3 at this time, fully updated) and attempting to passthrough the onboard GPU on my Core i7 4770 CPU to a Windows 10 VM. I have already enabled iommu on the system and also told grub to not let the system claim the device by adding intel_iommu=on video=efifb:off to the grub kernel options. I've verified IOMMU is actually available by checking dmesg
# dmesg | grep -e DMAR -e IOMMU -e AMD-Vi
[ 0.007556] ACPI: DMAR 0x00000000D88C33C8 0000B8 (v01 INTEL HSW 00000001 INTL 00000001)
[ 0.083595] DMAR: IOMMU enabled
[ 0.180445] DMAR: Host address width 39
[ 0.180446] DMAR: DRHD base: 0x000000fed90000 flags: 0x0
[ 0.180449] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap c0000020660462 ecap f0101a
[ 0.180449] DMAR: DRHD base: 0x000000fed91000 flags: 0x1
[ 0.180451] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap d2008020660462 ecap f010da
[ 0.180452] DMAR: RMRR base: 0x000000d8842000 end: 0x000000d884efff
[ 0.180452] DMAR: RMRR base: 0x000000db000000 end: 0x000000df1fffff
[ 0.180454] DMAR-IR: IOAPIC id 8 under DRHD base 0xfed91000 IOMMU 1
[ 0.180454] DMAR-IR: HPET id 0 under DRHD base 0xfed91000
[ 0.180455] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.
[ 0.180831] DMAR-IR: Enabled IRQ remapping in x2apic mode
[ 0.874497] DMAR: No ATSR found
[ 0.874527] DMAR: dmar0: Using Queued invalidation
[ 0.874531] DMAR: dmar1: Using Queued invalidation
[ 1.026818] DMAR: Intel(R) Virtualization Technology for Directed I/O
I've also added the iGPU (and associated audio device) to blacklist to prevent the host OS from claiming it:
# cat /etc/modprobe.d/blacklist.conf
blacklist snd_hda_intel
blacklist snd_hda_codec_hdmi
blacklist i915
# cat /etc/modprobe.d/vfio.conf
options vfio-pci ids=8086:0412 disable_vga=1
Finally, I setup a new Windows 10 VM on my host along with the q35 chipset and uEFI (OVMF) BIOS as this is apparently the most "compatible" way to pass through hardware. I've also got an external screen plugged into the HDMI port of my Proxmox host. I understand when the VM boots up, I should see this screen come to life. The qemu config file of the VM is below:
agent: 1
balloon: 0
bios: ovmf
boot: order=virtio0;ide2;net0
cores: 4
efidisk0: local-1tb-nvme-thinpool:vm-118-disk-1,size=4M
hostpci0: 00:02,pcie=1,x-vga=1
ide2: none,media=cdrom
machine: q35
memory: 4096
name: VFIOtest
net0: virtio=52:D7:02:CA:B6:2E,bridge=vmbr0,firewall=1
numa: 0
ostype: win10
scsihw: virtio-scsi-pci
smbios1: uuid=cd9d41e9-d8c2-465e-94dc-798aa8e517e2
sockets: 1
virtio0: local-1tb-nvme-thinpool:vm-118-disk-0,backup=0,discard=on,size=60G
vmgenid: 2cb8ce5e-5dda-4870-9cf3-774bb025057f
Once I've done that I can boot the VM. As soon as I boot the VM, the screen goes to standby indicating no signal. I can however then RDP into the system and I see that the Intel HD Graphics 4600 is visible in device manager. So I installed the latest drivers from the Intel website. Unfortunately, the device will not start and shows an exclamation mark next to it. The Device Status shows
Windows has stopped this device because it has reported problems. (Code 43)
Unfortunately, the code 43 error just means something is wrong, it isn't very specific on what is causing this.
Not too sure what to try from this point on - any assistance on where to continue fixing this would be useful.
Code 43 is a NVIDIA specific error; you will need a way to mask the true CPU by using the FancyId parameter. Here is a link to a video that covers some of the process revolving around the error you are seeing.
Can you edit the original post to contain your grub config file? There are some more recent changes to Proxmox 6.3 that might need to be reconfigured; there are almost no articles about setting up passthrough on 6.3.
I found it came down to setting the CPU model during VM creation. Changing it after VM creation does nothing so something must be set during creation. None of the other guides worked for me so I solved the problem and made my own guide https://elijahliedtke.medium.com/home-lab-guides-proxmox-6-pci-e-passthrough-with-nvidia-43ccfb9424de

Using tensoreflow with rocm

I am setting up a tensorflow based machine learning workspace on my AMD (RavenRidge APU) laptop using ROCM (Ubuntu HP envy x360 Ryzen 5 2500u)
I have installed rocm and tried using a basic tensorflow script but I get HIP errors. DOes this mean that my GPU is not compatible with rocm?
2019-06-14 21:51:59.142628: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1189] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 7538 MB memory) -> physical GPU (device: 0, name: AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx, pci bus id: 0000:03:00.0)
2019-06-14 21:51:59.221889: E tensorflow/stream_executor/rocm/rocm_driver.cc:601] failed to allocate 7.36G (7905050624 bytes) from device: hipError_t(1002)
2019-06-14 21:51:59.221972: E tensorflow/stream_executor/rocm/rocm_driver.cc:601] failed to allocate 6.62G (7114545152 bytes) from device: hipError_t(1002)
2019-06-14 21:51:59.221997: E tensorflow/stream_executor/rocm/rocm_driver.cc:601] failed to allocate 5.96G (6403090432 bytes) from device: hipError_t(1002)
2019-06-14 21:51:59.222021: E tensorflow/stream_executor/rocm/rocm_driver.cc:601] failed to allocate 5.37G (5762781184 bytes) from device: hipError_t(1002)
2019-06-14 21:51:59.222054: E tensorflow/stream_executor/rocm/rocm_driver.cc:601] failed to allocate 4.83G (5186503168 bytes) from device: hipError_t(1002)
2019-06-14 21:51:59.222090: E tensorflow/stream_executor/rocm/rocm_driver.cc:601] failed to allocate 4.35G (4667852800 bytes) from device: hipError_t(1002)
2019-06-14 21:52:05.830021: E tensorflow/stream_executor/rocm/rocm_driver.cc:461] failed to memset memory: HIP_ERROR_InvalidValue
I got the same error on Ryzen 5 2400G. Here's github thread discussing the issue.
https://github.com/ROCmSoftwarePlatform/tensorflow-upstream/issues/277
From comment #2
Hi Andreas. Our APUs are currently not supported by various components in the ROCm stack. Details on hardware support can be found here: https://github.com/RadeonOpenCompute/ROCm#supported-gpus
ROCm officially supports AMD GPUs that use following chips:
GFX8 GPUs
"Fiji" chips, such as on the AMD Radeon R9 Fury X and Radeon Instinct MI8
"Polaris 10" chips, such as on the AMD Radeon RX 580 and Radeon Instinct MI6
GFX9 GPUs
"Vega 10" chips, such as on the AMD Radeon RX Vega 64 and Radeon Instinct MI25
"Vega 7nm" chips, such as on the Radeon Instinct MI50, Radeon Instinct MI60 or AMD Radeon VII
I'm afraid that ROCm-HIP is not currently fully supported because of the BIOS of the mainboard.
plz see this.
https://github.com/RadeonOpenCompute/ROCm/wiki#not-supported-or-limited-support-under-rocm

OS X Yosemite 10.10 keeps crashing on usb WiMax eject/unplug

My OS X Yosemite 10.10 keeps getting crashed on USB WiMax eject/unplug. It was working fine with Mavericks. After upgrade whenever I eject or unplug USB WiMax devices, Yosemite crashes and restart showing the error screen in different languages
Error I am getting is called kernel panic. "Your computer restarted because of a problem. Press any key or......"
MacBook Specs:
MacBook Pro (13-inch, Mid 2012) Intel Based
Processor: 2.5 GHz Intel Core i5
Memory: 4 GB 1600 MHz DDR3
Any fix for this???
*** Panic Report ***
panic(cpu 0 caller 0xffffff8002c1e80a): Kernel trap at 0xffffff800305bc54, type 14=page fault, registers:
CR0: 0x000000008001003b, CR2: 0xffffff806d24f000, CR3: 0x0000000005a19000, CR4: 0x00000000001626e0
RAX: 0x0000000000000000, RBX: 0xffffff7f839bcf58, RCX: 0x00000000035d0000, RDX: 0xffffff800daf8140
RSP: 0xffffff809c89be70, RBP: 0xffffff809c89be80, RSI: 0xffffff7f839bcf58, RDI: 0xffffff806d24f000
R8: 0x0000000000000004, R9: 0xffffff800f20cd50, R10: 0x0000006cf917b392, R11: 0x0000006cf87f6395
R12: 0x0000000000000000, R13: 0xffffff8003310688, R14: 0xffffff806d24f000, R15: 0xffffff7f839b9cfc
RFL: 0x0000000000010286, RIP: 0xffffff800305bc54, CS: 0x0000000000000008, SS: 0x0000000000000010
Fault CR2: 0xffffff806d24f000, Error code: 0x0000000000000000, Fault CPU: 0x0
Backtrace (CPU 0), Frame : Return Address
0xffffff809c89bb20 : 0xffffff8002b3a811
0xffffff809c89bba0 : 0xffffff8002c1e80a
0xffffff809c89bd60 : 0xffffff8002c3a443
0xffffff809c89bd80 : 0xffffff800305bc54
0xffffff809c89be80 : 0xffffff7f839b9d13
0xffffff809c89bea0 : 0xffffff80030db3cd
0xffffff809c89bf00 : 0xffffff8002b6be13
0xffffff809c89bfb0 : 0xffffff8002c192c7
Kernel Extensions in backtrace:
com.apple.driver.AppleUSBCDCECMData(4.2.2b5)[762A4700-2305-3989-8E9B-D107BDB0A47E]#0xffffff7f839b8000->0xffffff7f839bcfff
dependency: com.apple.iokit.IONetworkingFamily(3.2)[247581D8-DFC5-3AAE-B079-3D13F5514C2B]#0xffffff7f836fd000
dependency: com.apple.iokit.IOUSBFamily(705.4.14)[E15E9DC8-410F-3612-8371-E5FECD939E0D]#0xffffff7f8373c000
BSD process name corresponding to current thread: kernel_task
Mac OS version:
14A389
Kernel version:
Darwin Kernel Version 14.0.0: Fri Sep 19 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE_X86_64
Kernel UUID: 89E10306-BC78-3A3B-955C-7C4922577E61
Kernel slide: 0x0000000002800000
Kernel text base: 0xffffff8002a00000
__HIB text base: 0xffffff8002900000
System model name: MacBookPro9,2 (Mac-6F01561E16C75D06)
System uptime in nanoseconds: 468025722807
last loaded kext at 110284838526: com.apple.filesystems.cd9660 1.4.4 (addr 0xffffff7f848e5000, size 40960)
last unloaded kext at 233663916476: com.apple.driver.AirPort.Brcm4331 800.20.24 (addr 0xffffff7f845b3000, size 2043904)
loaded kexts:
com.apple.filesystems.cd9660 1.4.4
com.apple.driver.AudioAUUC 1.70
com.apple.iokit.IOBluetoothSerialManager 4.3.0f10
com.apple.driver.AGPM 100.14.37
com.apple.driver.X86PlatformShim 1.0.0
com.apple.filesystems.autofs 3.0
com.apple.driver.AppleOSXWatchdog 1
com.apple.driver.AppleMikeyHIDDriver 124
com.apple.driver.AppleUpstreamUserClient 3.6.1
com.apple.driver.AppleUSBCDCECMData 4.2.2b5
com.apple.driver.AppleHDA 266.5
com.apple.driver.AppleIntelHD4000Graphics 10.0.0
com.apple.iokit.IOUserEthernet 1.0.1
com.apple.driver.AppleMikeyDriver 266.5
com.apple.driver.AppleThunderboltIP 2.0.2
com.apple.driver.AppleBacklight 170.4.12
com.apple.driver.AppleSMCLMU 2.0.4d1
com.apple.driver.AppleMCCSControl 1.2.10
com.apple.driver.AppleIntelFramebufferCapri 10.0.0
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 4.3.0f10
com.apple.driver.AppleSMCPDRC 1.0.0
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.AppleHWAccess 1
com.apple.driver.AppleHV 1
com.apple.driver.AppleLPC 1.7.3
com.apple.driver.AppleUSBCDC 4.2.2b5
com.apple.driver.SMCMotionSensor 3.0.4d1
com.apple.driver.AppleUSBTCButtons 240.2
com.apple.driver.AppleUSBTCKeyboard 240.2
com.apple.driver.AppleIRController 327.5
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 35
com.apple.iokit.SCSITaskUserClient 3.7.0
com.apple.driver.XsanFilter 404
com.apple.iokit.IOAHCIBlockStorage 2.6.5
com.apple.driver.AppleSDXC 1.6.5
com.apple.iokit.AppleBCM5701Ethernet 10.1.2b3
com.apple.driver.AppleUSBHub 705.4.1
com.apple.driver.AppleAHCIPort 3.0.7
com.apple.driver.AppleUSBXHCI 705.4.14
com.apple.driver.AirPort.Brcm4360 900.19.8
com.apple.driver.AppleFWOHCI 5.5.2
com.apple.driver.AppleUSBEHCI 705.4.14
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.driver.AppleRTC 2.0
com.apple.driver.AppleACPIButtons 3.1
com.apple.driver.AppleHPET 1.8
com.apple.driver.AppleSMBIOS 2.1
com.apple.driver.AppleACPIEC 3.1
com.apple.driver.AppleAPIC 1.7
com.apple.driver.AppleIntelCPUPowerManagementClient 218.0.0
com.apple.nke.applicationfirewall 161
com.apple.security.quarantine 3
com.apple.security.TMSafetyNet 8
com.apple.driver.AppleIntelCPUPowerManagement 218.0.0
com.apple.kext.triggers 1.0
com.apple.iokit.IOUSBMassStorageClass 3.7.0
com.apple.iokit.IOSerialFamily 11
com.apple.driver.DspFuncLib 266.5
com.apple.kext.OSvKernDSPLib 1.15
com.apple.iokit.IOAudioFamily 200.6
com.apple.vecLib.kext 1.2.0
com.apple.driver.AppleUSBCDCECMControl 4.2.2b5
com.apple.iokit.IOSurface 97
com.apple.iokit.IOFireWireIP 2.2.6
com.apple.driver.AppleBacklightExpert 1.1.0
com.apple.iokit.IONDRVSupport 2.4.1
com.apple.driver.AppleSMBusController 1.0.13d1
com.apple.iokit.IOAcceleratorFamily2 156.4
com.apple.AppleGraphicsDeviceControl 3.7.21
com.apple.iokit.IOBluetoothHostControllerUSBTransport 4.3.0f10
com.apple.iokit.IOBluetoothFamily 4.3.0f10
com.apple.iokit.IOUSBUserClient 705.4.0
com.apple.driver.X86PlatformPlugin 1.0.0
com.apple.driver.AppleHDAController 266.5
com.apple.iokit.IOGraphicsFamily 2.4.1
com.apple.iokit.IOHDAFamily 266.5
com.apple.driver.AppleSMBusPCI 1.0.12d1
com.apple.driver.IOPlatformPluginFamily 5.8.0d49
com.apple.driver.AppleSMC 3.1.9
com.apple.driver.AppleUSBMultitouch 245.2
com.apple.iokit.IOUSBHIDDriver 705.4.0
com.apple.driver.AppleUSBMergeNub 705.4.0
com.apple.driver.AppleUSBComposite 705.4.9
com.apple.driver.CoreStorage 471
com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.7.0
com.apple.iokit.IOBDStorageFamily 1.7
com.apple.iokit.IODVDStorageFamily 1.7.1
com.apple.iokit.IOCDStorageFamily 1.7.1
com.apple.driver.AppleThunderboltDPInAdapter 4.0.6
com.apple.driver.AppleThunderboltDPAdapterFamily 4.0.6
com.apple.driver.AppleThunderboltPCIDownAdapter 2.0.2
com.apple.iokit.IOAHCISerialATAPI 2.6.1
com.apple.iokit.IOSCSIArchitectureModelFamily 3.7.0
com.apple.iokit.IOEthernetAVBController 1.0.3b3
com.apple.driver.AppleThunderboltNHI 3.1.7
com.apple.iokit.IOThunderboltFamily 4.2.1
com.apple.iokit.IOAHCIFamily 2.7.0
com.apple.iokit.IO80211Family 700.52
com.apple.driver.mDNSOffloadUserClient 1.0.1b8
com.apple.iokit.IONetworkingFamily 3.2
com.apple.iokit.IOFireWireFamily 4.5.6
com.apple.iokit.IOUSBFamily 705.4.14
com.apple.driver.AppleEFINVRAM 2.0
com.apple.driver.AppleEFIRuntime 2.0
com.apple.iokit.IOHIDFamily 2.0.0
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 300.0
com.apple.kext.AppleMatch 1.0.0d1
com.apple.driver.AppleKeyStore 2
com.apple.driver.AppleMobileFileIntegrity 1.0.5
com.apple.driver.AppleCredentialManager 1.0
com.apple.driver.DiskImages 389.1
com.apple.iokit.IOStorageFamily 2.0
com.apple.iokit.IOReportFamily 31
com.apple.driver.AppleFDEKeyStore 28.30
com.apple.driver.AppleACPIPlatform 3.1
com.apple.iokit.IOPCIFamily 2.9
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.corecrypto 1.0
com.apple.kec.Libm 1
com.apple.kec.pthread 1
Model: MacBookPro9,2, BootROM MBP91.00D3.B08, 2 processors, Intel Core i5, 2.5 GHz, 4 GB, SMC 2.2f44
Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333235533643465238432D50422020
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333235533643465238432D50422020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xF5), Broadcom BCM43xx 1.0 (7.15.124.12.8)
Bluetooth: Version 4.3.0f10 14890, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Network Service: WiMAX USB Card, Ethernet, en3
Serial ATA Device: TOSHIBA MK5065GSXF, 500.11 GB
Serial ATA Device: MATSHITADVD-R UJ-8A8
USB Device: Hub
USB Device: WiMAX USB Card
USB Device: Hub
USB Device: Apple Internal Keyboard / Trackpad
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: IR Receiver
USB Device: USB OPTICAL MOUSE
USB Device: Hub
USB Device: FaceTime HD Camera (Built-in)
Thunderbolt Bus: MacBook Pro, Apple Inc., 25.1
I have been having the same problem. Also using a laCie external hard drive with thunderbolt. The only solution I found is to do a safe boot (hold down the shift key while rebooting -- it will take several minutes to boot). Then I turn off the wifi and restart. Back to normal. Until I try to eject again!

OS X frequent crash. printer? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I usually don't use OS X because I run a linux partition. Been needing to access xcode so I've been using it again. It just shuts off all of a sudden and reboots. It seems like it does it more often with my printer plugged into USB. I'm running Mint and Blag on it, but I have never had any issues when running on those OSs even with the printer plugged in. Anyone make heads or tales of this stack?
Interval Since Last Panic Report: 17556 sec
Panics Since Last Report: 2
Anonymous UUID: 6DA1700F-1927-B6CB-7922-15F95FA2CC21
Wed Sep 11 18:42:32 2013
panic(cpu 0 caller 0xffffff80292ac90b): Releasing non-exclusive RW lock without a reader refcount!
Backtrace (CPU 0), Frame : Return Address
0xffffff8119993820 : 0xffffff802921d626
0xffffff8119993890 : 0xffffff80292ac90b
0xffffff81199938b0 : 0xffffff802931c09c
0xffffff8119993ae0 : 0xffffff8029308fab
0xffffff8119993b90 : 0xffffff80292fbb49
0xffffff8119993c40 : 0xffffff80292fc314
0xffffff8119993f50 : 0xffffff80295e182a
0xffffff8119993fb0 : 0xffffff80292ced33
BSD process name corresponding to current thread: installd
Mac OS version:
12C60
Kernel version:
Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu- 2050.18.24~1/RELEASE_X86_64
Kernel UUID: 69A5853F-375A-3EF4-9247-478FD0247333
Kernel slide: 0x0000000029000000
Kernel text base: 0xffffff8029200000
System model name: Macmini5,1 (Mac-8ED6AF5B48C039E1)
System uptime in nanoseconds: 508482133713
last loaded kext at 31448390032: com.apple.driver.AppleHWSensor 1.9.5d0 (addr 0xffffff7faaa92000, size 36864)
last unloaded kext at 102515839551: com.apple.driver.AppleUSBUHCI 5.2.5 (addr 0xffffff7fa9b17000, size 65536)
loaded kexts:
com.apple.driver.AppleHWSensor 1.9.5d0
com.apple.driver.AudioAUUC 1.60
com.apple.iokit.IOBluetoothSerialManager 4.0.9f33
com.apple.driver.ApplePlatformEnabler 2.0.5d4
com.apple.driver.AGPM 100.12.69
com.apple.driver.AppleMikeyHIDDriver 122
com.apple.filesystems.autofs 3.0
com.apple.driver.AppleHDA 2.3.1f2
com.apple.driver.AppleMikeyDriver 2.3.1f2
com.apple.iokit.BroadcomBluetoothHCIControllerUSBTransport 4.0.9f33
com.apple.driver.AppleUpstreamUserClient 3.5.10
com.apple.driver.AppleMCCSControl 1.0.33
com.apple.driver.AppleSMCPDRC 1.0.0
com.apple.iokit.IOUserEthernet 1.0.0d1
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.ApplePolicyControl 3.2.11
com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0
com.apple.driver.AppleLPC 1.6.0
com.apple.driver.AppleIntelHD3000Graphics 8.0.0
com.apple.driver.AppleIntelSNBGraphicsFB 8.0.0
com.apple.driver.AppleIRController 320.15
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 34
com.apple.driver.XsanFilter 404
com.apple.iokit.IOAHCIBlockStorage 2.2.2
com.apple.driver.AppleUSBHub 5.2.5
com.apple.driver.AppleFWOHCI 4.9.6
com.apple.driver.AirPort.Brcm4331 602.15.22
com.apple.iokit.AppleBCM5701Ethernet 3.2.5b3
com.apple.driver.AppleUSBEHCI 5.4.0
com.apple.driver.AppleAHCIPort 2.4.1
com.apple.driver.AppleSDXC 1.2.2
com.apple.driver.AppleEFINVRAM 1.6.1
com.apple.driver.AppleACPIButtons 1.6
com.apple.driver.AppleRTC 1.5
com.apple.driver.AppleHPET 1.7
com.apple.driver.AppleSMBIOS 1.9
com.apple.driver.AppleACPIEC 1.6
com.apple.driver.AppleAPIC 1.6
com.apple.driver.AppleIntelCPUPowerManagementClient 196.0.0
com.apple.nke.applicationfirewall 4.0.39
com.apple.security.quarantine 2
com.apple.driver.AppleIntelCPUPowerManagement 196.0.0
com.apple.iokit.IOSerialFamily 10.0.6
com.apple.kext.triggers 1.0
com.apple.driver.DspFuncLib 2.3.1f2
com.apple.iokit.IOAudioFamily 1.8.9fc10
com.apple.kext.OSvKernDSPLib 1.6
com.apple.iokit.IOFireWireIP 2.2.5
com.apple.iokit.AppleBluetoothHCIControllerUSBTransport 4.0.9f33
com.apple.driver.AppleUSBMergeNub 5.2.5
com.apple.driver.AppleSMBusController 1.0.10d0
com.apple.iokit.IOSurface 86.0.3
com.apple.iokit.IOBluetoothFamily 4.0.9f33
com.apple.driver.AppleGraphicsControl 3.2.11
com.apple.driver.IOPlatformPluginLegacy 1.0.0
com.apple.driver.IOPlatformPluginFamily 5.2.0d16
com.apple.driver.AppleSMC 3.1.4d2
com.apple.driver.AppleSMBusPCI 1.0.10d0
com.apple.iokit.IONDRVSupport 2.3.5
com.apple.driver.AppleHDAController 2.3.1f2
com.apple.iokit.IOHDAFamily 2.3.1f2
com.apple.iokit.IOGraphicsFamily 2.3.5
com.apple.iokit.IOSCSIArchitectureModelFamily 3.5.1
com.apple.driver.AppleThunderboltDPOutAdapter 1.8.5
com.apple.driver.AppleThunderboltDPInAdapter 1.8.5
com.apple.driver.AppleThunderboltDPAdapterFamily 1.8.5
com.apple.driver.AppleThunderboltPCIDownAdapter 1.2.5
com.apple.iokit.IOUSBHIDDriver 5.2.5
com.apple.driver.AppleUSBComposite 5.2.5
com.apple.iokit.IOUSBUserClient 5.2.5
com.apple.driver.AppleThunderboltNHI 1.6.0
com.apple.iokit.IOThunderboltFamily 2.1.1
com.apple.iokit.IOFireWireFamily 4.5.5
com.apple.iokit.IO80211Family 500.15
com.apple.iokit.IOEthernetAVBController 1.0.2b1
com.apple.iokit.IONetworkingFamily 3.0
com.apple.iokit.IOAHCIFamily 2.2.1
com.apple.iokit.IOUSBFamily 5.4.0
com.apple.driver.AppleEFIRuntime 1.6.1
com.apple.iokit.IOHIDFamily 1.8.0
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 220
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 7
com.apple.driver.DiskImages 344
com.apple.iokit.IOStorageFamily 1.8
com.apple.driver.AppleKeyStore 28.21
com.apple.driver.AppleACPIPlatform 1.6
com.apple.iokit.IOPCIFamily 2.7.2
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.corecrypto 1.0
Model: Macmini5,1, BootROM MM51.0077.B10, 2 processors, Intel Core i5, 2.3 GHz, 8 GB, SMC 1.76f0
Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 512 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1333 MHz, 0x802C, 0x31364A54463531323634485A2D3147344D31
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1333 MHz, 0x802C, 0x31364A54463531323634485A2D3147344D31
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xE4), Broadcom BCM43xx 1.0 (5.106.98.81.22)
Bluetooth: Version 4.0.9f33 10885, 2 service, 18 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: APPLE HDD HTS547550A9E384, 500.11 GB
USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0xfd100000 / 2
USB Device: USB Receiver, 0x046d (Logitech Inc.), 0xc52b, 0xfd130000 / 4
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd110000 / 3
USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0xfa100000 / 2
USB Device: HP LaserJet 3050, 0x03f0 (Hewlett Packard), 0x3217, 0xfa130000 / 4
USB Device: BRCM20702 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000 / 3
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8281, 0xfa113000 / 7
Updated to 10.8.4 and problem solved. This solution came from Apple Support, apparently 10.8.2 commonly has this issue. Although I dislike forced updates, this solution worked.

java.lang.OutOfMemoryError: requested 16 bytes for CHeapObj-new. Out of swap space?

I got this error on trying to get the Java search process UP(start a java process). I am setting the address space using the RLIMIT_AS.
Please help me to get past this error.
I have doubts about the VM Arguements. (See below).
Is there any way to get past this issue without changing the configurations. (VM Arguements)
A fatal error has been detected by the Java Runtime Environment:
java.lang.OutOfMemoryError: requested 16 bytes for CHeapObj-new.
Out of swap space?
Internal Error (allocation.inline.hpp:39), pid=16994,
tid=1097390400
Error: CHeapObj-new
JRE version: 6.0_21-b06
Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0-b16 mixed mode
linux-amd64 )
If you would like to submit a bug report, please visit:
http://java.sun.com/webapps/bugreport/crash.jsp
--------------- T H R E A D ---------------
Current thread (0x00000000489a7800):
JavaThread "main" [_thread_in_vm,
id=17043,
stack(0x000000004158d000,0x000000004168e000)]
Stack:
[0x000000004158d000,0x000000004168e000],
sp=0x00000000416897f0, free
space=3f10000000000000018k
VM state:not at safepoint (normal
execution)
VM Mutex/Monitor currently owned by a
thread: None
Heap PSYoungGen total 38208K,
used 24989K [0x00002aaae8f80000,
0x00002aaaeba20000,
0x00002aab03a20000) eden space
32768K, 76% used
[0x00002aaae8f80000,0x00002aaaea7e7518,0x00002aaaeaf80000)
from space 5440K, 0% used
[0x00002aaaeb4d0000,0x00002aaaeb4d0000,0x00002aaaeba20000)
to space 5440K, 0% used
[0x00002aaaeaf80000,0x00002aaaeaf80000,0x00002aaaeb4d0000)
PSOldGen total 87424K, used 0K
[0x00002aaab3a20000,
0x00002aaab8f80000,
0x00002aaae8f80000) object space
87424K, 0% used
[0x00002aaab3a20000,0x00002aaab3a20000,0x00002aaab8f80000)
PSPermGen total 21248K, used
10141K [0x00002aaaae620000,
0x00002aaaafae0000,
0x00002aaab3a20000) object space
21248K, 47% used
[0x00002aaaae620000,0x00002aaaaf007410,0x00002aaaafae0000)
VM Arguments: jvm_args: -Xms128M
-Xmx1280M -D.config=path -D.home=path1 -D .logfile=path2 java_command: com. .base.Server Launcher Type:
SUN_STANDARD
OS:CentOS release 5.5 (Final)
uname:Linux 2.6.18-194.el5 #1 SMP Fri
Apr 2 14:58:14 EDT 2010 x86_64
libc:glibc 2.5 NPTL 2.5 rlimit: STACK
10240k, CORE 1000001k, NPROC 24576,
NOFILE 4096, AS 1835008k load
average:1.87 0.45 0.22
CPU:total 2 (1 cores per cpu, 1
threads per core) family 6 model 46
stepping 6, cmov, cx8, fxsr, mmx, sse,
sse2, sse3, ssse3, sse4.1, sse4.2,
popcnt
Memory: 4k page, physical
2959608k(2057540k free), swap
4096532k(4096532k free)
vm_info: Java HotSpot(TM) 64-Bit
Server VM (17.0-b16) for linux-amd64
JRE (1.6.0_21-b06), built on Jun 22
2010 01:10:00 by "java_re" with gcc
3.2.2 (SuSE Linux)
time: Tue Mar 22 03:08:27 2011 elapsed
time: 5 seconds
What I did was google the Internal Error (allocation.inline.hpp:39) mesage and found this page http://forums.oracle.com/forums/thread.jspa?messageID=5203404 suggesting the swap space limit was causing the problem (even it shouldn't do so) after removing the limit, the problem went away.