DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Installation and Upgrading

FreeBSD Installation and Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 19th May 2008
davidgurvich davidgurvich is offline
Fdisk Soldier
 
Join Date: May 2008
Location: NYC
Posts: 57
Default Instant reboot with 7.0-RELEASE

After installing 7.0-RELEASE on an asus a7n266 motherboard with athlon-xp cpu, the new system never gets to the prompt and constantly reboots. Since the installation cd actually booted and completed the install, I'm not sure of the problem.

I can install and boot into 6.3-RELEASE, copy the GENERIC kernel from 7.0 and that works.

EDIT: I have added nvidia_load="YES" to loader.conf and now the 6.3 install has similar behaviour, except I can see that it loads nvidia and then reboots. After removing that line from loader.conf, the options menu is reached and I can load nvidia from the loader prompt with no further problems. Is there any way to prevent the module from being loaded prematurely, but loaded during the boot process?

Last edited by davidgurvich; 19th May 2008 at 07:11 PM.
Reply With Quote
  #2   (View Single Post)  
Old 19th May 2008
davidgurvich davidgurvich is offline
Fdisk Soldier
 
Join Date: May 2008
Location: NYC
Posts: 57
Default

Is there a way to load modules during boot, but after the loader prompt? /boot/loader.conf has the modules loading before the loader.

Not putting nvidia_load="YES" in loader.conf allows the boot process to reach the options screen, including the loader prompt. Loading nvidia from the prompt works with the 6.x kernels. Haven't tried the 7.0 kernels.
Reply With Quote
  #3   (View Single Post)  
Old 19th May 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

nvidia-driver needs to be compiled for a specific kernel version, so you need to recompile the driver every time you upgrade FreeBSD.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #4   (View Single Post)  
Old 19th May 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

You should be able to escape to the loader prompt and load/unload modules.

The press 1 for default boot, 2 acpi disabled, blah blah is just /boot/loader. Get to a prompt and try to ask for 'help' and it'll probably give a list of pre-defined commands.


I'd guess load modulename would probably work but don't quote me, never had to screw with it that much (yet).


If you have to load a module _after_ control has been passed from onto the kernel (the boot messages which later end up logged and displayed via 'dmesg' are basically showing the kernels message buffer I believe; more experienced people here can surely correct any errors in my thinking). The best way is probably to do it during the resource configuration, assuming the nVidia LKM can be loaded after the system is alive.

I'd probably put an

Code:
if [ -e /boot/kernel/nvidia_module_name.ko ]; then
        kldload nvidia_module_name
fi
in /etc/rc.local and see what happens.


(disclaimer: I'm not a rocket scientist when it comes to this side of FreeBSD)
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #5   (View Single Post)  
Old 19th May 2008
davidgurvich davidgurvich is offline
Fdisk Soldier
 
Join Date: May 2008
Location: NYC
Posts: 57
Default

I have been escaping to the loader prompt and using 'load nvidia' to load the module. With 6.3 I can load the module after boot and that works, but with 7.0 that doesn't work.
Reply With Quote
  #6   (View Single Post)  
Old 4th June 2008
marco64 marco64 is offline
Real Name: Marco
Port Guard
 
Join Date: May 2008
Location: Italy
Posts: 15
Default

I had a similar problem when the USB mouse was plugged; it simply rebooted.

I started with no mouse and plugged it later when the system was started.

then:
sysinstall
configure
mouse .... and handled from this screen.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem to first reboot after installation openbsd OpenBSD Installation and Upgrading 3 16th May 2009 06:30 PM
Reboot loop on 7.0 upgraded to 7.1 EricM FreeBSD Installation and Upgrading 3 25th March 2009 04:25 AM
enable shutdown/reboot xfce4 rex FreeBSD General 16 17th October 2008 02:19 PM
Portsnap causes system to reboot Weaseal FreeBSD Ports and Packages 22 11th October 2008 07:14 AM
FreeBSD 6.2-RELEASE > 7.0-RELEASE Upgrade Marci FreeBSD Installation and Upgrading 2 23rd July 2008 02:10 PM


All times are GMT. The time now is 07:44 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick