Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] saa7146_core.c won't work on systems with more than 1GB RAM



-----BEGIN PGP SIGNED MESSAGE-----

Hi all,

I've got a system with 1GB of RAM and I updated my dvb-kernel directory from 
CVS and found that this bit of code at line 119 of  
linux/drivers/media/common/saa7146_core.c causes an Oops each time I try to 
load the driver:

      if (PageHighMem(pg))
                BUG();

In other words, if you've got more than a gig and your kernel (I'm running the 
Mandrake 9.0 contrib'd Multimedia kernel which includes pre-empt patches) 
happens to decide to use that memory for paging then you're stuffed.

Commenting it out (along with a couple of similar tests in 
build-2.4/video-buf.c doesn't seem to cause any problems for me, so it'd be 
nice if it could be made conditional on something so I don't need to keep 
re-patching if I upgrade from CVS again!

cheers,
Chris
- -- 
 Chris Samuel  :  http://csamuel.org/  :  Melbourne, VIC

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iQEVAwUBP9LQxo1yjaOTJg85AQFyBggAtfcjgxiEZWegkbrRt/7K8wgS/umE3GvR
MugpWGBlNc1iUsWvx9ZDS7R/eiymgrCxqDCOMuzlMXwzdEiRBtKO2tWOIYgyXSJ0
x5YRo9GkFD0TAGzqTR3jqrxOpqpm+C8Ratx+IMUk9A5+KMatGtm4X6p9XRPiXoBb
PNILdfkOyzuEwi1wfBO7U89Pc/CwlbUXrAZ4s5jBJh0fMCcxMJf9Htid1JEjXWJk
/Q7Girj6LIWVKt3dLar8j04Fmudnt/wJzTCiQDyMZVYrpilIkvIxu1c7noWXTcFE
kVAZTfu/F68HgBpOMl/v2bEt6laq0hZWmXEo21JQ6cySvTFJCefKag==
=ssQb
-----END PGP SIGNATURE-----


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index