14 September 2009, 22:56 | #21 |
Linux snob
Join Date: Sep 2008
Location: Monkey Island
Posts: 997
|
Well, that method works like a charm. WinUAE inside VirtualBox is about two times faster than with Wine.
Now the problem is, that Sarge won't auto detect the a2065. I added a2065=<MAC from ipconfig> to the name.uae file. To no avail. |
14 September 2009, 23:41 | #22 |
Zone Friend
|
@Toni: just looking a bit more into the future, well ...
It was just playing in my mind, so it might be silly but could a proper networking support in WinUAE also benefit those Kaillera folks? (who won't get a newer build in this life anymore as it seems, and the source code is §ane-ly tucked away ) |
15 September 2009, 01:20 | #23 | ||
Registered User
Join Date: Aug 2001
Location: Connecticut USA
Posts: 617
|
Yes, but that's going to be buried within the NIC configuration software or device manager.
Quote:
Quote:
|
||
15 September 2009, 16:09 | #24 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,522
|
Quote:
Card is visible in /proc/iomem (which only means Z2 board is detected) EDIT: can't find any A2065 related strings from kernel image or initrd22. EDIT2: there is kernel binary that includes a2065 but it is separate kernel module = initrd needs to be rebuilt.. Nothing to do with network play Last edited by Toni Wilen; 15 September 2009 at 16:41. |
|
15 September 2009, 20:21 | #25 | |
Linux snob
Join Date: Sep 2008
Location: Monkey Island
Posts: 997
|
Quote:
(Didn't find anything else that contains a2065.o) |
|
15 September 2009, 21:25 | #26 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,522
|
Quote:
Add IDE (I used A1200-style IDE) hardfile that includes RDB and normal Amiga partition, copy a2065.o and crc32.o to the drive. (a2065 requires crc32) (+empty partition for Linux installation) Boot to Linux (kernel and modules from that deb package, initrd22), press ALT-F2 when installer starts. type following: mount /dev/ide/host0/bus0/target0/lun0/part1 /floppy/ insmod /floppy/crc32.o insmod /floppy/a2065.o ALT-F1 back to installer. stupid but works ("works" = ethernet card is detected, didn't test any further) (for some reason floppy drives are missing from /dev) Last edited by Toni Wilen; 15 September 2009 at 21:55. |
|
15 September 2009, 22:16 | #27 | |
Linux snob
Join Date: Sep 2008
Location: Monkey Island
Posts: 997
|
Quote:
The installer gave me a list with all missing modules after doing auto detect for the second time. I think the floppy module was missing, too. But ide was definitely missing, so I don't understand how your method can work. I fear there is no easy way for me. |
|
15 September 2009, 23:08 | #28 |
Linux snob
Join Date: Sep 2008
Location: Monkey Island
Posts: 997
|
Found an even easier way.
Adding something to initrd is as easy as can be. (At least if you're on a linux host.) Code:
mkdir tmp mkdir initrd gunzip initrd22.gz sudo mount tmp/ initrd22 -o loop sudo cp -R tmp/* initrd sudo umount tmp # do something with initrd/ (e.g. add modules) dd if=/dev/zero of=initrd.img bs=1024 count=11000 /sbin/mkfs.ext2 -F -m 0 -b 1024 initrd.img 11000 sudo mount tmp/ initrd.img -o loop sudo cp -R initrd/* tmp/ sudo umount tmp gzip -9 initrd.img The kernel will automatically load all the necessary modules.and search for an install ISO on the harddrives. Didn't have one ready in the moment, though. And now I'll EDIT: I tried to build an empty hdf attach it to ide0. Then I made a ext2-image copied the first binary ISO to it and called it install.hdf. Then I attached this to ide1. Linux finds the drives, but not the ISO image on them. Did I make some mistake? Can I partition the hdf somehow (got no partition tool under WB1.3)? EDIT2: This is silly. I formatted it as affs, and it found Trashcan, but not the ISO. Hm. Last edited by gilgamesh; 16 September 2009 at 10:20. |
16 September 2009, 18:05 | #29 | ||
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,522
|
Quote:
Quote:
But mounting the iso located in IDE hdf should work, good idea.. Really stupid, not tested idea: mount the iso as a rdb hardfile and then mount it as iso9660 in Linux! 2048 block size may be needed.. |
||
16 September 2009, 18:40 | #30 |
Registered User
Join Date: Jun 2009
Location: Germany
Posts: 77
|
The network drivers are inclued in the initrd in the "nativehd" folder. With this the drivers get loaded but there's no network connectivity. This was under VMware, though with emulated NICs (one for WinUAE without any attached protocols).
Will have to test later this evening on real hardware - maybe the VMware solution was just one layer of indirection too much EDIT: Just tried with real hardware - still no joy. WinUAE ran on a ThinkPad T42 running WinXP Pro. The NIC is a Intel E1000. In the network configuration all bindings were removed from the NIC. WinPcap was version 4.1 beta5 (as bundled with the latest Wireshark). Here's what happens: The Debian Installer doesn't autodetect the card. It then presents a list with cards for which modules can be loaded. If I choose a2065 here the module gets loaded and the installer tries to auto configure via DHCP. The DHCP request times out and I get the possibility of configuring the connection manually. If I do that it returns with an error saying that something went wrong configuring the NIC. I also tried setting the IP settings manually via ifconfig on another console. This seems to work (ifconfig shows the IP I assigned to the adapter) but the IP cannot be pinged from another machine. The dmesg output also suggests that something's wrong: eth0: A2065 at 0x00e90000, Ethernet Address 00:80:10:52:99:f6 LANCE unopened after 100 ticks, csr0=0001. LANCE unopened after 100 ticks, csr0=0001. NETDEV WATCHDOG: eth0: transmit timed out eth0: transmit timed out, status 0041, reset I used the contents of this ISO: http://cdimage.debian.org/cdimage/ar...sinesscard.iso I've changed the install script to use the initrd in the nativehd direcory rather than the cdrom directory. Last edited by KillaByte; 16 September 2009 at 21:44. |
16 September 2009, 21:39 | #31 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,522
|
winuae.zip again updated, now DHCP works but mirror selection does not send any packets at all...
GUI selection also added. |
17 September 2009, 06:08 | #32 |
Registered User
Join Date: Jun 2009
Location: Germany
Posts: 77
|
Hmm - I see something different. Here DHCP doesn't work (although the errors in dmesg are gone). I can now successfully manually configure the card. Mirror selection also doesn't work.
I looked at the ifconfig stats after the mirror selection failed. It showed transferred packets but no received packets. This fits what I can see on the NIC. The activity LED is blinking at the DHCP request as well as at the mirror selection. Seems like he is able to send packets but unable to receive any here. EDIT: Here's an interesting tidbit about the available initrds: the cdrom one tries to access the CD directly (duh), the hd-media one tries to access a ISO image on the hard disk while the nativehd one tries to get everything from the network. Last edited by KillaByte; 17 September 2009 at 07:10. |
17 September 2009, 08:28 | #33 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,522
|
Quote:
Make sure you don't have any firewalls active, they can interfere with winpcap. (sometimes really weirdly, I have noticed it with ESET for example) Last edited by Toni Wilen; 17 September 2009 at 12:14. |
|
17 September 2009, 09:54 | #34 |
Registered User
Join Date: Sep 2008
Location: Sesimbra/Portugal
Posts: 1,462
|
If anyone uses also Windows 7 Firewall Control 3.0 you must create a rule EnableAll for the WinPcap Remote Packet Capture Daemon. As in this case you don't even have a notification from Win 7 Firewall Control as usual, when any new app/service tries to send/receive data to you network/internet.
|
17 September 2009, 09:59 | #35 |
Linux snob
Join Date: Sep 2008
Location: Monkey Island
Posts: 997
|
I mounted a ext2fs with netinst and binary1 ISOs on IDE. The installer accepted them. (Probably made a mistake last time.) I think it is getting time for a Linux on UAE thread.
|
17 September 2009, 19:46 | #36 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,522
|
Yet another winuae.zip update (17.09), more A2065 fixes, now it should work without transmitter timeouts + other fixes.
It seems all(?) mirrors have deleted Sarge's installation files ages ago.. Btw, tail -f /var/log/syslog in another console can be very useful. |
21 September 2009, 10:32 | #37 |
Registered User
Join Date: Jun 2009
Location: Germany
Posts: 77
|
As for the Sarge mirrors:
You can enter archive.debian.org manually. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PCMCIA ethernet card on the A1200 | Fabie | support.Hardware | 12 | 20 November 2019 16:10 |
wanted: Amiga Ethernet Card | plasmar | MarketPlace | 1 | 07 April 2008 08:26 |
Hydra ZII ethernet card | jhaifley | support.Hardware | 11 | 06 October 2006 09:52 |
[Wanted] Ethernet network card | berthos | MarketPlace | 0 | 14 April 2006 12:09 |
Ethernet card | Frootloop | project.SPS (was CAPS) | 8 | 10 August 2003 23:54 |
|
|