-
kathe
hello everybody. :)
-
tsoome
hi
-
Agnar
moin
-
neirac
rmustacc we both typed the pci id wrong, I tried dtrace but nothing useful, then read max brunning tutorial on drivers so I started all the way back and checked prtconf -vp for the id and realized we had it wrong !, just tried update_drv -a -I pci1af4,1000.0' and now there is nic on the vm on oracle cloud, I'll re-create the smartos image with that to see if the smartos installer finishes
-
neirac
rmustacc just tried now the nic works takes the dhcp from oracle cloud and ping works, seems we just needed the alias to make it work and bypass pit
-
neirac
rmustacc oh, seems disks are missing
-
danmcd
neirac: Is this vioscsi'
-
danmcd
smartos.org/bugview/OS-8418 hasn't yet been integrated. I can literally build it.
-
danmcd
Oooh and is pci1af4,1000 needed as well for vioif?
-
danmcd
(I'm literally about to build the vioscsi right now. I can add the pci1af4,1000 for vioif too if you wish. I can have an ISO for you in 75mins.)
-
danmcd
@neirac ^^^
-
neirac
danmcd yes, it seems its viosci but when I tried update_drv -a -I pci1af4,1000 I got a kernel panic
-
danmcd
Wait... pci1af4,1000 isn't vioscsi.
-
danmcd
vioscsi "pci1af4,1004"
-
danmcd
Does vioif ALSO have pci1af4,1000 in addition to pci1af4,1 ?
-
neirac
-
neirac
Oooh my mistake I used 1000 that was vioif again instead of 1100
-
danmcd
Well, the panic is probably in need of fixing.
-
danmcd
I'm about to build a fix for OS-8418 (the lack of vioscsi in SMartOS). I'll include the pci1af4,1000 fix as well?
-
danmcd
I'll have an ISO ready in 75mins or less. Want this?
-
neirac
Oh no the vioif was 1000 , I used 1100 for viosci
-
neirac
Vioif works viosci panics , I don't have the dump as I cannot install smartos yet due the lack of nic and disk
-
danmcd
Is 1100 what your prtconf is seeing? I thought vioscsi is 1004.
-
neirac
danmcd let me check again on the vm
-
danmcd
I'm going to fire off this build with vioscsi fix AND your additional vioif PCI ID.
-
neirac
danmcd thank you very much, my build take longer that 75 minutes oh, there is a thing I was hardcoding pit_is_broken=1 to allow boot using hpet on my images
-
danmcd
Oh shit... need that too?
-
neirac
Yes, pit get stuck so we need to bypass it, if I do a git pull now from smartos live, should I get the fixes for vioif and vioscsi ?
-
danmcd
No.
-
danmcd
Still under review. Really want it in before this WEd's branch however.
-
danmcd
If you can bringup vioscsi on with what I"m building that'd be an excellent testing data point.
-
neirac
Ok, I'll use your image I just use kmdb again to set pit_is_broken to 1
-
danmcd
Oh I hardcoded it in, I think, but you can check with kmdb.
-
danmcd
You want an ISO right?
-
neirac
Yes, an iso please
-
danmcd
I'll have it (or whatever deliverable you need) on kebe.com for download.
-
danmcd
Watch here for the URL.
-
neirac
Ok, thanks for your help!
-
neirac
danmcd the platform iso works perfectly now vioif and vioscsi works just have problems installing smartos
-
pmooney
tsoome: question regarding 15162 - would it be unreasonable to ask for a wsdiff of the binaries compiled from the updated rpcgen output against those from stock bits?
-
richlowe
I don't think it's unreasonable, but it might be noisy regardless
-
pmooney
may or may not be
-
pmooney
if it was quiet, that'd be a nice bit of reassurance
-
richlowe
the more useful thing would be to diff the source, honestly?
-
richlowe
you'd really need both, to be sure
-
pmooney
but we nominally know what the difference in the source should be
-
pmooney
I just want to make sure our blessed compiler(s) aren't making some new weird decision based on that
-
» pmooney shrugs
-
richlowe
yeah, I was just thinking double checking both meant we could work out what any differences were because of (hopefully)
-
richlowe
also I honestly can't tell if you mean "blessed" or "blesséd"
-
richlowe
but I hope it's the latter
-
yuripv
what's the difference?
-
richlowe
colloquially "blessed" as in "having been blessed", "blesséd" an intensifier like a PG rated "fucking".
-
pmooney
oh, I definitely meant the former, haha
-
andyf
Both seem appropriate a lot of the time.
-
andyf
I am about to open some PRs against the blessed ones, coincidentally
-
andyf
Oh, and pmooney, experiments mostly complete, omnios is growing -fforce-omit-frame-pointer
-
richlowe
should I know things about them for merging into mine?
-
andyf
(without the suggested -because-i-do-not-care-about-dtrace-and-mdb suffix)
-
pmooney
andyf: exciting! thanks for picking that up
-
pmooney
I shouldn't have dropped the ball on it like I did
-
richlowe
then probably I do
-
andyf
richlowe - just teaching it that the kernel printf supports h and hh length modifiers
-
richlowe
I hope gcc 10 primary is still ticking a long as time exists for you.
-
richlowe
'cos obviously I'm going to need it _eventually_
-
andyf
Apart from the loader cpuid corruption bug, I'm not aware of any fallout from gcc10 primary, and it's been used for a couple of omnios releases now.
-
andyf
(toomas found and fixed that bug)
-
richlowe
time to switch properly when you have a breather at work?
-
andyf
-
fenix
→
BUG 14948: loader: do_cpuid does corrupt memory when built with gcc 10 (Closed) |
code.illumos.org/c/illumos-gate/+/2332
-
richlowe
ouch
-
andyf
I think everything's pretty much set to switch. I was going to spend some time removing 'static' from a load of tunables to try and enable '-fno-unit-at-a-time', but I'm less convinced that's a good idea
-
andyf
and the transition with the exposed variable lists in IP would make that less fun too
-
Agnar
good evening
-
richlowe
the symbol lists in ip etc, which I think are related to ip instances, are annoying as hell.
-
richlowe
they also change if you adjust the optimization levels of uts for any reason
-
richlowe
so you can't do it temporarily without everything going sideways
-
richlowe
I see the value of it, but I sure wish it could be better controlled, or there was a way to say "but these symbols don't matter", or.
-
andyf
On balance, I think we should just make the switch.
-
richlowe
because it called me out for `rcsid` or something like that, which didn't please me
-
andyf
Oh dear, yes
-
tsoome
pmooney I'll create some wsdiff. hopefully gcc will eat away those default: cases.
-
pmooney
yeah, that's my hope, thanks
-
gitomat
[illumos-gate] 15156 WPTS FSA FileInfo_Query_FileModeInformation -- Gordon Ross <gwr⊙rc>
-
gitomat
[illumos-gate] 15157 WPTS FSA FileInfo_Query_FilePositionInformation -- Gordon Ross <gwr⊙rc>
-
gitomat
[illumos-gate] 15158 WPTS FSA FileInfo_Set_FileBasicInformation_Dir_Negative -- Gordon Ross <gwr⊙rc>
-
tsoome
pmooney only debug info differences. issue updated.
-
richlowe
dwarf or ctf?
-
tsoome
/code/15182/usr/src/lib/libidmap/amd64/pics/idmap_xdr.o
-
tsoome
NOTE: ELF .debug_info difference detected.
-
tsoome
thats what wasdiff report is telling
-
richlowe
oh, I think we all assumed you'd run it on the proto areas
-
richlowe
where dwarf wouldn't be :)
-
richlowe
that's why I was confused, anyway
-
danmcd
@neirac --> you should file a bug for the missing PCI ID for vioif (unless it's a special one for your particular cloud).
-
jclulow
Even if it is a special one
-
jclulow
as long as it doesn't break something else I imagine we would include it
-
richlowe
yeah, bugs are lightweight and free, if something is broken or desirable, file one.
-
richlowe
we don't even have a bot to come through and close them for no reason.
-
richlowe
though I know jclulow loves that feature
-
jclulow
I will burn down any building that contains stale bot
-
tsoome
hm.... my robot is stuck sometimes, I'll keep that in mind.... :P
-
danmcd
So am I on crack or is my filing of
illumos.org/issues/15216 correct in that we need to specify "pci1af4,1000" for vioif as well?
-
fenix
→
BUG 15216: vioif should attach to device 0x1000 also (New)
-
andyf
danmcd - I'm confused, certainly
-
danmcd
neirac today had problems attaching to Oracle Cloud's vioif w/o this modification.
-
andyf
bhyve presents vioif as 1af4,1000 and omnios guests attach ok
-
danmcd
How?
-
richlowe
remember `compatible`
-
andyf
it ends up in the devices tree as name='compatible' type=string items=9
-
andyf
value='pci1af4,1000.1af4.1.0' + 'pci1af4,1000.1af4.1' + 'pci
-
andyf
1af4,1,s' + 'pci1af4,1' + 'pci1af4,1000.0' + 'pci1af4,1000,p' + 'pci1af4,1000' +
-
andyf
'pciclass,020000' + 'pciclass,0200'
-
richlowe
so svid/spid there?
-
danmcd
Ahhh compatiable.
-
andyf
checking with pcieadm
-
danmcd
Some hosts aren't so generous, I'm guessing.
-
richlowe
perhaps oracle's hypervisor doesn't list the full set?
-
andyf
-
danmcd
richlowe: I'll bet it doesn't.
-
andyf
won't paste this time, sorry about that
-
danmcd
It pasted enough.
-
andyf
we should put 0x1000 in though
-
danmcd
I'll submit a gerrit. I want this in this week's SmartOS (and will do so regardless of upstream acceptance).
-
jclulow
If it works I'll approve it lol
-
danmcd
neirac already tested it for me as part of his headbanging against Oracle Cloud.
-
richlowe
it'd be nice to see pcieadm prtconf etc from the system
-
richlowe
just to see what they're doing, and get it written down
-
danmcd
-
fenix
→ CODE REVIEW 2535: 15216 vioif should attach to device 0x1000 also (NEW) |
illumos.org/issues/15216
-
sjorge
do tou
-
sjorge
oops, focus issues
-
rmustacc
Yeah, this is a case where we may want to be explicit about using the primary versus subsystem IDs.
-
andyf
I'm on a linux box in Oracle's cloud, and trying to make lspci show me all the IDs..
-
andyf
-
andyf
@rmustacc - are you suggesting alias=pci1af4,1000,p ?
-
rmustacc
I'll need to double check the oasis spec.
-
rmustacc
But in general, when we're adding new pci and not pciex ids, we want to be specific unless binding to the subsystem is correct.
-
rmustacc
It's not for most things.
-
rmustacc
It may be here.
-
rmustacc
-
rmustacc
But then again given that we're relying on the subsystem match for bhyve today, not sure where else we are.
-
rmustacc
So I might only do it for the new ID.
-
andyf
4.1.2.3 is interesting
-
andyf
> Transitional devices MUST have the PCI Subsystem Device ID matching the Virtio Device ID,
-
andyf
which is why bhyve has a the subsystem did of 1, presumably
-
otis
in oracle cloud in freebsd image, network is vendor=0x1af4 device=0x1041 subvendor=0x108e subdevice=0x1100
-
otis
arm64
-
otis
was this an amd64?
-
danmcd
@rmustacc --> please state your ,p suggestion on the advocates list? Also, if you're listening @neirac I'll have to spin a new one for you to confirm/deny on Oracle Cloud.
-
neirac
danmcd I'm going the route to use ipxe there as using dd to write to disk seems to not work on the installer