Lupu 5.20 using wrong kernel

Please post any bugs you have found
Post Reply
Message
Author
Bruce B

Lupu 5.20 using wrong kernel

#1 Post by Bruce B »

uname -a
Linux RIPLinuX 2.6.33.2 #1 SMP Thu May 27 10:56:32 EST 2010 i686 GNU/Linux

On Lupu 5.20

It has been working swell, so I'll leave it this way, I suppose.

I have RIPLinuxX installed on the same partition as Puppy frugal, and it appears that it is picking up the RIPLinuxX kernel and not the Puppy kernel, but even that doesn't make sense because I told grub were to find the kernel.

Now that I discovered this, I could fix it, but considering it has been working great probably won't.

~

I thought it worth mentioning that this phenomena maybe can occur, even though I told Puppy where to find things as shown below:

kernel (hd0,1)/520/vmlinuz ro pmedia=atahd psubdir=520 pfix=nocopy,fsck pdev1=sda2

That's all, just an announcement unless someone like Barry or an interested developer wants me to look into it to try and figure out why. Or hopefully, someone already knows how this could happen.

~

User avatar
MinHundHettePerro
Posts: 852
Joined: Thu 05 Feb 2009, 22:22
Location: SE

Re: Lupu 5.20 using wrong kernel

#2 Post by MinHundHettePerro »

Bruce B wrote:uname -a
Linux RIPLinuX 2.6.33.2 #1 SMP Thu May 27 10:56:32 EST 2010 i686 GNU/Linux

Code: Select all

uname -n
?

:)/MHHP
[color=green]Celeron 2.8 GHz, 1 GB, i82845, many ptns, modes 12, 13
Dual Xeon 3.2 GHz, 1 GB, nvidia quadro nvs 285[/color]
Slackos & 214X, ... and Q6xx
[color=darkred]Nämen, vaf....[/color] [color=green]ln -s /dev/null MHHP[/color]

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#3 Post by Karl Godt »

Doesn't the Puppy kernel has something like
Thu May 27 10:56:32 EST 2010
Thu May 27 10:56:32 GMT-8 2010
:?:
Not sure though .

Had a look here :
http://distrowatch.com/table.php?distribution=rip
and
http://www.tux.org/pub/people/kent-robo ... linux/rip/
For the moment it seems to me that the rip and puppy kernel are unintended twins by their respective "make" rs .

RIP is some 160 MB, think I will dl it .

User avatar
James C
Posts: 6618
Joined: Thu 26 Mar 2009, 05:12
Location: Kentucky

#4 Post by James C »

Lucid 528.005

Code: Select all

# uname -a
Linux puppypc 2.6.33.2 #1 SMP Thu May 27 10:56:32 EST 2010 i686 GNU/Linux
# 

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#5 Post by Karl Godt »

Thanks for pointing me to it .

bash-3.2# strings vmlinuz-orig | grep EST
2.6.33.2 (root@puppypc) #1 SMP Thu May 27 10:56:32 EST 2010

bash-3.2# strings /boot/vmlinuz-orig | grep GMT
2.6.30.5 (root@puppypc) #1 SMP Tue Sep 1 15:48:26 GMT-8 2009

All my kernels that i had compiled on Iguleder's dpup two years ago had GMT-8 because i had omitted to set the local time back then . It had been the 2.6.33.2 kernel running . Will have to check . There are i think several updated kernels for 2.6.30.5 because aufs had been updated but not for 2.6.33.2 as it seems on http://bkhome.org/sources .

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#6 Post by Karl Godt »

Hmm.. seems that woof is capable to recompile the kernel .

DOTconfig-K2.6.33.2-5APR2010-SMP-TICKLESS is on Barry's site
and the vmlinuz :
bash-3.2# strings vmlinuz-2.6.33.2-2010-04-05 |grep puppy
2.6.33.2 (root@puppypc) #1 SMP Mon Apr 5 12:55:04 Local time zone must be set--see zic m

Bruce B

#7 Post by Bruce B »

Thanks very much for the interest

Here are some more details.

My hard disk doesn't work when cold, as in room temperature. I normally run the computer 24/7

If I boot the machine cold, the hard disk is not identified or located. After a few minutes, it warms up. I reboot it and it stops at the GRUB menu.

I've learned I have to wait more minutes before booting. The partitions may not be ready.

One day, I booted Puppy and the on screen text indicated RIPLinuX was trying to load but in a disorganized hodgepodge of goodness knows what software. And it failed to boot and just locked up at a point.

I rebooted and it happened again.

In looking at the on screen text output, I thought something is horribly wrong and maybe making a mess of my partition.

I booted again and this time Puppy booted and I've never had a problem since.

I only discovered the RIPLinuX kernel is running a couple days ago.

GRUB specifies kernel (hd0,1)/520/vmlinuz

but it uses: kernel (hd0,1)/boot/vmlinuz

This would seem to me a GRUB problem. BTW it is a hacked GRUB version 0.97

Do you think?

~~~~

What about the hard disk not being functional when cool?

It doesn't necessarily have to be the hard drive, it could be something in the motherboard or its IDE controller.

The best way to check would be to buy a new hard drive. Because the hard drive can be used on other computers, but if its the motherboard, I'll scrap the machine, and remove reusable hardware.

After posting this 'bug' I think to myself the problem may be unheard of and unique to my machine.

I've also done a full e2fsck check on the partition with no apparent problems found.

~~~~

Thoughts?

npierce
Posts: 858
Joined: Tue 29 Dec 2009, 01:40

Re: Lupu 5.20 using wrong kernel

#8 Post by npierce »

Bruce B wrote:uname -a
Linux RIPLinuX 2.6.33.2 #1 SMP Thu May 27 10:56:32 EST 2010 i686 GNU/Linux

On Lupu 5.20
James C wrote:Lucid 528.005

Code: Select all

# uname -a
Linux puppypc 2.6.33.2 #1 SMP Thu May 27 10:56:32 EST 2010 i686 GNU/Linux
MinHundHettePerro wrote:

Code: Select all

uname -n
?

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#9 Post by Karl Godt »

Another thought of mine would be that you are running RIP linux with the Puppy kernel . In my experience it is likely that a kernel boots and a Distro gets up til the X-Desktop but without any additionally modules loaded .

Would be interesting to see lsmod output .

Bruce B

#10 Post by Bruce B »

Thaks for the interest Karl

It is running Puppy for sure, because the software, desktop and apps are all Puppy. Even the loop devices:

Output of mount
rootfs on / type rootfs (rw,relatime)
/dev/sda2 on /initrd/mnt/dev_save type ext3 (rw,noatime,errors=continue,data=ordered)
/dev/loop1 on /initrd/pup_rw type ext3 (rw,noatime,errors=continue,data=ordered)
/dev/loop0 on /initrd/pup_ro2 type squashfs (ro,noatime)
/dev/loop4 on /initrd/pup_ro4 type squashfs (ro,noatime)
/dev/loop5 on /initrd/pup_ro5 type squashfs (ro,noatime)
unionfs on / type aufs (rw,relatime,si=e82f6409)
none on /proc type proc (rw,relatime)
none on /dev/pts type devpts (rw,relatime,gid=2,mode=620)
none on /sys type sysfs (rw,relatime)
shmfs on /dev/shm type tmpfs (rw,relatime,size=112508k)
none on /proc/bus/usb type usbfs (rw,relatime)
/dev/sdb2 on /mnt/sdw2 type ext3 (rw,noatime,errors=continue,data=journal)

Output of lsmod

Module Size Used by
[code]iptable_mangle 1189 0
iptable_nat 2666 0
nf_nat 10083 1 iptable_nat
ipt_REJECT 1485 1
nf_conntrack_ftp 4020 0
nf_conntrack_irc 2359 0
iptable_filter 958 1
xt_state 895 4
nf_conntrack_ipv4 7063 7 iptable_nat,nf_nat
nf_conntrack 36999 6 iptable_nat,nf_nat,nf_conntrack_ftp,nf_conntrack_irc,xt_state,{cut}
nf_defrag_ipv4 755 1 nf_conntrack_ipv4
ip_tables 7321 3 iptable_mangle,iptable_nat,iptable_filter
snd_intel8x0 19143 0
snd_ac97_codec 75789 1 snd_intel8x0
ac97_bus 686 1 snd_ac97_codec
snd_pcm_oss 26845 0
snd_mixer_oss 9963 1 snd_pcm_oss
snd_pcm 45385 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_seq_dummy 907 0
snd_seq_oss 18888 0
snd_seq_midi 3156 0
snd_rawmidi 11924 1 snd_seq_midi
snd_seq_midi_event 3592 2 snd_seq_oss,snd_seq_midi
snd_seq 32379 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 11986 2 snd_pcm,snd_seq
snd_seq_device 3601 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd 30859 10 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,{cut}
soundcore 3403 1 snd
snd_page_alloc 4645 2 snd_intel8x0,snd_pcm
ohci1394 20716 0
serio_raw 2928 0
ieee1394 50116 1 ohci1394
fbcon 27736 0
tileblit 1509 1 fbcon
font 6916 1 fbcon
bitblit 3514 1 fbcon
softcursor 805 1 bitblit
shpchp 21148 0
pci_hotplug 18286 1 shpchp
forcedeth 40937 0
pcspkr 1179 0
i2c_nforce2 4236 0
i2c_core 11497 1 i2c_nforce2
nvidia_agp 3640 1
agpgart 18904 1 nvidia_agp
parport_pc 19055 0
parport 20387 1 parport_pc
evdev 5517 0
thermal 9263 0
button 3522 0
processor 24987 0
fuse 42549 0
aufs 110466 1
nls_iso8859_1 2937 0
nls_cp437 4465 0
usbhid 18009 0
usb_storage 29717 1
squashfs 15984 3
ohci_hcd 16937 0
ssb 29373 1 ohci_hcd
ehci_hcd 25830 0
usbcore 91279 5 usbhid,usb_storage,ohci_hcd,ehci_hcd
floppy 40152 0 [/code]


User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#11 Post by 01micko »

Intriguing Bruce

It has been found that hostname conflicts can slow down your PC. Is all performing OK?

I did research on this when we went over to a unique hostname setup in woof by appending ${RANDOM} to "puppyc" very early on in the initial boot.

Different ways to determine hostname in puppy:

Code: Select all

# hostname
puppypc16509
# uname -n
puppypc16509
# cat /proc/sys/kernel/hostname
puppypc16509
# sysctl kernel.hostname
kernel.hostname = puppypc16509
# cat /etc/hostname
puppypc16509
# grep $HOSTNAME /etc/hosts
127.0.0.1 localhost puppypc16509
# echo $HOSTNAME
puppypc16509
If it changed by itself I wonder how?
Puppy Linux Blog - contact me for access

Bruce B

#12 Post by Bruce B »

01micko,
01micko wrote:It has been found that hostname conflicts can slow down your PC. Is all performing OK?
It ran fast and then slowed down after the ISP made some changes, I know what they didn't do right, just need to call them out. The slowdown shows up mostly when watching Youtube videos.

Here are the results of the tests

[~] hostname
RIPLinuX
[~] uname -n
RIPLinuX
[~] cat /proc/sys/kernel/hostname
RIPLinuX
[~] sysctl kernel.hostname
kernel.hostname = RIPLinuX
[~] cat /etc/hostname
localhost
[~] grep $HOSTNAME /etc/hosts
127.0.0.1 localhost
[~] echo $HOSTNAME
localhost
[~]

The $HOSTNAME may of been something like puppypc and I may have changed it myself to localhost

But

I didn't change the kernel or anything to do with it.

Bruce

~

starhawk
Posts: 4906
Joined: Mon 22 Nov 2010, 06:04
Location: Everybody knows this is nowhere...

#13 Post by starhawk »

Bruce B, do you hear a clicking sound while your hard drive is being slow? That would tend to indicate impending failure of the drive.

...could also be that the controller on the computer's motherboard is on its way out.

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#14 Post by 01micko »

Bruce B wrote: [~] cat /etc/hostname
localhost
[~] grep $HOSTNAME /etc/hosts
127.0.0.1 localhost
[~] echo $HOSTNAME
localhost
[~]

The $HOSTNAME may of been something like puppypc and I may have changed it myself to localhost

But

I didn't change the kernel or anything to do with it.

Bruce

~
Even more intriguing! Since it looks like this behaviour has been there for awhile there is probably no way to trace what happened.

I would suggest that "localhost" is probably causing more conflict.

Code: Select all

# hostname --help
BusyBox v1.19.3 (2011-11-09 07:34:50 WST) multi-call binary.

Usage: hostname [OPTIONS] [HOSTNAME | -F FILE]

Get or set hostname or DNS domain name

	-s	Short
	-i	Addresses for the hostname
	-d	DNS domain name
	-f	Fully qualified domain name
	-F FILE	Use FILE's content as hostname

# hostname -d
# hostname -i
127.0.0.1 
# hostname -f
localhost
I would change the hostname! Get things consistent, see if they stay persistent.

Cheers
Puppy Linux Blog - contact me for access

Bruce B

#15 Post by Bruce B »

starhawk wrote:Bruce B, do you hear a clicking sound while your hard drive is being slow? That would tend to indicate impending failure of the drive.
I don't think the hard drive runs slow. It just won't work right until its warm.
starhawk wrote:...could also be that the controller on the computer's motherboard is on its way out.
The hard drive is a WD 80GB IDE

I bought a WD 160GB IDE to replace it. If this doesn't fix it, I suppose off to the County Coroner for an autopsy.

~

Bruce B

#16 Post by Bruce B »

01micko,

I changed all hostnames which were localhost -> RIPLinuX

I guess, I'll check in a couple days to see if they stay persistent, I think they will because they are all entries I made in text files.

Bruce

~

starhawk
Posts: 4906
Joined: Mon 22 Nov 2010, 06:04
Location: Everybody knows this is nowhere...

#17 Post by starhawk »

Shoulda asked me for a desktop IDE drive. I've got a two-drawer metal file cabinet FULL of the blasted things. The bottom drawer is the under-40gb crowd. Can't get rid of any of 'em!

Speed's the name of the game and SATA's where it's at now. NOBODY gives a rat's ### about the "old" IDE type drives anymore.

...heck, you want some backup drives, in case the one you bought fails? Shoot me a pm. I'll send you five drives for $25, if you got Paypal. (Paypal's great -- and it works for a lot more than eBay!)

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#18 Post by 01micko »

Bruce B wrote:01micko,

I changed all hostnames which were localhost -> RIPLinuX

I guess, I'll check in a couple days to see if they stay persistent, I think they will because they are all entries I made in text files.

Bruce

~
I think the kernel was looking for a sane hostname and picked up on RIPLinuX. I don't think "localhost" is a good choice since it's the default for FQDN.
Puppy Linux Blog - contact me for access

User avatar
8-bit
Posts: 3406
Joined: Wed 04 Apr 2007, 03:37
Location: Oregon

#19 Post by 8-bit »

starhawk wrote:Shoulda asked me for a desktop IDE drive. I've got a two-drawer metal file cabinet FULL of the blasted things. The bottom drawer is the under-40gb crowd. Can't get rid of any of 'em!

Speed's the name of the game and SATA's where it's at now. NOBODY gives a rat's ### about the "old" IDE type drives anymore.

...heck, you want some backup drives, in case the one you bought fails? Shoot me a pm. I'll send you five drives for $25, if you got Paypal. (Paypal's great -- and it works for a lot more than eBay!)
Think you have fun? I have pata drives in the 1 to 4 gig category!
And believe it or not, there are a lot of people that would see those 40gig drives as gold.
If I actually had a PayPal account, I would take you up on your offer.

Post Reply