Working well on Asus EeePC kernel 2.6.24-20-eeepc, it crashes on kernel 2.6.24-21-eeepc (kernels are from kernel.org)
dmesg output (related to the module): [ 52.502782] NET: Registered protocol family 17 [ 157.848254] usb 5-3: new high speed USB device using ehci_hcd and address 5 [ 157.891823] usb 5-3: configuration #1 chosen from 1 choice [ 158.028404] em28xx v4l2 driver version 0.0.1 loaded [ 158.029088] em28xx: new video device (2304:0226): interface 0, class 255 [ 158.029095] em28xx: device is attached to a USB 2.0 bus [ 158.029573] em28xx #0: Alternate settings: 8 [ 158.029580] em28xx #0: Alternate setting 0, max size= 0 [ 158.029584] em28xx #0: Alternate setting 1, max size= 0 [ 158.029588] em28xx #0: Alternate setting 2, max size= 1448 [ 158.029592] em28xx #0: Alternate setting 3, max size= 2048 [ 158.029596] em28xx #0: Alternate setting 4, max size= 2304 [ 158.029600] em28xx #0: Alternate setting 5, max size= 2580 [ 158.029604] em28xx #0: Alternate setting 6, max size= 2892 [ 158.029608] em28xx #0: Alternate setting 7, max size= 3072 [ 158.380061] attach_inform: tvp5150 detected. [ 158.401285] tvp5150 1-005c: tvp5150am1 detected. [ 159.600956] successfully attached tuner [ 159.612078] em28xx #0: V4L2 VBI device registered as /dev/vbi0 [ 159.625803] em28xx #0: V4L2 device registered as /dev/video1 [ 159.626248] input: em2880/em2870 remote control as /devices/virtual/input/input9 [ 159.652582] em28xx-input.c: remote control handler attached [ 159.652592] em28xx #0: Found Pinnacle Hybrid Pro (em2882) [ 159.652620] usbcore: registered new interface driver em28xx [ 159.778612] em28xx-audio.c: probing for em28x1 non standard usbaudio [ 159.778621] em28xx-audio.c: Copyright (C) 2006 Markus Rechberger [ 159.779262] BUG: unable to handle kernel paging request at virtual address 38326d65 [ 159.779269] printing eip: f8cd2663 *pde = 00000000 [ 159.779276] Oops: 0000 [#1] SMP [ 159.779283] Modules linked in: em28xx_audio xc3028_tuner tvp5150 em28xx af_packet i915 drm binfmt_misc hidp ppdev autofs4 container sbs sbshc dock cpufreq_powersave cpufreq_stats cpufreq_userspace cpufreq_conservative iptable_filter ip_tables x_tables loop aufs squashfs rfcomm l2cap cpufreq_ondemand freq_table eee lp parport uvcvideo compat_ioctl32 videodev v4l1_compat v4l2_common hci_usb bluetooth wlan_scan_sta ath_rate_sample evdev psmouse battery video output snd_hda_intel ac snd_pcm_oss snd_mixer_oss ahci i2c_i801 i2c_core snd_pcm snd_page_alloc snd_hwdep pcspkr iTCO_wdt iTCO_vendor_support ehci_hcd ath_pci wlan ath_hal(P) atl2 snd_seq_dummy usb_storage snd_seq_oss snd_seq_midi button eeepc_acpi snd_rawmidi uhci_hcd snd_seq_midi_event snd_seq snd_timer snd_seq_device snd soundcore intel_agp agpgart thermal processor fan fuse ata_piix libata sd_mod sg scsi_mod libusual usbcore hid ext3 jbd mbcache reiserfs [ 159.779379] [ 159.779385] Pid: 6635, comm: modprobe Tainted: P (2.6.24-21-eeepc #1) [ 159.779390] EIP: 0060:[<f8cd2663>] EFLAGS: 00010246 CPU: 0 00 EDI: f5dea634 EBP: 00000018 ESP: ef7e1dd00x23/0x170 [snd_pcm] [ 159.779431] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 [ 159.779436] Process modprobe (pid: 6635, ti=ef7e0000 task=f17705b0 task.ti=ef7e0000) [ 159.779440] Stack: 00000000 00000001 f5deaa00 00000000 f5deaa00 00000000 00000003 00000000 [ 159.779450] f5dea200 00000018 f8a4620c 00000000 ef71d000 f5dea600 f8cca67f f8cdb82c [ 159.779460] f5dea600 ef7e1e24 f5dea400 00000001 f8cd3514 436d6370 63304431 ffffff00 [ 159.779470] Call Trace: [ 159.779489] [<f8a4620c>] snd_add_device_sysfs_file+0x3c/0x70 [snd] [ 159.779519] [<f8cca67f>] snd_pcm_dev_register+0xef/0x200 [snd_pcm] [ 159.779556] [<f8a4adcd>] snd_device_register_all+0x2d/0x60 [snd] [ 159.779584] [<f8a46a1e>] snd_card_register+0x1e/0x300 [snd] [ 159.779619] [<f901f138>] em28xx_audio_init+0x108/0x160 [em28xx_audio] [ 159.779636] [<f916944a>] em28xx_register_extension+0xaa/0xd0 [em28xx] [ 159.779672] [<c014edc6>] sys_init_module+0x126/0x19b0 [ 159.779687] [<c0177de0>] __do_fault+0x200/0x3e0 [ 159.779753] [<c0104396>] sysenter_past_esp+0x6b/0xa1 [ 159.779770] [<c013007b>] sys_adjtimex+0x1b/0x80 [ 159.779787] ======================= [ 159.779789] Code: 00 00 5b c3 8d 74 26 00 56 89 c6 53 83 ec 30 8b 56 30 c7 44 24 1c 00 00 00 00 8d 4c 24 18 c7 44 24 18 03 00 00 00 8b 18 83 e2 01 <8b> 03 8b 00 89 44 24 20 8b 43 0c 89 44 24 24 8b 46 0c 01 c0 09 [ 159.779834] EIP: [<f8cd2663>] snd_pcm_timer_init+0x23/0x170 [snd_pcm] SS:ESP 0068:ef7e1dd0 [ 159.779869] ---[ end trace 8e6effbf1ced4d9a ]--- [EMAIL PROTECTED]:/lib/modules/2.6.24-21-eeepc# modinfo snd filename: /lib/modules/2.6.24-21-eeepc/ubuntu/sound/alsa-driver/acore/snd.ko alias: char-major-116-* license: GPL description: Advanced Linux Sound Architecture driver for soundcards. author: Jaroslav Kysela <[EMAIL PROTECTED]> srcversion: 8BCC9572D4572A4BD69C453 depends: soundcore vermagic: 2.6.24-21-eeepc SMP mod_unload PENTIUMM parm: slots:Module names assigned to the slots. (array of charp) parm: major:Major # for sound driver. (int) parm: cards_limit:Count of auto-loadable soundcards. (int) [EMAIL PROTECTED]:/lib/modules/2.6.24-21-eeepc# modinfo snd_pcm filename: /lib/modules/2.6.24-21-eeepc/ubuntu/sound/alsa-driver/acore/snd-pcm.ko license: GPL description: Midlevel PCM code for ALSA. author: Jaroslav Kysela <[EMAIL PROTECTED]>, Abramo Bagnara < [EMAIL PROTECTED]> srcversion: B1E7C15CCD3FA46269CC444 depends: snd,snd-page-alloc,snd-timer vermagic: 2.6.24-21-eeepc SMP mod_unload PENTIUMM parm: preallocate_dma:Preallocate DMA memory when the PCM devices are initialized. (int) parm: maximum_substreams:Maximum substreams with preallocated DMA memory. (int) modules created this way: # apt-get install linux-image-2.6.24-21-eeepc linux-ubuntu-modules-2.6.24-21-eeepc # cd /usr/src # git clone git://www.array.org/ubuntu-hardy-lum.git (installed LUM binary package is 2.6.24-21.30eeepc3, the `git show` says that it is linux-ubuntu-modules-2.6.24 (2.6.24-21.30eeepc3) hardy; urgency=low - so, versions match) # hg clone http://mcentral.de/hg/~mrec/em28xx-new # em28xx-new/build.sh ubuntu # echo 'obj-$(CONFIG_EEEPC_TVTUNER) += media/empia/' >> ubuntu-hardy-lum/ubuntu/Makefile # echo 'CONFIG_EEEPC_TVTUNER=m' >> ubuntu-hardy-lum/debian/config/i386 # cd ubuntu-hardy-lum # fakeroot debian/rules binary-arch arch=i386 flavours="eeepc" then I just reinstalled created .deb over the old one and removed /precompiled folder (since according to build.sh it contains precompied dvb-core.ko for wrong ubuntu version (2.6.21) # cd .. # dpkg -i linux-ubuntu-modules-2.6.24-21-eeepc_2.6.24-21.30eeepc3_i386.deb # rm -R /lib/modules/2.6.24-21-eeepc/ubuntu/media/empia/precompiled #depmod -a Other info: [EMAIL PROTECTED]:/usr/src# cat /proc/version Linux version 2.6.24-21-eeepc ([EMAIL PROTECTED]) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Thu Aug 7 22:18:05 MDT 2008 [EMAIL PROTECTED]:/usr/src# uname -a Linux alexey-eee 2.6.24-21-eeepc #1 SMP Thu Aug 7 22:18:05 MDT 2008 i686 GNU/Linux Again (to be clear): all these steps over the 2.6.24-20-eeepc kernel build aboslutely usable module. It works with no fails. The problems starts when trying to create the same module (the same way) for 2.6.24-21-eeepc kernel.
_______________________________________________ Em28xx mailing list [email protected] http://mcentral.de/mailman/listinfo/em28xx
