lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 27 Mar 2008 17:40:27 +0100
From:	Volker Armin Hemmann <volker.armin.hemmann@...clausthal.de>
To:	Tejun Heo <htejun@...il.com>
Cc:	linux-kernel@...r.kernel.org, linux-ide@...r.kernel.org
Subject: Re: 2.6.24.X: SATA/AHCI related boot delay. - not with 2.6.24.3

Hi,

I tried 2.6.25-rc7 and there are some changes.

Bad news first.
With AHCI in bios I get this:
[    0.363838] ------------[ cut here ]------------
[    0.363838] WARNING: at drivers/ata/ahci.c:645 ahci_init_one+0x190/0xa3a()
[    0.363838] Modules linked in:
[    0.363838] Pid: 1, comm: swapper Not tainted 2.6.25-rc7 #3
[    0.363838]
[    0.363838] Call Trace:
[    0.363838]  [<ffffffff8022c545>] warn_on_slowpath+0x51/0x63
[    0.363838]  [<ffffffff80220061>] __ioremap+0x8/0x197
[    0.363838]  [<ffffffff8038e218>] pci_conf1_read+0xb2/0xbd
[    0.363841]  [<ffffffff802f3076>] pcim_iomap_release+0x0/0x2c
[    0.363880]  [<ffffffff802f3076>] pcim_iomap_release+0x0/0x2c
[    0.363920]  [<ffffffff80346ca1>] devres_find+0x4b/0x65
[    0.363959]  [<ffffffff8036a405>] ahci_init_one+0x190/0xa3a
[    0.363998]  [<ffffffff802af91f>] sysfs_addrm_finish+0x1d/0x209
[    0.364038]  [<ffffffff80283f98>] ifind+0x34/0x8d
[    0.364076]  [<ffffffff802af636>] sysfs_find_dirent+0x1b/0x2f
[    0.364115]  [<ffffffff802eb4c5>] ida_get_new_above+0xf0/0x180
[    0.364154]  [<ffffffff802af91f>] sysfs_addrm_finish+0x1d/0x209
[    0.364194]  [<ffffffff802b0458>] sysfs_create_link+0xb6/0x102
[    0.364234]  [<ffffffff802f83c4>] pci_device_probe+0x4c/0x72
[    0.364273]  [<ffffffff80344874>] driver_probe_device+0xb5/0x132
[    0.364312]  [<ffffffff80344a07>] __driver_attach+0x6f/0xaf
[    0.364350]  [<ffffffff80344998>] __driver_attach+0x0/0xaf
[    0.364389]  [<ffffffff80344998>] __driver_attach+0x0/0xaf
[    0.364429]  [<ffffffff80343c82>] bus_for_each_dev+0x44/0x6f
[    0.364468]  [<ffffffff803444a0>] bus_add_driver+0xae/0x1f6
[    0.364507]  [<ffffffff80344c36>] driver_register+0x59/0xce
[    0.364546]  [<ffffffff802f8605>] __pci_register_driver+0x4a/0x7d
[    0.364587]  [<ffffffff804dd6b8>] kernel_init+0x14f/0x2b9
[    0.364626]  [<ffffffff8020be98>] child_rip+0xa/0x12
[    0.364670]  [<ffffffff804dd569>] kernel_init+0x0/0x2b9
[    0.364709]  [<ffffffff8020be8e>] child_rip+0x0/0x12
[    0.364746]
[    0.364783] ---[ end trace 1d94b6d2f6a54ae4 ]---
[    1.370499] ahci 0000:00:0a.0: AHCI 0001.0100 32 slots 4 ports 3 Gbps 0xf 
imp
l SATA mode
[    1.370499] ahci 0000:00:0a.0: flags: 64bit sntf led clo pmp pio
[    1.370499] PCI: Setting latency timer of device 0000:00:0a.0 to 64
[    1.370501] scsi0 : ahci
[    1.370509] scsi1 : ahci
[    1.370517] scsi2 : ahci
[    1.370526] scsi3 : ahci
[    1.370532] ata1: SATA max UDMA/133 abar m8192@...9dfc000 port 0xf9dfc100 
irq
 23
[    1.370532] ata2: SATA max UDMA/133 abar m8192@...9dfc000 port 0xf9dfc180 
irq
 23
[    1.370532] ata3: SATA max UDMA/133 abar m8192@...9dfc000 port 0xf9dfc200 
irq
 23
[    1.370532] ata4: SATA max UDMA/133 abar m8192@...9dfc000 port 0xf9dfc280 
irq
 23
