Insmod Input Output Error
Contents |
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get
Reading Directory Input Output Error Linux
UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support
Centos Input/output Error
Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful Links bash /root/.bashrc input/output error Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search vBulletin Message vBulletin http://www.linuxquestions.org/questions/linux-networking-3/insmod-errors-32233/ Message The administrator may have required you to register before you can view this page. Quick Navigation Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu General Help Installation & Upgrades Hardware Desktop Environments Networking & Wireless https://ubuntuforums.org/showthread.php?t=930991 Multimedia Software Ubuntu Studio Mythbuntu Ubuntu Specialised Support Ubuntu Phone and Tablet Ubuntu Development Version Security Virtualisation Ubuntu Servers, Cloud and Juju Server Platforms Ubuntu Cloud and Juju Gaming & Leisure Emulators Wine Development & Programming Packaging and Compiling Programs Development CD/DVD Image Testing Ubuntu Application Development Ubuntu Dev Link Forum Programming Talk Repositories & Backports Ubuntu Backports Bug Reports / Support System76 Support Apple Hardware Users Ubuntu Community Discussions Ubuntu, Linux and OS Chat Recurring Discussions Full Circle Magazine The Cafe Cafe Games Market Mobile Technology Discussions Announcements & News Weekly Newsletter Membership Applications The Fridge Discussions Forum Council Agenda Forum Feedback & Help Request a LoCo forum Resolution Centre Other Discussion and Support Other OS Support and Projects Other Operating Systems Ubuntu/Debian BASED Debian MINT Arch and derivatives Fedora/RedHat and derivatives Mandriva/Mageia Slackware and derivatives openSUSE and SUSE Linux Enterprise Mac OSX PCLinuxOS Gentoo and derivatives Windows BSD Any Other OS Other Projects
From: Peter.Kronberger@br-automation.co.at Date: Fri, 4 Jan 2002 12:30:50 +0100 Sender: linux-net-owner@vger.kernel.org Sensitivity: Hi, everybody [1.] insmod com20020-isa exits with an Input/Output Error http://www.spinics.net/lists/linux-net/msg03770.html [2.] The driver 'drivers/net/arcnet/com20020-isa' has problems when calling function 'com20020_found' located in 'drivers/net/arcnet/com20020.c' line 205. At this line the driver is requesting the ioport using function 'request_region' and gets the pointer to his own resource-structure although it is expecting 'NULL'. see 8. [3.] com20020, arcnet [4.] 2.4.16 output error [5.] [6.] insmod arcnet debug=65535 insmod rfc1201 insmod rfc1051 insmod com20020 insmod com20020-isa io=0x340 [7.] [8.] My ARCNet-hardware is a single SMC COM20020 which is onboard our company-specific industrial PC called PROVIT2001. It's has a fixed base-address: 0x340 and uses IRQ 15. The problems happen with all 2.4.x input output error kernels; 2.2.20 does NOT include the bug. Here's the mentioned part of the code source: http://lxr.linux.no (same as in tar-archive from kernel.org) kernel: 2.4.16 file: drivers/net/arcnet/com20020.c 204 /* reserve the I/O region */ 205 if (request_region(ioaddr, ARCNET_TOTAL_SIZE, "arcnet (COM20020)")) { 206 free_irq(dev->irq, dev); 207 return -EBUSY; 208 } Possibly is this the right line (like in 'drivers/net/ne.c' line 242) 205 if ( !request_region(ioaddr, ARCNET_TOTAL_SIZE, "arcnet (COM20020)")) { This line is working!!! Patch: --- /usr/src/linux-2.4.16-old/drivers/net/arcnet/com20020.c Fri Jan 4 12:15:25 2002 +++ /usr/src/linux-2.4.16/drivers/net/arcnet/com20020.c Fri Jan 4 12:15:55 2002 @@ -202,7 +202,7 @@ return -ENODEV; } /* reserve the I/O region */ - if (request_region(ioaddr, ARCNET_TOTAL_SIZE, "arcnet (COM20020)")) { + if (!request_region(ioaddr, ARCNET_TOTAL_SIZE, "arcnet (COM20020)")) { free_irq(dev->irq, dev); return -EBUSY; } Best Regards Peter Kronberger - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info a