DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Installation and Upgrading

FreeBSD Installation and Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
Old 10th January 2010
FreeBee FreeBee is offline
Real Name: A name is just a word or a label, not really me!
Port Guard
 
Join Date: Jan 2010
Location: My own head.
Posts: 39
Thanked 0 Times in 0 Posts
Question

Quote:
If I would want a smaller kernel with ath support compiled in, I would start by just adding the ath stuff in a fresh kernel config.

If that works fine, then I would remove kernel support for network interface cards I don't and never will have. Then I would use this kernel for a while and see how that goes.
OK. I'm going to try that. I can't wait to see the result .

What I'm actually doing right now is this: first of all I didn't change anything yet, as far as networking drivers are concerned (all of the necessary ath stuff is in GENERIC). I only added this:

Code:
cpu I686_CPU
ident GENERIX
...
options VESA
options SC_PIXEL_MODE
Let's see what happens. Here are the results:

Kernel hang and complete system lock up at:

Quote:
ath0: hardware error; resetting
ath0: 0x01181300 0x00000000 0x00000000, 0x00000000 0x00000000 0x00000000
Very strange. The GENERIC kernel that is automatically being installed during a minimal install of RELENG_8 doesn't do this.
Reply With Quote
Old 10th January 2010
FreeBee FreeBee is offline
Real Name: A name is just a word or a label, not really me!
Port Guard
 
Join Date: Jan 2010
Location: My own head.
Posts: 39
Thanked 0 Times in 0 Posts
Default

I'm going to

Code:
# make buildworld
# make buildkernel
Reply With Quote
Old 10th January 2010
FreeBee FreeBee is offline
Real Name: A name is just a word or a label, not really me!
Port Guard
 
Join Date: Jan 2010
Location: My own head.
Posts: 39
Thanked 0 Times in 0 Posts
Default

I now tried to simply build a new kernel without changing anything in the GENERIC config file. That results in my system hanging during the boot process at this point:

Quote:
wlan0: Ethernet address: 00:c0: ...
Starting wpa_supplicant
So there must be a difference between the GENERIC kernel that comes with the minimal install and the kernel that is created by the GENERIC config file.
Reply With Quote
Old 10th January 2010
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,135
Thanked 182 Times in 149 Posts
Default

There is file called /usr/src/UPDATING , which you are supposed to read before
rebuilding your system from updated source code.

Compare the steps you have taken with those in
http://www.freebsd.org/doc/en_US.ISO...makeworld.html
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
Old 10th January 2010
FreeBee FreeBee is offline
Real Name: A name is just a word or a label, not really me!
Port Guard
 
Join Date: Jan 2010
Location: My own head.
Posts: 39
Thanked 0 Times in 0 Posts
Default

FYI: prior to "make buildworld" I first tried to only rebuild the kernel using an unchanged GENERIC config file.
Reply With Quote
Old 10th January 2010
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,135
Thanked 182 Times in 149 Posts
Default

I am not sure whether you updated your source code or system..
But in case you did this, either through freebsd-update or by fetching/updating the source code, things could be out of sync.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
Old 10th January 2010
FreeBee FreeBee is offline
Real Name: A name is just a word or a label, not really me!
Port Guard
 
Join Date: Jan 2010
Location: My own head.
Posts: 39
Thanked 0 Times in 0 Posts
Default

In the mean time I have installed a new minimal system and then I updated src and ports. What do want me to try now? Should I install the minimal system once more without updating src and ports and then rebuild the kernel using the GENERIC config file?
Reply With Quote
Old 10th January 2010
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,135
Thanked 182 Times in 149 Posts
Default

Just read http://www.freebsd.org/doc/en_US.ISO...makeworld.html and follow the steps.

IIRC the last time I recompiled a FreeBSD kernel was for adding in ISDN support on FreeBSD 3.4. In those days I printed out those chapters from the FBSD handbook. You didn't want to reread those pages with a 14k4 modem with phone costs of 15 cents each 45 seconds.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
Old 10th January 2010
FreeBee FreeBee is offline
Real Name: A name is just a word or a label, not really me!
Port Guard
 
Join Date: Jan 2010
Location: My own head.
Posts: 39
Thanked 0 Times in 0 Posts
Default

I already practiced rebuilding world and that went fine but in the mean time I simply installed a new minimal system. Need I rebuild world every time prior to building a new kernel?

Snappen we elkaar wel? Je moet toch src updaten meteen nadat je een "minimal install" hebt uitgevoerd want anders heb je toch geen /usr/src/sys/i386/conf ?
Reply With Quote
Old 10th January 2010
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,135
Thanked 182 Times in 149 Posts
Default

There is a difference between installing the source code and updating.

If you install the source code as part of the minimal install, you will have the exact source code that was used to build your minimal system. Then you simple can compile a custom kernel .

If you installed the source code and then updated with c(v)sup or whatever, you will have source code incorporating changes made after the release of your minimal install.
In this case you will have to read that UPDATING file and make buildworld before compiling the kernel.
I would do the GENERIC kernel first, and just follow the remainder of the steps outlined in chapter 24 of the FreeBSD handbook.
This will result in a system where the source code and the binaries are in sync again. That is the moment where you can compile your custom kernel. Capice ?

There is no secret knowledge, which only the initiated receive from the FreeBSD high priests. It is all written down in the handbook.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
Old 10th January 2010
FreeBee FreeBee is offline
Real Name: A name is just a word or a label, not really me!
Port Guard
 
Join Date: Jan 2010
Location: My own head.
Posts: 39
Thanked 0 Times in 0 Posts
Talking Success!

Ah, I finally succeeded!

I rebuilt my kernel with a completely customized config file but I now used the installed src that is part of the minimal install and that's what I did wrong all previous times.

I learned a lot the passed couple of days and I'm beginning to like FreeBSD more and more. I can see why people prefer it to GNU/Linux.

I now have a nice 1280 x 800 resolution in text mode with wireless networking.
Reply With Quote
Old 10th January 2010
FreeBee FreeBee is offline
Real Name: A name is just a word or a label, not really me!
Port Guard
 
Join Date: Jan 2010
Location: My own head.
Posts: 39
Thanked 0 Times in 0 Posts
Talking Working 8-RELEASE laptop kernel config / diff -u

Laptop: Fujitsu Siemens Amilo L 7310 MCN

Diff -u 'GENERIC' 'LAPKERN'

Quote:
Copyright (c) 1992-2009 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.0-RELEASE #0: Sun Jan 10 17:12:37 CET 2010
me@FreeBee.something.nl:/usr/obj/usr/src/sys/LAPKERN
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Celeron(R) M processor 1.50GHz (1492.69-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x6d8 Stepping = 8
Features=0xafe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE ,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,AC PI,MMX,FXSR,SSE,SSE2,SS,TM,PBE>
real memory = 536870912 (512 MB)
avail memory = 450084864 (429 MB)
ACPI APIC Table: <INSYDE APIC_000>
ioapic0: Changing APIC ID to 1
ioapic0 <Version 0.3> irqs 0-23 on motherboard
acpi0: <INSYDE FACP_000> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
ACPI Warning: \\_SB_.PCI0.ALKD._CRS: Return type mismatch - found Integer, expected Buffer 20090521 nspredef-1051
ACPI Error (uteval-0392): Return object type is incorrect [\\_SB_.PCI0.ALKD._CRS] (Node 0xc28f2220), AE_TYPE
ACPI Error: Type returned from _CRS was incorrect: Integer, expected Btypes: 4 20090521 uteval-397
ACPI Error: No handler for Region [RAM_] (0xc28ef140) [EmbeddedControl] 20090521 evregion-430
ACPI Error: Region EmbeddedControl(3) has no handler 20090521 exfldio-382
ACPI Error (psparse-0633): Method parse/execution failed [\\_SB_.BAT0._STA] (Node 0xc28ed080), AE_NOT_EXIST
ACPI Error (uteval-0329): Method execution failed [\\_SB_.BAT0._STA] (Node 0xc28ed080), AE_NOT_EXIST
ACPI Error: No handler for Region [RAM_] (0xc28ef140) [EmbeddedControl] 20090521 evregion-430
ACPI Error: Region EmbeddedControl(3) has no handler 20090521 exfldio-382
ACPI Error (psparse-0633): Method parse/execution failed [\\_SB_.BAT0._STA] (Node 0xc28ed080), AE_NOT_EXIST
ACPI Error (uteval-0329): Method execution failed [\\_SB_.BAT0._STA] (Node 0xc28ed080), AE_NOT_EXIST
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
acpi_ec0: <Embedded Controller: GPE 0x1> port 0x62,0x66 on acpi0
ACPI Error (uteval-0392): Return object type is incorrect [\\_SB_.PCI0.ALKD._CRS] (Node 0xc28f2220), AE_TYPE
ACPI Error: Type returned from _CRS was incorrect: Integer, expected Btypes: 4 20090521 uteval-397
pci_link11: Warning: possible resource 1 will be lost during _SRS
acpi_lid0: <Control Method Lid Switch> on acpi0
battery0: <ACPI Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_button0: <Sleep Button> on acpi0
acpi_button1: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff iomem 0xfff80000-0xffffffff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA PM800/PN800/PM880/PN880 host to PCI bridge> on hostb0
agp0: aperture size is 128M
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> mem 0x90000000-0x93ffffff,0xc0000000-0xc0ffffff irq 16 at device 0.0 on pci1
acpi_video0: <ACPI video extension> on vgapci0
ath0: <Atheros 2413> at device 6.0 on pci0
ath0: [ITHREAD]
ath0: AR2413 mac 7.8 RF2413 phy 4.5
cbb0: <ENE CB1410 PCI-CardBus Bridge> at device 9.0 on pci0
pccard0: <16-bit PCCard bus> on cbb0
cbb0: [FILTER]
uhci0: <VIA 83C572 USB controller> port 0x1200-0x121f irq 21 at device 16.0 on pci0
uhci0: [ITHREAD]
uhci0: LegSup = 0x8030
usbus0: <VIA 83C572 USB controller> on uhci0
uhci1: <VIA 83C572 USB controller> port 0x1220-0x123f irq 21 at device 16.1 on pci0
uhci1: [ITHREAD]
uhci1: LegSup = 0x8030
usbus1: <VIA 83C572 USB controller> on uhci1
uhci2: <VIA 83C572 USB controller> port 0x1240-0x125f irq 21 at device 16.2 on pci0
uhci2: [ITHREAD]
uhci2: LegSup = 0x8030
usbus2: <VIA 83C572 USB controller> on uhci2
ehci0: <VIA VT6202 USB 2.0 controller> irq 21 at device 16.3 on pci0
ehci0: [ITHREAD]
usbus3: EHCI version 1.0
usbus3: <VIA VT6202 USB 2.0 controller> on ehci0
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 8235 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1100-0x110f at device 17.1 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
pci0: <multimedia, audio> at device 17.5 (no driver attached)
pci0: <simple comms> at device 17.6 (no driver attached)
vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0xe200-0xe2ff mem 0xd0000000-0xd00000ff irq 23 at device 18.0 on pci0
vr0: Quirks: 0x0
vr0: Revision: 0x74
miibus0: <MII bus> on vr0
ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: Ethernet address: 00:40:d0:87:cb:ce
vr0: [ITHREAD]
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model Generic PS/2 mouse, device ID 0
atrtc0: <AT realtime clock> port 0x70-0x75 irq 8 on acpi0
cpu0: <ACPI CPU> on acpi0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xcf7ff,0xe0000-0xe1fff,0xe6000-0xe6fff,0xeb000-0xecfff pnpid ORM0000 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1492688077 Hz quality 800
Timecounters tick every 1.000 msec
WARNING: apm_saver module requires apm enabled
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 480Mbps High Speed USB v2.0
ugen0.1: <VIA> at usbus0
uhub0: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <VIA> at usbus1
uhub1: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <VIA> at usbus2
uhub2: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: <VIA> at usbus3
uhub3: <VIA EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3
ad0: 57231MB <FUJITSU MHV2060AT 000000A0> at ata0-master UDMA100
acd0: DVDR <HL-DT-ST DVD-RW GWA-4082N/CW02> at ata1-master UDMA33
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
Root mount waiting for: usbus3
Root mount waiting for: usbus3
uhub3: 6 ports with 6 removable, self powered
Trying to mount root from ufs:/dev/ad0s1a
ugen0.2: <vendor 0x1241> at usbus0
ums0: <vendor 0x1241 product 0x1111, class 0/0, rev 1.10/4.30, addr 2> on usbus0
ums0: 3 buttons and [XYZ] coordinates ID=0
wlan0: Ethernet address: 00:...
wlan0: link state changed to UP
ugen3.2: <USB Mass Storage> at usbus3
umass0: <USB Mass Storage USB Mass Storage, class 0/0, rev 2.00/0.95, addr 2> on usbus3
umass0: SCSI over Bulk-Only; quirks = 0x0000
umass0:0:0:-1: Attached to scbus0
(probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
(probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(probe0:umass-sim0:0:0:0): SCSI Status: Check Condition
(probe0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0
(probe0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed
(probe0:umass-sim0:0:0:0): Retrying Command (per Sense Data)
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <USB-DISK FREEDIK-LWFORMAT 3.01> Removable Direct Access SCSI-2 device
da0: 40.000MB/s transfers
da0: 63MB (130144 512 byte sectors: 64H 32S/T 63C)
GEOM: da0: partition 1 does not start on a track boundary.
ugen3.2: <USB Mass Storage> at usbus3 (disconnected)
umass0: at uhub3, port 3, addr 2 (disconnected)
(da0:umass-sim0:0:0:0): lost device
(da0:umass-sim0:0:0:0): removing device entry
ugen3.2: <USB Mass Storage> at usbus3
umass0: <USB Mass Storage USB Mass Storage, class 0/0, rev 2.00/0.95, addr 2> on usbus3
umass0: SCSI over Bulk-Only; quirks = 0x0000
umass0:0:0:-1: Attached to scbus0
(probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
(probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(probe0:umass-sim0:0:0:0): SCSI Status: Check Condition
(probe0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0
(probe0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed
(probe0:umass-sim0:0:0:0): Retrying Command (per Sense Data)
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <USB-DISK FREEDIK-LWFORMAT 3.01> Removable Direct Access SCSI-2 device
da0: 40.000MB/s transfers
da0: 63MB (130144 512 byte sectors: 64H 32S/T 63C)
GEOM: da0: partition 1 does not start on a track boundary.
ugen3.2: <USB Mass Storage> at usbus3 (disconnected)
umass0: at uhub3, port 3, addr 2 (disconnected)
(da0:umass-sim0:0:0:0): lost device
(da0:umass-sim0:0:0:0): removing device entry
ugen3.2: <USB Mass Storage> at usbus3
umass0: <USB Mass Storage USB Mass Storage, class 0/0, rev 2.00/0.95, addr 2> on usbus3
umass0: SCSI over Bulk-Only; quirks = 0x0000
umass0:0:0:-1: Attached to scbus0
(probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
(probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(probe0:umass-sim0:0:0:0): SCSI Status: Check Condition
(probe0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0
(probe0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed
(probe0:umass-sim0:0:0:0): Retrying Command (per Sense Data)
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <USB-DISK FREEDIK-LWFORMAT 3.01> Removable Direct Access SCSI-2 device
da0: 40.000MB/s transfers
da0: 63MB (130144 512 byte sectors: 64H 32S/T 63C)
GEOM: da0: partition 1 does not start on a track boundary.
Reply With Quote
Old 10th January 2010
FreeBee FreeBee is offline
Real Name: A name is just a word or a label, not really me!
Port Guard
 
Join Date: Jan 2010
Location: My own head.
Posts: 39
Thanked 0 Times in 0 Posts
Default

Laptop: Fujitsu Siemens Amilo L 7310 MCN

This is diff -u (the other thing I posted earlier was dmesg)

Quote:
--- /usr/src/sys/i386/conf/GENERIC 2009-11-10 00:48:01.000000000 +0100
+++ /usr/src/sys/i386/conf/LAPKERN 2010-01-10 17:00:34.000000000 +0100
@@ -1,43 +1,27 @@
#
-# GENERIC -- Generic kernel configuration file for FreeBSD/i386
+# Specific kernel configuration file for FreeBSD/i386.
+# Laptop Fujitsu Siemens.
#
-# For more information on this file, please read the config(5) manual page,
-# and/or the handbook section on Kernel Configuration Files:
+# http://www.FreeBSD.org/doc/en_US.ISO...ig-config.html
#
-# http://www.FreeBSD.org/doc/en_US.ISO...ig-config.html
-#
-# The handbook is also available locally in /usr/share/doc/handbook
-# if you've installed the doc distribution, otherwise always see the
-# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
-# latest information.
+# /usr/share/doc/handbook
+# http://www.FreeBSD.org/
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
-# If you are in doubt as to the purpose or necessity of a line, check first
-# in NOTES.
-#
-# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.519.2.4.2.2 2009/11/09 23:48:01 kensmith Exp $

-cpu I486_CPU
-cpu I586_CPU
+device apic # I/O apic
cpu I686_CPU
-ident GENERIC
+ident LAPKERN

-# To statically compile in device wiring instead of /boot/device.hints
-#hints "GENERIC.hints" # Default places to look for devices.
-
-# Use the following to compile in values accessible to the kernel
-# through getenv() (or kenv(1) in userland). The format of the file
-# is 'variable=value', see kenv(1)
-#
-# env "GENERIC.env"
+device speaker #Play IBM BASIC-style noises out your speaker
+device apm_saver # Requires APM

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
@@ -45,10 +29,6 @@
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 NFSCLIENT # Network Filesystem Client
-options NFSSERVER # Network Filesystem Server
-options NFSLOCKD # Network Lock Manager
-options NFS_ROOT # NFS usable as /, requires NFSCLIENT
options MSDOSFS # MSDOS Filesystem
options CD9660 # ISO 9660 Filesystem
options PROCFS # Process filesystem (requires PSEUDOFS)
@@ -56,11 +36,7 @@
options GEOM_PART_GPT # GUID Partition Tables.
options GEOM_LABEL # Provides labelization
options COMPAT_43TTY # BSD 4.3 TTY compat (sgtty)
-options COMPAT_FREEBSD4 # Compatible with FreeBSD4
-options COMPAT_FREEBSD5 # Compatible with FreeBSD5
-options COMPAT_FREEBSD6 # Compatible with FreeBSD6
options COMPAT_FREEBSD7 # Compatible with FreeBSD7
-options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
options KTRACE # ktrace(1) support
options STACK # stack(9) support
options SYSVSHM # SYSV-style shared memory
@@ -76,203 +52,87 @@
options FLOWTABLE # per-cpu routing cache
#options KDTRACE_HOOKS # Kernel DTrace hooks

-# To make an SMP kernel, the next two lines are needed
-options SMP # Symmetric MultiProcessor Kernel
-device apic # I/O APIC
-
-# CPU frequency control
-device cpufreq
-
-# Bus support.
-device acpi
-device eisa
+# Bus support
device pci

-# Floppy drives
-device fdc
-
-# ATA and ATAPI devices
-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
+#
+# AGP GART support
+device agp

-# SCSI Controllers
-device ahb # EISA AHA1742 family
-device ahc # AHA2940 and onboard AIC7xxx devices
-options AHC_REG_PRETTY_PRINT # Print register bitfields in debug
- # output. Adds ~128k to driver.
-device ahd # AHA39320/29320 and onboard AIC79xx devices
-options AHD_REG_PRETTY_PRINT # Print register bitfields in debug
- # output. Adds ~215k to driver.
-device amd # AMD 53C974 (Tekram DC-390(T))
-device hptiop # Highpoint RocketRaid 3xxx series
-device isp # Qlogic family
-#device ispfw # Firmware for QLogic HBAs- normally a module
-device mpt # LSI-Logic MPT-Fusion
-#device ncr # NCR/Symbios Logic
-device sym # NCR/Symbios Logic (newer chipsets + those of `ncr')
-device trm # Tekram DC395U/UW/F DC315U adapters
-
-device adv # Advansys SCSI adapters
-device adw # Advansys wide SCSI adapters
-device aha # Adaptec 154x SCSI adapters
-device aic # Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
-device bt # Buslogic/Mylex MultiMaster SCSI adapters
-
-device ncv # NCR 53C500
-device nsp # Workbit Ninja SCSI-3
-device stg # TMC 18C30/18C50
-
-# SCSI peripherals
-device scbus # SCSI bus (required for SCSI)
-device ch # SCSI media changers
-device da # Direct Access (disks)
-device sa # Sequential Access (tape etc)
-device cd # CD
-device pass # Passthrough device (direct SCSI access)
-device ses # SCSI Environmental Services (and SAF-TE)
-
-# RAID controllers interfaced to the SCSI subsystem
-device amr # AMI MegaRAID
-device arcmsr # Areca SATA II RAID
-device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID
-device ciss # Compaq Smart RAID 5*
-device dpt # DPT Smartcache III, IV - See NOTES for options
-device hptmv # Highpoint RocketRAID 182x
-device hptrr # Highpoint RocketRAID 17xx, 22xx, 23xx, 25xx
-device iir # Intel Integrated RAID
-device ips # IBM (Adaptec) ServeRAID
-device mly # Mylex AcceleRAID/eXtremeRAID
-device twa # 3ware 9000 series PATA/SATA RAID
-
-# RAID controllers
-device aac # Adaptec FSA RAID
-device aacp # SCSI passthrough for aac (requires CAM)
-device ida # Compaq Smart RAID
-device mfi # LSI MegaRAID SAS
-device mlx # Mylex DAC960 family
-device pst # Promise Supertrak SX6000
-device twe # 3ware ATA RAID
+# To include support for VGA VESA video modes
+options VESA
+options SC_PIXEL_MODE
+device dpms # DPMS suspend & resume via VESA BIOS

# 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 atkbdc # AT keyboard controller
+device atkbd # AT keyboard
+device psm # PS/2 mouse
+options PSM_HOOKRESUME #hook the system resume event, useful
+ #for some laptops

-device kbdmux # keyboard multiplexer
+device vga # VGA video card driver
+device splash # Splash screen and screen saver support

-device vga # VGA video card driver
+device acpi

-device splash # Splash screen and screen saver support
+# ACPI Fujitsu Extras (Buttons)
+device acpi_fujitsu

-# syscons is the default console driver, resembling an SCO console
-device sc
+# ACPI Video Extensions (LCD backlight/brightness, video output, etc.)
+device acpi_video
+
+# The cpufreq(4) driver provides support for non-ACPI CPU frequency control
+device cpufreq
+
+# Direct Rendering modules for 3D acceleration.
+device drm # DRM core module required by DRM drivers
+
+#
+# Wireless interfaces. Fujitsu laptop.
+#
+device ath # Atheros pci/cardbus NIC's
+device ath_hal # pci/cardbus chip support
+device ath_rf2413 # ath0: <Atheros 2413> at device 6.0 on pci0
+options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors
+device ath_rate_sample # SampleRate tx rate control for ath
+device wlan # 802.11 support
+device wlan_ccmp # 802.11 CCMP support
+device wlan_tkip # 802.11 TKIP support
+device wlan_amrr # AMRR transmit rate control algorithm

-device agp # support several AGP chipsets
+#
+# SCSI
+#
+device scbus # SCSI bus (required for SCSI)
+device ch # SCSI media changers
+device da # Direct Access (disks)
+device cd # CD
+device ses # SCSI Environmental Services (and SAF-TE)

# Power management support (see NOTES for more options)
-#device apm
-# Add suspend/resume support for the i8254.
-device pmtimer
+device apm
+options POWERFAIL_NMI # make it beep instead of panicing
+device coretemp
+
+# ATA and ATAPI devices
+device ata
+device atadisk # ATA disk drives
+device atapicd # ATAPI CDROM drives
+options ATA_STATIC_ID # Static device numbering
+
+# syscons is the default console driver, resembling an SCO console
+device sc

# PCCARD (PCMCIA) support
# PCMCIA and cardbus bridge support
device cbb # cardbus (yenta) bridge
device pccard # PC Card (16-bit) bus
-device cardbus # CardBus (32-bit) bus
-
-# Serial (COM) ports
-device uart # Generic UART driver
-
-# Parallel port
-device ppc
-device ppbus # Parallel port bus (required)
-device lpt # Printer
-device plip # TCP/IP over parallel
-device ppi # Parallel port interface device
-#device vpo # Requires scbus and da
-
-# If you've got a "dumb" serial or parallel PCI card that is
-# supported by the puc(4) glue driver, uncomment the following
-# line to enable it (connects to sio, uart and/or ppc drivers):
-#device puc
-
-# PCI Ethernet NICs.
-device de # DEC/Intel DC21x4x (``Tulip'')
-device em # Intel PRO/1000 Gigabit Ethernet Family
-device igb # Intel PRO/1000 PCIE Server Gigabit Family
-device ixgb # Intel PRO/10GbE Ethernet Card
-device le # AMD Am7900 LANCE and Am79C9xx PCnet
-device ti # Alteon Networks Tigon I/II gigabit Ethernet
-device txp # 3Com 3cR990 (``Typhoon'')
-device vx # 3Com 3c590, 3c595 (``Vortex'')

# 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 ae # Attansic/Atheros L2 FastEthernet
-device age # Attansic/Atheros L1 Gigabit Ethernet
-device alc # Atheros AR8131/AR8132 Ethernet
-device ale # Atheros AR8121/AR8113/AR8114 Ethernet
-device bce # Broadcom BCM5706/BCM5708 Gigabit Ethernet
-device bfe # Broadcom BCM440x 10/100 Ethernet
-device bge # Broadcom BCM570xx Gigabit Ethernet
-device dc # DEC/Intel 21143 and various workalikes
-device et # Agere ET1310 10/100/Gigabit Ethernet
-device fxp # Intel EtherExpress PRO/100B (82557, 82558)
-device jme # JMicron JMC250 Gigabit/JMC260 Fast Ethernet
-device lge # Level 1 LXT1001 gigabit Ethernet
-device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet
-device nfe # nVidia nForce MCP on-board Ethernet
-device nge # NatSemi DP83820 gigabit Ethernet
-#device nve # nVidia nForce MCP on-board Ethernet Networking
-device pcn # AMD Am79C97x PCI 10/100 (precedence over 'le')
-device re # RealTek 8139C+/8169/8169S/8110S
-device rl # RealTek 8129/8139
-device sf # Adaptec AIC-6915 (``Starfire'')
-device sis # Silicon Integrated Systems SiS 900/SiS 7016
-device sk # SysKonnect SK-984x & SK-982x gigabit Ethernet
-device ste # Sundance ST201 (D-Link DFE-550TX)
-device stge # Sundance/Tamarack TC9021 gigabit Ethernet
-device tl # Texas Instruments ThunderLAN
-device tx # SMC EtherPower II (83c170 ``EPIC'')
-device vge # VIA VT612x gigabit Ethernet
device vr # VIA Rhine, Rhine II
-device wb # Winbond W89C840F
-device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'')
-
-# ISA Ethernet NICs. pccard NICs included.
-device cs # Crystal Semiconductor CS89x0 NIC
-# 'device ed' requires 'device miibus'
-device ed # NE[12]000, SMC Ultra, 3c503, DS8390 cards
-device ex # Intel EtherExpress Pro/10 and Pro/10+
-device ep # Etherlink III based cards
-device fe # Fujitsu MB8696x based cards
-device ie # EtherExpress 8/16, 3C507, StarLAN 10 etc.
-device sn # SMC's 9000 series of Ethernet chips
-device xe # Xircom pccard Ethernet
-
-# Wireless NIC cards
-device wlan # 802.11 support
-options IEEE80211_DEBUG # enable debug msgs
-options IEEE80211_AMPDU_AGE # age frames in AMPDU reorder q's
-options IEEE80211_SUPPORT_MESH # enable 802.11s draft support
-device wlan_wep # 802.11 WEP support
-device wlan_ccmp # 802.11 CCMP support
-device wlan_tkip # 802.11 TKIP support
-device wlan_amrr # AMRR transmit rate control algorithm
-device an # Aironet 4500/4800 802.11 wireless NICs.
-device ath # Atheros pci/cardbus NIC's
-device ath_hal # pci/cardbus chip support
-options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors
-device ath_rate_sample # SampleRate tx rate control for ath
-device ral # Ralink Technology RT2500 wireless NICs.
-device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs.
-#device wl # Older non 802.11 Wavelan wireless NIC.

# Pseudo devices.
device loop # Network loopback
@@ -292,43 +152,10 @@

# USB support
device uhci # UHCI PCI->USB interface
-device ohci # OHCI PCI->USB interface
device ehci # EHCI PCI->USB interface (USB 2.0)
device usb # USB Bus (required)
-#device udbp # USB Double Bulk Pipe devices
device uhid # "Human Interface Devices"
device ukbd # Keyboard
device ulpt # Printer
device umass # Disks/Mass storage - Requires scbus and da
device ums # Mouse
-device rum # Ralink Technology RT2501USB wireless NICs
-device ural # Ralink Technology RT2500USB wireless NICs
-device uath # Atheros AR5523 wireless NICs
-device zyd # ZyDAS zb1211/zb1211b wireless NICs
-device urio # Diamond Rio 500 MP3 player
-# USB Serial devices
-device u3g # USB-based 3G modems (Option, Huawei, Sierra)
-device uark # Technologies ARK3116 based serial adapters
-device ubsa # Belkin F5U103 and compatible serial adapters
-device uftdi # For FTDI usb serial adapters
-device uipaq # Some WinCE based devices
-device uplcom # Prolific PL-2303 serial adapters
-device uslcom # SI Labs CP2101/CP2102 serial adapters
-device uvisor # Visor and Palm devices
-device uvscom # USB serial support for DDI pocket's PHS
-# USB Ethernet, requires miibus
-device aue # ADMtek USB Ethernet
-device axe # ASIX Electronics USB Ethernet
-device cdce # Generic USB over Ethernet
-device cue # CATC USB Ethernet
-device kue # Kawasaki LSI USB Ethernet
-device rue # RealTek RTL8150 USB Ethernet
-device udav # Davicom DM9601E USB
-
-# FireWire support
-device firewire # FireWire bus code
-#device sbp # SCSI over FireWire (Requires scbus and da)
-device fwe # Ethernet over FireWire (non-standard!)
-device fwip # IP over FireWire (RFC 2734,3146)
-device dcons # Dumb console driver
-device dcons_crom # Configuration ROM for dcons
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Compilation --> Error code 2 --> geom_part_pc98 (FreeBSD 7.0) stou FreeBSD Installation and Upgrading 15 11th October 2008 04:43 AM
compile kernel error mfaridi FreeBSD Installation and Upgrading 9 14th July 2008 02:26 AM
Can't load kernel error on PC-BSD / FreeSBIE lazerbeat FreeBSD Installation and Upgrading 3 5th July 2008 08:39 PM
Kernel error with ieee802111 disappearedng FreeBSD General 1 29th June 2008 10:56 AM
Kernel Driver Not accesable error In Virtural Box on Ubntu hardy FloridaBSD Other BSD and UNIX/UNIX-like 8 28th May 2008 01:11 AM


All times are GMT. The time now is 04:08 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick