nixp.ru v3.0

15 ноября 2024,
пятница,
07:08:43 MSK

siryoga написал 15 апреля 2008 года в 00:53 (1090 просмотров) Ведет себя неопределенно; открыл 1 тему в форуме, оставил 2 комментария на сайте.

привет.

в dmesg сетевуха находится как rlphy0 но при попытке задать ей адрес (ifconfig rlphy0 итд) грит interface does not exist.

обычная pci сетевуха realtek 8139 определяется как rl0 и работает на ура. поддержка miibus в ядро включена.

куда копать?

Anarchist

В /etc/rc.conf.

Там должен быть объявлен соответствующий сетевой интерфейс.

Например:

ifconfig_em0="inet 192.168.1.1  netmask 255.255.255.0"

Логика понятна?

siryoga

johann# egrep ifconfig /etc/rc.conf

ifconfig_rl0="inet 192.168.0.253 netmask 255.255.255.0» # — работает

ifconfig_rlphy0="inet 192.168.1.1 netmask 255.255.255.0» # — does not exist

dmesg

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.11-RELEASE-p26 #0: Mon Apr 14 01:15:51 MSD 2008
root@johann.lo.domain:/usr/obj/usr/src/sys/GATEWAY
Timecounter "i8254" frequency 1193182 Hz
Timecounter "TSC" frequency 1252847643 Hz
CPU: AMD Athlon(tm) (1252.85-MHz 686-class CPU)
Origin = "AuthenticAMD" Id = 0x681 Stepping = 1
Features=0x383fbff
AMD Features=0xc0400000
real memory = 268369920 (262080K bytes)
avail memory = 258088960 (252040K bytes)
Preloaded elf kernel "kernel" at 0xc030a000.
Pentium Pro MTRR support enabled
Using $PIR table, 10 entries at 0xc00fdec0
npx0:  on motherboard
npx0: INT 16 interface
pcib0:  on motherboard
pci0:  on pcib0
pci0:  (vendor=0x10de, dev=0x01eb) at 0.1
pci0:  (vendor=0x10de, dev=0x01ee) at 0.2
pci0:  (vendor=0x10de, dev=0x01ed) at 0.3
pci0:  (vendor=0x10de, dev=0x01ec) at 0.4
pci0:  (vendor=0x10de, dev=0x01ef) at 0.5
isab0:  at device 1.0 on pci0
isa0:  on isab0
pci0:  (vendor=0x10de, dev=0x0064) at 1.1 irq 4
pci0:  (vendor=0x10de, dev=0x0066) at 4.0 irq 11
pcib1:  at device 8.0 on pci0
pci1:  on pcib1
rl0:  port 0xd000-0xd0ff mem 0xdc000000-0xdc0000ff irq 10 at device 6.0 on pci1
rl0: Ethernet address: 00:c0:df:14:2c:92
miibus0:  on rl0
rlphy0:  on miibus0
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
atapci0:  port 0xf000-0xf00f at device 9.0 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pcib2:  at device 30.0 on pci0
pci2:  on pcib2
pci2:  at 0.0 irq 12
orm0: 


<option rom="">at iomem 0xc0000-0xca7ff on isa0</option>


pmtimer0 on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to accept, logging limited to 100 packets/entry by default ad0: 19092MB [38792/16/63] at ata0-master UDMA100 acd0: DVD-ROM at ata1-slave PIO4 Mounting root from ufs:/dev/ad0s1a

pciconf -lv

chip0@pci0:0:0: class=0x060000 card=0x00000000 chip=0x01e010de rev=0xc1 hdr=0x00
vendor = 'NVIDIA Corporation'
device = 'nForce2 AGP Controller'
class = bridge
subclass = HOST-PCI
none0@pci0:0:1: class=0x050000 card=0x10001695 chip=0x01eb10de rev=0xc1 hdr=0x00
vendor = 'NVIDIA Corporation'
device = 'nForce2 Memory Controller 1'
class = memory
subclass = RAM
none1@pci0:0:2: class=0x050000 card=0x10001695 chip=0x01ee10de rev=0xc1 hdr=0x00
vendor = 'NVIDIA Corporation'
device = 'nForce2 Memory Controller 4'
class = memory
subclass = RAM
none2@pci0:0:3: class=0x050000 card=0x10001695 chip=0x01ed10de rev=0xc1 hdr=0x00
vendor = 'NVIDIA Corporation'
device = 'nForce2 Memory Controller 3'
class = memory
subclass = RAM
none3@pci0:0:4: class=0x050000 card=0x10001695 chip=0x01ec10de rev=0xc1 hdr=0x00
vendor = 'NVIDIA Corporation'
device = 'nForce2 Memory Controller 2'
class = memory
subclass = RAM
none4@pci0:0:5: class=0x050000 card=0x10001695 chip=0x01ef10de rev=0xc1 hdr=0x00
vendor = 'NVIDIA Corporation'
device = 'nForce2 Memory Controller 5'
class = memory
subclass = RAM
isab0@pci0:1:0: class=0x060100 card=0x10001695 chip=0x006010de rev=0xa4 hdr=0x00
vendor = 'NVIDIA Corporation'
device = 'nForce MCP2 ISA Bridge'
class = bridge
subclass = PCI-ISA
none5@pci0:1:1: class=0x0c0500 card=0x10001695 chip=0x006410de rev=0xa2 hdr=0x00
vendor = 'NVIDIA Corporation'
device = 'nForce MCP-T? SMBus Controller'
class = serial bus
subclass = SMBus
none6@pci0:4:0: class=0x020000 card=0x10001695 chip=0x006610de rev=0xa1 hdr=0x00
vendor = 'NVIDIA Corporation'
device = 'nForce MCP-T Networking Adapter'
class = network
subclass = ethernet
pcib1@pci0:8:0: class=0x060400 card=0x00000000 chip=0x006c10de rev=0xa3 hdr=0x01
vendor = 'NVIDIA Corporation'
device = 'nForce MCP-T CPU to PCI Bridge'
class = bridge
subclass = PCI-PCI
atapci0@pci0:9:0: class=0x01018a card=0x10001695 chip=0x006510de rev=0xa2 hdr=0x00
vendor = 'NVIDIA Corporation'
device = 'nForce MCP2 EIDE Controller'
class = mass storage
subclass = ATA
pcib2@pci0:30:0: class=0x060400 card=0x00000000 chip=0x01e810de rev=0xc1 hdr=0x01
vendor = 'NVIDIA Corporation'
device = 'nForce2 AGP Host to PCI Bridge'
class = bridge
subclass = PCI-PCI
rl0@pci1:6:0: class=0x020000 card=0x813910ec chip=0x813910ec rev=0x10 hdr=0x00
vendor = 'Realtek Semiconductor'
device = 'RT8139 (A/B/C/810x/813x/C+) Fast Ethernet Adapter'
class = network
subclass = ethernet
none7@pci2:0:0: class=0x030000 card=0x00000000 chip=0x002d10de rev=0x15 hdr=0x00
vendor = 'NVIDIA Corporation'
device = 'NV5 TNT2 Model 64 / TNT2 Model 64 Pro'
class = display
subclass = VGA
siryoga

Причина понятна. в 4.11 под нее дров нету. Всем спасибо.

sendmoreinfo

к тому же rlphy0 — не сетевая карта сама по себе, а часть rl0 (ее PHY) :-)

Последние комментарии

ecobeingecobeing.ru
Экология и вегетарианство на благо всем живым существам Планеты.