-
Dotz0cat
I now got to get my wifi working. I got to get my wifi arn0 up in ifconfig. I have plumbed it. and I have tried running ifconfig arn0 up. But it still shows down in dladm. Tommorow's problem I guess.
-
gitomat
[illumos-gate] 15504 ZFS/libshare is too verbose when services are not present -- Andy Fiddaman <illumos⊙fn>
-
gitomat
[illumos-gate] 15500 tgtmap(9) tgt_privp doesn't work as advertised -- Hans Rosenfeld <rosenfeld⊙gho>
-
neirac
is it correct to not see vioblk interrupts ?
termbin.com/wi1m.
-
jbk
do you have any vioblk devices?
-
jbk
I think you should see 'vioblk_int_handler' if any vioblk devices have attached
-
neirac
termbin.com/nml4 that's prtconf -d I thought having vioscsi meant having vioblk
-
jbk
no, they are two different types of devices
-
jbk
vioblk uses its own (simplified) set of commands (read, write, etc) for a storage device
-
jbk
while vioscsi uses the SCSI command set (far, far more complex)
-
neirac
jbk oh ok, thank you!
-
neirac
jbk is it possible to use fixed interrupts for vioscsi ?
termbin.com/16u1
-
jclulow
neirac: MSI-X is really what you want. Why do you need fixed interrupts?
-
neirac
jclulow I was reading this ticket
illumos.org/issues/12015 , trying to find out why trying smartos in oracle cloud fails when writing to the disk(my assumption) as it not possible to create a zpool
-
fenix
→
BUG 12015: vioif with MSI-X not working on Google Compute Engine (Closed)
-
jclulow
I would not assume it is related
-
jclulow
GCE has a totally custom hypervisor thing and it has specific quirks
-
neirac
jclulow ohh, ok. the issue is totally different then. I'll try to troubleshoot more time the disk
-
jclulow
Yeah, I had to do a fair amount of interactive debugging to figure that out
-
jclulow
Which at least was possible because GCE provides a decent serial console!
-
jclulow
Hopefully Oracle cloud does too
-
neirac
jclulow oh yes, I'm in a serial console, I boot through ipxe
-
jclulow
Great
-
neirac
I assume this should work on any disk prtvtoc: /dev/rdsk/c1t0d1s0, but I'm getting this Unable to read Disk geometry errno = 0x5
-
jclulow
It might not work if it hasn't ever been labelled? I can't remember
-
jclulow
Try to give it an EFI label with format -e
-
sommerfeld
neirac: I'm pretty sure that's what you get if there is no label.
-
tsoome
fastest way to create label is zpool create ..; zpool destroy.
-
neirac
tsoome I tried zpool labelclear but failed : failed to open /dev/dsk/c1t0d1s0: I/O error
-
tsoome
not labelclear, create.
-
tsoome
we create disk label with wholedisk setup;)
-
neirac
tsoome zpool create c1t0d1 cannot label 'c1t0d1': try using fdisk(8) and then provide a specific slice
-
tsoome
wot. hm what is device tree for it?
-
tsoome
device path*
-
tsoome
ls -l /dev/dsk/c1t0d1s0 would show you link to /devices tree
-
tsoome
or format will show it in disk list
-
neirac
tsoome lrwxrwxrwx 1 root root 57 Mar 21 13:52 /dev/dsk/c1t0d1s0 -> ../../devices/pci@0,0/pci108e,8@4/iport@iport0/disk@0,1:a
-
tsoome
anyhow, for EFI label, you would need to create 100% EFI partition in fdisk (either run directly or format -> fdisk)
-
tsoome
iport? sas?
-
tsoome
this is vioscsi, I presume.
-
neirac
tsoome yes, is vioscsi
-
tsoome
I'm on thin ice there, but vioscsi does not provide cmlb_tg_ops_t -- I'm not sure if it is supposed to or if there is something else stacked on vioscsi
-
tsoome
cmlb_tg_ops_t will provide callbacks for disk label (cmlb) from block device
-
» nomad checks notes
-
nomad
looks like I've used 'fdisk -B' successfully in the past to add/replace labels on drives before adding them to a zpool.
-
jclulow
err
-
jclulow
fdisk not required?
-
jclulow
format -e will create an EFI label if you ask it
-
nomad
I honestly don't remember why that was a necessary thing, just in my notes that I did it.
-
jclulow
tsoome: sd provides cmlb
-
jclulow
it's SCSI, so vioscsi is just the HBA
-
jclulow
sd is the disk target driver that would sit on top
-
jclulow
Because it's all not working right, I would use format -e on the disk and try to create the label
-
jclulow
and then observe why that isn't working
-
jclulow
Some sytem call like open(), or ioctl(), or even some read()/write() will be failing
-
jclulow
*system
-
tsoome
format has its own quirks.
-
jclulow
It's baroque but it's fine
-
jclulow
It should work here, for this, at least, and if it doesn't, there is a bug
-
tsoome
we have added support for some devices in format in past
-
neirac
ok, I'll try format now
-
jclulow
vioscsi should just be sd disks, though, not a new type
-
neirac
-
jclulow
oof
-
jclulow
Current Disk is unformatted.
-
jclulow
that is ... not ideal haha
-
jclulow
You should figure out why we think that
-
jclulow
this part actually seems to work at least: c1t0d1 <ORACLE-BlockVolume-1.0-46.58GB>
-
jclulow
so we're getting some of the SCSI pages that identify the disk vendor/model and capacity
-
jclulow
FWIW, you should not have to use the "format" command there
-
jclulow
Especially not for a virtual disk
-
neirac
jclulow at least I know what to check now
-
jclulow
Yup!
-
jclulow
That "is unformatted" message will come from something in format, which will have been a decision based on some ioctl or whatevr
-
jclulow
and ... you'll be able to trace that back to something sd got from the disk basically
-
jclulow
at least it looks merely like a SCSI thing, and not some interrupts bullshit
-
jclulow
interrupts are the worst hhaa
-
jclulow
*haha
-
neirac
jclulow thanks!!
-
jclulow
You're welcome!
-
gitomat
[illumos-gate] 15506 zfs and zpool tests can fail because of core size limit -- Toomas Soome <tsoome⊙mc>
-
neirac
I just compiled format with developer menu but I don't know how to translate the info to be good or bad
termbin.com/asyy