View previous topic :: View next topic |
Author |
Message |
jaclar n00b
Joined: 07 Aug 2007 Posts: 17
|
Posted: Mon Nov 19, 2007 3:47 pm Post subject: |
|
|
Code: | CC mm/page_alloc.o
mm/page_alloc.c: In function 'badram_markpages':
mm/page_alloc.c:3036: error: 'mem_map' undeclared (first use in this function)
mm/page_alloc.c:3036: error: (Each undeclared identifier is reported only once
mm/page_alloc.c:3036: error: for each function it appears in.)
mm/page_alloc.c: In function 'badram_setup':
mm/page_alloc.c:3062: error: 'mem_map' undeclared (first use in this function)
mm/page_alloc.c:3066: warning: passing argument 3 of 'get_longoptions' from incompatible pointer type
make[1]: *** [mm/page_alloc.o] Error 1
make: *** [mm] Error 2 |
and here is the link to the commit:
http://repo.or.cz/w/linux-2.6/zen-sources.git?a=commit;h=28d8fe931621a1613978e8b6adfc1bbf7ddf0cd9
thats really weired... maybe i havent activated another necessary option or have on activated which conflicts...
dunno...
actually i dont need BADRAM at all, but i thought it might b interesting for u guys... |
|
Back to top |
|
|
Mr. Tao Tux's lil' helper
Joined: 20 Jul 2007 Posts: 147
|
Posted: Mon Nov 19, 2007 4:35 pm Post subject: Cannot open root device |
|
|
I can't boot this kernel as I'm getting:
VFS: Cannot open root device "sda7" or unknown-block(0,0)
Please, append a correct "root=" boot option; here are the available partitions:
1600 696468 hdc driver: ide-cdrom
Kernel panic - not syncing: Unable to mont root fs on unknown-block(0,0)
There's another line in printing in red color which states ata1.00 disabled (I've color kernel messages set up).
Secondary IDE Master is DVDRW connected to PATA and Third IDE Master is SATA connected HDD.
On-Chip IDE Configuration is as follows: Code: | On-Chip ATA(s) Operate Mode: Legacy Mode
ATA Configuration: P-ATA Only
S-ATA Keep Enabled: Yes
P-ATA Channel Selection: Both
S-ATA Ports Definition: P0-3rd./P1-4th. |
I was able to boot latest kamikaze (2-6.24-rc2) with identical .config.
Update: after I fiddled with BIOS settings I managed to "boot", but I had to change kernel parameter to root=/dev/hda7 as well. But boot process stopped almost immediatelly, just after Reiser4 format had been detected.
Reiser4[swapper(0)]: end_bio_single_page_read (fs/reiser4/page_cache.c:330)[nikita-3332]:
WARNING: Truncated single page read: 4096
This repeats 4 times and then boot stops. |
|
Back to top |
|
|
wrc1944 Advocate
Joined: 15 Aug 2002 Posts: 3435 Location: Gainesville, Florida
|
Posted: Mon Nov 19, 2007 5:07 pm Post subject: |
|
|
Zen1 compiles, boots, and runs fine here so far. Very nice- using CFQ as default, and system is smooth and responsive. I usually compile manually, and just applying the zen patch to the kernel source works best for me- don't know if I will be regularly updating to current git, but I like really the concept. _________________ Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.4 USE=experimental python3_11 |
|
Back to top |
|
|
scourge n00b
Joined: 13 Jun 2005 Posts: 51 Location: Germany
|
Posted: Mon Nov 19, 2007 5:16 pm Post subject: Re: Cannot open root device |
|
|
Mr. Tao wrote: | I can't boot this kernel as I'm getting:
VFS: Cannot open root device "sda7" or unknown-block(0,0)
Please, append a correct "root=" boot option; here are the available partitions:
1600 696468 hdc driver: ide-cdrom
Kernel panic - not syncing: Unable to mont root fs on unknown-block(0,0)
There's another line in printing in red color which states ata1.00 disabled (I've color kernel messages set up). |
Disable "asynchronous SCSI scanning" |
|
Back to top |
|
|
gigs94 n00b
Joined: 06 Aug 2004 Posts: 52 Location: DC
|
Posted: Mon Nov 19, 2007 7:42 pm Post subject: |
|
|
Is there something wrong with zen-sources 2.6.24-rc3-zen1 wrt mrproper?
Code: |
# make mrproper
/usr/src/linux-2.6.24-rc3-zen1/fs/hostfs/Makefile:11: arch/um/scripts/Makefile.rules: No such file or directory
make[2]: *** No rule to make target `arch/um/scripts/Makefile.rules'. Stop.
make[1]: *** [fs/hostfs] Error 2
make: *** [_clean_fs] Error 2
|
or did I do something wrong? |
|
Back to top |
|
|
Waninkoko Guru
Joined: 13 May 2005 Posts: 549
|
Posted: Mon Nov 19, 2007 8:28 pm Post subject: |
|
|
There's something wrong because I have "arch/um/scripts/Makefile.rules".
Btw, reiser4 problems fixed. |
|
Back to top |
|
|
rmh3093 Advocate
Joined: 06 Aug 2003 Posts: 2138 Location: Albany, NY
|
Posted: Mon Nov 19, 2007 9:00 pm Post subject: |
|
|
wrc1944 wrote: | Zen1 compiles, boots, and runs fine here so far. Very nice- using CFQ as default, and system is smooth and responsive. I usually compile manually, and just applying the zen patch to the kernel source works best for me- don't know if I will be regularly updating to current git, but I like really the concept. |
using git was 95% to make things easier and more fun for those working on the kernel.....
but it does have some benefits over the standard source snapshot and patch _________________ Do not meddle in the affairs of wizards, for they are subtle and quick to anger. |
|
Back to top |
|
|
ilikenwf Tux's lil' helper
Joined: 04 Oct 2007 Posts: 119
|
Posted: Mon Nov 19, 2007 9:10 pm Post subject: |
|
|
I'm going to try to compile some generic debs for x86 and x64 tonight...Hopefully, they work...I will test the 64 Bit version, but the 32 will have to be tried by the community of Debian/Ubuntu people.
Anyway, I am trying to decide if I should just go generic, or if I should tweak the heck out of the kernel for my own use.
Also, what features should I enable that are part of the Zen patches for the Ubuntu users? I know the colored printk output is a must, but other suggestions? _________________ Make The Fonts Pretty In KDE
Archlinux User |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
Posted: Mon Nov 19, 2007 11:02 pm Post subject: Re: Cannot open root device |
|
|
scourge wrote: | Mr. Tao wrote: | I can't boot this kernel as I'm getting:
VFS: Cannot open root device "sda7" or unknown-block(0,0)
Please, append a correct "root=" boot option; here are the available partitions:
1600 696468 hdc driver: ide-cdrom
Kernel panic - not syncing: Unable to mont root fs on unknown-block(0,0)
There's another line in printing in red color which states ata1.00 disabled (I've color kernel messages set up). |
Disable "asynchronous SCSI scanning" |
wohoo !! that did the trick - thanks
back to business _________________ https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa
Hardcore Gentoo Linux user since 2004 |
|
Back to top |
|
|
Waninkoko Guru
Joined: 13 May 2005 Posts: 549
|
Posted: Mon Nov 19, 2007 11:23 pm Post subject: |
|
|
I want to test a little idea I had.
Everybody who have experienced the problem with SCSI_SCAN_ASYNC... Open your .config, and change SCSI_WAIT_SCAN=m to SCSI_WAIT_SCAN=y and compile with SCSI_SCAN_ASYNC enabled.
Maybe this will fix the problem |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
ilikenwf Tux's lil' helper
Joined: 04 Oct 2007 Posts: 119
|
Posted: Mon Nov 19, 2007 11:52 pm Post subject: |
|
|
Waninkoko, do you by chance have a list of all of the included enhancements that the Zen modifications provide? I'm going to try to make some good documentation, some Ubuntu users are total n00bs. _________________ Make The Fonts Pretty In KDE
Archlinux User |
|
Back to top |
|
|
rmh3093 Advocate
Joined: 06 Aug 2003 Posts: 2138 Location: Albany, NY
|
Posted: Tue Nov 20, 2007 12:50 am Post subject: |
|
|
ilikenwf wrote: | Waninkoko, do you by chance have a list of all of the included enhancements that the Zen modifications provide? I'm going to try to make some good documentation, some Ubuntu users are total n00bs. | Keep in mind these "enhancements" with w/ respect to vanilla sources....
-new/experimental network drivers
-new/experimental filesystems
-tuxonice
-undervolting
-powertop
-badram
-special laptop features
-memory management tweaks
-cpu/io scheduler tweaks
-improved security options
-other misc features _________________ Do not meddle in the affairs of wizards, for they are subtle and quick to anger. |
|
Back to top |
|
|
oRDeX Veteran
Joined: 19 Oct 2003 Posts: 1325 Location: Italy
|
Posted: Tue Nov 20, 2007 1:04 am Post subject: |
|
|
amd64 is missing in ARCH_LIST
But why the stable is still a git clone? |
|
Back to top |
|
|
rmh3093 Advocate
Joined: 06 Aug 2003 Posts: 2138 Location: Albany, NY
|
Posted: Tue Nov 20, 2007 2:19 am Post subject: |
|
|
oRDeX wrote: | amd64 is missing in ARCH_LIST
But why the stable is still a git clone? |
amd64=x86
what is wrong with git? the non-9999 ebuilds will all be pulling from tags so there should be no difference between git and snaphot/patch ebuilds (the are both "stable")......
..... the only advantage snapshots have that it allows for internet-less installs
..... yes I know the initial clone takes a few minutes but you only have to do that once
did you have any other reasons not to use git? _________________ Do not meddle in the affairs of wizards, for they are subtle and quick to anger. |
|
Back to top |
|
|
ilikenwf Tux's lil' helper
Joined: 04 Oct 2007 Posts: 119
|
Posted: Tue Nov 20, 2007 3:34 am Post subject: |
|
|
Well, the new kernel runs.. I just get a couple of weird errors that don't show up in dmesg, though...and I am fighting with TuxOnIce to get it to work - Ubuntu is a cruel mistress. Albeit slower than my other custom 2.6.22 kernel, it has everything and the kitchen sink. _________________ Make The Fonts Pretty In KDE
Archlinux User |
|
Back to top |
|
|
FireBurn Apprentice
Joined: 19 Sep 2004 Posts: 170 Location: Edinburgh, UK
|
Posted: Tue Nov 20, 2007 5:32 am Post subject: |
|
|
Any idea why I've been getting this:
sysctl table check failed: /kernel/fbcondecor .1.77 Unknown sysctl binary path
On both zen and kamikaze sources on both a 32bit and 64bit system?
Mike |
|
Back to top |
|
|
forceflow2 Guru
Joined: 16 Apr 2003 Posts: 464 Location: South Carolina
|
Posted: Tue Nov 20, 2007 7:25 am Post subject: |
|
|
Does anyone have a ballpark figure of how long the initial cloning takes? I've been indexing objects for the past 10 minutes and I am still only at 1%. I have to assume this isn't normal. Any ideas/help? I don't know exactly what it's doing, but my CPU hasn't gone above 5% in that time, my RAM usage has been steady and my network only randomly makes transfers that last for at most a couple of seconds and peak at about 4Kbps before returning to 0 so I am unsure what is going on. _________________ That rank under my username doesn't mean I know everything, it just means I ask a lot of questions. |
|
Back to top |
|
|
vacula n00b
Joined: 17 Oct 2007 Posts: 32 Location: Lviv. Ukraine
|
Posted: Tue Nov 20, 2007 12:52 pm Post subject: include/asm-x86_64 is missing |
|
|
*UPDATE* FIXED!
just emerged newer version - unmasked and installed currently the last one - 1.5.7-r2.
Quote: | hi!
I can't emerge klibc -
===========
* Messages for package dev-libs/klibc-1.5:
* Your kernel sources are not configured for your chosen arch!
* (KERNEL_ARCH="x86", ARCH="x86_64")
===========
my CHOST="x86_64-pc-linux-gnu"
is it because of missing include/asm-x86_64 ? and does anybody know how to fix that? |
Last edited by vacula on Tue Nov 20, 2007 1:22 pm; edited 1 time in total |
|
Back to top |
|
|
rmh3093 Advocate
Joined: 06 Aug 2003 Posts: 2138 Location: Albany, NY
|
Posted: Tue Nov 20, 2007 1:19 pm Post subject: |
|
|
forceflow2 wrote: | Does anyone have a ballpark figure of how long the initial cloning takes? I've been indexing objects for the past 10 minutes and I am still only at 1%. I have to assume this isn't normal. Any ideas/help? I don't know exactly what it's doing, but my CPU hasn't gone above 5% in that time, my RAM usage has been steady and my network only randomly makes transfers that last for at most a couple of seconds and peak at about 4Kbps before returning to 0 so I am unsure what is going on. |
I am going to have to figure out a faster way for you guys to get the initial git see _________________ Do not meddle in the affairs of wizards, for they are subtle and quick to anger. |
|
Back to top |
|
|
rmh3093 Advocate
Joined: 06 Aug 2003 Posts: 2138 Location: Albany, NY
|
Posted: Tue Nov 20, 2007 1:31 pm Post subject: Re: include/asm-x86_64 is missing |
|
|
vacula wrote: | *UPDATE* FIXED!
just emerged newer version - unmasked and installed currently the last one - 1.5.7-r2.
Quote: | hi!
I can't emerge klibc -
===========
* Messages for package dev-libs/klibc-1.5:
* Your kernel sources are not configured for your chosen arch!
* (KERNEL_ARCH="x86", ARCH="x86_64")
===========
my CHOST="x86_64-pc-linux-gnu"
is it because of missing include/asm-x86_64 ? and does anybody know how to fix that? |
|
try klibc-1.5.7-r2
EDIT: oops guess I was too late _________________ Do not meddle in the affairs of wizards, for they are subtle and quick to anger. |
|
Back to top |
|
|
vacula n00b
Joined: 17 Oct 2007 Posts: 32 Location: Lviv. Ukraine
|
Posted: Tue Nov 20, 2007 1:42 pm Post subject: Re: include/asm-x86_64 is missing |
|
|
Thanks anyway!
rmh3093 wrote: |
EDIT: oops guess I was too late |
|
|
Back to top |
|
|
yngwin Retired Dev
Joined: 19 Dec 2002 Posts: 4572 Location: Suzhou, China
|
Posted: Tue Nov 20, 2007 2:13 pm Post subject: |
|
|
rmh3093 wrote: | Keep in mind these "enhancements" with w/ respect to vanilla sources....
-new/experimental network drivers
-new/experimental filesystems
[...] |
Does that include udf-2.50 by any chance? _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
Back to top |
|
|
gigs94 n00b
Joined: 06 Aug 2004 Posts: 52 Location: DC
|
Posted: Tue Nov 20, 2007 2:38 pm Post subject: |
|
|
gigs94 wrote: | Is there something wrong with zen-sources 2.6.24-rc3-zen1 wrt mrproper?
Code: |
# make mrproper
/usr/src/linux-2.6.24-rc3-zen1/fs/hostfs/Makefile:11: arch/um/scripts/Makefile.rules: No such file or directory
make[2]: *** No rule to make target `arch/um/scripts/Makefile.rules'. Stop.
make[1]: *** [fs/hostfs] Error 2
make: *** [_clean_fs] Error 2
|
or did I do something wrong? |
There are USE flags that I didn't set... which fixed my problem. |
|
Back to top |
|
|
Loibisch Tux's lil' helper
Joined: 03 Jan 2006 Posts: 89
|
Posted: Tue Nov 20, 2007 2:49 pm Post subject: |
|
|
rmh3093 wrote: | forceflow2 wrote: | Does anyone have a ballpark figure of how long the initial cloning takes? I've been indexing objects for the past 10 minutes and I am still only at 1%. I have to assume this isn't normal. Any ideas/help? I don't know exactly what it's doing, but my CPU hasn't gone above 5% in that time, my RAM usage has been steady and my network only randomly makes transfers that last for at most a couple of seconds and peak at about 4Kbps before returning to 0 so I am unsure what is going on. |
I am going to have to figure out a faster way for you guys to get the initial git see |
Why not pack up a current checkout for people to download as a starting point? Just so you don't have to start from scratch... |
|
Back to top |
|
|
|