From owner-freebsd-current@FreeBSD.ORG Sun Aug 31 14:57:23 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CAA8216A4BF for ; Sun, 31 Aug 2003 14:57:23 -0700 (PDT) Received: from magellan.palisadesys.com (magellan.palisadesys.com [192.188.162.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC32343FE9 for ; Sun, 31 Aug 2003 14:57:22 -0700 (PDT) (envelope-from ghelmer@palisadesys.com) Received: from [192.188.162.240] (ghelmer@volans.palisadesys.com [192.188.162.240]) (authenticated bits=0)h7VLvESF096581 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 31 Aug 2003 16:57:22 -0500 (CDT) (envelope-from ghelmer@palisadesys.com) From: Guy Helmer To: freebsd-current@freebsd.org Content-Type: text/plain Message-Id: <1062367034.57542.15.camel@volans> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Sun, 31 Aug 2003 16:57:14 -0500 Content-Transfer-Encoding: 7bit Subject: ATA-ng, Asus A7V, Promise UDMA-100 controller X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Sun, 31 Aug 2003 21:57:23 -0000 I just tried to upgrade my 4.8 machine to -current cvsupped Aug 30. However, the new kernel (GENERIC) has crashed to the debugger two out of the three times that I've tried to boot it. Nothing is attached to ata3 (the second Promise channel). A SAMSUNG SC-140B CD-ROM at at ata0-master (PIO4), a TOSHIBA DVD-ROM SD-R1002 (CD-RW + DVD-ROM) is at ata0-slave (PIO4), and a Maxtox 53073H6 [59554/16/63] drive is at ata2-master (UDMA100) (the first Promise channel). The messages go like this: ... ata3-master: WARNING - ATA_IDENTIFY recovered from missing interrupt ad6: WARNING - SETFEATURES recovered from missing interrupt ad6: WARNING - SETFEATURES recovered from missing interrupt ad6: WARNING - SETFEATURES recovered from missing interrupt Fatal trap 18: integer divide fault while in kernel mode instruction pointer = 0x8:0xc04d8c1b stack pointer = 0x10:0xc0728c2c frame pointer = 0x10:0xc0728cac code segment = base 0x0, limit 0xfffff, type 0x1b = DPL0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 0 (swapper) kernel: type 18 trap, code 0 Stopped at __qdivrem+0x3b: divl %ecx,%eax db> where __qdivrem(0,0,0,0,0) at __qdivrem+0x3b __udivi3(0,0,0,0,0) at __udivi3+0x2e ad_print(c2671400,c2671470,1,0,0) at ad_print+0x1d3 ad_attach(c26198a4,c256c7e0,c05bde50,c0728d80) at ad_attach+0x446 ata_boot_attach(0,0,c0728d80,c03346a6,0) at ata_boot_attach+0x47 run_interrupt_driven_config_hooks(0,725000,725c00,725000,0) at run_interrupt_driven_config_hooks+0x2b mi_startup() at mi_startup_0xb5 begin() at begin+0x2c Any thoughts? Maybe I can disable the second channel of the Promise device somehow so I can get it to boot... Here is the dmesg from the 4.8 kernel: Copyright (c) 1992-2003 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 4.8-STABLE #8: Thu Jun 12 18:46:57 CDT 2003 ghelmer@spencer.cs.iastate.edu:/usr/src/sys/compile/SPENCER Timecounter "i8254" frequency 1193182 Hz CPU: AMD Duron(tm) Processor (706.29-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x630 Stepping = 0 Features=0x183f9ff AMD Features=0xc0440000 real memory = 268353536 (262064K bytes) avail memory = 257290240 (251260K bytes) Preloaded elf kernel "kernel" at 0xc03ef000. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 9 entries at 0xc00f1750 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 11 isab0: at device 4.0 on pci0 isa0: on isab0 atapci0: port 0xb800-0xb80f at device 4.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xb400-0xb41f irq 5 at device 4.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhub1: Texas Instruments TUSB2046 hub, class 9/0, rev 1.10/1.25, addr 2 uhub1: 4 ports with 4 removable, self powered ugen0: Compaq Computers product 0x0003, rev 1.00/0.00, addr 3 uscanner0: Hewlett Packard Scanjet 4300C, rev 1.00/0.00, addr 4 uscanner0: setting config no failed device_probe_and_attach: uscanner0 attach returned 6 uhub1: port 3, set config at addr 4 failed uhub1: device problem, disabling port 3 ulpt0: Lexmark Lexmark Z42, rev 1.00/1.00, addr 4, iclass 7/1 uhci1: port 0xb000-0xb01f irq 5 at device 4.3 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhub3: ALCOR Generic USB Hub, class 9/0, rev 1.10/1.00, addr 2 uhub3: 4 ports with 4 removable, self powered pci0: (vendor=0x1106, dev=0x3057) at 4.4 dc0: port 0x9400-0x94ff mem 0xe1800000-0xe18000ff irq 15 at device 10.0 on pci0 dc0: Ethernet address: 00:a0:cc:37:0a:17 miibus0: on dc0 dcphy0: on miibus0 dcphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto tekram_trm0: port 0x9000-0x90ff mem 0xe1000000-0xe1000fff irq 10 at device 11.0 on pci0 tekram_trm0: driver is using old-style compatibility shims pcm0: port 0x8800-0x883f irq 11 at device 12.0 on pci0 pcm0: atapci1: port 0x7000-0x703f,0x7400-0x7403,0x7800-0x7807,0x8000-0x8003,0x8400-0x8407 mem 0xe0800000-0xe081ffff irq 10 at device 17.0 on pci0 ata2: at 0x8400 on atapci1 ata3: at 0x7800 on atapci1 orm0: