Toon posts:

[Freebsd] Nieuwe kernel hangt/reboot

Pagina: 1
Acties:

Verwijderd

Topicstarter
Hoi,

Ik ben een beetje aan het prutsen met freebsd en probeer momenteel de kernel naar mijn smaak te recompileren. Het probleem is dat mijn systeem (freebsd6.1, pc=goed) na het installeren van mijn kernel niet meer opstart. Het "Welcome to FreeBSD6!" menu doet het wel, ik kan ook booten met de GENERIC kernel, maar niet met mijn eigen. Het enige wat ik te zien krijg is "/" en dan start de computer opnieuw op.
Ik heb geprobeerd om zonder ACPI en in safe mode op te starten en een aantal mogelijkheden in de costum kernel hieronder er bij of af te halen. Helaas blijft de pc, hoe frustrerend ook, niet opstarten met mijn kernel.

de kernel config file
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
machine        i386
cpu             I686_CPU
ident          BORSPECIFIC

makeoptions     DEBUG=-g          # Build kernel with gdb(1) debug symbols


# use with network adress translation
options IPFIREWALL
options IPDIVERT

options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPFIREWALL_VERBOSE

# use with encypted disk partitions
options GEOM_BDE



# nesdefault settings minus non necessarily things
options          SCHED_4BSD         # 4BSD scheduler
options          PREEMPTION         # Enable kernel thread preemption
options          INET              # InterNETworking
options          INET6             # IPv6 communications protocols
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          MD_ROOT           # MD is a potential root device
options          CD9660            # ISO 9660 Filesystem
options          PROCFS            # Process filesystem (requires PSEUDOFS)
options          PSEUDOFS          # Pseudo-filesystem framework
options          GEOM_GPT          # GUID Partition Tables
options          COMPAT_43         # Compatible with BSD 4.3 [KEEP THIS!]
options          COMPAT_FREEBSD4   # Compatible with FreeBSD4
options      COMPAT_FREEBSD5   # Compatible with FreeBSD5 *
options          KTRACE            # ktrace(1) support
options          SYSVMSG           # SYSV-style message queues
options          SYSVSEM           # SYSV-style semaphores
options         _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options          KBD_INSTALL_CDEV  # install a CDEV entry in /dev
options          AHC_REG_PRETTY_PRINT     # Print register bitfields in debug
                                          # output.  Adds ~128k to driver.
options          AHD_REG_PRETTY_PRINT     # Print register bitfields in debug
                                          # output.  Adds ~215k to driver.
options     ADAPTIVE_GIANT      # Giant mutex adaptive *
device          apic               # I/O APIC *


device          pci
# ATA and ATAPI devices
device          ata
device          atadisk                 # ATA disk drives
device          ataraid                 # ATA RAID drives
device          atapicd                 # ATAPI CDROM 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          kbdmux        # keyboard multiplexer
device          vga        # VGA video card driver
device          agp
# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device          miibus     # MII bus support
device          ed         # NE[12]000, SMC Ultra, 3c503, DS8390 cards
device          rl         # RealTek 8129/8139
# Pseudo devices
device   loop          # Network loopback
device   random        # Entropy device
device   ether         # Ethernet support
device   gif           # IPv6 and IPv4 tunneling
device   faith         # IPv6-to-IPv4 relaying (translation)
device   bpf           # Berkeley packet filter

Verwijderd

boot kernel.old via command line option in boot menu en compile daarna gewoon GENERIC en begin opnieuw...stapje voor stapje dingen toevoegen / weg commenten..en steeds nieuwe kernel bouwen..zo heb je sneller overzicht wat je fout deed :)