[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kernel/1539: laptop freezes at boot




>Number:         1539
>Category:       kernel
>Synopsis:       laptop freezes at boot
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec  2 02:10:01 MST 2000
>Last-Modified:
>Originator:     lair
>Organization:
net
>Release:        2.8
>Environment:
	
	System      : OpenBSD 2.8
	Architecture: OpenBSD.i386
	Machine     : i386
>Description:
	
	I've sent this in before, but here goes:
	Upon boot, the GENERIC kernel freezes once it configures "Neomagic
	MagicMedia 256AV".  It stops exactly after it configures the neo0
	driver, and doesn't report anything afterwards, even when specifying
	verbose in the UKC at boot.  I tried disabling pcibios but that didn't
	help, as Theo suggested in <http://x62.deja.com/threadmsg_ct.xp?AN=694830261.1&mhitnum=4&CONTEXT=975744436.344522778>
	I have attached the various dmesg's.

	Regular, GENERIC boot (freezes):

	OpenBSD 2.8 (GENERIC) #399: Mon Nov  6 10:59:23 MST 2000
	    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
	cpu0: Intel Pentium II (Celeron) ("GenuineIntel" 686-class, 128KB L2 cache) 397 MHz
	cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SYS,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
	real mem  = 267956224 (261676K)
	avail mem = 243445760 (237740K)
	using 3296 buffers containing 13500416 bytes (13184K) of memory
	mainbus0 (root)
	bios0 at mainbus0: AT/286+(4a) BIOS, date 11/30/99, BIOS32 rev. 0 @ 0xfd7f0
	apm0 at bios0: Power Management spec V1.2
	apm0: battery life expectancy 100%
	apm0: AC on, battery charge high, estimated 3:20 hours
	pcibios0 at bios0: rev. 2.1 found at 0xfd7f0[0x810]
	pcibios0: PCI IRQ Routing Table rev. 1.0 found at 0xfdf80, size 96 bytes (4 entries)
	pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371FB (Triton) PCI-ISA" rev 0x00)
	pcibios0: PCI bus #3 is the last bus
	WARNING: can't reserve area for I/O APIC.
	pci_addr_fixup: 000:04:0 0x104c 0xac17 new address 0x10000000
	pci_addr_fixup: 000:04:1 0x104c 0xac17 new address 0x10001000
	pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
	pchb0 at pci0 dev 0 function 0 "Intel 82443BX PCI-AGP" rev 0x03
	ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x03
	pci1 at ppb0 bus 1
	"Neomagic Magicgraph NM2200" rev 0x12 at pci1 dev 0 function 0 not configured
	neo0 at pci1 dev 0 function 1 "Neomagic MagicMedia 256AV" rev 0x12: irq 11
	(freeze)

	After enabling verbose in UKC (freezes also):
	(same as above but with probes)
	.
	.
	.
	>>> neo probe won
	neo0 at pci1 dev 0 function 1 "Neomagic MagicMedia 256AV" rev 0x12: irq 11
	(freeze)

	After disabling pcibios (freezes):

	OpenBSD 2.8 (GENERIC) #399: Mon Nov  6 10:59:23 MST 2000
	    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
	cpu0: Intel Pentium II (Celeron) ("GenuineIntel" 686-class, 128KB L2 cache) 397 MHz
	cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SYS,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
	real mem  = 267956224 (261676K)
	avail mem = 243445760 (237740K)
	using 3296 buffers containing 13500416 bytes (13184K) of memory
	User Kernel Config
	UKC> disable pcibios
	168 pcibios0 disabled
	UKC> quit
	Continuing...
	mainbus0 (root)
	bios0 at mainbus0: AT/286+(4a) BIOS, date 11/30/99, BIOS32 rev. 0 @ 0xfd7f0
	apm0 at bios0: Power Management spec V1.2
	apm0: battery life expectancy 100%
	apm0: AC on, battery charge high, estimated 3:20 hours
	pcibios at bios0 function 0x1a not configured
	pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
	pchb0 at pci0 dev 0 function 0 "Intel 82443BX PCI-AGP" rev 0x03
	ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x03
	pci1 at ppb0 bus 1
	"Neomagic Magicgraph NM2200" rev 0x12 at pci1 dev 0 function 0 not configured
	neo0 at pci1 dev 0 function 1 "Neomagic MagicMedia 256AV" rev 0x12: irq 11
        (freeze)

	After disabling neo (works):

	OpenBSD 2.8 (GENERIC) #399: Mon Nov  6 10:59:23 MST 2000
	    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
	cpu0: Intel Pentium II (Celeron) ("GenuineIntel" 686-class, 128KB L2 cache) 397 MHz
	cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SYS,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
	real mem  = 267956224 (261676K)
	avail mem = 243445760 (237740K)
	using 3296 buffers containing 13500416 bytes (13184K) of memory
	User Kernel Config
	UKC> disable neo
	51 neo* disabled
	UKC> quit
	Continuing...
	mainbus0 (root)
	bios0 at mainbus0: AT/286+(4a) BIOS, date 11/30/99, BIOS32 rev. 0 @ 0xfd7f0
	apm0 at bios0: Power Management spec V1.2
	apm0: battery life expectancy 100%
	apm0: AC on, battery charge high, estimated 3:20 hours
	pcibios0 at bios0: rev. 2.1 found at 0xfd7f0[0x810]
	pcibios0: PCI IRQ Routing Table rev. 1.0 found at 0xfdf80, size 96 bytes (4 entries)
	pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371FB (Triton) PCI-ISA" rev 0x00)
	pcibios0: PCI bus #3 is the last bus
	WARNING: can't reserve area for I/O APIC.
	pci_addr_fixup: 000:04:0 0x104c 0xac17 new address 0x10000000
	pci_addr_fixup: 000:04:1 0x104c 0xac17 new address 0x10001000
	pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
	pchb0 at pci0 dev 0 function 0 "Intel 82443BX PCI-AGP" rev 0x03
	ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x03
	pci1 at ppb0 bus 1
	"Neomagic Magicgraph NM2200" rev 0x12 at pci1 dev 0 function 0 not configured
	"Neomagic MagicMedia 256AV" rev 0x12 at pci1 dev 0 function 1 not configured
	cbb0 at pci0 dev 4 function 0 "Texas Instruments PCI1220 PCI-CardBus" rev 0x02
	cbb1 at pci0 dev 4 function 1 "Texas Instruments PCI1220 PCI-CardBus" rev 0x02
	pcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
	pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE (PIIX4)" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
	wd0 at pciide0 channel 0 drive 0: <FUJITSU MHH2064AT>
	wd0: can use 32-bit, PIO mode 4, DMA mode 2, Ultra-DMA mode 2
	wd0: 16-sector PIO, LBA, 6194MB, 13424 cyl, 15 head, 63 sec, 12685680 sectors
	pciide0: channel 0 interrupting at irq 14
	wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
	atapiscsi0 at pciide0 channel 1
	scsibus0 at atapiscsi0: 2 targets
	cd0 at scsibus0 targ 0 lun 0: <TOSHIBA, CD-ROM XM-1902B, 1A14> SCSI0 5/cdrom removable
	cd0: can use 32-bit, PIO mode 4, DMA mode 2
	pciide0: channel 1 interrupting at irq 15
	cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
	"Intel 82371AB USB (PIIX4)" rev 0x01 at pci0 dev 7 function 2 not configured
	"Intel 82371AB Power Management (PIIX4)" rev 0x02 at pci0 dev 7 function 3 not configured
	cbb0: irq 10
	cardslot0 at cbb0 slot 0 flags 0
	cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x20
	pcmcia0 at cardslot0
	cbb1: irq 10
	cardslot1 at cbb1 slot 1 flags 0
	cardbus1 at cardslot1: bus 3 device 0 cacheline 0x0, lattimer 0x20
	pcmcia1 at cardslot1
	isa0 at pcib0
	isadma0 at isa0
	sb0 at isa0 port 0x220/24 irq 5 drq 1: dsp v3.01
	midi0 at sb0: <SB MIDI UART>
	audio0 at sb0
	opl0 at sb0: model OPL3
	midi1 at opl0: <SB Yamaha OPL3>
	wss0: irq 10 already in use
	pcppi0 at isa0 port 0x61
	midi2 at pcppi0: <PC speaker>
	sysbeep0 at pcppi0
	npx0 at isa0 port 0xf0/16: using exception 16
	vt0 at isa0 port 0x60/16 irq 1: vga 80 col, color, 8 scr, mf2-kbd
	pms0 at vt0 irq 12
	fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
	fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
	biomask c440 netmask c440 ttymask d442
	pctr: 686-class user-level performance counters enabled
	mtrr: Pentium Pro MTRR support
	dkcsum: wd0 matched BIOS disk 80
	root on wd0a
	rootdev=0x0 rrootdev=0x300 rawdev=0x302
	dc0 at cardbus0 dev 0 function 0 irq 10 address 00:10:a4:08:d4:5e
	tqphy0 at dc0 phy 0: 78Q2120 10/100 media interface, rev. 10
	Xircom, CardBus Ethernet 10/100 + Modem 56, CBEM56G, 1.03 (manufacturer 0x105, product 0x1000) vendor "Xircom", unknown product 0x103 (class communications, subclass serial, rev 0x03) at cardbus0 dev 0 function 1 not configured
	(manufacturer 0x0, product 0x0) vendor "Adaptec", unknown product 0x6075 (class mass storage, subclass SCSI, rev 0x03) at cardbus1 dev 0 function 0 not configured

>How-To-Repeat:
	
	Booting an Inspiron 3500 with GENERIC kernel.  However, I've had
	similar experience with older, custom kernels.
>Fix:
	
	Enter UKC at boot and 'disable neo' works for me.  Disabling pcibios
	doesn't work for me.

>Audit-Trail:
>Unformatted: