Skip to contentSkip to conversation

LILO wont boot my kernel image: More details...

DISCUSSION Gregg Lloyd 11 participants 16 messages Jan 23, 2001 – Jan 28, 2001

lore
Share & tools
lore
#0 lore raw

Hi,
I have a 2.2.5-15 kernel linux system (red Hat 6.0) that is installed on /dev/hdc2. I boot it from a floppy. Recently, I did compile my new kernel 2.4 on my Linux System.
On the boot floppy, I have LILO (On the hard drive, there's also LILO).
For booting my new kernel (/boot/vmlinuz-2.4.0), I added following stanza to /etc/lilo.conf (the one on the hard drive):
image=/boot/vmlinuz-2.4.0
label=linux2.4
root=/dev/hdc2
read-only.
Lilo was correctly saved (/sbin/lilo..or lilo would display "Added linux2.2 *
Added linux2.4, Added dos).
But when I rebooted the system
with the boot floppy, LILO wont display linux2.4 so that I can boot with it!
LILO would only show up the old linux.
I went adding the same stanza (as previously mentionned) to /etc/lilo.conf
that is on the floppy. But the problem is still the same: I do not have the choice to boot with linux2.4! I tried "lilo -b /dev/fd0" (after /dev/fd0
have been correctly mounted), but system
weirdly complained that "open /boot/message: No such file or directory" (which is wrong!).
I got same error message when trying "lilo -C /mnt/floppy/etc/lilo.conf"!
******Here is my /etc/lilo.conf on hard drive*********
boot=/dev/hdc2
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
image=/boot/vmlinuz-2.2.5-15
label=linux2.2
root=/dev/hdc2
read-only
image=/boot/vmlinuz-2.4.0
label=linux2.4
root=/dev/hdc2
read-only
other=/dev/hda1
label=dos
table=/dev/hda
*******Here's lilo.conf on boot floppy*****
boot=/dev/fd0
timeout=100
message=/boot/message
prompt
image=/vmlinuz-2.2.5-15
label=linux2.2
root=/dev/hdc2
image=/vmlinuz-2.2.5-15
label=rescue
append="load_ramdisk=2 prompt_ramdisk=1"
root=/dev/fd0
image=/vmlinuz-2.4.0
label=linux2.4
root=/dev/hdc2
other=/dev/hda1
label=dos
table=/dev/hda

Get your small business started at Lycos Small Business at http://www.lycos.com/business/mail.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#1 lore raw

Probably Off-topic Question...

This is probably a user-land and/or undocumented thing, but I am not certain where to get the correct info.

Does anyone know how to get the screen brightness control to work on a Sony Vaio N505VE? There seems to be some sort of proprietary hook to get it to work that requires their install of Windows. (This is a problem as it was removed immediatly after purchacing the laptop.)

I figured someone here might know, since at least one person on this list has a Vaio. (Unless Linus sold it to buy more beer. ]:> )

Pointers to a non-Windows solution would be appreciated, as it is hell on my battery life.

BTW, the Yamaha sound chip in the Vaio is supported under Alsa. You might ask them what they did to get it to work, so it can be included in the stock kernel. (Or maybe it already has and I have just not been looking.)

And as for code comments, they should be written in Ancient Greek with code examples taken from APL and BCPL and written using the ISO character set for Sanscrit. (To avoid complaints of swear words appearing in them by the morally clenched.)

[email protected] | Note to AOL users: for a quick shortcut to reply
Alan Olsen | to my mail, just hit the ctrl, alt and del keys.
"In the future, everything will have its 15 minutes of blame."

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#2 lore raw

Re: Probably Off-topic Question...

Quoted 3 lines · Alan Olsen

BTW, the Yamaha sound chip in the Vaio is supported under Alsa. You might ask them what they did to get it to work, so it can be included in the stock kernel. (Or maybe it already has and I have just not been looking.)

The ymf_pci driver in any recent kernel works just fine on the yamaha in the vaio's. That is, unless you want to record.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#3 lore raw

Re: Probably Off-topic Question...

In reply to Alan Olsen
Quoted 8 lines · Alan Olsen

This is probably a user-land and/or undocumented thing, but I am not certain where to get the correct info.

Does anyone know how to get the screen brightness control to work on a Sony Vaio N505VE? There seems to be some sort of proprietary hook to get it to work that requires their install of Windows. (This is a problem as it was removed immediatly after purchacing the laptop.)

