kernal upgrade breaks xserer due to Automatix

Hi, I would like to upgrade my kernel (Debian etch 2.6.18-5-686) but am informed that the x server will crash as I have used Automatix to install the Nvidia driver.

How do I upgrade without crashing the x server. Automatix provides a restore feature if the display crashes. To rollback to the previous xserver-xorg configuration during a crash ie no gui I would use the command "automatix-nvidia-restore"

Automaitix looks like it backs up cp /etc/X11/xorg.conf /var/backups/xorg.conf_ax_original_backup

Shouldn't I revert to the backup then do the upgrade in order to save myself from the crash?

Thanks for your help

Dan

No votes yet

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

kernal upgrade breaks

I'm not familiar with the function of automatix, but I do know that it is necessary to reinstall the Nvidia driver after a kernel upgrade. So I would stop your xsession, e.g. "/etc/init.d/xdm stop" if you are using xdm, and switch to a terminal via ctrl-alt-F to run the upgrade. Then reinstall the Nvidia driver. If you have the binary .sh nvidia package, just run "sh CurrentNvidiaBinary.sh".

I read that automatix is a GUI program, so it does seem like a conundrum to use it to reinstall the Nvidia driver! That's why I suggested running the install command from the text terminal.

kernal upgrade breaks xserer due to Automatix

Thanks for the reply,

I have been looking at the automatix restore feature but it doesn't work so I wont be going through a crash and then reverting back to an old config via there command.

So I need an alternative.

There are a couple of things I'm not clear on (newbie) with your suggestion.

After I do the upgrade I stop the xserver (im using gnome) using "/etc/init.d/xdm stop" or "ctrl alt backspace" ctrl alt backspace brings me to a login screen . Do I use the failsafe terminal to do the Nvidia driver installer.

How do I do the Nvidia upgrade from the command line.?

Automatix has an option to remove the Nvidia driver but that doesn't work either as it says the automatix I have installed doesn't work with my etch version.

Im considering getting the Automatix version that works with my etch version then removing the Nvidia driver which should bring m back to a xconfig that works then doing the kernal upgrade.

Cant I just copy over the recent xconfig with an old config ?

As Im a newbie and very hesitant about mucking about with this system I need the simplest of solutions.

I appreciate your time and effort with this.

Dan

Re: kernal upgrade breaks xserer due to Automatix

Which kernel are you upgrading to? Is it just a security upgrade, or an entirely new version? Did you install the Nvidia driver using the Debian package?

Most likely, the Debian-packaged Nvidia driver will not work with a kernel upgrade from the version that ships with Etch. You can still obtain the Nvidia driver directly from www.nvidia.com. Then you can simply install it from the command line.

If you are using gnome, then most likely you are running gdm. Then after switching to vt-1 using ctrl-alt-F1, you'd login as root and run:

# /etc/init.d/gdm/stop
# sh TheFileYouDownloaded.sh
# /etc/init.d/gdm/start

It is best to run this from the non-X terminals that you can get to via ctrl-alt-F1, ctrl-alt-F2, etc. I'm not sure what the failsafe terminal you mentioned is, so I won't comment on that alternative.

One of the fun parts :-) about running the proprietary nvidia driver is that you get to reinstall it every time you upgrade the kernel or xorg. If you don't need 3-D graphics, you can just use the nv driver instead.

Hopefully your current /etc/X11/xorg.conf will not need to be changed. If you need an example, let me know and I'll post mine.

Syndicate content