Poul-Henning Kamp wrote:
> In message <[EMAIL PROTECTED]>, Graham Menhennitt writes:
>
>
>> Looking through the logs, I see an error message in the _.di file,
>> "mdconfig: failed to load geom_md module: No such file or directory".
>> When I try to manually load geom_md, I get "kldload: can't load
>> geom_md.ko: No such file or directory" even though that file does exist
>> in /boot/kernel.
>>
>
> That's probably you problem.
>
> Try running "mdconfig -a -t malloc -s 1m" to see if you have md(4)
> compiled into your kernel already ?
>
>
>> Also, when I try to write the disk image to my CF card, I run out of
>> space just before the end of the image. It seems that the card (SanDisk
>> 2Gb Ultra II) has a size of 2047836672 bytes but the nanobsd image is
>> 2048901120 bytes (about 1 Mb bigger). I have "FlashDevice SanDisk 2G" in
>> my config file.
>>
>
> That would also be a problem.
>
> Use the actual size of your card, I thought Sandisk would standardize
> their card sizes but that was overly optimistic.
>
>
Thanks PHK,
The first problem was solved by adding "device md" to my kernel. I don't
know why the module wouldn't load but I'm happy with the compiled in one
for now.
The second problem appears to be a difference between FreeBSD's handling
of the Sandisk CF card and Linux's. My FreeBSD machine only has UHCI USB
ports, so I was using my Linux box (with EHCI ports) to write it. When I
use the FreeBSD box, it has exactly the right size (but takes a lot
longer!).
Just booting Nanobsd now.
Thanks,
Graham
_______________________________________________
Soekris-tech mailing list
[email protected]
http://lists.soekris.com/mailman/listinfo/soekris-tech