From: Gene Heskett <gene.heskett@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: Dave Dillow <dave@thedillows.org>,
ray-gmail@madrabbit.org, Ingo Molnar <mingo@elte.hu>,
amanda-hackers@amanda.org, amanda-users@amanda.org
Subject: Re: plain 2.6.21-rc5 (1) vs amanda (0)
Date: Mon, 09 Apr 2007 11:33:42 -0400 [thread overview]
Message-ID: <200704091133.44684.gene.heskett@gmail.com> (raw)
In-Reply-To: <1175661256.31439.23.camel@obelisk.thedillows.org>
On Wednesday 04 April 2007, Dave Dillow wrote:
>On Mon, 2007-04-02 at 00:31 -0400, Dave Dillow wrote:
>> On Mon, 2007-04-02 at 00:20 -0400, Gene Heskett wrote:
>
>[snipped for brevity]
>
>> > [root@coyote music]# stat .
>> > Device: fd00h/64768d Inode: 10354963 Links: 39
>> >
>> > Now rebooted to 2.6.21-rc5:
>> > Device: ee00h/60928d Inode: 10354963 Links: 39
>>
>> For those playing along at home, I believe the issue is that GNU tar
>> sees a different device number for the directories than what is listed
>> in the listed-incremental snapshot file, and thinks all of the
>> directories are new. I've asked Gene to make a few back-to-back runs
>> of the tar command under the same kernel to see if the subsequent runs
>> figure out that there's nothing to do, as expected.
>
>Gene has confirmed that GNU tar figures it out as expected.
>
>> Then it is a matter of figuring out why the device number changed --
>> I'm thinking it is device-mapper, but will look closer tomorrow.
>
>This commit is the one that changed it:
>
>commit fdf892be32d84a1745fa0aee5fc60517421b8038
>Author: Andrew Morton <akpm@osdl.org>
>Date: Mon Feb 12 00:51:44 2007 -0800
>
> [PATCH] register_blkdev(): don't hand out the LOCAL/EXPERIMENTAL
> majors
>
> As pointed out in http://bugzilla.kernel.org/show_bug.cgi?id=7922,
> dynamic blockdev major allocation can hand out majors which LANANA has
> defined as being for local/experimental use.
>
>
>I'm not sure I could argue for that to be reverted, so here's a possible
>workaround for Fedora -- completely untested.
>
>Add the following to /etc/modprobe.conf:
>options dm_mod major=253
This does not work.
>And make a new initrd for the problematic kernel. This assumes that
>you're using device mapper as a module.
>
>If you're building it in, then either dm.major=253 or dm_mod.major=253
>should work on the kernel command line, but I'm not sure which it is.
I'll try this, I just put both in the kernel command line for 2.6.21-rc6,
except I set it for the 238 it was at before the patch was reverted. I'd
put the patch back in myself, but my searching of the lkml corpus here
hasn't turned it up.
>Dave
--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Do not drink coffee in early A.M. It will keep you awake until noon.
next prev parent reply other threads:[~2007-04-09 15:33 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-01 5:00 plain 2.6.21-rc5 (1) vs amanda (0) Gene Heskett
2007-04-01 6:51 ` Ingo Molnar
2007-04-01 14:44 ` Gene Heskett
2007-04-01 7:33 ` Ray Lee
2007-04-01 15:41 ` Gene Heskett
2007-04-02 4:20 ` Gene Heskett
2007-04-02 4:31 ` Dave Dillow
2007-04-04 4:34 ` Dave Dillow
2007-04-04 8:45 ` Ingo Molnar
2007-04-04 17:42 ` Andrew Morton
2007-04-04 18:17 ` Dave Dillow
2007-04-04 20:29 ` Andrew Morton
2007-04-04 21:55 ` Dave Dillow
2007-04-05 0:49 ` Gene Heskett
2007-04-09 15:33 ` Gene Heskett [this message]
2007-04-09 15:59 ` Dave Dillow
2007-04-09 16:12 ` Gene Heskett
2007-04-09 16:30 ` Gene Heskett
2007-04-09 16:00 ` Ingo Molnar
2007-04-09 17:05 ` Gene Heskett
2007-04-09 17:50 ` Ingo Molnar
2007-04-09 19:58 ` Gene Heskett
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200704091133.44684.gene.heskett@gmail.com \
--to=gene.heskett@gmail.com \
--cc=amanda-hackers@amanda.org \
--cc=amanda-users@amanda.org \
--cc=dave@thedillows.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=ray-gmail@madrabbit.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox