Subject: Binpatching st_pool_size
To: None <port-atari@NetBSD.ORG>
From: Nat! <bsdnat@zumdick.rhein-main.de>
List: port-atari
Date: 10/04/1995 00:58:32
This is from Leo, I am just forwarding...

> 
> I've got a stupid little problem. I can't up the St_pool_size.
> What I have done so far is:
> 
> Copied the kernel "netbsd" onto my root partition
> 
> Copied "binpatch" into "/sbin"
> 
> > cd /
> > ls netbsd
> netbsd
> > /sbin/binpatch -l -s st_pool_size /netbsd
> Symbol not found
> > /sbin/binpatch -l -s St_pool_size /netbsd
> Symbol not found
> > /sbin/binpatch -l -s _st_pool_size /netbsd
> _st_pool_size(0x80ACE): 16367325623 (0x6467F139)
> 
> [ The values are from memory and therefore similiar to those 
>   I encounter in reality, but NOT exactly the same ] 
Try: /sbin/binpatch -l -o 8192 -s _st_pool_size /netbsd

I cannot recall exactly why the offset was needed. It had to do something
with the special way the netbsd executable was linked. This definitely
should be in the man-page of binpatch as the kernel is one of the mostly
patched executables I think.

Leo.


  
------------------"Bang that bit that doesn't bang"---------------

                 Yeah, money talks / ... I should know
                  Mine always says / 'Good bye'!
                                                    David Lee Roth