| View previous topic :: View next topic |
| Author |
Message |
czaber n00b

Joined: 22 May 2008 Posts: 2
|
Posted: Thu May 22, 2008 1:24 pm Post subject: Błąd podczas ładowania bluetooth.ko, kernel 2.6.24-gentoo-r4 |
|
|
Postanowiłem postawić sobie w ramach testów sieć przez Bluetooth.
Kupiłem dwa tanie bluetooth na usb i zacząłem konfigurować gentoo.
Skompilowałem kernel wg http://www.gentoo.org/doc/pl/bluetooth-guide.xml i
hcitool dev wyświetla mi urządzenie:
| Code: |
Devices:
hci0 11:11:11:11:11:11
|
Skanowanie przebiega poprawnie, wykrywa telefon.
Pozornie wszystko ok z BT.
Problem:
Podczas ładowania bluetooth.ko pokazuje mi się błąd:
| Code: |
# modprobe bluetooth
FATAL: Error inserting bluetooth (/lib/modules/2.6.24-gentoo-r4/kernel/net/bluetooth/bluetooth.ko): Invalid module format
# dmesg
[...]
bluetooth: exports duplicate symbol bt_sock_wait_state (owned by kernel)
|
czy możliwe jest, że źle skonfigurowałem jądro? |
|
| Back to top |
|
 |
ufoman Tux's lil' helper


Joined: 02 Apr 2006 Posts: 80
|
Posted: Thu May 29, 2008 10:44 am Post subject: |
|
|
Wygląda to tak, jakbyś chciał ładować moduł, a jednocześnie miał tą funkcjonalność wkompilowaną w jądro... _________________ Registered Linux User #417638
amd64 no-multilib
desktop: Gigabyte GA-MA770-UD3 v2.0, Athlon II X2 250 @3,6GHz, 4GB DDR2 800, Radeon HD 4850, Seagate Barracuda 7200.11 320GB |
|
| Back to top |
|
 |
czaber n00b

Joined: 22 May 2008 Posts: 2
|
Posted: Thu May 29, 2008 2:14 pm Post subject: |
|
|
Prawdopodobonie sprobuję skompilować sobie nowsze( linux-2.6.24-gentoo-r8 ) i zobaczę, czy nadal mam tak samo.
Oto kolejne rzeczy, które sprawdziłem:
| Code: |
czaber@localhost /usr/src/linux $ grep -R bt_sock_wait_state . | grep ".[hco]:"
./include/net/bluetooth/bluetooth.h:int bt_sock_wait_state(struct sock *sk, int state, unsigned long timeo);
./net/bluetooth/rfcomm/sock.c: err = bt_sock_wait_state(sk, BT_CONNECTED,
./net/bluetooth/rfcomm/sock.c: err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime);
./net/bluetooth/rfcomm/rfcomm.mod.c: { 0x425e089d, "bt_sock_wait_state" },
./net/bluetooth/l2cap.mod.c: { 0x425e089d, "bt_sock_wait_state" },
./net/bluetooth/sco.mod.c: { 0x425e089d, "bt_sock_wait_state" },
./net/bluetooth/af_bluetooth.c:int bt_sock_wait_state(struct sock *sk, int state, unsigned long timeo)
./net/bluetooth/af_bluetooth.c:EXPORT_SYMBOL(bt_sock_wait_state);
./net/bluetooth/l2cap.c: err = bt_sock_wait_state(sk, BT_CONNECTED,
./net/bluetooth/l2cap.c: err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime);
./net/bluetooth/sco.c: err = bt_sock_wait_state(sk, BT_CONNECTED,
./net/bluetooth/sco.c: err = bt_sock_wait_state(sk, BT_CLOSED, sk->sk_lingertime);
|
| Code: |
czaber@localhost /usr/src/linux $ grep _BT .config
CONFIG_BT=y
CONFIG_BT_L2CAP=m
CONFIG_BT_SCO=m
CONFIG_BT_RFCOMM=m
CONFIG_BT_RFCOMM_TTY=y
CONFIG_BT_BNEP=m
CONFIG_BT_BNEP_MC_FILTER=y
CONFIG_BT_BNEP_PROTO_FILTER=y
# CONFIG_BT_CMTP is not set
CONFIG_BT_HIDP=m
CONFIG_BT_HCIUSB=m
CONFIG_BT_HCIUSB_SCO=y
CONFIG_BT_HCIBTSDIO=m
CONFIG_BT_HCIUART=m
CONFIG_BT_HCIUART_H4=y
CONFIG_BT_HCIUART_BCSP=y
CONFIG_BT_HCIUART_LL=y
CONFIG_BT_HCIBCM203X=m
CONFIG_BT_HCIBPA10X=m
CONFIG_BT_HCIBFUSB=m
# CONFIG_BT_HCIDTL1 is not set
# CONFIG_BT_HCIBT3C is not set
# CONFIG_BT_HCIBLUECARD is not set
# CONFIG_BT_HCIBTUART is not set
CONFIG_BT_HCIVHCI=m
# CONFIG_INPUT_WISTRON_BTNS is not set
# CONFIG_INPUT_ATLAS_BTNS is not set
CONFIG_SND_BT87X=m
# CONFIG_SND_BT87X_OVERCLOCK is not set
|
|
|
| Back to top |
|
 |
matiit Guru


Joined: 05 Aug 2007 Posts: 506
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|