Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| soc:2011:meteger:journal:week5 [2011/06/23 11:15] meteger | soc:2011:meteger:journal:week5 [2011/06/26 07:45] (current) meteger | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| Pushed the tg3_transmit() code to iret. Today I tested the open and transmit code. My test machine locks up or reboots after open() is called(sometimes), and I was trying to find the cause of this bug. I'm probably messing up some pointer and/or DMA addresses, but haven't found out which one yet. | Pushed the tg3_transmit() code to iret. Today I tested the open and transmit code. My test machine locks up or reboots after open() is called(sometimes), and I was trying to find the cause of this bug. I'm probably messing up some pointer and/or DMA addresses, but haven't found out which one yet. | ||
| + | |||
| + | ====== Day 4 ( June 23 ) ====== | ||
| + | |||
| + | I continued debugging the crash/reboot issue today. Unfortunately I don't have any equipment for a serial console in my apartment in Vienna, and I can't make out the text before the machine reboots on any of my test machines. I have to insert code to deliberately freeze/hang the machine after every line of debugging output and test gPXE, which makes this a slow and tedious task. Unfortunately I haven't found the bug so far. | ||
| + | |||
| + | ====== Day 5 ( June 24 ) ====== | ||
| + | |||
| + | After an exam today I finally got home where I could test gPXE with a serial console. This made debugging a lot easier, and I located the bug to be an uninitialized field in the private driver structure( tp->dma_rwctrl). I started porting the function to initialize this field. Hopefully we won't discover much more bugs. | ||



