LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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
 
LinkBack Search this Thread
Old 03-07-2013, 11:07 PM   #1
nightrapper
LQ Newbie
 
Registered: Mar 2013
Posts: 8

Rep: Reputation: Disabled
USB mounting in ARM based LPC3250 controller


Hi,

I am having LPC3250 board,which i have configured in Host mode,using the menuconfig(linux kerenl 2.6.34).When i am attaching a USB device to the usb port,the device is getting detected which i am think based on my below observation
1.USB led blinking
2.In the linux ported on lpc3250 board file system when i am using this command mdev -s , sda is appearing in the dev directory


But when i try to mount the usb using this command mount /dev/sda1 /media1
it is giving this problem as mentioned below
Code:
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
sd 8:0:0:0: [sda] Unhandled error code                                          
sd 8:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00                         
sd 8:0:0:0: [sda] CDB: cdb[0]=0x28: 28 00 00 00 00 02 00 00 02 00               
end_request: I/O error, dev sda, sector 2                                       
EXT2-fs (sda): error: unable to read superblock                                 
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
sd 8:0:0:0: [sda] Unhandled error code                                          
sd 8:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00                         
sd 8:0:0:0: [sda] CDB: cdb[0]=0x28: 28 00 00 00 00 00 00 00 08 00               
end_request: I/O error, dev sda, sector 0                                       
Buffer I/O error on device sda, logical block 0                                 
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
sd 8:0:0:0: [sda] Unhandled error code                                          
sd 8:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00                         
sd 8:0:0:0: [sda] CDB: cdb[0]=0x28: 28 00 00 00 00 00 00 00 10 00               
end_request: I/O error, dev sda, sector 0                                       
Buffer I/O error on device sda, logical block 0                                 
Buffer I/O error on device sda, logical block 1                                 
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
sd 8:0:0:0: [sda] Unhandled error code                                          
sd 8:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00                         
sd 8:0:0:0: [sda] CDB: cdb[0]=0x28: 28 00 00 00 00 08 00 00 10 00               
end_request: I/O error, dev sda, sector 8                                       
Buffer I/O error on device sda, logical block 1                                 
Buffer I/O error on device sda, logical block 2                                 
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
sd 8:0:0:0: [sda] Unhandled error code                                          
sd 8:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00                         
sd 8:0:0:0: [sda] CDB: cdb[0]=0x28: 28 00 00 00 00 10 00 00 10 00               
end_request: I/O error, dev sda, sector 16                                      
Buffer I/O error on device sda, logical block 2                                 
Buffer I/O error on device sda, logical block 3                                 
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
sd 8:0:0:0: [sda] Unhandled error code                                          
sd 8:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00                         
sd 8:0:0:0: [sda] CDB: cdb[0]=0x28: 28 00 00 00 00 18 00 00 08 00               
end_request: I/O error, dev sda, sector 24                                      
Buffer I/O error on device sda, logical block 3                                 
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
sd 8:0:0:0: [sda] Unhandled error code                                          
sd 8:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00                         
sd 8:0:0:0: [sda] CDB: cdb[0]=0x28: 28 00 00 00 00 00 00 00 01 00               
end_request: I/O error, dev sda, sector 0                                       
FAT: unable to read boot sector                                                 
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
usb 1-1: reset full speed USB device using usb-ohci and address 10              
sd 8:0:0:0: [sda] Unhandled error code                                          
sd 8:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00                         
sd 8:0:0:0: [sda] CDB: cdb[0]=0x28: 28 00 00 00 00 00 00 00 01 00               
end_request: I/O error, dev sda, sector 0                                       
FAT: unable to read boot sector                                                 
mount: mounting /dev/sda on /media failed: Input/output error 





usb 1-1: reset full speed USB device using usb-ohci and address 4               
usb 1-1: reset full speed USB device using usb-ohci and address 4               
usb 1-1: reset full speed USB device using usb-ohci and address 4               
usb 1-1: reset full speed USB device using usb-ohci and address 4               
usb 1-1: reset full speed USB device using usb-ohci and address 4               
usb 1-1: reset full speed USB device using usb-ohci and address 4               
sd 2:0:0:0: [sda] Unhandled error code                                          
sd 2:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00                         
sd 2:0:0:0: [sda] CDB: cdb[0]=0x28: 28 00 00 00 00 00 00 00 08 00               
end_request: I/O error, dev sda, sector 0                                       
Buffer I/O error on device sda, logical block 0                                 
usb 1-1: reset full speed USB device using usb-ohci and address 4               
usb 1-1: reset full speed USB device using usb-ohci and address 4               
usb 1-1: reset full speed USB device using usb-ohci and address 4               
usb 1-1: reset full speed USB device using usb-ohci and address 4               
usb 1-1: reset full speed USB device using usb-ohci and address 4               
usb 1-1: reset full speed USB device using usb-ohci and address 4               
sd 2:0:0:0: [sda] Unhandled error code                                          
sd 2:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00                         
sd 2:0:0:0: [sda] CDB: cdb[0]=0x28: 28 00 00 00 00 00 00 00 10 00               
end_request: I/O error, dev sda, sector 0                                       
Buffer I/O error on device sda, logical block 0                                 
Buffer I/O error on device sda, logical block 1                                 
usb 1-1: reset full speed USB device using usb-ohci and address 4               
usb 1-1: reset full speed USB device using usb-ohci and address 4               
usb 1-1: reset full speed USB device using usb-ohci and address 4               
usb 1-1: reset full speed USB device using usb-ohci and address 4               
usb 1-1: reset full speed USB device using usb-ohci and address 4               
usb 1-1: reset full speed USB device using usb-ohci and address 4               
sd 2:0:0:0: [sda] Unhandled error code                                          
sd 2:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00                         
sd 2:0:0:0: [sda] CDB: cdb[0]=0x28: 28 00 00 00 00 08 00 00 10 00               
end_request: I/O error, dev sda, sector 8                                       
Buffer I/O error on device sda, logical block 1                                 
Buffer I/O error on device sda, logical block 2                                 
usb 1-1: reset full speed USB device using usb-ohci and address 4               
usb 1-1: reset full speed USB device using usb-ohci and address 4               
usb 1-1: reset full speed USB device using usb-ohci and address 4               
usb 1-1: reset full speed USB device using usb-ohci and address 4               
usb 1-1: reset full speed USB device using usb-ohci and address 4               
usb 1-1: reset full speed USB device using usb-ohci and address 4               
sd 2:0:0:0: [sda] Unhandled error code                                          
sd 2:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00                         
sd 2:0:0:0: [sda] CDB: cdb[0]=0x28: 28 00 00 00 00 10 00 00 10 00               
end_request: I/O error, dev sda, sector 16                                      
Buffer I/O error on device sda, logical block 2                                 
Buffer I/O error on device sda, logical block 3                                 
usb 1-1: reset full speed USB device using usb-ohci and address 4               
usb 1-1: reset full speed USB device using usb-ohci and address 4               
usb 1-1: reset full speed USB device using usb-ohci and address 4               
usb 1-1: reset full speed USB device using usb-ohci and address 4               
usb 1-1: reset full speed USB device using usb-ohci and address 4               
usb 1-1: reset full speed USB device using usb-ohci and address 4               
sd 2:0:0:0: [sda] Unhandled error code                                          
sd 2:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00                         
sd 2:0:0:0: [sda] CDB: cdb[0]=0x28: 28 00 00 00 00 18 00 00 08 00               
end_request: I/O error, dev sda, sector 24                                      
Buffer I/O error on device sda, logical block 3                                 
usb 1-1: reset full speed USB device using usb-ohci and address 4               
usb 1-1: reset full speed USB device using usb-ohci and address 4               
usb 1-1: reset full speed USB device using usb-ohci and address 4               
usb 1-1: reset full speed USB device using usb-ohci and address 4               
mount: mounting /dev/sda on /media/ failed: Invalid argument
Please help me out with this problem as i am struck in it for over a month.
Please do need full

Last edited by unSpawn; 03-09-2013 at 04:12 AM. Reason: //Add vBB code tags before move
 
Old 03-15-2013, 10:51 AM   #2
elucches
Member
 
Registered: Jan 2011
Posts: 82

Rep: Reputation: 7
How was the drive formatted?
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
USB mounting in ARM based LPC3250 controller nightrapper Linux - Newbie 1 03-09-2013 04:16 AM
To make known to linux the usb hardware at compiling linux kernel for arm based sbc selmaguzel Linux - Embedded & Single-board computer 1 06-08-2008 04:02 PM
Mounting a USB-based external drive - Debian strattonbrazil Linux - Hardware 2 01-10-2006 08:18 PM
usb controller dies mounting external usb hard disk komasoftware Linux - Hardware 4 11-30-2005 01:18 PM


All times are GMT -5. The time now is 11:30 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