From owner-freebsd-small Wed Mar 5 6: 2:57 2003 Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C89437B401 for ; Wed, 5 Mar 2003 06:02:55 -0800 (PST) Received: from halt-in.cisco.com (halt-in.cisco.com [171.70.144.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E91943FD7 for ; Wed, 5 Mar 2003 06:02:54 -0800 (PST) (envelope-from molter@tin.it) Received: from tin.it (144.254.74.60) by halt-in.cisco.com with ESMTP; 05 Mar 2003 06:02:55 -0800 Received: from cisco.com (localhost [127.0.0.1]) by ams-msg-core-1.cisco.com (8.12.2/8.12.6) with ESMTP id h25E1Cjm004747 for ; Wed, 5 Mar 2003 15:01:12 +0100 (MET) Received: from www.example.org (dhcp-nic-val-26-108.cisco.com [64.103.26.108]) by cisco.com (8.8.8+Sun/8.8.8) with SMTP id PAA15996 for ; Wed, 5 Mar 2003 15:02:52 +0100 (MET) Received: (qmail 36152 invoked by uid 1000); 5 Mar 2003 14:02:40 -0000 Date: Wed, 5 Mar 2003 15:02:40 +0100 From: Marco Molteni To: freebsd-small@freebsd.org Subject: Re: CompactFlash under 5.0-RELEASE Message-ID: <20030305140240.GH33389@cobweb.example.org> References: <10130000.1046859423@kruder.peterson.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <10130000.1046859423@kruder.peterson.org> User-Agent: Mutt/1.4i Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Matt Peterson wrote [2003-03-05]: > I'm not having luck formatting CF cards under 5.0-RELEASE(-P3) with the > GENERIC kernel. The same PCMCIA adapter and card work fine under a > 4.7-STABLE laptop... > > Did something change (besides NEWCARD), maybe ATAPI/ATA updates? I've > tried both Lexas & Apacer adapters; Lexar, Sundisk and Tawain Inc. cards, > all the same results. > > kernel: ata2 at port 0x140-0x14f irq 11 function 0 config 1 on pccard1 > kernel: ad4: 61MB [490/8/32] at ata2-master BIOSPIO > > # disklabel -r ad4 > disklabel: bad pack magic number (label is damaged, or pack is unlabeled) > > # dd if=/dev/zero of=/dev/ad4 bs=1k count=32 > 32+0 records in > 32+0 records out > 32768 bytes transferred in 0.100715 secs (325354 bytes/sec)kruder > > # disklabel -w ad4 auto > disklabel: Operation not supported by device In 5.x the disklabel utility is still in a state of flux, and not fully working, especially if the device is already open (this doesn't seem to be your case). See the -current mailing list of 2003-01 and 2003-02 for details. Did you try disklabel ad4 (without the -r) ? I am not an expert of 5.x, so this is almost everything I know. Another working workaround is to boot 4-stable (for example the 1st bootable installation cd) to be able to use the disklabel command from there. marco To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message