Skip to content

Instantly share code, notes, and snippets.

[B#339] radeon: mmap failed, errno: 12
[B#339] #
[B#339] # A fatal error has been detected by the Java Runtime Environment:
[B#339] #
[B#339] # SIGSEGV (0xb) at pc=0x00007fdda2c22a01, pid=4601, tid=140590993209088
[B#339] #
[B#339] # JRE version: OpenJDK Runtime Environment (7.0-b01) (build 1.7.0-91-b01)
[B#339] # Java VM: OpenJDK 64-Bit Server VM (24.91-b01 mixed mode linux-amd64 compressed oops)
[B#339] # Problematic frame:
[B#339] # C [radeonsi_dri.so+0x1fea01] _save_Vertex3fv+0x81
mmap(NULL, 32768, PROT_READ|PROT_WRITE, MAP_SHARED, 97, 0x778ccf000) = 0x7f84a49d9000
mmap(NULL, 32768, PROT_READ|PROT_WRITE, MAP_SHARED, 97, 0x778cd7000) = 0x7f84a49d1000
mmap(NULL, 32768, PROT_READ|PROT_WRITE, MAP_SHARED, 97, 0x778cdf000) = 0x7f84a49c9000
mmap(NULL, 32768, PROT_READ|PROT_WRITE, MAP_SHARED, 97, 0x778c23000) = -1 ENOMEM (Cannot allocate memory)
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} ---
subnet 192.168.2.0 netmask 255.255.255.0 {
option domain-search "localnet";
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.2.255;
option routers 192.168.2.1;
option domain-name-servers 192.168.2.1;
range 192.168.2.100 192.168.2.200;
next-server 192.168.2.61;
if exists user-class and option user-class = "iPXE" {
filename "http://c2d.localnet/boot.php?mac=${net0/mac}&asset=${asset:uristring}";
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.boot.initrd.iscsi;
fileSystems = attrValues config.fileSystems ++ config.swapDevices;
iscsiDevs = filter (dev: dev.iscsi.enable) fileSystems;
anyiscsi = fold (j: v: v || j.iscsi.enable) false iscsiDevs;
iscsiOptions = {
{ lib, config, pkgs, ... }:
let
foo = pkgs.mesa_noglu.overrideDerivation (oldAttrs: {
src = /home/clever/x/mesa-11.1.1;
dontStrip = true;
});
in
{
hardware = {
[root@laptop:~]# nix-instantiate '<nixos>' -A system
waiting for the big garbage collector lock...
warning: you did not specify ‘--add-root’; the result might be removed by the garbage collector
/nix/store/gjyr1f2mp052bdh4j6vxy95m8jl7s04w-nixos-system-laptop-16.09pre82105.7465bcd.drv
[clever@laptop:~]$ nix-copy-closure --to root@amd /nix/store/gjyr1f2mp052bdh4j6vxy95m8jl7s04w-nixos-system-laptop-16.09pre82105.7465bcd.drv
Password:
copying 241 missing paths (3.87 MiB) to ‘root@amd’...
[clever@amd-nixos:~]$ nix-copy-closure --to root@router /nix/store/gjyr1f2mp052bdh4j6vxy95m8jl7s04w-nixos-system-laptop-16.09pre82105.7465bcd.drv
boot = {
loader.grub = {
memtest86.enable = true;
version = 2;
enable = true;
device = "/dev/sda";
extraEntries = ''
menuentry "Windows 7" {
insmod part_gpt
insmod chain
services = {
bind = {
enable = true;
cacheNetworks = [ "192.168.2.0/24" "127.0.0.0/8" ];
zones = [
{
name = "localnet";
slaves = [ ];
file = ./localnet;
}
virtualisation = {
memorySize = 512;
graphics = false;
qemu.networkingOptions = [ "-net nic,macaddr=52:54:00:12:34:01" "-net vde,sock=/run/vde.ctl" ];
};
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.boot.initrd.iscsi;
fileSystems = attrValues config.fileSystems ++ config.swapDevices;
iscsiDevs = filter (dev: dev.iscsi.enable) fileSystems;
anyiscsi = fold (j: v: v || j.iscsi.enable) false iscsiDevs;
iscsiOptions = {