problems with wine

2002-03-27 Thread Thomas Wrfl

Hi,

I have a problem running a application with wine (native).
Error message: 486 cpu or higher required. I have a amd k7.
The linux version catches the cpu-type from /proc/cpuinfo.
But Freebsd's /proc is diffrent from linux. So they set the values
for cpu type fix ( i386 ). Which isn't a really good idea.
From where can I take the cpu info to change this? 
( I don't want to take /usr/compat/linux/proc/cpuinfo. )

thanks for your help,
Tom

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: usb mass storage problems

2002-03-24 Thread Thomas Wrfl

  umass0: Fujitsu Memorybird, rev 1.00/1.00, addr 2
  da0 at umass-sim0 bus 0 target 0 lun 0
  da0: Fujitsu Memorybird 1.05 Removable Direct Access SCSI-0 device
  da0: 650KB/s transfers
  da0: 15MB (32000 512 byte sectors: 64H 32S/T 15C) try to mount:
 
  try to mount:
  snorry# mount -t msdos /dev/da0s1 /disk2
  (da0:umass-sim0:0:0:0): READ(06). CDB: 8 0 0 0 1 0
  (da0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:20,0
  (da0:umass-sim0:0:0:0): Invalid command operation code
  da0: reading primary partition table: error reading fsbn 0
  msdos: /dev/da0s1: Input/output error
  Mar 23 04:24:54 snorry /kernel: (da0:umass-sim0:0:0:0): READ(06). CDB: 8
  0 0 0 1 0
  Mar 23 04:24:54 snorry /kernel: (da0:umass-sim0:0:0:0): ILLEGAL REQUEST
  asc:20,0
  Mar 23 04:24:54 snorry /kernel: (da0:umass-sim0:0:0:0): Invalid command
  operation code
  Mar 23 04:24:54 snorry /kernel: da0: reading primary partition table:
  error reading fsbn 0
  snorry#

 i have found something very similar at:
 http://www.FreeBSD.org/cgi/query-pr.cgi?pr=34205

 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

I fixed the problem. I added following lines to 
/usr/src/sys/cam/scsi/scsi_da.c (FreeBSD-4.5RELEASE):

 /* Below a list of quirks for USB devices supported by umass. */
 /*
+ * Fujitsu Siemens Memorybird
+ */
+ {T_DIRECT, SIP_MEDIA_REMOVABLE, Fujitsu, Memorybird, *},
+ /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE
+ },  

Maybe this is written in an unusual manner, but I'm an absolute newbie to 
freebsd and C. Sorry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message