Hi, 1) I compiled the kernel with EXT3 support in the kernel itself. I downloaded the latest patch.I am using 2.4.13 2) downloaded the util-linux2.11f first installed it 3) downloaded e2fsprogs.. installed.. afte i rebooted my /dev/hda5 partition is not geting mounted properly ls -l shows it as a directory as 8 k and cd says not a directory also during bootup I get a swapon error saying that invalid -e option. booting from an older kernel does not give any such errors... What do i do to solve my problem... -Ritesh
__________________________________________________ Do You Yahoo!? Find a job, post your resume. http://careers.yahoo.com
On Sat, Nov 03, 2001 at 11:25:22AM -0800, Ritesh H Shukla wrote:
Hi,
- I compiled the kernel with EXT3 support in the
kernel itself. I downloaded the latest patch.I am using 2.4.13 2) downloaded the util-linux2.11f first installed it 3) downloaded e2fsprogs.. installed.. afte i rebooted my /dev/hda5 partition is not geting mounted properly ls -l shows it as a directory as 8 k and cd says not a directory
Did you change the /etc/fstab file? Are you sure you did that without any mistakes? (unwittingly put in a newline character which looks like a simple line-wrap?)
On Sat, 3 Nov 2001, Ritesh H Shukla wrote:
- I compiled the kernel with EXT3 support in the kernel itself. I
downloaded the latest patch.I am using 2.4.13
So?
- downloaded the util-linux2.11f first installed it
- downloaded e2fsprogs.. installed..
Shouldn't there be e3fsprogs for ext3?
afte i rebooted my /dev/hda5 partition is not geting mounted
what is /dev/hda5
properly ls -l shows it as a directory as 8 k and cd says not a directory
That's because it is not a directory. /dev/hda5 is a block special device with major number 3 and minor number 5.
also during bootup I get a swapon error saying that invalid -e option.
find out where in your startup scripts swapon is called, and what options it takes, and then check what these options mean.
booting from an older kernel does not give any such errors...
What are the changes you made apart from compiling in ext3?
hi, Thanks for replying.... But have you tried ext3? -Ritesh --- Philip S Tellis philip.tellis@iname.com wrote:
On Sat, 3 Nov 2001, Ritesh H Shukla wrote:
- I compiled the kernel with EXT3 support in the
kernel itself. I
downloaded the latest patch.I am using 2.4.13
So?
- downloaded the util-linux2.11f first installed
it
- downloaded e2fsprogs.. installed..
Shouldn't there be e3fsprogs for ext3?
afte i rebooted my /dev/hda5 partition is not
geting mounted
what is /dev/hda5
properly ls -l shows it as a directory as 8 k and
cd says not a
directory
That's because it is not a directory. /dev/hda5 is a block special device with major number 3 and minor number 5.
also during bootup I get a swapon error saying
that invalid -e
option.
find out where in your startup scripts swapon is called, and what options it takes, and then check what these options mean.
booting from an older kernel does not give any
such errors...
What are the changes you made apart from compiling in ext3?
From what you have said, there is no way to know whether you are using ext3 or not, all we know is that it is compiled in. We also don't know what you are using for your other partitions.
-- Use self-identifying input. Allow defaults. Echo both on output. - The Elements of Programming Style (Kernighan & Plaugher)
Visit my webpage at http://www.ncst.ernet.in/~philip/ Read my writings at http://www.ncst.ernet.in/~philip/writings/
MSN philiptellis Yahoo! philiptellis AIM philiptellis ICQ 129711328
__________________________________________________ Do You Yahoo!? Find a job, post your resume. http://careers.yahoo.com
Ritesh H Shukla [Sat Nov 03, 2001 at 11:25:22AM -0800]:
Hi,
Hi
- I compiled the kernel with EXT3 support in the
kernel itself. I downloaded the latest patch.I am using 2.4.13 2) downloaded the util-linux2.11f first installed it 3) downloaded e2fsprogs.. installed..
did you make the changes in /etc/fstab ? did you change ext2 to ext3 or to auto ?
afte i rebooted my /dev/hda5 partition is not geting mounted properly ls -l shows it as a directory as 8 k and cd says not a directory
Okay but what *is* /dev/hda5 ? your root partition, /home ?
also during bootup I get a swapon error saying that invalid -e option. booting from an older kernel does not give any such errors...
that is because RedHat in their infinite wisdom for some reason gives out a somewhat modified version of the swapon package. The -e switch is only to suppress any error messages about swap partitions (or files) that have already been initialised. You will not find the -e switch in the man page you now have after upgrading e2fsprogs.
What has happened is that swapon has been upgraded when you upgrade e2fsprogs (or is it util-linux) but rc.sysinit does not know this.
In /etc/rc.d/rc.sysinit there are two instances of the swapon commmand, the first on line 149 is to initialise all devices marked as ``sw'' in /etc/fstab. There is another instance of the swapon command on line 623, this one initialises any swap files that you may have. One of these (I forget which one) has a `-a' as well as a `-e' switch. Remove the -e switch. Things will work but you'll have to make do with a message during bootup that says that swap is already initialised.
This seems quick and dirty but it works for me :-).
-Ritesh
regards,
Sharukh.
Hi! Thanks for understanding my prob...
--- "Dr. Sharukh K. R. Pavri." spavri@vsnl.com wrote:
Ritesh H Shukla [Sat Nov 03, 2001 at 11:25:22AM -0800]:
Hi,
Hi
- I compiled the kernel with EXT3 support in the
kernel itself. I downloaded the latest patch.I am using 2.4.13 2) downloaded the util-linux2.11f first installed
it
- downloaded e2fsprogs.. installed..
did you make the changes in /etc/fstab ? did you change ext2 to ext3 or to auto ?
Yes I changed it to ext3
afte i rebooted my /dev/hda5 partition is not
geting
mounted properly ls -l shows it as a directory as
8 k
and cd says not a directory
Okay but what *is* /dev/hda5 ? your root partition, /home ?
My mistake I should have mentioned, thats my vfat windows partition.. earlier on I had upgradede my kernel to 2.4.13 and the /deb/hda5 ( vfat ) was getting mounted cleanly... But some how after upgrading util and ext3 the /win/program direc where i am mounting it is being shown as a 8k size direc and cd gives an error... mounting from a diff kernel gives no such error and other partiontions are getting mounted properly
also during bootup I get a swapon error saying
that
invalid -e option. booting from an older kernel does not give any
such
errors...
that is because RedHat in their infinite wisdom for some reason gives out a somewhat modified version of the swapon package. The -e switch is only to suppress any error messages about swap partitions (or files) that have already been initialised. You will not find the -e switch in the man page you now have after upgrading e2fsprogs.
What has happened is that swapon has been upgraded when you upgrade e2fsprogs (or is it util-linux) but rc.sysinit does not know this.
In /etc/rc.d/rc.sysinit there are two instances of the swapon commmand, the first on line 149 is to initialise all devices marked as ``sw'' in /etc/fstab. There is another instance of the swapon command on line 623, this one initialises any swap files that you may have. One of these (I forget which one) has a `-a' as well as a `-e' switch. Remove the -e switch. Things will work but you'll have to make do with a message during bootup that says that swap is already initialised.
This seems quick and dirty but it works for me :-).
Thanks a lot for this one :-)
-Ritesh
regards,
Sharukh.
Dr. Sharukh K. R. Pavri Mumbai, India. _______________________________________________
__________________________________________________ Do You Yahoo!? Find a job, post your resume. http://careers.yahoo.com
Sometime Today, Ritesh H Shukla assembled some asciibets to say:
My mistake I should have mentioned, thats my vfat windows partition.. earlier on I had upgradede my kernel to 2.4.13 and the /deb/hda5 ( vfat ) was getting mounted cleanly... But some how after upgrading util and ext3 the /win/program direc where i am mounting
Ok, when you recompiled the kernel, did you compile in msdos, umsdos and vfat file system support? at least as modules. These are required to mount the vfat partition.
Philip
Hi Yes I did compile them as modules and did a make module_install -Ritesh --- Philip S Tellis philip.tellis@iname.com wrote:
Sometime Today, Ritesh H Shukla assembled some asciibets to say:
My mistake I should have mentioned, thats my vfat
windows
partition.. earlier on I had upgradede my kernel
to 2.4.13 and the
/deb/hda5 ( vfat ) was getting mounted cleanly...
But some how after
upgrading util and ext3 the /win/program direc
where i am mounting
Ok, when you recompiled the kernel, did you compile in msdos, umsdos and vfat file system support? at least as modules. These are required to mount the vfat partition.
Philip
-- Ask five economists and you'll get five different explanations (six if one went to Harvard). -- Edgar R. Fiedler
Visit my webpage at http://www.ncst.ernet.in/~philip/ Read my writings at http://www.ncst.ernet.in/~philip/writings/
MSN philiptellis Yahoo! philiptellis AIM philiptellis ICQ 129711328
__________________________________________________ Do You Yahoo!? Find a job, post your resume. http://careers.yahoo.com
Sometime Today, Ritesh H Shukla assembled some asciibets to say:
Yes I did compile them as modules and did a make module_install
Ok. What do you get when you type mount -t vfat /dev/hda5 /mnt/windows
(assuming that you have /mnt/windows as a directory)
report error messages, and the return value (echo $?)
Philip
PS: No, I haven't tried ext3, so... tell me why I should.
Hi, I had earlier compiled all the windows file system support as modules.. did a make modules and make modules_install twice but the problem persisted... Thus a few min back I recompiled the kernel with the support withing the kernel and well now the partition has been mounted cleanly..I wonder!! I guess the only thing remaining is to edit the startup scripts.. to remove the -e option from swapon... Well has anybody else faced this problem with my combination of ext3 and 2.4.13 pcq 7.1 ( with util linux updated ) during hdparm -Tt /dev/hda the timing buffer cache read is pretty normal as it was previously on my system but the timing buffered disk read takes a lot of time... A modified ver ie partition specific.. hdparm -tT /dev/hda6 ( my "/" partit ) behave the way it normally does... Please forgive my ignorance if applicable ... and enlighten me...
Also i asked if you were using ext3 cause in your first reply you asked me Questions which made me doubt the same.. ie you havent... i do not ask you to shift.. thats ur choice... :-) Keep up the good work,,, -Ritesh
--- Philip S Tellis philip.tellis@iname.com wrote:
Sometime Today, Ritesh H Shukla assembled some asciibets to say:
Yes I did compile them as modules and did a make
module_install
Ok. What do you get when you type mount -t vfat /dev/hda5 /mnt/windows
(assuming that you have /mnt/windows as a directory)
report error messages, and the return value (echo $?)
Philip
PS: No, I haven't tried ext3, so... tell me why I should.
-- You will lose an important tape file.
Visit my webpage at http://www.ncst.ernet.in/~philip/ Read my writings at http://www.ncst.ernet.in/~philip/writings/
MSN philiptellis Yahoo! philiptellis AIM philiptellis ICQ 129711328
__________________________________________________ Do You Yahoo!? Find a job, post your resume. http://careers.yahoo.com
Sometime on Nov 4, Ritesh H Shukla assembled some asciibets to say:
Also i asked if you were using ext3 cause in your first reply you asked me Questions which made me doubt the same.. ie you havent... i do not ask you to shift.. thats ur choice... :-) Keep up the good
No, no, I really want you to tell me whether I should change from ext2 to ext3. Basically, I'm asking for a review of ext3 from someone who's tried it, namely, you. I'll decide after that if I should shift or not.
Philip
On Mon, Nov 05, 2001 at 12:47:23AM +0530, Philip S Tellis wrote:
Sometime on Nov 4, Ritesh H Shukla assembled some asciibets to say: No, no, I really want you to tell me whether I should change from ext2 to ext3. Basically, I'm asking for a review of ext3 from someone who's tried it, namely, you. I'll decide after that if I should shift or not.
I run ext3. It's really cool. No performance hits. And the FS works fine as ext2 too. So, in case you have to try a new kernel (rescue, boot etc.), it works perfectly! (Just that fstab should have the FS type as auto.)
Now I don't care about power cuts! ;-) And no data loss to convert FS to ext3 .. and no more than 10 seconds to convert!
On Mon, 5 Nov 2001, Ravindra Jaju wrote:
And no data loss to convert FS to ext3 .. and no more than 10 seconds to convert!
Ok, nothing like reformatting or anything, like was necessary with reiserfs?
Philip
On Mon, Nov 05, 2001 at 01:37:48PM +0530, Philip S Tellis wrote:
On Mon, 5 Nov 2001, Ravindra Jaju wrote:
And no data loss to convert FS to ext3 .. and no more than 10 seconds to convert!
Ok, nothing like reformatting or anything, like was necessary with reiserfs?
None at all!
tune2fs -j /dev/hda*
and reboot into new kernel! (or if it is something like /home etc which is not critical for the system to run, unmount and mount as ext3)
of course, I assume the e2fsprogs and mount programs are updated.
Hi, Anyone has RH 7.2 ?? Can burn a CD for me please??
Thx, --Sandeep
_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Philip S Tellis [Sun Nov 04, 2001 at 11:01:58PM +0530]:
Sometime Today, Ritesh H Shukla assembled some asciibets to say:
Philip
PS: No, I haven't tried ext3, so... tell me why I should.
I use it because I need not now worry about data loss due to someone throwing the wrong switch, or my kiddo pushing the reset button while I am working on my pc; I still can't figue out how he knows to push only the reset button and not the turbo button :(
And besides, converting to ext3 from ext2 (or for that matter even the other way around) is a piece of cake. Forget reformatting, you don't even need to unmount the file system. If you put auto instead of ext3 in /etc/fstab you can even use an older kernel which will mount the partitions as ext2. To convert ext2 to ext3 just do
tune2fs -j /dev/hdxx
for the appropriate partition and this too just once.
press the reset switch and watch your machine bootup w/o an fsck !!
The maintainers even suggest switching off the mandatory fsck than comes on after the usual 20 reboots.
hth,
regards,
Sharukh.
I use it because I need not now worry about data loss due to someone throwing the wrong switch, or my kiddo pushing the reset button while I am working on my pc; I still can't figue out how he knows to push only the reset button and not the turbo button :(
Me tried to me Kid and did the same thing... and found out that but "/" partit was still being checked.... I modified fstab and it wasnt checking for /boot partit which too i did modify to ext3.. When i executed tune2fs -j /dev/hda6 (/) it gives my permission error .. while for /boot it says journal aready exists... I dont know whether its because I was online and chatting with a few interestin g people ;-) and playing Maelstrom i must have not notices the error the first time around .... Well what do I do now?
Yup and me looking forward to solving other janta's probs :-) -ritesh
__________________________________________________ Do You Yahoo!? Find a job, post your resume. http://careers.yahoo.com
Ritesh H Shukla [Mon Nov 05, 2001 at 03:52:18AM -0800]:
out that but "/" partit was still being checked.... I modified fstab and it wasnt checking for /boot partit which too i did modify to ext3.. When i executed tune2fs -j /dev/hda6 (/) it gives my permission error .. while for /boot it says journal aready exists... I dont know whether its because I was online and chatting with a few interestin g people ;-) and playing Maelstrom i must have not notices the error the first time around .... Well what do I do now?
you have to run tune2fs just once. send us the output of mount when you have booted with the new kernel (patched for ext3). This might seem silly but I presume you ran tune2fs as root ?
regards,
Sharukh.
Ritesh H Shukla [Sun Nov 04, 2001 at 08:03:15AM -0800]:
Hi! Thanks for understanding my prob...
--- "Dr. Sharukh K. R. Pavri." spavri@vsnl.com
My mistake I should have mentioned, thats my vfat windows partition.. earlier on I had upgradede my kernel to 2.4.13 and the /deb/hda5 ( vfat ) was getting mounted cleanly... But some how after upgrading util and ext3 the /win/program direc where i am mounting it is being shown as a 8k size direc and cd gives an error... mounting from a diff kernel gives no such error and other partiontions are getting mounted properly
have you compiled msdos & vfat fs as modules ? I couldn't get it to work with 2.4.12 with vfat & msdos as modules. Try compiling vfat & msdos into the kernel itself. It *may* work, I only get time on sundays to do all this r&d so I can't help you today but I noticed that the combo of rh 7.1 (pcq) w/ 2.4.12 (w/ upgraded util-linux & e2fsprogs) w/ ext3 keeps giving me errors of *unresolved symbols* in _all_ the options that I have built as modules when I run depmod -ae 2.4.12 after make modules_install. Go figure that :-). Last sunday I finally had to give up after recompiling the kernel for the third time (& besides my wife was giving me threatening stares :-).
also during bootup I get a swapon error saying
that
invalid -e option.
I guess that problem is solved now...
Thanks a lot for this one :-)
-Ritesh
Glad to help, now you help someone else w/ some problem you can solve.
regards,
Sharukh.