FreeBSD 10.0-ALPHA1 r255532 bootup freeze on BBB
Su Kang Yin
paradyse at gmail.com
Sun Sep 15 05:26:00 UTC 2013
Hi,
I found that issue.
It is because I disabled this options:
#options DDB #Enable the kernel debugger
#options INVARIANTS #Enable calls of extra sanity checking
#options INVARIANT_SUPPORT #Extra sanity checks of
internal structures, required by INVARIANTS
#options WITNESS #Enable checks to detect
deadlocks and cycles
#options WITNESS_SKIPSPIN #Don't run witness on
spinlocks for speed
#options DIAGNOSTIC
Without them rootfs does not mount (kernel does not freeze, when I
eject mmc, kernel shows "mmc0: detached")
I use default kernel config and it works fine.
Thanks,
Yin
On 15 September 2013 07:25, Tim Kientzle <tim at kientzle.com> wrote:
>
> On Sep 14, 2013, at 12:55 PM, Ian Lepore <ian at freebsd.org> wrote:
>
>> On Sun, 2013-09-15 at 01:15 +0800, Su Kang Yin wrote:
>>> Log:
>>>
>>> 48.0MHz/4bit/65535-block
>>> uhub0: 1 port with 1 removable, self powered
>>> uhub1: 1 port with 1 removable, self powered
>>>
>>> ^^^^^^^^^^ Stuck here.... and I didn't connect any usb device.
>>>
>>> Any idea?
>>>
>>
>> Two thoughts... make sure you're powering the board with a 5v adapter,
>> not through a usb connection,
>
> I have lots of 5v supplies around but when I recently tried
> to run one of my BBB from a USB connection, it did hang
> a lot. The BBW worked okay, though.
>
> I suspect we're missing some boot code to detect
> the power source and adjust the CPU clock accordingly.
>
>> and try adding this to your kernel config:
>>
>> option USB_HOST_ALIGN=64
>>
>> If I don't use a separate power supply I get strange usb errors (but not
>> a hang). If I do use the power supply, I get a data abort. Usb has
>> never worked on my BBW, but I don't need it, so I've never tried hard to
>> figure out why.
>
> I've just recently started tinkering with USB on my BBB here.
> In particular, I've been able to run a urtwn USB Wifi adapter
> (Specifically: adafru.it/814).
>
> I haven't tried with the BBW, though.
>
> Tim
>
>
> _______________________________________________
> freebsd-arm at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
More information about the freebsd-arm
mailing list