On Tue, 3 Jan 2006 05:57, J.F. Gratton wrote: > On Mon, 2006-01-02 at 10:03 -0700, Paul E Condon wrote: > > On Mon, Jan 02, 2006 at 09:53:38AM -0600, Michael Martinell wrote: > > > On Mon, January 2, 2006 9:39 am, J.F. Gratton wrote: > > > > I've been unable to access any partition on /dev/hda since I've > > > > compiled my own kernel 2.6.14.5 . I'm currently running 2.6.12-10. > > > > > > > > I want to get rid of initrd and compile my own kernels (I've done > > > > it for a long time, it's just that since Deb 3.0 rX I have been a > > > > bit lazy and let the OS install new ones when new ones were > > > > available). > > > > > > > > For the life of me, I can't see any pertinent changes between my > > > > two kernel configs (provided in attachments) that might give the > > > > slightest clue as to why kernel-2.6.12 (dpkg-provided) will mount > > > > /dev/hda* and why kernel-2.6.14.5 (user-compiled) won't. > > > > > > > > The console won't spew any error messages concerning the missing > > > > vfat partitions. If I manually try to mount them (say.. mount -t > > > > vfat /dev/hdb6 /mnt/temp-mountpoint), I get a "/dev/hda6 : device > > > > busy". So I guess it "knows" that /dev/hdb6 exists, right ? > > > > > > > > It's not a question of filesystems not being included in > > > > modules/kernel; there are vfat partitions on /dev/hdb and those are > > > > being seen and mounted. I insist on the fact that *everything* > > > > works just fine with 2.6.12 but not with 2.6.14.5. > > > > > > > > > > This may seem a bit obvious, but did you try to copy > > > config-currentkernel that relates to your old install (from /boot), > > > rename it to .config and put it into your source path for the new > > > kernel. That should give you the exact same config that you are > > > currently using. Then you could just run the configure program (make > > > menuconfig) for the kernel to select or unselect any other features. [...] > > > > As an infrequent builder of special kernels, I have found it useful to > > insert another step into the above procedure. Before I make my changes > > to .config, I do a trial run of compiling. That is to say, I compile, > > as best I can, the same kernel as is given in the Debian distribution. [...] > > Well I tried your (Michael and Paul's) ways (which, btw used to be the [...] > > A bit of info I did not have -because I did not think of it- before: > cfdisk /dev/hda shows the drive and partitions. It just won't mount > them !! mount -t vfat /dev/hdaX will get me a "device busy". It _is_ > annoying. > > The only real differences between the distro-provided kernel and the one > I want to build is basically I want some amd64 specific tweaks, I want > to get rid of the initrd and prevent compiling of many useless modules; > nothing really esoteric per se. > > I _am_ stumped... > > -- Jeff
Hi Jeff Your original dmesg-2.6.14.5 showed the following error repeated 20+ times [ 16.627169] device-mapper: dm-linear: Device lookup failed [ 16.627195] device-mapper: error adding target to table I'm not sure what it means, but thats where I'd start. HTH Andrew -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]