Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3977 - modules.conf corrupted by the update-modules at boot
Summary: modules.conf corrupted by the update-modules at boot
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Michael Cohen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-21 05:11 UTC by Juan J. Prieto
Modified: 2003-12-12 14:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juan J. Prieto 2002-06-21 05:11:19 UTC
I have a Gentoo Linux 1.2 system with xfs. When the power fails and the computer
restarts, the update-modules script makes a corrupted /etc/modules.conf file.
Why?, I suppose xfs is robust but, is possible that the update-modules script
fails during the xfs partition checking (at the mount moment)?.
I have decided to comment the lines of the update-modules at the boot rc script
to fix this problem for now.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-06-22 00:34:06 UTC
What do you mean by it corrupts it ?
Comment 2 Juan J. Prieto 2002-06-22 04:47:15 UTC
It contains trash intead of a plain text file. This makes that the kernel modules don't load at the startup process.
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2002-06-24 13:23:48 UTC
Ok, try to look at the files in /etc/modules.d/, as these are used to
generate /etc/modules.conf.  I am assuming one of these are corrupted.
Comment 4 Juan J. Prieto 2002-06-25 03:18:28 UTC
No, the files under /etc/modules.d/ are ok (I checked them for the first time). I think it is a problem with the update-modules running at boot time with a xfs checking.
Comment 5 Juan J. Prieto 2002-06-25 03:18:56 UTC
No, the files under /etc/modules.d/ are ok (I checked them for the first time). I think it is a problem with the update-modules running at boot time with a xfs checking.
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2002-06-25 15:03:26 UTC
What exactly do you mean by "boot time with a xfs checking" ?
Comment 7 Michael Cohen (RETIRED) gentoo-dev 2002-06-25 16:45:44 UTC
XFS is pretty icky.  Try another FS and see if you can duplicate it.  I've never
seen a decently stable XFS release or CVS. =(
Comment 8 Martin Schlemmer (RETIRED) gentoo-dev 2002-07-16 16:59:51 UTC
Any new developments ?
Comment 9 Michael Cohen (RETIRED) gentoo-dev 2002-07-16 21:35:14 UTC
I can't duplicate this, neither can anyone that uses XFS... if we can get it 
to duplicate elsewhere, lemme know.  sounds like your FS got corrupted 
somewhere and you just need to dd the disk and start over. =( Sorry...
Comment 10 sunwukong 2003-12-12 14:21:01 UTC
I started having the same problem w/ reiserfs on the 2.4.2x kernels (as late as of 2.4.23). I found that removing the Crypto API modules from being compiled in-kernel solved my stability and disk corruption problems.

Details: currently kernel 2.4.23 on dual Xeon PII 400MHz w/ 640MB RAM; running ide on mainboard and PCI Promise U66 card; reiserfs on non-boot partitions; no sound; ATI Rage AGP video