LinuxQuestions.org
Help answer threads with 0 replies.
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-19-2007, 10:55 AM   #1
spaceballs
Member
 
Registered: Jan 2005
Location: Dallas, TX
Distribution: Slackware-current
Posts: 248

Rep: Reputation: 30
DMA...SATA...Laptop problems


I am having some problems getting everything together on my shiny new Dell XPS M1210 Laptop. Most of it stems from DMA's inability to work and my inability to get my SATA drive in there.

Can anyone tell me specifically which kernel parameters I need in there to get this SATA hard drive found?

I have an Intel 82801 Serial Ata storage controller IDE, according to lspci.

When I get into fstab and lilo and append hda=noprobe and manually set the HD as an sda device, I get a kernel panic. When I boot off of the slackware disc and use the sata.i kernel, it works. However, I need to use a 2.6 kernel. This leads me to believe that I don't have the proper SATA configuration in my kernel configuration before I compile. Can anyone help me?
 
Old 02-19-2007, 11:38 AM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,203
Blog Entries: 3

Rep: Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433
Hi,

You should try the huge26 kernel. That kernel has the filesystems and drivers for most of the popular equipment.

The RELEASE_NOTES for Slackware 11 would be a good place to look for some useful information.
 
Old 02-19-2007, 12:14 PM   #3
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Rep: Reputation: 30
@spaceballs- I had similar troubles trying to use sata.i as my default Slack11 kernel. I could install and everything was hunky dory but when I'd look in fstab and lilo.conf my HD was listed as "/dev/hda" - is this what you're seeing?

If so I echo huge26.s kernel, my sequence to fix it went something like this:

1- copy huge26.s and edit lilo (change all hda's to sda's and so on...)
2- edit fstab (& mtab?) as needed (i.e. if they still say 'dev/hda')
3- run lilo
4- reboot

I actually never edited mtab, didnt think of that until now. But the above seemed to get me past the kernel panic, and then of course I was free to compile my own kernel.

When you say you're getting kernel panic, is that with your own kernel? Or is it with the sata.i? If its your own kernel it may be simple as something not compiled in.

If so I can post my .config and you can compare (I have a dell latitude w/sata - not so shiny as yours but could be a good starting point )

-btw- I think the reason sata.i is working from the Slack disk is (maybe)it makes an initrd that includes support for your sata controller. You may be able to try going that route too, but I prefer to compile in support for my HD. (I NU-B so can't make initrd that works )

Last edited by bioe007; 02-19-2007 at 12:17 PM.
 
Old 02-19-2007, 01:46 PM   #4
spaceballs
Member
 
Registered: Jan 2005
Location: Dallas, TX
Distribution: Slackware-current
Posts: 248

Original Poster
Rep: Reputation: 30
I am getting this with the kernel that I compiled. It is a newer laptop, and a lot of the drivers on it don't seem to work with the 2.4. I get a kernel panic when I use the "factory" kernel huge26.s, but not when I use the sata.i.

I found a config file on the internet that seems to work very well. Here is the link.

Last edited by spaceballs; 02-19-2007 at 02:03 PM.
 
Old 02-19-2007, 03:11 PM   #5
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Rep: Reputation: 30
Quote:
Originally Posted by spaceballs
I found a config file on the internet that seems to work very well
so did it fix your problem?

checked and I too have the 82801G intel sata controller.

I skimmed using ctrl+F for sata in that .config and it looks like everything under the sun for SATA is a 'y'

An obvious question: is your filesystem compiled in to your custom kernels?

I notice in the link you provide the .config has this built:

Code:
#
# File systems
#
CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
# CONFIG_EXT2_FS_XIP is not set
# CONFIG_EXT3_FS is not set
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
CONFIG_FS_POSIX_ACL=y
# CONFIG_XFS_FS is not set
# CONFIG_OCFS2_FS is not set
# CONFIG_MINIX_FS is not set
CONFIG_ROMFS_FS=m
CONFIG_INOTIFY=y
CONFIG_QUOTA=y
CONFIG_QFMT_V1=m
CONFIG_QFMT_V2=m
CONFIG_QUOTACTL=y
CONFIG_DNOTIFY=y
CONFIG_AUTOFS_FS=m
CONFIG_AUTOFS4_FS=m
CONFIG_FUSE_FS=m
which I think means unless you are using ext2 exclusively then you'll never be able to boot. Unless your root directory is ext2. But if you're other partitions are ext3 or reiserfs they wouldn't be accessible.

my .config has this ( I use ext2 on /boot and ext3 everywhere else):

Code:
#
# File systems
#
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT2_FS_POSIX_ACL=y
# CONFIG_EXT2_FS_SECURITY is not set
# CONFIG_EXT2_FS_XIP is not set
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
# CONFIG_EXT3_FS_SECURITY is not set
# CONFIG_EXT4DEV_FS is not set
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_FS_MBCACHE=y
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
CONFIG_FS_POSIX_ACL=y
# CONFIG_XFS_FS is not set
# CONFIG_GFS2_FS is not set
# CONFIG_OCFS2_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_ROMFS_FS is not set
CONFIG_INOTIFY=y
CONFIG_INOTIFY_USER=y
# CONFIG_QUOTA is not set
CONFIG_DNOTIFY=y
# CONFIG_AUTOFS_FS is not set
CONFIG_AUTOFS4_FS=y
# CONFIG_FUSE_FS is not set
CONFIG_GENERIC_ACL=y
stretching my knowledge here:

- your link has fs support ONLY for ext2
- if you use any other fs on your HD then you'll always get kernel panic

So please reply w/filesystems you are using, if its only ext2 you have then it must be a different problem.
 
Old 02-19-2007, 03:31 PM   #6
spaceballs
Member
 
Registered: Jan 2005
Location: Dallas, TX
Distribution: Slackware-current
Posts: 248

Original Poster
Rep: Reputation: 30
I did catch that in their installation and I did compile in support for reiserfs and ext3. I still think of myself as a n00b, but I did get that one right. What I am trying now is ditching that installation and using the huge26.s kernel. I think that I can get it to work if I specify in fstab and lilo that I am using sda instead of hda.
 
Old 02-19-2007, 03:52 PM   #7
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Rep: Reputation: 30
Quote:
Originally Posted by spaceballs
I still think of myself as a n00b...
me too

Quote:
Originally Posted by spaceballs
ditching that installation and using the huge26.s kernel.
after i did the fix I listed above I ended up doing this too, and everything worked great thereafter.
 
Old 02-19-2007, 04:35 PM   #8
spaceballs
Member
 
Registered: Jan 2005
Location: Dallas, TX
Distribution: Slackware-current
Posts: 248

Original Poster
Rep: Reputation: 30
What I did was booted from the disk and used the huge26.s config file to build my own kernel. I made no modifications to the config. Then I did the usual stuff, rebooted, and it panicked again. It still can't find the root drive. What am I doing wrong? Is there something else that I should be throwing in there? I thought that I have all of the SATA stuff in there and I know that I have support for reiserfs and ext3, the two file systems that I am using. Help?
 
Old 02-19-2007, 04:47 PM   #9
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
Can you post exactly what is says before it panics ?
 
Old 02-19-2007, 05:43 PM   #10
spaceballs
Member
 
Registered: Jan 2005
Location: Dallas, TX
Distribution: Slackware-current
Posts: 248

Original Poster
Rep: Reputation: 30
These are the last three lines:
VFS: Cannot open root device "803" or unknown-block(8,3)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-blocl(8,3)

Usually, I see this error when I haven't compiled in support for the right file system. However, here I know that I have. The only reason that I think that it could possibly panic is because it isn't picking up the SATA drive. Does that sound right? This one is really stumping me.
 
Old 02-19-2007, 05:59 PM   #11
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
Well then do what it says and 'Please append a correct "root=" boot option'.

If you have filesystem support built in there is no reason for it to fail (other than something funky going on with SATA).
 
Old 02-19-2007, 06:11 PM   #12
spaceballs
Member
 
Registered: Jan 2005
Location: Dallas, TX
Distribution: Slackware-current
Posts: 248

Original Poster
Rep: Reputation: 30
There is something funky going on with SATA. I have a correctly appended boot option. My root is /dev/sda3 in practice and in LiLo. Is there a proprietary driver for this intel mainboard that I don't know about?
 
Old 02-19-2007, 07:15 PM   #13
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
Well, I see that you can boot with sata.i and not huge26.s, so I recommend booting with sata.i, downloading the newest kernel source, and building your own kernel. (Might wanna check the config on that sata.i kernel ... if that works then it's something in there that makes it work)

They say that many SATA issues in 2.6.x kernels are solved by newer kernel versions. However, I bet (not too much money) if you do 'make oldconfig' using the sata.i config and the slackware 2.6.17.13 kernel source, it'll work ... unless, of course, there is a problem with this specific kernel ... that's rare.

Last edited by H_TeXMeX_H; 02-19-2007 at 07:20 PM.
 
Old 02-19-2007, 08:13 PM   #14
spaceballs
Member
 
Registered: Jan 2005
Location: Dallas, TX
Distribution: Slackware-current
Posts: 248

Original Poster
Rep: Reputation: 30
I tried that a while back, too. This leads me to believe that there is a module or a driver that I need to download. I will keep at it, but that is what I did. Thanks.
 
Old 02-19-2007, 08:21 PM   #15
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,245

Rep: Reputation: 121Reputation: 121
Did you try using the config file for the sata.i kernel to make your new kernel? You did run make menuconfig and make sure that SATA and your controller under SATA were enabled, right?

Last edited by Quakeboy02; 02-19-2007 at 08:23 PM.
 
  


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
SATA drives and DMA SilverEagle Linux - Hardware 6 10-11-2007 09:39 AM
sata dma problem matrixon Linux - Software 2 02-01-2006 08:03 AM
SATA drive != DMA CyberIron Linux - Hardware 6 10-05-2005 06:05 PM
sata segate dma problems...still talkinggoat Linux - Hardware 1 02-14-2004 05:34 PM
SATA compatibility with DMA support Mad Merlin Linux - Hardware 2 01-30-2004 04:44 PM


All times are GMT -5. The time now is 11:19 PM.

Main Menu
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