Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#119086 - 02/10/2002 21:47 ext3 support update
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
Wow, I finally managed to finish moving and get some time to do some more work on the ext3 stuff. I managed to get it patched all the way up to the current version of ext3 for kernel 2.2 (0.0.7a). Aside from any bugs I may have introduced this should be pretty stable. Get the latest version here. The instructions are a little simpler for this version as well.

Please try this out and let me know how it works for you. The major advantage is no more of those painfully long drive checks. Regular drive mounts also happen a little faster. I have been running some version of ext3 on my empeg for a couple of months now with no data loss and this newest version seems to fix the one remount bug I was having previously.

If you are running the older version of ext3 that I posted a couple of months ago the upgrade process is pretty simple. Just grab the newer kernel, e2fsck, and tune2fs from the site above and install them. You will also want to upgrade to the newer journal format by mounting the drive once with this command: "mount /dev/hdaX /mnt -o journal=update".

-Mike
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#119087 - 03/10/2002 00:02 Re: ext3 support update [Re: mcomb]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
You should probably ship a kernel config diff in your patch which has all the questions answered, in case people care.

I'm building a v299 hijack version of this now.

Top
#119088 - 03/10/2002 00:08 Re: ext3 support update [Re: Daria]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
In reply to:

I'm building a v299 hijack version of this now.




Arghh, am I out of date already? I totally missed 299 I'll add a config next time I do an update, in the meantime if you want to build your own kernel just use the empeg-car[1|2] config as a starting point and then take all the defaults except for enabling ext3.

-Mike
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#119089 - 03/10/2002 00:26 Re: ext3 support update [Re: mcomb]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
then take all the defaults except for enabling ext3.

I know; I'm already running the kernel

I'm creating the 2nd journal now.

Top
#119090 - 03/10/2002 00:37 Re: ext3 support update [Re: Daria]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
And indeed, it looks good. Thanks!

Now I just need to make sure to keep the relevant diffs around; diffing diffs sure can look ugly though.

Top
#119091 - 03/10/2002 06:25 Re: ext3 support update [Re: Daria]
jaharkes
enthusiast

Registered: 20/08/2002
Posts: 340
Loc: Pittsburgh, PA
Interdiff is really useful to create a regular diff that contains all the incremental changes between 2 diffs. It is part of patchutils.
_________________________
40GB - serial #40104051 gpsapp

Top
#119092 - 03/10/2002 07:42 Re: ext3 support update [Re: mcomb]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Hi.

If the ext3 support is configurable via the standard kernel config scripts, then could you please update your sources to Hijack 299, and then send me a complete (single) unified diff ("diff -u") between your source tree and the standard Hijack tree?

I'll try applying it, and hopefully if all works well enough it will become standard Hijack code, at lease the 2.2.17+ portions. The ext3 will get incorporated into the Hijack sources, but probably not as the default config for Hijack binaries right now.

Thanks

Top
#119093 - 03/10/2002 11:09 Re: ext3 support update [Re: jaharkes]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
I guess I'll try it for the next version.

Top
#119094 - 03/10/2002 11:36 Re: ext3 support update [Re: mlord]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
In reply to:

I'll try applying it, and hopefully if all works well enough it will become standard Hijack code, at lease the 2.2.17+ portions.




Wooohoo, I've made the big time ;-) If you promise not to release a new version of hijack for at least the next 5 or 6 hours I will get you a patch today.

Thanks,
-Mike
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#119095 - 03/10/2002 15:16 Re: ext3 support update [Re: mlord]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
OK Mark, just sent you an email. If anybody else happens to want this the patch is at http://macgeek.dyndns.org/empeg/ext3/empeg-hj299-to-ext3+kernel2.2.17.diff.gz

-Mike
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#119096 - 03/10/2002 18:05 Re: ext3 support update [Re: mcomb]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
Yeah, I might as well cache a copy for now.

ext3 is working well for me. I suppose though that I do way to fsck a little more frequently than never but I haven't decided yet how I want to deal.

Top
#119097 - 16/10/2002 23:12 Re: ext3 support update [Re: mcomb]
Waterman981
old hand

Registered: 14/02/2002
Posts: 804
Loc: Salt Lake City, UT
I tried putting ext3 on my player. Everything was going good until I got the following(for both drives):

empeg:/bin# mount /dev/hdc4 /drive1
empeg-EXT3: changing mount type for:/dev/hdc4
EXT3-fs warning: feature flags set on rev 0 fs, running e2fsck is recommended
EXT3-fs warning (device ide0(3,68)): ext3_update_fs_rev: updating to rev 1 becau
se of new feature flag, running e2fsck is recommended
ro
EXT3-fs: mounted filesystem with ordered data mode.
empeg:/bin# ro
mount: can't find /drive1 in /etc/fstab or /etc/mtab

How can I fix this?
_________________________
-Michael

#040103696 on a shelf
Mk2a - 90 GB - Red - Illuminated buttons

Top
#119098 - 16/10/2002 23:56 Re: ext3 support update [Re: Waterman981]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
In reply to:


empeg:/bin# mount /dev/hdc4 /drive1
empeg-EXT3: changing mount type for:/dev/hdc4
EXT3-fs warning: feature flags set on rev 0 fs, running e2fsck is recommended
EXT3-fs warning (device ide0(3,68)): ext3_update_fs_rev: updating to rev 1 becau
se of new feature flag, running e2fsck is recommended
ro
EXT3-fs: mounted filesystem with ordered data mode.




Were you running my older ext3 setup before? That message is just telling you that it upgraded the ext3 journal file on your drive to support the newer ordered data mode (it might also happen the first time you setup ext3 on the volume, I forget). You should only see it once and it is nothing to worry about.

In reply to:


empeg:/bin# ro
mount: can't find /drive1 in /etc/fstab or /etc/mtab




This is unrelated, but happens because there is no mount line for the second drive in the fstab file. The empeg guys didn't add it since the player normally mounts the volume directly. If you don't want to see it again connect to the player of serial and type...

prompt> echo "/dev/hdc4 /drive1 ext2 ro 0 1" >> /etc/fstab

Make sure you get that right with the two arrows or you will overwrite the file instead of just adding to it.

-Mike
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top