Bug 15057 - Mounting ls120: ide-floppy: hdc: I/O error
Summary: Mounting ls120: ide-floppy: hdc: I/O error
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 7.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact:
URL:
Whiteboard: Florence Gold
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-08-01 20:23 UTC by giulioo
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-02-09 19:03:56 UTC
Embargoed:


Attachments (Terms of Use)

Description giulioo 2000-08-01 20:23:18 UTC
Pinstripe (or maybe it was b4) is the first rh beta which correctly sets 
up an entry for the ls120 in /etc/fstab.

So, please, go one step further and shut up the kernel when it outputs the

kernel:  hdc: unknown partition table
kernel:  hdc: unknown partition table
kernel:  hdc: unknown partition table

messages to the console when mounting an ls120 (with a file system on it).

Comment 1 giulioo 2000-08-18 16:06:55 UTC
Linuxconf in rc1 accesses the ls120 everytime you exit, so that everytime I 
see "hdc: unknown partition table" popping up over the last linuxconf screen.


Comment 2 Alan Cox 2000-09-16 22:43:44 UTC
--- drivers/block/genhd.c~	Fri Sep  1 13:32:19 2000
+++ drivers/block/genhd.c	Sat Sep 16 23:12:17 2000
@@ -1516,7 +1516,7 @@
 	char buf[MAX_DISKNAME_LEN];
 
 	if (first_time)
-		printk("Partition check:\n");
+		printk(KERN_INFO "Partition check:\n");
 	first_time = 0;
 	first_sector = hd->part[MINOR(dev)].start_sect;
 
@@ -1529,7 +1529,7 @@
 		return;
 	}
 
-	printk(" %s:", disk_name(hd, MINOR(dev), buf));
+	printk(KERN_INFO " %s:", disk_name(hd, MINOR(dev), buf));
 #ifdef CONFIG_MSDOS_PARTITION
 	if (msdos_partition(hd, dev, first_sector))
 		return;


Comment 3 giulioo 2000-09-18 11:09:33 UTC
Ok, this fixes the ls120 problem, thanks. So this bug can be closed.


Now I see there's another problem with linuxconf which I'll file in
bugzilla when I get rh70 (since I'm still on rc1 and don't now if this
has been fixed).

The problem manifests only when I configure the ide cdrw:
1) modules.conf  
options ide-cd ignore=hdd
2) modprobe ide-scsi

Then every time I exit linuxconf I get (on console and messages)
kernel: ide-scsi: hdd: unsupported command in request queue (0)
kernel: end_request: I/O error, dev 16:40 (hdd), sector 0

[root@i5 /dev]# grep cdrom /etc/fstab
/dev/cdrom              /mnt/cdrom              iso9660 noauto,owner,ro 0 0
[root@i5 /dev]# ls -l /dev/cdrom
lrwxrwxrwx    1 root     root            4 set 18 13:03 /dev/cdrom -> scd0


Comment 4 giulioo 2000-12-06 11:39:10 UTC
The proposed kernel modification solves the problem, but it's not in rh70 
final. So this still needs to be addressed in future versions.


Comment 5 Glen Foster 2001-01-11 21:03:01 UTC
This defect is considered MUST-FIX for Florence Gold release

Comment 6 Michael K. Johnson 2001-01-12 14:50:05 UTC
That patch will be in the next 2.2-based errata from Red Hat.
I don't think it's necessary for the 2.4 kernels (genhd.c has
changed wildly and at least that prink line isn't in that
directory at all) but if it is please open a new bug report
for the 2.4 kernels.  Thanks!

Comment 7 giulioo 2001-02-09 17:11:29 UTC
Beta2 was ok.

Beta3 is angry again: every time I access the ls120 (tar to/from it, mount it, 
quit linuxconf) I get this messages on console:
ide-floppy: hdc: I/O error, pc = 5a, key =  5, asc = 24, ascq =  0

in /var/log/messages there is also
hdc: unknown partition table

Comment 8 Arjan van de Ven 2001-02-09 19:03:52 UTC
Can you try the updated kernel (either via up2date or from the rawhide
directory on ftp.redhat.com)? It should have a fix for this.

Comment 9 giulioo 2001-02-09 19:38:55 UTC
Ok, rawhide kernel does not clutter the console, just "unknown partition table" 
in messages.



Note You need to log in before you can comment on or make changes to this bug.