LinuxQuestions.org
Social Bookmarking all things Linux and Open Source
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Thread Tools
Old 10-30-2009, 02:13 PM   #1
zanget
LQ Newbie
 
Registered: Jul 2009
Posts: 12
Thanked: 0
USB device crushed on RHEL 4


[Log in to get rid of this advertisement]
since i install the RHEL on my pc,
I use Kingston DataTraveler USB device
connect to the board:
Code:
Oct 25 15:38:35 board kernel: usb 1-5: new high speed USB device using address 2
Oct 25 15:38:37 board kernel: SCSI subsystem initialized
Oct 25 15:38:37 board kernel: Initializing USB Mass Storage driver...
Oct 25 15:38:37 board kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Oct 25 15:38:37 board kernel:   Vendor: Kingston  Model: DataTraveler G2   Rev: 1.00
Oct 25 15:38:37 board kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
Oct 25 15:38:37 board kernel: usbcore: registered new driver usb-storage
Oct 25 15:38:37 board kernel: USB Mass Storage support registered.
Oct 25 15:38:37 board scsi.agent[6106]: disk at /devices/pci0000:00/0000:00:1d.7/usb1/1-5/1-5:1.0/host0/target0:0:0/0:0:0:0
Oct 25 15:38:37 board kernel: SCSI device sda: 15654848 512-byte hdwr sectors (8015 MB)
Oct 25 15:38:37 board kernel: sda: Write Protect is off
Oct 25 15:38:37 board kernel: sda: assuming drive cache: write through
Oct 25 15:38:38 board kernel:  sda: sda1
Oct 25 15:38:38 board kernel: Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Oct 25 15:38:38 board kernel: Buffer I/O error on device sda1, logical block 1957888
Oct 25 15:38:38 board kernel: Buffer I/O error on device sda1, logical block 1957889
Oct 25 15:38:38 board kernel: Buffer I/O error on device sda1, logical block 1957890
Oct 25 15:38:38 board kernel: Buffer I/O error on device sda1, logical block 1957891
Oct 25 15:38:38 board kernel: Buffer I/O error on device sda1, logical block 1957892
Oct 25 15:38:38 board kernel: Buffer I/O error on device sda1, logical block 1957893
Oct 25 15:38:38 board kernel: Buffer I/O error on device sda1, logical block 1957894
Oct 25 15:38:38 board fstab-sync[6191]: added mount point /media/YANHL for /dev/sda1
Oct 25 15:38:38 board kernel: Buffer I/O error on device sda1, logical block 1957895
Oct 25 15:38:38 board kernel: Buffer I/O error on device sda1, logical block 1957896
Oct 25 15:38:38 board kernel: Buffer I/O error on device sda1, logical block 1957897
Oct 25 15:38:38 board kernel: Buffer I/O error on device sda1, logical block 1957898
Oct 25 15:38:38 board kernel: Buffer I/O error on device sda1, logical block 1957899
Oct 25 15:38:38 board kernel: Buffer I/O error on device sda1, logical block 1957900
Oct 25 15:38:38 board kernel: Buffer I/O error on device sda1, logical block 1957901
Oct 25 15:38:38 board kernel: Buffer I/O error on device sda1, logical block 1957902
Oct 25 15:38:38 board kernel: Buffer I/O error on device sda1, logical block 1957903
Oct 25 15:38:38 board kernel: Buffer I/O error on device sda1, logical block 1957888
Oct 25 15:40:45 board kernel: usb 1-5: USB disconnect, address 2
Oct 25 15:40:45 board fstab-sync[5953]: removed mount point /media/YANHL for /dev/sda1
but there was sometime crushed on the usb device,i can mount the sda1 on /mnt, but i can not use ls on this path.
the start info of linux is here:
Oct 25 12:01:32 board syslogd 1.4.1: restart.
Oct 25 12:01:33 board syslog: syslogd startup succeeded
Oct 25 12:01:33 board syslog: klogd startup succeeded
Oct 25 12:01:33 board kernel: klogd 1.4.1, log source = /proc/kmsg started.
Oct 25 12:01:33 board kernel: Linux version 2.6.9-5.ELsmp (bhcompile@decompose.build.redhat.com) (gcc version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)) #1 SMP Wed Jan 5 19:30:39 EST 2005
Oct 25 12:01:33 board kernel: BIOS-provided physical RAM map:
Oct 25 12:01:33 board kernel: BIOS-e820: 0000000000000000 - 0000000000097000 (usable)
Oct 25 12:01:33 board kernel: BIOS-e820: 0000000000097000 - 00000000000a0000 (reserved)
Oct 25 12:01:33 board kernel: BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
Oct 25 12:01:33 board kernel: BIOS-e820: 0000000000100000 - 000000003f7b0000 (usable)
Oct 25 12:01:33 board kernel: BIOS-e820: 000000003f7b0000 - 000000003f7be000 (ACPI data)
Oct 25 12:01:33 board kernel: BIOS-e820: 000000003f7be000 - 000000003f7f0000 (ACPI NVS)
Oct 25 12:01:33 board kernel: BIOS-e820: 000000003f7f0000 - 000000003f800000 (reserved)
Oct 25 12:01:33 board kernel: BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
Oct 25 12:01:33 board kernel: BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
Oct 25 12:01:33 board kernel: 119MB HIGHMEM available.
Oct 25 12:01:33 board kernel: 896MB LOWMEM available.
Oct 25 12:01:35 board kernel: found SMP MP-table at 000ff780
Oct 25 20:01:09 board rc.sysinit: -e
Oct 25 12:01:35 board kernel: NX (Execute Disable) protection: active
Oct 25 20:01:11 board start_udev: Starting udev: succeeded
Oct 25 20:01:17 board udevsend[1042]: starting udevd daemon
Oct 25 20:01:20 board rc.sysinit: -e
Oct 25 20:01:21 board sysctl: net.ipv4.ip_forward = 0
Oct 25 20:01:21 board sysctl: net.ipv4.conf.default.rp_filter = 1
Oct 25 12:01:36 board kernel: DMI present.
Oct 25 20:01:21 board sysctl: net.ipv4.conf.default.accept_source_route = 0
Oct 25 12:01:36 board kernel: Using APIC driver default
Oct 25 20:01:21 board sysctl: kernel.sysrq = 0
Oct 25 20:01:21 board sysctl: kernel.core_uses_pid = 1
Oct 25 20:01:21 board sysctl: kernel.msgmni = 64
Oct 25 12:01:36 board sshd: succeeded
Oct 25 20:01:21 board rc.sysinit: Configuring kernel parameters: succeeded
Oct 25 12:01:19 board date: Sun Oct 25 12:01:19 CST 2009
Oct 25 12:01:19 board rc.sysinit: Setting clock (localtime): Sun Oct 25 12:01:19 CST 2009 succeeded
Oct 25 12:01:19 board rc.sysinit: Loading default keymap succeeded
Oct 25 12:01:37 board xinetd: xinetd startup succeeded
Oct 25 12:01:19 board rc.sysinit: Setting hostname board.zanget: succeeded
Oct 25 12:01:24 board fsck: /: clean, 44961/423488 files, 543769/845412 blocks
Oct 25 12:01:37 board atd: atd startup succeeded
Oct 25 12:01:24 board rc.sysinit: Checking root filesystem succeeded
Oct 25 12:01:38 board kernel: ACPI: PM-Timer IO Port: 0x808
Oct 25 12:01:24 board rc.sysinit: Remounting root filesystem in read-write mode: succeeded
Oct 25 12:01:25 board lvm.static: No volume groups found
Oct 25 12:01:38 board kernel: ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Oct 25 12:01:38 board messagebus: messagebus startup succeeded
Oct 25 12:01:25 board rc.sysinit: Setting up Logical Volume Management: succeeded
Oct 25 12:01:38 board kernel: Processor #0 6:12 APIC version 20
Oct 25 12:01:26 board rc.sysinit: Checking filesystems succeeded
Oct 25 12:01:38 board kernel: ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
Oct 25 12:01:26 board rc.sysinit: Mounting local filesystems: succeeded
Oct 25 12:01:39 board kernel: Processor #1 6:12 APIC version 20
Oct 25 12:01:26 board rc.sysinit: Enabling local filesystem quotas: succeeded
Oct 25 12:01:39 board kernel: ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
Oct 25 12:01:26 board rc.sysinit: Enabling swap space: succeeded
Oct 25 12:01:39 board kernel: IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
Oct 25 12:01:39 board haldaemon: haldaemon startup succeeded
Oct 25 12:01:26 board init: Entering runlevel: 3
Oct 25 12:01:40 board kernel: ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
Oct 25 12:01:27 board sysctl: net.ipv4.ip_forward = 0
Oct 25 12:01:40 board kernel: ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
Oct 25 12:01:27 board sysctl: net.ipv4.conf.default.rp_filter = 1
Oct 25 12:01:27 board sysctl: net.ipv4.conf.default.accept_source_route = 0
Oct 25 12:01:27 board sysctl: kernel.sysrq = 0
Oct 25 12:01:40 board fstab-sync[2075]: removed all generated mount points
Oct 25 12:01:27 board sysctl: kernel.core_uses_pid = 1
Oct 25 12:01:40 board kernel: Enabling APIC mode: Flat. Using 1 I/O APICs
Oct 25 12:01:27 board sysctl: kernel.msgmni = 64
Oct 25 12:01:40 board kernel: Using ACPI (MADT) for SMP configuration information
Oct 25 12:01:27 board network: Setting network parameters: succeeded
Oct 25 12:01:41 board kernel: Built 1 zonelists
Oct 25 12:01:27 board network: Bringing up loopback interface: succeeded
Oct 25 12:01:41 board kernel: Kernel command line: ro root=LABEL=/
Oct 25 12:01:30 board network: Bringing up interface eth0: succeeded
Oct 25 12:01:41 board kernel: Initializing CPU#0
Oct 25 12:01:32 board network: Bringing up interface eth1: succeeded
Oct 25 12:01:41 board kernel: CPU 0 irqstacks, hard=c03d8000 soft=c03b8000
Oct 25 12:01:41 board kernel: PID hash table entries: 4096 (order: 12, 65536 bytes)
Oct 25 12:01:41 board kernel: Detected 1600.778 MHz processor.
Oct 25 12:01:41 board kernel: Using tsc for high-res timesource
Oct 25 12:01:41 board kernel: Console: colour VGA+ 80x25
Oct 25 12:01:41 board kernel: Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Oct 25 12:01:41 board kernel: Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Oct 25 12:01:41 board kernel: Memory: 1025344k/1040064k available (1819k kernel code, 13936k reserved, 740k data, 172k init, 122560k highmem)
Oct 25 12:01:41 board kernel: Security Scaffold v1.0.0 initialized
Oct 25 12:01:42 board kernel: SELinux: Initializing.
Oct 25 12:01:42 board kernel: SELinux: Starting in permissive mode
Oct 25 12:01:42 board kernel: There is already a security framework initialized, register_security failed.
Oct 25 12:01:42 board kernel: selinux_register_security: Registering secondary module capability
Oct 25 12:01:42 board xinetd[2030]: xinetd Version 2.3.13 started with libwrap loadavg options compiled in.
Oct 25 12:01:42 board kernel: Capability LSM initialized as secondary
Oct 25 12:01:42 board xinetd[2030]: Started working: 0 available services
Oct 25 12:01:42 board kernel: Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Oct 25 12:01:42 board kernel: monitor/mwait feature present.
Oct 25 12:01:42 board kernel: using mwait in idle threads.
Oct 25 12:01:42 board kernel: CPU: L1 I cache: 32K
Oct 25 12:01:42 board kernel: CPU: Physical Processor ID: 0
Oct 25 12:01:42 board kernel: Intel machine check architecture supported.
Oct 25 12:01:42 board kernel: Intel machine check reporting enabled on CPU#0.
Oct 25 12:01:42 board kernel: Enabling fast FPU save and restore... done.
Oct 25 12:01:42 board kernel: Enabling unmasked SIMD FPU exception support... done.
Oct 25 12:01:42 board kernel: Checking 'hlt' instruction... OK.
Oct 25 12:01:42 board kernel: CPU0: Intel Genuine Intel(R) CPU N270 @ 1.60GHz stepping 02
Oct 25 12:01:42 board kernel: per-CPU timeslice cutoff: 91.45 usecs.
Oct 25 12:01:42 board kernel: task migration cache decay timeout: 1 msecs.
Oct 25 12:01:42 board kernel: Booting processor 1/1 eip 3000
Oct 25 12:01:42 board kernel: CPU 1 irqstacks, hard=c03d9000 soft=c03b9000
Oct 25 12:01:42 board kernel: Initializing CPU#1
Oct 25 12:01:43 board kernel: monitor/mwait feature present.
Oct 25 12:01:43 board kernel: CPU: L1 I cache: 32K
Oct 25 12:01:43 board kernel: CPU: Physical Processor ID: 0
Oct 25 12:01:43 board kernel: Intel machine check architecture supported.
Oct 25 12:01:43 board kernel: Intel machine check reporting enabled on CPU#1.
Oct 25 12:01:43 board kernel: CPU1: Intel Genuine Intel(R) CPU N270 @ 1.60GHz stepping 02
Oct 25 12:01:43 board kernel: Total of 2 processors activated (6332.41 BogoMIPS).
Oct 25 12:01:43 board kernel: ENABLING IO-APIC IRQs
Oct 25 12:01:43 board kernel: ..TIMER: vector=0x31 pin1=2 pin2=-1
Oct 25 12:01:43 board kernel: checking TSC synchronization across 2 CPUs: passed.
Oct 25 12:01:43 board kernel: Brought up 2 CPUs
Oct 25 12:01:43 board kernel: zapping low mappings.
Oct 25 12:01:43 board kernel: checking if image is initramfs... it is
Oct 25 12:01:43 board kernel: Freeing initrd memory: 383k freed
Oct 25 12:01:43 board kernel: NET: Registered protocol family 16
Oct 25 12:01:43 board kernel: PCI: PCI BIOS revision 3.00 entry at 0xf0031, last bus=3
Oct 25 12:01:43 board kernel: PCI: Using MMCONFIG
Oct 25 12:01:43 board kernel: mtrr: v2.0 (20020519)
Oct 25 12:01:43 board kernel: ACPI: Subsystem revision 20040816
Oct 25 12:01:43 board kernel: ACPI: Interpreter enabled
Oct 25 12:01:43 board kernel: ACPI: Using IOAPIC for interrupt routing
Oct 25 12:01:43 board kernel: Error attaching device data
Oct 25 12:01:43 board kernel: Error attaching device data
Oct 25 12:01:44 board kernel: ACPI: PCI Root Bridge [PCI0] (00:00)
Oct 25 12:01:44 board kernel: PCI: Probing PCI hardware (bus 00)
Oct 25 12:01:44 board kernel: PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.2
Oct 25 12:01:44 board kernel: PCI: Transparent bridge - 0000:00:1e.0
Oct 25 12:01:44 board kernel: ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 *5 6 7 10 11 12 14 15)
Oct 25 12:01:44 board kernel: ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 *5 6 7 10 11 12 14 15)
Oct 25 12:01:44 board kernel: ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 *5 6 7 10 11 12 14 15)
Oct 25 12:01:44 board kernel: ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 *5 6 7 10 11 12 14 15)
Oct 25 12:01:44 board kernel: ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
Oct 25 12:01:44 board kernel: ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
Oct 25 12:01:44 board kernel: ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
Oct 25 12:01:44 board kernel: ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 *5 6 7 10 11 12 14 15)
Oct 25 12:01:44 board kernel: Linux Plug and Play Support v0.97 (c) Adam Belay
Oct 25 12:01:44 board kernel: usbcore: registered new driver usbfs
Oct 25 12:01:44 board kernel: usbcore: registered new driver hub
Oct 25 12:01:44 board kernel: PCI: Using ACPI for IRQ routing
Oct 25 12:01:44 board kernel: ACPI: PCI interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 169
Oct 25 12:01:44 board kernel: ACPI: PCI interrupt 0000:00:1c.0[A] -> GSI 16 (level, low) -> IRQ 169
Oct 25 12:01:44 board kernel: ACPI: PCI interrupt 0000:00:1c.1[b] -> GSI 17 (level, low) -> IRQ 177
Oct 25 12:01:44 board kernel: ACPI: PCI interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 185
Oct 25 12:01:44 board kernel: ACPI: PCI interrupt 0000:00:1d.1[b] -> GSI 19 (level, low) -> IRQ 193
Oct 25 12:01:44 board kernel: ACPI: PCI interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 201
Oct 25 12:01:44 board kernel: ACPI: PCI interrupt 0000:00:1d.3[D] -> GSI 16 (level, low) -> IRQ 169
Oct 25 12:01:44 board kernel: ACPI: PCI interrupt 0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 185
Oct 25 12:01:44 board kernel: ACPI: PCI interrupt 0000:00:1e.2[A] -> GSI 17 (level, low) -> IRQ 177
Oct 25 12:01:44 board kernel: ACPI: PCI interrupt 0000:00:1f.2[b] -> GSI 19 (level, low) -> IRQ 193
Oct 25 12:01:45 board kernel: ACPI: PCI interrupt 0000:00:1f.3[b] -> GSI 19 (level, low) -> IRQ 193
Oct 25 12:01:45 board kernel: ACPI: PCI interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 169
Oct 25 12:01:45 board kernel: ACPI: PCI interrupt 0000:02:00.0[A] -> GSI 17 (level, low) -> IRQ 177
Oct 25 12:01:45 board kernel: ACPI: PCI interrupt 0000:03:02.0[A] -> GSI 16 (level, low) -> IRQ 169
Oct 25 12:01:45 board kernel: apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
Oct 25 12:01:45 board kernel: apm: disabled - APM is not SMP safe.
Oct 25 12:01:45 board kernel: audit: initializing netlink socket (disabled)
Oct 25 12:01:45 board kernel: audit(1256472053.123:0): initialized
Oct 25 12:01:45 board kernel: highmem bounce pool size: 64 pages
Oct 25 12:01:45 board kernel: Total HugeTLB memory allocated, 0
Oct 25 12:01:45 board kernel: VFS: Disk quotas dquot_6.5.1
Oct 25 12:01:45 board kernel: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Oct 25 12:01:45 board kernel: SELinux: Registering netfilter hooks
Oct 25 12:01:45 board kernel: Initializing Cryptographic API
Oct 25 12:01:45 board kernel: ksign: Installing public key data
Oct 25 12:01:45 board kernel: Loading keyring
Oct 25 12:01:45 board kernel: - Added public key E07BC3E85BE30CFD
Oct 25 12:01:45 board kernel: - User ID: Red Hat, Inc. (Kernel Module GPG key)
Oct 25 12:01:45 board kernel: pci_hotplug: PCI Hot Plug PCI Core version: 0.5
Oct 25 12:01:46 board kernel: vesafb: probe of vesafb0 failed with error -6
Oct 25 12:01:47 board kernel: ACPI: Processor [P001] (supports C1)
Oct 25 12:01:47 board kernel: ACPI: Processor [P002] (supports C1)
Oct 25 12:01:47 board kernel: Real Time Clock Driver v1.12
Oct 25 12:01:47 board kernel: Linux agpgart interface v0.100 (c) Dave Jones
Oct 25 12:01:47 board kernel: serio: i8042 AUX port at 0x60,0x64 irq 12
Oct 25 12:01:47 board kernel: serio: i8042 KBD port at 0x60,0x64 irq 1
Oct 25 12:01:47 board kernel: Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing enabled
Oct 25 12:01:47 board kernel: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
Oct 25 12:01:47 board kernel: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
Oct 25 12:01:47 board kernel: ttyS2 at I/O 0x3e8 (irq = 11) is a 16550A
Oct 25 12:01:47 board kernel: ttyS3 at I/O 0x2e8 (irq = 10) is a 16550A
Oct 25 12:01:47 board kernel: RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
Oct 25 12:01:47 board kernel: Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
Oct 25 12:01:47 board kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Oct 25 12:01:47 board kernel: hdc: 4GB CompactFlash Card, ATA DISK drive
Oct 25 12:01:47 board kernel: ide2: I/O resource 0x3EE-0x3EE not free.
Oct 25 12:01:47 board kernel: ide2: ports already in use, skipping probe
Oct 25 12:01:47 board kernel: Using cfq io scheduler
Oct 25 12:01:47 board kernel: ide1 at 0x170-0x177,0x376 on irq 15
Oct 25 12:01:47 board kernel: hdc: max request size: 128KiB
Oct 25 12:01:47 board kernel: hdc: 8027712 sectors (4110 MB) w/1KiB Cache, CHS=7964/16/63
Oct 25 12:01:47 board kernel: hdc: hdc1 hdc2
Oct 25 12:01:47 board kernel: ide-floppy driver 0.99.newide
Oct 25 12:01:47 board kernel: usbcore: registered new driver hiddev
Oct 25 12:01:47 board kernel: usbcore: registered new driver usbhid
Oct 25 12:01:47 board kernel: drivers/usb/input/hid-core.c: v2.0:USB HID core driver
Oct 25 12:01:47 board kernel: mice: PS/2 mouse device common for all mice
Oct 25 12:01:47 board kernel: md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
Oct 25 12:01:47 board kernel: NET: Registered protocol family 2
Oct 25 12:01:47 board kernel: IP: routing cache hash table of 4096 buckets, 64Kbytes
Oct 25 12:01:47 board kernel: TCP: Hash tables configured (established 131072 bind 43690)
Oct 25 12:01:47 board kernel: Initializing IPsec netlink socket
Oct 25 12:01:47 board kernel: NET: Registered protocol family 1
Oct 25 12:01:47 board kernel: NET: Registered protocol family 17
Oct 25 12:01:47 board kernel: ACPI: (supports S0 S1 S3 S4 S5)
Oct 25 12:01:47 board kernel: ACPI wakeup devices:
Oct 25 12:01:47 board kernel: P0P2 P0P1 USB0 USB1 USB2 USB3 EUSB MC97 P0P4 LAN1 P0P5 P0P6 P0P7 P0P8 P0P9
Oct 25 12:01:47 board kernel: Freeing unused kernel memory: 172k freed
Oct 25 12:01:47 board kernel: EXT3-fs: INFO: recovery required on readonly filesystem.
Oct 25 12:01:47 board kernel: EXT3-fs: write access will be enabled during recovery.
Oct 25 12:01:47 board kernel: kjournald starting. Commit interval 5 seconds
Oct 25 12:01:47 board kernel: EXT3-fs: recovery complete.
Oct 25 12:01:47 board kernel: EXT3-fs: mounted filesystem with ordered data mode.
Oct 25 12:01:47 board kernel: security: 3 users, 4 roles, 316 types, 20 bools
Oct 25 12:01:47 board kernel: security: 53 classes, 9815 rules
Oct 25 12:01:47 board kernel: SELinux: Completing initialization.
Oct 25 12:01:47 board kernel: SELinux: Setting up existing superblocks.
Oct 25 12:01:47 board kernel: SELinux: initialized (dev hdc1, type ext3), uses xattr
Oct 25 12:01:47 board kernel: SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
Oct 25 12:01:47 board kernel: SELinux: initialized (dev selinuxfs, type selinuxfs), uses genfs_contexts
Oct 25 12:01:47 board kernel: SELinux: initialized (dev mqueue, type mqueue), not configured for labeling
Oct 25 12:01:47 board kernel: SELinux: initialized (dev hugetlbfs, type hugetlbfs), not configured for labeling
Oct 25 12:01:47 board kernel: SELinux: initialized (dev devpts, type devpts), uses transition SIDs
Oct 25 12:01:47 board kernel: SELinux: initialized (dev eventpollfs, type eventpollfs), uses genfs_contexts
Oct 25 12:01:47 board kernel: SELinux: initialized (dev pipefs, type pipefs), uses task SIDs
Oct 25 12:01:47 board kernel: SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
Oct 25 12:01:47 board kernel: SELinux: initialized (dev futexfs, type futexfs), uses genfs_contexts
Oct 25 12:01:47 board kernel: SELinux: initialized (dev sockfs, type sockfs), uses task SIDs
Oct 25 12:01:48 board kernel: SELinux: initialized (dev proc, type proc), uses genfs_contexts
Oct 25 12:01:48 board kernel: SELinux: initialized (dev bdev, type bdev), uses genfs_contexts
Oct 25 12:01:48 board kernel: SELinux: initialized (dev rootfs, type rootfs), uses genfs_contexts
Oct 25 12:01:48 board kernel: SELinux: initialized (dev sysfs, type sysfs), uses genfs_contexts
Oct 25 12:01:48 board kernel: SELinux: initialized (dev usbfs, type usbfs), uses genfs_contexts
Oct 25 12:01:48 board kernel: inserting floppy driver for 2.6.9-5.ELsmp
Oct 25 12:01:48 board kernel: floppy0: no floppy controllers found
Oct 25 12:01:48 board kernel: r8168: Ignoring new-style parameters in presence of obsolete ones
Oct 25 12:01:48 board kernel: r8168 Gigabit Ethernet driver 8.006.00-NAPI loaded
Oct 25 12:01:48 board kernel: ACPI: PCI interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 169
Oct 25 12:01:48 board kernel: eth0: RTL8168B/8111B at 0xf8820000, 00:18:7d:08:c6:b6, IRQ 169
Oct 25 12:01:48 board kernel: r8168 Gigabit Ethernet driver 8.006.00-NAPI loaded
Oct 25 12:01:48 board kernel: ACPI: PCI interrupt 0000:02:00.0[A] -> GSI 17 (level, low) -> IRQ 177
Oct 25 12:01:48 board kernel: eth1: RTL8168B/8111B at 0xf8822000, 00:18:7d:08:c6:b7, IRQ 177
Oct 25 12:01:48 board kernel: hw_random: RNG not detected
Oct 25 12:01:48 board kernel: ACPI: PCI interrupt 0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 185
Oct 25 12:01:48 board kernel: ehci_hcd 0000:00:1d.7: EHCI Host Controller
Oct 25 12:01:48 board kernel: ehci_hcd 0000:00:1d.7: irq 185, pci mem f8824c00
Oct 25 12:01:48 board kernel: SELinux: initialized (dev usbdevfs, type usbdevfs), uses genfs_contexts
Oct 25 12:01:48 board kernel: ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
Oct 25 12:01:48 board kernel: ehci_hcd 0000:00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2004-May-10
Oct 25 12:01:48 board kernel: hub 1-0:1.0: USB hub found
Oct 25 12:01:48 board kernel: hub 1-0:1.0: 8 ports detected
Oct 25 12:01:48 board kernel: ip_tables: (C) 2000-2002 Netfilter core team
Oct 25 12:01:48 board kernel: r8168: eth0: link down
Oct 25 12:01:48 board kernel: r8168: eth1: link down
Oct 25 12:01:48 board kernel: USB Universal Host Controller Interface driver v2.2
Oct 25 12:01:48 board kernel: ACPI: PCI interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 185
Oct 25 12:01:48 board kernel: uhci_hcd 0000:00:1d.0: UHCI Host Controller
Oct 25 12:01:48 board kernel: uhci_hcd 0000:00:1d.0: irq 185, io base 0000bc00
Oct 25 12:01:48 board kernel: uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
Oct 25 12:01:48 board kernel: hub 2-0:1.0: USB hub found
Oct 25 12:01:48 board kernel: hub 2-0:1.0: 2 ports detected
Oct 25 12:01:48 board kernel: ACPI: PCI interrupt 0000:00:1d.1[b] -> GSI 19 (level, low) -> IRQ 193
Oct 25 12:01:48 board kernel: uhci_hcd 0000:00:1d.1: UHCI Host Controller
Oct 25 12:01:48 board kernel: uhci_hcd 0000:00:1d.1: irq 193, io base 0000b880
Oct 25 12:01:48 board kernel: uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
Oct 25 12:01:48 board kernel: hub 3-0:1.0: USB hub found
Oct 25 12:01:48 board kernel: hub 3-0:1.0: 2 ports detected
Oct 25 12:01:48 board kernel: ACPI: PCI interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 201
Oct 25 12:01:48 board kernel: uhci_hcd 0000:00:1d.2: UHCI Host Controller
Oct 25 12:01:48 board kernel: uhci_hcd 0000:00:1d.2: irq 201, io base 0000b800
Oct 25 12:01:48 board kernel: r8168: eth0: link up
Oct 25 12:01:48 board kernel: uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
Oct 25 12:01:48 board kernel: hub 4-0:1.0: USB hub found
Oct 25 12:01:48 board kernel: hub 4-0:1.0: 2 ports detected
Oct 25 12:01:48 board kernel: ACPI: PCI interrupt 0000:00:1d.3[D] -> GSI 16 (level, low) -> IRQ 169
Oct 25 12:01:48 board kernel: uhci_hcd 0000:00:1d.3: UHCI Host Controller
Oct 25 12:01:48 board kernel: uhci_hcd 0000:00:1d.3: irq 169, io base 0000b480
Oct 25 12:01:48 board kernel: uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
Oct 25 12:01:48 board kernel: hub 5-0:1.0: USB hub found
Oct 25 12:01:48 board kernel: hub 5-0:1.0: 2 ports detected
Oct 25 12:01:48 board kernel: md: Autodetecting RAID arrays.
Oct 25 12:01:48 board kernel: md: autorun ...
Oct 25 12:01:48 board kernel: md: ... autorun DONE.
Oct 25 12:01:48 board kernel: ACPI: Power Button (FF) [PWRF]
Oct 25 12:01:48 board kernel: EXT3 FS on hdc1, internal journal
Oct 25 12:01:48 board kernel: device-mapper: 4.1.0-ioctl (2003-12-10) initialised: dm@uk.sistina.com
Oct 25 12:01:48 board kernel: SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
Oct 25 12:01:48 board kernel: SELinux: initialized (dev binfmt_misc, type binfmt_misc), uses genfs_contexts
Oct 25 12:01:48 board kernel: ip_tables: (C) 2000-2002 Netfilter core team
Oct 25 12:01:48 board last message repeated 2 times
Oct 25 12:01:48 board kernel: NET: Registered protocol family 10
Oct 25 12:01:49 board kernel: Disabled Privacy Extensions on device c0332e60(lo)
Oct 25 12:01:49 board kernel: IPv6 over IPv4 tunneling driver
Oct 25 12:01:49 board kernel: ACPI: PCI interrupt 0000:03:02.0[A] -> GSI 16 (level, low) -> IRQ 169


