From nobody@FreeBSD.org  Fri Mar  5 21:45:34 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 4901816A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  5 Mar 2004 21:45:34 -0800 (PST)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3CA2843D2D
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  5 Mar 2004 21:45:34 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i265jY72046796
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 5 Mar 2004 21:45:34 -0800 (PST)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.10/8.12.10/Submit) id i265jYb6046795;
	Fri, 5 Mar 2004 21:45:34 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200403060545.i265jYb6046795@www.freebsd.org>
Date: Fri, 5 Mar 2004 21:45:34 -0800 (PST)
From: Jiafu He <jiafu_he@yahoo.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: System hangs when installing Release 5.2.1 (i386 with ACPI, SMP and Promise Raid 0+1)
X-Send-Pr-Version: www-2.3

>Number:         63828
>Category:       i386
>Synopsis:       [hang] when installing Release 5.2.1 (i386 with ACPI, SMP and Promise Raid 0+1)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    remko
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 05 21:50:05 PST 2004
>Closed-Date:    Mon Sep 11 10:11:24 GMT 2006
>Last-Modified:  Mon Sep 11 10:11:24 GMT 2006
>Originator:     Jiafu He
>Release:        R5.2.1
>Organization:
>Environment:
FreeBSD 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004 root@wv1.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386

>Description:
System hangs silently during the process of extracting files from CDROM when installing the new R5.2.1 release. No error message is obtainable. AFter rebooting the machine, Disk RAID is destroyed (have to rebuild disks to restore).

This problem happens every time for sure, no exception, and as early as Release 5.2 beta. In R5.2 or R5.2.1 RC1 there were ATA interrupt missing error messages poped out. However, except the "ata-1 slave failure" message in the dmesg (actually on this machine, ATA-1 is not used), R5.2.1 has no error/warning printed out, simply hangs silently.

Before R5.2.1, the machine worked nicely with R5.1. The machine has a Tyan S2665 MB and a Promise TX4000 RAID card.

Below is the dmesg info:

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.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004
    root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0e6d000.
Preloaded mfs_root "/boot/mfsroot" at 0xc0e6d2bc.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0e6d300.
ACPI APIC Table: <PTLTD  	 APIC  >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2399.33-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Hyperthreading: 2 logical CPUs
real memory  = 1073152000 (1023 MB)
avail memory = 1028800512 (981 MB)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  6
 cpu3 (AP): APIC ID:  7
ioapic0 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> irqs 24-47 on motherboard
ioapic2 <Version 2.0> irqs 48-71 on motherboard
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <PTLTD    RSDT  > on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 23 entries at 0xc00fde50
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_cpu1: <CPU> on acpi0
acpi_cpu2: <CPU> on acpi0
acpi_cpu3: <CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel Generic host to PCI bridge> mem 0xe0000000-0xe7ffffff at device 0.0 on pci0
pci0: <unknown> at device 0.1 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> mem 0xe8000000-0xefffffff at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 2.0 on pci0
pcib2: could not get PCI interrupt routing table for \\_SB_.PCI0.HLB_ - AE_NOT_FOUND
pci2: <ACPI PCI bus> on pcib2
pci2: <base peripheral, interrupt controller> at device 28.0 (no driver attached)
pcib3: <ACPI PCI-PCI bridge> at device 29.0 on pci2
pci3: <ACPI PCI bus> on pcib3
atapci0: <Promise PDC20619 UDMA133 controller> port 0x2000-0x207f,0x2400-0x240f,0x2080-0x20ff mem 0xda100000-0xda11ffff,0xda120000-0xda120fff irq 24 at device 3.0 on pci3
atapci0: [MPSAFE]
ata2: at 0xda120000 on atapci0
ata2: [MPSAFE]
ata3: at 0xda120000 on atapci0
ata3: [MPSAFE]
ata4: at 0xda120000 on atapci0
ata4: [MPSAFE]
ata5: at 0xda120000 on atapci0
ata5: [MPSAFE]
pci2: <base peripheral, interrupt controller> at device 30.0 (no driver attached)
pcib4: <ACPI PCI-PCI bridge> at device 31.0 on pci2
pci4: <ACPI PCI bus> on pcib4
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0x1840-0x185f irq 16 at device 29.0 on pci0
usb0: <Intel 82801DB (ICH4) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
umass0: Genesys Logic Flash Reader, rev 2.00/1.28, addr 2
uhub1: NEC Corporation USB2.0 Hub Controller, class 9/0, rev 2.00/1.00, addr 3
uhub1: 4 ports with 4 removable, self powered
uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0x1860-0x187f irq 19 at device 29.1 on pci0
usb1: <Intel 82801DB (ICH4) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0x1880-0x189f irq 18 at device 29.2 on pci0
usb2: <Intel 82801DB (ICH4) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub3: Intel 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 29.7 (no driver attached)
pcib5: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci5: <ACPI PCI bus> on pcib5
rl0: <RealTek 8139 10/100BaseTX> port 0x3000-0x30ff mem 0xda204800-0xda2048ff irq 21 at device 0.0 on pci5
rl0: Ethernet address: 00:30:bd:22:77:87
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fwohci0: <Texas Instruments TSB43AB22/A> mem 0xda200000-0xda203fff,0xda204000-0xda2047ff irq 17 at device 2.0 on pci5
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channel is 4.
fwohci0: EUI64 00:e0:81:00:00:20:15:bf
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:81:20:15:bf
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.19> port 0x3400-0x343f mem 0xda220000-0xda23ffff irq 16 at device 3.0 on pci5
em0:  Speed:N/A  Duplex:N/A
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci1: <Intel ICH4 UDMA100 controller> port 0x18a0-0x18af,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci1
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci1
ata1: [MPSAFE]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pci0: <multimedia, audio> at device 31.5 (no driver attached)
acpi_button0: <Power 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 IntelliMouse, device ID 3
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0 port 0x778-0x77f,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
isa_dmainit(3, 1024) failed
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
orm0: <Option ROMs> at iomem 0xe0000-0xe3fff,0xce800-0xcffff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 10.000 msec
em0: Link is up 100 Mbps Full Duplex
md0: Preloaded image </boot/mfsroot> 4423680 bytes at 0xc09e16d8
acd0: CDROM <56X CD-ROM> at ata0-master PIO4
ata1-slave: FAILURE - ATA_IDENTIFY no interrupt
ata1-slave: FAILURE - ATA_IDENTIFY status=7f<READY,DMA_READY,DSC,DRQ,CORRECTABLE,INDEX,ERROR> error=7f<UNCORRECTABLE,MEDIA_CHANGED,NID_NOT_FOUND,MEDIA_CHANGE_REQEST,ABORTED,NO_MEDIA,ILLEGAL_LENGTH> LBA=0
ata1-slave: FAILURE - ATA_IDENTIFY no interrupt
acd1: CDRW <ATAPI CD-RW 52X24> at ata1-master PIO4
GEOM: create disk ad4 dp=0xc70ac460
ad4: 117246MB <Maxtor 6Y120P0> [238216/16/63] at ata2-master UDMA133
GEOM: create disk ad6 dp=0xc70ac060
ad6: 117246MB <Maxtor 6Y120L0> [238216/16/63] at ata3-master UDMA133
GEOM: create disk ad8 dp=0xc6ed8d60
ad8: 117246MB <Maxtor 6Y120L0> [238216/16/63] at ata4-master UDMA133
GEOM: create disk ad10 dp=0xc6ed8b60
ad10: 117246MB <Maxtor 6Y120L0> [238216/16/63] at ata5-master UDMA133
GEOM: create disk ar0 dp=0xc6ecc5e0
ar0: 232696MB <ATA RAID0+1 array> [29664/255/63] status: READY subdisks:
 disk0 READY on ad4 at ata2-master
 disk1 READY on ad6 at ata3-master
 disk2 READY on ad8 at ata4-master
 disk3 READY on ad10 at ata5-master
GEOM: create disk da0 dp=0xc70c4c50
GEOM: create disk da1 dp=0xc6ed4850
SMP: AP CPU #2 Launched!
SMP: AP CPU #1 Launched!
SMP: AP CPU #3 Launched!
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <Generic STORAGE DEVICE 0128> Removable Direct Access SCSI-0 device 
da0: 1.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
da1 at umass-sim0 bus 0 target 0 lun 1
da1: <Generic STORAGE DEVICE 0128> Removable Direct Access SCSI-0 device 
da1: 1.000MB/s transfers
da1: Attempt to query device size failed: NOT READY, Medium not present
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 -> 6
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 -> 6
(da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 
(da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error
(da1:umass-sim0:0:0:1): SCSI Status: Check Condition
(da1:umass-sim0:0:0:1): NOT READY asc:3a,0
(da1:umass-sim0:0:0:1): Medium not present
(da1:umass-sim0:0:0:1): Unretryable error
Opened disk da1 -> 6
(da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 
(da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error
(da1:umass-sim0:0:0:1): SCSI Status: Check Condition
(da1:umass-sim0:0:0:1): NOT READY asc:3a,0
(da1:umass-sim0:0:0:1): Medium not present
(da1:umass-sim0:0:0:1): Unretryable error
Opened disk da1 -> 6
Mounting root from ufs:/dev/md0

>How-To-Repeat:
1. Insert R5.2.1 install CD disc1, boot it;
2. when sysinstall is up, choose "standard";
3. follow the instructions to create slices and disk labels on disk "ar0" which is RAID 0+1 with 4 disks. I usually have ar0s2a (/), ar0s2b (swap) and ar0s2d created (/home with Softupdate);
4. I tried selecting media from both local cdrom and "ftp2.freebsd.org", both have the same outcome;
5. Start the installation, the system will hang silently during transfering the files from CDRoM (or ftp server).
6. the machine has to be rebooted by pressing the reset button. And the RAID disks are found destroyed (need to be rebuilt which takes long time).
>Fix:
      
>Release-Note:
>Audit-Trail:

From: "Steven Hartland" <killing@multiplay.co.uk>
To: <freebsd-gnats-submit@FreeBSD.org>
Cc:  
Subject: i386/63828: System hangs when installing Release 5.2.1 (i386 with ACPI, SMP and Promise Raid 0+1)
Date: Wed, 26 May 2004 13:59:25 +0100

 Same here on 5.2.1-RELEASE but we get mentions of DMA timeouts before it trashes the raid.
 
 
 ================================================
 This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 
 
 In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137
 or return the E.mail to postmaster@multiplay.co.uk.
 

From: "Alexander Weisel" <alex@schubduese.de>
To: <freebsd-gnats-submit@FreeBSD.org>, <jiafu_he@yahoo.com>
Cc:  
Subject: Re: i386/63828: System hangs when installing Release 5.2.1 (i386 with ACPI, SMP and Promise Raid 0+1)
Date: Fri, 4 Jun 2004 01:43:52 -0000

 Nearly same problem here with Tyan S2466 and Promise FastTrak TX2000.
 
 1. As soon as the install procedure begins with executing a 'newfs' on new
 slices (just before the files are copied), i get an error with SIG 11 and the
 system reboots.
 
 2. I tried an binary upgrade from 5.1 with the 5.2.1 CD. After selecting the
 slices/mountpoints a check for 'filesystem integrity' is launched. After about
 30s i get a kernel panic with the message 'lost mount'.
 
 Raid is destroyed and must be rebuilt in both cases.

Adding to audit trail from email later posted to freebsd-bugs:

Terrence Koeman <root@mediamonks.net> has later noted that he is experiencing
this same problame, and this PR may be the same as i386/64697 and i386/72960.

From: "Cristi Tudose" <cristi.tudose@rdsor.ro>
To: <freebsd-gnats-submit@FreeBSD.org>, <jiafu_he@yahoo.com>
Cc:  
Subject: Re: i386/63828: [hang] when installing Release 5.2.1 (i386 with ACPI, SMP and Promise Raid 0+1)
Date: Mon, 4 Apr 2005 11:39:58 -0700

 This is a multi-part message in MIME format.
 
 ------=_NextPart_000_0002_01C5390B.075435F0
 Content-Type: text/plain;
 	charset="iso-8859-1"
 Content-Transfer-Encoding: quoted-printable
 
 I have too a strange error!
 I try to install FreeBSD 5.3 on a Tyan Tiger i7320.
 The error ocure during the booting from cd.
 
 ata0: ERROR IDENTIFI ATAPI, Time out
 
 when sysinstall is up, I choose standard,
 I make the partitions, ...
 I tried selecting media from cd-rom,
 error: no cd/dvd drive found.
 
 =20
 
 
 
 
 ------=_NextPart_000_0002_01C5390B.075435F0
 Content-Type: text/html;
 	charset="iso-8859-1"
 Content-Transfer-Encoding: quoted-printable
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 <HTML><HEAD>
 <META http-equiv=3DContent-Type content=3D"text/html; =
 charset=3Diso-8859-1">
 <META content=3D"MSHTML 6.00.2900.2180" name=3DGENERATOR>
 <STYLE></STYLE>
 </HEAD>
 <BODY bgColor=3D#ffffff>
 <DIV><FONT face=3DArial size=3D2>I&nbsp;have too a strange =
 error!</FONT></DIV>
 <DIV><FONT face=3DArial size=3D2>I try to install FreeBSD 5.3 on a Tyan =
 Tiger=20
 i7320.</FONT></DIV>
 <DIV><FONT face=3DArial size=3D2>The error ocure during the booting from =
 
 cd.</FONT></DIV>
 <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
 <DIV><FONT face=3DArial size=3D2>ata0: ERROR IDENTIFI ATAPI, Time =
 out</FONT></DIV>
 <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
 <DIV><FONT face=3DArial>when sysinstall is up, I&nbsp;choose=20
 standard,</FONT></DIV>
 <DIV><FONT face=3DArial>I&nbsp;make the partitions, ...</FONT></DIV>
 <DIV>I&nbsp;tried selecting media from cd-rom,</DIV>
 <DIV>error: no cd/dvd drive found.</DIV>
 <DIV>&nbsp;</DIV>
 <DIV>&nbsp;</DIV>
 <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
 <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
 <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
 <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>
 
 ------=_NextPart_000_0002_01C5390B.075435F0--
 
State-Changed-From-To: open->feedback 
State-Changed-By: remko 
State-Changed-When: Sun Sep 3 18:23:09 UTC 2006 
State-Changed-Why:  
Hello can you tell me whether this problem still persists 
in recent versions of FreeBSD? 


Responsible-Changed-From-To: freebsd-i386->remko 
Responsible-Changed-By: remko 
Responsible-Changed-When: Sun Sep 3 18:23:09 UTC 2006 
Responsible-Changed-Why:  
Grab the PR 

http://www.freebsd.org/cgi/query-pr.cgi?pr=63828 
State-Changed-From-To: feedback->closed 
State-Changed-By: remko 
State-Changed-When: Mon Sep 11 10:11:21 UTC 2006 
State-Changed-Why:  
feedback timeout 

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