LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1719|回复: 15

arch下无法挂载MP3和sd(已解决)

[复制链接]
发表于 2007-12-8 21:24:51 | 显示全部楼层 |阅读模式
内核是2.6.21的,lsmod的结果如下:

[root@myhost zhongyong35]# lsmod
Module                  Size  Used by
usb_storage            79040  0
ehci_hcd               30732  0
uhci_hcd               22160  0
ipv6                  253120  10
usbserial              29832  0
snd_intel8x0           28700  2
snd_ac97_codec         95780  1 snd_intel8x0
ac97_bus                2432  1 snd_ac97_codec
snd_pcm_oss            38688  0
snd_mixer_oss          14592  1 snd_pcm_oss
snd_pcm                69124  4 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer              19076  2 snd_pcm
snd                    44516  8 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore               6496  1 snd
snd_page_alloc          7816  2 snd_intel8x0,snd_pcm
psmouse                34952  0
nvidia               3912044  12
agpgart                27352  1 nvidia
8139too                23040  0
mii                     4864  1 8139too
usbcore               111240  5 usb_storage,ehci_hcd,uhci_hcd,usbserial
ide_cd                 35488  0
cdrom                  34336  1 ide_cd
ata_piix               11780  0
libata                102932  1 ata_piix
generic                 4740  0 [permanent]
reiserfs              234752  1
ide_disk               13312  3
piix                    9348  0 [permanent]
ide_core              112200  5 usb_storage,ide_cd,generic,ide_disk,piix


dmesg的结果:
Linux version 2.6.21-ARCH (root@Wohnung) (gcc version 4.2.0) #1 SMP PREEMPT Mon Jun 11 23:47:51 CEST 2007
BIOS-provided physical RAM map:
sanitize start
sanitize end
copy_e820_map() start: 0000000000000000 size: 000000000009fc00 end: 000000000009fc00 type: 1
copy_e820_map() type is E820_RAM
copy_e820_map() start: 000000000009fc00 size: 0000000000000400 end: 00000000000a0000 type: 2
copy_e820_map() start: 00000000000f0000 size: 0000000000010000 end: 0000000000100000 type: 2
copy_e820_map() start: 0000000000100000 size: 000000000fef0000 end: 000000000fff0000 type: 1
copy_e820_map() type is E820_RAM
copy_e820_map() start: 000000000fff0000 size: 0000000000003000 end: 000000000fff3000 type: 4
copy_e820_map() start: 000000000fff3000 size: 000000000000d000 end: 0000000010000000 type: 3
copy_e820_map() start: 00000000fec00000 size: 0000000000001000 end: 00000000fec01000 type: 2
copy_e820_map() start: 00000000fee00000 size: 0000000000001000 end: 00000000fee01000 type: 2
copy_e820_map() start: 00000000ffb00000 size: 0000000000500000 end: 0000000100000000 type: 2
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
BIOS-e820: 000000000fff0000 - 000000000fff3000 (ACPI NVS)
BIOS-e820: 000000000fff3000 - 0000000010000000 (ACPI data)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
255MB LOWMEM available.
Entering add_active_range(0, 0, 65520) 0 entries of 256 used
Zone PFN ranges:
  DMA             0 ->     4096
  Normal       4096 ->    65520
  HighMem     65520 ->    65520
early_node_map[1] active PFN ranges
    0:        0 ->    65520
On node 0 totalpages: 65520
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 4064 pages, LIFO batch:0
  Normal zone: 479 pages used for memmap
  Normal zone: 60945 pages, LIFO batch:15
  HighMem zone: 0 pages used for memmap
DMI 2.2 present.
ACPI: RSDP 000F7500, 0014 (r0 IntelR)
ACPI: RSDT 0FFF3000, 0028 (r1 IntelR AWRDACPI 42302E31 AWRD        0)
ACPI: FACP 0FFF3040, 0074 (r1 IntelR AWRDACPI 42302E31 AWRD        0)
ACPI: DSDT 0FFF30C0, 3C5B (r1 INTELR AWRDACPI     1000 MSFT  100000C)
ACPI: FACS 0FFF0000, 0040
ACPI: PM-Timer IO Port: 0x408
Allocating PCI resources starting at 20000000 (gap: 10000000:eec00000)
Built 1 zonelists.  Total pages: 65009
Kernel command line: root=/dev/hdb7 ro  earlymodules=piix rootfstype=reiserfs
Found and enabled local APIC!
mapped APIC to ffffd000 (fee00000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 4096 bytes)
Detected 1717.007 MHz processor.
Console: colour VGA+ 80x25
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 255016k/262080k available (2315k kernel code, 6536k reserved, 761k data, 268k init, 0k highmem)
virtual kernel memory layout:
    fixmap  : 0xfff83000 - 0xfffff000   ( 496 kB)
    pkmap   : 0xff800000 - 0xffc00000   (4096 kB)
    vmalloc : 0xd0800000 - 0xff7fe000   ( 751 MB)
    lowmem  : 0xc0000000 - 0xcfff0000   ( 255 MB)
      .init : 0xc0407000 - 0xc044a000   ( 268 kB)
      .data : 0xc0342ddd - 0xc040128c   ( 761 kB)
      .text : 0xc0100000 - 0xc0342ddd   (2315 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 3437.66 BogoMIPS (lpj=6875326)
Security Framework v1.0.0 initialized
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 3febfbff 00000000 00000000 00000000 00000000 00000000 00000000
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 128K
CPU: Hyper-Threading is disabled
CPU: After all inits, caps: 3febfbff 00000000 00000000 00003080 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU0: Intel P4/Xeon Extended MCE MSRs (12) available
CPU0: Thermal monitoring enabled
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 11k freed
Early unpacking initramfs... done
ACPI: Core revision 20070126
ACPI: Looking for DSDT in initramfs... error, file /DSDT.aml not found.
ACPI: setting ELCR to 0200 (from 0e20)
CPU0: Intel(R) Celeron(R) CPU 1.70GHz stepping 03
SMP motherboard not detected.
Brought up 1 CPUs
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfaf40, last bus=2
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: Interpreter enabled
ACPI: (supports S0 S1 S4 S5)
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
PCI quirk: region 0400-047f claimed by ICH4 ACPI/GPIO/TCO
PCI quirk: region 0480-04bf claimed by ICH4 GPIO
Boot video device is 0000:01:00.0
PCI: Transparent bridge - 0000:00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.HUB0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 9 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 *5 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNK0] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNK1] (IRQs 3 4 5 7 *9 10 11 12 14 15)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 15 devices
SCSI subsystem initialized
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
NetLabel: Initializing
NetLabel:  domain hash size = 128
NetLabel:  protocols = UNLABELED CIPSOv4
NetLabel:  unlabeled traffic allowed by default
pnp: 00:00: iomem range 0xca800-0xcbfff has been reserved
pnp: 00:00: iomem range 0xf0000-0xf7fff could not be reserved
pnp: 00:00: iomem range 0xf8000-0xfbfff could not be reserved
Time: tsc clocksource has been installed.
pnp: 00:00: iomem range 0xfc000-0xfffff could not be reserved
pnp: 00:02: ioport range 0x400-0x4bf could not be reserved
PCI: Bridge: 0000:00:01.0
  IO window: disabled.
  MEM window: da000000-dbffffff
  PREFETCH window: d8000000-d9ffffff
PCI: Bridge: 0000:00:1e.0
  IO window: c000-cfff
  MEM window: dc000000-ddffffff
  PREFETCH window: 20000000-200fffff
