Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel-Module für USB
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
mirkux
n00b
n00b


Joined: 20 May 2004
Posts: 15

PostPosted: Mon May 24, 2004 4:43 pm    Post subject: Kernel-Module für USB Reply with quote

Hallo,

Ich habe folgende kernelmodule als (M) ausgewählt:

usb-storage
ehci-hcd
uhci-hcd
ohci-hcd
usbhid
usblp

Alle Module wurden ohne Fehlermeldung kompiliert und sind jetzt mit dem Namen *.ko unter /lib/modules/kernel verfügbar.
Doch keines wird geladen. Auch auf modprobe modulname kommt jedesmal:

root@tux mirkux # modprobe usbhid
FATAL: Error inserting usbhid (/lib/modules/2.6.6/kernel/drivers/usb/input/usbhid.ko): Unknown symbol in module, or unknown parameter (see dmesg)
root@tux mirkux #
root@tux mirkux # modprobe usb-storage
FATAL: Error inserting usb_storage (/lib/modules/2.6.6/kernel/drivers/usb/storage/usb-storage.ko): Unknown symbol in module, or unknown parameter (see dmesg)
root@tux mirkux # modprobe usblp
FATAL: Error inserting usblp (/lib/modules/2.6.6/kernel/drivers/usb/class/usblp.ko): Unknown symbol in module, or unknown parameter (see dmesg)
root@tux mirkux #

Hier die relevante dmesg nach der immer gefragt wird (see demsg):


agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly.
atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly.
uhci_hcd: Unknown symbol usb_hcd_pci_suspend
uhci_hcd: Unknown symbol usb_hcd_pci_probe
uhci_hcd: Unknown symbol usb_check_bandwidth
uhci_hcd: Unknown symbol usb_disabled
uhci_hcd: Unknown symbol usb_release_bandwidth
uhci_hcd: Unknown symbol usb_register_root_hub
uhci_hcd: Unknown symbol usb_put_dev
uhci_hcd: Unknown symbol usb_get_dev
uhci_hcd: Unknown symbol usb_claim_bandwidth
uhci_hcd: Unknown symbol usb_hcd_pci_resume
uhci_hcd: Unknown symbol usb_hcd_giveback_urb
uhci_hcd: Unknown symbol usb_hcd_pci_remove
uhci_hcd: Unknown symbol usb_alloc_dev
ohci_hcd: Unknown symbol usb_hcd_pci_suspend
ohci_hcd: Unknown symbol usb_hcd_pci_probe
ohci_hcd: Unknown symbol usb_disconnect
ohci_hcd: Unknown symbol usb_disabled
ohci_hcd: Unknown symbol usb_register_root_hub
ohci_hcd: Unknown symbol usb_put_dev
ohci_hcd: Unknown symbol usb_calc_bus_time
ohci_hcd: Unknown symbol usb_hcd_pci_resume
ohci_hcd: Unknown symbol usb_hcd_giveback_urb
ohci_hcd: Unknown symbol usb_hcd_pci_remove
ohci_hcd: Unknown symbol usb_alloc_dev
usbhid: Unknown symbol usb_alloc_urb
usbhid: Unknown symbol usb_free_urb
usbhid: Unknown symbol usb_register
usbhid: Unknown symbol usb_submit_urb
usbhid: Unknown symbol usb_control_msg
usbhid: Unknown symbol usb_register_dev
usbhid: Unknown symbol usb_deregister
usbhid: Unknown symbol usb_string
usbhid: Unknown symbol usb_unlink_urb
usbhid: Unknown symbol usb_deregister_dev
usbhid: Unknown symbol usb_buffer_free
usbhid: Unknown symbol __usb_get_extra_descriptor
usbhid: Unknown symbol usb_buffer_alloc
usb_storage: Unknown symbol usb_alloc_urb
usb_storage: Unknown symbol usb_free_urb
usb_storage: Unknown symbol usb_sg_init
usb_storage: Unknown symbol usb_register
usb_storage: Unknown symbol usb_sg_cancel
usb_storage: Unknown symbol usb_put_dev
usb_storage: Unknown symbol usb_reset_device
usb_storage: Unknown symbol usb_get_dev
usb_storage: Unknown symbol usb_submit_urb
usb_storage: Unknown symbol usb_deregister
usb_storage: Unknown symbol usb_string
usb_storage: Unknown symbol usb_unlink_urb
usb_storage: Unknown symbol usb_buffer_free
usb_storage: Unknown symbol usb_sg_wait
usb_storage: Unknown symbol usb_buffer_alloc
usblp: Unknown symbol usb_alloc_urb
usblp: Unknown symbol usb_free_urb
usblp: Unknown symbol usb_register
usblp: Unknown symbol usb_find_interface
usblp: Unknown symbol usb_submit_urb
usblp: Unknown symbol usb_control_msg
usblp: Unknown symbol usb_register_dev
usblp: Unknown symbol usb_set_interface
usblp: Unknown symbol usb_deregister
usblp: Unknown symbol usb_unlink_urb
usblp: Unknown symbol usb_deregister_dev
usblp: Unknown symbol usb_buffer_free
usblp: Unknown symbol usb_buffer_alloc

Eigentlich mil ich nur meine USB-Digikam anschließen.
Ich habe schon mit einem Freund die .config des Kernels verglichen und bis auf unsere unterschiedlichen Soundkarten und Netzwerkkarten waren sie identlisch. Er machte allerdings nur ein simples "emerge digikam" und da war die Kamera.

