Date: Tue, 26 Jun 2012 22:25:36 +0300 From: Alexander Yerenkow <yerenkow@gmail.com> To: FreeBSD Stable Mailing List <freebsd-stable@freebsd.org> Subject: Strange reboot Message-ID: <CAPJF9wn4TP38KqsJpQnXQW887YONMm856HEodn=eiDA8=D-3FA@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hello guys. I have a freebsd installation for routing/and other general purposes (file share/web etc). which is freebsd-updated to 9-stable I have there such cardreader: # usbconfig -u 4 -a 2 ugen4.2: <USB Storage vendor 0x05e3> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON # usbconfig -u 4 -a 2 dump_device_desc ugen4.2: <USB Storage vendor 0x05e3> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x05e3 idProduct = 0x070e bcdDevice = 0x9602 iManufacturer = 0x0000 <no string> iProduct = 0x0001 <USB Storage> iSerialNumber = 0x0002 <000000009602> bNumConfigurations = 0x0001 # usbconfig -u 4 -a 2 dump_curr_config_desc ugen4.2: <USB Storage vendor 0x05e3> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0020 bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0000 <no string> bmAttributes = 0x0080 bMaxPower = 0x00fa Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0002 bInterfaceClass = 0x0008 bInterfaceSubClass = 0x0006 bInterfaceProtocol = 0x0050 iInterface = 0x0000 <no string> Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 <IN> bmAttributes = 0x0002 <BULK> wMaxPacketSize = 0x0200 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0002 <OUT> bmAttributes = 0x0002 <BULK> wMaxPacketSize = 0x0200 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 It have pretty strange behavior (like "stuck" gpart show entries, when pluggin new device, which is fixed by reset though), but it kinda working. And I have repeatable panic (probably) or reset, with such last messages in dmesg: da2 at umass-sim0 bus 0 scbus7 target 0 lun 2 da2: <Generic STORAGE DEVICE 9602> Removable Direct Access SCSI-0 device da2: 40.000MB/s transfers da2: 3781MB (7744512 512 byte sectors: 255H 63S/T 482C) ... g_vfs_done():da2s1[WRITE(offset=3227648, length=4096)]error = 5 g_vfs_done():da2s1[WRITE(offset=3227648, length=4096)]error = 5 g_vfs_done():da2s1[WRITE(offset=3227648, length=4096)]error = 5 fsync: giving up on dirty 0xfffffe012e30c3c0: tag devfs, type VCHR usecount 1, writecount 0, refcount 122 mountedhere 0xfffffe0046468200 flags () v_object 0xfffffe0046389360 ref 0 pages 120 lock type devfs: UNLOCKED dev da2s1 I'm producing this panic by trying to mount 4gb microsd card, like this: mount -t msdosfs /dev/da2s1 /mnt The card itself have fresh FAT32 one (just formatted+erased by panasonic tool). I will probably have some time to toy with this on thursday, I need to get a monitor to see console. -- Regards, Alexander Yerenkow
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPJF9wn4TP38KqsJpQnXQW887YONMm856HEodn=eiDA8=D-3FA>