All pastes #452949 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-04-22 17:12 UTC
rendered paste body

Dec 25 22:41:24 *	thekix (n=kix@21.Red-80-24-61.staticIP.rima-tde.net) has joined #synce
Dec 25 22:41:26 <thekix>	hi
Dec 25 22:41:38 <Jc2k>	hi
Dec 25 22:42:16 <Jc2k>	how are you :)?
Dec 25 22:42:18 <thekix>	are you john?
Dec 25 22:42:21 <thekix>	I am rodolfo
Dec 25 22:42:27 <Jc2k>	oh, hi rodolfo :-)
Dec 25 22:42:34 <thekix>	thanks for your time
Dec 25 22:42:39 <Jc2k>	np :-)
Dec 25 22:43:00 <thekix>	is olea "on-line?"
Dec 25 22:43:15 <Jc2k>	he joined shortly before you :-D
Dec 25 22:43:25 <Jc2k>	though he isn't responding to my prods :-(
Dec 25 22:43:30 <Jc2k>	very busy guy :-D
Dec 25 22:43:42 <thekix>	ok
Dec 25 22:43:49 <Jc2k>	so your problem
Dec 25 22:43:55 <thekix>	first, I am using an hp ipaq 950rx
Dec 25 22:44:00 <thekix>	1950
Dec 25 22:44:03 <thekix>	sorry
Dec 25 22:44:31 <Jc2k>	okie dokie
Dec 25 22:44:59 <thekix>	more?
Dec 25 22:45:27 <Jc2k>	i'm just reading the code around your problem area
Dec 25 22:46:03 <Jc2k>	i wouldn't worry about the lsusb just yet, if it got this far i don't think that command can help.
Dec 25 22:47:15 <thekix>	Dec 25 23:47:04 localhost kernel: usb 3-2: new full speed USB device using uhci_hcd and address 10
Dec 25 22:47:15 <thekix>	Dec 25 23:47:04 localhost kernel: usb 3-2: configuration #1 chosen from 1 choice
Dec 25 22:47:15 <thekix>	Dec 25 23:47:04 localhost kernel: rndis_host 3-2:1.0: RNDIS_MSG_QUERY(0x01010101) failed, -110
Dec 25 22:47:15 <thekix>	Dec 25 23:47:04 localhost kernel: rndis_host: probe of 3-2:1.0 failed with error -110
Dec 25 22:47:19 <thekix>	when I connect
Dec 25 22:47:23 <thekix>	and the lsusb -vvv
Dec 25 22:47:29 <Jc2k>	i don't need
Dec 25 22:48:05 <thekix>	ok
Dec 25 22:48:16 <thekix>	is long :-)
Dec 25 22:48:28 <Jc2k>	yes :-)
Dec 25 22:48:57 <thekix>	      Class specific interface descriptor for class 239 is unsupported
Dec 25 22:48:57 <thekix>	      Class specific interface descriptor for class 239 is unsupported
Dec 25 22:48:57 <thekix>	      Class specific interface descriptor for class 239 is unsupported
Dec 25 22:49:00 <thekix>	this is important?
Dec 25 22:49:08 <Jc2k>	:O
Dec 25 22:49:29 <Jc2k>	i think it's normal
Dec 25 22:49:38 <thekix>	ok
Dec 25 22:49:53 <Jc2k>	the important thing is that to get as far as it did, it has to have gotten past the point where the descriptors matter
Dec 25 22:50:07 <Jc2k>	thekix: do you have any programming experiencec :-o
Dec 25 22:50:17 <thekix>	something :-)
Dec 25 22:50:29 <Jc2k>	in C?
Dec 25 22:50:51 <thekix>	yes
Dec 25 22:51:00 <Jc2k>	ahh good :-)
Dec 25 22:51:16 <Jc2k>	can you go in the usb-rndis-lite folder for me 
Dec 25 22:51:28 <Jc2k>	open rndis_host.c
Dec 25 22:51:44 <Jc2k>	find the rndis_command function
Dec 25 22:51:46 <thekix>	        if (unlikely(retval < 0)) {
Dec 25 22:51:46 <thekix>	                dev_err(&intf->dev, "RNDIS_MSG_QUERY(0x%08x) failed, %d\n",
Dec 25 22:51:46 <thekix>	                                oid, retval);
Dec 25 22:51:46 <thekix>	                return retval;
Dec 25 22:51:46 <thekix>	        }
Dec 25 22:51:50 <thekix>	here is my problem
Dec 25 22:51:59 <thekix>	yes
Dec 25 22:52:00 <Jc2k>	kind of :-)
Dec 25 22:52:15 <Jc2k>	we need to add extra debugs on the bit where retval comes from
Dec 25 22:52:20 <Jc2k>	which is in rndis_command
Dec 25 22:52:37 <thekix>	ok
Dec 25 22:52:40 <Jc2k>	what do you see on line 317?
Dec 25 22:52:59 <thekix>	        if (unlikely(retval < 0 || xid == 0))
Dec 25 22:53:44 <Jc2k>	good good, just what i was hoping
Dec 25 22:54:36 <Jc2k>	can you make it like this
Dec 25 22:54:41 <Jc2k>		if (unlikely(retval < 0 || xid == 0)) {
Dec 25 22:54:41 <Jc2k>			dev_dbg(&info->control->dev,
Dec 25 22:54:41 <Jc2k>					"retval=%d, xid=%d\n",
Dec 25 22:54:41 <Jc2k>					retval, xid);
Dec 25 22:54:41 <Jc2k>			return retval;
Dec 25 22:54:41 <Jc2k>		}
Dec 25 22:55:00 <Jc2k>	(get rid of the two lines that are there
Dec 25 22:55:02 <Jc2k>	)
Dec 25 22:55:20 <Jc2k>	also, at the top of the file - can you uncomment #DEBUG and #VERBOSE
Dec 25 22:56:14 <Jc2k>	if your device is attached, remove it
Dec 25 22:56:30 <Jc2k>	then do the make, sudo ./clean.sh, sudo make install
Dec 25 22:56:38 <Jc2k>	plug your device and show me the new dmesg
Dec 25 22:56:59 <thekix>	/      if (unlikely(retval < 0 || xid == 0))
Dec 25 22:56:59 <thekix>	/              return retval;
Dec 25 22:56:59 <thekix>	        if (unlikely(retval < 0 || xid == 0)) {
Dec 25 22:56:59 <thekix>	                dev_dbg(&info->control->dev, "retval=%d, xid=%d\n", retval, xid);
Dec 25 22:56:59 <thekix>	                return retval;
Dec 25 22:57:00 <thekix>	        }
Dec 25 22:57:08 <thekix>	I will compile it and try
Dec 25 22:58:04 <thekix>	make
Dec 25 22:58:13 <thekix>	sudo ./clean.sh
Dec 25 22:58:32 <thekix>	sudo make install
Dec 25 23:01:13 <Jc2k>	thekix: has it compiled?
Dec 25 23:01:19 <thekix>	yes
Dec 25 23:01:27 <thekix>	I forget to set the DEBUG
Dec 25 23:01:40 <Jc2k>	lollies :-)
Dec 25 23:01:45 <thekix>	Dec 26 00:01:10 localhost kernel: usb 3-2: new full speed USB device using uhci_hcd and address 12
Dec 25 23:01:45 <thekix>	Dec 26 00:01:11 localhost kernel: usb 3-2: configuration #1 chosen from 1 choice
Dec 25 23:01:45 <thekix>	Dec 26 00:01:11 localhost kernel: usbcore: registered new driver cdc_ether
Dec 25 23:01:58 <thekix>	Dec 26 00:01:11 localhost kernel: rndis_host 3-2:1.0: hard mtu 1558 (1642 from dev), rx buflen 16384, align 8
Dec 25 23:01:58 <thekix>	Dec 26 00:01:12 localhost kernel: rndis_host 3-2:1.0: rndis response error, code 1
Dec 25 23:01:58 <thekix>	Dec 26 00:01:12 localhost last message repeated 9 times
Dec 25 23:02:14 <thekix>	Dec 26 00:01:12 localhost kernel: rndis_host 3-2:1.0: rndis response timeout
Dec 25 23:02:14 <thekix>	Dec 26 00:01:12 localhost kernel: rndis_host 3-2:1.0: RNDIS_MSG_QUERY(0x01010101) failed, -110
Dec 25 23:02:14 <thekix>	Dec 26 00:01:12 localhost kernel: rndis_host: probe of 3-2:1.0 failed with error -110
Dec 25 23:02:14 <thekix>	Dec 26 00:01:12 localhost kernel: usbcore: registered new driver rndis_host
Dec 25 23:02:41 <Jc2k>	unexpected :o
Dec 25 23:03:29 <Jc2k>				dev_dbg(&info->control->dev,
Dec 25 23:03:29 <Jc2k>					"rndis response error, code %d\n", retval);
Dec 25 23:03:40 <Jc2k>	irc ate part of that
Dec 25 23:03:43 <Jc2k>	the comment reads
Dec 25 23:03:52 <Jc2k>	"device probably issued a protocol stall; ignore"
Dec 25 23:05:05 <Jc2k>	it tries to do this 10 times and fails each time
Dec 25 23:05:29 <Jc2k>	then returns -110, which is -ETIMEDOUT
Dec 25 23:09:29 <Jc2k>	it seems to be a common pattern that if a USB error is betwen 1 and 8 its bad :-\
Dec 25 23:09:41 <Jc2k>	unsure as to why
Dec 25 23:11:35 <thekix>	then?
Dec 25 23:12:40 <Jc2k>	ok... that particular function returns a positive value *only* if it (kinda) worked
Dec 25 23:12:55 <Jc2k>	if its positive, then it is a length of the data returned
Dec 25 23:13:02 <Jc2k>	your device is returning 1 byte
Dec 25 23:13:20 <Jc2k>	i think rndis_host is disappointed with such a size and then cries :-)
Dec 25 23:13:51 <thekix>	if my device returns 1 byte, then is 1 byte :-)
Dec 25 23:14:11 <Jc2k>	ahh correction
Dec 25 23:14:19 <Jc2k>	oh wait
Dec 25 23:14:21 <Jc2k>	no
Dec 25 23:14:28 <Jc2k>	i hate kernel stuff :(
Dec 25 23:14:42 <Jc2k>	this is 10x beyond me, at least! :-)
Dec 25 23:15:01 <Jc2k>	oleavr: i'll email you all this in case you get disconnected :-/ any ideas?
Dec 25 23:15:40 <Jc2k>	thekix: theres nothing more us mortals can do :-)
Dec 25 23:15:51 <thekix>	yes
Dec 25 23:16:03 <thekix>	oleavr!!!!! save us!
Dec 25 23:16:05 <thekix>	:-)
Dec 25 23:16:08 <Jc2k>	unless you wanted to idle, i can e-mail you if/when i can pin oleavr to the ground and find out what he knows?
Dec 25 23:16:20 <Jc2k>	as it happens, i'm going to bed :-)
Dec 25 23:16:31 <thekix>	jc2k, where are you from?
Dec 25 23:16:41 <Jc2k>	england :)
Dec 25 23:17:01 <thekix>	ok, we have the same timezone +-
Dec 25 23:17:08 <thekix>	spain
Dec 25 23:17:13 <thekix>	I need go to the bed too
Dec 25 23:18:34 <thekix>	jc2k, the problem is in the bind not?
Dec 25 23:18:53 <Jc2k>	the bind?
Dec 25 23:19:29 <thekix>	yes
Dec 25 23:19:40 <thekix>	        /* REVISIT:  peripheral "alignment" request is ignored ... */
Dec 25 23:19:40 <thekix>	        dev_dbg(&intf->dev,
Dec 25 23:19:40 <thekix>	                "hard mtu %u (%u from dev), rx buflen %Zu, align %d\n",
Dec 25 23:19:40 <thekix>	                dev->hard_mtu, tmp, dev->rx_urb_size,
Dec 25 23:19:41 <thekix>	                1 << le32_to_cpu(u.init_c->packet_alignment));
Dec 25 23:19:42 <thekix>	here
Dec 25 23:19:54 <thekix>	static int rndis_bind(struct usbnet *dev, struct usb_interface *intf)
Dec 25 23:19:57 <thekix>	in this function
Dec 25 23:20:32 <Jc2k>	thekix: nope - the hard mtu error scared me the first time i did a fix - i thought i had broke it :P but its a normal error
Dec 25 23:20:43 <Jc2k>	well, its not really an error
Dec 25 23:20:55 <Jc2k>	its more of a.. this is what params i'm using
Dec 25 23:21:08 <thekix>	ok
Dec 25 23:21:23 <Jc2k>	the real issue stems from the "rndis response error" in "rndis_command"
Dec 25 23:21:31 <Jc2k>	this is inside a for loop so occurs 10 times
Dec 25 23:21:44 <Jc2k>	after the tenth loop the code gives up and fails with a timeout error
Dec 25 23:22:03 <Jc2k>	the place that called rndis_command then issues the RNDIS_MSG_QUERY error
Dec 25 23:22:09 <thekix>	        if (unlikely(retval < 0 || xid == 0)) {
Dec 25 23:22:09 <thekix>	                dev_err(&info->control->dev, "retval=%d, xid=%d\n", retval, xid);
Dec 25 23:22:09 <thekix>	                return retval;
Dec 25 23:22:13 <thekix>	I will try with this
Dec 25 23:22:27 <Jc2k>	thekix: the error is lower down :-)
Dec 25 23:23:12 <thekix>	ok
Dec 25 23:23:13 <thekix>	:-)
Dec 25 23:23:19 <Jc2k>	it does this:
Dec 25 23:23:19 <Jc2k>		for (count = 0; count < 10; count++) {
Dec 25 23:23:19 <Jc2k>			memset(buf, 0, CONTROL_BUFFER_SIZE);
Dec 25 23:23:19 <Jc2k>			retval = usb_control_msg(dev->udev,
Dec 25 23:23:19 <Jc2k>				usb_rcvctrlpipe(dev->udev, 0),
Dec 25 23:23:19 <Jc2k>				USB_CDC_GET_ENCAPSULATED_RESPONSE,
Dec 25 23:23:19 <Jc2k>				USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE,
Dec 25 23:23:19 <Jc2k>				0, master_ifnum,
Dec 25 23:23:19 <Jc2k>				buf, CONTROL_BUFFER_SIZE,
Dec 25 23:23:19 <Jc2k>				RNDIS_CONTROL_TIMEOUT_MS);
Dec 25 23:23:19 <Jc2k>			if (likely(retval >= 8)) {
Dec 25 23:23:30 <Jc2k>	but retval < 8 so it goes in to the else:
Dec 25 23:23:45 <Jc2k>			} else {
Dec 25 23:23:45 <Jc2k>				/* device probably issued a protocol stall; ignore */
Dec 25 23:23:45 <Jc2k>				dev_dbg(&info->control->dev,
Dec 25 23:23:45 <Jc2k>					"rndis response error, code %d\n", retval);
Dec 25 23:23:45 <Jc2k>			}
Dec 25 23:23:45 <Jc2k>			msleep(2);
Dec 25 23:23:49 <Jc2k>	and loops a bit
Dec 25 23:23:52 <Jc2k>	anyway
Dec 25 23:23:54 <Jc2k>	night night!
Dec 25 23:24:42 <thekix>	ok

<!-- SNIPPAGE -->

Dec 26 12:11:09 <Jc2k>	rmrfchik: are you Paul?
Dec 26 12:11:14 <rmrfchik>	yes
Dec 26 12:11:40 <Jc2k>	=)
Dec 26 12:11:41 <Jc2k>	hi
Dec 26 12:11:51 <rmrfchik>	hi :)
Dec 26 12:12:16 <Jc2k>	when i got your last email i was still pretty much asleep so give me 5 to see what the error was and grep the code
Dec 26 12:12:24 <Jc2k>	oleavr: did you get my e-mail :)?
Dec 26 12:12:42 <Jc2k>	i <3 coffee
Dec 26 12:13:04 <Jc2k>	thekix-web: remember me with vodka? well with coffee things are much worse :D
Dec 26 12:13:15 <rmrfchik>	i can save your time: rndis_host.c, line 511
Dec 26 12:13:21 <rmrfchik>	error -110
Dec 26 12:14:10 <oleavr>	Jc2k: cool :)
Dec 26 12:14:23 <oleavr>	Jc2k: yeah sorry I've been too sucked in to be able to context-switch
Dec 26 12:14:39 <Jc2k>	oleavr: hehe i know that feeling
Dec 26 12:14:46 <Jc2k>	its a bitch at work sometimes
Dec 26 12:14:54 <Jc2k>	when i've got conduit in my head
Dec 26 12:14:59 <Jc2k>	and they expect me to do VB
Dec 26 12:15:02 <Jc2k>	AAAHAHAHAHHHHHHHHHHHHh
Dec 26 12:15:48 <Jc2k>	rmrfchik: well... it seems it's related to the problem thekix is having
Dec 26 12:16:12 <rmrfchik>	thekix-web: what r u using? what pda/phone?
Dec 26 12:16:20 <Jc2k>	oleavr: we have two users with rndis_commands that timeout - but in different places!!
Dec 26 12:16:33 <Jc2k>	rmrfchik: he is using a pda i believe
Dec 26 12:16:34 <rmrfchik>	Jc2k: if it does matter: my pda is running Samsung CPU
Dec 26 12:17:26 <Jc2k>	rmrfchik: not sure tbh
Dec 26 12:17:41 <oleavr>	Jc2k: hmm.. any timeouts from the basic USB subsystem like when retrieving device descriptors?
Dec 26 12:18:10 <Jc2k>	oleavr: i think one of em had that when they used the original usb-rndis
Dec 26 12:18:14 <rmrfchik>	according to sources, problem is in usb subsystem, not in rndis
Dec 26 12:18:16 <Jc2k>	but with rndis-lite...
Dec 26 12:18:27 <Jc2k>	its in RNDS init
Dec 26 12:18:32 <Jc2k>	and where it does a MSG_QUERY
Dec 26 12:19:02 <rmrfchik>	yes. it seems, we need the protocol dissected
Dec 26 12:19:31 <Jc2k>	oleavr: when rmrfchik had the older driver on the usb sub system spat this out:
Dec 26 12:19:31 <Jc2k>	usb 5-1: device descriptor read/64, error -110
Dec 26 12:19:51 <rmrfchik>	Jc2k: hm, it seems i was wrong.
Dec 26 12:20:05 <rmrfchik>	my steps
Dec 26 12:20:10 <rmrfchik>	1. built module
Dec 26 12:20:15 <rmrfchik>	2. make install
Dec 26 12:20:24 <rmrfchik>	3. rmmod rndis and stuff
Dec 26 12:20:28 <Jc2k>	lollies
Dec 26 12:20:30 <rmrfchik>	4. modprobe rndis_host
Dec 26 12:20:39 <Jc2k>	it should be 1 3 2, with no 4
Dec 26 12:20:40 <rmrfchik>	nothing happens... then
Dec 26 12:20:51 <rmrfchik>	5. rmmod rndis and stuff
Dec 26 12:21:04 <rmrfchik>	6. insmod ./*ko modules by hand
Dec 26 12:21:08 <rmrfchik>	7. see and error
Dec 26 12:21:12 <Jc2k>	rmrfchik:
Dec 26 12:21:16 <Jc2k>	in usb-rndis-lite
Dec 26 12:21:19 <Jc2k>	make
Dec 26 12:21:22 <Jc2k>	sudo ./clean.sh
Dec 26 12:21:26 <Jc2k>	sudo make install
Dec 26 12:21:30 <Jc2k>	and it should just work..
Dec 26 12:21:37 <rmrfchik>	yes, twogood said me
Dec 26 12:21:49 <Jc2k>	what error do you get if you do that step?
Dec 26 12:21:55 <rmrfchik>	so, after clean.sh, I really got the -110 error now
Dec 26 12:22:05 <Jc2k>	ok
Dec 26 12:22:12 <Jc2k>	is it the one that mentions RNDIS Init
Dec 26 12:22:23 <Jc2k>	or the one that mentions MSG_QUERY
Dec 26 12:23:29 <rmrfchik>	don't know...
Dec 26 12:23:35 <rmrfchik>	stop.. do know
Dec 26 12:23:37 <rmrfchik>	look
Dec 26 12:23:53 <rmrfchik>	usb 5-2: configuration #1 chosen from 1 choice
Dec 26 12:23:53 <rmrfchik>	rndis_host 5-2:1.0: RNDIS init failed, -110
Dec 26 12:23:53 <rmrfchik>	rndis_host: probe of 5-2:1.0 failed with error -110
Dec 26 12:23:57 <Jc2k>	good :)
Dec 26 12:23:57 <rmrfchik>	so, this is init failed
Dec 26 12:24:02 <Jc2k>	well, not good
Dec 26 12:24:13 <Jc2k>	so
Dec 26 12:24:22 <Jc2k>	oleavr: when you aren't "in the zone" :-)
Dec 26 12:24:55 <Jc2k>	getting timeouts from rndis_command, one in RNDIS init, one in the MSG_QUERY bit
Dec 26 12:25:22 <Jc2k>	we have seen a descriptor moan from the usb subsystem, but that was when the rndis_host wasn't installed properly
Dec 26 12:26:18 <rmrfchik>	is it proper "./clean.sh; make install"
Dec 26 12:27:28 <Jc2k>	sudo ./clean.sh
Dec 26 12:27:31 <Jc2k>	sudo make install
Dec 26 12:27:39 <rmrfchik>	sure, under root
Dec 26 12:27:50 <Jc2k>	oh ok, i'm used to ubuntu's lack of root hehe
Dec 26 12:27:58 <rmrfchik>	at least, files *ko are the same as in build dir ;)
Dec 26 12:28:06 <Jc2k>	./clean.sh
Dec 26 12:28:08 <Jc2k>	make install
Dec 26 12:28:11 <Jc2k>	plug and pray
Dec 26 12:28:14 <Jc2k>	:-)
Dec 26 12:28:23 <rmrfchik>	and get the  RNDIS init failed, -110
Dec 26 12:28:45 <rmrfchik>	do you have some process for digging such cases?
Dec 26 12:29:01 <rmrfchik>	may be you need additional info about pda?
Dec 26 12:29:14 <rmrfchik>	or protocol need to be digged..
Dec 26 12:29:17 <Jc2k>	rmrfchik: i'm new to this really :-)
Dec 26 12:29:24 <rmrfchik>	ah, ok
Dec 26 12:29:32 <Jc2k>	my "process" is repetition of what i have seen the masters do hehe
Dec 26 12:29:41 <rmrfchik>	:)
Dec 26 12:29:50 <Jc2k>	i have a feeling oleavr knows something, thats why he specifically asked about device descriptors
Dec 26 12:30:41 <Jc2k>	rmrfchik: your problem is closely related to issue witnessed by thekix
Dec 26 12:30:55 <Jc2k>	last night between us we isolated it to the rndis_command sub
Dec 26 12:31:17 <Jc2k>	it takes the else case (comment mentions that the device is "stalling" the protocol
Dec 26 12:31:24 <Jc2k>	when there is a stall it tries again
Dec 26 12:31:31 <Jc2k>	in total it will try 10 times
Dec 26 12:31:40 <Jc2k>	then it gives the timeout error (-110)
Dec 26 12:32:39 <Jc2k>	if you want to confirm this, then define the debug and verbose options at top of rndis_host.c and make / clean / install again
Dec 26 12:32:44 <Jc2k>	it should give you more output
Dec 26 12:33:24 <Jc2k>	if you don't know any C then i just need you to turn this:
Dec 26 12:33:24 <Jc2k>	/ #define	DEBUG			// error path messages, extra info
Dec 26 12:33:24 <Jc2k>	/ #define	VERBOSE			// more; success messages
Dec 26 12:33:28 <Jc2k>	in to this
Dec 26 12:33:36 <Jc2k>	#define	DEBUG			// error path messages, extra info
Dec 26 12:33:36 <Jc2k>	 #define	VERBOSE			// more; success messages
Dec 26 12:33:53 <Jc2k>	(IRC turned //// into // :()
Dec 26 12:33:57 <Jc2k>	grr!
Dec 26 12:34:03 <Jc2k>	(IRC turned // into / :()
Dec 26 12:34:21 *	oleavr has quit (Read error: 110 (Connection timed out))
Dec 26 12:35:15 <rmrfchik>	rndis_host 5-2:1.0: RNDIS_MSG_QUERY(0x01010101) failed, -110
Dec 26 12:35:33 <rmrfchik>	correct?
Dec 26 12:36:44 <Jc2k>	:O
Dec 26 12:36:52 <Jc2k>	did you get any more errors?
Dec 26 12:37:03 <rmrfchik>	usb 5-2: new full speed USB device using uhci_hcd and address 31
Dec 26 12:37:03 <rmrfchik>	usb 5-2: configuration #1 chosen from 1 choice
Dec 26 12:37:03 <rmrfchik>	usbcore: registered new driver cdc_ether
Dec 26 12:37:03 <rmrfchik>	rndis_host 5-2:1.0: RNDIS_MSG_QUERY(0x01010101) failed, -110
Dec 26 12:37:03 <rmrfchik>	rndis_host: probe of 5-2:1.0 failed with error -110
Dec 26 12:37:06 <rmrfchik>	full log
Dec 26 12:38:05 <rmrfchik>	hmm... wait a sec.
Dec 26 12:38:16 <Jc2k>	weird, now you have the same error as thekix - and the init error is gone!?!
Dec 26 12:38:40 *	Jc2k cries into his laptop
Dec 26 12:38:52 <rmrfchik>	usb 5-2: new full speed USB device using uhci_hcd and address 32
Dec 26 12:38:52 <rmrfchik>	usb 5-2: configuration #1 chosen from 1 choice
Dec 26 12:38:52 <rmrfchik>	usbcore: registered new driver cdc_ether
Dec 26 12:38:52 <rmrfchik>	rndis_host 5-2:1.0: hard mtu 1558 (8192 from dev), rx buflen 16384, align 8
Dec 26 12:38:52 <rmrfchik>	rndis_host 5-2:1.0: rndis response error, code 1
Dec 26 12:38:52 <rmrfchik>	rndis_host 5-2:1.0: rndis response error, code 1
Dec 26 12:38:54 <rmrfchik>	rndis_host 5-2:1.0: rndis response error, code 1
Dec 26 12:38:58 <rmrfchik>	rndis_host 5-2:1.0: rndis response error, code 1
Dec 26 12:39:00 <rmrfchik>	rndis_host 5-2:1.0: rndis response error, code 1
Dec 26 12:39:02 <rmrfchik>	rndis_host 5-2:1.0: rndis response error, code 1
Dec 26 12:39:05 <rmrfchik>	rndis_host 5-2:1.0: rndis response error, code 1
Dec 26 12:39:06 <rmrfchik>	rndis_host 5-2:1.0: rndis response error, code 1
Dec 26 12:39:08 <rmrfchik>	rndis_host 5-2:1.0: rndis response error, code 1
Dec 26 12:39:10 <rmrfchik>	rndis_host 5-2:1.0: rndis response error, code 1
Dec 26 12:39:14 <rmrfchik>	rndis_host 5-2:1.0: rndis response timeout
Dec 26 12:39:17 <rmrfchik>	rndis_host 5-2:1.0: RNDIS_MSG_QUERY(0x01010101) failed, -110
Dec 26 12:39:20 <rmrfchik>	rndis_host: probe of 5-2:1.0 failed with error -110
Dec 26 12:39:22 <rmrfchik>	usbcore: registered new driver rndis_host
Dec 26 12:39:24 <rmrfchik>	stop crying... here is the FULL log ;)
Dec 26 12:39:58 <rmrfchik>	you can broke you laptop by drops. how you will help me in this case? so, stop crying ;)
Dec 26 12:40:10 <Jc2k>	rmrfchik: hehe :)
Dec 26 12:40:21 <Jc2k>	yep, it's exactly the same error as thekix, but why!!?
Dec 26 12:40:28 <Jc2k>	where is the error from line 511
Dec 26 12:41:42 <rmrfchik>	hmm.. dunno
Dec 26 12:43:17 <Jc2k>	my thoughts exactly :D
Dec 26 12:43:21 <thekix-web2>	I have the same problem with my ipaq
Dec 26 12:43:39 <thekix-web2>	why? why?
Dec 26 12:43:39 <thekix-web2>	:-)
Dec 26 12:43:43 <Jc2k>	lol
Dec 26 12:43:45 <Jc2k>	i jsut said
Dec 26 12:43:55 <Jc2k>	rmrfchik did have a different but similar error
Dec 26 12:44:01 <Jc2k>	now it has morphed in to yours :(
Dec 26 12:44:07 *	Jc2k cries again
Dec 26 12:45:05 <rmrfchik>	ok, I've added dev_err(&intf->dev," RNDIS init ok\n"); to line 519 and got
Dec 26 12:45:10 <rmrfchik>	usbcore: registered new driver cdc_ether
Dec 26 12:45:11 <rmrfchik>	rndis_host 5-2:1.0:  RNDIS init ok
Dec 26 12:45:23 <rmrfchik>	so, Init actually took place
Dec 26 12:45:32 <Jc2k>	well.. perplexing! :-)
Dec 26 12:46:24 <Jc2k>	my instinct (which isn't a great tool to be falling back on :-)) makes me think that the only way we could be "fixing" anything by turning on debug is if its a pretty naff timing issue
Dec 26 12:46:28 <Jc2k>	two cases
Dec 26 12:46:54 <Jc2k>	one, its pretty damned random and if you rebooted and tried again you could get either error
Dec 26 12:47:28 <Jc2k>	two, the extra debugs somehow changed the time those few extra cycles enough to let it get further xD
Dec 26 12:49:01 <rmrfchik>	hmm. sleep(1)? ;)
Dec 26 12:53:16 <Jc2k>	hehe
Dec 26 13:11:58 <thekix-web2>	more ideas¿?
Dec 26 13:24:21 *	thekix-web has quit ("CGI:IRC (Session timeout)")
Dec 26 13:29:39 <rmrfchik>	am i correct --- main idea is to increase timeout?
Dec 26 13:32:47 <rmrfchik>	50 retries and msleep(20) won't help
Dec 26 13:34:11 <Jc2k>	rmrfchik: i think its a lost cause until we can pick oleavr's brain :(
Dec 26 13:51:39 <thekix-web2>	time to go home
Dec 26 13:51:48 <thekix-web2>	bye, I am trying things
Dec 26 13:51:54 <thekix-web2>	:-)
Dec 26 13:51:59 *	thekix-web2 has quit ("CGI:IRC 0.5.4 (2004/01/29)")
Dec 26 14:00:58 *	oleavr (n=oleavr@177.81-167-82.customer.lyse.net) has joined #SynCE
Dec 26 14:01:30 <rmrfchik>	oleavr: wake up. wake up. wake up and dance
Dec 26 14:04:02 <Jc2k>	lol :-)
Dec 26 14:04:20 <Jc2k>	oleavr: hows it going :)
Dec 26 14:06:40 <oleavr>	rmrfchik: lol
Dec 26 14:06:48 <oleavr>	Jc2k: I'm in a "boring" family thingy
Dec 26 14:06:58 <oleavr>	so I'm hacking on a python DTPT implementation
Dec 26 14:07:09 <rmrfchik>	let's hack rndis!
Dec 26 14:07:16 <Jc2k>	oleavr: nice :P
Dec 26 14:07:36 <Jc2k>	rmrfchik: you can't make him choose rndis over a family thing! :D
Dec 26 14:07:46 <Jc2k>	*cough*
Dec 26 14:07:58 <rmrfchik>	but I can make him chose over python thing!
Dec 26 14:09:03 <rmrfchik>	i hope, at least
Dec 26 14:09:23 <Jc2k>	nah, i doubt it =p
Dec 26 14:09:51 <rmrfchik>	time to cry for me
Dec 26 14:16:35 *	Jc2k begins to leak all over his keyboard
Dec 26 14:18:46 *	alsuren has quit (Remote closed the connection)
Dec 26 14:26:26 <rmrfchik>	where r u from?
Dec 26 14:33:09 <Jc2k>	rmrfchik: i am from sunny england
Dec 26 14:35:58 <rmrfchik>	russia here
Dec 26 14:36:21 <Jc2k>	so when i say i'm cold i won't get much sympathy :)?
Dec 26 14:39:36 <rmrfchik>	why? no problem. (or I just don't get the joke :)
Dec 26 14:50:33 <Jc2k>	my bad joke =)
Dec 26 14:50:36 <Jc2k>	got to go
Dec 26 14:50:37 <Jc2k>	ttys
Dec 26 14:50:38 SysTray Integration Plugin unloaded
Dec 26 14:50:38 Tcl interface unloaded
Dec 26 14:50:38 Python interface unloaded
**** ENDING LOGGING AT Tue Dec 26 14:50:38 2006

**** BEGIN LOGGING AT Fri Feb  2 20:39:11 2007

Feb 02 20:39:11 *	Now talking on #synce
Feb 02 20:39:11 *	Topic for #synce is: http://www.engadget.com/2007/01/09/the-apple-iphone/
Feb 02 20:39:11 *	Topic for #synce set by lilalinux at Tue Jan  9 19:11:58 2007
Feb 02 20:42:08 *	dgollub (i=dani@nat/suse/x-22730095ead715cc) has joined #synce
Feb 02 20:42:17 <dgollub>	hi
Feb 02 21:07:51 <Civil>	hi
Feb 02 21:08:10 *	wibbit (n=dfurlong@host-84-9-13-237.bulldogdsl.com) has joined #synce
Feb 02 21:26:57 <Civil>	can anybody help me with my problem?
Feb 02 21:47:02 <Jc2k>	Civil: it depends what your problem is :-)
Feb 02 21:47:33 <Civil>	problem with connecting hp rx1950 using synce...
Feb 02 21:47:56 <Civil>	It creates device around 1 time of 50-60...
Feb 02 21:48:21 <Civil>	dmesg says: rndis response error, code 1
Feb 02 21:48:25 <Civil>	rndis response error, code 1
Feb 02 21:48:38 <Civil>	rndis response timeout
Feb 02 21:48:43 <Civil>	RNDIS_MSG_QUERY(0x01010101) failed, -110
Feb 02 21:49:12 <Civil>	but mpx200 (wm 5.0) connects fine
Feb 02 21:49:44 <Jc2k>	i have seen this problem before, apparently using the usb-rdnis-ng driver is a work around for now
Feb 02 21:50:08 <Civil>	hm... at wiki there is only text about usb-rndis-lite )
Feb 02 21:50:12 <Civil>	wich I'm using now...
Feb 02 21:50:40 <Jc2k>	http://www.synce.org/index.php/Connecting_your_Windows_Mobile_2005_device_via_USB ;-)
Feb 02 21:50:53 <Jc2k>	we purposefully removed the link to it as its really a last resort
Feb 02 21:51:25 <Civil>	thanks )
Feb 02 21:51:38 <Jc2k>	you only need to do down to compile and install 
Feb 02 21:52:03 <Jc2k>	everything after "using the driver without hal" won't apply to you
Feb 02 21:56:53 <Civil>	hm... ./autogen.sh && ./configure --enable-hal && mkae && make install and after that it must work?
Feb 02 21:57:45 <Jc2k>	it may work :) hehe
Feb 02 21:58:01 <Jc2k>	make sure you phone is unplugged before you start
Feb 02 21:58:20 <Civil>	it's pda ) phone works, but pda doesn't )
Feb 02 21:59:08 <Jc2k>	its because i have a phone, so i forget there are even pdas out there xD
Feb 02 21:59:16 <Civil>	)))
Feb 02 22:02:41 <Civil>	civil-gentoo civil # usb-rndis-driver
Feb 02 22:02:41 <Civil>	scanning for a USB RNDIS device
Feb 02 22:02:41 <Civil>	doing rndis_init
Feb 02 22:02:41 <Civil>	short read, read 1 out of 16
Feb 02 22:03:19 <Jc2k>	is that all it says?
Feb 02 22:03:23 <Civil>	yes
Feb 02 22:03:32 <Jc2k>	then your out of luck :X
Feb 02 22:03:58 <Jc2k>	the best i can suggest right now is posting both errors to the mailing list
Feb 02 22:04:19 <Jc2k>	hopefully Oleavr or Richard might be able to offer you some patches to try
Feb 02 22:07:31 <Civil>	and where is mailing list? ) I can't find link to it
Feb 02 22:07:54 <Civil>	sory
Feb 02 22:07:58 <Civil>	*sorry. found
Feb 02 22:22:55 <Civil>	Jc2k, to send message to mailing list I must sent it to synce-windowsmobile5@lists.sourceforge.net ?
Feb 02 22:23:49 <Jc2k>	civil: yes, i think thats right
Feb 02 22:24:33 <Civil>	PERM_FAILURE: SMTP Error (state 9): 501 <synce-windowsmobile5@lists.sourceforge.net.>: domain missing or malformed )
Feb 02 22:24:54 <Civil>	that's what I've recived...
Feb 02 22:25:08 *	foobaresa (n=fooesa@71-35-153-163.tukw.qwest.net) has joined #synce
Feb 02 22:25:16 <Jc2k>	<synce-windowsmobile5@lists.sourceforge.net.> i could be wrong, but it looks like there is a trailing . ?
Feb 02 22:25:42 <Civil>	https://lists.sourceforge.net/lists/listinfo/synce-windowsmobile5:
Feb 02 22:25:47 <Civil>	To post a message to all the list members, send email to synce-windowsmobile5@lists.sourceforge.net.
Feb 02 22:26:12 <Jc2k>	synce-windowsmobile5@lists.sourceforge.net 
Feb 02 22:26:24 <Civil>	ups...
**** ENDING LOGGING AT Fri Feb  2 22:51:56 2007