From owner-freebsd-stable@FreeBSD.ORG Wed May 12 06:28:07 2004 Return-Path: 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 02CB316A4CE; Wed, 12 May 2004 06:28:07 -0700 (PDT) Received: from smtp2.enst.fr (reloaded.enst.fr [137.194.2.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7837D43D54; Wed, 12 May 2004 06:28:04 -0700 (PDT) (envelope-from beyssac@enst.fr) Received: from bofh.enst.fr (bofh.enst.fr [137.194.32.191]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "bofh.enst.fr", Issuer "ENST CA" (verified OK)) by smtp2.enst.fr (Postfix) with ESMTP id A89AF294; Wed, 12 May 2004 15:28:02 +0200 (CEST) Received: from enst.fr (localhost [127.0.0.1]) by bofh.enst.fr (8.12.11/8.12.11) with ESMTP id i4CDS2MQ029995 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 12 May 2004 15:28:02 +0200 (CEST) (envelope-from beyssac@enst.fr) Received: (from beyssac@localhost) by enst.fr (8.12.11/8.12.11/Submit) id i4CDS2ls029994; Wed, 12 May 2004 15:28:02 +0200 (CEST) (envelope-from beyssac) Date: Wed, 12 May 2004 15:28:02 +0200 From: Pierre Beyssac To: freebsd-stable@freebsd.org Message-ID: <20040512132802.GA28250@bofh.enst.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-message-flag: Warning! Use of Microsoft Outlook makes your system susceptible to worms and viruses cc: sos@freebsd.org Subject: "MODE_SENSE_BIG command timeout - resetting" at boot X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2004 13:28:07 -0000 Hi, I'm having the following problem on a new machine I just installed. At boot time, exactly 20 times, during device probe: acd0: MODE_SENSE_BIG command timeout - resetting ata0: resetting devices .. done Then: acd0: CDROM at ata0-master PIO4 If I try to mount a CD afterwards, I get the following sequence followed by an I/O error return: (next 2 lines 4 times) acd0: TEST_UNIT_READY command timeout - resetting ata0: resetting devices .. done (next 2 lines 4 times) acd0: PREVENT_ALLOW command timeout - resetting ata0: resetting devices .. done (next 2 lines 8 times) acd0: TEST_UNIT_READY command timeout - resetting ata0: resetting devices .. done (next 2 lines 8 times) acd0: PREVENT_ALLOW command timeout - resetting ata0: resetting devices .. done (next 2 lines 2 times) acd0: TEST_UNIT_READY command timeout - resetting ata0: resetting devices .. done OTOH, it works perfectly with atang when booting a -current install CD. Full dmesg below. Any ideas? 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 4.10-PRERELEASE #0: Mon May 10 20:15:03 CEST 2004 root@berlioz.enst.fr:/usr/src/sys/compile/ZEUS Timecounter "i8254" frequency 1193182 Hz CPU: Intel(R) Xeon(TM) CPU 2.66GHz (2658.10-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf25 Stepping = 5 Features=0xbfebfbff Hyperthreading: 2 logical CPUs real memory = 2147418112 (2097088K bytes) avail memory = 2088341504 (2039396K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 Programming 24 pins in IOAPIC #1 Programming 24 pins in IOAPIC #2 FreeBSD/SMP: Multiprocessor motherboard: 4 CPUs cpu0 (BSP): apic id: 0, version: 0x00050014, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00050014, at 0xfee00000 cpu2 (AP): apic id: 6, version: 0x00050014, at 0xfee00000 cpu3 (AP): apic id: 7, version: 0x00050014, at 0xfee00000 io0 (APIC): apic id: 8, version: 0x00178020, at 0xfec00000 io1 (APIC): apic id: 9, version: 0x00178020, at 0xfec81000 io2 (APIC): apic id: 10, version: 0x00178020, at 0xfec81400 Preloaded elf kernel "kernel" at 0xc0346000. Warning: Pentium 4 CPU: PSE disabled Pentium Pro MTRR support enabled Using $PIR table, 19 entries at 0xc00f3460 apm: protected mode connections are not supported npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard IOAPIC #0 intpin 16 -> irq 2 IOAPIC #0 intpin 19 -> irq 16 IOAPIC #0 intpin 18 -> irq 17 IOAPIC #0 intpin 17 -> irq 18 pci0: on pcib0 pci0: (vendor=0x8086, dev=0x2541) at 0.1 pcib1: at device 3.0 on pci0 pci2: on pcib1 pci2: (vendor=0x8086, dev=0x1461) at 28.0 pcib2: at device 29.0 on pci2 pci4: on pcib2 pci2: (vendor=0x8086, dev=0x1461) at 30.0 pcib3: at device 31.0 on pci2 IOAPIC #1 intpin 2 -> irq 19 pci3: on pcib3 ahd0: port 0x2400-0x24ff,0x2000-0x20ff mem 0xfeaf0000-0xfeaf1fff irq 19 at devi ce 3.0 on pci3 aic7901A: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs pci0: (vendor=0x8086, dev=0x2546) at 3.1 pci0: at 29.0 irq 2 pci0: at 29.1 irq 16 pci0: at 29.2 irq 17 pcib4: at device 30.0 on pci0 IOAPIC #0 intpin 23 -> irq 22 pci1: on pcib4 fxp0: port 0x1400-0x143f mem 0xfe7a0000-0xfe7bffff,0xfe7e0000-0xfe7e0fff irq 20 at device 3.0 on pci1 fxp0: Ethernet address 00:07:e9:3f:ad:01 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto em0: port 0x1440-0x147f mem 0xfe760000-0xfe77ffff irq 21 at dev ice 4.0 on pci1 em0: Speed:N/A Duplex:N/A pci1: at 12.0 irq 22 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x3a0-0x3af,0-0x3,0-0x7,0-0x3,0-0x7 irq 0 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: (vendor=0x8086, dev=0x2483) at 31.3 irq 18 orm0: