oops in zlib_inflate_fast

Bug #65106 reported by Jarno H.
72
Affects Status Importance Assigned to Milestone
linux-source-2.6.17 (Ubuntu)
Fix Released
High
Ben Collins

Bug Description

Ubuntu was installed to slave hdd. Master contains WXP.
Grub installation also failed.

Traceback (most recent call last):
  File "/usr/bin/ubiquity", line 130, in ?
    install(sys.argv[1])
  File "/usr/bin/ubiquity", line 55, in install
    ret = wizard.run()
  File "/usr/lib/python2.4/site-packages/ubiquity/frontend/gtkui.py", line 266, in run
    self.process_step()
  File "/usr/lib/python2.4/site-packages/ubiquity/frontend/gtkui.py", line 741, in process_step
    self.mountpoints_to_summary()
  File "/usr/lib/python2.4/site-packages/ubiquity/frontend/gtkui.py", line 1029, in mountpoints_to_summary
    self.progress_loop()
  File "/usr/lib/python2.4/site-packages/ubiquity/frontend/gtkui.py", line 538, in progress_loop
    raise RuntimeError, ("Install failed with exit code %s; see "
RuntimeError: Install failed with exit code 1; see /var/log/installer/syslog and /var/log/syslog

Revision history for this message
Jarno H. (jarno-hiltunen-saunalahti) wrote :
Revision history for this message
Jarno H. (jarno-hiltunen-saunalahti) wrote :
Revision history for this message
Marc Tardif (cr3) wrote :

Same problem has occured on several machines where I have tried to install 20061009 desktop i386.

Revision history for this message
Vassilis Pandis (pandisv) wrote :

Marc, please file your problem as a separate issue.

description: updated
Revision history for this message
Paul Dufresne (paulduf) wrote : Re: Can't find a SQUASHFS superblock on hda1

Just spotting interesting spots in the log to facilitate debugging:
Oct 10 15:40:41 ubuntu kernel: [ 534.119072] cdrom: open failed.
Oct 10 15:41:19 ubuntu kernel: [ 553.359000] gparted[8943]: segfault at fffffffffffffec8 rip 000000000045982f rsp 00007fffff9cbcd0 error 4
Oct 10 15:41:21 ubuntu kernel: [ 554.229428] cdrom: open failed.
...
Oct 10 15:59:25 ubuntu choose-mirror[14857]: INFO: base system installable from CD; skipping mirror check
Oct 10 15:59:25 ubuntu choose-mirror[14857]: INFO: falling back to codename dapper
Oct 10 15:59:53 ubuntu os-prober: debug: running init /usr/lib/os-probes/init/10filesystems
Oct 10 16:00:19 ubuntu kernel: [ 1144.516747] QNX4 filesystem 0.2.3 registered.
Oct 10 16:00:19 ubuntu os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/hda1
Oct 10 16:00:19 ubuntu kernel: [ 1144.650472] cramfs: wrong magic
Oct 10 16:00:19 ubuntu kernel: [ 1144.660476] Unable to identify CD-ROM format.
Oct 10 16:00:19 ubuntu kernel: [ 1144.666872] SQUASHFS error: Can't find a SQUASHFS superblock on hda1

Revision history for this message
Colin Watson (cjwatson) wrote :

Paul, for your future reference, those errors around the invocation of os-prober are totally irrelevant - they're just artifacts of os-prober trying to mount filesystem as each possible filesystem type in turn. Please ignore them.

Revision history for this message
Colin Watson (cjwatson) wrote :

Thanks for your report. This particular error is often due to a faulty CD/DVD disk or drive. It may help to clean the CD/DVD, to burn the CD/DVD at a lower speed, or to clean the CD/DVD drive lens (cleaning kits are often available from electronics suppliers). However, the oops recorded in the syslog is a kernel bug.

Revision history for this message
Paul Dufresne (paulduf) wrote :

Colin, I am afraid you analyzed Marc's syslog rather than Jarno's one.

Revision history for this message
Jarno H. (jarno-hiltunen-saunalahti) wrote :

Don´t if this information helps but I made partition (with GParted) manually when installation crashed.
I tried few times (different partitions) and it crashed everytime. When I used automatic partitioning it pass without any problems.

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

I've looked through some stuff, and I'm hoping that squashfs v3.1-r2 (we currently use v3.0) fixes this. It lists a major fix for rare SMP related issues when accessing multiply mounted squashfs filesystems.

It would explain the steady increase in reports, due to a default SMP kernel on the CD, and the increase in dual core CPU's that are out in the wild.

Changed in linux-source-2.6.17:
assignee: nobody → ben-collins
importance: Undecided → High
status: Unconfirmed → Fix Committed
Revision history for this message
Simon Law (sfllaw) wrote :

Reproduced on the Vaio:

Here are some attachments.

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

Note, this is being worked around in the live-cd's. The actual fixed squashfs will be in the first kernel update.

Revision history for this message
Michael Vogt (mvo) wrote :

I tested the squashfs fix and it works for me on my duo core test system.

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

Confirmed here as well; this is worked around in the latest edgy CD builds.

Revision history for this message
Paul Dufresne (paulduf) wrote :
Download full text (5.5 KiB)

I am quite lost by you developers on this bug.

First, no one seems to have comment on the fact that original poster have nothing to do (as far as I see) related to kernel bug.
In fact, I see no usefull errors information in Jarno files except maybe:
Oct 10 16:01:24 ubuntu grub-installer: The file /boot/grub/stage1 not read correctly.
Oct 10 16:01:24 ubuntu grub-installer: error: Running 'grub-install --no-floppy "(hd0)"' failed.
at the end of syslog.

Then, I can only guess you have confirmed Marc Tardif bug about zlib oops that have followed the zlib error:
Oct 10 19:53:05 ubuntu python: mkdir /var/lib/ubiquity/source
Oct 10 19:53:05 ubuntu python: log-output -t ubiquity losetup /dev/loop1 /cdrom/casper/filesystem.squashfs
Oct 10 19:53:05 ubuntu ubiquity: mount: block device /dev/loop1 is write-protected, mounting read-only
Oct 10 19:53:05 ubuntu kernel: [17180051.256000] cramfs: wrong magic
Oct 10 19:53:05 ubuntu kernel: [17180051.256000] Unable to identify CD-ROM format.
Oct 10 19:53:05 ubuntu python: log-output -t ubiquity mount /dev/loop1 /var/lib/ubiquity/source
Oct 10 19:54:30 ubuntu dhclient: DHCPREQUEST on eth0 to 192.168.2.60 port 67
Oct 10 19:54:30 ubuntu dhclient: DHCPACK from 192.168.2.60
Oct 10 19:54:30 ubuntu kernel: [17180135.532000] SQUASHFS error: zlib_fs returned unexpected result 0xfffffffd
Oct 10 19:54:30 ubuntu kernel: [17180135.532000] SQUASHFS error: Unable to read page, block 1f2df643, size 6f37
Oct 10 19:54:30 ubuntu kernel: [17180135.532000] SQUASHFS error: zlib_fs returned unexpected result 0xfffffffd
Oct 10 19:54:30 ubuntu kernel: [17180135.532000] SQUASHFS error: Unable to read fragment cache block [25ee069b]
Oct 10 19:54:30 ubuntu kernel: [17180135.532000] SQUASHFS error: Unable to read page, block 25ee069b, size 4aff
Oct 10 19:54:30 ubuntu kernel: [17180135.532000] SQUASHFS error: zlib_fs returned unexpected result 0xfffffffb
Oct 10 19:54:30 ubuntu kernel: [17180135.532000] SQUASHFS error: Unable to read page, block 1f2df643, size 6f37
Oct 10 19:54:30 ubuntu kernel: [17180135.532000] SQUASHFS error: zlib_fs returned unexpected result 0xfffffffd
Oct 10 19:54:30 ubuntu kernel: [17180135.532000] SQUASHFS error: Unable to read fragment cache block [25ee069b]
Oct 10 19:54:30 ubuntu kernel: [17180135.532000] SQUASHFS error: Unable to read page, block 25ee069b, size 4aff
Oct 10 19:54:30 ubuntu kernel: [17180135.532000] BUG: unable to handle kernel paging request at virtual address 31f1ca08
Oct 10 19:54:30 ubuntu kernel: [17180135.532000] printing eip:
Oct 10 19:54:30 ubuntu kernel: [17180135.532000] c01e7b49
Oct 10 19:54:30 ubuntu kernel: [17180135.532000] *pde = 00000000
Oct 10 19:54:30 ubuntu kernel: [17180135.532000] Oops: 0000 [#1]
Oct 10 19:54:30 ubuntu kernel: [17180135.532000] SMP
Oct 10 19:54:30 ubuntu ubiquity[6594]: ubiquity: ['log-output', '-t', 'ubiquity', '--pass-stdout', '/usr/share/ubiquity/install.py'] exited with code 139
Oct 10 19:54:30 ubuntu kernel: [17180135.532000] Modules linked in: xfs reiserfs jfs ext3 jbd ntfs vfat fat ext2 binfmt_misc rfcomm l2cap bluetooth ppdev lp speedstep_lib cpufreq_userspace cpufreq_stats freq_table cpufreq_powersave cpufreq_ondemand cpufreq_conservative video tc11...

Read more...

Revision history for this message
Paul Dufresne (paulduf) wrote :

I believe bug #67874 to be a duplicate too.

Note that there exist a bug reporting freeze on Dual Core on 6.10.
See bug #68612

Changed in linux-source-2.6.17:
status: Fix Committed → Fix Released
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.