URN Logo
UNIX Resources » Linux » Linux Forum » Gentoo Linux Support » Page.1 » Question on recompiling kernel
announcement The content of this page is collected from Linux Forum, All copyrights and other associated rights are reserved by the original authors of the articles.
Resources
China Linux Forum(finished)
Linux Forum(finished)
FreeBSD China(finished)
linuxforum.com
  LinuxForum General Chat
  Linux Advocacy
  LinuxForum Polls
  Introductions
  Linux Kernel Support
  Patch Management
  Development Release
  Linux Programming
  Linux Security
  Linux Software
  Linux Hardware Problems
    Linux Video Problems
    Linux Sound Problems
  Linux Networking Support
  Linux Printing Support
  Linux Human Interface Devices Support
  Linux Data Storage Support
  Linux Applications Support
  Linux Installation Support
  Linux Laptops Support
  Linux Motherboard, Chipsets, CPU, Memory
  Miscellaneous
  Debian Linux Support
  Ubuntu Linux Support
  LiveCD Discussions
  Gentoo Linux Support
  Mandrake Linux Support
  Redhat / Fedora Linux Support
  Slackware Linux Support
  SuSE Linux Support
  CentOS Linux Support
  Linux Web Servers
  Linux DNS Servers
  Linux Database Servers
  Linux Email Servers
  Linux FTP Servers
  Linux Squid Proxy Server
  Linux Samba Help
  Linux cPanel Help
  Linux Ensim Help
  Linux Plesk Help
  Linux Webmin / Usermin Help
  Qmail Toaster Help
  Linux Games
  Windows Game Emulation
  Linux Discussions
  General Linux Discussions
  Red Hat Linux Discussions
  More Red Hat Linux Discussions
  Mandrake Linux Discussions
  Slackware Linux Discussions
  SuSE Linux Discussions
  Debian Discussions
  Samba Help
  Linux Security
  Linux Networking
  Gentoo Help
  Operating System Rant Forum
  Hardware Rants
   
Question on recompiling kernel
Subject: Question on recompiling kernel
Author: satimis    Posted: 2006-09-23 10:56:29    Length: 1,104 byte(s)
[Original] [Print] [Top]
Hi folks,

Gentoo_amd64

I need to recompile kernel to enable/check some items.

I'll run
# cd /usr/src/linux
# make menuconfig
checked "Legacy Power Management API", etc.
# make

Here I hesitated what shall I copy.

# ls arch/
Code:
alpha  cris   i386  m68k       parisc   s390  sparc    v850
arm    frv    ia64  m68knommu  powerpc  sh    sparc64  x86_64
arm26  h8300  m32r  mips       ppc      sh64  um       xtensa

I'm running Gentoo_amd64, not 32 bits.

cp arch/x86-64/boot/bzImage /boot ??

OR

cp arch/i386/boot/bzImage /boot ??

Afterwards shall I further run;
# make install
# make modules_install

I haven't enable "module"


TIA

B.R.
satimis
[Original] [Print] [Top]
Subject: Re: Question on recompiling kernel
Author: TrickyRic    Posted: 2006-09-24 12:01:23    Length: 1,475 byte(s)
[Original] [Print] [Top]
to build a new kernel:

Code:
su
<root password>
cd /usr/src/linux
make menuconfig
<configure kernel via gui interface, then save and exit>
make && make modules_install
<skip following line if /boot is already mounted>
mount /boot
<replace 'version_info' with your kernel version, so as not to cause confusion>
cp ./arch/x86_64/boot/bzImage /boot/bzImage-version_info

next you need to edit your grub.conf to load the new kernel image. until you know the new kernel works you should leave your old kernel in place and keep its grub entries for a while, so for now just add the new kernel entry as a second grub title. for example, if your current config is:

Code:
default 0
timeout 5

title=Gentoo Linux 2.6.15
root (hd0,0)
kernel /boot/kernel-2.6.15-gentoo-r5 root=/dev/hda1

then change it to the following, replacing 'version_info' with the name you copied your image over as:

Code:
default 0
timeout 5

title=Gentoo Linux version_info
root (hd0,0)
kernel /boot/kernel-version_info root=/dev/hda1

title=Gentoo Linux 2.6.15
root (hd0,0)
kernel /boot/kernel-2.6.15-gentoo-r5 root=/dev/hda1
----
Laptop: 2GHz Acer Aspire 9301AWSMi, 1GB DDR2, 17" TFT, 256MB GeForce Go 6100
Sold Development System:
2GHz AMD Opteron 246, Socket 940 Asus K8N-DL
Server System: 1.2GHz AMD Athlon, Socket 462 Apollo KT133 VT82C686
[Original] [Print] [Top]
Subject: Re: Question on recompiling kernel
Author: x86processor    Posted: 2006-09-25 03:42:13    Length: 247 byte(s)
[Original] [Print] [Top]
Quote
cp arch/x86-64/boot/bzImage /boot ??

OR

cp arch/i386/boot/bzImage /boot ??
In "make menuconfig" check what System Type and Processor you have chosen.
----
Linux is the kernel. The entire system is called GNU/Linux.
http://www.gnu.org/gnu/linux-and-gnu.html

My domain: shakthimaan.com (Offline)
orkut ID: shakthimaan
IRC nick: mbuf
[Original] [Print] [Top]
Subject: Re: Question on recompiling kernel
Author: satimis    Posted: 2006-09-25 06:30:26    Length: 17,682 byte(s)
[Original] [Print] [Top]
Hi TrickyRic,

Quote
to build a new kernel:
# cd /usr/src/linux
# make && make modules_install
Code:
.....
ld: warning: i386:x86-64 architecture of input file `arch/x86_64/boot/compressed/head.o' is incompatible with i386 output
  OBJCOPY arch/x86_64/boot/vmlinux.bin
  BUILD   arch/x86_64/boot/bzImage
Root device is (3, 2)
Boot sector 512 bytes.
Setup is 6988 bytes.
System is 2741 kB
Kernel: arch/x86_64/boot/bzImage is ready  (#5)
  Building modules, stage 2.
  MODPOST
  INSTALL drivers/net/s2io.ko
if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map  2.6.17-gentoo-r7; fi

# cp arch/x86_64/boot/bzImage /boot/linux-2.6.17-gentoo-r7-api

Edited /boot/grub/grub.conf

# cat /boot/grub/grub.conf
Code:
timeout 5
default 0
fallback 1

splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo Linux 2.6.17-r7-api
root    (hd0,0)
kernel  (hd0,0)/boot/linux-2.6.17-gentoo-r7-api root=/dev/hda2 noapic

title=Gentoo Linux 2.6.17-r7
root    (hd0,0)
kernel  (hd0,0)/boot/linux-2.6.17-gentoo-r7 root=/dev/hda2 noapic

Rebooted PC and selected "/boot/linux-2.6.17-gentoo-r7-api"

# dmesg
Code:
$ dmesg
Bootdata ok (command line is root=/dev/hda2 noapic)
Linux version 2.6.17-gentoo-r7 (root@localhost) (gcc version 4.1.1 (Gentoo 4.1.1)) #5 SMP Mon Sep 25 18:27:54 HKT 2006
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e5000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000003bfc0000 (usable)
 BIOS-e820: 000000003bfc0000 - 000000003bfce000 (ACPI data)
 BIOS-e820: 000000003bfce000 - 000000003bff0000 (ACPI NVS)
 BIOS-e820: 000000003bff0000 - 000000003c000000 (reserved)
 BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fef00000 (reserved)
 BIOS-e820: 00000000ff780000 - 0000000100000000 (reserved)
DMI 2.3 present.
ACPI: RSDP (v002 ACPIAM                                ) @ 0x00000000000fb870
ACPI: XSDT (v001 A M I  OEMXSDT  0x10000505 MSFT 0x00000097) @ 0x000000003bfc0100
ACPI: FADT (v003 A M I  OEMFACP  0x10000505 MSFT 0x00000097) @ 0x000000003bfc0290
ACPI: MADT (v001 A M I  OEMAPIC  0x10000505 MSFT 0x00000097) @ 0x000000003bfc0390
ACPI: MCFG (v001 A M I  OEMMCFG  0x10000505 MSFT 0x00000097) @ 0x000000003bfc0400
ACPI: OEMB (v001 A M I  AMI_OEM  0x10000505 MSFT 0x00000097) @ 0x000000003bfce040
ACPI: DSDT (v001  A0367 A0367001 0x00000001 INTL 0x02002026) @ 0x0000000000000000
Scanning NUMA topology in Northbridge 24
Number of nodes 1
Node 0 MemBase 0000000000000000 Limit 000000003bfc0000
NUMA: Using 63 for the hash shift.
Using node hash shift of 63
Bootmem setup node 0 0000000000000000-000000003bfc0000
On node 0 totalpages: 240378
  DMA zone: 2081 pages, LIFO batch:0
  DMA32 zone: 238297 pages, LIFO batch:31
Nvidia board detected. Ignoring ACPI timer override.
ACPI: PM-Timer IO Port: 0x508
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 15:15 APIC version 16
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x81] disabled)
ACPI: Skipping IOAPIC probe due to 'noapic' option.
Using ACPI for processor (LAPIC) configuration information
Intel MultiProcessor Specification v1.4
    Virtual Wire compatibility mode.
OEM ID: TEMPLATE Product ID:  APIC at: 0xFEE00000
I/O APIC #1 Version 17 at 0xFEC00000.
Setting APIC routing to physical flat
Processors: 1
Allocating PCI resources starting at 40000000 (gap: 3c000000:c2c00000)
Checking aperture...
CPU 0: aperture @ ac0000000 size 32 MB
Aperture from northbridge cpu 0 too small (32 MB)
No AGP bridge found
SMP: Allowing 2 CPUs, 1 hotplug CPUs
Built 1 zonelists
Kernel command line: root=/dev/hda2 noapic
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
time.c: Using 3.579545 MHz WALL PM GTOD PIT/TSC timer.
time.c: Detected 1808.261 MHz processor.
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
Memory: 959564k/982784k available (3641k kernel code, 22832k reserved, 1846k data, 204k init)
Calibrating delay using timer specific routine.. 3619.76 BogoMIPS (lpj=7239529)
Mount-cache hash table entries: 256
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU 0/0(1) -> Node 0 -> Core 0
ACPI Error (nssearch-0311): Bad character in ACPI Name: 43025350 [20060127]
ACPI Error (dswload-0305): [0x43025350] (NON-ASCII) Namespace lookup failure, AE_BAD_CHARACTER
ACPI Exception (psloop-0281): AE_BAD_CHARACTER, During name lookup/catalog [20060127]
ACPI Exception (tbxface-0115): AE_BAD_CHARACTER, Could not load namespace [20060127]
ACPI Exception (tbxface-0122): AE_BAD_CHARACTER, Could not load tables [20060127]
ACPI: Unable to load the System Description Tables
Using local APIC timer interrupts.
result 12557377
Detected 12.557 MHz APIC timer.
Brought up 1 CPUs
testing NMI watchdog ... OK.
migration_cost=0
NET: Registered protocol family 16
PCI: BIOS Bug: MCFG area at e0000000 is not E820-reserved
PCI: Not using MMCONFIG.
PCI: Using configuration type 1
ACPI: Subsystem revision 20060127
ACPI: Interpreter disabled.
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
Boot video device is 0000:03:00.0
PCI: Transparent bridge - 0000:00:10.0
PCI: Using IRQ router default [10de/0261] at 0000:00:0a.0
PCI-DMA: Disabling IOMMU.
PCI: Bridge: 0000:00:02.0
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:03.0
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:04.0
  IO window: disabled.
  MEM window: f6a00000-faafffff
  PREFETCH window: 9ff00000-bfefffff
PCI: Bridge: 0000:00:10.0
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Setting latency timer of device 0000:00:02.0 to 64
PCI: Setting latency timer of device 0000:00:03.0 to 64
PCI: Setting latency timer of device 0000:00:04.0 to 64
PCI: Setting latency timer of device 0000:00:10.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 6, 262144 bytes)
TCP established hash table entries: 131072 (order: 9, 2097152 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $
Total HugeTLB memory allocated, 0
squashfs: version 3.0 (2006/03/15) Phillip Lougher
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
JFS: nTxBlock = 7496, nTxLock = 59972
SGI XFS with large block/inode numbers, no debug enabled
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
PCI: Setting latency timer of device 0000:00:02.0 to 64
pcie_portdrv_probe->Dev[02fc:10de] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:02.0:pcie00]
PCI: Setting latency timer of device 0000:00:03.0 to 64
pcie_portdrv_probe->Dev[02fd:10de] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:03.0:pcie00]
PCI: Setting latency timer of device 0000:00:04.0 to 64
pcie_portdrv_probe->Dev[02fb:10de] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:04.0:pcie00]
Real Time Clock Driver v1.12ac
Software Watchdog Timer: 0.07 initialized. soft_noboot=0 soft_margin=60 sec (nowayout= 0)
Linux agpgart interface v0.101 (c) Dave Jones
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
Intel(R) PRO/1000 Network Driver - version 7.1.9-k4
Copyright (c) 1999-2006 Intel Corporation.
e100: Intel(R) PRO/100 Network Driver, 3.5.10-k2-NAPI
e100: Copyright(c) 1999-2005 Intel Corporation
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.54.
PCI: Setting latency timer of device 0000:00:14.0 to 64
forcedeth: using HIGHDMA
input: AT Translated Set 2 keyboard as /class/input/input0
eth0: forcedeth.c: subsystem: 010de:cb84 bound to 0000:00:14.0
PPP generic driver version 2.4.2
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
netconsole: not configured, aborting
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
NFORCE-MCP51: IDE controller at PCI slot 0000:00:0d.0
NFORCE-MCP51: chipset revision 161
NFORCE-MCP51: not 100% native mode: will probe irqs later
NFORCE-MCP51: BIOS didn't set cable bits correctly. Enabling workaround.
NFORCE-MCP51: 0000:00:0d.0 (rev a1) UDMA133 controller
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
hda: MAXTOR 6L040J2, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: DVD RW DRU-820A, ATAPI CD/DVD-ROM drive
hdd: SONY CD-ROM CDU5221, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 78177792 sectors (40027 MB) w/1818KiB Cache, CHS=65535/16/63, UDMA(133)
hda: cache flushes supported
 hda: hda1 hda2 hda3 hda4
hdc: ATAPI 40X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache, UDMA(66)
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 40X CD-ROM drive, 128kB Cache, UDMA(33)
megaraid cmm: 2.20.2.6 (Release Date: Mon Mar 7 00:01:03 EST 2005)
megaraid: 2.20.4.8 (Release Date: Mon Apr 11 12:27:22 EST 2006)
megasas: 00.00.02.04 Fri Feb 03 14:31:44 PST 2006
libata version 1.20 loaded.
sata_nv 0000:00:0e.0: version 0.8
PCI: Setting latency timer of device 0000:00:0e.0 to 64
ata1: SATA max UDMA/133 cmd 0xE800 ctl 0xE482 bmdma 0xE000 irq 5
ata2: SATA max UDMA/133 cmd 0xE400 ctl 0xE082 bmdma 0xE008 irq 5
ata1: SATA link down (SStatus 0)
scsi0 : sata_nv
ata2: SATA link down (SStatus 0)
scsi1 : sata_nv
Fusion MPT base driver 3.03.09
Copyright (c) 1999-2005 LSI Logic Corporation
Fusion MPT SPI Host driver 3.03.09
ieee1394: raw1394: /dev/raw1394 device initialized
PCI: Setting latency timer of device 0000:00:0b.1 to 64
ehci_hcd 0000:00:0b.1: EHCI Host Controller
ehci_hcd 0000:00:0b.1: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:0b.1: debug port 1
PCI: cache line size of 64 is not supported by device 0000:00:0b.1
ehci_hcd 0000:00:0b.1: irq 5, io mem 0xfebdfc00
ehci_hcd 0000:00:0b.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
PCI: Setting latency timer of device 0000:00:0b.0 to 64
ohci_hcd 0000:00:0b.0: OHCI Host Controller
ohci_hcd 0000:00:0b.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:0b.0: irq 5, io mem 0xfebde000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 8 ports detected
USB Universal Host Controller Interface driver v3.0
usb 2-1: new low speed USB device using ohci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
input: Microsoft Microsoft USB Wireless Mouse as /class/input/input1
input: USB HID v1.11 Mouse [Microsoft Microsoft USB Wireless Mouse] on usb-0000:00:0b.0-1
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
device-mapper: 4.6.0-ioctl (2006-02-17) initialised: dm-devel@redhat.com
Intel 810 + AC97 Audio, version 1.01, 22:54:01 Sep 22 2006
oprofile: using NMI interrupt.
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
powernow-k8: Found 1 AMD Athlon 64 / Opteron processors (version 1.60.2)
powernow-k8:    0 : fid 0x2 (1000 MHz), vid 0x12 (1100 mV)
powernow-k8:    1 : fid 0xa (1800 MHz), vid 0x6 (1400 mV)
cpu_init done, current fid 0xa, vid 0x6
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 204k freed
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table
*** repeat above warning ***
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on hda2, internal journal
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table
*** repeat above warning ***
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on dm-0, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on dm-1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on dm-3, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on dm-2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on dm-4, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
eth0: no IPv6 routers present

The warnings still there
Code:
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table

EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on dm-0, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
.....

# shutdown -h now

System halted but power not off.


I made following tests
1)
Booted "Gentoo install-amd64-minimal-2006-1"
Ran
# shutdown -h now (also tried "poweroff")

System halted but not poweroff

2)
Booted "Knoppix 5"
Ran
# shutdown -h now

System halted and poweroff immediately.

I think it is the problem of Gentoo not hardware.


B.R.
satimis
[Original] [Print] [Top]
Subject: Re: Question on recompiling kernel
Author: satimis    Posted: 2006-09-25 06:35:25    Length: 828 byte(s)
[Original] [Print] [Top]
Hi x86processor,

Quote
In "make menuconfig" check what System Type and Processor you have chosen.

AMD-Opteron/Athlon64

General setup ->
System V IPC (checked)

File systems ->
checked follows;
Second extended fs support
Ext2 extended attributes
Ext2 POSIX Access Control List
Ext3 journalling file system support
Ext3 extended attributes
Ext3 POSIX Access Control Lists
ReiserFs support
ReiserFS POSIX Access Control Lists
JFS filesystem support
XFS filesystem support
Inotify file change notification support
Kernel automounter support
Kernel automounter version 4 support (also supports v3)


B.R.
satimis

[Original] [Print] [Top]
Subject: Re: Question on recompiling kernel
Author: TrickyRic    Posted: 2006-09-25 13:40:33    Length: 344 byte(s)
[Original] [Print] [Top]
Quote
System halted but power not off.

...turning the disks off automatically after a system shutdown is a feature of apic. to enable apic you need it configured in your kernel and you must remove the noapic param you currently have set in your kernel boot strings in grub.conf.
----
Laptop: 2GHz Acer Aspire 9301AWSMi, 1GB DDR2, 17" TFT, 256MB GeForce Go 6100
Sold Development System:
2GHz AMD Opteron 246, Socket 940 Asus K8N-DL
Server System: 1.2GHz AMD Athlon, Socket 462 Apollo KT133 VT82C686
[Original] [Print] [Top]
Subject: Re: Question on recompiling kernel
Author: x86processor    Posted: 2006-09-26 03:53:11    Length: 194 byte(s)
[Original] [Print] [Top]
Quote
AMD-Opteron/Athlon64
Then use arch/x86-64/boot/bzImage. Your i386 image will also run, but, this one should run better and fast.
----
Linux is the kernel. The entire system is called GNU/Linux.
http://www.gnu.org/gnu/linux-and-gnu.html

My domain: shakthimaan.com (Offline)
orkut ID: shakthimaan
IRC nick: mbuf
[Original] [Print] [Top]
Subject: Re: Question on recompiling kernel
Author: satimis    Posted: 2006-09-26 05:55:36    Length: 840 byte(s)
[Original] [Print] [Top]
Hi x86processor,

Quote
Then use arch/x86-64/boot/bzImage. Your i386 image will also run, but, this one should run better and fast.
I did it tks.

My problem is adding "noapic" to /boot/grub/grub.conf
Code:
...
title=Gentoo Linux 2.6.17-r7-api
root    (hd0,0)
kernel  (hd0,0)/boot/linux-2.6.17-gentoo-r7-api root=/dev/hda2 noapic
...
the line "kernel".  Delete it results in mouse pointer hanging.

I just tried it.  Previously I made a google search and found it was the problem of xorg.  FedoraCore5_64 and Ubuntu_6.0.6_64 also suffer the same problem.  I encountered it on running them.

B.R.
satimis
[Original] [Print] [Top]
Subject: Re: Question on recompiling kernel
Author: satimis    Posted: 2006-09-26 06:04:18    Length: 548 byte(s)
[Original] [Print] [Top]
Hi TrickyRic,

Quote
...turning the disks off automatically after a system shutdown is a feature of apic. to enable apic you need it configured in your kernel and you must remove the noapic param you currently have set in your kernel boot strings in grub.conf.
Removing "noapic" param is problem here.  I just tested it.  The mouse pointer hung immediately after login gnome-light.  I have no idea how to solve this problem.

B.R.
satimis
[Original] [Print] [Top]
Subject: Re: Question on recompiling kernel
Author: TrickyRic    Posted: 2006-09-27 07:20:42    Length: 330 byte(s)
[Original] [Print] [Top]
sounds like a compatibility issue with your motherboard. apic is a great feature but unfortunately some (very few) motherboards handle apic events slightly differently to the standard, thus causing kernel panics. if you really want to use apic all i can suggest is you try a bios update and hope your vender has fixed such issues.
----
Laptop: 2GHz Acer Aspire 9301AWSMi, 1GB DDR2, 17" TFT, 256MB GeForce Go 6100
Sold Development System:
2GHz AMD Opteron 246, Socket 940 Asus K8N-DL
Server System: 1.2GHz AMD Athlon, Socket 462 Apollo KT133 VT82C686
[Original] [Print] [Top]
Subject: Re: Question on recompiling kernel
Author: satimis    Posted: 2006-09-29 03:01:29    Length: 524 byte(s)
[Original] [Print] [Top]
Hi TrickyRic,

Quote
....... if you really want to use apic all i can suggest is you try a bios update and hope your vender has fixed such issues.
Yes. Before I have been considering update the BIOS of

Asus A8N-VM

However the instruction is for Windows.  Unless I specially install WinXP to do the job.  Do you know where can I find the relevant steps upgrading BIOS on Linux/Gentoo?

TIA

B.R.
satimis
[Original] [Print] [Top]
Subject: Re: Question on recompiling kernel
Author: TrickyRic    Posted: 2006-09-29 16:55:38    Length: 523 byte(s)
[Original] [Print] [Top]
you shouldn't need any operating system installed to update your bios. most motherboards have a built in update option within bios itself, and all you need at hand is a floppy disk with the latest bios flash image copied to it.

for the record i had similar problems with my asus k8n-dl before i performed a bios update. both acpi events and various nforce4 events were badly handled and caused major kernel panics. i've never had any issues post the update however, and its been a good few month now...
----
Laptop: 2GHz Acer Aspire 9301AWSMi, 1GB DDR2, 17" TFT, 256MB GeForce Go 6100
Sold Development System:
2GHz AMD Opteron 246, Socket 940 Asus K8N-DL
Server System: 1.2GHz AMD Athlon, Socket 462 Apollo KT133 VT82C686
[Original] [Print] [Top]
Subject: Re: Question on recompiling kernel
Author: satimis    Posted: 2006-09-29 22:39:08    Length: 922 byte(s)
[Original] [Print] [Top]
Hi TrickyRic,

Quote
you shouldn't need any operating system installed to update your bios. most motherboards have a built in update option within bios itself, and all you need at hand is a floppy disk with the latest bios flash image copied to it.

Mobo - Asus A8N-Vm
OS - Linux Gentoo

I couldn't discover such an option on the BIOS pages.  Nor can I discover the relevant procdure on;

http://support.asus.com/technicaldocuments/technicaldocuments.aspx?root=198&SLanguage=en-us

Now I have both BIOS;
- for others
- for DOS
download on BIOS --> BIOS;

http://support.asus.com/download/download.aspx?SLanguage=en-us
(after selecting, motherboard/socket 939/A8N-VM and click "search")

Did no how to proceed further.

B.R.
satimis
[Original] [Print] [Top]
Subject: Re: Question on recompiling kernel
Author: satimis    Posted: 2006-09-30 00:30:06    Length: 655 byte(s)
[Original] [Print] [Top]
Hi

Further to my late posting;

I got "A8N-VM release BIOS 0702" download, a .zip file download from www.asus.com.   I'll decompress it, rename "0702.ROM" as "A8NVM.ROM" (all in CAPITAL) and copy the same on the floppy.

I also found the procedure on "section 2.1.2 of the manual' (page 41, 42, ....)
http://dlsvr01.asus.com/pub/ASUS/mb/socket939/A8N-VM/e2295_a8n-vm.pdf

What I'm most concerned is if something went wrong I can't reverse it back. PC failure to boot will be resulted.
 
Tks.
 
B.R.
satimis
[Original] [Print] [Top]
Subject: Re: Question on recompiling kernel
Author: TrickyRic    Posted: 2006-10-01 11:41:02    Length: 446 byte(s)
[Original] [Print] [Top]
Quote
What I'm most concerned is if something went wrong I can't reverse it back. PC failure to boot will be resulted.

...there's always a risk updating bios, but personally i've never had any problems. generally the system will only flash a new bios image if its happy with such file, depending on the flash utility your motherboard uses of course. good luck.
----
Laptop: 2GHz Acer Aspire 9301AWSMi, 1GB DDR2, 17" TFT, 256MB GeForce Go 6100
Sold Development System:
2GHz AMD Opteron 246, Socket 940 Asus K8N-DL
Server System: 1.2GHz AMD Athlon, Socket 462 Apollo KT133 VT82C686
[Original] [Print] [Top]
« Previous thread
About dictionary
Gentoo Linux Support
Page. 1
Next thread »
About installing Gimp
     

Copyright © 2007 UNIX Resources Network, All Rights Reserved.      About URN | Privacy & Legal | Help | Contact us
Powered by FreeBSD    webmaster: webmaster@unixresources.net
This page created on 2007-08-01 12:02:26, cost 0.056226968765259 ms.