Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

ajt (2546)

ajt
  (email not shown publicly)
http://www.iredale.net/

UK based. Perl, XML/HTTP, SAP, Debian hacker.

  • CPAN: ATRICKETT [cpan.org]
  • PerlMonks: ajt [perlmonks.org]
  • Local LUG: AdamTrickett [lug.org.uk]
  • Debian Administration: ajt [debian-adm...ration.org]
  • LinkedIn: drajt [linkedin.com]

Journal of ajt (2546)

Monday April 18, 2005
09:28 AM

Debian Kernel strangeness

[ #24257 ]

Over the weekend I started to build a scrap computer for someone. It's a real monster, two tiny hard-drives, non-original CPU, CD-ROM, ethernet and RAM, it's all the bits of other computers that didn't get thrown away.

The new Debian Installer wouldn't install properly, it jammed when checking out the hard drives. A real pity as it's very nice for a text installer.

The old Debian Woody installer worked okay, and I was even able to apt-get the minimal install up to Debian Sarge status without any problems. I switched from LILO to GRUB, and deleted a few old things. However, though it's running Debian Sarge it still has an antique 2.2.20 kernel, so I added a 2.4 and 2.6 kernel to see if they would work.

So far I can't get it to boot with a 2.4 or 2.6 kernel, both fail on the boot sequence when the "Check Partition" starts, neither like the ancient 500Mb hdb that the box has. Kernel 2.2 is perfectly happy though, and with that booted, all is okay.

I don't know what to do next. I'd rather run a more modern kernel, the stock 2.2.20 is harldy modern, optimised, or secure. I can't run iptables on it either, which is one of the things I want to be able to do.

Strange...

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • What is the CPU in the frankenstein machine? I'm just guessing, but maybe the 2.4/2.6 kernel is compiled for something newer than the CPU can handle.
    • Thought of that, they 2.2 and 2.6 kernels are stock i386 and the 2.4 kernel is i586. The CPU is a genuine Intel Pentium 133, a 586 processor, which I have run with stock Debian 586 kernels before.

      I'm now wondering if it's something to do with the age of the second hard drive. The motherboard is antique but functional, the IDE interface is PIO, no DMA, and the second drive is even older, pre LBA even...

      --
      -- "It's not magic, it's work..."
      • The newer kernels might be compiled to turn on DMA by default and if so that may be the culprit.
        • I must admit that DMA was my first guess, but passing ide=nodma doesn't seem to make any difference, I could see that DMA was disabled, but it still failed the partition check.

          The problem is I don't know enough about working with a kernels to know what to do next. Another fear is that the drive doesn't do LBA, but that the kernel is assuming it will. Tonight I'm going to read the lable on the drive to make sure that the geometry is correct, it could be something as simple as that...

          Even if I don't get i

          --
          -- "It's not magic, it's work..."
  • I'm lazy and if I'm going to use a debian based distro I will use Knoppix or Mepis LiveCD's for the install. Like I said, I'm lazy.
    • I did consider this, BUT it's so antique that it can't boot from a CD, it's floppy or hard disk only...

      --
      -- "It's not magic, it's work..."