Date: Thu, 15 Jul 2004 06:33:53 -0700 From: "Greg J." <xcas@cox.net> To: Brian Fundakowski Feldman <green@freebsd.org> Cc: burpmaster@truffula.net Subject: Re: Hang on boot - "ATAPI_RESET no interrupt" with DVD+RW 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 13 Jul 2004 19:56:09 -0400 Brian Fundakowski Feldman <green@freebsd.org> 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: <AMIINT VIA_K8 > 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE ,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2> AMD Features=0xe0500000<NX,AMIE,LM,DSP,3DNow!> real memory = 1073676288 (1023 MB) avail memory = 1045344256 (996 MB) ioapic0 <Version 0.3> irqs 0-23 on motherboard acpi0: <AMIINT VIA_K8> 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: <ACPI CPU> on acpi0 acpi_button0: <Power Button> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 agp0: <VIA 8385 host to PCI bridge> mem 0xd0000000-0xd7ffffff at device 0.0 on pci0 pcib1: <PCI-PCI bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 pci1: <display, VGA> at device 0.0 (no driver attached) pci1: <display> at device 0.1 (no driver attached) pcm0: <Creative Audigy 2 (EMU10K2)> port 0xe800-0xe83f irq 17 at device 6.0 on pci0 pcm0: <SigmaTel STAC9721/23 AC97 Codec> 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: <IEEE1394(FireWire) bus> 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: <RealTek 8110S Single-chip Gigabit Ethernet> port 0xe400-0xe4ff mem 0xcfffff00-0xcfffffff irq 16 at device 11.0 on pci0 miibus0: <MII bus> on re0 rgephy0: <RTL8169S/8110S media interface> 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: <VIA VT6306> 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: <IEEE1394(FireWire) bus> 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: <VIA 8237 UDMA133 controller> 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: <VIA 83C572 USB controller> port 0xd000-0xd01f irq 21 at device 16.0 on pci0 uhci0: [GIANT-LOCKED] usb0: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 21 at device 16.1 on pci0 uhci1: [GIANT-LOCKED] usb1: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> port 0xd800-0xd81f irq 21 at device 16.2 on pci0 uhci2: [GIANT-LOCKED] usb2: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> port 0xdc00-0xdc1f irq 21 at device 16.3 on pci0 uhci3: [GIANT-LOCKED] usb3: <VIA 83C572 USB controller> 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: <EHCI (generic) USB 2.0 controller> 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: <EHCI (generic) USB 2.0 controller> 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: <PCI-ISA bridge> at device 17.0 on pci0 isa0: <ISA bus> on isab0 acpi_button1: <Sleep Button> on acpi0 atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] npx0: [FAST] npx0: <math processor> on motherboard npx0: INT 16 interface orm0: <ISA Option ROMs> at iomem 0xe0000-0xe0fff,0xcd000-0xcdfff,0xc0000-0xccfff on isa0 pmtimer0 on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 2000081767 Hz quality 800 Timecounters tick every 10.000 msec ad0: 114440MB <WDC WD1200JB-75CRA0> [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 <SAMSUNG CD-R/RW SW-232B> at ata1-master WDMA2 acd1: FAILURE - ATAPI_RESET no interrupt acd1: DVDROM <HL-DT-STDVD-ROM GDR8160B> at ata1-slave UDMA33 Mounting root from ufs:/dev/ad0s2a
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040715063353.58db5cb5.xcas>