Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Błąd podczas ładowania bluetooth.ko, kernel 2.6.24-gentoo-r4
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt
View previous topic :: View next topic  
Author Message
czaber
n00b
n00b


Joined: 22 May 2008
Posts: 2

PostPosted: Thu May 22, 2008 1:24 pm    Post subject: Błąd podczas ładowania bluetooth.ko, kernel 2.6.24-gentoo-r4 Reply with quote

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
View user's profile Send private message
ufoman
Tux's lil' helper
Tux's lil' helper


Joined: 02 Apr 2006
Posts: 80

PostPosted: Thu May 29, 2008 10:44 am    Post subject: Reply with quote

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
View user's profile Send private message
czaber
n00b
n00b


Joined: 22 May 2008
Posts: 2

PostPosted: Thu May 29, 2008 2:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
matiit
Guru
Guru


Joined: 05 Aug 2007
Posts: 506

PostPosted: Thu May 29, 2008 2:35 pm    Post subject: Reply with quote

http://www.flickr.com/photos/matiit/2534099256/
http://www.flickr.com/photos/matiit/2533284393/
http://www.flickr.com/photos/matiit/2533283737/
Spróbuj tak ustawić, ja jak mam całe Bluetooth jako M to nie działa...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt All times are GMT
Page 1 of 1

 
Jump to:  
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