NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-sparc/42192: cannot access floppy on SPARCstation 1+



>Number:         42192
>Category:       port-sparc
>Synopsis:       cannot access floppy on SPARCstation 1+
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    port-sparc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 17 15:55:00 +0000 2009
>Originator:     Izumi Tsutsui
>Release:        NetBSD 5.0.1
>Organization:
>Environment:
System: NetBSD 5.0.1
Architecture: sparc
Machine: SPARCstation 1+
>Description:
On 5.0.1 miniroot, any floppy access (at least against /dev/rfd0a)
causes timeouts and hard errors (due to lost interrupts?)
on SPARCstation 1+.

On 4.0.1 miniroot it works fine.

>How-To-Repeat:
Boot 5.0.1 miniroot.fs and try to read/write floppy:

---
Type  help  for more information
ok boot sd(,,1)
Booting from: sd(0,0,1) 
>> NetBSD/sparc Secondary Boot, Revision 1.15
>> (builds%b8.netbsd.org@localhost, Thu Jul 30 00:08:01 UTC 2009)
Booting netbsd
3494392+98988+323288 [231376+218885]=0x43a5d8
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 5.0.1 (GENERIC) #0: Thu Jul 30 00:21:28 UTC 2009
        
builds%b8.netbsd.org@localhost:/home/builds/ab/netbsd-5-0-1-RELEASE/sparc/200907292356Z-obj/home/builds/ab/netbsd-5-0-1-RELEASE/src/sys/arch/sparc/compile/GENERIC
total memory = 65484 KB
avail memory = 59684 KB
bootpath: /sbus0/esp0/sd@0,0:b
mainbus0 (root): Sun 4/65: hostid 53009494
cpu0 at mainbus0: MB86900/1A or L64801 @ 25 MHz, WTL3170/2 FPU
cpu0: 64K byte write-through, 16 bytes/line, sw flush: cache enabled

 :

fdc0 at mainbus0 ioaddr 0xf7200000 ipl 11 softpri 4: chip 82072
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec

 :

root file system type: ffs
WARNING: clock gained 79 days
WARNING: CHECK AND RESET THE DATE!
erase ^H, werase ^W, kill ^U, intr ^C
If you are using a SUN type 4 keyboard, please enter "sun-type4".
Terminal type? [sun] 
Erase is backspace.

This installer now uses the new `sysinst' installer tool by default.  To
use the old install or upgrade shell scripts instead, enter the options
(OI) for Old Install or (OU) for Old Upgrade.

The script-based installers may be removed in a future release.

(I)nstall/Upgrade, (H)alt or (S)hell? s
# dd if=/dev/rfd0a of=/dev/null
fd0: timeout: state 10
fd0: timeout: state 13 (st0 c0<invld,abnrml> cyl 0)
fd0: timeout: state 13 (st0 c0<invld,abnrml> cyl 0)
fd0: timeout: state 13 (st0 c0<invld,abnrml> cyl 0)
fd0: timeout: state 13 (st0 c0<invld,abnrml> cyl 0)
fd0: timeout: state 13 (st0 c0<invld,abnrml> cyl 0)
fd0a: hard error reading fsbn 0
fd0: controller status: state 13 (st0 c0<invld,abnrml> cyl 0)
fd0: timeout: state 10
fd0: timeout: state 13 (st0 c0<invld,abnrml> cyl 0)
fd0: timeout: state 13 (st0 c0<invld,abnrml> cyl 0)
fd0: timeout: state 13 (st0 c0<invld,abnrml> cyl 0)
fd0: timeout: state 13 (st0 c0<invld,abnrml> cyl 0)
fd0: timeout: state 13 (st0 c0<invld,abnrml> cyl 0)
fd0a: hard error reading fsbn 0
fd0: controller status: state 13 (st0 c0<invld,abnrml> cyl 0)
dd: /dev/rfd0a: Input/output error
0+0 records in
0+0 records out
0 bytes transferred in 5.770 secs (0 bytes/sec)
# dd if=/dev/zero of=/dev/rfd0a
fd0: timeout: state 10
fd0: timeout: state 13 (st0 c0<invld,abnrml> cyl 0)
fd0: timeout: state 13 (st0 c0<invld,abnrml> cyl 0)
fd0: timeout: state 13 (st0 c0<invld,abnrml> cyl 0)
fd0: timeout: state 13 (st0 c0<invld,abnrml> cyl 0)
fd0: timeout: state 13 (st0 c0<invld,abnrml> cyl 0)
fd0a: hard error reading fsbn 0
fd0: controller status: state 13 (st0 c0<invld,abnrml> cyl 0)
fd0: timeout: state 10
fd0: timeout: state 13 (st0 c0<invld,abnrml> cyl 0)
fd0: timeout: state 13 (st0 c0<invld,abnrml> cyl 0)
fd0: timeout: state 13 (st0 c0<invld,abnrml> cyl 0)
fd0: timeout: state 13 (st0 c0<invld,abnrml> cyl 0)
fd0: timeout: state 13 (st0 c0<invld,abnrml> cyl 0)
fd0a: hard error writing fsbn 0
fd0: controller status: state 13 (st0 c0<invld,abnrml> cyl 0)
dd: /dev/rfd0a: Input/output error
1+0 records in
0+0 records out
0 bytes transferred in 5.748 secs (0 bytes/sec)
# 

---

4.0.1 works on the same machine as following:
---
ok boot sd(,,1)
Booting from: sd(0,0,1) 
>> NetBSD/sparc Secondary Boot, Revision 1.15
>> (builds@wb28, Wed Oct  8 00:13:03 PDT 2008)
Booting netbsd
3297272+106168+202196 [204480+192063]=0x3e1500
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 4.0.1 (GENERIC) #0: Wed Oct  8 01:06:02 PDT 2008
        
builds@wb28:/home/builds/ab/netbsd-4-0-1-RELEASE/sparc/200810080053Z-obj/home/builds/ab/netbsd-4-0-1-RELEASE/src/sys/arch/sparc/compile/GENERIC
total memory = 65484 KB
avail memory = 60024 KB
timecounter: Timecounters tick every 10.000 msec
bootpath: /sbus0/esp0/sd@0,0:b
mainbus0 (root): Sun 4/65: hostid 53009494

 :

fdc0 at mainbus0 ioaddr 0xf7200000 ipl 11 softpri 4: chip 82072
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec

 :

The script-based installers may be removed in a future release.

(I)nstall/Upgrade, (H)alt or (S)hell? s
# dd if=/dev/rfd0a of=/dev/null
^C36+0 records in
36+0 records out
18432 bytes transferred in 7.596 secs (2426 bytes/sec)
# dd if=/dev/zero of=/dev/rfd0a
^C27+0 records in
26+0 records out
13312 bytes transferred in 5.484 secs (2427 bytes/sec)
# 

---

>Fix:
Not investigated yet.

One possibility is around MI softint(9) changes after 4.0?
---
Izumi Tsutsui



Home | Main Index | Thread Index | Old Index