From owner-freebsd-questions Sun Nov 24 16:59:20 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D8A6F37B401 for ; Sun, 24 Nov 2002 16:59:18 -0800 (PST) Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4419643E3B for ; Sun, 24 Nov 2002 16:59:17 -0800 (PST) (envelope-from rehsack@liwing.de) Received: (qmail 90796 invoked from network); 25 Nov 2002 00:59:08 -0000 Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 25 Nov 2002 00:59:08 -0000 Message-ID: <3DE1757A.9000807@liwing.de> Date: Mon, 25 Nov 2002 01:57:30 +0100 From: Jens Rehsack Organization: LiWing IT-Services User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Giorgos Keramidas Cc: questions Subject: Re: cannot access floppy drive References: <3DE13CA3.7010907@liwing.de> <3DE13F3B.7030108@liwing.de> <20021125005543.GC15728@gothmog.gr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Giorgos Keramidas wrote: > On 2002-11-24 22:06, Jens Rehsack wrote: > >>Jens Rehsack wrote: >> >>>Hi, >>> >>>though I have configured floppy access into kernel I cannot access >>>floppies on my -CURRENT box. Neither 'cat /dev/fd0.1440 >/dev/null' >>>works nor 'mdir a:'. >> >>What I have forgotten: on the same machine the floppy access works using >>DOS (by boot disk!) or 4.7-STABLE > > > Floppy access works mostly fine here in a fairly recent snapshot: > > # uname -v > FreeBSD 5.0-CURRENT #0: Sun Nov 24 20:04:27 EET 2002 > # grep fdc /var/run/dmesg.boot > fdc0: 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 > # dd if=/dev/zero of=/dev/fd0 bs=512 count=10 > 10+0 records in > 10+0 records out > 5120 bytes transferred in 1.290642 secs (3967 bytes/sec) > # disklabel -B -r -w fd0.1440 fd1440 > # newfs -i 65536 fd0.1440 > /dev/fd0.1440: 1.4MB (2880 sectors) block size 16384, fragment size 2048 > using 1 cylinder groups of 1.41MB, 90 blks, 128 inodes. > super-block backups (for fsck -b #) at: > 32 > # mount /dev/fd0.1440 /mnt > # df /mnt > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/fd0.1440 1374 16 1250 1% /mnt Mine say: -bash-2.05b# dd if=/dev/zero of=/dev/fd0 bs=512 count=10 dd: /dev/fd0: Device not configured 1+0 records in 0+0 records out 0 bytes transferred in 0.000684 secs (0 bytes/sec) I think he hates me :-) I would try another floppy if it wouldn't work using a boot disk. Jens -- L i W W W i Jens Rehsack L W W W L i W W W W i nnn gggg LiWing IT-Services L i W W W W i n n g g LLLL i W W i n n g g Friesenstraße 2 gggg 06112 Halle g g g Tel.: +49 - 3 45 - 5 17 05 91 ggg e-Mail: Fax: +49 - 3 45 - 5 17 05 92 http://www.liwing.de/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message