Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Oct 2001 20:02:19 +1000
From:      Stanley Hopcroft <Stanley.Hopcroft@IPAustralia.Gov.AU>
To:        Questions@FreeBSD.ORG
Subject:   Does anyone know how to fix MODE_SENSE_BIG - 'happened' after 3.x-R (all 4.x to date have it) ?
Message-ID:  <20011025200217.A371@IPAustralia.Gov.AU>

next in thread | raw e-mail | index | archive | help
Dear Ladies and Gentlemen,

I am writing to ask for some help with the ata driver in FreeBSD 4.x.

Since upgrading from FreeBSD 3.2-RELEASE to 4.2-RELEASE, and with the
subsequent stable and release 4.3's I have tried, my machine no longer
detects an old Matsushita x4 CD-ROM.

The CD works in neither ata0 as a slave or in ata1 as a slave (I think
the role of the drive is set by jumpers ...)

Perhaps more seriously, I can find __no__ answers to the questions about
this.

Google search only shows the questions from others;
a FreeBSD search of questions, hackers and hardware likewise.

There have been a lot of questions about this, all noting the fact that
the problems occurred with 4.x.

Here is the relevant part of dmesg after boot -v

Copyright (c) 1992-2001 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 4.2-20010110-STABLE #7: Thu Apr  5 18:33:44 EST 2001
    root@stan.aipo.gov.au:/usr/src/sys/compile/STAN
Calibrating clock(s) ... TSC clock: 400927445 Hz, i8254 clock: 1193236 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254"  frequency 1193182 Hz
CLK_USE_TSC_CALIBRATION not specified - using old calibration method
Timecounter "TSC"  frequency 400910992 Hz
CPU: AMD-K6(tm) 3D processor (400.91-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x58c  Stepping = 12
  Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
  AMD Features=0x80000800<SYSCALL,3DNow!>
Data TLB: 128 entries, 2-way associative
Instruction TLB: 64 entries, 1-way associative
L1 data cache: 32 kbytes, 32 bytes/line, 2 lines/tag, 2-way associative
L1 instruction cache: 32 kbytes, 32 bytes/line, 2 lines/tag, 2-way associative
Write Allocate Enable Limit: 128M bytes
Write Allocate 15-16M bytes: Enable
real memory  = 134152192 (131008K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009ffff, 651264 bytes (159 pages)
0x002cb000 - 0x07fe7fff, 131190784 bytes (32029 pages)
avail memory = 127967232 (124968K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00faeb0
bios32: Entry = 0xfb330 (c00fb330)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xb360
pnpbios: Found PnP BIOS data at 0xc00fbf90
pnpbios: Entry = f0000:bfb8  Rev = 1.0
Other BIOS signatures found:
ACPI: 000f8060
Preloaded elf kernel "kernel" at 0xc02a5000.
K6-family MTRR support enabled (2 registers)
pci_open(1):	mode 1 addr port (0x0cf8) is 0x80003840
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=05971106)
npx0: <math processor> on motherboard
npx0: INT 16 interface
i586_bzero() bandwidth = 62500000 bytes/sec
bzero() bandwidth = 203334688 bytes/sec
pci_open(1):	mode 1 addr port (0x0cf8) is 0x00000000
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=05971106)
pcib0: <Host to PCI bridge> on motherboard
found->	vendor=0x1106, dev=0x0597, revid=0x04
	class=06-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	map[10]: type 1, range 32, base e0000000, size 26
found->	vendor=0x1106, dev=0x8598, revid=0x00
	class=06-04-00, hdrtype=0x01, mfdev=0
	subordinatebus=1 	secondarybus=1
found->	vendor=0x1106, dev=0x0586, revid=0x47
	class=06-01-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
found->	vendor=0x1106, dev=0x0571, revid=0x06
	class=01-01-8a, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	map[20]: type 1, range 32, base 0000e400, size  4
found->	vendor=0x1106, dev=0x3040, revid=0x10
	class=06-04-00, hdrtype=0x01, mfdev=0
	subordinatebus=0 	secondarybus=0
pci0: <PCI bus> on pcib0
pcib1: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0
found->	vendor=0x1023, dev=0x9880, revid=0x3a
	class=03-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=10
	map[10]: type 1, range 32, base e5800000, size 23
	map[14]: type 1, range 32, base e6000000, size 17
	map[18]: type 1, range 32, base e5000000, size 23

atapci0: <VIA 82C586 ATA33 controller> port 0xe400-0xe40f at device 7.1 on pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xe400
ata0: mask=03 status0=50 status1=00
ata0: mask=03 ostat0=50 ostat2=00
ata0-master: ATAPI probe a=00 b=00
ata0-slave: ATAPI probe a=00 b=00
ata0: mask=03 status0=50 status1=00
ata0-master: ATA probe a=01 b=a5
ata0: devices=01
ata0: at 0x1f0 irq 14 on atapci0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xe408
ata1: mask=03 status0=40 status1=10
ata1: mask=03 ostat0=40 ostat2=10
ata1-master: ATAPI probe a=ff b=ff
ata1-slave: ATAPI probe a=14 b=eb
ata1: mask=03 status0=40 status1=10
ata1-master: ATA probe a=a5 b=ff
ata1: devices=08
ata1: at 0x170 irq 15 on atapci0

ata0-master: success setting UDMA2 on VIA chip
Creating DISK ad0
Creating DISK wd0
ad0: <ST313021A/3.32> ATA-5 disk at ata0-master
ad0: 12419MB (25434228 sectors), 25232 cyls, 16 heads, 63 S/T, 512 B/S
ad0: 16 secs/int, 1 depth queue, UDMA33
ad0: piomode=4 dmamode=2 udmamode=4 cblid=1
ad0: 12419MB <ST313021A> [25232/16/63] at ata0-master UDMA33
ata1-slave: piomode=3 dmamode=-1 udmamode=-1 dmaflag=0
ata1-slave: success setting PIO3 on generic chip
(null): MODE_SENSE_BIG command timeout - resetting
ata1: resetting devices .. ata1: mask=02 ostat0=40 ostat2=58
ata1-master: ATAPI probe a=ff b=ff
ata1-slave: ATAPI probe a=14 b=eb
ata1: mask=02 status0=40 status1=10
ata1: devices=08
done
(null): MODE_SENSE_BIG DONEDRQ
(null): MODE_SENSE_BIG - ABORTED COMMAND asc=4e ascq=00 error=00
(null): MODE_SENSE_BIG command timeout - resetting
ata1: resetting devices .. ata1: mask=02 ostat0=40 ostat2=58
ata1-master: ATAPI probe a=ff b=ff
ata1-slave: ATAPI probe a=14 b=eb
ata1: mask=02 status0=40 status1=10
ata1: devices=08
done
(null): MODE_SENSE_BIG DONEDRQ
(null): MODE_SENSE_BIG - ABORTED COMMAND asc=4e ascq=00 error=00
(null): MODE_SENSE_BIG command timeout - resetting
ata1: resetting devices .. ata1: mask=02 ostat0=40 ostat2=58
ata1-master: ATAPI probe a=ff b=ff
ata1-slave: ATAPI probe a=14 b=eb
ata1: mask=02 status0=40 status1=10
ata1: devices=08
done
(null): MODE_SENSE_BIG DONEDRQ
(null): MODE_SENSE_BIG - ABORTED COMMAND asc=4e ascq=00 error=00
(null): MODE_SENSE_BIG command timeout - resetting
ata1: resetting devices .. ata1: mask=02 ostat0=40 ostat2=58
ata1-master: ATAPI probe a=ff b=ff
ata1-slave: ATAPI probe a=14 b=eb
ata1: mask=02 status0=40 status1=10
ata1: devices=08
done
(null): MODE_SENSE_BIG DONEDRQ
(null): MODE_SENSE_BIG - ABORTED COMMAND asc=4e ascq=00 error=00
ata1-slave: <MATSHITA CR-581/1.05> CDROM device - NO DRIVER!

The machine boots and works fine but I would like to use the CD
occasionally.

Thank you,

Yours sincerely.

--

------------------------------------------------------------------------
Stanley Hopcroft        IP Australia
Network Specialist
+61 2 6283 3189 +61 2 6281 1353
(FAX)   Stanley.Hopcroft@IPAustralia.Gov.AU
------------------------------------------------------------------------
Moon, n.:
        1. A celestial object whose phase is very important to
hackers.  See PHASE OF THE MOON.  2. Dave Moon (MOON@MC).



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011025200217.A371>