I need help mounting a floppy

2004-03-22 Thread Willy Dingledorf
Gentlemen,
 
This note is a continuation of a thread which started last week ... and actually, the 
problem is almost resolved.
 
The problem began when a newbie (me) downloaded and installed FreeBSD version 5.2, and 
then was unable to mount a floppy disk.
 

Richard Williamson wrote:

Can you give us the Output of

$ls /dev/fd0

--
Yes ... here it is:

ls: /dev/fd0: No such file or directory


Stephen Liu wrote:

Please try

ls -l /dev | grep fd0

--
My PC output is:

#


Stephen Liu wrote:

Did you have /mnt created.  Please try

# ls -l / | grep mnt

--
My PC output is:

drwxr-xr-x  2 root wheel  512  Jan 10  21:44  mnt


Stephen Liu wrote:

Did you have /floppy created.  Try

# ls / | grep floppy

--
My PC output is:

drwxr-xr-x  2 root wheel  512  Mar 16  03:53  floppy


Kevin Kinsey wrote:

What do you see when you type this from the console?

$grep fd /var/log/dmesg.today

--
My PC output mentions fdc0 several times.
For example:

pci0: display, VGA at device 10.0 (no driver attached)
pci0: multimedia, audio at device 12.0 (no driver attached)
fdc0: cannot reserve I/O port range (1 ports)
  :
  :
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID/0
fdc0: cannot reserve I/0 port range (1 ports)
  :
  :
orm0: Option ROMS at iomem 0xc8000-0xc8fff, 0xc000-0xc7fff on isa0
ptimer on isa0
fdc0: cannot reserve I/O port range (6 ports)


Odhiambo Washington wrote:

If you look at /var/run/dmesg.boot, do you see entries like these:

fdc0: Enhanced floppy controller (i82077, NE72065 or clone)
port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fdc0: 1440-KB 3.5 drive on fdc0 drive 0

--
No.

My PC output mentions fdc0 several times, and I think the lines are
identical to the lines that came from /var/log/dmesg.today

For example:

fdc0: cannot reserve I/O port range (1 ports)
fdc0: cannot reserve I/O port range (6 ports)



Later, I installed FreeBSD version 5.2.1

There were no improvements in my symptoms ... I still could not mount a floppy disk.



Still later (since JJ Barbish warned me that I might have to go back a version or 
two), I installed FreeBSD version 4.7 which was the one that came in the SAM's Book 
that I bought.

Now, /var/run/dmesg.boot has lines which read:

pci0: S3 ViRGE graphics accelerator at 10.0 irq 10
pci0: unknown card (vendor=0x1274, dev=0x5000) at 12.0 irq 9
orm0: Option ROMs at iomem 0xc-0xc7fff,0xc8000-0xc8fff on isa0
fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on 
isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 0

And now, I can mount the floppy disk ( and now I can provide the boot-log if anyone 
wants to see it )
 
*

So now that we know that FreeBSD previously had a feature that has since been 
disabled, is there anything I can do to make FreeBSD version 5.2.1 work on my
computer ?

If not, I assume that I will have to stick with version 4.9 for now ?

Willy
 





Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: I need help mounting a floppy

2004-03-22 Thread Richard P. Williamson
At 11:41 22/03/2004, Willy Dingledorf wrote:
The problem began when a newbie (me) downloaded and installed FreeBSD version 5.2, 
and then was unable to mount a floppy disk.
 

Richard Williamson wrote:

Can you give us the Output of

$ls /dev/fd0

--
Yes ... here it is:

ls: /dev/fd0: No such file or directory


cd /dev
sh MAKEDEV fd0

because it looks like the fd0 floppy device doesn't exist.  Maybe when
you installed the downrev'd version, it created the /dev/fd0 when it
didn't find it.  If you look in the booting system, is /dev/fd0 there
now?

Regards,
Richard


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: I need help mounting a floppy

2004-03-22 Thread Matthew Seaman
On Mon, Mar 22, 2004 at 11:56:59AM +, Richard P. Williamson wrote:
 At 11:41 22/03/2004, Willy Dingledorf wrote:
 The problem began when a newbie (me) downloaded and installed FreeBSD version 5.2, 
 and then was unable to mount a floppy disk.
  
 
 Richard Williamson wrote:
 
 Can you give us the Output of
 
 $ls /dev/fd0
 
 --
 Yes ... here it is:
 
 ls: /dev/fd0: No such file or directory
 
 
 cd /dev
 sh MAKEDEV fd0
 
 because it looks like the fd0 floppy device doesn't exist.  Maybe when
 you installed the downrev'd version, it created the /dev/fd0 when it
 didn't find it.  If you look in the booting system, is /dev/fd0 there
 now?

Unfortunately that won't help the OP at all: he has the floppy working
correctly under 4.9, but his aim was to be able to use the floppy
drive under 5.2.1, and your instructions won't work because:

* MAKEDEV is gone from 5.x, which now uses devfs stuff instead to
dynamically create all the device nodes corresponding to the
available hardware.

* fdc0 wasn't being probed successfully on the OP's machine under
5.x, so the kernel has no way to access the floppy drive.
Unfortunately that is a bug in the system, for which there appears
to be no satisfactory fix yet available.  See

http://www.freebsd.org/cgi/query-pr.cgi?pr=i386/56257

A work-around is to disable ACPI (as described in that PR), which will
prevent you automatically controlling the power on your system and
various other similar things, but should let you access the floppy
drive.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: I need help mounting a floppy

2004-03-22 Thread Richard P. Williamson
At 12:28 22/03/2004, Matthew Seaman wrote:
On Mon, Mar 22, 2004 at 11:56:59AM +, Richard P. Williamson wrote:
 At 11:41 22/03/2004, Willy Dingledorf wrote:
 The problem began when a newbie (me) downloaded and installed FreeBSD version 5.2, 
 and then was unable to mount a floppy disk.
  
 
 Richard Williamson wrote:
 
 Can you give us the Output of
 
 $ls /dev/fd0
 
 --
 Yes ... here it is:
 
 ls: /dev/fd0: No such file or directory
 
 
 cd /dev
 sh MAKEDEV fd0
 
 because it looks like the fd0 floppy device doesn't exist.  Maybe when
 you installed the downrev'd version, it created the /dev/fd0 when it
 didn't find it.  If you look in the booting system, is /dev/fd0 there
 now?

Unfortunately that won't help the OP at all: he has the floppy working
correctly under 4.9, but his aim was to be able to use the floppy
drive under 5.2.1, and your instructions won't work because:

* MAKEDEV is gone from 5.x, which now uses devfs stuff instead to
dynamically create all the device nodes corresponding to the
available hardware.

Ah.  My bad.  I shut up now.

Actually, it looks like I blindly ignored/missed the original 5.x 
reference.  My brain is stuck on 4.8.

rip


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


I need help mounting a floppy

2004-03-19 Thread Willy Dingledorf
 
Gentlemen:
 
I am a frustrated newbie who has a good back-ground in Microsoft operating-systems, 
but no experience with FreeBSD.  I have installed various versions of FreeBSD many 
times on several different computers ... but after a successful install, I keep 
running into brick-walls.
 
My most recent failure came after down-loading and installing FreeBSD version 5.2
 
I have been unable to mount the floppy-disk.
 
I have tried typing various commands that I found in different books, and also some 
that I found in the Help-files (that I down-loaded from the FreeBSD Web-site).
 
Here are some examples (none of which work):
 
# fdformat /dev/fd0
fdformat: open(/dev/fd0): No such file or directory
 
# mount /dev/fd0 /mnt
mount: /dev/fd0: No such file or directory
 
# mount -t msdos /dev/fd0 /floppy
msdosfs: /dev/fd0: No such file or directory
 
#mount_msdos /dev/fd0 /floppy
mount_msdos: command not found
 
Or, if you would rather that I take the fstab approach ... yes, I have tried that 
too ... and failed.  Here are some examples (none of which work):
 
I edited the fstab-file by inserting the following lines (each one, in turn):
 
/dev/fd0   /floppy  msdos rw,noauto  0  0
/dev/fd0   /floppy  msdosfs  rw 0  0
 
No matter what lines I tried, the result was always similar to this:
 
# mount /floppy
msdosfs /dev/fd0: No such file or directory
 
 
If it looks like I do not know what I am doing ... that is exactly right.  If I type 
something-in and it does not work ... I do not have any idea why ... and I have no 
idea how to invent some new words to type.
 
Can some-one help me ?  (And remember ... before you ask for my boot-log ... I cannot 
mount the floppy ... so I don't know how to get a text-file out of that machine).
 
Willy



Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: I need help mounting a floppy

2004-03-19 Thread Kevin D. Kinsey, DaleCo, S.P.
Willy Dingledorf wrote:

Gentlemen:

I am a frustrated newbie who has a good back-ground in Microsoft operating-systems, 
but no experience with FreeBSD.  I have installed various versions of FreeBSD many 
times on several different computers ... but after a successful install, I keep 
running into brick-walls.
 

You ought to stop that ... pain hurts. :D

My most recent failure came after down-loading and installing FreeBSD version 5.2

I have been unable to mount the floppy-disk.

I have tried typing various commands that I found in different books, and also 
some that I found in the Help-files (that I down-loaded from the FreeBSD Web-site).

Here are some examples (none of which work):

# fdformat /dev/fd0
fdformat: open(/dev/fd0): No such file or directory
# mount /dev/fd0 /mnt
mount: /dev/fd0: No such file or directory
# mount -t msdos /dev/fd0 /floppy
msdosfs: /dev/fd0: No such file or directory
#mount_msdos /dev/fd0 /floppy
mount_msdos: command not found
Or, if you would rather that I take the fstab approach ... yes, I have 
tried that too ... and failed.  Here are some examples (none of which work):

I edited the fstab-file by inserting the following lines (each one, in turn):

/dev/fd0   /floppy  msdos rw,noauto  0  0
/dev/fd0   /floppy  msdosfs  rw 0  0
No matter what lines I tried, the result was always similar to this:

# mount /floppy
msdosfs /dev/fd0: No such file or directory
If it looks like I do not know what I am doing ... that is exactly right.
If I type something-in and it does not work ... I do not have any idea why ... 
and I have no idea how to invent some new words to type.

Can some-one help me ?  (And remember ... before you ask for my boot-log ... 
I cannot mount the floppy ... so I don't know how to get a text-file out 
of that machine).

Willy



 



Well, let's do an optical diff then ... what do
you see when you do this from the console?
$grep fd /var/log/dmesg.today

Should be something like:

   Using $PIR table, 6 entries at 0xc00fdf10
   fdc0: Enhanced floppy controller (i82077, NE72065 or clone) port 
0x3f7,0x3f2-0
   x3f5 irq 6 drq 2 on acpi0
   fdc0: FIFO enabled, 8 bytes threshold
   fd0: 1440-KB 3.5 drive on fdc0 drive 0

and what about:

   $ls / | grep mnt

That should say:

   mnt/

Kevin Kinsey
DaleCo, S.P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: I need help mounting a floppy

2004-03-19 Thread Richard . Williamson
 Willy Dingledorf wrote:
 fdformat: open(/dev/fd0): No such file or directory
 mount: /dev/fd0: No such file or directory
 msdosfs: /dev/fd0: No such file or directory
 msdosfs /dev/fd0: No such file or directory


I'd try Occam...

Can you give us the output of 

$ls /dev/fd0

regards,
rip

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


I need help mounting a floppy

2004-03-18 Thread Willy Dingledorf
  
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: I need help mounting a floppy

2004-03-18 Thread Lowell Gilbert
From the FAQ document:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#REMOVABLE-DRIVES
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Extracting, mounting a floppy.

2003-11-18 Thread Valerian Galeru
With what can i extract files from a bz2 archieve? How
can i mount a floppy?

__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Extracting, mounting a floppy.

2003-11-18 Thread Peter Ulrich Kruppa
On Tue, 18 Nov 2003, Valerian Galeru wrote:

 With what can i extract files from a bz2 archieve?
# bunzip2
Also have a look at
# man bunzip

 How
 can i mount a floppy?
(Assuming it is dos formatted)
# mount_msdosfs /dev/fd0 /mnt
also have a look at
# man mount

Regards,

Uli.


 __
 Do you Yahoo!?
 Protect your identity with Yahoo! Mail AddressGuard
 http://antispam.yahoo.com/whatsnewfree
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mounting a floppy

2003-07-01 Thread Robert Gallimore
Hello

I am having a slight problem with FreeBSD 4.8. I cannot seem to mount a 
floppy drive. I tried mount /dev/fd0 but it comes back saying something 
like an unrecognized file system or device. How do I mount my floppy drive 
in FreeBSD 4.8? Thanks!

Rob

_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fwd: Re: mounting a floppy

2003-07-01 Thread quadrant

You need to mount the file system 'somewhere.'
mount /dev/fd0  /mnt
or similar. mount [device] [location]

On Tuesday 01 July 2003 02:25 pm, Robert Gallimore wrote:
 Hello

 I am having a slight problem with FreeBSD 4.8. I cannot seem to mount a
 floppy drive. I tried mount /dev/fd0 but it comes back saying something
 like an unrecognized file system or device. How do I mount my floppy drive
 in FreeBSD 4.8? Thanks!

 Rob

 _
 MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
 http://join.msn.com/?page=features/virus

 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

---

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mounting a floppy

2003-07-01 Thread Bob Hall
On Tue, Jul 01, 2003 at 01:25:17PM -0500, Robert Gallimore wrote:
 Hello
 
 I am having a slight problem with FreeBSD 4.8. I cannot seem to mount a 
 floppy drive. I tried mount /dev/fd0 but it comes back saying something 
 like an unrecognized file system or device. How do I mount my floppy drive 
 in FreeBSD 4.8? Thanks!

Try
# mount -t msdos -o rw /dev/fd0 /mnt
That's a bit much to type, and constant su-ing is a pain in the tuchis, 
so I use a bash alias.
alias monterfd='sudo mount -t msdos -o rw /dev/fd0 /mnt'
I type
$ monterfd
and my password, and the fd is mounted.

Bob Hall
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mounting a floppy

2003-07-01 Thread Matthew Seaman
On Tue, Jul 01, 2003 at 01:25:17PM -0500, Robert Gallimore wrote:

 I am having a slight problem with FreeBSD 4.8. I cannot seem to mount a 
 floppy drive. I tried mount /dev/fd0 but it comes back saying something 
 like an unrecognized file system or device. How do I mount my floppy drive 
 in FreeBSD 4.8? Thanks!

If this is a DOS format floppy, then here's a tip: don't bother trying
to mount and unmount the floppy all the time.  Instead, install the
emulators/mtools port.  This gives you a whole bunch of MS-DOS style
commands, except with an 'm' prepended to the name, which let you
access the floppy drive but without having to mount it first. Eg. you
can do:

% mdir a:

If you are using a non-DOS floppy or you really need to mount the
floppy for some other reason, then you're going to have to tell
mount(8) all of the information it needs.  There's two ways to do
that: either on the mount(8) command line, or by making an entry in
/etc/fstab.  Eg. to mount a read-only floppy with a msdos filesystem
on it as /mnt:

# mount -t msdos -o ro /dev/fd0 /mnt

Note that:

a) you usually have to have superuser privilege to run mount(8) or
umount(8).  You can either install the sudo(8) port and generate the
appropriate configuration there, or you can set the vfs.usermount
sysctl to a non-zero value.  See mount(2), sysctl(8) for details, but
note that setting vfs.usermount potentially opens up a nasty security
hole, so you should understand exactly what you are doing if you
decide to do that.

b) You have to remember to unmount the floppy before you eject it from
the drive.  Not doing that has undesirable effects.  Similarly, if the
floppy has the write protect tab set, you have to tell the system to
mount it read-only.  Unfortunately, the system can't actually detect
that the disk is write protected automatically.  Even worse, if you
mount a unix format RO floppy using RW flags, even if you do nothing
more than read files from the disk, the system will hang when you try
and unmount the disk because the system will try and update the 'last
mounted on' entry on the disk.  (Solution is to pop the floppy out,
toggle the write protect tab and put the disk back smartly so the
write can complete).  Oh -- editing files on such a disk will
apparently work because the system will hold the whole 1.44Mb disk
image in cache.  Changes will be flushed to disk eventually, or when
you try and unmount it.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature