> Hello,
> My first day with a BSD system so.. be gentle please.
> :)
You have done something weird for sure...
1. unwind.h is only found in gcc and the kernel sources for ia64.
2. the FreeBSD kernel is pure C, so it does not use libstdc++.
3. 5.3 contains gcc version 3.4.2 as the default compiler.
Some common suggestions now:
1. it is highly recommended to keep the world and the kernel in sync (you can
find the proper order of upgrade in /usr/src/Makefile comments).
2. the only safe compiler options for kernel/world builds are -O -pipe.
3. use security/errata branch (RELENG_5_3) for work since RELENG_5 can sometimes
be broken during large commits.
> 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
> <unwind.h>; 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: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> 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: <bridge, PCI-unknown> at device 7.4 (no driver
> attached)
> pcm0: <VIA VT82C686A> 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: <ICEnsemble ICE1232 AC97 Codec (id > 0x49434511)>
> 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: <RealTek 8139 10/100BaseTX> port 0xe800-0xe8ff
> mem 0xe7000000-0xe70000ff i0miibus0: <MII bus> on rl0
> rlphy0: <RealTek internal media interface> 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: <floppy drive controller> 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: <Standard parallel printer port> port
> 0x378-0x37f irq 7 on acpi0
> ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
> ppbus0: <Parallel port bus> on ppc0
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> unknown: not probed (disabled)
> psmcpnp0: <PS/2 mouse port> irq 12 on acpi0
> atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60
> irq 1 on acpi0
> atkbd0: <AT Keyboard> 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:0x1d0000
> atkbd0: [GIANT-LOCKED]
> psm0: current command byte:0047
> kbdc: TEST_AUX_PORT status:0000
> kbdc: RESET_AUX return code:00fa
> kbdc: RESET_AUX status:00aa
> kbdc: RESET_AUX ID:0000
> kbdc: RESET_AUX return code:00fa
> kbdc: RESET_AUX status:00aa
> kbdc: RESET_AUX ID:0000
> 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: <PS/2 Mouse> irq 12 on atkbdc0
> psm0: [GIANT-LOCKED]
> psm0: model IntelliMouse, device ID 3-00, 3 buttons
> psm0: config:00000000, flags:00000008, 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
> pmtimer0 on isa0
> orm0: <ISA Option ROM> at iomem 0xc0000-0xcbfff on
> isa0
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x100>
> sc0: fb0, kbd0, terminal emulator: sc (syscons
> terminal)
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem
> 0xa0000-0xbffff on isa0
> fb0: vga0, vga, type:VGA (5), flags:0x7007f
> fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
> fb0: init mode:24, bios mode:3, current mode:24
> fb0: window:0xc00b8000 size:32k gran:32k, buf:0
> size:32k
> VGA parameters upon power-up
> 50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81
> bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96
> b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
> 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
> VGA parameters in BIOS for mode 24
> 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81
> bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96
> b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
> 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
> EGA/VGA parameters to be used for mode 24
> 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81
> bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96
> b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
> 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
> adv0: not probed (disabled)
> aha0: not probed (disabled)
> aic0: not probed (disabled)
> bt0: not probed (disabled)
> cs0: not probed (disabled)
> ed0: not probed (disabled)
> fe0: not probed (disabled)
> ie0: not probed (disabled)
> lnc0: not probed (disabled)
> pcic0 failed to probe at port 0x3e0 iomem 0xd0000 on
> isa0
> pcic1: not probed (disabled)
> sio2: not probed (disabled)
> sio3: not probed (disabled)
> sn0: not probed (disabled)
> vt0: not probed (disabled)
> isa_probe_children: probing PnP devices
> Device configuration finished.
> Timecounter "TSC" frequency 1329066934 Hz quality 800
> Timecounters tick every 10.000 msec
> lo0: bpf attached
> cpu0: set speed to 100.0%
> acpi_cpu: throttling enabled, 2 steps (100% to 50.0%),
> currently 100.0%
> ata0-master: pio=0x0c wdma=0x22 udma=0x45 cable=80pin
> ata0-master: setting PIO4 on VIA 82C686B chip
> ata0-master: setting UDMA100 on VIA 82C686B chip
> ad0: <ST340810A/3.39> ATA-6 disk at ata0-master
> ad0: 38166MB (78165360 sectors), 77545 C, 16 H, 63 S,
> 512 B
> ad0: 16 secs/int, 1 depth queue, UDMA100
> ata1-master: pio=0x0c wdma=0x22 udma=0x42 cable=40pin
> ata1-master: setting PIO4 on VIA 82C686B chip
> ata1-master: setting UDMA33 on VIA 82C686B chip
> acd0: <ASUS CRW-5232AS/1.0> CDRW drive at ata1 as
> master
> acd0: read 8958KB/s (8958KB/s) write 8958KB/s
> (8958KB/s), 2048KB buffer, UDMA33
> acd0: Reads: CDR, CDRW, CDDA stream, packet
> acd0: Writes: CDR, CDRW, test write, burnproof
> acd0: Audio: play, 255 volume levels
> acd0: Mechanism: ejectable tray, unlocked
> acd0: Medium: no/blank disc
> GEOM: new disk ad0
> [0] f:00 typ:131 s(CHS):0/1/1 e(CHS):254/254/63 s:63
> l:4096512
> [1] f:00 typ:131 s(CHS):255/0/1 e(CHS):1023/254/63
> s:4096575 l:18362295
> [2] f:00 typ:15 s(CHS):1023/255/63 e(CHS):1023/254/63
> s:22458870 l:30137940
> [3] f:80 typ:165 s(CHS):1023/255/63 e(CHS):1023/254/63
> s:52596810 l:25559415
> GEOM: Configure ad0s1, start 32256 length 2097414144
> end 2097446399
> GEOM: Configure ad0s2, start 2097446400 length
> 9401495040 end 11498941439
> GEOM: Configure ad0s3, start 11498941440 length
> 15430625280 end 26929566719
> GEOM: Configure ad0s4, start 26929566720 length
> 13086420480 end 40015987199
> [0] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
> [1] f:00 typ:5 s(CHS):261/0/1 e(CHS):292/254/63 s:0
> l:514080
> [2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
> [3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
> GEOM: Configure ad0s2s2, start 0 length 263208960 end
> 263208959
> MBREXT Slice 5 on ad0s3:
> [0] f:00 typ:130 s(CHS):1023/254/63 e(CHS):1023/254/63
> s:63 l:417627
> [1] f:00 typ:5 s(CHS):1023/254/63 e(CHS):1023/254/63
> s:417690 l:4160835
> GEOM: Configure ad0s5, start 32256 length 213825024
> end 213857279
> MBREXT Slice 6 on ad0s3:
> [0] f:00 typ:131 s(CHS):1023/254/63 e(CHS):1023/254/63
> s:63 l:4160772
> [1] f:00 typ:5 s(CHS):1023/254/63 e(CHS):1023/254/63
> s:4578525 l:25559415
> GEOM: Configure ad0s6, start 213889536 length
> 2130315264 end 2344204799
> MBREXT Slice 7 on ad0s3:
> [0] f:00 typ:131 s(CHS):1023/254/63 e(CHS):1023/254/63
> s:63 l:25559352
> [1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
> GEOM: Configure ad0s7, start 2344237056 length
> 13086388224 end 15430625279
> [0] f:00 typ:130 s(CHS):1023/254/63 e(CHS):1023/254/63
> s:63 l:417627
> [1] f:00 typ:5 s(CHS):1023/254/63 e(CHS):1023/254/63
> s:417690 l:4160835
> [2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
> [3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
> GEOM: Configure ad0s3s1, start 32256 length 213825024
> end 213857279
> GEOM: Configure ad0s3s2, start 213857280 length
> 2130347520 end 2344204799
> [0] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
> [1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
> [2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
> [3] f:80 typ:165 s(CHS):0/0/1 e(CHS):1023/254/63 s:0
> l:50000
> GEOM: Configure ad0s4a, start 0 length 268435456 end
> 268435455
> GEOM: Configure ad0s4b, start 268435456 length
> 359464960 end 627900415
> GEOM: Configure ad0s4c, start 0 length 13086420480 end
> 13086420479
> GEOM: Configure ad0s4d, start 627900416 length
> 268435456 end 896335871
> GEOM: Configure ad0s4e, start 896335872 length
> 268435456 end 1164771327
> GEOM: Configure ad0s4f, start 1164771328 length
> 11921649152 end 13086420479
> MBREXT Slice 5 on ad0s2s2:
> [0] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
> [1] f:00 typ:5 s(CHS):261/0/1 e(CHS):292/254/63 s:0
> l:514080
> MBREXT Slice 5 on ad0s2s2:
> [0] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
> [1] f:00 typ:5 s(CHS):261/0/1 e(CHS):292/254/63 s:0
> l:514080
> MBREXT Slice 5 on ad0s2s2:
> [0] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
> [1] f:00 typ:5 s(CHS):261/0/1 e(CHS):292/254/63 s:0
> l:514080
> MBREXT Slice 5 on ad0s2s2:
> [0] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
> [1] f:00 typ:5 s(CHS):261/0/1 e(CHS):292/254/63 s:0
> l:514080
> MBREXT Slice 5 on ad0s2s2:
> [0] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
> [1] f:00 typ:5 s(CHS):261/0/1 e(CHS):292/254/63 s:0
> l:514080
> [...]
>
> ...and on, and on.
>
> I am in linux now so i'll print some information about
> my harddisk:
> ----------------
> Disk /dev/hda: 40.0 GB, 40020664320 bytes
> 255 heads, 63 sectors/track, 4865 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
> Device Boot Start End Blocks Id
> System
> /dev/hda1 1 255 2048256 83
> Linux
> /dev/hda2 256 1398 9181147+ 83
> Linux
> /dev/hda3 1399 3274 15068970 f
> W95 Ext'd (LBA)
> /dev/hda4 * 3275 4865 12779707+ a5
> FreeBSD
> /dev/hda5 1399 1424 208813+ 82
> Linux swap / Solaris
> /dev/hda6 1425 1683 2080386 83
> Linux
> /dev/hda7 1684 3274 12779676 83
> Linux
>
> -----------------------
> (/dev/hda3 holds hda5,hda6,hda7)
>
> WOW!! You are here! I really appreciate any help;
> being just a few days in FreeBSD and getting this kind
> of problems doesn't make me feel too good.
> Also, if you think no one is going to help me fix my
> problem here please give me some directions of where
> to go. People tend not to like this long messages and
> usually avoid them.
>
> Best regards,
> andrei
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - You care about security. So do we.
> http://promotions.yahoo.com/new_mail
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to
"freebsd-stable-unsubscribe@freebsd.org"
>