hah! after fixing a very (very!) stupid bug, the networking code I wrote on the weekend just worked!!!
now, if I do ping from outside vmware to the box inside vmware, a value changes from 128 to 3 (belonging to the card = 128, belonging to the host + first buffer + last buffer). So, we are now officially receiving packets, and if we inspect the packet, we see the source mac address, the destination mac address, and all the byte of the packet!
happinesss!!
gera
Hi Gera,
Fantastic and it takes only a brief look at the code to see how much effort you have put into this so far!!!!
I have loaded SqueakNOS-gera.18.mcz and there is a slight bug, refer attached screen capture. The problem seems to be that LanceNICTransmitRingDescriptor16 used to have method externalNewAligned but it isn't there any more (it's a bit odd as Squeak/Monticello is meant to stop this from happening).
To determine where the method was added/removed I have stepped through SqueakNOS-gera.1.mcz through to SqueakNOS-gera.10.mcz and SqueakNOS-gera.17.mcz and SqueakNOS-gera.18.mcz but I have not yet found a version containing the method.
I cannot determine what externalNewAligned is meant to achieve so will await your instructions but in the mean time I will continue stepping through versions 10-16 later today.
Regards,
Johnathon
----- Original Message ----- From: "Gerardo Richarte" gera@corest.com To: squeaknos@lists.squeakfoundation.org Sent: Monday, July 10, 2006 7:49 PM Subject: [SqNOS] Networking is comming to a theater close to you!
hah! after fixing a very (very!) stupid bug, the networking code I wrote on the weekend just worked!!!
now, if I do ping from outside vmware to the box inside vmware, a value changes from 128 to 3 (belonging to the card = 128, belonging to the host + first buffer + last buffer). So, we are now officially receiving packets, and if we inspect the packet, we see the source mac address, the destination mac address, and all the byte of the packet!
happinesss!!
gera _______________________________________________ SqueakNOS mailing list SqueakNOS@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/squeaknos
Johnathon Meichtry wrote:
Hi Gera,
*Fantastic and it takes only a brief look at the code to see how much effort you have put into this so far!!!!*
:-) thanks a lot! I can't wait the next free time slot I have to continue (and finish!). I quickly tested weather the IRQ support will work for this device, and in fact, I just turned a bit on, and IRQs started arriving correctly! :-)
I have loaded SqueakNOS-gera.18.mcz and there is a slight bug, refer attached screen capture. The problem seems to be that *LanceNICTransmitRingDescriptor16 *used to have method *externalNewAligned* but it isn't there any more (it's a bit odd as Squeak/Monticello is meant to stop this from happening).
thanks a lot for reporting, it's fixed now. I have added those methods to classes in FFI, and for Monticello to include them you have to put them in a special cathegory (*SqueakNOS in our case). get .19.mcz, that should do the trick.
from what you said, I assume you are successfully upgrading SqueakNOS from Monticello and rebooting with modifications, right? didn't you have problems with PCIDeviceEntry class>>vendorsAndDevicesZLibData when loading from Monticello?
so, again, thanks for testing and reporting so fast! gera
Hi Gera,
Excellent, I've downloaded 19 and will test it in the next hour or so and let you know.
I have not actually been using Monticello, I've been downloading each file from squeaksource and loading it manually for no other reason than wanting a local copy in case I needed to revert quickly without net access.
Loading the 16,17,18 etc has worked fine although each time I have had to "PCIBusEntry initializeVendorsAndDevicesMethod" to re-import the csv and then initialize. Don't ask me why but it doesn't like the copy you imported into the ZLibData. I know, we need to figure it out eventually or come up with another method but for now its fine. BTW the ZLibData problem happens in both Monticello and FileList/Load.
I'll have also been re-building the VM with each release and also had no problems there.
Johnathon
----- Original Message ----- From: "Gerardo Richarte" gera@corest.com To: squeaknos@lists.squeakfoundation.org Sent: Tuesday, July 11, 2006 2:28 PM Subject: Re: [SqNOS] Networking is comming to a theater close to you!
Johnathon Meichtry wrote:
Hi Gera,
*Fantastic and it takes only a brief look at the code to see how much effort you have put into this so far!!!!*
:-) thanks a lot! I can't wait the next free time slot I have to continue (and finish!). I quickly tested weather the IRQ support will work for this device, and in fact, I just turned a bit on, and IRQs started arriving correctly! :-)
I have loaded SqueakNOS-gera.18.mcz and there is a slight bug, refer attached screen capture. The problem seems to be that *LanceNICTransmitRingDescriptor16 *used to have method *externalNewAligned* but it isn't there any more (it's a bit odd as Squeak/Monticello is meant to stop this from happening).
thanks a lot for reporting, it's fixed now. I have added those methods to classes in FFI, and for Monticello to include them you have to put them in a special cathegory (*SqueakNOS in our case). get .19.mcz, that should do the trick.
from what you said, I assume you are successfully upgrading SqueakNOS from Monticello and rebooting with modifications, right? didn't you have problems with PCIDeviceEntry class>>vendorsAndDevicesZLibData when loading from Monticello?
so, again, thanks for testing and reporting so fast! gera
SqueakNOS mailing list SqueakNOS@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/squeaknos
Gera,
19 Loads fine and if I diff the file vs. 18 I see the External Class/Methods but if I check for changes between the two there are none which makes me think it has loaded properly.
So then I don't see ExternalAddress and ExternalStructure being added into FFIPlugin Class (I'm assuming you mean that Class when you say "FFI").
Maybe I am not loading them correctly, that seems the most likely cause as the diff shows them as External (Category "*Extensions" and Protocol "*SqueakNOS"). I have tried Loading with the file and with Monicello and get the same results.
Regards,
Johnathon
----- Original Message ----- From: "Gerardo Richarte" gera@corest.com To: squeaknos@lists.squeakfoundation.org Sent: Tuesday, July 11, 2006 2:28 PM Subject: Re: [SqNOS] Networking is comming to a theater close to you!
Johnathon Meichtry wrote:
Hi Gera,
*Fantastic and it takes only a brief look at the code to see how much effort you have put into this so far!!!!*
:-) thanks a lot! I can't wait the next free time slot I have to continue (and finish!). I quickly tested weather the IRQ support will work for this device, and in fact, I just turned a bit on, and IRQs started arriving correctly! :-)
I have loaded SqueakNOS-gera.18.mcz and there is a slight bug, refer attached screen capture. The problem seems to be that *LanceNICTransmitRingDescriptor16 *used to have method *externalNewAligned* but it isn't there any more (it's a bit odd as Squeak/Monticello is meant to stop this from happening).
thanks a lot for reporting, it's fixed now. I have added those methods to classes in FFI, and for Monticello to include them you have to put them in a special cathegory (*SqueakNOS in our case). get .19.mcz, that should do the trick.
from what you said, I assume you are successfully upgrading SqueakNOS from Monticello and rebooting with modifications, right? didn't you have problems with PCIDeviceEntry class>>vendorsAndDevicesZLibData when loading from Monticello?
so, again, thanks for testing and reporting so fast! gera
SqueakNOS mailing list SqueakNOS@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/squeaknos
Maybe I am not loading them correctly, that seems the most likely cause as the diff shows them as External (Category "*Extensions" and Protocol "*SqueakNOS"). I have tried Loading with the file and with Monicello and get the same results.
everything should be fine, unless I have some Squeak version which is not the standard... but I am using a standard image, so:
*Extensions in Monticello mean that the methods are added to classes which are not part of the package itself. In this case ExternalAddress and ExternalStructure are part of the FFI package, which includes on one side the FFI Plugin, but also all the support classes needed for FFI. You can find ExternalAddress and ExternalStructure in cathegory FFI-Kernel. But simpler, you can find them by typing Alt-B (Browse-it) over the names (ExternalStructure or ExternalAddress), and then, you could also do Alt-m (implementors), over "allocate:aligned:" and "externalNewAligned:". this should pop-up a browser in the right methods.
My guess is that the image you got after updaing to .19 should be fine. Let me know if it's not.
gera
I am sorry, they have loaded fine with .19. I just found them a few minutes ago under FFI-Kernel (duh!). Building and testing now.
Johnathon
----- Original Message ----- From: "Gerardo Richarte" gera@corest.com Cc: squeaknos@lists.squeakfoundation.org Sent: Tuesday, July 11, 2006 4:05 PM Subject: Re: [SqNOS] Networking is comming to a theater close to you!
Maybe I am not loading them correctly, that seems the most likely cause as the diff shows them as External (Category "*Extensions" and Protocol "*SqueakNOS"). I have tried Loading with the file and with Monicello and get the same results.
everything should be fine, unless I have some Squeak version which is not the standard... but I am using a standard image, so:
*Extensions in Monticello mean that the methods are added to classes which are not part of the package itself. In this case ExternalAddress and ExternalStructure are part of the FFI package, which includes on one side the FFI Plugin, but also all the support classes needed for FFI. You can find ExternalAddress and ExternalStructure in cathegory FFI-Kernel. But simpler, you can find them by typing Alt-B (Browse-it) over the names (ExternalStructure or ExternalAddress), and then, you could also do Alt-m (implementors), over "allocate:aligned:" and "externalNewAligned:". this should pop-up a browser in the right methods.
My guess is that the image you got after updaing to .19 should be fine. Let me know if it's not.
gera _______________________________________________ SqueakNOS mailing list SqueakNOS@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/squeaknos
squeaknos@lists.squeakfoundation.org