Fedora :: Converting Custom PCI Driver From 5 To 14 ?
Aug 31, 2011
I have custom hardware running on a PCI backplane with an SBC running Fedora 5. This has been running in a factory environment for years. Unfortunately, the SBC has been EOL, so I must convert to a new SBC running Fedora 14. The driver for this hardware was also custom, and I have been able to get it to compile and load on the new system. It links to the new hardware, and sees the bars as described by the firmware on the board. Unfortunately, I can't seem to configure the driver for writes/reads. I can read the read/write parameters from the driver (the default values from initialization), so I can access the driver, but whenever I try to write to the next_read or next_write parameters file, nothing happens. The file remains unchanged. The permissions are correct for the parameters file, but I'm wondering if there is some kind of access problem because I seem to have to be SU for many operations that I didn't have to be in Fedora 5 (like build the driver). My experience with Fedora 14 is very limited. Any ideas with what might have changed from Fedora 5 to Fedora 14 .
View 4 Replies
ADVERTISEMENT
Dec 28, 2009
Just spent three whole days barking up the wrong tree, solving Fedora 11 and Fedora 12 boot failures because the correct hypothesis was illogical: installation did not update/modify the initrd.
The first couple of times I installed Fedora 11 on the HighPoint Technologies RocketRaid 2640x4, the installation inserted my "custom" driver module (rr26xx) into the initrd, permanently, so that the system booted off the controller card for which the custom driver was inserted. (I yelled about this success in this thread: [url]
My most recent installs of BOTH F11 and F12 on the RocketRaid failed to properly set up the boot. It turns out that the "rr2640" module I "slipstreamed" into the installation process was *NOT* permanently added to the initrd by anaconda. (F12 gave me "no root device found boot has failed, sleeping forever", on boot; F11 hung also, without such error, I presume, during the init script execution). Because of limited resources and time, I only know for sure the module was missing from the F11 initrd, and am ASSUMING the same was the case with F12.
The only difference between the successful installs and the ones with failed boot is that the successful installs were made on a single-drive (JBOD) mode on the controller; whereas, the failed ones were placed on RAID 5. But, AFAIK, the created logical device for the card is "/dev/sda", in both cases, and the kernel can not distinguish between the two cases (or can it?). Thus, the inconsistency cost me a lot of time, and is still inexplicable to me.
Question: What is the best way to deal with custom drivers, today? There are custom spins, and many tools, like isomaster. Stupid question: Is there a way to modify the initrd inside an installer ISO -- be it for CD/DVD/USBboot drive -- beefing the init RAM disk with whatever modules you'd like, for the boot process (using, say, isomaster)?
And what makes anaconda understand that a module must be added to the initrd ? How can one force anaconda to do so?
How does moving to dracut as the initrd tool affect any/all of the above?
View 1 Replies
View Related
Mar 29, 2009
I'm new to linux and recently installed openSUSE 11.1 on my Lenovo Thinkpad SL500. So far it's great... only problem is the hotkeys and brightness control don't work. Digging around online I found this "experimental" driver that purportedly works fine, but I have no idea how to compile, install, or otherwise use it. Here... tetromino's lenovo-sl-laptop at master - GitHub I'm not sure what to do with the makefile and C file provided. For example, what do I do with this instruction...
"To enable the brightness control, load the module with the "control_backlight=1" module parameter (i.e. insmod lenovo-sl-laptop.ko control_backlight=1 )" I know someone on here will be able to explain how to do this in a "computer engineering for chemists" language! I'm comfortable enough working in the terminal with commands, but have found no real straightforward explanation of how to do so (only "programming" experience is MATLAB m file writing).
View 9 Replies
View Related
May 3, 2011
When I only change a driver file manually, for example /newkernel/linux-source-.6.32/drivers/gpu/drm/i915_drv.h, do I need to run "make config" or similar like "make menuconfig" or can I just skip? I mean these steps:
1.) apt-get install linux-source-2.6.32
2.) mkdir ~/newkernel/
3.) cp /usr/src/linux-source-2.6.32.tar.bz2 ~/newkernel/
4.) cd /newkernel/
5.) tar xjf linux-source-2.6.32.tar.bz2
6.) cd linux-source-2.6.32
7.) cp /boot/config-$(uname -r) ./.config yes "" | make oldconfig
8.) change the driver file /newkernel/linux-source-2.6.32/drivers/gpu/drm/i915_drv.h manually
8.) make-kpkg clean
9.) make-kpkg --rootcmd fakeroot --initrd --revision=custom.001 kernel_image kernel_headers
10.) dpkg -i *.deb
Is this way OK or do I miss something?
View 14 Replies
View Related
May 21, 2011
I' d like to apply this patch into my squeeze: [URL] Can someone pls explain howto apply driver diff patch into a custom kernel?
View 9 Replies
View Related
Oct 1, 2009
how to convert mkv files to either avi or mp4?
ATM I'm trying to use mencoder and am not impressed with it telling me it can't find the file I'm trying to convert. Especially when it WAS perfectly able to fid the file before my computer had an unfortunate crash, which didn't even affect the file in question.
View 4 Replies
View Related
Jun 16, 2010
I've got a batch of MOV format videos, I want to convert them to the MP4 format (I've heard these two are similar, and MP4 is more plain form of MOV?). Can I do this in Fedora? I've also heard that converting from MOV is generally difficult.
View 7 Replies
View Related
Aug 27, 2010
when i scan some documents they are saved as .PNM files. what I would like is JPGs.
does anybody know any good ways of batch converting pnm files to jpeg files.
View 9 Replies
View Related
Mar 2, 2011
I am trying to convert my VirtualBox hard drives (.vdi) to VMware Workstation format (.vmdk). I found this link [URL] but cannot find the path for qemu-img. I downloaded Qemu Manager v7.0 from [URL]. Please disregard. I found it.
C:Program Files (x86)QemuManagerqemuqemu-img
View 1 Replies
View Related
Jul 7, 2011
I am building my first rpm package and I cannot seem to find out how to change an existing .tgz to a .tar.gz as required by the rpm .spec file - I've attempted to search on this, but I can't find the exact command I'm looking for. Specifically, I hope to avoid having to untar the .tgz and simply convert it to the .tar.gz format.
View 4 Replies
View Related
Aug 13, 2011
I installes ffmpeg according to [URL] The program works (i get textoutput) but i am doing something wrong i think. Whet i enter
Code:
ffmpeg -i TheHitList{2011}DVDRIP.Jaybob.avi -title hitlistpsp -f psp -r 29.97 -b 512k -ar 24000 -ab 64k -s 320x240 M4V00001.MP4
i get
Code:
[root@Koen-PC sadaci]# ffmpeg -i TheHitList{2011}DVDRIP.Jaybob.avi -title testfilmpsp -f psp -r 29.97 -b 512k -ar 24000 -ab 64k -s 320x240 M4V00001.MP4
[Code]....
View 6 Replies
View Related
Oct 22, 2010
How can I convert, say, 1 out of every 8 frames from the movie?
View 5 Replies
View Related
May 18, 2011
I've not used Fedora since 2007, the last time I tried an install it merged all my existing partitions into one LVM group.
Is the normal behaviour of Fedora to convert all partitions into one Physical Volume?
Is yes, is there a way to disable this during install?
I prefer to manage my partitions individually.
View 1 Replies
View Related
Nov 22, 2009
Trying to convert a midi file I created in Rosegarden into a wav file using Sound Converter. Snd Cnvrtr wants to load some gstreamer "bad" plugins, but they end up conflicting with "good" plugins and "ugly' plugins that had been loaded in the kernel (I think). Thought I might remove gstreamer and load up the "bad" plugins, but that meant removing a huge chunk of programming including Snd Cnvrtr. Anyone got any idea how I might do the conversion apart from Snd Cnvrtr? Either that or how I might get hold of the appropriate plugins to allow the midi to wav conversion to take place?
View 1 Replies
View Related
Dec 31, 2009
Got this compact video camera for Christmas have tried Handbrake, Pitivi, avidemux tried both versions, kino nothing works to date and can't find a way to change the camera settings.
View 6 Replies
View Related
Feb 9, 2010
Has anyone actually gotten this to work on Fedora 12? I ran the convert and have tried every single option imaginable to qemu-kvm to get it to boot the image but no luck. I get the "A disk read error occurred" message every time it goes to boot. Also tried booting the vmdk directly (same error), running windows recovery and running fixboot and fixmbr (same error), etc.I've spent most of the day on this off and on and feel like I'm running out of options. Are there some debugging tools I can use to give me some more direction?
View 1 Replies
View Related
Jan 20, 2011
I have been searching for a while for a program to convert .flac files I rip off of cd's with my laptop (running Fedora 11) to a usable iTunes format for my desktop (running Win XP). The cd drive on my desktop is currently broken, so my fix of ripping on my desktop, then using Rhythmbox on my laptop is temporarily unavailable.
Any suggestions? I've tried audiokonverter, soundconverter, audio-convert-mod and each come up with errors or wouldn't install.
View 8 Replies
View Related
Aug 6, 2011
I've been a Linux user for 5 years, though this I only recently started using RPM based distros. I'm still in my first week using Fedora and I love it. Hats off to the development team. Now, onto my question:
I have a rather large collection of music in three different formats: MP3, OGG, and FLAC. I'd like to shrink my library by converting all the flac files to ogg. However, since I don't want to convert from lossy to lossy, I'm going to leave the mp3s alone. Is there a program that will allow me to do this quickly and easily? I'd prefer a GUI, though I'm comfortable working with the terminal if needed.
View 5 Replies
View Related
Jun 16, 2009
I upgraded F10 to F11 successfully.
Then I convert the / partition filesystem by the following steps:login as root user in multi user mode read [url], and execute tune2fs -O extents,uninit_bg,dir_index /dev/mapper/VolGroup01-LogVol00 modify /etc/fstab, change the type of / to ext4
reboot
(because fsck say running it on a mounted filesystem can cause filesystem damage, so i decide to reboot to single user mode first. maybe it's a mistake here) try to boot F11 to single user mode, failed
reboot from a SystemRescueCD-1.2.0 LiveCD
run e2fsck -fpDC0 /dev/mapper/VolGroup01-LogVol00 in SystemRescueCD-1.2.0 LiveCD, no error reported
reboot
try to boot F11 normally(multi user mode), but it failed at: EXT3-fs: dm-0: couldn't mount because of unsupported optional features (40).
I tried rescue mode of Fedora-11-i386-netinst.iso after these steps above. The / partition can be found and mounted to /mnt/sysimage correctly. I can read/write files in / partition, and i can even yum new softwares in rescue mode, but it just can't be mounted when booting.
View 6 Replies
View Related
Aug 27, 2010
I use a commercial finite element code to produce animated GIF files of my calculation results. In case you are interested, the code is COMSOL Multiphysics 4.0a, running on Fedora 13 x86_64. Note that the FEA code only has the option of saving movies as animated GIF files in Linux.
These GIF files tend to be quite large, and although they are adequate for my own use on my local computer system, I wish to convert these files into other standard formats of more manageable size. These smaller files would then be easier to distribute to others or to include in presentations and reports.
I would like to ask for recommendations for either GUI-based video player/conversion applications or command line codes that could, for example, convert from animated GIF files to MPEG files. I would prefer an application that allows for multiple input/output format choices as well as conversion options for changing the playback speed, splicing out a portion of the original animation, etc.
View 2 Replies
View Related
Oct 17, 2009
I've recent begun to want to create a spin of Fedora for my high school to offer as an alternative to Mac OS X and Windows. My first attempt with any distro was to try and use Suse Studio, however nothing with packages that I downloaded myself would successfully compile. I then thought that I might try and use some sort of local program do create it with and tried Revisor, however when I made Live Media, Xorg wouldn't start and when I made DVD Install Media the kernel would kernel panic every time on boot.
Is there anyway to solve the problem with Revisor or are there any alternatives?
I have also tried using Ubuntu with the Ubuntu Customization Kit however that didn't work either considering I have to have it in a virtual machine.
View 1 Replies
View Related
Nov 10, 2009
A custom image of Fedora 6 was built on a USB stick of size 2GB.
The size of the image is 546MB and i need to build the image on a 1 GB USB stick.
-The partition on the disk is bootable and I have a grub bootloader
- BIOS is configured to boot from the USB stick.
The same set of files are copied to the 2GB usb sticks and the 1GB usb sticks.
The system boots out of the 2GB Usb disk but does not boot from the 1GB usb sticks.
I am not sure if this issue is related to the usb stick, which i dont think so. I tried it on a different USB stick of size 1GB and it does not work as well.
View 2 Replies
View Related
Jun 22, 2011
I am compiling and installing the custom kernel based on the instructions provided in Building_a_custom_kernel on fedoraproject.org/wiki site.
However, according to the instructions, anytime I change anything in the kernel source files(e.g /driver/ata/libata-core.c), I have to create a patch a rebuild the whole kernel and install this new kernel which takes 2 hours. Is there a simpler way of recompiling what has changed(without creating patch) and try that changed kernel? Since my changes are not in the drivers which can be dynamically loaded but is in the static code of the kernel, it is making life cumbersome.Are there any instructions for this? How does other kernel developers manage this?
View 2 Replies
View Related
Apr 15, 2010
This is my first attempt with Yum and Fedora for that matter. I need to load a print driver and network driver for an MX860 printer. I downloaded the drivers and they are in the download folder. When I try to install I get what is below. How do I resolve? Do I need to identify where the driver is? If so, how?
[compaq@compaq ~]$ su -c'yum install cnijfilter-mx860series-3.10-1-i386-rpm.tar.gz'
Password:
Loaded plugins: refresh-packagekit
updates/metalink | 15 kB 00:00
Setting up Install Process
No package cnijfilter-mx860series-3.10-1-i386-rpm.tar.gz available.
Nothing to do
[compaq@compaq ~]$
View 14 Replies
View Related
Oct 14, 2010
a stock fedora 11 install on my embedded board results in the primary CompactFlash card being driven by the SCSI driver and is called SDA..running my custom kernel which i have slimmed down and yanked out the SCSI stuff because I dont need it, results in my CompactFlash card being called HDA of course driven by the ATA driver.which should I be using? both work just fine.. the CompactFlash card is on board and according to Soekris is actually run from an IDE controller, as there is no SCSI on board..
so im assuming the less amount of system overhead is to run it as IDE?I have no issues running it either way I just want to do whats right.. and what is going to be supported in kernels down the line, as im considering a bump from my current 2.6.30 kernel upwards for my project.
View 8 Replies
View Related
Apr 15, 2011
Just started a new job where I test installation scripts and then wipe the system with a fresh install of Redhat each time before testing updated versions. I'm wondering is there a way to create an image of the system I want with the customized packages required rather than having to manually select and deselect a huge amount of packages every time. This would really help make my work much more efficient.
View 9 Replies
View Related
Oct 26, 2009
The stock F11 kernel is very buggy on my system, so I built a new one. But I can't install it. My Kernel does not appear in the /boot partition, and does not appear as vmlinuz anywhere.
I followed the instructions on [url]I tried:
And now I can see my kernel listed when I do
What do I do to really install my kernel?
View 1 Replies
View Related
Jan 6, 2010
I just got F12 working very nicely - loving it so far. I see that the desktop effects offer a lot of what I want, but what extras does the compiz fusion install described here offer? [URL]
View 3 Replies
View Related
Jun 18, 2011
This is (I'm sure) a silly question, but when reading the guide for custom kernel [url] it mentions I need to use yumdownloader to pull the source as an RPM.
How exactly do I find mirrors etc for this (and where do I configure it)?
I've already got the source locally along with the patches I want to use, and want to try this the 'fedora' way. I'd normally just use make/make modules etc, but I've never tried it via RPM.
View 4 Replies
View Related
Jul 12, 2011
I'm currently switching from Mac OS X to Linux (Fedora 15). I've now moved my music library (about 40 GB), mostly in AAC (*.m4a) format. Since I didn't find a way to adjust the volume of these files using MP3Gain (although I read that it should work with AACs, it didn't), I've decided to just convert all files to MP3 using faad and lame. So far so good. (BTW: I've already converted them, so I don't need any help with AAC/MP3Gain...)
The problem: Lame ereases all the tags. I found a way to preserve at least the most important tags (title, artist, album, track number and year) using exiftool to extract them from the AAC files and id3tag to write them to the new MP3 files.. I'm loosing the album artist, but I have not many compilations, so that's not a real problem.
The real problem are the genre tags. My songs are all carefully tagged with custom genres, and I didn't find any way to write custom genres to MP3 files, only the predefined ones. So I just copied the genres into the comment tag to at least preserve them because I wanted to start the conversion process (which takes really, really long on my 3 years old MacBook).
Does anyone know a way to copy the custom genre from the comment tag (it's the only entry) to the genre tag? A way to write it to the MP3 is enogh, I already know how to copy it from the comment tag. The writing is my problem.
View 6 Replies
View Related