* Kernel compiled from source won't read /parts/ of a CD?
@ 2002-08-01 19:40 Gary Lawrence Murphy
2002-08-01 19:58 ` Richard B. Johnson
0 siblings, 1 reply; 4+ messages in thread
From: Gary Lawrence Murphy @ 2002-08-01 19:40 UTC (permalink / raw)
To: linux-kernel mailing list; +Cc: garym
[-- Attachment #1: Type: text/plain, Size: 1371 bytes --]
This is one of the strangest situations I have ever seen: my
re-compiled Linux 2.4.18 kernel now /refuses/ to read /only/ the
"/Mandrake" directory branch of all three of the Mandrake distribution
CDs. It /has/ to be some kernel option, but I can't figure which one;
any advice or debugging hints at all are greatly appreciated.
I had to recompile a Mandrake 8.2 kernel to remove pcmcia support (so
I could use the sf release of it) Using the stock Mandrake 8.2 binary
kernel, the CDs can be read just fine, it is only the kernel that I
compiled from the linux-2.4.18-6mdk.src package that has this trouble.
There are no warning messages, only one line returned to the console
to say "ls /Mandrake: Invalid argument" and one line in syslog to say
"ISO 9660: RRIP_1991A" and that's the total diagnostic information I
have.
Using /usr/bin/isoinfo, I can list the CD contents just fine; all the
unix tools (ls, cd, cp ...) and rpm cannot read /Mandrake.
What could I have possibly omitted from the kernel config to cause
this? How could that one directory be singled out by a simple kernel
config problem? (or could it be a gcc 2.96 problem?)
--
Gary Lawrence Murphy <garym@teledyn.com> TeleDynamics Communications Inc
Business Innovations Through Open Source Systems: http://www.teledyn.com
"Computers are useless. They can only give you answers."(Pablo Picasso)
[-- Attachment #2: Type: text/plain, Size: 226 bytes --]
--
Gary Lawrence Murphy <garym@teledyn.com> TeleDynamics Communications Inc
Business Innovations Through Open Source Systems: http://www.teledyn.com
"Computers are useless. They can only give you answers."(Pablo Picasso)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Kernel compiled from source won't read /parts/ of a CD?
2002-08-01 19:40 Kernel compiled from source won't read /parts/ of a CD? Gary Lawrence Murphy
@ 2002-08-01 19:58 ` Richard B. Johnson
2002-08-02 20:36 ` Gary Lawrence Murphy
0 siblings, 1 reply; 4+ messages in thread
From: Richard B. Johnson @ 2002-08-01 19:58 UTC (permalink / raw)
To: Gary Lawrence Murphy; +Cc: linux-kernel mailing list, garym
On 1 Aug 2002, Gary Lawrence Murphy wrote:
>
> This is one of the strangest situations I have ever seen: my
> re-compiled Linux 2.4.18 kernel now /refuses/ to read /only/ the
> "/Mandrake" directory branch of all three of the Mandrake distribution
> CDs. It /has/ to be some kernel option, but I can't figure which one;
> any advice or debugging hints at all are greatly appreciated.
I had some problem like this. I don't know what caused it
because it was 'fixed' by a re-boot. I think it was that
the kernel 'thought' the block-size was wrong for the CD.
Anyway, the next time it happend, I copied the entire
contents of a CD to a file (ising 'cp'). I then mounted
the file through the loop device. I figured it might be
quicker than re-booting (it wasn't). It worked anyway.
The next time it happens, I will try to mount the CD
through the loop device. Anyway, you can try that now.
Maybe it will help you read it.
mount -t iso9660 -o loop /dev/cdrom /mnt
Cheers,
Dick Johnson
Penguin : Linux version 2.4.18 on an i686 machine (797.90 BogoMips).
The US military has given us many words, FUBAR, SNAFU, now ENRON.
Yes, top management were graduates of West Point and Annapolis.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Kernel compiled from source won't read /parts/ of a CD?
2002-08-01 19:58 ` Richard B. Johnson
@ 2002-08-02 20:36 ` Gary Lawrence Murphy
0 siblings, 0 replies; 4+ messages in thread
From: Gary Lawrence Murphy @ 2002-08-02 20:36 UTC (permalink / raw)
To: root; +Cc: linux-kernel mailing list
>>>>> "R" == Richard B Johnson <root@chaos.analogic.com> writes:
R> I had some problem like this. I don't know what caused it
R> because it was 'fixed' by a re-boot. I think it was that the
R> kernel 'thought' the block-size was wrong for the CD.
Glory be, that did fix it -- overnight since I posted this we had a
power out and this morning the problem is gone. Who would have thought
of rebooting a /linux/ machine??!!! :)
Thanks for the tip; if it does ever happen again, I'll also try the
loopback thing to see if that gives any clues.
--
Gary Lawrence Murphy <garym@teledyn.com> TeleDynamics Communications Inc
Business Innovations Through Open Source Systems: http://www.teledyn.com
"Computers are useless. They can only give you answers."(Pablo Picasso)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Kernel compiled from source won't read /parts/ of a CD?
@ 2002-08-01 19:48 Gary Lawrence Murphy
0 siblings, 0 replies; 4+ messages in thread
From: Gary Lawrence Murphy @ 2002-08-01 19:48 UTC (permalink / raw)
To: linux-kernel mailing list; +Cc: garym
This is one of the strangest situations I have ever seen: my
re-compiled Linux 2.4.18 kernel now /refuses/ to read /only/ the
"/Mandrake" directory branch of all three of the Mandrake distribution
CDs. It /has/ to be some kernel option, but I can't figure which one;
any advice or debugging hints at all are greatly appreciated.
I had to recompile a Mandrake 8.2 kernel to remove pcmcia support (so
I could use the sf release of it) Using the stock Mandrake 8.2 binary
kernel, the CDs can be read just fine, it is only the kernel that I
compiled from the linux-2.4.18-6mdk.src package that has this trouble.
There are no warning messages, only one line returned to the console
to say "ls /Mandrake: Invalid argument" and one line in syslog to say
"ISO 9660: RRIP_1991A" and that's the total diagnostic information I
have.
Using /usr/bin/isoinfo, I can list the CD contents just fine; all the
unix tools (ls, cd, cp ...) and rpm cannot read /Mandrake.
What could I have possibly omitted from the kernel config to cause
this? How could that one directory be singled out by a simple kernel
config problem? (or could it be a gcc 2.96 problem?)
--
Gary Lawrence Murphy <garym@teledyn.com> TeleDynamics Communications Inc
Business Innovations Through Open Source Systems: http://www.teledyn.com
"Computers are useless. They can only give you answers."(Pablo Picasso)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-08-02 21:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-01 19:40 Kernel compiled from source won't read /parts/ of a CD? Gary Lawrence Murphy
2002-08-01 19:58 ` Richard B. Johnson
2002-08-02 20:36 ` Gary Lawrence Murphy
-- strict thread matches above, loose matches on Subject: below --
2002-08-01 19:48 Gary Lawrence Murphy
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.