[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Segfaulting while building tftpimage on MIPS



Hi Guido .. Hi all ... 

On Mon, Jun 24, 2002 at 08:44:19PM +0200, Guido Guenther wrote:
>On Mon, Jun 24, 2002 at 05:46:36PM +0200, Jan-Hendrik Palic wrote:
>> I: building tftp image in tftpboot-r4k-ip22.img
>> ./tftpboot.sh: line 78: 17920 Segmentation fault      addinitrd
>> $tftpimage $rootimage $tftpimage.tmp
>> E: ./tftpboot.sh abort
>What kernel are you using? Addinitrd is not working with kernels newer
>than 2.4.16 due to head.S changes (I submitted a patch to work around
>this to the linux-mips list some time ago though).
>For newer kernels use tip22, a tftpbootloader that properly embedds
>kernel and initrd:
> http://honk.physik.uni-konstanz.de/linux-mips/arcboot/tip22_0.3.3_mips.deb
>Note that you also need a small kernel patch included in the package(and
>in the newer(>= 2.4.18 debian mips kernel packages)). To make
>bootfloppies aware of this change use the attached patch(and feel free
>to commit to boot-floppies CVS if it works for you).

[snip patch]

For your information:
I get this error .. 
I: downloading kernel-image-2.4.18-r4k-ip22
I: Retrieving
http://samosa-replacement.debian.org/debian/dists/woody/Release
I: Validating
/archive/debian/download/var/lib/apt/lists/debootstrap.invalid_dists_woody_Release
./kernel.sh: eval: line 3: syntax error near unexpected token `)'
./kernel.sh: eval: line 3: `      )'
./kernel.sh: eval: line 3: syntax error near unexpected token `)'
./kernel.sh: eval: line 3: `      )'
./kernel.sh: eval: line 3: syntax error near unexpected token `)'
./kernel.sh: eval: line 3: `      )'
E: Invalid Release file, no valid components
E: ./kernel.sh abort
make[2]: *** [modulesr4k-ip22.tgz] Error 1
make[2]: Leaving directory
`/home/palic/build/bootfloppies/boot-floppies-3.0.23'
make[1]: *** [build] Error 2
make[1]: Leaving directory
`/home/palic/build/bootfloppies/boot-floppies-3.0.23'
make: *** [build] Error 2

I have no fix at the moment but I will have a look ... :)

	regards
		Jan
-- 
  .''`.    Jan-Hendrik Palic     |
 : :' : ** Debian GNU/ Linux **  |   ** OpenOffice.org **       ,.. ,..
 `. `'   http://www.debian.org   | http://www.openoffice.org  ,: ..`   `
   `-  jan.palic@linux-debian.de |                           '  `  `

Attachment: pgpRnqGCw4qL7.pgp
Description: PGP signature


Reply to: