Click to See Complete Forum and Search --> : Fedora Core 6 problem


sahilsakhuja
06-21-2007, 09:26 AM
Hi guys,
I am totally new to linux. infact, i just finished installing fedora core 6 on my machine, the details of which i have mentioned below.
i am havin a problem that when I boot linux it loads all the hardware and starts the networking and stuff, then it starts the first time boot configuration...i completed that too and after that started gettin a blank screen, everytime i reboot, it keeps givin me that blank screen again...i have no clue whats wrong and would be really glad if one of you could give me an explanation of whats happenin and tell me how i can resolve it step by step(as i know nothin bout linux)...

My system configuration is
AMD Turion TL-60 2.0 GHz
120 Gb HDD - Windows XP installed on a 30 Gb partition, 40 Gb allocated to another NTFS partition and 30 Gb to ext3 which is the root (/) folder of linux now

2 Gb RAM
256 Mb NVIDIA Go7200

Thanks for your help
lookin forward to becomin another linux guy...
Sahil

saikee
06-21-2007, 10:53 AM
Welcome to JustLinux


I suspect youir problem is likely to be a mistmatch of the video card driver.

Press ctrl+alt+backspace to see if you can get into terminal mode.

There you can edit /etc/X11/xorg.conf. Try driver "nv" or "vesa". Save the file and use the command "startx" to get back to the desktop.

Not sure if "xorgconfig" is inside FC6 but it is the program with which you can reconfigure the X-Windows. The configuration file is /etc/X11/xorg.conf.

sahilsakhuja
06-21-2007, 11:14 PM
hi,
i tried what you said....i cant get into terminal mode....
i even tried running linux rescue by booting from the linux DVD but in that case it doesent show me the X11 folder in /etc...

banzaikai
06-22-2007, 02:48 AM
120 Gb HDD - Windows XP installed on a 30 Gb partition, 40 Gb allocated to another NTFS partition and 30 Gb to ext3 which is the root (/) folder of linux now
What happened to the other 20 GB?
Press ctrl+alt+backspace to see if you can get into terminal mode.
Fedora 6 uses CTRL-ALT-F1 to do this (the backspace option will just throw you into the graphical login).
I suspect youir problem is likely to be a mistmatch of the video card driver.
Maybe, but my FC6 install with an nVidia went smoothly with the xorg "nv" driver. I just didn't have 3D acceleration. My guess is that the monitor isn't synching with the video card, and with the nv driver, the card won't read the DDC from the monitor, so it has to guess at the refresh rates. In any event...

Rescue Method
- Boot from CD1/DVD using "linux rescue"
- After some quick questions (kybd, lang, eth0, etc.), you'll be at the "sh-3.1 #" prompt. Remember, you booted from the CD/DVD, so that's your root directory. To go tiptoe through the HD, we'll need to tell FC6 to change the root to the HD, which is mounted as /mnt/sysimage. We do this, oddly enough, with the command:
sh-3.1 # chroot /mnt/sysimage
(prompts in blue, comments in red, what *you* type in black)
-Once back at the "sh-3.1 #" prompt, we can now get to the xorg.conf file:
sh-3.1 # cd /etc/X11 #<-note: the "X" in "X11" is uppercase!
sh-3.1 # jed xorg.conf #<-JED is a "Jiffy EDitor", similar to edit in MS-DOS

Once the file is up, scroll to the:
Section "Device"
Identifier "VideoCard0"
Driver "nv" #<- if this says anything different, then change this back to "nv"

CTRL-ALT-F1 Method
Follow everything above from the "cd /etc/X11" on down (after logging in as root).

Now, if it's as I suspect, you'll already have the "nv" driver loading. This means the sync rates aren't the right ones. To change these, scroll down to the Monitor section, and double check the scan rates listed. You may have to lookup your monitor's scan rates and resolutions if you don't have the manual handy. If nothing else, you can always set it to 800x600@60Hz/35KHz, and go from there to load the newer nVidia drivers (piece-o-cake with FC6! I can post info later after we get a screen displayed first, okay?)

By the way, Fedora7 (no longer called "Core") uses the newer xorg ATi and nVidia drivers. I can't vouch for the ATi, but the nVidia works well on my older box (GeForce2), without one bit of twiddling with the configs. Really. Had me scratching my head for a few minutes wondering why it was working...

banzai "Bin dere, dun dat" kai

sahilsakhuja
06-29-2007, 09:27 AM
hi dude,
after a lotta probing and searching, i managed to get into xorg.conf
checked the driver under Section "Device", it is set to "nv" only....
however, i scoll down and find the Section "Screen", in that the Viewport reads "0" and Depth reads "24"...
And, there is no "Monitor" Section listing any refresh rates...
so sir, what are the next instructions???

P.S. Can you also give me the link to download fedora 7...

thanks a ton...

saikee
06-29-2007, 10:34 AM
Fedora 7 (http://distrowatch.com/?newsid=04263)

You can alter "nv" to "vesa" to see if it run better.

The scanning frequencies are controlled by "HorizSync" and "VertRefresh" lines

sahilsakhuja
06-29-2007, 03:35 PM
Hi guys,
thanks for all the help uptil now...
i tried using vesa as you had directed earlier, but even that doesent seem to work, and the lines that you have given for the refresh rates, do not exist at all...
anyways, i am posting all the contents of my xorg.conf file as they might help you to help me better....

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
Input Device "Keyboard0" "CoreKeyboard"
Input Device "Synaptics" "CorePointer"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Synaptics"
Driver "synaptics"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto-dev"
Option "Emulate3Buttons" "yes"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nv"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0
Depth 24
EndSection
EndSection

saikee
06-29-2007, 09:09 PM
My FC6 xorg.conf
Section "Monitor"

### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Philips 170B"
DisplaySize 340 270
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 30.0 - 82.0
VertRefresh 56.0 - 76.0
Option "dpms"
EndSection

Section "Device"
#"nv"
Identifier "Videocard0"
Driver "vesa"
VendorName "Videocard vendor"
BoardName "nVidia Corporation C51 PCI Express Bridge"
EndSection

Another copy of Fedora 6.9.3 on a different PC
Section "Device"
Identifier "nVidia Corporation G70 [GeForce 7600 GT]"
Driver "nv"
BusID "PCI:1:0:0"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-51
VertRefresh 43-60
EndSection


Whereas in a Fedora 7 everything has been simplified
# Xorg configuration created by pyxf86config

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nv"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Thus I suppose if you want to is to paste the following lines to replace your "Monitor0", with adjustment of the frequencies to suit your case.
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Philips 170B"
DisplaySize 340 270
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 30.0 - 82.0
VertRefresh 56.0 - 76.0
Option "dpms"
EndSection

banzaikai
06-30-2007, 03:26 PM
Actually, you'll have to add that temporarily to your xorg.conf. My bad.

What happened...

Starting with Xorg release 7.1 (Fedora Core 6 and later), all display changes and modes are set dynamically. The only things in xorg.conf will be keyboard map and video adaptor. In fact, if the xorg.conf file is missing, it'll generate a new one using system defaults. I haven't been able to locate where it keeps the new settings, but I'd go ahead and paste the settings from saikee's post into your xorg.conf, taking care to edit the values to something your monitor will understand.

Why it happened...

Well, since the xorg "nv" driver didn't configure properly, the DDC (see note in saikee's config) wasn't read from the monitor, and xorg went with some (bad) assumptions. Once you get a working nVidia driver, the monitor can then auto-config, and everything should work as advertised. If you can get to a root prompt, then try the following to get your new nVidia driver going (with dkms)...

First, we need to make sure yum is current:
yum update yum
Now, we'll add the FreshRPMs repository (repo):
rpm -ivh http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/6/freshrpms-release/freshrpms-release-1.1-1.fc.noarch.rpm
Once that's done, we'll now grab that nVidia driver:
yum install nvidia-x11-drv
There will be some dependencies, like dkms, that will also need to be installed. Go ahead and let 'er rip. When all that is done, we'll reboot so dkms can recompile the nVidia driver for your kernel:
shutdown -r now
Warning: If you have an older (legacy) nVidia card, then use the "nvidia-x11-drv-96xx" drivers, and if you have a somewhat recent card, then use the "nvidia-x11-drv-97xx". Notes are on nVidia's site about which cards are supported by which driver versions. Simply put, TNT-GF2=96xx, GF2-GF4=97xx, FX and up use the latest (104xx).

Now that we have all that, you should see (if not using RHGB) dkms loading and compiling the driver (takes about 30-45 seconds on my 1.6GHz Duron). Once done, it boots as normal, with an nVidia splash screen before login. If it drops you down to the command prompt with a "screens not found" error, then you'll need to uninstall the driver you got, and replace it with an earlier version (try the latest, then 97xx, then 96xx). As long as you can run yum, it's easy to do this:
yum remove nvidia-x11-drv
yum install nvidia-x11-drv-97xx
and if that doesn't do it...
yum remove nvidia-x11-drv-97xx
yum install nvidia-x11-drv-96xx
^All that's done as root in a terminal (shell), by the way. Since I have an older GF2MX400 on my F7 box, I had to drop it down to the 96xx driver, so I know all about the problems with that issue. Still, the default "nv" worked great (just not in 3D), came up in 800x600, and let me update it without any major headaches. YMMV...

banzai "Doesn't Do Crap" kai