Re: [Cooker] Re: Problems booting with ext3 for root partition

2003-11-17 Thread Svante Signell
Finally a kernel that boots with initrd and ext3 as a module:
2.4.22.25mdk. Thanks, no noinitrd kernel option needed anymore!

On Thu, 2003-11-06 at 13:46, Stew Benedict wrote:
 On Thu, 6 Nov 2003, Duncan wrote:
 
  Svante Signell posted [EMAIL PROTECTED],
  excerpted below,  on Thu, 06 Nov 2003 09:12:23 +0100:
  
   The long thread on 'kernel 23mdk panic' seems to be related to my problem.
   Has anyone made a summary of conclusions made so far? Which kernels are
   known to boot properly, with and without initrd?
  
  I compile my own kernel from kernel.org sources, so haven't been following
  this real closely, but AFAIK, any of the Mdk kernels work if ext3 support
  is compiled directly into the kernel, rather than as a module.  I haven't
  been following it closely enough to know which kernels work with ext3 as a
  module. with or without user recompilation.
  
  
 
 That's not the whole story:
 
 [EMAIL PROTECTED] stew]$ /sbin/lsmod | tail -2
 ext3   60048   2
 jbd39296   2 [ext3]
 [EMAIL PROTECTED] stew]$ uname -r
 2.4.22-23mdk
 
 / is ext3, booting with an initrd 
 single disk, / is hda5, no /boot partition, devfsd=nomount (for LSB)
 
 Works for some folks, not others.



Re: [Cooker] Re: Problems booting with ext3 for root partition

2003-11-06 Thread Dave Cotton
On Thu, 2003-11-06 at 10:33, Duncan wrote:
 I compile my own kernel from kernel.org sources, so haven't been following
 this real closely, but AFAIK, any of the Mdk kernels work if ext3 support
 is compiled directly into the kernel, rather than as a module.

I also compile my own from kernel.org and have always compiled ext3 into
the kernel because I've never seen a good reason to compile it as a
module. In fact the help screen on ext3 says Be aware however that the
file system of your root partition (the one containing the directory /)
cannot be compiled as a module, and so this may be dangerous. So if it
is compiled as a module in mdk, against this advice, perhaps the
maintainer(s) can give their explanation as to why this advice from the
kernel team is wrong.   

-- 
Dave Cotton
Directeur
Linux Autrement
193 rue Marcel Cerdan
84270 Vedene
04 90 23 30 81
http://www.linuxautrement.com
IAX 17004902330 FWD 42651




Re: [Cooker] Re: Problems booting with ext3 for root partition

2003-11-06 Thread Buchan Milne
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dave Cotton wrote:
 On Thu, 2003-11-06 at 10:33, Duncan wrote:

I compile my own kernel from kernel.org sources, so haven't been following
this real closely, but AFAIK, any of the Mdk kernels work if ext3 support
is compiled directly into the kernel, rather than as a module.


 I also compile my own from kernel.org and have always compiled ext3 into
 the kernel because I've never seen a good reason to compile it as a
 module. In fact the help screen on ext3 says Be aware however that the
 file system of your root partition (the one containing the directory /)
 cannot be compiled as a module, and so this may be dangerous.

So, we should compile every filesystem that is usable on a root
partition into the kernel? Then we will have 2MB kernels (have you seen
how big xfs is?). 500k for XFS, 220k for ReiserFS, plus JFS and ext3
(100k including jdb).

Since you can have root on LVM, maybe that should be compiled in too? Of
course, then we should compile md in also.

 So if it
 is compiled as a module in mdk, against this advice, perhaps the
 maintainer(s) can give their explanation as to why this advice from the
 kernel team is wrong.

Because initrd images work fine (and this has been the case almost for
ever).

The warning in the kernel source is for people who are compiling their
own kernels and may not know how to create initrd images that include
the required modules.

BTW, I don't think this has anything to do with the problem, as users
with this problem reported the modules were loaded before they had
probles ...

But, someone who has the problem may want to test with the Mandrake
kernel-source and see if compiling the root filesystem driver in helps.

Regards,
Buchan

- --
|--Another happy Mandrake Club member--|
Buchan MilneMechanical Engineer, Network Manager
Cellphone * Work+27 82 472 2231 * +27 21 8828820x202
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/qicVrJK6UGDSBKcRAjobAJ9DL9brnaFCjn31WMN0ffQXOuH/HACglloM
gUqGbxTyzVPrDJTnEgpB+gY=
=ZnUC
-END PGP SIGNATURE-




Re: [Cooker] Re: Problems booting with ext3 for root partition

2003-11-06 Thread Stew Benedict

On Thu, 6 Nov 2003, Duncan wrote:

 Svante Signell posted [EMAIL PROTECTED],
 excerpted below,  on Thu, 06 Nov 2003 09:12:23 +0100:
 
  The long thread on 'kernel 23mdk panic' seems to be related to my problem.
  Has anyone made a summary of conclusions made so far? Which kernels are
  known to boot properly, with and without initrd?
 
 I compile my own kernel from kernel.org sources, so haven't been following
 this real closely, but AFAIK, any of the Mdk kernels work if ext3 support
 is compiled directly into the kernel, rather than as a module.  I haven't
 been following it closely enough to know which kernels work with ext3 as a
 module. with or without user recompilation.
 
 

That's not the whole story:

[EMAIL PROTECTED] stew]$ /sbin/lsmod | tail -2
ext3   60048   2
jbd39296   2 [ext3]
[EMAIL PROTECTED] stew]$ uname -r
2.4.22-23mdk

/ is ext3, booting with an initrd 
single disk, / is hda5, no /boot partition, devfsd=nomount (for LSB)

Works for some folks, not others.

-- 
Stew Benedict

--
MandrakeSoft