Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Dec 2009 00:59:08 +0100
From:      Diego Depaoli <trebestie@gmail.com>
To:        freebsd-current <freebsd-current@freebsd.org>
Subject:   ATA_CAM for extradummies
Message-ID:  <83e5fb980912231559p757dc748m9c494795d7bf1328@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Trying to rip a DVD with ogmrip which uses libdvd[read | nav | css] my
system becomes unusable.
Syslog repeats many and many times:
ahcich0: port is not ready (timeout 10000ms) tfd = 00000480
ahcich0: device ready timeout

Steps I've followed
device ahci
options ata_cam
in my custom kernel

ataati_load="YES"
in my /boot/loader.conf (otherwise /dev/cd0 isn't detected)
kldloading or not kldloading atapicam apparently gives no difference

Relevant parts of my dmesg
FreeBSD 9.0-CURRENT #0 r200709: Sat Dec 19 10:56:30 CET 2009
    diego@genipizza.casadep.home:/usr/obj/usr/src/sys/CAMKERN i386
ahci0: <ATI IXP700 AHCI SATA controller> port
0xc000-0xc007,0xb000-0xb003,0xa000-0xa007,0x9000-0x9003,0x8000-0x800f
mem 0xfe8ffc00-0xfe8fffff irq 22 at device 17.0 on pci0
ahci0: [ITHREAD]
ahci0: AHCI v1.10 with 6 3Gbps ports, Port Multiplier supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich0: [ITHREAD]
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich1: [ITHREAD]
ahcich2: <AHCI channel> at channel 2 on ahci0
ahcich2: [ITHREAD]
ahcich3: <AHCI channel> at channel 3 on ahci0
ahcich3: [ITHREAD]
ahcich4: <AHCI channel> at channel 4 on ahci0
ahcich4: [ITHREAD]
ahcich5: <AHCI channel> at channel 5 on ahci0
ahcich5: [ITHREAD]
pci0: <serial bus, SMBus> at device 20.0 (no driver attached)
atapci0: <ATI IXP700/800 UDMA133 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 20.1 on
pci0
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0cd0 at ata1 bus 0 scbus6
target 0 lun 0
cd0: <TSSTcorp CDDVDW SH-S222L SB01> Removable CD-ROM SCSI-0 device
cd0: 66.700MB/s transfers (UDMA4, PIO size 65534bytes)
cd0: cd present [3349840 x 2048 byte records]
ada0: <SAMSUNG HD321KJ CP100-11> ATA-8 SATA 2.x device
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO size 8192bytes)
ada0: Command Queueing enabled
ada0: 305245MB (625142448 512 byte sectors: 16H 63S/T 16383C)
ada1 at ahcich1 bus 0 scbus1 target 0 lun 0
ada1: <SAMSUNG HD321KJ CP100-12> ATA-8 SATA 2.x device
ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO size 8192bytes)
ada1: Command Queueing enabled
ada1: 305245MB (625142448 512 byte sectors: 16H 63S/T 16383C)
GEOM: ada0: partition 1 does not start on a track boundary.
GEOM: ada0: partition 1 does not end on a track boundary.
GEOM: ada0s4: geometry does not match label (255h,63s != 16h,63s).
GEOM: ada1: partition 3 does not start on a track boundary.
GEOM: ada1: partition 3 does not end on a track boundary.

I can only poweroff the machine since reboot hangs syncing the buffers.
After restart, verbose dmesg causes kernel panic.

What I'm wrong?

Regards


-- 
Diego Depaoli



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