From nobody@FreeBSD.org  Wed Sep 22 17:32:14 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id AE96416A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 22 Sep 2004 17:32:14 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A134043D1F
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 22 Sep 2004 17:32:14 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i8MHWEXH044771
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 22 Sep 2004 17:32:14 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i8MHWEX5044762;
	Wed, 22 Sep 2004 17:32:14 GMT
	(envelope-from nobody)
Message-Id: <200409221732.i8MHWEX5044762@www.freebsd.org>
Date: Wed, 22 Sep 2004 17:32:14 GMT
From: Dirk Kleinhesselink <dkleinh@phy.ucsf.edu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: FreeBSD 5.2.1 install hangs with error: WARNING - MODE_SENSE_BIG interrupt was seen ....
X-Send-Pr-Version: www-2.3

>Number:         72004
>Category:       i386
>Synopsis:       [boot] FreeBSD 5.2.1 install hangs with error: WARNING - MODE_SENSE_BIG interrupt was seen ....
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    remko
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 22 17:40:03 GMT 2004
>Closed-Date:    Mon Sep 11 22:20:41 GMT 2006
>Last-Modified:  Mon Sep 11 22:20:41 GMT 2006
>Originator:     Dirk Kleinhesselink
>Release:        5.2.1 RELEASE
>Organization:
UCSF
>Environment:
can't get this -- can't get FreeBSD running
>Description:
Athlon 1GHz system : ASUS A7V133 motherboard with adaptec 39160 scsi card - 3 scsi disks attached.  HP 9500 CD-Writer on IDE channel 0.  Soundblaster 128 PCI, 1GB RAM.  This system runs Mandrake Linux 9.2 flawlessly.  Knoppix 3.4 and 3.6 also boot just fine, but FreeBSD 5.2.1 install hangs with error: WARNING - MODE_SENSE_BIG interrupt was seen but 
taskqueue stalled.  The CD-writer replaced a CD-ROM drive awhile ago -- prior to that, the system had FreeBSD 4.2-RELEASE installed.  Attempt to boot the 4.2 installation fail with: ata0-slave: identify retries exceeded \n (null): MODE_SENSE_BIG command timeout - resetting\n ata0: resetting devices .. \n (hang at this point).  I believe the problem is
the ata driver's handling of the cd-burner.
>How-To-Repeat:
Stick in the 5.2.1 install CD and boot.
>Fix:
      
>Release-Note:
>Audit-Trail:

From: Sam Sirlin <sam@kalessin.jpl.nasa.gov>
To: freebsd-gnats-submit@freebsd.org, dkleinh@phy.ucsf.edu
Cc:  
Subject: Re: i386/72004: [boot] FreeBSD 5.2.1 install hangs with    error: WARNING - MODE_SENSE_BIG interrupt was seen ....
Date: Mon, 7 Mar 2005 22:01:33 -0800 (PST)

 I'm running  5.4-PRERELEASE FreeBSD 5.4-PRERELEASE on an amd 64.
 I've seen these sort of errors on boot up for a few months... up to
 now it's only slowed down the boot process for a while, however today
 the machine hung after the first, and I had to POR. It doesn't do this
 at every boot up.
 
 Similar to pr  Problem Report i386/66368?
 
 Here's a sample "bad" dmesg:
 
 Copyright (c) 1992-2005 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.4-PRERELEASE #1: Mon Mar  7 00:01:58 PST 2005
     sam@celeborn.my.domain:/usr/obj/usr/src/sys/CELEBORN
 ACPI APIC Table: <A M I  OEMAPIC >
 Timecounter "i8254" frequency 1193182 Hz quality 0
 CPU: AMD Athlon(tm) 64 Processor 3200+ (2002.57-MHz K8-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=0xe0500800<SYSCALL,NX,MMX+,LM,3DNow+,3DNow>
 real memory  = 1072889856 (1023 MB)
 avail memory = 1023901696 (976 MB)
 ioapic0: Changing APIC ID to 1
 MADT: Forcing active-low polarity and level trigger for SCI
 ioapic0 <Version 0.3> irqs 0-23 on motherboard
 acpi0: <A M I OEMRSDT> on motherboard
 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
 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
 pci0: <ACPI PCI bus> on pcib0
 pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
 pci1: <ACPI PCI bus> on pcib1
 pci1: <display, VGA> at device 0.0 (no driver attached)
 fwohci0: <VIA Fire II (VT6306)> port 0xcc00-0xcc7f mem
 0xf7900000-0xf79007ff irq 16 at device 7.0 on pci0
 fwohci0: OHCI version 1.0 (ROM=1)
 fwohci0: No. of Isochronous channels is 4.
 fwohci0: EUI64 00:e0:18:00:00:62:29:1b
 fwohci0: Phy 1394a available S400, 2 ports.
 fwohci0: Link S400, max_rec 2048 bytes.
 firewire0: <IEEE1394(FireWire) bus> on fwohci0
 fwe0: <Ethernet over FireWire> on firewire0
 if_fwe0: Fake Ethernet address: 02:e0:18:62:29:1b
 fwe0: Ethernet address: 02:e0:18:62:29:1b
 fwe0: if_start running deferred for Giant
 sbp0: <SBP-2/SCSI over FireWire> on firewire0
 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)
 skc0: <3Com 3C940 Gigabit Ethernet> port 0xdc00-0xdcff mem
 0xf7c00000-0xf7c03fff irq 17 at device 10.0 on pci0
 skc0: 3Com Gigabit LOM (3C940)
 sk0: <Marvell Semiconductor, Inc. Yukon> on skc0
 sk0: Ethernet address: 00:0e:a6:74:6a:02
 miibus0: <MII bus> on sk0
 e1000phy0: <Marvell 88E1000 Gigabit PHY> on miibus0
 e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
 1000baseTX-FDX, auto
 pcm0: <Creative EMU10K1> port 0xec00-0xec1f irq 17 at device 12.0 on
 pci0
 pcm0: <eMicro EM28028 AC97 Codec>
 atapci0: <VIA 6420 SATA150 controller> port
 0xc800-0xc8ff,0xd000-0xd00f,0xd400-0xd403,0xd800-0xd807,0xe000-0xe003,0xe400-0xe407
 irq 20 at device 15.0 on pci0
 ata2: channel #0 on atapci0
 ata3: channel #1 on atapci0
 atapci1: <VIA 8237 UDMA133 controller> port
 0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.1 on
 pci0
 ata0: channel #0 on atapci1
 ata1: channel #1 on atapci1
 uhci0: <VIA 83C572 USB controller> port 0xb400-0xb41f irq 21 at device
 16.0 on pci0
 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 0xb800-0xb81f irq 21 at device
 16.1 on pci0
 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
 uhci2: <VIA 83C572 USB controller> port 0xc000-0xc01f irq 21 at device
 16.2 on pci0
 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 0xc400-0xc41f irq 21 at device
 16.3 on pci0
 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
 pci0: <serial bus, USB> at device 16.4 (no driver attached)
 isab0: <PCI-ISA bridge> at device 17.0 on pci0
 isa0: <ISA bus> on isab0
 acpi_button0: <Power Button> on acpi0
 acpi_button1: <Sleep Button> on acpi0
 atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
 kbd0 at atkbd0
 psm0: <PS/2 Mouse> irq 12 on atkbdc0
 psm0: model Generic PS/2 mouse, device ID 0
 fdc0: <floppy drive controller (FDE)> port 0x3f7,0x3f0-0x3f5 irq 6 drq
 2 on acpi0
 fd0: <1440-KB 3.5" drive> on fdc0 drive 0
 sio0: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 flags 0x10
 on acpi0
 sio0: type 16550A
 sio1: configured irq 4 not in bitmap of probed irqs 0
 sio1: port may not be enabled
 sio1: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 on acpi0
 sio1: type 16550A
 orm0: <ISA Option ROM> at iomem 0xc0000-0xcefff on isa0
 ppc0: cannot reserve I/O port range
 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
 Copyright (c) 1992-2005 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.4-PRERELEASE #1: Mon Mar  7 00:01:58 PST 2005
     sam@celeborn.my.domain:/usr/obj/usr/src/sys/CELEBORN
 ACPI APIC Table: <A M I  OEMAPIC >
 Timecounter "i8254" frequency 1193182 Hz quality 0
 CPU: AMD Athlon(tm) 64 Processor 3200+ (2002.57-MHz K8-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=0xe0500800<SYSCALL,NX,MMX+,LM,3DNow+,3DNow>
 real memory  = 1072889856 (1023 MB)
 avail memory = 1023901696 (976 MB)
 ioapic0: Changing APIC ID to 1
 MADT: Forcing active-low polarity and level trigger for SCI
 ioapic0 <Version 0.3> irqs 0-23 on motherboard
 acpi0: <A M I OEMRSDT> on motherboard
 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
 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
 pci0: <ACPI PCI bus> on pcib0
 pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
 pci1: <ACPI PCI bus> on pcib1
 pci1: <display, VGA> at device 0.0 (no driver attached)
 fwohci0: <VIA Fire II (VT6306)> port 0xcc00-0xcc7f mem
 0xf7900000-0xf79007ff irq 16 at device 7.0 on pci0
 fwohci0: OHCI version 1.0 (ROM=1)
 fwohci0: No. of Isochronous channels is 4.
 fwohci0: EUI64 00:e0:18:00:00:62:29:1b
 fwohci0: Phy 1394a available S400, 2 ports.
 fwohci0: Link S400, max_rec 2048 bytes.
 firewire0: <IEEE1394(FireWire) bus> on fwohci0
 fwe0: <Ethernet over FireWire> on firewire0
 if_fwe0: Fake Ethernet address: 02:e0:18:62:29:1b
 fwe0: Ethernet address: 02:e0:18:62:29:1b
 fwe0: if_start running deferred for Giant
 sbp0: <SBP-2/SCSI over FireWire> on firewire0
 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)
 skc0: <3Com 3C940 Gigabit Ethernet> port 0xdc00-0xdcff mem
 0xf7c00000-0xf7c03fff irq 17 at device 10.0 on pci0
 skc0: 3Com Gigabit LOM (3C940)
 sk0: <Marvell Semiconductor, Inc. Yukon> on skc0
 sk0: Ethernet address: 00:0e:a6:74:6a:02
 miibus0: <MII bus> on sk0
 e1000phy0: <Marvell 88E1000 Gigabit PHY> on miibus0
 e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
 1000baseTX-FDX, auto
 pcm0: <Creative EMU10K1> port 0xec00-0xec1f irq 17 at device 12.0 on
 pci0
 pcm0: <eMicro EM28028 AC97 Codec>
 atapci0: <VIA 6420 SATA150 controller> port
 0xc800-0xc8ff,0xd000-0xd00f,0xd400-0xd403,0xd800-0xd807,0xe000-0xe003,0xe400-0xe407
 irq 20 at device 15.0 on pci0
 ata2: channel #0 on atapci0
 ata3: channel #1 on atapci0
 atapci1: <VIA 8237 UDMA133 controller> port
 0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.1 on
 pci0
 ata0: channel #0 on atapci1
 ata1: channel #1 on atapci1
 uhci0: <VIA 83C572 USB controller> port 0xb400-0xb41f irq 21 at device
 16.0 on pci0
 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 0xb800-0xb81f irq 21 at device
 16.1 on pci0
 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
 uhci2: <VIA 83C572 USB controller> port 0xc000-0xc01f irq 21 at device
 16.2 on pci0
 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 0xc400-0xc41f irq 21 at device
 16.3 on pci0
 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
 pci0: <serial bus, USB> at device 16.4 (no driver attached)
 isab0: <PCI-ISA bridge> at device 17.0 on pci0
 isa0: <ISA bus> on isab0
 acpi_button0: <Power Button> on acpi0
 acpi_button1: <Sleep Button> on acpi0
 atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
 kbd0 at atkbd0
 psm0: <PS/2 Mouse> irq 12 on atkbdc0
 psm0: model Generic PS/2 mouse, device ID 0
 fdc0: <floppy drive controller (FDE)> port 0x3f7,0x3f0-0x3f5 irq 6 drq
 2 on acpi0
 fd0: <1440-KB 3.5" drive> on fdc0 drive 0
 sio0: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 flags 0x10
 on acpi0
 sio0: type 16550A
 sio1: configured irq 4 not in bitmap of probed irqs 0
 sio1: port may not be enabled
 sio1: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 on acpi0
 sio1: type 16550A
 orm0: <ISA Option ROM> at iomem 0xc0000-0xcefff on isa0
 ppc0: cannot reserve I/O port range
 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 2002573086 Hz quality 800
 Timecounters tick every 1.000 msec
 ad0: 114473MB <WDC WD1200JB-00DUA0/65.13G65> [232581/16/63] at
 ata0-master UDMA100
 ad1: 114473MB <WDC WD1200JB-00FUA0/15.05R15> [232581/16/63] at
 ata0-slave UDMA100
 acd0: FAILURE - MODE_SENSE_BIG timed out
 acd0: FAILURE - MODE_SENSE_BIG timed out
 acd0: FAILURE - MODE_SENSE_BIG timed out
 acd0: FAILURE - MODE_SENSE_BIG timed out
 acd0: FAILURE - MODE_SENSE_BIG timed out
 acd0: CDROM <TDK DVDRW420N/1.39> at ata1-master UDMA33
 acd0: FAILURE - TEST_UNIT_READY timed out
 acd0: FAILURE - PREVENT_ALLOW timed out
 acd0: FAILURE - TEST_UNIT_READY timed out
 acd0: FAILURE - TEST_UNIT_READY timed out
 acd0: FAILURE - PREVENT_ALLOW timed out
 acd0: FAILURE - TEST_UNIT_READY timed out
 acd0: FAILURE - PREVENT_ALLOW timed out
 acd0: FAILURE - TEST_UNIT_READY timed out
 acd0: FAILURE - TEST_UNIT_READY timed out
 acd0: FAILURE - PREVENT_ALLOW timed out
 acd0: FAILURE - TEST_UNIT_READY timed out
 acd0: FAILURE - PREVENT_ALLOW timed out
 acd0: FAILURE - TEST_UNIT_READY timed out
 acd0: FAILURE - TEST_UNIT_READY timed out
 acd0: FAILURE - PREVENT_ALLOW timed out
 Mounting root from ufs:/dev/ad0s3a
 
 Sam Sirlin
 Email: sam@kalessin.jpl.nasa.gov
 
 
State-Changed-From-To: open->feedback 
State-Changed-By: remko 
State-Changed-When: Mon Sep 11 13:30:16 UTC 2006 
State-Changed-Why:  
Hello, 

Can you tell me whether the problem still persists in more 
recent FreeBSD versions? 

Thanks 


Responsible-Changed-From-To: freebsd-i386->remko 
Responsible-Changed-By: remko 
Responsible-Changed-When: Mon Sep 11 13:30:16 UTC 2006 
Responsible-Changed-Why:  
grab the pr 

http://www.freebsd.org/cgi/query-pr.cgi?pr=72004 
State-Changed-From-To: feedback->closed 
State-Changed-By: remko 
State-Changed-When: Mon Sep 11 22:20:39 UTC 2006 
State-Changed-Why:  
The submitter reports that he had replaced the controler and cd writer 
and with that he resolved the problems, close the PR for that reason, 
thanks for the feedback! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=72004 
>Unformatted:
