View previous topic :: View next topic |
Author |
Message |
roelof Guru
Joined: 05 Feb 2009 Posts: 488
|
Posted: Fri Sep 18, 2009 6:23 pm Post subject: |
|
|
Hello,
I followed the steps but still a system which can't boot.
I was thinking if a use the cd-kernel and this one boots well then we know that there is a problem with the custom build kernel.
Roelof |
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Fri Sep 18, 2009 6:54 pm Post subject: |
|
|
Have a look at The Gentoo Linux Kernel Configuration Guide. This will help you to build your own kernel.
Go to /usr/src/linux and run look at each item's -> help page. It takes patience and practice, but before you know it, you will be helping others build a custom kernel. |
|
Back to top |
|
|
roelof Guru
Joined: 05 Feb 2009 Posts: 488
|
Posted: Fri Sep 18, 2009 6:59 pm Post subject: |
|
|
Hello Mike,
I now think we running around in circles.
Donahue has made for me a custum .config where i made a kernel of.
But also with this kernel still booting problems.
Roelof |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Fri Sep 18, 2009 7:22 pm Post subject: |
|
|
http://pastebin.ca/1571117
is a second try at a kernel using the new libata hard drive controllers drivers. This one should eliminate the timer problem you reported. If you still get the timer error; adding to the kernel line in grub may be needed. As in, kernel /boot/grub/bzImage hpet=force root=/dev/sdb3.
I will shortly post another kernel that will use the legacy hard drive controllers drivers. |
|
Back to top |
|
|
roelof Guru
Joined: 05 Feb 2009 Posts: 488
|
Posted: Fri Sep 18, 2009 7:26 pm Post subject: |
|
|
oke,
I will try them and report back.
One question : can i delete the prevoius build kernels which all of them don't work ?
Many thanks for the help.
Roelof |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Fri Sep 18, 2009 7:31 pm Post subject: |
|
|
yes deleting the failures is fine.
could you boot cd run and post results of |
|
Back to top |
|
|
roelof Guru
Joined: 05 Feb 2009 Posts: 488
|
Posted: Fri Sep 18, 2009 7:38 pm Post subject: |
|
|
Hello,
Yes, I can but it will be late tomorrow.
Im going to sleep , toworrow the whole day gone for medical reasons.
Roelof |
|
Back to top |
|
|
jomen Guru
Joined: 04 Jan 2006 Posts: 536 Location: Leipzig, Germany
|
Posted: Fri Sep 18, 2009 7:38 pm Post subject: |
|
|
Quote: | What i find wierd is that in the errror-message is stated 2.6.30-r4 where i use bzImage as kernel. |
Yes - but that is not a sign for a wrong kernel. It is after all a 2.6.30-r4 kernel you are trying to boot.
I even just confirmed with the old one I still had.
My kernel in this case is _named_ vmlinuz-2.6.30-gentoo-r4 and I get the same output as you are getting.
...so the name you (or I) gave it has nothing to do with it.
What can be a real source of the error is:
forgetting to mount /boot before installing the kernel
The directory exists - so you can copy to it. "make install" does not complain...
But it ends up in the partition where / is instead of in your /boot partition.
confirm with this command whether /boot is mounted before copying the kernel:
mount
and afterwards check if the kernel actually made it to that place with:
ls -al /boot
all that while in the chroot environment!
The failure message suggests eighter a missing driver in the kernel or the wrong kernel alltogether - maybe you boot the one you built some time ago (like I did )?
I vote for the wrong kernel (rather the one with only modules instead of built in drivers - the one from genkernel a few days ago) - because of this:
Code: | ...
list of all partitions :
no filesystem could mount root, tried:
... |
being empty
I think we have yet to see a complete output of:
lspci -v
fdisk -l (of each disk you have)
your current /boot/grub/grub.conf
and what CPU you have:
cat /proc/cpuinfo
...more or less in one place if possible - right here is preferred to pastebin
[edit] ...pastebin ... where _nobody_ will be able to see it after 4 weeks (or how long is the timeout?) have passed
- apart from being not very transparent or convenient to anyone reading this tread... _________________ Cheers |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Fri Sep 18, 2009 8:06 pm Post subject: |
|
|
http://pastebin.ca/1571180 contains a kernel intended to try the legacy drivers. It is not recommended but... |
|
Back to top |
|
|
cach0rr0 Bodhisattva
Joined: 13 Nov 2008 Posts: 4123 Location: Houston, Republic of Texas
|
Posted: Sat Sep 19, 2009 3:29 am Post subject: |
|
|
if it hasn't been posted already (I've been away for a while, feel lazy, and am not reading a 5 page thread), check my signature. And as others have mentioned, go with one of pappy's kernel seeds. _________________ Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash |
|
Back to top |
|
|
roelof Guru
Joined: 05 Feb 2009 Posts: 488
|
Posted: Sat Sep 19, 2009 3:10 pm Post subject: |
|
|
Hello,
We're working with pappy seeds.
Donahue:
Both kernels fail.
I tried both kernels with sdb3 en hdc3.
I was wonder if there's something wrong with my system.
Here's the output of cat /proc/cpuinfo
Code: |
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 47
model name : AMD Athlon(tm) 64 Processor 3500+
stepping : 2
cpu MHz : 2193.695
cache size : 512 KB
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt lm 3dnowext 3dnow rep_good extd_apicid pni lahf_lm
bogomips : 4387.39
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc
|
Roelof |
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Sat Sep 19, 2009 3:44 pm Post subject: |
|
|
roelof wrote: | I was wonder if there's something wrong with my system. |
Since you could boot the installCD or whatever you are using, then no - your system is OK.
Check that your /boot partition is mounted (if you use one)
Check that the name of the kernel is exactly the same in your grub.conf as in your /boot folder
Check that your /etc/fstab matches your grub.conf (allowing for the naming convention) |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sat Sep 19, 2009 4:36 pm Post subject: |
|
|
is this still the error?
Quote: | Linux agpgart interface v. 0.103
serio : i8042 kbd port at 0x60, 0x64 irq 1
serio: i8042 kbd port at 0x60,0x64 irg 12
mice : ps/2 mouse device driver common for all mice
input : AT Translated Set 2 keyboard as /class/input/input0
list of all partitions :
no filesystem could mount root, tried:
kernel panic - not syncing VFS: unable to mount root fs on unknown block (0,0)
pid 1, comm: swapper not tainted 2.6.30-r4#1
Call trace :
panic+0x0/0x13e
? sys_mknodat+0x1bc/0x1d2
? get_filesystem_list+0x52/0x76
? __bvdevname+0x31/0x38
mount_block_root+0x25a/0x278
mount_root+0x56/0x5a
prepare_namespace+0x134/0x161
kernel_init+0xc6/0xd2
? schedule_tail+0x18/0x40
child_rip+0x4/0x20
? kernel-init+0x0/0xd1
? child_rip+0x0/0x20
Clocksource tsc unstable (delta = -239981997 ns) |
boot cd and run and post result |
|
Back to top |
|
|
roelof Guru
Joined: 05 Feb 2009 Posts: 488
|
Posted: Sat Sep 19, 2009 4:50 pm Post subject: |
|
|
Hello Mike,
My boot partition is mounted.
The name is exactly namely bzImage.
In fstab everything is comment out so that doesn't match.
Roelof |
|
Back to top |
|
|
roelof Guru
Joined: 05 Feb 2009 Posts: 488
|
Posted: Sat Sep 19, 2009 5:08 pm Post subject: |
|
|
Hello Donahue.
It still got the same error message.
The data you ask for.
lspic - k
Code: |
00:00.0 Host bridge: ATI Technologies Inc RS480 Host Bridge (rev 10)
00:02.0 PCI bridge: ATI Technologies Inc RS480 PCI-X Root Port
Kernel driver in use: pcieport-driver
00:11.0 IDE interface: ATI Technologies Inc IXP SB400 Serial ATA Controller (rev 80)
Kernel driver in use: sata_sil
Kernel modules: ata_generic, sata_sil, pata_acpi
00:12.0 IDE interface: ATI Technologies Inc IXP SB400 Serial ATA Controller (rev 80)
Kernel driver in use: sata_sil
Kernel modules: ata_generic, sata_sil, pata_acpi
00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80)
Kernel driver in use: ohci_hcd
Kernel modules: ohci-hcd
00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80)
Kernel driver in use: ohci_hcd
Kernel modules: ohci-hcd
00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host Controller (rev 80)
Kernel driver in use: ehci_hcd
Kernel modules: ehci-hcd
00:14.0 SMBus: ATI Technologies Inc IXP SB400 SMBus Controller (rev 81)
00:14.1 IDE interface: ATI Technologies Inc IXP SB400 IDE Controller (rev 80)
Kernel driver in use: ATIIXP_IDE
Kernel modules: ata_generic, pata_atiixp, pata_acpi
00:14.2 Audio device: ATI Technologies Inc IXP SB4x0 High Definition Audio Controller (rev 01)
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
00:14.3 ISA bridge: ATI Technologies Inc IXP SB400 PCI-ISA Bridge (rev 80)
00:14.4 PCI bridge: ATI Technologies Inc IXP SB400 PCI-PCI Bridge (rev 80)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: nVidia Corporation G72 [GeForce 7300 LE] (rev a1)
02:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Kernel driver in use: 8139too
Kernel modules: 8139cp, 8139too
02:04.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306 Fire II IEEE 1394 OHCI Link Layer Controller (rev 80)
Kernel driver in use: ohci1394
Kernel modules: ohci1394
|
uname -a
Code: |
Linux livecd 2.6.30-gentoo-r4 #1 SMP Thu Sep 3 12:53:30 UTC 2009 x86_64 AMD Athlon(tm) 64 Processor 3500+ AuthenticAMD GNU/Linux
|
Roelof |
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Sat Sep 19, 2009 5:19 pm Post subject: |
|
|
roelof wrote: | In fstab everything is comment out so that doesn't match. |
Hmmm, I think you need a configured /etc/fstab in your chrooted Gentoo environment. |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sat Sep 19, 2009 5:58 pm Post subject: |
|
|
Quote: | Hmmm, I think you need a configured /etc/fstab in your chrooted Gentoo environment. |
Test it, you will find you don't. You will get a warning/note but not an error that stops the boot. This can be handy in eliminating fstab as a problem source.
If roelof enters the chroot he can run and the output should show the state of his mounted partitions. |
|
Back to top |
|
|
roelof Guru
Joined: 05 Feb 2009 Posts: 488
|
Posted: Sat Sep 19, 2009 6:17 pm Post subject: |
|
|
oke,
Somewhere in this topic someone suggested to comment out fstab and let udev and the kernel handle things.
I only can't find that part.
Donaue,
Do i have to the mount part so we can see if that's the problem or is it more a explanation ?
Roelof |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sat Sep 19, 2009 6:26 pm Post subject: |
|
|
explanation of how to check that partitions are ok when in chroot.
a new kernel config follows
looking at lspci -k data found module/driver ata_generic is used by cd but is not called out in the config. Update follows sonest.
Should have checked the help which says:
Quote: | Symbol: SATA_SIL [=n]
Prompt: Silicon Image SATA support
Defined at drivers/ata/Kconfig:163
Depends on: ATA && ATA_SFF && PCI
Location:
-> Device Drivers
-> Serial ATA (prod) and Parallel ATA (experimental) drivers (ATA
-> ATA SFF support (ATA_SFF [=y]) |
Ignorance and excessive reliance on lspci -n and the Debian HCL in this case.
Last edited by DONAHUE on Sat Sep 19, 2009 6:40 pm; edited 1 time in total |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sat Sep 19, 2009 6:31 pm Post subject: |
|
|
http://pastebin.ca/1572054 contains a config that should provide the same drivers the cd is using.
please do add to the kernel line in grub.conf
with this kernel the /dev/sd_ names should be correct unless ata_generic module affects naming (I've not used this module before).
running mount in the chroot and verifying that /boot and / partitions are in fact mounted is highly recommended prior to copying the bzImage. |
|
Back to top |
|
|
roelof Guru
Joined: 05 Feb 2009 Posts: 488
|
Posted: Sat Sep 19, 2009 7:55 pm Post subject: |
|
|
Hello Donahue.
I tried the new build kerne with this devices : sda3, sdb3, sdc3 and sdd3 but all failed.
The clock error message also stays.
I tried mount in the chroot environement and i say that
/dev/hdc1 was mounted on root
/dev/sda1 was mounted on /mnt/roelof
When i did in the chrooted envirioment :
mount /dev/hdc3 /boot
i get a message that i was already mounted and was busy.
It becomes very wierd now.
Roelof |
|
Back to top |
|
|
roelof Guru
Joined: 05 Feb 2009 Posts: 488
|
Posted: Sat Sep 19, 2009 8:16 pm Post subject: |
|
|
Hello,
I will dubbelcheck this tommorrow and if this is right, investigate where it comes from.
hdc1 is boot and hdc3 is root.
Roelof |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sat Sep 19, 2009 8:17 pm Post subject: |
|
|
in chroot
Code: | mount /dev/hdc3 /boot | should be Code: | mount /dev/hdc1 /boot |
|
|
Back to top |
|
|
jomen Guru
Joined: 04 Jan 2006 Posts: 536 Location: Leipzig, Germany
|
Posted: Sat Sep 19, 2009 8:33 pm Post subject: |
|
|
Isn't the mounting of the /boot partition to the / partition done before doing the chroot?
Once inside the chroot, all is mounted where it belongs then and no need to worry about this?
/me just watching now _________________ Cheers |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sat Sep 19, 2009 8:59 pm Post subject: |
|
|
shoulda been but should show in mount output if it was
good explanation of why nothing changes-new kernels are ending up on /dev/hdc3 instaed of /dev/hdc1 |
|
Back to top |
|
|
|