Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-08-2005, 06:12 PM
|
#1
|
|
Member
Registered: Jul 2005
Location: Mars
Distribution: Gentoo Linux
Posts: 100
Rep:
|
USB Chip reader used to work with 2.4.26
Hi,
Ever since I upgraded my kernel to 2.6.12 I can't read from my chip reader! I'm told that the 'special device sda1 doesn't exist' when it did "exist" on 2.4.26.
Could this be that I installed the wrong chip reader modules?
|
|
|
|
10-08-2005, 11:28 PM
|
#2
|
|
Guru
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163
Rep:
|
What does you "dmesg" says? Is the chip reader assigned to "sda1"? Or is the driver find it? Guessing devices will get you nowhere, make sure "sda1" is the correct one before trying to mount.
|
|
|
|
10-09-2005, 09:39 AM
|
#3
|
|
Member
Registered: Jul 2005
Location: Mars
Distribution: Gentoo Linux
Posts: 100
Original Poster
Rep:
|
dmesg will tell me that? Ok..... I naturaly assumed since sda1 wworked on 2.4 that ti would work on 2.6. Alright I'll check
thanks
|
|
|
|
10-09-2005, 10:01 AM
|
#4
|
|
Member
Registered: Jul 2005
Location: Mars
Distribution: Gentoo Linux
Posts: 100
Original Poster
Rep:
|
Quote:
Originally posted by Half_Elf
What does you "dmesg" says? Is the chip reader assigned to "sda1"? Or is the driver find it? Guessing devices will get you nowhere, make sure "sda1" is the correct one before trying to mount.
|
Well here's the results:
dmesg has nothing related to my chip reader,
I don't know how to assign the chip reader to sda1 and I don't know if it is.
How will I know if the drver finds it?
Thanks again.
|
|
|
|
10-09-2005, 11:39 AM
|
#5
|
|
Guru
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163
Rep:
|
You can't "assign" your chip reader to sda1 or to any device, it's the driver job to do so.
What are the last few lines of "dmesg" when you plug it? There should be lines saying something like "New usb device found at X" at the very least, otherwise there is something wrong about your kernel (no usb support?).
Here is a sample, from my system, this is what I get when I plug my flash drive :
Quote:
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: Sony Model: Sony DSC Rev: 3.22
Type: Direct-Access ANSI SCSI revision: 02
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 126848 512-byte hdwr sectors (65 MB)
sda: Write Protect is off
/dev/scsi/host0/bus0/target0/lun0: p1
|
If you see something like the following, then it is possible that the usb-storage driver is missing from your system or it is not activated yet :
Quote:
hub.c: USB new device connect on bus1/1, assigned device number 2
usb.c: USB device 2 is not claimed by any active driver. (The 0x54c/0x10 will be different for different vendors.)
|
In that case, try to "modprobe usb-storage" then see dmesg again.
|
|
|
|
10-09-2005, 06:46 PM
|
#6
|
|
Guru
Registered: Jan 2002
Posts: 6,042
Rep: 
|
You will also need to load sd_mod.
If you compiled 2.6.12 yourself, you probably picked USB Block Device or the ub module. The ub module is experimental and there is warnings that it will break usb storage. I enabled it as a I test and the warnining is correct that it breaks or it does not find all partitions on the USB disk. I suggest re-compiling the kernel, but with out this device.
|
|
|
|
10-10-2005, 09:18 AM
|
#7
|
|
Member
Registered: Jul 2005
Location: Mars
Distribution: Gentoo Linux
Posts: 100
Original Poster
Rep:
|
Nope dmesg shows nothing.
modprobe modprobe usb-storage as root says FATAL: Module usb_storage not found.
Yes I thikn compiled USB Block Device into the kernel. Ok. I'll recompile the kernel without the device and tell you what happens.
Thanks a lot.
|
|
|
|
10-10-2005, 11:01 AM
|
#8
|
|
Guru
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163
Rep:
|
If you see NOTHING about usb, then the USB support is most likely missing from your kernel... Take a look at your options and make sure you haven't forgot something.
|
|
|
|
10-12-2005, 05:51 PM
|
#9
|
|
Member
Registered: Jul 2005
Location: Mars
Distribution: Gentoo Linux
Posts: 100
Original Poster
Rep:
|
Could you wait for a little bit? I'm having trouble recompiling my kernel...
|
|
|
|
10-12-2005, 11:09 PM
|
#10
|
|
LQ Newbie
Registered: Sep 2005
Location: Belgium
Distribution: slackware 10.2
Posts: 3
Rep:
|
If your chip reader is a multi slot type (sd card, memory stick,...) maybe that you should enable the CONFIG_SCSI_MULTI_LUN=y in the scsi options.
Hope this is helpful.
|
|
|
|
10-13-2005, 09:04 AM
|
#11
|
|
Member
Registered: Jul 2005
Location: Mars
Distribution: Gentoo Linux
Posts: 100
Original Poster
Rep:
|
Yes I have a multi slot chip reader. I'll include the CONFIG_SCSI_MULTI_LUN=y.
|
|
|
|
10-17-2005, 08:55 PM
|
#12
|
|
Member
Registered: Jul 2005
Location: Mars
Distribution: Gentoo Linux
Posts: 100
Original Poster
Rep:
|
Ok I recompiled my kernel without USB Block Device or the ub module.
I also included CONFIG_SCSI_MULTI_LUN=y but still nothing in the output from dmesg.
I rebooted into 2.4 and got output from dmesg.... arrgh!!!
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:29 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|