LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 02-01-2007, 08:01 PM   #1
brooky9999
Member
 
Registered: May 2006
Location: Marlow, UK
Distribution: Slackware 12.2
Posts: 232

Rep: Reputation: 30
Problem trying to get SATA to work on Slack 10.2


Hi all,

I've put a fresh install of 10.2 on my PC but it is failing to see my SATA disks. The motherboard is an ASUS P5NSLI.

When I start the install I use the sata.i kernel. But when I try to upgrade my kernel to 2.6.18.5 I get:

Code:
Kernel panic - not syncing: VFS: unable to mount root fs on unknown-block(8,2).
This is because it cannot see any of the SATA disks. I can boot beautifully into my 2.4.31 kernel, so I know there is nothing wrong with any of the hardware. The disks appear as sda and sdb respectively.

I have compiled Ext2 (my FS of choice), sata_nv and just about all Nvidia chipsets into the kernel directly but still no luck.

In Dmesg I get the following:

Code:
ata1: SATA max UDMA/133 cmd 0x9F0 ctl 0xBF2 bmdma 0xE400 irq 27
ata2: SATA max UDMA/133 cmd 0x970 ctl 0xB72 bmdma 0xE408 irq 27
sata_nv 0000:00:0e: irq 27 request failed: -38
Does anyone have an idea would could be causing the IRQ problem? Or indeed what I could be missing?

Many thanks,


Mark.
 
Old 02-01-2007, 09:18 PM   #2
brooky9999
Member
 
Registered: May 2006
Location: Marlow, UK
Distribution: Slackware 12.2
Posts: 232

Original Poster
Rep: Reputation: 30
Ok, I'm almost sure this is something to do with interrupt handling on the ASUS motherboard.

A number of devices are complaining about IRQ assigning... the SATA card is just one of them. I think that it cannot obtain a correct IRQ, so hence it cannot see the disks, and then in turn boot.

But it works under 2.4.31... that is what I don't understand.

I have run make menuconfig in /usr/src/linux-2.4.31 to see what is enabled there but not under my 2.6.18.5 directory, but nothing jumps out.

Any ideas anyone...?


M.
 
Old 02-01-2007, 09:27 PM   #3
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,245

Rep: Reputation: 121Reputation: 121
You've enabled the "libata" module, right? Can we see an output from "lsmod"?
 
Old 02-01-2007, 10:23 PM   #4
brooky9999
Member
 
Registered: May 2006
Location: Marlow, UK
Distribution: Slackware 12.2
Posts: 232

Original Poster
Rep: Reputation: 30
Hi Quakeboy02,

I think so. I'm using the Nvidia SATA drivers under the SCSI sub-section, which I think is libata.

I can't give you an lsmod from the 2.6.18.5 kernel (as it won't load), but under 2.4.31 I get:

Code:
ide-scsi        9392          0
sk98lin         141768        1
If I try to boot 2.6.18.5, I get errors about IRQ assignment and to check with the vendor - but it goes really quickly and the kernel then panics. I can't scroll up as the machine then becomes non-responsive. As the root partition doesn't load, nothing gets written to dmesg or /var/log/messages.

I'm not sure the issue is surrounding which SATA driver to use, but more the fact that it can't access the SATA hardware due to some messing around with the IRQs.

Any ideas?


M
 
Old 02-01-2007, 10:50 PM   #5
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
Maybe
append="noirqdebug"

in your lilo.conf (just below the linux part, below read only) might work
 
Old 02-01-2007, 11:12 PM   #6
brooky9999
Member
 
Registered: May 2006
Location: Marlow, UK
Distribution: Slackware 12.2
Posts: 232

Original Poster
Rep: Reputation: 30
Duryodhan,

Thanks for your reply... but sadly it didn't make any difference :-(



M.
 
Old 02-01-2007, 11:15 PM   #7
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,245

Rep: Reputation: 121Reputation: 121
"I can't give you an lsmod from the 2.6.18.5 kernel (as it won't load), but under 2.4.31 I get:"

Oh, duh. Sorry about that. (insert red-faced emoticon here).

They changed things around when they went from 2.4 to 2.6, so you can't really rely on what used to work. I have an Asus A7N8X mobo, but I'm not booting from SATA. But, I do have a SATA disk hooked up to it. The only two modules that seem to be needed are libata and sata_nv. Have you tried booting a livecd and see what things look like? That would probably be my next step.
 
Old 02-02-2007, 08:17 PM   #8
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Rep: Reputation: 30
I hate to resort to 'reinstall with' but I had a terrible time getting Slack11 to install on my SATA hd using sata.i, when I switched to huge26.s everything worked fine.

I have seen at least one other person report similar troubles that were resolved by re-installing with huge26.

what does lilo.conf look like? One of the problems I had was that for some reason sata.i during installation wrote my lilo.conf and fstab referencing hdaX instead of sdaX.
 
Old 02-03-2007, 12:01 AM   #9
hyphae
Member
 
Registered: Jan 2007
Location: Atlanta
Distribution: Slack 11
Posts: 46

Rep: Reputation: 15
Me and you both buddy. Slack is my first distribution of linux, except for a SuSE introduction for about 3 weeks which was soon ditched for the light.

Yeah man, I keep getting the same error, yet I will admit, I am having slightly more success. I got my kernel recompiled and bootable, everything works, with 2.6.17.13; however, I downlaoded kernel 2.6.12.2 because I became aware it's a known version that'll work with my ATI proprietary drivers. Also, the patches available are, i think, only available for a couple versions of the 2.6 kernel. Anyway, here i am trying to figure this out, going over and over this menuconfiguration thing, trying to sort out the whack junk that doesn't need to be there and what does. I got the idea not too long ago about booting into 2.6.17.13 and viewing the .config file from menuconfig before, and compare. If I can do something to help ya, let me know. Want me to try and post my whole .config?

I, too, have an Asus motherboard. I have a Seagate baracooda SATA hard drive, just one - not two. It's not on IDE, that wide, thin gray connector. But eyah, I somehow got it to work. My motherboard is a P4C800 Deluxe. Lemme know if there's some sort of command I can output for ya.

Cheers, we might get through this together
 
Old 02-03-2007, 01:14 PM   #10
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
I too would recommend trying huge26.s. Note that you don't need to reinstall everything to install the kernel.
 
Old 02-04-2007, 03:51 PM   #11
brooky9999
Member
 
Registered: May 2006
Location: Marlow, UK
Distribution: Slackware 12.2
Posts: 232

Original Poster
Rep: Reputation: 30
Well I'm stuck. I don't want to move to Slackware 11 just yet, and I certainly don't want to use the huge26 kernel... I love having a lean, mean, killing kernel.

I think I'm going to have to turn everything on regarding IRQ assignment in the kernel, get it working, and then start removing stuff... :-(
 
Old 02-05-2007, 12:24 PM   #12
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Rep: Reputation: 30
@hyphae - you can use xorgconfig instead and get nice explanations for kernel options.

@brooky999 - I dont mean to run huge26.s forever, just until you get your own kernel working.

H_TeXMeX_H is right, you dont need to reinstall everything, but using the huge26.s until you get everything up and running is not too bad.

Can you post your .config, fstab and lilo.conf files? I don't have the same motherboard but I am running my own sata kernel and would gladly look to compare with yours..
 
Old 02-05-2007, 01:45 PM   #13
brooky9999
Member
 
Registered: May 2006
Location: Marlow, UK
Distribution: Slackware 12.2
Posts: 232

Original Poster
Rep: Reputation: 30
Hiya all,

Thanks for taking the time to reply.

It's all working now. I've downloaded 2.6.20 and compiled a new kernel straight from scratch... and all is well.

I'm not always happy with this type of solution, as you don't know what fixed what.

But hey, it's all working now and that's the main point.

Many thanks,


M.
 
Old 02-05-2007, 01:55 PM   #14
pnellesen
Member
 
Registered: Oct 2004
Location: Missouri, USA
Distribution: Slackware 12.2, Xubuntu 9.10
Posts: 371

Rep: Reputation: 31
This isn't directly Slackware related, but I believe there's a boot option "pci=nomsi" that you can use to enable SATA drives to be seen properly. I do know I needed this for a recent openSUSE 10.2 install I did on a brand-new Dell laptop with a SATA 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
Slack 10.2 slack 10.2 ran xserver after all on sata with via board devafree LinuxQuestions.org Member Success Stories 5 05-31-2006 12:54 AM
Slack 10.1 will a Slack 10 Wine pkg work? acummings Slackware 1 03-25-2005 05:55 AM
RH9 and SATA - Kernel 2.4.27 - how to get SATA to work? rolf_mueller Linux - Hardware 5 10-30-2004 09:30 PM
Special problem with Via sata and slack 10 ssobeht Slackware - Installation 0 07-03-2004 08:04 AM
Slack and SATA trey85stang Slackware 7 02-13-2004 12:05 AM


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