Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mac book second generation - kernel panic - not syncing
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mr.gizm0
n00b
n00b


Joined: 01 Sep 2007
Posts: 3

PostPosted: Sat Sep 01, 2007 11:21 pm    Post subject: Mac book second generation - kernel panic - not syncing Reply with quote

Hey all, I've tried to set up gentoo-current on my mac book, I used the minimal cd, I've been following along with the gentoo hand book
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml and also the wiki page for gentoo on a mac book http://gentoo-wiki.com/HARDWARE_Apple_MacBook

Please note this is my first time I have attempted to install gentoo (and got this far).

my problem is I can't get the system to get past the below output:

Code:

List of all partitions:

0300 514048 hda driver: ide-cdrom
0800 58605120 sda driveR: sd

0801 204800 sda1
0802 29360128 sda2
0803 28909080 sda3

No filesystem could mount root, tried: reiserfs ext3 vfat iso9660 hfsplus fuseblk udf
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,3)



I have included a copy of my fstab

Code:

livecd / # cat /etc/fstab
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# <fs>                  <mountpoint>    <type>          <opts>          <dump/pa                       ss>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda3               /boot           ext2            noauto,noatime  1 2
/dev/sda4               /               ext3            noatime         0 1
/dev/cdrom              /mnt/cdrom      audo            noauto,ro       0 0
procs                   /proc           proc            defaults        0 0
#/dev/fd0               /mnt/floppy     auto            noauto          0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
shm                     /dev/shm        tmpfs           nodev,nosuid,noexec    0                        0



Here is my fdisk /dev/sda output
Code:


Disk /dev/sda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1          26      204819+  ee  EFI GPT
/dev/sda2              26        3681    29360128   af  Unknown
/dev/sda3   *        3681        3685       34814+  83  Linux
/dev/sda4            3686        7296    29005357+  83  Linux


/dev/sda3 is my boot partition and /dev/sda4 is my root partition

My lilo config file is below:
Code:

livecd / # cat /etc/lilo.conf
#
# Global LILO settings
#
boot=/dev/sda3
timeout=5
default=gentoo
#
# Kernel specific LILO settings
#
image=/boot/vmlinuz-2.6.22-gentoo-r5-mactel-mactelpatches-macbook-core2duo
initrd = /boot/initrd.img
#
# Uncomment the next line if your MacBook locks up
# during boot with an APIC-related error message
# or if you see strange keyboard problems (double-chars).
#
#append="noapic acpi=force irqpoll"
label=gentoo
read-only
root=/dev/sda4



finally, here is my .config that I used to configure my kernel.
I have uploaded it to paste bin because this post was too long when it was included
http://pastebin.com/f2cccbba4

The kernel version I compiled was 2.6.22, I obtained this by issuing
emerge gentoo-sources.

I then applied the mactel patches.
I have also tried to disable ATA/ATAPI/MFM/RLL support as per a thread I found on this site regarding SATA. This resulted in the same error as before.

My root partition is ext3 and my boot partition is ext2.

I'd appreciate any help you people can offer. Thanks for reading my thread and thanks for your help.

mr.gizm0
Back to top
View user's profile Send private message
usera10
n00b
n00b


Joined: 30 Aug 2007
Posts: 6

PostPosted: Sun Sep 02, 2007 12:21 am    Post subject: Reply with quote

I have hit similar problem before when I chose compatibility mode for SATA in Bios. The problem went away if I enabled AHCI in Bios. Not sure if it relates to your problem since I wasn't using a mac....
Back to top
View user's profile Send private message
mr.gizm0
n00b
n00b


Joined: 01 Sep 2007
Posts: 3

PostPosted: Sun Sep 02, 2007 12:52 am    Post subject: Reply with quote

theres a line in the .config file called
Code:
CONFIG_SATA_AHCI

in my .config it's set to
Code:

# CONFIG_SATA_AHCI is not set


I'll try enabling it and see what happens, I'll post the results back here.

Thanks for your input.
Back to top
View user's profile Send private message
mr.gizm0
n00b
n00b


Joined: 01 Sep 2007
Posts: 3

PostPosted: Sun Sep 02, 2007 1:47 am    Post subject: Reply with quote

Ok I tried it out and all I get on the screen is a bunch of 99's when it boots up.
I guess that wasn't it.

Edit, I got rid of the 99's by adding lilo to the mbr again, I've also tried editing the SATA section of my kernel to this
Code:

# SCSI device support
#
# CONFIG_RAID_ATTRS is not set
CONFIG_SCSI=y
# CONFIG_SCSI_TGT is not set
# CONFIG_SCSI_NETLINK is not set
CONFIG_SCSI_PROC_FS=y

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=y
# CONFIG_BLK_DEV_SR_VENDOR is not set
CONFIG_CHR_DEV_SG=y
# CONFIG_CHR_DEV_SCH is not set

#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
#
# CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_CONSTANTS is not set
# CONFIG_SCSI_LOGGING is not set
# CONFIG_SCSI_SCAN_ASYNC is not set
CONFIG_SCSI_WAIT_SCAN=m

#
# SCSI Transports
#
# CONFIG_SCSI_SPI_ATTRS is not set
# CONFIG_SCSI_FC_ATTRS is not set
# CONFIG_SCSI_ISCSI_ATTRS is not set
# CONFIG_SCSI_SAS_ATTRS is not set
# CONFIG_SCSI_SAS_LIBSAS is not set

#
# SCSI low-level drivers
#
# CONFIG_ISCSI_TCP is not set
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
# CONFIG_SCSI_3W_9XXX is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AACRAID is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_AIC94XX is not set
# CONFIG_SCSI_DPT_I2O is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_ARCMSR is not set
# CONFIG_MEGARAID_NEWGEN is not set
# CONFIG_MEGARAID_LEGACY is not set
# CONFIG_MEGARAID_SAS is not set
# CONFIG_SCSI_HPTIOP is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_STEX is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_IPR is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_QLA_FC is not set
# CONFIG_SCSI_QLA_ISCSI is not set
# CONFIG_SCSI_LPFC is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_NSP32 is not set
# CONFIG_SCSI_DEBUG is not set
# CONFIG_SCSI_SRP is not set
CONFIG_ATA=y
# CONFIG_ATA_NONSTANDARD is not set
CONFIG_ATA_ACPI=y
CONFIG_SATA_AHCI=y
# CONFIG_SATA_SVW is not set
CONFIG_ATA_PIIX=y
# CONFIG_SATA_MV is not set
# CONFIG_SATA_NV is not set
# CONFIG_PDC_ADMA is not set
# CONFIG_SATA_QSTOR is not set
# CONFIG_SATA_PROMISE is not set
# CONFIG_SATA_SX4 is not set
# CONFIG_SATA_SIL is not set
# CONFIG_SATA_SIL24 is not set
# CONFIG_SATA_SIS is not set
# CONFIG_SATA_ULI is not set
# CONFIG_SATA_VIA is not set
# CONFIG_SATA_VITESSE is not set
# CONFIG_SATA_INIC162X is not set
# CONFIG_PATA_ALI is not set
# CONFIG_PATA_AMD is not set
# CONFIG_PATA_ARTOP is not set
# CONFIG_PATA_ATIIXP is not set
# CONFIG_PATA_CMD640_PCI is not set
# CONFIG_PATA_CMD64X is not set
# CONFIG_PATA_CS5520 is not set
# CONFIG_PATA_CS5530 is not set
# CONFIG_PATA_CS5535 is not set
# CONFIG_PATA_CYPRESS is not set
# CONFIG_PATA_EFAR is not set
# CONFIG_ATA_GENERIC is not set
# CONFIG_PATA_HPT366 is not set
# CONFIG_PATA_HPT37X is not set
# CONFIG_PATA_HPT3X2N is not set
# CONFIG_PATA_HPT3X3 is not set
# CONFIG_PATA_IT821X is not set
# CONFIG_PATA_IT8213 is not set
# CONFIG_PATA_JMICRON is not set
# CONFIG_PATA_TRIFLEX is not set
# CONFIG_PATA_MARVELL is not set
# CONFIG_PATA_MPIIX is not set
# CONFIG_PATA_OLDPIIX is not set
# CONFIG_PATA_NETCELL is not set
# CONFIG_PATA_NS87410 is not set
# CONFIG_PATA_OPTI is not set
# CONFIG_PATA_OPTIDMA is not set
# CONFIG_PATA_PDC_OLD is not set
# CONFIG_PATA_RADISYS is not set
# CONFIG_PATA_RZ1000 is not set
# CONFIG_PATA_SC1200 is not set
# CONFIG_PATA_SERVERWORKS is not set
# CONFIG_PATA_PDC2027X is not set
# CONFIG_PATA_SIL680 is not set
# CONFIG_PATA_SIS is not set
# CONFIG_PATA_VIA is not set
# CONFIG_PATA_WINBOND is not set

and disabling IDE complete, still no joy, it asks me to appened the correct root= now and I still get the kernel panic.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum