Date: Tue, 14 Nov 1995 19:21:51 -0800 From: asami@cs.berkeley.edu (Satoshi Asami) To: current@freebsd.org Subject: Panic while reading CDROM with latest -current Message-ID: <199511150321.TAA00669@silvia.HIP.Berkeley.EDU>
next in thread | raw e-mail | index | archive | help
I got a panic while reading from a CDROM. A simple command such as "dd if=/cdrom/packages/printing/mltex-3.1415.tgz of=/dev/null" will cause a panic reliably. I moved the CDROM drive from the Adaptec 2940UW to NCR 53c825 today, and the panic happened after that. But then, I haven't been using the CDROM for anything else than playing audio CD's for a while, so this may just be a coincidence. === Fatal trap 12: page fault while in kernel mode fault virtual address = 0x242 fault code = supervisor read, page not present instruction pointer = 0x8:0x60125000 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 = 28 (dd) interrupt mask = bio panic: page fault === nm /kernel | sort gives: === f0124b44 T _vfs_bio_awrite f0124d14 t _getnewbuf f0124fc8 T _incore f012503c T _inmem f01250f0 t _vfs_setdirty f01251bc T _getblk f01254b8 T _geteblk f012556c T _allocbuf f0125b5c T _biowait f0125cec T _biodone === dmesg output: === Direct-Access sd5(ncr0:4:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8. 2007MB (4110480 512 byte sectors) sd5(ncr0:4:0): with 3045 cyls, 16 heads, and an average 84 sectors/track (ncr0:5:0): "DEC RZ28 (C) DEC 441C" type 0 fixed SCSI 2 sd is configured at 6 sd6(ncr0:5:0): Direct-Access sd6(ncr0:5:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8. 2007MB (4110480 512 byte sectors) sd6(ncr0:5:0): with 3045 cyls, 16 heads, and an average 84 sectors/track (ncr0:6:0): "TOSHIBA CD-ROM XM-5301TA 0925" type 5 removable SCSI 2 cd0(ncr0:6:0): CD-ROM cd0(ncr0:6:0): 250ns (4 Mb/sec) offset 8. cd present [264427 x 2048 byte records] vga0 <Display device> rev 0 on pci0:19 pci0: uses 4224 bytes of memory from 80000010 upto ffffffff. pci0: uses 512 bytes of I/O space from 6000 upto 61ff. sd0s1: type 0x6, start 63, end = 514079, size 514017 : OK sd0s2: type 0xa5, start 528066, end = 4199759, size 3671694 : OK sd0s3: type 0x2, start 4209029, end = 4209029, size 1 : OK WARNING: / was not properly dismounted. sd1s1: type 0xa5, start 63, end = 8385047, size 8384985 : OK sd1s1: type 0xa5, start 63, end = 8385047, size 8384985 : OK sd1s1: type 0xa5, start 63, end = 8385047, size 8384985 : OK sd1s1: type 0xa5, start 63, end = 8385047, size 8384985 : OK sd1s1: type 0xa5, start 63, end = 8385047, size 8384985 : OK FreeBSD 2.2-CURRENT #0: Tue Nov 14 17:03:23 PST 1995 asami@silvia.hip.berkeley.edu:/b/src/sys/compile/SHEEP CPU: 90-MHz Pentium 735\\90 (Pentium-class CPU) Origin = "GenuineIntel" Id = 0x524 Stepping=4 Features=0x1bf<FPU,VME,PSE,MCE,CX8,APIC> real memory = 33554432 (32768K bytes) avail memory = 31379456 (30644K bytes) Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A sio2 not found at 0x3e8 sio3 not found at 0x2e8 pca0 on motherboard pca0: PC speaker audio driver fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 72065B fd0: 1.44MB 3.5in wdc0 not found at 0x1f0 npx0 on motherboard npx0: INT 16 interface gus0 at 0x220 irq 11 drq 1 on isa gus0: <Gravis UltraSound MAX (512k)> gus0: <GUS MAX (CS4231)> Probing for devices on the PCI bus: chip0 <SiS 85c501> rev 57 on pci0:0 chip1 <SiS 85c503> rev 0 on pci0:1 pci0:12: CMD, device=0x0640, class=storage (ide) [no driver assigned] ahc0 <Adaptec 2940 Ultra SCSI host adapter> rev 0 int a irq 12 on pci0:13 ahc0: aic7870 Ultra Wide Channel, SCSI Id=7, aic7880, 255 SCBs ahc0 waiting for scsi devices to settle (ahc0:0:0): "Quantum XP32150 576D" type 0 fixed SCSI 2 sd0(ahc0:0:0): Direct-Access 2050MB (4199760 512 byte sectors) (ahc0:8:0): "MICROP 3243-19SC21128K CN06" type 0 fixed SCSI 2 sd1(ahc0:8:0): Direct-Access 4095MB (8388315 512 byte sectors) ncr0 <ncr 53c825 wide scsi> rev 2 int a irq 9 on pci0:15 ncr0 waiting for scsi devices to settle (ncr0:1:0): "DEC RZ28 (C) DEC 441C" type 0 fixed SCSI 2 sd2(ncr0:1:0): Direct-Access sd2(ncr0:1:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8. 2007MB (4110480 512 byte sectors) (ncr0:2:0): "DEC RZ28 (C) DEC 441C" type 0 fixed SCSI 2 sd3(ncr0:2:0): Direct-Access sd3(ncr0:2:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8. 2007MB (4110480 512 byte sectors) (ncr0:3:0): "DEC RZ28 (C) DEC 441C" type 0 fixed SCSI 2 sd4(ncr0:3:0): Direct-Access sd4(ncr0:3:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8. 2007MB (4110480 512 byte sectors) (ncr0:4:0): "DEC RZ28 (C) DEC 441C" type 0 fixed SCSI 2 sd5(ncr0:4:0): Direct-Access sd5(ncr0:4:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8. 2007MB (4110480 512 byte sectors) (ncr0:5:0): "DEC RZ28 (C) DEC 441C" type 0 fixed SCSI 2 sd6(ncr0:5:0): Direct-Access sd6(ncr0:5:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8. 2007MB (4110480 512 byte sectors) (ncr0:6:0): "TOSHIBA CD-ROM XM-5301TA 0925" type 5 removable SCSI 2 cd0(ncr0:6:0): CD-ROM cd0(ncr0:6:0): 250ns (4 Mb/sec) offset 8. cd0(ncr0:6:0): NOT READY asc:3a,0 Medium not present can't get the size vga0 <Display device> rev 0 on pci0:19 WARNING: / was not properly dismounted. stray irq 7 === Kernel configuration file: === machine "i386" cpu "I486_CPU" cpu "I586_CPU" ident SHEEP maxusers 10 # options MATH_EMULATE #Support for x87 emulation options INET #InterNETworking options FFS #Berkeley Fast Filesystem # options NFS #Network Filesystem options MSDOSFS #MSDOS Filesystem options "CD9660" #ISO 9660 Filesystem options PROCFS #Process filesystem options "COMPAT_43" #Compatible with BSD 4.3 options UCONSOLE #X Console support options "FAT_CURSOR" #block cursor in syscons or pccons options "SCSI_DELAY=15" #Be pessimistic about Joe SCSI device options "NCONS=4" #4 virtual consoles options MFS # Memory file system options SYSVSHM # Shared memory options SYSVSEM # System V semaphores options SYSVMSG # System V message queues config kernel root on sd0 controller isa0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr disk fd0 at fdc0 drive 0 disk fd1 at fdc0 drive 1 # tape ft0 at fdc0 drive 2 controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr disk wd0 at wdc0 drive 0 disk wd1 at wdc0 drive 1 # controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr # disk wd2 at wdc1 drive 0 # disk wd3 at wdc1 drive 1 controller pci0 controller ncr0 controller ahc0 #controller ahc0 at isa? bio irq ? vector ahcintr #options AHC_TAGENABLE #options QUEUE_FULL_SUPPORTED controller scbus0 at ahc0 # Adaptec AHA 2940UW controller scbus1 at ncr0 # NCR 53C825 disk sd0 at scbus0 target 0 unit 0 disk sd1 at scbus0 target 8 tape st0 at scbus0 target 5 disk sd2 at scbus1 target 1 disk sd3 at scbus1 target 2 disk sd4 at scbus1 target 3 disk sd5 at scbus1 target 4 disk sd6 at scbus1 target 5 device cd0 device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr device npx0 at isa? port "IO_NPX" irq 13 vector npxintr device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr device sio2 at isa? port "IO_COM3" tty irq 5 vector siointr device sio3 at isa? port "IO_COM4" tty irq 9 vector siointr # device lpt0 at isa? port? tty irq 7 vector lptintr # device lpt1 at isa? port? tty # device lpt2 at isa? port? tty # device ed0 at isa? port 0x300 net irq 10 iomem 0xcc000 vector edintr # device ed1 at isa? port 0x280 net irq 3 iomem 0xd0000 vector edintr pseudo-device loop # pseudo-device ether pseudo-device log pseudo-device sl 1 # SLIP pseudo-device tun 1 # Tunnel driver(user process ppp) pseudo-device pty 32 pseudo-device speaker pseudo-device gzip # Exec gzipped a.out's # pcaudio device device pca0 at isa? port IO_TIMER1 tty # GUS Max controller snd0 device gus0 at isa? port 0x220 irq 11 drq 1 vector gusintr === lsdev -vc output: === >> lsdev -vc # This listing automatically generated by lsdev(1) 1: # CPU cpu0 2: controller scbus0 3: controller isa0 4: sc0 at isa? tty (id 4) port 0x60 irq 1 5: sio0 at isa? tty (id 5) port 0x3f8 irq 4 6: sio1 at isa? tty (id 6) port 0x2f8 irq 3 7: sio2 at isa? tty (id 7) port 0x3e8 irq 5 8: sio3 at isa? tty (id 8) port 0x2e8 irq 9 9: pca0 at isa? tty (id 9) port 0x40 10: fdc0 at isa? bio (id 2) port 0x3f0 irq 6 drq 2 11: fd0 at fdc0 drive 0 12: wdc0 at isa? (id 3) port 0x1f0 irq 14 13: npx0 at isa? (id 10) port 0xf0 14: chip0 at pci0:0 15: chip1 at pci0:1 16: ahc0 at pci0:13 # int a irq 12 17: sd0 at SCSI bus 0:0:0 (ready) (open) 18: sd1 at SCSI bus 0:8:0 (ready) (open) 19: ncr0 at pci0:15 # int a irq 9 20: sd2 at SCSI bus 1:1:0 (ready) 21: sd3 at SCSI bus 1:2:0 (ready) 22: sd4 at SCSI bus 1:3:0 (ready) 23: sd5 at SCSI bus 1:4:0 (ready) 24: sd6 at SCSI bus 1:5:0 (ready) 25: cd0 at SCSI bus 1:6:0 (ready) (open) 26: vga0 at pci0:19 === Please let me know if I forgot to include anything. :) Satoshi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511150321.TAA00669>