LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-27-2003, 12:27 AM   #1
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
Help needed with IDE CD-ROM and 2.4.21 kernel


Hi! Ok, I've just upgraded my Slackware 8 system with the latest official 2.4.21 kernel release. I built it with gcc-3.3 and glibc-2.3.2. The build went smoothly but I can't seem to read any mount any CDs with Microsoft Joliet extensions. I HAVE enabled Joliet Extension support in the kernel. The CD-ROM IS detected when the machine boots.

I can mount the SAME CD that can't be read in the IDE CD-ROM in the SCSI CD-RW I used to burn the CD with.

Now, when I built my kernel I used the ".config" file from the 2.4.20 kernel I upgraded from. This way, the same config options I used during my 2.4.20 kernel build would be carried over. The bizarre thing is when I boot my 2.4.20 kernel, I can mount CDs with Joliet Extensions just fine. I just can't mount them with the 2.4.21 kernel.

Here is the output from my mount command:

tom@linux:~$ su
Password:
root@linux:/home/tom# mount /dev/cdrom /cdrom
/dev/cdrom: Input/output error
mount: block device /dev/cdrom is write-protected, mounting read-only
/dev/cdrom: Input/output error
mount: you must specify the filesystem type
root@linux:/home/tom#

Here is output from dmesg:

hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x50
end_request: I/O error, dev 16:00 (hdc), sector 0
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x50
end_request: I/O error, dev 16:00 (hdc), sector 4
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x50
end_request: I/O error, dev 16:00 (hdc), sector 0
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x50
end_request: I/O error, dev 16:00 (hdc), sector 4
FAT: bogus logical sector size 0
VFS: Can't find a valid FAT filesystem on dev 16:00.
FAT: bogus logical sector size 0
VFS: Can't find a valid FAT filesystem on dev 16:00.
root@linux:/home/tom#

I DO have "Use multi mode by default" enabled in the kernel.

Any ideas?

Thanks in advance!

Peace...
 
Old 06-27-2003, 12:43 AM   #2
vicomte
LQ Newbie
 
Registered: Jun 2003
Location: Brisbane Australia
Distribution: Debian
Posts: 17

Rep: Reputation: 0
I would check if in your .21 kernel you have all the file system supports you had in .20.

cat /proc/filesystems
 
Old 06-27-2003, 02:01 AM   #3
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Original Poster
Rep: Reputation: 30
Great idea! I'll be sure to do that.

Thanks!

Peace...
 
Old 06-28-2003, 10:58 AM   #4
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Original Poster
Rep: Reputation: 30
Well, I booted my 2.4.20 kernel and saw the SAME filesystems listed in /proc/filesystems as I do with my 2.4.21 kernel.

Additionally, I found I could NOT mount the RedHat CD I burned either. So my guess is it's something with the 2.4.21 kernel I built.

Has anyone had problems building 2.4.21 with gcc-3.3?

Thanks...

Peace...
 
Old 06-28-2003, 06:53 PM   #5
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
kernel 2.4.21

I have had many problems with 2.4.21. It is very buggy and my hardware configuration seems to exercise all of the bugs. There are some HUGE patches for 2.4.21. I suggest that you download patches ac1, ac2, ac3, and ac4, apply them, and do your kernel compile over again.

Look at the changelog for ac4 and I think that you will find your cdrom problem mentioned.

Last edited by jailbait; 06-28-2003 at 07:03 PM.
 
Old 06-28-2003, 07:33 PM   #6
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Original Poster
Rep: Reputation: 30
Re: kernel 2.4.21

Quote:
Originally posted by jailbait
I suggest that you download patches ac1, ac2, ac3, and ac4, apply them, and do your kernel compile over again.
Thanks! Are these patches accumulative (ac4 contains the ac3 patches plus new patches)?

Quote:

Look at the changelog for ac4 and I think that you will find your cdrom problem mentioned.
Where can I find the ChangeLog for ac4? There isn't a link to one on http://www.kernel.org/

Thanks!

Peace...
 
Old 06-28-2003, 08:34 PM   #7
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
----------------------------------------------------------------------------------
Are these patches accumulative (ac4 contains the ac3 patches plus new patches)?

No, You have to apply all four in order.
To apply the patches you put the unpacked linux directory in /usr/src and change its name to linux21-ac1. You put the packed patch bz2 in /usr/src
and do:
cd /usr/src
bunzip2 patch-2.4.21-ac4.bz2 | patch -p0 -E

rename /usr/src/linux21-ac1 to linux21-ac2

and carry on.

at the end ln -s linux to linux21-ac4
----------------------------------------------------------------------------------
Where can I find the ChangeLog for ac4?

http://linuxtoday.com/developer/2003062702026NWKNDV

I think that you want the ide-scsi fix. If that isn't the right one there are several other possibilities scattered through the changelogs.
-----------------------------------------------------------------------------------

Last edited by jailbait; 06-28-2003 at 08:36 PM.
 
Old 06-28-2003, 08:47 PM   #8
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by jailbait
----------------------------------------------------------------------------------
No, You have to apply all four in order.
To apply the patches you put the unpacked linux directory in /usr/src and change its name to linux21-ac1. You put the packed patch bz2 in /usr/src
and do:
cd /usr/src
bunzip2 patch-2.4.21-ac4.bz2 | patch -p0 -E

rename /usr/src/linux21-ac1 to linux21-ac2

and carry on.

at the end ln -s linux to linux21-ac4
Thanks for the info. I'm applying the patches now and patch-2.4.21-ac1 applied just fine but I get:

patching file arch/alpha/kernel/entry.S
Reversed (or previously applied) patch detected! Assume -R? [n]

for just about every file (with the file names changing of course) when I apply patch-2.4.21-ac2, which looks like ac2 contains the ac1 patches.

Am I missing something here?

Peace...
 
Old 06-29-2003, 10:23 AM   #9
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
patching file arch/alpha/kernel/entry.S
Reversed (or previously applied) patch detected! Assume -R? [n]

I remember getting that message but I think that it was because I applied a patch twice while I was trying to figure out how the patch system worked.
 
Old 06-29-2003, 10:51 AM   #10
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by jailbait
I remember getting that message but I think that it was because I applied a patch twice while I was trying to figure out how the patch system worked.
Yeah, that's why I was thinking the patch files were accumulative. If patch-2.4.21-ac2 contained the patch-2.4.21-ac1 patches plus the new stuff, then applying patch-2.4.21-ac2 after applying patch-2.4.21-ac1 would cause that message since the 2.4.21-ac1 patches had already been applied.

Based on that, I applied patch-2.4.21-ac4 (which turned out to be the largest of the four patches I downloaded after I uncompressed them) to the stock 2.4.21 kernel and re-built.

I'm still getting the problem, so I'll see what 2.4.22 does for me. In the meantime, I can still mount CDs in my SCSI CD-RW so I can use that for now.

I also wonder what would happen if I compiled 2.4.21 (with patches appled) with gcc-3.2.x vs gcc-3.3. My 2.4.20 kernel, which DOES work, was built with gcc-3.2.1.

In any event, thanks very much for your help!

Peace...
 
Old 08-27-2003, 01:39 AM   #11
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Original Poster
Rep: Reputation: 30
It looks like I'm STILL having this problem with the 2.4.22 kernel I just installed from source.

Does anyone have any other ideas or know where I can possibly get more info on this problem?

Thanks...

Peace...
 
Old 08-27-2003, 05:23 AM   #12
anon099
Member
 
Registered: Oct 2002
Posts: 188

Rep: Reputation: Disabled
You could try using the ide-scsi driver as a workaround.
Haven't tried this myself as I'm not using that kernel, but it may be worth a try.
 
  


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
How To-enable IDE-SCSI for my CD-ROM cbjhawks Linux - Hardware 3 11-13-2003 12:52 PM
making CD-RW and CD-Rom ide-scsi ? GloVe Linux - Hardware 2 11-03-2003 02:24 PM
Sound from CD-ROM drives via IDE? r_jensen11 Linux - Hardware 4 11-02-2003 07:37 PM
bad dmesg output when using ide-scsi boot parameter for IDE CD/DVD-ROM Locura Slackware 7 09-29-2003 02:36 AM
ide cd rom burner SirRobbin Linux - Hardware 2 06-02-2003 07:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:15 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