2010-07-02 17:56:50

by Mark Knecht

[permalink] [raw]
Subject: Drives missing at boot

Hi,
I have a newish machine - maybe 3 months old - which unreliably
finds its disk drives at each boot. Probably 40% of the time booting 1
or more drives will be missing.

So far I've been unable to determine what might be wrong. Sometimes
it finds all 5 drives, sometimes only 4 or 3 drives. It's not always
the same drives that are missing. Shown below are two successive warm
boots. The machien had been running with all 5 drives working. The
first time through it missed both /dev/sdd and /dev/sde while the very
next time it found all 5 drives. Each of the 5 drives has been missing
one or more times at different boots. (I.e. - it's not always drive
sdd for instance.)

Every time I boot the AMI BIOS screen says all 5 drives are there.
I have found that if I drop into BIOS before going to grub that
selecting each drive one at a time and reading through it's setup
seems to make the boot more reliable, but not 100%. Probably 80%
reliable.

I don't know what info is required to look at this. I'm running the
newest Gentoo kernel but it's been happening with all kernels I've
tried since I built the machine. I'm attaching the kernel config as
well as dmesg from the last boot which had all the drives. The only
difference in dmesg when the drives don't show up (that I've spotted)
is that the missing drive just isn't in dmesg. (I.e. no error messages
that I could spot.)

Let me know what I might try or what other info you might want. The
motherboard is an Asus Rampage II Extreme with an i7-980x 6 core/12
thread processor. sda, sdb & sdc are part of a RAID1, sdd & sde are
part of a RAID0.

Thanks,
Mark

mark@c2stable ~ $ uname -a
Linux c2stable 2.6.34-gentoo-r1 #1 SMP PREEMPT Fri Jul 2 10:04:52 PDT
2010 x86_64 Intel(R) Core(TM) i7 CPU X 980 @ 3.33GHz GenuineIntel
GNU/Linux
mark@c2stable ~ $
mark@c2stable ~ $ ls -la /dev/sd*
brw-rw---- 1 root disk 8, 0 Jul 2 2010 /dev/sda
brw-rw---- 1 root disk 8, 1 Jul 2 2010 /dev/sda1
brw-rw---- 1 root disk 8, 2 Jul 2 2010 /dev/sda2
brw-rw---- 1 root disk 8, 3 Jul 2 2010 /dev/sda3
brw-rw---- 1 root disk 8, 4 Jul 2 2010 /dev/sda4
brw-rw---- 1 root disk 8, 5 Jul 2 2010 /dev/sda5
brw-rw---- 1 root disk 8, 6 Jul 2 2010 /dev/sda6
brw-rw---- 1 root disk 8, 16 Jul 2 2010 /dev/sdb
brw-rw---- 1 root disk 8, 17 Jul 2 2010 /dev/sdb1
brw-rw---- 1 root disk 8, 18 Jul 2 2010 /dev/sdb2
brw-rw---- 1 root disk 8, 19 Jul 2 2010 /dev/sdb3
brw-rw---- 1 root disk 8, 20 Jul 2 2010 /dev/sdb4
brw-rw---- 1 root disk 8, 21 Jul 2 2010 /dev/sdb5
brw-rw---- 1 root disk 8, 22 Jul 2 2010 /dev/sdb6
brw-rw---- 1 root disk 8, 32 Jul 2 2010 /dev/sdc
brw-rw---- 1 root disk 8, 33 Jul 2 2010 /dev/sdc1
brw-rw---- 1 root disk 8, 34 Jul 2 2010 /dev/sdc2
brw-rw---- 1 root disk 8, 35 Jul 2 2010 /dev/sdc3
brw-rw---- 1 root disk 8, 36 Jul 2 2010 /dev/sdc4
brw-rw---- 1 root disk 8, 37 Jul 2 2010 /dev/sdc5
brw-rw---- 1 root disk 8, 38 Jul 2 2010 /dev/sdc6
mark@c2stable ~ $

[AFTER A REBOOT]

mark@c2stable ~ $ ls -la /dev/sd*
brw-rw---- 1 root disk 8, 0 Jul 2 2010 /dev/sda
brw-rw---- 1 root disk 8, 1 Jul 2 2010 /dev/sda1
brw-rw---- 1 root disk 8, 2 Jul 2 2010 /dev/sda2
brw-rw---- 1 root disk 8, 3 Jul 2 2010 /dev/sda3
brw-rw---- 1 root disk 8, 4 Jul 2 2010 /dev/sda4
brw-rw---- 1 root disk 8, 5 Jul 2 2010 /dev/sda5
brw-rw---- 1 root disk 8, 6 Jul 2 2010 /dev/sda6
brw-rw---- 1 root disk 8, 16 Jul 2 2010 /dev/sdb
brw-rw---- 1 root disk 8, 17 Jul 2 2010 /dev/sdb1
brw-rw---- 1 root disk 8, 18 Jul 2 2010 /dev/sdb2
brw-rw---- 1 root disk 8, 19 Jul 2 2010 /dev/sdb3
brw-rw---- 1 root disk 8, 20 Jul 2 2010 /dev/sdb4
brw-rw---- 1 root disk 8, 21 Jul 2 2010 /dev/sdb5
brw-rw---- 1 root disk 8, 22 Jul 2 2010 /dev/sdb6
brw-rw---- 1 root disk 8, 32 Jul 2 2010 /dev/sdc
brw-rw---- 1 root disk 8, 33 Jul 2 2010 /dev/sdc1
brw-rw---- 1 root disk 8, 34 Jul 2 2010 /dev/sdc2
brw-rw---- 1 root disk 8, 35 Jul 2 2010 /dev/sdc3
brw-rw---- 1 root disk 8, 36 Jul 2 2010 /dev/sdc4
brw-rw---- 1 root disk 8, 37 Jul 2 2010 /dev/sdc5
brw-rw---- 1 root disk 8, 38 Jul 2 2010 /dev/sdc6
brw-rw---- 1 root disk 8, 48 Jul 2 2010 /dev/sdd
brw-rw---- 1 root disk 8, 49 Jul 2 2010 /dev/sdd1
brw-rw---- 1 root disk 8, 64 Jul 2 2010 /dev/sde
brw-rw---- 1 root disk 8, 65 Jul 2 2010 /dev/sde1
mark@c2stable ~ $
c2stable ~ # lspci -v
00:00.0 Host bridge: Intel Corporation X58 I/O Hub to ESI Port (rev 13)
Subsystem: ASUSTeK Computer Inc. Device 836b
Flags: fast devsel
Capabilities: [60] MSI: Enable- Count=1/2 Maskable+ 64bit-
Capabilities: [90] Express Root Port (Slot-), MSI 00
Capabilities: [e0] Power Management version 3
Capabilities: [100] Advanced Error Reporting
Capabilities: [150] Access Control Services
Capabilities: [160] Vendor Specific Information <?>

00:01.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI
Express Root Port 1 (rev 13) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Capabilities: [40] Subsystem: ASUSTeK Computer Inc. Device
836b
Capabilities: [60] MSI: Enable+ Count=1/2 Maskable+ 64bit-
Capabilities: [90] Express Root Port (Slot+), MSI 00
Capabilities: [e0] Power Management version 3
Capabilities: [100] Advanced Error Reporting
Capabilities: [150] Access Control Services
Capabilities: [160] Vendor Specific Information <?>
Kernel driver in use: pcieport

00:03.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI
Express Root Port 3 (rev 13) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
Capabilities: [40] Subsystem: ASUSTeK Computer Inc. Device 836b
Capabilities: [60] MSI: Enable+ Count=1/2 Maskable+ 64bit-
Capabilities: [90] Express Root Port (Slot+), MSI 00
Capabilities: [e0] Power Management version 3
Capabilities: [100] Advanced Error Reporting
Capabilities: [150] Access Control Services
Capabilities: [160] Vendor Specific Information <?>
Kernel driver in use: pcieport

00:07.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI
Express Root Port 7 (rev 13) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: 0000a000-0000afff
Memory behind bridge: fba00000-fbafffff
Prefetchable memory behind bridge: 00000000d0000000-00000000dfffffff
Capabilities: [40] Subsystem: ASUSTeK Computer Inc. Device 836b
Capabilities: [60] MSI: Enable+ Count=1/2 Maskable+ 64bit-
Capabilities: [90] Express Root Port (Slot+), MSI 00
Capabilities: [e0] Power Management version 3
Capabilities: [100] Advanced Error Reporting
Capabilities: [150] Access Control Services
Capabilities: [160] Vendor Specific Information <?>
Kernel driver in use: pcieport

00:14.0 PIC: Intel Corporation 5520/5500/X58 I/O Hub System Management
Registers (rev 13) (prog-if 00 [8259])
Flags: fast devsel
Capabilities: [40] Express Root Complex Integrated Endpoint, MSI 00

00:14.1 PIC: Intel Corporation 5520/5500/X58 I/O Hub GPIO and Scratch
Pad Registers (rev 13) (prog-if 00 [8259])
Flags: fast devsel
Capabilities: [40] Express Root Complex Integrated Endpoint, MSI 00

00:14.2 PIC: Intel Corporation 5520/5500/X58 I/O Hub Control Status
and RAS Registers (rev 13) (prog-if 00 [8259])
Flags: fast devsel
Capabilities: [40] Express Root Complex Integrated Endpoint, MSI 00

00:14.3 PIC: Intel Corporation 5520/5500/X58 I/O Hub Throttle
Registers (rev 13) (prog-if 00 [8259])
Flags: fast devsel

00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB
UHCI Controller #4 (prog-if 00 [UHCI])
Subsystem: ASUSTeK Computer Inc. Device 82d4
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at 9800 [size=32]
Capabilities: [50] PCI Advanced Features
Kernel driver in use: uhci_hcd

00:1a.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB
UHCI Controller #5 (prog-if 00 [UHCI])
Subsystem: ASUSTeK Computer Inc. Device 82d4
Flags: bus master, medium devsel, latency 0, IRQ 21
I/O ports at 9880 [size=32]
Capabilities: [50] PCI Advanced Features
Kernel driver in use: uhci_hcd

00:1a.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB
UHCI Controller #6 (prog-if 00 [UHCI])
Subsystem: ASUSTeK Computer Inc. Device 82d4
Flags: bus master, medium devsel, latency 0, IRQ 19
I/O ports at 9c00 [size=32]
Capabilities: [50] PCI Advanced Features
Kernel driver in use: uhci_hcd

00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2
EHCI Controller #2 (prog-if 20 [EHCI])
Subsystem: ASUSTeK Computer Inc. Device 82d4
Flags: bus master, medium devsel, latency 0, IRQ 18
Memory at fb9ff000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port: BAR=1 offset=00a0
Capabilities: [98] PCI Advanced Features
Kernel driver in use: ehci_hcd

00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD
Audio Controller
Subsystem: ASUSTeK Computer Inc. Device 82ea
Flags: bus master, fast devsel, latency 0, IRQ 57
Memory at fb9f8000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [100] Virtual Channel <?>
Capabilities: [130] Root Complex Link <?>
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel

00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI
Express Port 1 (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=07, subordinate=07, sec-latency=0
I/O behind bridge: 00001000-00001fff
Memory behind bridge: c0000000-c03fffff
Prefetchable memory behind bridge: 00000000faf00000-00000000faffffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device 82ea
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel <?>
Capabilities: [180] Root Complex Link <?>
Kernel driver in use: pcieport

00:1c.2 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI
Express Port 3 (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=06, subordinate=06, sec-latency=0
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: fbd00000-fbdfffff
Prefetchable memory behind bridge: 00000000c0400000-00000000c05fffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device 82ea
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel <?>
Capabilities: [180] Root Complex Link <?>
Kernel driver in use: pcieport

00:1c.4 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI
Express Port 5 (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
I/O behind bridge: 0000c000-0000cfff
Memory behind bridge: fbc00000-fbcfffff
Prefetchable memory behind bridge: 00000000c0600000-00000000c07fffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device 82ea
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel <?>
Capabilities: [180] Root Complex Link <?>
Kernel driver in use: pcieport

00:1c.5 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI
Express Port 6 (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
I/O behind bridge: 0000b000-0000bfff
Memory behind bridge: fbb00000-fbbfffff
Prefetchable memory behind bridge: 00000000c0800000-00000000c09fffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device 82ea
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel <?>
Capabilities: [180] Root Complex Link <?>
Kernel driver in use: pcieport

00:1d.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB
UHCI Controller #1 (prog-if 00 [UHCI])
Subsystem: ASUSTeK Computer Inc. Device 82d4
Flags: bus master, medium devsel, latency 0, IRQ 23
I/O ports at 9080 [size=32]
Capabilities: [50] PCI Advanced Features
Kernel driver in use: uhci_hcd

00:1d.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB
UHCI Controller #2 (prog-if 00 [UHCI])
Subsystem: ASUSTeK Computer Inc. Device 82d4
Flags: bus master, medium devsel, latency 0, IRQ 19
I/O ports at 9400 [size=32]
Capabilities: [50] PCI Advanced Features
Kernel driver in use: uhci_hcd

00:1d.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB
UHCI Controller #3 (prog-if 00 [UHCI])
Subsystem: ASUSTeK Computer Inc. Device 82d4
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at 9480 [size=32]
Capabilities: [50] PCI Advanced Features
Kernel driver in use: uhci_hcd

00:1d.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2
EHCI Controller #1 (prog-if 20 [EHCI])
Subsystem: ASUSTeK Computer Inc. Device 82d4
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at fb9fe000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port: BAR=1 offset=00a0
Capabilities: [98] PCI Advanced Features
Kernel driver in use: ehci_hcd

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
(prog-if 01 [Subtractive decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=08, subordinate=08, sec-latency=32
I/O behind bridge: 0000e000-0000efff
Memory behind bridge: fbe00000-fbefffff
Capabilities: [50] Subsystem: ASUSTeK Computer Inc. Device 82d4

00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller
Subsystem: ASUSTeK Computer Inc. Device 82d4
Flags: bus master, medium devsel, latency 0
Capabilities: [e0] Vendor Specific Information <?>

00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10 Family) 4 port
SATA IDE Controller (prog-if 8f [Master SecP SecO PriP PriO])
Subsystem: ASUSTeK Computer Inc. Device 82d4
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 20
I/O ports at 8000 [size=8]
I/O ports at 7c00 [size=4]
I/O ports at 7880 [size=8]
I/O ports at 7800 [size=4]
I/O ports at 7480 [size=16]
I/O ports at 7400 [size=16]
Capabilities: [70] Power Management version 3
Capabilities: [b0] PCI Advanced Features
Kernel driver in use: ata_piix

00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
Subsystem: ASUSTeK Computer Inc. Device 82d4
Flags: medium devsel, IRQ 18
Memory at fb9fd000 (64-bit, non-prefetchable) [size=256]
I/O ports at 0400 [size=32]
Kernel modules: i2c-i801

00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port
SATA IDE Controller (prog-if 85 [Master SecO PriO])
Subsystem: ASUSTeK Computer Inc. Device 82d4
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 20
I/O ports at 9000 [size=8]
I/O ports at 8c00 [size=4]
I/O ports at 8880 [size=8]
I/O ports at 8800 [size=4]
I/O ports at 8480 [size=16]
I/O ports at 8400 [size=16]
Capabilities: [70] Power Management version 3
Capabilities: [b0] PCI Advanced Features
Kernel driver in use: ata_piix

03:00.0 VGA compatible controller: ATI Technologies Inc Device 68b8
(prog-if 00 [VGA controller])
Subsystem: XFX Pine Group Inc. Device 2991
Flags: bus master, fast devsel, latency 0, IRQ 30
Memory at d0000000 (64-bit, prefetchable) [size=256M]
Memory at fbac0000 (64-bit, non-prefetchable) [size=128K]
I/O ports at a000 [size=256]
Expansion ROM at fbaa0000 [disabled] [size=128K]
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Legacy Endpoint, MSI 00
Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information <?>
Capabilities: [150] Advanced Error Reporting
Kernel driver in use: radeon
Kernel modules: radeon

03:00.1 Audio device: ATI Technologies Inc Device aa58
Subsystem: XFX Pine Group Inc. Device aa58
Flags: bus master, fast devsel, latency 0, IRQ 58
Memory at fbafc000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Legacy Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information <?>
Capabilities: [150] Advanced Error Reporting
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel

04:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056
PCI-E Gigabit Ethernet Controller (rev 12)
Subsystem: ASUSTeK Computer Inc. Device 81f8
Flags: bus master, fast devsel, latency 0, IRQ 56
Memory at fbbfc000 (64-bit, non-prefetchable) [size=16K]
I/O ports at b800 [size=256]
Expansion ROM at fbbc0000 [disabled] [size=128K]
Capabilities: [48] Power Management version 3
Capabilities: [50] Vital Product Data
Capabilities: [5c] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [e0] Express Legacy Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Kernel driver in use: sky2
Kernel modules: sky2

05:00.0 SATA controller: JMicron Technology Corp. 20360/20363 Serial
ATA Controller (rev 03) (prog-if 01 [AHCI 1.0])
Subsystem: ASUSTeK Computer Inc. Device 824f
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at fbcfe000 (32-bit, non-prefetchable) [size=8K]
Capabilities: [68] Power Management version 2
Capabilities: [50] Express Legacy Endpoint, MSI 01
Kernel driver in use: ahci

05:00.1 IDE interface: JMicron Technology Corp. 20360/20363 Serial ATA
Controller (rev 03) (prog-if 85 [Master SecO PriO])
Subsystem: ASUSTeK Computer Inc. Device 824f
Flags: fast devsel
I/O ports at cc00 [disabled] [size=8]
I/O ports at c880 [disabled] [size=4]
I/O ports at c800 [disabled] [size=8]
I/O ports at c480 [disabled] [size=4]
I/O ports at c400 [disabled] [size=16]
Capabilities: [68] Power Management version 2

06:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056
PCI-E Gigabit Ethernet Controller (rev 12)
Subsystem: ASUSTeK Computer Inc. Device 81f8
Flags: bus master, fast devsel, latency 0, IRQ 55
Memory at fbdfc000 (64-bit, non-prefetchable) [size=16K]
I/O ports at d800 [size=256]
Expansion ROM at fbdc0000 [disabled] [size=128K]
Capabilities: [48] Power Management version 3
Capabilities: [50] Vital Product Data
Capabilities: [5c] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [e0] Express Legacy Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Kernel driver in use: sky2
Kernel modules: sky2

08:02.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306 Fire II
IEEE 1394 OHCI Link Layer Controller (rev c0) (prog-if 10 [OHCI])
Subsystem: ASUSTeK Computer Inc. Device 81fe
Flags: bus master, medium devsel, latency 64, IRQ 11
Memory at fbeff000 (32-bit, non-prefetchable) [size=2K]
I/O ports at ec00 [size=128]
Capabilities: [50] Power Management version 2

c2stable ~ #



c2stable ~ # dmesg
Linux version 2.6.34-gentoo-r1 (root@c2stable) (gcc version 4.4.3
(Gentoo 4.4.3-r2 p1.2) ) #1 SMP PREEMPT Fri Jul 2 10:04:52 PDT 2010
Command line: root=/dev/md5
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 00000000bf780000 (usable)
BIOS-e820: 00000000bf780000 - 00000000bf798000 (ACPI data)
BIOS-e820: 00000000bf798000 - 00000000bf7dc000 (ACPI NVS)
BIOS-e820: 00000000bf7dc000 - 00000000c0000000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ffe00000 - 0000000100000000 (reserved)
BIOS-e820: 0000000100000000 - 0000000340000000 (usable)
NX (Execute Disable) protection: active
DMI 2.5 present.
AMI BIOS detected: BIOS may corrupt low RAM, working around it.
e820 update range: 0000000000000000 - 0000000000010000 (usable) ==> (reserved)
e820 update range: 0000000000000000 - 0000000000001000 (usable) ==> (reserved)
e820 remove range: 00000000000a0000 - 0000000000100000 (usable)
No AGP bridge found
last_pfn = 0x340000 max_arch_pfn = 0x400000000
MTRR default type: uncachable
MTRR fixed ranges enabled:
00000-9FFFF write-back
A0000-BFFFF uncachable
C0000-DFFFF write-protect
E0000-E7FFF write-through
E8000-FFFFF write-protect
MTRR variable ranges enabled:
0 base 000000000 mask E00000000 write-back
1 base 200000000 mask F00000000 write-back
2 base 300000000 mask FC0000000 write-back
3 base 0C0000000 mask FC0000000 uncachable
4 base 0BF800000 mask FFF800000 uncachable
5 disabled
6 disabled
7 disabled
8 disabled
9 disabled
x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
e820 update range: 00000000bf800000 - 0000000100000000 (usable) ==> (reserved)
last_pfn = 0xbf780 max_arch_pfn = 0x400000000
initial memory mapped : 0 - 20000000
found SMP MP-table at [ffff8800000ff780] ff780
Using GB pages for direct mapping
init_memory_mapping: 0000000000000000-00000000bf780000
0000000000 - 0080000000 page 1G
0080000000 - 00bf600000 page 2M
00bf600000 - 00bf780000 page 4k
kernel direct mapping tables up to bf780000 @ 12000-15000
init_memory_mapping: 0000000100000000-0000000340000000
0100000000 - 0340000000 page 1G
kernel direct mapping tables up to 340000000 @ 14000-15000
ACPI: RSDP 00000000000fb0c0 00014 (v00 ACPIAM)
ACPI: RSDT 00000000bf780000 00040 (v01 012810 RSDT1341 20100128 MSFT 00000097)
ACPI: FACP 00000000bf780200 00084 (v01 012810 FACP1341 20100128 MSFT 00000097)
ACPI: DSDT 00000000bf7804b0 0D2BA (v01 A1088 A1088000 00000000 INTL 20060113)
ACPI: FACS 00000000bf798000 00040
ACPI: APIC 00000000bf780390 000D8 (v01 012810 APIC1341 20100128 MSFT 00000097)
ACPI: MCFG 00000000bf780470 0003C (v01 012810 OEMMCFG 20100128 MSFT 00000097)
ACPI: OEMB 00000000bf798040 00072 (v01 012810 OEMB1341 20100128 MSFT 00000097)
ACPI: HPET 00000000bf78f4b0 00038 (v01 012810 OEMHPET 20100128 MSFT 00000097)
ACPI: OSFR 00000000bf78f4f0 000B0 (v01 012810 OEMOSFR 20100128 MSFT 00000097)
ACPI: SSDT 00000000bf79ba40 00363 (v01 DpgPmm CpuPm 00000012 INTL 20060113)
ACPI: Local APIC address 0xfee00000
[ffffea0000000000-ffffea000b5fffff] PMD ->
[ffff880002000000-ffff88000c7fffff] on node 0
Zone PFN ranges:
DMA 0x00000010 -> 0x00001000
DMA32 0x00001000 -> 0x00100000
Normal 0x00100000 -> 0x00340000
Movable zone start PFN for each node
early_node_map[3] active PFN ranges
0: 0x00000010 -> 0x0000009f
0: 0x00000100 -> 0x000bf780
0: 0x00100000 -> 0x00340000
On node 0 totalpages: 3143439
DMA zone: 56 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 3927 pages, LIFO batch:0
DMA32 zone: 14280 pages used for memmap
DMA32 zone: 765880 pages, LIFO batch:31
Normal zone: 32256 pages used for memmap
Normal zone: 2327040 pages, LIFO batch:31
ACPI: PM-Timer IO Port: 0x808
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] enabled)
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x04] enabled)
ACPI: LAPIC (acpi_id[0x04] lapic_id[0x10] enabled)
ACPI: LAPIC (acpi_id[0x05] lapic_id[0x12] enabled)
ACPI: LAPIC (acpi_id[0x06] lapic_id[0x14] enabled)
ACPI: LAPIC (acpi_id[0x07] lapic_id[0x01] enabled)
ACPI: LAPIC (acpi_id[0x08] lapic_id[0x03] enabled)
ACPI: LAPIC (acpi_id[0x09] lapic_id[0x05] enabled)
ACPI: LAPIC (acpi_id[0x0a] lapic_id[0x11] enabled)
ACPI: LAPIC (acpi_id[0x0b] lapic_id[0x13] enabled)
ACPI: LAPIC (acpi_id[0x0c] lapic_id[0x15] enabled)
ACPI: LAPIC (acpi_id[0x0d] lapic_id[0x8c] disabled)
ACPI: LAPIC (acpi_id[0x0e] lapic_id[0x8d] disabled)
ACPI: LAPIC (acpi_id[0x0f] lapic_id[0x8e] disabled)
ACPI: LAPIC (acpi_id[0x10] lapic_id[0x8f] disabled)
ACPI: IOAPIC (id[0x06] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 6, version 32, address 0xfec00000, GSI 0-23
ACPI: IOAPIC (id[0x07] address[0xfec8a000] gsi_base[24])
IOAPIC[1]: apic_id 7, version 32, address 0xfec8a000, GSI 24-47
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Using ACPI (MADT) for SMP configuration information
ACPI: HPET id: 0x8086a301 base: 0xfed00000
16 Processors exceeds NR_CPUS limit of 12
SMP: Allowing 12 CPUs, 0 hotplug CPUs
nr_irqs_gsi: 48
early_res array is doubled to 64 at [14000 - 147ff]
Allocating PCI resources starting at c0000000 (gap: c0000000:3ee00000)
setup_percpu: NR_CPUS:12 nr_cpumask_bits:12 nr_cpu_ids:12 nr_node_ids:1
PERCPU: Embedded 26 pages/cpu @ffff880001800000 s75176 r8192 d23128 u131072
pcpu-alloc: s75176 r8192 d23128 u131072 alloc=1*2097152
pcpu-alloc: [0] 00 01 02 03 04 05 06 07 08 09 10 11 -- -- -- --
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 3096847
Kernel command line: root=/dev/md5
PID hash table entries: 4096 (order: 3, 32768 bytes)
Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes)
early_res array is doubled to 128 at [14800 - 157ff]
Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes)
Checking aperture...
No AGP bridge found
Subtract (60 early reservations)
#1 [0001000000 - 0001771244] TEXT DATA BSS
#2 [0001772000 - 0001772298] BRK
#3 [00000ff790 - 0000100000] BIOS reserved
#4 [00000ff780 - 00000ff790] MP-table mpf
#5 [000009fc00 - 00000f1310] BIOS reserved
#6 [00000f14fc - 00000ff780] BIOS reserved
#7 [00000f1310 - 00000f14fc] MP-table mpc
#8 [0000010000 - 0000012000] TRAMPOLINE
#9 [0000012000 - 0000014000] PGTABLE
#10 [00017722c0 - 00017732c0] BOOTMEM
#11 [0001771280 - 0001771880] BOOTMEM
#12 [0001f74000 - 0001f75000] BOOTMEM
#13 [0001f75000 - 0001f76000] BOOTMEM
#14 [0002000000 - 000c800000] MEMMAP 0
#15 [0001771880 - 0001771a00] BOOTMEM
#16 [00017732c0 - 000178b2c0] BOOTMEM
#17 [000178b2c0 - 00017a32c0] BOOTMEM
#18 [00017a4000 - 00017a5000] BOOTMEM
#19 [0001771a00 - 0001771a41] BOOTMEM
#20 [0001771a80 - 0001771b06] BOOTMEM
#21 [0001771b40 - 0001771da8] BOOTMEM
#22 [0001771dc0 - 0001771e28] BOOTMEM
#23 [0001771e40 - 0001771ea8] BOOTMEM
#24 [0001771ec0 - 0001771f28] BOOTMEM
#25 [0001771f40 - 0001771fa8] BOOTMEM
#26 [00017a32c0 - 00017a3328] BOOTMEM
#27 [00017a3340 - 00017a33a8] BOOTMEM
#28 [00017a33c0 - 00017a3428] BOOTMEM
#29 [00017a3440 - 00017a34a8] BOOTMEM
#30 [00017a34c0 - 00017a3528] BOOTMEM
#31 [00017a3540 - 00017a35a8] BOOTMEM
#32 [0001771fc0 - 0001771fce] BOOTMEM
#33 [00017a35c0 - 00017a35ce] BOOTMEM
#34 [0001800000 - 000181a000] BOOTMEM
#35 [0001820000 - 000183a000] BOOTMEM
#36 [0001840000 - 000185a000] BOOTMEM
#37 [0001860000 - 000187a000] BOOTMEM
#38 [0001880000 - 000189a000] BOOTMEM
#39 [00018a0000 - 00018ba000] BOOTMEM
#40 [00018c0000 - 00018da000] BOOTMEM
#41 [00018e0000 - 00018fa000] BOOTMEM
#42 [0001900000 - 000191a000] BOOTMEM
#43 [0001920000 - 000193a000] BOOTMEM
#44 [0001940000 - 000195a000] BOOTMEM
#45 [0001960000 - 000197a000] BOOTMEM
#46 [00017a3600 - 00017a3608] BOOTMEM
#47 [00017a3640 - 00017a3648] BOOTMEM
#48 [00017a3680 - 00017a36b0] BOOTMEM
#49 [00017a36c0 - 00017a3720] BOOTMEM
#50 [00017a3740 - 00017a3850] BOOTMEM
#51 [00017a3880 - 00017a38c8] BOOTMEM
#52 [00017a3900 - 00017a3948] BOOTMEM
#53 [00017a5000 - 00017ad000] BOOTMEM
#54 [000c800000 - 000d800000] BOOTMEM
#55 [000d800000 - 000e000000] BOOTMEM
#56 [000e000000 - 0012000000] BOOTMEM
#57 [00017ad000 - 00017cd000] BOOTMEM
#58 [000197a000 - 00019ba000] BOOTMEM
#59 [0000015800 - 000001d800] BOOTMEM
Memory: 12302060k/13631488k available (3665k kernel code, 1057732k
absent, 271696k reserved, 2924k data, 476k init)
Experimental preemptable hierarchical RCU implementation.
NR_IRQS:640
Console: colour VGA+ 80x25
console [tty0] enabled
hpet clockevent registered
Fast TSC calibration using PIT
Detected 3337.884 MHz processor.
Calibrating delay loop (skipped), value calculated using timer
frequency.. 6675.76 BogoMIPS (lpj=3337884)
Security Framework initialized
Mount-cache hash table entries: 256
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
mce: CPU supports 9 MCE banks
CPU0: Thermal monitoring enabled (TM1)
using mwait in idle threads.
Performance Events: Westmere events, Intel PMU driver.
... version: 3
... bit width: 48
... generic registers: 4
... value mask: 0000ffffffffffff
... max period: 000000007fffffff
... fixed-purpose events: 3
... event mask: 000000070000000f
Freeing SMP alternatives: 36k freed
ACPI: Core revision 20100121
Setting APIC routing to physical flat
..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
CPU0: Intel(R) Core(TM) i7 CPU X 980 @ 3.33GHz stepping 02
Booting Node 0, Processors #1 #2 #3 #4 #5 #6 #7 #8 #9 #10 #11 Ok.
Brought up 12 CPUs
Total of 12 processors activated (81162.38 BogoMIPS).
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem
0xe0000000-0xefffffff] (base 0xe0000000)
PCI: not using MMCONFIG
PCI: Using configuration type 1 for base access
bio: create slab <bio-0> at 0
ACPI: EC: Look up EC in DSDT
ACPI: Executed 1 blocks of module-level executable AML code
ACPI: SSDT 00000000bf7980c0 03978 (v01 DpgPmm P001Ist 00000011 INTL 20060113)
ACPI: Interpreter enabled
ACPI: (supports S0 S5)
ACPI: Using IOAPIC for interrupt routing
PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem
0xe0000000-0xefffffff] (base 0xe0000000)
PCI: MMCONFIG at [mem 0xe0000000-0xefffffff] reserved in ACPI
motherboard resources
ACPI: No dock devices found.
PCI: Using host bridge windows from ACPI; if necessary, use
"pci=nocrs" and report a bug
ACPI: PCI Root Bridge [PCI0] (0000:00)
pci_root PNP0A08:00: host bridge window [io 0x0000-0x0cf7]
pci_root PNP0A08:00: host bridge window [io 0x0d00-0xffff]
pci_root PNP0A08:00: host bridge window [mem 0x000a0000-0x000bffff]
pci_root PNP0A08:00: host bridge window [mem 0x000d0000-0x000dffff]
pci_root PNP0A08:00: host bridge window [mem 0xc0000000-0xdfffffff]
pci_root PNP0A08:00: host bridge window [mem 0xf0000000-0xfed8ffff]
pci 0000:00:00.0: PME# supported from D0 D3hot D3cold
pci 0000:00:00.0: PME# disabled
pci 0000:00:01.0: PME# supported from D0 D3hot D3cold
pci 0000:00:01.0: PME# disabled
pci 0000:00:03.0: PME# supported from D0 D3hot D3cold
pci 0000:00:03.0: PME# disabled
pci 0000:00:07.0: PME# supported from D0 D3hot D3cold
pci 0000:00:07.0: PME# disabled
pci 0000:00:1a.0: reg 20: [io 0x9800-0x981f]
pci 0000:00:1a.1: reg 20: [io 0x9880-0x989f]
pci 0000:00:1a.2: reg 20: [io 0x9c00-0x9c1f]
pci 0000:00:1a.7: reg 10: [mem 0xfb9ff000-0xfb9ff3ff]
pci 0000:00:1a.7: PME# supported from D0 D3hot D3cold
pci 0000:00:1a.7: PME# disabled
pci 0000:00:1b.0: reg 10: [mem 0xfb9f8000-0xfb9fbfff 64bit]
pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
pci 0000:00:1b.0: PME# disabled
pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
pci 0000:00:1c.0: PME# disabled
pci 0000:00:1c.2: PME# supported from D0 D3hot D3cold
pci 0000:00:1c.2: PME# disabled
pci 0000:00:1c.4: PME# supported from D0 D3hot D3cold
pci 0000:00:1c.4: PME# disabled
pci 0000:00:1c.5: PME# supported from D0 D3hot D3cold
pci 0000:00:1c.5: PME# disabled
pci 0000:00:1d.0: reg 20: [io 0x9080-0x909f]
pci 0000:00:1d.1: reg 20: [io 0x9400-0x941f]
pci 0000:00:1d.2: reg 20: [io 0x9480-0x949f]
pci 0000:00:1d.7: reg 10: [mem 0xfb9fe000-0xfb9fe3ff]
pci 0000:00:1d.7: PME# supported from D0 D3hot D3cold
pci 0000:00:1d.7: PME# disabled
pci 0000:00:1f.0: quirk: [io 0x0800-0x087f] claimed by ICH6 ACPI/GPIO/TCO
pci 0000:00:1f.0: quirk: [io 0x0500-0x053f] claimed by ICH6 GPIO
pci 0000:00:1f.0: ICH7 LPC Generic IO decode 1 PIO at 0294 (mask 0003)
pci 0000:00:1f.2: reg 10: [io 0x8000-0x8007]
pci 0000:00:1f.2: reg 14: [io 0x7c00-0x7c03]
pci 0000:00:1f.2: reg 18: [io 0x7880-0x7887]
pci 0000:00:1f.2: reg 1c: [io 0x7800-0x7803]
pci 0000:00:1f.2: reg 20: [io 0x7480-0x748f]
pci 0000:00:1f.2: reg 24: [io 0x7400-0x740f]
pci 0000:00:1f.3: reg 10: [mem 0xfb9fd000-0xfb9fd0ff 64bit]
pci 0000:00:1f.3: reg 20: [io 0x0400-0x041f]
pci 0000:00:1f.5: reg 10: [io 0x9000-0x9007]
pci 0000:00:1f.5: reg 14: [io 0x8c00-0x8c03]
pci 0000:00:1f.5: reg 18: [io 0x8880-0x8887]
pci 0000:00:1f.5: reg 1c: [io 0x8800-0x8803]
pci 0000:00:1f.5: reg 20: [io 0x8480-0x848f]
pci 0000:00:1f.5: reg 24: [io 0x8400-0x840f]
pci 0000:00:01.0: PCI bridge to [bus 01-01]
pci 0000:00:01.0: bridge window [io 0xf000-0x0000] (disabled)
pci 0000:00:01.0: bridge window [mem 0xfff00000-0x000fffff] (disabled)
pci 0000:00:01.0: bridge window [mem 0xfff00000-0x000fffff pref] (disabled)
pci 0000:00:03.0: PCI bridge to [bus 02-02]
pci 0000:00:03.0: bridge window [io 0xf000-0x0000] (disabled)
pci 0000:00:03.0: bridge window [mem 0xfff00000-0x000fffff] (disabled)
pci 0000:00:03.0: bridge window [mem 0xfff00000-0x000fffff pref] (disabled)
pci 0000:03:00.0: reg 10: [mem 0xd0000000-0xdfffffff 64bit pref]
pci 0000:03:00.0: reg 18: [mem 0xfbac0000-0xfbadffff 64bit]
pci 0000:03:00.0: reg 20: [io 0xa000-0xa0ff]
pci 0000:03:00.0: reg 30: [mem 0xfbaa0000-0xfbabffff pref]
pci 0000:03:00.0: supports D1 D2
pci 0000:03:00.1: reg 10: [mem 0xfbafc000-0xfbafffff 64bit]
pci 0000:03:00.1: supports D1 D2
pci 0000:00:07.0: PCI bridge to [bus 03-03]
pci 0000:00:07.0: bridge window [io 0xa000-0xafff]
pci 0000:00:07.0: bridge window [mem 0xfba00000-0xfbafffff]
pci 0000:00:07.0: bridge window [mem 0xd0000000-0xdfffffff 64bit pref]
pci 0000:00:1c.0: PCI bridge to [bus 07-07]
pci 0000:00:1c.0: bridge window [io 0xf000-0x0000] (disabled)
pci 0000:00:1c.0: bridge window [mem 0xfff00000-0x000fffff] (disabled)
pci 0000:00:1c.0: bridge window [mem 0xfaf00000-0xfaffffff 64bit pref]
pci 0000:06:00.0: reg 10: [mem 0xfbdfc000-0xfbdfffff 64bit]
pci 0000:06:00.0: reg 18: [io 0xd800-0xd8ff]
pci 0000:06:00.0: reg 30: [mem 0xfbdc0000-0xfbddffff pref]
pci 0000:06:00.0: supports D1 D2
pci 0000:06:00.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:06:00.0: PME# disabled
pci 0000:00:1c.2: PCI bridge to [bus 06-06]
pci 0000:00:1c.2: bridge window [io 0xd000-0xdfff]
pci 0000:00:1c.2: bridge window [mem 0xfbd00000-0xfbdfffff]
pci 0000:00:1c.2: bridge window [mem 0xfff00000-0x000fffff pref] (disabled)
pci 0000:05:00.0: reg 24: [mem 0xfbcfe000-0xfbcfffff]
pci 0000:05:00.0: PME# supported from D3hot
pci 0000:05:00.0: PME# disabled
pci 0000:05:00.1: reg 10: [io 0xcc00-0xcc07]
pci 0000:05:00.1: reg 14: [io 0xc880-0xc883]
pci 0000:05:00.1: reg 18: [io 0xc800-0xc807]
pci 0000:05:00.1: reg 1c: [io 0xc480-0xc483]
pci 0000:05:00.1: reg 20: [io 0xc400-0xc40f]
pci 0000:00:1c.4: PCI bridge to [bus 05-05]
pci 0000:00:1c.4: bridge window [io 0xc000-0xcfff]
pci 0000:00:1c.4: bridge window [mem 0xfbc00000-0xfbcfffff]
pci 0000:00:1c.4: bridge window [mem 0xfff00000-0x000fffff pref] (disabled)
pci 0000:04:00.0: reg 10: [mem 0xfbbfc000-0xfbbfffff 64bit]
pci 0000:04:00.0: reg 18: [io 0xb800-0xb8ff]
pci 0000:04:00.0: reg 30: [mem 0xfbbc0000-0xfbbdffff pref]
pci 0000:04:00.0: supports D1 D2
pci 0000:04:00.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:04:00.0: PME# disabled
pci 0000:00:1c.5: PCI bridge to [bus 04-04]
pci 0000:00:1c.5: bridge window [io 0xb000-0xbfff]
pci 0000:00:1c.5: bridge window [mem 0xfbb00000-0xfbbfffff]
pci 0000:00:1c.5: bridge window [mem 0xfff00000-0x000fffff pref] (disabled)
pci 0000:08:02.0: reg 10: [mem 0xfbeff000-0xfbeff7ff]
pci 0000:08:02.0: reg 14: [io 0xec00-0xec7f]
pci 0000:08:02.0: supports D2
pci 0000:08:02.0: PME# supported from D2 D3hot D3cold
pci 0000:08:02.0: PME# disabled
pci 0000:00:1e.0: PCI bridge to [bus 08-08] (subtractive decode)
pci 0000:00:1e.0: bridge window [io 0xe000-0xefff]
pci 0000:00:1e.0: bridge window [mem 0xfbe00000-0xfbefffff]
pci 0000:00:1e.0: bridge window [mem 0xfff00000-0x000fffff pref] (disabled)
pci 0000:00:1e.0: bridge window [io 0x0000-0x0cf7] (subtractive decode)
pci 0000:00:1e.0: bridge window [io 0x0d00-0xffff] (subtractive decode)
pci 0000:00:1e.0: bridge window [mem 0x000a0000-0x000bffff]
(subtractive decode)
pci 0000:00:1e.0: bridge window [mem 0x000d0000-0x000dffff]
(subtractive decode)
pci 0000:00:1e.0: bridge window [mem 0xc0000000-0xdfffffff]
(subtractive decode)
pci 0000:00:1e.0: bridge window [mem 0xf0000000-0xfed8ffff]
(subtractive decode)
pci_bus 0000:00: on NUMA node 0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P4._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P6._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P8._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P9._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.NPE1._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.NPE3._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.NPE7._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs *5)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 6 7 10 11 12 *14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 6 7 10 11 12 14 *15)
ACPI: PCI Interrupt Link [LNKF] (IRQs *3 4 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 6 *7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 *4 6 7 10 11 12 14 15)
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Using ACPI for IRQ routing
PCI: pci_cache_line_size set to 64 bytes
reserve RAM buffer: 000000000009fc00 - 000000000009ffff
reserve RAM buffer: 00000000bf780000 - 00000000bfffffff
hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0
hpet0: 4 comparators, 64-bit 14.318180 MHz counter
Switching to clocksource tsc
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 17 devices
ACPI: ACPI bus type pnp unregistered
system 00:01: [mem 0xfbf00000-0xfbffffff] has been reserved
system 00:01: [mem 0xfc000000-0xfcffffff] has been reserved
system 00:01: [mem 0xfd000000-0xfdffffff] has been reserved
system 00:01: [mem 0xfe000000-0xfebfffff] has been reserved
system 00:01: [mem 0xfec8a000-0xfec8afff] could not be reserved
system 00:01: [mem 0xfed10000-0xfed10fff] has been reserved
system 00:07: [io 0x0290-0x029f] has been reserved
system 00:08: [io 0x04d0-0x04d1] has been reserved
system 00:08: [io 0x0800-0x087f] has been reserved
system 00:08: [io 0x0500-0x057f] could not be reserved
system 00:08: [mem 0xfed1c000-0xfed1ffff] has been reserved
system 00:08: [mem 0xfed20000-0xfed3ffff] has been reserved
system 00:08: [mem 0xfed40000-0xfed8ffff] has been reserved
system 00:0b: [mem 0xffc00000-0xffdfffff] has been reserved
system 00:0c: [mem 0xfec00000-0xfec00fff] could not be reserved
system 00:0c: [mem 0xfee00000-0xfee00fff] has been reserved
system 00:0f: [mem 0xe0000000-0xefffffff] has been reserved
system 00:10: [mem 0x00000000-0x0009ffff] could not be reserved
system 00:10: [mem 0x000c0000-0x000cffff] has been reserved
system 00:10: [mem 0x000e0000-0x000fffff] could not be reserved
system 00:10: [mem 0x00100000-0xbfffffff] could not be reserved
system 00:10: [mem 0xfed90000-0xffffffff] could not be reserved
pci 0000:00:1c.0: BAR 8: assigned [mem 0xc0000000-0xc03fffff]
pci 0000:00:1c.2: BAR 9: assigned [mem 0xc0400000-0xc05fffff 64bit pref]
pci 0000:00:1c.4: BAR 9: assigned [mem 0xc0600000-0xc07fffff 64bit pref]
pci 0000:00:1c.5: BAR 9: assigned [mem 0xc0800000-0xc09fffff 64bit pref]
pci 0000:00:1c.0: BAR 7: assigned [io 0x1000-0x1fff]
pci 0000:00:01.0: PCI bridge to [bus 01-01]
pci 0000:00:01.0: bridge window [io disabled]
pci 0000:00:01.0: bridge window [mem disabled]
pci 0000:00:01.0: bridge window [mem pref disabled]
pci 0000:00:03.0: PCI bridge to [bus 02-02]
pci 0000:00:03.0: bridge window [io disabled]
pci 0000:00:03.0: bridge window [mem disabled]
pci 0000:00:03.0: bridge window [mem pref disabled]
pci 0000:00:07.0: PCI bridge to [bus 03-03]
pci 0000:00:07.0: bridge window [io 0xa000-0xafff]
pci 0000:00:07.0: bridge window [mem 0xfba00000-0xfbafffff]
pci 0000:00:07.0: bridge window [mem 0xd0000000-0xdfffffff 64bit pref]
pci 0000:00:1c.0: PCI bridge to [bus 07-07]
pci 0000:00:1c.0: bridge window [io 0x1000-0x1fff]
pci 0000:00:1c.0: bridge window [mem 0xc0000000-0xc03fffff]
pci 0000:00:1c.0: bridge window [mem 0xfaf00000-0xfaffffff 64bit pref]
pci 0000:00:1c.2: PCI bridge to [bus 06-06]
pci 0000:00:1c.2: bridge window [io 0xd000-0xdfff]
pci 0000:00:1c.2: bridge window [mem 0xfbd00000-0xfbdfffff]
pci 0000:00:1c.2: bridge window [mem 0xc0400000-0xc05fffff 64bit pref]
pci 0000:00:1c.4: PCI bridge to [bus 05-05]
pci 0000:00:1c.4: bridge window [io 0xc000-0xcfff]
pci 0000:00:1c.4: bridge window [mem 0xfbc00000-0xfbcfffff]
pci 0000:00:1c.4: bridge window [mem 0xc0600000-0xc07fffff 64bit pref]
pci 0000:00:1c.5: PCI bridge to [bus 04-04]
pci 0000:00:1c.5: bridge window [io 0xb000-0xbfff]
pci 0000:00:1c.5: bridge window [mem 0xfbb00000-0xfbbfffff]
pci 0000:00:1c.5: bridge window [mem 0xc0800000-0xc09fffff 64bit pref]
pci 0000:00:1e.0: PCI bridge to [bus 08-08]
pci 0000:00:1e.0: bridge window [io 0xe000-0xefff]
pci 0000:00:1e.0: bridge window [mem 0xfbe00000-0xfbefffff]
pci 0000:00:1e.0: bridge window [mem pref disabled]
pci 0000:00:01.0: setting latency timer to 64
pci 0000:00:03.0: setting latency timer to 64
pci 0000:00:07.0: setting latency timer to 64
pci 0000:00:1c.0: enabling device (0106 -> 0107)
pci 0000:00:1c.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
pci 0000:00:1c.0: setting latency timer to 64
pci 0000:00:1c.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
pci 0000:00:1c.2: setting latency timer to 64
pci 0000:00:1c.4: PCI INT A -> GSI 17 (level, low) -> IRQ 17
pci 0000:00:1c.4: setting latency timer to 64
pci 0000:00:1c.5: PCI INT B -> GSI 16 (level, low) -> IRQ 16
pci 0000:00:1c.5: setting latency timer to 64
pci 0000:00:1e.0: setting latency timer to 64
pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7]
pci_bus 0000:00: resource 5 [io 0x0d00-0xffff]
pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff]
pci_bus 0000:00: resource 7 [mem 0x000d0000-0x000dffff]
pci_bus 0000:00: resource 8 [mem 0xc0000000-0xdfffffff]
pci_bus 0000:00: resource 9 [mem 0xf0000000-0xfed8ffff]
pci_bus 0000:03: resource 0 [io 0xa000-0xafff]
pci_bus 0000:03: resource 1 [mem 0xfba00000-0xfbafffff]
pci_bus 0000:03: resource 2 [mem 0xd0000000-0xdfffffff 64bit pref]
pci_bus 0000:07: resource 0 [io 0x1000-0x1fff]
pci_bus 0000:07: resource 1 [mem 0xc0000000-0xc03fffff]
pci_bus 0000:07: resource 2 [mem 0xfaf00000-0xfaffffff 64bit pref]
pci_bus 0000:06: resource 0 [io 0xd000-0xdfff]
pci_bus 0000:06: resource 1 [mem 0xfbd00000-0xfbdfffff]
pci_bus 0000:06: resource 2 [mem 0xc0400000-0xc05fffff 64bit pref]
pci_bus 0000:05: resource 0 [io 0xc000-0xcfff]
pci_bus 0000:05: resource 1 [mem 0xfbc00000-0xfbcfffff]
pci_bus 0000:05: resource 2 [mem 0xc0600000-0xc07fffff 64bit pref]
pci_bus 0000:04: resource 0 [io 0xb000-0xbfff]
pci_bus 0000:04: resource 1 [mem 0xfbb00000-0xfbbfffff]
pci_bus 0000:04: resource 2 [mem 0xc0800000-0xc09fffff 64bit pref]
pci_bus 0000:08: resource 0 [io 0xe000-0xefff]
pci_bus 0000:08: resource 1 [mem 0xfbe00000-0xfbefffff]
pci_bus 0000:08: resource 4 [io 0x0000-0x0cf7]
pci_bus 0000:08: resource 5 [io 0x0d00-0xffff]
pci_bus 0000:08: resource 6 [mem 0x000a0000-0x000bffff]
pci_bus 0000:08: resource 7 [mem 0x000d0000-0x000dffff]
pci_bus 0000:08: resource 8 [mem 0xc0000000-0xdfffffff]
pci_bus 0000:08: resource 9 [mem 0xf0000000-0xfed8ffff]
NET: Registered protocol family 2
IP route cache hash table entries: 524288 (order: 10, 4194304 bytes)
TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 262144 bind 65536)
TCP reno registered
UDP hash table entries: 8192 (order: 6, 262144 bytes)
UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
pci 0000:03:00.0: Boot video device
PCI: CLS 256 bytes, default 64
PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
Placing 64MB software IO TLB between ffff88000e000000 - ffff880012000000
software IO TLB at phys 0xe000000 - 0x12000000
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
NTFS driver 2.1.29 [Flags: R/W].
fuse init (API version 7.13)
msgmni has been set to 24027
alg: No test for stdrng (krng)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
pcieport 0000:00:01.0: setting latency timer to 64
pcieport 0000:00:01.0: irq 48 for MSI/MSI-X
pcieport 0000:00:03.0: setting latency timer to 64
pcieport 0000:00:03.0: irq 49 for MSI/MSI-X
pcieport 0000:00:07.0: setting latency timer to 64
pcieport 0000:00:07.0: irq 50 for MSI/MSI-X
pcieport 0000:00:1c.0: setting latency timer to 64
pcieport 0000:00:1c.0: irq 51 for MSI/MSI-X
pcieport 0000:00:1c.2: setting latency timer to 64
pcieport 0000:00:1c.2: irq 52 for MSI/MSI-X
pcieport 0000:00:1c.4: setting latency timer to 64
pcieport 0000:00:1c.4: irq 53 for MSI/MSI-X
pcieport 0000:00:1c.5: setting latency timer to 64
pcieport 0000:00:1c.5: irq 54 for MSI/MSI-X
aer 0000:00:01.0:pcie02: AER service couldn't init device: no _OSC support
aer 0000:00:03.0:pcie02: AER service couldn't init device: no _OSC support
aer 0000:00:07.0:pcie02: AER service couldn't init device: no _OSC support
Non-volatile memory driver v1.3
input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
ACPI: Power Button [PWRB]
input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
ACPI: Power Button [PWRF]
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
brd: module loaded
loop: module loaded
Uniform Multi-Platform E-IDE driver
ide-gd driver 1.18
ahci 0000:05:00.0: version 3.0
ahci 0000:05:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
ahci 0000:05:00.0: AHCI 0001.0000 32 slots 2 ports 3 Gbps 0x3 impl SATA mode
ahci 0000:05:00.0: flags: 64bit ncq pm led clo pmp pio slum part
ahci 0000:05:00.0: setting latency timer to 64
scsi0 : ahci
scsi1 : ahci
ata1: SATA max UDMA/133 abar m8192@0xfbcfe000 port 0xfbcfe100 irq 16
ata2: SATA max UDMA/133 abar m8192@0xfbcfe000 port 0xfbcfe180 irq 16
ata_piix 0000:00:1f.2: version 2.13
ata_piix 0000:00:1f.2: PCI INT B -> GSI 20 (level, low) -> IRQ 20
ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ]
ata_piix 0000:00:1f.2: setting latency timer to 64
scsi2 : ata_piix
scsi3 : ata_piix
ata3: SATA max UDMA/133 cmd 0x8000 ctl 0x7c00 bmdma 0x7480 irq 20
ata4: SATA max UDMA/133 cmd 0x7880 ctl 0x7800 bmdma 0x7488 irq 20
ata_piix 0000:00:1f.5: PCI INT B -> GSI 20 (level, low) -> IRQ 20
ata_piix 0000:00:1f.5: MAP [ P0 -- P1 -- ]
ata_piix 0000:00:1f.5: setting latency timer to 64
scsi4 : ata_piix
scsi5 : ata_piix
ata5: SATA max UDMA/133 cmd 0x9000 ctl 0x8c00 bmdma 0x8480 irq 20
ata6: SATA max UDMA/133 cmd 0x8880 ctl 0x8800 bmdma 0x8488 irq 20
console [netcon0] enabled
netconsole: network logging started
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_hcd 0000:00:1a.7: PCI INT C -> GSI 18 (level, low) -> IRQ 18
ehci_hcd 0000:00:1a.7: setting latency timer to 64
ehci_hcd 0000:00:1a.7: EHCI Host Controller
ehci_hcd 0000:00:1a.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1a.7: debug port 1
ehci_hcd 0000:00:1a.7: cache line size of 256 is not supported
ehci_hcd 0000:00:1a.7: irq 18, io mem 0xfb9ff000
ehci_hcd 0000:00:1a.7: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.34-gentoo-r1 ehci_hcd
usb usb1: SerialNumber: 0000:00:1a.7
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 23 (level, low) -> IRQ 23
ehci_hcd 0000:00:1d.7: setting latency timer to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 2
ehci_hcd 0000:00:1d.7: debug port 1
ehci_hcd 0000:00:1d.7: cache line size of 256 is not supported
ehci_hcd 0000:00:1d.7: irq 23, io mem 0xfb9fe000
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: EHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.34-gentoo-r1 ehci_hcd
usb usb2: SerialNumber: 0000:00:1d.7
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 6 ports detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
uhci_hcd: USB Universal Host Controller Interface driver
uhci_hcd 0000:00:1a.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
uhci_hcd 0000:00:1a.0: setting latency timer to 64
uhci_hcd 0000:00:1a.0: UHCI Host Controller
uhci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1a.0: irq 16, io base 0x00009800
usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb3: Product: UHCI Host Controller
usb usb3: Manufacturer: Linux 2.6.34-gentoo-r1 uhci_hcd
usb usb3: SerialNumber: 0000:00:1a.0
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
uhci_hcd 0000:00:1a.1: PCI INT B -> GSI 21 (level, low) -> IRQ 21
uhci_hcd 0000:00:1a.1: setting latency timer to 64
uhci_hcd 0000:00:1a.1: UHCI Host Controller
uhci_hcd 0000:00:1a.1: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1a.1: irq 21, io base 0x00009880
usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb4: Product: UHCI Host Controller
usb usb4: Manufacturer: Linux 2.6.34-gentoo-r1 uhci_hcd
usb usb4: SerialNumber: 0000:00:1a.1
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
uhci_hcd 0000:00:1a.2: PCI INT D -> GSI 19 (level, low) -> IRQ 19
uhci_hcd 0000:00:1a.2: setting latency timer to 64
uhci_hcd 0000:00:1a.2: UHCI Host Controller
uhci_hcd 0000:00:1a.2: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:1a.2: irq 19, io base 0x00009c00
usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb5: Product: UHCI Host Controller
usb usb5: Manufacturer: Linux 2.6.34-gentoo-r1 uhci_hcd
usb usb5: SerialNumber: 0000:00:1a.2
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
uhci_hcd 0000:00:1d.0: setting latency timer to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 6
uhci_hcd 0000:00:1d.0: irq 23, io base 0x00009080
usb usb6: New USB device found, idVendor=1d6b, idProduct=0001
usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb6: Product: UHCI Host Controller
usb usb6: Manufacturer: Linux 2.6.34-gentoo-r1 uhci_hcd
usb usb6: SerialNumber: 0000:00:1d.0
hub 6-0:1.0: USB hub found
hub 6-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19
uhci_hcd 0000:00:1d.1: setting latency timer to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 7
uhci_hcd 0000:00:1d.1: irq 19, io base 0x00009400
usb usb7: New USB device found, idVendor=1d6b, idProduct=0001
usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb7: Product: UHCI Host Controller
usb usb7: Manufacturer: Linux 2.6.34-gentoo-r1 uhci_hcd
usb usb7: SerialNumber: 0000:00:1d.1
hub 7-0:1.0: USB hub found
hub 7-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
uhci_hcd 0000:00:1d.2: setting latency timer to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 8
uhci_hcd 0000:00:1d.2: irq 18, io base 0x00009480
usb usb8: New USB device found, idVendor=1d6b, idProduct=0001
usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb8: Product: UHCI Host Controller
usb usb8: Manufacturer: Linux 2.6.34-gentoo-r1 uhci_hcd
usb usb8: SerialNumber: 0000:00:1d.2
hub 8-0:1.0: USB hub found
hub 8-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver libusual
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
device-mapper: ioctl: 4.17.0-ioctl (2010-03-05) initialised: [email protected]
cpuidle: using governor ladder
cpuidle: using governor menu
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP cubic registered
NET: Registered protocol family 17
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
input: AT Translated Set 2 keyboard as
/devices/platform/i8042/serio0/input/input2
ata1: SATA link down (SStatus 0 SControl 300)
ata2: SATA link down (SStatus 0 SControl 300)
ata6: link resume succeeded after 1 retries
ata5: link resume succeeded after 1 retries
usb 3-2: new full speed USB device using uhci_hcd and address 2
ata6: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata5: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata5.00: ATA-8: WDC WD5002ABYS-02B1B0, 02.03B03, max UDMA/133
ata5.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 0/32)
ata6.00: ATA-8: WDC WD5002ABYS-02B1B0, 02.03B03, max UDMA/133
ata6.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 0/32)
ata6.00: configured for UDMA/133
ata5.00: configured for UDMA/133
usb 3-2: New USB device found, idVendor=051d, idProduct=0002
usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 3-2: Product: Back-UPS BX1000G FW:869.L1 .D USB FW:L1
usb 3-2: Manufacturer: American Power Conversion
usb 3-2: SerialNumber: 3B1007X44377
generic-usb 0003:051D:0002.0001: hiddev96,hidraw0: USB HID v1.00
Device [American Power Conversion Back-UPS BX1000G FW:869.L1 .D USB
FW:L1 ] on usb-0000:00:1a.0-2/input0
ata3.00: SATA link down (SStatus 0 SControl 301)
ata3.01: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata3.01: ATA-8: WDC WD5002ABYS-02B1B0, 02.03B03, max UDMA/133
ata3.01: 976773168 sectors, multi 16: LBA48 NCQ (depth 0/32)
ata3.01: configured for UDMA/133
scsi 2:0:1:0: Direct-Access ATA WDC WD5002ABYS-0 02.0 PQ: 0 ANSI: 5
sd 2:0:1:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
sd 2:0:1:0: Attached scsi generic sg0 type 0
sd 2:0:1:0: [sda] Write Protect is off
sd 2:0:1:0: [sda] Mode Sense: 00 3a 00 00
sd 2:0:1:0: [sda] Write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
sda: sda1 sda2 sda3 sda4 <
ata4.00: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata4.01: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata4.00: ATA-8: WDC WD5002ABYS-02B1B0, 02.03B03, max UDMA/133
ata4.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 0/32)
ata4.01: ATA-8: WDC WD5002ABYS-02B1B0, 02.03B03, max UDMA/133
ata4.01: 976773168 sectors, multi 16: LBA48 NCQ (depth 0/32)
sda5
ata4.00: configured for UDMA/133
ata4.01: configured for UDMA/133
scsi 3:0:0:0: Direct-Access ATA WDC WD5002ABYS-0 02.0 PQ: 0 ANSI: 5
sd 3:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/465 GiB)
sd 3:0:0:0: Attached scsi generic sg1 type 0
scsi 3:0:1:0: Direct-Access ATA WDC WD5002ABYS-0 02.0 PQ: 0 ANSI: 5
sd 3:0:1:0: [sdc] 976773168 512-byte logical blocks: (500 GB/465 GiB)
sd 3:0:1:0: [sdc] Write Protect is off
sd 3:0:1:0: [sdc] Mode Sense: 00 3a 00 00
sd 3:0:1:0: Attached scsi generic sg2 type 0
sd 3:0:1:0: [sdc] Write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
scsi 4:0:0:0: Direct-Access ATA WDC WD5002ABYS-0 02.0 PQ: 0 ANSI: 5
sdc:
sd 4:0:0:0: [sdd] 976773168 512-byte logical blocks: (500 GB/465 GiB)
sd 4:0:0:0: [sdd] Write Protect is off
sd 4:0:0:0: [sdd] Mode Sense: 00 3a 00 00
sd 4:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
sd 4:0:0:0: Attached scsi generic sg3 type 0
sdd:
scsi 5:0:0:0: Direct-Access ATA WDC WD5002ABYS-0 02.0 PQ: 0 ANSI: 5
sd 5:0:0:0: [sde] 976773168 512-byte logical blocks: (500 GB/465 GiB)
sd 5:0:0:0: Attached scsi generic sg4 type 0
sd 5:0:0:0: [sde] Write Protect is off
sd 5:0:0:0: [sde] Mode Sense: 00 3a 00 00
sd 5:0:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
sde: sda6 >
sde1
sd 5:0:0:0: [sde] Attached SCSI disk
sdc1
sd 3:0:0:0: [sdb] Write Protect is off
sdc2 sdc3 sdc4 < sdd1
sd 3:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 4:0:0:0: [sdd] Attached SCSI disk
sd 2:0:1:0: [sda] Attached SCSI disk
sdc5
sd 3:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
sdc6 >
sdb:
sd 3:0:1:0: [sdc] Attached SCSI disk
sdb1 sdb2 sdb3 sdb4 < sdb5 sdb6 >
sd 3:0:0:0: [sdb] Attached SCSI disk
usb 8-2: new low speed USB device using uhci_hcd and address 2
usb 8-2: New USB device found, idVendor=045e, idProduct=0039
usb 8-2: New USB device strings: Mfr=1, Product=3, SerialNumber=0
usb 8-2: Product: Microsoft 5-Button Mouse with IntelliEye(TM)
usb 8-2: Manufacturer: Microsoft
input: Microsoft Microsoft 5-Button Mouse with IntelliEye(TM) as
/devices/pci0000:00/0000:00:1d.2/usb8/8-2/8-2:1.0/input/input3
generic-usb 0003:045E:0039.0002: input,hidraw1: USB HID v1.10 Mouse
[Microsoft Microsoft 5-Button Mouse with IntelliEye(TM)] on
usb-0000:00:1d.2-2/input0
input: PS/2 Generic Mouse as /devices/platform/i8042/serio1/input/input4
md: Waiting for all devices to be available before autodetect
md: If you don't use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: Scanned 6 and added 6 devices.
md: autorun ...
md: considering sdb5 ...
md: adding sdb5 ...
md: sdb3 has different UUID to sdb5
md: adding sdc5 ...
md: sdc3 has different UUID to sdb5
md: adding sda5 ...
md: sda3 has different UUID to sdb5
md: created md5
md: bind<sda5>
md: bind<sdc5>
md: bind<sdb5>
md: running: <sdb5><sdc5><sda5>
raid1: raid set md5 active with 3 out of 3 mirrors
md5: detected capacity change from 0 to 53694496768
md: considering sdb3 ...
md: adding sdb3 ...
md: adding sdc3 ...
md: adding sda3 ...
md: created md3
md: bind<sda3>
md: bind<sdc3>
md: bind<sdb3>
md: running: <sdb3><sdc3><sda3>
raid1: raid set md3 active with 3 out of 3 mirrors
md3: detected capacity change from 0 to 53694562304
md: ... autorun DONE.
md5: unknown partition table
kjournald starting. Commit interval 5 seconds
EXT3-fs (md5): mounted filesystem with writeback data mode
VFS: Mounted root (ext3 filesystem) readonly on device 9:5.
Freeing unused kernel memory: 476k freed
Write protecting the kernel read-only data: 6144k
Freeing unused kernel memory: 412k freed
Freeing unused kernel memory: 224k freed
udev: starting version 149
rtc_cmos 00:03: RTC can wake from S4
rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0
rtc0: alarms up to one month, y3k, 114 bytes nvram, hpet irqs
i801_smbus 0000:00:1f.3: PCI INT C -> GSI 18 (level, low) -> IRQ 18
ACPI: resource 0000:00:1f.3 [io 0x0400-0x041f] conflicts with ACPI
region SMRG [mem 0x00000400-0x0000040f pref disabled]
ACPI: If an ACPI driver is available for this device, you should use
it instead of the native driver
md3: unknown partition table
sky2: driver version 1.27
sky2 0000:06:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
sky2 0000:06:00.0: setting latency timer to 64
sky2 0000:06:00.0: Yukon-2 EC Ultra chip revision 3
sky2 0000:06:00.0: irq 55 for MSI/MSI-X
sky2 0000:06:00.0: eth0: addr e0:cb:4e:97:7a:09
sky2 0000:04:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
sky2 0000:04:00.0: setting latency timer to 64
sky2 0000:04:00.0: Yukon-2 EC Ultra chip revision 3
sky2 0000:04:00.0: irq 56 for MSI/MSI-X
sky2 0000:04:00.0: eth1: addr e0:cb:4e:97:80:fd
Linux agpgart interface v0.103
[drm] Initialized drm 1.1.0 20060810
HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
HDA Intel 0000:00:1b.0: irq 57 for MSI/MSI-X
HDA Intel 0000:00:1b.0: setting latency timer to 64
[drm] radeon defaulting to kernel modesetting.
[drm] radeon kernel modesetting enabled.
radeon 0000:03:00.0: PCI INT A -> GSI 30 (level, low) -> IRQ 30
radeon 0000:03:00.0: setting latency timer to 64
[drm] initializing kernel modesetting (JUNIPER 0x1002:0x68B8).
[drm] register mmio base: 0xFBAC0000
[drm] register mmio size: 131072
ATOM BIOS: JUNIPER
[drm] Clocks initialized !
[drm] 1 Power State(s)
[drm] State 0 Default (default)
[drm] 16 PCIE Lanes
[drm] 1 Clock Mode(s)
[drm] 0 engine/memory: 850000/1200000
[drm] radeon: power management initialized
radeon 0000:03:00.0: VRAM: 256M 0x00000000 - 0x0FFFFFFF (256M used)
radeon 0000:03:00.0: GTT: 512M 0x10000000 - 0x2FFFFFFF
mtrr: type mismatch for d0000000,10000000 old: write-back new: write-combining
[drm] Detected VRAM RAM=256M, BAR=256M
[drm] RAM width 128bits DDR
[TTM] Zone kernel: Available graphics memory: 6151604 kiB.
[TTM] Zone dma32: Available graphics memory: 2097152 kiB.
[drm] radeon: 256M of VRAM memory ready
[drm] radeon: 512M of GTT memory ready.
[drm] Radeon Display Connectors
[drm] Connector 0:
[drm] DisplayPort
[drm] HPD4
[drm] DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448 0x644c 0x644c
[drm] Encoders:
[drm] DFP1: INTERNAL_UNIPHY2
[drm] Connector 1:
[drm] HDMI-A
[drm] HPD5
[drm] DDC: 0x6430 0x6430 0x6434 0x6434 0x6438 0x6438 0x643c 0x643c
[drm] Encoders:
[drm] DFP2: INTERNAL_UNIPHY2
[drm] Connector 2:
[drm] DVI-I
[drm] HPD1
[drm] DDC: 0x6460 0x6460 0x6464 0x6464 0x6468 0x6468 0x646c 0x646c
[drm] Encoders:
[drm] DFP3: INTERNAL_UNIPHY1
[drm] CRT2: INTERNAL_KLDSCP_DAC2
[drm] Connector 3:
[drm] DVI-I
[drm] HPD6
[drm] DDC: 0x6450 0x6450 0x6454 0x6454 0x6458 0x6458 0x645c 0x645c
[drm] Encoders:
[drm] DFP4: INTERNAL_UNIPHY
[drm] CRT1: INTERNAL_KLDSCP_DAC1
[drm] fb mappable at 0xD0040000
[drm] vram apper at 0xD0000000
[drm] size 8294400
[drm] fb depth is 24
[drm] pitch is 7680
Console: switching to colour frame buffer device 240x67
hda_codec: AD1989B: BIOS auto-probing.
fb0: radeondrmfb frame buffer device
registered panic notifier
[drm] Initialized radeon 2.3.0 20080528 for 0000:03:00.0 on minor 0
HDA Intel 0000:03:00.1: PCI INT B -> GSI 37 (level, low) -> IRQ 37
HDA Intel 0000:03:00.1: irq 58 for MSI/MSI-X
HDA Intel 0000:03:00.1: setting latency timer to 64
EXT3-fs (md5): using internal journal
md: md11 stopped.
md: bind<sde1>
md: bind<sdd1>
raid0: looking at sdd1
raid0: comparing sdd1(104871936)
with sdd1(104871936)
raid0: END
raid0: ==> UNIQUE
raid0: 1 zones
raid0: looking at sde1
raid0: comparing sde1(104871936)
with sdd1(104871936)
raid0: EQUAL
raid0: FINAL 1 zones
raid0: done.
raid0 : md_size is 209743872 sectors.
******* md11 configuration *********
zone0=[sdd1/sde1/]
zone offset=0kb device offset=0kb size=104871936kb
**********************************

md11: detected capacity change from 0 to 107388862464
md11: unknown partition table
md: md6 stopped.
md: bind<sdb6>
md: bind<sdc6>
md: bind<sda6>
raid1: raid set md6 active with 3 out of 3 mirrors
md6: detected capacity change from 0 to 253354939392
md6: unknown partition table
kjournald starting. Commit interval 5 seconds
EXT3-fs (md11): warning: maximal mount count reached, running e2fsck
is recommended
EXT3-fs (md11): using internal journal
EXT3-fs (md11): mounted filesystem with writeback data mode
kjournald starting. Commit interval 5 seconds
EXT3-fs (md6): warning: maximal mount count reached, running e2fsck is
recommended
EXT3-fs (md6): using internal journal
EXT3-fs (md6): mounted filesystem with writeback data mode
Adding 4200992k swap on /dev/sda2. Priority:-1 extents:1 across:4200992k
Adding 4200992k swap on /dev/sdb2. Priority:-2 extents:1 across:4200992k
Adding 4200992k swap on /dev/sdc2. Priority:-3 extents:1 across:4200992k
sky2 0000:06:00.0: eth0: enabling interface
sky2 0000:06:00.0: eth0: Link is up at 100 Mbps, full duplex, flow control both
NET: Registered protocol family 10
/dev/vmmon[4187]: Module vmmon: registered with major=10 minor=165
/dev/vmmon[4187]: Initial HV check: anyNotCapable=0 anyUnlocked=0
anyEnabled=1 anyDisabled=0
/dev/vmmon[4187]: HV check: anyNotCapable=0 anyUnlocked=0 anyEnabled=1
anyDisabled=0
/dev/vmmon[4187]: Module vmmon: initialized
/dev/vmci[4206]: VMCI: Driver initialized.
/dev/vmci[4206]: Module vmci: registered with major=10 minor=59
/dev/vmci[4206]: Module vmci: initialized
/dev/vmnet: open called by PID 4288 (vmnet-bridge)
/dev/vmnet: hub 0 does not exist, allocating memory.
/dev/vmnet: port on hub 0 successfully opened
bridge-eth0: up
bridge-eth0: attached
/dev/vmnet: open called by PID 4295 (vmnet-dhcpd)
/dev/vmnet: hub 1 does not exist, allocating memory.
/dev/vmnet: port on hub 1 successfully opened
/dev/vmnet: open called by PID 4297 (vmnet-netifup)
/dev/vmnet: port on hub 1 successfully opened
/dev/vmnet: open called by PID 4300 (vmnet-dhcpd)
/dev/vmnet: hub 8 does not exist, allocating memory.
/dev/vmnet: port on hub 8 successfully opened
/dev/vmnet: open called by PID 4304 (vmnet-natd)
/dev/vmnet: port on hub 8 successfully opened
/dev/vmnet: open called by PID 4305 (vmnet-netifup)
/dev/vmnet: port on hub 8 successfully opened
eth0: no IPv6 routers present
vmnet1: no IPv6 routers present
vmnet8: no IPv6 routers present
c2stable ~ #


Attachments:
i980.2.6.34-gentoo-r1.config (63.99 kB)

2010-07-03 15:20:59

by Mark Knecht

[permalink] [raw]
Subject: Re: Drives missing at boot

On Fri, Jul 2, 2010 at 10:56 AM, Mark Knecht <[email protected]> wrote:
> Hi,
>   I have a newish machine - maybe 3 months old - which unreliably
> finds its disk drives at each boot. Probably 40% of the time booting 1
> or more drives will be missing.
>
>   So far I've been unable to determine what might be wrong. Sometimes
> it finds all 5 drives, sometimes only 4 or 3 drives. It's not always
> the same drives that are missing. Shown below are two successive warm
> boots. The machien had been running with all 5 drives working. The
> first time through it missed both /dev/sdd and /dev/sde while the very
> next time it found all 5 drives. Each of the 5 drives has been missing
> one or more times at different boots. (I.e. - it's not always drive
> sdd for instance.)
>
>   Every time I boot the AMI BIOS screen says all 5 drives are there.
> I have found that if I drop into BIOS before going to grub that
> selecting each drive one at a time and reading through it's setup
> seems to make the boot more reliable, but not 100%. Probably 80%
> reliable.
>
>   I don't know what info is required to look at this. I'm running the
> newest Gentoo kernel but it's been happening with all kernels I've
> tried since I built the machine. I'm attaching the kernel config as
> well as dmesg from the last boot which had all the drives. The only
> difference in dmesg when the drives don't show up (that I've spotted)
> is that the missing drive just isn't in dmesg. (I.e. no error messages
> that I could spot.)
>
>   Let me know what I might try or what other info you might want. The
> motherboard is an Asus Rampage II Extreme with an i7-980x 6 core/12
> thread processor. sda, sdb & sdc are part of a RAID1, sdd & sde are
> part of a RAID0.
>
> Thanks,
> Mark
>
<SNIP>

As a follow-up here's dmesg on a boot where neither sdd or sde showed up.

- Mark

mark@c2stable ~ $ ls -al /dev/sd*
brw-rw---- 1 root disk 8, 0 Jul 3 2010 /dev/sda
brw-rw---- 1 root disk 8, 1 Jul 3 2010 /dev/sda1
brw-rw---- 1 root disk 8, 2 Jul 3 2010 /dev/sda2
brw-rw---- 1 root disk 8, 3 Jul 3 2010 /dev/sda3
brw-rw---- 1 root disk 8, 4 Jul 3 2010 /dev/sda4
brw-rw---- 1 root disk 8, 5 Jul 3 2010 /dev/sda5
brw-rw---- 1 root disk 8, 6 Jul 3 2010 /dev/sda6
brw-rw---- 1 root disk 8, 16 Jul 3 2010 /dev/sdb
brw-rw---- 1 root disk 8, 17 Jul 3 2010 /dev/sdb1
brw-rw---- 1 root disk 8, 18 Jul 3 2010 /dev/sdb2
brw-rw---- 1 root disk 8, 19 Jul 3 2010 /dev/sdb3
brw-rw---- 1 root disk 8, 20 Jul 3 2010 /dev/sdb4
brw-rw---- 1 root disk 8, 21 Jul 3 2010 /dev/sdb5
brw-rw---- 1 root disk 8, 22 Jul 3 2010 /dev/sdb6
brw-rw---- 1 root disk 8, 32 Jul 3 2010 /dev/sdc
brw-rw---- 1 root disk 8, 33 Jul 3 2010 /dev/sdc1
brw-rw---- 1 root disk 8, 34 Jul 3 2010 /dev/sdc2
brw-rw---- 1 root disk 8, 35 Jul 3 2010 /dev/sdc3
brw-rw---- 1 root disk 8, 36 Jul 3 2010 /dev/sdc4
brw-rw---- 1 root disk 8, 37 Jul 3 2010 /dev/sdc5
brw-rw---- 1 root disk 8, 38 Jul 3 2010 /dev/sdc6
mark@c2stable ~ $ dmesg
Linux version 2.6.34-gentoo-r1 (root@c2stable) (gcc version 4.4.3
(Gentoo 4.4.3-r2 p1.2) ) #1 SMP PREEMPT Fri Jul 2 10:04:52 PDT 2010
Command line: root=/dev/md5
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 00000000bf780000 (usable)
BIOS-e820: 00000000bf780000 - 00000000bf798000 (ACPI data)
BIOS-e820: 00000000bf798000 - 00000000bf7dc000 (ACPI NVS)
BIOS-e820: 00000000bf7dc000 - 00000000c0000000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ffe00000 - 0000000100000000 (reserved)
BIOS-e820: 0000000100000000 - 0000000340000000 (usable)
NX (Execute Disable) protection: active
DMI 2.5 present.
AMI BIOS detected: BIOS may corrupt low RAM, working around it.
e820 update range: 0000000000000000 - 0000000000010000 (usable) ==> (reserved)
e820 update range: 0000000000000000 - 0000000000001000 (usable) ==> (reserved)
e820 remove range: 00000000000a0000 - 0000000000100000 (usable)
No AGP bridge found
last_pfn = 0x340000 max_arch_pfn = 0x400000000
MTRR default type: uncachable
MTRR fixed ranges enabled:
00000-9FFFF write-back
A0000-BFFFF uncachable
C0000-DFFFF write-protect
E0000-E7FFF write-through
E8000-FFFFF write-protect
MTRR variable ranges enabled:
0 base 000000000 mask E00000000 write-back
1 base 200000000 mask F00000000 write-back
2 base 300000000 mask FC0000000 write-back
3 base 0C0000000 mask FC0000000 uncachable
4 base 0BF800000 mask FFF800000 uncachable
5 disabled
6 disabled
7 disabled
8 disabled
9 disabled
x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
e820 update range: 00000000bf800000 - 0000000100000000 (usable) ==> (reserved)
last_pfn = 0xbf780 max_arch_pfn = 0x400000000
initial memory mapped : 0 - 20000000
found SMP MP-table at [ffff8800000ff780] ff780
Using GB pages for direct mapping
init_memory_mapping: 0000000000000000-00000000bf780000
0000000000 - 0080000000 page 1G
0080000000 - 00bf600000 page 2M
00bf600000 - 00bf780000 page 4k
kernel direct mapping tables up to bf780000 @ 12000-15000
init_memory_mapping: 0000000100000000-0000000340000000
0100000000 - 0340000000 page 1G
kernel direct mapping tables up to 340000000 @ 14000-15000
ACPI: RSDP 00000000000fb0c0 00014 (v00 ACPIAM)
ACPI: RSDT 00000000bf780000 00040 (v01 012810 RSDT1341 20100128 MSFT 00000097)
ACPI: FACP 00000000bf780200 00084 (v01 012810 FACP1341 20100128 MSFT 00000097)
ACPI: DSDT 00000000bf7804b0 0D2BA (v01 A1088 A1088000 00000000 INTL 20060113)
ACPI: FACS 00000000bf798000 00040
ACPI: APIC 00000000bf780390 000D8 (v01 012810 APIC1341 20100128 MSFT 00000097)
ACPI: MCFG 00000000bf780470 0003C (v01 012810 OEMMCFG 20100128 MSFT 00000097)
ACPI: OEMB 00000000bf798040 00072 (v01 012810 OEMB1341 20100128 MSFT 00000097)
ACPI: HPET 00000000bf78f4b0 00038 (v01 012810 OEMHPET 20100128 MSFT 00000097)
ACPI: OSFR 00000000bf78f4f0 000B0 (v01 012810 OEMOSFR 20100128 MSFT 00000097)
ACPI: SSDT 00000000bf79ba40 00363 (v01 DpgPmm CpuPm 00000012 INTL 20060113)
ACPI: Local APIC address 0xfee00000
[ffffea0000000000-ffffea000b5fffff] PMD ->
[ffff880002000000-ffff88000c7fffff] on node 0
Zone PFN ranges:
DMA 0x00000010 -> 0x00001000
DMA32 0x00001000 -> 0x00100000
Normal 0x00100000 -> 0x00340000
Movable zone start PFN for each node
early_node_map[3] active PFN ranges
0: 0x00000010 -> 0x0000009f
0: 0x00000100 -> 0x000bf780
0: 0x00100000 -> 0x00340000
On node 0 totalpages: 3143439
DMA zone: 56 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 3927 pages, LIFO batch:0
DMA32 zone: 14280 pages used for memmap
DMA32 zone: 765880 pages, LIFO batch:31
Normal zone: 32256 pages used for memmap
Normal zone: 2327040 pages, LIFO batch:31
ACPI: PM-Timer IO Port: 0x808
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] enabled)
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x04] enabled)
ACPI: LAPIC (acpi_id[0x04] lapic_id[0x10] enabled)
ACPI: LAPIC (acpi_id[0x05] lapic_id[0x12] enabled)
ACPI: LAPIC (acpi_id[0x06] lapic_id[0x14] enabled)
ACPI: LAPIC (acpi_id[0x07] lapic_id[0x01] enabled)
ACPI: LAPIC (acpi_id[0x08] lapic_id[0x03] enabled)
ACPI: LAPIC (acpi_id[0x09] lapic_id[0x05] enabled)
ACPI: LAPIC (acpi_id[0x0a] lapic_id[0x11] enabled)
ACPI: LAPIC (acpi_id[0x0b] lapic_id[0x13] enabled)
ACPI: LAPIC (acpi_id[0x0c] lapic_id[0x15] enabled)
ACPI: LAPIC (acpi_id[0x0d] lapic_id[0x8c] disabled)
ACPI: LAPIC (acpi_id[0x0e] lapic_id[0x8d] disabled)
ACPI: LAPIC (acpi_id[0x0f] lapic_id[0x8e] disabled)
ACPI: LAPIC (acpi_id[0x10] lapic_id[0x8f] disabled)
ACPI: IOAPIC (id[0x06] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 6, version 32, address 0xfec00000, GSI 0-23
ACPI: IOAPIC (id[0x07] address[0xfec8a000] gsi_base[24])
IOAPIC[1]: apic_id 7, version 32, address 0xfec8a000, GSI 24-47
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Using ACPI (MADT) for SMP configuration information
ACPI: HPET id: 0x8086a301 base: 0xfed00000
16 Processors exceeds NR_CPUS limit of 12
SMP: Allowing 12 CPUs, 0 hotplug CPUs
nr_irqs_gsi: 48
early_res array is doubled to 64 at [14000 - 147ff]
Allocating PCI resources starting at c0000000 (gap: c0000000:3ee00000)
setup_percpu: NR_CPUS:12 nr_cpumask_bits:12 nr_cpu_ids:12 nr_node_ids:1
PERCPU: Embedded 26 pages/cpu @ffff880001800000 s75176 r8192 d23128 u131072
pcpu-alloc: s75176 r8192 d23128 u131072 alloc=1*2097152
pcpu-alloc: [0] 00 01 02 03 04 05 06 07 08 09 10 11 -- -- -- --
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 3096847
Kernel command line: root=/dev/md5
PID hash table entries: 4096 (order: 3, 32768 bytes)
Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes)
early_res array is doubled to 128 at [14800 - 157ff]
Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes)
Checking aperture...
No AGP bridge found
Subtract (60 early reservations)
#1 [0001000000 - 0001771244] TEXT DATA BSS
#2 [0001772000 - 0001772298] BRK
#3 [00000ff790 - 0000100000] BIOS reserved
#4 [00000ff780 - 00000ff790] MP-table mpf
#5 [000009fc00 - 00000f1310] BIOS reserved
#6 [00000f14fc - 00000ff780] BIOS reserved
#7 [00000f1310 - 00000f14fc] MP-table mpc
#8 [0000010000 - 0000012000] TRAMPOLINE
#9 [0000012000 - 0000014000] PGTABLE
#10 [00017722c0 - 00017732c0] BOOTMEM
#11 [0001771280 - 0001771880] BOOTMEM
#12 [0001f74000 - 0001f75000] BOOTMEM
#13 [0001f75000 - 0001f76000] BOOTMEM
#14 [0002000000 - 000c800000] MEMMAP 0
#15 [0001771880 - 0001771a00] BOOTMEM
#16 [00017732c0 - 000178b2c0] BOOTMEM
#17 [000178b2c0 - 00017a32c0] BOOTMEM
#18 [00017a4000 - 00017a5000] BOOTMEM
#19 [0001771a00 - 0001771a41] BOOTMEM
#20 [0001771a80 - 0001771b06] BOOTMEM
#21 [0001771b40 - 0001771da8] BOOTMEM
#22 [0001771dc0 - 0001771e28] BOOTMEM
#23 [0001771e40 - 0001771ea8] BOOTMEM
#24 [0001771ec0 - 0001771f28] BOOTMEM
#25 [0001771f40 - 0001771fa8] BOOTMEM
#26 [00017a32c0 - 00017a3328] BOOTMEM
#27 [00017a3340 - 00017a33a8] BOOTMEM
#28 [00017a33c0 - 00017a3428] BOOTMEM
#29 [00017a3440 - 00017a34a8] BOOTMEM
#30 [00017a34c0 - 00017a3528] BOOTMEM
#31 [00017a3540 - 00017a35a8] BOOTMEM
#32 [0001771fc0 - 0001771fce] BOOTMEM
#33 [00017a35c0 - 00017a35ce] BOOTMEM
#34 [0001800000 - 000181a000] BOOTMEM
#35 [0001820000 - 000183a000] BOOTMEM
#36 [0001840000 - 000185a000] BOOTMEM
#37 [0001860000 - 000187a000] BOOTMEM
#38 [0001880000 - 000189a000] BOOTMEM
#39 [00018a0000 - 00018ba000] BOOTMEM
#40 [00018c0000 - 00018da000] BOOTMEM
#41 [00018e0000 - 00018fa000] BOOTMEM
#42 [0001900000 - 000191a000] BOOTMEM
#43 [0001920000 - 000193a000] BOOTMEM
#44 [0001940000 - 000195a000] BOOTMEM
#45 [0001960000 - 000197a000] BOOTMEM
#46 [00017a3600 - 00017a3608] BOOTMEM
#47 [00017a3640 - 00017a3648] BOOTMEM
#48 [00017a3680 - 00017a36b0] BOOTMEM
#49 [00017a36c0 - 00017a3720] BOOTMEM
#50 [00017a3740 - 00017a3850] BOOTMEM
#51 [00017a3880 - 00017a38c8] BOOTMEM
#52 [00017a3900 - 00017a3948] BOOTMEM
#53 [00017a5000 - 00017ad000] BOOTMEM
#54 [000c800000 - 000d800000] BOOTMEM
#55 [000d800000 - 000e000000] BOOTMEM
#56 [000e000000 - 0012000000] BOOTMEM
#57 [00017ad000 - 00017cd000] BOOTMEM
#58 [000197a000 - 00019ba000] BOOTMEM
#59 [0000015800 - 000001d800] BOOTMEM
Memory: 12302060k/13631488k available (3665k kernel code, 1057732k
absent, 271696k reserved, 2924k data, 476k init)
Experimental preemptable hierarchical RCU implementation.
NR_IRQS:640
Console: colour VGA+ 80x25
console [tty0] enabled
hpet clockevent registered
Fast TSC calibration using PIT
Detected 3337.655 MHz processor.
Calibrating delay loop (skipped), value calculated using timer
frequency.. 6675.31 BogoMIPS (lpj=3337655)
Security Framework initialized
Mount-cache hash table entries: 256
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
mce: CPU supports 9 MCE banks
CPU0: Thermal monitoring enabled (TM1)
using mwait in idle threads.
Performance Events: Westmere events, Intel PMU driver.
... version: 3
... bit width: 48
... generic registers: 4
... value mask: 0000ffffffffffff
... max period: 000000007fffffff
... fixed-purpose events: 3
... event mask: 000000070000000f
Freeing SMP alternatives: 36k freed
ACPI: Core revision 20100121
Setting APIC routing to physical flat
..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
CPU0: Intel(R) Core(TM) i7 CPU X 980 @ 3.33GHz stepping 02
APIC calibration not consistent with PM-Timer: 103ms instead of 100ms
APIC delta adjusted to PM-Timer: 834372 (867738)
Booting Node 0, Processors #1 #2 #3 #4 #5 #6 #7 #8 #9 #10 #11 Ok.
Brought up 12 CPUs
Total of 12 processors activated (80895.10 BogoMIPS).
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem
0xe0000000-0xefffffff] (base 0xe0000000)
PCI: not using MMCONFIG
PCI: Using configuration type 1 for base access
bio: create slab <bio-0> at 0
ACPI: EC: Look up EC in DSDT
ACPI: Executed 1 blocks of module-level executable AML code
ACPI: SSDT 00000000bf7980c0 03978 (v01 DpgPmm P001Ist 00000011 INTL 20060113)
ACPI: Interpreter enabled
ACPI: (supports S0 S5)
ACPI: Using IOAPIC for interrupt routing
PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem
0xe0000000-0xefffffff] (base 0xe0000000)
PCI: MMCONFIG at [mem 0xe0000000-0xefffffff] reserved in ACPI
motherboard resources
ACPI: No dock devices found.
PCI: Using host bridge windows from ACPI; if necessary, use
"pci=nocrs" and report a bug
ACPI: PCI Root Bridge [PCI0] (0000:00)
pci_root PNP0A08:00: host bridge window [io 0x0000-0x0cf7]
pci_root PNP0A08:00: host bridge window [io 0x0d00-0xffff]
pci_root PNP0A08:00: host bridge window [mem 0x000a0000-0x000bffff]
pci_root PNP0A08:00: host bridge window [mem 0x000d0000-0x000dffff]
pci_root PNP0A08:00: host bridge window [mem 0xc0000000-0xdfffffff]
pci_root PNP0A08:00: host bridge window [mem 0xf0000000-0xfed8ffff]
pci 0000:00:00.0: PME# supported from D0 D3hot D3cold
pci 0000:00:00.0: PME# disabled
pci 0000:00:01.0: PME# supported from D0 D3hot D3cold
pci 0000:00:01.0: PME# disabled
pci 0000:00:03.0: PME# supported from D0 D3hot D3cold
pci 0000:00:03.0: PME# disabled
pci 0000:00:07.0: PME# supported from D0 D3hot D3cold
pci 0000:00:07.0: PME# disabled
pci 0000:00:1a.0: reg 20: [io 0x9800-0x981f]
pci 0000:00:1a.1: reg 20: [io 0x9880-0x989f]
pci 0000:00:1a.2: reg 20: [io 0x9c00-0x9c1f]
pci 0000:00:1a.7: reg 10: [mem 0xfb9ff000-0xfb9ff3ff]
pci 0000:00:1a.7: PME# supported from D0 D3hot D3cold
pci 0000:00:1a.7: PME# disabled
pci 0000:00:1b.0: reg 10: [mem 0xfb9f8000-0xfb9fbfff 64bit]
pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
pci 0000:00:1b.0: PME# disabled
pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
pci 0000:00:1c.0: PME# disabled
pci 0000:00:1c.2: PME# supported from D0 D3hot D3cold
pci 0000:00:1c.2: PME# disabled
pci 0000:00:1c.4: PME# supported from D0 D3hot D3cold
pci 0000:00:1c.4: PME# disabled
pci 0000:00:1c.5: PME# supported from D0 D3hot D3cold
pci 0000:00:1c.5: PME# disabled
pci 0000:00:1d.0: reg 20: [io 0x9080-0x909f]
pci 0000:00:1d.1: reg 20: [io 0x9400-0x941f]
pci 0000:00:1d.2: reg 20: [io 0x9480-0x949f]
pci 0000:00:1d.7: reg 10: [mem 0xfb9fe000-0xfb9fe3ff]
pci 0000:00:1d.7: PME# supported from D0 D3hot D3cold
pci 0000:00:1d.7: PME# disabled
pci 0000:00:1f.0: quirk: [io 0x0800-0x087f] claimed by ICH6 ACPI/GPIO/TCO
pci 0000:00:1f.0: quirk: [io 0x0500-0x053f] claimed by ICH6 GPIO
pci 0000:00:1f.0: ICH7 LPC Generic IO decode 1 PIO at 0294 (mask 0003)
pci 0000:00:1f.2: reg 10: [io 0x8000-0x8007]
pci 0000:00:1f.2: reg 14: [io 0x7c00-0x7c03]
pci 0000:00:1f.2: reg 18: [io 0x7880-0x7887]
pci 0000:00:1f.2: reg 1c: [io 0x7800-0x7803]
pci 0000:00:1f.2: reg 20: [io 0x7480-0x748f]
pci 0000:00:1f.2: reg 24: [io 0x7400-0x740f]
pci 0000:00:1f.3: reg 10: [mem 0xfb9fd000-0xfb9fd0ff 64bit]
pci 0000:00:1f.3: reg 20: [io 0x0400-0x041f]
pci 0000:00:1f.5: reg 10: [io 0x9000-0x9007]
pci 0000:00:1f.5: reg 14: [io 0x8c00-0x8c03]
pci 0000:00:1f.5: reg 18: [io 0x8880-0x8887]
pci 0000:00:1f.5: reg 1c: [io 0x8800-0x8803]
pci 0000:00:1f.5: reg 20: [io 0x8480-0x848f]
pci 0000:00:1f.5: reg 24: [io 0x8400-0x840f]
pci 0000:00:01.0: PCI bridge to [bus 01-01]
pci 0000:00:01.0: bridge window [io 0xf000-0x0000] (disabled)
pci 0000:00:01.0: bridge window [mem 0xfff00000-0x000fffff] (disabled)
pci 0000:00:01.0: bridge window [mem 0xfff00000-0x000fffff pref] (disabled)
pci 0000:00:03.0: PCI bridge to [bus 02-02]
pci 0000:00:03.0: bridge window [io 0xf000-0x0000] (disabled)
pci 0000:00:03.0: bridge window [mem 0xfff00000-0x000fffff] (disabled)
pci 0000:00:03.0: bridge window [mem 0xfff00000-0x000fffff pref] (disabled)
pci 0000:03:00.0: reg 10: [mem 0xd0000000-0xdfffffff 64bit pref]
pci 0000:03:00.0: reg 18: [mem 0xfbac0000-0xfbadffff 64bit]
pci 0000:03:00.0: reg 20: [io 0xa000-0xa0ff]
pci 0000:03:00.0: reg 30: [mem 0xfbaa0000-0xfbabffff pref]
pci 0000:03:00.0: supports D1 D2
pci 0000:03:00.1: reg 10: [mem 0xfbafc000-0xfbafffff 64bit]
pci 0000:03:00.1: supports D1 D2
pci 0000:00:07.0: PCI bridge to [bus 03-03]
pci 0000:00:07.0: bridge window [io 0xa000-0xafff]
pci 0000:00:07.0: bridge window [mem 0xfba00000-0xfbafffff]
pci 0000:00:07.0: bridge window [mem 0xd0000000-0xdfffffff 64bit pref]
pci 0000:00:1c.0: PCI bridge to [bus 07-07]
pci 0000:00:1c.0: bridge window [io 0xf000-0x0000] (disabled)
pci 0000:00:1c.0: bridge window [mem 0xfff00000-0x000fffff] (disabled)
pci 0000:00:1c.0: bridge window [mem 0xfaf00000-0xfaffffff 64bit pref]
pci 0000:06:00.0: reg 10: [mem 0xfbdfc000-0xfbdfffff 64bit]
pci 0000:06:00.0: reg 18: [io 0xd800-0xd8ff]
pci 0000:06:00.0: reg 30: [mem 0xfbdc0000-0xfbddffff pref]
pci 0000:06:00.0: supports D1 D2
pci 0000:06:00.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:06:00.0: PME# disabled
pci 0000:00:1c.2: PCI bridge to [bus 06-06]
pci 0000:00:1c.2: bridge window [io 0xd000-0xdfff]
pci 0000:00:1c.2: bridge window [mem 0xfbd00000-0xfbdfffff]
pci 0000:00:1c.2: bridge window [mem 0xfff00000-0x000fffff pref] (disabled)
pci 0000:05:00.0: reg 24: [mem 0xfbcfe000-0xfbcfffff]
pci 0000:05:00.0: PME# supported from D3hot
pci 0000:05:00.0: PME# disabled
pci 0000:05:00.1: reg 10: [io 0xcc00-0xcc07]
pci 0000:05:00.1: reg 14: [io 0xc880-0xc883]
pci 0000:05:00.1: reg 18: [io 0xc800-0xc807]
pci 0000:05:00.1: reg 1c: [io 0xc480-0xc483]
pci 0000:05:00.1: reg 20: [io 0xc400-0xc40f]
pci 0000:00:1c.4: PCI bridge to [bus 05-05]
pci 0000:00:1c.4: bridge window [io 0xc000-0xcfff]
pci 0000:00:1c.4: bridge window [mem 0xfbc00000-0xfbcfffff]
pci 0000:00:1c.4: bridge window [mem 0xfff00000-0x000fffff pref] (disabled)
pci 0000:04:00.0: reg 10: [mem 0xfbbfc000-0xfbbfffff 64bit]
pci 0000:04:00.0: reg 18: [io 0xb800-0xb8ff]
pci 0000:04:00.0: reg 30: [mem 0xfbbc0000-0xfbbdffff pref]
pci 0000:04:00.0: supports D1 D2
pci 0000:04:00.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:04:00.0: PME# disabled
pci 0000:00:1c.5: PCI bridge to [bus 04-04]
pci 0000:00:1c.5: bridge window [io 0xb000-0xbfff]
pci 0000:00:1c.5: bridge window [mem 0xfbb00000-0xfbbfffff]
pci 0000:00:1c.5: bridge window [mem 0xfff00000-0x000fffff pref] (disabled)
pci 0000:08:02.0: reg 10: [mem 0xfbeff000-0xfbeff7ff]
pci 0000:08:02.0: reg 14: [io 0xec00-0xec7f]
pci 0000:08:02.0: supports D2
pci 0000:08:02.0: PME# supported from D2 D3hot D3cold
pci 0000:08:02.0: PME# disabled
pci 0000:00:1e.0: PCI bridge to [bus 08-08] (subtractive decode)
pci 0000:00:1e.0: bridge window [io 0xe000-0xefff]
pci 0000:00:1e.0: bridge window [mem 0xfbe00000-0xfbefffff]
pci 0000:00:1e.0: bridge window [mem 0xfff00000-0x000fffff pref] (disabled)
pci 0000:00:1e.0: bridge window [io 0x0000-0x0cf7] (subtractive decode)
pci 0000:00:1e.0: bridge window [io 0x0d00-0xffff] (subtractive decode)
pci 0000:00:1e.0: bridge window [mem 0x000a0000-0x000bffff]
(subtractive decode)
pci 0000:00:1e.0: bridge window [mem 0x000d0000-0x000dffff]
(subtractive decode)
pci 0000:00:1e.0: bridge window [mem 0xc0000000-0xdfffffff]
(subtractive decode)
pci 0000:00:1e.0: bridge window [mem 0xf0000000-0xfed8ffff]
(subtractive decode)
pci_bus 0000:00: on NUMA node 0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P4._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P6._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P8._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P9._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.NPE1._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.NPE3._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.NPE7._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs *5)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 6 7 10 11 12 *14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 6 7 10 11 12 14 *15)
ACPI: PCI Interrupt Link [LNKF] (IRQs *3 4 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 6 *7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 *4 6 7 10 11 12 14 15)
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Using ACPI for IRQ routing
PCI: pci_cache_line_size set to 64 bytes
reserve RAM buffer: 000000000009fc00 - 000000000009ffff
reserve RAM buffer: 00000000bf780000 - 00000000bfffffff
hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0
hpet0: 4 comparators, 64-bit 14.318180 MHz counter
Switching to clocksource tsc
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 17 devices
ACPI: ACPI bus type pnp unregistered
system 00:01: [mem 0xfbf00000-0xfbffffff] has been reserved
system 00:01: [mem 0xfc000000-0xfcffffff] has been reserved
system 00:01: [mem 0xfd000000-0xfdffffff] has been reserved
system 00:01: [mem 0xfe000000-0xfebfffff] has been reserved
system 00:01: [mem 0xfec8a000-0xfec8afff] could not be reserved
system 00:01: [mem 0xfed10000-0xfed10fff] has been reserved
system 00:07: [io 0x0290-0x029f] has been reserved
system 00:08: [io 0x04d0-0x04d1] has been reserved
system 00:08: [io 0x0800-0x087f] has been reserved
system 00:08: [io 0x0500-0x057f] could not be reserved
system 00:08: [mem 0xfed1c000-0xfed1ffff] has been reserved
system 00:08: [mem 0xfed20000-0xfed3ffff] has been reserved
system 00:08: [mem 0xfed40000-0xfed8ffff] has been reserved
system 00:0b: [mem 0xffc00000-0xffdfffff] has been reserved
system 00:0c: [mem 0xfec00000-0xfec00fff] could not be reserved
system 00:0c: [mem 0xfee00000-0xfee00fff] has been reserved
system 00:0f: [mem 0xe0000000-0xefffffff] has been reserved
system 00:10: [mem 0x00000000-0x0009ffff] could not be reserved
system 00:10: [mem 0x000c0000-0x000cffff] has been reserved
system 00:10: [mem 0x000e0000-0x000fffff] could not be reserved
system 00:10: [mem 0x00100000-0xbfffffff] could not be reserved
system 00:10: [mem 0xfed90000-0xffffffff] could not be reserved
pci 0000:00:1c.0: BAR 8: assigned [mem 0xc0000000-0xc03fffff]
pci 0000:00:1c.2: BAR 9: assigned [mem 0xc0400000-0xc05fffff 64bit pref]
pci 0000:00:1c.4: BAR 9: assigned [mem 0xc0600000-0xc07fffff 64bit pref]
pci 0000:00:1c.5: BAR 9: assigned [mem 0xc0800000-0xc09fffff 64bit pref]
pci 0000:00:1c.0: BAR 7: assigned [io 0x1000-0x1fff]
pci 0000:00:01.0: PCI bridge to [bus 01-01]
pci 0000:00:01.0: bridge window [io disabled]
pci 0000:00:01.0: bridge window [mem disabled]
pci 0000:00:01.0: bridge window [mem pref disabled]
pci 0000:00:03.0: PCI bridge to [bus 02-02]
pci 0000:00:03.0: bridge window [io disabled]
pci 0000:00:03.0: bridge window [mem disabled]
pci 0000:00:03.0: bridge window [mem pref disabled]
pci 0000:00:07.0: PCI bridge to [bus 03-03]
pci 0000:00:07.0: bridge window [io 0xa000-0xafff]
pci 0000:00:07.0: bridge window [mem 0xfba00000-0xfbafffff]
pci 0000:00:07.0: bridge window [mem 0xd0000000-0xdfffffff 64bit pref]
pci 0000:00:1c.0: PCI bridge to [bus 07-07]
pci 0000:00:1c.0: bridge window [io 0x1000-0x1fff]
pci 0000:00:1c.0: bridge window [mem 0xc0000000-0xc03fffff]
pci 0000:00:1c.0: bridge window [mem 0xfaf00000-0xfaffffff 64bit pref]
pci 0000:00:1c.2: PCI bridge to [bus 06-06]
pci 0000:00:1c.2: bridge window [io 0xd000-0xdfff]
pci 0000:00:1c.2: bridge window [mem 0xfbd00000-0xfbdfffff]
pci 0000:00:1c.2: bridge window [mem 0xc0400000-0xc05fffff 64bit pref]
pci 0000:00:1c.4: PCI bridge to [bus 05-05]
pci 0000:00:1c.4: bridge window [io 0xc000-0xcfff]
pci 0000:00:1c.4: bridge window [mem 0xfbc00000-0xfbcfffff]
pci 0000:00:1c.4: bridge window [mem 0xc0600000-0xc07fffff 64bit pref]
pci 0000:00:1c.5: PCI bridge to [bus 04-04]
pci 0000:00:1c.5: bridge window [io 0xb000-0xbfff]
pci 0000:00:1c.5: bridge window [mem 0xfbb00000-0xfbbfffff]
pci 0000:00:1c.5: bridge window [mem 0xc0800000-0xc09fffff 64bit pref]
pci 0000:00:1e.0: PCI bridge to [bus 08-08]
pci 0000:00:1e.0: bridge window [io 0xe000-0xefff]
pci 0000:00:1e.0: bridge window [mem 0xfbe00000-0xfbefffff]
pci 0000:00:1e.0: bridge window [mem pref disabled]
pci 0000:00:01.0: setting latency timer to 64
pci 0000:00:03.0: setting latency timer to 64
pci 0000:00:07.0: setting latency timer to 64
pci 0000:00:1c.0: enabling device (0106 -> 0107)
pci 0000:00:1c.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
pci 0000:00:1c.0: setting latency timer to 64
pci 0000:00:1c.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
pci 0000:00:1c.2: setting latency timer to 64
pci 0000:00:1c.4: PCI INT A -> GSI 17 (level, low) -> IRQ 17
pci 0000:00:1c.4: setting latency timer to 64
pci 0000:00:1c.5: PCI INT B -> GSI 16 (level, low) -> IRQ 16
pci 0000:00:1c.5: setting latency timer to 64
pci 0000:00:1e.0: setting latency timer to 64
pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7]
pci_bus 0000:00: resource 5 [io 0x0d00-0xffff]
pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff]
pci_bus 0000:00: resource 7 [mem 0x000d0000-0x000dffff]
pci_bus 0000:00: resource 8 [mem 0xc0000000-0xdfffffff]
pci_bus 0000:00: resource 9 [mem 0xf0000000-0xfed8ffff]
pci_bus 0000:03: resource 0 [io 0xa000-0xafff]
pci_bus 0000:03: resource 1 [mem 0xfba00000-0xfbafffff]
pci_bus 0000:03: resource 2 [mem 0xd0000000-0xdfffffff 64bit pref]
pci_bus 0000:07: resource 0 [io 0x1000-0x1fff]
pci_bus 0000:07: resource 1 [mem 0xc0000000-0xc03fffff]
pci_bus 0000:07: resource 2 [mem 0xfaf00000-0xfaffffff 64bit pref]
pci_bus 0000:06: resource 0 [io 0xd000-0xdfff]
pci_bus 0000:06: resource 1 [mem 0xfbd00000-0xfbdfffff]
pci_bus 0000:06: resource 2 [mem 0xc0400000-0xc05fffff 64bit pref]
pci_bus 0000:05: resource 0 [io 0xc000-0xcfff]
pci_bus 0000:05: resource 1 [mem 0xfbc00000-0xfbcfffff]
pci_bus 0000:05: resource 2 [mem 0xc0600000-0xc07fffff 64bit pref]
pci_bus 0000:04: resource 0 [io 0xb000-0xbfff]
pci_bus 0000:04: resource 1 [mem 0xfbb00000-0xfbbfffff]
pci_bus 0000:04: resource 2 [mem 0xc0800000-0xc09fffff 64bit pref]
pci_bus 0000:08: resource 0 [io 0xe000-0xefff]
pci_bus 0000:08: resource 1 [mem 0xfbe00000-0xfbefffff]
pci_bus 0000:08: resource 4 [io 0x0000-0x0cf7]
pci_bus 0000:08: resource 5 [io 0x0d00-0xffff]
pci_bus 0000:08: resource 6 [mem 0x000a0000-0x000bffff]
pci_bus 0000:08: resource 7 [mem 0x000d0000-0x000dffff]
pci_bus 0000:08: resource 8 [mem 0xc0000000-0xdfffffff]
pci_bus 0000:08: resource 9 [mem 0xf0000000-0xfed8ffff]
NET: Registered protocol family 2
IP route cache hash table entries: 524288 (order: 10, 4194304 bytes)
TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 262144 bind 65536)
TCP reno registered
UDP hash table entries: 8192 (order: 6, 262144 bytes)
UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
pci 0000:03:00.0: Boot video device
PCI: CLS 256 bytes, default 64
PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
Placing 64MB software IO TLB between ffff88000e000000 - ffff880012000000
software IO TLB at phys 0xe000000 - 0x12000000
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
NTFS driver 2.1.29 [Flags: R/W].
fuse init (API version 7.13)
msgmni has been set to 24027
alg: No test for stdrng (krng)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
pcieport 0000:00:01.0: setting latency timer to 64
pcieport 0000:00:01.0: irq 48 for MSI/MSI-X
pcieport 0000:00:03.0: setting latency timer to 64
pcieport 0000:00:03.0: irq 49 for MSI/MSI-X
pcieport 0000:00:07.0: setting latency timer to 64
pcieport 0000:00:07.0: irq 50 for MSI/MSI-X
pcieport 0000:00:1c.0: setting latency timer to 64
pcieport 0000:00:1c.0: irq 51 for MSI/MSI-X
pcieport 0000:00:1c.2: setting latency timer to 64
pcieport 0000:00:1c.2: irq 52 for MSI/MSI-X
pcieport 0000:00:1c.4: setting latency timer to 64
pcieport 0000:00:1c.4: irq 53 for MSI/MSI-X
pcieport 0000:00:1c.5: setting latency timer to 64
pcieport 0000:00:1c.5: irq 54 for MSI/MSI-X
aer 0000:00:01.0:pcie02: AER service couldn't init device: no _OSC support
aer 0000:00:03.0:pcie02: AER service couldn't init device: no _OSC support
aer 0000:00:07.0:pcie02: AER service couldn't init device: no _OSC support
Non-volatile memory driver v1.3
input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
ACPI: Power Button [PWRB]
input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
ACPI: Power Button [PWRF]
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
brd: module loaded
loop: module loaded
Uniform Multi-Platform E-IDE driver
ide-gd driver 1.18
ahci 0000:05:00.0: version 3.0
ahci 0000:05:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
ahci 0000:05:00.0: AHCI 0001.0000 32 slots 2 ports 3 Gbps 0x3 impl SATA mode
ahci 0000:05:00.0: flags: 64bit ncq pm led clo pmp pio slum part
ahci 0000:05:00.0: setting latency timer to 64
scsi0 : ahci
scsi1 : ahci
ata1: SATA max UDMA/133 abar m8192@0xfbcfe000 port 0xfbcfe100 irq 16
ata2: SATA max UDMA/133 abar m8192@0xfbcfe000 port 0xfbcfe180 irq 16
ata_piix 0000:00:1f.2: version 2.13
ata_piix 0000:00:1f.2: PCI INT B -> GSI 20 (level, low) -> IRQ 20
ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ]
ata_piix 0000:00:1f.2: setting latency timer to 64
scsi2 : ata_piix
scsi3 : ata_piix
ata3: SATA max UDMA/133 cmd 0x8000 ctl 0x7c00 bmdma 0x7480 irq 20
ata4: SATA max UDMA/133 cmd 0x7880 ctl 0x7800 bmdma 0x7488 irq 20
ata_piix 0000:00:1f.5: PCI INT B -> GSI 20 (level, low) -> IRQ 20
ata_piix 0000:00:1f.5: MAP [ P0 -- P1 -- ]
ata_piix 0000:00:1f.5: setting latency timer to 64
scsi4 : ata_piix
scsi5 : ata_piix
ata5: SATA max UDMA/133 cmd 0x9000 ctl 0x8c00 bmdma 0x8480 irq 20
ata6: SATA max UDMA/133 cmd 0x8880 ctl 0x8800 bmdma 0x8488 irq 20
console [netcon0] enabled
netconsole: network logging started
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_hcd 0000:00:1a.7: PCI INT C -> GSI 18 (level, low) -> IRQ 18
ehci_hcd 0000:00:1a.7: setting latency timer to 64
ehci_hcd 0000:00:1a.7: EHCI Host Controller
ehci_hcd 0000:00:1a.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1a.7: debug port 1
ehci_hcd 0000:00:1a.7: cache line size of 256 is not supported
ehci_hcd 0000:00:1a.7: irq 18, io mem 0xfb9ff000
ehci_hcd 0000:00:1a.7: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.34-gentoo-r1 ehci_hcd
usb usb1: SerialNumber: 0000:00:1a.7
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 23 (level, low) -> IRQ 23
ehci_hcd 0000:00:1d.7: setting latency timer to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 2
ehci_hcd 0000:00:1d.7: debug port 1
ehci_hcd 0000:00:1d.7: cache line size of 256 is not supported
ehci_hcd 0000:00:1d.7: irq 23, io mem 0xfb9fe000
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: EHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.34-gentoo-r1 ehci_hcd
usb usb2: SerialNumber: 0000:00:1d.7
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 6 ports detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
uhci_hcd: USB Universal Host Controller Interface driver
uhci_hcd 0000:00:1a.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
uhci_hcd 0000:00:1a.0: setting latency timer to 64
uhci_hcd 0000:00:1a.0: UHCI Host Controller
uhci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1a.0: irq 16, io base 0x00009800
usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb3: Product: UHCI Host Controller
usb usb3: Manufacturer: Linux 2.6.34-gentoo-r1 uhci_hcd
usb usb3: SerialNumber: 0000:00:1a.0
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
uhci_hcd 0000:00:1a.1: PCI INT B -> GSI 21 (level, low) -> IRQ 21
uhci_hcd 0000:00:1a.1: setting latency timer to 64
uhci_hcd 0000:00:1a.1: UHCI Host Controller
uhci_hcd 0000:00:1a.1: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1a.1: irq 21, io base 0x00009880
usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb4: Product: UHCI Host Controller
usb usb4: Manufacturer: Linux 2.6.34-gentoo-r1 uhci_hcd
usb usb4: SerialNumber: 0000:00:1a.1
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
uhci_hcd 0000:00:1a.2: PCI INT D -> GSI 19 (level, low) -> IRQ 19
uhci_hcd 0000:00:1a.2: setting latency timer to 64
uhci_hcd 0000:00:1a.2: UHCI Host Controller
uhci_hcd 0000:00:1a.2: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:1a.2: irq 19, io base 0x00009c00
usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb5: Product: UHCI Host Controller
usb usb5: Manufacturer: Linux 2.6.34-gentoo-r1 uhci_hcd
usb usb5: SerialNumber: 0000:00:1a.2
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
uhci_hcd 0000:00:1d.0: setting latency timer to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 6
uhci_hcd 0000:00:1d.0: irq 23, io base 0x00009080
usb usb6: New USB device found, idVendor=1d6b, idProduct=0001
usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb6: Product: UHCI Host Controller
usb usb6: Manufacturer: Linux 2.6.34-gentoo-r1 uhci_hcd
usb usb6: SerialNumber: 0000:00:1d.0
hub 6-0:1.0: USB hub found
hub 6-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19
uhci_hcd 0000:00:1d.1: setting latency timer to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 7
uhci_hcd 0000:00:1d.1: irq 19, io base 0x00009400
usb usb7: New USB device found, idVendor=1d6b, idProduct=0001
usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb7: Product: UHCI Host Controller
usb usb7: Manufacturer: Linux 2.6.34-gentoo-r1 uhci_hcd
usb usb7: SerialNumber: 0000:00:1d.1
hub 7-0:1.0: USB hub found
hub 7-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
uhci_hcd 0000:00:1d.2: setting latency timer to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 8
uhci_hcd 0000:00:1d.2: irq 18, io base 0x00009480
usb usb8: New USB device found, idVendor=1d6b, idProduct=0001
usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb8: Product: UHCI Host Controller
usb usb8: Manufacturer: Linux 2.6.34-gentoo-r1 uhci_hcd
usb usb8: SerialNumber: 0000:00:1d.2
hub 8-0:1.0: USB hub found
hub 8-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver libusual
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
device-mapper: ioctl: 4.17.0-ioctl (2010-03-05) initialised: [email protected]
cpuidle: using governor ladder
cpuidle: using governor menu
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP cubic registered
NET: Registered protocol family 17
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
input: AT Translated Set 2 keyboard as
/devices/platform/i8042/serio0/input/input2
ata2: SATA link down (SStatus 0 SControl 300)
ata1: SATA link down (SStatus 0 SControl 300)
ata6: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata5: SATA link down (SStatus 0 SControl 301)
usb 3-2: new full speed USB device using uhci_hcd and address 2
ata4.00: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata4.01: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata3.00: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata3.01: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata3.00: ATAPI: Optiarc DVD RW AD-7241S, 1.03, max UDMA/100
ata3.01: ATA-8: WDC WD5002ABYS-02B1B0, 02.03B03, max UDMA/133
ata3.01: 976773168 sectors, multi 16: LBA48 NCQ (depth 0/32)
ata4.00: ATA-8: WDC WD5002ABYS-02B1B0, 02.03B03, max UDMA/133
ata4.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 0/32)
ata4.01: ATA-8: WDC WD5002ABYS-02B1B0, 02.03B03, max UDMA/133
ata4.01: 976773168 sectors, multi 16: LBA48 NCQ (depth 0/32)
ata3.00: configured for UDMA/100
ata4.00: configured for UDMA/133
ata3.01: configured for UDMA/133
ata4.01: configured for UDMA/133
scsi 2:0:0:0: CD-ROM Optiarc DVD RW AD-7241S 1.03 PQ: 0 ANSI: 5
sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 2:0:0:0: Attached scsi CD-ROM sr0
sr 2:0:0:0: Attached scsi generic sg0 type 5
scsi 2:0:1:0: Direct-Access ATA WDC WD5002ABYS-0 02.0 PQ: 0 ANSI: 5
sd 2:0:1:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
sd 2:0:1:0: Attached scsi generic sg1 type 0
scsi 3:0:0:0: Direct-Access ATA WDC WD5002ABYS-0 02.0 PQ: 0 ANSI: 5
sd 3:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/465 GiB)
sd 3:0:0:0: [sdb] Write Protect is off
sd 3:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 3:0:0:0: Attached scsi generic sg2 type 0
sd 3:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
scsi 3:0:1:0: Direct-Access ATA WDC WD5002ABYS-0 02.0 PQ: 0 ANSI: 5
sdb:
sd 3:0:1:0: Attached scsi generic sg3 type 0
sd 2:0:1:0: [sda] Write Protect is off
sd 2:0:1:0: [sda] Mode Sense: 00 3a 00 00
sd 2:0:1:0: [sda] Write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
sda: sdb1 sdb2 sdb3 sdb4 <
usb 3-2: New USB device found, idVendor=051d, idProduct=0002
usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 3-2: Product: Back-UPS BX1000G FW:869.L1 .D USB FW:L1
usb 3-2: Manufacturer: American Power Conversion
usb 3-2: SerialNumber: 3B1007X44377
sda1 sda2 sda3 sda4 < sdb5
sd 3:0:1:0: [sdc] 976773168 512-byte logical blocks: (500 GB/465 GiB)
sda5 sdb6 >
sda6 >
sd 2:0:1:0: [sda] Attached SCSI disk
sd 3:0:1:0: [sdc] Write Protect is off
sd 3:0:1:0: [sdc] Mode Sense: 00 3a 00 00
sd 3:0:1:0: [sdc] Write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
sd 3:0:0:0: [sdb] Attached SCSI disk
sdc: sdc1 sdc2 sdc3 sdc4 < sdc5 sdc6 >
sd 3:0:1:0: [sdc] Attached SCSI disk
generic-usb 0003:051D:0002.0001: hiddev96,hidraw0: USB HID v1.00
Device [American Power Conversion Back-UPS BX1000G FW:869.L1 .D USB
FW:L1 ] on usb-0000:00:1a.0-2/input0
usb 8-2: new low speed USB device using uhci_hcd and address 2
usb 8-2: New USB device found, idVendor=045e, idProduct=0039
usb 8-2: New USB device strings: Mfr=1, Product=3, SerialNumber=0
usb 8-2: Product: Microsoft 5-Button Mouse with IntelliEye(TM)
usb 8-2: Manufacturer: Microsoft
input: Microsoft Microsoft 5-Button Mouse with IntelliEye(TM) as
/devices/pci0000:00/0000:00:1d.2/usb8/8-2/8-2:1.0/input/input3
generic-usb 0003:045E:0039.0002: input,hidraw1: USB HID v1.10 Mouse
[Microsoft Microsoft 5-Button Mouse with IntelliEye(TM)] on
usb-0000:00:1d.2-2/input0
input: PS/2 Generic Mouse as /devices/platform/i8042/serio1/input/input4
md: Waiting for all devices to be available before autodetect
md: If you don't use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: Scanned 6 and added 6 devices.
md: autorun ...
md: considering sdc5 ...
md: adding sdc5 ...
md: sdc3 has different UUID to sdc5
md: adding sdb5 ...
md: sdb3 has different UUID to sdc5
md: adding sda5 ...
md: sda3 has different UUID to sdc5
md: created md5
md: bind<sda5>
md: bind<sdb5>
md: bind<sdc5>
md: running: <sdc5><sdb5><sda5>
raid1: raid set md5 active with 3 out of 3 mirrors
md5: detected capacity change from 0 to 53694496768
md: considering sdc3 ...
md: adding sdc3 ...
md: adding sdb3 ...
md: adding sda3 ...
md: created md3
md: bind<sda3>
md: bind<sdb3>
md: bind<sdc3>
md: running: <sdc3><sdb3><sda3>
raid1: raid set md3 active with 3 out of 3 mirrors
md3: detected capacity change from 0 to 53694562304
md: ... autorun DONE.
md5: unknown partition table
kjournald starting. Commit interval 5 seconds
EXT3-fs (md5): mounted filesystem with writeback data mode
VFS: Mounted root (ext3 filesystem) readonly on device 9:5.
Freeing unused kernel memory: 476k freed
Write protecting the kernel read-only data: 6144k
Freeing unused kernel memory: 412k freed
Freeing unused kernel memory: 224k freed
udev: starting version 149
rtc_cmos 00:03: RTC can wake from S4
rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0
rtc0: alarms up to one month, y3k, 114 bytes nvram, hpet irqs
md3: unknown partition table
i801_smbus 0000:00:1f.3: PCI INT C -> GSI 18 (level, low) -> IRQ 18
ACPI: resource 0000:00:1f.3 [io 0x0400-0x041f] conflicts with ACPI
region SMRG [io 0x0400-0x040f 64bit pref window disabled]
ACPI: If an ACPI driver is available for this device, you should use
it instead of the native driver
sky2: driver version 1.27
sky2 0000:06:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
sky2 0000:06:00.0: setting latency timer to 64
sky2 0000:06:00.0: Yukon-2 EC Ultra chip revision 3
sky2 0000:06:00.0: irq 55 for MSI/MSI-X
sky2 0000:06:00.0: eth0: addr e0:cb:4e:97:7a:09
sky2 0000:04:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
sky2 0000:04:00.0: setting latency timer to 64
sky2 0000:04:00.0: Yukon-2 EC Ultra chip revision 3
sky2 0000:04:00.0: irq 56 for MSI/MSI-X
sky2 0000:04:00.0: eth1: addr e0:cb:4e:97:80:fd
Linux agpgart interface v0.103
[drm] Initialized drm 1.1.0 20060810
HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
HDA Intel 0000:00:1b.0: irq 57 for MSI/MSI-X
HDA Intel 0000:00:1b.0: setting latency timer to 64
[drm] radeon defaulting to kernel modesetting.
[drm] radeon kernel modesetting enabled.
radeon 0000:03:00.0: PCI INT A -> GSI 30 (level, low) -> IRQ 30
radeon 0000:03:00.0: setting latency timer to 64
[drm] initializing kernel modesetting (JUNIPER 0x1002:0x68B8).
[drm] register mmio base: 0xFBAC0000
[drm] register mmio size: 131072
ATOM BIOS: JUNIPER
[drm] Clocks initialized !
[drm] 1 Power State(s)
[drm] State 0 Default (default)
[drm] 16 PCIE Lanes
[drm] 1 Clock Mode(s)
[drm] 0 engine/memory: 850000/1200000
[drm] radeon: power management initialized
radeon 0000:03:00.0: VRAM: 256M 0x00000000 - 0x0FFFFFFF (256M used)
radeon 0000:03:00.0: GTT: 512M 0x10000000 - 0x2FFFFFFF
mtrr: type mismatch for d0000000,10000000 old: write-back new: write-combining
[drm] Detected VRAM RAM=256M, BAR=256M
[drm] RAM width 128bits DDR
[TTM] Zone kernel: Available graphics memory: 6151604 kiB.
[TTM] Zone dma32: Available graphics memory: 2097152 kiB.
[drm] radeon: 256M of VRAM memory ready
[drm] radeon: 512M of GTT memory ready.
[drm] Radeon Display Connectors
[drm] Connector 0:
[drm] DisplayPort
[drm] HPD4
[drm] DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448 0x644c 0x644c
[drm] Encoders:
[drm] DFP1: INTERNAL_UNIPHY2
[drm] Connector 1:
[drm] HDMI-A
[drm] HPD5
[drm] DDC: 0x6430 0x6430 0x6434 0x6434 0x6438 0x6438 0x643c 0x643c
[drm] Encoders:
[drm] DFP2: INTERNAL_UNIPHY2
[drm] Connector 2:
[drm] DVI-I
[drm] HPD1
[drm] DDC: 0x6460 0x6460 0x6464 0x6464 0x6468 0x6468 0x646c 0x646c
[drm] Encoders:
[drm] DFP3: INTERNAL_UNIPHY1
[drm] CRT2: INTERNAL_KLDSCP_DAC2
[drm] Connector 3:
[drm] DVI-I
[drm] HPD6
[drm] DDC: 0x6450 0x6450 0x6454 0x6454 0x6458 0x6458 0x645c 0x645c
[drm] Encoders:
[drm] DFP4: INTERNAL_UNIPHY
[drm] CRT1: INTERNAL_KLDSCP_DAC1
hda_codec: AD1989B: BIOS auto-probing.
[drm] fb mappable at 0xD0040000
[drm] vram apper at 0xD0000000
[drm] size 8294400
[drm] fb depth is 24
[drm] pitch is 7680
Console: switching to colour frame buffer device 240x67
fb0: radeondrmfb frame buffer device
registered panic notifier
[drm] Initialized radeon 2.3.0 20080528 for 0000:03:00.0 on minor 0
HDA Intel 0000:03:00.1: PCI INT B -> GSI 37 (level, low) -> IRQ 37
HDA Intel 0000:03:00.1: irq 58 for MSI/MSI-X
HDA Intel 0000:03:00.1: setting latency timer to 64
EXT3-fs (md5): using internal journal
md: md6 stopped.
md: bind<sdb6>
md: bind<sdc6>
md: bind<sda6>
raid1: raid set md6 active with 3 out of 3 mirrors
md6: detected capacity change from 0 to 253354939392
md6: unknown partition table
kjournald starting. Commit interval 5 seconds
EXT3-fs (md6): warning: maximal mount count reached, running e2fsck is
recommended
EXT3-fs (md6): using internal journal
EXT3-fs (md6): mounted filesystem with writeback data mode
Adding 4200992k swap on /dev/sda2. Priority:-1 extents:1 across:4200992k
Adding 4200992k swap on /dev/sdb2. Priority:-2 extents:1 across:4200992k
Adding 4200992k swap on /dev/sdc2. Priority:-3 extents:1 across:4200992k
sky2 0000:06:00.0: eth0: enabling interface
sky2 0000:06:00.0: eth0: Link is up at 100 Mbps, full duplex, flow control both
NET: Registered protocol family 10
/dev/vmmon[4147]: Module vmmon: registered with major=10 minor=165
/dev/vmmon[4147]: Initial HV check: anyNotCapable=0 anyUnlocked=0
anyEnabled=1 anyDisabled=0
/dev/vmmon[4147]: HV check: anyNotCapable=0 anyUnlocked=0 anyEnabled=1
anyDisabled=0
/dev/vmmon[4147]: Module vmmon: initialized
/dev/vmci[4166]: VMCI: Driver initialized.
/dev/vmci[4166]: Module vmci: registered with major=10 minor=59
/dev/vmci[4166]: Module vmci: initialized
/dev/vmnet: open called by PID 4248 (vmnet-bridge)
/dev/vmnet: hub 0 does not exist, allocating memory.
/dev/vmnet: port on hub 0 successfully opened
bridge-eth0: up
bridge-eth0: attached
/dev/vmnet: open called by PID 4255 (vmnet-dhcpd)
/dev/vmnet: hub 1 does not exist, allocating memory.
/dev/vmnet: port on hub 1 successfully opened
/dev/vmnet: open called by PID 4257 (vmnet-netifup)
/dev/vmnet: port on hub 1 successfully opened
/dev/vmnet: open called by PID 4260 (vmnet-dhcpd)
/dev/vmnet: hub 8 does not exist, allocating memory.
/dev/vmnet: port on hub 8 successfully opened
/dev/vmnet: open called by PID 4264 (vmnet-natd)
/dev/vmnet: port on hub 8 successfully opened
/dev/vmnet: open called by PID 4265 (vmnet-netifup)
/dev/vmnet: port on hub 8 successfully opened
eth0: no IPv6 routers present
vmnet1: no IPv6 routers present
vmnet8: no IPv6 routers present
mark@c2stable ~ $

2010-07-03 16:01:19

by Tejun Heo

[permalink] [raw]
Subject: Re: Drives missing at boot

(cc'ing linux-ide)

On 07/02/2010 07:56 PM, Mark Knecht wrote:
> Hi,
> I have a newish machine - maybe 3 months old - which unreliably
> finds its disk drives at each boot. Probably 40% of the time booting 1
> or more drives will be missing.
>
> So far I've been unable to determine what might be wrong. Sometimes
> it finds all 5 drives, sometimes only 4 or 3 drives. It's not always
> the same drives that are missing. Shown below are two successive warm
> boots. The machien had been running with all 5 drives working. The
> first time through it missed both /dev/sdd and /dev/sde while the very
> next time it found all 5 drives. Each of the 5 drives has been missing
> one or more times at different boots. (I.e. - it's not always drive
> sdd for instance.)
>
> Every time I boot the AMI BIOS screen says all 5 drives are there.
> I have found that if I drop into BIOS before going to grub that
> selecting each drive one at a time and reading through it's setup
> seems to make the boot more reliable, but not 100%. Probably 80%
> reliable.
>
> I don't know what info is required to look at this. I'm running the
> newest Gentoo kernel but it's been happening with all kernels I've
> tried since I built the machine. I'm attaching the kernel config as
> well as dmesg from the last boot which had all the drives. The only
> difference in dmesg when the drives don't show up (that I've spotted)
> is that the missing drive just isn't in dmesg. (I.e. no error messages
> that I could spot.)
>
> Let me know what I might try or what other info you might want. The
> motherboard is an Asus Rampage II Extreme with an i7-980x 6 core/12
> thread processor. sda, sdb & sdc are part of a RAID1, sdd & sde are
> part of a RAID0.

Can you please *attach* full logs of a successful boot and several
failing boots?

Thanks.

--
tejun

2010-07-03 16:06:39

by Mark Knecht

[permalink] [raw]
Subject: Re: Drives missing at boot

On Sat, Jul 3, 2010 at 9:01 AM, Tejun Heo <[email protected]> wrote:
> (cc'ing linux-ide)
>
> On 07/02/2010 07:56 PM, Mark Knecht wrote:
>> Hi,
>>    I have a newish machine - maybe 3 months old - which unreliably
>> finds its disk drives at each boot. Probably 40% of the time booting 1
>> or more drives will be missing.
>>
>>    So far I've been unable to determine what might be wrong. Sometimes
>> it finds all 5 drives, sometimes only 4 or 3 drives. It's not always
>> the same drives that are missing. Shown below are two successive warm
>> boots. The machien had been running with all 5 drives working. The
>> first time through it missed both /dev/sdd and /dev/sde while the very
>> next time it found all 5 drives. Each of the 5 drives has been missing
>> one or more times at different boots. (I.e. - it's not always drive
>> sdd for instance.)
>>
>>    Every time I boot the AMI BIOS screen says all 5 drives are there.
>> I have found that if I drop into BIOS before going to grub that
>> selecting each drive one at a time and reading through it's setup
>> seems to make the boot more reliable, but not 100%. Probably 80%
>> reliable.
>>
>>    I don't know what info is required to look at this. I'm running the
>> newest Gentoo kernel but it's been happening with all kernels I've
>> tried since I built the machine. I'm attaching the kernel config as
>> well as dmesg from the last boot which had all the drives. The only
>> difference in dmesg when the drives don't show up (that I've spotted)
>> is that the missing drive just isn't in dmesg. (I.e. no error messages
>> that I could spot.)
>>
>>    Let me know what I might try or what other info you might want. The
>> motherboard is an Asus Rampage II Extreme with an i7-980x 6 core/12
>> thread processor. sda, sdb & sdc are part of a RAID1, sdd & sde are
>> part of a RAID0.
>
> Can you please *attach* full logs of a successful boot and several
> failing boots?
>
> Thanks.
>
> --
> tejun
>

Certainly? Which logs? dmesg or something else?

Thanks,
Mark

2010-07-03 16:13:35

by Tejun Heo

[permalink] [raw]
Subject: Re: Drives missing at boot

Hello,

On 07/03/2010 06:06 PM, Mark Knecht wrote:
>> Can you please *attach* full logs of a successful boot and several
>> failing boots?
>
> Certainly? Which logs? dmesg or something else?

dmesg output preferably with printk timestamp enabled.

Thanks.

--
tejun

2010-07-03 16:43:01

by Mark Knecht

[permalink] [raw]
Subject: Re: Drives missing at boot

On Sat, Jul 3, 2010 at 9:13 AM, Tejun Heo <[email protected]> wrote:
> Hello,
>
> On 07/03/2010 06:06 PM, Mark Knecht wrote:
>>> Can you please *attach* full logs of a successful boot and several
>>> failing boots?
>>
>> Certainly? Which logs? dmesg or something else?
>
> dmesg output preferably with printk timestamp enabled.
>
> Thanks.
>
> --
> tejun
>

OK, I enable printk timing.

Here are two boots. The first one had /dev/sde come up missing:

mark@c2stable ~ $ ls -al /dev/sd*
brw-rw---- 1 root disk 8, 0 Jul 3 2010 /dev/sda
brw-rw---- 1 root disk 8, 1 Jul 3 2010 /dev/sda1
brw-rw---- 1 root disk 8, 2 Jul 3 2010 /dev/sda2
brw-rw---- 1 root disk 8, 3 Jul 3 2010 /dev/sda3
brw-rw---- 1 root disk 8, 4 Jul 3 2010 /dev/sda4
brw-rw---- 1 root disk 8, 5 Jul 3 2010 /dev/sda5
brw-rw---- 1 root disk 8, 6 Jul 3 2010 /dev/sda6
brw-rw---- 1 root disk 8, 16 Jul 3 2010 /dev/sdb
brw-rw---- 1 root disk 8, 17 Jul 3 2010 /dev/sdb1
brw-rw---- 1 root disk 8, 18 Jul 3 2010 /dev/sdb2
brw-rw---- 1 root disk 8, 19 Jul 3 2010 /dev/sdb3
brw-rw---- 1 root disk 8, 20 Jul 3 2010 /dev/sdb4
brw-rw---- 1 root disk 8, 21 Jul 3 2010 /dev/sdb5
brw-rw---- 1 root disk 8, 22 Jul 3 2010 /dev/sdb6
brw-rw---- 1 root disk 8, 32 Jul 3 2010 /dev/sdc
brw-rw---- 1 root disk 8, 33 Jul 3 2010 /dev/sdc1
brw-rw---- 1 root disk 8, 34 Jul 3 2010 /dev/sdc2
brw-rw---- 1 root disk 8, 35 Jul 3 2010 /dev/sdc3
brw-rw---- 1 root disk 8, 36 Jul 3 2010 /dev/sdc4
brw-rw---- 1 root disk 8, 37 Jul 3 2010 /dev/sdc5
brw-rw---- 1 root disk 8, 38 Jul 3 2010 /dev/sdc6
brw-rw---- 1 root disk 8, 48 Jul 3 2010 /dev/sdd
brw-rw---- 1 root disk 8, 49 Jul 3 2010 /dev/sdd1
mark@c2stable ~ $

I then did two warm boots and got the same problem so I shut down
completely and did a cold boot which worked:

mark@c2stable ~ $ ls -al /dev/sd*
brw-rw---- 1 root disk 8, 0 Jul 3 2010 /dev/sda
brw-rw---- 1 root disk 8, 1 Jul 3 2010 /dev/sda1
brw-rw---- 1 root disk 8, 2 Jul 3 2010 /dev/sda2
brw-rw---- 1 root disk 8, 3 Jul 3 2010 /dev/sda3
brw-rw---- 1 root disk 8, 4 Jul 3 2010 /dev/sda4
brw-rw---- 1 root disk 8, 5 Jul 3 2010 /dev/sda5
brw-rw---- 1 root disk 8, 6 Jul 3 2010 /dev/sda6
brw-rw---- 1 root disk 8, 16 Jul 3 2010 /dev/sdb
brw-rw---- 1 root disk 8, 17 Jul 3 2010 /dev/sdb1
brw-rw---- 1 root disk 8, 18 Jul 3 2010 /dev/sdb2
brw-rw---- 1 root disk 8, 19 Jul 3 2010 /dev/sdb3
brw-rw---- 1 root disk 8, 20 Jul 3 2010 /dev/sdb4
brw-rw---- 1 root disk 8, 21 Jul 3 2010 /dev/sdb5
brw-rw---- 1 root disk 8, 22 Jul 3 2010 /dev/sdb6
brw-rw---- 1 root disk 8, 32 Jul 3 2010 /dev/sdc
brw-rw---- 1 root disk 8, 33 Jul 3 2010 /dev/sdc1
brw-rw---- 1 root disk 8, 34 Jul 3 2010 /dev/sdc2
brw-rw---- 1 root disk 8, 35 Jul 3 2010 /dev/sdc3
brw-rw---- 1 root disk 8, 36 Jul 3 2010 /dev/sdc4
brw-rw---- 1 root disk 8, 37 Jul 3 2010 /dev/sdc5
brw-rw---- 1 root disk 8, 38 Jul 3 2010 /dev/sdc6
brw-rw---- 1 root disk 8, 48 Jul 3 2010 /dev/sdd
brw-rw---- 1 root disk 8, 49 Jul 3 2010 /dev/sdd1
brw-rw---- 1 root disk 8, 64 Jul 3 2010 /dev/sde
brw-rw---- 1 root disk 8, 65 Jul 3 2010 /dev/sde1
mark@c2stable ~ $

Let me know what else you might need.

Thanks!

Cheers,
Mark


Attachments:
dmesg.DriveEmissing (59.47 kB)
dmesg.AllDrivesFound (61.44 kB)
Download all attachments

2010-07-03 19:03:07

by Stan Hoeppner

[permalink] [raw]
Subject: Re: Drives missing at boot

Mark Knecht put forth on 7/3/2010 11:06 AM:

>>> I have a newish machine - maybe 3 months old - which unreliably
>>> finds its disk drives at each boot. Probably 40% of the time booting 1
>>> or more drives will be missing.

Please provide the make/model of the PC. If it's whitebox or DIY please
provide make/model of PSU, mobo and CPU. How many USB peripherals are powered
by the PC? Are you powering a water cooling loop pump from the PC's power
supply? Is this PC in a temperature controlled environment (A/C)?

--
Stan

2010-07-03 19:21:58

by Mark Knecht

[permalink] [raw]
Subject: Re: Drives missing at boot

On Sat, Jul 3, 2010 at 11:56 AM, Stan Hoeppner <[email protected]> wrote:
> Mark Knecht put forth on 7/3/2010 11:06 AM:
>
>>>>    I have a newish machine - maybe 3 months old - which unreliably
>>>> finds its disk drives at each boot. Probably 40% of the time booting 1
>>>> or more drives will be missing.
>
> Please provide the make/model of the PC.  If it's whitebox or DIY please
> provide make/model of PSU, mobo and CPU.  How many USB peripherals are powered
> by the PC?  Are you powering a water cooling loop pump from the PC's power
> supply?  Is this PC in a temperature controlled environment (A/C)?
>
> --
> Stan
>

Build it myself.

Asus Rampage II Extreme motherboard
12GB Crucial DRAM currently installed (Holds 24GB)
Intel Core i7-980X CPU @ 3.33Ghz
Palit nVidia 9500GT-based graphics card
Sony Nec Optiarc AD-7241S-0B 24X Dual Layer DVD+/-RW SATA Drive
(5x) WD5002ABYS RE3 Enterprise Class 500GB hard drives

No external devices other than monitor, mouse, keyboard and the USB
interface to the UPS are attached. No USB, 1394 or eSATA are attached
at this time.

It's all powered by:

Corsair CMPSU-750TX 750-Watt TX Series 80 Plus Certified Power Supply

Air cooled using the stock Intel fan that came with the processor and
sitting in a home office environment.

The machine draws (steady state) about 250-275W according to both the
UPS it's hooked to as well as my trusty Kill-a-Watt. What it might
draw transient at power on while drives are spinning up I wouldn't
hazard a guess but it does seem to be well below the rating of the
supply. The PSU actually has something like 8 or 10 SATA power
connections, not that that means anything. I'm using 6. (1 CDRW, 5
drives)

Note two things:

1) All the drives are always reported by BIOS at boot time. Now, that
doesn't guarantee that the drives spin up. It may only mean they can
be read by BIOS, but they are there as far as I can tell. They show up
in the boot screens and in BIOS itself if I drop in to play with
settings.

2) Whatever state the machine comes up in - drives recognized or not -
it will run forever in that state under some pretty heavy loads so it
isn't like the PSU can't completely do the job. It could possibly be
marginal though.

QUESTION: There are some settings in BIOS for delaying the drive. (Or
something. I'm using the machine and not in BIOS) There were settings
from 0 to 35 seconds if I remember correctly. Possibly I should try
setting each drive to a different value to different value to stagger
power up?

If you need more info or have other ideas please let me know.

Thanks,
Mark

2010-07-03 19:42:13

by Stan Hoeppner

[permalink] [raw]
Subject: Re: Drives missing at boot

Mark Knecht put forth on 7/3/2010 2:21 PM:

> Note two things:
>
> 1) All the drives are always reported by BIOS at boot time. Now, that
> doesn't guarantee that the drives spin up. It may only mean they can
> be read by BIOS, but they are there as far as I can tell. They show up
> in the boot screens and in BIOS itself if I drop in to play with
> settings.

I missed that. I thought I read it was both. My bad.

> QUESTION: There are some settings in BIOS for delaying the drive. (Or
> something. I'm using the machine and not in BIOS) There were settings
> from 0 to 35 seconds if I remember correctly. Possibly I should try
> setting each drive to a different value to different value to stagger
> power up?

If that PSU meets published specs you shouldn't need delayed spin up with
those 5 drives.

> If you need more info or have other ideas please let me know.

Your answers here should have pretty much eliminated hardware issues as the
cause, unless that particular mobo has BIOS or other issues I'm unaware of.

I've found it's always best to ask about hardware with this kind of report
just to eliminate possibilities. All that gear is good quality stuff. If the
problem is due to hardware, it's because one of your components is defective,
but we don't see evidence of that at this point.

Also, TTBOMK, if a SATA drive motor doesn't spin up, the drive firmware won't
report the drive as ready upstream, thus the BIOS won't list the drive.

--
Stan

2010-07-03 19:57:47

by Mark Knecht

[permalink] [raw]
Subject: Re: Drives missing at boot

On Sat, Jul 3, 2010 at 12:42 PM, Stan Hoeppner <[email protected]> wrote:
> Mark Knecht put forth on 7/3/2010 2:21 PM:
>
>> Note two things:
>>
>> 1) All the drives are always reported by BIOS at boot time. Now, that
>> doesn't guarantee that the drives spin up. It may only mean they can
>> be read by BIOS, but they are there as far as I can tell. They show up
>> in the boot screens and in BIOS itself if I drop in to play with
>> settings.
>
> I missed that.  I thought I read it was both.  My bad.
>

Not a problem. It's good to be as clear as possible for all involved.

>> QUESTION: There are some settings in BIOS for delaying the drive. (Or
>> something. I'm using the machine and not in BIOS) There were settings
>> from 0 to 35 seconds if I remember correctly. Possibly I should try
>> setting each drive to a different value to different value to stagger
>> power up?
>
> If that PSU meets published specs you shouldn't need delayed spin up with
> those 5 drives.
>

I've not dropped into BIOS yet as the machine is in use but from the
Asus manual it appears the delay is not on a drive by drive basis so I
don't think I can do much there.

>> If you need more info or have other ideas please let me know.
>
> Your answers here should have pretty much eliminated hardware issues as the
> cause, unless that particular mobo has BIOS or other issues I'm unaware of.
>
> I've found it's always best to ask about hardware with this kind of report
> just to eliminate possibilities.  All that gear is good quality stuff.  If the
> problem is due to hardware, it's because one of your components is defective,
> but we don't see evidence of that at this point.
>
> Also, TTBOMK, if a SATA drive motor doesn't spin up, the drive firmware won't
> report the drive as ready upstream, thus the BIOS won't list the drive.

An off-list response suggested possibly setting some drive jumpers on
non-boot drives to power up in standby. Apparently the kernel will
then spin up those drives later? If I cannot stagger the drives in
BIOS then I will likely try that. Technically I guess I only need
/boot on sda to get the kernel booted. The mdadm RAID1 on sda/sdb/sdc
could start slightly later, and technically the RAID0 on sdd/sde could
start very late as there are only VMWare images on that drive.

Cheers,
Mark

2010-07-03 22:31:52

by Mark Knecht

[permalink] [raw]
Subject: Re: Drives missing at boot

On Sat, Jul 3, 2010 at 12:57 PM, Mark Knecht <[email protected]> wrote:
> On Sat, Jul 3, 2010 at 12:42 PM, Stan Hoeppner <[email protected]> wrote:
>> Mark Knecht put forth on 7/3/2010 2:21 PM:
>>
>>> Note two things:
>>>
>>> 1) All the drives are always reported by BIOS at boot time. Now, that
>>> doesn't guarantee that the drives spin up. It may only mean they can
>>> be read by BIOS, but they are there as far as I can tell. They show up
>>> in the boot screens and in BIOS itself if I drop in to play with
>>> settings.
>>
>> I missed that.  I thought I read it was both.  My bad.
>>
>
> Not a problem. It's good to be as clear as possible for all involved.
>
>>> QUESTION: There are some settings in BIOS for delaying the drive. (Or
>>> something. I'm using the machine and not in BIOS) There were settings
>>> from 0 to 35 seconds if I remember correctly. Possibly I should try
>>> setting each drive to a different value to different value to stagger
>>> power up?
>>
>> If that PSU meets published specs you shouldn't need delayed spin up with
>> those 5 drives.
>>
>
> I've not dropped into BIOS yet as the machine is in use but from the
> Asus manual it appears the delay is not on a drive by drive basis so I
> don't think I can do much there.
>
>>> If you need more info or have other ideas please let me know.
>>
>> Your answers here should have pretty much eliminated hardware issues as the
>> cause, unless that particular mobo has BIOS or other issues I'm unaware of.
>>
>> I've found it's always best to ask about hardware with this kind of report
>> just to eliminate possibilities.  All that gear is good quality stuff.  If the
>> problem is due to hardware, it's because one of your components is defective,
>> but we don't see evidence of that at this point.
>>
>> Also, TTBOMK, if a SATA drive motor doesn't spin up, the drive firmware won't
>> report the drive as ready upstream, thus the BIOS won't list the drive.
>
> An off-list response suggested possibly setting some drive jumpers on
> non-boot drives to power up in standby. Apparently the kernel will
> then spin up those drives later? If I cannot stagger the drives in
> BIOS then I will likely try that. Technically I guess I only need
> /boot on sda to get the kernel booted. The mdadm RAID1 on sda/sdb/sdc
> could start slightly later, and technically the RAID0 on sdd/sde could
> start very late as there are only VMWare images on that drive.
>
> Cheers,
> Mark
>

OK, I don't know if this is related but so far I cannot get the
machine to boot if I set BIOS SATA configuration to AHCI. I believe
that I have AHCI support as well as SATA support built into the kernel
but when I set the BIOS to AHCI the machine just hangs saying it finds
no medium. I assume that means no hard drive. I have to set SATA
support to enhanced and then IDE to get the machine to boot at all.

I did notice that my earlier kernel had the depreciated ATA/ATAPI
support selected so I removed that from the kernel but it didn't
change the results.

The lshw listings below show the DATA controllers. The 20360/363 is
(apparently) the eSATA controller going to the front panel. Nothing is
attached there. The chipset supposedly handles 6 SATA ports - they
seem to be arranged x4 & x2. TTBOMK I have the CDROM and the 3-drive
RAID1 on the 4 port controller and the RAID0, which fails to be
recognized more often - on the 2 port controller. I don't know how to
prove that though.

I'm unclear how mature the SATA support is for this chipset. Is there
a chance that this is some bit that's not being sey reliably?

Also, I misspoke earlier about the graphics adapter. It's actually an
ATI Radeon 5770 in this machine. The 9500GT is in another machine.

Thanks,
Mark

c2stable ~ # lshw -short -class storage
H/W path Device Class Description
=========================================================
/0/100/1c.4/0 storage 20360/20363 Serial ATA Controller
/0/100/1c.4/0.1 storage 20360/20363 Serial ATA Controller
/0/100/1f.2 scsi2 storage 82801JI (ICH10 Family) 4
port SATA IDE Controller
/0/100/1f.5 scsi5 storage 82801JI (ICH10 Family) 2
port SATA IDE Controller
c2stable ~ # lshw -short | grep SATA
/0/100/1f.2 scsi2 storage 82801JI (ICH10 Family) 4
port SATA IDE Controller
/0/100/1f.5 scsi5 storage 82801JI (ICH10 Family) 2
port SATA IDE Controller
c2stable ~ # lshw -short | grep disk
/0/100/1f.2/0 /dev/sda disk 500GB WDC WD5002ABYS-0
/0/100/1f.2/0.0.0 /dev/sdb disk 500GB WDC WD5002ABYS-0
/0/100/1f.2/1 /dev/sdc disk 500GB WDC WD5002ABYS-0
/0/100/1f.5/0.0.0 /dev/sdd disk 500GB WDC WD5002ABYS-0
c2stable ~ #

NOTE ABOVE: /dev/sde not recognized on this boot.


c2stable linux # lspci
00:00.0 Host bridge: Intel Corporation X58 I/O Hub to ESI Port (rev 13)
00:01.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI
Express Root Port 1 (rev 13)
00:03.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI
Express Root Port 3 (rev 13)
00:07.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI
Express Root Port 7 (rev 13)
00:14.0 PIC: Intel Corporation 5520/5500/X58 I/O Hub System Management
Registers (rev 13)
00:14.1 PIC: Intel Corporation 5520/5500/X58 I/O Hub GPIO and Scratch
Pad Registers (rev 13)
00:14.2 PIC: Intel Corporation 5520/5500/X58 I/O Hub Control Status
and RAS Registers (rev 13)
00:14.3 PIC: Intel Corporation 5520/5500/X58 I/O Hub Throttle Registers (rev 13)
00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB
UHCI Controller #4
00:1a.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB
UHCI Controller #5
00:1a.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB
UHCI Controller #6
00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2
EHCI Controller #2
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD
Audio Controller
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 1
00:1c.2 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 3
00:1c.4 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 5
00:1c.5 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 6
00:1d.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB
UHCI Controller #1
00:1d.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB
UHCI Controller #2
00:1d.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB
UHCI Controller #3
00:1d.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2
EHCI Controller #1
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller
00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10 Family) 4 port
SATA IDE Controller
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port
SATA IDE Controller
03:00.0 VGA compatible controller: ATI Technologies Inc Device 68b8
03:00.1 Audio device: ATI Technologies Inc Device aa58
04:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056
PCI-E Gigabit Ethernet Controller (rev 12)
05:00.0 SATA controller: JMicron Technology Corp. 20360/20363 Serial
ATA Controller (rev 03)
05:00.1 IDE interface: JMicron Technology Corp. 20360/20363 Serial ATA
Controller (rev 03)
06:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056
PCI-E Gigabit Ethernet Controller (rev 12)
08:02.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306 Fire II
IEEE 1394 OHCI Link Layer Controller (rev c0)
c2stable linux #

2010-07-04 01:25:24

by Thomas Fjellstrom

[permalink] [raw]
Subject: Re: Drives missing at boot

On July 3, 2010, Mark Knecht wrote:
> On Sat, Jul 3, 2010 at 12:57 PM, Mark Knecht <[email protected]> wrote:
> > On Sat, Jul 3, 2010 at 12:42 PM, Stan Hoeppner <[email protected]>
wrote:
> >> Mark Knecht put forth on 7/3/2010 2:21 PM:
> >>> Note two things:
> >>>
> >>> 1) All the drives are always reported by BIOS at boot time. Now, that
> >>> doesn't guarantee that the drives spin up. It may only mean they can
> >>> be read by BIOS, but they are there as far as I can tell. They show
> >>> up in the boot screens and in BIOS itself if I drop in to play with
> >>> settings.
> >>
> >> I missed that. I thought I read it was both. My bad.
> >
> > Not a problem. It's good to be as clear as possible for all involved.
> >
> >>> QUESTION: There are some settings in BIOS for delaying the drive. (Or
> >>> something. I'm using the machine and not in BIOS) There were settings
> >>> from 0 to 35 seconds if I remember correctly. Possibly I should try
> >>> setting each drive to a different value to different value to stagger
> >>> power up?
> >>
> >> If that PSU meets published specs you shouldn't need delayed spin up
> >> with those 5 drives.
> >
> > I've not dropped into BIOS yet as the machine is in use but from the
> > Asus manual it appears the delay is not on a drive by drive basis so I
> > don't think I can do much there.
> >
> >>> If you need more info or have other ideas please let me know.
> >>
> >> Your answers here should have pretty much eliminated hardware issues
> >> as the cause, unless that particular mobo has BIOS or other issues
> >> I'm unaware of.
> >>
> >> I've found it's always best to ask about hardware with this kind of
> >> report just to eliminate possibilities. All that gear is good
> >> quality stuff. If the problem is due to hardware, it's because one
> >> of your components is defective, but we don't see evidence of that at
> >> this point.
> >>
> >> Also, TTBOMK, if a SATA drive motor doesn't spin up, the drive
> >> firmware won't report the drive as ready upstream, thus the BIOS
> >> won't list the drive.
> >
> > An off-list response suggested possibly setting some drive jumpers on
> > non-boot drives to power up in standby. Apparently the kernel will
> > then spin up those drives later? If I cannot stagger the drives in
> > BIOS then I will likely try that. Technically I guess I only need
> > /boot on sda to get the kernel booted. The mdadm RAID1 on sda/sdb/sdc
> > could start slightly later, and technically the RAID0 on sdd/sde could
> > start very late as there are only VMWare images on that drive.
> >
> > Cheers,
> > Mark
>
> OK, I don't know if this is related but so far I cannot get the
> machine to boot if I set BIOS SATA configuration to AHCI. I believe
> that I have AHCI support as well as SATA support built into the kernel
> but when I set the BIOS to AHCI the machine just hangs saying it finds
> no medium. I assume that means no hard drive. I have to set SATA
> support to enhanced and then IDE to get the machine to boot at all.
>
> I did notice that my earlier kernel had the depreciated ATA/ATAPI
> support selected so I removed that from the kernel but it didn't
> change the results.
>
> The lshw listings below show the DATA controllers. The 20360/363 is
> (apparently) the eSATA controller going to the front panel. Nothing is
> attached there. The chipset supposedly handles 6 SATA ports - they
> seem to be arranged x4 & x2. TTBOMK I have the CDROM and the 3-drive
> RAID1 on the 4 port controller and the RAID0, which fails to be
> recognized more often - on the 2 port controller. I don't know how to
> prove that though.
>
> I'm unclear how mature the SATA support is for this chipset. Is there
> a chance that this is some bit that's not being sey reliably?
>
> Also, I misspoke earlier about the graphics adapter. It's actually an
> ATI Radeon 5770 in this machine. The 9500GT is in another machine.
>
> Thanks,
> Mark
>
> c2stable ~ # lshw -short -class storage
> H/W path Device Class Description
> =========================================================
> /0/100/1c.4/0 storage 20360/20363 Serial ATA
> Controller /0/100/1c.4/0.1 storage 20360/20363
> Serial ATA Controller /0/100/1f.2 scsi2 storage
> 82801JI (ICH10 Family) 4 port SATA IDE Controller
> /0/100/1f.5 scsi5 storage 82801JI (ICH10 Family) 2
> port SATA IDE Controller
> c2stable ~ # lshw -short | grep SATA
> /0/100/1f.2 scsi2 storage 82801JI (ICH10 Family) 4
> port SATA IDE Controller
> /0/100/1f.5 scsi5 storage 82801JI (ICH10 Family) 2
> port SATA IDE Controller
> c2stable ~ # lshw -short | grep disk
> /0/100/1f.2/0 /dev/sda disk 500GB WDC WD5002ABYS-0
> /0/100/1f.2/0.0.0 /dev/sdb disk 500GB WDC WD5002ABYS-0
> /0/100/1f.2/1 /dev/sdc disk 500GB WDC WD5002ABYS-0
> /0/100/1f.5/0.0.0 /dev/sdd disk 500GB WDC WD5002ABYS-0
> c2stable ~ #
>
> NOTE ABOVE: /dev/sde not recognized on this boot.
>
>
> c2stable linux # lspci
> 00:00.0 Host bridge: Intel Corporation X58 I/O Hub to ESI Port (rev 13)
> 00:01.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI
> Express Root Port 1 (rev 13)
> 00:03.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI
> Express Root Port 3 (rev 13)
> 00:07.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI
> Express Root Port 7 (rev 13)
> 00:14.0 PIC: Intel Corporation 5520/5500/X58 I/O Hub System Management
> Registers (rev 13)
> 00:14.1 PIC: Intel Corporation 5520/5500/X58 I/O Hub GPIO and Scratch
> Pad Registers (rev 13)
> 00:14.2 PIC: Intel Corporation 5520/5500/X58 I/O Hub Control Status
> and RAS Registers (rev 13)
> 00:14.3 PIC: Intel Corporation 5520/5500/X58 I/O Hub Throttle Registers
> (rev 13) 00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10
> Family) USB UHCI Controller #4
> 00:1a.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB
> UHCI Controller #5
> 00:1a.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB
> UHCI Controller #6
> 00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2
> EHCI Controller #2
> 00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD
> Audio Controller
> 00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express
> Port 1 00:1c.2 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI
> Express Port 3 00:1c.4 PCI bridge: Intel Corporation 82801JI (ICH10
> Family) PCI Express Port 5 00:1c.5 PCI bridge: Intel Corporation 82801JI
> (ICH10 Family) PCI Express Port 6 00:1d.0 USB Controller: Intel
> Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
> 00:1d.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB
> UHCI Controller #2
> 00:1d.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB
> UHCI Controller #3
> 00:1d.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2
> EHCI Controller #1
> 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
> 00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface
> Controller 00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10
> Family) 4 port SATA IDE Controller
> 00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
> 00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port
> SATA IDE Controller
> 03:00.0 VGA compatible controller: ATI Technologies Inc Device 68b8
> 03:00.1 Audio device: ATI Technologies Inc Device aa58
> 04:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056
> PCI-E Gigabit Ethernet Controller (rev 12)
> 05:00.0 SATA controller: JMicron Technology Corp. 20360/20363 Serial
> ATA Controller (rev 03)
> 05:00.1 IDE interface: JMicron Technology Corp. 20360/20363 Serial ATA
> Controller (rev 03)
> 06:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056
> PCI-E Gigabit Ethernet Controller (rev 12)
> 08:02.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306 Fire II
> IEEE 1394 OHCI Link Layer Controller (rev c0)
> c2stable linux #

If it wasn't for all that, I'd have suspected a small power issue.

I recently ran into an odd problem of how my PSU has its rails split up
between different cables. If I had all the hardware in the box hooked up
with the normal "black" cables from my PSU I'd get errors from one of my 2TB
WD Green's. But if I moved the drives, or the GPU to the "red" plug (modular
psu), everything worked. I assume the rails on my psu were split up
absolutely retardedly, causing the main 12v rail to be shared between the
cpu, all add-on devices, AND the non-modular PCI-E cable for the GPU
(8800GTS), causing that rail's voltage to drop below spec.

But it sounds like maybe your SATA chipset might not be supported in AHCI
mode (which you really want), and might have issues in IDE mode. But given
that its an intel chipset you'd think it'd have perfect support :o So I
don't know.


--
Thomas Fjellstrom
[email protected]

2010-07-05 06:19:36

by Tejun Heo

[permalink] [raw]
Subject: Re: Drives missing at boot

Hello,

On 07/04/2010 12:31 AM, Mark Knecht wrote:
> OK, I don't know if this is related but so far I cannot get the
> machine to boot if I set BIOS SATA configuration to AHCI. I believe
> that I have AHCI support as well as SATA support built into the kernel
> but when I set the BIOS to AHCI the machine just hangs saying it finds
> no medium. I assume that means no hard drive. I have to set SATA
> support to enhanced and then IDE to get the machine to boot at all.

That's odd. Can you please attach kernel boot log w/ ahci mode?
Booting a recent live CD and saving boot log from there should do the
trick.

Thanks.

--
tejun

2010-07-05 06:30:32

by Tejun Heo

[permalink] [raw]
Subject: Re: Drives missing at boot

On 07/03/2010 06:42 PM, Mark Knecht wrote:
> On Sat, Jul 3, 2010 at 9:13 AM, Tejun Heo <[email protected]> wrote:
>> Hello,
>>
>> On 07/03/2010 06:06 PM, Mark Knecht wrote:
>>>> Can you please *attach* full logs of a successful boot and several
>>>> failing boots?
>>>
>>> Certainly? Which logs? dmesg or something else?
>>
>> dmesg output preferably with printk timestamp enabled.

Can you please apply the attached patch, reproduce the problem and
post the kernel log?

Thanks.

--
tejun


Attachments:
resume-dbg.patch (1.03 kB)

2010-07-05 16:48:37

by Mark Knecht

[permalink] [raw]
Subject: Re: Drives missing at boot

On Sun, Jul 4, 2010 at 11:19 PM, Tejun Heo <[email protected]> wrote:
> Hello,
>
> On 07/04/2010 12:31 AM, Mark Knecht wrote:
>> OK, I don't know if this is related but so far I cannot get the
>> machine to boot if I set BIOS SATA configuration to AHCI. I believe
>> that I have AHCI support as well as SATA support built into the kernel
>> but when I set the BIOS to AHCI the machine just hangs saying it finds
>> no medium. I assume that means no hard drive. I have to set SATA
>> support to enhanced and then IDE to get the machine to boot at all.
>
> That's odd.  Can you please attach kernel boot log w/ ahci mode?
> Booting a recent live CD and saving boot log from there should do the
> trick.
>
> Thanks.
>
> --
> tejun
>

Hi Tehun,
Thanks for the help.

I tried a Gentoo install CD from last march. It's a 2.6.31 type
kernel. Problem is the buffer depths are not big enough to capture the
complete dmesg contents and I don't know a command line option to make
it larger on the fly. If you know of one that's got a larger buffer -
or a command to increase it at boot time - then let me know and I'll
try again.

I'm attaching what I was able to catch for both AHCI and IDE
settings in BIOS for the storage configuration option.

It seems to me that even in AHCI mode the machine does see all the
hard drives. Maybe there's something about my boot partition that's
having problems in AHCI mode only? If it sees /dev/sda then why
wouldn't it find grub and at least show a grub menu?

Thanks,
Mark


Attachments:
GentooBoot_IDE (30.17 kB)
GentooBoot_AHCI (30.19 kB)
Download all attachments

2010-07-05 16:56:16

by Mark Knecht

[permalink] [raw]
Subject: Re: Drives missing at boot

On Sun, Jul 4, 2010 at 11:30 PM, Tejun Heo <[email protected]> wrote:
> On 07/03/2010 06:42 PM, Mark Knecht wrote:
>> On Sat, Jul 3, 2010 at 9:13 AM, Tejun Heo <[email protected]> wrote:
>>> Hello,
>>>
>>> On 07/03/2010 06:06 PM, Mark Knecht wrote:
>>>>> Can you please *attach* full logs of a successful boot and several
>>>>> failing boots?
>>>>
>>>> Certainly? Which logs? dmesg or something else?
>>>
>>> dmesg output preferably with printk timestamp enabled.
>
> Can you please apply the attached patch, reproduce the problem and
> post the kernel log?
>
> Thanks.
>
> --
> tejun
>

I'm sorry. What am I patching? I'm not a kernel developer - not even a
programmer - so I'll need some help with this. What's the command I
should use?

c2stable src # ls -la /usr/src/
total 32
drwxr-xr-x 8 root root 4096 Jul 2 09:56 .
drwxr-xr-x 14 root root 4096 Apr 15 07:46 ..
-rw-r--r-- 1 root root 0 Mar 24 18:37 .keep
lrwxrwxrwx 1 root root 22 Jul 2 09:56 linux ->
linux-2.6.34-gentoo-r1
drwxr-xr-x 23 root root 4096 Jun 16 07:23 linux-2.6.32-gentoo-r7
drwxr-xr-x 24 root root 4096 Jun 16 08:42 linux-2.6.34-gentoo
drwxr-xr-x 24 root root 4096 Jul 3 15:30 linux-2.6.34-gentoo-r1
drwxr-xr-x 21 root root 4096 Jun 27 13:12 linux-2.6.34-rc3
drwxr-xr-x 20 root root 4096 Jun 15 08:05 linux-2.6.34-rc5
drwxr-xr-x 20 root root 4096 Jun 27 13:13 linux-2.6.35-rc3
c2stable src #

Thanks,
Mark

2010-07-06 00:00:07

by Robert Hancock

[permalink] [raw]
Subject: Re: Drives missing at boot

On 07/05/2010 10:48 AM, Mark Knecht wrote:
> On Sun, Jul 4, 2010 at 11:19 PM, Tejun Heo<[email protected]> wrote:
>> Hello,
>>
>> On 07/04/2010 12:31 AM, Mark Knecht wrote:
>>> OK, I don't know if this is related but so far I cannot get the
>>> machine to boot if I set BIOS SATA configuration to AHCI. I believe
>>> that I have AHCI support as well as SATA support built into the kernel
>>> but when I set the BIOS to AHCI the machine just hangs saying it finds
>>> no medium. I assume that means no hard drive. I have to set SATA
>>> support to enhanced and then IDE to get the machine to boot at all.
>>
>> That's odd. Can you please attach kernel boot log w/ ahci mode?
>> Booting a recent live CD and saving boot log from there should do the
>> trick.
>>
>> Thanks.
>>
>> --
>> tejun
>>
>
> Hi Tehun,
> Thanks for the help.
>
> I tried a Gentoo install CD from last march. It's a 2.6.31 type
> kernel. Problem is the buffer depths are not big enough to capture the
> complete dmesg contents and I don't know a command line option to make
> it larger on the fly. If you know of one that's got a larger buffer -
> or a command to increase it at boot time - then let me know and I'll
> try again.
>
> I'm attaching what I was able to catch for both AHCI and IDE
> settings in BIOS for the storage configuration option.
>
> It seems to me that even in AHCI mode the machine does see all the
> hard drives. Maybe there's something about my boot partition that's
> having problems in AHCI mode only? If it sees /dev/sda then why
> wouldn't it find grub and at least show a grub menu?

On some machines changing from IDE to AHCI messes up the boot order
selection in the BIOS - you may have to switch to AHCI, save settings,
reboot, go back into the BIOS and then make sure the disk boot order
settings are correct (whatever drive grub is installed on needs to be
first).

2010-07-06 04:16:20

by Mark Knecht

[permalink] [raw]
Subject: Re: Drives missing at boot

On Mon, Jul 5, 2010 at 4:59 PM, Robert Hancock <[email protected]> wrote:
> On 07/05/2010 10:48 AM, Mark Knecht wrote:
>>
>> On Sun, Jul 4, 2010 at 11:19 PM, Tejun Heo<[email protected]>  wrote:
>>>
>>> Hello,
>>>
>>> On 07/04/2010 12:31 AM, Mark Knecht wrote:
>>>>
>>>> OK, I don't know if this is related but so far I cannot get the
>>>> machine to boot if I set BIOS SATA configuration to AHCI. I believe
>>>> that I have AHCI support as well as SATA support built into the kernel
>>>> but when I set the BIOS to AHCI the machine just hangs saying it finds
>>>> no medium. I assume that means no hard drive. I have to set SATA
>>>> support to enhanced and then IDE to get the machine to boot at all.
>>>
>>> That's odd.  Can you please attach kernel boot log w/ ahci mode?
>>> Booting a recent live CD and saving boot log from there should do the
>>> trick.
>>>
>>> Thanks.
>>>
>>> --
>>> tejun
>>>
>>
>> Hi Tehun,
>>    Thanks for the help.
>>
>>    I tried a Gentoo install CD from last march. It's a 2.6.31 type
>> kernel. Problem is the buffer depths are not big enough to capture the
>> complete dmesg contents and I don't know a command line option to make
>> it larger on the fly. If you know of one that's got a larger buffer -
>> or a command to increase it at boot time - then let me know and I'll
>> try again.
>>
>>    I'm attaching what I was able to catch for both AHCI and IDE
>> settings in BIOS for the storage configuration option.
>>
>>    It seems to me that even in AHCI mode the machine does see all the
>> hard drives. Maybe there's something about my boot partition that's
>> having problems in AHCI mode only? If it sees /dev/sda then why
>> wouldn't it find grub and at least show a grub menu?
>
> On some machines changing from IDE to AHCI messes up the boot order
> selection in the BIOS - you may have to switch to AHCI, save settings,
> reboot, go back into the BIOS and then make sure the disk boot order
> settings are correct (whatever drive grub is installed on needs to be
> first).
>

That's a very interesting idea Robert. Thanks.

I'll have to be careful. I have 5 identical drives in the machine so
figuring out which is which when I'm in BIOS might be a bit of a
trick.

I'll give it a go and report back.

Cheers,
Mark

2010-07-06 06:13:55

by Stan Hoeppner

[permalink] [raw]
Subject: Re: Drives missing at boot

Mark Knecht put forth on 7/5/2010 11:16 PM:

> I'll have to be careful. I have 5 identical drives in the machine so
> figuring out which is which when I'm in BIOS might be a bit of a
> trick.

Makes you yearn for the good old days of SCSI don't it? :(

--
Stan

2010-07-06 06:32:53

by Tejun Heo

[permalink] [raw]
Subject: Re: Drives missing at boot

On 07/05/2010 06:48 PM, Mark Knecht wrote:
> I tried a Gentoo install CD from last march. It's a 2.6.31 type
> kernel. Problem is the buffer depths are not big enough to capture the
> complete dmesg contents and I don't know a command line option to make
> it larger on the fly. If you know of one that's got a larger buffer -
> or a command to increase it at boot time - then let me know and I'll
> try again.
>
> I'm attaching what I was able to catch for both AHCI and IDE
> settings in BIOS for the storage configuration option.

That's enough.

> It seems to me that even in AHCI mode the machine does see all the
> hard drives. Maybe there's something about my boot partition that's
> having problems in AHCI mode only? If it sees /dev/sda then why
> wouldn't it find grub and at least show a grub menu?

The ahci driver is working fine. If the system can't boot w/ ahci
mode, the problem is probably on the bios side and most likely caused
by getting the boot device wrong as Robert suggested. Just choose one
after another until it boots should do the trick.

Thanks.

--
tejun

2010-07-06 06:34:00

by Tejun Heo

[permalink] [raw]
Subject: Re: Drives missing at boot

Hello,

On 07/05/2010 06:56 PM, Mark Knecht wrote:
>>>> dmesg output preferably with printk timestamp enabled.
>>
>> Can you please apply the attached patch, reproduce the problem and
>> post the kernel log?
>
> I'm sorry. What am I patching? I'm not a kernel developer - not even a
> programmer - so I'll need some help with this. What's the command I
> should use?
>
> c2stable src # ls -la /usr/src/
> total 32
> drwxr-xr-x 8 root root 4096 Jul 2 09:56 .
> drwxr-xr-x 14 root root 4096 Apr 15 07:46 ..
> -rw-r--r-- 1 root root 0 Mar 24 18:37 .keep
> lrwxrwxrwx 1 root root 22 Jul 2 09:56 linux ->
> linux-2.6.34-gentoo-r1
> drwxr-xr-x 23 root root 4096 Jun 16 07:23 linux-2.6.32-gentoo-r7
> drwxr-xr-x 24 root root 4096 Jun 16 08:42 linux-2.6.34-gentoo
> drwxr-xr-x 24 root root 4096 Jul 3 15:30 linux-2.6.34-gentoo-r1
> drwxr-xr-x 21 root root 4096 Jun 27 13:12 linux-2.6.34-rc3
> drwxr-xr-x 20 root root 4096 Jun 15 08:05 linux-2.6.34-rc5
> drwxr-xr-x 20 root root 4096 Jun 27 13:13 linux-2.6.35-rc3

Hmm...

$ cd /usr/src/linux && patch -p1 < PATCH_FILE

should do it. You know how to build and install the compiled kernel,
right?

Thanks.

--
tejun

2010-07-06 11:36:30

by Sander

[permalink] [raw]
Subject: Re: Drives missing at boot

Mark Knecht wrote (ao):
> On Mon, Jul 5, 2010 at 4:59 PM, Robert Hancock <[email protected]> wrote:
> > On some machines changing from IDE to AHCI messes up the boot order
> > selection in the BIOS - you may have to switch to AHCI, save settings,
> > reboot, go back into the BIOS and then make sure the disk boot order
> > settings are correct (whatever drive grub is installed on needs to be
> > first).
>
> That's a very interesting idea Robert. Thanks.
>
> I'll have to be careful. I have 5 identical drives in the machine so
> figuring out which is which when I'm in BIOS might be a bit of a
> trick.
>
> I'll give it a go and report back.

You can install grub on the mbr of all disks and not worry about the
order. Especially if you work with UUIDs.

Sander

--
Humilis IT Services and Solutions
http://www.humilis.net

2010-07-06 18:13:37

by Mark Knecht

[permalink] [raw]
Subject: Re: Drives missing at boot

On Mon, Jul 5, 2010 at 11:33 PM, Tejun Heo <[email protected]> wrote:
> Hello,
>
> On 07/05/2010 06:56 PM, Mark Knecht wrote:
>>>>> dmesg output preferably with printk timestamp enabled.
>>>
>>> Can you please apply the attached patch, reproduce the problem and
>>> post the kernel log?
>>
>> I'm sorry. What am I patching? I'm not a kernel developer - not even a
>> programmer - so I'll need some help with this. What's the command I
<SNIP>
>
> Hmm...
>
> $ cd /usr/src/linux && patch -p1 < PATCH_FILE
>
> should do it.  You know how to build and install the compiled kernel,
> right?
>
> Thanks.
>
> --
> tejun
>

OK - thanks. The patch seemed to install correctly. I then did

make clean
make && make modules_install

and then a Gentoo command:

modules-rebuild -X rebuild

to pick up any package modules that need to be rebuild when I use a
new kernel. (X drivers, vmware, etc.)

The kernel boots fine:

mark@c2stable ~ $ uname -a
Linux c2stable 2.6.34-gentoo-r1 #4 SMP PREEMPT Tue Jul 6 10:35:15 PDT
2010 x86_64 Intel(R) Core(TM) i7 CPU X 980 @ 3.33GHz GenuineIntel
GNU/Linux
mark@c2stable ~ $

I don't know what I'm looking for in the dmesg files but I do see one
message about a SATA Link being down.

Files attached.

Cheers,
Mark


Attachments:
dmesg.IDEAllDrives (60.89 kB)
dmesg.IDEDriveMissing (58.82 kB)
Download all attachments

2010-07-07 05:50:21

by Tejun Heo

[permalink] [raw]
Subject: Re: Drives missing at boot

Hello,

On 07/06/2010 08:13 PM, Mark Knecht wrote:
> OK - thanks. The patch seemed to install correctly. I then did
>
> make clean
> make && make modules_install
>
> and then a Gentoo command:
>
> modules-rebuild -X rebuild
>
> to pick up any package modules that need to be rebuild when I use a
> new kernel. (X drivers, vmware, etc.)
>
> The kernel boots fine:
>
> mark@c2stable ~ $ uname -a
> Linux c2stable 2.6.34-gentoo-r1 #4 SMP PREEMPT Tue Jul 6 10:35:15 PDT
> 2010 x86_64 Intel(R) Core(TM) i7 CPU X 980 @ 3.33GHz GenuineIntel
> GNU/Linux
> mark@c2stable ~ $
>
> I don't know what I'm looking for in the dmesg files but I do see one
> message about a SATA Link being down.

Umm... the patched module isn't being loaded. If patched, it should
be reporting whether it's hard or soft resetting and some other debug
messages. One common mistake is not updating initrd with patched
modules. Is "modules-rebuild -X rebuild" the command for initrd
update?

Thanks.

--
tejun

2010-07-07 15:34:33

by Mark Knecht

[permalink] [raw]
Subject: Re: Drives missing at boot

On Tue, Jul 6, 2010 at 10:50 PM, Tejun Heo <[email protected]> wrote:
> Hello,
>
> On 07/06/2010 08:13 PM, Mark Knecht wrote:
>> OK - thanks. The patch seemed to install correctly. I then did
>>
>> make clean
>> make && make modules_install
>>
>> and then a Gentoo command:
>>
>> modules-rebuild -X rebuild
>>
>> to pick up any package modules that need to be rebuild when I use a
>> new kernel. (X drivers, vmware, etc.)
>>
>> The kernel boots fine:
>>
>> mark@c2stable ~ $ uname -a
>> Linux c2stable 2.6.34-gentoo-r1 #4 SMP PREEMPT Tue Jul 6 10:35:15 PDT
>> 2010 x86_64 Intel(R) Core(TM) i7 CPU X 980 @ 3.33GHz GenuineIntel
>> GNU/Linux
>> mark@c2stable ~ $
>>
>> I don't know what I'm looking for in the dmesg files but I do see one
>> message about a SATA Link being down.
>
> Umm... the patched module isn't being loaded.  If patched, it should
> be reporting whether it's hard or soft resetting and some other debug
> messages.  One common mistake is not updating initrd with patched
> modules.  Is "modules-rebuild -X rebuild" the command for initrd
> update?
>
> Thanks.
>
> --
> tejun
>
I don't use an initrd.

I don't know what happened with the patch but clearly it wasn't in
there. I wasn't confident so I used the --dry-run option. Maybe I
forgot to remove it or something. Sorry. It's in now.

OK - I don't know if this was you intention but since adding this
patch I've not had a single drive missing failure. I've cold booted
about 8 times and warm booted at least 20 times. Every one has come up
fine. I've even gone so far as to turn off the UPS and sit for 5
minutes before cold booting. Still nothing fails right now.

I've had this sort of statistical thing happen before where it hasn't
failed for days, maybe even weeks, but then it starts failing and
fails every time for awhile. Over the past few days working with you
I've never had to reboot more than twice to get you a file. Now I've
tried 30 times this morning and I've come up with nothing.

I will continue to watch the machine and send you the failing dmesg
file whenever I finally get it. For now I can only attach the passing
file showing the patch is now included.

modules-rebuild is just a little Gentoo script that rebuilds a list of
modules that I've previously set up. Each time I build a new kernel I
rebuild some modules as well as mesa:

xorg-drivers
xorg-input-evdev
xorg-input-keyboard
xorg-input-mouse
xf86-video-ati
xf86-video-fbdev
xf86-video-vmware
vmware-modules
mesa

Clearly I shouldn't need both evdev as well as keyboard/mouse but
there's been problems with hald so I've been flipping back and forth a
bit. mesa is just superstition but I _think_ it's helped a couple of
times.

Thanks!

- Mark


Attachments:
dmesg.IDE_AllDrives (62.07 kB)

2010-07-07 15:48:41

by Tejun Heo

[permalink] [raw]
Subject: Re: Drives missing at boot

Hello,

On 07/07/2010 05:34 PM, Mark Knecht wrote:
> OK - I don't know if this was you intention but since adding this
> patch I've not had a single drive missing failure. I've cold booted
> about 8 times and warm booted at least 20 times. Every one has come up
> fine. I've even gone so far as to turn off the UPS and sit for 5
> minutes before cold booting. Still nothing fails right now.
>
> I've had this sort of statistical thing happen before where it hasn't
> failed for days, maybe even weeks, but then it starts failing and
> fails every time for awhile. Over the past few days working with you
> I've never had to reboot more than twice to get you a file. Now I've
> tried 30 times this morning and I've come up with nothing.
>
> I will continue to watch the machine and send you the failing dmesg
> file whenever I finally get it. For now I can only attach the passing
> file showing the patch is now included.

It seems like SIDPR is a bit more unreliable than the current code can
handle and the added delay and read could have affected the result.
Eh... weird. Can you please apply the attached patch instead? The
only difference is it will print out two SControl values instead of
one. ie. "XXX SControl after resume = AAA BBB, tries=T". Can you
please try to boot multiple times and see if AAA and BBB differ
anytime? If that happens, please attach the boot log. Also, if you
see one with T > 1, please attach that one too.

Thanks.

--
tejun


Attachments:
resume-dbg-1.patch (1.33 kB)

2010-07-07 16:16:04

by Mark Knecht

[permalink] [raw]
Subject: Re: Drives missing at boot

On Wed, Jul 7, 2010 at 8:48 AM, Tejun Heo <[email protected]> wrote:
> Hello,
>
> On 07/07/2010 05:34 PM, Mark Knecht wrote:
>> OK - I don't know if this was you intention but since adding this
>> patch I've not had a single drive missing failure. I've cold booted
>> about 8 times and warm booted at least 20 times. Every one has come up
>> fine. I've even gone so far as to turn off the UPS and sit for 5
>> minutes before cold booting. Still nothing fails right now.
>>
>> I've had this sort of statistical thing happen before where it hasn't
>> failed for days, maybe even weeks, but then it starts failing and
>> fails every time for awhile. Over the past few days working with you
>> I've never had to reboot more than twice to get you a file. Now I've
>> tried 30 times this morning and I've come up with nothing.
>>
>> I will continue to watch the machine and send you the failing dmesg
>> file whenever I finally get it. For now I can only attach the passing
>> file showing the patch is now included.
>
> It seems like SIDPR is a bit more unreliable than the current code can
> handle and the added delay and read could have affected the result.
> Eh... weird.  Can you please apply the attached patch instead?  The
> only difference is it will print out two SControl values instead of
> one.  ie. "XXX SControl after resume = AAA BBB, tries=T".  Can you
> please try to boot multiple times and see if AAA and BBB differ
> anytime?  If that happens, please attach the boot log.  Also, if you
> see one with T > 1, please attach that one too.
>
> Thanks.
>
> --
> tejun
>

Certainly. Is there a way to reverse the previous patch?

c2stable linux # patch -p1 --dry-run <~mark/Downloads/resume-dbg-1.patch
patching file drivers/ata/libata-core.c
Hunk #1 succeeded at 3798 (offset 86 lines).
Hunk #2 succeeded at 3833 with fuzz 2 (offset 94 lines).
Hunk #3 FAILED at 6109.
1 out of 3 hunks FAILED -- saving rejects to file drivers/ata/libata-core.c.rej
c2stable linux #

I assume this is failing because your patch is over the plain kernel,
not the one I've patched?

Thanks,
Mark

2010-07-07 16:19:51

by Tejun Heo

[permalink] [raw]
Subject: Re: Drives missing at boot

On 07/07/2010 06:15 PM, Mark Knecht wrote:
> Certainly. Is there a way to reverse the previous patch?
>
> c2stable linux # patch -p1 --dry-run <~mark/Downloads/resume-dbg-1.patch
> patching file drivers/ata/libata-core.c
> Hunk #1 succeeded at 3798 (offset 86 lines).
> Hunk #2 succeeded at 3833 with fuzz 2 (offset 94 lines).
> Hunk #3 FAILED at 6109.
> 1 out of 3 hunks FAILED -- saving rejects to file drivers/ata/libata-core.c.rej
> c2stable linux #
>
> I assume this is failing because your patch is over the plain kernel,
> not the one I've patched?

$ patch -R -p1 < ~mark/Downloads/resume-dbg.patch
$ patch -p1 < ~mark/Downloads/resume-dbg-1.patch

--
tejun

2010-07-07 16:27:19

by Mark Knecht

[permalink] [raw]
Subject: Re: Drives missing at boot

On Wed, Jul 7, 2010 at 9:19 AM, Tejun Heo <[email protected]> wrote:
> On 07/07/2010 06:15 PM, Mark Knecht wrote:
>> Certainly. Is there a way to reverse the previous patch?
>>
>> c2stable linux # patch -p1 --dry-run <~mark/Downloads/resume-dbg-1.patch
>> patching file drivers/ata/libata-core.c
>> Hunk #1 succeeded at 3798 (offset 86 lines).
>> Hunk #2 succeeded at 3833 with fuzz 2 (offset 94 lines).
>> Hunk #3 FAILED at 6109.
>> 1 out of 3 hunks FAILED -- saving rejects to file drivers/ata/libata-core.c.rej
>> c2stable linux #
>>
>> I assume this is failing because your patch is over the plain kernel,
>> not the one I've patched?
>
> $ patch -R -p1 < ~mark/Downloads/resume-dbg.patch
> $ patch -p1 < ~mark/Downloads/resume-dbg-1.patch
>
> --
> tejun
>
Thanks. Building the new kernel now. I'll start trying to save the
data you're looking for.

Cheers,
Mark

2010-07-07 17:11:35

by Mark Knecht

[permalink] [raw]
Subject: Re: Drives missing at boot

On Wed, Jul 7, 2010 at 8:48 AM, Tejun Heo <[email protected]> wrote:
> Hello,
>
> On 07/07/2010 05:34 PM, Mark Knecht wrote:
>> OK - I don't know if this was you intention but since adding this
>> patch I've not had a single drive missing failure. I've cold booted
>> about 8 times and warm booted at least 20 times. Every one has come up
>> fine. I've even gone so far as to turn off the UPS and sit for 5
>> minutes before cold booting. Still nothing fails right now.
>>
>> I've had this sort of statistical thing happen before where it hasn't
>> failed for days, maybe even weeks, but then it starts failing and
>> fails every time for awhile. Over the past few days working with you
>> I've never had to reboot more than twice to get you a file. Now I've
>> tried 30 times this morning and I've come up with nothing.
>>
>> I will continue to watch the machine and send you the failing dmesg
>> file whenever I finally get it. For now I can only attach the passing
>> file showing the patch is now included.
>
> It seems like SIDPR is a bit more unreliable than the current code can
> handle and the added delay and read could have affected the result.
> Eh... weird.  Can you please apply the attached patch instead?  The
> only difference is it will print out two SControl values instead of
> one.  ie. "XXX SControl after resume = AAA BBB, tries=T".  Can you
> please try to boot multiple times and see if AAA and BBB differ
> anytime?  If that happens, please attach the boot log.  Also, if you
> see one with T > 1, please attach that one too.
>
> Thanks.
>
> --
> tejun
>

4 warm reboots. All 4 said 300 300. However the 4th one only showed an
extra attempt at running the patch code with and also showed Tries =
2. I'm attaching boot #1 and boot #4 for now. I've saved them all if
you need or just want them.

Please note that in all 4 cases all drives were found. Nothing is
missing in any test yet after adding these either of these patches.

I've not tried cold boots yet. That's next.

Cheers,
Mark


Attachments:
dmesg.Patch-R1.Test1 (62.13 kB)
dmesg.Patch-R1.Test4 (62.18 kB)
Download all attachments

2010-07-07 17:26:25

by Tejun Heo

[permalink] [raw]
Subject: Re: Drives missing at boot

Hello,

On 07/07/2010 07:06 PM, Mark Knecht wrote:
> 4 warm reboots. All 4 said 300 300. However the 4th one only showed an
> extra attempt at running the patch code with and also showed Tries =
> 2. I'm attaching boot #1 and boot #4 for now. I've saved them all if
> you need or just want them.
>
> Please note that in all 4 cases all drives were found. Nothing is
> missing in any test yet after adding these either of these patches.
>
> I've not tried cold boots yet. That's next.

Hmm... just in case you're being lucky, please keep an eye on it over
several days and report the result. I think all that's necessary is
slight modification to the resume logic but let's watch a bit first.

Thanks.

--
tejun

2010-07-07 17:32:27

by Mark Knecht

[permalink] [raw]
Subject: Re: Drives missing at boot

On Wed, Jul 7, 2010 at 10:26 AM, Tejun Heo <[email protected]> wrote:
> Hello,
>
> On 07/07/2010 07:06 PM, Mark Knecht wrote:
>> 4 warm reboots. All 4 said 300 300. However the 4th one only showed an
>> extra attempt at running the patch code with and also showed Tries =
>> 2. I'm attaching boot #1 and boot #4 for now. I've saved them all if
>> you need or just want them.
>>
>> Please note that in all 4 cases all drives were found. Nothing is
>> missing in any test yet after adding these either of these patches.
>>
>> I've not tried cold boots yet. That's next.
>
> Hmm... just in case you're being lucky, please keep an eye on it over
> several days and report the result.  I think all that's necessary is
> slight modification to the resume logic but let's watch a bit first.
>
> Thanks.
>
> --
> tejun
>
I've tried two cold boots so far. One of them had that same extra
Tries = 2 at the same place. I'll do a couple more just to see what
happens.

I'm happy to watch it as long as it takes and will certainly save any
results if and when a drive isn't found. This problem has run hot and
cold for a few months. Sometimes I go a week with every boot is good.
This last two weeks was finally bad enough to get me to report it.

I also want to investigate actually getting the BIOS AHCI setting
working, but I think I'll leave that alone for afew days so as to not
upset this experiment. Performance on the machine isn't critical right
now, assuming AHCI helps.

I'll get back to you when I've got something new to report.

Cheers,
Mark

2010-07-19 19:31:50

by Mark Knecht

[permalink] [raw]
Subject: Re: Drives missing at boot

On Wed, Jul 7, 2010 at 10:26 AM, Tejun Heo <[email protected]> wrote:
> Hello,
>
> On 07/07/2010 07:06 PM, Mark Knecht wrote:
>> 4 warm reboots. All 4 said 300 300. However the 4th one only showed an
>> extra attempt at running the patch code with and also showed Tries =
>> 2. I'm attaching boot #1 and boot #4 for now. I've saved them all if
>> you need or just want them.
>>
>> Please note that in all 4 cases all drives were found. Nothing is
>> missing in any test yet after adding these either of these patches.
>>
>> I've not tried cold boots yet. That's next.
>
> Hmm... just in case you're being lucky, please keep an eye on it over
> several days and report the result.  I think all that's necessary is
> slight modification to the resume logic but let's watch a bit first.
>
> Thanks.
>
> --
> tejun
>

Tejun,
With about 10-12 day of testing, 1-2 boots/day, I've not had a
single boot failure since adding the patch. Only twice has it said
tries=2. Every other time it's tries=1. The machine seems to work fine
either way.

Thanks,
Mark

2010-07-19 21:01:57

by Tejun Heo

[permalink] [raw]
Subject: Re: Drives missing at boot

Hello,

On 07/19/2010 09:31 PM, Mark Knecht wrote:
> With about 10-12 day of testing, 1-2 boots/day, I've not had a
> single boot failure since adding the patch. Only twice has it said
> tries=2. Every other time it's tries=1. The machine seems to work fine
> either way.

Hmmm... can you please test the attached patch instead? It seems
likely that the root cause is not flakiness of SIDPR but incorrect
locking in libata EH code.

Thanks.

--
tejun


Attachments:
ata_piix-sidpr-lock.patch (1.57 kB)

2010-07-20 04:00:06

by Paul Check

[permalink] [raw]
Subject: Re: Drives missing at boot

Hey Tejun: I guess this is the same patch that you sent me to fix my issue
with missing drives. Good news: I've been through about 10 reboots now
and no problems. Based on my prior experience, I'd say with the old
setup, 10 clean boots in a row was probably less than a 1% event. So, it
seems that this has fixed my problem.

Thanks!

Regards, Paul

> Hello,
>
> On 07/19/2010 09:31 PM, Mark Knecht wrote:
>> With about 10-12 day of testing, 1-2 boots/day, I've not had a
>> single boot failure since adding the patch. Only twice has it said
>> tries=2. Every other time it's tries=1. The machine seems to work fine
>> either way.
>
> Hmmm... can you please test the attached patch instead? It seems
> likely that the root cause is not flakiness of SIDPR but incorrect
> locking in libata EH code.
>
> Thanks.
>
> --
> tejun
>

2010-07-20 14:14:36

by Tejun Heo

[permalink] [raw]
Subject: Re: Drives missing at boot

Helo,

On 07/20/2010 05:14 AM, Paul Check wrote:
> Hey Tejun: I guess this is the same patch that you sent me to fix my issue
> with missing drives. Good news: I've been through about 10 reboots now
> and no problems. Based on my prior experience, I'd say with the old
> setup, 10 clean boots in a row was probably less than a 1% event. So, it
> seems that this has fixed my problem.

Yeap, it's the same one. I'm forwarding the patch upstream now but,
Mark, please let me know the test result.

Thanks.

--
tejun

2010-07-20 14:53:45

by Mark Knecht

[permalink] [raw]
Subject: Re: Drives missing at boot

On Tue, Jul 20, 2010 at 7:14 AM, Tejun Heo <[email protected]> wrote:
> Helo,
>
> On 07/20/2010 05:14 AM, Paul Check wrote:
>> Hey Tejun: I guess this is the same patch that you sent me to fix my issue
>> with missing drives.  Good news: I've been through about 10 reboots now
>> and no problems.  Based on my prior experience, I'd say with the old
>> setup, 10 clean boots in a row was probably less than a 1% event.  So, it
>> seems that this has fixed my problem.
>
> Yeap, it's the same one.  I'm forwarding the patch upstream now but,
> Mark, please let me know the test result.
>
> Thanks.
>
> --
> tejun
>

Tejun,
I'm traveling but back tonight. I'll try it then.

Thanks,
Mark

2010-07-20 16:16:34

by Mark Knecht

[permalink] [raw]
Subject: Re: Drives missing at boot

On Tue, Jul 20, 2010 at 7:53 AM, Mark Knecht <[email protected]> wrote:
> On Tue, Jul 20, 2010 at 7:14 AM, Tejun Heo <[email protected]> wrote:
>> Helo,
>>
>> On 07/20/2010 05:14 AM, Paul Check wrote:
>>> Hey Tejun: I guess this is the same patch that you sent me to fix my issue
>>> with missing drives.  Good news: I've been through about 10 reboots now
>>> and no problems.  Based on my prior experience, I'd say with the old
>>> setup, 10 clean boots in a row was probably less than a 1% event.  So, it
>>> seems that this has fixed my problem.
>>
>> Yeap, it's the same one.  I'm forwarding the patch upstream now but,
>> Mark, please let me know the test result.
>>
>> Thanks.
>>
>> --
>> tejun
>>
>
> Tejun,
>   I'm traveling but back tonight. I'll try it then.
>
> Thanks,
> Mark
>

OK, I was able to get into the machine remotely for a few minutes. I
think the patch applied correctly and the machine cold booted cleanly.
(My wife powered it up for me.)

I'll do more boots later when you confirm everything looks reasonable.
I don't see any print statement in the patch so I don't know what to
look for. I'm attaching a dmesg file for you to review.

Assuming I did this right then everything seems good so far.

Cheers,
Mark

c2stable linux # patch --verbose -p1 <~mark/Downloads/ata_piix-sidpr-lock.patch
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/drivers/ata/ata_piix.c b/drivers/ata/ata_piix.c
|index 7409f98..3971bc0 100644
|--- a/drivers/ata/ata_piix.c
|+++ b/drivers/ata/ata_piix.c
--------------------------
Patching file drivers/ata/ata_piix.c using Plan A...
Hunk #1 succeeded at 158.
Hunk #2 succeeded at 952.
Hunk #3 succeeded at 968.
Hunk #4 succeeded at 1573.
done
c2stable linux #


Attachments:
dmesg.Patch-New.COLDTest1 (61.42 kB)

2010-07-20 20:52:12

by Mark Knecht

[permalink] [raw]
Subject: Re: Drives missing at boot

On Mon, Jul 19, 2010 at 8:14 PM, Paul Check <[email protected]> wrote:
> Hey Tejun: I guess this is the same patch that you sent me to fix my issue
> with missing drives.  Good news: I've been through about 10 reboots now
> and no problems.  Based on my prior experience, I'd say with the old
> setup, 10 clean boots in a row was probably less than a 1% event.  So, it
> seems that this has fixed my problem.
>
> Thanks!
>
> Regards, Paul
>

Hey Paul. Glad it worked for you as it did for me.

Was your hardware in any way similar to mine?

- Mark

2010-07-20 21:19:50

by Paul Check

[permalink] [raw]
Subject: Re: Drives missing at boot

I missed your hardware. I have an ASUS PT 6 Deluxe V2 board with 4 drives.
I think they are 1TB each, Seagate SATA drives. P

> On Mon, Jul 19, 2010 at 8:14 PM, Paul Check <[email protected]> wrote:
>> Hey Tejun: I guess this is the same patch that you sent me to fix my
>> issue
>> with missing drives.  Good news: I've been through about 10 reboots now
>> and no problems.  Based on my prior experience, I'd say with the old
>> setup, 10 clean boots in a row was probably less than a 1% event.  So,
>> it
>> seems that this has fixed my problem.
>>
>> Thanks!
>>
>> Regards, Paul
>>
>
> Hey Paul. Glad it worked for you as it did for me.
>
> Was your hardware in any way similar to mine?
>
> - Mark
>

2010-07-20 21:26:23

by Mark Knecht

[permalink] [raw]
Subject: Re: Drives missing at boot

On Tue, Jul 20, 2010 at 2:19 PM, Paul Check <[email protected]> wrote:
> I missed your hardware. I have an ASUS PT 6 Deluxe V2 board with 4 drives.
> I think they are 1TB each, Seagate SATA drives.  P
>

What processor? I've got the Core i7-980X. I've wondered if this
problem showed up for me because possibly the 12 thread processor
moves through some part of boot setup pretty quickly.

Mine is an Asus Rampage II Extreme with five 500GB drives.

Whatever the reason great thanks to Tejun for fixing it. I keep
wanting to add an 'r' to his last name to get 'Hero'!

Cheers,
Mark

2010-07-20 23:05:22

by Paul Check

[permalink] [raw]
Subject: Re: Drives missing at boot

Oh, yeah, my processor is the i7 975. That's 4 cores 8 threads, right?
Yes, nice work Tejun, thanks. I'll have to run custom kernels until this
gets fed into Debian. P

> On Tue, Jul 20, 2010 at 2:19 PM, Paul Check <[email protected]> wrote:
>> I missed your hardware. I have an ASUS PT 6 Deluxe V2 board with 4
>> drives.
>> I think they are 1TB each, Seagate SATA drives.  P
>>
>
> What processor? I've got the Core i7-980X. I've wondered if this
> problem showed up for me because possibly the 12 thread processor
> moves through some part of boot setup pretty quickly.
>
> Mine is an Asus Rampage II Extreme with five 500GB drives.
>
> Whatever the reason great thanks to Tejun for fixing it. I keep
> wanting to add an 'r' to his last name to get 'Hero'!
>
> Cheers,
> Mark
>

2010-07-21 20:54:26

by Mark Knecht

[permalink] [raw]
Subject: Re: Drives missing at boot

On Tue, Jul 20, 2010 at 7:14 AM, Tejun Heo <[email protected]> wrote:
> Helo,
>
> On 07/20/2010 05:14 AM, Paul Check wrote:
>> Hey Tejun: I guess this is the same patch that you sent me to fix my issue
>> with missing drives.  Good news: I've been through about 10 reboots now
>> and no problems.  Based on my prior experience, I'd say with the old
>> setup, 10 clean boots in a row was probably less than a 1% event.  So, it
>> seems that this has fixed my problem.
>
> Yeap, it's the same one.  I'm forwarding the patch upstream now but,
> Mark, please let me know the test result.
>
> Thanks.
>
> --
> tejun
>

Tejun,
Looks like I had a failure today. First one in weeks and only the
3rd or 4th boot with this newer patch file. One of the two drives
making a RAID0 wasn't found so /dev/md11 (constructed from /dev/sdd
and /dev/sde) couldn't be started. I did a cold reboot and the drive
was found.

If it matters, and it probably doesn't, the failure came on a boot
which had a scheduled fsck to do of /dev/md5 - my main / drive. I
don't see how that would make a difference but I figure why leave the
info out. That's why the times are so much larger in the dmesg file.
(I think)

dmesg attached. I patched the Gentoo kernel if it makes a
difference, same as I did with the earlier patch.

mark@c2stable ~ $ uname -a
Linux c2stable 2.6.34-gentoo-r2 #1 SMP PREEMPT Sun Jul 18 14:09:48 PDT
2010 x86_64 Intel(R) Core(TM) i7 CPU X 980 @ 3.33GHz GenuineIntel
GNU/Linux
mark@c2stable ~ $

Sorry,
Mark


Attachments:
dmesg.Patch-New.COLDTest2 (58.68 kB)

2010-07-21 21:22:56

by Paul Check

[permalink] [raw]
Subject: Re: Drives missing at boot

That's unfortunate. FYI I have continued to be trouble free, but my
processor is a bit weaker than Mark's, although I would find it surprising
that this would cause a problem. Also, FYI Mark, I have 12GB of Corsair
RAM, and have it bumped up to the Intel XMP profile.

P

> On Tue, Jul 20, 2010 at 7:14 AM, Tejun Heo <[email protected]> wrote:
>> Helo,
>>
>> On 07/20/2010 05:14 AM, Paul Check wrote:
>>> Hey Tejun: I guess this is the same patch that you sent me to fix my
>>> issue
>>> with missing drives.  Good news: I've been through about 10 reboots
>>> now
>>> and no problems.  Based on my prior experience, I'd say with the old
>>> setup, 10 clean boots in a row was probably less than a 1% event.  So,
>>> it
>>> seems that this has fixed my problem.
>>
>> Yeap, it's the same one.  I'm forwarding the patch upstream now but,
>> Mark, please let me know the test result.
>>
>> Thanks.
>>
>> --
>> tejun
>>
>
> Tejun,
> Looks like I had a failure today. First one in weeks and only the
> 3rd or 4th boot with this newer patch file. One of the two drives
> making a RAID0 wasn't found so /dev/md11 (constructed from /dev/sdd
> and /dev/sde) couldn't be started. I did a cold reboot and the drive
> was found.
>
> If it matters, and it probably doesn't, the failure came on a boot
> which had a scheduled fsck to do of /dev/md5 - my main / drive. I
> don't see how that would make a difference but I figure why leave the
> info out. That's why the times are so much larger in the dmesg file.
> (I think)
>
> dmesg attached. I patched the Gentoo kernel if it makes a
> difference, same as I did with the earlier patch.
>
> mark@c2stable ~ $ uname -a
> Linux c2stable 2.6.34-gentoo-r2 #1 SMP PREEMPT Sun Jul 18 14:09:48 PDT
> 2010 x86_64 Intel(R) Core(TM) i7 CPU X 980 @ 3.33GHz GenuineIntel
> GNU/Linux
> mark@c2stable ~ $
>
> Sorry,
> Mark
>

2010-07-22 12:39:24

by Tejun Heo

[permalink] [raw]
Subject: Re: Drives missing at boot

Hello,

On 07/21/2010 10:54 PM, Mark Knecht wrote:
> Looks like I had a failure today. First one in weeks and only the
> 3rd or 4th boot with this newer patch file. One of the two drives
> making a RAID0 wasn't found so /dev/md11 (constructed from /dev/sdd
> and /dev/sde) couldn't be started. I did a cold reboot and the drive
> was found.
>
> If it matters, and it probably doesn't, the failure came on a boot
> which had a scheduled fsck to do of /dev/md5 - my main / drive. I
> don't see how that would make a difference but I figure why leave the
> info out. That's why the times are so much larger in the dmesg file.
> (I think)
>
> dmesg attached. I patched the Gentoo kernel if it makes a
> difference, same as I did with the earlier patch.
>
> mark@c2stable ~ $ uname -a
> Linux c2stable 2.6.34-gentoo-r2 #1 SMP PREEMPT Sun Jul 18 14:09:48 PDT
> 2010 x86_64 Intel(R) Core(TM) i7 CPU X 980 @ 3.33GHz GenuineIntel
> GNU/Linux
> mark@c2stable ~ $

Hmmm... that's weird. Can you please make sure the patch is actually
applied? Adding a printk("XXX patch applied!\n") near other changes
usually is easy enough. Also, can you please apply resume-dbg-1.patch
too and reproduce the failure and post log?

Thanks.

--
tejun

2010-08-02 22:07:20

by Mark Knecht

[permalink] [raw]
Subject: Re: Drives missing at boot

On Thu, Jul 22, 2010 at 5:39 AM, Tejun Heo <[email protected]> wrote:
> Hello,
>
> On 07/21/2010 10:54 PM, Mark Knecht wrote:
>>    Looks like I had a failure today. First one in weeks and only the
>> 3rd or 4th boot with this newer patch file. One of the two drives
>> making a RAID0 wasn't found so /dev/md11 (constructed from /dev/sdd
>> and /dev/sde) couldn't be started. I did a cold reboot and the drive
>> was found.
>>
>>    If it matters, and it probably doesn't, the failure came on a boot
>> which had a scheduled fsck to do of /dev/md5 - my main / drive. I
>> don't see how that would make a difference but I figure why leave the
>> info out. That's why the times are so much larger in the dmesg file.
>> (I think)
>>
>>    dmesg attached. I patched the Gentoo kernel if it makes a
>> difference, same as I did with the earlier patch.
>>
>> mark@c2stable ~ $ uname -a
>> Linux c2stable 2.6.34-gentoo-r2 #1 SMP PREEMPT Sun Jul 18 14:09:48 PDT
>> 2010 x86_64 Intel(R) Core(TM) i7 CPU X 980 @ 3.33GHz GenuineIntel
>> GNU/Linux
>> mark@c2stable ~ $
>
> Hmmm... that's weird.  Can you please make sure the patch is actually
> applied?  Adding a printk("XXX patch applied!\n") near other changes
> usually is easy enough.  Also, can you please apply resume-dbg-1.patch
> too and reproduce the failure and post log?
>
> Thanks.
>
> --
> tejun
>

Hi Tejun,
I'm finally home and trying to get back to this. I'm really a bad
programmer so I don't know what I've done wrong but it seems patch
isn't happy with me.

c2stable linux # patch --dry-run -p1 <../ata_piix-sidpr-lock.patch
patching file drivers/ata/ata_piix.c
patch: **** malformed patch at line 13:

c2stable linux #

Here's the change I tried to make to a copy of the file:

c2stable linux # cat ../ata_piix-sidpr-lock.patch
diff --git a/drivers/ata/ata_piix.c b/drivers/ata/ata_piix.c
index 7409f98..3971bc0 100644
--- a/drivers/ata/ata_piix.c
+++ b/drivers/ata/ata_piix.c
@@ -158,6 +158,7 @@ struct piix_map_db {
struct piix_host_priv {
const int *map;
u32 saved_iocfg;
+ spinlock_t sidpr_lock; /* FIXME: remove once locking in EH is fixed */
+ printk("MWK - ata_sidpr patch applied!\n");
void __iomem *sidpr;
};

@@ -951,12 +952,15 @@ static int piix_sidpr_scr_read(struct ata_link *link,
unsigned int reg, u32 *val)
{
struct piix_host_priv *hpriv = link->ap->host->private_data;
+ unsigned long flags;

if (reg >= ARRAY_SIZE(piix_sidx_map))
return -EINVAL;

+ spin_lock_irqsave(&hpriv->sidpr_lock, flags);
piix_sidpr_sel(link, reg);
*val = ioread32(hpriv->sidpr + PIIX_SIDPR_DATA);
+ spin_unlock_irqrestore(&hpriv->sidpr_lock, flags);
return 0;
}

@@ -964,12 +968,15 @@ static int piix_sidpr_scr_write(struct ata_link *link,
unsigned int reg, u32 val)
{
struct piix_host_priv *hpriv = link->ap->host->private_data;
+ unsigned long flags;

if (reg >= ARRAY_SIZE(piix_sidx_map))
return -EINVAL;

+ spin_lock_irqsave(&hpriv->sidpr_lock, flags);
piix_sidpr_sel(link, reg);
iowrite32(val, hpriv->sidpr + PIIX_SIDPR_DATA);
+ spin_unlock_irqrestore(&hpriv->sidpr_lock, flags);
return 0;
}

@@ -1566,6 +1573,7 @@ static int __devinit piix_init_one(struct pci_dev *pdev,
hpriv = devm_kzalloc(dev, sizeof(*hpriv), GFP_KERNEL);
if (!hpriv)
return -ENOMEM;
+ spin_lock_init(&hpriv->sidpr_lock);

/* Save IOCFG, this will be used for cable detection, quirk
* detection and restoration on detach. This is necessary
c2stable linux #

Maybe you can shoot back something that's done correctly and I'll
start testing.

I've tried booting a few times. I've had 3 cold boot failures so
far. No warm boot failures. Each time it failed on cold boot a warm
boot fixed it.

Thanks,
Mark

2010-08-03 18:42:53

by Randy Dunlap

[permalink] [raw]
Subject: Re: Drives missing at boot

On Mon, 2 Aug 2010 15:07:11 -0700 Mark Knecht wrote:

> On Thu, Jul 22, 2010 at 5:39 AM, Tejun Heo <[email protected]> wrote:
>
> Hi Tejun,
> I'm finally home and trying to get back to this. I'm really a bad
> programmer so I don't know what I've done wrong but it seems patch
> isn't happy with me.
>
> c2stable linux # patch --dry-run -p1 <../ata_piix-sidpr-lock.patch
> patching file drivers/ata/ata_piix.c
> patch: **** malformed patch at line 13:

Whenever the patch file was saved on this system, line 13 of it was
split (probably by an email client). Whenever I see this, I just
join (merge) that line and the next one and try again... sometimes
several lines are malformed and have to be fixed like this.

>
> c2stable linux #
>
> Here's the change I tried to make to a copy of the file:
>
> c2stable linux # cat ../ata_piix-sidpr-lock.patch
> diff --git a/drivers/ata/ata_piix.c b/drivers/ata/ata_piix.c
> index 7409f98..3971bc0 100644
> --- a/drivers/ata/ata_piix.c
> +++ b/drivers/ata/ata_piix.c
> @@ -158,6 +158,7 @@ struct piix_map_db {
> struct piix_host_priv {
> const int *map;
> u32 saved_iocfg;
> + spinlock_t sidpr_lock; /* FIXME: remove once locking in EH is fixed */
> + printk("MWK - ata_sidpr patch applied!\n");
> void __iomem *sidpr;
> };
>
> @@ -951,12 +952,15 @@ static int piix_sidpr_scr_read(struct ata_link *link,
> unsigned int reg, u32 *val)
> {
> struct piix_host_priv *hpriv = link->ap->host->private_data;
> + unsigned long flags;
>
> if (reg >= ARRAY_SIZE(piix_sidx_map))
> return -EINVAL;
>
> + spin_lock_irqsave(&hpriv->sidpr_lock, flags);
> piix_sidpr_sel(link, reg);
> *val = ioread32(hpriv->sidpr + PIIX_SIDPR_DATA);
> + spin_unlock_irqrestore(&hpriv->sidpr_lock, flags);
> return 0;
> }
>
> @@ -964,12 +968,15 @@ static int piix_sidpr_scr_write(struct ata_link *link,
> unsigned int reg, u32 val)
> {
> struct piix_host_priv *hpriv = link->ap->host->private_data;
> + unsigned long flags;
>
> if (reg >= ARRAY_SIZE(piix_sidx_map))
> return -EINVAL;
>
> + spin_lock_irqsave(&hpriv->sidpr_lock, flags);
> piix_sidpr_sel(link, reg);
> iowrite32(val, hpriv->sidpr + PIIX_SIDPR_DATA);
> + spin_unlock_irqrestore(&hpriv->sidpr_lock, flags);
> return 0;
> }
>
> @@ -1566,6 +1573,7 @@ static int __devinit piix_init_one(struct pci_dev *pdev,
> hpriv = devm_kzalloc(dev, sizeof(*hpriv), GFP_KERNEL);
> if (!hpriv)
> return -ENOMEM;
> + spin_lock_init(&hpriv->sidpr_lock);
>
> /* Save IOCFG, this will be used for cable detection, quirk
> * detection and restoration on detach. This is necessary
> c2stable linux #
>
> Maybe you can shoot back something that's done correctly and I'll
> start testing.
>
> I've tried booting a few times. I've had 3 cold boot failures so
> far. No warm boot failures. Each time it failed on cold boot a warm
> boot fixed it.


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

2010-08-03 18:47:29

by Mark Knecht

[permalink] [raw]
Subject: Re: Drives missing at boot

On Tue, Aug 3, 2010 at 11:41 AM, Randy Dunlap <[email protected]> wrote:
> On Mon, 2 Aug 2010 15:07:11 -0700 Mark Knecht wrote:
>
>> On Thu, Jul 22, 2010 at 5:39 AM, Tejun Heo <[email protected]> wrote:
>>
>> Hi Tejun,
>>    I'm finally home and trying to get back to this. I'm really a bad
>> programmer so I don't know what I've done wrong but it seems patch
>> isn't happy with me.
>>
>> c2stable linux # patch --dry-run -p1 <../ata_piix-sidpr-lock.patch
>> patching file drivers/ata/ata_piix.c
>> patch: **** malformed patch at line 13:
>
> Whenever the patch file was saved on this system, line 13 of it was
> split (probably by an email client).  Whenever I see this, I just
> join (merge) that line and the next one and try again... sometimes
> several lines are malformed and have to be fixed like this.
>

Randy,
Could very well be what happened. I added line 13 (the printk) by hand

<SNIP - ORIGINAL PATCH FILE>
struct piix_host_priv {
      const int *map;
      u32 saved_iocfg;
+       spinlock_t sidpr_lock;  /* FIXME: remove once locking in EH is fixed */
        void __iomem *sidpr;
};

<SNIP - MY CHANGE BY HAND>
struct piix_host_priv {
const int *map;
u32 saved_iocfg;
+ spinlock_t sidpr_lock; /* FIXME: remove once locking in EH is fixed */
+ printk("MWK - ata_sidpr patch applied!\n");
void __iomem *sidpr;
};

Maybe I should have just put it on the same line as the previous
spinlock command?

I'll play with it and see if I can get it working.

Thanks,
Mark

2010-08-03 18:53:46

by Mark Knecht

[permalink] [raw]
Subject: Re: Drives missing at boot

On Tue, Aug 3, 2010 at 11:49 AM, Jim Paris <[email protected]> wrote:
> Randy Dunlap wrote:
>> On Mon, 2 Aug 2010 15:07:11 -0700 Mark Knecht wrote:
>>
>> > On Thu, Jul 22, 2010 at 5:39 AM, Tejun Heo <[email protected]> wrote:
>> >
>> > Hi Tejun,
>> >    I'm finally home and trying to get back to this. I'm really a bad
>> > programmer so I don't know what I've done wrong but it seems patch
>> > isn't happy with me.
>> >
>> > c2stable linux # patch --dry-run -p1 <../ata_piix-sidpr-lock.patch
>> > patching file drivers/ata/ata_piix.c
>> > patch: **** malformed patch at line 13:
>>
>> Whenever the patch file was saved on this system, line 13 of it was
>> split (probably by an email client).  Whenever I see this, I just
>> join (merge) that line and the next one and try again... sometimes
>> several lines are malformed and have to be fixed like this.
>
> Tejun asked Mark to add a printk, and Mark added it directly to the
> patch.  Mark, just apply the original patch as-is, and then add the
> printk to the source code in ata_piix.c.  You should add it somewhere
> like the piix_init_one function, e.g. right before the "Save IOCFG"
> comment around line 1575.
>
> -jim

Thanks Jim. I'll give it a shot.

Cheers,
Mark

2010-08-03 18:57:39

by Randy Dunlap

[permalink] [raw]
Subject: Re: Drives missing at boot

On Tue, 3 Aug 2010 11:47:25 -0700 Mark Knecht wrote:

> On Tue, Aug 3, 2010 at 11:41 AM, Randy Dunlap <[email protected]> wrote:
> > On Mon, 2 Aug 2010 15:07:11 -0700 Mark Knecht wrote:
> >
> >> On Thu, Jul 22, 2010 at 5:39 AM, Tejun Heo <[email protected]> wrote:
> >>
> >> Hi Tejun,
> >> ? ?I'm finally home and trying to get back to this. I'm really a bad
> >> programmer so I don't know what I've done wrong but it seems patch
> >> isn't happy with me.
> >>
> >> c2stable linux # patch --dry-run -p1 <../ata_piix-sidpr-lock.patch
> >> patching file drivers/ata/ata_piix.c
> >> patch: **** malformed patch at line 13:
> >
> > Whenever the patch file was saved on this system, line 13 of it was
> > split (probably by an email client). ?Whenever I see this, I just
> > join (merge) that line and the next one and try again... sometimes
> > several lines are malformed and have to be fixed like this.
> >
>
> Randy,
> Could very well be what happened. I added line 13 (the printk) by hand
>
> <SNIP - ORIGINAL PATCH FILE>
> struct piix_host_priv {
> ? ? ? const int *map;
> ? ? ? u32 saved_iocfg;
> + ? ? ? spinlock_t sidpr_lock; ?/* FIXME: remove once locking in EH is fixed */
> ? ? ? ? void __iomem *sidpr;
> };
>
> <SNIP - MY CHANGE BY HAND>
> struct piix_host_priv {
> const int *map;
> u32 saved_iocfg;
> + spinlock_t sidpr_lock; /* FIXME: remove once locking in EH is fixed */
> + printk("MWK - ata_sidpr patch applied!\n");
> void __iomem *sidpr;
> };
>
> Maybe I should have just put it on the same line as the previous
> spinlock command?
>
> I'll play with it and see if I can get it working.


Ah, so you added a line to a patch file. That means that the patch
block header must be changed from something like this:

@@ -964,12 +968,15 @@

to like this:

@@ -964,12 +968,16 @@

Any text following the second "@@" is just a comment so it does not matter.

The ,12 ,15 ,16 are all line counts. The ",12" is the number of lines
in the before version of the patch. The ",15" or ",16" is the number of lines
in the after version of the patch, so you would need to increase it by 1 if
you added one line. Or you can just put the printk on the same line as another
part of the patch and it won't matter. :)


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

2010-08-03 18:59:48

by Jim Paris

[permalink] [raw]
Subject: Re: Drives missing at boot

Randy Dunlap wrote:
> On Mon, 2 Aug 2010 15:07:11 -0700 Mark Knecht wrote:
>
> > On Thu, Jul 22, 2010 at 5:39 AM, Tejun Heo <[email protected]> wrote:
> >
> > Hi Tejun,
> > I'm finally home and trying to get back to this. I'm really a bad
> > programmer so I don't know what I've done wrong but it seems patch
> > isn't happy with me.
> >
> > c2stable linux # patch --dry-run -p1 <../ata_piix-sidpr-lock.patch
> > patching file drivers/ata/ata_piix.c
> > patch: **** malformed patch at line 13:
>
> Whenever the patch file was saved on this system, line 13 of it was
> split (probably by an email client). Whenever I see this, I just
> join (merge) that line and the next one and try again... sometimes
> several lines are malformed and have to be fixed like this.

Tejun asked Mark to add a printk, and Mark added it directly to the
patch. Mark, just apply the original patch as-is, and then add the
printk to the source code in ata_piix.c. You should add it somewhere
like the piix_init_one function, e.g. right before the "Save IOCFG"
comment around line 1575.

-jim

>
> >
> > c2stable linux #
> >
> > Here's the change I tried to make to a copy of the file:
> >
> > c2stable linux # cat ../ata_piix-sidpr-lock.patch
> > diff --git a/drivers/ata/ata_piix.c b/drivers/ata/ata_piix.c
> > index 7409f98..3971bc0 100644
> > --- a/drivers/ata/ata_piix.c
> > +++ b/drivers/ata/ata_piix.c
> > @@ -158,6 +158,7 @@ struct piix_map_db {
> > struct piix_host_priv {
> > const int *map;
> > u32 saved_iocfg;
> > + spinlock_t sidpr_lock; /* FIXME: remove once locking in EH is fixed */
> > + printk("MWK - ata_sidpr patch applied!\n");
> > void __iomem *sidpr;
> > };
> >
> > @@ -951,12 +952,15 @@ static int piix_sidpr_scr_read(struct ata_link *link,
> > unsigned int reg, u32 *val)
> > {
> > struct piix_host_priv *hpriv = link->ap->host->private_data;
> > + unsigned long flags;
> >
> > if (reg >= ARRAY_SIZE(piix_sidx_map))
> > return -EINVAL;
> >
> > + spin_lock_irqsave(&hpriv->sidpr_lock, flags);
> > piix_sidpr_sel(link, reg);
> > *val = ioread32(hpriv->sidpr + PIIX_SIDPR_DATA);
> > + spin_unlock_irqrestore(&hpriv->sidpr_lock, flags);
> > return 0;
> > }
> >
> > @@ -964,12 +968,15 @@ static int piix_sidpr_scr_write(struct ata_link *link,
> > unsigned int reg, u32 val)
> > {
> > struct piix_host_priv *hpriv = link->ap->host->private_data;
> > + unsigned long flags;
> >
> > if (reg >= ARRAY_SIZE(piix_sidx_map))
> > return -EINVAL;
> >
> > + spin_lock_irqsave(&hpriv->sidpr_lock, flags);
> > piix_sidpr_sel(link, reg);
> > iowrite32(val, hpriv->sidpr + PIIX_SIDPR_DATA);
> > + spin_unlock_irqrestore(&hpriv->sidpr_lock, flags);
> > return 0;
> > }
> >
> > @@ -1566,6 +1573,7 @@ static int __devinit piix_init_one(struct pci_dev *pdev,
> > hpriv = devm_kzalloc(dev, sizeof(*hpriv), GFP_KERNEL);
> > if (!hpriv)
> > return -ENOMEM;
> > + spin_lock_init(&hpriv->sidpr_lock);
> >
> > /* Save IOCFG, this will be used for cable detection, quirk
> > * detection and restoration on detach. This is necessary
> > c2stable linux #
> >
> > Maybe you can shoot back something that's done correctly and I'll
> > start testing.
> >
> > I've tried booting a few times. I've had 3 cold boot failures so
> > far. No warm boot failures. Each time it failed on cold boot a warm
> > boot fixed it.
>
>
> ---
> ~Randy
> *** Remember to use Documentation/SubmitChecklist when testing your code ***
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ide" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html

2010-08-04 16:16:38

by Mark Knecht

[permalink] [raw]
Subject: Re: Drives missing at boot

On Tue, Aug 3, 2010 at 11:55 AM, Randy Dunlap <[email protected]> wrote:
> On Tue, 3 Aug 2010 11:47:25 -0700 Mark Knecht wrote:
>
>> On Tue, Aug 3, 2010 at 11:41 AM, Randy Dunlap <[email protected]> wrote:
>> > On Mon, 2 Aug 2010 15:07:11 -0700 Mark Knecht wrote:
>> >
>> >> On Thu, Jul 22, 2010 at 5:39 AM, Tejun Heo <[email protected]> wrote:
>> >>
>> >> Hi Tejun,
>> >>    I'm finally home and trying to get back to this. I'm really a bad
>> >> programmer so I don't know what I've done wrong but it seems patch
>> >> isn't happy with me.
>> >>
>> >> c2stable linux # patch --dry-run -p1 <../ata_piix-sidpr-lock.patch
>> >> patching file drivers/ata/ata_piix.c
>> >> patch: **** malformed patch at line 13:
>> >
>> > Whenever the patch file was saved on this system, line 13 of it was
>> > split (probably by an email client).  Whenever I see this, I just
>> > join (merge) that line and the next one and try again... sometimes
>> > several lines are malformed and have to be fixed like this.
>> >
>>
>> Randy,
>>    Could very well be what happened. I added line 13 (the printk) by hand
>>
>> <SNIP - ORIGINAL PATCH FILE>
>> struct piix_host_priv {
>>        const int *map;
>>        u32 saved_iocfg;
>> +       spinlock_t sidpr_lock;  /* FIXME: remove once locking in EH is fixed */
>>         void __iomem *sidpr;
>> };
>>
>> <SNIP - MY CHANGE BY HAND>
>> struct piix_host_priv {
>>        const int *map;
>>        u32 saved_iocfg;
>> +       spinlock_t sidpr_lock;  /* FIXME: remove once locking in EH is fixed */
>> +       printk("MWK - ata_sidpr patch applied!\n");
>>        void __iomem *sidpr;
>> };
>>
>> Maybe I should have just put it on the same line as the previous
>> spinlock command?
>>
>> I'll play with it and see if I can get it working.
>
>
> Ah, so you added a line to a patch file.  That means that the patch
> block header must be changed from something like this:
>
> @@ -964,12 +968,15 @@
>
> to like this:
>
> @@ -964,12 +968,16 @@
>
> Any text following the second "@@" is just a comment so it does not matter.
>
> The ,12  ,15   ,16   are all line counts. The ",12" is the number of lines
> in the before version of the patch.  The ",15" or ",16" is the number of lines
> in the after version of the patch, so you would need to increase it by 1 if
> you added one line.   Or you can just put the printk on the same line as another
> part of the patch and it won't matter.  :)
>
>
> ---
> ~Randy
> *** Remember to use Documentation/SubmitChecklist when testing your code ***
>

Thanks Randy. This helped.

OK - so I'm going to hang fire on this problem right now. As part of
this process I've updated to a 2.6.35-gentoo kernel and I'm not seeing
the problem at all so far. I've booted about 25 times over the last 3
days - warm and cold boots mixed - and so far no failures. While I've
had times in the past where earlier kernels didn't exhibit the problem
for days I don't remember a time where I got this many good boots in a
row.

As my problem didn't seem to be exactly the same as Paul's, and since
Tejun expressed surprise that his fix for Paul's issue didn't fix
mine, maybe my problem is actually something different and (hopefully)
already fixed.

I'll continue to use the machine and watch for any failures. If I get
one I'll reengage the list and go into debug mode.

Cheers,
Mark