binfmt_aout and 1.3.100

Bartlomiej Czardybon (czar@dumb.iinf.polsl.gliwice.pl)
Mon, 20 May 1996 15:09:29 +0200 (MET DST)


Hello
1.3.100 is my first upgrade: before i was using 1.2.13, when I installed
1.3.100 all a.out's stopped to execute for me writing in log:

May 20 14:45:54 o68 kernel: N_TXTOFF < BLOCK_SIZE. Please convert binary.

This message is generated by function do_load_aout_binary:

if (N_MAGIC(ex) == ZMAGIC && ex.a_text &&
(fd_offset < bprm->inode->i_sb->s_blocksize)) {
printk(KERN_NOTICE "N_TXTOFF < BLOCK_SIZE. Please convert
binary.\n");
printk(KERN_NOTICE "%d < %d\n", fd_offset ,
bprm->inode->i_sb->s_blocksize);
/* ^^^ this line added by me... */
return -ENOEXEC;
}


Line added by me shows:

May 20 14:39:03 o68 kernel: 1024 < 2048

So my question is: what is on ? It is true: I changed block size of my
partition to 2048. But what does block size to a.out ?

What can I use to cenvert binary ?

Bartlomiej Czardybon
Silesian Technical University - Faculty of Computer Science