Re: [gentoo-user] recompiing kernel quesiton

2006-09-25 Thread Stephen Liu
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 [EMAIL 
PROTECTED] 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



Re: [gentoo-user] recompiing kernel quesiton

2006-09-24 Thread Neil Bothwick
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.


signature.asc
Description: PGP signature


Re: [gentoo-user] recompiing kernel quesiton

2006-09-24 Thread Pawel Kraszewski
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



Re: [gentoo-user] recompiing kernel quesiton

2006-09-24 Thread Mick
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


pgpW0o7RfOOoa.pgp
Description: PGP signature


Re: [gentoo-user] recompiing kernel quesiton

2006-09-24 Thread Stephen Liu
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



Re: [gentoo-user] recompiing kernel quesiton

2006-09-24 Thread Mick
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


pgp2cfy4tXV0D.pgp
Description: PGP signature


Re: [gentoo-user] recompiing kernel quesiton

2006-09-24 Thread Pawel Kraszewski
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



[gentoo-user] recompiing kernel quesiton

2006-09-23 Thread Stephen Liu
Hi folks,Gentoo_amd64I need to recompile kernel to enable/check some items.I'll run# cd /usr/src/linux# make menuconfigchecked "Legacy Power Management API", etc.# makeHere I hesitate what shall I copy.# ls arch/alpha cris i386 m68k parisc s390 sparc v850arm frv ia64 m68knommu powerpc sh sparc64 x86_64arm26 h8300 m32r mips ppc sh64 um xtensaI'm running Gentoo_amd64, not 32 bits.cp arch/x86-64/boot/bzImage /boot ??ORcp
 arch/i386/boot/bzImage /boot ??Afterwards shall I run;# make install# make modules_installI haven't enable "module"TIAB.R.SL