NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/55038 - SIGSEGV while running ls-0.9 image
The following reply was made to PR kern/55038; it has been noted by GNATS.
From: Christos Zoulas <christos%zoulas.com@localhost>
To: Paul Goyette <paul%whooppee.com@localhost>
Cc: gnats-bugs%netbsd.org@localhost,
christos%netbsd.org@localhost
Subject: Re: kern/55038 - SIGSEGV while running ls-0.9 image
Date: Sat, 7 Mar 2020 14:58:18 -0500
--Apple-Mail=_8E1DFF1B-5551-47ED-A5EA-A2667EB4F126
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=us-ascii
Good! We need a hook and a function I think.
christos
> On Mar 7, 2020, at 2:56 PM, Paul Goyette <paul%whooppee.com@localhost> wrote:
>
> I think I've found the problem!
>
> See amd64/amd64/trap.c around line 344 (especially, see the comment!).
>
> Basically, if I include compat_10 in the kernel it works fine; if I
> don't include it, ls gets a SegFault.
>
> I guess I need to split this code out into a separate source file, and
> build it as part of a (new) netbsd32_compat_10 module.
>
>
> +--------------------+--------------------------+-----------------------+
> | Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
> | (Retired) | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost |
> | Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost |
> +--------------------+--------------------------+-----------------------+
--Apple-Mail=_8E1DFF1B-5551-47ED-A5EA-A2667EB4F126
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename=signature.asc
Content-Type: application/pgp-signature;
name=signature.asc
Content-Description: Message signed with OpenPGP
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
iF0EARECAB0WIQS+BJlbqPkO0MDBdsRxESqxbLM7OgUCXmP82gAKCRBxESqxbLM7
OhZvAJ4rIEkP9arJRk7bCnIrQQjzjuyU0QCgmHl+ZiNW/UkNDhD1m3etgdyV2Pc=
=3/+r
-----END PGP SIGNATURE-----
--Apple-Mail=_8E1DFF1B-5551-47ED-A5EA-A2667EB4F126--
Home |
Main Index |
Thread Index |
Old Index