All the newer Vaios seem to have this problem. They rely on support from Windows to control the brightness, instead of doing it through the BIOS, like older machines. I don't know a solution. More annoyingly, they won't hibernate, as they rely on Windows Me or 2000 doing it for them. The APM hibernate in the BIOS seems to have gone. I have a Z505GAT, which I think is the Asian version of the model sold in the US as the Z505LE. I guess this will become the norm now none of the current versions of Windows require any hibernation support from the BIOS. The hibernate to swap patch for Linux really needs to get into the mainstream, and be more thoroughly exercised.

Quoted 4 lines

And as for code comments, they should be written in Ancient Greek with code examples taken from APL and BCPL and written using the ISO character set for Sanscrit. (To avoid complaints of swear words appearing in them by the morally clenched.)

If they aren't in ASCII, they don't follow the C standard.

Regards,
Steve
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#4 lore raw

Re: Probably Off-topic Question...

In reply to Alan Olsen
Quoted 8 lines · Steve Underwood
Quoted 7 lines

This is probably a user-land and/or undocumented thing, but I am not certain where to get the correct info.

Does anyone know how to get the screen brightness control to work on a Sony Vaio N505VE? There seems to be some sort of proprietary hook to get it to work that requires their install of Windows. (This is a problem as it was removed immediatly after purchacing the laptop.)

Quoted 10 lines

All the newer Vaios seem to have this problem. They rely on support from Windows to control the brightness, instead of doing it through the BIOS, like older machines. I don't know a solution. More annoyingly, they won't hibernate, as they rely on Windows Me or 2000 doing it for them. The APM hibernate in the BIOS seems to have gone. I have a Z505GAT, which I think is the Asian version of the model sold in the US as the Z505LE. I guess this will become the norm now none of the current versions of Windows require any hibernation support from the BIOS. The hibernate to swap patch for Linux really needs to get into the mainstream, and be more thoroughly exercised.

if anyone finds a way of dimming the brightness make sure you post! besides killing the battery, it also makes it hard to use in dark places such as night flights. i feel as if i'm lighting up the cabin in these cases.

my vaio F-series used to sleep correctly under RH6.1. it now hangs forever making the sleep mode much less useful.

Signature · 6 lines
Mark Smith
[email protected]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#5 lore raw

Re: Probably Off-topic Question...

Quoted 4 lines

if anyone finds a way of dimming the brightness make sure you post! besides killing the battery, it also makes it hard to use in dark places such as night flights. i feel as if i'm lighting up the cabin in these cases.

http://samba.org/picturebook

should have it

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#6 lore raw

Re: Probably Off-topic Question...

Quoted 9 lines · Alan Cox
Quoted 5 lines

if anyone finds a way of dimming the brightness make sure you post! besides killing the battery, it also makes it hard to use in dark places such as night flights. i feel as if i'm lighting up the cabin in these cases.

http://samba.org/picturebook

should have it

Ah, Mr Cox. You are a truly warm and wonderful human being. I can confirm the setbrightness utility at the above URL not only works for a picturebook. It works for a Z505GAT as well. That should mean it is OK for a Z505LE in the US, too. The LE and GAT are significantly different from older Vaios. The older ones all seem to use Neomagic video controllers. These new models, and the new Crusoe picturebook, use ATI Rage mobility. There might, therefore, be a number of subtle differences from the behaviour of older models.

Now I just need ACPI hibernate to swap space, and a Gnome utility to control this brightness thingy in my control panel! Oh, and of course that Conexant modem port might be useful sometimes, if it worked!

Regards,
Steve
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#7 lore raw

Re: Probably Off-topic Question...

Quoted 6 lines
Quoted 3 lines

http://samba.org/picturebook

should have it

Ah, Mr Cox. You are a truly warm and wonderful human being. I can

Thank Tridge not me, all I had to do was ask him the URL 8)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#8 lore raw

Re: Probably Off-topic Question...

In reply to Alan Olsen

My VAIO Z505HS brightness control works under Linux.

Shift + Fn + Brightness (F5) dims
Fn + Brightness brightens

If it makes a difference I'm using Left Shift and Left Fn and as you might expect I'm holding both of those down and then tapping F5 the required number of times.

-Steve Ellmore

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#9 lore raw

Re: Probably Off-topic Question...

In reply to Alan Olsen
Quoted 8 lines · Steven Ellmore

My VAIO Z505HS brightness control works under Linux.

Shift + Fn + Brightness (F5) dims
Fn + Brightness brightens

If it makes a difference I'm using Left Shift and Left Fn and as you might expect I'm holding both of those down and then tapping F5 the required number of times.

none of these things change my brightness one way or the other. in particular, which part of the OS would be responsible for watching these keystrokes and making the appropriate changes?

others have told me about this keystroke. someone had suggested that this works differently on my system because i have a newer bios?

Signature · 6 lines
Mark Smith
[email protected]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#10 lore raw

Re: Probably Off-topic Question...

In reply to Alan Olsen
Quoted 5 lines · Mark Smith
Quoted 4 lines · Steven Ellmore

My VAIO Z505HS brightness control works under Linux.

Shift + Fn + Brightness (F5) dims
Fn + Brightness brightens

[...]

Quoted 3 lines

none of these things change my brightness one way or the other. in particular, which part of the OS would be responsible for watching these keystrokes and making the appropriate changes?

With the Z505H/J series, this is handled entirely by the BIOS and the OS has no part of it. I'm not sure about the L's, but they're otherwise fairly similar to the H/J's. (I have absolutely no idea about other lines like the picturebooks, of course, as the different lines from Sony are effectively completely unrelated.)

Quoted 3 lines

others have told me about this keystroke. someone had suggested that this works differently on my system because i have a newer bios?

This is possible. I don't know why they would change this, unless it was some requirement of propertly integrating the newer Windows versions, which is possible. In this case, my guess is that it's probably exposed via ACPI or something similar. Any ACPI folks got thoughts on this as a possibility (and how one might find out)? I have to admit I haven't played with it much.

-alex
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#11 lore raw

Re: Probably Off-topic Question...

In reply to Alan Olsen

Nono it can't be the BIOS coz then it won't work under Losedoze (old vers, e.g. Wfw 3.11 with Win32s). AFAIK it's the "keyboard controller" (i.e. the chipset)

For my Scenic Mobile 510 everything works fine under DOS, NT 5 (though _this_ Windoze _has_ advanced features) and Linnux.

mirabilos

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12+custom(^=href;C-style-comments)
GO/S dx@ s--: a--->---- C++ UL++++ P--- L++$(-^lang) E----/joe W+(++) N? o K? w-(+$) O+>+++ M-- V- PS+++@ PE(--) Y+ PGP t+ 5? X+ R+ !tv!---- b++++* DI- D+ G(>++) e(^age) h! r(-) y--(!y+) /* lang=NASM, GW-BASIC, C */ ------END GEEK CODE BLOCK------

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#12 lore raw

Re: Probably Off-topic Question...

In reply to Alan Olsen
Quoted 11 lines · Steve Underwood
Quoted 8 lines · Alan Olsen

This is probably a user-land and/or undocumented thing, but I am not certain where to get the correct info.

Does anyone know how to get the screen brightness control to work on a Sony Vaio N505VE? There seems to be some sort of proprietary hook to get it to work that requires their install of Windows. (This is a problem as it was removed immediatly after purchacing the laptop.)

Quoted 10 lines

All the newer Vaios seem to have this problem. They rely on support from Windows to control the brightness, instead of doing it through the BIOS, like older machines. I don't know a solution. More annoyingly, they won't hibernate, as they rely on Windows Me or 2000 doing it for them. The APM hibernate in the BIOS seems to have gone. I have a Z505GAT, which I think is the Asian version of the model sold in the US as the Z505LE. I guess this will become the norm now none of the current versions of Windows require any hibernation support from the BIOS. The hibernate to swap patch for Linux really needs to get into the mainstream, and be more thoroughly exercised.

Couldn't it be possible to write a "hole" or such into the kernel's vaio driver - or even a /dev file - which can be used by some program to set screen brightness?

Cheers!
Thunder
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#13 lore raw

Re: Probably Off-topic Question...

In reply to Alan Olsen
Quoted 21 lines · Mark Smith
Quoted 8 lines · Steve Underwood
Quoted 7 lines

This is probably a user-land and/or undocumented thing, but I am not certain where to get the correct info.

Does anyone know how to get the screen brightness control to work on a Sony Vaio N505VE? There seems to be some sort of proprietary hook to get it to work that requires their install of Windows. (This is a problem as it was removed immediatly after purchacing the laptop.)

Quoted 10 lines

All the newer Vaios seem to have this problem. They rely on support from Windows to control the brightness, instead of doing it through the BIOS, like older machines. I don't know a solution. More annoyingly, they won't hibernate, as they rely on Windows Me or 2000 doing it for them. The APM hibernate in the BIOS seems to have gone. I have a Z505GAT, which I think is the Asian version of the model sold in the US as the Z505LE. I guess this will become the norm now none of the current versions of Windows require any hibernation support from the BIOS. The hibernate to swap patch for Linux really needs to get into the mainstream, and be more thoroughly exercised.

Quoted 7 lines

if anyone finds a way of dimming the brightness make sure you post! besides killing the battery, it also makes it hard to use in dark places such as night flights. i feel as if i'm lighting up the cabin in these cases.

my vaio F-series used to sleep correctly under RH6.1. it now hangs forever making the sleep mode much less useful.

Maybe it has some problems with the way you send it to sleep. It could have changed through the times...

Cheers!
Thunder
---
I did a "cat /boot/vmlinuz >> /dev/audio" - and I think I heard god... -
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#14 lore raw

[OT] Vaio Brightness [WAS: Probably Off-topic Question...]

Ok, I stuffed Tridge's inb / outb program into a little gnome window. Just seems easier to have a spinbox to adjust brightness. Shits and giggles.

You can find it at: http://drew.serialhacker.net/vaio_control.tar.gz

You either have to run it as root or throw the executable into /usr/local/bin and set the sticky bit.

Drew

Quoted 40 lines · Thunder from the hill
Quoted 21 lines · Mark Smith
Quoted 8 lines · Steve Underwood
Quoted 7 lines

This is probably a user-land and/or undocumented thing, but I am not certain where to get the correct info.

Does anyone know how to get the screen brightness control to work on a Sony Vaio N505VE? There seems to be some sort of proprietary hook to get it to work that requires their install of Windows. (This is a problem as it was removed immediatly after purchacing the laptop.)

Quoted 10 lines

All the newer Vaios seem to have this problem. They rely on support from Windows to control the brightness, instead of doing it through the BIOS, like older machines. I don't know a solution. More annoyingly, they won't hibernate, as they rely on Windows Me or 2000 doing it for them. The APM hibernate in the BIOS seems to have gone. I have a Z505GAT, which I think is the Asian version of the model sold in the US as the Z505LE. I guess this will become the norm now none of the current versions of Windows require any hibernation support from the BIOS. The hibernate to swap patch for Linux really needs to get into the mainstream, and be more thoroughly exercised.

Quoted 7 lines

if anyone finds a way of dimming the brightness make sure you post! besides killing the battery, it also makes it hard to use in dark places such as night flights. i feel as if i'm lighting up the cabin in these cases.

my vaio F-series used to sleep correctly under RH6.1. it now hangs forever making the sleep mode much less useful.

Maybe it has some problems with the way you send it to sleep. It could have changed through the times...

Cheers!
Thunder
---
I did a "cat /boot/vmlinuz >> /dev/audio" - and I think I heard god... -
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

Signature · 7 lines
Drew Bertola  | Send a text message to my pager or cell ... 
              |   http://jpager.com/Drew

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#15 lore raw

Re: Probably Off-topic Question...

In reply to Alan Olsen
Quoted 9 lines · Mark Smith
Quoted 6 lines · Thunder from the hill
Quoted 4 lines
Quoted 2 lines
Quoted 2 lines

my vaio F-series used to sleep correctly under RH6.1. it now hangs forever making the sleep mode much less useful.

i just push the sleep button. it used to work under RH6.1. under RH7.0 it never wakes up.

Well, this seems not to be right...
Already any idea?

Quoted 6 lines

i haven't had a chance to look at it. i'm not quite sure where to start looking either. i suppose i could track down if there's any resource still running? trying out different configurations. it's kinda annoying. the battery drain on linux is pretty high so it would be useful to sleep to save juice. not quite annoying enough yet to start debugging though. too many other things above it on the sliding scale.

Hmmm... Can you access objects on the penguin via network? Try using telnet, or better ssh, to be sure if it is a crash or a graphic error.

Thunder
---
Woah... I did a "cat /boot/vmlinuz >> /dev/audio" - and I think I heard god...

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/