Re: [gentoo-ppc-user] Compile error on IDE Power Mac driver
The cause of the trouble seems to be pointed out by the line "dhcpcd[4718]: timed out waiting for a valid DHCP server response" (and there is indeed quite a delay at the stage "Running dhcpcd"). But now what can I do to get this "valid DHCP server response"? There seems to be nothing about dhcp in the .config file: what then? does it suppose that I am already connected to the Net? Yes. When you start eth0 with dhcp turned on, it does expect that there is a connection since it's looking for the DHCP server. If you manually set the IP, it will work with or without a connection. -Joe -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] Compile error on IDE Power Mac driver
Draeven a écrit : I'm sorry, I mean a dhcp client, not a server, the dhcp server should already be on the network. The most popular and easiest client IMHO is dhcpcd. Like I said, "emerge dhcpcd" HTH Draeven Draeven wrote: Did you remember to emerge a dhcpcd server? If not "emerge dhcpcd" dhcpcd is installed (I checked it with emerge --search dhcpcd) and I emerged it a second time, just in case; but nothing has changed. Charles -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] Compile error on IDE Power Mac driver
I'm sorry, I mean a dhcp client, not a server, the dhcp server should already be on the network. The most popular and easiest client IMHO is dhcpcd. Like I said, "emerge dhcpcd" HTH Draeven Draeven wrote: Did you remember to emerge a dhcpcd server? If not "emerge dhcpcd" Draeven Charles Trois wrote: Draeven a écrit : Charles Trois wrote: Charles, Did you do a "rc-update add net.eth0 default" so that the interface is brought up at boot? You may also want to take a look at this section of the Gentoo Handbook: http://www.gentoo.org/doc/en/handbook/handbook-ppc.xml?part=4 I am still working hard at this; I even have burnt a new CD and reinstalled from it, but there is nothing doing. To state my problem again, it occurs on an G4 iMac with the Gentoo universal ppc-install-2005.1 disc. At the end of the boot process, just before the login, I get this: == * Starting syslog-ng ... [ ok ] * Starting gpm ... [ ok ] * Starting eth0 * Bringing up eth0 * Configuration not set for eth0 - assuming dhcp * dhcp * Running dhcpcd ... [ !! ] * Starting vixie-cron ... [ ok ] * Starting local ... [ ok ] * ERROR: Problem starting needed services. * "netmount" was not started. == And the corresponding bit in /var/log/messsages is: == Dec 1 11:00:55 sirrah rc-scripts: Configuration not set for eth0 - assuming dhcp Dec 1 11:01:55 sirrah dhcpcd[4718]: timed out waiting for a valid DHCP server response Dec 1 11:01:55 sirrah cron[5378]: (CRON) STARTUP (V5.0) Dec 1 11:01:56 sirrah rc-scripts: ERROR: Problem starting needed services. Dec 1 11:01:56 sirrah rc-scripts: "netmount" was not started. Dec 1 11:02:50 sirrah login(pam_unix)[5457]: session opened for user root by (uid=0) == The cause of the trouble seems to be pointed out by the line "dhcpcd[4718]: timed out waiting for a valid DHCP server response" (and there is indeed quite a delay at the stage "Running dhcpcd"). But now what can I do to get this "valid DHCP server response"? There seems to be nothing about dhcp in the .config file: what then? does it suppose that I am already connected to the Net? Charles -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] Compile error on IDE Power Mac driver
Did you remember to emerge a dhcpcd server? If not "emerge dhcpcd" Draeven Charles Trois wrote: Draeven a écrit : Charles Trois wrote: Charles, Did you do a "rc-update add net.eth0 default" so that the interface is brought up at boot? You may also want to take a look at this section of the Gentoo Handbook: http://www.gentoo.org/doc/en/handbook/handbook-ppc.xml?part=4 I am still working hard at this; I even have burnt a new CD and reinstalled from it, but there is nothing doing. To state my problem again, it occurs on an G4 iMac with the Gentoo universal ppc-install-2005.1 disc. At the end of the boot process, just before the login, I get this: == * Starting syslog-ng ... [ ok ] * Starting gpm ... [ ok ] * Starting eth0 * Bringing up eth0 * Configuration not set for eth0 - assuming dhcp * dhcp * Running dhcpcd ... [ !! ] * Starting vixie-cron ... [ ok ] * Starting local ... [ ok ] * ERROR: Problem starting needed services. * "netmount" was not started. == And the corresponding bit in /var/log/messsages is: == Dec 1 11:00:55 sirrah rc-scripts: Configuration not set for eth0 - assuming dhcp Dec 1 11:01:55 sirrah dhcpcd[4718]: timed out waiting for a valid DHCP server response Dec 1 11:01:55 sirrah cron[5378]: (CRON) STARTUP (V5.0) Dec 1 11:01:56 sirrah rc-scripts: ERROR: Problem starting needed services. Dec 1 11:01:56 sirrah rc-scripts: "netmount" was not started. Dec 1 11:02:50 sirrah login(pam_unix)[5457]: session opened for user root by (uid=0) == The cause of the trouble seems to be pointed out by the line "dhcpcd[4718]: timed out waiting for a valid DHCP server response" (and there is indeed quite a delay at the stage "Running dhcpcd"). But now what can I do to get this "valid DHCP server response"? There seems to be nothing about dhcp in the .config file: what then? does it suppose that I am already connected to the Net? Charles -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] Compile error on IDE Power Mac driver
Draeven a écrit : Charles Trois wrote: Charles, Did you do a "rc-update add net.eth0 default" so that the interface is brought up at boot? You may also want to take a look at this section of the Gentoo Handbook: http://www.gentoo.org/doc/en/handbook/handbook-ppc.xml?part=4 I am still working hard at this; I even have burnt a new CD and reinstalled from it, but there is nothing doing. To state my problem again, it occurs on an G4 iMac with the Gentoo universal ppc-install-2005.1 disc. At the end of the boot process, just before the login, I get this: == * Starting syslog-ng ... [ ok ] * Starting gpm ... [ ok ] * Starting eth0 * Bringing up eth0 * Configuration not set for eth0 - assuming dhcp * dhcp * Running dhcpcd ... [ !! ] * Starting vixie-cron ... [ ok ] * Starting local ... [ ok ] * ERROR: Problem starting needed services. * "netmount" was not started. == And the corresponding bit in /var/log/messsages is: == Dec 1 11:00:55 sirrah rc-scripts: Configuration not set for eth0 - assuming dhcp Dec 1 11:01:55 sirrah dhcpcd[4718]: timed out waiting for a valid DHCP server response Dec 1 11:01:55 sirrah cron[5378]: (CRON) STARTUP (V5.0) Dec 1 11:01:56 sirrah rc-scripts: ERROR: Problem starting needed services. Dec 1 11:01:56 sirrah rc-scripts: "netmount" was not started. Dec 1 11:02:50 sirrah login(pam_unix)[5457]: session opened for user root by (uid=0) == The cause of the trouble seems to be pointed out by the line "dhcpcd[4718]: timed out waiting for a valid DHCP server response" (and there is indeed quite a delay at the stage "Running dhcpcd"). But now what can I do to get this "valid DHCP server response"? There seems to be nothing about dhcp in the .config file: what then? does it suppose that I am already connected to the Net? Charles -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] Compile error on IDE Power Mac driver
Charles Trois wrote: Charles, Did you do a "rc-update add net.eth0 default" so that the interface is brought up at boot? You may also want to take a look at this section of the Gentoo Handbook: http://www.gentoo.org/doc/en/handbook/handbook-ppc.xml?part=4 HTH Draeven Draeven a écrit : Charles, Please post the contents of your /etc/conf.d/net I attach it here. Also, is your NIC driver built into the kernel or a module? I have no modules at all, everything is in the kernel; lsmod returns an empty list. If it is modular, you can load it by using coldplug ("emerge coldplug") or you can add the module to /etc/modules.autoload.d/kernel-2.6. I also attach my .config file, just in case. Charles Charles Trois wrote: Matti Bickel a écrit le 11/11/2005 Please check if you compiled support for tmpfs in your kernel. The option is CONFIG_TMPFS. Do NOT make this a module. This is kinda wild guess, but it sounds like you're missing kernel-support. Sorry for this late answer. Your guess was quite right and enabled me to get over that error. I then met various little problems that I was able to solve, but there remains a (hopefully) last one. The new error message is: Problem starting needed services "netmount" was not started. /etc/init.d/netmount start gives the same error. eth0 is not brought up and ifconfig lists only lo. What have I done wrong? -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] Compile error on IDE Power Mac driver
Draeven a écrit : Charles, Please post the contents of your /etc/conf.d/net I attach it here. Also, is your NIC driver built into the kernel or a module? I have no modules at all, everything is in the kernel; lsmod returns an empty list. If it is modular, you can load it by using coldplug ("emerge coldplug") or you can add the module to /etc/modules.autoload.d/kernel-2.6. I also attach my .config file, just in case. Charles Charles Trois wrote: Matti Bickel a écrit le 11/11/2005 Please check if you compiled support for tmpfs in your kernel. The option is CONFIG_TMPFS. Do NOT make this a module. This is kinda wild guess, but it sounds like you're missing kernel-support. Sorry for this late answer. Your guess was quite right and enabled me to get over that error. I then met various little problems that I was able to solve, but there remains a (hopefully) last one. The new error message is: Problem starting needed services "netmount" was not started. /etc/init.d/netmount start gives the same error. eth0 is not brought up and ifconfig lists only lo. What have I done wrong? # This blank configuration will automatically use DHCP for any net.* # scripts in /etc/init.d. To create a more complete configuration, # please review /etc/conf.d/net.example and save your configuration # in /etc/conf.d/net (this file :]!). config_eth0=( "dhcp" ) dhcp_eth0="nodns nontp nonis" # # Automatically generated make config: don't edit # Linux kernel version: 2.6.12-gentoo-r6 # Tue Nov 15 18:00:58 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) # #
Re: [gentoo-ppc-user] Compile error on IDE Power Mac driver
Charles, Please post the contents of your /etc/conf.d/net Also, is your NIC driver built into the kernel or a module? If it is modular, you can load it by using coldplug ("emerge coldplug") or you can add the module to /etc/modules.autoload.d/kernel-2.6. HTH Draeven Charles Trois wrote: Matti Bickel a écrit le 11/11/2005 Charles Trois <[EMAIL PROTECTED]> wrote: Mounting /dev for udev The "mount" command failed with error: wrong fstype, bad option, bad superblock on udev, or too many mounted file systems Please check if you compiled support for tmpfs in your kernel. The option is CONFIG_TMPFS. Do NOT make this a module. This is kinda wild guess, but it sounds like you're missing kernel-support. Sorry for this late answer. Your guess was quite right and enabled me to get over that error. I then met various little problems that I was able to solve, but there remains a (hopefully) last one. The new error message is: Problem starting needed services "netmount" was not started. /etc/init.d/netmount start gives the same error. eth0 is not brought up and ifconfig lists only lo. What have I done wrong? Charles -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] Compile error on IDE Power Mac driver
Matti Bickel a écrit le 11/11/2005 Charles Trois <[EMAIL PROTECTED]> wrote: Mounting /dev for udev The "mount" command failed with error: wrong fstype, bad option, bad superblock on udev, or too many mounted file systems Please check if you compiled support for tmpfs in your kernel. The option is CONFIG_TMPFS. Do NOT make this a module. This is kinda wild guess, but it sounds like you're missing kernel-support. Sorry for this late answer. Your guess was quite right and enabled me to get over that error. I then met various little problems that I was able to solve, but there remains a (hopefully) last one. The new error message is: Problem starting needed services "netmount" was not started. /etc/init.d/netmount start gives the same error. eth0 is not brought up and ifconfig lists only lo. What have I done wrong? Charles -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] Compile error on IDE Power Mac driver
Charles Trois <[EMAIL PROTECTED]> wrote: > Joseph Jezak a écrit : > >You're probably using an Apple partitioning scheme. In order to read > >from Apple partitions, you'll need to have support for that in your > >kernel. Turn on: CONFIG_PARTITION_ADVANCED and CONFIG_MAC_PARTITION. > >In the future, to make kernel configuration more simple, you should > >do a "make defconfig" before configuration. This ensures that you > >have sane defaults set. > Thank you. I changed the options as you suggest. The boot process goes > now a little bit further, but it stops on an error of a new type: > > Mounting /dev for udev > The "mount" command failed with error: > wrong fstype, bad option, bad superblock on udev, or too many mounted file > systems Please check if you compiled support for tmpfs in your kernel. The option is CONFIG_TMPFS. Do NOT make this a module. This is kinda wild guess, but it sounds like you're missing kernel-support. Wishes, Matti -- Today is a good day to bribe a high-ranking public official. pgpDHL2Rq17hH.pgp Description: PGP signature
Re: [gentoo-ppc-user] Compile error on IDE Power Mac driver
Joseph Jezak a écrit : You're probably using an Apple partitioning scheme. In order to read from Apple partitions, you'll need to have support for that in your kernel. Turn on: CONFIG_PARTITION_ADVANCED and CONFIG_MAC_PARTITION. In the future, to make kernel configuration more simple, you should do a "make defconfig" before configuration. This ensures that you have sane defaults set. Thank you. I changed the options as you suggest. The boot process goes now a little bit further, but it stops on an error of a new type: Mounting /dev for udev The "mount" command failed with error: wrong fstype, bad option, bad superblock on udev, or too many mounted file systems I have noticed, while booting MacOSX, that the phase "waiting for local disks" seems to take an abnormally long time: would the two things be related? I can give my password and get logged in as root, and get a first prompt; then I could try some of the things that are suggested on the Web, only I don't see the result of my commands, because the text in the console does not move and the next prompt does not appear. The only command that has an effect is Ctrl-D, for rebooting. How can I escape from this mess? Chers. Charles -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] Compile error on IDE Power Mac driver
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. You're probably using an Apple partitioning scheme. In order to read from Apple partitions, you'll need to have support for that in your kernel. Turn on: CONFIG_PARTITION_ADVANCED and CONFIG_MAC_PARTITION. In the future, to make kernel configuration more simple, you should do a "make defconfig" before configuration. This ensures that you have sane defaults set. Good luck! -Joe -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] Compile error on IDE Power Mac driver
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
Re: [gentoo-ppc-user] Compile error on IDE Power Mac driver
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 > #
Re: [gentoo-ppc-user] Compile error on IDE Power Mac driver
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 # CONFIG_BLK_DEV_COW_COMMON is not set # CONFIG_BLK_DEV_LOOP is not set # CONFIG_BLK_DEV_NBD is not set # CONFIG_BLK_DEV_SX8 is not set # CONFIG_BLK_DEV_UB is not set # CONFIG_BLK_DEV_RAM is not set CONFIG_BLK_DEV_RAM_COUNT=16 CONFIG_INITRAMFS_SOURCE="" # CONFIG_LBD is not set # CONFIG_CDROM_PKTCDVD is not set # # IO Schedulers # CONFIG_IOSCHED_NOOP=y CONFIG_IOSCHED_AS=y CONFIG_IOSCHED_DEADLINE=y CONFIG_IOSCHED_CFQ=y # CONFIG_ATA_OVER_ETH is not set # # ATA/ATAPI/MFM/RLL support # CONFIG_IDE=y CONFIG_BLK_DE
Re: [gentoo-ppc-user] Compile error on IDE Power Mac driver
Hello Charles Sorry, I looked wrong before. > CC drivers/ide/ppc/pmac.o > drivers/ide/ppc/pmac.c: In function 'pmac_ide_setup_dma' > 2174 error: '__ide_dma_off_quietly' undeclared > 2175 error: '__ide_dma_on' undeclared > 2184 error: '__ide_dma_timeout' undeclared You should set CONFIG_BLK_DEV_IDEDMA_PCI, see drivers/ide/ide-dma.c. Greets, Michael -- Gentoo Linux Developer using m0n0wall | http://hansmi.ch/ Debian is the Jedi operating system: "Always two there are, a master and an apprentice". -- Simon Richter on debian-devel pgpxm2AmC1HTI.pgp Description: PGP signature
Re: [gentoo-ppc-user] Compile error on IDE Power Mac driver
Hello Charles > CC drivers/ide/ppc/pmac.o > drivers/ide/ppc/pmac.c: In function 'pmac_ide_setup_dma' Looking at drivers/ide/ppc/pmac.c reveals that this function is only declared when CONFIG_BLK_DEV_IDEDMA_PMAC is set. Greets, Michael -- Gentoo Linux Developer using m0n0wall | http://hansmi.ch/ You are in a maze of little twisting passages, all alike. pgpPN1F8vsKbZ.pgp Description: PGP signature
[gentoo-ppc-user] Compile error on IDE Power Mac driver
I am still trying to install Gentoo on a G4 iMac from the universal-ppc-2005.1 disk (kernel 2.6.12-gentoo-r6), and I keep getting this error message: VFS: Cannot open root device "hda15" or unknown-block(0,0) Please append a correct "root=" boot option Kernel panic - not syncing:VFS:unable to mount root fs on unknown-block(0,0) I read on the web that this might be due to some disks being misnamed and read in the wrong order; a suggested solution was to activate the options config BLK_DEV_IDE_PMAC (Builtin PowerMac IDE support) and config BLK_DEV_IDE_PMAC_ATA100FIRST (Probe internal ATA/100 (Kauai) first). I wanted to try this and configured the kernel accordingly; but then I got a compile error: CC drivers/ide/ppc/pmac.o drivers/ide/ppc/pmac.c: In function 'pmac_ide_setup_dma' 2174 error: '__ide_dma_off_quietly' undeclared 2175 error: '__ide_dma_on' undeclared 2184 error: '__ide_dma_timeout' undeclared make[2]: ***[drivers/ide/ppc/pmac.o] Error 1 make[1]: ***[drivers/ide] Error 2 make: ***[drivers] Error 2 I looked at pmac.c, but I saw nothing obvious; is it a known error that one could correct, or is perhaps a patch available? Apart from that, what is the idea worth? Charles -- gentoo-ppc-user@gentoo.org mailing list