niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » BSD » FreeBSD
ASUS A7N8X-X crashes w/512 MB LEXAR USB drv
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
Author Message
Brad
*nix forums beginner


Joined: 02 Feb 2005
Posts: 1

PostPosted: Wed Feb 02, 2005 7:26 am    Post subject: ASUS A7N8X-X crashes w/512 MB LEXAR USB drv Reply with quote

Hi-
I just bought a 512 MB USB Lexar JumpDrive. When I plug it into
my box running FreeBSD 4.10-RELEASE and try to mount it, I get
the following:

Feb 1 16:09:36 su: eats to root on /dev/ttyp0
# umass0: LEXAR MEDIA JUMPDRIVE ELITE, rev 2.00/30.00, addr 2
mount /ext
msdos: /dev/da0s1: Device not configured

When I unplug the thumb drive I get this:

# umass0: at uhub0 port 2 (addr 2) disconnected
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
(da0:umass-sim0:0:0:0): got CAM status 0x39
(da0:umass-sim0:0:0:0): fatal error, failed to attach to device
(da0:umass-sim0:0:0:0): lost device
(da0:umass-sim0:0:0:0): removing device entry
umass0: detached

Then everything seems normal for a minute and ten seconds
at which point the box freezes. Twenty seconds into the
freeze the machine reboots.

My NexDisk 128 MB USB thumb drive and my USB hdd continue to work
fine on the same fstab entry. (SEE below)

I resolved one USB issue with this mobo a week or so with the help
of this mailing list by removing **ehci** from my kernel.

I Googled around for a similar problem with an ASUS A7N8X-X board
but was unable to shake anything out.

Does anyone have any ideas about how I might get this Lexar thumb
drive running?

Hardware details, fstab entry, uname -a and dmesg output and
kernel config below.

TIA,
Brad


System hardware:
Mobo: ASUS A7N8X-X Added 10.22.2004
CPU: AMD Athlon 2600+ Barton Added 10.22.2004
Memory: CRUCIAL 1GB PC2700 X 1 Added 10.22.2004
PSU: PCP&C Silencer 400 Added 02.05.2004
HDDs: WD 120 GB SE older
WD 40 GB older
USB HDD: WD 80 GB SE in unk
usb2/1/firewire box older
CDRW: SONY CRX230ED Added 01.12.2005

fstab entry for thumb drives and external hdd:
/dev/da0s1 /ext msdos rw,-m=770,-u=1000,-g=1000,noauto 0 0

uname -a output:
FreeBSD 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Thu Jan 27 20:11:34 CST 2005
eats@:/usr/obj/usr/src/sys/KALI_3 i386

dmesg output:
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.10-RELEASE #0: Thu Jan 27 20:11:34 CST 2005
eats@:/usr/obj/usr/src/sys/KALI_3
Timecounter "i8254" frequency 1193182 Hz
CPU: AMD Athlon(tm) XP 2600+ (1913.19-MHz 686-class CPU)
Origin = "AuthenticAMD" Id = 0x6a0 Stepping = 0

Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory = 1073676288 (1048512K bytes)
config> di bt0
config> di ata1
config> di aic0
config> di aha0
config> di adv0
config> q
avail memory = 1040105472 (1015728K bytes)
Preloaded elf kernel "kernel" at 0xc04da000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc04da09c.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 11 entries at 0xc00fdeb0
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pci0: <unknown card> (vendor=0x10de, dev=0x01eb) at 0.1
pci0: <unknown card> (vendor=0x10de, dev=0x01ee) at 0.2
pci0: <unknown card> (vendor=0x10de, dev=0x01ed) at 0.3
pci0: <unknown card> (vendor=0x10de, dev=0x01ec) at 0.4
pci0: <unknown card> (vendor=0x10de, dev=0x01ef) at 0.5
isab0: <PCI to ISA bridge (vendor=10de device=0060)> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <unknown card> (vendor=0x10de, dev=0x0064) at 1.1 irq 11
ohci0: <OHCI (generic) USB controller> mem 0xe7005000-0xe7005fff irq 5 at
device 2.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: (0x10de) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: <OHCI (generic) USB controller> mem 0xe7000000-0xe7000fff irq 11 at
device 2.1 on pci0
usb1: OHCI version 1.0, legacy support
usb1: <OHCI (generic) USB controller> on ohci1
usb1: USB revision 1.0
uhub1: (0x10de) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
pci0: <USB controller> at 2.2 irq 5
pci0: <unknown card> (vendor=0x10de, dev=0x0066) at 4.0 irq 11
pcm0: <Nvidia nForce2> port 0xd800-0xd87f,0xd400-0xd4ff mem
0xe7003000-0xe7003fff irq 11 at device 6.0 on pci0
pcm0: <Avance Logic ALC650 AC97 Codec>
pcib1: <PCI to PCI bridge (vendor=10de device=006c)> at device 8.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <ATI Mach64-GR graphics accelerator> at 7.0 irq 5
atapci0: <nVIDIA nForce2 ATA133 controller> port 0xf000-0xf00f at device 9.0
on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pcib2: <PCI to PCI bridge (vendor=10de device=01e8)> at device 30.0 on pci0
pci2: <PCI bus> on pcib2
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc97ff on isa0
pmtimer0 on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model MouseMan+, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ad0: 114440MB <WDC WD1200JB-75CRA0> [232514/16/63] at ata0-master UDMA100
ad1: 38166MB <WDC WD400AB-00BPA1> [77545/16/63] at ata0-slave UDMA100
acd0: CD-RW <SONY CD-RW CRX230ED> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s2a
WARNING: / was not properly dismounted
cd9660: Joliet Extension (Level 3)
cd9660: RockRidge Extension
tun0: promiscuous mode enabled
tun0: promiscuous mode disabled

Kernel config file:
#
# KALI_3 -- kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.59 2004/04/07 20:29:01
vkashyap Exp $

machine i386
cpu I586_CPU
cpu I686_CPU
ident KALI_1
maxusers 0

#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols

options MATH_EMULATE #Support for x87 emulation
options INET #InterNETworking
options INET6 #IPv6 communications protocols
options FFS #Berkeley Fast Filesystem
options FFS_ROOT #FFS usable as root device [keep this!]
options SOFTUPDATES #Enable FFS soft updates support
options UFS_DIRHASH #Improve performance on big directories
options MFS #Memory Filesystem
options MD_ROOT #MD is a potential root device
options NFS #Network Filesystem
options NFS_ROOT #NFS usable as root device, NFS required
options MSDOSFS #MSDOS Filesystem
options CD9660 #ISO 9660 Filesystem
options CD9660_ROOT #CD-ROM usable as root, CD9660 required
options PROCFS #Process filesystem
options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI
options UCONSOLE #Allow users to grab the console
options USERCONFIG #boot -c editor
options VISUAL_USERCONFIG #visual boot -c editor
options KTRACE #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options P1003_1B #Posix P1003_1B real-time extensions
options _KPOSIX_PRIORITY_SCHEDULING
options ICMP_BANDLIM #Rate limit bad replies
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT # Print register bitfields in debug
# output. Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT # Print register bitfields in debug
# output. Adds ~215k to driver.

options SC_DISABLE_REBOOT # disable reboot key sequence

#
# Allow applications running in user space to control the Local Descriptor
# Table (LDT). This is required by some ports. Future versions of FreeBSD
# may require this option for some programs in the base system.
#
options USER_LDT #allow user-level control of i386 ldt

# To make an SMP kernel, the next two are needed
#options SMP # Symmetric MultiProcessor Kernel
#options APIC_IO # Symmetric (APIC) I/O

device isa
device eisa
device pci

device pcm

# Floppy drives
device fdc0 at isa? port IO_FD1 irq 6 drq 2
device fd0 at fdc0 drive 0

#
# If you have a Toshiba Libretto with its Y-E Data PCMCIA floppy,
# don't use the above line for fdc0 but the following one:
#device fdc0

# ATA and ATAPI devices
device ata0 at isa? port IO_WD1 irq 14
device ata1 at isa? port IO_WD2 irq 15
device ata
device atadisk # ATA disk drives
device atapicd # ATAPI CDROM drives
device atapifd # ATAPI floppy drives
device atapist # ATAPI tape drives
options ATA_STATIC_ID #Static device numbering

# SCSI Controllers
device ahb # EISA AHA1742 family
device ahc # AHA2940 and onboard AIC7xxx devices
device ahd # AHA39320/29320 and onboard AIC79xx devices
device amd # AMD 53C974 (Tekram DC-390(T))
device isp # Qlogic family
device mpt # LSI-Logic MPT/Fusion
device ncr # NCR/Symbios Logic
device sym # NCR/Symbios Logic (newer chipsets)
options SYM_SETUP_LP_PROBE_MAP=0x40
# Allow ncr to attach legacy NCR devices when
# both sym and ncr are configured

device adv0 at isa?
device adw
device bt0 at isa?
device aha0 at isa?
device aic0 at isa?

device ncv # NCR 53C500
device nsp # Workbit Ninja SCSI-3
device stg # TMC 18C30/18C50

# SCSI peripherals
device scbus # SCSI bus (required)
device da # Direct Access (disks)
device sa # Sequential Access (tape etc)
device cd # CD
device pass # Passthrough device (direct SCSI access)

# RAID controllers interfaced to the SCSI subsystem


# RAID controllers


# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc0 at isa? port IO_KBD
device atkbd0 at atkbdc? irq 1 flags 0x1
device psm0 at atkbdc? irq 12

device vga0 at isa?

# splash screen/screen saver
pseudo-device splash

# syscons is the default console driver, resembling an SCO console
device sc0 at isa? flags 0x100

# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device vt0 at isa?
#options XSERVER # support for X server on a vt console
#options FAT_CURSOR # start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
#options PCVT_SCANSET=2 # IBM keyboards are non-std

device agp # support several AGP chipsets

# Floating point support - do not disable.
device npx0 at nexus? port IO_NPX irq 13

# Power management support (see LINT for more options)
device apm0 at nexus? disable flags 0x20 # Advanced Power Management

# PCCARD (PCMCIA) support
device card
device pcic0 at isa? irq 0 port 0x3e0 iomem 0xd0000
device pcic1 at isa? irq 0 port 0x3e2 iomem 0xd4000 disable

# Serial (COM) ports
device sio0 at isa? port IO_COM1 flags 0x10 irq 4
device sio1 at isa? port IO_COM2 irq 3


# Parallel port
device ppc0 at isa? irq 7
device ppbus # Parallel port bus (required)
device lpt # Printer
device plip # TCP/IP over parallel
device ppi # Parallel port interface device
#device vpo # Requires scbus and da


# PCI Ethernet NICs.
device de # DEC/Intel DC21x4x (``Tulip'')
device em # Intel PRO/1000 adapter Gigabit Ethernet Card (``Wiseman'')
device txp # 3Com 3cR990 (``Typhoon'')
device vx # 3Com 3c590, 3c595 (``Vortex'')

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device miibus # MII bus support


# ISA Ethernet NICs.
# 'device ed' requires 'device miibus'

# Xircom Ethernet

# PRISM I IEEE 802.11b wireless NIC.

# WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
# exists only as a PCMCIA device, so there is no ISA attachment needed
# and resources will always be dynamically assigned by the pccard code.

# Aironet 4500/4800 802.11 wireless NICs. Note: the declaration below will
# work for PCMCIA and PCI cards, as well as ISA cards set to ISA PnP
# mode (the factory default). If you set the switches on your ISA
# card for a manually chosen I/O address and IRQ, you must specify
# those parameters here.

# The probe order of these is presently determined by i386/isa/isa_compat.c.
device ie0 at isa? disable port 0x300 irq 10 iomem 0xd0000
#device le0 at isa? disable port 0x300 irq 5 iomem 0xd0000
device lnc0 at isa? disable port 0x280 irq 10 drq 0
device cs0 at isa? disable port 0x300
device sn0 at isa? disable port 0x300 irq 10

# Pseudo devices - the number indicates how many units to allocate.
pseudo-device loop # Network loopback
pseudo-device ether # Ethernet support
pseudo-device sl 1 # Kernel SLIP
pseudo-device ppp 1 # Kernel PPP
pseudo-device tun # Packet tunnel.
pseudo-device pty # Pseudo-ttys (telnet etc)
pseudo-device md # Memory "disks"
pseudo-device gif # IPv6 and IPv4 tunneling
pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation)

# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device bpf #Berkeley packet filter

# USB support
device uhci # UHCI PCI->USB interface
device ohci # OHCI PCI->USB interface
device usb # USB Bus (required)
device ugen # Generic
device uhid # "Human Interface Devices"
device ukbd # Keyboard
device ulpt # Printer
device umass # Disks/Mass storage - Requires scbus and da
device ums # Mouse
device uscanner # Scanners
device urio # Diamond Rio MP3 Player
# USB Ethernet, requires mii


# FireWire support
Back to top
Tim Hammerquist
*nix forums Guru Wannabe


Joined: 25 Mar 2005
Posts: 159

PostPosted: Wed Feb 02, 2005 7:26 am    Post subject: Re: ASUS A7N8X-X crashes w/512 MB LEXAR USB drv Reply with quote

Brad <brad2-no-spam@legion59.nospymail.com.invalid> wrote:
Quote:
I just bought a 512 MB USB Lexar JumpDrive. When I plug it into my box
running FreeBSD 4.10-RELEASE and try to mount it, I get the following:
[ snip ]
Does anyone have any ideas about how I might get this Lexar thumb
drive running?

Hardware details, fstab entry, uname -a and dmesg output and
kernel config below.

System hardware:
Mobo: ASUS A7N8X-X Added 10.22.2004
CPU: AMD Athlon 2600+ Barton Added 10.22.2004
Memory: CRUCIAL 1GB PC2700 X 1 Added 10.22.2004
PSU: PCP&C Silencer 400 Added 02.05.2004
HDDs: WD 120 GB SE older
WD 40 GB older
USB HDD: WD 80 GB SE in unk
usb2/1/firewire box older
CDRW: SONY CRX230ED Added 01.12.2005

My system is eerily similar: A7N8X-X, AXP 2600+, WD HDDs, and even
a 256MB Lexar JumpDrive. I even ran 4.10 on it for a bit until
I upgraded to 5.3. However, I haven't witnessed this crash with the
jumpdrive with default kernels (or any custom kernels).[*]

The only problem I've had with USB drives, in fact, is my 200GB external
usb drive, and that's only because of the FAT32/120GB+partition
limitation that (AFAIK) still exists with FreeBSD.

I haven't been able to test this with a 512MB jumpdrive, though.

HTH,
Tim Hammerquist

[*] The only crash I've experienced with 5.3, in fact, I think I've
traced back to the kernel's initialization of PCI/IDE devices,
generally the fd0 dev, with acpi enabled. But that's another issue.
Back to top
User1001
*nix forums beginner


Joined: 07 Mar 2005
Posts: 4

PostPosted: Wed Feb 02, 2005 9:33 am    Post subject: Re: ASUS A7N8X-X crashes w/512 MB LEXAR USB drv Reply with quote

I don't have any recommendations on how to FIX the USB Lexar problem under
FBSD-4.10. I myself tried one and had no luck - even with FBSD-4.11RC2.
Under FBSD-5.3, however, there is no problem so I suspect a needed change
in the 4.x USB drivers that isn't there yet.


On Wed, 02 Feb 2005 02:26:50 -0500, Brad wrote:

Quote:
Hi-
I just bought a 512 MB USB Lexar JumpDrive. When I plug it into
my box running FreeBSD 4.10-RELEASE and try to mount it, I get
the following:

Feb 1 16:09:36 su: eats to root on /dev/ttyp0
# umass0: LEXAR MEDIA JUMPDRIVE ELITE, rev 2.00/30.00, addr 2
mount /ext
msdos: /dev/da0s1: Device not configured

When I unplug the thumb drive I get this:

# umass0: at uhub0 port 2 (addr 2) disconnected
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
(da0:umass-sim0:0:0:0): got CAM status 0x39
(da0:umass-sim0:0:0:0): fatal error, failed to attach to device
(da0:umass-sim0:0:0:0): lost device
(da0:umass-sim0:0:0:0): removing device entry
umass0: detached

Then everything seems normal for a minute and ten seconds
at which point the box freezes. Twenty seconds into the
freeze the machine reboots.

My NexDisk 128 MB USB thumb drive and my USB hdd continue to work
fine on the same fstab entry. (SEE below)

I resolved one USB issue with this mobo a week or so with the help
of this mailing list by removing **ehci** from my kernel.

I Googled around for a similar problem with an ASUS A7N8X-X board
but was unable to shake anything out.

Does anyone have any ideas about how I might get this Lexar thumb
drive running?

Hardware details, fstab entry, uname -a and dmesg output and
kernel config below.
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
The time now is Fri Jan 09, 2009 10:57 am | All times are GMT
navigation Forum index » *nix » BSD » FreeBSD
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts crashes my system like clockwork walterbyrd@iname.com PHP 10 Thu Jul 20, 2006 6:49 pm
No new posts ASUS P5LD2-VM integrated ethernet card lanka Slackware 1 Mon Jul 17, 2006 7:08 pm
No new posts WindowList, ShowDesktopButton & WorkspaceSwitcher crashes... DC A Debian 0 Fri Jul 14, 2006 9:20 pm
No new posts WindowList, WorkspaceSwitcher & ShowDesktopButton crashes... DC A Debian 3 Fri Jul 14, 2006 9:10 pm
No new posts Installed PHP now IIS crashes on restart ~john PHP 1 Tue Jul 11, 2006 9:38 pm

Guitar Lessons | Proxy | Online Loans | Web Advertising | McDonalds
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2442s ][ Queries: 16 (0.1245s) ][ GZIP on - Debug on ]