=== SEJeff_home is now known as SEJeff [10:39] hi, could somebody merge 2.6.30-rc6 [12:25] Hi. 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:26] mode +c would be appreciated as well :-) [16:03] i 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 2 [16:04] and 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 drive [16:08] basically, 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 BOOT [16:10] btw, 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 fixing [16:11] and interesting thing is that even if you refer to drives via guid (in grub's menu.lst), it still does not help [16:11] I suspect you're misdiagnosing this [16:12] The kernel ignores bios drive order [16:12] could be [16:12] Whereas grub pays attention to nothing other than bios drive order [16:12] So either you don't get a kernel or you don't get a root filesystem [16:12] unfortunately that is not what i am seeing [16:13] If you get a kernel then grub works fine and it's not a bios drive order issue [16:13] what 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 says [16:13] The kernel doesn't care about bios order [16:14] If you see any output from Linux then your issue has nothing to do with that [16:14] well, but the thing is, i get an error at the point when root partition is attempted to be mounted [16:14] The kernel sees all disks and will use the appropriate uuid [16:15] yes, 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 here [16:19] well, 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:20] menu.ls tis only parsed by grub [16:20] btw, do you know at what exact point in the boot sequence the grub's device.map goes into effect? [16:20] In grub [16:20] If grub can see your kernel then device.map is fine [16:21] grub 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:22] when you boot and escape from grub, the drive order is the same as bios [16:22] but 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 2 [16:22] so, at some point, the drive switching happens [16:23] the question is exactly when and why? [16:23] I have no idea what you mean [16:23] The kernel doesn't use the BIOS drive order [16:23] There's no swapping [16:24] Kernel drive order has never had anything to do with BIOS drive order [16:24] well, but this is not what i am seeing [16:24] So 0x80 may end up has hdc [16:24] there IS swapping and it is even discussed in GNU's grub documentation somewhere [16:24] Or sdb [16:24] Or whatever [16:25] But if grub is reading the kernel then BIOS drive order is entirely not what you are having a problem with [16:25] you see, grub comes up from MBR of the drive that is set to be drive 1 in bios, doesn't it? [16:25] Either grub is reading the wrong configuration file or your uuid entry in the grub config is wrong [16:25] No [16:25] or "active partition" [16:25] grub is launched from whatever partition the BIOS boots [16:25] correct [16:25] The rules for that depend on the BIOS [16:26] yep [16:26] grub then reads stage 1.5 and stage 2 off the disk [16:26] If that works then grub and the bios agree on drive ordering [16:26] Which means devices.map is correct [16:27] yep, i am asking about that device.map. at what point that device.map is being looked upon or takes effect in boot sequence? [16:28] Neve [16:28] r [16:28] It's only read when grub is being installed into the boot sector [16:28] assume 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] oh, i see [16:28] Because the kernel enumerates in PCI order, not BIOS order [16:29] so, i need to change the drive order in .map file and THEN regenerate the grub? [16:29] No [16:29] cause what i am seeing is drives swapping around [16:29] If grub is running then devices.map is correct [16:29] The drives are *not* swapping [16:29] BIOS order has nothing to do with kernel order [16:30] You can't make them consistent [16:30] then i don't follow it? why do i see different drive order when just starting to boot and when i am booted? [16:30] You don't [16:30] Well, that's exactly *because* BIOS and kernel disk ordering are completely unrelated. [16:31] Right [16:31] You can't change the BIOS order [16:31] And you can't change the kernel order [16:31] devices.map exists just to tell grub how to get from kernel order (which it can read) to BIOS order (which it can't) [16:33] ok, assume i start booting. i escape from grub and do grub> find /boot/grub/stage1 [16:33] ehrm. my laptop have two devices in their... I must have installed with the external plugged in :-P [16:33] s/eir/ere/ [16:33] what I am seeing is stage 1 is not on the same drive as when i was booted from live cd and generated the mbr [16:34] That's not what you were saying [16:34] It's helpful if you explain your problem rather than what you think your problem is [16:34] So grub is reading the wrong config file? [16:35] mjg59, 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] You're not saying what's going wrong [16:35] kernel can not mount root partition because it is on the wrong drive [16:36] and when it does fsck, it says one of partitions is bad, because again, it is looking at the wrong drive [16:36] could it be because of initrd? [16:36] If the kernel is booting then your problem is unrelated to grub [16:36] you see, i was able to get it booting at some point [16:36] It could be the initrd [16:36] kernel is not booting. it can not, because it can not mount the / [16:37] If you manage to end up with an initrd that doesn't contain drivers for your filesystem then you'll see that [16:37] If the kernel didn't boot then you wouldn't get that message [16:37] The kernel has loaded. It's executed. The initrd has then failed. [16:38] eAnyway. 1:40AM here, so I'm sleeping. [16:39] well, 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 that [16:39] k, thanx for your time [17:00] Hi [22:16] my box got infected with rootkit and it looks like it progressed pretty far and now my cdrom drive does not work as advertised [22:17] looks 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 box [22:18] but when i insert the blank CD, then I see the message from ubuntu saying: blank disk is inserted [22:18] how is this anything to do with a kernal ? [22:18] I 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 image [22:19] this is a.) nothing to do with ubuntu-kernel b.) interesting to hear as you said you couldn't boot ubuntu [22:19] well, I am curious if someone knows that in case bios is infected, will it percolate to kernel? [22:19] nothing to do with ubuntu-kernel [22:19] ikonia, why are you following me around and provoking some ugly stuff? [22:19] what does it have to do with YOU? [22:19] what is YOUR problem? [22:19] I'm not following you, I was here in this channel when you joined, please read the /topic [22:20] and I know enough about kernel level issue to see what does it have to do with what [22:20] Yes, you ARE following me [22:20] here, than on #linux [22:20] what is that you want froim me? [22:20] I was in this channel before you joined as I was in ##linux before you joined also [22:20] What is this ugly spying trip you are involved in? [22:21] vertix: 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] ikonia, I am not interested in your opinions [22:21] vertix: the topic is "ubuntu kernel development only" [22:21] you can just do all other exciting things you normally do [22:21] please check the /topic [22:22] ikonia, one more time: I am not interested in YOUR opinion? Is that clear enough? [22:22] I have seen one of your opinions and it is totally off the wall [22:22] vertix: one more time - respect the channels topic [22:22] vertix: please stay on topic. [22:22] I never had a single chance to work [22:22] and I would have to spend half a day doing the most stupid thing in the world [22:23] so, could you stay away from me and mind your own business? [22:23] thats not our problem, follow the channels topic, please. [22:23] the topic is this: [22:23] the topic is displayed in /topic [22:23] can virus potentially affect the cdrom drivers [22:23] kernel level [22:23] No, 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:24] k, I see, thanx anyway, I guess you have better things to do in your life [22:24] thanks,