Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

live cd chrashes when trying to install NixOS (live dvd version nixos-graphical-13.10.35450.912f584-x86_64-linux) #1224

Closed
ghost opened this issue Nov 16, 2013 · 60 comments
Labels
0.kind: bug Something is broken

Comments

@ghost
Copy link

ghost commented Nov 16, 2013

When I try to install NixOs with the above dvd I see stage 1 completes then stage 2 I see a lot of text and at one moment the screen becomes green and the last sentence I see is that the udev database is generated.

After that my computer gives no respons at all.

Roelof

@cillianderoiste
Copy link
Member

Just to add, @roelof1967 reported on IRC that the graphics card is an nvidia Gforce 610.

@domenkozar
Copy link
Member

Maybe relevant to #1225?

@ghost
Copy link
Author

ghost commented Nov 16, 2013

and I tried nomodeset on the kernel line and still the computer chrashes.

@ghost
Copy link
Author

ghost commented Nov 16, 2013

also tried the minium cd with vga ask and still no Nixos

@MarcWeber
Copy link
Contributor

You could try using a different graphic card if you have one. You could try disconnecting all hardware which you don't need. You could also try installing nixos to disk on a different machine, then put the installed nixos into that machine. Unfortunately the feature providing multiple "children" of one config in the boot menu is gone and has not yet been resurrected.. You can still try installing different kernel versions easily then pick older configurations in the boot menu. http://nixos.org/releases/nixos/unstable/ here you can get older isos (2011, 2012) and see whether they suceed. Maybe this helps finding out what could be causing the problem, too.

@ghost
Copy link
Author

ghost commented Nov 16, 2013

13.07pre2 has also this problem. But as I look very quick it seems the nvidia driver that is the cause.
I did try the install/life dvd. Maybe someone can give me pointers how to disable this one. I tried nomodeset but that did not help.

Which nvidia driver does Nixos uses. I see on other distros that there are three different ones.

Roelof

@ghost
Copy link
Author

ghost commented Nov 16, 2013

I tried with entering x-server.Videodrivers="nouveau" on the kernel line on Grub but still the same problem with the 3.10 live cd.

@MarcWeber
Copy link
Contributor

The small version (without gui) does not start X, so no, it cannot be the "nvidia" driver, because that's used by X ? If you have a desktop try getting an old cheap alternative graphic card to find out whether this is the problem or not.

@ghost
Copy link
Author

ghost commented Nov 20, 2013

Sorry but I cannot find another graphic card. Im trying now crux Linux and both the nouveau driver as the property driver from nvidia I find no problems.

@bluescreen303
Copy link
Contributor

It doesn't sound like your problem is graphics-card related.
The fact that the minimal cd has the same issue is a clear indication of
this, as that doesn't contain any graphical stuff.

roelof1967 [email protected] writes:

Sorry but I cannot find another graphic card. Im trying now crux Linux
and both the nouveau driver as the property driver from nvidia I find
no problems.


Reply to this email directly or view it on GitHub:
#1224 (comment)

@ghost
Copy link
Author

ghost commented Nov 20, 2013

oke, but I cannot see what the problem really is.
and I do not have a clue how to find out what the problem is and how it can be solved.
And I really like to try NixOs but now no Nixos for me.

@ghost
Copy link
Author

ghost commented Nov 21, 2013

Hello,

If it helps I can download a virtualbox image and see if that works.
It that works, I can try the live cd to boot and install in virtualbox

@ghost
Copy link
Author

ghost commented Nov 21, 2013

I tried the vdi -image and it worked all without any problem.
Then I tried the iso and I see that after reaching Multi-user target nothing happens till I press enter.
Then I can log in and when I press start the graphic manager I see a mouse and after a log time I also see the kde desktop.

Any more test I can do ?

Roelof

@ghost
Copy link
Author

ghost commented Nov 23, 2013

I see the same problem again when I burn the iso.
Now I think I have seen the error message. It's the same as this topic: http://fogproject.org/forum/threads/unable-to-setup-mtrr.946/

Roelof

@ghost
Copy link
Author

ghost commented Nov 23, 2013

I tried noacpi with no change. After I did system.target = rescue the booting went on a little bit but then the system freezes again.

@ghost
Copy link
Author

ghost commented Nov 23, 2013

I did vga=normal but then it chrashes on acpi.
but when I do noacpi it looks lke to chrash on the FUSE part of the booting.

@ghost
Copy link
Author

ghost commented Nov 23, 2013

When I did noacpi acpi=off nolapic it chrashes again on the nvidia part.
So I think no NixOS for me.

@falsifian
Copy link
Contributor

You could try a really old ISO, to see if this is a bug that appeared in the last couple of years.

You could also boot into a working GNU/Linux installation, then run the NixOS installation scripts in a chroot environment. It looks like the RackSpace instructions have some information about how to do this: https://nixos.org/wiki/Install_NixOS_on_Rackspace_Cloud_Servers .

Good luck!

@ghost
Copy link
Author

ghost commented Nov 24, 2013

I have tried the 13.07 cd and there also the same problem.
I do not think it's wise to try a 0.2 install cd.
I cannot find a 11 or 12 cd.

@ghost
Copy link
Author

ghost commented Nov 24, 2013

I tried the latest 14.02 minium cd and it chrashes on the FUSE part on the end.

@MarcWeber
Copy link
Contributor

You're sure your hardware is ok? Eg which was the last operating system which worked nicely on your hardware? Plugin in/out hardware components / running memory test (nixos live iso boot menu), ... are additional things you could possibly try. At some point you should start "finding the issue" by replacing components. Eg alternative graphic cards can be bought for little money @ ebay (just to make sure this is not the cause), or ask a friend whether you can plug his card into your computer for a test run. Excuse me if those tips are "stupid", this issue does not talk about you having run successfully any other operating system.

@ghost
Copy link
Author

ghost commented Nov 24, 2013

yep, I think my hardware is oke. I work now on a dualboot Windows 7 with Crux Linux.
AndI have run several other distros on this computer.

@tomberek
Copy link
Contributor

I also had install problems with 13.10, I am having a much better experience with 14.02pre. Sorry, I don't remember exactly what the issues were.

@ghost
Copy link
Author

ghost commented Nov 24, 2013

I tried 14.0.2 and still problems on FUSE. See a earlier remark.

@bluescreen303
Copy link
Contributor

it's very very unlikely that fuse can cause troubles that hang your system, as the livecd does not try to mount anything via a fuse filesystem but only loads support modules for it.

Are you certain fuse is causing the problem? Or did you just assume it must have been fuse, as it is the last message on screen? Systemd (the init system that nixos uses) is highly concurrent so there might be 10 tasks starting up simultaneously.

Also: does the system really hang, or does it look like only the screen freezes? I've had "crashes" in the past where my screen froze, but my keyboard (caps/num) lights kept working and I was even able to remotely shut down the machine via ssh.

@edolstra : is there a boot parameter to tell systemd to do everything sequencially? Preferrably with a small pause between the steps.

@ghost
Copy link
Author

ghost commented Nov 24, 2013

It's the last message I see on the screen and the system really hang. Only hitting the reboot button works.

@tomberek
Copy link
Contributor

Does REISUB work?

On Sun, Nov 24, 2013 at 9:06 AM, roelof1967 [email protected]:

It's the last message I see on the screen and the system really hang. Only
hitting the reboot button works.


Reply to this email directly or view it on GitHubhttps://github.com//issues/1224#issuecomment-29156111
.

@ghost
Copy link
Author

ghost commented Nov 24, 2013

Nope

@ghost
Copy link
Author

ghost commented Nov 24, 2013

new info on my bug: I have tried systemd.log_level=debug and systemd.log_target=console

and I see something like loading kernel modules and then reach target and then it chrashes

also I saw a sigterm but the text scrolls so fast it's not readable

@shlevy
Copy link
Member

shlevy commented Nov 24, 2013

I don't know what the problem is here, but @bluescreen303 is incorrect that the livecd doesn't mount fuse filesystems. It uses unionfs-fuse to create a union of the squashfs nix store and a tmpfs so you can install things into the store on the live system.

@DmitryTsygankov
Copy link
Contributor

Well, the latest minimal 64 bit live USB crashes with the same symptoms on my GeForce GTX 870M laptop, and I had to manually blacklist noveau before booting into it. So something did change, people now have to blacklist a different module, but it still doesn't work properly.

@vcunat
Copy link
Member

vcunat commented Jun 7, 2014

That's HW released this spring, so maybe not well supported by (our default) 3.12 kernel branch yet, I presume.

@DmitryTsygankov
Copy link
Contributor

The thing is, as soon as I installed it, it worked - I think even before enabling the proprietary driver.

I am thinking, is there a way to keep the minimal USB even more minimal? Is there a point in trying to support the latest GeForce, when all I need is a working console to type in a few commands?

@DmitryTsygankov
Copy link
Contributor

Something as simple as an extra option in the boot menu, with all the unnecessary / frequently breaking stuff disabled, could work.

@vcunat
Copy link
Member

vcunat commented Jun 7, 2014

Frequently breaking kernel modules are blacklisted (list taken from Ubuntu). As for nouveau, it's in the default kernel module package, nothing special...

@qrilka
Copy link
Contributor

qrilka commented Sep 29, 2014

Are there any ways to stop installer failing with nouveau - I see mentioning of blacklisting above - but how could I do that using NixOS installation CD?

@falsifian
Copy link
Contributor

@qrilka, I don't have a direct answer to your question, but if the installer doesn't work for you then I think you should file a bug.

(Does the installer have a text-only mode?)

@qrilka
Copy link
Contributor

qrilka commented Oct 7, 2014

@falsifian I have actually managed to get it going by manually editing kernel parameters for the installer (from the menu) and disabling nouveau.
BTW text-only version crashes just like the gui one - kernel module gets loaded (and failing) in both variants.

@vcunat
Copy link
Member

vcunat commented Oct 7, 2014

AFAIK we still do not have any kind of graphic installer, but only commands described in the manual.

@vcunat
Copy link
Member

vcunat commented Oct 7, 2014

@qrilka: which module exactly did you need to disable to get it working? nouveaufb? noveau? Did you only try the stable release-14.04 liveDVD?

@qrilka
Copy link
Contributor

qrilka commented Oct 7, 2014

@vcunat nix.org says about graphical installation CD I was referring to that, and yes I tried the latest stable 14.04 (and the minimal one also). I have disabled nouveau (just like I have said above)

@vcunat
Copy link
Member

vcunat commented Oct 7, 2014

Well, yes, it is a graphical CD and it is also an installation CD, but AFAIK there is no "graphical installation" :-)

I wonder if newer kernel versions fix this, as generically disabling nouveau would prevent X from starting on many machines (I suspect).

@qrilka
Copy link
Contributor

qrilka commented Oct 7, 2014

That's nixos.org wording, not mine.
And as for X (and about me) - I don't see any problem with using console to install OS but actually I think I have started X from the installation CD because my notebook has 2 videocards.

@purefn
Copy link
Contributor

purefn commented Dec 3, 2014

Just to chime in. I have been attempting to install NixOS on my laptop, which has a Quadro K2000M. Neither of the graphical or the minimal install images booted properly out of the box. Once I added "modprobe.blacklist=nouveau" as a boot option, I was able to get the minimum installer to boot.

@nbp nbp removed their assignment Feb 9, 2015
@iand675
Copy link
Contributor

iand675 commented Feb 15, 2015

Chiming in as well– I needed to set `modprobe.blacklist=nouveau' for a GTX 960. Subsequent attempts to use 'nouveau' or 'nvidia' graphics drivers after initial installation caused Nix to fail to boot.

@domenkozar
Copy link
Member

nouveau is now blacklisted by default, closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

No branches or pull requests