LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 06-17-2004, 04:18 AM   #16
gowator
LQ Newbie
 
Registered: Jun 2004
Posts: 13

Rep: Reputation: 0

Quote:
please post the contents of XF86Config-4 & lsmod.
just in case you dontrealise
XF86Config-4 is in /etc/X11
and lsmod should be run from a root console
 
Old 06-17-2004, 03:42 PM   #17
UmneyDurak
Member
 
Registered: Jun 2004
Posts: 178

Original Poster
Rep: Reputation: 30
Sorry I should have mentioned it in my previous post. I already tried urpmi kernel-source, all it displayed was that "everything is installed"
here is x86config-4:
Code:
# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
    # Multiple FontPath entries are allowed (they are concatenated together)
    # By default, Mandrake 6.0 and later now use a font server independent of
    # the X server to render fonts.
    FontPath "unix/:-1"
EndSection

Section "ServerFlags"
    #DontZap # disable <Crtl><Alt><BS> (server abort)
    AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
    #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx" # 3D layer
EndSection

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "Keyboard"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "en_US"
    Option "XkbOptions" ""
EndSection

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "ExplorerPS/2"
    Option "Device" "/dev/mouse"
    Option "ZAxisMapping" "6 7"
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Plug'n Play"
    ModelName "Sylvania F74"
    HorizSync 30-70
    VertRefresh 55-120
    
    # Sony Vaio C1(X,XS,VE,VN)?
    # 1024x480 @ 85.6 Hz, 48 kHz hsync
    ModeLine "1024x480"    65.00 1024 1032 1176 1344   480  488  494  563 -hsync -vsync
    
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
    
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Device"
    Identifier "device1"
    VendorName "nVidia Corporation"
    BoardName "NVIDIA GeForce2 DDR (generic)"
    Driver "nvidia"
    Option "NvAGP" "1"
    Option "DPMS"
    
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24
    
    Subsection "Display"
        Depth 8
        Virtual 1152 864
    EndSubsection
    
    Subsection "Display"
        Depth 15
        Virtual 1152 864
    EndSubsection
    
    Subsection "Display"
        Depth 16
        Virtual 1152 864
    EndSubsection
    
    Subsection "Display"
        Depth 24
        Virtual 1152 864
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    Screen "screen1"
EndSection
here is the result of lsmod
Code:
Module                  Size  Used by
sg                     39100  0 
st                     40504  0 
sr_mod                 17668  0 
sd_mod                 17696  0 
scsi_mod              119064  4 sg,st,sr_mod,sd_mod
nfsd                  180608  8 
exportfs                6112  1 nfsd
parport_pc             34528  1 
lp                     12552  0 
parport                41704  2 parport_pc,lp
md5                     3904  1 
ipv6                  245664  8 
snd-seq-midi            8544  0 
snd-emu10k1-synth       7616  0 
snd-emux-synth         38496  1 snd-emu10k1-synth
snd-seq-virmidi         7232  1 snd-emux-synth
snd-seq-midi-emul       8192  1 snd-emux-synth
snd-seq-oss            34112  0 
snd-seq-midi-event      7584  3 snd-seq-midi,snd-seq-virmidi,snd-seq-oss
snd-seq                54000  8 snd-seq-midi,snd-emux-synth,snd-seq-virmidi,snd-seq-midi-emul,snd-seq-oss,snd-seq-midi-event
snd-pcm-oss            54244  0 
snd-mixer-oss          19520  1 snd-pcm-oss
snd-emu10k1            97732  1 snd-emu10k1-synth
snd-rawmidi            24288  3 snd-seq-midi,snd-seq-virmidi,snd-emu10k1
snd-pcm                99300  2 snd-pcm-oss,snd-emu10k1
snd-timer              25604  2 snd-seq,snd-pcm
snd-seq-device          8232  7 snd-seq-midi,snd-emu10k1-synth,snd-emux-synth,snd-seq-oss,snd-seq,snd-emu10k1,snd-rawmidi
snd-ac97-codec         63332  1 snd-emu10k1
snd-page-alloc         12484  2 snd-emu10k1,snd-pcm
snd-util-mem            4512  2 snd-emux-synth,snd-emu10k1
snd-hwdep               9312  2 snd-emux-synth,snd-emu10k1
snd                    54756  16 snd-seq-midi,snd-emux-synth,snd-seq-virmidi,snd-seq-oss,snd-seq-midi-event,snd-seq,snd-pcm-oss,snd-mixer-oss,snd-emu10k1,snd-rawmidi,snd-pcm,snd-timer,snd-seq-device,snd-ac97-codec,snd-util-mem,snd-hwdep
soundcore               9664  1 snd
af_packet              21160  2 
ide-floppy             19840  0 
ide-tape               37296  0 
ide-cd                 42660  0 
cdrom                  39520  2 sr_mod,ide-cd
floppy                 61140  0 
8139too                24608  0 
mii                     5152  1 8139too
nls_iso8859-1           3904  7 
nls_cp850               4736  7 
vfat                   14752  7 
fat                    46816  1 vfat
supermount             39732  1 
amd-k7-agp              7820  1 
agpgart                32520  1 amd-k7-agp
tsdev                   7360  0 
joydev                 10528  0 
evdev                   9888  0 
usbmouse                5536  0 
usblp                  12736  0 
hid                    55648  0 
uhci-hcd               30736  0 
usbcore               104604  6 usbmouse,usblp,hid,uhci-hcd
rtc                    12056  0
Could it be that it's not running in gui mode is because the source I installed was the correct one, but before I installed the source I also installed the wrong kernel by accident? So when I installed the the drivers for nvidia they used the correct source code, but currently I'm running a different kernel.
Thx.
 
Old 06-17-2004, 04:11 PM   #18
otish1000c
Member
 
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611

Rep: Reputation: 30
your xf86config-4 looks fine. lsmod is telling me it's not loading the nvidia module.

my thought is this, unless you can prove me wrong............

you don't have a matching kernel & kernel source. your compiling the nvidia drivers against kernel-sourceB while running kernel-A, or vice versa. we gotta make sure the source & the kernel match. let's get tricky & have you do this. we're gonna remove both the kernel & the source, then reinstall them. this has to be done in one fell swoop, so don't shut down or reboot or have a power failure in the middle of it.

when you boot & get to the login prompt, login as normal user, then su to root. we're gonna remove the kernel(s) & source(s). as root type........

urpme kernel

hit enter

if it tells you that you have more than one kernel, remove them both, one at a time using that same command. after that type...............

urpme kernel-source

hit enter

again, if it shows more than one source, remove them both one at a time.

ok, now you're kernel free. now we're gonna reinstall them. still as root, type...........

urpmi kernel

hit enter

if it gives you more than one choice of kernel to install, choose the 2.6.3-7 kernel. let it install, then type..........

urpmi kernel-source

hit enter

choose the exact matching source as the kernel version number you just installed.

now, still as root, type...........

lilo -v

hit enter

type..............

reboot

hit enter

you will now reboot. you should be able to reboot to a GUI because you don't have the nvidia modules installed as of yet. if you can boot to a GUI, then reboot again & follow the nvidia install instructions. if you can't boot to a GUI, please repost your xf86config-4 file so i can check something.

we'll get you to a desktop yet.

otis
 
Old 06-17-2004, 06:39 PM   #19
UmneyDurak
Member
 
Registered: Jun 2004
Posts: 178

Original Poster
Rep: Reputation: 30
When I did urpme kernel it showed like 4 kernels! I tried to remove them all, but couldn't remove the kernel-i686-up-4GB-2.6.3.7mdk-1-1mdk.i586.
When I try to remove it with urpme command it says "removing package basesystem-10.0-0.2mdk.i586 will beak your system nothing to remove."
The rest I removed without any problems.
Also when I tried to to urpme kernel-soure it says unknown-package. I'm pretty sure I did install the source code, I even checked in that directory after I installed it, and it was there.
edit: I checked again and there is still a folder linux-2.6.3-7mdk in the /usr/src

Last edited by UmneyDurak; 06-17-2004 at 06:41 PM.
 
Old 06-17-2004, 07:35 PM   #20
otish1000c
Member
 
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611

Rep: Reputation: 30
ok.............

here's my last suggestion, unless somebody else jumps in with a better idea.........

that kernel (the up-4gb kernel) is inappropriate for your system. you don't have more than 1 gig of memory, you don't need nor want that kernel. i've never used it or tried it. in lieu of a better idea, at this point i'm gonna suggest reinstall. start the install from the begining, choose "expert" mode, reformat your linux partions (the linux partitions ONLY! don't touch any other partitions!). when it comes to choosing the packages to install, select all of them. let the installation proceed. when you get to the final configuration screen, check anything that might look fishy. especially check your video settings & run the test. if the test fails, do it until you can find a driver that best matches your video card & that passes the test. when you can boot to a GUI, get all available updates immediately. reboot to make sure things are still working. post back to confirm that. then, install the nvidia drivers as per the prescribed method. that 4gb kernel is the cause of all your woes. i don't know exactly how you ended up with it, but stay away from it in the future. i wish i could offer another suggestion, but all things considered, since this is a fresh install you're really not gonna be losing anything. if there's anything on the linux partitions that is near & dear to you, back them up first before reinstalling. please post back with any thoughts/comments/results.

otis
 
Old 06-17-2004, 08:30 PM   #21
UmneyDurak
Member
 
Registered: Jun 2004
Posts: 178

Original Poster
Rep: Reputation: 30
I was thinking. What if I was't be able to remove the up-4gb kernel is because you need to have at least one installed?
So what I'm trying to do is to boot up with rescue disk and install the correct kernel, then restart in "safe" mode and remove the 4gb kernel.
I was be able to boot in to gui using the rescue disk, althought mouse didn't work. But when I tried to install the correct kernel it say put in cd one on device /dev/hdc.
It keeps saying that no matter in which cdrom I put cd in. Whats going on?
edit:
I tried mounting the cdrom by typping mount /dev/hdc /mnt/cdrom, it gives me erros messege saying you myst specify the filesystem type.?
I checked with dmesg, and my cdrom is on hdc.
I also tried mount -t iso9660 /dev/hdc /mnt/cdrom, it gave me an error message:
"mount: fs type iso9660 not suported by kernel".
But when I opened /etc/filesystems, I saw it there..
Thx.

Last edited by UmneyDurak; 06-17-2004 at 10:10 PM.
 
Old 06-17-2004, 10:53 PM   #22
UmneyDurak
Member
 
Registered: Jun 2004
Posts: 178

Original Poster
Rep: Reputation: 30
Well I finally gave in and reinstalled linux. During the installation I selected upgrade and that seems to replaced my kernel and solved my cdrom problems.
I checked /usr/src and found the linux-2.6.3-7md folder in it, I think thats the correct source for my kernel right?
When I did uname -a I got back:
"Linux localhost 2.6.3-7mdk #1..."
Here is my XF86Config-4 file:
Code:
# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
    # Multiple FontPath entries are allowed (they are concatenated together)
    # By default, Mandrake 6.0 and later now use a font server independent of
    # the X server to render fonts.
    FontPath "unix/:-1"
EndSection

Section "ServerFlags"
    #DontZap # disable <Crtl><Alt><BS> (server abort)
    AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
    #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
   #### Load "glx" # 3D layer
EndSection

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "Keyboard"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "en_US"
    Option "XkbOptions" ""
EndSection

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "ExplorerPS/2"
    Option "Device" "/dev/mouse"
    Option "ZAxisMapping" "6 7"
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Plug'n Play"
    ModelName "Sylvania F74"
    HorizSync 30-70
    VertRefresh 55-120
    
    # Sony Vaio C1(X,XS,VE,VN)?
    # 1024x480 @ 85.6 Hz, 48 kHz hsync
    ModeLine "1024x480"    65.00 1024 1032 1176 1344   480  488  494  563 -hsync -vsync
    
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
    
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Device"
    Identifier "device1"
    VendorName "nVidia Corporation"
    BoardName "NVIDIA GeForce2 DDR (generic)"
    Driver "nv"
    Option "NvAGP" "1"
    Option "DPMS"
    
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24
    
    Subsection "Display"
        Depth 8
        Virtual 1152 864
    EndSubsection
    
    Subsection "Display"
        Depth 15
        Virtual 1152 864
    EndSubsection
    
    Subsection "Display"
        Depth 16
        Virtual 1152 864
    EndSubsection
    
    Subsection "Display"
        Depth 24
        Virtual 1152 864
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    Screen "screen1"
EndSection
Do I need to edit it or reinstall the nvidia drivers again?
Looks like Load glx is disabled again.

Last edited by UmneyDurak; 06-17-2004 at 11:03 PM.
 
Old 06-17-2004, 11:34 PM   #23
otish1000c
Member
 
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611

Rep: Reputation: 30
w00t!

i was gonna suggest you try the upgrade method instead of reinstall, but i wasn't sure if that would have cleared up the kernel mess. guess it did, eh?

yup. reinstall the nvidia drivers. after you install them, then yes, redit the xf86config-4 file. just remove the hash marks (###) from in front of the glx line & make sure the nvidia comment you need are correct. follow my original instructions to install them & editing xf86 & you'll be fine.

congrats,

otis

Last edited by otish1000c; 06-18-2004 at 03:43 AM.
 
Old 06-18-2004, 05:52 PM   #24
UmneyDurak
Member
 
Registered: Jun 2004
Posts: 178

Original Poster
Rep: Reputation: 30
Not again!!!!
Well I reinstalled the correct source code, installed the nvidia drivers, edited the XF86 config file. When I rebooted the system it wouldn't boot in to gui again!!!
What a heck am I doing wrong? I added the load command and the option was already in the config file.
 
Old 06-18-2004, 06:20 PM   #25
UmneyDurak
Member
 
Registered: Jun 2004
Posts: 178

Original Poster
Rep: Reputation: 30
I'm doing a clean install now, but still would like to know why it didn't work before. I followed all the instructions.
 
Old 06-18-2004, 06:27 PM   #26
courtrrb
Member
 
Registered: Sep 2003
Location: Iowa, US
Distribution: MDK Since V6.5
Posts: 571

Rep: Reputation: 30
I've had this problem so many times it's not funny anymore. When you do an update it load the latest kernel-source. Then you load the latest kernel and guess what the Nvidia drivers wont compile. Remove the kernel source and then reinstall the source this will allow your Nvidia drivers to compile. Loading the kernel itself after you load the update source breaks a link to the source. By loading it last fixes this problem.
 
Old 06-18-2004, 06:37 PM   #27
UmneyDurak
Member
 
Registered: Jun 2004
Posts: 178

Original Poster
Rep: Reputation: 30
Not sure I follow. After I did an update, I had a folder with kernel source, but when I tried to install the driver it gave me an error message saying it something about the kernel-source. I think thats what you were talking about.
I installed the correct kernel-source. Then I installed the drivers with no problems, edited the config file. But when I restared a computer, it wouldn't boot in to gui only in text mode.
Anyway I finally said screw it, and doing a clean install now. Just want to know what I did wrong, so I won't repeat the same mistake.

Last edited by UmneyDurak; 06-18-2004 at 06:41 PM.
 
Old 06-19-2004, 06:56 AM   #28
courtrrb
Member
 
Registered: Sep 2003
Location: Iowa, US
Distribution: MDK Since V6.5
Posts: 571

Rep: Reputation: 30
Which version of Mandrake you running? The community had a problem with hard drake changing the config file on reboot. Try turning off harddrake during boot.
 
Old 06-19-2004, 03:45 PM   #29
UmneyDurak
Member
 
Registered: Jun 2004
Posts: 178

Original Poster
Rep: Reputation: 30
10.0 Official one. How do I turn of the hard drake?
 
Old 06-19-2004, 03:54 PM   #30
courtrrb
Member
 
Registered: Sep 2003
Location: Iowa, US
Distribution: MDK Since V6.5
Posts: 571

Rep: Reputation: 30
Go to System>Configuration>Configure your computer
put in root passwd if not in root
Then select System
Select Services
Look for hardrake and uncheck it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandrake Freezes on boot "starting ppp0" RAMMS+EIN Mandriva 6 05-01-2006 01:01 PM
Firefox freezes at "Save", "Download" kjmorris Linux - Software 4 10-27-2004 02:44 PM
KDE freezes on "initializing peripherals". I hve mandrake 10, but also froze on 9.2. bignosedwonder Linux - Newbie 0 06-07-2004 12:33 PM
KDE freezes on "initializing peripherals". I hve mandrake 10, but also froze on 9.2. bignosedwonder Mandriva 0 06-07-2004 10:08 AM
RH "null" beta system freezes right after printing "INIT" markus1982 Linux - Hardware 0 09-09-2002 03:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 04:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration