public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: James Ausmus <james.ausmus@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] can't stop the panic on eeepc
Date: Wed, 6 May 2009 16:56:52 -0700	[thread overview]
Message-ID: <b79f23070905061656h57819593ud1fb071f75d246ba@mail.gmail.com> (raw)
In-Reply-To: <53673.4294.qm@web31606.mail.mud.yahoo.com>

[-- Attachment #1: Type: text/plain, Size: 4509 bytes --]

On Wed, May 6, 2009 at 4:38 PM, maxim wexler <blissfix@yahoo.com> wrote:

>
> > # CONFIG_BLK_DEV_IDE_SATA is not set
>
> deprecated, possible conflict but I set it anyway
>
> > # CONFIG_SATA_AHCI is not set
>
> doubtful if I need it but set it anyway
>
> > # CONFIG_SATA_PMP is not set
>
> definitely nothing to do with my system, didn't set it.
>
> >
> > Not sure, anyway, try it...
> >
>
> Still panics! Same place, same message.
>
> Guess I'll try that initrd thing next.


If you're building all of your drivers into the kernel statically (=y/*) and
not as modules (=m), then using an initrd will not help you in the least -
it is only useful in a situation like this when you need additional
"modularized" drivers loaded before the kernel will see your rootfs.

How did you initially get your Gentoo install on there - what did you boot -
CD or USB? You should be able to boot that medium again, then check to see
what driver it is using for the drive controller. I'm sure there's a more
direct way to do this, but here is how I can easily find the info:

cd /sys/block
ls -al
(should show something like):


total 0
drwxr-xr-x  2 root root 0 May  6 16:48 .
drwxr-xr-x 12 root root 0 Apr 22 10:49 ..
lrwxrwxrwx  1 root root 0 May  6 16:51 fd0 ->
../devices/platform/floppy.0/block/fd0
lrwxrwxrwx  1 root root 0 May  6 16:51 loop0 ->
../devices/virtual/block/loop0
lrwxrwxrwx  1 root root 0 May  6 16:51 loop1 ->
../devices/virtual/block/loop1
lrwxrwxrwx  1 root root 0 May  6 16:51 loop2 ->
../devices/virtual/block/loop2
lrwxrwxrwx  1 root root 0 May  6 16:51 loop3 ->
../devices/virtual/block/loop3
lrwxrwxrwx  1 root root 0 May  6 16:51 loop4 ->
../devices/virtual/block/loop4
lrwxrwxrwx  1 root root 0 May  6 16:51 loop5 ->
../devices/virtual/block/loop5
lrwxrwxrwx  1 root root 0 May  6 16:51 loop6 ->
../devices/virtual/block/loop6
lrwxrwxrwx  1 root root 0 May  6 16:51 loop7 ->
../devices/virtual/block/loop7
lrwxrwxrwx  1 root root 0 May  6 16:51 ram0 -> ../devices/virtual/block/ram0
lrwxrwxrwx  1 root root 0 May  6 16:51 ram1 -> ../devices/virtual/block/ram1
lrwxrwxrwx  1 root root 0 May  6 16:51 ram10 ->
../devices/virtual/block/ram10
lrwxrwxrwx  1 root root 0 May  6 16:51 ram11 ->
../devices/virtual/block/ram11
lrwxrwxrwx  1 root root 0 May  6 16:51 ram12 ->
../devices/virtual/block/ram12
lrwxrwxrwx  1 root root 0 May  6 16:51 ram13 ->
../devices/virtual/block/ram13
lrwxrwxrwx  1 root root 0 May  6 16:51 ram14 ->
../devices/virtual/block/ram14
lrwxrwxrwx  1 root root 0 May  6 16:51 ram15 ->
../devices/virtual/block/ram15
lrwxrwxrwx  1 root root 0 May  6 16:51 ram2 -> ../devices/virtual/block/ram2
lrwxrwxrwx  1 root root 0 May  6 16:51 ram3 -> ../devices/virtual/block/ram3
lrwxrwxrwx  1 root root 0 May  6 16:51 ram4 -> ../devices/virtual/block/ram4
lrwxrwxrwx  1 root root 0 May  6 16:51 ram5 -> ../devices/virtual/block/ram5
lrwxrwxrwx  1 root root 0 May  6 16:51 ram6 -> ../devices/virtual/block/ram6
lrwxrwxrwx  1 root root 0 May  6 16:51 ram7 -> ../devices/virtual/block/ram7
lrwxrwxrwx  1 root root 0 May  6 16:51 ram8 -> ../devices/virtual/block/ram8
lrwxrwxrwx  1 root root 0 May  6 16:51 ram9 -> ../devices/virtual/block/ram9
lrwxrwxrwx  1 root root 0 May  6 16:51 sda ->
../devices/pci0000:00/0000:00:1f.2/host2/target2:0:0/2:0:0:0/block/sda
lrwxrwxrwx  1 root root 0 May  6 16:51 sdb ->
../devices/pci0000:00/0000:00:1f.2/host3/target3:0:0/3:0:0:0/block/sdb
lrwxrwxrwx  1 root root 0 May  6 16:51 sdc ->
../devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3:1.0/host83/target83:0:0/83:0:0:0/block/sdc
lrwxrwxrwx  1 root root 0 May  6 16:51 sr0 ->
../devices/pci0000:00/0000:00:1f.1/host0/target0:0:0/0:0:0:0/block/sr0


Find your hard drive (let's use sda as the example here), and cd into the
link up to the hostX part:

cd ../devices/pci0000:00/0000:00:1f.2/
ls -al driver
(should show something like)
lrwxrwxrwx 1 root root 0 May  6 16:49 driver ->
../../../bus/pci/drivers/ata_piix

From this I can tell that it is the "ata_piix" driver that is used for the
controller that my sda disk is connected to. From there you can modify your
kernel config to include the correct driver (compiled statically, I'd
recommend, for your root device at least), and then you should be good to
go.


HTH-

-James



>
> mw
>
>
>      __________________________________________________________________
> Connect with friends from any web browser - no download required. Try the
> new Yahoo! Canada Messenger for the Web BETA at
> http://ca.messenger.yahoo.com/webmessengerpromo.php
>
>

[-- Attachment #2: Type: text/html, Size: 5552 bytes --]

  reply	other threads:[~2009-05-06 23:56 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-06 23:38 [gentoo-user] can't stop the panic on eeepc maxim wexler
2009-05-06 23:56 ` James Ausmus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-05-06 19:51 maxim wexler
2009-05-06 20:15 ` Daniel da Veiga
2009-05-06 20:41 ` Masood Ahmed
2009-05-07 16:37   ` Dirk Heinrichs
2009-05-07 16:48     ` Saphirus Sage
2009-05-07 16:52       ` Dirk Heinrichs
2009-05-07 19:37       ` Alan McKinnon
2009-05-07 20:46         ` Dirk Heinrichs
2009-05-07 20:53           ` Alan McKinnon
2009-05-07 21:00             ` Volker Armin Hemmann
2009-05-07 21:16               ` Alan McKinnon
2009-05-07 21:34                 ` Neil Bothwick
2009-05-07 21:42                   ` Alan McKinnon
2009-05-08 17:04             ` Dirk Heinrichs
2009-05-08 17:17               ` Daniel da Veiga
2009-05-08 20:58                 ` Dirk Heinrichs
2009-05-08 21:12                   ` Neil Bothwick
2009-05-08 21:23                     ` Dirk Heinrichs
2009-05-09 10:20                   ` Stroller
2009-05-07 16:35 ` Dirk Heinrichs
2009-05-06 17:11 maxim wexler
2009-05-06 17:18 ` Daniel da Veiga
2009-05-06 17:42 ` Dirk Heinrichs
2009-05-06  4:31 maxim wexler
2009-05-06 13:46 ` Daniel da Veiga
2009-05-06 14:03   ` Neil Bothwick
2009-05-06 14:13     ` Daniel da Veiga
2009-05-05 23:23 maxim wexler
2009-05-05 23:56 ` Daniel da Veiga
2009-05-06  7:53 ` Neil Bothwick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b79f23070905061656h57819593ud1fb071f75d246ba@mail.gmail.com \
    --to=james.ausmus@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox