Re: Long delay before mounting root fs.

From: Julian Elischer <julian_at_elischer.org>
Date: Tue, 05 Oct 2004 13:41:18 -0700
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_at_fanboy.samsco.home:/usr/obj/usr/src/sys/GENERIC
> ACPI APIC Table: <A M I  OEMAPIC >
> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
> AMD Features=0xe0500800<SYSCALL,NX,MMX+,LM,3DNow+,3DNow>
> 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 <Version 0.3> irqs 0-23 on motherboard
> acpi0: <A M I OEMXSDT> 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: <ACPI CPU> on acpi0
> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
> pci0: <ACPI PCI bus> on pcib0
> pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
> pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.P0P1 
> -  AE_NOT_FOUND
> pci1: <ACPI PCI bus> on pcib1
> pci1: <display, VGA> at device 0.0 (no driver attached)
> fwohci0: <VIA Fire II (VT6306)> 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: <IEEE1394(FireWire) bus> on fwohci0
> fwe0: <Ethernet over FireWire> 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: <SBP-2/SCSI over FireWire> 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: <Marvell Gigabit Ethernet> port 0xb000-0xb0ff mem  
> 0xf7e00000-0xf7e03fff irq 17 at device 10.0 on pci0
> skc0: Yukon Gigabit Ethernet 10/100/1000Base-T Adapter
> sk0: <Marvell Semiconductor, Inc. Yukon> on skc0
> sk0: Ethernet address: 00:11:2f:08:2a:5c
> miibus0: <MII bus> on sk0
> e1000phy0: <Marvell 88E1000 Gigabit PHY> on miibus0
> e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 
> 1000baseTX- FDX, autoatapci0: <VIA 6420 SATA150 controller> 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: <VIA 8237 UDMA133 controller> 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: <VIA 83C572 USB controller> port 0xb400-0xb41f irq 21 at 
> device  16.0 on pci0
> uhci0: [GIANT-LOCKED]
> usb0: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> port 0xb800-0xb81f irq 21 at 
> device  16.1 on pci0
> uhci1: [GIANT-LOCKED]
> usb1: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> port 0xc000-0xc01f irq 21 at 
> device  16.2 on pci0
> uhci2: [GIANT-LOCKED]
> usb2: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> port 0xc400-0xc41f irq 21 at 
> device  16.3 on pci0
> uhci3: [GIANT-LOCKED]
> usb3: <VIA 83C572 USB controller> 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: <serial bus, USB> at device 16.4 (no driver attached)
> isab0: <PCI-ISA bridge> at device 17.0 on pci0
> isa0: <ISA bus> on isab0
> pci0: <multimedia, audio> at device 17.5 (no driver attached)
> acpi_button0: <Power Button> on acpi0
> acpi_button1: <Sleep Button> on acpi0
> atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
> atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
> kbd0 at atkbd0
> atkbd0: [GIANT-LOCKED]
> fdc0: <floppy drive controller (FDE)> 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: <Parallel port bus> on ppc0
> plip0: <PLIP network interface> on ppbus0
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> ppi0: <Parallel I/O> 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: <ISA Option ROM> at iomem 0xd0000-0xd3fff 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 2202835680 Hz quality 800
> Timecounters tick every 0.976 msec
> ATAPI_RESET time = 700us
> acd0: DVDROM <HL-DT-STDVD-ROM GDR8161B/0100> at ata0-master UDMA33
> ATAPI_RESET time = 80us
> acd1: DVDR <LITE-ON DVDRW SOHW-832S/VS01> at ata1-master UDMA33
> ad4: 194481MB <Maxtor 6Y200M0/YAR51HW0> [395136/16/63] at ata2-master  
> SATA150
> Mounting root from ufs:/dev/ad4s4a
>
>
>
> The most important delay is between "ad4: 194481MB <Maxtor 6Y200M0/ 
> 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 <Maxtor 6Y200M0/ 
> 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_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to 
> "freebsd-current-unsubscribe_at_freebsd.org"
Received on Tue Oct 05 2004 - 18:41:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:15 UTC