LinuxQuestions.org
Review your favorite Linux distribution.
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 08-02-2008, 10:38 AM   #1
Yerp
Member
 
Registered: Jun 2004
Distribution: Turtle Kevux 0.8.8
Posts: 129

Rep: Reputation: 15
USB Stopped working with 2.6.26 kernel?


I have a Kingston 2GB MicroSD that can be accessed via a usb port.

The usb has an ext2 filesystem on in with an MBR installed for booting.

Prior to the 2.6.26 kernel (the 2.25 series), I have had no trouble mounting, booting, or otherwise accessing the MicroSD system.

With the release of the 2.6.26 and now the 2.6.26.1 kernel, the kernel fails to properly recognize the MicroSD.

Has anybody else seen this and know of a solution or can point out a particular kernel git patch that may have caused this?

fdisk will not read the usb and gparted thinks it is a 512b disk and not a 2048MB disk.

Below is my dmesg log:

usb 1-1: new high speed USB device using ehci_hcd and address 4
usb 1-1: configuration #1 chosen from 1 choice
scsi7 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
scsi 7:0:0:0: Direct-Access Generic 6000 PQ: 0 ANSI: 0 CCS
sd 7:0:0:0: [sdb] Sector size 0 reported, assuming 512.
sd 7:0:0:0: [sdb] 1 512-byte hardware sectors (0 MB)
sd 7:0:0:0: [sdb] Write Protect is off
sd 7:0:0:0: [sdb] Mode Sense: 4b 00 00 08
sd 7:0:0:0: [sdb] Assuming drive cache: write through
sd 7:0:0:0: [sdb] Sector size 0 reported, assuming 512.
sd 7:0:0:0: [sdb] 1 512-byte hardware sectors (0 MB)
sd 7:0:0:0: [sdb] Write Protect is off
sd 7:0:0:0: [sdb] Mode Sense: 4b 00 00 08
sd 7:0:0:0: [sdb] Assuming drive cache: write through
sdb: sdb1
sdb: p1 exceeds device capacity
sd 7:0:0:0: [sdb] Attached SCSI removable disk
sd 7:0:0:0: Attached scsi generic sg2 type 0
attempt to access beyond end of device
sdb: rw=0, want=3932032, limit=1
Buffer I/O error on device sdb1, logical block 3931776
attempt to access beyond end of device
sdb: rw=0, want=3932033, limit=1
Buffer I/O error on device sdb1, logical block 3931777
attempt to access beyond end of device
sdb: rw=0, want=3932034, limit=1
Buffer I/O error on device sdb1, logical block 3931778
attempt to access beyond end of device
sdb: rw=0, want=3932035, limit=1
Buffer I/O error on device sdb1, logical block 3931779
attempt to access beyond end of device
sdb: rw=0, want=3932036, limit=1
Buffer I/O error on device sdb1, logical block 3931780
attempt to access beyond end of device
sdb: rw=0, want=3932037, limit=1
Buffer I/O error on device sdb1, logical block 3931781
attempt to access beyond end of device
sdb: rw=0, want=3932038, limit=1
Buffer I/O error on device sdb1, logical block 3931782
attempt to access beyond end of device
sdb: rw=0, want=3932039, limit=1
Buffer I/O error on device sdb1, logical block 3931783
attempt to access beyond end of device
sdb: rw=0, want=3932032, limit=1
Buffer I/O error on device sdb1, logical block 3931776
attempt to access beyond end of device
sdb: rw=0, want=3932033, limit=1
Buffer I/O error on device sdb1, logical block 3931777
attempt to access beyond end of device
sdb: rw=0, want=3932034, limit=1
attempt to access beyond end of device
sdb: rw=0, want=3932035, limit=1
attempt to access beyond end of device
sdb: rw=0, want=3932036, limit=1
attempt to access beyond end of device
sdb: rw=0, want=3932037, limit=1
attempt to access beyond end of device
sdb: rw=0, want=3932038, limit=1
attempt to access beyond end of device
sdb: rw=0, want=3932039, limit=1
attempt to access beyond end of device
sdb: rw=0, want=256, limit=1
attempt to access beyond end of device
sdb: rw=0, want=257, limit=1
attempt to access beyond end of device
sdb: rw=0, want=258, limit=1
attempt to access beyond end of device
sdb: rw=0, want=259, limit=1
attempt to access beyond end of device
sdb: rw=0, want=260, limit=1
attempt to access beyond end of device
sdb: rw=0, want=261, limit=1
attempt to access beyond end of device

EDIT: Possible Solutions Found:
http://www.gossamer-threads.com/list.../kernel/953404
http://marc.info/?l=linux-usb&m=121734710306509&w=2

Last edited by Yerp; 08-02-2008 at 11:44 PM. Reason: Found addional information and solution patch, edit is for other people with same problem to find solution
 
Old 08-18-2008, 06:32 PM   #2
x-alien
Member
 
Registered: Aug 2008
Distribution: Slackware
Posts: 39

Rep: Reputation: 21
This sounds similar to my problem.

I have a card reader 4in1 (Alcor Micro Corp.) integrated into the PC and another card reader 4in1 integrated into the USB printer (HP Photosmart 7260); both card readers are USB 1.x.
With kernel 2.6.24.x both card readers work perfectly; if I insert a memory card, HAL can mount and unmount it automatically.

After an upgrade to the kernel 2.6.25.x or 2.6.26.x, only the PC card reader works; the printer card reader has stopped working.
Inserting a memory card I get these messages:
Code:
Aug 18 23:28:00 darkstar kernel: sd 10:0:0:0: [sdh] Attached SCSI removable disk
Aug 18 23:28:00 darkstar kernel: sd 10:0:0:0: Attached scsi generic sg1 type 0
Aug 18 23:29:50 darkstar kernel: sd 10:0:0:0: [sdh] 250880 512-byte hardware sectors (128 MB)
Aug 18 23:29:50 darkstar kernel: sd 10:0:0:0: [sdh] Write Protect is off
Aug 18 23:29:50 darkstar kernel: sd 10:0:0:0: [sdh] 250880 512-byte hardware sectors (128 MB)
Aug 18 23:29:50 darkstar kernel: sd 10:0:0:0: [sdh] Write Protect is off
Aug 18 23:29:50 darkstar kernel:  sdh:<3>Buffer I/O error on device sdh, logical block 0
Aug 18 23:29:50 darkstar kernel: sd 10:0:0:0: [sdh] 250880 512-byte hardware sectors (128 MB)
Aug 18 23:29:50 darkstar kernel: sd 10:0:0:0: [sdh] Write Protect is off
Aug 18 23:29:50 darkstar kernel: sd 10:0:0:0: [sdh] 250880 512-byte hardware sectors (128 MB)
Aug 18 23:29:50 darkstar kernel: sd 10:0:0:0: [sdh] Write Protect is off
Aug 18 23:29:50 darkstar kernel:  sdh:
Aug 18 23:29:50 darkstar kernel: sd 10:0:0:0: [sdh] Result: hostbyte=0x00 driverbyte=0x08
Aug 18 23:29:50 darkstar kernel: sd 10:0:0:0: [sdh] Sense Key : 0x3 [current]
Aug 18 23:29:50 darkstar kernel: sd 10:0:0:0: [sdh] ASC=0x11 ASCQ=0x11
Aug 18 23:29:50 darkstar kernel: sd 10:0:0:0: [sdh] Result: hostbyte=0x00 driverbyte=0x08
Aug 18 23:29:50 darkstar kernel: sd 10:0:0:0: [sdh] Sense Key : 0x3 [current]
Aug 18 23:29:50 darkstar kernel: sd 10:0:0:0: [sdh] ASC=0x11 ASCQ=0x11
Aug 18 23:29:50 darkstar kernel: sd 10:0:0:0: [sdh] Result: hostbyte=0x00 driverbyte=0x08
Aug 18 23:29:50 darkstar kernel: sd 10:0:0:0: [sdh] Sense Key : 0x3 [current]
Aug 18 23:29:50 darkstar kernel: sd 10:0:0:0: [sdh] ASC=0x11 ASCQ=0x11
And, at this point, nothing happens!

I have reproduced this problem on different PCs with different distributions (Slackware 12.0, Slackware 12.1 and Ubuntu 8.04).

In my case, patches do not work; the only solution is to reboot with kernel 2.6.24.x!

I never understood the Linux world; if a piece of code works perfectly, why rewrite it?
 
  


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
USB stopped working vieraci Linux - Laptop and Netbook 4 05-12-2007 03:09 AM
USB devices stopped working dormant Linux - Hardware 1 09-12-2005 08:13 AM
USB stopped working jowizzle Linux - Software 1 03-20-2005 12:11 AM
usb stopped working FC1 slackist Fedora 17 06-10-2004 07:43 PM
USB has stopped working cruane Linux - Software 1 12-02-2002 01:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:18 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration