Bitcoin Forum
May 05, 2024, 06:27:24 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Replacing 1st GPU on an ubuntu mining rig breaks the boot sequence?  (Read 1895 times)
gigabytecoin (OP)
Sr. Member
****
Offline Offline

Activity: 280
Merit: 252


View Profile
May 19, 2011, 05:32:49 AM
 #1

I installed ubuntu 11.04 to a USB hard drive with multiple GPUs.

The installation went great. The os booted up, but there were some obvious gui/visual problems with the memory clock being so low on all of the cards (150mhz minimum).

I took out the first GPU, flashed it back to stock BIOS, popped it back into the rig and upon booting I was met with a black screen filled with lots of errors about "radeon"... "ati"... things like that... So I can only assume that changing the BIOS on the card caused the problem.

Any reason for this? How does LinuxCoin boot up no matter what/how many GPUs are installed?

I am currently re-installing Ubuntu onto the flash drive with a stock BIOS for card #1 and underclocked memory BIOSes for all the rest.

I would like to be able to seamlessly change video cards however as I upgrade my rig.
I HATE TABLES I HATE TABLES I HA(╯°□°)╯︵ ┻━┻ TABLES I HATE TABLES I HATE TABLES
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
foxmulder
Newbie
*
Offline Offline

Activity: 37
Merit: 0


View Profile
May 19, 2011, 05:42:48 AM
 #2

Afaik you need to delete xorg.conf & rerun --initial --adapter=all whenever you change arrangement of the cards, imo because every card busid is different every time you  arrange it, take a look at xorg.conf "Section "Devices"".
dadittox
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
May 19, 2011, 07:11:20 AM
 #3

First of all if your Ubuntu doesn't boot hold shift while booting, you'll see a kernel selection menu. Select rescure mode and then select safe Xorg. After that run aticonfig as foxmulder suggested. No need to delete xorg.conf though, it should be replaced by aticonfig.
gigabytecoin (OP)
Sr. Member
****
Offline Offline

Activity: 280
Merit: 252


View Profile
May 19, 2011, 07:30:02 AM
Last edit: May 19, 2011, 07:44:45 AM by gigabytecoin
 #4

Afaik you need to delete xorg.conf & rerun --initial --adapter=all whenever you change arrangement of the cards, imo because every card busid is different every time you  arrange it, take a look at xorg.conf "Section "Devices"".

Is there any way to simply run aticonfig --initial --adapter=all before the desktop loads or something on every boot? Huge linux noob here!

Is /etc/init.d/rc.local what I need?
gigabytecoin (OP)
Sr. Member
****
Offline Offline

Activity: 280
Merit: 252


View Profile
May 19, 2011, 07:44:32 AM
 #5

First of all if your Ubuntu doesn't boot hold shift while booting, you'll see a kernel selection menu. Select rescure mode and then select safe Xorg. After that run aticonfig as foxmulder suggested. No need to delete xorg.conf though, it should be replaced by aticonfig.

If I simply remove the "new" card and boot up the rig everything works fine.

But then of course I can't initialize the new card since it's not plugged in :S

I will try your method of pressing shift while booting. Thanks for the input!

EDIT: I tried pressing shift while booting, got the kernel selection menu, selected recovery mode, and waited a minute or two for it to show me some options in a drop down menu.

Now I am looking at about 5 options. The one most closely related to xorg/video configuration seems to be "Run in failsafeX graphics mode"... do I select that one?
fasti
Member
**
Offline Offline

Activity: 92
Merit: 10


View Profile
May 19, 2011, 07:47:29 AM
 #6

Is 150 memory really needed? I get same amount of -temps from just having memory of my 6950 at 759Mhz than ~300Mhz.

1QCcAR3e3wdxr7CcJ8ND1NmWuvLttCJScH
gigabytecoin (OP)
Sr. Member
****
Offline Offline

Activity: 280
Merit: 252


View Profile
May 19, 2011, 07:49:38 AM
 #7

Is 150 memory really needed? I get same amount of -temps from just having memory of my 6950 at 759Mhz than ~300Mhz.

No it's probably not, but I like to cause problems for myself Wink
gigabytecoin (OP)
Sr. Member
****
Offline Offline

Activity: 280
Merit: 252


View Profile
May 19, 2011, 08:11:31 AM
Last edit: May 19, 2011, 08:51:25 AM by gigabytecoin
 #8

Alright guys another quick update.

I managed to boot into "low graphics mode" using dadittox's suggestion, and then I ran aticonfig --initial --adapter=all in the terminal because I could not see anything about booting into safe Xorg...

And no luck. Possibly because the  graphics cards were disabled in a sense (although I was using one to see my desktop..? I could not see them via poclbm or aticonfig..?)

I then re-booted back into recovery mode, and ran "root" (the lats option) this time, and entered aticonfig --adapter=all --initial and it seemed to notify fglrx of all my cards now! Hurrah!

I reboot the computer again and am asked to select the proper grub again, so this time I boot into regular ubuntu and... still nothing :S

So at this point I have ran aticonfig --adapter=all --initial, found all of the cards now, but when I boot back into ubuntu I am met with a purplish/dark screen. It's not black, and it's not off, it's kindof purple. Which is exactly how it was before... any ideas?

EDIT: actually the "ubuntu * * * * *" logo did show up, but the dots are not moving/changing at all and it has been stuck on that screen now for ~5 minutes.

I am going to try and flash all of the cards BIOSes back to normal and see if that helps any... Don't really want to install ubuntu over again... it takes forever on a usb stick :S

EDIT 2: I have now flashed all of the cards back to their original BIOSes... boot into ubuntu recovery mode "root" terminal... and ran aticonfig --adapter=all --initial which found all of the cards (yay!) but I am still met with that non-moving ubuntu logo screen. Does ubuntu say something like "we will only work with 5 cards on this install" and then if you install a 6th is blows up or something?? This is all I can deduce from this at the current moment. I guess I will try re-installing ubuntu completely and starting over.
grndzero
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
May 19, 2011, 10:43:18 AM
 #9


EDIT 2: I have now flashed all of the cards back to their original BIOSes... boot into ubuntu recovery mode "root" terminal... and ran aticonfig --adapter=all --initial which found all of the cards (yay!) but I am still met with that non-moving ubuntu logo screen. Does ubuntu say something like "we will only work with 5 cards on this install" and then if you install a 6th is blows up or something?? This is all I can deduce from this at the current moment. I guess I will try re-installing ubuntu completely and starting over.

Sounds more to me like the fglrx driver and your BIOS weren't geting along. I happened a few times to me in testing different BIOS's. I would boot up and get a really weird almost checker board pattern when the desktop came up.

Ubuntu Desktop x64 -  HD5850 Reference - 400Mh/s w/ cgminer  @ 975C/325M/1.175V - 11.6/2.1 SDK
Donate if you find this helpful: 1NimouHg2acbXNfMt5waJ7ohKs2TtYHePy
bitcoindaddy
Hero Member
*****
Offline Offline

Activity: 481
Merit: 500


View Profile
May 19, 2011, 05:45:02 PM
 #10

If you are presented with a text-based login prompt:

1. Login as yourself
2. Become root with sudo -i
3. Move the current Xorg configuration file (effectively deleting it, but keeping a spare copy) which will force xorg to create a new one:
   mv /etc/X11/xorg.conf /etc/X11.xorg.conf.save
4. Leave root      exit
5. startx
6. Open a terminal and type sudo aticonfig --initial
7. sudo reboot
8. GDM (the graphical login) should start automatically now.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!