LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-28-2022, 03:55 PM   #1
bitfuzzy
Member
 
Registered: Nov 2003
Location: NY
Distribution: slackware
Posts: 464

Rep: Reputation: 133Reputation: 133
Slackware 15.0 - Unknown component identified as fd0


I've upgraded a PC from 14.1 to 15.0 (Clean install and a new HD) and have a situation where something is being identified as a floppy disk (fd0)

dmesg reports: 0.492124] Floppy drive(s): fd0 is unknown type 13 (usb?)

There is no floppy drive installed
There is no bios floppy option
The kernel "floppy" module is not loaded

Kernel: 5.15.27
MB: GA-78LMT-USB3/GA-78LMT-USB3 rev 5.0
CPU: AMD FX(tm)-6300
Memory: 16GB

I'm not seeing this issue on two other machines running similar hardware, though the Motherboards are rev 6.0

I don't know if this could be the issue, but I've compared lspci output with one of the similar machines and the only unexpected difference I see is with one PCI Bridge listing

Problem Machine:
00:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780 PCI to PCI bridge (PCIE port 2)

Other Machine:
00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780 PCI to PCI bridge (ext gfx port 0)

Any insight would be appreciated

Thanks
 
Old 04-28-2022, 07:48 PM   #2
fresh_orange_0
LQ Newbie
 
Registered: May 2021
Posts: 25

Rep: Reputation: Disabled
Wouldn't fd0 be a floppy disks device?
 
Old 04-28-2022, 09:01 PM   #3
bitfuzzy
Member
 
Registered: Nov 2003
Location: NY
Distribution: slackware
Posts: 464

Original Poster
Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by fresh_orange_0 View Post
Wouldn't fd0 be a floppy disks device?
Ordinarily yes, however there isn't a floppy device

Something is being misidentified
 
Old 04-29-2022, 04:33 AM   #4
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,651
Blog Entries: 19

Rep: Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480
I once had that on an old tower machine. There was no floppy drive but the kernel definitely thought there was one. It didn't do any harm though, apart from the silly message.

If it's an old motherboard, does it maybe have a floppy controller?
 
Old 04-29-2022, 05:44 AM   #5
bitfuzzy
Member
 
Registered: Nov 2003
Location: NY
Distribution: slackware
Posts: 464

Original Poster
Rep: Reputation: 133Reputation: 133
Hello Hazel,

Yea, there are controllers and they appear to be detected correctly via dmicode, and I have verified the kernel "floppy" module is not loading.

Quote:
It didn't do any harm though, apart from the silly message.
I wish that's all it was

It's reported as a unmounted removable drive, so there are drive mount listings where there shouldn't be.

I can ignore that, however because it's listed as a block device when ever you run anything pertaining to disks

lsblk, fdisk -l, cfdisk etc it takes forever to process because it's trying to access a device which doesn't exist

Code:
$ lsblk -o KNAME,PTUUID,PTTYPE,PKNAME,HCTL,VENDOR,TRAN,REV
KNAME PTUUID                               PTTYPE PKNAME HCTL       VENDOR   TRAN    REV
fd0                                                                                 
sda   535afbff-7cc1-7343-b558-69ad95584982 gpt           1:0:0:0    ATA      sata   1A01
sda1  535afbff-7cc1-7343-b558-69ad95584982 gpt    sda                               
sda2  535afbff-7cc1-7343-b558-69ad95584982 gpt    sda                               
sdb   07e033b8                             dos           2:0:0:0    ATA      sata   1A01
sdb1  07e033b8                             dos    sdb                               
sdb2  07e033b8                             dos    sdb                               
sdc   e9bfdfb7-a418-8e4d-9ef4-0c5333903d23 gpt           3:0:0:0    ATA      sata   1K02
sdc1  e9bfdfb7-a418-8e4d-9ef4-0c5333903d23 gpt    sdc                               
sr0                                                      0:0:0:0    ASUS     sata   1.00
I think something is being misidentified, and I've tried everything I can think of to try to identify the component (so far) with no success
 
Old 04-29-2022, 01:02 PM   #6
philanc
Member
 
Registered: Jan 2011
Posts: 308

Rep: Reputation: 273Reputation: 273Reputation: 273
If you look at /sys/block, can you see any link that could match device fd0? (I have no PC with a floppy here. Cannot check what would be the name)

If yes, assuming the linkname is 'fd', you can check directory /sys/block/fd/device. Maybe there is a file /sys/block/fd/device/inquiry

The content of this file contains a string that could give you a hint about what the device is.
 
1 members found this post helpful.
Old 04-29-2022, 04:04 PM   #7
bitfuzzy
Member
 
Registered: Nov 2003
Location: NY
Distribution: slackware
Posts: 464

Original Poster
Rep: Reputation: 133Reputation: 133
Quote:
Maybe there is a file /sys/block/fd/device/inquiry
No such luck, already thought of that. In fact I went through pretty much every directory in /sys and got nowhere
 
Old 04-29-2022, 07:00 PM   #8
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,754

Rep: Reputation: Disabled
BIOS normally has the option to disable a floppy controller.
Note that it may revert to default enabled once the cmos battery runs out.
Only reason why I know this is because I had a board where fd0 just appeared for no reason at all.
 
Old 04-29-2022, 08:10 PM   #9
emmet
Member
 
Registered: Oct 2003
Location: FL
Distribution: Slackware
Posts: 49

Rep: Reputation: 43
Clearly, the solution is to install a floppy drive posthaste.
 
Old 04-30-2022, 05:23 AM   #10
bitfuzzy
Member
 
Registered: Nov 2003
Location: NY
Distribution: slackware
Posts: 464

Original Poster
Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by elcore View Post
BIOS normally has the option to disable a floppy controller.
Note that it may revert to default enabled once the cmos battery runs out.
That was the absolute first thing I looked for.
I went through every option and found nothing relating to floppy, which didn't surprise me since there isn't a floppy IDE port on the board
 
Old 04-30-2022, 05:26 AM   #11
bitfuzzy
Member
 
Registered: Nov 2003
Location: NY
Distribution: slackware
Posts: 464

Original Poster
Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by emmet View Post
Clearly, the solution is to install a floppy drive posthaste.
Nice lol
 
Old 04-30-2022, 05:37 AM   #12
tramtrist
Member
 
Registered: Jul 2018
Location: Cincinnati USA
Distribution: Slackware
Posts: 549

Rep: Reputation: 343Reputation: 343Reputation: 343Reputation: 343
Quote:
Originally Posted by emmet View Post
Clearly, the solution is to install a floppy drive posthaste.
Came here to applaud this
 
Old 04-30-2022, 07:05 AM   #13
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,754

Rep: Reputation: Disabled
Quote:
Originally Posted by bitfuzzy View Post
That was the absolute first thing I looked for.
I went through every option and found nothing relating to floppy, which didn't surprise me since there isn't a floppy IDE port on the board
Update BIOS to most recent one, maybe there's a new version where this is addressed.

Other than that, I'd recommend you a kernel built with CONFIG_BLK_DEV_FD unset.
Slackware has CONFIG_BLK_DEV_FD=y and this is what creates a block device.

I built mine with CONFIG_BLK_DEV_FD not set, and I get no fd0 device even tho I have a controller.
 
2 members found this post helpful.
Old 04-30-2022, 09:26 AM   #14
bitfuzzy
Member
 
Registered: Nov 2003
Location: NY
Distribution: slackware
Posts: 464

Original Poster
Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by elcore View Post
Update BIOS to most recent one, maybe there's a new version where this is addressed.

Other than that, I'd recommend you a kernel built with CONFIG_BLK_DEV_FD unset.
That's a valid suggestion elcore and I don't see why that wouldn't work, but I'd rather not build a custom kernel just for this if possible

The MB in this box is similar to two other boxes except that this the board version is 5.0 where they are 6.0 and are not experiencing the issue.

Currently I'm invested in trying to figure out what/why, but your suggestion is a definite "Plan B"

Thank you
 
Old 04-30-2022, 09:36 AM   #15
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 930

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Have you looked at your /etc/fstab file? You might have a legacy reference to /dev/fd0. If you do either comment the line or remove it completely.

Code:
#/dev/fd0        /mnt/floppy       auto        noauto,owner     0   0
Just a thought...
 
  


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
[SOLVED] Slackware 13 - Kernel 2.6.32.2 - Error: end_request: I/O error, dev fd0, sector 0 mobjr Slackware 4 01-14-2010 07:11 AM
F-prot identified a suspicious file azebuski Linux - Security 1 03-05-2004 12:30 AM
I have overwritten /dev/fd0! How do I recreate /dev/fd0 to access my floppy? drscott1 Linux - Newbie 2 02-19-2004 12:37 PM
RedHat 9.0 on Inspiron 5100 NIC not identified jshaikh Linux - Laptop and Netbook 4 07-10-2003 05:59 PM
HSF wrongly identified as HCF? multiskilled Linux - Newbie 1 12-03-2001 08:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:52 PM.

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