mounting USB on LPC3250 board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

mounting USB on LPC3250 board

649 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by nightrapper on Tue Mar 26 04:50:45 MST 2013
Hi,
I am using our own LPC3250 customise 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

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

Labels (1)
0 Kudos
0 Replies