Red Hat Bugzilla – Bug 253696
Using gnokii and a CA42/usb cable functions with fc6 but not with fc7 kernel
Last modified: 2008-01-11 12:33:44 EST
Description of problem:
I have a Nokia-6021 that I can connect to my Dell laptop via USB and a CA-42
canle using gnokii-0.6.14 software. This worked fine with Fedora Core 6. After
upgrading to Fedora 7 I'm having connection problems. I decided to install
kernel-2.6.20-1.2962.fc6 on my fc7 system next to the current fc7 kernel
version. Using grub I can select which kernel to use when booting. This way I
could make a comparison between the two. Conclusion: connection fails with
kernel-184.108.40.206-41.fc7 and succeeds with kernel-2.6.20-1.2962.fc6.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. connect Nokia 6021 phone with CA-42 cable to USB port
2. gnokii --identify
gnokii needs a lot of time for retries and then returns several "unknown" results.
gnokii should return phone model type number.
If you have installed also the older kernel version, it is possible to have
succes with FC7 kernel in one particular situation:
step 1: When booting the computer select the 2.6.20 kernel version from FC6.
step 2: connect the phone using gnokii and CA-42/usb cable. (works fine)
step 3: reboot the computer, keeping the phone and cable connected
step 4: now select kernel-2.6.22 from FC7 in the grub boot menu.
step 5: try gnokii --identify again: IT WORKS !!
step 6: disconnect the phone
step 7: re-connect the phone
step 8: try gnokii --identify again: IT FAILS AGAIN !
There seems to be some kind of problem with loading/unloading and initializing
the proper drivermodule(s) in FC7 ??
I have attached 2 logfiles.
Created attachment 161961 [details]
Two files test.fc6 and test.fc7 with testresults using 2.6.20 qnd 2.6.22 kernel
The test.fc6 and test.fc7 are packed in a tar.gz file.
(In reply to comment #2)
> The test.fc6 and test.fc7 are packed in a tar.gz file.
Don't do that.
Created attachment 161989 [details]
Created attachment 161990 [details]
What does output of 'strace gnokii --identify' look like when it fails?
Created attachment 168573 [details]
output of "strace -ostrace_gnokii.log gnokii --identify"
(In reply to comment #7)
> Created an attachment (id=168573) 
> output of "strace -ostrace_gnokii.log gnokii --identify"
Can you also post an strace from a working kernel?
(Should have asked for that earlier but forgot.)
Created attachment 172439 [details]
output of "strace gnokii --identify" when using an older 2.6.20 kernel (from FC6): gnokii works !
I'm reviewing this bug as part of the kernel bug triage project, an attempt to
isolate current bugs in the fedora kernel.
I am CC'ing myself to this bug and will try and assist you in resolving it if I can.
There hasn't been much activity on this bug for a while. Could you tell me if
you are still having problems with the latest kernel?
If the problem no longer exists then please close this bug or I'll do so in a
few days if there is no additional information lodged.
As indicated previously there has been no update on the progress of this bug
therefore I am closing it as INSUFFICIENT_DATA. Please re-open if the issue
still occurs for you and I will try to assist in its resolution. Thank you for
taking the time to report the initial bug.