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]"


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 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]"


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:  at device 10.0 (no driver attached)
pci0:  at device 12.0 (no driver attached)
fdc0: cannot reserve I/O port range (1 ports)
  :
  :
psm0:  irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID/0
fdc0: cannot reserve I/0 port range (1 ports)
  :
  :
orm0:  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: 
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:  at 10.0 irq 10
pci0:  (vendor=0x1274, dev=0x5000) at 12.0 irq 9
orm0:  at iomem 0xc-0xc7fff,0xc8000-0xc8fff on isa0
fdc0:  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-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]"


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:  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]"


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-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]"


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]"