Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Aug 2001 16:04:47 -0400
From:      Chris Faulhaber <jedgar@fxp.org>
To:        Warner Losh <imp@FreeBSD.org>
Cc:        freebsd-stable@FreeBSD.org
Subject:   Laptop PCI bios woes
Message-ID:  <20010819160447.A69807@sushi.wanmine.com>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
After the PCI bios merge into -stable, my old CTX laptop boots with
the following (full boot -v below)...

...
chip1: <Intel 82371AB Power management controller> port 0x1400-0x140f at device 1.3 on pci0
pci0: <NeoMagic MagicGraph 128XD SVGA controller> (vendor=0x10c8, dev=0x0004) at 8.0
pcib0: intreq
pci_cfgintr_unique: hard-routed to irq 9


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xeb97b
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc00eb87c
stack pointer           = 0x10:0xc04abd6c
frame pointer           = 0x10:0xc04abd6c
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 0 (swapper)
interrupt mask          = net tty bio cam
kernel: type 12 trap, code=0
Stopped at      0xc00eb87c:     cmpb    %cs:0x1(%esi),%bl
db>

...no difference with or without the ignore_pcibios patch
(no-hang.diff.4).

Other than the occasional 'ed1: device timeout', the laptop
is happily running 4.3-20010810-STABLE.

This laptop currently serves no useful purpose and can be
used for debugging if need be.

-- 
Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org
--------------------------------------------------------
FreeBSD: The Power To Serve   -   http://www.FreeBSD.org

(twirly characters removed)

>> FreeBSD/i386 BOOT
Default: 0:ad(0,a)/boot/loader
boot: 
Console: serial port
BIOS drive A: is disk0
BIOS drive C: is disk1
BIOS 639kB/64512kB available memory

FreeBSD/i386 bootstrap loader, Revision 0.8
(root@usw3.freebsd.org, Fri Aug 10 10:49:12 GMT 2001)
Loading /boot/defaults/loader.conf 
kernel text=0x298b75 data=0x438e8+0x21aac syms=[0x4+0x3a610 0x4+0x4009e]

Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [kernel] in 9 seconds... 

Type '?' for a list of commands, 'help' for more detailed help.
ok unload
ok load /kernel.test
kernel.test text=0x2a5815 data=0x44140+0x23e74 syms=[0x4+0x39c90 0x4+0x4030e]
ok set hw.pci.ignore_pcibios=1
ok boot -v
Copyright (c) 1992-2001 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 4.4-RC #2: Sun Aug 19 15:47:18 EDT 2001
    jedgar@droopy.wanmine.com:/usr/home/jedgar/work/src/sys/compile/GENERIC
Calibrating clock(s) ... TSC clock: 232074716 Hz, i8254 clock: 1193025 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254"  frequency 1193182 Hz
CLK_USE_TSC_CALIBRATION not specified - using old calibration method
CPU: AMD-K6tm w/ multimedia extensions (232.11-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x570  Stepping = 0
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
  AMD Features=0x400<<b10>>
Data TLB: 128 entries, 2-way associative
Instruction TLB: 64 entries, 1-way associative
L1 data cache: 32 kbytes, 32 bytes/line, 2 lines/tag, 2-way associative
L1 instruction cache: 32 kbytes, 32 bytes/line, 2 lines/tag, 2-way associative
Write Allocate Enable Limit: 128M bytes
Write Allocate 15-16M bytes: Disable
Hardware Write Allocate Control: Disable
real memory  = 67108864 (65536K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009efff, 647168 bytes (158 pages)
0x004b0000 - 0x03ff7fff, 62160896 bytes (15176 pages)
avail memory = 60727296 (59304K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00e8050
bios32: Entry = 0xeb320 (c00eb320)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0x3360
pnpbios: Found PnP BIOS data at 0xc00ff020
pnpbios: Entry = ec000:230d  Rev = 1.0
pnpbios: Event flag at ec01e
pnpbios: OEM ID 8224744e
Other BIOS signatures found:
ACPI: 00000000
Preloaded elf kernel "kernel.test" at 0xc048a000.
md0: Malloc disk
Creating DISK md0
Math emulator present
PCI code ignoring PCIbios entry
pci_open(1):	mode 1 addr port (0x0cf8) is 0x80000880
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=71008086)
Using $PIR table, 3 entries at 0xc00fe840
npx0: <math processor> on motherboard
npx0: INT 16 interface
i586_bzero() bandwidth = 555864369 bytes/sec
bzero() bandwidth = 199203187 bytes/sec
pcib0: <Host to PCI bridge> on motherboard
found->	vendor=0x8086, dev=0x7100, revid=0x01
	class=06-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
found->	vendor=0x8086, dev=0x7110, revid=0x01
	class=06-01-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
found->	vendor=0x8086, dev=0x7111, revid=0x01
	class=01-01-80, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	map[20]: type 1, range 32, base 00003000, size  4
found->	vendor=0x8086, dev=0x7112, revid=0x01
	class=0c-03-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=d, irq=0
found->	vendor=0x8086, dev=0x7113, revid=0x01
	class=06-80-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	map[90]: type 1, range 32, base 00001400, size  4
found->	vendor=0x10c8, dev=0x0004, revid=0x01
	class=03-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=255
	map[10]: type 1, range 32, base c0000000, size 24
	map[14]: type 1, range 32, base c1000000, size 21
	map[18]: type 1, range 32, base c1200000, size 20
found->	vendor=0x104c, dev=0xac15, revid=0x01
	class=06-07-00, hdrtype=0x02, mfdev=1
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=255
found->	vendor=0x104c, dev=0xac15, revid=0x01
	class=06-07-00, hdrtype=0x02, mfdev=1
	subordinatebus=0 	secondarybus=0
	intpin=b, irq=255
pci0: <PCI bus> on pcib0
isab0: <Intel 82371AB PCI to ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0x3000-0x300f at device 1.1 on pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x3000
ata0: mask=03 status0=50 status1=00
ata0: mask=03 ostat0=50 ostat2=00
ata0-master: ATAPI probe a=00 b=00
ata0-slave: ATAPI probe a=00 b=00
ata0: mask=03 status0=50 status1=00
ata0-master: ATA probe a=01 b=a5
ata0: devices=01
ata0: at 0x1f0 irq 14 on atapci0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x3008
ata1: mask=03 status0=51 status1=7f
ata1: mask=03 ostat0=51 ostat2=7f
ata1-master: ATAPI probe a=14 b=eb
ata1-slave: ATAPI probe a=7f b=7f
ata1: mask=03 status0=00 status1=7f
ata1-slave: ATA probe a=7f b=7f
ata1: devices=04
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> irq 0 at device 1.2 on pci0
uhci0: Could not map ports
device_probe_and_attach: uhci0 attach returned 6
chip1: <Intel 82371AB Power management controller> port 0x1400-0x140f at device 1.3 on pci0
pci0: <NeoMagic MagicGraph 128XD SVGA controller> (vendor=0x10c8, dev=0x0004) at 8.0
pcib0: intreq
pci_cfgintr_unique: hard-routed to irq 9


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0xeb97b
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc00eb87c
stack pointer	        = 0x10:0xc04abd6c
frame pointer	        = 0x10:0xc04abd6c
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 0 (swapper)
interrupt mask		= net tty bio cam 
kernel: type 12 trap, code=0
Stopped at      0xc00eb87c:     cmpb    %cs:0x1(%esi),%bl
db> 


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: FreeBSD: The Power To Serve

iEYEARECAAYFAjuAG98ACgkQObaG4P6BelDbXACfeS8i+q4uxaq7BlHSFZWaDw50
998AninwjJwetw20ZulIJOBjSH62YXW1
=BbLd
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010819160447.A69807>