[Nix-dev] Broken xserve after update to nix-1.2 persists in nix-1.3

shea at shealevy.com shea at shealevy.com
Mon Feb 25 20:50:20 CET 2013


Hi Patrick,

To help debug, can you:

a) paste configuration.nix
b) paste the output of 'journalctl -bu display-manager.service'
c) run, as root, 'nix-store --verify --check-contents' (will take some 
time!) and report the output?

Thanks,
Shea

On 2013-02-25 14:43, Patrick Wheeler wrote:
> On vmware 4.1.3
> Starting with nixos and nix 1.1
>
> My problem is that after trying to update from nix 1.1 to nix 1.2 or
> 1.3 I was not longer able to get xserver/X11 to work.  If you have 
> any
> insight to a solution please let me know below is a very rough time
> line, additional information and some failed attempted
> solutions/experiments.
>
> Patrick Wheeler
>
> Starting from nix 1.1, after trying to update with
>
> nix-channel --update
> nixos-rebuild switch
>
> The graphical interface did not load like normal and boot in to the 
> shell.
>
> after another round of rebuilding I am in nix-1.3 but the 
> problem persists.
>
> ls -l $(which X) reports I am using xorg-server-1.12.4
> xserve reports that it can not find a display.
>
> Other information:
>
> systemctl
>
> reports only one service witha failure:
>
>                                      Load    Active Sub
> display -manager.service loaded failed    failed
>
> Trying to start x while providing a logfile
>
> X -logfile xerrors.txt
>
>  Log: http://pastebin.com/bahfVjJy [1]
>
> Attempts:
>
> * Rebooting
> * Starting over from a snapshot some variblity in the errors
> encountered but it has the same effect.
> * I have tried setting:
> hardware.enableAllFirmware= true;, there are many dead sources.
> * futher nixos-rebuild switch result in an error:
>
> building Nix...
> building the system configuration...
> updating GRUB 2 menu...
> Use of uninitialized value $_[0] in substitution (s///) at
> 
> /nix/store/v4m3gahx1iz53v51rdinh0lcmipn1p4j-perl-5.14.2/lib/perl5/5.14.2/File/Basename.pm
> line 341.
> fileparse(): need a valid pathname at
> /nix/store/g3km71vgk5pc9g6cbslh5bra73q3sh3z-install-grub.pl [2] line
> 209
>
> * I also tried truing on or off some of the xserver flags in
> configurations.nix but to no avail.
>  
>
> --
> Patrick Wheeler
> Patrick.John.Wheeler at gmail.com
> Patrick.J.Wheeler at rice.edu
>  Patrick.Wheeler at colorado.edu
>
> Links:
> ------
> [1] http://pastebin.com/bahfVjJy
> [2] http://g3km71vgk5pc9g6cbslh5bra73q3sh3z-install-grub.pl
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev



More information about the nix-dev mailing list