Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
report a gentoo-sources-3.12.13 bug,about usb device
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
double_crane
Tux's lil' helper
Tux's lil' helper


Joined: 11 Dec 2011
Posts: 119
Location: JiangSu,China

PostPosted: Mon Mar 31, 2014 3:28 pm    Post subject: report a gentoo-sources-3.12.13 bug,about usb device Reply with quote

I find a bug in gentoo-sources 3.12.13. and I don't know whether it has been reported by others yet.

Here is bug description:
I have a Udisk, which is made to system-bootable-disk , by ultraiso in windows,
the tool make the Udisk able to boot LinuxMint system

the tool divides the Udisk to two partitions.
Code:

dc@Gentoo ~ $ sudo fdisk /dev/sdc
Password:
Welcome to fdisk (util-linux 2.22.2).

Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): p

Disk /dev/sdc: 16.6 GB, 16567500800 bytes, 32358400 sectors
Units = 扇区 of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000a0d74

   设备 Boot      Start         End      Blocks   Id  System
/dev/sdc1             126    30475304    15237589+   c  W95 FAT32 (LBA)
/dev/sdc4   *    30475305    32358399      941547+  16  Hidden FAT16


sdc1 is the normal space of Udisk , sdc4 contains Linux Mint bootable system and it is hidden.

in gentoo-sources 3.10.25 3.10.17 and before, there's no problem when insert the Udisk, I can read and write sdc1 like normal Udisk.
but in gentoo-source 3.12.13 , I can't . and I return to kernel 3.10.XX, there's no such problem.
and if I insert another Udisk, which is not made to system-bootable-disk, there's no such problem too.

So,I hope this problem can't be solved
thank you.
Back to top
View user's profile Send private message
double_crane
Tux's lil' helper
Tux's lil' helper


Joined: 11 Dec 2011
Posts: 119
Location: JiangSu,China

PostPosted: Mon Mar 31, 2014 5:50 pm    Post subject: Reply with quote

I tried more , maybe it's not the kernel 's bug.I still don't know what's wrong

I have tried to make the Udisk a normal one, make it not bootable,and it is still not able to mount .
but when use kernel 3.10.25, it is able to mount and rw ,whether it is or isn't bootable.
my Udisk is ADATA S102 pro 16G.

use kernel 3.12.13 , insert other Udisks (not bootable) , it is mounted correctly, able to rw.

why only kernel 3.12.25 and this particular Udisk , not compatible ?

a
Back to top
View user's profile Send private message
double_crane
Tux's lil' helper
Tux's lil' helper


Joined: 11 Dec 2011
Posts: 119
Location: JiangSu,China

PostPosted: Mon Mar 31, 2014 6:03 pm    Post subject: Reply with quote

some more information:
when I insert my Udisk at first, I can see it in /dev as /dev/sdc
but when I try to mount it , it stops, (If I do other operation to it ,it returns "device is busy")
and several seconds later , /dev/sdc disappear ,and the mount process returns " mount error, the device not exist"

Code:

dc@Gentoo ~ $ lsusb
Bus 004 Device 002: ID 1f75:0916 Innostor Technology Corporation


and in dmesg I find these

Code:

[   39.785239] sd 6:0:0:0: [sdc] Unhandled error code
[   39.785241] sd 6:0:0:0: [sdc] 
[   39.785242] Result: hostbyte=0x07 driverbyte=0x00
[   39.785243] sd 6:0:0:0: [sdc] CDB:
[   39.785244] cdb[0]=0x28: 28 00 00 00 0a 97 00 00 0b 00
[   39.785250] end_request: I/O error, dev sdc, sector 2711
[   40.009489] xhci_hcd 0000:00:14.0: xhci_hub_status_data: stopping port polling.


it seems IO error ,but I can mount and read write it when use kernel 3.10.25 or in window7.
Back to top
View user's profile Send private message
h4jo
n00b
n00b


Joined: 05 Nov 2007
Posts: 7
Location: Hösel

PostPosted: Mon Mar 31, 2014 6:15 pm    Post subject: Reply with quote

linux-3.12.13-gentoo also fails to properly handle my Logitech USB keyboard 046d:c326 on boot. I have to punch num lock repeatedly while booting to have it working (risking SMP to fail which ends up showing 1 instead of 2 cores). If I don't do that, I end up having no keyboard after boot is complete.
linux-3.10.25-gentoo is working flawlessly.
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Mon Mar 31, 2014 9:13 pm    Post subject: Reply with quote

Can you file this bug at Gentoo Bugzilla? Read here how to write a bug report, for more in-depth details and troubleshooting steps you can read our Bugzilla HOWTO.
Back to top
View user's profile Send private message
double_crane
Tux's lil' helper
Tux's lil' helper


