Live CD HP dx5150 MT (Athlon64) cannot mount installation CD during boot

Bug #21223 reported by Joe Kislo
16
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Won't Fix
Medium
Ben Collins

Bug Description

I have an HP DX5150 MT (Athlon64) machine on my desk at work, and am currently
running hoary with a custom compiled kernel, and custom compiled x.org to get
things *mostly* working. I'm hoping breezy will work out of the box. I'll be
writing up many bugs w/ this machine (it has all REALLY new hardware new to
2.6.12). It's a stock
config from HP, but basically EVERYTHING is on a single chip on the motherboard
(sound, video, sata, ata, usb)

When I try to boot the LiveCD 9/6 build, AMD64, the machine fails when it tries
to mount the "installation CD". The system can obviously read the CD (since it
booted off of it)

When I open a shell, and try to mount the drive, I get an invalid argument error:
mount -t iso9660 /dev/cdroms/cdrom0 /z
mount: /dev/cdroms/cdrom0 is write proetected, mounting read-only
mount: Mounting /dev/cdroms/cdrom0 on /z failed: Invalid argument

dmesg shows:
Unable to identify CD-ROM format.

I have tried this on two identical HP machines, with the same results.

Earlier in syslog I see these errors (I don't think they're related)
Missing modules 'ide-mod (Lnux IDE driver), ide-probe-mod (linux ide probe
driver), ide-detect (linux ide detection)
then it starts searching for ubuntu installation media
and cdrom-detect gets mad

While the system is in this state, I can eject the cdrom. I tried putting a
known good CD in the drive. It cannot mount that. I tried putting a known good
PRESSED cd in the drive, it did not mount either.

The machine itself normally runs a hoary system with a custom 2.6.12 kernel.
That cannot mount cdroms either.

If I cat /dev/cdroms/cdrom0, it DOES produce data. hdparm reports DMA is not on:

/dev/hda:
 IO_support = 0 (default 16-bit)
 unmaskirq = 0 (off)
 using_dma = 0 (off)
 keepsettings = 0 (off)
 readonly = 0 (off)
 readahead = 256 (on)
 HDIO_GETGEO failed: Invalid argument

Since it properly detects the drive, can read data from it, the drive works.. I
tried to figure out why it can't mount things on it.

I did a dd if=/dev/cdrom/cdrom0 of=/tmp/cdrom-1meg-hp bs=1M count=1
on the HP machine, and did the same thing on my old dell machine. I used a
pressed hoary live CD for this.

I have attached the two files. If you do a hex diff between the two files, you
will discover
my HP machine every 60 (sometimes less) bytes adds 2 (hex) to a single byte.
Soundly corrupting what it's reading :)

I am assuming this drive works because:
 a) This happens on another HP dx5150
 b) The thing can friggin' boot the live cd, just not "mount" the partition
 c) I did a hoary install partially from cd on this thing a few months ago when
we got the machine

I assume this is some nasty kernel issue. Here is my /proc/pci
PCI devices found:
  Bus 0, device 0, function 0:
    Host bridge: PCI device 1002:5950 (ATI Technologies Inc) (rev 1).
      Master Capable. Latency=64.
      Non-prefetchable 64 bit memory at 0x0 [0x1fffffff].
  Bus 0, device 1, function 0:
    PCI bridge: PCI device 1002:5a3f (ATI Technologies Inc) (rev 0).
      Master Capable. Latency=99. Min Gnt=10.
  Bus 0, device 5, function 0:
    PCI bridge: PCI device 1002:5a37 (ATI Technologies Inc) (rev 0).
      Master Capable. No bursts. Min Gnt=2.
  Bus 0, device 18, function 0:
    IDE interface: ATI Technologies Inc ATI 4379 Serial ATA Controller (rev 0).
      IRQ 5.
      Master Capable. Latency=64.
      I/O at 0xfc00 [0xfc07].
      I/O at 0xf800 [0xf803].
      I/O at 0xf400 [0xf407].
      I/O at 0xf000 [0xf003].
      I/O at 0xec00 [0xec0f].
      Non-prefetchable 32 bit memory at 0xfe02f000 [0xfe02f1ff].
  Bus 0, device 19, function 0:
    USB Controller: PCI device 1002:4374 (ATI Technologies Inc) (rev 0).
      IRQ 10.
      Master Capable. Latency=64.
      Non-prefetchable 32 bit memory at 0xfe02e000 [0xfe02efff].
  Bus 0, device 19, function 1:
    USB Controller: PCI device 1002:4375 (ATI Technologies Inc) (rev 0).
      IRQ 10.
      Master Capable. Latency=64.
      Non-prefetchable 32 bit memory at 0xfe02d000 [0xfe02dfff].
  Bus 0, device 19, function 2:
    USB Controller: PCI device 1002:4373 (ATI Technologies Inc) (rev 0).
      IRQ 10.
      Master Capable. Latency=64.
      Non-prefetchable 32 bit memory at 0xfe02c000 [0xfe02cfff].
  Bus 0, device 20, function 0:
    SMBus: ATI Technologies Inc ATI SMBus (rev 16).
      I/O at 0x500 [0x50f].
      Non-prefetchable 32 bit memory at 0xfe02b000 [0xfe02b3ff].
  Bus 0, device 20, function 1:
    IDE interface: ATI Technologies Inc Standard Dual Channel PCI IDE Controller
ATI (rev 0).
      Master Capable. Latency=64.
      I/O at 0xe400 [0xe40f].
  Bus 0, device 20, function 3:
    ISA bridge: PCI device 1002:4377 (ATI Technologies Inc) (rev 0).
  Bus 0, device 20, function 4:
    PCI bridge: PCI device 1002:4371 (ATI Technologies Inc) (rev 0).
      Master Capable. Latency=64. Min Gnt=2.
  Bus 0, device 20, function 5:
    Multimedia audio controller: PCI device 1002:4370 (ATI Technologies Inc)
(rev 1).
      IRQ 11.
      Master Capable. Latency=64. Min Gnt=2.
      Non-prefetchable 32 bit memory at 0xfe02a000 [0xfe02a0ff].
  Bus 0, device 24, function 0:
    Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
HyperTransport Technology Configuration (rev 0).
  Bus 0, device 24, function 1:
    Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
(rev 0).
  Bus 0, device 24, function 2:
    Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM
Controller (rev 0).
  Bus 0, device 24, function 3:
    Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Miscellaneous Control (rev 0).
  Bus 1, device 5, function 0:
    VGA compatible controller: PCI device 1002:5954 (ATI Technologies Inc) (rev 0).
      IRQ 11.
      Master Capable. Latency=64. Min Gnt=8.
      Prefetchable 32 bit memory at 0xd0000000 [0xd7ffffff].
      I/O at 0xcc00 [0xccff].
      Non-prefetchable 32 bit memory at 0xfdaf0000 [0xfdafffff].
  Bus 1, device 5, function 1:
    Display controller: PCI device 1002:5854 (ATI Technologies Inc) (rev 0).
      Master Capable. Latency=64. Min Gnt=8.
      Prefetchable 32 bit memory at 0xc8000000 [0xcfffffff].
      Non-prefetchable 32 bit memory at 0xfdae0000 [0xfdaeffff].
  Bus 2, device 0, function 0:
    Ethernet controller: Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet
PCI Express (rev 32).
      IRQ 11.
      Non-prefetchable 64 bit memory at 0xfde00000 [0xfde0ffff].

Let me know what else you might want.

Revision history for this message
Joe Kislo (joe-k12s) wrote :

Created an attachment (id=3644)
First 512k of the hoary pressed live CD. BAD.

Revision history for this message
Joe Kislo (joe-k12s) wrote :

Created an attachment (id=3645)
First 512k of the hoary pressed live CD. GOOD.

Revision history for this message
Joe Kislo (joe-k12s) wrote :

I did the first 512k because the max attachment is 1mb

Revision history for this message
Matt Zimmerman (mdz) wrote :

*** Bug 21737 has been marked as a duplicate of this bug. ***

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

If possible, please upgrade to Dapper's 2.6.15-7 kernel. If you do not want to
upgrade to Dapper, then you can also wait for the Dapper Flight 2 CD's, which
are due out within the next few days.

Let me know if this bug still exists with this kernel.

Revision history for this message
Joe Kislo (joe-k12s) wrote :
Download full text (3.8 KiB)

Using flight 2 AMD64 Live CD, the system boots... but doesn't do so very well:
 * Kernel Panic on boot
 * Doesn't regonize my sata HDD (although sata_sil does appear to load)
 * Didn't DHCP an ethernet address
 * Got wrong video resolution for LCD, but video does work

Here's the kernel panic:
[ 80.501028] usb-storage: device scan complete
[ 80.590378] sr0: scsi3-mmc drive: 62x/62x writer dvd-ram cd/rw xa/form2 cdda tray
[ 80.590719] sr 2:0:0:0: Attached scsi CD-ROM sr0
[ 80.661258] sr 2:0:0:0: Attached scsi generic sg0 type 5
[ 83.499926] Unable to handle kernel NULL pointer dereference at 0000000000000
008 RIP:
[ 83.499971] <ffffffff801dafee>{generic_make_request+30}
[ 83.500122] PGD b6b0c067 PUD b4bcc067 PMD 0
[ 83.500259] Oops: 0000 [1]
[ 83.500329] CPU 0
[ 83.500399] Modules linked in: sg sr_mod dm_mod usbhid usb_storage snd_atiixp
 snd_ac97_codec snd_ac97_bus snd_pcm_oss pcspkr snd_mixer_oss parport_pc parport
 ehci_hcd ohci_hcd psmouse rtc snd_pcm floppy usbcore tg3 serio_raw shpchp snd_t
imer snd soundcore snd_page_alloc pci_hotplug evdev md_mod ext2 unionfs cloop is
ofs ide_generic ide_cd cdrom generic atiixp sata_sil libata scsi_mod thermal pro
cessor fan fbcon tileblit font bitblit softcursor capability commoncap
[ 83.502194] Pid: 3537, comm: readahead-list Not tainted 2.6.15-8-amd64-generi
c #1
[ 83.502239] RIP: 0010:[<ffffffff801dafee>] <ffffffff801dafee>{generic_make_re
quest+30}
[ 83.502314] RSP: 0018:ffff8100b43ddac8 EFLAGS: 00010212
[ 83.502389] RAX: 0000000000000000 RBX: 0000000000000002 RCX: 0000000000000000
[ 83.502429] RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000
[ 83.502471] RBP: ffff8100b94cd540 R08: 0000000000000000 R09: ffff8100b8a998f0
[ 83.502514] R10: 0000000000000000 R11: 0000000000000001 R12: ffff8100b94cd540
[ 83.502555] R13: 0000000000000004 R14: ffff8100b43ddba8 R15: 0000000000000250
[ 83.502596] FS: 00002aaaaadf96d0(0000) GS:ffffffff803ef800(0000) knlGS:00000
00000000000
[ 83.502642] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 83.502683] CR2: 0000000000000008 CR3: 00000000b4265000 CR4: 00000000000006e0
[ 83.502725] Process readahead-list (pid: 3537, threadinfo ffff8100b43dc000, t
ask ffff8100b962a850)
[ 83.502770] Stack: 0000000000000000 ffff8100b43ddbc8 ffff8100b94cd540 0000000
000000000
[ 83.502945] ffff8100b94cd540 0000000000000000 ffff8100b94cd540 0000000
000000004
[ 83.503155] ffff8100b43ddba8 ffffffff801db658
[ 83.503295] Call Trace:<ffffffff801db658>{submit_bio+200} <ffffffff801746dd>{
submit_bh+253}
[ 83.503480] <ffffffff80176244>{block_read_full_page+596} <ffffffff8820
4ce0>{:ext2:ext2_get_block+0}
[ 83.503668] <ffffffff80195d0f>{do_mpage_readpage+959} <ffffffff88204ce
0>{:ext2:ext2_get_block+0}
[ 83.503855] <ffffffff801eb7f1>{sprintf+81} <ffffffff801e9393>{radix_tr
ee_node_alloc+19}
[ 83.504035] <ffffffff801e979d>{radix_tree_insert+317} <ffffffff801967c
d>{mpage_readpages+173}
[ 83.504218] <ffffffff88204ce0>{:ext2:ext2_get_block+0} <ffffffff801580
83>{__alloc_pages+99}
[ 83.504403] <ffffffff80159700>{__do_page_cache_readahead+368} <fffffff
f801598b9>{...

Read more...

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

(In reply to comment #6)
> Using flight 2 AMD64 Live CD, the system boots... but doesn't do so very well:
> * Kernel Panic on boot

Ok, I'll need you to either dist-upgrade to dapper, or wait for flight3 CD's.

Revision history for this message
Joe Kislo (joe-k12s) wrote :

I get a similar kernel OOPS with Flight 4 on an HP DL385 AMD280 2cpu machine. I'm writing it up as a separate bug. I'll try flight 4 on the Dx5150 on tuesday and see if the other issues are resolved

Revision history for this message
Launchpad Janitor (janitor) wrote : This bug is now reported against the 'linux' package

Beginning with the Hardy Heron 8.04 development cycle, all open Ubuntu kernel bugs need to be reported against the "linux" kernel package. We are automatically migrating this linux-source-2.6.15 kernel bug to the new "linux" package. We appreciate your patience and understanding as we make this transition. Also, if you would be interested in testing the upcoming Intrepid Ibex 8.10 release, it is available at http://www.ubuntu.com/testing . Please let us know your results. Thanks!

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Ralph Janke (txwikinger) wrote :

Unfortunately this bug report is being closed because we received no response to the last inquiry for information. However, the Intrepid Ibex 8.10 Beta release was most recently announced - http://www.ubuntu.com/testing/intrepid/beta . If you are able to confirm this is still an issue with this most recent release please feel free to reopen this report. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks

Changed in linux:
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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