[ILUG-BOM] 2 minor problems after kernel recompilation..

Apurva Mehta apurva@[EMAIL-PROTECTED]
Wed Jan 29 20:15:23 IST 2003


On Wed, 29 Jan 2003 10:12:11 +0530 (IST)
Philip S Tellis <philip at 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

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://gnowledge.org/pipermail/linuxers/attachments/20030129/734d96db/attachment.pgp


More information about the Linuxers mailing list