Re: MNT Reform2 USB LCP flash

Staffan Thomen <[email protected]>
Newsgroups gmane.os.netbsd.devel.kernel
Message-ID <[email protected]>
Thanks for the suggestions! I tried to do the modification (just
manually since it's two lines) and it does show up as 1 in the dmesg,
but no dice.

dmesg from my laptop since it was easier, this uhub2 is on an ehci bus:

[   188.679957] umass0 at uhub2 port 2 configuration 1 interface 0
[   188.679957] umass0: NXP (0x1fc9) LPC1XXX IFLASH (0x000b), rev
2.00/7.04, addr 4
[   188.679957] umass0: using SCSI over Bulk-Only
[   188.679957] scsibus0 at umass0: 2 targets, 1 lun per target
[   188.679957] sd0 at scsibus0 target 0 lun 0: <NXP, LPC1XXX IFLASH,
1.0> disk removable
[   188.679957] sd0: fabricating a geometry
[   188.679957] sd0: 34816, 1 cyl, 64 head, 32 sec, 512 bytes/sect x 68
sectors
[   188.689958] autoconfiguration error: sd0: unable to open device,
error = 5

roadwarrior# fdisk sd0
fdisk: cannot opendisk /dev/rsd0: Input/output error
roadwarrior# disklabel sd0
disklabel: /dev/rsd0: Input/output error
roadwarrior# mount -t msdos /dev/sd0d /mnt
mount_msdos: /dev/sd0d on /mnt: Input/output error

I also tried the start command mlelstv@ suggested, but alas:

roadwarrior# scsictl sd0 start
scsictl: sd0: Input/output error

and for good measure:

roadwarrior# scsictl scsibus0 reset
scsictl: SCBUSIORESET: Inappropriate ioctl for device
roadwarrior# scsictl scsibus0 scan 0 0
roadwarrior# scsictl scsibus0 scan 1 0
(nothing new in dmesg)

Staffan
OpenPGP_signature.asc (application/pgp-signature, 665 B)
-----BEGIN PGP SIGNATURE-----

wsD5BAABCAAjFiEEloZd/Wa0dSqOBeRMieZbIf58OAcFAmWzu4MFAwAAAAAACgkQieZbIf58OAfY
DgwAl7XVPVlFDL8008/tHl4YafFLvbqXkvYVjFmynvv2uJHC7mAh70WtQ8xSy3WTDHkV7F1e8wVR
qjqwLp6cUSDHcVWq65eFQJBNXEv/zFXBflGR9X0TIs2PLijCQlMrorrknGFW63/o1B16IfDrcxYZ
tCcw74ksNUJV+zYHixuB+C+KAL7rFRgzduDexsT7BeT9cvoR/tmxVAHdnnSfhaaRddHJcV+hw1dI
1JjJ/Slm4VmLFVvUq6MInppnuAElUnFqjv95oZ9hGiUXvsrs/ahfnl8CU0gPHQj8ms6qWlPnZtWI
uoWbjBGVaYpvmMgvKH2s2wLH+pMbLuaEXvlaemXuWuGfFrGNN/kijxr+oKZYKfpL1PYYESYg3t/U
UBDxSmp1nAUK2zR/6xQJCOKYM8bLCDSi2r1psboJlcY8jJuPP5hAs6w7HAY/eE1YwLeWU3j2oKWs
+qBkdKuswcMncooKI2Eobw/l38IzHtdzEHiiSobhwcDUBC5UUaorqck7ozDV
=MXsx
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.