Bug 105007 - mount -t hfs /dev/cdrom crashes kernel
mount -t hfs /dev/cdrom crashes kernel
Status: CLOSED WONTFIX
Product: Red Hat Linux
Classification: Retired
Component: kernel (Show other bugs)
9
athlon Linux
medium Severity medium
: ---
: ---
Assigned To: Dave Jones
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-09-24 11:28 EDT by Chris Miles
Modified: 2015-01-04 17:03 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-09-30 11:41:33 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
system log for kernel BUG at buffer.c:2618! (3.41 KB, text/plain)
2003-09-24 12:33 EDT, Chris Miles
no flags Details
untainted dmesg output (10.00 KB, text/plain)
2003-09-29 15:21 EDT, Chris Miles
no flags Details
Zip of messages, lsmod and XFree log (14.06 KB, application/zip)
2003-09-29 18:25 EDT, Chris Miles
no flags Details
lsmod after clean boot and CD mount -t hfs (1.67 KB, text/plain)
2003-10-10 05:27 EDT, Chris Miles
no flags Details
messages from clean boot and mount -t hfs (22.46 KB, text/plain)
2003-10-10 05:28 EDT, Chris Miles
no flags Details
XFree86.0.log from clean boot and mount -t hfs (36.38 KB, text/plain)
2003-10-10 05:30 EDT, Chris Miles
no flags Details

  None (edit)
Description Chris Miles 2003-09-24 11:28:28 EDT
Description of problem:
Having built an iso fs with mkisofs to provide both rockridge, joliet and hfs
support, a loop back mount using hfs works fine.
However burning to cdrom and mounting -t hfs /dev/cdrom causes kernel BUG report.
CD works fine in iso9660 mode.

Version-Release number of selected component (if applicable):
Linux jenjen3.localdomain 2.4.20-20.9 #1 Mon Aug 18 11:27:43 EDT 2003 i686
athlon i386 GNU/Linux

How reproducible:
Always

Steps to Reproduce:
1. Build isofs with:
mkisofs -r -J -l -D -L -V volid -hfs --macbin -o /home/tmp/dual-hfs-01.img
-graft-points /=/home/cmiles/dual
2. Check with loop back
mount -t hfs /home/tmp/dual-hfs-01.img /mnt/wrk -o loop,ro
3. Burn CD-R using xcdroast
Wed Sep 24 13:58:36 2003 XCDR 0.98alpha13: Executing:
/usr/lib/xcdroast-0.98/bin/xcdrwrap CDRECORD dev=1,0,0 gracetime=2 fs=8192k
driveropts=burnfree -v -useinfo speed=40 -dao -eject -pad -data
"/home/tmp/dual-hfs-01.img"
4. Mount CD defaults to iso9660 - no problems
5. Mount CD as type hfs gives log entry:
Sep 24 15:47:04 jenjen3 kernel: kernel BUG at buffer.c:2618!
Sep 24 15:47:04 jenjen3 kernel: invalid operand: 0000
    
Actual results:
kernel bug causes all subsequent mounts to hang; shutdown also hangs on unmount;
manual restart has to recover disks.

Expected results:
Access to mounted files from the CD as were available from the image looped back.

Additional info:
The CD has a large number of files, quite a number with long file names.
Comment 1 Chris Miles 2003-09-24 12:33:01 EDT
Created attachment 94684 [details]
system log for kernel BUG at buffer.c:2618!
Comment 2 Chris Miles 2003-09-27 08:04:45 EDT
I have rebuilt the iso image with '-part' but to the same effect.

However I have found (by mistake) that 'mount -t hfs /dev/cdrom /mnt/wrk -o
loop' works. Strange?
Comment 3 Chris Miles 2003-09-27 08:07:43 EDT
The CD reads fine in a Mac OS 9.1 machine (only the without -part was tested).
Comment 4 Dave Jones 2003-09-29 10:03:14 EDT
Repeatable without all the proprietory binary modules loaded ?
Comment 5 Arjan van de Ven 2003-09-29 10:05:47 EDT

*** This bug has been marked as a duplicate of 78616 ***
Comment 6 Chris Miles 2003-09-29 15:21:10 EDT
Created attachment 94830 [details]
untainted dmesg output

My apologies for submitting a tainted report.

I have tested without the tainted modules and the kernel BUG still occurs.

I find that the fault still occurs in single user mode. The dmesg output is
attached
The fault does not occur when the kernel boot parameter 'hdc=ide-scsi' is
removed. Full X11 and running the application off the HFS mounted CD rom is
then available.
Comment 7 Chris Miles 2003-09-29 15:23:11 EDT
This is repeatable without all the proprietory binary modules loaded.
Comment 8 Mike A. Harris 2003-09-29 16:54:39 EDT
Please provide a copy of your /var/log/messages from a full boot, as well as
the full output from "lsmod > lsmod.txt".  If you're using X on this machine,
I have an idea also, please attach your /var/log/XFree86.0.log as I'd like to
compare it with another bug report received.
Comment 9 Chris Miles 2003-09-29 18:25:05 EDT
Created attachment 94839 [details]
Zip of messages, lsmod and XFree log

The zip contains the requested files from a full X11 boot and hfs mount
segfault.

I find that the fault still occurs in single user mode.
The fault does not occur if the kernel boot parameter 'hdc=ide-scsi' is
removed.
Comment 10 Chris Miles 2003-10-10 05:27:02 EDT
Created attachment 95095 [details]
lsmod after clean boot and CD mount -t hfs
Comment 11 Chris Miles 2003-10-10 05:28:07 EDT
Created attachment 95096 [details]
messages from clean boot and mount -t hfs
Comment 12 Chris Miles 2003-10-10 05:30:03 EDT
Created attachment 95097 [details]
XFree86.0.log from clean boot and mount -t hfs

Same files as in the previous Zip attachment - easier to read in browser.
Comment 13 Chris Miles 2003-10-19 16:54:43 EDT
Please let me know if I can provide any more information or investigate further.
Comment 14 Bugzilla owner 2004-09-30 11:41:33 EDT
Thanks for the bug report. However, Red Hat no longer maintains this version of
the product. Please upgrade to the latest version and open a new bug if the problem
persists.

The Fedora Legacy project (http://fedoralegacy.org/) maintains some older releases, 
and if you believe this bug is interesting to them, please report the problem in
the bug tracker at: http://bugzilla.fedora.us/

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