md(8) panic

From: Mike Bristow (mike_at_urgle.com)
Date: 05/12/04

  • Next message: Ted Unangst: "Re: IPC nsswitch implementation"
    To: freebsd-hackers@freebsd.org
    Date: Wed, 12 May 2004 14:08:05 +0100
    
    

    Hi,

    I am trying to access some ancient 5 1/4" floppies, with 256 byte
    sectors. Leaving aside the interesting hardware problems, the
    filesystem on these disks is (surprisingly enough) not supported on
    -CURRENT. While attempting to write one, I ran:

    # mdconfig -a -t malloc -S 256 -s 20

    Thinking that this would give me some fake media to play with. Instead,
    it panics the box.

    This happens at line 809 of md.c version 1.222 which says:

    sc->nsect /= (sc->secsize / DEV_BSIZE);

    (where sc->secsize has been initialised to 256, as per
    my request).

    It would be easy to check for, and reject, such requests, but should
    md(8) allow people to create such devices? Or am I being silly in even
    asking for it?

    Cheers,
    Mike

    -- 
    Mike Bristow - http://www.urgle.com/~mike/ - mike@urgle.com
    Who is the most famous woman in America?
    Squash.
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
    

  • Next message: Ted Unangst: "Re: IPC nsswitch implementation"

    Relevant Pages

    • Re: md(8) panic
      ... +> sectors. ... +> filesystem on these disks is not supported on ... +> my request). ...
      (freebsd-hackers)
    • Re: [dm-devel] Barriers still not passing on simple dm devices...
      ... can then get rid of that -EOPNOTSUPP and simplify filesystem code because ... req b, end req b] will make the ordering. ... Plus the barrier also allows ... they must not submit any request concurrently with the barrier. ...
      (Linux-Kernel)
    • Re: [PHP] Re: how to display images stored in DB
      ... that the filesystem is always a better place to store image content. ... Get http request ... lock file for read ... create aggregate image based on image dims ...
      (php.general)
    • Re: [dm-devel] Barriers still not passing on simple dm devices...
      ... can then get rid of that -EOPNOTSUPP and simplify filesystem code because ... req b, end req b] will make the ordering. ... Plus the barrier also allows ... they must not submit any request concurrently with the barrier. ...
      (Linux-Kernel)
    • [PATCH] FUSE: comments and documentation
      ... This adds lots of documentation for the userspace - kernel interface. ... +There are a couple of ways in which to deadlock a FUSE filesystem. ... +since there's no other thread to dequeue and execute the request. ... +interruption while the pagebelonging to the write buffer are ...
      (Linux-Kernel)