NotebookForums.com › Forums › General Notebook Discussions › Linux & Other OS's › The 5680/8890 Gentoo Thread
New Posts  All Forums:Forum Nav:

The 5680/8890 Gentoo Thread - Page 5

post #81 of 170
DRI is Direct Rendering Infrastructure, the basic framework for direct access to graphics hardware - mostly code that's in the X server. DRM is Direct Rendering Manager, the kernel module that gives hardware access to DRI programs. Both the ati-drivers and the drm drivers use DRI. (Just for clarification)
post #82 of 170
Thread Starter 
post #83 of 170
Thread Starter 

:mad:

Bah! Updated KDE to 3.2 today and guess what? XDM no longer accepts input from my keyboard! I've stumbled around for quite a while and finally got KDE to work with startx. However I am still unable to use XDM. Has anyone had this problem? I can live without XDM for now (hoping this thing is a bug) but I will definitely try again later.

Mikhail
post #84 of 170
Thread Starter 
Fixed the problem mentioned in the last post:

It appears that for some reason, X decided to start using VT7 instead of VT9 like it did before. Since I had 8 VTs intialized, X/KDM's keyboard input was conflicting with that of the 7th tty. The problem was fixed by decreasing the number of VTs thus eliminating the conflict.

Mikhail
post #85 of 170
Good evening,

I went through the trouble of typing a long detailed question regarding Gentoo and my 5680, but I wasn't quite satisfied with what I typed so I clicked the back button. At that point my question was gone. =( It's been a day; I think I'm over it now.

I have been a member of this forum for a few months now. I have popped my head in a few times to poke my nose around and read this and that and the goings on of my fellow 5680 owners. It wasn't until last week that I read through this section of the forum and decided to have a go at Linux. After reading about the functionality and customizability (is that a word!?!? ) for specifically my system I chose Gentoo.

First step: Acquire Gentoo. I found this to be the easiest aspect of the process so far. Follow the links on the Gentoo site and you're golden.

Part 2: Boot LiveCD and proceed with installation. This was pretty easy too until I got to the installation part. Strictly following the Gentoo installation guide (yeah right =Þ) on their webpage I copied and untarred all the necessary software.

III. Lame firewall; working around emerge. The biggest, most time consuming aspect of the installation. Yes even moreso that compiling. Background: I am currently overseas for the military and they have a really lame firewall setup. I have DHCP enabled and that works just fine. I can access the local base webpage and I have actually gotten through to Yahoo (somehow, lol ) and MSN once or twice. I continuously get a 'No route to host' prompt. So, a slight set back. Due to my inexperience with Linux and the stupid Registry file for XP that the proxy server sends out I have not been able to setup my 5680 properly for internet access.

I have worked around this by using a 64mb Lexar usbkey (definitely got a workout moving back and forth between two computers) to transfer the files that emerge was asking for. If only there was a way to know which files to download and copy over BEFORE. Some of these files really pissed me off when, after umount(ing) /dev/sda1, downloading, copying, mount(ing) /dev/sda1, cp /mnt/usbkey/distfiles/foo-x.x.x.tar.bz2 /usr/portage/distiles, emerge system, and the size of the file is only 34k or something lame like that. (I did start copying over multiple files after guessing which were necessary from emerge --pretend system.) Anyhoo, got through all that FINALLY.

The fourth step in my madness to get Gentoo installed and working properly: Configuring the Kernel and installing Grub. This step went over fairly smoothly, at first. I decided to go with the latest and greatest 2.6.3 kernel. Now, I pretty much don't know anything about Linux in comparison to most of you, but I thought I'd go out on a limb with the latest gentoo-dev-source. Going through the kernel configuration tool I slowly went through all the different settings trying to hit the HELP button as much as I could on the parts I wasn't quite sure of or that the Gentoo installation guide didn't specify.

**I think I set something up incorrectly here and this is the root of my problem

Grub was kind of a pain in the butt, but I finally got it working successfuly. I have installed Gentoo on the second HD in my 5680 and Grub wasn't too keen on it at first. I have learned that setting Grub up from the installation is the INCORRECT way when installing it on the second HD. I assume that because I installed Grub and set it up for the second HD, when boot time came around it was set it use (hd1), but instead, it placed my second HD on (hd0) which had it all out of whack. After deciphering through the garble on the Grub bootloader screen, I finally got things changed around so that Gentoo would actually load. Instead of using root (hd1,5) and kernel (hd1,0)/kernel-2.6.3 root=/dev/hdd6 vga=795 from Grub inside Gentoo and the installation phase I had to change it to root (hd0,5) and kernel (hd0,0)/kernel-2.6.3 root=/dev/hdd6 vga=795

Finally time to boot my Gentoo.

here goes, yay yay yay; it starts loading

ACK!

VFS: Cannot open root device "<NULL>" or hdd6
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on hdd6


alright, WTF is wrong with it? is there something i'm missing or that I have forgotten to do? here is a basic rundown of my fstab:

/dev/hdd1 /boot ext2 noauto,noatime 1 2
/dev/hdd5 none swap sw 0 0
/dev/hdd6 / ext3 noatime 0 1
/dev/hdd7 /usr ext3 noatime 0 0
/dev/hdd9 /home ext3 noatime 0 0
/dev/hdd10 /var ext3 noatime 0 0
/dev/hdc /mnt/cdrom iso9660 noauto,noatime 0 0
/dev/sda1 /mnt/usbkey ext2 noauto,noatime 0 0

none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0


If anyone can help a newbie out that would be great. Thanks in advance.

Paul

d00d! 7h15 9uy r0xx0rz 700 b4d h3'5 41i3n\/\/4r3
7h15 9uy r0xx0rz m0r3!!!
post #86 of 170
Try doing "root=2270".
post #87 of 170
Thread Starter 
Wow, Paul, You da man! To go through all that trouble... way to go.

First, about the initial steps of the installation. Did you ever try setting the proxy settings? I think that was outlined in the Gentoo installation doc. As for the kernel configuration, you made a good choice going with the 2.6 series. Also, I found that the "dont touch an option if you dont know what it is" approach to kernel configuration worked for me (if you read this thread entirely, I configured a basic kernel first and then started to add stuff to it).

Now, with the booting, I dont remember exactly what VFS is, but I know that there is a specific set of options that must be set in the kernel configuration. Check the manual to see if you have everything.

Good luck.

Mikhail
post #88 of 170
now it says:

VFS: Cannot open root device "2270" or unknown-block(34-112)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block(34,112)

what else can I try?
post #89 of 170
Quote:
Originally Posted by mmarkin
Wow, Paul, You da man!
awww, what can I say, thanks d00d!

Quote:
Originally Posted by mmarkin
First, about the initial steps of the installation. Did you ever try setting the proxy settings? I think that was outlined in the Gentoo installation doc.
yup, got all that. when I access http://proxy on winblowsXP it sends imports a line into the registry pointing to ANOTHER some lame script that i'm not sure how to explain. It's almost like it's hopping to different servers to access different kinds of webpages. some sort of ip filtering thing I think, but of course I could be wrong

PseudosaneX <----n3wbl4r

As far as not touching the kernel... oops! I may have to go through that and recompile without touching anything... by the time i'm done with kernels i'm sure i'll get one right

Q: is VFS a standard booting thing, or is there something else I can use instead? just a thought.

Thanks Mikhail,

Paul
post #90 of 170
Thread Starter 
Paul, quickly doing a search on the Gentoo Forums (forums.gentoo.org) I had a thought: make sure you have BUILT-IN (NOT module) support for all file systems you are using in the kernel. If there is no support or if the support is modulated and not loading at the right time, your system will not be able to read your root partition, etc., and thus your problem - the system being unable to read your root.

Also, you might want to get rid of 'noatime's in your fstab just to be safe.

Finally, if all else fails, you might want to try compiling a genkernel-ed kernel (an all-around kernel such as the one used by the LiveCD). If that thing doesnt work, chances are you have a problem with your fstab.

Mikhail

P.S. Stupid question: are you sure your root is ext3?
post #91 of 170
Thread Starter 
Another thing, Paul: Make sure you have the chipset support built-in.

Mikhail
post #92 of 170
Took a break for awhile, but I'm back... I didn't have genkernel emerged so I decided to DL and transfer the latest version to the laptop. I copied genkernel-3.0 over but when I try to emerge asks for genkernel-1.8. Not having very much luck with this... genkernel-1.8 emerged; compiling. Let's see if she'll boot with a genkernel kernel. I suppose we'll know if it's user configuration error or not.

**EDIT --22042202 0953hrs +4 GMT

Got into the genkernel'd OS, sort of.....

This is what I get and this is where is stops

Gentoo Linux; http://www.gentoo.org/
Copyright 2001-2003 Gentoo Technologies, Inc.; Distributed under the GPL

* Mounting proc at /proc... [ ok ]
* No /sys to mount sysfs needed in 2.5+ kernels!
* Mounting devfs at /dev... [ ok ]
* Starting devfsd...
Started device managment daemon v1.3.25 for /dev [ ok ]
* Activating (possible) swap...
Adding 499928k swap on /dev/hdd5. Priority:-1 extents:1 [ ok ]
* Remounting root filesystems read-only (if necessary)... [ !! ]

* Checking root filesystem...
fsck 1.33 (21-Apr-2003)
/dev/hdd6: clean, 10968/73280files, 55204/146530 blocks [ ok ]
* Remounting root filesystem read/write...
* Root filesystem could not be mounted read/write[ !! ]

Give root password for maintenance
(or type Control-D for normal startup):


So what all does that mean? I will post what it reads after I press ctrl-D in a few....

Paul
post #93 of 170


Alright this is how it reads after I press ctrl-D:

....a bunch of lines flying across the screen...

/sbin/rc: line 387: /var/lib/init.d/keymaps-657: Read-only file system
* ERROR: "/etc/init.d/keymaps" has syntax errors in it; not executing...
/sbin/rc: line 387: /var/lib/init.d/localmount-657: Read-only file system
* ERROR: "/etc/init.d/localmount" has syntax errors in it; not executing...
/sbin/rc: line 387: /var/lib/init.d/modules-657: Read-only file system
* ERROR: "/etc/init.d/modules" has syntax errors in it; not executing...
/sbin/rc: line 387: /var/lib/init.d/net.lo-657: Read-only file system
* ERROR: "/etc/init.d/net.lo" has syntax errors in it; not executing...
/sbin/rc: line 387: /var/lib/init.d/rmnlogin-657: Read-only file system
* ERROR: "/etc/init.d/rmnlogin" has syntax errors in it; not executing...
/sbin/rc: line 387: /var/lib/init.d/serial-657: Read-only file system
* ERROR: "/etc/init.d/serial" has syntax errors in it; not executing...
/sbin/rc: line 387: /var/lib/init.d/urandom-657: Read-only file system
* ERROR: "/etc/init.d/urandom" has syntax errors in it; not executing...
error copying: "/dev/vc/5" to "/lib/dev-state/vc/5"
error copying: "/dev/vc/5" to "/lib/dev-state/vc/5"
error copying: "/dev/vc/6" to "/lib/dev-state/vc/6"
error copying: "/dev/vc/6" to "/lib/dev-state/vc/6"


This is frozen.(none) (Linux i686 2.6.3-gentoo) 10:32.16

frozen login:



...and there you have it...

All those in favor of re-installing from scratch?

*PseudosaneX raises his hand and says, "aye"*

All those in favor of trying to fix it?

*PseudosaneX waits for mmarkin's and xiphux's to vote*


Paul
post #94 of 170

grrr, same problem...

ok - poked my nose around... looks like only the ext2 filesystems were recognized/mounted at boot. The last time I was booted up with the LiveCD I switched /dev/hdd6 / to ext2 so while booting with the genkernel'd kernel I was able to dmesg and this is the info gathered.

root@frozen bin # dmesg | more
Linux version 2.6.3-gentoo (root@cdimage) (gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice)) #1 Sun Feb 22 07:04:05 GMT 2004
BIOS-provided physical RAM map:
Bios-e820:
Bios-e820:
Bios-e820:
Bios-e820:
Bios-e820:
Bios-e820:
Bios-e820:
Bios-e820:
Bios-e820:
Bios-e820:
Bios-e820:
Warning only 896 will be used.
Use a HIGHMEM enabled kernel.
896MB LOWMEM available.
On node 0 totalpages: 229376
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 225280 pages, LIFO batch:16
HighMem zone: 0 pages, LIFO batch:1
DMI present.
ACPI:
ACPI:
ACPI:
ACPI:
ACPI:
ACPI:
ACPI:
Built 1 zonelists
Kernel command line:
Initializing CPU#0
PID hash table entries: 4096 (order 12: 32768 bytes)
Detected 2800.545 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Memory: 904016k/917504k available (2112k kernel code, 12708k reserved, 787k data, 124k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 5537.79 BogoMIPS
Dentry cache...
Inode-cache...
Mount-cache...
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 414k freed
CPU: ....
CPU: ....
CPU: ....
CPU: ....
CPU: ....
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz stepping 09
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception suppor... done.
Checking 'hlt' instruction... OK.
Checking for popad bug... OK.
POSIX conformance testing by UNIFIX
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfd9b2, last bus=3
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: ...
ACPI: ...
ACPI: ...
ACPI: ...
ACPI: ...
PCI: Probing...
PCI:
Transparent bridge - 0000:00:1e.0
ACPI: PCI Interrupt Routing Table ...
ACPI: PCI Interrupt Routing Table ...
ACPI: PCI Interrupt Routing Table ...
ACPI: PCI Interrupt Link ...
ACPI: PCI Interrupt Link ...
ACPI: PCI Interrupt Link ...
ACPI: PCI Interrupt Link ...
ACPI: PCI Interrupt Link ...
ACPI: PCI Interrupt Link ...
ACPI: PCI Interrupt Link ...
ACPI: PCI Interrupt Link ...
ACPI: Embedded Controller [EC] (gpe 28)
SCSI subsystem initialized
ACPI: PCI Interrupt Link ...
ACPI: PCI Interrupt Link ...
ACPI: PCI Interrupt Link ...
ACPI: PCI Interrupt Link ...
ACPI: PCI Interrupt Link ...
ACPI: PCI Interrupt Link ...
ACPI: PCI Interrupt Link ...
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci-noacpi' or even 'acpi=off'
SBF: Simple Boot Flag extention found and enabled.
SBF: Setting boot flags 0x1
devfs: v1.22 (20021013) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
SGI XFS with ACLs, realtime, no debug enabled
SGI XFS Quota Management subsystem
pty: 256 Unix98 ptys configured
Real Time Clock Driver v1.12
RAMDISK driver initialized: 16 RAM disks of 8192 size 1024 blocksize
Equalizer2002: Simon Janes (simon@ncm.com) and David S. Miller (davem@redhat.com)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33mhz system bus speed for PIO modes; override with idebus=xx
ICH5: IDE controller at PCI slot ....
PCI: Enabling device ....
ICH5: chipset revision 2
ICH5: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x2060-0x2067, BIOS settings: hdaMA, hdbio
ide1: BM-DMA at 0x2068-0x206f, BIOS settings: hdcMA, hddMA
hda: HTS726060M9AT00, ATA DISK drive
Using anticipatory io scheduler
ide0 at blah blah blah
hdc: TOSHIBA DVD-ROM SD-2512, ATAPI CD/DVD-ROM drive
hdd: TOSHIBA MK4025GAS, ATA DISK drive
ide1 at blah blah blah
hda: max request size: 1024KiB
hda: 117210240 sectors (60011 MB) w/7877KiB Cache, CHS=16383/255/63, UDMA(100)
/dev/ide/host0/bus0/target0/lun0: p1
hdd: max request size: 128KiB
hdd: 78140160 sectors (40007 MB), CHS=65535/16/63, UDMA (100)
/dev/ide/host0/bus1/target1/lun0: p1 p2 < p5 p6 p7 p8 p9 p10 > p3
hdc: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA (33)
Uniform CD-ROM driver Revision: 3.20
mice: PS/2 mouse device common for all mice
i8042.c: Detected active multiplexing controller, rev 1.1.
serio: i8042 AUX0 ....
serio: i8042 AUX1 ....
serio: i8042 AUX2 ....
serio: i8042 AUX3 ....
Synaptics Touchpad, model: 1
Firmware: 5.6
180 degree mounted touchpad
Sensor: 18
new absolute packet format
Touchpad has extended capability bits
-> four buttons
-> multifinger detection
-> palm detection
input: SynPS/2 Synaptics Touchpad on isa00/serio4
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
NET: Registered protocol family 2
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP: Hash tables configured ...
NET: Registered protocol family 1
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
ACPI: (supports S0 S3 S4 S5)
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
VFS: Mounted root (ext2 filesystem) readonly.
Trying to move old root to /initrd ... failed
Unmounting old root
Trying to free ramdisk memory ... okay
Freeing unused kernel memory: 124k freed
Adding 499928k swap on /dev/hdd5. Priority:-1 extents:1
EXT3-fs: Unrecognized mount option "0" or missing value
EXT3-fs: Unrecognized mount option "0" or missing value
EXT3-fs: Unrecognized mount option "0" or missing value
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
EXT3-fs: Unrecognized mount option "0" or missing value
hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdc: packet command error: error=0x50
ATAPI device hdc:
Error: Illegal request -- (Sense key=0x05)
Invalid field in command packet -- (asc=0x24, ascq=0x00)
The failed "Start/Stop Unit" packet command was:
"1b 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 "
Error in command packet byte 4 bit 0
root@frozen bin #



That's it.... for some reason it doesn't look like it is loading EXT3-fs support in time for the drives to mount... should I change them all over to EXT2-fs or is there a work around for this? Anyone have any ideas?

Thanks in advance!
post #95 of 170
w00t!!! got it up and running! WOo-HOo!!!

I compiled a new kernel making positively absolutely sure that ext2fs and ext3fs were selected for KERNEL. Also, I made sure my fstab listed /dev/hdd1 /boot first then swap, then root, then the other partitions and VOILA!

that r0xx0rz!

Okokokok, I know it couldn't be toooo good to be true. I did have one issue with the 8169. It doesn't come up but saying something regarding the gateway, so I'll have to take a look at the settings when X is done emerging.

I do have a question about drivers for ATI. I did select them in the kernel, but how do I make sure the module is loaded at boot? Also, what settings do I use for X -configure ?

Now for the other drivers...

Paul
post #96 of 170
Thread Starter 
Congrats, Paul! Yeah, as you found out, all of this was just a user configuration problem.

As for the ATI drivers, what you selected in the kernel was just the support for the card - you still have to emerge the drivers. After you have X set up, 'emerge ati-drivers'. Once thats done, it will ask you to 'opengl-update ati' which will tell OpenGL to use the drivers. Then, you will have to use the ATI configuration utility, 'fglrxconfig' (or something very similar to that; sorry, dont remember off the top of my head) which will give you a whole bunch of options and create a proper X configuration file for you. Once thats done, it should all work; to test, run glxgears and see if you get scores above 2g's - if you do, the direct hardware rendering is working and everything is good.

BTW, I am sure all of this has been mentioned in this thread a few times. If you havent done so, please read the whole thing.

Good luck; keep us posted.

Mikhail
post #97 of 170
Did anyone else have any trouble getting ACPI to work? I've got it compiled into my kernel but whenever I try to set up the options Gentoo says it's not activated. Is there some step that i am missing?
post #98 of 170
Thread Starter 
Quote:
Originally Posted by rk_cr
Did anyone else have any trouble getting ACPI to work? I've got it compiled into my kernel but whenever I try to set up the options Gentoo says it's not activated. Is there some step that i am missing?
Which options are you referring to, rk_cr?
post #99 of 170
Any of the options involving ACPI or APM. It says I simply do not have ACPI support, at all.
post #100 of 170
Thread Starter 
No, no; WHERE are you trying to set them? KDE?

Mikhail
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux & Other OS's
NotebookForums.com › Forums › General Notebook Discussions › Linux & Other OS's › The 5680/8890 Gentoo Thread