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

Re: OpenBSD 3.3-current and i4b experiment / (un)timeout problem



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi !

On Tue, 13 May 2003, Thorsten Glaser wrote:

> You can look at http://mirbsd.bsdadvocacy.org/ to get
> the tree via anoncvs and pull out the changes (mostly
> sys/netisdn, sys/*/files.*, sys/dev/*,
> sys/kern/kern_timeout.c) or just try if MirBSD works
> for you.

This was the first time i ever heared of MirBSD. I checked it out but 
could not find very much information about it. But i read on the webpage 
that W^X is currently disabled, so i decided to take the other aproach of 
just extracting the ISDN part.

(just being curious: What is the focus of MirBSD? I read it is optimized
for athlons, but what is the focus of the additions/driver patches ? While 
putting together my patch (see below), i found different versions of SCSI 
and LPT drivers in the MirBSD tree. What are those changes for?)

> When I get the time, I will publish a diff for OpenBSD,
> but don't expect it before autumn...

I have put together a diff file for OpenBSD 3.3-current which should 
include all of the isdn kernel stuff (no isdnd yet, but i can probably 
just use the checked-out version from MirBSD).

I've put up a copy of my patch at

http://w3studi.informatik.uni-stuttgart.de/~porlrt/obsd-isdn.diff.gz

Unfortunatelly i've run
into one last(?) small(?) problem: When running config(8) on my
kernel, i get the following errors (also available under the same
url as above, replacing "obsd-isdn.diff.gz" with "obsd-errors") :

../../../../dev/pci/files.pci:336: attaching undefined device `isic'
../../../../dev/pci/files.pci:341: undefined attribute `isdndev'
../../../../dev/pci/files.pci:341: undefined attribute `passive_isdn'
../../../../dev/pci/files.pci:341: undefined attribute `nisac'
../../../../dev/pci/files.pci:345: undefined attribute `isdndev'
../../../../dev/pci/files.pci:345: undefined attribute `passive_isdn'
../../../../dev/pci/files.pci:345: undefined attribute `nisacsx'
../../../../dev/pci/files.pci:350: undefined attribute `isdndev'
../../../../dev/pci/files.pci:350: undefined attribute `passive_isdn'
../../../../dev/isa/files.isa:384: attaching undefined device `isic'
../../../../dev/isa/files.isa:386: attaching undefined device `daic'
../../../../dev/isa/files.isapnp:70: attaching undefined device `isic'
../../../../arch/i386/conf/files.i386: device `isic' used but not defined
../../../../arch/i386/conf/files.i386: device `daic' used but not defined
*** Stop.

I think it must be a very minor problem, but found nothing appropriate 
with google (only one request for help without any answers on an old
mailing list archive). Could you please look at the patch and tell
me where i have to "define" those devices and attributes ? It must
be a very small change i missed to pull out of the MirBSD src/sys tree.
Unfortunatelly, as i already mentioned, i'm not really a kernel developer, 
so maybe i should not be fiddling with this kind of stuff in the first 
place. But then, i seem to be *this close* to get ISDN to work on 
3.3-current, so i cannot possibly give up now ;-)

> If it "works" for you (bsd.rd has ISDN support), please
> tell me so. (hint: "/dev/MAKEDEV isdns" is needed, they
> are not automatically created for a reason).

I'm not that far yet, but i will surely report success once it's
there ;-)

Thank you very much for everything !

- -Robert

- --

"They that can give up essential liberty
 to obtain a little temporary safety
 won't have, nor do they deserve, either one."
		
			-Benjamin Franklin

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAj7CoxUACgkQbQeoBktF+rckBQCeNPZyg1KyHpIt381xl3EzaN6b
LHgAn1IPQlzHCqf2GPs7gxmE9BBcwMfM
=eMJM
-----END PGP SIGNATURE-----