pulling hardware details from command line

Printers, HDDs, USB/eSATA drives, 3rd-party programs
Post Reply
badabing888
Starting out
Posts: 32
Joined: Sun Sep 02, 2012 3:00 pm

pulling hardware details from command line

Post by badabing888 »

Hi Guys,

Does anyone know the command via command line to pull the hardware details, or point me to a blog / post with those details?
i.e. mobo in use? , type of drives, sata controllers, cpu etc?

I've tried my best googlefu with no success.....

if it helps im running 869L running 4.1.1 firmware.

Regards

Daniel
User avatar
schumaku
Guru
Posts: 43579
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
Contact:

Re: pulling hardware details from command line

Post by schumaku »

All QNAP NAS boards and backplanes are proprietary and custom QNAP/IEI designed.

[~] # cat /proc/cpuinfo
...
[~] # hdparm -i /dev/sd[a..h]
...

Sites like smallnetbuilder.com might show some internals, in text or on pictures.
badabing888
Starting out
Posts: 32
Joined: Sun Sep 02, 2012 3:00 pm

Re: pulling hardware details from command line

Post by badabing888 »

thanks for that i was hoping i wouldnt need to pull apart the nas and i could do it from command line of dmesg would show it, but thanks for the info.
badabing888
Starting out
Posts: 32
Joined: Sun Sep 02, 2012 3:00 pm

Re: pulling hardware details from command line

Post by badabing888 »

Yeps im trying to compare the sata controllers in my 509pro and 869L.
i know larger then 2tb is not officially supported, but the 509pro is the backup NAS to the 869 so its not mission critical.

I know they changed the sata controller mid stream and my mobo was replaced under warrenty after they had actually stopped production of the 509, so i was hoping i have the later and can use 3tb drives in it.
User avatar
pwilson
Guru
Posts: 22533
Joined: Fri Mar 06, 2009 11:20 am
Location: Victoria, BC, Canada (UTC-08:00)

Re: pulling hardware details from command line

Post by pwilson »

badabing888 wrote:Yeps im trying to compare the sata controllers in my 509pro and 869L.
i know larger then 2tb is not officially supported, but the 509pro is the backup NAS to the 869 so its not mission critical.

I know they changed the sata controller mid stream and my mobo was replaced under warrenty after they had actually stopped production of the 509, so i was hoping i have the later and can use 3tb drives in it.
You might want to recheck the TS-509 Pro Compatible HDD List again. It lists several 2TB Drive models. :shock:

The 32bit SATA controller in your TS-509 Pro can not handle anything >2TB.
Comparing SATA Controllers won't change this reality.

Patrick M. Wilson
Victoria, BC Canada
QNAP TS-470 Pro w/ 4 * Western Digital WD30EFRX WD Reds (RAID5) - - Single 8.1TB Storage Pool FW: QTS 4.2.0 Build 20151023 - Kali Linux v1.06 (64bit)
Forums: View My Profile - Search My Posts - View My Photo - View My Location - Top Community Posters
QNAP: Turbo NAS User Manual - QNAP Wiki - QNAP Tutorials - QNAP FAQs

Please review: When you're asking a question, please include the following.
badabing888
Starting out
Posts: 32
Joined: Sun Sep 02, 2012 3:00 pm

Re: pulling hardware details from command line

Post by badabing888 »

You might want to recheck the TS-509 Pro Compatible HDD List again. It lists several 2TB Drive models. :shock:
Im aware of the 2tb drives which are or are not compatible (im using hitachis off the list) i didn't ask that in my post so im not sure what that is referring to maybe i didn't explain it properly.

You are correct about the 32bit sata controllers, but this thread also cover differences between the sata controllers which changed mid stream with this model it may or may not be correct. it seems version 2 if you can call it is based off the 809 mobo

http://forum.qnap.com/viewtopic.php?f=182&t=38267

So i was hoping to pull which controller my mobo is using without ripping it apart or buying a 3tb just to see if it works.

Im more then happy if its not "officially supported" as like i said it purely backup only and not mission critical
User avatar
pwilson
Guru
Posts: 22533
Joined: Fri Mar 06, 2009 11:20 am
Location: Victoria, BC, Canada (UTC-08:00)

Re: pulling hardware details from command line

Post by pwilson »

badabing888 wrote:
You might want to recheck the TS-509 Pro Compatible HDD List again. It lists several 2TB Drive models. :shock:
Im aware of the 2tb drives which are or are not compatible (im using hitachis off the list) i didn't ask that in my post so im not sure what that is referring to maybe i didn't explain it properly.

You are correct about the 32bit sata controllers, but this thread also cover differences between the sata controllers which changed mid stream with this model it may or may not be correct. it seems version 2 if you can call it is based off the 809 mobo

http://forum.qnap.com/viewtopic.php?f=182&t=38267

So i was hoping to pull which controller my mobo is using without ripping it apart or buying a 3tb just to see if it works.

Im more then happy if its not "officially supported" as like i said it purely backup only and not mission critical
You are correct. If your TS-509 Pro is using the later design it will support >2TB drives. (Unofficially).
The only reliable way of checking this is with a >2TB drive. It will either work or it won't. Try it and see.

Review the output of:

Code: Select all

lspci -nn | grep -i SATA
This will probably provide some information you can use for further research on your Motherboard components over at: The PCI ID Repository. No one asking this question ever seems to provide this output, and I have no idea what this command would produce for output from a later TS-509 Pro that does support >2TB drives. (Intel changes specification without notice, so output could well be identical on both models for all I know).

Like I said already, the only reliable way of checking this is by using a >2TB drive to see if it works.

Patrick M. Wilson
Victoria, BC Canada
QNAP TS-470 Pro w/ 4 * Western Digital WD30EFRX WD Reds (RAID5) - - Single 8.1TB Storage Pool FW: QTS 4.2.0 Build 20151023 - Kali Linux v1.06 (64bit)
Forums: View My Profile - Search My Posts - View My Photo - View My Location - Top Community Posters
QNAP: Turbo NAS User Manual - QNAP Wiki - QNAP Tutorials - QNAP FAQs

Please review: When you're asking a question, please include the following.
badabing888
Starting out
Posts: 32
Joined: Sun Sep 02, 2012 3:00 pm

Re: pulling hardware details from command line

Post by badabing888 »

Cheers, thats what im after!

oki so for reference, this is the full output.

[/usr] # lspci
00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 01)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:00.0 SCSI storage controller: Marvell Technology Group Ltd. Device 7042 (rev 02)
02:00.0 SCSI storage controller: Marvell Technology Group Ltd. Device 7042 (rev 02)

From what i've read right or wrong this is the newer version and should support > 2tb drives.

01:00.0 SCSI storage controller: Marvell Technology Group Ltd. Device 7042 (rev 02)
02:00.0 SCSI storage controller: Marvell Technology Group Ltd. Device 7042 (rev 02)

Im not aware of what the old version looks like but this is certainly the new mobo that they replaced it with with the dual marvell 7042's and 7 sata ports.

Regards

Daniel
User avatar
pwilson
Guru
Posts: 22533
Joined: Fri Mar 06, 2009 11:20 am
Location: Victoria, BC, Canada (UTC-08:00)

Re: pulling hardware details from command line

Post by pwilson »

badabing888 wrote:Cheers, thats what im after!

oki so for reference, this is the full output.

[/usr] # lspci
00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 01)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:00.0 SCSI storage controller: Marvell Technology Group Ltd. Device 7042 (rev 02)
02:00.0 SCSI storage controller: Marvell Technology Group Ltd. Device 7042 (rev 02)

From what i've read right or wrong this is the newer version and should support > 2tb drives.

01:00.0 SCSI storage controller: Marvell Technology Group Ltd. Device 7042 (rev 02)
02:00.0 SCSI storage controller: Marvell Technology Group Ltd. Device 7042 (rev 02)

Im not aware of what the old version looks like but this is certainly the new mobo that they replaced it with with the dual marvell 7042's and 7 sata ports.

Regards

Daniel
Can't research with that.

Please provide:

Code: Select all

lspci -nn

Patrick M. Wilson
Victoria, BC Canada
QNAP TS-470 Pro w/ 4 * Western Digital WD30EFRX WD Reds (RAID5) - - Single 8.1TB Storage Pool FW: QTS 4.2.0 Build 20151023 - Kali Linux v1.06 (64bit)
Forums: View My Profile - Search My Posts - View My Photo - View My Location - Top Community Posters
QNAP: Turbo NAS User Manual - QNAP Wiki - QNAP Tutorials - QNAP FAQs

Please review: When you're asking a question, please include the following.
badabing888
Starting out
Posts: 32
Joined: Sun Sep 02, 2012 3:00 pm

Re: pulling hardware details from command line

Post by badabing888 »

[~] # lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub [8086:2770] (rev 02)
00:02.0 VGA compatible controller [0300]: Intel Corporation 82945G/GZ Integrated Graphics Controller [8086:2772] (rev 02)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 [8086:27d0] (rev 01)
00:1c.1 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 [8086:27d2] (rev 01)
00:1c.2 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 [8086:27d4] (rev 01)
00:1c.3 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 [8086:27d6] (rev 01)
00:1d.0 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 [8086:27c8] (rev 01)
00:1d.1 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 [8086:27c9] (rev 01)
00:1d.2 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 [8086:27ca] (rev 01)
00:1d.3 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 [8086:27cb] (rev 01)
00:1d.7 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller [8086:27cc] (rev 01)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev e1)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge [8086:27b8] (rev 01)
00:1f.2 IDE interface [0101]: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller [8086:27c0] (rev 01)
00:1f.3 SMBus [0c05]: Intel Corporation 82801G (ICH7 Family) SMBus Controller [8086:27da] (rev 01)
01:00.0 SCSI storage controller [0100]: Marvell Technology Group Ltd. Device [11ab:7042] (rev 02)
02:00.0 SCSI storage controller [0100]: Marvell Technology Group Ltd. Device [11ab:7042] (rev 02)
03:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express [14e4:1693] (rev 02)
04:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express [14e4:1693] (rev 02)
User avatar
pwilson
Guru
Posts: 22533
Joined: Fri Mar 06, 2009 11:20 am
Location: Victoria, BC, Canada (UTC-08:00)

Re: pulling hardware details from command line

Post by pwilson »

badabing888 wrote:[~] # lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub [8086:2770] (rev 02)
00:02.0 VGA compatible controller [0300]: Intel Corporation 82945G/GZ Integrated Graphics Controller [8086:2772] (rev 02)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 [8086:27d0] (rev 01)
00:1c.1 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 [8086:27d2] (rev 01)
00:1c.2 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 [8086:27d4] (rev 01)
00:1c.3 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 [8086:27d6] (rev 01)
00:1d.0 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 [8086:27c8] (rev 01)
00:1d.1 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 [8086:27c9] (rev 01)
00:1d.2 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 [8086:27ca] (rev 01)
00:1d.3 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 [8086:27cb] (rev 01)
00:1d.7 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller [8086:27cc] (rev 01)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev e1)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge [8086:27b8] (rev 01)
00:1f.2 IDE interface [0101]: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller [8086:27c0] (rev 01)
00:1f.3 SMBus [0c05]: Intel Corporation 82801G (ICH7 Family) SMBus Controller [8086:27da] (rev 01)
01:00.0 SCSI storage controller [0100]: Marvell Technology Group Ltd. Device [11ab:7042] (rev 02)
02:00.0 SCSI storage controller [0100]: Marvell Technology Group Ltd. Device [11ab:7042] (rev 02)
03:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express [14e4:1693] (rev 02)
04:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express [14e4:1693] (rev 02)
I believe that would make it a Marvell 88SX7042 PCI-e 4-port SATA-II

Patrick M. Wilson
Victoria, BC Canada
QNAP TS-470 Pro w/ 4 * Western Digital WD30EFRX WD Reds (RAID5) - - Single 8.1TB Storage Pool FW: QTS 4.2.0 Build 20151023 - Kali Linux v1.06 (64bit)
Forums: View My Profile - Search My Posts - View My Photo - View My Location - Top Community Posters
QNAP: Turbo NAS User Manual - QNAP Wiki - QNAP Tutorials - QNAP FAQs

Please review: When you're asking a question, please include the following.
User avatar
schumaku
Guru
Posts: 43579
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
Contact:

Re: pulling hardware details from command line

Post by schumaku »

To compare - another TS-509 Pro

[~] # lspci -nn
...
01:00.0 SATA controller [0106]: Marvell Technology Group Ltd. 88SE6145 SATA II PCI-E controller [11ab:6145] (rev a1)
02:00.0 SATA controller [0106]: Marvell Technology Group Ltd. 88SE6145 SATA II PCI-E controller [11ab:6145] (rev a1)
...
User avatar
pwilson
Guru
Posts: 22533
Joined: Fri Mar 06, 2009 11:20 am
Location: Victoria, BC, Canada (UTC-08:00)

Re: pulling hardware details from command line

Post by pwilson »

schumaku wrote:To compare - another TS-509 Pro

[~] # lspci -nn
...
01:00.0 SATA controller [0106]: Marvell Technology Group Ltd. 88SE6145 SATA II PCI-E controller [11ab:6145] (rev a1)
02:00.0 SATA controller [0106]: Marvell Technology Group Ltd. 88SE6145 SATA II PCI-E controller [11ab:6145] (rev a1)
...
Which is the Marvel 88SE6145 SATA II PCI-E

Patrick M. Wilson
Victoria, BC Canada
QNAP TS-470 Pro w/ 4 * Western Digital WD30EFRX WD Reds (RAID5) - - Single 8.1TB Storage Pool FW: QTS 4.2.0 Build 20151023 - Kali Linux v1.06 (64bit)
Forums: View My Profile - Search My Posts - View My Photo - View My Location - Top Community Posters
QNAP: Turbo NAS User Manual - QNAP Wiki - QNAP Tutorials - QNAP FAQs

Please review: When you're asking a question, please include the following.
Post Reply

Return to “Hardware & Software Compatibility”