View previous topic :: View next topic |
Author |
Message |
thelusiv n00b
Joined: 08 Aug 2004 Posts: 10
|
Posted: Tue Aug 10, 2004 5:22 am Post subject: bttv & lm-sensors won't work with gentoo-dev-sources 2.6 |
|
|
I am trying to set up a machine a built some time ago to do simple TV tuning with tvtime. I would also like to use the hardware sensors on my AMD Irongate 751 chipset.
Whenever I try to load the bttv modules i get:
Code: | # modprobe bttv tuner type=2 card=37 radio=1
WARNING: Error inserting btcx_risc (/lib/modules/2.6.7-gentoo-r11/kernel/drivers/media/video/btcx-risc.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting v4l2_common (/lib/modules/2.6.7-gentoo-r11/kernel/drivers/media/video/v4l2-common.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting video_buf (/lib/modules/2.6.7-gentoo-r11/kernel/drivers/media/video/video-buf.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting bttv (/lib/modules/2.6.7-gentoo-r11/kernel/drivers/media/video/bttv.ko): Unknown symbol in module, or unknown parameter (see dmesg) |
dmesg:
Code: | Linux video capture interface: v1.00
btcx_risc: Unknown symbol cleanup_module
v4l2_common: Unknown symbol cleanup_module
video_buf: Unknown symbol cleanup_module
bttv: Unknown symbol videobuf_streamoff
bttv: Unknown symbol videobuf_poll_stream
bttv: Unknown symbol videobuf_read_stop
bttv: Unknown symbol videobuf_alloc
bttv: Unknown symbol i2c_bit_add_bus
bttv: Unknown symbol v4l2_prio_max
bttv: Unknown symbol videobuf_dma_pci_unmap
bttv: Unknown symbol videobuf_dma_free
...(lots more unknown symbols)... |
when i ran sensors-detect it told me to use the following commands to load lm-sensors:
Code: | # I2C adapter drivers
modprobe i2c-amd756
# I2C chip drivers
modprobe eeprom
# sleep 2 # optional
/usr/bin/sensors -s # recommended |
when i run these commands, everything is fine except 'modprobe eeprom'. relevent dmesg:
Code: | i2c_sensor: Unknown symbol cleanup_module
eeprom: Unknown symbol i2c_detect |
it seems to me like there's something missing from my kernel. cleanup_module is in many of the modules...However I'm fairly sure my kernel is OK. Here is the I2C setup portion:
Code: | # I2C support
#
CONFIG_I2C=m
CONFIG_I2C_CHARDEV=m
#
# I2C Algorithms
#
CONFIG_I2C_ALGOBIT=m
CONFIG_I2C_ALGOPCF=m
#
# I2C Hardware Bus support
#
# CONFIG_I2C_ALI1535 is not set
# CONFIG_I2C_ALI1563 is not set
# CONFIG_I2C_ALI15X3 is not set
CONFIG_I2C_AMD756=m
# CONFIG_I2C_AMD8111 is not set
# CONFIG_I2C_ELEKTOR is not set
# CONFIG_I2C_I801 is not set
# CONFIG_I2C_I810 is not set
# CONFIG_I2C_ISA is not set
# CONFIG_I2C_NFORCE2 is not set
# CONFIG_I2C_PARPORT_LIGHT is not set
# CONFIG_I2C_PIIX4 is not set
# CONFIG_I2C_PROSAVAGE is not set
# CONFIG_I2C_SAVAGE4 is not set
# CONFIG_SCx200_ACB is not set
# CONFIG_I2C_SIS5595 is not set
# CONFIG_I2C_SIS630 is not set
# CONFIG_I2C_SIS96X is not set
# CONFIG_I2C_VIA is not set
# CONFIG_I2C_VIAPRO is not set
# CONFIG_I2C_VOODOO3 is not set
#
# Hardware Sensors Chip support
#
CONFIG_I2C_SENSOR=m
# CONFIG_SENSORS_ADM1021 is not set
# CONFIG_SENSORS_ASB100 is not set
# CONFIG_SENSORS_DS1621 is not set
# CONFIG_SENSORS_FSCHER is not set
# CONFIG_SENSORS_GL518SM is not set
# CONFIG_SENSORS_IT87 is not set
# CONFIG_SENSORS_LM75 is not set
# CONFIG_SENSORS_LM78 is not set
# CONFIG_SENSORS_LM80 is not set
# CONFIG_SENSORS_LM83 is not set
# CONFIG_SENSORS_LM85 is not set
# CONFIG_SENSORS_LM90 is not set
# CONFIG_SENSORS_MAX1619 is not set
# CONFIG_SENSORS_VIA686A is not set
# CONFIG_SENSORS_W83781D is not set
# CONFIG_SENSORS_W83L785TS is not set
# CONFIG_SENSORS_W83627HF is not set
#
# Other I2C Chip support
#
CONFIG_SENSORS_EEPROM=m
# CONFIG_SENSORS_PCF8574 is not set
# CONFIG_SENSORS_PCF8591 is not set
# CONFIG_SENSORS_RTC8564 is not set
CONFIG_I2C_DEBUG_CORE=y
CONFIG_I2C_DEBUG_ALGO=y
CONFIG_I2C_DEBUG_BUS=y
CONFIG_I2C_DEBUG_CHIP=y |
Multimedia/video stuff:
Code: | #
# Video For Linux
#
#
# Video Adapters
#
CONFIG_VIDEO_BT848=m
# CONFIG_VIDEO_PMS is not set
# CONFIG_VIDEO_CPIA is not set
# CONFIG_VIDEO_SAA5246A is not set
# CONFIG_VIDEO_SAA5249 is not set
# CONFIG_TUNER_3036 is not set
# CONFIG_VIDEO_STRADIS is not set
# CONFIG_VIDEO_ZORAN is not set
# CONFIG_VIDEO_SAA7134 is not set
# CONFIG_VIDEO_MXB is not set
# CONFIG_VIDEO_DPC is not set
# CONFIG_VIDEO_HEXIUM_ORION is not set
# CONFIG_VIDEO_HEXIUM_GEMINI is not set
# CONFIG_VIDEO_CX88 is not set
#
# Radio Adapters
#
# CONFIG_RADIO_CADET is not set
# CONFIG_RADIO_RTRACK is not set
# CONFIG_RADIO_RTRACK2 is not set
# CONFIG_RADIO_AZTECH is not set
# CONFIG_RADIO_GEMTEK is not set
# CONFIG_RADIO_GEMTEK_PCI is not set
# CONFIG_RADIO_MAXIRADIO is not set
# CONFIG_RADIO_MAESTRO is not set
# CONFIG_RADIO_SF16FMI is not set
# CONFIG_RADIO_SF16FMR2 is not set
# CONFIG_RADIO_TERRATEC is not set
# CONFIG_RADIO_TRUST is not set
# CONFIG_RADIO_TYPHOON is not set
# CONFIG_RADIO_ZOLTRIX is not set
#
# Digital Video Broadcasting Devices
#
# CONFIG_DVB is not set
CONFIG_VIDEO_TUNER=m
CONFIG_VIDEO_BUF=m
CONFIG_VIDEO_BTCX=m
CONFIG_VIDEO_IR=m |
Any ideas as to what I'm leaving out? I have tried compiling most of these things that are compiled as modules into the kernel with no better results. I have also tried loading the bttv modules with and without the card= and tuner= options, with the same results.
chris |
|
Back to top |
|
|
unz l33t
Joined: 28 Jul 2004 Posts: 819 Location: Roma, Italia
|
Posted: Tue Aug 10, 2004 11:12 am Post subject: |
|
|
After a week of passion i could tune my bttv card, it's a cheap 'n old miroPCTV.
I compiled kernel with all I2C modules and bttv driver [sound and mixer too], then i checked my tvtuner ... it gave me a lot of problems 'cos it wasn't recognized correctly [i removed bttv and tuner modules then inserted again paying attention to tuner type] Code: | modprobe tuner type=XXX | and at last tvtime started workin [i got problems too during channels scanning 'cos italian frequencies aren't "bundled ... but european ones do the job
ps kernel gave me a lot of unresolved symbols when i missed make mrproper before make menuconfig ... perhaps ... _________________ Ma che c'hai là? Sulla spalla!!!! http://lascimmia.it/ |
|
Back to top |
|
|
triode n00b
Joined: 11 Aug 2004 Posts: 22 Location: Oz
|
|
Back to top |
|
|
thelusiv n00b
Joined: 08 Aug 2004 Posts: 10
|
Posted: Sun Aug 15, 2004 12:29 am Post subject: |
|
|
triode, thanks for the tutorial - now i'm pretty sure i'm going about this the right way. i get messed up around step 2.
unz: thanks for the make mrproper tip, that was something i'd been wondering about for some time.
unfortunately i'm still having this problem. i've also been trying to get sound working with alsa or oss on this machine. when i used alsa, every time i tried to insert the module (snd-ens1371 for my card) it would fail saying that it had a problem reading the snd.ko module.
so just for fun i tried using oss, recompiled my kernel without alsa support but with oss support instead. modprobe es1371 (the oss module for my sound card) puts the following in dmesg:
Code: | ac97_codec: Unknown symbol cleanup_module
es1371: Unknown symbol ac97_release_codec
es1371: Unknown symbol ac97_alloc_codec
es1371: Unknown symbol ac97_probe_codec |
this looks very similar to my bttv module problem. a little googling shows me that cleanup_module is supposed to be in most every kernel module but is deprecated in 2.6. what's going on here? i am using gentoo-dev-sources 2.6.7-r11.
i am trying recompiling my kernel now without module unloading support. i think this may be the culprit. it would be nice however to be able to unload modules. any ideas? |
|
Back to top |
|
|
thelusiv n00b
Joined: 08 Aug 2004 Posts: 10
|
Posted: Sun Aug 15, 2004 12:59 am Post subject: |
|
|
aha! unloadable module support was indeed the culprit. i am emerging gentoo-dev-sources 2.6.7-r14 now (gentoo kernel ebuild folks - any eta on 2.6.8?)
the bttv module and all its dependencies load fine when the kernel is compiled without module unloading support. xawtv gives the same results i mentioned that knoppix gave earlier, so i will worry about that later (after i test the card in a machine with a better power supply).
i can use sensors now, although it only seems to report memory size, no temp values. this may be a limitation of the chipset, but i will figure that out later.
modprobe es1371 loaded the module, and the ac97_codec module just fine. also modprobe btaudio seems to work. now i have a /dev/sound/dsp and a /dev/sound/dsp1, but when i do
Code: | cat /dev/urandom > /dev/sound/dsp |
i get the error "No such device". if i do
Code: | cat /dev/urandom > /dev/sound/dsp1 |
nothing happens. arts also still complains about not having a sound card. if i could get sound working i could at least watch dvd's on this machine... |
|
Back to top |
|
|
|