Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Mar 2001 06:11:59 -0800 (PST)
From:      nunes@corp.terra.com.br
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/25608: ATA CD-ROM is not recognized on IBM Netfinity 5000
Message-ID:  <200103081411.f28EBxB03476@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         25608
>Category:       kern
>Synopsis:       ATA CD-ROM is not recognized on IBM Netfinity 5000
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 08 06:20:04 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Alessandro Nunes
>Release:        4.2-RELEASE
>Organization:
Terra Networks Brasil
>Environment:
FreeBSD cacimba.terra.com.br 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Wed Mar  7 17:34:30 BRT 2001     root@cacimba.terra.com.br:/usr/src/sys/compile/TERRA  i386
>Description:
I didn't get install FreeBSD with CD-ROM. The system restarted
when the installation attempted to read the CD.
I've made a FTP install and the system is running, but the CD drive
doesn't work (see "mount /cdrom" below).
Strange messages appear when the system try to recognize "ata0"
on boot (see "dmesg.boot" below).
In BIOS setup the CDROM is in master mode with "autoconfigure" and PIO3.
I don't think that is a CD drive failure because I can make a CD boot
using "RELEASE-4.2" cd and I have another Netfinity 5000 ("RELEASE-4.2")
with the same problem to recognize CDROM.

Unsuccessful attempts to solve the problem:
* recompile the kernel with the patch describe in PR "kern/25370".
  It doesn't work.
* change PIO3 to PIO4 in BIOS.
  There's no option in BIOS to change PIO.
* modify sysctl "hw.atamodes" variable.
  I didn't find documentation about "hw.atamodes" variable
  (man don't describe it). So I don't do it.

parts of "/var/run/dmesg.boot"
==============================
Please tell me if you need all "dmesg.boot".

Copyright (c) 1992-2000 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-RELEASE #0: Wed Mar  7 17:34:30 BRT 2001
    root@cacimba.terra.com.br:/usr/src/sys/compile/TERRA
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (598.40-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x673  Stepping = 3
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 1073725440 (1048560K bytes)
avail memory = 1042747392 (1018308K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id: 14, version: 0x00170011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xc030f000.
...
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0x2000-0x201f mem 0xfea00000-0xfeafffff,0xfebff000-0xfebfffff irq 11 at device 1.0 on pci0
fxp0: Ethernet address 00:04:ac:33:e6:f7
ahc0: <Adaptec aic7895 Ultra SCSI adapter> port 0x2200-0x22ff mem 0xfebfe000-0xfebfefff irq 15 at device 6.0 on pci0
aic7895C: Wide Channel A, SCSI Id=7, 32/255 SCBs
ahc1: <Adaptec aic7895 Ultra SCSI adapter> port 0x2300-0x23ff mem 0xfebfd000-0xfebfdfff irq 10 at device 6.1 on pci0
aic7895C: Wide Channel B, SCSI Id=7, 32/255 SCBs
...
atapci0: <Generic PCI ATA controller> port 0xffa0-0xffaf,0-0x3,0-0x7,0x3f4-0x3f7,0x1f0-0x1f7 irq 10 at device 15.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
...
SMP: AP CPU #1 Launched!
(null): MODE_SENSE_BIG command timeout - resetting
ata0: resetting devices .. done
(null): read data overrun 2/0
(null): read data overrun 2/0
(null): read data overrun 2/0
(null): read data overrun 2/0
(null): read data overrun 2/0
(null): read data overrun 2/0
(null): read data overrun 2/0
(null): read data overrun 2/0
(null): read data overrun 2/0
(null): read data overrun 2/0
(null): read data overrun 2/0
(null): read data overrun 2/0
(null): read data overrun 2/0
acd0: CDROM <CD-ROM CDU701-F> at ata0-master using PIO4
Waiting 15 seconds for SCSI devices to settle
...

mount /cdrom
============
Command "mount /cdrom" doesn't return a prompt and
hangs the system.
Below are messages in "/var/log/messages":

Mar  8 09:30:01 cacimba /kernel: acd0: READ_TOC command timeout - resetting
Mar  8 09:30:01 cacimba /kernel: ata0: resetting devices .. ata0-master: timeout waiting for command=ef s=00 e=64
Mar  8 09:30:01 cacimba /kernel: done
Mar  8 09:30:01 cacimba /kernel: acd0: read data overrun 12/0
Mar  8 09:30:32 cacimba /kernel: acd0: READ_TOC command timeout - resetting
Mar  8 09:30:32 cacimba /kernel: ata0: resetting devices .. ata0-master: timeout waiting for command=ef s=00 e=64
Mar  8 09:30:32 cacimba /kernel: done
Mar  8 09:30:32 cacimba /kernel: acd0: read data overrun 12/0
Mar  8 09:31:03 cacimba /kernel: acd0: READ_BIG command timeout - resetting
Mar  8 09:31:03 cacimba /kernel: ata0: resetting devices .. ata0-master: timeout waiting for command=ef s=00 e=64
Mar  8 09:31:03 cacimba /kernel: done
Mar  8 09:31:33 cacimba /kernel: acd0: READ_BIG command timeout - resetting
Mar  8 09:31:33 cacimba /kernel: ata0: resetting devices .. ata0-master: timeout waiting for command=ef s=00 e=64
Mar  8 09:31:33 cacimba /kernel: done

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:

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




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