Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: booting BeagleBoneGreen



I've managed to start NetBSD from the microSD card, with a "but".

It won't start directly--trying to boot from the microSD by holding the
USER/BOOT switch seems to hang the board (maybe it's in DFU mode--it
shows up as "ugen0" on the NetBSD host) and can only be exited by power
cycle (either physically removing/reapplying power or using the POWER
button).

Interrupting U-Boot from the eMMC, I can load the kernel from a FAT
partition on the microSD and start it.  Curiously, the kernel will
initialize, discover and attach the microSD card and proceed with it as
the root filesystem and so on.  Prior boot over network would fail to
intialize the SD card.


As I was writing this, the machine panicked:

Mutex error: mutex_vector_enter: locking against myself

lock address : 0x000000009ffd5d88
current cpu  :                  0
current lwp  : 0x000000009fdf50c0
owner field  : 0x0000000000010500 wait/spin:                0/1

panic: lock error: Mutex: mutex_vector_enter: locking against myself: lock 0x9ffd5d88 cpu 0 lwp 0x9fdf50c0
cpu0: Begin traceback...
0x9fdedb84: netbsd:db_panic+0xc
0x9fdedbb4: netbsd:vpanic+0x174
0x9fdedbcc: netbsd:snprintf
0x9fdedc0c: netbsd:lockdebug_abort+0x68
0x9fdedc2c: netbsd:obiosdhc_edma_done+0x24
0x9fdedc84: netbsd:edma_intr+0x27c
0x9fdedca4: netbsd:pic_dispatch+0x28
0x9fdedd2c: netbsd:pic_do_pending_ints+0x3a0
0x9fdedd9c: netbsd:irq_entry+0x68
0x9fdede1c: netbsd:obiosdhc_edma_xfer_data+0x494
0x9fdede6c: netbsd:sdhc_exec_command+0x238
0x9fdede8c: netbsd:sdmmc_mmc_command+0x40
0x9fdedf14: netbsd:sdmmc_mem_write_block_subr+0xbc
0x9fdedf5c: netbsd:sdmmc_mem_write_block+0xf4
0x9fdedf84: netbsd:ld_sdmmc_dobio+0x54
0x9fdedfac: netbsd:sdmmc_task_thread+0x74
cpu0: End traceback...

dumping to dev 92,1 offset 1055938
dump Skipping crash dump on recursive panic
panic: lock error: Mutex: mutex_vector_enter: locking against myself: lock 0x9ffd5d88 cpu 0 lwp 0x9fdf50c0
cpu0: Begin traceback...
0x9fded654: netbsd:db_panic+0xc
0x9fded684: netbsd:vpanic+0x174
0x9fded69c: netbsd:snprintf
0x9fded6dc: netbsd:lockdebug_abort+0x68
0x9fded72c: netbsd:sdhc_exec_command+0x24
0x9fded74c: netbsd:sdmmc_mmc_command+0x40
0x9fded7d4: netbsd:sdmmc_mem_write_block_subr+0xbc
0x9fded81c: netbsd:sdmmc_mem_write_block+0xf4
0x9fded834: netbsd:ld_dumpblocks+0x34
0x9fded89c: netbsd:dk_dump+0x288
0x9fded8cc: netbsd:lddump+0x80
0x9fdedaf4: netbsd:cpu_dump+0x100
0x9fdedb4c: netbsd:dodumpsys+0x104
0x9fdedb84: netbsd:dumpsys+0x18
0x9fdedbb4: netbsd:vpanic+0x180
0x9fdedbcc: netbsd:snprintf
0x9fdedc0c: netbsd:lockdebug_abort+0x68
0x9fdedc2c: netbsd:obiosdhc_edma_done+0x24
0x9fdedc84: netbsd:edma_intr+0x27c
0x9fdedca4: netbsd:pic_dispatch+0x28
0x9fdedd2c: netbsd:pic_do_pending_ints+0x3a0
0x9fdedd9c: netbsd:irq_entry+0x68
0x9fdede1c: netbsd:obiosdhc_edma_xfer_data+0x494
0x9fdede6c: netbsd:sdhc_exec_command+0x238
0x9fdede8c: netbsd:sdmmc_mmc_command+0x40
0x9fdedf14: netbsd:sdmmc_mem_write_block_subr+0xbc
0x9fdedf5c: netbsd:sdmmc_mem_write_block+0xf4
0x9fdedf84: netbsd:ld_sdmmc_dobio+0x54
0x9fdedfac: netbsd:sdmmc_task_thread+0x74
cpu0: End traceback...
rebooting...


-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645



Home | Main Index | Thread Index | Old Index