Bug#404927: DPT/Adaptec udev info
Hi Dann,
Unfortunatly after I looked at our sarge boxes I found out they
don't have udev installed, and sense these are my production machines
I'm not about to install it. I pulled the udev info off of a machine
with a 2020s zero channel raid card, though the output is from Ubuntu
6.06 LTS (I hope that doesn't cause any problems). I've attached the
udev info, and the machines lspci -v output just incase.
Jay Ellington
device '/sys/block/sda' has major:minor 8:0
looking at class device '/sys/block/sda':
KERNEL=="sda"
SUBSYSTEM=="block"
SYSFS{dev}=="8:0"
SYSFS{range}=="16"
SYSFS{removable}=="1"
SYSFS{size}=="143130624"
SYSFS{stat}==" 12042 6143 838909 70970 6360627 8178640
116311102 88666350 0 64891350 88737100"
follow the "device"-link to the physical device:
looking at the device chain at
'/sys/devices/pci0000:00/0000:00:01.0/0000:01:0d.0/0000:02:06.0/host0/target0:0:0/0:0:0:0':
BUS=="scsi"
ID=="0:0:0:0"
DRIVER=="sd"
SYSFS{device_blocked}=="0"
SYSFS{iocounterbits}=="32"
SYSFS{iodone_cnt}=="0x613dbe"
SYSFS{ioerr_cnt}=="0x0"
SYSFS{iorequest_cnt}=="0x613dbe"
SYSFS{model}=="MIRROR ARRAY "
SYSFS{queue_depth}=="128"
SYSFS{queue_type}=="ordered"
SYSFS{rev}=="V1.0"
SYSFS{scsi_level}=="3"
SYSFS{state}=="running"
SYSFS{timeout}=="30"
SYSFS{type}=="0"
SYSFS{vendor}=="Adaptec "
looking at the device chain at
'/sys/devices/pci0000:00/0000:00:01.0/0000:01:0d.0/0000:02:06.0/host0/target0:0:0':
BUS==""
ID=="target0:0:0"
DRIVER=="unknown"
looking at the device chain at
'/sys/devices/pci0000:00/0000:00:01.0/0000:01:0d.0/0000:02:06.0/host0':
BUS==""
ID=="host0"
DRIVER=="unknown"
looking at the device chain at
'/sys/devices/pci0000:00/0000:00:01.0/0000:01:0d.0/0000:02:06.0':
BUS=="pci"
ID=="0000:02:06.0"
DRIVER=="aacraid"
SYSFS{class}=="0x010400"
SYSFS{device}=="0x0285"
SYSFS{irq}=="169"
SYSFS{local_cpus}=="00000000_00000003"
SYSFS{modalias}=="pci:v00009005d00000285sv00009005sd0000028Abc01sc04i00"
SYSFS{subsystem_device}=="0x028a"
SYSFS{subsystem_vendor}=="0x9005"
SYSFS{vendor}=="0x9005"
looking at the device chain at
'/sys/devices/pci0000:00/0000:00:01.0/0000:01:0d.0':
BUS=="pci"
ID=="0000:01:0d.0"
DRIVER=="unknown"
SYSFS{class}=="0x060400"
SYSFS{device}=="0x0104"
SYSFS{irq}=="0"
SYSFS{local_cpus}=="00000000_00000003"
SYSFS{modalias}=="pci:v00001166d00000104sv00000000sd00000000bc06sc04i00"
SYSFS{subsystem_device}=="0x0000"
SYSFS{subsystem_vendor}=="0x0000"
SYSFS{vendor}=="0x1166"
looking at the device chain at '/sys/devices/pci0000:00/0000:00:01.0':
BUS=="pci"
ID=="0000:00:01.0"
DRIVER=="unknown"
SYSFS{class}=="0x060400"
SYSFS{device}=="0x0036"
SYSFS{irq}=="0"
SYSFS{local_cpus}=="00000000_00000003"
SYSFS{modalias}=="pci:v00001166d00000036sv00000000sd00000000bc06sc04i00"
SYSFS{subsystem_device}=="0x0000"
SYSFS{subsystem_vendor}=="0x0000"
SYSFS{vendor}=="0x1166"
looking at the device chain at '/sys/devices/pci0000:00':
BUS==""
ID=="pci0000:00"
DRIVER=="unknown"
LSPCI -V output
0000:00:01.0 PCI bridge: Broadcom HT1000 PCI/PCI-X bridge (prog-if 00
[Normal decode])
Flags: bus master, fast devsel, latency 64
Bus: primary=00, secondary=01, subordinate=02, sec-latency=64
Memory behind bridge: fc100000-fc9fffff
Prefetchable memory behind bridge:
00000000bfd00000-00000000dfd00000
Capabilities: <available only to root>
0000:00:02.0 Host bridge: Broadcom HT1000 Legacy South Bridge
Subsystem: Broadcom: Unknown device 0201
Flags: bus master, medium devsel, latency 64
0000:00:02.1 IDE interface: Broadcom HT1000 Legacy IDE controller
(prog-if 8a [Master SecP PriP])
Subsystem: Broadcom HT1000 Legacy IDE controller
Flags: bus master, medium devsel, latency 64
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at ffa0 [size=16]
0000:00:02.2 ISA bridge: Broadcom HT1000 LPC Bridge
Subsystem: Broadcom: Unknown device 0230
Flags: bus master, medium devsel, latency 0
0000:00:03.0 USB Controller: Broadcom HT1000 USB Controller (rev 01)
(prog-if 10 [OHCI])
Subsystem: Broadcom HT1000 USB Controller
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 10
Memory at febfd000 (32-bit, non-prefetchable) [size=4K]
I/O ports at e800 [size=256]
Capabilities: <available only to root>
0000:00:03.1 USB Controller: Broadcom HT1000 USB Controller (rev 01)
(prog-if 10 [OHCI])
Subsystem: Broadcom HT1000 USB Controller
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 10
Memory at febfc000 (32-bit, non-prefetchable) [size=4K]
I/O ports at d800 [size=256]
Capabilities: <available only to root>
0000:00:03.2 USB Controller: Broadcom HT1000 USB Controller (rev 01)
(prog-if 20 [EHCI])
Subsystem: Broadcom HT1000 USB Controller
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 10
Memory at febfb000 (32-bit, non-prefetchable) [size=4K]
I/O ports at d400 [size=256]
Capabilities: <available only to root>
0000:00:05.0 VGA compatible controller: ATI Technologies Inc Rage XL
(rev 27) (prog-if 00 [VGA])
Subsystem: ATI Technologies Inc Rage XL
Flags: bus master, stepping, medium devsel, latency 64, IRQ 10
Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
I/O ports at e000 [size=256]
Memory at febff000 (32-bit, non-prefetchable) [size=4K]
Expansion ROM at febc0000 [disabled] [size=128K]
Capabilities: <available only to root>
0000:00:08.0 PCI bridge: Broadcom HT1000 PCI-X bridge (rev a3) (prog-if
00 [Normal decode])
Flags: bus master, fast devsel, latency 64
Bus: primary=00, secondary=03, subordinate=03, sec-latency=64
Capabilities: <available only to root>
0000:00:09.0 PCI bridge: Broadcom HT1000 PCI-X bridge (rev a3) (prog-if
00 [Normal decode])
Flags: bus master, fast devsel, latency 64
Bus: primary=00, secondary=04, subordinate=04, sec-latency=64
Memory behind bridge: fca00000-fcafffff
Prefetchable memory behind bridge:
00000000dfe00000-00000000dfe00000
Capabilities: <available only to root>
0000:00:0a.0 PCI bridge: Broadcom HT1000 PCI-Express bridge (rev a3)
(prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=05, subordinate=05, sec-latency=64
Capabilities: <available only to root>
0000:00:0b.0 PCI bridge: Broadcom HT1000 PCI-Express bridge (rev a3)
(prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=06, subordinate=06, sec-latency=64
Capabilities: <available only to root>
0000:00:0c.0 PCI bridge: Broadcom HT1000 PCI-Express bridge (rev a3)
(prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=07, subordinate=07, sec-latency=64
Capabilities: <available only to root>
0000:00:0d.0 PCI bridge: Broadcom HT1000 PCI-Express bridge (rev a3)
(prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=08, subordinate=08, sec-latency=64
Capabilities: <available only to root>
0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] HyperTransport Technology Configuration
Flags: fast devsel
Capabilities: <available only to root>
0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] Address Map
Flags: fast devsel
0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] DRAM Controller
Flags: fast devsel
0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] Miscellaneous Control
Flags: fast devsel
0000:01:0d.0 PCI bridge: Broadcom HT1000 PCI/PCI-X bridge (rev b2)
(prog-if 00 [Normal decode])
Flags: bus master, 66MHz, medium devsel, latency 64
Bus: primary=01, secondary=02, subordinate=02, sec-latency=64
Memory behind bridge: fc100000-fc9fffff
Prefetchable memory behind bridge:
00000000bfd00000-00000000dfd00000
Capabilities: <available only to root>
0000:02:06.0 RAID bus controller: Adaptec AAC-RAID (rev 02)
Subsystem: Adaptec ASR-2020S PCI-X ZCR (Skyhawk)
Flags: bus master, stepping, 66MHz, medium devsel, latency 64,
IRQ 169
Memory at fc800000 (64-bit, non-prefetchable) [size=2M]
Memory at fc600000 (32-bit, non-prefetchable) [size=2M]
Memory at c0000000 (32-bit, prefetchable) [size=256M]
Expansion ROM at fc5f0000 [disabled] [size=32K]
Capabilities: <available only to root>
0000:04:04.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5780
Gigabit Ethernet (rev 03)
Subsystem: Super Micro Computer Inc: Unknown device 166a
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 177
Memory at fcaf0000 (64-bit, non-prefetchable) [size=64K]
Memory at fcae0000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <available only to root>
0000:04:04.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5780
Gigabit Ethernet (rev 03)
Subsystem: Super Micro Computer Inc: Unknown device 166a
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 185
Memory at fcad0000 (64-bit, non-prefetchable) [size=64K]
Memory at fcac0000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <available only to root>
On Fri, 2007-01-05 at 18:06 -0700, dann frazier wrote:
> On Fri, Jan 05, 2007 at 03:27:24PM -0800, Jay Ellington wrote:
> > I have access to quite a few machines currently that run sarge and have
> > devices like the adaptec 2010s, 2020s, 2200s, and 2230slp. I'm not sure
> > how to pull the udev info though? If you can let me know how to do this
> > I can go grab the information quick.
>
> Thanks Jay.
>
> I think the standard command is something like:
> udevinfo -a -p `udevinfo -q path -n /dev/sda`
>
Reply to: