Jaunty: Buffer I/O error on casper-rw persistence partition
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
casper (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: casper
Hi,
I created a Jaunty liveboot off a USB key using Unetbootin. After repartitioning and creating a casper-rw partition later on the drive (5.0 GB), I booted it, installed a bunch of things, and shut down cleanly. A bunch of buffer I/O errors were dumped to the console after I hit ENTER at the "remove media" prompt (I don't know if they were already there on a different vt and I just didn't see them)
Fsck revealed many errors on the device.
I repeated this again, after erasing the persistence partition, and this time manually synced after installing all my fun stuff before shutting down. Same error. Very similar fsck output in fact. This time I booted to it and don't notice any obvious stability issues.
I play with persistence quite a bit on Ubuntu and haven't run into this before, but I last used 8.04 and was just making a new one.
Not sure just want other info to include in this, please let me know and I'll see if I can get it for you. If I had to take a stab I'd guess something about not remounting r/o the unionfs and/or backing persistence before shutdown, but I'm no expert in these things. The persistence partition is ext2, I can repeat with a journaled fs of your choice if that would make this easier to debug.
---
ubuntu@ubuntu:~$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04
Just realized that the buffer I/O errors are dumped /after/ I hit ENTER, not before it, and this occurs even if I made no substantial changes to the persistence partition.
So essentially if the user just leaves it in because they want to reboot, they get slammed with persistence corruption. If I just remove the drive when it tells me to, ubuntu shutdown is unable to corrupt it.
It would be nice not to corrupt it, but at least this means I don't need this fixed to advance my embedded systems project:-)