Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Installing on Acer Aspire One AOA150 1447
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
tbrauch
n00b
n00b


Joined: 17 Jul 2012
Posts: 49

PostPosted: Wed Jul 18, 2012 4:44 am    Post subject: [SOLVED] Installing on Acer Aspire One AOA150 1447 Reply with quote

I used to use Gentoo, back in 2003. Then, for various reasons, including changes in employment, I moved around between OS's and left linux around 2005. Now I would like to install Gentoo on my Acer Aspire One AOA150-1447. It seems that in the last 9 years or so, either I've forgotten a lot of stuff or the installation has gotten more complicated.

I tried to follow the Handbook and things seemed to work, I even got gnome installed. However, I learned wireless internet didn't work, nor did my mouse, the keyboard wasn't working, and there were a lot of other problems. I figured rather than trying to fix problems, since I haven't made any changes to the install, a clean install might be the easiest way to go. So my plan is to take this one step at a time.

I am using install-x86-minimal-20120710 through a USB CD drive.

First problem, getting internet to work so I can install Gentoo.
I have wired and wireless. I can get wired running by using the command net=setup eth1. I can't get wireless to work, and it didn't work with my last attempt to install. Should I worry about wireless at this point or not? Here's the output of lspci -k:

Code:
00:00.0 Host bridge: Intel Corporation Mobile 945GSE Express Memory Controller Hub (rev 03)
   Subsystem: Acer Incorporated [ALI] Device 015b
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GSE Express Integrated Graphics Controller (rev 03)
   Subsystem: Acer Incorporated [ALI] Device 015b
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
   Subsystem: Acer Incorporated [ALI] Device 015b
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)
   Subsystem: Acer Incorporated [ALI] Device 015b
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd-hda-intel
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)
   Kernel driver in use: pcieport
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)
   Kernel driver in use: pcieport
00:1c.2 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 3 (rev 02)
   Kernel driver in use: pcieport
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 02)
   Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)
   Subsystem: Acer Incorporated [ALI] Device 015b
   Kernel driver in use: uhci_hcd
   Kernel modules: uhci-hcd
00:1d.1 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)
   Subsystem: Acer Incorporated [ALI] Device 015b
   Kernel driver in use: uhci_hcd
   Kernel modules: uhci-hcd
00:1d.2 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)
   Subsystem: Acer Incorporated [ALI] Device 015b
   Kernel driver in use: uhci_hcd
   Kernel modules: uhci-hcd
00:1d.3 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)
   Subsystem: Acer Incorporated [ALI] Device 015b
   Kernel driver in use: uhci_hcd
   Kernel modules: uhci-hcd
00:1d.7 USB controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)
   Subsystem: Acer Incorporated [ALI] Device 015b
   Kernel driver in use: ehci_hcd
   Kernel modules: ehci-hcd
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
   Subsystem: Acer Incorporated [ALI] Device 015b
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7-M Family) SATA Controller [IDE mode] (rev 02)
   Subsystem: Acer Incorporated [ALI] Device 015b
   Kernel driver in use: ata_piix
   Kernel modules: ata_piix
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 02)
   Subsystem: Acer Incorporated [ALI] Device 015b
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
   Subsystem: Acer Incorporated [ALI] Device 015b
   Kernel driver in use: r8169
   Kernel modules: r8169
03:00.0 Ethernet controller: Atheros Communications Inc. AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01)
   Subsystem: Foxconn International, Inc. Device e008
   Kernel driver in use: ath5k
   Kernel modules: ath5k


Last edited by tbrauch on Sun Jul 22, 2012 5:28 am; edited 1 time in total
Back to top
View user's profile Send private message
maxim.251
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jul 2012
Posts: 127

PostPosted: Wed Jul 18, 2012 6:05 am    Post subject: Reply with quote

Enter this code and see what answers.
Code:
ifconfig wlan0

Code:
Ifconfig eth0


This is what you showed, this is a list of components on the motherboard.
Gentoo drivers you have and sees them.

Code:
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
   Subsystem: Acer Incorporated [ALI] Device 015b
   Kernel driver in use: r8169
   Kernel modules: r8169
03:00.0 Ethernet controller: Atheros Communications Inc. AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01)
   Subsystem: Foxconn International, Inc. Device e008
   Kernel driver in use: ath5k
   Kernel modules: ath5k


ath5k
r8169
This is Your`s drives what You using.
Back to top
View user's profile Send private message
tbrauch
n00b
n00b


Joined: 17 Jul 2012
Posts: 49

PostPosted: Thu Jul 19, 2012 1:57 am    Post subject: Reply with quote

That was helpful. I've now learned that my wireless is wlan0. There was a comment in the Handbook stating that wireless might be wlan0, but the examples all went through using eth0 and since I had eth0 (my wired connection) I never thought to look for wlan0. I've also learned (by searching these forums) that if I have WPA2 on my network, that I'm better off waiting until I have X set up before dealing with WPA2.

So, I pressed on when I had a few minutes free today and I'm at my next question:

Selecting a profile

I plan on using gnome. When I use eselect profile list my results show:

Code:
1  default/linux/x86/10.0
2  default/linux/x86/10.0/selinux
3  default/linux/x86/10.0/desktop
4  default/linux/x86/10.0/desktop/gnome
5  default/linux/x86/10.0/desktop/kde
6  default/linux/x86/10.0/developer
7  default/linux/x86/10.0/server
8  hardened/linux/x86
9  hardened/linux/x86/selinux


Since I plan on using gnome, would
Code:
4  default/linux/x86/10.0/desktop/gnome

be my best option?
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Thu Jul 19, 2012 2:37 am    Post subject: Reply with quote

tbrauch wrote:

Since I plan on using gnome, would
Code:
4  default/linux/x86/10.0/desktop/gnome

be my best option?


Yes, 4 default/linux/x86/10.0/desktop/gnome would be the way to go for the gnome desktop, Choosing that profile will set all the necessary use flags for gnome :wink:
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
tbrauch
n00b
n00b


Joined: 17 Jul 2012
Posts: 49

PostPosted: Thu Jul 19, 2012 4:17 am    Post subject: Reply with quote

I thought so... last time I didn't check that option.

Now I'm on to the part where I think I messed up last time, configuring the kernel. Last time I used the genkernel, but something went wrong. Right now, as I am installing, I can use both my mouse and my touchpad. After installing and using the genkernel, I couldn't use either. That seems odd to me. And there were problems with wireless and other things. Let's try to get them right this time.

Configuring My Kernel

It would be really great if there as a document like http://en.gentoo-wiki.com/wiki/Acer_Aspire_One_A110L for the A150. Here's my lspci -k output:

Code:

00:00.0 Host bridge: Intel Corporation Mobile 945GSE Express Memory Controller Hub (rev 03)
   Subsystem: Acer Incorporated [ALI] Device 015b
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GSE Express Integrated Graphics Controller (rev 03)
   Subsystem: Acer Incorporated [ALI] Device 015b
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
   Subsystem: Acer Incorporated [ALI] Device 015b
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)
   Subsystem: Acer Incorporated [ALI] Device 015b
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd-hda-intel
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)
   Kernel driver in use: pcieport
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)
   Kernel driver in use: pcieport
00:1c.2 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 3 (rev 02)
   Kernel driver in use: pcieport
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 02)
   Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)
   Subsystem: Acer Incorporated [ALI] Device 015b
   Kernel driver in use: uhci_hcd
   Kernel modules: uhci-hcd
00:1d.1 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)
   Subsystem: Acer Incorporated [ALI] Device 015b
   Kernel driver in use: uhci_hcd
   Kernel modules: uhci-hcd
00:1d.2 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)
   Subsystem: Acer Incorporated [ALI] Device 015b
   Kernel driver in use: uhci_hcd
   Kernel modules: uhci-hcd
00:1d.3 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)
   Subsystem: Acer Incorporated [ALI] Device 015b
   Kernel driver in use: uhci_hcd
   Kernel modules: uhci-hcd
00:1d.7 USB controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)
   Subsystem: Acer Incorporated [ALI] Device 015b
   Kernel driver in use: ehci_hcd
   Kernel modules: ehci-hcd
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
   Subsystem: Acer Incorporated [ALI] Device 015b
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7-M Family) SATA Controller [IDE mode] (rev 02)
   Subsystem: Acer Incorporated [ALI] Device 015b
   Kernel driver in use: ata_piix
   Kernel modules: ata_piix
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 02)
   Subsystem: Acer Incorporated [ALI] Device 015b
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
   Subsystem: Acer Incorporated [ALI] Device 015b
   Kernel driver in use: r8169
   Kernel modules: r8169
03:00.0 Ethernet controller: Atheros Communications Inc. AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01)
   Subsystem: Foxconn International, Inc. Device e008
   Kernel driver in use: ath5k
   Kernel modules: ath5k


Here's what I plan to do:
Code:
 General setup --->
     [*] Initial RAM filesystem and RAM disk (initramfs/initrd) support
     (/usr/share/v86d/initramfs) Initramfs source file(s)
 [*]Enable loadable module support --->
      [*] Automatic kernel module loading.
 -*- Enable the block layer -->
     IO Schedulers --->
         Default I/O scheduler (No-op)
 Bus options (PCI, PCMCIA, EISA, MCA, ISA) --->
     [*] PCI support
     [*] PCI Express support
     <*>   PCI Express Hotplug driver             (This option is available after you enabled "Support for PCI Hotplug")
     <*> Support for PCI Hotplug  --->
     PCCARD (PCMCIA/CardBus) support --->
         < > PCCard (PCMCIA/CardBus) support
 Networking --->
     Wireless --->
         <*> Improved wireless configuration API
         <*> Generic IEEE 802.11 Networking Stack
 Device Drivers --->
     < > ATA/ATAPI/MFM/RLL Support
     <*> Serial ATA (prod) and Parallel ATA (experimental) drivers --->
     <*>   AHCI SATA support
     <*>   Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support
     <*>   Generic ATA support
     <*>   Intel PATA MPIIX support
     <*>   Intel PATA old PIIX support
     [*] Network device support --->
     [*]   Ethernet (1000 Mbit) --->
     <*>     Realtek 8169 gigabit ethernet support
           Wireless LAN --->
     [*]     Wireless LAN (IEEE 802.11)
     <*>       Atheros 5xxx wireless cards support
     [ ]   PCMCIA network device support --->
      Multimedia devices --->
             <*> Video For Linux
             <*> DAB adapters
         Character devices --->
     <*>   Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
     <*>     Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver) --->         
     Graphics support --->
     <*>   Support for frame buffer devices
     <*>   Userspace VESA VGA graphics support
     <*>   VESA VGA graphics support
     <*>   Intel 830M/845G/852GM/855GM/865G/915G/945G support (EXPERIMENTAL)
           Console display driver support --->
     <*>     Framebuffer Console support
     [*]       Map the console to the primary display device
         Sound --->
     <*>   Sound card support
     < >   Advanced Linux Sound Architecture
     < >   Open Sound System
     <*> MMC/SD card support --->
     <*>   Secure Digital Host Controller Interface support (EXPERIMENTAL)
     <*>   TI Flash Media MMC/SD Interface support (EXPERIMENTAL)
      Device Drivers --->
     [*] Block devices
       < > Normal floppy disk support


This comes from the A110L Gentoo-wiki page. I'd greatly appreciate it if someone told me if there was anything that the A110L used that I shouldn't or if there's anything the A110L did not use that I should.
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Thu Jul 19, 2012 4:33 am    Post subject: Reply with quote

For compiling a working kernel my advice is to
1) forget about genkernel
2) forget about doing it all by your self, and don't trust a wiki to tell you everything.
4) use http://kernel-seeds.org/ to get a nice, efficient .config. The webite also has an app that will identify all of your hardware and exactly what options you need to enable. Literally the only things you should need to find yourself is your processor type and your file system. Both of these should be trivial.
5) good luck, and don't give up if at first you don't succeed.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
tbrauch
n00b
n00b


Joined: 17 Jul 2012
Posts: 49

PostPosted: Thu Jul 19, 2012 4:37 am    Post subject: Reply with quote

penguin swordmaster wrote:
For compiling a working kernel my advice is to
1) forget about genkernel
2) forget about doing it all by your self, and don't trust a wiki to tell you everything.
4) use http://kernel-seeds.org/ to get a nice, efficient .config. The webite also has an app that will identify all of your hardware and exactly what options you need to enable. Literally the only things you should need to find yourself is your processor type and your file system. Both of these should be trivial.
5) good luck, and don't give up if at first you don't succeed.


I think that's good advice (hopefully). The kernel options have changed since the A110L document was posted. I can't find some of the options they have listed. I'll report back if (when?) things work for me. Thanks for the link and suggestion.
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Thu Jul 19, 2012 4:44 am    Post subject: Reply with quote

Oh, I almost forgot. Since you still on the command line menuconfig some options will be greyed out until their prereqs are satisfied. I beleve that if you search for the option in question you can see the prereqs.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Thu Jul 19, 2012 4:45 am    Post subject: Reply with quote

tbrauch,

To find where to set your modules after identifying them with http://kernel-seeds.org/ is when in menuconfig press the '/' key and enter the name and it will tell you what the setting is and where to navigate.

Symbol: ATH5K [=n] │
│ Type : tristate │
│ Prompt: Atheros 5xxx wireless cards support │
│ Defined at drivers/net/wireless/ath/ath5k/Kconfig:1 │
│ Depends on: NETDEVICES [=y] && WLAN [=y] && ATH_COMMON [=n] && (PCI [=y] || ATHEROS_AR231X) && MAC80211 [=y] │
│ Location: │
│ -> Device Drivers │
│ -> Network device support (NETDEVICES [=y]) │
│ -> Wireless LAN (WLAN [=y]) │
│ -> Atheros Wireless Cards (ATH_COMMON [=n]) │
│ Selects: MAC80211_LEDS [=y] && LEDS_CLASS [=y] && NEW_LEDS [=y] && AVERAGE [=y] && ATH5K_AHB [=n] && ATH5K_PCI [=n]

│ Symbol: R8169 [=n] │
│ Type : tristate │
│ Prompt: Realtek 8169 gigabit ethernet support │
│ Defined at drivers/net/ethernet/realtek/Kconfig:105 │
│ Depends on: NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_REALTEK [=n] && PCI [=y] │
│ Location: │
│ -> Device Drivers │
│ -> Network device support (NETDEVICES [=y]) │
│ -> Ethernet driver support (ETHERNET [=y]) │
│ -> Realtek devices (NET_VENDOR_REALTEK [=n]) │
│ Selects: FW_LOADER [=y] && CRC32 [=y] && NET_CORE [=y] && MII [=y] │

Actually you have everything listed with your lspci output so it should be easy.

Also check /etc/make.conf for INPUT_DEVICES="evdev". You might also need synaptics for the touchpad.
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
tbrauch
n00b
n00b


Joined: 17 Jul 2012
Posts: 49

PostPosted: Thu Jul 19, 2012 4:56 pm    Post subject: Reply with quote

I might have a problem. I've gotten as far as configuring GRUB in the handbook (I think things with the kernel went well...). I just noticed that my command line says:

livecd linux #

I know that at some previous point I chrooted and after that point, the command line was different. I used the up arrow key to go back through commands and I don't see where I entered anything to mess that up. It was just a lot of "nano <something>" and "emerge <something>" Is this a problem?
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Thu Jul 19, 2012 6:55 pm    Post subject: Reply with quote

tbrauch wrote:
I might have a problem. I've gotten as far as configuring GRUB in the handbook (I think things with the kernel went well...). I just noticed that my command line says:

livecd linux #

I know that at some previous point I chrooted and after that point, the command line was different. I used the up arrow key to go back through commands and I don't see where I entered anything to mess that up. It was just a lot of "nano <something>" and "emerge <something>" Is this a problem?


sounds like youve exited the chroot

you can either enter the chroot again and configure grub:
Code:

chroot /mnt/gentoo /bin/bash
nano -w /boot/grub/grub/conf


or, if youve already done the grub-install process, without having to chroot:

Code:

nano -w /mnt/gentoo/boot/grub/grub.conf


I personally would chroot just in case i decided there was some other step I'd missed :)
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
tbrauch
n00b
n00b


Joined: 17 Jul 2012
Posts: 49

PostPosted: Thu Jul 19, 2012 7:16 pm    Post subject: Reply with quote

Hmm.. the question is, though, when did I exit the chroot? I guess I'm going back a few pages in the handbook and we'll try again. I'm gonna get this installed. The second time has gone much faster than the first attempt (and the first attempt didn't even work).
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1555
Location: Montréal

PostPosted: Thu Jul 19, 2012 8:21 pm    Post subject: Reply with quote

Hello,
a couple of years ago, I had an Acer Aspire One AOA-150. I remember I had troubles with the Intel graphic card with Xorg 3D acceleration. It was the time who the Kernel Mode Setting arrived in the Free Softwares Area.

I compiled a kernel that I keep trace of, config-2.6.30-Acer-One-AOA150.txt. It was working, but I did not optimise it. I would not suggest to use it without a meticulous check to see if it can be adapted to your actual material configuration and needs.

It can just be an other kernel configuration source in plus of the one mentioned.
_________________
Paul
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Fri Jul 20, 2012 6:02 am    Post subject: Reply with quote

Logicien wrote:
Hello,
a couple of years ago, I had an Acer Aspire One AOA-150. I remember I had troubles with the Intel graphic card with Xorg 3D acceleration. It was the time who the Kernel Mode Setting arrived in the Free Softwares Area.


KMS really really sucked in the early days.
2.6.30 (or thereabouts) up to about 2.6.36 was rough going for Intel folks


OP:

keying in 'exit' or 'logout' would have killed off the chroot. A post-mortem, however, is less important at this stage than getting things to work and boot successfully :) I dont think youre far from that
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
tbrauch
n00b
n00b


Joined: 17 Jul 2012
Posts: 49

PostPosted: Fri Jul 20, 2012 7:51 pm    Post subject: Reply with quote

I've had some time today to work with configuring the kernel (and I'm chrooted this time). I have a few things to do later today, but hopefully this works. I'll report back later.
Back to top
View user's profile Send private message
tbrauch
n00b
n00b


Joined: 17 Jul 2012
Posts: 49

PostPosted: Sat Jul 21, 2012 1:04 am    Post subject: Reply with quote

I've compiled my kernel and I'm at the step set up automatically load modules. I seem to have a LOT of modules., based on step 7.e of the handbook. Do I need to list all of them /etc/conf.d/modules? Here's some output

Code:
 # find /lib/modules/<kernel version>/ -type f -iname '*.o' -or -iname '*.ko' | less

/lib/modules/3.3.8-gentoo/kernel/drivers/scsi/scsi_wait_scan.ko
/lib/modules/3.3.8-gentoo/kernel/drivers/watchdog/iTCO_wdt.ko
/lib/modules/3.3.8-gentoo/kernel/drivers/firmware/dmi-sysfs.ko
/lib/modules/3.3.8-gentoo/kernel/drivers/i2c/busses/i2c-i801.ko
/lib/modules/3.3.8-gentoo/kernel/net/netfilter/xt_mark.ko
/lib/modules/3.3.8-gentoo/kernel/fs/fuse/fuse.ko
/lib/modules/3.3.8-gentoo/kernel/lib/crc7.ko
/lib/modules/3.3.8-gentoo/kernel/lib/crc16.ko
/lib/modules/3.3.8-gentoo/kernel/lib/crc-ccitt.ko
/lib/modules/3.3.8-gentoo/kernel/lib/crc8.ko
/lib/modules/3.3.8-gentoo/kernel/lib/libcrc32c.ko
/lib/modules/3.3.8-gentoo/kernel/lib/cordic.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-codec-cmedia.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-codec-ca0132.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-codec.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-codec-conexant.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-codec-realtek.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-codec-cirrus.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-codec-hdmi.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-codec-ca0110.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-codec-via.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-codec-si3054.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-codec-analog.ko
/lib/modules/3.3.8-gentoo/kernel/sound/pci/hda/snd-hda-codec-idt.ko
/lib/modules/3.3.8-gentoo/kernel/sound/usb/snd-usbmidi-lib.ko
/lib/modules/3.3.8-gentoo/kernel/sound/usb/snd-usb-audio.ko
/lib/modules/3.3.8-gentoo/kernel/sound/core/snd-rawmidi.ko
/lib/modules/3.3.8-gentoo/kernel/sound/core/snd-timer.ko
/lib/modules/3.3.8-gentoo/kernel/sound/core/snd-pcm.ko
/lib/modules/3.3.8-gentoo/kernel/sound/core/snd-hwdep.ko
/lib/modules/3.3.8-gentoo/kernel/sound/core/snd-page-alloc.ko
/lib/modules/3.3.8-gentoo/kernel/sound/core/snd.ko
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Sat Jul 21, 2012 2:05 am    Post subject: Reply with quote

tbrauch wrote:
I've compiled my kernel and I'm at the step set up automatically load modules. I seem to have a LOT of modules., based on step 7.e of the handbook. Do I need to list all of them /etc/conf.d/modules? Here's some output

Don't add anything to /etc/conf.d/modules at this time :wink:
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Sat Jul 21, 2012 2:44 am    Post subject: Reply with quote

modules will be, generally, hotplugged by the system as needed.
especially for the modules i see in your list above, there's nothing that's critical to bootup

if your other kernel bits and pieces are squared away, and assuming grub has things where they need to be, you should be good to go
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
tbrauch
n00b
n00b


Joined: 17 Jul 2012
Posts: 49

PostPosted: Sat Jul 21, 2012 4:33 am    Post subject: Reply with quote

I found a problem with the Gentoo Install Handbook. Or maybe the problem is with GRUB.

After step 10a, when you emerge GRUB, it un-chroots you, or at least the (chroot) disappears from the command line. How do I know if I am still chrooted? How do I know if GRUB was installed on the chrooted system or the non-chrooted system?

Edit to add:

I'm not sure it was GRUB. The last time I remember chroot being shown in the command line was at the end of step 8, when I did the following. I had chroot before I issued this command.
Code:
# env-update && source /etc/profile


I can't go back far enough on my screen to see anything before emerge GRUB. What I did since that line was:

Code:
# emerge syslog-ng
# rc-update add syslog-ng default
# emerge logrotate
# emerge dcron
# rc-update add dcron default
# crontab /etc/crontab
# emerge mlocate
# rc-update add sshd default
# emerge dhcpcd
# emerge grub


One of those things lost my chroot, and I don't know which.
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Sat Jul 21, 2012 5:13 am    Post subject: Reply with quote

Try typing ls /mnt/gontoo/boot If you are still in the chroot it will fail.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
tbrauch
n00b
n00b


Joined: 17 Jul 2012
Posts: 49

PostPosted: Sat Jul 21, 2012 6:55 pm    Post subject: Reply with quote

penguin swordmaster wrote:
Try typing ls /mnt/gontoo/boot If you are still in the chroot it will fail.


Okay, I typed that and I get the response ls: cannot access /mnt/gentoo/boot: No such file or directory. So I take that to mean I am still in the chroot, but something made that notification go away at the command prompt. So I can continue setting up GRUB.
Back to top
View user's profile Send private message
tbrauch
n00b
n00b


Joined: 17 Jul 2012
Posts: 49

PostPosted: Sat Jul 21, 2012 8:15 pm    Post subject: Reply with quote

And, my next problem.

I'm at this step in the Handbook:

Code:
# exit
cdimage ~# cd
cdimage ~# umount -l /mnt/gentoo/dev{/shm,/pts,}
cdimage ~# umount -l /mnt/gentoo{/boot,/proc,}
cdimage ~# reboot


Two things

  • Before I did a chroot, my command line looked like livecd ~#: After I did the chroot, my commandline looked like (chroot) livecd ~#: until I emerged GRUB, then it went back to livecd ~#: . It said livecd the entire time. Now all of the sudden, the Handbook says I should see this "cdimage" that the handbook never mentioned before. Should my command line have said "livecd" the entire time?

  • Second question, when I issue the command reboot, it replies shutdown: No such file or directory Clearly there's a problem since I can't reboot.


Edit to Add:

Here's commands from the handbook, before and after chroot. Notice the command line example given.

Code:
# mount -t proc none /mnt/gentoo/proc
# mount --rbind /sys /mnt/gentoo/sys
# mount --rbind /dev /mnt/gentoo/dev
# chroot /mnt/gentoo /bin/bash
# env-update
>> Regenerating /etc/ld.so.cache...
# source /etc/profile
# export PS1="(chroot) $PS1"
# emerge --sync


There is no indication that the command line should ever change, though I figured the (chroot) should be added based on the export PS1="(chroot) $PS1" command. And so, when it said livecd the entire time, I wasn't concerned...
Back to top
View user's profile Send private message
tbrauch
n00b
n00b


Joined: 17 Jul 2012
Posts: 49

PostPosted: Sat Jul 21, 2012 11:28 pm    Post subject: Reply with quote

Well... it didn't install correctly. I couldn't reboot (I figured that would be a problem). But, I held down the power button to force a reboot.

I start it back up. A bunch of stuff flashes across the screen, then it stops flashing across the screen. In the middle of the screen:

Code:
[ 3.176983] VFS: Cannot open root device "sda3" or unknown block(0,0)
[ 3.177081] Please append a correct "root=" boot option: here are the available partitions:
[ 3.177234] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 3.177366] PID: 1, comm: swapper/0 Not tainted 3.3.8-gentoo #1
[ 3.177439] Call Trace:
[ 3.177517] [<c143a2a3>] ? panic+0x81/0x165
[ 3.177595] [<c15e8945>] ? mount_block)root+0x1a4/0x22c
[ 3.177672] [<c1002930>] ? sys_sigaction+0xc0/0x180
[ 3.177747] [<c15e8a13>] ? mount_root+0x46/0x5a
[ 3.177821] [<c15e85ea>] ? start_kernel+0x271/0x271
[ 3.177896] [<c15e85ea>] ? prepare_namespace+0x1f/0x30
[ 3.177973] [<c10c546f>] ? sys_access+0x1f/0x30
[ 3.178047] [<c15e8701>] ? kernel_init+0x117/0x123
[ 3.178122] [<c143d7b6>] ? kernel_thread_helper+0x6/0xd


And that's all she wrote.[/b]
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Sat Jul 21, 2012 11:44 pm    Post subject: Reply with quote

tbrauch,

1) What partition is your /boot partition (sda1 sda2 ) :?:

2) Paste back your menu.cfg
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
tbrauch
n00b
n00b


Joined: 17 Jul 2012
Posts: 49

PostPosted: Sat Jul 21, 2012 11:52 pm    Post subject: Reply with quote

BillWho wrote:
tbrauch,

1) What partition is your /boot partition (sda1 sda2 ) :?:


sda1

BillWho wrote:
2) Paste back your menu.cfg


I can't get a command prompt. It stops when I try to boot, as I posted above. So I don't know how to get that file.

Edit to add:

I booted the LiveCD and did the mount and chroot again so I'm back in my system. Where is the menu.cfg file?


Edited a second time to add:

Here's my menu.lst file...

Code:
# This is a sample grub.conf for use with Genkernel, per the Gentoo handbook
# http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#doc_chap2
# If you are not using Genkernel and you need help creating this file, you
# should consult the handbook. Alternatively, consult the grub.conf.sample that
# is included with the Grub documentation.

default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title Gentoo Linux 3.3.8
root (hd0,0)
kernel /boot/kernel-3.3.8-gentoo root=/dev/sda3

#initrd /boot/initramfs-genkernel-x86-2.6.24-gentoo-r5

# vim:ft=conf:


And here is my fstab

Code:
# /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/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda1   /boot      ext2      noauto,noatime,nouser   1 2
/dev/sda2   swap      swap      sw         0 0
/dev/sda3   /      ext3      defaults      0 1
/dev/sda5   /home      ext3      defaults      0 2
/dev/sda6   /win_backups   ext3      noauto         0 2   

/dev/cdrom   /mnt/cdrom   auto      noauto,ro      0 0
##/dev/fd0   /mnt/floppy   auto      noauto         0 0
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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