Filesystem read only after kernel compilation

Hello,
I builded my own kernel so I shouldn't need an initrd.  After a lot trial and error I finally have a booting kernel.  Funny thing is, that my root filesystem is read only.
When I boot from the standard arch kernel, everything is fine.
I thought it was because I have data=writeback in my fstab, but it isn't.
Does somebody have an idea?  My filesystem is ext4.
the only error message that is usefull, I think is something about /etc/sysinitrc line 301 /etc/mtab: mount read only.
regards,
Roel

it's odd, but i think it needs the initrd to mount the root properly. in my case, without an initrd, the root being ext4, is mounted ext3.

Similar Messages

  • Make a field required on record creation, read only after that

    Hello,
    Does anyone know of a way to make a pick-list field required on record creation, but read-only after that? The other twist to this is that we need to allow this field to also be read-write for all the integration edits, since this field's value could change in the enterprise database.
    Thanks,
    Neal G.

    Hi !
    I think you can add a validation rule for that. Something like :
    IIf(PRE('<YOURFIELD>') IS NULL, <> '', = PRE('<YOURFIELD>'))
    This means that if the previous value of your field is null (it's a creation), so the value must be different than blank. Else, it must be equal to the previous value, so not modified.
    I didn't tested it, but I let you get back to me if it works... or not !
    You'll just have to add a message saying that this field is required on creation and readonly after...
    Hope this will help, feel free to ask more !
    Max

  • Word 2010 document becomes Read-Only after saving it

    Hi,
    My Word 2010 document is becoming "Read Only" after saving it, for information my doucment is on the desktop . I searched on this forum and find a couple of solutions (deactivating auto saving, etc.) but it does not work at all. Any other ideas?
    Thanks,
    Sylvain.

    , I wonder why the docuemnt is becoming Read-Only when I am saving it on the Desktop...
    I've read articles and blogs of people arguing each side of whether you should use the Desktop as a storage folder and I really
    don't have anything substantial to add to either the pro or con side of the issue.
    However, what I know about Word is that it behaves a bit different and seems to have issues when you’re actively editing document that are stored
    on the Desktop.  I would speculate that the issue has something to do with the screen driver software.
    When you’re editing a document, Word is actually using something like a dozen or more temporary hidden files and some of these are stored in the
    same folder as the source document. If the source document’s folder is the Desktop, then there has to be interaction with the screen driver. 
    This interaction with the screen driver is one variable that makes the Desktop folder unique and possibly problematic and thus Word under certain conditions
    makes the file Read Only.
    Kind Regards, Rich ... http://greatcirclelearning.com

  • How to make fields read only after form is filled in

    I am creating forms to be used within our company.  The customer srv representative (CSR) would fill in the form and send it to the customer for signature and initial.  There are a few issues I can't solve.
    1)  I need to make the rate & services fields read only after the CSR initials the form

    Will the CSR have Acrobat or just Reader, and what type of computer will the CSR be using (Windows/Mac/mobile OS)? If just Reader (Wind/Mac), this is possible by setting the fields to read-only with JavaScript. The problem is this can't be considered secure, even if using a password as discussed here: Password-protect and hide one form field
    With Acrobat you have the ability to flatten certain fields, which makes it a bit more difficult to change the "fields".

  • Changing a Record to Read-Only after an event.

    I have a Developer application that needs to be modified. This
    application includes several fields as well as a comments
    field. I'd like to change all updatable fields (not to included
    the comments field) to READ-ONLY after a certain event. Then
    after a certain date, I'd like to make the comments field READ-
    ONLY.
    Do you have any suggestions?
    Regina Grimes
    919/874-3140
    null

    Dear Regina,
    Have you tried to set_block_property in pre-record trigger to update allowed/not allowed depending on the event. And in post-record update not allowed. These triggers must be on block level. Also on item level to the item 'Comment' define pre-item trigger where take a new decision whether you want to open the entire block or not, the same way as on block level triggers. But in post-item trigger always make the entire block read-only again.
    Regards
    Jan Kramle

  • Make all text fields read only after signing form

    Hello,
    I have a live cycle form which needs to have all of the text fields set as read only after signing.
    The java script has been placed in the post sign event of a digital signature field.
    for(var i=0;i<this.numFields;i++) {
    var cNm = this.getNthFieldName(i);
    if (cNm.type = "text") this.getField(cNm).readonly = true;
    After signing the form the following console error is shown:
    this.getNthFieldName is not a function
    Can anyone please advise how to revise the script so that when the form is signed all of the text fields become ready only?
    Any assistance will be most appreciated.
    Thank you.

    You don't need any JavaScript to do this.
    In Designer you can setup the signature field in that way, that all fields will be locked after signing.
    Look here:
    http://forums.adobe.com/message/3121870?tstart=2

  • Firefox profile folder becomes read-only after closing browser

    firefox profile folder becomes read-only after closing browser
    It is a problem with firefox or is it this to to a virus?
    How to fix? How to prevent?

    Only a check mark in the Read-only box means that a folder or file is Read-only.<br />
    Windows doesn't check all the files in a folder so instead displays a greenish block to indicate that it is not sure.<br />
    You need to look at the files individually to see if any are read-only.<br />
    Easiest to do that is to make the Attributes visible in "View > Details" mode: Choose Details in Windows Explorer.<br />

  • Make adobe form -read only after Submit button

    Hi,
    I have an Interactive form withuser input fields.
    I am submitting it via E-mail.How do I make it read only after I click Submit ?
    I am using javscript for sending e-mail.
    rgds
    vara

    Resolved it : in click event javascript
    ADOBE_DATA.form.field.access = "readOnly";

  • Make Sticky Notes Read-Only After Creation?

    Hello,
    I am wondering if there is a way to make sticky notes read only after someone has created one?
    I have a form that we want people to add comments to but we don't want anyone to be able to remove those comments.  Possible?
    Kristi Tost

    Resolved it : in click event javascript
    ADOBE_DATA.form.field.access = "readOnly";

  • Filesystem mounts as read only after boot

    Hi!
    I have checked the wiki, the forum posts and poked around on the web but haven't found anything helpful.
    I have just installed arch on my laptop, and after boot the file system is read only.
    Where do I change it so that it is mounted as read write after initial boot up?
    Thanks for any help and pointers!
    Chris Danyael X
    Last edited by Danyael X (2008-09-22 09:35:19)

    Onwards: That did work. with rw I can read and write. Thanks for the help!
    But there is still something that fails early on just after the kernel has been loaded, iit's in the stuff that comes after udev being loaded but the info scrolls by much to fast for me to see.
    Thats what I want to take a look at but I can't find it in /var/log, I'm not sure what that part of the boot up is called so I don't quite know where to start looking for a log of that.
    EDIT: I have now found the reason for that the inittab stuff doesnt log anything at all ever. Seems like I have to hack the scripts to get som logging features in there. I am fairly certain that its the inettab stuff that doesn't reload the filesystem as it should. I'll get back with the modifications I'm contemplating on making on the inittab scripts to enable logging. Found som e interesting stuff on IBM developerworks that describes the nessecary modifications though its for a RHEL system not Arch.
    Last edited by Danyael X (2008-09-24 10:07:28)

  • [SOLVED]root partition read only after update systemd

    After update systemd today, the systemd-remount-fs.service fail to start. Root filesystem is read only I tried add rw to fstab mount option, but the root parition is still  read only. I noticed that util-linux package are installed and udev package is dropped , Does it related to my problem?
    Please advice me.
    Sorry for my bad English.
    Update
    After downgard util-linux package, the system work again 
    Update 2
    UUID in grub.conf and fstab  are inconsistent, Thanks to  tomegun for point out this problem.
    Last edited by aduser (2012-06-08 04:05:59)

    output of systemctl status systemd-remount-fs.service
    systemd-remount-fs.service - Remount Root and Kernel File Systems
    Loaded: loaded (/usr/lib/systemd/system/systemd-remount-fs.service; static)
    Active: failed (Result: exit-code) since Sun, 03 Jun 2012 01:17:42 +0800; 5min ago
    Process: 132 ExecStart=/usr/lib/systemd/systemd-remount-fs (code=exited, status=1/FAILURE)
    CGroup: name=systemd:/system/systemd-remount-fs.service
    fstab
    UUID=55326b3a-eec9-498e-8e20-0a7ddd8daf9a / btrfs rw,compress=lzo,space_cache,autodefrag 0 1
    UUID=54c17991-716b-496e-a89b-4e978f2d92a4 /boot ext2 defaults 0 1
    systemctl
    UNIT LOAD ACTIVE SUB JOB DESCRIPTION
    proc-sys...misc.automount loaded active waiting Arbitrary Executable File Formats File System Automount Point
    sys-devi...d-card1.device loaded active plugged RV630 audio device [Radeon HD 2600 Series]
    sys-devi...d-card0.device loaded active plugged 82801I (ICH9 Family) HD Audio Controller
    sys-devi...et-eth0.device loaded active plugged RTL8111/8168B PCI Express Gigabit Ethernet controller
    sys-devi...dd-sdd1.device loaded active plugged ST3120213A
    sys-devi...dd-sdd2.device loaded active plugged ST3120213A
    sys-devi...ock-sdd.device loaded active plugged ST3120213A
    sys-devi...da-sda1.device loaded active plugged WDC_WD6400AAKS-22A7B0
    sys-devi...da-sda2.device loaded active plugged WDC_WD6400AAKS-22A7B0
    sys-devi...da-sda3.device loaded active plugged WDC_WD6400AAKS-22A7B0
    sys-devi...da-sda5.device loaded active plugged WDC_WD6400AAKS-22A7B0
    sys-devi...ock-sda.device loaded active plugged WDC_WD6400AAKS-22A7B0
    sys-devi...db-sdb1.device loaded active plugged WDC_WD1002FAEX-00Z3A0
    sys-devi...db-sdb2.device loaded active plugged WDC_WD1002FAEX-00Z3A0
    sys-devi...db-sdb3.device loaded active plugged WDC_WD1002FAEX-00Z3A0
    sys-devi...db-sdb4.device loaded active plugged WDC_WD1002FAEX-00Z3A0
    sys-devi...db-sdb5.device loaded active plugged WDC_WD1002FAEX-00Z3A0
    sys-devi...ock-sdb.device loaded active plugged WDC_WD1002FAEX-00Z3A0
    sys-devi...dc-sdc1.device loaded active plugged ST980811AS
    sys-devi...dc-sdc2.device loaded active plugged ST980811AS
    sys-devi...ock-sdc.device loaded active plugged ST980811AS
    sys-devi...y-ttyS1.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS1
    sys-devi...y-ttyS2.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS2
    sys-devi...y-ttyS3.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS3
    sys-devi...y-ttyS0.device loaded active plugged /sys/devices/pnp0/00:07/tty/ttyS0
    -.mount loaded active mounted /
    boot.mount loaded active mounted /boot
    dev-hugepages.mount loaded active mounted Huge Pages File System
    dev-mqueue.mount loaded active mounted POSIX Message Queue File System
    sys-kernel-debug.mount loaded active mounted Debug File System
    tmp.mount loaded active mounted /tmp
    xs-big.mount loaded active mounted /xs/big
    xs-dev-\...pace\x5d.mount loaded active mounted /xs/dev/[workspace]
    xs-dev.mount loaded active mounted /xs/dev
    xs-dl.mount loaded active mounted /xs/dl
    xs-file.mount loaded active mounted /xs/file
    systemd-...d-console.path loaded active waiting Dispatch Password Requests to Console Directory Watch
    systemd-...word-wall.path loaded active waiting Forward Password Requests to Wall Directory Watch
    console-...daemon.service loaded active running Console Manager
    console-...-start.service loaded failed failed Console System Startup Logging
    dbus.service loaded active running D-Bus System Message Bus
    [email protected] loaded active running dhcpcd on eth0
    gdm.service loaded active running Gnome Display Manager
    [email protected] loaded active running Getty on tty1
    systemd-journald.service loaded active running Journal Service
    systemd-logind.service loaded active running Login Service
    systemd-...unt-fs.service loaded failed failed Remount Root and Kernel File Systems
    systemd-sysctl.service loaded active exited Apply Kernel Variables
    systemd-...-setup.service loaded active exited Recreate Volatile Files and Directories
    systemd-...rigger.service loaded active exited udev Coldplug all Devices
    systemd-udev.service loaded active running udev Kernel Device Manager
    systemd-...nlevel.service loaded failed failed Update UTMP about System Runlevel Changes
    systemd-...ssions.service loaded active exited Permit User Sessions
    systemd-...-setup.service loaded active exited Setup Virtual Console
    dbus.socket loaded active running D-Bus System Message Bus Socket
    systemd-initctl.socket loaded active listening /dev/initctl Compatibility Named Pipe
    systemd-journald.socket loaded active running Journal Socket
    systemd-shutdownd.socket loaded active listening Delayed Shutdown Socket
    systemd-...control.socket loaded active listening udev Control Socket
    systemd-...-kernel.socket loaded active running udev Kernel Socket
    basic.target loaded active active Basic System
    cryptsetup.target loaded active active Encrypted Volumes
    getty.target loaded active active Login Prompts
    graphical.target loaded active active Graphical Interface
    local-fs-pre.target loaded active active Local File Systems (Pre)
    local-fs.target loaded active active Local File Systems
    multi-user.target loaded active active Multi-User
    network.target loaded active active Network
    remote-fs.target loaded active active Remote File Systems
    sockets.target loaded active active Sockets
    sound.target loaded active active Sound Card
    swap.target loaded active active Swap
    sysinit.target loaded active active System Initialization
    systemd-...es-clean.timer loaded active waiting Daily Cleanup of Temporary Directories
    LOAD = Reflects whether the unit definition was properly loaded.
    ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
    SUB = The low-level unit activation state, values depend on unit type.
    JOB = Pending job for the unit.
    74 units listed. Pass --all to see inactive units, too.
    grub2 conf
    menuentry 'Broken' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-ck kernel-true-852c733e-be0d-4375-8668-d7ae049295a9' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 54c17991-716b-496e-a89b-4e978f2d92a4
    else
    search --no-floppy --fs-uuid --set=root 54c17991-716b-496e-a89b-4e978f2d92a4
    fi
    echo 'Loading Linux ck kernel ...'
    linux /vmlinuz-linux-ck root=UUID=852c733e-be0d-4375-8668-d7ae049295a9 ro rootflags=subvol=broken quiet add_efi_memmap elevator=bfq
    echo 'Loading initial ramdisk ...'
    initrd /initramfs-linux-ck.img
    The update packages
    core/btrfs-progs 0.19.20120328-2 2 -> 3
    core/device-mapper 2.02.95-4 4 -> 6
    core/cryptsetup 1.4.2-1 1 -> 2
    core/gpm 1.20.6-7 7 -> 8
    core/lvm2 2.02.95-4 4 -> 6
    extra/libglapi 8.0.3-1 1 -> 2
    extra/libgl 8.0.3-1 1 -> 2
    extra/ati-dri 8.0.3-1 1 -> 2
    extra/bluez 4.99-2 2 -> 6
    extra/consolekit 0.4.6-3 3 -> 4
    extra/gvfs 1.12.3-1 1 -> 2
    extra/gvfs-obexftp 1.12.3-1 1 -> 2
    extra/libatasmart 0.18-1 1 -> 2
    extra/libcanberra 0.28-4 4 -> 5
    extra/libpulse 2.0-1 1 -> 2
    extra/libcanberra-pulse 0.28-4 4 -> 5
    extra/mesa 8.0.3-1 1 -> 2
    extra/pulseaudio 2.0-1 1 -> 2
    extra/xf86-video-ati 6.14.99-0.20120517 0.20120517 -> 1.20120517
    community/libvirt 0.9.12-7 7 -> 8
    community/ttf-ubuntu-font-family 0.80-2 2 -> 3
    multilib/lib32-libglapi 8.0.3-3 3 -> 3.1
    multilib/lib32-libgl 8.0.3-3 3 -> 3.1
    ==> Software upgrade (new version) :
    core/util-linux 2.21.1-2 -> 2.21.2-1
    core/e2fsprogs 1.42.2-2 -> 1.42.3-1
    core/libpipeline 1.2.0-2 -> 1.2.1-1
    core/libsystemd 44-7 -> 184-2
    core/procps-ng 3.3.2-2 -> 3.3.3-1
    core/systemd 44-7 -> 184-2
    core/systemd-sysvcompat 3-1 -> 184-2
    extra/pixman 0.24.4-1 -> 0.26.0-1
    extra/xorg-server-common 1.12.1.902-1 -> 1.12.2-1
    extra/xorg-server 1.12.1.902-1 -> 1.12.2-1
    community/libuser 0.57.1-2 -> 0.57.6-1
    community/os-prober 1.49-3 -> 1.53-1
    community/systemd-arch-units 20120412-6 -> 20120528-3
    repo-ck/linux-ck-corex 3.3.7-1 -> 3.4-1
    repo-ck/linux-ck-corex-headers 3.3.7-1 -> 3.4-1
    ==> New package :
    core/systemd-tools 184-2 (required by systemd)
    Does the systemd not support btrfs subvolume as root partition??
    Last edited by aduser (2012-06-02 17:45:39)

  • Issue after kernel compilation

    I've compiled my own kernel based on the arch linux default kernel its configuration file. I simply executed  make clean &&  make dep && make modules && make bzImage && make modules_install. Afther the depmod I've built a ramdisk with mkinitcpio.Unfortunately I'm not able to boot into my new self-compiled kernel. Here you can see my /boot/grub/menu.lst:
    # (0) Arch Linux Self-compiled kernel
    title Linux 2.6.30.5 [/boot/vmlinuz-2.6.30.5]
    root (hd0,0)
    kernel /vmlinuz-2.6.30.5 root=/dev/sda3 ro
    initrd /kerneltest.img
    # (0) Arch Linux
    title Arch Linux [/boot/vmlinuz26]
    root (hd0,0)
    kernel /vmlinuz26 root=/dev/sda3 ro
    initrd /kernel26.img
    While booting into the new kernel the next error message about the root device shows up. I've noticed I'm able to boot the default arch kernel that's using the same root device (=/dev/sda3) on this desktop.
    Waiting 10 seconds for device /dev/sda3
    Root device /dev/sda3 doesnt exist, attempting to create it
    Error: Failed to parse block device ids for /dev/sda3
    Error: Unable to detect or create root devide /dev/sda3
    If you would like to see my partitions:
    /dev/sda1 /boot ext2 defaults 0 1
    /dev/sda2 swap swap defaults 0 0
    /dev/sda3 / ext4 defaults 0 1
    /dev/sda4 /home ext4 defaults 0 1
    Who can help me with this issue? Thanks.
    Last edited by Nando (2009-09-05 15:40:04)

    I've compiled a new kernel but the same issue remains. I executed some important changes in my kernel config: CONFIG_SCSI=y, CONFIG_ATA=y, CONFIG_EXT4_FS=y  (instead of being modular as in the default arch linux kernel). I also inserted the "aufs" lines, but they were gone in my .config file after the kernel compilation.(I think it was after make dep)
    A "diff" of both .config reveals that aufs is almost the only difference. (I've already mentioned the stuff that used to be modular and is now built-in.)
    3 root@archlinux $ diff /usr/src/linux-2.6.30.5/.config /usr/src/linux-2.6.30-ARCH/.config
    3,4c3,4
    < # Linux kernel version: 2.6.30.5
    < # Mon Sep 7 10:35:44 2009
    > # Linux kernel version: 2.6.30
    > # Mon Aug 17 16:49:59 2009
    1269c1269
    < CONFIG_SCSI=y
    > CONFIG_SCSI=m
    1418c1418
    < CONFIG_ATA=y
    > CONFIG_ATA=m
    3905c3905
    < CONFIG_EXT4_FS=y
    > CONFIG_EXT4_FS=m
    3912c3912
    < CONFIG_JBD2=y
    > CONFIG_JBD2=m
    3914c3914
    < CONFIG_FS_MBCACHE=y
    > CONFIG_FS_MBCACHE=m
    4041a4042,4052
    > CONFIG_AUFS_FS=m
    > CONFIG_AUFS_BRANCH_MAX_127=y
    > # CONFIG_AUFS_BRANCH_MAX_511 is not set
    > # CONFIG_AUFS_BRANCH_MAX_1023 is not set
    > # CONFIG_AUFS_BRANCH_MAX_32767 is not set
    > CONFIG_AUFS_HINOTIFY=y
    > CONFIG_AUFS_EXPORT=y
    > CONFIG_AUFS_SHWH=y
    > CONFIG_AUFS_BR_RAMFS=y
    > # CONFIG_AUFS_DEBUG is not set
    > CONFIG_AUFS_BDEV_LOOP=y
    4427c4438
    < CONFIG_CRC16=y
    > CONFIG_CRC16=m
    I've built an own ramdisk again with mkinitcpio, but I'm using the default kernel26.img
    /boot/grub/menu.lst:
    # (0) Arch Linux
    title Arch Linux [/boot/vmlinuz26]
    root (hd0,0)
    kernel /vmlinuz26 root=/dev/sda3 ro
    initrd /kernel26.img
    # (0) Arch Linux
    title Arch Linux [/boot/vmlinuz2-6-30.5]
    root (hd0,0)
    kernel /vmlinuz-2.6.30.5-nando root=/dev/sda3 ro
    initrd /kernel26.img
    Last edited by Nando (2009-09-07 17:38:21)

  • Cannt boot, FileSystem read only

    I have KDE4 over arch linux, after update and reboot Xorg will fail to start then i discover that the complete file system is read only!!!.
    now i cant use the system even i cant boot by any live cd.
    any body have an idea?
    Last edited by mohammad (2009-07-16 22:30:52)

    Hello.
    I had the same problem last week where i reinstalled arch 3 times becuse of root read only(only one computer).
    ************FILESYSTEM CHECK FAILED****************
    * Please repair manually and reboot. Note that the root        *
    * file system is currently mounted read-only. To remount      *
    * it read-write: mount -n -o remount,rw /                            *
    * When you exit the maintenance shell the will                     *
    * reboot automatically.                                   
    When enter control -D it says something quick on screen about /dev/shm not mounted
    and some text say bla bla use iofs8 bla bla use fuser i dont now what that mean.
    I could not find any direct solution when google root read only,some think is a kernel bug ,some say hdd failure (i change hdd after 3 new installations with root read only)
    Now my new install had worked for 2 days and im scared to death to shutdown computer
    I find this thread, but this is on a working system, http://bbs.archlinux.org/viewtopic.php?id=55221

  • USB Stick unrecognized/read only after Gparted

    Hi
    I partitioned a brand new USB thumb drive with Gparted and then installed Fedora LiveOS on it. This was just a test as I really wanted to use Larch to get Arch on the stick. So I tried to repartitioned it again. But Gaparted now complains that the stick is read only and so does not change anything.
    I then moved to fdisk. fdisk will allow me to look at the partitions and will even change them. But after using Fdisk to repartition and then running mkfs.whatever-i-want the partitions can not be mounted. Even dd exits with a read only drive error.
    Fdisk can manipulate the partitions but it complains that DOS mode is not supported and asks me to give the c and u commands. Despite this the drive is not recognised when I plug it into the computer.
    After using fdisk on the drive several times, gparted now claims that there is no valid partition table on the drive and so shows only unallocated space. But it still won't write any partition info to the device, claiming its read only!
    I'm stumped! Anybody have a clue how to get around this?
    emk

    dd fails with an input/output error after writing 17MB. This is an 8GB stick. Fdisk shows no partitions. But is unable to write to the drive after I create partitions. Here is the output.
    dd if=/dev/zero of=/dev/sdb
    dd: writing to `/dev/sdb': Input/output error
    32969+0 records in
    32968+0 records out
    16879616 bytes (17 MB) copied, 217.003 s, 77.8 kB/s
    Output of dmesg when I plug in the drive
    usb 4-1: new high speed USB device using ehci_hcd and address 2
    Initializing USB Mass Storage driver...
    scsi2 : usb-storage 4-1:1.0
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    scsi 2:0:0:0: Direct-Access HP v115w 1100 PQ: 0 ANSI: 0 CCS
    sd 2:0:0:0: Attached scsi generic sg2 type 0
    sd 2:0:0:0: [sdb] 15663104 512-byte logical blocks: (8.01 GB/7.46 GiB)
    sd 2:0:0:0: [sdb] Write Protect is off
    sd 2:0:0:0: [sdb] Mode Sense: 43 00 00 00
    sd 2:0:0:0: [sdb] Assuming drive cache: write through
    sd 2:0:0:0: [sdb] Assuming drive cache: write through
    sdb: sdb1
    sd 2:0:0:0: [sdb] Assuming drive cache: write through
    sd 2:0:0:0: [sdb] Attached SCSI removable disk
    So far this looks OK. I had earlier deleted my initial 2 partitions and created one vfat partition on the drive. But then when I try to mount the drive and to repartition with fdisk dmesg gives the following:
    EXT4-fs (sdb1): VFS: Can't find ext4 filesystem
    EXT2-fs (sdb1): error: can't find an ext2 filesystem on dev sdb1.
    FAT: bogus number of reserved sectors
    VFS: Can't find a valid FAT filesystem on dev sdb1.
    usb 4-1: reset high speed USB device using ehci_hcd and address 2
    usb 4-1: reset high speed USB device using ehci_hcd and address 2
    usb 4-1: reset high speed USB device using ehci_hcd and address 2
    usb 4-1: reset high speed USB device using ehci_hcd and address 2
    usb 4-1: reset high speed USB device using ehci_hcd and address 2
    usb 4-1: reset high speed USB device using ehci_hcd and address 2
    sd 2:0:0:0: [sdb] Unhandled sense code
    sd 2:0:0:0: [sdb] Result: hostbyte=0x00 driverbyte=0x08
    sd 2:0:0:0: [sdb] Sense Key : 0x7 [current]
    sd 2:0:0:0: [sdb] ASC=0x27 ASCQ=0x0
    sd 2:0:0:0: [sdb] CDB: cdb[0]=0x2a: 2a 00 00 00 10 70 00 00 f0 00
    end_request: I/O error, dev sdb, sector 4208
    Buffer I/O error on device sdb, logical block 526
    lost page write due to I/O error on sdb
    Buffer I/O error on device sdb, logical block 527
    lost page write due to I/O error on sdb
    Buffer I/O error on device sdb, logical block 528
    lost page write due to I/O error on sdb
    Buffer I/O error on device sdb, logical block 529
    lost page write due to I/O error on sdb
    Buffer I/O error on device sdb, logical block 530
    lost page write due to I/O error on sdb
    Buffer I/O error on device sdb, logical block 531
    lost page write due to I/O error on sdb
    Buffer I/O error on device sdb, logical block 532
    lost page write due to I/O error on sdb
    Buffer I/O error on device sdb, logical block 533
    lost page write due to I/O error on sdb
    Buffer I/O error on device sdb, logical block 534
    lost page write due to I/O error on sdb
    Buffer I/O error on device sdb, logical block 535
    lost page write due to I/O error on sdb
    sd 2:0:0:0: [sdb] Unhandled sense code
    sd 2:0:0:0: [sdb] Result: hostbyte=0x00 driverbyte=0x08
    sd 2:0:0:0: [sdb] Sense Key : 0x7 [current]
    sd 2:0:0:0: [sdb] ASC=0x27 ASCQ=0x0
    sd 2:0:0:0: [sdb] CDB: cdb[0]=0x2a: 2a 00 00 00 11 60 00 00 f0 00
    end_request: I/O error, dev sdb, sector 4448
    sd 2:0:0:0: [sdb] Write Protect is on
    sd 2:0:0:0: [sdb] Mode Sense: 43 00 80 00
    sd 2:0:0:0: [sdb] Assuming drive cache: write through
    sd 2:0:0:0: [sdb] Unhandled sense code
    sd 2:0:0:0: [sdb] Result: hostbyte=0x00 driverbyte=0x08
    sd 2:0:0:0: [sdb] Sense Key : 0x7 [current]
    sd 2:0:0:0: [sdb] ASC=0x27 ASCQ=0x0
    sd 2:0:0:0: [sdb] CDB: cdb[0]=0x2a: 2a 00 00 00 80 c0 00 00 08 00
    end_request: I/O error, dev sdb, sector 32960
    sd 2:0:0:0: [sdb] Assuming drive cache: write through
    sdb: unknown partition table
    usb 4-1: reset high speed USB device using ehci_hcd and address 2
    I don't have any ext4 partitions on it. THere should only be vfat. My initial partitions  were ext3 and vfat. I then switched the ext3 to ext2 after the problems begun and finally just went with a big vfat. I initially used gparted on the drive so as to label the partitions. I really feel that gparted may be the culprit here but I have no proof. This is a brand new stick that had not been written to before.
    And from gparted:
    libparted : 2.3
    ======================
    Unable to open /dev/sdb read-write (Read-only file system). /dev/sdb has been opened read-only.
    Unable to open /dev/sdb read-write (Read-only file system). /dev/sdb has been opened read-only.
    Unable to open /dev/sdb read-write (Read-only file system). /dev/sdb has been opened read-only.
    /dev/sdb: unrecognised disk label
    [1]+ Done gparted
    emk
    Last edited by emk (2010-07-25 00:02:50)

  • Partitions are read-only after sleep mod, not able to sleep again etc.

    I have strange problem, after resuming from sleep mode the system is often lagging, even for minute or so nothing loads. Sometimes it even stops responding at all, I cannot log in and/or start XFCE4. If I succeed to reboot, I get messages about readonly filesystem. May the problem be bad settings in fstab? I tried several combinations of 0 and 1 for the dump and pass for the two NTFS file systems. But even the root talks about read-only than.
    Or other case is most things works fine but I cannot make it sleep again, it just writes something like **Message: xfsm-shutdown-helper.c:1411: Using org.freedesktop UPower to suspend on the console where I am logged in and nothing happens.
    This is my fstab:
    devpts                 /dev/pts      devpts    defaults            0      0
    shm                    /dev/shm      tmpfs     nodev,nosuid        0      0
    /dev/sdb4 / ext4 defaults 0 1
    /dev/sdb5 swap swap defaults 0 0
    /dev/sdb6 /boot ext4 defaults 0 1
    /dev/sda1 /home ntfs defaults,uid=1000,gid=100,umask=0027  0 0
    /dev/sdc1 /home/Instalace ntfs defaults,uid=1000,gid=100,umask=0027  0 0
    Last edited by Behemot (2011-04-20 13:03:00)

    From your statement "...after resuming from sleep mode the system is often lagging, even for minute or so nothing loads." I was thinking you might have the problem discussed in this thread: https://bbs.archlinux.org/viewtopic.php?id=116355&p=1 but I see you have XFCE. Strange because this is exactly what other users and I are experiencing under KDE.
    Try checking if your CPU or a core of your CPU is at 100% usage.
    Last edited by dncrash (2011-04-13 14:15:27)

Maybe you are looking for