*BSD News Article 92843


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!inferno.mpx.com.au!nsw1.news.telstra.net!news.telstra.net!news-out.internetmci.com!newsfeed.internetmci.com!news.cmc.net!news.gv.tsc.tdk.com!news.winterlan.com!frii.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.nacamar.de!news-kar1.dfn.de!hades.rz.uni-sb.de!news.phil.uni-sb.de!not-for-mail
From: D. Rock <rock@wurzelausix.CS.Uni-SB.DE>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: 2.2.1-RELEASE: panic at floppy access
Date: 3 Apr 1997 17:35:30 GMT
Organization: Universität des Saarlandes
Lines: 109
Message-ID: <5i0pp2$ac4$1@pf1.phil.uni-sb.de>
References: <5hbo0e$kto$1@pf1.phil.uni-sb.de> <5hojb0$ai9@uriah.heep.sax.de>
NNTP-Posting-Host: vodix.cs.uni-sb.de
X-Newsreader: TIN [UNIX 1.3 unoff BETA 970222; i86pc SunOS 5.5.1]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:38494

In Artikel <5hojb0$ai9@uriah.heep.sax.de> schrieb J Wunsch <j@uriah.heep.sax.de>:
: D. Rock <rock@wurzelausix.CS.Uni-SB.DE> wrote:

: > The error is fairly easy reproductable by first accessing the
: > drive without a disk inserted, insert disk, do again:
: > % mdir
: > .... I/O error
: > [slide in disk]
: > % mdir
: > panic: general protection fault

: This is more likely to be a machine problem than a floppy driver one.

I suspect it's a hardware fault. I was able to reproduce the same error
on a totally different machine (the floppy port of an Adaptec 1542B,
also detected as a NEC 765).
So it seems to be more a problem of the handling of a "NEC 765" in the
floppy driver?


Daniel


Just to be complete, here is the boot output of the 2nd machine:
FreeBSD 2.2-STABLE #0: Tue Apr  1 03:39:28 CEST 1997
    root@abrams:/usr/src/sys/compile/MODEM
CPU: i486 DX2 (486-class CPU)
  Origin = "GenuineIntel"  Id = 0x435  Stepping=5
  Features=0x3<FPU,VME>
real memory  = 16777216 (16384K bytes)
avail memory = 14958592 (14608K bytes)
Probing for devices on the ISA bus:
ed0 at 0x300-0x31f irq 5 on isa
ed0: address 00:00:6e:20:fe:af, type NE2000 (16 bit) 
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 8250
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
sio2 at 0x3e8-0x3ef irq 10 on isa
sio2: type 16550A
sio3 at 0x2e8-0x2ef irq 12 on isa
sio3: type 16550A
sio4 at 0x3e0-0x3e7 irq 15 on isa
sio4: type 16550A
pca0 on motherboard
pca0: PC speaker audio driver
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 765
fd0: 1.2MB 5.25in
aha0 at 0x330-0x333 irq 11 drq 5 on isa
(aha0:0:0): "IBM 0662SW1       !X 2 23" type 0 fixed SCSI 2
sd0(aha0:0:0): Direct-Access 1003MB (2055035 512 byte sectors)
sd0(aha0:0:0): with 4119 cyls, 5 heads, and an average 99 sectors/track
npx0 on motherboard
npx0: INT 16 interface
RTC BIOS diagnostic error 20<config_unit>
IP packet filtering initialized, divert disabled, unlimited logging
WARNING: / was not properly dismounted.


The config file:

machine         "i386"
cpu             "I486_CPU"
ident           MODEM
maxusers        8
config          kernel  root on sd0
options         "COMPAT_43"
options         SYSVSHM
options         SYSVSEM
options         SYSVMSG
options         KTRACE
options         UCONSOLE
options         USERCONFIG
options         VISUAL_USERCONFIG
options         INET
pseudo-device   ether
pseudo-device   loop
pseudo-device   ppp     4
pseudo-device   bpfilter        4
options         MROUTING
options         IPFIREWALL
options         IPFIREWALL_VERBOSE
options         FFS
options         NFS
options         NFS_NOSERVER
options         PROCFS
pseudo-device   pty     4
pseudo-device   speaker
pseudo-device   log
pseudo-device   snp     2
controller      isa0
options         "AUTO_EOI_1"
device          npx0    at isa? port "IO_NPX" irq 13 vector npxintr
controller      fdc0    at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk            fd0     at fdc0 drive 0
controller      scbus0
device          sd0
options         SCSI_REPORT_GEOMETRY
options         BOUNCE_BUFFERS
controller      aha0    at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr
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 10 vector siointr
device          sio3    at isa? port "IO_COM4" tty irq 12 vector siointr
device          sio4    at isa? port 0x3e0 tty irq 15 vector siointr
options         COMCONSOLE
device          ed0     at isa? port 0x300 net irq 5 iomem 0xca000 vector edintr
device          pca0    at isa? port IO_TIMER1 tty