Re: Can't compile saa7134-20030828 snapshot on 2.4.23-pre2

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



Hi Tat Chee,

on 2.6.0-test4 for me it doesn't help. When I diff include/linux/input.h
and linux-input.h, there is no relevant difference. By adding ir-common
to Make.config the module is build, but I get nice oopses on modprobe
with preempt and without. (i2c broken?)

Try the brandnew release of tvtime and mplayer cvs. They all have v4l2
support now and I have great fun with both. (See also the patches from
Jindrich here on the list)

Greetings

Hermann


Es schrieb Wan Tat Chee:
> 
> Peter,
> 
> Thanks for the info.
> 
> Well, after I read your post, I copied the linux-input.h file
> from the input package over to the saa7134 directory, modified
> ir-common to refer to the local linux-input.h, added ir-common.o to the
> Make.config file according to your earlier post,  and now I can compile
> and modprobe saa7134 on kernel 2.4.23-pre2.
> 
> (I also patched it for i2c-2.8.0 support using the patch from the
> lmsensors site (which worked fine on the 20030625 snapshot). Only the
> saa7134-i2c file had rejects which didn't seem to matter since the new
> snapshot depends on I2C_PEC for i2c-2.8.0 struct members, and which is
> defined for the new i2c 2.8.0 headers)
> 
> The new snapshot seems to work fine with xawtv, but mplayer 0.90 and
> tvtime both have problems with it. IIRC, mplayer complains about mbuf
> allocation. This doesn't happen with the 20030625 snapshot.
> 
> T.C.
> ----
> Wan Tat Chee (Lecturer)
> School of Computer Science, Univ. of Science Malaysia,
> 11800 USM, Penang, Malaysia.      Rm.625 Ofc Ph: +604 653-3888 x 3617
> NRG Lab Admin: +604 659-4757           Rm.601-E Ofc Ph: +604 653-4396
> Internet: tcwan@xxxxxxxxx            Web: http://nrg.cs.usm.my/~tcwan
> GPG Key : http://nrg.cs.usm.my/~tcwan/tcw_gpg-20030322.asc
> F'print : DCF2 B9B2 FA4D 1208 AD59  14CA 9A8F F54D B2C4 63C7
> 
> On Thu, 4 Sep 2003, pz oooooo wrote:
> 
> > Hi,
> >
> > I simply copy missing define (KEY_RADIO,..) from input-20030820
> > package from file linux-input.h to ir_common.h and that works for me.
> > And add ir-common.o to export-objs rule (to disable warnings) to
> > Make.config.
> >
> > Peter Zubaj
> >
> >
> >
> > ____________________________________
> > http://www.logofun.pobox.sk - urobte radost svojmu telefonu
> >
> >
> >
> 
> --
> video4linux-list mailing list
> Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/video4linux-list
Linux video capture interface: v1.00
saa7130/34: v4l2 driver version 0.2.9 loaded
saa7134[0]: found at 0000:00:0b.0, rev: 1, irq: 10, latency: 32, mmio: 0xd5000000
saa7134[0]: subsystem: 1131:0000, board: Tevion MD 9717 [card=6,insmod option]
saa7134[0]: board init: gpio is 100a0
Unable to handle kernel NULL pointer dereference at virtual address 00000000
 printing eip:
c0109c35
*pde = 00000000
Oops: 0002 [#1]
CPU:    0
EIP:    0060:[<c0109c35>]    Tainted: P  
EFLAGS: 00010002
EIP is at __down+0x55/0xd0
eax: 00000000   ebx: d5fb7308   ecx: d5fb7310   edx: c2acbd80
esi: 00000282   edi: c318d9c0   ebp: c2acbda0   esp: c2acbd70
ds: 007b   es: 007b   ss: 0068
Process modprobe (pid: 2276, threadinfo=c2aca000 task=c318d9c0)
Stack: d5fb7310 00000001 c318d9c0 c0119ab0 d5fb7310 00000000 c0119906 c2acbdb4 
       c2acbe28 00000001 d5fb710c d5fb7308 c2acbdb4 c0109df7 d5fb7308 00000000 
       d5fb72dc c2acbdd8 d8b00291 00000000 00000000 c2acbde4 c0119b11 00000001 
Call Trace:
 [<c0119ab0>] default_wake_function+0x0/0x30
 [<c0119906>] schedule+0x1a6/0x350
 [<c0109df7>] __down_failed+0xb/0x14
 [<d8b00291>] .text.lock.i2c_core+0x9b/0x15a [i2c_core]
 [<c0119b11>] __wake_up_common+0x31/0x50
 [<d8b36267>] set_tvnorm+0x477/0x4b0 [saa7134]
 [<d8b39d21>] saa7134_video_init+0x121/0x310 [saa7134]
 [<d8b33f41>] saa7134_hwinit+0x41/0x1c0 [saa7134]
 [<d8b3e98a>] saa7134_board_init+0x7a/0xb0 [saa7134]
 [<d8b34651>] saa7134_initdev+0x391/0x8d0 [saa7134]
 [<d8b33c80>] saa7134_irq+0x0/0x280 [saa7134]
 [<c01b91ab>] pci_device_probe_static+0x4b/0x60
 [<c01b92b6>] __pci_device_probe+0x36/0x50
 [<c01b92fc>] pci_device_probe+0x2c/0x50
 [<c01f4f0d>] bus_match+0x3d/0x70
 [<c01f503a>] driver_attach+0x5a/0x90
 [<c01f52e0>] bus_add_driver+0x90/0xb0
 [<c01f5751>] driver_register+0x31/0x40
 [<c01b954b>] pci_register_driver+0x5b/0x80
 [<d8b34e4d>] saa7134_init+0x4d/0x80 [saa7134]
 [<c01313ca>] sys_init_module+0xea/0x1b0
 [<c010ad1d>] sysenter_past_esp+0x52/0x71

Code: 89 10 89 45 e4 ff 43 04 8d 76 00 8b 43 04 48 01 03 0f 98 c0 
 <1>Unable to handle kernel NULL pointer dereference at virtual address 00000008
 printing eip:
d8b3ac85
*pde = 00000000
Oops: 0000 [#2]
CPU:    0
EIP:    0060:[<d8b3ac85>]    Tainted: P  
EFLAGS: 00010202
EIP is at mute_input_7134+0xa5/0x3b0 [saa7134]
eax: d8acc16c   ebx: 00000001   ecx: 00000001   edx: 00000000
esi: 00000000   edi: d5fb710c   ebp: d6099f8c   esp: d6099f50
ds: 007b   es: 007b   ss: 0068
Process saa7134[0] (pid: 2277, threadinfo=d6098000 task=c2952c40)
Stack: d8acc16c d8b41980 000000c7 d5fb710c 00200000 d6099f70 c01b1f14 00000020 
       00000000 00000000 00000000 00000000 d6098000 00000000 d5fb710c d6099fec 
       d8b3ba01 d5fb710c d5fb72a0 5a5a5a5a 5a5a5a5a 5a5a5a5a 5a5a5a5a c2952c40 
Call Trace:
 [<c01b1f14>] __delay+0x14/0x20
 [<d8b3ba01>] tvaudio_thread+0xd1/0x610 [saa7134]
 [<c010ad96>] work_resched+0x5/0x16
 [<d8b3b930>] tvaudio_thread+0x0/0x610 [saa7134]
 [<d8b3b930>] tvaudio_thread+0x0/0x610 [saa7134]
 [<c0108e59>] kernel_thread_helper+0x5/0xc

Code: 8b 42 08 83 f8 02 0f 84 20 02 00 00 83 f8 02 0f 87 f4 01 00 
 

[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux