This is a working fix (a nasty workaround, to be honest) found
somewhere on the net:

--- sys/arch/i386/isa/isa_machdep.c
+++ sys/arch/i386/isa/isa_machdep.c
@@ -389,7 +389,8 @@
                if (irqs >= 0x100) /* any IRQs >= 8 in use */
                        irqs |= 1 << IRQ_SLAVE;
                imen = ~irqs;
-               SET_ICUS();
+               if (imen != 0xFFFF3DDB)
+                       SET_ICUS();
        }

        /* For speed of splx, provide the inverse of the interrupt masks. */

Regards,
-David

On 11/25/05, Vladas Urbonas <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> Excuse me for disturbing too much if so.
>
> Have to 'disable auvia' in UKC to boot up 3.8 GENERIC on my SONY VAIO
> PCG-FX77Z_BP(J). The same keeps on happening from 3.1 so -current
> problably will not help.
>
> I would be grateful if anyone of you would be so kind to give me basic
> directions
> on how to know which devices, functions and flags to use in UKC according to
> dmesg from FreeBSD, FreeSBIE or Slack where VT82C686A and AC'97 works fine.
>
> I did google and I will go to the Source if needed. Just thought that
> it would be
> faster to cut to the chase with few lines' assistance.
>
>
>
> Thank you for your time while reading.
>
>
> OpenBSD 3.8 (GENERIC) #138: Sat Sep 10 15:41:37 MDT 2005
>    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: mobile AMD Athlon(tm) XP 1400+  ("AuthenticAMD" 686-class, 256KB
> L2 cache) 1.20 GHz
> cpu0: 
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
> cpu0: AMD Powernow: FID VID TTP
> real mem  = 133734400 (130600K)
> avail mem = 115277824 (112576K)
> using 1658 buffers containing 6791168 bytes (6632K) of memory
> User Kernel Config
> UKC> disable auvia
>  70 auvia* disabled
> UKC> quit
> Continuing...
> mainbus0 (root)
> bios0 at mainbus0: AT/286+(00) BIOS, date 04/29/02, BIOS32 rev. 0 @ 0xfd6a0
> apm0 at bios0: Power Management spec V1.2
> apm0: AC on, no battery
> apm0: flags 30102 dobusy 0 doidle 1
> pcibios0 at bios0: rev 2.1 @ 0xfd6a0/0x960
> pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf60/128 (6 entries)
> pcibios0: PCI Interrupt Router at 000:07:0 ("VIA VT82C596A ISA" rev 0x00)
> pcibios0: PCI bus #3 is the last bus
> bios0: ROM list: 0xc0000/0x10000 0xd0000/0x4000! 0xdc000/0x4000!
> cpu0 at mainbus0
> pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> pchb0 at pci0 dev 0 function 0 "VIA VT8363 Host" rev 0x03
> ppb0 at pci0 dev 1 function 0 "VIA VT8363 AGP" rev 0x00
> pci1 at ppb0 bus 1
> vga1 at pci1 dev 0 function 0 "ATI Mobility 1" rev 0x64
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> pcib0 at pci0 dev 7 function 0 "VIA VT82C686 ISA" rev 0x40
> pciide0 at pci0 dev 7 function 1 "VIA VT82C571 IDE" rev 0x06: ATA100,
> channel 0 configured to compatibility, channel 1 configured to
> compatibility
> wd0 at pciide0 channel 0 drive 0: <HITACHI_DK23DA-30>
> wd0: 16-sector PIO, LBA, 28615MB, 58605120 sectors
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
> atapiscsi0 at pciide0 channel 1 drive 0
> scsibus0 at atapiscsi0: 2 targets
> cd0 at scsibus0 targ 0 lun 0: <MATSHITA, UJDA720 DVD/CDRW, 1.00> SCSI0
> 5/cdrom removable
> cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
> uhci0 at pci0 dev 7 function 2 "VIA VT83C572 USB" rev 0x1a: irq 9
> usb0 at uhci0: USB revision 1.0
> uhub0 at usb0
> uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> uhci1 at pci0 dev 7 function 3 "VIA VT83C572 USB" rev 0x1a: irq 9
> usb1 at uhci1: USB revision 1.0
> uhub1 at usb1
> uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1
> uhub1: 2 ports with 2 removable, self powered
> viaenv0 at pci0 dev 7 function 4 "VIA VT82C686 SMBus" rev 0x40
> "VIA VT82C686 AC97" rev 0x50 at pci0 dev 7 function 5 not configured
> "VIA VT82C686 Modem" rev 0x30 at pci0 dev 7 function 6 not configured
> cbb0 at pci0 dev 10 function 0 "Texas Instruments PCI1420 CardBus" rev
> 0x00: irq 9
> cbb1 at pci0 dev 10 function 1 "Texas Instruments PCI1420 CardBus" rev
> 0x00: irq 10
> "Texas Instruments TSB12LV26 FireWire" rev 0x00 at pci0 dev 14
> function 0 not configured
> rl0 at pci0 dev 16 function 0 "Realtek 8139" rev 0x10: irq 10 address
> 08:00:46:6d:f1:10
> rlphy0 at rl0 phy 0: RTL internal phy
> isa0 at pcib0
> 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
> pms0 at pckbc0 (aux slot)
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pms0 mux 0
> sb0 at isa0 port 0x220/24 irq 5 drq 1: dsp v3.02
> midi0 at sb0: <SB MIDI UART>
> audio0 at sb0
> opl0 at sb0: model OPL3
> midi1 at opl0: <SB Yamaha OPL3>
> pcppi0 at isa0 port 0x61
> midi2 at pcppi0: <PC speaker>
> spkr0 at pcppi0
> sysbeep0 at pcppi0
> lpt0 at isa0 port 0x378/4 irq 7
> npx0 at isa0 port 0xf0/16: using exception 16
> pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
> cardslot0 at cbb0 slot 0 flags 0
> cardbus0 at cardslot0: bus 2 device 0 cacheline 0x8, lattimer 0x20
> pcmcia0 at cardslot0
> cardslot1 at cbb1 slot 1 flags 0
> cardbus1 at cardslot1: bus 3 device 0 cacheline 0x8, lattimer 0x20
> pcmcia1 at cardslot1
> biomask ef4d netmask ef4d ttymask ffcf
> pctr: user-level cycle counter enabled
> mtrr: Pentium Pro MTRR support
> dkcsum: wd0 matches BIOS drive 0x80
> root on wd0a
> rootdev=0x0 rrootdev=0x300 rawdev=0x302

Reply via email to