Re: OpenBSD Installation Doesn't Detect NVMe SSD, but Detects My USB Drives

2024-04-19 Thread Christer Solskogen
On Fri, Apr 19, 2024 at 5:38 AM Stuart Longland
 wrote:

> Not sure there's any such animal when the device is NVMe.  NVMe directly
> connects to the PCI Express bus, not to a SATA controller.
> --

Because some BIOS/UEFI are coded by idiots. I tested fake-raid on one
of my "high-end" MSI boards, and the only way for setting it up on
NVME drives was to set SATA to RAID.



Re: OpenBSD Installation Doesn't Detect NVMe SSD, but Detects My USB Drives

2024-04-18 Thread Stuart Longland

(misc@*openbsd*.org, not misc@*opensmtpd*.org… duh!)

On 16/4/24 04:45, Wolfgang Pfeiffer wrote:

On Mon, Apr 15, 2024 at 08:38:51PM +0200, Wolfgang Pfeiffer wrote:

On Mon, Apr 15, 2024 at 08:29:21AM +0200, aliyu...@tutanota.com wrote:

Hello,

I'm currently trying to install OpenBSD on my laptop, and I'm coming
across a problem. The installation only detects my installation drive
and my other USB flash drive that I use for data storage, but not my
NVMe SSD I want to do an installation on.



SATA settings in your BIOS might be worth a try: if sata mode is
set to RAID it might help to switch to ACPI [ .. ]


Wrong: Not ACPI, but AHCI.


Not sure there's any such animal when the device is NVMe.  NVMe directly 
connects to the PCI Express bus, not to a SATA controller.

--
Stuart Longland (aka Redhatter, VK4MSL)

I haven't lost my mind...
  ...it's backed up on a tape somewhere.



Re: OpenBSD Installation Doesn't Detect NVMe SSD, but Detects My USB Drives

2024-04-15 Thread aliyuruk
Hello,

Sorry, I think I sent the mails directly
 to the people that replied to me. 

I'm using an ASUS laptop and disabling the 
VMD controller in UEFI setup worked, and 
now my drive is visible as 'sd0'

Thanks!
Ali Yuruk



Apr 15, 2024, 21:47 by r...@gmx.net:

> On Mon, Apr 15, 2024 at 08:29:21AM +0200, aliyu...@tutanota.com wrote:
>
>> Hello,
>>
>> I'm currently trying to install OpenBSD on my laptop, and I'm coming
>> across a problem. The installation only detects my installation drive
>> and my other USB flash drive that I use for data storage, but not my
>> NVMe SSD I want to do an installation on.
>>
>
> SATA settings in your BIOS might be worth a try: if sata mode is
> set to RAID it might help to switch to ACPI - there was a thread
> recently about that on this list:
>
> https://marc.info/?t=17124438522=1=2
>
> --
> Wolfgang
>



Re: OpenBSD Installation Doesn't Detect NVMe SSD, but Detects My USB Drives

2024-04-15 Thread Wolfgang Pfeiffer

On Mon, Apr 15, 2024 at 08:38:51PM +0200, Wolfgang Pfeiffer wrote:

On Mon, Apr 15, 2024 at 08:29:21AM +0200, aliyu...@tutanota.com wrote:

Hello,

I'm currently trying to install OpenBSD on my laptop, and I'm coming
across a problem. The installation only detects my installation drive
and my other USB flash drive that I use for data storage, but not my
NVMe SSD I want to do an installation on.



SATA settings in your BIOS might be worth a try: if sata mode is
set to RAID it might help to switch to ACPI [ .. ]


Wrong: Not ACPI, but AHCI.

Sorry.
--
Wolfgang



Re: OpenBSD Installation Doesn't Detect NVMe SSD, but Detects My USB Drives

2024-04-15 Thread Wolfgang Pfeiffer

On Mon, Apr 15, 2024 at 08:29:21AM +0200, aliyu...@tutanota.com wrote:

Hello,

I'm currently trying to install OpenBSD on my laptop, and I'm coming
across a problem. The installation only detects my installation drive
and my other USB flash drive that I use for data storage, but not my
NVMe SSD I want to do an installation on.



SATA settings in your BIOS might be worth a try: if sata mode is
set to RAID it might help to switch to ACPI - there was a thread
recently about that on this list:

https://marc.info/?t=17124438522=1=2

--
Wolfgang



Re: OpenBSD Installation Doesn't Detect NVMe SSD, but Detects My USB Drives

2024-04-15 Thread Peter N. M. Hansteen
On Mon, Apr 15, 2024 at 08:29:21AM +0200, aliyu...@tutanota.com wrote:
> 
> I'm currently trying to install OpenBSD on my laptop, and I'm coming
> across a problem. The installation only detects my installation drive
> and my other USB flash drive that I use for data storage, but not my
> NVMe SSD I want to do an installation on.
> 
> This same problem also occurs in NetBSD, but not FreeBSD. The UEFI
> setup acknowledges my drive as a Non-RAID disk, and Linux also shows
> it as nvme0n1, so there isn't any problems with the drive itself.

As Brian mentioned, it would generally be useful to have dmesg output
from a system where the drive works as well as from the OpenBSD config
where the drive is not recognized.

That said, I would recommend looking into the BIOS options to see whether
there is a setting for the storage controller mode. In an ASUS laptop
I bought a little while back, the options were somewhat non-intuitive:

"The option turned out to live in the BIOS' Advanced menu, labeled 
VMD setup menu, where you set the Enable VMD controller option 
to Disabled."

which made the drive visible to OpenBSD.

(the fuller story is at 
https://nxdomain.no/~peter/blog_wild_wild_world_of_windows.html
or with nicer formatting and trackers 
https://bsdly.blogspot.com/2021/07/the-impending-doom-of-your-operating.html)

In your case, the relevant option (if it exists) may be labeled 
something completely different. But it's likely worth checking for.

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
https://bsdly.blogspot.com/ https://www.bsdly.net/ https://www.nuug.no/
"Remember to set the evil bit on all malicious network traffic"
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



Re: OpenBSD Installation Doesn't Detect NVMe SSD, but Detects My USB Drives

2024-04-15 Thread Brian Conway
On Mon, Apr 15, 2024, at 1:29 AM, aliyu...@tutanota.com wrote:
> Hello,
>
> I'm currently trying to install OpenBSD on my laptop, and I'm coming
> across a problem. The installation only detects my installation drive
> and my other USB flash drive that I use for data storage, but not my
> NVMe SSD I want to do an installation on.
>
> This same problem also occurs in NetBSD, but not FreeBSD. The UEFI
> setup acknowledges my drive as a Non-RAID disk, and Linux also shows
> it as nvme0n1, so there isn't any problems with the drive itself.
>
> Running 'sysctl hw.disknames' only shows 3 disks:
>  'sd0' (my installation drive), 'sd1' (my media drive), and 'rd0'
>
> The disk currently has Alpine Linux installed on it, if that gives
> more information.
>
> Thanks for any help!
>
> Ali Yuruk

Sorry to hear of your trouble. I recommend including some actionable 
information, such as:

- make and model of the NVMe drive
- OpenBSD installer dmesg with the drive not recognized
- FreeBSD or Linux dmesg with the drive working

Brian Conway
Owner
RCE Software, LLC



OpenBSD Installation Doesn't Detect NVMe SSD, but Detects My USB Drives

2024-04-15 Thread aliyuruk
Hello,

I'm currently trying to install OpenBSD on my laptop, and I'm coming
across a problem. The installation only detects my installation drive
and my other USB flash drive that I use for data storage, but not my
NVMe SSD I want to do an installation on.

This same problem also occurs in NetBSD, but not FreeBSD. The UEFI
setup acknowledges my drive as a Non-RAID disk, and Linux also shows
it as nvme0n1, so there isn't any problems with the drive itself.

Running 'sysctl hw.disknames' only shows 3 disks:
 'sd0' (my installation drive), 'sd1' (my media drive), and 'rd0'

The disk currently has Alpine Linux installed on it, if that gives
more information.

Thanks for any help!

Ali Yuruk