Date: Wed, 15 Nov 1995 19:34:01 +1000 From: Stephen Hocking <sysseh@devetir.qld.gov.au> To: bugs@freebsd.org Subject: ejecting & replacing a tape while rwt0 is open will cause a crash. Message-ID: <199511150934.JAA17101@netfl15a.devetir.qld.gov.au>
next in thread | raw e-mail | index | archive | help
Excuse me for not using send-pr, but with our mail configuration it's a bit awkward. When I'm using restore (which has some other bugs I'll address in a later message) to interactively restore a single file from a multi-volume backup I can reliably cause the machine to crash by following these steps. 1) Be at the prompt where it says to enter a volume number after issuing the extract command. 2) Remove the tape and put it back in. Note that restore still has the drive open during this process. 3) Enter the volume number & press return (causing restore to close the device so it's rewound) 4) Watch the machine die - getting the core with savecore and weilding gdb -k reveals the following. IdlePTD 1cc000 current pcb at 1c0d6c panic: page fault #0 0xf0177c1d in boot () (kgdb) bt #0 0xf0177c1d in boot () #1 0xf0110e1b in panic () #2 0xf017d53f in trap_fatal () #3 0xf017d099 in trap_pfault () #4 0xf017ccdb in trap () #5 0xf01752ad in calltrap () #6 0xf010c85d in tsleep () #7 0xf01a7962 in wtpoll () #8 0xf01a7f38 in wtstatus () #9 0xf01a7dd7 in wtsense () #10 0xf01a767c in wtintr () #11 0xf01a7c54 in wtimer () #12 0xf0102bb4 in softclock () #13 0xf01765c7 in doreti_swi () #14 0xf017c278 in cpu_switch () My config is as follows FreeBSD 2.2-CURRENT #11: Wed Nov 15 09:24:34 EST 1995 toor@unixtest:/usr/src/sys/compile/bloop CPU: i486DX (486-class CPU) real memory = 8388608 (8192K bytes) avail memory = 6811648 (6652K bytes) Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard 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:d2:b2:72, type SMC8216T (16 bit) lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16450 pca0 on motherboard pca0: PC speaker audio driver aha0 at 0x330-0x333 irq 11 drq 5 on isa (aha0:0:0): "SEAGATE ST12550N 0013" type 0 fixed SCSI 2 sd0(aha0:0:0): Direct-Access 2040MB (4178874 512 byte sectors) sd0(aha0:0:0): with 2708 cyls, 19 heads, and an average 81 sectors/track fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 765 fd0: 1.44MB 3.5in wt0 at 0x300-0x301 irq 5 drq 3 on isa wt0: type <Wangtek> npx0 on motherboard npx0: INT 16 interface pas0 at 0x388 irq 12 drq 6 on isa pas0: <Pro AudioSpectrum 16D rev 63> sb0 at 0x220 irq 9 drq 1 on isa sb0: <SoundBlaster 2.0> opl0 at 0x38a on isa opl0: <Yamaha OPL-3 FM> joy0 at 0x201 on isa joy0: joystick -- I do not speak for the Worker's Compensation Board of Queensland - They don't pay me enough for that!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511150934.JAA17101>