Topic: making freebsd boot faster

hi there.

when i start my computer it takes ~ 2 minutes until freebsd reaches the login screen. windows xp only needs ~ 30 seconds. i'm trying to find out which drivers slow down the boot process. unfortunately /var/log/messages seems to produce only a single timestamp during the boot process. is there another way to find out exactly how much time each driver takes to load?

cheers

this is my /var/log/messages:

Oct 31 09:12:06 moshnroll syslogd: kernel boot file is /boot/kernel/kernel
Oct 31 09:12:06 moshnroll kernel: Copyright (c) 1992-2008 The FreeBSD Project.
Oct 31 09:12:06 moshnroll kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
Oct 31 09:12:06 moshnroll kernel: The Regents of the University of California. All rights reserved.
Oct 31 09:12:06 moshnroll kernel: FreeBSD is a registered trademark of The FreeBSD Foundation.
Oct 31 09:12:06 moshnroll kernel: FreeBSD 7.1-PRERELEASE #7: Sun Oct 19 20:36:36 CEST 2008
Oct 31 09:12:06 moshnroll kernel: root@moshnroll:/usr/obj/usr/src/sys/ARUNDEL
Oct 31 09:12:06 moshnroll kernel: Timecounter "i8254" frequency 1193182 Hz quality 0
Oct 31 09:12:06 moshnroll kernel: CPU: Intel(R) Pentium(R) Dual  CPU  E2160  @ 1.80GHz (2997.02-MHz 686-class CPU)
Oct 31 09:12:06 moshnroll kernel: Origin = "GenuineIntel"  Id = 0x6fd  Stepping = 13
Oct 31 09:12:06 moshnroll kernel: Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Oct 31 09:12:06 moshnroll kernel: Features2=0xe39d<SSE3,DTES64,MON,DS_CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM>
Oct 31 09:12:06 moshnroll kernel: AMD Features=0x20100000<NX,LM>
Oct 31 09:12:06 moshnroll kernel: AMD Features2=0x1<LAHF>
Oct 31 09:12:06 moshnroll kernel: Cores per package: 2
Oct 31 09:12:06 moshnroll kernel: real memory  = 2146304000 (2046 MB)
Oct 31 09:12:06 moshnroll kernel: avail memory = 2086473728 (1989 MB)
Oct 31 09:12:06 moshnroll kernel: ACPI APIC Table: <GBT    GBTUACPI>
Oct 31 09:12:06 moshnroll kernel: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
Oct 31 09:12:06 moshnroll kernel: cpu0 (BSP): APIC ID:  0
Oct 31 09:12:06 moshnroll kernel: cpu1 (AP): APIC ID:  1
Oct 31 09:12:06 moshnroll kernel: ioapic0: Changing APIC ID to 2
Oct 31 09:12:06 moshnroll kernel: ioapic0 <Version 2.0> irqs 0-23 on motherboard
Oct 31 09:12:06 moshnroll kernel: ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
Oct 31 09:12:06 moshnroll kernel: acpi0: <GBT GBTUACPI> on motherboard
Oct 31 09:12:06 moshnroll kernel: acpi0: [ITHREAD]
Oct 31 09:12:06 moshnroll kernel: acpi0: Power Button (fixed)
Oct 31 09:12:06 moshnroll kernel: acpi0: reservation of 0, a0000 (3) failed
Oct 31 09:12:06 moshnroll kernel: acpi0: reservation of 100000, 7fde0000 (3) failed
Oct 31 09:12:06 moshnroll kernel: Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
Oct 31 09:12:06 moshnroll kernel: acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
Oct 31 09:12:06 moshnroll kernel: acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Oct 31 09:12:06 moshnroll kernel: Timecounter "HPET" frequency 14318180 Hz quality 900
Oct 31 09:12:06 moshnroll kernel: acpi_button0: <Power Button> on acpi0
Oct 31 09:12:06 moshnroll kernel: pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
Oct 31 09:12:06 moshnroll kernel: pci0: <ACPI PCI bus> on pcib0
Oct 31 09:12:06 moshnroll kernel: pcib1: <PCI-PCI bridge> irq 16 at device 1.0 on pci0
Oct 31 09:12:06 moshnroll kernel: pci1: <PCI bus> on pcib1
Oct 31 09:12:06 moshnroll kernel: vgapci0: <VGA-compatible display> port 0xb000-0xb07f mem 0xf6000000-0xf6ffffff,0xe0000000-0xefffffff,0xf4000000-0xf5ffffff irq 16 at device 0.0 on pci1
Oct 31 09:12:06 moshnroll kernel: nvidia0: <GeForce 9600 GT> on vgapci0
Oct 31 09:12:06 moshnroll kernel: vgapci0: child nvidia0 requested pci_enable_busmaster
Oct 31 09:12:06 moshnroll kernel: vgapci0: child nvidia0 requested pci_enable_io
Oct 31 09:12:06 moshnroll kernel: nvidia0: [GIANT-LOCKED]
Oct 31 09:12:06 moshnroll kernel: nvidia0: [ITHREAD]
Oct 31 09:12:06 moshnroll kernel: uhci0: <UHCI (generic) USB controller> port 0xe100-0xe11f irq 16 at device 26.0 on pci0
Oct 31 09:12:06 moshnroll kernel: uhci0: [GIANT-LOCKED]
Oct 31 09:12:06 moshnroll kernel: uhci0: [ITHREAD]
Oct 31 09:12:06 moshnroll kernel: usb0: <UHCI (generic) USB controller> on uhci0
Oct 31 09:12:06 moshnroll kernel: usb0: USB revision 1.0
Oct 31 09:12:06 moshnroll kernel: uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
Oct 31 09:12:06 moshnroll kernel: uhub0: 2 ports with 2 removable, self powered
Oct 31 09:12:06 moshnroll kernel: uhci1: <UHCI (generic) USB controller> port 0xe200-0xe21f irq 21 at device 26.1 on pci0
Oct 31 09:12:06 moshnroll kernel: uhci1: [GIANT-LOCKED]
Oct 31 09:12:06 moshnroll kernel: uhci1: [ITHREAD]
Oct 31 09:12:06 moshnroll kernel: usb1: <UHCI (generic) USB controller> on uhci1
Oct 31 09:12:06 moshnroll kernel: usb1: USB revision 1.0
Oct 31 09:12:06 moshnroll kernel: uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
Oct 31 09:12:06 moshnroll kernel: uhub1: 2 ports with 2 removable, self powered
Oct 31 09:12:06 moshnroll kernel: uhci2: <UHCI (generic) USB controller> port 0xe000-0xe01f irq 18 at device 26.2 on pci0
Oct 31 09:12:06 moshnroll kernel: uhci2: [GIANT-LOCKED]
Oct 31 09:12:06 moshnroll kernel: uhci2: [ITHREAD]
Oct 31 09:12:06 moshnroll kernel: usb2: <UHCI (generic) USB controller> on uhci2
Oct 31 09:12:06 moshnroll kernel: usb2: USB revision 1.0
Oct 31 09:12:06 moshnroll kernel: uhub2: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2
Oct 31 09:12:06 moshnroll kernel: uhub2: 2 ports with 2 removable, self powered
Oct 31 09:12:06 moshnroll kernel: ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfa205000-0xfa2053ff irq 18 at device 26.7 on pci0
Oct 31 09:12:06 moshnroll kernel: ehci0: [GIANT-LOCKED]
Oct 31 09:12:06 moshnroll kernel: ehci0: [ITHREAD]
Oct 31 09:12:06 moshnroll kernel: usb3: EHCI version 1.0
Oct 31 09:12:06 moshnroll kernel: usb3: companion controllers, 2 ports each: usb0 usb1 usb2
Oct 31 09:12:06 moshnroll kernel: usb3: <EHCI (generic) USB 2.0 controller> on ehci0
Oct 31 09:12:06 moshnroll kernel: usb3: USB revision 2.0
Oct 31 09:12:06 moshnroll kernel: uhub3: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb3
Oct 31 09:12:06 moshnroll kernel: uhub3: 6 ports with 6 removable, self powered
Oct 31 09:12:06 moshnroll kernel: pcm0: <Intel 82801I High Definition Audio Controller> mem 0xfa200000-0xfa203fff irq 22 at device 27.0 on pci0
Oct 31 09:12:06 moshnroll kernel: pcm0: [ITHREAD]
Oct 31 09:12:06 moshnroll kernel: pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
Oct 31 09:12:06 moshnroll kernel: pci2: <ACPI PCI bus> on pcib2
Oct 31 09:12:06 moshnroll kernel: pcib3: <ACPI PCI-PCI bridge> irq 19 at device 28.3 on pci0
Oct 31 09:12:06 moshnroll kernel: pci3: <ACPI PCI bus> on pcib3
Oct 31 09:12:06 moshnroll kernel: atapci0: <JMicron JMB363 SATA300 controller> port 0xc000-0xc007,0xc100-0xc103,0xc200-0xc207,0xc300-0xc303,0xc400-0xc40f mem 0xfa000000-0xfa001fff irq 19 at d
Oct 31 09:12:06 moshnroll kernel: atapci0: [ITHREAD]
Oct 31 09:12:06 moshnroll kernel: atapci0: AHCI called from vendor specific driver
Oct 31 09:12:06 moshnroll kernel: atapci0: AHCI Version 01.00 controller with 2 ports detected
Oct 31 09:12:06 moshnroll kernel: ata2: <ATA channel 0> on atapci0
Oct 31 09:12:06 moshnroll kernel: ata2: [ITHREAD]
Oct 31 09:12:06 moshnroll kernel: ata3: <ATA channel 1> on atapci0
Oct 31 09:12:06 moshnroll kernel: ata3: [ITHREAD]
Oct 31 09:12:06 moshnroll kernel: ata4: <ATA channel 2> on atapci0
Oct 31 09:12:06 moshnroll kernel: ata4: [ITHREAD]
Oct 31 09:12:06 moshnroll kernel: pcib4: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0
Oct 31 09:12:06 moshnroll kernel: pci4: <ACPI PCI bus> on pcib4
Oct 31 09:12:06 moshnroll kernel: uhci3: <UHCI (generic) USB controller> port 0xe300-0xe31f irq 23 at device 29.0 on pci0
Oct 31 09:12:06 moshnroll kernel: uhci3: [GIANT-LOCKED]
Oct 31 09:12:06 moshnroll kernel: uhci3: [ITHREAD]
Oct 31 09:12:06 moshnroll kernel: usb4: <UHCI (generic) USB controller> on uhci3
Oct 31 09:12:06 moshnroll kernel: usb4: USB revision 1.0
Oct 31 09:12:06 moshnroll kernel: uhub4: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb4
Oct 31 09:12:06 moshnroll kernel: uhub4: 2 ports with 2 removable, self powered
Oct 31 09:12:06 moshnroll kernel: uhci4: <UHCI (generic) USB controller> port 0xe400-0xe41f irq 19 at device 29.1 on pci0
Oct 31 09:12:06 moshnroll kernel: uhci4: [GIANT-LOCKED]
Oct 31 09:12:06 moshnroll kernel: uhci4: [ITHREAD]
Oct 31 09:12:06 moshnroll kernel: usb5: <UHCI (generic) USB controller> on uhci4
Oct 31 09:12:06 moshnroll kernel: usb5: USB revision 1.0
Oct 31 09:12:06 moshnroll kernel: uhub5: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb5
Oct 31 09:12:06 moshnroll kernel: uhub5: 2 ports with 2 removable, self powered
Oct 31 09:12:06 moshnroll kernel: uhci5: <UHCI (generic) USB controller> port 0xe500-0xe51f irq 18 at device 29.2 on pci0
Oct 31 09:12:06 moshnroll kernel: uhci5: [GIANT-LOCKED]
Oct 31 09:12:06 moshnroll kernel: uhci5: [ITHREAD]
Oct 31 09:12:06 moshnroll kernel: usb6: <UHCI (generic) USB controller> on uhci5
Oct 31 09:12:06 moshnroll kernel: usb6: USB revision 1.0
Oct 31 09:12:06 moshnroll kernel: uhub6: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb6
Oct 31 09:12:06 moshnroll kernel: uhub6: 2 ports with 2 removable, self powered
Oct 31 09:12:06 moshnroll kernel: ehci1: <EHCI (generic) USB 2.0 controller> mem 0xfa204000-0xfa2043ff irq 23 at device 29.7 on pci0
Oct 31 09:12:06 moshnroll kernel: ehci1: [GIANT-LOCKED]
Oct 31 09:12:06 moshnroll kernel: ehci1: [ITHREAD]
Oct 31 09:12:06 moshnroll kernel: usb7: EHCI version 1.0
Oct 31 09:12:06 moshnroll kernel: usb7: companion controllers, 2 ports each: usb4 usb5 usb6
Oct 31 09:12:06 moshnroll kernel: usb7: <EHCI (generic) USB 2.0 controller> on ehci1
Oct 31 09:12:06 moshnroll kernel: usb7: USB revision 2.0
Oct 31 09:12:06 moshnroll kernel: uhub7: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb7
Oct 31 09:12:06 moshnroll kernel: uhub7: 6 ports with 6 removable, self powered
Oct 31 09:12:06 moshnroll kernel: pcib5: <ACPI PCI-PCI bridge> at device 30.0 on pci0
Oct 31 09:12:06 moshnroll kernel: pci5: <ACPI PCI bus> on pcib5
Oct 31 09:12:06 moshnroll kernel: ath0: <Atheros 5212> mem 0xfa100000-0xfa10ffff irq 19 at device 1.0 on pci5
Oct 31 09:12:06 moshnroll kernel: ath0: [ITHREAD]
Oct 31 09:12:06 moshnroll kernel: ath0: WARNING: using obsoleted if_watchdog interface
Oct 31 09:12:06 moshnroll kernel: ath0: Ethernet address: 00:0f:b5:82:07:c8
Oct 31 09:12:06 moshnroll kernel: ath0: mac 7.9 phy 4.5 radio 5.6
Oct 31 09:12:06 moshnroll kernel: isab0: <PCI-ISA bridge> at device 31.0 on pci0
Oct 31 09:12:06 moshnroll kernel: isa0: <ISA bus> on isab0
Oct 31 09:12:06 moshnroll kernel: atapci1: <Intel ICH9 SATA300 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f,0xfc00-0xfc0f at device 31.2 on pci0
Oct 31 09:12:06 moshnroll kernel: ata0: <ATA channel 0> on atapci1
Oct 31 09:12:06 moshnroll kernel: ata0: [ITHREAD]
Oct 31 09:12:06 moshnroll kernel: ata1: <ATA channel 1> on atapci1
Oct 31 09:12:06 moshnroll kernel: ata1: [ITHREAD]
Oct 31 09:12:06 moshnroll kernel: pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
Oct 31 09:12:06 moshnroll kernel: atapci2: <Intel ICH9 SATA300 controller> port 0xe700-0xe707,0xe800-0xe803,0xe900-0xe907,0xea00-0xea03,0xeb00-0xeb0f,0xec00-0xec0f irq 19 at device 31.5 on pc
Oct 31 09:12:06 moshnroll kernel: atapci2: [ITHREAD]
Oct 31 09:12:06 moshnroll kernel: ata5: <ATA channel 0> on atapci2
Oct 31 09:12:06 moshnroll kernel: ata5: [ITHREAD]
Oct 31 09:12:06 moshnroll kernel: ata6: <ATA channel 1> on atapci2
Oct 31 09:12:06 moshnroll kernel: ata6: [ITHREAD]
Oct 31 09:12:06 moshnroll kernel: cpu0: <ACPI CPU> on acpi0
Oct 31 09:12:06 moshnroll kernel: coretemp0: <CPU On-Die Thermal Sensors> on cpu0
Oct 31 09:12:06 moshnroll kernel: est0: <Enhanced SpeedStep Frequency Control> on cpu0
Oct 31 09:12:06 moshnroll kernel: est: CPU supports Enhanced Speedstep, but is not recognized.
Oct 31 09:12:06 moshnroll kernel: est: cpu_vendor GenuineIntel, msr 925092506000925
Oct 31 09:12:06 moshnroll kernel: device_attach: est0 attach returned 6
Oct 31 09:12:06 moshnroll kernel: p4tcc0: <CPU Frequency Thermal Control> on cpu0
Oct 31 09:12:06 moshnroll kernel: cpu1: <ACPI CPU> on acpi0
Oct 31 09:12:06 moshnroll kernel: coretemp1: <CPU On-Die Thermal Sensors> on cpu1
Oct 31 09:12:06 moshnroll kernel: est1: <Enhanced SpeedStep Frequency Control> on cpu1
Oct 31 09:12:06 moshnroll kernel: est: CPU supports Enhanced Speedstep, but is not recognized.
Oct 31 09:12:06 moshnroll kernel: est: cpu_vendor GenuineIntel, msr 925092506000925
Oct 31 09:12:06 moshnroll kernel: device_attach: est1 attach returned 6
Oct 31 09:12:06 moshnroll kernel: p4tcc1: <CPU Frequency Thermal Control> on cpu1
Oct 31 09:12:06 moshnroll kernel: sc0: <System console> at flags 0x100 on isa0
Oct 31 09:12:06 moshnroll kernel: sc0: VGA <16 virtual consoles, flags=0x300>
Oct 31 09:12:06 moshnroll kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Oct 31 09:12:06 moshnroll kernel: ubt0: <vendor 0x0a12 product 0x0001, class 224/1, rev 2.00/15.93, addr 2> on uhub0
Oct 31 09:12:06 moshnroll kernel: ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2
Oct 31 09:12:06 moshnroll kernel: ubt0: Interface 1 (alt.config 5) endpoints: isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=49; nframes=6, buffer size=294
Oct 31 09:12:06 moshnroll kernel: ukbd0: <Dell Dell USB Keyboard, class 0/0, rev 1.10/3.06, addr 2> on uhub1
Oct 31 09:12:06 moshnroll kernel: kbd0 at ukbd0
Oct 31 09:12:06 moshnroll kernel: ums0: <Razer Razer 1600dpi Mouse, class 0/0, rev 2.00/21.00, addr 3> on uhub1
Oct 31 09:12:06 moshnroll kernel: ums0: 7 buttons and Z dir.
Oct 31 09:12:06 moshnroll kernel: Timecounters tick every 1.000 msec
Oct 31 09:12:06 moshnroll kernel: ad0: 238474MB <SAMSUNG SP2504C VT100-50> at ata0-master SATA300
Oct 31 09:12:06 moshnroll kernel: ad8: 6105MB <SAMSUNG SV0644A JC201-12> at ata4-master UDMA33
Oct 31 09:12:06 moshnroll kernel: acd0: DVDR <HL-DT-ST DVDRAM GSA-H10N/JL10> at ata4-slave UDMA33
Oct 31 09:12:06 moshnroll kernel: pcm0: <HDA Codec: Realtek ALC885>
Oct 31 09:12:06 moshnroll kernel: pcm0: <HDA Driver Revision: 20080420_0052>
Oct 31 09:12:06 moshnroll kernel: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x01
Oct 31 09:12:06 moshnroll kernel: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x01
Oct 31 09:12:06 moshnroll kernel: SMP: AP CPU #1 Launched!
Oct 31 09:12:06 moshnroll kernel: cd0 at ata4 bus 0 target 1 lun 0
Oct 31 09:12:06 moshnroll kernel: cd0: <HL-DT-ST DVDRAM GSA-H10N JL10> Removable CD-ROM SCSI-0 device
Oct 31 09:12:06 moshnroll kernel: cd0: 33.000MB/s transfers
Oct 31 09:12:06 moshnroll kernel: cd0: Attempt to query device size failed: NOT READY, Medium not present
Oct 31 09:12:06 moshnroll kernel: Trying to mount root from ufs:/dev/ad8s1a
Oct 31 09:12:06 moshnroll kernel: WARNING: attempt to net_add_domain(bluetooth) after domainfinalize()
Oct 31 09:12:06 moshnroll kernel: WARNING: attempt to net_add_domain(netgraph) after domainfinalize()

Re: making freebsd boot faster

More time is spent on detection hardware and executing scripts.
Configure and recompile kernel may speed up boot process.

Re: making freebsd boot faster

1. configure kernel with all drivers compiled in
2. remove debug options from kernel (-g)
3. left only I686_CPU on kernel config (remove 586 etc)
4. add autoboot_delay="1" --> /boot/loader.conf
5. disable sendmail --> /etc/rc.conf (and other unuser services)
6. kernel config: SCSI_DELAY=1000
7. use customized CFLAGS for kernel and base system
start with these:

CFLAGS=       -O2 -fno-strict-aliasing -pipe -s -funroll-loops -fomit-frame-pointer
CXXFLAGS=     -O2 -fno-strict-aliasing -pipe -s -funroll-loops
COPTFLAGS=    -O2 -fno-strict-aliasing -pipe -s -funroll-loops -fomit-frame-pointer

You may also check:

-frename-registers -fweb -ffast-math -ftracer -funroll-loops -fstack-protector

8. Remove sleep fonctions from startup scripts:

# grep sleep /etc/rc.d/*

Oct 31 09:12:06 moshnroll kernel: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x01
Oct 31 09:12:06 moshnroll kernel: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x01

What chipset/motherboard you have?

Last edited by vermaden (2008-11-02 01:22:07)

"religions, worst damnation of mankind"
[color=Blue]Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for

Re: making freebsd boot faster

thanks a lot for all the hints. i compiled all the drivers i gathered from kldstat into the kernel (except acpi) and recompiled the kernel with the new coptflags. i also added the cflags and cxxflags to my make.conf. i might recompile all my apps at some point using portupgrade -af in order to let all apps benefit from the new flags in make.conf.

i also added the SCSI_DELAY value to my kernel conf but had to remove it. it seems my cdrom drive needs quite a high delay value. even the standard delay value isn't high enough in certain cases. i believe the warning you mentioned above is due to my slow cdrom drive.

cheers

ps: my motherboard is a gigabyte ga-p35-ds3r (intel p35 chipset).

Re: making freebsd boot faster

arundel wrote:

thanks a lot for all the hints.
(...)
ps: my motherboard is a gigabyte ga-p35-ds3r (intel p35 chipset).

You are welcome mate.

Is your CDROM is PATA connected?

"religions, worst damnation of mankind"
[color=Blue]Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for

Re: making freebsd boot faster

right. my cdromdrive as well as ad8 are connected to PATA. only the second HDD is connected to the SATA controller.

Re: making freebsd boot faster

arundel wrote:

right. my cdromdrive as well as ad8 are connected to PATA. only the second HDD is connected to the SATA controller.

You problem is JMicron chipset that is put on this P35 board to get ATA support (since Intel ICH8 and later do not include it). Its very poor chipsets and FreeBSD has problems with proper support for it, I always have problems with that chipset and migrated to SATA and now everythnig works smothly.

Other problematic chipsets are Silicon Image ones.

"religions, worst damnation of mankind"
[color=Blue]Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for

Re: making freebsd boot faster

oh. i see. thanks a lot. i was thinking about getting a new sata hdd anyway. and while i'm at it i mightas well  get a newsata  dvd-drive or blueray-drive.

Re: making freebsd boot faster

Try disabling devices in your BIOS that you don't use (Floppy, Parallel, etc.) and make sure CPU Cache is enabled, etc.

With the Gigabyte mainboards you can `unlock' extra option by pressing CTRL+F1 on the main BIOS screen. This will allow you to tweak it some more.