Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
O2 recursion issues
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
wvcslc
n00b
n00b


Joined: 09 Mar 2008
Posts: 5

PostPosted: Sun Mar 09, 2008 10:16 am    Post subject: O2 recursion issues Reply with quote

I installed Gentoo on my SGI O2 using a stage 3 from: http://dev.gentoo.org/~redhatter/mips/sgi/stages/stage3-mips4-2007.1.tar.bz2
I then skipped the 'compile a kernel' step and instead used the kernel from the 2007.0 install cd by following this page: http://www.bevilacqua.us/?p=245
When I boot I find that recursion does not work, ie:
rm -rf can't remove directories that are not empy,
du always displayes zero
find only every prints the directory

Anyone know why? or how to fix it?

example:
o2 ~ # ls -lh
total 24K
-rw-r--r-- 1 root root 260 Mar 9 03:30 a
-rw-r--r-- 1 root root 15K Mar 8 23:02 b
-rw-r--r-- 1 root root 1.9K Mar 8 23:42 c
o2 ~ # du . -hs
0 .
o2 ~ # echo $?
0
o2 ~ # find .
.
o2 ~ # echo $?
0


Linux o2 2.6.17.10-mipsgit-20060618-ip32r5k #5 Sun Oct 8 15:35:51 UTC 2006 mips64 R5000 V2.1 FPU V1.0 SGI O2 GNU/Linux
Back to top
View user's profile Send private message
eccerr0r
Advocate
Advocate


Joined: 01 Jul 2004
Posts: 3873
Location: USA

PostPosted: Sun Mar 09, 2008 4:40 pm    Post subject: Reply with quote

I'd look at file system issues first...what filesystem is this?
any messages in dmesg indicating some issues with the filesystem/hard disk?
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed to be advocating?
Back to top
View user's profile Send private message
Redhatter
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 548
Location: Brisbane, QLD, Australia

PostPosted: Mon Mar 10, 2008 1:54 pm    Post subject: Reply with quote

Well... I can assure you those stages do work. ;-) Gentoo 2008.0 just got compiled against them, on mips1, mips3 and mips4.

What filesystem are you using? I've never heard of this problem before.

For what it's worth... I'll soon have 2008.0 stages up. Big-endian MIPS is done... and Little-endian is mostly there (just waiting on MIPS4 stage 3).
_________________
Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...

Gentoo/MIPS Cobalt developer, Mozilla herd member.
Back to top
View user's profile Send private message
wvcslc
n00b
n00b


Joined: 09 Mar 2008
Posts: 5

PostPosted: Mon Mar 10, 2008 5:37 pm    Post subject: Reply with quote

There are no filesystem corruption issues logged when viewing dmesg
The filesystem is: ext3
re-emerging coreutils fails to fix this issue
I 'fixed' this problem by copying rm,find and du from the 2007.0. stage3 tarball and all works ok. So it's not a filesystem issue, just wierd
as long as i'm carefull not to re-emerge coreutils all seems to be working, got x11 / firefox compiling now
Back to top
View user's profile Send private message
Redhatter
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 548
Location: Brisbane, QLD, Australia

PostPosted: Tue Mar 11, 2008 12:04 am    Post subject: Reply with quote

Well, that is really weird... I'll keep an eye out for the problem when I start testing the stages here.

That said... IIRC portage relies on that recursive behaviour of various tools to operate, so the fact I was able to build 2008.0 stages using that 2007.1 stage 3, would seem to rule out the stage tarball being the problem.

Anyway... as I said, I'll look out for that problem cropping up in my tests here.
_________________
Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...

Gentoo/MIPS Cobalt developer, Mozilla herd member.
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Tue Mar 11, 2008 7:58 pm    Post subject: Reply with quote

gosh, I am still waiting for my O2, so i can immediately collaborate
if the machine will be shipped in time, i will: i have to install a fresh gentoo to an O2+, too (and here, i have no sgi machines)
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Tue Mar 11, 2008 8:01 pm    Post subject: Reply with quote

Redhatter wrote:
Little-endian is mostly there (just waiting on MIPS4 stage 3).


great news about LE mips3: very long uptime here, 500 no crash, no panic, no issues, hours
500 hours on a Mips R3000 little endian gentoo router board !!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures 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