Re: 6.0-CURRENT SNAP004 hangs on amr

From: Mike Tancsa <mike_at_sentex.net>
Date: Tue, 12 Jul 2005 01:08:01 -0400
At 12:51 AM 12/07/2005, Mike Tancsa wrote:

>With those changes, no luck with ATA compiled into the kernel :(
>
>BUT!  With ata compiled out, I can now boot a current kernel using PIC and

Here is the boot with ata and atadisk compiled in.  Notice the em nic is 
trashed as well

OK unload
OK load /boot/mix/ata/kernel
/boot/mix/ata/kernel text=0x232e34 data=0x2ea50+0x77454 
syms=[0x4+0x35af0+0x4+0x43762]
OK load /boot/mix/ata/acpi.ko
/boot/mix/ata/acpi.ko text=0x41e40 data=0x20e0+0x10b0 
syms=[0x4+0x7740+0x4+0x9ead]
OK boot
GDB: no debug ports present
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2005 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 6.0-CURRENT #4: Tue Jul 12 00:53:26 EDT 2005
     mdtancsa_at_freebsd-current.sentex.ca:/usr/src/sys/i386/compile/mike
WARNING: WITNESS option enabled, expect reduced performance.
ACPI APIC Table: <DELL   PE6350  >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium III/Pentium III Xeon/Celeron (500.02-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x672  Stepping = 2
   Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 2147475456 (2047 MB)
avail memory = 2100953088 (2003 MB)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
  cpu0 (BSP): APIC ID:  3
  cpu1 (AP): APIC ID:  0
  cpu2 (AP): APIC ID:  1
  cpu3 (AP): APIC ID:  2
ioapic0: Changing APIC ID to 4
ioapic0 <Version 1.1> irqs 0-23 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <DELL PE6350> on motherboard
acpi0: Power Button (fixed)
pci_link0: <ACPI PCI Link LNK0> on acpi0
pci_link1: <ACPI PCI Link LNK1> on acpi0
pci_link2: <ACPI PCI Link LNK2> irq 11 on acpi0
pci_link3: <ACPI PCI Link LNK3> on acpi0
pci_link4: <ACPI PCI Link LNK4> on acpi0
pci_link5: <ACPI PCI Link LNK5> on acpi0
pci_link6: <ACPI PCI Link LNK6> on acpi0
pci_link7: <ACPI PCI Link LNK7> on acpi0
pci_link8: <ACPI PCI Link LNK8> irq 14 on acpi0
pci_link9: <ACPI PCI Link LNK9> on acpi0
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
isab0: <PCI-ISA bridge> at device 2.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376 at device 2.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pci0: <serial bus, USB> at device 2.2 (no driver attached)
pci0: <bridge> at device 2.3 (no driver attached)
pci0: <display, VGA> at device 4.0 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> at device 8.0 on pci0
pci1: <ACPI PCI bus> on pcib1
amr0: <LSILogic MegaRAID 1.51> mem 0xfe000000-0xfe3fffff irq 14 at device 
8.1 on pci0
amr0: <Series 466> Firmware GH6D, BIOS 1.43, 32MB RAM
pcib2: <ACPI Host-PCI bridge> on acpi0
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI Host-PCI bridge> on acpi0
pci3: <ACPI PCI bus> on pcib3
em0: <Intel(R) PRO/1000 Network Connection, Version - 2.1.7> port 
0xfcc0-0xfcff mem 0xfeb20000-0xfeb3ffff,0xfeb00000-0xfeb1ffff irq3
em0: Hardware Initialization Failedem0: Unable to initialize the hardware
device_attach: em0 attach returned 5
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm: keyboard controller failed.
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A, console
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xcc000-0xccfff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ppc0: parallel port not found.
Timecounters tick every 1.000 msec
Memory modified after free 0xc3167000(2044) val=c317c0f0 _at_ 0xc31671b0
panic: Most recently used by bus-sc

cpuid = 0
KDB: enter: panic
[thread pid 0 tid 0 ]
Stopped at      kdb_enter+0x2c: leave
db> trace
Tracing pid 0 tid 0 td 0xc0667940
kdb_enter(c061356f,100,c0667940,7fc,c31677fc) at kdb_enter+0x2c
panic(c0626098,c0615041,c0626069,c3167000,7fc) at panic+0x17f
mtrash_ctor(c3167000,800,0,2) at mtrash_ctor+0x5f
uma_zalloc_arg(c0c5adc0,0,2) at uma_zalloc_arg+0x24f
malloc(800,c064d9e0,2,c064efe0,c0820d5c) at malloc+0x6b
hashinit(200,c064d9e0,c06b9200,c064efe0,c0820d6c) at hashinit+0x2e
ip_init(c0655170,c30887bc,c0820d88,c049a063,c064efa0) at ip_init+0x2c
net_add_domain(c064efa0,c3088820,81ec00,81e000,828000) at net_add_domain+0x6b
mi_startup() at mi_startup+0xb3
begin() at begin+0x2c
db> show intrcnt
irq1: atkbd0            2
irq0: clk               199
irq6: fdc0              2
lapic3: timer           4687
db>


With ACPI not loaded, the box goes into some strange suspend mode.

Sending a break from the serial console does not let me enter the debugger 
and the video is turned off.

         ---Mike 
Received on Tue Jul 12 2005 - 03:06:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:38 UTC