[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OpenBSD 3.3-current and i4b experiment
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, 14 May 2003, Thorsten Glaser wrote:
> begin electrogrammati mei
>
> >I will put the ISDN diffs on an ftp shortly (or tomorrow, since
>
> Well, I had absolutely no chance to test it, and probably
> some diffs are missing (at least adding the section-4 man
> pages to the Makefile), but I did my best to even sort the
> MirBSD stuff (RCS Id, etc.) out of the diff file (didn't
> care about the others, since it doesn't really matter there).
> I'm running a GENERIC kernel with ISDN enabled on my laptop
> since a month and more, fine - though I have no ISDN hardware
> to test. I'm trying to phone my friend to test, but no chance
> yet :(
> http://templeofhate.com/tglaser/diffs/isdn.patch.tgz
> RMD160 (isdn.patch.tgz) = ef4ad407418aaed422803cfc149e6f788469e085
I downloaded this and extracted it into a clean 3.3-current source
tree, then patched in the diff (which applied cleanly with only
some minor "offset" and one "fuzz" message, although the later
one only was in a header comment, most likely a leftover MirBSD
RCS id).
Then i regenerated the pcidevs as mentioned at the beginning
of the diff.
I configured the kernel with the following Kernel config file:
- --CUT--
#
# Modified from RAMDISK_CD
#
machine i386 # architecture, used by config; REQUIRED
option SCSITERSE
option APM_NOPRINT
option I586_CPU
maxusers 8 # estimated number of users
option TIMEZONE=0 # time zone to adjust RTC time by
option DST=0 # daylight saving time used by RTC
option FFS # UFS
option CD9660 # ISO 9660 + Rock Ridge file system
option FIFO # FIFOs; RECOMMENDED
option INET # IP + ICMP + TCP + UDP
option RAMDISK_HOOKS
option MINIROOTSIZE=20480
config bsd root on rd0a swap on rd0b
mainbus0 at root
bios0 at mainbus0
pcibios0 at bios0 flags 0x0000
isa0 at pcib?
pci* at mainbus0
pchb* at pci? dev ? function ? # PCI-Host bridges
pcib* at pci? dev ? function ? # PCI-ISA bridge
npx0 at isa? port 0xf0 irq 13 # math coprocessor
isadma0 at isa?
isapnp0 at isa?
pckbc0 at isa? # PC keyboard controller
pckbd* at pckbc? # PC keyboard
wskbd* at pckbd? console ?
vga* at pci? dev ? function ?
wsdisplay* at vga? console ?
# IDE controllers
pciide* at pci ? dev ? function ? flags 0x0000
# IDE hard drives
wd* at pciide? channel ? drive ? flags 0x0000
# FXP driver for config; to be removed in "final" kernel.
fxp* at pci? dev ? function ? # EtherExpress 10/100B ethernet
inphy* at mii? phy ? # Intel 82555 PHYs
# Wireless network cards
wi* at pci? dev ? function ? # WaveLAN IEEE 802.11DS
pseudo-device loop 1 # network loopback
pseudo-device bpfilter 1 # packet filter
pseudo-device rd 1 # ramdisk
## Additions:
# Pentium performance counters
pseudo-device pctr 1
# PC speaker and on-board soundcard
pcppi0 at isa?
sysbeep0 at pcppi?
midi* at pcppi?
spkr0 at pcppi?
wss* at isapnp?
audio* at wss?
# Mitsumi CDROM
mcd0 at isa? port 0x300 irq 11
# ISDN4BSD
option ISICISA_TEL_S0_16
isic0 at isa? port 0xf80 iomem 0xd0000 irq 10
# ISDN user land devices, drivers and pseudo-devices.
#
pseudo-device isdn # communication with userland daemon
#pseudo-device isdntrc 2 # userland driver to do ISDN tracing
pseudo-device isdnctl # userland driver to control the whole thing
pseudo-device isdnbchan 4 # userland driver for access to raw B channel
pseudo-device isdntel 2 # userland driver for telephony
options IPR_VJ # compile support for VJ compression
pseudo-device irip 2 # network driver for IP over raw HDLC ISDN
#pseudo-device ippp 2 # synchronous PPP over ISDN
- --CUT--
config(8) ran fine, so did "make depend". Compilation also worked
until link-time. Then i got the following error:
- --CUT--
mkdir -p /mnt/src/sys/arch/i386/compile/MOONGATE/lib/kern
making sure the kern library is up to date...
`libkern.o' is up to date.
making sure the compat library is up to date...
`libcompat.a' is up to date.
sh /mnt/src/sys/arch/i386/compile/MOONGATE/../../../../conf/newvers.sh
cc -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized -Wno-format -Wno-main -march=i486 -O2 -nostdinc -I. -I/mnt/src/sys/arch/i386/compile/MOONGATE/../../../../arch -I/mnt/src/sys/arch/i386/compile/MOONGATE/../../../.. -DSCSITERSE -DAPM_NOPRINT -DI586_CPU -DTIMEZONE="0" -DDST="0" -DFFS -DCD9660 -DFIFO -DINET -DRAMDISK_HOOKS -DMINIROOTSIZE="0x5000" -DISICISA_TEL_S0_16 -DIPR_VJ -D_KERNEL -Di386 -c vers.c
rm -f bsd
ld -Ttext 0xD0100120 -e start -N -x -o bsd ${SYSTEM_OBJ} vers.o
i4b_ipr.o: In function `iripattach':
i4b_ipr.o(.text+0x6c): warning: sprintf() is often misused, please use snprintf()
ioconf.o(.data+0x480): undefined reference to `isic_cd'
isac.o: In function `isic_isac_irq':
isac.o(.text+0x299): undefined reference to `isdn_layer2_trace_ind'
isic_l1.o: In function `isic_std_ph_data_req':
isic_l1.o(.text+0x11a): undefined reference to `isdn_layer2_trace_ind'
isic_l1.o(.text+0x1c6): undefined reference to `isdn_layer2_trace_ind'
isic_l1fsm.o: In function `F_AI8':
isic_l1fsm.o(.text+0x487): undefined reference to `isdn_layer2_trace_ind'
isic_l1fsm.o: In function `F_AI10':
isic_l1fsm.o(.text+0x537): undefined reference to `isdn_layer2_trace_ind'
isic_l1fsm.o(.text+0x5b4): more undefined references to `isdn_layer2_trace_ind' follow
i4b_ipr.o: In function `iripattach':
i4b_ipr.o(.text+0x159): undefined reference to `sl_compress_init'
i4b_ipr.o: In function `ipr_rx_data_rdy':
i4b_ipr.o(.text+0xc34): undefined reference to `sl_uncompress_tcp'
i4b_ipr.o(.text+0xc68): undefined reference to `sl_uncompress_tcp'
i4b_ipr.o: In function `ipr_tx_queue_empty':
i4b_ipr.o(.text+0xe54): undefined reference to `sl_compress_tcp'
*** Error code 1
Stop in /mnt/src/sys/arch/i386/compile/MOONGATE (line 297 of Makefile).
- --CUT--
The references to "sl_[un]compress*" vanish when i comment out
the VJ Header Compression for IPR.
Seems pretty much like the same problem i had with my own (failed) effort
of using the "old" patch for OpenBSD 2.8.
Is there anything wrong with my config file, or did i miss recreating
any important file ?
We're getting closer ;-)
Thanks,
- -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
iEYEARECAAYFAj7DoQAACgkQbQeoBktF+rcHAwCeO+5DC3ibEt5mQXDyuszkJ6Cx
NuIAniKlylCy/rao2htb5bhyC5VkUHBV
=dsmE
-----END PGP SIGNATURE-----