LINUX.ORG.RU

каким образом определить прерывание для pci-сетевушки?


0

0

нужно совсем с нуля настроить сетевушку, ибо чето она не настраивается вообще

в этом долбаном редхате обычно это делает kudzu, но кудзу валится в сигфолт, ибо у него есть ккакойто станный глюк, оказывается

Что еще делает

Т.к. в биосе машинки я не нашел где можно задетектить что в 1-й пси-слот вставленя сетевуха и мамка ей выделила такойто порт и такоето irq. короче, есть какиеннить тулзы на это дело?

☆☆
Ответ на: комментарий от polachok

lspci не видит карты (только карту на мамке, а воткнутую в PCI слот нифига). 

dmesg ничего не содержит о неизвестном устройстве, хотя впрочем, вот dmesg:

CPU1: Intel Pentium II (Deschutes) stepping 01
Total of 2 processors activated (1597.97 BogoMIPS).
ExtINT not setup in hardware but reported by MP table
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=2 apic2=0 pin2=0
checking TSC synchronization across 2 CPUs: passed.
Brought up 2 CPUs
migration_cost=2559
checking if image is initramfs... it is
Freeing initrd memory: 673k freed
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfd963, last bus=2
Setting up standard PCI resources
ACPI: Subsystem revision 20060127
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI quirk: region 1000-103f claimed by PIIX4 ACPI
PCI quirk: region 1040-104f claimed by PIIX4 SMB
Boot video device is 0000:00:04.0
PCI: Using IRQ router PIIX/ICH [8086/7110] at 0000:00:02.0
PCI->APIC IRQ transform: 0000:00:02.2[D] -> IRQ 161
PCI->APIC IRQ transform: 0000:00:03.0[A] -> IRQ 145
PCI->APIC IRQ transform: 0000:00:04.0[A] -> IRQ 145
PCI->APIC IRQ transform: 0000:02:01.0[A] -> IRQ 153
PCI: Bridge: 0000:00:01.0
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:05.0
  IO window: e000-efff
  MEM window: feb00000-febfffff
  PREFETCH window: 21100000-211fffff
PCI: Setting latency timer of device 0000:00:01.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 5, 163840 bytes)
TCP bind hash table entries: 4096 (order: 4, 81920 bytes)
TCP: Hash tables configured (established 8192 bind 4096)
TCP reno registered
apm: BIOS not found.
audit: initializing netlink socket (disabled)
audit(1198538491.512:1): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
SELinux:  Registering netfilter hooks
Initializing Cryptographic API
ksign: Installing public key data
Loading keyring
- Added public key 407A4C33B4DA055E
- User ID: ASPLinux, Ltd. (Kernel Module GPG key)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Limiting direct PCI/PCI transfers.
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Real Time Clock Driver v1.12ac
Non-volatile memory driver v1.2
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected an Intel 440BX Chipset.
agpgart: AGP aperture is 64M @ 0x24000000
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx

PIIX4: IDE controller at PCI slot 0000:00:02.1
PIIX4: chipset revision 1

vilfred ☆☆
() автор топика
Ответ на: комментарий от vilfred

PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xfcb0-0xfcb7, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0xfcb8-0xfcbf, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
hda: SAMSUNG CD-ROM SC-152L, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
Probing IDE interface ide1...
hda: ATAPI 52X CD-ROM drive, 128kB Cache, DMA
Uniform CD-ROM driver Revision: 3.20
ide-floppy driver 0.99.newide
usbcore: registered new driver libusual
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
PNP: No PS/2 controller found. Probing ports directly.
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
TCP bic registered
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI No-Shortcut mode
swsusp: Resume From Partition /dev/sda1
PM: Checking swsusp image.
swsusp: Error -6 check for resume file
PM: Resume from disk failed.
Freeing unused kernel memory: 236k freed
Write protecting the kernel read-only data: 952k
swsusp: Resume From Partition /dev/sda1
PM: Checking swsusp image.
swsusp: Error -6 check for resume file
PM: Resume from disk failed.
input: AT Translated Set 2 keyboard as /class/input/input0
SCSI subsystem initialized
swsusp: Resume From Partition /dev/sda1
PM: Checking swsusp image.

swsusp: Error -6 check for resume file
PM: Resume from disk failed.
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0
        <Adaptec aic7890/91 Ultra2 SCSI adapter>
        aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs

  Vendor: SEAGATE   Model: ST39173LC         Rev: 5766
  Type:   Direct-Access                      ANSI SCSI revision: 02
scsi0:A:1:0: Tagged Queuing enabled.  Depth 4
 target0:0:1: Beginning Domain Validation
 target0:0:1: wide asynchronous
 target0:0:1: FAST-40 WIDE SCSI 80.0 MB/s ST (25 ns, offset 15)
 target0:0:1: Domain Validation skipping write tests
 target0:0:1: Ending Domain Validation
SCSI device sda: 17783240 512-byte hdwr sectors (9105 MB)
sda: Write Protect is off
sda: Mode Sense: 9f 00 10 08
SCSI device sda: drive cache: write back w/ FUA
SCSI device sda: 17783240 512-byte hdwr sectors (9105 MB)
sda: Write Protect is off
sda: Mode Sense: 9f 00 10 08
SCSI device sda: drive cache: write back w/ FUA
 sda: sda1 sda2
sd 0:0:1:0: Attached scsi disk sda
  Vendor: SEAGATE   Model: ST39173LC         Rev: 5960
  Type:   Direct-Access                      ANSI SCSI revision: 02
scsi0:A:3:0: Tagged Queuing enabled.  Depth 4
 target0:0:3: Beginning Domain Validation
 target0:0:3: wide asynchronous
 target0:0:3: FAST-40 WIDE SCSI 80.0 MB/s ST (25 ns, offset 15)
 target0:0:3: Domain Validation skipping write tests
 target0:0:3: Ending Domain Validation
SCSI device sdb: 17783240 512-byte hdwr sectors (9105 MB)
sdb: Write Protect is off
sdb: Mode Sense: 9f 00 10 08
SCSI device sdb: drive cache: write back w/ FUA
SCSI device sdb: 17783240 512-byte hdwr sectors (9105 MB)
sdb: Write Protect is off
sdb: Mode Sense: 9f 00 10 08
SCSI device sdb: drive cache: write back w/ FUA
 sdb: sdb1 sdb2 sdb3
sd 0:0:3:0: Attached scsi disk sdb
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
SELinux:  Disabled at runtime.
SELinux:  Unregistering netfilter hooks
audit(1198538514.441:2): selinux=0 auid=4294967295
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
e100: Intel(R) PRO/100 Network Driver, 3.5.10-k2-NAPI
e100: Copyright(c) 1999-2005 Intel Corporation
e100: eth0: e100_probe: addr 0xfecfe000, irq 145, MAC addr 00:C0:0D:00:2A:FB
piix4_smbus 0000:00:02.3: Found 0000:00:02.3 device
USB Universal Host Controller Interface driver v3.0
uhci_hcd 0000:00:02.2: UHCI Host Controller
uhci_hcd 0000:00:02.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:02.2: irq 161, io base 0x0000fce0
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
md: Autodetecting RAID arrays.
md: autorun ...
md: considering sdb1 ...
md:  adding sdb1 ...
md: created md2
md: bind<sdb1>
md: running: <sdb1>
md: md2: raid array is not clean -- starting background reconstruction
md: raid1 personality registered for level 1
raid1: raid set md2 active with 1 out of 2 mirrors
md: ... autorun DONE.
device-mapper: 4.6.0-ioctl (2006-02-17) initialised: dm-devel@redhat.com
EXT3 FS on sda2, internal journal
Adding 514040k swap on /dev/sda1.  Priority:-1 extents:1 across:514040k
e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
audit(1198527737.671:3): audit_pid=1254 old=0 by auid=4294967295
Bluetooth: Core ver 2.8
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP ver 2.8
Bluetooth: L2CAP socket layer initialized
Bluetooth: HIDP (Human Interface Emulation) ver 1.1
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
eth0: no IPv6 routers present

vilfred ☆☆
() автор топика
Ответ на: комментарий от haywire

> в помойку карту. Если lspci не видит карты, ничто не увидит. И никак это не настроить.

значит тогда дело в железе, ибо эту карту я снял с виндовой машины, которая через неё в сеть ходит. 

Еще вот что выдало пару раз при загрузке в биосе:

processor(s) installed 2
ERROR
Resource Conflict - PCI
Bus:02 Device:04 Function 00
press F1 to resume

вот вывод lspci

[root@localhost ~]# lspci
00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 02)
00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 02)
00:02.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
00:02.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:02.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01)
00:02.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
00:03.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 05)
00:04.0 VGA compatible controller: Cirrus Logic GD 5430/40 [Alpine] (rev 22)
00:05.0 PCI bridge: Digital Equipment Corporation DECchip 21150 (rev 03)
02:01.0 SCSI storage controller: Adaptec AHA-2940U2/U2W / 7890/7891
[root@localhost ~]#

зарезервировал на в биоксе на всякий случай 15-е прерывание, буду 
пробовать на него вешать карту. Насколько я понимаю, при загрузке 
модуля в ядро ему можно эти епараметры передать. сцуко однако какоето получилось

vilfred ☆☆
() автор топика
Ответ на: комментарий от vilfred

короче там какието глюки не связаные с линухами, поставил карту в другой слот - заработало

vilfred ☆☆
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.