[    1.801113] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    1.801617] ata1.00: ATA-7: WDC WD1600JS-00MHB1, 10.02E01, max UDMA/133
[    1.801617] ata1.00: 312581808 sectors, multi 16: LBA48
[    1.802150] ata1.00: configured for UDMA/133
[    2.434072] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    2.447930] ata2.00: ATA-8: SAMSUNG HD501LJ, CR100-12, max UDMA7
[    2.447930] ata2.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 0/32)
[    2.449834] ata2.00: configured for UDMA/133
[    2.767054] ata3: SATA link down (SStatus 0 SControl 300)
[    3.086918] ata4: SATA link down (SStatus 0 SControl 300)
[    3.290523] scsi 0:0:0:0: Direct-Access     ATA      WDC WD1600JS-00M 10.0 
PQ
: 0 ANSI: 5
[    3.290535] sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 
MB)
[    3.290535] sd 0:0:0:0: [sda] Write Protect is off
[    3.290535] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    3.290535] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, 
does
n't support DPO or FUA
[    3.290535] sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 
MB)
[    3.290535] sd 0:0:0:0: [sda] Write Protect is off
[    3.290535] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    3.290535] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, 
does
n't support DPO or FUA
[    3.290535]  sda: sda1 sda2 sda3 sda4 < sda5 sda6 >
[    3.122431] sd 0:0:0:0: [sda] Attached SCSI disk
[    3.122593] scsi 1:0:0:0: Direct-Access     ATA      SAMSUNG HD501LJ  CR10 
PQ
: 0 ANSI: 5
[    3.122721] sd 1:0:0:0: [sdb] 976773168 512-byte hardware sectors (500108 
MB)
[    3.122768] sd 1:0:0:0: [sdb] Write Protect is off
[    3.122806] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[    3.122820] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, 
does
n't support DPO or FUA
[    3.122900] sd 1:0:0:0: [sdb] 976773168 512-byte hardware sectors (500108 
MB)
[    3.122946] sd 1:0:0:0: [sdb] Write Protect is off
[    3.122984] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[    3.122998] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, 
does
n't support DPO or FUA
[    3.123047]  sdb: sdb1 sdb2
[    3.148928] sd 1:0:0:0: [sdb] Attached SCSI disk

with nomsi. Without nomsi drives are still not found. Evil or not, it looks 
scary ;) 

dmesg&config is attached.

Now the good ones. With non-raid set in bios box boots cleanly without hang:

[    0.360492] Driver 'sd' needs updating - please use bus_type methods
[    0.360498] ahci 0000:00:0a.0: version 3.0
[    0.360498] ACPI: PCI Interrupt Link [LSA0] enabled at IRQ 23
[    0.360498] ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LSA0] -> GSI 23 
(level, low) -> IRQ 23
[    1.363826] ahci 0000:00:0a.0: AHCI 0001.0100 32 slots 4 ports 3 Gbps 0xf 
impl IDE mode
[    1.363826] ahci 0000:00:0a.0: flags: 64bit sntf led clo pmp pio
[    1.363826] PCI: Setting latency timer of device 0000:00:0a.0 to 64
[    1.363828] scsi0 : ahci
[    1.363836] scsi1 : ahci
[    1.363844] scsi2 : ahci
[    1.363851] scsi3 : ahci
[    1.363857] ata1: SATA max UDMA/133 abar m8192@...9dfc000 port 0xf9dfc100 
irq 315
[    1.363857] ata2: SATA max UDMA/133 abar m8192@...9dfc000 port 0xf9dfc180 
irq 315
[    1.363857] ata3: SATA max UDMA/133 abar m8192@...9dfc000 port 0xf9dfc200 
irq 315
[    1.363857] ata4: SATA max UDMA/133 abar m8192@...9dfc000 port 0xf9dfc280 
irq 315
[    1.794371] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    1.794871] ata1.00: ATA-7: WDC WD1600JS-00MHB1, 10.02E01, max UDMA/133
[    1.794871] ata1.00: 312581808 sectors, multi 16: LBA48
[    1.795403] ata1.00: configured for UDMA/133
[    2.427327] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    2.447811] ata2.00: ATA-8: SAMSUNG HD501LJ, CR100-12, max UDMA7
[    2.447811] ata2.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 0/32)
[    2.449717] ata2.00: configured for UDMA/133
[    2.766980] ata3: SATA link down (SStatus 0 SControl 300)
[    3.086847] ata4: SATA link down (SStatus 0 SControl 300)
[    3.290513] scsi 0:0:0:0: Direct-Access     ATA      WDC WD1600JS-00M 10.0 
PQ: 0 ANSI: 5
[    3.290525] sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 
MB)
[    3.290525] sd 0:0:0:0: [sda] Write Protect is off
[    3.290525] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    3.290525] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, 
doesn't support DPO or FUA
[    3.290525] sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 
MB)
[    3.290525] sd 0:0:0:0: [sda] Write Protect is off
[    3.290525] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    3.290525] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, 
doesn't support DPO or FUA
[    3.290525]  sda: sda1 sda2 sda3 sda4 < sda5 sda6 >
[    3.123110] sd 0:0:0:0: [sda] Attached SCSI disk
[    3.123121] scsi 1:0:0:0: Direct-Access     ATA      SAMSUNG HD501LJ  CR10 
PQ: 0 ANSI: 5
[    3.123131] sd 1:0:0:0: [sdb] 976773168 512-byte hardware sectors (500108 
MB)
[    3.123131] sd 1:0:0:0: [sdb] Write Protect is off
[    3.123131] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[    3.123131] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, 
doesn't support DPO or FUA
[    3.123131] sd 1:0:0:0: [sdb] 976773168 512-byte hardware sectors (500108 
MB)
[    3.123131] sd 1:0:0:0: [sdb] Write Protect is off
[    3.123131] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[    3.123131] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, 
doesn't support DPO or FUA
[    3.123131]  sdb: sdb1 sdb2
[    3.127056] sd 1:0:0:0: [sdb] Attached SCSI disk

again, dmesg is attached.

Glück Auf,
Volker

View attachment "dmesg_2.6.25_rc7" of type "text/plain" (30897 bytes)

View attachment "dmesg_2.6.25_rc7_non_raid" of type "text/plain" (28857 bytes)

View attachment ".config" of type "text/plain" (40409 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