From owner-freebsd-drivers@FreeBSD.ORG Fri Jun 29 05:41:00 2007 Return-Path: X-Original-To: freebsd-drivers@freebsd.org Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 77D8A16A46E for ; Fri, 29 Jun 2007 05:41:00 +0000 (UTC) (envelope-from james-freebsd-fs2@jrv.org) Received: from mail.jrv.org (adsl-70-243-84-13.dsl.austtx.swbell.net [70.243.84.13]) by mx1.freebsd.org (Postfix) with ESMTP id 3EDDB13C4E8 for ; Fri, 29 Jun 2007 05:41:00 +0000 (UTC) (envelope-from james-freebsd-fs2@jrv.org) Received: from imac.housenet.jrv (iMac.housenet.jrv [192.168.3.150]) by mail.jrv.org (8.14.1/8.13.1) with ESMTP id l5T5exsK008532; Fri, 29 Jun 2007 00:40:59 -0500 (CDT) (envelope-from james-freebsd-fs2@jrv.org) DKIM-Signature: v=0.5; a=rsa-sha256; c=simple/simple; d=jrv.org; s=enigma; t=1183095659; bh=dZLN4XFe890nj2YKUVsUq+agD57WBrYyPbNdebDqhSs=; h=DomainKey-Signature: Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=E ad9l19BiDD7tw7SuapmFf/9PMieTgXmEs0IcEEUWQlQdQuEQPL5juOcCQK2HPcdn6Zv xWW2cLlhLtPIzq0JfvP5DdYZ+xjeqFYOdd/1j7JkNtdrRTD2r6jzvHrXmdN+5dpHnyi 8sAppGEx31L7+wNRG67T5BQWyp1dfXKevbiw= DomainKey-Signature: a=rsa-sha1; s=enigma; d=jrv.org; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:cc:subject: references:in-reply-to:content-type:content-transfer-encoding; b=h0hyFmGaGwzHNYjkIj6DSVwwzlQQWU9+gFEYYADKgIJilg46cEd+7beyk4Z177sMp s4OegOdRn3O4LRuS1hk63T3gQO5npt4UA8/guyKdHPkB/gNV30PLl47PUh0NCSmnLqu R07wCYNoZj/E4khLEid//WmYtMOjQqCjdmpgZEY= Message-ID: <46849B6B.9000702@jrv.org> Date: Fri, 29 Jun 2007 00:40:59 -0500 From: "James R. Van Artsdalen" User-Agent: Thunderbird 2.0.0.4 (Macintosh/20070604) MIME-Version: 1.0 To: Adriaan de Groot References: <46827B9F.1010308@jrv.org> <200706272048.04405.groot@kde.org> In-Reply-To: <200706272048.04405.groot@kde.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: freebsd-drivers@freebsd.org Subject: Re: SATA port multiplier crashes 7.0 i386 & amd64 during boot X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2007 05:41:00 -0000 Adriaan de Groot wrote: > On Wednesday 27 June 2007, James R. Van Artsdalen wrote: >> Connecting a Silicon Image porn multiplier with five drives behind it to >> a host adapter based on either the Silicon Image 3124 or 3132 chips >> causes the 7. 0 kernel to crash during startup. > In -CURRENT, it should just be printing that port multipliers are not > supported; can you provide some verbose boot log? > I have a complete verbose log. An excerpt is below. Nothing is said about Port Multipliers. The boot disk is on the Intel ICH, not the SiI 3132. FreeBSD 7.0-CURRENT-200706 #0: Thu Jun 7 21:38:42 UTC 2007 ... usable memory = 8508186624 (8114 MB) ... atapci0: port 0xdc80-0xdcff mem 0xecefbf80-0xecefbfff,0xecefc000-0xecefffff irq 16 at device 0.0 on pci2 atapci0: Reserved 0x80 bytes for rid 0x20 type 4 at 0xdc80 ioapic0: routing intpin 16 (PCI IRQ 16) to vector 49 atapci0: [MPSAFE] atapci0: [ITHREAD] atapci0: Reserved 0x80 bytes for rid 0x10 type 3 at 0xecefbf80 atapci0: Reserved 0x4000 bytes for rid 0x18 type 3 at 0xecefc000 ata2: on atapci0 ata2: channel HW reset time=0ms ata2: SATA connect status=00000000 ata2: phy reset found no device ata2: [MPSAFE] ata2: [ITHREAD] ata3: on atapci0 ata3: channel HW reset time=0ms ata3: SATA connect status=00000000 ata3: phy reset found no device ata3: [MPSAFE] ata3: [ITHREAD] ... atapci2: port 0xfe00-0xfe07,0xfe10-0xfe13,0xfe20-0xfe27,0xfe30-0xfe33,0xfec0-0xfecf mem 0xff970000-0xff9703ff irq 20 at device 31.2 on pci0 atapci2: Reserved 0x10 bytes for rid 0x20 type 4 at 0xfec0 ioapic0: routing intpin 20 (PCI IRQ 20) to vector 57 atapci2: [MPSAFE] atapci2: [ITHREAD] atapci2: Reserved 0x400 bytes for rid 0x24 type 3 at 0xff970000 atapci2: AHCI Version 01.10 controller with 4 ports detected ata4: on atapci2 ata4: SATA connect time=0ms ata4: [MPSAFE] ata4: [ITHREAD] ata5: on atapci2 ata5: SATA connect status=00000000 ata5: [MPSAFE] ata5: [ITHREAD] ata6: on atapci2 ata6: SATA connect status=00000000 ata6: [MPSAFE] ata6: [ITHREAD] ata7: on atapci2 ata7: SATA connect status=00000000 ata7: [MPSAFE] ata7: [ITHREAD] ... Device configuration finished. ... ata3: CONNECTED ata3: channel HW reset time=0ms ata3: SATA connect time=0ms ata3: soft reset exec time=553ms status=00050000 ata3: signature=00000101 ata0-master: pio=PIO4 wdma=WDMA2 udma=UDMA33 cable=80 wire ata3-master: pio=PIO4 wdma=WDMA2 udma=UDMA133 cable=40 wire acd0: setting PIO4 on ICH7 chip acd0: setting UDMA33 on ICH7 chip ad6: 715404MB at ata3-master SATA300 ad6: 1465149168 sectors [1453521C/16H/63S] 16 sectors/interrupt 1 depth queue GEOM: new disk ad6 ad6: Silicon Image check3 failed acd0: CDROM drive at ata0 as master acd0: read 8268KB/s (8268KB/s), 96KB buffer, UDMA33 acd0: Reads: CDR, CDRW, CDDA stream, packet acd0: Writes: acd0: Audio: play, 256 volume levels acd0: Mechanism: ejectable tray, unlocked acd0: Medium: no/blank disc ad6: Adaptec check1 failed ata3-master: pio=PIO4 wdma=WDMA2 udma=UDMA133 cable=40 wire ad: ad6 already exists; skipping it ad: ad6 already exists; skipping it Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x50 fault code = supervisor read data, page not present instruction pointer = 0x8:0xffffffff8048a695 stack pointer = 0x10:0xffffffff80b9cc20 frame pointer = 0x10:0xffffffff80b9cc70 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 = 0 (swapper) [thread pid 0 tid 0 ] Stopped at device_attach+0x1d5: cmpq $0,0x50(%r13)