Help save net neutrality! Learn more.
Close

#22 persistent kernel panic with 1.1.1

closed
Crash (44)
5
2004-03-31
2004-03-30
No

I have an ext3 filesystem on the 2nd primary partition on a CompactFlash card, that I mount using a USB 1 cardreader. It was formatted with e2fsprogs 1.35 under Linux (kernel 2.2.25, glibc 2.1.3), where it functions perfectly as an ext2-mounted ide drive (using a pcmcia adapter). The e2fsprogs were compiled with htree support (otherwise I couldn't get the dir_index feature to be accepted?!)

On the mac, I get persistent kernel panics when I

*) try to do substantial reads from the partition, like a `cat * > /dev/null` where "*" amounts to some 40Mb. Doing a cp of the individual files works OK.
*) Copy a +- 1Mb file to the partition.

Sadly, I have no local harddisk partition that I can try to format, so I cannot rule out that either or both of the CF card and/or the card reader is/are the culprit(s). But I doubt this.

From the Macs panic.log file:

*********

Wed Mar 24 00:41:15 2004

panic(cpu 0): ext2_cmap: allocation requested inside a block (possible filesystem corruption): qbmask=1023, inode=32132, offset=4861
440, blkoff=512
Latest stack backtrace for cpu 0:
Backtrace:
0x000834B8 0x0008399C 0x0001EDA4 0x1B05B518 0x000B7DDC 0x000BB5CC 0x000B8508 0x000B8688
0x000BA640 0x000BA0E0 0x1B055424 0x000CDA78 0x0021CC9C 0x0021CAB4 0x002405B4 0x00093E20
0x00000000
Kernel loadable modules in backtrace (with dependencies):
net.sourceforge.ext2fs.fs.ext2(1.1.1)@0x1b048000
Proceeding back via exception chain:
Exception state (sv=0x3081CC80)
PC=0x9000EBCC; MSR=0x0000D030; DAR=0xE0678000; DSISR=0x42000000; LR=0x00002994; R1=0xBFFFF7F0; XCP=0x00000030 (0xC00 - System
call)

Kernel version:
Darwin Kernel Version 7.3.0:
Fri Mar 5 14:22:55 PST 2004; root:xnu/xnu-517.3.15.obj~4/RELEASE_PPC

*********

Thu Mar 25 13:50:04 2004

panic(cpu 0): ext2_cmap: allocation requested inside a block (possible filesystem corruption): qbmask=1023, inode=32132, offset=4861
440, blkoff=512
Latest stack backtrace for cpu 0:
Backtrace:
0x000834B8 0x0008399C 0x0001EDA4 0x1AD28518 0x000B7DDC 0x000BB5CC 0x000B8508 0x000B8688
0x000BA640 0x000BA0E0 0x1AD22424 0x000CDA78 0x0021CC9C 0x0021CAB4 0x002405B4 0x00093E20
0x00020000
Kernel loadable modules in backtrace (with dependencies):
net.sourceforge.ext2fs.fs.ext2(1.1.1)@0x1ad15000
Proceeding back via exception chain:
Exception state (sv=0x3013F000)
PC=0x9000EBCC; MSR=0x0000D030; DAR=0xB4937000; DSISR=0x40000000; LR=0x00002994; R1=0xBFFFF730; XCP=0x00000030 (0xC00 - System
call)

Kernel version:
Darwin Kernel Version 7.3.0:
Fri Mar 5 14:22:55 PST 2004; root:xnu/xnu-517.3.15.obj~4/RELEASE_PPC

*********

Sat Mar 27 11:05:05 2004

panic(cpu 0): ext2_cmap: allocation requested inside a block (possible filesystem corruption): qbmask=1023, inode=2019, offset=40396
8, blkoff=512
Latest stack backtrace for cpu 0:
Backtrace:
0x000834B8 0x0008399C 0x0001EDA4 0x1B108518 0x000B7DDC 0x000BB5CC 0x000B8508 0x000B8688
0x000BA640 0x000BA0E0 0x1B102424 0x000CDA78 0x0021CC9C 0x0021CAB4 0x002405B4 0x00093E20
0x00000000
Kernel loadable modules in backtrace (with dependencies):
net.sourceforge.ext2fs.fs.ext2(1.1.1)@0x1b0f5000
Proceeding back via exception chain:
Exception state (sv=0x1AB78280)
PC=0x9000EBCC; MSR=0x0200F030; DAR=0x0093B00C; DSISR=0x40000000; LR=0x0007E300; R1=0xBFFFE100; XCP=0x00000030 (0xC00 - System
call)

Kernel version:
Darwin Kernel Version 7.3.0:
Fri Mar 5 14:22:55 PST 2004; root:xnu/xnu-517.3.15.obj~4/RELEASE_PPC

*********

Tue Mar 30 14:25:24 2004

panic(cpu 0): ext2_cmap: allocation requested inside a block (possible filesystem corruption): qbmask=1023, inode=8062, offset=11893
76, blkoff=512
Latest stack backtrace for cpu 0:
Backtrace:
0x000834B8 0x0008399C 0x0001EDA4 0x1B106518 0x000B7DDC 0x000BBC20 0x000BB8E4 0x000BB710
0x1B1012AC 0x000CD654 0x002069C0 0x00206AB8 0x002405B4 0x00093E20 0x006F006D
Kernel loadable modules in backtrace (with dependencies):
net.sourceforge.ext2fs.fs.ext2(1.1.1)@0x1b0f3000
com.apple.driver.AppleFWAudio(1.0.7b20)@0x6d9000
dependency: com.apple.iokit.IOFireWireAVC(1.5.2)@0x6a9000
dependency: com.apple.iokit.IOAudioFamily(1.4.4b1)@0x6bb000
dependency: com.apple.iokit.IOFireWireFamily(1.7.2)@0x667000
Proceeding back via exception chain:
Exception state (sv=0x1AB65A00)
PC=0x9001050C; MSR=0x0000D030; DAR=0x000245B4; DSISR=0x42000000; LR=0x00002F54; R1=0xBFFFF710; XCP=0x00000030 (0xC00 - System
call)

Kernel version:
Darwin Kernel Version 7.3.0:
Fri Mar 5 14:22:55 PST 2004; root:xnu/xnu-517.3.15.obj~4/RELEASE_PPC

*********

Discussion

  • Brian Bergstrand

    Logged In: YES
    user_id=595265

    R.J.,

    Please have a look at the "kernel panic when drive is connected via usb"
    thread in the public help forum (the "can't copy from drive" thread is also
    relevant).

    Basically, this type of panic is related to one of two things: 1) a bad
    filesystem, or 2) bad hardware.

    I've found (from tracking down these types of problems for other users)
    that Mac OS X seems to be MUCH more sensistive to USB errors than
    other platforms (even OS 9 on the same hardware). I'm betting this is
    the case for you too. Your CF card/reader is probably the cuplrit.

    I will leave this bug open for now, in case you come up with any other
    info..

    PS. You can format a disk image as Ext2 to test it out. Please do so and I
    think you will find that the driver operates w/o issue.

    HTH.

     
  • R.J.V. Bertin

    R.J.V. Bertin - 2004-03-30

    Logged In: YES
    user_id=93983

    OK, thanks for the info. I'll try the disk image trick -- to be sure, I suppose that means using Disk Utility to make a new disk image and then formatting that? There is no way to make one under Linux (x86), to rule out that it has something to do endianness?

    I already suspected a timing/bandwidth related explanation, given that the the cp command would not panic where the cat command would. In case this helps: in the system.log there is some mention of an alignment error on the device, when rebooting.

    I have a colleague with a 17" PB, with a pcmcia slot. I'll see if he's willing to risk a kernel panic (he should: he was the one to make me submit this report ;^))

     
  • R.J.V. Bertin

    R.J.V. Bertin - 2004-03-31

    Logged In: YES
    user_id=93983

    No problems with a disk image, nor when using the CF card via pcmcia in a PB 17".

     
  • Brian Bergstrand

    Logged In: YES
    user_id=595265

    R.J.,

    So the reader is bad? Sorry about that, but I have to say I'm happy there
    isn't a problem with the driver. :)

    Is it okay to close this bug, or would you like me to keep it open?

    Thanks.

     
  • R.J.V. Bertin

    R.J.V. Bertin - 2004-03-31
    • status: open --> closed
     
  • R.J.V. Bertin

    R.J.V. Bertin - 2004-03-31

    Logged In: YES
    user_id=93983

    Let's make it Pending a check of some more card readers, on that same PB 17" (nice colleague, no, exposing his machine to potential disaster :)).

    RenE.

    (Ps: mine's a reader that cost maybe $15, so I'm not really upset. I'm already content that 10.3x no longer lets it "disconnect" after a couple of minutes idle time, as 10.2x used to do!)

     

Log in to post a comment.