[Voyage-linux] mount usb drive on startup
Guttdude Jenius
(spam-protected)
Wed May 28 00:09:59 HKT 2008
Here is my dmesg:
Linux version 2.6.23-486-voyage (2.6.23-2) (root at punknix-uml) (gcc version
4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 PREEMPT Thu Feb 28
17:11:14 GMT 2008
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000010000000 (usable)
BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
256MB LOWMEM available.
Entering add_active_range(0, 0, 65536) 0 entries of 256 used
Zone PFN ranges:
DMA 0 -> 4096
Normal 4096 -> 65536
HighMem 65536 -> 65536
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0 -> 65536
On node 0 totalpages: 65536
DMA zone: 32 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 4064 pages, LIFO batch:0
Normal zone: 480 pages used for memmap
Normal zone: 60960 pages, LIFO batch:15
HighMem zone: 0 pages used for memmap
Movable zone: 0 pages used for memmap
DMI not present or invalid.
Allocating PCI resources starting at 20000000 (gap: 10000000:eff00000)
Built 1 zonelists in Zone order. Total pages: 65024
Kernel command line: root=LABEL=ROOT_FS console=ttyS0,38400n8
No local APIC present or hardware disabled
mapped APIC to ffffb000 (01201000)
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 4096 bytes)
Detected 498.072 MHz processor.
Console: colour dummy device 80x25
console [ttyS0] enabled
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 254636k/262144k available (1761k kernel code, 7012k reserved, 634k
data, 164k init, 0k highmem)
virtual kernel memory layout:
fixmap : 0xfffac000 - 0xfffff000 ( 332 kB)
pkmap : 0xff800000 - 0xffc00000 (4096 kB)
vmalloc : 0xd0800000 - 0xff7fe000 ( 751 MB)
lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
.init : 0xc035a000 - 0xc0383000 ( 164 kB)
.data : 0xc02b87d1 - 0xc035719c ( 634 kB)
.text : 0xc0100000 - 0xc02b87d1 (1761 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 997.06 BogoMIPS
(lpj=498534)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0088a93d c0c0a13d 00000000 00000000
00000000 00000000 00000000 00000000
CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line)
CPU: L2 Cache: 128K (32 bytes/line)
CPU: After all inits, caps: 0088a93d c0c0a13d 00000000 00000000 00000000
00000000 00000000 00000000
Compat vDSO mapped to ffffe000.
CPU: AMD Geode(TM) Integrated Processor by AMD PCS stepping 02
Checking 'hlt' instruction... OK.
NET: Registered protocol family 16
geode: 8 MFGPT timers available.
PCI: PCI BIOS revision 2.10 entry at 0xfcd03, last bus=0
PCI: Using configuration type 1
Setting up standard PCI resources
SCSI subsystem initialized
libata version 2.21 loaded.
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
Time: tsc clocksource has been installed.
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
checking if image is initramfs... it is
Freeing initrd memory: 1977k freed
io scheduler noop registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
AMD5536: IDE controller at PCI slot 0000:00:0f.2
AMD5536: chipset revision 1
AMD5536: not 100% native mode: will probe irqs later
AMD5536: 0000:00:0f.2 (rev 01) UDMA100 controller
ide0: BM-DMA at 0xff00-0xff07, BIOS settings: hda:DMA, hdb:pio
Probing IDE interface ide0...
hda: APACER CF SMI222AD, ATA DISK drive
Clocksource tsc unstable (delta = 131856126 ns)
Time: pit clocksource has been installed.
hda: selected mode 0x22
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hda: max request size: 128KiB
hda: 3964464 sectors (2029 MB) w/1KiB Cache, CHS=3933/16/63, DMA
hda: hda1 hda2
i8042.c: No controller found.
mice: PS/2 mouse device common for all mice
padlock: VIA PadLock not detected.
padlock: VIA PadLock Hash Engine not detected.
geode-aes: GEODE AES engine enabled.
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI Shortcut mode
Freeing unused kernel memory: 164k freed
via-rhine.c:v1.10-LK1.4.3 2007-03-06 Written by Donald Becker
PCI: Setting latency timer of device 0000:00:09.0 to 64
eth0: VIA Rhine III (Management Adapter) at 0xe0000000, 00:0d:b9:13:b0:50,
IRQ 10.
eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 41e1.
PCI: Setting latency timer of device 0000:00:0b.0 to 64
eth1: VIA Rhine III (Management Adapter) at 0xe0040000, 00:0d:b9:13:b0:51,
IRQ 12.
eth1: MII PHY found at address 1, status 0x786d advertising 05e1 Link 41e1.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Setting latency timer of device 0000:00:0f.5 to 64
ehci_hcd 0000:00:0f.5: EHCI Host Controller
ehci_hcd 0000:00:0f.5: new USB bus registered, assigned bus number 1
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
ehci_hcd 0000:00:0f.5: irq 15, io mem 0xefffd000
ehci_hcd 0000:00:0f.5: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 4 ports detected
PCI: Setting latency timer of device 0000:00:0f.4 to 64
ohci_hcd 0000:00:0f.4: OHCI Host Controller
ohci_hcd 0000:00:0f.4: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:0f.4: irq 15, io mem 0xefffe000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 4 ports detected
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
usb 1-1: new high speed USB device using ehci_hcd and address 2
usb 1-1: configuration #1 chosen from 1 choice
cs5535_gpio: base=0x6100 mask=0xb003c66 major=253
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
EXT3-fs warning: mounting unchecked fs, running e2fsck is recommended
EXT3 FS on hda1, internal journal
natsemi dp8381x driver, version 2.1, Sept 11, 2006
originally by Donald Becker <becker at scyld.com>
2.4.x kernel port by Jeff Garzik, Tjeerd Mulder
ieee80211_crypt: registered algorithm 'NULL'
geode-mfgpt: Registered timer 0
Registered led device: alix:1
Registered led device: alix:2
Registered led device: alix:3
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
ctnetlink v0.93: registering with nfnetlink.
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised:
dm-devel at redhat.com
fuse init (API version 7.8)
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
scsi 0:0:0:0: Direct-Access FUJITSU MHT2030AT PQ: 0 ANSI: 0
usb-storage: device scan complete
sd 0:0:0:0: [sda] 58605120 512-byte hardware sectors (30006 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] 58605120 512-byte hardware sectors (30006 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
sda: sda1 sda2 sda3 < sda5 > sda4
sd 0:0:0:0: [sda] Attached SCSI disk
eth1: link up, 100Mbps, full-duplex, lpa 0x41E1
PPP generic driver version 2.4.2
NET: Registered protocol family 24
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ip_tables: (C) 2000-2006 Netfilter Core Team
ip6_tables: (C) 2000-2006 Netfilter Core Team
IPP2P v0.8.1_rc1 loading
u32 classifier
Performance counters on
input device check on
Actions configured
On Tue, May 27, 2008 at 11:09 AM, Kim-man 'Punky' TSE <punkytse at punknix.com>
wrote:
> May be you can show us the dmesg.
>
> - Punky
>
> Guttdude Jenius wrote:
>
>> I have to do "mount -a" every time after booting. My question is why
>> voyage doesn't do it for me at startup. It is quite weird for me. How to
>> diagnose the problem?
>>
>> On Mon, May 26, 2008 at 11:21 PM, Kim-man 'Punky' Tse <
>> punkytse at punknix.com <mailto:punkytse at punknix.com>> wrote:
>>
>> Hi,
>>
>> First, please subscribe to the mailing list before posting
>> question to the list.
>>
>> 1. Did you run "mount -a" to see if it is mount properly?
>> 2. I have do a brief test and is mounting OK, at boot and via
>> "mount -a"
>>
>> Regards,
>> Punky
>>
>>
>> Guttdude Jenius wrote:
>>
>> I try to mount /dev/sda5 to /var on startup by editing
>> /etc/fstab. It seems that voyage doesn't mount it for me.
>>
>> /dev/sda5 /var ext3 defaults,noatime,rw 0 0
>>
>> What's wrong?
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Voyage-linux mailing list
>> Voyage-linux at list.voyage.hk <mailto:Voyage-linux at list.voyage.hk>
>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>
>>
>>
>>
>
> --
> Regards,
> Punky
>
> Voyage Solutions (http://solution.voyage.hk)
> * Embedded Solutions and Systems
> - Mesh Networking, Captive Portal, IP Surveillance, VoIP/PBX
> - Network Engineering, Development Platform and Consultation
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20080527/88d9fad5/attachment.html>
More information about the Voyage-linux
mailing list