Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
soc:2008:stefanha:journal:week4 [2008/06/21 00:25] stefanha |
soc:2008:stefanha:journal:week4 [2008/06/23 04:58] (current) stefanha |
||
---|---|---|---|
Line 166: | Line 166: | ||
I have omitted performance optimizations from the Linux driver. The Linux driver has a "copy threshold" which dictates whether to copy a received packet to a fresh IO buf to hand off to the network stack, or whether to remove the current IO buf from the RX ring and pass it straight to the network stack (and allocating a fresh IO buf for the RX ring). I'll talk to Balaji about performance measurement since he's been optimizing his USB driver. | I have omitted performance optimizations from the Linux driver. The Linux driver has a "copy threshold" which dictates whether to copy a received packet to a fresh IO buf to hand off to the network stack, or whether to remove the current IO buf from the RX ring and pass it straight to the network stack (and allocating a fresh IO buf for the RX ring). I'll talk to Balaji about performance measurement since he's been optimizing his USB driver. | ||
- | Next steps: | + | **Lilo bzImage debugging still underway**. I made a little bit of progress tonight by determining that the triple-fault happens in the call to ''install''. I think that EIP goes crazy somewhere inside ''install'' and hence the triple fault. I'm sure the issue triggers inside ''install'' since I've placed infinite loops before and after the call. The loop after the call never happens. |
- | * [b44] Handle errors. | + | |
- | * [b44] Cleanup & testing. | + | My current debugging cycle is by booting up Damn Small Linux in QEMU and copying over my latest ''gpxe.lkrn'', running ''lilo'', and rebooting into gPXE. This is slow and frustrating. I need to script it but my DSL install seems to be read-only. |
- | * [bzImage] Debug Lilo triple-fault. | + | |
- | * [GDB] Update [[:dev:gdbstub|GDB stub page]] and screencast when UDP code is merged into mainline. See [[http://grub.enbug.org/DebuggingWithGDB|GRUB GDB wiki page]] for inspiration. | + | ===== Next week ===== |
- | * [GDB] Real-mode remote debugging. | + | On to [[.:week5|Week 5]]. |