log☇︎
39400+ entries in 0.007s
asciilifeform: phunphakt : the slot connectors are still made.
asciilifeform: ( it wants 5v, which is a bitch, but not particularly hard to levelshift )
asciilifeform: mircea_popescu: so happens i have a seekrit draft of ice40+isa toy
asciilifeform: mircea_popescu: metoo, soundblaster64gold 4evah
asciilifeform: ( isa was a joy to interface, dun even need fpga, 3-4 ttl chips and you're cooking )
asciilifeform: it'dve made an ideal isa card, lol
asciilifeform: 'can't have nice things'(tm)(r)
asciilifeform: ( not even sure it'd fit on an ice40 )
asciilifeform: mircea_popescu: the only board holes in current boxen are pcie, and that's megatonne of stateful logic
asciilifeform: ( there's no reasonable way to connect it to pc , currently )
asciilifeform: incidentally , lack of a sane usb2 chipset is what's holding up the lyso crystal super-FG item
asciilifeform: imho at the very least usb jacks oughta default to 1, and if really needs the uglyhax of 2/3 should have to manually trigger. rather than the current sad.
asciilifeform: ( bad enuff that i only even have usb2, not 3, on dulap, and it takes 3hrs )
asciilifeform: i ain't waiting 3 wks to reimage a motherfuckign 64GB stick.
asciilifeform: if somebody absolutely positively MUST buffer his FG, because, idk, he's generating a icbm launch key and wants to xorlemma 8 weeks of entropy into 4096b, oughta do it ~in his proggy~ imho.
asciilifeform: there's likewise a reason i did not publish a 'demon' to go with FG. ideally random bitz oughta live the shortest possible life, and walk shortest possible path from point of birth to use.
asciilifeform: ( erry heathen rng i know of , includes... )
asciilifeform: mircea_popescu: observe that i did not put a ram buffer in FG (aside from the 16bit debias/accumulator ) , it was not happenstance.
asciilifeform: mircea_popescu: eat the l0g...
asciilifeform: ( i won't dignify 'esata' with a mention, it is flaky in asciilifeform's experience, and not really usable on racked boxen )
asciilifeform: for all the usb2/3 suckage, it sadly remains the only means to connect fast external disks to pc.
asciilifeform: really a sed/awk 1liner
asciilifeform: ( if diana_coman wants to take a crack at this, worx, otherwise asciilifeform will do it later this wk )
asciilifeform: diana_coman: re usb1 forcing, i was thinking the proper pill might be to write a shell thing that parses output of lsusb -t and does the correct magics ; rather than modded kernel
asciilifeform: diana_coman: problem dun seem to exist on my desk rockchip. ( and in the end we'll move the rk FGs over to the convenient built-in TTL serialports )
asciilifeform: one type of existing machine where we can't afford to lose usb3 is the rockchip, it would be quite unusable without it ( main disk is solely usb3 )
asciilifeform: diana_coman: 'nexts' wouldn't affect the existing iron tho.
asciilifeform: iirc ehci == usb2 , xhci == usb3
asciilifeform: ( 3 by implication also )
asciilifeform: err, usb2
asciilifeform: ( i can't afford it on dulap, because it also doubles as reimaging station for rockchippen , but s.mg prolly can safely say goodbye to usb3 ) ☟︎
asciilifeform: diana_coman: on server ? can't think of any, aside from 'backups to/from external drives'
asciilifeform: building a kernel without xhci would almost certainly do the job tho ☟︎
asciilifeform: diana_coman: seems that you're right re the flag, it is specific to a nonstandard kernel
asciilifeform: BingoBoingo: from other fishwraps, re qntra, 'The grandson said they’re not selling guns, but reported that two men recently knocked on the door asking if they had gun parts or body armor. Hanabarger reportedly said “no” and showed them inside a storage container. But now they’re wondering if there’s a connection between those men and Tuesday’s raid.'
asciilifeform: diana_coman: afaik that's the only reliable way, usb bus numbering isn't iirc stable across boots
asciilifeform: diana_coman: you'll probably want to make it happen on boot.
asciilifeform: aaha so cuntoo
asciilifeform: diana_coman: interestingly, in my (conventional gentoo) userland, worked as posted ( i.e. with the newline )
asciilifeform: incidentally, there is also a potential iron cure, currently FG at pizarro are attached to miniature usb2 hubs. ( asciilifeform was not able to source pure usb1 hubs, but potentially these exist somewhere. )
asciilifeform: diana_coman, mircea_popescu lemme know if the given cure, is curative. ( no change to diana_coman's coad is needed )
asciilifeform: diana_coman: usb1 switchover also confirmed to cure log barfola.
asciilifeform: thing eats 8ma, could easily run off, e.g., solar cell in a well-lit room.
asciilifeform: FG is transmit-only. there is literally nothing the attached pc can do ~to~ it, other than cycle the +5 supply ( and even this, strictly if the +5 supply is tied to the pc's )
asciilifeform: usb is evil in 9000 ways. not only the ridiculous complexity, which makes it impractical to use with ~simple~ microcontrollers, msdos boxen, etc. but also the fact that it is impossible to make a ~transmit only~ (or , for that matter, receive-only) usb device, they are mandatorily stateful. which is the fundamental reason why asciilifeform refused to put a usb chip on FG proper.
asciilifeform: usb is a massive cistern of liquishit, with all kinds of corner-case breakages, see also http://btcbase.org/log/2014-02-21#520765 . it Must Die. ☝︎
asciilifeform: ( i've yet to find ~one~ pc board, of any vintage, with ttl ports )
asciilifeform: pc is the hardcore tard reservation.
asciilifeform: mircea_popescu: fwiw rockchip and similar boards actually include several ttl-level serial ports.
asciilifeform: mircea_popescu: there is sometimes 1 or even 2 rs232 ports , but they go at -12v/+12v , and needs level shifter, which in turn oscillates, and potentially pollutes rng
asciilifeform: mircea_popescu: there's no ttl serial on pc mobo
asciilifeform: fwiw asciilifeform's official FG tester rig runs always in this mode.
asciilifeform: ( the above is == to the 'Tip for Linux Users' item in http://nosuchlabs.com/hardware.html , which i listed as workaround for 'more than 3 pl2303' infamous bugola )
asciilifeform: diana_coman ^
asciilifeform: ( forcing 12MB/s usb1 speed has no effect on FG performance, even 10 FG on 1 jack falls considerably below the max usb1 rate )
asciilifeform: dozen runs of diana_coman's test all work
asciilifeform: http://p.bvulpes.com/pastes/xAQ4U/?raw=true << manual example , testable without rebooting kernel
asciilifeform: ok confirmed, forcing usb1 cures
asciilifeform: dwc_otg.speed=1 on kernel param line.
asciilifeform: ( not tried yet )
asciilifeform: supposedly, forcing usb1 speed for whole jack, curative
asciilifeform: ( https://archive.is/sYqkk for dedicated entomologist )
asciilifeform: bug may very well be an interaction with upstream linux usb subsys
asciilifeform: 'usb_serial_generic_read_bulk_callback - urb stopped: -32' specifically, reported also for other usb2ttl chipsets, incl ftdi
asciilifeform: # CONFIG_USB_SERIAL_OPTION is not set
asciilifeform: dulap ~ # zcat /proc/config.gz | grep CONFIG_USB_SERIAL_OPTION
asciilifeform: ( at least dulap kernel -- does not )
asciilifeform: mircea_popescu: we dun have this item to begin with
asciilifeform: diana_coman: the line_request one is sporadic ( erry dozen or so runs )
asciilifeform: 'most people are just going to go with a cheaper & higher performance alternative' dontchaknow.
asciilifeform: but not holding breath.
asciilifeform: d00d could 'productive' any fucking time he feels like it.
asciilifeform: mod6: lol, 'productive things'
asciilifeform: diana_coman: do you observe same on your box ?
asciilifeform: [8621835.463377] pl2303 ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32
asciilifeform: [8621835.122919] pl2303 ttyUSB0: pl2303_set_line_request - failed: -32
asciilifeform: [8621835.122044] pl2303 ttyUSB0: pl2303_get_line_request - failed: -110
asciilifeform: btw, diana_coman , mircea_popescu , there's visible sys log barf from pl2303 when operating diana_coman's test :
asciilifeform: i'ma let mircea_popescu say, whether Right Thing is to start with (2) and proceed to (1), or straight to (1) .
asciilifeform: 2 possible tacks -- 1) kill, with flamethrower, 'new api' 2) FG opened once per machine boot and left running into buffer ☟︎
asciilifeform: confirms my earlier suspicion tho.
asciilifeform: the given 'solution' is absolutely prohibited for FG, tho, it ~must~ operate as blocking read
asciilifeform: ^ suggests shitgnomery
asciilifeform: 'HANG' we are seeing'
asciilifeform: 'After much researching it seems this is NOT a driver bug but a CHANGE in the kernel Serial API semantics. What has happened is that the API now blocks when a Serial device is not indicating it is ready. This included 'open' on a serial device which now can block. Since lots of RS232 serial devices do not bother with any control signals such as DCD (data carrier detect) they never indicate they are ready and open blocks. This is the ☟︎
asciilifeform: diana_coman: further pl2303 mod lulz, https://archive.is/CefaN
asciilifeform: diana_coman: i confirmed ( coupla dozen shots ) hang only ever takes place on 1st read() after open().
asciilifeform: )
asciilifeform: diana_coman: lulzily, turns out that our horror show is not unknown, https://archive.fo/kRfZy ( spoiler: none of the proposed pills, have any effect
asciilifeform back
asciilifeform brb,teatime
asciilifeform: i ~would~ prefer a sanely-behaving OS. unfortunately i dun have one up my sleeve.
asciilifeform: the ideal ugly-an'-reliable pill is prolly a demon that reads both FG 24/7 and alarms if rate is substantially below rated
asciilifeform: ( oughta log the timeouts )
asciilifeform: diana_coman: i'ma have to do a detailed dig in re the linux tty thing. but this could take a while, and no guarantee of finding culprit in the 100s of MB of open sores liquishit. so you will need the buffer+timeout thing, i suspect.
asciilifeform: ( observe, if tty ~does~ successfully open, can read 4evah, i had one dd going for 6 months without problem )
asciilifeform: possibly asciilifeform is doomed to write the FG-reading daemon after all.
asciilifeform: no other device does the random ~rate~ thing.
asciilifeform: note that FG outputs not only random bytes, but at random ~rate~ . currently i wonder if we've unearthed an 'impedence mismatch' in linux tty.
asciilifeform: ( the former, ctrl-c'd )