Re: 6.0-CURRENT SNAP004 hangs on amr (patch)

From: Mike Tancsa <mike_at_sentex.net>
Date: Thu, 21 Jul 2005 11:42:13 -0400
At 02:09 PM 13/07/2005, John Baldwin wrote:
>On Wednesday 13 July 2005 09:38 am, Mike Tancsa wrote:
> > At 04:28 PM 12/07/2005, John Baldwin wrote:
> > >That does sort of help.  Can you try commenting out the call to
> > >ioapic_setup_mixed_mode() in the sys/i386/i386/mptable.c file and try
> > > booting with ACPI disabled (but APIC on) and see if it still works ok?
> >
> > Yup,
> >          Still boots just fine.
>
>Ok.  Back on 6, can you try editing sys/i386/i386/io_apic.c and in the
>function ioapic_set_extint(), change the line that reads:
>
>         io->io_pins[pin].io_masked = 1;
>
>to set the masked variable to 0 instead?

Yes, it works with and without ACPI!!



OK unload
OK load /boot/kernel/kernel6
/boot/kernel/kernel6 text=0x2d7e4c data=0x32e00+0x33140 
syms=[0x4+0x405e0+0x4+0x50a8b]
OK set hint.acpi.0.disabled=1
OK boot
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-BETA1 #0: Thu Jul 21 10:43:52 EDT 2005
     mdtancsa_at_shale1.sentex.ca:/usr/src/sys/i386/compile/test
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)
MPTable: <DELL     PowerEdge 83>
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: Assuming intbase of 0
ioapic0 <Version 1.1> irqs 0-23 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
cpu0 on motherboard
cpu1 on motherboard
cpu2 on motherboard
cpu3 on motherboard
pcib0: <MPTable Host-PCI bridge> pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
isab0: <PCI-ISA bridge> at device 2.0 on pci0
isa0: <ISA bus> on isab0
pci0: <mass storage, ATA> at device 2.1 (no driver attached)
pci0: <serial bus, USB> at device 2.2 (no driver attached)
piix0: <PIIX Timecounter> port 0x850-0x85f irq 9 at device 2.3 on pci0
Timecounter "PIIX" frequency 3579545 Hz quality 0
pci0: <display, VGA> at device 4.0 (no driver attached)
pcib1: <PCI-PCI bridge> at device 8.0 on pci0
pci1: <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: <MPTable Host-PCI bridge> pcibus 2 on motherboard
pci2: <PCI bus> on pcib2
pcib3: <MPTable Host-PCI bridge> pcibus 3 on motherboard
pci3: <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: Ethernet address: 00:0e:0c:5d:f8:ca
em0:  Speed:N/A  Duplex:N/A
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc8fff on isa0
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on 
isa0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
unknown: <PNP0c02> can't assign resources (memory)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0401> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0303> can't assign resources (port)
Timecounters tick every 1.000 msec
ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding enabled, 
default to accept, logging limited to 3100 packets/entryt
amrd0: <LSILogic MegaRAID logical drive> on amr0
amrd0: 34732MB (71131136 sectors) RAID 5 (optimal)
ses0 at amr0 bus 0 target 6 lun 0
ses0: <DELL 1x3 U2W SCSI BP 5.12> Fixed Processor SCSI-2 device
ses0: SAF-TE Compliant Device
SMP: AP CPU #1 Launched!
SMP: AP CPU #2 Launched!
SMP: AP CPU #3 Launched!
Trying to mount root from ufs:/dev/amrd0s1a
Pre-seeding PRNG: kickstart.
sysctl: unknown oid 'kern.bootp_cookie'
Interface  IP-Address  Broadcast
Loading configuration files.
Entropy harvesting: interrupts ethernet point_to_point kickstart.
swapon: adding /dev/amrd0s1b as swap device
Starting file system checks:
/dev/amrd0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/amrd0s1a: clean, 216177 free (641 frags, 26942 blocks, 0.3% fragmentation)
/dev/amrd0s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/amrd0s1e: clean, 506479 free (47 frags, 63304 blocks, 0.0% fragmentation)
/dev/amrd0s1f: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/amrd0s1f: clean, 11181111 free (38615 frags, 1392812 blocks, 0.3% 
fragmentation)
/dev/amrd0s1d: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/amrd0s1d: clean, 2528737 free (377 frags, 316045 blocks, 0.0% 
fragmentation)
Setting hostname: hippo.sentex.ca.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
         inet 127.0.0.1 netmask 0xff000000
Starting dhclient.
em0: link state changed to UP
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         options=b<RXCSUM,TXCSUM,VLAN_MTU>
         inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
         ether 00:0e:0c:5d:f8:ca
         media: Ethernet autoselect
         status: no carrier
Additional routing options: IP gateway=YES.
Starting devd.
Mounting NFS file systems:.
Starting syslogd.
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib
a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout /usr/X11R6/lib/aout
Recovering vi editor sessions:.
Starting local daemons:.
Updating motd.
Configuring syscons: blanktime.
Starting sshd.
Initial i386 initialization:.
Additional ABI support:.
Starting cron.
Local package initialization:.
Additional TCP options:.

Thu Jul 21 11:14:12 EDT 2005

FreeBSD/i386 (hippo.sentex.ca) (ttyd0)

login:



OK load /boot/kernel/kernel6
/boot/kernel/kernel6 text=0x2d7e4c data=0x32e00+0x33140 
syms=[0x4+0x405e0+0x4+0x50a8b]
OK load /boot/kernel/acpi.ko
/boot/kernel/acpi.ko text=0x40b30 data=0x20e0+0x10b0 
syms=[0x4+0x76b0+0x4+0x9e56]
OK boot
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-BETA1 #0: Thu Jul 21 10:43:52 EDT 2005
     mdtancsa_at_shale1.sentex.ca:/usr/src/sys/i386/compile/test
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 = 2096738304 (1999 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
pci0: <mass storage, ATA> at device 2.1 (no driver attached)
pci0: <serial bus, USB> at device 2.2 (no driver attached)
intpm0: <Intel 82371AB Power management controller> port 0x850-0x85f irq 9 
at device 2.3 on pci0
intpm0: I/O mapped 850
intpm0: intr IRQ 9 enabled revision 0
intpm0: [GIANT-LOCKED]
intsmb0: <Intel PIIX4 SMBUS Interface> on intpm0
smbus1: <System Management Bus> on intsmb0
smb0: <SMBus generic I/O> on smbus1
intpm0: PM I/O mapped 800
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: Ethernet address: 00:0e:0c:5d:f8:ca
em0:  Speed:N/A  Duplex:N/A
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]
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
ppc0: <ECP parallel printer port> port 0x378-0x37f,0x778-0x77f irq 7 drq 1 
on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc8fff 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
Timecounters tick every 1.000 msec
ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding enabled, 
default to accept, logging limited to 3100 packets/entryt
amrd0: <LSILogic MegaRAID logical drive> on amr0
amrd0: 34732MB (71131136 sectors) RAID 5 (optimal)
ses0 at amr0 bus 0 target 6 lun 0
ses0: <DELL 1x3 U2W SCSI BP 5.12> Fixed Processor SCSI-2 device
ses0: SAF-TE Compliant Device
SMP: AP CPU #3 Launched!
SMP: AP CPU #1 Launched!
SMP: AP CPU #2 Launched!
Trying to mount root from ufs:/dev/amrd0s1a
Pre-seeding PRNG: kickstart.
sysctl: unknown oid 'kern.bootp_cookie'
Interface  IP-Address  Broadcast
Loading configuration files.
Entropy harvesting: interrupts ethernet point_to_point kickstart.
swapon: adding /dev/amrd0s1b as swap device
Starting file system checks:
/dev/amrd0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/amrd0s1a: clean, 216177 free (641 frags, 26942 blocks, 0.3% fragmentation)
/dev/amrd0s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/amrd0s1e: clean, 506479 free (47 frags, 63304 blocks, 0.0% fragmentation)
/dev/amrd0s1f: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/amrd0s1f: clean, 11181111 free (38615 frags, 1392812 blocks, 0.3% 
fragmentation)
/dev/amrd0s1d: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/amrd0s1d: clean, 2528725 free (381 frags, 316043 blocks, 0.0% 
fragmentation)
Setting hostname: hippo.sentex.ca.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
         inet 127.0.0.1 netmask 0xff000000
Starting dhclient.
em0: link state changed to UP
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         options=b<RXCSUM,TXCSUM,VLAN_MTU>
         inet 192.168.5.107 netmask 0xffffff00 broadcast 192.168.5.255
         ether 00:0e:0c:5d:f8:ca
         media: Ethernet autoselect
         status: no carrier
Additional routing options: IP gateway=YES.
Starting devd.
Mounting NFS file systems:.
Starting syslogd.
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib
a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout /usr/X11R6/lib/aout
Recovering vi editor sessions:.
Starting local daemons:.
Updating motd.
Configuring syscons: blanktime.
Starting sshd.
Initial i386 initialization:.
Additional ABI support:.
Starting cron.
Local package initialization:.
Additional TCP options:.

Thu Jul 21 11:37:20 EDT 2005

FreeBSD/i386 (hippo.sentex.ca) (ttyd0)
Received on Thu Jul 21 2005 - 13:40:41 UTC

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