booting from CF

Freddie Cash fjwcash at gmail.com
Mon Nov 15 16:03:30 UTC 2010


On Mon, Nov 15, 2010 at 7:05 AM, Alexander Motin <mav at freebsd.org> wrote:
> Kirill Yelizarov wrote:
>> I have a problem with booting 8.1-stable from compact flash. This maybe some speed selection issue. I have two verbose dmesg of the same hardware: 7.2 stable and 8.1-stable. The main difference in 7.2 is such message:
>> ad0: setting PIO4 on ICH5 chip
>> ad0: FAILURE - SET_MULTI status=51<READY,DSC,ERROR> error=4<ABORTED>
>> ad0: 3887MB <TRANSCEND 20081024> at ata0-master PIO4
>> But 7.2 starts and run.
>> And 8.1 stable when trying to mount root shows the following
>> Trying to mount root from ufs:/dev/ad0p2
>> ct_to_ts([2010-11-15 12:41:03]) = 1289824863.000000000
>> start_init: trying /sbin/init
>> Nov 15 15:41:03 init: /bin/sh on /etc/rc terminated abnormally, going to singlee
>> Enter full pathname of shell or RETURN for /bin/sh:
>> And then i can only switch if off using acpi or just power off.
>>
>> I know there were changes in ata. Maybe there are some tunings available to select PIO4 (most cf are using it)?
>
> In 8-STABLE there were added tunables hint.ata.X.devX.mode and
> hint.ata.X.mode to set ATA mode during boot. Before that - only
> hw.ata.ata_dma.
>
>> P.S. I have two verbose dmesg but they are rather big. If needed i can post them hear.
>
> Verbose dmesg could be useful in many cases. Better upload it somewhere
> else and post a link here.

On our 7.3 and 8.1 boxes, I've had to disable DMA in the BIOS and via
/boot/loader.conf in order to successfully boot off 2 GB and 4 GB
CompactFlash cards, in CF-to-IDE and CF-to-SATA adapters.


-- 
Freddie Cash
fjwcash at gmail.com


More information about the freebsd-stable mailing list