LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-10-2005, 03:39 PM   #16
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872

You did it right ( e2fsck -b 8193 /dev/hda2 )
there is some infos in this link : http://www.brunolinux.com/04-The_Fil...uperblock.html

Now I think you should fix this partition issue before trying to get internet...

For the net card module, I think you need the e100 module
-> Device Drivers
-> Networking support
-> Network device support (NETDEVICES [=y])
-> Ethernet (10 or 100Mbit)
-> EISA, VLB, PCI and on board controllers (NET_PCI [=y])
Intel(R) PRO/100+ support

But read what the config help says, and visit
http://support.intel.com/support/net.../cs-012904.htm
 
Old 07-10-2005, 03:46 PM   #17
RayQ
Member
 
Registered: Dec 2004
Location: Argentina
Distribution: Gentoo
Posts: 75

Original Poster
Rep: Reputation: 15
I had loaded that new module in this second re-recompile =)
 
Old 07-10-2005, 03:48 PM   #18
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
So you have internet ?
 
Old 07-10-2005, 03:59 PM   #19
RayQ
Member
 
Registered: Dec 2004
Location: Argentina
Distribution: Gentoo
Posts: 75

Original Poster
Rep: Reputation: 15
Nope, can't even start anything on that kernel D: Using my old (Thank GOD I left it) slackware linux, kernel 2.4.26 to type this.


This is the reply when I start:
First it tells me to go in maintenance mode or press ctrl+d to go on (the system will restart if I do, so I only can go to maintenance mode). I type my root pass, and it tells me to run e2fsck and blah.
I do as it tells me, and it spits out this:
Quote:
No such file or directory while trying to open /dev/hda2

The superblock could not be read or does not describve a correct ext2 filesystem.
If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else) then the superblock is corrupt-
And it tells me to run this with an alternate superblock, and says e2fsck -v -y <device>
 
Old 07-10-2005, 04:07 PM   #20
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
When you boot with 2.4 kernel it does not give you
any error about /dev/hda2, only when you boot with 2.6 ?

If it is the case, is your lilo.conf correct ? Are you sure /dev/hda2
was formated as e2fs ?
 
Old 07-10-2005, 04:11 PM   #21
RayQ
Member
 
Registered: Dec 2004
Location: Argentina
Distribution: Gentoo
Posts: 75

Original Poster
Rep: Reputation: 15
My lilo.conf (some parts stripped, nonimportant)
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot="/dev/hda"
message = /boot/boot_message.txt
prompt
timeout="120"
# Windows bootable partition config begins
default=Linux

other = /dev/hda1
        label="Windows"
  table = /dev/hda
# Windows bootable partition config ends
# Linux bootable partition config begins


image="/boot/vmlinuz-old"
        root="/dev/hda2"
        label="Linux"
  read-only
# Linux bootable partition config ends
# Linux (new) bootable partition config begins
image="/boot/vmlinuz-2.6.12"
root="/dev/hda2"
label="Slack"
read-only
# Linux (new) bootable partition config ends

Last edited by RayQ; 07-10-2005 at 04:15 PM.
 
Old 07-10-2005, 04:12 PM   #22
RayQ
Member
 
Registered: Dec 2004
Location: Argentina
Distribution: Gentoo
Posts: 75

Original Poster
Rep: Reputation: 15
And yep, I'm sure:
Code:
/dev/hda5        swap             swap        defaults         0   0
/dev/hda2        /                ext2        defaults         1   1
/dev/hda6        /home            ext2        defaults         1   2
/dev/cdrom       /mnt/cdrom       iso9660     noauto,owner,ro  0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
/dev/hda1 /windows ntfs uid=1001,gid=root,ro 0 3
/dev/sda1     /mp3    vfat    noauto,user,rw    0  0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
sysfs /sys sysfs defaults 0 0
 
Old 07-10-2005, 04:26 PM   #23
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
I think you forgot to add support for your harddisk since when you booted using it it told you that there was no /dev/hda2.
 
Old 07-10-2005, 04:27 PM   #24
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Maybe an IDE driver issue ? What is your driver chipset ?
(/sbin/lspci | grep IDE [or -i ide or similar...])
Did you enable the correct IDE driver in config ?
 
Old 07-10-2005, 04:38 PM   #25
RayQ
Member
 
Registered: Dec 2004
Location: Argentina
Distribution: Gentoo
Posts: 75

Original Poster
Rep: Reputation: 15
Can't remember, maybe I was stupid and loaded it as a module >-<

bash-2.05b# /sbin/lspci | grep IDE
00:1f.1 IDE interface: Intel Corp. 82801DB (ICH4) Ultra ATA 100 Storage Controller (rev 01)
 
Old 07-10-2005, 06:03 PM   #26
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Under 2.4 running, what does ' dmesg | grep -i ide ' say ?
 
Old 07-10-2005, 10:35 PM   #27
RayQ
Member
 
Registered: Dec 2004
Location: Argentina
Distribution: Gentoo
Posts: 75

Original Poster
Rep: Reputation: 15
Code:
BIOS-provided physical RAM map:
PCI: Ignoring BAR0-3 of IDE controller 00:1f.1
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH4: IDE controller at PCI slot 00:1f.1
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:DMA
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hdc: attached ide-cdrom driver.
hdd: attached ide-cdrom driver.
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
 
Old 07-11-2005, 08:10 AM   #28
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
On 2.6 kernel config, try enable :
generic/default IDE chipset support and Intel PIIXn chipsets support

From devices drivers / ATA/ATAPI/MFM/RLL support / PCI IDE chipset support
 
Old 07-11-2005, 08:58 AM   #29
RayQ
Member
 
Registered: Dec 2004
Location: Argentina
Distribution: Gentoo
Posts: 75

Original Poster
Rep: Reputation: 15
It already is, loaded in the kernel (not module).
 
Old 07-11-2005, 09:27 AM   #30
RayQ
Member
 
Registered: Dec 2004
Location: Argentina
Distribution: Gentoo
Posts: 75

Original Poster
Rep: Reputation: 15
Ok, recompiled it again, no HDD errors this time. I still lack the ability to use ALSA and internet, and lsmod still returns nothing in there.
 
  


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
problems booting compiled 2.6.11 kernel monkeyman2000 Debian 7 05-28-2005 07:16 PM
new kernel compiled successfully, but the kernel-source package is the same old? luqman Red Hat 2 03-03-2005 08:41 AM
problems with compiled kernel masood_gandhi Linux - Newbie 4 12-30-2004 12:04 PM
kernel panic on reboot of newly compiled kernel lyceum Linux - Newbie 4 09-09-2003 09:40 AM
Compiled Kernel>little problems Akshito Linux - Software 0 08-18-2003 02:20 AM

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

All times are GMT -5. The time now is 01:54 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