booting from CF

Alexander Motin mav at
Mon Nov 15 15:06:08 UTC 2010

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

> 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.

Alexander Motin

More information about the freebsd-stable mailing list