Re: Oops and BUG's with hfsplus module
i just suffered a severe dataloss with my very similiar configuration. i'm running ubuntu linux hoary with the standard kernel 2.6.10-5-powerpc on a powerbook g4. i've hooked up a hfsplus formatted 160gb lacie d2 firewire harddrive. in ubuntu i was copying two big (1.5gb) files from internal ext3 to the external drive and in another shell i wanted to display the contents of the external harddrive (using ls) when the disaster happened: my harddrive is now totally screwed up. neither diskwarrior nor techtool could recover my files. snapfiles filescavenger and prosofts data rescue only recovered garbage data from my hd. does anybody know another tool i could try to get my data back? i think i've found the reason of my "hd crash" in a slightly deffective firewire cable. shit. anyhow i dont like the way linux/ firewire/hfs+ driver reacts to a communication failure. macos x just ejected the disk or canceled a dvd-burning session with an error. lorenz -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Oops and BUG's with hfsplus module
hello i just suffered a severe dataloss with my very similiar configuration. i'm running ubuntu linux hoary with the standard kernel 2.6.10-5-powerpc on a powerbook g4. i've hooked up a hfsplus formatted 160gb lacie d2 firewire harddrive. in ubuntu i was copying two big (1.5gb) files from internal ext3 to the external drive and in another shell i wanted to display the contents of the external harddrive (using ls) when the disaster happened: May 21 19:15:50 localhost kernel: splitting index node... May 21 19:16:12 localhost kernel: splitting index node... May 21 19:16:12 localhost kernel: kernel BUG in hfsplus_bnode_put at fs/hfsplus/bnode.c:625! May 21 19:16:13 localhost kernel: Oops: Exception in kernel mode, sig: 5 [#1] May 21 19:16:13 localhost kernel: NIP: E97FC458 LR: E97FD0A0 SP: C33BFCF0 REGS: c33bfc40 TRAP: 0700Not tainted May 21 19:16:13 localhost kernel: MSR: 00029032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11 May 21 19:16:13 localhost kernel: TASK = db140960[11160] 'rm' THREAD: c33be000 May 21 19:16:13 localhost kernel: Last syscall: 10 May 21 19:16:13 localhost kernel: GPR00: C33BFCF0 DB140960 E6BF2960 E0B8CEE3 0002 C33BFC69 May 21 19:16:13 localhost kernel: GPR08: 0001 E1B2177C C0011A3C 2808 10020128 100C 100A May 21 19:16:13 localhost kernel: GPR16: 101E1E08 24222482 100C E6BF2960 E476E5E0 E50DF800 0011 May 21 19:16:13 localhost kernel: GPR24: 0024 0008 C33BFD90 1EE4 E50DF800 E6BF2960 13DE 4808 May 21 19:16:13 localhost kernel: NIP [e97fc458] hfsplus_bnode_put +0x2c/0xc4 [hfsplus] May 21 19:16:13 localhost kernel: LR [e97fd0a0] hfsplus_brec_update_parent+0x1c0/0x2b4 [hfsplus] May 21 19:16:13 localhost kernel: Call trace: May 21 19:16:13 localhost kernel: [e97fd0a0] hfsplus_brec_update_parent+0x1c0/0x2b4 [hfsplus] May 21 19:16:13 localhost kernel: [e97fcbbc] hfsplus_brec_remove +0x174/0x190 [hfsplus] May 21 19:16:13 localhost kernel: [e97f8f8c] hfsplus_delete_cat +0xc8/0x244 [hfsplus] May 21 19:16:13 localhost kernel: [e97f9c84] hfsplus_unlink +0x54/0x16c [hfsplus] May 21 19:16:13 localhost kernel: [c00737e8] vfs_unlink+0x144/0x240 May 21 19:16:13 localhost kernel: [c00739ec] sys_unlink+0x108/0x1a8 May 21 19:16:13 localhost kernel: [c0004330] ret_from_syscall+0x0/0x4c CONFIG_LBD is enabled in the kernel configuration but this issue should be fixed in 2.6.10 right? interesting are those lines at startup: ("Unexpected PCI resource length of 1000!" and "sda: asking for cache data failed") May 21 19:03:31 localhost kernel: ohci1394: $Rev: 1223 $ Ben Collins <[EMAIL PROTECTED]> May 21 19:03:31 localhost kernel: PCI: Enabling device 0002:20:0e.0 ( -> 0002) May 21 19:03:31 localhost kernel: ohci1394: fw-host0: Unexpected PCI resource length of 1000! May 21 19:03:31 localhost kernel: ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[40] MMIO=[f500-f50007ff] Max Packet=[2048] May 21 19:03:31 localhost kernel: ieee1394: sbp2: Logged into SBP-2 device May 21 19:03:31 localhost kernel: ieee1394: Node 0-01:1023: Max speed [S400] - Max payload [2048] May 21 19:03:31 localhost kernel: Vendor: Maxtor 6 Model: Y160P0Rev: YAR4 May 21 19:03:31 localhost kernel: Type: Direct- Access ANSI SCSI revision: 06 May 21 19:03:31 localhost kernel: Attached scsi generic sg1 at scsi1, channel 0, id 0, lun 0, type 0 May 21 19:03:31 localhost kernel: SCSI device sda: 320173056 512-byte hdwr sectors (163929 MB) May 21 19:03:31 localhost kernel: sda: asking for cache data failed May 21 19:03:31 localhost kernel: sda: assuming drive cache: write through May 21 19:03:31 localhost kernel: SCSI device sda: 320173056 512-byte hdwr sectors (163929 MB) May 21 19:03:31 localhost kernel: sda: asking for cache data failed May 21 19:03:31 localhost kernel: sda: assuming drive cache: write through May 21 19:03:31 localhost kernel: /dev/scsi/host1/bus0/target0/lun0: [mac] p1 p2 p3 May 21 19:03:31 localhost kernel: Attached scsi disk sda at scsi1, channel 0, id 0, lun 0 i could provide the whole syslog output if it helps for searching the error. my harddrive is now totally screwed up. neither diskwarrior nor techtool could recover my files. snapfiles filescavenger and prosofts data rescue only recovered garbage data from my hd. does anybody know another tool i could try to get my data back? lorenz -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: communicate with a printerserver using its mac adress ??
hoi roland your server likely supports netbios or netbui. possibly you can display some information using smbtree and then resolv using smbutil... cheers lorenz p.s. remember me? Am 02.06.2005 um 19:58 schrieb Roland Wegmann: Hello I have a printer server one can configure using a web browser. Unfortunately I do not now the default IP of the printer server, but its MAC address. Can I communicate with the printer server using its MAC address in order to set the static IP of the printer server? If yes, what tools allows to do this? Kind regards, Roland Wegmann PS. Printer Server -> Longshine LCS-PS102 -- Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie! Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: multible partitions?
hi wolf i just want to warn you: i recently trashed a 160gb lacie d2 firewire harddrive with linux (see: http://lists.debian.org/debian-powerpc/ 2005/05/msg00464.html). if you wan't to mount hfsplus on linux do it read-only for now... now to your problem: mount /dev/sda1 -t hfsplus /hfs you don't specify the right partition. you can read the partition- number from the output of macos disk utility below, from the "Medien- Identifikation" label: e.g. "disk2s10" means partition 10 on disk 2, which could map to /dev/sda10 on linux. alternatively you can run "fdisk -l /dev/sda" in linux which prints the partition table of /dev/ sda. -lorenz Am 04.06.2005 um 19:08 schrieb Wolf Drechsel: Hi Wolf, On Sat, Jun 04, 2005 at 01:18:03PM +0200, Wolf Drechsel wrote: "." meant more output, as a mount /dev/sda1 -t hfsplus /hfs >& /tmp/hfsmountoutput didnt make a reasonable file (how do I do that correctly?), I had to copy all from the screen and left out the less important looking. Probably these messages are emitted by the kernel and not by the mount program, so redirecting the mount output won't catch them. Try "dmesg" instead. This will show you all the kernel messages. Thanks for Your hint - I'll try that. For now (without a previously mounted USB stick) I just get: mount: /dev(sda1 is not a valid block device. BUT: I'm not sure I'm mounting the right device at all. There at least 14 slices on the disk - how can I use just "sda1". Below I add the information give by the Mac OS X disk utility - how do I find out how to mount correctly? Greetings, Wolf Name :1394 to ide Typ :Medium Medien-Identifikation :disk2 Medienname :HDS72251 6VLAT20 Media Medientyp :Generic Verbindungs-Bus :FireWire Verbindungs-ID :460695372038243 IO-Inhalt :Apple_partition_scheme Gerätebaum :pci1/pci1106,[EMAIL PROTECTED]/[EMAIL PROTECTED]/ [EMAIL PROTECTED]/@0:0 Beschreibbar :Ja Auswerfbar :Nein Mac OS 9 Treiber installiert :Ja Ort :Extern Gesamtkapazität :153,4 GB (164.696.555.520 Byte) Mediennummer :2 Partitionsnummer :0 Name :WD-HFS+ext2-8G Typ :Volume Medien-Identifikation :disk2s10 Mount-Point :/Volumes/WD-HFS+ext2-8G Dateisystem :Mac OS Extended (Journaled) Verbindungs-Bus :FireWire IO-Inhalt :Apple_HFS Gerätebaum :pci1/pci1106,[EMAIL PROTECTED]/[EMAIL PROTECTED]/ [EMAIL PROTECTED]/@0:10 Beschreibbar :Ja Kapazität :7,9 GB (8.455.716.864 Byte) Freier Speicherplatz :3,2 GB (3.432.030.208 Byte) Belegt :4,7 GB (5.022.900.224 Byte) Anzahl der Dateien :115.388 Anzahl der Ordner :28.417 Zugriffsrechte aktiviert :Ja Zugriffsrechte ausschaltbar :Ja Zugriffsrechte reparierbar :Ja Überprüfbar :Ja Reparierbar :Ja Formatierbar :Ja Startfähig :Ja Journaling wird unterstützt :Ja Journaling :Ja Mediennummer :2 Partitionsnummer :10 Name :WD-HFS+ext1-8GB Typ :Volume Medien-Identifikation :disk2s12 Mount-Point :/Volumes/WD-HFS+ext1-8GB Dateisystem :Mac OS Extended Verbindungs-Bus :FireWire IO-Inhalt :Apple_HFS Gerätebaum :pci1/pci1106,[EMAIL PROTECTED]/[EMAIL PROTECTED]/ [EMAIL PROTECTED]/@0:12 Beschreibbar :Ja Kapazität :7,9 GB (8.455.716.864 Byte) Freier Speicherplatz :3,8 GB (4.040.282.112 Byte) Belegt :4,1 GB (4.415.434.752 Byte) Anzahl der Dateien :111.819 Anzahl der Ordner :27.830 Zugriffsrechte aktiviert :Nein Zugriffsrechte ausschaltbar :Ja Formatierbar :Ja Startfähig :Ja Journaling wird unterstützt :Ja Journaling :Nein Mediennummer :2 Partitionsnummer :12 Name :WD_HFS-132G Typ :Volume Medien-Identifikation :disk2s14 Mount-Point :/Volumes/WD_HFS-132G Dateisystem :Mac OS Extended Verbindungs-Bus :FireWire IO-Inhalt :Apple_HFS Gerätebaum :pci1/pci1106,[EMAIL PROTECTED]/[EMAIL PROTECTED]/ [EMAIL PROTECTED]/@0:14 Beschreibbar :Ja Kapazität :137,3 GB (147.381.526.528 Byte) Freier Speicherplatz :136,8 GB (146.848.219.136 Byte) Belegt :496,8 MB (520.945.664 Byte) Anzahl der Dateien :3.041 Anzahl der Ordner :334 Zugriffsrechte aktiviert :Nein Zugriffsrechte ausschaltbar :Ja Formatierbar :Ja Startfähig :Ja Journaling wird unterstützt :Ja Journaling :Nein Mediennummer :2 Partitionsnummer :14 -- +++ + Wolf Drechsel + Köhnstr. 54 + D-90478 Nürnberg + Tel.: 0911/4 71 98 49 +++
Re: multible partitions?
hi wolf Am 04.06.2005 um 20:43 schrieb Wolf Drechsel: i just want to warn you: i recently trashed a 160gb lacie d2 firewire harddrive with linux (see: http://lists.debian.org/debian- powerpc/2005/05/msg00464.html). if you wan't to mount hfsplus on linux do it read-only for now... Thanks for Your hint - are You a "single case" - or are there more such issues? i hope this is a single case. however i posted this to a slighly older thread in which a person described a very similiar problem. i think the problem is the combination of kernel version, firewire driver. i am pretty shure that hfsplus is quite stable now, because i used it often with my internal volumes. now to your problem: mount /dev/sda1 -t hfsplus /hfs you don't specify the right partition. you can read the partition- number from the output of macos disk utility below, from the "Medien-Identifikation" label: e.g. "disk2s10" means partition 10 on disk 2, which could map to /dev/sda10 on linux. alternatively you can run "fdisk -l /dev/sda" in linux which prints the partition table of /dev/sda. Unluckily there is no output just running the command. Inserting my USB stick, than removing it leads to results - but they are not so friendly. Here comes dmesg stuff - a left the lines related to usb and FireWire, maybe this is of some use. The external disk issue is at the very ending: possibly you still don't specify the right disk/partition. the device node files are constructed like this: /dev/sdXY, where X is a disk character and Y is the partition number. if the usb-driver mounts a drive on /dev/sda it's possible that your firewire drive is in /dev/sdb. ohci1394: $Rev: 1045 $ Ben Collins <[EMAIL PROTECTED]> ohci1394_0: OHCI-1394 1.0 (PCI): IRQ=[10] MMIO=[e4104000-e41047ff] Max Packet=[2048] ieee1394: unsolicited response packet received - no tlabel match ieee1394: Node added: ID:BUS[0-00:1023] GUID[0001a363] ieee1394: Host added: ID:BUS[0-01:1023] GUID[0001b700ac7d] usb.c: registered new driver usbdevfs usb.c: registered new driver hub usb-uhci.c: $Revision: 1.275 $ time 19:27:41 Oct 15 2004 usb-uhci.c: High bandwidth mode enabled usb-uhci.c: USB UHCI at I/O 0x6000, IRQ 11 usb-uhci.c: Detected 2 ports usb.c: new USB bus registered, assigned bus number 1 hub.c: USB hub found hub.c: 2 ports detected usb-uhci.c: v1.275:USB Universal Host Controller Interface driver sbp2: $Rev: 1074 $ Ben Collins <[EMAIL PROTECTED]> ieee1394: sbp2: Driver forced to serialize I/O (serialize_io = 1) scsi0 : SCSI emulation for IEEE-1394 SBP-2 Devices blk: queue c11b0974, I/O limit 4095Mb (mask 0x) ieee1394: sbp2: Logged into SBP-2 device ieee1394: sbp2: Node 0-00:1023: Max speed [S400] - Max payload [2048] ... ... ... ... ... Plugging USB stick in ... hub.c: new USB device 00:07.2-1, assigned address 2 usb.c: USB device 2 (vend/prod 0x58f/0x9380) is not claimed by any active driver. Initializing USB Mass Storage driver... usb.c: registered new driver usb-storage usb-uhci.c: interrupt, status 2, frame# 1377 scsi1 : SCSI emulation for USB Mass Storage devices Vendor: Generic Model: Flash DiskRev: 7.77 Type: Direct-Access ANSI SCSI revision: 02 Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0 SCSI device sda: 128000 512-byte hdwr sectors (66 MB) sda: Write Protect is off sda: sda1 WARNING: USB Mass Storage data integrity not assured USB Mass Storage device found at 2 USB Mass Storage support registered. ### ... and out: usb.c: USB disconnect on device 00:07.2-1 address 2 ... ... ... ... HERE IT COMES: fdisk -l /dev/sda sda: Unit Not Ready, sense: Info fld=0xa00 (nonstd), Current 00:00: sns = 70 2 Raw sense data:0x70 0x00 0x02 0x00 0x00 0x0a 0x00 0x00 sda : READ CAPACITY failed. sda : status = 1, message = 00, host = 0, driver = 08 Info fld=0xa00 (nonstd), Current sd00:00: sns = 70 2 Raw sense data:0x70 0x00 0x02 0x00 0x00 0x0a 0x00 0x00 sda : block size assumed to be 512 bytes, disk size 1GB. sda: test WP failed, assume Write Enabled sda: I/O error: dev 08:00, sector 0 I/O error: dev 08:00, sector 0 I/O error: dev 08:00, sector 2097144 I/O error: dev 08:00, sector 2097144 I/O error: dev 08:00, sector 0 I/O error: dev 08:00, sector 0 unable to read partition table Greetings, Wolf -- +++ + Wolf Drechsel + Köhnstr. 54 + D-90478 Nürnberg + Tel.: 0911/4 71 98 49 +++
Re: mounting...
possibly this helps: http://lists.terrasoftsolutions.com/pipermail/ yellowdog-general/2004-July/015059.html Am 06.06.2005 um 22:44 schrieb Wolf Drechsel: Hello, I got a cable to mount my external disk on the USB-connector. This is bad style... - but works better than the FireWire thing: But now: After doing a mount -t hfsplus /dev/sda10/hfs or mount -o rw -t hfsplus /dev/sda10/hfs I get: HFS+-fs-warning: Filesystem was not cleanly unmounted, running fsck.hfsplus is recommended. mounting read-only I can read from this disk - but not write. How can I obtain fsck.hfsplus for a i386 debian (kernel 2.4.27) ? - It's not on my machine. Or is there another way of resolving this - mount -o rw,remount /dev/sda14 leaves the filesystem unmounted. Thanks and greetings, Wolf -- +++ + Wolf Drechsel + Köhnstr. 54 + D-90478 Nürnberg + Tel.: 0911/4 71 98 49 +++