thanks for take a look at this thread,Any help on this would be appreciated.
windows_98_nt_2000 zanget is offline     Reply With Quote
Old 10-31-2009, 10:18 AM   #2
aus9
Senior Member
 
Registered: Oct 2003
Location: Australia
Posts: 3,766
Thanked: 43
hi

there are a few things that affect easy mounting of usb sticks but before we begin....

1) Pls post the output of your /etc/fstab

New systems should be using udev rules to create and mount and not use any fstab entry....and I notice you have
"fstab-sync[6191]: added mount point /media/YANHL for /dev/sda1
"

2) What format is the stick pls?

3) leaping ahead..if its fat32...it can be real nasty if you try to put big files on a fat32 system and it does not like being unplugged while still mounted

then there is ntfs...hmmm

4) personally for a 8g stick you might be better off with ext3 and run e2fsck on it every so often.

5) is there any data on it you need?

6) will it mount on a ms system?
linux aus9 is offline     Reply With Quote
Old 10-31-2009, 11:07 AM   #3
zanget
LQ Newbie
 
Registered: Jul 2009
Posts: 12
Thanked: 0

Original Poster
aus9
thank you very much!
for 1), Im very sorry for i'm off office now,I will cp it from our server tommorrow and post it then.


for 5),6),The file system on this usb device is fat32 and i had a lot of usb device for testing on RHEL 4,but just a few devices can be recognised and mounted on RHEL 4. I just get a surprise on this test.
The File System is formated by MS system and be mounted many times on MS system for date transfering,We just use this usb device to import data to the linux server,this device can be mounted on RHEL 4 succesfully even if the messages is full of error by the way.
Later i will send some info on messages about the fail-recognised usb devices,Those devices can just be mounted on Linux,but cannot be used even "ls" the mount path or cp data to.

for 3), Some device is just 512Mb.But it is also crushed on this system.

for 2), All of thos devices is formated by fat32 system.

for 4), how can i disable running e2fsck on it? i dont konw the size of usb device before run e2fsck on it?I even dont konw it is usefull for running e2fsck on it.

thanks a lot again!!
windows_98_nt_2000 zanget is offline     Reply With Quote
Old 10-31-2009, 08:40 PM   #4
aus9
Senior Member
 
Registered: Oct 2003
Location: Australia
Posts: 3,766
Thanked: 43
4) assumes that the usb stick is either....mentioned in fstab....OR you manually run fsck on it.

since we do not know the fstab contents....leaping ahead...if stick is not automounted....you only need to worry about fsck if you elect to format to linux format.

b) Is there a reason why you prefer not to ssh into the server? Or is server easy to access.
linux aus9 is offline     Reply With Quote
Old 11-01-2009, 01:05 AM   #5
zanget
LQ Newbie
 
Registered: Jul 2009
Posts: 12
Thanked: 0

Original Poster
fstab:
Code:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/                 /                       ext3    defaults        1 1
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /dev/shm                tmpfs   defaults        0 0
none                    /proc                   proc    defaults        0 0
none                    /sys                    sysfs   defaults        0 0
LABEL=SWAP-hdd2         swap                    swap    defaults        0 0
/dev/hdb2               swap                    swap    defaults        0 0
/dev/sda1               /media/YANHL            vfat    pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0
it's seem to come from the fstab of e2fsck on fstab..

b) It's better for someone,the operator, who is not konw much about the remote-ssh-connection.
windows_98_nt_2000 zanget is offline     Reply With Quote
Old 11-01-2009, 07:33 AM   #6
aus9
Senior Member
 
Registered: Oct 2003
Location: Australia
Posts: 3,766
Thanked: 43
/dev/sda1 /media/YANHL vfat pamconsole,fscontext=system_ubject_r:removable_t,exec,noauto,managed 0 0

The 0 0 means it ain't checked so no blaming fsck.

but wholly molly what distro dreamt up that fstab?

can I suggest you remove the entire line, using root powers...you have a record here so no need to back up.

2) then your normal udev rules should allow dev to be created and for you to click on it in the file manager to mount or a dialog box appear or you can mount it manually with

mount /dev/sda1 /media/YANHL
linux aus9 is offline     Reply With Quote
Old 11-02-2009, 06:01 AM   #7
zanget
LQ Newbie
 
Registered: Jul 2009
Posts: 12
Thanked: 0

Original Poster
I get a fail-recognised usb devices:

1.clear the /var/log/message
2.inset the usb device
3.check the device:
Code:
fdisk -l
Code:
/dev/hdc1 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
none on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

Disk /dev/hdc: 4110 MB, 4110188544 bytes
16 heads, 63 sectors/track, 7964 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdc1   *           1        6710     3381651   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/hdc2            6713        7812      554242+  82  Linux swap
Partition 2 does not end on cylinder boundary.

Disk /dev/sda: 2002 MB, 2002780160 bytes
126 heads, 10 sectors/track, 3104 cylinders
Units = cylinders of 1260 * 512 = 645120 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *         148        3105     1862784    e  W95 FAT16 (LBA)
4.'mount' return OK:
Code:
mount /dev/sda1 /mnt/usb/
5.'ls' command blocked:
Code:
ls /mnt/usb
6.print the messages:
Code:
Nov  2 17:27:43 board kernel: usb 1-6: new high speed USB device using address 2
Nov  2 17:27:45 board kernel: SCSI subsystem initialized
Nov  2 17:27:45 board kernel: Initializing USB Mass Storage driver...
Nov  2 17:27:45 board kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Nov  2 17:27:45 board kernel:   Vendor: USB 2.0   Model: SD/MMC Reader     Rev:     
Nov  2 17:27:45 board kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
Nov  2 17:27:45 board kernel: usbcore: registered new driver usb-storage
Nov  2 17:27:45 board kernel: USB Mass Storage support registered.
Nov  2 17:27:45 board scsi.agent[17711]: disk at /devices/pci0000:00/0000:00:1d.7/usb1/1-6/1-6:1.0/host0/target0:0:0/0:0:0:0
Nov  2 17:27:45 board kernel: SCSI device sda: 3911680 512-byte hdwr sectors (2003 MB)
Nov  2 17:27:45 board kernel: sda: Write Protect is off
Nov  2 17:27:45 board kernel: sda: assuming drive cache: write through
Nov  2 17:27:45 board kernel:  sda: sda1
Nov  2 17:27:45 board kernel: Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Nov  2 17:27:45 board fstab-sync[17750]: added mount point /media/usbdisk for /dev/sda1
Nov  2 17:29:18 board kernel: SELinux: initialized (dev sda1, type vfat), uses genfs_contexts
Nov  2 17:29:49 board kernel: Unable to handle kernel paging request at virtual address 5b7a7a60
Nov  2 17:29:49 board kernel:  printing eip:
Nov  2 17:29:49 board kernel: c0196464
Nov  2 17:29:49 board kernel: *pde = 00000000
Nov  2 17:29:49 board kernel: Oops: 0000 [#1]
Nov  2 17:29:49 board kernel: SMP 
Nov  2 17:29:49 board kernel: Modules linked in: vfat fat sd_mod usb_storage scsi_mod Sjl19Driver(U) md5 ipv6 dm_mod button battery ac uhci_hcd ehci_hcd r8168(U) ext3 jbd
Nov  2 17:29:49 board kernel: CPU:    0
Nov  2 17:29:49 board kernel: EIP:    0060:[<c0196464>]    Not tainted VLI
Nov  2 17:29:49 board kernel: EFLAGS: 00010206   (2.6.9-5.ELsmp) 
Nov  2 17:29:49 board kernel: EIP is at uni2char+0x28/0x41
Nov  2 17:29:49 board kernel: eax: 000000e8   ebx: e0225ce8   ecx: 5b7a7978   edx: 00000096
Nov  2 17:29:49 board kernel: esi: e0225ca2   edi: e7af7006   ebp: c0322d60   esp: e0225c0c
Nov  2 17:29:49 board kernel: ds: 007b   es: 007b   ss: 0068
Nov  2 17:29:49 board kernel: Process ls (pid: 17766, threadinfo=e0225000 task=f5c88970)
Nov  2 17:29:49 board kernel: Stack: e0225ca2 000096e8 f8936abd e0225ca0 00000000 0000000c e0225dc8 c0322d60 
Nov  2 17:29:49 board kernel:        e0225dc6 f893720d c0322d60 00470010 00000000 0000000c 0000000c 00000003 
Nov  2 17:29:49 board kernel:        00000101 00000000 00000000 e7af7000 02913025 c03228c0 c0322d60 00000001 
Nov  2 17:29:49 board kernel: Call Trace:
Nov  2 17:29:49 board kernel:  [<f8936abd>] uni16_to_x8+0x2d/0x83 [fat]
Nov  2 17:29:49 board kernel:  [<f893720d>] fat_search_long+0x6fa/0x7e0 [fat]
Nov  2 17:29:49 board kernel:  [<c019e6ed>] avc_has_perm_noaudit+0x8d/0xda
Nov  2 17:29:49 board last message repeated 2 times
Nov  2 17:29:49 board kernel:  [<c019e775>] avc_has_perm+0x3b/0x45
Nov  2 17:29:49 board kernel:  [<c019e6ed>] avc_has_perm_noaudit+0x8d/0xda
Nov  2 17:29:49 board kernel:  [<f8911fc0>] vfat_find+0x52/0xe3 [vfat]
Nov  2 17:29:49 board kernel:  [<f89120ca>] vfat_lookup+0x79/0x1ae [vfat]
Nov  2 17:29:49 board kernel:  [<c0169b4e>] d_alloc+0x197/0x1a1
Nov  2 17:29:49 board kernel:  [<c01608b0>] real_lookup+0x6e/0xd2
Nov  2 17:29:49 board kernel:  [<c0160acd>] do_lookup+0x56/0x8f
Nov  2 17:29:49 board kernel:  [<c0161302>] link_path_walk+0x7fc/0xba9
Nov  2 17:29:49 board kernel:  [<c01619c2>] path_lookup+0x144/0x174
Nov  2 17:29:49 board kernel:  [<c0161b06>] __user_walk+0x21/0x51
Nov  2 17:29:49 board kernel:  [<c015d0ad>] vfs_stat+0x14/0x3a
Nov  2 17:29:49 board kernel:  [<c0170da1>] simple_read_from_buffer+0xa6/0xcf
Nov  2 17:29:49 board kernel:  [<c015d6b6>] sys_stat64+0xf/0x23
Nov  2 17:29:49 board kernel:  [<c0164d71>] file_ioctl+0x19d/0x1af
Nov  2 17:29:49 board kernel:  [<c0164fe0>] sys_ioctl+0x25d/0x269
Nov  2 17:29:49 board kernel:  [<c01196a3>] do_page_fault+0x0/0x5b6
Nov  2 17:29:49 board kernel:  [<c02c6d7f>] error_code+0x2f/0x38
Nov  2 17:29:49 board kernel:  [<c02c62a3>] syscall_call+0x7/0xb
Nov  2 17:29:49 board kernel: Code: c3 90 90 56 0f b7 c0 89 d6 53 89 c2 c1 ea 08 85 c9 88 c3 b8 dc ff ff ff 7e 27 0f b6 c2 8b 0c 85 60 2a 32 c0 85 c9 74 0b 0f b6 c3 <0f> b6 04 01 84 c0 75 07 b8 ea ff ff ff eb 07 88 06 b8 01 00 00
This device is also fat32,formated on MS filesystem.

i have no idea about this, at that time it just come up with that this may need a patch for the kernel.

thanks alot for this thread,aus9

Last edited by zanget; 11-02-2009 at 06:09 AM..
windows_98_nt_2000 zanget is offline     Reply With Quote
Old 11-02-2009, 06:24 AM   #8
zanget
LQ Newbie
 
Registered: Jul 2009
Posts: 12
Thanked: 0

Original Poster
if I just used for mount manually,but used as auto-mount,is this
Code:
2) then your normal udev rules should allow dev to be created
also needed on my system?
windows_98_nt_2000 zanget is offline     Reply With Quote
Old 11-02-2009, 07:46 PM   #9
aus9
Senior Member
 
Registered: Oct 2003
Location: Australia
Posts: 3,766
Thanked: 43
ok there are 3 issues

Your "/dev/sda1 * 148 3105 1862784 e w95 FAT16 (LBA)"

shows fstab was wrong....I assumed vfat....which is fat32 but your stick is wrong format for that....Did you change it? I had a kingston and it was fat32 before I re-formatted it.

redo fstab first

Use root powers to create a dir=/mnt/kingston or change to the orginal folder in your fstab

/dev/sda1 /mnt/kingston msdos users,rw 0 0

reboot and try out stick

2)
fat16 is dinosaur land...it will give you trouble. File size is even worse than fat32...... I urge you if you need ms..to re-format as fat32 minimum or ntfs

run gparted to reformat assuming you have no data to recover.


2) lets try and mount it manually? then redo a simpler fstab?

vfat (=fat32)
msdos (=fat16) change if necessary

Code:
sux
mkdir /mnt/kingston (only needed once)
mount -t vfat /dev/sda1 /mnt/kingston
(check file manager and do stuff)
umount /mnt/kingston
if that works use similar command without the mkdir command as it already exists.

only if it works....fstab changes to

/dev/sda1 /mnt/kingston vfat users,rw 0 0

Last edited by aus9; 11-02-2009 at 07:48 PM..
linux aus9 is offline     Reply With Quote
Old 11-03-2009, 04:19 AM   #10
zanget
LQ Newbie
 
Registered: Jul 2009
Posts: 12
Thanked: 0

Original Poster
1> im sorry for the used device is format by someone else i even dont check it before this test!sorry man.
Let us be restricted to Fat32.
2> i delete the last lane in fstab as you suggest before this test:
Code:
/dev/sda1               /media/YANHL            vfat    pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0

Last edited by zanget; 11-03-2009 at 06:15 AM..
windows_98_nt_2000 zanget is offline     Reply With Quote
Old 11-03-2009, 06:07 AM   #11
zanget
LQ Newbie
 
Registered: Jul 2009
Posts: 12
Thanked: 0

Original Poster
back to
Kingston DataTraveler USB device,this time we cant cp file to the usb device:
after inster :
Code:
Nov  3 17:35:37 board kernel: usb 1-6: new high speed USB device using address 5
Nov  3 17:35:39 board kernel: scsi2 : SCSI emulation for USB Mass Storage devices
Nov  3 17:35:39 board kernel:   Vendor: Kingston  Model: DataTraveler G2   Rev: 1.00
Nov  3 17:35:39 board kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
Nov  3 17:35:39 board kernel: SCSI device sda: 15654848 512-byte hdwr sectors (8015 MB)
Nov  3 17:35:39 board kernel: sda: Write Protect is off
Nov  3 17:35:39 board kernel: sda: assuming drive cache: write through
Nov  3 17:35:39 board kernel:  sda: sda1
Nov  3 17:35:39 board kernel: Attached scsi removable disk sda at scsi2, channel 0, id 0, lun 0
Nov  3 17:35:39 board scsi.agent[3324]: disk at /devices/pci0000:00/0000:00:1d.7/usb1/1-6/1-6:1.0/host2/target2:0:0/2:0:0:0
Nov  3 17:35:40 board kernel: Buffer I/O error on device sda1, logical block 1957888
Nov  3 17:35:40 board fstab-sync[3392]: added mount point /media/YANHL for /dev/sda1
Nov  3 17:35:40 board kernel: Buffer I/O error on device sda1, logical block 1957889
Nov  3 17:35:41 board kernel: Buffer I/O error on device sda1, logical block 1957890
Nov  3 17:35:41 board kernel: Buffer I/O error on device sda1, logical block 1957891
Nov  3 17:35:41 board kernel: Buffer I/O error on device sda1, logical block 1957892
Nov  3 17:35:41 board kernel: Buffer I/O error on device sda1, logical block 1957893
Nov  3 17:35:41 board kernel: Buffer I/O error on device sda1, logical block 1957894
Nov  3 17:35:41 board kernel: Buffer I/O error on device sda1, logical block 1957895
Nov  3 17:35:41 board kernel: Buffer I/O error on device sda1, logical block 1957896
Nov  3 17:35:41 board kernel: Buffer I/O error on device sda1, logical block 1957897
Nov  3 17:35:41 board kernel: Buffer I/O error on device sda1, logical block 1957898
Nov  3 17:35:41 board kernel: Buffer I/O error on device sda1, logical block 1957899
Nov  3 17:35:41 board kernel: Buffer I/O error on device sda1, logical block 1957900
Nov  3 17:35:41 board kernel: Buffer I/O error on device sda1, logical block 1957901
Nov  3 17:35:41 board kernel: Buffer I/O error on device sda1, logical block 1957902
Nov  3 17:35:41 board kernel: Buffer I/O error on device sda1, logical block 1957903
Nov  3 17:35:41 board kernel: Buffer I/O error on device sda1, logical block 1957888
command to check the device:
Code:
fdisk -l
Code:
Disk /dev/hdc: 4034 MB, 4034838528 bytes
255 heads, 63 sectors/track, 490 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdc1   *           1         421     3381651   83  Linux
/dev/hdc2             422         490      554242+  82  Linux swap

Disk /dev/sda: 8015 MB, 8015282176 bytes
255 heads, 63 sectors/track, 974 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         975     7831656    b  W95 FAT32
mount command success:
Code:
mount /dev/sda1 /mnt/usb
messages:
Code:
Nov  3 17:36:35 board kernel: SELinux: initialized (dev sda1, type vfat), uses genfs_contexts
Code:
ls /mnt/usb
messages:
Code:
Nov  3 17:37:04 board kernel: Unable to handle kernel paging request at virtual address 0b0a09f9
Nov  3 17:37:04 board kernel:  printing eip:
Nov  3 17:37:04 board kernel: c0196464
Nov  3 17:37:04 board kernel: *pde = 36d42001
Nov  3 17:37:04 board kernel: Oops: 0000 [#2]
Nov  3 17:37:04 board kernel: SMP 
Nov  3 17:37:04 board kernel: Modules linked in: vfat fat sd_mod usb_storage scsi_mod Sjl19Driver(U) md5 ipv6 dm_mod button battery ac uhci_hcd ehci_hcd r8168(U) ext3 jbd
Nov  3 17:37:04 board kernel: CPU:    0
Nov  3 17:37:04 board kernel: EIP:    0060:[<c0196464>]    Not tainted VLI
Nov  3 17:37:04 board kernel: EFLAGS: 00010202   (2.6.9-5.ELsmp) 
Nov  3 17:37:04 board kernel: EIP is at uni2char+0x28/0x41
Nov  3 17:37:04 board kernel: eax: 000000f1   ebx: f5d28df1   ecx: 0b0a0908   edx: 00000082
Nov  3 17:37:04 board kernel: esi: f5d28dd8   edi: f5d93002   ebp: c0322d60   esp: f5d28d18
Nov  3 17:37:05 board kernel: ds: 007b   es: 007b   ss: 0068
Nov  3 17:37:05 board kernel: Process ls (pid: 3412, threadinfo=f5d28000 task=f5dae230)
Nov  3 17:37:05 board kernel: Stack: f5d28dd8 000082f1 f89bbabd f5d28dd8 00000000 f5d28f00 f5d0e402 f5d28f52 
Nov  3 17:37:05 board kernel:        00000006 f89bce2b c0322d60 f5d28f50 f5d28f54 00957ee8 00000000 00000000 
Nov  3 17:37:05 board kernel:        00000006 00000006 0000000a 00000003 00000583 00000101 00000000 00000000 
Nov  3 17:37:05 board kernel: Call Trace:
Nov  3 17:37:05 board kernel:  [<f89bbabd>] uni16_to_x8+0x2d/0x83 [fat]
Nov  3 17:37:05 board kernel:  [<f89bce2b>] fat_readdirx+0xb38/0xc4e [fat]
Nov  3 17:37:05 board kernel:  [<c013ef0c>] buffered_rmqueue+0x17d/0x1a5
Nov  3 17:37:05 board kernel:  [<c019e6ed>] avc_has_perm_noaudit+0x8d/0xda
Nov  3 17:37:05 board kernel:  [<c019e775>] avc_has_perm+0x3b/0x45
Nov  3 17:37:05 board kernel:  [<c019f850>] inode_has_perm+0x4c/0x54
Nov  3 17:37:05 board kernel:  [<c0119851>] do_page_fault+0x1ae/0x5b6
Nov  3 17:37:05 board kernel:  [<c01a14d0>] selinux_file_permission+0x117/0x120
Nov  3 17:37:05 board kernel:  [<c016532c>] filldir64+0x0/0x11a
Nov  3 17:37:05 board kernel:  [<f89bcf58>] fat_readdir+0x17/0x1c [fat]
Nov  3 17:37:05 board kernel:  [<c016532c>] filldir64+0x0/0x11a
Nov  3 17:37:05 board kernel:  [<c0165069>] vfs_readdir+0x7d/0xa5
Nov  3 17:37:05 board kernel:  [<c01654ab>] sys_getdents64+0x65/0x9f
Nov  3 17:37:05 board kernel:  [<c02c62a3>] syscall_call+0x7/0xb
Nov  3 17:37:05 board kernel: Code: c3 90 90 56 0f b7 c0 89 d6 53 89 c2 c1 ea 08 85 c9 88 c3 b8 dc ff ff ff 7e 27 0f b6 c2 8b 0c 85 60 2a 32 c0 85 c9 74 0b 0f b6 c3 <0f> b6 04 01 84 c0 75 07 b8 ea ff ff ff eb 07 88 06 b8 01 00 00
what make me confused is the reason on this oops.
thans a lot

Last edited by zanget; 11-03-2009 at 06:09 AM..
windows_98_nt_2000 zanget is offline     Reply With Quote
Old 11-03-2009, 08:56 PM   #12
aus9
Senior Member
 
Registered: Oct 2003
Location: Australia
Posts: 3,766
Thanked: 43
ok if someone had formatted it to fat16 ..no worries

1) you claim you deleted fstab line and in next post you have this line
Nov 3 17:35:40 board fstab-sync[3392]: added mount point /media/YANHL for /dev/sda1

2) I am now thinking there is an issue with selinux. But I don't use it so can offer no advice....sorry.

I am not asking you to disable it.....but can offer no advice on how to tweak it.

You may need to search your dox on selinux?

If no joy consider posting a new question for selinux and usb fat32 please

3) but as you have just recently formatted this stick....consider formatting it as a ext3 and seeing if you can at least get the thing to work?

Last edited by aus9; 11-03-2009 at 08:57 PM..
linux aus9 is offline     Reply With Quote
Old 11-04-2009, 08:32 AM   #13
zanget
LQ Newbie
 
Registered: Jul 2009
Posts: 12
Thanked: 0

Original Poster
So can i say that i get the solutions(or at least the reason) on the two issues so far:

for 1) I'm very sorry that i just delete it after the system startup!!
So can we just take the last line on fstab for the reason that why the first err-code(after inster) comes from?All outputs is coming from the sync?

for 2)that is ok; at least you given me a direction about the issue whatever the reason is.
I will come to read the doc, check what the selinux doing, disable it then have a test on this OOPS since i had post a lot of trouble to the others on this web.

If you are interest on this, i will post it after that test,but, forgive me, it will take some days for the reaston that the server is not easy to get a contal.

for 3)I will check this but it's not the best solution for the Windows-men who use the soft on win to analyze the file come form linux server.

Sorry for the bad (chinese-)english by the way.

Thanks a lot in advance.
windows_98_nt_2000 zanget is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
USB drive not working properly, read only device? (USB key storage device) Arodef Linux - Hardware 10 05-05-2008 01:10 PM
LXer: Crushed by the Wheels of Industry LXer Syndicated Linux News 0 05-15-2007 05:31 AM
How to force kernel to use a USB 2.0-compatible device (ehci_hcd) as a USB 1.1 device eze Linux - Hardware 0 05-16-2006 06:24 AM
No regular user access USB device from RHEL 4.0 WS dita Red Hat 2 12-18-2005 03:59 AM
Harddisk crushed dirstyGuy Slackware 9 01-26-2004 11:55 AM


All times are GMT -5. The time now is 03:16 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration