From owner-freebsd-current@FreeBSD.ORG Thu Jul 15 13:31:07 2004 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 77ADA16A4CE; Thu, 15 Jul 2004 13:31:07 +0000 (GMT) Received: from fed1rmmtao03.cox.net (fed1rmmtao03.cox.net [68.230.241.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50B2143D45; Thu, 15 Jul 2004 13:31:07 +0000 (GMT) (envelope-from xcas@cox.net) Received: from localhost.bsd-unix.org ([68.2.134.143]) by fed1rmmtao03.cox.netSMTP <20040715133106.IEAN10440.fed1rmmtao03.cox.net@localhost.bsd-unix.org>; Thu, 15 Jul 2004 09:31:06 -0400 Date: Thu, 15 Jul 2004 06:33:53 -0700 From: "Greg J." To: Brian Fundakowski Feldman Message-Id: <20040715063353.58db5cb5.xcas@cox.net> In-Reply-To: <20040713235609.GQ1626@green.homeunix.org> References: <40F46007.2010304@truffula.net> <20040713235609.GQ1626@green.homeunix.org> X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org cc: burpmaster@truffula.net Subject: Re: Hang on boot - "ATAPI_RESET no interrupt" with DVD+RW 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: Thu, 15 Jul 2004 13:31:07 -0000 On Tue, 13 Jul 2004 19:56:09 -0400 Brian Fundakowski Feldman wrote: > On Tue, Jul 13, 2004 at 03:19:51PM -0700, Brian Rogers wrote: > > Since last night and continuing today, the kernel from -CURRENT > > usually hangs during boot. Safe mode worked once, but the second > > time it didn't work. I now got in through single-user mode, so it > > appears to just work every once in a while, randomly. > > > > I have a dmesg from the booted system below. When it hangs, it > > stops one line after "ata1-slave: FAILURE - ATAPI_RESET no > > interrupt", in other words it hangs after detecting ata1-master but > > before detecting ata1-slave, my DVD+RW drive. > > Try using these diffs to src/sys/dev/ata; they fixed it for me. > They didn't work for me.. I tried it before & after Soren's recent commits to ata-all.c & ata-disk.c I had to remove the first part of the ata-all patch because that had already been changed.. and removed ata-disk patch because the files were the same. cas:~> uname -a FreeBSD localhost.bsd-unix.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jul 14 20:41:40 MST 2004 cas@localhost.bsd-unix.org:/usr/obj/usr/src/sys/CASX32 i386 ################################# cas:~> pciconf -l agp0@pci0:0:0: class=0x060000 card=0x31881106 chip=0x31881106 rev=0x01 hdr=0x00 pcib1@pci0:1:0: class=0x060400 card=0x00000080 chip=0xb1881106 rev=0x00 hdr=0x01 pcm0@pci0:6:0: class=0x040100 card=0x10021102 chip=0x00041102 rev=0x04 hdr=0x00 emujoy0@pci0:6:1: class=0x098000 card=0x00601102 chip=0x70031102 rev=0x04 hdr=0x00 fwohci0@pci0:6:2: class=0x0c0010 card=0x00101102 chip=0x40011102 rev=0x04 hdr=0x00 re0@pci0:11:0: class=0x020000 card=0x702c1462 chip=0x816910ec rev=0x10 hdr=0x00 fwohci1@pci0:14:0: class=0x0c0010 card=0x702d1462 chip=0x30441106 rev=0x80 hdr=0x00 atapci0@pci0:15:0: class=0x01018a card=0x70201462 chip=0x05711106 rev=0x06 hdr=0x00 uhci0@pci0:16:0: class=0x0c0300 card=0x70201462 chip=0x30381106 rev=0x81 hdr=0x00 uhci1@pci0:16:1: class=0x0c0300 card=0x70201462 chip=0x30381106 rev=0x81 hdr=0x00 uhci2@pci0:16:2: class=0x0c0300 card=0x70201462 chip=0x30381106 rev=0x81 hdr=0x00 uhci3@pci0:16:3: class=0x0c0300 card=0x70201462 chip=0x30381106 rev=0x81 hdr=0x00 ehci0@pci0:16:4: class=0x0c0320 card=0x70201462 chip=0x31041106 rev=0x86 hdr=0x00 isab0@pci0:17:0: class=0x060100 card=0x32271106 chip=0x32271106 rev=0x00 hdr=0x00 hostb0@pci0:24:0: class=0x060000 card=0x00000000 chip=0x11001022 rev=0x00 hdr=0x00 hostb1@pci0:24:1: class=0x060000 card=0x00000000 chip=0x11011022 rev=0x00 hdr=0x00 hostb2@pci0:24:2: class=0x060000 card=0x00000000 chip=0x11021022 rev=0x00 hdr=0x00 hostb3@pci0:24:3: class=0x060000 card=0x00000000 chip=0x11031022 rev=0x00 hdr=0x00 none0@pci1:0:0: class=0x030000 card=0x00021002 chip=0x4e481002 rev=0x00 hdr=0x00 none1@pci1:0:1: class=0x038000 card=0x00031002 chip=0x4e681002 rev=0x00 hdr=0x00 ################################# cas:~> dmesg Copyright (c) 1992-2004 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 5.2-CURRENT #0: Wed Jul 14 20:41:40 MST 2004 cas@localhost.bsd-unix.org:/usr/obj/usr/src/sys/CASX32 ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 Processor 3000+ (2000.08-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0xf48 Stepping = 8 Features=0x78bfbff AMD Features=0xe0500000 real memory = 1073676288 (1023 MB) avail memory = 1045344256 (996 MB) ioapic0 irqs 0-23 on motherboard acpi0: on motherboard acpi0: [GIANT-LOCKED] acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xd0000000-0xd7ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pci1: at device 0.1 (no driver attached) pcm0: port 0xe800-0xe83f irq 17 at device 6.0 on pci0 pcm0: fwohci0: <1394 Open Host Controller Interface> mem 0xcfff4000-0xcfff7fff,0xcfffe800-0xcfffefff irq 18 at device 6.2 on pci0 fwohci0: [GIANT-LOCKED] fwohci0: OHCI version 1.10 (ROM=0) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:02:3c:00:91:01:1e:f6 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwohci0: Initiate bus reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) re0: port 0xe400-0xe4ff mem 0xcfffff00-0xcfffffff irq 16 at device 11.0 on pci0 miibus0: on re0 rgephy0: on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto re0: Ethernet address: 00:0c:76:6a:e7:07 re0: [GIANT-LOCKED] fwohci1: port 0xe000-0xe07f mem 0xcfffd800-0xcfffdfff irq 19 at device 14.0 on pci0 fwohci1: [GIANT-LOCKED] fwohci1: OHCI version 1.0 (ROM=1) fwohci1: No. of Isochronous channels is 4. fwohci1: EUI64 00:10:dc:00:00:2c:43:73 fwohci1: Phy 1394a available S400, 2 ports. fwohci1: Link S400, max_rec 2048 bytes. firewire1: on fwohci1 fwohci1: Initiate bus reset fwohci1: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode firewire1: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire1: bus manager 0 (me) atapci0: port 0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.0 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xd000-0xd01f irq 21 at device 16.0 on pci0 uhci0: [GIANT-LOCKED] 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 uhci1: port 0xd400-0xd41f irq 21 at device 16.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.10, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. uhci2: port 0xd800-0xd81f irq 21 at device 16.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: 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 uhci3: port 0xdc00-0xdc1f irq 21 at device 16.3 on pci0 uhci3: [GIANT-LOCKED] usb3: on uhci3 usb3: USB revision 1.0 uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xcffffd00-0xcffffdff irq 21 at device 16.4 on pci0 ehci0: [GIANT-LOCKED] ehci_pci_attach: companion usb0 ehci_pci_attach: companion usb1 ehci_pci_attach: companion usb2 ehci_pci_attach: companion usb3 usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: (0x1106) EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered isab0: at device 17.0 on pci0 isa0: on isab0 acpi_button1: on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] npx0: [FAST] npx0: on motherboard npx0: INT 16 interface orm0: at iomem 0xe0000-0xe0fff,0xcd000-0xcdfff,0xc0000-0xccfff on isa0 pmtimer0 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 2000081767 Hz quality 800 Timecounters tick every 10.000 msec ad0: 114440MB [232514/16/63] at ata0-master UDMA100 ums0: at uhub1 port 2 (addr 2) disconnected ums0: detached ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.10, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. ata1-slave: FAILURE - ATAPI_RESET no interrupt ata1-master: FAILURE - ATAPI_RESET no interrupt acd0: FAILURE - ATAPI_RESET no interrupt acd0: CDRW at ata1-master WDMA2 acd1: FAILURE - ATAPI_RESET no interrupt acd1: DVDROM at ata1-slave UDMA33 Mounting root from ufs:/dev/ad0s2a