Re: [Bugme-new] [Bug 8792] New: kernel incorrectly initialises mass storage component of HUAWEI E220

Andrew Morton <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Sun, 22 Jul 2007 17:16:13 -0700 (PDT) [email protected] wrote:

> http://bugzilla.kernel.org/show_bug.cgi?id=8792
> 
>            Summary: kernel incorrectly initialises mass storage component of
>                     HUAWEI E220
>            Product: IO/Storage
>            Version: 2.5
>      KernelVersion: 2.6.22
>           Platform: All
>         OS/Version: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: normal
>           Priority: P1
>          Component: SCSI
>         AssignedTo: [email protected]
>         ReportedBy: [email protected]
>                 CC: [email protected]
> 
> 
> Most recent kernel where this bug did not occur: vanilla 2.6.22

I think this was supposed to be "not known"..  It is unclear.

> Distribution: Slackware 12.0
> Hardware Environment: HUAWEI USB modem E220 on Intel 82801G (ICH7) USB2 EHCI;
> Intel 82801G (ICH7) PCI Express
> Software Environment: SCSI
> Problem Description: The HUAWEI USB modem includes a mass storage device to
> access the modem's built-in ROM. The kernel's SCSI environment (see relevant
> dmesg below) incorrectly initializes that mass storage device as a CDROM on
> /dev/sr1, which causes three known symptoms:
> 
> 1) "/etc/rc.d/rc.hald start" removes /dev/sr1 until udev puts it back. This
> means that the modem gets initialized twice every time I boot Linux.
> Workarounds: (i) do not start hald, or (ii) attach the modem after hald has
> initialized.
> 
> 2) k3b device scan also removes /dev/sr1 and if I am unlucky and have pppd
> already running, pppd gets terminated as well. Workaround: "chmod 000 /dev/sr1"
> or "chgrp root /dev/sr1" (Slackware udev initializes /dev/sr1 as group cdrom).
> 
> 3) Warnings from module "option":
> dmesg | grep -i option
> option: Unknown symbol usb_serial_port_softint
> option: Unknown symbol usb_serial_disconnect
> option: Unknown symbol usb_serial_probe
> option: Unknown symbol usb_serial_register
> option: Unknown symbol usb_serial_deregister
> option 3-1:1.0: GSM modem (1-port) converter detected
> option 3-1:1.1: GSM modem (1-port) converter detected
> usbcore: registered new interface driver option
> drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.1
> 
> Other relevant information:
> dmesg | grep -i scsi
> SCSI subsystem initialized
> scsi0 : ata_piix
> scsi1 : ata_piix
> scsi 0:0:0:0: Direct-Access     ATA      TOSHIBA MK1637GS DL03 PQ: 0 ANSI: 5
> sd 0:0:0:0: [sda] Attached SCSI disk
> scsi 1:0:0:0: CD-ROM            HL-DT-ST DVDRAM GSA-T20N  WT03 PQ: 0 ANSI: 5
> sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
> sr 1:0:0:0: Attached scsi CD-ROM sr0
> scsi2 : SCSI emulation for USB Mass Storage devices
> scsi 2:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
> sr1: scsi3-mmc drive: 0x/0x caddy
> sr 2:0:0:0: Attached scsi CD-ROM sr1
> 
> LUN scan shows HUAWEI as type "cdrom" again:
> /etc/rc.d/rc.scanluns
> Scanning all LUNs for additional hardware:  /sbin/rescan-scsi-bus -l
> Host adapter 0 (ata_piix) found.
> Host adapter 1 (ata_piix) found.
> Host adapter 2 (usb-storage) found.
> Scanning hosts  0 1 2 channels 0 for
>  SCSI target IDs  0 1 2 3 4 5 6 7 , LUNs  0 1 2 3 4 5 6 7
> Scanning for device 0 0 0 0 ...
> OLD: Host: scsi0 Channel: 00 Id: 00 Lun: 00
>       Vendor: ATA      Model: TOSHIBA MK1637GS Rev: DL03
>       Type:   Direct-Access                    ANSI SCSI revision: 05
> Scanning for device 1 0 0 0 ...
> OLD: Host: scsi1 Channel: 00 Id: 00 Lun: 00
>       Vendor: HL-DT-ST Model: DVDRAM GSA-T20N  Rev: WT03
>       Type:   CD-ROM                           ANSI SCSI revision: 05
> Scanning for device 2 0 0 0 ...
> OLD: Host: scsi2 Channel: 00 Id: 00 Lun: 00
>       Vendor: HUAWEI   Model: Mass Storage     Rev: 2.31
>       Type:   CD-ROM                           ANSI SCSI revision: 02
> 0 new device(s) found.
> 0 device(s) removed.
> 
> Modules:
> usb_storage            31812  0
> usbserial              25320  4 option
> soundcore               5792  1 snd
> uhci_hcd               19404  0
> ehci_hcd               26444  0
> 
> Steps to reproduce: reboot with modem connected
> 
> 
> -- 
> Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug, or are watching someone who is.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.