Alan Jenkins wrote:
> On 6/23/09, Jelle de Jong <[email protected]> wrote:
>> Jelle de Jong wrote:
>>> Hi all,
>>>
>>> The new kernel 2.6.30-1-686 came into Debian this last week and I got
>>> the itches to do some fast boot testing. The result is still
>>> disappointing for me, its still the same as a year back and the kernel
>>> even got slower compared to 2.6.29-2-486 but there are some good points.
>>>
>>> The parallel booting of script kind of works now. I added my results to
>>> the wiki I hope that's ok:
>>> http://wiki.debian.org/BootProcessSpeedup#Testsresultsofusers
>>>
>>> purpose:
>>> I build a lot of different linux systems, some just need fast bootup
>>> like multimedia devices, easy internet devices, netbooks et cetera. one
>>> of the requirements is maintainability and stability. I don't get
>>> maintainability by recompiling my own software, so that is not an
>>> option. What is an option is to tweak all the configuration systems I
>>> can find, test them for stability and use them.
>>>
>>> I use grub2 and it has no behavior like hiddenmenu, you can see three
>>> flashes during boot before it comes to the steady "loading system" state.
>>>
>>> result:
>>> my boot process is around 5 � 6 seconds.
>> I spoke with the debian udev maintainer after posting this mail and I
>> showed him the some of my bootchart. So he said to me it had nothing to
>> do with udev and that the modprobe process was just waiting on the
>> kernel. So I started debugging and disabled all possible hardware in the
>> bios:
>> http://wiki.debian.org/BootProcessSpeedup?action=AttachFile&do=view&target=bootchart17.png
>>
>> Now you can clearly see it is not an cpu or i/o issue. So I started to
>> blacklist kernel modules one by one, all audio, all bluetooth, all usb,
>> all network stuff.
>>
>> Until I hit the eeepc_laptop module, this module is responsible for a
>> huge huge delay during bootup, and as soon as I removed it the boot time
>> speedup to around 6 seconds, and with some other tweaks I made a 5
>> second desktop WITHOUT any recompilation of code. My system only uses
>> configuration changes.
>>
>> So if we can fix the grub2 issues and make it cleaner and faster we can
>> get some really nice desktop systems.
>>
>> Am I the fist to hit the 5 second boundary without recompilation? :D
>>
>> see all:
>> http://wiki.debian.org/BootProcessSpeedup?action=AttachFile&do=view&target=bootchart21.png
>> http://wiki.debian.org/BootProcessSpeedup?action=AttachFile&do=get&target=5-second-desktop-bootchart-v0.1.2j.tar.gz
>> http://wiki.debian.org/BootProcessSpeedup#Testsresultsofusers
> 
> Wow, my 701 doesn't have this problem with eeepc-laptop.  We
> definitely need to fix that delay! Which model is this exactly?
> 
> Please check you're not using the pciehp module (with pciehp_force=1).
> I think there's a problem where pciehp caused large delays, and
> debian-eeepc enabled pciehp_force.  Nowadays eeepc-laptop is supposed
> to do the same job, without any delays.
> 
> Now you've blacklisted eeepc-laptop, it would be great if you could
> confirm the problem by running "time modprobe eeepc-laptop" on a
> running system.
> 
> If this is really eeepc-laptop, a good start would be to post the
> output of "dmesg", after booting with the option "printk.time=1" and
> loading eeepc-laptop.
> 
> Regards
> Alan

Hi Alan,

Thanks for your email, I did some testing please see the attachments.
Loading the eeepc-laptop modules takes 17 seconds! So I am sure this is
causing the delay :D

time modprobe eeepc-laptop
    real    0m17.319s
    user    0m0.008s
    sys     0m0.060s

The printk.time=1 did not do anything on my system, also see the logs,
and according /proc/modules I am also not using the pciehp module.

Best regards,

Jelle de Jong
# this does not work
vim /etc/sysctl.conf
printk.time=1
sysctl -p

# nothing there pciehp is not used
grep pciehp /proc/modules

sudo dmidecode | sudo tee dmidecode-asus-eeepc-901.txt
sudo lsmod | sudo tee lsmod-asus-eeepc-901.txt
sudo lspci | sudo tee lspci-asus-eeepc-901.txt

modinfo eeepc-laptop
    filename:       
/lib/modules/2.6.30-1-686/kernel/drivers/platform/x86/eeepc-laptop.ko
    license:        GPL
    description:    Eee PC Hotkey Driver
    author:         Corentin Chary, Eric Cooper
    alias:          acpi*:ASUS010:*
    depends:        rfkill
    vermagic:       2.6.30-1-686 SMP mod_unload modversions 686

# adding the printk.time to the cmdline
sudo vim /etc/default/grub
    GRUB_CMDLINE_LINUX="elevator=noop quiet noresume clocksource=hpet 
printk.time=1 init=/sbin/bootchartd"
sudo update-grub

cat /proc/cmdline
    BOOT_IMAGE=/boot/vmlinuz-2.6.30-1-686 
root=UUID=3e6384e0-dcaf-4c93-972f-f54c00a7dd22 ro elevator=noop quiet noresume 
clocksource=hpet printk.time=1 init=/sbin/bootchartd

sudo su -

# 17 seconds!
time modprobe eeepc-laptop
    real    0m17.319s
    user    0m0.008s
    sys 0m0.060s

sudo dmesg | sudo tee dmesg-asus-eeepc-901.txt
    <snip>
    [   71.657196] eeepc: Eee PC Hotkey Driver
    [   88.912474] eeepc: Hotkey init flags 0x41
    [   88.918285] eeepc: Get control methods supported: 0x101713
    [   88.918695] input: Asus EeePC extra buttons as 
/devices/virtual/input/input10

Attachment: dmesg-asus-eeepc-901.tar.gz
Description: application/gzip

# dmidecode 2.9
SMBIOS 2.5 present.
30 structures occupying 1289 bytes.
Table at 0x000F0710.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
        Vendor: American Megatrends Inc.
        Version: 1703   
        Release Date: 10/14/2008
        Address: 0xF0000
        Runtime Size: 64 kB
        ROM Size: 512 kB
        Characteristics:
                ISA is supported
                PCI is supported
                PNP is supported
                APM is supported
                BIOS is upgradeable
                BIOS shadowing is allowed
                ESCD support is available
                Boot from CD is supported
                Selectable boot is supported
                BIOS ROM is socketed
                EDD is supported
                5.25"/1.2 MB floppy services are supported (int 13h)
                3.5"/720 KB floppy services are supported (int 13h)
                3.5"/2.88 MB floppy services are supported (int 13h)
                Print screen service is supported (int 5h)
                8042 keyboard services are supported (int 9h)
                Serial services are supported (int 14h)
                Printer services are supported (int 17h)
                CGA/mono video services are supported (int 10h)
                ACPI is supported
                USB legacy is supported
                LS-120 boot is supported
                ATAPI Zip drive boot is supported
                BIOS boot specification is supported
                Targeted content distribution is supported
        BIOS Revision: 8.12
        Firmware Revision: 0.1

Handle 0x0001, DMI type 1, 27 bytes
System Information
        Manufacturer: ASUSTeK Computer INC.
        Product Name: 901
        Version: x.x
        Serial Number: EeePC-1234567890
        UUID: 808F5539-314C-DD81-2B4B-00221543E9E5
        Wake-up Type: Power Switch
        SKU Number: 90OAM0BA51211111K20CQ
        Family: To Be Filled By O.E.M.

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
        Manufacturer: ASUSTeK Computer INC.
        Product Name: 901
        Version: x.xx
        Serial Number: EeePC-0123456789
        Asset Tag: To Be Filled By O.E.M.
        Features:
                Board is a hosting board
                Board is replaceable
        Location In Chassis: To Be Filled By O.E.M.
        Chassis Handle: 0x0003
        Type: Motherboard
        Contained Object Handles: 0

Handle 0x0003, DMI type 3, 21 bytes
Chassis Information
        Manufacturer: ASUSTek Computer INC.
        Type: Notebook
        Lock: Present
        Version: x.x
        Serial Number: 0x00000000
        Asset Tag: 0x00000000
        Boot-up State: Safe
        Power Supply State: Safe
        Thermal State: Safe
        Security Status: None
        OEM Information: 0x00000000
        Height: Unspecified
        Number Of Power Cords: 1
        Contained Elements: 0

Handle 0x0004, DMI type 4, 35 bytes
Processor Information
        Socket Designation: PBGA 437
        Type: Central Processor
        Family: Unknown
        Manufacturer: Intel            
        ID: C2 06 01 00 FF FB E9 BF
        Version: Intel(R) Atom(TM) CPU N270   @ 1.60GHz              
        Voltage: 1.3 V
        External Clock: 133 MHz
        Max Speed: 1666 MHz
        Current Speed: 1600 MHz
        Status: Populated, Enabled
        Upgrade: Other
        L1 Cache Handle: 0x0005
        L2 Cache Handle: 0x0006
        L3 Cache Handle: 0x0007
        Serial Number: To Be Filled By O.E.M.
        Asset Tag: To Be Filled By O.E.M.
        Part Number: To Be Filled By O.E.M.

Handle 0x0005, DMI type 7, 19 bytes
Cache Information
        Socket Designation: L1-Cache
        Configuration: Enabled, Not Socketed, Level 1
        Operational Mode: Write Back
        Location: Internal
        Installed Size: 24 KB
        Maximum Size: 24 KB
        Supported SRAM Types:
                Other
        Installed SRAM Type: Other
        Speed: Unknown
        Error Correction Type: Parity
        System Type: Data
        Associativity: Other

Handle 0x0006, DMI type 7, 19 bytes
Cache Information
        Socket Designation: L2-Cache
        Configuration: Enabled, Not Socketed, Level 2
        Operational Mode: Write Back
        Location: Internal
        Installed Size: 512 KB
        Maximum Size: 512 KB
        Supported SRAM Types:
                Other
        Installed SRAM Type: Other
        Speed: Unknown
        Error Correction Type: Single-bit ECC
        System Type: Unified
        Associativity: 8-way Set-associative

Handle 0x0007, DMI type 7, 19 bytes
Cache Information
        Socket Designation: L3-Cache
        Configuration: Disabled, Not Socketed, Level 3
        Operational Mode: Unknown
        Location: Internal
        Installed Size: 0 KB
        Maximum Size: 0 KB
        Supported SRAM Types:
                Unknown
        Installed SRAM Type: Unknown
        Speed: Unknown
        Error Correction Type: Unknown
        System Type: Unknown
        Associativity: Unknown

Handle 0x0008, DMI type 5, 18 bytes
Memory Controller Information
        Error Detecting Method: 64-bit ECC
        Error Correcting Capabilities:
                None
        Supported Interleave: One-way Interleave
        Current Interleave: One-way Interleave
        Maximum Memory Module Size: 1024 MB
        Maximum Total Memory Size: 1024 MB
        Supported Speeds:
                Other
        Supported Memory Types:
                DIMM
                SDRAM
        Memory Module Voltage: 3.3 V
        Associated Memory Slots: 1
                0x0009
        Enabled Error Correcting Capabilities:
                None

Handle 0x0009, DMI type 6, 12 bytes
Memory Module Information
        Socket Designation: DIMM0
        Bank Connections: 0 1
        Current Speed: Unknown
        Type: DIMM SDRAM
        Installed Size: 1024 MB (Single-bank Connection)
        Enabled Size: 1024 MB (Single-bank Connection)
        Error Status: OK

Handle 0x000A, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: J2A2
        Internal Connector Type: None
        External Reference Designator: USB1
        External Connector Type: Access Bus (USB)
        Port Type: USB

Handle 0x000B, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: J2A2
        Internal Connector Type: None
        External Reference Designator: USB2
        External Connector Type: Access Bus (USB)
        Port Type: USB

Handle 0x000C, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: J5A1
        Internal Connector Type: None
        External Reference Designator: USB3
        External Connector Type: Access Bus (USB)
        Port Type: USB

Handle 0x000D, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: J5A1
        Internal Connector Type: None
        External Reference Designator: USB4
        External Connector Type: Access Bus (USB)
        Port Type: USB

Handle 0x000E, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: J6A1
        Internal Connector Type: None
        External Reference Designator: Audio Mic In
        External Connector Type: Mini Jack (headphones)
        Port Type: Audio Port

Handle 0x000F, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: J6A1
        Internal Connector Type: None
        External Reference Designator: Audio Line In
        External Connector Type: Mini Jack (headphones)
        Port Type: Audio Port

Handle 0x0010, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: J6A1
        Internal Connector Type: None
        External Reference Designator: Audio Line Out
        External Connector Type: Mini Jack (headphones)
        Port Type: Audio Port

Handle 0x0011, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: J5A1
        Internal Connector Type: None
        External Reference Designator: LAN
        External Connector Type: RJ-45
        Port Type: Network Port

Handle 0x0012, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: J6J2 - PRI IDE
        Internal Connector Type: On Board IDE
        External Reference Designator: Not Specified
        External Connector Type: None
        Port Type: Other

Handle 0x0013, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: J6J1 - SEC IDE
        Internal Connector Type: On Board IDE
        External Reference Designator: Not Specified
        External Connector Type: None
        Port Type: Other

Handle 0x0014, DMI type 10, 6 bytes
On Board Device Information
        Type: Video
        Status: Enabled
        Description:   To Be Filled By O.E.M.

Handle 0x0015, DMI type 11, 5 bytes
OEM Strings
        String 1: To Be Filled By O.E.M.
        String 2: To Be Filled By O.E.M.
        String 3: To Be Filled By O.E.M.
        String 4: To Be Filled By O.E.M.

Handle 0x0016, DMI type 13, 22 bytes
BIOS Language Information
        Installable Languages: 1
                en|US|iso8859-1
        Currently Installed Language: en|US|iso8859-1

Handle 0x0017, DMI type 15, 35 bytes
System Event Log
        Area Length: 4 bytes
        Header Start Offset: 0x0000
        Header Length: 2 bytes
        Data Start Offset: 0x0002
        Access Method: Indexed I/O, one 16-bit index port, one 8-bit data port
        Access Address: Index 0x046A, Data 0x046C
        Status: Invalid, Not Full
        Change Token: 0x00000000
        Header Format: No Header
        Supported Log Type Descriptors: 6
        Descriptor 1: End of log
        Data Format 1: OEM-specific
        Descriptor 2: End of log
        Data Format 2: OEM-specific
        Descriptor 3: End of log
        Data Format 3: OEM-specific
        Descriptor 4: End of log
        Data Format 4: OEM-specific
        Descriptor 5: End of log
        Data Format 5: OEM-specific
        Descriptor 6: End of log
        Data Format 6: OEM-specific

Handle 0x0018, DMI type 16, 15 bytes
Physical Memory Array
        Location: System Board Or Motherboard
        Use: System Memory
        Error Correction Type: None
        Maximum Capacity: 4 GB
        Error Information Handle: Not Provided
        Number Of Devices: 1

Handle 0x0019, DMI type 19, 15 bytes
Memory Array Mapped Address
        Starting Address: 0x00000000000
        Ending Address: 0x000400003FF
        Range Size: 1048577 kB
        Physical Array Handle: 0x0018
        Partition Width: 0

Handle 0x001A, DMI type 17, 27 bytes
Memory Device
        Array Handle: 0x0018
        Error Information Handle: Not Provided
        Total Width: 64 bits
        Data Width: 64 bits
        Size: 1024 MB
        Form Factor: DIMM
        Set: None
        Locator: DIMM0
        Bank Locator: BANK0
        Type: SDRAM
        Type Detail: Synchronous
        Speed: Unknown
        Manufacturer: Manufacturer0
        Serial Number: SerNum0
        Asset Tag: AssetTagNum0
        Part Number: PartNum0

Handle 0x001B, DMI type 20, 19 bytes
Memory Device Mapped Address
        Starting Address: 0x00000000000
        Ending Address: 0x0003FFFFFFF
        Range Size: 1 GB
        Physical Device Handle: 0x001A
        Memory Array Mapped Address Handle: 0x0019
        Partition Row Position: 1
        Interleaved Data Depth: 1

Handle 0x001C, DMI type 32, 20 bytes
System Boot Information
        Status: No errors detected

Handle 0x001D, DMI type 127, 4 bytes
End Of Table

Module                  Size  Used by
mt2060                  4356  1 
af9013                 16424  1 
usbhid                 31544  0 
dvb_usb_af9015         20876  15 
dvb_usb                14572  1 dvb_usb_af9015
dvb_core               75616  1 dvb_usb
joydev                  8576  0 
hidp                   12220  2 
hid                    34516  2 usbhid,hidp
bridge                 39956  0 
stp                     2112  1 bridge
bnep                   10872  2 
sco                     8832  2 
rfcomm                 30236  4 
l2cap                  18104  25 hidp,bnep,rfcomm
fuse                   47760  3 
acpi_cpufreq            7608  0 
btusb                  10276  6 
bluetooth              46924  10 hidp,bnep,sco,rfcomm,l2cap,btusb
asix                   13096  0 
usbnet                 14932  1 asix
snd_hda_codec_realtek   178316  1 
mii                     4664  2 asix,usbnet
snd_hda_intel          22192  4 
snd_hda_codec          63520  2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               6104  1 snd_hda_codec
snd_pcm_oss            32232  0 
snd_mixer_oss          12368  1 snd_pcm_oss
snd_pcm                62364  4 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_midi            5688  0 
snd_rawmidi            18580  1 snd_seq_midi
snd_seq_midi_event      6212  1 snd_seq_midi
snd_seq                42436  2 snd_seq_midi,snd_seq_midi_event
i2c_i801                8580  0 
uhci_hcd               19140  0 
psmouse                37528  0 
evdev                   8028  14 
ehci_hcd               29660  0 
snd_timer              17436  3 snd_pcm,snd_seq
snd_seq_device          6136  3 snd_seq_midi,snd_rawmidi,snd_seq
i2c_core               20840  5 mt2060,af9013,dvb_usb_af9015,dvb_usb,i2c_i801
rng_core                3664  0 
video                  17980  0 
output                  2604  1 video
usbcore               125872  9 
usbhid,dvb_usb_af9015,dvb_usb,btusb,asix,usbnet,uhci_hcd,ehci_hcd
ac                      2960  0 
battery                 6012  0 
snd                    49040  17 
snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
processor              34476  3 acpi_cpufreq
button                  5060  0 
soundcore               6184  1 snd
snd_page_alloc          8180  2 snd_hda_intel,snd_pcm
intel_agp              22908  1 
agpgart                30788  2 intel_agp
ext2                   53996  1 
mbcache                 6924  1 ext2
sd_mod                 28748  2 
crc_t10dif              1632  1 sd_mod
thermal                12572  0 
fan                     4040  0 
thermal_sys            13128  4 video,processor,thermal,fan
ide_pci_generic         3632  0 
ide_core               88100  1 ide_pci_generic
ata_generic             4340  0 
ata_piix               20848  1 
libata                150624  2 ata_generic,ata_piix
scsi_mod              131604  2 sd_mod,libata
00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller 
Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express 
Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML 
Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition 
Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 
(rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 
(rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 
(rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 
(rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI 
Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI 
Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI 
Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI 
Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI 
Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge 
(rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE 
Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
_______________________________________________
Debian-eeepc-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/debian-eeepc-devel

Reply via email to