Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ext4 - unsupported features! kernel panic!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
kEiNsTeiN
Guru
Guru


Joined: 29 Apr 2005
Posts: 361
Location: Germany

PostPosted: Wed May 23, 2007 11:11 am    Post subject: ext4 - unsupported features! kernel panic! Reply with quote

hey ho, sorry for double posting this!

After installing vipernicus' net-fs/nfs-utils-1.0.12-r3, and the light4 kernel, everything worked. For weeks

As I updated my PC yesterday, portage installed viper2 and e2fsprogs-1.40_pre20070411. and BAM everything broke :(
Kernel panics after the each reboot (or shutdown), even with the old light4 kernel. I had to use a the partedmagic-CD (ext4 support) to mount the partition, reboot, then finally the kernel booted init. Now when init started fsck.ext4dev, it complained about "unsupported features"!!!

So I'm kinda scared to reboot again, I might do a full backup first.

Is this problem caused by a change in the ext4 driver, or just e2fsprogs (you seem to have them removed from your overlay!!), or both?

Thanks!

edit: what about delalloc now? I dont think the kernel on the partedmagic-CD supports it, but does mine? Where's the benefit?

edit2: I think my problem is related to the delalloc I had in fstab once, but not it seems missing from e2fsprogs. How can I revert the allocation stuff back to normal?
Back to top
View user's profile Send private message
buddabrod
Apprentice
Apprentice


Joined: 15 Oct 2006
Posts: 241
Location: Germany

PostPosted: Wed May 23, 2007 11:27 am    Post subject: Reply with quote

Yeah delalloc is a bit broken, don't use it.
It's supposed to increase performance because data is held in the cache as long as possible and it's written in optimized order on the disc.

Try mounting your discs with "nodelalloc".
Back to top
View user's profile Send private message
kEiNsTeiN
Guru
Guru


Joined: 29 Apr 2005
Posts: 361
Location: Germany

PostPosted: Wed May 23, 2007 11:35 am    Post subject: Reply with quote

kay, trying it next time I reboot.

Is there a way to make the kernel more fault-tolerant?
I mean it always panics when booting, but when I mount it with the livecd, it only says that some orphan inodes were deleted and mounts the filesystem cleanly afterwards...
seems kinda lame for a kernel not being able to delete some inodes, dont you think?
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Wed May 23, 2007 12:03 pm    Post subject: Reply with quote

kEiNsTeiN wrote:

seems kinda lame for a kernel not being able to delete some inodes, dont you think?


what do you expect for using not on a beta filesystem, but a heavily dev'ed one at that. IF there is a bug in the kernel driver for the filesystem of cause the kernel will panic.

I do believe you were warned abt using this filesystem
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
RobertDavid
Apprentice
Apprentice


Joined: 08 Aug 2005
Posts: 271
Location: Czech Republic

PostPosted: Wed May 23, 2007 12:32 pm    Post subject: Reply with quote

1) Yes, stop using delalloc, I did that few days ago also. Time will come when it would be more stable.

2) block the e2fsutils-1.40 because there is no support for ext4, and emerge the one you use before. (me use 1.39-r2 in overlay patched by someone on this forum)

I had the same problem, so I booted to livecd and edit fstab not to fsck on boot "0 1" -> "0 0" mainly on root partition (best for evry u use ext4dev), till you dont emerge the correct e2fsprogs
_________________
Arch & Fluxbox & 2.6.24-rc-zen!!!!
robertek.brevnov.net
Back to top
View user's profile Send private message
kEiNsTeiN
Guru
Guru


Joined: 29 Apr 2005
Posts: 361
Location: Germany

PostPosted: Wed May 23, 2007 6:15 pm    Post subject: Reply with quote

I added nodelalloc to /etc/fstab.

But vipernicus' overlay doesn't have e2fsprogs any more (apart from being offline right now), and because I synched, I lost them as well. Are you sure my version doesn't support ext4? Where could I get a good one?


Last edited by kEiNsTeiN on Wed May 23, 2007 6:18 pm; edited 2 times in total
Back to top
View user's profile Send private message
buddabrod
Apprentice
Apprentice


Joined: 15 Oct 2006
Posts: 241
Location: Germany

PostPosted: Wed May 23, 2007 6:17 pm    Post subject: Reply with quote

I took mine from here and compiled it myself.
Back to top
View user's profile Send private message
kEiNsTeiN
Guru
Guru


Joined: 29 Apr 2005
Posts: 361
Location: Germany

PostPosted: Wed May 23, 2007 6:19 pm    Post subject: Reply with quote

okay, I didnt reboot yet, but used mount -o remount, and this is what I got:

Code:
keinstein ~ # mount | grep ext4
/dev/hda6 on / type ext4dev (rw,noatime,nodelalloc,extents)
keinstein ~ # fsck -n /dev/hda6
fsck 1.40-WIP (7-Apr-2007)
e2fsck 1.40-WIP (7-Apr-2007)
Warning!  /dev/hda6 is mounted.
fsck.ext4dev: Filesystem has unsupported feature(s) while trying to open /dev/hda6

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>
Back to top
View user's profile Send private message
kEiNsTeiN
Guru
Guru


Joined: 29 Apr 2005
Posts: 361
Location: Germany

PostPosted: Thu May 24, 2007 4:33 pm    Post subject: Reply with quote

okay, I finally rebooted, _and_ have a new kernel, aparently which has V2 of the ext4 drivers:
Code:
veit@keinstein ~ $ uname -a
Linux keinstein 2.6.21-kamikaze3 #1 PREEMPT Thu May 24 01:57:56 Local time zone must be set--see  i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHz GenuineIntel GNU/Linux


works good, kernel doesn't panic, fsck still complains about unsupported features, despite nodelalloc in fstab. I'm too lazy to compile e2fsprogs myself, I'm gona wait till someone writes an ebuild and just ignore the messages.

thanks everyone

edit: I fixed the timezone ;)
Back to top
View user's profile Send private message
kEiNsTeiN
Guru
Guru


Joined: 29 Apr 2005
Posts: 361
Location: Germany

PostPosted: Sun May 27, 2007 12:58 pm    Post subject: Reply with quote

okay, now it doesn't work any more. same kernel. I only added the extendet RTC support, but I dont see how that matters...

DAMNIT!

vieprnicus, what about e2fsprogs?
Back to top
View user's profile Send private message
Fitzsimmons
Guru
Guru


Joined: 01 Jan 2003
Posts: 415
Location: Waterloo, Ontario, Canada

PostPosted: Mon May 28, 2007 4:10 am    Post subject: Reply with quote

I don't understand, why don't you just reformat the partition?
Back to top
View user's profile Send private message
kEiNsTeiN
Guru
Guru


Joined: 29 Apr 2005
Posts: 361
Location: Germany

PostPosted: Mon May 28, 2007 12:29 pm    Post subject: Reply with quote

du you mean reformat as other filesystem or just to get rid of the "unsupported features" stuff?
Back to top
View user's profile Send private message
Fitzsimmons
Guru
Guru


Joined: 01 Jan 2003
Posts: 415
Location: Waterloo, Ontario, Canada

PostPosted: Mon May 28, 2007 1:58 pm    Post subject: Reply with quote

Whatever stops the kernel from panicking. :lol:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum