Hi Jaap,
Thanks for that. It does seem to be a stack problem. Rather than recompiling the FC3 kernel to not use 4KSTACKS I looked at the cx25840-driver code and it does use a lot of stack for the i2c sequencing. I made a couple of those on-stack arrays into statics and it gets a lot further. So I think I'll spend a bit more time with that code see if I can get it to work all the way. Thanks, Jelte. On Sat, 2005-02-05 at 11:45, Jaap Braam wrote: > Jelte, > > I've had similar problems with FC 3. You have to recompile your kernel > without REGPARM and 4KSTACKS... Then the ivtv module will load... > > Jaap. > > [EMAIL PROTECTED] wrote: > > >I understood from posts that I had to use the 0.3.2 driver on the PVR500. So > >this is based on the ivtv-0.3.2d source. > > > >I've been trying for a day but to no avail, so I hope someone is out there > >that > >knows a bit more about this. > > > >The ivtv driver hangs my entire system when I modprobe it. It seems to have > >something to do with the cx25840 driver but that one loads fine. I have > >added a > >msleep(100) to the debug macros in ivtv-debug.h so that I actually get some > >output from before it starts hanging. > > > >Also, I have to modprobe i2c_algo_bit before trying cx25840, otherwise I get > >a > >lot of complaints like: > > > > cx25840: I2C write failed, length 3, ret -38 > > i2c_adapter i2c-0: I2C level transfers not supported > > > >So, here's what I do: > > > >---- modprobe.conf ---- > >alias char-major-81 videodev > >alias char-major-81-0 ivtv > >options ivtv ivtv_debug=255 ivtv_std=2,2 tuner=51,51 tda9887=2 autoload=0 > >options saa7127 i2c_enable=-1,-1 > >options cx25840 i2c_enable=1,1 debug=1 > > > >---- install ---- > >rmmod i2c_core > >modprobe i2c_algo_bit > >modprobe cx25840 > >modprobe ivtv > >(poof!) > > > >---- /var/log/messages --- > >cx25840: Ignoring new-style parameters in presence of obsolete ones > >Linux video capture interface: v1.00 > >ivtv: ==================== START INIT IVTV ==================== > >ivtv: version 0.3.2 (d) loading > >ivtv: Linux version: 2.6.10-1.737_FC3 686 REGPARM 4KSTACKS gcc-3.4 > >ivtv: In case of problems please include the debug info > >ivtv: between the START INIT IVTV and END INIT IVTV lines when > >ivtv: mailing the ivtv-devel mailinglist. > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > ivtv-devel mailing list > ivtv-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ivtv-devel ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ ivtv-devel mailing list ivtv-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ivtv-devel