LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-01-2006, 11:32 PM   #1
pda_h4x0r
Member
 
Registered: Feb 2006
Location: somewhere in cyberspace
Distribution: Debian, Familiar
Posts: 380

Rep: Reputation: 31
Boot configuration after kernel installation


Hello everyone,

I installed the Debian package kernel-image-2.4.27-2-586tsc on my old laptop (133MHz Pentium), in order to get better apm and acpi support (which I did). However, two weird things happen during boot: somehow, I've lost all my pcmcia support (and thus my internet connection), and now the computer thinks that I have an ext3 filesystem (I have an ext2 filesystem for speed). It sits there for about five minutes trying to figure out why it can't read the filesystem, until it realizes that it's not ext3. How do I stop this? Also, how do I get my pcmcia drivers back?

I've looked into the /lib/modules/2.4.27-2-586tsc/kernel/fs directory, and noticed that I have an unneeded ext3 driver. Should I remove this? Will this solve the problem?

Please let me know what files you may need to see.

Thank you
 
Old 03-01-2006, 11:41 PM   #2
dracae
Member
 
Registered: Feb 2006
Location: Oklahoma
Distribution: Debian Sid and Etch
Posts: 423

Rep: Reputation: 30
You should install pcmcia-modules-`uname -r`

What are the contents of your fstab?
 
Old 03-02-2006, 12:51 AM   #3
pda_h4x0r
Member
 
Registered: Feb 2006
Location: somewhere in cyberspace
Distribution: Debian, Familiar
Posts: 380

Original Poster
Rep: Reputation: 31
Ummm...I don't have internet on that computer (anymore--pcmcia failure). How do I get the modules? Should I rawrite them to a diskette?

My fstab:

filesystem____mountpt__type_____options______________dump___pass

/dev/hda1_____/________ext2_____errors=remount-ro_____0_____1
/dev/hda5_____none_____swap_____sw____________________0_____0
proc__________/proc____proc_____defaults______________0_____0
/dev/fd0______/floppy__auto_____user,noauto___________0_____0
/dev/cdrom____/cdrom___iso9660__ro,user,noauto________0_____0

The slowdown occurs when the boot process tries to check partitions of /dev/ide/host0/bus0/target0/lun0. It keeps complaining that there is a dma_timer_expiry error. It finishes several (failed) checks by stating that it cannot find an ext3fs. It continues as usual from there.

The modprobe fails, saying it can't find module *.

Last edited by pda_h4x0r; 03-02-2006 at 12:56 AM.
 
Old 03-02-2006, 08:20 AM   #4
dracae
Member
 
Registered: Feb 2006
Location: Oklahoma
Distribution: Debian Sid and Etch
Posts: 423

Rep: Reputation: 30
You should be able to boot into your old kernel and get pcmcia to work, install the pcmcia-modules for the new kernel then reboot into it.
 
Old 03-02-2006, 10:08 AM   #5
pda_h4x0r
Member
 
Registered: Feb 2006
Location: somewhere in cyberspace
Distribution: Debian, Familiar
Posts: 380

Original Poster
Rep: Reputation: 31
How do I reboot into the old kernel?
 
Old 03-02-2006, 10:11 AM   #6
dracae
Member
 
Registered: Feb 2006
Location: Oklahoma
Distribution: Debian Sid and Etch
Posts: 423

Rep: Reputation: 30
Assuming you didn't remove it, when you reboot you are presented with a menu of currently installed kernels. You are free to chose which one to load.
 
Old 03-02-2006, 06:20 PM   #7
pda_h4x0r
Member
 
Registered: Feb 2006
Location: somewhere in cyberspace
Distribution: Debian, Familiar
Posts: 380

Original Poster
Rep: Reputation: 31
No menu is present (I think it was automatically disabled when I installed the new kernel), but the old kernel is still present--it's an option in /etc/lilo.conf, if the first kernel fails to boot. However, commenting out the first kernel's presence in the /etc/lilo.conf file doesn't cause the old kernel to boot

EDIT: Never mind. /sbin/lilo -v worked after I commented out the new kernel image. Downloading pcmcia packages...SUCCESS!

EDIT: Still, though--how do I configure my computer to mount my root file system as ext2? I did a bit of research and it seems that kernels 2.4 and above assume the ext3fs, and (if it cannot mount the root file system) it will try to mount it as ext2 (in case of failure). It seems that my kernel tries to mount the root file system as cramfs, and when that fails, it tries ext2. I want the kernel to try ext2 first. I've already tried adding "rootfstype=ext2" to the append field of the kernel image in lilo.conf, but that resulted in a kernel panic. How do I make the kernel assume ext2?

Last edited by pda_h4x0r; 03-02-2006 at 07:54 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation CD won't boot kernel Demon86 Linux - Newbie 4 07-24-2007 08:38 PM
Boot Up ( Installation) Kernel Panic - Attempted to kill init! balayhashi Fedora - Installation 5 11-13-2005 02:16 AM
Post installation configuration for KDE 3.4.1 under slackware 10.1 with kernel 2.6.10 Basel Slackware 1 06-15-2005 03:06 AM
New FAQ topic: Should I edit my kernel configuration?/Should I build a custom kernel? chort *BSD 10 09-10-2004 11:15 PM
laptop with docking -- does not boot new kernel, redhat 9 installation media timpie Linux - Laptop and Netbook 0 06-22-2003 11:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration