Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Mar 2000 21:54:24 -0500
From:      Matt Heckaman <matt@ARPA.MAIL.NET>
To:        FreeBSD-STABLE <FreeBSD-STABLE@FreeBSD.ORG>
Subject:   Problem with ad* driver.
Message-ID:  <Pine.BSF.4.21.0003212145270.319-300000@epsilon.lucida.qc.ca>

index | next in thread | raw e-mail

[-- Attachment #1 --]
I'm still having a problem with the ad driver, this is under 4.0-STABLE
cvsupped about 4 hours ago, in an attempt to solve this problem. This is,
I believe, what Jordan re-rolled 4.0-R for, and he said it was fixed in
stable as well so.. Here's what I get for example:

root[epsilon]:~# fdisk /dev/ad1
fdisk: can't open device /dev/ad1
fdisk: cannot open disk /dev/ad1: Input/output error

[same error for disklabel, mount, anything]

[from dmesg]
ad1: HARD READ ERROR blk# 0ata0-slave: WARNING: WAIT_READY
active=ATA_ACTIVE_ATA
ad1: HARD READ ERROR blk# 0 status=59 error=04
ad1: DMA problem fallback to PIO mode
ad1: reading primary partition table: error reading fsbn 0

[my relevent dmesg]
ad0: 8063MB <WDC AC38400L> [16383/16/63] at ata0-master using UDMA33
ad1: 1549MB <WDC AC21600H> [3148/16/63] at ata0-slave using WDMA2
acd0: CDROM <MATSHITA CR-589> at ata1-master using PIO4

[ ls -l /dev/ad1* ]

crw-r-----  1 root  operator  116, 0x0001000a Mar 21 21:14 /dev/ad1
crw-r-----  1 root  operator  116,   8 Mar 21 21:14 /dev/ad1a
crw-r-----  1 root  operator  116,   9 Mar 21 21:14 /dev/ad1b
crw-r-----  1 root  operator  116,  10 Mar 21 21:14 /dev/ad1c
crw-r-----  1 root  operator  116,  11 Mar 21 21:14 /dev/ad1d
crw-r-----  1 root  operator  116,  12 Mar 21 21:14 /dev/ad1e
crw-r-----  1 root  operator  116,  13 Mar 21 21:14 /dev/ad1f
crw-r-----  1 root  operator  116,  14 Mar 21 21:14 /dev/ad1g
crw-r-----  1 root  operator  116,  15 Mar 21 21:14 /dev/ad1h
crw-r-----  1 root  operator  116, 0x0002000a Mar 21 21:14 /dev/ad1s1
crw-r-----  1 root  operator  116, 0x00020008 Mar 19 17:00 /dev/ad1s1a
crw-r-----  1 root  operator  116, 0x00020009 Mar 19 17:00 /dev/ad1s1b
crw-r-----  1 root  operator  116, 0x0002000a Mar 19 17:00 /dev/ad1s1c
crw-r-----  1 root  operator  116, 0x0002000b Mar 19 17:00 /dev/ad1s1d
crw-r-----  1 root  operator  116, 0x0002000c Mar 19 17:00 /dev/ad1s1e
crw-r-----  1 root  operator  116, 0x0002000d Mar 19 17:00 /dev/ad1s1f
crw-r-----  1 root  operator  116, 0x0002000e Mar 19 17:00 /dev/ad1s1g
crw-r-----  1 root  operator  116, 0x0002000f Mar 19 17:00 /dev/ad1s1h
crw-r-----  1 root  operator  116, 0x0003000a Mar 21 21:14 /dev/ad1s2
crw-r-----  1 root  operator  116, 0x0004000a Mar 21 21:14 /dev/ad1s3
crw-r-----  1 root  operator  116, 0x0005000a Mar 21 21:14 /dev/ad1s4

I've attached my kernel configuration and my complete dmesg just incase
there's something I'm doing that is causing this. ad0 works fine as well,
it's just ad1 that refuses to work. The cd-rom works as well. This is
quite a frustrating problem for me as I desperately need the extra space.

As always, your help is appreciated. I'm not sure where to turn on this
problem as it's supposed to be fixed as I understand it. The evidence
would make it appear otherwise though. Also, before I forget, this drive
worked perfectly in 3.4-S under the wd drivers.

Matt
--
Matt Heckaman [matt@arpa.mail.net|matt@relic.net] [Please do not send me]
!Powered by FreeBSD/x86! [http://www.freebsd.org] [any SPAM (UCE) e-mail]

[-- Attachment #2 --]
Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 4.0-STABLE #0: Tue Mar 21 21:28:54 EST 2000
    root@epsilon.lucida.qc.ca:/usr/src/sys/compile/EPSILON
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 400911458 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (400.91-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x660  Stepping = 0
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 134152192 (131008K bytes)
avail memory = 126521344 (123556K bytes)
Preloaded elf kernel "kernel" at 0xc0330000.
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <Matrox MGA G200 AGP graphics accelerator> at 0.0 irq 11
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 7.2 irq 10
chip1: <Intel 82371AB Power management controller> port 0x5000-0x500f at device 7.3 on pci0
xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xe400-0xe47f mem 0xea000000-0xea00007f irq 10 at device 11.0 on pci0
xl0: Ethernet address: 00:10:4b:0f:e6:b6
miibus0: <MII bus> on xl0
xlphy0: <3Com internal media interface> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: supplying EUI64: 00:10:4b:ff:fe:0f:e6:b6
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
ppi0: <Parallel I/O> on ppbus0
sbc0: <Creative ViBRA16C> at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 1,5 on isa0
sbc0: setting card to irq 5, drq 1, 5
pcm0: <SB DSP 4.13> on sbc0
unknown0: <Game> at port 0x200-0x207 on isa0
IP packet filtering initialized, divert disabled, rule-based forwarding disabled, default to accept, logging disabled
ad0: 8063MB <WDC AC38400L> [16383/16/63] at ata0-master using UDMA33
ad1: 1549MB <WDC AC21600H> [3148/16/63] at ata0-slave using WDMA2
acd0: CDROM <MATSHITA CR-589> at ata1-master using PIO4
vinum: loaded
Mounting root from ufs:/dev/ad0s1a
xl0: starting DAD for fe80:0001::0210:4bff:fe0f:e6b6
xl0: DAD complete for fe80:0001::0210:4bff:fe0f:e6b6 - no duplicates found
ad1: HARD READ ERROR blk# 0ata0-slave: WARNING: WAIT_READY active=ATA_ACTIVE_ATA
ad1: HARD READ ERROR blk# 0 status=59 error=04
ad1: DMA problem fallback to PIO mode
ad1: reading primary partition table: error reading fsbn 0

[-- Attachment #3 --]
# EPSILON.LUCIDA.QC.CA, 4.0-STABLE KERNEL
# Created: March 19 2000

machine		i386
cpu		I686_CPU
ident		EPSILON
maxusers	128
options         NMBCLUSTERS=16384

# Main Options
options		MATH_EMULATE		# Support for x87 emulation
options		INET			# InterNETworking
options		INET6			# IPv6 communications protocols
options         FFS                     # Berkeley Fast Filesystem
options		FFS_ROOT		# FFS usable as root device
options         NFS                     # Network Filesystem
options         PROCFS                  # Process filesystem
options		MSDOSFS			# MSDOS Filesystem
options		CD9660                  # ISO 9660 Filesystem
options		CD9660_ROOT             # CD-ROM usable as root. "CD9660"
options         COMPAT_43               # Compatible with BSD 4.3
options         COMPAT_LINUX            # Compatible with Linux
options		UCONSOLE		# Allow users to grab the console
options		USERCONFIG		# boot -c editor
options		VISUAL_USERCONFIG	# visual boot -c editor
options         KTRACE                  # ktrace(1) syscall trace support

# POSIX Options
options 	P1003_1B
options 	_KPOSIX_PRIORITY_SCHEDULING
options 	_KPOSIX_VERSION=199309L

# SYSV Options
options         SYSVSHM
options         SYSVSEM
options         SYSVMSG

# Firewall Options
options         IPFIREWALL
options         IPFIREWALL_DEFAULT_TO_ACCEPT

device		isa
device		eisa
device		pci

# Floppy drives
device		fdc0	at isa? port IO_FD1 irq 6 drq 2
device		fd0	at fdc0 drive 0
device		fd1	at fdc0 drive 1

# ATA and ATAPI devices
device		ata0	at isa? port IO_WD1 irq 14
device		ata1	at isa? port IO_WD2 irq 15
device		ata
device		atadisk		# ATA disk drives
device		atapicd		# ATAPI CDROM drives
device		atapifd		# ATAPI floppy drives
device		atapist		# ATAPI tape drives
options 	ATA_STATIC_ID	# Static device numbering

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1
device		vga0	at isa?

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa?

# Floating point support - do not disable.
device		npx0	at nexus? port IO_NPX irq 13

# Serial (COM) ports
device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
device		sio1	at isa? port IO_COM2 irq 3
device		sio2	at isa? disable port IO_COM3 irq 5
device		sio3	at isa? disable port IO_COM4 irq 9

# Parallel port
device		ppc0	at isa? irq 7
device		ppbus		# Parallel port bus (required)
device		ppi		# Parallel port interface device

# For PnP/PCI sound cards
device		pcm

# PCI Ethernet NICs that use the common MII bus controller code.
device		miibus		# MII bus support
device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')

# Pseudo devices
pseudo-device	bpf	4	# Berkeley packet filter
pseudo-device	pty	32	# Pseudo-ttys (telnet etc)
pseudo-device	snp	4	# Snoop device - to look at pty/vty/etc..
pseudo-device	loop		# Network loopback
pseudo-device	ether		# Ethernet support
pseudo-device   vinum		# Vinum concat/mirror/raid driver
pseudo-device	splash          # Splash screen/screen saver

# Pseudo devices for IPv6
pseudo-device	gif	1	# IPv6 and IPv4 tunneling
pseudo-device	faith	1	# IPv6-to-IPv4 relaying (translation)
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0003212145270.319-300000>