Hello,
My first day with a BSD system so.. be gentle please.
:)
I've installed FreeBSD 5.3, which i've downloaded from
net a few days ago. I've recompiled my kernel to make
my world spin. I've copied stable-supfile from
/usr/share/examples/cvsup to /root/ and did a cvsup
for that file. I've than tried to compile the kernel
after editing GENERIC (==KERNEL) in
/usr/src/sys/i386/conf if i remember correct. I've got
some unexpected error about a "unwind.h" missing file;
i think something is broke with this "stable" thing.
Take a look at files in
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/,
for example unwind-cxx.h which includes "unwind.h" not
; but there is no such file in that
directory. Also there are some references to
"bits/???.h" but also no directory "bits" there. I've
got the files from /usr/src/contrib/... but don't
really remember the exact path. So I've managed to
make buildkernel KERNCONF=GENERIC, make installkernel
KERNCONF=GENERIC.
One more thing: before copying that unwind.h, bits/..
files and make buildworkd I've upgraded compiler from
3.3 to 3.4 to see if it works, but it didn't.
Some places on the web stated that the problem could
be from optimization. I had CXXFLAGS=-O2 -pipe
-funrool-loops but i've commented that line in
make.conf.
I don't know if I've missed a step or something, but
if I did, please let me know.
Finally, make buildkernel KERNCONF.. , make
installkernel KERNCONF.. worked. After reboot
surprise, surprise.
I'll paste all the log I've got through "boot -v" (a
few lines on top missing, hope that is not a real
problem):
--
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: port 0xd800-0xd81f
irq 5 at device 7.3 on pc0uhci1: Reserved 0x20 bytes
for rid 0x20 type 4 at 0xd800
uhci1: [GIANT-LOCKED]
usb1: on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub1: 2 ports with 2 removable, self powered
pci0: at device 7.4 (no driver
attached)
pcm0: port
0xe400-0xe403,0xe000-0xe003,0xdc00-0xdcff irq 11 at
0pcm0: Reserved 0x100 bytes for rid 0x10 type 4 at
0xdc00
pcm0: [GIANT-LOCKED]
pcm0:
pcm0: Codec features headphone, 18 bit DAC, 18 bit
ADC, 5 bit master volume, Re7pcm0: Primary codec
extended features variable rate PCM, AMAP
pcm0: sndbuf_setmap 19a000, 1000; 0xc1066000 -> 19a000
pcm0: sndbuf_setmap 1dd000, 1000; 0xc1069000 -> 1dd000
rl0: Reserved 0x100 bytes for rid 0x10 type 4 at
0xe800
rl0: port 0xe800-0xe8ff
mem 0xe700-0xe7ff i0miibus0: on rl0
rlphy0: on miibus0
rlphy0: 10baseT, 10baseT-FDX, 100baseTX,
100baseTX-FDX, auto
rl0: bpf attached
rl0: Ethernet address: 00:40:f4:83:5a:2a
rl0: [MPSAFE]
fdc0: port 0x3f7,0x3f0-0x3f5
irq 6 drq 2 on acpi0
fdc0: ic_type 90 part_id 80
fdc0: [MPSAFE]
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: irq maps: 0x1 0x11 0x1 0x1
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff
irq 4 flags 0x10 on acpi0
sio0: type 16550A, console
sio1: irq maps: 0x1 0x9 0x1 0x1
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff
irq 3 on acpi0
sio1: type 16550A
unknown: not probed (disabled)
ppc0: using extended I/O port range
ppc0: EPP SPP
ppc0: port
0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: on ppc0
lpt0: on ppbus0
lpt0: Interrupt-driven port
unknown: not probed (disabled)
psmcpnp0: irq 12 on acpi0
atkbdc0: port 0x64,0x60
irq 1 on acpi0
atkbd0: irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0047
atkbd: keyboard ID 0x41ab (2)
kbdc: RESET_KBD return code:00fa
kbdc: RESET_KBD status:00aa
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x0,
flags:0x1d
atkbd0: [GIANT-LOCKED]
psm0: current command byte:0047
kbdc: TEST_AUX_PORT status:
kbdc: RESET_AUX return code:00fa
kbdc: RESET_AUX status:00aa
kbdc: RESET_AUX ID:
kbdc: RESET_AUX return code:00fa
kbdc: RESET_AUX status:00aa
kbdc: RESET_AUX ID:
psm: status 00 02 64
psm: status 00 00 64
psm: status 00 03 64
psm: status 00 03 64
psm: data 08 00 00
psm: status 00 02 64
psm0: irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3-00, 3 buttons
psm0: config:, flags:0008, packet size:4
psm0: syncmask:08, syncbits:00
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
ata: ata0 already exists; skipping it
ata: ata1 already exists; skipping it
atkbdc: atkbdc0 already exists; skipping it
fdc: fdc0 already exists; skipping it
ppc: ppc0 already exists; skipping it
sc: sc0 already exists; skipping it
sio: sio0 already exists; skipping it
sio: sio1 already exists; skipping it
vga: vga0 already exists; skipping it
Trying Read_Port at 203
Trying Read_Port at 243
Trying Read_Port at 283
Trying Read_Port at 2c3
Trying Read_Port at 303
Trying Read_Port at 343
Trying Read_Port at 383
Trying Read_Port at 3c3
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices