Asus M2N with two sata disks.

From: Eimar Koort <eimar.koort_at_gmail.com>
Date: Thu, 11 Oct 2007 20:59:06 +0300
Hi all,

Motherboard: Asus M2N [1]
Bios version: v02.58

When two SATA disks are added to machine, then it does'nt boot up or
sometimes it can boot up but detaching second disk "like mad". Several
months ago it was so 'stable', that i could boot up and create geom mirror
(Jul 3). After updating several times things went update by update more
unstable. At the moment machine is usable only with one disk.
Second disk is tested with other operating systems and it works. Also
changing sata channels doesn't make it better.

And question: has anyone same or similar problem or has found a cure for
this problem?


Generic kernel (11. Oct 2007 (cvs tag=.) It apperas, that right after
'releng_7' branced).

With BIOS default settings:
###
/*snip*/
ad4: 305245MB <Seagate ST3320620AS 3.AAE> at ata2-master SATA150
ad6: 305245MB <Seagate ST3320620AS 3.AAJ> at ata2-master SATA150
GEOM_MIRROR: Device mirror/gm0 launced (1/1)

Fatal trap 9: general protection fault while in kernel mode
cpuid = 0; apic id = 00
instruction pointer    = 0x8:0xffffffff80492be4
stack pointer        = 0x10:0xffffffffa0664a40
frame pointer        = 0x10:0xffffffffa0664a50
code segment        = base 0x0, limit 0xfffff, type 0x1b
            = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process        = 23 (irq21: ohci0+)
[thread pid 23 tid 100029 ]
Stopped at    device_get_softc+0x4:    movq    0x80(%rdi),%rax
db>

###
After disabling floppy disk, USB, Serial and Parallel port:
###
/*snip*/
GEOM_MIRROR: Device mirror/gm0 launced (1/1)

Fatal trap 9: general protection fault while in kernel mode
cpuid = 0; apic id = 00
instruction pointer    = 0x8:0xffffffff80492be4
stack pointer        = 0x10:0xffffffffa0630a40
frame pointer        = 0x10:0xffffffffa0630a50
code segment        = base 0x0, limit 0xfffff, type 0x1b
            = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process        = 23 (irq20: atapci1)
[thread pid 30 tid 100022 ]
Stopped at    device_get_softc+0x4:    movq    0x80(%rdi),%rax
db>

###
One example, when machine is able to boot up with both disk. At the same
time all things are slow - login takes about minute or two.
###
Oct 11 18:57:20 tusklik kernel: ad6: FAILURE - READ_DMA48 timed out
LBA=625142444
Oct 11 18:57:20 tusklik kernel: subdisk6: detached
Oct 11 18:57:20 tusklik kernel: ad6: detached
Oct 11 18:57:20 tusklik kernel: ad6: 305245MB <Seagate ST3320620AS 3.AAJ> at
ata3-master SATA150
Oct 11 18:57:22 tusklik kernel: subdisk6: detached
Oct 11 18:57:22 tusklik kernel: ad6: detached
Oct 11 18:57:22 tusklik kernel: ad6: 305245MB <Seagate ST3320620AS 3.AAJ> at
ata3-master SATA150
Oct 11 18:58:25 tusklik kernel: subdisk6: detached
Oct 11 18:58:25 tusklik kernel: ad6: detached
Oct 11 18:58:25 tusklik kernel: ad6: 305245MB <Seagate ST3320620AS 3.AAJ> at
ata3-master SATA150
Oct 11 18:58:33 tusklik kernel: ad6: TIMEOUT - READ_DMA retrying (1 retry
left) LBA=128
Oct 11 18:58:33 tusklik kernel: subdisk6: detached

###
After removing second disk and boot-up 'dmesg' output:
###
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.0-CURRENT #0: Thu Oct 11 18:20:14 EEST 2007
    root_at_tusklik.example.ee:/usr/obj/usr/src/sys/GENERIC
WARNING: WITNESS option enabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (2009.13-MHz K8-class
CPU)
  Origin = "AuthenticAMD"  Id = 0x40fb2  Stepping = 2

Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x2001<SSE3,CX16>
  AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!>
  AMD Features2=0x1f<LAHF,CMP,SVM,ExtAPIC,CR8>
  Cores per package: 2
usable memory = 1060196352 (1011 MB)
avail memory  = 1021550592 (974 MB)
ACPI APIC Table: <A_M_I_ OEMAPIC >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0 <Version 1.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: <A_M_I_ OEMXSDT> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 3ff00000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x508-0x50b on acpi0
cpu0: <ACPI CPU> on acpi0
powernow0: <PowerNow! K8> on cpu0
cpu1: <ACPI CPU> on acpi0
powernow1: <PowerNow! K8> on cpu1
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <memory, RAM> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> port 0x900-0x9ff at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
pci0: <memory, RAM> at device 1.2 (no driver attached)
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xdfeffc00-0xdfeffcff irq 21
at device 2.0 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb0: waiting for BIOS to give up control
usb0: EHCI version 1.0
usb0: wrong number of companions (1 != 0)
usb0: stop timeout
usb0: <EHCI (generic) USB 2.0 controller> on ehci0
usb0: USB revision 2.0
uhub0: <nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb0
uhub0: 10 ports with 10 removable, self powered
pcib1: <ACPI PCI-PCI bridge> at device 4.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci0: <multimedia> at device 5.0 (no driver attached)
atapci0: <nVidia nForce MCP61 UDMA133 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 6.0 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
nfe0: <NVIDIA nForce MCP61 Networking Adapter> port 0xd480-0xd487 mem
0xdfefe000-0xdfefefff irq 23 at device 7.0 on pci0
miibus0: <MII bus> on nfe0
ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
nfe0: Ethernet address: 00:18:f3:49:4b:b7
nfe0: [FILTER]
nfe0: [FILTER]
nfe0: [FILTER]
nfe0: [FILTER]
nfe0: [FILTER]
nfe0: [FILTER]
nfe0: [FILTER]
nfe0: [FILTER]
atapci1: <nVidia nForce MCP61 SATA300 controller> port
0xd400-0xd407,0xd080-0xd083,0xd000-0xd007,0xcc00-0xcc03,0xc880-0xc88f mem
0xdfefd000-0xdfefdfff irq 20 at device 8.0 on pci0
atapci1: [ITHREAD]
ata2: <ATA channel 0> on atapci1
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci1
ata3: [ITHREAD]
atapci2: <nVidia nForce MCP61 SATA300 controller> port
0xc800-0xc807,0xc480-0xc483,0xc400-0xc407,0xc080-0xc083,0xc000-0xc00f mem
0xdfefc000-0xdfefcfff irq 21 at device 8.1 on pci0
atapci2: [ITHREAD]
ata4: <ATA channel 0> on atapci2
ata4: [ITHREAD]
ata5: <ATA channel 1> on atapci2
ata5: [ITHREAD]
pcib2: <ACPI PCI-PCI bridge> at device 9.0 on pci0
pci2: <ACPI PCI bus> on pcib2
vgapci0: <VGA-compatible display> port 0xe800-0xe8ff mem
0xc0000000-0xcfffffff,0xdfff0000-0xdfffffff irq 16 at device 0.0 on pci2
vgapci1: <VGA-compatible display> mem 0xdffe0000-0xdffeffff at device 0.1 on
pci2
pcib3: <ACPI PCI-PCI bridge> at device 11.0 on pci0
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> at device 12.0 on pci0
pci4: <ACPI PCI bus> on pcib4
acpi_button0: <Power Button> on acpi0
fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
acpi0
fdc0: [FILTER]
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed00fff on
acpi0
Timecounter "HPET" frequency 25000000 Hz quality 900
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model IntelliMouse Explorer, device ID 4
orm0: <ISA Option ROM> at iomem 0xc0000-0xcdfff on isa0
ppc0: cannot reserve I/O port range
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio0: [FILTER]
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 1.000 msec
acd0: DVDR <NEC DVD RW ND-3550A/1.06> at ata0-slave UDMA33
ad4: 305245MB <Seagate ST3320620AS 3.AAE> at ata2-master SATA150
ar0: WARNING - mirror protection lost. RAID1 array in DEGRADED mode
ar0: 305245MB <FreeBSD PseudoRAID RAID1> status: DEGRADED
ar0: disk0 DOWN no device found for this subdisk
ar0: disk1 READY (mirror) using ad4 at ata2-master
SMP: AP CPU #1 Launched!
WARNING: WITNESS option enabled, expect reduced performance.
GEOM_MIRROR: Device mirror/gm0 launched (1/1).
Trying to mount root from ufs:/dev/mirror/gm0s1a

-----
[1]
http://www.asus.com/products.aspx?l1=3&l2=101&l3=340&l4=0&model=1340&modelmenu=1

-- 
Eimar Koort
( eimar.koort AT gmail.com )
Received on Thu Oct 11 2007 - 16:27:09 UTC

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