-
otis
.
-
otis
`.
-
otis
damned. it should have been enter-tilda-^b :-)
-
denk
would you like to tell about your cat walking over the keyboard? :)
-
otis
denk: the only cat i have is /bin/cat :-D
-
» yuripv feels sorry for otis
-
otis
yuripv: but i've got some Big Scary Daemons here. :-)
-
neirac
I was trying to find out why ioctl fails in format I have this
termbin.com/cwif that traces ioctl return values; and the function where it's called
termbin.com/hy6d
-
neirac
but now I'm searching what the return values means for the ioctl, or I'm missing something? . Basically I'm trying to find out why a disk appears as unformatted in oracle cloud.
-
andyf
arg1 should be an errno (arg0 is an offset into the function where the return occured)
-
andyf
So that one that returns 25 is ENOTTY 25 /* Inappropriate ioctl for device */
-
andyf
and scsi_rdwr is returning -1
-
yuripv
that is reading the input though, so unlikely to be interesting
-
yuripv
the only one that makes sense is at the bottom, is in the is_efi_type()
-
neirac
andyf where did you find the ENOTTY value ?, is odd that returns 25 as that scsi_rdwr tries to write 4 bytes to check if the disk is formatted
-
andyf
/usr/include/sys/errno.h
-
andyf
But as yuripv notes, is_efi_type() is returning EIO
-
andyf
Have you tried `format -e` at all and tried to write a fresh EFI label?
-
neirac
andyf with format -e returns the following
termbin.com/z49w3
-
neirac
yuripv I'll check is_efi_type
-
neirac
yuripv is_efi_type returns 0 checking it with dtrace, is that correct for virtioscsi ?
src.illumos.org/source/xref/illumos…md/format/startup.c?r=dcc43656#1796
-
neirac
Here is the output for scsi option in format, maybe someone more knowledgeable sees something strange
termbin.com/ncyob
-
neirac
andyf format -e then label returns Current Disk is unformatted.
-
tsoome
-
tsoome
neirac what device is behind that disk?
-
neirac
tsoome is a virtioscsi AFAIK c1t0d1 <ORACLE-BlockVolume-1.0-46.58GB>
-
tsoome
oh ok, its cloud, so you have no idea what is back end (silly me)
-
tsoome
so, what does format -> format tell?:)
-
neirac
-
tsoome
sort of makes sense.
-
tsoome
that scsi_rdwr() returns -1, but I guess you figured that already
-
neirac
tsoome and is_efi returns 0
-
tsoome
is_efi() only can return 2 values, and if you look into it, you can see the problem there....
-
tsoome
if there was issue with transport, you can not trust the return value from is_efi
-
neirac
tsoome I also tried hardcoding is_efi return value to see how far it got, but I see no changes on the situation
-
tsoome
well of course - if you are getting scsi IO failures, you would need to find out the cause for that first
-
richlowe
danmcd, andyf: apparently apple are rolling out 2023b (staged), and 2023c isn't out yet
-
richlowe
also apparently 2023c makes lebanese daylight savings start on wednesday, not sunday when it originally did, or in april when they tried to.
-
richlowe
so that might be a rush job with little notice _as well_ depending on how the tz people do it
-
danmcd
Officially I'm not rolling out anything until next week Thursday 0000GMT. But good to know Apple is working with 2023b.
-
andyf
Keeps us on our toes!
-
sommerfeld
I was under the impression that 2023c is a rollback to 2023a
-
richlowe
sommerfeld: I thought so too, but I read on the list that what the cabinet actually said was that it starts wednesday now, I didn't know whether eggert was going to keep the few days in the interim for historical purposes
-
richlowe
or if it's all such a mess they aren't bothering.
-
richlowe
I also love both the whackiness of the "maximum of one release a month" person, and the "We can't possibly choose our timezone with more than 4 weeks notice!" replies.
-
alanc
we had already integrated 2023b before we knew about the coming reversion, but won't have the bits shipped for weeks anyway, so it won't matter much
-
richlowe
alanc, sommerfeld: actually, since you're both around and have a lot of historical wisdom: Do you know why we never just put .KEEP_STATE: in Makefile.master?
-
richlowe
does it not do what you'd think through inclusion? is there some place we _intentionally_ don't keep state?
-
sjorge
I don't understand why we all hold to noon has to be 12ish
-
sjorge
One time for everyone and just live at offsets
-
» sjorge crawls back under his blanket
-
richlowe
sjorge: it's because of railways
-
richlowe
before then, noon was when the sun was at its highest locally.
-
richlowe
but once you get railways, you need everyone to basically agree on what time it is, and everything sucks.
-
jclulow
The information super railway
-
richlowe
I have an `sdate` program that shows me _actual_ local time
-
richlowe
but I always forget it by definition leaks my precise location :)
-
jclulow
Ba
-
jclulow
*Ha
-
sommerfeld
richlowe: does it take into account the day-to-day variation in local solar noon over the course of the year, or is it just based on local mean solar time?
-
sjorge
i'm using a rPI2 with 2 GPS' for time fix and one of them has a PPS source 🤓 cant get more better than that without throwing money at it 😅
-
nbjoerg
richlowe: only half of it
-
nbjoerg
sjorge: I would prefer just switching to TAI all the time
-
andyf
I'd just prefer the clocks to go forward at 4pm on a Friday, if they're going to, not 1am on Sunday.
-
richlowe
sommerfeld: I think I did as fully as I could understand the calculations for, but it's been a while
-
richlowe
and now I'm worried it's less precise than it could be!
-
sommerfeld
and 2023c is out...
-
alanc
richlowe: I don't know about .KEEP_STATE
-
sommerfeld
richlowe: oh, sorry, I missed the Q about .KEEP_STATE. Not sure about that, either. Worth an experiment but I wouldn't be surprised if there were unintended consequences (additional build churn or racy behavior in parallel builds)