Hi, This is my first post to this mailing list although I have been lurking for a couple of months...
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..
1) 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
I got these settings from linuxnewbie.org a couple of months ago. They do not work for me, nor can I explain why they are the way they are. They seem to work for others with a similar problem though.
2) 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..
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.
Thanks for your time..
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Apurva Mehta
PGP Public Key: http://www.geocities.com/theprancinghorse/pgp_public_key.txt
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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
On 28 Jan 2003 19:38:17 +0530 Pankaj Jangid pankaj@ncst.ernet.in wrote:
This last parameter (CONFIG_APM_REAL_POWER_OFF=y) should be set to 'y'.
Thanks, I will try that out..
Audio CD's can't be mounted.
Are you sure about that? I am sure that I could mount and rip audio cd's when using the default 2.4.7-10 kernel. Now, grip does not even detect the cd.
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.
I feel the same way, but since I am relatively new at this, I thought it would be wiser to ask..
PS: where can I get your PGP public key?
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Apurva Mehta
PGP Public Key: http://www.geocities.com/theprancinghorse/pgp_public_key.txt
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
On Tue, 2003-01-28 at 20:09, Apurva Mehta wrote:
Are you sure about that? I am sure that I could mount and rip audio cd's when using the default 2.4.7-10 kernel. Now, grip does not even detect the cd.
I use ripperx and I don't mount audio CD. If you are saying that you have mounted earliar then there must be a filesystem type which was earlier compiled with your kernel but now its not.
PS: where can I get your PGP public key?
http://yuga.ncst.ernet.in/~pankaj/gpg.txt
http://www.geocities.com/theprancinghorse/pgp_public_key.txt
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
On Tue, 28 Jan 2003, Apurva Mehta wrote:
- 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
you have apm compiled as a module. in order for the system to switch off, you'll have to have the apm module loaded at powerdown time.
I'm not quite sure of the best way to do this, but maybe changing powerdown to a script that first calls /sbin/modprobe apm will work.
The other alternative is to compile APM into your kernel.
- I cannot mount audio cd's anymore. I can play them through gtcd, I
anymore? you mean you could mount them before?
just cannot rip them.. The mount command tells me that I got a bad fs
audio cds don't have a file system - hence you cannot mount them. one doesn't mount drives, one mounts file systems that happen to be on those drives.
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?
if there's something that's going to be needed all the time, it makes sense to compile it into the kernel. if there's something that's needed to boot up the sytem - it has to be in the kernel.
these would include your hard disk driver, your file system driver and the binary executable driver - for most people this would be ide, ext2/ext3 and elf binaries. everything else can be compiled as a module, but see the help for each module for specific issues.
Are there any particular features which would be better off as part of the kernel image rather than as modules? Currently, I have compiled
put unix domain sockets into your kernel. it's needed to run syslog - which is run at startup. if you don't compile it into the kernel, then when syslog tries to write to the log, the kernel will have to log a message saying that it could not find unix.o. To log this message, it needs unix.o. This will cause a loop, which will eventually be terminated, but why even bother with it...
On Wed, 29 Jan 2003 10:12:11 +0530 (IST) Philip S Tellis philip@konark.ncst.ernet.in wrote:
you have apm compiled as a module. in order for the system to switch off, you'll have to have the apm module loaded at powerdown time.
I'm not quite sure of the best way to do this, but maybe changing powerdown to a script that first calls /sbin/modprobe apm will work.
The other alternative is to compile APM into your kernel.
I tried executing /sbin/modprobe apm first and then poweroff from the command line. I did not work. Then I tried loading the apm module, loading the apm daemon and then executing the poweroff command. The system stopped responding after the message : Shutting down APM daemon .. [OK]
I had to do a cold poweroff..
anymore? you mean you could mount them before?
Yes, I could most definitely mount them before. Even my friend can mount them right now on his 2.4.20 kernel. After mounting he can list the contents of the cd (ie.. ls gives the output track1.cda etc..).
Also, as I mentioned previously, I could rip cd's which grip, but now it does not detect the cd's presence in the drive.
if there's something that's going to be needed all the time, it makes sense to compile it into the kernel. if there's something that's needed to boot up the sytem - it has to be in the kernel.
these would include your hard disk driver, your file system driver and
the binary executable driver - for most people this would be ide, ext2/ext3 and elf binaries. everything else can be compiled as a module, but see the help for each module for specific issues.
I have compiled a kernel with as few features as possible and most of the selected features are part of the image itself. I have left very few features (like national language support etc.. as modules. )
put unix domain sockets into your kernel. it's needed to run syslog -
which is run at startup. if you don't compile it into the kernel, then when syslog tries to write to the log, the kernel will have to log a message saying that it could not find unix.o. To log this message, it needs unix.o. This will cause a loop, which will eventually be terminated, but why even bother with it...
That is already part of my kernel..
Thanks for your time..
Regards, -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Apurva Mehta
PGP Public Key: http://www.geocities.com/theprancinghorse/pgp_public_key.txt
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Hi Apurva
I keep getting emails from you on the group as text file attachments instead of normal text. This makes it difficult to read since I first need to open or save the attachment. Would appreciate if you can change your settings so that the email comes as normal text message.
FYI, I am using Outlook Express on WinXP
Regards Saswata
----- Original Message ----- From: "Apurva Mehta" apurva@gmx.net To: linuxers@mm.ilug-bom.org.in Sent: Wednesday, January 29, 2003 8:11 PM Subject: Re: [ILUG-BOM] 2 minor problems after kernel recompilation..
On Thu, 2003-01-30 at 09:41, Saswata Banerjee & Associates wrote:
Hi Apurva
I keep getting emails from you on the group as text file attachments instead of normal text. This makes it difficult to read since I first need to open or save the attachment. Would appreciate if you can change your settings so that the email comes as normal text message.
FYI, I am using Outlook Express on WinXP
Obviously you will face problems. Outlook use either old header formats or MS has there own standards for mail format.
I think all of us are getting mails properly. I also realized this problem when I was using mutt and my friend was using Outlook.
On Thu, Jan 30, 2003 at 09:41:56AM +0530, Saswata Banerjee & Associates wrote:
I keep getting emails from you on the group as text file attachments instead of normal text. This makes it difficult to read since I first need to open or save the attachment. Would appreciate if you can change your settings so that the email comes as normal text message.
I suspect you are having this problem with anyone who mails using pgp-signed messages. I know because I used to have the same problems with OE. Also, did we not already cover this once on the list in the recent past? (I might be wrong)
On Thu, 30 Jan 2003, Saswata Banerjee & Associates wrote:
I keep getting emails from you on the group as text file attachments instead of normal text. This makes it difficult to read since I first
He's sending his messages with a PGP signature. This is a Good Thing. IMO, any mail client that can't handle that is a mail client that needs to be replaced.
Philip
On Thu, 30 Jan 2003 09:41:56 +0530 "Saswata Banerjee & Associates" scrap@saswatabanerjee.com wrote:
Hi Apurva
I keep getting emails from you on the group as text file attachments instead of normal text. This makes it difficult to read since I first need to open or save the attachment. Would appreciate if you can change your settings so that the email comes as normal text message.
FYI, I am using Outlook Express on WinXP
Regards Saswata
How about this message? I have changed the character encoding from "Automatic" to 7-bit ascii (US)..
Hope this helps..
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Apurva Mehta
PGP Public Key: http://www.geocities.com/theprancinghorse/pgp_public_key.txt
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Sorry, it still comes through as 2 attachments.
Regards Saswata
----- Original Message ----- From: "Apurva Mehta" apurva@gmx.net To: linuxers@mm.ilug-bom.org.in Sent: Friday, January 31, 2003 7:59 PM Subject: Re: [ILUG-BOM] 2 minor problems after kernel recompilation..
Hi everyone, I am really sorry but I originally posted incorrect information about my problem here. I said that I could mount audio cd's at one point in time and that my friend can still do so now.
You'll doubted this, and your doubts have proven true. I cannot mount audio cd's and don't think I ever could. I just realized that while doing something totally unrelated. What can I say? I feel like a complete idiot :)
However, grip still does not work, although now it atleast reads the cd contents (there was something wrong with my config file). It does not rip.
Regards, -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Apurva Mehta
PGP Public Key: http://www.geocities.com/theprancinghorse/pgp_public_key.txt
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=