LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-27-2002, 08:51 PM   #1
Rio Nishida
LQ Newbie
 
Registered: Nov 2002
Location: Nowhereville, Kentucky
Distribution: Slackware...if i can get it to work.
Posts: 10

Rep: Reputation: 0
newbie issues....kernel panic...desparatly in need of assistance...


full installed slackware ISO cd with all packages, no errors.
previous OS: WinMe, WinXP
hard drive: IDE, 30gig:
/dev/hda1 - swap, 1gb
/dev/hda2 - root, 29gb, ext2.

upon reboot, after the boot menu, i get pages and pages of junk, too fast to read. the last screen, where it freezes, displays all this (without the line breaks):

EXT3-fs: unable to read superblock
hda1: bad access: block=2 count=2
end_request: I/O error, dev 03:01 (hda), sector 2

EXT2-fs: unable to read superblock
hda1: bad access: block=0 count=1
end_request: I/O error, dev 03:01 (hda), sector 0

FAT: unable to read boot sector
UMSDOS: msdos_read_super failed, mount aborted.
hda1: bad access: block=0 count=1
end_request: I/O error, dev 03:01 (hda), sector 0

FAT: unable to read boot sector
hda1: bad access: block=0, count=1
end_request: I/O error, dev 03:01 (hda), sector 0

FAT: unable to read boot sector
hda1: bad access: block=64, count=2
end_request: I/O error, dev 03:01 (hda), sector 64

isofs_read_super: bread failed, dev=03:01, iso_blknum=16, block=32
hda1: bad access: block=128, count=2
end_request: I/O error, dev 03:01 (hda), sector 128

read_super_block: bread failed (dev=03:01, block 64, size 1024)
hda1: bad access: block=16, count=2
end_request: I/O error, dev 03:01 (hda), sector 16

read_super_block: bread failed (dev=03:01, block 6, size 1024)
Kernel panic: VFS: Unable to mount root fs on 03:01


i tried all three lilo locations, still the same error after boot menu.

Last edited by Rio Nishida; 11-28-2002 at 06:53 PM.
 
Old 11-27-2002, 08:53 PM   #2
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
did you install lilo in the mbr
 
Old 11-27-2002, 08:56 PM   #3
Rio Nishida
LQ Newbie
 
Registered: Nov 2002
Location: Nowhereville, Kentucky
Distribution: Slackware...if i can get it to work.
Posts: 10

Original Poster
Rep: Reputation: 0
yes.
 
Old 11-27-2002, 10:32 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,005
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
ide-kernel on a SCSI-box? =)

Cheers,
Tink
 
Old 11-27-2002, 11:23 PM   #5
Rio Nishida
LQ Newbie
 
Registered: Nov 2002
Location: Nowhereville, Kentucky
Distribution: Slackware...if i can get it to work.
Posts: 10

Original Poster
Rep: Reputation: 0
nope, i don't have anything that's scsi.
 
Old 11-28-2002, 03:38 AM   #6
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
for it to go through the filesystems like that it is just not seeing a linux filesystem on there.


maybe use lba32 in lilo.conf
 
Old 11-28-2002, 12:55 PM   #7
Rio Nishida
LQ Newbie
 
Registered: Nov 2002
Location: Nowhereville, Kentucky
Distribution: Slackware...if i can get it to work.
Posts: 10

Original Poster
Rep: Reputation: 0
umm...not to be retarded but...im totally new to linux, how do i do that?
 
Old 11-28-2002, 01:57 PM   #8
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
first you will need to access it, since it's not booting you may need to get a root boot disk so you can boot it up and make some changes.


try this first...

hit tab at the boot menu, if it does not show the command promt and a list of images then hit ctrl_x then using an image name from the list do this...

imagename root=/dev/hda1


if that fails try it with hda? until you have tried several of them

if you have another drive try it starting with /dev/hdb1
 
Old 11-28-2002, 05:31 PM   #9
Bluesuperman
Member
 
Registered: Nov 2002
Distribution: Slackware
Posts: 155

Rep: Reputation: 30
Which drive is the swap ?
 
Old 11-28-2002, 05:51 PM   #10
Rio Nishida
LQ Newbie
 
Registered: Nov 2002
Location: Nowhereville, Kentucky
Distribution: Slackware...if i can get it to work.
Posts: 10

Original Poster
Rep: Reputation: 0
okay. i repartitioned to remove the swap, and ran
fsck -y -v -f /dev/hda1
which a friend suggested. there have been like a million errors so i hope it fixes them...
current config: /dev/hda1 = /
 
Old 11-28-2002, 05:54 PM   #11
Rio Nishida
LQ Newbie
 
Registered: Nov 2002
Location: Nowhereville, Kentucky
Distribution: Slackware...if i can get it to work.
Posts: 10

Original Poster
Rep: Reputation: 0
once this finishes, i'm probably going to repartition it again to add the swap again, then re-run fsck and e2fsck. (i removed the swap in the first place because fsck had alotta problems checking it)
here will be the configs:
/dev/hda1 - swap - 1gb
/dev/hda2 - / - 29gb

Last edited by Rio Nishida; 11-28-2002 at 05:55 PM.
 
Old 11-28-2002, 06:25 PM   #12
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
is the hard drive bad? linux is not very forgiving on bad hard drives.
 
Old 11-28-2002, 06:41 PM   #13
Rio Nishida
LQ Newbie
 
Registered: Nov 2002
Location: Nowhereville, Kentucky
Distribution: Slackware...if i can get it to work.
Posts: 10

Original Poster
Rep: Reputation: 0
the hd was working just fine before i installed linux, and the check/format didnt report any errors.
okay, finished all the fsck runs....one directory kept on being corrupt though, so i went ahead and repartitioned as stated in my above post, then ran fsck -y -v -f /dev/hda1 and got this:

the filesystem size (according to the superblock) is 7474233 blocks
the physical size of the device is 248999 blocks
Either the superblock or the partition table is likely to be corrupt!
Abort? yes

(back to prompt)

suggestions?
 
Old 11-28-2002, 11:16 PM   #14
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
my guess is you need to turn of drive translations in the bios
 
Old 11-29-2002, 12:21 AM   #15
Bluesuperman
Member
 
Registered: Nov 2002
Distribution: Slackware
Posts: 155

Rep: Reputation: 30
full installed slackware ISO cd with all packages, no errors.
previous OS: WinMe, WinXP
hard drive: IDE, 30gig:
/dev/hda1 - swap, 1gb
/dev/hda2 - root, 29gb, ext2.
upon reboot, after the boot menu, i get pages and pages of junk, too fast to read. the last screen, where it freezes, displays all this (without the line breaks):

EXT3-fs: unable to read superblock
hda1: bad access: block=2 count=2
end_request: I/O error, dev 03:01 (hda), secto


It looks like the kernel / lilo is trying to mount your swap instead of your root drive.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Bad Display Name balh.blah.blah.com in remove command 0.o *BSD 2 12-08-2004 02:37 PM
Expanding file names in a script? ../blah -> /home/blah Bebo Linux - General 24 03-29-2004 06:39 PM
ln -s smbspool /blah/blah/hugh? wlfdgcrkz Linux - Networking 0 06-24-2003 01:29 AM
File System? Blah? KillerCheeto Linux - Newbie 1 11-15-2002 04:13 PM
apachectl configtest ... blah punt Linux - Software 7 07-18-2001 12:23 PM


All times are GMT -5. The time now is 08:20 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration