Subject: constant reboots...
To: None <port-i386@netbsd.org>
From: Sledge Hammer <sledge@centras.lt>
List: port-i386
Date: 09/21/2002 22:49:38
I get constant reboots from my pc :(

Sometimes, when dmesg reaches "root file system type: ffs" PC reboots instantly!

I've changed some settings in my BIOS:
    Peripherial Setup->VIA Onboard PCI IDE from "Both" to "Primary"
    PCI Setup -> Assign IRQ To PCI VGA from "Yes" to "No"

That's the way I can sometimtes load my NetBSD 1.6 at least experience some 15mins of using it, until another
reboot! :(

(I've installed it on another PC, because there everything ran correctly - on my Cyrix i even could not get it
installed. newfs was rebooting with this vital error message:
pciide0:0:0: lost interrupt
 type: ata tc_bcount: 8192 tc_skip: 0
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x61
wd0: transfer error, downgrading to Ultra-DMA mode 1
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 1 (using DMA data transfers)
cd0(pciide0:0:1): using PIO mode 3, DMA mode 1 (using DMA data transfers)
wd0e: DMA error writing fsbn 16 of 16-31 (wd0 bn 1618864; cn 1606 tn 0 sn 16), retrying
wd0: soft error (corrected)
)


So, as I've got NetBSD installing and working correctly on another PC (AMD750), the hardware MAXTOR HDD is OK.
RAM is OK too, as I've put a borrowed 128MB of it, and the reboot-problem persisted.
The problem might be - BIOS settings, ir motherboard or something misterious.. Please, take a look into
dmesg..

I have AMIBIOS 1996 version, that does not let to change PCI IDE IRQ. Can I changed it via NetBSD, and, if
yes, then how?

Thank you in advance..

    Desperate user

NetBSD 1.6 (GENERIC) #0: Sun Sep  8 19:43:40 UTC 2002
    autobuild@tgm.daemon.org:/autobuild/i386/OBJ/autobuild/src/sys/arch/i386/compile/GENERIC
cpu0: Cyrix 6x86MX (686-class), 225.53 MHz
cpu0: features 80a135<FPU,DE,TSC,MSR,CX8>
cpu0: features 80a135<PGE,CMOV,MMX>
total memory = 127 MB
avail memory = 112 MB
using 1659 buffers containing 6636 KB of memory
BIOS32 rev. 0 found at 0xfd9e0
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: VIA Technologies VT82C580 (Apollo VP) Host-PCI Bridge (rev. 0x23)
pcib0 at pci0 dev 7 function 0
pcib0: VIA Technologies VT82C586 (Apollo VP) PCI-ISA Bridge (rev. 0x47)
pciide0 at pci0 dev 7 function 1: VIA Technologies VT82C586 (Apollo VP) ATA33 controller
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode
atapibus0 at pciide0 channel 0: 2 targets
cd0 at atapibus0 drive 1: <CD-524EA, , 1.0A> type 5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 3, DMA mode 2
wd0 at pciide0 channel 0 drive 0: <Maxtor 90340D2>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 3242 MB, 6588 cyl, 16 head, 63 sec, 512 bytes/sect x 6640704 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
cd0(pciide0:0:1): using PIO mode 3, DMA mode 1 (using DMA data transfers)
pciide0: secondary channel configured to compatibility mode
pciide0: disabling secondary channel (no drives)
VIA Technologies VT82C586 (Apollo VP) Power Management Controller (miscellaneous prehistoric, revision 0x10)
at pci0 dev 7 function 3 not configured
vga1 at pci0 dev 10 function 0: S3 ViRGE/DX (rev. 0x01)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
ne2 at pci0 dev 11 function 0: RealTek 8029 Ethernet
ne2: Ethernet address 00:50:bf:13:9c:e0
ne2: 10base2, 10baseT, 10baseT-FDX, auto, default [0x00 0x30] auto
ne2: interrupting at irq 11
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: no ISA Plug 'n Play devices found
biomask f765 netmask ff65 ttymask ffe7
Kernelized RAIDframe activated
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
pciide0:0:0: lost interrupt
 type: ata tc_bcount: 8192 tc_skip: 0
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x61
wd0: transfer error, downgrading to Ultra-DMA mode 1
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 1 (using DMA data transfers)
cd0(pciide0:0:1): using PIO mode 3, DMA mode 1 (using DMA data transfers)
wd0e: DMA error writing fsbn 16 of 16-31 (wd0 bn 1618864; cn 1606 tn 0 sn 16), retrying
wd0: soft error (corrected)
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
_____
http://sledge.4mg.com