PCI: Setting latency timer of device 0000:00:1e.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 5, 131072 bytes)
TCP bind hash table entries: 8192 (order: 4, 98304 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
checking if image is initramfs... it is
Freeing initrd memory: 571k freed
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
apm: overridden by ACPI.
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:0a: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
loop: loaded (max 8 devices)
input: Macintosh mouse button emulation as /class/input/input0
PNP: PS/2 Controller [PNP0303S2K,PNP0f13S2M] at 0x60,0x64 irq 1,12
Switched to high resolution mode on CPU 0
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard as /class/input/input1
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Testing NMI watchdog ... OK.
Using IPI No-Shortcut mode
Freeing unused kernel memory: 268k freed
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH2: IDE controller at PCI slot 0000:00:1f.1
ICH2: chipset revision 5
ICH2: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:pio, hdbMA
    ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hddMA
Probing IDE interface ide0...
hdb: ST340016A, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdd: ATAPI-CD ROM-DRIVE-52MAX, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hdb: max request size: 128KiB
hdb: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
hdb: cache flushes not supported
hdb: hdb1 hdb2 < hdb5 hdb6 hdb7 hdb8 hdb9 >
libata version 2.20 loaded.
hdd: ATAPI 52X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
ReiserFS: hdb7: found reiserfs format "3.6" with standard journal
ReiserFS: hdb7: using ordered data mode
ReiserFS: hdb7: journal params: device hdb7, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hdb7: checking transaction log (hdb7)
ReiserFS: hdb7: Using r5 hash to sort names
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
8139too Fast Ethernet driver 0.9.28
ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:02:02.0[A] -> Link [LNKE] -> GSI 11 (level, low) -> IRQ 11
eth0: RealTek RTL8139 at 0xd085e000, 00:80:48:13:1f:fe, IRQ 11
eth0:  Identified 8139 chip type 'RTL-8100B/8139D'
Linux agpgart interface v0.102 (c) Dave Jones
nvidia: module license 'NVIDIA' taints kernel.
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 10 (level, low) -> IRQ 10
NVRM: loading NVIDIA Linux x86 Kernel Module  1.0-7185  Mon Apr  2 18:29:54 PDT 2007
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 5
PCI: setting IRQ 5 as level-triggered
ACPI: PCI Interrupt 0000:00:1f.5 -> Link [LNKB] -> GSI 5 (level, low) -> IRQ 5
PCI: Setting latency timer of device 0000:00:1f.5 to 64
intel8x0_measure_ac97_clock: measured 54816 usecs
intel8x0: clocking to 48000
usbcore: registered new interface driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
input: ImPS/2 Generic Wheel Mouse as /class/input/input2
Adding 489940k swap on /dev/hdb8.  Priority:-1 extents:1 across:489940k
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
Mobile IPv6
eth0: no IPv6 routers present
spurious 8259A interrupt: IRQ7.
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:1f.2[D] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:1f.2 to 64
uhci_hcd 0000:00:1f.2: UHCI Host Controller
uhci_hcd 0000:00:1f.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:1f.2: irq 11, io base 0x0000d000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ACPI: PCI Interrupt Link [LNK1] enabled at IRQ 9
PCI: setting IRQ 9 as level-triggered
ACPI: PCI Interrupt 0000:00:1f.4[C] -> Link [LNK1] -> GSI 9 (level, low) -> IRQ 9
PCI: Setting latency timer of device 0000:00:1f.4 to 64
uhci_hcd 0000:00:1f.4: UHCI Host Controller
uhci_hcd 0000:00:1f.4: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:1f.4: irq 9, io base 0x0000d800
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usb 1-1: new full speed USB device using uhci_hcd and address 2
usb 1-1: configuration #1 chosen from 1 choice
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
[color="Red"]scsi 0:0:0:0: Direct-Access     Motorola L7i              2.31 PQ: 0 ANSI: 2
usb-storage: device scan complete
usb 1-1: USB disconnect, address 2
usb 1-2: new full speed USB device using uhci_hcd and address 3
usb 1-2: configuration #1 chosen from 1 choice
scsi1 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
scsi scan: INQUIRY result too short (5), using 36
[color="Red"]scsi 1:0:0:0: Direct-Access     USB      (FS) FLASH DISK  1.00 PQ: 0 ANSI: 0 CCS
usb-storage: device scan complete
特别是红色字部分明明系统认出了我的MP3和MOTO L7I,但怎么就是不能挂载呢?/dev下根本就没有sda或sdb,sdc 等等,根本就没有办法挂载啊!兄弟样帮忙啊!
发表于 2007-12-8 21:43:30 | 显示全部楼层
供电不足?
换一个插口试试,台式机最好用机器背面的。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-8 21:47:58 | 显示全部楼层
我用的就是后面的接口啊!
并且都试了!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-9 12:46:01 | 显示全部楼层
兄弟们帮忙啊!现在我升级到2.6.23的内核还是不行啊!!
根本找不到要挂载的U盘!难道不是sda,sdb。。。。。而是另有其名??
急啊!!!!
回复 支持 反对

使用道具 举报

发表于 2007-12-9 16:21:33 | 显示全部楼层
在root权限下运行:
fdisk -l

输出什么?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-9 18:44:21 | 显示全部楼层
[root@myhost zhongyong35]# fdisk -l

Disk /dev/hdb: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1   *           1         609     4891761    b  W95 FAT32
/dev/hdb2             610        4865    34186320    f  W95 Ext'd (LBA)
/dev/hdb5             610        1246     5116671    b  W95 FAT32
/dev/hdb6            1247        2433     9534546    b  W95 FAT32
/dev/hdb7            2434        3041     4883728+  83  Linux
/dev/hdb8            3042        3102      489951   83  Linux
/dev/hdb9            3103        4865    14161266   83  Linux
回复 支持 反对

使用道具 举报

发表于 2007-12-9 19:50:30 | 显示全部楼层
需要开启hal服务才能自动挂载,但是可能会遇到中文乱码的问题。

运行fdisk -l的时候u盘插上去了没有?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-9 19:54:07 | 显示全部楼层
Post by jarryson;1793571
需要开启hal服务才能自动挂载,但是可能会遇到中文乱码的问题。

运行fdisk -l的时候u盘插上去了没有?

当然插上了!!
我不是想自动挂载啊,手动挂载也不行啊,都 不知挂载什么!!又没有sda,sdb的东东!!
兄弟们帮忙啊!
回复 支持 反对

使用道具 举报

发表于 2007-12-9 21:00:39 | 显示全部楼层
gentoo wiki上有一个关于sdcard reader的主题,可以看一下
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-9 21:27:50 | 显示全部楼层
Post by ys_freedom;1793606
gentoo wiki上有一个关于sdcard reader的主题,可以看一下


兄台能不能给说下具体的地址,我怎么没有找到呢!
况且我的连MP3也不能挂载啊
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表