Hi Fred,

I managed to do a bit more digging with Ubuntu 10.04. On a stock install with kernel 2.6.32-21-generic the comedi modules aren't actually installed at all.

lspci -k shows:

02:0a.0 Class ffff: Measurement Computing PCI-DIO24 (rev 02)

However if I then install the gpio drivers and run depmod -a the same command shows:

02:0a.0 Class ffff: Measurement Computing PCI-DIO24 (rev 02)
        Kernel modules: gpio

Which seems like good news, unfortunately there is no /dev/gpio0 device.

I get the same errors in dmesg, I've attached a full cut and paste of /var/log/messages that deal with the gpio problems just in case thats any help to you.

I'm starting to think Ubuntu, GPIO and Riv aren't destined for each other which is a shame as I'm still fighting JACK and Pulse on Debian. I might have to do something drastic and try CentOS.

Anyway any heads up would be appreciated.

Regards,

Wayne

On Fri, 21 Oct 2011 20:16:02 +0100, Wayne Merricks <[email protected]> wrote:

Maybe, I did start blacklisting comedi but had the same problems.
Interesting part is Debian Squeeze just works which also has comedi.  As
far as I know Ubuntu doesn't mess with comedi but you still get the
error.  I'll poke around if I get the chance.

On Fri, 21 Oct 2011 18:57:24 +0100, Fred Gleason
<[email protected]> wrote:

On Oct 21, 2011, at 13:47 57, Wayne Merricks wrote:

"kobject_add_internal failed for gpio with -EEXIST, don't try to
register things with the same name in the same directory."

Sounds like two drivers with the same name.  COMEDI drivers, perhaps?

Cheers!


|-------------------------------------------------------------------------|
| Frederick F. Gleason, Jr. |               Chief
Developer               |
|                           |               Paravel
Systems               |
|-------------------------------------------------------------------------|

_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
#######################
Scanned by MailMarshal
#######################

####################################################################################################################################################################################################################

Attention:
The information contained in this message is confidential and intended for the 
addressee(s) only. If you have received this message in error or there are any 
problems, please notify the originator immediately.
The unauthorised use, disclosure, copying or alteration of this message is strictly forbidden. Christian Vision or any of its subsidiaries will not be liable for direct, special, indirect or consequential damages arising from alteration of the contents of this message by a third party or as a result of any virus being passed on. Please note that we reserve the right to monitor and read any e-mails sent or received by the company under the Telecommunications (Lawful Business Practice) (Interception of Communications) Regulation 2000. Christian Vision is registered in England as a limited company 2842414 and as a charity 1031031
####################################################################################################################################################################################################################
Oct 28 15:32:41 uburiv001 kernel: [   13.594201] WARNING: at 
/build/buildd/linux-2.6.32/fs/sysfs/dir.c:491 sysfs_add_one+0xa0/0x100()
Oct 28 15:32:41 uburiv001 kernel: [   13.594207] Hardware name: DIM4400         
               
Oct 28 15:32:41 uburiv001 kernel: [   13.594211] sysfs: cannot create duplicate 
filename '/class/gpio'
Oct 28 15:32:41 uburiv001 kernel: [   13.594215] Modules linked in: gpio(+) 
psmouse(+) soundcore serio_raw parport_pc(+) agpgart shpchp lp parport e100 mii 
floppy usbhid hid
Oct 28 15:32:41 uburiv001 kernel: [   13.594239] Pid: 370, comm: modprobe Not 
tainted 2.6.32-21-generic #32-Ubuntu
Oct 28 15:32:41 uburiv001 kernel: [   13.594244] Call Trace:
Oct 28 15:32:41 uburiv001 kernel: [   13.594256]  [<c014c3d2>] 
warn_slowpath_common+0x72/0xa0
Oct 28 15:32:41 uburiv001 kernel: [   13.594265]  [<c025feb0>] ? 
sysfs_add_one+0xa0/0x100
Oct 28 15:32:41 uburiv001 kernel: [   13.594271]  [<c025feb0>] ? 
sysfs_add_one+0xa0/0x100
Oct 28 15:32:41 uburiv001 kernel: [   13.594278]  [<c014c44b>] 
warn_slowpath_fmt+0x2b/0x30
Oct 28 15:32:41 uburiv001 kernel: [   13.594285]  [<c025feb0>] 
sysfs_add_one+0xa0/0x100
Oct 28 15:32:41 uburiv001 kernel: [   13.594292]  [<c025ff5e>] 
create_dir+0x4e/0x90
Oct 28 15:32:41 uburiv001 kernel: [   13.594299]  [<c025ffd0>] 
sysfs_create_dir+0x30/0x50
Oct 28 15:32:41 uburiv001 kernel: [   13.594308]  [<c034be12>] 
kobject_add_internal+0x92/0x1d0
Oct 28 15:32:41 uburiv001 kernel: [   13.594315]  [<c0354503>] ? 
kvasprintf+0x43/0x60
Oct 28 15:32:41 uburiv001 kernel: [   13.594322]  [<c034bf77>] 
kset_register+0x27/0x50
Oct 28 15:32:41 uburiv001 kernel: [   13.594330]  [<c03e76a6>] 
__class_register+0xd6/0x1c0
Oct 28 15:32:41 uburiv001 kernel: [   13.594337]  [<c03e78b2>] 
__class_create+0x72/0xa0
Oct 28 15:32:41 uburiv001 kernel: [   13.594352]  [<f07de126>] 
init_module+0x156/0x310 [gpio]
Oct 28 15:32:41 uburiv001 kernel: [   13.594363]  [<c01a7517>] ? 
tracepoint_module_notify+0x27/0x30
Oct 28 15:32:41 uburiv001 kernel: [   13.594372]  [<c058dd63>] ? 
notifier_call_chain+0x43/0x60
Oct 28 15:32:41 uburiv001 kernel: [   13.594380]  [<c0101131>] 
do_one_initcall+0x31/0x190
Oct 28 15:32:41 uburiv001 kernel: [   13.594390]  [<f07ddfd0>] ? 
init_module+0x0/0x310 [gpio]
Oct 28 15:32:41 uburiv001 kernel: [   13.594400]  [<c0182340>] 
sys_init_module+0xb0/0x210
Oct 28 15:32:41 uburiv001 kernel: [   13.594408]  [<c01033ec>] 
syscall_call+0x7/0xb
Oct 28 15:32:41 uburiv001 kernel: [   13.594413] ---[ end trace 
fa7c3906bbe08e8b ]---
Oct 28 15:32:41 uburiv001 kernel: [   13.594492] Pid: 370, comm: modprobe 
Tainted: G        W  2.6.32-21-generic #32-Ubuntu
Oct 28 15:32:41 uburiv001 kernel: [   13.594496] Call Trace:
Oct 28 15:32:41 uburiv001 kernel: [   13.594505]  [<c0588f42>] ? 
printk+0x1d/0x23
Oct 28 15:32:41 uburiv001 kernel: [   13.594512]  [<c034bebc>] 
kobject_add_internal+0x13c/0x1d0
Oct 28 15:32:41 uburiv001 kernel: [   13.594519]  [<c034bf77>] 
kset_register+0x27/0x50
Oct 28 15:32:41 uburiv001 kernel: [   13.594525]  [<c03e76a6>] 
__class_register+0xd6/0x1c0
Oct 28 15:32:41 uburiv001 kernel: [   13.594531]  [<c03e78b2>] 
__class_create+0x72/0xa0
Oct 28 15:32:41 uburiv001 kernel: [   13.594540]  [<f07de126>] 
init_module+0x156/0x310 [gpio]
Oct 28 15:32:41 uburiv001 kernel: [   13.594549]  [<c01a7517>] ? 
tracepoint_module_notify+0x27/0x30
Oct 28 15:32:41 uburiv001 kernel: [   13.594557]  [<c058dd63>] ? 
notifier_call_chain+0x43/0x60
Oct 28 15:32:41 uburiv001 kernel: [   13.594564]  [<c0101131>] 
do_one_initcall+0x31/0x190
Oct 28 15:32:41 uburiv001 kernel: [   13.594573]  [<f07ddfd0>] ? 
init_module+0x0/0x310 [gpio]
Oct 28 15:32:41 uburiv001 kernel: [   13.594580]  [<c0182340>] 
sys_init_module+0xb0/0x210
Oct 28 15:32:41 uburiv001 kernel: [   13.594587]  [<c01033ec>] 
syscall_call+0x7/0xb
Oct 28 15:32:41 uburiv001 kernel: [   13.594645] Trying to free nonexistent 
resource <00000000feaffc00-00000000feaffc7f>
Oct 28 15:32:41 uburiv001 kernel: [   13.594651] Trying to free nonexistent 
resource <0000000000000000-00000000ffffffff>
Oct 28 15:32:41 uburiv001 kernel: [   13.594656] Trying to free nonexistent 
resource <0000000000000000-00000000ffffffff>
Oct 28 15:32:41 uburiv001 kernel: [   13.594660] Trying to free nonexistent 
resource <0000000000000000-00000000ffffffff>

_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

Reply via email to