From owner-freebsd-current@FreeBSD.ORG Tue Oct 5 20:38:01 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 DBA8B16A4CE for ; Tue, 5 Oct 2004 20:38:01 +0000 (GMT) Received: from smtp-out.hotpop.com (smtp-out.hotpop.com [38.113.3.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84E8443D53 for ; Tue, 5 Oct 2004 20:38:01 +0000 (GMT) (envelope-from hexabyte@hotpop.com) Received: from hotpop.com (kubrick.hotpop.com [38.113.3.103]) by smtp-out.hotpop.com (Postfix) with SMTP id 4BA738B7530 for ; Tue, 5 Oct 2004 20:37:54 +0000 (UTC) Received: from weatherspoon.domain (190.5.223.82.arsystel.com [82.223.5.190]) by smtp-3.hotpop.com (Postfix) with ESMTP id 8763D11312D0 for ; Tue, 5 Oct 2004 20:37:56 +0000 (UTC) Date: Tue, 05 Oct 2004 20:37:57 +0000 From: HEXaBYTE To: freebsd-current@freebsd.org X-Mailer: Balsa 2.2.4 Message-Id: <1097008677l.2861l.0l@weatherspoon.domain> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; DelSp=Yes; Format=Flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- Subject: 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:38:02 -0000 Hello. I installed freebsd for first time some days ago and I don't have any =20 serious problem but the kernel booting is very slow. Here is my dmesg: Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, =20 1994 The Regents of the University of California. All rights =20 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 =3D "AuthenticAMD" Id =3D 0xfc0 Stepping =3D 0 =20 Features=3D0x78bfbff AMD Features=3D0xe0500800 real memory =3D 1072889856 (1023 MB) avail memory =3D 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 - =20 AE_NOT_FOUND pci1: on pcib1 pci1: at device 0.0 (no driver attached) fwohci0: port 0xec00-0xec7f mem =20 0xf7a00000-0xf7a007ff irq 16 at device 7.0 on pci0 fwohci0: OHCI version 1.0 (ROM=3D1) 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=3D0xc800ffc0, gen=3D1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <=3D 0, cable IRM =3D 0 (me) firewire0: bus manager 0 (me) skc0: port 0xb000-0xb0ff mem =20 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-=20 FDX, autoatapci0: port =20 0xd000-0xd0ff,0xd400-0xd40f,0xd800-0xd803,0xe000-0xe007,0xe400-0xe403,0xe80= 0-0xe807 =20 irq 20 at device 15.0 on pci0 ata2: channel #0 on atapci0 ata3: channel #1 on atapci0 atapci1: port =20 0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.1 on =20 pci0 ata0: channel #0 on atapci1 ata1: channel #1 on atapci1 uhci0: port 0xb400-0xb41f irq 21 at device =20 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 =20 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 =20 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 =20 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 =20 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=3D0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on =20 isa0 Timecounter "TSC" frequency 2202835680 Hz quality 800 Timecounters tick every 0.976 msec ATAPI_RESET time =3D 700us acd0: DVDROM at ata0-master UDMA33 ATAPI_RESET time =3D 80us acd1: DVDR at ata1-master UDMA33 ad4: 194481MB [395136/16/63] at ata2-master =20 SATA150 Mounting root from ufs:/dev/ad4s4a The most important delay is between "ad4: 194481MB [395136/16/63] at ata2-master SATA150" and "Mounting root =20 from ufs:/dev/ad4s4a" (The two last lines) Between them it waits 13 sec but in /var/log/messages the two lines get =20 printed at the same second!: Oct 5 15:33:46 weatherspoon kernel: ad4: 194481MB [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/=20 messages ? I use FreeBSD 5.3-BETA6 (the version for amd64). I use the GENERIC kernel. Thank you!