Subject: SCSI trouble.
To: None <current-users@netbsd.org>
From: Antti Kantee <pooka@iki.fi>
List: current-users
Date: 10/03/1999 17:28:13
To make it short, I can't boot anymore after the recent SCSI changes.
The damn thing just sits there forever (for 10 minutes at least ..)
after saying:
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 targ 1 lun 0: <QUANTUM, VIKING II 4.5WLS, 5520> SCSI2 0/direct fixed
<STUN!>
Here's my kernel config file and old dmesg output:
#
# BABYLON5 -- everything that's worth supporting
#
include "arch/i386/conf/std.i386"
maxusers 32 # estimated number of users
# CPU support. At least one is REQUIRED.
options I586_CPU
# CPU-related options.
options VM86 # virtual 8086 emulation
options USER_LDT # user-settable LDT; used by WINE
options DUMMY_NOPS
# Misc. i386-specific options
options XSERVER # X server support in console drivers
options XSERVER_DDB # PF12 gets you into DDB when X is running
# Standard system options
#options UCONSOLE # users can use TIOCCONS (for xconsole)
options INSECURE # disable kernel security levels
options RTC_OFFSET="-120" # hardware clock is this many mins. west of GMT
#options NTP # NTP phase/frequency locked loop
options KTRACE # system call tracing via ktrace(1)
options SYSVMSG # System V-like message queues
options SYSVSEM # System V-like semaphores
options SYSVSHM # System V-like memory sharing
#options SHMMAXPGS=1024 # 1024 pages is the default
options LKM # loadable kernel modules
# Diagnostic/debugging support options
options DIAGNOSTIC # cheap kernel consistency checks
#options DEBUG # expensive debugging checks/support
#options KMEMSTATS # kernel memory statistics (vmstat -m)
options DDB # in-kernel debugger
options DDB_HISTORY_SIZE=100 # enable history editing in DDB
#options KGDB # remote debugger
#options "KGDB_DEVNAME=\"com\"",KGDBADDR=0x3f8,KGDBRATE=9600
makeoptions DEBUG="-g" # compile full symbol table
# Compatibility options
options COMPAT_NOMID # compatibility with 386BSD, BSDI, NetBSD 0.8,
options COMPAT_09 # NetBSD 0.9,
options COMPAT_10 # NetBSD 1.0,
options COMPAT_11 # NetBSD 1.1,
options COMPAT_12 # NetBSD 1.2,
options COMPAT_13 # NetBSD 1.3,
options COMPAT_14 # NetBSD 1.4,
options COMPAT_43 # and 4.3BSD
options COMPAT_LINUX # binary compatibility with Linux
options COMPAT_FREEBSD # binary compatibility with FreeBSD
# File systems
file-system FFS # UFS
file-system EXT2FS # second extended file system (linux)
file-system LFS # log-structured file system
file-system MFS # memory file system
file-system NFS # Network File System client
#file-system NTFS # Windows/NT file system
file-system CD9660 # ISO 9660 + Rock Ridge file system
file-system MSDOSFS # MS-DOS file system
file-system FDESC # /dev/fd
file-system KERNFS # /kern
#file-system NULLFS # loopback file system
#file-system PORTAL # portal filesystem (still experimental)
file-system PROCFS # /proc
#file-system UMAPFS # NULLFS + uid and gid remapping
#file-system UNION # union file system
#file-system CODA # Coda File System; also needs vcoda (below)
# File system options
#options NFSSERVER # Network File System server
#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
# immutable) behave as system flags.
# Networking options
#options GATEWAY # packet forwarding
options INET # IP + ICMP + TCP + UDP
#options MROUTING # IP multicast routing
#options NS # XNS
#options NSIP # XNS tunneling over IP
#options ISO,TPIP # OSI
#options EON # OSI tunneling over IP
#options CCITT,LLC,HDLC # X.25
#options NETATALK # AppleTalk networking protocols
options PPP_BSDCOMP # BSD-Compress compression support for PPP
options PPP_DEFLATE # Deflate compression support for PPP
options PPP_FILTER # Active filter support for PPP (requires bpf)
options PFIL_HOOKS # pfil(9) packet filter hooks
options IPFILTER_LOG # ipmon(8) log support
# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
options PCIVERBOSE # verbose PCI device autoconfig messages
options SCSIVERBOSE # human readable SCSI error messages
# Set disk buffer size
options BUFCACHE=12
# SCSI options
options NCR_TEKRAM_EEPROM
options SCSI_NCR_DFLT_TAGS=32
#
# wscons options
#
#options WSEMUL_SUN # sun terminal emulation
options WSEMUL_VT100 # VT100 / VT220 emulation
# different kernel output - see dev/wscons/wsdisplayvar.h
options WS_KERNEL_FG=WSCOL_GREEN
options WS_KERNEL_BG=WSCOL_BLACK
# compatibility to other console drivers
options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls
options WSDISPLAY_COMPAT_USL # VT handling
options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
options WSCONS_SUPPORT_PCVTFONTS # PCVT fonts support
# see dev/pckbc/wskbdmap_mfii.c for implemented layouts
options PCKBD_LAYOUT="(KB_SV)"
# allocate a number of virtual screens at autoconfiguration time
options WSDISPLAY_DEFAULTSCREENS=1
# use a large software cursor that doesn't blink
options PCDISPLAY_SOFTCURSOR
# Misc options
options MEMORY_DISK_HOOKS
# Kernel root file system and dump configuration.
config netbsd root on ? type ?
#
# Device configuration
#
mainbus0 at root
apm0 at mainbus0 # Advanced power management
# Basic Bus Support
# PCI bus support
pci* at mainbus? bus ?
pci* at pchb? bus ?
pci* at ppb? bus ?
# PCI bridges
pchb* at pci? dev ? function ? # PCI-Host bridges
pcib* at pci? dev ? function ? # PCI-ISA bridges
ppb* at pci? dev ? function ? # PCI-PCI bridges
# XXX 'puc's aren't really bridges, but there's no better place for them here
#puc* at pci? dev ? function ? # PCI "universal" comm. cards
# ISA bus support
isa* at mainbus?
isa* at pcib?
# Coprocessor Support
# Math Coprocessor support
npx0 at isa? port 0xf0 irq 13 # x86 math coprocessor
# wscons devices
pckbc0 at isa? # pc keyboard controller
pckbd* at pckbc? # PC keyboard
vga* at pci?
wsdisplay* at vga? console ?
wskbd* at pckbd? console ?
#wsdisplay* at pcdisplay? console ?
#pcdisplay0 at isa? # CGA, MDA, EGA, HGA
# beeper
#pcppi0 at isa?
#sysbeep0 at pcppi?
# Serial Devices
# ISA serial interfaces
com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports
com1 at isa? port 0x2f8 irq 3
# Parallel Printer Interfaces
# ISA parallel printer interfaces
# BROKEN LPT_DELAY can fix hangs and reboots in interrupt driven lpt
#options BROKEN_LPT_DELAY=5
lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
# SCSI Controllers and Devices
# PCI SCSI controllers
ncr* at pci? dev ? function ? # NCR 53c8xx SCSI
# SCSI bus support
scsibus* at ncr?
# SCSI devices
sd* at scsibus? target ? lun ? # SCSI disk drives
# IDE and related devices
# PCI IDE controllers (CMD tech's PCI0640, Intel's PIIx, ...).
# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
# how to set up DMA modes for this chip. This may work, or may cause
# a machine hang with some controllers.
pciide0 at pci ? dev ? function ? flags 0x0000
pciide1 at pci ? dev ? function ? flags 0x0000
# IDE drives
# Flags are used only with controllers that support DMA operations
# and mode settings (e.g. some pciide controllers)
# The lowest order four bits (rightmost digit) of the flags define the PIO
# mode to use, the next set of four bits the DMA mode and the third set the
# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
# to use, and the last bit must be 1 for this setting to be used.
# For DMA and UDMA, 0xf (1111) means 'disable'.
# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
# (0xc=1100, 0xa=1010, 0xf=1111)
# 0x0000 means "use whatever the drive claims to support".
wd0 at pciide0 channel 0 drive 0 flags 0x0000
wd1 at pciide0 channel 1 drive ? flags 0x0000
wd2 at pciide0 channel 0 drive ? flags 0x0000
wd* at pciide? channel ? drive ? flags 0x0000
# ATAPI bus support
atapibus* at pciide? channel ?
# ATAPI devices
# flags have the same meaning as for IDE drives.
cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
# ISA Network interface
ep0 at isa? port ? irq ? # 3Com509
# PCI Network interface
ne* at pci? dev ? function ? # NE2000
# Miscellaneous mass storage devices
# ISA floppy
fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
fd* at fdc? drive ? # the drives themselves
# Audio Devices
# ISA audio devices
sb0 at isa? port 0x220 irq 5 drq 1 drq2 5 # SoundBlaster
# OPL[23] FM syntheziers
opl* at sb?
# Audio support
audio* at sb?
# MIDI support
#midi* at pcppi? # MIDI interface to the PC speaker
midi* at opl? # OPL FM synth
# The spkr driver provides a simple tone interface to the built in speaker.
#spkr0 at pcppi? # PC speaker
# Joysticks
joy0 at isa? port 0x201
# Pseudo-Devices
# disk/mass storage pseudo-devices
#pseudo-device raid 4 # RAIDframe disk driver
pseudo-device ccd 2 # concatenated/striped disk devices
pseudo-device md 4 # memory disk device (ramdisk)
pseudo-device vnd 4 # disk-like interface to files
# network pseudo-devices
pseudo-device bpfilter 8 # Berkeley packet filter
pseudo-device ipfilter # IP filter (firewall) and NAT
pseudo-device loop # network loopback
pseudo-device ppp 2 # Point-to-Point Protocol
#pseudo-device tun 2 # network tunneling over tty
#pseudo-device gre 2 # generic L3 over IP tunnel
# miscellaneous pseudo-devices
pseudo-device pty 64 # pseudo-terminals
pseudo-device tb 1 # tablet line discipline
pseudo-device sequencer 1 # MIDI sequencer
# rnd works; RND_COM not on i386
pseudo-device rnd # /dev/random and in-kernel generator
#options RND_COM # use "com" randomness as well (BROKEN)
----
NetBSD 1.4K (BABYLON5) #73: Sun Sep 19 20:54:56 EEST 1999
pooka@babylon5:/usr/src/sys/arch/i386/compile/BABYLON5
cpu0: family 5 model 8 step c
cpu0: AMD K6-2 (586-class)
total memory = 65152 KB
avail memory = 53564 KB
using 1954 buffers containing 7816 KB of memory
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o enabled, memory enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82439HX System Controller (TXC) (rev. 0x03)
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371SB PCI-to-ISA Bridge (PIIX3) (rev. 0x01)
pciide0 at pci0 dev 7 function 1: Intel 82371SB IDE Interface (PIIX3)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <QUANTUM FIREBALL_TM3840A>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 3681MB, 7480 cyl, 16 head, 63 sec, 512 bytes/sect x 7539840 sectors
wd0: 32-bits data port
wd0: drive supports PIO mode 4, DMA mode 2
wd2 at pciide0 channel 0 drive 1: <ST51080A>
wd2: drive supports 32-sector pio transfers, lba addressing
wd2: 1033MB, 2100 cyl, 16 head, 63 sec, 512 bytes/sect x 2116800 sectors
wd2: 32-bits data port
wd2: drive supports PIO mode 4, DMA mode 2
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
wd2(pciide0:0:1): using PIO mode 4, DMA mode 2 (using DMA data transfers)
pciide0: secondary channel wired to compatibility mode
atapibus0 at pciide0 channel 1
cd0 at atapibus0 drive 0: <IDE/ATAPI CD-ROM, , M4C6> type 5 cdrom removable
cd0: 32-bits data port
cd0: drive supports PIO mode 4, DMA mode 1, Ultra-DMA mode 2
wd1 at pciide0 channel 1 drive 1: <WDC AC33100H>
wd1: drive supports 16-sector pio transfers, lba addressing
wd1: 3020MB, 6136 cyl, 16 head, 63 sec, 512 bytes/sect x 6185088 sectors
wd1: 32-bits data port
wd1: drive supports PIO mode 4, DMA mode 2
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 0, DMA mode 1 (using DMA data transfers)
wd1(pciide0:1:1): using PIO mode 4, DMA mode 2 (using DMA data transfers)
ncr0 at pci0 dev 9 function 0: ncr 53c875 fast20 wide scsi
ncr0: interrupting at irq 9
00: 77080000 77080000 77080000 77080000 77080000 77080000 77080000 77080000
20: 77080000 77080000 77080000 77080000 77080000 77080000 77080000 77080000
40: 070e0004 05000000 00000000 00000000 00000000 00000000 00000000 00000000
60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0000b878
Sum = 1234
ncr0: Tekram EEPROM read succeeded
ncr0: minsync=12, maxsync=137, maxoffs=16, 128 dwords burst, large dma fifo
ncr0: single-ended, open drain IRQ driver, using on-chip SRAM
ncr0: restart (scsi reset).
scsibus0 at ncr0: 16 targets, 8 luns per target
sd0 at scsibus0 targ 1 lun 0: <QUANTUM, VIKING II 4.5WLS, 5520> SCSI2 0/direct fixed
sd0(ncr0:1:0): WIDE SCSI (16 bit) enabled
sd0(ncr0:1:0): 40.0 MB/s (50 ns, offset 16)
sd0: 4350 MB, 8338 cyl, 5 head, 213 sec, 512 bytes/sect x 8910423 sectors
ne0 at pci0 dev 10 function 0: RealTek 8029 Ethernet
ne0: 10base2, 10baseT, 10baseT-FDX, auto, default auto
ne0: Ethernet address 00:80:ad:38:eb:14
ne0: interrupting at irq 12
vga0 at pci0 dev 11 function 0: Matrox MGA Millennium 2064W ("Storm") (rev. 0x01)
wsdisplay0 at vga0: console (80x25, vt100 emulation)
isa0 at pcib0
ep0 at isa0 port 0x300-0x30f irq 10: 3Com 3C509 Ethernet
ep0: address 00:60:8c:cf:1f:f3, 8KB byte-wide FIFO, 5:3 Rx:Tx split
ep0: 10baseT, 10base5 (default 10baseT)
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
lpt0 at isa0 port 0x378-0x37b irq 7
sb0 at isa0 port 0x220-0x237 irq 5 drq 1 drq2 5: dsp v4.12
audio0 at sb0: full duplex
midi at sb0 not configured
opl0 at sb0: model OPL3
midi0 at opl0: <SB Yamaha OPL3>
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
joy0 at isa0 port 0x201
joy0: joystick connected
apm0 at mainbus0: Power Management spec V1.2
apm0: A/C state: on
apm0: battery charge state: no battery
biomask c240 netmask d640 ttymask d6c2
md0: internal 256K image area
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs
--
"Never underestimate the power of the Lite side of the \Source/"
Antti Kantee / NetBSD \ 1973 <- draken \ / o
<pooka@iki.fi> / http://www.netbsd.org \ platters -> 1999 \ / |
______________/ Free Multiplatform UN*X \___________________\/__ |