Re: ATA boot hang

From: Patrick Gardella <patrick_at_freebsd.org>
Date: Tue, 16 Dec 2003 09:28:42 -0500 (GMT+5)
I'm still trying to debug this.  I try a new buildworld once a week to see
if the new code has helped.  So far, no.  As of build yesterday (12/15),
I'm getting a different error.   I'm no longer getting the "spurious
interrupt", or the "ATA_IDENTITY soft error", but instead the "ar: FreeBSD
check1 failed".

As a recap:
-Disabling DMA did not work
-It's a hard hang.  I have to pull the plug to get it to reset.
-acpi and apic are in the kernel now.  The kernel hangs with or without them.
-option NO_MIXED_MODE is set.

FWIW, I cannot boot a GENERIC kernel either from yesterday.  Fails in the
same spot.

I'll forward the boot -v messages in a separate message.

I can try anything anyone wants me to try.  Just let me know.

Patrick

Timecounter "TSC" frequency 1684017560 Hz quality 800
Timecounters tick every 10.000 msec
lo0: pf attached
ata0-master: pio=0x0c wdma=0x22 udma=0x45 cable=80pin
ata0-master: setting PIO4 on Intel ICH2 chip
ata0-master: setting UDMA100 on Intel ICH2 chip
GEOM: create disk ad0 dp=0xc6279660
ad0: <Maxtor 57040H4/TAH71DP0> 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
GEOM: new disk ad0
ar: FreeBSD check1 failed
ata1-slave: pio=0x0c wdma=0x22 udma=0xffffffff cable=40pin
[0] f:80typ:165 s(CHS):0/1/1 e(CHS):1023/254/63 s:63 l:78156162
[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 ad0s1, start 32256 length 40015954944 end 40015987199
GEOM: Configure ad0s1a, start 0 length 268435456 end 268435455
GEOM: Configure ad0s1b, start 268435455 length 1588903936 end 1857339391
GEOM: Configure ad0s1c, start 0 length 40015954944 end 40015954943
GEOM: Configure ad0s1d, start 1857339391 length 268435456 end 2125774847
GEOM: Configure ad0s1e, start 2125774847 length 268435456 end 2394210303
GEOM: Configure ad0s1f, start 2394210304 length 27621744640 end 40015954943

> After I did a buildworld (10/13), I'm getting a hang on boot on a Compaq
> DeskPro Workstation:
>
> ata1: spurious interrupt - status=0x00 error=0x01
> ata0-master: pio=0x0c wdma=0x22 udma=0x45 cable=80pin
> ad0: setting UDMA100 on Intel ICH2 chip
> GEOM: create disk ad0 dp=0xc62c5570
> ad0: <Maxtor 57040H4/TAH71DPO> 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
> GEOM: new disk ad0
> ata1-slave: pio=0x0c wdma=0x22 udma=0xffffffff cable=40pin
> ata1-master: WARNING - ATA_IDENTITY soft error (ECC corrected)[0] f:80
> typ:165 s(CHS):0/1/1 e(CHS):1023/254/63 s:63 l:78156162
> [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 ad0s1, start 32256 length 40015954944 end 40015987199
> GEOM: Configure ad0s1a, start  length 268435456 end 268435455
> GEOM: Configure ad0s1b, start 268435455 length 1588903936 end 1857339391
> GEOM: Configure ad0s1c, start  length 40015954944 end 40015954943
> GEOM: Configure ad0s1d, start 1857339391 length 268435456 end 2125774847
> GEOM: Configure ad0s1e, start 2125774847 length 268435456 end 2394210303
> GEOM: Configure ad0s1f, start 2394210304 length 27621744640 end
> 40015954943
>
> I tried to set hw.ata.ata_dma=0 and hw.ata.atapi_dma=0, thinking it might
> be related.  It's not, or at least it still hangs:
>
> ata1: spurious interrupt - status=0x00 error=0x01
> ata0-master: pio=0x0c wdma=0x22 udma=0x45 cable=80pin
> ad0: setting PIO4 on Intel ICH2 chip
> GEOM: create disk ad0 dp=0xc62c5570
> ad0: <Maxtor 57040H4/TAH71DPO> 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, PIO4
> GEOM: new disk ad0
> ata1-slave: pio=0x0c wdma=0x22 udma=0xffffffff cable=40pin
> ata1-master: WARNING - ATA_IDENTITY soft error (ECC corrected)[0] f:80
> typ:165 s(CHS):0/1/1 e(CHS):1023/254/63 s:63 l:78156162
> [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 ad0s1, start 32256 length 40015954944 end 40015987199
> GEOM: Configure ad0s1a, start  length 268435456 end 268435455
> GEOM: Configure ad0s1b, start 268435455 length 1588903936 end 1857339391
> GEOM: Configure ad0s1c, start  length 40015954944 end 40015954943
> GEOM: Configure ad0s1d, start 1857339391 length 268435456 end 2125774847
> GEOM: Configure ad0s1e, start 2125774847 length 268435456 end 2394210303
> GEOM: Configure ad0s1f, start 2394210304 length 27621744640 end
> 40015954943
>
> And it hangs there.  Takes a hard reset to start back up.
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>
Received on Tue Dec 16 2003 - 05:28:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:34 UTC