Hi -
I've been compiling a custom kernel with the "rt" patch and I think I've missed a setting in the configuration or something. As a result my external drive isn't mounting.
Under my custom kernel (3.2.9-rt17) if I try:
Code:
mount -t ext3 -o rw,noatime,errors=continue,barrier=0,data=ordered /dev/sdb1 /mnt/esata
I get:
Code:
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
syslog doesn't say much:
Code:
Mar 19 11:50:12 ben-laptop kernel: [ 2892.877265] EXT3-fs (sdb1): error: can't find ext3 filesystem on dev sdb1.
Trying
though gives:
Code:
dumpe2fs 1.41.14 (22-Dec-2010)
dumpe2fs: Bad magic number in super-block while trying to open /dev/sdb1
Couldn't find valid filesystem superblock.
Some extra facts:
- I can reformat the drive in the custom kernel and mount and umount it fine, but after I reboot the drive it is no longer accessible via the custom kernel. It is accessible via the Ubuntu kernel though.
- I get the same behaviour when formatting with "ext4"
- The internal harddrive, also ext3, mounts fine so long as I include initramfs.
Here's an extract from lshw to give an idea of the setup:
Code:
*-pci:2
description: PCI bridge
product: N10/ICH 7 Family PCI Express Port 2
vendor: Intel Corporation
physical id: 1c.1
bus info: pci@0000:00:1c.1
version: 02
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:42 ioport:3000(size=4096) memory:d8000000-d9ffffff ioport:d2000000(size=33554432)
*-storage
description: SATA controller
product: JMB360 AHCI Controller
vendor: JMicron Technology Corp.
physical id: 0
bus info: pci@0000:03:00.0
logical name: scsi2
version: 03
width: 32 bits
clock: 33MHz
capabilities: storage pm pciexpress ahci_1.0 bus_master cap_list emulated
configuration: driver=ahci latency=0
resources: irq:17 ioport:3010(size=8) ioport:3020(size=4) ioport:3018(size=8) ioport:3024(size=4) ioport:3000(size=16) memory:d8000000-d8001fff
*-disk
description: ATA Disk
product: ST1000DM003-9YN1
vendor: Seagate
physical id: 0.0.0
bus info: scsi@2:0.0.0
logical name: /dev/sdb
version: CC46
serial: W1D036NR
size: 931GiB (1TB)
capabilities: gpt-1.00 partitioned partitioned:gpt
configuration: ansiversion=5 guid=e1ee5971-bfbd-494e-ab17-83f3c22504ff
*-volume UNCLAIMED
description: EXT3 volume
vendor: Linux
physical id: 1
bus info: scsi@2:0.0.0,1
version: 1.0
serial: 5b512ab6-a53f-48e7-9e2c-13c99f5f04bc
size: 931GiB
capabilities: journaled extended_attributes large_files ext3 ext2 initialized
configuration: created=2012-03-19 00:33:47 filesystem=ext3 modified=2012-03-19 11:01:05 mounted=2012-03-19 11:00:50 state=clean
Here's my config:
http://pastebin.com/Y3qPQUWi
Anyone have any ideas?