View previous topic :: View next topic |
Author |
Message |
wvcslc n00b

Joined: 09 Mar 2008 Posts: 5
|
Posted: Sun Mar 09, 2008 10:16 am Post subject: O2 recursion issues |
|
|
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 |
|
 |
eccerr0r Watchman

Joined: 01 Jul 2004 Posts: 9932 Location: almost Mile High in the USA
|
Posted: Sun Mar 09, 2008 4:40 pm Post subject: |
|
|
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/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
 |
Redhatter Retired Dev


Joined: 20 Sep 2003 Posts: 548 Location: Brisbane, QLD, Australia
|
Posted: Mon Mar 10, 2008 1:54 pm Post subject: |
|
|
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 |
|
 |
wvcslc n00b

Joined: 09 Mar 2008 Posts: 5
|
Posted: Mon Mar 10, 2008 5:37 pm Post subject: |
|
|
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 |
|
 |
Redhatter Retired Dev


Joined: 20 Sep 2003 Posts: 548 Location: Brisbane, QLD, Australia
|
Posted: Tue Mar 11, 2008 12:04 am Post subject: |
|
|
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 |
|
 |
ddc Guru

Joined: 29 Aug 2006 Posts: 521
|
Posted: Tue Mar 11, 2008 7:58 pm Post subject: |
|
|
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 |
|
 |
ddc Guru

Joined: 29 Aug 2006 Posts: 521
|
Posted: Tue Mar 11, 2008 8:01 pm Post subject: |
|
|
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 |
|
 |
|