From owner-freebsd-current@FreeBSD.ORG Thu Dec 24 00:24:31 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA9C91065676 for ; Thu, 24 Dec 2009 00:24:31 +0000 (UTC) (envelope-from trebestie@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 5184F8FC1A for ; Thu, 24 Dec 2009 00:24:31 +0000 (UTC) Received: by bwz5 with SMTP id 5so5143408bwz.3 for ; Wed, 23 Dec 2009 16:24:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=W6jQmzE9bS/Av1WMMDD/NpesfeuX2rv94bpGbSPxU/8=; b=GViyP2CNq7IzPZ2mKg/+4kjlB0iM+NR5QpTtKDASQfhNmwi1ioht2cpb3R4m5Uk4zj ASoIpl5P7Ovw/b358rI5EwtCjFR7+QtWucRNB6CoANrAqJaTI/MtHjGOeuLB8dip3yOc h+uyDvSRBRDpH1A5WZ8dnj10ztDHwRUZmTMF0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=JrRqfVQslTH7RpuVoR8ndOD4eQgM1TmJ3DUovvIkRHMR++VS5HHctwaICjxJqbWs44 I3fWOxBLkLuUiKptfFt9NqszsgfYJ7+hXbmidfOB6pUBmnNj++jtuFEs9wy+QY1HbD2N cZLM5LFwUt78/rZXsT5lkl0nJx9ivFX4E12u4= MIME-Version: 1.0 Received: by 10.204.6.69 with SMTP id 5mr3335472bky.83.1261612748213; Wed, 23 Dec 2009 15:59:08 -0800 (PST) Date: Thu, 24 Dec 2009 00:59:08 +0100 Message-ID: <83e5fb980912231559p757dc748m9c494795d7bf1328@mail.gmail.com> From: Diego Depaoli To: freebsd-current Content-Type: text/plain; charset=ISO-8859-1 Subject: ATA_CAM for extradummies X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Dec 2009 00:24:31 -0000 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: 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: at channel 0 on ahci0 ahcich0: [ITHREAD] ahcich1: at channel 1 on ahci0 ahcich1: [ITHREAD] ahcich2: at channel 2 on ahci0 ahcich2: [ITHREAD] ahcich3: at channel 3 on ahci0 ahcich3: [ITHREAD] ahcich4: at channel 4 on ahci0 ahcich4: [ITHREAD] ahcich5: at channel 5 on ahci0 ahcich5: [ITHREAD] pci0: at device 20.0 (no driver attached) atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 20.1 on pci0 ata1: on atapci0 ata1: [ITHREAD] ada0 at ahcich0 bus 0 scbus0 target 0 lun 0cd0 at ata1 bus 0 scbus6 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 66.700MB/s transfers (UDMA4, PIO size 65534bytes) cd0: cd present [3349840 x 2048 byte records] ada0: 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: 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