NetBSD Problem Report #37746

From martin@duskware.de  Sat Jan 12 16:08:23 2008
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 0E6D863B938
	for <gnats-bugs@gnats.netbsd.org>; Sat, 12 Jan 2008 16:08:23 +0000 (UTC)
Message-Id: <20080112160744.93A6B63B938@narn.NetBSD.org>
Date: Sat, 12 Jan 2008 16:07:44 +0000 (UTC)
From: anon-netbsd-pr@daprile.net
Reply-To: anon-netbsd-pr@daprile.net
To: netbsd-bugs-owner@NetBSD.org
Subject: AGP driver  initialization causes kernel to reboot with SIS 662 chipset
X-Send-Pr-Version: www-1.0

>Number:         37746
>Category:       kern
>Synopsis:       AGP driver  initialization causes kernel to reboot with SIS 662 chipset
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 12 16:10:01 +0000 2008
>Last-Modified:  Tue Jun 06 01:30:01 +0000 2017
>Originator:     Gianni D'Aprile
>Release:        NetBSD-current 4.99.42
>Organization:
>Environment:
NetBSD pinga.daprile.net 4.99.42 NetBSD 4.99.42 (PINGA) #8: Sat Dec 15 13:42:21 CST 2007  toor@pinga.daprile.net:/usr/obj/usr/src/sys/arch/i386/compile/PINGA i386
>Description:
netbsd-INSTALL kernel boots to multi-user for both I386 and AMD64 ports.  netbsd-GENERIC reboots before single-user mode is reached for both I386 and AMD64 ports.

I have attached a DMESG of my system fully booted with netbsd-GENERIC and agp driver disabled.

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 4.99.42 (GENERIC) #8: Sat Dec 15 13:42:21 CST 2007
        toor@pinga.daprile.net:/usr/obj/usr/src/sys/arch/i386/compile/GENERIC
total memory = 986 MB
avail memory = 956 MB
timecounter: Timecounters tick every 10.000 msec
userconf: configure system autoconfiguration:
uc> disable agp
[337] agp* disabled
uc> exit
Continuing...
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
SMBIOS rev. 2.4 @ 0xe4da0 (23 entries)
                                                                  (                        )
mainbus0 (root)
cpu0 at mainbus0 apid 0: (boot processor)
cpu0: Intel Celeron (Mendocino) (686-class), 1200.11 MHz, id 0x10661
cpu0: features afebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features afebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu0: features afebfbff<FXSR,SSE,SSE2,SS,TM,SBF>
cpu0: features2 e31d<SSE3,MONITOR,DS-CPL,TM2,xTPR,PDCM>
cpu0: "Intel(R) Celeron(R) CPU          220  @ 1.20GHz"
cpu0: I-cache 32 KB 64B/line 8-way, D-cache 32 KB 64B/line 8-way
cpu0: ITLB 128 4 KB entries 4-way
cpu0: using thermal monitor 1
cpu0: calibrating local timer
cpu0: apic clock running at 133 MHz
timecounter: Timecounter "lapic" frequency 133338049 Hz quality 2100
ioapic0 at mainbus0 apid 4: pa 0xfec00000, version 14, 24 pins
acpi0 at mainbus0: Advanced Configuration and Power Interface
acpi0: using Intel ACPI CA subsystem version 20070320
acpi0: X/RSDT: OemId <      ,        ,00000000>, AslId <    ,00000000>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
ACPI-Fast 24-bit timer
CPU0 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
CPU1 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
CPU2 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
CPU3 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
PCI0 (PNP0A03) [PCI/PCI-X Host Bridge] at acpi0 not configured
PIC (PNP0000) [AT Interrupt Controller] at acpi0 not configured
DMAD (PNP0200) [AT DMA Controller] at acpi0 not configured
attimer1 at acpi0 (TMR, PNP0100): AT Timer
attimer1: io 0x40-0x43 irq 0
RTC0 (PNP0B00) [AT Real-Time Clock] at acpi0 not configured
pckbc1 at acpi0 (PS2K, PNP0303): kbd port
pckbc1: io 0x60,0x64 irq 1
pckbc2 at acpi0 (PS2M, PNP0F03): aux port
pckbc2: irq 12
pcppi1 at acpi0 (SPKR, PNP0800)
pcppi1: io 0x61
midi0 at pcppi1: PC speaker (CPU-intensive output)
sysbeep0 at pcppi1
npx1 at acpi0 (COPR, PNP0C04)
npx1: io 0xf0-0xff irq 13
npx1: reported by CPUID; using exception 16
LPTE (PNP0400) [Standard LPT printer port] at acpi0 not configured
SYSR (PNP0C02) [Plug and Play motherboard register resources] at acpi0 not configured
MEM (PNP0C01) [System Board] at acpi0 not configured
UAR2 (PNP0501) [16550A-compatible COM port] at acpi0 not configured
acpibut0 at acpi0 (PWRB, PNP0C0C-170): ACPI Power Button
LNKA (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
LNKB (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
LNKC (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
LNKD (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
LNKE (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
LNKF (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
LNKG (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
LNKH (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
apm0 at acpi0: Power Management spec V1.2
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pcppi1: attached to attimer1
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: Silicon Integrated System product 0x0662 (rev. 0x01)
agp at pchb0 not configured
ppb0 at pci0 dev 1 function 0: Silicon Integrated System product 0x0003 (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
vga1 at pci1 dev 0 function 0: Silicon Integrated System product 0x6330 (rev. 0x04)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
direct rendering for vga1 unsupported
pcib0 at pci0 dev 2 function 0
pcib0: Silicon Integrated System 964 Host Bridge (rev. 0x36)
siside0 at pci0 dev 2 function 5
siside0: Silicon Integrated Systems 964 IDE controller (rev. 0x01)
siside0: bus-master DMA support present
siside0: primary channel wired to compatibility mode
siside0: primary channel interrupting at ioapic0 pin 14 (irq 14)
atabus0 at siside0 channel 0
siside0: secondary channel wired to compatibility mode
siside0: secondary channel interrupting at ioapic0 pin 15 (irq 15)
atabus1 at siside0 channel 1
auich0 at pci0 dev 2 function 7: SiS 7012 AC-97 Audio
auich0: interrupting at ioapic0 pin 18 (irq 11)
auich0: ac97: Analog Devices AD1888 codec; headphone, 20 bit DAC, no 3D stereo
auich0: ac97: ext id 3c3<AMAP,LDAC,SDAC,CDAC,DRA,VRA>
ohci0 at pci0 dev 3 function 0: Silicon Integrated System 5597/5598 USB host controller (rev. 0x0f)
ohci0: can't map mem space
ohci1 at pci0 dev 3 function 1: Silicon Integrated System 5597/5598 USB host controller (rev. 0x0f)
ohci1: can't map mem space
ohci2 at pci0 dev 3 function 2: Silicon Integrated System 5597/5598 USB host controller (rev. 0x0f)
ohci2: can't map mem space
ehci0 at pci0 dev 3 function 3: Silicon Integrated System 7002 USB 2.0 host controller (rev. 0x00)
ehci0: can't map memory space
sip0 at pci0 dev 4 function 0: SiS 900 10/100 Ethernet, rev 0x91
sip0: interrupting at ioapic0 pin 19 (irq 11)
sip0: Ethernet address 00:1c:c0:07:cd:95
ukphy0 at sip0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000af7, model 0x0007, rev. 1
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
siside1 at pci0 dev 5 function 0
siside1: Silicon Integrated Systems 180/96X SATA controller (rev. 0x01)
siside1: bus-master DMA support present
siside1: primary channel wired to native-PCI mode
siside1: using ioapic0 pin 17 (irq 10) for native-PCI interrupt
atabus2 at siside1 channel 0
siside1: secondary channel wired to native-PCI mode
atabus3 at siside1 channel 1
ath0 at pci0 dev 6 function 0
ath0: interrupting at ioapic0 pin 17 (irq 10)
ath0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ath0: turboA rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ath0: mac 5.6 phy 4.1 5 GHz radio 1.7 2 GHz radio 2.3
ppb1 at pci0 dev 31 function 0: Silicon Integrated System product 0x0004 (rev. 0x00)
pci2 at ppb1 bus 2
pci2: no spaces enabled!
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
isapnp0: no ISA Plug 'n Play devices found
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
auich0: measured ac97 link rate at 48000 Hz
audio0 at auich0: full duplex, mmap, independent
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio1 at pad0: half duplex
IPsec: Initialized Security Association Processing.
wd0 at atabus0 drive 0: <IC35L120AVV207-0>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 115 GB, 239340 cyl, 16 head, 63 sec, 512 bytes/sect x 241254720 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd1 at atabus0 drive 1: <Maxtor 5A250J0>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
wd1: 233 GB, 486344 cyl, 16 head, 63 sec, 512 bytes/sect x 490234752 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(siside0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
wd1(siside0:0:1): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
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)


>How-To-Repeat:
Boot stock GENERIC on Intel D201GLY2 (and probably also D201GLY and D201GLY2A) motherboard.  Same behavior for both I386 and AMD64 ports.
>Fix:
A workaround is to issue a boot -c in the bootloader and disable agp the device configuration manager.

>Audit-Trail:
From: coypu@sdf.org
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/37746: AGP driver  initialization causes kernel to reboot
 with SIS 662 chipset
Date: Tue, 6 Jun 2017 01:29:17 +0000

 the version of sisdrm in netbsd is using the old drm code.
 since we can't have old drm and new drm at the same time, the sisdrm
 driver was disabled by default in 7.0.
 there's a new drm driver, but not tied into the build as far as I can
 tell

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.