NotebookForums.com › Forums › General Notebook Discussions › Linux & Other OS's › Mandrake 9.1 install locks on Sager 5670
New Posts  All Forums:Forum Nav:

Mandrake 9.1 install locks on Sager 5670

post #1 of 34
Thread Starter 
I just purchased a Sager 5670 notebook without an operating system from powernotebooks.com. This machine is supposed to replace my desktop machine, which is currently running Mandrake 9.1.

On this laptop, however, I cannot get the install to start no matter what I do. If I use the default install, it locks as soon as it finishes uncompressing the kernel. I've seen posts over at powernotebooks.com that suggest that the firewire driver is causing this, but no matter what kernel options I try (nofirewire nousb noauto, etc.), it locks up in the same place.

I then tried the alt1 (2.2) kernel to do the install. That begins to boot, and then dies with the following error:

Unable to handle kernel paging request at virtual address e8002000
current->tss.cr3 = 00101000, %cr3 = 00101000
*pde = 1fd95063
*pte = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[]
EFLAGS: 00010296
eax: 0000001c ebx: e8002000 ecx: 000003a0 edx: c02031c0
esi: 00000001 edi: e8001000 ebp: 000000ae esp: dfd8ff74
ds: 0018 es: 0018 ss:0018
Process swapper (pid: 1, process nr:1, stackpage=dfd8f000)
Stack: c01b61e5 dfd8ffb0 c0203198 1fefc000 000004b0 00000025 c02031c0 c021fae0
00000001 c0106111 00000000 00000025 0025885a c01b61e0 000f62d0 494d445f
04b0615f 1fefc000 00000025 5f504d5f c0203276 c02031c0 c0202e94 000000
Call Trace: [] [] [] [] []
Code: 80 3b 00 75 fa 80 7b 01 00 75 f4 83 c3 02 46 3b 74 24 1c 7c

I'm dying to get Mandrake installed on this machine so I can begin transforming my old desktop into a server for my home (replacing my old ailing Mandrake 8.1 server).

Any help would be greatly appreciated, as I'm out of options right now. Thanks!
post #2 of 34
freezing while it's uncompressing the kernel is bad, and errors listing stack traces like that are bad, too. at that point, it hasn't even gotten to loading the firewire driver yet, so that's not it. did you download and burn the iso? if so, it might have been corrupted during download; try redownloading and re-burning it, maybe even with CRC checking or MD5 hashing.

... and if you bought it... well... then there's something quite wrong. i'll try and see what i can find about it.
post #3 of 34
Thread Starter 

sort of fixed

I sort of fixed the problem. It has something to do with Mandrake's kernel. Not sure what it is exactly, but I tried Slackware, and the install ran smoothly. So I created a custom boot disk for Mandrake, put Slack's kernel on it, and installed Mandrake that way.

I then put Slack on a separate partition, copied its kernel (2.4.20) over to the Mandrake partition, set it up in Lilo, and have a somewhat stable Mandrake setup now.

No matter what I do, though (even recompiling), I can't get Mandrake's kernel to work. I really want ACPI support (specifically suspend to disk), so I downloaded the new 2.6.0 kernel and compiled that.

That works fine, except for some reason it breaks the touchpad on the laptop (mouse pointer sits in the middle of the screen and doesn't respond).

So I'm sort of stuck in limbo right now, with a setup that works, but not everything is configured right.

Any advice would be greatly appreciated.
post #4 of 34
you want help getting the touchpad to work with 2.6.0-test1? ok:

first of all, the touchpad works a lot differently now - i don't know if you saw it, but the touchpad was detected and set up during the boot into 2.6. we still need the x driver, of course, but now it works through the event interface, as opposed to the ps2 interface. so here is what you need:

first of all, you need event interface support, under the 'input device support' of the kernel config. when you reboot, and go into /dev/input (if you're using devfs, which almost everyone uses, and you should be using it), you'll see a few event interfaces - event0, event1, etc. one of these is the touchpad - cat each one, and use the touchpad, and see which of them responds with weird symbols.

now, we need the synaptics driver. go to:

http://w1.894.telia.com/~u89404340/touchpad/

and get the driver there, synaptics-0.11.3p6. it's an updated version of that synaptics driver at tuxmobil.org. it's got event interface support added, which is what we need. plus, we have the bonus of making that scroll button in the middle work...

so set the mouse up with that driver in the xfree config. i'll assume you know how to do that; if not, i can help you out. but use that driver, with the correct event interface device as the device (mine is /dev/input/event0), and the protocol is "event", as opposed to ps/2.

that should do it. all the other edge settings and whatnot are the same as the other synaptics driver (the ones in the readme), and you can do a ZAxisMapping "4 5" to get that center scroll up/down button working, if you have one.

let me know if you have trouble.
post #5 of 34
i must have glanced over it, but i forgot to add:

software suspend (swsusp), or suspend to disk, is a kernel patch that is completely independent of any power management like apm or acpi. so you really don't need acpi to suspend. but acpi adds those other nice things like throttling, power switching between battery and a/c, hyperthreading if you have it, etc, so you probably want it anyway.
post #6 of 34
Thread Starter 

2.6 help

Thanks for the 2.6.0 help. It was somewhat late when I posted the last comment, so for some reason I didn't notice the 8139too module wouldn't load (QM_MODULES: function not implemented is the error message).

I recompiled the kernel again, but it didn't seem to change things.

Every time I cat one of the event items under /dev/input, I get

cat: event0: No such device

If I look at dmesg, though, the touchpad does seem to be detected by the kernel, and it says it's on isa0060/serio4. Not sure what that is, exactly.

I'm just not familiar enough with the intricacies of the new kernel to really know what I'm doing.

Here's something interesting: after all of this, I downloaded the 2.4.21 stock kernel from kernels.org, and found that whatever the problem is, it's got something to do with that kernel, because after I compiled it and tried to boot it, it locked up the machine just as the Mandrake kernel (which is a 2.4.21 with some patches) had.

Any suggestions would be greatly appreciated.

Thanks!
post #7 of 34
i really can't tell you what's up with your 2.4.21... it might be something in your configuration, because i've never had any problems with 2.4.21. it's a lot harder to troubleshoot if it's hanging, as opposed to giving error messages.

with the event interfaces:

the input core and event interface support, are they compiled directly into the kernel or as modules? also, do you have serial i/o support enabled?

but if it's detected and on isa0060/serio4, then that's a good thing.

on the 8139too driver: i've found that it's always better to compile the network card directly into the kernel. the 8139too module depends on the mii module, which is a common library for accessing some pci network cards. however, when loading modules, there are many opportunities for things to go wrong; your error, for example. there was another thread about the mii module not loading, and so the 8139too wouldn't load. but if it's compiled directly in, there is really no chance for dependent modules to get lost or something else - the module and its dependencies are all in there, and are all already loaded when the kernel is booted. so give that a shot.

i'll see what else i can come up with.
post #8 of 34
Thread Starter 
Quote:
Originally posted by xiphux

the input core and event interface support, are they compiled directly into the kernel or as modules? also, do you have serial i/o support enabled?
Now they are. I had them as modules before, and no modules were getting loaded due to the previously mentioned problem (QM_MODULES: function not implemented). After googling on the error, I found that my modutils need to be replaced if I'm going to run the new kernel. I downloaded the latest few versions of those, but was unable to get any of them to compile. So I chose to build myself a gigantic monolithic kernell.

Quote:
but if it's detected and on isa0060/serio4, then that's a good thing.
You'd think that, but for some reason I still cannot get it to work. Now that I've compiled all this stuff into the kernel itself, I do get the garbage characters if I cat the event0, but when I try to start X, I get an error message stating it couldn't find the device on /dev/input/event0 js0 or some such thing.

Hold on a sec... now that I'm looking at it, there are now only three eventX entries, and no jsX entries now. I wonder if something in the new kernel overwrote what had been in there before? I'll go back to fooling with it and let you know.

Quote:
on the 8139too driver: i've found that it's always better to compile the network card directly into the kernel. the 8139too module depends on the mii module, which is a common library for accessing some pci network cards. however, when loading modules, there are many opportunities for things to go wrong; your error, for example. there was another thread about the mii module not loading, and so the 8139too wouldn't load. but if it's compiled directly in, there is really no chance for dependent modules to get lost or something else - the module and its dependencies are all in there, and are all already loaded when the kernel is booted. so give that a shot.
You are absolutely right about that: my network is working fine now that it's compiled in. Of course, sound is now not working. I get this instead:

Advanced Linux Sound Architecture Driver Version 0.9.4 (Mon Jun 09 12:01:18 2003 UTC).
request_module: failed /sbin/modprobe -- snd-card-0. error = -16
no UART detected at 0xffff
MTVAP port 0x378 is busy
specify port
PCI: Setting latency timer of device 0000:00:1f.5 to 64
intel8x0: clocking to 48000
ALSA device list:
#0: Virtual MIDI Card 1
#1: Intel 82801CA-ICH3 at 0x1c00, irq 11

Thanks for your help! I feel like I'm getting closer to a working system...
post #9 of 34
Thread Starter 
Nope. Still can't get the touchpad working the way you described. Here's what I have in XF86Config-4:

Section "InputDevice"
Driver "synaptics"
Identifier "Mouse[1]"
Option "Device""/dev/input/event1"
Option "Protocol" "auto-dev"
Option "LeftEdge" "1900"
Option "RightEdge" "5400"
Option "TopEdge" "3900"
Option "BottomEdge" "1800"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.02"
Option "MaxSpeed" "0.18"
Option "AccelFactor" "0.0010"
Option"ZAxisMapping" "4 5"
# Option "Repeater" "/dev/ps2mouse"
# Option "SHMConfig" "on"
EndSection

And here's the error message I get when trying to start X:

(--) Mouse[1] auto-dev sets Synaptics Device to /dev/input/js0 event1
(**) Option "Device" "/dev/input/js0 event1"
(EE) xf86OpenSerial: Cannot open device /dev/input/js0 event1
No such file or directory.
Synaptics driver unable to open device
(EE) PreInit failed for input device "Mouse[1]"
(II) UnloadModule: "synaptics"
(WW) No core pointer registered
No core pointer

At least I can use a regular mouse plugged into the machine when booted into 2.6.0. The previously defined PS/2 device seems to work for that.
post #10 of 34
the protocol should be "event". in the lines from your x log, it says the auto-dev protocol is changing the device it uses - from /dev/input/event1 to /dev/input/js0 event1. and that device doesn't exist. i'm almost certain that changing 'auto-dev' to 'event' will fix it.

for the sound card driver, the /sbin/modprobe line means it probably has something to do with the module loading system, presumably because, like you said, you don't have module-init-tools (the 2.5/2.6 module tools) installed. is the alsa driver and its features compiled directly into the kernel?

you could build a giant kernel - i compile a lot of things in to avoid the hassle of loading a module. however, that is going to cause problems - direct rendering, and consequently 3d acceleration through drm, will _not_ work at all if the radeon drm module is not a driver, for example. i strongly recommend getting them working. what problems did you have building the tools?
post #11 of 34
Thread Starter 
Yup, that got it working. Even the rocker buttons are working. Woo hoo!

Now the external mouse doesn't work, though. I expected that since I had both configured, either one would move the cursor.

As far as the modutils, the configure script gives me this:

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/sezovr/module-init-tools-0.9.13-pre/missing: Unknown `--run' option
Try `/home/sezovr/module-init-tools-0.9.13-pre/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
configure: Adding gcc options: -g -O2 -Wunused -Wall -Wcast-align
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands

I'm not a C++ developer, so I have no idea what that means. If I do a make, it looks like it's going okay, and then I get:

gcc -g -O2 -Wunused -Wall -Wcast-align -o insmod.static -static insmod.o
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make: *** [insmod.static] Error 1

I tried the latest version, which is module-init-tools-0.9.13-pre, and several versions back, and I get the same compilation error every time.

It seems like as soon as I get one thing fixed, one more breaks.

Thanks for all your help!
post #12 of 34
hi Sez!

Quote:
/usr/bin/ld: cannot find -lc
i don't know if i can be of any help but it looks like you are linking to a library that is not there, which in this case is the c library. the -l means a link to something and after the -l there is a c, which is the c library.

do you have libc-dev installed? if not you will be to install it (or it may need a version of libc like libc6-dev).

regards
post #13 of 34
i can't really help you out if something is missing from slackware since i've never used it, sorry. maybe you can find a module-init-tools package for slackware?

as to two mouses:

is your ServerLayout section correct? i.e. do you have two separate mouse sections with separate identifiers, with one InputDevice set as the CorePointer, and the other one set with SendCoreEvents? for example, mine looks like:

InputDevice "touchpad" "CorePointer"
InputDevice "usbmouse" "SendCoreEvents"

i set touchpad as the corepointer since it's (naturally) always connected, while my usb mouse could be connected/disconnected at times.
post #14 of 34
Thread Starter 
I'm not using Slackware. I'm using Mandrake, with Slackware's kernel--which works enough to get X and network running--, until I get the 2.6.0 kernel working with all features (usb, firewire, etc. :-) So if the development environment is messed up, it's Mandrake's development environment. Arpia, I will check to see if I have libc-dev installed, and if not, I will install it. Thanks for jumping in!

I don't think there's a precompiled package available for any distro, as this is bleeding-edge kernel stuff. You actually have to replace the modutils that came with your distro with these, if you want to insert modules into the 2.6 kernel (at least, according to the kernel mailing list archives I found on Google). I've already had to --force reinstall my modutils rpm because I hosed them doing this.

If anybody wants to try this, btw, you can get the modutils for th 2.6 kernel at:

http://www.kernel.org/pub/linux/kern...rusty/modules/

Xiphux, thanks for the tip on the mouse. I've been using the PS/2 port on the laptop, with the usb to PS/2 adapter on the mouse. I'll have to try plugging it into usb (won't work in the Slack 2.4 kernel, but I compiled usb into the 2.6 kernel) and see what happens.

I can't get to any of this until this afternoon, but I'll be sure to let you know what happens.

Thanks!
post #15 of 34
hmm. well actually, i know very little about the packages in mandrake, too; i had bad results back in the day with the older versions and never really went back...

i suppose i could compile a package for you, if you wanted. i would need to know your computer's specs for the correct CFLAGS, though.
post #16 of 34
Thread Starter 
I got 'em compiled. I had to install a package called something like libc-static, and the compile worked.

I re-compiled my kernel to use modules, and now I am able to load modules!

Re-did alsa and OSS (it looks like you have to use the i810_audio driver on these machines, which is an OSS driver), and the modules inserted properly, BUT...

still no sound. Not sure what's causing this at this point. I do know that the sound in the laptop works, because sound worked when I had the full distro of Slackware installed.

I just ran Mandrake's sound config routine--I'll reboot and see what happens.
post #17 of 34
Thread Starter 
Nope. No sound. I can do alsamixer and set the volumes to whatever I want, but starting X and running KDE produces no sound. I tried launching a game (armagetron) and I get:

ALSA lib pcm_hw.c:866snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resource busy
Segmentation fault

Maybe I'll go back to X and try to figure out how to get my external mouse and DRI working....
post #18 of 34
i use the intel8x0 alsa driver without problems. in the kernel config, i chose alsa, sequencer support, oss api emulation, oss mixer api, oss pcm (digital audio) api, oss sequencer api, rtc timer support, and intel i8x0 under pci devices - all directly in the kernel, no modules. and nothing from the open sound system (oss) menu because it's deprecated. you might want to try that.

also, kill any sound daemons like esd or arts; those tend to interfere with alsa.

i can tell you how to use the external mouse or dri if you need help.
post #19 of 34
Thread Starter 
Quote:
Originally posted by xiphux
i use the intel8x0 alsa driver without problems. in the kernel config, i chose alsa, sequencer support, oss api emulation, oss mixer api, oss pcm (digital audio) api, oss sequencer api, rtc timer support, and intel i8x0 under pci devices - all directly in the kernel, no modules. and nothing from the open sound system (oss) menu because it's deprecated. you might want to try that.
Would if I could, but there is no ALSA module for the intel8x0 to configure, just an OSS. Must not be in 2.6 yet.

I may be going back to the 2.4 kernel pretty soon. Sound and DRI are showstoppers for me, and I just found that the ATI kernel patches for their drivers don't work with 2.6 either. Is there anything special I have to do to get the synaptics rocker switch working in 2.4?
post #20 of 34
the intel8x0 module is in the kernel, under

Sound ->
Advanced Linux Sound Architecture ->
PCI Devices ->
<*> Intel i8x0/MX440, SiS 7012; Ali 5455; NForce Audio; AMD768/8111

it's the fourth option from the bottom in the pci device list. i guarantee that it's in both 2.6-test1 and 2.6-test1-mm1 because i've been using straight kernel support for both with no problems.


for DRI:

under character devices, you need

<*> /dev/agpgart (AGP Support)

compiled _directly_ into the kernel. it's important that it's a part of the kernel or else direct rendering won't work. i don't know what specific chipset we have, so i just compiled them all in. no big deal.

below that, you want
[*] Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)

and below that, you want

<M> ATI Radeon

as a _module_. it's important that it's modular, and loaded up at boot, before you start X. also, you need to completely remove the old radeon DRM driver that you used with kernel 2.4 (if you have one) here's why:

i don't know why agpgart needs to be in the kernel, but i know that if it's a module, it will say that agp is not available when starting X.

in 2.5/2.6, the module system is completely different. trying to load an old 2.4 module will not work - in fact, it could mess things up badly. when x starts up and you have the radeon dri driver specified, x will load the module if it's not loaded. if it tries to load the old driver, x will hang with a black screen, requiring a reboot. so if you put support directly into the kernel for the radeon, x will still see that there is no radeon module loaded, try to load the old radeon module, and hang. and naturally, no support at all brings the same results. if you have the radeon driver as a module and loaded on boot, X will see that the radeon module _is_ loaded and it won't try and load the old driver, and will correctly use the new and loaded module.

ati's firegl drivers don't work yet. but since 2.6 is entering testing and a lot more people will be stress testing it, i'm sure ati (or someone else, if not them) will get it working with 2.6.


the synaptics mouse driver is an x driver, and independent of the kernel. the same zaxismapping configuration would work with 2.4, but you just wouldn't be using the event interface device or protocol anymore.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux & Other OS's
NotebookForums.com › Forums › General Notebook Discussions › Linux & Other OS's › Mandrake 9.1 install locks on Sager 5670