Port-mips archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: IDE on Cobalt Qube2



> On Mar 1, 2020, at 3:28 PM, Jason Thorpe <thorpej%me.com@localhost> wrote:
> 
> Does anyone else's Qube2 get stuck using PIO mode for the disk?

Found the problem.  Fixed in rev 1.30 of sys/arch/cobalt/dev/gt.c.  I requested the fix be pulled into the netbsd-9 branch for future updates.

[     1.000000] viaide0 at pci0 dev 9 function 1
[     1.000000] viaide0: VIA Technologies VT82C586 (Apollo VP) ATA33 controller
[     1.000000] viaide0: bus-master DMA support present
[     1.000000] viaide0: primary channel configured to compatibility mode
[     1.000000] viaide0: primary channel interrupting at irq 14
[     1.000000] atabus0 at viaide0 channel 0
[     1.000000] viaide0: secondary channel configured to compatibility mode
[     1.000000] viaide0: secondary channel interrupting at irq 15
[     1.000000] atabus1 at viaide0 channel 1
.
.
.
[     4.119930] wd0 at atabus0 drive 0
[     4.130912] wd0: <Mercury Electra 3G SSD>
[     4.130912] wd0: drive supports 1-sector PIO transfers, LBA48 addressing
[     4.130912] wd0: 111 GB, 232581 cyl, 16 head, 63 sec, 512 bytes/sect x 234441648 sectors
[     4.149945] wd0: 32-bit data port
[     4.149945] wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags)
[     4.169937] wd0(viaide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA), WRITE DMA FUA EXT

...and it performs way better.

-- thorpej



Home | Main Index | Thread Index | Old Index