maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   Flasher USB problem, yes, I RTFF before posting (https://talk.maemo.org/showthread.php?t=33543)

sirflyalot 2009-10-27 07:08

Flasher USB problem, yes, I RTFF before posting
 
This is the problem if you dont' want to scroll down:
Error claiming USB interface: Device or resource busy

I have an N800 and am trying to flash it. I am using Ubuntu 910, doing it as root, have tried all 4 usb ports on my laptop, and have even tried mounting the USB, which is not a problem with Ubuntu 910. I have had N800's and N810's and have flashed them using multiple operating systems over the last 3 years. I am stumped by this one.
./flasher-3.0 -F RX-34_DIABLO_5.2008.43-7_PR_COMBINED_MR0_ARM.bin -f -R
flasher v0.8.7 (Oct 17 2006)

SW version in image: RX-34_DIABLO_5.2008.43-7_PR_MR0
Image 'kernel', size 1536640 bytes
Version 2.6.21-200842maemo1
Image 'initfs', size 2327808 bytes
Version 0.95.22-200842maemo1w38b3
Image 'rootfs', size 138149888 bytes
Version RX-34+RX-44+RX-48_DIABLO_5.2008.43-7_PR_MR0
Image '2nd', size 8192 bytes
Valid for RX-34: 1301, 1302, 1501, 1502, 1503, 1504, 1601, 1602
Version 1.1.16-200844maemo2
Image 'xloader', size 9088 bytes
Valid for RX-34: 1301, 1302, 1501, 1502, 1503, 1504, 1601, 1602
Version 1.1.16-200844maemo2
Image 'secondary', size 99072 bytes
Valid for RX-34: 1301, 1302, 1501, 1502, 1503, 1504, 1601, 1602
Version 1.1.16-200844maemo2
USB device found found at bus 002, device address 028
Error claiming USB interface: Device or resource busy

Many thanks to all who help.

Johnx 2009-10-27 09:22

Re: Flasher USB problem, yes, I RTFF before posting
 
Do you happen to have an old Jaunty-era kernel lying around you could boot into? You could at least verify if it's a kernel level thing or a libusb level thing.

-John

jkq 2009-10-28 02:44

Re: Flasher USB problem, yes, I RTFF before posting
 
Quote:

Originally Posted by sirflyalot (Post 358803)
This is the problem if you dont' want to scroll down:
Error claiming USB interface: Device or resource busy

Maybe it automounted the tablet as a drive?

I think the last time I flashed my N800 it was on a laptop running Hardy (or rather, the version of Mint based on Hardy :)).

-jkq

alendit 2009-10-30 23:52

Re: Flasher USB problem, yes, I RTFF before posting
 
Hi,

sudo modprobe -r cdc_phonet should resolve your problem.

kalikiana 2009-11-05 11:46

Re: Flasher USB problem, yes, I RTFF before posting
 
Thanks a lot for that tip, I started seeing the same problem on Archlinux a cuple of days ago. The command saves me from a reboot.

speculatrix 2009-11-22 19:22

Re: Flasher USB problem, yes, I RTFF before posting
 
I came across this thread after trying to reflash my n800 using suse 11.2 and the static flashe binary...

# ./flasher-3.5 -F RX-34_DIABLO_5.2008.43-7_PR_COMBINED_MR0_ARM.bin -f -R
flasher v0.9.0 (Jan 19 2007)

SW version in image: RX-34_DIABLO_5.2008.43-7_PR_MR0
Image 'kernel', size 1536640 bytes
Version 2.6.21-200842maemo1
Image 'initfs', size 2327808 bytes
Version 0.95.22-200842maemo1w38b3
Image 'rootfs', size 138149888 bytes
Version RX-34+RX-44+RX-48_DIABLO_5.2008.43-7_PR_MR0
Image '2nd', size 8192 bytes
Valid for RX-34: 1301, 1302, 1501, 1502, 1503, 1504, 1601, 1602
Version 1.1.16-200844maemo2
Image 'xloader', size 9088 bytes
Valid for RX-34: 1301, 1302, 1501, 1502, 1503, 1504, 1601, 1602
Version 1.1.16-200844maemo2
Image 'secondary', size 99072 bytes
Valid for RX-34: 1301, 1302, 1501, 1502, 1503, 1504, 1601, 1602
Version 1.1.16-200844maemo2
USB device found found at bus 001, device address 024
Error claiming USB interface: Device or resource busy


I also tried with an older flasher - 3.0 - and it didn't work :-(

Bundyo 2009-11-22 20:27

Re: Flasher USB problem, yes, I RTFF before posting
 
Nope, the flashers stopped working in openSUSE 11.2, dunno why. I'm using an archive 11.1 to do it. N900 doesn't reflash too. Didn't investigate.

speculatrix 2009-11-22 22:47

Re: Flasher USB problem, yes, I RTFF before posting
 
I just booted a 10.2 rescue disk then mounted the hard drive partition where my downloads are, and the flasher program worked but failed part way through, try as I might I couldn't get it to finish. Sometimes it barely starts before reporting protocol error, sometimes it gets up to 17% of the way flashing the main file system before reporting write error.

I'm worried I bricked my tablet now :-(

I tried a different USB port too, no change. I'll try a different computer in case that works.

arrrrgggghhhh!

speculatrix 2009-11-22 22:50

Re: Flasher USB problem, yes, I RTFF before posting
 
OK, am using my file server, an atom board running suse 11.2 linux "2.6.31.5-0.1-pae", and I got the usb_bulk_write error seen before:

Sending and flashing rootfs image (134912 kB)...
1% (2560 of 134912 kB, 9446 kB/s))
Write failed after 2621440 bytes
usb_bulk_write: No such device or address


FWIW, the desktop machine is running 2.6.31.5-0.1-default - note not PAE. Whether that makes a difference I don't know.

--edit1--
oh no, now the tablet simply flashes up the initial power-on screen with the image of a 770 with the spanner. the flashing program won't even detect the device appearing. :eek:

--edit2--
I added a couple of lines to the /etc/modprobe.d/50-blacklist.conf file thus
Code:

blacklist cdc_phonet
blacklist phonet

and then, with a fresh battery, the flasher-3.0-static tool worked, using the file server suse 11.2, 2.6.31.5-0.1-pae.

phew! FWIW, I decided to reflash because my n800 reported its storage was full and I had too much cruft that needed clearing out, so I figured a fresh start would help. I began to wish I hadn't. Then I had guilty thoughts about it breaking it being an excuse to buy an n900. :o
--edit3-- oh yeah, I forgot, another reason I've been meaning to reflash for ages was because the media player couldn't remember anything I played, and the metalayer crawler was b0rked and there was no media library. basically, I'd fannied around so much it needed a clean start :-)

pycage 2009-12-13 09:37

Re: Flasher USB problem, yes, I RTFF before posting
 
Great! You helped me flash my 770 on Ubuntu 9.10. :D
Code:

sudo rmmod cdc_phonet
sudo rmmod phonet

Before that it was just
Code:

USB device found found at bus 003, device address 004
Error claiming USB interface: Device or resource busy



All times are GMT. The time now is 23:07.

vBulletin® Version 3.8.8