DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 9th February 2009
Quaxo Quaxo is offline
Port Guard
 
Join Date: Jun 2008
Posts: 29
Thanked 0 Times in 0 Posts
Unhappy My D-Link DFE530TX ethernet adapter isnt found. Help!

Hello

In an older hardware setup (I dont remember the OpenBSD version) I used a D-Link DFE530TX REV-C1 10/100Mb ethernet adapter. It worked just fine and was recognized by OpenBSD as "vr0". But now when I install this adapter into my "new" server (OpenBSD v4.4) its not found. This is what the dmesg.boot looks like...

Code:
OpenBSD 4.4 (GENERIC) #1021: Tue Aug 12 17:16:55 MDT 2008
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(R) CPU 440 @ 2.00GHz ("GenuineIntel" 686-class) 2.01 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,CX16,xTPR
real mem  = 2077782016 (1981MB)
avail mem = 2000572416 (1907MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/07/07, BIOS32 rev. 0 @ 0xfb180, SMBIOS rev. 2.4 @ 0xf0100 (30 entries)
bios0: vendor Award Software International, Inc. version "F3" date 11/07/2007
bios0: Gigabyte Technology Co., Ltd. GA-73PVM-S2H
apm0 at bios0: Power Management spec V1.2 (slowidle)
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 3.0 @ 0xf0000/0xd7d4
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfd700/208 (11 entries)
pcibios0: PCI Exclusive IRQs: 5 10 11
pcibios0: no compatible PCI ICU found
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #4 is the last bus
WARNING: unknown PCI device header 0x40.
WARNING: unknown PCI device header 0x40.
WARNING: unknown PCI device header 0x40.
bios0: ROM list: 0xc0000/0xde00
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 vendor "NVIDIA", unknown product 0x07c1 rev 0xa2
"NVIDIA MCP73 Memory" rev 0xa2 at pci0 dev 0 function 1 not configured
"NVIDIA MCP73 Memory" rev 0xa1 at pci0 dev 1 function 0 not configured
"NVIDIA MCP73 Memory" rev 0xa1 at pci0 dev 1 function 1 not configured
"NVIDIA MCP73 Memory" rev 0xa1 at pci0 dev 1 function 2 not configured
"NVIDIA MCP73 Memory" rev 0xa1 at pci0 dev 1 function 3 not configured
"NVIDIA MCP73 Memory" rev 0xa1 at pci0 dev 1 function 4 not configured
"NVIDIA MCP73 Memory" rev 0xa1 at pci0 dev 1 function 5 not configured
"NVIDIA MCP73 Memory" rev 0xa1 at pci0 dev 1 function 6 not configured
"NVIDIA MCP73 Memory" rev 0xa1 at pci0 dev 2 function 0 not configured
pcib0 at pci0 dev 3 function 0 "NVIDIA MCP73 ISA" rev 0xa2
nviic0 at pci0 dev 3 function 1 "NVIDIA MCP73 SMBus" rev 0xa1
iic0 at nviic0
spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-6400CL5
spdmem1 at iic0 addr 0x51: 1GB DDR2 SDRAM non-parity PC2-6400CL5
iic1 at nviic0
"NVIDIA MCP73 Memory" rev 0xa1 at pci0 dev 3 function 2 not configured
"NVIDIA MCP73 Memory" rev 0xa1 at pci0 dev 3 function 4 not configured
ohci0 at pci0 dev 4 function 0 "NVIDIA MCP73 USB" rev 0xa1: irq 5, version 1.0, legacy support
ehci0 at pci0 dev 4 function 1 "NVIDIA MCP73 USB" rev 0xa1: irq 10
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "NVIDIA EHCI root hub" rev 2.00/1.00 addr 1
pciide0 at pci0 dev 8 function 0 "NVIDIA MCP73 IDE" rev 0xa1: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus0 targ 0 lun 0: <TSSTcorp, CDDVDW SH-S202J, SB01> ATAPI 5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
pciide0: channel 1 ignored (disabled)
azalia0 at pci0 dev 9 function 0 "NVIDIA MCP73 HD Audio" rev 0xa1: irq 5
azalia0: /usr/src/sys/dev/pci/azalia.c/1348 invalid PCM format: 0x00000000
azalia0: codec[s]: Realtek/0x0885, NVIDIA/0x8001, using Realtek/0x0885
audio0 at azalia0
ppb0 at pci0 dev 10 function 0 "NVIDIA MCP73 PCIE" rev 0xa1
pci1 at ppb0 bus 1
ral0 at pci1 dev 5 function 0 "Ralink RT2561S" rev 0x00: irq 11, address 00:22:6b:a0:fb:19
ral0: MAC/BBP RT2561C, RF RT2527
"TI TSB43AB23 FireWire" rev 0x00 at pci1 dev 7 function 0 not configured
ppb1 at pci0 dev 11 function 0 "NVIDIA MCP73 PCIE" rev 0xa1
pci2 at ppb1 bus 2
ppb2 at pci0 dev 12 function 0 "NVIDIA MCP73 PCIE" rev 0xa1
pci3 at ppb2 bus 3
ppb3 at pci0 dev 13 function 0 "NVIDIA MCP73 PCIE" rev 0xa1
pci4 at ppb3 bus 4
pciide1 at pci0 dev 14 function 0 "NVIDIA MCP73 AHCI" rev 0xa2: DMA (unsupported), channel 0 wired to native-PCI, channel 1 wired to native-PCI
pciide1: using irq 11 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: <ST3500320NS>
wd0: 16-sector PIO, LBA48, 476938MB, 976771055 sectors
wd1 at pciide1 channel 0 drive 1: <ST3500320NS>
wd1: 16-sector PIO, LBA48, 476940MB, 976773168 sectors
pciide1: channel 1 ignored (not responding; disabled or no drives?)
nfe0 at pci0 dev 15 function 0 "NVIDIA MCP73 LAN" rev 0xa2: irq 15, address 00:1a:4d:56:2d:8c
rgephy0 at nfe0 phy 1: RTL8169S/8110S PHY, rev. 2
vga1 at pci0 dev 16 function 0 vendor "NVIDIA", unknown product 0x07e1 rev 0xa2
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
drm at vga1 unsupported
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
it0 at isa0 port 0x2e/2: IT8718F rev 0x04, EC port 0x290
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "NVIDIA OHCI root hub" rev 1.00/1.00 addr 1
biomask 7f6d netmask ff6d ttymask ffff
mtrr: Pentium Pro MTRR support
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
I figure "WARNING: unknown PCI device header 0x40." is the problem. But I dont understand why it worked before and not now. I have checked the BIOS but I didnt found any odd settings there.

I also added acpid_flags="" to rc.conf.local but that didnt help (I dont know what "acpi at bios0 function 0x0 not configured" in dmesg.boot really means though; ACPI is enabled as much as possible in BIOS).

Anyone who got an idea of how to fix this?

If you find more things (from reading the dmesg.boot above) that I can fix easy, any help is welcome


Thanks in advance
/Quaxo
Reply With Quote
  #2   (View Single Post)  
Old 9th February 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,610
Thanked 214 Times in 189 Posts
Default

Code:
apm0 at bios0: Power Management spec V1.2 (slowidle)
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
When your hardware has both APM and ACPI available, the default kernel will use APM. ACPI can cause problems .... and it can fix problems -- entirely unrelated to power management. So using ACPI may fix your PCI problem. In order to use ACPI, you must run a kernel with APM disabled.

To create such a kernel, use config(8). For example:
# config -o /bsd.acpi -e /bsd
UKC> disable apm
UKC> quit
Then later, at the boot> prompt, just type the test kernel name:

boot> bsd.acpi

This might also be the source of your problem:
Code:
pcibios0: PCI Exclusive IRQs: 5 10 11
pcibios0: no compatible PCI ICU found
pcibios0: Warning, unable to fix up PCI interrupt routing
I would start with an APM-disabled kernel, and see if that fixes it. If not, I'd want to see if the dmesg has the same PCI and IRQ errors.

If it does, I'd hunt down the devices that demand exclusive IRQs, and kill them.
Reply With Quote
  #3   (View Single Post)  
Old 9th February 2009
Quaxo Quaxo is offline
Port Guard
 
Join Date: Jun 2008
Posts: 29
Thanked 0 Times in 0 Posts
Default

Quote:
To create such a kernel, use config(8). For example:

Code:
    # config -o /bsd.acpi -e /bsd
    UKC> disable apm
    UKC> quit
Then later, at the boot> prompt, just type the test kernel name:

Code:
boot> bsd.acpi
Ok, I tryed your first suggestion, disabled the APM but with no luck (ie. the interface isnt shown in ifconfig either).

dmesg.boot now looks like this (note that its twice as long as the previous one)...

Code:
OpenBSD 4.4 (GENERIC) #1021: Tue Aug 12 17:16:55 MDT 2008
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(R) CPU 440 @ 2.00GHz ("GenuineIntel" 686-class) 2.01 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,CX16,xTPR
real mem  = 2077782016 (1981MB)
avail mem = 2000572416 (1907MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/07/07, BIOS32 rev. 0 @ 0xfb180, SMBIOS rev. 2.4 @ 0xf0100 (30 entries)
bios0: vendor Award Software International, Inc. version "F3" date 11/07/2007
bios0: Gigabyte Technology Co., Ltd. GA-73PVM-S2H
apm0 at bios0: Power Management spec V1.2 (slowidle)
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 3.0 @ 0xf0000/0xd7d4
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfd700/208 (11 entries)
pcibios0: PCI Exclusive IRQs: 5 10 11
pcibios0: no compatible PCI ICU found
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #4 is the last bus
WARNING: unknown PCI device header 0x40.
WARNING: unknown PCI device header 0x40.
WARNING: unknown PCI device header 0x40.
bios0: ROM list: 0xc0000/0xde00
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 vendor "NVIDIA", unknown product0x07c1 rev 0xa2
"NVIDIA MCP73 Memory" rev 0xa2 at pci0 dev 0 function 1 not configured
"NVIDIA MCP73 Memory" rev 0xa1 at pci0 dev 1 function 0 not configured
"NVIDIA MCP73 Memory" rev 0xa1 at pci0 dev 1 function 1 not configured
"NVIDIA MCP73 Memory" rev 0xa1 at pci0 dev 1 function 2 not configured
"NVIDIA MCP73 Memory" rev 0xa1 at pci0 dev 1 function 3 not configured
"NVIDIA MCP73 Memory" rev 0x`1 at pci0 dev 1 function 4 not configured
"NVIDIA MCP73 Memory" rev 0xa1 at pci0 dev 1 function 5 not configured
"NVIDIA MCP73 Memory" rev 0xa1 at pci0 dev 1 function 6 not configured
"NVIDIA MCP73 Memory" rev 0xa1 at pci0 dev 2 function 0 not configured
pcib0 at pci0 dev 3 function 0 "NVIDIA MCP73 ISA" rev 0xa2
nviic0 at pci0 dev 3 function 1 "NVIDIA MCP73 SMBus" rev 0xa1
iic0 at nviic0
spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-6400CL5
spdmem1 at iic0 addr 0x51: 1GB DDR2 SDRAM non-parity PC2-6400CL5
iic1 at nviic0
"NVIDIA MCP73 Memory" rev 0xa1 at pci0 dev 3 function 2 not configured
"NVIDIA MCP73 Memory" rev 0xa1 at pci0 dev 3 function 4 not configured
ohci0 at pci0 dev 4 function 0 "NVIDIA MCP73 USB" rev 0xa1: irq 5, version 1.0, legacy support
ehci0 at pci0 dev 4 function 1 "NVIDIA MCP73 USB" rev 0xa1: irq 10
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "NVIDIA EHCI root hub" rev 2.00/1.00 addr 1
pciide0 at pci0 dev 8 function 0 "NVIDIA MCP73 IDE" rev 0xa1: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus0 targ 0 lun 0: <TSSTcorp, CDDVDW SH-S202J, SB01> ATAPI 5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
pciide0: channel 1 ignored (disabled)
azalia0 at pci0 dev 9 function 0 "NVIDIA MCP73 HD Audio" rev 0xa1: irq 5
azalia0: /usr/src/sys/dev/pci/azalia.c/1348 invalid PCM format: 0x00000000
azalia0: codec[s]: Realtek/0x0885, NVIDIA/0x8001, using Realtek/0x0885
audio0 at azalia0
ppb0 at pci0 dev 10 function 0 "NVIDIA MCP73 PCIE" rev 0xa1
pci1 at ppb0 bus 1
ral0 at pci1 dev 5 function 0 "Ralink RT2561S" rev 0x00: irq 11, addre3s 00:22:6b:a0:fb:19
ral0: MAC/BBP RT2561C, RF RT2527
"TI TSB43AB23 FireWire" rev 0x00 at pci1 dev 7 function 0 not configured
ppb1 at pci0 dev 11 function 0 "NVIDIA MCP73 PCIE" rev 0xa1
pci2 at ppb1 bus 2
ppb2 at pci0 dev 12 function 0 "NVIDIA MCP73 PCIE" rev 0xa1
pci3 at ppb2 bus 3
ppb3 at pci0 dev 13 function 0 "NVIDIA MCP73 PCIE" rev 0xa1
pci4 at ppb3 bus 4
pciide1 at pci0 dev 14 function 0 "NVHDIA MCP73 AHCI" rev 0xa2: DMA (unsupported), channel 0 wired to native-PCI, channel 1 wired to native-PCI
pciide1: using irq 11 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: <ST3500320NS>
wd0: 16-sector PIO, LBA48, 476938MB, 976771055 sectors
wd1 at pciide1 channel 0 drive 1: <ST3500320NS>
wd1: 16-sector PIO, LBA48, 476940MB, 976773168 sectors
pciide1: channel 1 ignored (not responding; disabled or no drives?)
nfe0 at pci0 dev 15 function 0 "NVIDIA MCP73 LAN" rev 0xa2: irq 15, address 00:1a:4d:56:2d:8c
rgephy0 at nfe0 phy 1: RTL8169S/8110S PHY, rev. 2
vga1 at pci0 dev 16 function 0 vendor "NVIDIA", unknown product 0x07e1 rev 0xa2
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
drm at vga1 unsupported
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
it0 at isa0 port 0x2e/2: IT8718F rev 0x04, EC port 0x290
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb1 at oh\M-ci0: USB revision 1.0
uhub1 at usb1 "NVIDIA OHCI root hub" rev 1.00/1.00 addr 1
biomask 7f6d netmask ff6d ttymask ffff
mtrr: Pentium Pro MTRR support
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
syncing disks... 
OpenBSD 4.4 (GENERIC) #1021: Tue Aug 12 17:16:55 MDT 2008
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(R) CPU 440 @ 2.00GHz ("GenuineIntel" 686-class) 2.01 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,CX16,xTPR
real mem  = 2077782016 (1981MB)
avail mem = 2000572416 (1907MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/07/07, BIOS32 rev. 0 @ 0xfb180, SMBIOS rev. 2.4 @ 0xf0100 (30 entries)
bios0: vendor Award Software International, Inc. version "F3" date 11/07/2007
bios0: Gigabyte Technology Co., Ltd. GA-73PVM-S2H
apm at bios0 function 0x15 not configured
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP HPET MCFG APIC
acpi0: wakeup devices HUB0(S5) XVR0(S5) XVR1(S5) XVR2(S5) UAR1(S5) USB0(S4) USB2(S4) AZAD(S5) MMAC(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 25000000 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
Invalid device
Invalid device
Invalid device
Invalid device
acpiprt1 at acpi0: bus 1 (HUB0)
acpicpu0 at acpi0
acpibtn0 at acpi0: PWRB
bios0: ROM list: 0xc0000/0xde00
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 vendor "NVIDIA", unknown product 0x07c1 rev 0xa2
"NVIDIA MCP73 Memory" rev 0xa2 at pci0 dev 0 function 1 not configured
"NVIDIA MCP73 Memory" rev 0xa1 at pci0 dev 1 function 0 not configured
"NVIDIA MCP73 Memory" rev 0xa1 at pci0 dev 1 function 1 not configured
"NVIDIA MCP73 Memory" rev 0xa1 at pci0 dev 1 function 2 not configured
"NVIDIA MCP73 Memory" rev 0xa1 at pci0 dev 1 function 3 not configured
"NVIDIA MCP73 Memory" rev 0xa1 at pci0 dev 1 function 4 not configured
"NVIDIA MCP73 Memory" rev 0xa1 at pci0 dev 1 function 5 not configured
"NVIDIA MCP73 Memory" rev 0xa1 at pci0 dev 1 function 6 not configured
"NVIDIA MCP73 Memory" rev 0xa1 at pci0 dev 2 function 0 not configured
pcib0 at pci0 dev 3 function 0 "NVIDIA MCP73 ISA" rev 0xa2
nviic0 at pci0 dev 3 function 1 "NVIDIA MCP73 SMBus" rev 0xa1
iic0 at nviic0
spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-6400CL5
spdmem1 at iic0 addr 0x51: 1GB DDR2 SDRAM non-parity PC2-6400CL5
iic1 at nviic0
"NVIDIA MCP73 Memory" rev 0xa1 at pci0 dev 3 function 2 not configured
"NVIDIA MCP73 Memory" rev 0xa1 at pci0 dev 3 function 4 not configured
ohci0 at pci0 dev 4 function 0 "NVIDIA MCP73 USB" rev 0xa1: irq 5, version 1.0, legacy support
ehci0 at pci0 dev 4 function 1 "NVIDIA MCP73 USB" rev 0xa1: irq 10
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "NVIDIA EHCI root hub" rev 2.00/1.00 addr 1
pciide0 at pci0 dev 8 function 0 "NVIDIA MCP73 IDE" rev 0xa1: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus0 targ 0 lun 0: <TSSTcorp, CDDVDW SH-S202J, SB01> ATAPI 5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
pciide0: channel 1 ignored (disabled)
azalia0 at pci0 dev 9 function 0 "NVIDIA MCP73 HD Audio" rev 0xa1: irq 5
azalia0: /usr/src/sys/dev/pci/azalia.c/1348 invalid PCM format: 0x00000000
azalia0: codec[s]: Realtek/0x0885, NVIDIA/0x8001, using Realtek/0x0885
audio0 at azalia0
ppb0 at pci0 dev 10 function 0 "NVIDIA MCP73 PCIE" rev 0xa1
pci1 at ppb0 bus 1
ral0 at pci1 dev 5 function 0 "Ralink RT2561S" rev 0x00: irq 11, address 00:22:6b:a0:fb:19
ral0: MAC/BBP RT2561C, RF RT2527
"TI TSB43AB23 FireWire" rev 0x00 at pci1 dev 7 function 0 not configured
ppb1 at pci0 dev 11 function 0 "NVIDIA MCP73 PCIE" rev 0xa1
pci2 at ppb1 bus 2
ppb2 at pci0 dev 12 function 0 "NVIDIA MCP73 PCIE" rev 0xa1
pci3 at ppb2 bus 3
ppb3 at pci0 dev 13 function 0 "NVIDIA MCP73 PCIE" rev 0xa1
pci4 at ppb3 bus 4
pciide1 at pci0 dev 14 function 0 "NVIDIA MCP73 AHCI" rev 0xa2: DMA (unsupported), channel 0 wired to native-PCI, channel 1 wired to native-PCI
pciide1: using irq 11 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: <ST3500320NS>
wd0: 16-sector PIO, LBA48, 476938MB, 976771055 sectors
wd1 at pciide1 channel 0 drive 1: <ST3500320NS>
wd1: 16-sector PIO, LBA48, 476940MB, 976773168 sectors
pciide1: channel 1 ignored (not responding; disabled or no drives?)
nfe0 at pci0 dev 15 function 0 "NVIDIA MCP73 LAN" rev 0xa2: irq 15, address 00:1a:4d:56:2d:8c
rgephy0 at nfe0 phy 1: RTL8169S/8110S PHY, rev. 2
vga1 at pci0 dev 16 function 0 vendor "NVIDIA", unknown product 0x07e1 rev 0xa2
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
drm at vga1 unsupported
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
it0 at isa0 port 0x2e/2: IT8718F rev 0x04, EC port 0x290
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "NVIDIA OHCI root hub" rev 1.00/1.00 addr 1
biomask 7d6d netmask fd6d ttymask ffff
mtrr: Pentium Pro MTRR support
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
...what do you think?


/Quaxo
Reply With Quote
  #4   (View Single Post)  
Old 9th February 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,610
Thanked 214 Times in 189 Posts
Default

Quote:
Originally Posted by Quaxo View Post
...its twice as long as the previous one...
You have two dmesg's in there. If RAM is not erased by BIOS at reboot, the OS will retain what it can and wrap the dmesg area, just in case the older data is needed.

I don't know what this means, but it doesn't look good:
Code:
acpiprt0 at acpi0: bus 0 (PCI0)
Invalid device
Invalid device
Invalid device
Invalid device
acpiprt1 at acpi0: bus 1 (HUB0)
This time, we don't see the IRQ issues posted. So ACPI managed to eliminate that particular configuration problem.

I don't see anything else startling in your new dmesg. Poking around in misc@ archives, I can't find anything similar to this ACPI message, nor do I see any problems reported with the MCP73 motherboard.

There are tools for diagnostics, such as acpidump, where the only people who can read the output are ACPI developers. You may want to post to misc@.

One other thought is to try a -current kernel. You won't need to install. Obtain the bsd kernel from a mirror that keeps snapshots, boot it with -cs. This will bring up the UKC prompt after the kernel loads, so you can disable APM, and then it will enter single-user mode after configuration completes, so you need not worry about userland out-of-sync issues.

I suggest -current only because there's been recent changes to ACPI for certain chipsets in the last couple of months.

Last edited by jggimi; 9th February 2009 at 04:35 PM. Reason: clarity
Reply With Quote
  #5   (View Single Post)  
Old 9th February 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

First, make sure the card is properly seated.. I had a card that wasn't fully inserted and the product ID changed randomly.

If that doesn't help, try a different PCI slot... then, try a different card.

As jggimi recommends, try -CURRENT first.. from the dmesg output, several issues which are apparent.

Good luck, feel free to return with more questions..

Last edited by BSDfan666; 9th February 2009 at 05:05 PM.
Reply With Quote
  #6   (View Single Post)  
Old 9th February 2009
Quaxo Quaxo is offline
Port Guard
 
Join Date: Jun 2008
Posts: 29
Thanked 0 Times in 0 Posts
Default

OK, ill try the -current then.

Hmm...I dont know where to start. http://www.openbsd.org/faq/faq5.html#Flavors seems to have some info on this but its a lot to read. Any tips for me?


/Quaxo
Reply With Quote
  #7   (View Single Post)  
Old 9th February 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

As jggimi mentioned, just grab a snapshot kernel for a mirror.. rename the kernel and nove it into /, as bsd.cur for example.

ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/i386/bsd

(Permissions should be root:wheel, 0644.. or.. -rw-r--r--)

jggimi explained this above, at the boot> prompt, type boot bsd.cur -s, see if the problem persists.. if it does, reboot and enter the UKC, boot bsd.cur -cs, disable apm or acpi, whichever was selected automatically the first time.
Reply With Quote
  #8   (View Single Post)  
Old 9th February 2009
Quaxo Quaxo is offline
Port Guard
 
Join Date: Jun 2008
Posts: 29
Thanked 0 Times in 0 Posts
Default

I downloaded the file, copyed it to / as bsd.cur and used "boot bsd.cur -cs" to enter UKC, and then typed "disable acpi" followed by "quit".

Wohoo! now I can see "vr0 at cpi1 dev 6 function 0 VIA VT6105 RhineIII ..." during boot up. However I cant use "ifconfig" for example or "cat /var/run/dmesg.boot", it seems im in some kind of default shell.

Is there a way of making this new settings more permanent?


/Quaxo
Reply With Quote
  #9   (View Single Post)  
Old 9th February 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,610
Thanked 214 Times in 189 Posts
Default

When you boot "-s" you end up in single-user mode. It is a root shell, with no environment variables set other than $TERM. Only the root partition "/" is mounted, and it is mounted read-only.

ifconfig is normally installed in /sbin, which is in the root partition. You should be able to use it. However, /var is usually a separate filesystem, and is not mounted. And your dmesg won't be in /var/run/dmesg.boot, as rc(8) is not run in single user mode. If you want to see your dmesg, issue the dmesg(8) command.

To mount all of your automatically mounted filesystems from fstab(5), issue:

# mount -a
Reply With Quote
Old 9th February 2009
Quaxo Quaxo is offline
Port Guard
 
Join Date: Jun 2008
Posts: 29
Thanked 0 Times in 0 Posts
Default

I see. But does this mean that I have replaced the kernel? Or should I do something more to use -current instead of the kernel from v4.4?

/Quaxo
Reply With Quote
Old 9th February 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

The kernel you just downloaded is 4.4-CURRENT(or 4.5-BETA), the fact that it's working is a good thing.. by the time 4.5 is released you'll be able to use it.

Using the 4.4-CURRENT(or 4.5-BETA) kernel with a user land from 4.4-RELEASE is not a good idea, as mentioned, the -s argument you passed at the boot prompt enabled single user mode.. going multiuser is definitely not recommended.

You have a few options, upgrade to a snapshot.. which will require what's essentially a reinstall, or wait until 4.5 is released in May.

Hope it helps.. again, feel free to post back if you need further assistance.
Reply With Quote
Old 9th February 2009
Quaxo Quaxo is offline
Port Guard
 
Join Date: Jun 2008
Posts: 29
Thanked 0 Times in 0 Posts
Default

So its not possible to just upgrade with -current then (as you can do when you go from 4.3 to 4.4 for example)? May is to far away for me to wait.

My router, an ol crapy D-Link, died in a power failure so I really need a working router now. My plan has always been to replace the D-Link with the OpenBSD server but I didnt plan to do it right now. So if I cant get this network adapter to work I must buy a new one

/Quaxo
Reply With Quote
Old 9th February 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

Yes, obtain bsd.rd from the above ftp server, or.. a relatively synchronized mirror.. place it in / as previously instructed.

Once bsd.rd is booted, you can either install or upgrade.. like normal.

(Remember to install the sets from the snapshot directory, not 4.4 or 4.5..)
  • Packages often aren't kept in sync, so.. hopefully you'll manage with the base system, most people don't install much 3rd party software on their routers.
  • You may want to periodically update to newer snapshots as time progresses.. or at least to 4.5 once it's released.
Good luck, hope it works out for you..
Reply With Quote
Old 9th February 2009
Quaxo Quaxo is offline
Port Guard
 
Join Date: Jun 2008
Posts: 29
Thanked 0 Times in 0 Posts
Default

Great! I have never done an upgrade that way before but ill take a look at it tomorrow. Thanks alot BSDfan666 and jggimi.

/Quaxo
Reply With Quote
Old 10th February 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,610
Thanked 214 Times in 189 Posts
Default

If you read the general instructions here, this should get your planning started.

Note: upgrades do not automatically make changes to /etc and /var, these must be done manually. A review of the following -current FAQ, which lists all of the architectural changes to-date since 4.4-release, will let you know what needs doing. And .... the sysmerge(8) tool mentioned in that announcement will automate anything not covered by the binary upgrade. In general. You'll still want to inspect that FAQ just in case.
Reply With Quote
Old 10th February 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,610
Thanked 214 Times in 189 Posts
Default

Quote:
Originally Posted by BSDfan666 View Post
Packages often aren't kept in sync...
This is normally true. However, at the initial -beta there is usually another package generation sequence executed for popular architectures. It takes a couple of days, but the "snapshot packages" at major mirrors will be in sync with -beta shortly. I saw mention of it in ports@ or misc@ today.

Keep track here: http://gruiik.info/up2date.html
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
D-link (DI-524) router c0mrade General software and network 3 26th January 2009 08:14 AM
Nvidia nForce MCP77 network adapter issue padmanabh FreeBSD Installation and Upgrading 5 17th January 2009 12:18 PM
kde .desktop file link doesn't act like a link when opening files caesius FreeBSD Ports and Packages 3 14th October 2008 07:35 AM
USB wireless network adapter, ndis problem ronaldmcdonald9 FreeBSD General 5 9th July 2008 07:50 AM
Usb serial adapter Business_woman FreeBSD General 10 4th June 2008 03:06 PM


All times are GMT. The time now is 08:26 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick