On Tue, 2003-01-28 at 19:03, Apurva Mehta wrote:
I am facing 2 problems with my GNU/Linux box (Redhat 7.2, Kernel 2.4.19)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
since I installed the 2.4.19 kernel a couple of months ago..
Hope other will learn from this mail. All the details are here ^.
- My system does not turn off automatically after issuing the powerdown
command.. I have to turn it of manually. Earlier, with the RH 7.2 default kernel (2.4.7-10), the power would switch off automatically. Here are the how the relevant variables are set : CONFIG_PM=y CONFIG_APM=m # CONFIG_APM_IGNORE_USER_SUSPEND is not set CONFIG_APM_DO_ENABLE=y CONFIG_APM_CPU_IDLE=y # CONFIG_APM_DISPLAY_BLANK is not set CONFIG_APM_RTC_IS_GMT=y CONFIG_APM_ALLOW_INTS=y # CONFIG_APM_REAL_MODE_POWER_OFF is not set
This last parameter (CONFIG_APM_REAL_POWER_OFF=y) should be set to 'y'.
- I cannot mount audio cd's anymore. I can play them through gtcd, I
just cannot rip them.. The mount command tells me that I got a bad fs type or there are too many mounted filesystems. I can mount normal data cd's easily enough..
Audio CD's can't be mounted.
Also, what is a good strategy to follow while compiling a kernel? Is it better to make as many modules as possible or the other way round? Are there any particular features which would be better off as part of the kernel image rather than as modules? Currently, I have compiled very few features as modules.
This is my personal opinion. I think if you are not adding modules frequently for new hardware you should make it a single a.out binary. Because it doesn't make much difference in size. Also this strategy will save time which is taken while loading on demand.
-pankaj