amarao (amarao_san) wrote,
amarao
amarao_san

PCI hotplug

Я не псих, просто так случайно получилось.

Недовоткнул новую сетевуху. Смотрю - нету. lspci говорит, мол, слот пустой.

Пошуршал, воткнул. На ходу, разумеется.

Сделал echo 1 >/sys/bus/pci/rescan

Получил:

[ 2861.578266] pci 0000:04:00.0: [1186:4300] type 0 class 0x000200
[ 2861.578292] pci 0000:04:00.0: reg 10: [io 0x0000-0x00ff]
[ 2861.578306] pci 0000:04:00.0: reg 14: [mem 0x00000000-0x000000ff]
[ 2861.578365] pci 0000:04:00.0: reg 30: [mem 0x3ff80000-0x3ff9ffff pref]
[ 2861.578393] pci 0000:04:00.0: supports D1 D2
[ 2861.578396] pci 0000:04:00.0: PME# supported from D1 D2 D3hot D3cold
[ 2861.578401] pci 0000:04:00.0: PME# disabled
[ 2861.578517] pci 0000:00:1e.0: BAR 15: assigned [mem 0xf0600000-0xf06fffff pref]
[ 2861.578522] pci 0000:04:00.0: BAR 6: assigned [mem 0xf0600000-0xf061ffff pref]
[ 2861.578526] pci 0000:04:00.0: BAR 0: assigned [io 0xd000-0xd0ff]
[ 2861.578531] pci 0000:04:00.0: BAR 0: set to [io 0xd000-0xd0ff] (PCI address [0xd000-0xd0ff])
[ 2861.578535] pci 0000:04:00.0: BAR 1: assigned [mem 0xfeb00000-0xfeb000ff]
[ 2861.578541] pci 0000:04:00.0: BAR 1: set to [mem 0xfeb00000-0xfeb000ff] (PCI address [0xfeb00000-0xfeb000ff])
[ 2861.578618] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[ 2861.578637] r8169 0000:04:00.0: enabling device (0000 -> 0003)
[ 2861.578645] r8169 0000:04:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 2861.578712] r8169 0000:04:00.0: (unregistered net_device): not PCI Express
[ 2861.578722] r8169 0000:04:00.0: setting latency timer to 64
[ 2861.579455] r8169 0000:04:00.0: eth0: RTL8169sb/8110sb at 0xffffc900117fe000, 5c:d9:98:f5:68:bf, XID 10000000 IRQ 16

Работает...
Tags: linux desktop, linux hardware
Subscribe

  • Error

    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 8 comments