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

Patrick Wheeler patrick.john.wheeler at gmail.com
Fri Mar 1 17:59:58 CET 2013


Thanks again for the help.


On Fri, Mar 1, 2013 at 8:10 AM, Shea Levy <shea at shealevy.com> wrote:

> You can build with from a git checkout of nixpkgs (or nixos) by adding the
> flags -I nixpkgs=/path/to/nixpkgs (or -I nixos=/path/to/nixos) on the
> nixos-rebuild command line.
>
> On Feb 28, 2013, at 20:23, Patrick Wheeler <patrick.john.wheeler at gmail.com>
> wrote:
>
> Rather then mounting the store and mutating it, what is a better method of
> testing out this type of solution?
>
>
>
>
> On Thu, Feb 28, 2013 at 7:20 PM, Patrick Wheeler <
> patrick.john.wheeler at gmail.com> wrote:
>
>>
>> I mangled my store and updated xf86videovmware,
>> https://github.com/NixOS/nixpkgs/pull/338, and it fixed the problem.  I
>> now have graphics again.
>>
>> Thanks for the help,
>>
>> Patrick
>>
>>
>> On Thu, Feb 28, 2013 at 3:14 PM, Patrick Wheeler <
>> patrick.john.wheeler at gmail.com> wrote:
>>
>>> No problem, thanks for taking a look at it. I think my last journalctl
>>> was logged when display-manager.services failed.  I restarted the system
>>> and here are the two logs.
>>>
>>> systemctl:
>>> http://pastebin.com/QxFwZcxm
>>>
>>> journalctl -bu display-manager.service:
>>> http://pastebin.com/1GdpBznw
>>>
>>>
>>> My native effort was to fix xlibs.xf86videovmware build on my vmware
>>> nixos:
>>> https://github.com/NixOS/nixpkgs/pull/338
>>>
>>> I am not sure how to get this fix to "vmware" option used with
>>> services.xserver.videoDrivers in  <nixos-config> when I have fixed
>>> xf86videovmware in my git repo un the .nix-defexpr directory and not in the
>>> nixos channel though.
>>>
>>> Patrick
>>>
>>>
>>> On Thu, Feb 28, 2013 at 7:18 AM, <shea at shealevy.com> wrote:
>>>
>>>> Sorry we're having such a hard time figuring out this issue... I
>>>> suspect it's an X driver problem and the nix-1.2 change is unrelated. Just
>>>> to double check, you said when you ran systemctl it showed that
>>>> display-manager.service had failed? If it's not too much of a hassle can
>>>> you paste the output of running journalctl -bu display-manager.service
>>>> AFTER seeing the failure notice in systemctl?
>>>>
>>>> Thanks,
>>>> Shea
>>>>
>>>>
>>>> On 2013-02-26 15:05, Patrick Wheeler wrote:
>>>>
>>>>> I just wanted to update with that the graphical live cd for the
>>>>> latest nixos when installed through VMware also does not boot into the
>>>>> graphical interface and hast the same behavior as my installation.
>>>>>
>>>>> On Tue, Feb 26, 2013 at 11:09 AM, Patrick Wheeler
>>>>> <patrick.john.wheeler at gmail.**com <patrick.john.wheeler at gmail.com>>
>>>>> wrote:
>>>>>
>>>>>  Yes that is when it is not booting in graphical mode and anything
>>>>>> that depends on X server will report not finding a screen.
>>>>>>
>>>>>> It also reports success to me as it is booting up so it does
>>>>>> not surprise me that it is logged that way. As it is booting up it give a
>>>>>> green completed checkmark for X11 and after it has already offered a place
>>>>>> to login does it check off 9 more completions including "Reached target
>>>>>> graphical  interface".
>>>>>>
>>>>>> Here is a screen shot where it has offered me login line, upper left,
>>>>>> and then continues, after a half second, to check off reaching the
>>>>>> graphical interface as successful.
>>>>>>
>>>>>> http://imgur.com/M8sERV0 [7]
>>>>>>
>>>>>>
>>>>>> On Tue, Feb 26, 2013 at 7:02 AM, Shea Levy <shea at shealevy.com> wrote:
>>>>>>
>>>>>>  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 <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] [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<patrick.john.wheeler at gmail.com>>
>>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>  configuration.nix:
>>>>>>>>>>> http://pastebin.com/Mfam4J07 [4] [4]
>>>>>>>>>>>
>>>>>>>>>>> journalctl -bu ...
>>>>>>>>>>> http://pastebin.com/vrLchuDT [5] [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<http://pastebin.com/bahfVjJy>[1] [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/**v4m3gahx1iz53v51rdinh0lcmipn1p**
>>>>>>>>>>>> 4j-perl-5.14.2/lib/perl5/5.14.**2/File/Basename.pm
>>>>>>>>>>>> > line 341.
>>>>>>>>>>>> > fileparse(): need a valid pathname at
>>>>>>>>>>>> > /nix/store/g3km71vgk5pc9g6cbsl**h5bra73q3sh3z-install-grub.pl<http://g3km71vgk5pc9g6cbslh5bra73q3sh3z-install-grub.pl>[2] [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] [1]
>>>>>>>>>>>> > [2] http://**g3km71vgk5pc9g6cbslh5bra73q3sh**
>>>>>>>>>>>> 3z-install-grub.pl<http://g3km71vgk5pc9g6cbslh5bra73q3sh3z-install-grub.pl>[2] [2]
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> >
>>>>>>>>>>>> > ______________________________**_________________
>>>>>>>>>>>> > nix-dev mailing list
>>>>>>>>>>>> > nix-dev at lists.science.uu.nl
>>>>>>>>>>>> > http://lists.science.uu.nl/**mailman/listinfo/nix-dev<http://lists.science.uu.nl/mailman/listinfo/nix-dev>[3] [3]
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> ______________________________**_________________
>>>>>>>>>>>> nix-dev mailing list
>>>>>>>>>>>> nix-dev at lists.science.uu.nl
>>>>>>>>>>>> http://lists.science.uu.nl/**mailman/listinfo/nix-dev<http://lists.science.uu.nl/mailman/listinfo/nix-dev>[3] [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 [1]
>>>>>>>>>> [2] http://**g3km71vgk5pc9g6cbslh5bra73q3sh**3z-install-grub.pl<http://g3km71vgk5pc9g6cbslh5bra73q3sh3z-install-grub.pl>[2]
>>>>>>>>>> [3] http://lists.science.uu.nl/**mailman/listinfo/nix-dev<http://lists.science.uu.nl/mailman/listinfo/nix-dev>[3]
>>>>>>>>>> [4] http://pastebin.com/Mfam4J07 [4]
>>>>>>>>>> [5] http://pastebin.com/vrLchuDT [5]
>>>>>>>>>> [6] http://pastebin.com/EezSb9NU [6]
>>>>>>>>>>
>>>>>>>>>
>>>>>>>> --
>>>>>>>> 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
>>>>>>
>>>>>
>>>>> --
>>>>> 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://**g3km71vgk5pc9g6cbslh5bra73q3sh**3z-install-grub.pl<http://g3km71vgk5pc9g6cbslh5bra73q3sh3z-install-grub.pl>
>>>>> [3] http://lists.science.uu.nl/**mailman/listinfo/nix-dev<http://lists.science.uu.nl/mailman/listinfo/nix-dev>
>>>>> [4] http://pastebin.com/Mfam4J07
>>>>> [5] http://pastebin.com/vrLchuDT
>>>>> [6] http://pastebin.com/EezSb9NU
>>>>> [7] http://imgur.com/M8sERV0
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> 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
>>
>
>
>
> --
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20130301/b65dfcc9/attachment-0001.html 


More information about the nix-dev mailing list