View previous topic :: View next topic |
Author |
Message |
new_to_this n00b
Joined: 24 Jun 2015 Posts: 21
|
Posted: Mon Jul 06, 2015 3:03 pm Post subject: [SOLVED] ALSA missing libraries after reboot? |
|
|
After following the set-up instructions on the ALSA wiki page yesterday, I had a working sound system. Both headphones and speakers worked, and alsamixer could be used to change the volume. Now, after I have shutdown and re-booted my computer, ALSA seems to have broken. The command returns Code: | cannot open mixer: No such file or directory | but still returns the manual page. Code: | speaker-test -t wav -c 2 | returns this:
Code: |
speaker-test 1.0.29
Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.29/work/alsa-lib-d) cannot find card '0'
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.29/work/alsa-lib-evaluate) function snd_func_card_driver returned error: No such fil
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.29/work/alsa-lib-concat) error evaluating strings
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.29/work/alsa-lib-evaluate) function snd_func_concat returned error: No such file or
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.29/work/alsa-lib-_refer) error evaluating name
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.29/work/alsa-lib-evaluate) function snd_func_refer returned error: No such file or d
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.29/work/alsa-lib-xpand) Evaluate error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.29/work/alsa-lib-pen_noupdate) Unknown PCM default
Playback open error: -2,No such file or directory
| Further more the speaker do work, but seemingly only to beep. The only way I can get the system to make sound is when I try to move left against the machine name when I am in terminal. This produces a short beep from the speakers, whether or not the headphone are plugged in. These head phones go into a head phone jack and worked fine yesterday. I am using the Code: | Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05) | audio card if that helps. I haven't done any system upgrades or installed any packages since, I got the sound to work, and the only thing I can think of to cause this is my shutdown and restart my computer.
Last edited by new_to_this on Fri Jul 10, 2015 9:10 pm; edited 1 time in total |
|
Back to top |
|
|
albright Advocate
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Mon Jul 06, 2015 4:05 pm Post subject: |
|
|
what does aplay -l show; could be a mis-numbering of cards after
reboot (this happens on my T440S sometimes) _________________ .... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme) |
|
Back to top |
|
|
new_to_this n00b
Joined: 24 Jun 2015 Posts: 21
|
Posted: Mon Jul 06, 2015 4:17 pm Post subject: |
|
|
That returns:
Code: | aplay: device_list:268: no soundcards found...
|
|
|
Back to top |
|
|
albright Advocate
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Mon Jul 06, 2015 6:23 pm Post subject: |
|
|
is alsa service running? (though I'm not sure you need it
just to see the cards) _________________ .... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme) |
|
Back to top |
|
|
new_to_this n00b
Joined: 24 Jun 2015 Posts: 21
|
Posted: Mon Jul 06, 2015 7:53 pm Post subject: |
|
|
Yep. I have it set up so that openRC starts it. |
|
Back to top |
|
|
albright Advocate
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Mon Jul 06, 2015 8:38 pm Post subject: |
|
|
more obviousness: the sound modules are all loading correctly? _________________ .... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme) |
|
Back to top |
|
|
new_to_this n00b
Joined: 24 Jun 2015 Posts: 21
|
Posted: Mon Jul 06, 2015 9:56 pm Post subject: |
|
|
I'm not quite sure. Code: | genkernel --menuconfig all | show that the modules I activated yesterday are loaded in my current kernel, but I think doesn't display any loaded modules for the soundcard. He is the results of modprobe. Code: |
Module Size Used by
ipv6 215517 14
ctr 2683 2
ccm 5674 2
binfmt_misc 4514 1
arc4 1420 2
ath9k 62694 0
ath9k_common 14509 1 ath9k
ath9k_hw 360798 2 ath9k_common,ath9k
coretemp 4040 0
ath 13504 3 ath9k_common,ath9k,ath9k_hw
mac80211 339818 1 ath9k
kvm 281452 0
cfg80211 301351 4 ath,ath9k_common,ath9k,mac80211
tpm_infineon 5350 0
iTCO_wdt 3843 0
iTCO_vendor_support 1324 1 iTCO_wdt
rfkill 10577 2 cfg80211
yenta_socket 15928 0
microcode 5676 0
pcmcia_rsrc 6912 1 yenta_socket
e1000e 122866 0
pcspkr 1239 0
joydev 6520 0
serio_raw 3105 0
i2c_i801 7733 0
fujitsu_laptop 6885 0
rtc_cmos 6487 0
lpc_ich 11832 0
mfd_core 2093 1 lpc_ich
tpm_tis 6356 0
tpm 18975 2 tpm_tis,tpm_infineon
pata_acpi 2075 0
battery 10702 0
ac 3445 0
acpi_cpufreq 5126 1
processor 20065 5 acpi_cpufreq
xts 2139 0
gf128mul 5014 1 xts
cbc 1796 0
sha256_generic 10528 0
tg3 117627 0
ptp 7378 2 tg3,e1000e
pps_core 4536 1 ptp
libphy 17171 1 tg3
e1000 78437 0
fuse 57554 1
xfs 567294 0
exportfs 2555 1 xfs
nfs 117531 0
lockd 43418 1 nfs
grace 1162 1 lockd
sunrpc 150472 2 nfs,lockd
jfs 133685 0
ext4 357787 0
jbd2 57303 1 ext4
multipath 4360 0
linear 2898 0
raid10 31975 0
dm_snapshot 23377 0
dm_bufio 10551 1 dm_snapshot
dm_crypt 12881 0
dm_mirror 9236 0
dm_region_hash 5079 1 dm_mirror
dm_log 6328 2 dm_region_hash,dm_mirror
dm_mod 61701 5 dm_log,dm_mirror,dm_bufio,dm_crypt,dm_snapshot
hid_sunplus 992 0
led_class 2107 2 ath9k,fujitsu_laptop
hid_samsung 2233 0
hid_pl 884 0
hid_petalynx 1389 0
hid_gyration 1551 0
sl811_hcd 9564 0
usbhid 26829 0
xhci_hcd 75936 0
ohci_hcd 20686 0
uhci_hcd 16105 0
usb_storage 33957 0
ehci_pci 2711 0
ehci_hcd 30928 1 ehci_pci
usbcore 113477 8 uhci_hcd,usb_storage,ohci_hcd,ehci_hcd,ehci_pci,usbhid,xhci_hcd,sl811_hcd
usb_common 1080 1 usbcore
aic94xx 55038 0
libsas 45364 1 aic94xx
lpfc 451176 0
crc_t10dif 763 1 lpfc
crct10dif_common 1012 1 crc_t10dif
qla2xxx 436527 0
megaraid_sas 77709 0
megaraid_mbox 20832 0
megaraid_mm 5370 1 megaraid_mbox
megaraid 29019 0
aacraid 57672 0
sx8 9526 0
DAC960 54314 0
cciss 84420 0
3w_9xxx 24003 0
3w_xxxx 18158 0
mptsas 38566 0
scsi_transport_sas 17057 3 libsas,mptsas,aic94xx
mptfc 10097 0
scsi_transport_fc 31637 3 lpfc,qla2xxx,mptfc
mptspi 11402 0
mptscsih 20561 3 mptfc,mptsas,mptspi
mptbase 66895 4 mptfc,mptsas,mptspi,mptscsih
atp870u 20376 0
dc395x 23696 0
qla1280 16664 0
imm 7145 0
parport 21511 1 imm
dmx3191d 7365 0
sym53c8xx 54123 0
qlogicfas408 3609 0
gdth 68428 0
advansys 39944 0
initio 12668 0
BusLogic 16659 0
arcmsr 26764 0
aic7xxx 89984 0
aic79xx 94672 0
scsi_transport_spi 15343 5 mptspi,sym53c8xx,aic79xx,aic7xxx,dmx3191d
sg 20545 0
pdc_adma 3837 0
sata_inic162x 5153 0
sata_mv 19085 0
ata_piix 18582 0
ahci 20571 1
libahci 15419 1 ahci
sata_qstor 3832 0
sata_vsc 2913 0
sata_uli 2024 0
sata_sis 2597 0
sata_sx4 6447 0
sata_nv 14362 0
sata_via 5219 0
sata_svw 3129 0
sata_sil24 8259 0
sata_sil 5423 0
sata_promise 7219 0
pata_pcmcia 6636 0
pcmcia 24956 1 pata_pcmcia
pcmcia_core 8644 3 pcmcia,pcmcia_rsrc,yenta_socket
|
|
|
Back to top |
|
|
albright Advocate
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Tue Jul 07, 2015 12:10 pm Post subject: |
|
|
you don't seem to have any sound modules loaded (did you build them
into the kernel?)
if I run lsmod | grep snd I get (intel sound on my T440S):
Code: |
snd_hda_codec_hdmi 37828 1
snd_hda_codec_realtek 70079 1
snd_hda_codec_generic 58322 1 snd_hda_codec_realtek
snd_hda_intel 21967 6
snd_hda_controller 20889 1 snd_hda_intel
snd_hda_codec 96089 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_hwdep 6264 1 snd_hda_codec
snd_hda_core 26500 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec,snd_hda_controller
snd_pcm 90331 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer 20639 1 snd_pcm
snd 66185 21 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,thinkpad_acpi
soundcore 6595 1 snd
|
_________________ .... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme) |
|
Back to top |
|
|
new_to_this n00b
Joined: 24 Jun 2015 Posts: 21
|
Posted: Tue Jul 07, 2015 5:50 pm Post subject: |
|
|
The kernel modules where definitely built into the kernel, otherwise how would I been able to use it? But it does currently seem like none of the modules I compiled into the kernel yesterday are loading today with and both returning nothing. I also went and checked out my genkernel menu and all those modules are still listed as activated in my kernel. |
|
Back to top |
|
|
albright Advocate
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Tue Jul 07, 2015 6:05 pm Post subject: |
|
|
Well, that is weird
can you load the modules manually, i.e.
(as root) modprobe snd-hda-intel ? _________________ .... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme) |
|
Back to top |
|
|
new_to_this n00b
Joined: 24 Jun 2015 Posts: 21
|
Posted: Tue Jul 07, 2015 6:12 pm Post subject: |
|
|
Well if I input the command it doesn't display any errors, but if I do it once again displays nothing. |
|
Back to top |
|
|
albright Advocate
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Tue Jul 07, 2015 6:25 pm Post subject: |
|
|
just out of curiousity, what response is there to
(as root) rmmod snd-hda-intel ?? _________________ .... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme) |
|
Back to top |
|
|
Buffoon Veteran
Joined: 17 Jun 2015 Posts: 1369 Location: EU or US
|
Posted: Tue Jul 07, 2015 6:29 pm Post subject: |
|
|
You should look at your kernel config in /proc, just to make sure running kernel has all the needed options. There are a few things that can go wrong with kernel install and you may not be running the kernel you think you are. |
|
Back to top |
|
|
new_to_this n00b
Joined: 24 Jun 2015 Posts: 21
|
Posted: Tue Jul 07, 2015 7:06 pm Post subject: |
|
|
albirght: Code: | rmmod: ERROR: Module snd_hda_intel is builtin. |
Buffoon: What file would that be? There's no clearly named kernel configuration file. Do you mean the one in /usr/src/linux? |
|
Back to top |
|
|
keet Guru
Joined: 09 Sep 2008 Posts: 568
|
Posted: Wed Jul 08, 2015 2:36 am Post subject: |
|
|
Do you have /proc/config.gz?
Code: | zcat /proc/config.gz >> /usr/src/linux/.config |
, for example. |
|
Back to top |
|
|
albright Advocate
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Wed Jul 08, 2015 11:44 am Post subject: |
|
|
I thought genkernel built a modular kernel so why is
sound built in?
what is output of uname -a ? _________________ .... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme) |
|
Back to top |
|
|
sebB l33t
Joined: 02 Mar 2011 Posts: 806 Location: S.O. France
|
Posted: Wed Jul 08, 2015 5:37 pm Post subject: |
|
|
And post
Code: | cat /usr/src/linux/.config | grep HDA |
mount /boot and
|
|
Back to top |
|
|
new_to_this n00b
Joined: 24 Jun 2015 Posts: 21
|
Posted: Thu Jul 09, 2015 12:31 am Post subject: |
|
|
@keet
I did have that file; here is it's contents (now found in /usr/src/linux/.config): https://bpaste.net/show/2f0353554a5e
@albright
Code: | Linux The_Internet_Hate_Machine 4.0.5-gentoo #1 SMP Fri Jun 26 19:15:34 EDT 2015 i686 Intel(R) Core(TM) i5 CPU M 560 @ 2.67GHz GenuineIntel GNU/Linux |
@seb8
cat /usr/src/linux/.config | grep HD:
Code: | CONFIG_SND_HDA=y
CONFIG_SND_HDA_INTEL=y
CONFIG_SND_HDA_DSP_LOADER=y
CONFIG_SND_HDA_PREALLOC_SIZE=64
# CONFIG_SND_HDA_HWDEP is not set
CONFIG_SND_HDA_RECONFIG=y
# CONFIG_SND_HDA_INPUT_BEEP is not set
CONFIG_SND_HDA_INPUT_JACK=y
CONFIG_SND_HDA_PATCH_LOADER=y
CONFIG_SND_HDA_CODEC_REALTEK=y
CONFIG_SND_HDA_CODEC_ANALOG=y
CONFIG_SND_HDA_CODEC_SIGMATEL=y
CONFIG_SND_HDA_CODEC_VIA=y
CONFIG_SND_HDA_CODEC_HDMI=y
CONFIG_SND_HDA_I915=y
CONFIG_SND_HDA_CODEC_CIRRUS=y
CONFIG_SND_HDA_CODEC_CONEXANT=y
CONFIG_SND_HDA_CODEC_CA0110=y
CONFIG_SND_HDA_CODEC_CA0132=y
CONFIG_SND_HDA_CODEC_CA0132_DSP=y
CONFIG_SND_HDA_CODEC_CMEDIA=y
CONFIG_SND_HDA_CODEC_SI3054=y
CONFIG_SND_HDA_GENERIC=y
CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
CONFIG_SENSORS_HDAPS=m
CONFIG_SND_HDA=m
CONFIG_SND_HDA_INTEL=m
CONFIG_SND_HDA_PREALLOC_SIZE=64
# CONFIG_SND_HDA_HWDEP is not set
# CONFIG_SND_HDA_RECONFIG is not set
# CONFIG_SND_HDA_INPUT_BEEP is not set
# CONFIG_SND_HDA_INPUT_JACK is not set
# CONFIG_SND_HDA_PATCH_LOADER is not set
CONFIG_SND_HDA_CODEC_REALTEK=m
CONFIG_SND_HDA_CODEC_ANALOG=m
CONFIG_SND_HDA_CODEC_SIGMATEL=m
CONFIG_SND_HDA_CODEC_VIA=m
# CONFIG_SND_HDA_CODEC_HDMI is not set
CONFIG_SND_HDA_I915=y
# CONFIG_SND_HDA_CODEC_CIRRUS is not set
CONFIG_SND_HDA_CODEC_CONEXANT=m
# CONFIG_SND_HDA_CODEC_CA0110 is not set
# CONFIG_SND_HDA_CODEC_CA0132 is not set
CONFIG_SND_HDA_CODEC_CMEDIA=m
CONFIG_SND_HDA_CODEC_SI3054=m
CONFIG_SND_HDA_GENERIC=m
CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
CONFIG_SENSORS_HDAPS=m
|
Kinda weird. /boot and /dev/sda2 refuse to mount but your second command still works, and outputs:
Code: | total 10040
-rw-r--r-- 1 root root 3762024 Jul 5 12:15 initramfs-genkernel-x86-4.0.5-gentoo
-rw-r--r-- 1 root root 4174848 Jul 5 11:53 kernel-genkernel-x86-4.0.5-gentoo
-rw-r--r-- 1 root root 2324710 Jul 5 11:53 System.map-genkernel-x86-4.0.5-gentoo
|
|
|
Back to top |
|
|
The_Great_Sephiroth Veteran
Joined: 03 Oct 2014 Posts: 1602 Location: Fayetteville, NC, USA
|
Posted: Thu Jul 09, 2015 2:27 pm Post subject: |
|
|
The first thing I would do is run a check on your disk. If I booted and had missing things, I would run smartctl right off the bat. If you need it, you should emerge smartmontools. After they are merged, you can check SMART data this way.
Code: |
~ $ sudo smartctl -a /dev/sda
smartctl 6.3 2014-07-26 r3976 [x86_64-linux-4.0.5-gentoo] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Seagate Momentus SpinPoint M8 (AF)
Device Model: ST1000LM024 HN-M101MBB
Serial Number: S2R8J9DC619370
LU WWN Device Id: 5 0004cf 207c86df3
Firmware Version: 2AR10002
User Capacity: 1,000,204,886,016 bytes [1.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 5400 rpm
Form Factor: 2.5 inches
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS T13/1699-D revision 6
SATA Version is: SATA 3.0, 3.0 Gb/s (current: 3.0 Gb/s)
Local Time is: Thu Jul 9 10:23:17 2015 EDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Offline data collection status: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: (13080) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 218) minutes.
SCT capabilities: (0x003f) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x002f 100 100 051 Pre-fail Always - 4
2 Throughput_Performance 0x0026 252 252 000 Old_age Always - 0
3 Spin_Up_Time 0x0023 089 089 025 Pre-fail Always - 3471
4 Start_Stop_Count 0x0032 098 098 000 Old_age Always - 2802
5 Reallocated_Sector_Ct 0x0033 252 252 010 Pre-fail Always - 0
7 Seek_Error_Rate 0x002e 252 252 051 Old_age Always - 0
8 Seek_Time_Performance 0x0024 252 252 015 Old_age Offline - 0
9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 2438
10 Spin_Retry_Count 0x0032 252 252 051 Old_age Always - 0
11 Calibration_Retry_Count 0x0032 100 100 000 Old_age Always - 36
12 Power_Cycle_Count 0x0032 099 099 000 Old_age Always - 1500
191 G-Sense_Error_Rate 0x0022 100 100 000 Old_age Always - 99
192 Power-Off_Retract_Count 0x0022 252 252 000 Old_age Always - 0
194 Temperature_Celsius 0x0002 061 058 000 Old_age Always - 39 (Min/Max 5/42)
195 Hardware_ECC_Recovered 0x003a 100 100 000 Old_age Always - 0
196 Reallocated_Event_Count 0x0032 252 252 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 252 252 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0030 252 252 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0036 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x002a 100 100 000 Old_age Always - 7011
223 Load_Retry_Count 0x0032 100 100 000 Old_age Always - 36
225 Load_Cycle_Count 0x0032 096 096 000 Old_age Always - 47055
SMART Error Log Version: 1
No Errors Logged
SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]
SMART Selective self-test log data structure revision number 0
Note: revision number not 1 implies that no selective self-test has ever been run
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Completed [00% left] (0-65535)
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
|
That is the output from my disk. As you can see, it is in perfect health. If you want to run a disk check, you would do sudo smartctl -t long /dev/sda. Replace /dev/sda with the drive you wish to check. It will tell you how long the test will take. I recommend leaving the system alone while it tests. Also, when finished, you would run sudo smartctl -a /dev/sda to see the results. If the results say your disk is fine, then I am off-base here. However, if your disk fails the check, you can backup your data before losing more than your sound. _________________ Ever picture systemd as what runs "The Borg"? |
|
Back to top |
|
|
sebB l33t
Joined: 02 Mar 2011 Posts: 806 Location: S.O. France
|
Posted: Thu Jul 09, 2015 4:09 pm Post subject: |
|
|
Quote: | Linux The_Internet_Hate_Machine 4.0.5-gentoo #1 SMP Fri Jun 26 19:15:34 EDT 2015 |
Quote: | Jul 5 12:15 initramfs-genkernel-x86-4.0.5-gentoo
Jul 5 11:53 kernel-genkernel-x86-4.0.5-gentoo |
Are you sure, your boot partition is mounted before you install your kernel?
Quote: | Kinda weird. /boot and /dev/sda2 refuse to mount |
What is the problem? Post your fstab.
I think, your kernel install is not in the right folder. |
|
Back to top |
|
|
new_to_this n00b
Joined: 24 Jun 2015 Posts: 21
|
Posted: Thu Jul 09, 2015 5:03 pm Post subject: |
|
|
@The_Great_Sephiroth
I passed, so I think this is a fstab issue.
@seb8
Here: https://bpaste.net/show/4ca448650129
I created it following specifications from the Gentoo handbook, so I'm not quite sure what I've messed up.
Quote: | Are you sure, your boot partition is mounted before you install your kernel? |
No, usually I just run
Code: | genkernel --menuconfig all |
and it has worked. I've activated several kernel modukles in the past that have worked, and stayed activated, so I am not quite sure why it is effecting my system now. |
|
Back to top |
|
|
sebB l33t
Joined: 02 Mar 2011 Posts: 806 Location: S.O. France
|
Posted: Thu Jul 09, 2015 5:12 pm Post subject: |
|
|
Maybe I am wrong but it's strange.
You use grub or grub2?
What "mount /boot" say? |
|
Back to top |
|
|
new_to_this n00b
Joined: 24 Jun 2015 Posts: 21
|
Posted: Thu Jul 09, 2015 5:44 pm Post subject: |
|
|
I am using grub2.
returns:
Code: | mount: special device /dev/BOOT does not exist |
|
|
Back to top |
|
|
sebB l33t
Joined: 02 Mar 2011 Posts: 806 Location: S.O. France
|
Posted: Thu Jul 09, 2015 6:06 pm Post subject: |
|
|
Your fstab is wrong. Post
|
|
Back to top |
|
|
new_to_this n00b
Joined: 24 Jun 2015 Posts: 21
|
Posted: Thu Jul 09, 2015 6:28 pm Post subject: |
|
|
Code: | Disk /dev/ram0: 8 MiB, 8388608 bytes, 16384 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram1: 8 MiB, 8388608 bytes, 16384 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram2: 8 MiB, 8388608 bytes, 16384 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram3: 8 MiB, 8388608 bytes, 16384 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram4: 8 MiB, 8388608 bytes, 16384 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram5: 8 MiB, 8388608 bytes, 16384 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram6: 8 MiB, 8388608 bytes, 16384 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram7: 8 MiB, 8388608 bytes, 16384 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram8: 8 MiB, 8388608 bytes, 16384 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram9: 8 MiB, 8388608 bytes, 16384 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram10: 8 MiB, 8388608 bytes, 16384 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram11: 8 MiB, 8388608 bytes, 16384 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram12: 8 MiB, 8388608 bytes, 16384 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram13: 8 MiB, 8388608 bytes, 16384 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram14: 8 MiB, 8388608 bytes, 16384 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram15: 8 MiB, 8388608 bytes, 16384 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/sda: 149.1 GiB, 160041885696 bytes, 312581808 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 358C0379-85B7-419D-8A74-F9EE49FD7C92
Device Start End Sectors Size Type
/dev/sda1 2048 6143 4096 2M BIOS boot
/dev/sda2 6144 2047999 2041856 997M Linux filesystem
/dev/sda3 2048000 12287999 10240000 4.9G Linux filesystem
/dev/sda4 12288000 312579759 300291760 143.2G Linux filesystem
|
|
|
Back to top |
|
|
|
|
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
|
|