Saturday, August 25. 2007
IP 1000A ethernet driver Fedora 7 Posted by Jeremy Coates
in Fedora at
22:03
Comment (1) Trackbacks (0) IP 1000A ethernet driver Fedora 7
Discovered today that a previously working ethernet driver for the IP1000A chipset stopped working when upgrading to the latest Fedora 7 kernel (2.6.22.1-41). When compiling the driver there's now output indicating a problem:
ipg_main.c:4045: warning: implicit declaration of function ‘pci_module_init’ If you've installed or upgraded to Fedora 7 (or are running a 2.6.22+ kernel) along with an ethernet adapter using the IP1000A chipset (e.g. from /sbin/lspci getting something similar to "Sundance Technology / IC Plus Corp IP1000 Family Gigabit Ethernet" - running on an Abit motherboard here) and are using the drivers as found at http://www.icplus.com.tw/driver-pp-IP1000A.html (and this zip file in particular) then you'll need the following mod for the source code: Continue reading "IP 1000A ethernet driver Fedora 7" Thursday, May 24. 2007
Beryl window manager and Java blank ... Posted by Jeremy Coates
in Linux at
21:50
Comments (5) Trackbacks (0) Defined tags for this entry: awt toolkit, bash, baz, beryl, business accountz, compiz, java, libXp, zend studio
Beryl window manager and Java blank windows
If like me you're using the Beryl window manager for linux (extremely cool eye candy) and have misbehaving Java applications that don't show windows properly, the title bar draws but the rest is blank, then you'll need to employ the fix as detailed in several places on the net including Arch Linux Wiki - Beryl. This cured things for blank windows with the Zend Studio IDE and Business Accountz both of which I use daily!
Basically add the following to your .bashrc file or /etc/profile (then restart X) export AWT_TOOLKIT="MToolkit" As I'm running on x86_64 I also had to install a 386 library (libXp) as well (as the Java in use was a 386 version) for the Java apps to work. Thursday, March 15. 2007
Suspend / resume finally working ... Posted by Jeremy Coates
in Fedora, Linux at
22:54
Comments (4) Trackbacks (0) Suspend / resume finally working Acer Ferrari 4005WLMi
The day has finally come, my laptop finally suspends and resumes correctly under Fedora Core 6 - it's mostly got part way through the suspend operation before and then hung, or on the few occasions where it shutdown, it would hang or panic on resume. The only one minor thing it didn't quite pull off was getting the attached usb hard drive back in action - a quick unplug and replug later and it's sorted.Today using kernel 2.6.19-1.2911.6.5.fc6 it worked - suspend all the way to power off, and on resume even got the WiFi fired back up. This is quite cool, however I'm just in the middle of downloading another kernel update and I hope that keeps the progress made with suspend and resume on this laptop. Thursday, June 29. 2006VMware need to re-run vmware-config.pl every reboot on linux
I found using VMware server or workstation on udev based linux kernel (2.6.x) hosts, that I had to re-run the vmware-config.pl script after every reboot - which is quite annoying when you want the guest OS to run as the service starts. So the simple solution is to get the VMware init script to check for and re-create the nodes as required:The issue is that due to udev being a dynamic system, nodes are wiped and re-created in /dev each boot. Add the following just under the start) line in /etc/init.d/vmware start) # Start insert if [ ! -e "/dev/vmmon" ]; then mknod /dev/vmmon c 10 165 chmod 600 /dev/vmmon fi for a in `seq 0 9`; do if [ ! -e "/dev/vmnet$a" ]; then mknod /dev/vmnet$a c 119 $a chmod 600 /dev/vmnet$a fi done # End insert if [ -e "$vmware_etc_dir"/not_configured ]; then Which recreates the nodes that are required - just need VMware to pick that up for future versions. Remember, you'll still need to re-run vmware-config.pl after a kernel upgrade. Tuesday, June 6. 2006
Yum upgrade FC4 to FC5 dbus session ... Posted by Jeremy Coates
in Fedora at
09:35
Comments (0) Trackbacks (0) Yum upgrade FC4 to FC5 dbus session failure
Just solved an issue on a machine upgraded via yum from FC4 to FC5 tha had been bugging me for ages. The symptoms were that gnome power manager would fail with a message saying that dbus was not running and that eval `dbus-launch --auto-syntax` needed to be run. The other symptom I noticed was that dbus-monitor or anything else that connected to dbus session would fail with a 'connection refused' message. After trawling round the net, I found a Redhat Bugzilla posting that resolved the issue - between FC4 and FC5 the location of dbus-daemon had moved from /usr/bin to /bin (and also dbus-cleanup-sockets). The yum upgrade for the dbus packages had not removed the FC4 versions from /usr/bin so a quick rm /usr/bin/dbus-daemon and rm /usr/bin/dbus-cleanup-sockets followed by a reboot sorted the problem altogether. Perhaps that should be added to the Yum upgrade FAQ on Fedora wiki. Another small but annoying problem resolved Thursday, May 18. 2006
Online banking HTML output to QIF, ... Posted by Jeremy Coates
in Linux at
11:02
Comments (4294967295) Trackbacks (0) Online banking HTML output to QIF, import to Grisbi
Had an issue in extracting info from our online banking facility into something a little more useful. I had decided on Grisbi (available for Linux and Windows®) as an appropriate tool to do what I was after. The challenge is how to get from my banking data into Grisbi. Firstly I checked with the bank - "At the moment, we can't transfer account information to popular accounting packages or spreadsheets. Although we haven't got a definite date for introducing this facility, it has been scheduled for inclusion in our Online service and we'll let you know as soon as it's available." I'm not the sort of person to be foiled by that sort of response so embarked upon working out a reliable import routine - especially as the online statement is just an HTML table which can be imported into most spreadsheets with ease. Grisbi supports the QIF format for importing data as well as a few others, so that was my target format. I came across a macro for Open Office Calc (there's also a similar macro for Excel) that exports to the QIF format. So I tried a simple save of the transaction history of my online statement as an html file. This I then opened into oocalc and the transactions were imported, a few row and column deletes later to clean up the un-needed elements and I was left with a list of transactions ready to export. After a little playing about with the CALC2QIF macro, I was able to get the columns sorted to the order that Grisbi expected (I actually did this using a new sheet, pulling in the data I wanted from the online source). A quick save to qif format later and import into Gribsi and I soon had 2 years worth of banking history imported, acurately too - there were no missing transactions - Brilliant! So just thought I'd share that to encourage others to circumvent the brick wall that is the bank and do it the underground (but reliable) way - link a few tools together - enjoy. Friday, May 5. 2006
Segmentation fault using RPM Posted by Jeremy Coates
in CentOS, Linux at
00:40
Comment (1) Trackbacks (0) Segmentation fault using RPM
I've got a CentOS 4.2 machine (x86_64 variety) that usually runs very sweetly, with hindsight, the adage if it ain't broke don't fix it comes to mind! Same problem, anything to do with rpm resulted in a segfault. Oh dear, or similar sentiments thinks I, best check what's going on elsewhere on the system - all seemed fine as usual, still got web server, mail etc.There I was doing the usual 'yum update' then the next thing 'segmentation fault' - agghhh! Anything I tried with yum resulted in the same problem, so turned to the underlying rpm commands instead. I tried digging around in yum, rpm and message logs - nothing of any interest, so I remembered that you can do a rpm rebuilddb as detailed on rpm's site however, that also failed with a segfault so it was obviously something a little more serious, but at least now I'd backed up the /var/lib/rpm directory which I'd need later. This stumped me for a while, so I started looking at a lower level using 'strace -f rpm' to see where things failed - always at the same point just after loading /lib64/tls/libc.so.6 - so I uploaded, did I mention this machine is remote, a replacement copy of the underlying libc-2.3.4.so and rsync'd it into place - no change rpm still segfaulting. After pondering, googling, trawling and no enlightenment later, I headed over to the nice folks at #rpm on irc.freenode.net, who were initially equally puzzled. Then, jbj (I think), mentioned about using rpm2cpio.sh - a shell script to unpack an rpm file when rpm is not installed / working etc. - which I'd obviously not spotted before. So here's how it was fixed - so I don't forget, and because it may be of some use to someone else Sunday, April 23. 2006
Kernel Parameters after FC4 to FC5 ... Posted by Jeremy Coates
in Fedora at
18:30
Comments (0) Trackbacks (0) Kernel Parameters after FC4 to FC5 upgrade (via yum) on an Acer Ferrari 4005WLMi
I recently decided to upgrade from Fedora Core 4 to Fedora Core 5 via yum upgrade. Everything seemed to go well, however there seemed to be a random machine lockup happening - I mean total freeze, had to power off to recover! The machine in question is an Acer Ferrari 4005 WLMi (Acer 4000 series) laptop. I tried several things, many hours of web searching, even looked in on #fedora on irc.freenode.net but nothing seemed to work until I re-read the the Gentoo wiki Kernel Configuration entry. Re-reading that prompted me to remove all the kernel parameters I'd used since FC4 on my machine, as the 2.6.16 kernel used in FC5 seems to have fixed all the problems that were seen on this laptop previously. It certainly cured the lock up problems! FC4 kernel parameters that I'd used (as advised in various places on the net, including the gentoo wiki previously): i8042.nomux noapic irqpoll acpi_irq_balance Using those parameters on FC5 caused the machine hangs, so the gentoo forums saved the day, my machine is now stable again. ![]() There's at least one other very nice by product of the FC5 upgrade - the new kernel allows the synaptics touch pad to operate properly. Under FC4, the touch pad missed some of the clicks from the mouse keys, this was really annoying especially when trying to drag thngs around as it would take several attempts to e.g. grab a window to move it. This seems to have been completely addressed now, no more ending up with emails in the wrong folders! |
Calendar
QuicksearchSyndicate This BlogCategoriesWikipedia FinderTop Exitswww.phpxtemplate.org (4)
forum1.netgear.com (1) xl2qif.chez-alice.fr (1) Blog Administration |
|||||||||||||||||||||||||||||||||||||||||||||||||










