Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33981 - USB cardreader not working under gentoo-sources; works under 2.4.22 vanilla-sources
Summary: USB cardreader not working under gentoo-sources; works under 2.4.22 vanilla-s...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-20 19:14 UTC by macmasta
Modified: 2003-12-13 15:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
output of dmesg on machine that works (laptop_dmesg,7.44 KB, text/plain)
2003-11-20 19:15 UTC, macmasta
Details
non-working dmesg (desktop_dmesg,14.16 KB, text/plain)
2003-11-20 19:16 UTC, macmasta
Details
Log entry for non-working machine (desktop_log,406 bytes, text/plain)
2003-11-22 13:59 UTC, macmasta
Details
Log entry for working machine (laptop_log,527 bytes, text/plain)
2003-11-22 14:03 UTC, macmasta
Details
Non-working kernel config (2.4.20-gentoo-r8) (.config,24.83 KB, text/plain)
2003-11-22 16:35 UTC, macmasta
Details
Working kernel config (2.4.21) (.config,22.82 KB, text/plain)
2003-11-22 16:36 UTC, macmasta
Details

Note You need to log in before you can comment on or make changes to this bug.
Description macmasta 2003-11-20 19:14:21 UTC
So, I have a USB media reader. When plugged into my laptop (2.4.22-vanilla) it
works perfectly; hotplug picks it up and emulates scsi, and all is well.

When I plug the same device into my desktop, the logs see that it was attached,
but it never appears in devfs.

Reproducible: Always
Steps to Reproduce:
1.Plug device in. 
2. Notice that it works or doesn't work.
3. Hmmm...



Expected Results:  
Recognized the device and added it to devfs so I can access the device.
Comment 1 macmasta 2003-11-20 19:15:55 UTC
Created attachment 21012 [details]
output of dmesg on machine that works

dmesg output for the machine where the cardreader works.
Comment 2 macmasta 2003-11-20 19:16:31 UTC
Created attachment 21013 [details]
non-working dmesg

dmesg for machine that doesn't work.
Comment 3 Brian Jackson (RETIRED) gentoo-dev 2003-11-20 20:44:14 UTC
Can you try with gentoo-test-sources? I'm pushing for that to move to gentoo-sources soon.
Comment 4 Tim Yamin (RETIRED) gentoo-dev 2003-11-21 08:52:28 UTC
Yeah, 2.4.22 vanilla obviously has support for such things, but I'll see whether this is backportable.

1) I don't see the revelant log portions for the non-working kernel, can you attach relevant portions for both kernels?

2) Can you also attach /proc/config from each kernel? Thanks...
Comment 5 macmasta 2003-11-22 13:59:17 UTC
Created attachment 21097 [details]
Log entry for non-working machine

This is section of /var/log/everything/current when I plug the device into the
non-working machine.
Comment 6 macmasta 2003-11-22 14:03:09 UTC
Created attachment 21098 [details]
Log entry for working machine

The log entry for the working machine (starting from when I plugged the device
in)
Comment 7 macmasta 2003-11-22 14:07:31 UTC
I don't have /proc/config on either machine; would you like /usr/src/linux/.config?

I should note that the laptop (working machine) has been able to access this device since 2.4.20-vanilla.

Comment 8 macmasta 2003-11-22 16:34:22 UTC
Tim Yamin sent me an e-mail; I'm reproducing it here, with my answers, to keep everything in one place.

>Is it by any chance http://usbat2.sourceforge.net/ as that's the relevant USB >vendor ID?

That's not it, although it may run on the same chipset. Mine bills itself as a 'ZiO!' somethingorother.


>Yes, I did mean the /usr/src/linux-.../.config; sometimes kernels have >/proc/config and that is more accurate incase something got modified and out of >sync with the file .config. Attach the ".config" files for both kernels, if you >may, please.

Done.


Comment 9 macmasta 2003-11-22 16:35:17 UTC
Created attachment 21105 [details]
Non-working kernel config (2.4.20-gentoo-r8)
Comment 10 macmasta 2003-11-22 16:36:38 UTC
Created attachment 21106 [details]
Working kernel config (2.4.21)
Comment 11 macmasta 2003-11-22 16:37:12 UTC
It would appear that I mis-spoke earlier; it seems the working machine is running 2.4.21, not .22.

Comment 12 Tim Yamin (RETIRED) gentoo-dev 2003-11-23 03:11:17 UTC
Can you please enable CONFIG_USB_DEBUG on the faulty kernel and see if anything useful comes out... Also try CONFIG_USB_STORAGE_DPCM. Thanks.
Comment 13 macmasta 2003-12-13 15:20:10 UTC
So, rebuilt the desktop machine's kernel with genkernel yesterday...and it works now.

gentoo-sources-2.4.20-r9.

May as well close this.
Comment 14 Tim Yamin (RETIRED) gentoo-dev 2003-12-13 15:33:26 UTC
Closing as this seems to be resolved.