Skip to contentSkip to conversation

Mounting usb pendrive

DISCUSSION Isidoro Reyes de Zuloaga 2 participants 4 messages Nov 30, 2004

lore
Share & tools
lore
#0 lore raw

Hi folks,
I'm trying to mount my usb pendrive device and i'm getty a strange error message. I compiled my kernel with the scsi modules and all the stuff, and i can mount it on my x86, but in the powerbook i can't.
this is the /var/log/messages:

Nov 30 12:01:18 yoda kernel: usb 2-1.1: new full speed USB device using 
address 11
Nov 30 12:01:18 yoda kernel: usb 2-1.1: new full speed USB device using 
address 12
Nov 30 12:02:04 yoda kernel: ohci_hcd 0001:10:1b.1: wakeup
Nov 30 12:02:04 yoda kernel: usb 3-1: new full speed USB device using address 
5
Nov 30 12:02:05 yoda kernel: uba: device 5 capacity nsec 50 bsize 512
Nov 30 12:02:05 yoda kernel: uba: made changed
Nov 30 12:02:05 yoda kernel: uba: device 5 capacity nsec 50 bsize 512
Nov 30 12:02:05 yoda kernel: uba: device 5 capacity nsec 50 bsize 512
Nov 30 12:02:05 yoda kernel:  /dev/ub/a:end_request: I/O error, dev uba, 
sector 0
Nov 30 12:02:05 yoda kernel: end_request: I/O error, dev uba, sector 2
Nov 30 12:02:05 yoda kernel: end_request: I/O error, dev uba, sector 4
Nov 30 12:02:05 yoda kernel: end_request: I/O error, dev uba, sector 6
Nov 30 12:02:05 yoda kernel: end_request: I/O error, dev uba, sector 6
Nov 30 12:02:05 yoda kernel: end_request: I/O error, dev uba, sector 4
Nov 30 12:02:05 yoda kernel: end_request: I/O error, dev uba, sector 2
Nov 30 12:02:05 yoda kernel: end_request: I/O error, dev uba, sector 0
Nov 30 12:02:05 yoda kernel:  unable to read partition table
Nov 30 12:02:05 yoda kernel:  /dev/ub/a:end_request: I/O error, dev uba, 
sector 2
Nov 30 12:02:05 yoda kernel: end_request: I/O error, dev uba, sector 4
Nov 30 12:02:05 yoda kernel: end_request: I/O error, dev uba, sector 6
Nov 30 12:02:05 yoda kernel: end_request: I/O error, dev uba, sector 0
Nov 30 12:02:05 yoda kernel:  unable to read partition table
Nov 30 12:02:05 yoda usb.agent[4698]:      ub: already loaded

I don't know what's happening, it's the same when i try to mount the ipod. my modules are:

usb_storage           107772  0
scsi_mod               69856  3 sd_mod,sg,usb_storage
usbhid                 46592  0
hci_usb                11104  2
bluetooth              44100  7 rfcomm,l2cap,hci_usb
usbcore               105204  9 

ehci_hcd,ub,ohci_hcd,usb_storage,uhci_hcd,usbhid,hci_usb

Everything seems to be right, uh??
Thanks for your help.
isidoro

#2 lore raw
In reply to Isidoro Reyes de Zuloaga

Have you compiled in PC BIOS (DOS) partition table support?

CONFIG_MSDOS_PARTITION=y

menuconfig: File Systems | Partition Types | PC BIOS (MS DOS partition tables) support.

I assume your ipod may well have been fat formatted.

Also note that it's using the UB driver introduced in 2.6.9(?) rather than the older scsi usb_storage driver.

Many of the features in the old driver may not yet have been implemented in the UB driver (CONFIG_SCSI_MULTI_LUN equivalent ?!).

The solution is to remove the UB driver from the kernel...
(CONFIG_BLK_DEV_UB)

- Mark

Quoted 35 lines · Isidoro Reyes de Zuloaga

Hi folks,
I'm trying to mount my usb pendrive device and i'm getty a strange error message. I compiled my kernel with the scsi modules and all the stuff, and i can mount it on my x86, but in the powerbook i can't. this is the /var/log/messages:

Nov 30 12:01:18 yoda kernel: usb 2-1.1: new full speed USB device using address 11
Nov 30 12:01:18 yoda kernel: usb 2-1.1: new full speed USB device using address 12
Nov 30 12:02:04 yoda kernel: ohci_hcd 0001:10:1b.1: wakeup
Nov 30 12:02:04 yoda kernel: usb 3-1: new full speed USB device using address 5
Nov 30 12:02:05 yoda kernel: uba: device 5 capacity nsec 50 bsize 512
Nov 30 12:02:05 yoda kernel: uba: made changed
Nov 30 12:02:05 yoda kernel: uba: device 5 capacity nsec 50 bsize 512
Nov 30 12:02:05 yoda kernel: uba: device 5 capacity nsec 50 bsize 512
Nov 30 12:02:05 yoda kernel:  /dev/ub/a:end_request: I/O error, dev uba, sector 0
Nov 30 12:02:05 yoda kernel: end_request: I/O error, dev uba, sector 2
Nov 30 12:02:05 yoda kernel: end_request: I/O error, dev uba, sector 4
Nov 30 12:02:05 yoda kernel: end_request: I/O error, dev uba, sector 6
Nov 30 12:02:05 yoda kernel: end_request: I/O error, dev uba, sector 6
Nov 30 12:02:05 yoda kernel: end_request: I/O error, dev uba, sector 4
Nov 30 12:02:05 yoda kernel: end_request: I/O error, dev uba, sector 2
Nov 30 12:02:05 yoda kernel: end_request: I/O error, dev uba, sector 0
Nov 30 12:02:05 yoda kernel:  unable to read partition table
Nov 30 12:02:05 yoda kernel:  /dev/ub/a:end_request: I/O error, dev uba, sector 2
Nov 30 12:02:05 yoda kernel: end_request: I/O error, dev uba, sector 4
Nov 30 12:02:05 yoda kernel: end_request: I/O error, dev uba, sector 6
Nov 30 12:02:05 yoda kernel: end_request: I/O error, dev uba, sector 0
Nov 30 12:02:05 yoda kernel:  unable to read partition table
Nov 30 12:02:05 yoda usb.agent[4698]:      ub: already loaded

I don't know what's happening, it's the same when i try to mount the ipod. my modules are: usb_storage 107772 0

scsi_mod               69856  3 sd_mod,sg,usb_storage
usbhid                 46592  0
hci_usb                11104  2
bluetooth              44100  7 rfcomm,l2cap,hci_usb
usbcore               105204  9 ehci_hcd,ub,ohci_hcd,usb_storage,uhci_hcd,usbhid,hci_usb
#3 lore raw
In reply to Isidoro Reyes de Zuloaga

Thanks for your help,=20
i recompiled the kenel with the old scsi driver and i works fine. cheers.
isidoro
El Martes 30 Noviembre 2004 12:06, Isidoro Reyes de Zuloaga escribi=F3:

Quoted 53 lines

Hi folks,
I'm trying to mount my usb pendrive device and i'm getty a strange error message. I compiled my kernel with the scsi modules and all the stuff, and i can mount it on my x86, but in the powerbook i can't.
this is the /var/log/messages:

Nov 30 12:01:18 yoda kernel: usb 2-1.1: new full speed USB device using
address 11
Nov 30 12:01:18 yoda kernel: usb 2-1.1: new full speed USB device using
address 12
Nov 30 12:02:04 yoda kernel: ohci_hcd 0001:10:1b.1: wakeup
Nov 30 12:02:04 yoda kernel: usb 3-1: new full speed USB device using
address 5
Nov 30 12:02:05 yoda kernel: uba: device 5 capacity nsec 50 bsize 512
Nov 30 12:02:05 yoda kernel: uba: made changed
Nov 30 12:02:05 yoda kernel: uba: device 5 capacity nsec 50 bsize 512
Nov 30 12:02:05 yoda kernel: uba: device 5 capacity nsec 50 bsize 512
Nov 30 12:02:05 yoda kernel:  /dev/ub/a:end_request: I/O error, dev uba,
sector 0
Nov 30 12:02:05 yoda kernel: end_request: I/O error, dev uba, sector 2
Nov 30 12:02:05 yoda kernel: end_request: I/O error, dev uba, sector 4
Nov 30 12:02:05 yoda kernel: end_request: I/O error, dev uba, sector 6
Nov 30 12:02:05 yoda kernel: end_request: I/O error, dev uba, sector 6
Nov 30 12:02:05 yoda kernel: end_request: I/O error, dev uba, sector 4
Nov 30 12:02:05 yoda kernel: end_request: I/O error, dev uba, sector 2
Nov 30 12:02:05 yoda kernel: end_request: I/O error, dev uba, sector 0
Nov 30 12:02:05 yoda kernel:  unable to read partition table
Nov 30 12:02:05 yoda kernel:  /dev/ub/a:end_request: I/O error, dev uba,
sector 2
Nov 30 12:02:05 yoda kernel: end_request: I/O error, dev uba, sector 4
Nov 30 12:02:05 yoda kernel: end_request: I/O error, dev uba, sector 6
Nov 30 12:02:05 yoda kernel: end_request: I/O error, dev uba, sector 0
Nov 30 12:02:05 yoda kernel:  unable to read partition table
Nov 30 12:02:05 yoda usb.agent[4698]:      ub: already loaded

I don't know what's happening, it's the same when i try to mount the ipod. my modules are:

usb_storage           107772  0
scsi_mod               69856  3 sd_mod,sg,usb_storage
usbhid                 46592  0
hci_usb                11104  2
bluetooth              44100  7 rfcomm,l2cap,hci_usb
usbcore               105204  9

ehci_hcd,ub,ohci_hcd,usb_storage,uhci_hcd,usbhid,hci_usb

Everything seems to be right, uh??
Thanks for your help.
isidoro
_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-dev