#tyndur · 2010-03-31
93 Nachrichten · Seite 1 von 1 · Original-CSV herunterladen
- kwolfMorning pcmattman
- pcmattmanHi kw
- pcmattmaner
- pcmattmankwolf:
- kwolfIs the v2 of the e1000 patch still on your list?
- pcmattmanI've completely forgotten what I was going to do in v2 unfortunately
- kwolfDon't you have IRC logs?
- kwolfOr just take this one: http://irc.tyndur.org/index.php?pageSize=1000&channelId=4
- kwolfOf course, if you are busy with other things, there is no need to hurry. I just want to avoid to drop the patch because everyone forgets about it.
- pcmattmanI have been using the e1000 quite extensively in VirtualBox at work and haven't run into any issues with it there
- kwolfOn real hardware, too?
- pcmattmanI haven't yet had a chance to try real hardware
- kwolfOk. A working driver in VBox is nice progress for itself anyway.
- JarvixHi
- kwolfHi Jarvix
- Jarvixhi
- eddybXanClic: do you happen to know anything about usb master storage?
- XanClicUnless you mean mass storage, no
- eddyb*mass
- XanClicThen I do ;-9
- XanClics/9/)/
- eddybi don't know why i say master XD
- eddybi've got my driver read some sectors
- eddybbut
- eddybi found out that there are some not-so-predictable failures
- eddybas in
- XanClicWell, my drivers (CB/CBI and bulk-only) only work on emulators (but there also with real hardware)
- eddybi'm talking about qemu(bulk/SCSI)
- XanClicOn completely real hardware (also real HC) I'm unable to read sectors
- XanClicok
- XanClicHm, I guess I never had any problems with qemu's mass storage devices
- eddybi do CBW out packet(endpoint 2), then i do an in to read the data and another for CSW(endpoint 1)
- XanClicShould be correct
- eddybfrom time to time, i got the IN packet deferred
- XanClicStalled?
- eddybit seems to be internal
- XanClicWell, an NAK wouldn't stop the transfer...
- eddybi mean i don't get an irq
- eddybit simply retries (i think) the packet later
- XanClicSounds like an NAK
- XanClicAnd that would be completely fine
- XanClicDid you check the status field?
- eddybyou don't get me
- eddybinside qemu
- XanClicYes
- eddybusb_msd_handle_data is called twice
- eddybbefore i get an irq
- eddybwell, i think it's something normal
- XanClicWell, all I can say is that I have no problems with that *g*
- eddybexcept for teh fact that it sets mode to CSW
- XanClicThe only thing was that qemu's bulk-only devices didn't handle the class-specific control requests correctly
- eddyband that makes no sense
- eddybif (s->data_len == 0) s->mode = USB_MSDM_CSW;
- eddybs->usb_len = 0;
- eddybso usb_len gets set to 0, while mode may be not set to CSW
- eddyb(inside an if statement)
- eddybthen if (s->usb_len) deffer packet
- eddybit simply shouldn't get there :|
- XanClicWell, have you tried the qemu mailing list? *g*
- XanClicI think I could help you only if I experienced the same problem, but I didn't
- eddybhmm
- eddybokey, i'll try with stable qemu
- eddybmaybe it's the same problem with the HID not NAKing when not having changed data(aka new kepress) in qemu git
- eddybthis is strange
- eddybreinstalling qemu did absolutely nothing :|
- eddybfunny, it still happens with stable qemu...
- eddybalso, it happens mostly on sectors 63 and 64
- eddybXanClic: any code I can check out?
- XanClicMy USB code?
- XanClicWell, if you're brave enough *g*
- eddybmass storage
- XanClichttp://gitorious.org/paloxena/kernel3/blobs/master/src/kernel/drivers/usb-device/msd-cbi.c <— CBI
- XanClichttp://gitorious.org/paloxena/kernel3/blobs/master/src/kernel/drivers/usb-device/msd-bo.c <— Bulk-only
- eddybwhat's CBI?
- XanClicControl/Bulk/Interrupt
- eddybah
- XanClicThough I don't use the interrupt part *g*
- XanClichttp://gitorious.org/paloxena/kernel3/blobs/master/src/kernel/drivers/bus/scsi.c <— and my SCSI code
- eddybusb_bulk_transfer is sync?
- eddybah, and what's tag for?
- eddybi set it to 0
- XanClicYou may use it on your own
- XanClicI set it to 42
- XanClicI guess it's used to see if the CSW goes with the CBW or anything like that
- eddybi think i see
- eddybthe data arrives just after the packet get deferred, but before the handler function returns...
- eddybqemu code it's a big load of mess
- eddybis there any way i can get to talk so some qemu developer(s) ?
- XanClicYes
- XanClickwolf is one ;-)
- eddybbecause i know way too less about the code to start digging myself
- eddybsilly me XD
- eddybsadly, he's not around :(