Date: Sat, 12 May 2001 01:24:46 +0800 From: Eugene Grosbein <eugen@grosbein.pp.ru> To: freebsd-stable@freebsd.org Subject: 4.3-STABLE panics while mounting CD-R Message-ID: <20010512012445.A390@iname.com>
next in thread | raw e-mail | index | archive | help
Hi!
4.3-STABLE built 26 April 2001 does panic immediatly after "mount -t cd9660".
This is 100% repeatable with one particular CD-R when I do "mount /cdrw"
(it runs very stable while I do not start playing with this disk).
From /etc/fstab:
# Device Mountpoint FStype Options Dump Pass#
/dev/ad0s3b none swap sw 0 0
/dev/ad0s3a / ufs rw 1 1
/dev/ad0s3f /home ufs rw,userquota,groupquota 2 2
/dev/ad0s3e /usr ufs rw 2 2
/dev/acd0c /cdrom cd9660 ro,noauto 0 0
/dev/acd1c /cdrw cd9660 ro,noauto 0 0
proc /proc procfs rw 0 0
From /boot/loader.conf:
hw.ata.ata_dma=1
hw.ata.atapi_dma=1
kernel="/kernel.panic"
From /var/log/messages:
May 12 00:43:55 <kern.crit> D00015 /kernel.panic: acd1: READ_TOC - ILLEGAL REQUEST asc=24 ascq=00 error=04
May 12 00:43:55 <kern.crit> D00015 /kernel.panic: acd1: READ_TOC - ILLEGAL REQUEST asc=24 ascq=00 error=04
May 12 00:43:55 <kern.crit> D00015 /kernel.panic: ata1-master: too many segments in DMA table
May 12 00:47:15 <kern.crit> D00015 /kernel.panic: Copyright (c) 1992-2001 The FreeBSD Project.
May 12 00:47:15 <kern.crit> D00015 /kernel.panic: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
May 12 00:47:15 <kern.crit> D00015 /kernel.panic: The Regents of the University of California. All rights reserved.
May 12 00:47:15 <kern.crit> D00015 /kernel.panic: FreeBSD 4.3-STABLE #0: Sat May 12 00:00:43 KRAST 2001
May 12 00:47:15 <kern.crit> D00015 /kernel.panic: root@D00015.dialonly.kemerovo.su:/usr/src/sys/compile/DADVDBG
May 12 00:47:15 <kern.crit> D00015 /kernel.panic: Timecounter "i8254" frequency 1193163 Hz
May 12 00:47:15 <kern.crit> D00015 /kernel.panic: CPU: Pentium II/Pentium II Xeon/Celeron (300.68-MHz 686-class CPU)
May 12 00:47:15 <kern.crit> D00015 /kernel.panic: Origin = "GenuineIntel" Id = 0x660 Stepping = 0
May 12 00:47:15 <kern.crit> D00015 /kernel.panic: Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
May 12 00:47:15 <kern.crit> D00015 /kernel.panic: real memory = 67043328 (65472K bytes)
May 12 00:47:15 <kern.crit> D00015 /kernel.panic: config> q
May 12 00:47:15 <kern.crit> D00015 /kernel.panic: avail memory = 61894656 (60444K bytes)
May 12 00:47:15 <kern.crit> D00015 /kernel.panic: Preloaded elf kernel "kernel.panic" at 0xc0309000.
May 12 00:47:15 <kern.crit> D00015 /kernel.panic: Preloaded userconfig_script "/boot/kernel.conf" at 0xc03090a4.
May 12 00:47:16 <kern.crit> D00015 /kernel.panic: VESA: v2.0, 4096k memory, flags:0x1, mode table:0xc00c0e38 (c0000e38)
May 12 00:47:16 <kern.crit> D00015 /kernel.panic: VESA: S3 Incorporated Trio3D.
May 12 00:47:16 <kern.crit> D00015 /kernel.panic: Pentium Pro MTRR support enabled
May 12 00:47:16 <kern.crit> D00015 /kernel.panic: apm0: <APM BIOS> on motherboard
May 12 00:47:16 <kern.crit> D00015 /kernel.panic: apm: found APM BIOS v1.2, connected at v1.2
May 12 00:47:16 <kern.crit> D00015 /kernel.panic: npx0: <math processor> on motherboard
May 12 00:47:16 <kern.crit> D00015 /kernel.panic: npx0: INT 16 interface
May 12 00:47:16 <kern.crit> D00015 /kernel.panic: pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
May 12 00:47:16 <kern.crit> D00015 /kernel.panic: pci0: <PCI bus> on pcib0
May 12 00:47:16 <kern.crit> D00015 /kernel.panic: pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
May 12 00:47:16 <kern.crit> D00015 /kernel.panic: pci1: <PCI bus> on pcib1
May 12 00:47:16 <kern.crit> D00015 /kernel.panic: pci1: <S3 Trio3D graphics accelerator> at 0.0 irq 12
May 12 00:47:16 <kern.crit> D00015 /kernel.panic: isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
May 12 00:47:16 <kern.crit> D00015 /kernel.panic: isa0: <ISA bus> on isab0
May 12 00:47:16 <kern.crit> D00015 /kernel.panic: atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device 7.1 on pci0
May 12 00:47:16 <kern.crit> D00015 /kernel.panic: ata0: at 0x1f0 irq 14 on atapci0
May 12 00:47:16 <kern.crit> D00015 /kernel.panic: ata1: at 0x170 irq 15 on atapci0
May 12 00:47:16 <kern.crit> D00015 /kernel.panic: pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 7.2
May 12 00:47:16 <kern.crit> D00015 /kernel.panic: intpm0: <Intel 82371AB Power management controller> port 0x5000-0x500f irq 9 at device 7.3 on pci0
May 12 00:47:16 <kern.crit> D00015 /kernel.panic: intpm0: I/O mapped 5000
May 12 00:47:16 <kern.crit> D00015 /kernel.panic: intpm0: intr IRQ 9 enabled revision 0
May 12 00:47:16 <kern.crit> D00015 /kernel.panic: smbus0: <System Management Bus> on intsmb0
May 12 00:47:17 <kern.crit> D00015 /kernel.panic: smb0: <SMBus general purpose I/O> on smbus0
May 12 00:47:17 <kern.crit> D00015 /kernel.panic: intpm0: PM I/O mapped 4000
May 12 00:47:17 <kern.crit> D00015 /kernel.panic: fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
May 12 00:47:17 <kern.crit> D00015 /kernel.panic: fdc0: FIFO enabled, 8 bytes threshold
May 12 00:47:17 <kern.crit> D00015 /kernel.panic: fd0: <1440-KB 3.5" drive> on fdc0 drive 0
May 12 00:47:17 <kern.crit> D00015 /kernel.panic: atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
May 12 00:47:17 <kern.crit> D00015 /kernel.panic: atkbd0: <AT Keyboard> irq 1 on atkbdc0
May 12 00:47:17 <kern.crit> D00015 /kernel.panic: vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
May 12 00:47:17 <kern.crit> D00015 /kernel.panic: sc0: <System console> on isa0
May 12 00:47:17 <kern.crit> D00015 /kernel.panic: sc0: VGA <24 virtual consoles, flags=0x200>
May 12 00:47:17 <kern.crit> D00015 /kernel.panic: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
May 12 00:47:17 <kern.crit> D00015 /kernel.panic: sio0: type 16550A
May 12 00:47:17 <kern.crit> D00015 /kernel.panic: sio1 at port 0x2f8-0x2ff irq 3 on isa0
May 12 00:47:17 <kern.crit> D00015 /kernel.panic: sio1: type 16550A
May 12 00:47:17 <kern.crit> D00015 /kernel.panic: ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
May 12 00:47:17 <kern.crit> D00015 /kernel.panic: ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
May 12 00:47:17 <kern.crit> D00015 /kernel.panic: lpt0: <Printer> on ppbus0
May 12 00:47:17 <kern.crit> D00015 /kernel.panic: lpt0: Interrupt-driven port
May 12 00:47:17 <kern.crit> D00015 /kernel.panic: ppi0: <Parallel I/O> on ppbus0
May 12 00:47:17 <kern.crit> D00015 /kernel.panic: joy0 at port 0x201 on isa0
May 12 00:47:18 <kern.crit> D00015 /kernel.panic: pcm0: <Yamaha OPL-SAx> at port 0x220-0x22f,0x530-0x537,0x388-0x38f,0x330-0x331,0x370-0x371 irq 5 drq 0,1 on isa0
May 12 00:47:18 <kern.crit> D00015 /kernel.panic: joy1: <Generic PnP Joystick> at port 0x211 on isa0
May 12 00:47:18 <kern.crit> D00015 /kernel.panic: DUMMYNET initialized (010124)
May 12 00:47:18 <kern.crit> D00015 /kernel.panic: IP packet filtering initialized, divert enabled, rule-based forwarding disabled, default to deny, unlimited logging
May 12 00:47:18 <kern.crit> D00015 /kernel.panic: ad0: 6149MB <WDC AC26400B> [13328/15/63] at ata0-master UDMA33
May 12 00:47:18 <kern.crit> D00015 /kernel.panic: acd0: CDROM <SAMSUNG CD-ROM SCR-3231> at ata0-slave using PIO4
May 12 00:47:18 <kern.crit> D00015 /kernel.panic: acd1: CD-RW <SONY CD-RW CRX140E> at ata1-master using UDMA33
May 12 00:47:18 <kern.crit> D00015 /kernel.panic: Mounting root from ufs:/dev/ad0s3a
May 12 00:47:18 <kern.crit> D00015 /kernel.panic: WARNING: / was not properly dismounted
May 12 00:47:19 <daemon.alert> D00015 savecore: reboot after panic: page fault
May 12 00:47:19 <daemon.warn> D00015 savecore: /var/crash/bounds: No such file or directory
May 12 00:47:19 <daemon.notice> D00015 savecore: writing core to /var/crash/vmcore.0
May 12 00:47:40 <daemon.notice> D00015 savecore: writing kernel to /var/crash/kernel.0
From kdbg:
Script started on Sat May 12 00:53:58 2001
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd".
(kgdb) symbol-file kernel.debug
Reading symbols from kernel.debug...done.
(kgdb) exec-file /var/crash/kernel.0
(kgdb) core-file /var/crash/vmcore.0
IdlePTD 3309568
initial pcb at 29c280
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0xc10c9000
fault code = supervisor write, page not present
instruction pointer = 0x8:0xc01f6fc2
stack pointer = 0x10:0xc784cf5c
frame pointer = 0x10:0xc784cf6c
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 = 233 (dnetc)
interrupt mask = bio
trap number = 12
panic: page fault
syncing disks... 18 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
giving up on 1 buffers
Uptime: 46s
dumping to dev #ad/0x40001, offset 393344
dump ata0: resetting devices .. done
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
---
#0 dumpsys () at ../../kern/kern_shutdown.c:469
469 if (dumping++) {
(kgdb) where
#0 dumpsys () at ../../kern/kern_shutdown.c:469
#1 0xc0139038 in boot (howto=256) at ../../kern/kern_shutdown.c:309
#2 0xc01393c0 in poweroff_wait (junk=0xc025010f, howto=-952851872)
at ../../kern/kern_shutdown.c:556
#3 0xc021aade in trap_fatal (frame=0xc784cf1c, eva=3238825984)
at ../../i386/i386/trap.c:951
#4 0xc021a79d in trap_pfault (frame=0xc784cf1c, usermode=0, eva=3238825984)
at ../../i386/i386/trap.c:844
#5 0xc021a343 in trap (frame={tf_fs = 4194320, tf_es = 16,
tf_ds = -1072496624, tf_edi = -1056141312, tf_esi = 32768,
tf_ebp = -947597460, tf_isp = -947597496, tf_ebx = -1056185216,
tf_edx = 368, tf_ecx = 6656, tf_eax = -1059694208, tf_trapno = 12,
tf_err = 2, tf_eip = -1071681598, tf_cs = 8, tf_eflags = 2163206,
tf_esp = -1067814176, tf_ss = -1056185216}) at ../../i386/i386/trap.c:443
#6 0xc01f6fc2 in atapi_read (request=0xc10be480, length=32768)
at machine/cpufunc.h:222
#7 0xc01f6a33 in atapi_interrupt (request=0xc10be480)
at ../../dev/ata/atapi-all.c:391
#8 0xc01efc97 in ata_intr (data=0xc0d65980) at ../../dev/ata/ata-all.c:1154
#9 0x8076808 in ?? ()
Cannot access memory at address 0x6e7100c8.
(kgdb) quit
Script done on Sat May 12 00:55:11 2001
Kernel config file:
# DADV kernel config
# 5 Jan 2001
options INCLUDE_CONFIG_FILE
machine i386
#cpu I386_CPU
cpu I486_CPU
cpu I586_CPU
cpu I686_CPU
ident DADV
maxusers 128
#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
#options MATH_EMULATE #Support for x87 emulation
options CLK_CALIBRATION_LOOP
options "CLK_USE_I8254_CALIBRATION"
options CLK_USE_TSC_CALIBRATION
options INET #InterNETworking
#options INET6 #IPv6 communications protocols
options FFS #Berkeley Fast Filesystem
options FFS_ROOT #FFS usable as root device [keep this!]
options MFS #Memory Filesystem
#options MD_ROOT #MD is a potential root device
#options NFS #Network Filesystem
#options NFS_ROOT #NFS usable as root device, NFS required
options MSDOSFS #MSDOS Filesystem
options CD9660 #ISO 9660 Filesystem
options CD9660_ROOT #CD-ROM usable as root, CD9660 required
options PROCFS #Process filesystem
#options EXT2FS #Linux ext2 filesystem
options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI
options UCONSOLE #Allow users to grab the console
options USERCONFIG #boot -c editor
options VISUAL_USERCONFIG #visual boot -c editor
#options KTRACE #ktrace(1) support
options CPU_SUSP_HLT
#options "NO_F00F_HACK"
options USER_LDT
options PPP_BSDCOMP
options PPP_DEFLATE
options PPP_FILTER
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options SHMMAXPGS=4096
options P1003_1B #Posix P1003_1B real-time extensions
options _KPOSIX_PRIORITY_SCHEDULING
options _KPOSIX_VERSION=199309L
options ICMP_BANDLIM #Rate limit bad replies
options FDESC
options KERNFS
options NSWAPDEV=4
device isa
device eisa
device pci
options AUTO_EOI_1
# Floppy drives
device fdc0 at isa? port IO_FD1 irq 6 drq 2
device fd0 at fdc0 drive 0
device fd1 at fdc0 drive 1
# ATA and ATAPI devices
device ata
device atadisk # ATA disk drives
device atapicd # ATAPI CDROM drives
options ATA_STATIC_ID #Static device numbering
# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc0 at isa? port IO_KBD
device atkbd0 at atkbdc? irq 1
device psm0 at atkbdc? irq 12
device vga0 at isa?
options VESA
# splash screen/screen saver
pseudo-device splash
# syscons is the default console driver, resembling an SCO console
device sc0 at isa?
options MAXCONS=24
options SC_HISTORY_SIZE=1000
options SC_MOUSE_CHAR=0x03
options SC_PIXEL_MODE
# Floating point support - do not disable.
device npx0 at nexus? port IO_NPX irq 13
# Power management support (see LINT for more options)
device apm0 at nexus? flags 0x31 # Advanced Power Management
# Serial (COM) ports
device sio0 at isa? port IO_COM1 flags 0x10 irq 4
device sio1 at isa? port IO_COM2 irq 3
# Parallel port
device ppc0 at isa? irq 7
device ppbus # Parallel port bus (required)
device lpt # Printer
device ppi # Parallel port interface device
device joy0 at isa? port IO_GAME
# Pseudo devices - the number indicates how many units to allocated.
pseudo-device loop # Network loopback
#pseudo-device ether # Ethernet support
#pseudo-device sl 1 # Kernel SLIP
pseudo-device ppp 1 # Kernel PPP
pseudo-device tun # Packet tunnel.
pseudo-device pty 16 # Pseudo-ttys (telnet etc)
#pseudo-device md # Memory "disks"
#pseudo-device gif 4 # IPv6 and IPv4 tunneling
#pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation)
pseudo-device snp
pseudo-device vn
pseudo-device gzip # Exec gzipped a.out's
pseudo-device speaker
# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device bpf #Berkeley packet filter
options MSGBUF_SIZE=40960
#device pcm0 at isa? port ? irq 5 drq 1
device pcm
options QUOTA
options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPDIVERT
options DUMMYNET
options SOFTUPDATES
device smbus0
device iicbus0
device iicbb0
device intpm0
device smb0 at smbus?
I'm ready to supply more details, if needed.
Eugene Grosbein
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010512012445.A390>
