Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Aug 2000 13:18:11 +0200
From:      Andreas Klemm <andreas@klemm.gtn.com>
To:        freebsd-stable@freebsd.org
Subject:   4.1-STABLE panics on boot with Huyundai Laptop (P233)
Message-ID:  <20000823131811.A4418@titan.klemm.gtn.com>

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

--yrj/dFKFPuw6o+aM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

My Laptop only runs on FreeBSD 3.x.
FreeBSD 4.0 4.1 4.1-STABLE 5.0-current -> only panic on boot.

I compiled a kernel with DDB support.

This are the last messages on screen:

pci0: <PCI bus> on pcib0
isab0: <SiS 85c503 PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Generic PCI ATA controller> port 0x3f4-0x3f7,0x374-0x377,0x1f4-0x1f7,0x174-0x177 at device 1.1 on pci0
atapci0: Busmasterinf DMA not supported
ata-: ata2 exists, using next available unit number
panic: resource_list_alloc: resource entry is busy
Debugger<"panic">

trace shows the kernel functions that have been called so far.

Debugger(...) at Debugger+0x34
panic(...) at panic+0x70
resource_list_alloc(...)
pci_alloc_resource(...)
BUS_ALLOC_RESOURCE(...)
ata_pci_alloc_resource(...)
BUS_ALLOC_RESOURCE(...)
bus_alloc_resource(...)
ata_probe(...)
ata_pcisub_probe(...)
DEVICE_PROBE(...)
device_probe_child(...)
device_probe_and_attach(...)
bus_generic_attach(...)
ata_pci_attach(...)
DEVICE_ATTACH(...)
device_probe_and_attach(...)
bus_generic_attach(...)
DEVICE_ATTACH(...)
device_probe_and_attach(...)
bus_generic_attach(...)
DEVICE_ATTACH(...)
device_probe_and_attach(...)
bus_generic_attach(...)
nexus_attach(...)
DEVICE_ATTACH(...)
device_probe_and_attach(...)
root_bus_configure(...)
configure(...)
mi_startup(...)
begin(...)


In the attachement a session of booting FreeBSD 3.5-STABLE
with boot_verbose and the kernel profile.

Hope you can help.

-- 
Andreas Klemm                                           Powered by FreeBSD SMP
Songs from our band >>64Bits<<............http://www.apsfilter.org/64bits.html
My homepage................................ http://people.FreeBSD.ORG/~andreas
Please note: Apsfilter got a NEW HOME................http://www.apsfilter.org/

--yrj/dFKFPuw6o+aM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="LAPTOP.dmesg"

 the University of California. All rights reserved.
FreeBSD 3.5-STABLE #1: Wed Aug 23 12:12:27 CEST 2000
    root@laptop.klemm.gtn.com:/usr/src/sys/compile/LAPTOP
Calibrating clock(s) ... TSC clock: 232524334 Hz, i8254 clock: 1193168 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: Pentium/P55C (232.53-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x543  Stepping = 3
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory  = 67108864 (65536K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009efff, 647168 bytes (158 pages)
0x002d3000 - 0x03ffdfff, 64139264 bytes (15659 pages)
avail memory = 62328832 (60868K bytes)
Found BIOS32 Service Directory header at 0xc00ec050
Entry = 0xee600 (0xc00ee600)  Rev = 0  Len = 1
PCI BIOS entry at 0x263e
Other BIOS signatures found:
ACPI: 00000000
$PnP: 000ff000
Preloaded elf kernel "kernel.ok" at 0xc02be000.
pci_open(1):	mode 1 addr port (0x0cf8) is 0x80000068
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=04061039)
Probing for devices on PCI bus 0:
found->	vendor=0x1039, dev=0x0406, revid=0x00
	class=06-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
chip0: <SiS 85c501> rev 0x00 on pci0.0.0
found->	vendor=0x1039, dev=0x0008, revid=0x01
	class=06-01-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
chip1: <SiS 85c503> rev 0x01 on pci0.1.0
found->	vendor=0x1039, dev=0x0601, revid=0x01
	class=01-01-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
	map[0]: type 4, range 32, base 00000174, size  2
	map[1]: type 4, range 32, base 000001f4, size  2
	map[2]: type 4, range 32, base 00000374, size  2
	map[3]: type 4, range 32, base 000003f4, size  2
chip2: <SiS 85c601> rev 0x01 on pci0.1.1
found->	vendor=0x1023, dev=0x9660, revid=0xd3
	class=03-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=255
	map[0]: type 1, range 32, base 08000000, size 22
	map[1]: type 1, range 32, base 08800000, size 16
	map[2]: type 1, range 32, base 08400000, size 22
vga0: <Trident model 9660 VGA-compatible display device> rev 0xd3 int a irq 255 on pci0.6.0
found->	vendor=0x119b, dev=0x1221, revid=0x02
	class=06-05-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=0
	map[0]: type 4, range 32, base 000003e0, size  2
chip3: <PCI to PCMCIA bridge (vendor=119b device=1221)> rev 0x02 int a irq 0 on pci0.13.0
found->	vendor=0x119b, dev=0x1221, revid=0x02
	class=06-05-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=0
	map[0]: type 4, range 32, base 000003e4, size  2
chip4: <PCI to PCMCIA bridge (vendor=119b device=1221)> rev 0x02 int a irq 0 on pci0.14.0
Initializing PnP override table
Probing for PnP devices:
Trying Read_Port at 203
Trying Read_Port at 243
Trying Read_Port at 283
Trying Read_Port at 2c3
Trying Read_Port at 303
Trying Read_Port at 343
Trying Read_Port at 383
Trying Read_Port at 3c3
No Plug-n-Play devices were found
Probing for devices on the ISA bus:
atkbd: the current kbd controller command byte 0067
atkbd: keyboard ID 0x41ab (2)
kbdc: RESET_KBD return code:00fa
kbdc: RESET_KBD status:00aa
sc0 on isa
sc0: fb0 kbd0
sc0: VGA color <8 virtual consoles, flags=0x0>
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000
psm0: current command byte:0067
kbdc: TEST_AUX_PORT status:0000
kbdc: RESET_AUX return code:00fa
kbdc: RESET_AUX status:00aa
kbdc: RESET_AUX ID:0000
psm: status 00 02 64
psm: status 1c 03 3c
psm: status 1c 03 3c
psm: status 1c 03 3c
psm: data 08 00 00
psm: status 10 00 64
psm: status 00 02 64
psm: data 08 00 00
psm: status 00 02 64
psm0 irq 12 on isa
psm0: APM hooks installed.
psm0: model Generic PS/2 mouse, device ID 0-00, 3 buttons
psm0: config:00000000, flags:00000000, packet size:3
psm0: syncmask:c0, syncbits:00
sio0: irq maps: 0x9 0x19 0x9 0x9
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1: irq maps: 0x1 0x9 0x1 0x1
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
mss_probe: no address supplied, try default 0x530
mss_detect error, busy still set (0xff)
sb_probe: no address supplied, try defaults (0x220,0x240)
pcm0 at 0x220 irq 5 drq 1 on isa
ESS1868 (rev 11)
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <HITACHI_DK237A-32>
wd0: 3102MB (6354432 sectors), 6304 cyls, 16 heads, 63 S/T, 512 B/S
wd0: ATA INQUIRE valid = 0007, dmamword = 0407, apio = 0003, udma = 0007
wdc1 at 0x170-0x177 irq 15 on isa
wdc1: unit 0 (atapi): <CD-220EA/1.0A>, removable, accel, ovlap, dma, iordis
wdc1: ATAPI CD-ROMs not configured
ppc: parallel port found at 0x378
ppc: chipset forced to generic
ppc0: EPP SPP
ppc0 at 0x378 irq 7 flags 0x40 on isa
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
ppi0: <generic parallel i/o> on ppbus 0
xe0 not found
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
fb0: vga0, vga, type:VGA (5), flags:0x7007f
fb0: port:0x3b0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xc00b8000 size:32k gran:32k, buf:0x0 size:0k
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 07 80 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
EGA/VGA parameters to be used for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
npx0 on motherboard
npx0: INT 16 interface
i586_bzero() bandwidth = 641436818 bytes/sec
bzero() bandwidth = 331564986 bytes/sec
apm0: disabled, not probed.
imasks: bio c008c040, tty c003103a, net c0060080
	device combination doesn't support shared irq3
	intr_connect(irq3) failed, result=-1
	device combination doesn't support shared irq4
	intr_connect(irq4) failed, result=-1
	device combination doesn't support shared irq5
	intr_connect(irq5) failed, result=-1
	device combination doesn't support shared irq7
	intr_connect(irq7) failed, result=-1
	device combination doesn't support shared irq12
	intr_connect(irq12) failed, result=-1
	device combination doesn't support shared irq14
	intr_connect(irq14) failed, result=-1
	device combination doesn't support shared irq15
	intr_connect(irq15) failed, result=-1
PC-Card VLSI 82C146 (5 mem & 2 I/O windows)
pcic: controller irq 9
Initializing PC-card drivers: xe sio
BIOS Geometries:
 0:03127f3f 0..786=787 cylinders, 0..127=128 heads, 1..63=63 sectors
 1:03feff00 0..1022=1023 cylinders, 0..255=256 heads, 1..0=0 sectors
 2:03fdfe3f 0..1021=1022 cylinders, 0..254=255 heads, 1..63=63 sectors
 3:03fe0200 0..1022=1023 cylinders, 0..2=3 heads, 1..0=0 sectors
 0 accounted for
Device configuration finished.
Intel Pentium detected, installing workaround for F00F bug
IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to deny, logging limited to 100 packets/entry by default
bpf: lo0 attached
DUMMYNET initialized (000212)
Considering FFS root f/s.
changing root device to wd0s2a
wd0s1: type 0xb, start 63, end = 3693311, size 3693249 : OK
wd0s2: type 0xa5, start 3693312, end = 6354431, size 2661120 : OK
start_init: trying /sbin/init
Card inserted, slot 0
Card inserted, slot 1

xe0: Xircom CE3, bonding version 0x45, 100Mbps capable
xe0: DingoID = 0x444b, RevisionID = 0, VendorID = 0
xe0: Ethernet address 00:80:c7:61:c2:9f
bpf: xe0 attached
pid 169 (ntpd), uid 0: exited on signal 12 (core dumped)
Linux-ELF exec handler installed
splash: image decoder found: logo_saver

--yrj/dFKFPuw6o+aM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=LAPTOP

machine		"i386"
cpu		"I586_CPU"
cpu		"I686_CPU"
ident		LAPTOP
maxusers	64

options 	INET			#InterNETworking
options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep this!]
options 	MFS			#Memory Filesystem
options 	NFS			#Network Filesystem
options 	MSDOSFS			#MSDOS Filesystem
options 	"CD9660"		#ISO 9660 Filesystem
options 	PROCFS			#Process filesystem
options 	"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
options 	UCONSOLE		#Allow users to grab the console
options 	KTRACE			#ktrace(1) syscall trace support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores

config		kernel	root on wd0

controller	isa0
controller	pnp0			# PnP support for ISA
controller	pci0

# Floppy drives
controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2
disk		fd0	at fdc0 drive 0

# IDE controller and disks
options 	"CMD640"	# work around CMD640 chip deficiency
controller	wdc0	at isa? port "IO_WD1" bio irq 14
disk		wd0	at wdc0 drive 0
disk		wd1	at wdc0 drive 1

controller	wdc1	at isa? port "IO_WD2" bio irq 15
disk		wd2	at wdc1 drive 0
disk		wd3	at wdc1 drive 1

# ATAPI devices
options 	ATAPI		#Enable ATAPI support for IDE bus
options 	ATAPI_STATIC	#Don't do it as an LKM

# atkbdc0 controls both the keyboard and the PS/2 mouse
controller	atkbdc0	at isa? port IO_KBD tty
device		atkbd0	at isa? tty irq 1
device		psm0	at isa? tty irq 12

device		vga0	at isa? port ? conflicts

# splash screen/screen saver
pseudo-device	splash

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? tty

# Floating point support - do not disable.
device		npx0	at isa? port IO_NPX irq 13

# Power management support (see LINT for more options)
device		apm0    at isa?	disable	flags 0x31 # Advanced Power Management

# PCCARD (PCMCIA) support
controller	card0
device		pcic0	at card?
device		pcic1	at card?

# Serial (COM) ports
device		sio0	at isa? port "IO_COM1" flags 0x10 tty irq 4
device		sio1	at isa? port "IO_COM2" tty irq 3

# Parallel port
#
# Note:	The ppc0 entry is configured to support networking over the 
#	parallel port.  If you will be using it for printing, change
#	"net" to "tty", and review ppc(4) to ensure you have the 
#	correct flags value.
device		ppc0	at isa? port? flags 0x40 net irq 7
controller	ppbus0			# Parallel port bus (required)
device		lpt0	at ppbus?	# Printer
device		ppi0	at ppbus?	# Parallel port interface device
#device		plip0	at ppbus?	# TCP/IP over parallel

# requires PCCARD (PCMCIA) support to be activated
device		xe0	at isa? port? net irq ?

# Pseudo devices - the number indicates how many units to allocated.
pseudo-device	loop		# Network loopback
pseudo-device	ether		# Ethernet support
#pseudo-device	sl	1	# Kernel SLIP
#pseudo-device	ppp	1	# Kernel PPP
#pseudo-device	tun	1	# Packet tunnel
pseudo-device	pty	16	# Pseudo-ttys (telnet etc)
pseudo-device	gzip		# Exec gzipped a.out's

# The `bpfilter' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# The number of devices determines the maximum number of
# simultaneous BPF clients programs runnable.
pseudo-device	bpfilter 1	#Berkeley packet filter


options 	MROUTING		# Multicast routing
options         IPFIREWALL              #firewall
options         IPFIREWALL_VERBOSE      #print information about dropped packets
options         IPFIREWALL_FORWARD      #enable transparent proxy support
options 	"IPFIREWALL_VERBOSE_LIMIT=100" #limit verbosity
options 	IPDIVERT		#divert sockets
options 	IPSTEALTH		#support for stealth forwarding
options         "ICMP_BANDLIM"
options 	DUMMYNET

options 	SOFTUPDATES

options 	MAXCONS=8		# number of virtual consoles
options 	SC_HISTORY_SIZE=512	# number of history buffer lines

device pcm0 at isa? port ? tty irq 5 drq 1 flags 0x0

options 	SHOW_BUSYBUFS	# List buffers that prevent root unmount

options 	DDB

--yrj/dFKFPuw6o+aM--



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?20000823131811.A4418>