Page 1 of 1

Trying to figure out what's in my PCIe slots

Posted: Mon Sep 19, 2022 10:39 am
by Zarius

Okay, okay. I know. Should be basic. I'm trying to find info on what's in my PCIe slots (I'm trying to find data for my HBA card, specifically.) Problem is that I'm not finding anything for this, specifically. Everything I've found is giving me data on the Eth ports or wlan ports. *Not* what I need.

(Alternatively, if anyone can tell me specifically how to mount drive on a PCI HBA without needing to install drivers, that would do the job nicely. But since I'm wanting to initialize raid 5, that seems like it isn't going to be as easy as poking the right setting without both drivers and software. At least, not until I *have* the raid set up and I'm trying to boot from it.)


Re: Trying to figure out what's in my PCIe slots

Posted: Mon Sep 19, 2022 11:00 am
by Keef

'lspci' will list PCI devices. See here: https://phoenixnap.com/kb/lspci-command
To pare the output down to just HBA devices you can try

Code: Select all

 lspci  | grep -i hba

Can't help with the rest of the question, not got a clue sorry.


Re: Trying to figure out what's in my PCIe slots

Posted: Mon Sep 19, 2022 11:06 am
by Zarius

Does this output to a file I should know where is? (It's been a while since I had to use terminal commands in linux, but I'm not recalling this particular one off the top of my noggin.)


Re: Trying to figure out what's in my PCIe slots

Posted: Mon Sep 19, 2022 11:37 am
by Keef

It will display in the terminal. To send it to a file, do:

Code: Select all

lspci > output.txt

You can call it what you want of course, and also set the path to where you want it sent. It will default to the Home directory.


Re: Trying to figure out what's in my PCIe slots

Posted: Mon Sep 19, 2022 11:52 am
by Zarius

Then that didn't do anything. I forgot the 'grep' part and it made an error report. But once I added it, it gave no feedback and opened the next line of terminal command.


Re: Trying to figure out what's in my PCIe slots

Posted: Mon Sep 19, 2022 12:08 pm
by mcewanw
Keef wrote: Mon Sep 19, 2022 11:00 am

To pare the output down to just HBA devices you can try

Code: Select all

 lspci  | grep -i hba

didn't notice the -i at first for ignore case, only other thing I've seen is:

Code: Select all

 lspci  | grep -i fibre

I also nothing about this - looks like the HBA device not being detected though.

https://sites.google.com/site/itmyshare ... inux-rhel6


Re: Trying to figure out what's in my PCIe slots

Posted: Mon Sep 19, 2022 12:41 pm
by Zarius

I tried all three listed items on the page mcewanw linked, same results. I know the computer is physically registering the card, at minimum, because it initializes it when I boot the computer.

Is there any way to probe a specific PCIe port?


Re: Trying to figure out what's in my PCIe slots

Posted: Tue Sep 20, 2022 3:36 pm
by mikewalsh

@Zarius :-

O-kay. Out of curiosity, how old is this 'HBA' card? I only ask because with all drivers being in the Linux kernel, if it's too old it's entirely possible Fossa's k5.4.53 kernel may have even dropped support for this item by now.

Even the Linux kernel doesn't support stuff forever. The kernel team tend to 'prune' things beyond a certain age-related cutoff point, simply to try and keep the kernel manageable, I guess....

Just a thought, FWIW.

Mike. ;)


Re: Trying to figure out what's in my PCIe slots

Posted: Sun Feb 26, 2023 3:06 am
by Zarius

Well, it's been a lot longer than I thought, sorry, crap came up. This is the card I'm using: https://www.newegg.com/p/14G-0608-00040
I can access the card at BIOS level (and it's set to allow it to be read both by OS and for boot), and I can see the drives in the card, so I know that much is working. But I can't see the drives when I boot Fossa up.


Re: Trying to figure out what's in my PCIe slots

Posted: Sun Feb 26, 2023 7:57 am
by greengeek

Maybe post the content of /var/log/messages (and/or the contents of /var/log/Xorg.0.log)

Might be possible to find something in there that describes the card during boot


Re: Trying to figure out what's in my PCIe slots

Posted: Sun Feb 26, 2023 3:06 pm
by bigpup

menu -> System -> Pup-Sysinfo -> Devices -> PCI Devices -> Complete

Maybe it will show under Devices -> Drive Storage -> RAID

FossaPup install on 500gb drive; 300mb for boot drive, the rest for Frugal install; folder, not file.

Is this install on an external drive or the internal RAID setup?

If an external drive.

I am not sure people make kernels for Puppy Linux that have RAID enabled in the kernel config.
No one ever talks about using Puppy on a RAID setup.

The specs for the card say this:

Date First Available June 07, 2022

If it is that new a piece of hardware.

Fossapup64 9.5 probably will need to be using a newer kernel to even have drivers for it.

How to change kernel
viewtopic.php?t=317