Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 178316

Summary: mke2fs does not work on experimental sparc32 tftp image
Product: Gentoo Release Media Reporter: Julien Etienne <julien.etienne>
Component: NetbootAssignee: Sparc Porters <sparc>
Status: RESOLVED WONTFIX    
Severity: normal CC: agaffney
Priority: High    
Version: unspecified   
Hardware: Sparc   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Julien Etienne 2007-05-13 11:00:48 UTC
Hello,

Using the tftp boot image http://dev.gentoo.org/~weeve/tftpboot/images/gentoo-sparc-2006.0-20060219.tftpboot I am having problem regarding the mke2fs utility. It does not format properly the hard drive.

The formating ends successfully, but when trying to mount the newly formated drive, it fails with "invalid parameter" error. I have the same results when formating as ext2 and ext3. Passing additional information to mount didn't solve the problem.

To overcome that problem I used a debian tftp image, that was also unable to mount the drives formatted by the gentoo tftp image. Reformating the drives using debian's mke2fs corrected the problem.

Cheers,
Julien

Reproducible: Always

Steps to Reproduce:
Once you have booted on the tftp image, considering your disk /dev/sda is partitionned and has a /dev/sda1 ;) :
1. mke2fs -j /dev/sda1
2. mount /dev/sda1 /mnt/gentoo
=> mount error: Invalid Parameter

I tried:
1. mke2fs /dev/sda1
2. mount /dev/sda1 /mnt/gentoo
=> mount error: Invalid Parameter

I also tried:
1. mke2fs /dev/sda1
2. mount -t ext2 /dev/sda1 /mnt/gentoo
=> mount error: Invalid Parameter



The hardware that was running the image is a SparcStation 5.
Comment 1 Julien Etienne 2007-05-13 11:03:48 UTC
According to the forum related to the experimental tftp image, the bug should be assigned to Gentoo/SPARC, but I am unable to change the assignement.

Sorry for the inconvenience.
Julien
Comment 2 Andrew Gaffney (RETIRED) gentoo-dev 2007-05-13 22:47:42 UTC
Hmm, I guess I haven't tested mke2fs with the new busybox. I know it worked fine with busybox-1.1.3, since Weeve did at least part of an install with it. I'll take a look.
Comment 3 Andrew Gaffney (RETIRED) gentoo-dev 2007-05-14 12:41:34 UTC
Ok, I completely misread this. You are using an experimental netboot image on an arch that is no longer supported. I don't think anyone is going to jump up and fix this.
Comment 4 Julien Etienne 2007-05-14 14:04:17 UTC
(In reply to comment #3)
> Ok, I completely misread this. You are using an experimental netboot image on
> an arch that is no longer supported. I don't think anyone is going to jump up
> and fix this.

Alright, I am fixing it myself, if anyone is interested I may provide the image.