recent commits break via 8235 ata

From: Nate Lawson <nate_at_root.org>
Date: Mon, 26 Mar 2007 22:04:25 -0700
Something between 2007/2/19 and 2007/3/25 breaks ata on my VIA laptop.
It boots and ad0 is not detected so it can't mount root.

The device is:
atapci0: <VIA 8235 UDMA133 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 17.1 on pci0

PCI config:
atapci0_at_pci0:17:1: class=0x01018a card=0x120a14ff chip=0x05711106
rev=0x06 hdr=0x00

boot -v working:
atapci0: <VIA 8235 UDMA133 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 17.1 on pci0
atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0xfc00
ata0: <ATA channel 0> on atapci0
atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0
atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6
ata0: reset tp1 mask=03 ostat0=50 ostat1=7f
ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: reset tp2 stat0=50 stat1=ff devices=0x1<ATA_MASTER>
ioapic0: routing intpin 14 (ISA IRQ 14) to vector 51
ata0: [MPSAFE]
ata1: <ATA channel 1> on atapci0
atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170
atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376
ata1: reset tp1 mask=03 ostat0=50 ostat1=00
ata1: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb
ata1: stat1=0x00 err=0x01 lsb=0x14 msb=0xeb
ata1: reset tp2 stat0=00 stat1=00 devices=0xc<ATAPI_SLAVE,ATAPI_MASTER>
ioapic0: routing intpin 15 (ISA IRQ 15) to vector 52
ata1: [MPSAFE]
...
ata0-master: pio=PIO4 wdma=WDMA2 udma=UDMA100 cable=40 wire
ad0: setting PIO4 on 8235 chip
ad0: DMA limited to UDMA33, device found non-ATA66 cable
ad0: setting UDMA33 on 8235 chip
ad0: 38154MB <FUJITSU MHT2040AT 0022> at ata0-master UDMA33
ad0: 78140160 sectors [77520C/16H/63S] 16 sectors/interrupt 1 depth queue
GEOM: new disk ad0
ad0: VIA check1 failed
ad0: Adaptec check1 failed
ad0: LSI (v3) check1 failed
ad0: LSI (v2) check1 failed
ad0: FreeBSD check1 failed
ata1: reiniting channel ..
ata1: reset tp1 mask=03 ostat0=00 ostat1=00
ata1: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb
ata1: stat1=0x00 err=0x01 lsb=0x14 msb=0xeb
ata1: reset tp2 stat0=00 stat1=00 devices=0xc<ATAPI_SLAVE,ATAPI_MASTER>
ata1: reinit done ..
ata1: reiniting channel ..
ata1: reset tp1 mask=03 ostat0=00 ostat1=00
ata1: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb
ata1: stat1=0x00 err=0x01 lsb=0x14 msb=0xeb
ata1: reset tp2 stat0=00 stat1=00 devices=0xc<ATAPI_SLAVE,ATAPI_MASTER>
ata1: reinit done ..
ata1-master: pio=PIO4 wdma=WDMA2 udma=UDMA33 cable=40 wire
acd0: setting PIO4 on 8235 chip
acd0: setting UDMA33 on 8235 chip
acd0: <UJDA760 DVD/CDRW/1.00> CDRW drive at ata1 as master
acd0: read 4134KB/s (4134KB/s) write 4134KB/s (4134KB/s), 2048KB buffer,
UDMA33
acd0: Reads: CDR, CDRW, CDDA stream, DVDROM, DVDR, DVDRAM, packet
acd0: Writes: CDR, CDRW, test write, burnproof
acd0: Audio: play, 256 volume levels
acd0: Mechanism: ejectable tray, unlocked
acd0: Medium: no/blank disc

--------------------------
boot -v broken:
atapci0: <VIA 8235 UDMA133 controller>...
atapci0: reserved 0x10 bytes for rid 0x20 type 4 at 0xfc00
ata0: <ata channel 0> on atapci0
atapci0: reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0
atapci0: reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6
ata0: reset tp1 mask=03 ostat0=50 ostat1=7f
ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: reset tp2 stat0=50 stat1=ff devices=0x1<ata_master>
...
ata1: reset tp1 mask=03 ostat0=50 ostat1=00
ata1: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb
ata1: stat1=0x00 err=0x01 lsb=0x14 msb=0xeb
ata1: reset tp2 stat0=00 stat1=00 devices=0xc<ata_slave,ata_master>
...
ata0: reiniting channel ..
ata0: reset tp1 mask=03 ostat0=58 ostat1=7f
ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: reset tp2 stat0=50 stat1=ff devices=0x1<ata_master>
ata0: reinit done ..
ata0: reiniting channel ..

ata0: reset tp1 mask=03 ostat0=58 ostat1=7f
ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: stat1=0x7f err=0x7f lsb=0x7f msb=0x7f
ata0: reset tp2 stat0=50 stat1=ff devices=0x1<ata_master>
ata0: reinit done ..


Thanks,
Nate
Received on Tue Mar 27 2007 - 03:04:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:07 UTC