From owner-freebsd-current@FreeBSD.ORG Mon Mar 29 15:25:41 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 64CDE16A4CE for ; Mon, 29 Mar 2004 15:25:41 -0800 (PST) Received: from twirl.bitdance.com (twirl.bitdance.com [208.210.83.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6CE143D1F for ; Mon, 29 Mar 2004 15:25:40 -0800 (PST) (envelope-from rdmurray@bitdance.com) Received: from twirl.bitdance.com (localhost [127.0.0.1]) by twirl.bitdance.com (8.12.6p3/8.12.6) with ESMTP id i2TNOt35043998 for ; Mon, 29 Mar 2004 18:25:37 -0500 (EST) (envelope-from rdmurray@bitdance.com) Received: (from rdmurray@localhost) by twirl.bitdance.com (8.12.6p3/8.12.6/Submit) id i2TNOsYO043997 for freebsd-current@freebsd.org; Mon, 29 Mar 2004 18:24:55 -0500 (EST) (envelope-from rdmurray@bitdance.com) X-Authentication-Warning: twirl.bitdance.com: rdmurray set sender to rdmurray@bitdance.com using -f Received: by twirl.bitdance.com (tmda-sendmail, from uid 1000); Mon, 29 Mar 2004 18:24:53 -0500 (EST) Date: Mon, 29 Mar 2004 18:24:25 -0500 (EST) To: freebsd-current@freebsd.org Message-ID: <20040329180323.M43054@twirl.bitdance.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII From: "R. David Murray" X-Delivery-Agent: TMDA/1.0 (Cannonade) X-Primary-Address: rdmurray@bitdance.com X-Mailman-Approved-At: Tue, 30 Mar 2004 05:21:56 -0800 Subject: 5.2.1 hangs on boot where 5.1 does not (ATA issue) 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: Mon, 29 Mar 2004 23:25:41 -0000 I can boot just fine using 5.1-RELEASE-p11 (see partial bootlog below). I cvsuped this morning to 5.2.1, and the boot hangs somewhere around getting ata1 online. Warning (error?) messages occur in this neighborhood with the 5.1 kernel, but at least it boots. I'm interested in workarounds, but I also hope that by providing details here someone will be able to fix this. It's unfortunate to have something that used to work stop working. Here are the hand copied messages from just before the freeze, using 'boot -v' with the 5.2.1 kernel. Actually, the first three lines come from a 'boot' not the 'boot -v'; that part had scrolled off on the 'boot -v' so I couldn't copy it from there. --------------------------------------------------------------- GEOM: create disk ad2 dp=0xc2de6160 ad2: 38166MB [77545/16/63] at ata0-master UDMA100 acd0:DVDROM at ata1-slave PIO4 ad2: TIMEOUT - READ_DMA retrying (2 retries left) LBA=0 ata1: reiniting channel .. ata1: reset tp1 mask=03 ostat0=58 ostat1=50 ad2: stat=0x50 err=0x01 lsb=0x00 msb=0x00 acd0: stat=0x00 err=0x00 lsb=0x14 msb=0xeb ata1: reset tp2 mask=03 stat0=50 stat1=00 devices=0x9 ata1: resetting done acd0: pio=0x0c wdma=0x22 udma=0x42 cable=40pin ad2: pio=0x0c wdma=0x22 udma=0x45 cable=40pin ad2: setting PIO4 on Intel ICH2 chip ad2: setting UDMA100 on Intel ICH2 chip acd0: setting IPO4 on Intel ICH2 chip ad2: setting UDMA100 on Intel ICH2 chip acd0: setting IPO4 on Intel ICH2 chip ata1: device config done ad2: WARNING - READ_DMA interrupt was seen but timeout fired LBA=0 ad2: WARNING - READ_DMA interrupt was seen but taskqueue stalled LBA=0 ----------------------------------------------------------------------- And here's the same area from the boot -v from a successful boot of the 5.1 kernel: ----------------------------------------------------------------------- ad0: success setting UDMA100 on Intel ICH2 chip ad0: ATA-6 disk at ata0-master ad0: 38166MB (78165360 sectors), 77545 C, 16 H, 63 S, 512 B ad0: 16 secs/int, 1 depth queue, UDMA100 ad0: piomode=12 dmamode=34 udmamode=69 cblid=1 GEOM: new disk ad0 ar: FreeBSD check1 failed ad2: success setting UDMA100 on Intel ICH2 chip ad2: ATA-6 disk at ata1-master ad2: 57241MB (117231408 sectors), 116301 C, 16 H, 63 S, 512 B ad2: 16 secs/int, 1 depth queue, UDMA100 ad2: piomode=12 dmamode=34 udmamode=69 cblid=0 ad2: READ command timeout tag=0 serv=0 - resetting ata1: resetting devices .. ata1: pre reset mask=03 ostat0=58 ostat2=50 ad2: ATAPI 00 00 ata1-slave: ATAPI 14 eb ata1: after reset mask=03 stat0=50 stat1=00 ad2: ATA 01 a5 ata1: devices=09 ad2: success setting UDMA100 on Intel ICH2 chip done ar: FreeBSD read conf failed ata1-slave: piomode=12 dmamode=34 udmamode=66 dmaflag=1 ad2: READ command timeout tag=0 serv=0 - resetting ata1: resetting devices .. ata1: pre reset mask=03 ostat0=58 ostat2=00 ad2: ATAPI 00 00 ata1-slave: ATAPI 14 eb ata1: after reset mask=03 stat0=50 stat1=00 ad2: ATA 01 a5 ata1: devices=09 ad2: success setting UDMA100 on Intel ICH2 chip done ad2: READ command timeout tag=0 serv=0 - resetting ata1: resetting devices .. ata1: pre reset mask=03 ostat0=58 ostat2=00 ad2: ATAPI 00 00 ata1-slave: ATAPI 14 eb ata1: after reset mask=03 stat0=50 stat1=00 ad2: ATA 01 a5 ata1: devices=09 ad2: success setting UDMA100 on Intel ICH2 chip done ad2: READ command timeout tag=0 serv=0 - resetting ad2: success setting PIO4 on Intel ICH2 chip ad2: trying fallback to PIO mode ata1: resetting devices .. ata1: pre reset mask=03 ostat0=50 ostat2=00 ad2: ATAPI 00 00 ata1-slave: ATAPI 14 eb ata1: after reset mask=03 stat0=50 stat1=00 ad2: ATA 01 a5 ata1: devices=09 ad2: success setting PIO4 on Intel ICH2 chip done ata1-slave: success setting PIO4 on Intel ICH2 chip acd0: DVD-ROM drive at ata1 as slave acd0: 512KB buffer, PIO4 acd0: Reads: CD-R, CD-RW, CD-DA stream, DVD-ROM, DVD-R, packet acd0: Writes: acd0: Audio: play, 255 volume levels acd0: Mechanism: ejectable tray, unlocked acd0: Medium: no/blank disc [0] f:80 typ:165 s(CHS):0/1/1 e(CHS):62/254/63 s:63 l:1012032 [1] f:00 typ:12 s(CHS):63/0/1 e(CHS):624/254/63 s:1012095 l:41929650 [2] f:00 typ:165 s(CHS):1023/0/1 e(CHS):1023/254/63 s:42941745 l:35214480 [3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 GEOM: Configure ad0s1, start 32256 length 518160384 end 518192639 GEOM: Configure ad0s2, start 518192640 length 21467980800 end 21986173439 GEOM: Configure ad0s3, start 21986173440 length 18029813760 end 40015987199 GEOM: new disk ad2 GEOM: Configure ad0s1a, start 0 length 518160384 end 518160383 GEOM: Configure ad0s1c, start 0 length 518160384 end 518160383 GEOM: Configure ad0s3b, start 0 length 1073741824 end 1073741823 GEOM: Configure ad0s3c, start 0 length 18029813760 end 18029813759 GEOM: Configure ad0s3e, start 1073741824 length 16956071936 end 18029813759 [0] f:80 typ:165 s(CHS):0/1/1 e(CHS):1023/254/63 s:63 l:117226242 [1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 [2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 [3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 GEOM: Configure ad2s1, start 32256 length 60019835904 end 60019868159 GEOM: Configure ad2s1c, start 0 length 60019835904 end 60019835903 GEOM: Configure ad2s1e, start 0 length 60019835904 end 60019835903