LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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

Reply
 
Search this Thread
Old 10-08-2005, 07:12 PM   #1
CPUFreak91
Member
 
Registered: Jul 2005
Location: Mars
Distribution: Gentoo Linux
Posts: 100

Rep: Reputation: 15
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?
 
Old 10-09-2005, 12:28 AM   #2
Half_Elf
Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
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.
 
Old 10-09-2005, 10:39 AM   #3
CPUFreak91
Member
 
Registered: Jul 2005
Location: Mars
Distribution: Gentoo Linux
Posts: 100

Original Poster
Rep: Reputation: 15
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
 
Old 10-09-2005, 11:01 AM   #4
CPUFreak91
Member
 
Registered: Jul 2005
Location: Mars
Distribution: Gentoo Linux
Posts: 100

Original Poster
Rep: Reputation: 15
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.
 
Old 10-09-2005, 12:39 PM   #5
Half_Elf
Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
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.
 
Old 10-09-2005, 07:46 PM   #6
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
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.
 
Old 10-10-2005, 10:18 AM   #7
CPUFreak91
Member
 
Registered: Jul 2005
Location: Mars
Distribution: Gentoo Linux
Posts: 100

Original Poster
Rep: Reputation: 15
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.
 
Old 10-10-2005, 12:01 PM   #8
Half_Elf
Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
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.
 
Old 10-12-2005, 06:51 PM   #9
CPUFreak91
Member
 
Registered: Jul 2005
Location: Mars
Distribution: Gentoo Linux
Posts: 100

Original Poster
Rep: Reputation: 15
Could you wait for a little bit? I'm having trouble recompiling my kernel...
 
Old 10-13-2005, 12:09 AM   #10
budo-ka
LQ Newbie
 
Registered: Sep 2005
Location: Belgium
Distribution: slackware 10.2
Posts: 3

Rep: Reputation: 0
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.
 
Old 10-13-2005, 10:04 AM   #11
CPUFreak91
Member
 
Registered: Jul 2005
Location: Mars
Distribution: Gentoo Linux
Posts: 100

Original Poster
Rep: Reputation: 15
Yes I have a multi slot chip reader. I'll include the CONFIG_SCSI_MULTI_LUN=y.
 
Old 10-17-2005, 09:55 PM   #12
CPUFreak91
Member
 
Registered: Jul 2005
Location: Mars
Distribution: Gentoo Linux
Posts: 100

Original Poster
Rep: Reputation: 15
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!!!
 
Old 10-20-2005, 12:51 PM   #13
CPUFreak91
Member
 
Registered: Jul 2005
Location: Mars
Distribution: Gentoo Linux
Posts: 100

Original Poster
Rep: Reputation: 15
Ok. I got it working but It gives me error messages: http://www.linuxquestions.org/questi...hreadid=375097
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I read a camera chip thru an internal usb chip reader? CPUFreak91 Linux - Newbie 2 07-20-2005 01:15 AM
Will Slackware work with a Via C3 chip? tacoduck Slackware 2 04-27-2005 11:30 PM
USB MMC Card reader doesn't work on Mandrake 10.0 bröggle Mandriva 5 08-24-2004 01:32 PM
USB NIC can't work properly!! Realtek 8150 chip. alsor Linux - Hardware 0 07-31-2004 03:31 AM
Need a little help getting USB flash card reader to work Electrode Linux - Hardware 13 10-20-2003 05:04 PM


All times are GMT -5. The time now is 10:19 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration