From owner-freebsd-current@FreeBSD.ORG Tue Oct 5 20:41:19 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BBD716A4CE for ; Tue, 5 Oct 2004 20:41:19 +0000 (GMT) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id C039C43D55 for ; Tue, 5 Oct 2004 20:41:18 +0000 (GMT) (envelope-from julian@elischer.org) Received: from elischer.org (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id 993C87A403; Tue, 5 Oct 2004 13:41:18 -0700 (PDT) Message-ID: <416306EE.9040500@elischer.org> Date: Tue, 05 Oct 2004 13:41:18 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030516 X-Accept-Language: en, hu MIME-Version: 1.0 To: HEXaBYTE References: <1097008677l.2861l.0l@weatherspoon.domain> In-Reply-To: <1097008677l.2861l.0l@weatherspoon.domain> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: Long delay before mounting root fs. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Oct 2004 20:41:19 -0000 HEXaBYTE wrote: > Hello. > I installed freebsd for first time some days ago and I don't have any > serious problem but the kernel booting is very slow. Beta7 fixes this (or at least it did for me) > > > Here is my dmesg: > > Copyright (c) 1992-2004 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 5.3-BETA6 #0: Sat Sep 25 21:49:38 UTC 2004 > root@fanboy.samsco.home:/usr/obj/usr/src/sys/GENERIC > ACPI APIC Table: > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: AMD Athlon(tm) 64 Processor 3200+ (2202.84-MHz K8-class CPU) > Origin = "AuthenticAMD" Id = 0xfc0 Stepping = 0 > > Features=0x78bfbff > AMD Features=0xe0500800 > real memory = 1072889856 (1023 MB) > avail memory = 1024204800 (976 MB) > ioapic0: Changing APIC ID to 1 > MADT: Forcing active-low polarity and level trigger for SCI > ioapic0 irqs 0-23 on motherboard > acpi0: on motherboard > acpi0: Power Button (fixed) > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 > cpu0: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pcib1: at device 1.0 on pci0 > pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.P0P1 > - AE_NOT_FOUND > pci1: on pcib1 > pci1: at device 0.0 (no driver attached) > fwohci0: port 0xec00-0xec7f mem > 0xf7a00000-0xf7a007ff irq 16 at device 7.0 on pci0 > fwohci0: OHCI version 1.0 (ROM=1) > fwohci0: No. of Isochronous channels is 4. > fwohci0: EUI64 00:e0:18:00:00:78:83:46 > fwohci0: Phy 1394a available S400, 2 ports. > fwohci0: Link S400, max_rec 2048 bytes. > firewire0: on fwohci0 > fwe0: on firewire0 > if_fwe0: Fake Ethernet address: 02:e0:18:78:83:46 > fwe0: Ethernet address: 02:e0:18:78:83:46 > fwe0: if_start running deferred for Giant > sbp0: on firewire0 > fwohci0: Initiate bus reset > fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode > firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) > firewire0: bus manager 0 (me) > skc0: port 0xb000-0xb0ff mem > 0xf7e00000-0xf7e03fff irq 17 at device 10.0 on pci0 > skc0: Yukon Gigabit Ethernet 10/100/1000Base-T Adapter > sk0: on skc0 > sk0: Ethernet address: 00:11:2f:08:2a:5c > miibus0: on sk0 > e1000phy0: on miibus0 > e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, > 1000baseTX- FDX, autoatapci0: port > 0xd000-0xd0ff,0xd400-0xd40f,0xd800-0xd803,0xe000-0xe007,0xe400-0xe403,0xe800-0xe807 > irq 20 at device 15.0 on pci0 > ata2: channel #0 on atapci0 > ata3: channel #1 on atapci0 > atapci1: port > 0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.1 on pci0 > ata0: channel #0 on atapci1 > ata1: channel #1 on atapci1 > uhci0: port 0xb400-0xb41f irq 21 at > device 16.0 on pci0 > uhci0: [GIANT-LOCKED] > usb0: on uhci0 > usb0: USB revision 1.0 > uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub0: 2 ports with 2 removable, self powered > ums0: KYE EasyTrack Optical U+P, rev 1.10/0.00, addr 2, iclass 3/1 > ums0: 3 buttons and Z dir. > uhci1: port 0xb800-0xb81f irq 21 at > device 16.1 on pci0 > uhci1: [GIANT-LOCKED] > usb1: 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 > uhci2: port 0xc000-0xc01f irq 21 at > device 16.2 on pci0 > uhci2: [GIANT-LOCKED] > usb2: on uhci2 > usb2: USB revision 1.0 > uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub2: 2 ports with 2 removable, self powered > uhci3: port 0xc400-0xc41f irq 21 at > device 16.3 on pci0 > uhci3: [GIANT-LOCKED] > usb3: on uhci3 > usb3: USB revision 1.0 > uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub3: 2 ports with 2 removable, self powered > pci0: at device 16.4 (no driver attached) > isab0: at device 17.0 on pci0 > isa0: on isab0 > pci0: at device 17.5 (no driver attached) > acpi_button0: on acpi0 > acpi_button1: on acpi0 > atkbdc0: port 0x64,0x60 irq 1 on acpi0 > atkbd0: flags 0x1 irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 > drq 2 on acpi0 > fdc0: [FAST] > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > ppc0 port 0x378-0x37f irq 7 on acpi0 > ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode > ppbus0: on ppc0 > plip0: on ppbus0 > lpt0: on ppbus0 > lpt0: Interrupt-driven port > ppi0: on ppbus0 > sio0: configured irq 3 not in bitmap of probed irqs 0 > sio0: port may not be enabled > sio0 port 0x2f8-0x2ff irq 3 on acpi0 > sio0: type 16550A > sio1: configured irq 4 not in bitmap of probed irqs 0 > sio1: port may not be enabled > sio1 port 0x3f8-0x3ff irq 4 on acpi0 > sio1: type 16550A > orm0: at iomem 0xd0000-0xd3fff on isa0 > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on > isa0 > Timecounter "TSC" frequency 2202835680 Hz quality 800 > Timecounters tick every 0.976 msec > ATAPI_RESET time = 700us > acd0: DVDROM at ata0-master UDMA33 > ATAPI_RESET time = 80us > acd1: DVDR at ata1-master UDMA33 > ad4: 194481MB [395136/16/63] at ata2-master > SATA150 > Mounting root from ufs:/dev/ad4s4a > > > > The most important delay is between "ad4: 194481MB YAR51HW0> [395136/16/63] at ata2-master SATA150" and "Mounting root > from ufs:/dev/ad4s4a" (The two last lines) > Between them it waits 13 sec but in /var/log/messages the two lines > get printed at the same second!: > Oct 5 15:33:46 weatherspoon kernel: ad4: 194481MB YAR51HW0> [395136/16/63] at ata2-master SATA150 > Oct 5 15:33:46 weatherspoon kernel: Mounting root from ufs:/dev/ad4s4a > > Why is this delay so long? And why it isn't reflected in /var/log/ > messages ? > > I use FreeBSD 5.3-BETA6 (the version for amd64). > I use the GENERIC kernel. > > Thank you! > > > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org"