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

--ibTvN161/egqYuK8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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

=2E..
chip1: <Intel 82371AB Power management controller> port 0x1400-0x140f at de=
vice 1.3 on pci0
pci0: <NeoMagic MagicGraph 128XD SVGA controller> (vendor=3D0x10c8, dev=3D0=
x0004) 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   =3D 0xeb97b
fault code              =3D supervisor read, page not present
instruction pointer     =3D 0x8:0xc00eb87c
stack pointer           =3D 0x10:0xc04abd6c
frame pointer           =3D 0x10:0xc04abd6c
code segment            =3D base 0x0, limit 0xfffff, type 0x1b
                        =3D DPL 0, pres 1, def32 1, gran 1
processor eflags        =3D interrupt enabled, resume, IOPL =3D 0
current process         =3D 0 (swapper)
interrupt mask          =3D net tty bio cam
kernel: type 12 trap, code=3D0
Stopped at      0xc00eb87c:     cmpb    %cs:0x1(%esi),%bl
db>

=2E..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.

--=20
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:=20
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=20
kernel text=3D0x298b75 data=3D0x438e8+0x21aac syms=3D[0x4+0x3a610 0x4+0x400=
9e]

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

Type '?' for a list of commands, 'help' for more detailed help.
ok unload
ok load /kernel.test
kernel.test text=3D0x2a5815 data=3D0x44140+0x23e74 syms=3D[0x4+0x39c90 0x4+=
0x4030e]
ok set hw.pci.ignore_pcibios=3D1
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 =3D "AuthenticAMD"  Id =3D 0x570  Stepping =3D 0
  Features=3D0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
  AMD Features=3D0x400<<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 associat=
ive
Write Allocate Enable Limit: 128M bytes
Write Allocate 15-16M bytes: Disable
Hardware Write Allocate Control: Disable
real memory  =3D 67108864 (65536K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009efff, 647168 bytes (158 pages)
0x004b0000 - 0x03ff7fff, 62160896 bytes (15176 pages)
avail memory =3D 60727296 (59304K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00e8050
bios32: Entry =3D 0xeb320 (c00eb320)  Rev =3D 0  Len =3D 1
pcibios: PCI BIOS entry at 0x3360
pnpbios: Found PnP BIOS data at 0xc00ff020
pnpbios: Entry =3D ec000:230d  Rev =3D 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=3D0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=3D060000] [hdr=3D00] is there (id=3D71008086)
Using $PIR table, 3 entries at 0xc00fe840
npx0: <math processor> on motherboard
npx0: INT 16 interface
i586_bzero() bandwidth =3D 555864369 bytes/sec
bzero() bandwidth =3D 199203187 bytes/sec
pcib0: <Host to PCI bridge> on motherboard
found->	vendor=3D0x8086, dev=3D0x7100, revid=3D0x01
	class=3D06-00-00, hdrtype=3D0x00, mfdev=3D0
	subordinatebus=3D0 	secondarybus=3D0
found->	vendor=3D0x8086, dev=3D0x7110, revid=3D0x01
	class=3D06-01-00, hdrtype=3D0x00, mfdev=3D1
	subordinatebus=3D0 	secondarybus=3D0
found->	vendor=3D0x8086, dev=3D0x7111, revid=3D0x01
	class=3D01-01-80, hdrtype=3D0x00, mfdev=3D0
	subordinatebus=3D0 	secondarybus=3D0
	map[20]: type 1, range 32, base 00003000, size  4
found->	vendor=3D0x8086, dev=3D0x7112, revid=3D0x01
	class=3D0c-03-00, hdrtype=3D0x00, mfdev=3D0
	subordinatebus=3D0 	secondarybus=3D0
	intpin=3Dd, irq=3D0
found->	vendor=3D0x8086, dev=3D0x7113, revid=3D0x01
	class=3D06-80-00, hdrtype=3D0x00, mfdev=3D0
	subordinatebus=3D0 	secondarybus=3D0
	map[90]: type 1, range 32, base 00001400, size  4
found->	vendor=3D0x10c8, dev=3D0x0004, revid=3D0x01
	class=3D03-00-00, hdrtype=3D0x00, mfdev=3D0
	subordinatebus=3D0 	secondarybus=3D0
	intpin=3Da, irq=3D255
	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=3D0x104c, dev=3D0xac15, revid=3D0x01
	class=3D06-07-00, hdrtype=3D0x02, mfdev=3D1
	subordinatebus=3D0 	secondarybus=3D0
	intpin=3Da, irq=3D255
found->	vendor=3D0x104c, dev=3D0xac15, revid=3D0x01
	class=3D06-07-00, hdrtype=3D0x02, mfdev=3D1
	subordinatebus=3D0 	secondarybus=3D0
	intpin=3Db, irq=3D255
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=3D0x01f0 altiobase=3D0x03f6 bmaddr=3D0x3000
ata0: mask=3D03 status0=3D50 status1=3D00
ata0: mask=3D03 ostat0=3D50 ostat2=3D00
ata0-master: ATAPI probe a=3D00 b=3D00
ata0-slave: ATAPI probe a=3D00 b=3D00
ata0: mask=3D03 status0=3D50 status1=3D00
ata0-master: ATA probe a=3D01 b=3Da5
ata0: devices=3D01
ata0: at 0x1f0 irq 14 on atapci0
ata1: iobase=3D0x0170 altiobase=3D0x0376 bmaddr=3D0x3008
ata1: mask=3D03 status0=3D51 status1=3D7f
ata1: mask=3D03 ostat0=3D51 ostat2=3D7f
ata1-master: ATAPI probe a=3D14 b=3Deb
ata1-slave: ATAPI probe a=3D7f b=3D7f
ata1: mask=3D03 status0=3D00 status1=3D7f
ata1-slave: ATA probe a=3D7f b=3D7f
ata1: devices=3D04
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 de=
vice 1.3 on pci0
pci0: <NeoMagic MagicGraph 128XD SVGA controller> (vendor=3D0x10c8, dev=3D0=
x0004) 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	=3D 0xeb97b
fault code		=3D supervisor read, page not present
instruction pointer	=3D 0x8:0xc00eb87c
stack pointer	        =3D 0x10:0xc04abd6c
frame pointer	        =3D 0x10:0xc04abd6c
code segment		=3D base 0x0, limit 0xfffff, type 0x1b
			=3D DPL 0, pres 1, def32 1, gran 1
processor eflags	=3D interrupt enabled, resume, IOPL =3D 0
current process		=3D 0 (swapper)
interrupt mask		=3D net tty bio cam=20
kernel: type 12 trap, code=3D0
Stopped at      0xc00eb87c:     cmpb    %cs:0x1(%esi),%bl
db>=20


--ibTvN161/egqYuK8
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: FreeBSD: The Power To Serve

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

--ibTvN161/egqYuK8--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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