Skip to contentSkip to conversation

Mount ext2 filesystem.

DISCUSSION Takeshi Hakamada 6 participants 11 messages Dec 10, 1997 – Dec 15, 1997 MIPS

lore
Share & tools
lore
#0 lore raw

Hi all,

I'm working on my R5000 Indy can mount second disk as root filesystem. I've created ext2 filesystem from my i486-based Linux box and I connected it to my Indy as the second drive. Then I booted vmlinux-indy-2.1.67 (made by Ralf) from the first disk on my Indy, mounted nfs-root filesystem which is made by Ralf I know.
I can mount both the first disk(efs) and the second one(ext2).

However, when I try to invoke rpm which is made by Alan(libc/ld workaround version), I get efs read error as follows:

efs: read error in indirect extents
attempt to access beyond end of device
08:01 rw=0, want=1207011792, limit=1965937

Do you think something wrong with my IRIX efs partition? When I mount IRIX root partition, I can invoke some IRIX command(like ls, cp).

Anyway, why root-be-0.00.cpio.gz doesn't contain rpm binary? I think rpm binary should be in root-be-0.00.cpio.gz.

Thanks,
--
Takeshi Hakamada
Nihon Silicon Graphics Cray
E-mail: [email protected], URL: http://reality.sgi.com/hakamada_nsg/
Phone: +81-45-682-3712, Fax: +81-45-682-0856
Voice mail: (internal)822-1300, (external)+81-3-5488-1863-1300

#1 lore raw
Quoted 7 lines · Takeshi Hakamada

I'm working on my R5000 Indy can mount second disk as root filesystem. I've created ext2 filesystem from my i486-based Linux box and I connected it to my Indy as the second drive. Then I booted vmlinux-indy-2.1.67 (made by Ralf) from the first disk on my Indy, mounted nfs-root filesystem which is made by Ralf I know.
I can mount both the first disk(efs) and the second one(ext2).

Quoted 5 lines

However, when I try to invoke rpm which is made by Alan(libc/ld workaround version), I get efs read error as follows:
efs: read error in indirect extents
attempt to access beyond end of device
08:01 rw=0, want=1207011792, limit=1965937

That looks like a problem with the EFS driver that Mike put in. I'm not quite sure wher the problem is, but I get all sort of problems with EFS myself. I'm busy with other things.

Actually, I just tried it, and with Ralf's latest kernel I got:
EFS: magic 0X1 doesn't match 0X72959 or 0X7295A!
EFS: failed checking Superblock
Unable to handle paging request at virtual address 00000000, epc == 88057ab0, ra == 8808bbe8

... and then a complete hang.

Quoted 2 lines

Do you think something wrong with my IRIX efs partition? When I mount IRIX root partition, I can invoke some IRIX command(like ls, cp).

I would trust Irix a lot more to handle EFS partitions than the current Linux kernels.

Quoted 2 lines

Anyway, why root-be-0.00.cpio.gz doesn't contain rpm binary? I think rpm binary should be in root-be-0.00.cpio.gz.

root-be-0.00.cpio.gz doesnt' contain RPM because it's version 0.00, and at that point nobody had any RPM's to use. It will, though. I'll work on root-be-0.01.tar.gz when I get a working libc (nudge, nudge...)

- Alex

#3 lore raw
In reply to Takeshi Hakamada
Quoted 10 lines · Takeshi Hakamada

I'm working on my R5000 Indy can mount second disk as root filesystem. I've created ext2 filesystem from my i486-based Linux box and I connected it to my Indy as the second drive. Then I booted vmlinux-indy-2.1.67 (made by Ralf) from the first disk on my Indy, mounted nfs-root filesystem which is made by Ralf I know.
I can mount both the first disk(efs) and the second one(ext2).

However, when I try to invoke rpm which is made by Alan(libc/ld workaround version), I get efs read error as follows:

Quoted 6 lines

efs: read error in indirect extents
attempt to access beyond end of device
08:01 rw=0, want=1207011792, limit=1965937

Do you think something wrong with my IRIX efs partition? When I mount IRIX root partition, I can invoke some IRIX command(like ls, cp).

The efs filesystem for Linux is completly broken. If you want to transfer files from IRIX to Linux I recommend something like NFS or ftp to another machine.

Quoted 2 lines

Anyway, why root-be-0.00.cpio.gz doesn't contain rpm binary? I think rpm binary should be in root-be-0.00.cpio.gz.

The archive was the first collection of binaries ever. It isn't really intended to be a real distribution. Someone else promised to work on an installation procedure rsn.

Ralf

#2 lore raw
In reply to Alex deVries
Quoted 3 lines · Alex deVries

root-be-0.00.cpio.gz doesnt' contain RPM because it's version 0.00, and at that point nobody had any RPM's to use. It will, though. I'll work on root-be-0.01.tar.gz when I get a working libc (nudge, nudge...)

/pub/mips-linux/libc-2.0.4.tar.gz, and oh - keep your firstborn handy ;-)

Ralf

#4 lore raw
In reply to Takeshi Hakamada
Quoted 6 lines

However, when I try to invoke rpm which is made by Alan(libc/ld workaround version), I get efs read error as follows:

efs: read error in indirect extents
attempt to access beyond end of device
08:01 rw=0, want=1207011792, limit=1965937

The efs driver is still very limited and cant handle many file layouts.

Quoted 2 lines

Anyway, why root-be-0.00.cpio.gz doesn't contain rpm binary? I think rpm binary should be in root-be-0.00.cpio.gz.

Personally I'd like to see a lot less in a final root-be-0.00. Really it needs some minimal disk handling tools and rpm. The root-be is a good start for an NFS root right now.

I used the installer stuff I did to get rpm on the disk by doing

on Linux x86

rpm2cpio rpm-2.3.11.mips.rpm >rpm.cpio

ftping it to Irix and using the install cpio option. Ive been poking at better installing and talked to a few people about Arc firmware after Ralf prodded me. Given the horror stories told I think the better option is to finish producing a tool that takes a compressed ramdisk image (the initrd image) that is used by setups like the redhat installer and merges it with the kernel image so the existing bootup stuff can load it

The X86 has memory space problems (install in 8Mb), on the indy blowing 4Mbytes on the install ramdisk is almost an irrelevance.

Alan

#5 lore raw
Quoted 9 lines
Quoted 7 lines

However, when I try to invoke rpm which is made by Alan(libc/ld workaround version), I get efs read error as follows:

efs: read error in indirect extents
attempt to access beyond end of device
08:01 rw=0, want=1207011792, limit=1965937

The efs driver is still very limited and cant handle many file layouts.

Okay.

Quoted 7 lines
Quoted 2 lines

Anyway, why root-be-0.00.cpio.gz doesn't contain rpm binary? I think rpm binary should be in root-be-0.00.cpio.gz.

Personally I'd like to see a lot less in a final root-be-0.00. Really it needs some minimal disk handling tools and rpm. The root-be is a good start for an NFS root right now.

Quoted 5 lines

I used the installer stuff I did to get rpm on the disk by doing

on Linux x86

rpm2cpio rpm-2.3.11.mips.rpm >rpm.cpio

Thank you. I've converted rpm to cpio and I could have installed rpm binary. But, I can't boot from local disk yet. If I can boot from local disk, I'd like to update faq on the www.linux.sgi.com. How do you think about it?

Quoted 9 lines

ftping it to Irix and using the install cpio option. Ive been poking at better installing and talked to a few people about Arc firmware after Ralf prodded me. Given the horror stories told I think the better option is to finish producing a tool that takes a compressed ramdisk image (the initrd image) that is used by setups like the redhat installer and merges it with the kernel image so the existing bootup stuff can load it

The X86 has memory space problems (install in 8Mb), on the indy blowing 4Mbytes on the install ramdisk is almost an irrelevance.

Yes, when I installed RedHat4.2 on my poor note PC(8MBytes), it bothered me.

Cheers,
--
Takeshi Hakamada
Nihon Silicon Graphics Cray
E-mail: [email protected], URL: http://reality.sgi.com/hakamada_nsg/
Voice mail: (internal)822-1300, (external)+81-3-5488-1863-1300

#6 lore raw
Quoted 3 lines

Thank you. I've converted rpm to cpio and I could have installed rpm binary. But, I can't boot from local disk yet. If I can boot from local disk, I'd like to update faq on the www.linux.sgi.com. How do you think about it?

In irix, shutdown, restart hit the maintenance button to get to the arc menu, hit command line and do I think its

boot /whatever/efs/vmlinux root=/dev/sdb1

(first partition disk 2 as root)

#7 lore raw
Quoted 11 lines
Quoted 4 lines

Thank you. I've converted rpm to cpio and I could have installed rpm binary. But, I can't boot from local disk yet. If I can boot from local disk, I'd like to update faq on the www.linux.sgi.com. How do you think about it?

In irix, shutdown, restart hit the maintenance button to get to the arc menu, hit command line and do I think its

boot /whatever/efs/vmlinux root=/dev/sdb1

(first partition disk 2 as root)

I know this method, my want to boot from local disk is, I've not installed all rpm packages on the second disk. I'll do this until tomorrow. Do you think anyone wants my installation howto?

--
Takeshi Hakamada
Nihon Silicon Graphics Cray
E-mail: [email protected], URL: http://reality.sgi.com/hakamada_nsg/
Phone: +81-45-682-3712, Fax: +81-45-682-0856
Voice mail: (internal)822-1300, (external)+81-3-5488-1863-1300

#8 lore raw
Quoted 8 lines · Takeshi Hakamada
Quoted 8 lines
Quoted 4 lines

Thank you. I've converted rpm to cpio and I could have installed rpm binary. But, I can't boot from local disk yet. If I can boot from local disk, I'd like to update faq on the www.linux.sgi.com. How do you think about it?

In irix, shutdown, restart hit the maintenance button to get to the arc menu, hit command line and do I think its

Quoted 7 lines
Quoted 3 lines

boot /whatever/efs/vmlinux root=/dev/sdb1

(first partition disk 2 as root)

I know this method, my want to boot from local disk is, I've not installed all rpm packages on the second disk. I'll do this until tomorrow. Do you think anyone wants my installation howto?

Yep !

I'm a student at The University of NSW, Australia and over this summer (yes it's summer now ;) I'll be undertaking to port Linux to a specialised board developed here, which uses a R4{6,7}00 chip.

As a warmup exercise, as I've been given access to an Indy and brought in my home Linux x86 box as a bootserver, I'll try and install SGI/Linux. The only prob is that I've never used/played with an SGI before and so would appreciate a slightly more comprehensive howto then the FAQ.

I've been lurking in the background the last few days and this seems like an appropriate time to say "Hi".

Any hints or tips anyone could send me would be much appreciated.

Thanks

___________________________________________________________________
/ Andrew O'Brien [email protected] [email protected] \

/  Student, Faculty of CSE       http://www.cse.unsw.edu.au/~andrewo  \
>  UNSW, Australia           President COMPSOC   http://www/~compsoc  <
\  BE (Comp)/BA (Psych)      Student Representative   stu-reps@cse..  /

\___ "finger -l [email protected]" for my current location ___/

#10 lore raw
In reply to Takeshi Hakamada

YES! :)

Quoted 22 lines · Takeshi Hakamada
Quoted 11 lines
Quoted 4 lines

Thank you. I've converted rpm to cpio and I could have installed rpm binary. But, I can't boot from local disk yet. If I can boot from local disk, I'd like to update faq on the www.linux.sgi.com. How do you think about it?

In irix, shutdown, restart hit the maintenance button to get to the arc menu, hit command line and do I think its

boot /whatever/efs/vmlinux root=/dev/sdb1

(first partition disk 2 as root)

I know this method, my want to boot from local disk is, I've not installed all rpm packages on the second disk. I'll do this until tomorrow. Do you think anyone wants my installation howto?

--
Takeshi Hakamada
Nihon Silicon Graphics Cray
E-mail: [email protected], URL: http://reality.sgi.com/hakamada_nsg/
Phone: +81-45-682-3712, Fax: +81-45-682-0856
Voice mail: (internal)822-1300, (external)+81-3-5488-1863-1300

Signature · 13 lines
Eric Kimminau                           System Engineer/RSA
[email protected]                     Silicon Graphics, Inc
Voice: (248) 848-4455                   39001 West 12 Mile Rd.
Fax:   (248) 848-5600                   Farmington, MI 48331-2903

                 VNet Extension - 6-327-4455
              "I speak my mind and no one else's."
       http://www.dcs.ex.ac.uk/~aba/rsa/perl-rsa-sig.html

    When confronted by a difficult problem, solve it by reducing 
    it to the question, "How would the Lone Ranger handle this?"
	
         "I am the great supportfolio, do you have http?"
#9 lore raw
In reply to Andrew O'Brien
Quoted 10 lines

As a warmup exercise, as I've been given access to an Indy and brought in my home Linux x86 box as a bootserver, I'll try and install SGI/Linux. The only prob is that I've never used/played with an SGI before and so would appreciate a slightly more comprehensive howto then the FAQ.

I've been lurking in the background the last few days and this seems like an appropriate time to say "Hi".

Any hints or tips anyone could send me would be much appreciated.

Eventually, I've booted SGI/Linux from local disk. However, my e2fs partition(super block) has been corrupted, I'll re-mke2fs and reinstall rpm stuff on the local disk. I'm also preparing for Installation howto or FAQ.

Thanks,
--
Takeshi Hakamada
Nihon Silicon Graphics Cray
E-mail: [email protected], URL: http://reality.sgi.com/hakamada_nsg/
Phone: +81-45-682-3712, Fax: +81-45-682-0856
Voice mail: (internal)822-1300, (external)+81-3-5488-1863-1300