-
ptribble
Anyone have access to a Solaris 11.4 system? What I'm after are the values of AV_HW1_IDX and AV_HW2_IDX, defined in /usr/include/sys/auxv.h (or possibly /usr/include/sys/auxv_SPARC.h)
-
richlowe
if they're indices, probably 0 and 1.
-
richlowe
hopefully alanc or someone can check
-
richlowe
oh, peter isn't here anymore
-
richlowe
that's a shame, I was wondering what could possibly be consuming that.
-
alanc
oh, I missed his earlier question
-
alanc
#define AV_HW1_IDX 0
-
alanc
#define AV_HW2_IDX 1
-
alanc
#define AV_HW3_IDX 2
-
richlowe
yeah, they're indices used with getisax so they're 0, 1, etc.
-
richlowe
oh, you beat me to it. thanks alan.
-
richlowe
getisax annoyed me recently
-
alanc
yeah, I'd have thought the mapping of individual bits to each index in /usr/include/sys/auxv_SPARC.h would be the more interesting part
-
alanc
(right now, nothing on SPARC is in HW3 - we had to add that for Intel)
-
richlowe
I'm going to hit HW3 on arm conceptually soon
-
alanc
and with HW3 already using 24 of 32 bits, may need HW4 in the future
-
richlowe
intel already did.
-
richlowe
alanc: see msg for '32 bits' I'm so annoyed by that choice.
-
alanc
I would have thought ptribble knew the trick to getting files out of pkg.oracle.com by looking up their hash in the pkg manifest
-
gitomat
[illumos-gate] 15471 replace csh based which(1) with implementation in C from BSD -- Dominik Hassler <hadfl⊙oo>
-
danmcd
Thanks hadfl
-
tsoome
nice:)
-
richlowe
andyf: I have no idea what my gerrit +1 did to say "This change is ready for review", but if I accidentally kicked it out of draft, I'm sorry.
-
andyf
Thanks, I forgot to undraft it
-
richlowe
ok, well I'm sorry, but also you're welcome
-
richlowe
we can trade
-
yuripv
just looking at the 15471 change (post-push), we no longer need the .descrip file?
-
richlowe
y'all sure do spend a lot of time reviewing stuff _after_ it integrates sometimes.
-
andyf
fenix help me with links to issue 15471 please
-
fenix
FEATURE 15471: replace csh based which(1) with implementation in C from BSD (Closed)
-
fenix
-
yuripv
richlowe: :D
-
andyf
The THIRDPARTYLICENSE.descrip? I think they're necessary
-
yuripv
andyf: yep, that's what i meant
-
andyf
The usr/src/pkg/Makefile processes them, so it's still needed
-
richlowe
I think yuri is saying it went missing
-
andyf
The change updated THIRDPARTYLICENSE but the existing .descrip was fine
-
yuripv
ah ok!
-
yuripv
(sorry, just looking at the list of the files and didn't notice it's "M" and not "A" for thirdpartylicense)
-
andyf
np, I misunderstood what you were asking too
-
jbk
rmustacc: have you seen with ixgbe where when you create a vnic, the vnic gets multiple TX rings, but only a single RX ring (which obviously can have performance implications)
-
jbk
is that something known?
-
rmustacc
I don't know about this particular situation, but there are a limit on the number of groups that exist.
-
rmustacc
A mac client would be assigned a group with some number of rings.
-
rmustacc
s/client/device
-
Guest2274
I have an old (and still working!) Sun Fire X4500 that hangs while booting modern versions of SmartOS. I narrowed the issue down to the change from 20210729T002724Z, which boots & runs, to 20210812T031946Z which hangs during boot. The 20210812T031946Z release includes the Illumos update where the TSC calibration was moved earlier in the boot
-
Guest2274
process:
illumos.org/issues/13354. I'm not sure if that's a red herring or not. When it hangs, I'm unable to get back to kmdb using F1-A / Shift-Pause or using an NMI. I've roughly narrowed it down to a call to do_bsys_doint during startup:
-
Guest2274
fffffffffbc8a140 do_bsys_doint()
-
Guest2274
fffffffffbc8a1a0 read_firstblock+0x46(80)
-
fenix
→
BUG 13354: illumos should calibrate the TSC earlier in the boot process. (Closed) |
code.illumos.org/c/illumos-gate/+/1097
-
Guest2274
fffffffffbc8a1f0 startup_bios_disk+0x82()
-
Guest2274
fffffffffbc8a220 impl_setup_ddi+0x175()
-
Guest2274
fffffffffbc8a230 create_devinfo_tree+0xaf()
-
Guest2274
fffffffffbc8a240 setup_ddi+0x13()
-
Guest2274
fffffffffbc8a2c0 startup_modules+0xec()
-
Guest2274
fffffffffbc8a2d0 startup+0x5a()
-
Guest2274
fffffffffbc8a310 main+0x36()
-
Guest2274
fffffffffbc8a320 _locore_start+0x90()
-
Guest2274
Is this the appropriate place to ask for help with continuing to debug this issue, or would the Illumos developer list be more appropriate?
-
richlowe
Both really, but perhaps at this time of day the mailing list.
-
Guest2274
Thanks! I'll join & post to the mailing list.
-
jbk
there is the prom_debug you can enable
-
jbk
that + verbose boot should show all of the TSC calibration stuff
-
jbk
IIRC, it also will show the value, so you can see if it's sane or not
-
Guest2274
Yes, I have prom_debug set and it gets past startup_tsc() in startup.c. It reports "TSC calibrated using PIT; freq is 2791 MHz" which sounds good. It's got two Dual Core AMD Opteron(tm) Processor 290's running at 2.8 GHz.
-
Guest2274
It's very similar if not the same to the following post from last year:
illumos.topicbox.com/groups/omnios-discuss/T2d6ff4b7ea30bb00
-
jbk
if you can boot a DEBUG build, there's also the biosdebug tunable
-
jbk
from your stacktrace, it's calling read_firstblock()
-
Guest2274
I haven't tried that!
-
jbk
there's nothing obvious to link the two that i'm aware of.. the only thing as far as the PIT code is concerned is it does add an additional test to try to tell if the PIT is operational
-
Guest2274
yeah, that's where it's trying to read sectors from the first hard drive. The system boots via the network using ipxe, and has four network ports and then an external usb drive as boot options.
-
jbk
since there are some systems now that don't have PITs, and there's (AFAIK) no way to actually tell other than 'try it, and assume busy-waiting by some amount should be long enough to see the counter value read from it change if it's working'
-
Guest2274
Can you send me pointers on getting or building a DEBUG build? My thoughts where weird TSC issue, bios bug, or some bios configuration error.
-
jbk
danmcd might have one handy..
-
jbk
have you built smartos before?
-
Guest2274
No I haven't but I'm more than willing to give it a try. I'm pretty sure I've seen the documentation online on building it.
-
jbk
-
nomad
Here I thought I was the last person using thumpers. (I have 5 in production)
-
jbk
for a DEBUG build, you run ./configure -d
-
Guest2274
Ha! I also have a Sun Fire X4540 running, bit I haven't tried upgrading it once I ran into my current issue.
-
Guest2274
Thanks, I'm going to try building a debug build either later tonight or tomorrow at work.
-
nomad
oh wait, I only have 3 of the 4540s in prod. The 4500s are halted, DBAN'd, and flagged for surplus.
-
Guest2274
The only other Sun relic I have running is a Sun Fire X4100 M2, but it's currently running linux.
-
nomad
I need to get that through my thick skull.
-
nomad
(I have enough spare parts I could put 3 more 4540s in prod but they're officially 'parts only' so $PI doesn't Get Any Ideas)
-
Guest2274
Actually, the X4540 is connected to a Sun Storage J4400 and using multipathing all running on SmartOs