linux-image-2.6.20-2: unable to boot Feisty

Bug #76640 reported by cubells
8
Affects Status Importance Assigned to Milestone
linux-source-2.6.20 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: linux-image-2.6.20-2-386

Yesterday, after a dist-upgrade and a linux-image-2.6.20-2-386 installation, my sistem hangs on boot.

I've tried installing the linux-image-2.6.20-2-386-generic kernel and I've obtained the same result.

The system hangs on checking the irqs:

IRQ 18: nobody care (try booting with the "irqpoll" option)
...
Disabling IRQ #18

I've tried too appending a lot of diferents options to the kernel line (irqpoll, acpi=off, noapic nolapic, pci=noacpi) and I've obtained the same result but diferents irqs.

I take at look at https://wiki.ubuntu.com/DebuggingKernelProblems but my dmesg file seems no to have information, but I can try all the times you want to attach more information.

I have my root partition on /dev/sdb6.

Any idea?

Revision history for this message
cubells (cubells) wrote :

I have new important information about that problem: linux-image-2.6.20-2 doesn't hang my computer.

After a couple of minutes of inactivity the system says that:

ALERT! /dev/sdb6 does not exist.
Dropping to a shell!

Shell is: Busybox v1.1.3 (Debian 1:1.1.3-3ubuntu2) (ash)

The problem is that the kernel detects my master harddrive as hde device and my slave harddrive as hdg device, where is the root partition...

Revision history for this message
cubells (cubells) wrote :

Today, after a new dist-upgrade with an initramfs update a new message is shown on my screen just before dropping me to a shell:

ide_media[1968]: main : unable to read from '/proc/ide/ide2/hde/media'
Done
Check root= bootarg cat /proc/cmdline
or missing modules, devices: cat /proc/modules ls /dev

Obviously, my harddrive is not detected correctly, :-)

Revision history for this message
tokj (tokj-deactivatedaccount) wrote :
Revision history for this message
cubells (cubells) wrote :

Chantra's workaround does not work for me either 2.6.20-2-386 or 2.6.20-2-generic kernel:

1) $ sudo vi /usr/share/initramfs-tools/scripts/local-top/udev_helper
2) comment out modprobe -q ide-generic
3) $ sudo update-initramfs -u -k 2.6.20-2-generic
or
4) $ sudo update-initramfs -u -k 2.6.20-2-386

the system stops on checking irqs, #18 and #17 respectively.

:-(

I'll try Martin Sousa's workaround:

to install initramfs-tools_0.69ubuntu26_all.deb

I will comment on something later...

Revision history for this message
cubells (cubells) wrote :

My feisty partition is dead even if I install the initramfs-tools_0.69ubuntu26_all.deb package.

 Nothing has changed.

Revision history for this message
cubells (cubells) wrote :

Installing the newest initramfs-tools update of Debian (initramfs-tools_0.85e_all.deb) which solves a similar problem:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403224

it has no success with my problem.

My kernels 2.6.20* stops on detecting irqs...

I'm sure new year will bring me a real solution ;-)

Revision history for this message
cubells (cubells) wrote :

No success with 386, generic, lowlatency and server kernels.

The problem, I think, is how the "init" process detects my harddrives.

For example:

...
Ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda: DMA, hdb: pio
Ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc: DMA, hdd: pio
usb 3-1: new full speed USB device using uhci_hcd and address 2
hdc: HL-DT-STDVD-ROM GDR8162B, ATAPI CD/DVD-ROM drive
ide1: I/O resource 0x376-0x376 not free.
hdc: ERROR, PORTS ALREADY IN USE
ide1 at 0x170-0x177,0x376 on irq 15
ICH5-SATA: IDE controller at PCI slot 0000:00:1f.2
ACPI: PCI Interrupt 0000:00:1f.2[A] -> GSI 18 (level,low) -> IRQ 18
ICH5-SATA: chipset revision 2
ICH5-SATA: 100% native mode on irq 18
ide2: BM-DMA at 0xd000-0xd007, BIOS settings: hde:DMA, hdf:pio
ide3: BM-DMA at 0xd008-0xd00f, BIOS settings: hdg:DMA, hdh:pio
hde: Maxtor 6V080E0, ATA DISK drive
hdf: probing with STATUS(0x00) instead of ALTSTATUS(0x50)
hdd: HL-DT-ST DVDRAM GSA-4167B, ATAPI CD/DVD-ROM drive
hdf: probing with STATUS(0x00) instead of ALTSTATUS(0x50)
ide2: I/0 resource 0xC402-0xC402 not free.
hde: ERROR, PORTS ALREADY IN USE
ide2 at 0x000-0x0077,0xc402 on irq 18
ide3: I/0 resource 0xCC02-0xCC02 not free.
ide3: ports already in use, skippin probe
SCSI subsystem initialized
ACPI: PCI Interrupt 0000:02:08.0[A] -> GSI 20 (level, low) -> IRQ 20
e100: eth0: e100_probe: addr 0Xfa000000, irq 20, MAC addr 00:0D:61:30:E2:6E
hdg: ST3120026AS, ATA DISK drive
hdh: probing with STATUS(0x00) instead of ALTSTATUS(0x50)
hdh: probing with STATUS(0x00) instead of ALTSTATUS(0x50)
register_blkdev: cannot get major 22 for ide1
register_blkdev: cannot get major 33 for ide2
ide3 at 0xc800-0xc807,0xcc02 on irq 18
hdg: max request size: 512KiB
usb 3-1: configuration #1 chosen from 1 choice
hdg: 234441648 sectors (120034 MB) w/819KiB Cache, CHS=16383/255/63, UDMA(100)
hdg: cache flushes supported
hdg: Done
Begin: Waiting for root file system... ...
hdg1 hdg2 < hdg5 hdg6 hdg7 hdg8 hdg9 >
irq 18: nobody cared (try booting with the "irqpoll" option)
...

What do you think?

Revision history for this message
Ben Collins (ben-collins) wrote :

Edit /boot/grub/menu.lst, find the line that starts "# kopt_2_6" and remove it. Then run "sudo update-grub". This should resolve the issue.

Changed in linux-source-2.6.20:
status: Unconfirmed → Rejected
Revision history for this message
cubells (cubells) wrote :

> Edit /boot/grub/menu.lst, find the line that starts "# kopt_2_6" and remove it. >Then run "sudo update-grub". This should resolve the issue.

Update-grub doesn't work either.

I've obtained the same results than before for the kernels 386, generic, lowlatency and server.

If I boot with the "ro single splash" kernel options, I get this message:

hde: ERROR, PORTS ALREADY IN USE
irq 18: nobody care
handlers:
.... (usb_hcd_irq+0x0/0x60 [usbcore])
.... (ide_intr+0x0/0x1f0)
.... (ide_intr+0x0/0x1f0)
Disabling IRQ # 18
ide-media [1998]: main: unable to read form '/proc/ide/ide2/hde/media'

I have two SATA Hard disks, sda and sdb.
My Ubuntu Edgy is at the /dev/sda6 partition.

The boot process detects my sdb disk as a hdg device as you can read in my last message.

:-(

Revision history for this message
cubells (cubells) wrote :

>> My Ubuntu Edgy is at the /dev/sda6 partition

Sorry, a mistake: feisty is at /dev/sdb6...

Revision history for this message
cubells (cubells) wrote :

Update: identical problem with the very new kernel 2.6.20-3-386

No changes...

Revision history for this message
cubells (cubells) wrote :

Update: identical problem with the very new kernel 2.6.20-4-386

No changes...

Revision history for this message
tokj (tokj-deactivatedaccount) wrote :

Same problem for me and the workaround doesn't work.

It's better if the bug is reopened.

Changed in linux-source-2.6.20:
status: Rejected → Confirmed
Revision history for this message
Jan Ischebeck (siesel) wrote :

I run in a similar problem, but it is fixed with 2.6.20-4.

The hard disc was not found correctly. In the bootlog I saw the message:

PCI: Unable to reserve I/O region #1:8@1f0 for device 0000:00:1f.2

The problem was still in 2.6.20-rc3: http://lkml.org/lkml/2007/1/1/20 and http://lkml.org/lkml/2006/12/3/99

Revision history for this message
cubells (cubells) wrote :

> Ischebeck wrote:
> In the bootlog I saw the message:
> PCI: Unable to reserve I/O region #1:8@1f0 for device 0000:00:1f.2

I have not seen messages like this in my bootlog, with the 2.6.20-4-386 kernel.

But I have seen a panic message, however:

...
Begin: Running /scripts/init-premount
ACPI: Getting cpuindex for acpiid 0x1
Done.
Begin: Mounting root file system... ...
Begin: Running /scripts/local-top
PANIC: Circular dependancy. Exiting
...

Revision history for this message
cubells (cubells) wrote :

Update: identical problem with the very new kernel 2.6.20-5-386

No changes...

Revision history for this message
cubells (cubells) wrote :

Is it normal??

Revision history for this message
dm (dmitry-shaposhnik) wrote :

same with 2.6.20-8

Revision history for this message
cubells (cubells) wrote :

> dm said: same with 2.6.20-8

Yes, I get the same log with all the 2.6.20.x kernels...

If I prove it with the "ro quiet splash" kernel options, I'm dropped to the shell immediately.

But if I prove with "ro single" options I get the same log that you have attached...

Revision history for this message
dm (dmitry-shaposhnik) wrote :

Well, the boot params are root=/dev/sda5 ro locale=ru_RU, quiet and splash was removed to see what's going on.
The system boots and stops after hdd (on the screen). After a minute it gives busybox with a shell.

I make it work setting sata as ide0-master and disabling all IDE's in BIOS. It's not an satisfactory solution, but it works yet.

PS: sorry for my bad English

Revision history for this message
todzuallen (todzuallen) wrote :

I'm experencing this same bug but when I boot with the irqpoll option it manages to boot but does not detect on of my harddrives. I have a P4P800 motherboard and the HD that does not detect is a seagate 320gig, I'd have to look at the harddrive or maybe write down what it detects in the BIOS for more information, I've been using .20 since -4 and am now at -9 with the same issue

Revision history for this message
todzuallen (todzuallen) wrote :

the HD is a Seagate Barracuda 7200.10 ST3320620AS incase this helps... let me know if I can do anything else

Revision history for this message
todzuallen (todzuallen) wrote :

sorry the harddrive issue was acctualy unrelated... before the HD was fine being referred to as /dev/sdb1 but with this kernel it has decided it wants to be /dev/hdg1. probally a reason but I don't know it. maybe it's related I don't know.

anyway I guess I'll post my boot log with irqpoll enabled (boots successfully that way).

Revision history for this message
dm (dmitry-shaposhnik) wrote : Re: [Bug 76640] Re: linux-image-2.6.20-2: unable to boot Feisty

Thanks, with /dev/hdg1 it work fine now!

On 3/14/07, todzuallen <email address hidden> wrote:
>
> sorry the harddrive issue was acctualy unrelated... before the HD was
> fine being referred to as /dev/sdb1 but with this kernel it has decided
> it wants to be /dev/hdg1. probally a reason but I don't know it. maybe
> it's related I don't know.
>
> anyway I guess I'll post my boot log with irqpoll enabled (boots
> successfully that way).
>
> ** Attachment added: "boot log with irqpoll"
> http://librarian.launchpad.net/6792908/dmesg
>
> --
> linux-image-2.6.20-2: unable to boot Feisty
> https://launchpad.net/bugs/76640
>

Revision history for this message
Ben Collins (ben-collins) wrote :

I think this is all related to a lack of UUID updating in grub's menu.lst.

Changed in linux-source-2.6.20:
status: Confirmed → Rejected
Revision history for this message
dm (dmitry-shaposhnik) wrote :

Before kernel 2.6.20-12 primary sata hdd was recognized as /dev/hdg, and with this kernel it is /dev/sda.

I think that issue/feature is fixed now.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.