Hello.
Please include CC to buddy@telenet.ru in reply.
Some days ago I've upgrade my box from RELENG_5_4 to RELENG_6.
I've got 6.1-PRERELEASE and all works fine, but now kernel can't
recognize my ATA flash module, connected to the secondary ATA channel.
After some investigation, I've found that problem exist only on one
ATA flash type, from two available to me.
On 5.4-RELEASE at boot time both modules probed with warning messages:
> ad2: FAILURE - SETFEATURES ENABLE RCACHE status=51<READY,DSC,ERROR>
error=4<ABORTED>
> ad2: FAILURE - SETFEATURES ENABLE WCACHE status=51<READY,DSC,ERROR>
error=4<ABORTED>
After that, "good" module appears as:> ad2: 31MB <PQI IDE DiskOnModule/ra03.00f> [500/8/16] at ata1-master
BIOSPIO
and "bad" module appears as:> ad2: 30MB <32MB CHH/Rev 1.00> [489/4/32] at ata1-master BIOSPIO
At now, I've verbosely booted 6.1-PRERELEASE with both type of ATA
modules on same hardware.
Here is only diff between boot messages with different modules:
@@ -145,10 +145,10 @@
kernel: ata1: <ATA channel 1> on atapci0
kernel: atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170
kernel: atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376
- kernel: ata1: reset tp1 mask=03 ostat0=50 ostat1=00
+ kernel: ata1: reset tp1 mask=03 ostat0=50 ostat1=70
kernel: ata1: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
- kernel: ata1: stat1=0x00 err=0x01 lsb=0x00 msb=0x00
- kernel: ata1: reset tp2 stat0=50 stat1=00 devices=0x1<ATA_MASTER>
+ kernel: ata1: stat1=0x30 err=0x30 lsb=0x30 msb=0x30
+ kernel: ata1: reset tp2 stat0=50 stat1=30 devices=0x1<ATA_MASTER>
kernel: ata1: [MPSAFE]
kernel: isab0: <PCI-ISA bridge> at device 1.0 on pci0
kernel: isa0: <ISA bus> on isab0
@@ -319,6 +319,11 @@
kernel: ad0: 39100223 sectors [38789C/16H/63S] 16 sectors/interrupt 1 depth
queue
kernel: GEOM: new disk ad0
kernel: ata1-master: pio=PIO2 wdma=UNSUPPORTED udma=UNSUPPORTED cable=40
wire
+ kernel: ad2: FAILURE - SETFEATURES SET TRANSFER
MODEstatus=51<READY,DSC,ERROR> error=4<ABORTED>
+ kernel: ad2: FAILURE setting PIO2 on 620 chip
+ kernel: ad2: 31MB <PQI IDE DiskOnModule ra03.00f> at ata1-master
BIOSPIO
+ kernel: ad2: 64000 sectors [500C/8H/16S] 1 sectors/interrupt 1 depth queue
+ kernel: GEOM: new disk ad2
kernel: Trying to mount root from ufs:/dev/ad0s1a
kernel: start_init: trying /sbin/init
savecore: no dumps found
Please notice, that I've no problem with any ATA flash modules when I
working on RELENG_4/RELENG_5 trees.
Sincerely yours, Andrew.