installworld bricht ab

rakso

Well-Known Member
hallo! am besten schnell antworten, ich habe noch die LARA von hetzner -. also wenn was schief geht.. dann am besten jetzt noch.

den kernel habe ich neu gebaut und installiert - buildworld lief auch durch. aber jetzt das hier:


install -o root -g wheel -m 444 boot0 /boot/boot0sio
===> sys/boot/i386/btx (install)
===> sys/boot/i386/btx/btx (install)
===> sys/boot/i386/btx/btxldr (install)
===> sys/boot/i386/btx/lib (install)
===> sys/boot/i386/boot2 (install)
ls: not found
arithmetic expression: syntax error: "7680-"
*** Error code 2

Stop in /usr/src/sys/boot/i386/boot2.
*** Error code 1

Stop in /usr/src/sys/boot/i386.
*** Error code 1

Stop in /usr/src/sys/boot.
*** Error code 1

Stop in /usr/src/sys.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

hier ists ähnlich, aber keine lösung. date/time passt bei mir.
http://unix.derkeiler.com/Mailing-Lists/FreeBSD/stable/2006-09/msg00410.html

was sucht das system noch in i386 ?? ist AMD64.

Gruß rakso


edit: haber eine antwort gefunden:

> Why i386 here: "boot/i386/boot2/"?
>
amd64 shares the boot code with i386.


noch ein fehler - zfs - brauch ich doch garnicht
Code:
btxld: zfsboot.ldr: Invalid argument
*** Error code 2

Stop in /usr/src/sys/boot/i386/zfsboot.
*** Error code 1

Stop in /usr/src/sys/boot/i386.
*** Error code 1

Stop in /usr/src/sys/boot.

DAMIT HÄNGT JETZT AUCH BUILDWORLD
 
Zuletzt bearbeitet:
meine kernelconfig

Code:
cpu             HAMMER
ident           HETZNERAMD
makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols
options         SCHED_ULE               # ULE scheduler
options         PREEMPTION              # Enable kernel thread preemption
options         INET                    # InterNETworking
options         INET6                   # IPv6 communications protocols
options         SCTP                    # Stream Control Transmission Protocol
options         FFS                     # Berkeley Fast Filesystem
options         SOFTUPDATES             # Enable FFS soft updates support
options         UFS_ACL                 # Support for access control lists
options         UFS_DIRHASH             # Improve performance on big directories
options         UFS_GJOURNAL            # Enable gjournal-based UFS journaling
options         MD_ROOT                 # MD is a potential root device
options         NFS_ROOT                # NFS usable as /, requires NFSCLIENT
options         CD9660                  # ISO 9660 Filesystem
options         PROCFS                  # Process filesystem (requires PSEUDOFS)
options         PSEUDOFS                # Pseudo-filesystem framework
options         GEOM_PART_GPT           # GUID Partition Tables.
options         GEOM_LABEL              # Provides labelization
options         COMPAT_43TTY            # BSD 4.3 TTY compat [KEEP THIS!]
options         COMPAT_IA32             # Compatible with i386 binaries
options         COMPAT_FREEBSD4         # Compatible with FreeBSD4
options         COMPAT_FREEBSD5         # Compatible with FreeBSD5
options         COMPAT_FREEBSD6         # Compatible with FreeBSD6
options         KTRACE                  # ktrace(1) support
options         STACK                   # stack(9) support
options         SYSVSHM                 # SYSV-style shared memory
options         SYSVMSG                 # SYSV-style message queues
options         SYSVSEM                 # SYSV-style semaphores
options         P1003_1B_SEMAPHORES     # POSIX-style semaphores
options         _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
options         ADAPTIVE_GIANT          # Giant mutex is adaptive.
options         STOP_NMI                # Stop CPUS using NMI instead of IPI
options         AUDIT                   # Security event auditing

# Make an SMP-capable kernel by default
options         SMP                     # Symmetric MultiProcessor Kernel

# CPU frequency control
device          cpufreq

# Bus support.
device          acpi
device          pci
device          ata
device          atadisk         # ATA disk drives
device          ataraid         # ATA RAID drives
device          atapicd         # ATAPI CDROM drives
device          atapifd         # ATAPI floppy drives
device          atapist         # ATAPI tape drives
options         ATA_STATIC_ID   # Static device numbering

# atkbdc0 controls both the keyboard and the PS/2 mouse
device          atkbdc          # AT keyboard controller
device          atkbd           # AT keyboard
device          psm             # PS/2 mouse

device          kbdmux          # keyboard multiplexer

device          vga             # VGA video card driver

device          sc

device          agp             # support several AGP chipsets


# Serial (COM) ports
device          sio             # 8250, 16[45]50 based serial ports
device          uart            # Generic UART driver


device          miibus          # MII bus support
device          re              # RealTek 8139C+/8169/8169S/8110S

device          loop            # Network loopback
device          random          # Entropy device
device          ether           # Ethernet support
device          sl              # Kernel SLIP
device          ppp             # Kernel PPP
device          tun             # Packet tunnel.
device          pty             # Pseudo-ttys (telnet etc)
device          md              # Memory "disks"
device          gif             # IPv6 and IPv4 tunneling
device          faith           # IPv6-to-IPv4 relaying (translation)
device          firmware        # firmware assist module
device          bpf             # Berkeley packet filter



# firewall
device pf
device pflog
device pfsync
options         ALTQ
options         ALTQ_CBQ        # Class Bases Queuing (CBQ)
options         ALTQ_RED        # Random Early Detection (RED)
options         ALTQ_RIO        # RED In/Out
options         ALTQ_HFSC       # Hierarchical Packet Scheduler (HFSC)
options         ALTQ_PRIQ       # Priority Queuing (PRIQ)
options         ALTQ_NOPCC      # Wird von SMP ben\xf6tigt
 
In welcher Reihenfolge bist du denn vorgegangen. Aus was für einer Umgebung installierst du da gerade?
 
ich bin mir nichtmehr ganz sicher, aber ich glaube so:

1. world build/install (es lief beim 1.mal durch..)
2. kernel build/install,reboot
3. dann wollte ich mit ezjails jails bauen, schlägt nun fehl

was meinst du mit umgebung? hetzner eq4, 7.2-stable
 
Hast Du denn
  1. /usr/src per csup gezogen?
  2. den Inhalt von /usr/obj vor dem Bauen gelöscht?
  3. die Reihenfolge aus dem Handbuch beachtet (buildworld - buildkernel - installkernel - installworld)?
  4. mal versucht, ob Du GENERIC übersetzen kannst? => falls ja, liegt's an Deiner Konfiguration...
 
ich denke dass ichs auchs o gemacht habe. werde aber heute abend wenn ich daheim bin, das nochmals exakt deiner reihenfolge nach machen. evtl einfach das komplette /usr/src löschen und mit csup neu ziehen.

melde mich dann wieder.
 
jo. alles frisch, und eskommt

Code:
boot/i386/zfsboot/../../zfs  -I/usr/src/sys/boot/i386/zfsboot/../../../cddl/boot/zfs  -I/usr/src/sys/boot/i386/zfsboot/../btx/lib -I.  -I/usr/src/sys/boot/i386/zfsboot/../boot2  -Wall -Waggregate-return -Wbad-function-cast -Wcast-align  -Wmissing-declarations -Wmissing-prototypes -Wnested-externs  -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings  -Winline --param max-inline-insns-single=100 -ffreestanding -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -m32 -march=i386  -S -o zfsboot.s.tmp /usr/src/sys/boot/i386/zfsboot/zfsboot.c
In file included from /usr/src/sys/boot/i386/zfsboot/zfsboot.c:276:
/usr/src/sys/boot/i386/zfsboot/../../zfs/zfsimpl.c: In function 'vdev_init_from_nvlist':
/usr/src/sys/boot/i386/zfsboot/../../zfs/zfsimpl.c:474: warning: assignment discards qualifiers from pointer target type
/usr/src/sys/boot/i386/zfsboot/../../zfs/zfsimpl.c:476: warning: assignment discards qualifiers from pointer target type
sed -e '/align/d' -e '/nop/d' < zfsboot.s.tmp > zfsboot.s
rm -f zfsboot.s.tmp
as  --32 -o zfsboot.o zfsboot.s
cc -Os -g  -fno-guess-branch-probability  -fomit-frame-pointer  -fno-unit-at-a-time  -mno-align-long-strings  -mrtd  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3  -DBOOT2  -DFLAGS=0x80  -DSIOPRT=0x3f8  -DSIOFMT=0x3  -DSIOSPD=9600  -I/usr/src/sys/boot/i386/zfsboot/../../zfs  -I/usr/src/sys/boot/i386/zfsboot/../../../cddl/boot/zfs  -I/usr/src/sys/boot/i386/zfsboot/../btx/lib -I.  -I/usr/src/sys/boot/i386/zfsboot/../boot2  -Wall -Waggregate-return -Wbad-function-cast -Wcast-align  -Wmissing-declarations -Wmissing-prototypes -Wnested-externs  -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings  -Winline --param max-inline-insns-single=100 -ffreestanding -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -m32 -march=i386  -c /usr/src/sys/boot/i386/zfsboot/../boot2/sio.S
ld -static -N --gc-sections -nostdlib -m elf_i386_fbsd -Ttext 0x2000 -o zfsboot.out /usr/obj/usr/src/sys/boot/i386/zfsboot/../btx/lib/crt0.o zfsboot.o sio.o /usr/obj/usr/src/tmp/usr/lib/libstand.a
objcopy -S -O binary zfsboot.out zfsboot.bin
btxld -v -E 0x2000 -f bin -b /usr/obj/usr/src/sys/boot/i386/zfsboot/../btx/btx/btx -l zfsboot.ldr  -o zfsboot.ld -P 1 zfsboot.bin
btxld: zfsboot.ldr: Invalid argument
*** Error code 2

Stop in /usr/src/sys/boot/i386/zfsboot.
*** Error code 1

Stop in /usr/src/sys/boot/i386.
*** Error code 1

Stop in /usr/src/sys/boot.
*** Error code 1

Stop in /usr/src/sys.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
.
 
Zuletzt bearbeitet:
Ich habe das Gefühl es stimmt etwas mit dem System nicht von dem aus du baust. Hast du schon einen neuen Kernel installiert? Wenn ja, steig noch mal auf den alten um, so dass Welt und Kernel zusammenpassen.
 
jo ,kernel war neuer.
jetzt habe ich den rat auf der mailingliste befolgt:

Simply update btxld first:
cd /usr/src/usr.sbin/btxld && make install clean
then you can buildworld

http://www.mail-archive.com/freebsd-stable@freebsd.org/msg103776.html

aber hey das kann doch nicht sein??? woanders bei nem ähnlichen bzw gleichen problem hieß es, dass der mirror out-of-date ist. ich benutze =cvsup4.de.FreeBSD.org

meine version entspricht soger der, der es sollte:
"$FreeBSD: src/usr.sbin/btxld/btxld.c,v 1.10.2.1 2009/05/24 20:49:22 kmacy Exp $";

http://www.mail-archive.com/freebsd-stable@freebsd.org/msg103776.html


und hier gibts ein patch auf v 1.21.2.2 2009/05/23

hääää? älteren datums???
http://www.mail-archive.com/freebsd-stable@freebsd.org/msg103748.html


es klappt zwar, aber das mit den versionen macht mich nun stutzig..
benutze: *default release=cvs tag=RELENG_7

lieber mal den mirror wechseln?

Code:
--------------------------------------------------------------
>>> World build completed on Mon Jul 20 19:29:00 CEST 2009
--------------------------------------------------------------
1966.357u 200.382s 35:51.34 100.7%      6584+2117k 1948+6990io 1382pf+0w
 
auch cvsup2.freebsd.org hat nichts anderes. so gings jetz jedenfalls - build - / installworld und erfolgreicher reboot.
 
Zurück
Oben