[prev in list] [next in list] [prev in thread] [next in thread]
List: illumos-discuss
Subject: =?UTF-8?Q?=CE=A3=CF=87=CE=B5=CF=84:_Re:_[discuss]_SCSI_drives_vis?= =?UTF-8?Q?ible_from_openboot,_bu
From: "Apostolos Syropoulos via illumos-discuss" <discuss () lists ! illumos ! org>
Date: 2020-07-08 5:37:36
Message-ID: 610776025.2042369.1594186656177 () mail ! yahoo ! com
[Download RAW message or body]
Στάλθηκε από το Ταχυδρομείο Yahoo σε Android
Στις Τετ, 8 Ιουλ, 2020 στις 7:31, ο χρήστηςPeter \
Firmstone<peter.firmstone@zeus.net.au> έγραψε: Thanks Robert,
Sounds good, I appreciate your help.
Cheers,
Peter.
On 7/8/2020 1:12 PM, Robert Mustacchi wrote:
> Hi Peter,
>
> On 7/7/20 7:38 PM, Peter Firmstone wrote:
> > Thanks Robert,
> >
> > Yes I'm interested, it seems a noble and worthy cause.
> OK, I'll have to spend some time looking at what dlg put together to
> understand where it is and where it came from.
>
> > Are LDOM's still a thing on sparc? I was thinking it might be handy for
> > running OpenBSD alongside Illumos.
> Yes, I believe they are. But to be honest, I have very little SPARC
> knowledge at all. I might suggest in parallel, working with Peter
> Tribble on the SPARC side just to get a working build environment. While
> we shouldn't need to build the whole OS, I think just getting that up
> and running will help. I'd also spend some time reading through the
> OpenBSD driver and seeing if you can track down any documentation on the
> parts.
>
> How's that sound as a way to get started?
>
> Robert
>
> > On 7/8/2020 10:44 AM, Robert Mustacchi wrote:
> > > Hi Peter,
> > >
> > > On 7/7/20 4:35 PM, Peter Firmstone wrote:
> > > > Thanks Peter,
> > > >
> > > > That explains a lot, can't be having flaky binary drivers now can we.
> > > >
> > > > Is there any more information available about the driver patch
> > > > submitted?
> > > Are you referring to the one that is attached to the ticket that was
> > > from David Gwynne? Certainly I suspect he started from the OpenBSD
> > > driver.
> > >
> > > I'm not sure of it's actual state. But if it's something that you'd be
> > > interested in working in, we could probably provide a bit of help in
> > > understanding what was there. In the interim we've developed additional
> > > drivers and improved the documentation for writing SCSI drivers here so
> > > I know that I'd be happy to help answer any questions on that and I bet
> > > that Joshua Clulow who has been in some of these areas would be happy to
> > > help answer questions and provide guidance.
> > >
> > > Robert
> > >
> > > > OpenBSD's driver might provide some guidance as well:
> > > >
> > > > LSI Logic Fusion-MPT (Symbios Logic/NCR) (mpi
> > > > <https://man.openbsd.org/sparc64/mpi.4>)
> > > >
> > > > * LSI53C1020, LSI53C1020A, LSI53C1030, LSI53C1030T, LSI53C1035,
> > > > * LSIFC909, LSIFC919, LSIFC919X, LSIFC929, LSIFC929X, LSIFC949,
> > > > LSIFC949X,
> > > > * LSISAS1064, LSISAS1064E, LSISAS1068, LSISAS1068E
> > > >
> > > > Interestingly OpenBSD has very good sparc support including recent
> > > > models, apparently it even supports accelerated graphics using an open
> > > > ATI driver. There are plenty of half height graphics cards available
> > > > now that fit into servers. Forgive me, I used to own an Ultra80, quad
> > > > processor, with 4GB ram, dual XVR-1000's, stereo monitors and crystal
> > > > eyes glasses, that was back when a PC had 256MB ram. I use Windows 10
> > > > workstation for that task now.
> > > >
> > > > My daughter is an avid Blender fan, so it's tempting.
> > > >
> > > > One of the things noted on OpenBSD's website is how the sparc
> > > > architecture helps to identify bugs, not evident on other
> > > > architectures. I found this myself years ago, where I was using sparc
> > > > to debug race conditions.
> > > >
> > > > Cheers,
> > > >
> > > > Peter.
> > > >
> > > > On 7/7/2020 10:26 PM, Peter Tribble wrote:
> > > > > On Tue, Jul 7, 2020 at 12:51 PM Peter Firmstone
> > > > > <peter.firmstone@zeus.net.au <mailto:peter.firmstone@zeus.net.au>>
> > > > > wrote:
> > > > >
> > > > > Ok, so I've been doing some more experimentation.
> > > > >
> > > > > I also tried Dilos, but it has the same issue, so it doesn't
> > > > > appear to be distribution specific, it affects both.
> > > > >
> > > > > The relevant driver we're looking at here is mpt, which is one of the
> > > > > remaining closed-source
> > > > > drivers, so we just have the binary. Which, naturally, makes life just
> > > > > a little more awkward.
> > > > >
> > > > > Going back to ancient history, there's bug #3 (!)
> > > > >
> > > > > https://www.illumos.org/issues/3
> > > > >
> > > > > I don't currently have free cycles, but looking at that again would
> > > > > seem to be worthwhile.
> > > > >
> > > > > I tried OpenBSD and it can see the two scsi drives, same as
> > > > > openboot, so it appears to be a problem with the driver specific
> > > > > to Illumos.
> > > > >
> > > > > Any ideas on how to debug the issue?
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Peter.
> > > > >
> > > > > On 7/2/2020 8:21 PM, Peter Firmstone wrote:
> > > > > > Thanks Peter,
> > > > > >
> > > > > > It didn't work unfortunately, any other ideas?
> > > > > >
> > > > > > I executed the update_drv command, powered down the external scsi
> > > > > > case, unplugged it, plugged it back in and powered it back up
> > > > > > before executing prtconf again.
> > > > > >
> > > > > > The Illumos Project SunOS 5.11 tribblix-m20 April 2018
> > > > > > root@tribblix:/root# prtconf -d
> > > > > > System Configuration: Oracle Corporation sun4v
> > > > > > Memory size: 48928 Megabytes
> > > > > > System Peripherals (Software Nodes):
> > > > > >
> > > > > > SUNW,T5240
> > > > > > scsi_vhci, instance #0
> > > > > > packages (driver not attached)
> > > > > > SUNW,builtin-drivers (driver not attached)
> > > > > > deblocker (driver not attached)
> > > > > > disk-label (driver not attached)
> > > > > > terminal-emulator (driver not attached)
> > > > > > dropins (driver not attached)
> > > > > > SUNW,asr (driver not attached)
> > > > > > kbd-translator (driver not attached)
> > > > > > obp-tftp (driver not attached)
> > > > > > zfs-file-system (driver not attached)
> > > > > > hsfs-file-system (driver not attached)
> > > > > > chosen (driver not attached)
> > > > > > openprom (driver not attached)
> > > > > > client-services (driver not attached)
> > > > > > options, instance #0
> > > > > > aliases (driver not attached)
> > > > > > memory (driver not attached)
> > > > > > virtual-memory (driver not attached)
> > > > > > virtual-devices, instance #0
> > > > > > flashprom (driver not attached)
> > > > > > channel-devices, instance #0
> > > > > > virtual-channel, instance #0
> > > > > > virtual-channel-client, instance #1
> > > > > > virtual-channel, instance #2
> > > > > > virtual-channel-client, instance #3
> > > > > > n2cp (driver not attached)
> > > > > > ncp (driver not attached)
> > > > > > random-number-generator, instance #0
> > > > > > console, instance #0
> > > > > > rtc (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > pci, instance #0
> > > > > > pci (pciex10b5,8548) [PLX Technology, Inc. PEX 8548
> > > > > > 48-lane, 9-port PCI Express Switch], instance #0
> > > > > > pci (pciex10b5,8548) [PLX Technology, Inc. PEX 8548
> > > > > > 48-lane, 9-port PCI Express Switch], instance #1
> > > > > > pci (pciex10b5,8112) [PLX Technology, Inc.
> > > > > > PEX8112 x1 Lane PCI Express-to-PCI Bridge], instance #3
> > > > > > usb (pciex1033,35) [NEC Corporation OHCI USB
> > > > > > Controller], instance #0
> > > > > > usb (pciex1033,35) [NEC Corporation OHCI USB
> > > > > > Controller], instance #1
> > > > > > usb (pciex1033,e0) [NEC Corporation uPD72010x
> > > > > > USB 2.0 Controller], instance #0
> > > > > > storage, instance #1
> > > > > > disk, instance #3
> > > > > > hub, instance #0
> > > > > > pci (pciex10b5,8548) [PLX Technology, Inc. PEX 8548
> > > > > > 48-lane, 9-port PCI Express Switch], instance #2
> > > > > > scsi (pciex1000,58) [LSI Logic / Symbios Logic
> > > > > > SAS1068E PCI-Express Fusion-MPT SAS], instance #0
> > > > > > sd, instance #4
> > > > > > sd, instance #2
> > > > > > sd, instance #0
> > > > > > sd, instance #5
> > > > > > sd, instance #1
> > > > > > pci (pciex10b5,8548) [PLX Technology, Inc. PEX 8548
> > > > > > 48-lane, 9-port PCI Express Switch], instance #4
> > > > > > pci (pciex10b5,8548) [PLX Technology, Inc. PEX 8548
> > > > > > 48-lane, 9-port PCI Express Switch], instance #5
> > > > > > pci (pciex10b5,8548) [PLX Technology, Inc. PEX 8548
> > > > > > 48-lane, 9-port PCI Express Switch], instance #6
> > > > > > ebus, instance #0
> > > > > > serial, instance #0
> > > > > > pci-performance-counters (driver not attached)
> > > > > > pci, instance #1
> > > > > > pci (pciex10b5,8548) [PLX Technology, Inc. PEX 8548
> > > > > > 48-lane, 9-port PCI Express Switch], instance #7
> > > > > > pci (pciex10b5,8548) [PLX Technology, Inc. PEX 8548
> > > > > > 48-lane, 9-port PCI Express Switch], instance #8
> > > > > > network (pciex108e,abcd) [Oracle/SUN
> > > > > > Multithreaded 10-Gigabit Ethernet Network Controller],
> > > > > > instance #0
> > > > > > network (pciex108e,abcd) [Oracle/SUN
> > > > > > Multithreaded 10-Gigabit Ethernet Network Controller],
> > > > > > instance #1
> > > > > > network (pciex108e,abcd) [Oracle/SUN
> > > > > > Multithreaded 10-Gigabit Ethernet Network Controller],
> > > > > > instance #2
> > > > > > network (pciex108e,abcd) [Oracle/SUN
> > > > > > Multithreaded 10-Gigabit Ethernet Network Controller],
> > > > > > instance #3
> > > > > > pci (pciex10b5,8548) [PLX Technology, Inc. PEX 8548
> > > > > > 48-lane, 9-port PCI Express Switch], instance #9
> > > > > > pci (pciex10b5,8548) [PLX Technology, Inc. PEX 8548
> > > > > > 48-lane, 9-port PCI Express Switch], instance #10
> > > > > > pci (pciex10b5,8548) [PLX Technology, Inc. PEX 8548
> > > > > > 48-lane, 9-port PCI Express Switch], instance #11
> > > > > > pci (pciex10b5,8114) [PLX Technology, Inc. PEX
> > > > > > 8114 PCI Express-to-PCI/PCI-X Bridge], instance #12
> > > > > > LSILogic,scsi (pciex1000,30) [LSI Logic /
> > > > > > Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI]
> > > > > > (driver not attached)
> > > > > > tape (driver not attached)
> > > > > > disk (driver not attached)
> > > > > > pci-performance-counters (driver not attached)
> > > > > > ramdisk-root (driver not attached)
> > > > > > os-io (driver not attached)
> > > > > > pseudo, instance #0
> > > > > > root@tribblix:/root# update_drv -a -i '"pciex1000,30"' mpt
> > > > > > root@tribblix:/root# prtconf -d
> > > > > > System Configuration: Oracle Corporation sun4v
> > > > > > Memory size: 48928 Megabytes
> > > > > > System Peripherals (Software Nodes):
> > > > > >
> > > > > > SUNW,T5240
> > > > > > scsi_vhci, instance #0
> > > > > > packages (driver not attached)
> > > > > > SUNW,builtin-drivers (driver not attached)
> > > > > > deblocker (driver not attached)
> > > > > > disk-label (driver not attached)
> > > > > > terminal-emulator (driver not attached)
> > > > > > dropins (driver not attached)
> > > > > > SUNW,asr (driver not attached)
> > > > > > kbd-translator (driver not attached)
> > > > > > obp-tftp (driver not attached)
> > > > > > zfs-file-system (driver not attached)
> > > > > > hsfs-file-system (driver not attached)
> > > > > > chosen (driver not attached)
> > > > > > openprom (driver not attached)
> > > > > > client-services (driver not attached)
> > > > > > options, instance #0
> > > > > > aliases (driver not attached)
> > > > > > memory (driver not attached)
> > > > > > virtual-memory (driver not attached)
> > > > > > virtual-devices, instance #0
> > > > > > flashprom (driver not attached)
> > > > > > channel-devices, instance #0
> > > > > > virtual-channel, instance #0
> > > > > > virtual-channel-client, instance #1
> > > > > > virtual-channel, instance #2
> > > > > > virtual-channel-client, instance #3
> > > > > > n2cp (driver not attached)
> > > > > > ncp (driver not attached)
> > > > > > random-number-generator, instance #0
> > > > > > console, instance #0
> > > > > > rtc (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > cpu (driver not attached)
> > > > > > pci, instance #0
> > > > > > pci (pciex10b5,8548) [PLX Technology, Inc. PEX 8548
> > > > > > 48-lane, 9-port PCI Express Switch], instance #0
> > > > > > pci (pciex10b5,8548) [PLX Technology, Inc. PEX 8548
> > > > > > 48-lane, 9-port PCI Express Switch], instance #1
> > > > > > pci (pciex10b5,8112) [PLX Technology, Inc.
> > > > > > PEX8112 x1 Lane PCI Express-to-PCI Bridge], instance #3
> > > > > > usb (pciex1033,35) [NEC Corporation OHCI USB
> > > > > > Controller], instance #0
> > > > > > usb (pciex1033,35) [NEC Corporation OHCI USB
> > > > > > Controller], instance #1
> > > > > > usb (pciex1033,e0) [NEC Corporation uPD72010x
> > > > > > USB 2.0 Controller], instance #0
> > > > > > storage, instance #1
> > > > > > disk, instance #3
> > > > > > hub, instance #0
> > > > > > pci (pciex10b5,8548) [PLX Technology, Inc. PEX 8548
> > > > > > 48-lane, 9-port PCI Express Switch], instance #2
> > > > > > scsi (pciex1000,58) [LSI Logic / Symbios Logic
> > > > > > SAS1068E PCI-Express Fusion-MPT SAS], instance #0
> > > > > > sd, instance #4
> > > > > > sd, instance #2
> > > > > > sd, instance #0
> > > > > > sd, instance #5
> > > > > > sd, instance #1
> > > > > > pci (pciex10b5,8548) [PLX Technology, Inc. PEX 8548
> > > > > > 48-lane, 9-port PCI Express Switch], instance #4
> > > > > > pci (pciex10b5,8548) [PLX Technology, Inc. PEX 8548
> > > > > > 48-lane, 9-port PCI Express Switch], instance #5
> > > > > > pci (pciex10b5,8548) [PLX Technology, Inc. PEX 8548
> > > > > > 48-lane, 9-port PCI Express Switch], instance #6
> > > > > > ebus, instance #0
> > > > > > serial, instance #0
> > > > > > pci-performance-counters (driver not attached)
> > > > > > pci, instance #1
> > > > > > pci (pciex10b5,8548) [PLX Technology, Inc. PEX 8548
> > > > > > 48-lane, 9-port PCI Express Switch], instance #7
> > > > > > pci (pciex10b5,8548) [PLX Technology, Inc. PEX 8548
> > > > > > 48-lane, 9-port PCI Express Switch], instance #8
> > > > > > network (pciex108e,abcd) [Oracle/SUN
> > > > > > Multithreaded 10-Gigabit Ethernet Network Controller],
> > > > > > instance #0
> > > > > > network (pciex108e,abcd) [Oracle/SUN
> > > > > > Multithreaded 10-Gigabit Ethernet Network Controller],
> > > > > > instance #1
> > > > > > network (pciex108e,abcd) [Oracle/SUN
> > > > > > Multithreaded 10-Gigabit Ethernet Network Controller],
> > > > > > instance #2
> > > > > > network (pciex108e,abcd) [Oracle/SUN
> > > > > > Multithreaded 10-Gigabit Ethernet Network Controller],
> > > > > > instance #3
> > > > > > pci (pciex10b5,8548) [PLX Technology, Inc. PEX 8548
> > > > > > 48-lane, 9-port PCI Express Switch], instance #9
> > > > > > pci (pciex10b5,8548) [PLX Technology, Inc. PEX 8548
> > > > > > 48-lane, 9-port PCI Express Switch], instance #10
> > > > > > pci (pciex10b5,8548) [PLX Technology, Inc. PEX 8548
> > > > > > 48-lane, 9-port PCI Express Switch], instance #11
> > > > > > pci (pciex10b5,8114) [PLX Technology, Inc. PEX
> > > > > > 8114 PCI Express-to-PCI/PCI-X Bridge], instance #12
> > > > > > LSILogic,scsi (pciex1000,30) [LSI Logic /
> > > > > > Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI]
> > > > > > (driver not attached)
> > > > > > tape (driver not attached)
> > > > > > disk (driver not attached)
> > > > > > pci-performance-counters (driver not attached)
> > > > > > ramdisk-root, instance #0 (driver not attached)
> > > > > > os-io (driver not attached)
> > > > > > pseudo, instance #0
> > > > > > root@tribblix:/root# dmesg
> > > > > >
> > > > > > Thu Jul 2 02:58:04 PDT 2020
> > > > > > Jul 1 00:06:13 tribblix unix: [ID 950921 kern.info
> > > > > > <http://kern.info>] cpu127: UltraSPARC-T2+ (chipid 1, clock 1165
> > > > > > MHz)
> > > > > > Jul 1 00:06:13 tribblix unix: [ID 557827 kern.info
> > > > > > <http://kern.info>] cpu127 initialization complete - online
> > > > > > Jul 1 00:06:14 tribblix usba: [ID 912658 kern.info
> > > > > > <http://kern.info>] USB 2.0 device (usb451,625f) operating at hi
> > > > > > speed (USB 2.x) on USB 2.0 root hub: storage@2, scsa2usb1 at bus
> > > > > > address 2
> > > > > > Jul 1 00:06:14 tribblix usba: [ID 349649 kern.info
> > > > > > <http://kern.info>] Texas Instruments Incorporated 6250 FW:
> > > > > > 03.05.02.22.562AD423 B05B31732C1B
> > > > > > Jul 1 00:06:14 tribblix genunix: [ID 936769 kern.info
> > > > > > <http://kern.info>] scsa2usb1 is
> > > > > > /pci@400/pci@0/pci@1/pci@0/usb@0,2/storage@2
> > > > > > Jul 1 00:06:14 tribblix genunix: [ID 408114 kern.info
> > > > > > <http://kern.info>] /pci@400/pci@0/pci@1/pci@0/usb@0,2/storage@2
> > > > > > (scsa2usb1) online
> > > > > > Jul 1 00:06:14 tribblix usba: [ID 912658 kern.info
> > > > > > <http://kern.info>] USB 2.0 device (usb4b4,6560) operating at hi
> > > > > > speed (USB 2.x) on USB 2.0 root hub: hub@4, hubd0 at bus
> > > > > > address 3
> > > > > > Jul 1 00:06:14 tribblix genunix: [ID 936769 kern.info
> > > > > > <http://kern.info>] hubd0 is
> > > > > > /pci@400/pci@0/pci@1/pci@0/usb@0,2/hub@4
> > > > > > Jul 1 00:06:14 tribblix genunix: [ID 408114 kern.info
> > > > > > <http://kern.info>] /pci@400/pci@0/pci@1/pci@0/usb@0,2/hub@4
> > > > > > (hubd0) online
> > > > > > Jul 1 00:06:16 tribblix scsi: [ID 583861 kern.info
> > > > > > <http://kern.info>] sd3 at scsa2usb1: target 0 lun 0
> > > > > > Jul 1 00:06:16 tribblix genunix: [ID 936769 kern.info
> > > > > > <http://kern.info>] sd3 is
> > > > > > /pci@400/pci@0/pci@1/pci@0/usb@0,2/storage@2/disk@0,0
> > > > > > Jul 1 00:06:16 tribblix genunix: [ID 408114 kern.info
> > > > > > <http://kern.info>]
> > > > > > /pci@400/pci@0/pci@1/pci@0/usb@0,2/storage@2/disk@0,0 (sd3)
> > > > > > online
> > > > > >
------------------------------------------
illumos: illumos-discuss
Permalink: https://illumos.topicbox.com/groups/discuss/Tda73a19a518f0ac4-M4b80787b5ae601d6ed28898c
Delivery options: https://illumos.topicbox.com/groups/discuss/subscription
[Attachment #3 (text/html)]
<html><html><br /><br /><div id="ymail_android_signature"><a \
href="https://go.onelink.me/107872968?pid=InProduct&c=Global_Internal_YGrowth_Andr \
oidEmailSig__AndroidUsers&af_wl=ym&af_sub1=Internal&af_sub2=Global_YGrowth&af_sub3=EmailSignature" \
id="ymail_android_signature_link">Στάλθηκε \
από το \
Ταχυδρομείο Yahoo \
σε Android</a></div><br /><blockquote style="margin: 0 0 20px 0;"><div \
style="font-family:Roboto, sans-serif; \
color:#6D00F6;"><div>Στις Τετ, 8 \
Ιουλ, 2020 στις 7:31, ο \
χρήστηςPeter \
Firmstone</div><div><peter.firmstone@zeus.net.au> \
έγραψε:</div></div><div style="padding: 10px 0 0 \
20px; margin: 10px 0 0 0; border-left: 1px solid #6D00F6;"><div dir="ltr">Thanks \
Robert,<br /></div><div dir="ltr"><br /></div><div dir="ltr">Sounds good, I \
appreciate your help.<br /></div><div dir="ltr"><br /></div><div dir="ltr">Cheers,<br \
/></div><div dir="ltr"><br /></div><div dir="ltr">Peter.<br /></div><div \
dir="ltr"><br /></div><div dir="ltr">On 7/8/2020 1:12 PM, Robert Mustacchi wrote:<br \
/></div><div dir="ltr">> Hi Peter,<br /></div><div dir="ltr">><br /></div><div \
dir="ltr">> On 7/7/20 7:38 PM, Peter Firmstone wrote:<br /></div><div \
dir="ltr">>> Thanks Robert,<br /></div><div dir="ltr">>><br /></div><div \
dir="ltr">>> Yes I'm interested, it seems a noble and worthy cause.<br \
/></div><div dir="ltr">> OK, I'll have to spend some time looking at what dlg \
put together to<br /></div><div dir="ltr">> understand where it is and where it \
came from.<br /></div><div dir="ltr">><br /></div><div dir="ltr">>> Are \
LDOM's still a thing on sparc? I was thinking it might be handy for<br \
/></div><div dir="ltr">>> running OpenBSD alongside Illumos.<br /></div><div \
dir="ltr">> Yes, I believe they are. But to be honest, I have very little SPARC<br \
/></div><div dir="ltr">> knowledge at all. I might suggest in parallel, working \
with Peter<br /></div><div dir="ltr">> Tribble on the SPARC side just to get a \
working build environment. While<br /></div><div dir="ltr">> we shouldn't need \
to build the whole OS, I think just getting that up<br /></div><div dir="ltr">> \
and running will help. I'd also spend some time reading through the<br \
/></div><div dir="ltr">> OpenBSD driver and seeing if you can track down any \
documentation on the<br /></div><div dir="ltr">> parts.<br /></div><div \
dir="ltr">><br /></div><div dir="ltr">> How's that sound as a way to get \
started?<br /></div><div dir="ltr">><br /></div><div dir="ltr">> Robert<br \
/></div><div dir="ltr">><br /></div><div dir="ltr">>> On 7/8/2020 10:44 AM, \
Robert Mustacchi wrote:<br /></div><div dir="ltr">>>> Hi Peter,<br \
/></div><div dir="ltr">>>><br /></div><div dir="ltr">>>> On 7/7/20 \
4:35 PM, Peter Firmstone wrote:<br /></div><div dir="ltr">>>>> Thanks \
Peter,<br /></div><div dir="ltr">>>>><br /></div><div \
dir="ltr">>>>> That explains a lot, can't be having flaky binary \
drivers now can we.<br /></div><div dir="ltr">>>>><br /></div><div \
dir="ltr">>>>> Is there any more information available about the driver \
patch<br /></div><div dir="ltr">>>>> submitted?<br /></div><div \
dir="ltr">>>> Are you referring to the one that is attached to the ticket \
that was<br /></div><div dir="ltr">>>> from David Gwynne? Certainly I \
suspect he started from the OpenBSD<br /></div><div dir="ltr">>>> driver.<br \
/></div><div dir="ltr">>>><br /></div><div dir="ltr">>>> I'm \
not sure of it's actual state. But if it's something that you'd be<br \
/></div><div dir="ltr">>>> interested in working in, we could probably \
provide a bit of help in<br /></div><div dir="ltr">>>> understanding what \
was there. In the interim we've developed additional<br /></div><div \
dir="ltr">>>> drivers and improved the documentation for writing SCSI \
drivers here so<br /></div><div dir="ltr">>>> I know that I'd be happy \
to help answer any questions on that and I bet<br /></div><div dir="ltr">>>> \
that Joshua Clulow who has been in some of these areas would be happy to<br \
/></div><div dir="ltr">>>> help answer questions and provide guidance.<br \
/></div><div dir="ltr">>>><br /></div><div dir="ltr">>>> Robert<br \
/></div><div dir="ltr">>>><br /></div><div dir="ltr">>>>> \
OpenBSD's driver might provide some guidance as well:<br /></div><div \
dir="ltr">>>>><br /></div><div dir="ltr">>>>> LSI Logic \
Fusion-MPT (Symbios Logic/NCR) (mpi<br /></div><div dir="ltr">>>>> <<a \
href="https://man.openbsd.org/sparc64/mpi.4" \
target="_blank">https://man.openbsd.org/sparc64/mpi.4</a>>)<br /></div><div \
dir="ltr">>>>><br /></div><div dir="ltr">>>>> \
* LSI53C1020, LSI53C1020A, LSI53C1030, LSI53C1030T, LSI53C1035,<br \
/></div><div dir="ltr">>>>> * LSIFC909, LSIFC919, \
LSIFC919X, LSIFC929, LSIFC929X, LSIFC949,<br /></div><div \
dir="ltr">>>>> LSIFC949X,<br /></div><div \
dir="ltr">>>>> * LSISAS1064, LSISAS1064E, LSISAS1068, \
LSISAS1068E<br /></div><div dir="ltr">>>>><br /></div><div \
dir="ltr">>>>> Interestingly OpenBSD has very good sparc support \
including recent<br /></div><div dir="ltr">>>>> models, apparently it \
even supports accelerated graphics using an open<br /></div><div \
dir="ltr">>>>> ATI driver. There are plenty of half height graphics \
cards available<br /></div><div dir="ltr">>>>> now that fit into \
servers. Forgive me, I used to own an Ultra80, quad<br /></div><div \
dir="ltr">>>>> processor, with 4GB ram, dual XVR-1000's, stereo \
monitors and crystal<br /></div><div dir="ltr">>>>> eyes glasses, that \
was back when a PC had 256MB ram. I use Windows 10<br /></div><div \
dir="ltr">>>>> workstation for that task now.<br /></div><div \
dir="ltr">>>>><br /></div><div dir="ltr">>>>> My daughter is \
an avid Blender fan, so it's tempting.<br /></div><div \
dir="ltr">>>>><br /></div><div dir="ltr">>>>> One of the \
things noted on OpenBSD's website is how the sparc<br /></div><div \
dir="ltr">>>>> architecture helps to identify bugs, not evident on \
other<br /></div><div dir="ltr">>>>> architectures. I found this \
myself years ago, where I was using sparc<br /></div><div dir="ltr">>>>> \
to debug race conditions.<br /></div><div dir="ltr">>>>><br /></div><div \
dir="ltr">>>>> Cheers,<br /></div><div dir="ltr">>>>><br \
/></div><div dir="ltr">>>>> Peter.<br /></div><div \
dir="ltr">>>>><br /></div><div dir="ltr">>>>> On 7/7/2020 \
10:26 PM, Peter Tribble wrote:<br /></div><div dir="ltr">>>>>> On Tue, \
Jul 7, 2020 at 12:51 PM Peter Firmstone<br /></div><div \
dir="ltr">>>>>> <<a href="mailto:peter.firmstone@zeus.net.au" \
ymailto="mailto:peter.firmstone@zeus.net.au">peter.firmstone@zeus.net.au</a> \
<mailto:<a href="mailto:peter.firmstone@zeus.net.au" \
ymailto="mailto:peter.firmstone@zeus.net.au">peter.firmstone@zeus.net.au</a>>><br \
/></div><div dir="ltr">>>>>> wrote:<br /></div><div \
dir="ltr">>>>>><br /></div><div dir="ltr">>>>>> \
Ok, so I've been doing some more experimentation.<br \
/></div><div dir="ltr">>>>>><br /></div><div \
dir="ltr">>>>>> I also tried Dilos, but \
it has the same issue, so it doesn't<br /></div><div \
dir="ltr">>>>>> appear to be \
distribution specific, it affects both.<br /></div><div \
dir="ltr">>>>>><br /></div><div dir="ltr">>>>>> The \
relevant driver we're looking at here is mpt, which is one of the<br /></div><div \
dir="ltr">>>>>> remaining closed-source<br /></div><div \
dir="ltr">>>>>> drivers, so we just have the binary. Which, naturally, \
makes life just<br /></div><div dir="ltr">>>>>> a little more \
awkward.<br /></div><div dir="ltr">>>>>><br /></div><div \
dir="ltr">>>>>> Going back to ancient history, there's bug #3 \
(!)<br /></div><div dir="ltr">>>>>><br /></div><div \
dir="ltr">>>>>> <a href="https://www.illumos.org/issues/3" \
target="_blank">https://www.illumos.org/issues/3</a><br /></div><div \
dir="ltr">>>>>><br /></div><div dir="ltr">>>>>> I \
don't currently have free cycles, but looking at that again would<br /></div><div \
dir="ltr">>>>>> seem to be worthwhile.<br /></div><div \
dir="ltr">>>>>><br /></div><div dir="ltr">>>>>> \
I tried OpenBSD and it can see the two scsi drives, same \
as<br /></div><div dir="ltr">>>>>> \
openboot, so it appears to be a problem with the driver specific<br /></div><div \
dir="ltr">>>>>> to Illumos.<br \
/></div><div dir="ltr">>>>>><br /></div><div \
dir="ltr">>>>>> Any ideas on how to \
debug the issue?<br /></div><div dir="ltr">>>>>><br /></div><div \
dir="ltr">>>>>> Thanks,<br /></div><div \
dir="ltr">>>>>><br /></div><div dir="ltr">>>>>> \
Peter.<br /></div><div dir="ltr">>>>>><br \
/></div><div dir="ltr">>>>>> On \
7/2/2020 8:21 PM, Peter Firmstone wrote:<br /></div><div \
dir="ltr">>>>>>> Thanks Peter,<br \
/></div><div dir="ltr">>>>>>><br /></div><div \
dir="ltr">>>>>>> It didn't work \
unfortunately, any other ideas?<br /></div><div dir="ltr">>>>>>><br \
/></div><div dir="ltr">>>>>>> I \
executed the update_drv command, powered down the external scsi<br /></div><div \
dir="ltr">>>>>>> case, unplugged it, \
plugged it back in and powered it back up<br /></div><div \
dir="ltr">>>>>>> before executing \
prtconf again.<br /></div><div dir="ltr">>>>>>><br /></div><div \
dir="ltr">>>>>>> The Illumos \
Project SunOS 5.11 tribblix-m20 April \
2018<br /></div><div dir="ltr">>>>>>> \
<a href="mailto:root@tribblix" \
ymailto="mailto:root@tribblix">root@tribblix</a>:/root# prtconf -d<br /></div><div \
dir="ltr">>>>>>> System \
Configuration: Oracle Corporation sun4v<br /></div><div \
dir="ltr">>>>>>> Memory size: 48928 \
Megabytes<br /></div><div dir="ltr">>>>>>> \
System Peripherals (Software Nodes):<br /></div><div \
dir="ltr">>>>>>><br /></div><div \
dir="ltr">>>>>>> SUNW,T5240<br \
/></div><div dir="ltr">>>>>>> \
scsi_vhci, instance #0<br /></div><div \
dir="ltr">>>>>>> \
packages (driver not attached)<br /></div><div \
dir="ltr">>>>>>> \
SUNW,builtin-drivers (driver not \
attached)<br /></div><div dir="ltr">>>>>>> \
deblocker (driver \
not attached)<br /></div><div dir="ltr">>>>>>> \
disk-label \
(driver not attached)<br /></div><div dir="ltr">>>>>>> \
terminal-emulator \
(driver not attached)<br /></div><div dir="ltr">>>>>>> \
dropins (driver \
not attached)<br /></div><div dir="ltr">>>>>>> \
SUNW,asr (driver \
not attached)<br /></div><div dir="ltr">>>>>>> \
kbd-translator \
(driver not attached)<br /></div><div dir="ltr">>>>>>> \
obp-tftp (driver \
not attached)<br /></div><div dir="ltr">>>>>>> \
zfs-file-system \
(driver not attached)<br /></div><div dir="ltr">>>>>>> \
hsfs-file-system \
(driver not attached)<br /></div><div dir="ltr">>>>>>> \
chosen (driver not attached)<br \
/></div><div dir="ltr">>>>>>> \
openprom (driver not attached)<br /></div><div \
dir="ltr">>>>>>> \
client-services (driver not attached)<br \
/></div><div dir="ltr">>>>>>> \
options, instance #0<br /></div><div \
dir="ltr">>>>>>> \
aliases (driver not attached)<br /></div><div \
dir="ltr">>>>>>> \
memory (driver not attached)<br /></div><div dir="ltr">>>>>>> \
virtual-memory (driver not attached)<br \
/></div><div dir="ltr">>>>>>> \
virtual-devices, instance #0<br /></div><div \
dir="ltr">>>>>>> \
flashprom (driver not attached)<br \
/></div><div dir="ltr">>>>>>> \
channel-devices, instance #0<br \
/></div><div dir="ltr">>>>>>> \
virtual-channel, \
instance #0<br /></div><div dir="ltr">>>>>>> \
<strong><a href="https://illumos.topicbox.com/latest" \
style="color:inherit;text-decoration:none">illumos</a></strong> / illumos-discuss / \
see <a href="https://illumos.topicbox.com/groups/discuss">discussions</a>
+
<a href="https://illumos.topicbox.com/groups/discuss/members">participants</a>
+
<a href="https://illumos.topicbox.com/groups/discuss/subscription">delivery \
options</a> <a href="https://illumos.topicbox.com/groups/discuss/Tda73a19a518f0ac4-M4b80787b5ae601d6ed28898c" \
style="float:right">Permalink</a> </div>
</html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic