LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 03-15-2004, 10:10 AM   #211
MentalProblems
LQ Newbie
 
Registered: Mar 2004
Location: US
Distribution: SlackWare 9.1
Posts: 10

Rep: Reputation: 0
Kernel Compile.


I ran through your instructions, I had a few minor errors which I was able to resolve by editing the lilo.conf file. Afterwards make install worked fine without any trailing errors. However, when I rebooted I noticed a few of the modules I requested "SMP" for example loaded, but when I run uname -r it says I'm stilling running 2.4.22 ..

Any help would be appreciated.

Slackware 9.1
DELL Poweredge 400SC 2.4P4C - anybody have a custom .config for this machine?

M.P
 
Old 03-16-2004, 05:30 PM   #212
abs
Member
 
Registered: Oct 2003
Posts: 203

Rep: Reputation: 30
@bashrc2: ty for the link, very informative. so the link for linux -> linux-2.6.x IS important. to quote:
Quote:
Upon bootup, if klogd isn't given the location of System.map as an argument, it will look for System.map in three places, in the following order:

1. /boot/System.map
2. /System.map
3. /usr/src/linux/System.map
 
Old 03-24-2004, 10:47 AM   #213
SlackMaster
Member
 
Registered: Mar 2003
Distribution: Slackware
Posts: 35

Rep: Reputation: 15
Set INSTALL_PATH in top level Makefile for "make install"

MentalProblems,

Since you're doing "make install", and from your description, my hunch is that the new kernel and System.map are being placed in "/" (the root of the file system). While lilo is loading the old, existing kernel from the /boot directory.

Edit the top level Makefile and search for
INSTALL_PATH.

Uncomment that line and set the value to
/boot

Example:
export INSTALL_PATH=/boot

This will cause "make install" to place the new kernel and System.map in /boot, instead of /, which is the default.

Last edited by SlackMaster; 03-25-2004 at 11:42 PM.
 
Old 03-25-2004, 08:17 PM   #214
chopp
Member
 
Registered: Sep 2003
Location: AB. Canada
Distribution: Slackware
Posts: 126

Rep: Reputation: 16
2.6.0 build

Well I've managed to compile my first kernel, well sort of.

Everything seem's to be ok except my external usb cd-rw. I thought I chose everything related, in the scsi section.
Also, if I ever get this working properly, can I just delete the 2.4.22 directory?

Here is the usb, and scsi section's of my config file:

# SCSI device support
#
CONFIG_SCSI=y
CONFIG_SCSI_PROC_FS=y
#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=y
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_CHR_DEV_SG=y
#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
#
# CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_REPORT_LUNS is not set
# CONFIG_SCSI_CONSTANTS is not set
# CONFIG_SCSI_LOGGING is not set
#
# SCSI low-level drivers
#
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
# CONFIG_SCSI_7000FASST is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AHA152X is not set
# CONFIG_SCSI_AHA1542 is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_IN2000 is not set
# CONFIG_SCSI_MEGARAID is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_CPQFCTS is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_DTC3280 is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_EATA_PIO is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
CONFIG_SCSI_GENERIC_NCR5380=m
CONFIG_SCSI_GENERIC_NCR5380_MMIO=m
# CONFIG_SCSI_GENERIC_NCR53C400 is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_NCR53C406A is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_PAS16 is not set
# CONFIG_SCSI_PSI240I is not set
# CONFIG_SCSI_QLOGIC_FAS is not set
# CONFIG_SCSI_QLOGIC_ISP is not set
# CONFIG_SCSI_QLOGIC_FC is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_SYM53C416 is not set
# CONFIG_SCSI_T128 is not set
# CONFIG_SCSI_U14_34F is not set
# CONFIG_SCSI_ULTRASTOR is not set
# CONFIG_SCSI_NSP32 is not set
# CONFIG_SCSI_DEBUG is not set
#
# PCMCIA SCSI adapter support
#
# CONFIG_PCMCIA_AHA152X is not set
# CONFIG_PCMCIA_FDOMAIN is not set
# CONFIG_PCMCIA_NINJA_SCSI is not set
# CONFIG_PCMCIA_QLOGIC is not set
#
# Old CD-ROM drivers (not SCSI, not IDE)
#
# CONFIG_CD_NO_IDESCSI is not set
#
# USB support
#
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set
#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
#
# USB Host Controller Drivers
#
# CONFIG_USB_EHCI_HCD is not set
CONFIG_USB_OHCI_HCD=m
CONFIG_USB_UHCI_HCD=y
#
# USB Device Class drivers
#
CONFIG_USB_AUDIO=m
# CONFIG_USB_BLUETOOTH_TTY is not set
CONFIG_USB_MIDI=m
CONFIG_USB_ACM=m
CONFIG_USB_PRINTER=y
CONFIG_USB_STORAGE=y
CONFIG_USB_STORAGE_DEBUG=y
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_DPCM is not set
#
# USB Human Interface Devices (HID)
#
# CONFIG_USB_HID is not set
#
# USB HID Boot Protocol drivers
#
# CONFIG_USB_KBD is not set
# CONFIG_USB_MOUSE is not set
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_XPAD is not set
#
# USB Imaging devices
#
# CONFIG_USB_SCANNER is not set
# CONFIG_USB_MICROTEK is not set
#
# USB Multimedia devices
#
# CONFIG_USB_DABUSB is not set
CONFIG_USB_IBMCAM=m
CONFIG_USB_KONICAWC=m
CONFIG_USB_OV511=m
CONFIG_USB_PWC=m
CONFIG_USB_SE401=m
CONFIG_USB_STV680=m
#
# USB Network adaptors
#
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_USBNET is not set
#
# USB port drivers
#
#
# USB Serial Converter support
#
# CONFIG_USB_SERIAL is not set
#
# USB Miscellaneous drivers
#
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_TIGL is not set
# CONFIG_USB_LCD is not set

here also is the output of dmesg:

T
2004
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000eac00 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
BIOS-e820: 000000000fff0000 - 000000000ffff800 (ACPI data)
BIOS-e820: 000000000ffff800 - 0000000010000000 (ACPI NVS)
BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
255MB LOWMEM available.
On node 0 totalpages: 65520
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 61424 pages, LIFO batch:14
HighMem zone: 0 pages, LIFO batch:1
DMI 2.1 present.
Sony Vaio laptop detected.
Building zonelist for node : 0
Kernel command line: BOOT_IMAGE=Linux ro root=305
Initializing CPU#0
PID hash table entries: 1024 (order 10: 8192 bytes)
Detected 496.457 MHz processor.
Console: colour dummy device 80x25
Memory: 255344k/262080k available (2215k kernel code, 6008k reserved, 880k data,
136k init, 0k highmem)
Calibrating delay loop... 980.99 BogoMIPS
Security Scaffold v1.0.0 initialized
Capability LSM initialized
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: 0383f9ff 00000000 00000000 00000000
CPU: After vendor identify, caps: 0383f9ff 00000000 00000000 00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU: After all inits, caps: 0383f9ff 00000000 00000000 00000040
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: Intel Pentium III (Coppermine) stepping 01
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfd99e, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
Linux Plug and Play Support v0.97 (c) Adam Belay
SCSI subsystem initialized
Linux Kernel Card Services
options: [pci] [cardbus] [pm]
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router PIIX/ICH [8086/7110] at 0000:00:07.0
PCI: IRQ 0 for device 0000:00:0c.0 doesn't match PIRQ mask - try pci=usepirqmask
PCI: Found IRQ 9 for device 0000:00:0c.0
PCI: IRQ 0 for device 0000:00:0c.1 doesn't match PIRQ mask - try pci=usepirqmask
PCI: Found IRQ 9 for device 0000:00:0c.1
PCI: Sharing IRQ 9 with 0000:00:0a.0
vesafb: framebuffer at 0xfd000000, mapped to 0xd0800000, size 2496k
vesafb: mode is 800x600x8, linelength=800, pages=4
vesafb: protected mode interface info at c000:ae30
vesafb: scrolling: redraw
fb0: VESA VGA frame buffer device
SBF: ACPI BOOT descriptor is wrong length (39)
SBF: Simple Boot Flag extension found and enabled.
SBF: Setting boot flags 0x1
ikconfig 0.7 with /proc/config*
Initializing Cryptographic API
Limiting direct PCI/PCI transfers.
Console: switching to colour frame buffer device 100x37
Using anticipatory io scheduler
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 0000:00:07.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xfc90-0xfc97, BIOS settings: hdaMA, hdbio
ide1: BM-DMA at 0xfc98-0xfc9f, BIOS settings: hdcMA, hddio
hda: IBM-DARA-206000, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: CD-224E, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 11733120 sectors (6007 MB) w/418KiB Cache, CHS=12416/15/63
hda: hda1 hda2 hda3 hda4 < hda5 hda6 >
hdc: ATAPI 24X CD-ROM drive, 128kB Cache
Uniform CD-ROM driver Revision: 3.12
Console: switching to colour frame buffer device 100x37
PCI: Found IRQ 9 for device 0000:00:0c.0
Yenta: CardBus bridge found at 0000:00:0c.0 [104d:8073]
Yenta: ISA IRQ list 08b8, PCI irq9
Socket status: 30000006
PCI: Found IRQ 9 for device 0000:00:0c.1
PCI: Sharing IRQ 9 with 0000:00:0a.0
Yenta: CardBus bridge found at 0000:00:0c.1 [104d:8073]
Yenta: ISA IRQ list 08b8, PCI irq9
Socket status: 30000410
drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.1
PCI: Found IRQ 9 for device 0000:00:07.2
PCI: Sharing IRQ 9 with 0000:00:08.0
uhci_hcd 0000:00:07.2: UHCI Host Controller
uhci_hcd 0000:00:07.2: irq 9, io base 0000fca0
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
drivers/usb/core/usb.c: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
drivers/usb/core/usb.c: registered new driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
input: PC Speaker
input: PS/2 Generic Mouse on isa0060/serio1
serio: i8042 AUX port at 0x60,0x64 irq 12
input: AT Translated Set 2 keyboard on isa0060/serio0
serio: i8042 KBD port at 0x60,0x64 irq 1
Advanced Linux Sound Architecture Driver Version 0.9.7 (Thu Sep 25 19:16:36 2003
UTC).
PCI: Found IRQ 9 for device 0000:00:09.0
ALSA device list:
#0: Yamaha DS-XG PCI (YMF744) at 0xfedf8000, irq 9
NET: Registered protocol family 2
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
NET: Registered protocol family 1
NET: Registered protocol family 17
found reiserfs format "3.6" with standard journal
hub 1-0:1.0: new USB device on port 1, assigned address 2
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 1 pr
oto 2 vid 0x03F0 pid 0x1204
hub 1-0:1.0: new USB device on port 2, assigned address 3
Reiserfs journal params: device hda5, size 8192, journal first block 18, max tra
ns len 1024, max batch 900, max commit age 30, max trans age 30
reiserfs: checking transaction log (hda5) for (hda5)
Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 136k freed
Adding 192772k swap on /dev/hda3. Priority:-1 extents:1
found reiserfs format "3.6" with standard journal
Reiserfs journal params: device hda6, size 8192, journal first block 18, max tra
ns len 1024, max batch 900, max commit age 30, max trans age 30
reiserfs: checking transaction log (hda6) for (hda6)
Using r5 hash to sort names
Linux agpgart interface v0.100 (c) Dave Jones
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x378-0x37f 0x398-0x39f 0x3e8-0x3ff 0
x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
eth0: NE2000 Compatible: io 0x300, irq 3, hw_addr 00:C0:F0:1C:FF:FF
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
mtrr: 0xfd000000,0x400000 overlaps existing 0xfd000000,0x200000
psmouse.c: Mouse at isa0060/serio1/input0 lost synchronization, throwing 1 bytes
away.

Hope this help's. Any help will be appreciated.
couldn't have got this far without this guide either. Great work by DaOne, and everyone else who has helped.

cheer's
chopp

Last edited by chopp; 03-25-2004 at 09:19 PM.
 
Old 03-25-2004, 10:47 PM   #215
crypto2phreak
LQ Newbie
 
Registered: Mar 2004
Posts: 14

Rep: Reputation: 0
Question


Where can i get kernel 2.6.3. so i can upgrade my red hat v.8 (i know its a long story......but i'll take what i can get, I ain't rich.... yet! especially when one of my friends dropped by and gave me an old comp from work and I successfully installed red hat linux v.8 thus I started to learn how to use linux...... Story kinda sounds famialiar? ). Thanks and if anyone out there has some good advice I'm all ears. Thanx 8gian
 
Old 03-26-2004, 06:38 AM   #216
crypto2phreak
LQ Newbie
 
Registered: Mar 2004
Posts: 14

Rep: Reputation: 0
i know this is really pathetic and down right stupid and i'm sure I will get booed for it but i just installed red hat 8 2.4.18 (i know dont ask me y)
http://www.kernel.org/ this is the web site i wanted to get 2.6. which kernel do i need 2.6.5-rc2 2.6.5-rc2-bk5 2.6.4 ????
The latest stable version of the Linux kernel is: 2.6.4 2004-03-11 03:16 UTC F V VI C Changelog
The latest prepatch for the stable Linux kernel tree is: 2.6.5-rc2 2004-03-20 01:09 UTC V VI C Changelog
The latest snapshot for the stable Linux kernel tree is: 2.6.5-rc2-bk5 2004-03-25 12:43 UTC V
Thanx
I know i will be damned for this.......lol
 
Old 03-26-2004, 06:56 AM   #217
Bebo
Member
 
Registered: Jul 2003
Location: Göteborg
Distribution: Arch Linux (current)
Posts: 553

Rep: Reputation: 31
I would say that the "latest stable version" is easiest to handle. Go for 2.6.4.
 
Old 03-26-2004, 10:03 PM   #218
chopp
Member
 
Registered: Sep 2003
Location: AB. Canada
Distribution: Slackware
Posts: 126

Rep: Reputation: 16
Question scsi

can anyone help with my above post?

thank's and cheer's
chopp
 
Old 03-28-2004, 10:05 PM   #219
cxtech
Member
 
Registered: Feb 2004
Location: Seattle
Distribution: Slackware 11, SourceMage, Ubuntu, FC5
Posts: 42

Rep: Reputation: 15
Thanks for the guide DaOne. I'm getting 2 errors however in compile for kernel 2.6.4. The first is in the "make" where i get
Code:
AS arch/i386/boot/setup.o
arch/i386/boot/setup.S:167: Warning: value 0X37ffffff
which may or may not be causing my second problem. I modified my lilo.conf and Makefile according to this guides directions (currently running kernel 2.4.22 btw) and when I run "make install" I get the following:
Code:
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CHK     include/linux/compile.h
Kernel: arch/i386/boot/bzImage is ready
sh /usr/src/linux-2.6.4/arch/i386/boot/install.sh 2.6.4 arch/i386/boot/bzImage System.map ""
Added Linux *
Fatal: open /boot/vmlinuz.old: No such file or directory
make[1]: *** [install] Error 1
make: *** [install] Error 2
Any tips/suggestions/links well appreciated. Thanks in advance
 
Old 03-29-2004, 06:02 AM   #220
moonloader
Member
 
Registered: Nov 2003
Location: linuxquestions.org
Distribution: Linux and BSD
Posts: 229

Rep: Reputation: 30
AS arch/i386/boot/setup.o
arch/i386/boot/setup.S:167: Warning: value 0X37ffffff
I get this error too!I manage to install and when I boot sound,iptables error messages come,whats more I can't log in,because xserver wont start
 
Old 03-29-2004, 07:06 PM   #221
bashrc2
Member
 
Registered: Feb 2004
Distribution: slackware 9.1
Posts: 106

Rep: Reputation: 15
crypto2phreak

i would recomend 2.6.4 but I assume that the instructions here may not fit your needs since this is the "slackware" forum.. go to redhat forum, they know better when it comes to redhat
 
Old 03-29-2004, 07:15 PM   #222
cxtech
Member
 
Registered: Feb 2004
Location: Seattle
Distribution: Slackware 11, SourceMage, Ubuntu, FC5
Posts: 42

Rep: Reputation: 15
On my part I am running Slackware 9.1 (which may be clearly viewed on the side bar) and the first sentence of my post states that I am trying to install kernel 2.6.4. This combination of topics I believe belongs In this forum but if I am wrong about that then please direct me to the proper place bashrc2.
 
Old 03-29-2004, 10:37 PM   #223
bashrc2
Member
 
Registered: Feb 2004
Distribution: slackware 9.1
Posts: 106

Rep: Reputation: 15
cxtech

you are in the right place dude...

your first problem.. im not sure of.. i think I had one of those warnings too.. but I didnt care.

for your 2nd problem i think you didnt uncomment the Makefile.

anyway.. heres what you do:

cd /boot
cp vmlinuz-2.4.22 vmlinuz.old

edit your lilo.conf and make sure you have an entry "image = /boot/vmlinuz.old"
run lilo if you get no errors then reboot.

its much better if you can post your lilo.conf here and the "ls" of your /boot
 
Old 03-29-2004, 11:13 PM   #224
cxtech
Member
 
Registered: Feb 2004
Location: Seattle
Distribution: Slackware 11, SourceMage, Ubuntu, FC5
Posts: 42

Rep: Reputation: 15
Sorry if my comment was offensive, thought you were refering to my post, later noticed that you were not. Thanks for the addition too, taking this one error at a time :-P
 
Old 03-30-2004, 02:35 AM   #225
bashrc2
Member
 
Registered: Feb 2004
Distribution: slackware 9.1
Posts: 106

Rep: Reputation: 15
thats ok... you bastard! hahaha jk... enjoy linux
 
  


Reply



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
Help - Need guide on how to (re)compile kernel in 9.2 timko SUSE / openSUSE 1 02-17-2005 08:17 AM
re :kernel compile guide sh4d0w331 Slackware 1 10-02-2004 05:38 PM
Kernel re-compile guide marlor Slackware 6 08-08-2004 03:57 AM
What happened to the Newbie Compile Guide? boutrosboutros Slackware 6 07-14-2004 12:37 AM
mandrake specific kernel compile guide? e1000 Mandriva 4 01-09-2004 12:27 PM

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

All times are GMT -5. The time now is 12:33 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