[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fstab - not mounting all



Andrew Sackville-West wrote:

On Fri, May 05, 2006 at 09:33:00PM +0200, Vladimir Strycek wrote:
Hi,

Could somebody help me with setting booting order in kernel ?

My actual problem is that fstab wont mount harddisk USB and SATA ( no problem with IDE where my system is)

Actualy i can mount them manulay when its boot finish and i log in.

I looked in dmesg and there i found that all HDD i need mount are inicialised as almoust last thing...

So  problem is that fstab start mounting before they inicialise ...

Any idea how to fix this ?

there are a number of ways to fix this, but I think it is most
productive to figure out first, why the drives are discovered so late
in the boot process. can you post the relevant output of dmesg (not
the whole thing please! just the stuff on your harddrives). I suspect
that the required modules are being loaded late, maybe by hotplug? It
may help to force them to load earlier, say by putting them in your
modules file.

A
Andrew Sackville-West wrote:

On Fri, May 05, 2006 at 09:33:00PM +0200, Vladimir Strycek wrote:
Hi,

Could somebody help me with setting booting order in kernel ?

My actual problem is that fstab wont mount harddisk USB and SATA ( no problem with IDE where my system is)

Actualy i can mount them manulay when its boot finish and i log in.

I looked in dmesg and there i found that all HDD i need mount are inicialised as almoust last thing...

So  problem is that fstab start mounting before they inicialise ...

Any idea how to fix this ?


there are a number of ways to fix this, but I think it is most
productive to figure out first, why the drives are discovered so late
in the boot process. can you post the relevant output of dmesg (not
the whole thing please! just the stuff on your harddrives). I suspect
that the required modules are being loaded late, maybe by hotplug? It
may help to force them to load earlier, say by putting them in your
modules file.

A
Oki here we go :)

This is from dmesg what i think is relevant to HDD
.
.
.
.
usbmon: debugfs is not available
ACPI: PCI Interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 169
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
PCI: cache line size of 128 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1d.7: irq 169, io mem 0xf7000000
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 4 ports detected
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
USB Universal Host Controller Interface driver v2.3
ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 16 (level, low) -> IRQ 177
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:1d.0: irq 177, io base 0x0000c400
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 185
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1d.1: irq 185, io base 0x0000c000
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usb 1-2: new high speed USB device using ehci_hcd and address 2
usb 1-3: new high speed USB device using ehci_hcd and address 3
usb 1-4: new high speed USB device using ehci_hcd and address 4
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
scsi1 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
.
.
.
.
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 4324KiB [1 disk] into ram disk... done.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 172k freed
NET: Registered protocol family 1
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH5: IDE controller at PCI slot 0000:00:1f.1
ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 193
ICH5: chipset revision 2
ICH5: not 100% native mode: will probe irqs later
  ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
  ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
hda: Maxtor 7B300R0, ATA DISK drive
hdb: HL-DT-ST DVDRAM GSA-4163B, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
Probing IDE interface ide1...
hda: max request size: 1024KiB
hda: 586114704 sectors (300090 MB) w/16384KiB Cache, CHS=36483/255/63, UDMA(100)
da: cache flushes supported
hda: hda1 hda2 < hda5 hda6 hda7 >
ReiserFS: hda1: found reiserfs format "3.6" with standard journal
ReiserFS: hda1: using ordered data mode
ReiserFS: hda1: journal params: device hda1, size 8192, journal first block 18, max trans len 1024, max batch 900, max
commit age 30, max trans age 30
ReiserFS: hda1: checking transaction log (hda1)
ReiserFS: hda1: Using r5 hash to sort names
Vendor: SEAGATE   Model: ST3200822A        Rev: 3.01
Type:   Direct-Access                      ANSI SCSI revision: 02
Vendor: Maxtor 6  Model: Y160P0            Rev: 0000
Type:   Direct-Access                      ANSI SCSI revision: 00
usb-storage: device scan complete
usb-storage: device scan complete
Vendor: USB 2.0   Model: Storage Device    Rev: 0100
Type:   Direct-Access                      ANSI SCSI revision: 00
usb-storage: device scan complete
Adding 987924k swap on /dev/hda7.  Priority:-1 extents:1 across:987924k
hdb: ATAPI 40X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
logips2pp: Detected unknown logitech mouse model 0
input: ImExPS/2 Logitech Explorer Mouse as /class/input/input1
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda5, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
.
.
.
.
.
ata1: SATA max UDMA/133 cmd 0xC800 ctl 0xCC02 bmdma 0xD800 irq 193
ata2: SATA max UDMA/133 cmd 0xD000 ctl 0xD402 bmdma 0xD808 irq 193
ata1: dev 0 cfg 49:2f00 82:7c6b 83:7f09 84:4673 85:7c69 86:3e01 87:4663 88:407f
ata1: dev 0 ATA-7, max UDMA/133, 586114704 sectors: LBA48
ata1: dev 0 configured for UDMA/133
scsi3 : ata_piix
ata2: dev 0 cfg 49:2f00 82:7c6b 83:7f09 84:4673 85:7c69 86:3e01 87:4663 88:407f
ata2: dev 0 ATA-7, max UDMA/133, 586114704 sectors: LBA48
ata2: dev 0 configured for UDMA/133
scsi4 : ata_piix
Vendor: ATA       Model: Maxtor 6L300S0    Rev: BANC
Type:   Direct-Access                      ANSI SCSI revision: 05
Vendor: ATA       Model: Maxtor 6L300S0    Rev: BANC
Type:   Direct-Access                      ANSI SCSI revision: 05
ACPI: PCI Interrupt 0000:02:08.0[A] -> GSI 26 (level, low) -> IRQ 201
scsi5 : Adaptec AIC79XX PCI-X SCSI HBA DRIVER, Rev 1.3.11
      <Adaptec AIC7901 Ultra320 SCSI adapter>
aic7901: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 50-66Mhz, 512 SCBs

.
.
.
.
.
SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB)
sda: assuming drive cache: write through
SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB)
sda: assuming drive cache: write through
sda: sda1
sd 0:0:0:0: Attached scsi disk sda
SCSI device sdb: 320173056 512-byte hdwr sectors (163929 MB)
sdb: assuming drive cache: write through
SCSI device sdb: 320173056 512-byte hdwr sectors (163929 MB)
sdb: assuming drive cache: write through
sdb: sdb1 sdb2
sd 2:0:0:0: Attached scsi disk sdb
SCSI device sdc: 586114704 512-byte hdwr sectors (300091 MB)
sdc: assuming drive cache: write through
SCSI device sdc: 586114704 512-byte hdwr sectors (300091 MB)
sdc: assuming drive cache: write through
sdc: sdc1
sd 1:0:0:0: Attached scsi disk sdc
SCSI device sdd: 586114704 512-byte hdwr sectors (300091 MB)
SCSI device sdd: drive cache: write back
SCSI device sdd: 586114704 512-byte hdwr sectors (300091 MB)
SCSI device sdd: drive cache: write back
sdd: sdd1 < sdd5 >
sd 3:0:0:0: Attached scsi disk sdd
SCSI device sde: 586114704 512-byte hdwr sectors (300091 MB)
SCSI device sde: drive cache: write back
SCSI device sde: 586114704 512-byte hdwr sectors (300091 MB)
SCSI device sde: drive cache: write back
sde: sde1 < sde5 >
sd 4:0:0:0: Attached scsi disk sde
e1000: eth0: e1000_watchdog_task: NIC Link is Up 1000 Mbps Full Duplex
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
eth0: no IPv6 routers present
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sdd5, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sdc1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
(END)


Thats it... the whole stuff can be found at www.vladoportos.sk/dmesg.txt

I compiled USB drivers in kernel not as modules see my kernel config http://www.vladoportos.sk/kernel_config.txt



Reply to: