magic not working its magic?!?!

Talk about anything related to Gentoox or Gentoo.
Post Reply
bokinsmowl
Linux User
Posts: 10
Joined: Mon Feb 02, 2004 3:06 am

magic not working its magic?!?!

Post by bokinsmowl »

ive beent trying to run magic for the last day or so. everytime i run it, it starts out fine, but then when its downloading files for the new kernel or whatever its up to, it hangs on 16% and then times out. ive tried a few times and i cant get it to go all the way through. im not one to rule out any of my own user error, but i think its server side. any suggestions?
bokinsmowl
Linux User
Posts: 10
Joined: Mon Feb 02, 2004 3:06 am

Post by bokinsmowl »

also, a little off the topic. is there a gentoox room on IRC (efnet)?
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post by nobspangle »

what is it trying to download when it stalls at 16%
#gentoox is on irc.freenode.net
If you keep an open mind, will your brain fall out?
bokinsmowl
Linux User
Posts: 10
Joined: Mon Feb 02, 2004 3:06 am

Post by bokinsmowl »

i believe its the kernel update. im at school right now, but ill check when i get home and reply with the exactly whats on the screen.
bokinsmowl
Linux User
Posts: 10
Joined: Mon Feb 02, 2004 3:06 am

Post by bokinsmowl »

ok. i tried it again and still it hung up on 16%. heres what i did. ran magic and then it asked if i wanted to run emerge sync. i said yes it did all the updated my portage cache and then went to download kernel 2.4.22 with OpenM something support. thats when it stalls out on 16%. then it times out and trys the conenction a few times. but never gets further than 16%. what can i do?
bokinsmowl
Linux User
Posts: 10
Joined: Mon Feb 02, 2004 3:06 am

Post by bokinsmowl »

says:

read error at byte 5045992/29528612 (Connection timed out). Retrying...
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post by nobspangle »

What happens if you do this

Code: Select all

cd /usr/src
wget http://www.kernel.org/pub/linux/kernel/v2.4/linux-2.4.22.tar.bz2
If you keep an open mind, will your brain fall out?
bokinsmowl
Linux User
Posts: 10
Joined: Mon Feb 02, 2004 3:06 am

Post by bokinsmowl »

heres what i got, same thing as last time. hung on 16%


Xbox root # cd /usr/src
Xbox src # wget http://www.kernel.org/pub/linux/kernel/ ... 22.tar.bz2
--04:46:05-- http://www.kernel.org/pub/linux/kernel/ ... 22.tar.bz2
=> `linux-2.4.22.tar.bz2.1'
Resolving http://www.kernel.org... done.
Connecting to http://www.kernel.org[204.152.189.116]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 29,528,612 [application/x-bzip2]

16% [=======> ] 5,014,083 423.14K/s ETA 00:56
bokinsmowl
Linux User
Posts: 10
Joined: Mon Feb 02, 2004 3:06 am

Post by bokinsmowl »

i just tried to download it by putting

http://www.kernel.org/pub/linux/kernel/ ... 22.tar.bz2

into my laptop's webbrowser and it stalled on 16 as well. dunno what the deal is.
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post by nobspangle »

try downloading from here
http://www.blueyonder.lkams.kernel.org/ ... 22.tar.bz2
you will have to extract the source and apply the patches yourself then put the kerneldownloaded line into the magic database before running magic to compile and install the kernel.
If you keep an open mind, will your brain fall out?
bokinsmowl
Linux User
Posts: 10
Joined: Mon Feb 02, 2004 3:06 am

Post by bokinsmowl »

you will have to extract the source and apply the patches yourself then put the kerneldownloaded line into the magic database before running magic to compile and install the kernel.
awesome, it downloaded. but im new to linux. where should i unpack the archive to, and how do i update the magic database? thanks for all the help guys!!!

-mike
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post by nobspangle »

first of all put your kernel in /usr/src then
borrow this code from the kernel magic patch

Code: Select all

cd /usr/src
tar -jxvf /usr/src/linux-2.4.22.tar.bz2
mv /usr/src/linux-2.4.22 /usr/src/linux-2.4.22-openmosix
ln -sf /usr/src/linux-2.4.22-openmosix /usr/src/linux
cd /tmp
wget --limit-rate=5120 http://gentoox.shallax.com/patch-files/kernelpatches22-4.tbz2
tar -jxvf /tmp/kernelpatches22-4.tbz2
cd /usr/src/linux
patch -p1 < /tmp/kernelpatches22-4.diff
rm -rf /tmp/kernel*
mv /usr/src/linux/kernel.config /usr/src/linux/.config
rm -rf /usr/src/linux/drivers/usb/xpad.c
cd /tmp
wget http://gentoox.shallax.com/patch-files/xpad.c
mv /tmp/xpad.c /usr/src/linux/drivers/usb/xpad.c
echo "kerneldownloaded22-4" >> /etc/conf.d/magic-database
You should then be able to run magic and it will do the kernel patch without downloading anything you may have to improvise on the wget line to get round your proxy
If you keep an open mind, will your brain fall out?
ShALLaX
Site Admin
Posts: 1973
Joined: Sun Aug 10, 2003 9:25 pm
Location: England
Contact:

Post by ShALLaX »

*cough*, thanks -- perfect tutorial, except for the change I made :D
The original Xbox adaptation of Gentoo
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post by nobspangle »

Sorry,
I did mean to put that in but I forgot.
If you keep an open mind, will your brain fall out?
lovin it!
Adept
Posts: 69
Joined: Tue Dec 16, 2003 6:41 am

Post by lovin it! »

Firstly, I just wanted to say I love your name Bokinsmowl :D
thats funny lmfao! ( dunno why, but I found it extremely funny :)

Secondly, Nobspangle, I did almost the same thing (kinda) earlier, I was in a friendly lil game of CounterStrike on Xbox Connect , and I kept following this guy around (my teammate) and everytime he would find an enemy I would steal his kill. :D

He was getting kinda aggrevated, but it only made him strive to beat me to the kill.

Tut stealer :P

I am of course kidding (for those who couldnt see that) Nobspangle is one of the most valuable resources of this site :)

peace gentoox'ers
Post Reply