Hi Alex,

I've written the floppy38.fs to my server via:

wget -O- wget ftp://ftp.de.openbsd.org/pub/snapshots/i386/floppy38.fs >
/dev/hda (within the rescue system). I also tried some customized
floppy-images (with custom kernel options)

and it boots fine ;) But my problem is, that the fxp (dualport) nic has
irq 12 assigned:

fxp0 at pci2 dev 6 function 0 "Intel 82557" rev 0x08, i82559: irq 12,
address 00:30:48:52:c9:fc
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
fxp1 at pci2 dev 7 function 0 "Intel 82557" rev 0x08, i82559: irq 12,
address 00:30:48:52:c9:fd

and on your server the nic has assigned irc 10 and 11:

fxp0 at pci2 dev 6 function 0 "Intel 8255x" rev 0x08, i82559: irq 11,
address 00:30:48:53:3c:96
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
fxp1 at pci2 dev 7 function 0 "Intel 8255x" rev 0x08, i82559: irq 10,
address 00:30:48:53:3c:97

and that's the problem :(

I've the same problem like:
http://readlist.com/lists/openbsd.org/misc/0/2302.html

but option PCIBIOS_INTR_FIXUP_FORCE didn't resolve my problem :(

Best regards,
Sven


> Hi,
>
> for comparison I have a similar PC at the same provider and
> it works fine (I have fxp at irq 11 though, and use -current).
>
> Also I had used the original floppy image to install OpenBSD:
>
>     wget ftp://ftp.de.openbsd.org/pub/snapshots/i386/floppy38.fs
>     dd of=/dev/hda if=floppy38.fs bs=1k count=1440
>
> Sven, are you sure your fxp is not working? Maybe just your
> network settings are wrong? Here are mine (stolen from Kili):
>
> /etc/hostname.fxp0:
>     inet 81.169.186.XXX 255.255.255.255 NONE
>     !route add 81.169.186.1 -link \$if: -interface
>
> /etc/mygate:
>     81.169.186.1
>
> /etc/resolv.conf:
>     lookup file bind
>     nameserver 81.169.163.106
>     nameserver 81.169.163.104
>
> Regards
> Alex
>
> PS: Here is my dmesg, works ok:
>
> OpenBSD 3.8-current (GENERIC) #0: Mon Jan 16 10:28:09 CET 2006
>     [EMAIL PROTECTED]:/sys/arch/i386/compile/GENERIC
> cpu0: Intel(R) Celeron(R) CPU 2.40GHz ("GenuineIntel" 686-class) 2.40 GHz
> cpu0:
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,
> ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID
> real mem  = 402169856 (392744K)
> avail mem = 359624704 (351196K)
> using 4278 buffers containing 20209664 bytes (19736K) of memory
> mainbus0 (root)
> bios0 at mainbus0: AT/286+(d0) BIOS, date 02/03/04, BIOS32 rev. 0 @
> 0xfb330
> apm0 at bios0: Power Management spec V1.2
> apm0: AC on, battery charge unknown
> apm0: flags 70102 dobusy 1 doidle 1
> pcibios0 at bios0: rev 2.1 @ 0xf0000/0xdf84
> pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfde90/240 (13 entries)
> pcibios0: PCI Exclusive IRQs: 5 9 10 11 12
> pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371SB ISA" rev 0x00)
> pcibios0: PCI bus #2 is the last bus
> bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1000 0xc9000/0x1000
> cpu0 at mainbus0
> pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> pchb0 at pci0 dev 0 function 0 "Intel 82845 Host" rev 0x04
> ppb0 at pci0 dev 1 function 0 "Intel 82845 AGP" rev 0x04
> pci1 at ppb0 bus 1
> ppb1 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0x05
> pci2 at ppb1 bus 2
> fxp0 at pci2 dev 6 function 0 "Intel 8255x" rev 0x08, i82559: irq 11,
> address 00
> :30:48:53:3c:96
> inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
> fxp1 at pci2 dev 7 function 0 "Intel 8255x" rev 0x08, i82559: irq 10,
> address 00
> :30:48:53:3c:97
> inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4
> vga1 at pci2 dev 8 function 0 "ATI Rage XL" rev 0x27
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> ichpcib0 at pci0 dev 31 function 0 "Intel 82801BA LPC" rev 0x05
> pciide0 at pci0 dev 31 function 1 "Intel 82801BA IDE" rev 0x05: DMA,
> channel 0 w
> ired to compatibility, channel 1 wired to compatibility
> wd0 at pciide0 channel 0 drive 0: <IC35L060AVV207-0>
> wd0: 16-sector PIO, LBA48, 58644MB, 120103200 sectors
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
> pciide0: channel 1 disabled (no drives)
> ichiic0 at pci0 dev 31 function 3 "Intel 82801BA SMBus" rev 0x05: irq 9
> iic0 at ichiic0
> isa0 at ichpcib0
> isadma0 at isa0
> 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
> sysbeep0 at pcppi0
> lpt0 at isa0 port 0x378/4 irq 7
> lm0 at isa0 port 0x290/8: W83627HF
> npx0 at isa0 port 0xf0/16: using exception 16
> pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> pccom0: console
> pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> biomask f365 netmask ff65 ttymask ffe7
> pctr: user-level cycle counter enabled
> dkcsum: wd0 matches BIOS drive 0x80
> root on wd0a
> rootdev=0x0 rrootdev=0x300 rawdev=0x302
> arpresolve: unresolved and rt_expire == 0
>
>
> On 1/20/06, Sven Wolf <[EMAIL PROTECTED]> wrote:
>> I've a server at the German hoster Strato and I try to install OpenBSD
>> 3.8 on this machine. But I always get a device timeout of the Intel Nic
>> (because of a wrong irq assignment?)  :(
>>
>> Here is the dmesg output:
>>
>> OpenBSD 3.8 (RAMDISK) #9: Tue Jan  17 18:24:51 CET 2006
>>     [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK
>> cpu0: Intel(R) Celeron(R) CPU 2.40GHz ("GenuineIntel" 686-class) 2.40
>> GHz
>> cpu0:
>> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,
>> ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID
>> real mem  = 536387584 (523816K)
>> avail mem = 485179392 (473808K)
>> using 4278 buffers containing 26923008 bytes (26292K) of memory
>> mainbus0 (root)
>> acpi0 at mainbus0: revision 0 attached
>> acpitimer at acpi0 not configured
>> acpi device at acpi0 from table DSDT not configured
>> acpi device at acpi0 from table FACP not configured
>> bios0 at mainbus0: AT/286+(c0) BIOS, date 05/27/03, BIOS32 rev. 0 @
>> 0xfb330
>> apm0 at bios0: Power Management spec V1.2
>> apm0: flags 70102 dobusy 1 doidle 1
>> pcibios0 at bios0: rev 2.1 @ 0xf0000/0xdf84
>> pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfde90/240 (13 entries)
>> pcibios0: PCI Exclusive IRQs: 5 10 11 12
>> pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371SB ISA" rev
>> 0x00)
>> pcibios0: PCI bus #2 is the last bus
>> bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1000
>> cpu0 at mainbus0
>> pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
>> pchb0 at pci0 dev 0 function 0 "Intel 82845 Host" rev 0x04
>> ppb0 at pci0 dev 1 function 0 "Intel 82845 AGP" rev 0x04
>> pci1 at ppb0 bus 1
>> ppb1 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0x05
>> pci2 at ppb1 bus 2
>> fxp0 at pci2 dev 6 function 0 "Intel 82557" rev 0x08, i82559: irq 12,
>> address 00                        :30:48:52:c9:fc
>> inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
>> fxp1 at pci2 dev 7 function 0 "Intel 82557" rev 0x08, i82559: irq 12,
>> address 00                        :30:48:52:c9:fd
>> inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4
>> vga1 at pci2 dev 8 function 0 "ATI Rage XL" rev 0x27
>> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
>> ichpcib0 at pci0 dev 31 function 0 "Intel 82801BA LPC" rev 0x05: failed
>> to map I                        /O space
>> pciide0 at pci0 dev 31 function 1 "Intel 82801BA IDE" rev 0x05: DMA,
>> channel 0 w                        ired to compatibility, channel 1
>> wired to compatibility
>> wd0 at pciide0 channel 0 drive 0: <ExcelStor Technology J360>
>> wd0: 16-sector PIO, LBA48, 58644MB, 120103200 sectors
>> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
>> pciide0: channel 1 disabled (no drives)
>> "Intel 82801BA SMBus" rev 0x05 at pci0 dev 31 function 3 not configured
>> isa0 at ichpcib0
>> isadma0 at isa0
>> 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
>> npx0 at isa0 port 0xf0/16: using exception 16
>> pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
>> pccom0: console
>> pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
>> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
>> biomask ede5 netmask fde5 ttymask ffe7
>> rd0: fixed, 3800 blocks
>> dkcsum: wd0 matches BIOS drive 0x80
>> root on rd0a
>> rootdev=0x1100 rrootdev=0x2f00 rawdev=0x2f02
>>
>> I've created my own bootfloppy because with the default OpenBSD 3.8
>> bootfloppy I get the same error. I've played (enabled/disabled) with
>> following kernel options without luck:
>>
>> option         PCIBIOS_INTR_FIXUP_FORCE
>> option         PCI_INTR_FIXUP (as for the netbsd kernel)
>> option        USER_PCICONF    # user-space PCI configuration
>> option        BOOT_CONFIG    # boot-time kernel config
>> pcibios0 at bios0 flags 0x0008 (set to 0x0004, 0x0008, 0x0030)
>> acpi0    at mainbus?
>> #acpitimer* at acpi?
>> #hpet*    at acpi?
>> option        ACPIVERBOSE
>> option        ACPI_ENABLE
>>
>> Has anyone any idea how I can assign an another irq than 12 to fxp? In
>> my opinion this is the problem  :(

Reply via email to