From owner-freebsd-current@FreeBSD.ORG Mon Nov 21 19:04:18 2011 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39591106566B for ; Mon, 21 Nov 2011 19:04:18 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (secure.freebsdsolutions.net [69.55.234.48]) by mx1.freebsd.org (Postfix) with ESMTP id 1F8098FC28 for ; Mon, 21 Nov 2011 19:04:18 +0000 (UTC) Received: from jnielsen.socialserve.com ([12.249.176.26]) (authenticated bits=0) by ns1.jnielsen.net (8.14.4/8.14.4) with ESMTP id pALIjf9n053245 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Mon, 21 Nov 2011 13:45:43 -0500 (EST) (envelope-from lists@jnielsen.net) From: John Nielsen Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Mon, 21 Nov 2011 13:45:36 -0500 Message-Id: <848DEEC1-570F-43F8-B432-A34F81014CD0@jnielsen.net> To: current@freebsd.org Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) X-DCC-x.dcc-servers-Metrics: ns1.jnielsen.net 104; Body=1 Fuz1=1 Fuz2=1 X-Virus-Scanned: clamav-milter 0.97.2 at ns1.jnielsen.net X-Virus-Status: Clean Cc: Subject: loader crash / BTX halted on 9.0-RC2 DVD with AMD pseudo-RAID X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Nov 2011 19:04:18 -0000 This weekend I downloaded the Freebsd 9.0 RC2 amd64 ISO image and burned = it to a DVD. I have a computer that currently runs Windows 7 but I plan = to install FreeBSD on it in the near future so I booted it up from the = DVD to check the hardware/driver status. Much to my dismay, the boot = loader crashed right away (register dump followed by "BTX halted") and = the computer immediately rebooted. I took a video with my phone so I = could capture the crash message, screenshot here: http://picpaste.com/pics/BTXcrash.1321899682.jpg I then tried tweaking a few BIOS settings and found that turning off the = built-in pseudo-RAID allowed the DVD to boot normally. I changed the = SATA type from "RAID" to "AHCI". Fortunately I plan to use the = controller in AHCI mode for the FreeBSD installation so this won't end = up being a problem for me, but I still thought it was worth reporting. The system in question has a Foxconn A7GM-S motherboard with AMD 780G = (NB) and AMD SB700 chipsets. I have a two-disk mirror for the Windows = installation which is why I had RAID mode enabled in the first place. In case jhb^H^H^Hsomeone is interested, below is the output from "dmesg" = and "pciconf -lv" once I booted up in AHCI mode. Let me know if any = additional information or tests would be helpful. Thanks! JN =3D=3D=3D dmesg =3D=3D=3D Copyright (c) 1992-2011 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 9.0-RC2 #0: Sat Nov 12 18:35:25 UTC 2011 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ (2767.66-MHz = K8-class CPU) Origin =3D "AuthenticAMD" Id =3D 0x60fb2 Family =3D f Model =3D 6b = Stepping =3D 2 = Features=3D0x178bfbff Features2=3D0x2001 AMD = Features=3D0xea500800 AMD Features2=3D0x11f real memory =3D 8589934592 (8192 MB) avail memory =3D 7711911936 (7354 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: <050410 APIC1120> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ACPI Warning: Optional field Pm2ControlBlock has zero address or length: = 0x0000000000000000/0x1 (20110527/tbfadt-586) ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: <050410 RSDT1120> on motherboard acpi0: Power Button (fixed) acpi0: reservation of fee00000, 1000 (3) failed acpi0: reservation of ffb80000, 80000 (3) failed acpi0: reservation of fec10000, 20 (3) failed acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, bfe00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 cpu1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0xc000-0xc0ff mem = 0xc0000000-0xcfffffff,0xfe9f0000-0xfe9fffff,0xfe800000-0xfe8fffff irq 18 = at device 5.0 on pci1 hdac0: mem = 0xfe9e8000-0xfe9ebfff irq 19 at device 5.1 on pci1 pcib2: irq 18 at device 2.0 on pci0 pci2: on pcib2 vgapci1: port 0xd000-0xd0ff mem = 0xd0000000-0xdfffffff,0xfeaf0000-0xfeafffff irq 18 at device 0.0 on pci2 hdac1: mem = 0xfeaec000-0xfeaeffff irq 19 at device 0.1 on pci2 pcib3: irq 17 at device 9.0 on pci0 pci3: on pcib3 re0: port = 0xe800-0xe8ff mem 0xfebff000-0xfebfffff irq 17 at device 0.0 on pci3 re0: Using 1 MSI message re0: Chip rev. 0x38000000 re0: MAC rev. 0x00400000 miibus0: on re0 rgephy0: PHY 1 on = miibus0 rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, = 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, = 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, = 1000baseT-FDX-flow-master, auto, auto-flow re0: Ethernet address: 00:1f:e2:55:1d:bc ahci0: port = 0xb000-0xb007,0xa000-0xa003,0x9000-0x9007,0x8000-0x8003,0x7000-0x700f = mem 0xfe7ff800-0xfe7ffbff irq 22 at device 17.0 on pci0 ahci0: AHCI v1.10 with 4 3Gbps ports, Port Multiplier supported ahcich0: at channel 0 on ahci0 ahcich1: at channel 1 on ahci0 ahcich2: at channel 2 on ahci0 ahcich3: at channel 3 on ahci0 ohci0: mem 0xfe7fe000-0xfe7fefff irq 16 = at device 18.0 on pci0 usbus0: on ohci0 ohci1: mem 0xfe7fd000-0xfe7fdfff irq 16 = at device 18.1 on pci0 usbus1: on ohci1 ehci0: mem 0xfe7ff000-0xfe7ff0ff irq = 17 at device 18.2 on pci0 ehci0: AMD SB600/700 quirk applied usbus2: EHCI version 1.0 usbus2: on ehci0 ohci2: mem 0xfe7fc000-0xfe7fcfff irq 18 = at device 19.0 on pci0 usbus3: on ohci2 ohci3: mem 0xfe7f7000-0xfe7f7fff irq 18 = at device 19.1 on pci0 usbus4: on ohci3 ehci1: mem 0xfe7f6800-0xfe7f68ff irq = 19 at device 19.2 on pci0 ehci1: AMD SB600/700 quirk applied usbus5: EHCI version 1.0 usbus5: on ehci1 pci0: at device 20.0 (no driver attached) atapci0: port = 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 20.1 on pci0 ata0: on atapci0 ata1: on atapci0 hdac2: mem = 0xfe7f0000-0xfe7f3fff irq 16 at device 20.2 on pci0 isab0: at device 20.3 on pci0 isa0: on isab0 pcib4: at device 20.4 on pci0 pci4: on pcib4 ohci4: mem 0xfe7f5000-0xfe7f5fff irq 18 = at device 20.5 on pci0 usbus6: on ohci4 acpi_button0: on acpi0 acpi_tz0: on acpi0 attimer0: port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atrtc0: port 0x70-0x71 irq 8 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 550 Event timer "HPET1" frequency 14318180 Hz quality 450 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on = isa0 ppc0: cannot reserve I/O port range powernow0: on cpu0 powernow1: on cpu1 Timecounters tick every 1.000 msec hdac0: HDA Codec #0: ATI RS690/780 HDMI pcm0: at cad 0 nid 1 on hdac0 hdac1: HDA Codec #0: ATI R6xx HDMI pcm1: at cad 0 nid 1 on hdac1 hdac2: HDA Codec #3: Realtek ALC888 pcm2: at cad 3 nid 1 on hdac2 pcm3: at cad 3 nid 1 on hdac2 pcm4: at cad 3 nid 1 on hdac2 usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 480Mbps High Speed USB v2.0 usbus3: 12Mbps Full Speed USB v1.0 usbus4: 12Mbps Full Speed USB v1.0 usbus5: 480Mbps High Speed USB v2.0 usbus6: 12Mbps Full Speed USB v1.0 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 ugen3.1: at usbus3 uhub3: on usbus3 ugen4.1: at usbus4 uhub4: on usbus4 ugen5.1: at usbus5 uhub5: on usbus5 ugen6.1: at usbus6 uhub6: on usbus6 uhub6: 2 ports with 2 removable, self powered uhub0: 3 ports with 3 removable, self powered uhub1: 3 ports with 3 removable, self powered uhub3: 3 ports with 3 removable, self powered uhub4: 3 ports with 3 removable, self powered uhub2: 6 ports with 6 removable, self powered uhub5: 6 ports with 6 removable, self powered ugen2.2: at usbus2 uhub7: = on usbus2 ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: ATA-7 SATA 2.x device ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 238475MB (488397168 512 byte sectors: 16H 63S/T 16383C) ada0: Previously was known as ad4 ada1 at ahcich1 bus 0 scbus1 target 0 lun 0 ada1: ATA-7 SATA 2.x device ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada1: Command Queueing enabled ada1: 239372MB (490234752 512 byte sectors: 16H 63S/T 16383C) ada1: Previously was known as ad6 ada2 at ahcich3 bus 0 scbus3 target 0 lun 0 ada2: ATA-8 SATA 2.x device ada2: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada2: Command Queueing enabled ada2: 57241MB (117231408 512 byte sectors: 16H 63S/T 16383C) ada2: Previously was known as ad10 cd0 at ahcich2 bus 0 scbus2 target 0 lun 0 SMP: AP CPU #1 Launched! cd0: Removable CD-ROM SCSI-0 device=20 cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO = 8192bytes) cd0: cd present [313168 x 2048 byte records] ugen3.2: at usbus3 uhub7: 4 ports with 4 removable, self powered Root mount waiting for: usbus2 ugen2.3: at usbus2 ukbd0: on = usbus2 kbd2 at ukbd0 ums0: on = usbus2 ums0: 10 buttons and [XYZT] coordinates ID=3D2 Trying to mount root from cd9660:/dev/iso9660/FREEBSD_INSTALL [ro]... ugen3.3: at usbus3 ums1: on usbus3 ums1: 3 buttons and [XYZT] coordinates ID=3D1 calcru: runtime went backwards from 2959 usec to 2886 usec for pid 76 = (md0) calcru: runtime went backwards from 260194 usec to 255371 usec for pid = 18 (sh) calcru: runtime went backwards from 88 usec to 85 usec for pid 4 = (pagedaemon) calcru: runtime went backwards from 29524 usec to 28896 usec for pid 15 = (usb) calcru: runtime went backwards from 3546 usec to 3459 usec for pid 1 = (init) calcru: runtime went backwards from 1038 usec to 1013 usec for pid 0 = (kernel) re0: link state changed to UP =3D=3D=3D pciconf =3D=3D=3D hostb0@pci0:0:0:0: class=3D0x060000 card=3D0x96001022 = chip=3D0x96001022 rev=3D0x00 hdr=3D0x00 vendor =3D 'Advanced Micro Devices [AMD]' device =3D 'RS780 Host Bridge' class =3D bridge subclass =3D HOST-PCI pcib1@pci0:0:1:0: class=3D0x060400 card=3D0x96021022 = chip=3D0x96021022 rev=3D0x00 hdr=3D0x01 vendor =3D 'Advanced Micro Devices [AMD]' device =3D 'RS780/RS880 PCI to PCI bridge (int gfx)' class =3D bridge subclass =3D PCI-PCI pcib2@pci0:0:2:0: class=3D0x060400 card=3D0x96001022 = chip=3D0x96031022 rev=3D0x00 hdr=3D0x01 vendor =3D 'Advanced Micro Devices [AMD]' device =3D 'RS780 PCI to PCI bridge (ext gfx port 0)' class =3D bridge subclass =3D PCI-PCI pcib3@pci0:0:9:0: class=3D0x060400 card=3D0x96001022 = chip=3D0x96081022 rev=3D0x00 hdr=3D0x01 vendor =3D 'Advanced Micro Devices [AMD]' device =3D 'RS780/RS880 PCI to PCI bridge (PCIE port 4)' class =3D bridge subclass =3D PCI-PCI ahci0@pci0:0:17:0: class=3D0x010601 card=3D0x0e0f105b = chip=3D0x43911002 rev=3D0x00 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]' class =3D mass storage subclass =3D SATA ohci0@pci0:0:18:0: class=3D0x0c0310 card=3D0x0e0f105b = chip=3D0x43971002 rev=3D0x00 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'SB7x0/SB8x0/SB9x0 USB OHCI0 Controller' class =3D serial bus subclass =3D USB ohci1@pci0:0:18:1: class=3D0x0c0310 card=3D0x0e0f105b = chip=3D0x43981002 rev=3D0x00 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'SB7x0 USB OHCI1 Controller' class =3D serial bus subclass =3D USB ehci0@pci0:0:18:2: class=3D0x0c0320 card=3D0x0e0f105b = chip=3D0x43961002 rev=3D0x00 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'SB7x0/SB8x0/SB9x0 USB EHCI Controller' class =3D serial bus subclass =3D USB ohci2@pci0:0:19:0: class=3D0x0c0310 card=3D0x0e0f105b = chip=3D0x43971002 rev=3D0x00 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'SB7x0/SB8x0/SB9x0 USB OHCI0 Controller' class =3D serial bus subclass =3D USB ohci3@pci0:0:19:1: class=3D0x0c0310 card=3D0x0e0f105b = chip=3D0x43981002 rev=3D0x00 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'SB7x0 USB OHCI1 Controller' class =3D serial bus subclass =3D USB ehci1@pci0:0:19:2: class=3D0x0c0320 card=3D0x0e0f105b = chip=3D0x43961002 rev=3D0x00 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'SB7x0/SB8x0/SB9x0 USB EHCI Controller' class =3D serial bus subclass =3D USB none0@pci0:0:20:0: class=3D0x0c0500 card=3D0x0e0f105b = chip=3D0x43851002 rev=3D0x3a hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'SBx00 SMBus Controller' class =3D serial bus subclass =3D SMBus atapci0@pci0:0:20:1: class=3D0x01018a card=3D0x0e0f105b = chip=3D0x439c1002 rev=3D0x00 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'SB7x0/SB8x0/SB9x0 IDE Controller' class =3D mass storage subclass =3D ATA hdac2@pci0:0:20:2: class=3D0x040300 card=3D0x0e0f105b = chip=3D0x43831002 rev=3D0x00 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'SBx00 Azalia (Intel HDA)' class =3D multimedia subclass =3D HDA isab0@pci0:0:20:3: class=3D0x060100 card=3D0x0e0f105b = chip=3D0x439d1002 rev=3D0x00 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'SB7x0/SB8x0/SB9x0 LPC host controller' class =3D bridge subclass =3D PCI-ISA pcib4@pci0:0:20:4: class=3D0x060401 card=3D0x00000000 = chip=3D0x43841002 rev=3D0x00 hdr=3D0x01 vendor =3D 'ATI Technologies Inc' device =3D 'SBx00 PCI to PCI Bridge' class =3D bridge subclass =3D PCI-PCI ohci4@pci0:0:20:5: class=3D0x0c0310 card=3D0x0e0f105b = chip=3D0x43991002 rev=3D0x00 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'SB7x0/SB8x0/SB9x0 USB OHCI2 Controller' class =3D serial bus subclass =3D USB hostb1@pci0:0:24:0: class=3D0x060000 card=3D0x00000000 = chip=3D0x11001022 rev=3D0x00 hdr=3D0x00 vendor =3D 'Advanced Micro Devices [AMD]' device =3D 'K8 [Athlon64/Opteron] HyperTransport Technology = Configuration' class =3D bridge subclass =3D HOST-PCI hostb2@pci0:0:24:1: class=3D0x060000 card=3D0x00000000 = chip=3D0x11011022 rev=3D0x00 hdr=3D0x00 vendor =3D 'Advanced Micro Devices [AMD]' device =3D 'K8 [Athlon64/Opteron] Address Map' class =3D bridge subclass =3D HOST-PCI hostb3@pci0:0:24:2: class=3D0x060000 card=3D0x00000000 = chip=3D0x11021022 rev=3D0x00 hdr=3D0x00 vendor =3D 'Advanced Micro Devices [AMD]' device =3D 'K8 [Athlon64/Opteron] DRAM Controller' class =3D bridge subclass =3D HOST-PCI hostb4@pci0:0:24:3: class=3D0x060000 card=3D0x00000000 = chip=3D0x11031022 rev=3D0x00 hdr=3D0x00 vendor =3D 'Advanced Micro Devices [AMD]' device =3D 'K8 [Athlon64/Opteron] Miscellaneous Control' class =3D bridge subclass =3D HOST-PCI vgapci0@pci0:1:5:0: class=3D0x030000 card=3D0x0e0f105b = chip=3D0x96101002 rev=3D0x00 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'Radeon HD 3200 Graphics' class =3D display subclass =3D VGA hdac0@pci0:1:5:1: class=3D0x040300 card=3D0x960f1002 = chip=3D0x960f1002 rev=3D0x00 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'RS780 Azalia controller' class =3D multimedia subclass =3D HDA vgapci1@pci0:2:0:0: class=3D0x030000 card=3D0x15301462 = chip=3D0x94421002 rev=3D0x00 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'RV770 [Radeon HD 4850]' class =3D display subclass =3D VGA hdac1@pci0:2:0:1: class=3D0x040300 card=3D0xaa301462 = chip=3D0xaa301002 rev=3D0x00 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'HD48x0 audio' class =3D multimedia subclass =3D HDA re0@pci0:3:0:0: class=3D0x020000 card=3D0x0e0f105b chip=3D0x816810ec = rev=3D0x01 hdr=3D0x00 vendor =3D 'Realtek Semiconductor Co., Ltd.' device =3D 'RTL8111/8168B PCI Express Gigabit Ethernet = controller' class =3D network subclass =3D ethernet