nuta / resea

A microkernel-based hackable operating system.
Other
522 stars 29 forks source link

fatfs crash during boot #6

Closed ghost closed 4 years ago

ghost commented 4 years ago

Just crashes.

[ramdisk] ready [ps2kbd] starting... [shell] starting... [appmgr] starting... [webapi] starting... [fatfs] starting... [display] starting... [e1000] starting... [e1000] found a e1000 device (bus=0, slot=3, bar0=feb80000, irq=11) [kernel] enabled IRQ: task=e1000, vector=11 [kernel] enabled IRQ: task=ps2kbd, vector=1 [ps2kbd] ready [appmgr] ready [display] ready [fatfs] servers/fatfs/main.c:39 PANIC: failed to locate a FAT file system [fatfs] WARN: Backtrace: [fatfs] WARN: #0: 000000000100076e main()+0x58e [e1000] initialized the device [fatfs] WARN: #1: 000000000100942a start()+0x2e [kernel] WARN: Exception #13

[kernel] WARN: RIP = 000000000100942f CS = 000000000000002b RFL = 0000000000000206 [kernel] WARN: SS = 0000000000000023 RSP = 0000000003004048 RBP = 0000000003004120 [kernel] WARN: RAX = 000000000100942f RBX = 00000000fffffff5 RCX = 00000000010034e8 [kernel] WARN: RDX = 0000000000000000 RSI = 0000000000000000 RDI = 0000000000000000 [kernel] WARN: R8 = 0000000000000000 R9 = 0000000000000000 R10 = 0000000000000000 [kernel] WARN: R11 = 0000000000000246 R12 = 0000000000000000 R13 = 0000000000000000 [kernel] WARN: R14 = 000000000100be60 R15 = 0000000001004270 ERR = 0000000000000032 [e1000] MAC address = 52:54:00:12:34:56 [tcpip] starting... [init] WARN: fatfs: exception occurred, killing the task... [kernel] destroying fatfs... [display] WARN: unknown message (type=1) [appmgr] WARN: unknown message type (type=1) [init] WARN: unknown message type (type=1) [ramdisk] unknown message 1

ghost commented 4 years ago

No problems after compiling with mtools 4.0.24. But the documentation should say the latest mtools version from apt-get isn't enough.

mtools 4.0.18 not enough