dCore Import Debian Packages to Mountable SCE extensions > dCore x86 Imported Extensions
usb-modeswitch
Onyarian:
Hi,
I sce-load usb-modeswitch for a dongle with modem 3g, that previously worked OK with TC4.7, but with ub-dcore-trusty 3.16.6 and 3.8.13 don't work with the message in dmesg:
--- Quote ---usb 1-2: new high-speed USB device number 5 using ehci-pci
usb-storage 1-2:1.0: USB Mass Storage device detected
scsi5 : usb-storage 1-2:1.0
usb_modeswitch_[20912]: segfault at 0 ip b75a7891 sp bfc0732c error 4 in libc-2.19.so[b752c000+1a9000]
scsi 5:0:0:0: CD-ROM USBModem MMC Storage 2.31 PQ: 0 ANSI: 2
sr2: scsi-1 drive
sr 5:0:0:0: Attached scsi CD-ROM sr2
sr 5:0:0:0: Attached scsi generic sg7 type 5
--- End quote ---
when in TC4.7 was:
--- Quote ---usb 1-2: new high speed USB device number 5 using ehci_hcd
scsi5 : usb-storage 1-2:1.0
scsi 5:0:0:0: CD-ROM USBModem MMC Storage 2.31 PQ: 0 ANSI: 2
sr2: scsi-1 drive
sr 5:0:0:0: Attached scsi CD-ROM sr2
sr 5:0:0:0: Attached scsi generic sg7 type 5
usb 1-2: USB disconnect, device number 5
usb 1-2: new high speed USB device number 6 using ehci_hcd
scsi6 : usb-storage 1-2:1.2
usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
USB Serial support registered for GSM modem (1-port)
option 1-2:1.0: GSM modem (1-port) converter detected
usb 1-2: GSM modem (1-port) converter now attached to ttyUSB0
option 1-2:1.1: GSM modem (1-port) converter detected
usb 1-2: GSM modem (1-port) converter now attached to ttyUSB1
option 1-2:1.3: GSM modem (1-port) converter detected
usb 1-2: GSM modem (1-port) converter now attached to ttyUSB2
usbcore: registered new interface driver option
option: v0.7.2:USB Driver for GSM modems
scsi 6:0:0:0: Direct-Access USBModem MMC Storage 2.31 PQ: 0 ANSI: 2
sd 6:0:0:0: Attached scsi generic sg7 type 0
sd 6:0:0:0: [sdf] Attached SCSI removable disk
--- End quote ---
seems that there is a segfault in usb-modeswitch (I have sce-imported it three different times with the same result in 3.8.13 and 3.16.6)
Jason W:
I don't have the hardware to test, but I have googled many bug reports of this segfault issue. If I find any pointers I will post them.
Jason W:
I see the error mentions the file libc6-2.19.so, libc6 has been updated in trusty since the base has been last packed.
I have updated libc6 in the base image, in release candidates. Give that a try and see if it was the issue. My next task is to update the files in the base images of the x86 dCores.
Onyarian:
Hi Jason,
With the new trusty-rc dCore.15.03.20 and re importing usb-modeswitch the dmesg is the same:
--- Quote ---usb 1-2: new high-speed USB device number 5 using ehci-pci
usb-storage 1-2:1.0: USB Mass Storage device detected
scsi5 : usb-storage 1-2:1.0
usb_modeswitch_[16831]: segfault at 0 ip b75f7d51 sp bfd6968c error 4 in libc-2.19.so[b757d000+1a8000]
scsi 5:0:0:0: CD-ROM USBModem MMC Storage 2.31 PQ: 0 ANSI: 2
sr2: scsi-1 drive
sr 5:0:0:0: Attached scsi CD-ROM sr2
sr 5:0:0:0: Attached scsi generic sg7 type 5
--- End quote ---
Can I do anything else?
Rich:
--- Code: ---usb_modeswitch_[16831]: segfault at 0
--- End code ---
That sounds like something in the usb-modeswitch extension is passing a NULL pointer to libc.
Navigation
[0] Message Index
[#] Next page
Go to full version