Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Feb 2002 22:37:01 -0800 (PST)
From:      Julian Elischer <julian@elischer.org>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        current@freebsd.org, sos@freebsd.dk
Subject:   Re: current kernel crashing in ata_raid_attach at boot
Message-ID:  <Pine.BSF.4.21.0202152230350.39539-100000@InterJet.elischer.org>
In-Reply-To: <200202160608.g1G68Uv83371@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I made a change recently to make LINT compile because the
ata raid was using the symbol ar_attach and I changed it to be atar_attach
because ar_attach was already used in the if_ar driver.

please check that there isn't a MACRO somewhere that automatically 
generates an 'ar_attach reference) (would have been satisfied in LINT by
the if_ar.c version of ar_attach() and not given errors.


(I wouldn't have discovered that)

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/ata/ata-raid.c

------

Revision 1.23 / (download) - annotate - [select for diffs], Wed Feb 6
19:35:36 2002 UTC (9 days, 10 hours ago) by julian 
Branch: MAIN 
Changes since 1.22: +1 -1 lines
Diff to previous 1.22 (colored)

Make LINT compile after fruitless attempts to get the authors
to fix their code.

ata stuff:
Change name of ar_attach to not colide with existing ar_attach in if_ar.c.
----------------



On Fri, 15 Feb 2002, Matthew Dillon wrote:

>     This is on a DELL2550.  I do not have any ATA hard drives, let alone ata
>     raid drives or, in fact, any raid drives of any kind.   I do have an ata
>     CDROM.
> 
>     A Feb 5 -current kernel boots fine.
> 
> 					-Matt
> 					Matthew Dillon 
> 					<dillon@backplane.com>
> 
> /boot/kernel/acpi.ko text=0x2ae68 data=0x1618+0x6ec syms=[0x4+0x4df0+0x4+0x66dd]
> Copyright (c) 1992-2002 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 5.0-CURRENT #0: Fri Feb 15 21:51:48 PST 2002
>     dillon@apollo.backplane.com:/usr/obj/FreeBSD/FreeBSD-current/src/sys/DELL2550
> Preloaded elf kernel "/boot/kernel/kernel" at 0xc03c5000.
> Preloaded elf module "/boot/kernel/acpi.ko" at 0xc03c50a8.
> Timecounter "i8254"  frequency 1193182 Hz
> CPU: Pentium III/Pentium III Xeon/Celeron (1130.46-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0x6b1  Stepping = 1
>   Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
> real memory  = 1073676288 (1048512K bytes)
> avail memory = 1040916480 (1016520K bytes)
> Changing APIC ID for IO APIC #0 from 0 to 2 on chip
> Changing APIC ID for IO APIC #1 from 0 to 3 on chip
> Programming 16 pins in IOAPIC #0
> IOAPIC #0 intpin 2 -> irq 0
> Programming 16 pins in IOAPIC #1
> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
>  cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee00000
>  cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
>  io0 (APIC): apic id:  2, version: 0x000f0011, at 0xfec00000
>  io1 (APIC): apic id:  3, version: 0x000f0011, at 0xfec01000
> Pentium Pro MTRR support enabled
> Using $PIR table, 8 entries at 0xc00fc270
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> acpi0: <DELL   PE2550  > on motherboard
> acpi0: power button is handled as a fixed feature programming model.
> Timecounter "ACPI"  frequency 3579545 Hz
> acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
> acpi_cpu0: <CPU> on acpi0
> acpi_cpu1: <CPU> on acpi0
> acpi_pcib0: <Host-PCI bridge> on acpi0
> pci0: <PCI bus> on acpi_pcib0
> pci0: <display, VGA> at device 14.0 (no driver attached)
> isab0: <PCI-ISA bridge> port 0x8a0-0x8af at device 15.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <ServerWorks ROSB4 ATA33 controller> port 0x8b0-0x8bf at device 15.1 on pci0
> ata0: at 0x1f0 irq 14 on atapci0
> ata1: at 0x170 irq 15 on atapci0
> acpi_pcib1: <Host-PCI bridge> on acpi0
> IOAPIC #1 intpin 1 -> irq 2
> pci1: <PCI bus> on acpi_pcib1
> pci1: <network, ethernet> at device 8.0 (no driver attached)
> acpi_pcib2: <Host-PCI bridge> on acpi0
> IOAPIC #1 intpin 0 -> irq 5
> pci2: <PCI bus> on acpi_pcib2
> pcib3: <PCI-PCI bridge> at device 2.0 on pci2
> IOAPIC #1 intpin 15 -> irq 10
> IOAPIC #1 intpin 14 -> irq 11
> pci3: <PCI bus> on pcib3
> ahc0: <Adaptec aic7899 Ultra160 SCSI adapter> port 0xcc00-0xccff mem 0xfe7ff000-0xfe7fffff irq 10 at device 4.0 on pci3
> aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/255 SCBs
> ahc1: <Adaptec aic7899 Ultra160 SCSI adapter> port 0xc800-0xc8ff mem 0xfe7fe000-0xfe7fefff irq 11 at device 4.1 on pci3
> aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/255 SCBs
> fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xbcc0-0xbcff mem 0xfe500000-0xfe5fffff,0xfe900000-0xfe900fff irq 5 at device 4.0 on pci2
> fxp0: Ethernet address 00:06:5b:19:be:6f
> inphy0: <i82555 10/100 media interface> on miibus0
> inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> fdc0: <enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0-0x3f5 irq 6 on acpi0
> fdc0: FIFO enabled, 8 bytes threshold
> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
> atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
> sio0 port 0x3f8-0x3ff irq 4 on acpi0
> sio0: type 16550A, console
> sio1 port 0x2f8-0x2ff irq 3 on acpi0
> sio1: type 16550A
> fdc: fdc0 already exists; skipping it
> ata: ata0 already exists; skipping it
> ata: ata1 already exists; skipping it
> atkbdc: atkbdc0 already exists; skipping it
> sio: sio0 already exists; skipping it
> sio: sio1 already exists; skipping it
> sc: sc0 already exists; skipping it
> vga: vga0 already exists; skipping it
> orm0: <Option ROMs> at iomem 0xec000-0xeffff,0xc8000-0xcdfff,0xc0000-0xc7fff on isa0
> 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>
> APIC_IO: Testing 8254 interrupt delivery
> APIC_IO: Broken MP table detected: 8254 is not connected to IOAPIC #0 intpin 2
> APIC_IO: routing 8254 via 8259 and IOAPIC #0 intpin 0
> Fatal trap 12: page fault while in kernel mode
> cpuid = 0; lapic.id = 01000000
> fault virtual address   = 0x0
> fault code              = supervisor read, page not present
> instruction pointer     = 0x8:0xc0151134
> stack pointer           = 0x10:0xc03e7d54
> frame pointer           = 0x10:0xc03e7d64
> 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)
> kernel: type 12 trap, code=0
> Stopped at      ata_raid_attach+0x18:   movl    0(%eax,%edx,4),%ebx
> db> trace
> ata_raid_attach(c1c629e0,c1c65df8,c03e7d84,c01b3556,0) at ata_raid_attach+0x18
> ata_boot_attach(0) at ata_boot_attach+0x13d
> run_interrupt_driven_config_hooks(0,3e4c00,3e4000,0,c0121b7c) at run_interrupt_driven_config_hooks+0x1a
> mi_startup() at mi_startup+0x90
> begin() at begin+0x43
> db> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message
> 


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0202152230350.39539-100000>