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