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

Shea Levy shea at shealevy.com
Tue Feb 26 14:02:31 CET 2013


Hi Patrick,

No, there's no need to switch. When you ran the journalctl command, was that during a boot where the X server failed? The log you shared looked like everything was working.

~Shea

On Feb 26, 2013, at 1:01, Patrick Wheeler <patrick.john.wheeler at gmail.com> wrote:

> I garbage collected all of the paths that verify had problems, while staying on the same channel. Grub with nixos-rebuild seems to be in working order but the display-manager is still not up and running however.
> 
> Is there still any advantage to trying stdenv-updates still? Any other suggestions?
> 
> Patrick
> 
> 
> On Mon, Feb 25, 2013 at 3:16 PM, <shea at shealevy.com> wrote:
>> Generally any broken paths is a bad sign, the fact that there are quite a few is more troubling... Did you have a disk failure at any point? If you don't mind the time involved in doing the build, I'd consider switching to stdenv-updates, rebuilding, and garbage collecting your old profiles (once the X server issue is resolved), as that will let you clean up all the broken paths.
>> 
>> No red flags in the configuration.nix that I can see.
>> 
>> The xserver journal logs look fine to me, was that log file from a boot when X didn't start?
>> 
>> 
>> On 2013-02-25 15:52, Patrick Wheeler wrote:
>>> `nix-stor --verify --check-contents`
>>> 
>>> http://pastebin.com/EezSb9NU [6]
>>> 
>>> 
>>> Thanks for taking a look at it.
>>> 
>>> Patrick
>>> 
>>> On Mon, Feb 25, 2013 at 2:43 PM, Patrick Wheeler
>>> <patrick.john.wheeler at gmail.com> wrote:
>>> 
>>>> configuration.nix:
>>>> http://pastebin.com/Mfam4J07 [4]
>>>> 
>>>> journalctl -bu ...
>>>> http://pastebin.com/vrLchuDT [5]
>>>> 
>>>> 
>>>>  I had been using it nix-store --verify --check-contents night but must have gotten impatient and canceled half way so the file I was using as a log only had a few entries. I will can tell you though that there are a few "...user-environment" paths and a Haskell package that it is complaining about everything else it was complaining about I already fixed with repair-path. I will post the full results in a few minutes when it finishs.
>>>> 
>>>> On Mon, Feb 25, 2013 at 1:50 PM, <shea at shealevy.com> wrote:
>>>> 
>>>>> 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] [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] [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 [1]
>>>>> > [2] http://g3km71vgk5pc9g6cbslh5bra73q3sh3z-install-grub.pl [2]
>>>>> 
>>>>> >
>>>>> > _______________________________________________
>>>>> > nix-dev mailing list
>>>>> > nix-dev at lists.science.uu.nl
>>>>> > http://lists.science.uu.nl/mailman/listinfo/nix-dev [3]
>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> nix-dev mailing list
>>>>> nix-dev at lists.science.uu.nl
>>>>> http://lists.science.uu.nl/mailman/listinfo/nix-dev [3]
>>>> 
>>>> --
>>>> Patrick Wheeler
>>>> Patrick.John.Wheeler at gmail.com
>>>> Patrick.J.Wheeler at rice.edu
>>>> Patrick.Wheeler at colorado.edu
>>> 
>>> --
>>> 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
>>> [3] http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>> [4] http://pastebin.com/Mfam4J07
>>> [5] http://pastebin.com/vrLchuDT
>>> [6] http://pastebin.com/EezSb9NU
> 
> 
> 
> -- 
> Patrick Wheeler
> Patrick.John.Wheeler at gmail.com
> Patrick.J.Wheeler at rice.edu
> Patrick.Wheeler at colorado.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20130226/9354aa4d/attachment.html 


More information about the nix-dev mailing list