Re : [Patch] saa7146: 'wait_for_debi_done' fixes

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

 



On 10/09/2007 06:15:14 PM, Oliver Endriss wrote:
@all users of saa7146-based cards

(drivers: dvb-ttpci, budget, budget-ci, budget-av)

Please test whether the attached patch has any negative effects.

Two fixes for the 'saa7146_wait_for_debi_done' code:
(a) Timeout did not work when the routine was called with interrupts
    disabled.
(b) Reduce PCI I/O load caused by saa7146_wait_for_debi_done.
    Seems to be very important on fast machines!

Based on a patch posted by e9hack@vdr-portal.

If nobody complains I will commit this patch next week.

Well sorry it seems to create an oops on my box. Just to make sure though: it is the first time I compile and load modules from mercurial and so could it just be a compatibility problem with my 2.6.20-16 Ubuntu Feisty kernel? If not here you go: you have the lsmod (which also gave me directly the following oops ;-). This is with a TT S-1500 with CI.

manu@manu-desktop:~$ lsmod
Module                  Size  Used by
nfsd                  218992  9
exportfs                6912  1 nfsd
nfs                   240876  0
lockd                  64904  3 nfsd,nfs
sunrpc                161340  4 nfsd,nfs,lockd
ppdev                  10116  0
via                    44160  2
drm                    81044  3 via
cpufreq_userspace       5408  0
cpufreq_stats           7360  0
cpufreq_powersave       2688  0
cpufreq_ondemand        9228  0
freq_table              5792  2 cpufreq_stats,cpufreq_ondemand
cpufreq_conservative     8200  0
tc1100_wmi              8068  0
pcc_acpi               13184  0
dev_acpi               12292  0
sony_acpi               6284  0
video                  16388  0
sbs                    15652  0
i2c_ec                  6016  1 sbs
dock                   10268  0
button                  8720  0
battery                10756  0
container               5248  0
ac                      6020  0
asus_acpi              17308  0
backlight               7040  1 asus_acpi
vfat                   14208  0
fat                    53916  1 vfat
ext3                  133128  2
jbd                    59816  1 ext3
ipv6                  268960  18
nvram                   9992  0
lp                     12452  0
fuse                   46612  0
snd_mpu401              9256  0
snd_mpu401_uart         9472  1 snd_mpu401
snd_seq_dummy           4740  0
snd_seq_oss            32896  0
snd_seq_midi            9600  0
snd_rawmidi            25472  2 snd_mpu401_uart,snd_seq_midi
snd_seq_midi_event      8448  2 snd_seq_oss,snd_seq_midi
snd_seq 52592 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              23684  1 snd_seq
snd_seq_device 9100 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq snd 54020 7 snd_mpu401,snd_mpu401_uart,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
analog                 12832  0
gameport               16520  1 analog
soundcore               8672  1 snd
parport_pc             36388  1
sg                     36252  0
sd_mod                 23428  3
psmouse                38920  0
parport                36936  3 ppdev,lp,parport_pc
pcspkr                  4224  0
serio_raw               7940  0
lnbp21                  3328  1
i2c_viapro             10132  0
stv0299                11656  1
via_agp                11264  1
shpchp                 34324  0
pci_hotplug            32576  1 shpchp
budget_ci              20868  0
budget_core            12548  1 budget_ci
dvb_core               81708  3 stv0299,budget_ci,budget_core
agpgart                35400  2 drm,via_agp
saa7146                20232  2 budget_ci,budget_core
ttpci_eeprom            3584  1 budget_core
ir_common              36356  1 budget_ci
i2c_core 22656 7 i2c_ec,lnbp21,i2c_viapro,stv0299,budget_ci,budget_core,ttpci_eeprom
af_packet              23816  2
evdev                  11008  4
tsdev                   8768  0
ext2                   66824  1
mbcache                 9604  2 ext3,ext2
ide_cd                 32672  0
cdrom                  37664  1 ide_cd
ide_disk               17024  3
ata_generic             9092  0
usb_storage            72256  2
libusual               17936  1 usb_storage
8139too                27648  0
via82cxxx              10372  0 [permanent]
floppy                 59524  0
ohci1394               36528  0
ieee1394              299448  1 ohci1394
8139cp                 25088  0
mii                     6528  2 8139too,8139cp
ehci_hcd               34188  0
uhci_hcd               25360  0
usbcore               134280  5 usb_storage,libusual,ehci_hcd,uhci_hcd
generic                 5124  0 [permanent]
sata_via               12548  0
libata                125720  2 ata_generic,sata_via
scsi_mod              142348  4 sg,sd_mod,usb_storage,libata
thermal                14856  0
processor              31048  1 thermal
fan                     5636  0
fbcon                  42656  0
tileblit                3584  1 fbcon
font                    9216  1 fbcon
bitblit                 6912  1 fbcon
softcursor              3200  1 bitblit
vesafb                  9220  0
capability              5896  0
commoncap               8192  1 capability
manu@manu-desktop:~$
Message from syslogd@manu-desktop at Wed Oct 10 11:01:21 2007 ...
manu-desktop kernel: [   87.809212] Oops: 0000 [#1]

Message from syslogd@manu-desktop at Wed Oct 10 11:01:21 2007 ...
manu-desktop kernel: [   87.809214] SMP

Message from syslogd@manu-desktop at Wed Oct 10 11:01:21 2007 ...
manu-desktop kernel: [   87.809305] CPU:    0

Message from syslogd@manu-desktop at Wed Oct 10 11:01:21 2007 ...
manu-desktop kernel: [ 87.809306] EIP: 0060:[<dea1c262>] Not tainted VLI

Message from syslogd@manu-desktop at Wed Oct 10 11:01:21 2007 ...
manu-desktop kernel: [ 87.809308] EFLAGS: 00010292 (2.6.20-16-generic #2)

Message from syslogd@manu-desktop at Wed Oct 10 11:01:21 2007 ...
manu-desktop kernel: [ 87.809327] EIP is at i2c_transfer+0x22/0x60 [i2c_core]

Message from syslogd@manu-desktop at Wed Oct 10 11:01:21 2007 ...
manu-desktop kernel: [ 87.809331] eax: 00000002 ebx: ffffffda ecx: 00000001 edx: cce07f04

Message from syslogd@manu-desktop at Wed Oct 10 11:01:21 2007 ...
manu-desktop kernel: [ 87.809335] esi: d7c51804 edi: d5d8cb40 ebp: 00000001 esp: cce07eec

Message from syslogd@manu-desktop at Wed Oct 10 11:01:21 2007 ...
manu-desktop kernel: [   87.809338] ds: 007b   es: 007b   ss: 0068

Message from syslogd@manu-desktop at Wed Oct 10 11:01:21 2007 ...
manu-desktop kernel: [ 87.809342] Process kdvb-fe-0 (pid: 5686, ti=cce06000 task=ccd5e580 task.ti=cce06000)

Message from syslogd@manu-desktop at Wed Oct 10 11:01:21 2007 ...
manu-desktop kernel: [ 87.809345] Stack: cce07f04 d7c51c08 d7c51804 d5d8cb40 d7c51c00 dea24798 00000061 00000004

Message from syslogd@manu-desktop at Wed Oct 10 11:01:21 2007 ...
manu-desktop kernel: [ 87.809353] cce07f10 e084e83a d7c51c08 00000001 00000001 dea04cef c13c4b40 00000000

Message from syslogd@manu-desktop at Wed Oct 10 11:01:21 2007 ...
manu-desktop kernel: [ 87.809361] d7c51804 d7c51c08 00000003 d7c51800 d7c51c08 00000001 00000002 dea3f190

Message from syslogd@manu-desktop at Wed Oct 10 11:01:21 2007 ...
manu-desktop kernel: [   87.809368] Call Trace:

Message from syslogd@manu-desktop at Wed Oct 10 11:01:21 2007 ...
manu-desktop kernel: [ 87.809377] [<dea24798>] alps_bsbe1_tuner_set_params+0xa8/0xd0 [budget_ci]

Message from syslogd@manu-desktop at Wed Oct 10 11:01:21 2007 ...
manu-desktop kernel: [ 87.809396] [<dea04cef>] stv0299_set_frontend+0x7f/0x250 [stv0299]

Message from syslogd@manu-desktop at Wed Oct 10 11:01:21 2007 ...
manu-desktop kernel: [ 87.809414] [<dea3f190>] dvb_frontend_swzigzag_autotune+0xf0/0x1e0 [dvb_core]

Message from syslogd@manu-desktop at Wed Oct 10 11:01:21 2007 ...
manu-desktop kernel: [ 87.809444] [__wake_up_locked+31/48] __wake_up_locked+0x1f/0x30

Message from syslogd@manu-desktop at Wed Oct 10 11:01:21 2007 ...
manu-desktop kernel: [ 87.809462] [__down_interruptible+240/288] __down_interruptible+0xf0/0x120

Message from syslogd@manu-desktop at Wed Oct 10 11:01:21 2007 ...
manu-desktop kernel: [ 87.809479] [<dea3f99d>] dvb_frontend_swzigzag+0x1fd/0x250 [dvb_core]

Message from syslogd@manu-desktop at Wed Oct 10 11:01:21 2007 ...
manu-desktop kernel: [ 87.809496] [<dea40b95>] dvb_frontend_thread+0x225/0x2f0 [dvb_core]

Message from syslogd@manu-desktop at Wed Oct 10 11:01:21 2007 ...
manu-desktop kernel: [ 87.809514] [autoremove_wake_function+0/80] autoremove_wake_function+0x0/0x50

Message from syslogd@manu-desktop at Wed Oct 10 11:01:21 2007 ...
manu-desktop kernel: [ 87.809529] [<dea40970>] dvb_frontend_thread+0x0/0x2f0 [dvb_core]

Message from syslogd@manu-desktop at Wed Oct 10 11:01:21 2007 ...
manu-desktop kernel: [   87.809543]  [kthread+186/240] kthread+0xba/0xf0

Message from syslogd@manu-desktop at Wed Oct 10 11:01:21 2007 ...
manu-desktop kernel: [   87.809550]  [kthread+0/240] kthread+0x0/0xf0

Message from syslogd@manu-desktop at Wed Oct 10 11:01:21 2007 ...
manu-desktop kernel: [ 87.809557] [kernel_thread_helper+7/16] kernel_thread_helper+0x7/0x10

Message from syslogd@manu-desktop at Wed Oct 10 11:01:21 2007 ...
manu-desktop kernel: [   87.809569]  =======================

Message from syslogd@manu-desktop at Wed Oct 10 11:01:21 2007 ...
manu-desktop kernel: [ 87.809571] Code: 23 70 e1 8d b6 00 00 00 00 83 ec 14 89 5c 24 04 bb da ff ff ff 89 7c 24 0c 89 c7 89 6c 24 10 89 cd 89 74 24 08 89 14 24 8b 40 0c <8b> 00 85 c0 74 1f 8d 77 20 89 f0 e8 4e 18 8d e1 8b 5f 0c 89 e9

Message from syslogd@manu-desktop at Wed Oct 10 11:01:21 2007 ...
manu-desktop kernel: [ 87.809602] EIP: [<dea1c262>] i2c_transfer+0x22/0x60 [i2c_core] SS:ESP 0068:cce07eec






___________________________________________________________________________
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire.
http://fr.mail.yahoo.com


_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux