Subject: port-mac68k/12933: Major SCSI/filesystem/something weirdness on Mac Centris 660av
To: None <gnats-bugs@gnats.netbsd.org>
From: Dave Huang <khym@azeotrope.org>
List: netbsd-bugs
Date: 05/14/2001 02:07:42
>Number: 12933
>Category: port-mac68k
>Synopsis: Major SCSI/filesystem/something weirdness on Mac Centris 660av
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: port-mac68k-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon May 14 00:07:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Dave Huang
>Release: NetBSD-1.5V as of May 13, 2001
>Organization:
Name: Dave Huang | Mammal, mammal / their names are called /
INet: khym@bga.com | they raise a paw / the bat, the cat /
FurryMUCK: Dahan | dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 25 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++
>Environment:
System: NetBSD gedd.metonymy.com 1.5V NetBSD 1.5V (GEDD) #613: Mon May 14 01:30:41 CDT 2001 khym@dahan.metonymy.com:/usr/src.local/sys/arch/mac68k/compile/GEDD mac68k
Architecture: m68k
Machine: mac68k
[ using 282971 bytes of netbsd a.out symbol table ]
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001
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 1.5V (GEDD) #613: Mon May 14 01:30:41 CDT 2001
khym@dahan.metonymy.com:/usr/src.local/sys/arch/mac68k/compile/GEDD
Apple Macintosh Centris 660AV (68040)
cpu: delay factor 800
total memory = 36864 KB
avail memory = 31012 KB
using 486 buffers containing 1944 KB of memory
mrg: 'Quadra AV ROMs' ROM glue, tracing off, debug off, silent traps
mrg: I/O map kludge for ROMs that use hardware addresses directly.
mainbus0 (root)
obio0 at mainbus0
esp0 at obio0: address 0x83f000: NCR53C96, 25MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
adb0 at obio0
intvid0 at obio0 @ 50100600: CIVIC video subsystem
intvid0: 1024 x 768, 256 color
macfb0 at intvid0
wsdisplay0 at macfb0: console (std, vt100 emulation)
mc0 at obio0: address 08:00:07:06:39:ef
zsc0 at obio0 chip type 0
zsc0 channel 0: d_speed 9600 DCD clk 0 CTS clk 0
zstty0 at zsc0 channel 0
zsc0 channel 1: d_speed 9600 DCD clk 0 CTS clk 0
zstty1 at zsc0 channel 1
nubus0 at mainbus0
fpu0 at mainbus0 (mc68040)
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <QUANTUM, FIREBALL540S, 1Q09> SCSI2 0/direct fixed
sd0: 520 MB, 3835 cyl, 2 head, 138 sec, 512 bytes/sect x 1065235 sectors
sd0: Async, 8-bit transfers
sd1 at scsibus0 target 1 lun 0: <IBM, DFHSS2F, 4141> SCSI2 0/direct fixed
sd1: 2150 MB, 4390 cyl, 8 head, 125 sec, 512 bytes/sect x 4404489 sectors
sd1: Async, 8-bit transfers
cd0 at scsibus0 target 3 lun 0: <SONY, CD-ROM CDU-8003A, 1.9a> SCSI2 5/cdrom removable
cd0: Async, 8-bit transfers
uk0 at scsibus0 target 4 lun 0: <HP, C2500A, 3332> SCSI2 3/processor fixed
uk0: unknown device
uk0: Async, 8-bit transfers
adb0 (direct, Cuda): 2 targets
aed0 at adb0 addr 0: ADB Event device
akbd0 at adb0 addr 2: extended keyboard
wskbd0 at akbd0: console keyboard, using wsdisplay0
ams0 at adb0 addr 3: EMP trackball <LT02> 3-button, 200 dpi
wsmouse0 at ams0
boot device: sd1
root on sd1a dumps on sd1b
PRAM: 0x3aff3718, macos_boottime: 0x3aff370d.
root file system type: ffs
>Description:
-current kernels have been behaving very strangely for me since around
late December 2000... ls -a of a directory on a ffs filesystem doesn't
show anything at all, but I can ls a specific file if I know the name,
and I can read the file just fine. However, if I create a file in that
directory, I'm then able to ls it. On the other hand, ls of an iso9660
CDROM seems to work just fine, as does a NFS filesystem. Programs run
just fine...
Also, dd from raw disk devices immediately returns EOF (no error
messages from the kernel) without reading anything.
See the thread titled "Problem with new esp driver? [on mac68k] (or
maybe not)" on port-mac68k around 12/2000 and 1/2001 for my original
messages on the subject.
>How-To-Repeat:
Booted single-user mode, ifconfiged up the ethernet, then mounted a
few things:
# df
Filesystem 1K-blocks Used Avail Capacity Mounted on
root_device 31661 20448 8046 71% /
/dev/sd1g 1014763 881458 82566 91% /usr
dahan:/usr 4370120 3091168 1060440 74% /dahan/usr
/dev/cd0a 418784 418784 0 100% /cdrom
# ls -la /
# ls -la /usr
# wc /netbsd
11110 82709 1618800 /netbsd
# ls -l /netbsd
-rwx------ 1 root wheel 1618800 Oct 25 2000 /netbsd
# dd if=/dev/rsd0c
0+0 records in
0+0 records out
0 bytes transferred in 1 secs (0 bytes/sec)
# dd if=/dev/rsd1c
0+0 records in
0+0 records out
0 bytes transferred in 1 secs (0 bytes/sec)
# dd if=/dev/rcd0c bs=2k
0+0 records in
0+0 records out
0 bytes transferred in 1 secs (0 bytes/sec)
# touch /somefile
# ls /
.cshrc altroot cdrom dev home lost+found netbsd proc sbin stand tmp usr2
.profile bin dahan etc kern mnt nnetbsd root somefile sys usr var
# dd if=/dev/rsd0a
0+0 records in
0+0 records out
0 bytes transferred in 1 secs (0 bytes/sec)
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: