From owner-freebsd-stable@FreeBSD.ORG Tue Mar 14 04:39:05 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 415F816A425; Tue, 14 Mar 2006 04:39:05 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id A775743D46; Tue, 14 Mar 2006 04:39:04 +0000 (GMT) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost1.sentex.ca (8.13.4/8.13.4) with ESMTP id k2E4d3B9063184; Mon, 13 Mar 2006 23:39:03 -0500 (EST) (envelope-from mike@sentex.net) Received: from simian.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.3/8.13.3) with ESMTP id k2E4d19a014823 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 13 Mar 2006 23:39:01 -0500 (EST) (envelope-from mike@sentex.net) Message-Id: <6.2.3.4.0.20060313232855.107fa680@64.7.153.2> X-Mailer: QUALCOMM Windows Eudora Version 6.2.3.4 Date: Mon, 13 Mar 2006 23:38:10 -0500 To: freebsd-stable@freebsd.org From: Mike Tancsa Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by amavisd-new X-Scanned-By: MIMEDefang 2.51 on 64.7.153.18 Subject: ata panic X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Mar 2006 04:39:05 -0000 Hi, I was trying out a recent RELENG_6 on a VIA mini ITX board with built in CF reader. If a CF is present, the box panics at boot (tried with 2 separate boards and different CFs just in case it was hardware). This is with a RELENG_6 from March 7th with the flash in I get a panic at bootup. ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding enabled, default to accept, logging limited to 9100 packets/entry by default lo0: bpf attached ata0-master: pio=PIO4 wdma=WDMA2 udma=UDMA100 cable=80 wire ad0: setting PIO4 on 8237 chip ad0: setting UDMA100 on 8237 chip ad0: 38166MB at ata0-master UDMA100 ad0: 78165360 sectors [77545C/16H/63S] 16 sectors/interrupt 1 depth queue GEOM: new disk ad0 ad0: VIA check1 failed ad0: Adaptec check1 failed ad0: LSI (v3) check1 failed ad0: LSI (v2) check1 failed ad0: FreeBSD check1 failed ata1-master: pio=PIO4 wdma=UNSUPPORTED udma=UNSUPPORTED cable=40 wire ad2: setting PIO4 on 8237 chip ad2: 244MB at ata1-master PIO4 Fatal trap 18: integer divide fault while in kernel mode instruction pointer = 0x20:0xc0699c37 stack pointer = 0x28:0xc0c20b78 frame pointer = 0x28:0xc0c20c14 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 0 (swapper) trap number = 18 panic: integer divide fault KDB: stack backtrace: panic(c06c8ad5,c06f119b,0,0,fffff) at 0xc0511f23 = panic+0x103 trap_fatal(0,0,0,0,c07333c0) at 0xc06910a5 = trap_fatal+0x225 trap(8,28,28,1,0) at 0xc06915d7 = trap+0x20f calltrap() at 0xc068081a = calltrap+0x5 --- trap 0x12, eip = 0xc0699c37, esp = 0xc0c20b78, ebp = 0xc0c20c14 --- __qdivrem(7a2b0,0,0,0,0) at 0xc0699c37 = __qdivrem+0x3b __udivdi3(7a2b0,0,0,0) at 0xc069a0de = __udivdi3+0x16 ad_attach(c3343c80,c3343c80,c32bd800,0,c0c20d24) at 0xc04684af = ad_attach+0x44f device_attach(c3343c80) at 0xc0526c8e = device_attach+0x1be bus_generic_attach(c3217000,c3217000,ffffffff,2,c3343c80) at 0xc05278a6 = bus_generic_attach+0x12 ata_identify(c3217000,c3147bd0,c0c20d6c,c0523d00,0) at 0xc045906d = ata_identify+0xcd ata_boot_attach(0,c07206b0,c0c20d88,c04e34c7,0) at 0xc04591e5 = ata_boot_attach+0x4d run_interrupt_driven_config_hooks(0,c31459e8,c1ec00,c1e000,c25000) at 0xc0523d00 = run_interrupt_driven_config_hooks+0x1c mi_startup() at 0xc04e34c7 = mi_startup+0xb3 begin() at 0xc0433e55 = begin+0x2c Uptime: 3s Cannot dump. No dump device defined. Automatic reboot in 15 seconds - press a key on the console to abort Below is a dmesg with the CF slot empty. Its been a while since I tried, but I am pretty sure it used to work Mar 6 17:03:54 ps9996 kernel: Copyright (c) 1992-2006 The FreeBSD Project. Mar 6 17:03:54 ps9996 kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Mar 6 17:03:54 ps9996 kernel: The Regents of the University of California. All rights reserved. Mar 6 17:03:54 ps9996 kernel: FreeBSD 6.1-PRERELEASE #0: Sat Mar 4 07:20:49 EST 2006 Mar 6 17:03:54 ps9996 kernel: mdtancsa@ps9996.station.sentex.ca:/usr/obj/usr/src/sys/gas Mar 6 17:03:54 ps9996 kernel: Timecounter "i8254" frequency 1193182 Hz quality 0 Mar 6 17:03:54 ps9996 kernel: CPU: VIA C3 Nehemiah+RNG+ACE (796.77-MHz 686-class CPU) Mar 6 17:03:54 ps9996 kernel: Origin = "CentaurHauls" Id = 0x698 Stepping = 8 Mar 6 17:03:54 ps9996 kernel: Features=0x381b03f Mar 6 17:03:54 ps9996 kernel: real memory = 517865472 (493 MB) Mar 6 17:03:54 ps9996 kernel: avail memory = 497393664 (474 MB) Mar 6 17:03:54 ps9996 kernel: npx0: [FAST] Mar 6 17:03:54 ps9996 kernel: npx0: on motherboard Mar 6 17:03:54 ps9996 kernel: npx0: INT 16 interface Mar 6 17:03:54 ps9996 kernel: acpi0: on motherboard Mar 6 17:03:54 ps9996 kernel: acpi0: Power Button (fixed) Mar 6 17:03:54 ps9996 kernel: Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 Mar 6 17:03:54 ps9996 kernel: acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 Mar 6 17:03:54 ps9996 kernel: cpu0: on acpi0 Mar 6 17:03:54 ps9996 kernel: acpi_button0: on acpi0 Mar 6 17:03:54 ps9996 kernel: acpi_button1: on acpi0 Mar 6 17:03:54 ps9996 kernel: pcib0: port 0xcf8-0xcff on acpi0 Mar 6 17:03:54 ps9996 kernel: pci0: on pcib0 Mar 6 17:03:54 ps9996 kernel: agp0: mem 0xf8000000-0xf9ffffff at device 0.0 on pci 0 Mar 6 17:03:54 ps9996 kernel: pcib1: at device 1.0 on pci0 Mar 6 17:03:54 ps9996 kernel: pci1: on pcib1 Mar 6 17:03:54 ps9996 kernel: pci1: at device 0.0 (no driver attached) Mar 6 17:03:54 ps9996 kernel: puc0: port 0xe400-0xe407 irq 12 at device 8.0 on pci0 Mar 6 17:03:54 ps9996 kernel: sio4: on puc0 Mar 6 17:03:54 ps9996 kernel: sio4: type 16550A Mar 6 17:03:54 ps9996 kernel: sio4: unable to activate interrupt in fast mode - using normal mode Mar 6 17:03:54 ps9996 kernel: rl0: port 0xd000-0xd0ff mem 0xfc000000-0xfc0000ff irq 7 at device 10.0 on pci0 Mar 6 17:03:54 ps9996 kernel: miibus0: on rl0 Mar 6 17:03:54 ps9996 kernel: rlphy0: on miibus0 Mar 6 17:03:54 ps9996 kernel: rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Mar 6 17:03:54 ps9996 kernel: rl0: Ethernet address: 00:03:1d:02:0b:fd Mar 6 17:03:54 ps9996 kernel: pci0: at device 11.0 (no driver attached) Mar 6 17:03:54 ps9996 kernel: atapci0: port 0xeb00-0xeb07,0xe000-0xe003,0xe100-0xe107,0xe200-0xe203,0 xe300-0xe30f,0xd400-0xd4ff irq 10 at device 15.0 on pci0 Mar 6 17:03:54 ps9996 kernel: ata2: on atapci0 Mar 6 17:03:54 ps9996 kernel: ata3: on atapci0 Mar 6 17:03:54 ps9996 kernel: atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe500-0xe50f at devi ce 15.1 on pci0 Mar 6 17:03:54 ps9996 kernel: ata0: on atapci1 Mar 6 17:03:54 ps9996 kernel: ata1: on atapci1 Mar 6 17:03:54 ps9996 kernel: uhci0: port 0xe600-0xe61f irq 12 at device 16.0 on pci0 Mar 6 17:03:54 ps9996 kernel: uhci0: [GIANT-LOCKED] Mar 6 17:03:54 ps9996 kernel: usb0: on uhci0 Mar 6 17:03:54 ps9996 kernel: usb0: USB revision 1.0 Mar 6 17:03:54 ps9996 kernel: uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 Mar 6 17:03:54 ps9996 kernel: uhub0: 2 ports with 2 removable, self powered Mar 6 17:03:54 ps9996 kernel: uhci1: port 0xe700-0xe71f irq 12 at device 16.1 on pci0 Mar 6 17:03:54 ps9996 kernel: uhci1: [GIANT-LOCKED] Mar 6 17:03:54 ps9996 kernel: usb1: on uhci1 Mar 6 17:03:54 ps9996 kernel: usb1: USB revision 1.0 Mar 6 17:03:54 ps9996 kernel: uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 Mar 6 17:03:54 ps9996 kernel: uhub1: 2 ports with 2 removable, self powered Mar 6 17:03:54 ps9996 kernel: uhci2: port 0xe800-0xe81f irq 10 at device 16.2 on pci0 Mar 6 17:03:54 ps9996 kernel: uhci2: [GIANT-LOCKED] Mar 6 17:03:54 ps9996 kernel: usb2: on uhci2 Mar 6 17:03:54 ps9996 kernel: usb2: USB revision 1.0 Mar 6 17:03:54 ps9996 kernel: uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 Mar 6 17:03:54 ps9996 kernel: uhub2: 2 ports with 2 removable, self powered Mar 6 17:03:54 ps9996 kernel: uhci3: port 0xe900-0xe91f irq 10 at device 16.3 on pci0 Mar 6 17:03:54 ps9996 kernel: uhci3: [GIANT-LOCKED] Mar 6 17:03:54 ps9996 kernel: usb3: on uhci3 Mar 6 17:03:54 ps9996 kernel: usb3: USB revision 1.0 Mar 6 17:03:54 ps9996 kernel: uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 Mar 6 17:03:54 ps9996 kernel: uhub3: 2 ports with 2 removable, self powered Mar 6 17:03:54 ps9996 kernel: pci0: at device 16.4 (no driver attached) Mar 6 17:03:54 ps9996 kernel: isab0: at device 17.0 on pci0 Mar 6 17:03:54 ps9996 kernel: isa0: on isab0 Mar 6 17:03:54 ps9996 kernel: pci0: at device 17.5 (no driver attached) Mar 6 17:03:54 ps9996 kernel: vr0: port 0xdc00-0xdcff mem 0xfc003000-0xfc0030ff irq 12 at device 18.0 on pci0 Mar 6 17:03:54 ps9996 kernel: miibus1: on vr0 Mar 6 17:03:54 ps9996 kernel: ukphy0: on miibus1 Mar 6 17:03:54 ps9996 kernel: ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Mar 6 17:03:54 ps9996 kernel: vr0: Ethernet address: 00:03:1d:02:0a:fd Mar 6 17:03:54 ps9996 kernel: acpi_tz0: on acpi0 Mar 6 17:03:54 ps9996 kernel: fdc0: port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on acpi0 Mar 6 17:03:54 ps9996 kernel: fdc0: [FAST] Mar 6 17:03:54 ps9996 kernel: sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 Mar 6 17:03:54 ps9996 kernel: sio0: type 16550A, console Mar 6 17:03:54 ps9996 kernel: sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 Mar 6 17:03:54 ps9996 kernel: sio1: type 16550A Mar 6 17:03:54 ps9996 kernel: sio2: <16550A-compatible COM port> port 0x3e8-0x3ef irq 5 on acpi0 Mar 6 17:03:54 ps9996 kernel: sio2: type 16550A Mar 6 17:03:54 ps9996 kernel: sio3: <16550A-compatible COM port> port 0x2e8-0x2ef irq 11 on acpi0 Mar 6 17:03:54 ps9996 kernel: sio3: type 16550A Mar 6 17:03:54 ps9996 kernel: atkbdc0: port 0x60,0x64 irq 1 on acpi0 Mar 6 17:03:54 ps9996 kernel: atkbd0: irq 1 on atkbdc0 Mar 6 17:03:54 ps9996 kernel: kbd0 at atkbd0 Mar 6 17:03:54 ps9996 kernel: atkbd0: [GIANT-LOCKED] Mar 6 17:03:54 ps9996 kernel: orm0: at iomem 0xc0000-0xcf7ff,0xd0000-0xd3fff on isa0 Mar 6 17:03:54 ps9996 kernel: sc0: at flags 0x100 on isa0 Mar 6 17:03:54 ps9996 kernel: sc0: VGA <16 virtual consoles, flags=0x300> Mar 6 17:03:54 ps9996 kernel: vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Mar 6 17:03:54 ps9996 kernel: Timecounter "TSC" frequency 796770007 Hz quality 800 Mar 6 17:03:54 ps9996 kernel: Timecounters tick every 1.000 msec Mar 6 17:03:54 ps9996 kernel: Fast IPsec: Initialized Security Association Processing. Mar 6 17:03:54 ps9996 kernel: ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding enabled, default to accept, logging limited to 9100 packets/entry by default Mar 6 17:03:54 ps9996 kernel: ad0: 38166MB at ata0-master UDMA100 Mar 6 17:03:54 ps9996 kernel: Trying to mount root from ufs:/dev/ad0s1a Mar 6 17:03:55 ps9996 kernel: vr0: link state changed to UP Mar 6 17:04:00 ps9996 kernel: rl0: promiscuous mode enabled Mar 6 17:04:00 ps9996 kernel: Loading itxwd module. Mar 6 17:04:00 ps9996 kernel: itxwd0: on motherboard Mar 6 17:04:00 ps9996 kernel: itxwd0: Watchdog ready... Mar 6 17:04:00 ps9996 kernel: itxwd0: Watchdog armed -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet since 1994 www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike