Apologies for the confusion with kernel tainting. It was a combination of late nights and memory loss while trying to chase down the problem in Ubuntu. I've attached the snippet of dmesg which I think relates to the modprobe gpio command.

I honestly don't understand the error message but it seems like Ubuntu is complaining about a duplicate gpio class. I've hunted around and can't find anything that seems to reference gpio but then I'm still fairly new to the guts of linux.

Here are the important looking bits of the error message:

"sysfs: cannot create duplicate filename '/class/gpio'"
"Pid: 5486, comm: modprobe Not tainted 2.6.32-21-generic #32-Ubuntu"
"kobject_add_internal failed for gpio with -EEXIST, don't try to register things with the same name in the same directory."

I'm probably going to stick with Debian (or if I can convince myself to relearn Red Hat maybe CentOS) so its not a big problem from my point of view.

Cheers for the response anyway.

Wayne


On Fri, 21 Oct 2011 15:39:10 +0100, Fred Gleason <[email protected]> wrote:

On Oct 21, 2011, at 07:45 27, Wayne Merricks wrote:

Thankfully Debian works
without moaning about Kernel Taint like Ubuntu.

What exactly is it complaining about? GPIO is GPLv2 -- there shouldn't be a problem with tainted kernels!

Cheers!


|-------------------------------------------------------------------------|
| Frederick F. Gleason, Jr. | Chief Developer | | | Paravel Systems |
|-------------------------------------------------------------------------|
| Logic is a way to go wrong with confidence. | | --Robert Heinlein | | "The Notebooks of Lazarus Long" |
|-------------------------------------------------------------------------|

_______________________________________________
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
####################################################################################################################################################################################################################
[  395.620614] WARNING: at /build/buildd/linux-2.6.32/fs/sysfs/dir.c:491 
sysfs_add_one+0xa0/0x100()
[  395.620620] Hardware name: DIM4400                        
[  395.620624] sysfs: cannot create duplicate filename '/class/gpio'
[  395.620627] Modules linked in: gpio(+) binfmt_misc snd_ice1712 
snd_ice17xx_ak4xxx snd_ak4xxx_adda snd_cs8427 snd_ac97_codec snd_pcm_oss 
snd_mixer_oss snd_pcm fbcon snd_page_alloc tileblit font ac97_bus bitblit 
snd_i2c snd_mpu401_uart softcursor snd_seq_dummy vga16fb snd_seq_oss vgastate 
snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq nouveau snd_timer ttm 
drm_kms_helper snd_seq_device drm i2c_algo_bit snd intel_agp soundcore psmouse 
agpgart ppdev parport_pc dell_wmi lp serio_raw dcdbas shpchp parport e100 
floppy mii usbhid hid
[  395.620711] Pid: 5486, comm: modprobe Not tainted 2.6.32-21-generic 
#32-Ubuntu
[  395.620715] Call Trace:
[  395.620728]  [<c014c3d2>] warn_slowpath_common+0x72/0xa0
[  395.620737]  [<c025feb0>] ? sysfs_add_one+0xa0/0x100
[  395.620743]  [<c025feb0>] ? sysfs_add_one+0xa0/0x100
[  395.620750]  [<c014c44b>] warn_slowpath_fmt+0x2b/0x30
[  395.620757]  [<c025feb0>] sysfs_add_one+0xa0/0x100
[  395.620763]  [<c025ff5e>] create_dir+0x4e/0x90
[  395.620769]  [<c025ffd0>] sysfs_create_dir+0x30/0x50
[  395.620778]  [<c034be12>] kobject_add_internal+0x92/0x1d0
[  395.620784]  [<c0354503>] ? kvasprintf+0x43/0x60
[  395.620791]  [<c034bf77>] kset_register+0x27/0x50
[  395.620799]  [<c03e76a6>] __class_register+0xd6/0x1c0
[  395.620805]  [<c03e78b2>] __class_create+0x72/0xa0
[  395.620817]  [<f09b3126>] init_module+0x156/0x310 [gpio]
[  395.620827]  [<c01a7517>] ? tracepoint_module_notify+0x27/0x30
[  395.620837]  [<c058dd63>] ? notifier_call_chain+0x43/0x60
[  395.620844]  [<c0101131>] do_one_initcall+0x31/0x190
[  395.620853]  [<f09b2fd0>] ? init_module+0x0/0x310 [gpio]
[  395.620862]  [<c0182340>] sys_init_module+0xb0/0x210
[  395.620868]  [<c01033ec>] syscall_call+0x7/0xb
[  395.620873] ---[ end trace f6bed10a7a3f5211 ]---
[  395.620881] kobject_add_internal failed for gpio with -EEXIST, don't try to 
register things with the same name in the same directory.
[  395.620891] Pid: 5486, comm: modprobe Tainted: G        W  2.6.32-21-generic 
#32-Ubuntu
[  395.620894] Call Trace:
[  395.620903]  [<c0588f42>] ? printk+0x1d/0x23
[  395.620909]  [<c034bebc>] kobject_add_internal+0x13c/0x1d0
[  395.620916]  [<c034bf77>] kset_register+0x27/0x50
[  395.620921]  [<c03e76a6>] __class_register+0xd6/0x1c0
[  395.620927]  [<c03e78b2>] __class_create+0x72/0xa0
[  395.620936]  [<f09b3126>] init_module+0x156/0x310 [gpio]
[  395.620943]  [<c01a7517>] ? tracepoint_module_notify+0x27/0x30
[  395.620950]  [<c058dd63>] ? notifier_call_chain+0x43/0x60
[  395.620956]  [<c0101131>] do_one_initcall+0x31/0x190
[  395.620964]  [<f09b2fd0>] ? init_module+0x0/0x310 [gpio]
[  395.620971]  [<c0182340>] sys_init_module+0xb0/0x210
[  395.620977]  [<c01033ec>] syscall_call+0x7/0xb
[  395.620981] Error creating gpio class.
[  395.620990] Trying to free nonexistent resource 
<00000000feaffc00-00000000feaffc7f>
[  395.620996] Trying to free nonexistent resource 
<0000000000000000-00000000ffffffff>
[  395.621000] Trying to free nonexistent resource 
<0000000000000000-00000000ffffffff>
[  395.621005] 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