Re: atacontrol mode D PIO4 persist across reboots
On Monday 10 March 2008, Philip M. Gollucci wrote: > This sets it for all controllers I only want to set it for ata1 which > contains ad2. Thanks for the tip though. Globally disable it on boot, then write a script named /etc/rc.local that selectively re-enables it for certain drives. Here's mine: -- #!/bin/sh echo echo 'Setting controllers to DMA mode' atacontrol mode acd1 udma33 -- I had to do that because my DVD-ROM would autodetect UDMA66 or higher and hang. -- Kirk Strauser signature.asc Description: This is a digitally signed message part.
Re: atacontrol mode D PIO4 persist across reboots
Hello Philip, Monday, March 10, 2008, 8:46:46 AM, you wrote: > $ atacontrol mode ad2 PIO4 > current mode = PIO4 > My problem is how do I get this to persist across reboot ? putting it into /etc/rc.conf.local should work... -- Best regards, Danielmailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: atacontrol mode D PIO4 persist across reboots
Manolis Kiagias wrote: Have a look at man 4 ata Your answer is probably: hw.ata.ata_dma=0 This sets it for all controllers I only want to set it for ata1 which contains ad2. Thanks for the tip though. ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] ad0: 19092MB at ata0-master UDMA33 ad1: 38166MB at ata0-slave UDMA33 ad2: 28667MB at ata1-master UDMA33 -- Philip M. Gollucci ([EMAIL PROTECTED]) c:703.336.9354 Consultant / http://p6m7g8.net/Resume/resume.txt http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: atacontrol mode D PIO4 persist across reboots
Philip M. Gollucci wrote: /var/run/dmesg.boot ad2: 28667MB at ata1-master UDMA33 ad2: FAILURE - READ_DMA timed out LBA=58711965 ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=0 ad2: FAILURE - READ_DMA timed out LBA=58711951 ad2: TIMEOUT - READ_DMA retrying (0 retries left) LBA=0 ad2: FAILURE - READ_DMA timed out LBA=58711964 ad2: FAILURE - READ_DMA timed out LBA=0 10-30 minutes later, it finally gets through the boot. /etc/fstab: /dev/ad2s1 /X ufs rw 2 2 the problem here is the device needs to be PIO4 $ atacontrol mode ad2 PIO4 current mode = PIO4 My problem is how do I get this to persist across reboot ? Have a look at man 4 ata Your answer is probably: hw.ata.ata_dma=0 in /boot/loader.conf Are you sure it is not a faulty (or failing) disk though? This size / age drive should have no problem running in DMA mode. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"