Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-21-2004, 08:56 PM
|
#1
|
LQ Newbie
Registered: Sep 2004
Distribution: debian sid
Posts: 6
Rep:
|
no initial console after reiser4
hi, i've made new Reiser4 partition, compiled kernel with reiser4 support, edited fstab, moved whole system (cp -xvfa) to new partition, but i'm not able to boot! i thought i made kernel bad, but i think not, i've tried to compile the whole thing 3times (ckolivas patch) but with no success. The same kernel is booting with no problem into ReiserFS, Reiser4 partition is accessible, fsck.reiser4 checked, i can't see any problem. I tried to compile the kernel without initrd.img, because with it the boot process ended after
"Warning: unable to open an initial console" , that is estim. 7th line.
Here is part of kern.log
Sep 22 02:55:20 localhost kernel: usb 2-2:1.0: hotplug
Sep 22 02:55:20 localhost kernel: usbhid 2-2:1.0: usb_probe_interface
Sep 22 02:55:20 localhost kernel: usbhid 2-2:1.0: usb_probe_interface - got id
Sep 22 02:55:20 localhost kernel: input: USB HID v1.10 Mouse [A4Tech RF USB Mouse] on usb-0000:00:1d.0-2
Sep 22 02:55:20 localhost kernel: VFS: Mounted root (reiser4 filesystem) readonly.
Sep 22 02:55:20 localhost kernel: Freeing unused kernel memory: 184k freed
Sep 22 02:55:20 localhost kernel: Warning: unable to open an initial console.
Sep 22 02:55:20 localhost kernel: uhci_hcd 0000:00:1d.1: suspend_hc
Sep 22 02:55:20 localhost kernel: uhci_hcd 0000:00:1d.2: suspend_hc
Sep 22 02:55:20 localhost kernel: eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
Sep 22 02:55:20 localhost kernel: ip_tables: (C) 2000-2002 Netfilter core team
Sep 22 02:55:22 localhost kernel: lp: driver loaded but no devices found
Sep 22 02:56:11 localhost kernel: oom-killer: gfp_mask=0x1d2
Sep 22 02:56:11 localhost kernel: DMA per-cpu:
Sep 22 02:56:11 localhost kernel: cpu 0 hot: low 2, high 6, batch 1
Sep 22 02:56:11 localhost kernel: cpu 0 cold: low 0, high 2, batch 1
Sep 22 02:56:11 localhost kernel: Normal per-cpu:
Sep 22 02:56:11 localhost kernel: cpu 0 hot: low 28, high 84, batch 14
Sep 22 02:56:11 localhost kernel: cpu 0 cold: low 0, high 28, batch 14
Sep 22 02:56:11 localhost kernel: HighMem per-cpu: empty
Sep 22 02:56:11 localhost kernel:
Sep 22 02:56:11 localhost kernel: Free pages: 2016kB (0kB HighMem)
Sep 22 02:56:11 localhost kernel: Active:60874 inactive:67 dirty:0 writeback:0 unstable:0 free:504 slab:1643 mapped:60833 pagetables:159
Sep 22 02:56:11 localhost kernel: DMA free:1008kB min:28kB low:56kB high:84kB active:10384kB inactive:0kB present:16384kB
Sep 22 02:56:11 localhost kernel: protections[]: 14 252 252
Sep 22 02:56:11 localhost kernel: Normal free:1008kB min:476kB low:952kB high:1428kB active:233112kB inactive:268kB present:245696kB
Sep 22 02:56:11 localhost kernel: protections[]: 0 238 238
Sep 22 02:56:11 localhost kernel: HighMem free:0kB min:128kB low:256kB high:384kB active:0kB inactive:0kB present:0kB
Sep 22 02:56:11 localhost kernel: protections[]: 0 0 0
Sep 22 02:56:11 localhost kernel: DMA: 0*4kB 0*8kB 1*16kB 1*32kB 1*64kB 1*128kB 1*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 1008kB
Sep 22 02:56:11 localhost kernel: Normal: 2*4kB 7*8kB 1*16kB 1*32kB 0*64kB 1*128kB 1*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 1008kB
Sep 22 02:56:11 localhost kernel: HighMem: empty
Sep 22 02:56:11 localhost kernel: Swap cache: add 0, delete 0, find 0/0, race 0+0
Sep 22 02:56:11 localhost kernel: Out of Memory: Killed process 865 (mysqld).
Sep 22 02:56:16 localhost kernel: oom-killer: gfp_mask=0x1d2
Sep 22 02:56:16 localhost kernel: DMA per-cpu:
Sep 22 02:56:16 localhost kernel: cpu 0 hot: low 2, high 6, batch 1
Sep 22 02:56:16 localhost kernel: cpu 0 cold: low 0, high 2, batch 1
Sep 22 02:56:16 localhost kernel: Normal per-cpu:
Sep 22 02:56:16 localhost kernel: cpu 0 hot: low 28, high 84, batch 14
Sep 22 02:56:16 localhost kernel: cpu 0 cold: low 0, high 28, batch 14
Sep 22 02:56:16 localhost kernel: HighMem per-cpu: empty
Sep 22 02:56:16 localhost kernel:
Sep 22 02:56:16 localhost kernel: Free pages: 2088kB (0kB HighMem)
Sep 22 02:56:16 localhost kernel: Active:60960 inactive:7 dirty:0 writeback:0 unstable:0 free:522 slab:1632 mapped:60832 pagetables:151
Sep 22 02:56:16 localhost kernel: DMA free:1008kB min:28kB low:56kB high:84kB active:10384kB inactive:0kB present:16384kB
Sep 22 02:56:16 localhost kernel: protections[]: 14 252 252
Sep 22 02:56:16 localhost kernel: Normal free:1080kB min:476kB low:952kB high:1428kB active:233456kB inactive:28kB present:245696kB
Sep 22 02:56:16 localhost kernel: protections[]: 0 238 238
Sep 22 02:56:16 localhost kernel: HighMem free:0kB min:128kB low:256kB high:384kB active:0kB inactive:0kB present:0kB
Sep 22 02:56:16 localhost kernel: protections[]: 0 0 0
Sep 22 02:56:16 localhost kernel: DMA: 0*4kB 0*8kB 1*16kB 1*32kB 1*64kB 1*128kB 1*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 1008kB
Sep 22 02:56:16 localhost kernel: Normal: 28*4kB 3*8kB 1*16kB 1*32kB 0*64kB 1*128kB 1*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 1080kB
Sep 22 02:56:16 localhost kernel: HighMem: empty
Sep 22 02:56:16 localhost kernel: Swap cache: add 0, delete 0, find 0/0, race 0+0
Sep 22 02:56:16 localhost kernel: Out of Memory: Killed process 1321 (apache).
|
|
|
09-22-2004, 04:48 AM
|
#2
|
Senior Member
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541
Rep:
|
I got the same issue after doing about the same things.Didn't bother to do something abnout it so far since it doesn't do anything to the box besides at startup.Did you also copy the dev and proc directories? AFAIK you shouldn't copy those.
|
|
|
09-22-2004, 06:04 AM
|
#3
|
LQ Newbie
Registered: Sep 2004
Distribution: debian sid
Posts: 6
Original Poster
Rep:
|
nono, i only mkdir their directories (dev, proc, sys). but thanx for effort!
|
|
|
09-23-2004, 04:19 PM
|
#4
|
LQ Newbie
Registered: Sep 2004
Distribution: debian sid
Posts: 6
Original Poster
Rep:
|
workin!!!
its working, its working, ITS WORKING!!!
i ran mkfs.reiser4 the partition. so like format. start all over.
1)fsck.reiser4 /dev/hdb4
2)mkdir /reiser4
3)mount -t reiser4 /dev/hdb4 /reiser4
4) cp -adpv /boot /reiser4
5)copied /bin /boot /etc /dev /home /lib /opt /root /sbin /sbin /usr /var
6)forgot (not now) /proc
7)NOT mkdir /proc /sys
8)changed fstab (/dev/hdb4 / reiser4)
9)in LILO (fucking GRUB with REISER4 not even worked, but screwed my win partition) (my fault  ))
root=/dev/hdb4 (instead of hdb1)
10)shutdown -r now
11)few errors, but no "Warning: unable to open an initial console."
so system working
12)mkdir /proc (i forgot formerly)
13)mkdir /sys
FINISH
|
|
|
09-23-2004, 05:30 PM
|
#5
|
Senior Member
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541
Rep:
|
Good job - unfortunately ain't gonna work for me 
|
|
|
01-10-2005, 09:22 AM
|
#6
|
LQ Newbie
Registered: Aug 2003
Location: Dayton, Ohio
Distribution: LFS
Posts: 28
Rep:
|
it didn`t work as posted for me either..but just for laughs I tried cp -adpv /proc /reiser4 and cp -adpv /sys /reiser4...and wouldnt ya know the damn thing works with no error messages at all.../proc got hung on the ASPI interface..but I`m not seeing any weirdness so far.. 
|
|
|
All times are GMT -5. The time now is 10:24 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|