View previous topic :: View next topic |
Author |
Message |
n19i n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 11 Dec 2006 Posts: 53
|
Posted: Mon Feb 05, 2007 3:45 pm Post subject: portage reiser partition not mounting [unsolved, using ext2] |
|
|
Hi
I just installed my new gentoo system over a fakeraid(followed the wiki's howtos), and everything went fine, till I reboot'd my system. It seemed that it'd boot fine, then it failed mounting all partitions except root and swap. Here's my fstab:
Code: |
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/mapper/sil_adbhabdeccbi1 /boot ext2 noatime 1 2
/dev/mapper/sil_adbhabdeccbi3 none swap sw 0 0
/dev/mapper/sil_adbhabdeccbi7 / ext3 noatime 0 1
/dev/mapper/sil_adbhabdeccbi5 /var ext2 noatime 0 2
/dev/mapper/sil_adbhabdeccbi6 /usr/portage reiserfs noatime,notail 0 2
#/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0
# NOTE: The next line is critical for boot!
proc /proc proc defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
|
I can't really understand dmesg | less output, but it says something about a Reiserfs error, then Reiserfs panic, like it wasn't able to find the device. Really weird.
In spite of that, i can login, and when i try to manually mount /usr/portage, it simply locks up, no error message, nothing. It even won't die if I "kill -9" it from another console.
I can, however, mount /var manually, but still, its functions are crippled, I cannot reboot or shutdown properly.
Sorry, I'm kinda in a hurry now, so I couldn't post the dmesg output.
Maybe it has something to do with the kernel I'm using? Its 2.6.19-r5 gentoo sources. I heard that 2.6.19 had some ext3 and reiserfs problems.
I don't believe it could be related to the fact that I'm using fakeraid, since the chrooted system works fine when I'm on LiveCD, and /dev/mapper shows correctly the partitions when I boot.
I'm pretty sure I didn't forget anything kernel related. As a matter of fact, I compiled it all as built-in modules.
Thanks in advance.
EDIT: SHORT STORY: /usr/portage isn't mounting. I'm on fakeraid, but that shouldn't be a problem, and other partitions (ext2 and ext3) are mounting fine. When I try to mount this reiserfs partition, i get a reiserfs panic message, followed by a segmentation fault error. I checked my kernel(2.6.19-r5), tried an older one, and still can't mount it. Just reiserfsck'd it, no corruptions. Still, the livecd mounts the partition just fine. I compiled everything as built-in, and checked all the option concerning reiserfs. I have no idea what's going on.
Last edited by n19i on Fri Feb 09, 2007 2:48 am; edited 5 times in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kusuriya n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/194365322947141c62b10ec.jpg)
Joined: 22 Dec 2004 Posts: 29 Location: /Earth/United-States/Washington
|
Posted: Mon Feb 05, 2007 4:34 pm Post subject: |
|
|
sounds like either the partition got botched or it was improporly formatted, what version of RieserFS are you useing v3 or v4? _________________ You can't trust us, and we don't know what we're talking about. - Sugar
Flying is easy, Just jump at the ground and miss - Ford Prefect HHGTTG |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
n19i n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 11 Dec 2006 Posts: 53
|
Posted: Mon Feb 05, 2007 5:08 pm Post subject: |
|
|
kusuriya wrote: | sounds like either the partition got botched or it was improporly formatted, what version of RieserFS are you useing v3 or v4? |
3.6
But I can still mount it and use its contents if I use the LiveCD. Oh yeah, and I forgot to mention, I used --block-size 1024 while formating. Maybe I have to pass an option for it somewhere in fstab??
And well, there's the /var partition that won't mount while booting aswell. Maybe it's not a partition problem.. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
n19i n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 11 Dec 2006 Posts: 53
|
Posted: Mon Feb 05, 2007 7:31 pm Post subject: |
|
|
Okay, turns out I tried an older kernel and it also didn't work. But what I noticed is that if I remove /usr/portage partition out of my fstab, the system boots without errors. Then, if I try to manually mount that reiser partition, it says something like KERNEL bug, fs/reiserfs/print.c line bla bla bla error, then there's this debug output i suppose, saying CUT HERE --------------------- and the following lines I can't really understand.
The thing is, I can still mount it from the livecd, and it's not corrupted or something. The only thing different I did was to format it using --block-size 1024. But then again, I mount it from the livecd like I would mount anything, without any other options, and its perfectly fine.
When I try to mount from my newly installed gentoo system, it fails.
So what am I missing here?? I did emerge reiserfsprogs, I compiled all the reiser stuff available on kernel (as built-in modules), all other ext2 and ext3 partitions mount just fine... any ideas?? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kusuriya n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/194365322947141c62b10ec.jpg)
Joined: 22 Dec 2004 Posts: 29 Location: /Earth/United-States/Washington
|
Posted: Tue Feb 06, 2007 2:02 pm Post subject: |
|
|
try fscking it from the system see what you get, It sounds like a prob with the kernel, you may wanna check your settings and recomp the kernel just to make sure too. _________________ You can't trust us, and we don't know what we're talking about. - Sugar
Flying is easy, Just jump at the ground and miss - Ford Prefect HHGTTG |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
n19i n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 11 Dec 2006 Posts: 53
|
Posted: Wed Feb 07, 2007 7:44 pm Post subject: |
|
|
Okay, just ran a reiserfsck and guess what. Nothing. It's not corrupted.
Still, when I try to mount it, it gives me a "Segmentation Fault" error, after some lines of reiser panic etc etc.
What's going on here? I went through the kernel over and over and still can't tell whats missing. I compiled all reiserfs options as built-in... any ideas? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kusuriya n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/194365322947141c62b10ec.jpg)
Joined: 22 Dec 2004 Posts: 29 Location: /Earth/United-States/Washington
|
Posted: Wed Feb 07, 2007 10:19 pm Post subject: |
|
|
Post thoose lines in DMESG that pertain to the rieserfs panic _________________ You can't trust us, and we don't know what we're talking about. - Sugar
Flying is easy, Just jump at the ground and miss - Ford Prefect HHGTTG |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
n19i n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 11 Dec 2006 Posts: 53
|
Posted: Thu Feb 08, 2007 2:22 am Post subject: |
|
|
Is dmesg output saved in a specific file?? like /var/log/something?? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
neysx Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/17295657453e350b33c0b78.jpg)
Joined: 27 Jan 2003 Posts: 795
|
Posted: Thu Feb 08, 2007 10:36 am Post subject: |
|
|
Or just don't use reiserfs at all, especially for /usr/portage/ where ext2 with 1K-blocks is a much better approach.
hth |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
n19i n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 11 Dec 2006 Posts: 53
|
Posted: Thu Feb 08, 2007 5:14 pm Post subject: |
|
|
neysx wrote: | Or just don't use reiserfs at all, especially for /usr/portage/ where ext2 with 1K-blocks is a much better approach.
hth |
I considered using ext2, but I thought reiser had a better perfomance with small files nonetheless.
so I guess I'll try using ext2, never thought reiserfs would do this to me ![Confused :?](images/smiles/icon_confused.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
n19i n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 11 Dec 2006 Posts: 53
|
Posted: Fri Feb 09, 2007 2:46 am Post subject: |
|
|
Strange, I cp'd all the stuff in /usr/portage to another folder, then I formatted it to ext2fs and copied the stuff all over again, now it's working just fine. Maybe some reiserfs bug when using dmraid and mount a non-default blocksize partition? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kusuriya n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/194365322947141c62b10ec.jpg)
Joined: 22 Dec 2004 Posts: 29 Location: /Earth/United-States/Washington
|
Posted: Fri Feb 09, 2007 3:22 am Post subject: |
|
|
that was something i was gonna suggest i just didnt wanna do it with out makeing sure it may have been a bug, but yah.. that would be strange _________________ You can't trust us, and we don't know what we're talking about. - Sugar
Flying is easy, Just jump at the ground and miss - Ford Prefect HHGTTG |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|