From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <45DD9294.1060109@domain.hid> Date: Thu, 22 Feb 2007 13:54:44 +0100 From: Wolfgang Grandegger MIME-Version: 1.0 Subject: Re: [Xenomai-help] CAN driver References: <45DC1D05.1000206@domain.hid> <45DC39DE.8050802@domain.hid> <45DC3E6C.8040905@domain.hid> <45DD5DC0.6040402@domain.hid> <45DD7C42.9070407@domain.hid> <45DD8438.4030306@domain.hid> <45DD8B42.1020709@domain.hid> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: roland Tollenaar Cc: Xenomai-help@domain.hid, Jan Kiszka roland Tollenaar wrote: > Hi, > >> >> Without device it will not register anyhow and see above. >> > > I have now built the kernel with the virtual driver statically built > into it. No difference still no devices. > >> >> The driver for the dongle will not start properly when statically linked >> into the kernel. There should be a log message, though. >> > No log message unless I am missing something. What is the module > called? After the > make modules in the kernel building process I will have to find it and > store it somewhere I will try loading it manually when the new kernel > is booted. > > The virtual driver I can build in statically? > > >> >> Can you post the compete dmesg output? >> > > It is attached as a txt file. The errors regarding ehci, ohci, uhci > and mass_storage are results of trying to load modules that I have > statically built into the kernel. I'm missing Xenomai related messages? Could you send the complete boot log please. Wolfgang. > > Regards, > > Roland > > > > > >> > I have checked the .config for the kernel build and CAN is statically >> > built into it. >> > >> > I would prefer to statically build these things into the kernel due to >> > unwieldiness of my ditribution. If this is not possible I will make >> > modules. But is this the cause of problem I am having? >> > I have no device hooked to my system (PEAK dongle on its way) and the >> > virtual driver and TX loopback ability has been excluded from the >> > kernel build. Is this possibly why i have no devices listed in >> > proc/rtcan/devices? >> Wolfgang. >> >> > On 2/22/07, Wolfgang Grandegger wrote: >> >> roland Tollenaar wrote: >> >> > Hi Jan, >> >> > >> >> >> >> >> >> rtcanX are networking devices, but only visible in the context of >> >> >> RTDM/AF_CAN. >> >> > What is this? >> >> > >> >> > To enable them, use rtcanconfig as explained in the README. >> >> > Which README are you referring to? The only one I know of that says >> >> > something about rtcanconfig is in /src/utils/can and it does not >> >> > explain how to use ctrlmode and bittime. There is an example in it >> >> > >> >> > rtcanconfig rtcan0 --baudrate=125000 start. >> >> > >> >> > If I try >> >> > >> >> > rtcanconfig rtcan0 --baudrate=125000 start >> >> > >> >> > I get: >> >> > >> >> > "Can't get interface index for rtcan0, code=-19" >> >> > >> >> > Any idea what is wrong? >> >> >> >> Your devices have not yet show up on your system. I guess there is no >> >> entry in /proc/rtcan/devices. Check your boot log. >> >> >> >> Wolfgang. >> >> >> >> >> > >> > >> >> > > ------------------------------------------------------------------------ > > veReady SeekComplete Error } > hdc: packet command error: error=0x54 { AbortedCommand LastFailedSense=0x05 } > ide: failed opcode was: unknown > hdc: packet command error: status=0x51 { DriveReady SeekComplete Error } > hdc: packet command error: error=0x54 { AbortedCommand LastFailedSense=0x05 } > ide: failed opcode was: unknown > hdc: packet command error: status=0x51 { DriveReady SeekComplete Error } > hdc: packet command error: error=0x54 { AbortedCommand LastFailedSense=0x05 } > ide: failed opcode was: unknown > hdc: packet command error: status=0x51 { DriveReady SeekComplete Error } > hdc: packet command error: error=0x54 { AbortedCommand LastFailedSense=0x05 } > ide: failed opcode was: unknown > UDF-fs: No partition found (1) > XFS: bad magic number > XFS: SB validate failed > NTFS volume version 3.1. > spurious 8259A interrupt: IRQ7. > UDF-fs: No partition found (1) > XFS: bad magic number > XFS: SB validate failed > Linux agpgart interface v0.101 (c) Dave Jones > fuse init (API version 7.6) > NTFS volume version 3.1. > input: PS/2 Synaptics TouchPad as /class/input/input1 > Intel ISA PCIC probe: not found. > Databook TCIC-2 PCMCIA probe: not found. > PCI: Found IRQ 4 for device 0000:02:03.0 > PCI: Sharing IRQ 4 with 0000:00:1f.3 > PCI: Sharing IRQ 4 with 0000:00:1f.5 > PCI: Sharing IRQ 4 with 0000:00:1f.6 > IRQ routing conflict for 0000:02:03.0, have irq 11, want irq 4 > Yenta: CardBus bridge found at 0000:02:03.0 [1584:3000] > Yenta: adjusting diagnostic: 40 -> 60 > Yenta: Enabling burst memory read transactions > Yenta: Using CSCINT to route CSC interrupts to PCI > Yenta: Routing CardBus interrupts to PCI > Yenta TI: socket 0000:02:03.0, mfunc 0x005c1d22, devctl 0x44 > Yenta TI: socket 0000:02:03.0 probing PCI interrupt failed, trying to fix > Yenta TI: socket 0000:02:03.0 no PCI interrupts. Fish. Please report. > Yenta: no PCI IRQ, CardBus support disabled for this socket. > Yenta: check your BIOS CardBus, BIOS IRQ or ACPI settings. > Yenta: ISA IRQ mask 0x02c0, PCI irq 0 > Socket status: 30000006 > pcmcia: parent PCI bridge I/O window: 0xc000 - 0xcfff > cs: IO port probe 0xc000-0xcfff: clean. > pcmcia: parent PCI bridge Memory window: 0xffd00000 - 0xffdfffff > pcmcia: parent PCI bridge Memory window: 0x88000000 - 0x89ffffff > pcmcia: Detected deprecated PCMCIA ioctl usage. > pcmcia: This interface will soon be removed from the kernel; please expect breakage unless you upgrade to new tools. > pcmcia: see http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html for details. > cs: IO port probe 0xc00-0xcff: clean. > cs: IO port probe 0x820-0x8ff: clean. > cs: IO port probe 0x800-0x80f: clean. > cs: IO port probe 0x3e0-0x4ff: excluding 0x4d0-0x4d7 > cs: IO port probe 0x100-0x3af: excluding 0x378-0x37f > cs: IO port probe 0xa00-0xaff: clean. > 8139too Fast Ethernet driver 0.9.27 > PCI: Found IRQ 3 for device 0000:02:0b.0 > PCI: Sharing IRQ 3 with 0000:00:1d.1 > eth0: RealTek RTL8139 at 0xc800, 00:03:0d:14:95:c4, IRQ 3 > eth0: Identified 8139 chip type 'RTL-8100B/8139D' > ieee1394: Initialized config rom entry `ip1394' > PCI: Found IRQ 5 for device 0000:02:0a.0 > PCI: Sharing IRQ 5 with 0000:00:1d.2 > PCI: Sharing IRQ 5 with 0000:00:1f.1 > ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[5] MMIO=[ffdff800-ffdfffff] Max Packet=[2048] IR/IT contexts=[4/8] > PCI: Found IRQ 4 for device 0000:00:1f.5 > PCI: Sharing IRQ 4 with 0000:00:1f.3 > PCI: Sharing IRQ 4 with 0000:00:1f.6 > IRQ routing conflict for 0000:02:03.0, have irq 11, want irq 4 > PCI: Setting latency timer of device 0000:00:1f.5 to 64 > intel8x0_measure_ac97_clock: measured 55427 usecs > intel8x0: clocking to 48000 > ieee1394: Host added: ID:BUS[0-00:1023] GUID[00030d4975701d84] > i8xx TCO timer: initialized (0x0860). heartbeat=30 sec (nowayout=0) > shpchp: Unknown symbol acpi_get_name > shpchp: Unknown symbol acpi_evaluate_object > kobject_register failed for ehci_hcd (-17) > [] kobject_register+0x36/0x50 > [] mod_sysfs_setup+0x3d/0xb0 > [] load_module+0x909/0x9f0 > [] sys_init_module+0x43/0x190 > [] syscall_call+0x7/0xb > kobject_register failed for uhci_hcd (-17) > [] kobject_register+0x36/0x50 > [] mod_sysfs_setup+0x3d/0xb0 > [] load_module+0x909/0x9f0 > [] sys_init_module+0x43/0x190 > [] syscall_call+0x7/0xb > shpchp: Unknown symbol acpi_get_name > shpchp: Unknown symbol acpi_evaluate_object > agpgart: Detected an Intel 865 Chipset. > agpgart: AGP aperture is 64M @ 0xf8000000 > shpchp: Unknown symbol acpi_get_name > shpchp: Unknown symbol acpi_evaluate_object > kobject_register failed for ehci_hcd (-17) > [] kobject_register+0x36/0x50 > [] mod_sysfs_setup+0x3d/0xb0 > [] load_module+0x909/0x9f0 > [] sys_init_module+0x43/0x190 > [] syscall_call+0x7/0xb > kobject_register failed for uhci_hcd (-17) > [] kobject_register+0x36/0x50 > [] mod_sysfs_setup+0x3d/0xb0 > [] load_module+0x909/0x9f0 > [] sys_init_module+0x43/0x190 > [] syscall_call+0x7/0xb > shpchp: Unknown symbol acpi_get_name > shpchp: Unknown symbol acpi_evaluate_object > shpchp: Unknown symbol acpi_get_name > shpchp: Unknown symbol acpi_evaluate_object > kobject_register failed for ehci_hcd (-17) > [] kobject_register+0x36/0x50 > [] mod_sysfs_setup+0x3d/0xb0 > [] load_module+0x909/0x9f0 > [] sys_init_module+0x43/0x190 > [] syscall_call+0x7/0xb > kobject_register failed for uhci_hcd (-17) > [] kobject_register+0x36/0x50 > [] mod_sysfs_setup+0x3d/0xb0 > [] load_module+0x909/0x9f0 > [] sys_init_module+0x43/0x190 > [] syscall_call+0x7/0xb > shpchp: Unknown symbol acpi_get_name > shpchp: Unknown symbol acpi_evaluate_object > shpchp: Unknown symbol acpi_get_name > shpchp: Unknown symbol acpi_evaluate_object > kobject_register failed for ehci_hcd (-17) > [] kobject_register+0x36/0x50 > [] mod_sysfs_setup+0x3d/0xb0 > [] load_module+0x909/0x9f0 > [] sys_init_module+0x43/0x190 > [] syscall_call+0x7/0xb > kobject_register failed for uhci_hcd (-17) > [] kobject_register+0x36/0x50 > [] mod_sysfs_setup+0x3d/0xb0 > [] load_module+0x909/0x9f0 > [] sys_init_module+0x43/0x190 > [] syscall_call+0x7/0xb > shpchp: Unknown symbol acpi_get_name > shpchp: Unknown symbol acpi_evaluate_object > shpchp: Unknown symbol acpi_get_name > shpchp: Unknown symbol acpi_evaluate_object > kobject_register failed for ehci_hcd (-17) > [] kobject_register+0x36/0x50 > [] mod_sysfs_setup+0x3d/0xb0 > [] load_module+0x909/0x9f0 > [] sys_init_module+0x43/0x190 > [] syscall_call+0x7/0xb > kobject_register failed for uhci_hcd (-17) > [] kobject_register+0x36/0x50 > [] mod_sysfs_setup+0x3d/0xb0 > [] load_module+0x909/0x9f0 > [] sys_init_module+0x43/0x190 > [] syscall_call+0x7/0xb > shpchp: Unknown symbol acpi_get_name > shpchp: Unknown symbol acpi_evaluate_object > shpchp: Unknown symbol acpi_get_name > shpchp: Unknown symbol acpi_evaluate_object > kobject_register failed for ehci_hcd (-17) > [] kobject_register+0x36/0x50 > [] mod_sysfs_setup+0x3d/0xb0 > [] load_module+0x909/0x9f0 > [] sys_init_module+0x43/0x190 > [] syscall_call+0x7/0xb > kobject_register failed for uhci_hcd (-17) > [] kobject_register+0x36/0x50 > [] mod_sysfs_setup+0x3d/0xb0 > [] load_module+0x909/0x9f0 > [] sys_init_module+0x43/0x190 > [] syscall_call+0x7/0xb > shpchp: Unknown symbol acpi_get_name > shpchp: Unknown symbol acpi_evaluate_object > shpchp: Unknown symbol acpi_get_name > shpchp: Unknown symbol acpi_evaluate_object > kobject_register failed for ehci_hcd (-17) > [] kobject_register+0x36/0x50 > [] mod_sysfs_setup+0x3d/0xb0 > [] load_module+0x909/0x9f0 > [] sys_init_module+0x43/0x190 > [] syscall_call+0x7/0xb > kobject_register failed for uhci_hcd (-17) > [] kobject_register+0x36/0x50 > [] mod_sysfs_setup+0x3d/0xb0 > [] load_module+0x909/0x9f0 > [] sys_init_module+0x43/0x190 > [] syscall_call+0x7/0xb > shpchp: Unknown symbol acpi_get_name > shpchp: Unknown symbol acpi_evaluate_object > shpchp: Unknown symbol acpi_get_name > shpchp: Unknown symbol acpi_evaluate_object > kobject_register failed for ehci_hcd (-17) > [] kobject_register+0x36/0x50 > [] mod_sysfs_setup+0x3d/0xb0 > [] load_module+0x909/0x9f0 > [] sys_init_module+0x43/0x190 > [] syscall_call+0x7/0xb > kobject_register failed for uhci_hcd (-17) > [] kobject_register+0x36/0x50 > [] mod_sysfs_setup+0x3d/0xb0 > [] load_module+0x909/0x9f0 > [] sys_init_module+0x43/0x190 > [] syscall_call+0x7/0xb > shpchp: Unknown symbol acpi_get_name > shpchp: Unknown symbol acpi_evaluate_object > shpchp: Unknown symbol acpi_get_name > shpchp: Unknown symbol acpi_evaluate_object > kobject_register failed for ehci_hcd (-17) > [] kobject_register+0x36/0x50 > [] mod_sysfs_setup+0x3d/0xb0 > [] load_module+0x909/0x9f0 > [] sys_init_module+0x43/0x190 > [] syscall_call+0x7/0xb > kobject_register failed for uhci_hcd (-17) > [] kobject_register+0x36/0x50 > [] mod_sysfs_setup+0x3d/0xb0 > [] load_module+0x909/0x9f0 > [] sys_init_module+0x43/0x190 > [] syscall_call+0x7/0xb > shpchp: Unknown symbol acpi_get_name > shpchp: Unknown symbol acpi_evaluate_object > shpchp: Unknown symbol acpi_get_name > shpchp: Unknown symbol acpi_evaluate_object > kobject_register failed for ehci_hcd (-17) > [] kobject_register+0x36/0x50 > [] mod_sysfs_setup+0x3d/0xb0 > [] load_module+0x909/0x9f0 > [] sys_init_module+0x43/0x190 > [] syscall_call+0x7/0xb > kobject_register failed for uhci_hcd (-17) > [] kobject_register+0x36/0x50 > [] mod_sysfs_setup+0x3d/0xb0 > [] load_module+0x909/0x9f0 > [] sys_init_module+0x43/0x190 > [] syscall_call+0x7/0xb > shpchp: Unknown symbol acpi_get_name > shpchp: Unknown symbol acpi_evaluate_object > shpchp: Unknown symbol acpi_get_name > shpchp: Unknown symbol acpi_evaluate_object > kobject_register failed for ehci_hcd (-17) > [] kobject_register+0x36/0x50 > [] mod_sysfs_setup+0x3d/0xb0 > [] load_module+0x909/0x9f0 > [] sys_init_module+0x43/0x190 > [] syscall_call+0x7/0xb > kobject_register failed for uhci_hcd (-17) > [] kobject_register+0x36/0x50 > [] mod_sysfs_setup+0x3d/0xb0 > [] load_module+0x909/0x9f0 > [] sys_init_module+0x43/0x190 > [] syscall_call+0x7/0xb > shpchp: Unknown symbol acpi_get_name > shpchp: Unknown symbol acpi_evaluate_object > shpchp: Unknown symbol acpi_get_name > shpchp: Unknown symbol acpi_evaluate_object > kobject_register failed for ehci_hcd (-17) > [] kobject_register+0x36/0x50 > [] mod_sysfs_setup+0x3d/0xb0 > [] load_module+0x909/0x9f0 > [] sys_init_module+0x43/0x190 > [] syscall_call+0x7/0xb > kobject_register failed for uhci_hcd (-17) > [] kobject_register+0x36/0x50 > [] mod_sysfs_setup+0x3d/0xb0 > [] load_module+0x909/0x9f0 > [] sys_init_module+0x43/0x190 > [] syscall_call+0x7/0xb > shpchp: Unknown symbol acpi_get_name > shpchp: Unknown symbol acpi_evaluate_object > shpchp: Unknown symbol acpi_get_name > shpchp: Unknown symbol acpi_evaluate_object > kobject_register failed for ehci_hcd (-17) > [] kobject_register+0x36/0x50 > [] mod_sysfs_setup+0x3d/0xb0 > [] load_module+0x909/0x9f0 > [] sys_init_module+0x43/0x190 > [] syscall_call+0x7/0xb > kobject_register failed for uhci_hcd (-17) > [] kobject_register+0x36/0x50 > [] mod_sysfs_setup+0x3d/0xb0 > [] load_module+0x909/0x9f0 > [] sys_init_module+0x43/0x190 > [] syscall_call+0x7/0xb > shpchp: Unknown symbol acpi_get_name > shpchp: Unknown symbol acpi_evaluate_object > shpchp: Unknown symbol acpi_get_name > shpchp: Unknown symbol acpi_evaluate_object > kobject_register failed for ehci_hcd (-17) > [] kobject_register+0x36/0x50 > [] mod_sysfs_setup+0x3d/0xb0 > [] load_module+0x909/0x9f0 > [] sys_init_module+0x43/0x190 > [] syscall_call+0x7/0xb > kobject_register failed for uhci_hcd (-17) > [] kobject_register+0x36/0x50 > [] mod_sysfs_setup+0x3d/0xb0 > [] load_module+0x909/0x9f0 > [] sys_init_module+0x43/0x190 > [] syscall_call+0x7/0xb > shpchp: Unknown symbol acpi_get_name > shpchp: Unknown symbol acpi_evaluate_object > shpchp: Unknown symbol acpi_get_name > shpchp: Unknown symbol acpi_evaluate_object > kobject_register failed for ehci_hcd (-17) > [] kobject_register+0x36/0x50 > [] mod_sysfs_setup+0x3d/0xb0 > [] load_module+0x909/0x9f0 > [] sys_init_module+0x43/0x190 > [] syscall_call+0x7/0xb > kobject_register failed for uhci_hcd (-17) > [] kobject_register+0x36/0x50 > [] mod_sysfs_setup+0x3d/0xb0 > [] load_module+0x909/0x9f0 > [] sys_init_module+0x43/0x190 > [] syscall_call+0x7/0xb > shpchp: Unknown symbol acpi_get_name > shpchp: Unknown symbol acpi_evaluate_object > shpchp: Unknown symbol acpi_get_name > shpchp: Unknown symbol acpi_evaluate_object > kobject_register failed for ehci_hcd (-17) > [] kobject_register+0x36/0x50 > [] mod_sysfs_setup+0x3d/0xb0 > [] load_module+0x909/0x9f0 > [] sys_init_module+0x43/0x190 > [] syscall_call+0x7/0xb > kobject_register failed for uhci_hcd (-17) > [] kobject_register+0x36/0x50 > [] mod_sysfs_setup+0x3d/0xb0 > [] load_module+0x909/0x9f0 > [] sys_init_module+0x43/0x190 > [] syscall_call+0x7/0xb > shpchp: Unknown symbol acpi_get_name > shpchp: Unknown symbol acpi_evaluate_object > kobject_register failed for ehci_hcd (-17) > [] kobject_register+0x36/0x50 > [] mod_sysfs_setup+0x3d/0xb0 > [] load_module+0x909/0x9f0 > [] sys_init_module+0x43/0x190 > [] syscall_call+0x7/0xb > ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) > kobject_register failed for ohci_hcd (-17) > [] kobject_register+0x36/0x50 > [] bus_add_driver+0x5c/0xa0 > [] driver_register+0x57/0x90 > [] __pci_register_driver+0x52/0x80 > [] ohci_hcd_pci_init+0x2e/0x35 [ohci_hcd] > [] sys_init_module+0x102/0x190 > [] syscall_call+0x7/0xb > kobject_register failed for uhci_hcd (-17) > [] kobject_register+0x36/0x50 > [] mod_sysfs_setup+0x3d/0xb0 > [] load_module+0x909/0x9f0 > [] sys_init_module+0x43/0x190 > [] syscall_call+0x7/0xb > kobject_register failed for usb_storage (-17) > [] kobject_register+0x36/0x50 > [] mod_sysfs_setup+0x3d/0xb0 > [] load_module+0x909/0x9f0 > [] sys_init_module+0x43/0x190 > [] syscall_call+0x7/0xb > eth0: link up, 100Mbps, full-duplex, lpa 0x45E1 > eth0: link up, 100Mbps, full-duplex, lpa 0x45E1 > NET: Registered protocol family 10 > lo: Disabled Privacy Extensions > IPv6 over IPv4 tunneling driver > eth0: no IPv6 routers present