Ich weiß nun echt nicht mehr weiter ... und glaubt mir, ich habe in den letzten 2 Tagen viel drüber gelesen ...

vG
Mirko
Back to top
View user's profile Send private message
Beforegod
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 1494
Location: Frankfurt/Main

PostPosted: Mon May 24, 2004 5:30 pm    Post subject: Reply with quote

Schau mal ob nicht evt. usb-core usw. auch als Modul geladen werden muss (sonst geht nix!)

Poste auch mal Deine .config! (nur USB BEreich)
Back to top
View user's profile Send private message
mirkux
n00b
n00b


Joined: 20 May 2004
Posts: 15

PostPosted: Mon May 24, 2004 5:37 pm    Post subject: Reply with quote

Danke für die schnelle Reaktion!

Hier ist der USB-Ausschnitt meiner .config:

#
# USB support
#
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set

#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
# CONFIG_USB_DYNAMIC_MINORS is not set

#
# USB Host Controller Drivers
#
CONFIG_USB_EHCI_HCD=m
# CONFIG_USB_EHCI_SPLIT_ISO is not set
# CONFIG_USB_EHCI_ROOT_HUB_TT is not set
CONFIG_USB_OHCI_HCD=m
CONFIG_USB_UHCI_HCD=m

#
# USB Device Class drivers
#
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_BLUETOOTH_TTY is not set
# CONFIG_USB_MIDI is not set
# CONFIG_USB_ACM is not set
CONFIG_USB_PRINTER=m
CONFIG_USB_STORAGE=m
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_DPCM is not set
# CONFIG_USB_STORAGE_HP8200e is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set

#
# USB Human Interface Devices (HID)
#
CONFIG_USB_HID=m
CONFIG_USB_HIDINPUT=y
# CONFIG_HID_FF is not set
CONFIG_USB_HIDDEV=y

#
# USB HID Boot Protocol drivers
#
# CONFIG_USB_KBD is not set
# CONFIG_USB_MOUSE is not set
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_MTOUCH is not set
# CONFIG_USB_XPAD is not set
# CONFIG_USB_ATI_REMOTE is not set

#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set
# CONFIG_USB_HPUSBSCSI is not set

#
# USB Multimedia devices
#
# CONFIG_USB_DABUSB is not set

#
# Video4Linux support is needed for USB Multimedia device support
#

#
# USB Network adaptors
#
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET is not set

#
# USB port drivers
#
# CONFIG_USB_USS720 is not set

#
# USB Serial Converter support
#
# CONFIG_USB_SERIAL is not set

#
# USB Miscellaneous drivers
#
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_TIGL is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_LED is not set
# CONFIG_USB_CYTHERM is not set
# CONFIG_USB_TEST is not set

#
# USB Gadget Support
#
# CONFIG_USB_GADGET is not set

Ich nutze den 2.6.6er Kernel. Einen Eintrag "usbcore" konnte ich dort nicht finden.

vG
Mirko
Back to top
View user's profile Send private message
mirkux
n00b
n00b


Joined: 20 May 2004
Posts: 15

PostPosted: Tue May 25, 2004 9:27 am    Post subject: Reply with quote

kann mal büdde, büdde einer schauen, der mehr Ahnung hat als ich, ob bezüglich USB in meiner Kernel-.config alles ok ist? Ich will eigentlich nur meine Digikam anschliessen, aber der USB reagiert überhaupt nicht :-((( Fehlermeldungen siehe oben -->

Besten Dank für Eure Hilfe

Mirko
Back to top
View user's profile Send private message
DiD@SyN
n00b
n00b


Joined: 04 Jun 2003
Posts: 30
Location: Switzerland

PostPosted: Tue May 25, 2004 2:20 pm    Post subject: Reply with quote

Ich hatte auch diesen Unknown symbol Fehler, und zwar hatte ich ein Kernel-Modul neben dem Kernel kompiliert (nicht gleichzeitig). Das kann einige Probleme mit sich bringen wenn man nicht die richtigen Compiler-Befehle und Includes verwendet :) Aber nun zu deinem Problem: Vielleicht ist es ja ganz trivial. Überprüfe einfach mal folgende sachen:
1. Wie hast du deinen Kernel kompiliert? Für den 2.6er benötigst du nur 2 Befehle. Was du sicherlich benötigst ist das make modules_install:
Code:
make && make modules_install

2. Hast du den kompilierten Kernel auch wirklich kopiert und lades du ihn mit deinem Bootmanager auch korrekt?
3. Versuch mal die USB-Module direkt in den Kernel (monolithisch) zu kompilieren.
4. Versuch mal deine module via usbd zu laden (hat in meinem Fall nicht funktioniert, aber vielleicht ist usbd ja für dich von vorteil :)

So, mehr kann ich dazu nicht sagen, nur... good luck
!
_________________
Use the force, read the source
Back to top
View user's profile Send private message
fimblo
Guru
Guru


Joined: 19 Feb 2003
Posts: 306
Location: European Union, Stockholm

PostPosted: Fri Jan 14, 2005 11:59 pm    Post subject: Reply with quote

I've got the same problem, I'll give it a shot. Thank you.

/fimblo (sweden)
_________________
http://blahonga.yanson.org - little geekblog
http://blahona.yanson.org/howtos/livecd - yet another livecd howto
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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