[Problem] USB wont mount any more?


QazzaQY2K

Still Fresh
Joined
Oct 14, 2008
Messages
69
Hey I've got the new FW Super 1.5 beta 1.1


I has worked fine when running the new FW. A week ago or so the USB stopped working.


Now the panda wont mount or at least show me the usb mem stick. Not sure what to do to debugs this. Any help would be apprishated. I'm about to reflash it just to see if that should resolve the issue. I've run both my USB Memdisk through windows diskscan with no issues. Also did a sector check.


I'm still a newb when it comes to Linux. I try my best.
 
Last edited by a moderator:
Have you tried turning it off and on again?


Seriously, the USB host will crash if you plug in a USB1.1 device (and possibly a few other rare occasions like if you run out of RAM when you plug something in or such) and the only way to recover is to reboot.
 
Sometimes the battery MUST be removed for 10 minutes?


So the usb can reset


(when it is turned off)
 
I've reflashed it, still not working. I've also tried to "reset" power. By removing the battery. Still not working. Can I have broken it? HOW?
 
Insert a USB device that used to work, then type in a terminal :



Code:
dmesg

Give us the last lines please.



Did you try to remove the battery for a long time ?



Frying USB ports (at least on a PC), although possible, is very rare. I've seen only one in ~12 years.



Oh, and which kernel version are you using ?



Code:
uname -r
 
Last edited by a moderator:
It's like it some times flashes by. So maybe It's some sort of intermittent connection by the USB.. like the USBMemory-plug is glitching?


Kernel 2.6.27.57-omap1



Code:
op:~/Desktop$ dmesg


18890] musb_hdrc: hw_ep 8tx, max 512

[47052.518920] musb_hdrc: hw_ep 8rx, max 512

[47052.518920] musb_hdrc: hw_ep 9tx, max 512

[47052.518920] musb_hdrc: hw_ep 9rx, max 512

[47052.518951] musb_hdrc: hw_ep 10tx, max 512

[47052.518951] musb_hdrc: hw_ep 10rx, max 512

[47052.518981] musb_hdrc: hw_ep 11tx, max 512

[47052.518981] musb_hdrc: hw_ep 11rx, max 512

[47052.519012] musb_hdrc: hw_ep 12tx, max 512

[47052.519012] musb_hdrc: hw_ep 12rx, max 512

[47052.519012] musb_hdrc: hw_ep 13tx, max 512

[47052.519042] musb_hdrc: hw_ep 13rx, max 512

[47052.519042] musb_hdrc: hw_ep 14shared, max 1024

[47052.519073] musb_hdrc: hw_ep 15shared, max 1024

[47052.519104] musb_hdrc: USB OTG mode controller at d80ab000 using PIO, IRQ 92

[47052.539215] Bluetooth: Core ver 2.13

[47052.539459] NET: Registered protocol family 31

[47052.539489] Bluetooth: HCI device and connection manager initialized

[47052.539489] Bluetooth: HCI socket layer initialized

[47052.540954] NET: Registered protocol family 2

[47052.546844] Switched to high resolution mode on CPU 0

[47052.609558] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)

[47052.610107] TCP established hash table entries: 8192 (order: 4, 65536 bytes)

[47052.610351] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)

[47052.610473] TCP: Hash tables configured (established 8192 bind 8192)

[47052.610504] TCP reno registered

[47052.632965] NET: Registered protocol family 1

[47052.633728] NetWinder Floating Point Emulator V0.97 (double precision)

[47052.635314] VFS: Disk quotas dquot_6.5.1

[47052.635437] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)

[47052.635986] squashfs: version 4.0 (2009/01/31) Phillip Lougher

[47052.636871] aufs 2-27

[47052.636901] msgmni has been set to 487

[47052.637145] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)

[47052.637145] io scheduler noop registered

[47052.637176] io scheduler anticipatory registered (default)

[47052.637176] io scheduler deadline registered

[47052.637329] io scheduler cfq registered

[47052.647491] Serial: 8250/16550 driver4 ports, IRQ sharing enabled

[47052.668487] serial8250.0: ttyS0 at MMIO 0x49020000 (irq = 74) is a ST16654

[47052.672882] brd: module loaded

[47052.675109] loop: module loaded

[47052.675292] set_opp: OPP 3 set

[47052.675323] pndctrl loaded.

[47052.675476] usbcore: registered new interface driver asix

[47052.675567] usbcore: registered new interface driver cdc_ether

[47052.675659] usbcore: registered new interface driver rndis_host

[47052.675689] i2c /dev entries driver

[47052.676696] input: power-button as /devices/virtual/input/input0

[47052.703247] triton2 power button driver initialized

[47052.704406] Driver 'sd' needs updating - please use bus_type methods

[47052.704559] omap2-nand driver initializing

[47052.705718] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xbc (Micron NAND 512MiB 1,8V 16-bit)

[47052.706146] cmdlinepart partition parsing not available

[47052.706176] Creating 5 MTD partitions on "omap2-nand":

[47052.706207] 0x00000000-0x00080000 : "xloader"

[47052.706756] 0x00080000-0x00260000 : "uboot"

[47052.707733] 0x00260000-0x00280000 : "uboot-env"

[47052.708007] 0x00280000-0x00c80000 : "boot"

[47052.712432] 0x00c80000-0x20000000 : "rootfs"

[47052.920349] UBI: attaching mtd4 to ubi0

[47052.920379] UBI: physical eraseblock size:   131072 bytes (128 KiB)

[47052.920379] UBI: logical eraseblock size:	129024 bytes

[47052.920410] UBI: smallest flash I/O unit:	2048

[47052.920410] UBI: sub-page size:          	512

[47052.920440] UBI: VID header offset:      	512 (aligned 512)

[47052.920440] UBI: data offset:            	2048

[47054.147766] UBI: attached mtd4 to ubi0

[47054.147766] UBI: MTD device name:        	"rootfs"

[47054.147796] UBI: MTD device size:        	499 MiB

[47054.147796] UBI: number of good PEBs:    	3983

[47054.147827] UBI: number of bad PEBs: 		13

[47054.147827] UBI: max. allowed volumes:   	128

[47054.147857] UBI: wear-leveling threshold:	4096

[47054.147857] UBI: number of internal volumes: 1

[47054.147857] UBI: number of user volumes: 	1

[47054.147888] UBI: available PEBs:     		0

[47054.147888] UBI: total number of reserved PEBs: 3983

[47054.147918] UBI: number of PEBs reserved for bad PEB handling: 39

[47054.147918] UBI: max/mean erase counter: 36/14

[47054.147949] UBI: image sequence number: 986475568

[47054.147979] UBI: attaching mtd3 to ubi1

[47054.148010] UBI: physical eraseblock size:   131072 bytes (128 KiB)

[47054.148010] UBI: logical eraseblock size:	129024 bytes

[47054.148040] UBI: smallest flash I/O unit:	2048

[47054.148040] UBI: sub-page size:          	512

[47054.148071] UBI: VID header offset:      	512 (aligned 512)

[47054.148071] UBI: data offset:            	2048

[47054.150268] UBI: background thread "ubi_bgt0d" started, PID 26

[47054.186462] UBI: attached mtd3 to ubi1

[47054.186492] UBI: MTD device name:        	"boot"

[47054.186523] UBI: MTD device size:        	10 MiB

[47054.186523] UBI: number of good PEBs:    	80

[47054.186523] UBI: number of bad PEBs: 		0

[47054.186553] UBI: max. allowed volumes:   	128

[47054.186553] UBI: wear-leveling threshold:	4096

[47054.186584] UBI: number of internal volumes: 1

[47054.186584] UBI: number of user volumes: 	1

[47054.186614] UBI: available PEBs:     		0

[47054.186614] UBI: total number of reserved PEBs: 80

[47054.186614] UBI: number of PEBs reserved for bad PEB handling: 2

[47054.186645] UBI: max/mean erase counter: 31/25

[47054.186645] UBI: image sequence number: 1149479929

[47054.186706] usbmon: debugfs is not available

[47054.186950] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller

[47054.187255] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1

[47054.187683] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800

[47054.187713] UBI: background thread "ubi_bgt1d" started, PID 27

[47054.203094] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004

[47054.203521] usb usb1: configuration #1 chosen from 1 choice

[47054.203735] hub 1-0:1.0: USB hub found

[47054.203796] hub 1-0:1.0: 3 ports detected

[47054.313140] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002

[47054.313171] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

[47054.313171] usb usb1: Product: OMAP-EHCI Host Controller

[47054.313201] usb usb1: Manufacturer: Linux 2.6.27.57-omap1 ehci_hcd

[47054.313201] usb usb1: SerialNumber: ehci-omap.0

[47054.313323] Initializing USB Mass Storage driver...

[47054.313446] usbcore: registered new interface driver usb-storage

[47054.313476] USB Mass Storage support registered.

[47054.313568] usbcore: registered new interface driver libusual

[47054.313812] mice: PS/2 mouse device common for all mice

[47054.336639] input: gpio-keys as /devices/platform/gpio-keys/input/input1

[47054.406768] input: keypad as /devices/platform/i2c_omap.1/i2c-adapter/i2c-1/1-004a/twl4030_keypad/input/input2

[47054.454559] input: nub0 as /devices/platform/i2c_omap.3/i2c-adapter/i2c-3/3-0066/input/input3

[47054.500427] input: nub1 as /devices/platform/i2c_omap.3/i2c-adapter/i2c-3/3-0067/input/input4

[47054.547363] twl4030_rtc twl4030_rtc: rtc core: registered twl4030_rtc as rtc0

[47054.551116] bq27x00-battery 3-0055: support ver. 1.1.0 enabled

[47054.551177] Bluetooth: HCI UART driver ver 2.2

[47054.551208] Bluetooth: HCI H4 protocol initialized

[47054.551208] Bluetooth: HCILL protocol initialized

[47054.551269] hci_h4p hci_h4p: Registering HCI H4P device

[47054.703613] mmci-omap mmci-omap.0: Failed to get debounce clock

[47054.812622] mmci-omap mmci-omap.1: Failed to get debounce clock

[47054.813690] mmci-omap mmci-omap.2: Failed to get debounce clock

[47054.814117] Registered led device: pandora::sd1

[47054.814208] Registered led device: pandora::sd2

[47054.814331] Registered led device: pandora::bluetooth

[47054.814453] Registered led device: pandora::wifi

[47054.814758] Registered led device: pandora::keypad_bl

[47054.814941] Registered led device: pandora::power

[47054.815277] Registered led device: pandora::charger

[47054.815521] usbcore: registered new interface driver usbhid

[47054.815551] usbhid: v2.6:USB HID core driver

[47054.815734] Advanced Linux Sound Architecture Driver Version 1.0.17.

[47054.815979] ASoC version 0.13.2

[47054.816101] OMAP3 Pandora SoC init

[47054.816284] TWL4030 Audio Codec init

[47054.817810] asoc: twl4030 <-> omap-mcbsp-dai-0 mapping ok

[47054.819305] asoc: twl4030 <-> omap-mcbsp-dai-1 mapping ok

[47054.826995] ALSA device list:

[47054.827026]   #0: omap3pandora (twl4030)

[47054.827301] TCP cubic registered

[47054.827331] NET: Registered protocol family 17

[47054.827362] NET: Registered protocol family 15

[47054.827392] Bluetooth: L2CAP ver 2.11

[47054.827423] Bluetooth: L2CAP socket layer initialized

[47054.827453] Bluetooth: SCO (Voice Link) ver 0.6

[47054.827453] Bluetooth: SCO socket layer initialized

[47054.827636] Bluetooth: RFCOMM socket layer initialized

[47054.827697] Bluetooth: RFCOMM TTY layer initialized

[47054.827697] Bluetooth: RFCOMM ver 1.10

[47054.827728] Bluetooth: BNEP (Ethernet Emulation) ver 1.3

[47054.827728] Bluetooth: HIDP (Human Interface Emulation) ver 1.2

[47054.827789] ThumbEE CPU extension supported.

[47054.827789] Disabling unused clock "sr2_fck"

[47054.827819] Disabling unused clock "sr1_fck"

[47054.827819] Disabling unused clock "mcbsp_fck"

[47054.827850] Disabling unused clock "mcbsp_fck"

[47054.827850] Disabling unused clock "mcbsp_fck"

[47054.827880] Disabling unused clock "mcbsp_ick"

[47054.827880] Disabling unused clock "mcbsp_ick"

[47054.827911] Disabling unused clock "mcbsp_ick"

[47054.827911] Disabling unused clock "gpt2_ick"

[47054.827941] Disabling unused clock "gpt3_ick"

[47054.827941] Disabling unused clock "gpt4_ick"

[47054.827972] Disabling unused clock "gpt5_ick"

[47054.827972] Disabling unused clock "gpt6_ick"

[47054.828002] Disabling unused clock "gpt7_ick"

[47054.828002] Disabling unused clock "gpt8_ick"

[47054.828002] Disabling unused clock "gpt9_ick"

[47054.828033] Disabling unused clock "wdt3_ick"

[47054.828033] Disabling unused clock "wdt3_fck"

[47054.828063] Disabling unused clock "gpio2_dbck"

[47054.828063] Disabling unused clock "gpio3_dbck"

[47054.828094] Disabling unused clock "gpio5_dbck"

[47054.828094] Disabling unused clock "gpt9_fck"

[47054.828155] Disabling unused clock "gpt8_fck"

[47054.828186] Disabling unused clock "gpt7_fck"

[47054.828186] Disabling unused clock "gpt6_fck"

[47054.828216] Disabling unused clock "gpt5_fck"

[47054.828216] Disabling unused clock "gpt4_fck"

[47054.828216] Disabling unused clock "gpt3_fck"

[47054.828247] Disabling unused clock "gpt2_fck"

[47054.828247] Disabling unused clock "gpt1_ick"

[47054.828277] Disabling unused clock "wdt1_ick"

[47054.828277] Disabling unused clock "wdt2_ick"

[47054.828308] Disabling unused clock "wdt2_fck"

[47054.828308] Disabling unused clock "gpio1_dbck"

[47054.828338] Disabling unused clock "gpt1_fck"

[47054.828338] Disabling unused clock "cam_ick"

[47054.828338] Disabling unused clock "cam_mclk"

[47054.828369] Disabling unused clock "des1_ick"

[47054.828369] Disabling unused clock "sha11_ick"

[47054.828399] Disabling unused clock "rng_ick"

[47054.828399] Disabling unused clock "aes1_ick"

[47054.828430] Disabling unused clock "ssi_ick"

[47054.828430] Disabling unused clock "mailboxes_ick"

[47054.828460] Disabling unused clock "mcbsp_ick"

[47054.828460] Disabling unused clock "mcbsp_ick"

[47054.828460] Disabling unused clock "gpt10_ick"

[47054.828491] Disabling unused clock "gpt11_ick"

[47054.828491] Disabling unused clock "uart2_ick"

[47054.828521] Disabling unused clock "i2c_ick"

[47054.828521] Disabling unused clock "hdq_ick"

[47054.828552] Disabling unused clock "mspro_ick"

[47054.828552] Disabling unused clock "des2_ick"

[47054.828582] Disabling unused clock "sha12_ick"

[47054.828582] Disabling unused clock "aes2_ick"

[47054.828582] Disabling unused clock "icr_ick"

[47054.828613] Disabling unused clock "pka_ick"

[47054.828613] Disabling unused clock "ssi_ssr_fck"

[47054.828643] Disabling unused clock "hdq_fck"

[47054.828643] Disabling unused clock "uart2_fck"

[47054.828674] Disabling unused clock "mcbsp_fck"

[47054.828674] Disabling unused clock "mcbsp_fck"

[47054.828704] Disabling unused clock "i2c_fck"

[47054.828704] Disabling unused clock "mspro_fck"

[47054.828735] Disabling unused clock "gpt11_fck"

[47054.828735] Disabling unused clock "gpt10_fck"

[47054.828735] Disabling unused clock "iva2_ck"

[47054.828765] Disabling unused clock "dpll4_m6x2_ck"

[47054.828765] Disabling unused clock "dpll4_m5x2_ck"

[47054.828796] Disabling unused clock "dpll3_m3x2_ck"

[47054.828826] Disabling unused clock "sys_clkout1"

[47054.828826] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1

[47054.859863] Console: switching to colour frame buffer device 100x30

[47055.041168] twl4030_rtc twl4030_rtc: setting system clock to 2012-03-11 03:55:14 UTC (1331438114)

[47055.053771] mmc0: host does not support reading read-only switch. assuming write-enable.

[47055.053802] mmc0: new SD card at address e624

[47055.054321] mmcblk0: mmc0:e624 SD02G 1985024KiB

[47055.054626]  mmcblk0: p1

[47055.146728] UBIFS: mounted UBI device 0, volume 0, name "rootfs"

[47055.146759] UBIFS: file system size:   506935296 bytes (495054 KiB, 483 MiB, 3929 LEBs)

[47055.146759] UBIFS: journal size:   	9033728 bytes (8822 KiB, 8 MiB, 71 LEBs)

[47055.146789] UBIFS: media format:   	w4/r0 (latest is w4/r0)

[47055.146789] UBIFS: default compressor: lzo

[47055.146820] UBIFS: reserved for root:  0 bytes (0 KiB)

[47055.148132] VFS: Mounted root (ubifs filesystem).

[47055.148315] Freeing init memory: 140K

[47055.427642] mmc1: host does not support reading read-only switch. assuming write-enable.

[47055.427673] mmc1: new high speed SDHC card at address aaaa

[47055.428131] mmcblk1: mmc1:aaaa SD32G 31166976KiB

[47055.428405]  mmcblk1: p1

[47056.330169] udev: starting version 151

[47057.771545] ads7846 spi1.0: touchscreen, irq 254

[47057.771575] ads7846 spi1.0: using vsync trigger

[47057.772186] input: touchscreen as /devices/platform/omap2_mcspi.1/spi1.0/input/input5

[47063.230316] fuse init (API version 7.9)

[47063.583801] FAT: bogus number of reserved sectors

[47063.583831] VFS: Can't find a valid FAT filesystem on dev mmcblk1.

[47063.674224] FAT: bogus number of reserved sectors

[47063.674255] VFS: Can't find a valid FAT filesystem on dev mmcblk0.

[47063.867309] NET: Registered protocol family 10

[47064.140808] FAT: bogus number of reserved sectors

[47064.140838] VFS: Can't find a valid FAT filesystem on dev mmcblk1.

[47064.184478] FAT: bogus number of reserved sectors

[47064.184509] VFS: Can't find a valid FAT filesystem on dev mmcblk0.

[47065.160888] UBIFS: mounted UBI device 1, volume 0, name "boot"

[47065.160919] UBIFS: file system size:   8386560 bytes (8190 KiB, 7 MiB, 65 LEBs)

[47065.160919] UBIFS: journal size:   	1032193 bytes (1008 KiB, 0 MiB, 6 LEBs)

[47065.160949] UBIFS: media format:   	w4/r0 (latest is w4/r0)

[47065.160949] UBIFS: default compressor: lzo

[47065.160980] UBIFS: reserved for root:  396117 bytes (386 KiB)

[47065.879364] set_opp: OPP 4 set

[47065.984344] dpll1_ck rate: 800000000

[47065.984375] arm_fck  rate: 800000000

[47065.984375] PLL_MPU  rate: 800000000

[47066.031646] input: nub0 as /devices/platform/i2c_omap.3/i2c-adapter/i2c-3/3-0066/input/input6

[47066.258331] input: nub1 as /devices/platform/i2c_omap.3/i2c-adapter/i2c-3/3-0067/input/input7

op:~/Desktop$
 
Last edited by a moderator:
Qaz:


Looking thru dmesg I see no sign of [sda]


Next time unplug, wait 5 seconds, replug


So anything will be at end of dmesg


dmesg | tail (or dmesg | tail -20) makes it more convenient


(up arrow -on rocker- recalls command history, saves retyping)
 
Hello,


I've just received my Pandora and tried to plug a usb stick : everything worked fine.


But when I plug an usb keyboard, the keyboard does not work (the leds on the keyboard do not react).


dmesg tells me something like "usb port 2 : unable to enumerate", and since then, when I unplug the keyboard to plug another usb stick which was working before, it does not work anymore. I have to reboot the Pandora to have it recognized again.


I am using "super zaxxon" (2.6.27.57-omap1), without charger.


Is there something I could do ?
 
Yes, the keyboard is a USB 1.1 device, the Pandora unfortunately has no hub included (we didn't have space for that on the PCB), therefore, you need to use a hub between the USB Port and the battery.


You could also use an adaptor from the small USB port to the keyboard.
 
To add to what EvilDragon has said, USB2 is not as backwards compatible with USB1.1 as everyone seems to think: if you have a USB2.0 port (like the Pandora has) you need a kind of translation chip in order to understand USB1.1. There was no room on the board for this chip so MWeston made the hard decision of making that port USB2.0 ONLY.


If you plug in a USB1.1 device, like a keyboard or mouse, the USB2.0 system tries to work with it anyway, fails, and then crashes. This is a hardware crash, not software, there's no way to recover it other than to power cycle the CPU.


Any USB2.0 compatible hub will have one of these chips in them as well, a few users have bought small, cheap hub cables and just use them as adapters.
 
careful, there are plenty of USB hubs around the net, such as ebay, claiming to be usb2, but only supporting usb1.1 speeds
 
Really? That is disturbing on even more levels. I've seen devices that claim to be "USB2.0" compatible with the mistaken belief that the computer will be able to handle it regardless, but never a hub.
 
Yes, the keyboard is a USB 1.1 device, the Pandora unfortunately has no hub included (we didn't have space for that on the PCB), therefore, you need to use a hub between the USB Port and the battery.


You could also use an adaptor from the small USB port to the keyboard.
I hope for a possible Pandora 2, this problem is solved so that USB compatibility behaves like it should (and does on other devices)
 
What a bunch of confusion about USB.


If one actually reads the USB standard, a USB host is REQUIRED to support low speed, full speed and high speed if it supports high speed. The Omap is supposed to connect to a hub hard wired to its pins to allow it to meet the standard.


USB 2.0 is a superset of USB 1.1, so all USB 1.1 devices are also USB 2.0 compatible. USB 2.0 is NOT a speed. Do not buy USB 2.0 devices and expect them to operate at High Speed unless it also says USB High Speed on the package.


I'm rather dissapointed to hear that not only does the Pandora not support low speed and full speed on its full sized full power port (this part I knew), it will lock up the USB port if such a device is ever plugged in. This is problematic because one does not always know what modes a USB device supports before plugging it in.
 
Back
Top