LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-24-2004, 02:48 PM   #1
drigz
Member
 
Registered: Apr 2004
Distribution: Gentoo ~x86
Posts: 407

Rep: Reputation: 30
ICH5 SATA in 2.4.x


I have an SATA drive and a PATA drive. I have slackware 9.1 on the SATA drive, using kernel 2.6.x, with the CONFIG_SCSI_ATA_PIIX option enable to give support for my sata drive. I have installed LFS onto the PATA drive, and it is not 2.6.x ready. To use 2.6.x you need to use the unstable version, but it doesn't work for me (GCC compile fails).

I have got 2.4.27-rc1, which has SATA support. However, it doesn't seem to support my controller (it doesn't have the CONFIG_SCSI_ATA_PIIX) option in it). I have tried enabling all the other SATA options, but it still doesn't recognise the drive.

How can I get it to see the drive? (or alternatively, is there a guide for using 2.6.x in LFS 5.1.1?)
 
Old 06-26-2004, 07:40 AM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
There's isn't as far as I know any help for 2.6 and LFS, but you won't need it. The only things that are different are the kernel itself and modutils, make certain to compile modutils with I think its called... the legacy options... so it can load 2.4 modules. I've got 3 slack 8.1/9.0/9.1 boxen around running kernels far too new for them without any real issues.

You think this is a pain, I had to install on that thing in late summer of 2002, that was a pain!

Cheers,

Finegan
 
Old 06-26-2004, 10:20 AM   #3
drigz
Member
 
Registered: Apr 2004
Distribution: Gentoo ~x86
Posts: 407

Original Poster
Rep: Reputation: 30
ok - i found a guide at:
http://linuxfromscratch.mirror.ac.uk...-migration.txt
and followed that to install module-init-tools. i then compiled the kernel ( i think i configured it ok. if you want to see if i've missed anything obvious, look at http://drigz.petbo.com/mine.noboot.config)

i compiled the kernel as the document instructs (make CC=/opt/gcc-2.95.3/bin/gcc all; make modules_install) and copied the kernel image to /boot. as i currently havent set up the lilo.conf on lfs, i booted into slackware, copied the kernel across from /mnt/lfs/boot to /boot, and then set lilo up to boot to it as an option. this worked fine for the 2.4.x kernels that i have built on lfs.

however, when i rebooted and selected LFS-2.6.7, lilo said booting as it normally does, then went to a black screen, and stayed there for a while. the hard drive light was flashing, so perhaps it was working and just not showing it... i dont kno. i pressed reboot on my comp, and booted into the old 2.4.27-rc1 kernel which still works fine.

what could cause this?
 
Old 06-26-2004, 10:50 AM   #4
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
Framebuffer, you've got a:

vga=768

Or somesuch entry in there, but the kernel doesn't support framebuffer correctly. Try:

vga=normal

It'll be ugly, but it should boot right... or at least display the panic

Cheers,

Finegan
 
Old 06-26-2004, 10:56 AM   #5
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
I was talking about lilo.conf above btw, but you probably figured that. Here's the options so that fb works right, I'm using menuconfig, make config is for masochists and sparc owners:

Device Drivers --->
Graphics support --->[*] Support for frame buffer devices[*] VESA VGA graphics support (just this one, no others)
Then at the bottom:
Console display driver support --->[*] Video mode selection support (this is what allows vga=some-octal to work)
<*> Framebuffer Console support
Logo configuration --->
(all 3) [you want your cute tux afterall, that's what this FB crap is all about right!!!]

Cheers,

Finegan
 
Old 06-26-2004, 11:12 AM   #6
drigz
Member
 
Registered: Apr 2004
Distribution: Gentoo ~x86
Posts: 407

Original Poster
Rep: Reputation: 30
well i use xconfig, but i thought id done that... anyway, it was the second guess that was right - i can now see the panic:

Code:
Lots of lines in a similar format, the last of which is:
[<c0103255>] kernel_thread_helper+0x5/0xc

Code: Bad EIP Value.
<0> Kernel panic: Attempted to kill init!
Bad: scheduling while atomic!
[<c03793ec>] <0> In interrupt handler - not syncing
What does this mean, and how can I fix it?

EDIT: I just checked my config - I enabled all that except that I only enabled the 224-colour tux (not the other 2). Could this have caused it?

Last edited by drigz; 06-26-2004 at 11:22 AM.
 
Old 06-26-2004, 11:39 AM   #7
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
Man... you're going to have to google for that, I have no idea, init is up and rockin, something else went berserk in init. Basically, I get really stupid right after dmesg ends and right when init begins.

Also, with the vesa stuff, did you have any additional options then those?

Cheers,

Finegan
 
Old 06-26-2004, 11:52 AM   #8
drigz
Member
 
Registered: Apr 2004
Distribution: Gentoo ~x86
Posts: 407

Original Poster
Rep: Reputation: 30
not under device drivers -> graphics
 
Old 06-26-2004, 11:55 AM   #9
drigz
Member
 
Registered: Apr 2004
Distribution: Gentoo ~x86
Posts: 407

Original Poster
Rep: Reputation: 30
i think it might be a problem with acpi (this featured a lot in what i have learnt was the trace) - how important is it and will my comp work if i disable it in the kernel?
 
Old 06-26-2004, 11:55 AM   #10
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
Then I am perplexed... more confused as to why init barfed a kitten. panic going atomic? ELF/AOUT/misc support maybe? BSD process accounting, other crap up there in the top level I never bother looking at... dunno.

Cheers,

Finegan
 
Old 06-26-2004, 12:04 PM   #11
drigz
Member
 
Registered: Apr 2004
Distribution: Gentoo ~x86
Posts: 407

Original Poster
Rep: Reputation: 30
all the weird american slang is starting to confuse... im going to try compiling a kernel with no acpi and see if that works.

edit: ill try append="acpi=off" first though..

Last edited by drigz; 06-26-2004 at 01:07 PM.
 
Old 06-26-2004, 01:36 PM   #12
drigz
Member
 
Registered: Apr 2004
Distribution: Gentoo ~x86
Posts: 407

Original Poster
Rep: Reputation: 30
progress! i have tried three methods of turning acpi off, with the following results:
append="acpi=off"
successful boot! but has the no acpi downside - it doesnt turn itself off automatically

append="pci=noacpi"
seemingly normal messages, then:
ACPI: Subsystem revision 20040326
ACPI: IRQ9 SCI: Level Trigger
then hangs

kernel with power management disabled
seemingly normal messages, then:
ACPI: Subsystem revision 20040326
then hangs

acpi works fine in slackware - why isnt it working in lfs? odd....
 
Old 06-26-2004, 02:00 PM   #13
drigz
Member
 
Registered: Apr 2004
Distribution: Gentoo ~x86
Posts: 407

Original Poster
Rep: Reputation: 30
i guess ill have to live with this annoyingly outdated behaviour, as i cant think what could be causing the problem...
 
Old 06-26-2004, 02:25 PM   #14
drigz
Member
 
Registered: Apr 2004
Distribution: Gentoo ~x86
Posts: 407

Original Poster
Rep: Reputation: 30
some googling has led me to believe that its the fault of the new kernel version - im gonna try 2.6.6 which is what im using with slack
 
Old 06-27-2004, 11:36 AM   #15
drigz
Member
 
Registered: Apr 2004
Distribution: Gentoo ~x86
Posts: 407

Original Poster
Rep: Reputation: 30
result! kernel 2.6.6 works perfectly!
 
  


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
ICH5 SATA on Mandrake 10.1/2005 taylortbb Linux - Hardware 5 10-03-2005 05:09 PM
Intel SATA ICH5. BIOS Tip! sausagejohnson Linux - Hardware 4 07-12-2005 01:43 AM
Ich5 & Sata simon_w Slackware - Installation 14 01-08-2005 11:49 AM
ICH5, SATA and Kernel 2.4.22 timetwister Linux - Hardware 1 09-14-2003 06:43 PM
Intel ICH5 Sata controller finegan LinuxQuestions.org Member Success Stories 5 08-18-2003 03:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:46 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration