cp -av /mnt/loopback/* /mnt/hda2 blows up!

Ask questions regarding Gentoox, Gentoo and Linux in general in these forums and we'll do our best to help you!
chrisb
Novice
Posts: 30
Joined: Wed Jun 08, 2005 7:24 pm
Location: Denmark

Post by chrisb »

Hmmm..
I really like to get Gentoox working on my large 500GB disk, but it fails..
and yes, I run Ext3..
I tryed to install it on a small 20GB and it went perfect.. no bugs at all..
So what now? any brainnies with the answer?
// ChrisB

Xboxes??? Gone Mac and gadget freak...
new Cellphone every month...
chrisb
Novice
Posts: 30
Joined: Wed Jun 08, 2005 7:24 pm
Location: Denmark

Post by chrisb »

Hmmm..
I really like to get Gentoox working on my large 500GB disk, but it fails..
and yes, I run Ext3..
I tryed to install it on a small 20GB and it went perfect.. no bugs at all..
So what now? any brainnies with the answer?
// ChrisB

Xboxes??? Gone Mac and gadget freak...
new Cellphone every month...
clpalmer
Power user
Posts: 288
Joined: Sat Jan 29, 2005 6:38 pm

Post by clpalmer »

Dunno if there's a max parition size limitation anywhere (loader, for example). Can you make a smaller partition for the OS and dedicate the rest to storage somewhere and see if that works?
clpalmer
Power user
Posts: 288
Joined: Sat Jan 29, 2005 6:38 pm

Post by clpalmer »

Posting what it is that fails is always helpful, as well... ;)
orochi
Gentoox Guru!
Posts: 606
Joined: Sun Oct 24, 2004 8:11 am

Post by orochi »

Linux Pro 2.4.32-gentoox #2 Thu Apr 19 10:58:25 PDT 2007 i686 Celeron (Coppermine) GenuineIntel GNU/Linux

E: install rootfs with reiserfs, i've had this box a while :D
blighty
Adept
Posts: 56
Joined: Tue Apr 25, 2006 9:36 am
Contact:

Post by blighty »

Hi ya,

Having the same problem & have been wondering if using a windowz pc to
ftp the rootfs file over is part of the problem or not?

anyone here ftp`d rootfs over from a linux pc?

given up trying yesterday & just installed to fatx in the end but forgotten
how slow it is like that ( + it keeps locking up completely )

Tempted to try going back to the last build & just using reiserfs untill the problem is sorted, I`m sure of still got some older builds on one of my pc`s.

bLiGhTy.
2x xbox v1.0 gentoox home native
2x stock 10GB`s (both built for free :D )

Thanks 2 cheesyboofs, Steinar T & of course ShALLaX.

Falcon; jtag, xbr, 160gb hdd
clpalmer
Power user
Posts: 288
Joined: Sat Jan 29, 2005 6:38 pm

Post by clpalmer »

It's not the transfer of the rootfs, as the rootfs file system is intact. Once you copy it piece by piece, there's no problems with it, which means the rootfs file was transferred fine.

The issue is the actual copying from the mounted rootfs file to the linux partition. I would assume it's an issue with the FATX drivers, as I haven't seen any issues on either my Home or Pro box since I installed them (and got rid of all the fatx file systems =)
gb
Newbie
Posts: 3
Joined: Wed May 30, 2007 8:34 pm

Re: cp -av /mnt/loopback/* /mnt/hda2 blows up!

Post by gb »

maboo wrote: Journal-601. buffer write failed.
kernal bug at prints.c:341!
invalid operand:0000
I got this problem on my newly installed gentoox6.2 everytime extensive writing is being done to the / reiserfs. Then the errormsg popup and I have to reboot very annoying after have been trying emerge --sync for 5-6 times. Anyway I created a new loopback with ext3 and moved /usr onto that one and my troubles where gone.
chrisb
Novice
Posts: 30
Joined: Wed Jun 08, 2005 7:24 pm
Location: Denmark

Post by chrisb »

Ok, what to do?

Sorry for the question Im a huge n00b.. :)

step p? step, or just what steps to do instaed of the cp -a ...
// ChrisB

Xboxes??? Gone Mac and gadget freak...
new Cellphone every month...
clpalmer
Power user
Posts: 288
Joined: Sat Jan 29, 2005 6:38 pm

Post by clpalmer »

Look at maboo's 2nd post. He pretty much covers it. He breaks it down and creates and copies each directory inside /usr/ one at a time. You'll likely find, though, that you have to break it down even further. So if you try to copy /usr/share all at once and it repeatedly fails, then you'll have to:

mkdir <tgt>/usr/share && cp -a <src>/usr/share/<dir1> <tgt>/usr/share/

and repeat for each directory inside /usr/share. Keep going from a deeper level until you get it to copy successfully without crashing. Remember to delete whatever was copying when it crashed before starting to copy again. ie. if you were in the middle of copying /usr/share and it crashed, then once you reboot, make sure to delete <tgt>/usr/share before starting again.
chrisb
Novice
Posts: 30
Joined: Wed Jun 08, 2005 7:24 pm
Location: Denmark

Post by chrisb »

Now its done, what do you think??

Thanks very mutch..
Now I just need the last 2 things (uPNP and torrent)
// ChrisB

Xboxes??? Gone Mac and gadget freak...
new Cellphone every month...
cheesyboofs
Power user
Posts: 239
Joined: Wed Jan 26, 2005 1:32 pm
Location: Luton UK
Contact:

Post by cheesyboofs »

You guy's shouldn't need to do all this messing about! I can only think there is a bug in the latest release of Gentoox or a bug in ext3 on very large hard drives.
Go fully native, it's the destiny of all Mk1 XboxesImage
The needs of the many out way the needs of the few or the one ...
clpalmer
Power user
Posts: 288
Joined: Sat Jan 29, 2005 6:38 pm

Post by clpalmer »

I think it's a bug in fatx in the latest release/bios/loader/somethinelse. It hasn't happened since for me and I've copied GB's back and forth from the same ext3 drive that was falling over during install =/
annerajb
Newbie
Posts: 8
Joined: Thu Dec 18, 2003 1:31 am
Contact:

Re: cp -av /mnt/loopback/* /mnt/hda2 blows up!

Post by annerajb »

gb wrote:
maboo wrote: Journal-601. buffer write failed.
kernal bug at prints.c:341!
invalid operand:0000
I got this problem on my newly installed gentoox6.2 everytime extensive writing is being done to the / reiserfs. Then the errormsg popup and I have to reboot very annoying after have been trying emerge --sync for 5-6 times. Anyway I created a new loopback with ext3 and moved /usr onto that one and my troubles where gone.
i have it now when i try to copy everything from the rootfs into my ext3 hdd and a lot of deubg codes and such no idea how to fix it anybody can help me?
clpalmer
Power user
Posts: 288
Joined: Sat Jan 29, 2005 6:38 pm

Post by clpalmer »

i have it now when i try to copy everything from the rootfs into my ext3 hdd and a lot of deubg codes and such no idea how to fix it anybody can help me?
Did you not read the rest of this thread? The whole thread is talking about having the problem when you copy from rootfs to the new partition and what to do when it crashes...
Post Reply