LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 06-27-2007, 04:47 AM   #16
dth1
Member
 
Registered: Oct 2004
Location: Stoney Stanton - England
Distribution: openSuse tumbleweed
Posts: 329

Rep: Reputation: 33

I have the same problem. FD0 works fine when installing 10.2 but with the updates kills it. Same when installing 10.3 alpha.
 
Old 06-27-2007, 05:57 AM   #17
riba43
Member
 
Registered: Feb 2005
Location: Slovenia
Distribution: suse11.0
Posts: 749

Original Poster
Rep: Reputation: 31
yes, that happened to me too when I updated / upgraded 10.2.
 
Old 06-27-2007, 10:53 AM   #18
pilotgi
Member
 
Registered: Apr 2002
Location: ks
Distribution: openSUSE Tumbleweed
Posts: 495

Rep: Reputation: 33
openSUSE has made quite a few changes in /dev since 10.2. A lot of the block devices that are in 10.2 are gone or renamed in 10.3.
 
Old 06-27-2007, 11:17 PM   #19
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Quote:
Originally Posted by riba43
This is the result.

riba:/home/bgorjup # sudo mount -t msdos /dev/fd/0 /media/floppy
mount: /dev/fd/0 ni bločna naprava
(mount: /dev/fd/0 is not block device) hope this is the right translation "block device"
I think I made the wrong assumption about the /dev/fd/* devices. They are linked to /dev/pts/ devices.

Look at "/sbin/lsmod | grep floppy"
Do you have a floppy module loaded?

locate floppy.ko
/lib/modules/2.6.18.8-0.3-default/kernel/drivers/block/floppy.ko
/lib/modules/2.6.18.8-0.3-default/kernel/drivers/ide/ide-floppy.ko

Or if you have an ide-floppy drive, you may need to "sudo /sbin/modprobe ide-floppy".

Does /etc/modprobe.conf contain the line:
alias block-major-2 floppy

If not, add the line to /etc/modprobe.conf.local.

Look at the running kernel's config file:
zcat /proc/config.gz

There are two config entries that need to be either y or m
CONFIG_BLK_DEV_IDEFLOPPY=m

I'm not sure of this one:
CONFIG_BLK_DEV_FD=y

and check for:
ARCH_MAY_HAVE_PC_FDC=y


In the kernel source Documentation/ directory is a floppy.txt which lists boot options you may need and the modprobe.conf entries to add if you want these options every time.
 
Old 06-28-2007, 02:46 PM   #20
riba43
Member
 
Registered: Feb 2005
Location: Slovenia
Distribution: suse11.0
Posts: 749

Original Poster
Rep: Reputation: 31
hello jschival,
thanks for the help youare giving to me. Here are the answers:
riba:/home/bgorjup # /sbin/lsmod | grep fd0
riba:/home/bgorjup #

I did locate floppy.ko under both, block and ide entries.
I found
CONFIG_BLK_DEV_FD=m and
CONFIG_BLK_DEV_IDEFLOPPY=m and I did not find
ARCH_MAY_HAVE_PC_FDC=y
 
Old 06-28-2007, 02:59 PM   #21
moxieman99
Member
 
Registered: Feb 2004
Distribution: Dabble, but latest used are Fedora 13 and Ubuntu 10.4.1
Posts: 425

Rep: Reputation: 147Reputation: 147
Quote:
Originally Posted by riba43
This is the result.

riba:/home/bgorjup # sudo mount -t msdos /dev/fd/0 /media/floppy
mount: /dev/fd/0 ni bločna naprava
(mount: /dev/fd/0 is not block device) hope this is the right translation "block device"
What happens if you type:

sudo mount -t msdos /dev/fd0 /media/floppy

instead of

sudo mount -t msdos /dev/fd/0 /media/floppy ?

(removing the slash between fd and 0)
 
Old 06-28-2007, 10:34 PM   #22
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
fd0 is a device, not a kernel module. The lsmod command lists the loaded kernel modules.
/sbin/lsmod | grep floppy

Did you try "sudo /sbin/modprobe floppy" and "sudo /sbin/modprobe ide_floppy"?
 
Old 06-29-2007, 01:34 AM   #23
riba43
Member
 
Registered: Feb 2005
Location: Slovenia
Distribution: suse11.0
Posts: 749

Original Poster
Rep: Reputation: 31
bgorjup@riba:~> sudo /sbin/modprobe floppy
root's password:

did the trick!!!!

bgorjup@riba:~> /sbin/lsmod | grep floppy
ide_floppy 34176 0
floppy 79624 0
ide_core 165648 3 ide_floppy,amd74xx,generic
bgorjup@riba:~>

Thank you jschiwal. I have learned some more about Linux.
 
Old 06-29-2007, 02:03 AM   #24
riba43
Member
 
Registered: Feb 2005
Location: Slovenia
Distribution: suse11.0
Posts: 749

Original Poster
Rep: Reputation: 31
hi jschiwal,

As i said, it works. The command /sbin/modprobe floppy works. The only problem is that I have to enter the command each time I reboot. Is there a solution for that too?? ( I think it is only I do not know it).

The same is with my optical devices. I have to enter the command :
/sbin/modprobe sr_mod to mount the drive and that I have to do after each reboot.
 
Old 06-29-2007, 05:40 AM   #25
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Look in /etc/modprobe.conf. Is there a line "alias block-major-2 floppy". If not add it to /etc/modprobe.conf.local.

If that doesn't work sometimes running "sudo SuSEconfig" will fix things up.

If that doesn't work, try "sudo /sbin/depmod -a" and then "sudo /sbin/mkinitrd".

If that doesn't do it, add the modules to either the MODULES_LOADED_ON_BOOT or INITRD_MODULES in /etc/sysconfig/kernel.
Then run "sudo /sbin/SuSEconfig" and for the latter run "sudo /sbin/mkinitrd".
 
Old 06-29-2007, 02:40 PM   #26
riba43
Member
 
Registered: Feb 2005
Location: Slovenia
Distribution: suse11.0
Posts: 749

Original Poster
Rep: Reputation: 31
Thumbs up

Quote:
Originally Posted by jschiwal
Look in /etc/modprobe.conf. Is there a line "alias block-major-2 floppy". If not add it to /etc/modprobe.conf.local.

If that doesn't work sometimes running "sudo SuSEconfig" will fix things up.

If that doesn't work, try "sudo /sbin/depmod -a" and then "sudo /sbin/mkinitrd".

If that doesn't do it, add the modules to either the MODULES_LOADED_ON_BOOT or INITRD_MODULES in /etc/sysconfig/kernel.
Then run "sudo /sbin/SuSEconfig" and for the latter run "sudo /sbin/mkinitrd".

It is working until now. Floppy I mean. I still have to use the sudo /sbin/modprobe sr_mod for my optical drives.
And now I am facing the problem wit my trash bin. See my post.
 
Old 06-30-2007, 06:28 PM   #27
pilotgi
Member
 
Registered: Apr 2002
Location: ks
Distribution: openSUSE Tumbleweed
Posts: 495

Rep: Reputation: 33
Quote:
Originally Posted by riba43
I still have to use the sudo /sbin/modprobe sr_mod for my optical drives.
Open YaST. Click system on the left side. From the choices on the right, choose /etc/sysconfig Editor.


From the left menu click system>kernel>MODULES_LOADED_ON_BOOT

Enter sr_mod in the field at the right. The module will then load automatically at boot.

Last edited by pilotgi; 06-30-2007 at 06:30 PM.
 
Old 07-02-2007, 07:45 AM   #28
riba43
Member
 
Registered: Feb 2005
Location: Slovenia
Distribution: suse11.0
Posts: 749

Original Poster
Rep: Reputation: 31
Thank you pilotgi,

I followed your advice ant now it is O.K. Thank you very much.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mount a directory as /dev/fd0 chief_officer Linux - General 6 05-21-2007 10:55 AM
MINIX mount: Can't mount /dev/fd0 on floppy: Invalid argument jcaser1948 Other *NIX 2 10-04-2006 11:38 AM
Can't mount /dev/fd0 while installing. shadin Slackware - Installation 1 07-04-2006 08:35 PM
Floppy at /dev/fd0 won't mount Borg Swarm Linux - Hardware 4 01-20-2004 06:48 PM
mount fd0 vwhk Linux - General 24 02-14-2002 12:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 09:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration