[5.800] Slow Boot

ok im getting a few things.  It takes 20 minutes to boot.  the remounting drives readwrite is where it slows down.  after its booted its fast again.   Ill look into that.
Parents
  • what hardware is this running on?

    Owner:  Emmanuel Technology Consulting

    http://etc-md.com

    Former Sophos SG(Astaro) advocate/researcher/Silver Partner

    PfSense w/Suricata, ntopng, 

    Other addons to follow

  • Is that during file system check? Do you use SATA in legacy mode? Do you use Raid? Which hardware?

    Xeno
  • I'd guess it's FSCK

    ASL usually has it set to run FSCK on every reboot during the beta period.

    You might be able to change it with tune2fs or look at the init scripts.

    Barry
  • does it take everyone the same time to boot?  the disk light is not on during this time and with a fsck i would expect to see that flicker....  I can hook this box up to my web KVM and let someone watch it if they would like to try to see whats up here

    Dave P
  • remember that with 5.202 it was booted in a about 2-3 minutes  not the 20-30 its taking now... same box exactly
  • Are you using static addressing or DHCP or PPPoE?

    Barry
  • Static.  the same exact setup as in the 5.202 days nothing changed at all
  • Hi Dave,

    thx so far for the report and details!
    Can you please post the output of "hdparm /dev/hda" and "hwinfo --disk --bridge"?
  • I'm seeing similar boot times between 5.202 and 6 beta on the same hardware and setup.
  • What takes forever on v5 is v4watcher and confd.  Confd is a cpu hog anyways and apparently takes a long time to intialize at startup.

    Owner:  Emmanuel Technology Consulting

    http://etc-md.com

    Former Sophos SG(Astaro) advocate/researcher/Silver Partner

    PfSense w/Suricata, ntopng, 

    Other addons to follow

  • ok  I have an identical box here at work that I was using on 5.202  ^ does that same slowdown.  Im booting it now and go to lunch.  when I get back ill get you the hdparm info.  also.  FYI the Numlock key keeps flashing during this slow boot period starting at the :: Filesystemcheck and continues to flash until just before the login prompt.  something changes at this point and stuff runs fast again.  is hdparm getting run in some RC script?

    Dave P
  • host:/root # hwinfo --disk --bridge
    09: PCI(AGP) 00.0: 0600 Host bridge
      [Created at pci.274]
      Unique ID: qLht.BSw6U4IXQI6
      SysFS ID: /devices/pci0000:00/0000:00:00.0
      SysFS BusID: 0000:00:00.0
      Hardware Class: bridge
      Model: "Silicon Integrated 651 Host"
      Vendor: pci 0x1039 "Silicon Integrated Systems Corp."
      Device: pci 0x0651 "651 Host"
      SubVendor: pci 0x1039 "Silicon Integrated Systems Corp."
      SubDevice: pci 0x0651
      Revision: 0x01
      Memory Range: 0xd0000000-0xd7ffffff (rw,non-prefetchable)
      Config Status: cfg=new, avail=yes, need=no, active=unknown

    10: PCI 01.0: 0604 PCI bridge (Normal decode)
      [Created at pci.274]
      Unique ID: vSkL.s4zPh4a_106
      SysFS ID: /devices/pci0000:00/0000:00:01.0
      SysFS BusID: 0000:00:01.0
      Hardware Class: bridge
      Model: "Silicon Integrated Virtual PCI-to-PCI bridge (AGP)"
      Vendor: pci 0x1039 "Silicon Integrated Systems Corp."
      Device: pci 0x0001 "Virtual PCI-to-PCI bridge (AGP)"
      Config Status: cfg=new, avail=yes, need=no, active=unknown

    11: PCI 02.0: 0601 ISA bridge
      [Created at pci.274]
      Unique ID: _Znp.9OXccJdUjUC
      SysFS ID: /devices/pci0000:00/0000:00:02.0
      SysFS BusID: 0000:00:02.0
      Hardware Class: bridge
      Model: "Silicon Integrated SiS962 [MuTIOL Media IO]"
      Vendor: pci 0x1039 "Silicon Integrated Systems Corp."
      Device: pci 0x0962 "SiS962 [MuTIOL Media IO]"
      Revision: 0x04
      Config Status: cfg=new, avail=yes, need=no, active=unknown

    24: IDE 00.0: 10600 Disk
      [Created at block.190]
      Unique ID: Fffu.hhQV7yBf5P0
      Parent ID: JCE+.YcrdtZYUzlA
      SysFS ID: /block/hda
      SysFS BusID: 0.0
      SysFS Device Link: /devices/pci0000:00/0000:00:02.5/ide0/0.0
      Hardware Class: disk
      Model: "WDC WD200BB-75DEA0"
      Vendor: "WDC"
      Device: "WD200BB-75DEA0"
      Revision: "05.03E05"
      Serial ID: "WD-WMAD21858809"
      Driver: "SIS IDE", "ide-disk"
      Device File: /dev/hda
      Device Number: block 3:0-3:63
      BIOS id: 0x80
      Geometry (Physical): CHS 16383/16/63
      Geometry (Logical): CHS 38792/16/63
      Size: 39102336 sectors a 512 bytes
      Cache: 2048 kb
      Config Status: cfg=new, avail=yes, need=no, active=unknown
      Attached to: #13 (IDE interface)
    host:/root # clear
    host:/root # hwinfo --disk --bridge
    09: PCI(AGP) 00.0: 0600 Host bridge
      [Created at pci.274]
      Unique ID: qLht.BSw6U4IXQI6
      SysFS ID: /devices/pci0000:00/0000:00:00.0
      SysFS BusID: 0000:00:00.0
      Hardware Class: bridge
      Model: "Silicon Integrated 651 Host"
      Vendor: pci 0x1039 "Silicon Integrated Systems Corp."
      Device: pci 0x0651 "651 Host"
      SubVendor: pci 0x1039 "Silicon Integrated Systems Corp."
      SubDevice: pci 0x0651
      Revision: 0x01
      Memory Range: 0xd0000000-0xd7ffffff (rw,non-prefetchable)
      Config Status: cfg=new, avail=yes, need=no, active=unknown

    10: PCI 01.0: 0604 PCI bridge (Normal decode)
      [Created at pci.274]
      Unique ID: vSkL.s4zPh4a_106
      SysFS ID: /devices/pci0000:00/0000:00:01.0
      SysFS BusID: 0000:00:01.0
      Hardware Class: bridge
      Model: "Silicon Integrated Virtual PCI-to-PCI bridge (AGP)"
      Vendor: pci 0x1039 "Silicon Integrated Systems Corp."
      Device: pci 0x0001 "Virtual PCI-to-PCI bridge (AGP)"
      Config Status: cfg=new, avail=yes, need=no, active=unknown

    11: PCI 02.0: 0601 ISA bridge
      [Created at pci.274]
      Unique ID: _Znp.9OXccJdUjUC
      SysFS ID: /devices/pci0000:00/0000:00:02.0
      SysFS BusID: 0000:00:02.0
      Hardware Class: bridge
      Model: "Silicon Integrated SiS962 [MuTIOL Media IO]"
      Vendor: pci 0x1039 "Silicon Integrated Systems Corp."
      Device: pci 0x0962 "SiS962 [MuTIOL Media IO]"
      Revision: 0x04
      Config Status: cfg=new, avail=yes, need=no, active=unknown

    24: IDE 00.0: 10600 Disk
      [Created at block.190]
      Unique ID: Fffu.hhQV7yBf5P0
      Parent ID: JCE+.YcrdtZYUzlA
      SysFS ID: /block/hda
      SysFS BusID: 0.0
      SysFS Device Link: /devices/pci0000:00/0000:00:02.5/ide0/0.0
      Hardware Class: disk
      Model: "WDC WD200BB-75DEA0"
      Vendor: "WDC"
      Device: "WD200BB-75DEA0"
      Revision: "05.03E05"
      Serial ID: "WD-WMAD21858809"
      Driver: "SIS IDE", "ide-disk"
      Device File: /dev/hda
      Device Number: block 3:0-3:63
      BIOS id: 0x80
      Geometry (Physical): CHS 16383/16/63
      Geometry (Logical): CHS 38792/16/63
      Size: 39102336 sectors a 512 bytes
      Cache: 2048 kb
      Config Status: cfg=new, avail=yes, need=no, active=unknown
      Attached to: #13 (IDE interface)
    host:/root #

    host:/root # hdparm /dev/hda

    /dev/hda:
     multcount    = 16 (on)
     IO_support   =  0 (default 16-bit)
     unmaskirq    =  0 (off)
     using_dma    =  1 (on)
     keepsettings =  0 (off)
     readonly     =  0 (off)
     readahead    = 1024 (on)
     geometry     = 38792/16/63, sectors = 39102336, start = 0
    host:/root #
Reply
  • host:/root # hwinfo --disk --bridge
    09: PCI(AGP) 00.0: 0600 Host bridge
      [Created at pci.274]
      Unique ID: qLht.BSw6U4IXQI6
      SysFS ID: /devices/pci0000:00/0000:00:00.0
      SysFS BusID: 0000:00:00.0
      Hardware Class: bridge
      Model: "Silicon Integrated 651 Host"
      Vendor: pci 0x1039 "Silicon Integrated Systems Corp."
      Device: pci 0x0651 "651 Host"
      SubVendor: pci 0x1039 "Silicon Integrated Systems Corp."
      SubDevice: pci 0x0651
      Revision: 0x01
      Memory Range: 0xd0000000-0xd7ffffff (rw,non-prefetchable)
      Config Status: cfg=new, avail=yes, need=no, active=unknown

    10: PCI 01.0: 0604 PCI bridge (Normal decode)
      [Created at pci.274]
      Unique ID: vSkL.s4zPh4a_106
      SysFS ID: /devices/pci0000:00/0000:00:01.0
      SysFS BusID: 0000:00:01.0
      Hardware Class: bridge
      Model: "Silicon Integrated Virtual PCI-to-PCI bridge (AGP)"
      Vendor: pci 0x1039 "Silicon Integrated Systems Corp."
      Device: pci 0x0001 "Virtual PCI-to-PCI bridge (AGP)"
      Config Status: cfg=new, avail=yes, need=no, active=unknown

    11: PCI 02.0: 0601 ISA bridge
      [Created at pci.274]
      Unique ID: _Znp.9OXccJdUjUC
      SysFS ID: /devices/pci0000:00/0000:00:02.0
      SysFS BusID: 0000:00:02.0
      Hardware Class: bridge
      Model: "Silicon Integrated SiS962 [MuTIOL Media IO]"
      Vendor: pci 0x1039 "Silicon Integrated Systems Corp."
      Device: pci 0x0962 "SiS962 [MuTIOL Media IO]"
      Revision: 0x04
      Config Status: cfg=new, avail=yes, need=no, active=unknown

    24: IDE 00.0: 10600 Disk
      [Created at block.190]
      Unique ID: Fffu.hhQV7yBf5P0
      Parent ID: JCE+.YcrdtZYUzlA
      SysFS ID: /block/hda
      SysFS BusID: 0.0
      SysFS Device Link: /devices/pci0000:00/0000:00:02.5/ide0/0.0
      Hardware Class: disk
      Model: "WDC WD200BB-75DEA0"
      Vendor: "WDC"
      Device: "WD200BB-75DEA0"
      Revision: "05.03E05"
      Serial ID: "WD-WMAD21858809"
      Driver: "SIS IDE", "ide-disk"
      Device File: /dev/hda
      Device Number: block 3:0-3:63
      BIOS id: 0x80
      Geometry (Physical): CHS 16383/16/63
      Geometry (Logical): CHS 38792/16/63
      Size: 39102336 sectors a 512 bytes
      Cache: 2048 kb
      Config Status: cfg=new, avail=yes, need=no, active=unknown
      Attached to: #13 (IDE interface)
    host:/root # clear
    host:/root # hwinfo --disk --bridge
    09: PCI(AGP) 00.0: 0600 Host bridge
      [Created at pci.274]
      Unique ID: qLht.BSw6U4IXQI6
      SysFS ID: /devices/pci0000:00/0000:00:00.0
      SysFS BusID: 0000:00:00.0
      Hardware Class: bridge
      Model: "Silicon Integrated 651 Host"
      Vendor: pci 0x1039 "Silicon Integrated Systems Corp."
      Device: pci 0x0651 "651 Host"
      SubVendor: pci 0x1039 "Silicon Integrated Systems Corp."
      SubDevice: pci 0x0651
      Revision: 0x01
      Memory Range: 0xd0000000-0xd7ffffff (rw,non-prefetchable)
      Config Status: cfg=new, avail=yes, need=no, active=unknown

    10: PCI 01.0: 0604 PCI bridge (Normal decode)
      [Created at pci.274]
      Unique ID: vSkL.s4zPh4a_106
      SysFS ID: /devices/pci0000:00/0000:00:01.0
      SysFS BusID: 0000:00:01.0
      Hardware Class: bridge
      Model: "Silicon Integrated Virtual PCI-to-PCI bridge (AGP)"
      Vendor: pci 0x1039 "Silicon Integrated Systems Corp."
      Device: pci 0x0001 "Virtual PCI-to-PCI bridge (AGP)"
      Config Status: cfg=new, avail=yes, need=no, active=unknown

    11: PCI 02.0: 0601 ISA bridge
      [Created at pci.274]
      Unique ID: _Znp.9OXccJdUjUC
      SysFS ID: /devices/pci0000:00/0000:00:02.0
      SysFS BusID: 0000:00:02.0
      Hardware Class: bridge
      Model: "Silicon Integrated SiS962 [MuTIOL Media IO]"
      Vendor: pci 0x1039 "Silicon Integrated Systems Corp."
      Device: pci 0x0962 "SiS962 [MuTIOL Media IO]"
      Revision: 0x04
      Config Status: cfg=new, avail=yes, need=no, active=unknown

    24: IDE 00.0: 10600 Disk
      [Created at block.190]
      Unique ID: Fffu.hhQV7yBf5P0
      Parent ID: JCE+.YcrdtZYUzlA
      SysFS ID: /block/hda
      SysFS BusID: 0.0
      SysFS Device Link: /devices/pci0000:00/0000:00:02.5/ide0/0.0
      Hardware Class: disk
      Model: "WDC WD200BB-75DEA0"
      Vendor: "WDC"
      Device: "WD200BB-75DEA0"
      Revision: "05.03E05"
      Serial ID: "WD-WMAD21858809"
      Driver: "SIS IDE", "ide-disk"
      Device File: /dev/hda
      Device Number: block 3:0-3:63
      BIOS id: 0x80
      Geometry (Physical): CHS 16383/16/63
      Geometry (Logical): CHS 38792/16/63
      Size: 39102336 sectors a 512 bytes
      Cache: 2048 kb
      Config Status: cfg=new, avail=yes, need=no, active=unknown
      Attached to: #13 (IDE interface)
    host:/root #

    host:/root # hdparm /dev/hda

    /dev/hda:
     multcount    = 16 (on)
     IO_support   =  0 (default 16-bit)
     unmaskirq    =  0 (off)
     using_dma    =  1 (on)
     keepsettings =  0 (off)
     readonly     =  0 (off)
     readahead    = 1024 (on)
     geometry     = 38792/16/63, sectors = 39102336, start = 0
    host:/root #
Children