-
jbk
a question a bit into the weeds, but does anyone know offhand w/ linker sets, what is the specific mechanism that makes the __start_set_<setname> and __stop_set_<setname> symbols appear at the start/end of the section it creates?
-
jbk
or i guess that guarantees that that happens
-
tsoome
jbk linker does. But, depending on build system, linker maps also have a role there (if we are telling which symbols are to be preserved, we most likely want to make sure our sets are preserved).
-
tsoome
-
sskras
Hello. I am trying to buy some SPARC hardware for testing OSes. Thought the kernel devs might offer some insights.
-
sskras
I'm not sure if I should get two T4-1 boxes (for 260 €) with 32 GiB RAM each, or just one M4000 with 64 GiB RAM (for 300€).
-
sskras
M4000 seems to offer 4x less threads/core, but total core count = 16 is the same as in total of two T4-1 machines.
-
sskras
-
ptribble
If you're thinking illumos, it works great on the T4-1 (both Tribblix and OI are fine)
-
ptribble
The M-series have been problematic
-
sskras
ptribble: Thanks. What are the M-series problems, if you please?
-
ptribble
The problem is that it doesn't boot, it gets started and then just hangs, from the couple of people I know who have tried it
-
sskras
Thank you, noted.
-
jbk
if a nic loans up an mblk_t (i.e. uses desballoc()), at some point, it likely needs to wait until all such loaned up mblk_ts have been freed and an expectation that consumers upstack will do this at some point
-
jbk
but should barrier be the XXX_m_stop() routine, or driver detach?
-
rmustacc
jbk: I generally do detach.
-
bahamat
Hey all, anybody who knows about nvme drives, I have a question.
-
bahamat
When I replace an nvme device, usually cfgadm will show it connected/uncofigured, then I can cfgadm -c configure <ap_id>, and from there I can zpool whatever, which feels pretty normal.
-
bahamat
But I've seen a newly inserted device show up in cfgadm as disconnected/uncofigured.
-
bahamat
How do I change it from disconnected/unconfigured to connected/unconfigured so I can configure it?
-
bahamat
Or does anyone have any pointers to where I can look to possibly make some progress?
-
duncan
I don't have any pointers. But isn't the model completely different from SAS/SATA?
-
duncan
E.g. it has DMA, it's reliant on PCI express hotplug working correctly
-
bahamat
Yeah, we've got hotplug enabled.
-
tsoome
-c configure would be the option, but it is another question, if it is actually implemented:)
-
rmustacc
Yes.
-
tsoome
err -c connect
-
rmustacc
No, you want to go straight to configure.
-
rmustacc
bahamat: What's the hardware platform this is on?
-
rmustacc
We put back work that should auto-online PCIe devices like that.
-
bahamat
rmustacc: It's smartos. I think the customer has intel processors, but I'm not 1005 sure.
-
rmustacc
Certainly the NVMe hotplug auto-online is working on our systems and was working on the i86pc systems I tested on.
-
bahamat
Does it matter if it's intel or amd?
-
rmustacc
Somewhat, but only in so far as it changes the bridge settings.
-
bahamat
Yeah, my test system it's working, but the customer is reporting the device is disconnected.
-
rmustacc
What SmartOS release are they on?
-
bahamat
Good question.
-
bahamat
Do you know any relevant bugs that I can refer to to make sure they meet the minimum?
-
rmustacc
Pulling them up.
-
rmustacc
-
fenix
→
BUG 15942: PCIe hotplug insertion does not configure the slot (Closed) |
code.illumos.org/c/illumos-gate/+/3057
-
rmustacc
So first, I'd see if they have that.
-
bahamat
rmustacc: Excellent, that helps. I'll make sure they've got at least that, and then see where we're at.
-
bahamat
That may just be it.
-
rmustacc
Once you have that,a the next thing I would ask for is the bridge config space and specifically its slot capabilities.
-
rmustacc
If it's not that.
-
rmustacc
But what you're describing is the behavior I'd expect without that change present.
-
rmustacc
And you'd need to explicitly issue a cfgadm -c configure.
-
bahamat
How do I figure out the bridge config space and slot capabilities?
-
rmustacc
/usr/lib/pci/pcieadm show-cfgspace will get it. If in doubt, just have them do a save-cfgspace -a and zip that up.
-
bahamat
Awesome. I'll have them do that.
-
gitomat
[illumos-gate] 5798 fexecve() needed per POSIX 2008 -- Andy Fiddaman <illumos⊙fn>
-
neirac
anyone know why when forking illumos-omnios in github, if I want to fork joyent-illumos I cannot ? it says that I already have a fork.
-
andyf_
I imagine it's because they are both already forks of the same thing - illumos-gate
-
andyf_
You can just have multiple branches in the one fork - one for SmartOS and one for OmniOS for example
-
neirac
andyf_ thanks a lot, I'll do that
-
jbk
tsoome: have you seen 'zf_read: fill error' before in loader?
-
jbk
when loading the boot archive (at least the error happens between the message for that and boot_archive.hash)
-
tsoome
zf_read is failure of decompressing gz file -- boot_archive I guess
-
tsoome
our boot archive is gzipped and will be uncompressed in memory
-
jbk
ahh was shitty server firmware that is buggy w/ firefox
-
jbk
rmustacc: (since you probably know) the 'polled' callbacks for keyboard drivers are basically for kmdb and need to work w/o interrupts, correct?
-
rmustacc
I would expect so, yes.
-
rmustacc
Or some other system state.
-
rmustacc
Certainly for the USB part that is true, but there are specific hcdi entry points for that. I don't remember how that looks at the individual driver.
-
rmustacc
Where are you?
-
gitomat
[illumos-gate] 16118 Fix problems with libnwam communication between 32-bit and 64-bit applications -- Carsten Grzemba <cgrzemba⊙oo>
-
neirac
I have a RT5360 Wireless 802.11n 1T/1R, that works with the ral driver when I do the following sudo add_drv -i 'pci1814,5360.1186.3c05.0' ral , at least I dladm show-phys shows it now. here is my prtconf -vp info
termbin.com/2irc
-
jbk
just trying to get some comments correct for the hyper-v 'enlightened' keyboard driver
-
jbk
(at least initially the polled keyboard callbacks are stubs)
-
neirac
what do I need to change to make it attach the card to the driver, without using add_drv -i ?
-
neirac
oh it seems the driver needs updating, just running dladm scan-wifi fails, dladm: cannot scan link 'ral0': operation failed
-
jbk
our 80211 stack probably needs updating as well..
-
jbk
i thought a neat project might be to port it (or just start w/ the freebsd one -- i think that's where ours came from way back, just not updated in forever) and convert it to rust, but ENOTIME
-
jbk
since it's not as critical as other stuff, but the kernel bits have to do lot more with what is basically untrusted data coming off the wire
-
jbk
compared to say an ethernet driver which (at most) _might_ need to read the ethernet header off the wire (and most don't even need to do that -- just pass upstack whatever it gets off the wire)
-
neirac
jbk thanks!, I thought it was just a matter of updating ral to make it work at least with the card I have
-
jbk
i'm not even sure offhand if our stack supports g or n
-
antranigv
rmustacc andyf_ since you guys work with TB of RAM, I was wondering if you've ever tried provisioning a VM with 1TB+ of RAM on illumos? I can have a 1.5TB RAM VM on FreeBSD, but I've been wondering about moving the host to illumos. the VM is ubuntu, btw.