Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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#
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.
----------------------------------------------------------------------------------
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?
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.
-----------------------------------------------------------------------------------
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:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.