Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Mar 1999 01:11:17 -0800
From:      "David O'Brien" <obrien@NUXI.com>
To:        current@freebsd.org
Subject:   panics while reading Solaris CDROM
Message-ID:  <19990319011117.A73322@relay.nuxi.com>

next in thread | raw e-mail | index | archive | help
I get very consistant panics when doing ``find . -type f |xargs grep
foo'' on a Solaris CDROM in my Plextor 8x CDROM drive (device cd0).  I'm
not sure how to proceed in fixing this.

The core files from the panic seem to be useless -- I can't get anything
useful out of ``where'' with a kernel w/debugging symbols:

    savecore: reboot after panic: vm_fault: fault on nofault entry, addr: c2923000
    savecore: writing core to /var/crash/vmcore.2
    savecore: writing kernel to /var/crash/kernel.2

    (kgdb) symbol-file ./kernel
    (kgdb) exec-file /var/crash/kernel.2
    (kgdb) core-file /var/crash/vmcore.2
    IdlePTD 7630437
    initial pcb at 2783e4
    panic messages:
    ---
    dmesg: kvm_read: invalid address (c026ed38)
    ---
    #0  0x2520656c in ?? ()
    (kgdb)                                                               

In DDB I get:
    
panic: vm_fault on nofault entry, addr: c2b08000
db> trace
vm_fault(c029c854, c2b08000, 1, 0, c4f147e0) at vm_fault +0x120
trap_pfault(c56bdb40, 0, c2b08000, 80000000, c0a3500) at trap_pfault +0xf0
...
---trap 0xc, eip=0xc0140146, esp=0xc56bdb7c, epb=0xc56bdd1c ---
cd9660_lookup(c56bdd4c, c56de414, 16, c56bdf24, c56fc980) at cd9660_lookup+0x226
vfs_cache_lookup(c56bdd9c, c56d5ac0, c56bdf00, c56bdf24, 0) at vfs_cache_lookup+0x269
lookup(56bdf00, 0, c56bdf00, 9e9, c08fb580) at lookup+0x305
namei(56bdf00, 0, c56bdf94, fffffffc, c0a3e600) at namei+0x1cd
vn_open(c56bdf00, 1, 9e9, c4f147e0, c027bdfc) at vn_open+0x1cd
open(c4f147e0, c56bdf94, 9fb, bfbf9a4b, 8050f0d) at open+0xbb
syscall(2f, 2f, 8050f0d, bfbf9a4b, bfbec648) at syscall+0x19b
Xint0x80_syscall() at Xinit0x80_syscall+0x2c

My kernel is compiled with ``option DIAGNOSTIC'', my only KLD's are
linux.ko and daemon_saver.ko.

FreeBSD 4.0-CURRENT #40: Fri Mar 19 00:20:08 PST 1999
    rootk@dragon.nuxi.com:/FBSD/src/sys/compile/DRAGON
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 199432607 Hz
CPU: AMD-K6tm w/ multimedia extensions (199.43-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x562  Stepping=2
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory  = 100663296 (98304K bytes)
avail memory = 94785536 (92564K bytes)
Preloaded elf kernel "kernel" at 0xc0301000.
ccd0-1: Concatenated disk drivers
Probing for devices on PCI bus 0:
chip0: <Intel 82439> rev 0x03 on pci0.0.0
chip1: <Intel 82371SB PCI to ISA bridge> rev 0x01 on pci0.7.0
ide_pci0: <Intel PIIX3 Bus-master IDE controller> rev 0x00 on pci0.7.1
fxp0: <Intel EtherExpress Pro 10/100B Ethernet> rev 0x02 int a irq 12 on pci0.17.0
fxp0: Ethernet address 00:a0:c9:8c:c4:49
vga0: <Matrox MGA 2064W graphics accelerator> rev 0x01 int a irq 9 on pci0.18.0
ahc0: <Adaptec 2940 Ultra SCSI adapter> rev 0x00 int a irq 11 on pci0.19.0
ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
ahc1: <Adaptec 2940 SCSI adapter> rev 0x00 int a irq 15 on pci0.20.0
ahc1: aic7870 Single Channel A, SCSI Id=7, 16/255 SCBs
Probing for PnP devices:
CSN 1 Vendor ID: CTL00c7 [0xc7008c0e] Serial 0x101fd54b Comp ID: PNPb02f [0x2fb0d041]
pcm1 (SB16pnp <SB16 PnP> sn 0x101fd54b) at 0x220-0x22f irq 5 drq 1 flags 0x15 on isa
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 at 0x280-0x29f irq 10 maddr 0xd8000 msize 16384 on isa
ed0: address 00:00:c0:ee:e8:bf, type SMC8216/SMC8216C (16 bit) 
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
ppc0 at 0x378 irq 7 on isa
ppc0: SMC FDC37C665GT chipset (PS2/NIBBLE) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus 0
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
ppi0: <generic parallel i/o> on ppbus 0
pca0 on motherboard
pca0: PC speaker audio driver
pcm0 not probed due to drq conflict with pcm1 at 1
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 72065B
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
fd1: 1.2MB 5.25in
wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa
wdc0: unit 0 (wd0): <Maxtor 86480D6>, DMA, 32-bit, multi-block-16
wd0: 6180MB (12658275 sectors), 13395 cyls, 15 heads, 63 S/T, 512 B/S
wdc0: unit 1 (wd1): <WDC AC38400L>, DMA, 32-bit, multi-block-16
wd1: 8063MB (16514064 sectors), 16383 cyls, 16 heads, 63 S/T, 512 B/S
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
IP packet filtering initialized, divert enabled, rule-based forwarding disabled, logging disabled
Waiting 2 seconds for SCSI devices to settle
da12 at ahc1 bus 0 target 2 lun 0
da12: <DEC DSP3210S 435E> Fixed Direct Access SCSI-2 device 
da12: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled
da12: 2049MB (4197520 512 byte sectors: 255H 63S/T 261C)
da13 at ahc1 bus 0 target 3 lun 0
da13: <HP 2.13 GB 2nd 0582> Fixed Direct Access SCSI-2 device 
da13: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled
da13: 2033MB (4165272 512 byte sectors: 255H 63S/T 259C)
da11 at ahc1 bus 0 target 1 lun 0
da11: <SEAGATE ST32550N 0021> Fixed Direct Access SCSI-2 device 
da11: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled
da11: 2047MB (4194058 512 byte sectors: 255H 63S/T 261C)
da1 at ahc0 bus 0 target 1 lun 0
da1: <QUANTUM FIREBALL_TM1280S 300N> Fixed Direct Access SCSI-2 device 
da1: 20.000MB/s transfers (20.000MHz, offset 15), Tagged Queueing Enabled
da1: 1222MB (2503872 512 byte sectors: 255H 63S/T 155C)
cd1 at ahc0 bus 0 target 5 lun 0
cd1: <PLEXTOR CD-ROM PX-4XCH 1.22> Removable CD-ROM SCSI-2 device 
cd1: 4.032MB/s transfers (4.032MHz, offset 15)
cd1: cd present [326242 x 2048 byte records]
da8 at ahc0 bus 0 target 8 lun 0
da8: <SEAGATE ST32155W 0362> Fixed Direct Access SCSI-2 device 
da8: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da8: 2049MB (4197405 512 byte sectors: 255H 63S/T 261C)
changing root device to da0s1a
da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM DDRS-34560W S97B> Fixed Direct Access SCSI-2 device 
da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da0: 4357MB (8925000 512 byte sectors: 255H 63S/T 555C)
Start pid=2 <pagedaemon>
Start pid=3 <vmdaemon>
Start pid=4 <syncer>
da10 at ahc1 bus 0 target 0 lun 0
da10: <TANDEM 4265-1 1011> Fixed Direct Access SCSI-2 device 
da10: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled
da10: 4303MB (8813870 512 byte sectors: 255H 63S/T 548C)
cd2 at ahc0 bus 0 target 6 lun 0
cd2: <PLEXTOR CD-ROM PX-6XCS 1.00> Removable CD-ROM SCSI-2 device 
cd2: 5.000MB/s transfers (5.000MHz, offset 15)
cd2: cd present [313986 x 2048 byte records]
cd0 at ahc0 bus 0 target 4 lun 0
cd0: <PLEXTOR CD-ROM PX-8XCS 1.02> Removable CD-ROM SCSI-2 device 
cd0: 10.000MB/s transfers (10.000MHz, offset 15)
cd0: cd present [230993 x 2048 byte records]

-- 
-- David    (obrien@NUXI.com  -or-  obrien@FreeBSD.org)


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?19990319011117.A73322>