On Mon, 2005-06-20 at 09:39 -0700, Pete Zaitcev wrote: > On Tue, 21 Jun 2005 00:05:33 +1000, Anand Kumria <[EMAIL PROTECTED]> wrote: > > I should warn you that ub is probably not ready for general use just yet, > but if you are willing to play with it, I welcome any feedback. > Once you had enough of it, disable CONFIG_BLK_DEV_UB. > > > However, the device has worked (last time with 2.6.11.5) in the past -- > > even then it was after about 30 or 40 times of me plugging and > > unplugging it. > > Do you still have that kernel bootable on the laptop? > I'd like to compare things like /proc/partitions. > The thing is, there was nothing materially different between > 2.6.11.5 and 2.6.12 as far as ub is concerned. The only difference > was the multiply LUN support, and your camera passes that succesfuly. > > > Jun 20 17:06:01 eve kernel: end_request: I/O error, dev uba, sector 499564 > > Jun 20 17:06:01 eve kernel: ub: cmd #52 cmd status (-71) > > The big block number is a symptom of EFI partitioning being enabled. > This is a separate problem, perhaps the ub makes the camera to > read outside its capacity. It does not have anything like the > US_FL_FIX_CAPACITY flag. >
Confirmed. Bad USB cable was the problem. Works fine with EFI (no UB device) Works fine with UB (no EFI) and works fine with both on. usb 3-1: new full speed USB device using uhci_hcd and address 2 ub: sizeof ub_scsi_cmd 68 ub_dev 2384 ub_lun 140 ub(3.2): GetMaxLUN returned 0, using 1 LUNs /dev/ub/a: p1 usbcore: registered new driver ub SCSI subsystem initialized Initializing USB Mass Storage driver... usbcore: registered new driver usb-storage USB Mass Storage support registered. FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive! eve:[~]% cat /proc/partitions major minor #blocks name 3 0 78150744 hda 3 1 6835626 hda1 3 2 1 hda2 3 5 2650693 hda5 3 6 68661778 hda6 180 0 249856 uba 180 1 249805 uba1 Thanks again for your time. Regards, Anand -- `When any government, or any church for that matter, undertakes to say to its subjects, "This you may not read, this you must not see, this you are forbidden to know," the end result is tyranny and oppression no matter how holy the motives' -- Robert A Heinlein, "If this goes on --" ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
