Bug 524998 - Cypress USB to ATA converters don't work on 2.6.30 kernels
Summary: Cypress USB to ATA converters don't work on 2.6.30 kernels
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 526066 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-09-22 22:18 UTC by antonio montagnani
Modified: 2009-10-30 17:53 UTC (History)
7 users (show)

Fixed In Version: 2.6.30.9-90.fc11
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-10-30 17:53:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
initrd file for non booting kernel on cyprus chip (3.32 MB, application/octet-stream)
2009-09-30 06:32 UTC, antonio montagnani
no flags Details

Description antonio montagnani 2009-09-22 22:18:20 UTC
Description of problem:
After upgrading system to kernel-PAE-2.6.30.5-43.fc11.i686, my system doesn't boot off my USB disk (Lacie)


Version-Release number of selected component (if applicable):
kernel-PAE-2.6.30.5-43.fc11.i686

How reproducible:
always

Steps to Reproduce:
1.just boot off from my USB disk
2.
3.
  
Actual results:
no boot

Expected results:
boot

Additional info:

This is part of Dmesg when booting:

scsi5 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usb-storage: device scan complete
scsi 5:0:0:0: Direct-Access     Hitachi  HTS541680J9AT00  0000 PQ: 0 ANSI: 0
sd 5:0:0:0: [sdb] 156301488 512-byte hardware sectors: (80.0 GB/74.5 GiB)
sd 5:0:0:0: [sdb] Write Protect is off
sd 5:0:0:0: [sdb] Mode Sense: 27 00 00 00
sd 5:0:0:0: [sdb] Assuming drive cache: write through
sd 5:0:0:0: [sdb] 156301488 512-byte hardware sectors: (80.0 GB/74.5 GiB)
sd 5:0:0:0: [sdb] Write Protect is off
sd 5:0:0:0: [sdb] Mode Sense: 27 00 00 00
sd 5:0:0:0: [sdb] Assuming drive cache: write through
 sdb: sdb1 sdb2
sd 5:0:0:0: [sdb] Attached SCSI disk
sd 5:0:0:0: Attached scsi generic sg2 type 0
EXT4-fs: barriers enabled
kjournald2 starting: pid 88, dev dm-0:8, commit interval 5 seconds
EXT4-fs: delayed allocation enabled
EXT4-fs: file extents enabled
EXT4-fs: mballoc enabled
EXT4-fs: mounted filesystem dm-0 with ordered data mode
SELinux:  Disabled at runtime.
SELinux:  Unregistering netfilter hooks
type=1404 audit(1253663261.664:2): selinux=0 auid=4294967295 ses=4294967295
udev: starting version 141
ACPI: WMI: Mapper loaded


But when system doesn't boot I see last lines on my screen :

scsi5 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
usbcore: registered new interface driver cms-cypress
USB Mass Storage support registered.
usb-storage: device scan complete
scsi 5:0:0:0: Direct-Access     Hitachi  HTS541680J9AT00  0000 PQ: 0 ANSI: 0
sd 5:0:0:0: [sdb] 156301488 512-byte hardware sectors: (80.0 GB/74.5 GiB)
sd 5:0:0:0: [sdb] Write Protect is off

I note this big difference:
usbcore: registered new interface driver cms-cypress

Please note that I have another system with Philips external USB disk
running fine....

Comment 1 Chuck Ebbert 2009-09-24 14:02:32 UTC
You should be able to boot by blacklisting the ums-cypress driver, if that is the problem:

# modinfo ums-cypress.ko 
filename:       ums-cypress.ko
license:        GPL
author:         Matthieu Castet <castet.matthieu>
description:    SAT support for Cypress USB/ATA bridges with ATACB
srcversion:     31BA41D297335BC0636FD2E
alias:          usb:v04B4p6831d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v04B4p6830d*dc*dsc*dp*ic*isc*ip*
depends:        usb-storage
vermagic:       2.6.30.5-43.fc11.i686.PAE SMP mod_unload 686

Comment 2 Chuck Ebbert 2009-09-25 02:30:39 UTC
Please try blacklisting ums-cypress and report back whether that helps.

Comment 3 antonio montagnani 2009-09-25 05:43:07 UTC
Chuck,

I had blown that USB disk, I tried to reinstall using a LiveCD and I can't proceed with installation, it says that there is an error during /boot creation.
F11 was on that disk but it was yum-upgraded from a working F10!!.
How do I blacklist during Live installation??

Comment 4 antonio montagnani 2009-09-25 08:51:14 UTC
I made a fresh installation on same disk, I updated all packages, now when I boot with 2.6.30.5-43.fc11 (not PAE) after initial booting I get a graphical window, then window is blanked and I get these two last lines on the screen before freezing

sd 5:0:0:0: [sdb] Assuming drive cache: write through
sd 5:0:0:0: [sdb] Assuming drive cache: write through

also after blacklisting ums-cypress module.

anything else I can do tho help?

Comment 5 antonio montagnani 2009-09-25 08:53:01 UTC
I forgot to mention that now I don't see lines as per original post...

Comment 6 antonio montagnani 2009-09-25 12:10:46 UTC
Is the module to be blacklisted ums-cypress module or cms-cypress??

Comment 7 Chuck Ebbert 2009-09-25 16:37:32 UTC
(In reply to comment #6)
> Is the module to be blacklisted ums-cypress module or cms-cypress??  

It's ums-cypress

Comment 8 antonio montagnani 2009-09-25 19:02:12 UTC
anyway I blacklisted ums-cypress, but no way to have the system booting...

Comment 9 Chuck Ebbert 2009-09-29 23:53:53 UTC
*** Bug 526066 has been marked as a duplicate of this bug. ***

Comment 10 Chuck Ebbert 2009-09-30 00:37:51 UTC
Works here when plugged into an already-running machine:

$ lsusb | grep Cy
Bus 001 Device 004: ID 04b4:6830 Cypress Semiconductor Corp. CY7C68300A EZ-USB AT2 USB 2.0 to ATA/ATAPI
$ uname -a
Linux nc 2.6.30.5-43.fc11.x86_64 #1 SMP Thu Aug 27 21:39:52 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

usb 1-2: new high speed USB device using ehci_hcd and address 4
usb 1-2: New USB device found, idVendor=04b4, idProduct=6830
usb 1-2: New USB device strings: Mfr=56, Product=78, SerialNumber=100
usb 1-2: Product: USB2.0 Storage Device
usb 1-2: Manufacturer: Cypress Semiconductor
usb 1-2: SerialNumber: --------------
usb 1-2: configuration #1 chosen from 1 choice
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
scsi2 : SCSI emulation for USB Mass Storage devices
usbcore: registered new interface driver ums-cypress
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
scsi 2:0:0:0: Direct-Access     IC25N060 ATMR04-0              PQ: 0 ANSI: 0
sd 2:0:0:0: Attached scsi generic sg1 type 0
sd 2:0:0:0: [sdb] 117210240 512-byte hardware sectors: (60.0 GB/55.8 GiB)
sd 2:0:0:0: [sdb] Write Protect is off
sd 2:0:0:0: [sdb] Mode Sense: 33 00 00 00
sd 2:0:0:0: [sdb] Assuming drive cache: write through
sd 2:0:0:0: [sdb] Assuming drive cache: write through
 sdb: sdb1
sd 2:0:0:0: [sdb] Attached SCSI disk

Comment 11 Chuck Ebbert 2009-09-30 05:49:23 UTC
This could be a problem with the initrd. Please attach the initrd file from the broken kernel.

Comment 12 antonio montagnani 2009-09-30 06:32:23 UTC
Created attachment 363129 [details]
initrd file for non booting kernel on cyprus chip

also this kernel doesn't boot

Comment 13 xl 2009-10-06 05:10:42 UTC
I have the same problem.
$ lsusb | grep Cy
Bus 001 Device 004: ID 04b4:6830 Cypress Semiconductor Corp. CY7C68300A EZ-USB
AT2 USB 2.0 to ATA/ATAPI

Comment 14 Chuck Ebbert 2009-10-15 08:29:55 UTC
Disabling CONFIG_USB_STORAGE_CYPRESS_ATACB makes it boot. 2.6.30.9-85 has that workaround.

Comment 15 antonio montagnani 2009-10-15 11:43:22 UTC
Tested and it boots fine.

Comment 16 Fedora Update System 2009-10-18 01:56:13 UTC
kernel-2.6.30.9-90.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/kernel-2.6.30.9-90.fc11

Comment 17 Fedora Update System 2009-10-27 06:46:09 UTC
kernel-2.6.30.9-90.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 18 Peter Svensson 2009-10-30 09:13:49 UTC
This apparently occurs if the kernel option CONFIG_USB_STORAGE_CYPRESS_ATACB is enabled but the module ums_cypress.ko is not available. 

The same problem exists in the F12 Live Beta image.

See https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/419231 for the same isue in Ubuntu.

Comment 19 antonio montagnani 2009-10-30 10:52:11 UTC
I suggest to file a bug also against rawhide.
Hope that it can be solved before final release...

Comment 20 Peter Svensson 2009-10-30 13:46:47 UTC
Created bug 532062 for F12.


Note You need to log in before you can comment on or make changes to this bug.