Joined: 11 Dec 2011
Posts: 119
Location: JiangSu,China

PostPosted: Wed Apr 02, 2014 4:21 am    Post subject: Reply with quote

I've reported it as Bug 506512
thank you for your advice,hope for solution
Back to top
View user's profile Send private message
Djole
n00b
n00b


Joined: 23 May 2014
Posts: 1

PostPosted: Fri May 23, 2014 9:06 am    Post subject: Reply with quote

USB keyboard and USB mouse are not working for me on 3.12.13 either (usb mouse is not present atm):
kernel-3.10.32 wrote:
Code:
dmesg | grep usb
[    0.202236] usbcore: registered new interface driver usbfs
[    0.202347] usbcore: registered new interface driver hub
[    0.202482] usbcore: registered new device driver usb
[    0.941975] hso: drivers/net/usb/hso.c: Option Wireless
[    0.942119] usbcore: registered new interface driver hso
[    0.949311] usb usb1: default language 0x0409
[    0.949317] usb usb1: udev 1, busnum 1, minor = 0
[    0.949319] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.949403] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.949531] usb usb1: Product: EHCI Host Controller
[    0.949614] usb usb1: Manufacturer: Linux 3.10.32-gentoo ehci_hcd
[    0.949697] usb usb1: SerialNumber: 0000:00:02.1
[    0.949880] usb usb1: usb_probe_device
[    0.949883] usb usb1: configuration #1 chosen from 1 choice
[    0.949889] usb usb1: adding 1-0:1.0 (config #1, interface 0)
[    0.949946] hub 1-0:1.0: usb_probe_interface
[    0.949948] hub 1-0:1.0: usb_probe_interface - got id
[    0.950119] hub 1-0:1.0: no power switching (usb 1.0)
[    1.003228] usb usb2: default language 0x0409
[    1.003233] usb usb2: udev 1, busnum 2, minor = 128
[    1.003235] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    1.003319] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.003442] usb usb2: Product: OHCI Host Controller
[    1.003525] usb usb2: Manufacturer: Linux 3.10.32-gentoo ohci_hcd
[    1.003608] usb usb2: SerialNumber: 0000:00:02.0
[    1.003796] usb usb2: usb_probe_device
[    1.003798] usb usb2: configuration #1 chosen from 1 choice
[    1.003802] usb usb2: adding 2-0:1.0 (config #1, interface 0)
[    1.003854] hub 2-0:1.0: usb_probe_interface
[    1.003856] hub 2-0:1.0: usb_probe_interface - got id
[    1.004025] hub 2-0:1.0: no power switching (usb 1.0)
[    1.004344] usbcore: registered new interface driver cdc_acm
[    1.004602] usbcore: registered new interface driver usblp
[    1.004738] usbcore: registered new interface driver usb-storage
[    1.004869] usbcore: registered new interface driver ums-realtek
[    1.005048] usbcore: registered new interface driver usbserial
[    1.005192] usbcore: registered new interface driver usbserial_generic
[    1.005316] usbserial: USB Serial support registered for generic
[    1.005440] usbcore: registered new interface driver cp210x
[    1.005566] usbserial: USB Serial support registered for cp210x
[    1.005697] usbcore: registered new interface driver ftdi_sio
[    1.005825] usbserial: USB Serial support registered for FTDI USB Serial Device
[    1.006010] usbcore: registered new interface driver moto_modem
[    1.006133] usbserial: USB Serial support registered for moto-modem
[    1.006280] usbcore: registered new interface driver option
[    1.006403] usbserial: USB Serial support registered for GSM modem (1-port)
[    1.006551] usbcore: registered new interface driver spcp8x5
[    1.006675] usbserial: USB Serial support registered for SPCP8x5
[    1.013042] usbcore: registered new interface driver bcm203x
[    1.013198] usbcore: registered new interface driver bpa10x
[    1.013324] usbcore: registered new interface driver bfusb
[    1.013618] usbcore: registered new interface driver btusb
[    1.013742] usbcore: registered new interface driver ath3k
[    1.014074] usbcore: registered new interface driver ushc
[    1.014909] usbcore: registered new interface driver usbhid
[    1.014992] usbhid: USB HID core driver
[    1.564907] usb 2-2: new low-speed USB device number 2 using ohci_hcd
[    1.745856] usb 2-2: skipped 1 descriptor after interface
[    1.745859] usb 2-2: skipped 1 descriptor after interface
[    1.748852] usb 2-2: default language 0x0409
[    1.756850] usb 2-2: udev 2, busnum 2, minor = 129
[    1.756852] usb 2-2: New USB device found, idVendor=046d, idProduct=c313
[    1.756934] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.757020] usb 2-2: Product: USB Multimedia Keyboard
[    1.757102] usb 2-2: Manufacturer: LITEON Technology
[    1.757279] usb 2-2: usb_probe_device
[    1.757282] usb 2-2: configuration #1 chosen from 1 choice
[    1.759855] usb 2-2: adding 2-2:1.0 (config #1, interface 0)
[    1.759934] usbhid 2-2:1.0: usb_probe_interface
[    1.759936] usbhid 2-2:1.0: usb_probe_interface - got id
[    1.767105] input: LITEON Technology USB Multimedia Keyboard as /devices/pci0000:00/0000:00:02.0/usb2/2-2/2-2:1.0/input/input2
[    1.767354] hid-generic 0003:046D:C313.0001: input,hidraw0: USB HID v1.10 Keyboard [LITEON Technology USB Multimedia Keyboard] on usb-0000:00:02.0-2/input0
[    1.767498] usb 2-2: adding 2-2:1.1 (config #1, interface 1)
[    1.767573] usbhid 2-2:1.1: usb_probe_interface
[    1.767575] usbhid 2-2:1.1: usb_probe_interface - got id
[    1.776903] input: LITEON Technology USB Multimedia Keyboard as /devices/pci0000:00/0000:00:02.0/usb2/2-2/2-2:1.1/input/input3
[    1.777137] hid-generic 0003:046D:C313.0002: input,hidraw1: USB HID v1.10 Device [LITEON Technology USB Multimedia Keyboard] on usb-0000:00:02.0-2/input1


kernel 3.12.13 wrote:
Code:

dmesg | grep usb
[    0.204822] usbcore: registered new interface driver usbfs
[    0.204943] usbcore: registered new interface driver hub
[    0.205077] usbcore: registered new device driver usb
[    0.944533] hso: drivers/net/usb/hso.c: Option Wireless
[    0.944677] usbcore: registered new interface driver hso
[    0.950914] usb usb1: default language 0x0409
[    0.950925] usb usb1: udev 1, busnum 1, minor = 0
[    0.950927] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.951011] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.951139] usb usb1: Product: EHCI Host Controller
[    0.951221] usb usb1: Manufacturer: Linux 3.12.13-gentoo ehci_hcd
[    0.951305] usb usb1: SerialNumber: 0000:00:02.1
[    0.951496] usb usb1: usb_probe_device
[    0.951499] usb usb1: configuration #1 chosen from 1 choice
[    0.951509] usb usb1: adding 1-0:1.0 (config #1, interface 0)
[    0.951570] hub 1-0:1.0: usb_probe_interface
[    0.951572] hub 1-0:1.0: usb_probe_interface - got id
[    0.951747] hub 1-0:1.0: no power switching (usb 1.0)
[    0.952460] usbcore: registered new interface driver cdc_acm
[    0.952724] usbcore: registered new interface driver usblp
[    0.952866] usbcore: registered new interface driver usb-storage
[    0.952999] usbcore: registered new interface driver ums-realtek
[    0.953194] usbcore: registered new interface driver usbserial
[    0.953321] usbcore: registered new interface driver usbserial_generic
[    0.953453] usbserial: USB Serial support registered for generic
[    0.953586] usbcore: registered new interface driver cp210x
[    0.953716] usbserial: USB Serial support registered for cp210x
[    0.953853] usbcore: registered new interface driver ftdi_sio
[    0.953984] usbserial: USB Serial support registered for FTDI USB Serial Device
[    0.954168] usbcore: registered new interface driver option
[    0.954293] usbserial: USB Serial support registered for GSM modem (1-port)
[    0.954437] usbcore: registered new interface driver spcp8x5
[    0.954566] usbserial: USB Serial support registered for SPCP8x5
[    0.956350] usbcore: registered new interface driver synaptics_usb
[    0.960657] usbcore: registered new interface driver bcm203x
[    0.960804] usbcore: registered new interface driver bpa10x
[    0.960931] usbcore: registered new interface driver bfusb
[    0.961229] usbcore: registered new interface driver btusb
[    0.961355] usbcore: registered new interface driver ath3k
[    0.961520] usbcore: registered new interface driver ushc
[    0.962431] usbcore: registered new interface driver usbhid
[    0.962516] usbhid: USB HID core driver

Create a separate bug report or what?
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Sun Jun 01, 2014 6:51 pm    Post subject: Reply with quote

Replied to the bug, please try my response and/or provide more information; also don't mind the other user, that user doesn't know that you have tried to create a forum thread. It may be a bug, or an unfortunate config difference; we'll see, I don't mind giving support on the bug...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum