From avn@ns.any.ru  Thu Mar 15 17:14:31 2001
Return-Path: <avn@ns.any.ru>
Received: from ns.any.ru (ns.any.ru [194.67.127.11])
	by hub.freebsd.org (Postfix) with ESMTP id 37A3637B71A
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 15 Mar 2001 17:14:30 -0800 (PST)
	(envelope-from avn@ns.any.ru)
Received: (from avn@localhost)
	by ns.any.ru (8.11.2/8.11.2) id f2G1EGX30288
	for FreeBSD-gnats-submit@freebsd.org.AVP; Fri, 16 Mar 2001 04:14:16 +0300 (MSK)
	(envelope-from avn)
Received: (from avn@localhost)
	by ns.any.ru (8.11.2/8.11.2) id f2G1EGA30279;
	Fri, 16 Mar 2001 04:14:16 +0300 (MSK)
	(envelope-from avn)
Message-Id: <200103160114.f2G1EGA30279@ns.any.ru>
Date: Fri, 16 Mar 2001 04:14:16 +0300 (MSK)
From: "Alexey V. Neyman" <avn@ns.any.ru>
Reply-To: avn@ns.any.ru
To: FreeBSD-gnats-submit@freebsd.org
Subject: mounting unclosed CD causes kernel panic <Synopsis of the problem (one line)>
X-Send-Pr-Version: 3.2

>Number:         25840
>Category:       i386
>Synopsis:       mounting unclosed CD causes kernel panic
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    sos
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 15 17:20:00 PST 2001
>Closed-Date:    Wed May 30 00:31:54 PDT 2001
>Last-Modified:  Wed May 30 00:32:43 PDT 2001
>Originator:     Alexey V. Neyman
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
ANY.RU 
>Environment:
FreeBSD srv2.any 4.3-BETA FreeBSD 4.3-BETA #0: Fri Mar 16 01:43:09 MSK 2001
toor@srv2.any:/usr2/obj/usr2/src/sys/AMD4DEBUG  i386

>Description:
trying to mount unclosed CD causes panic
gdb -k  of coredump shows:
IdlePTD 3321856
initial pcb at 29e360
panicstr: from debugger
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xc0c21000
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xc01f2d82
stack pointer           = 0x10:0xc025b8d0
frame pointer           = 0x10:0xc025b8e0
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         = Idle
interrupt mask          = bio
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xc0c21000
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xc01f2d82
stack pointer           = 0x10:0xc025b8d0
me pointer           = 0x10:0xc025b8e0
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = trace trap, interrupt enabled, resume, IOPL = 0
current process         = Idle
interrupt mask          = bio
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xc0c21000
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xc01f2d82
stack pointer           = 0x10:0xc025b8d0
frame pointer           = 0x10:0xc025b8e0
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = trace trap, interrupt enabled, resume, IOPL = 0
current process         = Idle
interrupt mask          = bio
panic: from debugger
panic: from debugger
Uptime: 6m7s

dumping to dev #ad/0x40001, offset 45184
dump ata0: resetting devices ..  device dissapeared! 2 done
127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108
107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84
83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57
 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 3
0 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
0
---
#0  0xc013ed5e in dumpsys ()

(kgdb)bt
#0  0xc013ed5e in dumpsys ()
#1  0xc013eb7f in boot ()
#2  0xc013ef15 in panic ()
#3  0xc011d759 in db_panic ()
#4  0xc011d6f9 in db_command ()
#5  0xc011d7be in db_command_loop ()
#6  0xc011f8cb in db_trap ()
#7  0xc020a402 in kdb_trap ()
#8  0xc0219820 in trap_fatal ()
#9  0xc02194f9 in trap_pfault ()
#10 0xc021909b in trap ()
#11 0xc01f2d82 in atapi_read ()
#12 0xc01f2823 in atapi_interrupt ()
#13 0xc01ec33e in ata_intr ()

It seems to me that Input/output error I get when trying to fixate CD is
somehow connected with this.
# dmesg | grep ata
config> enable ata0
config> port ata0 0x1f0
config> irq ata0 14
config> flags ata0 0
atapci0: <VIA 82C586 ATA33 controller> port 0xe000-0xe00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
ata0-master: DMA limited to UDMA33, non-ATA66 compliant cable
ad0: 6187MB <FUJITSU MPE3064AT> [13410/15/63] at ata0-master UDMA33
ad2: 19574MB <IBM-DPTA-372050> [39770/16/63] at ata1-master UDMA33
acd0: CD-RW <YAMAHA CRW8424E> at ata0-slave using PIO4

this is reproduceable crash. This burner works fine under Win (on this machine)

>How-To-Repeat:
insert unclosed CD and mount it

>Fix:

	

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->sos 
Responsible-Changed-By: phk 
Responsible-Changed-When: Mon Mar 19 11:02:54 PST 2001 
Responsible-Changed-Why:  
seems like an ATAPI issue 

http://www.freebsd.org/cgi/query-pr.cgi?pr=25840 
State-Changed-From-To: open->analyzed 
State-Changed-By: sos 
State-Changed-When: Mon Apr 2 12:13:31 PDT 2001 
State-Changed-Why:  

Hmm, Could you mail me the kernel error messages that appears 
when you fixate a CD ? 


http://www.freebsd.org/cgi/query-pr.cgi?pr=25840 

From: "Alexey V. Neyman" <avn@any.ru>
To: <freebsd-gnats-submit@freebsd.org>, <avn@any.ru>
Cc: <sos@freebsd.org>
Subject: Re: i386/25840: mounting unclosed CD causes kernel panic
Date: Tue, 10 Apr 2001 16:50:20 +0400 (MSD)

 Hello there!
 
 I booted with -v, tried to fixate, and got the following on console:
 acd0: MODE_SELECT_BIG - ILLEGAL REQUEST asc=26 ascq=02 error=00
 
 burncd complaint is:
 burncd: ioctl(CDRIOCCLOSEDISK): Input/output error
 
 test iso image was 40Mb large and written at 1x speed.
 
 when I tried mounting it, there were messages preceding the crash:
 acd0: READ_TOC - ILLEGAL REQUEST asc=24 ascq=00 error=00
 acd0: READ_TOC - ILLEGAL REQUEST asc=24 ascq=00 error=00
 
 uname -a:
 FreeBSD srv2.any 4.3-RC FreeBSD 4.3-RC #2: Wed Mar 28 17:59:22 MSD 2001
 toor@srv2.any:/usr2/obj/usr2/src/sys/AMD4DEBUG  i386
 
 # Alexey
 
 PS. dmesg and gdb -k output are below
 PPS. if relevant sources have changed since I last compiled the kernel,
 source lines may not match (I cvsupped sources yesterday, yet I have not
 made world/kernel).
 -------------------------------- dmesg ----------------------------------
 Copyright (c) 1992-2001 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 4.3-RC #2: Wed Mar 28 17:59:22 MSD 2001
     toor@srv2.any:/usr2/obj/usr2/src/sys/AMD4DEBUG
 Calibrating clock(s) ... TSC clock: 350797275 Hz, i8254 clock: 1193188 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: AMD-K6(tm) 3D processor (350.80-MHz 586-class CPU)
   Origin = "AuthenticAMD"  Id = 0x58c  Stepping = 12
   Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
   AMD Features=0x80000800<SYSCALL,3DNow!>
 Data TLB: 128 entries, 2-way associative
 Instruction TLB: 64 entries, 1-way associative
 L1 data cache: 32 kbytes, 32 bytes/line, 2 lines/tag, 2-way associative
 L1 instruction cache: 32 kbytes, 32 bytes/line, 2 lines/tag, 2-way associative
 Write Allocate Enable Limit: 128M bytes
 Write Allocate 15-16M bytes: Enable
 real memory  = 134152192 (131008K bytes)
 Physical memory chunk(s):
 0x00001000 - 0x0009efff, 647168 bytes (158 pages)
 0x00333000 - 0x07fe7fff, 130764800 bytes (31925 pages)
 config> enable apm0
 config> irq apm0 0
 config> flags apm0 0x20
 config> enable ata0
 config> port ata0 0x1f0
 config> irq ata0 14
 config> flags ata0 0
 config> quit
 avail memory = 127471616 (124484K bytes)
 bios32: Found BIOS32 Service Directory header at 0xc00fad10
 bios32: Entry = 0xfb190 (c00fb190)  Rev = 0  Len = 1
 pcibios: PCI BIOS entry at 0xb1c0
 pnpbios: Found PnP BIOS data at 0xc00fbe10
 pnpbios: Entry = f0000:be38  Rev = 1.0
 Other BIOS signatures found:
 ACPI: 000f6dd0
 Preloaded elf kernel "kernel" at 0xc030d000.
 Preloaded userconfig_script "/boot/kernel.conf" at 0xc030d0a8.
 VESA: information block
 56 45 53 41 00 02 00 01 00 01 00 00 00 00 22 00
 00 01 7f 00 00 01 0b 01 00 01 21 01 00 01 2a 01
 00 01 00 01 01 01 10 01 11 01 12 01 03 01 13 01
 14 01 15 01 05 01 16 01 17 01 18 01 07 01 19 01
 VESA: 0 mode(s) found
 module_register_init: MOD_LOAD (vesa, c0227078, 0) error 6
 K6-family MTRR support enabled (2 registers)
 md0: Malloc disk
 Creating DISK md0
 Math emulator present
 pci_open(1):	mode 1 addr port (0x0cf8) is 0x80003840
 pci_open(1a):	mode1res=0x80000000 (0x80000000)
 pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=05971106)
 pcib-: pcib0 exists, using next available unit number
 apm0: <APM BIOS> on motherboard
 apm: found APM BIOS v1.2, connected at v1.2
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 i586_bzero() bandwidth = 446627958 bytes/sec
 bzero() bandwidth = 118385225 bytes/sec
 pci_open(1):	mode 1 addr port (0x0cf8) is 0x80000060
 pci_open(1a):	mode1res=0x80000000 (0x80000000)
 pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=05971106)
 pcib0: <Host to PCI bridge> on motherboard
 found->	vendor=0x1106, dev=0x0597, revid=0x04
 	class=06-00-00, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 	map[10]: type 1, range 32, base e0000000, size 26
 found->	vendor=0x1106, dev=0x8598, revid=0x00
 	class=06-04-00, hdrtype=0x01, mfdev=0
 	subordinatebus=1 	secondarybus=1
 found->	vendor=0x1106, dev=0x0586, revid=0x47
 	class=06-01-00, hdrtype=0x00, mfdev=1
 	subordinatebus=0 	secondarybus=0
 found->	vendor=0x1106, dev=0x0571, revid=0x06
 	class=01-01-8a, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 	map[20]: type 1, range 32, base 0000e000, size  4
 found->	vendor=0x1106, dev=0x3040, revid=0x10
 	class=06-00-00, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 found->	vendor=0x11f6, dev=0x2011, revid=0x00
 	class=02-00-00, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 	intpin=a, irq=10
 	map[10]: type 1, range 32, base 0000e800, size  7
 	map[14]: type 1, range 32, base e8000000, size  7
 pci0: <PCI bus> on pcib0
 pcib2: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0
 found->	vendor=0x1002, dev=0x4c42, revid=0xdc
 	class=03-00-00, hdrtype=0x00, mfdev=0
 	subordinatebus=0 	secondarybus=0
 	intpin=a, irq=11
 	map[10]: type 1, range 32, base e4000000, size 24
 	map[14]: type 1, range 32, base 0000d000, size  8
 	map[18]: type 1, range 32, base e6000000, size 12
 pci1: <PCI bus> on pcib2
 pci1: <ATI model 4c42 graphics accelerator> (vendor=0x1002, dev=0x4c42) at 0.0 irq 11
 isab0: <VIA 82C586 PCI-ISA bridge> at device 7.0 on pci0
 isa0: <ISA bus> on isab0
 atapci0: <VIA 82C586 ATA33 controller> port 0xe000-0xe00f at device 7.1 on pci0
 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xe000
 ata0: mask=03 status0=50 status1=00
 ata0: mask=03 ostat0=50 ostat2=00
 ata0-master: ATAPI probe a=00 b=00
 ata0-slave: ATAPI probe a=14 b=eb
 ata0: mask=03 status0=50 status1=00
 ata0-master: ATA probe a=01 b=a5
 ata0: devices=09
 ata0: at 0x1f0 irq 14 on atapci0
 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xe008
 ata1: mask=03 status0=50 status1=00
 ata1: mask=03 ostat0=50 ostat2=00
 ata1-master: ATAPI probe a=00 b=00
 ata1-slave: ATAPI probe a=00 b=00
 ata1: mask=03 status0=50 status1=00
 ata1-master: ATA probe a=01 b=a5
 ata1: devices=01
 ata1: at 0x170 irq 15 on atapci0
 wb0: <Compex RL100-ATX 10/100baseTX> port 0xe800-0xe87f mem 0xe8000000-0xe800007f irq 10 at device 14.0 on pci0
 wb0: Ethernet address: 00:80:48:b5:c0:78
 miibus0: <MII bus> on wb0
 ukphy0: <Generic IEEE 802.3u media interface> on miibus0
 ukphy0: OUI 0x0005be, model 0x0008, rev. 0
 ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 bpf: wb0 attached
 pci_open(1):	mode 1 addr port (0x0cf8) is 0x00000000
 pci_open(1a):	mode1res=0x80000000 (0x80000000)
 pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=05971106)
 pci-: pci1 exists, using next available unit number
 pcib1: <Host to PCI bridge> on motherboard
 pci2: <PCI bus> on pcib1
 ata-: ata0 exists, using next available unit number
 ata-: ata1 exists, using next available unit number
 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
 isa_probe_children: disabling PnP devices
 isa_probe_children: probing non-PnP devices
 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
 fdc0: FIFO enabled, 8 bytes threshold
 fd0: <1440-KB 3.5" drive> on fdc0 drive 0
 ata2 failed to probe at port 0x1f0 irq 14 drq 0 on isa0
 ata3 failed to probe at port 0x170 irq 15 on isa0
 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
 atkbd: the current kbd controller command byte 0047
 atkbd: keyboard ID 0x41ab (2)
 kbd0 at atkbd0
 kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
 psm0: current command byte:0047
 psm0: <PS/2 Mouse> irq 12 on atkbdc0
 psm0: model IntelliMouse, device ID 3-00, 3 buttons
 psm0: config:00000000, flags:00000000, packet size:4
 psm0: syncmask:08, syncbits:08
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 fb0: vga0, vga, type:VGA (5), flags:0x7007f
 fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
 fb0: init mode:24, bios mode:3, current mode:24
 fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
 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 0e 0f 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
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x300>
 sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
 sio0: irq maps: 0x41 0x51 0x41 0x41
 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
 sio0: type 16550A
 sio1: irq maps: 0x41 0x49 0x41 0x41
 sio1 at port 0x2f8-0x2ff irq 3 on isa0
 sio1: type 16550A
 ppc0: parallel port found at 0x378
 ppc0: using extended I/O port range
 ppc0: SPP
 ppc0: <Parallel port> at port 0x378-0x37f irq 5 on isa0
 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
 plip0: <PLIP network interface> on ppbus0
 bpf: lp0 attached
 lpt0: <Printer> on ppbus0
 lpt0: Interrupt-driven port
 ppi0: <Parallel I/O> on ppbus0
 sbc0: <ESS 1688> at port 0x220-0x22f irq 7 drq 1 flags 0x15 on isa0
 pcm0: <ESS 18xx DSP> on sbc0
 pcm0: ESS0 detected
 pcm: setmap 4d000, 1000; 0xc784e000 -> 4d000
 pcm: setmap 4e000, 1000; 0xc784f000 -> 4e000
 isa_probe_children: probing PnP devices
 BIOS Geometries:
  0:0313fe3f 0..787=788 cylinders, 0..254=255 heads, 1..63=63 sectors
  1:03fffe3f 0..1023=1024 cylinders, 0..254=255 heads, 1..63=63 sectors
  0 accounted for
 Device configuration finished.
 bpf: ppp0 attached
 new masks: bio 68c040, tty 6310ba, net 6714ba
 bpf: sl0 attached
 DUMMYNET initialized (010124)
 bpf: lo0 attached
 IP packet filtering initialized, divert enabled, rule-based forwarding disabled, default to deny, logging disabled
 ata0-master: DMA limited to UDMA33, non-ATA66 compliant cable
 ata0-master: success setting UDMA2 on VIA chip
 Creating DISK ad0
 Creating DISK wd0
 ad0: <FUJITSU MPE3064AT/ED-03-08> ATA-4 disk at ata0-master
 ad0: 6187MB (12672450 sectors), 13410 cyls, 15 heads, 63 S/T, 512 B/S
 ad0: 16 secs/int, 1 depth queue, UDMA33
 ad0: piomode=4 dmamode=2 udmamode=4 cblid=0
 ad0: 6187MB <FUJITSU MPE3064AT> [13410/15/63] at ata0-master UDMA33
 ata1-master: success setting UDMA2 on VIA chip
 Creating DISK ad2
 Creating DISK wd2
 ad2: <IBM-DPTA-372050/P76OA30A> ATA-4 disk at ata1-master
 ad2: 19574MB (40088160 sectors), 39770 cyls, 16 heads, 63 S/T, 512 B/S
 ad2: 16 secs/int, 1 depth queue, UDMA33
 ad2: piomode=4 dmamode=2 udmamode=4 cblid=1
 ad2: 19574MB <IBM-DPTA-372050> [39770/16/63] at ata1-master UDMA33
 ata0-slave: piomode=4 dmamode=2 udmamode=-1 dmaflag=1
 ata0-slave: success setting PIO4 on generic chip
 acd0: <YAMAHA CRW8424E/1.0g> CD-RW drive at ata0 as slave
 acd0: read 4134KB/s (2755KB/s) write 1377KB/s (1377KB/s), 4096KB buffer, PIO4
 acd0: Reads: CD-R, CD-RW, CD-DA stream, packet
 acd0: Writes: CD-R, CD-RW, test write
 acd0: Audio: play, 256 volume levels
 acd0: Mechanism: ejectable tray
 acd0: Medium: CD-ROM unknown medium, unlocked
 Mounting root from ufs:/dev/ad0s3a
 ad0s1: type 0xb, start 63, end = 2104514, size 2104452 : OK
 ad0s2: type 0x5, start 2104515, end = 9879974, size 7775460 : OK
 ad0s3: type 0xa5, start 9879975, end = 12659219, size 2779245 : OK
 ad0s5: type 0xb, start 2104578, end = 9879974, size 7775397 : OK
 start_init: trying /sbin/init
 ad2s1: type 0xa5, start 63, end = 40082174, size 40082112 : OK
 ad2s1: type 0xa5, start 63, end = 40082174, size 40082112 : OK
 splash: image decoder found: fire_saver
 Linux-ELF exec handler installed
 acd0: MODE_SELECT_BIG - ILLEGAL REQUEST asc=26 ascq=02 error=00
 -------------------------- gdb -k ---------------------------------------
 IdlePTD 3325952
 initial pcb at 29f520
 panicstr: from debugger
 panic messages:
 ---
 Fatal trap 12: page fault while in kernel mode
 fault virtual address   = 0x1290008
 fault code              = supervisor read, page not present
 instruction pointer     = 0x8:0xc01f281f
 stack pointer           = 0x10:0xc025ca10
 frame pointer           = 0x10:0xc025ca1c
 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         = Idle
 interrupt mask          = bio
 panic: from debugger
 Fatal trap 12: page fault while in kernel mode
 fault virtual address   = 0x1290008
 fault code              = supervisor read, page not present
 instruction pointer     = 0x8:0xc01f281f
 stack pointer           = 0x10:0xc025ca10
 frame pointer           = 0x10:0xc025ca1c
 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         = Idle
 interrupt mask          = bio
 Fatal trap 12: page fault while in kernel mode
 fault virtual address   = 0x1290008
 fault code              = supervisor read, page not present
 instruction pointer     = 0x8:0xc01f281f
 stack pointer           = 0x10:0xc025ca10
 frame pointer           = 0x10:0xc025ca1c
 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         = Idle
 interrupt mask          = bio
 Fatal trap 12: page fault while in kernel mode
 fault virtual address   = 0x1290008
 fault code              = supervisor read, page not present
 instruction pointer     = 0x8:0xc01f281f
 stack pointer           = 0x10:0xc025ca10
 frame pointer           = 0x10:0xc025ca1c
 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         = Idle
 interrupt mask          = bio
 panic: from debugger
 Uptime: 21m20s
 dumping to dev #ad/0x40001, offset 45184
 dump ata0: resetting devices .. ata0: mask=03 ostat0=50 ostat2=58
 ata0-master: ATAPI probe a=00 b=00
 ata0: mask=01 status0=50 status1=ff
 ata0-master: ATA probe a=81 b=a5
 ata0: devices=01
  device dissapeared! 2 ata0-master: success setting PIO4 on generic chip
 done
 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110
 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89
 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64
 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39
 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14
 13 12 11 10 9 8 7 6 5 4 3 2 1 0
 ---
 (kgdb) bt
 #0  dumpsys () at /usr2/src/sys/kern/kern_shutdown.c:469
 #1  0xc013eb7f in boot (howto=260) at
 /usr2/src/sys/kern/kern_shutdown.c:309
 #2  0xc013ef15 in panic (fmt=0xc022f914 "from debugger")
     at /usr2/src/sys/kern/kern_shutdown.c:556
 #3  0xc011d759 in db_panic (addr=-1071699937, have_addr=0, count=-1,
     modif=0xc025c87c "") at /usr2/src/sys/ddb/db_command.c:433
 #4  0xc011d6f9 in db_command (last_cmdp=0xc025daf8, cmd_table=0xc025d958,
     aux_cmd_tablep=0xc029aa50) at /usr2/src/sys/ddb/db_command.c:333
 #5  0xc011d7be in db_command_loop () at /usr2/src/sys/ddb/db_command.c:455
 #6  0xc011f8cb in db_trap (type=12, code=0) at
 /usr2/src/sys/ddb/db_trap.c:71
 #7  0xc020b4b6 in kdb_trap (type=12, code=0, regs=0xc025c9d0)
     at /usr2/src/sys/i386/i386/db_interface.c:158
 #8  0xc021a8e4 in trap_fatal (frame=0xc025c9d0, eva=19464200)
     at /usr2/src/sys/i386/i386/trap.c:946
 #9  0xc021a5bd in trap_pfault (frame=0xc025c9d0, usermode=0, eva=19464200)
     at /usr2/src/sys/i386/i386/trap.c:844
 #10 0xc021a15f in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16,
       tf_edi = -1, tf_esi = -1060944896, tf_ebp = -1071265252,
       tf_isp = -1071265284, tf_ebx = 19464200, tf_edx = 503, tf_ecx = 5,
       tf_eax = 6, tf_trapno = 12, tf_err = 0, tf_eip = -1071699937, tf_cs
 = 8,
       tf_eflags = 66182, tf_esp = -1062937088, tf_ss = 0})
     at /usr2/src/sys/i386/i386/trap.c:443
 #11 0xc01f281f in atapi_interrupt (request=0xc0c34400)
     at /usr2/src/sys/dev/ata/atapi-all.c:334
 #12 0xc01ec496 in ata_intr (data=0xc0a4de00)
     at /usr2/src/sys/dev/ata/ata-all.c:1150
 
 
 
 
State-Changed-From-To: analyzed->closed 
State-Changed-By: sos 
State-Changed-When: Wed May 30 00:31:54 PDT 2001 
State-Changed-Why:  
Support for the yamaha burners is now in -current, MFC will follow. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=25840 
>Unformatted:
