Re: [gentoo-ppc-user] Compile error on IDE Power Mac driver

2005-11-07 Thread Gerardo Lisboa
Hi,

Have you a separate boot partition using a ext2 fs?

I found that to be the best way to boot using yaboot.

I don't use it mounted on boot time but it is on fstab as /boot.

The root fs is then anything you compiled statically on the kernel (or
the initrd supports).

Best luck.
G.

2005/11/7, Charles Trois [EMAIL PROTECTED]:
 Michael Hanselmann a écrit :
 
  You should set CONFIG_BLK_DEV_IDEDMA_PCI, see drivers/ide/ide-dma.c.
 
 Thanks. I did that and the kernel compiled without trouble, but, at
 boot, I still get the error cannot open root device. However, there is
   a difference: whereas the message said unknown-block(0,0), it now
 says  unknown-block(3,15). So it would seem that the device numbers
 have changed.

 The result is the same, whether config BLK_DEV_IDE_PMAC_ATA100FIRST is
 on or not.

 I take the liberty to attach a copy of my .config and yaboot.conf files
 for your inspection.

 Charles


 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12-gentoo-r6
 # Mon Nov  7 12:08:15 2005
 #
 CONFIG_MMU=y
 CONFIG_GENERIC_HARDIRQS=y
 CONFIG_RWSEM_XCHGADD_ALGORITHM=y
 CONFIG_GENERIC_CALIBRATE_DELAY=y
 CONFIG_HAVE_DEC_LOCK=y
 CONFIG_PPC=y
 CONFIG_PPC32=y
 CONFIG_GENERIC_NVRAM=y
 CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y

 #
 # Code maturity level options
 #
 CONFIG_EXPERIMENTAL=y
 CONFIG_CLEAN_COMPILE=y
 CONFIG_BROKEN_ON_SMP=y
 CONFIG_INIT_ENV_ARG_LIMIT=32

 #
 # General setup
 #
 CONFIG_LOCALVERSION=
 CONFIG_SWAP=y
 CONFIG_SYSVIPC=y
 CONFIG_POSIX_MQUEUE=y
 CONFIG_BSD_PROCESS_ACCT=y
 # CONFIG_BSD_PROCESS_ACCT_V3 is not set
 CONFIG_SYSCTL=y
 # CONFIG_AUDIT is not set
 CONFIG_HOTPLUG=y
 CONFIG_KOBJECT_UEVENT=y
 CONFIG_IKCONFIG=y
 CONFIG_IKCONFIG_PROC=y
 # CONFIG_EMBEDDED is not set
 CONFIG_KALLSYMS=y
 # CONFIG_KALLSYMS_EXTRA_PASS is not set
 CONFIG_PRINTK=y
 CONFIG_BUG=y
 CONFIG_BASE_FULL=y
 CONFIG_FUTEX=y
 CONFIG_EPOLL=y
 CONFIG_SHMEM=y
 CONFIG_CC_ALIGN_FUNCTIONS=0
 CONFIG_CC_ALIGN_LABELS=0
 CONFIG_CC_ALIGN_LOOPS=0
 CONFIG_CC_ALIGN_JUMPS=0
 # CONFIG_TINY_SHMEM is not set
 CONFIG_BASE_SMALL=0

 #
 # Loadable module support
 #
 CONFIG_MODULES=y
 CONFIG_MODULE_UNLOAD=y
 # CONFIG_MODULE_FORCE_UNLOAD is not set
 CONFIG_OBSOLETE_MODPARM=y
 # CONFIG_MODVERSIONS is not set
 # CONFIG_MODULE_SRCVERSION_ALL is not set
 CONFIG_KMOD=y

 #
 # Processor
 #
 CONFIG_6xx=y
 # CONFIG_40x is not set
 # CONFIG_44x is not set
 # CONFIG_POWER3 is not set
 # CONFIG_POWER4 is not set
 # CONFIG_8xx is not set
 # CONFIG_E500 is not set
 CONFIG_PPC_FPU=y
 CONFIG_ALTIVEC=y
 # CONFIG_TAU is not set
 # CONFIG_CPU_FREQ is not set
 # CONFIG_PPC601_SYNC_FIX is not set
 # CONFIG_PM is not set
 CONFIG_PPC_STD_MMU=y

 #
 # Platform options
 #
 CONFIG_PPC_MULTIPLATFORM=y
 # CONFIG_APUS is not set
 # CONFIG_KATANA is not set
 # CONFIG_WILLOW is not set
 # CONFIG_CPCI690 is not set
 # CONFIG_PCORE is not set
 # CONFIG_POWERPMC250 is not set
 # CONFIG_CHESTNUT is not set
 # CONFIG_SPRUCE is not set
 # CONFIG_HDPU is not set
 # CONFIG_EV64260 is not set
 # CONFIG_LOPEC is not set
 # CONFIG_MCPN765 is not set
 # CONFIG_MVME5100 is not set
 # CONFIG_PPLUS is not set
 # CONFIG_PRPMC750 is not set
 # CONFIG_PRPMC800 is not set
 # CONFIG_SANDPOINT is not set
 # CONFIG_RADSTONE_PPC7D is not set
 # CONFIG_ADIR is not set
 # CONFIG_K2 is not set
 # CONFIG_PAL4 is not set
 # CONFIG_GEMINI is not set
 # CONFIG_EST8260 is not set
 # CONFIG_SBC82xx is not set
 # CONFIG_SBS8260 is not set
 # CONFIG_RPX8260 is not set
 # CONFIG_TQM8260 is not set
 # CONFIG_ADS8272 is not set
 # CONFIG_PQ2FADS is not set
 # CONFIG_LITE5200 is not set
 # CONFIG_MPC834x_SYS is not set
 CONFIG_PPC_CHRP=y
 CONFIG_PPC_PMAC=y
 CONFIG_PPC_PREP=y
 CONFIG_PPC_OF=y
 CONFIG_PPCBUG_NVRAM=y
 # CONFIG_SMP is not set
 # CONFIG_PREEMPT is not set
 # CONFIG_HIGHMEM is not set
 CONFIG_BINFMT_ELF=y
 CONFIG_BINFMT_MISC=y
 CONFIG_PROC_DEVICETREE=y
 # CONFIG_PREP_RESIDUAL is not set
 # CONFIG_CMDLINE_BOOL is not set
 CONFIG_ISA_DMA_API=y

 #
 # Bus options
 #
 # CONFIG_ISA is not set
 CONFIG_GENERIC_ISA_DMA=y
 CONFIG_PCI=y
 CONFIG_PCI_DOMAINS=y
 # CONFIG_PCI_LEGACY_PROC is not set
 # CONFIG_PCI_NAMES is not set

 #
 # PCCARD (PCMCIA/CardBus) support
 #
 # CONFIG_PCCARD is not set

 #
 # Advanced setup
 #
 # CONFIG_ADVANCED_OPTIONS is not set

 #
 # Default settings for advanced configuration options are used
 #
 CONFIG_HIGHMEM_START=0xfe00
 CONFIG_LOWMEM_SIZE=0x3000
 CONFIG_KERNEL_START=0xc000
 CONFIG_TASK_SIZE=0x8000
 CONFIG_BOOT_LOAD=0x0080

 #
 # Device Drivers
 #

 #
 # Generic Driver Options
 #
 CONFIG_STANDALONE=y
 CONFIG_PREVENT_FIRMWARE_BUILD=y
 CONFIG_FW_LOADER=y

 #
 # Memory Technology Devices (MTD)
 #
 # CONFIG_MTD is not set

 #
 # Parallel port support
 #
 # CONFIG_PARPORT is not set

 #
 # Plug and Play support
 #

 #
 # Block devices
 #
 CONFIG_BLK_DEV_FD=y
 # CONFIG_MAC_FLOPPY is not set
 # CONFIG_BLK_CPQ_DA is not set
 # CONFIG_BLK_CPQ_CISS_DA is not set
 # CONFIG_BLK_DEV_DAC960 is not set
 # CONFIG_BLK_DEV_UMEM is not set
 

Re: [gentoo-ppc-user] Compile error on IDE Power Mac driver

2005-11-07 Thread Charles Trois

Gerardo Lisboa a écrit :


Hi,

Have you a separate boot partition using a ext2 fs?


No. The opinions that I read so far are rather against it, so that I did 
 not plan to use one.


Thanks all the same for your suggestion; I shall keep it in mind, just 
in case.


Cheers.

Charles


--
gentoo-ppc-user@gentoo.org mailing list