Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
several different problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
eeek
n00b
n00b


Joined: 05 Feb 2006
Posts: 54

PostPosted: Tue Feb 07, 2006 2:28 am    Post subject: several different problems Reply with quote

I have two differnet problems. I am unsure if they are related though.
First when I start gentoo I run into a few errors:
One is that while I am booting it at some point reports a problem related to superblocks and requests that I run FSCK.

The other is nvidia. I am lost. I am realy lost as to what the exact issue is
In followed a install guide for nvidia-glx and what not-
Emerge- nvidia-glx
Emerge- nvidia-kernel
modprob nvida
nano /etc/modules.d/nv* (to see if nvidia was their, it was uncomented the last line)
nano /etc/modules/autoload.d/kernel-2.6 added:
nvidia
nano /etc/X11/xorg.conf
(ctrl-w nv): edited
(modules)
Card0:
name xyz
found a line:
fubar_GWsomething:nv
changed it to read:
nvidia.

then when I start x I get:
FATAL ERROR!!!
No screans found!
(WW)NVIDIA Chipset "Geforce2 MX/MX 400" in Device section Card0: isn't valid for this driver
(EE) No devices detected!

please consult the X.org foundation(....)




This is inspite of the fact that the exact same file: xorg.conf workped prior to me editing the 'nv' line


Is their a utility similar to hwd (arch/debian/ others?)
Is thier a method to run Emerge to add it?

It should be noted though I have had some dificulties getting this particular card to function, with the exception of Arch and a rare day with NetBSD (although that used a mach MESA driver that was exceptionaly bugy and hardly worth the effort).

I can live with out accelerated X for a bit, however my monitor colors and depth do lack a certain---aesthetics.


P.S.
Is emerge a good idea for KDE or are their acceptably compatible binaries? (I didn't see anything in the docs mentioning this question in anyform). :idea:
Back to top
View user's profile Send private message
papal_authority
Veteran
Veteran


Joined: 31 Mar 2004
Posts: 1823
Location: Canada

PostPosted: Tue Feb 07, 2006 5:05 am    Post subject: Reply with quote

What card do you have and can you post the whole NVidia section from /etc/X11/xorg.conf? I have a GeForce4 MX 440, and my section looks looks like this:
Code:
Section "Device"
  Identifier    "GeForce4 MX 440"
  Driver        "nvidia"
  VendorName    "NVidia"
  BoardName     "GeForce4 MX 440 with AGP8X"
  Option        "AGPFastWrite"          "true"
  Option        "AGPMode"               "8"
  Option        "AllowGLXWithComposite" "On"
  Option        "NvAGP"                 "2"
  Option        "RenderAccel"           "true"
EndSection

_________________
The free market gave me gonorrhea.
Back to top
View user's profile Send private message
eeek
n00b
n00b


Joined: 05 Feb 2006
Posts: 54

PostPosted: Tue Feb 07, 2006 5:31 am    Post subject: xorg card0 section Reply with quote

to simplify matters I have booted into my knoppix/diagnostics LiveCD (gentoo deosn't have firefox etc).

Here is the problem section (card0)
Section "Device"
Identifier "Card0"
Driver "nv"
ChipSet "GeForce2 MX/MX 400"
Card "nv GeForce2 MX/MX 400"
BusID "GeForce 2 MZ"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1152x864" "1024x768" "800x600" "640x480"
EndSubSection

If it would help any thier are quite a few places to copy/past etc long files into-then I can post the url.
I have a increasing suspiction I may have made an error somewhere when installing gentoo.
Back to top
View user's profile Send private message
papal_authority
Veteran
Veteran


Joined: 31 Mar 2004
Posts: 1823
Location: Canada

PostPosted: Tue Feb 07, 2006 5:43 am    Post subject: Reply with quote

Why don't you try using my section above and maybe a simplified Screen section:
Code:
Section "Screen"
  Identifier    "Screen0"
  Device        "GeForce4 MX 440"
  Monitor       "Monitor0"
  DefaultDepth  16
  Subsection    "Display"
    Depth       16
    Modes       "1024x768"
    ViewPort    0 0
  EndSubsection
EndSection

What exact model of card do you have anyways?
_________________
The free market gave me gonorrhea.
Back to top
View user's profile Send private message
eeek
n00b
n00b


Joined: 05 Feb 2006
Posts: 54

PostPosted: Tue Feb 07, 2006 5:48 am    Post subject: re-card Reply with quote

Geforce 400
Back to top
View user's profile Send private message
papal_authority
Veteran
Veteran


Joined: 31 Mar 2004
Posts: 1823
Location: Canada

PostPosted: Tue Feb 07, 2006 6:02 am    Post subject: Reply with quote

The nvidia driver is loaded right (i.e. lsmod shows it)? If so, what does cat /proc/driver/nvidia/cards/0 show?
_________________
The free market gave me gonorrhea.
Back to top
View user's profile Send private message
eeek
n00b
n00b


Joined: 05 Feb 2006
Posts: 54

PostPosted: Tue Feb 07, 2006 6:23 am    Post subject: cat /proc/driver/nvidia/card0 and lsmod nvidia/nvidia-glx Reply with quote

Model: Gefoce2 mx/mx 400
irq 3
video bios ???????????????????
cardtyp agp

lsmod nvidia | grep nvidia:
nvidia 3210460 0
Back to top
View user's profile Send private message
XenoTerraCide
Veteran
Veteran


Joined: 18 Jan 2004
Posts: 1418
Location: MI, USA

PostPosted: Tue Feb 07, 2006 10:32 am    Post subject: Reply with quote

to hopefully fix your superblock error, put your you livecd in and run fsck /dev/hdxy where xy equal your partition that it's complaining about.
_________________
I don't hang out here anymore, try asking on http://unix.stackexchange.com/ if you want my help.
Back to top
View user's profile Send private message
papal_authority
Veteran
Veteran


Joined: 31 Mar 2004
Posts: 1823
Location: Canada

PostPosted: Tue Feb 07, 2006 10:37 am    Post subject: Reply with quote

Well your card is definitely supported by the nvidia driver. The video BIOS string looks a little weird, I don't know if that's normal for that exact model of card or not though. You could look at flashing it. What kernel are you running? If you're running 2.6.15, you'll want to copy my sections I posted earlier *and* ensure AGP support is compiled into your kernel. In my case I needed these two kernel options:
Code:
CONFIG_AGP=y
CONFIG_AGP_INTEL=y

_________________
The free market gave me gonorrhea.
Back to top
View user's profile Send private message
eeek
n00b
n00b


Joined: 05 Feb 2006
Posts: 54

PostPosted: Tue Feb 07, 2006 4:07 pm    Post subject: agp Reply with quote

Agp support should, in theory, have been automaticly added-I chose the genkernel route. However some others have noted that while this is certainly the 'simpler' way to go. Genkernel apparently has some "gatchas" it would be wise to assume that it was not. The live cd appears to flawlesly report the correct video card in dmesg. Would you sugest then that perhaps doing as others encouraged me to do in the first place: compile a costum kernel, that way I will know that any error is mine and lack of experience.
Code:

The file system (according to the superblock is 31720 block) the phisicle size of the device is 3126 blocks....The partition table is likely to be corrupt!



Apparently the original kernel didn't have any nvidia or agp option enabled. I am attempting a new genkernel via genkernel --menuconfig all I didn't find options for agp=yes I did however find a option for generic nvidia and nvidia riva support, so I added thoughs.


Last edited by eeek on Tue Feb 07, 2006 6:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
papal_authority
Veteran
Veteran


Joined: 31 Mar 2004
Posts: 1823
Location: Canada

PostPosted: Tue Feb 07, 2006 5:21 pm    Post subject: Re: agp Reply with quote

eeek wrote:
Agp support should, in theory, have been automaticly added-I chose the genkernel route. However some others have noted that while this is certainly the 'simpler' way to go. Genkernel apparently has some "gatchas" it would be wise to assume that it was not. The live cd appears to flawlesly report the correct video card in dmesg. Would you sugest then that perhaps doing as others encouraged me to do in the first place: compile a costum kernel, that way I will know that any error is mine and lack of experience.
Code:

The file system (according to the superblock is 31720 block) the phisicle size of the device is 3126 blocks....The partition table is likely to be corrupt!

I think a custom kernel would be a good idea. The Gentoo Handbook has a pretty good kernel section that should get you through the process relatively painlessly. It's still kind of odd that your video card reports question marks for the video BIOS revision string though, it may be worth flashing it.
_________________
The free market gave me gonorrhea.
Back to top
View user's profile Send private message
eeek
n00b
n00b


Joined: 05 Feb 2006
Posts: 54

PostPosted: Tue Feb 07, 2006 6:38 pm    Post subject: irony Reply with quote

Irony is reading a helpful tip the confirms your suspisions---after you started a generic kernel compile. :twisted:

Ed- it's 2.6.15-gentoo-r1
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Tue Feb 07, 2006 7:39 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Kernel & Hardware.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
eeek
n00b
n00b


Joined: 05 Feb 2006
Posts: 54

PostPosted: Tue Feb 07, 2006 10:29 pm    Post subject: closer Reply with quote

As you anticipated I needed to re make the kernel.
Code:

char device--->
agp_nvidia

was not enabled so I enabled it, and anything else that seemed related to nvidia
I then did:
(from su):
emerge nvidia-glx and emerge nvidia-kernel (again).
/etc/init.d/x-setup (to a 'clean' /etc/X11/xorg.conf).
This "worked" however one of the modual options appeared to have had a conflict someplace.
I then did
xorgconfig.
This is much closer to working. However either FVWM or something does not like glxgears. This concerns me. I also do not see the nvidia logo when I type:
startx
(not important and in manyways prefered).
during startup the it happly reports:
Code:

"NVIDIA modual loading...loaded!!!!!"

I now suspect their's something that I havenot done or it's a 'gotcha' with the latest kernel. I am runing emerge tuxracer as it is 'obvious' if it works or not. If it works I will happly ignore glxgears.

Btw, thank you again for your assistance
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum