LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 12-06-2003, 02:26 PM   #1
muzicman82
Member
 
Registered: Nov 2003
Posts: 79

Rep: Reputation: 15
Still trying to recompile Kernel!!


I just compiled Kernel 2.5.75, I have had NO luck compiling either 2.4.22, this one, or 2.60-test11. I don't get it. I've followed everyone's instructions, multiple times, and NOTHING is working... GRRRR...

This time.... X Server won't start.... Probably because crap in the Kernel isn't loading... but I get the following at the end of the XFree86.0.log file.

(**) Option "Protocol" "PS/2"
(**) Mouse1: Protocol: "PS/2"
(**) Option "CorePointer"
(**) Mouse1: Core Pointer
(**) Option "Device" "/dev/mouse"
(EE) xf86OpenSerial: Cannot open device /dev/mouse
No such file or directory.
(EE) Mouse1: cannot open input device
(EE) PreInit failed for input device "Mouse1"
(II) UnloadModule: "mouse"
(II) Keyboard "Keyboard1" handled by legacy driver
(WW) No core pointer registered
No core pointer

Fatal server error:
failed to initialize core devices

The following is my syslog file from the last boot.

Dec 6 13:06:35 nmarques kernel: Linux version 2.5.75 (root@nmarques) (gcc version 3.2.3) #1 Sat Dec 6 03:21:18 CST 2003
Dec 6 13:06:35 nmarques kernel: Video mode to be used for restore is 305
Dec 6 13:06:35 nmarques kernel: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
Dec 6 13:06:35 nmarques kernel: BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
Dec 6 13:06:35 nmarques kernel: BIOS-e820: 0000000000100000 - 000000001ffea800 (usable)
Dec 6 13:06:35 nmarques kernel: BIOS-e820: 000000001ffea800 - 0000000020000000 (reserved)
Dec 6 13:06:35 nmarques kernel: BIOS-e820: 00000000feea0000 - 00000000fef00000 (reserved)
Dec 6 13:06:35 nmarques kernel: BIOS-e820: 00000000ffb80000 - 0000000100000000 (reserved)
Dec 6 13:06:35 nmarques kernel: On node 0 totalpages: 131050
Dec 6 13:06:35 nmarques kernel: DMA zone: 4096 pages, LIFO batch:1
Dec 6 13:06:35 nmarques kernel: Normal zone: 126954 pages, LIFO batch:16
Dec 6 13:06:35 nmarques kernel: HighMem zone: 0 pages, LIFO batch:1
Dec 6 13:06:35 nmarques kernel: Dell Inspiron with broken BIOS detected. Refusing to enable the local APIC.
Dec 6 13:06:35 nmarques kernel: ACPI: MADT not present
Dec 6 13:06:35 nmarques kernel: Building zonelist for node : 0
Dec 6 13:06:35 nmarques kernel: Kernel command line: BOOT_IMAGE=Linux ro root=305
Dec 6 13:06:35 nmarques kernel: PID hash table entries: 2048 (order 11: 16384 bytes)


What am I not doing?? Why the heck can't it find modules if I did make modules and make modules_install?? None of this makes sense to me...

I'm using Slackware 9.1, which I'm told is the best, but its not impressing me too much.

Also, the first boots immediately after I installed Slackware gave FATAL: Cannot locate module agppart and some others... It didn't even work "out of the box"!!!

Any help would rock....

Thanks!
Dec 6 13:06:35 nmarques kernel: Detected 648.022 MHz processor.
Dec 6 13:06:35 nmarques kernel: Console: colour VGA+ 80x25
Dec 6 13:06:35 nmarques kernel: Calibrating delay loop... 1282.04 BogoMIPS
Dec 6 13:06:35 nmarques kernel: Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Dec 6 13:06:35 nmarques kernel: Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Dec 6 13:06:35 nmarques kernel: CPU: Intel Pentium III (Coppermine) stepping 0a
Dec 6 13:06:35 nmarques kernel: POSIX conformance testing by UNIFIX
Dec 6 13:06:35 nmarques kernel: Initializing RT netlink socket
Dec 6 13:06:35 nmarques kernel: mtrr: v2.0 (20020519)
Dec 6 13:06:35 nmarques kernel: BIO: pool of 256 setup, 15Kb (60 bytes/bio)
Dec 6 13:06:35 nmarques kernel: biovec pool[0]: 1 bvecs: 256 entries (12 bytes)
Dec 6 13:06:35 nmarques kernel: biovec pool[1]: 4 bvecs: 256 entries (48 bytes)
Dec 6 13:06:35 nmarques kernel: biovec pool[2]: 16 bvecs: 256 entries (192 bytes)
Dec 6 13:06:35 nmarques kernel: biovec pool[3]: 64 bvecs: 256 entries (768 bytes)
Dec 6 13:06:35 nmarques kernel: biovec pool[4]: 128 bvecs: 256 entries (1536 bytes)
Dec 6 13:06:35 nmarques kernel: biovec pool[5]: 256 bvecs: 256 entries (3072 bytes)
Dec 6 13:06:35 nmarques kernel: tbxface-0117 [03] acpi_load_tables : ACPI Tables successfully acquired
Dec 6 13:06:35 nmarques kernel: Parsing all Control Methods:............................................................................................ ...............................................................
Dec 6 13:06:35 nmarques kernel: Table [DSDT](id F004) - 359 Objects with 51 Devices 155 Methods 3 Regions
Dec 6 13:06:35 nmarques kernel: ACPI Namespace successfully loaded at root c051127c
Dec 6 13:06:35 nmarques kernel: evxfevnt-0093 [04] acpi_enable : Transition to ACPI mode successful
Dec 6 13:06:35 nmarques kernel: evgpeblk-0748 [06] ev_create_gpe_block : GPE 00 to 15 [_GPE] 2 regs at 0000000000000828 on int 9
Dec 6 13:06:35 nmarques kernel: evgpeblk-0748 [06] ev_create_gpe_block : GPE 16 to 31 [_GPE] 2 regs at 000000000000082C on int 9
Dec 6 13:06:35 nmarques kernel: Completing Region/Field/Buffer/Package initialization:...............................................................
Dec 6 13:06:35 nmarques kernel: Initialized 3/3 Regions 10/10 Fields 24/24 Buffers 26/26 Packages (367 nodes)
Dec 6 13:06:35 nmarques kernel: Executing all Device _STA and_INI methods:....................................................
Dec 6 13:06:35 nmarques kernel: 52 Devices found containing: 52 _STA, 3 _INI methods
Dec 6 13:06:35 nmarques kernel: PCI: Probing PCI hardware (bus 00)
Dec 6 13:06:35 nmarques kernel: Transparent bridge - Intel Corp. 82801BAM/CAM PCI Bri
Dec 6 13:06:35 nmarques kernel: ACPI: PCI Interrupt Link [LNKA] (IRQs 9 10 *11)
Dec 6 13:06:35 nmarques kernel: ACPI: PCI Interrupt Link [LNKB] (IRQs *5 7)
Dec 6 13:06:35 nmarques kernel: ACPI: PCI Interrupt Link [LNKC] (IRQs 9 10 11, disabled)
Dec 6 13:06:35 nmarques kernel: ACPI: PCI Interrupt Link [LNKD] (IRQs 5 7 *10 11)
Dec 6 13:06:35 nmarques kernel: ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 9
Dec 6 13:06:35 nmarques kernel: pty: 256 Unix98 ptys configured
Dec 6 13:06:35 nmarques kernel: Enabling SEP on CPU 0
Dec 6 13:06:35 nmarques kernel: anticipatory scheduling elevator
Dec 6 13:06:35 nmarques kernel: hda: HTS726060M9AT00, ATA DISK drive
Dec 6 13:06:35 nmarques kernel: hdb: TOSHIBA CD-RW/DVD-ROM SD-R2002, ATAPI CD/DVD-ROM drive
Dec 6 13:06:35 nmarques kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Dec 6 13:06:35 nmarques kernel: hda: max request size: 1024KiB
Dec 6 13:06:35 nmarques kernel: end_request: I/O error, dev hdb, sector 0
Dec 6 13:06:35 nmarques kernel: hdb: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Dec 6 13:06:35 nmarques kernel: PCI: Enabling device 0000:02:0f.0 (0000 -> 0002)
Dec 6 13:06:35 nmarques kernel: Yenta IRQ list 0000, PCI irq10
Dec 6 13:06:35 nmarques kernel: Socket status: 30000006
Dec 6 13:06:35 nmarques kernel: PCI: Enabling device 0000:02:0f.1 (0000 -> 0002)
Dec 6 13:06:35 nmarques kernel: Yenta IRQ list 0000, PCI irq10
Dec 6 13:06:35 nmarques kernel: Socket status: 30000010
Dec 6 13:06:35 nmarques kernel: synaptics reset failed
Dec 6 13:06:35 nmarques last message repeated 2 times
Dec 6 13:06:35 nmarques kernel: VFS: Mounted root (ext2 filesystem) readonly.
Dec 6 13:06:39 nmarques /usr/sbin/gpm[427]: oops() invoked from gpm.c(977)
Dec 6 13:06:39 nmarques /usr/sbin/gpm[427]: /dev/mouse: No such file or directory
 
Old 12-06-2003, 03:13 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,005
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
The X error only suggests that you've been trying
to run make xconfig ... you can only do that if you
either enable xhost +localhost as user and then
export DISPLAY=loclahost:0.0 as root or do
ssh -X root@localhost "cd /usr/src/linux<versionmumble>; make xconfig"

Are you sure you actually installed the corresponding
files of the original kernel? It's hard to believe slack
would miss on such a crucual file. Did you by any chance
manually delete anything from /lib/modules?

I'd suggest re-installing the bare.i kernel and
its source... Then copy the .config from Slacks
kernel to the new kernel directory (stay clean
of the 2.5 series :} and only use 2.6 if there's
feature that won't allow you to run in older
kernels ... even though
Dec 6 13:06:35 nmarques kernel: Detected 648.022 MHz processor.
suggests old hardware that should happily
run any 2.4 kernels).



Cheers,
Tink
 
Old 12-06-2003, 10:15 PM   #3
muzicman82
Member
 
Registered: Nov 2003
Posts: 79

Original Poster
Rep: Reputation: 15
My processor is actually 800 Mhz, the 650 Mhz is the low speed of my laptop...

However, that error is from trying to STARTX after I have installed a recompiled kernel.

I did a FULL install of Slackware, and have deleted nothing. I still get the FATAL module errors about agpgart... How do I reinstall it??

I had worse problems with 2.6. I'm not sure which should be easier to install and compile, but I figured 2.5.75 is a safe enough release to test out...

Are all of the output text displayed during boot written to a file besides syslog? It doesn't seem to be logging all of the stuff I'm seeing at boot.


Thanks
 
Old 12-06-2003, 10:45 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,005
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Try
dmesg
... that'll give you all that's happening during boot.

Besides that, yes, syslog, debug and co
in /var/log hold all that info, too.

If you didn't make any changes to config,
why did you recompile in the first place? :)

If you re-compile the same kernel with a modified
.config your old modules WON'T be preserverd.

Without access to your machine it's hard to
tell what you did, but rest assured, it's not
Slacks fault if it doesn't work ;) ...

I've borked up a few kernels, and one way of
avoiding problems with modules if you stay
in the same source tree is to change the
EXTRAVERSION in /usr/src/linux-<mumble>/Makefile
... that way if you compile the same version
with different options you have two kernels
and two module directories.


Cheers,
Tink
 
Old 12-07-2003, 12:44 AM   #5
muzicman82
Member
 
Registered: Nov 2003
Posts: 79

Original Poster
Rep: Reputation: 15
Umm, well with the out of the CD kernel of Slackware 9.1, lots of my hardware (Dell Inspiron 8000) doesn't work... also, I hear later versions have better ACPI, APM, and laptop support in general...

SO.... that's why I need a kernel rebuild.
 
Old 12-07-2003, 05:38 AM   #6
Andronik
Member
 
Registered: Sep 2003
Location: Estonia Tartu
Distribution: Debian, edition depends on what i run it, wheezy on main box.
Posts: 90

Rep: Reputation: 15
Dec 6 13:06:35 nmarques kernel: Dell Inspiron with broken BIOS detected. Refusing to enable the local APIC.
Dec 6 13:06:35 nmarques kernel: ACPI: MADT not present

you see,it does-nt like your bios apic support.maybe there is bios update.

i suggest you should try to get really needed basic hardware work at first.

about this:
(**) Mouse1: Core Pointer
(**) Option "Device" "/dev/mouse"
(EE) xf86OpenSerial: Cannot open device /dev/mouse
No such file or directory.
(EE) Mouse1: cannot open input device
(EE) PreInit failed for input device "Mouse1"

maybe i am thumb ,but for me such messages mean that you have misconfigured your mouse.
better tell your mouse you are actually using.
try mousconfig to find right one out.
X does not start with misconfigured core pointer.
to do this first try it to get work under default install, and if you feel you know your hardware,start compiling new kernels with needed hardware modules.
 
  


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
how to recompile kernel 2.4.21-15.EL zameer_india Linux - Newbie 2 12-24-2004 02:02 AM
kernel recompile error (kernel panic) tombaaaaa Linux - Newbie 4 08-04-2004 05:32 PM
Recompile kernel 2.6 heema Linux - General 3 05-26-2004 11:29 AM
9.2 kernel recompile dukeinlondon Mandriva 3 11-10-2003 07:34 AM
Recompile Kernel ? Amerist Linux - Newbie 5 04-16-2002 05:13 AM


All times are GMT -5. The time now is 09:08 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration