Re: ATAng no good for me/REQUEST_SENSE recovered from missing interrupt

From: Dan Naumov <dan.naumov_at_ofw.fi>
Date: Sun, 21 Sep 2003 16:13:32 +0300
On Sat, 2003-09-20 at 22:53, Thomas Quinot wrote:
> Le 2003-09-20, Daniel Eischen écrivait :
> 
> > No, using latest sources, with or without atapicam, does
> > not solve the problem.  It still hangs.
> 
> Please try the patch below, it should at least work around the problem.

I have rebuilt world after you have committed the patch and now the
system boots properly with ATAPICAM enabled in the kernel. It no longer
hangs at boot. I tried mounting /dev/cd0 and suceeded. However, not
everything seems to be perfect, take a look at the bottom of the
included dmesg output:

===================================================================
Copyright (c) 1992-2003 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 5.1-CURRENT #0: Sun Sep 21 15:44:22 EEST 2003
    root_at_localhost.localdomain:/usr/obj/usr/src/sys/JAGO
Preloaded elf kernel "/boot/kernel/kernel" at 0xc04b6000.
Preloaded elf module "/boot/kernel/linux.ko" at 0xc04b61f4.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc04b62a0.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) processor (1400.06-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x644  Stepping = 4
 
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
  AMD Features=0xc0440000<RSVD,AMIE,DSP,3DNow!>
real memory  = 536805376 (511 MB)
avail memory = 516239360 (492 MB)
Pentium Pro MTRR support enabled
VESA: v3.0, 65536k memory, flags:0x1, mode table:0xc03c82c2 (1000022)
VESA: NVidia
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <GBT    AWRDACPI> on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 10 entries at 0xc00fddb0
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
acpi_cpu0: <CPU> port 0x530-0x537 on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port
0x6000-0x607f,0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on
acpi0
pci0: <ACPI PCI bus> on pcib0
pcib0: slot 7 INTD is routed to irq 5
pcib0: slot 7 INTD is routed to irq 5
pcib0: slot 10 INTA is routed to irq 11
pcib0: slot 14 INTA is routed to irq 11
agp0: <AMD 761 host to AGP bridge> port 0xc000-0xc003 mem
0xe4000000-0xe4000fff,0xe0000000-0xe1ffffff at device 0.0 on pci0
pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci_cfgintr: 1:5 INTA BIOS irq 10
pci1: <display, VGA> at device 5.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686B UDMA100 controller> port 0xc400-0xc40f at device
7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
uhci0: <VIA 83C572 USB controller> port 0xc800-0xc81f irq 5 at device
7.2 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xcc00-0xcc1f irq 5 at device
7.3 on pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pci0: <serial bus, SMBus> at device 7.4 (no driver attached)
rl0: <RealTek 8139 10/100BaseTX> port 0xe000-0xe0ff mem
0xe4001000-0xe40010ff irq 11 at device 10.0 on pci0
rl0: Ethernet address: 00:e0:7d:9f:be:31
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcm0: <Creative CT5880-C> port 0xe400-0xe43f irq 11 at device 14.0 on
pci0
pcm0: <SigmaTel STAC9708/11 AC97 Codec>
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
orm0: <Option ROM> at iomem 0xc0000-0xcefff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
isa0
Timecounter "TSC" frequency 1400061468 Hz quality 800
Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 2 steps (100% to 50.0%), currently 100.0%
GEOM: create disk ad0 dp=0xc40a3a70
ad0: 38182MB <MAXTOR 4K040H2> [77578/16/63] at ata0-master UDMA100
GEOM: create disk ad1 dp=0xc40a3070
ad1: 16446MB <ST317221A> [33416/16/63] at ata0-slave UDMA66
acd0: CDRW <LITE-ON COMBO LTC-48161H> at ata1-master PIO4
(probe2:ata1:0:0:0): Recovered Sense
(probe2:ata1:0:0:0): INQUIRY. CDB: 12 1 80 0 ff 0 
(probe2:ata1:0:0:0): CAM Status: SCSI Status Error
(probe2:ata1:0:0:0): SCSI Status: Check Condition
(probe2:ata1:0:0:0): ILLEGAL REQUEST asc:24,0
(probe2:ata1:0:0:0): Invalid field in CDB
(probe2:ata1:0:0:0): Recovered Sense
(probe2:ata1:0:0:0): INQUIRY. CDB: 12 1 80 0 ff 0 
(probe2:ata1:0:0:0): CAM Status: SCSI Status Error
(probe2:ata1:0:0:0): SCSI Status: Check Condition
(probe2:ata1:0:0:0): ILLEGAL REQUEST asc:24,0
(probe2:ata1:0:0:0): Invalid field in CDB
Mounting root from ufs:/dev/ad0s1a
cd0 at ata1 bus 0 target 0 lun 0
cd0: <LITE-ON COMBO LTC-48161H KH0F> Removable CD-ROM SCSI-0 device 
cd0: 16.000MB/s transfers
cd0: cd present [818 x 2048 byte records]
===================================================================

Is this something I should worry about ?

Sincerely,
Dan Naumov
Received on Sun Sep 21 2003 - 04:13:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:23 UTC