Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Sep 2003 15:48:50 +0200
From:      Jan Srzednicki <winfried@student.agh.edu.pl>
To:        freebsd-current@freebsd.org
Subject:   ATAng still problematic
Message-ID:  <20030918134850.GA22643@student.agh.edu.pl>

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

--cWoXeonUoKmBZSoM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hello there,

I still have problems with ATAng, with kernel from 15th of September.

First of all, the drive still does not get detected properly. Funny
thing is that after some playing with atacontrol attach/detach, it
finally gets detected. And later on, it is normally detected, before.
Same scenario happened like 3 times with ATAng and newer and newer
kernels. I don't know whether some device hints or anything are just
updated; yet, I didn't have _any_ drive detection problems with ATAold.

The problem is with the second drive. There's still some randomness in
it, as it gets undetected from time to time.

Another thing is with atapicam. First of all, I am not able to do any CD
audio ripping, getting the following:

[15:29] stronghold:/usr/tmp(569)# dagrab -d /dev/acd1 -a
dagrab: error retrieving cddb data
Dumping all tracks
Dumping track 1: lba      0 to lba  42800 (needs 96 MB)
Output file is: track01.wav

dagrab: read raw ioctl failed at lba 0 length 12: Inappropriate ioctl for device

I get the same error with cdda2wav. I've recompiled them both after
upgrading, to no avail.

The second thing is that I get a panic when trying to burn a CD with
atapicam mode.

panic: vm_fault_copy_wired: page missing

I have recent cdrtools, recompiled after system upgrade. I will try to
debug that with a freshly cvsupped kernel.

I have my dmesg attached.

-- 
  -- wrzask --= v =-- Winfried --===-- GG# 3838383 ---
-- w@dream.vg --- w@303.krakow.pl --===-- http://violent.dream.vg/ ---
--=< Ride the wild wind - push the envelope, don't sit on the fence, ---
  -- Ride the wild wind - live life on the razor's edge! >=-- Queen --

--cWoXeonUoKmBZSoM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=dmesg

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 #11: Tue Sep 16 00:53:17 CEST 2003
    root@stronghold:/usr/obj/usr/src/sys/MOONDANCE
Preloaded elf kernel "/boot/kernel/kernel" at 0xc04db000.
Preloaded elf module "/boot/kernel/if_rl.ko" at 0xc04db1f4.
Preloaded elf module "/boot/kernel/miibus.ko" at 0xc04db2a0.
Preloaded elf module "/boot/kernel/snd_via82c686.ko" at 0xc04db34c.
Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc04db400.
Preloaded elf module "/boot/kernel/mga.ko" at 0xc04db4ac.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc04db554.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Duron(tm) Processor (600.03-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x630  Stepping = 0
  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 = 515842048 (491 MB)
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <VIA694 AWRDACPI> on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 7 entries at 0xc00fdd00
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_button0: <Power 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 INTC is routed to irq 11
pcib0: slot 9 INTA is routed to irq 5
pcib0: slot 10 INTA is routed to irq 11
agp0: <VIA 82C8363 (Apollo KT133A) host to PCI bridge> mem 0xd5000000-0xd5ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pcib0: slot 1 INTA is routed to irq 10
pcib1: slot 0 INTA is routed to irq 10
drm0: <Matrox G400/G450 (AGP)> mem 0xd3000000-0xd37fffff,0xd2000000-0xd2003fff,0xd0000000-0xd1ffffff irq 10 at device 0.0 on pci1
info: [drm] AGP at 0xd5000000 16MB
info: [drm] Initialized mga 3.1.0 20021029 on minor 0
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686A UDMA66 controller> port 0xd000-0xd00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
pcm0: <VIA VT82C686A> port 0xe400-0xe403,0xe000-0xe003,0xdc00-0xdcff irq 11 at device 7.5 on pci0
pcm0: <ICEnsemble ICE1232 AC97 Codec>
pci0: <multimedia, audio> at device 9.0 (no driver attached)
rl0: <RealTek 8139 10/100BaseTX> port 0xec00-0xecff mem 0xd6000000-0xd60000ff irq 11 at device 10.0 on pci0
rl0: Ethernet address: 00:e0:7d:b4:33:16
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
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 Explorer, device ID 4
pmtimer0 on isa0
orm0: <Option ROM> at iomem 0xc0000-0xc87ff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
Timecounter "TSC" frequency 600025936 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=0xc4191a70
ad0: 19546MB <FUJITSU MPF3204AT> [39714/16/63] at ata0-master UDMA66
GEOM: create disk ad1 dp=0xc4191970
ad1: 39093MB <FUJITSU MPG3409AH EF> [79428/16/63] at ata0-slave UDMA66
acd0: CDROM <CD-540E> at ata1-master UDMA33
acd1: CDRW <CD-W540E> at ata1-slave UDMA33
cd0 at ata1 bus 0 target 0 lun 0
cd0: <TEAC CD-540E 1.0A> Removable CD-ROM SCSI-0 device 
cd0: 33.000MB/s transfers
cd0: cd present [4463045 x 6822340 byte records]
cd1 at ata1 bus 0 target 1 lun 0
cd1: <TEAC CD-W540E 1.0C> Removable CD-ROM SCSI-0 device 
cd1: 33.000MB/s transfers
cd1: cd present [1633955956 x 845217984 byte records]
Mounting root from ufs:/dev/ad0s2a
drm0: [MPSAFE]
Warning: pid 574 used static ldt allocation.
See the i386_set_ldt man page for more info
Warning: pid 574 used static ldt allocation.
See the i386_set_ldt man page for more info
Warning: pid 574 used static ldt allocation.
See the i386_set_ldt man page for more info
Warning: pid 574 used static ldt allocation.
See the i386_set_ldt man page for more info
Warning: pid 574 used static ldt allocation.
See the i386_set_ldt man page for more info
Warning: pid 574 used static ldt allocation.
See the i386_set_ldt man page for more info
panic: vm_fault_copy_wired: page missing

syncing disks, buffers remaining... 3637 3637 3637 3637 3637 3637 3637 3637 3637 3637 3637 3637 3637 3637 3637 3637 3637 3637 3637 3637 
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 #11: Tue Sep 16 00:53:17 CEST 2003
    root@stronghold:/usr/obj/usr/src/sys/MOONDANCE
Preloaded elf kernel "/boot/kernel/kernel" at 0xc04db000.
Preloaded elf module "/boot/kernel/if_rl.ko" at 0xc04db1f4.
Preloaded elf module "/boot/kernel/miibus.ko" at 0xc04db2a0.
Preloaded elf module "/boot/kernel/snd_via82c686.ko" at 0xc04db34c.
Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc04db400.
Preloaded elf module "/boot/kernel/mga.ko" at 0xc04db4ac.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc04db554.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Duron(tm) Processor (600.03-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x630  Stepping = 0
  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 = 515842048 (491 MB)
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <VIA694 AWRDACPI> on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 7 entries at 0xc00fdd00
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_button0: <Power 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 INTC is routed to irq 11
pcib0: slot 9 INTA is routed to irq 5
pcib0: slot 10 INTA is routed to irq 11
agp0: <VIA 82C8363 (Apollo KT133A) host to PCI bridge> mem 0xd5000000-0xd5ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pcib0: slot 1 INTA is routed to irq 10
pcib1: slot 0 INTA is routed to irq 10
drm0: <Matrox G400/G450 (AGP)> mem 0xd3000000-0xd37fffff,0xd2000000-0xd2003fff,0xd0000000-0xd1ffffff irq 10 at device 0.0 on pci1
info: [drm] AGP at 0xd5000000 16MB
info: [drm] Initialized mga 3.1.0 20021029 on minor 0
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686A UDMA66 controller> port 0xd000-0xd00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
pcm0: <VIA VT82C686A> port 0xe400-0xe403,0xe000-0xe003,0xdc00-0xdcff irq 11 at device 7.5 on pci0
pcm0: <ICEnsemble ICE1232 AC97 Codec>
pci0: <multimedia, audio> at device 9.0 (no driver attached)
rl0: <RealTek 8139 10/100BaseTX> port 0xec00-0xecff mem 0xd6000000-0xd60000ff irq 11 at device 10.0 on pci0
rl0: Ethernet address: 00:e0:7d:b4:33:16
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
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 Explorer, device ID 4
pmtimer0 on isa0
orm0: <Option ROM> at iomem 0xc0000-0xc87ff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
Timecounter "TSC" frequency 600026260 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=0xc4191a70
ad0: 19546MB <FUJITSU MPF3204AT> [39714/16/63] at ata0-master UDMA66
GEOM: create disk ad1 dp=0xc4191970
ad1: 39093MB <FUJITSU MPG3409AH EF> [79428/16/63] at ata0-slave UDMA66
acd0: CDROM <CD-540E> at ata1-master UDMA33
cd0 at ata1 bus 0 target 0 lun 0
cd0: <TEAC CD-540E 1.0A> Removable CD-ROM SCSI-0 device 
cd0: 33.000MB/s transfers
cd0: cd present [1633955956 x 862126080 byte records]
Mounting root from ufs:/dev/ad0s2a
WARNING: / was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /home2 was not properly dismounted
WARNING: /home was not properly dismounted

--cWoXeonUoKmBZSoM--



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