Bug 115227 - system unable to boot from JFS root filesystem
Summary: system unable to boot from JFS root filesystem
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Installation (show other bugs)
Version: RC 1
Hardware: i586 All
: P5 - None : Normal
Target Milestone: ---
Assignee: Andreas Jaeger
QA Contact: Klaus Kämpf
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-04 15:59 UTC by Per Jessen
Modified: 2005-09-26 14:42 UTC (History)
2 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Per Jessen 2005-09-04 15:59:52 UTC
There is no module included for JFS in the initrd that is set up after install
from CD1 has completed and the system reboots.  Would it be too much to ask to 
have JFS included?  It would enable me to skip the booting up of a rescue system
to fix the initrd.
Comment 1 Jiří Suchomel 2005-09-05 07:35:55 UTC
Steffen?
Comment 2 Steffen Winterfeldt 2005-09-05 09:22:28 UTC
initrd -> hannes  
Comment 3 Hannes Reinecke 2005-09-07 11:15:59 UTC
What are the contents of /etc/sysconfig/kernel:INITRD_MODULES?

jfs should be listed there. If it isn't, it won't be included in the initrd.
Comment 4 Per Jessen 2005-09-07 15:15:52 UTC
When the system boots the first time, INITRD_MODULES contains: "piix processor
thermal fan" - as prepared by the installer.
The important question here is - why isn't "jfs" in the list?  I would expect
the installer to understand that the root filesystem is JFS, and that it
therefore needs to include jfs in the initrd.
Comment 5 Hannes Reinecke 2005-09-08 06:41:19 UTC
That's what I would expect, too.
Reassinging to the YAST folks.
Comment 7 Jiri Srain 2005-09-08 15:44:46 UTC
Thomas, Arvin, it's partitioner task to tell Initrd.ycp to include the 
module...  
Comment 8 Thomas Fehr 2005-09-08 16:04:23 UTC
Please attach y2log files.
Comment 9 Thomas Fehr 2005-09-08 16:22:18 UTC
JFS is not support as root filesystem.
Comment 10 Per Jessen 2005-09-08 19:02:07 UTC
I know the installer no longer supports JFS, but that JFS is not supported as
root filesystem is news to me.  When was that announced? 
Besides, how come the installation on to a JFS root works just fine, if there's
no support for a JFS root filesystem? 
Comment 11 Thomas Fehr 2005-09-08 20:33:51 UTC
If the installer does not support JFS at all, of course it also does not
support it as root fs. 
No idea if and when that was announced. I doubt is was announced at all.
Comment 12 Per Jessen 2005-09-09 06:13:01 UTC
Ah, but the installer _does_ have some support for JFS.  The point I was trying
to make is - the installer has no problem _installing_ on to a JFS root, it just
doesn't support _creating_ JFS filesystems.  And subsequently, the system does
not currently support booting off JFS.  

What I'd like to know is - _why_ can't this be supported?  It really is just a
very simple matter of adding 4 characters to the INITRD_MODULES line in
/etc/sysconfig/kernel. 
Comment 13 Dave Kleikamp 2005-09-09 17:22:31 UTC
The only problem that that I'm aware of that would explain why jfs is not
supported on the root is bug 67328, which unfortunately was not fixed in time to
make 9.3.  Is there any reason not to support jfs on / in subsequent releases?
Comment 19 Andreas Jaeger 2005-09-12 13:35:01 UTC
Let me clarify:

* An update from an older release that uses JFS partitions should work
* A new installation with partitioning of JFS is not supported by YaST
* A new installation with reusing an existing JFS partition might work
  but this is not a supported method of installation at all.


Each and every filesystem needs tool support, implementation in YaST, testing,
bug fixing etc.  In the past while we supported JFS, we noticed that we had no
real external JFS testers and users and therefore decided that the engineering,
QA and fixing effort is not worth it for SUSE Linux distributions.

For future products, we consider adding an "expert" mode that allows
installation of additional filesystems but comes with a big warning that these
filesystems are unsupported and might not work at all (and will not be a blocker
or critical bug).  Would that help?
Comment 20 Per Jessen 2005-09-12 16:40:30 UTC
Thanks for the explanation Andreas.

With respect the your item #3, yes, this works just fine - until the system
needs to boot.  

About JFS support in SuSE Linuxes - SLES has full JFS support.  Surely the
engineering, QA and fixing effort could be more or less borrowed there? 
Obviously it's not my job to tell SuSE how to organise their staff, but it seems
a possibility.

Finally, I can't help thinking that when you allow installation onto a JFS root,
it would be sensible to also allow booting from it.  Note, I say _allow_, not
_support_.  All I'm concerned about is to skip the cumbersome step of booting up
a rescue system to fix the initrd before booting the first time.  
You _could_ just add jfs to the INITRD_MODULES - as you support JFS filesystems
as such, loading the jfs module at boot-time won't make much of a difference, I
submit. 
Comment 21 Andreas Jaeger 2005-09-12 17:06:14 UTC
We could borrow from SLES when we do a SLES release - but each new SUSE Linux
release contains a new kernel and needs testing...

Comment 22 Andreas Jaeger 2005-09-26 14:42:45 UTC
I've passed on the request to our engineers, they'll add this if time permits.

Resolving as fixed, since I put it into our feature database.