[Bug 210876] Re: BasiliskII has no networking because NetDriver 'sheet_net.c' doesn't compile on Gutsy/kernel 2.6.22
[Expired for basilisk2 (Ubuntu) because there has been no activity for 60 days.] ** Changed in: basilisk2 (Ubuntu) Status: Incomplete = Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/210876 Title: BasiliskII has no networking because NetDriver 'sheet_net.c' doesn't compile on Gutsy/kernel 2.6.22 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 210876] Re: BasiliskII has no networking because NetDriver 'sheet_net.c' doesn't compile on Gutsy/kernel 2.6.22
I would really like to report bugs, but BasiliskII does not even seem to be available for 10.10 anymore... -- BasiliskII has no networking because NetDriver 'sheet_net.c' doesn't compile on Gutsy/kernel 2.6.22 https://bugs.launchpad.net/bugs/210876 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 210876] Re: BasiliskII has no networking because NetDriver 'sheet_net.c' doesn't compile on Gutsy/kernel 2.6.22
Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test the current Ubuntu version (10.10). If you can test it, and it is still an issue, we would appreciate if you could upload updated logs by running apport-collect bug #, and any other logs that are relevant for this particular issue. -- BasiliskII has no networking because NetDriver 'sheet_net.c' doesn't compile on Gutsy/kernel 2.6.22 https://bugs.launchpad.net/bugs/210876 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 210876] Re: BasiliskII has no networking because NetDriver 'sheet_net.c' doesn't compile on Gutsy/kernel 2.6.22
Yes this is still a bug in Jaunty and Hardy. Here is the the output of the compile on Jaunty (i386): je...@jesse-desktop:~/Build/BasiliskII-0.9/src/Unix/Linux/NetDriver$ make cc -c -I. -I/usr/src/linux/include -O2 -Wall -D__KERNEL__ -DMODULE -DLINUX sheep_net.c sheep_net.c:21:26: error: linux/module.h: No such file or directory sheep_net.c:33:30: error: linux/miscdevice.h: No such file or directory In file included from /usr/include/linux/socket.h:23, from /usr/include/linux/if.h:23, from /usr/include/linux/netdevice.h:28, from sheep_net.c:34: /usr/include/linux/uio.h:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘iov_length’ /usr/include/linux/uio.h:47: error: expected declaration specifiers or ‘...’ before ‘size_t’ sheep_net.c:35:31: error: linux/etherdevice.h: No such file or directory sheep_net.c:40:24: error: linux/init.h: No such file or directory sheep_net.c:43:22: error: net/sock.h: No such file or directory sheep_net.c:44:21: error: net/arp.h: No such file or directory sheep_net.c:45:20: error: net/ip.h: No such file or directory sheep_net.c:46:25: error: asm/uaccess.h: No such file or directory sheep_net.c:48: error: expected declaration specifiers or ‘...’ before string constant sheep_net.c:48: warning: data definition has no type or storage class sheep_net.c:48: warning: type defaults to ‘int’ in declaration of ‘MODULE_AUTHOR’ sheep_net.c:49: error: expected declaration specifiers or ‘...’ before string constant sheep_net.c:49: warning: data definition has no type or storage class sheep_net.c:49: warning: type defaults to ‘int’ in declaration of ‘MODULE_DESCRIPTION’ sheep_net.c:81: warning: ‘struct file’ declared inside parameter list sheep_net.c:81: warning: its scope is only this definition or declaration, which is probably not what you want sheep_net.c:81: warning: ‘struct inode’ declared inside parameter list sheep_net.c:82: warning: ‘struct file’ declared inside parameter list sheep_net.c:82: warning: ‘struct inode’ declared inside parameter list sheep_net.c:83: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sheep_net_read’ sheep_net.c:84: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sheep_net_write’ sheep_net.c:85: warning: ‘struct poll_table_struct’ declared inside parameter list sheep_net.c:85: warning: ‘struct file’ declared inside parameter list sheep_net.c:86: warning: ‘struct file’ declared inside parameter list sheep_net.c:86: warning: ‘struct inode’ declared inside parameter list sheep_net.c:87: warning: ‘struct packet_type’ declared inside parameter list sheep_net.c:87: warning: ‘struct net_device’ declared inside parameter list sheep_net.c:87: warning: ‘struct sk_buff’ declared inside parameter list sheep_net.c:97: error: field ‘queue’ has incomplete type sheep_net.c:98: error: field ‘pt’ has incomplete type sheep_net.c:99: error: expected specifier-qualifier-list before ‘wait_queue_head_t’ sheep_net.c:111: error: variable ‘sheep_net_fops’ has initializer but incomplete type sheep_net.c:112: error: unknown field ‘read’ specified in initializer sheep_net.c:112: error: ‘sheep_net_read’ undeclared here (not in a function) sheep_net.c:112: warning: excess elements in struct initializer sheep_net.c:112: warning: (near initialization for ‘sheep_net_fops’) sheep_net.c:113: error: unknown field ‘write’ specified in initializer sheep_net.c:113: error: ‘sheep_net_write’ undeclared here (not in a function) sheep_net.c:113: warning: excess elements in struct initializer sheep_net.c:113: warning: (near initialization for ‘sheep_net_fops’) sheep_net.c:114: error: unknown field ‘poll’ specified in initializer sheep_net.c:114: warning: excess elements in struct initializer sheep_net.c:114: warning: (near initialization for ‘sheep_net_fops’) sheep_net.c:115: error: unknown field ‘ioctl’ specified in initializer sheep_net.c:115: warning: excess elements in struct initializer sheep_net.c:115: warning: (near initialization for ‘sheep_net_fops’) sheep_net.c:116: error: unknown field ‘open’ specified in initializer sheep_net.c:116: warning: excess elements in struct initializer sheep_net.c:116: warning: (near initialization for ‘sheep_net_fops’) sheep_net.c:117: error: unknown field ‘release’ specified in initializer sheep_net.c:117: warning: excess elements in struct initializer sheep_net.c:117: warning: (near initialization for ‘sheep_net_fops’) sheep_net.c:125: error: variable ‘sheep_net_device’ has initializer but incomplete type sheep_net.c:126: warning: excess elements in struct initializer sheep_net.c:126: warning: (near initialization for ‘sheep_net_device’) sheep_net.c:127: warning: excess elements in struct initializer sheep_net.c:127: warning: (near initialization for ‘sheep_net_device’) sheep_net.c:128: warning: excess elements in struct initializer sheep_net.c:128: warning: (near initialization for ‘sheep_net_device’) sheep_net.c:129: warning: excess elements in
[Bug 210876] Re: BasiliskII has no networking because NetDriver 'sheet_net.c' doesn't compile on Gutsy/kernel 2.6.22
I tried the modified driver from KeithB and dav7 with SheepShaver on Ubuntu Hardy 64bit, but it didn't really work. It compiled well, and I was able to ping the SheepShaver IP locally, but I did not manage to connect to any host over the network. I was getting rather weird log entries (IP-filter: -64.-88.1.17, looks like signed integer?!) and an Oops when shutting down SheepShaver. Any help would be appreciated... -- BasiliskII has no networking because NetDriver 'sheet_net.c' doesn't compile on Gutsy/kernel 2.6.22 https://bugs.launchpad.net/bugs/210876 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 210876] Re: BasiliskII has no networking because NetDriver 'sheet_net.c' doesn't compile on Gutsy/kernel 2.6.22
I must thank KeithB for creating a version of the network driver that has overall worked! I'm using kernel 2.6.26, although right now the latest stable is .27, and .28 will probably be out within days (unless it already is and I'm slow). The only change I remember needing to make to get it to compile here was on line 561 (I think). In recent kernels, dev_get_by_name's invocation prototype seems to have changed and requires two parameters instead of one. After a bit of googling to find out what to change it to, I'm seeing that newer code seems to just need to insert init_net and everything suddenly works. So, I needed to change if( !(v-ether=dev_get_by_name(name)) ) to if( !(v-ether=dev_get_by_name(init_net, name)) ) and it immediately not only compiled but modprobed perfectly. init_net seems to not need to be defined anywhere; maybe it's hidden amongst some headers. -- BasiliskII has no networking because NetDriver 'sheet_net.c' doesn't compile on Gutsy/kernel 2.6.22 https://bugs.launchpad.net/bugs/210876 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 210876] Re: BasiliskII has no networking because NetDriver 'sheet_net.c' doesn't compile on Gutsy/kernel 2.6.22
Not quite as promised (it's not a patch...), attached is a copy of sheep_net.c which should compile against kernels up to and including 2.6.23. All praise for this goes to the Mac-on-Linux boys who patched their version up to 2.6.22 - all I've done is nick their good work! This version works a treat on the stock kernel from Fedora 8 (2.6.23) using the JIT version of Basilisk so it should compile fine on Gutsy. Your mileage may be different with the older non-JIT package of course but then you really should be using the newer JIT package anyway... Next step would be to get it to compile on 8.04 and beyond - but I may need some help for that. ** Attachment added: Updated sheep_net.c for kernel = 2.6.23 http://launchpadlibrarian.net/20302137/sheep_net.c -- BasiliskII has no networking because NetDriver 'sheet_net.c' doesn't compile on Gutsy/kernel 2.6.22 https://bugs.launchpad.net/bugs/210876 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 210876] Re: BasiliskII has no networking because NetDriver 'sheet_net.c' doesn't compile on Gutsy/kernel 2.6.22
Is this symptom still reproducible in 8.10 or 9.04? ** Changed in: basilisk2 (Ubuntu) Importance: Undecided = Low Status: New = Incomplete -- BasiliskII has no networking because NetDriver 'sheet_net.c' doesn't compile on Gutsy/kernel 2.6.22 https://bugs.launchpad.net/bugs/210876 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 210876] Re: BasiliskII has no networking because NetDriver 'sheet_net.c' doesn't compile on Gutsy/kernel 2.6.22
Yes it is. When I get my act together I'll post a patch which _should_ work for Gutsy as it takes kernels up to 2.6.23 into account. Networking in kernels newer than that has changed (again) and I tripped over some name discovery thing which I totally failed to understand so sheep_net will still not work for 8.04, 8.10 or 9.04... -- BasiliskII has no networking because NetDriver 'sheet_net.c' doesn't compile on Gutsy/kernel 2.6.22 https://bugs.launchpad.net/bugs/210876 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 210876] Re: BasiliskII has no networking because NetDriver 'sheet_net.c' doesn't compile on Gutsy/kernel 2.6.22
Hi all, It is possible to have from you a compiled version, 'cause I have the same compiling problem related to this code, and there is the same problem with the newer code from Basilisk II JIT project site. Thank you Regards Francesco -- BasiliskII has no networking because NetDriver 'sheet_net.c' doesn't compile on Gutsy/kernel 2.6.22 https://bugs.launchpad.net/bugs/210876 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 210876] Re: BasiliskII has no networking because NetDriver 'sheet_net.c' doesn't compile on Gutsy/kernel 2.6.22
Yes, the JIT project code is newer and better. Personally I have reservations about the usability when running the JIT compiler - for me, keyboard mouse tend to get delayed and catch up in bursts - but you can turn it off and it works just fine. For networking, the SLiRP interface works just dandy for TCP/IP stuff - getting out to the internet for example - but won't work so well for local appletalk connections (at least, not on OS7 without appletalk or TCP/IP). It might be possible to make this work if you are able to locally route appletalk packets and re-direct them to the SLiRP interface. All a bit hairy-scary - the likes of which I've never had work reliably in the past. The same applies to the Tap/TUN interface stuff. So, although there are obvious security/permissions concerns, getting your emulated Mac to run happily on a local network and share with other Macs, the simplest and most transparent solution _is_ the sheep_net interface. Grump. Now to the happier bit - the Mac-on-Linux boys use their own sheep_net driver and they are almost entirely up to date (2.6.22). I have in the past patched some of their code into sheep_net.c to get 2.6.11 (I think) to work for me and the latest code from them _almost_ compiles so it might not be so much of a stretch - even for me! - to fix this. -- BasiliskII has no networking because NetDriver 'sheet_net.c' doesn't compile on Gutsy/kernel 2.6.22 https://bugs.launchpad.net/bugs/210876 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs