Re: ews4800mips ramdisk out of bounds

Martin Husemann <[email protected]>
Newsgroups gmane.os.netbsd.ports.mips.devel
Message-ID <[email protected]>
On Sun, Jun 14, 2020 at 07:40:31PM +0900, Izumi Tsutsui wrote:
> It's not ramdisk.fs embedded to RAMDISK kernel but
> compressed RAMDISK kernel embedded into bootloader,
> so my recent commits may help.

Duh, I always confuse those two.

> Is it also worth to print an actual "fs image" filename in
> error paths of mdsetimage(8)?

Yes please!

> For proplib, it looks the only user is src/sbin/fsck/partutil.c
> (I'm not sure what's "MD_MAY_SWAP_TO" option in sysinst though)
> so it might be possible to have pre-proplib (without DIOCGDISKINFO)
> version in src/distrib/x_fsck etc.
>  https://mail-index.netbsd.org/source-changes/2009/06/05/msg221973.html
>  https://mail-index.netbsd.org/source-changes/2009/06/05/msg221973.html

That is used to avoid swap partitions on SD cards for evbarm mostly - I'll
have a look at somthing that could be easily libhack'd (or #ifndef SMALL'd).

Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.