Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel suggest [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
198728
l33t
l33t


Joined: 08 Apr 2009
Posts: 693

PostPosted: Thu Dec 29, 2011 10:42 pm    Post subject: kernel suggest [solved] Reply with quote

Here my lspci -k
Code:
00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 02)
   Subsystem: ASUSTeK Computer Inc. Device 82d3
00:01.0 PCI bridge: Intel Corporation 4 Series Chipset PCI Express Root Port (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
   Subsystem: ASUSTeK Computer Inc. Device 82d4
00:1a.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5
   Subsystem: ASUSTeK Computer Inc. Device 82d4
00:1a.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6
   Subsystem: ASUSTeK Computer Inc. Device 82d4
00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
   Subsystem: ASUSTeK Computer Inc. Device 82d4
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
   Subsystem: ASUSTeK Computer Inc. Device 8311
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1
00:1c.4 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 5
00:1d.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
   Subsystem: ASUSTeK Computer Inc. Device 82d4
00:1d.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
   Subsystem: ASUSTeK Computer Inc. Device 82d4
00:1d.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
   Subsystem: ASUSTeK Computer Inc. Device 82d4
00:1d.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
   Subsystem: ASUSTeK Computer Inc. Device 82d4
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller
   Subsystem: ASUSTeK Computer Inc. Device 82d4
00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA AHCI Controller
   Subsystem: ASUSTeK Computer Inc. P5Q Deluxe Motherboard
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
   Subsystem: ASUSTeK Computer Inc. Device 82d4
01:00.0 VGA compatible controller: nVidia Corporation Device 1200 (rev a1)
   Subsystem: ZOTAC International (MCO) Ltd. Device 2227
01:00.1 Audio device: nVidia Corporation Device 0e0c (rev a1)
   Subsystem: ZOTAC International (MCO) Ltd. Device 2227
02:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6121 SATA II Controller (rev b1)
   Subsystem: ASUSTeK Computer Inc. Device 8212
03:00.0 PCI bridge: Integrated Device Technology, Inc. PES16T7 PCI Express Switch (rev 0d)
04:01.0 PCI bridge: Integrated Device Technology, Inc. PES16T7 PCI Express Switch (rev 0d)
04:02.0 PCI bridge: Integrated Device Technology, Inc. PES16T7 PCI Express Switch (rev 0d)
04:03.0 PCI bridge: Integrated Device Technology, Inc. PES16T7 PCI Express Switch (rev 0d)
04:04.0 PCI bridge: Integrated Device Technology, Inc. PES16T7 PCI Express Switch (rev 0d)
04:05.0 PCI bridge: Integrated Device Technology, Inc. PES16T7 PCI Express Switch (rev 0d)
04:06.0 PCI bridge: Integrated Device Technology, Inc. PES16T7 PCI Express Switch (rev 0d)
06:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller (rev 12)
   Subsystem: ASUSTeK Computer Inc. Device 81f8
07:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller (rev 12)
   Subsystem: ASUSTeK Computer Inc. Device 81f8
08:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller (rev 12)
   Subsystem: ASUSTeK Computer Inc. Device 81f8
09:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller (rev 12)
   Subsystem: ASUSTeK Computer Inc. Device 81f8
0b:03.0 FireWire (IEEE 1394): Agere Systems FW322/323 (rev 70)
   Subsystem: ASUSTeK Computer Inc. IEEE 1394a Firewire Controller


here lspci -n
Code:
00:00.0 0600: 8086:2e20 (rev 02)
00:01.0 0604: 8086:2e21 (rev 02)
00:1a.0 0c03: 8086:3a37
00:1a.1 0c03: 8086:3a38
00:1a.2 0c03: 8086:3a39
00:1a.7 0c03: 8086:3a3c
00:1b.0 0403: 8086:3a3e
00:1c.0 0604: 8086:3a40
00:1c.4 0604: 8086:3a48
00:1d.0 0c03: 8086:3a34
00:1d.1 0c03: 8086:3a35
00:1d.2 0c03: 8086:3a36
00:1d.7 0c03: 8086:3a3a
00:1e.0 0604: 8086:244e (rev 90)
00:1f.0 0601: 8086:3a16
00:1f.2 0106: 8086:3a22
00:1f.3 0c05: 8086:3a30
01:00.0 0300: 10de:1200 (rev a1)
01:00.1 0403: 10de:0e0c (rev a1)
02:00.0 0101: 11ab:6121 (rev b1)
03:00.0 0604: 111d:802d (rev 0d)
04:01.0 0604: 111d:802d (rev 0d)
04:02.0 0604: 111d:802d (rev 0d)
04:03.0 0604: 111d:802d (rev 0d)
04:04.0 0604: 111d:802d (rev 0d)
04:05.0 0604: 111d:802d (rev 0d)
04:06.0 0604: 111d:802d (rev 0d)
06:00.0 0200: 11ab:4364 (rev 12)
07:00.0 0200: 11ab:4364 (rev 12)
08:00.0 0200: 11ab:4364 (rev 12)
09:00.0 0200: 11ab:4364 (rev 12)
0b:03.0 0c00: 11c1:5811 (rev 70)


My .config where something it's wrong or missing here


Last edited by 198728 on Sun Jan 01, 2012 5:08 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Thu Dec 29, 2011 10:48 pm    Post subject: Reply with quote

mrl4n,

I suggest Kernel Seeds
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
198728
l33t
l33t


Joined: 08 Apr 2009
Posts: 693

PostPosted: Thu Dec 29, 2011 11:02 pm    Post subject: Reply with quote

Thanks I just visit it...probably it's too generic, but it's works.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Thu Dec 29, 2011 11:04 pm    Post subject: Reply with quote

mrl4n,

Its not generic. You have to add your own hardware support.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
198728
l33t
l33t


Joined: 08 Apr 2009
Posts: 693

PostPosted: Thu Dec 29, 2011 11:27 pm    Post subject: Reply with quote

Ok, probably I'don't see all the site well...
Back to top
View user's profile Send private message
198728
l33t
l33t


Joined: 08 Apr 2009
Posts: 693

PostPosted: Fri Dec 30, 2011 11:40 pm    Post subject: Reply with quote

I've tried with kernel seeds...nothing
Crazy after three days, I've tried with genkernel...
Code:
md: waiting for all device to be available before autodetected
md: If you don't use raid, use raid=no autodetect
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun...
md: ...autorun DONE.
List of all partition:
No filesystem could mount root, tried: ext3
Kernel panic - not syncing: VFS: Unable to mount root fs an unknow-block (1,0)
Pid: 1, comm: swapper Not tainted 3.0.6-gentoo #1
Call trace:
[<ffffffff813ef1ea>] ? panic+0x92/0x190
[<ffffffff8116eef0>] ? mount_block_root+0x1bc/0x1da
[<ffffffff816ef0dd>] ? mountroot+0xa5/0xab
[<ffffffff816ef24b>] ? prepare_namespace+0x168/0x19e
[<ffffffff816eebf5>] ? kernel_init+0x105/0x10e
[<ffffffff813f2e24>] ? kernel_thread_helper+0x4/0x10
[<ffffffff816eeaf0>] ? start_kernel+0x349/0x349

...
Back to top
View user's profile Send private message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1558
Location: Adelaide/Australia

PostPosted: Sat Dec 31, 2011 12:10 am    Post subject: Reply with quote

Looks like you have a filesystem that you have not compiled into your kernel.
_________________
...Lyall
Back to top
View user's profile Send private message
198728
l33t
l33t


Joined: 08 Apr 2009
Posts: 693

PostPosted: Sat Dec 31, 2011 12:12 am    Post subject: Reply with quote

Ok, but this time I've used genkernel...
Back to top
View user's profile Send private message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1558
Location: Adelaide/Australia

PostPosted: Sat Dec 31, 2011 12:15 am    Post subject: Reply with quote

Yes, but the filesystem you use on / must be built into the kernel, not as a module.
genkernel has most filesystems as modules, afaik, with ext3 being one of the few built in.
_________________
...Lyall
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1945
Location: Zurich, Switzerland

PostPosted: Sat Dec 31, 2011 12:16 am    Post subject: Reply with quote

either build it in, or used the initramfs as provided by genkernel.
_________________
read the portage output!
If my answer is too concise, ask for an explanation.
Back to top
View user's profile Send private message
198728
l33t
l33t


Joined: 08 Apr 2009
Posts: 693

PostPosted: Sat Dec 31, 2011 12:18 am    Post subject: Reply with quote

I verify the config.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Sat Dec 31, 2011 12:37 am    Post subject: Reply with quote

mrl4n,

Code:
unknow-block (1,0)
is /dev/ram0
Thats yourinitrd is you told grub to load one. If not it won't exist.

If you use genkernel, you msur adjust your grub.conf as kernel seeds does not need an initrd.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
198728
l33t
l33t


Joined: 08 Apr 2009
Posts: 693

PostPosted: Sat Dec 31, 2011 1:19 am    Post subject: Reply with quote

It's the first time that I use genkernel, I don't understand as it works...my grub.conf
Code:
default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title Gentoo Linux 3.0.6
root (hd0,0)
kernel /boot/kernel-genkernel-x86_64-3.0.6-gentoo root=/dev/ram0 real_root=/dev/sdc3 rootfstype=ext3 ramdisk=81 initrd /boot/initramfs-genkernel-x86_64-3.0.6-gentoo video=uvesafb:mtrr,ywrap,1024x768-32@85.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Sat Dec 31, 2011 4:18 pm    Post subject: Reply with quote

mrl4n,

A few words about the boot process are in order ...
When the BIOS does its think, it loads grub stage1 from the Master Boot Record (MBR), which is block 0 on your drive, then jumps to it.
The MBR is now in control. It makes BIOS calls to load grub stage1.5 from teh spare blocks outside the filesystems just following the MBR.
Thats blocks 1..62 (62 is the max)

Grub stage1.5 can read exactly one filesystem type. It loads /boot/grub/stage2 which does everything that grub does.
It reads grub.conf to find out what to do.

In your case its loads
Code:
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
and displays it and writes
Code:
Gentoo Linux 3.0.6
over the top.
Next it waits
Code:
timeout 30
30 seconds or until you press a key, then it follows the commands under the tilte you selected.

Code:
root (hd0,0)
tells grub the following file names are on the firts partition on the first BIOS discovered HDD.
So it loads the kernel file
Code:
/boot/kernel-genkernel-x86_64-3.0.6-gentoo
into memory and jups to it.
Things start to go wrong here.

As your kernel was made by genkernel, it expects to find an initrd or initramfs but you have not asked grub to load one
You need a line
Code:
initrd /boot/initramfs-genkernel-x86_64-3.0.6-gentoo
after your kernel line in grub.conf.
genkernel should have made the file /boot/initramfs-genkernel-x86_64-3.0.6-gentoo for you. Do check check that its there and I have the name correct.
Use the actual name of your initramfs. Keep in mind the initrd idaa ...
The initrd file is loaded into memory and left at the location of /dev/ram0 for the kernel to find.

Now your kernel paramaters.
Code:
root=/dev/ram0
tells the kernel yo use the content of /dev/ram0 as its root filesystem.

Hmm. You have one long line
Code:
kernel /boot/kernel-genkernel-x86_64-3.0.6-gentoo root=/dev/ram0 real_root=/dev/sdc3 rootfstype=ext3 ramdisk=81 initrd /boot/initramfs-genkernel-x86_64-3.0.6-gentoo video=uvesafb:mtrr,ywrap,1024x768-32@85

It should be two lines.
Line one
Code:
kernel /boot/kernel-genkernel-x86_64-3.0.6-gentoo root=/dev/ram0 real_root=/dev/sdc3 rootfstype=ext3 video=uvesafb:mtrr,ywrap,1024x768-32@85


Line two
Code:
initrd /boot/initramfs-genkernel-x86_64-3.0.6-gentoo

The initrd is an instruction to grub to load the initrd file, not to the kernel, which can't do anything until root is mounted.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
198728
l33t
l33t


Joined: 08 Apr 2009
Posts: 693

PostPosted: Sun Jan 01, 2012 5:08 pm    Post subject: Reply with quote

Works fine, thanks, you are great.
Now with your explanation I know the genkernel job.
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
Page 1 of 1

 
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