Bug 193608 - cubieboard2: kernel crash on disconnect/connect serial console
Summary: cubieboard2: kernel crash on disconnect/connect serial console
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: arm (show other bugs)
Version: CURRENT
Hardware: arm Any
: --- Affects Only Me
Assignee: freebsd-arm mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-13 15:10 UTC by Maxim Filimonov
Modified: 2014-09-13 15:10 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim Filimonov 2014-09-13 15:10:42 UTC
Using my cubieboard2, I disconnected serial and connected it back. Here's what I got:

[19:07:28] ]che@quad:~[$ sudo cu -s 115200 -l /dev/ttyU0
Connected


FreeBSD/arm (cubie) (ttyu0)

login: ~
[EOT]
[19:07:33] ]che@quad:~[$ sudo cu -s 115200 -l /dev/ttyU0
/dev/ttyU0: No such file or directory
link down
[19:07:44] ]che@quad:~[$ sudo cu -s 115200 -l /dev/ttyU0
Connected

Bad character in number
KDB: reentering
KDB: stack backtrace:
db_trace_self() at db_trace_self
pc = 0xc0509f5c  lr = 0xc02347dc (X_db_symbol_values+0x11c)
sp = 0xebbd68b8  fp = 0xebbd69d0
r10 = 0xc0639aa4
X_db_symbol_values() at X_db_symbol_values+0x11c
pc = 0xc02347dc  lr = 0xc0371188 (kdb_reenter+0x60)
sp = 0xebbd69d8  fp = 0xebbd69e0
r4 = 0xc0639ac0  r5 = 0xc0639aa4
r6 = 0x00000008  r7 = 0x00000009
kdb_reenter() at kdb_reenter+0x60
pc = 0xc0371188  lr = 0xc0232394 (db_error+0x24)
sp = 0xebbd69e8  fp = 0xebbd69e8
r4 = 0x00000069  r5 = 0xc06276f0
db_error() at db_error+0x24
pc = 0xc0232394  lr = 0xc0234194 (db_read_token+0x230)
sp = 0xebbd69f0  fp = 0xebbd6a08
db_read_token() at db_read_token+0x230
pc = 0xc0234194  lr = 0xc0231f88 (db_command_loop+0xa0)
sp = 0xebbd6a10  fp = 0xebbd6ab0
r4 = 0xc0546bcc  r5 = 0xc0563b71
r6 = 0xc08de1a8  r7 = 0xebbd6c98
r8 = 0x00000001  r9 = 0xc05f8688
db_command_loop() at db_command_loop+0xa0
pc = 0xc0231f88  lr = 0xc0231f48 (db_command_loop+0x60)
sp = 0xebbd6ab8  fp = 0xebbd6ac8
r4 = 0xc0546bcc  r5 = 0xc0563b71
r6 = 0xc08de1a8  r7 = 0xebbd6c98
r8 = 0x00000001  r9 = 0xc05f8688
r10 = 0xc0639aa4
db_command_loop() at db_command_loop+0x60
pc = 0xc0231f48  lr = 0xc0234910 (X_db_symbol_values+0x250)
sp = 0xebbd6ad0  fp = 0xebbd6bf0
r4 = 0x00000000  r5 = 0xc08de1b4
r6 = 0xc0639ac8
X_db_symbol_values() at X_db_symbol_values+0x250
pc = 0xc0234910  lr = 0xc0371580 (kdb_trap+0x15c)
sp = 0xebbd6bf8  fp = 0xebbd6c18
r4 = 0x00000000  r5 = 0x00000001
r6 = 0xc0639ac8  r7 = 0xebbd6c98
kdb_trap() at kdb_trap+0x15c
pc = 0xc0371580  lr = 0xc0520aa0 (undefinedinstruction+0x2c4)
sp = 0xebbd6c20  fp = 0xebbd6c90
r4 = 0x00000000  r5 = 0x00000000
r6 = 0xc052072c  r7 = 0xe7ffffff
r8 = 0xc3a86960  r9 = 0xc0370c70
r10 = 0xebbd6c98
undefinedinstruction() at undefinedinstruction+0x2c4
pc = 0xc0520aa0  lr = 0xc050bc44 (exception_exit)
sp = 0xebbd6c98  fp = 0xebbd6cf0
r4 = 0x00000001  r5 = 0xebbd6d80
r6 = 0xc391b174  r7 = 0x00060000
r8 = 0x00000001  r9 = 0xc05fc588
r10 = 0xc391b000
exception_exit() at exception_exit
pc = 0xc050bc44  lr = 0xc0370c60 (kdb_break+0x50)
sp = 0xebbd6ce8  fp = 0xebbd6cf0
r0 = 0xc0639ab4  r1 = 0x00000000
r2 = 0x00000001  r3 = 0x60000193
r4 = 0x00000001  r5 = 0xebbd6d80
r6 = 0xc391b174  r7 = 0x00060000
r8 = 0x00000001  r9 = 0xc05fc588
r10 = 0xc391b000 r12 = 0x00000000
kdb_break() at kdb_break+0x64
pc = 0xc0370c74  lr = 0xc026379c (uart_bus_attach+0x608)
sp = 0xebbd6cf8  fp = 0xebbd6d38
r4 = 0x00000000
uart_bus_attach() at uart_bus_attach+0x608
pc = 0xc026379c  lr = 0xc03093d4 (intr_event_handle+0x7c)
sp = 0xebbd6d40  fp = 0xebbd6d60
r4 = 0xc3959100  r5 = 0xebbd6d80
r6 = 0xc08e784c  r7 = 0xc3a86960
r8 = 0x00000000  r9 = 0xc055da58
r10 = 0xc3b14180
intr_event_handle() at intr_event_handle+0x7c
pc = 0xc03093d4  lr = 0xc050d0f4 (arm_irq_handler+0x60)
sp = 0xebbd6d68  fp = 0xebbd6d78
r4 = 0xebbd6d80  r5 = 0x00000021
r6 = 0xc08e784c  r7 = 0xc08daa4c
r8 = 0x0000055a  r9 = 0x00000000
r10 = 0xc055d92e
arm_irq_handler() at arm_irq_handler+0x60
pc = 0xc050d0f4  lr = 0xc050bc44 (exception_exit)
sp = 0xebbd6d80  fp = 0xebbd6dd8
r4 = 0xc3a86960  r5 = 0xc0638e14
r6 = 0x00000000  r7 = 0xc055d92e
exception_exit() at exception_exit
pc = 0xc050bc44  lr = 0xc050d8d4 (spinlock_exit+0x14)
sp = 0xebbd6dd0  fp = 0xebbd6dd8
r0 = 0x00000000  r1 = 0x000000c0
r2 = 0x600001d3  r3 = 0x60000113
r4 = 0xc3a86960  r5 = 0xc0638e14
r6 = 0x00000000  r7 = 0xc055d92e
r8 = 0x0000055a  r9 = 0x00000000
r10 = 0xc055d92e r12 = 0x00000000
spinlock_exit() at spinlock_exit+0x40
pc = 0xc050d900  lr = 0xc03243ec (__mtx_unlock_spin_flags+0xd4)
sp = 0xebbd6de0  fp = 0xebbd6df8
r4 = 0xc0638e24
__mtx_unlock_spin_flags() at __mtx_unlock_spin_flags+0xd4
pc = 0xc03243ec  lr = 0xc0309d20 (db_dump_intr_event+0x864)
sp = 0xebbd6e00  fp = 0xebbd6e38
r4 = 0xc3910f70  r5 = 0xc3a86960
r6 = 0xc3959b00  r7 = 0xc0608c20
r8 = 0xc08df1f0
db_dump_intr_event() at db_dump_intr_event+0x864
pc = 0xc0309d20  lr = 0xc0306b04 (fork_exit+0xa0)
sp = 0xebbd6e40  fp = 0xebbd6e58
r4 = 0xc3a86960  r5 = 0xc3a84000
r6 = 0xc0309b28  r7 = 0xc3910f70
r8 = 0xebbd6e60  r9 = 0x00000000
r10 = 0x00000000
fork_exit() at fork_exit+0xa0
pc = 0xc0306b04  lr = 0xc050bbd4 (swi_exit)
sp = 0xebbd6e60  fp = 0x00000000
r4 = 0xc0309b28  r5 = 0xc3910f70
r6 = 0x00000000  r7 = 0x00000000
r8 = 0x00000000
swi_exit() at swi_exit
pc = 0xc050bbd4  lr = 0xc050bbd4 (swi_exit)
sp = 0xebbd6e60  fp = 0x00000000
Unable to unwind further
db>