kernel panic with ivtv on amd64, firmware loading and test_ioctl work fine!

Dave Jones davej at redhat.com
Fri May 14 17:38:42 UTC 2004


On Fri, 2004-05-14 at 17:26, Sven Boeckelmann wrote:
> hi im trying to run ivtv on an amd64-
> 
> ok, the firmware loading has been fixed.
> used : http://kmos.org/~ckennedy/ivtv/ivtv-0.1.10-pre2-ck65f.tgz
> to load ivtv successfully.
> 
> but the io code does not seem to be 64bit safe.
> 
> when accessing the device the kernel crashes:
> when executing function ivtv_sched_DMA 
> 
> There must be someone out there who is able to check if this
> is 64bit safe .. !

It isn't.  It's casting addresses around as u32's which
is totally wrong. On a 64bit machine, this will chop
the upper 32 bits off a pointer.

	Dave





More information about the fedora-devel-list mailing list