[expert] writing to / reading from ISA Card using outw/inw
Dear Mandrake-Experts I have an PnP-ISA-Card installed in my PC, but do have problems reading/writing from/to the card. /proc/isapnp says: Card 1 'BUR0020:BUR PCIO' PnP version 1.0 Logical device 0 'BUR:Unknown' Supported registers 0x2 Device is active Active port 0x220 Active IRQ 5 Active DMA ,0 Resources 0 Priority acceptable Port 0x200-0xffe0, align 0x1f, size 0x20, 16-bit address decoding IRQ 3,4,5,6,7,2/9,10,11,12,14,15 High-Edge My interpretation is that the Base Address is 0x220. I'm using ioperm to get permission to read/write to the card as follows (I'm root): int initPort() { if(iIOAddr == 0) //iIOAddr is 0x220 return 1; return ioperm(iIOAddr, 0x20, 1); } Reading(writing is done as follows: void readIOw(uint16 iOffset, uint16 *iVal) { if (iVal == NULL) { printf(readIOw: can't write to null pointer\n); return; } *iVal = inw(iIOAddr + iOffset); //usleep(1); } void writeIOw(uint16 iOffset, uint16 iVal) { outw(iVal, iIOAddr + iOffset); //usleep(1); } Well, to be short, it doesn't work. readIOw always returns 0x, which shouldn't be. The same Card works fine under Tornado/vxWorks using the same mechanisms. Therefore the I think the addresses are correct and it might be a Linux realated problem. Any help is really welcome Marcus Content Security by MailMarshal Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [expert] Firewall/Gateway ?
Hmm, for blocking of IM's take a look at http://www.novell.com/coolsolutions/gov/features/tips/t_blocking_instant_messengers_gov.html Best idea would be IMHO to block the login server e.g. login.oscar.aol.com in your firewall scripts, blocking the ports will not work. Your idea will work, you will just have to configure the firewall a little bit ;-) but on the other side, if the Novell Server is running BorderManager this can be done directly on the Novell Server. Bye Marcus -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Aaron WintersSent: Thursday, January 24, 2002 4:37 AMTo: Mandrake ExpertSubject: [expert] Firewall/Gateway ? I have 49 Windows PCs (all but 2 are running Win2k and they are 98se), 16 Macs one Win2k DC and 1 MDK 8.1 web, ftp, ssh serverthat I manage. They are on a Win2k domain and the DC does all the DNS, the client PCs all have static IPs. They all get there gateway out from a Novell server that I have no control of. I would like to add some firewall protection to my portion of the network (did I mention all the IPs are external!) and I want to be able to block the IM clients like Yahoo, AIM by killing their ports. Could I add a linux box to be the firewall and gateway without to much knowledge of setting this stuff up under Linux. Would it work by pointing the Linux box to the current gateway and change the clients to point to it for their gateway? Thanks,__You're just jealous because the voices are talking to me!
[expert] SSH updates
Hi, I'm trying since days to install the SSH updates to my 8.1 but I always get source not found, source corrupted etc. the other updates are working fine. any idea? Tschüss Marcus Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] LM8: ext2 fs corruption bug
Hello, I never received an answer to http://www.mail-archive.com/expert@linux-mandrake.com/msg36254.html I know there is an ext2 fs corruption bug in kernels prior to 2.4.4pre2. It is described as affecting filesystems under heavy load. I am concerned about this. I just read on mandrake-forum that there will be no official 2.4.4 kernel update. Judging from the discussion on 2.4.4 elsewhere it appears to be another release in the 2.4-series kernel with problems. I am starting to believe that the 2.4 kernel in general has not yet stabilized. I downloaded and installed 2.4.4 myself and it appears to have broken some apm-related code. My thinkpad freezes frequently when coming OUT of suspend mode. Also, I notice that dvd playback appears smoother under 2.2.19 than 2.4.3/4. Can anyone clarify, or offer suggestions? thank you! Steven Marcus __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/
[expert] LM8: as86 missing when compiling 2.2.19
Hello, I tried to compile kernel 2.2.19 on LM8. kgcc was used instead of gcc. I suppose this is ok. However, as86 is being used. On a hunch, I ln -s /usr/bin/as /usr/bin/as86. However that does not work as some options are not recognized. Can anyone help? thanks Steven Marcus __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/
[expert] LM8 ext2 fs corruption? mdk patches
There is an ext2 fs corruption bug in 2.4.3. The bug is officially fixed as of 2.4.4pre2. I'd like to know if it is present in 2.4.3-20mdk. Is there any place that one can find a listing of the mdk patches applied to any linus kernel? tia, srnm __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/
Re: [expert] kde2 on Mandrake 7.1
Check ftp.kde.org. all the file you need are located there. I personally needed upgrade from pam-07.2-9 to pam-0.72-12 because otherwise kdm does not allow logins anymore (that is a little bit anoying). Marcus On Tue, 24 Oct 2000, you wrote: Can anybody tell me what are the packages to be installed to upgrade my Mandrake 7.1 system to support kde2..Any pointers are lso welcome Cheers Aravind S Content-Type: text/plain; name="message.footer" Content-Transfer-Encoding: 8bit Content-Description: Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.
Re: [expert] Niiiiice. Kill off kde STABLE 2.0 immediately
I just downloaded it from ftp.kde.org . You can also download it from one of it's mirrors if the server is full. Marcus On Tue, 24 Oct 2000, you wrote: Real nice. Yesterday, kde releases, finally, the stable, final kde-2.0. Yesterday you could download it from mandrake cooker, from rpmfind, from every mirror known to man. Today? It's totally gone. Vanished. NO mirror has it. It no longer exists. Has ANYONE downloaded the set? Could you upload it to a mirror somewhere so people can actually get it again? praedor Content-Type: text/plain; name="message.footer" Content-Transfer-Encoding: 8bit Content-Description: Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.
[expert] Software RAID on root fs
Hello, I am planning on Trying to configure my linux box as a (Software) RAID 1 box. The only problem I saw was that you cannot just make your root filesystem ("/") as a RAID. Why is that (what's the point of having RAID if your root filesystem is not redundant). I noticed that there are several work arounds on the internet. Has anyone ever tried this? Please let me know. Any information on (software) RAID is welcome because I never did this before. Marcus Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.
Re: [expert] processor family
Just do a uname -a. It will tell you which processor family it is. I have a AMD-K6-500 which is i586 (So yours probably to). I once tried to install i686.rpm packages but rpm refused it because I it was complaining about invalid architecture. I believe it is possible to put K6 i.s.o. i586 or something like that in your configuration file but I never tried that. I never compile the kernel anymore because it is almost all modules now and everything works 100% for me without compiling. I just install the binary kernel/modules. Regards, Marcus On Wed, 25 Oct 2000, you wrote: When compiling kernel 2.2.15 in mandrake 7.1 deluxe where would the amd k6-2/350 processor fit in?(processor family). Thanks in advance, Tony Content-Type: text/plain; name="message.footer" Content-Transfer-Encoding: 8bit Content-Description: Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.
Re: [expert] Compile of Gimp
latest rpm I found was gimp 1.1.26 on rpmfind.net Marcus - Original Message - From: "Mogens Jæger" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 05, 2000 11:08 PM Subject: [expert] Compile of Gimp Hey list I have been trying to compile Gimp to support my dual-Celleron, on a Mandrake 7.2 beta3, with almost everything installed from 2 CD's. I am using the 'new' Gimp-1.1.27 version, which should be corrected for perl-problems, but when I run a "./compile --with-treads --with-mp" I get the following output: (snip) checking for PDL support... yes checking for PDL include path... -I/usr/lib/perl5/site_perl/5.6.0/i386-linux/PDL/Core checking for PDL typemap... /usr/lib/perl5/site_perl/5.6.0/i386-linux/PDL/Core/typemap.pdl building embedded perl module... no writing Gimp/Config.pm... ok Checking if your kit is complete... Warning: the following files are missing in your kit: po/Makefile.PL po/update.sh Please inform the author. Writing Makefile for Gimp::Lib Writing Makefile for Gimp::Net Writing Makefile for Gimp::UI Writing Makefile for Gimp When I then run a "make" everything seems to be OK - no error statements. Running "make install" (as root) ends as following: (snip) /usr/bin/ld: gimpset.o: invalid string offset 1 = 0 for section `.shstrtab' libgimpim.a: could not read symbols: Malformed archive collect2: ld returned 1 exit status make[1]: *** [gimp] Error 1 make[1]: Leaving directory `/home/mogens/Installerede-programmer/gimp-1.1.27/app' make: *** [install-recursive] Error 1 Who is the author mentioned at the end of the compile section? Is it the Author of the Gimp or of Mandrake? 'building embedded perl module... no' why not? and is this my problem? which part of the perl installation should it come from? One final thing - as far as I can see, it has no influence on the build of the program, but I always get the message: configure: warning: *** Help browser plug-in will not be built (GtkXMHTML library not found) *** I can't find any RPM's with that name, so where do I get hold of that library? Thanks in advance Sincerely Mogens Jæger Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list. Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.
Re: [expert] XFree 4.0.1 on Mandrake 7.1 with RPM
This means you have to upgrade to a version of rpm that is greater or equals to rpm 3.0.3-1. So upgade to rpm 3.0.5 for example. I upgraded from a initscript-4.9x to a 5.2x release without any problems on a Redhat system but did not try this on mandrake yet. I think Mandrake is just redhat with some additions so in theory it should work. But did not test it yet. Marcus - Original Message - From: "Alex Willmer" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 03, 2000 10:03 PM Subject: [expert] XFree 4.0.1 on Mandrake 7.1 with RPM With a geforce 2 it is necessary for me use xfree 4.0.1 with Nvidia's drivers. Following the advice of several people on the list I'm upgrading using the RPMs from cooker, however I have encountered a couple of problems. Below is a copy of my attempts so far [root@bertha xfree-4.0.1]# ls XFree86-100dpi-fonts-4.0.1-21mdk.i586.rpm XFree86-4.0.1-21mdk.i586.rpm XFree86-75dpi-fonts-4.0.1-21mdk.i586.rpm XFree86-Xnest-4.0.1-21mdk.i586.rpm XFree86-Xvfb-4.0.1-21mdk.i586.rpm XFree86-devel-4.0.1-21mdk.i586.rpm XFree86-libs-4.0.1-21mdk.i586.rpm XFree86-server-4.0.1-21mdk.i586.rpm XFree86-static-libs-4.0.1-21mdk.i586.rpm XFree86-xfs-4.0.1-21mdk.i586.rpm man-pages-1.31-1mdk.noarch.rpm [root@bertha xfree-4.0.1]# rpm -U * error: failed dependencies: rpmlib(VersionedDependencies) = 3.0.3-1 is needed by XFree86-100dpi-fonts-4.0.1-21mdk rpmlib(VersionedDependencies) = 3.0.3-1 is needed by XFree86-75dpi-fonts-4.0.1-21mdk initscripts = 5.27-28mdk is needed by XFree86-xfs-4.0.1-21mdk [root@bertha xfree-4.0.1]# rpm -q rpmlib package rpmlib is not installed [root@bertha xfree-4.0.1]# rpm -q initscripts initscripts-4.97-34mdk My questions are 1) how do i get rpmlib? Might I already have it? It doesn't appear to be a package in it's own right 2) How safe is it to upgrade initscripts to the cooker version? They must be fairly specific, ie incompatible between mandrake releases. 3) Is what I'm doing a good idea? Alex Willmer Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list. Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.
Re: [expert] Penguin Happy Mother Board
Did not even know there are already dual athlon boards out there! Well if you find one, I am buying one too. Marcus - Original Message - From: "Sparks, Charley" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 04, 2000 6:16 PM Subject: [expert] Penguin Happy Mother Board DO any 'sperts out there know of a Linux Friendly dual Athalon 1 GHz MB ?? Thanks Charley Sparks Expert: an EX is a hasbeen and a spert is a drip under pressure :-) Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list. Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.
Re: [expert] giving up (for now) compiling packages
I am wondering how much speed you gain installing i686 instead of i586 packages. I now my AMD-K6-2 500Mhz refuses to run i686 packages but i586 work fine for me (when I do uname -a linux tells me I run a i586 and rpm is smart enough to deny installation of any i686.rpm). So maybe i686 packages only work on certain systems. If you gain a lot of speed from your i686 it is woth the trouble but if it is only a few percent maybe it is a good idea to stick with i586 packages. Maybe those "invalid character 45" errors you got are causing all the trouble. From all my experiments with linux I learned one thing: Playing with glibc = playing with fire (since a lot of application are using glibc). But if you fixed your problem I am still intrested to hear from you what it was. Marcus - Original Message - From: "Bill Piety" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 03, 2000 5:01 AM Subject: Re: [expert] giving up (for now) compiling packages Praedor Tempus wrote: OK, I am tired of a near unusable system because of the problems building packages on Mandrake 7.2beta so I am going with i586.rpms, except for those that I KNOW built properly for i686. I have replaced my glibc build - it built, but with a bunch of "invalid character 45" errors that make me a bit nervous about the integrity of the resultant i686.rpms. I have replaced a lot of things with the i586.rpms. One thing that I cannot get to work, no matter what, is the menu package. It installs fine (menu-2.1.5-28mdk OR menu-2.1.5-30mdk) but crash bigtime whenever "update-menus" is called. EVERY time something tries to make use of "update-menus" upon install results in segfault (core dump). Every time. It did this with the src build I compiled. It does it with each binary rpm I try. Does anyone have a functional 7.2beta menu rpm? I have gone back and made sure to RE-install the other rpms that are listed as dependencies for menu to no avail. It doesn't work. praedor Don't envy the loops you've been jumping thru with this. There was a 'bug' of a sort in glibc-2.1.3 concerning 'invalid character 45' errors and, for example, 'full-config-sysdirs'. Essentially, each instance needed to be converted to full_config_sysdirs. Do you have the offending output? There was a patch out for glibc specifically directed toward the invalid character 45 problem. Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list. Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.