* [gentoo-user] recompiing kernel quesiton
@ 2006-09-23 23:46 Stephen Liu
2006-09-24 7:57 ` Neil Bothwick
2006-09-24 8:18 ` Pawel Kraszewski
0 siblings, 2 replies; 9+ messages in thread
From: Stephen Liu @ 2006-09-23 23:46 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 635 bytes --]
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 hesitate what shall I copy.
# ls arch/
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 run;
# make install
# make modules_install
I haven't enable "module"
TIA
B.R.
SL
[-- Attachment #2: Type: text/html, Size: 1180 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] recompiing kernel quesiton
2006-09-23 23:46 [gentoo-user] recompiing kernel quesiton Stephen Liu
@ 2006-09-24 7:57 ` Neil Bothwick
2006-09-24 8:18 ` Pawel Kraszewski
1 sibling, 0 replies; 9+ messages in thread
From: Neil Bothwick @ 2006-09-24 7:57 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 560 bytes --]
On Sat, 23 Sep 2006 16:46:38 -0700 (PDT), Stephen Liu wrote:
> cp arch/x86-64/boot/bzImage /boot ??
No
> OR
>
> cp arch/i386/boot/bzImage /boot ??
No
> Afterwards shall I run;
> # make install
Yes. This will install the correct kernel to the correct location.
> # make modules_install
>
> I haven't enable "module"
If you haven't enabled modules., there are no modules to install.
However, the command will do no harm, it will just install nothing and
exit.
--
Neil Bothwick
PROSTITUTE: Receiver of swollen goods.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] recompiing kernel quesiton
2006-09-23 23:46 [gentoo-user] recompiing kernel quesiton Stephen Liu
2006-09-24 7:57 ` Neil Bothwick
@ 2006-09-24 8:18 ` Pawel Kraszewski
2006-09-24 9:51 ` Stephen Liu
1 sibling, 1 reply; 9+ messages in thread
From: Pawel Kraszewski @ 2006-09-24 8:18 UTC (permalink / raw
To: gentoo-user
Dnia niedziela, 24 września 2006 01:46, Stephen Liu napisał:
Please, switch off HTML posting as it annoys plenty of users...
Correct sequence for kernel generation/update is:
Go to your new kernel directory and first get your running kernel config (if
you enabled this in previous kernel):
# zcat /proc/config.gz > .config
Now fix the config (observing which options have "NEW" at the end and
consulting online help what do they mean)
# make menuconfig
or
# make xconfig
Now compile the kernel
# make
And install it
# make modules_install
# make install
Afterwards you do nothing (if you have GRUB) or run lilo (guess, if you have
LILO :)
Take note, that some software doesn't work in monolithic kernel (meaning with
modules disabled) - especially third-party binary drivers (nvidia, ATI,
probably ndiswrapper)
--
Pawel Kraszewski
www.kraszewscy.net
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] recompiing kernel quesiton
2006-09-24 8:18 ` Pawel Kraszewski
@ 2006-09-24 9:51 ` Stephen Liu
2006-09-24 10:20 ` Mick
2006-09-24 20:36 ` Pawel Kraszewski
0 siblings, 2 replies; 9+ messages in thread
From: Stephen Liu @ 2006-09-24 9:51 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 3050 bytes --]
Hi Pawel,
Tks for your advice.
> Please, switch off HTML posting as it annoys plenty of users...
Oh, sorry. I did not recognise that after changing to "yahoo mail beta". Now I enabled "Compose messages as plain text". Please advise me if still on html posting. Tks.
I'm suffering poweroff problem, on exiting "System halted" but not poweroff.
Before reading your positng I did following steps.
# cd /usr/src/linux
# make menuconfig
checked "Legacy Power Management API"
cheched "Video" on "ACPI (Advanced Configuration and Power Interface) Support"
# make
# make install
.....
GRUB is installed. To automatically switch to new kernels, point your
default entry in menu.lst to /boot/vmlinuz-2.6.17-gentoo-r7
* end *
# make modules_install
Edited /boot/grub/grub.conf
....
kernel (hd0,0)/boot/vmlinuz-2.6.17-gentoo-r7 root=/dev/hda2 noapic
...
* end *
Rebooted PC and then Shutdown
....
ERROR : Cannot stop localmount as net.eth0 is still up
...
Shutdown : hda
System halted
* end *
But still not poweroff
Remark: the only difference from your advice is running;
# make
# make install
# make modules_install
the other way round.
# cat /usr/src/linux-2.6.17-gentoo-r7/.config | grep API
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_ISA_DMA_API=y
# ATA/ATAPI/MFM/RLL support
# CONFIG_IEEE1394_EXPORT_FULL_API is not set
# CONFIG_E1000_NAPI is not set
# CONFIG_S2IO_NAPI is not set
* end *
# cat /usr/src/linux-2.6.17-gentoo-r7/.config | grep ACPI
CONFIG_X86_64_ACPI_NUMA=y
# ACPI (Advanced Configuration and Power Interface) Support
CONFIG_ACPI=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
CONFIG_ACPI_SLEEP_PROC_SLEEP=y
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_VIDEO=y
# CONFIG_ACPI_HOTKEY is not set
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_HOTPLUG_CPU=y
CONFIG_ACPI_THERMAL=y
CONFIG_ACPI_NUMA=y
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_IBM is not set
CONFIG_ACPI_TOSHIBA=y
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_SYSTEM=y
CONFIG_ACPI_CONTAINER=y
CONFIG_ACPI_HOTPLUG_MEMORY=y
CONFIG_X86_POWERNOW_K8_ACPI=y
CONFIG_X86_ACPI_CPUFREQ=y
CONFIG_X86_ACPI_CPUFREQ_PROC_INTF=y
* end *
B.R.
SL
Correct sequence for kernel generation/update is:
Go to your new kernel directory and first get your running kernel config (if
you enabled this in previous kernel):
# zcat /proc/config.gz > .config
Now fix the config (observing which options have "NEW" at the end and
consulting online help what do they mean)
# make menuconfig
or
# make xconfig
Now compile the kernel
# make
And install it
# make modules_install
# make install
Afterwards you do nothing (if you have GRUB) or run lilo (guess, if you have
LILO :)
Take note, that some software doesn't work in monolithic kernel (meaning with
modules disabled) - especially third-party binary drivers (nvidia, ATI,
probably ndiswrapper)
--
Pawel Kraszewski
www.kraszewscy.net
--
gentoo-user@gentoo.org mailing list
[-- Attachment #2: Type: text/html, Size: 3892 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] recompiing kernel quesiton
2006-09-24 9:51 ` Stephen Liu
@ 2006-09-24 10:20 ` Mick
2006-09-24 10:35 ` Stephen Liu
2006-09-24 20:36 ` Pawel Kraszewski
1 sibling, 1 reply; 9+ messages in thread
From: Mick @ 2006-09-24 10:20 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 772 bytes --]
On Sunday 24 September 2006 10:51, Stephen Liu wrote:
> Hi Pawel,
>
> Tks for your advice.
>
> > Please, switch off HTML posting as it annoys plenty of users...
>
> Oh, sorry. I did not recognise that after changing to "yahoo mail beta".
> Now I enabled "Compose messages as plain text". Please advise me if still
> on html posting. Tks.
Unfortunately, both HTML posting and 'top posting' are still switched On. ;-)
http://linux.sgms-centre.com/misc/netiquette.php
I am not familiar with Yahoo, but is it perhaps a matter of switching HTML off
on a per message basis as well as a global setting? Bear in mind that some
people filter out HMTL messages all together - resulting in a smaller
audience for you problem . . .
--
Regards,
Mick
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] recompiing kernel quesiton
2006-09-24 10:20 ` Mick
@ 2006-09-24 10:35 ` Stephen Liu
2006-09-24 11:01 ` Mick
0 siblings, 1 reply; 9+ messages in thread
From: Stephen Liu @ 2006-09-24 10:35 UTC (permalink / raw
To: gentoo-user
Hi Mick
> Unfortunately, both HTML posting and 'top posting' are still switched On.
Now I checked the option again and reload yahoo. Would it be better? Tks
Remarks:
This is a beta version of Yahoo. I don't know how to change it back to its previous version.
Tks
B.R.
SL
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] recompiing kernel quesiton
2006-09-24 10:35 ` Stephen Liu
@ 2006-09-24 11:01 ` Mick
0 siblings, 0 replies; 9+ messages in thread
From: Mick @ 2006-09-24 11:01 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 432 bytes --]
On Sunday 24 September 2006 11:35, Stephen Liu wrote:
> Hi Mick
>
> > Unfortunately, both HTML posting and 'top posting' are still switched On.
>
> Now I checked the option again and reload yahoo. Would it be better? Tks
>
> Remarks:
> This is a beta version of Yahoo. I don't know how to change it back to its
> previous version.
>
> Tks
Yes, this fixed it nicely. It's in plain text now.
--
Regards,
Mick
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] recompiing kernel quesiton
2006-09-24 9:51 ` Stephen Liu
2006-09-24 10:20 ` Mick
@ 2006-09-24 20:36 ` Pawel Kraszewski
2006-09-25 13:35 ` Stephen Liu
1 sibling, 1 reply; 9+ messages in thread
From: Pawel Kraszewski @ 2006-09-24 20:36 UTC (permalink / raw
To: gentoo-user
Dnia niedziela, 24 września 2006 11:51, Stephen Liu napisał:
> I'm suffering poweroff problem, on exiting "System halted" but not
> poweroff.
First of all - you may try the installation CD of Gentoo - boot it and
give 'halt -p' at command prompt. If it switches off, that means error in
your config. If it doesn't, this might be the hardware fault.
Put some light and describe your hardware. Especially - which motherboard
model, drop your 'lspci' output. Contents of '/var/log/dmesg' might also be
helpful. The latter might be too big for this mailing list, so don't hesitate
to drop it gzipped directly to my address.
By the way - did you inspect your BIOS settings for ACPI/power management
misconfiguration?
If you want, I may drop you my kernel configuration (AMD64, Nforce3 based
mainboard) - due to my work it covers all usable filesystems and most IPv4
toys. It does switch off without problem - you may use it as a starting point
for experiments.
--
Pawel Kraszewski
www.kraszewscy.net
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] recompiing kernel quesiton
2006-09-24 20:36 ` Pawel Kraszewski
@ 2006-09-25 13:35 ` Stephen Liu
0 siblings, 0 replies; 9+ messages in thread
From: Stephen Liu @ 2006-09-25 13:35 UTC (permalink / raw
To: gentoo-user
Hi Pawel Kraszewski,
Tks for your advice.
> First of all - you may try the installation CD of Gentoo - boot it and
> give 'halt -p' at command prompt. If it switches off, that means error in
> your config. If it doesn't, this might be the hardware fault.
I made following 2 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.
> Put some light and describe your hardware. Especially - which motherboard
> model, drop your 'lspci' output.
CPU - Athlon 64 3000+ socket 939
Motherboard - Asus A8N-VM, onboard graphic card, sound card and LAN
Graphic card - Gigabyte - GV-NX66256DP2 DDR2 RAN 256bit, nVidia G-Force 6600
RAM -1G
# lspci
00:00.0 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.1 RAM memory: nVidia Corporation C51 Memory Controller 0 (rev a2)
00:00.2 RAM memory: nVidia Corporation C51 Memory Controller 1 (rev a2)
00:00.3 RAM memory: nVidia Corporation C51 Memory Controller 5 (rev a2)
00:00.4 RAM memory: nVidia Corporation C51 Memory Controller 4 (rev a2)
00:00.5 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.6 RAM memory: nVidia Corporation C51 Memory Controller 3 (rev a2)
00:00.7 RAM memory: nVidia Corporation C51 Memory Controller 2 (rev a2)
00:02.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:03.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:04.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:09.0 RAM memory: nVidia Corporation MCP51 Host Bridge (rev a2)
00:0a.0 ISA bridge: nVidia Corporation MCP51 LPC Bridge (rev a2)
00:0a.1 SMBus: nVidia Corporation MCP51 SMBus (rev a2)
00:0b.0 USB Controller: nVidia Corporation MCP51 USB Controller (rev a2)
00:0b.1 USB Controller: nVidia Corporation MCP51 USB Controller (rev a2)
00:0d.0 IDE interface: nVidia Corporation MCP51 IDE (rev a1)
00:0e.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev a1)
00:10.0 PCI bridge: nVidia Corporation MCP51 PCI Bridge (rev a2)
00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)
00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a1)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
03:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce 6600] (rev a2)
* end *
Contents of '/var/log/dmesg' might also be
> helpful. The latter might be too big for this mailing list, so don't hesitate
> to drop it gzipped directly to my address.
Yes, I'll email dmesg.tar.gz to your private address "Pawel Kraszewski <Gentoo@kraszewscy.net>" later. Tks.
> By the way - did you inspect your BIOS settings for ACPI/power management
> misconfiguration?
Yes
on power management:-
Suspend mode [Auto]
ACPI 2.0 support [Enabled]
ACPI APIC Support [Enabled]
APM Configuration:
Power button mode [On/Off]
Power on by PMEx [Disabled]
Power on by Ring [Disabled]
Power on by Lan (MAC) [Disabled]
Power on by RTC Alarm [Disabled]
Power on by PS/2 Keyboard [Disabled]
Power on by PS/2 mouse [Disabled]
Restore on AC Power Loss [Last State]
> If you want, I may drop you my kernel configuration (AMD64, Nforce3 based
> mainboard) - due to my work it covers all usable filesystems and most IPv4
> toys. It does switch off without problem - you may use it as a starting point
> for experiments.
Yes please for my reference. Tks.
B.R.
SL
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2006-09-25 13:41 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-23 23:46 [gentoo-user] recompiing kernel quesiton Stephen Liu
2006-09-24 7:57 ` Neil Bothwick
2006-09-24 8:18 ` Pawel Kraszewski
2006-09-24 9:51 ` Stephen Liu
2006-09-24 10:20 ` Mick
2006-09-24 10:35 ` Stephen Liu
2006-09-24 11:01 ` Mick
2006-09-24 20:36 ` Pawel Kraszewski
2006-09-25 13:35 ` Stephen Liu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox