Re: RocketPort Linux driver errors on module reload

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jiri Slaby <[email protected]> writes:

>> -------------------- Start of forwarded message --------------------
>> From: Ferenc Wagner <[email protected]>
>> To: [email protected]
>> Subject: RocketPort Linux driver errors on module reload
>> Date: Fri, 12 Oct 2007 00:22:17 +0200
>> Message-ID: <[email protected]>
>> 
>> [...]
>> However, if I remove the module from the kernel, and then insert it
>> again, lots of error messages result:
>> 
>> RocketPort device driver module, version 2.09, 12-June-2003
>> Comtrol PCI controller #0 ID 0x802 found in bus:slot:fn 0000:01:08.0 at address d800, 1 AIOP(s) (RocketPort UPCI 8 port w/external I/F)
>> Installing RocketPort UPCI 8 port w/external I/F, creating /dev/ttyR0 - 7
>> kobject_add failed for ttyR0 with -EEXIST, don't try to register things with the same name in the same directory.
>>  [<c01ccdb4>] kobject_shadow_add+0x156/0x188
>>  [<c01cd095>] kobject_set_name+0x2b/0x92
>>  [<c022d022>] device_add+0x87/0x50f
>>  [<c01cce24>] kobject_init+0x2f/0x3f
>>  [<c022da2c>] device_create+0x77/0x97
>>  [<c02154cb>] tty_register_device+0xb5/0xbd
>>  [<f8a130d3>] init_r_port+0x5f1/0x623 [rocket]
>>  [<c02409a9>] pci_read+0x29/0x2e
>>  [<f8b74ff7>] rp_init+0xff7/0x111a [rocket]
>>  [<c013fd38>] __link_module+0x0/0x1f
>>  [<c01421de>] sys_init_module+0x1470/0x15a9
>>  [<c01296a7>] __request_region+0x0/0x80
>>  [<c0103e12>] sysenter_past_esp+0x6b/0xa1
>>  =======================
>> And so on for each device.
>> 
>> However, the card seems to operate all right.  Still, the messages
>> suggest something isn't quite right and could use some fixing.  Hope
>> you can find the problem.
>
> Could you try the attached patch below?
> [...]

You are the man, Jiri!  That indeed fixes the problem.
Thank you very much.  What a turnaround...

Shouldn't Documentation/rocket.txt also be changed?  I'm not sure
whether that support email is still valid.
-- 
Regards,
Feri.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux