Re: recent 5.1-CURRENT kernel panics on acd0 probe/attach, IBM T30 laptop

From: Adam K Kirchhoff <adamk_at_voicenet.com>
Date: Wed, 27 Aug 2003 16:28:11 -0400 (EDT)
I'm seeing the same thing on my desktop box.  I thought that atapicam
might solve my DVD playback problems so I recompiled the kernel with the
atapicam device and this was the result:

CPU: Intel Pentium III (1002.28-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
  Features=0x387fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE>
real memory  = 536805376 (511 MB)
avail memory = 515506176 (491 MB)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00178011, at 0xfec00000
bktr_mem: memory holder loaded
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <VIA694 AWRDACPI> on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 8 entries at 0xc00fdd20
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_cpu1: <CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0x6000-0x607f,0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
IOAPIC #0 intpin 11 -> irq 2
IOAPIC #0 intpin 10 -> irq 5
IOAPIC #0 intpin 5 -> irq 10
agp0: <VIA 82C691 (Apollo Pro) host to PCI bridge> mem 0xf0000000-0xf7ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
drm0: <ATI Radeon QL R200 8500 LE> port 0xc000-0xc0ff mem 0xf9000000-0xf900ffff,0xe0000000-0xefffffff irq 10 at device 0.0 on pci1
info: [drm] AGP at 0xf0000000 128MB
info: [drm] Initialized radeon 1.9.0 20020828 on minor 0
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686B UDMA100 controller> port 0xd000-0xd00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <serial bus, USB> at device 7.2 (no driver attached)
pci0: <serial bus, USB> at device 7.3 (no driver attached)
pci0: <bridge, PCI-unknown> at device 7.4 (no driver attached)
fxp0: <Intel 82559 Pro/100 Ethernet> port 0xdc00-0xdc3f mem 0xfb000000-0xfb0fffff,0xfb101000-0xfb101fff irq 5 at device 8.0 on pci0
fxp0: Ethernet address 00:d0:b7:90:6c:3e
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ahc0: <Adaptec 19160B Ultra160 SCSI adapter> port 0xe000-0xe0ff mem 0xfb100000-0xfb100fff irq 2 at device 9.0 on pci0
aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
pci0: <serial bus, FireWire> at device 10.0 (no driver attached)
bktr0: <BrookTree 878> mem 0xfb103000-0xfb103fff irq 10 at device 11.0 on pci0
bktr0: Hauppauge Model 44801 D126
bktr0: Hauppauge WinCast/TV, Philips NTSC tuner.
pci0: <multimedia> at device 11.1 (no driver attached)
pci0: <multimedia, audio> at device 12.0 (no driver attached)
pci0: <input device> at device 12.1 (no driver attached)
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A, console
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0 port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
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
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model MouseMan+, device ID 0
orm0: <Option ROMs> at iomem 0xd0000-0xd3fff,0xc0000-0xccfff on isa0
pmtimer0 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
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2

Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 2 steps (100% to 50.0%), currently 100.0%
ad0: 39083MB <Maxtor 5T040H4> [79408/16/63] at ata0-master UDMA100
acd0: DVDROM <Pioneer DVD-ROM ATAPIModel DVD-120> at ata0-slave PIO4
ad2: 117246MB <Maxtor 6Y120L0> [238216/16/63] at ata1-master UDMA100
Waiting 3 seconds for SCSI devices to settle


Fatal trap 12: page fault while in kernel mode
cpuid = 0; lapic.id = 00000000
fault virtual address	= 0x0
fault code		= supervisor write, page not present
instruction pointer	= 0x8:0xc017d4ae
stack pointer	        = 0x10:0xd7142abc
frame pointer	        = 0x10:0xd7142ac8
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		= 19 (swi3: cambio)
trap number		= 12
panic: page fault
cpuid = 0; lapic.id = 00000000

syncing disks, buffers remaining...
done
Uptime: 3s
acd0: FAILURE - FLUSHCACHE status=51<READY,DSC,ERROR> error=4<ABORTED>
Shutting down ACPI
Automatic reboot in 15 seconds - press a key on the console to abort
--> Press a key on the console to reboot,
--> or switch off the system now.
Rebooting...

On Wed, 27 Aug 2003, Lee Damon wrote:

> : || tylendel.castle.org [10] ; uname -a
> FreeBSD tylendel.castle.org 5.1-CURRENT FreeBSD 5.1-CURRENT #38: Wed Aug 27 09:05:21 PDT 2003     root_at_tylendel.castle.org:/users/FreeBSD-5.0/obj/users/FreeBSD-5.0/src/sys/TYLENDEL  i386
>
> The kernel I compiled on 20 AUG recognizes acd0 and loggs the following:
>
> Aug 27 08:24:10 tylendel kernel: acd0: CD-RW <UJDA720 DVD/CDRW> at ata1-master U
> DMA33
> Aug 27 08:24:10 tylendel kernel: cd0 at ata1 bus 0 target 0 lun 0
> Aug 27 08:24:10 tylendel kernel: cd0: <MATSHITA UJDA720 DVD/CDRW 1.03> Removable
>  CD-ROM SCSI-0 device
> Aug 27 08:24:10 tylendel kernel: cd0: 33.000MB/s transfers
> Aug 27 08:24:10 tylendel kernel: cd0: Attempt to query device size failed: NOT R
> EADY, Medium not present - tray closed
>
> However, kernels compiled since Monday's SUP get as far as the initial
> discovery of the acd0 device and then panic with:
>
> 	fatal trap 12: page fault while in kernel mode
> 	fault virtual address	= 0x0
> 	fault code		= supervisor write, page not present
> 	instruction pointer	= 0x8 :0xc015ca8e
> 	stack pointer		= 0x10 :0xdd79aaac
> 	frame pointer		= 0x10 :0xdd79aab8
> 	code segment		= base 0x0, limit 0xfffff, type 0x1b
> 				= DPL 0, pres 1, def 32 1, gran 1
> 	processor eflags	= interrupt enabled, resume, IOPL=0
> 	current process		= 19 (swi 3: cambio)
> 	kernel: type 12 trap, code=0
> 	Stopped at	free_hcb+0x2e:	mov1	%eax,0(xedx)
>
> When I remove the DVD/CDRW from the system it boots.
>
> Kernel configuration is the one from R. Kevin Oberman with firewire
> turned on.
>
Received on Wed Aug 27 2003 - 11:37:30 UTC

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