/srv/irclogs.ubuntu.com/2009/05/16/#ubuntu-kernel.txt

=== SEJeff_home is now known as SEJeff
Kanohi, could somebody merge 2.6.30-rc610:39
LocoHi. I just upgraded to Ubuntu 9.04. Now my MP3's play verry fast most of the time. It does not matter what app I use to play them or what size or bitrate they were made at..Any help would be apreciated.12:25
Nafallomode +c would be appreciated as well :-)12:26
vertixi am having a hard time with booting 8.10 because of mixed drive configuration. I have IDE and SCSI (sata) drive. BIOS is set for IDE to be 1st drive. But when I boot from livecd, it becomes 2nd drive and when i regenerate grub and put it on MBR, it thinks it is 2nd drive (hd1) for grub. So, when you boot from grub and escape to commmand line, you are seeing that / partition as drive 1, not 216:03
vertixand so all other partitions are on the wrong drive and fsck exits with error, because it is trying to check the wrong partition type, because what it is checking is not on the right drive16:04
vertixbasically, what it boils down to is this: looks like you need to change the drive order in bios before you boot from livecd. then, do grub>find /boot/grub/stage1, specify kernel and do a setup, but before you start booting it, you need to go to bios and change drive order, else you won't be able to boot because what grub/kernel think of drive/partition order when you were generating grub, is not the same as when you BOOT16:08
vertixbtw, i am talking about the case when you already had 8.10 installed and are trying to fix the MBR that was wiped out by windows install after ubuntu, in which cause you already have your system, except your MBR needs fixing16:10
vertixand interesting thing is that even if you refer to drives via guid (in grub's menu.lst), it still does not help16:11
mjg59I suspect you're misdiagnosing this16:11
mjg59The kernel ignores bios drive order16:12
vertixcould be16:12
mjg59Whereas grub pays attention to nothing other than bios drive order16:12
mjg59So either you don't get a kernel or you don't get a root filesystem16:12
vertixunfortunately that is not what i am seeing16:12
mjg59If you get a kernel then grub works fine and it's not a bios drive order issue16:13
vertixwhat i see is grub seeing the same drive order as in bios ONLY when you get a grub> prompt. after that, at some point, the drives are swapped and if you manage to boot, your drive order is going to be different than what bios says16:13
mjg59The kernel doesn't care about bios order16:13
mjg59If you see any output from Linux then your issue has nothing to do with that16:14
vertixwell, but the thing is, i get an error at the point when root partition is attempted to be mounted16:14
mjg59The kernel sees all disks and will use the appropriate uuid16:14
vertixyes, i saw some of that, except in my case, my ide drive was addressed not as guid because it had old grub from old redhat and i don't recall it being addressed as guid, but lemme see here16:15
vertixwell, what i am seeing is menu.lst is not addressing the ide drive as guid. i don't remember exactly now, but it could be that i just copied the grub sections from ide drive (where redhat is installed) to the sata drive (where ubuntu is installed, just to be able to boot any one of them. could this cause some problem?16:19
mjg59menu.ls tis only parsed by grub16:20
vertixbtw, do you know at what exact point in the boot sequence the grub's device.map goes into effect?16:20
mjg59In grub16:20
mjg59If grub can see your kernel then device.map is fine16:20
vertixgrub CAN see my kernel, but it is on the wrong drive. becasue when that grub was generated, the drive order was different. What i am seeing is this:16:21
vertixwhen you boot and escape from grub, the drive order is the same as bios16:22
vertixbut at some point in booting sequence, drive order is swapped, and if you manage to boot, then what bios says as drive 1, actually becomes drive 216:22
vertixso, at some point, the drive switching happens16:22
vertixthe question is exactly when and why?16:23
mjg59I have no idea what you mean16:23
mjg59The kernel doesn't use the BIOS drive order16:23
mjg59There's no swapping16:23
mjg59Kernel drive order has never had anything to do with BIOS drive order16:24
vertixwell, but this is not what i am seeing16:24
mjg59So 0x80 may end up has hdc16:24
vertixthere IS swapping and it is even discussed in GNU's grub documentation somewhere16:24
mjg59Or sdb16:24
mjg59Or whatever16:24
mjg59But if grub is reading the kernel then BIOS drive order is entirely not what you are having a problem with16:25
vertixyou see, grub comes up from MBR of the drive that is set to be drive 1 in bios, doesn't it?16:25
mjg59Either grub is reading the wrong configuration file or your uuid entry in the grub config is wrong16:25
mjg59No16:25
vertixor "active partition"16:25
mjg59grub is launched from whatever partition the BIOS boots16:25
vertixcorrect16:25
mjg59The rules for that depend on the BIOS16:25
vertixyep16:26
mjg59grub then reads stage 1.5 and stage 2 off the disk16:26
mjg59If that works then grub and the bios agree on drive ordering16:26
mjg59Which means devices.map is correct16:26
vertixyep, i am asking about that device.map. at what point that device.map is being looked upon or takes effect in boot sequence?16:27
mjg59Neve16:28
mjg59r16:28
mjg59It's only read when grub is being installed into the boot sector16:28
vertixassume my 1st drive (in bios is ide), 2nd drive is sata. after kernel comes up, the sata drive shows as sda, not sdb, and ide shows as sdb. why?16:28
vertixoh, i see16:28
mjg59Because the kernel enumerates in PCI order, not BIOS order16:28
vertixso, i need to change the drive order in .map file and THEN regenerate the grub?16:29
mjg59No16:29
vertixcause what i am seeing is drives swapping around16:29
mjg59If grub is running then devices.map is correct16:29
mjg59The drives are *not* swapping16:29
mjg59BIOS order has nothing to do with kernel order16:29
mjg59You can't make them consistent16:30
vertixthen i don't follow it? why do i see different drive order when just starting to boot and when i am booted?16:30
mjg59You don't16:30
sorenWell, that's exactly *because* BIOS and kernel disk ordering are completely unrelated.16:30
mjg59Right16:31
mjg59You can't change the BIOS order16:31
mjg59And you can't change the kernel order16:31
mjg59devices.map exists just to tell grub how to get from kernel order (which it can read) to BIOS order (which it can't)16:31
vertixok, assume i start booting. i escape from grub and do grub> find /boot/grub/stage116:33
Nafalloehrm. my laptop have two devices in their... I must have installed with the external plugged in :-P16:33
Nafallos/eir/ere/16:33
vertixwhat I am seeing is stage 1 is not on the same drive as when i was booted from live cd and generated the mbr16:33
mjg59That's not what you were saying16:34
mjg59It's helpful if you explain your problem rather than what you think your problem is16:34
mjg59So grub is reading the wrong config file?16:34
vertixmjg59, basically, my question is simple: how do i make it boot? are you saying that when i generated grub, i should have done something different?16:35
mjg59You're not saying what's going wrong16:35
vertixkernel can not mount root partition because it is on the wrong drive16:35
vertixand when it does fsck, it says one of partitions is bad, because again, it is looking at the wrong drive16:36
vertixcould it be because of initrd?16:36
mjg59If the kernel is booting then your problem is unrelated to grub16:36
vertixyou see, i was able to get it booting at some point16:36
mjg59It could be the initrd16:36
vertixkernel is not booting. it can not, because it can not mount the / 16:36
mjg59If you manage to end up with an initrd that doesn't contain drivers for your filesystem then you'll see that16:37
mjg59If the kernel didn't boot then you wouldn't get that message16:37
mjg59The kernel has loaded. It's executed. The initrd has then failed.16:37
mjg59eAnyway. 1:40AM here, so I'm sleeping.16:38
vertixwell, the boot sequence started. because grub was told the actual correct root partition, but when boot process tried to mount /, it complained. it could be that driver for sata was not loaded. i don't argue that16:39
vertixk, thanx for your time16:39
pongHi17:00
vertixmy box got infected with rootkit and it looks like it progressed pretty far and now my cdrom drive does not work as advertised22:16
vertixlooks like bios is infected and when i insert the rw+ disk into it, it starts doing something with the disk and, after a while, reboots the box22:17
vertixbut when i insert the blank CD, then I see the message from ubuntu saying: blank disk is inserted22:18
ikoniahow is this anything to do with a kernal ?22:18
vertixI am not sure it is a good idea to write anything to that disk, cause there is no guarantee that it is not going to add some viruses to the image22:18
ikoniathis is a.) nothing to do with ubuntu-kernel b.) interesting to hear as you said you couldn't boot ubuntu 22:19
vertixwell, I am curious if someone knows that in case bios is infected, will it percolate to kernel?22:19
ikonianothing to do with ubuntu-kernel22:19
vertixikonia, why are you following me around and provoking some ugly stuff?22:19
vertixwhat does it have to do with YOU?22:19
vertixwhat is YOUR problem?22:19
ikoniaI'm not following you, I was here in this channel when you joined, please read the /topic22:19
vertixand I know enough about kernel level issue to see what does it have to do with what22:20
vertixYes, you ARE following me22:20
vertixhere, than on #linux22:20
vertixwhat is that you want froim me?22:20
ikoniaI was in this channel before you joined as I was in ##linux before you joined also 22:20
vertixWhat is this ugly spying trip you are involved in?22:20
ikoniavertix: if your bios is infected with a virus is nothing to do with #ubuntu-kernel, plus I can't see how this is anything to do with ubuntu as you explained you can't boot ubuntu 22:21
vertixikonia, I am not interested in your opinions22:21
ikoniavertix: the topic is "ubuntu kernel development only" 22:21
vertixyou can just do all other exciting things you normally do22:21
ikoniaplease check the /topic22:21
vertixikonia, one more time: I am not interested in YOUR opinion? Is that clear enough?22:22
vertixI have seen one of your opinions and it is totally off the wall22:22
ikoniavertix: one more time - respect the channels topic22:22
LjLvertix: please stay on topic.22:22
vertixI never had a single chance to work22:22
vertixand I would have to spend half a day doing the most stupid thing in the world22:22
vertixso, could you stay away from me and mind your own business?22:23
ikoniathats not our problem, follow the channels topic, please. 22:23
vertixthe topic is this:22:23
ikoniathe topic is displayed in /topic 22:23
vertixcan virus potentially affect the cdrom drivers22:23
vertixkernel level22:23
LjLNo, the topic is: "KERNEL BUG DAY 12-May-2009 | Ubuntu kernel development discussion ONLY | Kernel Wiki: https://wiki.ubuntu.com/KernelTeam | Latest news: Released 2.6.28 kernel for Jaunty/9.04. | Kernel git trees: http://kernel.ubuntu.com/git | Latest kernel upload: 2.6.28-12.43 based on 2.6.28.10 final"22:23
vertixk, I see, thanx anyway, I guess you have better things to do in your life22:24
ikoniathanks, 22:24

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!