Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems with the first boot of my laptop [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
xexio
n00b
n00b


Joined: 13 Aug 2010
Posts: 15
Location: Spain

PostPosted: Sun Jun 12, 2011 2:00 am    Post subject: Problems with the first boot of my laptop [solved] Reply with quote

I install Gentoo following the gentoo handbook but when I turn on the laptop at start shows a kernel panic

kernel panic:
Code:
VFS: Cannot open root device "(null)" or unknown-block(8,3)
         Please append a correct "root= " boot option, here are the available partitions
         Kernel panic-not syncincing:VFS: Unable to mount root fs on unknown-block(8,3)


/etc/fstab:
Code:

# /etc/fstab: static file system information.
#
# <fs>         <mountpoint>   <type>      <opts>      <dump/pass>

/dev/sda1         /boot         ext2      defaults,noatime   1 2
/dev/sda3         /            ext3      noatime         0 1
/dev/sda2         none         swap      sw            0 0
/dev/cdrom      /mnt/cdrom      auto      noauto,user      0 0

proc          /proc         proc      defaults         0 0
shm            /dev/shm         tmpfs      nodev,nosuid,noexec 0 0



and grub.conf:
Code:

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

title Gentoo Linux
root (hd0,0)
kernel /boot/kernel2.6.39 real_root=/dev/sda3


What is the trouble?


Last edited by xexio on Mon Jun 13, 2011 2:35 am; edited 1 time in total
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sun Jun 12, 2011 2:12 am    Post subject: Reply with quote

not
Quote:
real_root=/dev/sda3
but rather
Quote:
root=/dev/sda3

however it also appears that the hard drive adapter driver is not built in to the kernel
enter chroot
Code:
emerge pciutils wgetpaste
lspci -k | wgetpaste
post the url's
_________________
Defund the FCC.
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: Sun Jun 12, 2011 2:55 am    Post subject: Reply with quote

i *think* he already has the HDD driver built in
i say this because from what I remember, (8,3) is the 3rd partition on sda

Code:

houacer01 dev # stat sda3
  File: `sda3'
  Size: 0               Blocks: 0          IO Block: 4096   block special file
Device: 5h/5d   Inode: 331         Links: 1     Device type: 8,3


(see Device type)

should just be his s/real_root/root/ change
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sun Jun 12, 2011 3:55 am    Post subject: Reply with quote

not showing Driver: sd and available partitions: sda1 ....
_________________
Defund the FCC.
Back to top
View user's profile Send private message
xexio
n00b
n00b


Joined: 13 Aug 2010
Posts: 15
Location: Spain

PostPosted: Mon Jun 13, 2011 12:25 am    Post subject: Reply with quote

the result of lspci -k :
Code:

00:00.0 Host bridge: Intel Corporation Arrandale DRAM Controller (rev 18)
   Subsystem: ASUSTeK Computer Inc. Device 1f27
   Kernel driver in use: agpgart-intel
00:02.0 VGA compatible controller: Intel Corporation Arrandale Integrated Graphics Controller (rev 18)
   Subsystem: ASUSTeK Computer Inc. Device 1be2
00:16.0 Communication controller: Intel Corporation Ibex Peak HECI Controller (rev 06)
   Subsystem: ASUSTeK Computer Inc. Device 1f27
00:1a.0 USB Controller: Intel Corporation Ibex Peak USB2 Enhanced Host Controller (rev 06)
   Subsystem: ASUSTeK Computer Inc. Device 1f27
   Kernel driver in use: ehci_hcd
   Kernel modules: ehci-hcd
00:1b.0 Audio device: Intel Corporation Ibex Peak High Definition Audio (rev 06)
   Subsystem: ASUSTeK Computer Inc. Device 13f3
00:1c.0 PCI bridge: Intel Corporation Ibex Peak PCI Express Root Port 1 (rev 06)
   Kernel driver in use: pcieport
   Kernel modules: shpchp
00:1c.1 PCI bridge: Intel Corporation Ibex Peak PCI Express Root Port 2 (rev 06)
   Kernel driver in use: pcieport
   Kernel modules: shpchp
00:1c.2 PCI bridge: Intel Corporation Ibex Peak PCI Express Root Port 3 (rev 06)
   Kernel driver in use: pcieport
   Kernel modules: shpchp
00:1c.5 PCI bridge: Intel Corporation Ibex Peak PCI Express Root Port 6 (rev 06)
   Kernel driver in use: pcieport
   Kernel modules: shpchp
00:1d.0 USB Controller: Intel Corporation Ibex Peak USB2 Enhanced Host Controller (rev 06)
   Subsystem: ASUSTeK Computer Inc. Device 1f27
   Kernel driver in use: ehci_hcd
   Kernel modules: ehci-hcd
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6)
00:1f.0 ISA bridge: Intel Corporation Ibex Peak LPC Interface Controller (rev 06)
   Subsystem: ASUSTeK Computer Inc. Device 1f27
   Kernel modules: iTCO_wdt
00:1f.2 SATA controller: Intel Corporation Ibex Peak 4 port SATA AHCI Controller (rev 06)
   Subsystem: ASUSTeK Computer Inc. Device 1f27
   Kernel driver in use: ahci
   Kernel modules: ahci
00:1f.3 SMBus: Intel Corporation Ibex Peak SMBus Controller (rev 06)
   Subsystem: ASUSTeK Computer Inc. Device 1f27
   Kernel modules: i2c-i801
00:1f.6 Signal processing controller: Intel Corporation Ibex Peak Thermal Subsystem (rev 06)
   Subsystem: ASUSTeK Computer Inc. Device 1f27
02:00.0 Network controller: Intel Corporation WiFi Link 100 Series
   Subsystem: Intel Corporation Device 1305
   Kernel driver in use: iwlagn
   Kernel modules: iwlagn
04:00.0 System peripheral: JMicron Technology Corp. SD/MMC Host Controller (rev 80)
   Subsystem: ASUSTeK Computer Inc. Device 1a07
   Kernel driver in use: sdhci-pci
   Kernel modules: sdhci-pci
04:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller (rev 80)
   Subsystem: ASUSTeK Computer Inc. Device 1a07
   Kernel modules: sdhci-pci
04:00.3 System peripheral: JMicron Technology Corp. MS Host Controller (rev 80)
   Subsystem: ASUSTeK Computer Inc. Device 1a07
   Kernel driver in use: jmb38x_ms
   Kernel modules: jmb38x_ms
04:00.4 System peripheral: JMicron Technology Corp. xD Host Controller (rev 80)
   Subsystem: ASUSTeK Computer Inc. Device 1a07
04:00.5 Ethernet controller: JMicron Technology Corp. JMC250 PCI Express Gigabit Ethernet (rev 03)
   Subsystem: ASUSTeK Computer Inc. Device 1905
   Kernel driver in use: jme
   Kernel modules: jme
ff:00.0 Host bridge: Intel Corporation QuickPath Architecture Generic Non-core Registers (rev 05)
   Subsystem: Intel Corporation Device 8086
ff:00.1 Host bridge: Intel Corporation QuickPath Architecture System Address Decoder (rev 05)
   Subsystem: Intel Corporation Device 8086
ff:02.0 Host bridge: Intel Corporation QPI Link 0 (rev 05)
   Subsystem: Intel Corporation Device 8086
ff:02.1 Host bridge: Intel Corporation QPI Physical 0 (rev 05)
   Subsystem: Intel Corporation Device 8086
ff:02.2 Host bridge: Intel Corporation Device 2d12 (rev 05)
   Subsystem: Intel Corporation Device 8086
ff:02.3 Host bridge: Intel Corporation Device 2d13 (rev 05)
   Subsystem: Intel Corporation Device 8086

I recompiled a kernel with the drivers: ahci for the SATA....

and now comes another kernel panic

shows that

Code:

VFS: Cannot open root device "sda3" or unknown-block(0,0)
         Please append a correct "root= " boot option, here are the available partitions
         Kernel panic-not syncincing:VFS: Unable to mount root fs on unknown-block(0,0)


This is the .config of my kernel: http://pastebin.com/QK3LBvae


I not install OpenRC may be that the problem?
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon Jun 13, 2011 12:54 am    Post subject: Reply with quote

You need to enable the scsi transport for the hard drive adapters
Quote:
Device Drivers --->
< > ATA/ATAPI/MFM/RLL support --->
SCSI device support --->
*** SCSI support type (disk, tape, CD-ROM) ***
<*> SCSI disk support
< > SCSI tape support
< > SCSI OnStream SC-x0 tape support
<*> SCSI CDROM support
<*> Serial ATA (prod) and Parallel ATA (experimental) drivers --->
--- Serial ATA and Parallel ATA drivers
[ ] Verbose ATA error reporting
[*] ATA ACPI Support
[ ] SATA Port Multiplier support
*** Controllers with non-SFF native interface ***
<*> AHCI SATA support
< > Platform AHCI SATA support
< > Initio 162x SATA support
< > Silicon Image 3124/3132 SATA support
[*] ATA SFF support
*** SFF controllers with custom DMA interface ***
< > Pacific Digital ADMA support
< > Pacific Digital SATA QStor support
< > Promise SATA SX4 support (Experimental)
[*] ATA BMDMA support
*** SATA SFF controllers with BMDMA ***
< > Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support
< > Marvell SATA support
< > NVIDIA SATA support
< > Promise SATA TX2/TX4 support
< > Silicon Image SATA support
< > SiS 964/965/966/180 SATA support
< > ServerWorks Frodo / Apple K2 SATA support
< > ULi Electronics SATA support
< > VIA SATA support
< > VITESSE VSC-7174 / INTEL 31244 SATA support
*** PATA SFF controllers with BMDMA ***
< > ALi PATA support
< > AMD/NVidia PATA support
< > ARTOP 6210/6260 PATA support
< > ATI PATA support
< > ARTOP/Acard ATP867X PATA support
< > CMD64x PATA support
< > CS5510/5520 PATA support
< > CS5530 PATA support
< > Cypress CY82C693 PATA support (Very Experimental)
< > EFAR SLC90E66 support
< > HPT 366/368 PATA support
< > HPT 370/370A/371/372/374/302 PATA support
< > HPT 372N/302N PATA support
< > HPT 343/363 PATA support
< > IT8213 PATA support (Experimental)
< > IT8211/2 PATA support
<*> JMicron PATA support
< > Marvell PATA support via legacy mode
< > NETCELL Revolution RAID support
< > Ninja32/Delkin Cardbus ATA support
< > Nat Semi NS87415 PATA support
< > Intel PATA old PIIX support
< > OPTI FireStar PATA support (Very Experimental)
< > Promise PATA 2027x support
< > Older Promise PATA controller support
< > RADISYS 82600 PATA support (Experimental)
< > RDC PATA support
< > SC1200 PATA support
< > Intel SCH PATA support
< > SERVERWORKS OSB4/CSB5/CSB6/HT1000 PATA support
< > CMD / Silicon Image 680 PATA support
< > SiS PATA support
< > Toshiba Piccolo support (Experimental)
< > Compaq Triflex PATA support
< > VIA PATA support
< > Winbond SL82C105 PATA support
*** PIO-only SFF controllers ***
< > CMD640 PCI PATA support (Experimental)
< > Intel PATA MPIIX support
< > Nat Semi NS87410 PATA support
< > OPTI621/6215 PATA support (Very Experimental)
< > PC Tech RZ1000 PATA support
*** Generic fallback / legacy drivers ***
< > ACPI firmware driver for PATA
< > Generic ATA support
< > Legacy ISA PATA support (Experimental)
You are missing some other drivers for some extras, more later.
Have you done this? https://forums.gentoo.org/viewtopic-t-880149.html
_________________
Defund the FCC.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon Jun 13, 2011 1:12 am    Post subject: Reply with quote

video should be as builtin vice modules for kms to work in boot process:
Quote:

Graphics support --->
<*> /dev/agpgart (AGP Support) --->
<*> Intel 440LX/BX/GX, I8xx and E7x05 chipset support
<*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->
<*> Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver) --->
i915 driver
[*] Enable modesetting on intel by default
<M> Intel GMA500 Stub Driver
-*- Support for frame buffer devices --->
--- Support for frame buffer devices
[*] Enable firmware EDID
[ ] Framebuffer foreign endianness support --->
[*] Enable Video Mode Handling Helpers
[*] Enable Tile Blitting Support
*** Frame buffer hardware drivers ***
< > Cirrus Logic support
< > Permedia2 support
< > CyberPro 2000/2010/5000 support
< > Arc Monochrome LCD board support
[ ] Asiliant (Chips) 69000 display support
[ ] IMS Twin Turbo display support
< > VGA 16-color graphics support
< > Userspace VESA VGA graphics support
[ ] VESA VGA graphics support
< > N411 Apollo/Hecuba devkit support
< > Hercules mono graphics support
< > Epson S1D13XXX framebuffer support
< > nVidia Framebuffer Support
< > nVidia Riva support
< > Intel LE80578 (Vermilion) support
< > Matrox acceleration
< > ATI Radeon display support
< > ATI Rage128 display support
< > ATI Mach64 display support
< > S3 Trio/Virge support
< > S3 Savage support
< > SiS/XGI display support
< > VIA UniChrome (Pro) and Chrome9 display support
< > NeoMagic display support
< > IMG Kyro support
< > 3Dfx Banshee/Voodoo3/Voodoo5 display support
< > 3Dfx Voodoo Graphics (sst1) support
< > VIA VT8623 support
< > Trident/CyberXXX/CyberBlade support
< > ARK 2000PV support
< > Permedia3 support (EXPERIMENTAL)
< > Fujitsu carmine frame buffer support
[ ] AMD Geode family framebuffer support (EXPERIMENTAL)
< > Displaylink USB Framebuffer support
< > Virtual Frame Buffer support (ONLY FOR TESTING!)
< > E-Ink Metronome/8track controller support
< > Fujitsu MB862xx GDC support
< > E-Ink Broadsheet/Epson S1D13521 controller support
[*] Backlight & LCD device support --->
--- Backlight & LCD device support
<*> Lowlevel LCD controls
< > Platform LCD controls
<*> Lowlevel Backlight controls
< > Generic (aka Sharp Corgi) Backlight Driver
< > Frontpath ProGear Backlight Driver
< > MacBook Pro Nvidia Backlight Driver
< > Tabletkiosk Sahara Touch-iT Backlight Driver
< > Backlight Driver for ADP8860/ADP8861/ADP8863 using WLED
Backlight & LCD device support --->
Display device support --->
<*> Display panel/monitor support
*** Display hardware drivers ***
Console display driver support --->
-*- VGA text console
[*] Enable Scrollback Buffer in System RAM
(256) Scrollback Buffer Size (in KB)
<*> Framebuffer Console support
[ ] Map the console to the primary display device
[ ] Framebuffer Console Rotation
[ ] Select compiled-in fonts
[*] Bootup logo --->
--- Bootup logo
[ ] Standard black and white Linux logo
[ ] Standard 16-color Linux logo
[*] Standard 224-color Linux logo

_________________
Defund the FCC.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon Jun 13, 2011 1:27 am    Post subject: Reply with quote

Card reader:
Device Drivers --->
<M> Sony MemoryStick card support (EXPERIMENTAL) --->
<M> JMicron JMB38X MemoryStick interface support (EXPERIMENTAL)
_________________
Defund the FCC.
Back to top
View user's profile Send private message
xexio
n00b
n00b


Joined: 13 Aug 2010
Posts: 15
Location: Spain

PostPosted: Mon Jun 13, 2011 2:34 am    Post subject: Reply with quote

thanks trouble solved :D
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