"Read-only file system" errors during install

Bug #329792 reported by Daniel Richard G.
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
lm-sensors-3 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: libsensors4

This concerns libsensors4 version 1:3.0.2-1ubuntu2 in Intrepid.

On installing libsensors4 for the first time, I see the following (excerpted) in the output of apt-get:

----begin----
Setting up libsensors4 (1:3.0.2-1ubuntu2) ...
udev active, devices will be created in /dev/.static/dev/
rm: cannot remove `i2c-0-': Read-only file system
mknod: `i2c-0-': Read-only file system
makedev i2c-0 c 89 0 root root 0600: failed
rm: cannot remove `i2c-0-': Read-only file system
rm: cannot remove `i2c-1-': Read-only file system
mknod: `i2c-1-': Read-only file system
makedev i2c-1 c 89 1 root root 0600: failed
rm: cannot remove `i2c-1-': Read-only file system
rm: cannot remove `i2c-2-': Read-only file system
mknod: `i2c-2-': Read-only file system
makedev i2c-2 c 89 2 root root 0600: failed
rm: cannot remove `i2c-2-': Read-only file system
rm: cannot remove `i2c-3-': Read-only file system
mknod: `i2c-3-': Read-only file system
makedev i2c-3 c 89 3 root root 0600: failed
rm: cannot remove `i2c-3-': Read-only file system
rm: cannot remove `i2c-4-': Read-only file system
mknod: `i2c-4-': Read-only file system
makedev i2c-4 c 89 4 root root 0600: failed
rm: cannot remove `i2c-4-': Read-only file system
rm: cannot remove `i2c-5-': Read-only file system
mknod: `i2c-5-': Read-only file system
makedev i2c-5 c 89 5 root root 0600: failed
rm: cannot remove `i2c-5-': Read-only file system
rm: cannot remove `i2c-6-': Read-only file system
mknod: `i2c-6-': Read-only file system
makedev i2c-6 c 89 6 root root 0600: failed
rm: cannot remove `i2c-6-': Read-only file system
rm: cannot remove `i2c-7-': Read-only file system
mknod: `i2c-7-': Read-only file system
makedev i2c-7 c 89 7 root root 0600: failed
rm: cannot remove `i2c-7-': Read-only file system

Creating config file /etc/sensors3.conf with new version
----end----

See bug #270043 for a similar problem reported against mdadm.

Revision history for this message
ceg (ceg) wrote :

seems or seemed to be a general issue with dpkg or udev or something (search bugs with "rm: cannot remove")

Changed in lm-sensors-3 (Ubuntu):
status: New → Incomplete
Revision history for this message
james (james-nurealm) wrote :

Yes, this bug effects more than one person. No, I haven't tested a version newer than Intrepid.

Trying:

sudo MAKEDEV -v fd0

repeated failures, similar to:

...

create fd0u1600 b 2 124 root:floppy 0660

rm: cannot remove `fd0u1600-': Read-only file system

mknod: `fd0u1600-': Read-only file system

makedev fd0u1600 b 2 124 root floppy 0660: failed

rm: cannot remove `fd0u1600-': Read-only file system

"makedev" is the function in the /sbin/MAKEDEV script.

ls -ld /dev

drwxr-xr-x 15 root root 14660 2010-06-18 10:43 /dev/

mount

...

udev on /dev type tmpfs (rw,mode=0755)

...

sudo touch /dev/test

ls -l /dev/test

-rw-r--r-- 1 root root 0 2010-06-18 11:56 /dev/test

sudo rm -v /dev/test

removed `/dev/test'

ls -l /sbin/MAKEDEV

-rwxr-xr-x 1 root root 53290 2010-06-18 11:49 /sbin/MAKEDEV*

sudo MAKEDEV -V

This is Debian MAKEDEV. For version info, try 'dpkg --list makedev'

See /usr/share/doc/makedev/ for more information on Debian MAKEDEV.

cat /proc/mounts

...

udev /dev tmpfs rw,mode=755 0 0

...

Something about "tmpfs" maybe?

This works though:

cd

sudo MAKEDEV -v fd0

...

sudo mv fd0* /dev

James

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for lm-sensors-3 (Ubuntu) because there has been no activity for 60 days.]

Changed in lm-sensors-3 (Ubuntu):
status: Incomplete → Expired
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.